@tuprolog/arg2p-core 0.7.2 → 0.7.3

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.
package/2p-utils.js CHANGED
@@ -1,82 +1,81 @@
1
1
  (function (root, factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib-js-ir.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
6
  else {
7
- if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
8
- throw new Error("Error loading module '2p-utils'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to '2p-utils'.");
7
+ if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module '2p-utils'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '2p-utils'.");
9
9
  }
10
- root['2p-utils'] = factory(typeof this['2p-utils'] === 'undefined' ? {} : this['2p-utils'], this['kotlin-kotlin-stdlib-js-ir']);
10
+ root['2p-utils'] = factory(typeof this['2p-utils'] === 'undefined' ? {} : this['2p-utils'], this['kotlin-kotlin-stdlib']);
11
11
  }
12
12
  }(this, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
- var protoOf = kotlin_kotlin.$_$.q5;
17
- var objectMeta = kotlin_kotlin.$_$.p5;
18
- var VOID = kotlin_kotlin.$_$.s9;
19
- var setMetadataFor = kotlin_kotlin.$_$.r5;
20
- var Unit_getInstance = kotlin_kotlin.$_$.o1;
21
- var interfaceMeta = kotlin_kotlin.$_$.c5;
22
- var THROW_CCE = kotlin_kotlin.$_$.f9;
23
- var isInterface = kotlin_kotlin.$_$.f5;
24
- var classMeta = kotlin_kotlin.$_$.u4;
25
- var Sequence = kotlin_kotlin.$_$.l6;
26
- var arrayIterator = kotlin_kotlin.$_$.o4;
27
- var sequence = kotlin_kotlin.$_$.n7;
28
- var hashCode = kotlin_kotlin.$_$.b5;
29
- var asIterable = kotlin_kotlin.$_$.n6;
30
- var toList = kotlin_kotlin.$_$.t7;
31
- var asSequence = kotlin_kotlin.$_$.b2;
32
- var asIterable_0 = kotlin_kotlin.$_$.w1;
33
- var collectionSizeOrDefault = kotlin_kotlin.$_$.d2;
34
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
35
- var IntCompanionObject_getInstance = kotlin_kotlin.$_$.j1;
36
- var IntRange = kotlin_kotlin.$_$.f6;
37
- var zip = kotlin_kotlin.$_$.x7;
38
- var CoroutineImpl = kotlin_kotlin.$_$.m4;
39
- var SequenceScope = kotlin_kotlin.$_$.k6;
40
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.l4;
41
- var withIndex = kotlin_kotlin.$_$.w7;
42
- var equals = kotlin_kotlin.$_$.x4;
43
- var ensureNotNull = kotlin_kotlin.$_$.i9;
44
- var map = kotlin_kotlin.$_$.h7;
45
- var filterNot = kotlin_kotlin.$_$.v6;
46
- var toMutableList = kotlin_kotlin.$_$.u7;
47
- var minWithOrNull = kotlin_kotlin.$_$.i7;
48
- var isObject = kotlin_kotlin.$_$.h5;
49
- var Map = kotlin_kotlin.$_$.r1;
50
- var lazy = kotlin_kotlin.$_$.k9;
16
+ var protoOf = kotlin_kotlin.$_$.s5;
17
+ var objectMeta = kotlin_kotlin.$_$.r5;
18
+ var setMetadataFor = kotlin_kotlin.$_$.t5;
19
+ var Unit_instance = kotlin_kotlin.$_$.r1;
20
+ var interfaceMeta = kotlin_kotlin.$_$.f5;
21
+ var THROW_CCE = kotlin_kotlin.$_$.h9;
22
+ var isInterface = kotlin_kotlin.$_$.i5;
23
+ var classMeta = kotlin_kotlin.$_$.w4;
24
+ var VOID = kotlin_kotlin.$_$.d;
25
+ var Sequence = kotlin_kotlin.$_$.n6;
26
+ var arrayIterator = kotlin_kotlin.$_$.q4;
27
+ var sequence = kotlin_kotlin.$_$.p7;
28
+ var hashCode = kotlin_kotlin.$_$.e5;
29
+ var asIterable = kotlin_kotlin.$_$.p6;
30
+ var toList = kotlin_kotlin.$_$.v7;
31
+ var asSequence = kotlin_kotlin.$_$.e2;
32
+ var asIterable_0 = kotlin_kotlin.$_$.z1;
33
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.g2;
34
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.e;
35
+ var IntCompanionObject_instance = kotlin_kotlin.$_$.m1;
36
+ var IntRange = kotlin_kotlin.$_$.h6;
37
+ var zip = kotlin_kotlin.$_$.z7;
38
+ var CoroutineImpl = kotlin_kotlin.$_$.o4;
39
+ var SequenceScope = kotlin_kotlin.$_$.m6;
40
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.n4;
41
+ var withIndex = kotlin_kotlin.$_$.y7;
42
+ var equals = kotlin_kotlin.$_$.z4;
43
+ var ensureNotNull = kotlin_kotlin.$_$.k9;
44
+ var map = kotlin_kotlin.$_$.j7;
45
+ var filterNot = kotlin_kotlin.$_$.x6;
46
+ var toMutableList = kotlin_kotlin.$_$.w7;
47
+ var minWithOrNull = kotlin_kotlin.$_$.k7;
48
+ var Map = kotlin_kotlin.$_$.u1;
49
+ var lazy = kotlin_kotlin.$_$.m9;
51
50
  var getKClassFromExpression = kotlin_kotlin.$_$.b;
52
- var KProperty1 = kotlin_kotlin.$_$.j6;
53
- var getPropertyCallableRef = kotlin_kotlin.$_$.z4;
54
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w;
55
- var toString = kotlin_kotlin.$_$.v5;
56
- var Pair = kotlin_kotlin.$_$.d9;
57
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
58
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.g;
59
- var joinToString = kotlin_kotlin.$_$.d7;
60
- var mutableListOf = kotlin_kotlin.$_$.l3;
61
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
62
- var addAll = kotlin_kotlin.$_$.t1;
51
+ var KProperty1 = kotlin_kotlin.$_$.l6;
52
+ var getPropertyCallableRef = kotlin_kotlin.$_$.c5;
53
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.y;
54
+ var first = kotlin_kotlin.$_$.t2;
55
+ var to = kotlin_kotlin.$_$.s9;
56
+ var Pair = kotlin_kotlin.$_$.f9;
57
+ var toString = kotlin_kotlin.$_$.x5;
58
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s;
59
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.h;
60
+ var joinToString = kotlin_kotlin.$_$.f7;
61
+ var mutableListOf = kotlin_kotlin.$_$.o3;
62
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
63
+ var addAll = kotlin_kotlin.$_$.w1;
63
64
  //endregion
64
65
  //region block: pre-declaration
65
66
  setMetadataFor(Companion, 'Companion', objectMeta);
66
67
  function getOrSet(key, valueGenerator) {
67
- var got = this.d3(key);
68
+ var got = this.w2(key);
68
69
  var tmp;
69
70
  if (got instanceof Some) {
70
- tmp = got.mo_1;
71
+ tmp = got.fp_1;
71
72
  } else {
72
- var tmp$ret$0;
73
73
  // Inline function 'kotlin.also' call
74
- var tmp0_also = valueGenerator();
74
+ var this_0 = valueGenerator();
75
75
  // Inline function 'kotlin.contracts.contract' call
76
76
  // Inline function 'it.unibo.tuprolog.utils.Cache.getOrSet.<anonymous>' call
77
- this.ko(key, tmp0_also);
78
- tmp$ret$0 = tmp0_also;
79
- tmp = tmp$ret$0;
77
+ this.dp(key, this_0);
78
+ tmp = this_0;
80
79
  }
81
80
  return tmp;
82
81
  }
@@ -84,16 +83,14 @@
84
83
  setMetadataFor(Companion_0, 'Companion', objectMeta);
85
84
  function ifValid(consumer) {
86
85
  var tmp;
87
- if (this.oo()) {
88
- var tmp_0 = Companion_getInstance_4();
89
- var tmp$ret$0;
86
+ if (this.hp()) {
87
+ var tmp_0 = Companion_instance_4;
90
88
  // Inline function 'kotlin.let' call
91
- var tmp0_let = this.p2();
92
89
  // Inline function 'kotlin.contracts.contract' call
93
- tmp$ret$0 = consumer(tmp0_let);
94
- tmp = tmp_0.so(tmp$ret$0);
90
+ var tmp$ret$0 = consumer(this.q2());
91
+ tmp = tmp_0.lp(tmp$ret$0);
95
92
  } else {
96
- tmp = Companion_getInstance_4().ro();
93
+ tmp = Companion_instance_4.kp();
97
94
  }
98
95
  return tmp;
99
96
  }
@@ -106,38 +103,34 @@
106
103
  setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta);
107
104
  setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, VOID, [Sequence]);
108
105
  function asIterable_1() {
109
- var tmp$ret$0;
110
106
  // Inline function 'kotlin.collections.Iterable' call
111
- tmp$ret$0 = new _no_name_provided__qut3iv(this);
112
- return tmp$ret$0;
107
+ return new _no_name_provided__qut3iv(this);
113
108
  }
114
109
  function asSequence_0() {
115
- var tmp$ret$0;
116
110
  // Inline function 'kotlin.sequences.Sequence' call
117
- tmp$ret$0 = new _no_name_provided__qut3iv_0(this);
118
- return tmp$ret$0;
111
+ return new _no_name_provided__qut3iv_0(this);
119
112
  }
120
113
  setMetadataFor(Cursor, 'Cursor', interfaceMeta);
121
114
  function component1() {
122
- return this.bp();
115
+ return this.up();
123
116
  }
124
117
  function component2() {
125
- return this.p2();
118
+ return this.q2();
126
119
  }
127
120
  setMetadataFor(Indexed, 'Indexed', interfaceMeta);
128
121
  setMetadataFor(Companion_2, 'Companion', objectMeta);
129
122
  function compareTo(other) {
130
- return this.bp() - other.bp() | 0;
123
+ return this.up() - other.up() | 0;
131
124
  }
132
125
  setMetadataFor(IntIndexed, 'IntIndexed', interfaceMeta, VOID, [Indexed]);
133
126
  setMetadataFor(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', classMeta);
134
- setMetadataFor(dropLast$slambda, 'dropLast$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
135
- setMetadataFor(insertAt$slambda, 'insertAt$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
127
+ setMetadataFor(dropLast$slambda, 'dropLast$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
128
+ setMetadataFor(insertAt$slambda, 'insertAt$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
136
129
  setMetadataFor(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', classMeta);
137
- setMetadataFor(merge$slambda, 'merge$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
130
+ setMetadataFor(merge$slambda, 'merge$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
138
131
  setMetadataFor(Companion_3, 'Companion', objectMeta);
139
132
  function compareTo_0(other) {
140
- return this.bp().tf(other.bp()).e1();
133
+ return this.up().ja(other.up()).z8();
141
134
  }
142
135
  setMetadataFor(LongIndexed, 'LongIndexed', interfaceMeta, VOID, [Indexed]);
143
136
  setMetadataFor(Companion_4, 'Companion', objectMeta);
@@ -145,18 +138,14 @@
145
138
  setMetadataFor(Some, 'Some', classMeta, Optional);
146
139
  setMetadataFor(None, 'None', objectMeta, Optional);
147
140
  function getTag(name) {
148
- var tmp = this.fr().d3(name);
149
- return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
141
+ var tmp = this.zr().w2(name);
142
+ return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
150
143
  }
151
144
  function containsTag(name) {
152
- var tmp$ret$1;
153
145
  // Inline function 'kotlin.collections.contains' call
154
- var tmp0_contains = this.fr();
155
- var tmp$ret$0;
156
146
  // Inline function 'kotlin.collections.containsKey' call
157
- tmp$ret$0 = (isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).x2(name);
158
- tmp$ret$1 = tmp$ret$0;
159
- return tmp$ret$1;
147
+ var this_0 = this.zr();
148
+ return (isInterface(this_0, Map) ? this_0 : THROW_CCE()).t2(name);
160
149
  }
161
150
  setMetadataFor(Taggable, 'Taggable', interfaceMeta);
162
151
  setMetadataFor(Companion_5, 'Companion', objectMeta);
@@ -174,29 +163,23 @@
174
163
  setMetadataFor(ValueCursor, 'ValueCursor', classMeta, AbstractCursor);
175
164
  //endregion
176
165
  function Companion() {
177
- Companion_instance = this;
178
166
  }
179
- protoOf(Companion).jo = function (capacity) {
167
+ protoOf(Companion).cp = function (capacity) {
180
168
  return new SimpleLRUCache(capacity);
181
169
  };
182
170
  var Companion_instance;
183
171
  function Companion_getInstance() {
184
- if (Companion_instance == null)
185
- new Companion();
186
172
  return Companion_instance;
187
173
  }
188
174
  function Cache() {
189
175
  }
190
176
  function Companion_0() {
191
- Companion_instance_0 = this;
192
177
  }
193
- protoOf(Companion_0).no = function (generator) {
178
+ protoOf(Companion_0).gp = function (generator) {
194
179
  return new CachedImpl(generator);
195
180
  };
196
181
  var Companion_instance_0;
197
182
  function Companion_getInstance_0() {
198
- if (Companion_instance_0 == null)
199
- new Companion_0();
200
183
  return Companion_instance_0;
201
184
  }
202
185
  function Cached() {
@@ -204,7 +187,6 @@
204
187
  function Castable() {
205
188
  }
206
189
  function Companion_1() {
207
- Companion_instance_1 = this;
208
190
  }
209
191
  protoOf(Companion_1).of = function (iterator) {
210
192
  return toCursor(iterator);
@@ -217,57 +199,48 @@
217
199
  };
218
200
  var Companion_instance_1;
219
201
  function Companion_getInstance_1() {
220
- if (Companion_instance_1 == null)
221
- new Companion_1();
222
202
  return Companion_instance_1;
223
203
  }
224
204
  function _no_name_provided__qut3iv(this$0) {
225
- this.uo_1 = this$0;
205
+ this.np_1 = this$0;
226
206
  }
227
- protoOf(_no_name_provided__qut3iv).j = function () {
228
- var tmp$ret$0;
207
+ protoOf(_no_name_provided__qut3iv).o = function () {
229
208
  // Inline function 'it.unibo.tuprolog.utils.Cursor.asIterable.<anonymous>' call
230
- tmp$ret$0 = this.uo_1.iterator();
231
- return tmp$ret$0;
209
+ return this.np_1.iterator();
232
210
  };
233
211
  function _no_name_provided__qut3iv_0(this$0) {
234
- this.vo_1 = this$0;
212
+ this.op_1 = this$0;
235
213
  }
236
- protoOf(_no_name_provided__qut3iv_0).j = function () {
237
- var tmp$ret$0;
214
+ protoOf(_no_name_provided__qut3iv_0).o = function () {
238
215
  // Inline function 'it.unibo.tuprolog.utils.Cursor.asSequence.<anonymous>' call
239
- tmp$ret$0 = this.vo_1.iterator();
240
- return tmp$ret$0;
216
+ return this.op_1.iterator();
241
217
  };
242
218
  function Cursor() {
243
219
  }
244
220
  function cursor(_this__u8e3s4) {
245
- return toCursor(_this__u8e3s4.j());
221
+ return toCursor(_this__u8e3s4.o());
246
222
  }
247
223
  function cursor_0(_this__u8e3s4) {
248
- return toCursor(_this__u8e3s4.j());
224
+ return toCursor(_this__u8e3s4.o());
249
225
  }
250
226
  function cursor_1(_this__u8e3s4) {
251
227
  return toCursor(arrayIterator(_this__u8e3s4));
252
228
  }
253
229
  function plus(_this__u8e3s4, other) {
254
- return other.yo() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.yo() ? _this__u8e3s4 : EmptyCursor_getInstance();
230
+ return other.rp() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.rp() ? _this__u8e3s4 : EmptyCursor_getInstance();
255
231
  }
256
232
  function toCursor(_this__u8e3s4) {
257
- return Companion_getInstance_5().ap(_this__u8e3s4);
233
+ return Companion_instance_5.tp(_this__u8e3s4);
258
234
  }
259
235
  function Indexed() {
260
236
  }
261
237
  function Companion_2() {
262
- Companion_instance_2 = this;
263
238
  }
264
- protoOf(Companion_2).cp = function (index, value) {
239
+ protoOf(Companion_2).vp = function (index, value) {
265
240
  return new IntIndexedImpl(index, value);
266
241
  };
267
242
  var Companion_instance_2;
268
243
  function Companion_getInstance_2() {
269
- if (Companion_instance_2 == null)
270
- new Companion_2();
271
244
  return Companion_instance_2;
272
245
  }
273
246
  function IntIndexed() {
@@ -277,10 +250,10 @@
277
250
  }
278
251
  function itemWiseHashCode(iterable) {
279
252
  var hash = 13;
280
- var i = iterable.j();
281
- while (i.m()) {
253
+ var i = iterable.o();
254
+ while (i.p()) {
282
255
  var tmp = imul(31, hash);
283
- var tmp0_safe_receiver = i.n();
256
+ var tmp0_safe_receiver = i.r();
284
257
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
285
258
  hash = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
286
259
  }
@@ -302,233 +275,226 @@
302
275
  return asSequence(toList(_this__u8e3s4));
303
276
  }
304
277
  function itemWiseEquals_0(iterable1, iterable2, comparator) {
305
- var i = iterable1.j();
306
- var j = iterable2.j();
307
- while (i.m() ? j.m() : false) {
308
- var a = i.n();
309
- var b = j.n();
278
+ var i = iterable1.o();
279
+ var j = iterable2.o();
280
+ while (i.p() ? j.p() : false) {
281
+ var a = i.r();
282
+ var b = j.r();
310
283
  if (!comparator(a, b)) {
311
284
  return false;
312
285
  }
313
286
  }
314
- return i.m() === j.m();
315
- }
316
- function itemWiseEquals_1(iterable1, iterable2) {
317
- return itemWiseEquals_0(iterable1, iterable2, itemWiseEquals$lambda);
287
+ return i.p() === j.p();
318
288
  }
319
289
  function itemWiseHashCode_1(items) {
320
290
  return itemWiseHashCode(asIterable_0(items));
321
291
  }
292
+ function itemWiseEquals_1(iterable1, iterable2) {
293
+ return itemWiseEquals_0(iterable1, iterable2, itemWiseEquals$lambda);
294
+ }
322
295
  function mergeSequences(iterables, comparator) {
323
296
  var tmp = new sam$kotlin_Comparator$0(comparator);
324
- var tmp$ret$2;
325
297
  // Inline function 'kotlin.collections.map' call
326
- var tmp$ret$1;
327
298
  // Inline function 'kotlin.collections.mapTo' call
328
- var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
329
- var tmp0_iterator = iterables.j();
330
- while (tmp0_iterator.m()) {
331
- var item = tmp0_iterator.n();
332
- var tmp$ret$0;
299
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
300
+ var tmp0_iterator = iterables.o();
301
+ while (tmp0_iterator.p()) {
302
+ var item = tmp0_iterator.r();
333
303
  // Inline function 'it.unibo.tuprolog.utils.mergeSequences.<anonymous>' call
334
- tmp$ret$0 = asIterable(item);
335
- tmp0_mapTo.g(tmp$ret$0);
304
+ var tmp$ret$0 = asIterable(item);
305
+ destination.l(tmp$ret$0);
336
306
  }
337
- tmp$ret$1 = tmp0_mapTo;
338
- tmp$ret$2 = tmp$ret$1;
339
- return merge(tmp, tmp$ret$2);
307
+ return merge(tmp, destination);
340
308
  }
341
309
  function merge(comparator, iterables) {
342
310
  return sequence(merge$slambda_0(iterables, comparator, null));
343
311
  }
344
312
  function indexed(_this__u8e3s4) {
345
- var tmp = asSequence(new IntRange(0, IntCompanionObject_getInstance().MAX_VALUE));
313
+ var tmp = asSequence(new IntRange(0, IntCompanionObject_instance.MAX_VALUE));
346
314
  return zip(_this__u8e3s4, tmp, indexed$lambda);
347
315
  }
348
316
  function sam$kotlin_Comparator$0(function_0) {
349
- this.ep_1 = function_0;
317
+ this.xp_1 = function_0;
350
318
  }
351
- protoOf(sam$kotlin_Comparator$0).ue = function (a, b) {
352
- return this.ep_1(a, b);
319
+ protoOf(sam$kotlin_Comparator$0).m8 = function (a, b) {
320
+ return this.xp_1(a, b);
353
321
  };
354
322
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
355
- return this.ue(a, b);
323
+ return this.m8(a, b);
356
324
  };
357
325
  function dropLast$slambda($this_dropLast, resultContinuation) {
358
- this.np_1 = $this_dropLast;
326
+ this.gq_1 = $this_dropLast;
359
327
  CoroutineImpl.call(this, resultContinuation);
360
328
  }
361
- protoOf(dropLast$slambda).rp = function ($this$sequence, $completion) {
362
- var tmp = this.sp($this$sequence, $completion);
363
- tmp.og_1 = Unit_getInstance();
364
- tmp.pg_1 = null;
365
- return tmp.ug();
329
+ protoOf(dropLast$slambda).kq = function ($this$sequence, $completion) {
330
+ var tmp = this.lq($this$sequence, $completion);
331
+ tmp.eb_1 = Unit_instance;
332
+ tmp.fb_1 = null;
333
+ return tmp.nb();
366
334
  };
367
- protoOf(dropLast$slambda).gh = function (p1, $completion) {
368
- return this.rp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
335
+ protoOf(dropLast$slambda).ac = function (p1, $completion) {
336
+ return this.kq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
369
337
  };
370
- protoOf(dropLast$slambda).ug = function () {
371
- var suspendResult = this.og_1;
338
+ protoOf(dropLast$slambda).nb = function () {
339
+ var suspendResult = this.eb_1;
372
340
  $sm: do
373
341
  try {
374
- var tmp = this.mg_1;
342
+ var tmp = this.cb_1;
375
343
  switch (tmp) {
376
344
  case 0:
377
- this.ng_1 = 5;
378
- this.pp_1 = this.np_1.j();
379
- this.mg_1 = 1;
345
+ this.db_1 = 5;
346
+ this.iq_1 = this.gq_1.o();
347
+ this.cb_1 = 1;
380
348
  continue $sm;
381
349
  case 1:
382
- if (!this.pp_1.m()) {
383
- this.mg_1 = 4;
350
+ if (!this.iq_1.p()) {
351
+ this.cb_1 = 4;
384
352
  continue $sm;
385
353
  }
386
354
 
387
- this.qp_1 = this.pp_1.n();
388
- if (this.pp_1.m()) {
389
- this.mg_1 = 2;
390
- suspendResult = this.op_1.a5(this.qp_1, this);
355
+ this.jq_1 = this.iq_1.r();
356
+ if (this.iq_1.p()) {
357
+ this.cb_1 = 2;
358
+ suspendResult = this.hq_1.sd(this.jq_1, this);
391
359
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
392
360
  return suspendResult;
393
361
  }
394
362
  continue $sm;
395
363
  } else {
396
- this.mg_1 = 3;
364
+ this.cb_1 = 3;
397
365
  continue $sm;
398
366
  }
399
367
 
400
- break;
401
368
  case 2:
402
- this.mg_1 = 3;
369
+ this.cb_1 = 3;
403
370
  continue $sm;
404
371
  case 3:
405
- this.mg_1 = 1;
372
+ this.cb_1 = 1;
406
373
  continue $sm;
407
374
  case 4:
408
- return Unit_getInstance();
375
+ return Unit_instance;
409
376
  case 5:
410
- throw this.pg_1;
377
+ throw this.fb_1;
411
378
  }
412
379
  } catch ($p) {
413
380
  var e = $p;
414
- if (this.ng_1 === 5) {
381
+ if (this.db_1 === 5) {
415
382
  throw e;
416
383
  } else {
417
- this.mg_1 = this.ng_1;
418
- this.pg_1 = e;
384
+ this.cb_1 = this.db_1;
385
+ this.fb_1 = e;
419
386
  }
420
387
  }
421
388
  while (true);
422
389
  };
423
- protoOf(dropLast$slambda).sp = function ($this$sequence, completion) {
424
- var i = new dropLast$slambda(this.np_1, completion);
425
- i.op_1 = $this$sequence;
390
+ protoOf(dropLast$slambda).lq = function ($this$sequence, completion) {
391
+ var i = new dropLast$slambda(this.gq_1, completion);
392
+ i.hq_1 = $this$sequence;
426
393
  return i;
427
394
  };
428
395
  function dropLast$slambda_0($this_dropLast, resultContinuation) {
429
396
  var i = new dropLast$slambda($this_dropLast, resultContinuation);
430
397
  var l = function ($this$sequence, $completion) {
431
- return i.rp($this$sequence, $completion);
398
+ return i.kq($this$sequence, $completion);
432
399
  };
433
400
  l.$arity = 1;
434
401
  return l;
435
402
  }
436
403
  function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
437
- this.bq_1 = $this_insertAt;
438
- this.cq_1 = $index;
439
- this.dq_1 = $item;
440
- this.eq_1 = $items;
404
+ this.uq_1 = $this_insertAt;
405
+ this.vq_1 = $index;
406
+ this.wq_1 = $item;
407
+ this.xq_1 = $items;
441
408
  CoroutineImpl.call(this, resultContinuation);
442
409
  }
443
- protoOf(insertAt$slambda).rp = function ($this$sequence, $completion) {
444
- var tmp = this.sp($this$sequence, $completion);
445
- tmp.og_1 = Unit_getInstance();
446
- tmp.pg_1 = null;
447
- return tmp.ug();
410
+ protoOf(insertAt$slambda).kq = function ($this$sequence, $completion) {
411
+ var tmp = this.lq($this$sequence, $completion);
412
+ tmp.eb_1 = Unit_instance;
413
+ tmp.fb_1 = null;
414
+ return tmp.nb();
448
415
  };
449
- protoOf(insertAt$slambda).gh = function (p1, $completion) {
450
- return this.rp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
416
+ protoOf(insertAt$slambda).ac = function (p1, $completion) {
417
+ return this.kq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
451
418
  };
452
- protoOf(insertAt$slambda).ug = function () {
453
- var suspendResult = this.og_1;
419
+ protoOf(insertAt$slambda).nb = function () {
420
+ var suspendResult = this.eb_1;
454
421
  $sm: do
455
422
  try {
456
- var tmp = this.mg_1;
423
+ var tmp = this.cb_1;
457
424
  switch (tmp) {
458
425
  case 0:
459
- this.ng_1 = 7;
460
- this.gq_1 = asIterable(withIndex(this.bq_1)).j();
461
- this.mg_1 = 1;
426
+ this.db_1 = 7;
427
+ this.zq_1 = asIterable(withIndex(this.uq_1)).o();
428
+ this.cb_1 = 1;
462
429
  continue $sm;
463
430
  case 1:
464
- if (!this.gq_1.m()) {
465
- this.mg_1 = 6;
431
+ if (!this.zq_1.p()) {
432
+ this.cb_1 = 6;
466
433
  continue $sm;
467
434
  }
468
435
 
469
- this.hq_1 = this.gq_1.n();
470
- this.iq_1 = this.hq_1.r3();
471
- this.jq_1 = this.hq_1.s3();
472
- if (this.iq_1 === this.cq_1) {
473
- this.mg_1 = 2;
474
- suspendResult = this.fq_1.a5(this.dq_1, this);
436
+ this.ar_1 = this.zq_1.r();
437
+ this.br_1 = this.ar_1.dd();
438
+ this.cr_1 = this.ar_1.ed();
439
+ if (this.br_1 === this.vq_1) {
440
+ this.cb_1 = 2;
441
+ suspendResult = this.yq_1.sd(this.wq_1, this);
475
442
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
476
443
  return suspendResult;
477
444
  }
478
445
  continue $sm;
479
446
  } else {
480
- this.mg_1 = 4;
447
+ this.cb_1 = 4;
481
448
  continue $sm;
482
449
  }
483
450
 
484
- break;
485
451
  case 2:
486
- this.mg_1 = 3;
487
- suspendResult = this.fq_1.c5(asIterable_0(this.eq_1), this);
452
+ this.cb_1 = 3;
453
+ suspendResult = this.yq_1.ud(asIterable_0(this.xq_1), this);
488
454
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
489
455
  return suspendResult;
490
456
  }
491
457
 
492
458
  continue $sm;
493
459
  case 3:
494
- this.mg_1 = 4;
460
+ this.cb_1 = 4;
495
461
  continue $sm;
496
462
  case 4:
497
- this.mg_1 = 5;
498
- suspendResult = this.fq_1.a5(this.jq_1, this);
463
+ this.cb_1 = 5;
464
+ suspendResult = this.yq_1.sd(this.cr_1, this);
499
465
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
500
466
  return suspendResult;
501
467
  }
502
468
 
503
469
  continue $sm;
504
470
  case 5:
505
- this.mg_1 = 1;
471
+ this.cb_1 = 1;
506
472
  continue $sm;
507
473
  case 6:
508
- return Unit_getInstance();
474
+ return Unit_instance;
509
475
  case 7:
510
- throw this.pg_1;
476
+ throw this.fb_1;
511
477
  }
512
478
  } catch ($p) {
513
479
  var e = $p;
514
- if (this.ng_1 === 7) {
480
+ if (this.db_1 === 7) {
515
481
  throw e;
516
482
  } else {
517
- this.mg_1 = this.ng_1;
518
- this.pg_1 = e;
483
+ this.cb_1 = this.db_1;
484
+ this.fb_1 = e;
519
485
  }
520
486
  }
521
487
  while (true);
522
488
  };
523
- protoOf(insertAt$slambda).sp = function ($this$sequence, completion) {
524
- var i = new insertAt$slambda(this.bq_1, this.cq_1, this.dq_1, this.eq_1, completion);
525
- i.fq_1 = $this$sequence;
489
+ protoOf(insertAt$slambda).lq = function ($this$sequence, completion) {
490
+ var i = new insertAt$slambda(this.uq_1, this.vq_1, this.wq_1, this.xq_1, completion);
491
+ i.yq_1 = $this$sequence;
526
492
  return i;
527
493
  };
528
494
  function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
529
495
  var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
530
496
  var l = function ($this$sequence, $completion) {
531
- return i.rp($this$sequence, $completion);
497
+ return i.kq($this$sequence, $completion);
532
498
  };
533
499
  l.$arity = 1;
534
500
  return l;
@@ -537,172 +503,165 @@
537
503
  return equals(a, b);
538
504
  }
539
505
  function sam$kotlin_Comparator$0_0(function_0) {
540
- this.kq_1 = function_0;
506
+ this.dr_1 = function_0;
541
507
  }
542
- protoOf(sam$kotlin_Comparator$0_0).ue = function (a, b) {
543
- return this.kq_1(a, b);
508
+ protoOf(sam$kotlin_Comparator$0_0).m8 = function (a, b) {
509
+ return this.dr_1(a, b);
544
510
  };
545
511
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
546
- return this.ue(a, b);
512
+ return this.m8(a, b);
547
513
  };
548
514
  function merge$slambda$lambda(it) {
549
515
  return cursor(it);
550
516
  }
551
517
  function merge$slambda$lambda_0(it) {
552
- return it.zo();
518
+ return it.sp();
553
519
  }
554
520
  function merge$slambda$lambda_1(it) {
555
- return ensureNotNull(it.xo());
521
+ return ensureNotNull(it.qp());
556
522
  }
557
523
  function merge$slambda$lambda_2($comparator) {
558
524
  return function (a, b) {
559
- return $comparator.compare(a.p2(), b.p2());
525
+ return $comparator.compare(a.q2(), b.q2());
560
526
  };
561
527
  }
562
528
  function merge$slambda($iterables, $comparator, resultContinuation) {
563
- this.tq_1 = $iterables;
564
- this.uq_1 = $comparator;
529
+ this.mr_1 = $iterables;
530
+ this.nr_1 = $comparator;
565
531
  CoroutineImpl.call(this, resultContinuation);
566
532
  }
567
- protoOf(merge$slambda).rp = function ($this$sequence, $completion) {
568
- var tmp = this.sp($this$sequence, $completion);
569
- tmp.og_1 = Unit_getInstance();
570
- tmp.pg_1 = null;
571
- return tmp.ug();
533
+ protoOf(merge$slambda).kq = function ($this$sequence, $completion) {
534
+ var tmp = this.lq($this$sequence, $completion);
535
+ tmp.eb_1 = Unit_instance;
536
+ tmp.fb_1 = null;
537
+ return tmp.nb();
572
538
  };
573
- protoOf(merge$slambda).gh = function (p1, $completion) {
574
- return this.rp(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
539
+ protoOf(merge$slambda).ac = function (p1, $completion) {
540
+ return this.kq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
575
541
  };
576
- protoOf(merge$slambda).ug = function () {
577
- var suspendResult = this.og_1;
542
+ protoOf(merge$slambda).nb = function () {
543
+ var suspendResult = this.eb_1;
578
544
  $sm: do
579
545
  try {
580
- var tmp = this.mg_1;
546
+ var tmp = this.cb_1;
581
547
  switch (tmp) {
582
548
  case 0:
583
- this.ng_1 = 3;
549
+ this.db_1 = 3;
584
550
  var tmp_0 = this;
585
- var tmp_1 = asSequence(this.tq_1);
551
+ var tmp_1 = asSequence(this.mr_1);
586
552
  var tmp_2 = map(tmp_1, merge$slambda$lambda);
587
- tmp_0.wq_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
588
- this.mg_1 = 1;
553
+ tmp_0.qr_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
554
+ this.cb_1 = 1;
589
555
  continue $sm;
590
556
  case 1:
591
- if (!!this.wq_1.d()) {
592
- this.mg_1 = 4;
557
+ if (!!this.qr_1.w()) {
558
+ this.cb_1 = 4;
593
559
  continue $sm;
594
560
  }
595
561
 
596
562
  var tmp_3 = this;
597
- var tmp_4 = asSequence(this.wq_1);
563
+ var tmp_4 = asSequence(this.qr_1);
598
564
  var tmp_5 = indexed(map(tmp_4, merge$slambda$lambda_1));
599
- var tmp_6 = merge$slambda$lambda_2(this.uq_1);
600
- tmp_3.xq_1 = ensureNotNull(minWithOrNull(tmp_5, new sam$kotlin_Comparator$0_0(tmp_6)));
601
- this.yq_1 = this.xq_1.r3();
602
- this.zq_1 = this.xq_1.s3();
603
- this.mg_1 = 2;
604
- suspendResult = this.vq_1.a5(this.zq_1, this);
565
+ var tmp_6 = merge$slambda$lambda_2(this.nr_1);
566
+ tmp_3.rr_1 = ensureNotNull(minWithOrNull(tmp_5, new sam$kotlin_Comparator$0_0(tmp_6)));
567
+ this.sr_1 = this.rr_1.dd();
568
+ this.tr_1 = this.rr_1.ed();
569
+ this.cb_1 = 2;
570
+ suspendResult = this.pr_1.sd(this.tr_1, this);
605
571
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
606
572
  return suspendResult;
607
573
  }
608
574
 
609
575
  continue $sm;
610
576
  case 2:
611
- var tmp0_let = this.wq_1.o(this.yq_1).wo();
612
- if (tmp0_let.zo()) {
613
- this.wq_1.u4(this.yq_1);
577
+ var it = this.qr_1.a1(this.sr_1).pp();
578
+ if (it.sp()) {
579
+ this.qr_1.c1(this.sr_1);
614
580
  } else {
615
- this.wq_1.t4(this.yq_1, tmp0_let);
581
+ this.qr_1.v1(this.sr_1, it);
616
582
  }
617
583
 
618
- ;
619
- this.mg_1 = 1;
584
+ this.cb_1 = 1;
620
585
  continue $sm;
621
586
  case 3:
622
- throw this.pg_1;
587
+ throw this.fb_1;
623
588
  case 4:
624
- return Unit_getInstance();
589
+ return Unit_instance;
625
590
  }
626
591
  } catch ($p) {
627
592
  var e = $p;
628
- if (this.ng_1 === 3) {
593
+ if (this.db_1 === 3) {
629
594
  throw e;
630
595
  } else {
631
- this.mg_1 = this.ng_1;
632
- this.pg_1 = e;
596
+ this.cb_1 = this.db_1;
597
+ this.fb_1 = e;
633
598
  }
634
599
  }
635
600
  while (true);
636
601
  };
637
- protoOf(merge$slambda).sp = function ($this$sequence, completion) {
638
- var i = new merge$slambda(this.tq_1, this.uq_1, completion);
639
- i.vq_1 = $this$sequence;
602
+ protoOf(merge$slambda).lq = function ($this$sequence, completion) {
603
+ var i = new merge$slambda(this.mr_1, this.nr_1, completion);
604
+ i.pr_1 = $this$sequence;
640
605
  return i;
641
606
  };
642
607
  function merge$slambda_0($iterables, $comparator, resultContinuation) {
643
608
  var i = new merge$slambda($iterables, $comparator, resultContinuation);
644
609
  var l = function ($this$sequence, $completion) {
645
- return i.rp($this$sequence, $completion);
610
+ return i.kq($this$sequence, $completion);
646
611
  };
647
612
  l.$arity = 1;
648
613
  return l;
649
614
  }
650
615
  function indexed$lambda(it, i) {
651
- return Companion_getInstance_2().cp(i, it);
616
+ return Companion_instance_2.vp(i, it);
652
617
  }
653
618
  function Companion_3() {
654
- Companion_instance_3 = this;
655
619
  }
656
- protoOf(Companion_3).ar = function (index, value) {
620
+ protoOf(Companion_3).ur = function (index, value) {
657
621
  return new LongIndexedImpl(index, value);
658
622
  };
659
623
  var Companion_instance_3;
660
624
  function Companion_getInstance_3() {
661
- if (Companion_instance_3 == null)
662
- new Companion_3();
663
625
  return Companion_instance_3;
664
626
  }
665
627
  function LongIndexed() {
666
628
  }
667
629
  function Companion_4() {
668
- Companion_instance_4 = this;
669
630
  }
670
- protoOf(Companion_4).cr = function (value) {
631
+ protoOf(Companion_4).wr = function (value) {
671
632
  return new Some(value);
672
633
  };
673
- protoOf(Companion_4).so = function (value) {
634
+ protoOf(Companion_4).lp = function (value) {
674
635
  var tmp;
675
636
  if (value == null) {
676
- tmp = this.ro();
637
+ tmp = this.kp();
677
638
  } else {
678
- tmp = this.cr(value);
639
+ tmp = this.wr(value);
679
640
  }
680
641
  return tmp;
681
642
  };
682
- protoOf(Companion_4).ro = function () {
643
+ protoOf(Companion_4).kp = function () {
683
644
  return None_getInstance();
684
645
  };
685
646
  var Companion_instance_4;
686
647
  function Companion_getInstance_4() {
687
- if (Companion_instance_4 == null)
688
- new Companion_4();
689
648
  return Companion_instance_4;
690
649
  }
691
650
  function Some(value) {
692
651
  Optional.call(this);
693
- this.mo_1 = value;
652
+ this.fp_1 = value;
694
653
  }
695
- protoOf(Some).p2 = function () {
696
- return this.mo_1;
654
+ protoOf(Some).q2 = function () {
655
+ return this.fp_1;
697
656
  };
698
- protoOf(Some).dr = function () {
657
+ protoOf(Some).xr = function () {
699
658
  return true;
700
659
  };
701
660
  protoOf(Some).toString = function () {
702
- return 'Some(' + this.mo_1 + ')';
661
+ return 'Some(' + this.fp_1 + ')';
703
662
  };
704
663
  protoOf(Some).hashCode = function () {
705
- return this.mo_1 == null ? 0 : hashCode(this.mo_1);
664
+ return this.fp_1 == null ? 0 : hashCode(this.fp_1);
706
665
  };
707
666
  protoOf(Some).equals = function (other) {
708
667
  if (this === other)
@@ -710,7 +669,7 @@
710
669
  if (!(other instanceof Some))
711
670
  return false;
712
671
  var tmp0_other_with_cast = other instanceof Some ? other : THROW_CCE();
713
- if (!equals(this.mo_1, tmp0_other_with_cast.mo_1))
672
+ if (!equals(this.fp_1, tmp0_other_with_cast.fp_1))
714
673
  return false;
715
674
  return true;
716
675
  };
@@ -718,10 +677,10 @@
718
677
  None_instance = this;
719
678
  Optional.call(this);
720
679
  }
721
- protoOf(None).p2 = function () {
680
+ protoOf(None).q2 = function () {
722
681
  return null;
723
682
  };
724
- protoOf(None).dr = function () {
683
+ protoOf(None).xr = function () {
725
684
  return false;
726
685
  };
727
686
  protoOf(None).toString = function () {
@@ -734,10 +693,9 @@
734
693
  return None_instance;
735
694
  }
736
695
  function Optional() {
737
- Companion_getInstance_4();
738
696
  }
739
- protoOf(Optional).er = function () {
740
- return !this.dr();
697
+ protoOf(Optional).yr = function () {
698
+ return !this.xr();
741
699
  };
742
700
  function Taggable() {
743
701
  }
@@ -749,11 +707,10 @@
749
707
  return synchronizedOn(_this__u8e3s4, action);
750
708
  }
751
709
  function Companion_5() {
752
- Companion_instance_5 = this;
753
710
  }
754
- protoOf(Companion_5).ap = function (source) {
711
+ protoOf(Companion_5).tp = function (source) {
755
712
  var tmp;
756
- if (source.m()) {
713
+ if (source.p()) {
757
714
  tmp = new LazyCursor(source);
758
715
  } else {
759
716
  tmp = EmptyCursor_getInstance();
@@ -762,69 +719,66 @@
762
719
  };
763
720
  var Companion_instance_5;
764
721
  function Companion_getInstance_5() {
765
- if (Companion_instance_5 == null)
766
- new Companion_5();
767
722
  return Companion_instance_5;
768
723
  }
769
724
  function AbstractCursor$iterator$1(this$0) {
770
- this.gr_1 = this$0;
725
+ this.as_1 = this$0;
771
726
  }
772
- protoOf(AbstractCursor$iterator$1).m = function () {
773
- return !this.gr_1.zo();
727
+ protoOf(AbstractCursor$iterator$1).p = function () {
728
+ return !this.as_1.sp();
774
729
  };
775
- protoOf(AbstractCursor$iterator$1).n = function () {
776
- var result = this.gr_1.xo();
777
- this.gr_1 = this.gr_1.wo();
730
+ protoOf(AbstractCursor$iterator$1).r = function () {
731
+ var result = this.as_1.qp();
732
+ this.as_1 = this.as_1.pp();
778
733
  return ensureNotNull(result);
779
734
  };
780
735
  function AbstractCursor() {
781
- Companion_getInstance_5();
782
736
  }
783
737
  protoOf(AbstractCursor).toString = function () {
784
- return this.zo() ? '[]' : !this.yo() ? '[' + this.xo() + ']' : '[' + this.xo() + ', ...]';
738
+ return this.sp() ? '[]' : !this.rp() ? '[' + this.qp() + ']' : '[' + this.qp() + ', ...]';
785
739
  };
786
- protoOf(AbstractCursor).j = function () {
740
+ protoOf(AbstractCursor).o = function () {
787
741
  return new AbstractCursor$iterator$1(this);
788
742
  };
789
743
  protoOf(AbstractCursor).iterator = function () {
790
- return this.j();
744
+ return this.o();
791
745
  };
792
- protoOf(AbstractCursor).hr = function () {
746
+ protoOf(AbstractCursor).bs = function () {
793
747
  return false;
794
748
  };
795
- protoOf(AbstractCursor).ir = function (mapper) {
749
+ protoOf(AbstractCursor).cs = function (mapper) {
796
750
  return new MapperCursor(this, mapper);
797
751
  };
798
752
  protoOf(AbstractCursor).map = function (mapper) {
799
- return this.ir(mapper);
753
+ return this.cs(mapper);
800
754
  };
801
755
  function CachedImpl(generator) {
802
- this.jr_1 = generator;
803
- this.kr_1 = Companion_getInstance_4().ro();
756
+ this.ds_1 = generator;
757
+ this.es_1 = Companion_instance_4.kp();
804
758
  }
805
- protoOf(CachedImpl).oo = function () {
806
- return this.kr_1.dr();
759
+ protoOf(CachedImpl).hp = function () {
760
+ return this.es_1.xr();
807
761
  };
808
- protoOf(CachedImpl).lr = function () {
809
- return this.kr_1.er();
762
+ protoOf(CachedImpl).fs = function () {
763
+ return this.es_1.yr();
810
764
  };
811
- protoOf(CachedImpl).p2 = function () {
812
- this.mr();
813
- return ensureNotNull(this.kr_1.p2());
765
+ protoOf(CachedImpl).q2 = function () {
766
+ this.gs();
767
+ return ensureNotNull(this.es_1.q2());
814
768
  };
815
- protoOf(CachedImpl).mr = function () {
816
- if (this.lr()) {
817
- this.kr_1 = Companion_getInstance_4().cr(this.jr_1());
769
+ protoOf(CachedImpl).gs = function () {
770
+ if (this.fs()) {
771
+ this.es_1 = Companion_instance_4.wr(this.ds_1());
818
772
  }
819
773
  };
820
- protoOf(CachedImpl).po = function () {
821
- this.kr_1 = Companion_getInstance_4().ro();
774
+ protoOf(CachedImpl).ip = function () {
775
+ this.es_1 = Companion_instance_4.kp();
822
776
  };
823
777
  protoOf(CachedImpl).toString = function () {
824
- return 'CachedImpl(generator=' + this.jr_1 + ')';
778
+ return 'CachedImpl(generator=' + this.ds_1 + ')';
825
779
  };
826
780
  protoOf(CachedImpl).hashCode = function () {
827
- return hashCode(this.jr_1);
781
+ return hashCode(this.ds_1);
828
782
  };
829
783
  protoOf(CachedImpl).equals = function (other) {
830
784
  if (this === other)
@@ -832,90 +786,87 @@
832
786
  if (!(other instanceof CachedImpl))
833
787
  return false;
834
788
  var tmp0_other_with_cast = other instanceof CachedImpl ? other : THROW_CCE();
835
- if (!equals(this.jr_1, tmp0_other_with_cast.jr_1))
789
+ if (!equals(this.ds_1, tmp0_other_with_cast.ds_1))
836
790
  return false;
837
791
  return true;
838
792
  };
839
793
  function ConjunctionCursor$next$delegate$lambda(this$0) {
840
794
  return function () {
841
- return this$0.nr_1.yo() ? new ConjunctionCursor(this$0.nr_1.wo(), this$0.pr_1) : this$0.pr_1.hr() ? this$0.pr_1.wo() : this$0.pr_1;
795
+ return this$0.hs_1.rp() ? new ConjunctionCursor(this$0.hs_1.pp(), this$0.is_1) : this$0.is_1.bs() ? this$0.is_1.pp() : this$0.is_1;
842
796
  };
843
797
  }
844
798
  function ConjunctionCursor(first, second) {
845
799
  AbstractCursor.call(this);
846
- this.nr_1 = first;
847
- this.pr_1 = second;
800
+ this.hs_1 = first;
801
+ this.is_1 = second;
848
802
  var tmp = this;
849
- tmp.qr_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
803
+ tmp.js_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
850
804
  }
851
- protoOf(ConjunctionCursor).zo = function () {
852
- return this.nr_1.zo() ? this.pr_1.zo() : false;
805
+ protoOf(ConjunctionCursor).sp = function () {
806
+ return this.hs_1.sp() ? this.is_1.sp() : false;
853
807
  };
854
- protoOf(ConjunctionCursor).wo = function () {
855
- var tmp$ret$0;
808
+ protoOf(ConjunctionCursor).pp = function () {
856
809
  // Inline function 'kotlin.getValue' call
857
- var tmp0_getValue = next$factory();
858
- tmp$ret$0 = this.qr_1.p2();
859
- return tmp$ret$0;
810
+ var this_0 = this.js_1;
811
+ next$factory();
812
+ return this_0.q2();
860
813
  };
861
- protoOf(ConjunctionCursor).xo = function () {
862
- return this.nr_1.yo() ? this.nr_1.xo() : this.pr_1.xo();
814
+ protoOf(ConjunctionCursor).qp = function () {
815
+ return this.hs_1.rp() ? this.hs_1.qp() : this.is_1.qp();
863
816
  };
864
- protoOf(ConjunctionCursor).yo = function () {
865
- return this.nr_1.yo() ? true : this.pr_1.yo();
817
+ protoOf(ConjunctionCursor).rp = function () {
818
+ return this.hs_1.rp() ? true : this.is_1.rp();
866
819
  };
867
820
  protoOf(ConjunctionCursor).equals = function (other) {
868
821
  if (this === other)
869
822
  return true;
870
823
  if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
871
824
  return false;
872
- if (other instanceof ConjunctionCursor)
873
- other;
874
- else
825
+ if (!(other instanceof ConjunctionCursor))
875
826
  THROW_CCE();
876
- if (!equals(this.nr_1, other.nr_1))
827
+ if (!equals(this.hs_1, other.hs_1))
877
828
  return false;
878
- if (!equals(this.pr_1, other.pr_1))
829
+ if (!equals(this.is_1, other.is_1))
879
830
  return false;
880
831
  return true;
881
832
  };
882
833
  protoOf(ConjunctionCursor).hashCode = function () {
883
- var result = hashCode(this.nr_1);
884
- result = imul(31, result) + hashCode(this.pr_1) | 0;
834
+ var result = hashCode(this.hs_1);
835
+ result = imul(31, result) + hashCode(this.is_1) | 0;
885
836
  return result;
886
837
  };
887
838
  function next$factory() {
888
839
  return getPropertyCallableRef('next', 1, KProperty1, function (receiver) {
889
- return receiver.wo();
840
+ return receiver.pp();
890
841
  }, null);
891
842
  }
892
843
  function EmptyCursor() {
893
844
  EmptyCursor_instance = this;
894
845
  AbstractCursor.call(this);
895
846
  }
896
- protoOf(EmptyCursor).wo = function () {
847
+ protoOf(EmptyCursor).pp = function () {
897
848
  throw NoSuchElementException_init_$Create$();
898
849
  };
899
- protoOf(EmptyCursor).xo = function () {
850
+ protoOf(EmptyCursor).qp = function () {
900
851
  return null;
901
852
  };
902
- protoOf(EmptyCursor).yo = function () {
853
+ protoOf(EmptyCursor).rp = function () {
903
854
  return false;
904
855
  };
905
- protoOf(EmptyCursor).zo = function () {
856
+ protoOf(EmptyCursor).sp = function () {
906
857
  return true;
907
858
  };
908
859
  protoOf(EmptyCursor).toString = function () {
909
860
  return protoOf(AbstractCursor).toString.call(this);
910
861
  };
911
- protoOf(EmptyCursor).rr = function (mapper) {
862
+ protoOf(EmptyCursor).ks = function (mapper) {
912
863
  return this;
913
864
  };
914
865
  protoOf(EmptyCursor).map = function (mapper) {
915
- return this.rr(mapper);
866
+ return this.ks(mapper);
916
867
  };
917
- protoOf(EmptyCursor).ir = function (mapper) {
918
- return this.rr(mapper);
868
+ protoOf(EmptyCursor).cs = function (mapper) {
869
+ return this.ks(mapper);
919
870
  };
920
871
  var EmptyCursor_instance;
921
872
  function EmptyCursor_getInstance() {
@@ -924,27 +875,27 @@
924
875
  return EmptyCursor_instance;
925
876
  }
926
877
  function IntIndexedImpl(index, value) {
927
- this.sr_1 = index;
928
- this.tr_1 = value;
878
+ this.ls_1 = index;
879
+ this.ms_1 = value;
929
880
  }
930
- protoOf(IntIndexedImpl).bp = function () {
931
- return this.sr_1;
881
+ protoOf(IntIndexedImpl).up = function () {
882
+ return this.ls_1;
932
883
  };
933
- protoOf(IntIndexedImpl).p2 = function () {
934
- return this.tr_1;
884
+ protoOf(IntIndexedImpl).q2 = function () {
885
+ return this.ms_1;
935
886
  };
936
- protoOf(IntIndexedImpl).r3 = function () {
937
- return this.sr_1;
887
+ protoOf(IntIndexedImpl).dd = function () {
888
+ return this.ls_1;
938
889
  };
939
- protoOf(IntIndexedImpl).s3 = function () {
940
- return this.tr_1;
890
+ protoOf(IntIndexedImpl).ed = function () {
891
+ return this.ms_1;
941
892
  };
942
893
  protoOf(IntIndexedImpl).toString = function () {
943
- return 'IntIndexedImpl(index=' + this.sr_1 + ', value=' + this.tr_1 + ')';
894
+ return 'IntIndexedImpl(index=' + this.ls_1 + ', value=' + this.ms_1 + ')';
944
895
  };
945
896
  protoOf(IntIndexedImpl).hashCode = function () {
946
- var result = this.sr_1;
947
- result = imul(result, 31) + (this.tr_1 == null ? 0 : hashCode(this.tr_1)) | 0;
897
+ var result = this.ls_1;
898
+ result = imul(result, 31) + (this.ms_1 == null ? 0 : hashCode(this.ms_1)) | 0;
948
899
  return result;
949
900
  };
950
901
  protoOf(IntIndexedImpl).equals = function (other) {
@@ -953,59 +904,58 @@
953
904
  if (!(other instanceof IntIndexedImpl))
954
905
  return false;
955
906
  var tmp0_other_with_cast = other instanceof IntIndexedImpl ? other : THROW_CCE();
956
- if (!(this.sr_1 === tmp0_other_with_cast.sr_1))
907
+ if (!(this.ls_1 === tmp0_other_with_cast.ls_1))
957
908
  return false;
958
- if (!equals(this.tr_1, tmp0_other_with_cast.tr_1))
909
+ if (!equals(this.ms_1, tmp0_other_with_cast.ms_1))
959
910
  return false;
960
911
  return true;
961
912
  };
962
- protoOf(IntIndexedImpl).gf = function (other) {
963
- return this.dp((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
913
+ protoOf(IntIndexedImpl).r9 = function (other) {
914
+ return this.wp((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
964
915
  };
965
916
  function _get_wrapped__s2ip8($this) {
966
- var tmp$ret$0;
967
917
  // Inline function 'kotlin.getValue' call
968
- var tmp0_getValue = wrapped$factory();
969
- tmp$ret$0 = $this.vr_1.p2();
970
- return tmp$ret$0;
918
+ var this_0 = $this.os_1;
919
+ wrapped$factory();
920
+ return this_0.q2();
971
921
  }
972
922
  function LazyCursor$wrapped$delegate$lambda(this$0) {
973
923
  return function () {
974
- return new NonLastCursor(this$0.ur_1);
924
+ return new NonLastCursor(this$0.ns_1);
975
925
  };
976
926
  }
977
927
  function LazyCursor(delegate) {
978
928
  AbstractCursor.call(this);
979
- this.ur_1 = delegate;
929
+ this.ns_1 = delegate;
980
930
  var tmp = this;
981
- tmp.vr_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
931
+ tmp.os_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
982
932
  }
983
- protoOf(LazyCursor).hr = function () {
933
+ protoOf(LazyCursor).bs = function () {
984
934
  return true;
985
935
  };
986
- protoOf(LazyCursor).wo = function () {
987
- return _get_wrapped__s2ip8(this).wo();
936
+ protoOf(LazyCursor).pp = function () {
937
+ return _get_wrapped__s2ip8(this).pp();
988
938
  };
989
- protoOf(LazyCursor).xo = function () {
990
- return _get_wrapped__s2ip8(this).xo();
939
+ protoOf(LazyCursor).qp = function () {
940
+ return _get_wrapped__s2ip8(this).qp();
991
941
  };
992
- protoOf(LazyCursor).yo = function () {
942
+ protoOf(LazyCursor).rp = function () {
993
943
  return true;
994
944
  };
995
- protoOf(LazyCursor).zo = function () {
945
+ protoOf(LazyCursor).sp = function () {
996
946
  return false;
997
947
  };
998
948
  protoOf(LazyCursor).toString = function () {
999
949
  return protoOf(AbstractCursor).toString.call(this);
1000
950
  };
1001
- protoOf(LazyCursor).j = function () {
1002
- return _get_wrapped__s2ip8(this).j();
951
+ protoOf(LazyCursor).o = function () {
952
+ return _get_wrapped__s2ip8(this).o();
1003
953
  };
1004
954
  protoOf(LazyCursor).iterator = function () {
1005
- return this.j();
955
+ return this.o();
1006
956
  };
1007
957
  protoOf(LazyCursor).hashCode = function () {
1008
- return hashCode(this.ur_1);
958
+ return hashCode(this.ns_1);
1009
959
  };
1010
960
  protoOf(LazyCursor).equals = function (other) {
1011
961
  if (this === other)
@@ -1013,7 +963,7 @@
1013
963
  if (!(other instanceof LazyCursor))
1014
964
  return false;
1015
965
  var tmp0_other_with_cast = other instanceof LazyCursor ? other : THROW_CCE();
1016
- if (!equals(this.ur_1, tmp0_other_with_cast.ur_1))
966
+ if (!equals(this.ns_1, tmp0_other_with_cast.ns_1))
1017
967
  return false;
1018
968
  return true;
1019
969
  };
@@ -1023,27 +973,27 @@
1023
973
  }, null);
1024
974
  }
1025
975
  function LongIndexedImpl(index, value) {
1026
- this.wr_1 = index;
1027
- this.xr_1 = value;
976
+ this.ps_1 = index;
977
+ this.qs_1 = value;
1028
978
  }
1029
- protoOf(LongIndexedImpl).bp = function () {
1030
- return this.wr_1;
979
+ protoOf(LongIndexedImpl).up = function () {
980
+ return this.ps_1;
1031
981
  };
1032
- protoOf(LongIndexedImpl).p2 = function () {
1033
- return this.xr_1;
982
+ protoOf(LongIndexedImpl).q2 = function () {
983
+ return this.qs_1;
1034
984
  };
1035
- protoOf(LongIndexedImpl).br = function (other) {
1036
- return this.wr_1.tf(other.bp()).e1();
985
+ protoOf(LongIndexedImpl).vr = function (other) {
986
+ return this.ps_1.ja(other.up()).z8();
1037
987
  };
1038
- protoOf(LongIndexedImpl).gf = function (other) {
1039
- return this.br((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
988
+ protoOf(LongIndexedImpl).r9 = function (other) {
989
+ return this.vr((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
1040
990
  };
1041
991
  protoOf(LongIndexedImpl).toString = function () {
1042
- return 'LongIndexedImpl(index=' + toString(this.wr_1) + ', value=' + this.xr_1 + ')';
992
+ return 'LongIndexedImpl(index=' + this.ps_1.toString() + ', value=' + this.qs_1 + ')';
1043
993
  };
1044
994
  protoOf(LongIndexedImpl).hashCode = function () {
1045
- var result = this.wr_1.hashCode();
1046
- result = imul(result, 31) + (this.xr_1 == null ? 0 : hashCode(this.xr_1)) | 0;
995
+ var result = this.ps_1.hashCode();
996
+ result = imul(result, 31) + (this.qs_1 == null ? 0 : hashCode(this.qs_1)) | 0;
1047
997
  return result;
1048
998
  };
1049
999
  protoOf(LongIndexedImpl).equals = function (other) {
@@ -1052,38 +1002,37 @@
1052
1002
  if (!(other instanceof LongIndexedImpl))
1053
1003
  return false;
1054
1004
  var tmp0_other_with_cast = other instanceof LongIndexedImpl ? other : THROW_CCE();
1055
- if (!this.wr_1.equals(tmp0_other_with_cast.wr_1))
1005
+ if (!this.ps_1.equals(tmp0_other_with_cast.ps_1))
1056
1006
  return false;
1057
- if (!equals(this.xr_1, tmp0_other_with_cast.xr_1))
1007
+ if (!equals(this.qs_1, tmp0_other_with_cast.qs_1))
1058
1008
  return false;
1059
1009
  return true;
1060
1010
  };
1061
1011
  function MapperCursor$current$delegate$lambda(this$0) {
1062
1012
  return function () {
1063
- return this$0.zr_1(ensureNotNull(this$0.yr_1.xo()));
1013
+ return this$0.ss_1(ensureNotNull(this$0.rs_1.qp()));
1064
1014
  };
1065
1015
  }
1066
1016
  function MapperCursor(wrapped, mapper) {
1067
1017
  AbstractCursor.call(this);
1068
- this.yr_1 = wrapped;
1069
- this.zr_1 = mapper;
1018
+ this.rs_1 = wrapped;
1019
+ this.ss_1 = mapper;
1070
1020
  var tmp = this;
1071
- tmp.as_1 = lazy(MapperCursor$current$delegate$lambda(this));
1021
+ tmp.ts_1 = lazy(MapperCursor$current$delegate$lambda(this));
1072
1022
  }
1073
- protoOf(MapperCursor).wo = function () {
1074
- return this.yr_1.wo().ir(this.zr_1);
1023
+ protoOf(MapperCursor).pp = function () {
1024
+ return this.rs_1.pp().cs(this.ss_1);
1075
1025
  };
1076
- protoOf(MapperCursor).xo = function () {
1077
- var tmp$ret$0;
1026
+ protoOf(MapperCursor).qp = function () {
1078
1027
  // Inline function 'kotlin.getValue' call
1079
- var tmp0_getValue = current$factory();
1080
- tmp$ret$0 = this.as_1.p2();
1081
- return tmp$ret$0;
1028
+ var this_0 = this.ts_1;
1029
+ current$factory();
1030
+ return this_0.q2();
1082
1031
  };
1083
- protoOf(MapperCursor).yo = function () {
1032
+ protoOf(MapperCursor).rp = function () {
1084
1033
  return true;
1085
1034
  };
1086
- protoOf(MapperCursor).zo = function () {
1035
+ protoOf(MapperCursor).sp = function () {
1087
1036
  return false;
1088
1037
  };
1089
1038
  protoOf(MapperCursor).equals = function (other) {
@@ -1091,68 +1040,63 @@
1091
1040
  return true;
1092
1041
  if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1093
1042
  return false;
1094
- if (other instanceof MapperCursor)
1095
- other;
1096
- else
1043
+ if (!(other instanceof MapperCursor))
1097
1044
  THROW_CCE();
1098
- if (!equals(this.yr_1, other.yr_1))
1045
+ if (!equals(this.rs_1, other.rs_1))
1099
1046
  return false;
1100
- if (!equals(this.zr_1, other.zr_1))
1047
+ if (!equals(this.ss_1, other.ss_1))
1101
1048
  return false;
1102
1049
  return true;
1103
1050
  };
1104
1051
  protoOf(MapperCursor).hashCode = function () {
1105
- var result = hashCode(this.yr_1);
1106
- result = imul(31, result) + hashCode(this.zr_1) | 0;
1052
+ var result = hashCode(this.rs_1);
1053
+ result = imul(31, result) + hashCode(this.ss_1) | 0;
1107
1054
  return result;
1108
1055
  };
1109
- protoOf(MapperCursor).bs = function (mapper) {
1110
- return new ValueCursor(mapper(this.xo()), this.wo().ir(mapper));
1056
+ protoOf(MapperCursor).us = function (mapper) {
1057
+ return new ValueCursor(mapper(this.qp()), this.pp().cs(mapper));
1111
1058
  };
1112
1059
  protoOf(MapperCursor).map = function (mapper) {
1113
- return this.bs(mapper);
1060
+ return this.us(mapper);
1114
1061
  };
1115
- protoOf(MapperCursor).ir = function (mapper) {
1116
- return this.bs(mapper);
1062
+ protoOf(MapperCursor).cs = function (mapper) {
1063
+ return this.us(mapper);
1117
1064
  };
1118
1065
  function current$factory() {
1119
1066
  return getPropertyCallableRef('current', 1, KProperty1, function (receiver) {
1120
- return receiver.xo();
1067
+ return receiver.qp();
1121
1068
  }, null);
1122
1069
  }
1123
1070
  function NonLastCursor$next$delegate$lambda($source, this$0) {
1124
1071
  return function () {
1125
- var tmp$ret$0;
1126
1072
  // Inline function 'kotlin.also' call
1127
- var tmp0_also = Companion_getInstance_5().ap($source);
1073
+ var this_0 = Companion_instance_5.tp($source);
1128
1074
  // Inline function 'kotlin.contracts.contract' call
1129
1075
  // Inline function 'it.unibo.tuprolog.utils.impl.NonLastCursor.next$delegate.<anonymous>.<anonymous>' call
1130
- this$0.cs_1 = null;
1131
- tmp$ret$0 = tmp0_also;
1132
- return tmp$ret$0;
1076
+ this$0.vs_1 = null;
1077
+ return this_0;
1133
1078
  };
1134
1079
  }
1135
1080
  function NonLastCursor(source) {
1136
1081
  AbstractCursor.call(this);
1137
- this.cs_1 = source;
1082
+ this.vs_1 = source;
1138
1083
  var tmp = this;
1139
- tmp.ds_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
1140
- this.es_1 = source.n();
1084
+ tmp.ws_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
1085
+ this.xs_1 = source.r();
1141
1086
  }
1142
- protoOf(NonLastCursor).wo = function () {
1143
- var tmp$ret$0;
1087
+ protoOf(NonLastCursor).pp = function () {
1144
1088
  // Inline function 'kotlin.getValue' call
1145
- var tmp0_getValue = next$factory_0();
1146
- tmp$ret$0 = this.ds_1.p2();
1147
- return tmp$ret$0;
1089
+ var this_0 = this.ws_1;
1090
+ next$factory_0();
1091
+ return this_0.q2();
1148
1092
  };
1149
- protoOf(NonLastCursor).xo = function () {
1150
- return this.es_1;
1093
+ protoOf(NonLastCursor).qp = function () {
1094
+ return this.xs_1;
1151
1095
  };
1152
- protoOf(NonLastCursor).yo = function () {
1096
+ protoOf(NonLastCursor).rp = function () {
1153
1097
  return true;
1154
1098
  };
1155
- protoOf(NonLastCursor).zo = function () {
1099
+ protoOf(NonLastCursor).sp = function () {
1156
1100
  return false;
1157
1101
  };
1158
1102
  protoOf(NonLastCursor).toString = function () {
@@ -1160,85 +1104,80 @@
1160
1104
  };
1161
1105
  function next$factory_0() {
1162
1106
  return getPropertyCallableRef('next', 1, KProperty1, function (receiver) {
1163
- return receiver.wo();
1107
+ return receiver.pp();
1164
1108
  }, null);
1165
1109
  }
1166
1110
  function removeLeastRecent($this) {
1167
- var tmp$ret$0;
1168
- // Inline function 'kotlin.collections.iterator' call
1169
- var tmp0_iterator = $this.gs_1;
1170
- tmp$ret$0 = tmp0_iterator.y().j();
1171
- var entry = tmp$ret$0.n();
1172
- $this.gs_1.i4(entry.n2());
1173
- var tmp = Companion_getInstance_4();
1174
- var tmp$ret$1;
1175
- // Inline function 'kotlin.collections.toPair' call
1176
- tmp$ret$1 = new Pair(entry.n2(), entry.p2());
1177
- return tmp.cr(tmp$ret$1);
1111
+ // Inline function 'kotlin.collections.asIterable' call
1112
+ var tmp$ret$0 = $this.zs_1.o2();
1113
+ var tmp0_container = first(tmp$ret$0);
1114
+ // Inline function 'kotlin.collections.component1' call
1115
+ var key = tmp0_container.p2();
1116
+ // Inline function 'kotlin.collections.component2' call
1117
+ var value = tmp0_container.q2();
1118
+ $this.zs_1.n2(key);
1119
+ return Companion_instance_4.wr(to(key, value));
1178
1120
  }
1179
1121
  function removeLeastRecentIfNecessary($this) {
1180
1122
  var tmp;
1181
- if ($this.gs_1.p() >= $this.fs_1) {
1123
+ if ($this.zs_1.u() >= $this.ys_1) {
1182
1124
  tmp = removeLeastRecent($this);
1183
1125
  } else {
1184
- return Companion_getInstance_4().ro();
1126
+ tmp = Companion_instance_4.kp();
1185
1127
  }
1186
1128
  return tmp;
1187
1129
  }
1188
1130
  function SimpleLRUCache$set$lambda(this$0, $key, $value) {
1189
1131
  return function () {
1190
1132
  var evicted = removeLeastRecentIfNecessary(this$0);
1191
- var tmp0_set = this$0.gs_1;
1192
- tmp0_set.h4($key, $value);
1133
+ var this_0 = this$0.zs_1;
1134
+ var key = $key;
1135
+ var value = $value;
1136
+ this_0.m2(key, value);
1193
1137
  return evicted;
1194
1138
  };
1195
1139
  }
1196
1140
  function SimpleLRUCache$get$lambda(this$0, $key) {
1197
1141
  return function () {
1198
1142
  var tmp;
1199
- if (this$0.gs_1.x2($key)) {
1200
- tmp = Companion_getInstance_4().so(this$0.gs_1.d3($key));
1143
+ if (this$0.zs_1.t2($key)) {
1144
+ tmp = Companion_instance_4.lp(this$0.zs_1.w2($key));
1201
1145
  } else {
1202
- tmp = Companion_getInstance_4().ro();
1146
+ tmp = Companion_instance_4.kp();
1203
1147
  }
1204
1148
  return tmp;
1205
1149
  };
1206
1150
  }
1207
1151
  function SimpleLRUCache$toSequence$lambda$lambda(it) {
1208
- var tmp$ret$0;
1209
1152
  // Inline function 'kotlin.collections.toPair' call
1210
- tmp$ret$0 = new Pair(it.n2(), it.p2());
1211
- return tmp$ret$0;
1153
+ return new Pair(it.p2(), it.q2());
1212
1154
  }
1213
1155
  function SimpleLRUCache$toSequence$lambda(this$0) {
1214
1156
  return function () {
1215
- var tmp = asSequence(this$0.gs_1.y());
1157
+ var tmp = asSequence(this$0.zs_1.o2());
1216
1158
  return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
1217
1159
  };
1218
1160
  }
1219
1161
  function SimpleLRUCache$toString$lambda(it) {
1220
- return '' + it.f4_1 + ' = ' + it.g4_1;
1162
+ return '' + it.md_1 + ' = ' + it.nd_1;
1221
1163
  }
1222
1164
  function SimpleLRUCache(capacity) {
1223
- this.fs_1 = capacity;
1165
+ this.ys_1 = capacity;
1224
1166
  // Inline function 'kotlin.require' call
1225
- var tmp0_require = this.fs_1 > 0;
1226
1167
  // Inline function 'kotlin.contracts.contract' call
1227
1168
  // Inline function 'kotlin.require' call
1228
1169
  // Inline function 'kotlin.contracts.contract' call
1229
- if (!tmp0_require) {
1230
- var tmp$ret$0;
1170
+ if (!(this.ys_1 > 0)) {
1231
1171
  // Inline function 'kotlin.require.<anonymous>' call
1232
- tmp$ret$0 = 'Failed requirement.';
1233
- var message = tmp$ret$0;
1172
+ var message = 'Failed requirement.';
1234
1173
  throw IllegalArgumentException_init_$Create$(toString(message));
1235
1174
  }
1236
- this.gs_1 = LinkedHashMap_init_$Create$();
1175
+ this.zs_1 = LinkedHashMap_init_$Create$();
1237
1176
  }
1238
- protoOf(SimpleLRUCache).ko = function (key, value) {
1177
+ protoOf(SimpleLRUCache).dp = function (key, value) {
1239
1178
  return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
1240
1179
  };
1241
- protoOf(SimpleLRUCache).d3 = function (key) {
1180
+ protoOf(SimpleLRUCache).w2 = function (key) {
1242
1181
  return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
1243
1182
  };
1244
1183
  protoOf(SimpleLRUCache).equals = function (other) {
@@ -1246,43 +1185,41 @@
1246
1185
  return true;
1247
1186
  if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1248
1187
  return false;
1249
- if (other instanceof SimpleLRUCache)
1250
- other;
1251
- else
1188
+ if (!(other instanceof SimpleLRUCache))
1252
1189
  THROW_CCE();
1253
- if (!(this.fs_1 === other.fs_1))
1190
+ if (!(this.ys_1 === other.ys_1))
1254
1191
  return false;
1255
- if (!this.gs_1.equals(other.gs_1))
1192
+ if (!this.zs_1.equals(other.zs_1))
1256
1193
  return false;
1257
1194
  return true;
1258
1195
  };
1259
1196
  protoOf(SimpleLRUCache).hashCode = function () {
1260
- var result = this.fs_1;
1261
- result = imul(31, result) + this.gs_1.hashCode() | 0;
1197
+ var result = this.ys_1;
1198
+ result = imul(31, result) + this.zs_1.hashCode() | 0;
1262
1199
  return result;
1263
1200
  };
1264
- protoOf(SimpleLRUCache).hs = function () {
1201
+ protoOf(SimpleLRUCache).at = function () {
1265
1202
  return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
1266
1203
  };
1267
1204
  protoOf(SimpleLRUCache).toString = function () {
1268
- var tmp = this.hs();
1205
+ var tmp = this.at();
1269
1206
  return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
1270
1207
  };
1271
1208
  function ValueCursor(current, next) {
1272
1209
  AbstractCursor.call(this);
1273
- this.is_1 = current;
1274
- this.js_1 = next;
1210
+ this.bt_1 = current;
1211
+ this.ct_1 = next;
1275
1212
  }
1276
- protoOf(ValueCursor).xo = function () {
1277
- return this.is_1;
1213
+ protoOf(ValueCursor).qp = function () {
1214
+ return this.bt_1;
1278
1215
  };
1279
- protoOf(ValueCursor).wo = function () {
1280
- return this.js_1;
1216
+ protoOf(ValueCursor).pp = function () {
1217
+ return this.ct_1;
1281
1218
  };
1282
- protoOf(ValueCursor).yo = function () {
1219
+ protoOf(ValueCursor).rp = function () {
1283
1220
  return true;
1284
1221
  };
1285
- protoOf(ValueCursor).zo = function () {
1222
+ protoOf(ValueCursor).sp = function () {
1286
1223
  return false;
1287
1224
  };
1288
1225
  function dequeOf(items) {
@@ -1292,34 +1229,30 @@
1292
1229
  return mutableListOf(items.slice());
1293
1230
  }
1294
1231
  function dequeOf_1(items) {
1295
- var tmp$ret$1;
1296
1232
  // Inline function 'kotlin.also' call
1297
- var tmp$ret$0;
1298
1233
  // Inline function 'kotlin.collections.mutableListOf' call
1299
- tmp$ret$0 = ArrayList_init_$Create$_0();
1300
- var tmp0_also = tmp$ret$0;
1234
+ var this_0 = ArrayList_init_$Create$_0();
1301
1235
  // Inline function 'kotlin.contracts.contract' call
1302
1236
  // Inline function 'it.unibo.tuprolog.utils.dequeOf.<anonymous>' call
1303
- addAll(tmp0_also, items);
1304
- tmp$ret$1 = tmp0_also;
1305
- return tmp$ret$1;
1237
+ addAll(this_0, items);
1238
+ return this_0;
1306
1239
  }
1307
1240
  function takeFirst(_this__u8e3s4) {
1308
- if (_this__u8e3s4.d())
1241
+ if (_this__u8e3s4.w())
1309
1242
  return null;
1310
- var first = _this__u8e3s4.o(0);
1311
- _this__u8e3s4.u4(0);
1243
+ var first = _this__u8e3s4.a1(0);
1244
+ _this__u8e3s4.c1(0);
1312
1245
  return first;
1313
1246
  }
1314
1247
  function addFirst(_this__u8e3s4, item) {
1315
- _this__u8e3s4.na(0, item);
1248
+ _this__u8e3s4.n1(0, item);
1316
1249
  }
1317
1250
  function addFirst_0(_this__u8e3s4, items) {
1318
- var i = _this__u8e3s4.ua();
1319
- var tmp0_iterator = items.j();
1320
- while (tmp0_iterator.m()) {
1321
- var item = tmp0_iterator.n();
1322
- i.oa(item);
1251
+ var i = _this__u8e3s4.y1();
1252
+ var tmp0_iterator = items.o();
1253
+ while (tmp0_iterator.p()) {
1254
+ var item = tmp0_iterator.r();
1255
+ i.o1(item);
1323
1256
  }
1324
1257
  }
1325
1258
  function synchronizedOn(obj, action) {
@@ -1332,28 +1265,25 @@
1332
1265
  //region block: post-declaration
1333
1266
  protoOf(AbstractCursor).asIterable = asIterable_1;
1334
1267
  protoOf(AbstractCursor).asSequence = asSequence_0;
1335
- protoOf(CachedImpl).qo = ifValid;
1336
- protoOf(ConjunctionCursor).asIterable = asIterable_1;
1337
- protoOf(ConjunctionCursor).asSequence = asSequence_0;
1338
- protoOf(EmptyCursor).asIterable = asIterable_1;
1339
- protoOf(EmptyCursor).asSequence = asSequence_0;
1340
- protoOf(IntIndexedImpl).dp = compareTo;
1341
- protoOf(LazyCursor).asIterable = asIterable_1;
1342
- protoOf(LazyCursor).asSequence = asSequence_0;
1343
- protoOf(MapperCursor).asIterable = asIterable_1;
1344
- protoOf(MapperCursor).asSequence = asSequence_0;
1345
- protoOf(NonLastCursor).asIterable = asIterable_1;
1346
- protoOf(NonLastCursor).asSequence = asSequence_0;
1347
- protoOf(SimpleLRUCache).lo = getOrSet;
1348
- protoOf(ValueCursor).asIterable = asIterable_1;
1349
- protoOf(ValueCursor).asSequence = asSequence_0;
1268
+ protoOf(CachedImpl).jp = ifValid;
1269
+ protoOf(IntIndexedImpl).wp = compareTo;
1270
+ protoOf(SimpleLRUCache).ep = getOrSet;
1271
+ //endregion
1272
+ //region block: init
1273
+ Companion_instance = new Companion();
1274
+ Companion_instance_0 = new Companion_0();
1275
+ Companion_instance_1 = new Companion_1();
1276
+ Companion_instance_2 = new Companion_2();
1277
+ Companion_instance_3 = new Companion_3();
1278
+ Companion_instance_4 = new Companion_4();
1279
+ Companion_instance_5 = new Companion_5();
1350
1280
  //endregion
1351
1281
  //region block: exports
1352
1282
  _.$_$ = _.$_$ || {};
1353
- _.$_$.a = Companion_getInstance;
1354
- _.$_$.b = Companion_getInstance_0;
1355
- _.$_$.c = Companion_getInstance_1;
1356
- _.$_$.d = Companion_getInstance_3;
1283
+ _.$_$.a = Companion_instance;
1284
+ _.$_$.b = Companion_instance_0;
1285
+ _.$_$.c = Companion_instance_1;
1286
+ _.$_$.d = Companion_instance_3;
1357
1287
  _.$_$.e = castTo;
1358
1288
  _.$_$.f = Castable;
1359
1289
  _.$_$.g = compareTo_0;