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