content: package kotlin.text;
  
  import java.nio.ByteBuffer;
  import java.nio.CharBuffer;
  import java.nio.charset.Charset;
  import java.nio.charset.CodingErrorAction;
  import java.util.Arrays;
  import java.util.Collection;
  import java.util.Comparator;
  import java.util.Iterator;
  import java.util.List;
  import java.util.Locale;
  import java.util.regex.Pattern;
  import kotlin.Deprecated;
  import kotlin.DeprecatedSinceKotlin;
  import kotlin.Metadata;
  import kotlin.ReplaceWith;
  import kotlin.collections.AbstractList;
  import kotlin.collections.ArraysKt;
  import kotlin.collections.IntIterator;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.jvm.internal.StringCompanionObject;
  import kotlin.ranges.IntRange;
  import kotlin.ranges.RangesKt;
  import mt.Log1F380D;
  import okhttp3.HttpUrl;
  
  @Metadata(d1 = {"\u0000~\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0019\n\u0000\n\u0002\u0010\u0015\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\r\n\u0002\b\n\n\u0002\u0010\u0011\n\u0002\u0010\u0000\n\u0002\b\n\n\u0002\u0010\f\n\u0002\b\u0011\n\u0002\u0010 \n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000e\u001a\u0011\u0010\u0007\u001a\u00020\u00022\u0006\u0010\b\u001a\u00020\tH\b\u001a\u0011\u0010\u0007\u001a\u00020\u00022\u0006\u0010\n\u001a\u00020\u000bH\b\u001a\u0011\u0010\u0007\u001a\u00020\u00022\u0006\u0010\f\u001a\u00020\rH\b\u001a\u0019\u0010\u0007\u001a\u00020\u00022\u0006\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000fH\b\u001a!\u0010\u0007\u001a\u00020\u00022\u0006\u0010\f\u001a\u00020\r2\u0006\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0011H\b\u001a)\u0010\u0007\u001a\u00020\u00022\u0006\u0010\f\u001a\u00020\r2\u0006\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u000e\u001a\u00020\u000fH\b\u001a\u0011\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0013\u001a\u00020\u0014H\b\u001a!\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0013\u001a\u00020\u00142\u0006\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0011H\b\u001a!\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0011H\b\u001a\f\u0010\u0017\u001a\u00020\u0002*\u00020\u0002H\u0007\u001a\u0014\u0010\u0017\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0019H\u0007\u001a\u0015\u0010\u001a\u001a\u00020\u0011*\u00020\u00022\u0006\u0010\u001b\u001a\u00020\u0011H\b\u001a\u0015\u0010\u001c\u001a\u00020\u0011*\u00020\u00022\u0006\u0010\u001b\u001a\u00020\u0011H\b\u001a\u001d\u0010\u001d\u001a\u00020\u0011*\u00020\u00022\u0006\u0010\u001e\u001a\u00020\u00112\u0006\u0010\u001f\u001a\u00020\u0011H\b\u001a\u001c\u0010 \u001a\u00020\u0011*\u00020\u00022\u0006\u0010!\u001a\u00020\u00022\b\b\u0002\u0010\"\u001a\u00020#\u001a\f\u0010$\u001a\u00020\u0002*\u00020\u0014H\u0007\u001a \u0010$\u001a\u00020\u0002*\u00020\u00142\b\b\u0002\u0010%\u001a\u00020\u00112\b\b\u0002\u0010\u001f\u001a\u00020\u0011H\u0007\u001a\u0019\u0010&\u001a\u00020#*\u0004\u0018\u00010'2\b\u0010!\u001a\u0004\u0018\u00010'H\u0004\u001a \u0010&\u001a\u00020#*\u0004\u0018\u00010'2\b\u0010!\u001a\u0004\u0018\u00010'2\u0006\u0010\"\u001a\u00020#H\u0007\u001a\u0015\u0010&\u001a\u00020#*\u00020\u00022\u0006\u0010\n\u001a\u00020\tH\b\u001a\u0015\u0010&\u001a\u00020#*\u00020\u00022\u0006\u0010(\u001a\u00020'H\b\u001a\f\u0010)\u001a\u00020\u0002*\u00020\u0002H\u0007\u001a\u0014\u0010)\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0019H\u0007\u001a\f\u0010*\u001a\u00020\u0002*\u00020\rH\u0007\u001a*\u0010*\u001a\u00020\u0002*\u00020\r2\b\b\u0002\u0010%\u001a\u00020\u00112\b\b\u0002\u0010\u001f\u001a\u00020\u00112\b\b\u0002\u0010+\u001a\u00020#H\u0007\u001a\f\u0010,\u001a\u00020\r*\u00020\u0002H\u0007\u001a*\u0010,\u001a\u00020\r*\u00020\u00022\b\b\u0002\u0010%\u001a\u00020\u00112\b\b\u0002\u0010\u001f\u001a\u00020\u00112\b\b\u0002\u0010+\u001a\u00020#H\u0007\u001a\u001c\u0010-\u001a\u00020#*\u00020\u00022\u0006\u0010.\u001a\u00020\u00022\b\b\u0002\u0010\"\u001a\u00020#\u001a \u0010/\u001a\u00020#*\u0004\u0018\u00010\u00022\b\u0010!\u001a\u0004\u0018\u00010\u00022\b\b\u0002\u0010\"\u001a\u00020#\u001a2\u00100\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u00192\u0016\u00101\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010302\"\u0004\u0018\u000103H\b¢\u0006\u0002\u00104\u001a6\u00100\u001a\u00020\u0002*\u00020\u00022\b\u0010\u0018\u001a\u0004\u0018\u00010\u00192\u0016\u00101\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010302\"\u0004\u0018\u000103H\b¢\u0006\u0004\b5\u00104\u001a*\u00100\u001a\u00020\u0002*\u00020\u00022\u0016\u00101\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010302\"\u0004\u0018\u000103H\b¢\u0006\u0002\u00106\u001a:\u00100\u001a\u00020\u0002*\u00020\u00042\u0006\u0010\u0018\u001a\u00020\u00192\u0006\u00100\u001a\u00020\u00022\u0016\u00101\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010302\"\u0004\u0018\u000103H\b¢\u0006\u0002\u00107\u001a>\u00100\u001a\u00020\u0002*\u00020\u00042\b\u0010\u0018\u001a\u0004\u0018\u00010\u00192\u0006\u00100\u001a\u00020\u00022\u0016\u00101\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010302\"\u0004\u0018\u000103H\b¢\u0006\u0004\b5\u00107\u001a2\u00100\u001a\u00020\u0002*\u00020\u00042\u0006\u00100\u001a\u00020\u00022\u0016\u00101\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010302\"\u0004\u0018\u000103H\b¢\u0006\u0002\u00108\u001a\r\u00109\u001a\u00020\u0002*\u00020\u0002H\b\u001a\n\u0010:\u001a\u00020#*\u00020'\u001a\r\u0010;\u001a\u00020\u0002*\u00020\u0002H\b\u001a\u0015\u0010;\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0019H\b\u001a\u001d\u0010<\u001a\u00020\u0011*\u00020\u00022\u0006\u0010=\u001a\u00020>2\u0006\u0010?\u001a\u00020\u0011H\b\u001a\u001d\u0010<\u001a\u00020\u0011*\u00020\u00022\u0006\u0010@\u001a\u00020\u00022\u0006\u0010?\u001a\u00020\u0011H\b\u001a\u001d\u0010A\u001a\u00020\u0011*\u00020\u00022\u0006\u0010=\u001a\u00020>2\u0006\u0010?\u001a\u00020\u0011H\b\u001a\u001d\u0010A\u001a\u00020\u0011*\u00020\u00022\u0006\u0010@\u001a\u00020\u00022\u0006\u0010?\u001a\u00020\u0011H\b\u001a\u001d\u0010B\u001a\u00020\u0011*\u00020\u00022\u0006\u0010\u001b\u001a\u00020\u00112\u0006\u0010C\u001a\u00020\u0011H\b\u001a4\u0010D\u001a\u00020#*\u00020'2\u0006\u0010E\u001a\u00020\u00112\u0006\u0010!\u001a\u00020'2\u0006\u0010F\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u00112\b\b\u0002\u0010\"\u001a\u00020#\u001a4\u0010D\u001a\u00020#*\u00020\u00022\u0006\u0010E\u001a\u00020\u00112\u0006\u0010!\u001a\u00020\u00022\u0006\u0010F\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u00112\b\b\u0002\u0010\"\u001a\u00020#\u001a\u0012\u0010G\u001a\u00020\u0002*\u00020'2\u0006\u0010H\u001a\u00020\u0011\u001a$\u0010I\u001a\u00020\u0002*\u00020\u00022\u0006\u0010J\u001a\u00020>2\u0006\u0010K\u001a\u00020>2\b\b\u0002\u0010\"\u001a\u00020#\u001a$\u0010I\u001a\u00020\u0002*\u00020\u00022\u0006\u0010L\u001a\u00020\u00022\u0006\u0010M\u001a\u00020\u00022\b\b\u0002\u0010\"\u001a\u00020#\u001a$\u0010N\u001a\u00020\u0002*\u00020\u00022\u0006\u0010J\u001a\u00020>2\u0006\u0010K\u001a\u00020>2\b\b\u0002\u0010\"\u001a\u00020#\u001a$\u0010N\u001a\u00020\u0002*\u00020\u00022\u0006\u0010L\u001a\u00020\u00022\u0006\u0010M\u001a\u00020\u00022\b\b\u0002\u0010\"\u001a\u00020#\u001a\"\u0010O\u001a\b\u0012\u0004\u0012\u00020\u00020P*\u00020'2\u0006\u0010Q\u001a\u00020R2\b\b\u0002\u0010S\u001a\u00020\u0011\u001a\u001c\u0010T\u001a\u00020#*\u00020\u00022\u0006\u0010U\u001a\u00020\u00022\b\b\u0002\u0010\"\u001a\u00020#\u001a$\u0010T\u001a\u00020#*\u00020\u00022\u0006\u0010U\u001a\u00020\u00022\u0006\u0010%\u001a\u00020\u00112\b\b\u0002\u0010\"\u001a\u00020#\u001a\u0015\u0010V\u001a\u00020\u0002*\u00020\u00022\u0006\u0010%\u001a\u00020\u0011H\b\u001a\u001d\u0010V\u001a\u00020\u0002*\u00020\u00022\u0006\u0010%\u001a\u00020\u00112\u0006\u0010\u001f\u001a\u00020\u0011H\b\u001a\u0017\u0010W\u001a\u00020\r*\u00020\u00022\b\b\u0002\u0010\u000e\u001a\u00020\u000fH\b\u001a\r\u0010X\u001a\u00020\u0014*\u00020\u0002H\b\u001a3\u0010X\u001a\u00020\u0014*\u00020\u00022\u0006\u0010Y\u001a\u00020\u00142\b\b\u0002\u0010Z\u001a\u00020\u00112\b\b\u0002\u0010%\u001a\u00020\u00112\b\b\u0002\u0010\u001f\u001a\u00020\u0011H\b\u001a \u0010X\u001a\u00020\u0014*\u00020\u00022\b\b\u0002\u0010%\u001a\u00020\u00112\b\b\u0002\u0010\u001f\u001a\u00020\u0011H\u0007\u001a\r\u0010[\u001a\u00020\u0002*\u00020\u0002H\b\u001a\u0015\u0010[\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0019H\b\u001a\u0017\u0010\\\u001a\u00020R*\u00020\u00022\b\b\u0002\u0010]\u001a\u00020\u0011H\b\u001a\r\u0010^\u001a\u00020\u0002*\u00020\u0002H\b\u001a\u0015\u0010^\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0019H\b\u001a\r\u0010_\u001a\u00020\u0002*\u00020\u0002H\b\u001a\u0015\u0010_\u001a\u00020\u0002*\u00020\u00022\u0006\u0010\u0018\u001a\u00020\u0019H\b\"%\u0010\u0000\u001a\u0012\u0012\u0004\u0012\u00020\u00020\u0001j\b\u0012\u0004\u0012\u00020\u0002`\u0003*\u00020\u00048F¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006`"}, d2 = {"CASE_INSENSITIVE_ORDER", "Ljava/util/Comparator;", "", "Lkotlin/Comparator;", "Lkotlin/String$Companion;", "getCASE_INSENSITIVE_ORDER", "(Lkotlin/jvm/internal/StringCompanionObject;)Ljava/util/Comparator;", "String", "stringBuffer", "Ljava/lang/StringBuffer;", "stringBuilder", "Ljava/lang/StringBuilder;", "bytes", "", "charset", "Ljava/nio/charset/Charset;", "offset", "", "length", "chars", "", "codePoints", "", "capitalize", "locale", "Ljava/util/Locale;", "codePointAt", "index", "codePointBefore", "codePointCount", "beginIndex", "endIndex", "compareTo", "other", "ignoreCase", "", "concatToString", "startIndex", "contentEquals", "", "charSequence", "decapitalize", "decodeToString", "throwOnInvalidSequence", "encodeToByteArray", "endsWith", "suffix", "equals", "format", "args", "", "", "(Ljava/lang/String;Ljava/util/Locale;[Ljava/lang/Object;)Ljava/lang/String;", "formatNullable", "(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", "(Lkotlin/jvm/internal/StringCompanionObject;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", "(Lkotlin/jvm/internal/StringCompanionObject;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", "intern", "isBlank", "lowercase", "nativeIndexOf", "ch", "", "fromIndex", "str", "nativeLastIndexOf", "offsetByCodePoints", "codePointOffset", "regionMatches", "thisOffset", "otherOffset", "repeat", "n", "replace", "oldChar", "newChar", "oldValue", "newValue", "replaceFirst", "split", "", "regex", "Ljava/util/regex/Pattern;", "limit", "startsWith", "prefix", "substring", "toByteArray", "toCharArray", "destination", "destinationOffset", "toLowerCase", "toPattern", "flags", "toUpperCase", "uppercase", "kotlin-stdlib"}, k = 5, mv = {1, 7, 1}, xi = 49, xs = "kotlin/text/StringsKt")
  /* compiled from: 015E */
  class StringsKt__StringsJVMKt extends StringsKt__StringNumberConversionsKt {
      private static final String String(StringBuffer stringBuffer) {
          Intrinsics.checkNotNullParameter(stringBuffer, "stringBuffer");
          String str = new String(stringBuffer);
          Log1F380D.a((Object) str);
          return str;
      }
  
      @Deprecated(message = "Use replaceFirstChar instead.", replaceWith = @ReplaceWith(expression = "replaceFirstChar { if (it.isLowerCase()) it.titlecase(locale) else it.toString() }", imports = {}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      public static final String capitalize(String $this$capitalize, Locale locale) {
          Intrinsics.checkNotNullParameter($this$capitalize, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          if ($this$capitalize.length() > 0) {
              char charAt = $this$capitalize.charAt(0);
              if (Character.isLowerCase(charAt)) {
                  StringBuilder sb = new StringBuilder();
                  StringBuilder sb2 = sb;
                  char titleCase = Character.toTitleCase(charAt);
                  if (titleCase != Character.toUpperCase(charAt)) {
                      sb2.append(titleCase);
                  } else {
                      String substring = $this$capitalize.substring(0, 1);
                      Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
                      Intrinsics.checkNotNull(substring, "null cannot be cast to non-null type java.lang.String");
                      String upperCase = substring.toUpperCase(locale);
                      Intrinsics.checkNotNullExpressionValue(upperCase, "this as java.lang.String).toUpperCase(locale)");
                      sb2.append(upperCase);
                  }
                  String substring2 = $this$capitalize.substring(1);
                  Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
                  sb2.append(substring2);
                  String sb3 = sb.toString();
                  Intrinsics.checkNotNullExpressionValue(sb3, "StringBuilder().apply(builderAction).toString()");
                  return sb3;
              }
          }
          return $this$capitalize;
      }
  
      private static final int codePointAt(String $this$codePointAt, int index) {
          Intrinsics.checkNotNullParameter($this$codePointAt, "<this>");
          return $this$codePointAt.codePointAt(index);
      }
  
      private static final int codePointBefore(String $this$codePointBefore, int index) {
          Intrinsics.checkNotNullParameter($this$codePointBefore, "<this>");
          return $this$codePointBefore.codePointBefore(index);
      }
  
      private static final int codePointCount(String $this$codePointCount, int beginIndex, int endIndex) {
          Intrinsics.checkNotNullParameter($this$codePointCount, "<this>");
          return $this$codePointCount.codePointCount(beginIndex, endIndex);
      }
  
      public static final int compareTo(String $this$compareTo, String other, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$compareTo, "<this>");
          Intrinsics.checkNotNullParameter(other, "other");
          return ignoreCase ? $this$compareTo.compareToIgnoreCase(other) : $this$compareTo.compareTo(other);
      }
  
      public static /* synthetic */ int compareTo$default(String str, String str2, boolean z, int i, Object obj) {
          if ((i & 2) != 0) {
              z = false;
          }
          return StringsKt.compareTo(str, str2, z);
      }
  
      public static final boolean contentEquals(CharSequence $this$contentEquals, CharSequence other) {
          return (!($this$contentEquals instanceof String) || other == null) ? StringsKt.contentEqualsImpl($this$contentEquals, other) : ((String) $this$contentEquals).contentEquals(other);
      }
  
      public static final boolean contentEquals(CharSequence $this$contentEquals, CharSequence other, boolean ignoreCase) {
          return ignoreCase ? StringsKt.contentEqualsIgnoreCaseImpl($this$contentEquals, other) : StringsKt.contentEquals($this$contentEquals, other);
      }
  
      private static final boolean contentEquals(String $this$contentEquals, CharSequence charSequence) {
          Intrinsics.checkNotNullParameter($this$contentEquals, "<this>");
          Intrinsics.checkNotNullParameter(charSequence, "charSequence");
          return $this$contentEquals.contentEquals(charSequence);
      }
  
      private static final boolean contentEquals(String $this$contentEquals, StringBuffer stringBuilder) {
          Intrinsics.checkNotNullParameter($this$contentEquals, "<this>");
          Intrinsics.checkNotNullParameter(stringBuilder, "stringBuilder");
          return $this$contentEquals.contentEquals(stringBuilder);
      }
  
      @Deprecated(message = "Use replaceFirstChar instead.", replaceWith = @ReplaceWith(expression = "replaceFirstChar { it.lowercase(Locale.getDefault()) }", imports = {"java.util.Locale"}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      public static final String decapitalize(String $this$decapitalize) {
          Intrinsics.checkNotNullParameter($this$decapitalize, "<this>");
          if (!($this$decapitalize.length() > 0) || Character.isLowerCase($this$decapitalize.charAt(0))) {
              return $this$decapitalize;
          }
          StringBuilder sb = new StringBuilder();
          String substring = $this$decapitalize.substring(0, 1);
          Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
          Intrinsics.checkNotNull(substring, "null cannot be cast to non-null type java.lang.String");
          String lowerCase = substring.toLowerCase();
          Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase()");
          StringBuilder append = sb.append(lowerCase);
          String substring2 = $this$decapitalize.substring(1);
          Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
          return append.append(substring2).toString();
      }
  
      @Deprecated(message = "Use replaceFirstChar instead.", replaceWith = @ReplaceWith(expression = "replaceFirstChar { it.lowercase(locale) }", imports = {}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      public static final String decapitalize(String $this$decapitalize, Locale locale) {
          Intrinsics.checkNotNullParameter($this$decapitalize, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          if (!($this$decapitalize.length() > 0) || Character.isLowerCase($this$decapitalize.charAt(0))) {
              return $this$decapitalize;
          }
          StringBuilder sb = new StringBuilder();
          String substring = $this$decapitalize.substring(0, 1);
          Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
          Intrinsics.checkNotNull(substring, "null cannot be cast to non-null type java.lang.String");
          String lowerCase = substring.toLowerCase(locale);
          Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(locale)");
          StringBuilder append = sb.append(lowerCase);
          String substring2 = $this$decapitalize.substring(1);
          Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
          return append.append(substring2).toString();
      }
  
      public static final byte[] encodeToByteArray(String $this$encodeToByteArray) {
          Intrinsics.checkNotNullParameter($this$encodeToByteArray, "<this>");
          byte[] bytes = $this$encodeToByteArray.getBytes(Charsets.UTF_8);
          Intrinsics.checkNotNullExpressionValue(bytes, "this as java.lang.String).getBytes(charset)");
          return bytes;
      }
  
      public static final byte[] encodeToByteArray(String $this$encodeToByteArray, int startIndex, int endIndex, boolean throwOnInvalidSequence) {
          Intrinsics.checkNotNullParameter($this$encodeToByteArray, "<this>");
          AbstractList.Companion.checkBoundsIndexes$kotlin_stdlib(startIndex, endIndex, $this$encodeToByteArray.length());
          if (!throwOnInvalidSequence) {
              String substring = $this$encodeToByteArray.substring(startIndex, endIndex);
              Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
              Charset charset = Charsets.UTF_8;
              Intrinsics.checkNotNull(substring, "null cannot be cast to non-null type java.lang.String");
              byte[] bytes = substring.getBytes(charset);
              Intrinsics.checkNotNullExpressionValue(bytes, "this as java.lang.String).getBytes(charset)");
              return bytes;
          }
          ByteBuffer encode = Charsets.UTF_8.newEncoder().onMalformedInput(CodingErrorAction.REPORT).onUnmappableCharacter(CodingErrorAction.REPORT).encode(CharBuffer.wrap($this$encodeToByteArray, startIndex, endIndex));
          if (encode.hasArray() && encode.arrayOffset() == 0) {
              int remaining = encode.remaining();
              byte[] array = encode.array();
              Intrinsics.checkNotNull(array);
              if (remaining == array.length) {
                  byte[] array2 = encode.array();
                  Intrinsics.checkNotNullExpressionValue(array2, "{\n        byteBuffer.array()\n    }");
                  return array2;
              }
          }
          byte[] bArr = new byte[encode.remaining()];
          encode.get(bArr);
          return bArr;
      }
  
      public static /* synthetic */ byte[] encodeToByteArray$default(String str, int i, int i2, boolean z, int i3, Object obj) {
          if ((i3 & 1) != 0) {
              i = 0;
          }
          if ((i3 & 2) != 0) {
              i2 = str.length();
          }
          if ((i3 & 4) != 0) {
              z = false;
          }
          return StringsKt.encodeToByteArray(str, i, i2, z);
      }
  
      public static final boolean endsWith(String $this$endsWith, String suffix, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$endsWith, "<this>");
          Intrinsics.checkNotNullParameter(suffix, "suffix");
          if (!ignoreCase) {
              return $this$endsWith.endsWith(suffix);
          }
          return StringsKt.regionMatches($this$endsWith, $this$endsWith.length() - suffix.length(), suffix, 0, suffix.length(), true);
      }
  
      public static /* synthetic */ boolean endsWith$default(String str, String str2, boolean z, int i, Object obj) {
          if ((i & 2) != 0) {
              z = false;
          }
          return StringsKt.endsWith(str, str2, z);
      }
  
      public static final boolean equals(String $this$equals, String other, boolean ignoreCase) {
          return $this$equals == null ? other == null : !ignoreCase ? $this$equals.equals(other) : $this$equals.equalsIgnoreCase(other);
      }
  
      public static /* synthetic */ boolean equals$default(String str, String str2, boolean z, int i, Object obj) {
          if ((i & 2) != 0) {
              z = false;
          }
          return StringsKt.equals(str, str2, z);
      }
  
      public static final Comparator<String> getCASE_INSENSITIVE_ORDER(StringCompanionObject $this$CASE_INSENSITIVE_ORDER) {
          Intrinsics.checkNotNullParameter($this$CASE_INSENSITIVE_ORDER, "<this>");
          Comparator<String> comparator = String.CASE_INSENSITIVE_ORDER;
          Intrinsics.checkNotNullExpressionValue(comparator, "CASE_INSENSITIVE_ORDER");
          return comparator;
      }
  
      private static final String intern(String $this$intern) {
          Intrinsics.checkNotNullParameter($this$intern, "<this>");
          String intern = $this$intern.intern();
          Intrinsics.checkNotNullExpressionValue(intern, "this as java.lang.String).intern()");
          return intern;
      }
  
      public static final boolean isBlank(CharSequence $this$isBlank) {
          boolean z;
          Intrinsics.checkNotNullParameter($this$isBlank, "<this>");
          if ($this$isBlank.length() != 0) {
              Iterable indices = StringsKt.getIndices($this$isBlank);
              if (!(indices instanceof Collection) || !((Collection) indices).isEmpty()) {
                  Iterator it = indices.iterator();
                  while (true) {
                      if (it.hasNext()) {
                          if (!CharsKt.isWhitespace($this$isBlank.charAt(((IntIterator) it).nextInt()))) {
                              z = false;
                              break;
                          }
                      } else {
                          z = true;
                          break;
                      }
                  }
              } else {
                  z = true;
              }
              if (!z) {
                  return false;
              }
          }
          return true;
      }
  
      private static final String lowercase(String $this$lowercase) {
          Intrinsics.checkNotNullParameter($this$lowercase, "<this>");
          String lowerCase = $this$lowercase.toLowerCase(Locale.ROOT);
          Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(Locale.ROOT)");
          return lowerCase;
      }
  
      private static final String lowercase(String $this$lowercase, Locale locale) {
          Intrinsics.checkNotNullParameter($this$lowercase, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          String lowerCase = $this$lowercase.toLowerCase(locale);
          Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(locale)");
          return lowerCase;
      }
  
      private static final int nativeIndexOf(String $this$nativeIndexOf, char ch, int fromIndex) {
          Intrinsics.checkNotNullParameter($this$nativeIndexOf, "<this>");
          return $this$nativeIndexOf.indexOf(ch, fromIndex);
      }
  
      private static final int nativeIndexOf(String $this$nativeIndexOf, String str, int fromIndex) {
          Intrinsics.checkNotNullParameter($this$nativeIndexOf, "<this>");
          Intrinsics.checkNotNullParameter(str, "str");
          return $this$nativeIndexOf.indexOf(str, fromIndex);
      }
  
      private static final int nativeLastIndexOf(String $this$nativeLastIndexOf, char ch, int fromIndex) {
          Intrinsics.checkNotNullParameter($this$nativeLastIndexOf, "<this>");
          return $this$nativeLastIndexOf.lastIndexOf(ch, fromIndex);
      }
  
      private static final int nativeLastIndexOf(String $this$nativeLastIndexOf, String str, int fromIndex) {
          Intrinsics.checkNotNullParameter($this$nativeLastIndexOf, "<this>");
          Intrinsics.checkNotNullParameter(str, "str");
          return $this$nativeLastIndexOf.lastIndexOf(str, fromIndex);
      }
  
      private static final int offsetByCodePoints(String $this$offsetByCodePoints, int index, int codePointOffset) {
          Intrinsics.checkNotNullParameter($this$offsetByCodePoints, "<this>");
          return $this$offsetByCodePoints.offsetByCodePoints(index, codePointOffset);
      }
  
      public static final boolean regionMatches(CharSequence $this$regionMatches, int thisOffset, CharSequence other, int otherOffset, int length, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$regionMatches, "<this>");
          Intrinsics.checkNotNullParameter(other, "other");
          if (!($this$regionMatches instanceof String) || !(other instanceof String)) {
              return StringsKt.regionMatchesImpl($this$regionMatches, thisOffset, other, otherOffset, length, ignoreCase);
          }
          return StringsKt.regionMatches((String) $this$regionMatches, thisOffset, (String) other, otherOffset, length, ignoreCase);
      }
  
      public static final boolean regionMatches(String $this$regionMatches, int thisOffset, String other, int otherOffset, int length, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$regionMatches, "<this>");
          Intrinsics.checkNotNullParameter(other, "other");
          return !ignoreCase ? $this$regionMatches.regionMatches(thisOffset, other, otherOffset, length) : $this$regionMatches.regionMatches(ignoreCase, thisOffset, other, otherOffset, length);
      }
  
      public static /* synthetic */ boolean regionMatches$default(CharSequence charSequence, int i, CharSequence charSequence2, int i2, int i3, boolean z, int i4, Object obj) {
          if ((i4 & 16) != 0) {
              z = false;
          }
          return StringsKt.regionMatches(charSequence, i, charSequence2, i2, i3, z);
      }
  
      public static /* synthetic */ boolean regionMatches$default(String str, int i, String str2, int i2, int i3, boolean z, int i4, Object obj) {
          if ((i4 & 16) != 0) {
              z = false;
          }
          return StringsKt.regionMatches(str, i, str2, i2, i3, z);
      }
  
      public static final String replace(String $this$replace, char oldChar, char newChar, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$replace, "<this>");
          if (!ignoreCase) {
              String replace = $this$replace.replace(oldChar, newChar);
              Intrinsics.checkNotNullExpressionValue(replace, "this as java.lang.String…replace(oldChar, newChar)");
              return replace;
          }
          StringBuilder sb = new StringBuilder($this$replace.length());
          StringBuilder sb2 = sb;
          CharSequence charSequence = $this$replace;
          for (int i = 0; i < charSequence.length(); i++) {
              char charAt = charSequence.charAt(i);
              sb2.append(CharsKt.equals(charAt, oldChar, ignoreCase) ? newChar : charAt);
          }
          String sb3 = sb.toString();
          Intrinsics.checkNotNullExpressionValue(sb3, "StringBuilder(capacity).…builderAction).toString()");
          return sb3;
      }
  
      public static final String replace(String $this$replace, String oldValue, String newValue, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$replace, "<this>");
          Intrinsics.checkNotNullParameter(oldValue, "oldValue");
          Intrinsics.checkNotNullParameter(newValue, "newValue");
          String str = $this$replace;
          int indexOf = StringsKt.indexOf((CharSequence) str, oldValue, 0, ignoreCase);
          if (indexOf < 0) {
              return str;
          }
          int length = oldValue.length();
          int coerceAtLeast = RangesKt.coerceAtLeast(length, 1);
          int length2 = (str.length() - length) + newValue.length();
          if (length2 >= 0) {
              StringBuilder sb = new StringBuilder(length2);
              int i = 0;
              do {
                  sb.append(str, i, indexOf).append(newValue);
                  i = indexOf + length;
                  if (indexOf >= str.length() || (indexOf = StringsKt.indexOf((CharSequence) str, oldValue, indexOf + coerceAtLeast, ignoreCase)) <= 0) {
                      String sb2 = sb.append(str, i, str.length()).toString();
                      Intrinsics.checkNotNullExpressionValue(sb2, "stringBuilder.append(this, i, length).toString()");
                  }
                  sb.append(str, i, indexOf).append(newValue);
                  i = indexOf + length;
                  break;
              } while ((indexOf = StringsKt.indexOf((CharSequence) str, oldValue, indexOf + coerceAtLeast, ignoreCase)) <= 0);
              String sb22 = sb.append(str, i, str.length()).toString();
              Intrinsics.checkNotNullExpressionValue(sb22, "stringBuilder.append(this, i, length).toString()");
              return sb22;
          }
          throw new OutOfMemoryError();
      }
  
      public static final String replaceFirst(String $this$replaceFirst, String oldValue, String newValue, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$replaceFirst, "<this>");
          Intrinsics.checkNotNullParameter(oldValue, "oldValue");
          Intrinsics.checkNotNullParameter(newValue, "newValue");
          int indexOf$default = StringsKt.indexOf$default((CharSequence) $this$replaceFirst, oldValue, 0, ignoreCase, 2, (Object) null);
          if (indexOf$default < 0) {
              return $this$replaceFirst;
          }
          return StringsKt.replaceRange((CharSequence) $this$replaceFirst, indexOf$default, oldValue.length() + indexOf$default, (CharSequence) newValue).toString();
      }
  
      public static final List<String> split(CharSequence $this$split, Pattern regex, int limit) {
          Intrinsics.checkNotNullParameter($this$split, "<this>");
          Intrinsics.checkNotNullParameter(regex, "regex");
          StringsKt.requireNonNegativeLimit(limit);
          String[] split = regex.split($this$split, limit == 0 ? -1 : limit);
          Intrinsics.checkNotNullExpressionValue(split, "regex.split(this, if (limit == 0) -1 else limit)");
          return ArraysKt.asList((T[]) (Object[]) split);
      }
  
      public static /* synthetic */ List split$default(CharSequence charSequence, Pattern pattern, int i, int i2, Object obj) {
          if ((i2 & 2) != 0) {
              i = 0;
          }
          return StringsKt.split(charSequence, pattern, i);
      }
  
      public static final boolean startsWith(String $this$startsWith, String prefix, int startIndex, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$startsWith, "<this>");
          Intrinsics.checkNotNullParameter(prefix, "prefix");
          if (!ignoreCase) {
              return $this$startsWith.startsWith(prefix, startIndex);
          }
          return StringsKt.regionMatches($this$startsWith, startIndex, prefix, 0, prefix.length(), ignoreCase);
      }
  
      public static final boolean startsWith(String $this$startsWith, String prefix, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$startsWith, "<this>");
          Intrinsics.checkNotNullParameter(prefix, "prefix");
          if (!ignoreCase) {
              return $this$startsWith.startsWith(prefix);
          }
          return StringsKt.regionMatches($this$startsWith, 0, prefix, 0, prefix.length(), ignoreCase);
      }
  
      public static /* synthetic */ boolean startsWith$default(String str, String str2, int i, boolean z, int i2, Object obj) {
          if ((i2 & 4) != 0) {
              z = false;
          }
          return StringsKt.startsWith(str, str2, i, z);
      }
  
      public static /* synthetic */ boolean startsWith$default(String str, String str2, boolean z, int i, Object obj) {
          if ((i & 2) != 0) {
              z = false;
          }
          return StringsKt.startsWith(str, str2, z);
      }
  
      private static final String substring(String $this$substring, int startIndex) {
          Intrinsics.checkNotNullParameter($this$substring, "<this>");
          String substring = $this$substring.substring(startIndex);
          Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String).substring(startIndex)");
          return substring;
      }
  
      private static final String substring(String $this$substring, int startIndex, int endIndex) {
          Intrinsics.checkNotNullParameter($this$substring, "<this>");
          String substring = $this$substring.substring(startIndex, endIndex);
          Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
          return substring;
      }
  
      private static final byte[] toByteArray(String $this$toByteArray, Charset charset) {
          Intrinsics.checkNotNullParameter($this$toByteArray, "<this>");
          Intrinsics.checkNotNullParameter(charset, "charset");
          byte[] bytes = $this$toByteArray.getBytes(charset);
          Intrinsics.checkNotNullExpressionValue(bytes, "this as java.lang.String).getBytes(charset)");
          return bytes;
      }
  
      static /* synthetic */ byte[] toByteArray$default(String $this$toByteArray_u24default, Charset charset, int i, Object obj) {
          if ((i & 1) != 0) {
              charset = Charsets.UTF_8;
          }
          Intrinsics.checkNotNullParameter($this$toByteArray_u24default, "<this>");
          Intrinsics.checkNotNullParameter(charset, "charset");
          byte[] bytes = $this$toByteArray_u24default.getBytes(charset);
          Intrinsics.checkNotNullExpressionValue(bytes, "this as java.lang.String).getBytes(charset)");
          return bytes;
      }
  
      private static final char[] toCharArray(String $this$toCharArray) {
          Intrinsics.checkNotNullParameter($this$toCharArray, "<this>");
          char[] charArray = $this$toCharArray.toCharArray();
          Intrinsics.checkNotNullExpressionValue(charArray, "this as java.lang.String).toCharArray()");
          return charArray;
      }
  
      public static final char[] toCharArray(String $this$toCharArray, int startIndex, int endIndex) {
          Intrinsics.checkNotNullParameter($this$toCharArray, "<this>");
          AbstractList.Companion.checkBoundsIndexes$kotlin_stdlib(startIndex, endIndex, $this$toCharArray.length());
          char[] cArr = new char[(endIndex - startIndex)];
          $this$toCharArray.getChars(startIndex, endIndex, cArr, 0);
          return cArr;
      }
  
      private static final char[] toCharArray(String $this$toCharArray, char[] destination, int destinationOffset, int startIndex, int endIndex) {
          Intrinsics.checkNotNullParameter($this$toCharArray, "<this>");
          Intrinsics.checkNotNullParameter(destination, "destination");
          $this$toCharArray.getChars(startIndex, endIndex, destination, destinationOffset);
          return destination;
      }
  
      public static /* synthetic */ char[] toCharArray$default(String str, int i, int i2, int i3, Object obj) {
          if ((i3 & 1) != 0) {
              i = 0;
          }
          if ((i3 & 2) != 0) {
              i2 = str.length();
          }
          return StringsKt.toCharArray(str, i, i2);
      }
  
      static /* synthetic */ char[] toCharArray$default(String $this$toCharArray_u24default, char[] destination, int destinationOffset, int startIndex, int endIndex, int i, Object obj) {
          if ((i & 2) != 0) {
              destinationOffset = 0;
          }
          if ((i & 4) != 0) {
              startIndex = 0;
          }
          if ((i & 8) != 0) {
              endIndex = $this$toCharArray_u24default.length();
          }
          Intrinsics.checkNotNullParameter($this$toCharArray_u24default, "<this>");
          Intrinsics.checkNotNullParameter(destination, "destination");
          $this$toCharArray_u24default.getChars(startIndex, endIndex, destination, destinationOffset);
          return destination;
      }
  
      @Deprecated(message = "Use lowercase() instead.", replaceWith = @ReplaceWith(expression = "lowercase(Locale.getDefault())", imports = {"java.util.Locale"}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      private static final String toLowerCase(String $this$toLowerCase) {
          Intrinsics.checkNotNullParameter($this$toLowerCase, "<this>");
          String lowerCase = $this$toLowerCase.toLowerCase();
          Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase()");
          return lowerCase;
      }
  
      @Deprecated(message = "Use lowercase() instead.", replaceWith = @ReplaceWith(expression = "lowercase(locale)", imports = {}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      private static final String toLowerCase(String $this$toLowerCase, Locale locale) {
          Intrinsics.checkNotNullParameter($this$toLowerCase, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          String lowerCase = $this$toLowerCase.toLowerCase(locale);
          Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(locale)");
          return lowerCase;
      }
  
      private static final Pattern toPattern(String $this$toPattern, int flags) {
          Intrinsics.checkNotNullParameter($this$toPattern, "<this>");
          Pattern compile = Pattern.compile($this$toPattern, flags);
          Intrinsics.checkNotNullExpressionValue(compile, "compile(this, flags)");
          return compile;
      }
  
      static /* synthetic */ Pattern toPattern$default(String $this$toPattern_u24default, int flags, int i, Object obj) {
          if ((i & 1) != 0) {
              flags = 0;
          }
          Intrinsics.checkNotNullParameter($this$toPattern_u24default, "<this>");
          Pattern compile = Pattern.compile($this$toPattern_u24default, flags);
          Intrinsics.checkNotNullExpressionValue(compile, "compile(this, flags)");
          return compile;
      }
  
      @Deprecated(message = "Use uppercase() instead.", replaceWith = @ReplaceWith(expression = "uppercase(Locale.getDefault())", imports = {"java.util.Locale"}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      private static final String toUpperCase(String $this$toUpperCase) {
          Intrinsics.checkNotNullParameter($this$toUpperCase, "<this>");
          String upperCase = $this$toUpperCase.toUpperCase();
          Intrinsics.checkNotNullExpressionValue(upperCase, "this as java.lang.String).toUpperCase()");
          return upperCase;
      }
  
      @Deprecated(message = "Use uppercase() instead.", replaceWith = @ReplaceWith(expression = "uppercase(locale)", imports = {}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      private static final String toUpperCase(String $this$toUpperCase, Locale locale) {
          Intrinsics.checkNotNullParameter($this$toUpperCase, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          String upperCase = $this$toUpperCase.toUpperCase(locale);
          Intrinsics.checkNotNullExpressionValue(upperCase, "this as java.lang.String).toUpperCase(locale)");
          return upperCase;
      }
  
      private static final String uppercase(String $this$uppercase) {
          Intrinsics.checkNotNullParameter($this$uppercase, "<this>");
          String upperCase = $this$uppercase.toUpperCase(Locale.ROOT);
          Intrinsics.checkNotNullExpressionValue(upperCase, "this as java.lang.String).toUpperCase(Locale.ROOT)");
          return upperCase;
      }
  
      private static final String uppercase(String $this$uppercase, Locale locale) {
          Intrinsics.checkNotNullParameter($this$uppercase, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          String upperCase = $this$uppercase.toUpperCase(locale);
          Intrinsics.checkNotNullExpressionValue(upperCase, "this as java.lang.String).toUpperCase(locale)");
          return upperCase;
      }
  
      private static final String String(StringBuilder stringBuilder) {
          Intrinsics.checkNotNullParameter(stringBuilder, "stringBuilder");
          String str = new String(stringBuilder);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(byte[] bytes) {
          Intrinsics.checkNotNullParameter(bytes, "bytes");
          String str = new String(bytes, Charsets.UTF_8);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(byte[] bytes, int offset, int length) {
          Intrinsics.checkNotNullParameter(bytes, "bytes");
          String str = new String(bytes, offset, length, Charsets.UTF_8);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(byte[] bytes, int offset, int length, Charset charset) {
          Intrinsics.checkNotNullParameter(bytes, "bytes");
          Intrinsics.checkNotNullParameter(charset, "charset");
          String str = new String(bytes, offset, length, charset);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(byte[] bytes, Charset charset) {
          Intrinsics.checkNotNullParameter(bytes, "bytes");
          Intrinsics.checkNotNullParameter(charset, "charset");
          String str = new String(bytes, charset);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(char[] chars) {
          Intrinsics.checkNotNullParameter(chars, "chars");
          String str = new String(chars);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(char[] chars, int offset, int length) {
          Intrinsics.checkNotNullParameter(chars, "chars");
          String str = new String(chars, offset, length);
          Log1F380D.a((Object) str);
          return str;
      }
  
      private static final String String(int[] codePoints, int offset, int length) {
          Intrinsics.checkNotNullParameter(codePoints, "codePoints");
          String str = new String(codePoints, offset, length);
          Log1F380D.a((Object) str);
          return str;
      }
  
      @Deprecated(message = "Use replaceFirstChar instead.", replaceWith = @ReplaceWith(expression = "replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }", imports = {"java.util.Locale"}))
      @DeprecatedSinceKotlin(warningSince = "1.5")
      public static final String capitalize(String $this$capitalize) {
          Intrinsics.checkNotNullParameter($this$capitalize, "<this>");
          Locale locale = Locale.getDefault();
          Intrinsics.checkNotNullExpressionValue(locale, "getDefault()");
          String capitalize = StringsKt.capitalize($this$capitalize, locale);
          Log1F380D.a((Object) capitalize);
          return capitalize;
      }
  
      public static final String concatToString(char[] $this$concatToString) {
          Intrinsics.checkNotNullParameter($this$concatToString, "<this>");
          String str = new String($this$concatToString);
          Log1F380D.a((Object) str);
          return str;
      }
  
      public static final String concatToString(char[] $this$concatToString, int startIndex, int endIndex) {
          Intrinsics.checkNotNullParameter($this$concatToString, "<this>");
          AbstractList.Companion.checkBoundsIndexes$kotlin_stdlib(startIndex, endIndex, $this$concatToString.length);
          String str = new String($this$concatToString, startIndex, endIndex - startIndex);
          Log1F380D.a((Object) str);
          return str;
      }
  
      public static /* synthetic */ String concatToString$default(char[] cArr, int i, int i2, int i3, Object obj) {
          if ((i3 & 1) != 0) {
              i = 0;
          }
          if ((i3 & 2) != 0) {
              i2 = cArr.length;
          }
          String concatToString = StringsKt.concatToString(cArr, i, i2);
          Log1F380D.a((Object) concatToString);
          return concatToString;
      }
  
      public static final String decodeToString(byte[] $this$decodeToString) {
          Intrinsics.checkNotNullParameter($this$decodeToString, "<this>");
          String str = new String($this$decodeToString, Charsets.UTF_8);
          Log1F380D.a((Object) str);
          return str;
      }
  
      public static final String decodeToString(byte[] $this$decodeToString, int startIndex, int endIndex, boolean throwOnInvalidSequence) {
          Intrinsics.checkNotNullParameter($this$decodeToString, "<this>");
          AbstractList.Companion.checkBoundsIndexes$kotlin_stdlib(startIndex, endIndex, $this$decodeToString.length);
          if (!throwOnInvalidSequence) {
              String str = new String($this$decodeToString, startIndex, endIndex - startIndex, Charsets.UTF_8);
              Log1F380D.a((Object) str);
              return str;
          }
          String charBuffer = Charsets.UTF_8.newDecoder().onMalformedInput(CodingErrorAction.REPORT).onUnmappableCharacter(CodingErrorAction.REPORT).decode(ByteBuffer.wrap($this$decodeToString, startIndex, endIndex - startIndex)).toString();
          Intrinsics.checkNotNullExpressionValue(charBuffer, "decoder.decode(ByteBuffe…- startIndex)).toString()");
          return charBuffer;
      }
  
      public static /* synthetic */ String decodeToString$default(byte[] bArr, int i, int i2, boolean z, int i3, Object obj) {
          if ((i3 & 1) != 0) {
              i = 0;
          }
          if ((i3 & 2) != 0) {
              i2 = bArr.length;
          }
          if ((i3 & 4) != 0) {
              z = false;
          }
          String decodeToString = StringsKt.decodeToString(bArr, i, i2, z);
          Log1F380D.a((Object) decodeToString);
          return decodeToString;
      }
  
      @Deprecated(message = "Use Kotlin compiler 1.4 to avoid deprecation warning.")
      @DeprecatedSinceKotlin(hiddenSince = "1.4")
      private static final /* synthetic */ String format(String $this$format, Locale locale, Object... args) {
          Intrinsics.checkNotNullParameter($this$format, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          Intrinsics.checkNotNullParameter(args, "args");
          String format = String.format(locale, $this$format, Arrays.copyOf(args, args.length));
          Log1F380D.a((Object) format);
          Intrinsics.checkNotNullExpressionValue(format, "format(locale, this, *args)");
          return format;
      }
  
      private static final String format(String $this$format, Object... args) {
          Intrinsics.checkNotNullParameter($this$format, "<this>");
          Intrinsics.checkNotNullParameter(args, "args");
          String format = String.format($this$format, Arrays.copyOf(args, args.length));
          Log1F380D.a((Object) format);
          Intrinsics.checkNotNullExpressionValue(format, "format(this, *args)");
          return format;
      }
  
      private static final String format(StringCompanionObject $this$format, String format, Object... args) {
          Intrinsics.checkNotNullParameter($this$format, "<this>");
          Intrinsics.checkNotNullParameter(format, "format");
          Intrinsics.checkNotNullParameter(args, "args");
          String format2 = String.format(format, Arrays.copyOf(args, args.length));
          Log1F380D.a((Object) format2);
          Intrinsics.checkNotNullExpressionValue(format2, "format(format, *args)");
          return format2;
      }
  
      @Deprecated(message = "Use Kotlin compiler 1.4 to avoid deprecation warning.")
      @DeprecatedSinceKotlin(hiddenSince = "1.4")
      private static final /* synthetic */ String format(StringCompanionObject $this$format, Locale locale, String format, Object... args) {
          Intrinsics.checkNotNullParameter($this$format, "<this>");
          Intrinsics.checkNotNullParameter(locale, "locale");
          Intrinsics.checkNotNullParameter(format, "format");
          Intrinsics.checkNotNullParameter(args, "args");
          String format2 = String.format(locale, format, Arrays.copyOf(args, args.length));
          Log1F380D.a((Object) format2);
          Intrinsics.checkNotNullExpressionValue(format2, "format(locale, format, *args)");
          return format2;
      }
  
      private static final String formatNullable(String $this$format, Locale locale, Object... args) {
          Intrinsics.checkNotNullParameter($this$format, "<this>");
          Intrinsics.checkNotNullParameter(args, "args");
          String format = String.format(locale, $this$format, Arrays.copyOf(args, args.length));
          Log1F380D.a((Object) format);
          Intrinsics.checkNotNullExpressionValue(format, "format(locale, this, *args)");
          return format;
      }
  
      private static final String formatNullable(StringCompanionObject $this$format, Locale locale, String format, Object... args) {
          Intrinsics.checkNotNullParameter($this$format, "<this>");
          Intrinsics.checkNotNullParameter(format, "format");
          Intrinsics.checkNotNullParameter(args, "args");
          String format2 = String.format(locale, format, Arrays.copyOf(args, args.length));
          Log1F380D.a((Object) format2);
          Intrinsics.checkNotNullExpressionValue(format2, "format(locale, format, *args)");
          return format2;
      }
  
      public static final String repeat(CharSequence $this$repeat, int n) {
          Intrinsics.checkNotNullParameter($this$repeat, "<this>");
          if (n >= 0) {
              switch (n) {
                  case 0:
                      return HttpUrl.FRAGMENT_ENCODE_SET;
                  case 1:
                      return $this$repeat.toString();
                  default:
                      switch ($this$repeat.length()) {
                          case 0:
                              return HttpUrl.FRAGMENT_ENCODE_SET;
                          case 1:
                              char charAt = $this$repeat.charAt(0);
                              char[] cArr = new char[n];
                              for (int i = 0; i < n; i++) {
                                  cArr[i] = charAt;
                              }
                              String str = new String(cArr);
                              Log1F380D.a((Object) str);
                              return str;
                          default:
                              StringBuilder sb = new StringBuilder($this$repeat.length() * n);
                              IntIterator it = new IntRange(1, n).iterator();
                              while (it.hasNext()) {
                                  int nextInt = it.nextInt();
                                  sb.append($this$repeat);
                              }
                              String sb2 = sb.toString();
                              Intrinsics.checkNotNullExpressionValue(sb2, "{\n                    va…tring()\n                }");
                              return sb2;
                      }
              }
          } else {
              throw new IllegalArgumentException(("Count 'n' must be non-negative, but was " + n + '.').toString());
          }
      }
  
      public static /* synthetic */ String replace$default(String str, char c, char c2, boolean z, int i, Object obj) {
          if ((i & 4) != 0) {
              z = false;
          }
          String replace = StringsKt.replace(str, c, c2, z);
          Log1F380D.a((Object) replace);
          return replace;
      }
  
      public static /* synthetic */ String replace$default(String str, String str2, String str3, boolean z, int i, Object obj) {
          if ((i & 4) != 0) {
              z = false;
          }
          String replace = StringsKt.replace(str, str2, str3, z);
          Log1F380D.a((Object) replace);
          return replace;
      }
  
      public static final String replaceFirst(String $this$replaceFirst, char oldChar, char newChar, boolean ignoreCase) {
          Intrinsics.checkNotNullParameter($this$replaceFirst, "<this>");
          int indexOf$default = StringsKt.indexOf$default((CharSequence) $this$replaceFirst, oldChar, 0, ignoreCase, 2, (Object) null);
          if (indexOf$default < 0) {
              return $this$replaceFirst;
          }
          String valueOf = String.valueOf(newChar);
          Log1F380D.a((Object) valueOf);
          return StringsKt.replaceRange((CharSequence) $this$replaceFirst, indexOf$default, indexOf$default + 1, (CharSequence) valueOf).toString();
      }
  
      public static /* synthetic */ String replaceFirst$default(String str, char c, char c2, boolean z, int i, Object obj) {
          if ((i & 4) != 0) {
              z = false;
          }
          String replaceFirst = StringsKt.replaceFirst(str, c, c2, z);
          Log1F380D.a((Object) replaceFirst);
          return replaceFirst;
      }
  
      public static /* synthetic */ String replaceFirst$default(String str, String str2, String str3, boolean z, int i, Object obj) {
          if ((i & 4) != 0) {
              z = false;
          }
          String replaceFirst = StringsKt.replaceFirst(str, str2, str3, z);
          Log1F380D.a((Object) replaceFirst);
          return replaceFirst;
      }
  }
  