package E1;

import a.AbstractC0386a;
import android.content.Context;
import android.content.res.TypedArray;
import android.net.Uri;
import android.os.Bundle;
import android.util.AttributeSet;
import com.google.android.gms.internal.measurement.C1;
import d5.AbstractC0844a;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import v0.AbstractC1664c;

/* JADX INFO: loaded from: classes.dex */
public abstract class A {

    /* JADX INFO: renamed from: z, reason: collision with root package name */
    public static final /* synthetic */ int f1977z = 0;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final String f1978q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public D f1979r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public String f1980s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public CharSequence f1981t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public final ArrayList f1982u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final q.j f1983v;

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final LinkedHashMap f1984w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public int f1985x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public String f1986y;

    static {
        new LinkedHashMap();
    }

    public A(S s8) {
        LinkedHashMap linkedHashMap = T.f2056b;
        this.f1978q = AbstractC0386a.o(s8.getClass());
        this.f1982u = new ArrayList();
        this.f1983v = new q.j(0);
        this.f1984w = new LinkedHashMap();
    }

    public final void a(y yVar) {
        Map mapP0 = B6.w.p0(this.f1984w);
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        for (Map.Entry entry : mapP0.entrySet()) {
            C0102i c0102i = (C0102i) entry.getValue();
            if (!c0102i.f2081b && !c0102i.f2082c) {
                linkedHashMap.put(entry.getKey(), entry.getValue());
            }
        }
        Set setKeySet = linkedHashMap.keySet();
        ArrayList arrayList = new ArrayList();
        for (Object obj : setKeySet) {
            String str = (String) obj;
            ArrayList arrayList2 = yVar.f2144d;
            Collection collectionValues = yVar.f2145e.values();
            ArrayList arrayList3 = new ArrayList();
            Iterator it = collectionValues.iterator();
            while (it.hasNext()) {
                B6.q.d0(((w) it.next()).f2137b, arrayList3);
            }
            if (!B6.k.q0(arrayList2, arrayList3).contains(str)) {
                arrayList.add(obj);
            }
        }
        if (arrayList.isEmpty()) {
            this.f1982u.add(yVar);
            return;
        }
        throw new IllegalArgumentException(("Deep link " + yVar.f2141a + " can't be used to open destination " + this + ".\nFollowing required arguments are missing: " + arrayList).toString());
    }

    public final Bundle b(Bundle bundle) {
        LinkedHashMap linkedHashMap = this.f1984w;
        if (bundle == null && (linkedHashMap == null || linkedHashMap.isEmpty())) {
            return null;
        }
        Bundle bundle2 = new Bundle();
        for (Map.Entry entry : linkedHashMap.entrySet()) {
            String str = (String) entry.getKey();
            C0102i c0102i = (C0102i) entry.getValue();
            c0102i.getClass();
            P6.g.e(str, "name");
            if (c0102i.f2082c) {
                c0102i.f2080a.d(bundle2, str, c0102i.f2083d);
            }
        }
        if (bundle != null) {
            bundle2.putAll(bundle);
            for (Map.Entry entry2 : linkedHashMap.entrySet()) {
                String str2 = (String) entry2.getKey();
                C0102i c0102i2 = (C0102i) entry2.getValue();
                c0102i2.getClass();
                P6.g.e(str2, "name");
                P p3 = c0102i2.f2080a;
                if (c0102i2.f2081b || !bundle2.containsKey(str2) || bundle2.get(str2) != null) {
                    try {
                        p3.a(str2, bundle2);
                    } catch (ClassCastException unused) {
                    }
                }
                StringBuilder sbP = AbstractC0844a.p("Wrong argument type for '", str2, "' in argument bundle. ");
                sbP.append(p3.b());
                sbP.append(" expected.");
                throw new IllegalArgumentException(sbP.toString().toString());
            }
        }
        return bundle2;
    }

    public final C0099f c(int i) {
        q.j jVar = this.f1983v;
        C0099f c0099f = jVar.k() == 0 ? null : (C0099f) jVar.f(i);
        if (c0099f != null) {
            return c0099f;
        }
        D d8 = this.f1979r;
        if (d8 != null) {
            return d8.c(i);
        }
        return null;
    }

    /* JADX WARN: Removed duplicated region for block: B:29:0x0094  */
    /* JADX WARN: Removed duplicated region for block: B:46:0x0116 A[EDGE_INSN: B:62:0x0116->B:46:0x0116 BREAK  A[LOOP:2: B:30:0x00a3->B:65:?], EDGE_INSN: B:63:0x0116->B:46:0x0116 BREAK  A[LOOP:2: B:30:0x00a3->B:65:?], EDGE_INSN: B:46:0x0116->B:47:0x0117 BREAK  A[LOOP:3: B:38:0x00e3->B:69:?]] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean equals(Object obj) {
        boolean z8;
        int size;
        LinkedHashMap linkedHashMap;
        boolean z9;
        if (obj != null && (obj instanceof A)) {
            ArrayList arrayList = this.f1982u;
            A a3 = (A) obj;
            ArrayList arrayList2 = a3.f1982u;
            P6.g.e(arrayList, "<this>");
            P6.g.e(arrayList2, "other");
            LinkedHashSet linkedHashSet = new LinkedHashSet(arrayList);
            linkedHashSet.retainAll(arrayList2);
            boolean z10 = linkedHashSet.size() == arrayList.size();
            q.j jVar = this.f1983v;
            int iK = jVar.k();
            q.j jVar2 = a3.f1983v;
            if (iK == jVar2.k()) {
                Iterator it = W6.j.E(q.h.d(jVar)).iterator();
                while (true) {
                    if (it.hasNext()) {
                        if (!jVar2.e((C0099f) it.next())) {
                            break;
                        }
                    } else {
                        Iterator it2 = W6.j.E(q.h.d(jVar2)).iterator();
                        while (it2.hasNext()) {
                            if (!jVar.e((C0099f) it2.next())) {
                            }
                        }
                        z8 = true;
                    }
                }
                z8 = false;
                LinkedHashMap linkedHashMap2 = this.f1984w;
                size = B6.w.p0(linkedHashMap2).size();
                linkedHashMap = a3.f1984w;
                if (size != B6.w.p0(linkedHashMap).size()) {
                    Set setEntrySet = B6.w.p0(linkedHashMap2).entrySet();
                    P6.g.e(setEntrySet, "<this>");
                    Iterator it3 = setEntrySet.iterator();
                    while (true) {
                        if (it3.hasNext()) {
                            Map.Entry entry = (Map.Entry) it3.next();
                            if (!B6.w.p0(linkedHashMap).containsKey(entry.getKey()) || !P6.g.a(B6.w.p0(linkedHashMap).get(entry.getKey()), entry.getValue())) {
                                break;
                            }
                        } else {
                            Set<Map.Entry> setEntrySet2 = B6.w.p0(linkedHashMap).entrySet();
                            P6.g.e(setEntrySet2, "<this>");
                            for (Map.Entry entry2 : setEntrySet2) {
                                if (!B6.w.p0(linkedHashMap2).containsKey(entry2.getKey()) || !P6.g.a(B6.w.p0(linkedHashMap2).get(entry2.getKey()), entry2.getValue())) {
                                }
                            }
                            z9 = true;
                        }
                    }
                    z9 = false;
                    if (this.f1985x != a3.f1985x && P6.g.a(this.f1986y, a3.f1986y) && z10 && z8 && z9) {
                        return true;
                    }
                } else {
                    z9 = false;
                    if (this.f1985x != a3.f1985x) {
                    }
                }
            } else {
                z8 = false;
                LinkedHashMap linkedHashMap22 = this.f1984w;
                size = B6.w.p0(linkedHashMap22).size();
                linkedHashMap = a3.f1984w;
                if (size != B6.w.p0(linkedHashMap).size()) {
                }
            }
        }
        return false;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:118:0x027d  */
    /* JADX WARN: Removed duplicated region for block: B:119:0x0286  */
    /* JADX WARN: Removed duplicated region for block: B:125:0x02bd  */
    /* JADX WARN: Removed duplicated region for block: B:134:0x02f4  */
    /* JADX WARN: Removed duplicated region for block: B:135:0x02f6  */
    /* JADX WARN: Removed duplicated region for block: B:138:0x02fd  */
    /* JADX WARN: Removed duplicated region for block: B:141:0x0308  */
    /* JADX WARN: Removed duplicated region for block: B:151:0x0326  */
    /* JADX WARN: Type inference failed for: r16v13 */
    /* JADX WARN: Type inference failed for: r4v23 */
    /* JADX WARN: Type inference failed for: r4v25 */
    /* JADX WARN: Type inference failed for: r4v26 */
    /* JADX WARN: Type inference failed for: r4v6 */
    /* JADX WARN: Type inference failed for: r4v7, types: [java.util.regex.Matcher] */
    /* JADX WARN: Type inference failed for: r4v8, types: [java.util.regex.Matcher] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public z f(A1.y yVar) {
        ArrayList arrayList;
        Bundle bundle;
        int i;
        List listC;
        List listV0;
        String str;
        Matcher matcher;
        List listC2;
        String str2;
        Matcher matcher2;
        Uri uri;
        LinkedHashMap linkedHashMap;
        Map map;
        Iterator it;
        ArrayList arrayList2;
        String strGroup;
        A a3 = this;
        ArrayList arrayList3 = a3.f1982u;
        Bundle bundle2 = null;
        if (arrayList3.isEmpty()) {
            return null;
        }
        int size = arrayList3.size();
        z zVar = null;
        int i5 = 0;
        while (i5 < size) {
            int i8 = i5 + 1;
            y yVar2 = (y) arrayList3.get(i5);
            Uri uri2 = (Uri) yVar.f363r;
            if (uri2 != null) {
                Map mapP0 = B6.w.p0(a3.f1984w);
                yVar2.getClass();
                Pattern pattern = (Pattern) yVar2.f2147g.getValue();
                ?? Matcher = pattern != null ? pattern.matcher(uri2.toString()) : bundle2;
                if (Matcher != 0 && Matcher.matches()) {
                    bundle = new Bundle();
                    ArrayList arrayList4 = yVar2.f2144d;
                    int size2 = arrayList4.size();
                    int i9 = 0;
                    ?? r42 = Matcher;
                    while (i9 < size2) {
                        String str3 = (String) arrayList4.get(i9);
                        i9++;
                        String strDecode = Uri.decode(r42.group(i9));
                        C0102i c0102i = (C0102i) mapP0.get(str3);
                        ?? r16 = r42;
                        try {
                            P6.g.d(strDecode, "value");
                            y.b(bundle, str3, strDecode, c0102i);
                            r42 = r16;
                        } catch (IllegalArgumentException unused) {
                        }
                    }
                    if (yVar2.f2148h) {
                        LinkedHashMap linkedHashMap2 = yVar2.f2145e;
                        Iterator it2 = linkedHashMap2.keySet().iterator();
                        while (it2.hasNext()) {
                            String str4 = (String) it2.next();
                            w wVar = (w) linkedHashMap2.get(str4);
                            String queryParameter = uri2.getQueryParameter(str4);
                            if (yVar2.i) {
                                String string = uri2.toString();
                                P6.g.d(string, "deepLink.toString()");
                                String strE0 = X6.e.e0(string, '?');
                                if (!strE0.equals(string)) {
                                    queryParameter = strE0;
                                }
                            }
                            if (queryParameter != null) {
                                P6.g.b(wVar);
                                matcher2 = Pattern.compile(wVar.f2136a, 32).matcher(queryParameter);
                                if (!matcher2.matches()) {
                                    arrayList = arrayList3;
                                    break;
                                }
                            } else {
                                matcher2 = null;
                            }
                            Bundle bundle3 = new Bundle();
                            try {
                                P6.g.b(wVar);
                                ArrayList arrayList5 = wVar.f2137b;
                                int size3 = arrayList5.size();
                                int i10 = 0;
                                while (i10 < size3) {
                                    if (matcher2 != null) {
                                        uri = uri2;
                                        try {
                                            strGroup = matcher2.group(i10 + 1);
                                            if (strGroup == null) {
                                                strGroup = "";
                                            }
                                        } catch (IllegalArgumentException unused2) {
                                            linkedHashMap = linkedHashMap2;
                                            map = mapP0;
                                            it = it2;
                                            arrayList2 = arrayList3;
                                            uri2 = uri;
                                            it2 = it;
                                            linkedHashMap2 = linkedHashMap;
                                            mapP0 = map;
                                            arrayList3 = arrayList2;
                                        }
                                    } else {
                                        uri = uri2;
                                        strGroup = null;
                                    }
                                    linkedHashMap = linkedHashMap2;
                                    try {
                                        String str5 = (String) arrayList5.get(i10);
                                        map = mapP0;
                                        try {
                                            C0102i c0102i2 = (C0102i) mapP0.get(str5);
                                            if (strGroup != null) {
                                                it = it2;
                                                try {
                                                    StringBuilder sb = new StringBuilder();
                                                    arrayList2 = arrayList3;
                                                    try {
                                                        sb.append('{');
                                                        sb.append(str5);
                                                        sb.append('}');
                                                        if (!strGroup.equals(sb.toString())) {
                                                            y.b(bundle3, str5, strGroup, c0102i2);
                                                        }
                                                    } catch (IllegalArgumentException unused3) {
                                                    }
                                                } catch (IllegalArgumentException unused4) {
                                                    arrayList2 = arrayList3;
                                                }
                                            } else {
                                                it = it2;
                                                arrayList2 = arrayList3;
                                            }
                                            i10++;
                                            uri2 = uri;
                                            it2 = it;
                                            linkedHashMap2 = linkedHashMap;
                                            mapP0 = map;
                                            arrayList3 = arrayList2;
                                        } catch (IllegalArgumentException unused5) {
                                            it = it2;
                                            arrayList2 = arrayList3;
                                            uri2 = uri;
                                            it2 = it;
                                            linkedHashMap2 = linkedHashMap;
                                            mapP0 = map;
                                            arrayList3 = arrayList2;
                                        }
                                    } catch (IllegalArgumentException unused6) {
                                        map = mapP0;
                                        it = it2;
                                        arrayList2 = arrayList3;
                                        uri2 = uri;
                                        it2 = it;
                                        linkedHashMap2 = linkedHashMap;
                                        mapP0 = map;
                                        arrayList3 = arrayList2;
                                    }
                                }
                                uri = uri2;
                                linkedHashMap = linkedHashMap2;
                                map = mapP0;
                                it = it2;
                                arrayList2 = arrayList3;
                                bundle.putAll(bundle3);
                            } catch (IllegalArgumentException unused7) {
                                uri = uri2;
                            }
                            uri2 = uri;
                            it2 = it;
                            linkedHashMap2 = linkedHashMap;
                            mapP0 = map;
                            arrayList3 = arrayList2;
                        }
                    }
                    arrayList = arrayList3;
                    for (Map.Entry entry : mapP0.entrySet()) {
                        String str6 = (String) entry.getKey();
                        C0102i c0102i3 = (C0102i) entry.getValue();
                        if (c0102i3 != null && !c0102i3.f2081b && !c0102i3.f2082c && !bundle.containsKey(str6)) {
                            bundle = null;
                        }
                    }
                } else {
                    arrayList = arrayList3;
                    bundle = bundle2;
                }
            } else {
                arrayList = arrayList3;
                bundle = null;
            }
            String str7 = (String) yVar.f364s;
            boolean z8 = str7 != null && str7.equals(yVar2.f2142b);
            String str8 = (String) yVar.f365t;
            if (str8 != null) {
                yVar2.getClass();
                String str9 = yVar2.f2143c;
                if (str9 != null) {
                    Pattern pattern2 = (Pattern) yVar2.f2150k.getValue();
                    P6.g.b(pattern2);
                    if (pattern2.matcher(str8).matches()) {
                        Pattern patternCompile = Pattern.compile("/");
                        P6.g.d(patternCompile, "compile(...)");
                        Matcher matcher3 = patternCompile.matcher(str9);
                        if (matcher3.find()) {
                            ArrayList arrayList6 = new ArrayList(10);
                            int iEnd = 0;
                            do {
                                arrayList6.add(str9.subSequence(iEnd, matcher3.start()).toString());
                                iEnd = matcher3.end();
                            } while (matcher3.find());
                            arrayList6.add(str9.subSequence(iEnd, str9.length()).toString());
                            listC = arrayList6;
                        } else {
                            listC = C1.C(str9.toString());
                        }
                        boolean zIsEmpty = listC.isEmpty();
                        List listV02 = B6.t.f1032q;
                        if (zIsEmpty) {
                            listV0 = listV02;
                            String str10 = (String) listV0.get(0);
                            str = (String) listV0.get(1);
                            Pattern patternCompile2 = Pattern.compile("/");
                            P6.g.d(patternCompile2, "compile(...)");
                            matcher = patternCompile2.matcher(str8);
                            if (matcher.find()) {
                            }
                            if (!listC2.isEmpty()) {
                            }
                            String str11 = (String) listV02.get(0);
                            str2 = (String) listV02.get(1);
                            if (!P6.g.a(str10, str11)) {
                            }
                            if (P6.g.a(str, str2)) {
                            }
                        } else {
                            ListIterator listIterator = listC.listIterator(listC.size());
                            while (listIterator.hasPrevious()) {
                                if (((String) listIterator.previous()).length() != 0) {
                                    listV0 = B6.k.v0(listIterator.nextIndex() + 1, listC);
                                    break;
                                }
                            }
                            listV0 = listV02;
                            String str102 = (String) listV0.get(0);
                            str = (String) listV0.get(1);
                            Pattern patternCompile22 = Pattern.compile("/");
                            P6.g.d(patternCompile22, "compile(...)");
                            matcher = patternCompile22.matcher(str8);
                            if (matcher.find()) {
                                listC2 = C1.C(str8.toString());
                            } else {
                                ArrayList arrayList7 = new ArrayList(10);
                                int iEnd2 = 0;
                                do {
                                    arrayList7.add(str8.subSequence(iEnd2, matcher.start()).toString());
                                    iEnd2 = matcher.end();
                                } while (matcher.find());
                                arrayList7.add(str8.subSequence(iEnd2, str8.length()).toString());
                                listC2 = arrayList7;
                            }
                            if (!listC2.isEmpty()) {
                                ListIterator listIterator2 = listC2.listIterator(listC2.size());
                                while (true) {
                                    if (!listIterator2.hasPrevious()) {
                                        break;
                                    }
                                    if (((String) listIterator2.previous()).length() != 0) {
                                        listV02 = B6.k.v0(listIterator2.nextIndex() + 1, listC2);
                                        break;
                                    }
                                }
                            }
                            String str112 = (String) listV02.get(0);
                            str2 = (String) listV02.get(1);
                            i = !P6.g.a(str102, str112) ? 2 : 0;
                            if (P6.g.a(str, str2)) {
                                i++;
                            }
                        }
                    } else {
                        i = -1;
                    }
                }
            }
            if (bundle != null || z8 || i > -1) {
                z zVar2 = new z(this, bundle, yVar2.f2151l, z8, i);
                if (zVar == null || zVar2.compareTo(zVar) > 0) {
                    bundle2 = null;
                    a3 = this;
                    zVar = zVar2;
                } else {
                    bundle2 = null;
                    a3 = this;
                }
            }
            i5 = i8;
            arrayList3 = arrayList;
        }
        return zVar;
    }

    public void g(Context context, AttributeSet attributeSet) {
        Object obj;
        TypedArray typedArrayObtainAttributes = context.getResources().obtainAttributes(attributeSet, F1.a.f2436e);
        P6.g.d(typedArrayObtainAttributes, "context.resources.obtain…s, R.styleable.Navigator)");
        String string = typedArrayObtainAttributes.getString(2);
        if (string == null) {
            this.f1985x = 0;
            this.f1980s = null;
        } else {
            if (X6.e.V(string)) {
                throw new IllegalArgumentException("Cannot have an empty route");
            }
            String strConcat = "android-app://androidx.navigation/".concat(string);
            this.f1985x = strConcat.hashCode();
            this.f1980s = null;
            a(new y(strConcat, null, null));
        }
        ArrayList arrayList = this.f1982u;
        int size = arrayList.size();
        int i = 0;
        while (true) {
            if (i >= size) {
                obj = null;
                break;
            }
            obj = arrayList.get(i);
            i++;
            String str = ((y) obj).f2141a;
            String str2 = this.f1986y;
            if (P6.g.a(str, str2 != null ? "android-app://androidx.navigation/".concat(str2) : "")) {
                break;
            }
        }
        P6.p.a(arrayList);
        arrayList.remove(obj);
        this.f1986y = string;
        if (typedArrayObtainAttributes.hasValue(1)) {
            int resourceId = typedArrayObtainAttributes.getResourceId(1, 0);
            this.f1985x = resourceId;
            this.f1980s = null;
            this.f1980s = AbstractC1664c.s(context, resourceId);
        }
        this.f1981t = typedArrayObtainAttributes.getText(0);
        typedArrayObtainAttributes.recycle();
    }

    public int hashCode() {
        Set<String> setKeySet;
        int i = this.f1985x * 31;
        String str = this.f1986y;
        int iHashCode = i + (str != null ? str.hashCode() : 0);
        ArrayList arrayList = this.f1982u;
        int size = arrayList.size();
        int i5 = 0;
        while (i5 < size) {
            Object obj = arrayList.get(i5);
            i5++;
            y yVar = (y) obj;
            int i8 = iHashCode * 31;
            String str2 = yVar.f2141a;
            int iHashCode2 = (i8 + (str2 != null ? str2.hashCode() : 0)) * 31;
            String str3 = yVar.f2142b;
            int iHashCode3 = (iHashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
            String str4 = yVar.f2143c;
            iHashCode = iHashCode3 + (str4 != null ? str4.hashCode() : 0);
        }
        B6.b bVarD = q.h.d(this.f1983v);
        while (bVarD.hasNext()) {
            C0099f c0099f = (C0099f) bVarD.next();
            int i9 = ((iHashCode * 31) + c0099f.f2075a) * 31;
            H h8 = c0099f.f2076b;
            iHashCode = i9 + (h8 != null ? h8.hashCode() : 0);
            Bundle bundle = c0099f.f2077c;
            if (bundle != null && (setKeySet = bundle.keySet()) != null) {
                for (String str5 : setKeySet) {
                    int i10 = iHashCode * 31;
                    Bundle bundle2 = c0099f.f2077c;
                    P6.g.b(bundle2);
                    Object obj2 = bundle2.get(str5);
                    iHashCode = i10 + (obj2 != null ? obj2.hashCode() : 0);
                }
            }
        }
        LinkedHashMap linkedHashMap = this.f1984w;
        for (String str6 : B6.w.p0(linkedHashMap).keySet()) {
            int iG = AbstractC0844a.g(iHashCode * 31, 31, str6);
            Object obj3 = B6.w.p0(linkedHashMap).get(str6);
            iHashCode = iG + (obj3 != null ? obj3.hashCode() : 0);
        }
        return iHashCode;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append("(");
        String str = this.f1980s;
        if (str == null) {
            sb.append("0x");
            sb.append(Integer.toHexString(this.f1985x));
        } else {
            sb.append(str);
        }
        sb.append(")");
        String str2 = this.f1986y;
        if (str2 != null && !X6.e.V(str2)) {
            sb.append(" route=");
            sb.append(this.f1986y);
        }
        if (this.f1981t != null) {
            sb.append(" label=");
            sb.append(this.f1981t);
        }
        String string = sb.toString();
        P6.g.d(string, "sb.toString()");
        return string;
    }
}
