@xiuper/mpp-core 0.0.2 → 0.2.0

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 (65) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
  2. package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
  3. package/Xiuper-mpp-codegraph.js +240 -240
  4. package/kaml.js +639 -639
  5. package/koog-agents-agents-core.js +4606 -4606
  6. package/koog-agents-agents-tools.js +41 -41
  7. package/koog-agents-agents-utils.js +52 -52
  8. package/koog-http-client-http-client-core.js +4 -4
  9. package/koog-http-client-http-client-ktor.js +166 -166
  10. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
  11. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
  12. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
  13. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
  14. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
  15. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
  16. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
  17. package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
  18. package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
  19. package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
  20. package/koog-prompt-prompt-llm.js +120 -120
  21. package/koog-prompt-prompt-markdown.js +30 -30
  22. package/koog-prompt-prompt-model.js +1055 -1055
  23. package/koog-prompt-prompt-structure.js +342 -342
  24. package/koog-utils.js +10 -10
  25. package/kotlin-kotlin-stdlib.js +453 -411
  26. package/kotlin-kotlin-stdlib.js.map +1 -1
  27. package/kotlin-logging.js +116 -116
  28. package/kotlin-sdk-kotlin-sdk-client.js +260 -260
  29. package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
  30. package/kotlinx-atomicfu.js +5 -5
  31. package/kotlinx-coroutines-core.js +532 -654
  32. package/kotlinx-coroutines-core.js.map +1 -1
  33. package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
  34. package/kotlinx-io-kotlinx-io-core.js +605 -605
  35. package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
  36. package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
  37. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  38. package/ktor-ktor-client-content-negotiation.js +163 -163
  39. package/ktor-ktor-client-core.js +2237 -2235
  40. package/ktor-ktor-client-core.js.map +1 -1
  41. package/ktor-ktor-events.js +15 -15
  42. package/ktor-ktor-http-cio.js +725 -725
  43. package/ktor-ktor-http.js +805 -805
  44. package/ktor-ktor-io.js +766 -766
  45. package/ktor-ktor-network.js +285 -285
  46. package/ktor-ktor-serialization-kotlinx-json.js +1 -1
  47. package/ktor-ktor-serialization-kotlinx.js +130 -130
  48. package/ktor-ktor-serialization.js +68 -68
  49. package/ktor-ktor-server-cio.js +724 -724
  50. package/ktor-ktor-server-core.js +1793 -1793
  51. package/ktor-ktor-server-sse.js +125 -125
  52. package/ktor-ktor-sse.js +40 -40
  53. package/ktor-ktor-utils.js +690 -690
  54. package/ktor-ktor-websockets.js +49 -49
  55. package/markdown.js +1561 -1561
  56. package/okio-parent-okio.js +368 -368
  57. package/package.json +1 -1
  58. package/snakeyaml-engine-kmp.js +2005 -2005
  59. package/urlencoder-urlencoder-lib.js +43 -43
  60. package/xiuper-mpp-core.d.ts +45 -7
  61. package/xiuper-mpp-core.js +22405 -18664
  62. package/xiuper-mpp-core.js.map +1 -1
  63. package/autodev-mpp-core.d.ts +0 -1312
  64. package/autodev-mpp-core.js +0 -86483
  65. package/autodev-mpp-core.js.map +0 -1
@@ -28,35 +28,35 @@
28
28
  'use strict';
29
29
  //region block: imports
30
30
  var Unit_instance = kotlin_kotlin.$_$.h6;
31
- var CoroutineImpl = kotlin_kotlin.$_$.tc;
32
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.dc;
33
- var protoOf = kotlin_kotlin.$_$.we;
34
- var initMetadataForCoroutine = kotlin_kotlin.$_$.wd;
31
+ var CoroutineImpl = kotlin_kotlin.$_$.wc;
32
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.gc;
33
+ var protoOf = kotlin_kotlin.$_$.ze;
34
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.zd;
35
35
  var writeStringUtf8 = kotlin_io_ktor_ktor_io.$_$.s;
36
- var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t1;
37
- var initMetadataForClass = kotlin_kotlin.$_$.ud;
36
+ var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
37
+ var initMetadataForClass = kotlin_kotlin.$_$.xd;
38
38
  var VOID = kotlin_kotlin.$_$.h;
39
39
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
40
40
  var route = kotlin_io_ktor_ktor_server_core.$_$.g1;
41
- var THROW_CCE = kotlin_kotlin.$_$.zk;
41
+ var THROW_CCE = kotlin_kotlin.$_$.dl;
42
42
  var RoutingContext = kotlin_io_ktor_ktor_server_core.$_$.d1;
43
43
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.i;
44
44
  var Text_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
45
45
  var header = kotlin_io_ktor_ktor_server_core.$_$.c1;
46
46
  var getKClass = kotlin_kotlin.$_$.f;
47
- var arrayOf = kotlin_kotlin.$_$.nl;
47
+ var arrayOf = kotlin_kotlin.$_$.rl;
48
48
  var createKType = kotlin_kotlin.$_$.c;
49
49
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.c1;
50
- var initMetadataForLambda = kotlin_kotlin.$_$.zd;
50
+ var initMetadataForLambda = kotlin_kotlin.$_$.ce;
51
51
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.s;
52
52
  var createApplicationPlugin = kotlin_io_ktor_ktor_server_core.$_$.j;
53
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c2;
54
- var isInterface = kotlin_kotlin.$_$.je;
53
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b2;
54
+ var isInterface = kotlin_kotlin.$_$.me;
55
55
  var get_uri = kotlin_io_ktor_ktor_server_core.$_$.a1;
56
- var coroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
56
+ var coroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
57
57
  var WriteChannelContent = kotlin_io_ktor_ktor_http.$_$.w;
58
- var initMetadataForInterface = kotlin_kotlin.$_$.yd;
59
- var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e2;
58
+ var initMetadataForInterface = kotlin_kotlin.$_$.be;
59
+ var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d2;
60
60
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.e1;
61
61
  //endregion
62
62
  //region block: pre-declaration
@@ -79,8 +79,8 @@
79
79
  }
80
80
  function $sendCOROUTINE$(_this__u8e3s4, event, resultContinuation) {
81
81
  CoroutineImpl.call(this, resultContinuation);
82
- this.bc9_1 = _this__u8e3s4;
83
- this.cc9_1 = event;
82
+ this.gc8_1 = _this__u8e3s4;
83
+ this.hc8_1 = event;
84
84
  }
85
85
  protoOf($sendCOROUTINE$).fa = function () {
86
86
  var suspendResult = this.z9_1;
@@ -91,44 +91,44 @@
91
91
  case 0:
92
92
  this.y9_1 = 6;
93
93
  var tmp_0 = this;
94
- tmp_0.dc9_1 = this.bc9_1.kc9_1;
95
- this.ec9_1 = this.dc9_1;
94
+ tmp_0.ic8_1 = this.gc8_1.pc8_1;
95
+ this.jc8_1 = this.ic8_1;
96
96
  var tmp_1 = this;
97
- tmp_1.fc9_1 = null;
97
+ tmp_1.kc8_1 = null;
98
98
  this.x9_1 = 1;
99
- suspendResult = this.ec9_1.d33(this.fc9_1, this);
99
+ suspendResult = this.jc8_1.i32(this.kc8_1, this);
100
100
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
101
101
  return suspendResult;
102
102
  }
103
103
 
104
104
  continue $sm;
105
105
  case 1:
106
- this.gc9_1 = Unit_instance;
106
+ this.lc8_1 = Unit_instance;
107
107
  this.x9_1 = 2;
108
108
  continue $sm;
109
109
  case 2:
110
110
  this.y9_1 = 5;
111
111
  this.x9_1 = 3;
112
- suspendResult = writeSSE(this.bc9_1, this.bc9_1.hc9_1, this.cc9_1, this);
112
+ suspendResult = writeSSE(this.gc8_1, this.gc8_1.mc8_1, this.hc8_1, this);
113
113
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
114
114
  return suspendResult;
115
115
  }
116
116
 
117
117
  continue $sm;
118
118
  case 3:
119
- this.gc9_1 = Unit_instance;
119
+ this.lc8_1 = Unit_instance;
120
120
  this.y9_1 = 6;
121
121
  this.x9_1 = 4;
122
122
  continue $sm;
123
123
  case 4:
124
- this.gc9_1;
124
+ this.lc8_1;
125
125
  this.y9_1 = 6;
126
- this.ec9_1.f33(this.fc9_1);
126
+ this.jc8_1.k32(this.kc8_1);
127
127
  return Unit_instance;
128
128
  case 5:
129
129
  this.y9_1 = 6;
130
130
  var t = this.aa_1;
131
- this.ec9_1.f33(this.fc9_1);
131
+ this.jc8_1.k32(this.kc8_1);
132
132
  throw t;
133
133
  case 6:
134
134
  throw this.aa_1;
@@ -146,7 +146,7 @@
146
146
  };
147
147
  function $closeCOROUTINE$(_this__u8e3s4, resultContinuation) {
148
148
  CoroutineImpl.call(this, resultContinuation);
149
- this.tc9_1 = _this__u8e3s4;
149
+ this.yc8_1 = _this__u8e3s4;
150
150
  }
151
151
  protoOf($closeCOROUTINE$).fa = function () {
152
152
  var suspendResult = this.z9_1;
@@ -157,44 +157,44 @@
157
157
  case 0:
158
158
  this.y9_1 = 6;
159
159
  var tmp_0 = this;
160
- tmp_0.uc9_1 = this.tc9_1.kc9_1;
161
- this.vc9_1 = this.uc9_1;
160
+ tmp_0.zc8_1 = this.yc8_1.pc8_1;
161
+ this.ac9_1 = this.zc8_1;
162
162
  var tmp_1 = this;
163
- tmp_1.wc9_1 = null;
163
+ tmp_1.bc9_1 = null;
164
164
  this.x9_1 = 1;
165
- suspendResult = this.vc9_1.d33(this.wc9_1, this);
165
+ suspendResult = this.ac9_1.i32(this.bc9_1, this);
166
166
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
167
167
  return suspendResult;
168
168
  }
169
169
 
170
170
  continue $sm;
171
171
  case 1:
172
- this.xc9_1 = Unit_instance;
172
+ this.cc9_1 = Unit_instance;
173
173
  this.x9_1 = 2;
174
174
  continue $sm;
175
175
  case 2:
176
176
  this.y9_1 = 5;
177
177
  this.x9_1 = 3;
178
- suspendResult = this.tc9_1.hc9_1.o4i(this);
178
+ suspendResult = this.yc8_1.mc8_1.t4h(this);
179
179
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
180
180
  return suspendResult;
181
181
  }
182
182
 
183
183
  continue $sm;
184
184
  case 3:
185
- this.xc9_1 = Unit_instance;
185
+ this.cc9_1 = Unit_instance;
186
186
  this.y9_1 = 6;
187
187
  this.x9_1 = 4;
188
188
  continue $sm;
189
189
  case 4:
190
- this.xc9_1;
190
+ this.cc9_1;
191
191
  this.y9_1 = 6;
192
- this.vc9_1.f33(this.wc9_1);
192
+ this.ac9_1.k32(this.bc9_1);
193
193
  return Unit_instance;
194
194
  case 5:
195
195
  this.y9_1 = 6;
196
196
  var t = this.aa_1;
197
- this.vc9_1.f33(this.wc9_1);
197
+ this.ac9_1.k32(this.bc9_1);
198
198
  throw t;
199
199
  case 6:
200
200
  throw this.aa_1;
@@ -212,9 +212,9 @@
212
212
  };
213
213
  function $writeSSECOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, event, resultContinuation) {
214
214
  CoroutineImpl.call(this, resultContinuation);
215
- this.qc8_1 = _this__u8e3s4;
216
- this.rc8_1 = _this__u8e3s4_0;
217
- this.sc8_1 = event;
215
+ this.vc7_1 = _this__u8e3s4;
216
+ this.wc7_1 = _this__u8e3s4_0;
217
+ this.xc7_1 = event;
218
218
  }
219
219
  protoOf($writeSSECOROUTINE$).fa = function () {
220
220
  var suspendResult = this.z9_1;
@@ -225,7 +225,7 @@
225
225
  case 0:
226
226
  this.y9_1 = 3;
227
227
  this.x9_1 = 1;
228
- suspendResult = writeStringUtf8(this.rc8_1, this.sc8_1.toString() + '\r\n', this);
228
+ suspendResult = writeStringUtf8(this.wc7_1, this.xc7_1.toString() + '\r\n', this);
229
229
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
230
230
  return suspendResult;
231
231
  }
@@ -233,7 +233,7 @@
233
233
  continue $sm;
234
234
  case 1:
235
235
  this.x9_1 = 2;
236
- suspendResult = this.rc8_1.c4i(this);
236
+ suspendResult = this.wc7_1.h4h(this);
237
237
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
238
238
  return suspendResult;
239
239
  }
@@ -256,28 +256,28 @@
256
256
  while (true);
257
257
  };
258
258
  function DefaultServerSSESession(output, call, coroutineContext) {
259
- this.hc9_1 = output;
260
- this.ic9_1 = call;
261
- this.jc9_1 = coroutineContext;
262
- this.kc9_1 = Mutex();
259
+ this.mc8_1 = output;
260
+ this.nc8_1 = call;
261
+ this.oc8_1 = coroutineContext;
262
+ this.pc8_1 = Mutex();
263
263
  }
264
264
  protoOf(DefaultServerSSESession).z1v = function () {
265
- return this.jc9_1;
265
+ return this.oc8_1;
266
266
  };
267
- protoOf(DefaultServerSSESession).yc9 = function (event, $completion) {
267
+ protoOf(DefaultServerSSESession).dc9 = function (event, $completion) {
268
268
  var tmp = new $sendCOROUTINE$(this, event, $completion);
269
269
  tmp.z9_1 = Unit_instance;
270
270
  tmp.aa_1 = null;
271
271
  return tmp.fa();
272
272
  };
273
- protoOf(DefaultServerSSESession).zc9 = function ($completion) {
273
+ protoOf(DefaultServerSSESession).ec9 = function ($completion) {
274
274
  var tmp = new $closeCOROUTINE$(this, $completion);
275
275
  tmp.z9_1 = Unit_instance;
276
276
  tmp.aa_1 = null;
277
277
  return tmp.fa();
278
278
  };
279
279
  function sse(_this__u8e3s4, path, handler) {
280
- var tmp = Companion_getInstance().l5d_1;
280
+ var tmp = Companion_getInstance().q5c_1;
281
281
  route(_this__u8e3s4, path, tmp, sse$lambda(handler));
282
282
  }
283
283
  function sse_0(_this__u8e3s4, handler) {
@@ -287,8 +287,8 @@
287
287
  return processSSE(_this__u8e3s4, null, handler);
288
288
  }
289
289
  function processSSE(_this__u8e3s4, serialize, handler) {
290
- _this__u8e3s4.zb9(get_SSE());
291
- _this__u8e3s4.kaf(processSSE$slambda_0(handler, serialize, null));
290
+ _this__u8e3s4.eb9(get_SSE());
291
+ _this__u8e3s4.pae(processSSE$slambda_0(handler, serialize, null));
292
292
  }
293
293
  function sse$lambda($handler) {
294
294
  return function ($this$route) {
@@ -297,18 +297,18 @@
297
297
  };
298
298
  }
299
299
  function processSSE$slambda($handler, $serialize, resultContinuation) {
300
- this.ica_1 = $handler;
301
- this.jca_1 = $serialize;
300
+ this.nc9_1 = $handler;
301
+ this.oc9_1 = $serialize;
302
302
  CoroutineImpl.call(this, resultContinuation);
303
303
  }
304
- protoOf(processSSE$slambda).pca = function ($this$handle, $completion) {
305
- var tmp = this.qca($this$handle, $completion);
304
+ protoOf(processSSE$slambda).uc9 = function ($this$handle, $completion) {
305
+ var tmp = this.vc9($this$handle, $completion);
306
306
  tmp.z9_1 = Unit_instance;
307
307
  tmp.aa_1 = null;
308
308
  return tmp.fa();
309
309
  };
310
310
  protoOf(processSSE$slambda).ra = function (p1, $completion) {
311
- return this.pca(p1 instanceof RoutingContext ? p1 : THROW_CCE(), $completion);
311
+ return this.uc9(p1 instanceof RoutingContext ? p1 : THROW_CCE(), $completion);
312
312
  };
313
313
  protoOf(processSSE$slambda).fa = function () {
314
314
  var suspendResult = this.z9_1;
@@ -318,16 +318,16 @@
318
318
  switch (tmp) {
319
319
  case 0:
320
320
  this.y9_1 = 2;
321
- header(this.kca_1.bba_1.w64(), HttpHeaders_getInstance().x59_1, Text_getInstance().u58_1.toString());
322
- header(this.kca_1.bba_1.w64(), HttpHeaders_getInstance().p59_1, 'no-store');
323
- header(this.kca_1.bba_1.w64(), HttpHeaders_getInstance().q59_1, 'keep-alive');
324
- header(this.kca_1.bba_1.w64(), 'X-Accel-Buffering', 'no');
321
+ header(this.pc9_1.gb9_1.b64(), HttpHeaders_getInstance().c59_1, Text_getInstance().z57_1.toString());
322
+ header(this.pc9_1.gb9_1.b64(), HttpHeaders_getInstance().u58_1, 'no-store');
323
+ header(this.pc9_1.gb9_1.b64(), HttpHeaders_getInstance().v58_1, 'keep-alive');
324
+ header(this.pc9_1.gb9_1.b64(), 'X-Accel-Buffering', 'no');
325
325
  var tmp_0 = this;
326
- tmp_0.lca_1 = this.kca_1.bba_1;
326
+ tmp_0.qc9_1 = this.pc9_1.gb9_1;
327
327
  var tmp_1 = this;
328
- tmp_1.mca_1 = new SSEServerContent(this.kca_1.bba_1, this.ica_1, this.jca_1);
329
- this.nca_1 = this.lca_1;
330
- this.oca_1 = this.mca_1;
328
+ tmp_1.rc9_1 = new SSEServerContent(this.pc9_1.gb9_1, this.nc9_1, this.oc9_1);
329
+ this.sc9_1 = this.qc9_1;
330
+ this.tc9_1 = this.rc9_1;
331
331
  this.x9_1 = 1;
332
332
  var tmp_2 = getKClass(SSEServerContent);
333
333
  var tmp_3;
@@ -344,7 +344,7 @@
344
344
  tmp_3 = tmp_4;
345
345
  }
346
346
 
347
- suspendResult = this.nca_1.kai(this.oca_1, new TypeInfo(tmp_2, tmp_3), this);
347
+ suspendResult = this.sc9_1.pah(this.tc9_1, new TypeInfo(tmp_2, tmp_3), this);
348
348
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
349
349
  return suspendResult;
350
350
  }
@@ -366,15 +366,15 @@
366
366
  }
367
367
  while (true);
368
368
  };
369
- protoOf(processSSE$slambda).qca = function ($this$handle, completion) {
370
- var i = new processSSE$slambda(this.ica_1, this.jca_1, completion);
371
- i.kca_1 = $this$handle;
369
+ protoOf(processSSE$slambda).vc9 = function ($this$handle, completion) {
370
+ var i = new processSSE$slambda(this.nc9_1, this.oc9_1, completion);
371
+ i.pc9_1 = $this$handle;
372
372
  return i;
373
373
  };
374
374
  function processSSE$slambda_0($handler, $serialize, resultContinuation) {
375
375
  var i = new processSSE$slambda($handler, $serialize, resultContinuation);
376
376
  var l = function ($this$handle, $completion) {
377
- return i.pca($this$handle, $completion);
377
+ return i.uc9($this$handle, $completion);
378
378
  };
379
379
  l.$arity = 1;
380
380
  return l;
@@ -404,32 +404,32 @@
404
404
  function SSEServerContent$writeTo$3$1($session, this$0) {
405
405
  var tmp = this;
406
406
  var tmp_0 = $session._v;
407
- tmp.rca_1 = tmp_0 instanceof DefaultServerSSESession ? tmp_0 : THROW_CCE();
408
- this.sca_1 = this$0.wca_1;
407
+ tmp.wc9_1 = tmp_0 instanceof DefaultServerSSESession ? tmp_0 : THROW_CCE();
408
+ this.xc9_1 = this$0.bca_1;
409
409
  }
410
- protoOf(SSEServerContent$writeTo$3$1).yc9 = function (event, $completion) {
411
- return this.rca_1.yc9(event, $completion);
410
+ protoOf(SSEServerContent$writeTo$3$1).dc9 = function (event, $completion) {
411
+ return this.wc9_1.dc9(event, $completion);
412
412
  };
413
- protoOf(SSEServerContent$writeTo$3$1).zc9 = function ($completion) {
414
- return this.rca_1.zc9($completion);
413
+ protoOf(SSEServerContent$writeTo$3$1).ec9 = function ($completion) {
414
+ return this.wc9_1.ec9($completion);
415
415
  };
416
416
  protoOf(SSEServerContent$writeTo$3$1).z1v = function () {
417
- return this.rca_1.jc9_1;
417
+ return this.wc9_1.oc8_1;
418
418
  };
419
419
  function SSEServerContent$writeTo$slambda($session, $channel, this$0, resultContinuation) {
420
- this.gcb_1 = $session;
421
- this.hcb_1 = $channel;
422
- this.icb_1 = this$0;
420
+ this.lca_1 = $session;
421
+ this.mca_1 = $channel;
422
+ this.nca_1 = this$0;
423
423
  CoroutineImpl.call(this, resultContinuation);
424
424
  }
425
- protoOf(SSEServerContent$writeTo$slambda).mcb = function ($this$coroutineScope, $completion) {
425
+ protoOf(SSEServerContent$writeTo$slambda).rca = function ($this$coroutineScope, $completion) {
426
426
  var tmp = this.y2q($this$coroutineScope, $completion);
427
427
  tmp.z9_1 = Unit_instance;
428
428
  tmp.aa_1 = null;
429
429
  return tmp.fa();
430
430
  };
431
431
  protoOf(SSEServerContent$writeTo$slambda).ra = function (p1, $completion) {
432
- return this.mcb((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
432
+ return this.rca((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
433
433
  };
434
434
  protoOf(SSEServerContent$writeTo$slambda).fa = function () {
435
435
  var suspendResult = this.z9_1;
@@ -439,19 +439,19 @@
439
439
  switch (tmp) {
440
440
  case 0:
441
441
  this.y9_1 = 3;
442
- this.gcb_1._v = new DefaultServerSSESession(this.hcb_1, this.icb_1.uca_1, this.jcb_1.z1v());
443
- if (!(this.icb_1.wca_1 == null)) {
444
- this.gcb_1._v = new SSEServerContent$writeTo$3$1(this.gcb_1, this.icb_1);
442
+ this.lca_1._v = new DefaultServerSSESession(this.mca_1, this.nca_1.zc9_1, this.oca_1.z1v());
443
+ if (!(this.nca_1.bca_1 == null)) {
444
+ this.lca_1._v = new SSEServerContent$writeTo$3$1(this.lca_1, this.nca_1);
445
445
  }
446
446
 
447
- this.kcb_1 = this.gcb_1._v;
448
- if (this.kcb_1 == null) {
449
- this.lcb_1 = null;
447
+ this.pca_1 = this.lca_1._v;
448
+ if (this.pca_1 == null) {
449
+ this.qca_1 = null;
450
450
  this.x9_1 = 2;
451
451
  continue $sm;
452
452
  } else {
453
453
  this.x9_1 = 1;
454
- suspendResult = this.icb_1.vca_1(this.kcb_1, this);
454
+ suspendResult = this.nca_1.aca_1(this.pca_1, this);
455
455
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
456
456
  return suspendResult;
457
457
  }
@@ -460,11 +460,11 @@
460
460
 
461
461
  case 1:
462
462
  var tmp_0 = this;
463
- tmp_0.lcb_1 = Unit_instance;
463
+ tmp_0.qca_1 = Unit_instance;
464
464
  this.x9_1 = 2;
465
465
  continue $sm;
466
466
  case 2:
467
- return this.lcb_1;
467
+ return this.qca_1;
468
468
  case 3:
469
469
  throw this.aa_1;
470
470
  }
@@ -480,22 +480,22 @@
480
480
  while (true);
481
481
  };
482
482
  protoOf(SSEServerContent$writeTo$slambda).y2q = function ($this$coroutineScope, completion) {
483
- var i = new SSEServerContent$writeTo$slambda(this.gcb_1, this.hcb_1, this.icb_1, completion);
484
- i.jcb_1 = $this$coroutineScope;
483
+ var i = new SSEServerContent$writeTo$slambda(this.lca_1, this.mca_1, this.nca_1, completion);
484
+ i.oca_1 = $this$coroutineScope;
485
485
  return i;
486
486
  };
487
487
  function SSEServerContent$writeTo$slambda_0($session, $channel, this$0, resultContinuation) {
488
488
  var i = new SSEServerContent$writeTo$slambda($session, $channel, this$0, resultContinuation);
489
489
  var l = function ($this$coroutineScope, $completion) {
490
- return i.mcb($this$coroutineScope, $completion);
490
+ return i.rca($this$coroutineScope, $completion);
491
491
  };
492
492
  l.$arity = 1;
493
493
  return l;
494
494
  }
495
495
  function $writeToCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
496
496
  CoroutineImpl.call(this, resultContinuation);
497
- this.vcb_1 = _this__u8e3s4;
498
- this.wcb_1 = channel;
497
+ this.acb_1 = _this__u8e3s4;
498
+ this.bcb_1 = channel;
499
499
  }
500
500
  protoOf($writeToCOROUTINE$).fa = function () {
501
501
  var suspendResult = this.z9_1;
@@ -505,44 +505,44 @@
505
505
  switch (tmp) {
506
506
  case 0:
507
507
  this.y9_1 = 9;
508
- get_LOGGER().h56('Starting sse session for ' + get_uri(this.vcb_1.uca_1.f67()));
509
- this.xcb_1 = {_v: null};
510
- this.ycb_1 = Unit_instance;
508
+ get_LOGGER().m55('Starting sse session for ' + get_uri(this.acb_1.zc9_1.k66()));
509
+ this.ccb_1 = {_v: null};
510
+ this.dcb_1 = Unit_instance;
511
511
  this.x9_1 = 1;
512
512
  continue $sm;
513
513
  case 1:
514
514
  this.y9_1 = 6;
515
515
  this.x9_1 = 2;
516
- suspendResult = coroutineScope(SSEServerContent$writeTo$slambda_0(this.xcb_1, this.wcb_1, this.vcb_1, null), this);
516
+ suspendResult = coroutineScope(SSEServerContent$writeTo$slambda_0(this.ccb_1, this.bcb_1, this.acb_1, null), this);
517
517
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
518
518
  return suspendResult;
519
519
  }
520
520
 
521
521
  continue $sm;
522
522
  case 2:
523
- this.ycb_1 = suspendResult;
523
+ this.dcb_1 = suspendResult;
524
524
  this.y9_1 = 9;
525
525
  this.x9_1 = 3;
526
526
  continue $sm;
527
527
  case 3:
528
- this.zcb_1 = this.ycb_1;
528
+ this.ecb_1 = this.dcb_1;
529
529
  this.y9_1 = 9;
530
- this.acc_1 = this.vcb_1.uca_1.g67().n4x(get_heartbeatJobKey());
531
- var tmp0_safe_receiver = this.acc_1;
530
+ this.fcb_1 = this.acb_1.zc9_1.l66().s4w(get_heartbeatJobKey());
531
+ var tmp0_safe_receiver = this.fcb_1;
532
532
  if (tmp0_safe_receiver == null)
533
533
  null;
534
534
  else {
535
535
  tmp0_safe_receiver.k1x();
536
536
  }
537
537
 
538
- this.bcc_1 = this.xcb_1._v;
539
- if (this.bcc_1 == null) {
540
- this.ccc_1 = null;
538
+ this.gcb_1 = this.ccb_1._v;
539
+ if (this.gcb_1 == null) {
540
+ this.hcb_1 = null;
541
541
  this.x9_1 = 5;
542
542
  continue $sm;
543
543
  } else {
544
544
  this.x9_1 = 4;
545
- suspendResult = this.bcc_1.zc9(this);
545
+ suspendResult = this.gcb_1.ec9(this);
546
546
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
547
547
  return suspendResult;
548
548
  }
@@ -551,30 +551,30 @@
551
551
 
552
552
  case 4:
553
553
  var tmp_0 = this;
554
- tmp_0.ccc_1 = Unit_instance;
554
+ tmp_0.hcb_1 = Unit_instance;
555
555
  this.x9_1 = 5;
556
556
  continue $sm;
557
557
  case 5:
558
558
  return Unit_instance;
559
559
  case 6:
560
560
  this.y9_1 = 9;
561
- this.dcc_1 = this.aa_1;
562
- this.ecc_1 = this.vcb_1.uca_1.g67().n4x(get_heartbeatJobKey());
563
- var tmp0_safe_receiver_0 = this.ecc_1;
561
+ this.icb_1 = this.aa_1;
562
+ this.jcb_1 = this.acb_1.zc9_1.l66().s4w(get_heartbeatJobKey());
563
+ var tmp0_safe_receiver_0 = this.jcb_1;
564
564
  if (tmp0_safe_receiver_0 == null)
565
565
  null;
566
566
  else {
567
567
  tmp0_safe_receiver_0.k1x();
568
568
  }
569
569
 
570
- this.fcc_1 = this.xcb_1._v;
571
- if (this.fcc_1 == null) {
572
- this.gcc_1 = null;
570
+ this.kcb_1 = this.ccb_1._v;
571
+ if (this.kcb_1 == null) {
572
+ this.lcb_1 = null;
573
573
  this.x9_1 = 8;
574
574
  continue $sm;
575
575
  } else {
576
576
  this.x9_1 = 7;
577
- suspendResult = this.fcc_1.zc9(this);
577
+ suspendResult = this.kcb_1.ec9(this);
578
578
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
579
579
  return suspendResult;
580
580
  }
@@ -583,11 +583,11 @@
583
583
 
584
584
  case 7:
585
585
  var tmp_1 = this;
586
- tmp_1.gcc_1 = Unit_instance;
586
+ tmp_1.lcb_1 = Unit_instance;
587
587
  this.x9_1 = 8;
588
588
  continue $sm;
589
589
  case 8:
590
- throw this.dcc_1;
590
+ throw this.icb_1;
591
591
  case 9:
592
592
  throw this.aa_1;
593
593
  }
@@ -605,15 +605,15 @@
605
605
  function SSEServerContent(call, handle, serialize) {
606
606
  serialize = serialize === VOID ? null : serialize;
607
607
  WriteChannelContent.call(this);
608
- this.uca_1 = call;
609
- this.vca_1 = handle;
610
- this.wca_1 = serialize;
611
- this.xca_1 = Text_getInstance().u58_1;
608
+ this.zc9_1 = call;
609
+ this.aca_1 = handle;
610
+ this.bca_1 = serialize;
611
+ this.cca_1 = Text_getInstance().z57_1;
612
612
  }
613
- protoOf(SSEServerContent).z5i = function () {
614
- return this.xca_1;
613
+ protoOf(SSEServerContent).e5i = function () {
614
+ return this.cca_1;
615
615
  };
616
- protoOf(SSEServerContent).o5k = function (channel, $completion) {
616
+ protoOf(SSEServerContent).t5j = function (channel, $completion) {
617
617
  var tmp = new $writeToCOROUTINE$(this, channel, $completion);
618
618
  tmp.z9_1 = Unit_instance;
619
619
  tmp.aa_1 = null;