@tuprolog/2p-full 0.31.5-dev0f → 0.31.5-dev0n

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 (64) hide show
  1. package/2p-bdd.js +234 -229
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +5576 -6196
  4. package/2p-core.js.map +1 -1
  5. package/2p-datalog.js +9 -2
  6. package/2p-datalog.js.map +1 -1
  7. package/2p-dsl-core.js +9 -2
  8. package/2p-dsl-core.js.map +1 -1
  9. package/2p-dsl-solve.js +9 -2
  10. package/2p-dsl-solve.js.map +1 -1
  11. package/2p-dsl-theory.js +9 -2
  12. package/2p-dsl-theory.js.map +1 -1
  13. package/2p-dsl-unify.js +9 -2
  14. package/2p-dsl-unify.js.map +1 -1
  15. package/2p-full.js +26 -3
  16. package/2p-full.js.map +1 -1
  17. package/2p-io-lib.js +903 -926
  18. package/2p-io-lib.js.map +1 -1
  19. package/2p-oop-lib.js +1298 -1327
  20. package/2p-oop-lib.js.map +1 -1
  21. package/2p-parser-core.js +352 -356
  22. package/2p-parser-core.js.map +1 -1
  23. package/2p-parser-js.js +14 -3
  24. package/2p-parser-js.js.map +1 -1
  25. package/2p-parser-theory.js +66 -41
  26. package/2p-parser-theory.js.map +1 -1
  27. package/2p-repl.js +175 -173
  28. package/2p-repl.js.map +1 -1
  29. package/2p-serialize-core.js +9 -2
  30. package/2p-serialize-core.js.map +1 -1
  31. package/2p-serialize-theory.js +9 -2
  32. package/2p-serialize-theory.js.map +1 -1
  33. package/2p-solve-classic.js +1405 -1677
  34. package/2p-solve-classic.js.map +1 -1
  35. package/2p-solve-concurrent.js +9 -2
  36. package/2p-solve-concurrent.js.map +1 -1
  37. package/2p-solve-plp.js +19 -5
  38. package/2p-solve-plp.js.map +1 -1
  39. package/2p-solve-problog.js +1845 -1880
  40. package/2p-solve-problog.js.map +1 -1
  41. package/2p-solve-streams.js +1239 -1331
  42. package/2p-solve-streams.js.map +1 -1
  43. package/2p-solve.js +5342 -5796
  44. package/2p-solve.js.map +1 -1
  45. package/2p-theory.js +1734 -1730
  46. package/2p-theory.js.map +1 -1
  47. package/2p-unify.js +364 -365
  48. package/2p-unify.js.map +1 -1
  49. package/2p-utils.js +548 -510
  50. package/2p-utils.js.map +1 -1
  51. package/88b0986a7186d029-atomicfu-js-ir.js +9 -2
  52. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
  53. package/clikt-clikt-js-ir.js +2078 -2260
  54. package/clikt-clikt-js-ir.js.map +1 -1
  55. package/kotlin-kotlin-stdlib-js-ir.js +2566 -2676
  56. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  57. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +9 -2
  58. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +1 -1
  59. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +9 -2
  60. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
  61. package/kt-math.js +3666 -3302
  62. package/kt-math.js.map +1 -1
  63. package/package.json +56 -2
  64. package/2p-full.d.ts +0 -270
package/2p-io-lib.js CHANGED
@@ -1,84 +1,113 @@
1
- (function (_, kotlin_it_unibo_tuprolog_solve, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_parser_core, kotlin_it_unibo_tuprolog_parser_theory, kotlin_it_unibo_tuprolog_theory) {
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './2p-solve.js', './kotlin-kotlin-stdlib-js-ir.js', './2p-core.js', './2p-parser-core.js', './2p-parser-theory.js', './2p-theory.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./2p-solve.js'), require('./kotlin-kotlin-stdlib-js-ir.js'), require('./2p-core.js'), require('./2p-parser-core.js'), require('./2p-parser-theory.js'), require('./2p-theory.js'));
6
+ else {
7
+ if (typeof this['2p-solve'] === 'undefined') {
8
+ throw new Error("Error loading module '2p-io-lib'. Its dependency '2p-solve' was not found. Please, check whether '2p-solve' is loaded prior to '2p-io-lib'.");
9
+ }
10
+ if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
11
+ throw new Error("Error loading module '2p-io-lib'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to '2p-io-lib'.");
12
+ }
13
+ if (typeof this['2p-core'] === 'undefined') {
14
+ throw new Error("Error loading module '2p-io-lib'. Its dependency '2p-core' was not found. Please, check whether '2p-core' is loaded prior to '2p-io-lib'.");
15
+ }
16
+ if (typeof this['2p-parser-core'] === 'undefined') {
17
+ throw new Error("Error loading module '2p-io-lib'. Its dependency '2p-parser-core' was not found. Please, check whether '2p-parser-core' is loaded prior to '2p-io-lib'.");
18
+ }
19
+ if (typeof this['2p-parser-theory'] === 'undefined') {
20
+ throw new Error("Error loading module '2p-io-lib'. Its dependency '2p-parser-theory' was not found. Please, check whether '2p-parser-theory' is loaded prior to '2p-io-lib'.");
21
+ }
22
+ if (typeof this['2p-theory'] === 'undefined') {
23
+ throw new Error("Error loading module '2p-io-lib'. Its dependency '2p-theory' was not found. Please, check whether '2p-theory' is loaded prior to '2p-io-lib'.");
24
+ }
25
+ root['2p-io-lib'] = factory(typeof this['2p-io-lib'] === 'undefined' ? {} : this['2p-io-lib'], this['2p-solve'], this['kotlin-kotlin-stdlib-js-ir'], this['2p-core'], this['2p-parser-core'], this['2p-parser-theory'], this['2p-theory']);
26
+ }
27
+ }(this, function (_, kotlin_it_unibo_tuprolog_solve, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_parser_core, kotlin_it_unibo_tuprolog_parser_theory, kotlin_it_unibo_tuprolog_theory) {
2
28
  'use strict';
3
29
  //region block: imports
4
- var AbstractLibrary = kotlin_it_unibo_tuprolog_solve.$_$.y2;
5
- var Companion_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.e2;
6
- var listOf = kotlin_kotlin.$_$.i4;
7
- var collectionSizeOrDefault = kotlin_kotlin.$_$.j3;
8
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.b1;
9
- var to = kotlin_kotlin.$_$.ec;
10
- var Unit_getInstance = kotlin_kotlin.$_$.r2;
11
- var containsSignature = kotlin_it_unibo_tuprolog_solve.$_$.b3;
12
- var containsOperator = kotlin_it_unibo_tuprolog_solve.$_$.a3;
13
- var hasPrimitive = kotlin_it_unibo_tuprolog_solve.$_$.d3;
14
- var hasFunction = kotlin_it_unibo_tuprolog_solve.$_$.c3;
15
- var get_ruleSignatures = kotlin_it_unibo_tuprolog_solve.$_$.f3;
16
- var hasProtected = kotlin_it_unibo_tuprolog_solve.$_$.e3;
17
- var objectMeta = kotlin_kotlin.$_$.i7;
18
- var setMetadataFor = kotlin_kotlin.$_$.j7;
19
- var asSequence = kotlin_kotlin.$_$.h3;
20
- var map = kotlin_kotlin.$_$.c9;
30
+ var AbstractLibrary = kotlin_it_unibo_tuprolog_solve.$_$.w2;
31
+ var protoOf = kotlin_kotlin.$_$.s6;
32
+ var Companion_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.c2;
33
+ var listOf = kotlin_kotlin.$_$.p3;
34
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.n2;
35
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.e;
36
+ var to = kotlin_kotlin.$_$.fc;
37
+ var Unit_getInstance = kotlin_kotlin.$_$.v1;
38
+ var containsSignature = kotlin_it_unibo_tuprolog_solve.$_$.z2;
39
+ var containsOperator = kotlin_it_unibo_tuprolog_solve.$_$.y2;
40
+ var hasPrimitive = kotlin_it_unibo_tuprolog_solve.$_$.b3;
41
+ var hasFunction = kotlin_it_unibo_tuprolog_solve.$_$.a3;
42
+ var get_ruleSignatures = kotlin_it_unibo_tuprolog_solve.$_$.d3;
43
+ var hasProtected = kotlin_it_unibo_tuprolog_solve.$_$.c3;
44
+ var objectMeta = kotlin_kotlin.$_$.r6;
45
+ var VOID = kotlin_kotlin.$_$.gc;
46
+ var setMetadataFor = kotlin_kotlin.$_$.t6;
47
+ var asSequence = kotlin_kotlin.$_$.l2;
48
+ var map = kotlin_kotlin.$_$.o8;
21
49
  var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_core.$_$.s;
22
- var toSet = kotlin_kotlin.$_$.r9;
23
- var THROW_ISE = kotlin_kotlin.$_$.tb;
24
- var Enum = kotlin_kotlin.$_$.hb;
25
- var classMeta = kotlin_kotlin.$_$.m6;
50
+ var toSet = kotlin_kotlin.$_$.d9;
51
+ var THROW_ISE = kotlin_kotlin.$_$.ub;
52
+ var Enum = kotlin_kotlin.$_$.ib;
53
+ var classMeta = kotlin_kotlin.$_$.t5;
26
54
  var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.d;
27
- var Regex_init_$Create$ = kotlin_kotlin.$_$.i1;
28
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
29
- var toList = kotlin_kotlin.$_$.n5;
30
- var mapCapacity = kotlin_kotlin.$_$.j4;
31
- var coerceAtLeast = kotlin_kotlin.$_$.y7;
32
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.e1;
33
- var startsWith$default = kotlin_kotlin.$_$.v;
34
- var interfaceMeta = kotlin_kotlin.$_$.u6;
55
+ var Regex_init_$Create$ = kotlin_kotlin.$_$.l;
56
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.t;
57
+ var toList = kotlin_kotlin.$_$.u4;
58
+ var mapCapacity = kotlin_kotlin.$_$.q3;
59
+ var coerceAtLeast = kotlin_kotlin.$_$.i7;
60
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.h;
61
+ var startsWith = kotlin_kotlin.$_$.ka;
62
+ var interfaceMeta = kotlin_kotlin.$_$.c6;
35
63
  var TuPrologException_init_$Init$ = kotlin_it_unibo_tuprolog_core.$_$.k;
36
- var captureStack = kotlin_kotlin.$_$.h6;
64
+ var objectCreate = kotlin_kotlin.$_$.q6;
65
+ var captureStack = kotlin_kotlin.$_$.o5;
37
66
  var TuPrologException_init_$Init$_0 = kotlin_it_unibo_tuprolog_core.$_$.m;
38
67
  var TuPrologException = kotlin_it_unibo_tuprolog_core.$_$.l1;
39
- var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_solve.$_$.x1;
40
- var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_solve.$_$.y1;
68
+ var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_solve.$_$.v1;
69
+ var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_solve.$_$.w1;
41
70
  var Expected_URL_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.q;
42
- var Predicative = kotlin_it_unibo_tuprolog_solve.$_$.k3;
43
- var Predicative_0 = kotlin_it_unibo_tuprolog_solve.$_$.v3;
44
- var NonBacktrackable = kotlin_it_unibo_tuprolog_solve.$_$.h3;
45
- var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_solve.$_$.g2;
46
- var THROW_CCE = kotlin_kotlin.$_$.sb;
47
- var InputChannel = kotlin_it_unibo_tuprolog_solve.$_$.q2;
48
- var isInterface = kotlin_kotlin.$_$.y6;
49
- var OutputChannel = kotlin_it_unibo_tuprolog_solve.$_$.r2;
50
- var NonBacktrackable_0 = kotlin_it_unibo_tuprolog_solve.$_$.u3;
51
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s1;
52
- var IllegalStateException = kotlin_kotlin.$_$.kb;
71
+ var Predicative = kotlin_it_unibo_tuprolog_solve.$_$.i3;
72
+ var Predicative_0 = kotlin_it_unibo_tuprolog_solve.$_$.u3;
73
+ var NonBacktrackable = kotlin_it_unibo_tuprolog_solve.$_$.f3;
74
+ var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_solve.$_$.e2;
75
+ var THROW_CCE = kotlin_kotlin.$_$.tb;
76
+ var InputChannel = kotlin_it_unibo_tuprolog_solve.$_$.o2;
77
+ var isInterface = kotlin_kotlin.$_$.g6;
78
+ var OutputChannel = kotlin_it_unibo_tuprolog_solve.$_$.p2;
79
+ var NonBacktrackable_0 = kotlin_it_unibo_tuprolog_solve.$_$.t3;
80
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w;
81
+ var IllegalStateException = kotlin_kotlin.$_$.lb;
53
82
  var Atom = kotlin_it_unibo_tuprolog_core.$_$.o1;
54
- var equals = kotlin_kotlin.$_$.o6;
55
- var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.k1;
56
- var sequenceOf = kotlin_kotlin.$_$.i9;
57
- var flatMap = kotlin_kotlin.$_$.u8;
83
+ var equals = kotlin_kotlin.$_$.w5;
84
+ var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.i1;
85
+ var sequenceOf = kotlin_kotlin.$_$.u8;
86
+ var flatMap = kotlin_kotlin.$_$.f8;
58
87
  var Companion_getInstance_5 = kotlin_it_unibo_tuprolog_core.$_$.d1;
59
88
  var Companion_getInstance_6 = kotlin_it_unibo_tuprolog_core.$_$.i1;
60
89
  var Companion_getInstance_7 = kotlin_it_unibo_tuprolog_core.$_$.g1;
61
90
  var Companion_getInstance_8 = kotlin_it_unibo_tuprolog_core.$_$.y;
62
- var asSequence_0 = kotlin_kotlin.$_$.g3;
63
- var filter = kotlin_kotlin.$_$.r8;
64
- var Sequence = kotlin_kotlin.$_$.f8;
65
- var firstOrNull = kotlin_kotlin.$_$.s8;
91
+ var asSequence_0 = kotlin_kotlin.$_$.k2;
92
+ var filter = kotlin_kotlin.$_$.c8;
93
+ var Sequence = kotlin_kotlin.$_$.q7;
94
+ var firstOrNull = kotlin_kotlin.$_$.d8;
66
95
  var Companion_getInstance_9 = kotlin_it_unibo_tuprolog_core.$_$.e1;
67
- var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.f1;
68
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.c1;
69
- var asSequence_1 = kotlin_kotlin.$_$.f3;
70
- var addAll = kotlin_kotlin.$_$.z2;
96
+ var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.i;
97
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
98
+ var asSequence_1 = kotlin_kotlin.$_$.j2;
99
+ var addAll = kotlin_kotlin.$_$.d2;
71
100
  var Struct = kotlin_it_unibo_tuprolog_core.$_$.z1;
72
- var Companion_getInstance_10 = kotlin_it_unibo_tuprolog_solve.$_$.l1;
73
- var Companion_getInstance_11 = kotlin_it_unibo_tuprolog_solve.$_$.n1;
74
- var CoroutineImpl = kotlin_kotlin.$_$.c6;
75
- var SequenceScope = kotlin_kotlin.$_$.e8;
76
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b6;
77
- var filterNot = kotlin_kotlin.$_$.q8;
101
+ var Companion_getInstance_10 = kotlin_it_unibo_tuprolog_solve.$_$.j1;
102
+ var Companion_getInstance_11 = kotlin_it_unibo_tuprolog_solve.$_$.l1;
103
+ var CoroutineImpl = kotlin_kotlin.$_$.j5;
104
+ var SequenceScope = kotlin_kotlin.$_$.p7;
105
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.i5;
106
+ var filterNot = kotlin_kotlin.$_$.b8;
78
107
  var Truth = kotlin_it_unibo_tuprolog_core.$_$.z2;
79
- var lazy = kotlin_kotlin.$_$.xb;
80
- var sequence = kotlin_kotlin.$_$.j9;
81
- var Companion_getInstance_12 = kotlin_it_unibo_tuprolog_solve.$_$.q1;
108
+ var lazy = kotlin_kotlin.$_$.yb;
109
+ var sequence = kotlin_kotlin.$_$.v8;
110
+ var Companion_getInstance_12 = kotlin_it_unibo_tuprolog_solve.$_$.o1;
82
111
  var Expected_STREAM_PROPERTY_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.e;
83
112
  var Expected_WRITE_OPTION_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.g;
84
113
  var Expected_READ_OPTION_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.b;
@@ -92,143 +121,142 @@
92
121
  var VarFormat_UNDERSCORE_getInstance = kotlin_it_unibo_tuprolog_core.$_$.h;
93
122
  var Expected_SOURCE_SINK_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.c;
94
123
  var Expected_IO_MODE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a;
95
- var Companion_getInstance_14 = kotlin_it_unibo_tuprolog_solve.$_$.s1;
124
+ var Companion_getInstance_14 = kotlin_it_unibo_tuprolog_solve.$_$.q1;
96
125
  var Expected_STREAM_OR_ALIAS_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.d;
97
126
  var Expected_IN_CHARACTER_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.m;
98
- var Companion_getInstance_15 = kotlin_it_unibo_tuprolog_solve.$_$.v1;
127
+ var Companion_getInstance_15 = kotlin_it_unibo_tuprolog_solve.$_$.t1;
99
128
  var Limit_CHARACTER_CODE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.i;
100
129
  var Companion_getInstance_16 = kotlin_it_unibo_tuprolog_core.$_$.x;
101
130
  var Integer = kotlin_it_unibo_tuprolog_core.$_$.u1;
102
- var Map = kotlin_kotlin.$_$.w2;
131
+ var Map = kotlin_kotlin.$_$.a2;
103
132
  var Expected_STREAM_TYPE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.f;
104
133
  var format = kotlin_it_unibo_tuprolog_core.$_$.c3;
105
- var Char = kotlin_kotlin.$_$.eb;
106
- var charSequenceGet = kotlin_kotlin.$_$.k6;
107
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.g2;
108
- var emptyList = kotlin_kotlin.$_$.s3;
109
- var get_lastIndex = kotlin_kotlin.$_$.b4;
110
- var toList_0 = kotlin_kotlin.$_$.p9;
111
- var last = kotlin_kotlin.$_$.e4;
112
- var Companion_getInstance_17 = kotlin_it_unibo_tuprolog_solve.$_$.w1;
113
- var ParseException = kotlin_it_unibo_tuprolog_parser_core.$_$.d;
114
- var emptySet = kotlin_kotlin.$_$.u3;
115
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.yb;
116
- var KProperty1 = kotlin_kotlin.$_$.d8;
117
- var getPropertyCallableRef = kotlin_kotlin.$_$.r6;
118
- var NonBacktrackable_1 = kotlin_it_unibo_tuprolog_solve.$_$.p3;
119
- var NonBacktrackable_2 = kotlin_it_unibo_tuprolog_solve.$_$.m3;
134
+ var Char = kotlin_kotlin.$_$.fb;
135
+ var charSequenceGet = kotlin_kotlin.$_$.r5;
136
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.k1;
137
+ var emptyList = kotlin_kotlin.$_$.w2;
138
+ var get_lastIndex = kotlin_kotlin.$_$.i3;
139
+ var toList_0 = kotlin_kotlin.$_$.b9;
140
+ var last = kotlin_kotlin.$_$.l3;
141
+ var Companion_getInstance_17 = kotlin_it_unibo_tuprolog_solve.$_$.u1;
142
+ var ParseException = kotlin_it_unibo_tuprolog_parser_core.$_$.b;
143
+ var emptySet = kotlin_kotlin.$_$.y2;
144
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.zb;
145
+ var KProperty1 = kotlin_kotlin.$_$.o7;
146
+ var getPropertyCallableRef = kotlin_kotlin.$_$.z5;
147
+ var NonBacktrackable_1 = kotlin_it_unibo_tuprolog_solve.$_$.o3;
148
+ var NonBacktrackable_2 = kotlin_it_unibo_tuprolog_solve.$_$.k3;
120
149
  var Companion_getInstance_18 = kotlin_it_unibo_tuprolog_parser_theory.$_$.a;
121
150
  var Companion_getInstance_19 = kotlin_it_unibo_tuprolog_theory.$_$.b;
122
151
  var Companion_getInstance_20 = kotlin_it_unibo_tuprolog_theory.$_$.a;
123
- var charSequenceLength = kotlin_kotlin.$_$.l6;
124
- var toString = kotlin_kotlin.$_$.h2;
152
+ var charSequenceLength = kotlin_kotlin.$_$.s5;
153
+ var toString = kotlin_kotlin.$_$.l1;
125
154
  var titlecase = kotlin_kotlin.$_$.qa;
126
- var isLowerCase = kotlin_kotlin.$_$.ba;
127
- var toString_0 = kotlin_kotlin.$_$.n7;
128
- var BinaryRelation = kotlin_it_unibo_tuprolog_solve.$_$.j3;
129
- var distinct = kotlin_kotlin.$_$.l8;
155
+ var isLowerCase = kotlin_kotlin.$_$.s9;
156
+ var toString_0 = kotlin_kotlin.$_$.x6;
157
+ var BinaryRelation = kotlin_it_unibo_tuprolog_solve.$_$.h3;
158
+ var distinct = kotlin_kotlin.$_$.w7;
130
159
  var Info_getInstance = kotlin_it_unibo_tuprolog_core.$_$.k1;
131
160
  var Platform_BROWSER_getInstance = kotlin_it_unibo_tuprolog_core.$_$.i;
132
- var replace$default = kotlin_kotlin.$_$.r;
133
- var KProperty0 = kotlin_kotlin.$_$.c8;
161
+ var replace = kotlin_kotlin.$_$.fa;
162
+ var KProperty0 = kotlin_kotlin.$_$.n7;
134
163
  var toInt = kotlin_kotlin.$_$.va;
135
- var getStringHashCode = kotlin_kotlin.$_$.s6;
164
+ var getStringHashCode = kotlin_kotlin.$_$.a6;
136
165
  //endregion
137
166
  //region block: pre-declaration
138
- setMetadataFor(IOLib, 'IOLib', objectMeta, AbstractLibrary, undefined, undefined, undefined, []);
139
- setMetadataFor(Companion, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
140
- setMetadataFor(IOMode, 'IOMode', classMeta, Enum, undefined, undefined, undefined, []);
141
- setMetadataFor(UrlField, 'UrlField', classMeta, Enum, undefined, undefined, undefined, []);
142
- setMetadataFor(Companion_0, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
167
+ setMetadataFor(IOLib, 'IOLib', objectMeta, AbstractLibrary);
168
+ setMetadataFor(Companion, 'Companion', objectMeta);
169
+ setMetadataFor(IOMode, 'IOMode', classMeta, Enum);
170
+ setMetadataFor(UrlField, 'UrlField', classMeta, Enum);
171
+ setMetadataFor(Companion_0, 'Companion', objectMeta);
143
172
  function resolve(child) {
144
- return Companion_getInstance_22().i3k(this.m3k(), this.n3k(), this.o3k(), this.k31() + '/' + child, this.u1v());
173
+ return Companion_getInstance_22().d3i(this.h3i(), this.i3i(), this.j3i(), this.h2z() + '/' + child, this.v1u());
145
174
  }
146
175
  function div(child) {
147
176
  return this.resolve(child);
148
177
  }
149
178
  function get_isFile() {
150
- return this.m3k() === 'file';
179
+ return this.h3i() === 'file';
151
180
  }
152
181
  function get_isHttp() {
153
- var tmp = this.m3k();
154
- return startsWith$default(tmp, 'http', false, 2, null);
155
- }
156
- setMetadataFor(Url, 'Url', interfaceMeta, undefined, undefined, undefined, undefined, []);
157
- setMetadataFor(IOException, 'IOException', classMeta, TuPrologException, undefined, undefined, undefined, []);
158
- setMetadataFor(InvalidUrlException, 'InvalidUrlException', classMeta, TuPrologException, undefined, undefined, undefined, []);
159
- setMetadataFor(AtEndOfStream0, 'AtEndOfStream0', objectMeta, Predicative, undefined, undefined, undefined, []);
160
- setMetadataFor(AtEndOfStream1, 'AtEndOfStream1', objectMeta, Predicative_0, undefined, undefined, undefined, []);
161
- setMetadataFor(CharConversion, 'CharConversion', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
162
- setMetadataFor(Close1, 'Close1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
163
- setMetadataFor(Close2, 'Close2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
164
- setMetadataFor(Consult, 'Consult', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
165
- setMetadataFor(CurrentCharConversion, 'CurrentCharConversion', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
166
- setMetadataFor(CurrentInput, 'CurrentInput', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
167
- setMetadataFor(CurrentOutput, 'CurrentOutput', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
168
- setMetadataFor(FlushOutput, 'FlushOutput', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
169
- setMetadataFor(GetByte1, 'GetByte1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
170
- setMetadataFor(GetByte2, 'GetByte2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
171
- setMetadataFor(GetChar1, 'GetChar1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
172
- setMetadataFor(GetChar2, 'GetChar2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
173
- setMetadataFor(GetCode1, 'GetCode1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
174
- setMetadataFor(GetCode2, 'GetCode2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
175
- setMetadataFor(IOPrimitiveUtils$propertiesOf$slambda, 'IOPrimitiveUtils$propertiesOf$slambda', classMeta, CoroutineImpl, undefined, undefined, undefined, [1]);
176
- setMetadataFor(IOPrimitiveUtils, 'IOPrimitiveUtils', objectMeta, undefined, undefined, undefined, undefined, []);
177
- setMetadataFor(Nl1, 'Nl1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
178
- setMetadataFor(Open3, 'Open3', objectMeta, NonBacktrackable_1, undefined, undefined, undefined, []);
179
- setMetadataFor(Open4, 'Open4', objectMeta, NonBacktrackable_2, undefined, undefined, undefined, []);
180
- setMetadataFor(PeekByte1, 'PeekByte1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
181
- setMetadataFor(PeekByte2, 'PeekByte2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
182
- setMetadataFor(PeekChar1, 'PeekChar1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
183
- setMetadataFor(PeekChar2, 'PeekChar2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
184
- setMetadataFor(PeekCode1, 'PeekCode1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
185
- setMetadataFor(PeekCode2, 'PeekCode2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
186
- setMetadataFor(PutByte1, 'PutByte1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
187
- setMetadataFor(PutByte2, 'PutByte2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
188
- setMetadataFor(PutChar1, 'PutChar1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
189
- setMetadataFor(PutChar2, 'PutChar2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
190
- setMetadataFor(PutCode1, 'PutCode1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
191
- setMetadataFor(PutCode2, 'PutCode2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
192
- setMetadataFor(Read1, 'Read1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
193
- setMetadataFor(Read2, 'Read2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
194
- setMetadataFor(ReadTerm2, 'ReadTerm2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
195
- setMetadataFor(ReadTerm3, 'ReadTerm3', objectMeta, NonBacktrackable_1, undefined, undefined, undefined, []);
196
- setMetadataFor(SetInput, 'SetInput', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
197
- setMetadataFor(SetOutput, 'SetOutput', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
198
- setMetadataFor(SetTheory, 'SetTheory', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
199
- setMetadataFor(StreamProperty, 'StreamProperty', objectMeta, BinaryRelation, undefined, undefined, undefined, []);
200
- setMetadataFor(Write2, 'Write2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
201
- setMetadataFor(WriteCanonical1, 'WriteCanonical1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
202
- setMetadataFor(WriteCanonical2, 'WriteCanonical2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
203
- setMetadataFor(WriteEq1, 'WriteEq1', objectMeta, NonBacktrackable_0, undefined, undefined, undefined, []);
204
- setMetadataFor(WriteEq2, 'WriteEq2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
205
- setMetadataFor(WriteTerm2, 'WriteTerm2', objectMeta, NonBacktrackable, undefined, undefined, undefined, []);
206
- setMetadataFor(WriteTerm3, 'WriteTerm3', objectMeta, NonBacktrackable_1, undefined, undefined, undefined, []);
207
- setMetadataFor(JsUrl, 'JsUrl', classMeta, undefined, [Url], undefined, undefined, []);
182
+ return startsWith(this.h3i(), 'http');
183
+ }
184
+ setMetadataFor(Url, 'Url', interfaceMeta);
185
+ setMetadataFor(IOException, 'IOException', classMeta, TuPrologException);
186
+ setMetadataFor(InvalidUrlException, 'InvalidUrlException', classMeta, TuPrologException);
187
+ setMetadataFor(AtEndOfStream0, 'AtEndOfStream0', objectMeta, Predicative);
188
+ setMetadataFor(AtEndOfStream1, 'AtEndOfStream1', objectMeta, Predicative_0);
189
+ setMetadataFor(CharConversion, 'CharConversion', objectMeta, NonBacktrackable);
190
+ setMetadataFor(Close1, 'Close1', objectMeta, NonBacktrackable_0);
191
+ setMetadataFor(Close2, 'Close2', objectMeta, NonBacktrackable);
192
+ setMetadataFor(Consult, 'Consult', objectMeta, NonBacktrackable_0);
193
+ setMetadataFor(CurrentCharConversion, 'CurrentCharConversion', objectMeta, NonBacktrackable);
194
+ setMetadataFor(CurrentInput, 'CurrentInput', objectMeta, NonBacktrackable_0);
195
+ setMetadataFor(CurrentOutput, 'CurrentOutput', objectMeta, NonBacktrackable_0);
196
+ setMetadataFor(FlushOutput, 'FlushOutput', objectMeta, NonBacktrackable_0);
197
+ setMetadataFor(GetByte1, 'GetByte1', objectMeta, NonBacktrackable_0);
198
+ setMetadataFor(GetByte2, 'GetByte2', objectMeta, NonBacktrackable);
199
+ setMetadataFor(GetChar1, 'GetChar1', objectMeta, NonBacktrackable_0);
200
+ setMetadataFor(GetChar2, 'GetChar2', objectMeta, NonBacktrackable);
201
+ setMetadataFor(GetCode1, 'GetCode1', objectMeta, NonBacktrackable_0);
202
+ setMetadataFor(GetCode2, 'GetCode2', objectMeta, NonBacktrackable);
203
+ setMetadataFor(IOPrimitiveUtils$propertiesOf$slambda, 'IOPrimitiveUtils$propertiesOf$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
204
+ setMetadataFor(IOPrimitiveUtils, 'IOPrimitiveUtils', objectMeta);
205
+ setMetadataFor(Nl1, 'Nl1', objectMeta, NonBacktrackable_0);
206
+ setMetadataFor(Open3, 'Open3', objectMeta, NonBacktrackable_1);
207
+ setMetadataFor(Open4, 'Open4', objectMeta, NonBacktrackable_2);
208
+ setMetadataFor(PeekByte1, 'PeekByte1', objectMeta, NonBacktrackable_0);
209
+ setMetadataFor(PeekByte2, 'PeekByte2', objectMeta, NonBacktrackable);
210
+ setMetadataFor(PeekChar1, 'PeekChar1', objectMeta, NonBacktrackable_0);
211
+ setMetadataFor(PeekChar2, 'PeekChar2', objectMeta, NonBacktrackable);
212
+ setMetadataFor(PeekCode1, 'PeekCode1', objectMeta, NonBacktrackable_0);
213
+ setMetadataFor(PeekCode2, 'PeekCode2', objectMeta, NonBacktrackable);
214
+ setMetadataFor(PutByte1, 'PutByte1', objectMeta, NonBacktrackable_0);
215
+ setMetadataFor(PutByte2, 'PutByte2', objectMeta, NonBacktrackable);
216
+ setMetadataFor(PutChar1, 'PutChar1', objectMeta, NonBacktrackable_0);
217
+ setMetadataFor(PutChar2, 'PutChar2', objectMeta, NonBacktrackable);
218
+ setMetadataFor(PutCode1, 'PutCode1', objectMeta, NonBacktrackable_0);
219
+ setMetadataFor(PutCode2, 'PutCode2', objectMeta, NonBacktrackable);
220
+ setMetadataFor(Read1, 'Read1', objectMeta, NonBacktrackable_0);
221
+ setMetadataFor(Read2, 'Read2', objectMeta, NonBacktrackable);
222
+ setMetadataFor(ReadTerm2, 'ReadTerm2', objectMeta, NonBacktrackable);
223
+ setMetadataFor(ReadTerm3, 'ReadTerm3', objectMeta, NonBacktrackable_1);
224
+ setMetadataFor(SetInput, 'SetInput', objectMeta, NonBacktrackable_0);
225
+ setMetadataFor(SetOutput, 'SetOutput', objectMeta, NonBacktrackable_0);
226
+ setMetadataFor(SetTheory, 'SetTheory', objectMeta, NonBacktrackable_0);
227
+ setMetadataFor(StreamProperty, 'StreamProperty', objectMeta, BinaryRelation);
228
+ setMetadataFor(Write2, 'Write2', objectMeta, NonBacktrackable);
229
+ setMetadataFor(WriteCanonical1, 'WriteCanonical1', objectMeta, NonBacktrackable_0);
230
+ setMetadataFor(WriteCanonical2, 'WriteCanonical2', objectMeta, NonBacktrackable);
231
+ setMetadataFor(WriteEq1, 'WriteEq1', objectMeta, NonBacktrackable_0);
232
+ setMetadataFor(WriteEq2, 'WriteEq2', objectMeta, NonBacktrackable);
233
+ setMetadataFor(WriteTerm2, 'WriteTerm2', objectMeta, NonBacktrackable);
234
+ setMetadataFor(WriteTerm3, 'WriteTerm3', objectMeta, NonBacktrackable_1);
235
+ setMetadataFor(JsUrl, 'JsUrl', classMeta, VOID, [Url]);
208
236
  //endregion
209
237
  function IOLib() {
210
238
  IOLib_instance = this;
211
239
  AbstractLibrary.call(this);
212
240
  }
213
- IOLib.prototype.l2e = function () {
241
+ protoOf(IOLib).q2c = function () {
214
242
  return 'prolog.io';
215
243
  };
216
- IOLib.prototype.k2e = function () {
244
+ protoOf(IOLib).p2c = function () {
217
245
  var tmp = Companion_getInstance();
218
246
  var tmp$ret$3;
219
247
  // Inline function 'kotlin.collections.map' call
220
- var tmp0_map = listOf([AtEndOfStream0_getInstance(), AtEndOfStream1_getInstance(), CharConversion_getInstance(), Close1_getInstance(), Close2_getInstance(), Consult_getInstance(), CurrentCharConversion_getInstance(), CurrentInput_getInstance(), CurrentOutput_getInstance(), FlushOutput_getInstance(), GetByte1_getInstance(), GetByte2_getInstance(), GetChar1_getInstance(), GetChar2_getInstance(), GetCode1_getInstance(), GetCode2_getInstance(), Nl1_getInstance(), Open3_getInstance(), Open4_getInstance(), PeekByte1_getInstance(), PeekByte2_getInstance(), PeekChar1_getInstance(), PeekChar2_getInstance(), PeekCode1_getInstance(), PeekCode2_getInstance(), PutByte1_getInstance(), PutByte2_getInstance(), PutChar1_getInstance(), PutChar2_getInstance(), PutCode1_getInstance(), PutCode2_getInstance(), Read1_getInstance(), Read2_getInstance(), ReadTerm2_getInstance(), ReadTerm3_getInstance(), SetInput_getInstance(), SetOutput_getInstance(), SetTheory_getInstance(), StreamProperty_getInstance(), Write2_getInstance(), WriteCanonical1_getInstance(), WriteCanonical2_getInstance(), WriteEq1_getInstance(), WriteEq2_getInstance(), WriteTerm2_getInstance(), WriteTerm3_getInstance()]);
248
+ var tmp1_map = listOf([AtEndOfStream0_getInstance(), AtEndOfStream1_getInstance(), CharConversion_getInstance(), Close1_getInstance(), Close2_getInstance(), Consult_getInstance(), CurrentCharConversion_getInstance(), CurrentInput_getInstance(), CurrentOutput_getInstance(), FlushOutput_getInstance(), GetByte1_getInstance(), GetByte2_getInstance(), GetChar1_getInstance(), GetChar2_getInstance(), GetCode1_getInstance(), GetCode2_getInstance(), Nl1_getInstance(), Open3_getInstance(), Open4_getInstance(), PeekByte1_getInstance(), PeekByte2_getInstance(), PeekChar1_getInstance(), PeekChar2_getInstance(), PeekCode1_getInstance(), PeekCode2_getInstance(), PutByte1_getInstance(), PutByte2_getInstance(), PutChar1_getInstance(), PutChar2_getInstance(), PutCode1_getInstance(), PutCode2_getInstance(), Read1_getInstance(), Read2_getInstance(), ReadTerm2_getInstance(), ReadTerm3_getInstance(), SetInput_getInstance(), SetOutput_getInstance(), SetTheory_getInstance(), StreamProperty_getInstance(), Write2_getInstance(), WriteCanonical1_getInstance(), WriteCanonical2_getInstance(), WriteEq1_getInstance(), WriteEq2_getInstance(), WriteTerm2_getInstance(), WriteTerm3_getInstance()]);
221
249
  var tmp$ret$2;
222
250
  // Inline function 'kotlin.collections.mapTo' call
223
- var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
224
- var tmp0_iterator = tmp0_map.j();
251
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
252
+ var tmp0_iterator = tmp1_map.j();
225
253
  while (tmp0_iterator.m()) {
226
254
  var item = tmp0_iterator.n();
227
255
  var tmp$ret$1;
228
256
  // Inline function 'it.unibo.tuprolog.solve.libs.io.IOLib.<get-primitives>.<anonymous>' call
229
257
  var tmp$ret$0;
230
258
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.descriptionPair' call
231
- tmp$ret$0 = to(item.signature, item.g1u());
259
+ tmp$ret$0 = to(item.signature, item.j1t());
232
260
  tmp$ret$1 = tmp$ret$0;
233
261
  tmp0_mapTo.g(tmp$ret$1);
234
262
  }
@@ -245,7 +273,7 @@
245
273
  function IOMode$Companion$atomValues$lambda(it) {
246
274
  var tmp$ret$1;
247
275
  // Inline function 'kotlin.text.lowercase' call
248
- var tmp0_lowercase = it.q1_1;
276
+ var tmp0_lowercase = it.v1_1;
249
277
  var tmp$ret$0;
250
278
  // Inline function 'kotlin.js.asDynamic' call
251
279
  tmp$ret$0 = tmp0_lowercase;
@@ -267,7 +295,7 @@
267
295
  var tmp = this;
268
296
  var tmp_0 = asSequence(values());
269
297
  var tmp_1 = map(tmp_0, IOMode$Companion$atomValues$lambda);
270
- tmp.f3k_1 = toSet(map(tmp_1, Atom$Companion$of$ref(Companion_getInstance_0())));
298
+ tmp.a3i_1 = toSet(map(tmp_1, Atom$Companion$of$ref(Companion_getInstance_0())));
271
299
  }
272
300
  var Companion_instance;
273
301
  function Companion_getInstance_21() {
@@ -358,21 +386,14 @@
358
386
  var pattern = protocolGroup + ':\\/+(?:' + unitGroup + '|' + hostGroup + '(?::' + portGroup + ')?)?' + pathGroup + '(?:\\?' + queryGroup + '?)?(?:#' + anchorGroup + ')?';
359
387
  return Regex_init_$Create$(pattern, RegexOption_IGNORE_CASE_getInstance());
360
388
  }
361
- function urlRegex$default($this, protocol, unit, host, port, path, query, anchor, $mask0, $handler) {
362
- if (!(($mask0 & 2) === 0))
363
- protocol = null;
364
- if (!(($mask0 & 4) === 0))
365
- unit = null;
366
- if (!(($mask0 & 8) === 0))
367
- host = null;
368
- if (!(($mask0 & 16) === 0))
369
- port = null;
370
- if (!(($mask0 & 32) === 0))
371
- path = null;
372
- if (!(($mask0 & 64) === 0))
373
- query = null;
374
- if (!(($mask0 & 128) === 0))
375
- anchor = null;
389
+ function urlRegex$default($this, protocol, unit, host, port, path, query, anchor, $super) {
390
+ protocol = protocol === VOID ? null : protocol;
391
+ unit = unit === VOID ? null : unit;
392
+ host = host === VOID ? null : host;
393
+ port = port === VOID ? null : port;
394
+ path = path === VOID ? null : path;
395
+ query = query === VOID ? null : query;
396
+ anchor = anchor === VOID ? null : anchor;
376
397
  return urlRegex($this, protocol, unit, host, port, path, query, anchor);
377
398
  }
378
399
  function Url$Companion$urlRegex$lambda(it) {
@@ -432,10 +453,9 @@
432
453
  }
433
454
  function Companion_0() {
434
455
  Companion_instance_0 = this;
435
- var tmp = this;
436
- tmp.g3k_1 = urlRegex$default(this, null, null, null, null, null, null, null, 254, null);
456
+ this.b3i_1 = urlRegex$default(this);
437
457
  }
438
- Companion_0.prototype.h3k = function (_this__u8e3s4) {
458
+ protoOf(Companion_0).c3i = function (_this__u8e3s4) {
439
459
  var tmp;
440
460
  if (_this__u8e3s4 < 0) {
441
461
  throw IllegalArgumentException_init_$Create$('Invalid port: ' + _this__u8e3s4);
@@ -444,9 +464,9 @@
444
464
  }
445
465
  return tmp;
446
466
  };
447
- Companion_0.prototype.e31 = function (string) {
448
- var tmp0_safe_receiver = this.g3k_1.jf(string);
449
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l9();
467
+ protoOf(Companion_0).b2z = function (string) {
468
+ var tmp0_safe_receiver = this.b3i_1.lf(string);
469
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q9();
450
470
  var match = tmp1_safe_receiver == null ? null : toList(tmp1_safe_receiver);
451
471
  var tmp2_safe_receiver = match;
452
472
  var tmp;
@@ -460,12 +480,12 @@
460
480
  // Inline function 'it.unibo.tuprolog.solve.libs.io.Companion.parse.<anonymous>' call
461
481
  var tmp$ret$2;
462
482
  // Inline function 'kotlin.collections.associate' call
463
- var tmp0_associate = values_0();
464
- var capacity = coerceAtLeast(mapCapacity(tmp0_associate.length), 16);
483
+ var tmp2_associate = values_0();
484
+ var capacity = coerceAtLeast(mapCapacity(tmp2_associate.length), 16);
465
485
  var tmp$ret$1;
466
486
  // Inline function 'kotlin.collections.associateTo' call
467
487
  var tmp1_associateTo = LinkedHashMap_init_$Create$(capacity);
468
- var indexedObject = tmp0_associate;
488
+ var indexedObject = tmp2_associate;
469
489
  var inductionVariable = 0;
470
490
  var last = indexedObject.length;
471
491
  while (inductionVariable < last) {
@@ -474,10 +494,10 @@
474
494
  // Inline function 'kotlin.collections.plusAssign' call
475
495
  var tmp$ret$0;
476
496
  // Inline function 'it.unibo.tuprolog.solve.libs.io.Companion.parse.<anonymous>.<anonymous>' call
477
- var tmp0_safe_receiver_0 = tmp2_safe_receiver.o(element.r1_1 + 1 | 0);
478
- tmp$ret$0 = to(element, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.qf_1);
497
+ var tmp0_safe_receiver_0 = tmp2_safe_receiver.o(element.w1_1 + 1 | 0);
498
+ tmp$ret$0 = to(element, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.sf_1);
479
499
  var tmp0_plusAssign = tmp$ret$0;
480
- tmp1_associateTo.w3(tmp0_plusAssign.g4_1, tmp0_plusAssign.h4_1);
500
+ tmp1_associateTo.a4(tmp0_plusAssign.k4_1, tmp0_plusAssign.l4_1);
481
501
  }
482
502
  tmp$ret$1 = tmp1_associateTo;
483
503
  tmp$ret$2 = tmp$ret$1;
@@ -487,41 +507,55 @@
487
507
  }
488
508
  return tmp;
489
509
  };
490
- Companion_0.prototype.file = function (path) {
510
+ protoOf(Companion_0).file = function (path) {
491
511
  return fileUrl(path);
492
512
  };
493
- Companion_0.prototype.remote = function (protocol, host, port, path, query) {
494
- return this.i3k(protocol, host === void 1 ? '' : host, port === void 1 ? null : port, path === void 1 ? '' : path, query === void 1 ? null : query);
495
- };
496
- Companion_0.prototype.i3k = function (protocol, host, port, path, query) {
513
+ protoOf(Companion_0).d3i = function (protocol, host, port, path, query) {
497
514
  return remoteUrl(protocol, host, port, path, query);
498
515
  };
499
- Companion_0.prototype.http = function (host, port, path, query) {
500
- return this.j3k(host === void 1 ? '' : host, port === void 1 ? null : port, path === void 1 ? '' : path, query === void 1 ? null : query);
501
- };
502
- Companion_0.prototype.j3k = function (host, port, path, query) {
503
- return this.i3k('http', host, port, path, query);
504
- };
505
- Companion_0.prototype.https = function (host, port, path, query) {
506
- return this.k3k(host === void 1 ? '' : host, port === void 1 ? null : port, path === void 1 ? '' : path, query === void 1 ? null : query);
507
- };
508
- Companion_0.prototype.k3k = function (host, port, path, query) {
509
- return this.i3k('https', host, port, path, query);
510
- };
511
- Companion_0.prototype.of = function (string) {
516
+ protoOf(Companion_0).remote = function (protocol, host, port, path, query, $super) {
517
+ host = host === VOID ? '' : host;
518
+ port = port === VOID ? null : port;
519
+ path = path === VOID ? '' : path;
520
+ query = query === VOID ? null : query;
521
+ return $super === VOID ? this.d3i(protocol, host, port, path, query) : $super.d3i.call(this, protocol, host, port, path, query);
522
+ };
523
+ protoOf(Companion_0).e3i = function (host, port, path, query) {
524
+ return this.d3i('http', host, port, path, query);
525
+ };
526
+ protoOf(Companion_0).http = function (host, port, path, query, $super) {
527
+ host = host === VOID ? '' : host;
528
+ port = port === VOID ? null : port;
529
+ path = path === VOID ? '' : path;
530
+ query = query === VOID ? null : query;
531
+ return $super === VOID ? this.e3i(host, port, path, query) : $super.e3i.call(this, host, port, path, query);
532
+ };
533
+ protoOf(Companion_0).f3i = function (host, port, path, query) {
534
+ return this.d3i('https', host, port, path, query);
535
+ };
536
+ protoOf(Companion_0).https = function (host, port, path, query, $super) {
537
+ host = host === VOID ? '' : host;
538
+ port = port === VOID ? null : port;
539
+ path = path === VOID ? '' : path;
540
+ query = query === VOID ? null : query;
541
+ return $super === VOID ? this.f3i(host, port, path, query) : $super.f3i.call(this, host, port, path, query);
542
+ };
543
+ protoOf(Companion_0).of = function (string) {
512
544
  var tmp;
513
545
  try {
514
546
  tmp = parseUrl(string);
515
547
  } catch ($p) {
516
548
  var tmp_0;
517
549
  if ($p instanceof InvalidUrlException) {
550
+ var e = $p;
518
551
  var tmp_1;
519
552
  try {
520
553
  tmp_1 = parseUrl('file://' + string);
521
554
  } catch ($p) {
522
555
  var tmp_2;
523
556
  if ($p instanceof InvalidUrlException) {
524
- throw $p;
557
+ var _ = $p;
558
+ throw e;
525
559
  } else {
526
560
  throw $p;
527
561
  }
@@ -535,9 +569,9 @@
535
569
  }
536
570
  return tmp;
537
571
  };
538
- Companion_0.prototype.l3k = function (protocol, host, port, path, query) {
572
+ protoOf(Companion_0).g3i = function (protocol, host, port, path, query) {
539
573
  var tmp0_safe_receiver = port;
540
- var tmp = tmp0_safe_receiver == null ? null : this.h3k(tmp0_safe_receiver);
574
+ var tmp = tmp0_safe_receiver == null ? null : this.c3i(tmp0_safe_receiver);
541
575
  var tmp_0 = str(tmp, this, Url$Companion$toString$lambda);
542
576
  return protocol + '://' + host + tmp_0 + path + str(query, this, Url$Companion$toString$lambda_0);
543
577
  };
@@ -555,7 +589,7 @@
555
589
  return $this;
556
590
  }
557
591
  function IOException_init_$Create$(message) {
558
- var tmp = IOException_init_$Init$(message, Object.create(IOException.prototype));
592
+ var tmp = IOException_init_$Init$(message, objectCreate(protoOf(IOException)));
559
593
  captureStack(tmp, IOException_init_$Create$);
560
594
  return tmp;
561
595
  }
@@ -565,11 +599,11 @@
565
599
  return $this;
566
600
  }
567
601
  function IOException_init_$Create$_0(message, cause) {
568
- var tmp = IOException_init_$Init$_0(message, cause, Object.create(IOException.prototype));
602
+ var tmp = IOException_init_$Init$_0(message, cause, objectCreate(protoOf(IOException)));
569
603
  captureStack(tmp, IOException_init_$Create$_0);
570
604
  return tmp;
571
605
  }
572
- IOException.prototype.r3k = function (context) {
606
+ protoOf(IOException).m3i = function (context) {
573
607
  return Companion_getInstance_1().forUncaughtKtException(context, this);
574
608
  };
575
609
  function IOException() {
@@ -581,12 +615,12 @@
581
615
  return $this;
582
616
  }
583
617
  function InvalidUrlException_init_$Create$(message) {
584
- var tmp = InvalidUrlException_init_$Init$(message, Object.create(InvalidUrlException.prototype));
618
+ var tmp = InvalidUrlException_init_$Init$(message, objectCreate(protoOf(InvalidUrlException)));
585
619
  captureStack(tmp, InvalidUrlException_init_$Create$);
586
620
  return tmp;
587
621
  }
588
- InvalidUrlException.prototype.s3k = function (context, signature, culprit, index) {
589
- return Companion_getInstance_2().v25(context, signature, Expected_URL_getInstance(), culprit, index);
622
+ protoOf(InvalidUrlException).n3i = function (context, signature, culprit, index) {
623
+ return Companion_getInstance_2().d24(context, signature, Expected_URL_getInstance(), culprit, index);
590
624
  };
591
625
  function InvalidUrlException() {
592
626
  captureStack(this, InvalidUrlException);
@@ -595,19 +629,19 @@
595
629
  AtEndOfStream0_instance = this;
596
630
  Predicative.call(this, 'at_end_of_stream');
597
631
  }
598
- AtEndOfStream0.prototype.u3k = function (_this__u8e3s4) {
632
+ protoOf(AtEndOfStream0).p3i = function (_this__u8e3s4) {
599
633
  var tmp$ret$1;
600
634
  // Inline function 'kotlin.let' call
601
- var tmp0_let = IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4);
635
+ var tmp0_let = IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4);
602
636
  // Inline function 'kotlin.contracts.contract' call
603
637
  var tmp$ret$0;
604
638
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.AtEndOfStream0.compute.<anonymous>' call
605
- tmp$ret$0 = tmp0_let.r1z() ? true : tmp0_let.tq();
639
+ tmp$ret$0 = tmp0_let.e1y() ? true : tmp0_let.nq();
606
640
  tmp$ret$1 = tmp$ret$0;
607
641
  return tmp$ret$1;
608
642
  };
609
- AtEndOfStream0.prototype.v2g = function (_this__u8e3s4) {
610
- return this.u3k(_this__u8e3s4);
643
+ protoOf(AtEndOfStream0).x2e = function (_this__u8e3s4) {
644
+ return this.p3i(_this__u8e3s4);
611
645
  };
612
646
  var AtEndOfStream0_instance;
613
647
  function AtEndOfStream0_getInstance() {
@@ -619,19 +653,19 @@
619
653
  AtEndOfStream1_instance = this;
620
654
  Predicative_0.call(this, 'at_end_of_stream');
621
655
  }
622
- AtEndOfStream1.prototype.o3l = function (_this__u8e3s4, first) {
656
+ protoOf(AtEndOfStream1).j3j = function (_this__u8e3s4, first) {
623
657
  var tmp$ret$1;
624
658
  // Inline function 'kotlin.let' call
625
- var tmp0_let = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
659
+ var tmp0_let = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
626
660
  // Inline function 'kotlin.contracts.contract' call
627
661
  var tmp$ret$0;
628
662
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.AtEndOfStream1.compute.<anonymous>' call
629
- tmp$ret$0 = tmp0_let.r1z() ? true : tmp0_let.tq();
663
+ tmp$ret$0 = tmp0_let.e1y() ? true : tmp0_let.nq();
630
664
  tmp$ret$1 = tmp$ret$0;
631
665
  return tmp$ret$1;
632
666
  };
633
- AtEndOfStream1.prototype.x2j = function (_this__u8e3s4, first) {
634
- return this.o3l(_this__u8e3s4, first);
667
+ protoOf(AtEndOfStream1).u2h = function (_this__u8e3s4, first) {
668
+ return this.j3j(_this__u8e3s4, first);
635
669
  };
636
670
  var AtEndOfStream1_instance;
637
671
  function AtEndOfStream1_getInstance() {
@@ -643,12 +677,11 @@
643
677
  CharConversion_instance = this;
644
678
  NonBacktrackable.call(this, 'char_conversion');
645
679
  }
646
- CharConversion.prototype.x2p = function (_this__u8e3s4, first, second) {
647
- var tmp = Companion_getInstance_3();
648
- return tmp.j2h(_this__u8e3s4, null, 1, null);
680
+ protoOf(CharConversion).u2n = function (_this__u8e3s4, first, second) {
681
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
649
682
  };
650
- CharConversion.prototype.a2g = function (_this__u8e3s4, first, second) {
651
- return this.x2p(_this__u8e3s4, first, second);
683
+ protoOf(CharConversion).f2e = function (_this__u8e3s4, first, second) {
684
+ return this.u2n(_this__u8e3s4, first, second);
652
685
  };
653
686
  var CharConversion_instance;
654
687
  function CharConversion_getInstance() {
@@ -658,15 +691,15 @@
658
691
  }
659
692
  function Close1$computeOne$lambda($this_computeOne, $channel) {
660
693
  return function ($this$replySuccess) {
661
- var tmp = $this_computeOne.context.x1u();
662
- $this$replySuccess.h2n(tmp.aliasesOf(isInterface($channel, InputChannel) ? $channel : THROW_CCE()));
694
+ var tmp = $this_computeOne.context.z1t();
695
+ $this$replySuccess.e2l(tmp.aliasesOf(isInterface($channel, InputChannel) ? $channel : THROW_CCE()));
663
696
  return Unit_getInstance();
664
697
  };
665
698
  }
666
699
  function Close1$computeOne$lambda_0($this_computeOne, $channel) {
667
700
  return function ($this$replySuccess) {
668
- var tmp = $this_computeOne.context.y1u();
669
- $this$replySuccess.k2n(tmp.aliasesOf(isInterface($channel, OutputChannel) ? $channel : THROW_CCE()));
701
+ var tmp = $this_computeOne.context.a1u();
702
+ $this$replySuccess.h2l(tmp.aliasesOf(isInterface($channel, OutputChannel) ? $channel : THROW_CCE()));
670
703
  return Unit_getInstance();
671
704
  };
672
705
  }
@@ -674,17 +707,17 @@
674
707
  Close1_instance = this;
675
708
  NonBacktrackable_0.call(this, 'close');
676
709
  }
677
- Close1.prototype.g2p = function (_this__u8e3s4, first) {
678
- var channel = IOPrimitiveUtils_getInstance().s3l(_this__u8e3s4, 0);
710
+ protoOf(Close1).d2n = function (_this__u8e3s4, first) {
711
+ var channel = IOPrimitiveUtils_getInstance().n3j(_this__u8e3s4, 0);
679
712
  try {
680
713
  channel.close();
681
714
  var tmp0_subject = channel;
682
715
  var tmp;
683
716
  if (isInterface(tmp0_subject, InputChannel)) {
684
- tmp = _this__u8e3s4.b2j(null, null, Close1$computeOne$lambda(_this__u8e3s4, channel), 3, null);
717
+ tmp = _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, Close1$computeOne$lambda(_this__u8e3s4, channel));
685
718
  } else {
686
719
  if (isInterface(tmp0_subject, OutputChannel)) {
687
- tmp = _this__u8e3s4.b2j(null, null, Close1$computeOne$lambda_0(_this__u8e3s4, channel), 3, null);
720
+ tmp = _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, Close1$computeOne$lambda_0(_this__u8e3s4, channel));
688
721
  } else {
689
722
  throw IllegalStateException_init_$Create$('This should never happen');
690
723
  }
@@ -692,14 +725,15 @@
692
725
  return tmp;
693
726
  } catch ($p) {
694
727
  if ($p instanceof IllegalStateException) {
695
- return _this__u8e3s4.l2g(null, [], 3, null);
728
+ var _ = $p;
729
+ return _this__u8e3s4.replyFail(VOID, []);
696
730
  } else {
697
731
  throw $p;
698
732
  }
699
733
  }
700
734
  };
701
- Close1.prototype.a2k = function (_this__u8e3s4, first) {
702
- return this.g2p(_this__u8e3s4, first);
735
+ protoOf(Close1).x2h = function (_this__u8e3s4, first) {
736
+ return this.d2n(_this__u8e3s4, first);
703
737
  };
704
738
  var Close1_instance;
705
739
  function Close1_getInstance() {
@@ -711,12 +745,11 @@
711
745
  Close2_instance = this;
712
746
  NonBacktrackable.call(this, 'close');
713
747
  }
714
- Close2.prototype.x2p = function (_this__u8e3s4, first, second) {
715
- var tmp = Companion_getInstance_3();
716
- return tmp.j2h(_this__u8e3s4, null, 1, null);
748
+ protoOf(Close2).u2n = function (_this__u8e3s4, first, second) {
749
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
717
750
  };
718
- Close2.prototype.a2g = function (_this__u8e3s4, first, second) {
719
- return this.x2p(_this__u8e3s4, first, second);
751
+ protoOf(Close2).f2e = function (_this__u8e3s4, first, second) {
752
+ return this.u2n(_this__u8e3s4, first, second);
720
753
  };
721
754
  var Close2_instance;
722
755
  function Close2_getInstance() {
@@ -728,29 +761,30 @@
728
761
  Consult_instance = this;
729
762
  NonBacktrackable_0.call(this, 'consult');
730
763
  }
731
- Consult.prototype.g2p = function (_this__u8e3s4, first) {
732
- Companion_getInstance_3().h2h(_this__u8e3s4, 0);
733
- Companion_getInstance_3().q2h(_this__u8e3s4, 0);
764
+ protoOf(Consult).d2n = function (_this__u8e3s4, first) {
765
+ Companion_getInstance_3().j2f(_this__u8e3s4, 0);
766
+ Companion_getInstance_3().s2f(_this__u8e3s4, 0);
734
767
  var urlString = (isInterface(first, Atom) ? first : THROW_CCE()).b1();
735
768
  try {
736
769
  var url = Companion_getInstance_22().of(urlString);
737
770
  var text = url.readAsText();
738
- var tmp = SetTheory_getInstance();
739
- return tmp.w3l(_this__u8e3s4, text, false, 2, null);
771
+ return SetTheory_getInstance().r3j(_this__u8e3s4, text);
740
772
  } catch ($p) {
741
773
  if ($p instanceof InvalidUrlException) {
742
- throw $p.s3k(_this__u8e3s4.context, _this__u8e3s4.signature, first, 0);
774
+ var e = $p;
775
+ throw e.n3i(_this__u8e3s4.context, _this__u8e3s4.signature, first, 0);
743
776
  } else {
744
777
  if ($p instanceof IOException) {
745
- throw $p.r3k(_this__u8e3s4.context);
778
+ var e_0 = $p;
779
+ throw e_0.m3i(_this__u8e3s4.context);
746
780
  } else {
747
781
  throw $p;
748
782
  }
749
783
  }
750
784
  }
751
785
  };
752
- Consult.prototype.a2k = function (_this__u8e3s4, first) {
753
- return this.g2p(_this__u8e3s4, first);
786
+ protoOf(Consult).x2h = function (_this__u8e3s4, first) {
787
+ return this.d2n(_this__u8e3s4, first);
754
788
  };
755
789
  var Consult_instance;
756
790
  function Consult_getInstance() {
@@ -762,12 +796,11 @@
762
796
  CurrentCharConversion_instance = this;
763
797
  NonBacktrackable.call(this, 'current_char_conversion');
764
798
  }
765
- CurrentCharConversion.prototype.x2p = function (_this__u8e3s4, first, second) {
766
- var tmp = Companion_getInstance_3();
767
- return tmp.j2h(_this__u8e3s4, null, 1, null);
799
+ protoOf(CurrentCharConversion).u2n = function (_this__u8e3s4, first, second) {
800
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
768
801
  };
769
- CurrentCharConversion.prototype.a2g = function (_this__u8e3s4, first, second) {
770
- return this.x2p(_this__u8e3s4, first, second);
802
+ protoOf(CurrentCharConversion).f2e = function (_this__u8e3s4, first, second) {
803
+ return this.u2n(_this__u8e3s4, first, second);
771
804
  };
772
805
  var CurrentCharConversion_instance;
773
806
  function CurrentCharConversion_getInstance() {
@@ -779,32 +812,23 @@
779
812
  CurrentInput_instance = this;
780
813
  NonBacktrackable_0.call(this, 'current_input');
781
814
  }
782
- CurrentInput.prototype.g2p = function (_this__u8e3s4, first) {
783
- var channel = IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
815
+ protoOf(CurrentInput).d2n = function (_this__u8e3s4, first) {
816
+ var channel = IOPrimitiveUtils_getInstance().u3j(_this__u8e3s4, 0);
784
817
  var tmp$ret$1;
785
818
  // Inline function 'kotlin.let' call
786
- var tmp0_let = _this__u8e3s4.context.x1u();
819
+ var tmp0_let = _this__u8e3s4.context.z1t();
787
820
  // Inline function 'kotlin.contracts.contract' call
788
821
  var tmp$ret$0;
789
822
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.CurrentInput.computeOne.<anonymous>' call
790
- var tmp0_elvis_lhs = tmp0_let.rq();
791
- tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.g1v() : tmp0_elvis_lhs;
823
+ var tmp0_elvis_lhs = tmp0_let.lq();
824
+ tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.g1u() : tmp0_elvis_lhs;
792
825
  tmp$ret$1 = tmp$ret$0;
793
826
  var currentChannel = tmp$ret$1;
794
827
  var tmp0_subject = channel;
795
- var tmp;
796
- if (tmp0_subject == null) {
797
- var tmp_0 = Companion_getInstance_3().b2h(_this__u8e3s4, first, currentChannel.l1z());
798
- tmp = _this__u8e3s4.g2g(tmp_0, null, [], 6, null);
799
- } else if (equals(tmp0_subject, currentChannel)) {
800
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
801
- } else {
802
- tmp = _this__u8e3s4.l2g(null, [], 3, null);
803
- }
804
- return tmp;
828
+ return tmp0_subject == null ? _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, first, currentChannel.z1x()), VOID, []) : equals(tmp0_subject, currentChannel) ? _this__u8e3s4.replySuccess(VOID, VOID, []) : _this__u8e3s4.replyFail(VOID, []);
805
829
  };
806
- CurrentInput.prototype.a2k = function (_this__u8e3s4, first) {
807
- return this.g2p(_this__u8e3s4, first);
830
+ protoOf(CurrentInput).x2h = function (_this__u8e3s4, first) {
831
+ return this.d2n(_this__u8e3s4, first);
808
832
  };
809
833
  var CurrentInput_instance;
810
834
  function CurrentInput_getInstance() {
@@ -816,32 +840,23 @@
816
840
  CurrentOutput_instance = this;
817
841
  NonBacktrackable_0.call(this, 'current_output');
818
842
  }
819
- CurrentOutput.prototype.g2p = function (_this__u8e3s4, first) {
820
- var channel = IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
843
+ protoOf(CurrentOutput).d2n = function (_this__u8e3s4, first) {
844
+ var channel = IOPrimitiveUtils_getInstance().u3j(_this__u8e3s4, 0);
821
845
  var tmp$ret$1;
822
846
  // Inline function 'kotlin.let' call
823
- var tmp0_let = _this__u8e3s4.context.y1u();
847
+ var tmp0_let = _this__u8e3s4.context.a1u();
824
848
  // Inline function 'kotlin.contracts.contract' call
825
849
  var tmp$ret$0;
826
850
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.CurrentOutput.computeOne.<anonymous>' call
827
- var tmp0_elvis_lhs = tmp0_let.rq();
828
- tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.i1v() : tmp0_elvis_lhs;
851
+ var tmp0_elvis_lhs = tmp0_let.lq();
852
+ tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.i1u() : tmp0_elvis_lhs;
829
853
  tmp$ret$1 = tmp$ret$0;
830
854
  var currentChannel = tmp$ret$1;
831
855
  var tmp0_subject = channel;
832
- var tmp;
833
- if (tmp0_subject == null) {
834
- var tmp_0 = Companion_getInstance_3().b2h(_this__u8e3s4, first, currentChannel.l1z());
835
- tmp = _this__u8e3s4.g2g(tmp_0, null, [], 6, null);
836
- } else if (equals(tmp0_subject, currentChannel)) {
837
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
838
- } else {
839
- tmp = _this__u8e3s4.l2g(null, [], 3, null);
840
- }
841
- return tmp;
856
+ return tmp0_subject == null ? _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, first, currentChannel.z1x()), VOID, []) : equals(tmp0_subject, currentChannel) ? _this__u8e3s4.replySuccess(VOID, VOID, []) : _this__u8e3s4.replyFail(VOID, []);
842
857
  };
843
- CurrentOutput.prototype.a2k = function (_this__u8e3s4, first) {
844
- return this.g2p(_this__u8e3s4, first);
858
+ protoOf(CurrentOutput).x2h = function (_this__u8e3s4, first) {
859
+ return this.d2n(_this__u8e3s4, first);
845
860
  };
846
861
  var CurrentOutput_instance;
847
862
  function CurrentOutput_getInstance() {
@@ -853,16 +868,17 @@
853
868
  FlushOutput_instance = this;
854
869
  NonBacktrackable_0.call(this, 'flush_output');
855
870
  }
856
- FlushOutput.prototype.g2p = function (_this__u8e3s4, first) {
857
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
871
+ protoOf(FlushOutput).d2n = function (_this__u8e3s4, first) {
872
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
858
873
  var tmp;
859
874
  try {
860
875
  channel.flush();
861
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
876
+ tmp = _this__u8e3s4.replySuccess(VOID, VOID, []);
862
877
  } catch ($p) {
863
878
  var tmp_0;
864
879
  if ($p instanceof IllegalStateException) {
865
- tmp_0 = _this__u8e3s4.l2g(null, [], 3, null);
880
+ var _ = $p;
881
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
866
882
  } else {
867
883
  throw $p;
868
884
  }
@@ -870,8 +886,8 @@
870
886
  }
871
887
  return tmp;
872
888
  };
873
- FlushOutput.prototype.a2k = function (_this__u8e3s4, first) {
874
- return this.g2p(_this__u8e3s4, first);
889
+ protoOf(FlushOutput).x2h = function (_this__u8e3s4, first) {
890
+ return this.d2n(_this__u8e3s4, first);
875
891
  };
876
892
  var FlushOutput_instance;
877
893
  function FlushOutput_getInstance() {
@@ -883,12 +899,11 @@
883
899
  GetByte1_instance = this;
884
900
  NonBacktrackable_0.call(this, 'get_byte');
885
901
  }
886
- GetByte1.prototype.g2p = function (_this__u8e3s4, first) {
887
- var tmp = Companion_getInstance_3();
888
- return tmp.j2h(_this__u8e3s4, null, 1, null);
902
+ protoOf(GetByte1).d2n = function (_this__u8e3s4, first) {
903
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
889
904
  };
890
- GetByte1.prototype.a2k = function (_this__u8e3s4, first) {
891
- return this.g2p(_this__u8e3s4, first);
905
+ protoOf(GetByte1).x2h = function (_this__u8e3s4, first) {
906
+ return this.d2n(_this__u8e3s4, first);
892
907
  };
893
908
  var GetByte1_instance;
894
909
  function GetByte1_getInstance() {
@@ -900,12 +915,11 @@
900
915
  GetByte2_instance = this;
901
916
  NonBacktrackable.call(this, 'get_byte');
902
917
  }
903
- GetByte2.prototype.x2p = function (_this__u8e3s4, first, second) {
904
- var tmp = Companion_getInstance_3();
905
- return tmp.j2h(_this__u8e3s4, null, 1, null);
918
+ protoOf(GetByte2).u2n = function (_this__u8e3s4, first, second) {
919
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
906
920
  };
907
- GetByte2.prototype.a2g = function (_this__u8e3s4, first, second) {
908
- return this.x2p(_this__u8e3s4, first, second);
921
+ protoOf(GetByte2).f2e = function (_this__u8e3s4, first, second) {
922
+ return this.u2n(_this__u8e3s4, first, second);
909
923
  };
910
924
  var GetByte2_instance;
911
925
  function GetByte2_getInstance() {
@@ -917,12 +931,12 @@
917
931
  GetChar1_instance = this;
918
932
  NonBacktrackable_0.call(this, 'get_char');
919
933
  }
920
- GetChar1.prototype.g2p = function (_this__u8e3s4, first) {
921
- IOPrimitiveUtils_getInstance().g3m(_this__u8e3s4, 0);
922
- return IOPrimitiveUtils_getInstance().h3m(_this__u8e3s4, IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4), first);
934
+ protoOf(GetChar1).d2n = function (_this__u8e3s4, first) {
935
+ IOPrimitiveUtils_getInstance().b3k(_this__u8e3s4, 0);
936
+ return IOPrimitiveUtils_getInstance().c3k(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4), first);
923
937
  };
924
- GetChar1.prototype.a2k = function (_this__u8e3s4, first) {
925
- return this.g2p(_this__u8e3s4, first);
938
+ protoOf(GetChar1).x2h = function (_this__u8e3s4, first) {
939
+ return this.d2n(_this__u8e3s4, first);
926
940
  };
927
941
  var GetChar1_instance;
928
942
  function GetChar1_getInstance() {
@@ -934,13 +948,13 @@
934
948
  GetChar2_instance = this;
935
949
  NonBacktrackable.call(this, 'get_char');
936
950
  }
937
- GetChar2.prototype.x2p = function (_this__u8e3s4, first, second) {
938
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
939
- IOPrimitiveUtils_getInstance().g3m(_this__u8e3s4, 1);
940
- return IOPrimitiveUtils_getInstance().h3m(_this__u8e3s4, channel, second);
951
+ protoOf(GetChar2).u2n = function (_this__u8e3s4, first, second) {
952
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
953
+ IOPrimitiveUtils_getInstance().b3k(_this__u8e3s4, 1);
954
+ return IOPrimitiveUtils_getInstance().c3k(_this__u8e3s4, channel, second);
941
955
  };
942
- GetChar2.prototype.a2g = function (_this__u8e3s4, first, second) {
943
- return this.x2p(_this__u8e3s4, first, second);
956
+ protoOf(GetChar2).f2e = function (_this__u8e3s4, first, second) {
957
+ return this.u2n(_this__u8e3s4, first, second);
944
958
  };
945
959
  var GetChar2_instance;
946
960
  function GetChar2_getInstance() {
@@ -952,12 +966,12 @@
952
966
  GetCode1_instance = this;
953
967
  NonBacktrackable_0.call(this, 'get_code');
954
968
  }
955
- GetCode1.prototype.g2p = function (_this__u8e3s4, first) {
956
- IOPrimitiveUtils_getInstance().k3m(_this__u8e3s4, 0);
957
- return IOPrimitiveUtils_getInstance().l3m(_this__u8e3s4, IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4), first);
969
+ protoOf(GetCode1).d2n = function (_this__u8e3s4, first) {
970
+ IOPrimitiveUtils_getInstance().f3k(_this__u8e3s4, 0);
971
+ return IOPrimitiveUtils_getInstance().g3k(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4), first);
958
972
  };
959
- GetCode1.prototype.a2k = function (_this__u8e3s4, first) {
960
- return this.g2p(_this__u8e3s4, first);
973
+ protoOf(GetCode1).x2h = function (_this__u8e3s4, first) {
974
+ return this.d2n(_this__u8e3s4, first);
961
975
  };
962
976
  var GetCode1_instance;
963
977
  function GetCode1_getInstance() {
@@ -969,13 +983,13 @@
969
983
  GetCode2_instance = this;
970
984
  NonBacktrackable.call(this, 'get_code');
971
985
  }
972
- GetCode2.prototype.x2p = function (_this__u8e3s4, first, second) {
973
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
974
- IOPrimitiveUtils_getInstance().k3m(_this__u8e3s4, 0);
975
- return IOPrimitiveUtils_getInstance().l3m(_this__u8e3s4, channel, first);
986
+ protoOf(GetCode2).u2n = function (_this__u8e3s4, first, second) {
987
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
988
+ IOPrimitiveUtils_getInstance().f3k(_this__u8e3s4, 0);
989
+ return IOPrimitiveUtils_getInstance().g3k(_this__u8e3s4, channel, first);
976
990
  };
977
- GetCode2.prototype.a2g = function (_this__u8e3s4, first, second) {
978
- return this.x2p(_this__u8e3s4, first, second);
991
+ protoOf(GetCode2).f2e = function (_this__u8e3s4, first, second) {
992
+ return this.u2n(_this__u8e3s4, first, second);
979
993
  };
980
994
  var GetCode2_instance;
981
995
  function GetCode2_getInstance() {
@@ -1009,119 +1023,119 @@
1009
1023
  var tmp$ret$0;
1010
1024
  // Inline function 'kotlin.getValue' call
1011
1025
  var tmp0_getValue = INPUT_STREAM_TERM_PATTERN$factory();
1012
- tmp$ret$0 = $this.v3k_1.b1();
1026
+ tmp$ret$0 = $this.q3i_1.b1();
1013
1027
  return tmp$ret$0;
1014
1028
  }
1015
1029
  function _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf($this) {
1016
1030
  var tmp$ret$0;
1017
1031
  // Inline function 'kotlin.getValue' call
1018
1032
  var tmp0_getValue = OUTPUT_STREAM_TERM_PATTERN$factory();
1019
- tmp$ret$0 = $this.w3k_1.b1();
1033
+ tmp$ret$0 = $this.r3i_1.b1();
1020
1034
  return tmp$ret$0;
1021
1035
  }
1022
1036
  function _get_PROPERTY_TYPE_PATTERN__5nq864($this) {
1023
1037
  var tmp$ret$0;
1024
1038
  // Inline function 'kotlin.getValue' call
1025
1039
  var tmp0_getValue = PROPERTY_TYPE_PATTERN$factory();
1026
- tmp$ret$0 = $this.x3k_1.b1();
1040
+ tmp$ret$0 = $this.s3i_1.b1();
1027
1041
  return tmp$ret$0;
1028
1042
  }
1029
1043
  function _get_PROPERTY_REPOSITION_PATTERN__lznuii($this) {
1030
1044
  var tmp$ret$0;
1031
1045
  // Inline function 'kotlin.getValue' call
1032
1046
  var tmp0_getValue = PROPERTY_REPOSITION_PATTERN$factory();
1033
- tmp$ret$0 = $this.y3k_1.b1();
1047
+ tmp$ret$0 = $this.t3i_1.b1();
1034
1048
  return tmp$ret$0;
1035
1049
  }
1036
1050
  function _get_PROPERTY_EOF_ACTION_PATTERN__8k2shv($this) {
1037
1051
  var tmp$ret$0;
1038
1052
  // Inline function 'kotlin.getValue' call
1039
1053
  var tmp0_getValue = PROPERTY_EOF_ACTION_PATTERN$factory();
1040
- tmp$ret$0 = $this.z3k_1.b1();
1054
+ tmp$ret$0 = $this.u3i_1.b1();
1041
1055
  return tmp$ret$0;
1042
1056
  }
1043
1057
  function _get_PROPERTY_ALIAS_PATTERN__wipd2s($this) {
1044
1058
  var tmp$ret$0;
1045
1059
  // Inline function 'kotlin.getValue' call
1046
1060
  var tmp0_getValue = PROPERTY_ALIAS_PATTERN$factory();
1047
- tmp$ret$0 = $this.a3l_1.b1();
1061
+ tmp$ret$0 = $this.v3i_1.b1();
1048
1062
  return tmp$ret$0;
1049
1063
  }
1050
1064
  function _get_PROPERTY_INPUT__z2zr91($this) {
1051
1065
  var tmp$ret$0;
1052
1066
  // Inline function 'kotlin.getValue' call
1053
1067
  var tmp0_getValue = PROPERTY_INPUT$factory();
1054
- tmp$ret$0 = $this.b3l_1.b1();
1068
+ tmp$ret$0 = $this.w3i_1.b1();
1055
1069
  return tmp$ret$0;
1056
1070
  }
1057
1071
  function _get_PROPERTY_OUTPUT__1pem9m($this) {
1058
1072
  var tmp$ret$0;
1059
1073
  // Inline function 'kotlin.getValue' call
1060
1074
  var tmp0_getValue = PROPERTY_OUTPUT$factory();
1061
- tmp$ret$0 = $this.c3l_1.b1();
1075
+ tmp$ret$0 = $this.x3i_1.b1();
1062
1076
  return tmp$ret$0;
1063
1077
  }
1064
1078
  function _get_PROPERTY_TYPE_TEXT__9rpcwt($this) {
1065
1079
  var tmp$ret$0;
1066
1080
  // Inline function 'kotlin.getValue' call
1067
1081
  var tmp0_getValue = PROPERTY_TYPE_TEXT$factory();
1068
- tmp$ret$0 = $this.d3l_1.b1();
1082
+ tmp$ret$0 = $this.y3i_1.b1();
1069
1083
  return tmp$ret$0;
1070
1084
  }
1071
1085
  function _get_PROPERTY_REPOSITION_FALSE__i73t3b($this) {
1072
1086
  var tmp$ret$0;
1073
1087
  // Inline function 'kotlin.getValue' call
1074
1088
  var tmp0_getValue = PROPERTY_REPOSITION_FALSE$factory();
1075
- tmp$ret$0 = $this.e3l_1.b1();
1089
+ tmp$ret$0 = $this.z3i_1.b1();
1076
1090
  return tmp$ret$0;
1077
1091
  }
1078
1092
  function _get_PROPERTY_EOF_ACTION_EOF_CODE__he3pvl($this) {
1079
1093
  var tmp$ret$0;
1080
1094
  // Inline function 'kotlin.getValue' call
1081
1095
  var tmp0_getValue = PROPERTY_EOF_ACTION_EOF_CODE$factory();
1082
- tmp$ret$0 = $this.f3l_1.b1();
1096
+ tmp$ret$0 = $this.a3j_1.b1();
1083
1097
  return tmp$ret$0;
1084
1098
  }
1085
1099
  function _get_OPTION_QUOTED_PATTERN__n2ri42($this) {
1086
1100
  var tmp$ret$0;
1087
1101
  // Inline function 'kotlin.getValue' call
1088
1102
  var tmp0_getValue = OPTION_QUOTED_PATTERN$factory();
1089
- tmp$ret$0 = $this.g3l_1.b1();
1103
+ tmp$ret$0 = $this.b3j_1.b1();
1090
1104
  return tmp$ret$0;
1091
1105
  }
1092
1106
  function _get_OPTION_NUMBER_VARS_PATTERN__p98ste($this) {
1093
1107
  var tmp$ret$0;
1094
1108
  // Inline function 'kotlin.getValue' call
1095
1109
  var tmp0_getValue = OPTION_NUMBER_VARS_PATTERN$factory();
1096
- tmp$ret$0 = $this.h3l_1.b1();
1110
+ tmp$ret$0 = $this.c3j_1.b1();
1097
1111
  return tmp$ret$0;
1098
1112
  }
1099
1113
  function _get_OPTION_IGNORE_OPS_PATTERN__cpse4v($this) {
1100
1114
  var tmp$ret$0;
1101
1115
  // Inline function 'kotlin.getValue' call
1102
1116
  var tmp0_getValue = OPTION_IGNORE_OPS_PATTERN$factory();
1103
- tmp$ret$0 = $this.i3l_1.b1();
1117
+ tmp$ret$0 = $this.d3j_1.b1();
1104
1118
  return tmp$ret$0;
1105
1119
  }
1106
1120
  function _get_INFO_VARIABLES_PATTERN__bhp1h0($this) {
1107
1121
  var tmp$ret$0;
1108
1122
  // Inline function 'kotlin.getValue' call
1109
1123
  var tmp0_getValue = INFO_VARIABLES_PATTERN$factory();
1110
- tmp$ret$0 = $this.j3l_1.b1();
1124
+ tmp$ret$0 = $this.e3j_1.b1();
1111
1125
  return tmp$ret$0;
1112
1126
  }
1113
1127
  function _get_INFO_VARIABLE_NAMES_PATTERN__j3oaom($this) {
1114
1128
  var tmp$ret$0;
1115
1129
  // Inline function 'kotlin.getValue' call
1116
1130
  var tmp0_getValue = INFO_VARIABLE_NAMES_PATTERN$factory();
1117
- tmp$ret$0 = $this.k3l_1.b1();
1131
+ tmp$ret$0 = $this.f3j_1.b1();
1118
1132
  return tmp$ret$0;
1119
1133
  }
1120
1134
  function _get_INFO_SINGLETONS_PATTERN__y21s87($this) {
1121
1135
  var tmp$ret$0;
1122
1136
  // Inline function 'kotlin.getValue' call
1123
1137
  var tmp0_getValue = INFO_SINGLETONS_PATTERN$factory();
1124
- tmp$ret$0 = $this.l3l_1.b1();
1138
+ tmp$ret$0 = $this.g3j_1.b1();
1125
1139
  return tmp$ret$0;
1126
1140
  }
1127
1141
  function _get_validPropertiesPattern__7s1t06($this) {
@@ -1158,9 +1172,8 @@
1158
1172
  var tmp1_elvis_lhs = tmp_0;
1159
1173
  return tmp.of('alias', [tmp1_elvis_lhs == null ? Companion_getInstance_6().anonymous() : tmp1_elvis_lhs]);
1160
1174
  }
1161
- function alias$default($this, alias_0, $mask0, $handler) {
1162
- if (!(($mask0 & 2) === 0))
1163
- alias_0 = null;
1175
+ function alias$default($this, alias_0, $super) {
1176
+ alias_0 = alias_0 === VOID ? null : alias_0;
1164
1177
  return alias($this, alias_0);
1165
1178
  }
1166
1179
  function quoted($this, value) {
@@ -1182,9 +1195,8 @@
1182
1195
  var tmp1_elvis_lhs = tmp_0;
1183
1196
  return tmp.of('quoted', [tmp1_elvis_lhs == null ? Companion_getInstance_6().anonymous() : tmp1_elvis_lhs]);
1184
1197
  }
1185
- function quoted$default($this, value, $mask0, $handler) {
1186
- if (!(($mask0 & 2) === 0))
1187
- value = null;
1198
+ function quoted$default($this, value, $super) {
1199
+ value = value === VOID ? null : value;
1188
1200
  return quoted($this, value);
1189
1201
  }
1190
1202
  function ignoreOps($this, value) {
@@ -1206,9 +1218,8 @@
1206
1218
  var tmp1_elvis_lhs = tmp_0;
1207
1219
  return tmp.of('ignore_ops', [tmp1_elvis_lhs == null ? Companion_getInstance_6().anonymous() : tmp1_elvis_lhs]);
1208
1220
  }
1209
- function ignoreOps$default($this, value, $mask0, $handler) {
1210
- if (!(($mask0 & 2) === 0))
1211
- value = null;
1221
+ function ignoreOps$default($this, value, $super) {
1222
+ value = value === VOID ? null : value;
1212
1223
  return ignoreOps($this, value);
1213
1224
  }
1214
1225
  function numberVars($this, value) {
@@ -1230,9 +1241,8 @@
1230
1241
  var tmp1_elvis_lhs = tmp_0;
1231
1242
  return tmp.of('numbervars', [tmp1_elvis_lhs == null ? Companion_getInstance_6().anonymous() : tmp1_elvis_lhs]);
1232
1243
  }
1233
- function numberVars$default($this, value, $mask0, $handler) {
1234
- if (!(($mask0 & 2) === 0))
1235
- value = null;
1244
+ function numberVars$default($this, value, $super) {
1245
+ value = value === VOID ? null : value;
1236
1246
  return numberVars($this, value);
1237
1247
  }
1238
1248
  function variables($this, variables) {
@@ -1254,9 +1264,8 @@
1254
1264
  var tmp1_elvis_lhs = tmp_0;
1255
1265
  return tmp.of('variables', [tmp1_elvis_lhs == null ? Companion_getInstance_6().anonymous() : tmp1_elvis_lhs]);
1256
1266
  }
1257
- function variables$default($this, variables_0, $mask0, $handler) {
1258
- if (!(($mask0 & 2) === 0))
1259
- variables_0 = null;
1267
+ function variables$default($this, variables_0, $super) {
1268
+ variables_0 = variables_0 === VOID ? null : variables_0;
1260
1269
  return variables($this, variables_0);
1261
1270
  }
1262
1271
  function vn($this, functor, vNames) {
@@ -1276,8 +1285,8 @@
1276
1285
  var item = tmp0_iterator.n();
1277
1286
  var tmp$ret$0;
1278
1287
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.vn.<anonymous>' call
1279
- var a = item.n3();
1280
- var v = item.o3();
1288
+ var a = item.r3();
1289
+ var v = item.s3();
1281
1290
  tmp$ret$0 = Companion_getInstance_5().of('=', [a, v]);
1282
1291
  tmp0_mapTo.g(tmp$ret$0);
1283
1292
  }
@@ -1305,17 +1314,15 @@
1305
1314
  function variableNames($this, vNames) {
1306
1315
  return vn($this, 'variable_names', vNames);
1307
1316
  }
1308
- function variableNames$default($this, vNames, $mask0, $handler) {
1309
- if (!(($mask0 & 2) === 0))
1310
- vNames = null;
1317
+ function variableNames$default($this, vNames, $super) {
1318
+ vNames = vNames === VOID ? null : vNames;
1311
1319
  return variableNames($this, vNames);
1312
1320
  }
1313
1321
  function singletons($this, vNames) {
1314
1322
  return vn($this, 'singletons', vNames);
1315
1323
  }
1316
- function singletons$default($this, vNames, $mask0, $handler) {
1317
- if (!(($mask0 & 2) === 0))
1318
- vNames = null;
1324
+ function singletons$default($this, vNames, $super) {
1325
+ vNames = vNames === VOID ? null : vNames;
1319
1326
  return singletons($this, vNames);
1320
1327
  }
1321
1328
  function getOption(_this__u8e3s4, $this, unificator, pattern) {
@@ -1378,11 +1385,11 @@
1378
1385
  function _get_singletons__bihqrn(_this__u8e3s4, $this) {
1379
1386
  var tmp$ret$4;
1380
1387
  // Inline function 'kotlin.sequences.groupBy' call
1381
- var tmp0_groupBy = _this__u8e3s4.ew();
1388
+ var tmp1_groupBy = _this__u8e3s4.yv();
1382
1389
  var tmp$ret$3;
1383
1390
  // Inline function 'kotlin.sequences.groupByTo' call
1384
1391
  var tmp0_groupByTo = LinkedHashMap_init_$Create$_0();
1385
- var tmp0_iterator = tmp0_groupBy.j();
1392
+ var tmp0_iterator = tmp1_groupBy.j();
1386
1393
  while (tmp0_iterator.m()) {
1387
1394
  var element = tmp0_iterator.n();
1388
1395
  var tmp$ret$0;
@@ -1391,14 +1398,14 @@
1391
1398
  var key = tmp$ret$0;
1392
1399
  var tmp$ret$2;
1393
1400
  // Inline function 'kotlin.collections.getOrPut' call
1394
- var value = tmp0_groupByTo.a3(key);
1401
+ var value = tmp0_groupByTo.f3(key);
1395
1402
  var tmp;
1396
1403
  if (value == null) {
1397
1404
  var tmp$ret$1;
1398
1405
  // Inline function 'kotlin.sequences.groupByTo.<anonymous>' call
1399
1406
  tmp$ret$1 = ArrayList_init_$Create$_0();
1400
1407
  var answer = tmp$ret$1;
1401
- tmp0_groupByTo.w3(key, answer);
1408
+ tmp0_groupByTo.a4(key, answer);
1402
1409
  tmp = answer;
1403
1410
  } else {
1404
1411
  tmp = value;
@@ -1429,18 +1436,18 @@
1429
1436
  var element = tmp0_iterator.n();
1430
1437
  var tmp$ret$0;
1431
1438
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.toAssignments.<anonymous>' call
1432
- tmp$ret$0 = Companion_getInstance_0().of(element.og());
1439
+ tmp$ret$0 = Companion_getInstance_0().of(element.qg());
1433
1440
  var key = tmp$ret$0;
1434
1441
  var tmp$ret$2;
1435
1442
  // Inline function 'kotlin.collections.getOrPut' call
1436
- var value = tmp0_groupByTo.a3(key);
1443
+ var value = tmp0_groupByTo.f3(key);
1437
1444
  var tmp;
1438
1445
  if (value == null) {
1439
1446
  var tmp$ret$1;
1440
1447
  // Inline function 'kotlin.sequences.groupByTo.<anonymous>' call
1441
1448
  tmp$ret$1 = ArrayList_init_$Create$_0();
1442
1449
  var answer = tmp$ret$1;
1443
- tmp0_groupByTo.w3(key, answer);
1450
+ tmp0_groupByTo.a4(key, answer);
1444
1451
  tmp = answer;
1445
1452
  } else {
1446
1453
  tmp = value;
@@ -1451,13 +1458,13 @@
1451
1458
  }
1452
1459
  tmp$ret$3 = tmp0_groupByTo;
1453
1460
  tmp$ret$4 = tmp$ret$3;
1454
- var tmp0_flatMap = tmp$ret$4;
1461
+ var tmp2_flatMap = tmp$ret$4;
1455
1462
  var tmp$ret$9;
1456
1463
  // Inline function 'kotlin.collections.flatMapTo' call
1457
- var tmp0_flatMapTo = ArrayList_init_$Create$_0();
1464
+ var tmp1_flatMapTo = ArrayList_init_$Create$_0();
1458
1465
  var tmp$ret$5;
1459
1466
  // Inline function 'kotlin.collections.iterator' call
1460
- tmp$ret$5 = tmp0_flatMap.z().j();
1467
+ tmp$ret$5 = tmp2_flatMap.z().j();
1461
1468
  var tmp0_iterator_0 = tmp$ret$5;
1462
1469
  while (tmp0_iterator_0.m()) {
1463
1470
  var element_0 = tmp0_iterator_0.n();
@@ -1474,9 +1481,9 @@
1474
1481
  var tmp_0 = asSequence_0(vs);
1475
1482
  tmp$ret$8 = map(tmp_0, IOPrimitiveUtils$toAssignments$lambda(n));
1476
1483
  var list_0 = tmp$ret$8;
1477
- addAll(tmp0_flatMapTo, list_0);
1484
+ addAll(tmp1_flatMapTo, list_0);
1478
1485
  }
1479
- tmp$ret$9 = tmp0_flatMapTo;
1486
+ tmp$ret$9 = tmp1_flatMapTo;
1480
1487
  tmp$ret$10 = tmp$ret$9;
1481
1488
  return toList(tmp$ret$10);
1482
1489
  }
@@ -1487,22 +1494,20 @@
1487
1494
  return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b1();
1488
1495
  }
1489
1496
  function replyOpeningStream(_this__u8e3s4, $this, channel, third, alias) {
1490
- var streamTerm = channel.l1z();
1491
- var tmp = Companion_getInstance_3().b2h(_this__u8e3s4, third, streamTerm);
1492
- return _this__u8e3s4.u2i(tmp, null, IOPrimitiveUtils$replyOpeningStream$lambda(alias, channel), 2, null);
1497
+ var streamTerm = channel.z1x();
1498
+ var tmp = Companion_getInstance_3().d2f(_this__u8e3s4, third, streamTerm);
1499
+ return _this__u8e3s4.replyWithBuildingSideEffects(tmp, VOID, IOPrimitiveUtils$replyOpeningStream$lambda(alias, channel));
1493
1500
  }
1494
1501
  function replyOpeningStream_0(_this__u8e3s4, $this, channel, third, alias) {
1495
- var streamTerm = channel.l1z();
1496
- var tmp = Companion_getInstance_3().b2h(_this__u8e3s4, third, streamTerm);
1497
- return _this__u8e3s4.u2i(tmp, null, IOPrimitiveUtils$replyOpeningStream$lambda_0(alias, channel), 2, null);
1502
+ var streamTerm = channel.z1x();
1503
+ var tmp = Companion_getInstance_3().d2f(_this__u8e3s4, third, streamTerm);
1504
+ return _this__u8e3s4.replyWithBuildingSideEffects(tmp, VOID, IOPrimitiveUtils$replyOpeningStream$lambda_0(alias, channel));
1498
1505
  }
1499
1506
  function IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda() {
1500
- var tmp = Companion_getInstance_10();
1501
- return tmp.p1z(null, 1, null);
1507
+ return Companion_getInstance_10().streamTerm();
1502
1508
  }
1503
1509
  function IOPrimitiveUtils$OUTPUT_STREAM_TERM_PATTERN$delegate$lambda() {
1504
- var tmp = Companion_getInstance_11();
1505
- return tmp.p1z(null, 1, null);
1510
+ return Companion_getInstance_11().streamTerm();
1506
1511
  }
1507
1512
  function IOPrimitiveUtils$PROPERTY_TYPE_PATTERN$delegate$lambda() {
1508
1513
  return Companion_getInstance_5().of('type', [Companion_getInstance_6().anonymous()]);
@@ -1514,8 +1519,7 @@
1514
1519
  return Companion_getInstance_5().of('eof_action', [Companion_getInstance_6().anonymous()]);
1515
1520
  }
1516
1521
  function IOPrimitiveUtils$PROPERTY_ALIAS_PATTERN$delegate$lambda() {
1517
- var tmp = IOPrimitiveUtils_getInstance();
1518
- return alias$default(tmp, null, 2, null);
1522
+ return alias$default(IOPrimitiveUtils_getInstance());
1519
1523
  }
1520
1524
  function IOPrimitiveUtils$PROPERTY_INPUT$delegate$lambda() {
1521
1525
  return Companion_getInstance_0().of('input');
@@ -1527,34 +1531,28 @@
1527
1531
  return Companion_getInstance_5().of('type', [Companion_getInstance_0().of('text')]);
1528
1532
  }
1529
1533
  function IOPrimitiveUtils$PROPERTY_REPOSITION_FALSE$delegate$lambda() {
1530
- return Companion_getInstance_5().of('reposition', [Companion_getInstance_7().vv_1]);
1534
+ return Companion_getInstance_5().of('reposition', [Companion_getInstance_7().pv_1]);
1531
1535
  }
1532
1536
  function IOPrimitiveUtils$PROPERTY_EOF_ACTION_EOF_CODE$delegate$lambda() {
1533
1537
  return Companion_getInstance_5().of('eof_action', [Companion_getInstance_0().of('eof_code')]);
1534
1538
  }
1535
1539
  function IOPrimitiveUtils$OPTION_QUOTED_PATTERN$delegate$lambda() {
1536
- var tmp = IOPrimitiveUtils_getInstance();
1537
- return quoted$default(tmp, null, 2, null);
1540
+ return quoted$default(IOPrimitiveUtils_getInstance());
1538
1541
  }
1539
1542
  function IOPrimitiveUtils$OPTION_NUMBER_VARS_PATTERN$delegate$lambda() {
1540
- var tmp = IOPrimitiveUtils_getInstance();
1541
- return numberVars$default(tmp, null, 2, null);
1543
+ return numberVars$default(IOPrimitiveUtils_getInstance());
1542
1544
  }
1543
1545
  function IOPrimitiveUtils$OPTION_IGNORE_OPS_PATTERN$delegate$lambda() {
1544
- var tmp = IOPrimitiveUtils_getInstance();
1545
- return ignoreOps$default(tmp, null, 2, null);
1546
+ return ignoreOps$default(IOPrimitiveUtils_getInstance());
1546
1547
  }
1547
1548
  function IOPrimitiveUtils$INFO_VARIABLES_PATTERN$delegate$lambda() {
1548
- var tmp = IOPrimitiveUtils_getInstance();
1549
- return variables$default(tmp, null, 2, null);
1549
+ return variables$default(IOPrimitiveUtils_getInstance());
1550
1550
  }
1551
1551
  function IOPrimitiveUtils$INFO_VARIABLE_NAMES_PATTERN$delegate$lambda() {
1552
- var tmp = IOPrimitiveUtils_getInstance();
1553
- return variableNames$default(tmp, null, 2, null);
1552
+ return variableNames$default(IOPrimitiveUtils_getInstance());
1554
1553
  }
1555
1554
  function IOPrimitiveUtils$INFO_SINGLETONS_PATTERN$delegate$lambda() {
1556
- var tmp = IOPrimitiveUtils_getInstance();
1557
- return singletons$default(tmp, null, 2, null);
1555
+ return singletons$default(IOPrimitiveUtils_getInstance());
1558
1556
  }
1559
1557
  function IOPrimitiveUtils$quoted$ref($boundThis) {
1560
1558
  var l = function (p0) {
@@ -1581,85 +1579,85 @@
1581
1579
  return map(sequenceOf([true, false]), it);
1582
1580
  }
1583
1581
  function IOPrimitiveUtils$propertiesOf$slambda($channel, $this_propertiesOf, resultContinuation) {
1584
- this.v3m_1 = $channel;
1585
- this.w3m_1 = $this_propertiesOf;
1582
+ this.q3k_1 = $channel;
1583
+ this.r3k_1 = $this_propertiesOf;
1586
1584
  CoroutineImpl.call(this, resultContinuation);
1587
1585
  }
1588
- IOPrimitiveUtils$propertiesOf$slambda.prototype.z3m = function ($this$sequence, $cont) {
1589
- var tmp = this.a3n($this$sequence, $cont);
1590
- tmp.bi_1 = Unit_getInstance();
1591
- tmp.ci_1 = null;
1592
- return tmp.hi();
1586
+ protoOf(IOPrimitiveUtils$propertiesOf$slambda).u3k = function ($this$sequence, $completion) {
1587
+ var tmp = this.v3k($this$sequence, $completion);
1588
+ tmp.ci_1 = Unit_getInstance();
1589
+ tmp.di_1 = null;
1590
+ return tmp.ii();
1593
1591
  };
1594
- IOPrimitiveUtils$propertiesOf$slambda.prototype.ti = function (p1, $cont) {
1595
- return this.z3m(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $cont);
1592
+ protoOf(IOPrimitiveUtils$propertiesOf$slambda).ui = function (p1, $completion) {
1593
+ return this.u3k(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1596
1594
  };
1597
- IOPrimitiveUtils$propertiesOf$slambda.prototype.hi = function () {
1598
- var suspendResult = this.bi_1;
1595
+ protoOf(IOPrimitiveUtils$propertiesOf$slambda).ii = function () {
1596
+ var suspendResult = this.ci_1;
1599
1597
  $sm: do
1600
1598
  try {
1601
- var tmp = this.zh_1;
1599
+ var tmp = this.ai_1;
1602
1600
  switch (tmp) {
1603
1601
  case 0:
1604
- this.ai_1 = 7;
1605
- this.y3m_1 = this.v3m_1;
1606
- var tmp_0 = this.y3m_1;
1602
+ this.bi_1 = 7;
1603
+ this.t3k_1 = this.q3k_1;
1604
+ var tmp_0 = this.t3k_1;
1607
1605
  if (isInterface(tmp_0, InputChannel)) {
1608
- this.zh_1 = 3;
1609
- suspendResult = this.x3m_1.z4(_get_PROPERTY_INPUT__z2zr91(IOPrimitiveUtils_getInstance()), this);
1606
+ this.ai_1 = 3;
1607
+ suspendResult = this.s3k_1.d5(_get_PROPERTY_INPUT__z2zr91(IOPrimitiveUtils_getInstance()), this);
1610
1608
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1611
1609
  return suspendResult;
1612
1610
  }
1613
1611
  continue $sm;
1614
1612
  } else {
1615
- var tmp_1 = this.y3m_1;
1613
+ var tmp_1 = this.t3k_1;
1616
1614
  if (isInterface(tmp_1, OutputChannel)) {
1617
- this.zh_1 = 1;
1618
- suspendResult = this.x3m_1.z4(_get_PROPERTY_OUTPUT__1pem9m(IOPrimitiveUtils_getInstance()), this);
1615
+ this.ai_1 = 1;
1616
+ suspendResult = this.s3k_1.d5(_get_PROPERTY_OUTPUT__1pem9m(IOPrimitiveUtils_getInstance()), this);
1619
1617
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1620
1618
  return suspendResult;
1621
1619
  }
1622
1620
  continue $sm;
1623
1621
  } else {
1624
- this.zh_1 = 5;
1622
+ this.ai_1 = 5;
1625
1623
  continue $sm;
1626
1624
  }
1627
1625
  }
1628
1626
 
1629
1627
  break;
1630
1628
  case 1:
1631
- this.zh_1 = 2;
1632
- var tmp_2 = this.w3m_1.context.y1u();
1633
- var tmp_3 = this.v3m_1;
1629
+ this.ai_1 = 2;
1630
+ var tmp_2 = this.r3k_1.context.a1u();
1631
+ var tmp_3 = this.q3k_1;
1634
1632
  var tmp_4 = tmp_2.aliasesOf(isInterface(tmp_3, OutputChannel) ? tmp_3 : THROW_CCE());
1635
1633
  var tmp_5 = filterNot(tmp_4, IOPrimitiveUtils$propertiesOf$slambda$lambda_0);
1636
- suspendResult = this.x3m_1.c5(map(tmp_5, IOPrimitiveUtils$alias$ref_0(IOPrimitiveUtils_getInstance())), this);
1634
+ suspendResult = this.s3k_1.g5(map(tmp_5, IOPrimitiveUtils$alias$ref_0(IOPrimitiveUtils_getInstance())), this);
1637
1635
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1638
1636
  return suspendResult;
1639
1637
  }
1640
1638
 
1641
1639
  continue $sm;
1642
1640
  case 2:
1643
- this.zh_1 = 5;
1641
+ this.ai_1 = 5;
1644
1642
  continue $sm;
1645
1643
  case 3:
1646
- this.zh_1 = 4;
1647
- var tmp_6 = this.w3m_1.context.x1u();
1648
- var tmp_7 = this.v3m_1;
1644
+ this.ai_1 = 4;
1645
+ var tmp_6 = this.r3k_1.context.z1t();
1646
+ var tmp_7 = this.q3k_1;
1649
1647
  var tmp_8 = tmp_6.aliasesOf(isInterface(tmp_7, InputChannel) ? tmp_7 : THROW_CCE());
1650
1648
  var tmp_9 = filterNot(tmp_8, IOPrimitiveUtils$propertiesOf$slambda$lambda);
1651
- suspendResult = this.x3m_1.c5(map(tmp_9, IOPrimitiveUtils$alias$ref(IOPrimitiveUtils_getInstance())), this);
1649
+ suspendResult = this.s3k_1.g5(map(tmp_9, IOPrimitiveUtils$alias$ref(IOPrimitiveUtils_getInstance())), this);
1652
1650
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1653
1651
  return suspendResult;
1654
1652
  }
1655
1653
 
1656
1654
  continue $sm;
1657
1655
  case 4:
1658
- this.zh_1 = 5;
1656
+ this.ai_1 = 5;
1659
1657
  continue $sm;
1660
1658
  case 5:
1661
- this.zh_1 = 6;
1662
- suspendResult = this.x3m_1.z4(_get_PROPERTY_TYPE_TEXT__9rpcwt(IOPrimitiveUtils_getInstance()), this);
1659
+ this.ai_1 = 6;
1660
+ suspendResult = this.s3k_1.d5(_get_PROPERTY_TYPE_TEXT__9rpcwt(IOPrimitiveUtils_getInstance()), this);
1663
1661
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1664
1662
  return suspendResult;
1665
1663
  }
@@ -1668,27 +1666,28 @@
1668
1666
  case 6:
1669
1667
  return Unit_getInstance();
1670
1668
  case 7:
1671
- throw this.ci_1;
1669
+ throw this.di_1;
1672
1670
  }
1673
1671
  } catch ($p) {
1674
- if (this.ai_1 === 7) {
1675
- throw $p;
1672
+ var e = $p;
1673
+ if (this.bi_1 === 7) {
1674
+ throw e;
1676
1675
  } else {
1677
- this.zh_1 = this.ai_1;
1678
- this.ci_1 = $p;
1676
+ this.ai_1 = this.bi_1;
1677
+ this.di_1 = e;
1679
1678
  }
1680
1679
  }
1681
1680
  while (true);
1682
1681
  };
1683
- IOPrimitiveUtils$propertiesOf$slambda.prototype.a3n = function ($this$sequence, completion) {
1684
- var i = new IOPrimitiveUtils$propertiesOf$slambda(this.v3m_1, this.w3m_1, completion);
1685
- i.x3m_1 = $this$sequence;
1682
+ protoOf(IOPrimitiveUtils$propertiesOf$slambda).v3k = function ($this$sequence, completion) {
1683
+ var i = new IOPrimitiveUtils$propertiesOf$slambda(this.q3k_1, this.r3k_1, completion);
1684
+ i.s3k_1 = $this$sequence;
1686
1685
  return i;
1687
1686
  };
1688
1687
  function IOPrimitiveUtils$propertiesOf$slambda_0($channel, $this_propertiesOf, resultContinuation) {
1689
1688
  var i = new IOPrimitiveUtils$propertiesOf$slambda($channel, $this_propertiesOf, resultContinuation);
1690
- var l = function ($this$sequence, $cont) {
1691
- return i.z3m($this$sequence, $cont);
1689
+ var l = function ($this$sequence, $completion) {
1690
+ return i.u3k($this$sequence, $completion);
1692
1691
  };
1693
1692
  l.$arity = 1;
1694
1693
  return l;
@@ -1708,7 +1707,7 @@
1708
1707
  return !(it == null) ? isInterface(it, Truth) : false;
1709
1708
  }
1710
1709
  function IOPrimitiveUtils$getOption$lambda_3(it) {
1711
- return it.aw();
1710
+ return it.uv();
1712
1711
  }
1713
1712
  function IOPrimitiveUtils$getInfo$lambda(it) {
1714
1713
  return !(it == null) ? isInterface(it, Struct) : false;
@@ -1726,93 +1725,93 @@
1726
1725
  }
1727
1726
  function IOPrimitiveUtils$open$lambda($this_open) {
1728
1727
  return function (it) {
1729
- return IOPrimitiveUtils_getInstance().b3n($this_open, it);
1728
+ return IOPrimitiveUtils_getInstance().w3k($this_open, it);
1730
1729
  };
1731
1730
  }
1732
1731
  function IOPrimitiveUtils$open$lambda_0($this_open) {
1733
1732
  return function (it) {
1734
- return IOPrimitiveUtils_getInstance().c3n($this_open, it);
1733
+ return IOPrimitiveUtils_getInstance().x3k($this_open, it);
1735
1734
  };
1736
1735
  }
1737
1736
  function IOPrimitiveUtils$replyOpeningStream$lambda($alias, $channel) {
1738
1737
  return function ($this$replyWith) {
1739
1738
  var tmp0_elvis_lhs = $alias;
1740
- $this$replyWith.i2n(tmp0_elvis_lhs == null ? 'output_channel' + $channel.l1z().get(1) : tmp0_elvis_lhs, $channel);
1739
+ $this$replyWith.f2l(tmp0_elvis_lhs == null ? 'output_channel' + $channel.z1x().get(1) : tmp0_elvis_lhs, $channel);
1741
1740
  return Unit_getInstance();
1742
1741
  };
1743
1742
  }
1744
1743
  function IOPrimitiveUtils$replyOpeningStream$lambda_0($alias, $channel) {
1745
1744
  return function ($this$replyWith) {
1746
1745
  var tmp0_elvis_lhs = $alias;
1747
- $this$replyWith.f2n(tmp0_elvis_lhs == null ? 'input_channel' + $channel.l1z().get(1) : tmp0_elvis_lhs, $channel);
1746
+ $this$replyWith.c2l(tmp0_elvis_lhs == null ? 'input_channel' + $channel.z1x().get(1) : tmp0_elvis_lhs, $channel);
1748
1747
  return Unit_getInstance();
1749
1748
  };
1750
1749
  }
1751
1750
  function IOPrimitiveUtils() {
1752
1751
  IOPrimitiveUtils_instance = this;
1753
1752
  var tmp = this;
1754
- tmp.v3k_1 = lazy(IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda);
1753
+ tmp.q3i_1 = lazy(IOPrimitiveUtils$INPUT_STREAM_TERM_PATTERN$delegate$lambda);
1755
1754
  var tmp_0 = this;
1756
- tmp_0.w3k_1 = lazy(IOPrimitiveUtils$OUTPUT_STREAM_TERM_PATTERN$delegate$lambda);
1755
+ tmp_0.r3i_1 = lazy(IOPrimitiveUtils$OUTPUT_STREAM_TERM_PATTERN$delegate$lambda);
1757
1756
  var tmp_1 = this;
1758
- tmp_1.x3k_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_PATTERN$delegate$lambda);
1757
+ tmp_1.s3i_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_PATTERN$delegate$lambda);
1759
1758
  var tmp_2 = this;
1760
- tmp_2.y3k_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_PATTERN$delegate$lambda);
1759
+ tmp_2.t3i_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_PATTERN$delegate$lambda);
1761
1760
  var tmp_3 = this;
1762
- tmp_3.z3k_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_PATTERN$delegate$lambda);
1761
+ tmp_3.u3i_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_PATTERN$delegate$lambda);
1763
1762
  var tmp_4 = this;
1764
- tmp_4.a3l_1 = lazy(IOPrimitiveUtils$PROPERTY_ALIAS_PATTERN$delegate$lambda);
1763
+ tmp_4.v3i_1 = lazy(IOPrimitiveUtils$PROPERTY_ALIAS_PATTERN$delegate$lambda);
1765
1764
  var tmp_5 = this;
1766
- tmp_5.b3l_1 = lazy(IOPrimitiveUtils$PROPERTY_INPUT$delegate$lambda);
1765
+ tmp_5.w3i_1 = lazy(IOPrimitiveUtils$PROPERTY_INPUT$delegate$lambda);
1767
1766
  var tmp_6 = this;
1768
- tmp_6.c3l_1 = lazy(IOPrimitiveUtils$PROPERTY_OUTPUT$delegate$lambda);
1767
+ tmp_6.x3i_1 = lazy(IOPrimitiveUtils$PROPERTY_OUTPUT$delegate$lambda);
1769
1768
  var tmp_7 = this;
1770
- tmp_7.d3l_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_TEXT$delegate$lambda);
1769
+ tmp_7.y3i_1 = lazy(IOPrimitiveUtils$PROPERTY_TYPE_TEXT$delegate$lambda);
1771
1770
  var tmp_8 = this;
1772
- tmp_8.e3l_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_FALSE$delegate$lambda);
1771
+ tmp_8.z3i_1 = lazy(IOPrimitiveUtils$PROPERTY_REPOSITION_FALSE$delegate$lambda);
1773
1772
  var tmp_9 = this;
1774
- tmp_9.f3l_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_EOF_CODE$delegate$lambda);
1773
+ tmp_9.a3j_1 = lazy(IOPrimitiveUtils$PROPERTY_EOF_ACTION_EOF_CODE$delegate$lambda);
1775
1774
  var tmp_10 = this;
1776
- tmp_10.g3l_1 = lazy(IOPrimitiveUtils$OPTION_QUOTED_PATTERN$delegate$lambda);
1775
+ tmp_10.b3j_1 = lazy(IOPrimitiveUtils$OPTION_QUOTED_PATTERN$delegate$lambda);
1777
1776
  var tmp_11 = this;
1778
- tmp_11.h3l_1 = lazy(IOPrimitiveUtils$OPTION_NUMBER_VARS_PATTERN$delegate$lambda);
1777
+ tmp_11.c3j_1 = lazy(IOPrimitiveUtils$OPTION_NUMBER_VARS_PATTERN$delegate$lambda);
1779
1778
  var tmp_12 = this;
1780
- tmp_12.i3l_1 = lazy(IOPrimitiveUtils$OPTION_IGNORE_OPS_PATTERN$delegate$lambda);
1779
+ tmp_12.d3j_1 = lazy(IOPrimitiveUtils$OPTION_IGNORE_OPS_PATTERN$delegate$lambda);
1781
1780
  var tmp_13 = this;
1782
- tmp_13.j3l_1 = lazy(IOPrimitiveUtils$INFO_VARIABLES_PATTERN$delegate$lambda);
1781
+ tmp_13.e3j_1 = lazy(IOPrimitiveUtils$INFO_VARIABLES_PATTERN$delegate$lambda);
1783
1782
  var tmp_14 = this;
1784
- tmp_14.k3l_1 = lazy(IOPrimitiveUtils$INFO_VARIABLE_NAMES_PATTERN$delegate$lambda);
1783
+ tmp_14.f3j_1 = lazy(IOPrimitiveUtils$INFO_VARIABLE_NAMES_PATTERN$delegate$lambda);
1785
1784
  var tmp_15 = this;
1786
- tmp_15.l3l_1 = lazy(IOPrimitiveUtils$INFO_SINGLETONS_PATTERN$delegate$lambda);
1785
+ tmp_15.g3j_1 = lazy(IOPrimitiveUtils$INFO_SINGLETONS_PATTERN$delegate$lambda);
1787
1786
  }
1788
- IOPrimitiveUtils.prototype.d3n = function (_this__u8e3s4, channel) {
1787
+ protoOf(IOPrimitiveUtils).y3k = function (_this__u8e3s4, channel) {
1789
1788
  return sequence(IOPrimitiveUtils$propertiesOf$slambda_0(channel, _this__u8e3s4, null));
1790
1789
  };
1791
- IOPrimitiveUtils.prototype.m3l = function (_this__u8e3s4) {
1790
+ protoOf(IOPrimitiveUtils).h3j = function (_this__u8e3s4) {
1792
1791
  var tmp$ret$1;
1793
1792
  // Inline function 'kotlin.let' call
1794
- var tmp0_let = _this__u8e3s4.context.x1u();
1793
+ var tmp0_let = _this__u8e3s4.context.z1t();
1795
1794
  // Inline function 'kotlin.contracts.contract' call
1796
1795
  var tmp$ret$0;
1797
1796
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.<get-currentInputChannel>.<anonymous>' call
1798
- var tmp0_elvis_lhs = tmp0_let.rq();
1799
- tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.g1v() : tmp0_elvis_lhs;
1797
+ var tmp0_elvis_lhs = tmp0_let.lq();
1798
+ tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.g1u() : tmp0_elvis_lhs;
1800
1799
  tmp$ret$1 = tmp$ret$0;
1801
1800
  return tmp$ret$1;
1802
1801
  };
1803
- IOPrimitiveUtils.prototype.e3n = function (_this__u8e3s4) {
1802
+ protoOf(IOPrimitiveUtils).z3k = function (_this__u8e3s4) {
1804
1803
  var tmp$ret$1;
1805
1804
  // Inline function 'kotlin.let' call
1806
- var tmp0_let = _this__u8e3s4.context.y1u();
1805
+ var tmp0_let = _this__u8e3s4.context.a1u();
1807
1806
  // Inline function 'kotlin.contracts.contract' call
1808
1807
  var tmp$ret$0;
1809
1808
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.<get-currentOutputChannel>.<anonymous>' call
1810
- var tmp0_elvis_lhs = tmp0_let.rq();
1811
- tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.i1v() : tmp0_elvis_lhs;
1809
+ var tmp0_elvis_lhs = tmp0_let.lq();
1810
+ tmp$ret$0 = tmp0_elvis_lhs == null ? tmp0_let.i1u() : tmp0_elvis_lhs;
1812
1811
  tmp$ret$1 = tmp$ret$0;
1813
1812
  return tmp$ret$1;
1814
1813
  };
1815
- IOPrimitiveUtils.prototype.b3n = function (_this__u8e3s4, term) {
1814
+ protoOf(IOPrimitiveUtils).w3k = function (_this__u8e3s4, term) {
1816
1815
  var tmp;
1817
1816
  var tmp$ret$1;
1818
1817
  $l$block: {
@@ -1823,7 +1822,7 @@
1823
1822
  var element = tmp0_iterator.n();
1824
1823
  var tmp$ret$0;
1825
1824
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidProperty.<anonymous>' call
1826
- tmp$ret$0 = Companion_getInstance_3().c2h(_this__u8e3s4, element, term);
1825
+ tmp$ret$0 = Companion_getInstance_3().e2f(_this__u8e3s4, element, term);
1827
1826
  if (tmp$ret$0) {
1828
1827
  tmp$ret$1 = true;
1829
1828
  break $l$block;
@@ -1838,7 +1837,7 @@
1838
1837
  }
1839
1838
  return tmp;
1840
1839
  };
1841
- IOPrimitiveUtils.prototype.c3n = function (_this__u8e3s4, term) {
1840
+ protoOf(IOPrimitiveUtils).x3k = function (_this__u8e3s4, term) {
1842
1841
  var tmp;
1843
1842
  var tmp$ret$1;
1844
1843
  $l$block: {
@@ -1849,7 +1848,7 @@
1849
1848
  var element = tmp0_iterator.n();
1850
1849
  var tmp$ret$0;
1851
1850
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsSupportedProperty.<anonymous>' call
1852
- tmp$ret$0 = Companion_getInstance_3().c2h(_this__u8e3s4, element, term);
1851
+ tmp$ret$0 = Companion_getInstance_3().e2f(_this__u8e3s4, element, term);
1853
1852
  if (tmp$ret$0) {
1854
1853
  tmp$ret$1 = true;
1855
1854
  break $l$block;
@@ -1864,7 +1863,7 @@
1864
1863
  }
1865
1864
  return tmp;
1866
1865
  };
1867
- IOPrimitiveUtils.prototype.f3n = function (_this__u8e3s4, term) {
1866
+ protoOf(IOPrimitiveUtils).a3l = function (_this__u8e3s4, term) {
1868
1867
  var tmp;
1869
1868
  var tmp$ret$1;
1870
1869
  $l$block: {
@@ -1875,7 +1874,7 @@
1875
1874
  var element = tmp0_iterator.n();
1876
1875
  var tmp$ret$0;
1877
1876
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidOption.<anonymous>' call
1878
- tmp$ret$0 = Companion_getInstance_3().c2h(_this__u8e3s4, element, term);
1877
+ tmp$ret$0 = Companion_getInstance_3().e2f(_this__u8e3s4, element, term);
1879
1878
  if (tmp$ret$0) {
1880
1879
  tmp$ret$1 = true;
1881
1880
  break $l$block;
@@ -1890,7 +1889,7 @@
1890
1889
  }
1891
1890
  return tmp;
1892
1891
  };
1893
- IOPrimitiveUtils.prototype.g3n = function (_this__u8e3s4, term) {
1892
+ protoOf(IOPrimitiveUtils).b3l = function (_this__u8e3s4, term) {
1894
1893
  var tmp;
1895
1894
  var tmp$ret$1;
1896
1895
  $l$block: {
@@ -1901,7 +1900,7 @@
1901
1900
  var element = tmp0_iterator.n();
1902
1901
  var tmp$ret$0;
1903
1902
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensureTermIsValidInfo.<anonymous>' call
1904
- tmp$ret$0 = Companion_getInstance_3().c2h(_this__u8e3s4, element, term);
1903
+ tmp$ret$0 = Companion_getInstance_3().e2f(_this__u8e3s4, element, term);
1905
1904
  if (tmp$ret$0) {
1906
1905
  tmp$ret$1 = true;
1907
1906
  break $l$block;
@@ -1916,56 +1915,56 @@
1916
1915
  }
1917
1916
  return tmp;
1918
1917
  };
1919
- IOPrimitiveUtils.prototype.h3n = function (_this__u8e3s4, index) {
1920
- Companion_getInstance_3().v2h(_this__u8e3s4, index);
1918
+ protoOf(IOPrimitiveUtils).c3l = function (_this__u8e3s4, index) {
1919
+ Companion_getInstance_3().x2f(_this__u8e3s4, index);
1921
1920
  var tmp = _this__u8e3s4.arguments.o(index);
1922
1921
  var list = isInterface(tmp, List) ? tmp : THROW_CCE();
1923
- var tmp0_iterator = list.gu().j();
1922
+ var tmp0_iterator = list.au().j();
1924
1923
  while (tmp0_iterator.m()) {
1925
1924
  var term = tmp0_iterator.n();
1926
- this.f3n(_this__u8e3s4, term);
1925
+ this.a3l(_this__u8e3s4, term);
1927
1926
  }
1928
1927
  return _this__u8e3s4;
1929
1928
  };
1930
- IOPrimitiveUtils.prototype.i3n = function (_this__u8e3s4, index) {
1929
+ protoOf(IOPrimitiveUtils).d3l = function (_this__u8e3s4, index) {
1931
1930
  var list = _this__u8e3s4.arguments.o(index);
1932
1931
  var tmp;
1933
1932
  if (isInterface(list, Var)) {
1934
1933
  tmp = null;
1935
1934
  } else {
1936
- Companion_getInstance_3().v2h(_this__u8e3s4, index);
1935
+ Companion_getInstance_3().x2f(_this__u8e3s4, index);
1937
1936
  var listOfInfo = (isInterface(list, List) ? list : THROW_CCE()).toList();
1938
1937
  var tmp0_iterator = listOfInfo.j();
1939
1938
  while (tmp0_iterator.m()) {
1940
1939
  var term = tmp0_iterator.n();
1941
- this.g3n(_this__u8e3s4, term);
1940
+ this.b3l(_this__u8e3s4, term);
1942
1941
  }
1943
1942
  tmp = listOfInfo;
1944
1943
  }
1945
1944
  return tmp;
1946
1945
  };
1947
- IOPrimitiveUtils.prototype.j3n = function (_this__u8e3s4, index) {
1948
- this.h3n(_this__u8e3s4, index);
1946
+ protoOf(IOPrimitiveUtils).e3l = function (_this__u8e3s4, index) {
1947
+ this.c3l(_this__u8e3s4, index);
1949
1948
  var tmp = _this__u8e3s4.arguments.o(index);
1950
1949
  var optionList = (isInterface(tmp, List) ? tmp : THROW_CCE()).toList();
1951
1950
  var tmp_0;
1952
- if (getOption(optionList, this, _this__u8e3s4.context.h1l(), _get_OPTION_QUOTED_PATTERN__n2ri42(this))) {
1951
+ if (getOption(optionList, this, _this__u8e3s4.context.k1k(), _get_OPTION_QUOTED_PATTERN__n2ri42(this))) {
1953
1952
  tmp_0 = FuncFormat_QUOTED_IF_NECESSARY_getInstance();
1954
1953
  } else {
1955
1954
  tmp_0 = FuncFormat_LITERAL_getInstance();
1956
1955
  }
1957
1956
  var funcFormat = tmp_0;
1958
1957
  var tmp_1;
1959
- if (getOption(optionList, this, _this__u8e3s4.context.h1l(), _get_OPTION_IGNORE_OPS_PATTERN__cpse4v(this))) {
1958
+ if (getOption(optionList, this, _this__u8e3s4.context.k1k(), _get_OPTION_IGNORE_OPS_PATTERN__cpse4v(this))) {
1960
1959
  tmp_1 = OpFormat_IGNORE_OPERATORS_getInstance();
1961
1960
  } else {
1962
1961
  tmp_1 = OpFormat_EXPRESSIONS_getInstance();
1963
1962
  }
1964
1963
  var opFormat = tmp_1;
1965
- var numberVars = getOption(optionList, this, _this__u8e3s4.context.h1l(), _get_OPTION_NUMBER_VARS_PATTERN__p98ste(this));
1966
- return Companion_getInstance_13().e14(VarFormat_UNDERSCORE_getInstance(), opFormat, funcFormat, numberVars, _this__u8e3s4.context.e1v());
1964
+ var numberVars = getOption(optionList, this, _this__u8e3s4.context.k1k(), _get_OPTION_NUMBER_VARS_PATTERN__p98ste(this));
1965
+ return Companion_getInstance_13().t12(VarFormat_UNDERSCORE_getInstance(), opFormat, funcFormat, numberVars, _this__u8e3s4.context.e1u());
1967
1966
  };
1968
- IOPrimitiveUtils.prototype.k3n = function (_this__u8e3s4, index) {
1967
+ protoOf(IOPrimitiveUtils).f3l = function (_this__u8e3s4, index) {
1969
1968
  var term = _this__u8e3s4.arguments.o(index);
1970
1969
  var tmp0_subject = term;
1971
1970
  if (isInterface(tmp0_subject, Var))
@@ -1981,7 +1980,7 @@
1981
1980
  var element = tmp0_iterator.n();
1982
1981
  var tmp$ret$0;
1983
1982
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.ensuringArgumentIsStreamProperty.<anonymous>' call
1984
- tmp$ret$0 = Companion_getInstance_3().c2h(_this__u8e3s4, element, term);
1983
+ tmp$ret$0 = Companion_getInstance_3().e2f(_this__u8e3s4, element, term);
1985
1984
  if (tmp$ret$0) {
1986
1985
  tmp$ret$1 = true;
1987
1986
  break $l$block;
@@ -1994,12 +1993,12 @@
1994
1993
  }
1995
1994
  }
1996
1995
  }
1997
- throw Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_PROPERTY_getInstance(), term, index);
1996
+ throw Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_PROPERTY_getInstance(), term, index);
1998
1997
  };
1999
- IOPrimitiveUtils.prototype.l3n = function (_this__u8e3s4, index) {
2000
- Companion_getInstance_3().h2h(_this__u8e3s4, index);
1998
+ protoOf(IOPrimitiveUtils).g3l = function (_this__u8e3s4, index) {
1999
+ Companion_getInstance_3().j2f(_this__u8e3s4, index);
2001
2000
  var term = _this__u8e3s4.arguments.o(index);
2002
- var error = Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_SOURCE_SINK_getInstance(), term, index);
2001
+ var error = Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_SOURCE_SINK_getInstance(), term, index);
2003
2002
  if (!isInterface(term, Atom)) {
2004
2003
  throw error;
2005
2004
  }
@@ -2007,19 +2006,20 @@
2007
2006
  return Companion_getInstance_22().of(term.b1());
2008
2007
  } catch ($p) {
2009
2008
  if ($p instanceof InvalidUrlException) {
2009
+ var _ = $p;
2010
2010
  throw error;
2011
2011
  } else {
2012
2012
  throw $p;
2013
2013
  }
2014
2014
  }
2015
2015
  };
2016
- IOPrimitiveUtils.prototype.m3n = function (_this__u8e3s4, index) {
2017
- Companion_getInstance_3().h2h(_this__u8e3s4, index);
2018
- Companion_getInstance_3().q2h(_this__u8e3s4, index);
2016
+ protoOf(IOPrimitiveUtils).h3l = function (_this__u8e3s4, index) {
2017
+ Companion_getInstance_3().j2f(_this__u8e3s4, index);
2018
+ Companion_getInstance_3().s2f(_this__u8e3s4, index);
2019
2019
  var tmp = _this__u8e3s4.arguments.o(index);
2020
2020
  var term = isInterface(tmp, Atom) ? tmp : THROW_CCE();
2021
- if (!Companion_getInstance_21().f3k_1.v(term)) {
2022
- throw Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IO_MODE_getInstance(), term, index);
2021
+ if (!Companion_getInstance_21().a3i_1.v(term)) {
2022
+ throw Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IO_MODE_getInstance(), term, index);
2023
2023
  }
2024
2024
  var tmp$ret$1;
2025
2025
  // Inline function 'kotlin.text.uppercase' call
@@ -2030,15 +2030,15 @@
2030
2030
  tmp$ret$1 = tmp$ret$0.toUpperCase();
2031
2031
  return valueOf(tmp$ret$1);
2032
2032
  };
2033
- IOPrimitiveUtils.prototype.z3l = function (_this__u8e3s4, index) {
2033
+ protoOf(IOPrimitiveUtils).u3j = function (_this__u8e3s4, index) {
2034
2034
  var term = _this__u8e3s4.arguments.o(index);
2035
2035
  var tmp0_subject = term;
2036
2036
  if (isInterface(tmp0_subject, Var))
2037
2037
  return null;
2038
2038
  else {
2039
2039
  if (isInterface(tmp0_subject, Struct))
2040
- if (Companion_getInstance_3().c2h(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
2041
- var tmp1_elvis_lhs = firstOrNull(_this__u8e3s4.context.y1u().findByTerm(term));
2040
+ if (Companion_getInstance_3().e2f(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
2041
+ var tmp1_elvis_lhs = firstOrNull(_this__u8e3s4.context.a1u().findByTerm(term));
2042
2042
  var tmp;
2043
2043
  if (tmp1_elvis_lhs == null) {
2044
2044
  throw Companion_getInstance_14().forStream(_this__u8e3s4.context, term);
@@ -2046,8 +2046,8 @@
2046
2046
  tmp = tmp1_elvis_lhs;
2047
2047
  }
2048
2048
  return tmp;
2049
- } else if (Companion_getInstance_3().c2h(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
2050
- var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.x1u().findByTerm(term));
2049
+ } else if (Companion_getInstance_3().e2f(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
2050
+ var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.z1t().findByTerm(term));
2051
2051
  var tmp_0;
2052
2052
  if (tmp2_elvis_lhs == null) {
2053
2053
  throw Companion_getInstance_14().forStream(_this__u8e3s4.context, term);
@@ -2057,9 +2057,9 @@
2057
2057
  return tmp_0;
2058
2058
  }
2059
2059
  }
2060
- throw Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
2060
+ throw Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
2061
2061
  };
2062
- IOPrimitiveUtils.prototype.g3m = function (_this__u8e3s4, index) {
2062
+ protoOf(IOPrimitiveUtils).b3k = function (_this__u8e3s4, index) {
2063
2063
  var arg = _this__u8e3s4.arguments.o(index);
2064
2064
  var tmp;
2065
2065
  if (isInterface(arg, Var)) {
@@ -2072,31 +2072,29 @@
2072
2072
  } else if (arg.b1().length === 1) {
2073
2073
  tmp_0 = _this__u8e3s4;
2074
2074
  } else {
2075
- throw Companion_getInstance_2().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
2075
+ throw Companion_getInstance_2().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
2076
2076
  }
2077
2077
  tmp = tmp_0;
2078
2078
  } else {
2079
- throw Companion_getInstance_2().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
2079
+ throw Companion_getInstance_2().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_IN_CHARACTER_getInstance(), arg, index);
2080
2080
  }
2081
2081
  }
2082
2082
  return tmp;
2083
2083
  };
2084
- IOPrimitiveUtils.prototype.k3m = function (_this__u8e3s4, index) {
2084
+ protoOf(IOPrimitiveUtils).f3k = function (_this__u8e3s4, index) {
2085
2085
  var term = _this__u8e3s4.arguments.o(index);
2086
2086
  var tmp;
2087
2087
  if (isInterface(term, Var)) {
2088
2088
  tmp = _this__u8e3s4;
2089
2089
  } else {
2090
2090
  if (!isInterface(term, Integer)) {
2091
- tmp = Companion_getInstance_3().u2h(_this__u8e3s4, index);
2091
+ tmp = Companion_getInstance_3().w2f(_this__u8e3s4, index);
2092
2092
  } else {
2093
- if (term.equals(Companion_getInstance_16().t10_1)) {
2093
+ if (term.equals(Companion_getInstance_16().hz_1)) {
2094
2094
  tmp = _this__u8e3s4;
2095
2095
  } else {
2096
- if (Companion_getInstance_3().y2h(term)) {
2097
- var tmp_0 = Companion_getInstance_15();
2098
- var tmp_1 = Limit_CHARACTER_CODE_getInstance();
2099
- throw tmp_0.z27(_this__u8e3s4.context, _this__u8e3s4.signature, tmp_1, null, 8, null);
2096
+ if (Companion_getInstance_3().a2g(term)) {
2097
+ throw Companion_getInstance_15().of(_this__u8e3s4.context, _this__u8e3s4.signature, Limit_CHARACTER_CODE_getInstance());
2100
2098
  } else {
2101
2099
  tmp = _this__u8e3s4;
2102
2100
  }
@@ -2105,9 +2103,9 @@
2105
2103
  }
2106
2104
  return tmp;
2107
2105
  };
2108
- IOPrimitiveUtils.prototype.s3l = function (_this__u8e3s4, index) {
2109
- Companion_getInstance_3().h2h(_this__u8e3s4, index);
2110
- Companion_getInstance_3().l2h(_this__u8e3s4, index);
2106
+ protoOf(IOPrimitiveUtils).n3j = function (_this__u8e3s4, index) {
2107
+ Companion_getInstance_3().j2f(_this__u8e3s4, index);
2108
+ Companion_getInstance_3().n2f(_this__u8e3s4, index);
2111
2109
  var tmp = _this__u8e3s4.arguments.o(index);
2112
2110
  var term = isInterface(tmp, Struct) ? tmp : THROW_CCE();
2113
2111
  var tmp_0;
@@ -2115,7 +2113,7 @@
2115
2113
  var tmp$ret$3;
2116
2114
  $l$block: {
2117
2115
  // Inline function 'kotlin.sequences.firstOrNull' call
2118
- var tmp0_firstOrNull = sequenceOf([_this__u8e3s4.context.x1u(), _this__u8e3s4.context.y1u()]);
2116
+ var tmp0_firstOrNull = sequenceOf([_this__u8e3s4.context.z1t(), _this__u8e3s4.context.a1u()]);
2119
2117
  var tmp0_iterator = tmp0_firstOrNull.j();
2120
2118
  while (tmp0_iterator.m()) {
2121
2119
  var element = tmp0_iterator.n();
@@ -2126,7 +2124,7 @@
2126
2124
  var tmp0_contains = term.b1();
2127
2125
  var tmp$ret$0;
2128
2126
  // Inline function 'kotlin.collections.containsKey' call
2129
- tmp$ret$0 = (isInterface(element, Map) ? element : THROW_CCE()).u2(tmp0_contains);
2127
+ tmp$ret$0 = (isInterface(element, Map) ? element : THROW_CCE()).z2(tmp0_contains);
2130
2128
  tmp$ret$1 = tmp$ret$0;
2131
2129
  tmp$ret$2 = tmp$ret$1;
2132
2130
  if (tmp$ret$2) {
@@ -2137,7 +2135,7 @@
2137
2135
  tmp$ret$3 = null;
2138
2136
  }
2139
2137
  var tmp0_safe_receiver = tmp$ret$3;
2140
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a3(term.b1());
2138
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f3(term.b1());
2141
2139
  var tmp_1;
2142
2140
  if (tmp1_elvis_lhs == null) {
2143
2141
  throw Companion_getInstance_14().forSourceSink(_this__u8e3s4.context, term);
@@ -2146,8 +2144,8 @@
2146
2144
  }
2147
2145
  tmp_0 = tmp_1;
2148
2146
  } else {
2149
- if (Companion_getInstance_3().c2h(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
2150
- var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.y1u().findByTerm(term));
2147
+ if (Companion_getInstance_3().e2f(_this__u8e3s4, term, _get_OUTPUT_STREAM_TERM_PATTERN__4vocxf(this))) {
2148
+ var tmp2_elvis_lhs = firstOrNull(_this__u8e3s4.context.a1u().findByTerm(term));
2151
2149
  var tmp_2;
2152
2150
  if (tmp2_elvis_lhs == null) {
2153
2151
  throw Companion_getInstance_14().forStream(_this__u8e3s4.context, term);
@@ -2156,8 +2154,8 @@
2156
2154
  }
2157
2155
  tmp_0 = tmp_2;
2158
2156
  } else {
2159
- if (Companion_getInstance_3().c2h(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
2160
- var tmp3_elvis_lhs = firstOrNull(_this__u8e3s4.context.x1u().findByTerm(term));
2157
+ if (Companion_getInstance_3().e2f(_this__u8e3s4, term, _get_INPUT_STREAM_TERM_PATTERN__5fd8p6(this))) {
2158
+ var tmp3_elvis_lhs = firstOrNull(_this__u8e3s4.context.z1t().findByTerm(term));
2161
2159
  var tmp_3;
2162
2160
  if (tmp3_elvis_lhs == null) {
2163
2161
  throw Companion_getInstance_14().forStream(_this__u8e3s4.context, term);
@@ -2166,41 +2164,42 @@
2166
2164
  }
2167
2165
  tmp_0 = tmp_3;
2168
2166
  } else {
2169
- throw Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
2167
+ throw Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_OR_ALIAS_getInstance(), term, index);
2170
2168
  }
2171
2169
  }
2172
2170
  }
2173
2171
  return tmp_0;
2174
2172
  };
2175
- IOPrimitiveUtils.prototype.p3l = function (_this__u8e3s4, index) {
2176
- var channel = this.s3l(_this__u8e3s4, index);
2173
+ protoOf(IOPrimitiveUtils).k3j = function (_this__u8e3s4, index) {
2174
+ var channel = this.n3j(_this__u8e3s4, index);
2177
2175
  var tmp;
2178
2176
  if (isInterface(channel, InputChannel)) {
2179
2177
  tmp = channel;
2180
2178
  } else {
2181
- throw Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.o(index), index);
2179
+ throw Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.o(index), index);
2182
2180
  }
2183
2181
  return tmp;
2184
2182
  };
2185
- IOPrimitiveUtils.prototype.c3m = function (_this__u8e3s4, index) {
2186
- var channel = this.s3l(_this__u8e3s4, index);
2183
+ protoOf(IOPrimitiveUtils).x3j = function (_this__u8e3s4, index) {
2184
+ var channel = this.n3j(_this__u8e3s4, index);
2187
2185
  var tmp;
2188
2186
  if (isInterface(channel, OutputChannel)) {
2189
2187
  tmp = channel;
2190
2188
  } else {
2191
- throw Companion_getInstance_12().v25(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.o(index), index);
2189
+ throw Companion_getInstance_12().d24(_this__u8e3s4.context, _this__u8e3s4.signature, Expected_STREAM_TYPE_getInstance(), _this__u8e3s4.arguments.o(index), index);
2192
2190
  }
2193
2191
  return tmp;
2194
2192
  };
2195
- IOPrimitiveUtils.prototype.n3n = function (_this__u8e3s4, channel, term, formatter) {
2193
+ protoOf(IOPrimitiveUtils).i3l = function (_this__u8e3s4, channel, term, formatter) {
2196
2194
  var tmp;
2197
2195
  try {
2198
2196
  channel.write(format(term, formatter));
2199
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
2197
+ tmp = _this__u8e3s4.replySuccess(VOID, VOID, []);
2200
2198
  } catch ($p) {
2201
2199
  var tmp_0;
2202
2200
  if ($p instanceof IllegalStateException) {
2203
- tmp_0 = _this__u8e3s4.l2g(null, [], 3, null);
2201
+ var _ = $p;
2202
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2204
2203
  } else {
2205
2204
  throw $p;
2206
2205
  }
@@ -2208,15 +2207,16 @@
2208
2207
  }
2209
2208
  return tmp;
2210
2209
  };
2211
- IOPrimitiveUtils.prototype.o3n = function (_this__u8e3s4, channel, arg) {
2210
+ protoOf(IOPrimitiveUtils).j3l = function (_this__u8e3s4, channel, arg) {
2212
2211
  var tmp;
2213
2212
  try {
2214
- channel.write('' + new Char(arg.m10().toChar()));
2215
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
2213
+ channel.write('' + new Char(arg.az().toChar()));
2214
+ tmp = _this__u8e3s4.replySuccess(VOID, VOID, []);
2216
2215
  } catch ($p) {
2217
2216
  var tmp_0;
2218
2217
  if ($p instanceof IllegalStateException) {
2219
- tmp_0 = _this__u8e3s4.l2g(null, [], 3, null);
2218
+ var _ = $p;
2219
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2220
2220
  } else {
2221
2221
  throw $p;
2222
2222
  }
@@ -2224,15 +2224,16 @@
2224
2224
  }
2225
2225
  return tmp;
2226
2226
  };
2227
- IOPrimitiveUtils.prototype.p3n = function (_this__u8e3s4, channel, arg) {
2227
+ protoOf(IOPrimitiveUtils).k3l = function (_this__u8e3s4, channel, arg) {
2228
2228
  var tmp;
2229
2229
  try {
2230
2230
  channel.write(arg.b1());
2231
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
2231
+ tmp = _this__u8e3s4.replySuccess(VOID, VOID, []);
2232
2232
  } catch ($p) {
2233
2233
  var tmp_0;
2234
2234
  if ($p instanceof IllegalStateException) {
2235
- tmp_0 = _this__u8e3s4.l2g(null, [], 3, null);
2235
+ var _ = $p;
2236
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2236
2237
  } else {
2237
2238
  throw $p;
2238
2239
  }
@@ -2240,7 +2241,7 @@
2240
2241
  }
2241
2242
  return tmp;
2242
2243
  };
2243
- IOPrimitiveUtils.prototype.q3n = function (_this__u8e3s4, channel, arg) {
2244
+ protoOf(IOPrimitiveUtils).l3l = function (_this__u8e3s4, channel, arg) {
2244
2245
  var tmp;
2245
2246
  try {
2246
2247
  var tmp0_safe_receiver = channel.peek();
@@ -2257,38 +2258,38 @@
2257
2258
  }
2258
2259
  var tmp2_elvis_lhs = tmp_0;
2259
2260
  var code = tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
2260
- var tmp_2 = Companion_getInstance_3().b2h(_this__u8e3s4, arg, Companion_getInstance_16().ofInt(code));
2261
- tmp = _this__u8e3s4.g2g(tmp_2, null, [], 6, null);
2261
+ tmp = _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, arg, Companion_getInstance_16().ofInt(code)), VOID, []);
2262
2262
  } catch ($p) {
2263
- var tmp_3;
2263
+ var tmp_2;
2264
2264
  if ($p instanceof IllegalStateException) {
2265
- tmp_3 = _this__u8e3s4.l2g(null, [], 3, null);
2265
+ var _ = $p;
2266
+ tmp_2 = _this__u8e3s4.replyFail(VOID, []);
2266
2267
  } else {
2267
2268
  throw $p;
2268
2269
  }
2269
- tmp = tmp_3;
2270
+ tmp = tmp_2;
2270
2271
  }
2271
2272
  return tmp;
2272
2273
  };
2273
- IOPrimitiveUtils.prototype.r3n = function (_this__u8e3s4, channel, arg) {
2274
+ protoOf(IOPrimitiveUtils).m3l = function (_this__u8e3s4, channel, arg) {
2274
2275
  var tmp;
2275
2276
  try {
2276
2277
  var tmp0_elvis_lhs = channel.peek();
2277
2278
  var char = tmp0_elvis_lhs == null ? 'end_of_file' : tmp0_elvis_lhs;
2278
- var tmp_0 = Companion_getInstance_3().b2h(_this__u8e3s4, arg, Companion_getInstance_0().of(char));
2279
- tmp = _this__u8e3s4.g2g(tmp_0, null, [], 6, null);
2279
+ tmp = _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, arg, Companion_getInstance_0().of(char)), VOID, []);
2280
2280
  } catch ($p) {
2281
- var tmp_1;
2281
+ var tmp_0;
2282
2282
  if ($p instanceof IllegalStateException) {
2283
- tmp_1 = _this__u8e3s4.l2g(null, [], 3, null);
2283
+ var _ = $p;
2284
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2284
2285
  } else {
2285
2286
  throw $p;
2286
2287
  }
2287
- tmp = tmp_1;
2288
+ tmp = tmp_0;
2288
2289
  }
2289
2290
  return tmp;
2290
2291
  };
2291
- IOPrimitiveUtils.prototype.l3m = function (_this__u8e3s4, channel, arg) {
2292
+ protoOf(IOPrimitiveUtils).g3k = function (_this__u8e3s4, channel, arg) {
2292
2293
  var tmp;
2293
2294
  try {
2294
2295
  var tmp0_safe_receiver = channel.read();
@@ -2305,57 +2306,56 @@
2305
2306
  }
2306
2307
  var tmp2_elvis_lhs = tmp_0;
2307
2308
  var code = tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
2308
- var tmp_2 = Companion_getInstance_3().b2h(_this__u8e3s4, arg, Companion_getInstance_16().ofInt(code));
2309
- tmp = _this__u8e3s4.g2g(tmp_2, null, [], 6, null);
2309
+ tmp = _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, arg, Companion_getInstance_16().ofInt(code)), VOID, []);
2310
2310
  } catch ($p) {
2311
- var tmp_3;
2311
+ var tmp_2;
2312
2312
  if ($p instanceof IllegalStateException) {
2313
- tmp_3 = _this__u8e3s4.l2g(null, [], 3, null);
2313
+ var _ = $p;
2314
+ tmp_2 = _this__u8e3s4.replyFail(VOID, []);
2314
2315
  } else {
2315
2316
  throw $p;
2316
2317
  }
2317
- tmp = tmp_3;
2318
+ tmp = tmp_2;
2318
2319
  }
2319
2320
  return tmp;
2320
2321
  };
2321
- IOPrimitiveUtils.prototype.h3m = function (_this__u8e3s4, channel, arg) {
2322
+ protoOf(IOPrimitiveUtils).c3k = function (_this__u8e3s4, channel, arg) {
2322
2323
  var tmp;
2323
2324
  try {
2324
2325
  var tmp0_elvis_lhs = channel.read();
2325
2326
  var char = tmp0_elvis_lhs == null ? 'end_of_file' : tmp0_elvis_lhs;
2326
- var tmp_0 = Companion_getInstance_3().b2h(_this__u8e3s4, arg, Companion_getInstance_0().of(char));
2327
- tmp = _this__u8e3s4.g2g(tmp_0, null, [], 6, null);
2327
+ tmp = _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, arg, Companion_getInstance_0().of(char)), VOID, []);
2328
2328
  } catch ($p) {
2329
- var tmp_1;
2329
+ var tmp_0;
2330
2330
  if ($p instanceof IllegalStateException) {
2331
- tmp_1 = _this__u8e3s4.l2g(null, [], 3, null);
2331
+ var _ = $p;
2332
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2332
2333
  } else {
2333
2334
  throw $p;
2334
2335
  }
2335
- tmp = tmp_1;
2336
+ tmp = tmp_0;
2336
2337
  }
2337
2338
  return tmp;
2338
2339
  };
2339
- IOPrimitiveUtils.prototype.s3n = function (_this__u8e3s4, channel, arg, lastIsInfoList) {
2340
+ protoOf(IOPrimitiveUtils).n3l = function (_this__u8e3s4, channel, arg, lastIsInfoList) {
2340
2341
  try {
2341
- var termsChannel = asTermChannel(channel, _this__u8e3s4.context.e1v());
2342
+ var termsChannel = asTermChannel(channel, _this__u8e3s4.context.e1u());
2342
2343
  var tmp;
2343
2344
  if (lastIsInfoList) {
2344
- tmp = this.i3n(_this__u8e3s4, get_lastIndex(_this__u8e3s4.arguments));
2345
+ tmp = this.d3l(_this__u8e3s4, get_lastIndex(_this__u8e3s4.arguments));
2345
2346
  } else {
2346
2347
  tmp = emptyList();
2347
2348
  }
2348
2349
  var infoList = tmp;
2349
- if (!termsChannel.q1z()) {
2350
- return _this__u8e3s4.l2g(null, [], 3, null);
2351
- }
2350
+ if (!termsChannel.d1y())
2351
+ return _this__u8e3s4.replyFail(VOID, []);
2352
2352
  var read = termsChannel.read();
2353
2353
  var tmp_0;
2354
2354
  if (read == null) {
2355
- tmp_0 = _this__u8e3s4.l2g(null, [], 3, null);
2355
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2356
2356
  } else {
2357
- var variables_0 = variables(this, toList_0(read.ew()));
2358
- var variableNames_0 = variableNames(this, toAssignments_0(read.ew(), this));
2357
+ var variables_0 = variables(this, toList_0(read.yv()));
2358
+ var variableNames_0 = variableNames(this, toAssignments_0(read.yv(), this));
2359
2359
  var singletons_0 = singletons(this, toAssignments(_get_singletons__bihqrn(read, this), this));
2360
2360
  var tmp0_safe_receiver = infoList;
2361
2361
  var tmp_1;
@@ -2367,48 +2367,48 @@
2367
2367
  // Inline function 'kotlin.contracts.contract' call
2368
2368
  var tmp$ret$0;
2369
2369
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.readTermAndReply.<anonymous>' call
2370
- var u = _this__u8e3s4.context.h1l();
2370
+ var u = _this__u8e3s4.context.k1k();
2371
2371
  tmp$ret$0 = getInfo(tmp0_safe_receiver, IOPrimitiveUtils_getInstance(), u, _get_INFO_SINGLETONS_PATTERN__y21s87(IOPrimitiveUtils_getInstance()), singletons_0).plus(getInfo(tmp0_safe_receiver, IOPrimitiveUtils_getInstance(), u, _get_INFO_VARIABLES_PATTERN__bhp1h0(IOPrimitiveUtils_getInstance()), variables_0)).plus(getInfo(tmp0_safe_receiver, IOPrimitiveUtils_getInstance(), u, _get_INFO_VARIABLE_NAMES_PATTERN__j3oaom(IOPrimitiveUtils_getInstance()), variableNames_0));
2372
2372
  tmp$ret$1 = tmp$ret$0;
2373
2373
  tmp_1 = tmp$ret$1;
2374
2374
  }
2375
2375
  var tmp1_elvis_lhs = tmp_1;
2376
- var info = tmp1_elvis_lhs == null ? Companion_getInstance_3().b2h(_this__u8e3s4, last(_this__u8e3s4.arguments), Companion_getInstance_8().of([variables_0, variableNames_0, singletons_0])) : tmp1_elvis_lhs;
2377
- var tmp_2 = Companion_getInstance_3().b2h(_this__u8e3s4, arg, read).plus(info);
2378
- tmp_0 = _this__u8e3s4.g2g(tmp_2, null, [], 6, null);
2376
+ var info = tmp1_elvis_lhs == null ? Companion_getInstance_3().d2f(_this__u8e3s4, last(_this__u8e3s4.arguments), Companion_getInstance_8().of([variables_0, variableNames_0, singletons_0])) : tmp1_elvis_lhs;
2377
+ tmp_0 = _this__u8e3s4.replyWith(Companion_getInstance_3().d2f(_this__u8e3s4, arg, read).plus(info), VOID, []);
2379
2378
  }
2380
2379
  return tmp_0;
2381
2380
  } catch ($p) {
2382
2381
  if ($p instanceof IllegalStateException) {
2383
- throw Companion_getInstance_1().forUncaughtKtException(_this__u8e3s4.context, $p);
2382
+ var e = $p;
2383
+ throw Companion_getInstance_1().forUncaughtKtException(_this__u8e3s4.context, e);
2384
2384
  } else {
2385
2385
  if ($p instanceof ParseException) {
2386
- var tmp_3 = Companion_getInstance_17();
2387
- var tmp_4 = channel.l1z().toString();
2388
- var tmp_5 = $p.line;
2389
- var tmp_6 = $p.column;
2390
- var tmp2_elvis_lhs = $p.message;
2391
- throw tmp_3.whileParsingTerm(_this__u8e3s4.context, tmp_4, tmp_5, tmp_6, tmp2_elvis_lhs == null ? '<no details provided>' : tmp2_elvis_lhs);
2386
+ var e_0 = $p;
2387
+ var tmp_2 = Companion_getInstance_17();
2388
+ var tmp_3 = channel.z1x().toString();
2389
+ var tmp_4 = e_0.line;
2390
+ var tmp_5 = e_0.column;
2391
+ var tmp2_elvis_lhs = e_0.message;
2392
+ throw tmp_2.whileParsingTerm(_this__u8e3s4.context, tmp_3, tmp_4, tmp_5, tmp2_elvis_lhs == null ? '<no details provided>' : tmp2_elvis_lhs);
2392
2393
  } else {
2393
2394
  throw $p;
2394
2395
  }
2395
2396
  }
2396
2397
  }
2397
2398
  };
2398
- IOPrimitiveUtils.prototype.t3n = function (_this__u8e3s4, channel, arg, lastIsInfoList, $mask0, $handler) {
2399
- if (!(($mask0 & 4) === 0))
2400
- lastIsInfoList = false;
2401
- return this.s3n(_this__u8e3s4, channel, arg, lastIsInfoList);
2399
+ protoOf(IOPrimitiveUtils).o3l = function (_this__u8e3s4, channel, arg, lastIsInfoList, $super) {
2400
+ lastIsInfoList = lastIsInfoList === VOID ? false : lastIsInfoList;
2401
+ return $super === VOID ? this.n3l(_this__u8e3s4, channel, arg, lastIsInfoList) : $super.n3l.call(this, _this__u8e3s4, channel, arg, lastIsInfoList);
2402
2402
  };
2403
- IOPrimitiveUtils.prototype.u3n = function (_this__u8e3s4, third) {
2404
- var url = this.l3n(_this__u8e3s4, 0);
2405
- var mode = this.m3n(_this__u8e3s4, 1);
2406
- Companion_getInstance_3().o2h(_this__u8e3s4, 2);
2403
+ protoOf(IOPrimitiveUtils).p3l = function (_this__u8e3s4, third) {
2404
+ var url = this.g3l(_this__u8e3s4, 0);
2405
+ var mode = this.h3l(_this__u8e3s4, 1);
2406
+ Companion_getInstance_3().q2f(_this__u8e3s4, 2);
2407
2407
  var tmp;
2408
2408
  if (_this__u8e3s4.arguments.p() >= 4) {
2409
- Companion_getInstance_3().v2h(_this__u8e3s4, 3);
2409
+ Companion_getInstance_3().x2f(_this__u8e3s4, 3);
2410
2410
  var tmp_0 = _this__u8e3s4.arguments.o(3);
2411
- var tmp_1 = (isInterface(tmp_0, List) ? tmp_0 : THROW_CCE()).gu();
2411
+ var tmp_1 = (isInterface(tmp_0, List) ? tmp_0 : THROW_CCE()).au();
2412
2412
  var tmp_2 = map(tmp_1, IOPrimitiveUtils$open$lambda(_this__u8e3s4));
2413
2413
  tmp = toSet(map(tmp_2, IOPrimitiveUtils$open$lambda_0(_this__u8e3s4)));
2414
2414
  } else {
@@ -2423,7 +2423,7 @@
2423
2423
  var element = tmp0_iterator.n();
2424
2424
  var tmp$ret$0;
2425
2425
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.IOPrimitiveUtils.open.<anonymous>' call
2426
- tmp$ret$0 = Companion_getInstance_3().c2h(_this__u8e3s4, element, _get_PROPERTY_ALIAS_PATTERN__wipd2s(IOPrimitiveUtils_getInstance()));
2426
+ tmp$ret$0 = Companion_getInstance_3().e2f(_this__u8e3s4, element, _get_PROPERTY_ALIAS_PATTERN__wipd2s(IOPrimitiveUtils_getInstance()));
2427
2427
  if (tmp$ret$0) {
2428
2428
  tmp$ret$1 = element;
2429
2429
  break $l$block;
@@ -2434,7 +2434,7 @@
2434
2434
  var tmp0_safe_receiver = tmp$ret$1;
2435
2435
  var alias = tmp0_safe_receiver == null ? null : _get_alias__jw26bj(tmp0_safe_receiver, this);
2436
2436
  var tmp1_subject = mode;
2437
- var tmp0 = tmp1_subject.r1_1;
2437
+ var tmp0 = tmp1_subject.w1_1;
2438
2438
  var tmp_3;
2439
2439
  switch (tmp0) {
2440
2440
  case 0:
@@ -2547,16 +2547,17 @@
2547
2547
  Nl1_instance = this;
2548
2548
  NonBacktrackable_0.call(this, 'nl');
2549
2549
  }
2550
- Nl1.prototype.g2p = function (_this__u8e3s4, first) {
2551
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
2550
+ protoOf(Nl1).d2n = function (_this__u8e3s4, first) {
2551
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
2552
2552
  var tmp;
2553
2553
  try {
2554
2554
  channel.write('\n');
2555
- tmp = _this__u8e3s4.m2g(null, null, [], 7, null);
2555
+ tmp = _this__u8e3s4.replySuccess(VOID, VOID, []);
2556
2556
  } catch ($p) {
2557
2557
  var tmp_0;
2558
2558
  if ($p instanceof IllegalStateException) {
2559
- tmp_0 = _this__u8e3s4.l2g(null, [], 3, null);
2559
+ var _ = $p;
2560
+ tmp_0 = _this__u8e3s4.replyFail(VOID, []);
2560
2561
  } else {
2561
2562
  throw $p;
2562
2563
  }
@@ -2564,8 +2565,8 @@
2564
2565
  }
2565
2566
  return tmp;
2566
2567
  };
2567
- Nl1.prototype.a2k = function (_this__u8e3s4, first) {
2568
- return this.g2p(_this__u8e3s4, first);
2568
+ protoOf(Nl1).x2h = function (_this__u8e3s4, first) {
2569
+ return this.d2n(_this__u8e3s4, first);
2569
2570
  };
2570
2571
  var Nl1_instance;
2571
2572
  function Nl1_getInstance() {
@@ -2577,11 +2578,11 @@
2577
2578
  Open3_instance = this;
2578
2579
  NonBacktrackable_1.call(this, 'open');
2579
2580
  }
2580
- Open3.prototype.z2r = function (_this__u8e3s4, first, second, third) {
2581
- return IOPrimitiveUtils_getInstance().u3n(_this__u8e3s4, third);
2581
+ protoOf(Open3).w2p = function (_this__u8e3s4, first, second, third) {
2582
+ return IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, third);
2582
2583
  };
2583
- Open3.prototype.r2j = function (_this__u8e3s4, first, second, third) {
2584
- return this.z2r(_this__u8e3s4, first, second, third);
2584
+ protoOf(Open3).o2h = function (_this__u8e3s4, first, second, third) {
2585
+ return this.w2p(_this__u8e3s4, first, second, third);
2585
2586
  };
2586
2587
  var Open3_instance;
2587
2588
  function Open3_getInstance() {
@@ -2593,11 +2594,11 @@
2593
2594
  Open4_instance = this;
2594
2595
  NonBacktrackable_2.call(this, 'open');
2595
2596
  }
2596
- Open4.prototype.y3n = function (_this__u8e3s4, first, second, third, fourth) {
2597
- return IOPrimitiveUtils_getInstance().u3n(_this__u8e3s4, third);
2597
+ protoOf(Open4).t3l = function (_this__u8e3s4, first, second, third, fourth) {
2598
+ return IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, third);
2598
2599
  };
2599
- Open4.prototype.h2i = function (_this__u8e3s4, first, second, third, fourth) {
2600
- return this.y3n(_this__u8e3s4, first, second, third, fourth);
2600
+ protoOf(Open4).j2g = function (_this__u8e3s4, first, second, third, fourth) {
2601
+ return this.t3l(_this__u8e3s4, first, second, third, fourth);
2601
2602
  };
2602
2603
  var Open4_instance;
2603
2604
  function Open4_getInstance() {
@@ -2609,12 +2610,11 @@
2609
2610
  PeekByte1_instance = this;
2610
2611
  NonBacktrackable_0.call(this, 'peek_byte');
2611
2612
  }
2612
- PeekByte1.prototype.g2p = function (_this__u8e3s4, first) {
2613
- var tmp = Companion_getInstance_3();
2614
- return tmp.j2h(_this__u8e3s4, null, 1, null);
2613
+ protoOf(PeekByte1).d2n = function (_this__u8e3s4, first) {
2614
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
2615
2615
  };
2616
- PeekByte1.prototype.a2k = function (_this__u8e3s4, first) {
2617
- return this.g2p(_this__u8e3s4, first);
2616
+ protoOf(PeekByte1).x2h = function (_this__u8e3s4, first) {
2617
+ return this.d2n(_this__u8e3s4, first);
2618
2618
  };
2619
2619
  var PeekByte1_instance;
2620
2620
  function PeekByte1_getInstance() {
@@ -2626,12 +2626,11 @@
2626
2626
  PeekByte2_instance = this;
2627
2627
  NonBacktrackable.call(this, 'peek_byte');
2628
2628
  }
2629
- PeekByte2.prototype.x2p = function (_this__u8e3s4, first, second) {
2630
- var tmp = Companion_getInstance_3();
2631
- return tmp.j2h(_this__u8e3s4, null, 1, null);
2629
+ protoOf(PeekByte2).u2n = function (_this__u8e3s4, first, second) {
2630
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
2632
2631
  };
2633
- PeekByte2.prototype.a2g = function (_this__u8e3s4, first, second) {
2634
- return this.x2p(_this__u8e3s4, first, second);
2632
+ protoOf(PeekByte2).f2e = function (_this__u8e3s4, first, second) {
2633
+ return this.u2n(_this__u8e3s4, first, second);
2635
2634
  };
2636
2635
  var PeekByte2_instance;
2637
2636
  function PeekByte2_getInstance() {
@@ -2643,12 +2642,12 @@
2643
2642
  PeekChar1_instance = this;
2644
2643
  NonBacktrackable_0.call(this, 'peek_char');
2645
2644
  }
2646
- PeekChar1.prototype.g2p = function (_this__u8e3s4, first) {
2647
- IOPrimitiveUtils_getInstance().g3m(_this__u8e3s4, 0);
2648
- return IOPrimitiveUtils_getInstance().r3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4), first);
2645
+ protoOf(PeekChar1).d2n = function (_this__u8e3s4, first) {
2646
+ IOPrimitiveUtils_getInstance().b3k(_this__u8e3s4, 0);
2647
+ return IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4), first);
2649
2648
  };
2650
- PeekChar1.prototype.a2k = function (_this__u8e3s4, first) {
2651
- return this.g2p(_this__u8e3s4, first);
2649
+ protoOf(PeekChar1).x2h = function (_this__u8e3s4, first) {
2650
+ return this.d2n(_this__u8e3s4, first);
2652
2651
  };
2653
2652
  var PeekChar1_instance;
2654
2653
  function PeekChar1_getInstance() {
@@ -2660,13 +2659,13 @@
2660
2659
  PeekChar2_instance = this;
2661
2660
  NonBacktrackable.call(this, 'peek_char');
2662
2661
  }
2663
- PeekChar2.prototype.x2p = function (_this__u8e3s4, first, second) {
2664
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
2665
- IOPrimitiveUtils_getInstance().g3m(_this__u8e3s4, 1);
2666
- return IOPrimitiveUtils_getInstance().r3n(_this__u8e3s4, channel, second);
2662
+ protoOf(PeekChar2).u2n = function (_this__u8e3s4, first, second) {
2663
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
2664
+ IOPrimitiveUtils_getInstance().b3k(_this__u8e3s4, 1);
2665
+ return IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4, channel, second);
2667
2666
  };
2668
- PeekChar2.prototype.a2g = function (_this__u8e3s4, first, second) {
2669
- return this.x2p(_this__u8e3s4, first, second);
2667
+ protoOf(PeekChar2).f2e = function (_this__u8e3s4, first, second) {
2668
+ return this.u2n(_this__u8e3s4, first, second);
2670
2669
  };
2671
2670
  var PeekChar2_instance;
2672
2671
  function PeekChar2_getInstance() {
@@ -2678,12 +2677,12 @@
2678
2677
  PeekCode1_instance = this;
2679
2678
  NonBacktrackable_0.call(this, 'peek_code');
2680
2679
  }
2681
- PeekCode1.prototype.g2p = function (_this__u8e3s4, first) {
2682
- IOPrimitiveUtils_getInstance().k3m(_this__u8e3s4, 0);
2683
- return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4), first);
2680
+ protoOf(PeekCode1).d2n = function (_this__u8e3s4, first) {
2681
+ IOPrimitiveUtils_getInstance().f3k(_this__u8e3s4, 0);
2682
+ return IOPrimitiveUtils_getInstance().l3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4), first);
2684
2683
  };
2685
- PeekCode1.prototype.a2k = function (_this__u8e3s4, first) {
2686
- return this.g2p(_this__u8e3s4, first);
2684
+ protoOf(PeekCode1).x2h = function (_this__u8e3s4, first) {
2685
+ return this.d2n(_this__u8e3s4, first);
2687
2686
  };
2688
2687
  var PeekCode1_instance;
2689
2688
  function PeekCode1_getInstance() {
@@ -2695,13 +2694,13 @@
2695
2694
  PeekCode2_instance = this;
2696
2695
  NonBacktrackable.call(this, 'peek_code');
2697
2696
  }
2698
- PeekCode2.prototype.x2p = function (_this__u8e3s4, first, second) {
2699
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
2700
- IOPrimitiveUtils_getInstance().k3m(_this__u8e3s4, 0);
2701
- return IOPrimitiveUtils_getInstance().q3n(_this__u8e3s4, channel, first);
2697
+ protoOf(PeekCode2).u2n = function (_this__u8e3s4, first, second) {
2698
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
2699
+ IOPrimitiveUtils_getInstance().f3k(_this__u8e3s4, 0);
2700
+ return IOPrimitiveUtils_getInstance().l3l(_this__u8e3s4, channel, first);
2702
2701
  };
2703
- PeekCode2.prototype.a2g = function (_this__u8e3s4, first, second) {
2704
- return this.x2p(_this__u8e3s4, first, second);
2702
+ protoOf(PeekCode2).f2e = function (_this__u8e3s4, first, second) {
2703
+ return this.u2n(_this__u8e3s4, first, second);
2705
2704
  };
2706
2705
  var PeekCode2_instance;
2707
2706
  function PeekCode2_getInstance() {
@@ -2713,12 +2712,11 @@
2713
2712
  PutByte1_instance = this;
2714
2713
  NonBacktrackable_0.call(this, 'put_byte');
2715
2714
  }
2716
- PutByte1.prototype.g2p = function (_this__u8e3s4, first) {
2717
- var tmp = Companion_getInstance_3();
2718
- return tmp.j2h(_this__u8e3s4, null, 1, null);
2715
+ protoOf(PutByte1).d2n = function (_this__u8e3s4, first) {
2716
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
2719
2717
  };
2720
- PutByte1.prototype.a2k = function (_this__u8e3s4, first) {
2721
- return this.g2p(_this__u8e3s4, first);
2718
+ protoOf(PutByte1).x2h = function (_this__u8e3s4, first) {
2719
+ return this.d2n(_this__u8e3s4, first);
2722
2720
  };
2723
2721
  var PutByte1_instance;
2724
2722
  function PutByte1_getInstance() {
@@ -2730,12 +2728,11 @@
2730
2728
  PutByte2_instance = this;
2731
2729
  NonBacktrackable.call(this, 'put_byte');
2732
2730
  }
2733
- PutByte2.prototype.x2p = function (_this__u8e3s4, first, second) {
2734
- var tmp = Companion_getInstance_3();
2735
- return tmp.j2h(_this__u8e3s4, null, 1, null);
2731
+ protoOf(PutByte2).u2n = function (_this__u8e3s4, first, second) {
2732
+ return Companion_getInstance_3().l2f(_this__u8e3s4);
2736
2733
  };
2737
- PutByte2.prototype.a2g = function (_this__u8e3s4, first, second) {
2738
- return this.x2p(_this__u8e3s4, first, second);
2734
+ protoOf(PutByte2).f2e = function (_this__u8e3s4, first, second) {
2735
+ return this.u2n(_this__u8e3s4, first, second);
2739
2736
  };
2740
2737
  var PutByte2_instance;
2741
2738
  function PutByte2_getInstance() {
@@ -2747,14 +2744,14 @@
2747
2744
  PutChar1_instance = this;
2748
2745
  NonBacktrackable_0.call(this, 'put_char');
2749
2746
  }
2750
- PutChar1.prototype.g2p = function (_this__u8e3s4, first) {
2751
- Companion_getInstance_3().s2h(_this__u8e3s4, 0);
2747
+ protoOf(PutChar1).d2n = function (_this__u8e3s4, first) {
2748
+ Companion_getInstance_3().u2f(_this__u8e3s4, 0);
2752
2749
  var tmp = IOPrimitiveUtils_getInstance();
2753
- var tmp_0 = IOPrimitiveUtils_getInstance().e3n(_this__u8e3s4);
2754
- return tmp.p3n(_this__u8e3s4, tmp_0, isInterface(first, Atom) ? first : THROW_CCE());
2750
+ var tmp_0 = IOPrimitiveUtils_getInstance().z3k(_this__u8e3s4);
2751
+ return tmp.k3l(_this__u8e3s4, tmp_0, isInterface(first, Atom) ? first : THROW_CCE());
2755
2752
  };
2756
- PutChar1.prototype.a2k = function (_this__u8e3s4, first) {
2757
- return this.g2p(_this__u8e3s4, first);
2753
+ protoOf(PutChar1).x2h = function (_this__u8e3s4, first) {
2754
+ return this.d2n(_this__u8e3s4, first);
2758
2755
  };
2759
2756
  var PutChar1_instance;
2760
2757
  function PutChar1_getInstance() {
@@ -2766,14 +2763,14 @@
2766
2763
  PutChar2_instance = this;
2767
2764
  NonBacktrackable.call(this, 'put_char');
2768
2765
  }
2769
- PutChar2.prototype.x2p = function (_this__u8e3s4, first, second) {
2770
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
2771
- Companion_getInstance_3().s2h(_this__u8e3s4, 1);
2766
+ protoOf(PutChar2).u2n = function (_this__u8e3s4, first, second) {
2767
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
2768
+ Companion_getInstance_3().u2f(_this__u8e3s4, 1);
2772
2769
  var tmp = IOPrimitiveUtils_getInstance();
2773
- return tmp.p3n(_this__u8e3s4, channel, isInterface(first, Atom) ? first : THROW_CCE());
2770
+ return tmp.k3l(_this__u8e3s4, channel, isInterface(first, Atom) ? first : THROW_CCE());
2774
2771
  };
2775
- PutChar2.prototype.a2g = function (_this__u8e3s4, first, second) {
2776
- return this.x2p(_this__u8e3s4, first, second);
2772
+ protoOf(PutChar2).f2e = function (_this__u8e3s4, first, second) {
2773
+ return this.u2n(_this__u8e3s4, first, second);
2777
2774
  };
2778
2775
  var PutChar2_instance;
2779
2776
  function PutChar2_getInstance() {
@@ -2785,14 +2782,14 @@
2785
2782
  PutCode1_instance = this;
2786
2783
  NonBacktrackable_0.call(this, 'put_code');
2787
2784
  }
2788
- PutCode1.prototype.g2p = function (_this__u8e3s4, first) {
2789
- Companion_getInstance_3().b2i(_this__u8e3s4, 0);
2785
+ protoOf(PutCode1).d2n = function (_this__u8e3s4, first) {
2786
+ Companion_getInstance_3().d2g(_this__u8e3s4, 0);
2790
2787
  var tmp = IOPrimitiveUtils_getInstance();
2791
- var tmp_0 = IOPrimitiveUtils_getInstance().e3n(_this__u8e3s4);
2792
- return tmp.o3n(_this__u8e3s4, tmp_0, isInterface(first, Integer) ? first : THROW_CCE());
2788
+ var tmp_0 = IOPrimitiveUtils_getInstance().z3k(_this__u8e3s4);
2789
+ return tmp.j3l(_this__u8e3s4, tmp_0, isInterface(first, Integer) ? first : THROW_CCE());
2793
2790
  };
2794
- PutCode1.prototype.a2k = function (_this__u8e3s4, first) {
2795
- return this.g2p(_this__u8e3s4, first);
2791
+ protoOf(PutCode1).x2h = function (_this__u8e3s4, first) {
2792
+ return this.d2n(_this__u8e3s4, first);
2796
2793
  };
2797
2794
  var PutCode1_instance;
2798
2795
  function PutCode1_getInstance() {
@@ -2804,14 +2801,14 @@
2804
2801
  PutCode2_instance = this;
2805
2802
  NonBacktrackable.call(this, 'put_code');
2806
2803
  }
2807
- PutCode2.prototype.x2p = function (_this__u8e3s4, first, second) {
2808
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
2809
- Companion_getInstance_3().b2i(_this__u8e3s4, 1);
2804
+ protoOf(PutCode2).u2n = function (_this__u8e3s4, first, second) {
2805
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
2806
+ Companion_getInstance_3().d2g(_this__u8e3s4, 1);
2810
2807
  var tmp = IOPrimitiveUtils_getInstance();
2811
- return tmp.o3n(_this__u8e3s4, channel, isInterface(first, Integer) ? first : THROW_CCE());
2808
+ return tmp.j3l(_this__u8e3s4, channel, isInterface(first, Integer) ? first : THROW_CCE());
2812
2809
  };
2813
- PutCode2.prototype.a2g = function (_this__u8e3s4, first, second) {
2814
- return this.x2p(_this__u8e3s4, first, second);
2810
+ protoOf(PutCode2).f2e = function (_this__u8e3s4, first, second) {
2811
+ return this.u2n(_this__u8e3s4, first, second);
2815
2812
  };
2816
2813
  var PutCode2_instance;
2817
2814
  function PutCode2_getInstance() {
@@ -2823,13 +2820,11 @@
2823
2820
  Read1_instance = this;
2824
2821
  NonBacktrackable_0.call(this, 'read');
2825
2822
  }
2826
- Read1.prototype.g2p = function (_this__u8e3s4, first) {
2827
- var tmp = IOPrimitiveUtils_getInstance();
2828
- var tmp_0 = IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4);
2829
- return tmp.t3n(_this__u8e3s4, tmp_0, first, false, 4, null);
2823
+ protoOf(Read1).d2n = function (_this__u8e3s4, first) {
2824
+ return IOPrimitiveUtils_getInstance().o3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4), first);
2830
2825
  };
2831
- Read1.prototype.a2k = function (_this__u8e3s4, first) {
2832
- return this.g2p(_this__u8e3s4, first);
2826
+ protoOf(Read1).x2h = function (_this__u8e3s4, first) {
2827
+ return this.d2n(_this__u8e3s4, first);
2833
2828
  };
2834
2829
  var Read1_instance;
2835
2830
  function Read1_getInstance() {
@@ -2841,13 +2836,12 @@
2841
2836
  Read2_instance = this;
2842
2837
  NonBacktrackable.call(this, 'read');
2843
2838
  }
2844
- Read2.prototype.x2p = function (_this__u8e3s4, first, second) {
2845
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
2846
- var tmp = IOPrimitiveUtils_getInstance();
2847
- return tmp.t3n(_this__u8e3s4, channel, second, false, 4, null);
2839
+ protoOf(Read2).u2n = function (_this__u8e3s4, first, second) {
2840
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
2841
+ return IOPrimitiveUtils_getInstance().o3l(_this__u8e3s4, channel, second);
2848
2842
  };
2849
- Read2.prototype.a2g = function (_this__u8e3s4, first, second) {
2850
- return this.x2p(_this__u8e3s4, first, second);
2843
+ protoOf(Read2).f2e = function (_this__u8e3s4, first, second) {
2844
+ return this.u2n(_this__u8e3s4, first, second);
2851
2845
  };
2852
2846
  var Read2_instance;
2853
2847
  function Read2_getInstance() {
@@ -2859,11 +2853,11 @@
2859
2853
  ReadTerm2_instance = this;
2860
2854
  NonBacktrackable.call(this, 'read_term');
2861
2855
  }
2862
- ReadTerm2.prototype.x2p = function (_this__u8e3s4, first, second) {
2863
- return IOPrimitiveUtils_getInstance().s3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().m3l(_this__u8e3s4), first, true);
2856
+ protoOf(ReadTerm2).u2n = function (_this__u8e3s4, first, second) {
2857
+ return IOPrimitiveUtils_getInstance().n3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().h3j(_this__u8e3s4), first, true);
2864
2858
  };
2865
- ReadTerm2.prototype.a2g = function (_this__u8e3s4, first, second) {
2866
- return this.x2p(_this__u8e3s4, first, second);
2859
+ protoOf(ReadTerm2).f2e = function (_this__u8e3s4, first, second) {
2860
+ return this.u2n(_this__u8e3s4, first, second);
2867
2861
  };
2868
2862
  var ReadTerm2_instance;
2869
2863
  function ReadTerm2_getInstance() {
@@ -2875,12 +2869,12 @@
2875
2869
  ReadTerm3_instance = this;
2876
2870
  NonBacktrackable_1.call(this, 'read_term');
2877
2871
  }
2878
- ReadTerm3.prototype.z2r = function (_this__u8e3s4, first, second, third) {
2879
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
2880
- return IOPrimitiveUtils_getInstance().s3n(_this__u8e3s4, channel, second, true);
2872
+ protoOf(ReadTerm3).w2p = function (_this__u8e3s4, first, second, third) {
2873
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
2874
+ return IOPrimitiveUtils_getInstance().n3l(_this__u8e3s4, channel, second, true);
2881
2875
  };
2882
- ReadTerm3.prototype.r2j = function (_this__u8e3s4, first, second, third) {
2883
- return this.z2r(_this__u8e3s4, first, second, third);
2876
+ protoOf(ReadTerm3).o2h = function (_this__u8e3s4, first, second, third) {
2877
+ return this.w2p(_this__u8e3s4, first, second, third);
2884
2878
  };
2885
2879
  var ReadTerm3_instance;
2886
2880
  function ReadTerm3_getInstance() {
@@ -2890,7 +2884,7 @@
2890
2884
  }
2891
2885
  function SetInput$computeOne$lambda($this_computeOne, $channel) {
2892
2886
  return function ($this$replySuccess) {
2893
- $this$replySuccess.g2n($this_computeOne.context.x1u().setCurrentChannel($channel));
2887
+ $this$replySuccess.d2l($this_computeOne.context.z1t().setCurrentChannel($channel));
2894
2888
  return Unit_getInstance();
2895
2889
  };
2896
2890
  }
@@ -2898,12 +2892,12 @@
2898
2892
  SetInput_instance = this;
2899
2893
  NonBacktrackable_0.call(this, 'set_input');
2900
2894
  }
2901
- SetInput.prototype.g2p = function (_this__u8e3s4, first) {
2902
- var channel = IOPrimitiveUtils_getInstance().p3l(_this__u8e3s4, 0);
2903
- return _this__u8e3s4.b2j(null, null, SetInput$computeOne$lambda(_this__u8e3s4, channel), 3, null);
2895
+ protoOf(SetInput).d2n = function (_this__u8e3s4, first) {
2896
+ var channel = IOPrimitiveUtils_getInstance().k3j(_this__u8e3s4, 0);
2897
+ return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, SetInput$computeOne$lambda(_this__u8e3s4, channel));
2904
2898
  };
2905
- SetInput.prototype.a2k = function (_this__u8e3s4, first) {
2906
- return this.g2p(_this__u8e3s4, first);
2899
+ protoOf(SetInput).x2h = function (_this__u8e3s4, first) {
2900
+ return this.d2n(_this__u8e3s4, first);
2907
2901
  };
2908
2902
  var SetInput_instance;
2909
2903
  function SetInput_getInstance() {
@@ -2913,7 +2907,7 @@
2913
2907
  }
2914
2908
  function SetOutput$computeOne$lambda($this_computeOne, $channel) {
2915
2909
  return function ($this$replySuccess) {
2916
- $this$replySuccess.j2n($this_computeOne.context.y1u().setCurrentChannel($channel));
2910
+ $this$replySuccess.g2l($this_computeOne.context.a1u().setCurrentChannel($channel));
2917
2911
  return Unit_getInstance();
2918
2912
  };
2919
2913
  }
@@ -2921,12 +2915,12 @@
2921
2915
  SetOutput_instance = this;
2922
2916
  NonBacktrackable_0.call(this, 'set_output');
2923
2917
  }
2924
- SetOutput.prototype.g2p = function (_this__u8e3s4, first) {
2925
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
2926
- return _this__u8e3s4.b2j(null, null, SetOutput$computeOne$lambda(_this__u8e3s4, channel), 3, null);
2918
+ protoOf(SetOutput).d2n = function (_this__u8e3s4, first) {
2919
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
2920
+ return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, SetOutput$computeOne$lambda(_this__u8e3s4, channel));
2927
2921
  };
2928
- SetOutput.prototype.a2k = function (_this__u8e3s4, first) {
2929
- return this.g2p(_this__u8e3s4, first);
2922
+ protoOf(SetOutput).x2h = function (_this__u8e3s4, first) {
2923
+ return this.d2n(_this__u8e3s4, first);
2930
2924
  };
2931
2925
  var SetOutput_instance;
2932
2926
  function SetOutput_getInstance() {
@@ -2938,18 +2932,16 @@
2938
2932
  return function ($this$replySuccess) {
2939
2933
  var tmp;
2940
2934
  if ($append) {
2941
- var tmp_0 = $solver.v1u();
2942
- $this$replySuccess.t2m(tmp_0, false, 2, null);
2943
- var tmp_1 = $solver.w1u();
2944
- $this$replySuccess.z2m(tmp_1, false, 2, null);
2935
+ $this$replySuccess.q2k($solver.x1t());
2936
+ $this$replySuccess.w2k($solver.y1t());
2945
2937
  tmp = Unit_getInstance();
2946
2938
  } else {
2947
- $this$replySuccess.r2m($solver.v1u());
2948
- $this$replySuccess.x2m($solver.w1u());
2939
+ $this$replySuccess.o2k($solver.x1t());
2940
+ $this$replySuccess.u2k($solver.y1t());
2949
2941
  tmp = Unit_getInstance();
2950
2942
  }
2951
- $this$replySuccess.e2n($solver.e1v());
2952
- $this$replySuccess.d2n($solver.u1u());
2943
+ $this$replySuccess.b2l($solver.e1u());
2944
+ $this$replySuccess.a2l($solver.w1t());
2953
2945
  return Unit_getInstance();
2954
2946
  };
2955
2947
  }
@@ -2957,35 +2949,34 @@
2957
2949
  SetTheory_instance = this;
2958
2950
  NonBacktrackable_0.call(this, 'set_theory');
2959
2951
  }
2960
- SetTheory.prototype.g2p = function (_this__u8e3s4, first) {
2961
- Companion_getInstance_3().q2h(_this__u8e3s4, 0);
2962
- return this.r3o(_this__u8e3s4, first.ww().b1(), false);
2952
+ protoOf(SetTheory).d2n = function (_this__u8e3s4, first) {
2953
+ Companion_getInstance_3().s2f(_this__u8e3s4, 0);
2954
+ return this.m3m(_this__u8e3s4, first.kw().b1(), false);
2963
2955
  };
2964
- SetTheory.prototype.a2k = function (_this__u8e3s4, first) {
2965
- return this.g2p(_this__u8e3s4, first);
2956
+ protoOf(SetTheory).x2h = function (_this__u8e3s4, first) {
2957
+ return this.d2n(_this__u8e3s4, first);
2966
2958
  };
2967
- SetTheory.prototype.r3o = function (_this__u8e3s4, text, append) {
2959
+ protoOf(SetTheory).m3m = function (_this__u8e3s4, text, append) {
2968
2960
  try {
2969
- var theory = Companion_getInstance_18().withOperatorSet(_this__u8e3s4.context.e1v()).parseTheoryWithDefaultUnificator(text);
2970
- var tmp = Companion_getInstance_19().empty(_this__u8e3s4.context.h1l());
2971
- var tmp_0 = Companion_getInstance_20().empty(_this__u8e3s4.context.h1l());
2972
- var solver = _this__u8e3s4.context.a1v(null, null, null, tmp, tmp_0, null, null, 103, null);
2961
+ var theory = Companion_getInstance_18().withOperatorSet(_this__u8e3s4.context.e1u()).parseTheoryWithDefaultUnificator(text);
2962
+ var solver = _this__u8e3s4.context.createMutableSolver(VOID, VOID, VOID, Companion_getInstance_19().empty(_this__u8e3s4.context.k1k()), Companion_getInstance_20().empty(_this__u8e3s4.context.k1k()));
2973
2963
  solver.loadStaticKb(theory);
2974
- return _this__u8e3s4.b2j(null, null, SetTheory$setTheory$lambda(append, solver), 3, null);
2964
+ return _this__u8e3s4.replySuccessBuildingSideEffects(VOID, VOID, SetTheory$setTheory$lambda(append, solver));
2975
2965
  } catch ($p) {
2976
2966
  if ($p instanceof ParseException) {
2977
- var tmp_1 = Companion_getInstance_17();
2978
- var tmp_2 = $p.clauseIndex;
2979
- var tmp_3 = $p.line;
2980
- var tmp_4 = $p.column;
2981
- var tmp0_safe_receiver = $p.message;
2982
- var tmp_5;
2967
+ var e = $p;
2968
+ var tmp = Companion_getInstance_17();
2969
+ var tmp_0 = e.clauseIndex;
2970
+ var tmp_1 = e.line;
2971
+ var tmp_2 = e.column;
2972
+ var tmp0_safe_receiver = e.message;
2973
+ var tmp_3;
2983
2974
  if (tmp0_safe_receiver == null) {
2984
- tmp_5 = null;
2975
+ tmp_3 = null;
2985
2976
  } else {
2986
2977
  var tmp$ret$4;
2987
2978
  // Inline function 'kotlin.text.replaceFirstChar' call
2988
- var tmp_6;
2979
+ var tmp_4;
2989
2980
  var tmp$ret$0;
2990
2981
  // Inline function 'kotlin.text.isNotEmpty' call
2991
2982
  tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) > 0;
@@ -2994,31 +2985,30 @@
2994
2985
  // Inline function 'it.unibo.tuprolog.solve.libs.io.primitives.SetTheory.setTheory.<anonymous>' call
2995
2986
  var tmp0__anonymous__q1qw7t = charSequenceGet(tmp0_safe_receiver, 0);
2996
2987
  tmp$ret$1 = isLowerCase(tmp0__anonymous__q1qw7t) ? titlecase(tmp0__anonymous__q1qw7t) : toString(tmp0__anonymous__q1qw7t);
2997
- var tmp_7 = toString_0(tmp$ret$1);
2988
+ var tmp_5 = toString_0(tmp$ret$1);
2998
2989
  var tmp$ret$3;
2999
2990
  // Inline function 'kotlin.text.substring' call
3000
2991
  var tmp$ret$2;
3001
2992
  // Inline function 'kotlin.js.asDynamic' call
3002
2993
  tmp$ret$2 = tmp0_safe_receiver;
3003
2994
  tmp$ret$3 = tmp$ret$2.substring(1);
3004
- tmp_6 = tmp_7 + tmp$ret$3;
2995
+ tmp_4 = tmp_5 + tmp$ret$3;
3005
2996
  } else {
3006
- tmp_6 = tmp0_safe_receiver;
2997
+ tmp_4 = tmp0_safe_receiver;
3007
2998
  }
3008
- tmp$ret$4 = tmp_6;
3009
- tmp_5 = tmp$ret$4;
2999
+ tmp$ret$4 = tmp_4;
3000
+ tmp_3 = tmp$ret$4;
3010
3001
  }
3011
- var tmp1_elvis_lhs = tmp_5;
3012
- throw tmp_1.whileParsingClauses(_this__u8e3s4.context, text, tmp_2, tmp_3, tmp_4, tmp1_elvis_lhs == null ? '<no detail provided>' : tmp1_elvis_lhs);
3002
+ var tmp1_elvis_lhs = tmp_3;
3003
+ throw tmp.whileParsingClauses(_this__u8e3s4.context, text, tmp_0, tmp_1, tmp_2, tmp1_elvis_lhs == null ? '<no detail provided>' : tmp1_elvis_lhs);
3013
3004
  } else {
3014
3005
  throw $p;
3015
3006
  }
3016
3007
  }
3017
3008
  };
3018
- SetTheory.prototype.w3l = function (_this__u8e3s4, text, append, $mask0, $handler) {
3019
- if (!(($mask0 & 2) === 0))
3020
- append = true;
3021
- return this.r3o(_this__u8e3s4, text, append);
3009
+ protoOf(SetTheory).r3j = function (_this__u8e3s4, text, append, $super) {
3010
+ append = append === VOID ? true : append;
3011
+ return $super === VOID ? this.m3m(_this__u8e3s4, text, append) : $super.m3m.call(this, _this__u8e3s4, text, append);
3022
3012
  };
3023
3013
  var SetTheory_instance;
3024
3014
  function SetTheory_getInstance() {
@@ -3027,16 +3017,16 @@
3027
3017
  return SetTheory_instance;
3028
3018
  }
3029
3019
  function StreamProperty$computeAll$lambda(it) {
3030
- return asSequence_0(it.c3());
3020
+ return asSequence_0(it.h3());
3031
3021
  }
3032
3022
  function StreamProperty$computeAll$lambda_0($this_computeAll) {
3033
3023
  return function (it) {
3034
- return to(it.l1z(), IOPrimitiveUtils_getInstance().d3n($this_computeAll, it));
3024
+ return to(it.z1x(), IOPrimitiveUtils_getInstance().y3k($this_computeAll, it));
3035
3025
  };
3036
3026
  }
3037
3027
  function StreamProperty$computeAll$lambda_1(_name_for_destructuring_parameter_0__wldtmu) {
3038
- var streamTerm = _name_for_destructuring_parameter_0__wldtmu.n3();
3039
- var properties = _name_for_destructuring_parameter_0__wldtmu.o3();
3028
+ var streamTerm = _name_for_destructuring_parameter_0__wldtmu.r3();
3029
+ var properties = _name_for_destructuring_parameter_0__wldtmu.s3();
3040
3030
  return map(properties, StreamProperty$computeAll$lambda$lambda(streamTerm));
3041
3031
  }
3042
3032
  function StreamProperty$computeAll$lambda$lambda($streamTerm) {
@@ -3046,27 +3036,26 @@
3046
3036
  }
3047
3037
  function StreamProperty$computeAll$lambda_2($this_computeAll, $first, $second) {
3048
3038
  return function (_name_for_destructuring_parameter_0__wldtmu) {
3049
- var streamTerm = _name_for_destructuring_parameter_0__wldtmu.n3();
3050
- var property = _name_for_destructuring_parameter_0__wldtmu.o3();
3051
- var tmp = Companion_getInstance_3().b2h($this_computeAll, $first, streamTerm).plus(Companion_getInstance_3().b2h($this_computeAll, $second, property));
3052
- return $this_computeAll.g2g(tmp, null, [], 6, null);
3039
+ var streamTerm = _name_for_destructuring_parameter_0__wldtmu.r3();
3040
+ var property = _name_for_destructuring_parameter_0__wldtmu.s3();
3041
+ return $this_computeAll.replyWith(Companion_getInstance_3().d2f($this_computeAll, $first, streamTerm).plus(Companion_getInstance_3().d2f($this_computeAll, $second, property)), VOID, []);
3053
3042
  };
3054
3043
  }
3055
3044
  function StreamProperty() {
3056
3045
  StreamProperty_instance = this;
3057
3046
  BinaryRelation.call(this, 'stream_property');
3058
3047
  }
3059
- StreamProperty.prototype.t2p = function (_this__u8e3s4, first, second) {
3060
- IOPrimitiveUtils_getInstance().z3l(_this__u8e3s4, 0);
3061
- IOPrimitiveUtils_getInstance().k3n(_this__u8e3s4, 1);
3062
- var tmp = sequenceOf([_this__u8e3s4.context.x1u(), _this__u8e3s4.context.y1u()]);
3048
+ protoOf(StreamProperty).q2n = function (_this__u8e3s4, first, second) {
3049
+ IOPrimitiveUtils_getInstance().u3j(_this__u8e3s4, 0);
3050
+ IOPrimitiveUtils_getInstance().f3l(_this__u8e3s4, 1);
3051
+ var tmp = sequenceOf([_this__u8e3s4.context.z1t(), _this__u8e3s4.context.a1u()]);
3063
3052
  var tmp_0 = distinct(flatMap(tmp, StreamProperty$computeAll$lambda));
3064
3053
  var tmp_1 = map(tmp_0, StreamProperty$computeAll$lambda_0(_this__u8e3s4));
3065
3054
  var tmp_2 = flatMap(tmp_1, StreamProperty$computeAll$lambda_1);
3066
3055
  return map(tmp_2, StreamProperty$computeAll$lambda_2(_this__u8e3s4, first, second));
3067
3056
  };
3068
- StreamProperty.prototype.c2g = function (_this__u8e3s4, first, second) {
3069
- return this.t2p(_this__u8e3s4, first, second);
3057
+ protoOf(StreamProperty).h2e = function (_this__u8e3s4, first, second) {
3058
+ return this.q2n(_this__u8e3s4, first, second);
3070
3059
  };
3071
3060
  var StreamProperty_instance;
3072
3061
  function StreamProperty_getInstance() {
@@ -3078,12 +3067,12 @@
3078
3067
  Write2_instance = this;
3079
3068
  NonBacktrackable.call(this, 'write');
3080
3069
  }
3081
- Write2.prototype.x2p = function (_this__u8e3s4, first, second) {
3082
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
3083
- return IOPrimitiveUtils_getInstance().n3n(_this__u8e3s4, channel, second, Companion_getInstance_13().g14(_this__u8e3s4.context.e1v()));
3070
+ protoOf(Write2).u2n = function (_this__u8e3s4, first, second) {
3071
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
3072
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, channel, second, Companion_getInstance_13().u12(_this__u8e3s4.context.e1u()));
3084
3073
  };
3085
- Write2.prototype.a2g = function (_this__u8e3s4, first, second) {
3086
- return this.x2p(_this__u8e3s4, first, second);
3074
+ protoOf(Write2).f2e = function (_this__u8e3s4, first, second) {
3075
+ return this.u2n(_this__u8e3s4, first, second);
3087
3076
  };
3088
3077
  var Write2_instance;
3089
3078
  function Write2_getInstance() {
@@ -3095,11 +3084,11 @@
3095
3084
  WriteCanonical1_instance = this;
3096
3085
  NonBacktrackable_0.call(this, 'write_canonical');
3097
3086
  }
3098
- WriteCanonical1.prototype.g2p = function (_this__u8e3s4, first) {
3099
- return IOPrimitiveUtils_getInstance().n3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().e3n(_this__u8e3s4), first, Companion_getInstance_13().canonical());
3087
+ protoOf(WriteCanonical1).d2n = function (_this__u8e3s4, first) {
3088
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().z3k(_this__u8e3s4), first, Companion_getInstance_13().canonical());
3100
3089
  };
3101
- WriteCanonical1.prototype.a2k = function (_this__u8e3s4, first) {
3102
- return this.g2p(_this__u8e3s4, first);
3090
+ protoOf(WriteCanonical1).x2h = function (_this__u8e3s4, first) {
3091
+ return this.d2n(_this__u8e3s4, first);
3103
3092
  };
3104
3093
  var WriteCanonical1_instance;
3105
3094
  function WriteCanonical1_getInstance() {
@@ -3111,12 +3100,12 @@
3111
3100
  WriteCanonical2_instance = this;
3112
3101
  NonBacktrackable.call(this, 'write_canonical');
3113
3102
  }
3114
- WriteCanonical2.prototype.x2p = function (_this__u8e3s4, first, second) {
3115
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
3116
- return IOPrimitiveUtils_getInstance().n3n(_this__u8e3s4, channel, second, Companion_getInstance_13().canonical());
3103
+ protoOf(WriteCanonical2).u2n = function (_this__u8e3s4, first, second) {
3104
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
3105
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, channel, second, Companion_getInstance_13().canonical());
3117
3106
  };
3118
- WriteCanonical2.prototype.a2g = function (_this__u8e3s4, first, second) {
3119
- return this.x2p(_this__u8e3s4, first, second);
3107
+ protoOf(WriteCanonical2).f2e = function (_this__u8e3s4, first, second) {
3108
+ return this.u2n(_this__u8e3s4, first, second);
3120
3109
  };
3121
3110
  var WriteCanonical2_instance;
3122
3111
  function WriteCanonical2_getInstance() {
@@ -3128,14 +3117,11 @@
3128
3117
  WriteEq1_instance = this;
3129
3118
  NonBacktrackable_0.call(this, 'writeq');
3130
3119
  }
3131
- WriteEq1.prototype.g2p = function (_this__u8e3s4, first) {
3132
- var tmp = IOPrimitiveUtils_getInstance();
3133
- var tmp_0 = IOPrimitiveUtils_getInstance().e3n(_this__u8e3s4);
3134
- var tmp_1 = Companion_getInstance_13();
3135
- return tmp.n3n(_this__u8e3s4, tmp_0, first, tmp_1.i14(null, 1, null));
3120
+ protoOf(WriteEq1).d2n = function (_this__u8e3s4, first) {
3121
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().z3k(_this__u8e3s4), first, Companion_getInstance_13().readable());
3136
3122
  };
3137
- WriteEq1.prototype.a2k = function (_this__u8e3s4, first) {
3138
- return this.g2p(_this__u8e3s4, first);
3123
+ protoOf(WriteEq1).x2h = function (_this__u8e3s4, first) {
3124
+ return this.d2n(_this__u8e3s4, first);
3139
3125
  };
3140
3126
  var WriteEq1_instance;
3141
3127
  function WriteEq1_getInstance() {
@@ -3147,14 +3133,12 @@
3147
3133
  WriteEq2_instance = this;
3148
3134
  NonBacktrackable.call(this, 'writeq');
3149
3135
  }
3150
- WriteEq2.prototype.x2p = function (_this__u8e3s4, first, second) {
3151
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
3152
- var tmp = IOPrimitiveUtils_getInstance();
3153
- var tmp_0 = Companion_getInstance_13();
3154
- return tmp.n3n(_this__u8e3s4, channel, second, tmp_0.i14(null, 1, null));
3136
+ protoOf(WriteEq2).u2n = function (_this__u8e3s4, first, second) {
3137
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
3138
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, channel, second, Companion_getInstance_13().readable());
3155
3139
  };
3156
- WriteEq2.prototype.a2g = function (_this__u8e3s4, first, second) {
3157
- return this.x2p(_this__u8e3s4, first, second);
3140
+ protoOf(WriteEq2).f2e = function (_this__u8e3s4, first, second) {
3141
+ return this.u2n(_this__u8e3s4, first, second);
3158
3142
  };
3159
3143
  var WriteEq2_instance;
3160
3144
  function WriteEq2_getInstance() {
@@ -3166,12 +3150,12 @@
3166
3150
  WriteTerm2_instance = this;
3167
3151
  NonBacktrackable.call(this, 'write_term');
3168
3152
  }
3169
- WriteTerm2.prototype.x2p = function (_this__u8e3s4, first, second) {
3170
- var formatter = IOPrimitiveUtils_getInstance().j3n(_this__u8e3s4, 1);
3171
- return IOPrimitiveUtils_getInstance().n3n(_this__u8e3s4, IOPrimitiveUtils_getInstance().e3n(_this__u8e3s4), first, formatter);
3153
+ protoOf(WriteTerm2).u2n = function (_this__u8e3s4, first, second) {
3154
+ var formatter = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 1);
3155
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, IOPrimitiveUtils_getInstance().z3k(_this__u8e3s4), first, formatter);
3172
3156
  };
3173
- WriteTerm2.prototype.a2g = function (_this__u8e3s4, first, second) {
3174
- return this.x2p(_this__u8e3s4, first, second);
3157
+ protoOf(WriteTerm2).f2e = function (_this__u8e3s4, first, second) {
3158
+ return this.u2n(_this__u8e3s4, first, second);
3175
3159
  };
3176
3160
  var WriteTerm2_instance;
3177
3161
  function WriteTerm2_getInstance() {
@@ -3183,13 +3167,13 @@
3183
3167
  WriteTerm3_instance = this;
3184
3168
  NonBacktrackable_1.call(this, 'write_term');
3185
3169
  }
3186
- WriteTerm3.prototype.z2r = function (_this__u8e3s4, first, second, third) {
3187
- var channel = IOPrimitiveUtils_getInstance().c3m(_this__u8e3s4, 0);
3188
- var formatter = IOPrimitiveUtils_getInstance().j3n(_this__u8e3s4, 1);
3189
- return IOPrimitiveUtils_getInstance().n3n(_this__u8e3s4, channel, first, formatter);
3170
+ protoOf(WriteTerm3).w2p = function (_this__u8e3s4, first, second, third) {
3171
+ var channel = IOPrimitiveUtils_getInstance().x3j(_this__u8e3s4, 0);
3172
+ var formatter = IOPrimitiveUtils_getInstance().e3l(_this__u8e3s4, 1);
3173
+ return IOPrimitiveUtils_getInstance().i3l(_this__u8e3s4, channel, first, formatter);
3190
3174
  };
3191
- WriteTerm3.prototype.r2j = function (_this__u8e3s4, first, second, third) {
3192
- return this.z2r(_this__u8e3s4, first, second, third);
3175
+ protoOf(WriteTerm3).o2h = function (_this__u8e3s4, first, second, third) {
3176
+ return this.w2p(_this__u8e3s4, first, second, third);
3193
3177
  };
3194
3178
  var WriteTerm3_instance;
3195
3179
  function WriteTerm3_getInstance() {
@@ -3201,7 +3185,7 @@
3201
3185
  throw IllegalStateException_init_$Create$('Reading terms is still not supported for JS');
3202
3186
  }
3203
3187
  function get_FS() {
3204
- init_properties_FileSystem_kt_v57kfj();
3188
+ _init_properties_FileSystem_kt__z0x7or();
3205
3189
  var tmp$ret$0;
3206
3190
  // Inline function 'kotlin.getValue' call
3207
3191
  var tmp0_getValue = FS$factory();
@@ -3210,7 +3194,7 @@
3210
3194
  }
3211
3195
  var FS$delegate;
3212
3196
  function get_PATH() {
3213
- init_properties_FileSystem_kt_v57kfj();
3197
+ _init_properties_FileSystem_kt__z0x7or();
3214
3198
  var tmp$ret$0;
3215
3199
  // Inline function 'kotlin.getValue' call
3216
3200
  var tmp0_getValue = PATH$factory();
@@ -3219,17 +3203,17 @@
3219
3203
  }
3220
3204
  var PATH$delegate;
3221
3205
  function get_READ_TEXT() {
3222
- init_properties_FileSystem_kt_v57kfj();
3206
+ _init_properties_FileSystem_kt__z0x7or();
3223
3207
  return READ_TEXT;
3224
3208
  }
3225
3209
  var READ_TEXT;
3226
3210
  function get_READ_BINARY() {
3227
- init_properties_FileSystem_kt_v57kfj();
3211
+ _init_properties_FileSystem_kt__z0x7or();
3228
3212
  return READ_BINARY;
3229
3213
  }
3230
3214
  var READ_BINARY;
3231
3215
  function get_REQUEST() {
3232
- init_properties_FileSystem_kt_v57kfj();
3216
+ _init_properties_FileSystem_kt__z0x7or();
3233
3217
  var tmp$ret$0;
3234
3218
  // Inline function 'kotlin.getValue' call
3235
3219
  var tmp0_getValue = REQUEST$factory();
@@ -3238,9 +3222,9 @@
3238
3222
  }
3239
3223
  var REQUEST$delegate;
3240
3224
  function readText(path) {
3241
- init_properties_FileSystem_kt_v57kfj();
3225
+ _init_properties_FileSystem_kt__z0x7or();
3242
3226
  var tmp;
3243
- if (Info_getInstance().mu().equals(Platform_BROWSER_getInstance())) {
3227
+ if (Info_getInstance().gu().equals(Platform_BROWSER_getInstance())) {
3244
3228
  tmp = browserReadText(path);
3245
3229
  } else {
3246
3230
  tmp = nodeReadText(path);
@@ -3248,7 +3232,8 @@
3248
3232
  return tmp;
3249
3233
  }
3250
3234
  function fetch(url, encoding) {
3251
- init_properties_FileSystem_kt_v57kfj();
3235
+ encoding = encoding === VOID ? null : encoding;
3236
+ _init_properties_FileSystem_kt__z0x7or();
3252
3237
  try {
3253
3238
  var response = get_REQUEST()('GET', url, {});
3254
3239
  var tmp$ret$0;
@@ -3258,21 +3243,17 @@
3258
3243
  return tmp$ret$0;
3259
3244
  } catch ($p) {
3260
3245
  if ($p instanceof Error) {
3261
- throw IOException_init_$Create$_0($p.message, $p);
3246
+ var e = $p;
3247
+ throw IOException_init_$Create$_0(e.message, e);
3262
3248
  } else {
3263
3249
  throw $p;
3264
3250
  }
3265
3251
  }
3266
3252
  }
3267
- function fetch$default(url, encoding, $mask0, $handler) {
3268
- if (!(($mask0 & 2) === 0))
3269
- encoding = null;
3270
- return fetch(url, encoding);
3271
- }
3272
3253
  function readBin(path) {
3273
- init_properties_FileSystem_kt_v57kfj();
3254
+ _init_properties_FileSystem_kt__z0x7or();
3274
3255
  var tmp;
3275
- if (Info_getInstance().mu().equals(Platform_BROWSER_getInstance())) {
3256
+ if (Info_getInstance().gu().equals(Platform_BROWSER_getInstance())) {
3276
3257
  tmp = browserReadBin(path);
3277
3258
  } else {
3278
3259
  tmp = nodeReadBin(path);
@@ -3280,11 +3261,11 @@
3280
3261
  return tmp;
3281
3262
  }
3282
3263
  function toByteArray(_this__u8e3s4) {
3283
- init_properties_FileSystem_kt_v57kfj();
3264
+ _init_properties_FileSystem_kt__z0x7or();
3284
3265
  return toByteArray_0(toUInt8Array(_this__u8e3s4));
3285
3266
  }
3286
3267
  function browserReadText(path) {
3287
- init_properties_FileSystem_kt_v57kfj();
3268
+ _init_properties_FileSystem_kt__z0x7or();
3288
3269
  var tmp$ret$0;
3289
3270
  // Inline function 'kotlin.js.unsafeCast' call
3290
3271
  var tmp0_unsafeCast = window.localStorage.getItem(path);
@@ -3299,7 +3280,7 @@
3299
3280
  return tmp;
3300
3281
  }
3301
3282
  function nodeReadText(path) {
3302
- init_properties_FileSystem_kt_v57kfj();
3283
+ _init_properties_FileSystem_kt__z0x7or();
3303
3284
  var tmp;
3304
3285
  try {
3305
3286
  var tmp$ret$0;
@@ -3310,7 +3291,8 @@
3310
3291
  } catch ($p) {
3311
3292
  var tmp_0;
3312
3293
  if ($p instanceof Error) {
3313
- throw IOException_init_$Create$_0('Error while reading file `' + path + '`: ' + $p.message, $p);
3294
+ var e = $p;
3295
+ throw IOException_init_$Create$_0('Error while reading file `' + path + '`: ' + e.message, e);
3314
3296
  } else {
3315
3297
  throw $p;
3316
3298
  }
@@ -3319,7 +3301,7 @@
3319
3301
  return tmp;
3320
3302
  }
3321
3303
  function browserReadBin(path) {
3322
- init_properties_FileSystem_kt_v57kfj();
3304
+ _init_properties_FileSystem_kt__z0x7or();
3323
3305
  var tmp$ret$0;
3324
3306
  // Inline function 'kotlin.js.unsafeCast' call
3325
3307
  var tmp0_unsafeCast = window.localStorage.getItem(path);
@@ -3335,14 +3317,15 @@
3335
3317
  return tmp;
3336
3318
  }
3337
3319
  function nodeReadBin(path) {
3338
- init_properties_FileSystem_kt_v57kfj();
3320
+ _init_properties_FileSystem_kt__z0x7or();
3339
3321
  var tmp;
3340
3322
  try {
3341
3323
  tmp = toByteArray_1(get_FS().readFileSync(toOsSpecificPath(path), get_READ_BINARY()));
3342
3324
  } catch ($p) {
3343
3325
  var tmp_0;
3344
3326
  if ($p instanceof Error) {
3345
- throw IOException_init_$Create$_0('Error while reading file ' + path, $p);
3327
+ var e = $p;
3328
+ throw IOException_init_$Create$_0('Error while reading file ' + path, e);
3346
3329
  } else {
3347
3330
  throw $p;
3348
3331
  }
@@ -3351,7 +3334,7 @@
3351
3334
  return tmp;
3352
3335
  }
3353
3336
  function toByteArray_0(_this__u8e3s4) {
3354
- init_properties_FileSystem_kt_v57kfj();
3337
+ _init_properties_FileSystem_kt__z0x7or();
3355
3338
  var tmp = 0;
3356
3339
  var tmp_0 = _this__u8e3s4.length;
3357
3340
  var tmp_1 = new Int8Array(tmp_0);
@@ -3372,14 +3355,14 @@
3372
3355
  return tmp_1;
3373
3356
  }
3374
3357
  function toUInt8Array(_this__u8e3s4) {
3375
- init_properties_FileSystem_kt_v57kfj();
3358
+ _init_properties_FileSystem_kt__z0x7or();
3376
3359
  return new Uint8Array(_this__u8e3s4);
3377
3360
  }
3378
3361
  function toOsSpecificPath(_this__u8e3s4) {
3379
- init_properties_FileSystem_kt_v57kfj();
3362
+ _init_properties_FileSystem_kt__z0x7or();
3380
3363
  if (get_PATH().sep == '\\') {
3381
3364
  var tmp;
3382
- if (startsWith$default(_this__u8e3s4, '/', false, 2, null)) {
3365
+ if (startsWith(_this__u8e3s4, '/')) {
3383
3366
  var tmp$ret$1;
3384
3367
  // Inline function 'kotlin.text.substring' call
3385
3368
  var tmp$ret$0;
@@ -3391,12 +3374,12 @@
3391
3374
  tmp = _this__u8e3s4;
3392
3375
  }
3393
3376
  var rootFreePath = tmp;
3394
- return replace$default(rootFreePath, '/', '\\', false, 4, null);
3377
+ return replace(rootFreePath, '/', '\\');
3395
3378
  }
3396
3379
  return _this__u8e3s4;
3397
3380
  }
3398
3381
  function toByteArray_1(obj) {
3399
- init_properties_FileSystem_kt_v57kfj();
3382
+ _init_properties_FileSystem_kt__z0x7or();
3400
3383
  var tmp = 0;
3401
3384
  var tmp_0 = obj.length;
3402
3385
  var tmp_1 = new Int8Array(tmp_0);
@@ -3411,15 +3394,15 @@
3411
3394
  return tmp_1;
3412
3395
  }
3413
3396
  function FS$delegate$lambda() {
3414
- init_properties_FileSystem_kt_v57kfj();
3397
+ _init_properties_FileSystem_kt__z0x7or();
3415
3398
  return require('fs');
3416
3399
  }
3417
3400
  function PATH$delegate$lambda() {
3418
- init_properties_FileSystem_kt_v57kfj();
3401
+ _init_properties_FileSystem_kt__z0x7or();
3419
3402
  return require('path');
3420
3403
  }
3421
3404
  function REQUEST$delegate$lambda() {
3422
- init_properties_FileSystem_kt_v57kfj();
3405
+ _init_properties_FileSystem_kt__z0x7or();
3423
3406
  return require('sync-request');
3424
3407
  }
3425
3408
  function FS$factory() {
@@ -3438,7 +3421,7 @@
3438
3421
  }, null);
3439
3422
  }
3440
3423
  var properties_initialized_FileSystem_kt_g28cz1;
3441
- function init_properties_FileSystem_kt_v57kfj() {
3424
+ function _init_properties_FileSystem_kt__z0x7or() {
3442
3425
  if (properties_initialized_FileSystem_kt_g28cz1) {
3443
3426
  } else {
3444
3427
  properties_initialized_FileSystem_kt_g28cz1 = true;
@@ -3451,7 +3434,7 @@
3451
3434
  }
3452
3435
  function JsUrl_init_$Init$(url, $this) {
3453
3436
  JsUrl.call($this);
3454
- var tmp0_elvis_lhs = Companion_getInstance_22().e31(url);
3437
+ var tmp0_elvis_lhs = Companion_getInstance_22().b2z(url);
3455
3438
  var tmp;
3456
3439
  if (tmp0_elvis_lhs == null) {
3457
3440
  throw InvalidUrlException_init_$Create$('Invalid URL: ' + url);
@@ -3460,89 +3443,78 @@
3460
3443
  }
3461
3444
  var match = tmp;
3462
3445
  var tmp_0 = $this;
3463
- var tmp1_elvis_lhs = match.a3(UrlField_PROTOCOL_getInstance());
3464
- tmp_0.b3p_1 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
3446
+ var tmp1_elvis_lhs = match.f3(UrlField_PROTOCOL_getInstance());
3447
+ tmp_0.w3m_1 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
3465
3448
  var tmp_1 = $this;
3466
- var tmp2_elvis_lhs = match.a3(UrlField_HOST_getInstance());
3467
- tmp_1.c3p_1 = tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs;
3449
+ var tmp2_elvis_lhs = match.f3(UrlField_HOST_getInstance());
3450
+ tmp_1.x3m_1 = tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs;
3468
3451
  var tmp_2 = $this;
3469
- var tmp3_elvis_lhs = match.a3(UrlField_PATH_getInstance());
3470
- tmp_2.d3p_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
3452
+ var tmp3_elvis_lhs = match.f3(UrlField_PATH_getInstance());
3453
+ tmp_2.y3m_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
3471
3454
  var tmp_3 = $this;
3472
- var tmp4_safe_receiver = match.a3(UrlField_PORT_getInstance());
3455
+ var tmp4_safe_receiver = match.f3(UrlField_PORT_getInstance());
3473
3456
  var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : toInt(tmp4_safe_receiver);
3474
- tmp_3.e3p_1 = tmp5_safe_receiver == null ? null : Companion_getInstance_22().h3k(tmp5_safe_receiver);
3475
- $this.f3p_1 = match.a3(UrlField_QUERY_getInstance());
3476
- $this.a3p_1 = url;
3457
+ tmp_3.z3m_1 = tmp5_safe_receiver == null ? null : Companion_getInstance_22().c3i(tmp5_safe_receiver);
3458
+ $this.a3n_1 = match.f3(UrlField_QUERY_getInstance());
3459
+ $this.v3m_1 = url;
3477
3460
  return $this;
3478
3461
  }
3479
3462
  function JsUrl_init_$Create$(url) {
3480
- return JsUrl_init_$Init$(url, Object.create(JsUrl.prototype));
3463
+ return JsUrl_init_$Init$(url, objectCreate(protoOf(JsUrl)));
3481
3464
  }
3482
3465
  function JsUrl_init_$Init$_0(protocol, host, port, path, query, $this) {
3466
+ host = host === VOID ? '' : host;
3467
+ port = port === VOID ? null : port;
3468
+ path = path === VOID ? '' : path;
3469
+ query = query === VOID ? null : query;
3483
3470
  JsUrl.call($this);
3484
- $this.b3p_1 = protocol;
3485
- $this.c3p_1 = host;
3486
- $this.e3p_1 = port;
3487
- $this.d3p_1 = path;
3488
- $this.f3p_1 = query;
3489
- $this.a3p_1 = Companion_getInstance_22().l3k(protocol, host, port, path, query);
3471
+ $this.w3m_1 = protocol;
3472
+ $this.x3m_1 = host;
3473
+ $this.z3m_1 = port;
3474
+ $this.y3m_1 = path;
3475
+ $this.a3n_1 = query;
3476
+ $this.v3m_1 = Companion_getInstance_22().g3i(protocol, host, port, path, query);
3490
3477
  return $this;
3491
3478
  }
3492
3479
  function JsUrl_init_$Create$_0(protocol, host, port, path, query) {
3493
- return JsUrl_init_$Init$_0(protocol, host, port, path, query, Object.create(JsUrl.prototype));
3494
- }
3495
- function JsUrl_init_$Init$_1(protocol, host, port, path, query, $mask0, $marker, $this) {
3496
- if (!(($mask0 & 2) === 0))
3497
- host = '';
3498
- if (!(($mask0 & 4) === 0))
3499
- port = null;
3500
- if (!(($mask0 & 8) === 0))
3501
- path = '';
3502
- if (!(($mask0 & 16) === 0))
3503
- query = null;
3504
- JsUrl_init_$Init$_0(protocol, host, port, path, query, $this);
3505
- return $this;
3506
- }
3507
- function JsUrl_init_$Create$_1(protocol, host, port, path, query, $mask0, $marker) {
3508
- return JsUrl_init_$Init$_1(protocol, host, port, path, query, $mask0, $marker, Object.create(JsUrl.prototype));
3480
+ return JsUrl_init_$Init$_0(protocol, host, port, path, query, objectCreate(protoOf(JsUrl)));
3509
3481
  }
3510
- JsUrl.prototype.m3k = function () {
3511
- return this.b3p_1;
3482
+ protoOf(JsUrl).h3i = function () {
3483
+ return this.w3m_1;
3512
3484
  };
3513
- JsUrl.prototype.n3k = function () {
3514
- return this.c3p_1;
3485
+ protoOf(JsUrl).i3i = function () {
3486
+ return this.x3m_1;
3515
3487
  };
3516
- JsUrl.prototype.k31 = function () {
3517
- return this.d3p_1;
3488
+ protoOf(JsUrl).h2z = function () {
3489
+ return this.y3m_1;
3518
3490
  };
3519
- JsUrl.prototype.o3k = function () {
3520
- return this.e3p_1;
3491
+ protoOf(JsUrl).j3i = function () {
3492
+ return this.z3m_1;
3521
3493
  };
3522
- JsUrl.prototype.u1v = function () {
3523
- return this.f3p_1;
3494
+ protoOf(JsUrl).v1u = function () {
3495
+ return this.a3n_1;
3524
3496
  };
3525
- JsUrl.prototype.g3p = function () {
3526
- if (this.p3k()) {
3527
- return readText(this.d3p_1);
3497
+ protoOf(JsUrl).b3n = function () {
3498
+ if (this.k3i()) {
3499
+ return readText(this.y3m_1);
3528
3500
  } else {
3529
- return fetch(this.a3p_1, 'UTF-8');
3501
+ return fetch(this.v3m_1, 'UTF-8');
3530
3502
  }
3531
3503
  };
3532
- JsUrl.prototype.readAsText = function () {
3533
- return this.g3p();
3504
+ protoOf(JsUrl).readAsText = function () {
3505
+ return this.b3n();
3534
3506
  };
3535
- JsUrl.prototype.h3p = function () {
3536
- if (this.p3k()) {
3537
- return readBin(this.d3p_1);
3507
+ protoOf(JsUrl).c3n = function () {
3508
+ if (this.k3i()) {
3509
+ return readBin(this.y3m_1);
3538
3510
  } else {
3539
- return toByteArray(fetch$default(this.a3p_1, null, 2, null));
3511
+ return toByteArray(fetch(this.v3m_1));
3540
3512
  }
3541
3513
  };
3542
- JsUrl.prototype.readAsByteArray = function () {
3543
- return this.h3p();
3514
+ protoOf(JsUrl).readAsByteArray = function () {
3515
+ return this.c3n();
3544
3516
  };
3545
- JsUrl.prototype.equals = function (other) {
3517
+ protoOf(JsUrl).equals = function (other) {
3546
3518
  if (this === other)
3547
3519
  return true;
3548
3520
  if (other == null ? true : !(this.constructor == other.constructor))
@@ -3551,15 +3523,15 @@
3551
3523
  other;
3552
3524
  else
3553
3525
  THROW_CCE();
3554
- if (!(this.a3p_1 === other.a3p_1))
3526
+ if (!(this.v3m_1 === other.v3m_1))
3555
3527
  return false;
3556
3528
  return true;
3557
3529
  };
3558
- JsUrl.prototype.hashCode = function () {
3559
- return getStringHashCode(this.a3p_1);
3530
+ protoOf(JsUrl).hashCode = function () {
3531
+ return getStringHashCode(this.v3m_1);
3560
3532
  };
3561
- JsUrl.prototype.toString = function () {
3562
- return this.a3p_1;
3533
+ protoOf(JsUrl).toString = function () {
3534
+ return this.v3m_1;
3563
3535
  };
3564
3536
  function JsUrl() {
3565
3537
  }
@@ -3567,34 +3539,39 @@
3567
3539
  return Companion_getInstance_10().ofString(_this__u8e3s4.readAsText());
3568
3540
  }
3569
3541
  function openOutputChannel(_this__u8e3s4, append) {
3542
+ append = append === VOID ? false : append;
3570
3543
  throw IOException_init_$Create$('Writing not supported for ' + toString_0(_this__u8e3s4));
3571
3544
  }
3572
3545
  function fileUrl(path) {
3573
- return JsUrl_init_$Create$_1('file', null, null, path, null, 22, null);
3546
+ return JsUrl_init_$Create$_0('file', VOID, VOID, path);
3574
3547
  }
3575
3548
  function remoteUrl(protocol, host, port, path, query) {
3549
+ host = host === VOID ? '' : host;
3550
+ port = port === VOID ? null : port;
3551
+ path = path === VOID ? '' : path;
3552
+ query = query === VOID ? null : query;
3576
3553
  return JsUrl_init_$Create$_0(protocol, host, port, path, query);
3577
3554
  }
3578
3555
  function parseUrl(string) {
3579
3556
  return JsUrl_init_$Create$(string);
3580
3557
  }
3581
3558
  //region block: post-declaration
3582
- IOLib.prototype.containsSignature = containsSignature;
3583
- IOLib.prototype.containsOperator = containsOperator;
3584
- IOLib.prototype.hasPrimitive = hasPrimitive;
3585
- IOLib.prototype.hasFunction = hasFunction;
3586
- IOLib.prototype.m2e = get_ruleSignatures;
3587
- IOLib.prototype.hasProtected = hasProtected;
3588
- JsUrl.prototype.resolve = resolve;
3589
- JsUrl.prototype.div = div;
3590
- JsUrl.prototype.p3k = get_isFile;
3591
- JsUrl.prototype.q3k = get_isHttp;
3559
+ protoOf(IOLib).containsSignature = containsSignature;
3560
+ protoOf(IOLib).containsOperator = containsOperator;
3561
+ protoOf(IOLib).hasPrimitive = hasPrimitive;
3562
+ protoOf(IOLib).hasFunction = hasFunction;
3563
+ protoOf(IOLib).r2c = get_ruleSignatures;
3564
+ protoOf(IOLib).hasProtected = hasProtected;
3565
+ protoOf(JsUrl).resolve = resolve;
3566
+ protoOf(JsUrl).div = div;
3567
+ protoOf(JsUrl).k3i = get_isFile;
3568
+ protoOf(JsUrl).l3i = get_isHttp;
3592
3569
  //endregion
3593
3570
  //region block: exports
3594
3571
  _.$_$ = _.$_$ || {};
3595
3572
  _.$_$.a = IOLib_getInstance;
3596
3573
  //endregion
3597
3574
  return _;
3598
- }(module.exports, require('./2p-solve.js'), require('./kotlin-kotlin-stdlib-js-ir.js'), require('./2p-core.js'), require('./2p-parser-core.js'), require('./2p-parser-theory.js'), require('./2p-theory.js')));
3575
+ }));
3599
3576
 
3600
3577
  //# sourceMappingURL=2p-io-lib.js.map