package o; import com.airbnb.deeplinkdispatch.UrlTreeKt; /* loaded from: classes.dex */ public abstract class Kqa { public int b; public int c; public abstract String d(); public String toString() { StringBuilder sb = new StringBuilder(64); int i = this.c; if (i == 0) { sb.append("/"); } else if (i == 1) { sb.append('['); int i2 = this.b; if (i2 < 0) { i2 = 0; } sb.append(i2); sb.append(']'); } else { sb.append(UrlTreeKt.componentParamPrefixChar); String d = d(); if (d != null) { sb.append('\"'); XlR.b(sb, d); sb.append('\"'); } else { sb.append('?'); } sb.append(UrlTreeKt.componentParamSuffixChar); } return sb.toString(); } }