raspberry_games_server_game_logic 1.8.450 → 1.8.453

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/Kosi-Kaverit-kaverit.js +92 -92
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +823 -783
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +1919 -1919
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-ai_module.js +684 -688
  8. package/Logic_Debertz-ai_module.js.map +1 -1
  9. package/Logic_Debertz-core.js +2039 -2051
  10. package/Logic_Debertz-core.js.map +1 -1
  11. package/Logic_Debertz-engine.js +19206 -19216
  12. package/Logic_Debertz-engine.js.map +1 -1
  13. package/Logic_Debertz-game_server.d.ts +756 -669
  14. package/Logic_Debertz-game_server.js +2258 -2267
  15. package/Logic_Debertz-game_server.js.map +1 -1
  16. package/error-library-error.js +7 -7
  17. package/kotlin-kotlin-stdlib.js +5747 -4874
  18. package/kotlin-kotlin-stdlib.js.map +1 -1
  19. package/kotlinx-atomicfu.js +22 -22
  20. package/kotlinx-coroutines-core.js +3322 -3271
  21. package/kotlinx-coroutines-core.js.map +1 -1
  22. package/kotlinx-io-kotlinx-io-bytestring.js +204 -5
  23. package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
  24. package/kotlinx-io-kotlinx-io-core.js +1689 -428
  25. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  26. package/kotlinx-serialization-kotlinx-serialization-core.js +2253 -2252
  27. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  28. package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
  29. package/kotlinx-serialization-kotlinx-serialization-json.js +1626 -1626
  30. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  31. package/ktor-ktor-client-content-negotiation.js +457 -395
  32. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  33. package/ktor-ktor-client-core.js +6683 -3979
  34. package/ktor-ktor-client-core.js.map +1 -1
  35. package/ktor-ktor-client-logging.js +2626 -892
  36. package/ktor-ktor-client-logging.js.map +1 -1
  37. package/ktor-ktor-events.js +14 -14
  38. package/ktor-ktor-events.js.map +1 -1
  39. package/ktor-ktor-http-cio.js +2278 -0
  40. package/ktor-ktor-http-cio.js.map +1 -0
  41. package/ktor-ktor-http.js +1274 -1134
  42. package/ktor-ktor-http.js.map +1 -1
  43. package/ktor-ktor-io.js +2598 -5514
  44. package/ktor-ktor-io.js.map +1 -1
  45. package/ktor-ktor-serialization-kotlinx-json.js +8 -8
  46. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  47. package/ktor-ktor-serialization-kotlinx.js +332 -338
  48. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  49. package/ktor-ktor-serialization.js +143 -153
  50. package/ktor-ktor-serialization.js.map +1 -1
  51. package/{ktor-ktor-client-js.js → ktor-ktor-sse.js} +2 -2
  52. package/ktor-ktor-sse.js.map +1 -0
  53. package/ktor-ktor-utils.js +1708 -1141
  54. package/ktor-ktor-utils.js.map +1 -1
  55. package/ktor-ktor-websockets.js +123 -136
  56. package/ktor-ktor-websockets.js.map +1 -1
  57. package/package.json +2 -4
  58. package/random-library-crypto-rand.js +15 -15
  59. package/random-library-crypto-rand.js.map +1 -1
  60. package/random-library-secure-random.js +10 -10
  61. package/random-library-secure-random.js.map +1 -1
  62. package/raspberry-cardgame-lib-core.js +365 -366
  63. package/raspberry-cardgame-lib-core.js.map +1 -1
  64. package/raspberry-cardgame-lib-logger.js +120 -121
  65. package/raspberry-cardgame-lib-logger.js.map +1 -1
  66. package/raspberry-cardgame-lib-random.js +1181 -1207
  67. package/raspberry-cardgame-lib-random.js.map +1 -1
  68. package/uuid.js +38 -38
  69. package/uuid.js.map +1 -1
  70. /package/{ktor-ktor-client-js.js.map → kotlinx-serialization-kotlinx-serialization-json-io.js.map} +0 -0
@@ -43,95 +43,94 @@
43
43
  'use strict';
44
44
  //region block: imports
45
45
  var imul = Math.imul;
46
- var protoOf = kotlin_kotlin.$_$.ld;
47
- var initMetadataForInterface = kotlin_kotlin.$_$.oc;
46
+ var protoOf = kotlin_kotlin.$_$.wd;
47
+ var initMetadataForInterface = kotlin_kotlin.$_$.zc;
48
48
  var VOID = kotlin_kotlin.$_$.b;
49
- var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
50
- var Unit_instance = kotlin_kotlin.$_$.f5;
51
- var CoroutineImpl = kotlin_kotlin.$_$.ra;
52
- var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.l;
53
- var url = kotlin_io_ktor_ktor_client_core.$_$.p;
54
- var headers = kotlin_io_ktor_ktor_client_core.$_$.n;
49
+ var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
50
+ var Unit_instance = kotlin_kotlin.$_$.h5;
51
+ var CoroutineImpl = kotlin_kotlin.$_$.ya;
52
+ var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.q;
53
+ var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.h;
54
+ var url = kotlin_io_ktor_ktor_client_core.$_$.u;
55
+ var headers = kotlin_io_ktor_ktor_client_core.$_$.s;
55
56
  var Application_getInstance = kotlin_io_ktor_ktor_http.$_$.b;
56
- var contentType = kotlin_io_ktor_ktor_http.$_$.e1;
57
- var JsType_instance = kotlin_io_ktor_ktor_utils.$_$.b;
58
- var getKClass = kotlin_kotlin.$_$.ge;
59
- var arrayOf = kotlin_kotlin.$_$.ci;
60
- var createKType = kotlin_kotlin.$_$.ee;
61
- var typeInfoImpl = kotlin_io_ktor_ktor_utils.$_$.l;
62
- var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
57
+ var contentType = kotlin_io_ktor_ktor_http.$_$.k1;
58
+ var getKClass = kotlin_kotlin.$_$.qe;
59
+ var arrayOf = kotlin_kotlin.$_$.vi;
60
+ var createKType = kotlin_kotlin.$_$.oe;
61
+ var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.k;
62
+ var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
63
63
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
64
- var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.f;
65
- var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.s;
66
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ca;
67
- var Companion_instance = kotlin_kotlin.$_$.a5;
68
- var THROW_CCE = kotlin_kotlin.$_$.oh;
69
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t2;
70
- var createFailure = kotlin_kotlin.$_$.ei;
71
- var Exception = kotlin_kotlin.$_$.gh;
72
- var Result = kotlin_kotlin.$_$.mh;
73
- var initMetadataForCoroutine = kotlin_kotlin.$_$.nc;
74
- var initMetadataForClass = kotlin_kotlin.$_$.lc;
75
- var getStringHashCode = kotlin_kotlin.$_$.jc;
76
- var equalsLong = kotlin_kotlin.$_$.fb;
77
- var System_instance = kotlin_kotlin.$_$.u4;
78
- var removeAll = kotlin_kotlin.$_$.u8;
79
- var subtract = kotlin_kotlin.$_$.pb;
80
- var compare = kotlin_kotlin.$_$.ab;
81
- var Long = kotlin_kotlin.$_$.jh;
82
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
83
- var compareTo = kotlin_kotlin.$_$.cc;
84
- var to = kotlin_kotlin.$_$.ti;
85
- var mapOf = kotlin_kotlin.$_$.j8;
86
- var initMetadataForObject = kotlin_kotlin.$_$.qc;
64
+ var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.x;
65
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
66
+ var Companion_instance = kotlin_kotlin.$_$.c5;
67
+ var THROW_CCE = kotlin_kotlin.$_$.hi;
68
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.v2;
69
+ var createFailure = kotlin_kotlin.$_$.yi;
70
+ var Exception = kotlin_kotlin.$_$.zh;
71
+ var Result = kotlin_kotlin.$_$.fi;
72
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.xc;
73
+ var initMetadataForClass = kotlin_kotlin.$_$.vc;
74
+ var getStringHashCode = kotlin_kotlin.$_$.tc;
75
+ var equalsLong = kotlin_kotlin.$_$.nb;
76
+ var System_instance = kotlin_kotlin.$_$.w4;
77
+ var removeAll = kotlin_kotlin.$_$.y8;
78
+ var subtract = kotlin_kotlin.$_$.zb;
79
+ var compare = kotlin_kotlin.$_$.ib;
80
+ var Long = kotlin_kotlin.$_$.ci;
81
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
82
+ var compareTo = kotlin_kotlin.$_$.mc;
83
+ var to = kotlin_kotlin.$_$.mj;
84
+ var mapOf = kotlin_kotlin.$_$.n8;
85
+ var initMetadataForObject = kotlin_kotlin.$_$.bd;
87
86
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
88
87
  var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
89
88
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
90
- var lazy = kotlin_kotlin.$_$.ki;
91
- var initMetadataForCompanion = kotlin_kotlin.$_$.mc;
89
+ var lazy = kotlin_kotlin.$_$.ej;
90
+ var initMetadataForCompanion = kotlin_kotlin.$_$.wc;
92
91
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
93
- var emptyList = kotlin_kotlin.$_$.d7;
94
- var equals = kotlin_kotlin.$_$.ec;
92
+ var emptyList = kotlin_kotlin.$_$.g7;
93
+ var equals = kotlin_kotlin.$_$.oc;
95
94
  var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
96
95
  var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
97
96
  var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
98
97
  var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
99
98
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
100
- var objectCreate = kotlin_kotlin.$_$.kd;
101
- var toString = kotlin_kotlin.$_$.od;
102
- var hashCode = kotlin_kotlin.$_$.kc;
99
+ var objectCreate = kotlin_kotlin.$_$.vd;
100
+ var toString = kotlin_kotlin.$_$.zd;
101
+ var hashCode = kotlin_kotlin.$_$.uc;
103
102
  var createAnnotatedEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
104
103
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
105
- var Enum = kotlin_kotlin.$_$.eh;
106
- var getNumberHashCode = kotlin_kotlin.$_$.hc;
107
- var getBooleanHashCode = kotlin_kotlin.$_$.gc;
104
+ var Enum = kotlin_kotlin.$_$.xh;
105
+ var getNumberHashCode = kotlin_kotlin.$_$.rc;
106
+ var getBooleanHashCode = kotlin_kotlin.$_$.qc;
108
107
  var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
109
108
  var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
110
109
  var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
111
- var toString_0 = kotlin_kotlin.$_$.si;
112
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.x2;
113
- var firstOrNull = kotlin_kotlin.$_$.h7;
114
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
115
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.w2;
116
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.z;
117
- var take = kotlin_kotlin.$_$.bg;
118
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
119
- var takeLast = kotlin_kotlin.$_$.i9;
120
- var listOf = kotlin_kotlin.$_$.g8;
110
+ var toString_0 = kotlin_kotlin.$_$.lj;
111
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.z2;
112
+ var firstOrNull = kotlin_kotlin.$_$.l7;
113
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
114
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.y2;
115
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.b1;
116
+ var take = kotlin_kotlin.$_$.rg;
117
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
118
+ var takeLast = kotlin_kotlin.$_$.m9;
119
+ var listOf = kotlin_kotlin.$_$.k8;
121
120
  var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
122
121
  var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
123
122
  var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
124
123
  var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
125
- var isInterface = kotlin_kotlin.$_$.zc;
126
- var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.u;
124
+ var isInterface = kotlin_kotlin.$_$.kd;
125
+ var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.b1;
127
126
  var json = kotlin_io_ktor_ktor_serialization_kotlinx_json.$_$.a;
128
127
  var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.d;
129
- var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.f;
128
+ var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.e;
130
129
  var LogLevel_NONE_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.c;
131
130
  var LogLevel_INFO_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.b;
132
- var Plugin_getInstance = kotlin_io_ktor_ktor_client_content_negotiation.$_$.a;
133
- var Companion_getInstance_0 = kotlin_io_ktor_ktor_client_logging.$_$.e;
134
- var HttpClient_0 = kotlin_io_ktor_ktor_client_core.$_$.v;
131
+ var get_ContentNegotiation = kotlin_io_ktor_ktor_client_content_negotiation.$_$.a;
132
+ var get_Logging = kotlin_io_ktor_ktor_client_logging.$_$.f;
133
+ var HttpClient_0 = kotlin_io_ktor_ktor_client_core.$_$.c1;
135
134
  var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
136
135
  //endregion
137
136
  //region block: pre-declaration
@@ -146,7 +145,7 @@
146
145
  initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
147
146
  initMetadataForClass(BotChatContext, 'BotChatContext', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
148
147
  initMetadataForCompanion(Companion_0, VOID, [SerializerFactory]);
149
- initMetadataForClass(Role, 'Role', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_2});
148
+ initMetadataForClass(Role, 'Role', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_1});
150
149
  initMetadataForCompanion(Companion_1);
151
150
  initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
152
151
  initMetadataForClass(ChatMessage, 'ChatMessage', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
@@ -173,77 +172,76 @@
173
172
  }
174
173
  function OpenAIApiImpl$chatCompletion$lambda(this$0) {
175
174
  return function ($this$headers) {
176
- $this$headers.x39(HttpHeaders_getInstance().t3f_1, 'Bearer ' + this$0.q6m_1.j6m_1);
175
+ $this$headers.f38(HttpHeaders_getInstance().s3f_1, 'Bearer ' + this$0.r7d_1.k7d_1);
177
176
  return Unit_instance;
178
177
  };
179
178
  }
180
179
  function $chatCompletionCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
181
180
  CoroutineImpl.call(this, resultContinuation);
182
- this.a6n_1 = _this__u8e3s4;
183
- this.b6n_1 = messages;
181
+ this.b7e_1 = _this__u8e3s4;
182
+ this.c7e_1 = messages;
184
183
  }
185
- protoOf($chatCompletionCOROUTINE$).a9 = function () {
186
- var suspendResult = this.u8_1;
184
+ protoOf($chatCompletionCOROUTINE$).m9 = function () {
185
+ var suspendResult = this.g9_1;
187
186
  $sm: do
188
187
  try {
189
- var tmp = this.s8_1;
188
+ var tmp = this.e9_1;
190
189
  switch (tmp) {
191
190
  case 0:
192
- this.t8_1 = 4;
193
- this.t8_1 = 3;
194
- var request = new OpenAIRequest(this.a6n_1.q6m_1.k6m_1, this.b6n_1, this.a6n_1.q6m_1.m6m_1, this.a6n_1.q6m_1.n6m_1);
195
- var tmp0 = this.a6n_1.r6m_1;
196
- var urlString = this.a6n_1.q6m_1.l6m_1 + '/chat/completions';
197
- var this_0 = new HttpRequestBuilder();
198
- url(this_0, urlString);
199
- headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.a6n_1));
200
- contentType(this_0, Application_getInstance().y3d_1);
191
+ this.f9_1 = 4;
192
+ this.f9_1 = 3;
193
+ var request = new OpenAIRequest(this.b7e_1.r7d_1.l7d_1, this.c7e_1, this.b7e_1.r7d_1.n7d_1, this.b7e_1.r7d_1.o7d_1);
194
+ var tmp0 = this.b7e_1.s7d_1;
195
+ var urlString = this.b7e_1.r7d_1.m7d_1 + '/chat/completions';
196
+ var builder = new HttpRequestBuilder();
197
+ builder.y40_1 = Companion_getInstance().p3j_1;
198
+ url(builder, urlString);
199
+ headers(builder, OpenAIApiImpl$chatCompletion$lambda(this.b7e_1));
200
+ contentType(builder, Application_getInstance().j3d_1);
201
201
  if (request == null) {
202
- this_0.p3s_1 = NullBody_instance;
203
- var tmp_0 = JsType_instance;
204
- var tmp_1 = getKClass(OpenAIRequest);
205
- var tmp_2;
202
+ builder.a41_1 = NullBody_instance;
203
+ var tmp_0 = getKClass(OpenAIRequest);
204
+ var tmp_1;
206
205
  try {
207
- tmp_2 = createKType(getKClass(OpenAIRequest), arrayOf([]), false);
206
+ tmp_1 = createKType(getKClass(OpenAIRequest), arrayOf([]), false);
208
207
  } catch ($p) {
209
- var tmp_3;
208
+ var tmp_2;
210
209
  if ($p instanceof Error) {
211
- var cause = $p;
212
- tmp_3 = null;
210
+ var _unused_var__etf5q3 = $p;
211
+ tmp_2 = null;
213
212
  } else {
214
213
  throw $p;
215
214
  }
216
- tmp_2 = tmp_3;
215
+ tmp_1 = tmp_2;
217
216
  }
218
- this_0.b3y(typeInfoImpl(tmp_0, tmp_1, tmp_2));
217
+ builder.q46(new TypeInfo(tmp_0, tmp_1));
219
218
  } else {
220
219
  if (request instanceof OutgoingContent) {
221
- this_0.p3s_1 = request;
222
- this_0.b3y(null);
220
+ builder.a41_1 = request;
221
+ builder.q46(null);
223
222
  } else {
224
- this_0.p3s_1 = request;
225
- var tmp_4 = JsType_instance;
226
- var tmp_5 = getKClass(OpenAIRequest);
227
- var tmp_6;
223
+ builder.a41_1 = request;
224
+ var tmp_3 = getKClass(OpenAIRequest);
225
+ var tmp_4;
228
226
  try {
229
- tmp_6 = createKType(getKClass(OpenAIRequest), arrayOf([]), false);
227
+ tmp_4 = createKType(getKClass(OpenAIRequest), arrayOf([]), false);
230
228
  } catch ($p) {
231
- var tmp_7;
229
+ var tmp_5;
232
230
  if ($p instanceof Error) {
233
- var cause_0 = $p;
234
- tmp_7 = null;
231
+ var _unused_var__etf5q3_0 = $p;
232
+ tmp_5 = null;
235
233
  } else {
236
234
  throw $p;
237
235
  }
238
- tmp_6 = tmp_7;
236
+ tmp_4 = tmp_5;
239
237
  }
240
- this_0.b3y(typeInfoImpl(tmp_4, tmp_5, tmp_6));
238
+ builder.q46(new TypeInfo(tmp_3, tmp_4));
241
239
  }
242
240
  }
243
241
 
244
- this_0.n3s_1 = Companion_getInstance().p3j_1;
245
- this.s8_1 = 1;
246
- suspendResult = (new HttpStatement(this_0, tmp0)).c4j(this);
242
+ builder.y40_1 = Companion_getInstance().p3j_1;
243
+ this.e9_1 = 1;
244
+ suspendResult = (new HttpStatement(builder, tmp0)).j52(this);
247
245
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
248
246
  return suspendResult;
249
247
  }
@@ -251,27 +249,25 @@
251
249
  continue $sm;
252
250
  case 1:
253
251
  var response = suspendResult;
254
- var tmp_8 = this;
255
- tmp_8.d6n_1 = Companion_instance;
256
- this.s8_1 = 2;
257
- var tmp_9 = response.q3v();
258
- var tmp_10 = JsType_instance;
259
- var tmp_11 = getKClass(OpenAIResponse);
260
- var tmp_12;
252
+ this.e7e_1 = Companion_instance;
253
+ this.e9_1 = 2;
254
+ var tmp_6 = response.m42();
255
+ var tmp_7 = getKClass(OpenAIResponse);
256
+ var tmp_8;
261
257
  try {
262
- tmp_12 = createKType(getKClass(OpenAIResponse), arrayOf([]), false);
258
+ tmp_8 = createKType(getKClass(OpenAIResponse), arrayOf([]), false);
263
259
  } catch ($p) {
264
- var tmp_13;
260
+ var tmp_9;
265
261
  if ($p instanceof Error) {
266
- var cause_1 = $p;
267
- tmp_13 = null;
262
+ var _unused_var__etf5q3_1 = $p;
263
+ tmp_9 = null;
268
264
  } else {
269
265
  throw $p;
270
266
  }
271
- tmp_12 = tmp_13;
267
+ tmp_8 = tmp_9;
272
268
  }
273
269
 
274
- suspendResult = tmp_9.u3u(typeInfoImpl(tmp_10, tmp_11, tmp_12), this);
270
+ suspendResult = tmp_6.j42(new TypeInfo(tmp_7, tmp_8), this);
275
271
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
276
272
  return suspendResult;
277
273
  }
@@ -279,51 +275,51 @@
279
275
  continue $sm;
280
276
  case 2:
281
277
  var tmp2 = suspendResult instanceof OpenAIResponse ? suspendResult : THROW_CCE();
282
- var tmp_14 = this;
283
- this.d6n_1;
284
- tmp_14.c6n_1 = _Result___init__impl__xyqfz8(tmp2);
285
- this.t8_1 = 4;
286
- this.s8_1 = 5;
278
+ var tmp_10 = this;
279
+ this.e7e_1;
280
+ tmp_10.d7e_1 = _Result___init__impl__xyqfz8(tmp2);
281
+ this.f9_1 = 4;
282
+ this.e9_1 = 5;
287
283
  continue $sm;
288
284
  case 3:
289
- this.t8_1 = 4;
290
- var tmp_15 = this.v8_1;
291
- if (tmp_15 instanceof Exception) {
292
- var e = this.v8_1;
293
- var tmp_16 = this;
294
- tmp_16.c6n_1 = _Result___init__impl__xyqfz8(createFailure(e));
295
- this.s8_1 = 5;
285
+ this.f9_1 = 4;
286
+ var tmp_11 = this.h9_1;
287
+ if (tmp_11 instanceof Exception) {
288
+ var e = this.h9_1;
289
+ var tmp_12 = this;
290
+ tmp_12.d7e_1 = _Result___init__impl__xyqfz8(createFailure(e));
291
+ this.e9_1 = 5;
296
292
  continue $sm;
297
293
  } else {
298
- throw this.v8_1;
294
+ throw this.h9_1;
299
295
  }
300
296
 
301
297
  case 4:
302
- throw this.v8_1;
298
+ throw this.h9_1;
303
299
  case 5:
304
- this.t8_1 = 4;
305
- return new Result(this.c6n_1);
300
+ this.f9_1 = 4;
301
+ return new Result(this.d7e_1);
306
302
  }
307
303
  } catch ($p) {
308
304
  var e_0 = $p;
309
- if (this.t8_1 === 4) {
305
+ if (this.f9_1 === 4) {
310
306
  throw e_0;
311
307
  } else {
312
- this.s8_1 = this.t8_1;
313
- this.v8_1 = e_0;
308
+ this.e9_1 = this.f9_1;
309
+ this.h9_1 = e_0;
314
310
  }
315
311
  }
316
312
  while (true);
317
313
  };
318
314
  function OpenAIApiImpl(config, httpClient) {
319
- this.q6m_1 = config;
320
- this.r6m_1 = httpClient;
315
+ this.r7d_1 = config;
316
+ this.s7d_1 = httpClient;
321
317
  }
322
- protoOf(OpenAIApiImpl).i6m = function (messages, $completion) {
318
+ protoOf(OpenAIApiImpl).j7d = function (messages, $completion) {
323
319
  var tmp = new $chatCompletionCOROUTINE$(this, messages, $completion);
324
- tmp.u8_1 = Unit_instance;
325
- tmp.v8_1 = null;
326
- var tmp_0 = tmp.a9();
320
+ tmp.g9_1 = Unit_instance;
321
+ tmp.h9_1 = null;
322
+ var tmp_0 = tmp.m9();
327
323
  if (tmp_0 === get_COROUTINE_SUSPENDED())
328
324
  return tmp_0;
329
325
  return tmp_0;
@@ -331,15 +327,15 @@
331
327
  function BotChatCache() {
332
328
  }
333
329
  function CacheEntry(value, timestamp) {
334
- this.f6n_1 = value;
335
- this.g6n_1 = timestamp;
330
+ this.g7e_1 = value;
331
+ this.h7e_1 = timestamp;
336
332
  }
337
333
  protoOf(CacheEntry).toString = function () {
338
- return 'CacheEntry(value=' + this.f6n_1 + ', timestamp=' + this.g6n_1.toString() + ')';
334
+ return 'CacheEntry(value=' + this.g7e_1 + ', timestamp=' + this.h7e_1.toString() + ')';
339
335
  };
340
336
  protoOf(CacheEntry).hashCode = function () {
341
- var result = getStringHashCode(this.f6n_1);
342
- result = imul(result, 31) + this.g6n_1.hashCode() | 0;
337
+ var result = getStringHashCode(this.g7e_1);
338
+ result = imul(result, 31) + this.h7e_1.hashCode() | 0;
343
339
  return result;
344
340
  };
345
341
  protoOf(CacheEntry).equals = function (other) {
@@ -347,36 +343,36 @@
347
343
  return true;
348
344
  if (!(other instanceof CacheEntry))
349
345
  return false;
350
- if (!(this.f6n_1 === other.f6n_1))
346
+ if (!(this.g7e_1 === other.g7e_1))
351
347
  return false;
352
- if (!equalsLong(this.g6n_1, other.g6n_1))
348
+ if (!equalsLong(this.h7e_1, other.h7e_1))
353
349
  return false;
354
350
  return true;
355
351
  };
356
352
  function cleanExpired($this) {
357
- var now = System_instance.dk().rk();
358
- var tmp = $this.j6n_1.v();
353
+ var now = System_instance.ik().fl();
354
+ var tmp = $this.k7e_1.m1();
359
355
  removeAll(tmp, InMemoryBotChatCache$cleanExpired$lambda(now, $this));
360
356
  }
361
357
  function InMemoryBotChatCache$cleanExpired$lambda($now, this$0) {
362
358
  return function (_destruct__k2r9zo) {
363
359
  // Inline function 'kotlin.collections.component2' call
364
- var entry = _destruct__k2r9zo.x();
365
- return compare(subtract($now, entry.g6n_1), this$0.h6n_1) > 0;
360
+ var entry = _destruct__k2r9zo.o1();
361
+ return compare(subtract($now, entry.h7e_1), this$0.i7e_1) > 0;
366
362
  };
367
363
  }
368
364
  function InMemoryBotChatCache(ttlMillis, maxSize) {
369
365
  ttlMillis = ttlMillis === VOID ? new Long(300000, 0) : ttlMillis;
370
366
  maxSize = maxSize === VOID ? 100 : maxSize;
371
- this.h6n_1 = ttlMillis;
372
- this.i6n_1 = maxSize;
367
+ this.i7e_1 = ttlMillis;
368
+ this.j7e_1 = maxSize;
373
369
  var tmp = this;
374
370
  // Inline function 'kotlin.collections.mutableMapOf' call
375
- tmp.j6n_1 = LinkedHashMap_init_$Create$();
371
+ tmp.k7e_1 = LinkedHashMap_init_$Create$();
376
372
  }
377
- protoOf(InMemoryBotChatCache).u1b = function (key) {
373
+ protoOf(InMemoryBotChatCache).k1c = function (key) {
378
374
  cleanExpired(this);
379
- var tmp0_elvis_lhs = this.j6n_1.c2(key);
375
+ var tmp0_elvis_lhs = this.k7e_1.w2(key);
380
376
  var tmp;
381
377
  if (tmp0_elvis_lhs == null) {
382
378
  return null;
@@ -384,66 +380,66 @@
384
380
  tmp = tmp0_elvis_lhs;
385
381
  }
386
382
  var entry = tmp;
387
- if (compare(subtract(System_instance.dk().rk(), entry.g6n_1), this.h6n_1) > 0) {
388
- this.j6n_1.g2(key);
383
+ if (compare(subtract(System_instance.ik().fl(), entry.h7e_1), this.i7e_1) > 0) {
384
+ this.k7e_1.a3(key);
389
385
  return null;
390
386
  }
391
- return entry.f6n_1;
387
+ return entry.g7e_1;
392
388
  };
393
- protoOf(InMemoryBotChatCache).e6n = function (key, value) {
389
+ protoOf(InMemoryBotChatCache).f7e = function (key, value) {
394
390
  cleanExpired(this);
395
- if (this.j6n_1.o() >= this.i6n_1) {
391
+ if (this.k7e_1.g1() >= this.j7e_1) {
396
392
  // Inline function 'kotlin.collections.minByOrNull' call
397
- var tmp0 = this.j6n_1.v();
393
+ var tmp0 = this.k7e_1.m1();
398
394
  var tmp$ret$0;
399
395
  $l$block_0: {
400
396
  // Inline function 'kotlin.collections.minByOrNull' call
401
- var iterator = tmp0.l();
402
- if (!iterator.m()) {
397
+ var iterator = tmp0.t();
398
+ if (!iterator.u()) {
403
399
  tmp$ret$0 = null;
404
400
  break $l$block_0;
405
401
  }
406
- var minElem = iterator.n();
407
- if (!iterator.m()) {
402
+ var minElem = iterator.v();
403
+ if (!iterator.u()) {
408
404
  tmp$ret$0 = minElem;
409
405
  break $l$block_0;
410
406
  }
411
- var minValue = minElem.x().g6n_1;
407
+ var minValue = minElem.o1().h7e_1;
412
408
  do {
413
- var e = iterator.n();
414
- var v = e.x().g6n_1;
409
+ var e = iterator.v();
410
+ var v = e.o1().h7e_1;
415
411
  if (compareTo(minValue, v) > 0) {
416
412
  minElem = e;
417
413
  minValue = v;
418
414
  }
419
415
  }
420
- while (iterator.m());
416
+ while (iterator.u());
421
417
  tmp$ret$0 = minElem;
422
418
  }
423
419
  var tmp0_safe_receiver = tmp$ret$0;
424
- var oldestKey = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w();
420
+ var oldestKey = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n1();
425
421
  if (oldestKey == null)
426
422
  null;
427
423
  else {
428
424
  // Inline function 'kotlin.let' call
429
- this.j6n_1.g2(oldestKey);
425
+ this.k7e_1.a3(oldestKey);
430
426
  }
431
427
  }
432
- var tmp0_0 = this.j6n_1;
428
+ var tmp0_0 = this.k7e_1;
433
429
  // Inline function 'kotlin.collections.set' call
434
- var value_0 = new CacheEntry(value, System_instance.dk().rk());
435
- tmp0_0.f2(key, value_0);
430
+ var value_0 = new CacheEntry(value, System_instance.ik().fl());
431
+ tmp0_0.z2(key, value_0);
436
432
  };
437
433
  function BotChatConfig() {
438
434
  BotChatConfig_instance = this;
439
- this.k6n_1 = mapOf([to(0, '\u0412\u0435\u0441\u0435\u043B\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041B\u044E\u0431\u0438\u0442\u044C \u043F\u043E\u0436\u0430\u0440\u0442\u0443\u0432\u0430\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0443\u0442\u0438\u0441\u044F. \u041F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456.\n \u0412\u0431\u043E\u043B\u0456\u0432\u0430\u0454 \u0437\u0430 \u043A\u0430\u0440\u0442\u0438 \u044F\u043A \u0437\u0430 \u0444\u0443\u0442\u0431\u043E\u043B. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u043E\u0442 \u0445\u0430\u043B\u0435\u043F\u0430", "\u0431\u043B\u044F\u0445\u0430-\u043C\u0443\u0445\u0430", "\u043D\u0456\u0447\u043E \u0441\u043E\u0431\u0456".'), to(1, '\u0421\u043F\u043E\u043A\u0456\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C \u0437\u0456 \u041B\u044C\u0432\u043E\u0432\u0430. \u0413\u043E\u0432\u043E\u0440\u0438\u0442\u044C \u0442\u0440\u043E\u0445\u0438 \u043F\u043E-\u0437\u0430\u0445\u0456\u0434\u043D\u043E\u043C\u0443 ("\u0444\u0430\u0439\u043D\u043E", "\u0430\u044F\u043A\u0436\u0435").\n \u0406\u043D\u043E\u0434\u0456 \u0432\u0441\u044F\u043A\u043D\u0435 \u0449\u043E\u0441\u044C \u0442\u0438\u043F\u0443 "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C" \u0430\u0431\u043E "\u0442\u0430 \u0448\u043E \u0442\u0438 \u043A\u0430\u0436\u0435\u0448". \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0441\u0435\u0440\u0439\u043E\u0437\u043D\u0438\u0439.'), to(2, '\u0417\u0430\u043F\u0430\u043B\u044C\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043D\u0438\u0439, \u043B\u044E\u0431\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0430\u0433\u0430\u0442\u0438. \u041C\u043E\u0436\u0435 \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u0441\u043B\u0430\u0442\u0438 "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438"\n \u0430\u0431\u043E "\u0430\u043D\u0443 \u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u043E \u0433\u0440\u0430\u0439". \u0422\u0440\u043E\u0445\u0438 \u0431\u0430\u0437\u0456\u043A\u0430, \u0430\u043B\u0435 \u043F\u043E-\u0434\u043E\u0431\u0440\u043E\u043C\u0443. \u0420\u0435\u0430\u0433\u0443\u0454 \u0435\u043C\u043E\u0446\u0456\u0439\u043D\u043E \u043D\u0430 \u0433\u0440\u0443.'), to(3, '\u0414\u043E\u0441\u0432\u0456\u0434\u0447\u0435\u043D\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C, \u043C\u043E\u0436\u0435 \u0442\u0440\u043E\u0445\u0438 \u0441\u0442\u0430\u0440\u0448\u0438\u0439. \u0406\u043D\u043E\u0434\u0456 \u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0440\u0430\u0434\u0443. \u041C\u043E\u0436\u0435 \u0431\u0443\u0440\u043A\u043D\u0443\u0442\u0438 "\u0442\u0430 \u0449\u043E \u0436 \u0442\u0438 \u0440\u043E\u0431\u0438\u0448"\n \u0430\u0431\u043E "\u043E\u0445 \u0439\u043E\u0431\u0430\u043D\u0430". \u041C\u0443\u0434\u0440\u0456\u0448\u0438\u0439 \u0437\u0430 \u0456\u043D\u0448\u0438\u0445, \u0430\u043B\u0435 \u0442\u0435\u0436 \u043D\u0435 \u0441\u0432\u044F\u0442\u0438\u0439 \u0443 \u0432\u0438\u0440\u0430\u0437\u0430\u0445.'), to(4, '\u0421\u043E\u043B\u0434\u0430\u0442 \u0417\u0421\u0423, \u0433\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438 \u043D\u0430 \u0432\u0456\u0434\u043F\u043E\u0447\u0438\u043D\u043A\u0443. \u0416\u043E\u0440\u0441\u0442\u043A\u0438\u0439 \u0433\u0443\u043C\u043E\u0440, \u043F\u0440\u044F\u043C\u0438\u0439. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u0442\u0440\u0438\u043C\u0430\u0439 \u043F\u043E\u0437\u0438\u0446\u0456\u044E",\n "\u0432\u0456\u0434\u0431\u0456\u0439", "\u0439\u043E\u0431\u0430\u043D\u0430 \u0440\u043E\u0442\u0430". \u0421\u0442\u0440\u0438\u043C\u0430\u043D\u0438\u0439 \u0430\u043B\u0435 \u0440\u0456\u0437\u043A\u0438\u0439. \u0412\u0456\u0439\u0441\u044C\u043A\u043E\u0432\u0438\u0439 \u0441\u043B\u0435\u043D\u0433.')]);
440
- this.l6n_1 = '\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C. \u0413\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0435\u0442\u044C\u0441\u044F,\n \u043F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456. \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u0439, \u0430\u043B\u0435 \u0439 \u043D\u0435 \u0437\u043B\u0438\u0439.';
441
- this.m6n_1 = '\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438';
442
- this.n6n_1 = "\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!";
443
- this.o6n_1 = '\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.';
444
- }
445
- protoOf(BotChatConfig).p6n = function (playerNumber) {
446
- var tmp0_elvis_lhs = this.k6n_1.c2(playerNumber % this.k6n_1.o() | 0);
435
+ this.l7e_1 = mapOf([to(0, '\u0412\u0435\u0441\u0435\u043B\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041B\u044E\u0431\u0438\u0442\u044C \u043F\u043E\u0436\u0430\u0440\u0442\u0443\u0432\u0430\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0443\u0442\u0438\u0441\u044F. \u041F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456.\n \u0412\u0431\u043E\u043B\u0456\u0432\u0430\u0454 \u0437\u0430 \u043A\u0430\u0440\u0442\u0438 \u044F\u043A \u0437\u0430 \u0444\u0443\u0442\u0431\u043E\u043B. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u043E\u0442 \u0445\u0430\u043B\u0435\u043F\u0430", "\u0431\u043B\u044F\u0445\u0430-\u043C\u0443\u0445\u0430", "\u043D\u0456\u0447\u043E \u0441\u043E\u0431\u0456".'), to(1, '\u0421\u043F\u043E\u043A\u0456\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C \u0437\u0456 \u041B\u044C\u0432\u043E\u0432\u0430. \u0413\u043E\u0432\u043E\u0440\u0438\u0442\u044C \u0442\u0440\u043E\u0445\u0438 \u043F\u043E-\u0437\u0430\u0445\u0456\u0434\u043D\u043E\u043C\u0443 ("\u0444\u0430\u0439\u043D\u043E", "\u0430\u044F\u043A\u0436\u0435").\n \u0406\u043D\u043E\u0434\u0456 \u0432\u0441\u044F\u043A\u043D\u0435 \u0449\u043E\u0441\u044C \u0442\u0438\u043F\u0443 "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C" \u0430\u0431\u043E "\u0442\u0430 \u0448\u043E \u0442\u0438 \u043A\u0430\u0436\u0435\u0448". \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0441\u0435\u0440\u0439\u043E\u0437\u043D\u0438\u0439.'), to(2, '\u0417\u0430\u043F\u0430\u043B\u044C\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043D\u0438\u0439, \u043B\u044E\u0431\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0430\u0433\u0430\u0442\u0438. \u041C\u043E\u0436\u0435 \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u0441\u043B\u0430\u0442\u0438 "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438"\n \u0430\u0431\u043E "\u0430\u043D\u0443 \u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u043E \u0433\u0440\u0430\u0439". \u0422\u0440\u043E\u0445\u0438 \u0431\u0430\u0437\u0456\u043A\u0430, \u0430\u043B\u0435 \u043F\u043E-\u0434\u043E\u0431\u0440\u043E\u043C\u0443. \u0420\u0435\u0430\u0433\u0443\u0454 \u0435\u043C\u043E\u0446\u0456\u0439\u043D\u043E \u043D\u0430 \u0433\u0440\u0443.'), to(3, '\u0414\u043E\u0441\u0432\u0456\u0434\u0447\u0435\u043D\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C, \u043C\u043E\u0436\u0435 \u0442\u0440\u043E\u0445\u0438 \u0441\u0442\u0430\u0440\u0448\u0438\u0439. \u0406\u043D\u043E\u0434\u0456 \u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0440\u0430\u0434\u0443. \u041C\u043E\u0436\u0435 \u0431\u0443\u0440\u043A\u043D\u0443\u0442\u0438 "\u0442\u0430 \u0449\u043E \u0436 \u0442\u0438 \u0440\u043E\u0431\u0438\u0448"\n \u0430\u0431\u043E "\u043E\u0445 \u0439\u043E\u0431\u0430\u043D\u0430". \u041C\u0443\u0434\u0440\u0456\u0448\u0438\u0439 \u0437\u0430 \u0456\u043D\u0448\u0438\u0445, \u0430\u043B\u0435 \u0442\u0435\u0436 \u043D\u0435 \u0441\u0432\u044F\u0442\u0438\u0439 \u0443 \u0432\u0438\u0440\u0430\u0437\u0430\u0445.'), to(4, '\u0421\u043E\u043B\u0434\u0430\u0442 \u0417\u0421\u0423, \u0433\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438 \u043D\u0430 \u0432\u0456\u0434\u043F\u043E\u0447\u0438\u043D\u043A\u0443. \u0416\u043E\u0440\u0441\u0442\u043A\u0438\u0439 \u0433\u0443\u043C\u043E\u0440, \u043F\u0440\u044F\u043C\u0438\u0439. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u0442\u0440\u0438\u043C\u0430\u0439 \u043F\u043E\u0437\u0438\u0446\u0456\u044E",\n "\u0432\u0456\u0434\u0431\u0456\u0439", "\u0439\u043E\u0431\u0430\u043D\u0430 \u0440\u043E\u0442\u0430". \u0421\u0442\u0440\u0438\u043C\u0430\u043D\u0438\u0439 \u0430\u043B\u0435 \u0440\u0456\u0437\u043A\u0438\u0439. \u0412\u0456\u0439\u0441\u044C\u043A\u043E\u0432\u0438\u0439 \u0441\u043B\u0435\u043D\u0433.')]);
436
+ this.m7e_1 = '\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C. \u0413\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0435\u0442\u044C\u0441\u044F,\n \u043F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456. \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u0439, \u0430\u043B\u0435 \u0439 \u043D\u0435 \u0437\u043B\u0438\u0439.';
437
+ this.n7e_1 = '\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438';
438
+ this.o7e_1 = "\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!";
439
+ this.p7e_1 = '\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.';
440
+ }
441
+ protoOf(BotChatConfig).q7e = function (playerNumber) {
442
+ var tmp0_elvis_lhs = this.l7e_1.w2(playerNumber % this.l7e_1.g1() | 0);
447
443
  return tmp0_elvis_lhs == null ? '\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C. \u0413\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0435\u0442\u044C\u0441\u044F,\n \u043F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456. \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u0439, \u0430\u043B\u0435 \u0439 \u043D\u0435 \u0437\u043B\u0438\u0439.' : tmp0_elvis_lhs;
448
444
  };
449
445
  var BotChatConfig_instance;
@@ -462,10 +458,10 @@
462
458
  // Inline function 'kotlin.arrayOf' call
463
459
  // Inline function 'kotlin.js.unsafeCast' call
464
460
  // Inline function 'kotlin.js.asDynamic' call
465
- tmp.q6n_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
461
+ tmp.r7e_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
466
462
  }
467
463
  var Companion_instance_1;
468
- function Companion_getInstance_1() {
464
+ function Companion_getInstance_0() {
469
465
  if (Companion_instance_1 == null)
470
466
  new Companion();
471
467
  return Companion_instance_1;
@@ -473,31 +469,31 @@
473
469
  function $serializer() {
474
470
  $serializer_instance = this;
475
471
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.BotChatContext', this, 4);
476
- tmp0_serialDesc.hz('botPersonality', false);
477
- tmp0_serialDesc.hz('gameState', false);
478
- tmp0_serialDesc.hz('conversationHistory', true);
479
- tmp0_serialDesc.hz('playerName', true);
480
- this.r6n_1 = tmp0_serialDesc;
481
- }
482
- protoOf($serializer).s6n = function (encoder, value) {
483
- var tmp0_desc = this.r6n_1;
484
- var tmp1_output = encoder.pr(tmp0_desc);
485
- var tmp2_cached = Companion_getInstance_1().q6n_1;
486
- tmp1_output.et(tmp0_desc, 0, value.t6n_1);
487
- tmp1_output.et(tmp0_desc, 1, value.u6n_1);
488
- if (tmp1_output.mt(tmp0_desc, 2) ? true : !equals(value.v6n_1, emptyList())) {
489
- tmp1_output.gt(tmp0_desc, 2, tmp2_cached[2].x(), value.v6n_1);
472
+ tmp0_serialDesc.xz('botPersonality', false);
473
+ tmp0_serialDesc.xz('gameState', false);
474
+ tmp0_serialDesc.xz('conversationHistory', true);
475
+ tmp0_serialDesc.xz('playerName', true);
476
+ this.s7e_1 = tmp0_serialDesc;
477
+ }
478
+ protoOf($serializer).t7e = function (encoder, value) {
479
+ var tmp0_desc = this.s7e_1;
480
+ var tmp1_output = encoder.fs(tmp0_desc);
481
+ var tmp2_cached = Companion_getInstance_0().r7e_1;
482
+ tmp1_output.ut(tmp0_desc, 0, value.u7e_1);
483
+ tmp1_output.ut(tmp0_desc, 1, value.v7e_1);
484
+ if (tmp1_output.cu(tmp0_desc, 2) ? true : !equals(value.w7e_1, emptyList())) {
485
+ tmp1_output.wt(tmp0_desc, 2, tmp2_cached[2].o1(), value.w7e_1);
490
486
  }
491
- if (tmp1_output.mt(tmp0_desc, 3) ? true : !(value.w6n_1 == null)) {
492
- tmp1_output.it(tmp0_desc, 3, StringSerializer_getInstance(), value.w6n_1);
487
+ if (tmp1_output.cu(tmp0_desc, 3) ? true : !(value.x7e_1 == null)) {
488
+ tmp1_output.yt(tmp0_desc, 3, StringSerializer_getInstance(), value.x7e_1);
493
489
  }
494
- tmp1_output.qr(tmp0_desc);
490
+ tmp1_output.gs(tmp0_desc);
495
491
  };
496
- protoOf($serializer).do = function (encoder, value) {
497
- return this.s6n(encoder, value instanceof BotChatContext ? value : THROW_CCE());
492
+ protoOf($serializer).to = function (encoder, value) {
493
+ return this.t7e(encoder, value instanceof BotChatContext ? value : THROW_CCE());
498
494
  };
499
- protoOf($serializer).eo = function (decoder) {
500
- var tmp0_desc = this.r6n_1;
495
+ protoOf($serializer).uo = function (decoder) {
496
+ var tmp0_desc = this.s7e_1;
501
497
  var tmp1_flag = true;
502
498
  var tmp2_index = 0;
503
499
  var tmp3_bitMask0 = 0;
@@ -505,56 +501,56 @@
505
501
  var tmp5_local1 = null;
506
502
  var tmp6_local2 = null;
507
503
  var tmp7_local3 = null;
508
- var tmp8_input = decoder.pr(tmp0_desc);
509
- var tmp9_cached = Companion_getInstance_1().q6n_1;
510
- if (tmp8_input.fs()) {
511
- tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
504
+ var tmp8_input = decoder.fs(tmp0_desc);
505
+ var tmp9_cached = Companion_getInstance_0().r7e_1;
506
+ if (tmp8_input.vs()) {
507
+ tmp4_local0 = tmp8_input.ps(tmp0_desc, 0);
512
508
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
513
- tmp5_local1 = tmp8_input.zr(tmp0_desc, 1);
509
+ tmp5_local1 = tmp8_input.ps(tmp0_desc, 1);
514
510
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
515
- tmp6_local2 = tmp8_input.bs(tmp0_desc, 2, tmp9_cached[2].x(), tmp6_local2);
511
+ tmp6_local2 = tmp8_input.rs(tmp0_desc, 2, tmp9_cached[2].o1(), tmp6_local2);
516
512
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
517
- tmp7_local3 = tmp8_input.ds(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
513
+ tmp7_local3 = tmp8_input.ts(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
518
514
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
519
515
  } else
520
516
  while (tmp1_flag) {
521
- tmp2_index = tmp8_input.gs(tmp0_desc);
517
+ tmp2_index = tmp8_input.ws(tmp0_desc);
522
518
  switch (tmp2_index) {
523
519
  case -1:
524
520
  tmp1_flag = false;
525
521
  break;
526
522
  case 0:
527
- tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
523
+ tmp4_local0 = tmp8_input.ps(tmp0_desc, 0);
528
524
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
529
525
  break;
530
526
  case 1:
531
- tmp5_local1 = tmp8_input.zr(tmp0_desc, 1);
527
+ tmp5_local1 = tmp8_input.ps(tmp0_desc, 1);
532
528
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
533
529
  break;
534
530
  case 2:
535
- tmp6_local2 = tmp8_input.bs(tmp0_desc, 2, tmp9_cached[2].x(), tmp6_local2);
531
+ tmp6_local2 = tmp8_input.rs(tmp0_desc, 2, tmp9_cached[2].o1(), tmp6_local2);
536
532
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
537
533
  break;
538
534
  case 3:
539
- tmp7_local3 = tmp8_input.ds(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
535
+ tmp7_local3 = tmp8_input.ts(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
540
536
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
541
537
  break;
542
538
  default:
543
539
  throw UnknownFieldException_init_$Create$(tmp2_index);
544
540
  }
545
541
  }
546
- tmp8_input.qr(tmp0_desc);
542
+ tmp8_input.gs(tmp0_desc);
547
543
  return BotChatContext_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
548
544
  };
549
- protoOf($serializer).co = function () {
550
- return this.r6n_1;
545
+ protoOf($serializer).so = function () {
546
+ return this.s7e_1;
551
547
  };
552
- protoOf($serializer).wz = function () {
553
- var tmp0_cached = Companion_getInstance_1().q6n_1;
548
+ protoOf($serializer).m10 = function () {
549
+ var tmp0_cached = Companion_getInstance_0().r7e_1;
554
550
  // Inline function 'kotlin.arrayOf' call
555
551
  // Inline function 'kotlin.js.unsafeCast' call
556
552
  // Inline function 'kotlin.js.asDynamic' call
557
- return [StringSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[2].x(), get_nullable(StringSerializer_getInstance())];
553
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[2].o1(), get_nullable(StringSerializer_getInstance())];
558
554
  };
559
555
  var $serializer_instance;
560
556
  function $serializer_getInstance() {
@@ -564,40 +560,40 @@
564
560
  }
565
561
  function BotChatContext_init_$Init$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker, $this) {
566
562
  if (!(3 === (3 & seen0))) {
567
- throwMissingFieldException(seen0, 3, $serializer_getInstance().r6n_1);
563
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().s7e_1);
568
564
  }
569
- $this.t6n_1 = botPersonality;
570
- $this.u6n_1 = gameState;
565
+ $this.u7e_1 = botPersonality;
566
+ $this.v7e_1 = gameState;
571
567
  if (0 === (seen0 & 4))
572
- $this.v6n_1 = emptyList();
568
+ $this.w7e_1 = emptyList();
573
569
  else
574
- $this.v6n_1 = conversationHistory;
570
+ $this.w7e_1 = conversationHistory;
575
571
  if (0 === (seen0 & 8))
576
- $this.w6n_1 = null;
572
+ $this.x7e_1 = null;
577
573
  else
578
- $this.w6n_1 = playerName;
574
+ $this.x7e_1 = playerName;
579
575
  return $this;
580
576
  }
581
577
  function BotChatContext_init_$Create$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker) {
582
578
  return BotChatContext_init_$Init$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker, objectCreate(protoOf(BotChatContext)));
583
579
  }
584
580
  function BotChatContext(botPersonality, gameState, conversationHistory, playerName) {
585
- Companion_getInstance_1();
581
+ Companion_getInstance_0();
586
582
  conversationHistory = conversationHistory === VOID ? emptyList() : conversationHistory;
587
583
  playerName = playerName === VOID ? null : playerName;
588
- this.t6n_1 = botPersonality;
589
- this.u6n_1 = gameState;
590
- this.v6n_1 = conversationHistory;
591
- this.w6n_1 = playerName;
584
+ this.u7e_1 = botPersonality;
585
+ this.v7e_1 = gameState;
586
+ this.w7e_1 = conversationHistory;
587
+ this.x7e_1 = playerName;
592
588
  }
593
589
  protoOf(BotChatContext).toString = function () {
594
- return 'BotChatContext(botPersonality=' + this.t6n_1 + ', gameState=' + this.u6n_1 + ', conversationHistory=' + toString(this.v6n_1) + ', playerName=' + this.w6n_1 + ')';
590
+ return 'BotChatContext(botPersonality=' + this.u7e_1 + ', gameState=' + this.v7e_1 + ', conversationHistory=' + toString(this.w7e_1) + ', playerName=' + this.x7e_1 + ')';
595
591
  };
596
592
  protoOf(BotChatContext).hashCode = function () {
597
- var result = getStringHashCode(this.t6n_1);
598
- result = imul(result, 31) + getStringHashCode(this.u6n_1) | 0;
599
- result = imul(result, 31) + hashCode(this.v6n_1) | 0;
600
- result = imul(result, 31) + (this.w6n_1 == null ? 0 : getStringHashCode(this.w6n_1)) | 0;
593
+ var result = getStringHashCode(this.u7e_1);
594
+ result = imul(result, 31) + getStringHashCode(this.v7e_1) | 0;
595
+ result = imul(result, 31) + hashCode(this.w7e_1) | 0;
596
+ result = imul(result, 31) + (this.x7e_1 == null ? 0 : getStringHashCode(this.x7e_1)) | 0;
601
597
  return result;
602
598
  };
603
599
  protoOf(BotChatContext).equals = function (other) {
@@ -605,18 +601,18 @@
605
601
  return true;
606
602
  if (!(other instanceof BotChatContext))
607
603
  return false;
608
- if (!(this.t6n_1 === other.t6n_1))
604
+ if (!(this.u7e_1 === other.u7e_1))
609
605
  return false;
610
- if (!(this.u6n_1 === other.u6n_1))
606
+ if (!(this.v7e_1 === other.v7e_1))
611
607
  return false;
612
- if (!equals(this.v6n_1, other.v6n_1))
608
+ if (!equals(this.w7e_1, other.w7e_1))
613
609
  return false;
614
- if (!(this.w6n_1 == other.w6n_1))
610
+ if (!(this.x7e_1 == other.x7e_1))
615
611
  return false;
616
612
  return true;
617
613
  };
618
614
  function _get_$cachedSerializer__te6jhj($this) {
619
- return $this.x6n_1.x();
615
+ return $this.y7e_1.o1();
620
616
  }
621
617
  function ChatMessage$Role$Companion$_anonymous__13jozo() {
622
618
  var tmp = values();
@@ -640,16 +636,16 @@
640
636
  Companion_instance_2 = this;
641
637
  var tmp = this;
642
638
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
643
- tmp.x6n_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
639
+ tmp.y7e_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
644
640
  }
645
- protoOf(Companion_0).b1c = function () {
641
+ protoOf(Companion_0).r1c = function () {
646
642
  return _get_$cachedSerializer__te6jhj(this);
647
643
  };
648
- protoOf(Companion_0).h10 = function (typeParamsSerializers) {
649
- return this.b1c();
644
+ protoOf(Companion_0).x10 = function (typeParamsSerializers) {
645
+ return this.r1c();
650
646
  };
651
647
  var Companion_instance_2;
652
- function Companion_getInstance_2() {
648
+ function Companion_getInstance_1() {
653
649
  Role_initEntries();
654
650
  if (Companion_instance_2 == null)
655
651
  new Companion_0();
@@ -663,10 +659,10 @@
663
659
  Role_SYSTEM_instance = new Role('SYSTEM', 0);
664
660
  Role_USER_instance = new Role('USER', 1);
665
661
  Role_ASSISTANT_instance = new Role('ASSISTANT', 2);
666
- Companion_getInstance_2();
662
+ Companion_getInstance_1();
667
663
  }
668
664
  function ChatMessage$Companion$$childSerializers$_anonymous__qywqat() {
669
- return Companion_getInstance_2().b1c();
665
+ return Companion_getInstance_1().r1c();
670
666
  }
671
667
  function Role(name, ordinal) {
672
668
  Enum.call(this, name, ordinal);
@@ -678,19 +674,19 @@
678
674
  // Inline function 'kotlin.arrayOf' call
679
675
  // Inline function 'kotlin.js.unsafeCast' call
680
676
  // Inline function 'kotlin.js.asDynamic' call
681
- tmp.y6n_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
677
+ tmp.z7e_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
682
678
  }
683
- protoOf(Companion_1).z6n = function (content) {
679
+ protoOf(Companion_1).a7f = function (content) {
684
680
  return new ChatMessage(Role_SYSTEM_getInstance(), content);
685
681
  };
686
- protoOf(Companion_1).a6o = function (content) {
682
+ protoOf(Companion_1).b7f = function (content) {
687
683
  return new ChatMessage(Role_USER_getInstance(), content);
688
684
  };
689
- protoOf(Companion_1).b6o = function (content) {
685
+ protoOf(Companion_1).c7f = function (content) {
690
686
  return new ChatMessage(Role_ASSISTANT_getInstance(), content);
691
687
  };
692
688
  var Companion_instance_3;
693
- function Companion_getInstance_3() {
689
+ function Companion_getInstance_2() {
694
690
  if (Companion_instance_3 == null)
695
691
  new Companion_1();
696
692
  return Companion_instance_3;
@@ -698,65 +694,65 @@
698
694
  function $serializer_0() {
699
695
  $serializer_instance_0 = this;
700
696
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.ChatMessage', this, 2);
701
- tmp0_serialDesc.hz('role', false);
702
- tmp0_serialDesc.hz('content', false);
703
- this.c6o_1 = tmp0_serialDesc;
704
- }
705
- protoOf($serializer_0).d6o = function (encoder, value) {
706
- var tmp0_desc = this.c6o_1;
707
- var tmp1_output = encoder.pr(tmp0_desc);
708
- var tmp2_cached = Companion_getInstance_3().y6n_1;
709
- tmp1_output.gt(tmp0_desc, 0, tmp2_cached[0].x(), value.e6o_1);
710
- tmp1_output.et(tmp0_desc, 1, value.f6o_1);
711
- tmp1_output.qr(tmp0_desc);
712
- };
713
- protoOf($serializer_0).do = function (encoder, value) {
714
- return this.d6o(encoder, value instanceof ChatMessage ? value : THROW_CCE());
715
- };
716
- protoOf($serializer_0).eo = function (decoder) {
717
- var tmp0_desc = this.c6o_1;
697
+ tmp0_serialDesc.xz('role', false);
698
+ tmp0_serialDesc.xz('content', false);
699
+ this.d7f_1 = tmp0_serialDesc;
700
+ }
701
+ protoOf($serializer_0).e7f = function (encoder, value) {
702
+ var tmp0_desc = this.d7f_1;
703
+ var tmp1_output = encoder.fs(tmp0_desc);
704
+ var tmp2_cached = Companion_getInstance_2().z7e_1;
705
+ tmp1_output.wt(tmp0_desc, 0, tmp2_cached[0].o1(), value.f7f_1);
706
+ tmp1_output.ut(tmp0_desc, 1, value.g7f_1);
707
+ tmp1_output.gs(tmp0_desc);
708
+ };
709
+ protoOf($serializer_0).to = function (encoder, value) {
710
+ return this.e7f(encoder, value instanceof ChatMessage ? value : THROW_CCE());
711
+ };
712
+ protoOf($serializer_0).uo = function (decoder) {
713
+ var tmp0_desc = this.d7f_1;
718
714
  var tmp1_flag = true;
719
715
  var tmp2_index = 0;
720
716
  var tmp3_bitMask0 = 0;
721
717
  var tmp4_local0 = null;
722
718
  var tmp5_local1 = null;
723
- var tmp6_input = decoder.pr(tmp0_desc);
724
- var tmp7_cached = Companion_getInstance_3().y6n_1;
725
- if (tmp6_input.fs()) {
726
- tmp4_local0 = tmp6_input.bs(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
719
+ var tmp6_input = decoder.fs(tmp0_desc);
720
+ var tmp7_cached = Companion_getInstance_2().z7e_1;
721
+ if (tmp6_input.vs()) {
722
+ tmp4_local0 = tmp6_input.rs(tmp0_desc, 0, tmp7_cached[0].o1(), tmp4_local0);
727
723
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
728
- tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
724
+ tmp5_local1 = tmp6_input.ps(tmp0_desc, 1);
729
725
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
730
726
  } else
731
727
  while (tmp1_flag) {
732
- tmp2_index = tmp6_input.gs(tmp0_desc);
728
+ tmp2_index = tmp6_input.ws(tmp0_desc);
733
729
  switch (tmp2_index) {
734
730
  case -1:
735
731
  tmp1_flag = false;
736
732
  break;
737
733
  case 0:
738
- tmp4_local0 = tmp6_input.bs(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
734
+ tmp4_local0 = tmp6_input.rs(tmp0_desc, 0, tmp7_cached[0].o1(), tmp4_local0);
739
735
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
740
736
  break;
741
737
  case 1:
742
- tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
738
+ tmp5_local1 = tmp6_input.ps(tmp0_desc, 1);
743
739
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
744
740
  break;
745
741
  default:
746
742
  throw UnknownFieldException_init_$Create$(tmp2_index);
747
743
  }
748
744
  }
749
- tmp6_input.qr(tmp0_desc);
745
+ tmp6_input.gs(tmp0_desc);
750
746
  return ChatMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
751
747
  };
752
- protoOf($serializer_0).co = function () {
753
- return this.c6o_1;
748
+ protoOf($serializer_0).so = function () {
749
+ return this.d7f_1;
754
750
  };
755
- protoOf($serializer_0).wz = function () {
751
+ protoOf($serializer_0).m10 = function () {
756
752
  // Inline function 'kotlin.arrayOf' call
757
753
  // Inline function 'kotlin.js.unsafeCast' call
758
754
  // Inline function 'kotlin.js.asDynamic' call
759
- return [Companion_getInstance_3().y6n_1[0].x(), StringSerializer_getInstance()];
755
+ return [Companion_getInstance_2().z7e_1[0].o1(), StringSerializer_getInstance()];
760
756
  };
761
757
  var $serializer_instance_0;
762
758
  function $serializer_getInstance_0() {
@@ -766,10 +762,10 @@
766
762
  }
767
763
  function ChatMessage_init_$Init$(seen0, role, content, serializationConstructorMarker, $this) {
768
764
  if (!(3 === (3 & seen0))) {
769
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().c6o_1);
765
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().d7f_1);
770
766
  }
771
- $this.e6o_1 = role;
772
- $this.f6o_1 = content;
767
+ $this.f7f_1 = role;
768
+ $this.g7f_1 = content;
773
769
  return $this;
774
770
  }
775
771
  function ChatMessage_init_$Create$(seen0, role, content, serializationConstructorMarker) {
@@ -788,16 +784,16 @@
788
784
  return Role_ASSISTANT_instance;
789
785
  }
790
786
  function ChatMessage(role, content) {
791
- Companion_getInstance_3();
792
- this.e6o_1 = role;
793
- this.f6o_1 = content;
787
+ Companion_getInstance_2();
788
+ this.f7f_1 = role;
789
+ this.g7f_1 = content;
794
790
  }
795
791
  protoOf(ChatMessage).toString = function () {
796
- return 'ChatMessage(role=' + this.e6o_1.toString() + ', content=' + this.f6o_1 + ')';
792
+ return 'ChatMessage(role=' + this.f7f_1.toString() + ', content=' + this.g7f_1 + ')';
797
793
  };
798
794
  protoOf(ChatMessage).hashCode = function () {
799
- var result = this.e6o_1.hashCode();
800
- result = imul(result, 31) + getStringHashCode(this.f6o_1) | 0;
795
+ var result = this.f7f_1.hashCode();
796
+ result = imul(result, 31) + getStringHashCode(this.g7f_1) | 0;
801
797
  return result;
802
798
  };
803
799
  protoOf(ChatMessage).equals = function (other) {
@@ -805,9 +801,9 @@
805
801
  return true;
806
802
  if (!(other instanceof ChatMessage))
807
803
  return false;
808
- if (!this.e6o_1.equals(other.e6o_1))
804
+ if (!this.f7f_1.equals(other.f7f_1))
809
805
  return false;
810
- if (!(this.f6o_1 === other.f6o_1))
806
+ if (!(this.g7f_1 === other.g7f_1))
811
807
  return false;
812
808
  return true;
813
809
  };
@@ -818,25 +814,25 @@
818
814
  maxTokens = maxTokens === VOID ? 150 : maxTokens;
819
815
  timeout = timeout === VOID ? 30000 : timeout;
820
816
  enableDebugLogging = enableDebugLogging === VOID ? false : enableDebugLogging;
821
- this.j6m_1 = apiKey;
822
- this.k6m_1 = model;
823
- this.l6m_1 = baseUrl;
824
- this.m6m_1 = temperature;
825
- this.n6m_1 = maxTokens;
826
- this.o6m_1 = timeout;
827
- this.p6m_1 = enableDebugLogging;
817
+ this.k7d_1 = apiKey;
818
+ this.l7d_1 = model;
819
+ this.m7d_1 = baseUrl;
820
+ this.n7d_1 = temperature;
821
+ this.o7d_1 = maxTokens;
822
+ this.p7d_1 = timeout;
823
+ this.q7d_1 = enableDebugLogging;
828
824
  }
829
825
  protoOf(OpenAIConfig).toString = function () {
830
- return 'OpenAIConfig(apiKey=' + this.j6m_1 + ', model=' + this.k6m_1 + ', baseUrl=' + this.l6m_1 + ', temperature=' + this.m6m_1 + ', maxTokens=' + this.n6m_1 + ', timeout=' + this.o6m_1 + ', enableDebugLogging=' + this.p6m_1 + ')';
826
+ return 'OpenAIConfig(apiKey=' + this.k7d_1 + ', model=' + this.l7d_1 + ', baseUrl=' + this.m7d_1 + ', temperature=' + this.n7d_1 + ', maxTokens=' + this.o7d_1 + ', timeout=' + this.p7d_1 + ', enableDebugLogging=' + this.q7d_1 + ')';
831
827
  };
832
828
  protoOf(OpenAIConfig).hashCode = function () {
833
- var result = getStringHashCode(this.j6m_1);
834
- result = imul(result, 31) + getStringHashCode(this.k6m_1) | 0;
835
- result = imul(result, 31) + getStringHashCode(this.l6m_1) | 0;
836
- result = imul(result, 31) + getNumberHashCode(this.m6m_1) | 0;
837
- result = imul(result, 31) + this.n6m_1 | 0;
838
- result = imul(result, 31) + this.o6m_1 | 0;
839
- result = imul(result, 31) + getBooleanHashCode(this.p6m_1) | 0;
829
+ var result = getStringHashCode(this.k7d_1);
830
+ result = imul(result, 31) + getStringHashCode(this.l7d_1) | 0;
831
+ result = imul(result, 31) + getStringHashCode(this.m7d_1) | 0;
832
+ result = imul(result, 31) + getNumberHashCode(this.n7d_1) | 0;
833
+ result = imul(result, 31) + this.o7d_1 | 0;
834
+ result = imul(result, 31) + this.p7d_1 | 0;
835
+ result = imul(result, 31) + getBooleanHashCode(this.q7d_1) | 0;
840
836
  return result;
841
837
  };
842
838
  protoOf(OpenAIConfig).equals = function (other) {
@@ -844,19 +840,19 @@
844
840
  return true;
845
841
  if (!(other instanceof OpenAIConfig))
846
842
  return false;
847
- if (!(this.j6m_1 === other.j6m_1))
843
+ if (!(this.k7d_1 === other.k7d_1))
848
844
  return false;
849
- if (!(this.k6m_1 === other.k6m_1))
845
+ if (!(this.l7d_1 === other.l7d_1))
850
846
  return false;
851
- if (!(this.l6m_1 === other.l6m_1))
847
+ if (!(this.m7d_1 === other.m7d_1))
852
848
  return false;
853
- if (!equals(this.m6m_1, other.m6m_1))
849
+ if (!equals(this.n7d_1, other.n7d_1))
854
850
  return false;
855
- if (!(this.n6m_1 === other.n6m_1))
851
+ if (!(this.o7d_1 === other.o7d_1))
856
852
  return false;
857
- if (!(this.o6m_1 === other.o6m_1))
853
+ if (!(this.p7d_1 === other.p7d_1))
858
854
  return false;
859
- if (!(this.p6m_1 === other.p6m_1))
855
+ if (!(this.q7d_1 === other.q7d_1))
860
856
  return false;
861
857
  return true;
862
858
  };
@@ -870,10 +866,10 @@
870
866
  // Inline function 'kotlin.arrayOf' call
871
867
  // Inline function 'kotlin.js.unsafeCast' call
872
868
  // Inline function 'kotlin.js.asDynamic' call
873
- tmp.g6o_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
869
+ tmp.h7f_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
874
870
  }
875
871
  var Companion_instance_4;
876
- function Companion_getInstance_4() {
872
+ function Companion_getInstance_3() {
877
873
  if (Companion_instance_4 == null)
878
874
  new Companion_2();
879
875
  return Companion_instance_4;
@@ -881,27 +877,27 @@
881
877
  function $serializer_1() {
882
878
  $serializer_instance_1 = this;
883
879
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIRequest', this, 4);
884
- tmp0_serialDesc.hz('model', false);
885
- tmp0_serialDesc.hz('messages', false);
886
- tmp0_serialDesc.hz('temperature', false);
887
- tmp0_serialDesc.hz('max_tokens', false);
888
- this.h6o_1 = tmp0_serialDesc;
889
- }
890
- protoOf($serializer_1).i6o = function (encoder, value) {
891
- var tmp0_desc = this.h6o_1;
892
- var tmp1_output = encoder.pr(tmp0_desc);
893
- var tmp2_cached = Companion_getInstance_4().g6o_1;
894
- tmp1_output.et(tmp0_desc, 0, value.j6o_1);
895
- tmp1_output.gt(tmp0_desc, 1, tmp2_cached[1].x(), value.k6o_1);
896
- tmp1_output.ct(tmp0_desc, 2, value.l6o_1);
897
- tmp1_output.zs(tmp0_desc, 3, value.m6o_1);
898
- tmp1_output.qr(tmp0_desc);
899
- };
900
- protoOf($serializer_1).do = function (encoder, value) {
901
- return this.i6o(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
902
- };
903
- protoOf($serializer_1).eo = function (decoder) {
904
- var tmp0_desc = this.h6o_1;
880
+ tmp0_serialDesc.xz('model', false);
881
+ tmp0_serialDesc.xz('messages', false);
882
+ tmp0_serialDesc.xz('temperature', false);
883
+ tmp0_serialDesc.xz('max_tokens', false);
884
+ this.i7f_1 = tmp0_serialDesc;
885
+ }
886
+ protoOf($serializer_1).j7f = function (encoder, value) {
887
+ var tmp0_desc = this.i7f_1;
888
+ var tmp1_output = encoder.fs(tmp0_desc);
889
+ var tmp2_cached = Companion_getInstance_3().h7f_1;
890
+ tmp1_output.ut(tmp0_desc, 0, value.k7f_1);
891
+ tmp1_output.wt(tmp0_desc, 1, tmp2_cached[1].o1(), value.l7f_1);
892
+ tmp1_output.st(tmp0_desc, 2, value.m7f_1);
893
+ tmp1_output.pt(tmp0_desc, 3, value.n7f_1);
894
+ tmp1_output.gs(tmp0_desc);
895
+ };
896
+ protoOf($serializer_1).to = function (encoder, value) {
897
+ return this.j7f(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
898
+ };
899
+ protoOf($serializer_1).uo = function (decoder) {
900
+ var tmp0_desc = this.i7f_1;
905
901
  var tmp1_flag = true;
906
902
  var tmp2_index = 0;
907
903
  var tmp3_bitMask0 = 0;
@@ -909,56 +905,56 @@
909
905
  var tmp5_local1 = null;
910
906
  var tmp6_local2 = 0.0;
911
907
  var tmp7_local3 = 0;
912
- var tmp8_input = decoder.pr(tmp0_desc);
913
- var tmp9_cached = Companion_getInstance_4().g6o_1;
914
- if (tmp8_input.fs()) {
915
- tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
908
+ var tmp8_input = decoder.fs(tmp0_desc);
909
+ var tmp9_cached = Companion_getInstance_3().h7f_1;
910
+ if (tmp8_input.vs()) {
911
+ tmp4_local0 = tmp8_input.ps(tmp0_desc, 0);
916
912
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
917
- tmp5_local1 = tmp8_input.bs(tmp0_desc, 1, tmp9_cached[1].x(), tmp5_local1);
913
+ tmp5_local1 = tmp8_input.rs(tmp0_desc, 1, tmp9_cached[1].o1(), tmp5_local1);
918
914
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
919
- tmp6_local2 = tmp8_input.xr(tmp0_desc, 2);
915
+ tmp6_local2 = tmp8_input.ns(tmp0_desc, 2);
920
916
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
921
- tmp7_local3 = tmp8_input.ur(tmp0_desc, 3);
917
+ tmp7_local3 = tmp8_input.ks(tmp0_desc, 3);
922
918
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
923
919
  } else
924
920
  while (tmp1_flag) {
925
- tmp2_index = tmp8_input.gs(tmp0_desc);
921
+ tmp2_index = tmp8_input.ws(tmp0_desc);
926
922
  switch (tmp2_index) {
927
923
  case -1:
928
924
  tmp1_flag = false;
929
925
  break;
930
926
  case 0:
931
- tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
927
+ tmp4_local0 = tmp8_input.ps(tmp0_desc, 0);
932
928
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
933
929
  break;
934
930
  case 1:
935
- tmp5_local1 = tmp8_input.bs(tmp0_desc, 1, tmp9_cached[1].x(), tmp5_local1);
931
+ tmp5_local1 = tmp8_input.rs(tmp0_desc, 1, tmp9_cached[1].o1(), tmp5_local1);
936
932
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
937
933
  break;
938
934
  case 2:
939
- tmp6_local2 = tmp8_input.xr(tmp0_desc, 2);
935
+ tmp6_local2 = tmp8_input.ns(tmp0_desc, 2);
940
936
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
941
937
  break;
942
938
  case 3:
943
- tmp7_local3 = tmp8_input.ur(tmp0_desc, 3);
939
+ tmp7_local3 = tmp8_input.ks(tmp0_desc, 3);
944
940
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
945
941
  break;
946
942
  default:
947
943
  throw UnknownFieldException_init_$Create$(tmp2_index);
948
944
  }
949
945
  }
950
- tmp8_input.qr(tmp0_desc);
946
+ tmp8_input.gs(tmp0_desc);
951
947
  return OpenAIRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
952
948
  };
953
- protoOf($serializer_1).co = function () {
954
- return this.h6o_1;
949
+ protoOf($serializer_1).so = function () {
950
+ return this.i7f_1;
955
951
  };
956
- protoOf($serializer_1).wz = function () {
957
- var tmp0_cached = Companion_getInstance_4().g6o_1;
952
+ protoOf($serializer_1).m10 = function () {
953
+ var tmp0_cached = Companion_getInstance_3().h7f_1;
958
954
  // Inline function 'kotlin.arrayOf' call
959
955
  // Inline function 'kotlin.js.unsafeCast' call
960
956
  // Inline function 'kotlin.js.asDynamic' call
961
- return [StringSerializer_getInstance(), tmp0_cached[1].x(), DoubleSerializer_getInstance(), IntSerializer_getInstance()];
957
+ return [StringSerializer_getInstance(), tmp0_cached[1].o1(), DoubleSerializer_getInstance(), IntSerializer_getInstance()];
962
958
  };
963
959
  var $serializer_instance_1;
964
960
  function $serializer_getInstance_1() {
@@ -968,32 +964,32 @@
968
964
  }
969
965
  function OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, $this) {
970
966
  if (!(15 === (15 & seen0))) {
971
- throwMissingFieldException(seen0, 15, $serializer_getInstance_1().h6o_1);
967
+ throwMissingFieldException(seen0, 15, $serializer_getInstance_1().i7f_1);
972
968
  }
973
- $this.j6o_1 = model;
974
- $this.k6o_1 = messages;
975
- $this.l6o_1 = temperature;
976
- $this.m6o_1 = maxTokens;
969
+ $this.k7f_1 = model;
970
+ $this.l7f_1 = messages;
971
+ $this.m7f_1 = temperature;
972
+ $this.n7f_1 = maxTokens;
977
973
  return $this;
978
974
  }
979
975
  function OpenAIRequest_init_$Create$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker) {
980
976
  return OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, objectCreate(protoOf(OpenAIRequest)));
981
977
  }
982
978
  function OpenAIRequest(model, messages, temperature, maxTokens) {
983
- Companion_getInstance_4();
984
- this.j6o_1 = model;
985
- this.k6o_1 = messages;
986
- this.l6o_1 = temperature;
987
- this.m6o_1 = maxTokens;
979
+ Companion_getInstance_3();
980
+ this.k7f_1 = model;
981
+ this.l7f_1 = messages;
982
+ this.m7f_1 = temperature;
983
+ this.n7f_1 = maxTokens;
988
984
  }
989
985
  protoOf(OpenAIRequest).toString = function () {
990
- return 'OpenAIRequest(model=' + this.j6o_1 + ', messages=' + toString(this.k6o_1) + ', temperature=' + this.l6o_1 + ', maxTokens=' + this.m6o_1 + ')';
986
+ return 'OpenAIRequest(model=' + this.k7f_1 + ', messages=' + toString(this.l7f_1) + ', temperature=' + this.m7f_1 + ', maxTokens=' + this.n7f_1 + ')';
991
987
  };
992
988
  protoOf(OpenAIRequest).hashCode = function () {
993
- var result = getStringHashCode(this.j6o_1);
994
- result = imul(result, 31) + hashCode(this.k6o_1) | 0;
995
- result = imul(result, 31) + getNumberHashCode(this.l6o_1) | 0;
996
- result = imul(result, 31) + this.m6o_1 | 0;
989
+ var result = getStringHashCode(this.k7f_1);
990
+ result = imul(result, 31) + hashCode(this.l7f_1) | 0;
991
+ result = imul(result, 31) + getNumberHashCode(this.m7f_1) | 0;
992
+ result = imul(result, 31) + this.n7f_1 | 0;
997
993
  return result;
998
994
  };
999
995
  protoOf(OpenAIRequest).equals = function (other) {
@@ -1001,83 +997,83 @@
1001
997
  return true;
1002
998
  if (!(other instanceof OpenAIRequest))
1003
999
  return false;
1004
- if (!(this.j6o_1 === other.j6o_1))
1000
+ if (!(this.k7f_1 === other.k7f_1))
1005
1001
  return false;
1006
- if (!equals(this.k6o_1, other.k6o_1))
1002
+ if (!equals(this.l7f_1, other.l7f_1))
1007
1003
  return false;
1008
- if (!equals(this.l6o_1, other.l6o_1))
1004
+ if (!equals(this.m7f_1, other.m7f_1))
1009
1005
  return false;
1010
- if (!(this.m6o_1 === other.m6o_1))
1006
+ if (!(this.n7f_1 === other.n7f_1))
1011
1007
  return false;
1012
1008
  return true;
1013
1009
  };
1014
1010
  function $serializer_2() {
1015
1011
  $serializer_instance_2 = this;
1016
1012
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse.Choice', this, 3);
1017
- tmp0_serialDesc.hz('index', false);
1018
- tmp0_serialDesc.hz('message', false);
1019
- tmp0_serialDesc.hz('finish_reason', true);
1020
- this.n6o_1 = tmp0_serialDesc;
1021
- }
1022
- protoOf($serializer_2).o6o = function (encoder, value) {
1023
- var tmp0_desc = this.n6o_1;
1024
- var tmp1_output = encoder.pr(tmp0_desc);
1025
- tmp1_output.zs(tmp0_desc, 0, value.p6o_1);
1026
- tmp1_output.gt(tmp0_desc, 1, $serializer_getInstance_0(), value.q6o_1);
1027
- if (tmp1_output.mt(tmp0_desc, 2) ? true : !(value.r6o_1 == null)) {
1028
- tmp1_output.it(tmp0_desc, 2, StringSerializer_getInstance(), value.r6o_1);
1013
+ tmp0_serialDesc.xz('index', false);
1014
+ tmp0_serialDesc.xz('message', false);
1015
+ tmp0_serialDesc.xz('finish_reason', true);
1016
+ this.o7f_1 = tmp0_serialDesc;
1017
+ }
1018
+ protoOf($serializer_2).p7f = function (encoder, value) {
1019
+ var tmp0_desc = this.o7f_1;
1020
+ var tmp1_output = encoder.fs(tmp0_desc);
1021
+ tmp1_output.pt(tmp0_desc, 0, value.q7f_1);
1022
+ tmp1_output.wt(tmp0_desc, 1, $serializer_getInstance_0(), value.r7f_1);
1023
+ if (tmp1_output.cu(tmp0_desc, 2) ? true : !(value.s7f_1 == null)) {
1024
+ tmp1_output.yt(tmp0_desc, 2, StringSerializer_getInstance(), value.s7f_1);
1029
1025
  }
1030
- tmp1_output.qr(tmp0_desc);
1026
+ tmp1_output.gs(tmp0_desc);
1031
1027
  };
1032
- protoOf($serializer_2).do = function (encoder, value) {
1033
- return this.o6o(encoder, value instanceof Choice ? value : THROW_CCE());
1028
+ protoOf($serializer_2).to = function (encoder, value) {
1029
+ return this.p7f(encoder, value instanceof Choice ? value : THROW_CCE());
1034
1030
  };
1035
- protoOf($serializer_2).eo = function (decoder) {
1036
- var tmp0_desc = this.n6o_1;
1031
+ protoOf($serializer_2).uo = function (decoder) {
1032
+ var tmp0_desc = this.o7f_1;
1037
1033
  var tmp1_flag = true;
1038
1034
  var tmp2_index = 0;
1039
1035
  var tmp3_bitMask0 = 0;
1040
1036
  var tmp4_local0 = 0;
1041
1037
  var tmp5_local1 = null;
1042
1038
  var tmp6_local2 = null;
1043
- var tmp7_input = decoder.pr(tmp0_desc);
1044
- if (tmp7_input.fs()) {
1045
- tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
1039
+ var tmp7_input = decoder.fs(tmp0_desc);
1040
+ if (tmp7_input.vs()) {
1041
+ tmp4_local0 = tmp7_input.ks(tmp0_desc, 0);
1046
1042
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1047
- tmp5_local1 = tmp7_input.bs(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
1043
+ tmp5_local1 = tmp7_input.rs(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
1048
1044
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1049
- tmp6_local2 = tmp7_input.ds(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1045
+ tmp6_local2 = tmp7_input.ts(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1050
1046
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1051
1047
  } else
1052
1048
  while (tmp1_flag) {
1053
- tmp2_index = tmp7_input.gs(tmp0_desc);
1049
+ tmp2_index = tmp7_input.ws(tmp0_desc);
1054
1050
  switch (tmp2_index) {
1055
1051
  case -1:
1056
1052
  tmp1_flag = false;
1057
1053
  break;
1058
1054
  case 0:
1059
- tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
1055
+ tmp4_local0 = tmp7_input.ks(tmp0_desc, 0);
1060
1056
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1061
1057
  break;
1062
1058
  case 1:
1063
- tmp5_local1 = tmp7_input.bs(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
1059
+ tmp5_local1 = tmp7_input.rs(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
1064
1060
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1065
1061
  break;
1066
1062
  case 2:
1067
- tmp6_local2 = tmp7_input.ds(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1063
+ tmp6_local2 = tmp7_input.ts(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1068
1064
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1069
1065
  break;
1070
1066
  default:
1071
1067
  throw UnknownFieldException_init_$Create$(tmp2_index);
1072
1068
  }
1073
1069
  }
1074
- tmp7_input.qr(tmp0_desc);
1070
+ tmp7_input.gs(tmp0_desc);
1075
1071
  return Choice_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1076
1072
  };
1077
- protoOf($serializer_2).co = function () {
1078
- return this.n6o_1;
1073
+ protoOf($serializer_2).so = function () {
1074
+ return this.o7f_1;
1079
1075
  };
1080
- protoOf($serializer_2).wz = function () {
1076
+ protoOf($serializer_2).m10 = function () {
1081
1077
  // Inline function 'kotlin.arrayOf' call
1082
1078
  // Inline function 'kotlin.js.unsafeCast' call
1083
1079
  // Inline function 'kotlin.js.asDynamic' call
@@ -1091,14 +1087,14 @@
1091
1087
  }
1092
1088
  function Choice_init_$Init$(seen0, index, message, finishReason, serializationConstructorMarker, $this) {
1093
1089
  if (!(3 === (3 & seen0))) {
1094
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().n6o_1);
1090
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().o7f_1);
1095
1091
  }
1096
- $this.p6o_1 = index;
1097
- $this.q6o_1 = message;
1092
+ $this.q7f_1 = index;
1093
+ $this.r7f_1 = message;
1098
1094
  if (0 === (seen0 & 4))
1099
- $this.r6o_1 = null;
1095
+ $this.s7f_1 = null;
1100
1096
  else
1101
- $this.r6o_1 = finishReason;
1097
+ $this.s7f_1 = finishReason;
1102
1098
  return $this;
1103
1099
  }
1104
1100
  function Choice_init_$Create$(seen0, index, message, finishReason, serializationConstructorMarker) {
@@ -1107,68 +1103,68 @@
1107
1103
  function $serializer_3() {
1108
1104
  $serializer_instance_3 = this;
1109
1105
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse.Usage', this, 3);
1110
- tmp0_serialDesc.hz('prompt_tokens', false);
1111
- tmp0_serialDesc.hz('completion_tokens', false);
1112
- tmp0_serialDesc.hz('total_tokens', false);
1113
- this.s6o_1 = tmp0_serialDesc;
1114
- }
1115
- protoOf($serializer_3).t6o = function (encoder, value) {
1116
- var tmp0_desc = this.s6o_1;
1117
- var tmp1_output = encoder.pr(tmp0_desc);
1118
- tmp1_output.zs(tmp0_desc, 0, value.u6o_1);
1119
- tmp1_output.zs(tmp0_desc, 1, value.v6o_1);
1120
- tmp1_output.zs(tmp0_desc, 2, value.w6o_1);
1121
- tmp1_output.qr(tmp0_desc);
1122
- };
1123
- protoOf($serializer_3).do = function (encoder, value) {
1124
- return this.t6o(encoder, value instanceof Usage ? value : THROW_CCE());
1125
- };
1126
- protoOf($serializer_3).eo = function (decoder) {
1127
- var tmp0_desc = this.s6o_1;
1106
+ tmp0_serialDesc.xz('prompt_tokens', false);
1107
+ tmp0_serialDesc.xz('completion_tokens', false);
1108
+ tmp0_serialDesc.xz('total_tokens', false);
1109
+ this.t7f_1 = tmp0_serialDesc;
1110
+ }
1111
+ protoOf($serializer_3).u7f = function (encoder, value) {
1112
+ var tmp0_desc = this.t7f_1;
1113
+ var tmp1_output = encoder.fs(tmp0_desc);
1114
+ tmp1_output.pt(tmp0_desc, 0, value.v7f_1);
1115
+ tmp1_output.pt(tmp0_desc, 1, value.w7f_1);
1116
+ tmp1_output.pt(tmp0_desc, 2, value.x7f_1);
1117
+ tmp1_output.gs(tmp0_desc);
1118
+ };
1119
+ protoOf($serializer_3).to = function (encoder, value) {
1120
+ return this.u7f(encoder, value instanceof Usage ? value : THROW_CCE());
1121
+ };
1122
+ protoOf($serializer_3).uo = function (decoder) {
1123
+ var tmp0_desc = this.t7f_1;
1128
1124
  var tmp1_flag = true;
1129
1125
  var tmp2_index = 0;
1130
1126
  var tmp3_bitMask0 = 0;
1131
1127
  var tmp4_local0 = 0;
1132
1128
  var tmp5_local1 = 0;
1133
1129
  var tmp6_local2 = 0;
1134
- var tmp7_input = decoder.pr(tmp0_desc);
1135
- if (tmp7_input.fs()) {
1136
- tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
1130
+ var tmp7_input = decoder.fs(tmp0_desc);
1131
+ if (tmp7_input.vs()) {
1132
+ tmp4_local0 = tmp7_input.ks(tmp0_desc, 0);
1137
1133
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1138
- tmp5_local1 = tmp7_input.ur(tmp0_desc, 1);
1134
+ tmp5_local1 = tmp7_input.ks(tmp0_desc, 1);
1139
1135
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1140
- tmp6_local2 = tmp7_input.ur(tmp0_desc, 2);
1136
+ tmp6_local2 = tmp7_input.ks(tmp0_desc, 2);
1141
1137
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1142
1138
  } else
1143
1139
  while (tmp1_flag) {
1144
- tmp2_index = tmp7_input.gs(tmp0_desc);
1140
+ tmp2_index = tmp7_input.ws(tmp0_desc);
1145
1141
  switch (tmp2_index) {
1146
1142
  case -1:
1147
1143
  tmp1_flag = false;
1148
1144
  break;
1149
1145
  case 0:
1150
- tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
1146
+ tmp4_local0 = tmp7_input.ks(tmp0_desc, 0);
1151
1147
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1152
1148
  break;
1153
1149
  case 1:
1154
- tmp5_local1 = tmp7_input.ur(tmp0_desc, 1);
1150
+ tmp5_local1 = tmp7_input.ks(tmp0_desc, 1);
1155
1151
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1156
1152
  break;
1157
1153
  case 2:
1158
- tmp6_local2 = tmp7_input.ur(tmp0_desc, 2);
1154
+ tmp6_local2 = tmp7_input.ks(tmp0_desc, 2);
1159
1155
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1160
1156
  break;
1161
1157
  default:
1162
1158
  throw UnknownFieldException_init_$Create$(tmp2_index);
1163
1159
  }
1164
1160
  }
1165
- tmp7_input.qr(tmp0_desc);
1161
+ tmp7_input.gs(tmp0_desc);
1166
1162
  return Usage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1167
1163
  };
1168
- protoOf($serializer_3).co = function () {
1169
- return this.s6o_1;
1164
+ protoOf($serializer_3).so = function () {
1165
+ return this.t7f_1;
1170
1166
  };
1171
- protoOf($serializer_3).wz = function () {
1167
+ protoOf($serializer_3).m10 = function () {
1172
1168
  // Inline function 'kotlin.arrayOf' call
1173
1169
  // Inline function 'kotlin.js.unsafeCast' call
1174
1170
  // Inline function 'kotlin.js.asDynamic' call
@@ -1182,11 +1178,11 @@
1182
1178
  }
1183
1179
  function Usage_init_$Init$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker, $this) {
1184
1180
  if (!(7 === (7 & seen0))) {
1185
- throwMissingFieldException(seen0, 7, $serializer_getInstance_3().s6o_1);
1181
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_3().t7f_1);
1186
1182
  }
1187
- $this.u6o_1 = promptTokens;
1188
- $this.v6o_1 = completionTokens;
1189
- $this.w6o_1 = totalTokens;
1183
+ $this.v7f_1 = promptTokens;
1184
+ $this.w7f_1 = completionTokens;
1185
+ $this.x7f_1 = totalTokens;
1190
1186
  return $this;
1191
1187
  }
1192
1188
  function Usage_init_$Create$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker) {
@@ -1198,12 +1194,12 @@
1198
1194
  function Choice() {
1199
1195
  }
1200
1196
  protoOf(Choice).toString = function () {
1201
- return 'Choice(index=' + this.p6o_1 + ', message=' + this.q6o_1.toString() + ', finishReason=' + this.r6o_1 + ')';
1197
+ return 'Choice(index=' + this.q7f_1 + ', message=' + this.r7f_1.toString() + ', finishReason=' + this.s7f_1 + ')';
1202
1198
  };
1203
1199
  protoOf(Choice).hashCode = function () {
1204
- var result = this.p6o_1;
1205
- result = imul(result, 31) + this.q6o_1.hashCode() | 0;
1206
- result = imul(result, 31) + (this.r6o_1 == null ? 0 : getStringHashCode(this.r6o_1)) | 0;
1200
+ var result = this.q7f_1;
1201
+ result = imul(result, 31) + this.r7f_1.hashCode() | 0;
1202
+ result = imul(result, 31) + (this.s7f_1 == null ? 0 : getStringHashCode(this.s7f_1)) | 0;
1207
1203
  return result;
1208
1204
  };
1209
1205
  protoOf(Choice).equals = function (other) {
@@ -1211,23 +1207,23 @@
1211
1207
  return true;
1212
1208
  if (!(other instanceof Choice))
1213
1209
  return false;
1214
- if (!(this.p6o_1 === other.p6o_1))
1210
+ if (!(this.q7f_1 === other.q7f_1))
1215
1211
  return false;
1216
- if (!this.q6o_1.equals(other.q6o_1))
1212
+ if (!this.r7f_1.equals(other.r7f_1))
1217
1213
  return false;
1218
- if (!(this.r6o_1 == other.r6o_1))
1214
+ if (!(this.s7f_1 == other.s7f_1))
1219
1215
  return false;
1220
1216
  return true;
1221
1217
  };
1222
1218
  function Usage() {
1223
1219
  }
1224
1220
  protoOf(Usage).toString = function () {
1225
- return 'Usage(promptTokens=' + this.u6o_1 + ', completionTokens=' + this.v6o_1 + ', totalTokens=' + this.w6o_1 + ')';
1221
+ return 'Usage(promptTokens=' + this.v7f_1 + ', completionTokens=' + this.w7f_1 + ', totalTokens=' + this.x7f_1 + ')';
1226
1222
  };
1227
1223
  protoOf(Usage).hashCode = function () {
1228
- var result = this.u6o_1;
1229
- result = imul(result, 31) + this.v6o_1 | 0;
1230
- result = imul(result, 31) + this.w6o_1 | 0;
1224
+ var result = this.v7f_1;
1225
+ result = imul(result, 31) + this.w7f_1 | 0;
1226
+ result = imul(result, 31) + this.x7f_1 | 0;
1231
1227
  return result;
1232
1228
  };
1233
1229
  protoOf(Usage).equals = function (other) {
@@ -1235,11 +1231,11 @@
1235
1231
  return true;
1236
1232
  if (!(other instanceof Usage))
1237
1233
  return false;
1238
- if (!(this.u6o_1 === other.u6o_1))
1234
+ if (!(this.v7f_1 === other.v7f_1))
1239
1235
  return false;
1240
- if (!(this.v6o_1 === other.v6o_1))
1236
+ if (!(this.w7f_1 === other.w7f_1))
1241
1237
  return false;
1242
- if (!(this.w6o_1 === other.w6o_1))
1238
+ if (!(this.x7f_1 === other.x7f_1))
1243
1239
  return false;
1244
1240
  return true;
1245
1241
  };
@@ -1250,10 +1246,10 @@
1250
1246
  // Inline function 'kotlin.arrayOf' call
1251
1247
  // Inline function 'kotlin.js.unsafeCast' call
1252
1248
  // Inline function 'kotlin.js.asDynamic' call
1253
- tmp.x6o_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1249
+ tmp.y7f_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1254
1250
  }
1255
1251
  var Companion_instance_5;
1256
- function Companion_getInstance_5() {
1252
+ function Companion_getInstance_4() {
1257
1253
  if (Companion_instance_5 == null)
1258
1254
  new Companion_3();
1259
1255
  return Companion_instance_5;
@@ -1261,33 +1257,33 @@
1261
1257
  function $serializer_4() {
1262
1258
  $serializer_instance_4 = this;
1263
1259
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse', this, 6);
1264
- tmp0_serialDesc.hz('id', false);
1265
- tmp0_serialDesc.hz('object', false);
1266
- tmp0_serialDesc.hz('created', false);
1267
- tmp0_serialDesc.hz('model', false);
1268
- tmp0_serialDesc.hz('choices', false);
1269
- tmp0_serialDesc.hz('usage', true);
1270
- this.y6o_1 = tmp0_serialDesc;
1271
- }
1272
- protoOf($serializer_4).z6o = function (encoder, value) {
1273
- var tmp0_desc = this.y6o_1;
1274
- var tmp1_output = encoder.pr(tmp0_desc);
1275
- var tmp2_cached = Companion_getInstance_5().x6o_1;
1276
- tmp1_output.et(tmp0_desc, 0, value.a6p_1);
1277
- tmp1_output.et(tmp0_desc, 1, value.b6p_1);
1278
- tmp1_output.at(tmp0_desc, 2, value.c6p_1);
1279
- tmp1_output.et(tmp0_desc, 3, value.d6p_1);
1280
- tmp1_output.gt(tmp0_desc, 4, tmp2_cached[4].x(), value.e6p_1);
1281
- if (tmp1_output.mt(tmp0_desc, 5) ? true : !(value.f6p_1 == null)) {
1282
- tmp1_output.it(tmp0_desc, 5, $serializer_getInstance_3(), value.f6p_1);
1260
+ tmp0_serialDesc.xz('id', false);
1261
+ tmp0_serialDesc.xz('object', false);
1262
+ tmp0_serialDesc.xz('created', false);
1263
+ tmp0_serialDesc.xz('model', false);
1264
+ tmp0_serialDesc.xz('choices', false);
1265
+ tmp0_serialDesc.xz('usage', true);
1266
+ this.z7f_1 = tmp0_serialDesc;
1267
+ }
1268
+ protoOf($serializer_4).a7g = function (encoder, value) {
1269
+ var tmp0_desc = this.z7f_1;
1270
+ var tmp1_output = encoder.fs(tmp0_desc);
1271
+ var tmp2_cached = Companion_getInstance_4().y7f_1;
1272
+ tmp1_output.ut(tmp0_desc, 0, value.b7g_1);
1273
+ tmp1_output.ut(tmp0_desc, 1, value.c7g_1);
1274
+ tmp1_output.qt(tmp0_desc, 2, value.d7g_1);
1275
+ tmp1_output.ut(tmp0_desc, 3, value.e7g_1);
1276
+ tmp1_output.wt(tmp0_desc, 4, tmp2_cached[4].o1(), value.f7g_1);
1277
+ if (tmp1_output.cu(tmp0_desc, 5) ? true : !(value.g7g_1 == null)) {
1278
+ tmp1_output.yt(tmp0_desc, 5, $serializer_getInstance_3(), value.g7g_1);
1283
1279
  }
1284
- tmp1_output.qr(tmp0_desc);
1280
+ tmp1_output.gs(tmp0_desc);
1285
1281
  };
1286
- protoOf($serializer_4).do = function (encoder, value) {
1287
- return this.z6o(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1282
+ protoOf($serializer_4).to = function (encoder, value) {
1283
+ return this.a7g(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1288
1284
  };
1289
- protoOf($serializer_4).eo = function (decoder) {
1290
- var tmp0_desc = this.y6o_1;
1285
+ protoOf($serializer_4).uo = function (decoder) {
1286
+ var tmp0_desc = this.z7f_1;
1291
1287
  var tmp1_flag = true;
1292
1288
  var tmp2_index = 0;
1293
1289
  var tmp3_bitMask0 = 0;
@@ -1297,68 +1293,68 @@
1297
1293
  var tmp7_local3 = null;
1298
1294
  var tmp8_local4 = null;
1299
1295
  var tmp9_local5 = null;
1300
- var tmp10_input = decoder.pr(tmp0_desc);
1301
- var tmp11_cached = Companion_getInstance_5().x6o_1;
1302
- if (tmp10_input.fs()) {
1303
- tmp4_local0 = tmp10_input.zr(tmp0_desc, 0);
1296
+ var tmp10_input = decoder.fs(tmp0_desc);
1297
+ var tmp11_cached = Companion_getInstance_4().y7f_1;
1298
+ if (tmp10_input.vs()) {
1299
+ tmp4_local0 = tmp10_input.ps(tmp0_desc, 0);
1304
1300
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1305
- tmp5_local1 = tmp10_input.zr(tmp0_desc, 1);
1301
+ tmp5_local1 = tmp10_input.ps(tmp0_desc, 1);
1306
1302
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1307
- tmp6_local2 = tmp10_input.vr(tmp0_desc, 2);
1303
+ tmp6_local2 = tmp10_input.ls(tmp0_desc, 2);
1308
1304
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1309
- tmp7_local3 = tmp10_input.zr(tmp0_desc, 3);
1305
+ tmp7_local3 = tmp10_input.ps(tmp0_desc, 3);
1310
1306
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1311
- tmp8_local4 = tmp10_input.bs(tmp0_desc, 4, tmp11_cached[4].x(), tmp8_local4);
1307
+ tmp8_local4 = tmp10_input.rs(tmp0_desc, 4, tmp11_cached[4].o1(), tmp8_local4);
1312
1308
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1313
- tmp9_local5 = tmp10_input.ds(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
1309
+ tmp9_local5 = tmp10_input.ts(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
1314
1310
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1315
1311
  } else
1316
1312
  while (tmp1_flag) {
1317
- tmp2_index = tmp10_input.gs(tmp0_desc);
1313
+ tmp2_index = tmp10_input.ws(tmp0_desc);
1318
1314
  switch (tmp2_index) {
1319
1315
  case -1:
1320
1316
  tmp1_flag = false;
1321
1317
  break;
1322
1318
  case 0:
1323
- tmp4_local0 = tmp10_input.zr(tmp0_desc, 0);
1319
+ tmp4_local0 = tmp10_input.ps(tmp0_desc, 0);
1324
1320
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1325
1321
  break;
1326
1322
  case 1:
1327
- tmp5_local1 = tmp10_input.zr(tmp0_desc, 1);
1323
+ tmp5_local1 = tmp10_input.ps(tmp0_desc, 1);
1328
1324
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1329
1325
  break;
1330
1326
  case 2:
1331
- tmp6_local2 = tmp10_input.vr(tmp0_desc, 2);
1327
+ tmp6_local2 = tmp10_input.ls(tmp0_desc, 2);
1332
1328
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1333
1329
  break;
1334
1330
  case 3:
1335
- tmp7_local3 = tmp10_input.zr(tmp0_desc, 3);
1331
+ tmp7_local3 = tmp10_input.ps(tmp0_desc, 3);
1336
1332
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1337
1333
  break;
1338
1334
  case 4:
1339
- tmp8_local4 = tmp10_input.bs(tmp0_desc, 4, tmp11_cached[4].x(), tmp8_local4);
1335
+ tmp8_local4 = tmp10_input.rs(tmp0_desc, 4, tmp11_cached[4].o1(), tmp8_local4);
1340
1336
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1341
1337
  break;
1342
1338
  case 5:
1343
- tmp9_local5 = tmp10_input.ds(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
1339
+ tmp9_local5 = tmp10_input.ts(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
1344
1340
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1345
1341
  break;
1346
1342
  default:
1347
1343
  throw UnknownFieldException_init_$Create$(tmp2_index);
1348
1344
  }
1349
1345
  }
1350
- tmp10_input.qr(tmp0_desc);
1346
+ tmp10_input.gs(tmp0_desc);
1351
1347
  return OpenAIResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
1352
1348
  };
1353
- protoOf($serializer_4).co = function () {
1354
- return this.y6o_1;
1349
+ protoOf($serializer_4).so = function () {
1350
+ return this.z7f_1;
1355
1351
  };
1356
- protoOf($serializer_4).wz = function () {
1357
- var tmp0_cached = Companion_getInstance_5().x6o_1;
1352
+ protoOf($serializer_4).m10 = function () {
1353
+ var tmp0_cached = Companion_getInstance_4().y7f_1;
1358
1354
  // Inline function 'kotlin.arrayOf' call
1359
1355
  // Inline function 'kotlin.js.unsafeCast' call
1360
1356
  // Inline function 'kotlin.js.asDynamic' call
1361
- return [StringSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[4].x(), get_nullable($serializer_getInstance_3())];
1357
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[4].o1(), get_nullable($serializer_getInstance_3())];
1362
1358
  };
1363
1359
  var $serializer_instance_4;
1364
1360
  function $serializer_getInstance_4() {
@@ -1368,42 +1364,42 @@
1368
1364
  }
1369
1365
  function OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, $this) {
1370
1366
  if (!(31 === (31 & seen0))) {
1371
- throwMissingFieldException(seen0, 31, $serializer_getInstance_4().y6o_1);
1367
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_4().z7f_1);
1372
1368
  }
1373
- $this.a6p_1 = id;
1374
- $this.b6p_1 = objectType;
1375
- $this.c6p_1 = created;
1376
- $this.d6p_1 = model;
1377
- $this.e6p_1 = choices;
1369
+ $this.b7g_1 = id;
1370
+ $this.c7g_1 = objectType;
1371
+ $this.d7g_1 = created;
1372
+ $this.e7g_1 = model;
1373
+ $this.f7g_1 = choices;
1378
1374
  if (0 === (seen0 & 32))
1379
- $this.f6p_1 = null;
1375
+ $this.g7g_1 = null;
1380
1376
  else
1381
- $this.f6p_1 = usage;
1377
+ $this.g7g_1 = usage;
1382
1378
  return $this;
1383
1379
  }
1384
1380
  function OpenAIResponse_init_$Create$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker) {
1385
1381
  return OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, objectCreate(protoOf(OpenAIResponse)));
1386
1382
  }
1387
1383
  function OpenAIResponse(id, objectType, created, model, choices, usage) {
1388
- Companion_getInstance_5();
1384
+ Companion_getInstance_4();
1389
1385
  usage = usage === VOID ? null : usage;
1390
- this.a6p_1 = id;
1391
- this.b6p_1 = objectType;
1392
- this.c6p_1 = created;
1393
- this.d6p_1 = model;
1394
- this.e6p_1 = choices;
1395
- this.f6p_1 = usage;
1386
+ this.b7g_1 = id;
1387
+ this.c7g_1 = objectType;
1388
+ this.d7g_1 = created;
1389
+ this.e7g_1 = model;
1390
+ this.f7g_1 = choices;
1391
+ this.g7g_1 = usage;
1396
1392
  }
1397
1393
  protoOf(OpenAIResponse).toString = function () {
1398
- return 'OpenAIResponse(id=' + this.a6p_1 + ', objectType=' + this.b6p_1 + ', created=' + this.c6p_1.toString() + ', model=' + this.d6p_1 + ', choices=' + toString(this.e6p_1) + ', usage=' + toString_0(this.f6p_1) + ')';
1394
+ return 'OpenAIResponse(id=' + this.b7g_1 + ', objectType=' + this.c7g_1 + ', created=' + this.d7g_1.toString() + ', model=' + this.e7g_1 + ', choices=' + toString(this.f7g_1) + ', usage=' + toString_0(this.g7g_1) + ')';
1399
1395
  };
1400
1396
  protoOf(OpenAIResponse).hashCode = function () {
1401
- var result = getStringHashCode(this.a6p_1);
1402
- result = imul(result, 31) + getStringHashCode(this.b6p_1) | 0;
1403
- result = imul(result, 31) + this.c6p_1.hashCode() | 0;
1404
- result = imul(result, 31) + getStringHashCode(this.d6p_1) | 0;
1405
- result = imul(result, 31) + hashCode(this.e6p_1) | 0;
1406
- result = imul(result, 31) + (this.f6p_1 == null ? 0 : this.f6p_1.hashCode()) | 0;
1397
+ var result = getStringHashCode(this.b7g_1);
1398
+ result = imul(result, 31) + getStringHashCode(this.c7g_1) | 0;
1399
+ result = imul(result, 31) + this.d7g_1.hashCode() | 0;
1400
+ result = imul(result, 31) + getStringHashCode(this.e7g_1) | 0;
1401
+ result = imul(result, 31) + hashCode(this.f7g_1) | 0;
1402
+ result = imul(result, 31) + (this.g7g_1 == null ? 0 : this.g7g_1.hashCode()) | 0;
1407
1403
  return result;
1408
1404
  };
1409
1405
  protoOf(OpenAIResponse).equals = function (other) {
@@ -1411,59 +1407,59 @@
1411
1407
  return true;
1412
1408
  if (!(other instanceof OpenAIResponse))
1413
1409
  return false;
1414
- if (!(this.a6p_1 === other.a6p_1))
1410
+ if (!(this.b7g_1 === other.b7g_1))
1415
1411
  return false;
1416
- if (!(this.b6p_1 === other.b6p_1))
1412
+ if (!(this.c7g_1 === other.c7g_1))
1417
1413
  return false;
1418
- if (!equalsLong(this.c6p_1, other.c6p_1))
1414
+ if (!equalsLong(this.d7g_1, other.d7g_1))
1419
1415
  return false;
1420
- if (!(this.d6p_1 === other.d6p_1))
1416
+ if (!(this.e7g_1 === other.e7g_1))
1421
1417
  return false;
1422
- if (!equals(this.e6p_1, other.e6p_1))
1418
+ if (!equals(this.f7g_1, other.f7g_1))
1423
1419
  return false;
1424
- if (!equals(this.f6p_1, other.f6p_1))
1420
+ if (!equals(this.g7g_1, other.g7g_1))
1425
1421
  return false;
1426
1422
  return true;
1427
1423
  };
1428
1424
  function $executeRequestCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
1429
1425
  CoroutineImpl.call(this, resultContinuation);
1430
- this.o6p_1 = _this__u8e3s4;
1431
- this.p6p_1 = messages;
1426
+ this.p7g_1 = _this__u8e3s4;
1427
+ this.q7g_1 = messages;
1432
1428
  }
1433
- protoOf($executeRequestCOROUTINE$).a9 = function () {
1434
- var suspendResult = this.u8_1;
1429
+ protoOf($executeRequestCOROUTINE$).m9 = function () {
1430
+ var suspendResult = this.g9_1;
1435
1431
  $sm: do
1436
1432
  try {
1437
- var tmp = this.s8_1;
1433
+ var tmp = this.e9_1;
1438
1434
  switch (tmp) {
1439
1435
  case 0:
1440
- this.t8_1 = 3;
1441
- this.s8_1 = 1;
1442
- suspendResult = this.o6p_1.q6p_1.i6m(this.p6p_1, this);
1436
+ this.f9_1 = 3;
1437
+ this.e9_1 = 1;
1438
+ suspendResult = this.p7g_1.r7g_1.j7d(this.q7g_1, this);
1443
1439
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1444
1440
  return suspendResult;
1445
1441
  }
1446
1442
 
1447
- this.s8_1 = 2;
1443
+ this.e9_1 = 2;
1448
1444
  continue $sm;
1449
1445
  case 1:
1450
- var unboxed = suspendResult.ul_1;
1446
+ var unboxed = suspendResult.hm_1;
1451
1447
  suspendResult = new Result(unboxed);
1452
- this.s8_1 = 2;
1448
+ this.e9_1 = 2;
1453
1449
  continue $sm;
1454
1450
  case 2:
1455
- var this_0 = suspendResult.ul_1;
1451
+ var this_0 = suspendResult.hm_1;
1456
1452
  var tmp_0;
1457
1453
  if (_Result___get_isSuccess__impl__sndoy8(this_0)) {
1458
1454
  var this_1 = new Result(this_0);
1459
1455
  var tmp_1;
1460
1456
  try {
1461
- var $this$runCatching = this_1.ul_1;
1457
+ var $this$runCatching = this_1.hm_1;
1462
1458
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1463
1459
  var response = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1464
- var tmp0_safe_receiver = firstOrNull(response.e6p_1);
1465
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6o_1;
1466
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f6o_1;
1460
+ var tmp0_safe_receiver = firstOrNull(response.f7g_1);
1461
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r7f_1;
1462
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g7f_1;
1467
1463
  var tmp_3;
1468
1464
  if (tmp2_elvis_lhs == null) {
1469
1465
  throw IllegalStateException_init_$Create$('No response from OpenAI');
@@ -1489,27 +1485,27 @@
1489
1485
 
1490
1486
  return new Result(tmp_0);
1491
1487
  case 3:
1492
- throw this.v8_1;
1488
+ throw this.h9_1;
1493
1489
  }
1494
1490
  } catch ($p) {
1495
1491
  var e_0 = $p;
1496
- if (this.t8_1 === 3) {
1492
+ if (this.f9_1 === 3) {
1497
1493
  throw e_0;
1498
1494
  } else {
1499
- this.s8_1 = this.t8_1;
1500
- this.v8_1 = e_0;
1495
+ this.e9_1 = this.f9_1;
1496
+ this.h9_1 = e_0;
1501
1497
  }
1502
1498
  }
1503
1499
  while (true);
1504
1500
  };
1505
1501
  function BaseOpenAIRepository(openAIApi) {
1506
- this.q6p_1 = openAIApi;
1502
+ this.r7g_1 = openAIApi;
1507
1503
  }
1508
- protoOf(BaseOpenAIRepository).r6p = function (messages, $completion) {
1504
+ protoOf(BaseOpenAIRepository).s7g = function (messages, $completion) {
1509
1505
  var tmp = new $executeRequestCOROUTINE$(this, messages, $completion);
1510
- tmp.u8_1 = Unit_instance;
1511
- tmp.v8_1 = null;
1512
- var tmp_0 = tmp.a9();
1506
+ tmp.g9_1 = Unit_instance;
1507
+ tmp.h9_1 = null;
1508
+ var tmp_0 = tmp.m9();
1513
1509
  if (tmp_0 === get_COROUTINE_SUSPENDED())
1514
1510
  return tmp_0;
1515
1511
  return tmp_0;
@@ -1518,9 +1514,9 @@
1518
1514
  }
1519
1515
  function executeRequest($this, messages, cacheKey, $completion) {
1520
1516
  var tmp = new $executeRequestCOROUTINE$_0($this, messages, cacheKey, $completion);
1521
- tmp.u8_1 = Unit_instance;
1522
- tmp.v8_1 = null;
1523
- var tmp_0 = tmp.a9();
1517
+ tmp.g9_1 = Unit_instance;
1518
+ tmp.h9_1 = null;
1519
+ var tmp_0 = tmp.m9();
1524
1520
  if (tmp_0 === get_COROUTINE_SUSPENDED())
1525
1521
  return tmp_0;
1526
1522
  return tmp_0;
@@ -1529,101 +1525,101 @@
1529
1525
  // Inline function 'kotlin.text.buildString' call
1530
1526
  // Inline function 'kotlin.apply' call
1531
1527
  var this_0 = StringBuilder_init_$Create$();
1532
- this_0.d8(type);
1533
- this_0.d8(':');
1528
+ this_0.q(type);
1529
+ this_0.q(':');
1534
1530
  if (message == null)
1535
1531
  null;
1536
1532
  else {
1537
1533
  // Inline function 'kotlin.let' call
1538
- this_0.sb(getStringHashCode(take(message, 50))).d8(':');
1534
+ this_0.qc(getStringHashCode(take(message, 50))).q(':');
1539
1535
  }
1540
- this_0.sb(getStringHashCode(context.t6n_1));
1541
- this_0.d8(':');
1542
- this_0.sb(getStringHashCode(context.u6n_1));
1536
+ this_0.qc(getStringHashCode(context.u7e_1));
1537
+ this_0.q(':');
1538
+ this_0.qc(getStringHashCode(context.v7e_1));
1543
1539
  var key = this_0.toString();
1544
1540
  return key;
1545
1541
  }
1546
1542
  function buildConversationMessages($this, playerMessage, context) {
1547
1543
  // Inline function 'kotlin.collections.mutableListOf' call
1548
1544
  var messages = ArrayList_init_$Create$();
1549
- var tmp = Companion_getInstance_3();
1545
+ var tmp = Companion_getInstance_2();
1550
1546
  // Inline function 'kotlin.text.buildString' call
1551
1547
  // Inline function 'kotlin.apply' call
1552
1548
  var this_0 = StringBuilder_init_$Create$();
1553
- this_0.d8('\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438');
1554
- this_0.d8('\n\n');
1555
- this_0.d8('Your personality: ' + context.t6n_1);
1556
- this_0.d8('\n');
1557
- this_0.d8('Current game state: ' + context.u6n_1);
1558
- this_0.d8('\n\n');
1559
- this_0.d8("\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!");
1560
- if (!(context.w6n_1 == null)) {
1561
- this_0.d8('\nYou are chatting with ' + context.w6n_1 + '.');
1549
+ this_0.q('\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438');
1550
+ this_0.q('\n\n');
1551
+ this_0.q('Your personality: ' + context.u7e_1);
1552
+ this_0.q('\n');
1553
+ this_0.q('Current game state: ' + context.v7e_1);
1554
+ this_0.q('\n\n');
1555
+ this_0.q("\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!");
1556
+ if (!(context.x7e_1 == null)) {
1557
+ this_0.q('\nYou are chatting with ' + context.x7e_1 + '.');
1562
1558
  }
1563
1559
  var tmp$ret$3 = this_0.toString();
1564
- messages.j(tmp.z6n(tmp$ret$3));
1560
+ messages.e1(tmp.a7f(tmp$ret$3));
1565
1561
  // Inline function 'kotlin.collections.forEach' call
1566
- var _iterator__ex2g4s = takeLast(context.v6n_1, 5).l();
1567
- while (_iterator__ex2g4s.m()) {
1568
- var element = _iterator__ex2g4s.n();
1569
- messages.j(Companion_getInstance_3().b6o(element));
1562
+ var _iterator__ex2g4s = takeLast(context.w7e_1, 5).t();
1563
+ while (_iterator__ex2g4s.u()) {
1564
+ var element = _iterator__ex2g4s.v();
1565
+ messages.e1(Companion_getInstance_2().c7f(element));
1570
1566
  }
1571
- messages.j(Companion_getInstance_3().a6o(playerMessage));
1567
+ messages.e1(Companion_getInstance_2().b7f(playerMessage));
1572
1568
  return messages;
1573
1569
  }
1574
1570
  function buildRandomMessagePrompt($this, context) {
1575
- var tmp = Companion_getInstance_3();
1571
+ var tmp = Companion_getInstance_2();
1576
1572
  // Inline function 'kotlin.text.buildString' call
1577
1573
  // Inline function 'kotlin.apply' call
1578
1574
  var this_0 = StringBuilder_init_$Create$();
1579
- this_0.d8('\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438');
1580
- this_0.d8('\n\n');
1581
- this_0.d8('Your personality: ' + context.t6n_1);
1582
- this_0.d8('\n');
1583
- this_0.d8('Current game state: ' + context.u6n_1);
1584
- this_0.d8('\n\n');
1585
- this_0.d8('\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.');
1575
+ this_0.q('\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438');
1576
+ this_0.q('\n\n');
1577
+ this_0.q('Your personality: ' + context.u7e_1);
1578
+ this_0.q('\n');
1579
+ this_0.q('Current game state: ' + context.v7e_1);
1580
+ this_0.q('\n\n');
1581
+ this_0.q('\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.');
1586
1582
  var tmp$ret$2 = this_0.toString();
1587
- return listOf([tmp.z6n(tmp$ret$2), Companion_getInstance_3().a6o('Generate a spontaneous comment about the current game situation.')]);
1583
+ return listOf([tmp.a7f(tmp$ret$2), Companion_getInstance_2().b7f('Generate a spontaneous comment about the current game situation.')]);
1588
1584
  }
1589
1585
  function $executeRequestCOROUTINE$_0(_this__u8e3s4, messages, cacheKey, resultContinuation) {
1590
1586
  CoroutineImpl.call(this, resultContinuation);
1591
- this.c6q_1 = _this__u8e3s4;
1592
- this.d6q_1 = messages;
1593
- this.e6q_1 = cacheKey;
1587
+ this.d7h_1 = _this__u8e3s4;
1588
+ this.e7h_1 = messages;
1589
+ this.f7h_1 = cacheKey;
1594
1590
  }
1595
- protoOf($executeRequestCOROUTINE$_0).a9 = function () {
1596
- var suspendResult = this.u8_1;
1591
+ protoOf($executeRequestCOROUTINE$_0).m9 = function () {
1592
+ var suspendResult = this.g9_1;
1597
1593
  $sm: do
1598
1594
  try {
1599
- var tmp = this.s8_1;
1595
+ var tmp = this.e9_1;
1600
1596
  switch (tmp) {
1601
1597
  case 0:
1602
- this.t8_1 = 3;
1603
- this.s8_1 = 1;
1604
- suspendResult = this.c6q_1.g6q_1.r6p(this.d6q_1, this);
1598
+ this.f9_1 = 3;
1599
+ this.e9_1 = 1;
1600
+ suspendResult = this.d7h_1.h7h_1.s7g(this.e7h_1, this);
1605
1601
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1606
1602
  return suspendResult;
1607
1603
  }
1608
1604
 
1609
- this.s8_1 = 2;
1605
+ this.e9_1 = 2;
1610
1606
  continue $sm;
1611
1607
  case 1:
1612
- var unboxed = suspendResult.ul_1;
1608
+ var unboxed = suspendResult.hm_1;
1613
1609
  suspendResult = new Result(unboxed);
1614
- this.s8_1 = 2;
1610
+ this.e9_1 = 2;
1615
1611
  continue $sm;
1616
1612
  case 2:
1617
- var this_0 = suspendResult.ul_1;
1613
+ var this_0 = suspendResult.hm_1;
1618
1614
  var tmp_0;
1619
1615
  if (_Result___get_isSuccess__impl__sndoy8(this_0)) {
1620
1616
  var this_1 = new Result(this_0);
1621
1617
  var tmp_1;
1622
1618
  try {
1623
- var $this$runCatching = this_1.ul_1;
1619
+ var $this$runCatching = this_1.hm_1;
1624
1620
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1625
1621
  var content = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1626
- this.c6q_1.f6q_1.e6n(this.e6q_1, content);
1622
+ this.d7h_1.g7h_1.f7e(this.f7h_1, content);
1627
1623
  tmp_1 = _Result___init__impl__xyqfz8(content);
1628
1624
  } catch ($p) {
1629
1625
  var tmp_3;
@@ -1642,26 +1638,26 @@
1642
1638
 
1643
1639
  return new Result(tmp_0);
1644
1640
  case 3:
1645
- throw this.v8_1;
1641
+ throw this.h9_1;
1646
1642
  }
1647
1643
  } catch ($p) {
1648
1644
  var e_0 = $p;
1649
- if (this.t8_1 === 3) {
1645
+ if (this.f9_1 === 3) {
1650
1646
  throw e_0;
1651
1647
  } else {
1652
- this.s8_1 = this.t8_1;
1653
- this.v8_1 = e_0;
1648
+ this.e9_1 = this.f9_1;
1649
+ this.h9_1 = e_0;
1654
1650
  }
1655
1651
  }
1656
1652
  while (true);
1657
1653
  };
1658
1654
  function BotChatRepositoryImpl(openAIApi, cache) {
1659
- this.f6q_1 = cache;
1660
- this.g6q_1 = new BaseOpenAIRepository(openAIApi);
1655
+ this.g7h_1 = cache;
1656
+ this.h7h_1 = new BaseOpenAIRepository(openAIApi);
1661
1657
  }
1662
- protoOf(BotChatRepositoryImpl).s6p = function (playerMessage, context, $completion) {
1658
+ protoOf(BotChatRepositoryImpl).t7g = function (playerMessage, context, $completion) {
1663
1659
  var cacheKey = buildCacheKey(this, 'answer', playerMessage, context);
1664
- var tmp0_safe_receiver = this.f6q_1.u1b(cacheKey);
1660
+ var tmp0_safe_receiver = this.g7h_1.k1c(cacheKey);
1665
1661
  if (tmp0_safe_receiver == null)
1666
1662
  null;
1667
1663
  else {
@@ -1676,9 +1672,9 @@
1676
1672
  return tmp;
1677
1673
  return tmp;
1678
1674
  };
1679
- protoOf(BotChatRepositoryImpl).t6p = function (context, $completion) {
1675
+ protoOf(BotChatRepositoryImpl).u7g = function (context, $completion) {
1680
1676
  var cacheKey = buildCacheKey(this, 'random', null, context);
1681
- var tmp0_safe_receiver = this.f6q_1.u1b(cacheKey);
1677
+ var tmp0_safe_receiver = this.g7h_1.k1c(cacheKey);
1682
1678
  if (tmp0_safe_receiver == null)
1683
1679
  null;
1684
1680
  else {
@@ -1696,7 +1692,7 @@
1696
1692
  function UserReportsResolverRepository() {
1697
1693
  }
1698
1694
  function UserReportsResolverRepositoryImpl$_init_$lambda_sckkav($this$Json) {
1699
- $this$Json.g1a_1 = true;
1695
+ $this$Json.w1a_1 = true;
1700
1696
  return Unit_instance;
1701
1697
  }
1702
1698
  function UserReportsResolverRepositoryImpl(openAIApi, json) {
@@ -1707,8 +1703,8 @@
1707
1703
  tmp = json;
1708
1704
  }
1709
1705
  json = tmp;
1710
- this.h6q_1 = json;
1711
- this.i6q_1 = new BaseOpenAIRepository(openAIApi);
1706
+ this.i7h_1 = json;
1707
+ this.j7h_1 = new BaseOpenAIRepository(openAIApi);
1712
1708
  }
1713
1709
  function aiModule(config) {
1714
1710
  return Module_init_$Create$('AIModule', VOID, VOID, aiModule$lambda(config));
@@ -1723,18 +1719,18 @@
1723
1719
  }
1724
1720
  function aiModule$lambda$lambda_1($this$singleton) {
1725
1721
  // Inline function 'org.kodein.di.instance' call
1726
- var tmp = $this$singleton.s60();
1722
+ var tmp = $this$singleton.q6r();
1727
1723
  // Inline function 'org.kodein.type.generic' call
1728
1724
  var tmp_0 = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
1729
1725
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1730
- var openAIConfig = tmp.r60(tmp$ret$0, null);
1726
+ var openAIConfig = tmp.p6r(tmp$ret$0, null);
1731
1727
  return HttpClient(aiModule$lambda$lambda$lambda(openAIConfig));
1732
1728
  }
1733
1729
  function aiModule$lambda$lambda$lambda$lambda$lambda($openAIConfig) {
1734
1730
  return function ($this$Json) {
1735
- $this$Json.g1a_1 = true;
1736
- $this$Json.h1a_1 = true;
1737
- $this$Json.i1a_1 = $openAIConfig.p6m_1;
1731
+ $this$Json.w1a_1 = true;
1732
+ $this$Json.x1a_1 = true;
1733
+ $this$Json.y1a_1 = $openAIConfig.q7d_1;
1738
1734
  return Unit_instance;
1739
1735
  };
1740
1736
  }
@@ -1746,57 +1742,57 @@
1746
1742
  }
1747
1743
  function aiModule$lambda$lambda$lambda$lambda_0($openAIConfig) {
1748
1744
  return function ($this$install) {
1749
- $this$install.h4q(get_DEFAULT(Companion_instance_0));
1750
- $this$install.g4q_1 = $openAIConfig.p6m_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
1745
+ $this$install.p5a(get_DEFAULT(Companion_instance_0));
1746
+ $this$install.o5a_1 = $openAIConfig.q7d_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
1751
1747
  return Unit_instance;
1752
1748
  };
1753
1749
  }
1754
1750
  function aiModule$lambda$lambda$lambda($openAIConfig) {
1755
1751
  return function ($this$HttpClient) {
1756
- var tmp = Plugin_getInstance();
1757
- $this$HttpClient.t3t(tmp, aiModule$lambda$lambda$lambda$lambda($openAIConfig));
1758
- var tmp_0 = Companion_getInstance_0();
1759
- $this$HttpClient.t3t(tmp_0, aiModule$lambda$lambda$lambda$lambda_0($openAIConfig));
1752
+ var tmp = get_ContentNegotiation();
1753
+ $this$HttpClient.e42(tmp, aiModule$lambda$lambda$lambda$lambda($openAIConfig));
1754
+ var tmp_0 = get_Logging();
1755
+ $this$HttpClient.e42(tmp_0, aiModule$lambda$lambda$lambda$lambda_0($openAIConfig));
1760
1756
  return Unit_instance;
1761
1757
  };
1762
1758
  }
1763
1759
  function aiModule$lambda$lambda_2($this$singleton) {
1764
1760
  // Inline function 'org.kodein.di.instance' call
1765
- var tmp = $this$singleton.s60();
1761
+ var tmp = $this$singleton.q6r();
1766
1762
  // Inline function 'org.kodein.type.generic' call
1767
1763
  var tmp_0 = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
1768
1764
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1769
- var tmp_1 = tmp.r60(tmp$ret$0, null);
1765
+ var tmp_1 = tmp.p6r(tmp$ret$0, null);
1770
1766
  // Inline function 'org.kodein.di.instance' call
1771
- var tmp_2 = $this$singleton.s60();
1767
+ var tmp_2 = $this$singleton.q6r();
1772
1768
  // Inline function 'org.kodein.type.generic' call
1773
1769
  var tmp_3 = typeToken(createKType(getKClass(HttpClient_0), arrayOf([]), false));
1774
1770
  var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
1775
- var tmp$ret$3 = tmp_2.r60(tmp$ret$2, null);
1771
+ var tmp$ret$3 = tmp_2.p6r(tmp$ret$2, null);
1776
1772
  return new OpenAIApiImpl(tmp_1, tmp$ret$3);
1777
1773
  }
1778
1774
  function aiModule$lambda$lambda_3($this$singleton) {
1779
1775
  // Inline function 'org.kodein.di.instance' call
1780
- var tmp = $this$singleton.s60();
1776
+ var tmp = $this$singleton.q6r();
1781
1777
  // Inline function 'org.kodein.type.generic' call
1782
1778
  var tmp_0 = typeToken(createKType(getKClass(OpenAIApi), arrayOf([]), false));
1783
1779
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1784
- var tmp_1 = tmp.r60(tmp$ret$0, null);
1780
+ var tmp_1 = tmp.p6r(tmp$ret$0, null);
1785
1781
  // Inline function 'org.kodein.di.instance' call
1786
- var tmp_2 = $this$singleton.s60();
1782
+ var tmp_2 = $this$singleton.q6r();
1787
1783
  // Inline function 'org.kodein.type.generic' call
1788
1784
  var tmp_3 = typeToken(createKType(getKClass(BotChatCache), arrayOf([]), false));
1789
1785
  var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
1790
- var tmp$ret$3 = tmp_2.r60(tmp$ret$2, null);
1786
+ var tmp$ret$3 = tmp_2.p6r(tmp$ret$2, null);
1791
1787
  return new BotChatRepositoryImpl(tmp_1, tmp$ret$3);
1792
1788
  }
1793
1789
  function aiModule$lambda$lambda_4($this$singleton) {
1794
1790
  // Inline function 'org.kodein.di.instance' call
1795
- var tmp = $this$singleton.s60();
1791
+ var tmp = $this$singleton.q6r();
1796
1792
  // Inline function 'org.kodein.type.generic' call
1797
1793
  var tmp_0 = typeToken(createKType(getKClass(OpenAIApi), arrayOf([]), false));
1798
1794
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1799
- var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
1795
+ var tmp$ret$1 = tmp.p6r(tmp$ret$0, null);
1800
1796
  return new UserReportsResolverRepositoryImpl(tmp$ret$1);
1801
1797
  }
1802
1798
  function aiModule$lambda($config) {
@@ -1805,102 +1801,102 @@
1805
1801
  // Inline function 'org.kodein.type.generic' call
1806
1802
  var tmp = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
1807
1803
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
1808
- var tmp_0 = $this$Module.f5z(tmp$ret$0, null, null);
1804
+ var tmp_0 = $this$Module.c6q(tmp$ret$0, null, null);
1809
1805
  // Inline function 'org.kodein.di.singleton' call
1810
1806
  var creator = aiModule$lambda$lambda($config);
1811
- var tmp_1 = $this$Module.k5z();
1812
- var tmp_2 = $this$Module.i5z();
1813
- var tmp_3 = $this$Module.j5z();
1807
+ var tmp_1 = $this$Module.h6q();
1808
+ var tmp_2 = $this$Module.f6q();
1809
+ var tmp_3 = $this$Module.g6q();
1814
1810
  // Inline function 'org.kodein.type.generic' call
1815
1811
  var tmp_4 = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
1816
1812
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
1817
1813
  var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
1818
- tmp_0.d63(tmp$ret$3);
1814
+ tmp_0.f6u(tmp$ret$3);
1819
1815
  // Inline function 'org.kodein.di.bind' call
1820
1816
  // Inline function 'org.kodein.type.generic' call
1821
1817
  var tmp_5 = typeToken(createKType(getKClass(BotChatCache), arrayOf([]), false));
1822
1818
  var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
1823
- var tmp_6 = $this$Module.f5z(tmp$ret$4, null, null);
1819
+ var tmp_6 = $this$Module.c6q(tmp$ret$4, null, null);
1824
1820
  // Inline function 'org.kodein.di.singleton' call
1825
1821
  var creator_0 = aiModule$lambda$lambda_0;
1826
- var tmp_7 = $this$Module.k5z();
1827
- var tmp_8 = $this$Module.i5z();
1828
- var tmp_9 = $this$Module.j5z();
1822
+ var tmp_7 = $this$Module.h6q();
1823
+ var tmp_8 = $this$Module.f6q();
1824
+ var tmp_9 = $this$Module.g6q();
1829
1825
  // Inline function 'org.kodein.type.generic' call
1830
1826
  var tmp_10 = typeToken(createKType(getKClass(InMemoryBotChatCache), arrayOf([]), false));
1831
1827
  var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
1832
1828
  var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
1833
- tmp_6.d63(tmp$ret$7);
1829
+ tmp_6.f6u(tmp$ret$7);
1834
1830
  // Inline function 'org.kodein.di.bind' call
1835
1831
  // Inline function 'org.kodein.type.generic' call
1836
1832
  var tmp_11 = typeToken(createKType(getKClass(HttpClient_0), arrayOf([]), false));
1837
1833
  var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
1838
- var tmp_12 = $this$Module.f5z(tmp$ret$8, null, null);
1834
+ var tmp_12 = $this$Module.c6q(tmp$ret$8, null, null);
1839
1835
  // Inline function 'org.kodein.di.singleton' call
1840
1836
  var creator_1 = aiModule$lambda$lambda_1;
1841
- var tmp_13 = $this$Module.k5z();
1842
- var tmp_14 = $this$Module.i5z();
1843
- var tmp_15 = $this$Module.j5z();
1837
+ var tmp_13 = $this$Module.h6q();
1838
+ var tmp_14 = $this$Module.f6q();
1839
+ var tmp_15 = $this$Module.g6q();
1844
1840
  // Inline function 'org.kodein.type.generic' call
1845
1841
  var tmp_16 = typeToken(createKType(getKClass(HttpClient_0), arrayOf([]), false));
1846
1842
  var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
1847
1843
  var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
1848
- tmp_12.d63(tmp$ret$11);
1844
+ tmp_12.f6u(tmp$ret$11);
1849
1845
  // Inline function 'org.kodein.di.bind' call
1850
1846
  // Inline function 'org.kodein.type.generic' call
1851
1847
  var tmp_17 = typeToken(createKType(getKClass(OpenAIApi), arrayOf([]), false));
1852
1848
  var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
1853
- var tmp_18 = $this$Module.f5z(tmp$ret$12, null, null);
1849
+ var tmp_18 = $this$Module.c6q(tmp$ret$12, null, null);
1854
1850
  // Inline function 'org.kodein.di.singleton' call
1855
1851
  var creator_2 = aiModule$lambda$lambda_2;
1856
- var tmp_19 = $this$Module.k5z();
1857
- var tmp_20 = $this$Module.i5z();
1858
- var tmp_21 = $this$Module.j5z();
1852
+ var tmp_19 = $this$Module.h6q();
1853
+ var tmp_20 = $this$Module.f6q();
1854
+ var tmp_21 = $this$Module.g6q();
1859
1855
  // Inline function 'org.kodein.type.generic' call
1860
1856
  var tmp_22 = typeToken(createKType(getKClass(OpenAIApiImpl), arrayOf([]), false));
1861
1857
  var tmp$ret$14 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
1862
1858
  var tmp$ret$15 = new Singleton(tmp_19, tmp_20, tmp_21, tmp$ret$14, null, true, creator_2);
1863
- tmp_18.d63(tmp$ret$15);
1859
+ tmp_18.f6u(tmp$ret$15);
1864
1860
  // Inline function 'org.kodein.di.bind' call
1865
1861
  // Inline function 'org.kodein.type.generic' call
1866
1862
  var tmp_23 = typeToken(createKType(getKClass(BotChatRepository), arrayOf([]), false));
1867
1863
  var tmp$ret$16 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
1868
- var tmp_24 = $this$Module.f5z(tmp$ret$16, null, null);
1864
+ var tmp_24 = $this$Module.c6q(tmp$ret$16, null, null);
1869
1865
  // Inline function 'org.kodein.di.singleton' call
1870
1866
  var creator_3 = aiModule$lambda$lambda_3;
1871
- var tmp_25 = $this$Module.k5z();
1872
- var tmp_26 = $this$Module.i5z();
1873
- var tmp_27 = $this$Module.j5z();
1867
+ var tmp_25 = $this$Module.h6q();
1868
+ var tmp_26 = $this$Module.f6q();
1869
+ var tmp_27 = $this$Module.g6q();
1874
1870
  // Inline function 'org.kodein.type.generic' call
1875
1871
  var tmp_28 = typeToken(createKType(getKClass(BotChatRepositoryImpl), arrayOf([]), false));
1876
1872
  var tmp$ret$18 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
1877
1873
  var tmp$ret$19 = new Singleton(tmp_25, tmp_26, tmp_27, tmp$ret$18, null, true, creator_3);
1878
- tmp_24.d63(tmp$ret$19);
1874
+ tmp_24.f6u(tmp$ret$19);
1879
1875
  // Inline function 'org.kodein.di.bind' call
1880
1876
  // Inline function 'org.kodein.type.generic' call
1881
1877
  var tmp_29 = typeToken(createKType(getKClass(UserReportsResolverRepository), arrayOf([]), false));
1882
1878
  var tmp$ret$20 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
1883
- var tmp_30 = $this$Module.f5z(tmp$ret$20, null, null);
1879
+ var tmp_30 = $this$Module.c6q(tmp$ret$20, null, null);
1884
1880
  // Inline function 'org.kodein.di.singleton' call
1885
1881
  var creator_4 = aiModule$lambda$lambda_4;
1886
- var tmp_31 = $this$Module.k5z();
1887
- var tmp_32 = $this$Module.i5z();
1888
- var tmp_33 = $this$Module.j5z();
1882
+ var tmp_31 = $this$Module.h6q();
1883
+ var tmp_32 = $this$Module.f6q();
1884
+ var tmp_33 = $this$Module.g6q();
1889
1885
  // Inline function 'org.kodein.type.generic' call
1890
1886
  var tmp_34 = typeToken(createKType(getKClass(UserReportsResolverRepositoryImpl), arrayOf([]), false));
1891
1887
  var tmp$ret$22 = isInterface(tmp_34, TypeToken) ? tmp_34 : THROW_CCE();
1892
1888
  var tmp$ret$23 = new Singleton(tmp_31, tmp_32, tmp_33, tmp$ret$22, null, true, creator_4);
1893
- tmp_30.d63(tmp$ret$23);
1889
+ tmp_30.f6u(tmp$ret$23);
1894
1890
  return Unit_instance;
1895
1891
  };
1896
1892
  }
1897
1893
  //region block: post-declaration
1898
- protoOf($serializer).xz = typeParametersSerializers;
1899
- protoOf($serializer_0).xz = typeParametersSerializers;
1900
- protoOf($serializer_1).xz = typeParametersSerializers;
1901
- protoOf($serializer_2).xz = typeParametersSerializers;
1902
- protoOf($serializer_3).xz = typeParametersSerializers;
1903
- protoOf($serializer_4).xz = typeParametersSerializers;
1894
+ protoOf($serializer).n10 = typeParametersSerializers;
1895
+ protoOf($serializer_0).n10 = typeParametersSerializers;
1896
+ protoOf($serializer_1).n10 = typeParametersSerializers;
1897
+ protoOf($serializer_2).n10 = typeParametersSerializers;
1898
+ protoOf($serializer_3).n10 = typeParametersSerializers;
1899
+ protoOf($serializer_4).n10 = typeParametersSerializers;
1904
1900
  //endregion
1905
1901
  //region block: exports
1906
1902
  _.$_$ = _.$_$ || {};