Browse Source

85.11 - Beta (85111)

beta
Juby210 2 months ago
parent
commit
a2a9f607fc
  1. 4
      app/build.gradle
  2. 272
      app/src/main/AndroidManifest.xml
  3. 1
      app/src/main/assets/animations/anim_boost_activated.json
  4. 1
      app/src/main/assets/animations/anim_nitro_boost_confirmation_dark.json
  5. 1
      app/src/main/assets/animations/anim_nitro_boost_confirmation_light.json
  6. 1
      app/src/main/assets/animations/anim_search_indexing_dark.json
  7. 1
      app/src/main/assets/animations/anim_search_indexing_light.json
  8. 1
      app/src/main/assets/animations/anim_verify_by_email.json
  9. 1
      app/src/main/assets/animations/anim_verify_by_phone.json
  10. 1
      app/src/main/assets/data/canadian-provinces.json
  11. 1
      app/src/main/assets/data/country-codes.json
  12. 255
      app/src/main/assets/data/emoji-shortcuts.json
  13. 34453
      app/src/main/assets/data/emojis.json
  14. 1
      app/src/main/assets/data/states.json
  15. 162
      app/src/main/assets/hcaptcha-form.html
  16. BIN
      app/src/main/assets/images/default_avatar_0.png
  17. BIN
      app/src/main/assets/images/default_avatar_1.png
  18. BIN
      app/src/main/assets/images/default_avatar_2.png
  19. BIN
      app/src/main/assets/images/default_avatar_3.png
  20. BIN
      app/src/main/assets/images/default_avatar_4.png
  21. BIN
      app/src/main/assets/images/default_avatar_5.png
  22. BIN
      app/src/main/assets/images/default_hash.jpg
  23. BIN
      app/src/main/assets/images/default_icon.jpg
  24. BIN
      app/src/main/assets/images/default_icon_selected.jpg
  25. BIN
      app/src/main/assets/images/default_mention.jpg
  26. BIN
      app/src/main/assets/images/group_dm_icon_0.png
  27. BIN
      app/src/main/assets/images/group_dm_icon_1.png
  28. BIN
      app/src/main/assets/images/group_dm_icon_2.png
  29. BIN
      app/src/main/assets/images/group_dm_icon_3.png
  30. BIN
      app/src/main/assets/images/group_dm_icon_4.png
  31. BIN
      app/src/main/assets/images/group_dm_icon_5.png
  32. BIN
      app/src/main/assets/images/group_dm_icon_6.png
  33. BIN
      app/src/main/assets/images/group_dm_icon_7.png
  34. BIN
      app/src/main/assets/images/system_user_avatar.png
  35. BIN
      app/src/main/assets/thz/Small_16k.thw
  36. BIN
      app/src/main/assets/thz/Small_8k.thw
  37. BIN
      app/src/main/assets/thz/VAD_weight.thw
  38. 1
      app/src/main/assets/where_did_the_cat_go.txt
  39. 90
      app/src/main/java/c/i/a/c/h1.java
  40. 62
      app/src/main/java/c/i/a/c/h2/a.java
  41. 18
      app/src/main/java/c/i/a/c/h2/b.java
  42. 11
      app/src/main/java/c/i/a/c/h2/c.java
  43. 52
      app/src/main/java/c/i/a/c/h2/d.java
  44. 65
      app/src/main/java/c/i/a/c/h2/e.java
  45. 7
      app/src/main/java/c/i/a/c/h2/f.java
  46. 97
      app/src/main/java/c/i/a/c/h2/g.java
  47. 11
      app/src/main/java/c/i/a/c/h2/h.java
  48. 11
      app/src/main/java/c/i/a/c/h2/i.java
  49. 26
      app/src/main/java/c/i/a/c/h2/j.java
  50. 56
      app/src/main/java/c/i/a/c/h2/k.java
  51. 121
      app/src/main/java/c/i/a/c/h2/l.java
  52. 61
      app/src/main/java/c/i/a/c/h2/m.java
  53. 496
      app/src/main/java/c/i/a/c/h2/n.java
  54. 212
      app/src/main/java/c/i/a/c/h2/o.java
  55. 30
      app/src/main/java/c/i/a/c/h2/p.java
  56. 453
      app/src/main/java/c/i/a/c/h2/q.java
  57. 7
      app/src/main/java/c/i/a/c/h2/r.java
  58. 6
      app/src/main/java/c/i/a/c/h2/s.java
  59. 19
      app/src/main/java/c/i/a/c/h2/t.java
  60. 4
      app/src/main/java/c/i/a/c/h2/u.java
  61. 66
      app/src/main/java/c/i/a/c/h2/v.java
  62. 85
      app/src/main/java/c/i/a/c/h2/w.java
  63. 11
      app/src/main/java/c/i/a/c/h2/x.java
  64. 5
      app/src/main/java/c/i/a/c/h2/y/a.java
  65. 16
      app/src/main/java/c/i/a/c/h2/y/b.java
  66. 391
      app/src/main/java/c/i/a/c/h2/y/c.java
  67. 9
      app/src/main/java/c/i/a/c/h2/y/d.java
  68. 11
      app/src/main/java/c/i/a/c/h2/y/e.java
  69. 119
      app/src/main/java/c/i/a/c/h2/y/f.java
  70. 5
      app/src/main/java/c/i/a/c/h2/y/g.java
  71. 44
      app/src/main/java/c/i/a/c/h2/y/h.java
  72. 78
      app/src/main/java/c/i/a/c/h2/y/i.java
  73. 675
      app/src/main/java/c/i/a/c/h2/y/j.java
  74. 13
      app/src/main/java/c/i/a/c/h2/y/k.java
  75. 4
      app/src/main/java/c/i/a/c/h2/y/l.java
  76. 21
      app/src/main/java/c/i/a/c/h2/y/m.java
  77. 94
      app/src/main/java/c/i/a/c/h2/y/n.java
  78. 49
      app/src/main/java/c/i/a/c/h2/y/o.java
  79. 24
      app/src/main/java/c/i/a/c/h2/y/p.java
  80. 563
      app/src/main/java/c/i/a/c/h2/y/q.java
  81. 141
      app/src/main/java/c/i/a/c/h2/y/r.java
  82. 17
      app/src/main/java/c/i/a/c/i.java
  83. 4
      app/src/main/java/c/i/a/c/i0.java
  84. 50
      app/src/main/java/c/i/a/c/i1.java
  85. 35
      app/src/main/java/c/i/a/c/i2/a.java
  86. 54
      app/src/main/java/c/i/a/c/i2/a0.java
  87. 46
      app/src/main/java/c/i/a/c/i2/b.java
  88. 23
      app/src/main/java/c/i/a/c/i2/b0.java
  89. 14
      app/src/main/java/c/i/a/c/i2/c.java
  90. 29
      app/src/main/java/c/i/a/c/i2/c0.java
  91. 14
      app/src/main/java/c/i/a/c/i2/d.java
  92. 90
      app/src/main/java/c/i/a/c/i2/d0.java
  93. 16
      app/src/main/java/c/i/a/c/i2/e.java
  94. 65
      app/src/main/java/c/i/a/c/i2/e0.java
  95. 107
      app/src/main/java/c/i/a/c/i2/f.java
  96. 538
      app/src/main/java/c/i/a/c/i2/f0.java
  97. 15
      app/src/main/java/c/i/a/c/i2/g.java
  98. 52
      app/src/main/java/c/i/a/c/i2/h.java
  99. 162
      app/src/main/java/c/i/a/c/i2/i.java
  100. 22
      app/src/main/java/c/i/a/c/i2/j.java

4
app/build.gradle

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 85110
versionName "85.10 - Beta"
versionCode 85111
versionName "85.11 - Beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

272
app/src/main/AndroidManifest.xml

@ -1,272 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="85110" android:versionName="85.10 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
<uses-feature android:name="android.hardware.microphone" android:required="false"/>
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
<uses-permission android:name="com.android.vending.BILLING"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<permission android:label="@string/app_permission_connect_label" android:name="com.discord.permission.CONNECT" android:protectionLevel="dangerous" android:description="@string/app_permission_connect_desc"/>
<uses-feature android:name="android.hardware.camera.any" android:required="false"/>
<queries>
<package android:name="com.samsung.android.game.gametools"/>
<package android:name="com.samsung.android.game.gamehome"/>
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService"/>
</intent>
</queries>
<uses-feature android:name="android.hardware.camera.front" android:required="false"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<application android:theme="@style/res_2131951648_apptheme_dark" android:label="@string/discord" android:icon="@mipmap/ic_logo_square_beta" android:name="com.discord.app.App" android:allowBackup="false" android:largeHeap="true" android:supportsRtl="true" android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_logo_round_beta" android:appCategory="social" android:appComponentFactory="androidx.core.app.CoreComponentFactory">
<activity android:theme="@style/res_2131951669_apptheme_translucent" android:name="com.discord.samsung.SamsungConnectActivity"/>
<activity android:theme="@style/res_2131951648_apptheme_dark" android:name="com.discord.app.AppActivity" android:screenOrientation="fullUser" android:windowSoftInputMode="stateHidden|adjustResize"/>
<activity android:theme="@style/res_2131951659_apptheme_loading" android:name="com.discord.app.AppActivity$Main" android:exported="true" android:launchMode="singleTask" android:screenOrientation="fullUser" android:windowSoftInputMode="stateHidden|adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/app"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/app"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/gifts/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/gifts/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/invite/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/invite/.*"/>
<data android:scheme="http" android:host="discord.com" android:pathPattern="/invite/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/template/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/template/.*"/>
<data android:scheme="http" android:host="discord.com" android:pathPattern="/template/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/channels/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/channels/.*"/>
<data android:scheme="http" android:host="discord.com" android:pathPattern="/channels/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/users/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/users/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/feature/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/feature/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/discovery"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/discovery"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/query/.*"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/query/.*"/>
<data android:scheme="http" android:host="discord.com" android:pathPattern="/ra/.*"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/ra/.*"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/app"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/app"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/gifts/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/gifts/.*"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/invite/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/invite/.*"/>
<data android:scheme="http" android:host="discordapp.com" android:pathPattern="/invite/.*"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/template/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/template/.*"/>
<data android:scheme="http" android:host="discordapp.com" android:pathPattern="/template/.*"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/channels/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/channels/.*"/>
<data android:scheme="http" android:host="discordapp.com" android:pathPattern="/channels/.*"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/users/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/users/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/discovery"/>
<data android:scheme="https" android:host="*.discordapp.com" android:pathPattern="/discovery"/>
<data android:scheme="http" android:host="discordapp.com" android:pathPattern="/ra/.*"/>
<data android:scheme="https" android:host="discordapp.com" android:pathPattern="/ra/.*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="discord" android:host="app" android:pathPattern="/.*"/>
<data android:scheme="https" android:host="discord.gift" android:pathPattern="/.*"/>
<data android:scheme="http" android:host="discord.gift" android:pathPattern="/.*"/>
<data android:scheme="https" android:host="discord.gg" android:pathPattern="/.*"/>
<data android:scheme="http" android:host="discord.gg" android:pathPattern="/.*"/>
<data android:scheme="https" android:host="discord.new" android:pathPattern="/.*"/>
<data android:scheme="http" android:host="discord.new" android:pathPattern="/.*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="discord" android:host="action" android:pathPattern="/oauth2/authorize"/>
<data android:scheme="discord" android:host="action" android:pathPattern="/connect/authorize"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https" android:host="discord.com" android:pathPattern="/connect/authorize"/>
<data android:scheme="https" android:host="*.discord.com" android:pathPattern="/connect/authorize"/>
</intent-filter>
<meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
</activity>
<activity android:name="com.discord.app.AppActivity$Call" android:excludeFromRecents="true" android:launchMode="singleTask"/>
<activity android:name="com.discord.app.AppActivity$IncomingCall" android:excludeFromRecents="true" android:launchMode="singleTask" android:showOnLockScreen="true" android:showWhenLocked="true" android:turnScreenOn="true"/>
<activity android:theme="@style/res_2131951659_apptheme_loading" android:label="@string/discord" android:name="com.discord.app.AppActivity$AppAction" android:exported="true" android:launchMode="standard" android:windowSoftInputMode="stateHidden|adjustResize">
<intent-filter>
<action android:name="com.discord.intent.action.SDK"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.OPENABLE"/>
<data android:scheme="discord" android:host="sdk" android:pathPattern="/.*"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<action android:name="android.intent.action.SEND_MULTIPLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.OPENABLE"/>
<data android:mimeType="*/*"/>
</intent-filter>
<meta-data android:name="android.service.chooser.chooser_target_service" android:value="androidx.sharetarget.ChooserTargetServiceCompat"/>
</activity>
<activity android:name="com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity" android:exported="true"/>
<service android:name="com.discord.utilities.fcm.NotificationClient$FCMMessagingService" android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>
<service android:name="com.discord.app.DiscordConnectService" android:permission="com.discord.permission.CONNECT" android:exported="true">
<intent-filter>
<action android:name="com.discord.intent.action.CONNECT"/>
<data android:scheme="discord" android:host="app" android:pathPattern="/connect/.*"/>
</intent-filter>
</service>
<service android:name="com.discord.utilities.voice.DiscordOverlayService" android:exported="false"/>
<meta-data android:name="com.discord.features.FLAG" android:value="1"/>
<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/asset_default_avatar_64dp"/>
<meta-data android:name="com.google.firebase.messaging.default_notification_color" android:resource="@color/brand_new_500"/>
<receiver android:name="com.discord.utilities.fcm.NotificationActions" android:exported="false">
<intent-filter>
<action android:name="com.discord.intent.action.ENQUEUE_WORK"/>
<action android:name="com.discord.intent.action.NOTIFICATION_DELETED"/>
<action android:name="com.discord.intent.action.NOTIFICATION_CANCEL"/>
</intent-filter>
</receiver>
<receiver android:name="com.discord.utilities.io.NetworkUtils$NetworkDownloadReceiver" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
</intent-filter>
</receiver>
<service android:name="com.discord.utilities.voice.VoiceEngineForegroundService" android:foregroundServiceType="mediaProjection"/>
<provider android:name="androidx.core.content.FileProvider" android:exported="false" android:authorities="com.discord.file-provider" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider>
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
<meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
<meta-data android:name="com.google.android.actions" android:resource="@xml/actions"/>
<meta-data android:name="libdiscord_version" android:value="89.0.7-texture-crop-scale"/>
<activity android:theme="@style/res_2131952264_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
<service android:name="androidx.sharetarget.ChooserTargetServiceCompat" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
<intent-filter>
<action android:name="android.service.chooser.ChooserTargetService"/>
</intent-filter>
</service>
<receiver android:name="com.google.android.gms.analytics.AnalyticsReceiver" android:enabled="true" android:exported="false"/>
<service android:name="com.google.android.gms.analytics.AnalyticsService" android:enabled="true" android:exported="false"/>
<service android:name="com.google.android.gms.analytics.AnalyticsJobService" android:permission="android.permission.BIND_JOB_SERVICE" android:enabled="true" android:exported="false"/>
<activity android:theme="@android:style/Theme.Translucent.NoTitleBar" android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity" android:exported="false" android:excludeFromRecents="true"/>
<service android:name="com.google.android.gms.auth.api.signin.RevocationBoundService" android:permission="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" android:exported="true" android:visibleToInstantApps="true"/>
<service android:name="com.google.firebase.components.ComponentDiscoveryService" android:exported="false" android:directBootAware="true">
<meta-data android:name="com.google.firebase.components:com.google.firebase.dynamiclinks.internal.FirebaseDynamicLinkRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.messaging.ktx.FirebaseMessagingKtxRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.messaging.FirebaseMessagingRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.iid.Registrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.crashlytics.ndk.CrashlyticsNdkRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.ktx.FirebaseCommonKtxRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
<meta-data android:name="com.google.firebase.components:com.google.firebase.datatransport.TransportRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
</service>
<service android:name="com.google.firebase.messaging.FirebaseMessagingService" android:exported="false" android:directBootAware="true">
<intent-filter android:priority="-500">
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<receiver android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" android:permission="com.google.android.c2dm.permission.SEND" android:exported="true">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
</intent-filter>
</receiver>
<activity android:theme="@android:style/Theme.Translucent.NoTitleBar" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:exported="false"/>
<receiver android:name="com.google.android.gms.measurement.AppMeasurementReceiver" android:enabled="true" android:exported="false"/>
<service android:name="com.google.android.gms.measurement.AppMeasurementService" android:enabled="true" android:exported="false"/>
<service android:name="com.google.android.gms.measurement.AppMeasurementJobService" android:permission="android.permission.BIND_JOB_SERVICE" android:enabled="true" android:exported="false"/>
<provider android:name="com.google.firebase.provider.FirebaseInitProvider" android:exported="false" android:authorities="com.discord.firebaseinitprovider" android:initOrder="100" android:directBootAware="true"/>
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
<provider android:name="androidx.work.impl.WorkManagerInitializer" android:exported="false" android:multiprocess="true" android:authorities="com.discord.workmanager-init" android:directBootAware="false"/>
<service android:name="androidx.work.impl.background.systemalarm.SystemAlarmService" android:enabled="@bool/enable_system_alarm_service_default" android:exported="false" android:directBootAware="false"/>
<service android:name="androidx.work.impl.background.systemjob.SystemJobService" android:permission="android.permission.BIND_JOB_SERVICE" android:enabled="@bool/enable_system_job_service_default" android:exported="true" android:directBootAware="false"/>
<service android:name="androidx.work.impl.foreground.SystemForegroundService" android:enabled="@bool/enable_system_foreground_service_default" android:exported="false" android:directBootAware="false"/>
<receiver android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver" android:enabled="true" android:exported="false" android:directBootAware="false"/>
<receiver android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy" android:enabled="false" android:exported="false" android:directBootAware="false">
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
</intent-filter>
</receiver>
<receiver android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy" android:enabled="false" android:exported="false" android:directBootAware="false">
<intent-filter>
<action android:name="android.intent.action.BATTERY_OKAY"/>
<action android:name="android.intent.action.BATTERY_LOW"/>
</intent-filter>
</receiver>
<receiver android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy" android:enabled="false" android:exported="false" android:directBootAware="false">
<intent-filter>
<action android:name="android.intent.action.DEVICE_STORAGE_LOW"/>
<action android:name="android.intent.action.DEVICE_STORAGE_OK"/>
</intent-filter>
</receiver>
<receiver android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy" android:enabled="false" android:exported="false" android:directBootAware="false">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
</intent-filter>
</receiver>
<receiver android:name="androidx.work.impl.background.systemalarm.RescheduleReceiver" android:enabled="false" android:exported="false" android:directBootAware="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.intent.action.TIME_SET"/>
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
</intent-filter>
</receiver>
<receiver android:name="androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver" android:enabled="@bool/enable_system_alarm_service_default" android:exported="false" android:directBootAware="false">
<intent-filter>
<action android:name="androidx.work.impl.background.systemalarm.UpdateProxies"/>
</intent-filter>
</receiver>
<receiver android:name="androidx.work.impl.diagnostics.DiagnosticsReceiver" android:permission="android.permission.DUMP" android:enabled="true" android:exported="true" android:directBootAware="false">
<intent-filter>
<action android:name="androidx.work.diagnostics.REQUEST_DIAGNOSTICS"/>
</intent-filter>
</receiver>
<service android:name="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery" android:exported="false">
<meta-data android:name="backend:com.google.android.datatransport.cct.CctBackendFactory" android:value="cct"/>
</service>
<service android:name="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" android:permission="android.permission.BIND_JOB_SERVICE" android:exported="false"/>
<receiver android:name="com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver" android:exported="false"/>
<service android:name="androidx.room.MultiInstanceInvalidationService" android:exported="false" android:directBootAware="true"/>
<meta-data android:name="com.google.android.play.billingclient.version" android:value="3.0.3"/>
<activity android:theme="@android:style/Theme.Translucent.NoTitleBar" android:name="com.android.billingclient.api.ProxyBillingActivity" android:exported="false" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
<meta-data android:name="com.android.vending.derived.apk.id" android:value="1"/>
</application>
</manifest>

1
app/src/main/assets/animations/anim_boost_activated.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/animations/anim_nitro_boost_confirmation_dark.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/animations/anim_nitro_boost_confirmation_light.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/animations/anim_search_indexing_dark.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/animations/anim_search_indexing_light.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/animations/anim_verify_by_email.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/animations/anim_verify_by_phone.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/data/canadian-provinces.json

@ -1 +0,0 @@
[{"label":"Alberta","value":"AB"},{"label":"British Columbia","value":"BC"},{"label":"Manitoba","value":"MB"},{"label":"New Brunswick","value":"NB"},{"label":"Newfoundland and Labrador","value":"NL"},{"label":"Nova Scotia","value":"NS"},{"label":"Ontario","value":"ON"},{"label":"Prince Edward Island","value":"PE"},{"label":"Quebec","value":"QC"},{"label":"Saskatchewan","value":"SK"},{"label":"Northwest Territories","value":"NT"},{"label":"Nunavut","value":"NU"},{"label":"Yukon","value":"YT"}]

1
app/src/main/assets/data/country-codes.json
File diff suppressed because it is too large
View File

255
app/src/main/assets/data/emoji-shortcuts.json

@ -1,255 +0,0 @@
[
{
"emoji": "angry",
"shortcuts": [
">:(",
">:-(",
">=(",
">=-("
]
},
{
"emoji": "blush",
"shortcuts": [
":\")",
":-\")",
"=\")",
"=-\")"
]
},
{
"emoji": "broken_heart",
"shortcuts": [
"</3",
"<\\3"
]
},
{
"emoji": "confused",
"shortcuts": [
":-\\",
":-/",
"=-\\",
"=-/"
]
},
{
"emoji": "cry",
"shortcuts": [
":'(",
":'-(",
":,(",
":,-(",
"='(",
"='-(",
"=,(",
"=,-("
]
},
{
"emoji": "frowning",
"shortcuts": [
":(",
":-(",
"=(",
"=-("
]
},
{
"emoji": "heart",
"shortcuts": [
"<3",
"♡"
]
},
{
"emoji": "imp",
"shortcuts": [
"]:(",
"]:-(",
"]=(",
"]=-("
]
},
{
"emoji": "innocent",
"shortcuts": [
"o:)",
"O:)",
"o:-)",
"O:-)",
"0:)",
"0:-)",
"o=)",
"O=)",
"o=-)",
"O=-)",
"0=)",
"0=-)"
]
},
{
"emoji": "joy",
"shortcuts": [
":')",
":'-)",
":,)",
":,-)",
":'D",
":'-D",
":,D",
":,-D",
"=')",
"='-)",
"=,)",
"=,-)",
"='D",
"='-D",
"=,D",
"=,-D"
]
},
{
"emoji": "kissing",
"shortcuts": [
":*",
":-*",
"=*",
"=-*"
]
},
{
"emoji": "laughing",
"shortcuts": [
"x-)",
"X-)"
]
},
{
"emoji": "neutral_face",
"shortcuts": [
":|",
":-|",
"=|",
"=-|"
]
},
{
"emoji": "open_mouth",
"shortcuts": [
":o",
":-o",
":O",
":-O",
"=o",
"=-o",
"=O",
"=-O"
]
},
{
"emoji": "rage",
"shortcuts": [
":@",
":-@",
"=@",
"=-@"
]
},
{
"emoji": "smile",
"shortcuts": [
":D",
":-D",
"=D",
"=-D"
]
},
{
"emoji": "slight_smile",
"shortcuts": [
":)",
":-)",
"=)",
"=-)"
]
},
{
"emoji": "smiling_imp",
"shortcuts": [
"]:)",
"]:-)",
"]=)",
"]=-)"
]
},
{
"emoji": "sob",
"shortcuts": [
":,'(",
":,'-(",
";(",
";-(",
"=,'(",
"=,'-("
]
},
{
"emoji": "stuck_out_tongue",
"shortcuts": [
":P",
":-P",
"=P",
"=-P"
]
},
{
"emoji": "sunglasses",
"shortcuts": [
"8-)",
"B-)"
]
},
{
"emoji": "sweat",
"shortcuts": [
",:(",
",:-(",
",=(",
",=-("
]
},
{
"emoji": "sweat_smile",
"shortcuts": [
",:)",
",:-)",
",=)",
",=-)"
]
},
{
"emoji": "unamused",
"shortcuts": [
":s",
":-S",
":z",
":-Z",
":$",
":-$",
"=s",
"=-S",
"=z",
"=-Z",
"=$",
"=-$"
]
},
{
"emoji": "wink",
"shortcuts": [
";)",
";-)"
]
}
]

34453
app/src/main/assets/data/emojis.json
File diff suppressed because it is too large
View File

1
app/src/main/assets/data/states.json

@ -1 +0,0 @@
[{"label":"Alabama","value":"AL"},{"label":"Alaska","value":"AK"},{"label":"American Samoa","value":"AS"},{"label":"Arizona","value":"AZ"},{"label":"Arkansas","value":"AR"},{"label":"Armed Forces: Americas","value":"AA"},{"label":"Armed Forces: Europe","value":"AE"},{"label":"Armed Forces: Pacific","value":"AP"},{"label":"California","value":"CA"},{"label":"Colorado","value":"CO"},{"label":"Connecticut","value":"CT"},{"label":"Delaware","value":"DE"},{"label":"District Of Columbia","value":"DC"},{"label":"Federated States Of Micronesia","value":"FM"},{"label":"Florida","value":"FL"},{"label":"Georgia","value":"GA"},{"label":"Guam","value":"GU"},{"label":"Hawaii","value":"HI"},{"label":"Idaho","value":"ID"},{"label":"Illinois","value":"IL"},{"label":"Indiana","value":"IN"},{"label":"Iowa","value":"IA"},{"label":"Kansas","value":"KS"},{"label":"Kentucky","value":"KY"},{"label":"Louisiana","value":"LA"},{"label":"Maine","value":"ME"},{"label":"Marshall Islands","value":"MH"},{"label":"Maryland","value":"MD"},{"label":"Massachusetts","value":"MA"},{"label":"Michigan","value":"MI"},{"label":"Minnesota","value":"MN"},{"label":"Mississippi","value":"MS"},{"label":"Missouri","value":"MO"},{"label":"Montana","value":"MT"},{"label":"Nebraska","value":"NE"},{"label":"Nevada","value":"NV"},{"label":"New Hampshire","value":"NH"},{"label":"New Jersey","value":"NJ"},{"label":"New Mexico","value":"NM"},{"label":"New York","value":"NY"},{"label":"North Carolina","value":"NC"},{"label":"North Dakota","value":"ND"},{"label":"Northern Mariana Islands","value":"MP"},{"label":"Ohio","value":"OH"},{"label":"Oklahoma","value":"OK"},{"label":"Oregon","value":"OR"},{"label":"Palau","value":"PW"},{"label":"Pennsylvania","value":"PA"},{"label":"Puerto Rico","value":"PR"},{"label":"Rhode Island","value":"RI"},{"label":"South Carolina","value":"SC"},{"label":"South Dakota","value":"SD"},{"label":"Tennessee","value":"TN"},{"label":"Texas","value":"TX"},{"label":"Utah","value":"UT"},{"label":"Vermont","value":"VT"},{"label":"Virgin Islands","value":"VI"},{"label":"Virginia","value":"VA"},{"label":"Washington","value":"WA"},{"label":"West Virginia","value":"WV"},{"label":"Wisconsin","value":"WI"},{"label":"Wyoming","value":"WY"}]

162
app/src/main/assets/hcaptcha-form.html

@ -1,162 +0,0 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
<style>
* {
padding: 0;
margin: 0;
}
body {
display: table;
width: 100%;
height: 100%;
text-align: center;
}
#hcaptcha-container {
margin-top: 5px;
display: table-cell;
vertical-align: middle;
}
/* overwrite hCaptcha iframe overlay which adds a #FFF background with opacity 0.05 */
div > div:nth-child(2) {
opacity: 0 !important;
}
</style>
</head>
<body>
<div id="hcaptcha-container"></div>
<script type="text/javascript">
// Android will inject this bridge object as `JSInterface`
// Browser is missing it so we mock it
var BridgeObject = window.JSInterface || {
getConfig: function getConfig() {
return JSON.stringify({
siteKey: '10000000-ffff-ffff-ffff-000000000001',
locale: 'ro',
size: 'compact',
theme: 'dark',
sentry: true,
rqdata: null,
apiEndpoint: 'https://hcaptcha.com/1/api.js',
endpoint: null,
assethost: null,
imghost: null,
reportapi: null
});
},
onPass: function onPass(token) {
return console.log("pass: token ".concat(token));
},
onError: function onError(errCode) {
return console.log("error: code ".concat(errCode));
},
onLoaded: function onLoaded() {
return console.log('cb: challenge or checkbox is visible');
}
};
var bridgeConfig = JSON.parse(BridgeObject.getConfig());
function getRenderConfig() {
return {
sitekey: bridgeConfig.siteKey,
size: bridgeConfig.size,
theme: bridgeConfig.theme,
'callback': function callback(token) {
return BridgeObject.onPass(token);
},
'expired-callback': function expiredCallback() {
return BridgeObject.onError(15);
},
'chalexpired-callback': function chalexpiredCallback() {
return BridgeObject.onError(15);
},
'close-callback': function closeCallback() {
return BridgeObject.onError(30);
},
'error-callback': function errorCallback() {
return BridgeObject.onError(31);
},
'open-callback': function openCallback() {
return BridgeObject.onLoaded();
}
};
}
function onHcaptchaLoaded() {
try {
var renderConfig = getRenderConfig();
var rqdata = bridgeConfig.rqdata;
var hCaptchaID = hcaptcha.render('hcaptcha-container', renderConfig);
if (rqdata) {
hcaptcha.setData(hCaptchaID, {
rqdata: rqdata
});
}
if (renderConfig.size === 'invisible') {
hcaptcha.execute(hCaptchaID);
} else {
BridgeObject.onLoaded();
}
} catch (e) {
console.error(e);
BridgeObject.onError(29);
}
}
function addQueryParamIfDefined(url, queryName, queryValue) {
if (queryValue !== undefined && queryValue !== null) {
var link = url.indexOf('?') !== -1 ? '&' : '?';
return url + link + queryName + '=' + encodeURIComponent(queryValue);
}
return url;
}
function loadApi() {
var siteKey = bridgeConfig.siteKey;
var locale = bridgeConfig.locale;
var sentry = bridgeConfig.sentry;
var apiEndpoint = bridgeConfig.apiEndpoint;
var endpoint = bridgeConfig.endpoint;
var assethost = bridgeConfig.assethost;
var imghost = bridgeConfig.imghost;
var reportapi = bridgeConfig.reportapi;
var host = siteKey + '.android-sdk.hcaptcha.com';
var scriptSrc = apiEndpoint + '?render=explicit&onload=' + onHcaptchaLoaded.name;
scriptSrc = addQueryParamIfDefined(scriptSrc, 'recaptchacompat', 'off');
scriptSrc = addQueryParamIfDefined(scriptSrc, 'hl', locale);
scriptSrc = addQueryParamIfDefined(scriptSrc, 'host', host);
scriptSrc = addQueryParamIfDefined(scriptSrc, 'sentry', sentry);
scriptSrc = addQueryParamIfDefined(scriptSrc, 'endpoint', endpoint);
scriptSrc = addQueryParamIfDefined(scriptSrc, 'assethost', assethost);
scriptSrc = addQueryParamIfDefined(scriptSrc, 'imghost', imghost);
scriptSrc = addQueryParamIfDefined(scriptSrc, 'reportapi', reportapi);
var script = document.createElement('script');
script.async = true;
script.src = scriptSrc;
script.onerror = function () {
// network issue
BridgeObject.onError(7);
};
document.head.appendChild(script);
}
document.body.onclick = function () {
if (window.hcaptcha) {
window.hcaptcha.close();
} else {
BridgeObject.onError(30);
}
};
loadApi();
</script>
</body>
</html>

BIN
app/src/main/assets/images/default_avatar_0.png

Before

Width: 256  |  Height: 256  |  Size: 3.6 KiB

BIN
app/src/main/assets/images/default_avatar_1.png

Before

Width: 256  |  Height: 256  |  Size: 3.8 KiB

BIN
app/src/main/assets/images/default_avatar_2.png

Before

Width: 256  |  Height: 256  |  Size: 3.8 KiB

BIN
app/src/main/assets/images/default_avatar_3.png

Before

Width: 256  |  Height: 256  |  Size: 3.6 KiB

BIN
app/src/main/assets/images/default_avatar_4.png

Before

Width: 256  |  Height: 256  |  Size: 3.6 KiB

BIN
app/src/main/assets/images/default_avatar_5.png

Before

Width: 256  |  Height: 256  |  Size: 3.5 KiB

BIN
app/src/main/assets/images/default_hash.jpg

Before

Width: 256  |  Height: 256  |  Size: 4.6 KiB

BIN
app/src/main/assets/images/default_icon.jpg

Before

Width: 256  |  Height: 256  |  Size: 12 KiB

BIN
app/src/main/assets/images/default_icon_selected.jpg

Before

Width: 256  |  Height: 256  |  Size: 2.4 KiB

BIN
app/src/main/assets/images/default_mention.jpg

Before

Width: 256  |  Height: 256  |  Size: 31 KiB

BIN
app/src/main/assets/images/group_dm_icon_0.png

Before

Width: 96  |  Height: 96  |  Size: 2.3 KiB

BIN
app/src/main/assets/images/group_dm_icon_1.png

Before

Width: 96  |  Height: 96  |  Size: 2.3 KiB

BIN
app/src/main/assets/images/group_dm_icon_2.png

Before

Width: 96  |  Height: 96  |  Size: 2.6 KiB

BIN
app/src/main/assets/images/group_dm_icon_3.png

Before

Width: 96  |  Height: 96  |  Size: 2.4 KiB

BIN
app/src/main/assets/images/group_dm_icon_4.png

Before

Width: 96  |  Height: 96  |  Size: 2.3 KiB

BIN
app/src/main/assets/images/group_dm_icon_5.png

Before

Width: 96  |  Height: 96  |  Size: 2.4 KiB

BIN
app/src/main/assets/images/group_dm_icon_6.png

Before

Width: 96  |  Height: 96  |  Size: 2.3 KiB

BIN
app/src/main/assets/images/group_dm_icon_7.png

Before

Width: 96  |  Height: 96  |  Size: 2.3 KiB

BIN
app/src/main/assets/images/system_user_avatar.png

Before

Width: 240  |  Height: 240  |  Size: 3.7 KiB

BIN
app/src/main/assets/thz/Small_16k.thw

BIN
app/src/main/assets/thz/Small_8k.thw

BIN
app/src/main/assets/thz/VAD_weight.thw

1
app/src/main/assets/where_did_the_cat_go.txt

@ -1 +0,0 @@
https://www.reddit.com/r/discordapp/comments/dlkvza/theres_a_cute_catdog_image_hidden_inside_the/

90
app/src/main/java/c/i/a/c/h1.java

@ -1,90 +0,0 @@
package c.i.a.c;
import android.os.Looper;
import android.util.Log;
import androidx.annotation.Nullable;
import c.i.a.c.i2.g;
import com.airbnb.lottie.parser.AnimatableValueParser;
import com.google.android.exoplayer2.ExoPlaybackException;
import java.util.concurrent.TimeoutException;
/* compiled from: PlayerMessage */
public final class h1 {
public final b a;
public final a b;
/* renamed from: c reason: collision with root package name */
public final g f879c;
public final r1 d;
public int e;
@Nullable
public Object f;
public Looper g;
public int h;
public boolean i;
public boolean j;
public boolean k;
/* compiled from: PlayerMessage */
public interface a {
}
/* compiled from: PlayerMessage */
public interface b {
void r(int i, @Nullable Object obj) throws ExoPlaybackException;
}
public h1(a aVar, b bVar, r1 r1Var, int i, g gVar, Looper looper) {
this.b = aVar;
this.a = bVar;
this.d = r1Var;
this.g = looper;
this.f879c = gVar;
this.h = i;
}
public synchronized boolean a(long j) throws InterruptedException, TimeoutException {
boolean z2;
AnimatableValueParser.D(this.i);
AnimatableValueParser.D(this.g.getThread() != Thread.currentThread());
long c2 = this.f879c.c() + j;
while (true) {
z2 = this.k;
if (z2 || j <= 0) {
break;
}
wait(j);
j = c2 - this.f879c.c();
}
if (!z2) {
throw new TimeoutException("Message delivery timed out.");
}
return this.j;
}
public synchronized boolean b() {
return false;
}
public synchronized void c(boolean z2) {
this.j = z2 | this.j;
this.k = true;
notifyAll();
}
public h1 d() {
AnimatableValueParser.D(!this.i);
AnimatableValueParser.k(true);
this.i = true;
q0 q0Var = (q0) this.b;
synchronized (q0Var) {
if (!q0Var.G) {
if (q0Var.p.isAlive()) {
q0Var.o.c(14, this).sendToTarget();
}
}
Log.w("ExoPlayerImplInternal", "Ignoring messages sent after release.");
c(false);
}
return this;
}
}

62
app/src/main/java/c/i/a/c/h2/a.java

@ -1,62 +0,0 @@
package c.i.a.c.h2;
import c.i.a.c.d2.y;
import c.i.a.c.h2.d;
import c.i.a.c.i2.o;
import c.i.a.c.u1.c1;
import c.i.a.c.u1.d1;
import c.i.a.c.u1.k;
import c.i.b.b.u;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
/* compiled from: lambda */
public final /* synthetic */ class a implements Runnable {
public final /* synthetic */ d.a.C0092a.C0093a i;
public final /* synthetic */ int j;
public final /* synthetic */ long k;
public final /* synthetic */ long l;
public /* synthetic */ a(d.a.C0092a.C0093a aVar, int i, long j, long j2) {
this.i = aVar;
this.j = i;
this.k = j;
this.l = j2;
}
@Override // java.lang.Runnable
public final void run() {
y.a aVar;
y.a aVar2;
y.a next;
d.a.C0092a.C0093a aVar3 = this.i;
int i = this.j;
long j = this.k;
long j2 = this.l;
c1 c1Var = (c1) aVar3.b;
c1.a aVar4 = c1Var.l;
if (aVar4.b.isEmpty()) {
aVar = null;
} else {
u<y.a> uVar = aVar4.b;
if (!(uVar instanceof List)) {
Iterator<y.a> it = uVar.iterator();
do {
next = it.next();
} while (it.hasNext());
aVar2 = next;
} else if (!uVar.isEmpty()) {
aVar2 = uVar.get(uVar.size() - 1);
} else {
throw new NoSuchElementException();
}
aVar = aVar2;
}
d1.a a02 = c1Var.a0(aVar);
k kVar = new k(a02, i, j, j2);
c1Var.m.put(1006, a02);
o<d1, d1.b> oVar = c1Var.n;
oVar.b(1006, kVar);
oVar.a();
}
}

18
app/src/main/java/c/i/a/c/h2/b.java

@ -1,18 +0,0 @@
package c.i.a.c.h2;
import c.i.a.c.h2.n;
/* compiled from: lambda */
public final /* synthetic */ class b implements Runnable {
public final /* synthetic */ n.a i;
public final /* synthetic */ n j;
public /* synthetic */ b(n.a aVar, n nVar) {
this.i = aVar;
this.j = nVar;
}
@Override // java.lang.Runnable
public final void run() {
this.i.b(this.j);
}
}

11
app/src/main/java/c/i/a/c/h2/c.java

@ -1,11 +0,0 @@
package c.i.a.c.h2;
/* compiled from: Allocation */
public final class c {
public final byte[] a;
public final int b;
public c(byte[] bArr, int i) {
this.a = bArr;
this.b = i;
}
}

52
app/src/main/java/c/i/a/c/h2/d.java

@ -1,52 +0,0 @@
package c.i.a.c.h2;
import android.os.Handler;
import androidx.annotation.Nullable;
import java.util.Iterator;
import java.util.concurrent.CopyOnWriteArrayList;
/* compiled from: BandwidthMeter */
public interface d {
/* compiled from: BandwidthMeter */
public interface a {
/* compiled from: BandwidthMeter */
/* renamed from: c.i.a.c.h2.d$a$a reason: collision with other inner class name */
public static final class C0092a {
public final CopyOnWriteArrayList<C0093a> a = new CopyOnWriteArrayList<>();
/* compiled from: BandwidthMeter */
/* renamed from: c.i.a.c.h2.d$a$a$a reason: collision with other inner class name */
public static final class C0093a {
public final Handler a;
public final a b;
/* renamed from: c reason: collision with root package name */
public boolean f880c;
public C0093a(Handler handler, a aVar) {
this.a = handler;
this.b = aVar;
}
}
public void a(a aVar) {
Iterator<C0093a> it = this.a.iterator();
while (it.hasNext()) {
C0093a next = it.next();
if (next.b == aVar) {
next.f880c = true;
this.a.remove(next);
}
}
}
}
}
@Nullable
x c();
void d(a aVar);
void f(Handler handler, a aVar);
}

65
app/src/main/java/c/i/a/c/h2/e.java

@ -1,65 +0,0 @@
package c.i.a.c.h2;
import androidx.annotation.Nullable;
import c.i.a.c.i2.f0;
import java.util.ArrayList;
import java.util.Map;
import java.util.Objects;
/* compiled from: BaseDataSource */
public abstract class e implements j {
public final boolean a;
public final ArrayList<x> b = new ArrayList<>(1);
/* renamed from: c reason: collision with root package name */
public int f881c;
@Nullable
public l d;
public e(boolean z2) {
this.a = z2;
}
@Override // c.i.a.c.h2.j
public final void d(x xVar) {
Objects.requireNonNull(xVar);
if (!this.b.contains(xVar)) {
this.b.add(xVar);
this.f881c++;
}
}
@Override // c.i.a.c.h2.j
public /* synthetic */ Map j() {
return i.a(this);
}
public final void o(int i) {
l lVar = this.d;
int i2 = f0.a;
for (int i3 = 0; i3 < this.f881c; i3++) {
this.b.get(i3).e(this, lVar, this.a, i);
}
}
public final void p() {
l lVar = this.d;
int i = f0.a;
for (int i2 = 0; i2 < this.f881c; i2++) {
this.b.get(i2).a(this, lVar, this.a);
}
this.d = null;
}
public final void q(l lVar) {
for (int i = 0; i < this.f881c; i++) {
this.b.get(i).g(this, lVar, this.a);
}
}
public final void r(l lVar) {
this.d = lVar;
for (int i = 0; i < this.f881c; i++) {
this.b.get(i).b(this, lVar, this.a);
}
}
}

7
app/src/main/java/c/i/a/c/h2/f.java

@ -1,7 +0,0 @@
package c.i.a.c.h2;
import java.io.IOException;
/* compiled from: DataReader */
public interface f {
int read(byte[] bArr, int i, int i2) throws IOException;
}

97
app/src/main/java/c/i/a/c/h2/g.java

@ -1,97 +0,0 @@
package c.i.a.c.h2;
import android.net.Uri;
import android.util.Base64;
import androidx.annotation.Nullable;
import c.d.b.a.a;
import c.i.a.c.i2.f0;
import c.i.b.a.c;
import com.google.android.exoplayer2.ParserException;
import com.google.android.exoplayer2.upstream.DataSourceException;
import java.io.IOException;
import java.net.URLDecoder;
/* compiled from: DataSchemeDataSource */
public final class g extends e {
@Nullable
public l e;
@Nullable
public byte[] f;
public int g;
public int h;
public g() {
super(false);
}
@Override // c.i.a.c.h2.j
public long a(l lVar) throws IOException {
q(lVar);
this.e = lVar;
this.h = (int) lVar.f;
Uri uri = lVar.a;
String scheme = uri.getScheme();
if ("data".equals(scheme)) {
String[] G = f0.G(uri.getSchemeSpecificPart(), ",");
if (G.length == 2) {
String str = G[1];
if (G[0].contains(";base64")) {
try {
this.f = Base64.decode(str, 0);
} catch (IllegalArgumentException e) {
throw new ParserException(a.s("Error while parsing Base64 encoded string: ", str), e);
}
} else {
this.f = f0.w(URLDecoder.decode(str, c.a.name()));
}
long j = lVar.g;
int length = j != -1 ? ((int) j) + this.h : this.f.length;
this.g = length;
if (length > this.f.length || this.h > length) {
this.f = null;
throw new DataSourceException(0);
}
r(lVar);
return ((long) this.g) - ((long) this.h);
}
throw new ParserException("Unexpected URI format: " + uri);
}
throw new ParserException(a.s("Unsupported scheme: ", scheme));
}
@Override // c.i.a.c.h2.j
public void close() {
if (this.f != null) {
this.f = null;
p();
}
this.e = null;
}
@Override // c.i.a.c.h2.j
@Nullable
public Uri m() {
l lVar = this.e;
if (lVar != null) {
return lVar.a;
}
return null;
}
@Override // c.i.a.c.h2.f
public int read(byte[] bArr, int i, int i2) {
if (i2 == 0) {
return 0;
}
int i3 = this.g - this.h;
if (i3 == 0) {
return -1;
}
int min = Math.min(i2, i3);
byte[] bArr2 = this.f;
int i4 = f0.a;
System.arraycopy(bArr2, this.h, bArr, i, min);
this.h += min;
o(min);
return min;
}
}

11
app/src/main/java/c/i/a/c/h2/h.java

@ -1,11 +0,0 @@
package c.i.a.c.h2;
import java.io.IOException;
/* compiled from: DataSink */
public interface h {
void a(l lVar) throws IOException;
void close() throws IOException;
void write(byte[] bArr, int i, int i2) throws IOException;
}

11
app/src/main/java/c/i/a/c/h2/i.java

@ -1,11 +0,0 @@
package c.i.a.c.h2;
import java.util.Collections;
import java.util.Map;
/* compiled from: DataSource */
public final /* synthetic */ class i {
/* JADX WARN: Incorrect args count in method signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>; */
public static Map a(j jVar) {
return Collections.emptyMap();
}
}

26
app/src/main/java/c/i/a/c/h2/j.java

@ -1,26 +0,0 @@
package c.i.a.c.h2;
import android.net.Uri;
import androidx.annotation.Nullable;
import java.io.IOException;
import java.util.List;
import java.util.Map;
/* compiled from: DataSource */
public interface j extends f {
/* compiled from: DataSource */
public interface a {
j a();
}
long a(l lVar) throws IOException;
void close() throws IOException;
void d(x xVar);
Map<String, List<String>> j();
@Nullable
Uri m();
}

56
app/src/main/java/c/i/a/c/h2/k.java

@ -1,56 +0,0 @@
package c.i.a.c.h2;
import com.airbnb.lottie.parser.AnimatableValueParser;
import java.io.IOException;
import java.io.InputStream;
/* compiled from: DataSourceInputStream */
public final class k extends InputStream {
public final j i;
public final l j;
public final byte[] k;
public boolean l = false;
public boolean m = false;
public long n;
public k(j jVar, l lVar) {
this.i = jVar;
this.j = lVar;
this.k = new byte[1];
}
@Override // java.io.InputStream, java.io.Closeable, java.lang.AutoCloseable
public void close() throws IOException {
if (!this.m) {
this.i.close();
this.m = true;
}
}
@Override // java.io.InputStream
public int read() throws IOException {
if (read(this.k) == -1) {
return -1;
}
return this.k[0] & 255;
}
@Override // java.io.InputStream
public int read(byte[] bArr) throws IOException {
return read(bArr, 0, bArr.length);
}
@Override // java.io.InputStream
public int read(byte[] bArr, int i, int i2) throws IOException {
AnimatableValueParser.D(!this.m);
if (!this.l) {
this.i.a(this.j);
this.l = true;
}
int read = this.i.read(bArr, i, i2);
if (read == -1) {
return -1;
}
this.n += (long) read;
return read;
}
}

121
app/src/main/java/c/i/a/c/h2/l.java

@ -1,121 +0,0 @@
package c.i.a.c.h2;
import android.net.Uri;
import androidx.annotation.Nullable;
import com.airbnb.lottie.parser.AnimatableValueParser;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/* compiled from: DataSpec */
public final class l {
public final Uri a;
public final long b;
/* renamed from: c reason: collision with root package name */
public final int f882c;
@Nullable
public final byte[] d;
public final Map<String, String> e;
public final long f;
public final long g;
@Nullable
public final String h;
public final int i;
@Nullable
public final Object j;
/* compiled from: DataSpec */
public static final class b {
@Nullable
public Uri a;
public long b;
/* renamed from: c reason: collision with root package name */
public int f883c;
@Nullable
public byte[] d;
public Map<String, String> e;
public long f;
public long g;
@Nullable
public String h;
public int i;
@Nullable
public Object j;
public b(l lVar, a aVar) {
this.a = lVar.a;
this.b = lVar.b;
this.f883c = lVar.f882c;
this.d = lVar.d;
this.e = lVar.e;
this.f = lVar.f;
this.g = lVar.g;
this.h = lVar.h;
this.i = lVar.i;
this.j = lVar.j;
}
public l a() {
AnimatableValueParser.I(this.a, "The uri must be set.");
return new l(this.a, this.b, this.f883c, this.d, this.e, this.f, this.g, this.h, this.i, this.j);
}
}
public l(Uri uri, long j, int i, @Nullable byte[] bArr, Map<String, String> map, long j2, long j3, @Nullable String str, int i2, @Nullable Object obj) {
byte[] bArr2 = bArr;
boolean z2 = true;
AnimatableValueParser.k(j + j2 >= 0);
AnimatableValueParser.k(j2 >= 0);
if (j3 <= 0 && j3 != -1) {
z2 = false;
}
AnimatableValueParser.k(z2);
this.a = uri;
this.b = j;
this.f882c = i;
this.d = (bArr2 == null || bArr2.length == 0) ? null : bArr2;
this.e = Collections.unmodifiableMap(new HashMap(map));
this.f = j2;
this.g = j3;
this.h = str;
this.i = i2;
this.j = obj;
}
public static String b(int i) {
if (i == 1) {
return "GET";
}
if (i == 2) {
return "POST";
}
if (i == 3) {
return "HEAD";
}
throw new IllegalStateException();
}
public b a() {
return new b(this, null);
}
public boolean c(int i) {
return (this.i & i) == i;
}
public String toString() {
StringBuilder K = c.d.b.a.a.K("DataSpec[");
K.append(b(this.f882c));
K.append(" ");
K.append(this.a);
K.append(", ");
K.append(this.f);
K.append(", ");
K.append(this.g);
K.append(", ");
K.append(this.h);
K.append(", ");
return c.d.b.a.a.w(K, this.i, "]");
}
}

61
app/src/main/java/c/i/a/c/h2/m.java

@ -1,61 +0,0 @@
package c.i.a.c.h2;
import c.i.a.c.i2.f0;
import com.airbnb.lottie.parser.AnimatableValueParser;
import java.util.Arrays;
/* compiled from: DefaultAllocator */
public final class m {
public final boolean a;
public final int b;
/* renamed from: c reason: collision with root package name */
public final c[] f884c;
public int d;
public int e;
public int f;
public c[] g;
public m(boolean z2, int i) {
AnimatableValueParser.k(i > 0);