@ocelus/easydiscordcomponentv2-core 1.0.1

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.
@@ -0,0 +1,4525 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-serialization-kotlinx-serialization-json.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'fr.ftnl.tools:core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'fr.ftnl.tools:core'.");
9
+ }
10
+ if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
11
+ throw new Error("Error loading module 'fr.ftnl.tools:core'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'fr.ftnl.tools:core'.");
12
+ }
13
+ if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-json'] === 'undefined') {
14
+ throw new Error("Error loading module 'fr.ftnl.tools:core'. Its dependency 'kotlinx-serialization-kotlinx-serialization-json' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-json' is loaded prior to 'fr.ftnl.tools:core'.");
15
+ }
16
+ globalThis['fr.ftnl.tools:core'] = factory(typeof globalThis['fr.ftnl.tools:core'] === 'undefined' ? {} : globalThis['fr.ftnl.tools:core'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-serialization-kotlinx-serialization-json']);
17
+ }
18
+ }(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json) {
19
+ 'use strict';
20
+ //region block: imports
21
+ var imul = Math.imul;
22
+ var protoOf = kotlin_kotlin.$_$.f2;
23
+ var VOID = kotlin_kotlin.$_$.a;
24
+ var initMetadataForClass = kotlin_kotlin.$_$.z1;
25
+ var Unit_instance = kotlin_kotlin.$_$.b1;
26
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
27
+ var initMetadataForInterface = kotlin_kotlin.$_$.b2;
28
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.i;
29
+ var initMetadataForCompanion = kotlin_kotlin.$_$.a2;
30
+ var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
31
+ var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
32
+ var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
33
+ var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
34
+ var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
35
+ var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
36
+ var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
37
+ var initMetadataForObject = kotlin_kotlin.$_$.c2;
38
+ var getBooleanHashCode = kotlin_kotlin.$_$.v1;
39
+ var getStringHashCode = kotlin_kotlin.$_$.x1;
40
+ var defineProp = kotlin_kotlin.$_$.t1;
41
+ var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
42
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.b;
43
+ var lazy = kotlin_kotlin.$_$.d3;
44
+ var toString = kotlin_kotlin.$_$.g2;
45
+ var hashCode = kotlin_kotlin.$_$.y1;
46
+ var equals = kotlin_kotlin.$_$.u1;
47
+ var toString_0 = kotlin_kotlin.$_$.f3;
48
+ var getKClass = kotlin_kotlin.$_$.j2;
49
+ var PolymorphicSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
50
+ var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
51
+ var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
52
+ var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
53
+ var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
54
+ var JsonContentPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
55
+ //endregion
56
+ //region block: pre-declaration
57
+ initMetadataForClass(TextBuilder, 'TextBuilder', TextBuilder);
58
+ initMetadataForClass(MediaGalleryBuilder, 'MediaGalleryBuilder', MediaGalleryBuilder);
59
+ initMetadataForClass(MediaGalleryItemBuilder, 'MediaGalleryItemBuilder');
60
+ initMetadataForInterface(ContainerContext, 'ContainerContext');
61
+ initMetadataForInterface(SectionContext, 'SectionContext');
62
+ initMetadataForInterface(ActionRowContext, 'ActionRowContext');
63
+ initMetadataForInterface(RootContext, 'RootContext');
64
+ initMetadataForClass(BaseComponentBuilder, 'BaseComponentBuilder', BaseComponentBuilder);
65
+ initMetadataForClass(RootComponentBuilder, 'RootComponentBuilder', RootComponentBuilder, BaseComponentBuilder, [BaseComponentBuilder, RootContext, ContainerContext]);
66
+ initMetadataForClass(ButtonBuilder, 'ButtonBuilder');
67
+ initMetadataForClass(StringSelectBuilder, 'StringSelectBuilder');
68
+ initMetadataForClass(SelectOptionBuilder, 'SelectOptionBuilder');
69
+ initMetadataForClass(BaseEntitySelectBuilder, 'BaseEntitySelectBuilder');
70
+ initMetadataForClass(UserSelectBuilder, 'UserSelectBuilder', VOID, BaseEntitySelectBuilder);
71
+ initMetadataForClass(RoleSelectBuilder, 'RoleSelectBuilder', VOID, BaseEntitySelectBuilder);
72
+ initMetadataForClass(MentionableSelectBuilder, 'MentionableSelectBuilder', VOID, BaseEntitySelectBuilder);
73
+ initMetadataForClass(ChannelSelectBuilder, 'ChannelSelectBuilder', VOID, BaseEntitySelectBuilder);
74
+ initMetadataForClass(TextInputBuilder, 'TextInputBuilder');
75
+ initMetadataForClass(ContainerBuilder, 'ContainerBuilder', ContainerBuilder, BaseComponentBuilder, [BaseComponentBuilder, ContainerContext]);
76
+ initMetadataForClass(ActionRowBuilder, 'ActionRowBuilder', ActionRowBuilder, BaseComponentBuilder, [BaseComponentBuilder, ActionRowContext]);
77
+ initMetadataForClass(SectionBuilder, 'SectionBuilder', VOID, BaseComponentBuilder, [BaseComponentBuilder, SectionContext]);
78
+ initMetadataForClass(SectionAccessoryBuilder, 'SectionAccessoryBuilder', SectionAccessoryBuilder);
79
+ initMetadataForClass(LabelComponentBuilder, 'LabelComponentBuilder', LabelComponentBuilder);
80
+ initMetadataForCompanion(Companion);
81
+ initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
82
+ initMetadataForInterface(DiscordComponent, 'DiscordComponent', VOID, VOID, VOID, VOID, VOID, {0: ComponentSerializer_getInstance});
83
+ initMetadataForInterface(ContainerChildComponent, 'ContainerChildComponent', VOID, VOID, [DiscordComponent]);
84
+ initMetadataForClass(FileComponent, 'FileComponent', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance});
85
+ initMetadataForCompanion(Companion_0);
86
+ initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
87
+ initMetadataForClass(MediaGallery, 'MediaGallery', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance_0});
88
+ initMetadataForCompanion(Companion_1);
89
+ initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
90
+ initMetadataForClass(MediaGalleryItem, 'MediaGalleryItem', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
91
+ initMetadataForCompanion(Companion_2);
92
+ initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
93
+ initMetadataForClass(UnfurledMediaItem, 'UnfurledMediaItem', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
94
+ initMetadataForCompanion(Companion_3);
95
+ initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
96
+ initMetadataForInterface(SectionChildComponent, 'SectionChildComponent', VOID, VOID, [DiscordComponent]);
97
+ initMetadataForClass(TextDisplay, 'TextDisplay', VOID, VOID, [DiscordComponent, ContainerChildComponent, SectionChildComponent], VOID, VOID, {0: $serializer_getInstance_3});
98
+ initMetadataForCompanion(Companion_4);
99
+ initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
100
+ initMetadataForClass(Thumbnail, 'Thumbnail', VOID, VOID, [DiscordComponent, ContainerChildComponent, SectionChildComponent], VOID, VOID, {0: $serializer_getInstance_4});
101
+ initMetadataForCompanion(Companion_5);
102
+ initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
103
+ initMetadataForClass(Button, 'Button', VOID, VOID, [DiscordComponent, ContainerChildComponent, SectionChildComponent], VOID, VOID, {0: $serializer_getInstance_5});
104
+ initMetadataForObject(ButtonStyles, 'ButtonStyles');
105
+ initMetadataForCompanion(Companion_6);
106
+ initMetadataForClass(BaseEntitySelect, 'BaseEntitySelect', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: Companion_getInstance_6});
107
+ initMetadataForCompanion(Companion_7);
108
+ initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
109
+ initMetadataForClass(UserSelect, 'UserSelect', VOID, BaseEntitySelect, VOID, VOID, VOID, {0: $serializer_getInstance_6});
110
+ initMetadataForCompanion(Companion_8);
111
+ initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
112
+ initMetadataForClass(RoleSelect, 'RoleSelect', VOID, BaseEntitySelect, VOID, VOID, VOID, {0: $serializer_getInstance_7});
113
+ initMetadataForCompanion(Companion_9);
114
+ initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
115
+ initMetadataForClass(MentionableSelect, 'MentionableSelect', VOID, BaseEntitySelect, VOID, VOID, VOID, {0: $serializer_getInstance_8});
116
+ initMetadataForCompanion(Companion_10);
117
+ initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
118
+ initMetadataForClass(ChannelSelect, 'ChannelSelect', VOID, BaseEntitySelect, VOID, VOID, VOID, {0: $serializer_getInstance_9});
119
+ initMetadataForCompanion(Companion_11);
120
+ initMetadataForObject($serializer_10, '$serializer', VOID, VOID, [GeneratedSerializer]);
121
+ initMetadataForClass(SelectDefaultValue, 'SelectDefaultValue', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
122
+ initMetadataForCompanion(Companion_12);
123
+ initMetadataForObject($serializer_11, '$serializer', VOID, VOID, [GeneratedSerializer]);
124
+ initMetadataForClass(FileUpload, 'FileUpload', VOID, VOID, [DiscordComponent], VOID, VOID, {0: $serializer_getInstance_11});
125
+ initMetadataForCompanion(Companion_13);
126
+ initMetadataForObject($serializer_12, '$serializer', VOID, VOID, [GeneratedSerializer]);
127
+ initMetadataForClass(StringSelect, 'StringSelect', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance_12});
128
+ initMetadataForCompanion(Companion_14);
129
+ initMetadataForObject($serializer_13, '$serializer', VOID, VOID, [GeneratedSerializer]);
130
+ initMetadataForClass(SelectOption, 'SelectOption', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_13});
131
+ initMetadataForCompanion(Companion_15);
132
+ initMetadataForObject($serializer_14, '$serializer', VOID, VOID, [GeneratedSerializer]);
133
+ initMetadataForInterface(ActionRowChildComponent, 'ActionRowChildComponent', VOID, VOID, [DiscordComponent]);
134
+ initMetadataForClass(TextInput, 'TextInput', VOID, VOID, [DiscordComponent, ContainerChildComponent, ActionRowChildComponent, SectionChildComponent], VOID, VOID, {0: $serializer_getInstance_14});
135
+ initMetadataForCompanion(Companion_16);
136
+ initMetadataForObject($serializer_15, '$serializer', VOID, VOID, [GeneratedSerializer]);
137
+ initMetadataForClass(ActionRow, 'ActionRow', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance_15});
138
+ initMetadataForCompanion(Companion_17);
139
+ initMetadataForObject($serializer_16, '$serializer', VOID, VOID, [GeneratedSerializer]);
140
+ initMetadataForClass(Container, 'Container', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance_16});
141
+ initMetadataForCompanion(Companion_18);
142
+ initMetadataForObject($serializer_17, '$serializer', VOID, VOID, [GeneratedSerializer]);
143
+ initMetadataForClass(Label, 'Label', VOID, VOID, [DiscordComponent], VOID, VOID, {0: $serializer_getInstance_17});
144
+ initMetadataForCompanion(Companion_19);
145
+ initMetadataForObject($serializer_18, '$serializer', VOID, VOID, [GeneratedSerializer]);
146
+ initMetadataForClass(Section, 'Section', VOID, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance_18});
147
+ initMetadataForCompanion(Companion_20);
148
+ initMetadataForObject($serializer_19, '$serializer', VOID, VOID, [GeneratedSerializer]);
149
+ initMetadataForClass(Separator, 'Separator', Separator, VOID, [DiscordComponent, ContainerChildComponent], VOID, VOID, {0: $serializer_getInstance_19});
150
+ initMetadataForCompanion(Companion_21);
151
+ initMetadataForObject($serializer_20, '$serializer', VOID, VOID, [GeneratedSerializer]);
152
+ initMetadataForClass(DiscordEmoji, 'DiscordEmoji', DiscordEmoji, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_20});
153
+ initMetadataForCompanion(Companion_22);
154
+ initMetadataForObject(ColorHexSerializer, 'ColorHexSerializer', VOID, VOID, [KSerializer]);
155
+ initMetadataForObject(ComponentSerializer, 'ComponentSerializer', VOID, JsonContentPolymorphicSerializer);
156
+ initMetadataForCompanion(Companion_23);
157
+ initMetadataForObject($serializer_21, '$serializer', VOID, VOID, [GeneratedSerializer]);
158
+ initMetadataForClass(UnknownComponent, 'UnknownComponent', VOID, VOID, [DiscordComponent], VOID, VOID, {0: $serializer_getInstance_21});
159
+ //endregion
160
+ function TextBuilder() {
161
+ this.content = '';
162
+ }
163
+ protoOf(TextBuilder).uh = function (_set____db54di) {
164
+ this.content = _set____db54di;
165
+ };
166
+ protoOf(TextBuilder).vh = function () {
167
+ return this.content;
168
+ };
169
+ protoOf(TextBuilder).build = function () {
170
+ return new TextDisplay(VOID, this.content);
171
+ };
172
+ function MediaGalleryBuilder$item$lambda(_this__u8e3s4) {
173
+ return Unit_instance;
174
+ }
175
+ function MediaGalleryBuilder() {
176
+ var tmp = this;
177
+ // Inline function 'kotlin.collections.mutableListOf' call
178
+ tmp.wh_1 = ArrayList_init_$Create$();
179
+ }
180
+ protoOf(MediaGalleryBuilder).xh = function (url, block) {
181
+ var builder = new MediaGalleryItemBuilder(url);
182
+ block(builder);
183
+ this.wh_1.k(builder.build());
184
+ };
185
+ protoOf(MediaGalleryBuilder).item = function (url, block, $super) {
186
+ var tmp;
187
+ if (block === VOID) {
188
+ tmp = MediaGalleryBuilder$item$lambda;
189
+ } else {
190
+ tmp = block;
191
+ }
192
+ block = tmp;
193
+ var tmp_0;
194
+ if ($super === VOID) {
195
+ this.xh(url, block);
196
+ tmp_0 = Unit_instance;
197
+ } else {
198
+ tmp_0 = $super.xh.call(this, url, block);
199
+ }
200
+ return tmp_0;
201
+ };
202
+ protoOf(MediaGalleryBuilder).build = function () {
203
+ return new MediaGallery(VOID, this.wh_1);
204
+ };
205
+ function MediaGalleryItemBuilder(url) {
206
+ this.yh_1 = url;
207
+ this.description = null;
208
+ this.spoiler = false;
209
+ }
210
+ protoOf(MediaGalleryItemBuilder).zh = function (_set____db54di) {
211
+ this.description = _set____db54di;
212
+ };
213
+ protoOf(MediaGalleryItemBuilder).ai = function () {
214
+ return this.description;
215
+ };
216
+ protoOf(MediaGalleryItemBuilder).bi = function (_set____db54di) {
217
+ this.spoiler = _set____db54di;
218
+ };
219
+ protoOf(MediaGalleryItemBuilder).ci = function () {
220
+ return this.spoiler;
221
+ };
222
+ protoOf(MediaGalleryItemBuilder).build = function () {
223
+ return new MediaGalleryItem(new UnfurledMediaItem(this.yh_1), this.description, this.spoiler);
224
+ };
225
+ function discordComponent(block) {
226
+ var builder = new RootComponentBuilder();
227
+ block(builder);
228
+ return builder.build();
229
+ }
230
+ function ContainerContext() {
231
+ }
232
+ function SectionContext() {
233
+ }
234
+ function ActionRowContext() {
235
+ }
236
+ function RootContext() {
237
+ }
238
+ function BaseComponentBuilder() {
239
+ var tmp = this;
240
+ // Inline function 'kotlin.collections.mutableListOf' call
241
+ tmp.components = ArrayList_init_$Create$();
242
+ }
243
+ protoOf(BaseComponentBuilder).di = function () {
244
+ return this.components;
245
+ };
246
+ protoOf(BaseComponentBuilder).add = function (component) {
247
+ this.components.k(component);
248
+ };
249
+ function RootComponentBuilder$userSelect$lambda(_this__u8e3s4) {
250
+ return Unit_instance;
251
+ }
252
+ function RootComponentBuilder$roleSelect$lambda(_this__u8e3s4) {
253
+ return Unit_instance;
254
+ }
255
+ function RootComponentBuilder$mentionableSelect$lambda(_this__u8e3s4) {
256
+ return Unit_instance;
257
+ }
258
+ function RootComponentBuilder$channelSelect$lambda(_this__u8e3s4) {
259
+ return Unit_instance;
260
+ }
261
+ function RootComponentBuilder$textInput$lambda(_this__u8e3s4) {
262
+ return Unit_instance;
263
+ }
264
+ function RootComponentBuilder() {
265
+ BaseComponentBuilder.call(this);
266
+ }
267
+ protoOf(RootComponentBuilder).container = function (block) {
268
+ var builder = new ContainerBuilder();
269
+ block(builder);
270
+ this.add(builder.build());
271
+ };
272
+ protoOf(RootComponentBuilder).text = function (block) {
273
+ var builder = new TextBuilder();
274
+ block(builder);
275
+ this.add(builder.build());
276
+ };
277
+ protoOf(RootComponentBuilder).actionRow = function (block) {
278
+ var builder = new ActionRowBuilder();
279
+ block(builder);
280
+ this.add(builder.build());
281
+ };
282
+ protoOf(RootComponentBuilder).simpleSection = function (accessory, block) {
283
+ var builder = new SectionBuilder(accessory);
284
+ block(builder);
285
+ this.add(builder.build());
286
+ };
287
+ protoOf(RootComponentBuilder).section = function (accessoryBlock, block) {
288
+ var accessoryBuilder = new SectionAccessoryBuilder();
289
+ accessoryBlock(accessoryBuilder);
290
+ var tmp0_elvis_lhs = accessoryBuilder.build();
291
+ var tmp;
292
+ if (tmp0_elvis_lhs == null) {
293
+ throw IllegalStateException_init_$Create$('Section accessory must be defined');
294
+ } else {
295
+ tmp = tmp0_elvis_lhs;
296
+ }
297
+ var accessory = tmp;
298
+ var builder = new SectionBuilder(accessory);
299
+ block(builder);
300
+ this.add(builder.build());
301
+ };
302
+ protoOf(RootComponentBuilder).button = function (style, block) {
303
+ var builder = new ButtonBuilder(style);
304
+ block(builder);
305
+ this.add(builder.build());
306
+ };
307
+ protoOf(RootComponentBuilder).stringSelect = function (customId, block) {
308
+ var builder = new StringSelectBuilder(customId);
309
+ block(builder);
310
+ this.add(builder.build());
311
+ };
312
+ protoOf(RootComponentBuilder).ei = function (customId, block) {
313
+ var builder = new UserSelectBuilder(customId);
314
+ block(builder);
315
+ this.add(builder.build());
316
+ };
317
+ protoOf(RootComponentBuilder).userSelect = function (customId, block, $super) {
318
+ var tmp;
319
+ if (block === VOID) {
320
+ tmp = RootComponentBuilder$userSelect$lambda;
321
+ } else {
322
+ tmp = block;
323
+ }
324
+ block = tmp;
325
+ var tmp_0;
326
+ if ($super === VOID) {
327
+ this.ei(customId, block);
328
+ tmp_0 = Unit_instance;
329
+ } else {
330
+ tmp_0 = $super.ei.call(this, customId, block);
331
+ }
332
+ return tmp_0;
333
+ };
334
+ protoOf(RootComponentBuilder).fi = function (customId, block) {
335
+ var builder = new RoleSelectBuilder(customId);
336
+ block(builder);
337
+ this.add(builder.build());
338
+ };
339
+ protoOf(RootComponentBuilder).roleSelect = function (customId, block, $super) {
340
+ var tmp;
341
+ if (block === VOID) {
342
+ tmp = RootComponentBuilder$roleSelect$lambda;
343
+ } else {
344
+ tmp = block;
345
+ }
346
+ block = tmp;
347
+ var tmp_0;
348
+ if ($super === VOID) {
349
+ this.fi(customId, block);
350
+ tmp_0 = Unit_instance;
351
+ } else {
352
+ tmp_0 = $super.fi.call(this, customId, block);
353
+ }
354
+ return tmp_0;
355
+ };
356
+ protoOf(RootComponentBuilder).gi = function (customId, block) {
357
+ var builder = new MentionableSelectBuilder(customId);
358
+ block(builder);
359
+ this.add(builder.build());
360
+ };
361
+ protoOf(RootComponentBuilder).mentionableSelect = function (customId, block, $super) {
362
+ var tmp;
363
+ if (block === VOID) {
364
+ tmp = RootComponentBuilder$mentionableSelect$lambda;
365
+ } else {
366
+ tmp = block;
367
+ }
368
+ block = tmp;
369
+ var tmp_0;
370
+ if ($super === VOID) {
371
+ this.gi(customId, block);
372
+ tmp_0 = Unit_instance;
373
+ } else {
374
+ tmp_0 = $super.gi.call(this, customId, block);
375
+ }
376
+ return tmp_0;
377
+ };
378
+ protoOf(RootComponentBuilder).hi = function (customId, block) {
379
+ var builder = new ChannelSelectBuilder(customId);
380
+ block(builder);
381
+ this.add(builder.build());
382
+ };
383
+ protoOf(RootComponentBuilder).channelSelect = function (customId, block, $super) {
384
+ var tmp;
385
+ if (block === VOID) {
386
+ tmp = RootComponentBuilder$channelSelect$lambda;
387
+ } else {
388
+ tmp = block;
389
+ }
390
+ block = tmp;
391
+ var tmp_0;
392
+ if ($super === VOID) {
393
+ this.hi(customId, block);
394
+ tmp_0 = Unit_instance;
395
+ } else {
396
+ tmp_0 = $super.hi.call(this, customId, block);
397
+ }
398
+ return tmp_0;
399
+ };
400
+ protoOf(RootComponentBuilder).ii = function (customId, style, block) {
401
+ var builder = new TextInputBuilder(customId, style);
402
+ block(builder);
403
+ this.add(builder.build());
404
+ };
405
+ protoOf(RootComponentBuilder).textInput = function (customId, style, block, $super) {
406
+ var tmp;
407
+ if (block === VOID) {
408
+ tmp = RootComponentBuilder$textInput$lambda;
409
+ } else {
410
+ tmp = block;
411
+ }
412
+ block = tmp;
413
+ var tmp_0;
414
+ if ($super === VOID) {
415
+ this.ii(customId, style, block);
416
+ tmp_0 = Unit_instance;
417
+ } else {
418
+ tmp_0 = $super.ii.call(this, customId, style, block);
419
+ }
420
+ return tmp_0;
421
+ };
422
+ protoOf(RootComponentBuilder).ji = function (spacing, divider) {
423
+ this.add(new Separator(VOID, divider, spacing));
424
+ };
425
+ protoOf(RootComponentBuilder).separator = function (spacing, divider, $super) {
426
+ spacing = spacing === VOID ? 1 : spacing;
427
+ divider = divider === VOID ? true : divider;
428
+ var tmp;
429
+ if ($super === VOID) {
430
+ this.ji(spacing, divider);
431
+ tmp = Unit_instance;
432
+ } else {
433
+ tmp = $super.ji.call(this, spacing, divider);
434
+ }
435
+ return tmp;
436
+ };
437
+ protoOf(RootComponentBuilder).mediaGallery = function (block) {
438
+ var builder = new MediaGalleryBuilder();
439
+ block(builder);
440
+ this.add(builder.build());
441
+ };
442
+ protoOf(RootComponentBuilder).ki = function (label, component, description) {
443
+ this.add(new Label(VOID, label, description, component));
444
+ };
445
+ protoOf(RootComponentBuilder).simpleLabel = function (label, component, description, $super) {
446
+ description = description === VOID ? null : description;
447
+ var tmp;
448
+ if ($super === VOID) {
449
+ this.ki(label, component, description);
450
+ tmp = Unit_instance;
451
+ } else {
452
+ tmp = $super.ki.call(this, label, component, description);
453
+ }
454
+ return tmp;
455
+ };
456
+ protoOf(RootComponentBuilder).li = function (label, description, componentBlock) {
457
+ var componentBuilder = new LabelComponentBuilder();
458
+ componentBlock(componentBuilder);
459
+ var tmp0_elvis_lhs = componentBuilder.build();
460
+ var tmp;
461
+ if (tmp0_elvis_lhs == null) {
462
+ throw IllegalStateException_init_$Create$('Label component must be defined');
463
+ } else {
464
+ tmp = tmp0_elvis_lhs;
465
+ }
466
+ var component = tmp;
467
+ this.add(new Label(VOID, label, description, component));
468
+ };
469
+ protoOf(RootComponentBuilder).label = function (label, description, componentBlock, $super) {
470
+ description = description === VOID ? null : description;
471
+ var tmp;
472
+ if ($super === VOID) {
473
+ this.li(label, description, componentBlock);
474
+ tmp = Unit_instance;
475
+ } else {
476
+ tmp = $super.li.call(this, label, description, componentBlock);
477
+ }
478
+ return tmp;
479
+ };
480
+ protoOf(RootComponentBuilder).build = function () {
481
+ return this.components;
482
+ };
483
+ function ButtonBuilder(style) {
484
+ this.mi_1 = style;
485
+ this.label = null;
486
+ this.customId = null;
487
+ this.url = null;
488
+ this.emoji = null;
489
+ this.disabled = false;
490
+ this.skuId = null;
491
+ }
492
+ protoOf(ButtonBuilder).ni = function (_set____db54di) {
493
+ this.label = _set____db54di;
494
+ };
495
+ protoOf(ButtonBuilder).oi = function () {
496
+ return this.label;
497
+ };
498
+ protoOf(ButtonBuilder).pi = function (_set____db54di) {
499
+ this.customId = _set____db54di;
500
+ };
501
+ protoOf(ButtonBuilder).qi = function () {
502
+ return this.customId;
503
+ };
504
+ protoOf(ButtonBuilder).ri = function (_set____db54di) {
505
+ this.url = _set____db54di;
506
+ };
507
+ protoOf(ButtonBuilder).si = function () {
508
+ return this.url;
509
+ };
510
+ protoOf(ButtonBuilder).ti = function (_set____db54di) {
511
+ this.emoji = _set____db54di;
512
+ };
513
+ protoOf(ButtonBuilder).ui = function () {
514
+ return this.emoji;
515
+ };
516
+ protoOf(ButtonBuilder).vi = function (_set____db54di) {
517
+ this.disabled = _set____db54di;
518
+ };
519
+ protoOf(ButtonBuilder).wi = function () {
520
+ return this.disabled;
521
+ };
522
+ protoOf(ButtonBuilder).xi = function (_set____db54di) {
523
+ this.skuId = _set____db54di;
524
+ };
525
+ protoOf(ButtonBuilder).yi = function () {
526
+ return this.skuId;
527
+ };
528
+ protoOf(ButtonBuilder).build = function () {
529
+ return new Button(VOID, this.mi_1, this.label, this.emoji, this.customId, this.url, this.skuId, this.disabled);
530
+ };
531
+ function StringSelectBuilder$option$lambda(_this__u8e3s4) {
532
+ return Unit_instance;
533
+ }
534
+ function StringSelectBuilder(customId) {
535
+ this.zi_1 = customId;
536
+ this.placeholder = null;
537
+ this.minValues = 1;
538
+ this.maxValues = 1;
539
+ this.disabled = false;
540
+ this.required = true;
541
+ var tmp = this;
542
+ // Inline function 'kotlin.collections.mutableListOf' call
543
+ tmp.aj_1 = ArrayList_init_$Create$();
544
+ }
545
+ protoOf(StringSelectBuilder).bj = function (_set____db54di) {
546
+ this.placeholder = _set____db54di;
547
+ };
548
+ protoOf(StringSelectBuilder).cj = function () {
549
+ return this.placeholder;
550
+ };
551
+ protoOf(StringSelectBuilder).dj = function (_set____db54di) {
552
+ this.minValues = _set____db54di;
553
+ };
554
+ protoOf(StringSelectBuilder).ej = function () {
555
+ return this.minValues;
556
+ };
557
+ protoOf(StringSelectBuilder).fj = function (_set____db54di) {
558
+ this.maxValues = _set____db54di;
559
+ };
560
+ protoOf(StringSelectBuilder).gj = function () {
561
+ return this.maxValues;
562
+ };
563
+ protoOf(StringSelectBuilder).vi = function (_set____db54di) {
564
+ this.disabled = _set____db54di;
565
+ };
566
+ protoOf(StringSelectBuilder).wi = function () {
567
+ return this.disabled;
568
+ };
569
+ protoOf(StringSelectBuilder).hj = function (_set____db54di) {
570
+ this.required = _set____db54di;
571
+ };
572
+ protoOf(StringSelectBuilder).ij = function () {
573
+ return this.required;
574
+ };
575
+ protoOf(StringSelectBuilder).jj = function (label, value, block) {
576
+ var builder = new SelectOptionBuilder(label, value);
577
+ block(builder);
578
+ this.aj_1.k(builder.build());
579
+ };
580
+ protoOf(StringSelectBuilder).option = function (label, value, block, $super) {
581
+ var tmp;
582
+ if (block === VOID) {
583
+ tmp = StringSelectBuilder$option$lambda;
584
+ } else {
585
+ tmp = block;
586
+ }
587
+ block = tmp;
588
+ var tmp_0;
589
+ if ($super === VOID) {
590
+ this.jj(label, value, block);
591
+ tmp_0 = Unit_instance;
592
+ } else {
593
+ tmp_0 = $super.jj.call(this, label, value, block);
594
+ }
595
+ return tmp_0;
596
+ };
597
+ protoOf(StringSelectBuilder).build = function () {
598
+ var tmp0_customId = this.zi_1;
599
+ var tmp1_options = this.aj_1;
600
+ var tmp2_placeholder = this.placeholder;
601
+ var tmp3_minValues = this.minValues;
602
+ var tmp4_maxValues = this.maxValues;
603
+ var tmp5_disabled = this.disabled;
604
+ var tmp6_required = this.required;
605
+ return new StringSelect(VOID, tmp0_customId, tmp1_options, tmp2_placeholder, tmp3_minValues, tmp4_maxValues, tmp6_required, tmp5_disabled);
606
+ };
607
+ function SelectOptionBuilder(label, value) {
608
+ this.kj_1 = label;
609
+ this.lj_1 = value;
610
+ this.description = null;
611
+ this.emoji = null;
612
+ this.default = false;
613
+ }
614
+ protoOf(SelectOptionBuilder).zh = function (_set____db54di) {
615
+ this.description = _set____db54di;
616
+ };
617
+ protoOf(SelectOptionBuilder).ai = function () {
618
+ return this.description;
619
+ };
620
+ protoOf(SelectOptionBuilder).ti = function (_set____db54di) {
621
+ this.emoji = _set____db54di;
622
+ };
623
+ protoOf(SelectOptionBuilder).ui = function () {
624
+ return this.emoji;
625
+ };
626
+ protoOf(SelectOptionBuilder).mj = function (_set____db54di) {
627
+ this.default = _set____db54di;
628
+ };
629
+ protoOf(SelectOptionBuilder).nj = function () {
630
+ return this.default;
631
+ };
632
+ protoOf(SelectOptionBuilder).build = function () {
633
+ return new SelectOption(this.kj_1, this.lj_1, this.description, this.emoji, this.default);
634
+ };
635
+ function UserSelectBuilder(customId) {
636
+ BaseEntitySelectBuilder.call(this);
637
+ this.oj_1 = customId;
638
+ }
639
+ protoOf(UserSelectBuilder).build = function () {
640
+ return new UserSelect(VOID, this.oj_1, this.placeholder, this.minValues, this.maxValues, this.disabled, this.required, this.defaultValues);
641
+ };
642
+ function RoleSelectBuilder(customId) {
643
+ BaseEntitySelectBuilder.call(this);
644
+ this.rj_1 = customId;
645
+ }
646
+ protoOf(RoleSelectBuilder).build = function () {
647
+ return new RoleSelect(VOID, this.rj_1, this.placeholder, this.minValues, this.maxValues, this.disabled, this.required, this.defaultValues);
648
+ };
649
+ function MentionableSelectBuilder(customId) {
650
+ BaseEntitySelectBuilder.call(this);
651
+ this.sj_1 = customId;
652
+ }
653
+ protoOf(MentionableSelectBuilder).build = function () {
654
+ return new MentionableSelect(VOID, this.sj_1, this.placeholder, this.minValues, this.maxValues, this.disabled, this.required, this.defaultValues);
655
+ };
656
+ function ChannelSelectBuilder(customId) {
657
+ BaseEntitySelectBuilder.call(this);
658
+ this.tj_1 = customId;
659
+ this.channelTypes = null;
660
+ }
661
+ protoOf(ChannelSelectBuilder).uj = function (_set____db54di) {
662
+ this.channelTypes = _set____db54di;
663
+ };
664
+ protoOf(ChannelSelectBuilder).vj = function () {
665
+ return this.channelTypes;
666
+ };
667
+ protoOf(ChannelSelectBuilder).build = function () {
668
+ return new ChannelSelect(VOID, this.tj_1, this.channelTypes, this.placeholder, this.minValues, this.maxValues, this.disabled, this.required, this.defaultValues);
669
+ };
670
+ function BaseEntitySelectBuilder() {
671
+ this.placeholder = null;
672
+ this.minValues = 1;
673
+ this.maxValues = 1;
674
+ this.disabled = false;
675
+ this.required = true;
676
+ this.defaultValues = null;
677
+ }
678
+ protoOf(BaseEntitySelectBuilder).bj = function (_set____db54di) {
679
+ this.placeholder = _set____db54di;
680
+ };
681
+ protoOf(BaseEntitySelectBuilder).cj = function () {
682
+ return this.placeholder;
683
+ };
684
+ protoOf(BaseEntitySelectBuilder).dj = function (_set____db54di) {
685
+ this.minValues = _set____db54di;
686
+ };
687
+ protoOf(BaseEntitySelectBuilder).ej = function () {
688
+ return this.minValues;
689
+ };
690
+ protoOf(BaseEntitySelectBuilder).fj = function (_set____db54di) {
691
+ this.maxValues = _set____db54di;
692
+ };
693
+ protoOf(BaseEntitySelectBuilder).gj = function () {
694
+ return this.maxValues;
695
+ };
696
+ protoOf(BaseEntitySelectBuilder).vi = function (_set____db54di) {
697
+ this.disabled = _set____db54di;
698
+ };
699
+ protoOf(BaseEntitySelectBuilder).wi = function () {
700
+ return this.disabled;
701
+ };
702
+ protoOf(BaseEntitySelectBuilder).hj = function (_set____db54di) {
703
+ this.required = _set____db54di;
704
+ };
705
+ protoOf(BaseEntitySelectBuilder).ij = function () {
706
+ return this.required;
707
+ };
708
+ protoOf(BaseEntitySelectBuilder).pj = function (_set____db54di) {
709
+ this.defaultValues = _set____db54di;
710
+ };
711
+ protoOf(BaseEntitySelectBuilder).qj = function () {
712
+ return this.defaultValues;
713
+ };
714
+ function TextInputBuilder(customId, style) {
715
+ this.wj_1 = customId;
716
+ this.xj_1 = style;
717
+ this.minLength = null;
718
+ this.maxLength = null;
719
+ this.required = true;
720
+ this.value = null;
721
+ this.placeholder = null;
722
+ }
723
+ protoOf(TextInputBuilder).yj = function (_set____db54di) {
724
+ this.minLength = _set____db54di;
725
+ };
726
+ protoOf(TextInputBuilder).zj = function () {
727
+ return this.minLength;
728
+ };
729
+ protoOf(TextInputBuilder).ak = function (_set____db54di) {
730
+ this.maxLength = _set____db54di;
731
+ };
732
+ protoOf(TextInputBuilder).bk = function () {
733
+ return this.maxLength;
734
+ };
735
+ protoOf(TextInputBuilder).hj = function (_set____db54di) {
736
+ this.required = _set____db54di;
737
+ };
738
+ protoOf(TextInputBuilder).ij = function () {
739
+ return this.required;
740
+ };
741
+ protoOf(TextInputBuilder).ck = function (_set____db54di) {
742
+ this.value = _set____db54di;
743
+ };
744
+ protoOf(TextInputBuilder).n1 = function () {
745
+ return this.value;
746
+ };
747
+ protoOf(TextInputBuilder).bj = function (_set____db54di) {
748
+ this.placeholder = _set____db54di;
749
+ };
750
+ protoOf(TextInputBuilder).cj = function () {
751
+ return this.placeholder;
752
+ };
753
+ protoOf(TextInputBuilder).build = function () {
754
+ return new TextInput(VOID, this.wj_1, this.xj_1, this.minLength, this.maxLength, this.required, this.value, this.placeholder);
755
+ };
756
+ function ContainerBuilder$userSelect$lambda(_this__u8e3s4) {
757
+ return Unit_instance;
758
+ }
759
+ function ContainerBuilder$roleSelect$lambda(_this__u8e3s4) {
760
+ return Unit_instance;
761
+ }
762
+ function ContainerBuilder$mentionableSelect$lambda(_this__u8e3s4) {
763
+ return Unit_instance;
764
+ }
765
+ function ContainerBuilder$channelSelect$lambda(_this__u8e3s4) {
766
+ return Unit_instance;
767
+ }
768
+ function ContainerBuilder$textInput$lambda(_this__u8e3s4) {
769
+ return Unit_instance;
770
+ }
771
+ function ContainerBuilder() {
772
+ BaseComponentBuilder.call(this);
773
+ this.color = null;
774
+ this.spoiler = false;
775
+ }
776
+ protoOf(ContainerBuilder).dk = function (_set____db54di) {
777
+ this.color = _set____db54di;
778
+ };
779
+ protoOf(ContainerBuilder).ek = function () {
780
+ return this.color;
781
+ };
782
+ protoOf(ContainerBuilder).bi = function (_set____db54di) {
783
+ this.spoiler = _set____db54di;
784
+ };
785
+ protoOf(ContainerBuilder).ci = function () {
786
+ return this.spoiler;
787
+ };
788
+ protoOf(ContainerBuilder).text = function (block) {
789
+ var builder = new TextBuilder();
790
+ block(builder);
791
+ this.add(builder.build());
792
+ };
793
+ protoOf(ContainerBuilder).container = function (block) {
794
+ var builder = new ContainerBuilder();
795
+ block(builder);
796
+ this.add(builder.build());
797
+ };
798
+ protoOf(ContainerBuilder).button = function (style, block) {
799
+ var builder = new ButtonBuilder(style);
800
+ block(builder);
801
+ this.add(builder.build());
802
+ };
803
+ protoOf(ContainerBuilder).stringSelect = function (customId, block) {
804
+ var builder = new StringSelectBuilder(customId);
805
+ block(builder);
806
+ this.add(builder.build());
807
+ };
808
+ protoOf(ContainerBuilder).ei = function (customId, block) {
809
+ var builder = new UserSelectBuilder(customId);
810
+ block(builder);
811
+ this.add(builder.build());
812
+ };
813
+ protoOf(ContainerBuilder).userSelect = function (customId, block, $super) {
814
+ var tmp;
815
+ if (block === VOID) {
816
+ tmp = ContainerBuilder$userSelect$lambda;
817
+ } else {
818
+ tmp = block;
819
+ }
820
+ block = tmp;
821
+ var tmp_0;
822
+ if ($super === VOID) {
823
+ this.ei(customId, block);
824
+ tmp_0 = Unit_instance;
825
+ } else {
826
+ tmp_0 = $super.ei.call(this, customId, block);
827
+ }
828
+ return tmp_0;
829
+ };
830
+ protoOf(ContainerBuilder).fi = function (customId, block) {
831
+ var builder = new RoleSelectBuilder(customId);
832
+ block(builder);
833
+ this.add(builder.build());
834
+ };
835
+ protoOf(ContainerBuilder).roleSelect = function (customId, block, $super) {
836
+ var tmp;
837
+ if (block === VOID) {
838
+ tmp = ContainerBuilder$roleSelect$lambda;
839
+ } else {
840
+ tmp = block;
841
+ }
842
+ block = tmp;
843
+ var tmp_0;
844
+ if ($super === VOID) {
845
+ this.fi(customId, block);
846
+ tmp_0 = Unit_instance;
847
+ } else {
848
+ tmp_0 = $super.fi.call(this, customId, block);
849
+ }
850
+ return tmp_0;
851
+ };
852
+ protoOf(ContainerBuilder).gi = function (customId, block) {
853
+ var builder = new MentionableSelectBuilder(customId);
854
+ block(builder);
855
+ this.add(builder.build());
856
+ };
857
+ protoOf(ContainerBuilder).mentionableSelect = function (customId, block, $super) {
858
+ var tmp;
859
+ if (block === VOID) {
860
+ tmp = ContainerBuilder$mentionableSelect$lambda;
861
+ } else {
862
+ tmp = block;
863
+ }
864
+ block = tmp;
865
+ var tmp_0;
866
+ if ($super === VOID) {
867
+ this.gi(customId, block);
868
+ tmp_0 = Unit_instance;
869
+ } else {
870
+ tmp_0 = $super.gi.call(this, customId, block);
871
+ }
872
+ return tmp_0;
873
+ };
874
+ protoOf(ContainerBuilder).hi = function (customId, block) {
875
+ var builder = new ChannelSelectBuilder(customId);
876
+ block(builder);
877
+ this.add(builder.build());
878
+ };
879
+ protoOf(ContainerBuilder).channelSelect = function (customId, block, $super) {
880
+ var tmp;
881
+ if (block === VOID) {
882
+ tmp = ContainerBuilder$channelSelect$lambda;
883
+ } else {
884
+ tmp = block;
885
+ }
886
+ block = tmp;
887
+ var tmp_0;
888
+ if ($super === VOID) {
889
+ this.hi(customId, block);
890
+ tmp_0 = Unit_instance;
891
+ } else {
892
+ tmp_0 = $super.hi.call(this, customId, block);
893
+ }
894
+ return tmp_0;
895
+ };
896
+ protoOf(ContainerBuilder).ii = function (customId, style, block) {
897
+ var builder = new TextInputBuilder(customId, style);
898
+ block(builder);
899
+ this.add(builder.build());
900
+ };
901
+ protoOf(ContainerBuilder).textInput = function (customId, style, block, $super) {
902
+ var tmp;
903
+ if (block === VOID) {
904
+ tmp = ContainerBuilder$textInput$lambda;
905
+ } else {
906
+ tmp = block;
907
+ }
908
+ block = tmp;
909
+ var tmp_0;
910
+ if ($super === VOID) {
911
+ this.ii(customId, style, block);
912
+ tmp_0 = Unit_instance;
913
+ } else {
914
+ tmp_0 = $super.ii.call(this, customId, style, block);
915
+ }
916
+ return tmp_0;
917
+ };
918
+ protoOf(ContainerBuilder).ji = function (spacing, divider) {
919
+ this.add(new Separator(VOID, divider, spacing));
920
+ };
921
+ protoOf(ContainerBuilder).separator = function (spacing, divider, $super) {
922
+ spacing = spacing === VOID ? 1 : spacing;
923
+ divider = divider === VOID ? true : divider;
924
+ var tmp;
925
+ if ($super === VOID) {
926
+ this.ji(spacing, divider);
927
+ tmp = Unit_instance;
928
+ } else {
929
+ tmp = $super.ji.call(this, spacing, divider);
930
+ }
931
+ return tmp;
932
+ };
933
+ protoOf(ContainerBuilder).mediaGallery = function (block) {
934
+ var builder = new MediaGalleryBuilder();
935
+ block(builder);
936
+ this.add(builder.build());
937
+ };
938
+ protoOf(ContainerBuilder).actionRow = function (block) {
939
+ var builder = new ActionRowBuilder();
940
+ block(builder);
941
+ this.add(builder.build());
942
+ };
943
+ protoOf(ContainerBuilder).simpleSection = function (accessory, block) {
944
+ var builder = new SectionBuilder(accessory);
945
+ block(builder);
946
+ this.add(builder.build());
947
+ };
948
+ protoOf(ContainerBuilder).section = function (accessoryBlock, block) {
949
+ var accessoryBuilder = new SectionAccessoryBuilder();
950
+ accessoryBlock(accessoryBuilder);
951
+ var tmp0_elvis_lhs = accessoryBuilder.build();
952
+ var tmp;
953
+ if (tmp0_elvis_lhs == null) {
954
+ throw IllegalStateException_init_$Create$('Section accessory must be defined');
955
+ } else {
956
+ tmp = tmp0_elvis_lhs;
957
+ }
958
+ var accessory = tmp;
959
+ var builder = new SectionBuilder(accessory);
960
+ block(builder);
961
+ this.add(builder.build());
962
+ };
963
+ protoOf(ContainerBuilder).build = function () {
964
+ return new Container(VOID, this.components, this.color, this.spoiler);
965
+ };
966
+ function ActionRowBuilder$textInput$lambda(_this__u8e3s4) {
967
+ return Unit_instance;
968
+ }
969
+ function ActionRowBuilder$userSelect$lambda(_this__u8e3s4) {
970
+ return Unit_instance;
971
+ }
972
+ function ActionRowBuilder$roleSelect$lambda(_this__u8e3s4) {
973
+ return Unit_instance;
974
+ }
975
+ function ActionRowBuilder$mentionableSelect$lambda(_this__u8e3s4) {
976
+ return Unit_instance;
977
+ }
978
+ function ActionRowBuilder$channelSelect$lambda(_this__u8e3s4) {
979
+ return Unit_instance;
980
+ }
981
+ function ActionRowBuilder() {
982
+ BaseComponentBuilder.call(this);
983
+ }
984
+ protoOf(ActionRowBuilder).button = function (style, block) {
985
+ var builder = new ButtonBuilder(style);
986
+ block(builder);
987
+ this.add(builder.build());
988
+ };
989
+ protoOf(ActionRowBuilder).ii = function (customId, style, block) {
990
+ var builder = new TextInputBuilder(customId, style);
991
+ block(builder);
992
+ this.add(builder.build());
993
+ };
994
+ protoOf(ActionRowBuilder).textInput = function (customId, style, block, $super) {
995
+ var tmp;
996
+ if (block === VOID) {
997
+ tmp = ActionRowBuilder$textInput$lambda;
998
+ } else {
999
+ tmp = block;
1000
+ }
1001
+ block = tmp;
1002
+ var tmp_0;
1003
+ if ($super === VOID) {
1004
+ this.ii(customId, style, block);
1005
+ tmp_0 = Unit_instance;
1006
+ } else {
1007
+ tmp_0 = $super.ii.call(this, customId, style, block);
1008
+ }
1009
+ return tmp_0;
1010
+ };
1011
+ protoOf(ActionRowBuilder).stringSelect = function (customId, block) {
1012
+ var builder = new StringSelectBuilder(customId);
1013
+ block(builder);
1014
+ this.add(builder.build());
1015
+ };
1016
+ protoOf(ActionRowBuilder).ei = function (customId, block) {
1017
+ var builder = new UserSelectBuilder(customId);
1018
+ block(builder);
1019
+ this.add(builder.build());
1020
+ };
1021
+ protoOf(ActionRowBuilder).userSelect = function (customId, block, $super) {
1022
+ var tmp;
1023
+ if (block === VOID) {
1024
+ tmp = ActionRowBuilder$userSelect$lambda;
1025
+ } else {
1026
+ tmp = block;
1027
+ }
1028
+ block = tmp;
1029
+ var tmp_0;
1030
+ if ($super === VOID) {
1031
+ this.ei(customId, block);
1032
+ tmp_0 = Unit_instance;
1033
+ } else {
1034
+ tmp_0 = $super.ei.call(this, customId, block);
1035
+ }
1036
+ return tmp_0;
1037
+ };
1038
+ protoOf(ActionRowBuilder).fi = function (customId, block) {
1039
+ var builder = new RoleSelectBuilder(customId);
1040
+ block(builder);
1041
+ this.add(builder.build());
1042
+ };
1043
+ protoOf(ActionRowBuilder).roleSelect = function (customId, block, $super) {
1044
+ var tmp;
1045
+ if (block === VOID) {
1046
+ tmp = ActionRowBuilder$roleSelect$lambda;
1047
+ } else {
1048
+ tmp = block;
1049
+ }
1050
+ block = tmp;
1051
+ var tmp_0;
1052
+ if ($super === VOID) {
1053
+ this.fi(customId, block);
1054
+ tmp_0 = Unit_instance;
1055
+ } else {
1056
+ tmp_0 = $super.fi.call(this, customId, block);
1057
+ }
1058
+ return tmp_0;
1059
+ };
1060
+ protoOf(ActionRowBuilder).gi = function (customId, block) {
1061
+ var builder = new MentionableSelectBuilder(customId);
1062
+ block(builder);
1063
+ this.add(builder.build());
1064
+ };
1065
+ protoOf(ActionRowBuilder).mentionableSelect = function (customId, block, $super) {
1066
+ var tmp;
1067
+ if (block === VOID) {
1068
+ tmp = ActionRowBuilder$mentionableSelect$lambda;
1069
+ } else {
1070
+ tmp = block;
1071
+ }
1072
+ block = tmp;
1073
+ var tmp_0;
1074
+ if ($super === VOID) {
1075
+ this.gi(customId, block);
1076
+ tmp_0 = Unit_instance;
1077
+ } else {
1078
+ tmp_0 = $super.gi.call(this, customId, block);
1079
+ }
1080
+ return tmp_0;
1081
+ };
1082
+ protoOf(ActionRowBuilder).hi = function (customId, block) {
1083
+ var builder = new ChannelSelectBuilder(customId);
1084
+ block(builder);
1085
+ this.add(builder.build());
1086
+ };
1087
+ protoOf(ActionRowBuilder).channelSelect = function (customId, block, $super) {
1088
+ var tmp;
1089
+ if (block === VOID) {
1090
+ tmp = ActionRowBuilder$channelSelect$lambda;
1091
+ } else {
1092
+ tmp = block;
1093
+ }
1094
+ block = tmp;
1095
+ var tmp_0;
1096
+ if ($super === VOID) {
1097
+ this.hi(customId, block);
1098
+ tmp_0 = Unit_instance;
1099
+ } else {
1100
+ tmp_0 = $super.hi.call(this, customId, block);
1101
+ }
1102
+ return tmp_0;
1103
+ };
1104
+ protoOf(ActionRowBuilder).build = function () {
1105
+ return new ActionRow(VOID, this.components);
1106
+ };
1107
+ function SectionBuilder$textInput$lambda(_this__u8e3s4) {
1108
+ return Unit_instance;
1109
+ }
1110
+ function SectionBuilder(accessory) {
1111
+ BaseComponentBuilder.call(this);
1112
+ this.fk_1 = accessory;
1113
+ }
1114
+ protoOf(SectionBuilder).text = function (block) {
1115
+ var builder = new TextBuilder();
1116
+ block(builder);
1117
+ this.add(builder.build());
1118
+ };
1119
+ protoOf(SectionBuilder).button = function (style, block) {
1120
+ var builder = new ButtonBuilder(style);
1121
+ block(builder);
1122
+ this.add(builder.build());
1123
+ };
1124
+ protoOf(SectionBuilder).ii = function (customId, style, block) {
1125
+ var builder = new TextInputBuilder(customId, style);
1126
+ block(builder);
1127
+ this.add(builder.build());
1128
+ };
1129
+ protoOf(SectionBuilder).textInput = function (customId, style, block, $super) {
1130
+ var tmp;
1131
+ if (block === VOID) {
1132
+ tmp = SectionBuilder$textInput$lambda;
1133
+ } else {
1134
+ tmp = block;
1135
+ }
1136
+ block = tmp;
1137
+ var tmp_0;
1138
+ if ($super === VOID) {
1139
+ this.ii(customId, style, block);
1140
+ tmp_0 = Unit_instance;
1141
+ } else {
1142
+ tmp_0 = $super.ii.call(this, customId, style, block);
1143
+ }
1144
+ return tmp_0;
1145
+ };
1146
+ protoOf(SectionBuilder).gk = function (media, description, spoiler) {
1147
+ this.add(new Thumbnail(VOID, media, description, spoiler));
1148
+ };
1149
+ protoOf(SectionBuilder).thumbnail = function (media, description, spoiler, $super) {
1150
+ description = description === VOID ? null : description;
1151
+ spoiler = spoiler === VOID ? false : spoiler;
1152
+ var tmp;
1153
+ if ($super === VOID) {
1154
+ this.gk(media, description, spoiler);
1155
+ tmp = Unit_instance;
1156
+ } else {
1157
+ tmp = $super.gk.call(this, media, description, spoiler);
1158
+ }
1159
+ return tmp;
1160
+ };
1161
+ protoOf(SectionBuilder).build = function () {
1162
+ return new Section(VOID, this.components, this.fk_1);
1163
+ };
1164
+ function SectionAccessoryBuilder() {
1165
+ this.hk_1 = null;
1166
+ }
1167
+ protoOf(SectionAccessoryBuilder).button = function (style, block) {
1168
+ var builder = new ButtonBuilder(style);
1169
+ block(builder);
1170
+ this.hk_1 = builder.build();
1171
+ };
1172
+ protoOf(SectionAccessoryBuilder).build = function () {
1173
+ return this.hk_1;
1174
+ };
1175
+ function LabelComponentBuilder$userSelect$lambda(_this__u8e3s4) {
1176
+ return Unit_instance;
1177
+ }
1178
+ function LabelComponentBuilder$roleSelect$lambda(_this__u8e3s4) {
1179
+ return Unit_instance;
1180
+ }
1181
+ function LabelComponentBuilder$mentionableSelect$lambda(_this__u8e3s4) {
1182
+ return Unit_instance;
1183
+ }
1184
+ function LabelComponentBuilder$channelSelect$lambda(_this__u8e3s4) {
1185
+ return Unit_instance;
1186
+ }
1187
+ function LabelComponentBuilder$textInput$lambda(_this__u8e3s4) {
1188
+ return Unit_instance;
1189
+ }
1190
+ function LabelComponentBuilder() {
1191
+ this.ik_1 = null;
1192
+ }
1193
+ protoOf(LabelComponentBuilder).stringSelect = function (customId, block) {
1194
+ var builder = new StringSelectBuilder(customId);
1195
+ block(builder);
1196
+ this.ik_1 = builder.build();
1197
+ };
1198
+ protoOf(LabelComponentBuilder).ei = function (customId, block) {
1199
+ var builder = new UserSelectBuilder(customId);
1200
+ block(builder);
1201
+ this.ik_1 = builder.build();
1202
+ };
1203
+ protoOf(LabelComponentBuilder).userSelect = function (customId, block, $super) {
1204
+ var tmp;
1205
+ if (block === VOID) {
1206
+ tmp = LabelComponentBuilder$userSelect$lambda;
1207
+ } else {
1208
+ tmp = block;
1209
+ }
1210
+ block = tmp;
1211
+ var tmp_0;
1212
+ if ($super === VOID) {
1213
+ this.ei(customId, block);
1214
+ tmp_0 = Unit_instance;
1215
+ } else {
1216
+ tmp_0 = $super.ei.call(this, customId, block);
1217
+ }
1218
+ return tmp_0;
1219
+ };
1220
+ protoOf(LabelComponentBuilder).fi = function (customId, block) {
1221
+ var builder = new RoleSelectBuilder(customId);
1222
+ block(builder);
1223
+ this.ik_1 = builder.build();
1224
+ };
1225
+ protoOf(LabelComponentBuilder).roleSelect = function (customId, block, $super) {
1226
+ var tmp;
1227
+ if (block === VOID) {
1228
+ tmp = LabelComponentBuilder$roleSelect$lambda;
1229
+ } else {
1230
+ tmp = block;
1231
+ }
1232
+ block = tmp;
1233
+ var tmp_0;
1234
+ if ($super === VOID) {
1235
+ this.fi(customId, block);
1236
+ tmp_0 = Unit_instance;
1237
+ } else {
1238
+ tmp_0 = $super.fi.call(this, customId, block);
1239
+ }
1240
+ return tmp_0;
1241
+ };
1242
+ protoOf(LabelComponentBuilder).gi = function (customId, block) {
1243
+ var builder = new MentionableSelectBuilder(customId);
1244
+ block(builder);
1245
+ this.ik_1 = builder.build();
1246
+ };
1247
+ protoOf(LabelComponentBuilder).mentionableSelect = function (customId, block, $super) {
1248
+ var tmp;
1249
+ if (block === VOID) {
1250
+ tmp = LabelComponentBuilder$mentionableSelect$lambda;
1251
+ } else {
1252
+ tmp = block;
1253
+ }
1254
+ block = tmp;
1255
+ var tmp_0;
1256
+ if ($super === VOID) {
1257
+ this.gi(customId, block);
1258
+ tmp_0 = Unit_instance;
1259
+ } else {
1260
+ tmp_0 = $super.gi.call(this, customId, block);
1261
+ }
1262
+ return tmp_0;
1263
+ };
1264
+ protoOf(LabelComponentBuilder).hi = function (customId, block) {
1265
+ var builder = new ChannelSelectBuilder(customId);
1266
+ block(builder);
1267
+ this.ik_1 = builder.build();
1268
+ };
1269
+ protoOf(LabelComponentBuilder).channelSelect = function (customId, block, $super) {
1270
+ var tmp;
1271
+ if (block === VOID) {
1272
+ tmp = LabelComponentBuilder$channelSelect$lambda;
1273
+ } else {
1274
+ tmp = block;
1275
+ }
1276
+ block = tmp;
1277
+ var tmp_0;
1278
+ if ($super === VOID) {
1279
+ this.hi(customId, block);
1280
+ tmp_0 = Unit_instance;
1281
+ } else {
1282
+ tmp_0 = $super.hi.call(this, customId, block);
1283
+ }
1284
+ return tmp_0;
1285
+ };
1286
+ protoOf(LabelComponentBuilder).ii = function (customId, style, block) {
1287
+ var builder = new TextInputBuilder(customId, style);
1288
+ block(builder);
1289
+ this.ik_1 = builder.build();
1290
+ };
1291
+ protoOf(LabelComponentBuilder).textInput = function (customId, style, block, $super) {
1292
+ var tmp;
1293
+ if (block === VOID) {
1294
+ tmp = LabelComponentBuilder$textInput$lambda;
1295
+ } else {
1296
+ tmp = block;
1297
+ }
1298
+ block = tmp;
1299
+ var tmp_0;
1300
+ if ($super === VOID) {
1301
+ this.ii(customId, style, block);
1302
+ tmp_0 = Unit_instance;
1303
+ } else {
1304
+ tmp_0 = $super.ii.call(this, customId, style, block);
1305
+ }
1306
+ return tmp_0;
1307
+ };
1308
+ protoOf(LabelComponentBuilder).build = function () {
1309
+ return this.ik_1;
1310
+ };
1311
+ function Companion() {
1312
+ }
1313
+ var Companion_instance;
1314
+ function Companion_getInstance() {
1315
+ return Companion_instance;
1316
+ }
1317
+ function $serializer() {
1318
+ $serializer_instance = this;
1319
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.content.FileComponent', this, 6);
1320
+ tmp0_serialDesc.og('id', true);
1321
+ tmp0_serialDesc.og('file', false);
1322
+ tmp0_serialDesc.og('spoiler', true);
1323
+ tmp0_serialDesc.og('name', true);
1324
+ tmp0_serialDesc.og('size', true);
1325
+ tmp0_serialDesc.og('type', true);
1326
+ this.jk_1 = tmp0_serialDesc;
1327
+ }
1328
+ protoOf($serializer).ld = function () {
1329
+ return this.jk_1;
1330
+ };
1331
+ protoOf($serializer).qg = function () {
1332
+ // Inline function 'kotlin.arrayOf' call
1333
+ // Inline function 'kotlin.js.unsafeCast' call
1334
+ // Inline function 'kotlin.js.asDynamic' call
1335
+ return [get_nullable(IntSerializer_getInstance()), $serializer_getInstance_2(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), IntSerializer_getInstance()];
1336
+ };
1337
+ var $serializer_instance;
1338
+ function $serializer_getInstance() {
1339
+ if ($serializer_instance == null)
1340
+ new $serializer();
1341
+ return $serializer_instance;
1342
+ }
1343
+ function FileComponent(id, file, spoiler, name, size) {
1344
+ id = id === VOID ? null : id;
1345
+ spoiler = spoiler === VOID ? false : spoiler;
1346
+ name = name === VOID ? null : name;
1347
+ size = size === VOID ? null : size;
1348
+ this.kk_1 = id;
1349
+ this.file = file;
1350
+ this.spoiler = spoiler;
1351
+ this.name = name;
1352
+ this.size = size;
1353
+ this.lk_1 = 13;
1354
+ }
1355
+ protoOf(FileComponent).mk = function () {
1356
+ return this.kk_1;
1357
+ };
1358
+ protoOf(FileComponent).nk = function () {
1359
+ return this.file;
1360
+ };
1361
+ protoOf(FileComponent).ci = function () {
1362
+ return this.spoiler;
1363
+ };
1364
+ protoOf(FileComponent).ok = function () {
1365
+ return this.name;
1366
+ };
1367
+ protoOf(FileComponent).j = function () {
1368
+ return this.size;
1369
+ };
1370
+ protoOf(FileComponent).pk = function () {
1371
+ return this.lk_1;
1372
+ };
1373
+ protoOf(FileComponent).r9 = function () {
1374
+ return this.kk_1;
1375
+ };
1376
+ protoOf(FileComponent).s9 = function () {
1377
+ return this.file;
1378
+ };
1379
+ protoOf(FileComponent).qk = function () {
1380
+ return this.spoiler;
1381
+ };
1382
+ protoOf(FileComponent).rk = function () {
1383
+ return this.name;
1384
+ };
1385
+ protoOf(FileComponent).sk = function () {
1386
+ return this.size;
1387
+ };
1388
+ protoOf(FileComponent).tk = function (id, file, spoiler, name, size) {
1389
+ return new FileComponent(id, file, spoiler, name, size);
1390
+ };
1391
+ protoOf(FileComponent).copy = function (id, file, spoiler, name, size, $super) {
1392
+ id = id === VOID ? this.kk_1 : id;
1393
+ file = file === VOID ? this.file : file;
1394
+ spoiler = spoiler === VOID ? this.spoiler : spoiler;
1395
+ name = name === VOID ? this.name : name;
1396
+ size = size === VOID ? this.size : size;
1397
+ return $super === VOID ? this.tk(id, file, spoiler, name, size) : $super.tk.call(this, id, file, spoiler, name, size);
1398
+ };
1399
+ protoOf(FileComponent).toString = function () {
1400
+ return 'FileComponent(id=' + this.kk_1 + ', file=' + this.file.toString() + ', spoiler=' + this.spoiler + ', name=' + this.name + ', size=' + this.size + ')';
1401
+ };
1402
+ protoOf(FileComponent).hashCode = function () {
1403
+ var result = this.kk_1 == null ? 0 : this.kk_1;
1404
+ result = imul(result, 31) + this.file.hashCode() | 0;
1405
+ result = imul(result, 31) + getBooleanHashCode(this.spoiler) | 0;
1406
+ result = imul(result, 31) + (this.name == null ? 0 : getStringHashCode(this.name)) | 0;
1407
+ result = imul(result, 31) + (this.size == null ? 0 : this.size) | 0;
1408
+ return result;
1409
+ };
1410
+ protoOf(FileComponent).equals = function (other) {
1411
+ if (this === other)
1412
+ return true;
1413
+ if (!(other instanceof FileComponent))
1414
+ return false;
1415
+ if (!(this.kk_1 == other.kk_1))
1416
+ return false;
1417
+ if (!this.file.equals(other.file))
1418
+ return false;
1419
+ if (!(this.spoiler === other.spoiler))
1420
+ return false;
1421
+ if (!(this.name == other.name))
1422
+ return false;
1423
+ if (!(this.size == other.size))
1424
+ return false;
1425
+ return true;
1426
+ };
1427
+ function MediaGallery$Companion$$childSerializers$_anonymous__inxqak() {
1428
+ return new ArrayListSerializer($serializer_getInstance_1());
1429
+ }
1430
+ function Companion_0() {
1431
+ Companion_instance_0 = this;
1432
+ var tmp = this;
1433
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1434
+ // Inline function 'kotlin.arrayOf' call
1435
+ // Inline function 'kotlin.js.unsafeCast' call
1436
+ // Inline function 'kotlin.js.asDynamic' call
1437
+ tmp.uk_1 = [null, lazy(tmp_0, MediaGallery$Companion$$childSerializers$_anonymous__inxqak), null];
1438
+ }
1439
+ var Companion_instance_0;
1440
+ function Companion_getInstance_0() {
1441
+ if (Companion_instance_0 == null)
1442
+ new Companion_0();
1443
+ return Companion_instance_0;
1444
+ }
1445
+ function $serializer_0() {
1446
+ $serializer_instance_0 = this;
1447
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.content.MediaGallery', this, 3);
1448
+ tmp0_serialDesc.og('id', true);
1449
+ tmp0_serialDesc.og('items', false);
1450
+ tmp0_serialDesc.og('type', true);
1451
+ this.vk_1 = tmp0_serialDesc;
1452
+ }
1453
+ protoOf($serializer_0).ld = function () {
1454
+ return this.vk_1;
1455
+ };
1456
+ protoOf($serializer_0).qg = function () {
1457
+ var tmp0_cached = Companion_getInstance_0().uk_1;
1458
+ // Inline function 'kotlin.arrayOf' call
1459
+ // Inline function 'kotlin.js.unsafeCast' call
1460
+ // Inline function 'kotlin.js.asDynamic' call
1461
+ return [get_nullable(IntSerializer_getInstance()), tmp0_cached[1].n1(), IntSerializer_getInstance()];
1462
+ };
1463
+ var $serializer_instance_0;
1464
+ function $serializer_getInstance_0() {
1465
+ if ($serializer_instance_0 == null)
1466
+ new $serializer_0();
1467
+ return $serializer_instance_0;
1468
+ }
1469
+ function MediaGallery(id, items) {
1470
+ Companion_getInstance_0();
1471
+ id = id === VOID ? null : id;
1472
+ this.wk_1 = id;
1473
+ this.items = items;
1474
+ this.xk_1 = 12;
1475
+ }
1476
+ protoOf(MediaGallery).mk = function () {
1477
+ return this.wk_1;
1478
+ };
1479
+ protoOf(MediaGallery).yk = function () {
1480
+ return this.items;
1481
+ };
1482
+ protoOf(MediaGallery).pk = function () {
1483
+ return this.xk_1;
1484
+ };
1485
+ protoOf(MediaGallery).r9 = function () {
1486
+ return this.wk_1;
1487
+ };
1488
+ protoOf(MediaGallery).s9 = function () {
1489
+ return this.items;
1490
+ };
1491
+ protoOf(MediaGallery).zk = function (id, items) {
1492
+ return new MediaGallery(id, items);
1493
+ };
1494
+ protoOf(MediaGallery).copy = function (id, items, $super) {
1495
+ id = id === VOID ? this.wk_1 : id;
1496
+ items = items === VOID ? this.items : items;
1497
+ return $super === VOID ? this.zk(id, items) : $super.zk.call(this, id, items);
1498
+ };
1499
+ protoOf(MediaGallery).toString = function () {
1500
+ return 'MediaGallery(id=' + this.wk_1 + ', items=' + toString(this.items) + ')';
1501
+ };
1502
+ protoOf(MediaGallery).hashCode = function () {
1503
+ var result = this.wk_1 == null ? 0 : this.wk_1;
1504
+ result = imul(result, 31) + hashCode(this.items) | 0;
1505
+ return result;
1506
+ };
1507
+ protoOf(MediaGallery).equals = function (other) {
1508
+ if (this === other)
1509
+ return true;
1510
+ if (!(other instanceof MediaGallery))
1511
+ return false;
1512
+ if (!(this.wk_1 == other.wk_1))
1513
+ return false;
1514
+ if (!equals(this.items, other.items))
1515
+ return false;
1516
+ return true;
1517
+ };
1518
+ function Companion_1() {
1519
+ }
1520
+ var Companion_instance_1;
1521
+ function Companion_getInstance_1() {
1522
+ return Companion_instance_1;
1523
+ }
1524
+ function $serializer_1() {
1525
+ $serializer_instance_1 = this;
1526
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.content.MediaGalleryItem', this, 3);
1527
+ tmp0_serialDesc.og('media', false);
1528
+ tmp0_serialDesc.og('description', true);
1529
+ tmp0_serialDesc.og('spoiler', true);
1530
+ this.al_1 = tmp0_serialDesc;
1531
+ }
1532
+ protoOf($serializer_1).ld = function () {
1533
+ return this.al_1;
1534
+ };
1535
+ protoOf($serializer_1).qg = function () {
1536
+ // Inline function 'kotlin.arrayOf' call
1537
+ // Inline function 'kotlin.js.unsafeCast' call
1538
+ // Inline function 'kotlin.js.asDynamic' call
1539
+ return [$serializer_getInstance_2(), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance()];
1540
+ };
1541
+ var $serializer_instance_1;
1542
+ function $serializer_getInstance_1() {
1543
+ if ($serializer_instance_1 == null)
1544
+ new $serializer_1();
1545
+ return $serializer_instance_1;
1546
+ }
1547
+ function MediaGalleryItem(media, description, spoiler) {
1548
+ description = description === VOID ? null : description;
1549
+ spoiler = spoiler === VOID ? false : spoiler;
1550
+ this.media = media;
1551
+ this.description = description;
1552
+ this.spoiler = spoiler;
1553
+ }
1554
+ protoOf(MediaGalleryItem).bl = function () {
1555
+ return this.media;
1556
+ };
1557
+ protoOf(MediaGalleryItem).ai = function () {
1558
+ return this.description;
1559
+ };
1560
+ protoOf(MediaGalleryItem).ci = function () {
1561
+ return this.spoiler;
1562
+ };
1563
+ protoOf(MediaGalleryItem).r9 = function () {
1564
+ return this.media;
1565
+ };
1566
+ protoOf(MediaGalleryItem).s9 = function () {
1567
+ return this.description;
1568
+ };
1569
+ protoOf(MediaGalleryItem).qk = function () {
1570
+ return this.spoiler;
1571
+ };
1572
+ protoOf(MediaGalleryItem).cl = function (media, description, spoiler) {
1573
+ return new MediaGalleryItem(media, description, spoiler);
1574
+ };
1575
+ protoOf(MediaGalleryItem).copy = function (media, description, spoiler, $super) {
1576
+ media = media === VOID ? this.media : media;
1577
+ description = description === VOID ? this.description : description;
1578
+ spoiler = spoiler === VOID ? this.spoiler : spoiler;
1579
+ return $super === VOID ? this.cl(media, description, spoiler) : $super.cl.call(this, media, description, spoiler);
1580
+ };
1581
+ protoOf(MediaGalleryItem).toString = function () {
1582
+ return 'MediaGalleryItem(media=' + this.media.toString() + ', description=' + this.description + ', spoiler=' + this.spoiler + ')';
1583
+ };
1584
+ protoOf(MediaGalleryItem).hashCode = function () {
1585
+ var result = this.media.hashCode();
1586
+ result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
1587
+ result = imul(result, 31) + getBooleanHashCode(this.spoiler) | 0;
1588
+ return result;
1589
+ };
1590
+ protoOf(MediaGalleryItem).equals = function (other) {
1591
+ if (this === other)
1592
+ return true;
1593
+ if (!(other instanceof MediaGalleryItem))
1594
+ return false;
1595
+ if (!this.media.equals(other.media))
1596
+ return false;
1597
+ if (!(this.description == other.description))
1598
+ return false;
1599
+ if (!(this.spoiler === other.spoiler))
1600
+ return false;
1601
+ return true;
1602
+ };
1603
+ function Companion_2() {
1604
+ }
1605
+ var Companion_instance_2;
1606
+ function Companion_getInstance_2() {
1607
+ return Companion_instance_2;
1608
+ }
1609
+ function $serializer_2() {
1610
+ $serializer_instance_2 = this;
1611
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.content.UnfurledMediaItem', this, 6);
1612
+ tmp0_serialDesc.og('url', false);
1613
+ tmp0_serialDesc.og('proxy_url', true);
1614
+ tmp0_serialDesc.og('height', true);
1615
+ tmp0_serialDesc.og('width', true);
1616
+ tmp0_serialDesc.og('content_type', true);
1617
+ tmp0_serialDesc.og('attachment_id', true);
1618
+ this.dl_1 = tmp0_serialDesc;
1619
+ }
1620
+ protoOf($serializer_2).ld = function () {
1621
+ return this.dl_1;
1622
+ };
1623
+ protoOf($serializer_2).qg = function () {
1624
+ // Inline function 'kotlin.arrayOf' call
1625
+ // Inline function 'kotlin.js.unsafeCast' call
1626
+ // Inline function 'kotlin.js.asDynamic' call
1627
+ return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
1628
+ };
1629
+ var $serializer_instance_2;
1630
+ function $serializer_getInstance_2() {
1631
+ if ($serializer_instance_2 == null)
1632
+ new $serializer_2();
1633
+ return $serializer_instance_2;
1634
+ }
1635
+ function UnfurledMediaItem(url, proxyUrl, height, width, contentType, attachmentId) {
1636
+ proxyUrl = proxyUrl === VOID ? null : proxyUrl;
1637
+ height = height === VOID ? null : height;
1638
+ width = width === VOID ? null : width;
1639
+ contentType = contentType === VOID ? null : contentType;
1640
+ attachmentId = attachmentId === VOID ? null : attachmentId;
1641
+ this.url = url;
1642
+ this.proxyUrl = proxyUrl;
1643
+ this.height = height;
1644
+ this.width = width;
1645
+ this.contentType = contentType;
1646
+ this.attachmentId = attachmentId;
1647
+ }
1648
+ protoOf(UnfurledMediaItem).si = function () {
1649
+ return this.url;
1650
+ };
1651
+ protoOf(UnfurledMediaItem).el = function () {
1652
+ return this.proxyUrl;
1653
+ };
1654
+ protoOf(UnfurledMediaItem).fl = function () {
1655
+ return this.height;
1656
+ };
1657
+ protoOf(UnfurledMediaItem).gl = function () {
1658
+ return this.width;
1659
+ };
1660
+ protoOf(UnfurledMediaItem).hl = function () {
1661
+ return this.contentType;
1662
+ };
1663
+ protoOf(UnfurledMediaItem).il = function () {
1664
+ return this.attachmentId;
1665
+ };
1666
+ protoOf(UnfurledMediaItem).r9 = function () {
1667
+ return this.url;
1668
+ };
1669
+ protoOf(UnfurledMediaItem).s9 = function () {
1670
+ return this.proxyUrl;
1671
+ };
1672
+ protoOf(UnfurledMediaItem).qk = function () {
1673
+ return this.height;
1674
+ };
1675
+ protoOf(UnfurledMediaItem).rk = function () {
1676
+ return this.width;
1677
+ };
1678
+ protoOf(UnfurledMediaItem).sk = function () {
1679
+ return this.contentType;
1680
+ };
1681
+ protoOf(UnfurledMediaItem).jl = function () {
1682
+ return this.attachmentId;
1683
+ };
1684
+ protoOf(UnfurledMediaItem).kl = function (url, proxyUrl, height, width, contentType, attachmentId) {
1685
+ return new UnfurledMediaItem(url, proxyUrl, height, width, contentType, attachmentId);
1686
+ };
1687
+ protoOf(UnfurledMediaItem).copy = function (url, proxyUrl, height, width, contentType, attachmentId, $super) {
1688
+ url = url === VOID ? this.url : url;
1689
+ proxyUrl = proxyUrl === VOID ? this.proxyUrl : proxyUrl;
1690
+ height = height === VOID ? this.height : height;
1691
+ width = width === VOID ? this.width : width;
1692
+ contentType = contentType === VOID ? this.contentType : contentType;
1693
+ attachmentId = attachmentId === VOID ? this.attachmentId : attachmentId;
1694
+ return $super === VOID ? this.kl(url, proxyUrl, height, width, contentType, attachmentId) : $super.kl.call(this, url, proxyUrl, height, width, contentType, attachmentId);
1695
+ };
1696
+ protoOf(UnfurledMediaItem).toString = function () {
1697
+ return 'UnfurledMediaItem(url=' + this.url + ', proxyUrl=' + this.proxyUrl + ', height=' + this.height + ', width=' + this.width + ', contentType=' + this.contentType + ', attachmentId=' + this.attachmentId + ')';
1698
+ };
1699
+ protoOf(UnfurledMediaItem).hashCode = function () {
1700
+ var result = getStringHashCode(this.url);
1701
+ result = imul(result, 31) + (this.proxyUrl == null ? 0 : getStringHashCode(this.proxyUrl)) | 0;
1702
+ result = imul(result, 31) + (this.height == null ? 0 : this.height) | 0;
1703
+ result = imul(result, 31) + (this.width == null ? 0 : this.width) | 0;
1704
+ result = imul(result, 31) + (this.contentType == null ? 0 : getStringHashCode(this.contentType)) | 0;
1705
+ result = imul(result, 31) + (this.attachmentId == null ? 0 : getStringHashCode(this.attachmentId)) | 0;
1706
+ return result;
1707
+ };
1708
+ protoOf(UnfurledMediaItem).equals = function (other) {
1709
+ if (this === other)
1710
+ return true;
1711
+ if (!(other instanceof UnfurledMediaItem))
1712
+ return false;
1713
+ if (!(this.url === other.url))
1714
+ return false;
1715
+ if (!(this.proxyUrl == other.proxyUrl))
1716
+ return false;
1717
+ if (!(this.height == other.height))
1718
+ return false;
1719
+ if (!(this.width == other.width))
1720
+ return false;
1721
+ if (!(this.contentType == other.contentType))
1722
+ return false;
1723
+ if (!(this.attachmentId == other.attachmentId))
1724
+ return false;
1725
+ return true;
1726
+ };
1727
+ function Companion_3() {
1728
+ }
1729
+ var Companion_instance_3;
1730
+ function Companion_getInstance_3() {
1731
+ return Companion_instance_3;
1732
+ }
1733
+ function $serializer_3() {
1734
+ $serializer_instance_3 = this;
1735
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.content.TextDisplay', this, 3);
1736
+ tmp0_serialDesc.og('id', true);
1737
+ tmp0_serialDesc.og('content', false);
1738
+ tmp0_serialDesc.og('type', true);
1739
+ this.ll_1 = tmp0_serialDesc;
1740
+ }
1741
+ protoOf($serializer_3).ld = function () {
1742
+ return this.ll_1;
1743
+ };
1744
+ protoOf($serializer_3).qg = function () {
1745
+ // Inline function 'kotlin.arrayOf' call
1746
+ // Inline function 'kotlin.js.unsafeCast' call
1747
+ // Inline function 'kotlin.js.asDynamic' call
1748
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), IntSerializer_getInstance()];
1749
+ };
1750
+ var $serializer_instance_3;
1751
+ function $serializer_getInstance_3() {
1752
+ if ($serializer_instance_3 == null)
1753
+ new $serializer_3();
1754
+ return $serializer_instance_3;
1755
+ }
1756
+ function TextDisplay(id, content) {
1757
+ id = id === VOID ? null : id;
1758
+ this.ml_1 = id;
1759
+ this.content = content;
1760
+ this.nl_1 = 10;
1761
+ }
1762
+ protoOf(TextDisplay).mk = function () {
1763
+ return this.ml_1;
1764
+ };
1765
+ protoOf(TextDisplay).vh = function () {
1766
+ return this.content;
1767
+ };
1768
+ protoOf(TextDisplay).pk = function () {
1769
+ return this.nl_1;
1770
+ };
1771
+ protoOf(TextDisplay).r9 = function () {
1772
+ return this.ml_1;
1773
+ };
1774
+ protoOf(TextDisplay).s9 = function () {
1775
+ return this.content;
1776
+ };
1777
+ protoOf(TextDisplay).ol = function (id, content) {
1778
+ return new TextDisplay(id, content);
1779
+ };
1780
+ protoOf(TextDisplay).copy = function (id, content, $super) {
1781
+ id = id === VOID ? this.ml_1 : id;
1782
+ content = content === VOID ? this.content : content;
1783
+ return $super === VOID ? this.ol(id, content) : $super.ol.call(this, id, content);
1784
+ };
1785
+ protoOf(TextDisplay).toString = function () {
1786
+ return 'TextDisplay(id=' + this.ml_1 + ', content=' + this.content + ')';
1787
+ };
1788
+ protoOf(TextDisplay).hashCode = function () {
1789
+ var result = this.ml_1 == null ? 0 : this.ml_1;
1790
+ result = imul(result, 31) + getStringHashCode(this.content) | 0;
1791
+ return result;
1792
+ };
1793
+ protoOf(TextDisplay).equals = function (other) {
1794
+ if (this === other)
1795
+ return true;
1796
+ if (!(other instanceof TextDisplay))
1797
+ return false;
1798
+ if (!(this.ml_1 == other.ml_1))
1799
+ return false;
1800
+ if (!(this.content === other.content))
1801
+ return false;
1802
+ return true;
1803
+ };
1804
+ function Companion_4() {
1805
+ }
1806
+ var Companion_instance_4;
1807
+ function Companion_getInstance_4() {
1808
+ return Companion_instance_4;
1809
+ }
1810
+ function $serializer_4() {
1811
+ $serializer_instance_4 = this;
1812
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.content.Thumbnail', this, 5);
1813
+ tmp0_serialDesc.og('id', true);
1814
+ tmp0_serialDesc.og('media', false);
1815
+ tmp0_serialDesc.og('description', true);
1816
+ tmp0_serialDesc.og('spoiler', true);
1817
+ tmp0_serialDesc.og('type', true);
1818
+ this.pl_1 = tmp0_serialDesc;
1819
+ }
1820
+ protoOf($serializer_4).ld = function () {
1821
+ return this.pl_1;
1822
+ };
1823
+ protoOf($serializer_4).qg = function () {
1824
+ // Inline function 'kotlin.arrayOf' call
1825
+ // Inline function 'kotlin.js.unsafeCast' call
1826
+ // Inline function 'kotlin.js.asDynamic' call
1827
+ return [get_nullable(IntSerializer_getInstance()), $serializer_getInstance_2(), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance(), IntSerializer_getInstance()];
1828
+ };
1829
+ var $serializer_instance_4;
1830
+ function $serializer_getInstance_4() {
1831
+ if ($serializer_instance_4 == null)
1832
+ new $serializer_4();
1833
+ return $serializer_instance_4;
1834
+ }
1835
+ function Thumbnail(id, media, description, spoiler) {
1836
+ id = id === VOID ? null : id;
1837
+ description = description === VOID ? null : description;
1838
+ spoiler = spoiler === VOID ? false : spoiler;
1839
+ this.ql_1 = id;
1840
+ this.media = media;
1841
+ this.description = description;
1842
+ this.spoiler = spoiler;
1843
+ this.rl_1 = 11;
1844
+ }
1845
+ protoOf(Thumbnail).mk = function () {
1846
+ return this.ql_1;
1847
+ };
1848
+ protoOf(Thumbnail).bl = function () {
1849
+ return this.media;
1850
+ };
1851
+ protoOf(Thumbnail).ai = function () {
1852
+ return this.description;
1853
+ };
1854
+ protoOf(Thumbnail).ci = function () {
1855
+ return this.spoiler;
1856
+ };
1857
+ protoOf(Thumbnail).pk = function () {
1858
+ return this.rl_1;
1859
+ };
1860
+ protoOf(Thumbnail).r9 = function () {
1861
+ return this.ql_1;
1862
+ };
1863
+ protoOf(Thumbnail).s9 = function () {
1864
+ return this.media;
1865
+ };
1866
+ protoOf(Thumbnail).qk = function () {
1867
+ return this.description;
1868
+ };
1869
+ protoOf(Thumbnail).rk = function () {
1870
+ return this.spoiler;
1871
+ };
1872
+ protoOf(Thumbnail).sl = function (id, media, description, spoiler) {
1873
+ return new Thumbnail(id, media, description, spoiler);
1874
+ };
1875
+ protoOf(Thumbnail).copy = function (id, media, description, spoiler, $super) {
1876
+ id = id === VOID ? this.ql_1 : id;
1877
+ media = media === VOID ? this.media : media;
1878
+ description = description === VOID ? this.description : description;
1879
+ spoiler = spoiler === VOID ? this.spoiler : spoiler;
1880
+ return $super === VOID ? this.sl(id, media, description, spoiler) : $super.sl.call(this, id, media, description, spoiler);
1881
+ };
1882
+ protoOf(Thumbnail).toString = function () {
1883
+ return 'Thumbnail(id=' + this.ql_1 + ', media=' + this.media.toString() + ', description=' + this.description + ', spoiler=' + this.spoiler + ')';
1884
+ };
1885
+ protoOf(Thumbnail).hashCode = function () {
1886
+ var result = this.ql_1 == null ? 0 : this.ql_1;
1887
+ result = imul(result, 31) + this.media.hashCode() | 0;
1888
+ result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
1889
+ result = imul(result, 31) + getBooleanHashCode(this.spoiler) | 0;
1890
+ return result;
1891
+ };
1892
+ protoOf(Thumbnail).equals = function (other) {
1893
+ if (this === other)
1894
+ return true;
1895
+ if (!(other instanceof Thumbnail))
1896
+ return false;
1897
+ if (!(this.ql_1 == other.ql_1))
1898
+ return false;
1899
+ if (!this.media.equals(other.media))
1900
+ return false;
1901
+ if (!(this.description == other.description))
1902
+ return false;
1903
+ if (!(this.spoiler === other.spoiler))
1904
+ return false;
1905
+ return true;
1906
+ };
1907
+ function Companion_5() {
1908
+ }
1909
+ var Companion_instance_5;
1910
+ function Companion_getInstance_5() {
1911
+ return Companion_instance_5;
1912
+ }
1913
+ function $serializer_5() {
1914
+ $serializer_instance_5 = this;
1915
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.Button', this, 9);
1916
+ tmp0_serialDesc.og('id', true);
1917
+ tmp0_serialDesc.og('style', false);
1918
+ tmp0_serialDesc.og('label', true);
1919
+ tmp0_serialDesc.og('emoji', true);
1920
+ tmp0_serialDesc.og('custom_id', true);
1921
+ tmp0_serialDesc.og('url', true);
1922
+ tmp0_serialDesc.og('sku_id', true);
1923
+ tmp0_serialDesc.og('disabled', true);
1924
+ tmp0_serialDesc.og('type', true);
1925
+ this.tl_1 = tmp0_serialDesc;
1926
+ }
1927
+ protoOf($serializer_5).ld = function () {
1928
+ return this.tl_1;
1929
+ };
1930
+ protoOf($serializer_5).qg = function () {
1931
+ // Inline function 'kotlin.arrayOf' call
1932
+ // Inline function 'kotlin.js.unsafeCast' call
1933
+ // Inline function 'kotlin.js.asDynamic' call
1934
+ return [get_nullable(IntSerializer_getInstance()), IntSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_20()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance(), IntSerializer_getInstance()];
1935
+ };
1936
+ var $serializer_instance_5;
1937
+ function $serializer_getInstance_5() {
1938
+ if ($serializer_instance_5 == null)
1939
+ new $serializer_5();
1940
+ return $serializer_instance_5;
1941
+ }
1942
+ function Button(id, style, label, emoji, customId, url, skuId, disabled) {
1943
+ id = id === VOID ? null : id;
1944
+ label = label === VOID ? null : label;
1945
+ emoji = emoji === VOID ? null : emoji;
1946
+ customId = customId === VOID ? null : customId;
1947
+ url = url === VOID ? null : url;
1948
+ skuId = skuId === VOID ? null : skuId;
1949
+ disabled = disabled === VOID ? false : disabled;
1950
+ this.ul_1 = id;
1951
+ this.style = style;
1952
+ this.label = label;
1953
+ this.emoji = emoji;
1954
+ this.customId = customId;
1955
+ this.url = url;
1956
+ this.skuId = skuId;
1957
+ this.disabled = disabled;
1958
+ this.vl_1 = 2;
1959
+ }
1960
+ protoOf(Button).mk = function () {
1961
+ return this.ul_1;
1962
+ };
1963
+ protoOf(Button).wl = function () {
1964
+ return this.style;
1965
+ };
1966
+ protoOf(Button).oi = function () {
1967
+ return this.label;
1968
+ };
1969
+ protoOf(Button).ui = function () {
1970
+ return this.emoji;
1971
+ };
1972
+ protoOf(Button).qi = function () {
1973
+ return this.customId;
1974
+ };
1975
+ protoOf(Button).si = function () {
1976
+ return this.url;
1977
+ };
1978
+ protoOf(Button).yi = function () {
1979
+ return this.skuId;
1980
+ };
1981
+ protoOf(Button).wi = function () {
1982
+ return this.disabled;
1983
+ };
1984
+ protoOf(Button).pk = function () {
1985
+ return this.vl_1;
1986
+ };
1987
+ protoOf(Button).r9 = function () {
1988
+ return this.ul_1;
1989
+ };
1990
+ protoOf(Button).s9 = function () {
1991
+ return this.style;
1992
+ };
1993
+ protoOf(Button).qk = function () {
1994
+ return this.label;
1995
+ };
1996
+ protoOf(Button).rk = function () {
1997
+ return this.emoji;
1998
+ };
1999
+ protoOf(Button).sk = function () {
2000
+ return this.customId;
2001
+ };
2002
+ protoOf(Button).jl = function () {
2003
+ return this.url;
2004
+ };
2005
+ protoOf(Button).xl = function () {
2006
+ return this.skuId;
2007
+ };
2008
+ protoOf(Button).yl = function () {
2009
+ return this.disabled;
2010
+ };
2011
+ protoOf(Button).zl = function (id, style, label, emoji, customId, url, skuId, disabled) {
2012
+ return new Button(id, style, label, emoji, customId, url, skuId, disabled);
2013
+ };
2014
+ protoOf(Button).copy = function (id, style, label, emoji, customId, url, skuId, disabled, $super) {
2015
+ id = id === VOID ? this.ul_1 : id;
2016
+ style = style === VOID ? this.style : style;
2017
+ label = label === VOID ? this.label : label;
2018
+ emoji = emoji === VOID ? this.emoji : emoji;
2019
+ customId = customId === VOID ? this.customId : customId;
2020
+ url = url === VOID ? this.url : url;
2021
+ skuId = skuId === VOID ? this.skuId : skuId;
2022
+ disabled = disabled === VOID ? this.disabled : disabled;
2023
+ return $super === VOID ? this.zl(id, style, label, emoji, customId, url, skuId, disabled) : $super.zl.call(this, id, style, label, emoji, customId, url, skuId, disabled);
2024
+ };
2025
+ protoOf(Button).toString = function () {
2026
+ return 'Button(id=' + this.ul_1 + ', style=' + this.style + ', label=' + this.label + ', emoji=' + toString_0(this.emoji) + ', customId=' + this.customId + ', url=' + this.url + ', skuId=' + this.skuId + ', disabled=' + this.disabled + ')';
2027
+ };
2028
+ protoOf(Button).hashCode = function () {
2029
+ var result = this.ul_1 == null ? 0 : this.ul_1;
2030
+ result = imul(result, 31) + this.style | 0;
2031
+ result = imul(result, 31) + (this.label == null ? 0 : getStringHashCode(this.label)) | 0;
2032
+ result = imul(result, 31) + (this.emoji == null ? 0 : this.emoji.hashCode()) | 0;
2033
+ result = imul(result, 31) + (this.customId == null ? 0 : getStringHashCode(this.customId)) | 0;
2034
+ result = imul(result, 31) + (this.url == null ? 0 : getStringHashCode(this.url)) | 0;
2035
+ result = imul(result, 31) + (this.skuId == null ? 0 : getStringHashCode(this.skuId)) | 0;
2036
+ result = imul(result, 31) + getBooleanHashCode(this.disabled) | 0;
2037
+ return result;
2038
+ };
2039
+ protoOf(Button).equals = function (other) {
2040
+ if (this === other)
2041
+ return true;
2042
+ if (!(other instanceof Button))
2043
+ return false;
2044
+ if (!(this.ul_1 == other.ul_1))
2045
+ return false;
2046
+ if (!(this.style === other.style))
2047
+ return false;
2048
+ if (!(this.label == other.label))
2049
+ return false;
2050
+ if (!equals(this.emoji, other.emoji))
2051
+ return false;
2052
+ if (!(this.customId == other.customId))
2053
+ return false;
2054
+ if (!(this.url == other.url))
2055
+ return false;
2056
+ if (!(this.skuId == other.skuId))
2057
+ return false;
2058
+ if (!(this.disabled === other.disabled))
2059
+ return false;
2060
+ return true;
2061
+ };
2062
+ function ButtonStyles() {
2063
+ this.PRIMARY = 1;
2064
+ this.SECONDARY = 2;
2065
+ this.SUCCESS = 3;
2066
+ this.DANGER = 4;
2067
+ this.LINK = 5;
2068
+ this.PREMIUM = 6;
2069
+ }
2070
+ protoOf(ButtonStyles).am = function () {
2071
+ return this.PRIMARY;
2072
+ };
2073
+ protoOf(ButtonStyles).bm = function () {
2074
+ return this.SECONDARY;
2075
+ };
2076
+ protoOf(ButtonStyles).cm = function () {
2077
+ return this.SUCCESS;
2078
+ };
2079
+ protoOf(ButtonStyles).dm = function () {
2080
+ return this.DANGER;
2081
+ };
2082
+ protoOf(ButtonStyles).em = function () {
2083
+ return this.LINK;
2084
+ };
2085
+ protoOf(ButtonStyles).fm = function () {
2086
+ return this.PREMIUM;
2087
+ };
2088
+ var ButtonStyles_instance;
2089
+ function ButtonStyles_getInstance() {
2090
+ return ButtonStyles_instance;
2091
+ }
2092
+ function BaseEntitySelect$Companion$_anonymous__xbhavz() {
2093
+ var tmp = getKClass(BaseEntitySelect);
2094
+ // Inline function 'kotlin.arrayOf' call
2095
+ // Inline function 'kotlin.js.unsafeCast' call
2096
+ // Inline function 'kotlin.js.asDynamic' call
2097
+ var tmp$ret$2 = [];
2098
+ return PolymorphicSerializer_init_$Create$(tmp, tmp$ret$2);
2099
+ }
2100
+ function Companion_6() {
2101
+ Companion_instance_6 = this;
2102
+ var tmp = this;
2103
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2104
+ tmp.gm_1 = lazy(tmp_0, BaseEntitySelect$Companion$_anonymous__xbhavz);
2105
+ }
2106
+ var Companion_instance_6;
2107
+ function Companion_getInstance_6() {
2108
+ if (Companion_instance_6 == null)
2109
+ new Companion_6();
2110
+ return Companion_instance_6;
2111
+ }
2112
+ function BaseEntitySelect() {
2113
+ Companion_getInstance_6();
2114
+ }
2115
+ function UserSelect$Companion$$childSerializers$_anonymous__enlx8d() {
2116
+ return new ArrayListSerializer($serializer_getInstance_10());
2117
+ }
2118
+ function Companion_7() {
2119
+ Companion_instance_7 = this;
2120
+ var tmp = this;
2121
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2122
+ // Inline function 'kotlin.arrayOf' call
2123
+ // Inline function 'kotlin.js.unsafeCast' call
2124
+ // Inline function 'kotlin.js.asDynamic' call
2125
+ tmp.hm_1 = [null, null, null, null, null, null, null, lazy(tmp_0, UserSelect$Companion$$childSerializers$_anonymous__enlx8d), null];
2126
+ }
2127
+ var Companion_instance_7;
2128
+ function Companion_getInstance_7() {
2129
+ if (Companion_instance_7 == null)
2130
+ new Companion_7();
2131
+ return Companion_instance_7;
2132
+ }
2133
+ function $serializer_6() {
2134
+ $serializer_instance_6 = this;
2135
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.UserSelect', this, 9);
2136
+ tmp0_serialDesc.og('id', true);
2137
+ tmp0_serialDesc.og('custom_id', false);
2138
+ tmp0_serialDesc.og('placeholder', true);
2139
+ tmp0_serialDesc.og('min_values', true);
2140
+ tmp0_serialDesc.og('max_values', true);
2141
+ tmp0_serialDesc.og('disabled', true);
2142
+ tmp0_serialDesc.og('required', true);
2143
+ tmp0_serialDesc.og('default_values', true);
2144
+ tmp0_serialDesc.og('type', true);
2145
+ this.im_1 = tmp0_serialDesc;
2146
+ }
2147
+ protoOf($serializer_6).ld = function () {
2148
+ return this.im_1;
2149
+ };
2150
+ protoOf($serializer_6).qg = function () {
2151
+ var tmp0_cached = Companion_getInstance_7().hm_1;
2152
+ // Inline function 'kotlin.arrayOf' call
2153
+ // Inline function 'kotlin.js.unsafeCast' call
2154
+ // Inline function 'kotlin.js.asDynamic' call
2155
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(tmp0_cached[7].n1()), IntSerializer_getInstance()];
2156
+ };
2157
+ var $serializer_instance_6;
2158
+ function $serializer_getInstance_6() {
2159
+ if ($serializer_instance_6 == null)
2160
+ new $serializer_6();
2161
+ return $serializer_instance_6;
2162
+ }
2163
+ function UserSelect(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2164
+ Companion_getInstance_7();
2165
+ id = id === VOID ? null : id;
2166
+ placeholder = placeholder === VOID ? null : placeholder;
2167
+ minValues = minValues === VOID ? 1 : minValues;
2168
+ maxValues = maxValues === VOID ? 1 : maxValues;
2169
+ disabled = disabled === VOID ? false : disabled;
2170
+ required = required === VOID ? true : required;
2171
+ defaultValues = defaultValues === VOID ? null : defaultValues;
2172
+ BaseEntitySelect.call(this);
2173
+ this.jm_1 = id;
2174
+ this.km_1 = customId;
2175
+ this.lm_1 = placeholder;
2176
+ this.mm_1 = minValues;
2177
+ this.nm_1 = maxValues;
2178
+ this.om_1 = disabled;
2179
+ this.pm_1 = required;
2180
+ this.qm_1 = defaultValues;
2181
+ this.rm_1 = 5;
2182
+ }
2183
+ protoOf(UserSelect).mk = function () {
2184
+ return this.jm_1;
2185
+ };
2186
+ protoOf(UserSelect).qi = function () {
2187
+ return this.km_1;
2188
+ };
2189
+ protoOf(UserSelect).cj = function () {
2190
+ return this.lm_1;
2191
+ };
2192
+ protoOf(UserSelect).ej = function () {
2193
+ return this.mm_1;
2194
+ };
2195
+ protoOf(UserSelect).gj = function () {
2196
+ return this.nm_1;
2197
+ };
2198
+ protoOf(UserSelect).wi = function () {
2199
+ return this.om_1;
2200
+ };
2201
+ protoOf(UserSelect).ij = function () {
2202
+ return this.pm_1;
2203
+ };
2204
+ protoOf(UserSelect).qj = function () {
2205
+ return this.qm_1;
2206
+ };
2207
+ protoOf(UserSelect).pk = function () {
2208
+ return this.rm_1;
2209
+ };
2210
+ protoOf(UserSelect).r9 = function () {
2211
+ return this.jm_1;
2212
+ };
2213
+ protoOf(UserSelect).s9 = function () {
2214
+ return this.km_1;
2215
+ };
2216
+ protoOf(UserSelect).qk = function () {
2217
+ return this.lm_1;
2218
+ };
2219
+ protoOf(UserSelect).rk = function () {
2220
+ return this.mm_1;
2221
+ };
2222
+ protoOf(UserSelect).sk = function () {
2223
+ return this.nm_1;
2224
+ };
2225
+ protoOf(UserSelect).jl = function () {
2226
+ return this.om_1;
2227
+ };
2228
+ protoOf(UserSelect).xl = function () {
2229
+ return this.pm_1;
2230
+ };
2231
+ protoOf(UserSelect).yl = function () {
2232
+ return this.qm_1;
2233
+ };
2234
+ protoOf(UserSelect).sm = function (id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2235
+ return new UserSelect(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues);
2236
+ };
2237
+ protoOf(UserSelect).copy = function (id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues, $super) {
2238
+ id = id === VOID ? this.jm_1 : id;
2239
+ customId = customId === VOID ? this.km_1 : customId;
2240
+ placeholder = placeholder === VOID ? this.lm_1 : placeholder;
2241
+ minValues = minValues === VOID ? this.mm_1 : minValues;
2242
+ maxValues = maxValues === VOID ? this.nm_1 : maxValues;
2243
+ disabled = disabled === VOID ? this.om_1 : disabled;
2244
+ required = required === VOID ? this.pm_1 : required;
2245
+ defaultValues = defaultValues === VOID ? this.qm_1 : defaultValues;
2246
+ return $super === VOID ? this.sm(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) : $super.sm.call(this, id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues);
2247
+ };
2248
+ protoOf(UserSelect).toString = function () {
2249
+ return 'UserSelect(id=' + this.jm_1 + ', customId=' + this.km_1 + ', placeholder=' + this.lm_1 + ', minValues=' + this.mm_1 + ', maxValues=' + this.nm_1 + ', disabled=' + this.om_1 + ', required=' + this.pm_1 + ', defaultValues=' + toString_0(this.qm_1) + ')';
2250
+ };
2251
+ protoOf(UserSelect).hashCode = function () {
2252
+ var result = this.jm_1 == null ? 0 : this.jm_1;
2253
+ result = imul(result, 31) + getStringHashCode(this.km_1) | 0;
2254
+ result = imul(result, 31) + (this.lm_1 == null ? 0 : getStringHashCode(this.lm_1)) | 0;
2255
+ result = imul(result, 31) + this.mm_1 | 0;
2256
+ result = imul(result, 31) + this.nm_1 | 0;
2257
+ result = imul(result, 31) + getBooleanHashCode(this.om_1) | 0;
2258
+ result = imul(result, 31) + getBooleanHashCode(this.pm_1) | 0;
2259
+ result = imul(result, 31) + (this.qm_1 == null ? 0 : hashCode(this.qm_1)) | 0;
2260
+ return result;
2261
+ };
2262
+ protoOf(UserSelect).equals = function (other) {
2263
+ if (this === other)
2264
+ return true;
2265
+ if (!(other instanceof UserSelect))
2266
+ return false;
2267
+ if (!(this.jm_1 == other.jm_1))
2268
+ return false;
2269
+ if (!(this.km_1 === other.km_1))
2270
+ return false;
2271
+ if (!(this.lm_1 == other.lm_1))
2272
+ return false;
2273
+ if (!(this.mm_1 === other.mm_1))
2274
+ return false;
2275
+ if (!(this.nm_1 === other.nm_1))
2276
+ return false;
2277
+ if (!(this.om_1 === other.om_1))
2278
+ return false;
2279
+ if (!(this.pm_1 === other.pm_1))
2280
+ return false;
2281
+ if (!equals(this.qm_1, other.qm_1))
2282
+ return false;
2283
+ return true;
2284
+ };
2285
+ function RoleSelect$Companion$$childSerializers$_anonymous__9sbvc() {
2286
+ return new ArrayListSerializer($serializer_getInstance_10());
2287
+ }
2288
+ function Companion_8() {
2289
+ Companion_instance_8 = this;
2290
+ var tmp = this;
2291
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2292
+ // Inline function 'kotlin.arrayOf' call
2293
+ // Inline function 'kotlin.js.unsafeCast' call
2294
+ // Inline function 'kotlin.js.asDynamic' call
2295
+ tmp.tm_1 = [null, null, null, null, null, null, null, lazy(tmp_0, RoleSelect$Companion$$childSerializers$_anonymous__9sbvc), null];
2296
+ }
2297
+ var Companion_instance_8;
2298
+ function Companion_getInstance_8() {
2299
+ if (Companion_instance_8 == null)
2300
+ new Companion_8();
2301
+ return Companion_instance_8;
2302
+ }
2303
+ function $serializer_7() {
2304
+ $serializer_instance_7 = this;
2305
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.RoleSelect', this, 9);
2306
+ tmp0_serialDesc.og('id', true);
2307
+ tmp0_serialDesc.og('custom_id', false);
2308
+ tmp0_serialDesc.og('placeholder', true);
2309
+ tmp0_serialDesc.og('min_values', true);
2310
+ tmp0_serialDesc.og('max_values', true);
2311
+ tmp0_serialDesc.og('disabled', true);
2312
+ tmp0_serialDesc.og('required', true);
2313
+ tmp0_serialDesc.og('default_values', true);
2314
+ tmp0_serialDesc.og('type', true);
2315
+ this.um_1 = tmp0_serialDesc;
2316
+ }
2317
+ protoOf($serializer_7).ld = function () {
2318
+ return this.um_1;
2319
+ };
2320
+ protoOf($serializer_7).qg = function () {
2321
+ var tmp0_cached = Companion_getInstance_8().tm_1;
2322
+ // Inline function 'kotlin.arrayOf' call
2323
+ // Inline function 'kotlin.js.unsafeCast' call
2324
+ // Inline function 'kotlin.js.asDynamic' call
2325
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(tmp0_cached[7].n1()), IntSerializer_getInstance()];
2326
+ };
2327
+ var $serializer_instance_7;
2328
+ function $serializer_getInstance_7() {
2329
+ if ($serializer_instance_7 == null)
2330
+ new $serializer_7();
2331
+ return $serializer_instance_7;
2332
+ }
2333
+ function RoleSelect(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2334
+ Companion_getInstance_8();
2335
+ id = id === VOID ? null : id;
2336
+ placeholder = placeholder === VOID ? null : placeholder;
2337
+ minValues = minValues === VOID ? 1 : minValues;
2338
+ maxValues = maxValues === VOID ? 1 : maxValues;
2339
+ disabled = disabled === VOID ? false : disabled;
2340
+ required = required === VOID ? true : required;
2341
+ defaultValues = defaultValues === VOID ? null : defaultValues;
2342
+ BaseEntitySelect.call(this);
2343
+ this.vm_1 = id;
2344
+ this.wm_1 = customId;
2345
+ this.xm_1 = placeholder;
2346
+ this.ym_1 = minValues;
2347
+ this.zm_1 = maxValues;
2348
+ this.an_1 = disabled;
2349
+ this.bn_1 = required;
2350
+ this.cn_1 = defaultValues;
2351
+ this.dn_1 = 6;
2352
+ }
2353
+ protoOf(RoleSelect).mk = function () {
2354
+ return this.vm_1;
2355
+ };
2356
+ protoOf(RoleSelect).qi = function () {
2357
+ return this.wm_1;
2358
+ };
2359
+ protoOf(RoleSelect).cj = function () {
2360
+ return this.xm_1;
2361
+ };
2362
+ protoOf(RoleSelect).ej = function () {
2363
+ return this.ym_1;
2364
+ };
2365
+ protoOf(RoleSelect).gj = function () {
2366
+ return this.zm_1;
2367
+ };
2368
+ protoOf(RoleSelect).wi = function () {
2369
+ return this.an_1;
2370
+ };
2371
+ protoOf(RoleSelect).ij = function () {
2372
+ return this.bn_1;
2373
+ };
2374
+ protoOf(RoleSelect).qj = function () {
2375
+ return this.cn_1;
2376
+ };
2377
+ protoOf(RoleSelect).pk = function () {
2378
+ return this.dn_1;
2379
+ };
2380
+ protoOf(RoleSelect).r9 = function () {
2381
+ return this.vm_1;
2382
+ };
2383
+ protoOf(RoleSelect).s9 = function () {
2384
+ return this.wm_1;
2385
+ };
2386
+ protoOf(RoleSelect).qk = function () {
2387
+ return this.xm_1;
2388
+ };
2389
+ protoOf(RoleSelect).rk = function () {
2390
+ return this.ym_1;
2391
+ };
2392
+ protoOf(RoleSelect).sk = function () {
2393
+ return this.zm_1;
2394
+ };
2395
+ protoOf(RoleSelect).jl = function () {
2396
+ return this.an_1;
2397
+ };
2398
+ protoOf(RoleSelect).xl = function () {
2399
+ return this.bn_1;
2400
+ };
2401
+ protoOf(RoleSelect).yl = function () {
2402
+ return this.cn_1;
2403
+ };
2404
+ protoOf(RoleSelect).sm = function (id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2405
+ return new RoleSelect(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues);
2406
+ };
2407
+ protoOf(RoleSelect).copy = function (id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues, $super) {
2408
+ id = id === VOID ? this.vm_1 : id;
2409
+ customId = customId === VOID ? this.wm_1 : customId;
2410
+ placeholder = placeholder === VOID ? this.xm_1 : placeholder;
2411
+ minValues = minValues === VOID ? this.ym_1 : minValues;
2412
+ maxValues = maxValues === VOID ? this.zm_1 : maxValues;
2413
+ disabled = disabled === VOID ? this.an_1 : disabled;
2414
+ required = required === VOID ? this.bn_1 : required;
2415
+ defaultValues = defaultValues === VOID ? this.cn_1 : defaultValues;
2416
+ return $super === VOID ? this.sm(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) : $super.sm.call(this, id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues);
2417
+ };
2418
+ protoOf(RoleSelect).toString = function () {
2419
+ return 'RoleSelect(id=' + this.vm_1 + ', customId=' + this.wm_1 + ', placeholder=' + this.xm_1 + ', minValues=' + this.ym_1 + ', maxValues=' + this.zm_1 + ', disabled=' + this.an_1 + ', required=' + this.bn_1 + ', defaultValues=' + toString_0(this.cn_1) + ')';
2420
+ };
2421
+ protoOf(RoleSelect).hashCode = function () {
2422
+ var result = this.vm_1 == null ? 0 : this.vm_1;
2423
+ result = imul(result, 31) + getStringHashCode(this.wm_1) | 0;
2424
+ result = imul(result, 31) + (this.xm_1 == null ? 0 : getStringHashCode(this.xm_1)) | 0;
2425
+ result = imul(result, 31) + this.ym_1 | 0;
2426
+ result = imul(result, 31) + this.zm_1 | 0;
2427
+ result = imul(result, 31) + getBooleanHashCode(this.an_1) | 0;
2428
+ result = imul(result, 31) + getBooleanHashCode(this.bn_1) | 0;
2429
+ result = imul(result, 31) + (this.cn_1 == null ? 0 : hashCode(this.cn_1)) | 0;
2430
+ return result;
2431
+ };
2432
+ protoOf(RoleSelect).equals = function (other) {
2433
+ if (this === other)
2434
+ return true;
2435
+ if (!(other instanceof RoleSelect))
2436
+ return false;
2437
+ if (!(this.vm_1 == other.vm_1))
2438
+ return false;
2439
+ if (!(this.wm_1 === other.wm_1))
2440
+ return false;
2441
+ if (!(this.xm_1 == other.xm_1))
2442
+ return false;
2443
+ if (!(this.ym_1 === other.ym_1))
2444
+ return false;
2445
+ if (!(this.zm_1 === other.zm_1))
2446
+ return false;
2447
+ if (!(this.an_1 === other.an_1))
2448
+ return false;
2449
+ if (!(this.bn_1 === other.bn_1))
2450
+ return false;
2451
+ if (!equals(this.cn_1, other.cn_1))
2452
+ return false;
2453
+ return true;
2454
+ };
2455
+ function MentionableSelect$Companion$$childSerializers$_anonymous__qqux2u() {
2456
+ return new ArrayListSerializer($serializer_getInstance_10());
2457
+ }
2458
+ function Companion_9() {
2459
+ Companion_instance_9 = this;
2460
+ var tmp = this;
2461
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2462
+ // Inline function 'kotlin.arrayOf' call
2463
+ // Inline function 'kotlin.js.unsafeCast' call
2464
+ // Inline function 'kotlin.js.asDynamic' call
2465
+ tmp.en_1 = [null, null, null, null, null, null, null, lazy(tmp_0, MentionableSelect$Companion$$childSerializers$_anonymous__qqux2u), null];
2466
+ }
2467
+ var Companion_instance_9;
2468
+ function Companion_getInstance_9() {
2469
+ if (Companion_instance_9 == null)
2470
+ new Companion_9();
2471
+ return Companion_instance_9;
2472
+ }
2473
+ function $serializer_8() {
2474
+ $serializer_instance_8 = this;
2475
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.MentionableSelect', this, 9);
2476
+ tmp0_serialDesc.og('id', true);
2477
+ tmp0_serialDesc.og('custom_id', false);
2478
+ tmp0_serialDesc.og('placeholder', true);
2479
+ tmp0_serialDesc.og('min_values', true);
2480
+ tmp0_serialDesc.og('max_values', true);
2481
+ tmp0_serialDesc.og('disabled', true);
2482
+ tmp0_serialDesc.og('required', true);
2483
+ tmp0_serialDesc.og('default_values', true);
2484
+ tmp0_serialDesc.og('type', true);
2485
+ this.fn_1 = tmp0_serialDesc;
2486
+ }
2487
+ protoOf($serializer_8).ld = function () {
2488
+ return this.fn_1;
2489
+ };
2490
+ protoOf($serializer_8).qg = function () {
2491
+ var tmp0_cached = Companion_getInstance_9().en_1;
2492
+ // Inline function 'kotlin.arrayOf' call
2493
+ // Inline function 'kotlin.js.unsafeCast' call
2494
+ // Inline function 'kotlin.js.asDynamic' call
2495
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(tmp0_cached[7].n1()), IntSerializer_getInstance()];
2496
+ };
2497
+ var $serializer_instance_8;
2498
+ function $serializer_getInstance_8() {
2499
+ if ($serializer_instance_8 == null)
2500
+ new $serializer_8();
2501
+ return $serializer_instance_8;
2502
+ }
2503
+ function MentionableSelect(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2504
+ Companion_getInstance_9();
2505
+ id = id === VOID ? null : id;
2506
+ placeholder = placeholder === VOID ? null : placeholder;
2507
+ minValues = minValues === VOID ? 1 : minValues;
2508
+ maxValues = maxValues === VOID ? 1 : maxValues;
2509
+ disabled = disabled === VOID ? false : disabled;
2510
+ required = required === VOID ? true : required;
2511
+ defaultValues = defaultValues === VOID ? null : defaultValues;
2512
+ BaseEntitySelect.call(this);
2513
+ this.gn_1 = id;
2514
+ this.hn_1 = customId;
2515
+ this.in_1 = placeholder;
2516
+ this.jn_1 = minValues;
2517
+ this.kn_1 = maxValues;
2518
+ this.ln_1 = disabled;
2519
+ this.mn_1 = required;
2520
+ this.nn_1 = defaultValues;
2521
+ this.on_1 = 7;
2522
+ }
2523
+ protoOf(MentionableSelect).mk = function () {
2524
+ return this.gn_1;
2525
+ };
2526
+ protoOf(MentionableSelect).qi = function () {
2527
+ return this.hn_1;
2528
+ };
2529
+ protoOf(MentionableSelect).cj = function () {
2530
+ return this.in_1;
2531
+ };
2532
+ protoOf(MentionableSelect).ej = function () {
2533
+ return this.jn_1;
2534
+ };
2535
+ protoOf(MentionableSelect).gj = function () {
2536
+ return this.kn_1;
2537
+ };
2538
+ protoOf(MentionableSelect).wi = function () {
2539
+ return this.ln_1;
2540
+ };
2541
+ protoOf(MentionableSelect).ij = function () {
2542
+ return this.mn_1;
2543
+ };
2544
+ protoOf(MentionableSelect).qj = function () {
2545
+ return this.nn_1;
2546
+ };
2547
+ protoOf(MentionableSelect).pk = function () {
2548
+ return this.on_1;
2549
+ };
2550
+ protoOf(MentionableSelect).r9 = function () {
2551
+ return this.gn_1;
2552
+ };
2553
+ protoOf(MentionableSelect).s9 = function () {
2554
+ return this.hn_1;
2555
+ };
2556
+ protoOf(MentionableSelect).qk = function () {
2557
+ return this.in_1;
2558
+ };
2559
+ protoOf(MentionableSelect).rk = function () {
2560
+ return this.jn_1;
2561
+ };
2562
+ protoOf(MentionableSelect).sk = function () {
2563
+ return this.kn_1;
2564
+ };
2565
+ protoOf(MentionableSelect).jl = function () {
2566
+ return this.ln_1;
2567
+ };
2568
+ protoOf(MentionableSelect).xl = function () {
2569
+ return this.mn_1;
2570
+ };
2571
+ protoOf(MentionableSelect).yl = function () {
2572
+ return this.nn_1;
2573
+ };
2574
+ protoOf(MentionableSelect).sm = function (id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2575
+ return new MentionableSelect(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues);
2576
+ };
2577
+ protoOf(MentionableSelect).copy = function (id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues, $super) {
2578
+ id = id === VOID ? this.gn_1 : id;
2579
+ customId = customId === VOID ? this.hn_1 : customId;
2580
+ placeholder = placeholder === VOID ? this.in_1 : placeholder;
2581
+ minValues = minValues === VOID ? this.jn_1 : minValues;
2582
+ maxValues = maxValues === VOID ? this.kn_1 : maxValues;
2583
+ disabled = disabled === VOID ? this.ln_1 : disabled;
2584
+ required = required === VOID ? this.mn_1 : required;
2585
+ defaultValues = defaultValues === VOID ? this.nn_1 : defaultValues;
2586
+ return $super === VOID ? this.sm(id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues) : $super.sm.call(this, id, customId, placeholder, minValues, maxValues, disabled, required, defaultValues);
2587
+ };
2588
+ protoOf(MentionableSelect).toString = function () {
2589
+ return 'MentionableSelect(id=' + this.gn_1 + ', customId=' + this.hn_1 + ', placeholder=' + this.in_1 + ', minValues=' + this.jn_1 + ', maxValues=' + this.kn_1 + ', disabled=' + this.ln_1 + ', required=' + this.mn_1 + ', defaultValues=' + toString_0(this.nn_1) + ')';
2590
+ };
2591
+ protoOf(MentionableSelect).hashCode = function () {
2592
+ var result = this.gn_1 == null ? 0 : this.gn_1;
2593
+ result = imul(result, 31) + getStringHashCode(this.hn_1) | 0;
2594
+ result = imul(result, 31) + (this.in_1 == null ? 0 : getStringHashCode(this.in_1)) | 0;
2595
+ result = imul(result, 31) + this.jn_1 | 0;
2596
+ result = imul(result, 31) + this.kn_1 | 0;
2597
+ result = imul(result, 31) + getBooleanHashCode(this.ln_1) | 0;
2598
+ result = imul(result, 31) + getBooleanHashCode(this.mn_1) | 0;
2599
+ result = imul(result, 31) + (this.nn_1 == null ? 0 : hashCode(this.nn_1)) | 0;
2600
+ return result;
2601
+ };
2602
+ protoOf(MentionableSelect).equals = function (other) {
2603
+ if (this === other)
2604
+ return true;
2605
+ if (!(other instanceof MentionableSelect))
2606
+ return false;
2607
+ if (!(this.gn_1 == other.gn_1))
2608
+ return false;
2609
+ if (!(this.hn_1 === other.hn_1))
2610
+ return false;
2611
+ if (!(this.in_1 == other.in_1))
2612
+ return false;
2613
+ if (!(this.jn_1 === other.jn_1))
2614
+ return false;
2615
+ if (!(this.kn_1 === other.kn_1))
2616
+ return false;
2617
+ if (!(this.ln_1 === other.ln_1))
2618
+ return false;
2619
+ if (!(this.mn_1 === other.mn_1))
2620
+ return false;
2621
+ if (!equals(this.nn_1, other.nn_1))
2622
+ return false;
2623
+ return true;
2624
+ };
2625
+ function ChannelSelect$Companion$$childSerializers$_anonymous__h6cu45() {
2626
+ return new ArrayListSerializer(IntSerializer_getInstance());
2627
+ }
2628
+ function ChannelSelect$Companion$$childSerializers$_anonymous__h6cu45_0() {
2629
+ return new ArrayListSerializer($serializer_getInstance_10());
2630
+ }
2631
+ function Companion_10() {
2632
+ Companion_instance_10 = this;
2633
+ var tmp = this;
2634
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2635
+ var tmp_1 = lazy(tmp_0, ChannelSelect$Companion$$childSerializers$_anonymous__h6cu45);
2636
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2637
+ // Inline function 'kotlin.arrayOf' call
2638
+ // Inline function 'kotlin.js.unsafeCast' call
2639
+ // Inline function 'kotlin.js.asDynamic' call
2640
+ tmp.pn_1 = [null, null, tmp_1, null, null, null, null, null, lazy(tmp_2, ChannelSelect$Companion$$childSerializers$_anonymous__h6cu45_0), null];
2641
+ }
2642
+ var Companion_instance_10;
2643
+ function Companion_getInstance_10() {
2644
+ if (Companion_instance_10 == null)
2645
+ new Companion_10();
2646
+ return Companion_instance_10;
2647
+ }
2648
+ function $serializer_9() {
2649
+ $serializer_instance_9 = this;
2650
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.ChannelSelect', this, 10);
2651
+ tmp0_serialDesc.og('id', true);
2652
+ tmp0_serialDesc.og('custom_id', false);
2653
+ tmp0_serialDesc.og('channel_types', true);
2654
+ tmp0_serialDesc.og('placeholder', true);
2655
+ tmp0_serialDesc.og('min_values', true);
2656
+ tmp0_serialDesc.og('max_values', true);
2657
+ tmp0_serialDesc.og('disabled', true);
2658
+ tmp0_serialDesc.og('required', true);
2659
+ tmp0_serialDesc.og('default_values', true);
2660
+ tmp0_serialDesc.og('type', true);
2661
+ this.qn_1 = tmp0_serialDesc;
2662
+ }
2663
+ protoOf($serializer_9).ld = function () {
2664
+ return this.qn_1;
2665
+ };
2666
+ protoOf($serializer_9).qg = function () {
2667
+ var tmp0_cached = Companion_getInstance_10().pn_1;
2668
+ // Inline function 'kotlin.arrayOf' call
2669
+ // Inline function 'kotlin.js.unsafeCast' call
2670
+ // Inline function 'kotlin.js.asDynamic' call
2671
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(tmp0_cached[2].n1()), get_nullable(StringSerializer_getInstance()), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(tmp0_cached[8].n1()), IntSerializer_getInstance()];
2672
+ };
2673
+ var $serializer_instance_9;
2674
+ function $serializer_getInstance_9() {
2675
+ if ($serializer_instance_9 == null)
2676
+ new $serializer_9();
2677
+ return $serializer_instance_9;
2678
+ }
2679
+ function ChannelSelect(id, customId, channelTypes, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2680
+ Companion_getInstance_10();
2681
+ id = id === VOID ? null : id;
2682
+ channelTypes = channelTypes === VOID ? null : channelTypes;
2683
+ placeholder = placeholder === VOID ? null : placeholder;
2684
+ minValues = minValues === VOID ? 1 : minValues;
2685
+ maxValues = maxValues === VOID ? 1 : maxValues;
2686
+ disabled = disabled === VOID ? false : disabled;
2687
+ required = required === VOID ? true : required;
2688
+ defaultValues = defaultValues === VOID ? null : defaultValues;
2689
+ BaseEntitySelect.call(this);
2690
+ this.rn_1 = id;
2691
+ this.sn_1 = customId;
2692
+ this.channelTypes = channelTypes;
2693
+ this.tn_1 = placeholder;
2694
+ this.un_1 = minValues;
2695
+ this.vn_1 = maxValues;
2696
+ this.wn_1 = disabled;
2697
+ this.xn_1 = required;
2698
+ this.yn_1 = defaultValues;
2699
+ this.zn_1 = 8;
2700
+ }
2701
+ protoOf(ChannelSelect).mk = function () {
2702
+ return this.rn_1;
2703
+ };
2704
+ protoOf(ChannelSelect).qi = function () {
2705
+ return this.sn_1;
2706
+ };
2707
+ protoOf(ChannelSelect).vj = function () {
2708
+ return this.channelTypes;
2709
+ };
2710
+ protoOf(ChannelSelect).cj = function () {
2711
+ return this.tn_1;
2712
+ };
2713
+ protoOf(ChannelSelect).ej = function () {
2714
+ return this.un_1;
2715
+ };
2716
+ protoOf(ChannelSelect).gj = function () {
2717
+ return this.vn_1;
2718
+ };
2719
+ protoOf(ChannelSelect).wi = function () {
2720
+ return this.wn_1;
2721
+ };
2722
+ protoOf(ChannelSelect).ij = function () {
2723
+ return this.xn_1;
2724
+ };
2725
+ protoOf(ChannelSelect).qj = function () {
2726
+ return this.yn_1;
2727
+ };
2728
+ protoOf(ChannelSelect).pk = function () {
2729
+ return this.zn_1;
2730
+ };
2731
+ protoOf(ChannelSelect).r9 = function () {
2732
+ return this.rn_1;
2733
+ };
2734
+ protoOf(ChannelSelect).s9 = function () {
2735
+ return this.sn_1;
2736
+ };
2737
+ protoOf(ChannelSelect).qk = function () {
2738
+ return this.channelTypes;
2739
+ };
2740
+ protoOf(ChannelSelect).rk = function () {
2741
+ return this.tn_1;
2742
+ };
2743
+ protoOf(ChannelSelect).sk = function () {
2744
+ return this.un_1;
2745
+ };
2746
+ protoOf(ChannelSelect).jl = function () {
2747
+ return this.vn_1;
2748
+ };
2749
+ protoOf(ChannelSelect).xl = function () {
2750
+ return this.wn_1;
2751
+ };
2752
+ protoOf(ChannelSelect).yl = function () {
2753
+ return this.xn_1;
2754
+ };
2755
+ protoOf(ChannelSelect).ao = function () {
2756
+ return this.yn_1;
2757
+ };
2758
+ protoOf(ChannelSelect).bo = function (id, customId, channelTypes, placeholder, minValues, maxValues, disabled, required, defaultValues) {
2759
+ return new ChannelSelect(id, customId, channelTypes, placeholder, minValues, maxValues, disabled, required, defaultValues);
2760
+ };
2761
+ protoOf(ChannelSelect).copy = function (id, customId, channelTypes, placeholder, minValues, maxValues, disabled, required, defaultValues, $super) {
2762
+ id = id === VOID ? this.rn_1 : id;
2763
+ customId = customId === VOID ? this.sn_1 : customId;
2764
+ channelTypes = channelTypes === VOID ? this.channelTypes : channelTypes;
2765
+ placeholder = placeholder === VOID ? this.tn_1 : placeholder;
2766
+ minValues = minValues === VOID ? this.un_1 : minValues;
2767
+ maxValues = maxValues === VOID ? this.vn_1 : maxValues;
2768
+ disabled = disabled === VOID ? this.wn_1 : disabled;
2769
+ required = required === VOID ? this.xn_1 : required;
2770
+ defaultValues = defaultValues === VOID ? this.yn_1 : defaultValues;
2771
+ return $super === VOID ? this.bo(id, customId, channelTypes, placeholder, minValues, maxValues, disabled, required, defaultValues) : $super.bo.call(this, id, customId, channelTypes, placeholder, minValues, maxValues, disabled, required, defaultValues);
2772
+ };
2773
+ protoOf(ChannelSelect).toString = function () {
2774
+ return 'ChannelSelect(id=' + this.rn_1 + ', customId=' + this.sn_1 + ', channelTypes=' + toString_0(this.channelTypes) + ', placeholder=' + this.tn_1 + ', minValues=' + this.un_1 + ', maxValues=' + this.vn_1 + ', disabled=' + this.wn_1 + ', required=' + this.xn_1 + ', defaultValues=' + toString_0(this.yn_1) + ')';
2775
+ };
2776
+ protoOf(ChannelSelect).hashCode = function () {
2777
+ var result = this.rn_1 == null ? 0 : this.rn_1;
2778
+ result = imul(result, 31) + getStringHashCode(this.sn_1) | 0;
2779
+ result = imul(result, 31) + (this.channelTypes == null ? 0 : hashCode(this.channelTypes)) | 0;
2780
+ result = imul(result, 31) + (this.tn_1 == null ? 0 : getStringHashCode(this.tn_1)) | 0;
2781
+ result = imul(result, 31) + this.un_1 | 0;
2782
+ result = imul(result, 31) + this.vn_1 | 0;
2783
+ result = imul(result, 31) + getBooleanHashCode(this.wn_1) | 0;
2784
+ result = imul(result, 31) + getBooleanHashCode(this.xn_1) | 0;
2785
+ result = imul(result, 31) + (this.yn_1 == null ? 0 : hashCode(this.yn_1)) | 0;
2786
+ return result;
2787
+ };
2788
+ protoOf(ChannelSelect).equals = function (other) {
2789
+ if (this === other)
2790
+ return true;
2791
+ if (!(other instanceof ChannelSelect))
2792
+ return false;
2793
+ if (!(this.rn_1 == other.rn_1))
2794
+ return false;
2795
+ if (!(this.sn_1 === other.sn_1))
2796
+ return false;
2797
+ if (!equals(this.channelTypes, other.channelTypes))
2798
+ return false;
2799
+ if (!(this.tn_1 == other.tn_1))
2800
+ return false;
2801
+ if (!(this.un_1 === other.un_1))
2802
+ return false;
2803
+ if (!(this.vn_1 === other.vn_1))
2804
+ return false;
2805
+ if (!(this.wn_1 === other.wn_1))
2806
+ return false;
2807
+ if (!(this.xn_1 === other.xn_1))
2808
+ return false;
2809
+ if (!equals(this.yn_1, other.yn_1))
2810
+ return false;
2811
+ return true;
2812
+ };
2813
+ function Companion_11() {
2814
+ }
2815
+ var Companion_instance_11;
2816
+ function Companion_getInstance_11() {
2817
+ return Companion_instance_11;
2818
+ }
2819
+ function $serializer_10() {
2820
+ $serializer_instance_10 = this;
2821
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.SelectDefaultValue', this, 2);
2822
+ tmp0_serialDesc.og('id', false);
2823
+ tmp0_serialDesc.og('type', false);
2824
+ this.co_1 = tmp0_serialDesc;
2825
+ }
2826
+ protoOf($serializer_10).ld = function () {
2827
+ return this.co_1;
2828
+ };
2829
+ protoOf($serializer_10).qg = function () {
2830
+ // Inline function 'kotlin.arrayOf' call
2831
+ // Inline function 'kotlin.js.unsafeCast' call
2832
+ // Inline function 'kotlin.js.asDynamic' call
2833
+ return [StringSerializer_getInstance(), StringSerializer_getInstance()];
2834
+ };
2835
+ var $serializer_instance_10;
2836
+ function $serializer_getInstance_10() {
2837
+ if ($serializer_instance_10 == null)
2838
+ new $serializer_10();
2839
+ return $serializer_instance_10;
2840
+ }
2841
+ function SelectDefaultValue(id, type) {
2842
+ this.id = id;
2843
+ this.type = type;
2844
+ }
2845
+ protoOf(SelectDefaultValue).mk = function () {
2846
+ return this.id;
2847
+ };
2848
+ protoOf(SelectDefaultValue).pk = function () {
2849
+ return this.type;
2850
+ };
2851
+ protoOf(SelectDefaultValue).r9 = function () {
2852
+ return this.id;
2853
+ };
2854
+ protoOf(SelectDefaultValue).s9 = function () {
2855
+ return this.type;
2856
+ };
2857
+ protoOf(SelectDefaultValue).do = function (id, type) {
2858
+ return new SelectDefaultValue(id, type);
2859
+ };
2860
+ protoOf(SelectDefaultValue).copy = function (id, type, $super) {
2861
+ id = id === VOID ? this.id : id;
2862
+ type = type === VOID ? this.type : type;
2863
+ return $super === VOID ? this.do(id, type) : $super.do.call(this, id, type);
2864
+ };
2865
+ protoOf(SelectDefaultValue).toString = function () {
2866
+ return 'SelectDefaultValue(id=' + this.id + ', type=' + this.type + ')';
2867
+ };
2868
+ protoOf(SelectDefaultValue).hashCode = function () {
2869
+ var result = getStringHashCode(this.id);
2870
+ result = imul(result, 31) + getStringHashCode(this.type) | 0;
2871
+ return result;
2872
+ };
2873
+ protoOf(SelectDefaultValue).equals = function (other) {
2874
+ if (this === other)
2875
+ return true;
2876
+ if (!(other instanceof SelectDefaultValue))
2877
+ return false;
2878
+ if (!(this.id === other.id))
2879
+ return false;
2880
+ if (!(this.type === other.type))
2881
+ return false;
2882
+ return true;
2883
+ };
2884
+ function Companion_12() {
2885
+ }
2886
+ var Companion_instance_12;
2887
+ function Companion_getInstance_12() {
2888
+ return Companion_instance_12;
2889
+ }
2890
+ function $serializer_11() {
2891
+ $serializer_instance_11 = this;
2892
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.FileUpload', this, 6);
2893
+ tmp0_serialDesc.og('id', true);
2894
+ tmp0_serialDesc.og('custom_id', false);
2895
+ tmp0_serialDesc.og('min_values', true);
2896
+ tmp0_serialDesc.og('max_values', true);
2897
+ tmp0_serialDesc.og('required', true);
2898
+ tmp0_serialDesc.og('type', true);
2899
+ this.eo_1 = tmp0_serialDesc;
2900
+ }
2901
+ protoOf($serializer_11).ld = function () {
2902
+ return this.eo_1;
2903
+ };
2904
+ protoOf($serializer_11).qg = function () {
2905
+ // Inline function 'kotlin.arrayOf' call
2906
+ // Inline function 'kotlin.js.unsafeCast' call
2907
+ // Inline function 'kotlin.js.asDynamic' call
2908
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance()];
2909
+ };
2910
+ var $serializer_instance_11;
2911
+ function $serializer_getInstance_11() {
2912
+ if ($serializer_instance_11 == null)
2913
+ new $serializer_11();
2914
+ return $serializer_instance_11;
2915
+ }
2916
+ function FileUpload(id, customId, minValues, maxValues, required) {
2917
+ id = id === VOID ? null : id;
2918
+ minValues = minValues === VOID ? 1 : minValues;
2919
+ maxValues = maxValues === VOID ? 10 : maxValues;
2920
+ required = required === VOID ? true : required;
2921
+ this.fo_1 = id;
2922
+ this.customId = customId;
2923
+ this.minValues = minValues;
2924
+ this.maxValues = maxValues;
2925
+ this.required = required;
2926
+ this.go_1 = 19;
2927
+ }
2928
+ protoOf(FileUpload).mk = function () {
2929
+ return this.fo_1;
2930
+ };
2931
+ protoOf(FileUpload).qi = function () {
2932
+ return this.customId;
2933
+ };
2934
+ protoOf(FileUpload).ej = function () {
2935
+ return this.minValues;
2936
+ };
2937
+ protoOf(FileUpload).gj = function () {
2938
+ return this.maxValues;
2939
+ };
2940
+ protoOf(FileUpload).ij = function () {
2941
+ return this.required;
2942
+ };
2943
+ protoOf(FileUpload).pk = function () {
2944
+ return this.go_1;
2945
+ };
2946
+ protoOf(FileUpload).r9 = function () {
2947
+ return this.fo_1;
2948
+ };
2949
+ protoOf(FileUpload).s9 = function () {
2950
+ return this.customId;
2951
+ };
2952
+ protoOf(FileUpload).qk = function () {
2953
+ return this.minValues;
2954
+ };
2955
+ protoOf(FileUpload).rk = function () {
2956
+ return this.maxValues;
2957
+ };
2958
+ protoOf(FileUpload).sk = function () {
2959
+ return this.required;
2960
+ };
2961
+ protoOf(FileUpload).ho = function (id, customId, minValues, maxValues, required) {
2962
+ return new FileUpload(id, customId, minValues, maxValues, required);
2963
+ };
2964
+ protoOf(FileUpload).copy = function (id, customId, minValues, maxValues, required, $super) {
2965
+ id = id === VOID ? this.fo_1 : id;
2966
+ customId = customId === VOID ? this.customId : customId;
2967
+ minValues = minValues === VOID ? this.minValues : minValues;
2968
+ maxValues = maxValues === VOID ? this.maxValues : maxValues;
2969
+ required = required === VOID ? this.required : required;
2970
+ return $super === VOID ? this.ho(id, customId, minValues, maxValues, required) : $super.ho.call(this, id, customId, minValues, maxValues, required);
2971
+ };
2972
+ protoOf(FileUpload).toString = function () {
2973
+ return 'FileUpload(id=' + this.fo_1 + ', customId=' + this.customId + ', minValues=' + this.minValues + ', maxValues=' + this.maxValues + ', required=' + this.required + ')';
2974
+ };
2975
+ protoOf(FileUpload).hashCode = function () {
2976
+ var result = this.fo_1 == null ? 0 : this.fo_1;
2977
+ result = imul(result, 31) + getStringHashCode(this.customId) | 0;
2978
+ result = imul(result, 31) + this.minValues | 0;
2979
+ result = imul(result, 31) + this.maxValues | 0;
2980
+ result = imul(result, 31) + getBooleanHashCode(this.required) | 0;
2981
+ return result;
2982
+ };
2983
+ protoOf(FileUpload).equals = function (other) {
2984
+ if (this === other)
2985
+ return true;
2986
+ if (!(other instanceof FileUpload))
2987
+ return false;
2988
+ if (!(this.fo_1 == other.fo_1))
2989
+ return false;
2990
+ if (!(this.customId === other.customId))
2991
+ return false;
2992
+ if (!(this.minValues === other.minValues))
2993
+ return false;
2994
+ if (!(this.maxValues === other.maxValues))
2995
+ return false;
2996
+ if (!(this.required === other.required))
2997
+ return false;
2998
+ return true;
2999
+ };
3000
+ function StringSelect$Companion$$childSerializers$_anonymous__3tv9s3() {
3001
+ return new ArrayListSerializer($serializer_getInstance_13());
3002
+ }
3003
+ function Companion_13() {
3004
+ Companion_instance_13 = this;
3005
+ var tmp = this;
3006
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
3007
+ // Inline function 'kotlin.arrayOf' call
3008
+ // Inline function 'kotlin.js.unsafeCast' call
3009
+ // Inline function 'kotlin.js.asDynamic' call
3010
+ tmp.io_1 = [null, null, lazy(tmp_0, StringSelect$Companion$$childSerializers$_anonymous__3tv9s3), null, null, null, null, null, null];
3011
+ }
3012
+ var Companion_instance_13;
3013
+ function Companion_getInstance_13() {
3014
+ if (Companion_instance_13 == null)
3015
+ new Companion_13();
3016
+ return Companion_instance_13;
3017
+ }
3018
+ function $serializer_12() {
3019
+ $serializer_instance_12 = this;
3020
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.StringSelect', this, 9);
3021
+ tmp0_serialDesc.og('id', true);
3022
+ tmp0_serialDesc.og('custom_id', false);
3023
+ tmp0_serialDesc.og('options', false);
3024
+ tmp0_serialDesc.og('placeholder', true);
3025
+ tmp0_serialDesc.og('min_values', true);
3026
+ tmp0_serialDesc.og('max_values', true);
3027
+ tmp0_serialDesc.og('required', true);
3028
+ tmp0_serialDesc.og('disabled', true);
3029
+ tmp0_serialDesc.og('type', true);
3030
+ this.jo_1 = tmp0_serialDesc;
3031
+ }
3032
+ protoOf($serializer_12).ld = function () {
3033
+ return this.jo_1;
3034
+ };
3035
+ protoOf($serializer_12).qg = function () {
3036
+ var tmp0_cached = Companion_getInstance_13().io_1;
3037
+ // Inline function 'kotlin.arrayOf' call
3038
+ // Inline function 'kotlin.js.unsafeCast' call
3039
+ // Inline function 'kotlin.js.asDynamic' call
3040
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), tmp0_cached[2].n1(), get_nullable(StringSerializer_getInstance()), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance()];
3041
+ };
3042
+ var $serializer_instance_12;
3043
+ function $serializer_getInstance_12() {
3044
+ if ($serializer_instance_12 == null)
3045
+ new $serializer_12();
3046
+ return $serializer_instance_12;
3047
+ }
3048
+ function StringSelect(id, customId, options, placeholder, minValues, maxValues, required, disabled) {
3049
+ Companion_getInstance_13();
3050
+ id = id === VOID ? null : id;
3051
+ placeholder = placeholder === VOID ? null : placeholder;
3052
+ minValues = minValues === VOID ? 1 : minValues;
3053
+ maxValues = maxValues === VOID ? 1 : maxValues;
3054
+ required = required === VOID ? true : required;
3055
+ disabled = disabled === VOID ? false : disabled;
3056
+ this.ko_1 = id;
3057
+ this.customId = customId;
3058
+ this.options = options;
3059
+ this.placeholder = placeholder;
3060
+ this.minValues = minValues;
3061
+ this.maxValues = maxValues;
3062
+ this.required = required;
3063
+ this.disabled = disabled;
3064
+ this.lo_1 = 3;
3065
+ }
3066
+ protoOf(StringSelect).mk = function () {
3067
+ return this.ko_1;
3068
+ };
3069
+ protoOf(StringSelect).qi = function () {
3070
+ return this.customId;
3071
+ };
3072
+ protoOf(StringSelect).mo = function () {
3073
+ return this.options;
3074
+ };
3075
+ protoOf(StringSelect).cj = function () {
3076
+ return this.placeholder;
3077
+ };
3078
+ protoOf(StringSelect).ej = function () {
3079
+ return this.minValues;
3080
+ };
3081
+ protoOf(StringSelect).gj = function () {
3082
+ return this.maxValues;
3083
+ };
3084
+ protoOf(StringSelect).ij = function () {
3085
+ return this.required;
3086
+ };
3087
+ protoOf(StringSelect).wi = function () {
3088
+ return this.disabled;
3089
+ };
3090
+ protoOf(StringSelect).pk = function () {
3091
+ return this.lo_1;
3092
+ };
3093
+ protoOf(StringSelect).r9 = function () {
3094
+ return this.ko_1;
3095
+ };
3096
+ protoOf(StringSelect).s9 = function () {
3097
+ return this.customId;
3098
+ };
3099
+ protoOf(StringSelect).qk = function () {
3100
+ return this.options;
3101
+ };
3102
+ protoOf(StringSelect).rk = function () {
3103
+ return this.placeholder;
3104
+ };
3105
+ protoOf(StringSelect).sk = function () {
3106
+ return this.minValues;
3107
+ };
3108
+ protoOf(StringSelect).jl = function () {
3109
+ return this.maxValues;
3110
+ };
3111
+ protoOf(StringSelect).xl = function () {
3112
+ return this.required;
3113
+ };
3114
+ protoOf(StringSelect).yl = function () {
3115
+ return this.disabled;
3116
+ };
3117
+ protoOf(StringSelect).no = function (id, customId, options, placeholder, minValues, maxValues, required, disabled) {
3118
+ return new StringSelect(id, customId, options, placeholder, minValues, maxValues, required, disabled);
3119
+ };
3120
+ protoOf(StringSelect).copy = function (id, customId, options, placeholder, minValues, maxValues, required, disabled, $super) {
3121
+ id = id === VOID ? this.ko_1 : id;
3122
+ customId = customId === VOID ? this.customId : customId;
3123
+ options = options === VOID ? this.options : options;
3124
+ placeholder = placeholder === VOID ? this.placeholder : placeholder;
3125
+ minValues = minValues === VOID ? this.minValues : minValues;
3126
+ maxValues = maxValues === VOID ? this.maxValues : maxValues;
3127
+ required = required === VOID ? this.required : required;
3128
+ disabled = disabled === VOID ? this.disabled : disabled;
3129
+ return $super === VOID ? this.no(id, customId, options, placeholder, minValues, maxValues, required, disabled) : $super.no.call(this, id, customId, options, placeholder, minValues, maxValues, required, disabled);
3130
+ };
3131
+ protoOf(StringSelect).toString = function () {
3132
+ return 'StringSelect(id=' + this.ko_1 + ', customId=' + this.customId + ', options=' + toString(this.options) + ', placeholder=' + this.placeholder + ', minValues=' + this.minValues + ', maxValues=' + this.maxValues + ', required=' + this.required + ', disabled=' + this.disabled + ')';
3133
+ };
3134
+ protoOf(StringSelect).hashCode = function () {
3135
+ var result = this.ko_1 == null ? 0 : this.ko_1;
3136
+ result = imul(result, 31) + getStringHashCode(this.customId) | 0;
3137
+ result = imul(result, 31) + hashCode(this.options) | 0;
3138
+ result = imul(result, 31) + (this.placeholder == null ? 0 : getStringHashCode(this.placeholder)) | 0;
3139
+ result = imul(result, 31) + this.minValues | 0;
3140
+ result = imul(result, 31) + this.maxValues | 0;
3141
+ result = imul(result, 31) + getBooleanHashCode(this.required) | 0;
3142
+ result = imul(result, 31) + getBooleanHashCode(this.disabled) | 0;
3143
+ return result;
3144
+ };
3145
+ protoOf(StringSelect).equals = function (other) {
3146
+ if (this === other)
3147
+ return true;
3148
+ if (!(other instanceof StringSelect))
3149
+ return false;
3150
+ if (!(this.ko_1 == other.ko_1))
3151
+ return false;
3152
+ if (!(this.customId === other.customId))
3153
+ return false;
3154
+ if (!equals(this.options, other.options))
3155
+ return false;
3156
+ if (!(this.placeholder == other.placeholder))
3157
+ return false;
3158
+ if (!(this.minValues === other.minValues))
3159
+ return false;
3160
+ if (!(this.maxValues === other.maxValues))
3161
+ return false;
3162
+ if (!(this.required === other.required))
3163
+ return false;
3164
+ if (!(this.disabled === other.disabled))
3165
+ return false;
3166
+ return true;
3167
+ };
3168
+ function Companion_14() {
3169
+ }
3170
+ var Companion_instance_14;
3171
+ function Companion_getInstance_14() {
3172
+ return Companion_instance_14;
3173
+ }
3174
+ function $serializer_13() {
3175
+ $serializer_instance_13 = this;
3176
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.SelectOption', this, 5);
3177
+ tmp0_serialDesc.og('label', false);
3178
+ tmp0_serialDesc.og('value', false);
3179
+ tmp0_serialDesc.og('description', true);
3180
+ tmp0_serialDesc.og('emoji', true);
3181
+ tmp0_serialDesc.og('default', true);
3182
+ this.oo_1 = tmp0_serialDesc;
3183
+ }
3184
+ protoOf($serializer_13).ld = function () {
3185
+ return this.oo_1;
3186
+ };
3187
+ protoOf($serializer_13).qg = function () {
3188
+ // Inline function 'kotlin.arrayOf' call
3189
+ // Inline function 'kotlin.js.unsafeCast' call
3190
+ // Inline function 'kotlin.js.asDynamic' call
3191
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_20()), BooleanSerializer_getInstance()];
3192
+ };
3193
+ var $serializer_instance_13;
3194
+ function $serializer_getInstance_13() {
3195
+ if ($serializer_instance_13 == null)
3196
+ new $serializer_13();
3197
+ return $serializer_instance_13;
3198
+ }
3199
+ function SelectOption(label, value, description, emoji, default_0) {
3200
+ description = description === VOID ? null : description;
3201
+ emoji = emoji === VOID ? null : emoji;
3202
+ default_0 = default_0 === VOID ? false : default_0;
3203
+ this.label = label;
3204
+ this.value = value;
3205
+ this.description = description;
3206
+ this.emoji = emoji;
3207
+ this.default = default_0;
3208
+ }
3209
+ protoOf(SelectOption).oi = function () {
3210
+ return this.label;
3211
+ };
3212
+ protoOf(SelectOption).n1 = function () {
3213
+ return this.value;
3214
+ };
3215
+ protoOf(SelectOption).ai = function () {
3216
+ return this.description;
3217
+ };
3218
+ protoOf(SelectOption).ui = function () {
3219
+ return this.emoji;
3220
+ };
3221
+ protoOf(SelectOption).nj = function () {
3222
+ return this.default;
3223
+ };
3224
+ protoOf(SelectOption).r9 = function () {
3225
+ return this.label;
3226
+ };
3227
+ protoOf(SelectOption).s9 = function () {
3228
+ return this.value;
3229
+ };
3230
+ protoOf(SelectOption).qk = function () {
3231
+ return this.description;
3232
+ };
3233
+ protoOf(SelectOption).rk = function () {
3234
+ return this.emoji;
3235
+ };
3236
+ protoOf(SelectOption).sk = function () {
3237
+ return this.default;
3238
+ };
3239
+ protoOf(SelectOption).po = function (label, value, description, emoji, default_0) {
3240
+ return new SelectOption(label, value, description, emoji, default_0);
3241
+ };
3242
+ protoOf(SelectOption).copy = function (label, value, description, emoji, default_0, $super) {
3243
+ label = label === VOID ? this.label : label;
3244
+ value = value === VOID ? this.value : value;
3245
+ description = description === VOID ? this.description : description;
3246
+ emoji = emoji === VOID ? this.emoji : emoji;
3247
+ default_0 = default_0 === VOID ? this.default : default_0;
3248
+ return $super === VOID ? this.po(label, value, description, emoji, default_0) : $super.po.call(this, label, value, description, emoji, default_0);
3249
+ };
3250
+ protoOf(SelectOption).toString = function () {
3251
+ return 'SelectOption(label=' + this.label + ', value=' + this.value + ', description=' + this.description + ', emoji=' + toString_0(this.emoji) + ', default=' + this.default + ')';
3252
+ };
3253
+ protoOf(SelectOption).hashCode = function () {
3254
+ var result = getStringHashCode(this.label);
3255
+ result = imul(result, 31) + getStringHashCode(this.value) | 0;
3256
+ result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
3257
+ result = imul(result, 31) + (this.emoji == null ? 0 : this.emoji.hashCode()) | 0;
3258
+ result = imul(result, 31) + getBooleanHashCode(this.default) | 0;
3259
+ return result;
3260
+ };
3261
+ protoOf(SelectOption).equals = function (other) {
3262
+ if (this === other)
3263
+ return true;
3264
+ if (!(other instanceof SelectOption))
3265
+ return false;
3266
+ if (!(this.label === other.label))
3267
+ return false;
3268
+ if (!(this.value === other.value))
3269
+ return false;
3270
+ if (!(this.description == other.description))
3271
+ return false;
3272
+ if (!equals(this.emoji, other.emoji))
3273
+ return false;
3274
+ if (!(this.default === other.default))
3275
+ return false;
3276
+ return true;
3277
+ };
3278
+ function Companion_15() {
3279
+ }
3280
+ var Companion_instance_15;
3281
+ function Companion_getInstance_15() {
3282
+ return Companion_instance_15;
3283
+ }
3284
+ function $serializer_14() {
3285
+ $serializer_instance_14 = this;
3286
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.interactive.TextInput', this, 9);
3287
+ tmp0_serialDesc.og('id', true);
3288
+ tmp0_serialDesc.og('custom_id', false);
3289
+ tmp0_serialDesc.og('style', false);
3290
+ tmp0_serialDesc.og('min_length', true);
3291
+ tmp0_serialDesc.og('max_length', true);
3292
+ tmp0_serialDesc.og('required', true);
3293
+ tmp0_serialDesc.og('value', true);
3294
+ tmp0_serialDesc.og('placeholder', true);
3295
+ tmp0_serialDesc.og('type', true);
3296
+ this.qo_1 = tmp0_serialDesc;
3297
+ }
3298
+ protoOf($serializer_14).ld = function () {
3299
+ return this.qo_1;
3300
+ };
3301
+ protoOf($serializer_14).qg = function () {
3302
+ // Inline function 'kotlin.arrayOf' call
3303
+ // Inline function 'kotlin.js.unsafeCast' call
3304
+ // Inline function 'kotlin.js.asDynamic' call
3305
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), IntSerializer_getInstance(), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), IntSerializer_getInstance()];
3306
+ };
3307
+ var $serializer_instance_14;
3308
+ function $serializer_getInstance_14() {
3309
+ if ($serializer_instance_14 == null)
3310
+ new $serializer_14();
3311
+ return $serializer_instance_14;
3312
+ }
3313
+ function TextInput(id, customId, style, minLength, maxLength, required, value, placeholder) {
3314
+ id = id === VOID ? null : id;
3315
+ minLength = minLength === VOID ? null : minLength;
3316
+ maxLength = maxLength === VOID ? null : maxLength;
3317
+ required = required === VOID ? true : required;
3318
+ value = value === VOID ? null : value;
3319
+ placeholder = placeholder === VOID ? null : placeholder;
3320
+ this.ro_1 = id;
3321
+ this.customId = customId;
3322
+ this.style = style;
3323
+ this.minLength = minLength;
3324
+ this.maxLength = maxLength;
3325
+ this.required = required;
3326
+ this.value = value;
3327
+ this.placeholder = placeholder;
3328
+ this.so_1 = 4;
3329
+ }
3330
+ protoOf(TextInput).mk = function () {
3331
+ return this.ro_1;
3332
+ };
3333
+ protoOf(TextInput).qi = function () {
3334
+ return this.customId;
3335
+ };
3336
+ protoOf(TextInput).wl = function () {
3337
+ return this.style;
3338
+ };
3339
+ protoOf(TextInput).zj = function () {
3340
+ return this.minLength;
3341
+ };
3342
+ protoOf(TextInput).bk = function () {
3343
+ return this.maxLength;
3344
+ };
3345
+ protoOf(TextInput).ij = function () {
3346
+ return this.required;
3347
+ };
3348
+ protoOf(TextInput).n1 = function () {
3349
+ return this.value;
3350
+ };
3351
+ protoOf(TextInput).cj = function () {
3352
+ return this.placeholder;
3353
+ };
3354
+ protoOf(TextInput).pk = function () {
3355
+ return this.so_1;
3356
+ };
3357
+ protoOf(TextInput).r9 = function () {
3358
+ return this.ro_1;
3359
+ };
3360
+ protoOf(TextInput).s9 = function () {
3361
+ return this.customId;
3362
+ };
3363
+ protoOf(TextInput).qk = function () {
3364
+ return this.style;
3365
+ };
3366
+ protoOf(TextInput).rk = function () {
3367
+ return this.minLength;
3368
+ };
3369
+ protoOf(TextInput).sk = function () {
3370
+ return this.maxLength;
3371
+ };
3372
+ protoOf(TextInput).jl = function () {
3373
+ return this.required;
3374
+ };
3375
+ protoOf(TextInput).xl = function () {
3376
+ return this.value;
3377
+ };
3378
+ protoOf(TextInput).yl = function () {
3379
+ return this.placeholder;
3380
+ };
3381
+ protoOf(TextInput).to = function (id, customId, style, minLength, maxLength, required, value, placeholder) {
3382
+ return new TextInput(id, customId, style, minLength, maxLength, required, value, placeholder);
3383
+ };
3384
+ protoOf(TextInput).copy = function (id, customId, style, minLength, maxLength, required, value, placeholder, $super) {
3385
+ id = id === VOID ? this.ro_1 : id;
3386
+ customId = customId === VOID ? this.customId : customId;
3387
+ style = style === VOID ? this.style : style;
3388
+ minLength = minLength === VOID ? this.minLength : minLength;
3389
+ maxLength = maxLength === VOID ? this.maxLength : maxLength;
3390
+ required = required === VOID ? this.required : required;
3391
+ value = value === VOID ? this.value : value;
3392
+ placeholder = placeholder === VOID ? this.placeholder : placeholder;
3393
+ return $super === VOID ? this.to(id, customId, style, minLength, maxLength, required, value, placeholder) : $super.to.call(this, id, customId, style, minLength, maxLength, required, value, placeholder);
3394
+ };
3395
+ protoOf(TextInput).toString = function () {
3396
+ return 'TextInput(id=' + this.ro_1 + ', customId=' + this.customId + ', style=' + this.style + ', minLength=' + this.minLength + ', maxLength=' + this.maxLength + ', required=' + this.required + ', value=' + this.value + ', placeholder=' + this.placeholder + ')';
3397
+ };
3398
+ protoOf(TextInput).hashCode = function () {
3399
+ var result = this.ro_1 == null ? 0 : this.ro_1;
3400
+ result = imul(result, 31) + getStringHashCode(this.customId) | 0;
3401
+ result = imul(result, 31) + this.style | 0;
3402
+ result = imul(result, 31) + (this.minLength == null ? 0 : this.minLength) | 0;
3403
+ result = imul(result, 31) + (this.maxLength == null ? 0 : this.maxLength) | 0;
3404
+ result = imul(result, 31) + getBooleanHashCode(this.required) | 0;
3405
+ result = imul(result, 31) + (this.value == null ? 0 : getStringHashCode(this.value)) | 0;
3406
+ result = imul(result, 31) + (this.placeholder == null ? 0 : getStringHashCode(this.placeholder)) | 0;
3407
+ return result;
3408
+ };
3409
+ protoOf(TextInput).equals = function (other) {
3410
+ if (this === other)
3411
+ return true;
3412
+ if (!(other instanceof TextInput))
3413
+ return false;
3414
+ if (!(this.ro_1 == other.ro_1))
3415
+ return false;
3416
+ if (!(this.customId === other.customId))
3417
+ return false;
3418
+ if (!(this.style === other.style))
3419
+ return false;
3420
+ if (!(this.minLength == other.minLength))
3421
+ return false;
3422
+ if (!(this.maxLength == other.maxLength))
3423
+ return false;
3424
+ if (!(this.required === other.required))
3425
+ return false;
3426
+ if (!(this.value == other.value))
3427
+ return false;
3428
+ if (!(this.placeholder == other.placeholder))
3429
+ return false;
3430
+ return true;
3431
+ };
3432
+ function ActionRow$Companion$$childSerializers$_anonymous__binve() {
3433
+ return new ArrayListSerializer(ComponentSerializer_getInstance());
3434
+ }
3435
+ function Companion_16() {
3436
+ Companion_instance_16 = this;
3437
+ var tmp = this;
3438
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
3439
+ // Inline function 'kotlin.arrayOf' call
3440
+ // Inline function 'kotlin.js.unsafeCast' call
3441
+ // Inline function 'kotlin.js.asDynamic' call
3442
+ tmp.uo_1 = [null, lazy(tmp_0, ActionRow$Companion$$childSerializers$_anonymous__binve), null];
3443
+ }
3444
+ var Companion_instance_16;
3445
+ function Companion_getInstance_16() {
3446
+ if (Companion_instance_16 == null)
3447
+ new Companion_16();
3448
+ return Companion_instance_16;
3449
+ }
3450
+ function $serializer_15() {
3451
+ $serializer_instance_15 = this;
3452
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.layout.ActionRow', this, 3);
3453
+ tmp0_serialDesc.og('id', true);
3454
+ tmp0_serialDesc.og('components', false);
3455
+ tmp0_serialDesc.og('type', true);
3456
+ this.vo_1 = tmp0_serialDesc;
3457
+ }
3458
+ protoOf($serializer_15).ld = function () {
3459
+ return this.vo_1;
3460
+ };
3461
+ protoOf($serializer_15).qg = function () {
3462
+ var tmp0_cached = Companion_getInstance_16().uo_1;
3463
+ // Inline function 'kotlin.arrayOf' call
3464
+ // Inline function 'kotlin.js.unsafeCast' call
3465
+ // Inline function 'kotlin.js.asDynamic' call
3466
+ return [get_nullable(IntSerializer_getInstance()), tmp0_cached[1].n1(), IntSerializer_getInstance()];
3467
+ };
3468
+ var $serializer_instance_15;
3469
+ function $serializer_getInstance_15() {
3470
+ if ($serializer_instance_15 == null)
3471
+ new $serializer_15();
3472
+ return $serializer_instance_15;
3473
+ }
3474
+ function ActionRow(id, components) {
3475
+ Companion_getInstance_16();
3476
+ id = id === VOID ? null : id;
3477
+ this.wo_1 = id;
3478
+ this.components = components;
3479
+ this.xo_1 = 1;
3480
+ }
3481
+ protoOf(ActionRow).mk = function () {
3482
+ return this.wo_1;
3483
+ };
3484
+ protoOf(ActionRow).di = function () {
3485
+ return this.components;
3486
+ };
3487
+ protoOf(ActionRow).pk = function () {
3488
+ return this.xo_1;
3489
+ };
3490
+ protoOf(ActionRow).r9 = function () {
3491
+ return this.wo_1;
3492
+ };
3493
+ protoOf(ActionRow).s9 = function () {
3494
+ return this.components;
3495
+ };
3496
+ protoOf(ActionRow).yo = function (id, components) {
3497
+ return new ActionRow(id, components);
3498
+ };
3499
+ protoOf(ActionRow).copy = function (id, components, $super) {
3500
+ id = id === VOID ? this.wo_1 : id;
3501
+ components = components === VOID ? this.components : components;
3502
+ return $super === VOID ? this.yo(id, components) : $super.yo.call(this, id, components);
3503
+ };
3504
+ protoOf(ActionRow).toString = function () {
3505
+ return 'ActionRow(id=' + this.wo_1 + ', components=' + toString(this.components) + ')';
3506
+ };
3507
+ protoOf(ActionRow).hashCode = function () {
3508
+ var result = this.wo_1 == null ? 0 : this.wo_1;
3509
+ result = imul(result, 31) + hashCode(this.components) | 0;
3510
+ return result;
3511
+ };
3512
+ protoOf(ActionRow).equals = function (other) {
3513
+ if (this === other)
3514
+ return true;
3515
+ if (!(other instanceof ActionRow))
3516
+ return false;
3517
+ if (!(this.wo_1 == other.wo_1))
3518
+ return false;
3519
+ if (!equals(this.components, other.components))
3520
+ return false;
3521
+ return true;
3522
+ };
3523
+ function Container$Companion$$childSerializers$_anonymous__l6gz55() {
3524
+ return new ArrayListSerializer(ComponentSerializer_getInstance());
3525
+ }
3526
+ function Companion_17() {
3527
+ Companion_instance_17 = this;
3528
+ var tmp = this;
3529
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
3530
+ // Inline function 'kotlin.arrayOf' call
3531
+ // Inline function 'kotlin.js.unsafeCast' call
3532
+ // Inline function 'kotlin.js.asDynamic' call
3533
+ tmp.zo_1 = [null, lazy(tmp_0, Container$Companion$$childSerializers$_anonymous__l6gz55), null, null, null];
3534
+ }
3535
+ var Companion_instance_17;
3536
+ function Companion_getInstance_17() {
3537
+ if (Companion_instance_17 == null)
3538
+ new Companion_17();
3539
+ return Companion_instance_17;
3540
+ }
3541
+ function $serializer_16() {
3542
+ $serializer_instance_16 = this;
3543
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.layout.Container', this, 5);
3544
+ tmp0_serialDesc.og('id', true);
3545
+ tmp0_serialDesc.og('components', false);
3546
+ tmp0_serialDesc.og('accent_color', true);
3547
+ tmp0_serialDesc.og('spoiler', true);
3548
+ tmp0_serialDesc.og('type', true);
3549
+ this.ap_1 = tmp0_serialDesc;
3550
+ }
3551
+ protoOf($serializer_16).ld = function () {
3552
+ return this.ap_1;
3553
+ };
3554
+ protoOf($serializer_16).qg = function () {
3555
+ var tmp0_cached = Companion_getInstance_17().zo_1;
3556
+ // Inline function 'kotlin.arrayOf' call
3557
+ // Inline function 'kotlin.js.unsafeCast' call
3558
+ // Inline function 'kotlin.js.asDynamic' call
3559
+ return [get_nullable(IntSerializer_getInstance()), tmp0_cached[1].n1(), get_nullable(ColorHexSerializer_getInstance()), BooleanSerializer_getInstance(), IntSerializer_getInstance()];
3560
+ };
3561
+ var $serializer_instance_16;
3562
+ function $serializer_getInstance_16() {
3563
+ if ($serializer_instance_16 == null)
3564
+ new $serializer_16();
3565
+ return $serializer_instance_16;
3566
+ }
3567
+ function Container(id, components, accentColor, spoiler) {
3568
+ Companion_getInstance_17();
3569
+ id = id === VOID ? null : id;
3570
+ accentColor = accentColor === VOID ? null : accentColor;
3571
+ spoiler = spoiler === VOID ? false : spoiler;
3572
+ this.bp_1 = id;
3573
+ this.components = components;
3574
+ this.accentColor = accentColor;
3575
+ this.spoiler = spoiler;
3576
+ this.cp_1 = 17;
3577
+ }
3578
+ protoOf(Container).mk = function () {
3579
+ return this.bp_1;
3580
+ };
3581
+ protoOf(Container).di = function () {
3582
+ return this.components;
3583
+ };
3584
+ protoOf(Container).dp = function () {
3585
+ return this.accentColor;
3586
+ };
3587
+ protoOf(Container).ci = function () {
3588
+ return this.spoiler;
3589
+ };
3590
+ protoOf(Container).pk = function () {
3591
+ return this.cp_1;
3592
+ };
3593
+ protoOf(Container).r9 = function () {
3594
+ return this.bp_1;
3595
+ };
3596
+ protoOf(Container).s9 = function () {
3597
+ return this.components;
3598
+ };
3599
+ protoOf(Container).qk = function () {
3600
+ return this.accentColor;
3601
+ };
3602
+ protoOf(Container).rk = function () {
3603
+ return this.spoiler;
3604
+ };
3605
+ protoOf(Container).ep = function (id, components, accentColor, spoiler) {
3606
+ return new Container(id, components, accentColor, spoiler);
3607
+ };
3608
+ protoOf(Container).copy = function (id, components, accentColor, spoiler, $super) {
3609
+ id = id === VOID ? this.bp_1 : id;
3610
+ components = components === VOID ? this.components : components;
3611
+ accentColor = accentColor === VOID ? this.accentColor : accentColor;
3612
+ spoiler = spoiler === VOID ? this.spoiler : spoiler;
3613
+ return $super === VOID ? this.ep(id, components, accentColor, spoiler) : $super.ep.call(this, id, components, accentColor, spoiler);
3614
+ };
3615
+ protoOf(Container).toString = function () {
3616
+ return 'Container(id=' + this.bp_1 + ', components=' + toString(this.components) + ', accentColor=' + this.accentColor + ', spoiler=' + this.spoiler + ')';
3617
+ };
3618
+ protoOf(Container).hashCode = function () {
3619
+ var result = this.bp_1 == null ? 0 : this.bp_1;
3620
+ result = imul(result, 31) + hashCode(this.components) | 0;
3621
+ result = imul(result, 31) + (this.accentColor == null ? 0 : this.accentColor) | 0;
3622
+ result = imul(result, 31) + getBooleanHashCode(this.spoiler) | 0;
3623
+ return result;
3624
+ };
3625
+ protoOf(Container).equals = function (other) {
3626
+ if (this === other)
3627
+ return true;
3628
+ if (!(other instanceof Container))
3629
+ return false;
3630
+ if (!(this.bp_1 == other.bp_1))
3631
+ return false;
3632
+ if (!equals(this.components, other.components))
3633
+ return false;
3634
+ if (!(this.accentColor == other.accentColor))
3635
+ return false;
3636
+ if (!(this.spoiler === other.spoiler))
3637
+ return false;
3638
+ return true;
3639
+ };
3640
+ function Companion_18() {
3641
+ }
3642
+ var Companion_instance_18;
3643
+ function Companion_getInstance_18() {
3644
+ return Companion_instance_18;
3645
+ }
3646
+ function $serializer_17() {
3647
+ $serializer_instance_17 = this;
3648
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.layout.Label', this, 5);
3649
+ tmp0_serialDesc.og('id', true);
3650
+ tmp0_serialDesc.og('label', false);
3651
+ tmp0_serialDesc.og('description', true);
3652
+ tmp0_serialDesc.og('component', false);
3653
+ tmp0_serialDesc.og('type', true);
3654
+ this.fp_1 = tmp0_serialDesc;
3655
+ }
3656
+ protoOf($serializer_17).ld = function () {
3657
+ return this.fp_1;
3658
+ };
3659
+ protoOf($serializer_17).qg = function () {
3660
+ // Inline function 'kotlin.arrayOf' call
3661
+ // Inline function 'kotlin.js.unsafeCast' call
3662
+ // Inline function 'kotlin.js.asDynamic' call
3663
+ return [get_nullable(IntSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), ComponentSerializer_getInstance(), IntSerializer_getInstance()];
3664
+ };
3665
+ var $serializer_instance_17;
3666
+ function $serializer_getInstance_17() {
3667
+ if ($serializer_instance_17 == null)
3668
+ new $serializer_17();
3669
+ return $serializer_instance_17;
3670
+ }
3671
+ function Label(id, label, description, component) {
3672
+ id = id === VOID ? null : id;
3673
+ description = description === VOID ? null : description;
3674
+ this.gp_1 = id;
3675
+ this.label = label;
3676
+ this.description = description;
3677
+ this.component = component;
3678
+ this.hp_1 = 18;
3679
+ }
3680
+ protoOf(Label).mk = function () {
3681
+ return this.gp_1;
3682
+ };
3683
+ protoOf(Label).oi = function () {
3684
+ return this.label;
3685
+ };
3686
+ protoOf(Label).ai = function () {
3687
+ return this.description;
3688
+ };
3689
+ protoOf(Label).ip = function () {
3690
+ return this.component;
3691
+ };
3692
+ protoOf(Label).pk = function () {
3693
+ return this.hp_1;
3694
+ };
3695
+ protoOf(Label).r9 = function () {
3696
+ return this.gp_1;
3697
+ };
3698
+ protoOf(Label).s9 = function () {
3699
+ return this.label;
3700
+ };
3701
+ protoOf(Label).qk = function () {
3702
+ return this.description;
3703
+ };
3704
+ protoOf(Label).rk = function () {
3705
+ return this.component;
3706
+ };
3707
+ protoOf(Label).jp = function (id, label, description, component) {
3708
+ return new Label(id, label, description, component);
3709
+ };
3710
+ protoOf(Label).copy = function (id, label, description, component, $super) {
3711
+ id = id === VOID ? this.gp_1 : id;
3712
+ label = label === VOID ? this.label : label;
3713
+ description = description === VOID ? this.description : description;
3714
+ component = component === VOID ? this.component : component;
3715
+ return $super === VOID ? this.jp(id, label, description, component) : $super.jp.call(this, id, label, description, component);
3716
+ };
3717
+ protoOf(Label).toString = function () {
3718
+ return 'Label(id=' + this.gp_1 + ', label=' + this.label + ', description=' + this.description + ', component=' + toString(this.component) + ')';
3719
+ };
3720
+ protoOf(Label).hashCode = function () {
3721
+ var result = this.gp_1 == null ? 0 : this.gp_1;
3722
+ result = imul(result, 31) + getStringHashCode(this.label) | 0;
3723
+ result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
3724
+ result = imul(result, 31) + hashCode(this.component) | 0;
3725
+ return result;
3726
+ };
3727
+ protoOf(Label).equals = function (other) {
3728
+ if (this === other)
3729
+ return true;
3730
+ if (!(other instanceof Label))
3731
+ return false;
3732
+ if (!(this.gp_1 == other.gp_1))
3733
+ return false;
3734
+ if (!(this.label === other.label))
3735
+ return false;
3736
+ if (!(this.description == other.description))
3737
+ return false;
3738
+ if (!equals(this.component, other.component))
3739
+ return false;
3740
+ return true;
3741
+ };
3742
+ function Section$Companion$$childSerializers$_anonymous__ky7xxh() {
3743
+ return new ArrayListSerializer(ComponentSerializer_getInstance());
3744
+ }
3745
+ function Companion_19() {
3746
+ Companion_instance_19 = this;
3747
+ var tmp = this;
3748
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
3749
+ // Inline function 'kotlin.arrayOf' call
3750
+ // Inline function 'kotlin.js.unsafeCast' call
3751
+ // Inline function 'kotlin.js.asDynamic' call
3752
+ tmp.kp_1 = [null, lazy(tmp_0, Section$Companion$$childSerializers$_anonymous__ky7xxh), null, null];
3753
+ }
3754
+ var Companion_instance_19;
3755
+ function Companion_getInstance_19() {
3756
+ if (Companion_instance_19 == null)
3757
+ new Companion_19();
3758
+ return Companion_instance_19;
3759
+ }
3760
+ function $serializer_18() {
3761
+ $serializer_instance_18 = this;
3762
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.layout.Section', this, 4);
3763
+ tmp0_serialDesc.og('id', true);
3764
+ tmp0_serialDesc.og('components', false);
3765
+ tmp0_serialDesc.og('accessory', false);
3766
+ tmp0_serialDesc.og('type', true);
3767
+ this.lp_1 = tmp0_serialDesc;
3768
+ }
3769
+ protoOf($serializer_18).ld = function () {
3770
+ return this.lp_1;
3771
+ };
3772
+ protoOf($serializer_18).qg = function () {
3773
+ var tmp0_cached = Companion_getInstance_19().kp_1;
3774
+ // Inline function 'kotlin.arrayOf' call
3775
+ // Inline function 'kotlin.js.unsafeCast' call
3776
+ // Inline function 'kotlin.js.asDynamic' call
3777
+ return [get_nullable(IntSerializer_getInstance()), tmp0_cached[1].n1(), ComponentSerializer_getInstance(), IntSerializer_getInstance()];
3778
+ };
3779
+ var $serializer_instance_18;
3780
+ function $serializer_getInstance_18() {
3781
+ if ($serializer_instance_18 == null)
3782
+ new $serializer_18();
3783
+ return $serializer_instance_18;
3784
+ }
3785
+ function Section(id, components, accessory) {
3786
+ Companion_getInstance_19();
3787
+ id = id === VOID ? null : id;
3788
+ this.mp_1 = id;
3789
+ this.components = components;
3790
+ this.accessory = accessory;
3791
+ this.np_1 = 9;
3792
+ }
3793
+ protoOf(Section).mk = function () {
3794
+ return this.mp_1;
3795
+ };
3796
+ protoOf(Section).di = function () {
3797
+ return this.components;
3798
+ };
3799
+ protoOf(Section).op = function () {
3800
+ return this.accessory;
3801
+ };
3802
+ protoOf(Section).pk = function () {
3803
+ return this.np_1;
3804
+ };
3805
+ protoOf(Section).r9 = function () {
3806
+ return this.mp_1;
3807
+ };
3808
+ protoOf(Section).s9 = function () {
3809
+ return this.components;
3810
+ };
3811
+ protoOf(Section).qk = function () {
3812
+ return this.accessory;
3813
+ };
3814
+ protoOf(Section).pp = function (id, components, accessory) {
3815
+ return new Section(id, components, accessory);
3816
+ };
3817
+ protoOf(Section).copy = function (id, components, accessory, $super) {
3818
+ id = id === VOID ? this.mp_1 : id;
3819
+ components = components === VOID ? this.components : components;
3820
+ accessory = accessory === VOID ? this.accessory : accessory;
3821
+ return $super === VOID ? this.pp(id, components, accessory) : $super.pp.call(this, id, components, accessory);
3822
+ };
3823
+ protoOf(Section).toString = function () {
3824
+ return 'Section(id=' + this.mp_1 + ', components=' + toString(this.components) + ', accessory=' + toString(this.accessory) + ')';
3825
+ };
3826
+ protoOf(Section).hashCode = function () {
3827
+ var result = this.mp_1 == null ? 0 : this.mp_1;
3828
+ result = imul(result, 31) + hashCode(this.components) | 0;
3829
+ result = imul(result, 31) + hashCode(this.accessory) | 0;
3830
+ return result;
3831
+ };
3832
+ protoOf(Section).equals = function (other) {
3833
+ if (this === other)
3834
+ return true;
3835
+ if (!(other instanceof Section))
3836
+ return false;
3837
+ if (!(this.mp_1 == other.mp_1))
3838
+ return false;
3839
+ if (!equals(this.components, other.components))
3840
+ return false;
3841
+ if (!equals(this.accessory, other.accessory))
3842
+ return false;
3843
+ return true;
3844
+ };
3845
+ function Companion_20() {
3846
+ }
3847
+ var Companion_instance_20;
3848
+ function Companion_getInstance_20() {
3849
+ return Companion_instance_20;
3850
+ }
3851
+ function $serializer_19() {
3852
+ $serializer_instance_19 = this;
3853
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.layout.Separator', this, 4);
3854
+ tmp0_serialDesc.og('id', true);
3855
+ tmp0_serialDesc.og('divider', true);
3856
+ tmp0_serialDesc.og('spacing', true);
3857
+ tmp0_serialDesc.og('type', true);
3858
+ this.qp_1 = tmp0_serialDesc;
3859
+ }
3860
+ protoOf($serializer_19).ld = function () {
3861
+ return this.qp_1;
3862
+ };
3863
+ protoOf($serializer_19).qg = function () {
3864
+ // Inline function 'kotlin.arrayOf' call
3865
+ // Inline function 'kotlin.js.unsafeCast' call
3866
+ // Inline function 'kotlin.js.asDynamic' call
3867
+ return [get_nullable(IntSerializer_getInstance()), BooleanSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance()];
3868
+ };
3869
+ var $serializer_instance_19;
3870
+ function $serializer_getInstance_19() {
3871
+ if ($serializer_instance_19 == null)
3872
+ new $serializer_19();
3873
+ return $serializer_instance_19;
3874
+ }
3875
+ function Separator(id, divider, spacing) {
3876
+ id = id === VOID ? null : id;
3877
+ divider = divider === VOID ? true : divider;
3878
+ spacing = spacing === VOID ? 1 : spacing;
3879
+ this.rp_1 = id;
3880
+ this.divider = divider;
3881
+ this.spacing = spacing;
3882
+ this.sp_1 = 14;
3883
+ }
3884
+ protoOf(Separator).mk = function () {
3885
+ return this.rp_1;
3886
+ };
3887
+ protoOf(Separator).tp = function () {
3888
+ return this.divider;
3889
+ };
3890
+ protoOf(Separator).up = function () {
3891
+ return this.spacing;
3892
+ };
3893
+ protoOf(Separator).pk = function () {
3894
+ return this.sp_1;
3895
+ };
3896
+ protoOf(Separator).r9 = function () {
3897
+ return this.rp_1;
3898
+ };
3899
+ protoOf(Separator).s9 = function () {
3900
+ return this.divider;
3901
+ };
3902
+ protoOf(Separator).qk = function () {
3903
+ return this.spacing;
3904
+ };
3905
+ protoOf(Separator).vp = function (id, divider, spacing) {
3906
+ return new Separator(id, divider, spacing);
3907
+ };
3908
+ protoOf(Separator).copy = function (id, divider, spacing, $super) {
3909
+ id = id === VOID ? this.rp_1 : id;
3910
+ divider = divider === VOID ? this.divider : divider;
3911
+ spacing = spacing === VOID ? this.spacing : spacing;
3912
+ return $super === VOID ? this.vp(id, divider, spacing) : $super.vp.call(this, id, divider, spacing);
3913
+ };
3914
+ protoOf(Separator).toString = function () {
3915
+ return 'Separator(id=' + this.rp_1 + ', divider=' + this.divider + ', spacing=' + this.spacing + ')';
3916
+ };
3917
+ protoOf(Separator).hashCode = function () {
3918
+ var result = this.rp_1 == null ? 0 : this.rp_1;
3919
+ result = imul(result, 31) + getBooleanHashCode(this.divider) | 0;
3920
+ result = imul(result, 31) + this.spacing | 0;
3921
+ return result;
3922
+ };
3923
+ protoOf(Separator).equals = function (other) {
3924
+ if (this === other)
3925
+ return true;
3926
+ if (!(other instanceof Separator))
3927
+ return false;
3928
+ if (!(this.rp_1 == other.rp_1))
3929
+ return false;
3930
+ if (!(this.divider === other.divider))
3931
+ return false;
3932
+ if (!(this.spacing === other.spacing))
3933
+ return false;
3934
+ return true;
3935
+ };
3936
+ function Companion_21() {
3937
+ }
3938
+ var Companion_instance_21;
3939
+ function Companion_getInstance_21() {
3940
+ return Companion_instance_21;
3941
+ }
3942
+ function $serializer_20() {
3943
+ $serializer_instance_20 = this;
3944
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.dto.components.utils.DiscordEmoji', this, 3);
3945
+ tmp0_serialDesc.og('id', true);
3946
+ tmp0_serialDesc.og('name', true);
3947
+ tmp0_serialDesc.og('animated', true);
3948
+ this.wp_1 = tmp0_serialDesc;
3949
+ }
3950
+ protoOf($serializer_20).ld = function () {
3951
+ return this.wp_1;
3952
+ };
3953
+ protoOf($serializer_20).qg = function () {
3954
+ // Inline function 'kotlin.arrayOf' call
3955
+ // Inline function 'kotlin.js.unsafeCast' call
3956
+ // Inline function 'kotlin.js.asDynamic' call
3957
+ return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
3958
+ };
3959
+ var $serializer_instance_20;
3960
+ function $serializer_getInstance_20() {
3961
+ if ($serializer_instance_20 == null)
3962
+ new $serializer_20();
3963
+ return $serializer_instance_20;
3964
+ }
3965
+ function DiscordEmoji(id, name, animated) {
3966
+ id = id === VOID ? null : id;
3967
+ name = name === VOID ? null : name;
3968
+ animated = animated === VOID ? null : animated;
3969
+ this.id = id;
3970
+ this.name = name;
3971
+ this.animated = animated;
3972
+ }
3973
+ protoOf(DiscordEmoji).mk = function () {
3974
+ return this.id;
3975
+ };
3976
+ protoOf(DiscordEmoji).ok = function () {
3977
+ return this.name;
3978
+ };
3979
+ protoOf(DiscordEmoji).xp = function () {
3980
+ return this.animated;
3981
+ };
3982
+ protoOf(DiscordEmoji).r9 = function () {
3983
+ return this.id;
3984
+ };
3985
+ protoOf(DiscordEmoji).s9 = function () {
3986
+ return this.name;
3987
+ };
3988
+ protoOf(DiscordEmoji).qk = function () {
3989
+ return this.animated;
3990
+ };
3991
+ protoOf(DiscordEmoji).yp = function (id, name, animated) {
3992
+ return new DiscordEmoji(id, name, animated);
3993
+ };
3994
+ protoOf(DiscordEmoji).copy = function (id, name, animated, $super) {
3995
+ id = id === VOID ? this.id : id;
3996
+ name = name === VOID ? this.name : name;
3997
+ animated = animated === VOID ? this.animated : animated;
3998
+ return $super === VOID ? this.yp(id, name, animated) : $super.yp.call(this, id, name, animated);
3999
+ };
4000
+ protoOf(DiscordEmoji).toString = function () {
4001
+ return 'DiscordEmoji(id=' + toString_0(this.id) + ', name=' + this.name + ', animated=' + this.animated + ')';
4002
+ };
4003
+ protoOf(DiscordEmoji).hashCode = function () {
4004
+ var result = this.id == null ? 0 : this.id.hashCode();
4005
+ result = imul(result, 31) + (this.name == null ? 0 : getStringHashCode(this.name)) | 0;
4006
+ result = imul(result, 31) + (this.animated == null ? 0 : getBooleanHashCode(this.animated)) | 0;
4007
+ return result;
4008
+ };
4009
+ protoOf(DiscordEmoji).equals = function (other) {
4010
+ if (this === other)
4011
+ return true;
4012
+ if (!(other instanceof DiscordEmoji))
4013
+ return false;
4014
+ if (!equals(this.id, other.id))
4015
+ return false;
4016
+ if (!(this.name == other.name))
4017
+ return false;
4018
+ if (!(this.animated == other.animated))
4019
+ return false;
4020
+ return true;
4021
+ };
4022
+ function Companion_22() {
4023
+ }
4024
+ var Companion_instance_22;
4025
+ function Companion_getInstance_22() {
4026
+ return Companion_instance_22;
4027
+ }
4028
+ function DiscordComponent() {
4029
+ }
4030
+ function ActionRowChildComponent() {
4031
+ }
4032
+ function ContainerChildComponent() {
4033
+ }
4034
+ function SectionChildComponent() {
4035
+ }
4036
+ function ColorHexSerializer() {
4037
+ ColorHexSerializer_instance = this;
4038
+ this.zp_1 = PrimitiveSerialDescriptor('ColorHex', STRING_getInstance());
4039
+ }
4040
+ protoOf(ColorHexSerializer).ld = function () {
4041
+ return this.zp_1;
4042
+ };
4043
+ var ColorHexSerializer_instance;
4044
+ function ColorHexSerializer_getInstance() {
4045
+ if (ColorHexSerializer_instance == null)
4046
+ new ColorHexSerializer();
4047
+ return ColorHexSerializer_instance;
4048
+ }
4049
+ function ComponentSerializer() {
4050
+ ComponentSerializer_instance = this;
4051
+ JsonContentPolymorphicSerializer.call(this, getKClass(DiscordComponent));
4052
+ }
4053
+ var ComponentSerializer_instance;
4054
+ function ComponentSerializer_getInstance() {
4055
+ if (ComponentSerializer_instance == null)
4056
+ new ComponentSerializer();
4057
+ return ComponentSerializer_instance;
4058
+ }
4059
+ function Companion_23() {
4060
+ }
4061
+ var Companion_instance_23;
4062
+ function Companion_getInstance_23() {
4063
+ return Companion_instance_23;
4064
+ }
4065
+ function $serializer_21() {
4066
+ $serializer_instance_21 = this;
4067
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('fr.ftnl.tools.messageBuilder.core.serializers.components.UnknownComponent', this, 2);
4068
+ tmp0_serialDesc.og('type', false);
4069
+ tmp0_serialDesc.og('id', true);
4070
+ this.aq_1 = tmp0_serialDesc;
4071
+ }
4072
+ protoOf($serializer_21).ld = function () {
4073
+ return this.aq_1;
4074
+ };
4075
+ protoOf($serializer_21).qg = function () {
4076
+ // Inline function 'kotlin.arrayOf' call
4077
+ // Inline function 'kotlin.js.unsafeCast' call
4078
+ // Inline function 'kotlin.js.asDynamic' call
4079
+ return [IntSerializer_getInstance(), get_nullable(IntSerializer_getInstance())];
4080
+ };
4081
+ var $serializer_instance_21;
4082
+ function $serializer_getInstance_21() {
4083
+ if ($serializer_instance_21 == null)
4084
+ new $serializer_21();
4085
+ return $serializer_instance_21;
4086
+ }
4087
+ function UnknownComponent(type, id) {
4088
+ id = id === VOID ? null : id;
4089
+ this.bq_1 = type;
4090
+ this.cq_1 = id;
4091
+ }
4092
+ protoOf(UnknownComponent).pk = function () {
4093
+ return this.bq_1;
4094
+ };
4095
+ protoOf(UnknownComponent).mk = function () {
4096
+ return this.cq_1;
4097
+ };
4098
+ protoOf(UnknownComponent).r9 = function () {
4099
+ return this.bq_1;
4100
+ };
4101
+ protoOf(UnknownComponent).s9 = function () {
4102
+ return this.cq_1;
4103
+ };
4104
+ protoOf(UnknownComponent).dq = function (type, id) {
4105
+ return new UnknownComponent(type, id);
4106
+ };
4107
+ protoOf(UnknownComponent).copy = function (type, id, $super) {
4108
+ type = type === VOID ? this.bq_1 : type;
4109
+ id = id === VOID ? this.cq_1 : id;
4110
+ return $super === VOID ? this.dq(type, id) : $super.dq.call(this, type, id);
4111
+ };
4112
+ protoOf(UnknownComponent).toString = function () {
4113
+ return 'UnknownComponent(type=' + this.bq_1 + ', id=' + this.cq_1 + ')';
4114
+ };
4115
+ protoOf(UnknownComponent).hashCode = function () {
4116
+ var result = this.bq_1;
4117
+ result = imul(result, 31) + (this.cq_1 == null ? 0 : this.cq_1) | 0;
4118
+ return result;
4119
+ };
4120
+ protoOf(UnknownComponent).equals = function (other) {
4121
+ if (this === other)
4122
+ return true;
4123
+ if (!(other instanceof UnknownComponent))
4124
+ return false;
4125
+ if (!(this.bq_1 === other.bq_1))
4126
+ return false;
4127
+ if (!(this.cq_1 == other.cq_1))
4128
+ return false;
4129
+ return true;
4130
+ };
4131
+ //region block: post-declaration
4132
+ protoOf($serializer).rg = typeParametersSerializers;
4133
+ defineProp(protoOf(FileComponent), 'id', function () {
4134
+ return this.mk();
4135
+ });
4136
+ defineProp(protoOf(FileComponent), 'type', function () {
4137
+ return this.pk();
4138
+ });
4139
+ protoOf($serializer_0).rg = typeParametersSerializers;
4140
+ defineProp(protoOf(MediaGallery), 'id', function () {
4141
+ return this.mk();
4142
+ });
4143
+ defineProp(protoOf(MediaGallery), 'type', function () {
4144
+ return this.pk();
4145
+ });
4146
+ protoOf($serializer_1).rg = typeParametersSerializers;
4147
+ protoOf($serializer_2).rg = typeParametersSerializers;
4148
+ protoOf($serializer_3).rg = typeParametersSerializers;
4149
+ defineProp(protoOf(TextDisplay), 'id', function () {
4150
+ return this.mk();
4151
+ });
4152
+ defineProp(protoOf(TextDisplay), 'type', function () {
4153
+ return this.pk();
4154
+ });
4155
+ protoOf($serializer_4).rg = typeParametersSerializers;
4156
+ defineProp(protoOf(Thumbnail), 'id', function () {
4157
+ return this.mk();
4158
+ });
4159
+ defineProp(protoOf(Thumbnail), 'type', function () {
4160
+ return this.pk();
4161
+ });
4162
+ protoOf($serializer_5).rg = typeParametersSerializers;
4163
+ defineProp(protoOf(Button), 'id', function () {
4164
+ return this.mk();
4165
+ });
4166
+ defineProp(protoOf(Button), 'type', function () {
4167
+ return this.pk();
4168
+ });
4169
+ defineProp(protoOf(BaseEntitySelect), 'customId', function () {
4170
+ return this.qi();
4171
+ });
4172
+ defineProp(protoOf(BaseEntitySelect), 'placeholder', function () {
4173
+ return this.cj();
4174
+ });
4175
+ defineProp(protoOf(BaseEntitySelect), 'minValues', function () {
4176
+ return this.ej();
4177
+ });
4178
+ defineProp(protoOf(BaseEntitySelect), 'maxValues', function () {
4179
+ return this.gj();
4180
+ });
4181
+ defineProp(protoOf(BaseEntitySelect), 'disabled', function () {
4182
+ return this.wi();
4183
+ });
4184
+ defineProp(protoOf(BaseEntitySelect), 'required', function () {
4185
+ return this.ij();
4186
+ });
4187
+ defineProp(protoOf(BaseEntitySelect), 'defaultValues', function () {
4188
+ return this.qj();
4189
+ });
4190
+ defineProp(protoOf(BaseEntitySelect), 'type', function () {
4191
+ return this.pk();
4192
+ });
4193
+ defineProp(protoOf(BaseEntitySelect), 'id', function () {
4194
+ return this.mk();
4195
+ });
4196
+ protoOf($serializer_6).rg = typeParametersSerializers;
4197
+ defineProp(protoOf(UserSelect), 'id', function () {
4198
+ return this.mk();
4199
+ });
4200
+ defineProp(protoOf(UserSelect), 'type', function () {
4201
+ return this.pk();
4202
+ });
4203
+ protoOf($serializer_7).rg = typeParametersSerializers;
4204
+ defineProp(protoOf(RoleSelect), 'id', function () {
4205
+ return this.mk();
4206
+ });
4207
+ defineProp(protoOf(RoleSelect), 'type', function () {
4208
+ return this.pk();
4209
+ });
4210
+ protoOf($serializer_8).rg = typeParametersSerializers;
4211
+ defineProp(protoOf(MentionableSelect), 'id', function () {
4212
+ return this.mk();
4213
+ });
4214
+ defineProp(protoOf(MentionableSelect), 'type', function () {
4215
+ return this.pk();
4216
+ });
4217
+ protoOf($serializer_9).rg = typeParametersSerializers;
4218
+ defineProp(protoOf(ChannelSelect), 'id', function () {
4219
+ return this.mk();
4220
+ });
4221
+ defineProp(protoOf(ChannelSelect), 'type', function () {
4222
+ return this.pk();
4223
+ });
4224
+ protoOf($serializer_10).rg = typeParametersSerializers;
4225
+ protoOf($serializer_11).rg = typeParametersSerializers;
4226
+ defineProp(protoOf(FileUpload), 'id', function () {
4227
+ return this.mk();
4228
+ });
4229
+ defineProp(protoOf(FileUpload), 'type', function () {
4230
+ return this.pk();
4231
+ });
4232
+ protoOf($serializer_12).rg = typeParametersSerializers;
4233
+ defineProp(protoOf(StringSelect), 'id', function () {
4234
+ return this.mk();
4235
+ });
4236
+ defineProp(protoOf(StringSelect), 'type', function () {
4237
+ return this.pk();
4238
+ });
4239
+ protoOf($serializer_13).rg = typeParametersSerializers;
4240
+ protoOf($serializer_14).rg = typeParametersSerializers;
4241
+ defineProp(protoOf(TextInput), 'id', function () {
4242
+ return this.mk();
4243
+ });
4244
+ defineProp(protoOf(TextInput), 'type', function () {
4245
+ return this.pk();
4246
+ });
4247
+ protoOf($serializer_15).rg = typeParametersSerializers;
4248
+ defineProp(protoOf(ActionRow), 'id', function () {
4249
+ return this.mk();
4250
+ });
4251
+ defineProp(protoOf(ActionRow), 'type', function () {
4252
+ return this.pk();
4253
+ });
4254
+ protoOf($serializer_16).rg = typeParametersSerializers;
4255
+ defineProp(protoOf(Container), 'id', function () {
4256
+ return this.mk();
4257
+ });
4258
+ defineProp(protoOf(Container), 'type', function () {
4259
+ return this.pk();
4260
+ });
4261
+ protoOf($serializer_17).rg = typeParametersSerializers;
4262
+ defineProp(protoOf(Label), 'id', function () {
4263
+ return this.mk();
4264
+ });
4265
+ defineProp(protoOf(Label), 'type', function () {
4266
+ return this.pk();
4267
+ });
4268
+ protoOf($serializer_18).rg = typeParametersSerializers;
4269
+ defineProp(protoOf(Section), 'id', function () {
4270
+ return this.mk();
4271
+ });
4272
+ defineProp(protoOf(Section), 'type', function () {
4273
+ return this.pk();
4274
+ });
4275
+ protoOf($serializer_19).rg = typeParametersSerializers;
4276
+ defineProp(protoOf(Separator), 'id', function () {
4277
+ return this.mk();
4278
+ });
4279
+ defineProp(protoOf(Separator), 'type', function () {
4280
+ return this.pk();
4281
+ });
4282
+ protoOf($serializer_20).rg = typeParametersSerializers;
4283
+ protoOf($serializer_21).rg = typeParametersSerializers;
4284
+ defineProp(protoOf(UnknownComponent), 'type', function () {
4285
+ return this.pk();
4286
+ });
4287
+ defineProp(protoOf(UnknownComponent), 'id', function () {
4288
+ return this.mk();
4289
+ });
4290
+ //endregion
4291
+ //region block: init
4292
+ Companion_instance = new Companion();
4293
+ Companion_instance_1 = new Companion_1();
4294
+ Companion_instance_2 = new Companion_2();
4295
+ Companion_instance_3 = new Companion_3();
4296
+ Companion_instance_4 = new Companion_4();
4297
+ Companion_instance_5 = new Companion_5();
4298
+ ButtonStyles_instance = new ButtonStyles();
4299
+ Companion_instance_11 = new Companion_11();
4300
+ Companion_instance_12 = new Companion_12();
4301
+ Companion_instance_14 = new Companion_14();
4302
+ Companion_instance_15 = new Companion_15();
4303
+ Companion_instance_18 = new Companion_18();
4304
+ Companion_instance_20 = new Companion_20();
4305
+ Companion_instance_21 = new Companion_21();
4306
+ Companion_instance_22 = new Companion_22();
4307
+ Companion_instance_23 = new Companion_23();
4308
+ //endregion
4309
+ //region block: exports
4310
+ function $jsExportAll$(_) {
4311
+ var $fr = _.fr || (_.fr = {});
4312
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4313
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4314
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4315
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4316
+ var $fr$ftnl$tools$messageBuilder$core$dsl = $fr$ftnl$tools$messageBuilder$core.dsl || ($fr$ftnl$tools$messageBuilder$core.dsl = {});
4317
+ var $fr$ftnl$tools$messageBuilder$core$dsl$components = $fr$ftnl$tools$messageBuilder$core$dsl.components || ($fr$ftnl$tools$messageBuilder$core$dsl.components = {});
4318
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.TextBuilder = TextBuilder;
4319
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.MediaGalleryBuilder = MediaGalleryBuilder;
4320
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.MediaGalleryItemBuilder = MediaGalleryItemBuilder;
4321
+ var $fr = _.fr || (_.fr = {});
4322
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4323
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4324
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4325
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4326
+ var $fr$ftnl$tools$messageBuilder$core$dsl = $fr$ftnl$tools$messageBuilder$core.dsl || ($fr$ftnl$tools$messageBuilder$core.dsl = {});
4327
+ var $fr$ftnl$tools$messageBuilder$core$dsl$components = $fr$ftnl$tools$messageBuilder$core$dsl.components || ($fr$ftnl$tools$messageBuilder$core$dsl.components = {});
4328
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.discordComponent = discordComponent;
4329
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.BaseComponentBuilder = BaseComponentBuilder;
4330
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.RootComponentBuilder = RootComponentBuilder;
4331
+ var $fr = _.fr || (_.fr = {});
4332
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4333
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4334
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4335
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4336
+ var $fr$ftnl$tools$messageBuilder$core$dsl = $fr$ftnl$tools$messageBuilder$core.dsl || ($fr$ftnl$tools$messageBuilder$core.dsl = {});
4337
+ var $fr$ftnl$tools$messageBuilder$core$dsl$components = $fr$ftnl$tools$messageBuilder$core$dsl.components || ($fr$ftnl$tools$messageBuilder$core$dsl.components = {});
4338
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.ButtonBuilder = ButtonBuilder;
4339
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.StringSelectBuilder = StringSelectBuilder;
4340
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.SelectOptionBuilder = SelectOptionBuilder;
4341
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.UserSelectBuilder = UserSelectBuilder;
4342
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.RoleSelectBuilder = RoleSelectBuilder;
4343
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.MentionableSelectBuilder = MentionableSelectBuilder;
4344
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.ChannelSelectBuilder = ChannelSelectBuilder;
4345
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.BaseEntitySelectBuilder = BaseEntitySelectBuilder;
4346
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.TextInputBuilder = TextInputBuilder;
4347
+ var $fr = _.fr || (_.fr = {});
4348
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4349
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4350
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4351
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4352
+ var $fr$ftnl$tools$messageBuilder$core$dsl = $fr$ftnl$tools$messageBuilder$core.dsl || ($fr$ftnl$tools$messageBuilder$core.dsl = {});
4353
+ var $fr$ftnl$tools$messageBuilder$core$dsl$components = $fr$ftnl$tools$messageBuilder$core$dsl.components || ($fr$ftnl$tools$messageBuilder$core$dsl.components = {});
4354
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.ContainerBuilder = ContainerBuilder;
4355
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.ActionRowBuilder = ActionRowBuilder;
4356
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.SectionBuilder = SectionBuilder;
4357
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.SectionAccessoryBuilder = SectionAccessoryBuilder;
4358
+ $fr$ftnl$tools$messageBuilder$core$dsl$components.LabelComponentBuilder = LabelComponentBuilder;
4359
+ var $fr = _.fr || (_.fr = {});
4360
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4361
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4362
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4363
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4364
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4365
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4366
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$content = $fr$ftnl$tools$messageBuilder$core$dto$components.content || ($fr$ftnl$tools$messageBuilder$core$dto$components.content = {});
4367
+ $fr$ftnl$tools$messageBuilder$core$dto$components$content.FileComponent = FileComponent;
4368
+ var $fr = _.fr || (_.fr = {});
4369
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4370
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4371
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4372
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4373
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4374
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4375
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$content = $fr$ftnl$tools$messageBuilder$core$dto$components.content || ($fr$ftnl$tools$messageBuilder$core$dto$components.content = {});
4376
+ $fr$ftnl$tools$messageBuilder$core$dto$components$content.MediaGallery = MediaGallery;
4377
+ $fr$ftnl$tools$messageBuilder$core$dto$components$content.MediaGalleryItem = MediaGalleryItem;
4378
+ $fr$ftnl$tools$messageBuilder$core$dto$components$content.UnfurledMediaItem = UnfurledMediaItem;
4379
+ var $fr = _.fr || (_.fr = {});
4380
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4381
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4382
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4383
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4384
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4385
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4386
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$content = $fr$ftnl$tools$messageBuilder$core$dto$components.content || ($fr$ftnl$tools$messageBuilder$core$dto$components.content = {});
4387
+ $fr$ftnl$tools$messageBuilder$core$dto$components$content.TextDisplay = TextDisplay;
4388
+ var $fr = _.fr || (_.fr = {});
4389
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4390
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4391
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4392
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4393
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4394
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4395
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$content = $fr$ftnl$tools$messageBuilder$core$dto$components.content || ($fr$ftnl$tools$messageBuilder$core$dto$components.content = {});
4396
+ $fr$ftnl$tools$messageBuilder$core$dto$components$content.Thumbnail = Thumbnail;
4397
+ var $fr = _.fr || (_.fr = {});
4398
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4399
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4400
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4401
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4402
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4403
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4404
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$interactive = $fr$ftnl$tools$messageBuilder$core$dto$components.interactive || ($fr$ftnl$tools$messageBuilder$core$dto$components.interactive = {});
4405
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.Button = Button;
4406
+ defineProp($fr$ftnl$tools$messageBuilder$core$dto$components$interactive, 'ButtonStyles', ButtonStyles_getInstance, VOID, true);
4407
+ var $fr = _.fr || (_.fr = {});
4408
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4409
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4410
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4411
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4412
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4413
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4414
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$interactive = $fr$ftnl$tools$messageBuilder$core$dto$components.interactive || ($fr$ftnl$tools$messageBuilder$core$dto$components.interactive = {});
4415
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.BaseEntitySelect = BaseEntitySelect;
4416
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.UserSelect = UserSelect;
4417
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.RoleSelect = RoleSelect;
4418
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.MentionableSelect = MentionableSelect;
4419
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.ChannelSelect = ChannelSelect;
4420
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.SelectDefaultValue = SelectDefaultValue;
4421
+ var $fr = _.fr || (_.fr = {});
4422
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4423
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4424
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4425
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4426
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4427
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4428
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$interactive = $fr$ftnl$tools$messageBuilder$core$dto$components.interactive || ($fr$ftnl$tools$messageBuilder$core$dto$components.interactive = {});
4429
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.FileUpload = FileUpload;
4430
+ var $fr = _.fr || (_.fr = {});
4431
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4432
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4433
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4434
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4435
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4436
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4437
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$interactive = $fr$ftnl$tools$messageBuilder$core$dto$components.interactive || ($fr$ftnl$tools$messageBuilder$core$dto$components.interactive = {});
4438
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.StringSelect = StringSelect;
4439
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.SelectOption = SelectOption;
4440
+ var $fr = _.fr || (_.fr = {});
4441
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4442
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4443
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4444
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4445
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4446
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4447
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$interactive = $fr$ftnl$tools$messageBuilder$core$dto$components.interactive || ($fr$ftnl$tools$messageBuilder$core$dto$components.interactive = {});
4448
+ $fr$ftnl$tools$messageBuilder$core$dto$components$interactive.TextInput = TextInput;
4449
+ var $fr = _.fr || (_.fr = {});
4450
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4451
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4452
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4453
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4454
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4455
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4456
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$layout = $fr$ftnl$tools$messageBuilder$core$dto$components.layout || ($fr$ftnl$tools$messageBuilder$core$dto$components.layout = {});
4457
+ $fr$ftnl$tools$messageBuilder$core$dto$components$layout.ActionRow = ActionRow;
4458
+ var $fr = _.fr || (_.fr = {});
4459
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4460
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4461
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4462
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4463
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4464
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4465
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$layout = $fr$ftnl$tools$messageBuilder$core$dto$components.layout || ($fr$ftnl$tools$messageBuilder$core$dto$components.layout = {});
4466
+ $fr$ftnl$tools$messageBuilder$core$dto$components$layout.Container = Container;
4467
+ var $fr = _.fr || (_.fr = {});
4468
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4469
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4470
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4471
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4472
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4473
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4474
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$layout = $fr$ftnl$tools$messageBuilder$core$dto$components.layout || ($fr$ftnl$tools$messageBuilder$core$dto$components.layout = {});
4475
+ $fr$ftnl$tools$messageBuilder$core$dto$components$layout.Label = Label;
4476
+ var $fr = _.fr || (_.fr = {});
4477
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4478
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4479
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4480
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4481
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4482
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4483
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$layout = $fr$ftnl$tools$messageBuilder$core$dto$components.layout || ($fr$ftnl$tools$messageBuilder$core$dto$components.layout = {});
4484
+ $fr$ftnl$tools$messageBuilder$core$dto$components$layout.Section = Section;
4485
+ var $fr = _.fr || (_.fr = {});
4486
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4487
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4488
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4489
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4490
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4491
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4492
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$layout = $fr$ftnl$tools$messageBuilder$core$dto$components.layout || ($fr$ftnl$tools$messageBuilder$core$dto$components.layout = {});
4493
+ $fr$ftnl$tools$messageBuilder$core$dto$components$layout.Separator = Separator;
4494
+ var $fr = _.fr || (_.fr = {});
4495
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4496
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4497
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4498
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4499
+ var $fr$ftnl$tools$messageBuilder$core$dto = $fr$ftnl$tools$messageBuilder$core.dto || ($fr$ftnl$tools$messageBuilder$core.dto = {});
4500
+ var $fr$ftnl$tools$messageBuilder$core$dto$components = $fr$ftnl$tools$messageBuilder$core$dto.components || ($fr$ftnl$tools$messageBuilder$core$dto.components = {});
4501
+ var $fr$ftnl$tools$messageBuilder$core$dto$components$utils = $fr$ftnl$tools$messageBuilder$core$dto$components.utils || ($fr$ftnl$tools$messageBuilder$core$dto$components.utils = {});
4502
+ $fr$ftnl$tools$messageBuilder$core$dto$components$utils.DiscordEmoji = DiscordEmoji;
4503
+ var $fr = _.fr || (_.fr = {});
4504
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4505
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4506
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4507
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4508
+ var $fr$ftnl$tools$messageBuilder$core$interfaces = $fr$ftnl$tools$messageBuilder$core.interfaces || ($fr$ftnl$tools$messageBuilder$core.interfaces = {});
4509
+ var $fr$ftnl$tools$messageBuilder$core$interfaces$components = $fr$ftnl$tools$messageBuilder$core$interfaces.components || ($fr$ftnl$tools$messageBuilder$core$interfaces.components = {});
4510
+ var $fr = _.fr || (_.fr = {});
4511
+ var $fr$ftnl = $fr.ftnl || ($fr.ftnl = {});
4512
+ var $fr$ftnl$tools = $fr$ftnl.tools || ($fr$ftnl.tools = {});
4513
+ var $fr$ftnl$tools$messageBuilder = $fr$ftnl$tools.messageBuilder || ($fr$ftnl$tools.messageBuilder = {});
4514
+ var $fr$ftnl$tools$messageBuilder$core = $fr$ftnl$tools$messageBuilder.core || ($fr$ftnl$tools$messageBuilder.core = {});
4515
+ var $fr$ftnl$tools$messageBuilder$core$serializers = $fr$ftnl$tools$messageBuilder$core.serializers || ($fr$ftnl$tools$messageBuilder$core.serializers = {});
4516
+ var $fr$ftnl$tools$messageBuilder$core$serializers$components = $fr$ftnl$tools$messageBuilder$core$serializers.components || ($fr$ftnl$tools$messageBuilder$core$serializers.components = {});
4517
+ $fr$ftnl$tools$messageBuilder$core$serializers$components.UnknownComponent = UnknownComponent;
4518
+ }
4519
+ $jsExportAll$(_);
4520
+ kotlin_kotlin.$jsExportAll$(_);
4521
+ //endregion
4522
+ return _;
4523
+ }));
4524
+
4525
+ //# sourceMappingURL=DiscordMessageBuilder-core.js.map