@badzz88/baileys 8.5.7 → 8.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/README.md +337 -1055
  2. package/WAProto/WAProto.proto +284 -264
  3. package/WAProto/index.js +5 -5
  4. package/engine-requirements.js +7 -15
  5. package/lib/Defaults/index.js +130 -187
  6. package/lib/Signal/Group/ciphertext-message.js +11 -14
  7. package/lib/Signal/Group/group-session-builder.js +29 -91
  8. package/lib/Signal/Group/group_cipher.js +81 -88
  9. package/lib/Signal/Group/index.js +12 -136
  10. package/lib/Signal/Group/keyhelper.js +15 -70
  11. package/lib/Signal/Group/sender-chain-key.js +25 -31
  12. package/lib/Signal/Group/sender-key-distribution-message.js +62 -65
  13. package/lib/Signal/Group/sender-key-message.js +65 -68
  14. package/lib/Signal/Group/sender-key-name.js +41 -43
  15. package/lib/Signal/Group/sender-key-record.js +40 -43
  16. package/lib/Signal/Group/sender-key-state.js +83 -96
  17. package/lib/Signal/Group/sender-message-key.js +25 -29
  18. package/lib/Signal/libsignal.js +425 -453
  19. package/lib/Signal/lid-mapping.js +276 -259
  20. package/lib/Socket/Client/index.js +3 -30
  21. package/lib/Socket/Client/types.js +10 -12
  22. package/lib/Socket/Client/websocket.js +53 -61
  23. package/lib/Socket/business.js +379 -422
  24. package/lib/Socket/chats.js +1193 -1816
  25. package/lib/Socket/communities.js +431 -549
  26. package/lib/Socket/graphql.js +672 -612
  27. package/lib/Socket/groups.js +374 -764
  28. package/lib/Socket/index.js +17 -38
  29. package/lib/Socket/interop.js +417 -503
  30. package/lib/Socket/messages-recv.js +1915 -2441
  31. package/lib/Socket/messages-send.js +1213 -1630
  32. package/lib/Socket/mex.js +9 -15
  33. package/lib/Socket/newsletter.js +746 -808
  34. package/lib/Socket/privacy.js +310 -441
  35. package/lib/Socket/socket.js +1025 -1022
  36. package/lib/Socket/username.js +8 -15
  37. package/lib/Store/index.js +10 -36
  38. package/lib/Store/make-cache-manager-store.js +80 -85
  39. package/lib/Store/make-in-memory-store.js +231 -591
  40. package/lib/Store/make-ordered-dictionary.js +72 -78
  41. package/lib/Store/object-repository.js +28 -25
  42. package/lib/Types/Auth.js +2 -38
  43. package/lib/Types/Bussines.js +2 -2
  44. package/lib/Types/Call.js +2 -2
  45. package/lib/Types/Chat.js +8 -4
  46. package/lib/Types/Contact.js +2 -2
  47. package/lib/Types/Events.js +2 -2
  48. package/lib/Types/GroupMetadata.js +2 -2
  49. package/lib/Types/Label.js +24 -26
  50. package/lib/Types/LabelAssociation.js +6 -8
  51. package/lib/Types/Message.js +11 -95
  52. package/lib/Types/Mex.js +111 -112
  53. package/lib/Types/Product.js +2 -2
  54. package/lib/Types/Signal.js +2 -2
  55. package/lib/Types/Socket.js +3 -2
  56. package/lib/Types/State.js +56 -70
  57. package/lib/Types/USync.js +2 -2
  58. package/lib/Types/index.js +26 -55
  59. package/lib/Utils/auth-utils.js +288 -292
  60. package/lib/Utils/browser-utils.js +47 -113
  61. package/lib/Utils/business.js +224 -240
  62. package/lib/Utils/chat-utils.js +869 -1205
  63. package/lib/Utils/companion-reg-client-utils.js +34 -41
  64. package/lib/Utils/crypto.js +107 -144
  65. package/lib/Utils/decode-wa-message.js +308 -518
  66. package/lib/Utils/event-buffer.js +611 -596
  67. package/lib/Utils/generics.js +355 -515
  68. package/lib/Utils/history.js +134 -244
  69. package/lib/Utils/identity-change-handler.js +49 -51
  70. package/lib/Utils/index.js +23 -57
  71. package/lib/Utils/link-preview.js +77 -135
  72. package/lib/Utils/logger.js +3 -9
  73. package/lib/Utils/lt-hash.js +6 -37
  74. package/lib/Utils/make-mutex.js +33 -36
  75. package/lib/Utils/message-composer.js +233 -439
  76. package/lib/Utils/message-retry-manager.js +260 -265
  77. package/lib/Utils/messages-media.js +829 -855
  78. package/lib/Utils/messages.js +961 -2528
  79. package/lib/Utils/noise-handler.js +200 -195
  80. package/lib/Utils/offline-node-processor.js +33 -35
  81. package/lib/Utils/pre-key-manager.js +102 -103
  82. package/lib/Utils/process-message.js +560 -978
  83. package/lib/Utils/reporting-utils.js +253 -257
  84. package/lib/Utils/signal.js +195 -218
  85. package/lib/Utils/stanza-ack.js +29 -31
  86. package/lib/Utils/sticker.js +109 -144
  87. package/lib/Utils/sync-action-utils.js +45 -50
  88. package/lib/Utils/tc-token-utils.js +139 -137
  89. package/lib/Utils/use-multi-file-auth-state.js +109 -109
  90. package/lib/Utils/validate-connection.js +202 -218
  91. package/lib/WABinary/constants.js +1299 -1302
  92. package/lib/WABinary/decode.js +262 -343
  93. package/lib/WABinary/encode.js +4 -12
  94. package/lib/WABinary/generic-utils.js +187 -223
  95. package/lib/WABinary/index.js +6 -33
  96. package/lib/WABinary/jid-utils.js +88 -351
  97. package/lib/WABinary/types.js +2 -2
  98. package/lib/WAM/BinaryInfo.js +9 -12
  99. package/lib/WAM/constants.js +22853 -39486
  100. package/lib/WAM/encode.js +140 -132
  101. package/lib/WAM/index.js +4 -31
  102. package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +21 -23
  103. package/lib/WAUSync/Protocols/USyncBusinessProtocol.js +9 -9
  104. package/lib/WAUSync/Protocols/USyncContactProtocol.js +7 -7
  105. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +10 -10
  106. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +7 -7
  107. package/lib/WAUSync/Protocols/USyncFeatureProtocol.js +11 -12
  108. package/lib/WAUSync/Protocols/USyncLIDProtocol.js +4 -5
  109. package/lib/WAUSync/Protocols/USyncPictureProtocol.js +7 -7
  110. package/lib/WAUSync/Protocols/USyncSidelistProtocol.js +7 -8
  111. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +7 -7
  112. package/lib/WAUSync/Protocols/USyncTextStatusProtocol.js +8 -8
  113. package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +7 -7
  114. package/lib/WAUSync/Protocols/index.js +12 -39
  115. package/lib/WAUSync/USyncQuery.js +67 -49
  116. package/lib/WAUSync/USyncUser.js +11 -5
  117. package/lib/WAUSync/index.js +3 -31
  118. package/lib/index.js +15 -48
  119. package/package.json +129 -99
  120. package/LICENSE +0 -21
  121. package/lib/Defaults/phonenumber-mcc.json +0 -223
  122. package/lib/Socket/aigroups.js +0 -240
  123. package/lib/Socket/interactive-handler.js +0 -522
  124. package/lib/Socket/managed-account.js +0 -183
  125. package/lib/Socket/registration.js +0 -427
  126. package/lib/Socket/text-router.js +0 -83
  127. package/lib/Types/Newsletter.js +0 -121
  128. package/lib/Utils/command-loader.d.ts +0 -31
  129. package/lib/Utils/command-loader.js +0 -100
  130. package/lib/Utils/consumer-application.js +0 -107
  131. package/lib/Utils/curve25519-js.js +0 -275
  132. package/lib/Utils/group-history.js +0 -60
  133. package/lib/Utils/jid-display-normalization.js +0 -218
  134. package/lib/Utils/meta-ai-msmsg.js +0 -262
  135. package/lib/Utils/native-bridge.js +0 -82
  136. package/lib/Utils/session-pool.d.ts +0 -16
  137. package/lib/Utils/session-pool.js +0 -94
  138. package/lib/Utils/sticker.d.ts +0 -17
  139. package/lib/Utils/view-once-cache.d.ts +0 -9
  140. package/lib/Utils/view-once-cache.js +0 -79
  141. package/lib/Utils/voip-rekey.js +0 -22
  142. package/lib/antiban.js +0 -4637
@@ -1,1304 +1,1301 @@
1
- 'use strict'
2
- Object.defineProperty(exports, '__esModule', { value: true })
3
- exports.TOKEN_MAP = exports.SINGLE_BYTE_TOKENS = exports.DOUBLE_BYTE_TOKENS = exports.TAGS = void 0
4
- exports.TAGS = {
5
- LIST_EMPTY: 0,
6
- DICTIONARY_0: 236,
7
- DICTIONARY_1: 237,
8
- DICTIONARY_2: 238,
9
- DICTIONARY_3: 239,
10
- INTEROP_JID_TUPLE: 244,
11
- INTEROP_JID: 245,
12
- FB_JID: 246,
13
- AD_JID: 247,
14
- LIST_8: 248,
15
- LIST_16: 249,
16
- JID_PAIR: 250,
17
- HEX_8: 251,
18
- BINARY_8: 252,
19
- BINARY_20: 253,
20
- BINARY_32: 254,
21
- NIBBLE_8: 255,
22
- PACKED_MAX: 127
1
+ export const TAGS = {
2
+ LIST_EMPTY: 0,
3
+ DICTIONARY_0: 236,
4
+ DICTIONARY_1: 237,
5
+ DICTIONARY_2: 238,
6
+ DICTIONARY_3: 239,
7
+ INTEROP_JID: 245,
8
+ FB_JID: 246,
9
+ AD_JID: 247,
10
+ LIST_8: 248,
11
+ LIST_16: 249,
12
+ JID_PAIR: 250,
13
+ HEX_8: 251,
14
+ BINARY_8: 252,
15
+ BINARY_20: 253,
16
+ BINARY_32: 254,
17
+ NIBBLE_8: 255,
18
+ PACKED_MAX: 127
19
+ };
20
+ export const DOUBLE_BYTE_TOKENS = [
21
+ [
22
+ 'read-self',
23
+ 'active',
24
+ 'fbns',
25
+ 'protocol',
26
+ 'reaction',
27
+ 'screen_width',
28
+ 'heartbeat',
29
+ 'deviceid',
30
+ '2:47DEQpj8',
31
+ 'uploadfieldstat',
32
+ 'voip_settings',
33
+ 'retry',
34
+ 'priority',
35
+ 'longitude',
36
+ 'conflict',
37
+ 'false',
38
+ 'ig_professional',
39
+ 'replaced',
40
+ 'preaccept',
41
+ 'cover_photo',
42
+ 'uncompressed',
43
+ 'encopt',
44
+ 'ppic',
45
+ '04',
46
+ 'passive',
47
+ 'status-revoke-drop',
48
+ 'keygen',
49
+ '540',
50
+ 'offer',
51
+ 'rate',
52
+ 'opus',
53
+ 'latitude',
54
+ 'w:gp2',
55
+ 'ver',
56
+ '4',
57
+ 'business_profile',
58
+ 'medium',
59
+ 'sender',
60
+ 'prev_v_id',
61
+ 'email',
62
+ 'website',
63
+ 'invited',
64
+ 'sign_credential',
65
+ '05',
66
+ 'transport',
67
+ 'skey',
68
+ 'reason',
69
+ 'peer_abtest_bucket',
70
+ 'America/Sao_Paulo',
71
+ 'appid',
72
+ 'refresh',
73
+ '100',
74
+ '06',
75
+ '404',
76
+ '101',
77
+ '104',
78
+ '107',
79
+ '102',
80
+ '109',
81
+ '103',
82
+ 'member_add_mode',
83
+ '105',
84
+ 'transaction-id',
85
+ '110',
86
+ '106',
87
+ 'outgoing',
88
+ '108',
89
+ '111',
90
+ 'tokens',
91
+ 'followers',
92
+ 'ig_handle',
93
+ 'self_pid',
94
+ 'tue',
95
+ 'dec',
96
+ 'thu',
97
+ 'joinable',
98
+ 'peer_pid',
99
+ 'mon',
100
+ 'features',
101
+ 'wed',
102
+ 'peer_device_presence',
103
+ 'pn',
104
+ 'delete',
105
+ '07',
106
+ 'fri',
107
+ 'audio_duration',
108
+ 'admin',
109
+ 'connected',
110
+ 'delta',
111
+ 'rcat',
112
+ 'disable',
113
+ 'collection',
114
+ '08',
115
+ '480',
116
+ 'sat',
117
+ 'phash',
118
+ 'all',
119
+ 'invite',
120
+ 'accept',
121
+ 'critical_unblock_low',
122
+ 'group_update',
123
+ 'signed_credential',
124
+ 'blinded_credential',
125
+ 'eph_setting',
126
+ 'net',
127
+ '09',
128
+ 'background_location',
129
+ 'refresh_id',
130
+ 'Asia/Kolkata',
131
+ 'privacy_mode_ts',
132
+ 'account_sync',
133
+ 'voip_payload_type',
134
+ 'service_areas',
135
+ 'acs_public_key',
136
+ 'v_id',
137
+ '0a',
138
+ 'fallback_class',
139
+ 'relay',
140
+ 'actual_actors',
141
+ 'metadata',
142
+ 'w:biz',
143
+ '5',
144
+ 'connected-limit',
145
+ 'notice',
146
+ '0b',
147
+ 'host_storage',
148
+ 'fb_page',
149
+ 'subject',
150
+ 'privatestats',
151
+ 'invis',
152
+ 'groupadd',
153
+ '010',
154
+ 'note.m4r',
155
+ 'uuid',
156
+ '0c',
157
+ '8000',
158
+ 'sun',
159
+ '372',
160
+ '1020',
161
+ 'stage',
162
+ '1200',
163
+ '720',
164
+ 'canonical',
165
+ 'fb',
166
+ '011',
167
+ 'video_duration',
168
+ '0d',
169
+ '1140',
170
+ 'superadmin',
171
+ '012',
172
+ 'Opening.m4r',
173
+ 'keystore_attestation',
174
+ 'dleq_proof',
175
+ '013',
176
+ 'timestamp',
177
+ 'ab_key',
178
+ 'w:sync:app:state',
179
+ '0e',
180
+ 'vertical',
181
+ '600',
182
+ 'p_v_id',
183
+ '6',
184
+ 'likes',
185
+ '014',
186
+ '500',
187
+ '1260',
188
+ 'creator',
189
+ '0f',
190
+ 'rte',
191
+ 'destination',
192
+ 'group',
193
+ 'group_info',
194
+ 'syncd_anti_tampering_fatal_exception_enabled',
195
+ '015',
196
+ 'dl_bw',
197
+ 'Asia/Jakarta',
198
+ 'vp8/h.264',
199
+ 'online',
200
+ '1320',
201
+ 'fb:multiway',
202
+ '10',
203
+ 'timeout',
204
+ '016',
205
+ 'nse_retry',
206
+ 'urn:xmpp:whatsapp:dirty',
207
+ '017',
208
+ 'a_v_id',
209
+ 'web_shops_chat_header_button_enabled',
210
+ 'nse_call',
211
+ 'inactive-upgrade',
212
+ 'none',
213
+ 'web',
214
+ 'groups',
215
+ '2250',
216
+ 'mms_hot_content_timespan_in_seconds',
217
+ 'contact_blacklist',
218
+ 'nse_read',
219
+ 'suspended_group_deletion_notification',
220
+ 'binary_version',
221
+ '018',
222
+ 'https://www.whatsapp.com/otp/copy/',
223
+ 'reg_push',
224
+ 'shops_hide_catalog_attachment_entrypoint',
225
+ 'server_sync',
226
+ '.',
227
+ 'ephemeral_messages_allowed_values',
228
+ '019',
229
+ 'mms_vcache_aggregation_enabled',
230
+ 'iphone',
231
+ 'America/Argentina/Buenos_Aires',
232
+ '01a',
233
+ 'mms_vcard_autodownload_size_kb',
234
+ 'nse_ver',
235
+ 'shops_header_dropdown_menu_item',
236
+ 'dhash',
237
+ 'catalog_status',
238
+ 'communities_mvp_new_iqs_serverprop',
239
+ 'blocklist',
240
+ 'default',
241
+ '11',
242
+ 'ephemeral_messages_enabled',
243
+ '01b',
244
+ 'original_dimensions',
245
+ '8',
246
+ 'mms4_media_retry_notification_encryption_enabled',
247
+ 'mms4_server_error_receipt_encryption_enabled',
248
+ 'original_image_url',
249
+ 'sync',
250
+ 'multiway',
251
+ '420',
252
+ 'companion_enc_static',
253
+ 'shops_profile_drawer_entrypoint',
254
+ '01c',
255
+ 'vcard_as_document_size_kb',
256
+ 'status_video_max_duration',
257
+ 'request_image_url',
258
+ '01d',
259
+ 'regular_high',
260
+ 's_t',
261
+ 'abt',
262
+ 'share_ext_min_preliminary_image_quality',
263
+ '01e',
264
+ '32',
265
+ 'syncd_key_rotation_enabled',
266
+ 'data_namespace',
267
+ 'md_downgrade_read_receipts2',
268
+ 'patch',
269
+ 'polltype',
270
+ 'ephemeral_messages_setting',
271
+ 'userrate',
272
+ '15',
273
+ 'partial_pjpeg_bw_threshold',
274
+ 'played-self',
275
+ 'catalog_exists',
276
+ '01f',
277
+ 'mute_v2'
278
+ ],
279
+ [
280
+ 'reject',
281
+ 'dirty',
282
+ 'announcement',
283
+ '020',
284
+ '13',
285
+ '9',
286
+ 'status_video_max_bitrate',
287
+ 'fb:thrift_iq',
288
+ 'offline_batch',
289
+ '022',
290
+ 'full',
291
+ 'ctwa_first_business_reply_logging',
292
+ 'h.264',
293
+ 'smax_id',
294
+ 'group_description_length',
295
+ 'https://www.whatsapp.com/otp/code',
296
+ 'status_image_max_edge',
297
+ 'smb_upsell_business_profile_enabled',
298
+ '021',
299
+ 'web_upgrade_to_md_modal',
300
+ '14',
301
+ '023',
302
+ 's_o',
303
+ 'smaller_video_thumbs_status_enabled',
304
+ 'media_max_autodownload',
305
+ '960',
306
+ 'blocking_status',
307
+ 'peer_msg',
308
+ 'joinable_group_call_client_version',
309
+ 'group_call_video_maximization_enabled',
310
+ 'return_snapshot',
311
+ 'high',
312
+ 'America/Mexico_City',
313
+ 'entry_point_block_logging_enabled',
314
+ 'pop',
315
+ '024',
316
+ '1050',
317
+ '16',
318
+ '1380',
319
+ 'one_tap_calling_in_group_chat_size',
320
+ 'regular_low',
321
+ 'inline_joinable_education_enabled',
322
+ 'hq_image_max_edge',
323
+ 'locked',
324
+ 'America/Bogota',
325
+ 'smb_biztools_deeplink_enabled',
326
+ 'status_image_quality',
327
+ '1088',
328
+ '025',
329
+ 'payments_upi_intent_transaction_limit',
330
+ 'voip',
331
+ 'w:g2',
332
+ '027',
333
+ 'md_pin_chat_enabled',
334
+ '026',
335
+ 'multi_scan_pjpeg_download_enabled',
336
+ 'shops_product_grid',
337
+ 'transaction_id',
338
+ 'ctwa_context_enabled',
339
+ '20',
340
+ 'fna',
341
+ 'hq_image_quality',
342
+ 'alt_jpeg_doc_detection_quality',
343
+ 'group_call_max_participants',
344
+ 'pkey',
345
+ 'America/Belem',
346
+ 'image_max_kbytes',
347
+ 'web_cart_v1_1_order_message_changes_enabled',
348
+ 'ctwa_context_enterprise_enabled',
349
+ 'urn:xmpp:whatsapp:account',
350
+ '840',
351
+ 'Asia/Kuala_Lumpur',
352
+ 'max_participants',
353
+ 'video_remux_after_repair_enabled',
354
+ 'stella_addressbook_restriction_type',
355
+ '660',
356
+ '900',
357
+ '780',
358
+ 'context_menu_ios13_enabled',
359
+ 'mute-state',
360
+ 'ref',
361
+ 'payments_request_messages',
362
+ '029',
363
+ 'frskmsg',
364
+ 'vcard_max_size_kb',
365
+ 'sample_buffer_gif_player_enabled',
366
+ 'match_last_seen',
367
+ '510',
368
+ '4983',
369
+ 'video_max_bitrate',
370
+ '028',
371
+ 'w:comms:chat',
372
+ '17',
373
+ 'frequently_forwarded_max',
374
+ 'groups_privacy_blacklist',
375
+ 'Asia/Karachi',
376
+ '02a',
377
+ 'web_download_document_thumb_mms_enabled',
378
+ '02b',
379
+ 'hist_sync',
380
+ 'biz_block_reasons_version',
381
+ '1024',
382
+ '18',
383
+ 'web_is_direct_connection_for_plm_transparent',
384
+ 'view_once_write',
385
+ 'file_max_size',
386
+ 'paid_convo_id',
387
+ 'online_privacy_setting',
388
+ 'video_max_edge',
389
+ 'view_once_read',
390
+ 'enhanced_storage_management',
391
+ 'multi_scan_pjpeg_encoding_enabled',
392
+ 'ctwa_context_forward_enabled',
393
+ 'video_transcode_downgrade_enable',
394
+ 'template_doc_mime_types',
395
+ 'hq_image_bw_threshold',
396
+ '30',
397
+ 'body',
398
+ 'u_aud_limit_sil_restarts_ctrl',
399
+ 'other',
400
+ 'participating',
401
+ 'w:biz:directory',
402
+ '1110',
403
+ 'vp8',
404
+ '4018',
405
+ 'meta',
406
+ 'doc_detection_image_max_edge',
407
+ 'image_quality',
408
+ '1170',
409
+ '02c',
410
+ 'smb_upsell_chat_banner_enabled',
411
+ 'key_expiry_time_second',
412
+ 'pid',
413
+ 'stella_interop_enabled',
414
+ '19',
415
+ 'linked_device_max_count',
416
+ 'md_device_sync_enabled',
417
+ '02d',
418
+ '02e',
419
+ '360',
420
+ 'enhanced_block_enabled',
421
+ 'ephemeral_icon_in_forwarding',
422
+ 'paid_convo_status',
423
+ 'gif_provider',
424
+ 'project_name',
425
+ 'server-error',
426
+ 'canonical_url_validation_enabled',
427
+ 'wallpapers_v2',
428
+ 'syncd_clear_chat_delete_chat_enabled',
429
+ 'medianotify',
430
+ '02f',
431
+ 'shops_required_tos_version',
432
+ 'vote',
433
+ 'reset_skey_on_id_change',
434
+ '030',
435
+ 'image_max_edge',
436
+ 'multicast_limit_global',
437
+ 'ul_bw',
438
+ '21',
439
+ '25',
440
+ '5000',
441
+ 'poll',
442
+ '570',
443
+ '22',
444
+ '031',
445
+ '1280',
446
+ 'WhatsApp',
447
+ '032',
448
+ 'bloks_shops_enabled',
449
+ '50',
450
+ 'upload_host_switching_enabled',
451
+ 'web_ctwa_context_compose_enabled',
452
+ 'ptt_forwarded_features_enabled',
453
+ 'unblocked',
454
+ 'partial_pjpeg_enabled',
455
+ 'fbid:devices',
456
+ 'height',
457
+ 'ephemeral_group_query_ts',
458
+ 'group_join_permissions',
459
+ 'order',
460
+ '033',
461
+ 'alt_jpeg_status_quality',
462
+ 'migrate',
463
+ 'popular-bank',
464
+ 'win_uwp_deprecation_killswitch_enabled',
465
+ 'web_download_status_thumb_mms_enabled',
466
+ 'blocking',
467
+ 'url_text',
468
+ '035',
469
+ 'web_forwarding_limit_to_groups',
470
+ '1600',
471
+ 'val',
472
+ '1000',
473
+ 'syncd_msg_date_enabled',
474
+ 'bank-ref-id',
475
+ 'max_subject',
476
+ 'payments_web_enabled',
477
+ 'web_upload_document_thumb_mms_enabled',
478
+ 'size',
479
+ 'request',
480
+ 'ephemeral',
481
+ '24',
482
+ 'receipt_agg',
483
+ 'ptt_remember_play_position',
484
+ 'sampling_weight',
485
+ 'enc_rekey',
486
+ 'mute_always',
487
+ '037',
488
+ '034',
489
+ '23',
490
+ '036',
491
+ 'action',
492
+ 'click_to_chat_qr_enabled',
493
+ 'width',
494
+ 'disabled',
495
+ '038',
496
+ 'md_blocklist_v2',
497
+ 'played_self_enabled',
498
+ 'web_buttons_message_enabled',
499
+ 'flow_id',
500
+ 'clear',
501
+ '450',
502
+ 'fbid:thread',
503
+ 'bloks_session_state',
504
+ 'America/Lima',
505
+ 'attachment_picker_refresh',
506
+ 'download_host_switching_enabled',
507
+ '1792',
508
+ 'u_aud_limit_sil_restarts_test2',
509
+ 'custom_urls',
510
+ 'device_fanout',
511
+ 'optimistic_upload',
512
+ '2000',
513
+ 'key_cipher_suite',
514
+ 'web_smb_upsell_in_biz_profile_enabled',
515
+ 'e',
516
+ '039',
517
+ 'siri_post_status_shortcut',
518
+ 'pair-device',
519
+ 'lg',
520
+ 'lc',
521
+ 'stream_attribution_url',
522
+ 'model',
523
+ 'mspjpeg_phash_gen',
524
+ 'catalog_send_all',
525
+ 'new_multi_vcards_ui',
526
+ 'share_biz_vcard_enabled',
527
+ '-',
528
+ 'clean',
529
+ '200',
530
+ 'md_blocklist_v2_server',
531
+ '03b',
532
+ '03a',
533
+ 'web_md_migration_experience',
534
+ 'ptt_conversation_waveform',
535
+ 'u_aud_limit_sil_restarts_test1'
536
+ ],
537
+ [
538
+ '64',
539
+ 'ptt_playback_speed_enabled',
540
+ 'web_product_list_message_enabled',
541
+ 'paid_convo_ts',
542
+ '27',
543
+ 'manufacturer',
544
+ 'psp-routing',
545
+ 'grp_uii_cleanup',
546
+ 'ptt_draft_enabled',
547
+ '03c',
548
+ 'business_initiated',
549
+ 'web_catalog_products_onoff',
550
+ 'web_upload_link_thumb_mms_enabled',
551
+ '03e',
552
+ 'mediaretry',
553
+ '35',
554
+ 'hfm_string_changes',
555
+ '28',
556
+ 'America/Fortaleza',
557
+ 'max_keys',
558
+ 'md_mhfs_days',
559
+ 'streaming_upload_chunk_size',
560
+ '5541',
561
+ '040',
562
+ '03d',
563
+ '2675',
564
+ '03f',
565
+ '...',
566
+ '512',
567
+ 'mute',
568
+ '48',
569
+ '041',
570
+ 'alt_jpeg_quality',
571
+ '60',
572
+ '042',
573
+ 'md_smb_quick_reply',
574
+ '5183',
575
+ 'c',
576
+ '1343',
577
+ '40',
578
+ '1230',
579
+ '043',
580
+ '044',
581
+ 'mms_cat_v1_forward_hot_override_enabled',
582
+ 'user_notice',
583
+ 'ptt_waveform_send',
584
+ '047',
585
+ 'Asia/Calcutta',
586
+ '250',
587
+ 'md_privacy_v2',
588
+ '31',
589
+ '29',
590
+ '128',
591
+ 'md_messaging_enabled',
592
+ '046',
593
+ 'crypto',
594
+ '690',
595
+ '045',
596
+ 'enc_iv',
597
+ '75',
598
+ 'failure',
599
+ 'ptt_oot_playback',
600
+ 'AIzaSyDR5yfaG7OG8sMTUj8kfQEb8T9pN8BM6Lk',
601
+ 'w',
602
+ '048',
603
+ '2201',
604
+ 'web_large_files_ui',
605
+ 'Asia/Makassar',
606
+ '812',
607
+ 'status_collapse_muted',
608
+ '1334',
609
+ '257',
610
+ '2HP4dm',
611
+ '049',
612
+ 'patches',
613
+ '1290',
614
+ '43cY6T',
615
+ 'America/Caracas',
616
+ 'web_sticker_maker',
617
+ 'campaign',
618
+ 'ptt_pausable_enabled',
619
+ '33',
620
+ '42',
621
+ 'attestation',
622
+ 'biz',
623
+ '04b',
624
+ 'query_linked',
625
+ 's',
626
+ '125',
627
+ '04a',
628
+ '810',
629
+ 'availability',
630
+ '1411',
631
+ 'responsiveness_v2_m1',
632
+ 'catalog_not_created',
633
+ '34',
634
+ 'America/Santiago',
635
+ '1465',
636
+ 'enc_p',
637
+ '04d',
638
+ 'status_info',
639
+ '04f',
640
+ 'key_version',
641
+ '..',
642
+ '04c',
643
+ '04e',
644
+ 'md_group_notification',
645
+ '1598',
646
+ '1215',
647
+ 'web_cart_enabled',
648
+ '37',
649
+ '630',
650
+ '1920',
651
+ '2394',
652
+ '-1',
653
+ 'vcard',
654
+ '38',
655
+ 'elapsed',
656
+ '36',
657
+ '828',
658
+ 'peer',
659
+ 'pricing_category',
660
+ '1245',
661
+ 'invalid',
662
+ 'stella_ios_enabled',
663
+ '2687',
664
+ '45',
665
+ '1528',
666
+ '39',
667
+ 'u_is_redial_audio_1104_ctrl',
668
+ '1025',
669
+ '1455',
670
+ '58',
671
+ '2524',
672
+ '2603',
673
+ '054',
674
+ 'bsp_system_message_enabled',
675
+ 'web_pip_redesign',
676
+ '051',
677
+ 'verify_apps',
678
+ '1974',
679
+ '1272',
680
+ '1322',
681
+ '1755',
682
+ '052',
683
+ '70',
684
+ '050',
685
+ '1063',
686
+ '1135',
687
+ '1361',
688
+ '80',
689
+ '1096',
690
+ '1828',
691
+ '1851',
692
+ '1251',
693
+ '1921',
694
+ 'key_config_id',
695
+ '1254',
696
+ '1566',
697
+ '1252',
698
+ '2525',
699
+ 'critical_block',
700
+ '1669',
701
+ 'max_available',
702
+ 'w:auth:backup:token',
703
+ 'product',
704
+ '2530',
705
+ '870',
706
+ '1022',
707
+ 'participant_uuid',
708
+ 'web_cart_on_off',
709
+ '1255',
710
+ '1432',
711
+ '1867',
712
+ '41',
713
+ '1415',
714
+ '1440',
715
+ '240',
716
+ '1204',
717
+ '1608',
718
+ '1690',
719
+ '1846',
720
+ '1483',
721
+ '1687',
722
+ '1749',
723
+ '69',
724
+ 'url_number',
725
+ '053',
726
+ '1325',
727
+ '1040',
728
+ '365',
729
+ '59',
730
+ 'Asia/Riyadh',
731
+ '1177',
732
+ 'test_recommended',
733
+ '057',
734
+ '1612',
735
+ '43',
736
+ '1061',
737
+ '1518',
738
+ '1635',
739
+ '055',
740
+ '1034',
741
+ '1375',
742
+ '750',
743
+ '1430',
744
+ 'event_code',
745
+ '1682',
746
+ '503',
747
+ '55',
748
+ '865',
749
+ '78',
750
+ '1309',
751
+ '1365',
752
+ '44',
753
+ 'America/Guayaquil',
754
+ '535',
755
+ 'LIMITED',
756
+ '1377',
757
+ '1613',
758
+ '1420',
759
+ '1599',
760
+ '1822',
761
+ '05a',
762
+ '1681',
763
+ 'password',
764
+ '1111',
765
+ '1214',
766
+ '1376',
767
+ '1478',
768
+ '47',
769
+ '1082',
770
+ '4282',
771
+ 'Europe/Istanbul',
772
+ '1307',
773
+ '46',
774
+ '058',
775
+ '1124',
776
+ '256',
777
+ 'rate-overlimit',
778
+ 'retail',
779
+ 'u_a_socket_err_fix_succ_test',
780
+ '1292',
781
+ '1370',
782
+ '1388',
783
+ '520',
784
+ '861',
785
+ 'psa',
786
+ 'regular',
787
+ '1181',
788
+ '1766',
789
+ '05b',
790
+ '1183',
791
+ '1213',
792
+ '1304',
793
+ '1537'
794
+ ],
795
+ [
796
+ '1724',
797
+ 'profile_picture',
798
+ '1071',
799
+ '1314',
800
+ '1605',
801
+ '407',
802
+ '990',
803
+ '1710',
804
+ '746',
805
+ 'pricing_model',
806
+ '056',
807
+ '059',
808
+ '061',
809
+ '1119',
810
+ '6027',
811
+ '65',
812
+ '877',
813
+ '1607',
814
+ '05d',
815
+ '917',
816
+ 'seen',
817
+ '1516',
818
+ '49',
819
+ '470',
820
+ '973',
821
+ '1037',
822
+ '1350',
823
+ '1394',
824
+ '1480',
825
+ '1796',
826
+ 'keys',
827
+ '794',
828
+ '1536',
829
+ '1594',
830
+ '2378',
831
+ '1333',
832
+ '1524',
833
+ '1825',
834
+ '116',
835
+ '309',
836
+ '52',
837
+ '808',
838
+ '827',
839
+ '909',
840
+ '495',
841
+ '1660',
842
+ '361',
843
+ '957',
844
+ 'google',
845
+ '1357',
846
+ '1565',
847
+ '1967',
848
+ '996',
849
+ '1775',
850
+ '586',
851
+ '736',
852
+ '1052',
853
+ '1670',
854
+ 'bank',
855
+ '177',
856
+ '1416',
857
+ '2194',
858
+ '2222',
859
+ '1454',
860
+ '1839',
861
+ '1275',
862
+ '53',
863
+ '997',
864
+ '1629',
865
+ '6028',
866
+ 'smba',
867
+ '1378',
868
+ '1410',
869
+ '05c',
870
+ '1849',
871
+ '727',
872
+ 'create',
873
+ '1559',
874
+ '536',
875
+ '1106',
876
+ '1310',
877
+ '1944',
878
+ '670',
879
+ '1297',
880
+ '1316',
881
+ '1762',
882
+ 'en',
883
+ '1148',
884
+ '1295',
885
+ '1551',
886
+ '1853',
887
+ '1890',
888
+ '1208',
889
+ '1784',
890
+ '7200',
891
+ '05f',
892
+ '178',
893
+ '1283',
894
+ '1332',
895
+ '381',
896
+ '643',
897
+ '1056',
898
+ '1238',
899
+ '2024',
900
+ '2387',
901
+ '179',
902
+ '981',
903
+ '1547',
904
+ '1705',
905
+ '05e',
906
+ '290',
907
+ '903',
908
+ '1069',
909
+ '1285',
910
+ '2436',
911
+ '062',
912
+ '251',
913
+ '560',
914
+ '582',
915
+ '719',
916
+ '56',
917
+ '1700',
918
+ '2321',
919
+ '325',
920
+ '448',
921
+ '613',
922
+ '777',
923
+ '791',
924
+ '51',
925
+ '488',
926
+ '902',
927
+ 'Asia/Almaty',
928
+ 'is_hidden',
929
+ '1398',
930
+ '1527',
931
+ '1893',
932
+ '1999',
933
+ '2367',
934
+ '2642',
935
+ '237',
936
+ 'busy',
937
+ '065',
938
+ '067',
939
+ '233',
940
+ '590',
941
+ '993',
942
+ '1511',
943
+ '54',
944
+ '723',
945
+ '860',
946
+ '363',
947
+ '487',
948
+ '522',
949
+ '605',
950
+ '995',
951
+ '1321',
952
+ '1691',
953
+ '1865',
954
+ '2447',
955
+ '2462',
956
+ 'NON_TRANSACTIONAL',
957
+ '433',
958
+ '871',
959
+ '432',
960
+ '1004',
961
+ '1207',
962
+ '2032',
963
+ '2050',
964
+ '2379',
965
+ '2446',
966
+ '279',
967
+ '636',
968
+ '703',
969
+ '904',
970
+ '248',
971
+ '370',
972
+ '691',
973
+ '700',
974
+ '1068',
975
+ '1655',
976
+ '2334',
977
+ '060',
978
+ '063',
979
+ '364',
980
+ '533',
981
+ '534',
982
+ '567',
983
+ '1191',
984
+ '1210',
985
+ '1473',
986
+ '1827',
987
+ '069',
988
+ '701',
989
+ '2531',
990
+ '514',
991
+ 'prev_dhash',
992
+ '064',
993
+ '496',
994
+ '790',
995
+ '1046',
996
+ '1139',
997
+ '1505',
998
+ '1521',
999
+ '1108',
1000
+ '207',
1001
+ '544',
1002
+ '637',
1003
+ 'final',
1004
+ '1173',
1005
+ '1293',
1006
+ '1694',
1007
+ '1939',
1008
+ '1951',
1009
+ '1993',
1010
+ '2353',
1011
+ '2515',
1012
+ '504',
1013
+ '601',
1014
+ '857',
1015
+ 'modify',
1016
+ 'spam_request',
1017
+ 'p_121_aa_1101_test4',
1018
+ '866',
1019
+ '1427',
1020
+ '1502',
1021
+ '1638',
1022
+ '1744',
1023
+ '2153',
1024
+ '068',
1025
+ '382',
1026
+ '725',
1027
+ '1704',
1028
+ '1864',
1029
+ '1990',
1030
+ '2003',
1031
+ 'Asia/Dubai',
1032
+ '508',
1033
+ '531',
1034
+ '1387',
1035
+ '1474',
1036
+ '1632',
1037
+ '2307',
1038
+ '2386',
1039
+ '819',
1040
+ '2014',
1041
+ '066',
1042
+ '387',
1043
+ '1468',
1044
+ '1706',
1045
+ '2186',
1046
+ '2261',
1047
+ '471',
1048
+ '728',
1049
+ '1147',
1050
+ '1372',
1051
+ '1961'
1052
+ ]
1053
+ ];
1054
+ export const SINGLE_BYTE_TOKENS = [
1055
+ '',
1056
+ 'xmlstreamstart',
1057
+ 'xmlstreamend',
1058
+ 's.whatsapp.net',
1059
+ 'type',
1060
+ 'participant',
1061
+ 'from',
1062
+ 'receipt',
1063
+ 'id',
1064
+ 'notification',
1065
+ 'disappearing_mode',
1066
+ 'status',
1067
+ 'jid',
1068
+ 'broadcast',
1069
+ 'user',
1070
+ 'devices',
1071
+ 'device_hash',
1072
+ 'to',
1073
+ 'offline',
1074
+ 'message',
1075
+ 'result',
1076
+ 'class',
1077
+ 'xmlns',
1078
+ 'duration',
1079
+ 'notify',
1080
+ 'iq',
1081
+ 't',
1082
+ 'ack',
1083
+ 'g.us',
1084
+ 'enc',
1085
+ 'urn:xmpp:whatsapp:push',
1086
+ 'presence',
1087
+ 'config_value',
1088
+ 'picture',
1089
+ 'verified_name',
1090
+ 'config_code',
1091
+ 'key-index-list',
1092
+ 'contact',
1093
+ 'mediatype',
1094
+ 'routing_info',
1095
+ 'edge_routing',
1096
+ 'get',
1097
+ 'read',
1098
+ 'urn:xmpp:ping',
1099
+ 'fallback_hostname',
1100
+ '0',
1101
+ 'chatstate',
1102
+ 'business_hours_config',
1103
+ 'unavailable',
1104
+ 'download_buckets',
1105
+ 'skmsg',
1106
+ 'verified_level',
1107
+ 'composing',
1108
+ 'handshake',
1109
+ 'device-list',
1110
+ 'media',
1111
+ 'text',
1112
+ 'fallback_ip4',
1113
+ 'media_conn',
1114
+ 'device',
1115
+ 'creation',
1116
+ 'location',
1117
+ 'config',
1118
+ 'item',
1119
+ 'fallback_ip6',
1120
+ 'count',
1121
+ 'w:profile:picture',
1122
+ 'image',
1123
+ 'business',
1124
+ '2',
1125
+ 'hostname',
1126
+ 'call-creator',
1127
+ 'display_name',
1128
+ 'relaylatency',
1129
+ 'platform',
1130
+ 'abprops',
1131
+ 'success',
1132
+ 'msg',
1133
+ 'offline_preview',
1134
+ 'prop',
1135
+ 'key-index',
1136
+ 'v',
1137
+ 'day_of_week',
1138
+ 'pkmsg',
1139
+ 'version',
1140
+ '1',
1141
+ 'ping',
1142
+ 'w:p',
1143
+ 'download',
1144
+ 'video',
1145
+ 'set',
1146
+ 'specific_hours',
1147
+ 'props',
1148
+ 'primary',
1149
+ 'unknown',
1150
+ 'hash',
1151
+ 'commerce_experience',
1152
+ 'last',
1153
+ 'subscribe',
1154
+ 'max_buckets',
1155
+ 'call',
1156
+ 'profile',
1157
+ 'member_since_text',
1158
+ 'close_time',
1159
+ 'call-id',
1160
+ 'sticker',
1161
+ 'mode',
1162
+ 'participants',
1163
+ 'value',
1164
+ 'query',
1165
+ 'profile_options',
1166
+ 'open_time',
1167
+ 'code',
1168
+ 'list',
1169
+ 'host',
1170
+ 'ts',
1171
+ 'contacts',
1172
+ 'upload',
1173
+ 'lid',
1174
+ 'preview',
1175
+ 'update',
1176
+ 'usync',
1177
+ 'w:stats',
1178
+ 'delivery',
1179
+ 'auth_ttl',
1180
+ 'context',
1181
+ 'fail',
1182
+ 'cart_enabled',
1183
+ 'appdata',
1184
+ 'category',
1185
+ 'atn',
1186
+ 'direct_connection',
1187
+ 'decrypt-fail',
1188
+ 'relay_id',
1189
+ 'mmg-fallback.whatsapp.net',
1190
+ 'target',
1191
+ 'available',
1192
+ 'name',
1193
+ 'last_id',
1194
+ 'mmg.whatsapp.net',
1195
+ 'categories',
1196
+ '401',
1197
+ 'is_new',
1198
+ 'index',
1199
+ 'tctoken',
1200
+ 'ip4',
1201
+ 'token_id',
1202
+ 'latency',
1203
+ 'recipient',
1204
+ 'edit',
1205
+ 'ip6',
1206
+ 'add',
1207
+ 'thumbnail-document',
1208
+ '26',
1209
+ 'paused',
1210
+ 'true',
1211
+ 'identity',
1212
+ 'stream:error',
1213
+ 'key',
1214
+ 'sidelist',
1215
+ 'background',
1216
+ 'audio',
1217
+ '3',
1218
+ 'thumbnail-image',
1219
+ 'biz-cover-photo',
1220
+ 'cat',
1221
+ 'gcm',
1222
+ 'thumbnail-video',
1223
+ 'error',
1224
+ 'auth',
1225
+ 'deny',
1226
+ 'serial',
1227
+ 'in',
1228
+ 'registration',
1229
+ 'thumbnail-link',
1230
+ 'remove',
1231
+ '00',
1232
+ 'gif',
1233
+ 'thumbnail-gif',
1234
+ 'tag',
1235
+ 'capability',
1236
+ 'multicast',
1237
+ 'item-not-found',
1238
+ 'description',
1239
+ 'business_hours',
1240
+ 'config_expo_key',
1241
+ 'md-app-state',
1242
+ 'expiration',
1243
+ 'fallback',
1244
+ 'ttl',
1245
+ '300',
1246
+ 'md-msg-hist',
1247
+ 'device_orientation',
1248
+ 'out',
1249
+ 'w:m',
1250
+ 'open_24h',
1251
+ 'side_list',
1252
+ 'token',
1253
+ 'inactive',
1254
+ '01',
1255
+ 'document',
1256
+ 'te2',
1257
+ 'played',
1258
+ 'encrypt',
1259
+ 'msgr',
1260
+ 'hide',
1261
+ 'direct_path',
1262
+ '12',
1263
+ 'state',
1264
+ 'not-authorized',
1265
+ 'url',
1266
+ 'terminate',
1267
+ 'signature',
1268
+ 'status-revoke-delay',
1269
+ '02',
1270
+ 'te',
1271
+ 'linked_accounts',
1272
+ 'trusted_contact',
1273
+ 'timezone',
1274
+ 'ptt',
1275
+ 'kyc-id',
1276
+ 'privacy_token',
1277
+ 'readreceipts',
1278
+ 'appointment_only',
1279
+ 'address',
1280
+ 'expected_ts',
1281
+ 'privacy',
1282
+ '7',
1283
+ 'android',
1284
+ 'interactive',
1285
+ 'device-identity',
1286
+ 'enabled',
1287
+ 'attribute_padding',
1288
+ '1080',
1289
+ '03',
1290
+ 'screen_height'
1291
+ ];
1292
+ export const TOKEN_MAP = {};
1293
+ for (const [i, SINGLE_BYTE_TOKEN] of SINGLE_BYTE_TOKENS.entries()) {
1294
+ TOKEN_MAP[SINGLE_BYTE_TOKEN] = { index: i };
23
1295
  }
24
- exports.DOUBLE_BYTE_TOKENS = [
25
- [
26
- 'read-self',
27
- 'active',
28
- 'fbns',
29
- 'protocol',
30
- 'reaction',
31
- 'screen_width',
32
- 'heartbeat',
33
- 'deviceid',
34
- '2:47DEQpj8',
35
- 'uploadfieldstat',
36
- 'voip_settings',
37
- 'retry',
38
- 'priority',
39
- 'longitude',
40
- 'conflict',
41
- 'false',
42
- 'ig_professional',
43
- 'replaced',
44
- 'preaccept',
45
- 'cover_photo',
46
- 'uncompressed',
47
- 'encopt',
48
- 'ppic',
49
- '04',
50
- 'passive',
51
- 'status-revoke-drop',
52
- 'keygen',
53
- '540',
54
- 'offer',
55
- 'rate',
56
- 'opus',
57
- 'latitude',
58
- 'w:gp2',
59
- 'ver',
60
- '4',
61
- 'business_profile',
62
- 'medium',
63
- 'sender',
64
- 'prev_v_id',
65
- 'email',
66
- 'website',
67
- 'invited',
68
- 'sign_credential',
69
- '05',
70
- 'transport',
71
- 'skey',
72
- 'reason',
73
- 'peer_abtest_bucket',
74
- 'America/Sao_Paulo',
75
- 'appid',
76
- 'refresh',
77
- '100',
78
- '06',
79
- '404',
80
- '101',
81
- '104',
82
- '107',
83
- '102',
84
- '109',
85
- '103',
86
- 'member_add_mode',
87
- '105',
88
- 'transaction-id',
89
- '110',
90
- '106',
91
- 'outgoing',
92
- '108',
93
- '111',
94
- 'tokens',
95
- 'followers',
96
- 'ig_handle',
97
- 'self_pid',
98
- 'tue',
99
- 'dec',
100
- 'thu',
101
- 'joinable',
102
- 'peer_pid',
103
- 'mon',
104
- 'features',
105
- 'wed',
106
- 'peer_device_presence',
107
- 'pn',
108
- 'delete',
109
- '07',
110
- 'fri',
111
- 'audio_duration',
112
- 'admin',
113
- 'connected',
114
- 'delta',
115
- 'rcat',
116
- 'disable',
117
- 'collection',
118
- '08',
119
- '480',
120
- 'sat',
121
- 'phash',
122
- 'all',
123
- 'invite',
124
- 'accept',
125
- 'critical_unblock_low',
126
- 'group_update',
127
- 'signed_credential',
128
- 'blinded_credential',
129
- 'eph_setting',
130
- 'net',
131
- '09',
132
- 'background_location',
133
- 'refresh_id',
134
- 'Asia/Kolkata',
135
- 'privacy_mode_ts',
136
- 'account_sync',
137
- 'voip_payload_type',
138
- 'service_areas',
139
- 'acs_public_key',
140
- 'v_id',
141
- '0a',
142
- 'fallback_class',
143
- 'relay',
144
- 'actual_actors',
145
- 'metadata',
146
- 'w:biz',
147
- '5',
148
- 'connected-limit',
149
- 'notice',
150
- '0b',
151
- 'host_storage',
152
- 'fb_page',
153
- 'subject',
154
- 'privatestats',
155
- 'invis',
156
- 'groupadd',
157
- '010',
158
- 'note.m4r',
159
- 'uuid',
160
- '0c',
161
- '8000',
162
- 'sun',
163
- '372',
164
- '1020',
165
- 'stage',
166
- '1200',
167
- '720',
168
- 'canonical',
169
- 'fb',
170
- '011',
171
- 'video_duration',
172
- '0d',
173
- '1140',
174
- 'superadmin',
175
- '012',
176
- 'Opening.m4r',
177
- 'keystore_attestation',
178
- 'dleq_proof',
179
- '013',
180
- 'timestamp',
181
- 'ab_key',
182
- 'w:sync:app:state',
183
- '0e',
184
- 'vertical',
185
- '600',
186
- 'p_v_id',
187
- '6',
188
- 'likes',
189
- '014',
190
- '500',
191
- '1260',
192
- 'creator',
193
- '0f',
194
- 'rte',
195
- 'destination',
196
- 'group',
197
- 'group_info',
198
- 'syncd_anti_tampering_fatal_exception_enabled',
199
- '015',
200
- 'dl_bw',
201
- 'Asia/Jakarta',
202
- 'vp8/h.264',
203
- 'online',
204
- '1320',
205
- 'fb:multiway',
206
- '10',
207
- 'timeout',
208
- '016',
209
- 'nse_retry',
210
- 'urn:xmpp:whatsapp:dirty',
211
- '017',
212
- 'a_v_id',
213
- 'web_shops_chat_header_button_enabled',
214
- 'nse_call',
215
- 'inactive-upgrade',
216
- 'none',
217
- 'web',
218
- 'groups',
219
- '2250',
220
- 'mms_hot_content_timespan_in_seconds',
221
- 'contact_blacklist',
222
- 'nse_read',
223
- 'suspended_group_deletion_notification',
224
- 'binary_version',
225
- '018',
226
- 'https://www.whatsapp.com/otp/copy/',
227
- 'reg_push',
228
- 'shops_hide_catalog_attachment_entrypoint',
229
- 'server_sync',
230
- '.',
231
- 'ephemeral_messages_allowed_values',
232
- '019',
233
- 'mms_vcache_aggregation_enabled',
234
- 'iphone',
235
- 'America/Argentina/Buenos_Aires',
236
- '01a',
237
- 'mms_vcard_autodownload_size_kb',
238
- 'nse_ver',
239
- 'shops_header_dropdown_menu_item',
240
- 'dhash',
241
- 'catalog_status',
242
- 'communities_mvp_new_iqs_serverprop',
243
- 'blocklist',
244
- 'default',
245
- '11',
246
- 'ephemeral_messages_enabled',
247
- '01b',
248
- 'original_dimensions',
249
- '8',
250
- 'mms4_media_retry_notification_encryption_enabled',
251
- 'mms4_server_error_receipt_encryption_enabled',
252
- 'original_image_url',
253
- 'sync',
254
- 'multiway',
255
- '420',
256
- 'companion_enc_static',
257
- 'shops_profile_drawer_entrypoint',
258
- '01c',
259
- 'vcard_as_document_size_kb',
260
- 'status_video_max_duration',
261
- 'request_image_url',
262
- '01d',
263
- 'regular_high',
264
- 's_t',
265
- 'abt',
266
- 'share_ext_min_preliminary_image_quality',
267
- '01e',
268
- '32',
269
- 'syncd_key_rotation_enabled',
270
- 'data_namespace',
271
- 'md_downgrade_read_receipts2',
272
- 'patch',
273
- 'polltype',
274
- 'ephemeral_messages_setting',
275
- 'userrate',
276
- '15',
277
- 'partial_pjpeg_bw_threshold',
278
- 'played-self',
279
- 'catalog_exists',
280
- '01f',
281
- 'mute_v2'
282
- ],
283
- [
284
- 'reject',
285
- 'dirty',
286
- 'announcement',
287
- '020',
288
- '13',
289
- '9',
290
- 'status_video_max_bitrate',
291
- 'fb:thrift_iq',
292
- 'offline_batch',
293
- '022',
294
- 'full',
295
- 'ctwa_first_business_reply_logging',
296
- 'h.264',
297
- 'smax_id',
298
- 'group_description_length',
299
- 'https://www.whatsapp.com/otp/code',
300
- 'status_image_max_edge',
301
- 'smb_upsell_business_profile_enabled',
302
- '021',
303
- 'web_upgrade_to_md_modal',
304
- '14',
305
- '023',
306
- 's_o',
307
- 'smaller_video_thumbs_status_enabled',
308
- 'media_max_autodownload',
309
- '960',
310
- 'blocking_status',
311
- 'peer_msg',
312
- 'joinable_group_call_client_version',
313
- 'group_call_video_maximization_enabled',
314
- 'return_snapshot',
315
- 'high',
316
- 'America/Mexico_City',
317
- 'entry_point_block_logging_enabled',
318
- 'pop',
319
- '024',
320
- '1050',
321
- '16',
322
- '1380',
323
- 'one_tap_calling_in_group_chat_size',
324
- 'regular_low',
325
- 'inline_joinable_education_enabled',
326
- 'hq_image_max_edge',
327
- 'locked',
328
- 'America/Bogota',
329
- 'smb_biztools_deeplink_enabled',
330
- 'status_image_quality',
331
- '1088',
332
- '025',
333
- 'payments_upi_intent_transaction_limit',
334
- 'voip',
335
- 'w:g2',
336
- '027',
337
- 'md_pin_chat_enabled',
338
- '026',
339
- 'multi_scan_pjpeg_download_enabled',
340
- 'shops_product_grid',
341
- 'transaction_id',
342
- 'ctwa_context_enabled',
343
- '20',
344
- 'fna',
345
- 'hq_image_quality',
346
- 'alt_jpeg_doc_detection_quality',
347
- 'group_call_max_participants',
348
- 'pkey',
349
- 'America/Belem',
350
- 'image_max_kbytes',
351
- 'web_cart_v1_1_order_message_changes_enabled',
352
- 'ctwa_context_enterprise_enabled',
353
- 'urn:xmpp:whatsapp:account',
354
- '840',
355
- 'Asia/Kuala_Lumpur',
356
- 'max_participants',
357
- 'video_remux_after_repair_enabled',
358
- 'stella_addressbook_restriction_type',
359
- '660',
360
- '900',
361
- '780',
362
- 'context_menu_ios13_enabled',
363
- 'mute-state',
364
- 'ref',
365
- 'payments_request_messages',
366
- '029',
367
- 'frskmsg',
368
- 'vcard_max_size_kb',
369
- 'sample_buffer_gif_player_enabled',
370
- 'match_last_seen',
371
- '510',
372
- '4983',
373
- 'video_max_bitrate',
374
- '028',
375
- 'w:comms:chat',
376
- '17',
377
- 'frequently_forwarded_max',
378
- 'groups_privacy_blacklist',
379
- 'Asia/Karachi',
380
- '02a',
381
- 'web_download_document_thumb_mms_enabled',
382
- '02b',
383
- 'hist_sync',
384
- 'biz_block_reasons_version',
385
- '1024',
386
- '18',
387
- 'web_is_direct_connection_for_plm_transparent',
388
- 'view_once_write',
389
- 'file_max_size',
390
- 'paid_convo_id',
391
- 'online_privacy_setting',
392
- 'video_max_edge',
393
- 'view_once_read',
394
- 'enhanced_storage_management',
395
- 'multi_scan_pjpeg_encoding_enabled',
396
- 'ctwa_context_forward_enabled',
397
- 'video_transcode_downgrade_enable',
398
- 'template_doc_mime_types',
399
- 'hq_image_bw_threshold',
400
- '30',
401
- 'body',
402
- 'u_aud_limit_sil_restarts_ctrl',
403
- 'other',
404
- 'participating',
405
- 'w:biz:directory',
406
- '1110',
407
- 'vp8',
408
- '4018',
409
- 'meta',
410
- 'doc_detection_image_max_edge',
411
- 'image_quality',
412
- '1170',
413
- '02c',
414
- 'smb_upsell_chat_banner_enabled',
415
- 'key_expiry_time_second',
416
- 'pid',
417
- 'stella_interop_enabled',
418
- '19',
419
- 'linked_device_max_count',
420
- 'md_device_sync_enabled',
421
- '02d',
422
- '02e',
423
- '360',
424
- 'enhanced_block_enabled',
425
- 'ephemeral_icon_in_forwarding',
426
- 'paid_convo_status',
427
- 'gif_provider',
428
- 'project_name',
429
- 'server-error',
430
- 'canonical_url_validation_enabled',
431
- 'wallpapers_v2',
432
- 'syncd_clear_chat_delete_chat_enabled',
433
- 'medianotify',
434
- '02f',
435
- 'shops_required_tos_version',
436
- 'vote',
437
- 'reset_skey_on_id_change',
438
- '030',
439
- 'image_max_edge',
440
- 'multicast_limit_global',
441
- 'ul_bw',
442
- '21',
443
- '25',
444
- '5000',
445
- 'poll',
446
- '570',
447
- '22',
448
- '031',
449
- '1280',
450
- 'WhatsApp',
451
- '032',
452
- 'bloks_shops_enabled',
453
- '50',
454
- 'upload_host_switching_enabled',
455
- 'web_ctwa_context_compose_enabled',
456
- 'ptt_forwarded_features_enabled',
457
- 'unblocked',
458
- 'partial_pjpeg_enabled',
459
- 'fbid:devices',
460
- 'height',
461
- 'ephemeral_group_query_ts',
462
- 'group_join_permissions',
463
- 'order',
464
- '033',
465
- 'alt_jpeg_status_quality',
466
- 'migrate',
467
- 'popular-bank',
468
- 'win_uwp_deprecation_killswitch_enabled',
469
- 'web_download_status_thumb_mms_enabled',
470
- 'blocking',
471
- 'url_text',
472
- '035',
473
- 'web_forwarding_limit_to_groups',
474
- '1600',
475
- 'val',
476
- '1000',
477
- 'syncd_msg_date_enabled',
478
- 'bank-ref-id',
479
- 'max_subject',
480
- 'payments_web_enabled',
481
- 'web_upload_document_thumb_mms_enabled',
482
- 'size',
483
- 'request',
484
- 'ephemeral',
485
- '24',
486
- 'receipt_agg',
487
- 'ptt_remember_play_position',
488
- 'sampling_weight',
489
- 'enc_rekey',
490
- 'mute_always',
491
- '037',
492
- '034',
493
- '23',
494
- '036',
495
- 'action',
496
- 'click_to_chat_qr_enabled',
497
- 'width',
498
- 'disabled',
499
- '038',
500
- 'md_blocklist_v2',
501
- 'played_self_enabled',
502
- 'web_buttons_message_enabled',
503
- 'flow_id',
504
- 'clear',
505
- '450',
506
- 'fbid:thread',
507
- 'bloks_session_state',
508
- 'America/Lima',
509
- 'attachment_picker_refresh',
510
- 'download_host_switching_enabled',
511
- '1792',
512
- 'u_aud_limit_sil_restarts_test2',
513
- 'custom_urls',
514
- 'device_fanout',
515
- 'optimistic_upload',
516
- '2000',
517
- 'key_cipher_suite',
518
- 'web_smb_upsell_in_biz_profile_enabled',
519
- 'e',
520
- '039',
521
- 'siri_post_status_shortcut',
522
- 'pair-device',
523
- 'lg',
524
- 'lc',
525
- 'stream_attribution_url',
526
- 'model',
527
- 'mspjpeg_phash_gen',
528
- 'catalog_send_all',
529
- 'new_multi_vcards_ui',
530
- 'share_biz_vcard_enabled',
531
- '-',
532
- 'clean',
533
- '200',
534
- 'md_blocklist_v2_server',
535
- '03b',
536
- '03a',
537
- 'web_md_migration_experience',
538
- 'ptt_conversation_waveform',
539
- 'u_aud_limit_sil_restarts_test1'
540
- ],
541
- [
542
- '64',
543
- 'ptt_playback_speed_enabled',
544
- 'web_product_list_message_enabled',
545
- 'paid_convo_ts',
546
- '27',
547
- 'manufacturer',
548
- 'psp-routing',
549
- 'grp_uii_cleanup',
550
- 'ptt_draft_enabled',
551
- '03c',
552
- 'business_initiated',
553
- 'web_catalog_products_onoff',
554
- 'web_upload_link_thumb_mms_enabled',
555
- '03e',
556
- 'mediaretry',
557
- '35',
558
- 'hfm_string_changes',
559
- '28',
560
- 'America/Fortaleza',
561
- 'max_keys',
562
- 'md_mhfs_days',
563
- 'streaming_upload_chunk_size',
564
- '5541',
565
- '040',
566
- '03d',
567
- '2675',
568
- '03f',
569
- '...',
570
- '512',
571
- 'mute',
572
- '48',
573
- '041',
574
- 'alt_jpeg_quality',
575
- '60',
576
- '042',
577
- 'md_smb_quick_reply',
578
- '5183',
579
- 'c',
580
- '1343',
581
- '40',
582
- '1230',
583
- '043',
584
- '044',
585
- 'mms_cat_v1_forward_hot_override_enabled',
586
- 'user_notice',
587
- 'ptt_waveform_send',
588
- '047',
589
- 'Asia/Calcutta',
590
- '250',
591
- 'md_privacy_v2',
592
- '31',
593
- '29',
594
- '128',
595
- 'md_messaging_enabled',
596
- '046',
597
- 'crypto',
598
- '690',
599
- '045',
600
- 'enc_iv',
601
- '75',
602
- 'failure',
603
- 'ptt_oot_playback',
604
- 'AIzaSyDR5yfaG7OG8sMTUj8kfQEb8T9pN8BM6Lk',
605
- 'w',
606
- '048',
607
- '2201',
608
- 'web_large_files_ui',
609
- 'Asia/Makassar',
610
- '812',
611
- 'status_collapse_muted',
612
- '1334',
613
- '257',
614
- '2HP4dm',
615
- '049',
616
- 'patches',
617
- '1290',
618
- '43cY6T',
619
- 'America/Caracas',
620
- 'web_sticker_maker',
621
- 'campaign',
622
- 'ptt_pausable_enabled',
623
- '33',
624
- '42',
625
- 'attestation',
626
- 'biz',
627
- '04b',
628
- 'query_linked',
629
- 's',
630
- '125',
631
- '04a',
632
- '810',
633
- 'availability',
634
- '1411',
635
- 'responsiveness_v2_m1',
636
- 'catalog_not_created',
637
- '34',
638
- 'America/Santiago',
639
- '1465',
640
- 'enc_p',
641
- '04d',
642
- 'status_info',
643
- '04f',
644
- 'key_version',
645
- '..',
646
- '04c',
647
- '04e',
648
- 'md_group_notification',
649
- '1598',
650
- '1215',
651
- 'web_cart_enabled',
652
- '37',
653
- '630',
654
- '1920',
655
- '2394',
656
- '-1',
657
- 'vcard',
658
- '38',
659
- 'elapsed',
660
- '36',
661
- '828',
662
- 'peer',
663
- 'pricing_category',
664
- '1245',
665
- 'invalid',
666
- 'stella_ios_enabled',
667
- '2687',
668
- '45',
669
- '1528',
670
- '39',
671
- 'u_is_redial_audio_1104_ctrl',
672
- '1025',
673
- '1455',
674
- '58',
675
- '2524',
676
- '2603',
677
- '054',
678
- 'bsp_system_message_enabled',
679
- 'web_pip_redesign',
680
- '051',
681
- 'verify_apps',
682
- '1974',
683
- '1272',
684
- '1322',
685
- '1755',
686
- '052',
687
- '70',
688
- '050',
689
- '1063',
690
- '1135',
691
- '1361',
692
- '80',
693
- '1096',
694
- '1828',
695
- '1851',
696
- '1251',
697
- '1921',
698
- 'key_config_id',
699
- '1254',
700
- '1566',
701
- '1252',
702
- '2525',
703
- 'critical_block',
704
- '1669',
705
- 'max_available',
706
- 'w:auth:backup:token',
707
- 'product',
708
- '2530',
709
- '870',
710
- '1022',
711
- 'participant_uuid',
712
- 'web_cart_on_off',
713
- '1255',
714
- '1432',
715
- '1867',
716
- '41',
717
- '1415',
718
- '1440',
719
- '240',
720
- '1204',
721
- '1608',
722
- '1690',
723
- '1846',
724
- '1483',
725
- '1687',
726
- '1749',
727
- '69',
728
- 'url_number',
729
- '053',
730
- '1325',
731
- '1040',
732
- '365',
733
- '59',
734
- 'Asia/Riyadh',
735
- '1177',
736
- 'test_recommended',
737
- '057',
738
- '1612',
739
- '43',
740
- '1061',
741
- '1518',
742
- '1635',
743
- '055',
744
- '1034',
745
- '1375',
746
- '750',
747
- '1430',
748
- 'event_code',
749
- '1682',
750
- '503',
751
- '55',
752
- '865',
753
- '78',
754
- '1309',
755
- '1365',
756
- '44',
757
- 'America/Guayaquil',
758
- '535',
759
- 'LIMITED',
760
- '1377',
761
- '1613',
762
- '1420',
763
- '1599',
764
- '1822',
765
- '05a',
766
- '1681',
767
- 'password',
768
- '1111',
769
- '1214',
770
- '1376',
771
- '1478',
772
- '47',
773
- '1082',
774
- '4282',
775
- 'Europe/Istanbul',
776
- '1307',
777
- '46',
778
- '058',
779
- '1124',
780
- '256',
781
- 'rate-overlimit',
782
- 'retail',
783
- 'u_a_socket_err_fix_succ_test',
784
- '1292',
785
- '1370',
786
- '1388',
787
- '520',
788
- '861',
789
- 'psa',
790
- 'regular',
791
- '1181',
792
- '1766',
793
- '05b',
794
- '1183',
795
- '1213',
796
- '1304',
797
- '1537'
798
- ],
799
- [
800
- '1724',
801
- 'profile_picture',
802
- '1071',
803
- '1314',
804
- '1605',
805
- '407',
806
- '990',
807
- '1710',
808
- '746',
809
- 'pricing_model',
810
- '056',
811
- '059',
812
- '061',
813
- '1119',
814
- '6027',
815
- '65',
816
- '877',
817
- '1607',
818
- '05d',
819
- '917',
820
- 'seen',
821
- '1516',
822
- '49',
823
- '470',
824
- '973',
825
- '1037',
826
- '1350',
827
- '1394',
828
- '1480',
829
- '1796',
830
- 'keys',
831
- '794',
832
- '1536',
833
- '1594',
834
- '2378',
835
- '1333',
836
- '1524',
837
- '1825',
838
- '116',
839
- '309',
840
- '52',
841
- '808',
842
- '827',
843
- '909',
844
- '495',
845
- '1660',
846
- '361',
847
- '957',
848
- 'google',
849
- '1357',
850
- '1565',
851
- '1967',
852
- '996',
853
- '1775',
854
- '586',
855
- '736',
856
- '1052',
857
- '1670',
858
- 'bank',
859
- '177',
860
- '1416',
861
- '2194',
862
- '2222',
863
- '1454',
864
- '1839',
865
- '1275',
866
- '53',
867
- '997',
868
- '1629',
869
- '6028',
870
- 'smba',
871
- '1378',
872
- '1410',
873
- '05c',
874
- '1849',
875
- '727',
876
- 'create',
877
- '1559',
878
- '536',
879
- '1106',
880
- '1310',
881
- '1944',
882
- '670',
883
- '1297',
884
- '1316',
885
- '1762',
886
- 'en',
887
- '1148',
888
- '1295',
889
- '1551',
890
- '1853',
891
- '1890',
892
- '1208',
893
- '1784',
894
- '7200',
895
- '05f',
896
- '178',
897
- '1283',
898
- '1332',
899
- '381',
900
- '643',
901
- '1056',
902
- '1238',
903
- '2024',
904
- '2387',
905
- '179',
906
- '981',
907
- '1547',
908
- '1705',
909
- '05e',
910
- '290',
911
- '903',
912
- '1069',
913
- '1285',
914
- '2436',
915
- '062',
916
- '251',
917
- '560',
918
- '582',
919
- '719',
920
- '56',
921
- '1700',
922
- '2321',
923
- '325',
924
- '448',
925
- '613',
926
- '777',
927
- '791',
928
- '51',
929
- '488',
930
- '902',
931
- 'Asia/Almaty',
932
- 'is_hidden',
933
- '1398',
934
- '1527',
935
- '1893',
936
- '1999',
937
- '2367',
938
- '2642',
939
- '237',
940
- 'busy',
941
- '065',
942
- '067',
943
- '233',
944
- '590',
945
- '993',
946
- '1511',
947
- '54',
948
- '723',
949
- '860',
950
- '363',
951
- '487',
952
- '522',
953
- '605',
954
- '995',
955
- '1321',
956
- '1691',
957
- '1865',
958
- '2447',
959
- '2462',
960
- 'NON_TRANSACTIONAL',
961
- '433',
962
- '871',
963
- '432',
964
- '1004',
965
- '1207',
966
- '2032',
967
- '2050',
968
- '2379',
969
- '2446',
970
- '279',
971
- '636',
972
- '703',
973
- '904',
974
- '248',
975
- '370',
976
- '691',
977
- '700',
978
- '1068',
979
- '1655',
980
- '2334',
981
- '060',
982
- '063',
983
- '364',
984
- '533',
985
- '534',
986
- '567',
987
- '1191',
988
- '1210',
989
- '1473',
990
- '1827',
991
- '069',
992
- '701',
993
- '2531',
994
- '514',
995
- 'prev_dhash',
996
- '064',
997
- '496',
998
- '790',
999
- '1046',
1000
- '1139',
1001
- '1505',
1002
- '1521',
1003
- '1108',
1004
- '207',
1005
- '544',
1006
- '637',
1007
- 'final',
1008
- '1173',
1009
- '1293',
1010
- '1694',
1011
- '1939',
1012
- '1951',
1013
- '1993',
1014
- '2353',
1015
- '2515',
1016
- '504',
1017
- '601',
1018
- '857',
1019
- 'modify',
1020
- 'spam_request',
1021
- 'p_121_aa_1101_test4',
1022
- '866',
1023
- '1427',
1024
- '1502',
1025
- '1638',
1026
- '1744',
1027
- '2153',
1028
- '068',
1029
- '382',
1030
- '725',
1031
- '1704',
1032
- '1864',
1033
- '1990',
1034
- '2003',
1035
- 'Asia/Dubai',
1036
- '508',
1037
- '531',
1038
- '1387',
1039
- '1474',
1040
- '1632',
1041
- '2307',
1042
- '2386',
1043
- '819',
1044
- '2014',
1045
- '066',
1046
- '387',
1047
- '1468',
1048
- '1706',
1049
- '2186',
1050
- '2261',
1051
- '471',
1052
- '728',
1053
- '1147',
1054
- '1372',
1055
- '1961'
1056
- ]
1057
- ]
1058
- exports.SINGLE_BYTE_TOKENS = [
1059
- '',
1060
- 'xmlstreamstart',
1061
- 'xmlstreamend',
1062
- 's.whatsapp.net',
1063
- 'type',
1064
- 'participant',
1065
- 'from',
1066
- 'receipt',
1067
- 'id',
1068
- 'notification',
1069
- 'disappearing_mode',
1070
- 'status',
1071
- 'jid',
1072
- 'broadcast',
1073
- 'user',
1074
- 'devices',
1075
- 'device_hash',
1076
- 'to',
1077
- 'offline',
1078
- 'message',
1079
- 'result',
1080
- 'class',
1081
- 'xmlns',
1082
- 'duration',
1083
- 'notify',
1084
- 'iq',
1085
- 't',
1086
- 'ack',
1087
- 'g.us',
1088
- 'enc',
1089
- 'urn:xmpp:whatsapp:push',
1090
- 'presence',
1091
- 'config_value',
1092
- 'picture',
1093
- 'verified_name',
1094
- 'config_code',
1095
- 'key-index-list',
1096
- 'contact',
1097
- 'mediatype',
1098
- 'routing_info',
1099
- 'edge_routing',
1100
- 'get',
1101
- 'read',
1102
- 'urn:xmpp:ping',
1103
- 'fallback_hostname',
1104
- '0',
1105
- 'chatstate',
1106
- 'business_hours_config',
1107
- 'unavailable',
1108
- 'download_buckets',
1109
- 'skmsg',
1110
- 'verified_level',
1111
- 'composing',
1112
- 'handshake',
1113
- 'device-list',
1114
- 'media',
1115
- 'text',
1116
- 'fallback_ip4',
1117
- 'media_conn',
1118
- 'device',
1119
- 'creation',
1120
- 'location',
1121
- 'config',
1122
- 'item',
1123
- 'fallback_ip6',
1124
- 'count',
1125
- 'w:profile:picture',
1126
- 'image',
1127
- 'business',
1128
- '2',
1129
- 'hostname',
1130
- 'call-creator',
1131
- 'display_name',
1132
- 'relaylatency',
1133
- 'platform',
1134
- 'abprops',
1135
- 'success',
1136
- 'msg',
1137
- 'offline_preview',
1138
- 'prop',
1139
- 'key-index',
1140
- 'v',
1141
- 'day_of_week',
1142
- 'pkmsg',
1143
- 'version',
1144
- '1',
1145
- 'ping',
1146
- 'w:p',
1147
- 'download',
1148
- 'video',
1149
- 'set',
1150
- 'specific_hours',
1151
- 'props',
1152
- 'primary',
1153
- 'unknown',
1154
- 'hash',
1155
- 'commerce_experience',
1156
- 'last',
1157
- 'subscribe',
1158
- 'max_buckets',
1159
- 'call',
1160
- 'profile',
1161
- 'member_since_text',
1162
- 'close_time',
1163
- 'call-id',
1164
- 'sticker',
1165
- 'mode',
1166
- 'participants',
1167
- 'value',
1168
- 'query',
1169
- 'profile_options',
1170
- 'open_time',
1171
- 'code',
1172
- 'list',
1173
- 'host',
1174
- 'ts',
1175
- 'contacts',
1176
- 'upload',
1177
- 'lid',
1178
- 'preview',
1179
- 'update',
1180
- 'usync',
1181
- 'w:stats',
1182
- 'delivery',
1183
- 'auth_ttl',
1184
- 'context',
1185
- 'fail',
1186
- 'cart_enabled',
1187
- 'appdata',
1188
- 'category',
1189
- 'atn',
1190
- 'direct_connection',
1191
- 'decrypt-fail',
1192
- 'relay_id',
1193
- 'mmg-fallback.whatsapp.net',
1194
- 'target',
1195
- 'available',
1196
- 'name',
1197
- 'last_id',
1198
- 'mmg.whatsapp.net',
1199
- 'categories',
1200
- '401',
1201
- 'is_new',
1202
- 'index',
1203
- 'tctoken',
1204
- 'ip4',
1205
- 'token_id',
1206
- 'latency',
1207
- 'recipient',
1208
- 'edit',
1209
- 'ip6',
1210
- 'add',
1211
- 'thumbnail-document',
1212
- '26',
1213
- 'paused',
1214
- 'true',
1215
- 'identity',
1216
- 'stream:error',
1217
- 'key',
1218
- 'sidelist',
1219
- 'background',
1220
- 'audio',
1221
- '3',
1222
- 'thumbnail-image',
1223
- 'biz-cover-photo',
1224
- 'cat',
1225
- 'gcm',
1226
- 'thumbnail-video',
1227
- 'error',
1228
- 'auth',
1229
- 'deny',
1230
- 'serial',
1231
- 'in',
1232
- 'registration',
1233
- 'thumbnail-link',
1234
- 'remove',
1235
- '00',
1236
- 'gif',
1237
- 'thumbnail-gif',
1238
- 'tag',
1239
- 'capability',
1240
- 'multicast',
1241
- 'item-not-found',
1242
- 'description',
1243
- 'business_hours',
1244
- 'config_expo_key',
1245
- 'md-app-state',
1246
- 'expiration',
1247
- 'fallback',
1248
- 'ttl',
1249
- '300',
1250
- 'md-msg-hist',
1251
- 'device_orientation',
1252
- 'out',
1253
- 'w:m',
1254
- 'open_24h',
1255
- 'side_list',
1256
- 'token',
1257
- 'inactive',
1258
- '01',
1259
- 'document',
1260
- 'te2',
1261
- 'played',
1262
- 'encrypt',
1263
- 'msgr',
1264
- 'hide',
1265
- 'direct_path',
1266
- '12',
1267
- 'state',
1268
- 'not-authorized',
1269
- 'url',
1270
- 'terminate',
1271
- 'signature',
1272
- 'status-revoke-delay',
1273
- '02',
1274
- 'te',
1275
- 'linked_accounts',
1276
- 'trusted_contact',
1277
- 'timezone',
1278
- 'ptt',
1279
- 'kyc-id',
1280
- 'privacy_token',
1281
- 'readreceipts',
1282
- 'appointment_only',
1283
- 'address',
1284
- 'expected_ts',
1285
- 'privacy',
1286
- '7',
1287
- 'android',
1288
- 'interactive',
1289
- 'device-identity',
1290
- 'enabled',
1291
- 'attribute_padding',
1292
- '1080',
1293
- '03',
1294
- 'screen_height'
1295
- ]
1296
- exports.TOKEN_MAP = {}
1297
- for (const [i, SINGLE_BYTE_TOKEN] of exports.SINGLE_BYTE_TOKENS.entries()) {
1298
- exports.TOKEN_MAP[SINGLE_BYTE_TOKEN] = { index: i }
1299
- }
1300
- for (const [i, DOUBLE_BYTE_TOKEN] of exports.DOUBLE_BYTE_TOKENS.entries()) {
1301
- for (const [j, element] of DOUBLE_BYTE_TOKEN.entries()) {
1302
- exports.TOKEN_MAP[element] = { dict: i, index: j }
1303
- }
1296
+ for (const [i, DOUBLE_BYTE_TOKEN] of DOUBLE_BYTE_TOKENS.entries()) {
1297
+ for (const [j, element] of DOUBLE_BYTE_TOKEN.entries()) {
1298
+ TOKEN_MAP[element] = { dict: i, index: j };
1299
+ }
1304
1300
  }
1301
+ //# sourceMappingURL=constants.js.map