game_client_logic_deb 1.6.20 → 1.6.37
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/88b0986a7186d029-atomicfu-js-ir.js +32 -32
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kodein-kodein-di.js +827 -886
- package/Kodein-kodein-di.js.map +1 -1
- package/KosiTypeSystem-kaverit.js +103 -103
- package/KosiTypeSystem-kaverit.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +133 -127
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +2165 -1964
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18802 -17111
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +151 -29
- package/Logic_Debertz-game_client.js +6337 -6180
- package/Logic_Debertz-game_client.js.map +1 -1
- package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +11036 -10874
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2423 -2420
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1686 -1750
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3441 -3563
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +50 -49
- package/uuid-js-ir.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
package/Kodein-kodein-di.js
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './KosiTypeSystem-kaverit.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./KosiTypeSystem-kaverit.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof this['kotlin-kotlin-stdlib
|
|
8
|
-
throw new Error("Error loading module 'Kodein-kodein-di'. Its dependency 'kotlin-kotlin-stdlib
|
|
7
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'Kodein-kodein-di'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Kodein-kodein-di'.");
|
|
9
9
|
}
|
|
10
10
|
if (typeof this['KosiTypeSystem-kaverit'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'Kodein-kodein-di'. Its dependency 'KosiTypeSystem-kaverit' was not found. Please, check whether 'KosiTypeSystem-kaverit' is loaded prior to 'Kodein-kodein-di'.");
|
|
12
12
|
}
|
|
13
|
-
root['Kodein-kodein-di'] = factory(typeof this['Kodein-kodein-di'] === 'undefined' ? {} : this['Kodein-kodein-di'], this['kotlin-kotlin-stdlib
|
|
13
|
+
root['Kodein-kodein-di'] = factory(typeof this['Kodein-kodein-di'] === 'undefined' ? {} : this['Kodein-kodein-di'], this['kotlin-kotlin-stdlib'], this['KosiTypeSystem-kaverit']);
|
|
14
14
|
}
|
|
15
15
|
}(this, 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 classMeta = kotlin_kotlin.$_$.
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
24
|
-
var first = kotlin_kotlin.$_$.
|
|
25
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
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.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.ka;
|
|
20
|
+
var classMeta = kotlin_kotlin.$_$.h9;
|
|
21
|
+
var setMetadataFor = kotlin_kotlin.$_$.la;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.f;
|
|
23
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
24
|
+
var first = kotlin_kotlin.$_$.k6;
|
|
25
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
26
|
+
var Unit_instance = kotlin_kotlin.$_$.t4;
|
|
27
|
+
var filterNotNull = kotlin_kotlin.$_$.h6;
|
|
28
|
+
var sorted = kotlin_kotlin.$_$.t7;
|
|
29
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
30
|
+
var repeat = kotlin_kotlin.$_$.pb;
|
|
31
|
+
var ensureNotNull = kotlin_kotlin.$_$.qd;
|
|
32
|
+
var KProperty1 = kotlin_kotlin.$_$.za;
|
|
33
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.o9;
|
|
34
|
+
var toString = kotlin_kotlin.$_$.be;
|
|
35
35
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
36
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
38
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
39
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
40
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
41
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
44
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
45
|
-
var
|
|
46
|
-
var
|
|
36
|
+
var equals = kotlin_kotlin.$_$.k9;
|
|
37
|
+
var objectCreate = kotlin_kotlin.$_$.ia;
|
|
38
|
+
var RuntimeException = kotlin_kotlin.$_$.yc;
|
|
39
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.v1;
|
|
40
|
+
var captureStack = kotlin_kotlin.$_$.c9;
|
|
41
|
+
var hashCode = kotlin_kotlin.$_$.q9;
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.zc;
|
|
43
|
+
var interfaceMeta = kotlin_kotlin.$_$.r9;
|
|
44
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
45
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.m9;
|
|
46
|
+
var getStringHashCode = kotlin_kotlin.$_$.p9;
|
|
47
|
+
var objectMeta = kotlin_kotlin.$_$.ja;
|
|
47
48
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
48
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
49
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
49
|
+
var isInterface = kotlin_kotlin.$_$.z9;
|
|
50
|
+
var joinToString = kotlin_kotlin.$_$.t6;
|
|
50
51
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
var
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
79
|
-
var
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
var
|
|
83
|
-
var getOrNull = kotlin_kotlin.$_$.l6;
|
|
52
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
53
|
+
var toString_0 = kotlin_kotlin.$_$.pa;
|
|
54
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
55
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
56
|
+
var charSequenceLength = kotlin_kotlin.$_$.f9;
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.oc;
|
|
58
|
+
var Map = kotlin_kotlin.$_$.c5;
|
|
59
|
+
var listOf = kotlin_kotlin.$_$.c7;
|
|
60
|
+
var plus = kotlin_kotlin.$_$.l7;
|
|
61
|
+
var emptyList = kotlin_kotlin.$_$.e6;
|
|
62
|
+
var plus_0 = kotlin_kotlin.$_$.m7;
|
|
63
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.l5;
|
|
64
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g2;
|
|
65
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.m5;
|
|
66
|
+
var mapCapacity = kotlin_kotlin.$_$.e7;
|
|
67
|
+
var coerceAtLeast = kotlin_kotlin.$_$.sa;
|
|
68
|
+
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
69
|
+
var to = kotlin_kotlin.$_$.ce;
|
|
70
|
+
var KProperty0 = kotlin_kotlin.$_$.ya;
|
|
71
|
+
var lazy = kotlin_kotlin.$_$.vd;
|
|
72
|
+
var asSequence = kotlin_kotlin.$_$.j5;
|
|
73
|
+
var filter = kotlin_kotlin.$_$.bb;
|
|
74
|
+
var flatMap = kotlin_kotlin.$_$.db;
|
|
75
|
+
var mapNotNull = kotlin_kotlin.$_$.eb;
|
|
76
|
+
var map = kotlin_kotlin.$_$.fb;
|
|
77
|
+
var toList = kotlin_kotlin.$_$.gb;
|
|
78
|
+
var Triple = kotlin_kotlin.$_$.bd;
|
|
79
|
+
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.n;
|
|
80
|
+
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
81
|
+
var Collection = kotlin_kotlin.$_$.v4;
|
|
82
|
+
var addAll = kotlin_kotlin.$_$.h5;
|
|
83
|
+
var getOrNull = kotlin_kotlin.$_$.n6;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
setMetadataFor(DIDefining, 'DIDefining', classMeta);
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
allowOverride = allowOverride === VOID ? false : allowOverride;
|
|
94
94
|
var tmp;
|
|
95
95
|
if ($super === VOID) {
|
|
96
|
-
this.
|
|
97
|
-
tmp =
|
|
96
|
+
this.n29(module_0, allowOverride);
|
|
97
|
+
tmp = Unit_instance;
|
|
98
98
|
} else {
|
|
99
|
-
tmp = $super.
|
|
99
|
+
tmp = $super.n29.call(this, module_0, allowOverride);
|
|
100
100
|
}
|
|
101
101
|
return tmp;
|
|
102
102
|
}
|
|
@@ -121,112 +121,100 @@
|
|
|
121
121
|
setMetadataFor(DIWrapper, 'DIWrapper', classMeta, 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.j2a(key, context, overrideLevel) : $super.j2a.call(this, key, context, overrideLevel);
|
|
125
125
|
}
|
|
126
126
|
function provider(key, context, overrideLevel) {
|
|
127
|
-
var tmp$ret$0;
|
|
128
127
|
// Inline function 'org.kodein.di.toProvider' call
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
return tmp$ret$0;
|
|
128
|
+
var this_0 = this.k2a(key, context);
|
|
129
|
+
return DIContainer$provider$lambda(this_0);
|
|
132
130
|
}
|
|
133
131
|
function provider$default(key, context, overrideLevel, $super) {
|
|
134
132
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
135
|
-
return $super === VOID ? this.
|
|
133
|
+
return $super === VOID ? this.l2a(key, context, overrideLevel) : provider(key, context, overrideLevel);
|
|
136
134
|
}
|
|
137
135
|
setMetadataFor(DIContainer, 'DIContainer', interfaceMeta);
|
|
138
136
|
function find$default(key, overrideLevel, all, $super) {
|
|
139
137
|
overrideLevel = overrideLevel === VOID ? 0 : overrideLevel;
|
|
140
138
|
all = all === VOID ? false : all;
|
|
141
|
-
return $super === VOID ? this.
|
|
139
|
+
return $super === VOID ? this.o2a(key, overrideLevel, all) : $super.o2a.call(this, key, overrideLevel, all);
|
|
142
140
|
}
|
|
143
141
|
setMetadataFor(DITree, 'DITree', interfaceMeta);
|
|
144
142
|
function get_di_0() {
|
|
145
|
-
return this.
|
|
143
|
+
return this.s2a();
|
|
146
144
|
}
|
|
147
145
|
setMetadataFor(DirectDIBase, 'DirectDIBase', interfaceMeta);
|
|
148
146
|
setMetadataFor(NoDefinedTag, 'NoDefinedTag', objectMeta);
|
|
149
|
-
setMetadataFor(SearchSpecs, 'SearchSpecs', classMeta);
|
|
147
|
+
setMetadataFor(SearchSpecs, 'SearchSpecs', classMeta, VOID, VOID, SearchSpecs);
|
|
150
148
|
setMetadataFor(NoArgBindingDIWrap, 'NoArgBindingDIWrap', classMeta, VOID, [DirectDIBase]);
|
|
151
149
|
setMetadataFor(ErasedContext, 'ErasedContext', objectMeta, VOID, [DIContext]);
|
|
152
150
|
setMetadataFor(DIBinding$Copier$Companion$invoke$1, VOID, classMeta);
|
|
153
151
|
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
154
152
|
function factoryFullName() {
|
|
155
|
-
return this.
|
|
153
|
+
return this.d2b();
|
|
156
154
|
}
|
|
157
155
|
function get_scope() {
|
|
158
156
|
return null;
|
|
159
157
|
}
|
|
160
158
|
function get_description() {
|
|
161
|
-
var arg = !equals(this.
|
|
159
|
+
var arg = !equals(this.f2b(), Companion_getInstance().j28_1) ? this.f2b().y27() + ' -> ' : '';
|
|
162
160
|
var tmp;
|
|
163
|
-
var tmp_0 = this.
|
|
161
|
+
var tmp_0 = this.r29();
|
|
164
162
|
if (tmp_0 instanceof NoScope) {
|
|
165
163
|
tmp = null;
|
|
166
164
|
} else {
|
|
167
|
-
tmp = this.
|
|
165
|
+
tmp = this.r29();
|
|
168
166
|
}
|
|
169
167
|
var scope = tmp;
|
|
170
|
-
var tmp0_safe_receiver = scope;
|
|
171
168
|
var tmp_1;
|
|
172
|
-
if (
|
|
169
|
+
if (scope == null) {
|
|
173
170
|
tmp_1 = null;
|
|
174
171
|
} else {
|
|
175
|
-
var tmp$ret$1;
|
|
176
172
|
// Inline function 'kotlin.let' call
|
|
177
173
|
// Inline function 'kotlin.contracts.contract' call
|
|
178
|
-
var tmp$ret$0;
|
|
179
174
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
180
|
-
|
|
181
|
-
tmp$ret$1 = tmp$ret$0;
|
|
182
|
-
tmp_1 = tmp$ret$1;
|
|
175
|
+
tmp_1 = 'scoped(' + erasedOf(scope).y27() + ').';
|
|
183
176
|
}
|
|
184
177
|
var tmp1_elvis_lhs = tmp_1;
|
|
185
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
186
|
-
return context + this.
|
|
178
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.p29(), Companion_getInstance().k28_1) ? 'contexted<' + this.p29().y27() + '>().' : '' : tmp1_elvis_lhs;
|
|
179
|
+
return context + this.d2b() + ' { ' + arg + this.g2b().y27() + ' }';
|
|
187
180
|
}
|
|
188
181
|
function get_fullDescription() {
|
|
189
|
-
var arg = !equals(this.
|
|
182
|
+
var arg = !equals(this.f2b(), Companion_getInstance().j28_1) ? this.f2b().a28() + ' -> ' : '';
|
|
190
183
|
var tmp;
|
|
191
|
-
var tmp_0 = this.
|
|
184
|
+
var tmp_0 = this.r29();
|
|
192
185
|
if (tmp_0 instanceof NoScope) {
|
|
193
186
|
tmp = null;
|
|
194
187
|
} else {
|
|
195
|
-
tmp = this.
|
|
188
|
+
tmp = this.r29();
|
|
196
189
|
}
|
|
197
190
|
var scope = tmp;
|
|
198
|
-
var tmp0_safe_receiver = scope;
|
|
199
191
|
var tmp_1;
|
|
200
|
-
if (
|
|
192
|
+
if (scope == null) {
|
|
201
193
|
tmp_1 = null;
|
|
202
194
|
} else {
|
|
203
|
-
var tmp$ret$1;
|
|
204
195
|
// Inline function 'kotlin.let' call
|
|
205
196
|
// Inline function 'kotlin.contracts.contract' call
|
|
206
|
-
var tmp$ret$0;
|
|
207
197
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
208
|
-
|
|
209
|
-
tmp$ret$1 = tmp$ret$0;
|
|
210
|
-
tmp_1 = tmp$ret$1;
|
|
198
|
+
tmp_1 = 'scoped(' + erasedOf(scope).a28() + ').';
|
|
211
199
|
}
|
|
212
200
|
var tmp1_elvis_lhs = tmp_1;
|
|
213
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
214
|
-
return context + this.
|
|
201
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.p29(), Companion_getInstance().k28_1) ? 'contexted<' + this.p29().a28() + '>().' : '' : tmp1_elvis_lhs;
|
|
202
|
+
return context + this.e2b() + ' { ' + arg + this.g2b().a28() + ' }';
|
|
215
203
|
}
|
|
216
204
|
function get_supportSubTypes() {
|
|
217
205
|
return false;
|
|
218
206
|
}
|
|
219
207
|
setMetadataFor(DIBinding, 'DIBinding', interfaceMeta);
|
|
220
208
|
function get_argType() {
|
|
221
|
-
return Companion_getInstance().
|
|
209
|
+
return Companion_getInstance().j28_1;
|
|
222
210
|
}
|
|
223
211
|
setMetadataFor(NoArgDIBinding, 'NoArgDIBinding', interfaceMeta, VOID, [DIBinding]);
|
|
224
212
|
setMetadataFor(SingletonReference, 'SingletonReference', objectMeta);
|
|
225
213
|
setMetadataFor(Reference, 'Reference', classMeta);
|
|
226
214
|
setMetadataFor(ContextTranslator, 'ContextTranslator', interfaceMeta);
|
|
227
215
|
setMetadataFor(ScopeRegistry, 'ScopeRegistry', classMeta);
|
|
228
|
-
setMetadataFor(NoScope, 'NoScope', classMeta);
|
|
229
|
-
setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry);
|
|
216
|
+
setMetadataFor(NoScope, 'NoScope', classMeta, VOID, VOID, NoScope);
|
|
217
|
+
setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry, VOID, StandardScopeRegistry);
|
|
230
218
|
setMetadataFor(CompositeContextTranslator, 'CompositeContextTranslator', classMeta, VOID, [ContextTranslator]);
|
|
231
219
|
setMetadataFor(Singleton, 'Singleton', classMeta, VOID, [NoArgDIBinding]);
|
|
232
220
|
setMetadataFor(Provider, 'Provider', classMeta, VOID, [NoArgDIBinding]);
|
|
@@ -255,7 +243,7 @@
|
|
|
255
243
|
//endregion
|
|
256
244
|
function DIDefinition(binding, fromModule, tree) {
|
|
257
245
|
DIDefining.call(this, binding, fromModule);
|
|
258
|
-
this.
|
|
246
|
+
this.r28_1 = tree;
|
|
259
247
|
}
|
|
260
248
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
261
249
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
@@ -263,59 +251,59 @@
|
|
|
263
251
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindDescription$factory(), description$factory());
|
|
264
252
|
}
|
|
265
253
|
function DIDefining(binding, fromModule) {
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
254
|
+
this.s28_1 = binding;
|
|
255
|
+
this.t28_1 = fromModule;
|
|
268
256
|
}
|
|
269
257
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
270
258
|
// Inline function 'kotlin.collections.groupBy' call
|
|
271
|
-
var tmp0_groupBy = _this__u8e3s4.o();
|
|
272
259
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
273
|
-
var
|
|
274
|
-
var
|
|
275
|
-
|
|
276
|
-
|
|
260
|
+
var this_0 = _this__u8e3s4.m2();
|
|
261
|
+
var destination = LinkedHashMap_init_$Create$();
|
|
262
|
+
var tmp0_iterator = this_0.v();
|
|
263
|
+
while (tmp0_iterator.w()) {
|
|
264
|
+
var element = tmp0_iterator.y();
|
|
277
265
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
278
|
-
var key = first(element.
|
|
266
|
+
var key = first(element.o2()).t28_1;
|
|
279
267
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
280
|
-
var value =
|
|
268
|
+
var value = destination.t2(key);
|
|
281
269
|
var tmp;
|
|
282
270
|
if (value == null) {
|
|
283
271
|
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
284
272
|
var answer = ArrayList_init_$Create$();
|
|
285
|
-
|
|
273
|
+
destination.k2(key, answer);
|
|
286
274
|
tmp = answer;
|
|
287
275
|
} else {
|
|
288
276
|
tmp = value;
|
|
289
277
|
}
|
|
290
278
|
var list = tmp;
|
|
291
|
-
list.
|
|
279
|
+
list.s(element);
|
|
292
280
|
}
|
|
293
|
-
var byModule =
|
|
294
|
-
var modules = sorted(filterNotNull(byModule.
|
|
281
|
+
var byModule = destination;
|
|
282
|
+
var modules = sorted(filterNotNull(byModule.j2()));
|
|
295
283
|
// Inline function 'kotlin.text.buildString' call
|
|
296
284
|
// Inline function 'kotlin.contracts.contract' call
|
|
297
285
|
// Inline function 'kotlin.apply' call
|
|
298
|
-
var
|
|
286
|
+
var this_1 = StringBuilder_init_$Create$();
|
|
299
287
|
// Inline function 'kotlin.contracts.contract' call
|
|
300
288
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
301
|
-
var tmp0_safe_receiver = byModule.
|
|
289
|
+
var tmp0_safe_receiver = byModule.t2(null);
|
|
302
290
|
if (tmp0_safe_receiver == null)
|
|
303
291
|
null;
|
|
304
292
|
else {
|
|
305
293
|
// Inline function 'kotlin.let' call
|
|
306
294
|
// Inline function 'kotlin.contracts.contract' call
|
|
307
|
-
descriptionImpl$appendBindings(
|
|
295
|
+
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident, tmp0_safe_receiver);
|
|
308
296
|
}
|
|
309
297
|
// Inline function 'kotlin.collections.forEach' call
|
|
310
|
-
var tmp0_iterator_0 = modules.
|
|
311
|
-
while (tmp0_iterator_0.
|
|
312
|
-
var element_0 = tmp0_iterator_0.
|
|
298
|
+
var tmp0_iterator_0 = modules.v();
|
|
299
|
+
while (tmp0_iterator_0.w()) {
|
|
300
|
+
var element_0 = tmp0_iterator_0.y();
|
|
313
301
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>.<anonymous>' call
|
|
314
|
-
|
|
315
|
-
descriptionImpl$appendBindings(
|
|
316
|
-
|
|
302
|
+
this_1.e5(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
|
|
303
|
+
descriptionImpl$appendBindings(this_1, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.t2(element_0)));
|
|
304
|
+
this_1.e5(repeat(' ', ident) + '}\n');
|
|
317
305
|
}
|
|
318
|
-
return
|
|
306
|
+
return this_1.toString();
|
|
319
307
|
}
|
|
320
308
|
function fullDescription(_this__u8e3s4, withOverrides, ident) {
|
|
321
309
|
withOverrides = withOverrides === VOID ? false : withOverrides;
|
|
@@ -323,67 +311,67 @@
|
|
|
323
311
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindFullDescription$factory(), fullDescription$factory());
|
|
324
312
|
}
|
|
325
313
|
function descriptionImpl$appendBindings(_this__u8e3s4, $keyBindDisp, $bindingDisp, $withOverrides, ident, entries) {
|
|
326
|
-
var tmp0_iterator = entries.
|
|
327
|
-
while (tmp0_iterator.
|
|
328
|
-
var element = tmp0_iterator.
|
|
314
|
+
var tmp0_iterator = entries.v();
|
|
315
|
+
while (tmp0_iterator.w()) {
|
|
316
|
+
var element = tmp0_iterator.y();
|
|
329
317
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>' call
|
|
330
|
-
var keyDescription = $keyBindDisp(element.
|
|
331
|
-
_this__u8e3s4.
|
|
318
|
+
var keyDescription = $keyBindDisp(element.n2());
|
|
319
|
+
_this__u8e3s4.e5(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.o2()).s28_1) + ' }');
|
|
332
320
|
if ($withOverrides) {
|
|
333
321
|
var subIdent = keyDescription.length - 4 | 0;
|
|
334
322
|
// Inline function 'kotlin.collections.forEach' call
|
|
335
|
-
var tmp0_iterator_0 = element.
|
|
336
|
-
while (tmp0_iterator_0.
|
|
337
|
-
var element_0 = tmp0_iterator_0.
|
|
323
|
+
var tmp0_iterator_0 = element.o2().a2(1, element.o2().n()).v();
|
|
324
|
+
while (tmp0_iterator_0.w()) {
|
|
325
|
+
var element_0 = tmp0_iterator_0.y();
|
|
338
326
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>.<anonymous>' call
|
|
339
|
-
_this__u8e3s4.
|
|
327
|
+
_this__u8e3s4.e5(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.s28_1));
|
|
340
328
|
}
|
|
341
329
|
}
|
|
342
|
-
_this__u8e3s4.
|
|
330
|
+
_this__u8e3s4.e5('\n');
|
|
343
331
|
}
|
|
344
|
-
return
|
|
332
|
+
return Unit_instance;
|
|
345
333
|
}
|
|
346
334
|
function bindDescription$factory() {
|
|
347
335
|
return getPropertyCallableRef('bindDescription', 1, KProperty1, function (receiver) {
|
|
348
|
-
return receiver.
|
|
336
|
+
return receiver.z28();
|
|
349
337
|
}, null);
|
|
350
338
|
}
|
|
351
339
|
function description$factory() {
|
|
352
340
|
return getPropertyCallableRef('description', 1, KProperty1, function (receiver) {
|
|
353
|
-
return receiver.
|
|
341
|
+
return receiver.a29();
|
|
354
342
|
}, null);
|
|
355
343
|
}
|
|
356
344
|
function bindFullDescription$factory() {
|
|
357
345
|
return getPropertyCallableRef('bindFullDescription', 1, KProperty1, function (receiver) {
|
|
358
|
-
return receiver.
|
|
346
|
+
return receiver.b29();
|
|
359
347
|
}, null);
|
|
360
348
|
}
|
|
361
349
|
function fullDescription$factory() {
|
|
362
350
|
return getPropertyCallableRef('fullDescription', 1, KProperty1, function (receiver) {
|
|
363
|
-
return receiver.
|
|
351
|
+
return receiver.c29();
|
|
364
352
|
}, null);
|
|
365
353
|
}
|
|
366
354
|
function appendDescription(_this__u8e3s4, $this, displayString) {
|
|
367
|
-
if (!($this.
|
|
368
|
-
_this__u8e3s4.
|
|
355
|
+
if (!($this.x28_1 == null)) {
|
|
356
|
+
_this__u8e3s4.e5(' tagged "' + toString($this.x28_1) + '"');
|
|
369
357
|
}
|
|
370
|
-
if (!equals($this.
|
|
371
|
-
_this__u8e3s4.
|
|
358
|
+
if (!equals($this.u28_1, Companion_getInstance().k28_1)) {
|
|
359
|
+
_this__u8e3s4.e5(' on context ' + displayString($this.u28_1));
|
|
372
360
|
}
|
|
373
|
-
if (!equals($this.
|
|
374
|
-
_this__u8e3s4.
|
|
361
|
+
if (!equals($this.v28_1, Companion_getInstance().j28_1)) {
|
|
362
|
+
_this__u8e3s4.e5(', with argument ' + displayString($this.v28_1));
|
|
375
363
|
}
|
|
376
364
|
}
|
|
377
365
|
function TypeToken$simpleDispString$ref() {
|
|
378
366
|
var l = function (p0) {
|
|
379
|
-
return p0.
|
|
367
|
+
return p0.y27();
|
|
380
368
|
};
|
|
381
369
|
l.callableName = 'simpleDispString';
|
|
382
370
|
return l;
|
|
383
371
|
}
|
|
384
372
|
function TypeToken$qualifiedDispString$ref() {
|
|
385
373
|
var l = function (p0) {
|
|
386
|
-
return p0.
|
|
374
|
+
return p0.a28();
|
|
387
375
|
};
|
|
388
376
|
l.callableName = 'qualifiedDispString';
|
|
389
377
|
return l;
|
|
@@ -392,7 +380,7 @@
|
|
|
392
380
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
393
381
|
prefix = prefix === VOID ? '' : prefix;
|
|
394
382
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
395
|
-
$this.
|
|
383
|
+
$this.g29_1 = name;
|
|
396
384
|
return $this;
|
|
397
385
|
}
|
|
398
386
|
function Module_init_$Create$(name, allowSilentOverride, prefix, init) {
|
|
@@ -405,95 +393,95 @@
|
|
|
405
393
|
function NotFoundException(key, message) {
|
|
406
394
|
RuntimeException_init_$Init$(message, this);
|
|
407
395
|
captureStack(this, NotFoundException);
|
|
408
|
-
this.
|
|
396
|
+
this.h29_1 = key;
|
|
409
397
|
}
|
|
410
398
|
function OverridingException(message) {
|
|
411
399
|
RuntimeException_init_$Init$(message, this);
|
|
412
400
|
captureStack(this, OverridingException);
|
|
413
401
|
}
|
|
414
402
|
function Key(contextType, argType, type, tag) {
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
403
|
+
this.u28_1 = contextType;
|
|
404
|
+
this.v28_1 = argType;
|
|
405
|
+
this.w28_1 = type;
|
|
406
|
+
this.x28_1 = tag;
|
|
407
|
+
this.y28_1 = 0;
|
|
420
408
|
}
|
|
421
409
|
protoOf(Key).hashCode = function () {
|
|
422
|
-
if (this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
410
|
+
if (this.y28_1 === 0) {
|
|
411
|
+
this.y28_1 = hashCode(this.u28_1);
|
|
412
|
+
this.y28_1 = imul(31, this.y28_1) + hashCode(this.v28_1) | 0;
|
|
413
|
+
this.y28_1 = imul(29, hashCode(this.w28_1));
|
|
426
414
|
var tmp = this;
|
|
427
|
-
var tmp_0 = imul(23, this.
|
|
428
|
-
var tmp0_safe_receiver = this.
|
|
415
|
+
var tmp_0 = imul(23, this.y28_1);
|
|
416
|
+
var tmp0_safe_receiver = this.x28_1;
|
|
429
417
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
430
|
-
tmp.
|
|
418
|
+
tmp.y28_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
431
419
|
}
|
|
432
|
-
return this.
|
|
420
|
+
return this.y28_1;
|
|
433
421
|
};
|
|
434
422
|
protoOf(Key).toString = function () {
|
|
435
|
-
return this.
|
|
423
|
+
return this.a29();
|
|
436
424
|
};
|
|
437
|
-
protoOf(Key).
|
|
425
|
+
protoOf(Key).z28 = function () {
|
|
438
426
|
// Inline function 'kotlin.text.buildString' call
|
|
439
427
|
// Inline function 'kotlin.contracts.contract' call
|
|
440
428
|
// Inline function 'kotlin.apply' call
|
|
441
|
-
var
|
|
429
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
442
430
|
// Inline function 'kotlin.contracts.contract' call
|
|
443
431
|
// Inline function 'org.kodein.di.Key.<get-bindDescription>.<anonymous>' call
|
|
444
|
-
|
|
445
|
-
if (!(this.
|
|
446
|
-
|
|
432
|
+
this_0.e5('bind<' + this.w28_1.y27() + '>');
|
|
433
|
+
if (!(this.x28_1 == null)) {
|
|
434
|
+
this_0.e5('(tag = "' + toString(this.x28_1) + '")');
|
|
447
435
|
}
|
|
448
|
-
return
|
|
436
|
+
return this_0.toString();
|
|
449
437
|
};
|
|
450
|
-
protoOf(Key).
|
|
438
|
+
protoOf(Key).b29 = function () {
|
|
451
439
|
// Inline function 'kotlin.text.buildString' call
|
|
452
440
|
// Inline function 'kotlin.contracts.contract' call
|
|
453
441
|
// Inline function 'kotlin.apply' call
|
|
454
|
-
var
|
|
442
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
455
443
|
// Inline function 'kotlin.contracts.contract' call
|
|
456
444
|
// Inline function 'org.kodein.di.Key.<get-bindFullDescription>.<anonymous>' call
|
|
457
|
-
|
|
458
|
-
if (!(this.
|
|
459
|
-
|
|
445
|
+
this_0.e5('bind<' + this.w28_1.a28() + '>');
|
|
446
|
+
if (!(this.x28_1 == null)) {
|
|
447
|
+
this_0.e5('(tag = "' + toString(this.x28_1) + '")');
|
|
460
448
|
}
|
|
461
|
-
return
|
|
449
|
+
return this_0.toString();
|
|
462
450
|
};
|
|
463
|
-
protoOf(Key).
|
|
451
|
+
protoOf(Key).a29 = function () {
|
|
464
452
|
// Inline function 'kotlin.text.buildString' call
|
|
465
453
|
// Inline function 'kotlin.contracts.contract' call
|
|
466
454
|
// Inline function 'kotlin.apply' call
|
|
467
|
-
var
|
|
455
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
468
456
|
// Inline function 'kotlin.contracts.contract' call
|
|
469
457
|
// Inline function 'org.kodein.di.Key.<get-description>.<anonymous>' call
|
|
470
|
-
|
|
471
|
-
appendDescription(
|
|
472
|
-
return
|
|
458
|
+
this_0.e5(this.w28_1.y27());
|
|
459
|
+
appendDescription(this_0, this, TypeToken$simpleDispString$ref());
|
|
460
|
+
return this_0.toString();
|
|
473
461
|
};
|
|
474
|
-
protoOf(Key).
|
|
475
|
-
return '(context: ' + this.
|
|
462
|
+
protoOf(Key).i29 = function () {
|
|
463
|
+
return '(context: ' + this.u28_1.y27() + ', arg: ' + this.v28_1.y27() + ', type: ' + this.w28_1.y27() + ', tag: ' + toString(this.x28_1) + ')';
|
|
476
464
|
};
|
|
477
|
-
protoOf(Key).
|
|
465
|
+
protoOf(Key).c29 = function () {
|
|
478
466
|
// Inline function 'kotlin.text.buildString' call
|
|
479
467
|
// Inline function 'kotlin.contracts.contract' call
|
|
480
468
|
// Inline function 'kotlin.apply' call
|
|
481
|
-
var
|
|
469
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
482
470
|
// Inline function 'kotlin.contracts.contract' call
|
|
483
471
|
// Inline function 'org.kodein.di.Key.<get-fullDescription>.<anonymous>' call
|
|
484
|
-
|
|
485
|
-
appendDescription(
|
|
486
|
-
return
|
|
472
|
+
this_0.e5(this.w28_1.a28());
|
|
473
|
+
appendDescription(this_0, this, TypeToken$qualifiedDispString$ref());
|
|
474
|
+
return this_0.toString();
|
|
487
475
|
};
|
|
488
|
-
protoOf(Key).
|
|
476
|
+
protoOf(Key).j29 = function (contextType, argType, type, tag) {
|
|
489
477
|
return new Key(contextType, argType, type, tag);
|
|
490
478
|
};
|
|
491
|
-
protoOf(Key).
|
|
492
|
-
contextType = contextType === VOID ? this.
|
|
493
|
-
argType = argType === VOID ? this.
|
|
494
|
-
type = type === VOID ? this.
|
|
495
|
-
tag = tag === VOID ? this.
|
|
496
|
-
return $super === VOID ? this.
|
|
479
|
+
protoOf(Key).k29 = function (contextType, argType, type, tag, $super) {
|
|
480
|
+
contextType = contextType === VOID ? this.u28_1 : contextType;
|
|
481
|
+
argType = argType === VOID ? this.v28_1 : argType;
|
|
482
|
+
type = type === VOID ? this.w28_1 : type;
|
|
483
|
+
tag = tag === VOID ? this.x28_1 : tag;
|
|
484
|
+
return $super === VOID ? this.j29(contextType, argType, type, tag) : $super.j29.call(this, contextType, argType, type, tag);
|
|
497
485
|
};
|
|
498
486
|
protoOf(Key).equals = function (other) {
|
|
499
487
|
if (this === other)
|
|
@@ -501,13 +489,13 @@
|
|
|
501
489
|
if (!(other instanceof Key))
|
|
502
490
|
return false;
|
|
503
491
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
504
|
-
if (!equals(this.
|
|
492
|
+
if (!equals(this.u28_1, tmp0_other_with_cast.u28_1))
|
|
505
493
|
return false;
|
|
506
|
-
if (!equals(this.
|
|
494
|
+
if (!equals(this.v28_1, tmp0_other_with_cast.v28_1))
|
|
507
495
|
return false;
|
|
508
|
-
if (!equals(this.
|
|
496
|
+
if (!equals(this.w28_1, tmp0_other_with_cast.w28_1))
|
|
509
497
|
return false;
|
|
510
|
-
if (!equals(this.
|
|
498
|
+
if (!equals(this.x28_1, tmp0_other_with_cast.x28_1))
|
|
511
499
|
return false;
|
|
512
500
|
return true;
|
|
513
501
|
};
|
|
@@ -516,13 +504,13 @@
|
|
|
516
504
|
function Module(allowSilentOverride, prefix, init) {
|
|
517
505
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
518
506
|
prefix = prefix === VOID ? '' : prefix;
|
|
519
|
-
this.
|
|
520
|
-
this.
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
507
|
+
this.d29_1 = allowSilentOverride;
|
|
508
|
+
this.e29_1 = prefix;
|
|
509
|
+
this.f29_1 = init;
|
|
510
|
+
this.g29_1 = null;
|
|
523
511
|
}
|
|
524
|
-
protoOf(Module).
|
|
525
|
-
var tmp0_elvis_lhs = this.
|
|
512
|
+
protoOf(Module).z8 = function () {
|
|
513
|
+
var tmp0_elvis_lhs = this.g29_1;
|
|
526
514
|
var tmp;
|
|
527
515
|
if (tmp0_elvis_lhs == null) {
|
|
528
516
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -532,12 +520,12 @@
|
|
|
532
520
|
return tmp;
|
|
533
521
|
};
|
|
534
522
|
protoOf(Module).toString = function () {
|
|
535
|
-
return 'Module(allowSilentOverride=' + this.
|
|
523
|
+
return 'Module(allowSilentOverride=' + this.d29_1 + ', prefix=' + this.e29_1 + ', init=' + this.f29_1 + ')';
|
|
536
524
|
};
|
|
537
525
|
protoOf(Module).hashCode = function () {
|
|
538
|
-
var result = this.
|
|
539
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
540
|
-
result = imul(result, 31) + hashCode(this.
|
|
526
|
+
var result = getBooleanHashCode(this.d29_1);
|
|
527
|
+
result = imul(result, 31) + getStringHashCode(this.e29_1) | 0;
|
|
528
|
+
result = imul(result, 31) + hashCode(this.f29_1) | 0;
|
|
541
529
|
return result;
|
|
542
530
|
};
|
|
543
531
|
protoOf(Module).equals = function (other) {
|
|
@@ -546,55 +534,52 @@
|
|
|
546
534
|
if (!(other instanceof Module))
|
|
547
535
|
return false;
|
|
548
536
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
549
|
-
if (!(this.
|
|
537
|
+
if (!(this.d29_1 === tmp0_other_with_cast.d29_1))
|
|
550
538
|
return false;
|
|
551
|
-
if (!(this.
|
|
539
|
+
if (!(this.e29_1 === tmp0_other_with_cast.e29_1))
|
|
552
540
|
return false;
|
|
553
|
-
if (!equals(this.
|
|
541
|
+
if (!equals(this.f29_1, tmp0_other_with_cast.f29_1))
|
|
554
542
|
return false;
|
|
555
543
|
return true;
|
|
556
544
|
};
|
|
557
545
|
function Companion() {
|
|
558
|
-
|
|
559
|
-
this.
|
|
560
|
-
this.n28_1 = false;
|
|
546
|
+
this.s29_1 = false;
|
|
547
|
+
this.t29_1 = false;
|
|
561
548
|
}
|
|
562
|
-
protoOf(Companion).
|
|
549
|
+
protoOf(Companion).u29 = function (allowSilentOverride, init) {
|
|
563
550
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
564
551
|
};
|
|
565
|
-
protoOf(Companion).
|
|
552
|
+
protoOf(Companion).v29 = function (allowSilentOverride, init, $super) {
|
|
566
553
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
567
|
-
return $super === VOID ? this.
|
|
554
|
+
return $super === VOID ? this.u29(allowSilentOverride, init) : $super.u29.call(this, allowSilentOverride, init);
|
|
568
555
|
};
|
|
569
556
|
var Companion_instance;
|
|
570
557
|
function Companion_getInstance_0() {
|
|
571
|
-
if (Companion_instance == null)
|
|
572
|
-
new Companion();
|
|
573
558
|
return Companion_instance;
|
|
574
559
|
}
|
|
575
560
|
function DI() {
|
|
576
561
|
}
|
|
577
562
|
function get_direct(_this__u8e3s4) {
|
|
578
|
-
return new DirectDIImpl(_this__u8e3s4.
|
|
563
|
+
return new DirectDIImpl(_this__u8e3s4.w29().x29(), _this__u8e3s4.y29());
|
|
579
564
|
}
|
|
580
565
|
function DIAware() {
|
|
581
566
|
}
|
|
582
567
|
function Value(type, value) {
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
568
|
+
this.a2a_1 = type;
|
|
569
|
+
this.b2a_1 = value;
|
|
585
570
|
}
|
|
586
|
-
protoOf(Value).
|
|
587
|
-
return this.
|
|
571
|
+
protoOf(Value).c2a = function () {
|
|
572
|
+
return this.a2a_1;
|
|
588
573
|
};
|
|
589
|
-
protoOf(Value).
|
|
590
|
-
return this.
|
|
574
|
+
protoOf(Value).o2 = function () {
|
|
575
|
+
return this.b2a_1;
|
|
591
576
|
};
|
|
592
577
|
protoOf(Value).toString = function () {
|
|
593
|
-
return 'Value(type=' + this.
|
|
578
|
+
return 'Value(type=' + this.a2a_1 + ', value=' + this.b2a_1 + ')';
|
|
594
579
|
};
|
|
595
580
|
protoOf(Value).hashCode = function () {
|
|
596
|
-
var result = hashCode(this.
|
|
597
|
-
result = imul(result, 31) + hashCode(this.
|
|
581
|
+
var result = hashCode(this.a2a_1);
|
|
582
|
+
result = imul(result, 31) + hashCode(this.b2a_1) | 0;
|
|
598
583
|
return result;
|
|
599
584
|
};
|
|
600
585
|
protoOf(Value).equals = function (other) {
|
|
@@ -603,38 +588,35 @@
|
|
|
603
588
|
if (!(other instanceof Value))
|
|
604
589
|
return false;
|
|
605
590
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
606
|
-
if (!equals(this.
|
|
591
|
+
if (!equals(this.a2a_1, tmp0_other_with_cast.a2a_1))
|
|
607
592
|
return false;
|
|
608
|
-
if (!equals(this.
|
|
593
|
+
if (!equals(this.b2a_1, tmp0_other_with_cast.b2a_1))
|
|
609
594
|
return false;
|
|
610
595
|
return true;
|
|
611
596
|
};
|
|
612
597
|
function Companion_0() {
|
|
613
|
-
Companion_instance_0 = this;
|
|
614
598
|
}
|
|
615
|
-
protoOf(Companion_0).
|
|
599
|
+
protoOf(Companion_0).d2a = function (type, value) {
|
|
616
600
|
return new Value(type, value);
|
|
617
601
|
};
|
|
618
602
|
var Companion_instance_0;
|
|
619
603
|
function Companion_getInstance_1() {
|
|
620
|
-
if (Companion_instance_0 == null)
|
|
621
|
-
new Companion_0();
|
|
622
604
|
return Companion_instance_0;
|
|
623
605
|
}
|
|
624
606
|
function DIContext() {
|
|
625
607
|
}
|
|
626
608
|
function Instance(_this__u8e3s4, type, tag) {
|
|
627
609
|
tag = tag === VOID ? null : tag;
|
|
628
|
-
var tmp = _this__u8e3s4.
|
|
629
|
-
var tmp_0 = _this__u8e3s4.
|
|
610
|
+
var tmp = _this__u8e3s4.z29();
|
|
611
|
+
var tmp_0 = _this__u8e3s4.y29();
|
|
630
612
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
631
613
|
}
|
|
632
614
|
function get_AnyDIContext() {
|
|
633
|
-
return Contexes_getInstance().
|
|
615
|
+
return Contexes_getInstance().e2a_1;
|
|
634
616
|
}
|
|
635
617
|
function Contexes() {
|
|
636
618
|
Contexes_instance = this;
|
|
637
|
-
this.
|
|
619
|
+
this.e2a_1 = Companion_instance_0.d2a(Companion_getInstance().k28_1, new Object());
|
|
638
620
|
}
|
|
639
621
|
var Contexes_instance;
|
|
640
622
|
function Contexes_getInstance() {
|
|
@@ -643,14 +625,14 @@
|
|
|
643
625
|
return Contexes_instance;
|
|
644
626
|
}
|
|
645
627
|
function On(_this__u8e3s4, context, trigger) {
|
|
646
|
-
context = context === VOID ? _this__u8e3s4.
|
|
647
|
-
trigger = trigger === VOID ? _this__u8e3s4.
|
|
628
|
+
context = context === VOID ? _this__u8e3s4.y29() : context;
|
|
629
|
+
trigger = trigger === VOID ? _this__u8e3s4.z29() : trigger;
|
|
648
630
|
return DIWrapper_init_$Create$(_this__u8e3s4, context, trigger);
|
|
649
631
|
}
|
|
650
632
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
651
|
-
diContext = diContext === VOID ? base.
|
|
652
|
-
trigger = trigger === VOID ? base.
|
|
653
|
-
DIWrapper.call($this, base.
|
|
633
|
+
diContext = diContext === VOID ? base.y29() : diContext;
|
|
634
|
+
trigger = trigger === VOID ? base.z29() : trigger;
|
|
635
|
+
DIWrapper.call($this, base.w29(), diContext, trigger);
|
|
654
636
|
return $this;
|
|
655
637
|
}
|
|
656
638
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
@@ -658,35 +640,34 @@
|
|
|
658
640
|
}
|
|
659
641
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
660
642
|
diTrigger = diTrigger === VOID ? null : diTrigger;
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
643
|
+
this.f2a_1 = _base;
|
|
644
|
+
this.g2a_1 = diContext;
|
|
645
|
+
this.h2a_1 = diTrigger;
|
|
664
646
|
}
|
|
665
|
-
protoOf(DIWrapper).
|
|
666
|
-
return this.
|
|
647
|
+
protoOf(DIWrapper).y29 = function () {
|
|
648
|
+
return this.g2a_1;
|
|
667
649
|
};
|
|
668
|
-
protoOf(DIWrapper).
|
|
669
|
-
return this.
|
|
650
|
+
protoOf(DIWrapper).z29 = function () {
|
|
651
|
+
return this.h2a_1;
|
|
670
652
|
};
|
|
671
|
-
protoOf(DIWrapper).
|
|
653
|
+
protoOf(DIWrapper).w29 = function () {
|
|
672
654
|
return this;
|
|
673
655
|
};
|
|
674
|
-
protoOf(DIWrapper).
|
|
675
|
-
return this.
|
|
656
|
+
protoOf(DIWrapper).x29 = function () {
|
|
657
|
+
return this.f2a_1.x29();
|
|
676
658
|
};
|
|
677
659
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
678
660
|
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
679
|
-
var tmp = $this_Instance.
|
|
680
|
-
var tmp$ret$0;
|
|
661
|
+
var tmp = $this_Instance.w29().x29();
|
|
681
662
|
// Inline function 'org.kodein.di.anyType' call
|
|
682
|
-
var tmp_0 = ctx.
|
|
683
|
-
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
684
|
-
return tmp.
|
|
663
|
+
var tmp_0 = ctx.c2a();
|
|
664
|
+
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
665
|
+
return tmp.i2a(new Key(tmp$ret$0, Companion_getInstance().j28_1, $type, $tag), ctx.o2())();
|
|
685
666
|
};
|
|
686
667
|
}
|
|
687
|
-
function DIContainer$provider$lambda($
|
|
668
|
+
function DIContainer$provider$lambda($this) {
|
|
688
669
|
return function () {
|
|
689
|
-
return $
|
|
670
|
+
return $this(Unit_instance);
|
|
690
671
|
};
|
|
691
672
|
}
|
|
692
673
|
function DIContainer() {
|
|
@@ -696,97 +677,88 @@
|
|
|
696
677
|
function DirectDIBase() {
|
|
697
678
|
}
|
|
698
679
|
function NoDefinedTag() {
|
|
699
|
-
NoDefinedTag_instance = this;
|
|
700
680
|
}
|
|
701
681
|
var NoDefinedTag_instance;
|
|
702
682
|
function NoDefinedTag_getInstance() {
|
|
703
|
-
if (NoDefinedTag_instance == null)
|
|
704
|
-
new NoDefinedTag();
|
|
705
683
|
return NoDefinedTag_instance;
|
|
706
684
|
}
|
|
707
685
|
function SearchSpecs(contextType, argType, type, tag) {
|
|
708
686
|
contextType = contextType === VOID ? null : contextType;
|
|
709
687
|
argType = argType === VOID ? null : argType;
|
|
710
688
|
type = type === VOID ? null : type;
|
|
711
|
-
tag = tag === VOID ?
|
|
712
|
-
this.
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
715
|
-
this.
|
|
689
|
+
tag = tag === VOID ? NoDefinedTag_instance : tag;
|
|
690
|
+
this.w2a_1 = contextType;
|
|
691
|
+
this.x2a_1 = argType;
|
|
692
|
+
this.y2a_1 = type;
|
|
693
|
+
this.z2a_1 = tag;
|
|
716
694
|
}
|
|
717
695
|
protoOf(SearchSpecs).toString = function () {
|
|
718
696
|
var args = ArrayList_init_$Create$();
|
|
719
|
-
if (!(this.
|
|
697
|
+
if (!(this.w2a_1 == null)) {
|
|
720
698
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
721
|
-
var tmp0_safe_receiver = this.
|
|
722
|
-
var
|
|
723
|
-
args.
|
|
699
|
+
var tmp0_safe_receiver = this.w2a_1;
|
|
700
|
+
var element = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y27());
|
|
701
|
+
args.s(element);
|
|
724
702
|
}
|
|
725
|
-
if (!(this.
|
|
703
|
+
if (!(this.x2a_1 == null)) {
|
|
726
704
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
727
|
-
var tmp1_safe_receiver = this.
|
|
728
|
-
var
|
|
729
|
-
args.
|
|
705
|
+
var tmp1_safe_receiver = this.x2a_1;
|
|
706
|
+
var element_0 = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.y27());
|
|
707
|
+
args.s(element_0);
|
|
730
708
|
}
|
|
731
|
-
if (!(this.
|
|
709
|
+
if (!(this.y2a_1 == null)) {
|
|
732
710
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
733
|
-
var tmp2_safe_receiver = this.
|
|
734
|
-
var
|
|
735
|
-
args.
|
|
711
|
+
var tmp2_safe_receiver = this.y2a_1;
|
|
712
|
+
var element_1 = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.y27());
|
|
713
|
+
args.s(element_1);
|
|
736
714
|
}
|
|
737
|
-
if (!equals(this.
|
|
715
|
+
if (!equals(this.z2a_1, NoDefinedTag_instance)) {
|
|
738
716
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
739
|
-
var
|
|
740
|
-
args.
|
|
717
|
+
var element_2 = 'tag=' + toString(this.z2a_1);
|
|
718
|
+
args.s(element_2);
|
|
741
719
|
}
|
|
742
720
|
return '[' + joinToString(args, ', ') + ']';
|
|
743
721
|
};
|
|
744
722
|
function NoArgBindingDIWrap(_di) {
|
|
745
|
-
this.
|
|
723
|
+
this.a2b_1 = _di;
|
|
746
724
|
}
|
|
747
|
-
protoOf(NoArgBindingDIWrap).
|
|
748
|
-
return this.
|
|
725
|
+
protoOf(NoArgBindingDIWrap).w29 = function () {
|
|
726
|
+
return this.a2b_1.w29();
|
|
749
727
|
};
|
|
750
|
-
protoOf(NoArgBindingDIWrap).
|
|
751
|
-
return this.
|
|
728
|
+
protoOf(NoArgBindingDIWrap).v2a = function () {
|
|
729
|
+
return this.a2b_1.v2a();
|
|
752
730
|
};
|
|
753
|
-
protoOf(NoArgBindingDIWrap).
|
|
754
|
-
return this.
|
|
731
|
+
protoOf(NoArgBindingDIWrap).s2a = function () {
|
|
732
|
+
return this.a2b_1.s2a();
|
|
755
733
|
};
|
|
756
|
-
protoOf(NoArgBindingDIWrap).
|
|
757
|
-
return this.
|
|
734
|
+
protoOf(NoArgBindingDIWrap).u2a = function (type, tag) {
|
|
735
|
+
return this.a2b_1.u2a(type, tag);
|
|
758
736
|
};
|
|
759
|
-
protoOf(NoArgBindingDIWrap).
|
|
760
|
-
return this.
|
|
737
|
+
protoOf(NoArgBindingDIWrap).t2a = function (context) {
|
|
738
|
+
return this.a2b_1.t2a(context);
|
|
761
739
|
};
|
|
762
740
|
function ErasedContext() {
|
|
763
|
-
ErasedContext_instance = this;
|
|
764
741
|
}
|
|
765
|
-
protoOf(ErasedContext).
|
|
766
|
-
return Companion_getInstance().
|
|
742
|
+
protoOf(ErasedContext).c2a = function () {
|
|
743
|
+
return Companion_getInstance().k28_1;
|
|
767
744
|
};
|
|
768
|
-
protoOf(ErasedContext).
|
|
769
|
-
return
|
|
745
|
+
protoOf(ErasedContext).o2 = function () {
|
|
746
|
+
return ErasedContext_instance;
|
|
770
747
|
};
|
|
771
748
|
var ErasedContext_instance;
|
|
772
749
|
function ErasedContext_getInstance() {
|
|
773
|
-
if (ErasedContext_instance == null)
|
|
774
|
-
new ErasedContext();
|
|
775
750
|
return ErasedContext_instance;
|
|
776
751
|
}
|
|
777
752
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
778
|
-
this.
|
|
753
|
+
this.b2b_1 = $f;
|
|
779
754
|
}
|
|
780
755
|
function Companion_1() {
|
|
781
|
-
Companion_instance_1 = this;
|
|
782
756
|
}
|
|
783
|
-
protoOf(Companion_1).
|
|
757
|
+
protoOf(Companion_1).c2b = function (f) {
|
|
784
758
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
785
759
|
};
|
|
786
760
|
var Companion_instance_1;
|
|
787
761
|
function Companion_getInstance_2() {
|
|
788
|
-
if (Companion_instance_1 == null)
|
|
789
|
-
new Companion_1();
|
|
790
762
|
return Companion_instance_1;
|
|
791
763
|
}
|
|
792
764
|
function DIBinding() {
|
|
@@ -799,34 +771,31 @@
|
|
|
799
771
|
};
|
|
800
772
|
}
|
|
801
773
|
function SingletonReference() {
|
|
802
|
-
SingletonReference_instance = this;
|
|
803
774
|
}
|
|
804
|
-
protoOf(SingletonReference).
|
|
775
|
+
protoOf(SingletonReference).j2b = function (creator) {
|
|
805
776
|
var value = creator();
|
|
806
777
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
807
778
|
};
|
|
808
779
|
var SingletonReference_instance;
|
|
809
780
|
function SingletonReference_getInstance() {
|
|
810
|
-
if (SingletonReference_instance == null)
|
|
811
|
-
new SingletonReference();
|
|
812
781
|
return SingletonReference_instance;
|
|
813
782
|
}
|
|
814
783
|
function Reference(current, next) {
|
|
815
|
-
this.
|
|
816
|
-
this.
|
|
784
|
+
this.k2b_1 = current;
|
|
785
|
+
this.l2b_1 = next;
|
|
817
786
|
}
|
|
818
|
-
protoOf(Reference).
|
|
819
|
-
return this.
|
|
787
|
+
protoOf(Reference).oc = function () {
|
|
788
|
+
return this.k2b_1;
|
|
820
789
|
};
|
|
821
|
-
protoOf(Reference).
|
|
822
|
-
return this.
|
|
790
|
+
protoOf(Reference).pc = function () {
|
|
791
|
+
return this.l2b_1;
|
|
823
792
|
};
|
|
824
793
|
protoOf(Reference).toString = function () {
|
|
825
|
-
return 'Reference(current=' + this.
|
|
794
|
+
return 'Reference(current=' + this.k2b_1 + ', next=' + this.l2b_1 + ')';
|
|
826
795
|
};
|
|
827
796
|
protoOf(Reference).hashCode = function () {
|
|
828
|
-
var result = hashCode(this.
|
|
829
|
-
result = imul(result, 31) + hashCode(this.
|
|
797
|
+
var result = hashCode(this.k2b_1);
|
|
798
|
+
result = imul(result, 31) + hashCode(this.l2b_1) | 0;
|
|
830
799
|
return result;
|
|
831
800
|
};
|
|
832
801
|
protoOf(Reference).equals = function (other) {
|
|
@@ -835,9 +804,9 @@
|
|
|
835
804
|
if (!(other instanceof Reference))
|
|
836
805
|
return false;
|
|
837
806
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
838
|
-
if (!equals(this.
|
|
807
|
+
if (!equals(this.k2b_1, tmp0_other_with_cast.k2b_1))
|
|
839
808
|
return false;
|
|
840
|
-
if (!equals(this.
|
|
809
|
+
if (!equals(this.l2b_1, tmp0_other_with_cast.l2b_1))
|
|
841
810
|
return false;
|
|
842
811
|
return true;
|
|
843
812
|
};
|
|
@@ -846,26 +815,26 @@
|
|
|
846
815
|
function ScopeRegistry() {
|
|
847
816
|
}
|
|
848
817
|
function NoScope() {
|
|
849
|
-
this.
|
|
818
|
+
this.p2b_1 = new StandardScopeRegistry();
|
|
850
819
|
}
|
|
851
|
-
protoOf(NoScope).
|
|
852
|
-
return this.
|
|
820
|
+
protoOf(NoScope).q2b = function (context) {
|
|
821
|
+
return this.p2b_1;
|
|
853
822
|
};
|
|
854
|
-
protoOf(NoScope).
|
|
855
|
-
return this.
|
|
823
|
+
protoOf(NoScope).r2b = function (context) {
|
|
824
|
+
return this.q2b((context == null ? true : !(context == null)) ? context : THROW_CCE());
|
|
856
825
|
};
|
|
857
826
|
function StandardScopeRegistry() {
|
|
858
827
|
ScopeRegistry.call(this);
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
828
|
+
this.s2b_1 = newConcurrentMap();
|
|
829
|
+
this.t2b_1 = new Object();
|
|
861
830
|
}
|
|
862
|
-
protoOf(StandardScopeRegistry).
|
|
831
|
+
protoOf(StandardScopeRegistry).o2b = function (key, sync, creator) {
|
|
863
832
|
var tmp$ret$2;
|
|
864
833
|
$l$block_1: {
|
|
865
834
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
866
|
-
sync && this.
|
|
835
|
+
sync && this.t2b_1;
|
|
867
836
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
868
|
-
var tmp0_safe_receiver = this.
|
|
837
|
+
var tmp0_safe_receiver = this.s2b_1.t2(key);
|
|
869
838
|
var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
870
839
|
if (tmp0_safe_receiver_0 == null)
|
|
871
840
|
null;
|
|
@@ -881,7 +850,7 @@
|
|
|
881
850
|
$l$block_0: {
|
|
882
851
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
|
|
883
852
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
884
|
-
var tmp0_safe_receiver_1 = this.
|
|
853
|
+
var tmp0_safe_receiver_1 = this.s2b_1.t2(key);
|
|
885
854
|
var tmp0_safe_receiver_2 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
886
855
|
if (tmp0_safe_receiver_2 == null)
|
|
887
856
|
null;
|
|
@@ -893,10 +862,10 @@
|
|
|
893
862
|
}
|
|
894
863
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
895
864
|
var tmp0_container = creator();
|
|
896
|
-
var current = tmp0_container.
|
|
897
|
-
var next = tmp0_container.
|
|
865
|
+
var current = tmp0_container.oc();
|
|
866
|
+
var next = tmp0_container.pc();
|
|
898
867
|
// Inline function 'kotlin.collections.set' call
|
|
899
|
-
this.
|
|
868
|
+
this.s2b_1.k2(key, next);
|
|
900
869
|
tmp$ret$2 = current;
|
|
901
870
|
break $l$block_1;
|
|
902
871
|
}
|
|
@@ -907,7 +876,7 @@
|
|
|
907
876
|
return tmp$ret$2;
|
|
908
877
|
};
|
|
909
878
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
910
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
879
|
+
var tmp0_safe_receiver = _this__u8e3s4.n2b(di, ctx);
|
|
911
880
|
var tmp;
|
|
912
881
|
if (tmp0_safe_receiver == null) {
|
|
913
882
|
tmp = null;
|
|
@@ -915,22 +884,22 @@
|
|
|
915
884
|
// Inline function 'kotlin.let' call
|
|
916
885
|
// Inline function 'kotlin.contracts.contract' call
|
|
917
886
|
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
918
|
-
tmp =
|
|
887
|
+
tmp = Companion_instance_0.d2a(_this__u8e3s4.m2b(), tmp0_safe_receiver);
|
|
919
888
|
}
|
|
920
889
|
return tmp;
|
|
921
890
|
}
|
|
922
891
|
function CompositeContextTranslator(src, dst) {
|
|
923
|
-
this.
|
|
924
|
-
this.
|
|
892
|
+
this.u2b_1 = src;
|
|
893
|
+
this.v2b_1 = dst;
|
|
925
894
|
}
|
|
926
|
-
protoOf(CompositeContextTranslator).
|
|
927
|
-
return this.
|
|
895
|
+
protoOf(CompositeContextTranslator).p29 = function () {
|
|
896
|
+
return this.u2b_1.p29();
|
|
928
897
|
};
|
|
929
|
-
protoOf(CompositeContextTranslator).
|
|
930
|
-
return this.
|
|
898
|
+
protoOf(CompositeContextTranslator).m2b = function () {
|
|
899
|
+
return this.v2b_1.m2b();
|
|
931
900
|
};
|
|
932
|
-
protoOf(CompositeContextTranslator).
|
|
933
|
-
var tmp0_safe_receiver = this.
|
|
901
|
+
protoOf(CompositeContextTranslator).n2b = function (di, ctx) {
|
|
902
|
+
var tmp0_safe_receiver = this.u2b_1.n2b(di, ctx);
|
|
934
903
|
var tmp;
|
|
935
904
|
if (tmp0_safe_receiver == null) {
|
|
936
905
|
tmp = null;
|
|
@@ -938,35 +907,35 @@
|
|
|
938
907
|
// Inline function 'kotlin.let' call
|
|
939
908
|
// Inline function 'kotlin.contracts.contract' call
|
|
940
909
|
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
941
|
-
tmp = this.
|
|
910
|
+
tmp = this.v2b_1.n2b(di, tmp0_safe_receiver);
|
|
942
911
|
}
|
|
943
912
|
return tmp;
|
|
944
913
|
};
|
|
945
914
|
protoOf(CompositeContextTranslator).toString = function () {
|
|
946
|
-
return '(' + this.
|
|
915
|
+
return '(' + this.u2b_1 + ' -> ' + this.v2b_1 + ')';
|
|
947
916
|
};
|
|
948
917
|
function factoryName($this, params) {
|
|
949
918
|
// Inline function 'kotlin.text.buildString' call
|
|
950
919
|
// Inline function 'kotlin.contracts.contract' call
|
|
951
920
|
// Inline function 'kotlin.apply' call
|
|
952
|
-
var
|
|
921
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
953
922
|
// Inline function 'kotlin.contracts.contract' call
|
|
954
923
|
// Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
|
|
955
|
-
|
|
924
|
+
this_0.e5('singleton');
|
|
956
925
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
957
|
-
if (!params.
|
|
958
|
-
|
|
926
|
+
if (!params.c1()) {
|
|
927
|
+
this_0.e5(joinToString(params, ', ', '(', ')'));
|
|
959
928
|
}
|
|
960
|
-
return
|
|
929
|
+
return this_0.toString();
|
|
961
930
|
}
|
|
962
931
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
963
932
|
return function () {
|
|
964
|
-
return this$0.
|
|
933
|
+
return this$0.b2c_1(new NoArgBindingDIWrap($bindingDi));
|
|
965
934
|
};
|
|
966
935
|
}
|
|
967
936
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
968
937
|
return function () {
|
|
969
|
-
return this$0.
|
|
938
|
+
return this$0.c2c_1.j2b(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
970
939
|
};
|
|
971
940
|
}
|
|
972
941
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -974,109 +943,107 @@
|
|
|
974
943
|
var tmp0_elvis_lhs = $lateInitRegistry._v;
|
|
975
944
|
var tmp;
|
|
976
945
|
if (tmp0_elvis_lhs == null) {
|
|
977
|
-
var tmp$ret$0;
|
|
978
946
|
// Inline function 'kotlin.also' call
|
|
979
|
-
var
|
|
947
|
+
var this_0 = this$0.w2b_1.r2b($bindingDi.ma());
|
|
980
948
|
// Inline function 'kotlin.contracts.contract' call
|
|
981
949
|
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
982
|
-
$lateInitRegistry._v =
|
|
983
|
-
tmp
|
|
984
|
-
tmp = tmp$ret$0;
|
|
950
|
+
$lateInitRegistry._v = this_0;
|
|
951
|
+
tmp = this_0;
|
|
985
952
|
} else {
|
|
986
953
|
tmp = tmp0_elvis_lhs;
|
|
987
954
|
}
|
|
988
955
|
var registry = tmp;
|
|
989
|
-
var tmp_0 = registry.
|
|
990
|
-
return
|
|
956
|
+
var tmp_0 = registry.o2b(this$0.d2c_1, this$0.a2c_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
957
|
+
return !(tmp_0 == null) ? tmp_0 : THROW_CCE();
|
|
991
958
|
};
|
|
992
959
|
}
|
|
993
960
|
function Singleton$copier$lambda(this$0) {
|
|
994
961
|
return function (it) {
|
|
995
|
-
return new Singleton(this$0.
|
|
962
|
+
return new Singleton(this$0.w2b_1, this$0.x2b_1, this$0.y2b_1, this$0.z2b_1, this$0.c2c_1, this$0.a2c_1, this$0.b2c_1);
|
|
996
963
|
};
|
|
997
964
|
}
|
|
998
965
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
999
966
|
refMaker = refMaker === VOID ? null : refMaker;
|
|
1000
967
|
sync = sync === VOID ? true : sync;
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1005
|
-
this.
|
|
1006
|
-
this.
|
|
968
|
+
this.w2b_1 = scope;
|
|
969
|
+
this.x2b_1 = contextType;
|
|
970
|
+
this.y2b_1 = explicitContext;
|
|
971
|
+
this.z2b_1 = createdType;
|
|
972
|
+
this.a2c_1 = sync;
|
|
973
|
+
this.b2c_1 = creator;
|
|
1007
974
|
var tmp = this;
|
|
1008
|
-
tmp.
|
|
1009
|
-
this.
|
|
975
|
+
tmp.c2c_1 = refMaker == null ? SingletonReference_instance : refMaker;
|
|
976
|
+
this.d2c_1 = new ScopeKey(new Object(), Unit_instance);
|
|
1010
977
|
var tmp_0 = this;
|
|
1011
|
-
var tmp_1 =
|
|
1012
|
-
tmp_0.
|
|
978
|
+
var tmp_1 = Companion_instance_1;
|
|
979
|
+
tmp_0.e2c_1 = tmp_1.c2b(Singleton$copier$lambda(this));
|
|
1013
980
|
}
|
|
1014
|
-
protoOf(Singleton).
|
|
1015
|
-
return this.
|
|
981
|
+
protoOf(Singleton).r29 = function () {
|
|
982
|
+
return this.w2b_1;
|
|
1016
983
|
};
|
|
1017
|
-
protoOf(Singleton).
|
|
1018
|
-
return this.
|
|
984
|
+
protoOf(Singleton).p29 = function () {
|
|
985
|
+
return this.x2b_1;
|
|
1019
986
|
};
|
|
1020
|
-
protoOf(Singleton).
|
|
1021
|
-
return this.
|
|
987
|
+
protoOf(Singleton).g2b = function () {
|
|
988
|
+
return this.z2b_1;
|
|
1022
989
|
};
|
|
1023
|
-
protoOf(Singleton).
|
|
990
|
+
protoOf(Singleton).d2b = function () {
|
|
1024
991
|
var params = ArrayList_init_$Create$_0(2);
|
|
1025
|
-
if (!equals(this.
|
|
1026
|
-
params.
|
|
992
|
+
if (!equals(this.c2c_1, SingletonReference_instance)) {
|
|
993
|
+
params.s('ref = ' + erasedOf(this.c2c_1).y27());
|
|
1027
994
|
}
|
|
1028
995
|
return factoryName(this, params);
|
|
1029
996
|
};
|
|
1030
|
-
protoOf(Singleton).
|
|
997
|
+
protoOf(Singleton).e2b = function () {
|
|
1031
998
|
var params = ArrayList_init_$Create$_0(2);
|
|
1032
|
-
if (!equals(this.
|
|
1033
|
-
params.
|
|
999
|
+
if (!equals(this.c2c_1, SingletonReference_instance)) {
|
|
1000
|
+
params.s('ref = ' + erasedOf(this.c2c_1).a28());
|
|
1034
1001
|
}
|
|
1035
1002
|
return factoryName(this, params);
|
|
1036
1003
|
};
|
|
1037
|
-
protoOf(Singleton).
|
|
1004
|
+
protoOf(Singleton).f2c = function (key, di) {
|
|
1038
1005
|
var lateInitRegistry = {_v: null};
|
|
1039
|
-
var bindingDi = this.
|
|
1006
|
+
var bindingDi = this.y2b_1 ? di : di.g2c();
|
|
1040
1007
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1041
1008
|
};
|
|
1042
|
-
protoOf(Singleton).
|
|
1043
|
-
return this.
|
|
1009
|
+
protoOf(Singleton).i2b = function (key, di) {
|
|
1010
|
+
return this.f2c(key, di);
|
|
1044
1011
|
};
|
|
1045
1012
|
function Provider$getFactory$lambda(this$0, $di) {
|
|
1046
1013
|
return function (_anonymous_parameter_0__qggqh8) {
|
|
1047
|
-
return this$0.
|
|
1014
|
+
return this$0.j2c_1(new NoArgBindingDIWrap($di));
|
|
1048
1015
|
};
|
|
1049
1016
|
}
|
|
1050
1017
|
function Provider(contextType, createdType, creator) {
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1018
|
+
this.h2c_1 = contextType;
|
|
1019
|
+
this.i2c_1 = createdType;
|
|
1020
|
+
this.j2c_1 = creator;
|
|
1054
1021
|
}
|
|
1055
|
-
protoOf(Provider).
|
|
1056
|
-
return this.
|
|
1022
|
+
protoOf(Provider).p29 = function () {
|
|
1023
|
+
return this.h2c_1;
|
|
1057
1024
|
};
|
|
1058
|
-
protoOf(Provider).
|
|
1059
|
-
return this.
|
|
1025
|
+
protoOf(Provider).g2b = function () {
|
|
1026
|
+
return this.i2c_1;
|
|
1060
1027
|
};
|
|
1061
|
-
protoOf(Provider).
|
|
1028
|
+
protoOf(Provider).d2b = function () {
|
|
1062
1029
|
return 'provider';
|
|
1063
1030
|
};
|
|
1064
|
-
protoOf(Provider).
|
|
1031
|
+
protoOf(Provider).f2c = function (key, di) {
|
|
1065
1032
|
return Provider$getFactory$lambda(this, di);
|
|
1066
1033
|
};
|
|
1067
|
-
protoOf(Provider).
|
|
1068
|
-
return this.
|
|
1034
|
+
protoOf(Provider).i2b = function (key, di) {
|
|
1035
|
+
return this.f2c(key, di);
|
|
1069
1036
|
};
|
|
1070
1037
|
function ScopeKey(scopeId, arg) {
|
|
1071
|
-
this.
|
|
1072
|
-
this.
|
|
1038
|
+
this.k2c_1 = scopeId;
|
|
1039
|
+
this.l2c_1 = arg;
|
|
1073
1040
|
}
|
|
1074
1041
|
protoOf(ScopeKey).toString = function () {
|
|
1075
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1042
|
+
return 'ScopeKey(scopeId=' + toString_0(this.k2c_1) + ', arg=' + this.l2c_1 + ')';
|
|
1076
1043
|
};
|
|
1077
1044
|
protoOf(ScopeKey).hashCode = function () {
|
|
1078
|
-
var result = hashCode(this.
|
|
1079
|
-
result = imul(result, 31) + (this.
|
|
1045
|
+
var result = hashCode(this.k2c_1);
|
|
1046
|
+
result = imul(result, 31) + (this.l2c_1 == null ? 0 : hashCode(this.l2c_1)) | 0;
|
|
1080
1047
|
return result;
|
|
1081
1048
|
};
|
|
1082
1049
|
protoOf(ScopeKey).equals = function (other) {
|
|
@@ -1085,67 +1052,67 @@
|
|
|
1085
1052
|
if (!(other instanceof ScopeKey))
|
|
1086
1053
|
return false;
|
|
1087
1054
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1088
|
-
if (!equals(this.
|
|
1055
|
+
if (!equals(this.k2c_1, tmp0_other_with_cast.k2c_1))
|
|
1089
1056
|
return false;
|
|
1090
|
-
if (!equals(this.
|
|
1057
|
+
if (!equals(this.l2c_1, tmp0_other_with_cast.l2c_1))
|
|
1091
1058
|
return false;
|
|
1092
1059
|
return true;
|
|
1093
1060
|
};
|
|
1094
1061
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1095
1062
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1098
|
-
this.
|
|
1063
|
+
this.r2c_1 = ArrayList_init_$Create$();
|
|
1064
|
+
this.s2c_1 = Companion_instance.s29_1;
|
|
1065
|
+
this.t2c_1 = Companion_instance.t29_1;
|
|
1099
1066
|
}
|
|
1100
|
-
protoOf(DIMainBuilderImpl).
|
|
1101
|
-
return this.
|
|
1067
|
+
protoOf(DIMainBuilderImpl).n2a = function () {
|
|
1068
|
+
return this.r2c_1;
|
|
1102
1069
|
};
|
|
1103
|
-
protoOf(DIMainBuilderImpl).
|
|
1104
|
-
return this.
|
|
1070
|
+
protoOf(DIMainBuilderImpl).u2c = function () {
|
|
1071
|
+
return this.s2c_1;
|
|
1105
1072
|
};
|
|
1106
|
-
protoOf(DIMainBuilderImpl).
|
|
1107
|
-
return this.
|
|
1073
|
+
protoOf(DIMainBuilderImpl).v2c = function () {
|
|
1074
|
+
return this.t2c_1;
|
|
1108
1075
|
};
|
|
1109
1076
|
function TypeBinder($outer, type, tag, overrides) {
|
|
1110
|
-
this.
|
|
1111
|
-
this.
|
|
1112
|
-
this.
|
|
1113
|
-
this.
|
|
1077
|
+
this.e2d_1 = $outer;
|
|
1078
|
+
this.b2d_1 = type;
|
|
1079
|
+
this.c2d_1 = tag;
|
|
1080
|
+
this.d2d_1 = overrides;
|
|
1114
1081
|
}
|
|
1115
|
-
protoOf(TypeBinder).
|
|
1116
|
-
return this.
|
|
1082
|
+
protoOf(TypeBinder).l29 = function () {
|
|
1083
|
+
return this.e2d_1.l29();
|
|
1117
1084
|
};
|
|
1118
|
-
protoOf(TypeBinder).
|
|
1119
|
-
return this.
|
|
1085
|
+
protoOf(TypeBinder).f2d = function (binding) {
|
|
1086
|
+
return this.l29().k2d(new Key(binding.p29(), binding.f2b(), this.b2d_1, this.c2d_1), binding, this.e2d_1.w2c_1, this.d2d_1);
|
|
1120
1087
|
};
|
|
1121
1088
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1122
|
-
this.
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
1089
|
+
this.w2c_1 = moduleName;
|
|
1090
|
+
this.x2c_1 = prefix;
|
|
1091
|
+
this.y2c_1 = importedModules;
|
|
1092
|
+
this.z2c_1 = containerBuilder;
|
|
1093
|
+
this.a2d_1 = Companion_getInstance().k28_1;
|
|
1127
1094
|
}
|
|
1128
|
-
protoOf(DIBuilderImpl).
|
|
1129
|
-
return this.
|
|
1095
|
+
protoOf(DIBuilderImpl).l29 = function () {
|
|
1096
|
+
return this.z2c_1;
|
|
1130
1097
|
};
|
|
1131
|
-
protoOf(DIBuilderImpl).
|
|
1132
|
-
return this.
|
|
1098
|
+
protoOf(DIBuilderImpl).p29 = function () {
|
|
1099
|
+
return this.a2d_1;
|
|
1133
1100
|
};
|
|
1134
|
-
protoOf(DIBuilderImpl).
|
|
1101
|
+
protoOf(DIBuilderImpl).r29 = function () {
|
|
1135
1102
|
return new NoScope();
|
|
1136
1103
|
};
|
|
1137
|
-
protoOf(DIBuilderImpl).
|
|
1104
|
+
protoOf(DIBuilderImpl).q29 = function () {
|
|
1138
1105
|
return false;
|
|
1139
1106
|
};
|
|
1140
|
-
protoOf(DIBuilderImpl).
|
|
1107
|
+
protoOf(DIBuilderImpl).m29 = function (type, tag, overrides) {
|
|
1141
1108
|
return new TypeBinder(this, type, tag, overrides);
|
|
1142
1109
|
};
|
|
1143
|
-
protoOf(DIBuilderImpl).
|
|
1144
|
-
var moduleName = this.
|
|
1110
|
+
protoOf(DIBuilderImpl).n29 = function (module_0, allowOverride) {
|
|
1111
|
+
var moduleName = this.x2c_1 + module_0.z8();
|
|
1145
1112
|
var tmp;
|
|
1146
1113
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1147
1114
|
if (charSequenceLength(moduleName) > 0) {
|
|
1148
|
-
tmp = this.
|
|
1115
|
+
tmp = this.y2c_1.r(moduleName);
|
|
1149
1116
|
} else {
|
|
1150
1117
|
tmp = false;
|
|
1151
1118
|
}
|
|
@@ -1153,20 +1120,20 @@
|
|
|
1153
1120
|
throw IllegalStateException_init_$Create$('Module "' + moduleName + '" has already been imported!');
|
|
1154
1121
|
}
|
|
1155
1122
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1156
|
-
this.
|
|
1123
|
+
this.y2c_1.s(moduleName);
|
|
1157
1124
|
// Inline function 'kotlin.apply' call
|
|
1158
|
-
var
|
|
1125
|
+
var this_0 = new DIBuilderImpl(moduleName, this.x2c_1 + module_0.e29_1, this.y2c_1, this.l29().l2d(allowOverride, module_0.d29_1));
|
|
1159
1126
|
// Inline function 'kotlin.contracts.contract' call
|
|
1160
|
-
module_0.
|
|
1127
|
+
module_0.f29_1(this_0);
|
|
1161
1128
|
};
|
|
1162
1129
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1163
1130
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1164
1131
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1165
1132
|
}
|
|
1166
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1133
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).o2d = function () {
|
|
1167
1134
|
return true;
|
|
1168
1135
|
};
|
|
1169
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).
|
|
1136
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT).p2d = function (overrides) {
|
|
1170
1137
|
return overrides;
|
|
1171
1138
|
};
|
|
1172
1139
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
@@ -1174,10 +1141,10 @@
|
|
|
1174
1141
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1175
1142
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1176
1143
|
}
|
|
1177
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1144
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).o2d = function () {
|
|
1178
1145
|
return true;
|
|
1179
1146
|
};
|
|
1180
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).
|
|
1147
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT).p2d = function (overrides) {
|
|
1181
1148
|
return overrides == null ? false : overrides;
|
|
1182
1149
|
};
|
|
1183
1150
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
@@ -1185,10 +1152,10 @@
|
|
|
1185
1152
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1186
1153
|
OverrideMode_FORBID_instance = this;
|
|
1187
1154
|
}
|
|
1188
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1155
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).o2d = function () {
|
|
1189
1156
|
return false;
|
|
1190
1157
|
};
|
|
1191
|
-
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).
|
|
1158
|
+
protoOf(DIContainerBuilderImpl$OverrideMode$FORBID).p2d = function (overrides) {
|
|
1192
1159
|
var tmp;
|
|
1193
1160
|
if (!(overrides == null) ? overrides : false) {
|
|
1194
1161
|
throw new OverridingException('Overriding has been forbidden');
|
|
@@ -1199,9 +1166,8 @@
|
|
|
1199
1166
|
};
|
|
1200
1167
|
var OverrideMode_FORBID_instance;
|
|
1201
1168
|
function Companion_2() {
|
|
1202
|
-
Companion_instance_2 = this;
|
|
1203
1169
|
}
|
|
1204
|
-
protoOf(Companion_2).
|
|
1170
|
+
protoOf(Companion_2).u2d = function (allow, silent) {
|
|
1205
1171
|
if (!allow)
|
|
1206
1172
|
return OverrideMode_FORBID_getInstance();
|
|
1207
1173
|
if (silent)
|
|
@@ -1210,33 +1176,29 @@
|
|
|
1210
1176
|
};
|
|
1211
1177
|
var Companion_instance_2;
|
|
1212
1178
|
function Companion_getInstance_3() {
|
|
1213
|
-
OverrideMode_initEntries();
|
|
1214
|
-
if (Companion_instance_2 == null)
|
|
1215
|
-
new Companion_2();
|
|
1216
1179
|
return Companion_instance_2;
|
|
1217
1180
|
}
|
|
1218
1181
|
var OverrideMode_entriesInitialized;
|
|
1219
1182
|
function OverrideMode_initEntries() {
|
|
1220
1183
|
if (OverrideMode_entriesInitialized)
|
|
1221
|
-
return
|
|
1184
|
+
return Unit_instance;
|
|
1222
1185
|
OverrideMode_entriesInitialized = true;
|
|
1223
1186
|
OverrideMode_ALLOW_SILENT_instance = new DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT();
|
|
1224
1187
|
OverrideMode_ALLOW_EXPLICIT_instance = new DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT();
|
|
1225
1188
|
OverrideMode_FORBID_instance = new DIContainerBuilderImpl$OverrideMode$FORBID();
|
|
1226
|
-
Companion_getInstance_3();
|
|
1227
1189
|
}
|
|
1228
1190
|
function OverrideMode(name, ordinal) {
|
|
1229
1191
|
Enum.call(this, name, ordinal);
|
|
1230
1192
|
}
|
|
1231
1193
|
function checkOverrides($this, key, overrides) {
|
|
1232
|
-
var mustOverride = $this.
|
|
1194
|
+
var mustOverride = $this.j2d_1.p2d(overrides);
|
|
1233
1195
|
if (!(mustOverride == null)) {
|
|
1234
1196
|
var tmp;
|
|
1235
1197
|
if (mustOverride) {
|
|
1236
1198
|
// Inline function 'kotlin.collections.contains' call
|
|
1237
|
-
var tmp0_contains = $this.e2c_1;
|
|
1238
1199
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1239
|
-
|
|
1200
|
+
var this_0 = $this.g2d_1;
|
|
1201
|
+
tmp = !(isInterface(this_0, Map) ? this_0 : THROW_CCE()).r2(key);
|
|
1240
1202
|
} else {
|
|
1241
1203
|
tmp = false;
|
|
1242
1204
|
}
|
|
@@ -1245,9 +1207,9 @@
|
|
|
1245
1207
|
var tmp_0;
|
|
1246
1208
|
if (!mustOverride) {
|
|
1247
1209
|
// Inline function 'kotlin.collections.contains' call
|
|
1248
|
-
var tmp1_contains = $this.e2c_1;
|
|
1249
1210
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1250
|
-
|
|
1211
|
+
var this_1 = $this.g2d_1;
|
|
1212
|
+
tmp_0 = (isInterface(this_1, Map) ? this_1 : THROW_CCE()).r2(key);
|
|
1251
1213
|
} else {
|
|
1252
1214
|
tmp_0 = false;
|
|
1253
1215
|
}
|
|
@@ -1256,7 +1218,7 @@
|
|
|
1256
1218
|
}
|
|
1257
1219
|
}
|
|
1258
1220
|
function checkMatch($this, allowOverride) {
|
|
1259
|
-
if (!$this.
|
|
1221
|
+
if (!$this.j2d_1.o2d() ? allowOverride : false)
|
|
1260
1222
|
throw new OverridingException('Overriding has been forbidden');
|
|
1261
1223
|
}
|
|
1262
1224
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1272,34 +1234,34 @@
|
|
|
1272
1234
|
return OverrideMode_FORBID_instance;
|
|
1273
1235
|
}
|
|
1274
1236
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1275
|
-
this.
|
|
1276
|
-
this.
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1237
|
+
this.g2d_1 = bindingsMap;
|
|
1238
|
+
this.h2d_1 = callbacks;
|
|
1239
|
+
this.i2d_1 = translators;
|
|
1240
|
+
this.j2d_1 = Companion_instance_2.u2d(allowOverride, silentOverride);
|
|
1279
1241
|
}
|
|
1280
|
-
protoOf(DIContainerBuilderImpl).
|
|
1242
|
+
protoOf(DIContainerBuilderImpl).k2d = function (key, binding, fromModule, overrides) {
|
|
1281
1243
|
checkOverrides(this, key, overrides);
|
|
1282
1244
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1283
|
-
var
|
|
1284
|
-
var value =
|
|
1245
|
+
var this_0 = this.g2d_1;
|
|
1246
|
+
var value = this_0.t2(key);
|
|
1285
1247
|
var tmp;
|
|
1286
1248
|
if (value == null) {
|
|
1287
1249
|
// Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
|
|
1288
1250
|
var answer = newLinkedList();
|
|
1289
|
-
|
|
1251
|
+
this_0.k2(key, answer);
|
|
1290
1252
|
tmp = answer;
|
|
1291
1253
|
} else {
|
|
1292
1254
|
tmp = value;
|
|
1293
1255
|
}
|
|
1294
1256
|
var bindings = tmp;
|
|
1295
|
-
bindings.
|
|
1257
|
+
bindings.u1(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1296
1258
|
};
|
|
1297
|
-
protoOf(DIContainerBuilderImpl).
|
|
1259
|
+
protoOf(DIContainerBuilderImpl).l2d = function (allowOverride, silentOverride) {
|
|
1298
1260
|
checkMatch(this, allowOverride);
|
|
1299
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1261
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.g2d_1, this.h2d_1, this.i2d_1);
|
|
1300
1262
|
};
|
|
1301
1263
|
function displayString($this, key, overrideLevel) {
|
|
1302
|
-
var descProp = $this.
|
|
1264
|
+
var descProp = $this.a2e_1 ? bindFullDescription$factory_0(key) : bindDescription$factory_0(key);
|
|
1303
1265
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1304
1266
|
}
|
|
1305
1267
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1311,13 +1273,13 @@
|
|
|
1311
1273
|
$l$1: do {
|
|
1312
1274
|
$l$0: do {
|
|
1313
1275
|
var tmp;
|
|
1314
|
-
if (node_0.
|
|
1315
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1276
|
+
if (node_0.z2d_1 == null ? true : firstKey_0.equals(node_0.x2d_1) ? firstOverrideLevel_0 === node_0.y2d_1 : false) {
|
|
1277
|
+
tmp = plus(listOf(displayString($this_0, node_0.x2d_1, node_0.y2d_1)), tail_0);
|
|
1316
1278
|
} else {
|
|
1317
1279
|
var tmp0 = $this_0;
|
|
1318
|
-
var tmp4 = plus(listOf(displayString($this_0, node_0.
|
|
1280
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.x2d_1, node_0.y2d_1)), tail_0);
|
|
1319
1281
|
$this_0 = tmp0;
|
|
1320
|
-
node_0 = node_0.
|
|
1282
|
+
node_0 = node_0.z2d_1;
|
|
1321
1283
|
firstKey_0 = firstKey_0;
|
|
1322
1284
|
firstOverrideLevel_0 = firstOverrideLevel_0;
|
|
1323
1285
|
tail_0 = tmp4;
|
|
@@ -1337,13 +1299,13 @@
|
|
|
1337
1299
|
$l$1: do {
|
|
1338
1300
|
$l$0: do {
|
|
1339
1301
|
var tmp;
|
|
1340
|
-
if (node_0.
|
|
1302
|
+
if (node_0.x2d_1.equals(searchedKey_0) ? node_0.y2d_1 === searchedOverrideLevel_0 : false) {
|
|
1341
1303
|
tmp = false;
|
|
1342
|
-
} else if (node_0.
|
|
1304
|
+
} else if (node_0.z2d_1 == null) {
|
|
1343
1305
|
tmp = true;
|
|
1344
1306
|
} else {
|
|
1345
1307
|
$this_0 = $this_0;
|
|
1346
|
-
node_0 = node_0.
|
|
1308
|
+
node_0 = node_0.z2d_1;
|
|
1347
1309
|
searchedKey_0 = searchedKey_0;
|
|
1348
1310
|
searchedOverrideLevel_0 = searchedOverrideLevel_0;
|
|
1349
1311
|
continue $l$0;
|
|
@@ -1355,14 +1317,14 @@
|
|
|
1355
1317
|
while (true);
|
|
1356
1318
|
}
|
|
1357
1319
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1358
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1320
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.g2d_1, externalSources, builder.i2d_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1359
1321
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1360
1322
|
if (runCallbacks)
|
|
1361
1323
|
init();
|
|
1362
1324
|
else {
|
|
1363
1325
|
var lock = new Object();
|
|
1364
1326
|
var tmp = $this;
|
|
1365
|
-
tmp.
|
|
1327
|
+
tmp.f2e_1 = DIContainerImpl$_init_$lambda_r6ib3j_0(lock, $this, init);
|
|
1366
1328
|
}
|
|
1367
1329
|
return $this;
|
|
1368
1330
|
}
|
|
@@ -1370,105 +1332,89 @@
|
|
|
1370
1332
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, objectCreate(protoOf(DIContainerImpl)));
|
|
1371
1333
|
}
|
|
1372
1334
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1373
|
-
this.
|
|
1374
|
-
this.
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1335
|
+
this.x2d_1 = key;
|
|
1336
|
+
this.y2d_1 = overrideLevel;
|
|
1337
|
+
this.z2d_1 = parent;
|
|
1338
|
+
this.a2e_1 = fullDescriptionOnError;
|
|
1377
1339
|
}
|
|
1378
|
-
protoOf(Node).
|
|
1340
|
+
protoOf(Node).g2e = function (searchedKey, searchedOverrideLevel) {
|
|
1379
1341
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1380
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1342
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.y2d_1));
|
|
1381
1343
|
var sb = StringBuilder_init_$Create$();
|
|
1382
1344
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1383
1345
|
var index = 0;
|
|
1384
|
-
var tmp0_iterator = list.
|
|
1385
|
-
while (tmp0_iterator.
|
|
1386
|
-
var item = tmp0_iterator.
|
|
1346
|
+
var tmp0_iterator = list.v();
|
|
1347
|
+
while (tmp0_iterator.w()) {
|
|
1348
|
+
var item = tmp0_iterator.y();
|
|
1387
1349
|
// Inline function 'org.kodein.di.internal.Node.check.<anonymous>' call
|
|
1388
1350
|
var tmp1 = index;
|
|
1389
1351
|
index = tmp1 + 1 | 0;
|
|
1390
|
-
var
|
|
1391
|
-
sb.
|
|
1392
|
-
switch (
|
|
1352
|
+
var index_0 = checkIndexOverflow(tmp1);
|
|
1353
|
+
sb.e5(' ');
|
|
1354
|
+
switch (index_0) {
|
|
1393
1355
|
case 0:
|
|
1394
|
-
sb.
|
|
1356
|
+
sb.e5(' ');
|
|
1395
1357
|
break;
|
|
1396
1358
|
case 1:
|
|
1397
|
-
sb.
|
|
1359
|
+
sb.e5(' \u2554\u2569>');
|
|
1398
1360
|
break;
|
|
1399
1361
|
default:
|
|
1400
|
-
sb.
|
|
1401
|
-
sb.
|
|
1402
|
-
sb.
|
|
1362
|
+
sb.e5(' \u2551');
|
|
1363
|
+
sb.e5(repeat(' ', index_0 - 1 | 0));
|
|
1364
|
+
sb.e5('\u255A>');
|
|
1403
1365
|
break;
|
|
1404
1366
|
}
|
|
1405
|
-
sb.
|
|
1406
|
-
sb.
|
|
1367
|
+
sb.e5(item);
|
|
1368
|
+
sb.e5('\n');
|
|
1407
1369
|
}
|
|
1408
|
-
sb.
|
|
1409
|
-
sb.
|
|
1410
|
-
sb.
|
|
1370
|
+
sb.e5(' \u255A');
|
|
1371
|
+
sb.e5(repeat('\u2550\u2550', list.n() - 1 | 0));
|
|
1372
|
+
sb.e5('\u255D');
|
|
1411
1373
|
throw new DependencyLoopException('Dependency recursion:\n' + sb);
|
|
1412
1374
|
}
|
|
1413
1375
|
};
|
|
1414
1376
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1415
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1377
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.c2e_1, $this.d2e_1), $this.d2e_1, $this.e2e_1);
|
|
1416
1378
|
return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel);
|
|
1417
1379
|
}
|
|
1418
1380
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1419
1381
|
return function () {
|
|
1420
1382
|
var direct = new DirectDIImpl(this$0, get_AnyDIContext());
|
|
1421
|
-
var
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
var element = tmp0_iterator.h();
|
|
1383
|
+
var tmp0_iterator = $builder.h2d_1.v();
|
|
1384
|
+
while (tmp0_iterator.w()) {
|
|
1385
|
+
var element = tmp0_iterator.y();
|
|
1425
1386
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1426
1387
|
element(direct);
|
|
1427
1388
|
}
|
|
1428
|
-
return
|
|
1389
|
+
return Unit_instance;
|
|
1429
1390
|
};
|
|
1430
1391
|
}
|
|
1431
|
-
function DIContainerImpl$_init_$lambda_r6ib3j_0(this$0, $init) {
|
|
1392
|
+
function DIContainerImpl$_init_$lambda_r6ib3j_0($lock, this$0, $init) {
|
|
1432
1393
|
return function () {
|
|
1433
|
-
var tmp$ret$2;
|
|
1434
1394
|
$l$block_1: {
|
|
1435
1395
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull' call
|
|
1436
|
-
|
|
1437
|
-
tmp$ret$0 = this$0.d2d_1;
|
|
1438
|
-
if (tmp$ret$0 == null) {
|
|
1439
|
-
var tmp$ret$1;
|
|
1396
|
+
if (this$0.f2e_1 == null) {
|
|
1440
1397
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1441
|
-
tmp$ret$1 = Unit_getInstance();
|
|
1442
|
-
tmp$ret$2 = tmp$ret$1;
|
|
1443
1398
|
break $l$block_1;
|
|
1444
1399
|
}
|
|
1445
|
-
var tmp$ret$5;
|
|
1446
1400
|
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
1447
|
-
var tmp$ret$4;
|
|
1448
1401
|
$l$block_0: {
|
|
1449
1402
|
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull.<anonymous>' call
|
|
1450
|
-
var
|
|
1451
|
-
tmp$ret$3 = this$0.d2d_1;
|
|
1452
|
-
var tmp0_elvis_lhs = tmp$ret$3;
|
|
1403
|
+
var tmp0_elvis_lhs = this$0.f2e_1;
|
|
1453
1404
|
var tmp;
|
|
1454
1405
|
if (tmp0_elvis_lhs == null) {
|
|
1455
|
-
tmp$ret$4 = Unit_getInstance();
|
|
1456
1406
|
break $l$block_0;
|
|
1457
1407
|
} else {
|
|
1458
1408
|
tmp = tmp0_elvis_lhs;
|
|
1459
1409
|
}
|
|
1460
1410
|
var value = tmp;
|
|
1461
|
-
this$0.
|
|
1462
|
-
|
|
1411
|
+
this$0.f2e_1 = null;
|
|
1412
|
+
$init();
|
|
1463
1413
|
break $l$block_1;
|
|
1464
1414
|
}
|
|
1465
|
-
tmp$ret$5 = tmp$ret$4;
|
|
1466
|
-
var tmp$ret$6;
|
|
1467
1415
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1468
|
-
tmp$ret$6 = Unit_getInstance();
|
|
1469
|
-
tmp$ret$2 = tmp$ret$6;
|
|
1470
1416
|
}
|
|
1471
|
-
return
|
|
1417
|
+
return Unit_instance;
|
|
1472
1418
|
};
|
|
1473
1419
|
}
|
|
1474
1420
|
function DIContainerImpl$factory$lambda($this$null, it) {
|
|
@@ -1478,252 +1424,249 @@
|
|
|
1478
1424
|
return description($this$null, it);
|
|
1479
1425
|
}
|
|
1480
1426
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
}
|
|
1487
|
-
protoOf(DIContainerImpl).
|
|
1488
|
-
var result = this.
|
|
1489
|
-
if (result.
|
|
1490
|
-
var tmp0_container = result.
|
|
1491
|
-
var definition = tmp0_container.
|
|
1492
|
-
var translator = tmp0_container.
|
|
1493
|
-
var tmp1_safe_receiver = this.
|
|
1427
|
+
this.b2e_1 = tree;
|
|
1428
|
+
this.c2e_1 = node;
|
|
1429
|
+
this.d2e_1 = fullDescriptionOnError;
|
|
1430
|
+
this.e2e_1 = fullContainerTreeOnError;
|
|
1431
|
+
this.f2e_1 = null;
|
|
1432
|
+
}
|
|
1433
|
+
protoOf(DIContainerImpl).j2a = function (key, context, overrideLevel) {
|
|
1434
|
+
var result = this.b2e_1.p2a(key, overrideLevel);
|
|
1435
|
+
if (result.n() === 1) {
|
|
1436
|
+
var tmp0_container = result.g1(0);
|
|
1437
|
+
var definition = tmp0_container.pc();
|
|
1438
|
+
var translator = tmp0_container.qg();
|
|
1439
|
+
var tmp1_safe_receiver = this.c2e_1;
|
|
1494
1440
|
if (tmp1_safe_receiver == null)
|
|
1495
1441
|
null;
|
|
1496
1442
|
else {
|
|
1497
|
-
tmp1_safe_receiver.
|
|
1443
|
+
tmp1_safe_receiver.g2e(key, overrideLevel);
|
|
1498
1444
|
}
|
|
1499
|
-
var tmp =
|
|
1445
|
+
var tmp = Companion_instance_0.d2a(key.u28_1, context);
|
|
1500
1446
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1501
1447
|
var tmp3_elvis_lhs = translator == null ? null : toKContext(translator, new DirectDIImpl(this, originalContext), context);
|
|
1502
1448
|
var kContext = tmp3_elvis_lhs == null ? originalContext : tmp3_elvis_lhs;
|
|
1503
1449
|
if (!(key instanceof Key))
|
|
1504
1450
|
THROW_CCE();
|
|
1505
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1506
|
-
return definition.
|
|
1451
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.r28_1, overrideLevel);
|
|
1452
|
+
return definition.s28_1.i2b(key, bindingDI_0);
|
|
1507
1453
|
}
|
|
1508
|
-
var bindingDI_1 = bindingDI(this, key,
|
|
1454
|
+
var bindingDI_1 = bindingDI(this, key, Companion_instance_0.d2a(key.u28_1, context), this.b2e_1, overrideLevel);
|
|
1509
1455
|
// Inline function 'kotlin.collections.forEach' call
|
|
1510
|
-
var tmp0_iterator = this.
|
|
1511
|
-
while (tmp0_iterator.
|
|
1512
|
-
var element = tmp0_iterator.
|
|
1456
|
+
var tmp0_iterator = this.b2e_1.n2a().v();
|
|
1457
|
+
while (tmp0_iterator.w()) {
|
|
1458
|
+
var element = tmp0_iterator.y();
|
|
1513
1459
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1514
|
-
var tmp0_safe_receiver = element.
|
|
1460
|
+
var tmp0_safe_receiver = element.h2e(bindingDI_1, key);
|
|
1515
1461
|
if (tmp0_safe_receiver == null)
|
|
1516
1462
|
null;
|
|
1517
1463
|
else {
|
|
1518
1464
|
// Inline function 'kotlin.let' call
|
|
1519
1465
|
// Inline function 'kotlin.contracts.contract' call
|
|
1520
|
-
var tmp0_safe_receiver_0 = this.
|
|
1466
|
+
var tmp0_safe_receiver_0 = this.c2e_1;
|
|
1521
1467
|
if (tmp0_safe_receiver_0 == null)
|
|
1522
1468
|
null;
|
|
1523
1469
|
else {
|
|
1524
|
-
tmp0_safe_receiver_0.
|
|
1470
|
+
tmp0_safe_receiver_0.g2e(key, overrideLevel);
|
|
1525
1471
|
}
|
|
1526
1472
|
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1527
1473
|
}
|
|
1528
1474
|
}
|
|
1529
1475
|
var withOverrides = !(overrideLevel === 0);
|
|
1530
|
-
var descProp = this.
|
|
1476
|
+
var descProp = this.d2e_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1531
1477
|
var tmp_0;
|
|
1532
|
-
if (this.
|
|
1478
|
+
if (this.d2e_1) {
|
|
1533
1479
|
tmp_0 = DIContainerImpl$factory$lambda;
|
|
1534
1480
|
} else {
|
|
1535
1481
|
tmp_0 = DIContainerImpl$factory$lambda_0;
|
|
1536
1482
|
}
|
|
1537
1483
|
var descFun = tmp_0;
|
|
1538
|
-
if (result.
|
|
1484
|
+
if (result.c1()) {
|
|
1539
1485
|
// Inline function 'kotlin.text.buildString' call
|
|
1540
1486
|
// Inline function 'kotlin.contracts.contract' call
|
|
1541
1487
|
// Inline function 'kotlin.apply' call
|
|
1542
|
-
var
|
|
1488
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
1543
1489
|
// Inline function 'kotlin.contracts.contract' call
|
|
1544
1490
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1545
|
-
|
|
1546
|
-
if (this.
|
|
1491
|
+
this_0.e5('No binding found for ' + descProp.get());
|
|
1492
|
+
if (this.e2e_1) {
|
|
1547
1493
|
// Inline function 'kotlin.text.appendLine' call
|
|
1548
|
-
|
|
1549
|
-
var forType = this.
|
|
1494
|
+
this_0.f5(_Char___init__impl__6a9atx(10));
|
|
1495
|
+
var forType = this.b2e_1.q2a(new SearchSpecs(VOID, VOID, key.w28_1));
|
|
1550
1496
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1551
|
-
if (!forType.
|
|
1497
|
+
if (!forType.c1()) {
|
|
1552
1498
|
// Inline function 'kotlin.collections.associate' call
|
|
1553
1499
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(forType, 10)), 16);
|
|
1554
1500
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1555
|
-
var
|
|
1556
|
-
var tmp0_iterator_0 = forType.
|
|
1557
|
-
while (tmp0_iterator_0.
|
|
1558
|
-
var element_0 = tmp0_iterator_0.
|
|
1501
|
+
var destination = LinkedHashMap_init_$Create$_0(capacity);
|
|
1502
|
+
var tmp0_iterator_0 = forType.v();
|
|
1503
|
+
while (tmp0_iterator_0.w()) {
|
|
1504
|
+
var element_0 = tmp0_iterator_0.y();
|
|
1559
1505
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1560
1506
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>.<anonymous>' call
|
|
1561
|
-
var
|
|
1562
|
-
|
|
1507
|
+
var pair = to(element_0.ng_1, element_0.og_1);
|
|
1508
|
+
destination.k2(pair.mc_1, pair.nc_1);
|
|
1563
1509
|
}
|
|
1564
|
-
|
|
1510
|
+
this_0.e5('Available bindings for this type:\n' + descFun(destination, withOverrides));
|
|
1565
1511
|
}
|
|
1566
|
-
|
|
1512
|
+
this_0.e5('Registered in this DI container:\n' + descFun(this.b2e_1.m2a(), withOverrides));
|
|
1567
1513
|
}
|
|
1568
|
-
var description =
|
|
1514
|
+
var description = this_0.toString();
|
|
1569
1515
|
throw new NotFoundException(key, description);
|
|
1570
1516
|
}
|
|
1571
1517
|
// Inline function 'kotlin.collections.associate' call
|
|
1572
1518
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(result, 10)), 16);
|
|
1573
1519
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1574
|
-
var
|
|
1575
|
-
var tmp0_iterator_1 = result.
|
|
1576
|
-
while (tmp0_iterator_1.
|
|
1577
|
-
var element_1 = tmp0_iterator_1.
|
|
1520
|
+
var destination_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
1521
|
+
var tmp0_iterator_1 = result.v();
|
|
1522
|
+
while (tmp0_iterator_1.w()) {
|
|
1523
|
+
var element_1 = tmp0_iterator_1.y();
|
|
1578
1524
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1579
1525
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1580
|
-
var
|
|
1581
|
-
|
|
1526
|
+
var pair_0 = to(element_1.ng_1, ensureNotNull(this.b2e_1.r2a(element_1.ng_1)).og_1);
|
|
1527
|
+
destination_0.k2(pair_0.mc_1, pair_0.nc_1);
|
|
1582
1528
|
}
|
|
1583
|
-
var potentials =
|
|
1529
|
+
var potentials = destination_0;
|
|
1584
1530
|
// Inline function 'kotlin.collections.filter' call
|
|
1585
|
-
var tmp1_filter = this.z2c_1.g29();
|
|
1586
1531
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1587
|
-
var
|
|
1532
|
+
var this_1 = this.b2e_1.m2a();
|
|
1533
|
+
var destination_1 = LinkedHashMap_init_$Create$();
|
|
1588
1534
|
// Inline function 'kotlin.collections.iterator' call
|
|
1589
|
-
var tmp0_iterator_2 =
|
|
1590
|
-
while (tmp0_iterator_2.
|
|
1591
|
-
var element_2 = tmp0_iterator_2.
|
|
1535
|
+
var tmp0_iterator_2 = this_1.m2().v();
|
|
1536
|
+
while (tmp0_iterator_2.w()) {
|
|
1537
|
+
var element_2 = tmp0_iterator_2.y();
|
|
1592
1538
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1593
1539
|
// Inline function 'kotlin.collections.component1' call
|
|
1594
|
-
var key_0 = element_2.
|
|
1595
|
-
if (!potentials.
|
|
1596
|
-
|
|
1540
|
+
var key_0 = element_2.n2();
|
|
1541
|
+
if (!potentials.j2().r(key_0)) {
|
|
1542
|
+
destination_1.k2(element_2.n2(), element_2.o2());
|
|
1597
1543
|
}
|
|
1598
1544
|
}
|
|
1599
|
-
var others =
|
|
1600
|
-
throw new NotFoundException(key, '' + potentials.
|
|
1545
|
+
var others = destination_1;
|
|
1546
|
+
throw new NotFoundException(key, '' + potentials.n() + ' bindings found that match ' + key + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
|
|
1601
1547
|
};
|
|
1602
1548
|
function bindFullDescription$factory_0($b0) {
|
|
1603
1549
|
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1604
|
-
return $b0.
|
|
1550
|
+
return $b0.b29();
|
|
1605
1551
|
}, null);
|
|
1606
1552
|
}
|
|
1607
1553
|
function bindDescription$factory_0($b0) {
|
|
1608
1554
|
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1609
|
-
return $b0.
|
|
1555
|
+
return $b0.z28();
|
|
1610
1556
|
}, null);
|
|
1611
1557
|
}
|
|
1612
1558
|
function fullDescription$factory_0($b0) {
|
|
1613
1559
|
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1614
|
-
return $b0.
|
|
1560
|
+
return $b0.c29();
|
|
1615
1561
|
}, null);
|
|
1616
1562
|
}
|
|
1617
1563
|
function description$factory_0($b0) {
|
|
1618
1564
|
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1619
|
-
return $b0.
|
|
1565
|
+
return $b0.a29();
|
|
1620
1566
|
}, null);
|
|
1621
1567
|
}
|
|
1622
1568
|
function newBuilder($this, allowSilentOverride, init) {
|
|
1623
1569
|
// Inline function 'kotlin.apply' call
|
|
1624
|
-
var
|
|
1570
|
+
var this_0 = new DIMainBuilderImpl(allowSilentOverride);
|
|
1625
1571
|
// Inline function 'kotlin.contracts.contract' call
|
|
1626
|
-
init(
|
|
1627
|
-
return
|
|
1572
|
+
init(this_0);
|
|
1573
|
+
return this_0;
|
|
1628
1574
|
}
|
|
1629
1575
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1630
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1576
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.l29(), builder.n2a(), builder.u2c(), builder.v2c(), runCallbacks));
|
|
1631
1577
|
return $this;
|
|
1632
1578
|
}
|
|
1633
1579
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
1634
1580
|
allowSilentOverride = allowSilentOverride === VOID ? false : allowSilentOverride;
|
|
1635
|
-
DIImpl_init_$Init$(newBuilder(
|
|
1581
|
+
DIImpl_init_$Init$(newBuilder(Companion_instance_3, allowSilentOverride, init), true, $this);
|
|
1636
1582
|
return $this;
|
|
1637
1583
|
}
|
|
1638
1584
|
function DIImpl_init_$Create$(allowSilentOverride, init) {
|
|
1639
1585
|
return DIImpl_init_$Init$_0(allowSilentOverride, init, objectCreate(protoOf(DIImpl)));
|
|
1640
1586
|
}
|
|
1641
1587
|
function Companion_3() {
|
|
1642
|
-
Companion_instance_3 = this;
|
|
1643
1588
|
}
|
|
1644
1589
|
var Companion_instance_3;
|
|
1645
1590
|
function Companion_getInstance_4() {
|
|
1646
|
-
if (Companion_instance_3 == null)
|
|
1647
|
-
new Companion_3();
|
|
1648
1591
|
return Companion_instance_3;
|
|
1649
1592
|
}
|
|
1650
1593
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1651
1594
|
return function () {
|
|
1652
1595
|
var tmp;
|
|
1653
|
-
if (!(this$0.
|
|
1596
|
+
if (!(this$0.i2e_1.f2e_1 == null)) {
|
|
1654
1597
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1655
1598
|
}
|
|
1656
|
-
return this$0.
|
|
1599
|
+
return this$0.i2e_1;
|
|
1657
1600
|
};
|
|
1658
1601
|
}
|
|
1659
1602
|
function DIImpl(_container) {
|
|
1660
|
-
|
|
1661
|
-
this.g2d_1 = _container;
|
|
1603
|
+
this.i2e_1 = _container;
|
|
1662
1604
|
var tmp = this;
|
|
1663
|
-
tmp.
|
|
1605
|
+
tmp.j2e_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1664
1606
|
}
|
|
1665
|
-
protoOf(DIImpl).
|
|
1607
|
+
protoOf(DIImpl).x29 = function () {
|
|
1666
1608
|
// Inline function 'kotlin.getValue' call
|
|
1609
|
+
var this_0 = this.j2e_1;
|
|
1667
1610
|
container$factory();
|
|
1668
|
-
return
|
|
1611
|
+
return this_0.o2();
|
|
1669
1612
|
};
|
|
1670
1613
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1671
|
-
this.
|
|
1672
|
-
this.
|
|
1673
|
-
this.
|
|
1614
|
+
this.k2e_1 = directDI;
|
|
1615
|
+
this.l2e_1 = key;
|
|
1616
|
+
this.m2e_1 = overrideLevel;
|
|
1674
1617
|
}
|
|
1675
|
-
protoOf(BindingDIImpl).
|
|
1676
|
-
return this.
|
|
1618
|
+
protoOf(BindingDIImpl).v2a = function () {
|
|
1619
|
+
return this.k2e_1;
|
|
1677
1620
|
};
|
|
1678
|
-
protoOf(BindingDIImpl).
|
|
1679
|
-
return this.
|
|
1621
|
+
protoOf(BindingDIImpl).w29 = function () {
|
|
1622
|
+
return this.k2e_1.w29();
|
|
1680
1623
|
};
|
|
1681
|
-
protoOf(BindingDIImpl).
|
|
1682
|
-
return this.
|
|
1624
|
+
protoOf(BindingDIImpl).s2a = function () {
|
|
1625
|
+
return this.k2e_1.s2a();
|
|
1683
1626
|
};
|
|
1684
|
-
protoOf(BindingDIImpl).
|
|
1685
|
-
return this.
|
|
1627
|
+
protoOf(BindingDIImpl).u2a = function (type, tag) {
|
|
1628
|
+
return this.k2e_1.u2a(type, tag);
|
|
1686
1629
|
};
|
|
1687
|
-
protoOf(BindingDIImpl).
|
|
1688
|
-
return this.
|
|
1630
|
+
protoOf(BindingDIImpl).t2a = function (context) {
|
|
1631
|
+
return this.k2e_1.t2a(context);
|
|
1689
1632
|
};
|
|
1690
|
-
protoOf(BindingDIImpl).
|
|
1691
|
-
var tmp = this.
|
|
1692
|
-
return
|
|
1633
|
+
protoOf(BindingDIImpl).ma = function () {
|
|
1634
|
+
var tmp = this.v2a().w29().y29().o2();
|
|
1635
|
+
return !(tmp == null) ? tmp : THROW_CCE();
|
|
1693
1636
|
};
|
|
1694
|
-
protoOf(BindingDIImpl).
|
|
1695
|
-
return new BindingDIImpl(this.
|
|
1637
|
+
protoOf(BindingDIImpl).g2c = function () {
|
|
1638
|
+
return new BindingDIImpl(this.v2a().t2a(ErasedContext_instance), this.l2e_1, this.m2e_1);
|
|
1696
1639
|
};
|
|
1697
1640
|
function container$factory() {
|
|
1698
1641
|
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1699
|
-
return receiver.
|
|
1642
|
+
return receiver.x29();
|
|
1700
1643
|
}, null);
|
|
1701
1644
|
}
|
|
1702
1645
|
function findBySpecs($this, specs) {
|
|
1703
|
-
var bindSeq = asSequence($this.
|
|
1704
|
-
var specsBindType = specs.
|
|
1705
|
-
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().
|
|
1646
|
+
var bindSeq = asSequence($this.q2e_1);
|
|
1647
|
+
var specsBindType = specs.y2a_1;
|
|
1648
|
+
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().k28_1) : false) {
|
|
1706
1649
|
var tmp = bindSeq;
|
|
1707
1650
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1708
1651
|
}
|
|
1709
1652
|
var tmp_0 = bindSeq;
|
|
1710
1653
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1711
|
-
var specsContextType = specs.
|
|
1654
|
+
var specsContextType = specs.w2a_1;
|
|
1712
1655
|
if (!(specsContextType == null)) {
|
|
1713
1656
|
var tmp_1 = contextSeq;
|
|
1714
1657
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1715
1658
|
}
|
|
1716
1659
|
var tmp_2 = contextSeq;
|
|
1717
1660
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1718
|
-
var specsArgType = specs.
|
|
1661
|
+
var specsArgType = specs.x2a_1;
|
|
1719
1662
|
if (!(specsArgType == null)) {
|
|
1720
1663
|
var tmp_3 = argSeq;
|
|
1721
1664
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1722
1665
|
}
|
|
1723
1666
|
var tmp_4 = argSeq;
|
|
1724
1667
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1725
|
-
var specsTag = specs.
|
|
1726
|
-
if (!equals(specsTag,
|
|
1668
|
+
var specsTag = specs.z2a_1;
|
|
1669
|
+
if (!equals(specsTag, NoDefinedTag_instance)) {
|
|
1727
1670
|
var tmp_5 = tagSeq;
|
|
1728
1671
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
1729
1672
|
}
|
|
@@ -1732,48 +1675,42 @@
|
|
|
1732
1675
|
return toList(resultSeq);
|
|
1733
1676
|
}
|
|
1734
1677
|
function notInMap($this, result, request) {
|
|
1735
|
-
var tmp = result.
|
|
1736
|
-
var tmp_0 = request.
|
|
1737
|
-
var tmp_1 = $this.
|
|
1678
|
+
var tmp = result.i29();
|
|
1679
|
+
var tmp_0 = request.i29();
|
|
1680
|
+
var tmp_1 = $this.p2e_1.j2();
|
|
1738
1681
|
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));
|
|
1739
1682
|
}
|
|
1740
1683
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
1741
1684
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1742
|
-
var tmp$ret$0;
|
|
1743
1685
|
// Inline function 'kotlin.collections.component1' call
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
return bindType.r2d($specsBindType);
|
|
1686
|
+
var bindType = _name_for_destructuring_parameter_0__wldtmu.n2();
|
|
1687
|
+
return bindType.t2e($specsBindType);
|
|
1747
1688
|
};
|
|
1748
1689
|
}
|
|
1749
1690
|
function DITreeImpl$findBySpecs$lambda_0(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1750
1691
|
// Inline function 'kotlin.collections.component2' call
|
|
1751
|
-
var contextTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1692
|
+
var contextTree = _name_for_destructuring_parameter_0__wldtmu.o2();
|
|
1752
1693
|
var tmp = asSequence(contextTree);
|
|
1753
1694
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda);
|
|
1754
1695
|
}
|
|
1755
1696
|
function DITreeImpl$findBySpecs$lambda$lambda(it) {
|
|
1756
|
-
return new Triple(it.
|
|
1697
|
+
return new Triple(it.n2(), it.o2(), null);
|
|
1757
1698
|
}
|
|
1758
1699
|
function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
|
|
1759
1700
|
return function (triple) {
|
|
1760
|
-
var
|
|
1761
|
-
var contextType = tmp0_container.t3();
|
|
1701
|
+
var contextType = triple.oc();
|
|
1762
1702
|
var tmp;
|
|
1763
|
-
if (contextType.
|
|
1703
|
+
if (contextType.t2e($specsContextType)) {
|
|
1764
1704
|
tmp = triple;
|
|
1765
1705
|
} else {
|
|
1766
1706
|
var tmp$ret$1;
|
|
1767
1707
|
$l$block: {
|
|
1768
1708
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1769
|
-
var
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
var element = tmp0_iterator.h();
|
|
1773
|
-
var tmp$ret$0;
|
|
1709
|
+
var tmp0_iterator = this$0.s2e_1.v();
|
|
1710
|
+
while (tmp0_iterator.w()) {
|
|
1711
|
+
var element = tmp0_iterator.y();
|
|
1774
1712
|
// Inline function 'org.kodein.di.internal.DITreeImpl.findBySpecs.<anonymous>.<anonymous>' call
|
|
1775
|
-
|
|
1776
|
-
if (tmp$ret$0) {
|
|
1713
|
+
if (element.p29().g28($specsContextType) ? contextType.t2e(element.m2b()) : false) {
|
|
1777
1714
|
tmp$ret$1 = element;
|
|
1778
1715
|
break $l$block;
|
|
1779
1716
|
}
|
|
@@ -1781,168 +1718,166 @@
|
|
|
1781
1718
|
tmp$ret$1 = null;
|
|
1782
1719
|
}
|
|
1783
1720
|
var translator = tmp$ret$1;
|
|
1784
|
-
tmp = !(translator == null) ? triple.
|
|
1721
|
+
tmp = !(translator == null) ? triple.sg(VOID, VOID, translator) : null;
|
|
1785
1722
|
}
|
|
1786
1723
|
return tmp;
|
|
1787
1724
|
};
|
|
1788
1725
|
}
|
|
1789
1726
|
function DITreeImpl$findBySpecs$lambda_2(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1790
|
-
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1791
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1727
|
+
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.pc();
|
|
1728
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.qg();
|
|
1792
1729
|
var tmp = asSequence(argumentTree);
|
|
1793
1730
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
|
|
1794
1731
|
}
|
|
1795
1732
|
function DITreeImpl$findBySpecs$lambda$lambda_0($translator) {
|
|
1796
1733
|
return function (it) {
|
|
1797
|
-
return new Triple(it.
|
|
1734
|
+
return new Triple(it.n2(), it.o2(), $translator);
|
|
1798
1735
|
};
|
|
1799
1736
|
}
|
|
1800
1737
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
1801
1738
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1802
|
-
var argType = _name_for_destructuring_parameter_0__wldtmu.
|
|
1803
|
-
return argType.
|
|
1739
|
+
var argType = _name_for_destructuring_parameter_0__wldtmu.oc();
|
|
1740
|
+
return argType.t2e($specsArgType);
|
|
1804
1741
|
};
|
|
1805
1742
|
}
|
|
1806
1743
|
function DITreeImpl$findBySpecs$lambda_4(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1807
|
-
var tagTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
1808
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1744
|
+
var tagTree = _name_for_destructuring_parameter_0__wldtmu.pc();
|
|
1745
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.qg();
|
|
1809
1746
|
var tmp = asSequence(tagTree);
|
|
1810
1747
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
|
|
1811
1748
|
}
|
|
1812
1749
|
function DITreeImpl$findBySpecs$lambda$lambda_1($translator) {
|
|
1813
1750
|
return function (it) {
|
|
1814
|
-
return new Triple(it.
|
|
1751
|
+
return new Triple(it.n2(), it.o2(), $translator);
|
|
1815
1752
|
};
|
|
1816
1753
|
}
|
|
1817
1754
|
function DITreeImpl$findBySpecs$lambda_5($specsTag) {
|
|
1818
1755
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
1819
|
-
var tag = _name_for_destructuring_parameter_0__wldtmu.
|
|
1756
|
+
var tag = _name_for_destructuring_parameter_0__wldtmu.oc();
|
|
1820
1757
|
return equals(tag, $specsTag);
|
|
1821
1758
|
};
|
|
1822
1759
|
}
|
|
1823
1760
|
function DITreeImpl$findBySpecs$lambda_6(_name_for_destructuring_parameter_0__wldtmu) {
|
|
1824
|
-
var key = _name_for_destructuring_parameter_0__wldtmu.
|
|
1825
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1761
|
+
var key = _name_for_destructuring_parameter_0__wldtmu.pc();
|
|
1762
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.qg();
|
|
1826
1763
|
return to(key, translator);
|
|
1827
1764
|
}
|
|
1828
1765
|
function DITreeImpl$notInMap$lambda(it) {
|
|
1829
|
-
return it.
|
|
1766
|
+
return it.i29();
|
|
1830
1767
|
}
|
|
1831
1768
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
this.
|
|
1835
|
-
this.
|
|
1836
|
-
this.
|
|
1769
|
+
this.n2e_1 = externalSources;
|
|
1770
|
+
this.o2e_1 = registeredTranslators;
|
|
1771
|
+
this.p2e_1 = newConcurrentMap();
|
|
1772
|
+
this.q2e_1 = HashMap_init_$Create$();
|
|
1773
|
+
this.s2e_1 = ArrayList_init_$Create$_1(this.o2e_1);
|
|
1837
1774
|
// Inline function 'kotlin.collections.forEach' call
|
|
1838
1775
|
// Inline function 'kotlin.collections.iterator' call
|
|
1839
|
-
var tmp0_iterator = map.
|
|
1840
|
-
while (tmp0_iterator.
|
|
1841
|
-
var element = tmp0_iterator.
|
|
1776
|
+
var tmp0_iterator = map.m2().v();
|
|
1777
|
+
while (tmp0_iterator.w()) {
|
|
1778
|
+
var element = tmp0_iterator.y();
|
|
1842
1779
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1843
1780
|
// Inline function 'kotlin.collections.component1' call
|
|
1844
|
-
var key = element.
|
|
1781
|
+
var key = element.n2();
|
|
1845
1782
|
// Inline function 'kotlin.collections.component2' call
|
|
1846
|
-
var bindings = element.
|
|
1783
|
+
var bindings = element.o2();
|
|
1847
1784
|
// Inline function 'kotlin.collections.map' call
|
|
1848
1785
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1849
|
-
var
|
|
1850
|
-
var tmp0_iterator_0 = bindings.
|
|
1851
|
-
while (tmp0_iterator_0.
|
|
1852
|
-
var item = tmp0_iterator_0.
|
|
1853
|
-
var tmp$ret$3;
|
|
1786
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
|
|
1787
|
+
var tmp0_iterator_0 = bindings.v();
|
|
1788
|
+
while (tmp0_iterator_0.w()) {
|
|
1789
|
+
var item = tmp0_iterator_0.y();
|
|
1854
1790
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1855
1791
|
var tmp;
|
|
1856
1792
|
if (item instanceof DIDefinition) {
|
|
1857
1793
|
tmp = item;
|
|
1858
1794
|
} else {
|
|
1859
|
-
tmp = new DIDefinition(item.
|
|
1795
|
+
tmp = new DIDefinition(item.s28_1, item.t28_1, this);
|
|
1860
1796
|
}
|
|
1861
|
-
tmp$ret$3 = tmp;
|
|
1862
|
-
|
|
1797
|
+
var tmp$ret$3 = tmp;
|
|
1798
|
+
destination.s(tmp$ret$3);
|
|
1863
1799
|
}
|
|
1864
|
-
var definitions =
|
|
1800
|
+
var definitions = destination;
|
|
1865
1801
|
// Inline function 'kotlin.collections.set' call
|
|
1866
|
-
var
|
|
1867
|
-
var
|
|
1868
|
-
|
|
1869
|
-
var typeChecker = first(bindings).
|
|
1802
|
+
var this_0 = this.p2e_1;
|
|
1803
|
+
var value = new Triple(key, definitions, null);
|
|
1804
|
+
this_0.k2(key, value);
|
|
1805
|
+
var typeChecker = first(bindings).s28_1.h2b() ? new Down(key.w28_1) : new Up(key.w28_1);
|
|
1870
1806
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1871
|
-
var
|
|
1872
|
-
var
|
|
1807
|
+
var this_1 = this.q2e_1;
|
|
1808
|
+
var value_0 = this_1.t2(typeChecker);
|
|
1873
1809
|
var tmp_0;
|
|
1874
|
-
if (
|
|
1810
|
+
if (value_0 == null) {
|
|
1875
1811
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1876
1812
|
var answer = HashMap_init_$Create$();
|
|
1877
|
-
|
|
1813
|
+
this_1.k2(typeChecker, answer);
|
|
1878
1814
|
tmp_0 = answer;
|
|
1879
1815
|
} else {
|
|
1880
|
-
tmp_0 =
|
|
1816
|
+
tmp_0 = value_0;
|
|
1881
1817
|
}
|
|
1882
1818
|
var contextTree = tmp_0;
|
|
1883
1819
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1884
|
-
var
|
|
1885
|
-
var
|
|
1820
|
+
var key_0 = new Down(key.u28_1);
|
|
1821
|
+
var value_1 = contextTree.t2(key_0);
|
|
1886
1822
|
var tmp_1;
|
|
1887
|
-
if (
|
|
1823
|
+
if (value_1 == null) {
|
|
1888
1824
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1889
1825
|
var answer_0 = HashMap_init_$Create$();
|
|
1890
|
-
contextTree.
|
|
1826
|
+
contextTree.k2(key_0, answer_0);
|
|
1891
1827
|
tmp_1 = answer_0;
|
|
1892
1828
|
} else {
|
|
1893
|
-
tmp_1 =
|
|
1829
|
+
tmp_1 = value_1;
|
|
1894
1830
|
}
|
|
1895
1831
|
var argumentTree = tmp_1;
|
|
1896
1832
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1897
|
-
var
|
|
1898
|
-
var
|
|
1833
|
+
var key_1 = new Down(key.v28_1);
|
|
1834
|
+
var value_2 = argumentTree.t2(key_1);
|
|
1899
1835
|
var tmp_2;
|
|
1900
|
-
if (
|
|
1836
|
+
if (value_2 == null) {
|
|
1901
1837
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
1902
1838
|
var answer_1 = HashMap_init_$Create$();
|
|
1903
|
-
argumentTree.
|
|
1839
|
+
argumentTree.k2(key_1, answer_1);
|
|
1904
1840
|
tmp_2 = answer_1;
|
|
1905
1841
|
} else {
|
|
1906
|
-
tmp_2 =
|
|
1842
|
+
tmp_2 = value_2;
|
|
1907
1843
|
}
|
|
1908
1844
|
var tagTree = tmp_2;
|
|
1909
1845
|
// Inline function 'kotlin.collections.set' call
|
|
1910
|
-
var
|
|
1911
|
-
tagTree.
|
|
1846
|
+
var key_2 = key.x28_1;
|
|
1847
|
+
tagTree.k2(key_2, key);
|
|
1912
1848
|
}
|
|
1913
1849
|
var tmp_3 = this;
|
|
1914
1850
|
// Inline function 'kotlin.collections.mapValues' call
|
|
1915
|
-
var
|
|
1851
|
+
var this_2 = this.p2e_1;
|
|
1916
1852
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
1917
|
-
var
|
|
1853
|
+
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(this_2.n()));
|
|
1918
1854
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
1919
|
-
var tmp0_iterator_1 =
|
|
1920
|
-
while (tmp0_iterator_1.
|
|
1921
|
-
var element_0 = tmp0_iterator_1.
|
|
1855
|
+
var tmp0_iterator_1 = this_2.m2().v();
|
|
1856
|
+
while (tmp0_iterator_1.w()) {
|
|
1857
|
+
var element_0 = tmp0_iterator_1.y();
|
|
1922
1858
|
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
1923
|
-
var tmp_4 = element_0.
|
|
1924
|
-
var tmp$ret$13;
|
|
1859
|
+
var tmp_4 = element_0.n2();
|
|
1925
1860
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1926
|
-
tmp$ret$13 = element_0.
|
|
1927
|
-
|
|
1861
|
+
var tmp$ret$13 = element_0.o2().og_1;
|
|
1862
|
+
destination_0.k2(tmp_4, tmp$ret$13);
|
|
1928
1863
|
}
|
|
1929
|
-
tmp_3.
|
|
1864
|
+
tmp_3.r2e_1 = HashMap_init_$Create$_0(destination_0);
|
|
1930
1865
|
$l$loop: while (true) {
|
|
1931
1866
|
var added = ArrayList_init_$Create$();
|
|
1932
|
-
var tmp0_iterator_2 = this.
|
|
1933
|
-
while (tmp0_iterator_2.
|
|
1934
|
-
var src = tmp0_iterator_2.
|
|
1935
|
-
var tmp1_iterator = this.
|
|
1936
|
-
while (tmp1_iterator.
|
|
1937
|
-
var dst = tmp1_iterator.
|
|
1938
|
-
if (dst.
|
|
1867
|
+
var tmp0_iterator_2 = this.s2e_1.v();
|
|
1868
|
+
while (tmp0_iterator_2.w()) {
|
|
1869
|
+
var src = tmp0_iterator_2.y();
|
|
1870
|
+
var tmp1_iterator = this.s2e_1.v();
|
|
1871
|
+
while (tmp1_iterator.w()) {
|
|
1872
|
+
var dst = tmp1_iterator.y();
|
|
1873
|
+
if (dst.p29().g28(src.m2b()) ? !equals(src.p29(), dst.m2b()) : false) {
|
|
1939
1874
|
var tmp$ret$17;
|
|
1940
1875
|
$l$block_0: {
|
|
1941
1876
|
// Inline function 'kotlin.collections.none' call
|
|
1942
|
-
var
|
|
1877
|
+
var this_3 = this.s2e_1;
|
|
1943
1878
|
var tmp_5;
|
|
1944
|
-
if (isInterface(
|
|
1945
|
-
tmp_5 =
|
|
1879
|
+
if (isInterface(this_3, Collection)) {
|
|
1880
|
+
tmp_5 = this_3.c1();
|
|
1946
1881
|
} else {
|
|
1947
1882
|
tmp_5 = false;
|
|
1948
1883
|
}
|
|
@@ -1950,11 +1885,11 @@
|
|
|
1950
1885
|
tmp$ret$17 = true;
|
|
1951
1886
|
break $l$block_0;
|
|
1952
1887
|
}
|
|
1953
|
-
var tmp0_iterator_3 =
|
|
1954
|
-
while (tmp0_iterator_3.
|
|
1955
|
-
var element_1 = tmp0_iterator_3.
|
|
1888
|
+
var tmp0_iterator_3 = this_3.v();
|
|
1889
|
+
while (tmp0_iterator_3.w()) {
|
|
1890
|
+
var element_1 = tmp0_iterator_3.y();
|
|
1956
1891
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
1957
|
-
if (equals(element_1.
|
|
1892
|
+
if (equals(element_1.p29(), src.p29()) ? equals(element_1.m2b(), dst.m2b()) : false) {
|
|
1958
1893
|
tmp$ret$17 = false;
|
|
1959
1894
|
break $l$block_0;
|
|
1960
1895
|
}
|
|
@@ -1964,36 +1899,36 @@
|
|
|
1964
1899
|
if (tmp$ret$17) {
|
|
1965
1900
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1966
1901
|
var tmp_6 = isInterface(src, ContextTranslator) ? src : THROW_CCE();
|
|
1967
|
-
var
|
|
1968
|
-
added.
|
|
1902
|
+
var element_2 = new CompositeContextTranslator(tmp_6, isInterface(dst, ContextTranslator) ? dst : THROW_CCE());
|
|
1903
|
+
added.s(element_2);
|
|
1969
1904
|
}
|
|
1970
1905
|
}
|
|
1971
1906
|
}
|
|
1972
1907
|
}
|
|
1973
1908
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1974
|
-
var
|
|
1975
|
-
addAll(
|
|
1976
|
-
if (added.
|
|
1909
|
+
var this_4 = this.s2e_1;
|
|
1910
|
+
addAll(this_4, added);
|
|
1911
|
+
if (added.c1())
|
|
1977
1912
|
break $l$loop;
|
|
1978
1913
|
}
|
|
1979
1914
|
}
|
|
1980
|
-
protoOf(DITreeImpl).
|
|
1981
|
-
return this.
|
|
1915
|
+
protoOf(DITreeImpl).n2a = function () {
|
|
1916
|
+
return this.n2e_1;
|
|
1982
1917
|
};
|
|
1983
|
-
protoOf(DITreeImpl).
|
|
1984
|
-
return this.
|
|
1918
|
+
protoOf(DITreeImpl).m2a = function () {
|
|
1919
|
+
return this.r2e_1;
|
|
1985
1920
|
};
|
|
1986
|
-
protoOf(DITreeImpl).
|
|
1921
|
+
protoOf(DITreeImpl).o2a = function (key, overrideLevel, all) {
|
|
1987
1922
|
if (!all) {
|
|
1988
|
-
var tmp0_safe_receiver = this.
|
|
1923
|
+
var tmp0_safe_receiver = this.p2e_1.t2(key);
|
|
1989
1924
|
if (tmp0_safe_receiver == null)
|
|
1990
1925
|
null;
|
|
1991
1926
|
else {
|
|
1992
1927
|
// Inline function 'kotlin.let' call
|
|
1993
1928
|
// Inline function 'kotlin.contracts.contract' call
|
|
1994
|
-
var realKey = tmp0_safe_receiver.
|
|
1995
|
-
var list = tmp0_safe_receiver.
|
|
1996
|
-
var translator = tmp0_safe_receiver.
|
|
1929
|
+
var realKey = tmp0_safe_receiver.oc();
|
|
1930
|
+
var list = tmp0_safe_receiver.pc();
|
|
1931
|
+
var translator = tmp0_safe_receiver.qg();
|
|
1997
1932
|
var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
|
|
1998
1933
|
var tmp;
|
|
1999
1934
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2006,9 +1941,9 @@
|
|
|
2006
1941
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
2007
1942
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
2008
1943
|
}
|
|
2009
|
-
if (!equals(key.
|
|
2010
|
-
var anyContextKey = key.
|
|
2011
|
-
var tmp1_safe_receiver = this.
|
|
1944
|
+
if (!equals(key.u28_1, Companion_getInstance().k28_1)) {
|
|
1945
|
+
var anyContextKey = key.k29(Companion_getInstance().k28_1);
|
|
1946
|
+
var tmp1_safe_receiver = this.p2e_1.t2(anyContextKey);
|
|
2012
1947
|
if (tmp1_safe_receiver == null)
|
|
2013
1948
|
null;
|
|
2014
1949
|
else {
|
|
@@ -2016,14 +1951,14 @@
|
|
|
2016
1951
|
// Inline function 'kotlin.contracts.contract' call
|
|
2017
1952
|
$l$block: {
|
|
2018
1953
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2019
|
-
var realKey_0 = tmp1_safe_receiver.
|
|
2020
|
-
var list_0 = tmp1_safe_receiver.
|
|
2021
|
-
var translator_0 = tmp1_safe_receiver.
|
|
2022
|
-
if (!(translator_0 == null) ? !equals(translator_0.
|
|
1954
|
+
var realKey_0 = tmp1_safe_receiver.oc();
|
|
1955
|
+
var list_0 = tmp1_safe_receiver.pc();
|
|
1956
|
+
var translator_0 = tmp1_safe_receiver.qg();
|
|
1957
|
+
if (!(translator_0 == null) ? !equals(translator_0.p29(), key.u28_1) : false) {
|
|
2023
1958
|
break $l$block;
|
|
2024
1959
|
}
|
|
2025
1960
|
// Inline function 'kotlin.collections.set' call
|
|
2026
|
-
this.
|
|
1961
|
+
this.p2e_1.k2(key, tmp1_safe_receiver);
|
|
2027
1962
|
var tmp1_elvis_lhs = getOrNull(list_0, overrideLevel);
|
|
2028
1963
|
var tmp_2;
|
|
2029
1964
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2039,36 +1974,36 @@
|
|
|
2039
1974
|
}
|
|
2040
1975
|
}
|
|
2041
1976
|
// Inline function 'kotlin.collections.filter' call
|
|
2042
|
-
var tmp0_filter = this.q2d_1;
|
|
2043
1977
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2044
|
-
var
|
|
2045
|
-
var
|
|
2046
|
-
|
|
2047
|
-
|
|
1978
|
+
var this_0 = this.s2e_1;
|
|
1979
|
+
var destination = ArrayList_init_$Create$();
|
|
1980
|
+
var tmp0_iterator = this_0.v();
|
|
1981
|
+
while (tmp0_iterator.w()) {
|
|
1982
|
+
var element = tmp0_iterator.y();
|
|
2048
1983
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2049
|
-
if (equals(element.
|
|
2050
|
-
|
|
1984
|
+
if (equals(element.p29(), key.u28_1)) {
|
|
1985
|
+
destination.s(element);
|
|
2051
1986
|
}
|
|
2052
1987
|
}
|
|
2053
|
-
var tmp_5 =
|
|
1988
|
+
var tmp_5 = destination;
|
|
2054
1989
|
// Inline function 'kotlin.collections.filter' call
|
|
2055
|
-
var tmp1_filter = this.q2d_1;
|
|
2056
1990
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2057
|
-
var
|
|
2058
|
-
var
|
|
2059
|
-
|
|
2060
|
-
|
|
1991
|
+
var this_1 = this.s2e_1;
|
|
1992
|
+
var destination_0 = ArrayList_init_$Create$();
|
|
1993
|
+
var tmp0_iterator_0 = this_1.v();
|
|
1994
|
+
while (tmp0_iterator_0.w()) {
|
|
1995
|
+
var element_0 = tmp0_iterator_0.y();
|
|
2061
1996
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2062
|
-
if (equals(element_0.
|
|
2063
|
-
|
|
1997
|
+
if (equals(element_0.p29(), Companion_getInstance().k28_1)) {
|
|
1998
|
+
destination_0.s(element_0);
|
|
2064
1999
|
}
|
|
2065
2000
|
}
|
|
2066
|
-
var applicableTranslators = plus(tmp_5,
|
|
2067
|
-
var tmp2_iterator = applicableTranslators.
|
|
2068
|
-
while (tmp2_iterator.
|
|
2069
|
-
var translator_1 = tmp2_iterator.
|
|
2070
|
-
var translatedKey = new Key(translator_1.
|
|
2071
|
-
var tmp3_safe_receiver = this.
|
|
2001
|
+
var applicableTranslators = plus(tmp_5, destination_0);
|
|
2002
|
+
var tmp2_iterator = applicableTranslators.v();
|
|
2003
|
+
while (tmp2_iterator.w()) {
|
|
2004
|
+
var translator_1 = tmp2_iterator.y();
|
|
2005
|
+
var translatedKey = new Key(translator_1.m2b(), key.v28_1, key.w28_1, key.x28_1);
|
|
2006
|
+
var tmp3_safe_receiver = this.p2e_1.t2(translatedKey);
|
|
2072
2007
|
var tmp_6;
|
|
2073
2008
|
if (tmp3_safe_receiver == null) {
|
|
2074
2009
|
tmp_6 = null;
|
|
@@ -2077,7 +2012,7 @@
|
|
|
2077
2012
|
// Inline function 'kotlin.contracts.contract' call
|
|
2078
2013
|
var tmp_7;
|
|
2079
2014
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2080
|
-
if (tmp3_safe_receiver.
|
|
2015
|
+
if (tmp3_safe_receiver.pg_1 == null) {
|
|
2081
2016
|
tmp_7 = tmp3_safe_receiver;
|
|
2082
2017
|
} else {
|
|
2083
2018
|
tmp_7 = null;
|
|
@@ -2092,15 +2027,15 @@
|
|
|
2092
2027
|
// Inline function 'kotlin.contracts.contract' call
|
|
2093
2028
|
$l$block_0: {
|
|
2094
2029
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2095
|
-
if (!(tmp4_safe_receiver.
|
|
2030
|
+
if (!(tmp4_safe_receiver.pg_1 == null)) {
|
|
2096
2031
|
break $l$block_0;
|
|
2097
2032
|
}
|
|
2098
2033
|
// Inline function 'kotlin.collections.set' call
|
|
2099
|
-
var
|
|
2100
|
-
var
|
|
2101
|
-
|
|
2102
|
-
var realKey_1 = tmp4_safe_receiver.
|
|
2103
|
-
var list_1 = tmp4_safe_receiver.
|
|
2034
|
+
var this_2 = this.p2e_1;
|
|
2035
|
+
var value = tmp4_safe_receiver.sg(VOID, VOID, translator_1);
|
|
2036
|
+
this_2.k2(key, value);
|
|
2037
|
+
var realKey_1 = tmp4_safe_receiver.oc();
|
|
2038
|
+
var list_1 = tmp4_safe_receiver.pc();
|
|
2104
2039
|
var tmp1_elvis_lhs_0 = getOrNull(list_1, overrideLevel);
|
|
2105
2040
|
var tmp_8;
|
|
2106
2041
|
if (tmp1_elvis_lhs_0 == null) {
|
|
@@ -2116,45 +2051,45 @@
|
|
|
2116
2051
|
}
|
|
2117
2052
|
}
|
|
2118
2053
|
}
|
|
2119
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2120
|
-
if (result.
|
|
2054
|
+
var result = findBySpecs(this, new SearchSpecs(key.u28_1, key.v28_1, key.w28_1, key.x28_1));
|
|
2055
|
+
if (result.n() === 1) {
|
|
2121
2056
|
var tmp5_container = first(result);
|
|
2122
|
-
var realKey_2 = tmp5_container.
|
|
2123
|
-
var translator_2 = tmp5_container.
|
|
2057
|
+
var realKey_2 = tmp5_container.oc();
|
|
2058
|
+
var translator_2 = tmp5_container.pc();
|
|
2124
2059
|
// Inline function 'kotlin.collections.set' call
|
|
2125
|
-
var
|
|
2126
|
-
var tmp6_safe_receiver = this.
|
|
2127
|
-
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.
|
|
2060
|
+
var this_3 = this.p2e_1;
|
|
2061
|
+
var tmp6_safe_receiver = this.p2e_1.t2(realKey_2);
|
|
2062
|
+
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.sg(VOID, VOID, translator_2);
|
|
2128
2063
|
var tmp_11;
|
|
2129
2064
|
if (tmp7_elvis_lhs == null) {
|
|
2130
2065
|
throw notInMap(this, realKey_2, key);
|
|
2131
2066
|
} else {
|
|
2132
2067
|
tmp_11 = tmp7_elvis_lhs;
|
|
2133
2068
|
}
|
|
2134
|
-
var
|
|
2135
|
-
|
|
2069
|
+
var value_0 = tmp_11;
|
|
2070
|
+
this_3.k2(key, value_0);
|
|
2136
2071
|
}
|
|
2137
2072
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
2138
2073
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2139
|
-
var
|
|
2074
|
+
var destination_1 = ArrayList_init_$Create$();
|
|
2140
2075
|
// Inline function 'kotlin.collections.forEach' call
|
|
2141
|
-
var tmp0_iterator_1 = result.
|
|
2142
|
-
while (tmp0_iterator_1.
|
|
2143
|
-
var element_1 = tmp0_iterator_1.
|
|
2076
|
+
var tmp0_iterator_1 = result.v();
|
|
2077
|
+
while (tmp0_iterator_1.w()) {
|
|
2078
|
+
var element_1 = tmp0_iterator_1.y();
|
|
2144
2079
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2145
2080
|
var tmp$ret$13;
|
|
2146
2081
|
$l$block_1: {
|
|
2147
2082
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2148
|
-
var realKey_3 = element_1.
|
|
2149
|
-
var translator_3 = element_1.
|
|
2150
|
-
var tmp0_elvis_lhs_0 = this.
|
|
2083
|
+
var realKey_3 = element_1.oc();
|
|
2084
|
+
var translator_3 = element_1.pc();
|
|
2085
|
+
var tmp0_elvis_lhs_0 = this.p2e_1.t2(realKey_3);
|
|
2151
2086
|
var tmp_12;
|
|
2152
2087
|
if (tmp0_elvis_lhs_0 == null) {
|
|
2153
2088
|
throw notInMap(this, realKey_3, key);
|
|
2154
2089
|
} else {
|
|
2155
2090
|
tmp_12 = tmp0_elvis_lhs_0;
|
|
2156
2091
|
}
|
|
2157
|
-
var definitions = tmp_12.
|
|
2092
|
+
var definitions = tmp_12.pc();
|
|
2158
2093
|
var tmp2_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2159
2094
|
var tmp_13;
|
|
2160
2095
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2174,45 +2109,44 @@
|
|
|
2174
2109
|
else {
|
|
2175
2110
|
// Inline function 'kotlin.let' call
|
|
2176
2111
|
// Inline function 'kotlin.contracts.contract' call
|
|
2177
|
-
|
|
2112
|
+
destination_1.s(tmp0_safe_receiver_0);
|
|
2178
2113
|
}
|
|
2179
2114
|
}
|
|
2180
|
-
return
|
|
2115
|
+
return destination_1;
|
|
2181
2116
|
};
|
|
2182
|
-
protoOf(DITreeImpl).
|
|
2117
|
+
protoOf(DITreeImpl).q2a = function (search) {
|
|
2183
2118
|
var result = findBySpecs(this, search);
|
|
2184
2119
|
// Inline function 'kotlin.collections.map' call
|
|
2185
2120
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2186
|
-
var
|
|
2187
|
-
var tmp0_iterator = result.
|
|
2188
|
-
while (tmp0_iterator.
|
|
2189
|
-
var item = tmp0_iterator.
|
|
2190
|
-
var tmp$ret$0;
|
|
2121
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
|
|
2122
|
+
var tmp0_iterator = result.v();
|
|
2123
|
+
while (tmp0_iterator.w()) {
|
|
2124
|
+
var item = tmp0_iterator.y();
|
|
2191
2125
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2192
|
-
var key = item.
|
|
2193
|
-
var translator = item.
|
|
2194
|
-
tmp$ret$0 = new Triple(key, ensureNotNull(this.
|
|
2195
|
-
|
|
2126
|
+
var key = item.oc();
|
|
2127
|
+
var translator = item.pc();
|
|
2128
|
+
var tmp$ret$0 = new Triple(key, ensureNotNull(this.p2e_1.t2(key)).og_1, translator);
|
|
2129
|
+
destination.s(tmp$ret$0);
|
|
2196
2130
|
}
|
|
2197
|
-
return
|
|
2131
|
+
return destination;
|
|
2198
2132
|
};
|
|
2199
|
-
protoOf(DITreeImpl).
|
|
2200
|
-
var tmp = this.
|
|
2133
|
+
protoOf(DITreeImpl).r2a = function (key) {
|
|
2134
|
+
var tmp = this.p2e_1.t2(key);
|
|
2201
2135
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2202
2136
|
};
|
|
2203
2137
|
function Down(type) {
|
|
2204
2138
|
TypeChecker.call(this);
|
|
2205
|
-
this.
|
|
2206
|
-
this.
|
|
2139
|
+
this.u2e_1 = type;
|
|
2140
|
+
this.v2e_1 = equals(this.u2e_1, Companion_getInstance().k28_1);
|
|
2207
2141
|
}
|
|
2208
|
-
protoOf(Down).
|
|
2209
|
-
return this.
|
|
2142
|
+
protoOf(Down).t2e = function (other) {
|
|
2143
|
+
return this.v2e_1 ? true : this.u2e_1.g28(other);
|
|
2210
2144
|
};
|
|
2211
2145
|
protoOf(Down).toString = function () {
|
|
2212
|
-
return 'Down(type=' + this.
|
|
2146
|
+
return 'Down(type=' + this.u2e_1 + ')';
|
|
2213
2147
|
};
|
|
2214
2148
|
protoOf(Down).hashCode = function () {
|
|
2215
|
-
return hashCode(this.
|
|
2149
|
+
return hashCode(this.u2e_1);
|
|
2216
2150
|
};
|
|
2217
2151
|
protoOf(Down).equals = function (other) {
|
|
2218
2152
|
if (this === other)
|
|
@@ -2220,22 +2154,22 @@
|
|
|
2220
2154
|
if (!(other instanceof Down))
|
|
2221
2155
|
return false;
|
|
2222
2156
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2223
|
-
if (!equals(this.
|
|
2157
|
+
if (!equals(this.u2e_1, tmp0_other_with_cast.u2e_1))
|
|
2224
2158
|
return false;
|
|
2225
2159
|
return true;
|
|
2226
2160
|
};
|
|
2227
2161
|
function Up(type) {
|
|
2228
2162
|
TypeChecker.call(this);
|
|
2229
|
-
this.
|
|
2163
|
+
this.w2e_1 = type;
|
|
2230
2164
|
}
|
|
2231
|
-
protoOf(Up).
|
|
2232
|
-
return equals(other, Companion_getInstance().
|
|
2165
|
+
protoOf(Up).t2e = function (other) {
|
|
2166
|
+
return equals(other, Companion_getInstance().k28_1) ? true : other.g28(this.w2e_1);
|
|
2233
2167
|
};
|
|
2234
2168
|
protoOf(Up).toString = function () {
|
|
2235
|
-
return 'Up(type=' + this.
|
|
2169
|
+
return 'Up(type=' + this.w2e_1 + ')';
|
|
2236
2170
|
};
|
|
2237
2171
|
protoOf(Up).hashCode = function () {
|
|
2238
|
-
return hashCode(this.
|
|
2172
|
+
return hashCode(this.w2e_1);
|
|
2239
2173
|
};
|
|
2240
2174
|
protoOf(Up).equals = function (other) {
|
|
2241
2175
|
if (this === other)
|
|
@@ -2243,68 +2177,67 @@
|
|
|
2243
2177
|
if (!(other instanceof Up))
|
|
2244
2178
|
return false;
|
|
2245
2179
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2246
|
-
if (!equals(this.
|
|
2180
|
+
if (!equals(this.w2e_1, tmp0_other_with_cast.w2e_1))
|
|
2247
2181
|
return false;
|
|
2248
2182
|
return true;
|
|
2249
2183
|
};
|
|
2250
2184
|
function TypeChecker() {
|
|
2251
2185
|
}
|
|
2252
2186
|
function DirectDIBaseImpl(container, context) {
|
|
2253
|
-
this.
|
|
2254
|
-
this.
|
|
2187
|
+
this.x2e_1 = container;
|
|
2188
|
+
this.y2e_1 = context;
|
|
2255
2189
|
}
|
|
2256
|
-
protoOf(DirectDIBaseImpl).
|
|
2257
|
-
return this.
|
|
2190
|
+
protoOf(DirectDIBaseImpl).x29 = function () {
|
|
2191
|
+
return this.x2e_1;
|
|
2258
2192
|
};
|
|
2259
|
-
protoOf(DirectDIBaseImpl).
|
|
2193
|
+
protoOf(DirectDIBaseImpl).v2a = function () {
|
|
2260
2194
|
return this;
|
|
2261
2195
|
};
|
|
2262
|
-
protoOf(DirectDIBaseImpl).
|
|
2263
|
-
var tmp = this.
|
|
2264
|
-
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.
|
|
2196
|
+
protoOf(DirectDIBaseImpl).s2a = function () {
|
|
2197
|
+
var tmp = this.x29();
|
|
2198
|
+
return On(new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE()), this.y2e_1);
|
|
2265
2199
|
};
|
|
2266
|
-
protoOf(DirectDIBaseImpl).
|
|
2267
|
-
return new DirectDIImpl(this.
|
|
2200
|
+
protoOf(DirectDIBaseImpl).t2a = function (context) {
|
|
2201
|
+
return new DirectDIImpl(this.x29(), context);
|
|
2268
2202
|
};
|
|
2269
|
-
protoOf(DirectDIBaseImpl).
|
|
2270
|
-
var tmp = this.
|
|
2271
|
-
var tmp$ret$0;
|
|
2203
|
+
protoOf(DirectDIBaseImpl).u2a = function (type, tag) {
|
|
2204
|
+
var tmp = this.x29();
|
|
2272
2205
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2273
|
-
var tmp_0 = this.
|
|
2274
|
-
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2275
|
-
return tmp.
|
|
2206
|
+
var tmp_0 = this.y2e_1.c2a();
|
|
2207
|
+
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2208
|
+
return tmp.i2a(new Key(tmp$ret$0, Companion_getInstance().j28_1, type, tag), this.y2e_1.o2())();
|
|
2276
2209
|
};
|
|
2277
2210
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2278
2211
|
return function () {
|
|
2279
2212
|
var tmp;
|
|
2280
|
-
if (!($receiver == null) ? this$0.
|
|
2281
|
-
var tmp_0 =
|
|
2213
|
+
if (!($receiver == null) ? this$0.a2f_1 === get_AnyDIContext() : false) {
|
|
2214
|
+
var tmp_0 = Companion_instance_0;
|
|
2282
2215
|
var tmp_1 = erasedOf($receiver);
|
|
2283
|
-
tmp = tmp_0.
|
|
2216
|
+
tmp = tmp_0.d2a(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2284
2217
|
} else {
|
|
2285
|
-
tmp = this$0.
|
|
2218
|
+
tmp = this$0.a2f_1;
|
|
2286
2219
|
}
|
|
2287
2220
|
var context = tmp;
|
|
2288
|
-
return this$0.
|
|
2221
|
+
return this$0.b2f_1(context, $prop.callableName);
|
|
2289
2222
|
};
|
|
2290
2223
|
}
|
|
2291
2224
|
function DIProperty(trigger, originalContext, get) {
|
|
2292
|
-
this.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2225
|
+
this.z2e_1 = trigger;
|
|
2226
|
+
this.a2f_1 = originalContext;
|
|
2227
|
+
this.b2f_1 = get;
|
|
2295
2228
|
}
|
|
2296
|
-
protoOf(DIProperty).
|
|
2229
|
+
protoOf(DIProperty).c2f = function (receiver, prop) {
|
|
2297
2230
|
// Inline function 'kotlin.also' call
|
|
2298
|
-
var
|
|
2231
|
+
var this_0 = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2299
2232
|
// Inline function 'kotlin.contracts.contract' call
|
|
2300
2233
|
// Inline function 'org.kodein.di.DIProperty.provideDelegate.<anonymous>' call
|
|
2301
|
-
var tmp0_safe_receiver = this.
|
|
2302
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2234
|
+
var tmp0_safe_receiver = this.z2e_1;
|
|
2235
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d2f_1;
|
|
2303
2236
|
if (tmp1_safe_receiver == null)
|
|
2304
2237
|
null;
|
|
2305
2238
|
else
|
|
2306
|
-
tmp1_safe_receiver.
|
|
2307
|
-
return
|
|
2239
|
+
tmp1_safe_receiver.s(this_0);
|
|
2240
|
+
return this_0;
|
|
2308
2241
|
};
|
|
2309
2242
|
function DirectDIImpl(container, context) {
|
|
2310
2243
|
DirectDIBaseImpl.call(this, container, context);
|
|
@@ -2316,32 +2249,40 @@
|
|
|
2316
2249
|
return ArrayList_init_$Create$();
|
|
2317
2250
|
}
|
|
2318
2251
|
//region block: post-declaration
|
|
2319
|
-
protoOf(Singleton).
|
|
2320
|
-
protoOf(Singleton).
|
|
2321
|
-
protoOf(Singleton).
|
|
2322
|
-
protoOf(Singleton).
|
|
2323
|
-
protoOf(Provider).
|
|
2324
|
-
protoOf(Provider).
|
|
2325
|
-
protoOf(Provider).
|
|
2326
|
-
protoOf(Provider).
|
|
2327
|
-
protoOf(Provider).
|
|
2328
|
-
protoOf(Provider).
|
|
2329
|
-
protoOf(DIBuilderImpl).
|
|
2330
|
-
protoOf(
|
|
2331
|
-
protoOf(DIContainerImpl).
|
|
2332
|
-
protoOf(DIContainerImpl).
|
|
2333
|
-
protoOf(
|
|
2334
|
-
protoOf(DIImpl).
|
|
2335
|
-
protoOf(DIImpl).
|
|
2336
|
-
protoOf(
|
|
2337
|
-
protoOf(
|
|
2338
|
-
|
|
2339
|
-
|
|
2252
|
+
protoOf(Singleton).f2b = get_argType;
|
|
2253
|
+
protoOf(Singleton).a29 = get_description;
|
|
2254
|
+
protoOf(Singleton).c29 = get_fullDescription;
|
|
2255
|
+
protoOf(Singleton).h2b = get_supportSubTypes;
|
|
2256
|
+
protoOf(Provider).f2b = get_argType;
|
|
2257
|
+
protoOf(Provider).e2b = factoryFullName;
|
|
2258
|
+
protoOf(Provider).r29 = get_scope;
|
|
2259
|
+
protoOf(Provider).a29 = get_description;
|
|
2260
|
+
protoOf(Provider).c29 = get_fullDescription;
|
|
2261
|
+
protoOf(Provider).h2b = get_supportSubTypes;
|
|
2262
|
+
protoOf(DIBuilderImpl).o29 = import$default;
|
|
2263
|
+
protoOf(DIContainerImpl).k2a = factory$default;
|
|
2264
|
+
protoOf(DIContainerImpl).l2a = provider;
|
|
2265
|
+
protoOf(DIContainerImpl).i2a = provider$default;
|
|
2266
|
+
protoOf(DIImpl).w29 = get_di;
|
|
2267
|
+
protoOf(DIImpl).y29 = get_diContext;
|
|
2268
|
+
protoOf(DIImpl).z29 = get_diTrigger;
|
|
2269
|
+
protoOf(DITreeImpl).p2a = find$default;
|
|
2270
|
+
protoOf(DirectDIBaseImpl).w29 = get_di_0;
|
|
2271
|
+
//endregion
|
|
2272
|
+
//region block: init
|
|
2273
|
+
Companion_instance = new Companion();
|
|
2274
|
+
Companion_instance_0 = new Companion_0();
|
|
2275
|
+
NoDefinedTag_instance = new NoDefinedTag();
|
|
2276
|
+
ErasedContext_instance = new ErasedContext();
|
|
2277
|
+
Companion_instance_1 = new Companion_1();
|
|
2278
|
+
SingletonReference_instance = new SingletonReference();
|
|
2279
|
+
Companion_instance_2 = new Companion_2();
|
|
2280
|
+
Companion_instance_3 = new Companion_3();
|
|
2340
2281
|
//endregion
|
|
2341
2282
|
//region block: exports
|
|
2342
2283
|
_.$_$ = _.$_$ || {};
|
|
2343
2284
|
_.$_$.a = Module_init_$Create$;
|
|
2344
|
-
_.$_$.b =
|
|
2285
|
+
_.$_$.b = Companion_instance;
|
|
2345
2286
|
_.$_$.c = Provider;
|
|
2346
2287
|
_.$_$.d = Singleton;
|
|
2347
2288
|
_.$_$.e = Instance;
|