game_client_logic_deb 1.8.96 → 1.8.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +98 -99
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +803 -804
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +171 -202
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1918 -2300
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +16480 -20499
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +92 -127
- package/Logic_Debertz-game_client.js +5078 -5649
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +8597 -7800
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
- package/kotlinx-atomicfu.js +54 -39
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2899 -2964
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +1 -1
- package/kotlinx-io-kotlinx-io-core.js +326 -358
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2416 -2452
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1699 -1842
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +281 -290
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/secure-random-secure-random.js +1 -1
- package/uuid.js +44 -59
- package/uuid.js.map +1 -1
package/Kosi-Kodein-kodein-di.js
CHANGED
|
@@ -12,132 +12,132 @@
|
|
|
12
12
|
}
|
|
13
13
|
root['Kosi-Kodein-kodein-di'] = factory(typeof this['Kosi-Kodein-kodein-di'] === 'undefined' ? {} : this['Kosi-Kodein-kodein-di'], this['kotlin-kotlin-stdlib'], this['Kosi-Kaverit-kaverit']);
|
|
14
14
|
}
|
|
15
|
-
}(
|
|
15
|
+
}(globalThis, function (_, kotlin_kotlin, kotlin_org_kodein_type_kaverit) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var
|
|
21
|
-
var setMetadataFor = kotlin_kotlin.$_$.bb;
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.gb;
|
|
20
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ja;
|
|
22
21
|
var VOID = kotlin_kotlin.$_$.f;
|
|
23
22
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
24
|
-
var first = kotlin_kotlin.$_$.
|
|
23
|
+
var first = kotlin_kotlin.$_$.v6;
|
|
25
24
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
26
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
27
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
28
|
-
var sorted = kotlin_kotlin.$_$.
|
|
25
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
26
|
+
var filterNotNull = kotlin_kotlin.$_$.s6;
|
|
27
|
+
var sorted = kotlin_kotlin.$_$.i8;
|
|
29
28
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
30
|
-
var repeat = kotlin_kotlin.$_$.
|
|
31
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
32
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
33
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
34
|
-
var toString = kotlin_kotlin.$_$.
|
|
29
|
+
var repeat = kotlin_kotlin.$_$.pc;
|
|
30
|
+
var ensureNotNull = kotlin_kotlin.$_$.ve;
|
|
31
|
+
var KProperty1 = kotlin_kotlin.$_$.wb;
|
|
32
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.ga;
|
|
33
|
+
var toString = kotlin_kotlin.$_$.gf;
|
|
35
34
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
36
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
38
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
35
|
+
var equals = kotlin_kotlin.$_$.ca;
|
|
36
|
+
var objectCreate = kotlin_kotlin.$_$.fb;
|
|
37
|
+
var RuntimeException = kotlin_kotlin.$_$.de;
|
|
39
38
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
40
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
41
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var
|
|
39
|
+
var captureStack = kotlin_kotlin.$_$.u9;
|
|
40
|
+
var hashCode = kotlin_kotlin.$_$.ia;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.ee;
|
|
42
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.ma;
|
|
44
43
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
44
|
+
var toString_0 = kotlin_kotlin.$_$.kb;
|
|
45
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ea;
|
|
46
|
+
var getStringHashCode = kotlin_kotlin.$_$.ha;
|
|
47
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
|
|
48
|
+
var initMetadataForObject = kotlin_kotlin.$_$.oa;
|
|
48
49
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
49
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
50
|
+
var isInterface = kotlin_kotlin.$_$.wa;
|
|
51
|
+
var joinToString = kotlin_kotlin.$_$.g7;
|
|
51
52
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
52
53
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
53
|
-
var toString_0 = kotlin_kotlin.$_$.fb;
|
|
54
54
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
55
55
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
56
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
57
|
-
var Enum = kotlin_kotlin.$_$.
|
|
58
|
-
var
|
|
59
|
-
var listOf = kotlin_kotlin.$_$.
|
|
60
|
-
var plus = kotlin_kotlin.$_$.
|
|
61
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
62
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
63
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
64
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
65
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
66
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
67
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
56
|
+
var charSequenceLength = kotlin_kotlin.$_$.y9;
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.td;
|
|
58
|
+
var KtMap = kotlin_kotlin.$_$.k5;
|
|
59
|
+
var listOf = kotlin_kotlin.$_$.p7;
|
|
60
|
+
var plus = kotlin_kotlin.$_$.z7;
|
|
61
|
+
var emptyList = kotlin_kotlin.$_$.p6;
|
|
62
|
+
var plus_0 = kotlin_kotlin.$_$.a8;
|
|
63
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.w5;
|
|
64
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.m2;
|
|
65
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.x5;
|
|
66
|
+
var mapCapacity = kotlin_kotlin.$_$.r7;
|
|
67
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ob;
|
|
68
68
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
69
|
-
var to = kotlin_kotlin.$_$.
|
|
70
|
-
var KProperty0 = kotlin_kotlin.$_$.
|
|
71
|
-
var lazy = kotlin_kotlin.$_$.
|
|
72
|
-
var asSequence = kotlin_kotlin.$_$.
|
|
73
|
-
var filter = kotlin_kotlin.$_$.
|
|
74
|
-
var flatMap = kotlin_kotlin.$_$.
|
|
75
|
-
var mapNotNull = kotlin_kotlin.$_$.
|
|
76
|
-
var map = kotlin_kotlin.$_$.
|
|
77
|
-
var toList = kotlin_kotlin.$_$.
|
|
78
|
-
var Triple = kotlin_kotlin.$_$.
|
|
69
|
+
var to = kotlin_kotlin.$_$.hf;
|
|
70
|
+
var KProperty0 = kotlin_kotlin.$_$.vb;
|
|
71
|
+
var lazy = kotlin_kotlin.$_$.af;
|
|
72
|
+
var asSequence = kotlin_kotlin.$_$.u5;
|
|
73
|
+
var filter = kotlin_kotlin.$_$.yb;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.ac;
|
|
75
|
+
var mapNotNull = kotlin_kotlin.$_$.bc;
|
|
76
|
+
var map = kotlin_kotlin.$_$.cc;
|
|
77
|
+
var toList = kotlin_kotlin.$_$.dc;
|
|
78
|
+
var Triple = kotlin_kotlin.$_$.ge;
|
|
79
79
|
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.n;
|
|
80
80
|
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
81
|
-
var Collection = kotlin_kotlin.$_$.
|
|
82
|
-
var addAll = kotlin_kotlin.$_$.
|
|
83
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.b5;
|
|
82
|
+
var addAll = kotlin_kotlin.$_$.p5;
|
|
83
|
+
var getOrNull = kotlin_kotlin.$_$.a7;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
initMetadataForClass(DIDefining, 'DIDefining');
|
|
87
|
+
initMetadataForClass(DIDefinition, 'DIDefinition', VOID, DIDefining);
|
|
88
|
+
initMetadataForClass(DependencyLoopException, 'DependencyLoopException', VOID, RuntimeException);
|
|
89
|
+
initMetadataForClass(NotFoundException, 'NotFoundException', VOID, RuntimeException);
|
|
90
|
+
initMetadataForClass(OverridingException, 'OverridingException', VOID, RuntimeException);
|
|
91
|
+
initMetadataForClass(Key, 'Key');
|
|
92
92
|
function import$default(module_0, allowOverride, $super) {
|
|
93
93
|
allowOverride = allowOverride === VOID ? false : allowOverride;
|
|
94
94
|
var tmp;
|
|
95
95
|
if ($super === VOID) {
|
|
96
|
-
this.
|
|
96
|
+
this.t2c(module_0, allowOverride);
|
|
97
97
|
tmp = Unit_instance;
|
|
98
98
|
} else {
|
|
99
|
-
tmp = $super.
|
|
99
|
+
tmp = $super.t2c.call(this, module_0, allowOverride);
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
initMetadataForInterface(Builder, 'Builder');
|
|
104
|
+
initMetadataForClass(Module, 'Module');
|
|
105
|
+
initMetadataForCompanion(Companion);
|
|
106
106
|
function get_diContext() {
|
|
107
107
|
return get_AnyDIContext();
|
|
108
108
|
}
|
|
109
109
|
function get_diTrigger() {
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
initMetadataForInterface(DIAware, 'DIAware');
|
|
113
113
|
function get_di() {
|
|
114
114
|
return this;
|
|
115
115
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
116
|
+
initMetadataForInterface(DI, 'DI', VOID, VOID, [DIAware]);
|
|
117
|
+
initMetadataForInterface(DIContext, 'DIContext');
|
|
118
|
+
initMetadataForClass(Value, 'Value', VOID, VOID, [DIContext]);
|
|
119
|
+
initMetadataForCompanion(Companion_0);
|
|
120
|
+
initMetadataForObject(Contexes, 'Contexes');
|
|
121
|
+
initMetadataForClass(DIWrapper, 'DIWrapper', VOID, VOID, [DI]);
|
|
122
122
|
function factory$default(key, context, overrideLevel, $super) {
|
|
123
123
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
124
|
-
return $super === VOID ? this.
|
|
124
|
+
return $super === VOID ? this.q2d(key, context, overrideLevel) : $super.q2d.call(this, key, context, overrideLevel);
|
|
125
125
|
}
|
|
126
126
|
function factoryOrNull$default(key, context, overrideLevel, $super) {
|
|
127
127
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
128
|
-
return $super === VOID ? this.
|
|
128
|
+
return $super === VOID ? this.s2d(key, context, overrideLevel) : $super.s2d.call(this, key, context, overrideLevel);
|
|
129
129
|
}
|
|
130
130
|
function provider(key, context, overrideLevel) {
|
|
131
131
|
// Inline function 'org.kodein.di.toProvider' call
|
|
132
|
-
var this_0 = this.
|
|
132
|
+
var this_0 = this.r2d(key, context);
|
|
133
133
|
return DIContainer$provider$lambda(this_0);
|
|
134
134
|
}
|
|
135
135
|
function provider$default(key, context, overrideLevel, $super) {
|
|
136
136
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
137
|
-
return $super === VOID ? this.
|
|
137
|
+
return $super === VOID ? this.u2d(key, context, overrideLevel) : provider(key, context, overrideLevel);
|
|
138
138
|
}
|
|
139
139
|
function providerOrNull(key, context, overrideLevel) {
|
|
140
|
-
var tmp0_safe_receiver = this.
|
|
140
|
+
var tmp0_safe_receiver = this.t2d(key, context);
|
|
141
141
|
var tmp;
|
|
142
142
|
if (tmp0_safe_receiver == null) {
|
|
143
143
|
tmp = null;
|
|
@@ -149,39 +149,39 @@
|
|
|
149
149
|
}
|
|
150
150
|
function providerOrNull$default(key, context, overrideLevel, $super) {
|
|
151
151
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
152
|
-
return $super === VOID ? this.
|
|
152
|
+
return $super === VOID ? this.v2d(key, context, overrideLevel) : providerOrNull(key, context, overrideLevel);
|
|
153
153
|
}
|
|
154
|
-
|
|
154
|
+
initMetadataForInterface(DIContainer, 'DIContainer');
|
|
155
155
|
function find$default(key, overrideLevel, all, $super) {
|
|
156
156
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
157
157
|
all = all === VOID ? false : all;
|
|
158
|
-
return $super === VOID ? this.
|
|
158
|
+
return $super === VOID ? this.y2d(key, overrideLevel, all) : $super.y2d.call(this, key, overrideLevel, all);
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
initMetadataForInterface(DITree, 'DITree');
|
|
161
161
|
function get_di_0() {
|
|
162
|
-
return this.
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
162
|
+
return this.c2e();
|
|
163
|
+
}
|
|
164
|
+
initMetadataForInterface(DirectDIBase, 'DirectDIBase');
|
|
165
|
+
initMetadataForObject(NoDefinedTag, 'NoDefinedTag');
|
|
166
|
+
initMetadataForClass(SearchSpecs, 'SearchSpecs', SearchSpecs);
|
|
167
|
+
initMetadataForClass(NoArgBindingDIWrap, 'NoArgBindingDIWrap', VOID, VOID, [DirectDIBase]);
|
|
168
|
+
initMetadataForObject(ErasedContext, 'ErasedContext', VOID, VOID, [DIContext]);
|
|
169
|
+
initMetadataForClass(DIBinding$Copier$Companion$invoke$1);
|
|
170
|
+
initMetadataForCompanion(Companion_1);
|
|
171
171
|
function factoryFullName() {
|
|
172
|
-
return this.
|
|
172
|
+
return this.n2e();
|
|
173
173
|
}
|
|
174
174
|
function get_scope() {
|
|
175
175
|
return null;
|
|
176
176
|
}
|
|
177
177
|
function get_description() {
|
|
178
|
-
var arg = !equals(this.
|
|
178
|
+
var arg = !equals(this.p2e(), Companion_getInstance().d2b_1) ? this.p2e().f2b() + ' -> ' : '';
|
|
179
179
|
var tmp;
|
|
180
|
-
var tmp_0 = this.
|
|
180
|
+
var tmp_0 = this.x2c();
|
|
181
181
|
if (tmp_0 instanceof NoScope) {
|
|
182
182
|
tmp = null;
|
|
183
183
|
} else {
|
|
184
|
-
tmp = this.
|
|
184
|
+
tmp = this.x2c();
|
|
185
185
|
}
|
|
186
186
|
var scope = tmp;
|
|
187
187
|
var tmp_1;
|
|
@@ -191,20 +191,20 @@
|
|
|
191
191
|
// Inline function 'kotlin.let' call
|
|
192
192
|
// Inline function 'kotlin.contracts.contract' call
|
|
193
193
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
194
|
-
tmp_1 = 'scoped(' + erasedOf(scope).
|
|
194
|
+
tmp_1 = 'scoped(' + erasedOf(scope).f2b() + ').';
|
|
195
195
|
}
|
|
196
196
|
var tmp1_elvis_lhs = tmp_1;
|
|
197
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
198
|
-
return context + this.
|
|
197
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.v2c(), Companion_getInstance().e2b_1) ? 'contexted<' + this.v2c().f2b() + '>().' : '' : tmp1_elvis_lhs;
|
|
198
|
+
return context + this.n2e() + ' { ' + arg + this.q2e().f2b() + ' }';
|
|
199
199
|
}
|
|
200
200
|
function get_fullDescription() {
|
|
201
|
-
var arg = !equals(this.
|
|
201
|
+
var arg = !equals(this.p2e(), Companion_getInstance().d2b_1) ? this.p2e().h2b() + ' -> ' : '';
|
|
202
202
|
var tmp;
|
|
203
|
-
var tmp_0 = this.
|
|
203
|
+
var tmp_0 = this.x2c();
|
|
204
204
|
if (tmp_0 instanceof NoScope) {
|
|
205
205
|
tmp = null;
|
|
206
206
|
} else {
|
|
207
|
-
tmp = this.
|
|
207
|
+
tmp = this.x2c();
|
|
208
208
|
}
|
|
209
209
|
var scope = tmp;
|
|
210
210
|
var tmp_1;
|
|
@@ -214,55 +214,55 @@
|
|
|
214
214
|
// Inline function 'kotlin.let' call
|
|
215
215
|
// Inline function 'kotlin.contracts.contract' call
|
|
216
216
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
217
|
-
tmp_1 = 'scoped(' + erasedOf(scope).
|
|
217
|
+
tmp_1 = 'scoped(' + erasedOf(scope).h2b() + ').';
|
|
218
218
|
}
|
|
219
219
|
var tmp1_elvis_lhs = tmp_1;
|
|
220
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
221
|
-
return context + this.
|
|
220
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.v2c(), Companion_getInstance().e2b_1) ? 'contexted<' + this.v2c().h2b() + '>().' : '' : tmp1_elvis_lhs;
|
|
221
|
+
return context + this.o2e() + ' { ' + arg + this.q2e().h2b() + ' }';
|
|
222
222
|
}
|
|
223
223
|
function get_supportSubTypes() {
|
|
224
224
|
return false;
|
|
225
225
|
}
|
|
226
|
-
|
|
226
|
+
initMetadataForInterface(DIBinding, 'DIBinding');
|
|
227
227
|
function get_argType() {
|
|
228
|
-
return Companion_getInstance().
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
228
|
+
return Companion_getInstance().d2b_1;
|
|
229
|
+
}
|
|
230
|
+
initMetadataForInterface(NoArgDIBinding, 'NoArgDIBinding', VOID, VOID, [DIBinding]);
|
|
231
|
+
initMetadataForObject(SingletonReference, 'SingletonReference');
|
|
232
|
+
initMetadataForClass(Reference, 'Reference');
|
|
233
|
+
initMetadataForInterface(ContextTranslator, 'ContextTranslator');
|
|
234
|
+
initMetadataForClass(ScopeRegistry, 'ScopeRegistry');
|
|
235
|
+
initMetadataForClass(NoScope, 'NoScope', NoScope);
|
|
236
|
+
initMetadataForClass(StandardScopeRegistry, 'StandardScopeRegistry', StandardScopeRegistry, ScopeRegistry);
|
|
237
|
+
initMetadataForClass(CompositeContextTranslator, 'CompositeContextTranslator', VOID, VOID, [ContextTranslator]);
|
|
238
|
+
initMetadataForClass(Provider, 'Provider', VOID, VOID, [NoArgDIBinding]);
|
|
239
|
+
initMetadataForClass(Singleton, 'Singleton', VOID, VOID, [NoArgDIBinding]);
|
|
240
|
+
initMetadataForClass(ScopeKey, 'ScopeKey');
|
|
241
|
+
initMetadataForClass(DIBuilderImpl, 'DIBuilderImpl', VOID, VOID, [Builder]);
|
|
242
|
+
initMetadataForClass(DIMainBuilderImpl, 'DIMainBuilderImpl', VOID, DIBuilderImpl, [DIBuilderImpl, Builder]);
|
|
243
|
+
initMetadataForClass(TypeBinder, 'TypeBinder');
|
|
244
|
+
initMetadataForClass(OverrideMode, 'OverrideMode', VOID, Enum);
|
|
245
|
+
initMetadataForClass(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT, 'ALLOW_SILENT', VOID, OverrideMode);
|
|
246
|
+
initMetadataForClass(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT, 'ALLOW_EXPLICIT', VOID, OverrideMode);
|
|
247
|
+
initMetadataForClass(DIContainerBuilderImpl$OverrideMode$FORBID, 'FORBID', VOID, OverrideMode);
|
|
248
|
+
initMetadataForCompanion(Companion_2);
|
|
249
|
+
initMetadataForClass(DIContainerBuilderImpl, 'DIContainerBuilderImpl');
|
|
250
|
+
initMetadataForClass(Node, 'Node');
|
|
251
|
+
initMetadataForClass(DIContainerImpl, 'DIContainerImpl', VOID, VOID, [DIContainer]);
|
|
252
|
+
initMetadataForCompanion(Companion_3);
|
|
253
|
+
initMetadataForClass(DIImpl, 'DIImpl', VOID, VOID, [DI]);
|
|
254
|
+
initMetadataForClass(BindingDIImpl, 'BindingDIImpl', VOID, VOID, [DirectDIBase]);
|
|
255
|
+
initMetadataForClass(DITreeImpl, 'DITreeImpl', VOID, VOID, [DITree]);
|
|
256
|
+
initMetadataForClass(TypeChecker, 'TypeChecker');
|
|
257
|
+
initMetadataForClass(Down, 'Down', VOID, TypeChecker);
|
|
258
|
+
initMetadataForClass(Up, 'Up', VOID, TypeChecker);
|
|
259
|
+
initMetadataForClass(DirectDIBaseImpl, 'DirectDIBaseImpl', VOID, VOID, [DirectDIBase]);
|
|
260
|
+
initMetadataForClass(DIProperty, 'DIProperty');
|
|
261
|
+
initMetadataForClass(DirectDIImpl, 'DirectDIImpl', VOID, DirectDIBaseImpl, [DirectDIBaseImpl, DirectDIBase]);
|
|
262
262
|
//endregion
|
|
263
263
|
function DIDefinition(binding, fromModule, tree) {
|
|
264
264
|
DIDefining.call(this, binding, fromModule);
|
|
265
|
-
this.
|
|
265
|
+
this.x2b_1 = tree;
|
|
266
266
|
}
|
|
267
267
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
268
268
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
@@ -270,21 +270,21 @@
|
|
|
270
270
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindDescription$factory(), description$factory());
|
|
271
271
|
}
|
|
272
272
|
function DIDefining(binding, fromModule) {
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
273
|
+
this.y2b_1 = binding;
|
|
274
|
+
this.z2b_1 = fromModule;
|
|
275
275
|
}
|
|
276
276
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
277
277
|
// Inline function 'kotlin.collections.groupBy' call
|
|
278
278
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
279
|
-
var this_0 = _this__u8e3s4.
|
|
279
|
+
var this_0 = _this__u8e3s4.s();
|
|
280
280
|
var destination = LinkedHashMap_init_$Create$();
|
|
281
|
-
var tmp0_iterator = this_0.
|
|
282
|
-
while (tmp0_iterator.
|
|
283
|
-
var element = tmp0_iterator.
|
|
281
|
+
var tmp0_iterator = this_0.j();
|
|
282
|
+
while (tmp0_iterator.k()) {
|
|
283
|
+
var element = tmp0_iterator.l();
|
|
284
284
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
285
|
-
var key = first(element.
|
|
285
|
+
var key = first(element.e2()).z2b_1;
|
|
286
286
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
287
|
-
var value = destination.
|
|
287
|
+
var value = destination.h2(key);
|
|
288
288
|
var tmp;
|
|
289
289
|
if (value == null) {
|
|
290
290
|
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
@@ -295,17 +295,17 @@
|
|
|
295
295
|
tmp = value;
|
|
296
296
|
}
|
|
297
297
|
var list = tmp;
|
|
298
|
-
list.
|
|
298
|
+
list.e(element);
|
|
299
299
|
}
|
|
300
300
|
var byModule = destination;
|
|
301
|
-
var modules = sorted(filterNotNull(byModule.
|
|
301
|
+
var modules = sorted(filterNotNull(byModule.i2()));
|
|
302
302
|
// Inline function 'kotlin.text.buildString' call
|
|
303
303
|
// Inline function 'kotlin.contracts.contract' call
|
|
304
304
|
// Inline function 'kotlin.apply' call
|
|
305
305
|
var this_1 = StringBuilder_init_$Create$();
|
|
306
306
|
// Inline function 'kotlin.contracts.contract' call
|
|
307
307
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
308
|
-
var tmp0_safe_receiver = byModule.
|
|
308
|
+
var tmp0_safe_receiver = byModule.h2(null);
|
|
309
309
|
if (tmp0_safe_receiver == null)
|
|
310
310
|
null;
|
|
311
311
|
else {
|
|
@@ -314,13 +314,13 @@
|
|
|
314
314
|
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
315
315
|
}
|
|
316
316
|
// Inline function 'kotlin.collections.forEach' call
|
|
317
|
-
var tmp0_iterator_0 = modules.
|
|
318
|
-
while (tmp0_iterator_0.
|
|
319
|
-
var element_0 = tmp0_iterator_0.
|
|
317
|
+
var tmp0_iterator_0 = modules.j();
|
|
318
|
+
while (tmp0_iterator_0.k()) {
|
|
319
|
+
var element_0 = tmp0_iterator_0.l();
|
|
320
320
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>.<anonymous>' call
|
|
321
|
-
this_1.
|
|
322
|
-
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.
|
|
323
|
-
this_1.
|
|
321
|
+
this_1.h8(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
|
|
322
|
+
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.h2(element_0)));
|
|
323
|
+
this_1.h8(repeat(' ', ident) + '}\n');
|
|
324
324
|
}
|
|
325
325
|
return this_1.toString();
|
|
326
326
|
}
|
|
@@ -330,67 +330,67 @@
|
|
|
330
330
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindFullDescription$factory(), fullDescription$factory());
|
|
331
331
|
}
|
|
332
332
|
function descriptionImpl$appendBindings(_this__u8e3s4, $keyBindDisp, $bindingDisp, $withOverrides, ident, entries) {
|
|
333
|
-
var tmp0_iterator = entries.
|
|
334
|
-
while (tmp0_iterator.
|
|
335
|
-
var element = tmp0_iterator.
|
|
333
|
+
var tmp0_iterator = entries.j();
|
|
334
|
+
while (tmp0_iterator.k()) {
|
|
335
|
+
var element = tmp0_iterator.l();
|
|
336
336
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>' call
|
|
337
|
-
var keyDescription = $keyBindDisp(element.
|
|
338
|
-
_this__u8e3s4.
|
|
337
|
+
var keyDescription = $keyBindDisp(element.d2());
|
|
338
|
+
_this__u8e3s4.h8(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.e2()).y2b_1) + ' }');
|
|
339
339
|
if ($withOverrides) {
|
|
340
340
|
var subIdent = keyDescription.length - 4 | 0;
|
|
341
341
|
// Inline function 'kotlin.collections.forEach' call
|
|
342
|
-
var tmp0_iterator_0 = element.
|
|
343
|
-
while (tmp0_iterator_0.
|
|
344
|
-
var element_0 = tmp0_iterator_0.
|
|
342
|
+
var tmp0_iterator_0 = element.e2().v1(1, element.e2().m()).j();
|
|
343
|
+
while (tmp0_iterator_0.k()) {
|
|
344
|
+
var element_0 = tmp0_iterator_0.l();
|
|
345
345
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>.<anonymous>' call
|
|
346
|
-
_this__u8e3s4.
|
|
346
|
+
_this__u8e3s4.h8(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.y2b_1));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
_this__u8e3s4.
|
|
349
|
+
_this__u8e3s4.h8('\n');
|
|
350
350
|
}
|
|
351
351
|
return Unit_instance;
|
|
352
352
|
}
|
|
353
353
|
function bindDescription$factory() {
|
|
354
354
|
return getPropertyCallableRef('bindDescription', 1, KProperty1, function (receiver) {
|
|
355
|
-
return receiver.
|
|
355
|
+
return receiver.f2c();
|
|
356
356
|
}, null);
|
|
357
357
|
}
|
|
358
358
|
function description$factory() {
|
|
359
359
|
return getPropertyCallableRef('description', 1, KProperty1, function (receiver) {
|
|
360
|
-
return receiver.
|
|
360
|
+
return receiver.g2c();
|
|
361
361
|
}, null);
|
|
362
362
|
}
|
|
363
363
|
function bindFullDescription$factory() {
|
|
364
364
|
return getPropertyCallableRef('bindFullDescription', 1, KProperty1, function (receiver) {
|
|
365
|
-
return receiver.
|
|
365
|
+
return receiver.h2c();
|
|
366
366
|
}, null);
|
|
367
367
|
}
|
|
368
368
|
function fullDescription$factory() {
|
|
369
369
|
return getPropertyCallableRef('fullDescription', 1, KProperty1, function (receiver) {
|
|
370
|
-
return receiver.
|
|
370
|
+
return receiver.i2c();
|
|
371
371
|
}, null);
|
|
372
372
|
}
|
|
373
373
|
function appendDescription(_this__u8e3s4, $this, displayString) {
|
|
374
|
-
if (!($this.
|
|
375
|
-
_this__u8e3s4.
|
|
374
|
+
if (!($this.d2c_1 == null)) {
|
|
375
|
+
_this__u8e3s4.h8(' tagged "' + toString($this.d2c_1) + '"');
|
|
376
376
|
}
|
|
377
|
-
if (!equals($this.
|
|
378
|
-
_this__u8e3s4.
|
|
377
|
+
if (!equals($this.a2c_1, Companion_getInstance().e2b_1)) {
|
|
378
|
+
_this__u8e3s4.h8(' on context ' + displayString($this.a2c_1));
|
|
379
379
|
}
|
|
380
|
-
if (!equals($this.
|
|
381
|
-
_this__u8e3s4.
|
|
380
|
+
if (!equals($this.b2c_1, Companion_getInstance().d2b_1)) {
|
|
381
|
+
_this__u8e3s4.h8(', with argument ' + displayString($this.b2c_1));
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
function TypeToken$simpleDispString$ref() {
|
|
385
385
|
var l = function (p0) {
|
|
386
|
-
return p0.
|
|
386
|
+
return p0.f2b();
|
|
387
387
|
};
|
|
388
388
|
l.callableName = 'simpleDispString';
|
|
389
389
|
return l;
|
|
390
390
|
}
|
|
391
391
|
function TypeToken$qualifiedDispString$ref() {
|
|
392
392
|
var l = function (p0) {
|
|
393
|
-
return p0.
|
|
393
|
+
return p0.h2b();
|
|
394
394
|
};
|
|
395
395
|
l.callableName = 'qualifiedDispString';
|
|
396
396
|
return l;
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
400
400
|
prefix = prefix === VOID ? '' : prefix;
|
|
401
401
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
402
|
-
$this.
|
|
402
|
+
$this.m2c_1 = name;
|
|
403
403
|
return $this;
|
|
404
404
|
}
|
|
405
405
|
function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
|
|
@@ -412,95 +412,95 @@
|
|
|
412
412
|
function NotFoundException(key, message) {
|
|
413
413
|
RuntimeException_init_$Init$(message, this);
|
|
414
414
|
captureStack(this, NotFoundException);
|
|
415
|
-
this.
|
|
415
|
+
this.n2c_1 = key;
|
|
416
416
|
}
|
|
417
417
|
function OverridingException(message) {
|
|
418
418
|
RuntimeException_init_$Init$(message, this);
|
|
419
419
|
captureStack(this, OverridingException);
|
|
420
420
|
}
|
|
421
421
|
function Key(contextType, argType, type, tag) {
|
|
422
|
-
this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
422
|
+
this.a2c_1 = contextType;
|
|
423
|
+
this.b2c_1 = argType;
|
|
424
|
+
this.c2c_1 = type;
|
|
425
|
+
this.d2c_1 = tag;
|
|
426
|
+
this.e2c_1 = 0;
|
|
427
427
|
}
|
|
428
428
|
protoOf(Key).hashCode = function () {
|
|
429
|
-
if (this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
429
|
+
if (this.e2c_1 === 0) {
|
|
430
|
+
this.e2c_1 = hashCode(this.a2c_1);
|
|
431
|
+
this.e2c_1 = imul(31, this.e2c_1) + hashCode(this.b2c_1) | 0;
|
|
432
|
+
this.e2c_1 = imul(29, hashCode(this.c2c_1));
|
|
433
433
|
var tmp = this;
|
|
434
|
-
var tmp_0 = imul(23, this.
|
|
435
|
-
var tmp0_safe_receiver = this.
|
|
434
|
+
var tmp_0 = imul(23, this.e2c_1);
|
|
435
|
+
var tmp0_safe_receiver = this.d2c_1;
|
|
436
436
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
437
|
-
tmp.
|
|
437
|
+
tmp.e2c_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
438
438
|
}
|
|
439
|
-
return this.
|
|
439
|
+
return this.e2c_1;
|
|
440
440
|
};
|
|
441
441
|
protoOf(Key).toString = function () {
|
|
442
|
-
return this.
|
|
442
|
+
return this.g2c();
|
|
443
443
|
};
|
|
444
|
-
protoOf(Key).
|
|
444
|
+
protoOf(Key).f2c = function () {
|
|
445
445
|
// Inline function 'kotlin.text.buildString' call
|
|
446
446
|
// Inline function 'kotlin.contracts.contract' call
|
|
447
447
|
// Inline function 'kotlin.apply' call
|
|
448
448
|
var this_0 = StringBuilder_init_$Create$();
|
|
449
449
|
// Inline function 'kotlin.contracts.contract' call
|
|
450
450
|
// Inline function 'org.kodein.di.Key.<get-bindDescription>.<anonymous>' call
|
|
451
|
-
this_0.
|
|
452
|
-
if (!(this.
|
|
453
|
-
this_0.
|
|
451
|
+
this_0.h8('bind<' + this.c2c_1.f2b() + '>');
|
|
452
|
+
if (!(this.d2c_1 == null)) {
|
|
453
|
+
this_0.h8('(tag = "' + toString(this.d2c_1) + '")');
|
|
454
454
|
}
|
|
455
455
|
return this_0.toString();
|
|
456
456
|
};
|
|
457
|
-
protoOf(Key).
|
|
457
|
+
protoOf(Key).h2c = function () {
|
|
458
458
|
// Inline function 'kotlin.text.buildString' call
|
|
459
459
|
// Inline function 'kotlin.contracts.contract' call
|
|
460
460
|
// Inline function 'kotlin.apply' call
|
|
461
461
|
var this_0 = StringBuilder_init_$Create$();
|
|
462
462
|
// Inline function 'kotlin.contracts.contract' call
|
|
463
463
|
// Inline function 'org.kodein.di.Key.<get-bindFullDescription>.<anonymous>' call
|
|
464
|
-
this_0.
|
|
465
|
-
if (!(this.
|
|
466
|
-
this_0.
|
|
464
|
+
this_0.h8('bind<' + this.c2c_1.h2b() + '>');
|
|
465
|
+
if (!(this.d2c_1 == null)) {
|
|
466
|
+
this_0.h8('(tag = "' + toString(this.d2c_1) + '")');
|
|
467
467
|
}
|
|
468
468
|
return this_0.toString();
|
|
469
469
|
};
|
|
470
|
-
protoOf(Key).
|
|
470
|
+
protoOf(Key).g2c = function () {
|
|
471
471
|
// Inline function 'kotlin.text.buildString' call
|
|
472
472
|
// Inline function 'kotlin.contracts.contract' call
|
|
473
473
|
// Inline function 'kotlin.apply' call
|
|
474
474
|
var this_0 = StringBuilder_init_$Create$();
|
|
475
475
|
// Inline function 'kotlin.contracts.contract' call
|
|
476
476
|
// Inline function 'org.kodein.di.Key.<get-description>.<anonymous>' call
|
|
477
|
-
this_0.
|
|
477
|
+
this_0.h8(this.c2c_1.f2b());
|
|
478
478
|
appendDescription(this_0, this, TypeToken$simpleDispString$ref());
|
|
479
479
|
return this_0.toString();
|
|
480
480
|
};
|
|
481
|
-
protoOf(Key).
|
|
482
|
-
return '(context: ' + this.
|
|
481
|
+
protoOf(Key).o2c = function () {
|
|
482
|
+
return '(context: ' + this.a2c_1.f2b() + ', arg: ' + this.b2c_1.f2b() + ', type: ' + this.c2c_1.f2b() + ', tag: ' + toString(this.d2c_1) + ')';
|
|
483
483
|
};
|
|
484
|
-
protoOf(Key).
|
|
484
|
+
protoOf(Key).i2c = function () {
|
|
485
485
|
// Inline function 'kotlin.text.buildString' call
|
|
486
486
|
// Inline function 'kotlin.contracts.contract' call
|
|
487
487
|
// Inline function 'kotlin.apply' call
|
|
488
488
|
var this_0 = StringBuilder_init_$Create$();
|
|
489
489
|
// Inline function 'kotlin.contracts.contract' call
|
|
490
490
|
// Inline function 'org.kodein.di.Key.<get-fullDescription>.<anonymous>' call
|
|
491
|
-
this_0.
|
|
491
|
+
this_0.h8(this.c2c_1.h2b());
|
|
492
492
|
appendDescription(this_0, this, TypeToken$qualifiedDispString$ref());
|
|
493
493
|
return this_0.toString();
|
|
494
494
|
};
|
|
495
|
-
protoOf(Key).
|
|
495
|
+
protoOf(Key).p2c = function (contextType, argType, type, tag) {
|
|
496
496
|
return new Key(contextType, argType, type, tag);
|
|
497
497
|
};
|
|
498
|
-
protoOf(Key).
|
|
499
|
-
contextType = contextType === VOID ? this.
|
|
500
|
-
argType = argType === VOID ? this.
|
|
501
|
-
type = type === VOID ? this.
|
|
502
|
-
tag = tag === VOID ? this.
|
|
503
|
-
return $super === VOID ? this.
|
|
498
|
+
protoOf(Key).q2c = function (contextType, argType, type, tag, $super) {
|
|
499
|
+
contextType = contextType === VOID ? this.a2c_1 : contextType;
|
|
500
|
+
argType = argType === VOID ? this.b2c_1 : argType;
|
|
501
|
+
type = type === VOID ? this.c2c_1 : type;
|
|
502
|
+
tag = tag === VOID ? this.d2c_1 : tag;
|
|
503
|
+
return $super === VOID ? this.p2c(contextType, argType, type, tag) : $super.p2c.call(this, contextType, argType, type, tag);
|
|
504
504
|
};
|
|
505
505
|
protoOf(Key).equals = function (other) {
|
|
506
506
|
if (this === other)
|
|
@@ -508,13 +508,13 @@
|
|
|
508
508
|
if (!(other instanceof Key))
|
|
509
509
|
return false;
|
|
510
510
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
511
|
-
if (!equals(this.
|
|
511
|
+
if (!equals(this.a2c_1, tmp0_other_with_cast.a2c_1))
|
|
512
512
|
return false;
|
|
513
|
-
if (!equals(this.
|
|
513
|
+
if (!equals(this.b2c_1, tmp0_other_with_cast.b2c_1))
|
|
514
514
|
return false;
|
|
515
|
-
if (!equals(this.
|
|
515
|
+
if (!equals(this.c2c_1, tmp0_other_with_cast.c2c_1))
|
|
516
516
|
return false;
|
|
517
|
-
if (!equals(this.
|
|
517
|
+
if (!equals(this.d2c_1, tmp0_other_with_cast.d2c_1))
|
|
518
518
|
return false;
|
|
519
519
|
return true;
|
|
520
520
|
};
|
|
@@ -523,13 +523,13 @@
|
|
|
523
523
|
function Module(allowSilentOverride, prefix, init) {
|
|
524
524
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
525
525
|
prefix = prefix === VOID ? '' : prefix;
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
529
|
-
this.
|
|
526
|
+
this.j2c_1 = allowSilentOverride;
|
|
527
|
+
this.k2c_1 = prefix;
|
|
528
|
+
this.l2c_1 = init;
|
|
529
|
+
this.m2c_1 = null;
|
|
530
530
|
}
|
|
531
|
-
protoOf(Module).
|
|
532
|
-
var tmp0_elvis_lhs = this.
|
|
531
|
+
protoOf(Module).o2 = function () {
|
|
532
|
+
var tmp0_elvis_lhs = this.m2c_1;
|
|
533
533
|
var tmp;
|
|
534
534
|
if (tmp0_elvis_lhs == null) {
|
|
535
535
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -539,12 +539,12 @@
|
|
|
539
539
|
return tmp;
|
|
540
540
|
};
|
|
541
541
|
protoOf(Module).toString = function () {
|
|
542
|
-
return 'Module(allowSilentOverride=' + this.
|
|
542
|
+
return 'Module(allowSilentOverride=' + this.j2c_1 + ', prefix=' + this.k2c_1 + ', init=' + toString_0(this.l2c_1) + ')';
|
|
543
543
|
};
|
|
544
544
|
protoOf(Module).hashCode = function () {
|
|
545
|
-
var result = getBooleanHashCode(this.
|
|
546
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
547
|
-
result = imul(result, 31) + hashCode(this.
|
|
545
|
+
var result = getBooleanHashCode(this.j2c_1);
|
|
546
|
+
result = imul(result, 31) + getStringHashCode(this.k2c_1) | 0;
|
|
547
|
+
result = imul(result, 31) + hashCode(this.l2c_1) | 0;
|
|
548
548
|
return result;
|
|
549
549
|
};
|
|
550
550
|
protoOf(Module).equals = function (other) {
|
|
@@ -553,24 +553,24 @@
|
|
|
553
553
|
if (!(other instanceof Module))
|
|
554
554
|
return false;
|
|
555
555
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
556
|
-
if (!(this.
|
|
556
|
+
if (!(this.j2c_1 === tmp0_other_with_cast.j2c_1))
|
|
557
557
|
return false;
|
|
558
|
-
if (!(this.
|
|
558
|
+
if (!(this.k2c_1 === tmp0_other_with_cast.k2c_1))
|
|
559
559
|
return false;
|
|
560
|
-
if (!equals(this.
|
|
560
|
+
if (!equals(this.l2c_1, tmp0_other_with_cast.l2c_1))
|
|
561
561
|
return false;
|
|
562
562
|
return true;
|
|
563
563
|
};
|
|
564
564
|
function Companion() {
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
565
|
+
this.y2c_1 = false;
|
|
566
|
+
this.z2c_1 = false;
|
|
567
567
|
}
|
|
568
|
-
protoOf(Companion).
|
|
568
|
+
protoOf(Companion).a2d = function (allowSilentOverride, init) {
|
|
569
569
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
570
570
|
};
|
|
571
|
-
protoOf(Companion).
|
|
571
|
+
protoOf(Companion).b2d = function (allowSilentOverride, init, $super) {
|
|
572
572
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
573
|
-
return $super === VOID ? this.
|
|
573
|
+
return $super === VOID ? this.a2d(allowSilentOverride, init) : $super.a2d.call(this, allowSilentOverride, init);
|
|
574
574
|
};
|
|
575
575
|
var Companion_instance;
|
|
576
576
|
function Companion_getInstance_0() {
|
|
@@ -579,26 +579,26 @@
|
|
|
579
579
|
function DI() {
|
|
580
580
|
}
|
|
581
581
|
function get_direct(_this__u8e3s4) {
|
|
582
|
-
return new DirectDIImpl(_this__u8e3s4.
|
|
582
|
+
return new DirectDIImpl(_this__u8e3s4.c2d().d2d(), _this__u8e3s4.e2d());
|
|
583
583
|
}
|
|
584
584
|
function DIAware() {
|
|
585
585
|
}
|
|
586
586
|
function Value(type, value) {
|
|
587
|
-
this.
|
|
588
|
-
this.
|
|
587
|
+
this.g2d_1 = type;
|
|
588
|
+
this.h2d_1 = value;
|
|
589
589
|
}
|
|
590
|
-
protoOf(Value).
|
|
591
|
-
return this.
|
|
590
|
+
protoOf(Value).i2d = function () {
|
|
591
|
+
return this.g2d_1;
|
|
592
592
|
};
|
|
593
|
-
protoOf(Value).
|
|
594
|
-
return this.
|
|
593
|
+
protoOf(Value).e2 = function () {
|
|
594
|
+
return this.h2d_1;
|
|
595
595
|
};
|
|
596
596
|
protoOf(Value).toString = function () {
|
|
597
|
-
return 'Value(type=' + this.
|
|
597
|
+
return 'Value(type=' + toString_0(this.g2d_1) + ', value=' + toString_0(this.h2d_1) + ')';
|
|
598
598
|
};
|
|
599
599
|
protoOf(Value).hashCode = function () {
|
|
600
|
-
var result = hashCode(this.
|
|
601
|
-
result = imul(result, 31) + hashCode(this.
|
|
600
|
+
var result = hashCode(this.g2d_1);
|
|
601
|
+
result = imul(result, 31) + hashCode(this.h2d_1) | 0;
|
|
602
602
|
return result;
|
|
603
603
|
};
|
|
604
604
|
protoOf(Value).equals = function (other) {
|
|
@@ -607,15 +607,15 @@
|
|
|
607
607
|
if (!(other instanceof Value))
|
|
608
608
|
return false;
|
|
609
609
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
610
|
-
if (!equals(this.
|
|
610
|
+
if (!equals(this.g2d_1, tmp0_other_with_cast.g2d_1))
|
|
611
611
|
return false;
|
|
612
|
-
if (!equals(this.
|
|
612
|
+
if (!equals(this.h2d_1, tmp0_other_with_cast.h2d_1))
|
|
613
613
|
return false;
|
|
614
614
|
return true;
|
|
615
615
|
};
|
|
616
616
|
function Companion_0() {
|
|
617
617
|
}
|
|
618
|
-
protoOf(Companion_0).
|
|
618
|
+
protoOf(Companion_0).j2d = function (type, value) {
|
|
619
619
|
return new Value(type, value);
|
|
620
620
|
};
|
|
621
621
|
var Companion_instance_0;
|
|
@@ -626,16 +626,16 @@
|
|
|
626
626
|
}
|
|
627
627
|
function Instance(_this__u8e3s4, type, tag) {
|
|
628
628
|
tag = tag === VOID ? null : tag;
|
|
629
|
-
var tmp = _this__u8e3s4.
|
|
630
|
-
var tmp_0 = _this__u8e3s4.
|
|
629
|
+
var tmp = _this__u8e3s4.f2d();
|
|
630
|
+
var tmp_0 = _this__u8e3s4.e2d();
|
|
631
631
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
632
632
|
}
|
|
633
633
|
function get_AnyDIContext() {
|
|
634
|
-
return Contexes_getInstance().
|
|
634
|
+
return Contexes_getInstance().k2d_1;
|
|
635
635
|
}
|
|
636
636
|
function Contexes() {
|
|
637
637
|
Contexes_instance = this;
|
|
638
|
-
this.
|
|
638
|
+
this.k2d_1 = Companion_instance_0.j2d(Companion_getInstance().e2b_1, new Object());
|
|
639
639
|
}
|
|
640
640
|
var Contexes_instance;
|
|
641
641
|
function Contexes_getInstance() {
|
|
@@ -644,14 +644,14 @@
|
|
|
644
644
|
return Contexes_instance;
|
|
645
645
|
}
|
|
646
646
|
function On(_this__u8e3s4, context, trigger) {
|
|
647
|
-
context = context === VOID ? _this__u8e3s4.
|
|
648
|
-
trigger = trigger === VOID ? _this__u8e3s4.
|
|
647
|
+
context = context === VOID ? _this__u8e3s4.e2d() : context;
|
|
648
|
+
trigger = trigger === VOID ? _this__u8e3s4.f2d() : trigger;
|
|
649
649
|
return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
|
|
650
650
|
}
|
|
651
651
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
652
|
-
diContext = diContext === VOID ? base.
|
|
653
|
-
trigger = trigger === VOID ? base.
|
|
654
|
-
DIWrapper.call($this, base.
|
|
652
|
+
diContext = diContext === VOID ? base.e2d() : diContext;
|
|
653
|
+
trigger = trigger === VOID ? base.f2d() : trigger;
|
|
654
|
+
DIWrapper.call($this, base.c2d(), diContext, trigger);
|
|
655
655
|
return $this;
|
|
656
656
|
}
|
|
657
657
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
@@ -659,44 +659,44 @@
|
|
|
659
659
|
}
|
|
660
660
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
661
661
|
diTrigger = diTrigger === VOID ? null : diTrigger;
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
664
|
-
this.
|
|
662
|
+
this.l2d_1 = _base;
|
|
663
|
+
this.m2d_1 = diContext;
|
|
664
|
+
this.n2d_1 = diTrigger;
|
|
665
665
|
}
|
|
666
|
-
protoOf(DIWrapper).
|
|
667
|
-
return this.
|
|
666
|
+
protoOf(DIWrapper).e2d = function () {
|
|
667
|
+
return this.m2d_1;
|
|
668
668
|
};
|
|
669
|
-
protoOf(DIWrapper).
|
|
670
|
-
return this.
|
|
669
|
+
protoOf(DIWrapper).f2d = function () {
|
|
670
|
+
return this.n2d_1;
|
|
671
671
|
};
|
|
672
|
-
protoOf(DIWrapper).
|
|
672
|
+
protoOf(DIWrapper).c2d = function () {
|
|
673
673
|
return this;
|
|
674
674
|
};
|
|
675
|
-
protoOf(DIWrapper).
|
|
676
|
-
return this.
|
|
675
|
+
protoOf(DIWrapper).d2d = function () {
|
|
676
|
+
return this.l2d_1.d2d();
|
|
677
677
|
};
|
|
678
678
|
function InstanceOrNull(_this__u8e3s4, type, tag) {
|
|
679
679
|
tag = tag === VOID ? null : tag;
|
|
680
|
-
var tmp = _this__u8e3s4.
|
|
681
|
-
var tmp_0 = _this__u8e3s4.
|
|
680
|
+
var tmp = _this__u8e3s4.f2d();
|
|
681
|
+
var tmp_0 = _this__u8e3s4.e2d();
|
|
682
682
|
return new DIProperty(tmp, tmp_0, InstanceOrNull$lambda(_this__u8e3s4, type, tag));
|
|
683
683
|
}
|
|
684
684
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
685
685
|
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
686
|
-
var tmp = $this_Instance.
|
|
686
|
+
var tmp = $this_Instance.c2d().d2d();
|
|
687
687
|
// Inline function 'org.kodein.di.anyType' call
|
|
688
|
-
var tmp_0 = ctx.
|
|
688
|
+
var tmp_0 = ctx.i2d();
|
|
689
689
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
690
|
-
return tmp.
|
|
690
|
+
return tmp.o2d(new Key(tmp$ret$0, Companion_getInstance().d2b_1, $type, $tag), ctx.e2())();
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
693
|
function InstanceOrNull$lambda($this_InstanceOrNull, $type, $tag) {
|
|
694
694
|
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
695
|
-
var tmp = $this_InstanceOrNull.
|
|
695
|
+
var tmp = $this_InstanceOrNull.c2d().d2d();
|
|
696
696
|
// Inline function 'org.kodein.di.anyType' call
|
|
697
|
-
var tmp_0 = ctx.
|
|
697
|
+
var tmp_0 = ctx.i2d();
|
|
698
698
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
699
|
-
var tmp0_safe_receiver = tmp.
|
|
699
|
+
var tmp0_safe_receiver = tmp.p2d(new Key(tmp$ret$0, Companion_getInstance().d2b_1, $type, $tag), ctx.e2());
|
|
700
700
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
701
701
|
};
|
|
702
702
|
}
|
|
@@ -727,62 +727,62 @@
|
|
|
727
727
|
argType = argType === VOID ? null : argType;
|
|
728
728
|
type = type === VOID ? null : type;
|
|
729
729
|
tag = tag === VOID ? NoDefinedTag_instance : tag;
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
730
|
+
this.g2e_1 = contextType;
|
|
731
|
+
this.h2e_1 = argType;
|
|
732
|
+
this.i2e_1 = type;
|
|
733
|
+
this.j2e_1 = tag;
|
|
734
734
|
}
|
|
735
735
|
protoOf(SearchSpecs).toString = function () {
|
|
736
736
|
var args = ArrayList_init_$Create$();
|
|
737
|
-
if (!(this.
|
|
737
|
+
if (!(this.g2e_1 == null)) {
|
|
738
738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
739
|
-
var tmp0_safe_receiver = this.
|
|
740
|
-
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
741
|
-
args.
|
|
739
|
+
var tmp0_safe_receiver = this.g2e_1;
|
|
740
|
+
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f2b());
|
|
741
|
+
args.e(element);
|
|
742
742
|
}
|
|
743
|
-
if (!(this.
|
|
743
|
+
if (!(this.h2e_1 == null)) {
|
|
744
744
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
745
|
-
var tmp1_safe_receiver = this.
|
|
746
|
-
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
747
|
-
args.
|
|
745
|
+
var tmp1_safe_receiver = this.h2e_1;
|
|
746
|
+
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f2b());
|
|
747
|
+
args.e(element_0);
|
|
748
748
|
}
|
|
749
|
-
if (!(this.
|
|
749
|
+
if (!(this.i2e_1 == null)) {
|
|
750
750
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
751
|
-
var tmp2_safe_receiver = this.
|
|
752
|
-
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
753
|
-
args.
|
|
751
|
+
var tmp2_safe_receiver = this.i2e_1;
|
|
752
|
+
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f2b());
|
|
753
|
+
args.e(element_1);
|
|
754
754
|
}
|
|
755
|
-
if (!equals(this.
|
|
755
|
+
if (!equals(this.j2e_1, NoDefinedTag_instance)) {
|
|
756
756
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
757
|
-
var element_2 = 'tag=' + toString(this.
|
|
758
|
-
args.
|
|
757
|
+
var element_2 = 'tag=' + toString(this.j2e_1);
|
|
758
|
+
args.e(element_2);
|
|
759
759
|
}
|
|
760
760
|
return '[' + joinToString(args, ', ') + ']';
|
|
761
761
|
};
|
|
762
762
|
function NoArgBindingDIWrap(_di) {
|
|
763
|
-
this.
|
|
763
|
+
this.k2e_1 = _di;
|
|
764
764
|
}
|
|
765
|
-
protoOf(NoArgBindingDIWrap).
|
|
766
|
-
return this.
|
|
765
|
+
protoOf(NoArgBindingDIWrap).c2d = function () {
|
|
766
|
+
return this.k2e_1.c2d();
|
|
767
767
|
};
|
|
768
|
-
protoOf(NoArgBindingDIWrap).
|
|
769
|
-
return this.
|
|
768
|
+
protoOf(NoArgBindingDIWrap).f2e = function () {
|
|
769
|
+
return this.k2e_1.f2e();
|
|
770
770
|
};
|
|
771
|
-
protoOf(NoArgBindingDIWrap).
|
|
772
|
-
return this.
|
|
771
|
+
protoOf(NoArgBindingDIWrap).c2e = function () {
|
|
772
|
+
return this.k2e_1.c2e();
|
|
773
773
|
};
|
|
774
|
-
protoOf(NoArgBindingDIWrap).
|
|
775
|
-
return this.
|
|
774
|
+
protoOf(NoArgBindingDIWrap).e2e = function (type, tag) {
|
|
775
|
+
return this.k2e_1.e2e(type, tag);
|
|
776
776
|
};
|
|
777
|
-
protoOf(NoArgBindingDIWrap).
|
|
778
|
-
return this.
|
|
777
|
+
protoOf(NoArgBindingDIWrap).d2e = function (context) {
|
|
778
|
+
return this.k2e_1.d2e(context);
|
|
779
779
|
};
|
|
780
780
|
function ErasedContext() {
|
|
781
781
|
}
|
|
782
|
-
protoOf(ErasedContext).
|
|
783
|
-
return Companion_getInstance().
|
|
782
|
+
protoOf(ErasedContext).i2d = function () {
|
|
783
|
+
return Companion_getInstance().e2b_1;
|
|
784
784
|
};
|
|
785
|
-
protoOf(ErasedContext).
|
|
785
|
+
protoOf(ErasedContext).e2 = function () {
|
|
786
786
|
return ErasedContext_instance;
|
|
787
787
|
};
|
|
788
788
|
var ErasedContext_instance;
|
|
@@ -790,11 +790,11 @@
|
|
|
790
790
|
return ErasedContext_instance;
|
|
791
791
|
}
|
|
792
792
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
793
|
-
this.
|
|
793
|
+
this.l2e_1 = $f;
|
|
794
794
|
}
|
|
795
795
|
function Companion_1() {
|
|
796
796
|
}
|
|
797
|
-
protoOf(Companion_1).
|
|
797
|
+
protoOf(Companion_1).m2e = function (f) {
|
|
798
798
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
799
799
|
};
|
|
800
800
|
var Companion_instance_1;
|
|
@@ -812,7 +812,7 @@
|
|
|
812
812
|
}
|
|
813
813
|
function SingletonReference() {
|
|
814
814
|
}
|
|
815
|
-
protoOf(SingletonReference).
|
|
815
|
+
protoOf(SingletonReference).t2e = function (creator) {
|
|
816
816
|
var value = creator();
|
|
817
817
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
818
818
|
};
|
|
@@ -821,21 +821,21 @@
|
|
|
821
821
|
return SingletonReference_instance;
|
|
822
822
|
}
|
|
823
823
|
function Reference(current, next) {
|
|
824
|
-
this.
|
|
825
|
-
this.
|
|
824
|
+
this.u2e_1 = current;
|
|
825
|
+
this.v2e_1 = next;
|
|
826
826
|
}
|
|
827
|
-
protoOf(Reference).
|
|
828
|
-
return this.
|
|
827
|
+
protoOf(Reference).ee = function () {
|
|
828
|
+
return this.u2e_1;
|
|
829
829
|
};
|
|
830
|
-
protoOf(Reference).
|
|
831
|
-
return this.
|
|
830
|
+
protoOf(Reference).fe = function () {
|
|
831
|
+
return this.v2e_1;
|
|
832
832
|
};
|
|
833
833
|
protoOf(Reference).toString = function () {
|
|
834
|
-
return 'Reference(current=' + this.
|
|
834
|
+
return 'Reference(current=' + toString_0(this.u2e_1) + ', next=' + toString_0(this.v2e_1) + ')';
|
|
835
835
|
};
|
|
836
836
|
protoOf(Reference).hashCode = function () {
|
|
837
|
-
var result = hashCode(this.
|
|
838
|
-
result = imul(result, 31) + hashCode(this.
|
|
837
|
+
var result = hashCode(this.u2e_1);
|
|
838
|
+
result = imul(result, 31) + hashCode(this.v2e_1) | 0;
|
|
839
839
|
return result;
|
|
840
840
|
};
|
|
841
841
|
protoOf(Reference).equals = function (other) {
|
|
@@ -844,9 +844,9 @@
|
|
|
844
844
|
if (!(other instanceof Reference))
|
|
845
845
|
return false;
|
|
846
846
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
847
|
-
if (!equals(this.
|
|
847
|
+
if (!equals(this.u2e_1, tmp0_other_with_cast.u2e_1))
|
|
848
848
|
return false;
|
|
849
|
-
if (!equals(this.
|
|
849
|
+
if (!equals(this.v2e_1, tmp0_other_with_cast.v2e_1))
|
|
850
850
|
return false;
|
|
851
851
|
return true;
|
|
852
852
|
};
|
|
@@ -855,26 +855,26 @@
|
|
|
855
855
|
function ScopeRegistry() {
|
|
856
856
|
}
|
|
857
857
|
function NoScope() {
|
|
858
|
-
this.
|
|
858
|
+
this.z2e_1 = new StandardScopeRegistry();
|
|
859
859
|
}
|
|
860
|
-
protoOf(NoScope).
|
|
861
|
-
return this.
|
|
860
|
+
protoOf(NoScope).a2f = function (context) {
|
|
861
|
+
return this.z2e_1;
|
|
862
862
|
};
|
|
863
|
-
protoOf(NoScope).
|
|
864
|
-
return this.
|
|
863
|
+
protoOf(NoScope).b2f = function (context) {
|
|
864
|
+
return this.a2f((context == null ? true : !(context == null)) ? context : THROW_CCE());
|
|
865
865
|
};
|
|
866
866
|
function StandardScopeRegistry() {
|
|
867
867
|
ScopeRegistry.call(this);
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
868
|
+
this.c2f_1 = newConcurrentMap();
|
|
869
|
+
this.d2f_1 = new Object();
|
|
870
870
|
}
|
|
871
|
-
protoOf(StandardScopeRegistry).
|
|
871
|
+
protoOf(StandardScopeRegistry).y2e = function (key, sync, creator) {
|
|
872
872
|
var tmp$ret$2;
|
|
873
873
|
$l$block_1: {
|
|
874
874
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
875
|
-
sync && this.
|
|
875
|
+
sync && this.d2f_1;
|
|
876
876
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
877
|
-
var tmp0_safe_receiver = this.
|
|
877
|
+
var tmp0_safe_receiver = this.c2f_1.h2(key);
|
|
878
878
|
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
879
879
|
if (tmp0_safe_receiver_0 == null)
|
|
880
880
|
null;
|
|
@@ -890,7 +890,7 @@
|
|
|
890
890
|
$l$block_0: {
|
|
891
891
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
|
|
892
892
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
893
|
-
var tmp0_safe_receiver_1 = this.
|
|
893
|
+
var tmp0_safe_receiver_1 = this.c2f_1.h2(key);
|
|
894
894
|
var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
895
895
|
if (tmp0_safe_receiver_2 == null)
|
|
896
896
|
null;
|
|
@@ -902,10 +902,10 @@
|
|
|
902
902
|
}
|
|
903
903
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
904
904
|
var tmp0_container = creator();
|
|
905
|
-
var current = tmp0_container.
|
|
906
|
-
var next = tmp0_container.
|
|
905
|
+
var current = tmp0_container.ee();
|
|
906
|
+
var next = tmp0_container.fe();
|
|
907
907
|
// Inline function 'kotlin.collections.set' call
|
|
908
|
-
this.
|
|
908
|
+
this.c2f_1.k2(key, next);
|
|
909
909
|
tmp$ret$2 = current;
|
|
910
910
|
break $l$block_1;
|
|
911
911
|
}
|
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
return tmp$ret$2;
|
|
917
917
|
};
|
|
918
918
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
919
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
919
|
+
var tmp0_safe_receiver = _this__u8e3s4.x2e(di, ctx);
|
|
920
920
|
var tmp;
|
|
921
921
|
if (tmp0_safe_receiver == null) {
|
|
922
922
|
tmp = null;
|
|
@@ -924,22 +924,22 @@
|
|
|
924
924
|
// Inline function 'kotlin.let' call
|
|
925
925
|
// Inline function 'kotlin.contracts.contract' call
|
|
926
926
|
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
927
|
-
tmp = Companion_instance_0.
|
|
927
|
+
tmp = Companion_instance_0.j2d(_this__u8e3s4.w2e(), tmp0_safe_receiver);
|
|
928
928
|
}
|
|
929
929
|
return tmp;
|
|
930
930
|
}
|
|
931
931
|
function CompositeContextTranslator(src, dst) {
|
|
932
|
-
this.
|
|
933
|
-
this.
|
|
932
|
+
this.e2f_1 = src;
|
|
933
|
+
this.f2f_1 = dst;
|
|
934
934
|
}
|
|
935
|
-
protoOf(CompositeContextTranslator).
|
|
936
|
-
return this.
|
|
935
|
+
protoOf(CompositeContextTranslator).v2c = function () {
|
|
936
|
+
return this.e2f_1.v2c();
|
|
937
937
|
};
|
|
938
|
-
protoOf(CompositeContextTranslator).
|
|
939
|
-
return this.
|
|
938
|
+
protoOf(CompositeContextTranslator).w2e = function () {
|
|
939
|
+
return this.f2f_1.w2e();
|
|
940
940
|
};
|
|
941
|
-
protoOf(CompositeContextTranslator).
|
|
942
|
-
var tmp0_safe_receiver = this.
|
|
941
|
+
protoOf(CompositeContextTranslator).x2e = function (di, ctx) {
|
|
942
|
+
var tmp0_safe_receiver = this.e2f_1.x2e(di, ctx);
|
|
943
943
|
var tmp;
|
|
944
944
|
if (tmp0_safe_receiver == null) {
|
|
945
945
|
tmp = null;
|
|
@@ -947,37 +947,37 @@
|
|
|
947
947
|
// Inline function 'kotlin.let' call
|
|
948
948
|
// Inline function 'kotlin.contracts.contract' call
|
|
949
949
|
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
950
|
-
tmp = this.
|
|
950
|
+
tmp = this.f2f_1.x2e(di, tmp0_safe_receiver);
|
|
951
951
|
}
|
|
952
952
|
return tmp;
|
|
953
953
|
};
|
|
954
954
|
protoOf(CompositeContextTranslator).toString = function () {
|
|
955
|
-
return '(' + this.
|
|
955
|
+
return '(' + toString_0(this.e2f_1) + ' -> ' + toString_0(this.f2f_1) + ')';
|
|
956
956
|
};
|
|
957
957
|
function Provider$getFactory$lambda(this$0, $di) {
|
|
958
958
|
return function (_anonymous_parameter_0__qggqh8) {
|
|
959
|
-
return this$0.
|
|
959
|
+
return this$0.i2f_1(new NoArgBindingDIWrap($di));
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
962
|
function Provider(contextType, createdType, creator) {
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
965
|
-
this.
|
|
963
|
+
this.g2f_1 = contextType;
|
|
964
|
+
this.h2f_1 = createdType;
|
|
965
|
+
this.i2f_1 = creator;
|
|
966
966
|
}
|
|
967
|
-
protoOf(Provider).
|
|
968
|
-
return this.
|
|
967
|
+
protoOf(Provider).v2c = function () {
|
|
968
|
+
return this.g2f_1;
|
|
969
969
|
};
|
|
970
|
-
protoOf(Provider).
|
|
971
|
-
return this.
|
|
970
|
+
protoOf(Provider).q2e = function () {
|
|
971
|
+
return this.h2f_1;
|
|
972
972
|
};
|
|
973
|
-
protoOf(Provider).
|
|
973
|
+
protoOf(Provider).n2e = function () {
|
|
974
974
|
return 'provider';
|
|
975
975
|
};
|
|
976
|
-
protoOf(Provider).
|
|
976
|
+
protoOf(Provider).j2f = function (key, di) {
|
|
977
977
|
return Provider$getFactory$lambda(this, di);
|
|
978
978
|
};
|
|
979
|
-
protoOf(Provider).
|
|
980
|
-
return this.
|
|
979
|
+
protoOf(Provider).s2e = function (key, di) {
|
|
980
|
+
return this.j2f(key, di);
|
|
981
981
|
};
|
|
982
982
|
function factoryName($this, params) {
|
|
983
983
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -986,21 +986,21 @@
|
|
|
986
986
|
var this_0 = StringBuilder_init_$Create$();
|
|
987
987
|
// Inline function 'kotlin.contracts.contract' call
|
|
988
988
|
// Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
|
|
989
|
-
this_0.
|
|
989
|
+
this_0.h8('singleton');
|
|
990
990
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
991
|
-
if (!params.
|
|
992
|
-
this_0.
|
|
991
|
+
if (!params.p()) {
|
|
992
|
+
this_0.h8(joinToString(params, ', ', '(', ')'));
|
|
993
993
|
}
|
|
994
994
|
return this_0.toString();
|
|
995
995
|
}
|
|
996
996
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
997
997
|
return function () {
|
|
998
|
-
return this$0.
|
|
998
|
+
return this$0.p2f_1(new NoArgBindingDIWrap($bindingDi));
|
|
999
999
|
};
|
|
1000
1000
|
}
|
|
1001
1001
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
1002
1002
|
return function () {
|
|
1003
|
-
return this$0.
|
|
1003
|
+
return this$0.q2f_1.t2e(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
1004
1004
|
};
|
|
1005
1005
|
}
|
|
1006
1006
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
var tmp;
|
|
1010
1010
|
if (tmp0_elvis_lhs == null) {
|
|
1011
1011
|
// Inline function 'kotlin.also' call
|
|
1012
|
-
var this_0 = this$0.
|
|
1012
|
+
var this_0 = this$0.k2f_1.b2f($bindingDi.b9());
|
|
1013
1013
|
// Inline function 'kotlin.contracts.contract' call
|
|
1014
1014
|
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
1015
1015
|
$lateInitRegistry._v = this_0;
|
|
@@ -1018,72 +1018,72 @@
|
|
|
1018
1018
|
tmp = tmp0_elvis_lhs;
|
|
1019
1019
|
}
|
|
1020
1020
|
var registry = tmp;
|
|
1021
|
-
var tmp_0 = registry.
|
|
1021
|
+
var tmp_0 = registry.y2e(this$0.r2f_1, this$0.o2f_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
1022
1022
|
return !(tmp_0 == null) ? tmp_0 : THROW_CCE();
|
|
1023
1023
|
};
|
|
1024
1024
|
}
|
|
1025
1025
|
function Singleton$copier$lambda(this$0) {
|
|
1026
1026
|
return function (it) {
|
|
1027
|
-
return new Singleton(this$0.
|
|
1027
|
+
return new Singleton(this$0.k2f_1, this$0.l2f_1, this$0.m2f_1, this$0.n2f_1, this$0.q2f_1, this$0.o2f_1, this$0.p2f_1);
|
|
1028
1028
|
};
|
|
1029
1029
|
}
|
|
1030
1030
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
1031
1031
|
refMaker = refMaker === VOID ? null : refMaker;
|
|
1032
1032
|
sync = sync === VOID ? true : sync;
|
|
1033
|
-
this.
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1033
|
+
this.k2f_1 = scope;
|
|
1034
|
+
this.l2f_1 = contextType;
|
|
1035
|
+
this.m2f_1 = explicitContext;
|
|
1036
|
+
this.n2f_1 = createdType;
|
|
1037
|
+
this.o2f_1 = sync;
|
|
1038
|
+
this.p2f_1 = creator;
|
|
1039
1039
|
var tmp = this;
|
|
1040
|
-
tmp.
|
|
1041
|
-
this.
|
|
1040
|
+
tmp.q2f_1 = refMaker == null ? SingletonReference_instance : refMaker;
|
|
1041
|
+
this.r2f_1 = new ScopeKey(new Object(), Unit_instance);
|
|
1042
1042
|
var tmp_0 = this;
|
|
1043
1043
|
var tmp_1 = Companion_instance_1;
|
|
1044
|
-
tmp_0.
|
|
1044
|
+
tmp_0.s2f_1 = tmp_1.m2e(Singleton$copier$lambda(this));
|
|
1045
1045
|
}
|
|
1046
|
-
protoOf(Singleton).
|
|
1047
|
-
return this.
|
|
1046
|
+
protoOf(Singleton).x2c = function () {
|
|
1047
|
+
return this.k2f_1;
|
|
1048
1048
|
};
|
|
1049
|
-
protoOf(Singleton).
|
|
1050
|
-
return this.
|
|
1049
|
+
protoOf(Singleton).v2c = function () {
|
|
1050
|
+
return this.l2f_1;
|
|
1051
1051
|
};
|
|
1052
|
-
protoOf(Singleton).
|
|
1053
|
-
return this.
|
|
1052
|
+
protoOf(Singleton).q2e = function () {
|
|
1053
|
+
return this.n2f_1;
|
|
1054
1054
|
};
|
|
1055
|
-
protoOf(Singleton).
|
|
1055
|
+
protoOf(Singleton).n2e = function () {
|
|
1056
1056
|
var params = ArrayList_init_$Create$_0(2);
|
|
1057
|
-
if (!equals(this.
|
|
1058
|
-
params.
|
|
1057
|
+
if (!equals(this.q2f_1, SingletonReference_instance)) {
|
|
1058
|
+
params.e('ref = ' + erasedOf(this.q2f_1).f2b());
|
|
1059
1059
|
}
|
|
1060
1060
|
return factoryName(this, params);
|
|
1061
1061
|
};
|
|
1062
|
-
protoOf(Singleton).
|
|
1062
|
+
protoOf(Singleton).o2e = function () {
|
|
1063
1063
|
var params = ArrayList_init_$Create$_0(2);
|
|
1064
|
-
if (!equals(this.
|
|
1065
|
-
params.
|
|
1064
|
+
if (!equals(this.q2f_1, SingletonReference_instance)) {
|
|
1065
|
+
params.e('ref = ' + erasedOf(this.q2f_1).h2b());
|
|
1066
1066
|
}
|
|
1067
1067
|
return factoryName(this, params);
|
|
1068
1068
|
};
|
|
1069
|
-
protoOf(Singleton).
|
|
1069
|
+
protoOf(Singleton).j2f = function (key, di) {
|
|
1070
1070
|
var lateInitRegistry = {_v: null};
|
|
1071
|
-
var bindingDi = this.
|
|
1071
|
+
var bindingDi = this.m2f_1 ? di : di.t2f();
|
|
1072
1072
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1073
1073
|
};
|
|
1074
|
-
protoOf(Singleton).
|
|
1075
|
-
return this.
|
|
1074
|
+
protoOf(Singleton).s2e = function (key, di) {
|
|
1075
|
+
return this.j2f(key, di);
|
|
1076
1076
|
};
|
|
1077
1077
|
function ScopeKey(scopeId, arg) {
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1078
|
+
this.u2f_1 = scopeId;
|
|
1079
|
+
this.v2f_1 = arg;
|
|
1080
1080
|
}
|
|
1081
1081
|
protoOf(ScopeKey).toString = function () {
|
|
1082
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1082
|
+
return 'ScopeKey(scopeId=' + toString_0(this.u2f_1) + ', arg=' + toString(this.v2f_1) + ')';
|
|
1083
1083
|
};
|
|
1084
1084
|
protoOf(ScopeKey).hashCode = function () {
|
|
1085
|
-
var result = hashCode(this.
|
|
1086
|
-
result = imul(result, 31) + (this.
|
|
1085
|
+
var result = hashCode(this.u2f_1);
|
|
1086
|
+
result = imul(result, 31) + (this.v2f_1 == null ? 0 : hashCode(this.v2f_1)) | 0;
|
|
1087
1087
|
return result;
|
|
1088
1088
|
};
|
|
1089
1089
|
protoOf(ScopeKey).equals = function (other) {
|
|
@@ -1092,67 +1092,67 @@
|
|
|
1092
1092
|
if (!(other instanceof ScopeKey))
|
|
1093
1093
|
return false;
|
|
1094
1094
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1095
|
-
if (!equals(this.
|
|
1095
|
+
if (!equals(this.u2f_1, tmp0_other_with_cast.u2f_1))
|
|
1096
1096
|
return false;
|
|
1097
|
-
if (!equals(this.
|
|
1097
|
+
if (!equals(this.v2f_1, tmp0_other_with_cast.v2f_1))
|
|
1098
1098
|
return false;
|
|
1099
1099
|
return true;
|
|
1100
1100
|
};
|
|
1101
1101
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1102
1102
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1103
|
-
this.
|
|
1104
|
-
this.
|
|
1105
|
-
this.
|
|
1103
|
+
this.b2g_1 = ArrayList_init_$Create$();
|
|
1104
|
+
this.c2g_1 = Companion_instance.y2c_1;
|
|
1105
|
+
this.d2g_1 = Companion_instance.z2c_1;
|
|
1106
1106
|
}
|
|
1107
|
-
protoOf(DIMainBuilderImpl).
|
|
1108
|
-
return this.
|
|
1107
|
+
protoOf(DIMainBuilderImpl).x2d = function () {
|
|
1108
|
+
return this.b2g_1;
|
|
1109
1109
|
};
|
|
1110
|
-
protoOf(DIMainBuilderImpl).
|
|
1111
|
-
return this.
|
|
1110
|
+
protoOf(DIMainBuilderImpl).e2g = function () {
|
|
1111
|
+
return this.c2g_1;
|
|
1112
1112
|
};
|
|
1113
|
-
protoOf(DIMainBuilderImpl).
|
|
1114
|
-
return this.
|
|
1113
|
+
protoOf(DIMainBuilderImpl).f2g = function () {
|
|
1114
|
+
return this.d2g_1;
|
|
1115
1115
|
};
|
|
1116
1116
|
function TypeBinder($outer, type, tag, overrides) {
|
|
1117
|
-
this.
|
|
1118
|
-
this.
|
|
1119
|
-
this.
|
|
1120
|
-
this.
|
|
1117
|
+
this.o2g_1 = $outer;
|
|
1118
|
+
this.l2g_1 = type;
|
|
1119
|
+
this.m2g_1 = tag;
|
|
1120
|
+
this.n2g_1 = overrides;
|
|
1121
1121
|
}
|
|
1122
|
-
protoOf(TypeBinder).
|
|
1123
|
-
return this.
|
|
1122
|
+
protoOf(TypeBinder).p2g = function () {
|
|
1123
|
+
return this.o2g_1.r2c();
|
|
1124
1124
|
};
|
|
1125
|
-
protoOf(TypeBinder).
|
|
1126
|
-
return this.
|
|
1125
|
+
protoOf(TypeBinder).q2g = function (binding) {
|
|
1126
|
+
return this.p2g().v2g(new Key(binding.v2c(), binding.p2e(), this.l2g_1, this.m2g_1), binding, this.o2g_1.g2g_1, this.n2g_1);
|
|
1127
1127
|
};
|
|
1128
1128
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1129
|
-
this.
|
|
1130
|
-
this.
|
|
1131
|
-
this.
|
|
1132
|
-
this.
|
|
1133
|
-
this.
|
|
1129
|
+
this.g2g_1 = moduleName;
|
|
1130
|
+
this.h2g_1 = prefix;
|
|
1131
|
+
this.i2g_1 = importedModules;
|
|
1132
|
+
this.j2g_1 = containerBuilder;
|
|
1133
|
+
this.k2g_1 = Companion_getInstance().e2b_1;
|
|
1134
1134
|
}
|
|
1135
|
-
protoOf(DIBuilderImpl).
|
|
1136
|
-
return this.
|
|
1135
|
+
protoOf(DIBuilderImpl).r2c = function () {
|
|
1136
|
+
return this.j2g_1;
|
|
1137
1137
|
};
|
|
1138
|
-
protoOf(DIBuilderImpl).
|
|
1139
|
-
return this.
|
|
1138
|
+
protoOf(DIBuilderImpl).v2c = function () {
|
|
1139
|
+
return this.k2g_1;
|
|
1140
1140
|
};
|
|
1141
|
-
protoOf(DIBuilderImpl).
|
|
1141
|
+
protoOf(DIBuilderImpl).x2c = function () {
|
|
1142
1142
|
return new NoScope();
|
|
1143
1143
|
};
|
|
1144
|
-
protoOf(DIBuilderImpl).
|
|
1144
|
+
protoOf(DIBuilderImpl).w2c = function () {
|
|
1145
1145
|
return false;
|
|
1146
1146
|
};
|
|
1147
|
-
protoOf(DIBuilderImpl).
|
|
1147
|
+
protoOf(DIBuilderImpl).s2c = function (type, tag, overrides) {
|
|
1148
1148
|
return new TypeBinder(this, type, tag, overrides);
|
|
1149
1149
|
};
|
|
1150
|
-
protoOf(DIBuilderImpl).
|
|
1151
|
-
var moduleName = this.
|
|
1150
|
+
protoOf(DIBuilderImpl).t2c = function (module_0, allowOverride) {
|
|
1151
|
+
var moduleName = this.h2g_1 + module_0.o2();
|
|
1152
1152
|
var tmp;
|
|
1153
1153
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1154
1154
|
if (charSequenceLength(moduleName) > 0) {
|
|
1155
|
-
tmp = this.
|
|
1155
|
+
tmp = this.i2g_1.q1(moduleName);
|
|
1156
1156
|
} else {
|
|
1157
1157
|
tmp = false;
|
|
1158
1158
|
}
|
|
@@ -1160,20 +1160,20 @@
|
|
|
1160
1160
|
throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
|
|
1161
1161
|
}
|
|
1162
1162
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1163
|
-
this.
|
|
1163
|
+
this.i2g_1.e(moduleName);
|
|
1164
1164
|
// Inline function 'kotlin.apply' call
|
|
1165
|
-
var this_0 = new DIBuilderImpl(moduleName, this.
|
|
1165
|
+
var this_0 = new DIBuilderImpl(moduleName, this.h2g_1 + module_0.k2c_1, this.i2g_1, this.r2c().w2g(allowOverride, module_0.j2c_1));
|
|
1166
1166
|
// Inline function 'kotlin.contracts.contract' call
|
|
1167
|
-
module_0.
|
|
1167
|
+
module_0.l2c_1(this_0);
|
|
1168
1168
|
};
|
|
1169
1169
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1170
1170
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1171
1171
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1172
1172
|
}
|
|
1173
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1173
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).z2g = function () {
|
|
1174
1174
|
return true;
|
|
1175
1175
|
};
|
|
1176
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1176
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).a2h = function (overrides) {
|
|
1177
1177
|
return overrides;
|
|
1178
1178
|
};
|
|
1179
1179
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
@@ -1181,10 +1181,10 @@
|
|
|
1181
1181
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1182
1182
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1183
1183
|
}
|
|
1184
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1184
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).z2g = function () {
|
|
1185
1185
|
return true;
|
|
1186
1186
|
};
|
|
1187
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1187
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).a2h = function (overrides) {
|
|
1188
1188
|
return overrides == null ? false : overrides;
|
|
1189
1189
|
};
|
|
1190
1190
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
@@ -1192,12 +1192,12 @@
|
|
|
1192
1192
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1193
1193
|
OverrideMode_FORBID_instance = this;
|
|
1194
1194
|
}
|
|
1195
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1195
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).z2g = function () {
|
|
1196
1196
|
return false;
|
|
1197
1197
|
};
|
|
1198
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1198
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).a2h = function (overrides) {
|
|
1199
1199
|
var tmp;
|
|
1200
|
-
if (!(overrides == null)
|
|
1200
|
+
if (!(overrides == null) && overrides) {
|
|
1201
1201
|
throw new OverridingException('Overriding has been forbidden');
|
|
1202
1202
|
} else {
|
|
1203
1203
|
tmp = false;
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
var OverrideMode_FORBID_instance;
|
|
1208
1208
|
function Companion_2() {
|
|
1209
1209
|
}
|
|
1210
|
-
protoOf(Companion_2).
|
|
1210
|
+
protoOf(Companion_2).f2h = function (allow, silent) {
|
|
1211
1211
|
if (!allow)
|
|
1212
1212
|
return OverrideMode_FORBID_getInstance();
|
|
1213
1213
|
if (silent)
|
|
@@ -1231,34 +1231,34 @@
|
|
|
1231
1231
|
Enum.call(this, name, ordinal);
|
|
1232
1232
|
}
|
|
1233
1233
|
function checkOverrides($this, key, overrides) {
|
|
1234
|
-
var mustOverride = $this.
|
|
1234
|
+
var mustOverride = $this.u2g_1.a2h(overrides);
|
|
1235
1235
|
if (!(mustOverride == null)) {
|
|
1236
1236
|
var tmp;
|
|
1237
1237
|
if (mustOverride) {
|
|
1238
1238
|
// Inline function 'kotlin.collections.contains' call
|
|
1239
1239
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1240
|
-
var this_0 = $this.
|
|
1241
|
-
tmp = !(isInterface(this_0,
|
|
1240
|
+
var this_0 = $this.r2g_1;
|
|
1241
|
+
tmp = !(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(key);
|
|
1242
1242
|
} else {
|
|
1243
1243
|
tmp = false;
|
|
1244
1244
|
}
|
|
1245
1245
|
if (tmp)
|
|
1246
|
-
throw new OverridingException('Binding ' + key + ' must override an existing binding.');
|
|
1246
|
+
throw new OverridingException('Binding ' + key.toString() + ' must override an existing binding.');
|
|
1247
1247
|
var tmp_0;
|
|
1248
1248
|
if (!mustOverride) {
|
|
1249
1249
|
// Inline function 'kotlin.collections.contains' call
|
|
1250
1250
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1251
|
-
var this_1 = $this.
|
|
1252
|
-
tmp_0 = (isInterface(this_1,
|
|
1251
|
+
var this_1 = $this.r2g_1;
|
|
1252
|
+
tmp_0 = (isInterface(this_1, KtMap) ? this_1 : THROW_CCE()).f2(key);
|
|
1253
1253
|
} else {
|
|
1254
1254
|
tmp_0 = false;
|
|
1255
1255
|
}
|
|
1256
1256
|
if (tmp_0)
|
|
1257
|
-
throw new OverridingException('Binding ' + key + ' must not override an existing binding.');
|
|
1257
|
+
throw new OverridingException('Binding ' + key.toString() + ' must not override an existing binding.');
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
function checkMatch($this, allowOverride) {
|
|
1261
|
-
if (!$this.
|
|
1261
|
+
if (!$this.u2g_1.z2g() && allowOverride)
|
|
1262
1262
|
throw new OverridingException('Overriding has been forbidden');
|
|
1263
1263
|
}
|
|
1264
1264
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1274,16 +1274,16 @@
|
|
|
1274
1274
|
return OverrideMode_FORBID_instance;
|
|
1275
1275
|
}
|
|
1276
1276
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1279
|
-
this.
|
|
1280
|
-
this.
|
|
1277
|
+
this.r2g_1 = bindingsMap;
|
|
1278
|
+
this.s2g_1 = callbacks;
|
|
1279
|
+
this.t2g_1 = translators;
|
|
1280
|
+
this.u2g_1 = Companion_instance_2.f2h(allowOverride, silentOverride);
|
|
1281
1281
|
}
|
|
1282
|
-
protoOf(DIContainerBuilderImpl).
|
|
1282
|
+
protoOf(DIContainerBuilderImpl).v2g = function (key, binding, fromModule, overrides) {
|
|
1283
1283
|
checkOverrides(this, key, overrides);
|
|
1284
1284
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1285
|
-
var this_0 = this.
|
|
1286
|
-
var value = this_0.
|
|
1285
|
+
var this_0 = this.r2g_1;
|
|
1286
|
+
var value = this_0.h2(key);
|
|
1287
1287
|
var tmp;
|
|
1288
1288
|
if (value == null) {
|
|
1289
1289
|
// Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
|
|
@@ -1294,14 +1294,14 @@
|
|
|
1294
1294
|
tmp = value;
|
|
1295
1295
|
}
|
|
1296
1296
|
var bindings = tmp;
|
|
1297
|
-
bindings.
|
|
1297
|
+
bindings.b2(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1298
1298
|
};
|
|
1299
|
-
protoOf(DIContainerBuilderImpl).
|
|
1299
|
+
protoOf(DIContainerBuilderImpl).w2g = function (allowOverride, silentOverride) {
|
|
1300
1300
|
checkMatch(this, allowOverride);
|
|
1301
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1301
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.r2g_1, this.s2g_1, this.t2g_1);
|
|
1302
1302
|
};
|
|
1303
1303
|
function displayString($this, key, overrideLevel) {
|
|
1304
|
-
var descProp = $this.
|
|
1304
|
+
var descProp = $this.l2h_1 ? bindFullDescription$factory_0(key) : bindDescription$factory_0(key);
|
|
1305
1305
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1306
1306
|
}
|
|
1307
1307
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1313,13 +1313,13 @@
|
|
|
1313
1313
|
$l$1: do {
|
|
1314
1314
|
$l$0: do {
|
|
1315
1315
|
var tmp;
|
|
1316
|
-
if (node_0.
|
|
1317
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1316
|
+
if (node_0.k2h_1 == null || (firstKey_0.equals(node_0.i2h_1) && firstOverrideLevel_0 === node_0.j2h_1)) {
|
|
1317
|
+
tmp = plus(listOf(displayString($this_0, node_0.i2h_1, node_0.j2h_1)), tail_0);
|
|
1318
1318
|
} else {
|
|
1319
1319
|
var tmp0 = $this_0;
|
|
1320
|
-
var tmp4 = plus(listOf(displayString($this_0, node_0.
|
|
1320
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.i2h_1, node_0.j2h_1)), tail_0);
|
|
1321
1321
|
$this_0 = tmp0;
|
|
1322
|
-
node_0 = node_0.
|
|
1322
|
+
node_0 = node_0.k2h_1;
|
|
1323
1323
|
firstKey_0 = firstKey_0;
|
|
1324
1324
|
firstOverrideLevel_0 = firstOverrideLevel_0;
|
|
1325
1325
|
tail_0 = tmp4;
|
|
@@ -1339,13 +1339,13 @@
|
|
|
1339
1339
|
$l$1: do {
|
|
1340
1340
|
$l$0: do {
|
|
1341
1341
|
var tmp;
|
|
1342
|
-
if (node_0.
|
|
1342
|
+
if (node_0.i2h_1.equals(searchedKey_0) && node_0.j2h_1 === searchedOverrideLevel_0) {
|
|
1343
1343
|
tmp = false;
|
|
1344
|
-
} else if (node_0.
|
|
1344
|
+
} else if (node_0.k2h_1 == null) {
|
|
1345
1345
|
tmp = true;
|
|
1346
1346
|
} else {
|
|
1347
1347
|
$this_0 = $this_0;
|
|
1348
|
-
node_0 = node_0.
|
|
1348
|
+
node_0 = node_0.k2h_1;
|
|
1349
1349
|
searchedKey_0 = searchedKey_0;
|
|
1350
1350
|
searchedOverrideLevel_0 = searchedOverrideLevel_0;
|
|
1351
1351
|
continue $l$0;
|
|
@@ -1357,14 +1357,14 @@
|
|
|
1357
1357
|
while (true);
|
|
1358
1358
|
}
|
|
1359
1359
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1360
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1360
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.r2g_1, externalSources, builder.t2g_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1361
1361
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1362
1362
|
if (runCallbacks)
|
|
1363
1363
|
init();
|
|
1364
1364
|
else {
|
|
1365
1365
|
var lock = new Object();
|
|
1366
1366
|
var tmp = $this;
|
|
1367
|
-
tmp.
|
|
1367
|
+
tmp.q2h_1 = DIContainerImpl$_init_$lambda_r6ib3j_0(lock, $this, init);
|
|
1368
1368
|
}
|
|
1369
1369
|
return $this;
|
|
1370
1370
|
}
|
|
@@ -1372,57 +1372,57 @@
|
|
|
1372
1372
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
|
|
1373
1373
|
}
|
|
1374
1374
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1375
|
+
this.i2h_1 = key;
|
|
1376
|
+
this.j2h_1 = overrideLevel;
|
|
1377
|
+
this.k2h_1 = parent;
|
|
1378
|
+
this.l2h_1 = fullDescriptionOnError;
|
|
1379
1379
|
}
|
|
1380
|
-
protoOf(Node).
|
|
1380
|
+
protoOf(Node).r2h = function (searchedKey, searchedOverrideLevel) {
|
|
1381
1381
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1382
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1382
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.j2h_1));
|
|
1383
1383
|
var sb = StringBuilder_init_$Create$();
|
|
1384
1384
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1385
1385
|
var index = 0;
|
|
1386
|
-
var tmp0_iterator = list.
|
|
1387
|
-
while (tmp0_iterator.
|
|
1388
|
-
var item = tmp0_iterator.
|
|
1386
|
+
var tmp0_iterator = list.j();
|
|
1387
|
+
while (tmp0_iterator.k()) {
|
|
1388
|
+
var item = tmp0_iterator.l();
|
|
1389
1389
|
// Inline function 'org.kodein.di.internal.Node.check.<anonymous>' call
|
|
1390
1390
|
var tmp1 = index;
|
|
1391
1391
|
index = tmp1 + 1 | 0;
|
|
1392
1392
|
var index_0 = checkIndexOverflow(tmp1);
|
|
1393
|
-
sb.
|
|
1393
|
+
sb.h8(' ');
|
|
1394
1394
|
switch (index_0) {
|
|
1395
1395
|
case 0:
|
|
1396
|
-
sb.
|
|
1396
|
+
sb.h8(' ');
|
|
1397
1397
|
break;
|
|
1398
1398
|
case 1:
|
|
1399
|
-
sb.
|
|
1399
|
+
sb.h8(' \u2554\u2569>');
|
|
1400
1400
|
break;
|
|
1401
1401
|
default:
|
|
1402
|
-
sb.
|
|
1403
|
-
sb.
|
|
1404
|
-
sb.
|
|
1402
|
+
sb.h8(' \u2551');
|
|
1403
|
+
sb.h8(repeat(' ', index_0 - 1 | 0));
|
|
1404
|
+
sb.h8('\u255A>');
|
|
1405
1405
|
break;
|
|
1406
1406
|
}
|
|
1407
|
-
sb.
|
|
1408
|
-
sb.
|
|
1407
|
+
sb.h8(item);
|
|
1408
|
+
sb.h8('\n');
|
|
1409
1409
|
}
|
|
1410
|
-
sb.
|
|
1411
|
-
sb.
|
|
1412
|
-
sb.
|
|
1413
|
-
throw new DependencyLoopException('Dependency recursion:\n' + sb);
|
|
1410
|
+
sb.h8(' \u255A');
|
|
1411
|
+
sb.h8(repeat('\u2550\u2550', list.m() - 1 | 0));
|
|
1412
|
+
sb.h8('\u255D');
|
|
1413
|
+
throw new DependencyLoopException('Dependency recursion:\n' + sb.toString());
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
1416
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1417
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1417
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.n2h_1, $this.o2h_1), $this.o2h_1, $this.p2h_1);
|
|
1418
1418
|
return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel);
|
|
1419
1419
|
}
|
|
1420
1420
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1421
1421
|
return function () {
|
|
1422
1422
|
var direct = new DirectDIImpl(this$0, get_AnyDIContext());
|
|
1423
|
-
var tmp0_iterator = $builder.
|
|
1424
|
-
while (tmp0_iterator.
|
|
1425
|
-
var element = tmp0_iterator.
|
|
1423
|
+
var tmp0_iterator = $builder.s2g_1.j();
|
|
1424
|
+
while (tmp0_iterator.k()) {
|
|
1425
|
+
var element = tmp0_iterator.l();
|
|
1426
1426
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1427
1427
|
element(direct);
|
|
1428
1428
|
}
|
|
@@ -1433,14 +1433,14 @@
|
|
|
1433
1433
|
return function () {
|
|
1434
1434
|
$l$block_1: {
|
|
1435
1435
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
|
|
1436
|
-
if (this$0.
|
|
1436
|
+
if (this$0.q2h_1 == null) {
|
|
1437
1437
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1438
1438
|
break $l$block_1;
|
|
1439
1439
|
}
|
|
1440
1440
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
1441
1441
|
$l$block_0: {
|
|
1442
1442
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull.<anonymous>' call
|
|
1443
|
-
var tmp0_elvis_lhs = this$0.
|
|
1443
|
+
var tmp0_elvis_lhs = this$0.q2h_1;
|
|
1444
1444
|
var tmp;
|
|
1445
1445
|
if (tmp0_elvis_lhs == null) {
|
|
1446
1446
|
break $l$block_0;
|
|
@@ -1448,7 +1448,7 @@
|
|
|
1448
1448
|
tmp = tmp0_elvis_lhs;
|
|
1449
1449
|
}
|
|
1450
1450
|
var value = tmp;
|
|
1451
|
-
this$0.
|
|
1451
|
+
this$0.q2h_1 = null;
|
|
1452
1452
|
$init();
|
|
1453
1453
|
break $l$block_1;
|
|
1454
1454
|
}
|
|
@@ -1464,139 +1464,138 @@
|
|
|
1464
1464
|
return description($this$null, it);
|
|
1465
1465
|
}
|
|
1466
1466
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1467
|
-
this.
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1471
|
-
this.
|
|
1467
|
+
this.m2h_1 = tree;
|
|
1468
|
+
this.n2h_1 = node;
|
|
1469
|
+
this.o2h_1 = fullDescriptionOnError;
|
|
1470
|
+
this.p2h_1 = fullContainerTreeOnError;
|
|
1471
|
+
this.q2h_1 = null;
|
|
1472
1472
|
}
|
|
1473
|
-
protoOf(DIContainerImpl).
|
|
1473
|
+
protoOf(DIContainerImpl).s2d = function (key, context, overrideLevel) {
|
|
1474
1474
|
// Inline function 'kotlin.let' call
|
|
1475
1475
|
// Inline function 'kotlin.contracts.contract' call
|
|
1476
|
-
var it = this.
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
var
|
|
1480
|
-
var
|
|
1481
|
-
var
|
|
1482
|
-
var tmp1_safe_receiver = this.d2g_1;
|
|
1476
|
+
var it = this.m2h_1.z2d(key, 0);
|
|
1477
|
+
if (it.m() === 1) {
|
|
1478
|
+
var tmp0_container = it.o(0);
|
|
1479
|
+
var definition = tmp0_container.fe();
|
|
1480
|
+
var translator = tmp0_container.xi();
|
|
1481
|
+
var tmp1_safe_receiver = this.n2h_1;
|
|
1483
1482
|
if (tmp1_safe_receiver == null)
|
|
1484
1483
|
null;
|
|
1485
1484
|
else {
|
|
1486
|
-
tmp1_safe_receiver.
|
|
1485
|
+
tmp1_safe_receiver.r2h(key, 0);
|
|
1487
1486
|
}
|
|
1488
|
-
var
|
|
1489
|
-
var originalContext = isInterface(
|
|
1487
|
+
var tmp = Companion_instance_0.j2d(key.a2c_1, context);
|
|
1488
|
+
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1490
1489
|
var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
|
|
1491
1490
|
var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
|
|
1492
1491
|
if (!(key instanceof Key))
|
|
1493
1492
|
THROW_CCE();
|
|
1494
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1495
|
-
return definition.
|
|
1493
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.x2b_1, overrideLevel);
|
|
1494
|
+
return definition.y2b_1.s2e(key, bindingDI_0);
|
|
1496
1495
|
}
|
|
1497
|
-
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.
|
|
1496
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.j2d(key.a2c_1, context), this.m2h_1, overrideLevel);
|
|
1498
1497
|
// Inline function 'kotlin.collections.forEach' call
|
|
1499
|
-
var tmp0_iterator = this.
|
|
1500
|
-
while (tmp0_iterator.
|
|
1501
|
-
var element = tmp0_iterator.
|
|
1498
|
+
var tmp0_iterator = this.m2h_1.x2d().j();
|
|
1499
|
+
while (tmp0_iterator.k()) {
|
|
1500
|
+
var element = tmp0_iterator.l();
|
|
1502
1501
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factoryOrNull.<anonymous>' call
|
|
1503
|
-
var tmp0_safe_receiver = element.
|
|
1502
|
+
var tmp0_safe_receiver = element.s2h(bindingDI_1, key);
|
|
1504
1503
|
if (tmp0_safe_receiver == null)
|
|
1505
1504
|
null;
|
|
1506
1505
|
else {
|
|
1507
1506
|
// Inline function 'kotlin.let' call
|
|
1508
1507
|
// Inline function 'kotlin.contracts.contract' call
|
|
1509
|
-
var tmp0_safe_receiver_0 = this.
|
|
1508
|
+
var tmp0_safe_receiver_0 = this.n2h_1;
|
|
1510
1509
|
if (tmp0_safe_receiver_0 == null)
|
|
1511
1510
|
null;
|
|
1512
1511
|
else {
|
|
1513
|
-
tmp0_safe_receiver_0.
|
|
1512
|
+
tmp0_safe_receiver_0.r2h(key, 0);
|
|
1514
1513
|
}
|
|
1515
1514
|
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1516
1515
|
}
|
|
1517
1516
|
}
|
|
1518
1517
|
return null;
|
|
1519
1518
|
};
|
|
1520
|
-
protoOf(DIContainerImpl).
|
|
1521
|
-
var result = this.
|
|
1522
|
-
if (result.
|
|
1523
|
-
var tmp0_container = result.
|
|
1524
|
-
var definition = tmp0_container.
|
|
1525
|
-
var translator = tmp0_container.
|
|
1526
|
-
var tmp1_safe_receiver = this.
|
|
1519
|
+
protoOf(DIContainerImpl).q2d = function (key, context, overrideLevel) {
|
|
1520
|
+
var result = this.m2h_1.z2d(key, overrideLevel);
|
|
1521
|
+
if (result.m() === 1) {
|
|
1522
|
+
var tmp0_container = result.o(0);
|
|
1523
|
+
var definition = tmp0_container.fe();
|
|
1524
|
+
var translator = tmp0_container.xi();
|
|
1525
|
+
var tmp1_safe_receiver = this.n2h_1;
|
|
1527
1526
|
if (tmp1_safe_receiver == null)
|
|
1528
1527
|
null;
|
|
1529
1528
|
else {
|
|
1530
|
-
tmp1_safe_receiver.
|
|
1529
|
+
tmp1_safe_receiver.r2h(key, overrideLevel);
|
|
1531
1530
|
}
|
|
1532
|
-
var tmp = Companion_instance_0.
|
|
1531
|
+
var tmp = Companion_instance_0.j2d(key.a2c_1, context);
|
|
1533
1532
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1534
1533
|
var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
|
|
1535
1534
|
var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
|
|
1536
1535
|
if (!(key instanceof Key))
|
|
1537
1536
|
THROW_CCE();
|
|
1538
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1539
|
-
return definition.
|
|
1537
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.x2b_1, overrideLevel);
|
|
1538
|
+
return definition.y2b_1.s2e(key, bindingDI_0);
|
|
1540
1539
|
}
|
|
1541
|
-
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.
|
|
1540
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.j2d(key.a2c_1, context), this.m2h_1, overrideLevel);
|
|
1542
1541
|
// Inline function 'kotlin.collections.forEach' call
|
|
1543
|
-
var tmp0_iterator = this.
|
|
1544
|
-
while (tmp0_iterator.
|
|
1545
|
-
var element = tmp0_iterator.
|
|
1542
|
+
var tmp0_iterator = this.m2h_1.x2d().j();
|
|
1543
|
+
while (tmp0_iterator.k()) {
|
|
1544
|
+
var element = tmp0_iterator.l();
|
|
1546
1545
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1547
|
-
var tmp0_safe_receiver = element.
|
|
1546
|
+
var tmp0_safe_receiver = element.s2h(bindingDI_1, key);
|
|
1548
1547
|
if (tmp0_safe_receiver == null)
|
|
1549
1548
|
null;
|
|
1550
1549
|
else {
|
|
1551
1550
|
// Inline function 'kotlin.let' call
|
|
1552
1551
|
// Inline function 'kotlin.contracts.contract' call
|
|
1553
|
-
var tmp0_safe_receiver_0 = this.
|
|
1552
|
+
var tmp0_safe_receiver_0 = this.n2h_1;
|
|
1554
1553
|
if (tmp0_safe_receiver_0 == null)
|
|
1555
1554
|
null;
|
|
1556
1555
|
else {
|
|
1557
|
-
tmp0_safe_receiver_0.
|
|
1556
|
+
tmp0_safe_receiver_0.r2h(key, overrideLevel);
|
|
1558
1557
|
}
|
|
1559
1558
|
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1560
1559
|
}
|
|
1561
1560
|
}
|
|
1562
1561
|
var withOverrides = !(overrideLevel === 0);
|
|
1563
|
-
var descProp = this.
|
|
1562
|
+
var descProp = this.o2h_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1564
1563
|
var tmp_0;
|
|
1565
|
-
if (this.
|
|
1564
|
+
if (this.o2h_1) {
|
|
1566
1565
|
tmp_0 = DIContainerImpl$factory$lambda;
|
|
1567
1566
|
} else {
|
|
1568
1567
|
tmp_0 = DIContainerImpl$factory$lambda_0;
|
|
1569
1568
|
}
|
|
1570
1569
|
var descFun = tmp_0;
|
|
1571
|
-
if (result.
|
|
1570
|
+
if (result.p()) {
|
|
1572
1571
|
// Inline function 'kotlin.text.buildString' call
|
|
1573
1572
|
// Inline function 'kotlin.contracts.contract' call
|
|
1574
1573
|
// Inline function 'kotlin.apply' call
|
|
1575
1574
|
var this_0 = StringBuilder_init_$Create$();
|
|
1576
1575
|
// Inline function 'kotlin.contracts.contract' call
|
|
1577
1576
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1578
|
-
this_0.
|
|
1579
|
-
if (this.
|
|
1577
|
+
this_0.h8('No binding found for ' + descProp.get());
|
|
1578
|
+
if (this.p2h_1) {
|
|
1580
1579
|
// Inline function 'kotlin.text.appendLine' call
|
|
1581
|
-
this_0.
|
|
1582
|
-
var forType = this.
|
|
1580
|
+
this_0.i8(_Char___init__impl__6a9atx(10));
|
|
1581
|
+
var forType = this.m2h_1.a2e(new SearchSpecs(VOID, VOID, key.c2c_1));
|
|
1583
1582
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1584
|
-
if (!forType.
|
|
1583
|
+
if (!forType.p()) {
|
|
1585
1584
|
// Inline function 'kotlin.collections.associate' call
|
|
1586
1585
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16);
|
|
1587
1586
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1588
1587
|
var destination = LinkedHashMap_init_$Create$_0(capacity);
|
|
1589
|
-
var tmp0_iterator_0 = forType.
|
|
1590
|
-
while (tmp0_iterator_0.
|
|
1591
|
-
var element_0 = tmp0_iterator_0.
|
|
1588
|
+
var tmp0_iterator_0 = forType.j();
|
|
1589
|
+
while (tmp0_iterator_0.k()) {
|
|
1590
|
+
var element_0 = tmp0_iterator_0.l();
|
|
1592
1591
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1593
1592
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>.<anonymous>' call
|
|
1594
|
-
var pair = to(element_0.
|
|
1595
|
-
destination.k2(pair.
|
|
1593
|
+
var pair = to(element_0.ui_1, element_0.vi_1);
|
|
1594
|
+
destination.k2(pair.ce_1, pair.de_1);
|
|
1596
1595
|
}
|
|
1597
|
-
this_0.
|
|
1596
|
+
this_0.h8('Available bindings for this type:\n' + descFun(destination, withOverrides));
|
|
1598
1597
|
}
|
|
1599
|
-
this_0.
|
|
1598
|
+
this_0.h8('Registered in this DI container:\n' + descFun(this.m2h_1.w2d(), withOverrides));
|
|
1600
1599
|
}
|
|
1601
1600
|
var description = this_0.toString();
|
|
1602
1601
|
throw new NotFoundException(key, description);
|
|
@@ -1605,51 +1604,51 @@
|
|
|
1605
1604
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16);
|
|
1606
1605
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1607
1606
|
var destination_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
1608
|
-
var tmp0_iterator_1 = result.
|
|
1609
|
-
while (tmp0_iterator_1.
|
|
1610
|
-
var element_1 = tmp0_iterator_1.
|
|
1607
|
+
var tmp0_iterator_1 = result.j();
|
|
1608
|
+
while (tmp0_iterator_1.k()) {
|
|
1609
|
+
var element_1 = tmp0_iterator_1.l();
|
|
1611
1610
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1612
1611
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1613
|
-
var pair_0 = to(element_1.
|
|
1614
|
-
destination_0.k2(pair_0.
|
|
1612
|
+
var pair_0 = to(element_1.ui_1, ensureNotNull(this.m2h_1.b2e(element_1.ui_1)).vi_1);
|
|
1613
|
+
destination_0.k2(pair_0.ce_1, pair_0.de_1);
|
|
1615
1614
|
}
|
|
1616
1615
|
var potentials = destination_0;
|
|
1617
1616
|
// Inline function 'kotlin.collections.filter' call
|
|
1618
1617
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1619
|
-
var this_1 = this.
|
|
1618
|
+
var this_1 = this.m2h_1.w2d();
|
|
1620
1619
|
var destination_1 = LinkedHashMap_init_$Create$();
|
|
1621
1620
|
// Inline function 'kotlin.collections.iterator' call
|
|
1622
|
-
var tmp0_iterator_2 = this_1.
|
|
1623
|
-
while (tmp0_iterator_2.
|
|
1624
|
-
var element_2 = tmp0_iterator_2.
|
|
1621
|
+
var tmp0_iterator_2 = this_1.s().j();
|
|
1622
|
+
while (tmp0_iterator_2.k()) {
|
|
1623
|
+
var element_2 = tmp0_iterator_2.l();
|
|
1625
1624
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1626
1625
|
// Inline function 'kotlin.collections.component1' call
|
|
1627
|
-
var key_0 = element_2.
|
|
1628
|
-
if (!potentials.
|
|
1629
|
-
destination_1.k2(element_2.
|
|
1626
|
+
var key_0 = element_2.d2();
|
|
1627
|
+
if (!potentials.i2().q1(key_0)) {
|
|
1628
|
+
destination_1.k2(element_2.d2(), element_2.e2());
|
|
1630
1629
|
}
|
|
1631
1630
|
}
|
|
1632
1631
|
var others = destination_1;
|
|
1633
|
-
throw new NotFoundException(key, '' + potentials.
|
|
1632
|
+
throw new NotFoundException(key, '' + potentials.m() + ' bindings found that match ' + key.toString() + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
|
|
1634
1633
|
};
|
|
1635
1634
|
function bindFullDescription$factory_0($b0) {
|
|
1636
1635
|
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1637
|
-
return $b0.
|
|
1636
|
+
return $b0.h2c();
|
|
1638
1637
|
}, null);
|
|
1639
1638
|
}
|
|
1640
1639
|
function bindDescription$factory_0($b0) {
|
|
1641
1640
|
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1642
|
-
return $b0.
|
|
1641
|
+
return $b0.f2c();
|
|
1643
1642
|
}, null);
|
|
1644
1643
|
}
|
|
1645
1644
|
function fullDescription$factory_0($b0) {
|
|
1646
1645
|
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1647
|
-
return $b0.
|
|
1646
|
+
return $b0.i2c();
|
|
1648
1647
|
}, null);
|
|
1649
1648
|
}
|
|
1650
1649
|
function description$factory_0($b0) {
|
|
1651
1650
|
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1652
|
-
return $b0.
|
|
1651
|
+
return $b0.g2c();
|
|
1653
1652
|
}, null);
|
|
1654
1653
|
}
|
|
1655
1654
|
function newBuilder($this, allowSilentOverride, init) {
|
|
@@ -1660,7 +1659,7 @@
|
|
|
1660
1659
|
return this_0;
|
|
1661
1660
|
}
|
|
1662
1661
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1663
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1662
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.r2c(), builder.x2d(), builder.e2g(), builder.f2g(), runCallbacks));
|
|
1664
1663
|
return $this;
|
|
1665
1664
|
}
|
|
1666
1665
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
@@ -1680,79 +1679,79 @@
|
|
|
1680
1679
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1681
1680
|
return function () {
|
|
1682
1681
|
var tmp;
|
|
1683
|
-
if (!(this$0.
|
|
1682
|
+
if (!(this$0.t2h_1.q2h_1 == null)) {
|
|
1684
1683
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1685
1684
|
}
|
|
1686
|
-
return this$0.
|
|
1685
|
+
return this$0.t2h_1;
|
|
1687
1686
|
};
|
|
1688
1687
|
}
|
|
1689
1688
|
function DIImpl(_container) {
|
|
1690
|
-
this.
|
|
1689
|
+
this.t2h_1 = _container;
|
|
1691
1690
|
var tmp = this;
|
|
1692
|
-
tmp.
|
|
1691
|
+
tmp.u2h_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1693
1692
|
}
|
|
1694
|
-
protoOf(DIImpl).
|
|
1693
|
+
protoOf(DIImpl).d2d = function () {
|
|
1695
1694
|
// Inline function 'kotlin.getValue' call
|
|
1696
|
-
var this_0 = this.
|
|
1695
|
+
var this_0 = this.u2h_1;
|
|
1697
1696
|
container$factory();
|
|
1698
|
-
return this_0.
|
|
1697
|
+
return this_0.e2();
|
|
1699
1698
|
};
|
|
1700
1699
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1701
|
-
this.
|
|
1702
|
-
this.
|
|
1703
|
-
this.
|
|
1700
|
+
this.v2h_1 = directDI;
|
|
1701
|
+
this.w2h_1 = key;
|
|
1702
|
+
this.x2h_1 = overrideLevel;
|
|
1704
1703
|
}
|
|
1705
|
-
protoOf(BindingDIImpl).
|
|
1706
|
-
return this.
|
|
1704
|
+
protoOf(BindingDIImpl).f2e = function () {
|
|
1705
|
+
return this.v2h_1;
|
|
1707
1706
|
};
|
|
1708
|
-
protoOf(BindingDIImpl).
|
|
1709
|
-
return this.
|
|
1707
|
+
protoOf(BindingDIImpl).c2d = function () {
|
|
1708
|
+
return this.v2h_1.c2d();
|
|
1710
1709
|
};
|
|
1711
|
-
protoOf(BindingDIImpl).
|
|
1712
|
-
return this.
|
|
1710
|
+
protoOf(BindingDIImpl).c2e = function () {
|
|
1711
|
+
return this.v2h_1.c2e();
|
|
1713
1712
|
};
|
|
1714
|
-
protoOf(BindingDIImpl).
|
|
1715
|
-
return this.
|
|
1713
|
+
protoOf(BindingDIImpl).e2e = function (type, tag) {
|
|
1714
|
+
return this.v2h_1.e2e(type, tag);
|
|
1716
1715
|
};
|
|
1717
|
-
protoOf(BindingDIImpl).
|
|
1718
|
-
return this.
|
|
1716
|
+
protoOf(BindingDIImpl).d2e = function (context) {
|
|
1717
|
+
return this.v2h_1.d2e(context);
|
|
1719
1718
|
};
|
|
1720
|
-
protoOf(BindingDIImpl).
|
|
1721
|
-
var tmp = this.
|
|
1719
|
+
protoOf(BindingDIImpl).b9 = function () {
|
|
1720
|
+
var tmp = this.f2e().c2d().e2d().e2();
|
|
1722
1721
|
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1723
1722
|
};
|
|
1724
|
-
protoOf(BindingDIImpl).
|
|
1725
|
-
return new BindingDIImpl(this.
|
|
1723
|
+
protoOf(BindingDIImpl).t2f = function () {
|
|
1724
|
+
return new BindingDIImpl(this.f2e().d2e(ErasedContext_instance), this.w2h_1, this.x2h_1);
|
|
1726
1725
|
};
|
|
1727
1726
|
function container$factory() {
|
|
1728
1727
|
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1729
|
-
return receiver.
|
|
1728
|
+
return receiver.d2d();
|
|
1730
1729
|
}, null);
|
|
1731
1730
|
}
|
|
1732
1731
|
function findBySpecs($this, specs) {
|
|
1733
|
-
var bindSeq = asSequence($this.
|
|
1734
|
-
var specsBindType = specs.
|
|
1735
|
-
if (!(specsBindType == null)
|
|
1732
|
+
var bindSeq = asSequence($this.b2i_1);
|
|
1733
|
+
var specsBindType = specs.i2e_1;
|
|
1734
|
+
if (!(specsBindType == null) && !equals(specsBindType, Companion_getInstance().e2b_1)) {
|
|
1736
1735
|
var tmp = bindSeq;
|
|
1737
1736
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1738
1737
|
}
|
|
1739
1738
|
var tmp_0 = bindSeq;
|
|
1740
1739
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1741
|
-
var specsContextType = specs.
|
|
1740
|
+
var specsContextType = specs.g2e_1;
|
|
1742
1741
|
if (!(specsContextType == null)) {
|
|
1743
1742
|
var tmp_1 = contextSeq;
|
|
1744
1743
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1745
1744
|
}
|
|
1746
1745
|
var tmp_2 = contextSeq;
|
|
1747
1746
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1748
|
-
var specsArgType = specs.
|
|
1747
|
+
var specsArgType = specs.h2e_1;
|
|
1749
1748
|
if (!(specsArgType == null)) {
|
|
1750
1749
|
var tmp_3 = argSeq;
|
|
1751
1750
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1752
1751
|
}
|
|
1753
1752
|
var tmp_4 = argSeq;
|
|
1754
1753
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1755
|
-
var specsTag = specs.
|
|
1754
|
+
var specsTag = specs.j2e_1;
|
|
1756
1755
|
if (!equals(specsTag, NoDefinedTag_instance)) {
|
|
1757
1756
|
var tmp_5 = tagSeq;
|
|
1758
1757
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
@@ -1762,42 +1761,42 @@
|
|
|
1762
1761
|
return toList(resultSeq);
|
|
1763
1762
|
}
|
|
1764
1763
|
function notInMap($this, result, request) {
|
|
1765
|
-
var tmp = result.
|
|
1766
|
-
var tmp_0 = request.
|
|
1767
|
-
var tmp_1 = $this.
|
|
1764
|
+
var tmp = result.o2c();
|
|
1765
|
+
var tmp_0 = request.o2c();
|
|
1766
|
+
var tmp_1 = $this.a2i_1.i2();
|
|
1768
1767
|
return IllegalStateException_init_$Create$('Tree returned key ' + tmp + ' that is not in cache when searching for ' + tmp_0 + '.\nKeys in cache:\n' + joinToString(tmp_1, '\n', VOID, VOID, VOID, VOID, DITreeImpl$notInMap$lambda));
|
|
1769
1768
|
}
|
|
1770
1769
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
1771
1770
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1772
1771
|
// Inline function 'kotlin.collections.component1' call
|
|
1773
|
-
var bindType = _name_for_destructuring_parameter_0__wldtmu.
|
|
1774
|
-
return bindType.
|
|
1772
|
+
var bindType = _name_for_destructuring_parameter_0__wldtmu.d2();
|
|
1773
|
+
return bindType.e2i($specsBindType);
|
|
1775
1774
|
};
|
|
1776
1775
|
}
|
|
1777
1776
|
function DITreeImpl$findBySpecs$lambda_0(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1778
1777
|
// Inline function 'kotlin.collections.component2' call
|
|
1779
|
-
var contextTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1778
|
+
var contextTree = _name_for_destructuring_parameter_0__wldtmu.e2();
|
|
1780
1779
|
var tmp = asSequence(contextTree);
|
|
1781
1780
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda);
|
|
1782
1781
|
}
|
|
1783
1782
|
function DITreeImpl$findBySpecs$lambda$lambda(it) {
|
|
1784
|
-
return new Triple(it.
|
|
1783
|
+
return new Triple(it.d2(), it.e2(), null);
|
|
1785
1784
|
}
|
|
1786
1785
|
function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
|
|
1787
1786
|
return function (triple) {
|
|
1788
|
-
var contextType = triple.
|
|
1787
|
+
var contextType = triple.ee();
|
|
1789
1788
|
var tmp;
|
|
1790
|
-
if (contextType.
|
|
1789
|
+
if (contextType.e2i($specsContextType)) {
|
|
1791
1790
|
tmp = triple;
|
|
1792
1791
|
} else {
|
|
1793
1792
|
var tmp$ret$1;
|
|
1794
1793
|
$l$block: {
|
|
1795
1794
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1796
|
-
var tmp0_iterator = this$0.
|
|
1797
|
-
while (tmp0_iterator.
|
|
1798
|
-
var element = tmp0_iterator.
|
|
1795
|
+
var tmp0_iterator = this$0.d2i_1.j();
|
|
1796
|
+
while (tmp0_iterator.k()) {
|
|
1797
|
+
var element = tmp0_iterator.l();
|
|
1799
1798
|
// Inline function 'org.kodein.di.internal.DITreeImpl.findBySpecs.<anonymous>.<anonymous>' call
|
|
1800
|
-
if (element.
|
|
1799
|
+
if (element.v2c().n2b($specsContextType) && contextType.e2i(element.w2e())) {
|
|
1801
1800
|
tmp$ret$1 = element;
|
|
1802
1801
|
break $l$block;
|
|
1803
1802
|
}
|
|
@@ -1805,94 +1804,94 @@
|
|
|
1805
1804
|
tmp$ret$1 = null;
|
|
1806
1805
|
}
|
|
1807
1806
|
var translator = tmp$ret$1;
|
|
1808
|
-
tmp = !(translator == null) ? triple.
|
|
1807
|
+
tmp = !(translator == null) ? triple.zi(VOID, VOID, translator) : null;
|
|
1809
1808
|
}
|
|
1810
1809
|
return tmp;
|
|
1811
1810
|
};
|
|
1812
1811
|
}
|
|
1813
1812
|
function DITreeImpl$findBySpecs$lambda_2(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1814
|
-
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1815
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1813
|
+
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.fe();
|
|
1814
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.xi();
|
|
1816
1815
|
var tmp = asSequence(argumentTree);
|
|
1817
1816
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
|
|
1818
1817
|
}
|
|
1819
1818
|
function DITreeImpl$findBySpecs$lambda$lambda_0($translator) {
|
|
1820
1819
|
return function (it) {
|
|
1821
|
-
return new Triple(it.
|
|
1820
|
+
return new Triple(it.d2(), it.e2(), $translator);
|
|
1822
1821
|
};
|
|
1823
1822
|
}
|
|
1824
1823
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
1825
1824
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1826
|
-
var argType = _name_for_destructuring_parameter_0__wldtmu.
|
|
1827
|
-
return argType.
|
|
1825
|
+
var argType = _name_for_destructuring_parameter_0__wldtmu.ee();
|
|
1826
|
+
return argType.e2i($specsArgType);
|
|
1828
1827
|
};
|
|
1829
1828
|
}
|
|
1830
1829
|
function DITreeImpl$findBySpecs$lambda_4(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1831
|
-
var tagTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1832
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1830
|
+
var tagTree = _name_for_destructuring_parameter_0__wldtmu.fe();
|
|
1831
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.xi();
|
|
1833
1832
|
var tmp = asSequence(tagTree);
|
|
1834
1833
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
|
|
1835
1834
|
}
|
|
1836
1835
|
function DITreeImpl$findBySpecs$lambda$lambda_1($translator) {
|
|
1837
1836
|
return function (it) {
|
|
1838
|
-
return new Triple(it.
|
|
1837
|
+
return new Triple(it.d2(), it.e2(), $translator);
|
|
1839
1838
|
};
|
|
1840
1839
|
}
|
|
1841
1840
|
function DITreeImpl$findBySpecs$lambda_5($specsTag) {
|
|
1842
1841
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1843
|
-
var tag = _name_for_destructuring_parameter_0__wldtmu.
|
|
1842
|
+
var tag = _name_for_destructuring_parameter_0__wldtmu.ee();
|
|
1844
1843
|
return equals(tag, $specsTag);
|
|
1845
1844
|
};
|
|
1846
1845
|
}
|
|
1847
1846
|
function DITreeImpl$findBySpecs$lambda_6(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1848
|
-
var key = _name_for_destructuring_parameter_0__wldtmu.
|
|
1849
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1847
|
+
var key = _name_for_destructuring_parameter_0__wldtmu.fe();
|
|
1848
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.xi();
|
|
1850
1849
|
return to(key, translator);
|
|
1851
1850
|
}
|
|
1852
1851
|
function DITreeImpl$notInMap$lambda(it) {
|
|
1853
|
-
return it.
|
|
1852
|
+
return it.o2c();
|
|
1854
1853
|
}
|
|
1855
1854
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
1856
|
-
this.
|
|
1857
|
-
this.
|
|
1858
|
-
this.
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1855
|
+
this.y2h_1 = externalSources;
|
|
1856
|
+
this.z2h_1 = registeredTranslators;
|
|
1857
|
+
this.a2i_1 = newConcurrentMap();
|
|
1858
|
+
this.b2i_1 = HashMap_init_$Create$();
|
|
1859
|
+
this.d2i_1 = ArrayList_init_$Create$_1(this.z2h_1);
|
|
1861
1860
|
// Inline function 'kotlin.collections.forEach' call
|
|
1862
1861
|
// Inline function 'kotlin.collections.iterator' call
|
|
1863
|
-
var tmp0_iterator = map.
|
|
1864
|
-
while (tmp0_iterator.
|
|
1865
|
-
var element = tmp0_iterator.
|
|
1862
|
+
var tmp0_iterator = map.s().j();
|
|
1863
|
+
while (tmp0_iterator.k()) {
|
|
1864
|
+
var element = tmp0_iterator.l();
|
|
1866
1865
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1867
1866
|
// Inline function 'kotlin.collections.component1' call
|
|
1868
|
-
var key = element.
|
|
1867
|
+
var key = element.d2();
|
|
1869
1868
|
// Inline function 'kotlin.collections.component2' call
|
|
1870
|
-
var bindings = element.
|
|
1869
|
+
var bindings = element.e2();
|
|
1871
1870
|
// Inline function 'kotlin.collections.map' call
|
|
1872
1871
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1873
1872
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
|
|
1874
|
-
var tmp0_iterator_0 = bindings.
|
|
1875
|
-
while (tmp0_iterator_0.
|
|
1876
|
-
var item = tmp0_iterator_0.
|
|
1873
|
+
var tmp0_iterator_0 = bindings.j();
|
|
1874
|
+
while (tmp0_iterator_0.k()) {
|
|
1875
|
+
var item = tmp0_iterator_0.l();
|
|
1877
1876
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1878
1877
|
var tmp;
|
|
1879
1878
|
if (item instanceof DIDefinition) {
|
|
1880
1879
|
tmp = item;
|
|
1881
1880
|
} else {
|
|
1882
|
-
tmp = new DIDefinition(item.
|
|
1881
|
+
tmp = new DIDefinition(item.y2b_1, item.z2b_1, this);
|
|
1883
1882
|
}
|
|
1884
1883
|
var tmp$ret$3 = tmp;
|
|
1885
|
-
destination.
|
|
1884
|
+
destination.e(tmp$ret$3);
|
|
1886
1885
|
}
|
|
1887
1886
|
var definitions = destination;
|
|
1888
1887
|
// Inline function 'kotlin.collections.set' call
|
|
1889
|
-
var this_0 = this.
|
|
1888
|
+
var this_0 = this.a2i_1;
|
|
1890
1889
|
var value = new Triple(key, definitions, null);
|
|
1891
1890
|
this_0.k2(key, value);
|
|
1892
|
-
var typeChecker = first(bindings).
|
|
1891
|
+
var typeChecker = first(bindings).y2b_1.r2e() ? new Down(key.c2c_1) : new Up(key.c2c_1);
|
|
1893
1892
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1894
|
-
var this_1 = this.
|
|
1895
|
-
var value_0 = this_1.
|
|
1893
|
+
var this_1 = this.b2i_1;
|
|
1894
|
+
var value_0 = this_1.h2(typeChecker);
|
|
1896
1895
|
var tmp_0;
|
|
1897
1896
|
if (value_0 == null) {
|
|
1898
1897
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
@@ -1904,8 +1903,8 @@
|
|
|
1904
1903
|
}
|
|
1905
1904
|
var contextTree = tmp_0;
|
|
1906
1905
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1907
|
-
var key_0 = new Down(key.
|
|
1908
|
-
var value_1 = contextTree.
|
|
1906
|
+
var key_0 = new Down(key.a2c_1);
|
|
1907
|
+
var value_1 = contextTree.h2(key_0);
|
|
1909
1908
|
var tmp_1;
|
|
1910
1909
|
if (value_1 == null) {
|
|
1911
1910
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
@@ -1917,8 +1916,8 @@
|
|
|
1917
1916
|
}
|
|
1918
1917
|
var argumentTree = tmp_1;
|
|
1919
1918
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1920
|
-
var key_1 = new Down(key.
|
|
1921
|
-
var value_2 = argumentTree.
|
|
1919
|
+
var key_1 = new Down(key.b2c_1);
|
|
1920
|
+
var value_2 = argumentTree.h2(key_1);
|
|
1922
1921
|
var tmp_2;
|
|
1923
1922
|
if (value_2 == null) {
|
|
1924
1923
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
@@ -1930,41 +1929,41 @@
|
|
|
1930
1929
|
}
|
|
1931
1930
|
var tagTree = tmp_2;
|
|
1932
1931
|
// Inline function 'kotlin.collections.set' call
|
|
1933
|
-
var key_2 = key.
|
|
1932
|
+
var key_2 = key.d2c_1;
|
|
1934
1933
|
tagTree.k2(key_2, key);
|
|
1935
1934
|
}
|
|
1936
1935
|
var tmp_3 = this;
|
|
1937
1936
|
// Inline function 'kotlin.collections.mapValues' call
|
|
1938
|
-
var this_2 = this.
|
|
1937
|
+
var this_2 = this.a2i_1;
|
|
1939
1938
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
1940
|
-
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_2.
|
|
1939
|
+
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_2.m()));
|
|
1941
1940
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
1942
|
-
var tmp0_iterator_1 = this_2.
|
|
1943
|
-
while (tmp0_iterator_1.
|
|
1944
|
-
var element_0 = tmp0_iterator_1.
|
|
1941
|
+
var tmp0_iterator_1 = this_2.s().j();
|
|
1942
|
+
while (tmp0_iterator_1.k()) {
|
|
1943
|
+
var element_0 = tmp0_iterator_1.l();
|
|
1945
1944
|
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
1946
|
-
var tmp_4 = element_0.
|
|
1945
|
+
var tmp_4 = element_0.d2();
|
|
1947
1946
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1948
|
-
var tmp$ret$13 = element_0.
|
|
1947
|
+
var tmp$ret$13 = element_0.e2().vi_1;
|
|
1949
1948
|
destination_0.k2(tmp_4, tmp$ret$13);
|
|
1950
1949
|
}
|
|
1951
|
-
tmp_3.
|
|
1950
|
+
tmp_3.c2i_1 = HashMap_init_$Create$_0(destination_0);
|
|
1952
1951
|
$l$loop: while (true) {
|
|
1953
1952
|
var added = ArrayList_init_$Create$();
|
|
1954
|
-
var tmp0_iterator_2 = this.
|
|
1955
|
-
while (tmp0_iterator_2.
|
|
1956
|
-
var src = tmp0_iterator_2.
|
|
1957
|
-
var tmp1_iterator = this.
|
|
1958
|
-
while (tmp1_iterator.
|
|
1959
|
-
var dst = tmp1_iterator.
|
|
1960
|
-
if (dst.
|
|
1953
|
+
var tmp0_iterator_2 = this.d2i_1.j();
|
|
1954
|
+
while (tmp0_iterator_2.k()) {
|
|
1955
|
+
var src = tmp0_iterator_2.l();
|
|
1956
|
+
var tmp1_iterator = this.d2i_1.j();
|
|
1957
|
+
while (tmp1_iterator.k()) {
|
|
1958
|
+
var dst = tmp1_iterator.l();
|
|
1959
|
+
if (dst.v2c().n2b(src.w2e()) && !equals(src.v2c(), dst.w2e())) {
|
|
1961
1960
|
var tmp$ret$17;
|
|
1962
1961
|
$l$block_0: {
|
|
1963
1962
|
// Inline function 'kotlin.collections.none' call
|
|
1964
|
-
var this_3 = this.
|
|
1963
|
+
var this_3 = this.d2i_1;
|
|
1965
1964
|
var tmp_5;
|
|
1966
1965
|
if (isInterface(this_3, Collection)) {
|
|
1967
|
-
tmp_5 = this_3.
|
|
1966
|
+
tmp_5 = this_3.p();
|
|
1968
1967
|
} else {
|
|
1969
1968
|
tmp_5 = false;
|
|
1970
1969
|
}
|
|
@@ -1972,11 +1971,11 @@
|
|
|
1972
1971
|
tmp$ret$17 = true;
|
|
1973
1972
|
break $l$block_0;
|
|
1974
1973
|
}
|
|
1975
|
-
var tmp0_iterator_3 = this_3.
|
|
1976
|
-
while (tmp0_iterator_3.
|
|
1977
|
-
var element_1 = tmp0_iterator_3.
|
|
1974
|
+
var tmp0_iterator_3 = this_3.j();
|
|
1975
|
+
while (tmp0_iterator_3.k()) {
|
|
1976
|
+
var element_1 = tmp0_iterator_3.l();
|
|
1978
1977
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1979
|
-
if (equals(element_1.
|
|
1978
|
+
if (equals(element_1.v2c(), src.v2c()) && equals(element_1.w2e(), dst.w2e())) {
|
|
1980
1979
|
tmp$ret$17 = false;
|
|
1981
1980
|
break $l$block_0;
|
|
1982
1981
|
}
|
|
@@ -1987,35 +1986,35 @@
|
|
|
1987
1986
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1988
1987
|
var tmp_6 = isInterface(src, ContextTranslator) ? src : THROW_CCE();
|
|
1989
1988
|
var element_2 = new CompositeContextTranslator(tmp_6, isInterface(dst, ContextTranslator) ? dst : THROW_CCE());
|
|
1990
|
-
added.
|
|
1989
|
+
added.e(element_2);
|
|
1991
1990
|
}
|
|
1992
1991
|
}
|
|
1993
1992
|
}
|
|
1994
1993
|
}
|
|
1995
1994
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1996
|
-
var this_4 = this.
|
|
1995
|
+
var this_4 = this.d2i_1;
|
|
1997
1996
|
addAll(this_4, added);
|
|
1998
|
-
if (added.
|
|
1997
|
+
if (added.p())
|
|
1999
1998
|
break $l$loop;
|
|
2000
1999
|
}
|
|
2001
2000
|
}
|
|
2002
|
-
protoOf(DITreeImpl).
|
|
2003
|
-
return this.
|
|
2001
|
+
protoOf(DITreeImpl).x2d = function () {
|
|
2002
|
+
return this.y2h_1;
|
|
2004
2003
|
};
|
|
2005
|
-
protoOf(DITreeImpl).
|
|
2006
|
-
return this.
|
|
2004
|
+
protoOf(DITreeImpl).w2d = function () {
|
|
2005
|
+
return this.c2i_1;
|
|
2007
2006
|
};
|
|
2008
|
-
protoOf(DITreeImpl).
|
|
2007
|
+
protoOf(DITreeImpl).y2d = function (key, overrideLevel, all) {
|
|
2009
2008
|
if (!all) {
|
|
2010
|
-
var tmp0_safe_receiver = this.
|
|
2009
|
+
var tmp0_safe_receiver = this.a2i_1.h2(key);
|
|
2011
2010
|
if (tmp0_safe_receiver == null)
|
|
2012
2011
|
null;
|
|
2013
2012
|
else {
|
|
2014
2013
|
// Inline function 'kotlin.let' call
|
|
2015
2014
|
// Inline function 'kotlin.contracts.contract' call
|
|
2016
|
-
var realKey = tmp0_safe_receiver.
|
|
2017
|
-
var list = tmp0_safe_receiver.
|
|
2018
|
-
var translator = tmp0_safe_receiver.
|
|
2015
|
+
var realKey = tmp0_safe_receiver.ee();
|
|
2016
|
+
var list = tmp0_safe_receiver.fe();
|
|
2017
|
+
var translator = tmp0_safe_receiver.xi();
|
|
2019
2018
|
var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
|
|
2020
2019
|
var tmp;
|
|
2021
2020
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2028,9 +2027,9 @@
|
|
|
2028
2027
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
2029
2028
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
2030
2029
|
}
|
|
2031
|
-
if (!equals(key.
|
|
2032
|
-
var anyContextKey = key.
|
|
2033
|
-
var tmp1_safe_receiver = this.
|
|
2030
|
+
if (!equals(key.a2c_1, Companion_getInstance().e2b_1)) {
|
|
2031
|
+
var anyContextKey = key.q2c(Companion_getInstance().e2b_1);
|
|
2032
|
+
var tmp1_safe_receiver = this.a2i_1.h2(anyContextKey);
|
|
2034
2033
|
if (tmp1_safe_receiver == null)
|
|
2035
2034
|
null;
|
|
2036
2035
|
else {
|
|
@@ -2038,14 +2037,14 @@
|
|
|
2038
2037
|
// Inline function 'kotlin.contracts.contract' call
|
|
2039
2038
|
$l$block: {
|
|
2040
2039
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2041
|
-
var realKey_0 = tmp1_safe_receiver.
|
|
2042
|
-
var list_0 = tmp1_safe_receiver.
|
|
2043
|
-
var translator_0 = tmp1_safe_receiver.
|
|
2044
|
-
if (!(translator_0 == null)
|
|
2040
|
+
var realKey_0 = tmp1_safe_receiver.ee();
|
|
2041
|
+
var list_0 = tmp1_safe_receiver.fe();
|
|
2042
|
+
var translator_0 = tmp1_safe_receiver.xi();
|
|
2043
|
+
if (!(translator_0 == null) && !equals(translator_0.v2c(), key.a2c_1)) {
|
|
2045
2044
|
break $l$block;
|
|
2046
2045
|
}
|
|
2047
2046
|
// Inline function 'kotlin.collections.set' call
|
|
2048
|
-
this.
|
|
2047
|
+
this.a2i_1.k2(key, tmp1_safe_receiver);
|
|
2049
2048
|
var tmp1_elvis_lhs = getOrNull(list_0, overrideLevel);
|
|
2050
2049
|
var tmp_2;
|
|
2051
2050
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2062,35 +2061,35 @@
|
|
|
2062
2061
|
}
|
|
2063
2062
|
// Inline function 'kotlin.collections.filter' call
|
|
2064
2063
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2065
|
-
var this_0 = this.
|
|
2064
|
+
var this_0 = this.d2i_1;
|
|
2066
2065
|
var destination = ArrayList_init_$Create$();
|
|
2067
|
-
var tmp0_iterator = this_0.
|
|
2068
|
-
while (tmp0_iterator.
|
|
2069
|
-
var element = tmp0_iterator.
|
|
2066
|
+
var tmp0_iterator = this_0.j();
|
|
2067
|
+
while (tmp0_iterator.k()) {
|
|
2068
|
+
var element = tmp0_iterator.l();
|
|
2070
2069
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2071
|
-
if (equals(element.
|
|
2072
|
-
destination.
|
|
2070
|
+
if (equals(element.v2c(), key.a2c_1)) {
|
|
2071
|
+
destination.e(element);
|
|
2073
2072
|
}
|
|
2074
2073
|
}
|
|
2075
2074
|
var tmp_5 = destination;
|
|
2076
2075
|
// Inline function 'kotlin.collections.filter' call
|
|
2077
2076
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2078
|
-
var this_1 = this.
|
|
2077
|
+
var this_1 = this.d2i_1;
|
|
2079
2078
|
var destination_0 = ArrayList_init_$Create$();
|
|
2080
|
-
var tmp0_iterator_0 = this_1.
|
|
2081
|
-
while (tmp0_iterator_0.
|
|
2082
|
-
var element_0 = tmp0_iterator_0.
|
|
2079
|
+
var tmp0_iterator_0 = this_1.j();
|
|
2080
|
+
while (tmp0_iterator_0.k()) {
|
|
2081
|
+
var element_0 = tmp0_iterator_0.l();
|
|
2083
2082
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2084
|
-
if (equals(element_0.
|
|
2085
|
-
destination_0.
|
|
2083
|
+
if (equals(element_0.v2c(), Companion_getInstance().e2b_1)) {
|
|
2084
|
+
destination_0.e(element_0);
|
|
2086
2085
|
}
|
|
2087
2086
|
}
|
|
2088
2087
|
var applicableTranslators = plus(tmp_5, destination_0);
|
|
2089
|
-
var tmp2_iterator = applicableTranslators.
|
|
2090
|
-
while (tmp2_iterator.
|
|
2091
|
-
var translator_1 = tmp2_iterator.
|
|
2092
|
-
var translatedKey = new Key(translator_1.
|
|
2093
|
-
var tmp3_safe_receiver = this.
|
|
2088
|
+
var tmp2_iterator = applicableTranslators.j();
|
|
2089
|
+
while (tmp2_iterator.k()) {
|
|
2090
|
+
var translator_1 = tmp2_iterator.l();
|
|
2091
|
+
var translatedKey = new Key(translator_1.w2e(), key.b2c_1, key.c2c_1, key.d2c_1);
|
|
2092
|
+
var tmp3_safe_receiver = this.a2i_1.h2(translatedKey);
|
|
2094
2093
|
var tmp_6;
|
|
2095
2094
|
if (tmp3_safe_receiver == null) {
|
|
2096
2095
|
tmp_6 = null;
|
|
@@ -2099,7 +2098,7 @@
|
|
|
2099
2098
|
// Inline function 'kotlin.contracts.contract' call
|
|
2100
2099
|
var tmp_7;
|
|
2101
2100
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2102
|
-
if (tmp3_safe_receiver.
|
|
2101
|
+
if (tmp3_safe_receiver.wi_1 == null) {
|
|
2103
2102
|
tmp_7 = tmp3_safe_receiver;
|
|
2104
2103
|
} else {
|
|
2105
2104
|
tmp_7 = null;
|
|
@@ -2114,15 +2113,15 @@
|
|
|
2114
2113
|
// Inline function 'kotlin.contracts.contract' call
|
|
2115
2114
|
$l$block_0: {
|
|
2116
2115
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2117
|
-
if (!(tmp4_safe_receiver.
|
|
2116
|
+
if (!(tmp4_safe_receiver.wi_1 == null)) {
|
|
2118
2117
|
break $l$block_0;
|
|
2119
2118
|
}
|
|
2120
2119
|
// Inline function 'kotlin.collections.set' call
|
|
2121
|
-
var this_2 = this.
|
|
2122
|
-
var value = tmp4_safe_receiver.
|
|
2120
|
+
var this_2 = this.a2i_1;
|
|
2121
|
+
var value = tmp4_safe_receiver.zi(VOID, VOID, translator_1);
|
|
2123
2122
|
this_2.k2(key, value);
|
|
2124
|
-
var realKey_1 = tmp4_safe_receiver.
|
|
2125
|
-
var list_1 = tmp4_safe_receiver.
|
|
2123
|
+
var realKey_1 = tmp4_safe_receiver.ee();
|
|
2124
|
+
var list_1 = tmp4_safe_receiver.fe();
|
|
2126
2125
|
var tmp1_elvis_lhs_0 = getOrNull(list_1, overrideLevel);
|
|
2127
2126
|
var tmp_8;
|
|
2128
2127
|
if (tmp1_elvis_lhs_0 == null) {
|
|
@@ -2138,15 +2137,15 @@
|
|
|
2138
2137
|
}
|
|
2139
2138
|
}
|
|
2140
2139
|
}
|
|
2141
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2142
|
-
if (result.
|
|
2140
|
+
var result = findBySpecs(this, new SearchSpecs(key.a2c_1, key.b2c_1, key.c2c_1, key.d2c_1));
|
|
2141
|
+
if (result.m() === 1) {
|
|
2143
2142
|
var tmp5_container = first(result);
|
|
2144
|
-
var realKey_2 = tmp5_container.
|
|
2145
|
-
var translator_2 = tmp5_container.
|
|
2143
|
+
var realKey_2 = tmp5_container.ee();
|
|
2144
|
+
var translator_2 = tmp5_container.fe();
|
|
2146
2145
|
// Inline function 'kotlin.collections.set' call
|
|
2147
|
-
var this_3 = this.
|
|
2148
|
-
var tmp6_safe_receiver = this.
|
|
2149
|
-
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.
|
|
2146
|
+
var this_3 = this.a2i_1;
|
|
2147
|
+
var tmp6_safe_receiver = this.a2i_1.h2(realKey_2);
|
|
2148
|
+
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.zi(VOID, VOID, translator_2);
|
|
2150
2149
|
var tmp_11;
|
|
2151
2150
|
if (tmp7_elvis_lhs == null) {
|
|
2152
2151
|
throw notInMap(this, realKey_2, key);
|
|
@@ -2160,23 +2159,23 @@
|
|
|
2160
2159
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2161
2160
|
var destination_1 = ArrayList_init_$Create$();
|
|
2162
2161
|
// Inline function 'kotlin.collections.forEach' call
|
|
2163
|
-
var tmp0_iterator_1 = result.
|
|
2164
|
-
while (tmp0_iterator_1.
|
|
2165
|
-
var element_1 = tmp0_iterator_1.
|
|
2162
|
+
var tmp0_iterator_1 = result.j();
|
|
2163
|
+
while (tmp0_iterator_1.k()) {
|
|
2164
|
+
var element_1 = tmp0_iterator_1.l();
|
|
2166
2165
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2167
2166
|
var tmp$ret$13;
|
|
2168
2167
|
$l$block_1: {
|
|
2169
2168
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2170
|
-
var realKey_3 = element_1.
|
|
2171
|
-
var translator_3 = element_1.
|
|
2172
|
-
var tmp0_elvis_lhs_0 = this.
|
|
2169
|
+
var realKey_3 = element_1.ee();
|
|
2170
|
+
var translator_3 = element_1.fe();
|
|
2171
|
+
var tmp0_elvis_lhs_0 = this.a2i_1.h2(realKey_3);
|
|
2173
2172
|
var tmp_12;
|
|
2174
2173
|
if (tmp0_elvis_lhs_0 == null) {
|
|
2175
2174
|
throw notInMap(this, realKey_3, key);
|
|
2176
2175
|
} else {
|
|
2177
2176
|
tmp_12 = tmp0_elvis_lhs_0;
|
|
2178
2177
|
}
|
|
2179
|
-
var definitions = tmp_12.
|
|
2178
|
+
var definitions = tmp_12.fe();
|
|
2180
2179
|
var tmp2_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2181
2180
|
var tmp_13;
|
|
2182
2181
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2196,44 +2195,44 @@
|
|
|
2196
2195
|
else {
|
|
2197
2196
|
// Inline function 'kotlin.let' call
|
|
2198
2197
|
// Inline function 'kotlin.contracts.contract' call
|
|
2199
|
-
destination_1.
|
|
2198
|
+
destination_1.e(tmp0_safe_receiver_0);
|
|
2200
2199
|
}
|
|
2201
2200
|
}
|
|
2202
2201
|
return destination_1;
|
|
2203
2202
|
};
|
|
2204
|
-
protoOf(DITreeImpl).
|
|
2203
|
+
protoOf(DITreeImpl).a2e = function (search) {
|
|
2205
2204
|
var result = findBySpecs(this, search);
|
|
2206
2205
|
// Inline function 'kotlin.collections.map' call
|
|
2207
2206
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2208
2207
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
|
|
2209
|
-
var tmp0_iterator = result.
|
|
2210
|
-
while (tmp0_iterator.
|
|
2211
|
-
var item = tmp0_iterator.
|
|
2208
|
+
var tmp0_iterator = result.j();
|
|
2209
|
+
while (tmp0_iterator.k()) {
|
|
2210
|
+
var item = tmp0_iterator.l();
|
|
2212
2211
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2213
|
-
var key = item.
|
|
2214
|
-
var translator = item.
|
|
2215
|
-
var tmp$ret$0 = new Triple(key, ensureNotNull(this.
|
|
2216
|
-
destination.
|
|
2212
|
+
var key = item.ee();
|
|
2213
|
+
var translator = item.fe();
|
|
2214
|
+
var tmp$ret$0 = new Triple(key, ensureNotNull(this.a2i_1.h2(key)).vi_1, translator);
|
|
2215
|
+
destination.e(tmp$ret$0);
|
|
2217
2216
|
}
|
|
2218
2217
|
return destination;
|
|
2219
2218
|
};
|
|
2220
|
-
protoOf(DITreeImpl).
|
|
2221
|
-
var tmp = this.
|
|
2219
|
+
protoOf(DITreeImpl).b2e = function (key) {
|
|
2220
|
+
var tmp = this.a2i_1.h2(key);
|
|
2222
2221
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2223
2222
|
};
|
|
2224
2223
|
function Down(type) {
|
|
2225
2224
|
TypeChecker.call(this);
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2225
|
+
this.f2i_1 = type;
|
|
2226
|
+
this.g2i_1 = equals(this.f2i_1, Companion_getInstance().e2b_1);
|
|
2228
2227
|
}
|
|
2229
|
-
protoOf(Down).
|
|
2230
|
-
return this.
|
|
2228
|
+
protoOf(Down).e2i = function (other) {
|
|
2229
|
+
return this.g2i_1 || this.f2i_1.n2b(other);
|
|
2231
2230
|
};
|
|
2232
2231
|
protoOf(Down).toString = function () {
|
|
2233
|
-
return 'Down(type=' + this.
|
|
2232
|
+
return 'Down(type=' + toString_0(this.f2i_1) + ')';
|
|
2234
2233
|
};
|
|
2235
2234
|
protoOf(Down).hashCode = function () {
|
|
2236
|
-
return hashCode(this.
|
|
2235
|
+
return hashCode(this.f2i_1);
|
|
2237
2236
|
};
|
|
2238
2237
|
protoOf(Down).equals = function (other) {
|
|
2239
2238
|
if (this === other)
|
|
@@ -2241,22 +2240,22 @@
|
|
|
2241
2240
|
if (!(other instanceof Down))
|
|
2242
2241
|
return false;
|
|
2243
2242
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2244
|
-
if (!equals(this.
|
|
2243
|
+
if (!equals(this.f2i_1, tmp0_other_with_cast.f2i_1))
|
|
2245
2244
|
return false;
|
|
2246
2245
|
return true;
|
|
2247
2246
|
};
|
|
2248
2247
|
function Up(type) {
|
|
2249
2248
|
TypeChecker.call(this);
|
|
2250
|
-
this.
|
|
2249
|
+
this.h2i_1 = type;
|
|
2251
2250
|
}
|
|
2252
|
-
protoOf(Up).
|
|
2253
|
-
return equals(other, Companion_getInstance().
|
|
2251
|
+
protoOf(Up).e2i = function (other) {
|
|
2252
|
+
return equals(other, Companion_getInstance().e2b_1) || other.n2b(this.h2i_1);
|
|
2254
2253
|
};
|
|
2255
2254
|
protoOf(Up).toString = function () {
|
|
2256
|
-
return 'Up(type=' + this.
|
|
2255
|
+
return 'Up(type=' + toString_0(this.h2i_1) + ')';
|
|
2257
2256
|
};
|
|
2258
2257
|
protoOf(Up).hashCode = function () {
|
|
2259
|
-
return hashCode(this.
|
|
2258
|
+
return hashCode(this.h2i_1);
|
|
2260
2259
|
};
|
|
2261
2260
|
protoOf(Up).equals = function (other) {
|
|
2262
2261
|
if (this === other)
|
|
@@ -2264,66 +2263,66 @@
|
|
|
2264
2263
|
if (!(other instanceof Up))
|
|
2265
2264
|
return false;
|
|
2266
2265
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2267
|
-
if (!equals(this.
|
|
2266
|
+
if (!equals(this.h2i_1, tmp0_other_with_cast.h2i_1))
|
|
2268
2267
|
return false;
|
|
2269
2268
|
return true;
|
|
2270
2269
|
};
|
|
2271
2270
|
function TypeChecker() {
|
|
2272
2271
|
}
|
|
2273
2272
|
function DirectDIBaseImpl(container, context) {
|
|
2274
|
-
this.
|
|
2275
|
-
this.
|
|
2273
|
+
this.i2i_1 = container;
|
|
2274
|
+
this.j2i_1 = context;
|
|
2276
2275
|
}
|
|
2277
|
-
protoOf(DirectDIBaseImpl).
|
|
2278
|
-
return this.
|
|
2276
|
+
protoOf(DirectDIBaseImpl).d2d = function () {
|
|
2277
|
+
return this.i2i_1;
|
|
2279
2278
|
};
|
|
2280
|
-
protoOf(DirectDIBaseImpl).
|
|
2279
|
+
protoOf(DirectDIBaseImpl).f2e = function () {
|
|
2281
2280
|
return this;
|
|
2282
2281
|
};
|
|
2283
|
-
protoOf(DirectDIBaseImpl).
|
|
2284
|
-
var tmp = this.
|
|
2285
|
-
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.
|
|
2282
|
+
protoOf(DirectDIBaseImpl).c2e = function () {
|
|
2283
|
+
var tmp = this.d2d();
|
|
2284
|
+
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.j2i_1);
|
|
2286
2285
|
};
|
|
2287
|
-
protoOf(DirectDIBaseImpl).
|
|
2288
|
-
return new DirectDIImpl(this.
|
|
2286
|
+
protoOf(DirectDIBaseImpl).d2e = function (context) {
|
|
2287
|
+
return new DirectDIImpl(this.d2d(), context);
|
|
2289
2288
|
};
|
|
2290
|
-
protoOf(DirectDIBaseImpl).
|
|
2291
|
-
var tmp = this.
|
|
2289
|
+
protoOf(DirectDIBaseImpl).e2e = function (type, tag) {
|
|
2290
|
+
var tmp = this.d2d();
|
|
2292
2291
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2293
|
-
var tmp_0 = this.
|
|
2292
|
+
var tmp_0 = this.j2i_1.i2d();
|
|
2294
2293
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2295
|
-
return tmp.
|
|
2294
|
+
return tmp.o2d(new Key(tmp$ret$0, Companion_getInstance().d2b_1, type, tag), this.j2i_1.e2())();
|
|
2296
2295
|
};
|
|
2297
2296
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2298
2297
|
return function () {
|
|
2299
2298
|
var tmp;
|
|
2300
|
-
if (!($receiver == null)
|
|
2299
|
+
if (!($receiver == null) && this$0.l2i_1 === get_AnyDIContext()) {
|
|
2301
2300
|
var tmp_0 = Companion_instance_0;
|
|
2302
2301
|
var tmp_1 = erasedOf($receiver);
|
|
2303
|
-
tmp = tmp_0.
|
|
2302
|
+
tmp = tmp_0.j2d(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2304
2303
|
} else {
|
|
2305
|
-
tmp = this$0.
|
|
2304
|
+
tmp = this$0.l2i_1;
|
|
2306
2305
|
}
|
|
2307
2306
|
var context = tmp;
|
|
2308
|
-
return this$0.
|
|
2307
|
+
return this$0.m2i_1(context, $prop.callableName);
|
|
2309
2308
|
};
|
|
2310
2309
|
}
|
|
2311
2310
|
function DIProperty(trigger, originalContext, get) {
|
|
2312
|
-
this.
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2311
|
+
this.k2i_1 = trigger;
|
|
2312
|
+
this.l2i_1 = originalContext;
|
|
2313
|
+
this.m2i_1 = get;
|
|
2315
2314
|
}
|
|
2316
|
-
protoOf(DIProperty).
|
|
2315
|
+
protoOf(DIProperty).n2i = function (receiver, prop) {
|
|
2317
2316
|
// Inline function 'kotlin.also' call
|
|
2318
2317
|
var this_0 = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2319
2318
|
// Inline function 'kotlin.contracts.contract' call
|
|
2320
2319
|
// Inline function 'org.kodein.di.DIProperty.provideDelegate.<anonymous>' call
|
|
2321
|
-
var tmp0_safe_receiver = this.
|
|
2322
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2320
|
+
var tmp0_safe_receiver = this.k2i_1;
|
|
2321
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o2i_1;
|
|
2323
2322
|
if (tmp1_safe_receiver == null)
|
|
2324
2323
|
null;
|
|
2325
2324
|
else
|
|
2326
|
-
tmp1_safe_receiver.
|
|
2325
|
+
tmp1_safe_receiver.e(this_0);
|
|
2327
2326
|
return this_0;
|
|
2328
2327
|
};
|
|
2329
2328
|
function DirectDIImpl(container, context) {
|
|
@@ -2336,28 +2335,28 @@
|
|
|
2336
2335
|
return ArrayList_init_$Create$();
|
|
2337
2336
|
}
|
|
2338
2337
|
//region block: post-declaration
|
|
2339
|
-
protoOf(Provider).
|
|
2340
|
-
protoOf(Provider).
|
|
2341
|
-
protoOf(Provider).
|
|
2342
|
-
protoOf(Provider).
|
|
2343
|
-
protoOf(Provider).
|
|
2344
|
-
protoOf(Provider).
|
|
2345
|
-
protoOf(Singleton).
|
|
2346
|
-
protoOf(Singleton).
|
|
2347
|
-
protoOf(Singleton).
|
|
2348
|
-
protoOf(Singleton).
|
|
2349
|
-
protoOf(DIBuilderImpl).
|
|
2350
|
-
protoOf(DIContainerImpl).
|
|
2351
|
-
protoOf(DIContainerImpl).
|
|
2352
|
-
protoOf(DIContainerImpl).
|
|
2353
|
-
protoOf(DIContainerImpl).
|
|
2354
|
-
protoOf(DIContainerImpl).
|
|
2355
|
-
protoOf(DIContainerImpl).
|
|
2356
|
-
protoOf(DIImpl).
|
|
2357
|
-
protoOf(DIImpl).
|
|
2358
|
-
protoOf(DIImpl).
|
|
2359
|
-
protoOf(DITreeImpl).
|
|
2360
|
-
protoOf(DirectDIBaseImpl).
|
|
2338
|
+
protoOf(Provider).p2e = get_argType;
|
|
2339
|
+
protoOf(Provider).o2e = factoryFullName;
|
|
2340
|
+
protoOf(Provider).x2c = get_scope;
|
|
2341
|
+
protoOf(Provider).g2c = get_description;
|
|
2342
|
+
protoOf(Provider).i2c = get_fullDescription;
|
|
2343
|
+
protoOf(Provider).r2e = get_supportSubTypes;
|
|
2344
|
+
protoOf(Singleton).p2e = get_argType;
|
|
2345
|
+
protoOf(Singleton).g2c = get_description;
|
|
2346
|
+
protoOf(Singleton).i2c = get_fullDescription;
|
|
2347
|
+
protoOf(Singleton).r2e = get_supportSubTypes;
|
|
2348
|
+
protoOf(DIBuilderImpl).u2c = import$default;
|
|
2349
|
+
protoOf(DIContainerImpl).t2d = factoryOrNull$default;
|
|
2350
|
+
protoOf(DIContainerImpl).r2d = factory$default;
|
|
2351
|
+
protoOf(DIContainerImpl).u2d = provider;
|
|
2352
|
+
protoOf(DIContainerImpl).o2d = provider$default;
|
|
2353
|
+
protoOf(DIContainerImpl).v2d = providerOrNull;
|
|
2354
|
+
protoOf(DIContainerImpl).p2d = providerOrNull$default;
|
|
2355
|
+
protoOf(DIImpl).c2d = get_di;
|
|
2356
|
+
protoOf(DIImpl).e2d = get_diContext;
|
|
2357
|
+
protoOf(DIImpl).f2d = get_diTrigger;
|
|
2358
|
+
protoOf(DITreeImpl).z2d = find$default;
|
|
2359
|
+
protoOf(DirectDIBaseImpl).c2d = get_di_0;
|
|
2361
2360
|
//endregion
|
|
2362
2361
|
//region block: init
|
|
2363
2362
|
Companion_instance = new Companion();
|