game_client_logic_deb 1.4.6 → 1.4.7
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 +54 -80
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kaverit-kaverit.js +92 -103
- package/Kaverit-kaverit.js.map +1 -1
- package/Kodein-kodein-di.js +769 -942
- package/Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +73 -78
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +1429 -1623
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10499 -11145
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +71 -38
- package/Logic_Debertz-game_client.js +4450 -4857
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +2545 -4844
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2205 -2456
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1502 -1658
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2420 -3718
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +36 -48
- package/uuid-js-ir.js.map +1 -1
package/Kodein-kodein-di.js
CHANGED
|
@@ -16,140 +16,158 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
19
|
+
var classMeta = kotlin_kotlin.$_$.s8;
|
|
20
|
+
var setMetadataFor = kotlin_kotlin.$_$.r9;
|
|
20
21
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
21
|
-
var first = kotlin_kotlin.$_$.
|
|
22
|
+
var first = kotlin_kotlin.$_$.e6;
|
|
22
23
|
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
23
24
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
24
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
25
|
-
var sorted = kotlin_kotlin.$_$.
|
|
25
|
+
var filterNotNull = kotlin_kotlin.$_$.c6;
|
|
26
|
+
var sorted = kotlin_kotlin.$_$.g7;
|
|
26
27
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
27
|
-
var repeat = kotlin_kotlin.$_$.
|
|
28
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
29
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
30
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
31
|
-
var toString = kotlin_kotlin.$_$.
|
|
28
|
+
var repeat = kotlin_kotlin.$_$.pa;
|
|
29
|
+
var ensureNotNull = kotlin_kotlin.$_$.mc;
|
|
30
|
+
var KProperty1 = kotlin_kotlin.$_$.ea;
|
|
31
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.w8;
|
|
32
|
+
var toString = kotlin_kotlin.$_$.xc;
|
|
32
33
|
var Companion_getInstance = kotlin_org_kodein_type_kaverit.$_$.a;
|
|
33
|
-
var equals = kotlin_kotlin.$_$.
|
|
34
|
-
var
|
|
35
|
-
var RuntimeException = kotlin_kotlin.$_$.ac;
|
|
34
|
+
var equals = kotlin_kotlin.$_$.u8;
|
|
35
|
+
var RuntimeException = kotlin_kotlin.$_$.ub;
|
|
36
36
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.u1;
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
38
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
39
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.n8;
|
|
38
|
+
var hashCode = kotlin_kotlin.$_$.y8;
|
|
39
|
+
var THROW_CCE = kotlin_kotlin.$_$.vb;
|
|
40
|
+
var interfaceMeta = kotlin_kotlin.$_$.z8;
|
|
40
41
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
41
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
42
|
+
var getStringHashCode = kotlin_kotlin.$_$.x8;
|
|
43
|
+
var objectMeta = kotlin_kotlin.$_$.q9;
|
|
43
44
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
44
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.h9;
|
|
45
46
|
var joinToString$default = kotlin_kotlin.$_$.h;
|
|
46
47
|
var erasedOf = kotlin_org_kodein_type_kaverit.$_$.c;
|
|
47
|
-
var isObject = kotlin_kotlin.$_$.
|
|
48
|
+
var isObject = kotlin_kotlin.$_$.j9;
|
|
48
49
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
49
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
50
|
+
var toString_0 = kotlin_kotlin.$_$.v9;
|
|
50
51
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
51
52
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
52
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
53
|
-
var Enum = kotlin_kotlin.$_$.
|
|
54
|
-
var Map = kotlin_kotlin.$_$.
|
|
55
|
-
var listOf = kotlin_kotlin.$_$.
|
|
56
|
-
var plus = kotlin_kotlin.$_$.
|
|
57
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
58
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
59
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
53
|
+
var charSequenceLength = kotlin_kotlin.$_$.q8;
|
|
54
|
+
var Enum = kotlin_kotlin.$_$.lb;
|
|
55
|
+
var Map = kotlin_kotlin.$_$.w4;
|
|
56
|
+
var listOf = kotlin_kotlin.$_$.r6;
|
|
57
|
+
var plus = kotlin_kotlin.$_$.z6;
|
|
58
|
+
var emptyList = kotlin_kotlin.$_$.y5;
|
|
59
|
+
var plus_0 = kotlin_kotlin.$_$.a7;
|
|
60
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.f5;
|
|
60
61
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.a2;
|
|
61
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
62
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
63
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
62
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.g5;
|
|
63
|
+
var mapCapacity = kotlin_kotlin.$_$.t6;
|
|
64
|
+
var coerceAtLeast = kotlin_kotlin.$_$.w9;
|
|
64
65
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.v;
|
|
65
|
-
var to = kotlin_kotlin.$_$.
|
|
66
|
-
var KProperty0 = kotlin_kotlin.$_$.
|
|
67
|
-
var KMutableProperty0 = kotlin_kotlin.$_$.
|
|
68
|
-
var lazy = kotlin_kotlin.$_$.
|
|
69
|
-
var asSequence = kotlin_kotlin.$_$.
|
|
70
|
-
var filter = kotlin_kotlin.$_$.
|
|
71
|
-
var flatMap = kotlin_kotlin.$_$.
|
|
72
|
-
var mapNotNull = kotlin_kotlin.$_$.
|
|
73
|
-
var map = kotlin_kotlin.$_$.
|
|
74
|
-
var toList = kotlin_kotlin.$_$.
|
|
75
|
-
var Triple = kotlin_kotlin.$_$.
|
|
66
|
+
var to = kotlin_kotlin.$_$.yc;
|
|
67
|
+
var KProperty0 = kotlin_kotlin.$_$.da;
|
|
68
|
+
var KMutableProperty0 = kotlin_kotlin.$_$.ca;
|
|
69
|
+
var lazy = kotlin_kotlin.$_$.rc;
|
|
70
|
+
var asSequence = kotlin_kotlin.$_$.e5;
|
|
71
|
+
var filter = kotlin_kotlin.$_$.ga;
|
|
72
|
+
var flatMap = kotlin_kotlin.$_$.ha;
|
|
73
|
+
var mapNotNull = kotlin_kotlin.$_$.ia;
|
|
74
|
+
var map = kotlin_kotlin.$_$.ja;
|
|
75
|
+
var toList = kotlin_kotlin.$_$.ka;
|
|
76
|
+
var Triple = kotlin_kotlin.$_$.xb;
|
|
76
77
|
var ArrayList_init_$Create$_1 = kotlin_kotlin.$_$.o;
|
|
77
78
|
var HashMap_init_$Create$_0 = kotlin_kotlin.$_$.r;
|
|
78
79
|
var Collection = kotlin_kotlin.$_$.p4;
|
|
79
|
-
var addAll = kotlin_kotlin.$_$.
|
|
80
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
80
|
+
var addAll = kotlin_kotlin.$_$.b5;
|
|
81
|
+
var getOrNull = kotlin_kotlin.$_$.g6;
|
|
81
82
|
//endregion
|
|
82
83
|
//region block: pre-declaration
|
|
83
|
-
|
|
84
|
-
DIDefinition
|
|
85
|
-
DependencyLoopException
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
OverridingException.prototype = Object.create(RuntimeException.prototype);
|
|
90
|
-
OverridingException.prototype.constructor = OverridingException;
|
|
84
|
+
setMetadataFor(DIDefining, 'DIDefining', classMeta, undefined, undefined, undefined, undefined, []);
|
|
85
|
+
setMetadataFor(DIDefinition, 'DIDefinition', classMeta, DIDefining, undefined, undefined, undefined, []);
|
|
86
|
+
setMetadataFor(DependencyLoopException, 'DependencyLoopException', classMeta, RuntimeException, undefined, undefined, undefined, []);
|
|
87
|
+
setMetadataFor(NotFoundException, 'NotFoundException', classMeta, RuntimeException, undefined, undefined, undefined, []);
|
|
88
|
+
setMetadataFor(OverridingException, 'OverridingException', classMeta, RuntimeException, undefined, undefined, undefined, []);
|
|
89
|
+
setMetadataFor(Key, 'Key', classMeta, undefined, undefined, undefined, undefined, []);
|
|
91
90
|
function import$default(module_0, allowOverride, $mask0, $handler) {
|
|
92
91
|
if (!(($mask0 & 2) === 0))
|
|
93
92
|
allowOverride = false;
|
|
94
93
|
var tmp;
|
|
95
94
|
if ($handler == null) {
|
|
96
|
-
this.
|
|
95
|
+
this.v25(module_0, allowOverride);
|
|
97
96
|
tmp = Unit_getInstance();
|
|
98
97
|
} else {
|
|
99
98
|
tmp = $handler(module_0, allowOverride);
|
|
100
99
|
}
|
|
101
100
|
return tmp;
|
|
102
101
|
}
|
|
102
|
+
setMetadataFor(Builder, 'Builder', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
103
|
+
setMetadataFor(Module, 'Module', classMeta, undefined, undefined, undefined, undefined, []);
|
|
104
|
+
setMetadataFor(Companion, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
103
105
|
function get_diContext() {
|
|
104
106
|
return get_AnyDIContext();
|
|
105
107
|
}
|
|
106
108
|
function get_diTrigger() {
|
|
107
109
|
return null;
|
|
108
110
|
}
|
|
111
|
+
setMetadataFor(DIAware, 'DIAware', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
109
112
|
function get_di() {
|
|
110
113
|
return this;
|
|
111
114
|
}
|
|
115
|
+
setMetadataFor(DI, 'DI', interfaceMeta, undefined, [DIAware], undefined, undefined, []);
|
|
116
|
+
setMetadataFor(DIContext, 'DIContext', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
117
|
+
setMetadataFor(Value, 'Value', classMeta, undefined, [DIContext], undefined, undefined, []);
|
|
118
|
+
setMetadataFor(Companion_0, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
119
|
+
setMetadataFor(Contexes, 'Contexes', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
120
|
+
setMetadataFor(DIWrapper, 'DIWrapper', classMeta, undefined, [DI], undefined, undefined, []);
|
|
112
121
|
function factory$default(key, context, overrideLevel, $mask0, $handler) {
|
|
113
122
|
if (!(($mask0 & 4) === 0))
|
|
114
123
|
overrideLevel = 0;
|
|
115
|
-
return $handler == null ? this.
|
|
124
|
+
return $handler == null ? this.o26(key, context, overrideLevel) : $handler(key, context, overrideLevel);
|
|
116
125
|
}
|
|
117
126
|
function provider(key, context, overrideLevel) {
|
|
118
127
|
var tmp$ret$0;
|
|
119
128
|
// Inline function 'org.kodein.di.toProvider' call
|
|
120
|
-
var tmp0_toProvider = this.
|
|
129
|
+
var tmp0_toProvider = this.p26(key, context, 0, 4, null);
|
|
121
130
|
tmp$ret$0 = DIContainer$provider$lambda(tmp0_toProvider);
|
|
122
131
|
return tmp$ret$0;
|
|
123
132
|
}
|
|
124
133
|
function provider$default(key, context, overrideLevel, $mask0, $handler) {
|
|
125
134
|
if (!(($mask0 & 4) === 0))
|
|
126
135
|
overrideLevel = 0;
|
|
127
|
-
return $handler == null ? this.
|
|
136
|
+
return $handler == null ? this.q26(key, context, overrideLevel) : $handler(key, context, overrideLevel);
|
|
128
137
|
}
|
|
138
|
+
setMetadataFor(DIContainer, 'DIContainer', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
129
139
|
function find$default(key, overrideLevel, all, $mask0, $handler) {
|
|
130
140
|
if (!(($mask0 & 2) === 0))
|
|
131
141
|
overrideLevel = 0;
|
|
132
142
|
if (!(($mask0 & 4) === 0))
|
|
133
143
|
all = false;
|
|
134
|
-
return $handler == null ? this.
|
|
144
|
+
return $handler == null ? this.t26(key, overrideLevel, all) : $handler(key, overrideLevel, all);
|
|
135
145
|
}
|
|
146
|
+
setMetadataFor(DITree, 'DITree', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
136
147
|
function get_di_0() {
|
|
137
|
-
return this.
|
|
138
|
-
}
|
|
148
|
+
return this.x26();
|
|
149
|
+
}
|
|
150
|
+
setMetadataFor(DirectDIBase, 'DirectDIBase', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
151
|
+
setMetadataFor(NoDefinedTag, 'NoDefinedTag', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
152
|
+
setMetadataFor(SearchSpecs, 'SearchSpecs', classMeta, undefined, undefined, undefined, undefined, []);
|
|
153
|
+
setMetadataFor(NoArgBindingDIWrap, 'NoArgBindingDIWrap', classMeta, undefined, [DirectDIBase], undefined, undefined, []);
|
|
154
|
+
setMetadataFor(ErasedContext, 'ErasedContext', objectMeta, undefined, [DIContext], undefined, undefined, []);
|
|
155
|
+
setMetadataFor(DIBinding$Copier$Companion$invoke$1, undefined, classMeta, undefined, undefined, undefined, undefined, []);
|
|
156
|
+
setMetadataFor(Companion_1, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
139
157
|
function factoryFullName() {
|
|
140
|
-
return this.
|
|
158
|
+
return this.i27();
|
|
141
159
|
}
|
|
142
160
|
function get_scope() {
|
|
143
161
|
return null;
|
|
144
162
|
}
|
|
145
163
|
function get_description() {
|
|
146
|
-
var arg = !equals(this.
|
|
164
|
+
var arg = !equals(this.m27(), Companion_getInstance().s24_1) ? this.m27().h24() + ' -> ' : '';
|
|
147
165
|
var tmp;
|
|
148
|
-
var tmp_0 = this.
|
|
166
|
+
var tmp_0 = this.k27();
|
|
149
167
|
if (tmp_0 instanceof NoScope) {
|
|
150
168
|
tmp = null;
|
|
151
169
|
} else {
|
|
152
|
-
tmp = this.
|
|
170
|
+
tmp = this.k27();
|
|
153
171
|
}
|
|
154
172
|
var scope = tmp;
|
|
155
173
|
var tmp0_safe_receiver = scope;
|
|
@@ -162,22 +180,22 @@
|
|
|
162
180
|
// Inline function 'kotlin.contracts.contract' call
|
|
163
181
|
var tmp$ret$0;
|
|
164
182
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-description>.<anonymous>' call
|
|
165
|
-
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).
|
|
183
|
+
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).h24() + ').';
|
|
166
184
|
tmp$ret$1 = tmp$ret$0;
|
|
167
185
|
tmp_1 = tmp$ret$1;
|
|
168
186
|
}
|
|
169
187
|
var tmp1_elvis_lhs = tmp_1;
|
|
170
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
171
|
-
return context + this.
|
|
188
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.l27(), Companion_getInstance().t24_1) ? 'contexted<' + this.l27().h24() + '>().' : '' : tmp1_elvis_lhs;
|
|
189
|
+
return context + this.i27() + ' { ' + arg + this.n27().h24() + ' }';
|
|
172
190
|
}
|
|
173
191
|
function get_fullDescription() {
|
|
174
|
-
var arg = !equals(this.
|
|
192
|
+
var arg = !equals(this.m27(), Companion_getInstance().s24_1) ? this.m27().j24() + ' -> ' : '';
|
|
175
193
|
var tmp;
|
|
176
|
-
var tmp_0 = this.
|
|
194
|
+
var tmp_0 = this.k27();
|
|
177
195
|
if (tmp_0 instanceof NoScope) {
|
|
178
196
|
tmp = null;
|
|
179
197
|
} else {
|
|
180
|
-
tmp = this.
|
|
198
|
+
tmp = this.k27();
|
|
181
199
|
}
|
|
182
200
|
var scope = tmp;
|
|
183
201
|
var tmp0_safe_receiver = scope;
|
|
@@ -190,44 +208,58 @@
|
|
|
190
208
|
// Inline function 'kotlin.contracts.contract' call
|
|
191
209
|
var tmp$ret$0;
|
|
192
210
|
// Inline function 'org.kodein.di.bindings.DIBinding.<get-fullDescription>.<anonymous>' call
|
|
193
|
-
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).
|
|
211
|
+
tmp$ret$0 = 'scoped(' + erasedOf(tmp0_safe_receiver).j24() + ').';
|
|
194
212
|
tmp$ret$1 = tmp$ret$0;
|
|
195
213
|
tmp_1 = tmp$ret$1;
|
|
196
214
|
}
|
|
197
215
|
var tmp1_elvis_lhs = tmp_1;
|
|
198
|
-
var context = tmp1_elvis_lhs == null ? !equals(this.
|
|
199
|
-
return context + this.
|
|
216
|
+
var context = tmp1_elvis_lhs == null ? !equals(this.l27(), Companion_getInstance().t24_1) ? 'contexted<' + this.l27().j24() + '>().' : '' : tmp1_elvis_lhs;
|
|
217
|
+
return context + this.j27() + ' { ' + arg + this.n27().j24() + ' }';
|
|
200
218
|
}
|
|
201
219
|
function get_supportSubTypes() {
|
|
202
220
|
return false;
|
|
203
221
|
}
|
|
222
|
+
setMetadataFor(DIBinding, 'DIBinding', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
204
223
|
function get_argType() {
|
|
205
|
-
return Companion_getInstance().
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
224
|
+
return Companion_getInstance().s24_1;
|
|
225
|
+
}
|
|
226
|
+
setMetadataFor(NoArgDIBinding, 'NoArgDIBinding', interfaceMeta, undefined, [DIBinding], undefined, undefined, []);
|
|
227
|
+
setMetadataFor(SingletonReference, 'SingletonReference', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
228
|
+
setMetadataFor(Reference, 'Reference', classMeta, undefined, undefined, undefined, undefined, []);
|
|
229
|
+
setMetadataFor(ContextTranslator, 'ContextTranslator', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
230
|
+
setMetadataFor(ScopeRegistry, 'ScopeRegistry', classMeta, undefined, undefined, undefined, undefined, []);
|
|
231
|
+
setMetadataFor(StandardScopeRegistry, 'StandardScopeRegistry', classMeta, ScopeRegistry, undefined, undefined, undefined, []);
|
|
232
|
+
setMetadataFor(NoScope, 'NoScope', classMeta, undefined, undefined, undefined, undefined, []);
|
|
233
|
+
setMetadataFor(CompositeContextTranslator, 'CompositeContextTranslator', classMeta, undefined, [ContextTranslator], undefined, undefined, []);
|
|
234
|
+
setMetadataFor(Singleton, 'Singleton', classMeta, undefined, [NoArgDIBinding], undefined, undefined, []);
|
|
235
|
+
setMetadataFor(Provider, 'Provider', classMeta, undefined, [NoArgDIBinding], undefined, undefined, []);
|
|
236
|
+
setMetadataFor(ScopeKey, 'ScopeKey', classMeta, undefined, undefined, undefined, undefined, []);
|
|
237
|
+
setMetadataFor(DIBuilderImpl, 'DIBuilderImpl', classMeta, undefined, [Builder], undefined, undefined, []);
|
|
238
|
+
setMetadataFor(DIMainBuilderImpl, 'DIMainBuilderImpl', classMeta, DIBuilderImpl, [DIBuilderImpl, Builder], undefined, undefined, []);
|
|
239
|
+
setMetadataFor(TypeBinder, 'TypeBinder', classMeta, undefined, undefined, undefined, undefined, []);
|
|
240
|
+
setMetadataFor(OverrideMode, 'OverrideMode', classMeta, Enum, undefined, undefined, undefined, []);
|
|
241
|
+
setMetadataFor(DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT, 'ALLOW_SILENT', classMeta, OverrideMode, undefined, undefined, undefined, []);
|
|
242
|
+
setMetadataFor(DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT, 'ALLOW_EXPLICIT', classMeta, OverrideMode, undefined, undefined, undefined, []);
|
|
243
|
+
setMetadataFor(DIContainerBuilderImpl$OverrideMode$FORBID, 'FORBID', classMeta, OverrideMode, undefined, undefined, undefined, []);
|
|
244
|
+
setMetadataFor(Companion_2, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
245
|
+
setMetadataFor(DIContainerBuilderImpl, 'DIContainerBuilderImpl', classMeta, undefined, undefined, undefined, undefined, []);
|
|
246
|
+
setMetadataFor(Node, 'Node', classMeta, undefined, undefined, undefined, undefined, []);
|
|
247
|
+
setMetadataFor(DIContainerImpl, 'DIContainerImpl', classMeta, undefined, [DIContainer], undefined, undefined, []);
|
|
248
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta, undefined, undefined, undefined, undefined, []);
|
|
249
|
+
setMetadataFor(DIImpl, 'DIImpl', classMeta, undefined, [DI], undefined, undefined, []);
|
|
250
|
+
setMetadataFor(BindingDIImpl, 'BindingDIImpl', classMeta, undefined, [DirectDIBase], undefined, undefined, []);
|
|
251
|
+
setMetadataFor(DITreeImpl, 'DITreeImpl', classMeta, undefined, [DITree], undefined, undefined, []);
|
|
252
|
+
setMetadataFor(TypeChecker, 'TypeChecker', classMeta, undefined, undefined, undefined, undefined, []);
|
|
253
|
+
setMetadataFor(Down, 'Down', classMeta, TypeChecker, undefined, undefined, undefined, []);
|
|
254
|
+
setMetadataFor(Up, 'Up', classMeta, TypeChecker, undefined, undefined, undefined, []);
|
|
255
|
+
setMetadataFor(DirectDIBaseImpl, 'DirectDIBaseImpl', classMeta, undefined, [DirectDIBase], undefined, undefined, []);
|
|
256
|
+
setMetadataFor(DIProperty, 'DIProperty', classMeta, undefined, undefined, undefined, undefined, []);
|
|
257
|
+
setMetadataFor(DirectDIImpl, 'DirectDIImpl', classMeta, DirectDIBaseImpl, [DirectDIBaseImpl, DirectDIBase], undefined, undefined, []);
|
|
225
258
|
//endregion
|
|
226
259
|
function DIDefinition(binding, fromModule, tree) {
|
|
227
260
|
DIDefining.call(this, binding, fromModule);
|
|
228
|
-
this.
|
|
261
|
+
this.a25_1 = tree;
|
|
229
262
|
}
|
|
230
|
-
DIDefinition.$metadata$ = classMeta('DIDefinition', undefined, undefined, undefined, undefined, DIDefining.prototype);
|
|
231
263
|
function description(_this__u8e3s4, withOverrides, ident) {
|
|
232
264
|
return descriptionImpl(_this__u8e3s4, withOverrides, ident, bindDescription$factory(), description$factory());
|
|
233
265
|
}
|
|
@@ -239,40 +271,33 @@
|
|
|
239
271
|
return description(_this__u8e3s4, withOverrides, ident);
|
|
240
272
|
}
|
|
241
273
|
function DIDefining(binding, fromModule) {
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
274
|
+
this.b25_1 = binding;
|
|
275
|
+
this.c25_1 = fromModule;
|
|
244
276
|
}
|
|
245
|
-
DIDefining.prototype.j2e = function () {
|
|
246
|
-
return this.h2e_1;
|
|
247
|
-
};
|
|
248
|
-
DIDefining.prototype.k2e = function () {
|
|
249
|
-
return this.i2e_1;
|
|
250
|
-
};
|
|
251
|
-
DIDefining.$metadata$ = classMeta('DIDefining');
|
|
252
277
|
function descriptionImpl(_this__u8e3s4, withOverrides, ident, keyBindDisp, bindingDisp) {
|
|
253
278
|
var tmp$ret$4;
|
|
254
279
|
// Inline function 'kotlin.collections.groupBy' call
|
|
255
|
-
var tmp0_groupBy = _this__u8e3s4.
|
|
280
|
+
var tmp0_groupBy = _this__u8e3s4.o();
|
|
256
281
|
var tmp$ret$3;
|
|
257
282
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
258
283
|
var tmp0_groupByTo = LinkedHashMap_init_$Create$();
|
|
259
|
-
var tmp0_iterator = tmp0_groupBy.
|
|
260
|
-
while (tmp0_iterator.
|
|
261
|
-
var element = tmp0_iterator.
|
|
284
|
+
var tmp0_iterator = tmp0_groupBy.g();
|
|
285
|
+
while (tmp0_iterator.h()) {
|
|
286
|
+
var element = tmp0_iterator.i();
|
|
262
287
|
var tmp$ret$0;
|
|
263
288
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
264
|
-
tmp$ret$0 = first(element.
|
|
289
|
+
tmp$ret$0 = first(element.j1()).c25_1;
|
|
265
290
|
var key = tmp$ret$0;
|
|
266
291
|
var tmp$ret$2;
|
|
267
292
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
268
|
-
var value = tmp0_groupByTo.
|
|
293
|
+
var value = tmp0_groupByTo.t1(key);
|
|
269
294
|
var tmp;
|
|
270
295
|
if (value == null) {
|
|
271
296
|
var tmp$ret$1;
|
|
272
297
|
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
273
298
|
tmp$ret$1 = ArrayList_init_$Create$();
|
|
274
299
|
var answer = tmp$ret$1;
|
|
275
|
-
tmp0_groupByTo.
|
|
300
|
+
tmp0_groupByTo.w2(key, answer);
|
|
276
301
|
tmp = answer;
|
|
277
302
|
} else {
|
|
278
303
|
tmp = value;
|
|
@@ -284,7 +309,7 @@
|
|
|
284
309
|
tmp$ret$3 = tmp0_groupByTo;
|
|
285
310
|
tmp$ret$4 = tmp$ret$3;
|
|
286
311
|
var byModule = tmp$ret$4;
|
|
287
|
-
var modules = sorted(filterNotNull(byModule.
|
|
312
|
+
var modules = sorted(filterNotNull(byModule.u1()));
|
|
288
313
|
var tmp$ret$7;
|
|
289
314
|
// Inline function 'kotlin.text.buildString' call
|
|
290
315
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -293,7 +318,7 @@
|
|
|
293
318
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
294
319
|
// Inline function 'kotlin.contracts.contract' call
|
|
295
320
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>' call
|
|
296
|
-
var tmp0_safe_receiver = byModule.
|
|
321
|
+
var tmp0_safe_receiver = byModule.t1(null);
|
|
297
322
|
if (tmp0_safe_receiver == null)
|
|
298
323
|
null;
|
|
299
324
|
else {
|
|
@@ -304,13 +329,13 @@
|
|
|
304
329
|
tmp$ret$5 = Unit_getInstance();
|
|
305
330
|
}
|
|
306
331
|
// Inline function 'kotlin.collections.forEach' call
|
|
307
|
-
var tmp0_iterator_0 = modules.
|
|
308
|
-
while (tmp0_iterator_0.
|
|
309
|
-
var element_0 = tmp0_iterator_0.
|
|
332
|
+
var tmp0_iterator_0 = modules.g();
|
|
333
|
+
while (tmp0_iterator_0.h()) {
|
|
334
|
+
var element_0 = tmp0_iterator_0.i();
|
|
310
335
|
// Inline function 'org.kodein.di.descriptionImpl.<anonymous>.<anonymous>' call
|
|
311
|
-
tmp0_apply.
|
|
312
|
-
descriptionImpl$appendBindings(tmp0_apply, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.
|
|
313
|
-
tmp0_apply.
|
|
336
|
+
tmp0_apply.h7(repeat(' ', ident) + 'module ' + element_0 + ' {\n');
|
|
337
|
+
descriptionImpl$appendBindings(tmp0_apply, keyBindDisp, bindingDisp, withOverrides, ident + 4 | 0, ensureNotNull(byModule.t1(element_0)));
|
|
338
|
+
tmp0_apply.h7(repeat(' ', ident) + '}\n');
|
|
314
339
|
}
|
|
315
340
|
tmp$ret$6 = tmp0_apply;
|
|
316
341
|
tmp$ret$7 = tmp$ret$6.toString();
|
|
@@ -327,81 +352,75 @@
|
|
|
327
352
|
return fullDescription(_this__u8e3s4, withOverrides, ident);
|
|
328
353
|
}
|
|
329
354
|
function descriptionImpl$appendBindings(_this__u8e3s4, $keyBindDisp, $bindingDisp, $withOverrides, ident, entries) {
|
|
330
|
-
var tmp0_iterator = entries.
|
|
331
|
-
while (tmp0_iterator.
|
|
332
|
-
var element = tmp0_iterator.
|
|
355
|
+
var tmp0_iterator = entries.g();
|
|
356
|
+
while (tmp0_iterator.h()) {
|
|
357
|
+
var element = tmp0_iterator.i();
|
|
333
358
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>' call
|
|
334
|
-
var keyDescription = $keyBindDisp(element.
|
|
335
|
-
_this__u8e3s4.
|
|
359
|
+
var keyDescription = $keyBindDisp(element.h1());
|
|
360
|
+
_this__u8e3s4.h7(repeat(' ', ident) + keyDescription + ' { ' + $bindingDisp(first(element.j1()).b25_1) + ' }');
|
|
336
361
|
if ($withOverrides) {
|
|
337
362
|
var subIdent = keyDescription.length - 4 | 0;
|
|
338
363
|
// Inline function 'kotlin.collections.forEach' call
|
|
339
|
-
var tmp0_forEach = element.
|
|
340
|
-
var tmp0_iterator_0 = tmp0_forEach.
|
|
341
|
-
while (tmp0_iterator_0.
|
|
342
|
-
var element_0 = tmp0_iterator_0.
|
|
364
|
+
var tmp0_forEach = element.j1().c2(1, element.j1().f());
|
|
365
|
+
var tmp0_iterator_0 = tmp0_forEach.g();
|
|
366
|
+
while (tmp0_iterator_0.h()) {
|
|
367
|
+
var element_0 = tmp0_iterator_0.i();
|
|
343
368
|
// Inline function 'org.kodein.di.descriptionImpl.appendBindings.<anonymous>.<anonymous>' call
|
|
344
|
-
_this__u8e3s4.
|
|
369
|
+
_this__u8e3s4.h7(repeat(' ', subIdent) + 'overrides ' + $bindingDisp(element_0.b25_1));
|
|
345
370
|
}
|
|
346
371
|
}
|
|
347
|
-
_this__u8e3s4.
|
|
372
|
+
_this__u8e3s4.h7('\n');
|
|
348
373
|
}
|
|
349
374
|
return Unit_getInstance();
|
|
350
375
|
}
|
|
351
376
|
function bindDescription$factory() {
|
|
352
377
|
return getPropertyCallableRef('bindDescription', 1, KProperty1, function (receiver) {
|
|
353
|
-
return receiver.
|
|
378
|
+
return receiver.i25();
|
|
354
379
|
}, null);
|
|
355
380
|
}
|
|
356
381
|
function description$factory() {
|
|
357
382
|
return getPropertyCallableRef('description', 1, KProperty1, function (receiver) {
|
|
358
|
-
return receiver.
|
|
383
|
+
return receiver.j25();
|
|
359
384
|
}, null);
|
|
360
385
|
}
|
|
361
386
|
function bindFullDescription$factory() {
|
|
362
387
|
return getPropertyCallableRef('bindFullDescription', 1, KProperty1, function (receiver) {
|
|
363
|
-
return receiver.
|
|
388
|
+
return receiver.k25();
|
|
364
389
|
}, null);
|
|
365
390
|
}
|
|
366
391
|
function fullDescription$factory() {
|
|
367
392
|
return getPropertyCallableRef('fullDescription', 1, KProperty1, function (receiver) {
|
|
368
|
-
return receiver.
|
|
393
|
+
return receiver.l25();
|
|
369
394
|
}, null);
|
|
370
395
|
}
|
|
371
396
|
function appendDescription(_this__u8e3s4, $this, displayString) {
|
|
372
|
-
if (!($this.
|
|
373
|
-
_this__u8e3s4.
|
|
397
|
+
if (!($this.g25_1 == null)) {
|
|
398
|
+
_this__u8e3s4.h7(' tagged "' + toString($this.g25_1) + '"');
|
|
374
399
|
}
|
|
375
|
-
if (!equals($this.
|
|
376
|
-
_this__u8e3s4.
|
|
400
|
+
if (!equals($this.d25_1, Companion_getInstance().t24_1)) {
|
|
401
|
+
_this__u8e3s4.h7(' on context ' + displayString($this.d25_1));
|
|
377
402
|
}
|
|
378
|
-
if (!equals($this.
|
|
379
|
-
_this__u8e3s4.
|
|
403
|
+
if (!equals($this.e25_1, Companion_getInstance().s24_1)) {
|
|
404
|
+
_this__u8e3s4.h7(', with argument ' + displayString($this.e25_1));
|
|
380
405
|
}
|
|
381
406
|
}
|
|
382
407
|
function TypeToken$simpleDispString$ref() {
|
|
383
408
|
var l = function (p0) {
|
|
384
|
-
return p0.
|
|
409
|
+
return p0.h24();
|
|
385
410
|
};
|
|
386
411
|
l.callableName = 'simpleDispString';
|
|
387
412
|
return l;
|
|
388
413
|
}
|
|
389
414
|
function TypeToken$qualifiedDispString$ref() {
|
|
390
415
|
var l = function (p0) {
|
|
391
|
-
return p0.
|
|
416
|
+
return p0.j24();
|
|
392
417
|
};
|
|
393
418
|
l.callableName = 'qualifiedDispString';
|
|
394
419
|
return l;
|
|
395
420
|
}
|
|
396
|
-
function WithScope() {
|
|
397
|
-
}
|
|
398
|
-
WithScope.$metadata$ = interfaceMeta('WithScope', [BindBuilder]);
|
|
399
|
-
function TypeBinder() {
|
|
400
|
-
}
|
|
401
|
-
TypeBinder.$metadata$ = interfaceMeta('TypeBinder');
|
|
402
421
|
function Module_init_$Init$(name, allowSilentOverride, prefix, init, $this) {
|
|
403
422
|
Module.call($this, allowSilentOverride, prefix, init);
|
|
404
|
-
$this.
|
|
423
|
+
$this.p25_1 = name;
|
|
405
424
|
return $this;
|
|
406
425
|
}
|
|
407
426
|
function Module_init_$Init$_0(name, allowSilentOverride, prefix, init, $mask0, $marker, $this) {
|
|
@@ -419,54 +438,39 @@
|
|
|
419
438
|
RuntimeException_init_$Init$(message, this);
|
|
420
439
|
captureStack(this, DependencyLoopException);
|
|
421
440
|
}
|
|
422
|
-
DependencyLoopException.$metadata$ = classMeta('DependencyLoopException', undefined, undefined, undefined, undefined, RuntimeException.prototype);
|
|
423
441
|
function NotFoundException(key, message) {
|
|
424
442
|
RuntimeException_init_$Init$(message, this);
|
|
425
|
-
this.
|
|
443
|
+
this.q25_1 = key;
|
|
426
444
|
captureStack(this, NotFoundException);
|
|
427
445
|
}
|
|
428
|
-
NotFoundException.$metadata$ = classMeta('NotFoundException', undefined, undefined, undefined, undefined, RuntimeException.prototype);
|
|
429
446
|
function OverridingException(message) {
|
|
430
447
|
RuntimeException_init_$Init$(message, this);
|
|
431
448
|
captureStack(this, OverridingException);
|
|
432
449
|
}
|
|
433
|
-
OverridingException.$metadata$ = classMeta('OverridingException', undefined, undefined, undefined, undefined, RuntimeException.prototype);
|
|
434
450
|
function Key(contextType, argType, type, tag) {
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
451
|
+
this.d25_1 = contextType;
|
|
452
|
+
this.e25_1 = argType;
|
|
453
|
+
this.f25_1 = type;
|
|
454
|
+
this.g25_1 = tag;
|
|
455
|
+
this.h25_1 = 0;
|
|
440
456
|
}
|
|
441
|
-
Key.prototype.v2e = function () {
|
|
442
|
-
return this.l2e_1;
|
|
443
|
-
};
|
|
444
|
-
Key.prototype.d2f = function () {
|
|
445
|
-
return this.m2e_1;
|
|
446
|
-
};
|
|
447
|
-
Key.prototype.f7 = function () {
|
|
448
|
-
return this.n2e_1;
|
|
449
|
-
};
|
|
450
|
-
Key.prototype.e2f = function () {
|
|
451
|
-
return this.o2e_1;
|
|
452
|
-
};
|
|
453
457
|
Key.prototype.hashCode = function () {
|
|
454
|
-
if (this.
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
457
|
-
this.
|
|
458
|
+
if (this.h25_1 === 0) {
|
|
459
|
+
this.h25_1 = hashCode(this.d25_1);
|
|
460
|
+
this.h25_1 = imul(31, this.h25_1) + hashCode(this.e25_1) | 0;
|
|
461
|
+
this.h25_1 = imul(29, hashCode(this.f25_1));
|
|
458
462
|
var tmp = this;
|
|
459
|
-
var tmp_0 = imul(23, this.
|
|
460
|
-
var tmp0_safe_receiver = this.
|
|
463
|
+
var tmp_0 = imul(23, this.h25_1);
|
|
464
|
+
var tmp0_safe_receiver = this.g25_1;
|
|
461
465
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
462
|
-
tmp.
|
|
466
|
+
tmp.h25_1 = tmp_0 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
463
467
|
}
|
|
464
|
-
return this.
|
|
468
|
+
return this.h25_1;
|
|
465
469
|
};
|
|
466
470
|
Key.prototype.toString = function () {
|
|
467
|
-
return this.
|
|
471
|
+
return this.j25();
|
|
468
472
|
};
|
|
469
|
-
Key.prototype.
|
|
473
|
+
Key.prototype.i25 = function () {
|
|
470
474
|
var tmp$ret$1;
|
|
471
475
|
// Inline function 'kotlin.text.buildString' call
|
|
472
476
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -475,15 +479,15 @@
|
|
|
475
479
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
476
480
|
// Inline function 'kotlin.contracts.contract' call
|
|
477
481
|
// Inline function 'org.kodein.di.Key.<get-bindDescription>.<anonymous>' call
|
|
478
|
-
tmp0_apply.
|
|
479
|
-
if (!(this.
|
|
480
|
-
tmp0_apply.
|
|
482
|
+
tmp0_apply.h7('bind<' + this.f25_1.h24() + '>');
|
|
483
|
+
if (!(this.g25_1 == null)) {
|
|
484
|
+
tmp0_apply.h7('(tag = "' + toString(this.g25_1) + '")');
|
|
481
485
|
}
|
|
482
486
|
tmp$ret$0 = tmp0_apply;
|
|
483
487
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
484
488
|
return tmp$ret$1;
|
|
485
489
|
};
|
|
486
|
-
Key.prototype.
|
|
490
|
+
Key.prototype.k25 = function () {
|
|
487
491
|
var tmp$ret$1;
|
|
488
492
|
// Inline function 'kotlin.text.buildString' call
|
|
489
493
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -492,15 +496,15 @@
|
|
|
492
496
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
493
497
|
// Inline function 'kotlin.contracts.contract' call
|
|
494
498
|
// Inline function 'org.kodein.di.Key.<get-bindFullDescription>.<anonymous>' call
|
|
495
|
-
tmp0_apply.
|
|
496
|
-
if (!(this.
|
|
497
|
-
tmp0_apply.
|
|
499
|
+
tmp0_apply.h7('bind<' + this.f25_1.j24() + '>');
|
|
500
|
+
if (!(this.g25_1 == null)) {
|
|
501
|
+
tmp0_apply.h7('(tag = "' + toString(this.g25_1) + '")');
|
|
498
502
|
}
|
|
499
503
|
tmp$ret$0 = tmp0_apply;
|
|
500
504
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
501
505
|
return tmp$ret$1;
|
|
502
506
|
};
|
|
503
|
-
Key.prototype.
|
|
507
|
+
Key.prototype.j25 = function () {
|
|
504
508
|
var tmp$ret$1;
|
|
505
509
|
// Inline function 'kotlin.text.buildString' call
|
|
506
510
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -509,16 +513,16 @@
|
|
|
509
513
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
510
514
|
// Inline function 'kotlin.contracts.contract' call
|
|
511
515
|
// Inline function 'org.kodein.di.Key.<get-description>.<anonymous>' call
|
|
512
|
-
tmp0_apply.
|
|
516
|
+
tmp0_apply.h7(this.f25_1.h24());
|
|
513
517
|
appendDescription(tmp0_apply, this, TypeToken$simpleDispString$ref());
|
|
514
518
|
tmp$ret$0 = tmp0_apply;
|
|
515
519
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
516
520
|
return tmp$ret$1;
|
|
517
521
|
};
|
|
518
|
-
Key.prototype.
|
|
519
|
-
return '(context: ' + this.
|
|
522
|
+
Key.prototype.r25 = function () {
|
|
523
|
+
return '(context: ' + this.d25_1.h24() + ', arg: ' + this.e25_1.h24() + ', type: ' + this.f25_1.h24() + ', tag: ' + toString(this.g25_1) + ')';
|
|
520
524
|
};
|
|
521
|
-
Key.prototype.
|
|
525
|
+
Key.prototype.l25 = function () {
|
|
522
526
|
var tmp$ret$1;
|
|
523
527
|
// Inline function 'kotlin.text.buildString' call
|
|
524
528
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -527,25 +531,25 @@
|
|
|
527
531
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
528
532
|
// Inline function 'kotlin.contracts.contract' call
|
|
529
533
|
// Inline function 'org.kodein.di.Key.<get-fullDescription>.<anonymous>' call
|
|
530
|
-
tmp0_apply.
|
|
534
|
+
tmp0_apply.h7(this.f25_1.j24());
|
|
531
535
|
appendDescription(tmp0_apply, this, TypeToken$qualifiedDispString$ref());
|
|
532
536
|
tmp$ret$0 = tmp0_apply;
|
|
533
537
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
534
538
|
return tmp$ret$1;
|
|
535
539
|
};
|
|
536
|
-
Key.prototype.
|
|
540
|
+
Key.prototype.s25 = function (contextType, argType, type, tag) {
|
|
537
541
|
return new Key(contextType, argType, type, tag);
|
|
538
542
|
};
|
|
539
|
-
Key.prototype.
|
|
543
|
+
Key.prototype.t25 = function (contextType, argType, type, tag, $mask0, $handler) {
|
|
540
544
|
if (!(($mask0 & 1) === 0))
|
|
541
|
-
contextType = this.
|
|
545
|
+
contextType = this.d25_1;
|
|
542
546
|
if (!(($mask0 & 2) === 0))
|
|
543
|
-
argType = this.
|
|
547
|
+
argType = this.e25_1;
|
|
544
548
|
if (!(($mask0 & 4) === 0))
|
|
545
|
-
type = this.
|
|
549
|
+
type = this.f25_1;
|
|
546
550
|
if (!(($mask0 & 8) === 0))
|
|
547
|
-
tag = this.
|
|
548
|
-
return this.
|
|
551
|
+
tag = this.g25_1;
|
|
552
|
+
return this.s25(contextType, argType, type, tag);
|
|
549
553
|
};
|
|
550
554
|
Key.prototype.equals = function (other) {
|
|
551
555
|
if (this === other)
|
|
@@ -553,34 +557,26 @@
|
|
|
553
557
|
if (!(other instanceof Key))
|
|
554
558
|
return false;
|
|
555
559
|
var tmp0_other_with_cast = other instanceof Key ? other : THROW_CCE();
|
|
556
|
-
if (!equals(this.
|
|
560
|
+
if (!equals(this.d25_1, tmp0_other_with_cast.d25_1))
|
|
557
561
|
return false;
|
|
558
|
-
if (!equals(this.
|
|
562
|
+
if (!equals(this.e25_1, tmp0_other_with_cast.e25_1))
|
|
559
563
|
return false;
|
|
560
|
-
if (!equals(this.
|
|
564
|
+
if (!equals(this.f25_1, tmp0_other_with_cast.f25_1))
|
|
561
565
|
return false;
|
|
562
|
-
if (!equals(this.
|
|
566
|
+
if (!equals(this.g25_1, tmp0_other_with_cast.g25_1))
|
|
563
567
|
return false;
|
|
564
568
|
return true;
|
|
565
569
|
};
|
|
566
|
-
Key.$metadata$ = classMeta('Key');
|
|
567
|
-
function BindBuilder() {
|
|
568
|
-
}
|
|
569
|
-
BindBuilder.$metadata$ = interfaceMeta('BindBuilder');
|
|
570
570
|
function Builder() {
|
|
571
571
|
}
|
|
572
|
-
Builder.$metadata$ = interfaceMeta('Builder', [BindBuilder, WithScope]);
|
|
573
|
-
function MainBuilder() {
|
|
574
|
-
}
|
|
575
|
-
MainBuilder.$metadata$ = interfaceMeta('MainBuilder', [Builder]);
|
|
576
572
|
function Module(allowSilentOverride, prefix, init) {
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
573
|
+
this.m25_1 = allowSilentOverride;
|
|
574
|
+
this.n25_1 = prefix;
|
|
575
|
+
this.o25_1 = init;
|
|
576
|
+
this.p25_1 = null;
|
|
581
577
|
}
|
|
582
|
-
Module.prototype.
|
|
583
|
-
var tmp0_elvis_lhs = this.
|
|
578
|
+
Module.prototype.zf = function () {
|
|
579
|
+
var tmp0_elvis_lhs = this.p25_1;
|
|
584
580
|
var tmp;
|
|
585
581
|
if (tmp0_elvis_lhs == null) {
|
|
586
582
|
throw IllegalStateException_init_$Create$('module must have a name.');
|
|
@@ -590,12 +586,12 @@
|
|
|
590
586
|
return tmp;
|
|
591
587
|
};
|
|
592
588
|
Module.prototype.toString = function () {
|
|
593
|
-
return 'Module(allowSilentOverride=' + this.
|
|
589
|
+
return 'Module(allowSilentOverride=' + this.m25_1 + ', prefix=' + this.n25_1 + ', init=' + this.o25_1 + ')';
|
|
594
590
|
};
|
|
595
591
|
Module.prototype.hashCode = function () {
|
|
596
|
-
var result = this.
|
|
597
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
598
|
-
result = imul(result, 31) + hashCode(this.
|
|
592
|
+
var result = this.m25_1 | 0;
|
|
593
|
+
result = imul(result, 31) + getStringHashCode(this.n25_1) | 0;
|
|
594
|
+
result = imul(result, 31) + hashCode(this.o25_1) | 0;
|
|
599
595
|
return result;
|
|
600
596
|
};
|
|
601
597
|
Module.prototype.equals = function (other) {
|
|
@@ -604,29 +600,27 @@
|
|
|
604
600
|
if (!(other instanceof Module))
|
|
605
601
|
return false;
|
|
606
602
|
var tmp0_other_with_cast = other instanceof Module ? other : THROW_CCE();
|
|
607
|
-
if (!(this.
|
|
603
|
+
if (!(this.m25_1 === tmp0_other_with_cast.m25_1))
|
|
608
604
|
return false;
|
|
609
|
-
if (!(this.
|
|
605
|
+
if (!(this.n25_1 === tmp0_other_with_cast.n25_1))
|
|
610
606
|
return false;
|
|
611
|
-
if (!equals(this.
|
|
607
|
+
if (!equals(this.o25_1, tmp0_other_with_cast.o25_1))
|
|
612
608
|
return false;
|
|
613
609
|
return true;
|
|
614
610
|
};
|
|
615
|
-
Module.$metadata$ = classMeta('Module');
|
|
616
611
|
function Companion() {
|
|
617
612
|
Companion_instance = this;
|
|
618
|
-
this.
|
|
619
|
-
this.
|
|
613
|
+
this.x25_1 = false;
|
|
614
|
+
this.y25_1 = false;
|
|
620
615
|
}
|
|
621
|
-
Companion.prototype.
|
|
616
|
+
Companion.prototype.z25 = function (allowSilentOverride, init) {
|
|
622
617
|
return DIImpl_init_$Create$(allowSilentOverride, init);
|
|
623
618
|
};
|
|
624
|
-
Companion.prototype.
|
|
619
|
+
Companion.prototype.a26 = function (allowSilentOverride, init, $mask0, $handler) {
|
|
625
620
|
if (!(($mask0 & 1) === 0))
|
|
626
621
|
allowSilentOverride = false;
|
|
627
|
-
return this.
|
|
622
|
+
return this.z25(allowSilentOverride, init);
|
|
628
623
|
};
|
|
629
|
-
Companion.$metadata$ = objectMeta('Companion');
|
|
630
624
|
var Companion_instance;
|
|
631
625
|
function Companion_getInstance_0() {
|
|
632
626
|
if (Companion_instance == null)
|
|
@@ -635,29 +629,27 @@
|
|
|
635
629
|
}
|
|
636
630
|
function DI() {
|
|
637
631
|
}
|
|
638
|
-
DI.$metadata$ = interfaceMeta('DI', [DIAware]);
|
|
639
632
|
function get_direct(_this__u8e3s4) {
|
|
640
|
-
return new DirectDIImpl(_this__u8e3s4.
|
|
633
|
+
return new DirectDIImpl(_this__u8e3s4.b26().c26(), _this__u8e3s4.d26());
|
|
641
634
|
}
|
|
642
635
|
function DIAware() {
|
|
643
636
|
}
|
|
644
|
-
DIAware.$metadata$ = interfaceMeta('DIAware');
|
|
645
637
|
function Value(type, value) {
|
|
646
|
-
this.
|
|
647
|
-
this.
|
|
638
|
+
this.f26_1 = type;
|
|
639
|
+
this.g26_1 = value;
|
|
648
640
|
}
|
|
649
|
-
Value.prototype.
|
|
650
|
-
return this.
|
|
641
|
+
Value.prototype.h26 = function () {
|
|
642
|
+
return this.f26_1;
|
|
651
643
|
};
|
|
652
|
-
Value.prototype.
|
|
653
|
-
return this.
|
|
644
|
+
Value.prototype.j1 = function () {
|
|
645
|
+
return this.g26_1;
|
|
654
646
|
};
|
|
655
647
|
Value.prototype.toString = function () {
|
|
656
|
-
return 'Value(type=' + this.
|
|
648
|
+
return 'Value(type=' + this.f26_1 + ', value=' + this.g26_1 + ')';
|
|
657
649
|
};
|
|
658
650
|
Value.prototype.hashCode = function () {
|
|
659
|
-
var result = hashCode(this.
|
|
660
|
-
result = imul(result, 31) + hashCode(this.
|
|
651
|
+
var result = hashCode(this.f26_1);
|
|
652
|
+
result = imul(result, 31) + hashCode(this.g26_1) | 0;
|
|
661
653
|
return result;
|
|
662
654
|
};
|
|
663
655
|
Value.prototype.equals = function (other) {
|
|
@@ -666,20 +658,18 @@
|
|
|
666
658
|
if (!(other instanceof Value))
|
|
667
659
|
return false;
|
|
668
660
|
var tmp0_other_with_cast = other instanceof Value ? other : THROW_CCE();
|
|
669
|
-
if (!equals(this.
|
|
661
|
+
if (!equals(this.f26_1, tmp0_other_with_cast.f26_1))
|
|
670
662
|
return false;
|
|
671
|
-
if (!equals(this.
|
|
663
|
+
if (!equals(this.g26_1, tmp0_other_with_cast.g26_1))
|
|
672
664
|
return false;
|
|
673
665
|
return true;
|
|
674
666
|
};
|
|
675
|
-
Value.$metadata$ = classMeta('Value', [DIContext]);
|
|
676
667
|
function Companion_0() {
|
|
677
668
|
Companion_instance_0 = this;
|
|
678
669
|
}
|
|
679
|
-
Companion_0.prototype.
|
|
670
|
+
Companion_0.prototype.i26 = function (type, value) {
|
|
680
671
|
return new Value(type, value);
|
|
681
672
|
};
|
|
682
|
-
Companion_0.$metadata$ = objectMeta('Companion');
|
|
683
673
|
var Companion_instance_0;
|
|
684
674
|
function Companion_getInstance_1() {
|
|
685
675
|
if (Companion_instance_0 == null)
|
|
@@ -688,24 +678,18 @@
|
|
|
688
678
|
}
|
|
689
679
|
function DIContext() {
|
|
690
680
|
}
|
|
691
|
-
DIContext.$metadata$ = interfaceMeta('DIContext');
|
|
692
681
|
function Instance(_this__u8e3s4, type, tag) {
|
|
693
|
-
var tmp = _this__u8e3s4.
|
|
694
|
-
var tmp_0 = _this__u8e3s4.
|
|
682
|
+
var tmp = _this__u8e3s4.e26();
|
|
683
|
+
var tmp_0 = _this__u8e3s4.d26();
|
|
695
684
|
return new DIProperty(tmp, tmp_0, Instance$lambda(_this__u8e3s4, type, tag));
|
|
696
685
|
}
|
|
697
686
|
function get_AnyDIContext() {
|
|
698
|
-
return Contexes_getInstance().
|
|
699
|
-
}
|
|
700
|
-
function get_anyType(_this__u8e3s4) {
|
|
701
|
-
var tmp = _this__u8e3s4.f7();
|
|
702
|
-
return isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
687
|
+
return Contexes_getInstance().j26_1;
|
|
703
688
|
}
|
|
704
689
|
function Contexes() {
|
|
705
690
|
Contexes_instance = this;
|
|
706
|
-
this.
|
|
691
|
+
this.j26_1 = Companion_getInstance_1().i26(Companion_getInstance().t24_1, new Object());
|
|
707
692
|
}
|
|
708
|
-
Contexes.$metadata$ = objectMeta('Contexes');
|
|
709
693
|
var Contexes_instance;
|
|
710
694
|
function Contexes_getInstance() {
|
|
711
695
|
if (Contexes_instance == null)
|
|
@@ -717,51 +701,47 @@
|
|
|
717
701
|
}
|
|
718
702
|
function On$default(_this__u8e3s4, context, trigger, $mask0, $handler) {
|
|
719
703
|
if (!(($mask0 & 1) === 0))
|
|
720
|
-
context = _this__u8e3s4.
|
|
704
|
+
context = _this__u8e3s4.d26();
|
|
721
705
|
if (!(($mask0 & 2) === 0))
|
|
722
|
-
trigger = _this__u8e3s4.
|
|
706
|
+
trigger = _this__u8e3s4.e26();
|
|
723
707
|
return On(_this__u8e3s4, context, trigger);
|
|
724
708
|
}
|
|
725
709
|
function DIWrapper_init_$Init$(base, diContext, trigger, $this) {
|
|
726
|
-
DIWrapper.call($this, base.
|
|
710
|
+
DIWrapper.call($this, base.b26(), diContext, trigger);
|
|
727
711
|
return $this;
|
|
728
712
|
}
|
|
729
713
|
function DIWrapper_init_$Create$(base, diContext, trigger) {
|
|
730
714
|
return DIWrapper_init_$Init$(base, diContext, trigger, Object.create(DIWrapper.prototype));
|
|
731
715
|
}
|
|
732
716
|
function DIWrapper(_base, diContext, diTrigger) {
|
|
733
|
-
this.
|
|
734
|
-
this.
|
|
735
|
-
this.
|
|
717
|
+
this.k26_1 = _base;
|
|
718
|
+
this.l26_1 = diContext;
|
|
719
|
+
this.m26_1 = diTrigger;
|
|
736
720
|
}
|
|
737
|
-
DIWrapper.prototype.
|
|
738
|
-
return this.
|
|
721
|
+
DIWrapper.prototype.d26 = function () {
|
|
722
|
+
return this.l26_1;
|
|
739
723
|
};
|
|
740
|
-
DIWrapper.prototype.
|
|
741
|
-
return this.
|
|
724
|
+
DIWrapper.prototype.e26 = function () {
|
|
725
|
+
return this.m26_1;
|
|
742
726
|
};
|
|
743
|
-
DIWrapper.prototype.
|
|
727
|
+
DIWrapper.prototype.b26 = function () {
|
|
744
728
|
return this;
|
|
745
729
|
};
|
|
746
|
-
DIWrapper.prototype.
|
|
747
|
-
return this.
|
|
730
|
+
DIWrapper.prototype.c26 = function () {
|
|
731
|
+
return this.k26_1.c26();
|
|
748
732
|
};
|
|
749
|
-
DIWrapper.$metadata$ = classMeta('DIWrapper', [DI]);
|
|
750
733
|
function Instance$lambda($this_Instance, $type, $tag) {
|
|
751
734
|
return function (ctx, _anonymous_parameter_1__qggqgd) {
|
|
752
|
-
var tmp = $this_Instance.
|
|
735
|
+
var tmp = $this_Instance.b26().c26();
|
|
753
736
|
var tmp$ret$0;
|
|
754
737
|
// Inline function 'org.kodein.di.anyType' call
|
|
755
|
-
var tmp_0 = ctx.
|
|
738
|
+
var tmp_0 = ctx.h26();
|
|
756
739
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
757
|
-
var tmp_1 = new Key(tmp$ret$0, Companion_getInstance().
|
|
758
|
-
var tmp_2 = ctx.
|
|
759
|
-
return tmp.
|
|
740
|
+
var tmp_1 = new Key(tmp$ret$0, Companion_getInstance().s24_1, $type, $tag);
|
|
741
|
+
var tmp_2 = ctx.j1();
|
|
742
|
+
return tmp.n26(tmp_1, tmp_2, 0, 4, null)();
|
|
760
743
|
};
|
|
761
744
|
}
|
|
762
|
-
function Builder_0() {
|
|
763
|
-
}
|
|
764
|
-
Builder_0.$metadata$ = interfaceMeta('Builder');
|
|
765
745
|
function DIContainer$provider$lambda($tmp0_toProvider) {
|
|
766
746
|
return function () {
|
|
767
747
|
return $tmp0_toProvider(Unit_getInstance());
|
|
@@ -769,16 +749,10 @@
|
|
|
769
749
|
}
|
|
770
750
|
function DIContainer() {
|
|
771
751
|
}
|
|
772
|
-
DIContainer.$metadata$ = interfaceMeta('DIContainer');
|
|
773
752
|
function DITree() {
|
|
774
753
|
}
|
|
775
|
-
DITree.$metadata$ = interfaceMeta('DITree');
|
|
776
|
-
function DirectDIAware() {
|
|
777
|
-
}
|
|
778
|
-
DirectDIAware.$metadata$ = interfaceMeta('DirectDIAware');
|
|
779
754
|
function DirectDIBase() {
|
|
780
755
|
}
|
|
781
|
-
DirectDIBase.$metadata$ = interfaceMeta('DirectDIBase', [DirectDIAware]);
|
|
782
756
|
function SearchSpecs_init_$Init$(contextType, argType, type, tag, $mask0, $marker, $this) {
|
|
783
757
|
if (!(($mask0 & 1) === 0))
|
|
784
758
|
contextType = null;
|
|
@@ -797,7 +771,6 @@
|
|
|
797
771
|
function NoDefinedTag() {
|
|
798
772
|
NoDefinedTag_instance = this;
|
|
799
773
|
}
|
|
800
|
-
NoDefinedTag.$metadata$ = objectMeta('NoDefinedTag');
|
|
801
774
|
var NoDefinedTag_instance;
|
|
802
775
|
function NoDefinedTag_getInstance() {
|
|
803
776
|
if (NoDefinedTag_instance == null)
|
|
@@ -805,77 +778,65 @@
|
|
|
805
778
|
return NoDefinedTag_instance;
|
|
806
779
|
}
|
|
807
780
|
function SearchSpecs(contextType, argType, type, tag) {
|
|
808
|
-
this.
|
|
809
|
-
this.
|
|
810
|
-
this.
|
|
811
|
-
this.
|
|
781
|
+
this.y26_1 = contextType;
|
|
782
|
+
this.z26_1 = argType;
|
|
783
|
+
this.a27_1 = type;
|
|
784
|
+
this.b27_1 = tag;
|
|
812
785
|
}
|
|
813
786
|
SearchSpecs.prototype.toString = function () {
|
|
814
787
|
var args = ArrayList_init_$Create$();
|
|
815
|
-
if (!(this.
|
|
788
|
+
if (!(this.y26_1 == null)) {
|
|
816
789
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
817
|
-
var tmp0_safe_receiver = this.
|
|
818
|
-
var tmp0_plusAssign = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
790
|
+
var tmp0_safe_receiver = this.y26_1;
|
|
791
|
+
var tmp0_plusAssign = 'contextType=' + (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h24());
|
|
819
792
|
args.a(tmp0_plusAssign);
|
|
820
793
|
}
|
|
821
|
-
if (!(this.
|
|
794
|
+
if (!(this.z26_1 == null)) {
|
|
822
795
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
823
|
-
var tmp1_safe_receiver = this.
|
|
824
|
-
var tmp1_plusAssign = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
796
|
+
var tmp1_safe_receiver = this.z26_1;
|
|
797
|
+
var tmp1_plusAssign = 'argType=' + (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h24());
|
|
825
798
|
args.a(tmp1_plusAssign);
|
|
826
799
|
}
|
|
827
|
-
if (!(this.
|
|
800
|
+
if (!(this.a27_1 == null)) {
|
|
828
801
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
829
|
-
var tmp2_safe_receiver = this.
|
|
830
|
-
var tmp2_plusAssign = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
802
|
+
var tmp2_safe_receiver = this.a27_1;
|
|
803
|
+
var tmp2_plusAssign = 'type=' + (tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h24());
|
|
831
804
|
args.a(tmp2_plusAssign);
|
|
832
805
|
}
|
|
833
|
-
if (!equals(this.
|
|
806
|
+
if (!equals(this.b27_1, NoDefinedTag_getInstance())) {
|
|
834
807
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
835
|
-
var tmp3_plusAssign = 'tag=' + toString(this.
|
|
808
|
+
var tmp3_plusAssign = 'tag=' + toString(this.b27_1);
|
|
836
809
|
args.a(tmp3_plusAssign);
|
|
837
810
|
}
|
|
838
811
|
return '[' + joinToString$default(args, ', ', null, null, 0, null, null, 62, null) + ']';
|
|
839
812
|
};
|
|
840
|
-
SearchSpecs.$metadata$ = classMeta('SearchSpecs');
|
|
841
|
-
function NoArgBindingDI() {
|
|
842
|
-
}
|
|
843
|
-
NoArgBindingDI.$metadata$ = interfaceMeta('NoArgBindingDI', [DirectDI, WithContext]);
|
|
844
|
-
function BindingDI() {
|
|
845
|
-
}
|
|
846
|
-
BindingDI.$metadata$ = interfaceMeta('BindingDI', [DirectDI, WithContext]);
|
|
847
813
|
function NoArgBindingDIWrap(_di) {
|
|
848
|
-
this.
|
|
814
|
+
this.c27_1 = _di;
|
|
849
815
|
}
|
|
850
|
-
NoArgBindingDIWrap.prototype.
|
|
851
|
-
return this.
|
|
816
|
+
NoArgBindingDIWrap.prototype.b26 = function () {
|
|
817
|
+
return this.c27_1.b26();
|
|
852
818
|
};
|
|
853
|
-
NoArgBindingDIWrap.prototype.
|
|
854
|
-
return this.
|
|
819
|
+
NoArgBindingDIWrap.prototype.d27 = function () {
|
|
820
|
+
return this.c27_1.d27();
|
|
855
821
|
};
|
|
856
|
-
NoArgBindingDIWrap.prototype.
|
|
857
|
-
return this.
|
|
822
|
+
NoArgBindingDIWrap.prototype.x26 = function () {
|
|
823
|
+
return this.c27_1.x26();
|
|
858
824
|
};
|
|
859
|
-
NoArgBindingDIWrap.prototype.
|
|
860
|
-
return this.
|
|
825
|
+
NoArgBindingDIWrap.prototype.e27 = function (type, tag) {
|
|
826
|
+
return this.c27_1.e27(type, tag);
|
|
861
827
|
};
|
|
862
|
-
NoArgBindingDIWrap.prototype.
|
|
863
|
-
return this.
|
|
828
|
+
NoArgBindingDIWrap.prototype.f27 = function (context) {
|
|
829
|
+
return this.c27_1.f27(context);
|
|
864
830
|
};
|
|
865
|
-
NoArgBindingDIWrap.$metadata$ = classMeta('NoArgBindingDIWrap', [NoArgBindingDI, DirectDI, WithContext]);
|
|
866
|
-
function WithContext() {
|
|
867
|
-
}
|
|
868
|
-
WithContext.$metadata$ = interfaceMeta('WithContext');
|
|
869
831
|
function ErasedContext() {
|
|
870
832
|
ErasedContext_instance = this;
|
|
871
833
|
}
|
|
872
|
-
ErasedContext.prototype.
|
|
873
|
-
return Companion_getInstance().
|
|
834
|
+
ErasedContext.prototype.h26 = function () {
|
|
835
|
+
return Companion_getInstance().t24_1;
|
|
874
836
|
};
|
|
875
|
-
ErasedContext.prototype.
|
|
837
|
+
ErasedContext.prototype.j1 = function () {
|
|
876
838
|
return ErasedContext_getInstance();
|
|
877
839
|
};
|
|
878
|
-
ErasedContext.$metadata$ = objectMeta('ErasedContext', [DIContext]);
|
|
879
840
|
var ErasedContext_instance;
|
|
880
841
|
function ErasedContext_getInstance() {
|
|
881
842
|
if (ErasedContext_instance == null)
|
|
@@ -883,37 +844,24 @@
|
|
|
883
844
|
return ErasedContext_instance;
|
|
884
845
|
}
|
|
885
846
|
function DIBinding$Copier$Companion$invoke$1($f) {
|
|
886
|
-
this.
|
|
847
|
+
this.g27_1 = $f;
|
|
887
848
|
}
|
|
888
|
-
DIBinding$Copier$Companion$invoke$1.$metadata$ = classMeta(undefined, [Copier]);
|
|
889
849
|
function Companion_1() {
|
|
890
850
|
Companion_instance_1 = this;
|
|
891
851
|
}
|
|
892
|
-
Companion_1.prototype.
|
|
852
|
+
Companion_1.prototype.h27 = function (f) {
|
|
893
853
|
return new DIBinding$Copier$Companion$invoke$1(f);
|
|
894
854
|
};
|
|
895
|
-
Companion_1.$metadata$ = objectMeta('Companion');
|
|
896
855
|
var Companion_instance_1;
|
|
897
856
|
function Companion_getInstance_2() {
|
|
898
857
|
if (Companion_instance_1 == null)
|
|
899
858
|
new Companion_1();
|
|
900
859
|
return Companion_instance_1;
|
|
901
860
|
}
|
|
902
|
-
function Copier() {
|
|
903
|
-
}
|
|
904
|
-
Copier.$metadata$ = interfaceMeta('Copier');
|
|
905
861
|
function DIBinding() {
|
|
906
862
|
}
|
|
907
|
-
DIBinding.$metadata$ = interfaceMeta('DIBinding', [Binding]);
|
|
908
863
|
function NoArgDIBinding() {
|
|
909
864
|
}
|
|
910
|
-
NoArgDIBinding.$metadata$ = interfaceMeta('NoArgDIBinding', [DIBinding]);
|
|
911
|
-
function Binding() {
|
|
912
|
-
}
|
|
913
|
-
Binding.$metadata$ = interfaceMeta('Binding');
|
|
914
|
-
function RefMaker() {
|
|
915
|
-
}
|
|
916
|
-
RefMaker.$metadata$ = interfaceMeta('RefMaker');
|
|
917
865
|
function SingletonReference$make$lambda($value) {
|
|
918
866
|
return function () {
|
|
919
867
|
return $value;
|
|
@@ -922,11 +870,10 @@
|
|
|
922
870
|
function SingletonReference() {
|
|
923
871
|
SingletonReference_instance = this;
|
|
924
872
|
}
|
|
925
|
-
SingletonReference.prototype.
|
|
873
|
+
SingletonReference.prototype.q27 = function (creator) {
|
|
926
874
|
var value = creator();
|
|
927
875
|
return new Reference(value, SingletonReference$make$lambda(value));
|
|
928
876
|
};
|
|
929
|
-
SingletonReference.$metadata$ = objectMeta('SingletonReference', [RefMaker]);
|
|
930
877
|
var SingletonReference_instance;
|
|
931
878
|
function SingletonReference_getInstance() {
|
|
932
879
|
if (SingletonReference_instance == null)
|
|
@@ -934,21 +881,21 @@
|
|
|
934
881
|
return SingletonReference_instance;
|
|
935
882
|
}
|
|
936
883
|
function Reference(current, next) {
|
|
937
|
-
this.
|
|
938
|
-
this.
|
|
884
|
+
this.r27_1 = current;
|
|
885
|
+
this.s27_1 = next;
|
|
939
886
|
}
|
|
940
|
-
Reference.prototype.
|
|
941
|
-
return this.
|
|
887
|
+
Reference.prototype.u2 = function () {
|
|
888
|
+
return this.r27_1;
|
|
942
889
|
};
|
|
943
|
-
Reference.prototype.
|
|
944
|
-
return this.
|
|
890
|
+
Reference.prototype.v2 = function () {
|
|
891
|
+
return this.s27_1;
|
|
945
892
|
};
|
|
946
893
|
Reference.prototype.toString = function () {
|
|
947
|
-
return 'Reference(current=' + this.
|
|
894
|
+
return 'Reference(current=' + this.r27_1 + ', next=' + this.s27_1 + ')';
|
|
948
895
|
};
|
|
949
896
|
Reference.prototype.hashCode = function () {
|
|
950
|
-
var result = hashCode(this.
|
|
951
|
-
result = imul(result, 31) + hashCode(this.
|
|
897
|
+
var result = hashCode(this.r27_1);
|
|
898
|
+
result = imul(result, 31) + hashCode(this.s27_1) | 0;
|
|
952
899
|
return result;
|
|
953
900
|
};
|
|
954
901
|
Reference.prototype.equals = function (other) {
|
|
@@ -957,38 +904,29 @@
|
|
|
957
904
|
if (!(other instanceof Reference))
|
|
958
905
|
return false;
|
|
959
906
|
var tmp0_other_with_cast = other instanceof Reference ? other : THROW_CCE();
|
|
960
|
-
if (!equals(this.
|
|
907
|
+
if (!equals(this.r27_1, tmp0_other_with_cast.r27_1))
|
|
961
908
|
return false;
|
|
962
|
-
if (!equals(this.
|
|
909
|
+
if (!equals(this.s27_1, tmp0_other_with_cast.s27_1))
|
|
963
910
|
return false;
|
|
964
911
|
return true;
|
|
965
912
|
};
|
|
966
|
-
Reference.$metadata$ = classMeta('Reference');
|
|
967
|
-
function Scope() {
|
|
968
|
-
}
|
|
969
|
-
Scope.$metadata$ = interfaceMeta('Scope');
|
|
970
913
|
function ContextTranslator() {
|
|
971
914
|
}
|
|
972
|
-
ContextTranslator.$metadata$ = interfaceMeta('ContextTranslator');
|
|
973
915
|
function ScopeRegistry() {
|
|
974
916
|
}
|
|
975
|
-
ScopeRegistry.$metadata$ = classMeta('ScopeRegistry', [ScopeCloseable]);
|
|
976
|
-
function ScopeCloseable() {
|
|
977
|
-
}
|
|
978
|
-
ScopeCloseable.$metadata$ = interfaceMeta('ScopeCloseable');
|
|
979
917
|
function StandardScopeRegistry() {
|
|
980
918
|
ScopeRegistry.call(this);
|
|
981
|
-
this.
|
|
982
|
-
this.
|
|
919
|
+
this.w27_1 = newConcurrentMap();
|
|
920
|
+
this.x27_1 = new Object();
|
|
983
921
|
}
|
|
984
|
-
StandardScopeRegistry.prototype.
|
|
922
|
+
StandardScopeRegistry.prototype.v27 = function (key, sync, creator) {
|
|
985
923
|
var tmp$ret$2;
|
|
986
924
|
$l$block_1: {
|
|
987
925
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull' call
|
|
988
|
-
var tmp0_synchronizedIfNull = sync ? this.
|
|
926
|
+
var tmp0_synchronizedIfNull = sync ? this.x27_1 : null;
|
|
989
927
|
var tmp$ret$0;
|
|
990
928
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
991
|
-
var tmp0_safe_receiver = this.
|
|
929
|
+
var tmp0_safe_receiver = this.w27_1.t1(key);
|
|
992
930
|
tmp$ret$0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
993
931
|
var tmp0_safe_receiver_0 = tmp$ret$0;
|
|
994
932
|
if (tmp0_safe_receiver_0 == null)
|
|
@@ -1010,7 +948,7 @@
|
|
|
1010
948
|
// Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
|
|
1011
949
|
var tmp$ret$4;
|
|
1012
950
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
1013
|
-
var tmp0_safe_receiver_1 = this.
|
|
951
|
+
var tmp0_safe_receiver_1 = this.w27_1.t1(key);
|
|
1014
952
|
tmp$ret$4 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1();
|
|
1015
953
|
var tmp0_safe_receiver_2 = tmp$ret$4;
|
|
1016
954
|
if (tmp0_safe_receiver_2 == null)
|
|
@@ -1025,11 +963,11 @@
|
|
|
1025
963
|
var tmp$ret$7;
|
|
1026
964
|
// Inline function 'org.kodein.di.bindings.StandardScopeRegistry.getOrCreate.<anonymous>' call
|
|
1027
965
|
var tmp0_container = creator();
|
|
1028
|
-
var current = tmp0_container.
|
|
1029
|
-
var next = tmp0_container.
|
|
966
|
+
var current = tmp0_container.u2();
|
|
967
|
+
var next = tmp0_container.v2();
|
|
1030
968
|
// Inline function 'kotlin.collections.set' call
|
|
1031
|
-
var tmp0_set = this.
|
|
1032
|
-
tmp0_set.
|
|
969
|
+
var tmp0_set = this.w27_1;
|
|
970
|
+
tmp0_set.w2(key, next);
|
|
1033
971
|
tmp$ret$7 = current;
|
|
1034
972
|
tmp$ret$2 = tmp$ret$7;
|
|
1035
973
|
break $l$block_1;
|
|
@@ -1043,19 +981,17 @@
|
|
|
1043
981
|
}
|
|
1044
982
|
return tmp$ret$2;
|
|
1045
983
|
};
|
|
1046
|
-
StandardScopeRegistry.$metadata$ = classMeta('StandardScopeRegistry', undefined, undefined, undefined, undefined, ScopeRegistry.prototype);
|
|
1047
984
|
function NoScope() {
|
|
1048
|
-
this.
|
|
985
|
+
this.y27_1 = new StandardScopeRegistry();
|
|
1049
986
|
}
|
|
1050
|
-
NoScope.prototype.
|
|
1051
|
-
return this.
|
|
987
|
+
NoScope.prototype.z27 = function (context) {
|
|
988
|
+
return this.y27_1;
|
|
1052
989
|
};
|
|
1053
|
-
NoScope.prototype.
|
|
1054
|
-
return this.
|
|
990
|
+
NoScope.prototype.a28 = function (context) {
|
|
991
|
+
return this.z27((context == null ? true : isObject(context)) ? context : THROW_CCE());
|
|
1055
992
|
};
|
|
1056
|
-
NoScope.$metadata$ = classMeta('NoScope', [Scope]);
|
|
1057
993
|
function toKContext(_this__u8e3s4, di, ctx) {
|
|
1058
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
994
|
+
var tmp0_safe_receiver = _this__u8e3s4.u27(di, ctx);
|
|
1059
995
|
var tmp;
|
|
1060
996
|
if (tmp0_safe_receiver == null) {
|
|
1061
997
|
tmp = null;
|
|
@@ -1065,27 +1001,24 @@
|
|
|
1065
1001
|
// Inline function 'kotlin.contracts.contract' call
|
|
1066
1002
|
var tmp$ret$0;
|
|
1067
1003
|
// Inline function 'org.kodein.di.bindings.toKContext.<anonymous>' call
|
|
1068
|
-
tmp$ret$0 = Companion_getInstance_1().
|
|
1004
|
+
tmp$ret$0 = Companion_getInstance_1().i26(_this__u8e3s4.t27(), tmp0_safe_receiver);
|
|
1069
1005
|
tmp$ret$1 = tmp$ret$0;
|
|
1070
1006
|
tmp = tmp$ret$1;
|
|
1071
1007
|
}
|
|
1072
1008
|
return tmp;
|
|
1073
1009
|
}
|
|
1074
1010
|
function CompositeContextTranslator(src, dst) {
|
|
1075
|
-
this.
|
|
1076
|
-
this.
|
|
1011
|
+
this.b28_1 = src;
|
|
1012
|
+
this.c28_1 = dst;
|
|
1077
1013
|
}
|
|
1078
|
-
CompositeContextTranslator.prototype.
|
|
1079
|
-
return this.
|
|
1014
|
+
CompositeContextTranslator.prototype.l27 = function () {
|
|
1015
|
+
return this.b28_1.l27();
|
|
1080
1016
|
};
|
|
1081
|
-
CompositeContextTranslator.prototype.
|
|
1082
|
-
return this.
|
|
1017
|
+
CompositeContextTranslator.prototype.t27 = function () {
|
|
1018
|
+
return this.c28_1.t27();
|
|
1083
1019
|
};
|
|
1084
|
-
CompositeContextTranslator.prototype.
|
|
1085
|
-
|
|
1086
|
-
};
|
|
1087
|
-
CompositeContextTranslator.prototype.g2h = function (di, ctx) {
|
|
1088
|
-
var tmp0_safe_receiver = this.m2h_1.g2h(di, ctx);
|
|
1020
|
+
CompositeContextTranslator.prototype.u27 = function (di, ctx) {
|
|
1021
|
+
var tmp0_safe_receiver = this.b28_1.u27(di, ctx);
|
|
1089
1022
|
var tmp;
|
|
1090
1023
|
if (tmp0_safe_receiver == null) {
|
|
1091
1024
|
tmp = null;
|
|
@@ -1095,16 +1028,15 @@
|
|
|
1095
1028
|
// Inline function 'kotlin.contracts.contract' call
|
|
1096
1029
|
var tmp$ret$0;
|
|
1097
1030
|
// Inline function 'org.kodein.di.bindings.CompositeContextTranslator.translate.<anonymous>' call
|
|
1098
|
-
tmp$ret$0 = this.
|
|
1031
|
+
tmp$ret$0 = this.c28_1.u27(di, tmp0_safe_receiver);
|
|
1099
1032
|
tmp$ret$1 = tmp$ret$0;
|
|
1100
1033
|
tmp = tmp$ret$1;
|
|
1101
1034
|
}
|
|
1102
1035
|
return tmp;
|
|
1103
1036
|
};
|
|
1104
1037
|
CompositeContextTranslator.prototype.toString = function () {
|
|
1105
|
-
return '(' + this.
|
|
1038
|
+
return '(' + this.b28_1 + ' -> ' + this.c28_1 + ')';
|
|
1106
1039
|
};
|
|
1107
|
-
CompositeContextTranslator.$metadata$ = classMeta('CompositeContextTranslator', [ContextTranslator]);
|
|
1108
1040
|
function factoryName($this, params) {
|
|
1109
1041
|
var tmp$ret$2;
|
|
1110
1042
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1114,12 +1046,12 @@
|
|
|
1114
1046
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1115
1047
|
// Inline function 'kotlin.contracts.contract' call
|
|
1116
1048
|
// Inline function 'org.kodein.di.bindings.Singleton.factoryName.<anonymous>' call
|
|
1117
|
-
tmp0_apply.
|
|
1049
|
+
tmp0_apply.h7('singleton');
|
|
1118
1050
|
var tmp$ret$0;
|
|
1119
1051
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1120
1052
|
tmp$ret$0 = !params.k();
|
|
1121
1053
|
if (tmp$ret$0) {
|
|
1122
|
-
tmp0_apply.
|
|
1054
|
+
tmp0_apply.h7(joinToString$default(params, ', ', '(', ')', 0, null, null, 56, null));
|
|
1123
1055
|
}
|
|
1124
1056
|
tmp$ret$1 = tmp0_apply;
|
|
1125
1057
|
tmp$ret$2 = tmp$ret$1.toString();
|
|
@@ -1127,12 +1059,12 @@
|
|
|
1127
1059
|
}
|
|
1128
1060
|
function Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi) {
|
|
1129
1061
|
return function () {
|
|
1130
|
-
return this$0.
|
|
1062
|
+
return this$0.i28_1(new NoArgBindingDIWrap($bindingDi));
|
|
1131
1063
|
};
|
|
1132
1064
|
}
|
|
1133
1065
|
function Singleton$getFactory$lambda$lambda(this$0, $bindingDi) {
|
|
1134
1066
|
return function () {
|
|
1135
|
-
return this$0.
|
|
1067
|
+
return this$0.j28_1.q27(Singleton$getFactory$lambda$lambda$lambda(this$0, $bindingDi));
|
|
1136
1068
|
};
|
|
1137
1069
|
}
|
|
1138
1070
|
function Singleton$getFactory$lambda($lateInitRegistry, this$0, $bindingDi) {
|
|
@@ -1142,7 +1074,7 @@
|
|
|
1142
1074
|
if (tmp0_elvis_lhs == null) {
|
|
1143
1075
|
var tmp$ret$0;
|
|
1144
1076
|
// Inline function 'kotlin.also' call
|
|
1145
|
-
var tmp0_also = this$0.
|
|
1077
|
+
var tmp0_also = this$0.d28_1.a28($bindingDi.w3());
|
|
1146
1078
|
// Inline function 'kotlin.contracts.contract' call
|
|
1147
1079
|
// Inline function 'org.kodein.di.bindings.Singleton.getFactory.<anonymous>.<anonymous>' call
|
|
1148
1080
|
$lateInitRegistry._v = tmp0_also;
|
|
@@ -1152,98 +1084,96 @@
|
|
|
1152
1084
|
tmp = tmp0_elvis_lhs;
|
|
1153
1085
|
}
|
|
1154
1086
|
var registry = tmp;
|
|
1155
|
-
var tmp_0 = registry.
|
|
1087
|
+
var tmp_0 = registry.v27(this$0.k28_1, this$0.h28_1, Singleton$getFactory$lambda$lambda(this$0, $bindingDi));
|
|
1156
1088
|
return isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
1157
1089
|
};
|
|
1158
1090
|
}
|
|
1159
1091
|
function Singleton$copier$lambda(this$0) {
|
|
1160
1092
|
return function (it) {
|
|
1161
|
-
return new Singleton(this$0.
|
|
1093
|
+
return new Singleton(this$0.d28_1, this$0.e28_1, this$0.f28_1, this$0.g28_1, this$0.j28_1, this$0.h28_1, this$0.i28_1);
|
|
1162
1094
|
};
|
|
1163
1095
|
}
|
|
1164
1096
|
function Singleton(scope, contextType, explicitContext, createdType, refMaker, sync, creator) {
|
|
1165
|
-
this.
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1168
|
-
this.
|
|
1169
|
-
this.
|
|
1170
|
-
this.
|
|
1097
|
+
this.d28_1 = scope;
|
|
1098
|
+
this.e28_1 = contextType;
|
|
1099
|
+
this.f28_1 = explicitContext;
|
|
1100
|
+
this.g28_1 = createdType;
|
|
1101
|
+
this.h28_1 = sync;
|
|
1102
|
+
this.i28_1 = creator;
|
|
1171
1103
|
var tmp = this;
|
|
1172
1104
|
var tmp0_elvis_lhs = refMaker;
|
|
1173
|
-
tmp.
|
|
1174
|
-
this.
|
|
1105
|
+
tmp.j28_1 = tmp0_elvis_lhs == null ? SingletonReference_getInstance() : tmp0_elvis_lhs;
|
|
1106
|
+
this.k28_1 = new ScopeKey(new Object(), Unit_getInstance());
|
|
1175
1107
|
var tmp_0 = this;
|
|
1176
1108
|
var tmp_1 = Companion_getInstance_2();
|
|
1177
|
-
tmp_0.
|
|
1109
|
+
tmp_0.l28_1 = tmp_1.h27(Singleton$copier$lambda(this));
|
|
1178
1110
|
}
|
|
1179
|
-
Singleton.prototype.
|
|
1180
|
-
return this.
|
|
1111
|
+
Singleton.prototype.k27 = function () {
|
|
1112
|
+
return this.d28_1;
|
|
1181
1113
|
};
|
|
1182
|
-
Singleton.prototype.
|
|
1183
|
-
return this.
|
|
1114
|
+
Singleton.prototype.l27 = function () {
|
|
1115
|
+
return this.e28_1;
|
|
1184
1116
|
};
|
|
1185
|
-
Singleton.prototype.
|
|
1186
|
-
return this.
|
|
1117
|
+
Singleton.prototype.n27 = function () {
|
|
1118
|
+
return this.g28_1;
|
|
1187
1119
|
};
|
|
1188
|
-
Singleton.prototype.
|
|
1120
|
+
Singleton.prototype.i27 = function () {
|
|
1189
1121
|
var params = ArrayList_init_$Create$_0(2);
|
|
1190
|
-
if (!equals(this.
|
|
1191
|
-
params.a('ref = ' + erasedOf(this.
|
|
1122
|
+
if (!equals(this.j28_1, SingletonReference_getInstance())) {
|
|
1123
|
+
params.a('ref = ' + erasedOf(this.j28_1).h24());
|
|
1192
1124
|
}
|
|
1193
1125
|
return factoryName(this, params);
|
|
1194
1126
|
};
|
|
1195
|
-
Singleton.prototype.
|
|
1127
|
+
Singleton.prototype.j27 = function () {
|
|
1196
1128
|
var params = ArrayList_init_$Create$_0(2);
|
|
1197
|
-
if (!equals(this.
|
|
1198
|
-
params.a('ref = ' + erasedOf(this.
|
|
1129
|
+
if (!equals(this.j28_1, SingletonReference_getInstance())) {
|
|
1130
|
+
params.a('ref = ' + erasedOf(this.j28_1).j24());
|
|
1199
1131
|
}
|
|
1200
1132
|
return factoryName(this, params);
|
|
1201
1133
|
};
|
|
1202
|
-
Singleton.prototype.
|
|
1134
|
+
Singleton.prototype.m28 = function (key, di) {
|
|
1203
1135
|
var lateInitRegistry = {_v: null};
|
|
1204
|
-
var bindingDi = this.
|
|
1136
|
+
var bindingDi = this.f28_1 ? di : di.n28();
|
|
1205
1137
|
return Singleton$getFactory$lambda(lateInitRegistry, this, bindingDi);
|
|
1206
1138
|
};
|
|
1207
|
-
Singleton.prototype.
|
|
1208
|
-
return this.
|
|
1139
|
+
Singleton.prototype.p27 = function (key, di) {
|
|
1140
|
+
return this.m28(key, di);
|
|
1209
1141
|
};
|
|
1210
|
-
Singleton.$metadata$ = classMeta('Singleton', [NoArgDIBinding]);
|
|
1211
1142
|
function Provider$getFactory$lambda(this$0, $di) {
|
|
1212
1143
|
return function (_anonymous_parameter_0__qggqh8) {
|
|
1213
|
-
return this$0.
|
|
1144
|
+
return this$0.q28_1(new NoArgBindingDIWrap($di));
|
|
1214
1145
|
};
|
|
1215
1146
|
}
|
|
1216
1147
|
function Provider(contextType, createdType, creator) {
|
|
1217
|
-
this.
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1148
|
+
this.o28_1 = contextType;
|
|
1149
|
+
this.p28_1 = createdType;
|
|
1150
|
+
this.q28_1 = creator;
|
|
1220
1151
|
}
|
|
1221
|
-
Provider.prototype.
|
|
1222
|
-
return this.
|
|
1152
|
+
Provider.prototype.l27 = function () {
|
|
1153
|
+
return this.o28_1;
|
|
1223
1154
|
};
|
|
1224
|
-
Provider.prototype.
|
|
1225
|
-
return this.
|
|
1155
|
+
Provider.prototype.n27 = function () {
|
|
1156
|
+
return this.p28_1;
|
|
1226
1157
|
};
|
|
1227
|
-
Provider.prototype.
|
|
1158
|
+
Provider.prototype.i27 = function () {
|
|
1228
1159
|
return 'provider';
|
|
1229
1160
|
};
|
|
1230
|
-
Provider.prototype.
|
|
1161
|
+
Provider.prototype.m28 = function (key, di) {
|
|
1231
1162
|
return Provider$getFactory$lambda(this, di);
|
|
1232
1163
|
};
|
|
1233
|
-
Provider.prototype.
|
|
1234
|
-
return this.
|
|
1164
|
+
Provider.prototype.p27 = function (key, di) {
|
|
1165
|
+
return this.m28(key, di);
|
|
1235
1166
|
};
|
|
1236
|
-
Provider.$metadata$ = classMeta('Provider', [NoArgDIBinding]);
|
|
1237
1167
|
function ScopeKey(scopeId, arg) {
|
|
1238
|
-
this.
|
|
1239
|
-
this.
|
|
1168
|
+
this.r28_1 = scopeId;
|
|
1169
|
+
this.s28_1 = arg;
|
|
1240
1170
|
}
|
|
1241
1171
|
ScopeKey.prototype.toString = function () {
|
|
1242
|
-
return 'ScopeKey(scopeId=' + toString_0(this.
|
|
1172
|
+
return 'ScopeKey(scopeId=' + toString_0(this.r28_1) + ', arg=' + this.s28_1 + ')';
|
|
1243
1173
|
};
|
|
1244
1174
|
ScopeKey.prototype.hashCode = function () {
|
|
1245
|
-
var result = hashCode(this.
|
|
1246
|
-
result = imul(result, 31) + (this.
|
|
1175
|
+
var result = hashCode(this.r28_1);
|
|
1176
|
+
result = imul(result, 31) + (this.s28_1 == null ? 0 : hashCode(this.s28_1)) | 0;
|
|
1247
1177
|
return result;
|
|
1248
1178
|
};
|
|
1249
1179
|
ScopeKey.prototype.equals = function (other) {
|
|
@@ -1252,80 +1182,69 @@
|
|
|
1252
1182
|
if (!(other instanceof ScopeKey))
|
|
1253
1183
|
return false;
|
|
1254
1184
|
var tmp0_other_with_cast = other instanceof ScopeKey ? other : THROW_CCE();
|
|
1255
|
-
if (!equals(this.
|
|
1185
|
+
if (!equals(this.r28_1, tmp0_other_with_cast.r28_1))
|
|
1256
1186
|
return false;
|
|
1257
|
-
if (!equals(this.
|
|
1187
|
+
if (!equals(this.s28_1, tmp0_other_with_cast.s28_1))
|
|
1258
1188
|
return false;
|
|
1259
1189
|
return true;
|
|
1260
1190
|
};
|
|
1261
|
-
ScopeKey.$metadata$ = classMeta('ScopeKey');
|
|
1262
|
-
function toProvider(_this__u8e3s4, arg) {
|
|
1263
|
-
return toProvider$lambda(_this__u8e3s4, arg);
|
|
1264
|
-
}
|
|
1265
|
-
function toProvider$lambda($this_toProvider, $arg) {
|
|
1266
|
-
return function () {
|
|
1267
|
-
return $this_toProvider($arg());
|
|
1268
|
-
};
|
|
1269
|
-
}
|
|
1270
1191
|
function DIMainBuilderImpl(allowSilentOverride) {
|
|
1271
1192
|
DIBuilderImpl.call(this, null, '', HashSet_init_$Create$(), new DIContainerBuilderImpl(true, allowSilentOverride, HashMap_init_$Create$(), ArrayList_init_$Create$(), ArrayList_init_$Create$()));
|
|
1272
|
-
this.
|
|
1273
|
-
this.
|
|
1274
|
-
this.
|
|
1193
|
+
this.y28_1 = ArrayList_init_$Create$();
|
|
1194
|
+
this.z28_1 = Companion_getInstance_0().x25_1;
|
|
1195
|
+
this.a29_1 = Companion_getInstance_0().y25_1;
|
|
1275
1196
|
}
|
|
1276
|
-
DIMainBuilderImpl.prototype.
|
|
1277
|
-
return this.
|
|
1197
|
+
DIMainBuilderImpl.prototype.s26 = function () {
|
|
1198
|
+
return this.y28_1;
|
|
1278
1199
|
};
|
|
1279
|
-
DIMainBuilderImpl.prototype.
|
|
1280
|
-
return this.
|
|
1200
|
+
DIMainBuilderImpl.prototype.b29 = function () {
|
|
1201
|
+
return this.z28_1;
|
|
1281
1202
|
};
|
|
1282
|
-
DIMainBuilderImpl.prototype.
|
|
1283
|
-
return this.
|
|
1203
|
+
DIMainBuilderImpl.prototype.c29 = function () {
|
|
1204
|
+
return this.a29_1;
|
|
1284
1205
|
};
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
this.
|
|
1288
|
-
this.
|
|
1289
|
-
this.
|
|
1290
|
-
this.w2i_1 = overrides;
|
|
1206
|
+
function TypeBinder($outer, type, tag, overrides) {
|
|
1207
|
+
this.n29_1 = $outer;
|
|
1208
|
+
this.k29_1 = type;
|
|
1209
|
+
this.l29_1 = tag;
|
|
1210
|
+
this.m29_1 = overrides;
|
|
1291
1211
|
}
|
|
1292
|
-
|
|
1293
|
-
return this.
|
|
1212
|
+
TypeBinder.prototype.i29 = function () {
|
|
1213
|
+
return this.n29_1.i29();
|
|
1294
1214
|
};
|
|
1295
|
-
|
|
1296
|
-
return this.
|
|
1215
|
+
TypeBinder.prototype.o29 = function (binding) {
|
|
1216
|
+
return this.i29().t29(new Key(binding.l27(), binding.m27(), this.k29_1, this.l29_1), binding, this.n29_1.d29_1, this.m29_1);
|
|
1297
1217
|
};
|
|
1298
|
-
TypeBinder_0.$metadata$ = classMeta('TypeBinder', [TypeBinder]);
|
|
1299
1218
|
function DIBuilderImpl(moduleName, prefix, importedModules, containerBuilder) {
|
|
1300
|
-
this.
|
|
1301
|
-
this.
|
|
1302
|
-
this.
|
|
1303
|
-
this.
|
|
1304
|
-
this.
|
|
1219
|
+
this.d29_1 = moduleName;
|
|
1220
|
+
this.e29_1 = prefix;
|
|
1221
|
+
this.f29_1 = importedModules;
|
|
1222
|
+
this.g29_1 = containerBuilder;
|
|
1223
|
+
this.h29_1 = Companion_getInstance().t24_1;
|
|
1305
1224
|
}
|
|
1306
|
-
DIBuilderImpl.prototype.
|
|
1307
|
-
return this.
|
|
1225
|
+
DIBuilderImpl.prototype.i29 = function () {
|
|
1226
|
+
return this.g29_1;
|
|
1308
1227
|
};
|
|
1309
|
-
DIBuilderImpl.prototype.
|
|
1310
|
-
return this.
|
|
1228
|
+
DIBuilderImpl.prototype.l27 = function () {
|
|
1229
|
+
return this.h29_1;
|
|
1311
1230
|
};
|
|
1312
|
-
DIBuilderImpl.prototype.
|
|
1231
|
+
DIBuilderImpl.prototype.k27 = function () {
|
|
1313
1232
|
return new NoScope();
|
|
1314
1233
|
};
|
|
1315
|
-
DIBuilderImpl.prototype.
|
|
1234
|
+
DIBuilderImpl.prototype.j29 = function () {
|
|
1316
1235
|
return false;
|
|
1317
1236
|
};
|
|
1318
|
-
DIBuilderImpl.prototype.
|
|
1319
|
-
return new
|
|
1237
|
+
DIBuilderImpl.prototype.u25 = function (type, tag, overrides) {
|
|
1238
|
+
return new TypeBinder(this, type, tag, overrides);
|
|
1320
1239
|
};
|
|
1321
|
-
DIBuilderImpl.prototype.
|
|
1322
|
-
var moduleName = this.
|
|
1240
|
+
DIBuilderImpl.prototype.v25 = function (module_0, allowOverride) {
|
|
1241
|
+
var moduleName = this.e29_1 + module_0.zf();
|
|
1323
1242
|
var tmp;
|
|
1324
1243
|
var tmp$ret$0;
|
|
1325
1244
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1326
1245
|
tmp$ret$0 = charSequenceLength(moduleName) > 0;
|
|
1327
1246
|
if (tmp$ret$0) {
|
|
1328
|
-
tmp = this.
|
|
1247
|
+
tmp = this.f29_1.y(moduleName);
|
|
1329
1248
|
} else {
|
|
1330
1249
|
tmp = false;
|
|
1331
1250
|
}
|
|
@@ -1334,50 +1253,47 @@
|
|
|
1334
1253
|
}
|
|
1335
1254
|
var tmp0_this = this;
|
|
1336
1255
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1337
|
-
var tmp0_plusAssign = tmp0_this.
|
|
1256
|
+
var tmp0_plusAssign = tmp0_this.f29_1;
|
|
1338
1257
|
tmp0_plusAssign.a(moduleName);
|
|
1339
1258
|
var tmp$ret$1;
|
|
1340
1259
|
// Inline function 'kotlin.apply' call
|
|
1341
|
-
var tmp1_apply = new DIBuilderImpl(moduleName, this.
|
|
1342
|
-
var tmp2_apply = module_0.
|
|
1260
|
+
var tmp1_apply = new DIBuilderImpl(moduleName, this.e29_1 + module_0.n25_1, this.f29_1, this.i29().u29(allowOverride, module_0.m25_1));
|
|
1261
|
+
var tmp2_apply = module_0.o25_1;
|
|
1343
1262
|
// Inline function 'kotlin.contracts.contract' call
|
|
1344
1263
|
tmp2_apply(tmp1_apply);
|
|
1345
1264
|
tmp$ret$1 = tmp1_apply;
|
|
1346
1265
|
};
|
|
1347
|
-
DIBuilderImpl.$metadata$ = classMeta('DIBuilderImpl', [Builder]);
|
|
1348
1266
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT() {
|
|
1349
1267
|
OverrideMode.call(this, 'ALLOW_SILENT', 0);
|
|
1350
1268
|
OverrideMode_ALLOW_SILENT_instance = this;
|
|
1351
1269
|
}
|
|
1352
|
-
DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype.
|
|
1270
|
+
DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype.x29 = function () {
|
|
1353
1271
|
return true;
|
|
1354
1272
|
};
|
|
1355
|
-
DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype.
|
|
1273
|
+
DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.prototype.y29 = function (overrides) {
|
|
1356
1274
|
return overrides;
|
|
1357
1275
|
};
|
|
1358
|
-
DIContainerBuilderImpl$OverrideMode$ALLOW_SILENT.$metadata$ = classMeta('ALLOW_SILENT', undefined, undefined, undefined, undefined, OverrideMode.prototype);
|
|
1359
1276
|
var OverrideMode_ALLOW_SILENT_instance;
|
|
1360
1277
|
function DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT() {
|
|
1361
1278
|
OverrideMode.call(this, 'ALLOW_EXPLICIT', 1);
|
|
1362
1279
|
OverrideMode_ALLOW_EXPLICIT_instance = this;
|
|
1363
1280
|
}
|
|
1364
|
-
DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype.
|
|
1281
|
+
DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype.x29 = function () {
|
|
1365
1282
|
return true;
|
|
1366
1283
|
};
|
|
1367
|
-
DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype.
|
|
1284
|
+
DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.prototype.y29 = function (overrides) {
|
|
1368
1285
|
var tmp0_elvis_lhs = overrides;
|
|
1369
1286
|
return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
1370
1287
|
};
|
|
1371
|
-
DIContainerBuilderImpl$OverrideMode$ALLOW_EXPLICIT.$metadata$ = classMeta('ALLOW_EXPLICIT', undefined, undefined, undefined, undefined, OverrideMode.prototype);
|
|
1372
1288
|
var OverrideMode_ALLOW_EXPLICIT_instance;
|
|
1373
1289
|
function DIContainerBuilderImpl$OverrideMode$FORBID() {
|
|
1374
1290
|
OverrideMode.call(this, 'FORBID', 2);
|
|
1375
1291
|
OverrideMode_FORBID_instance = this;
|
|
1376
1292
|
}
|
|
1377
|
-
DIContainerBuilderImpl$OverrideMode$FORBID.prototype.
|
|
1293
|
+
DIContainerBuilderImpl$OverrideMode$FORBID.prototype.x29 = function () {
|
|
1378
1294
|
return false;
|
|
1379
1295
|
};
|
|
1380
|
-
DIContainerBuilderImpl$OverrideMode$FORBID.prototype.
|
|
1296
|
+
DIContainerBuilderImpl$OverrideMode$FORBID.prototype.y29 = function (overrides) {
|
|
1381
1297
|
var tmp;
|
|
1382
1298
|
if (!(overrides == null) ? overrides : false) {
|
|
1383
1299
|
throw new OverridingException('Overriding has been forbidden');
|
|
@@ -1386,19 +1302,17 @@
|
|
|
1386
1302
|
}
|
|
1387
1303
|
return tmp;
|
|
1388
1304
|
};
|
|
1389
|
-
DIContainerBuilderImpl$OverrideMode$FORBID.$metadata$ = classMeta('FORBID', undefined, undefined, undefined, undefined, OverrideMode.prototype);
|
|
1390
1305
|
var OverrideMode_FORBID_instance;
|
|
1391
1306
|
function Companion_2() {
|
|
1392
1307
|
Companion_instance_2 = this;
|
|
1393
1308
|
}
|
|
1394
|
-
Companion_2.prototype.
|
|
1309
|
+
Companion_2.prototype.d2a = function (allow, silent) {
|
|
1395
1310
|
if (!allow)
|
|
1396
1311
|
return OverrideMode_FORBID_getInstance();
|
|
1397
1312
|
if (silent)
|
|
1398
1313
|
return OverrideMode_ALLOW_SILENT_getInstance();
|
|
1399
1314
|
return OverrideMode_ALLOW_EXPLICIT_getInstance();
|
|
1400
1315
|
};
|
|
1401
|
-
Companion_2.$metadata$ = objectMeta('Companion');
|
|
1402
1316
|
var Companion_instance_2;
|
|
1403
1317
|
function Companion_getInstance_3() {
|
|
1404
1318
|
OverrideMode_initEntries();
|
|
@@ -1419,18 +1333,17 @@
|
|
|
1419
1333
|
function OverrideMode(name, ordinal) {
|
|
1420
1334
|
Enum.call(this, name, ordinal);
|
|
1421
1335
|
}
|
|
1422
|
-
OverrideMode.$metadata$ = classMeta('OverrideMode', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
1423
1336
|
function checkOverrides($this, key, overrides) {
|
|
1424
|
-
var mustOverride = $this.
|
|
1337
|
+
var mustOverride = $this.s29_1.y29(overrides);
|
|
1425
1338
|
if (!(mustOverride == null)) {
|
|
1426
1339
|
var tmp;
|
|
1427
1340
|
if (mustOverride) {
|
|
1428
1341
|
var tmp$ret$1;
|
|
1429
1342
|
// Inline function 'kotlin.collections.contains' call
|
|
1430
|
-
var tmp0_contains = $this.
|
|
1343
|
+
var tmp0_contains = $this.p29_1;
|
|
1431
1344
|
var tmp$ret$0;
|
|
1432
1345
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1433
|
-
tmp$ret$0 = (isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).
|
|
1346
|
+
tmp$ret$0 = (isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).q1(key);
|
|
1434
1347
|
tmp$ret$1 = tmp$ret$0;
|
|
1435
1348
|
tmp = !tmp$ret$1;
|
|
1436
1349
|
} else {
|
|
@@ -1442,10 +1355,10 @@
|
|
|
1442
1355
|
if (!mustOverride) {
|
|
1443
1356
|
var tmp$ret$3;
|
|
1444
1357
|
// Inline function 'kotlin.collections.contains' call
|
|
1445
|
-
var tmp1_contains = $this.
|
|
1358
|
+
var tmp1_contains = $this.p29_1;
|
|
1446
1359
|
var tmp$ret$2;
|
|
1447
1360
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1448
|
-
tmp$ret$2 = (isInterface(tmp1_contains, Map) ? tmp1_contains : THROW_CCE()).
|
|
1361
|
+
tmp$ret$2 = (isInterface(tmp1_contains, Map) ? tmp1_contains : THROW_CCE()).q1(key);
|
|
1449
1362
|
tmp$ret$3 = tmp$ret$2;
|
|
1450
1363
|
tmp_0 = tmp$ret$3;
|
|
1451
1364
|
} else {
|
|
@@ -1456,7 +1369,7 @@
|
|
|
1456
1369
|
}
|
|
1457
1370
|
}
|
|
1458
1371
|
function checkMatch($this, allowOverride) {
|
|
1459
|
-
if (!$this.
|
|
1372
|
+
if (!$this.s29_1.x29() ? allowOverride : false)
|
|
1460
1373
|
throw new OverridingException('Overriding has been forbidden');
|
|
1461
1374
|
}
|
|
1462
1375
|
function OverrideMode_ALLOW_SILENT_getInstance() {
|
|
@@ -1472,39 +1385,38 @@
|
|
|
1472
1385
|
return OverrideMode_FORBID_instance;
|
|
1473
1386
|
}
|
|
1474
1387
|
function DIContainerBuilderImpl(allowOverride, silentOverride, bindingsMap, callbacks, translators) {
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1388
|
+
this.p29_1 = bindingsMap;
|
|
1389
|
+
this.q29_1 = callbacks;
|
|
1390
|
+
this.r29_1 = translators;
|
|
1391
|
+
this.s29_1 = Companion_getInstance_3().d2a(allowOverride, silentOverride);
|
|
1479
1392
|
}
|
|
1480
|
-
DIContainerBuilderImpl.prototype.
|
|
1393
|
+
DIContainerBuilderImpl.prototype.t29 = function (key, binding, fromModule, overrides) {
|
|
1481
1394
|
checkOverrides(this, key, overrides);
|
|
1482
1395
|
var tmp$ret$1;
|
|
1483
1396
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1484
|
-
var tmp0_getOrPut = this.
|
|
1485
|
-
var value = tmp0_getOrPut.
|
|
1397
|
+
var tmp0_getOrPut = this.p29_1;
|
|
1398
|
+
var value = tmp0_getOrPut.t1(key);
|
|
1486
1399
|
var tmp;
|
|
1487
1400
|
if (value == null) {
|
|
1488
1401
|
var tmp$ret$0;
|
|
1489
1402
|
// Inline function 'org.kodein.di.internal.DIContainerBuilderImpl.bind.<anonymous>' call
|
|
1490
1403
|
tmp$ret$0 = newLinkedList();
|
|
1491
1404
|
var answer = tmp$ret$0;
|
|
1492
|
-
tmp0_getOrPut.
|
|
1405
|
+
tmp0_getOrPut.w2(key, answer);
|
|
1493
1406
|
tmp = answer;
|
|
1494
1407
|
} else {
|
|
1495
1408
|
tmp = value;
|
|
1496
1409
|
}
|
|
1497
1410
|
tmp$ret$1 = tmp;
|
|
1498
1411
|
var bindings = tmp$ret$1;
|
|
1499
|
-
bindings.
|
|
1412
|
+
bindings.db(0, new DIDefining(isInterface(binding, DIBinding) ? binding : THROW_CCE(), fromModule));
|
|
1500
1413
|
};
|
|
1501
|
-
DIContainerBuilderImpl.prototype.
|
|
1414
|
+
DIContainerBuilderImpl.prototype.u29 = function (allowOverride, silentOverride) {
|
|
1502
1415
|
checkMatch(this, allowOverride);
|
|
1503
|
-
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.
|
|
1416
|
+
return new DIContainerBuilderImpl(allowOverride, silentOverride, this.p29_1, this.q29_1, this.r29_1);
|
|
1504
1417
|
};
|
|
1505
|
-
DIContainerBuilderImpl.$metadata$ = classMeta('DIContainerBuilderImpl', [Builder_0]);
|
|
1506
1418
|
function displayString($this, key, overrideLevel) {
|
|
1507
|
-
var descProp = $this.
|
|
1419
|
+
var descProp = $this.j2a_1 ? bindFullDescription$factory_0(key) : bindDescription$factory_0(key);
|
|
1508
1420
|
return !(overrideLevel === 0) ? 'overridden ' + descProp.get() : descProp.get();
|
|
1509
1421
|
}
|
|
1510
1422
|
function recursiveLoop($this, node, firstKey, firstOverrideLevel, tail) {
|
|
@@ -1516,14 +1428,14 @@
|
|
|
1516
1428
|
$l$1: do {
|
|
1517
1429
|
$l$0: do {
|
|
1518
1430
|
var tmp;
|
|
1519
|
-
if (node_0.
|
|
1520
|
-
tmp = plus(listOf(displayString($this_0, node_0.
|
|
1431
|
+
if (node_0.i2a_1 == null ? true : firstKey_0.equals(node_0.g2a_1) ? firstOverrideLevel_0 === node_0.h2a_1 : false) {
|
|
1432
|
+
tmp = plus(listOf(displayString($this_0, node_0.g2a_1, node_0.h2a_1)), tail_0);
|
|
1521
1433
|
} else {
|
|
1522
1434
|
var tmp0 = $this_0;
|
|
1523
|
-
var tmp1 = node_0.
|
|
1435
|
+
var tmp1 = node_0.i2a_1;
|
|
1524
1436
|
var tmp2 = firstKey_0;
|
|
1525
1437
|
var tmp3 = firstOverrideLevel_0;
|
|
1526
|
-
var tmp4 = plus(listOf(displayString($this_0, node_0.
|
|
1438
|
+
var tmp4 = plus(listOf(displayString($this_0, node_0.g2a_1, node_0.h2a_1)), tail_0);
|
|
1527
1439
|
$this_0 = tmp0;
|
|
1528
1440
|
node_0 = tmp1;
|
|
1529
1441
|
firstKey_0 = tmp2;
|
|
@@ -1545,13 +1457,13 @@
|
|
|
1545
1457
|
$l$1: do {
|
|
1546
1458
|
$l$0: do {
|
|
1547
1459
|
var tmp;
|
|
1548
|
-
if (node_0.
|
|
1460
|
+
if (node_0.g2a_1.equals(searchedKey_0) ? node_0.h2a_1 === searchedOverrideLevel_0 : false) {
|
|
1549
1461
|
tmp = false;
|
|
1550
|
-
} else if (node_0.
|
|
1462
|
+
} else if (node_0.i2a_1 == null) {
|
|
1551
1463
|
tmp = true;
|
|
1552
1464
|
} else {
|
|
1553
1465
|
var tmp0 = $this_0;
|
|
1554
|
-
var tmp1 = node_0.
|
|
1466
|
+
var tmp1 = node_0.i2a_1;
|
|
1555
1467
|
var tmp2 = searchedKey_0;
|
|
1556
1468
|
var tmp3 = searchedOverrideLevel_0;
|
|
1557
1469
|
$this_0 = tmp0;
|
|
@@ -1567,14 +1479,14 @@
|
|
|
1567
1479
|
while (true);
|
|
1568
1480
|
}
|
|
1569
1481
|
function DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, $this) {
|
|
1570
|
-
DIContainerImpl.call($this, new DITreeImpl(builder.
|
|
1482
|
+
DIContainerImpl.call($this, new DITreeImpl(builder.p29_1, externalSources, builder.r29_1), null, fullDescriptionOnError, fullContainerTreeOnError);
|
|
1571
1483
|
var init = DIContainerImpl$_init_$lambda_r6ib3j($this, builder);
|
|
1572
1484
|
if (runCallbacks)
|
|
1573
1485
|
init();
|
|
1574
1486
|
else {
|
|
1575
1487
|
var lock = new Object();
|
|
1576
1488
|
var tmp = $this;
|
|
1577
|
-
tmp.
|
|
1489
|
+
tmp.o2a_1 = DIContainerImpl$_init_$lambda_r6ib3j_0($this, init);
|
|
1578
1490
|
}
|
|
1579
1491
|
return $this;
|
|
1580
1492
|
}
|
|
@@ -1582,65 +1494,64 @@
|
|
|
1582
1494
|
return DIContainerImpl_init_$Init$(builder, externalSources, fullDescriptionOnError, fullContainerTreeOnError, runCallbacks, Object.create(DIContainerImpl.prototype));
|
|
1583
1495
|
}
|
|
1584
1496
|
function Node(key, overrideLevel, parent, fullDescriptionOnError) {
|
|
1585
|
-
this.
|
|
1586
|
-
this.
|
|
1587
|
-
this.
|
|
1588
|
-
this.
|
|
1497
|
+
this.g2a_1 = key;
|
|
1498
|
+
this.h2a_1 = overrideLevel;
|
|
1499
|
+
this.i2a_1 = parent;
|
|
1500
|
+
this.j2a_1 = fullDescriptionOnError;
|
|
1589
1501
|
}
|
|
1590
|
-
Node.prototype.
|
|
1502
|
+
Node.prototype.p2a = function (searchedKey, searchedOverrideLevel) {
|
|
1591
1503
|
if (!recursiveCheck(this, this, searchedKey, searchedOverrideLevel)) {
|
|
1592
|
-
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.
|
|
1504
|
+
var list = plus_0(recursiveLoop(this, this, searchedKey, searchedOverrideLevel, emptyList()), displayString(this, searchedKey, this.h2a_1));
|
|
1593
1505
|
var sb = StringBuilder_init_$Create$();
|
|
1594
1506
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1595
1507
|
var index = 0;
|
|
1596
|
-
var tmp0_iterator = list.
|
|
1597
|
-
while (tmp0_iterator.
|
|
1598
|
-
var item = tmp0_iterator.
|
|
1508
|
+
var tmp0_iterator = list.g();
|
|
1509
|
+
while (tmp0_iterator.h()) {
|
|
1510
|
+
var item = tmp0_iterator.i();
|
|
1599
1511
|
// Inline function 'org.kodein.di.internal.Node.check.<anonymous>' call
|
|
1600
1512
|
var tmp1 = index;
|
|
1601
1513
|
index = tmp1 + 1 | 0;
|
|
1602
1514
|
var tmp0__anonymous__q1qw7t = checkIndexOverflow(tmp1);
|
|
1603
|
-
sb.
|
|
1515
|
+
sb.h7(' ');
|
|
1604
1516
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
1605
1517
|
switch (tmp0_subject) {
|
|
1606
1518
|
case 0:
|
|
1607
|
-
sb.
|
|
1519
|
+
sb.h7(' ');
|
|
1608
1520
|
;
|
|
1609
1521
|
break;
|
|
1610
1522
|
case 1:
|
|
1611
|
-
sb.
|
|
1523
|
+
sb.h7(' \u2554\u2569>');
|
|
1612
1524
|
;
|
|
1613
1525
|
break;
|
|
1614
1526
|
default:
|
|
1615
|
-
sb.
|
|
1527
|
+
sb.h7(' \u2551');
|
|
1616
1528
|
;
|
|
1617
|
-
sb.
|
|
1529
|
+
sb.h7(repeat(' ', tmp0__anonymous__q1qw7t - 1 | 0));
|
|
1618
1530
|
;
|
|
1619
|
-
sb.
|
|
1531
|
+
sb.h7('\u255A>');
|
|
1620
1532
|
;
|
|
1621
1533
|
break;
|
|
1622
1534
|
}
|
|
1623
|
-
sb.
|
|
1624
|
-
sb.
|
|
1535
|
+
sb.h7(item);
|
|
1536
|
+
sb.h7('\n');
|
|
1625
1537
|
}
|
|
1626
|
-
sb.
|
|
1627
|
-
sb.
|
|
1628
|
-
sb.
|
|
1538
|
+
sb.h7(' \u255A');
|
|
1539
|
+
sb.h7(repeat('\u2550\u2550', list.f() - 1 | 0));
|
|
1540
|
+
sb.h7('\u255D');
|
|
1629
1541
|
throw new DependencyLoopException('Dependency recursion:\n' + sb);
|
|
1630
1542
|
}
|
|
1631
1543
|
};
|
|
1632
|
-
Node.$metadata$ = classMeta('Node');
|
|
1633
1544
|
function bindingDI($this, key, context, tree, overrideLevel) {
|
|
1634
|
-
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.
|
|
1545
|
+
var container = new DIContainerImpl(tree, new Node(key, overrideLevel, $this.l2a_1, $this.m2a_1), $this.m2a_1, $this.n2a_1);
|
|
1635
1546
|
return new BindingDIImpl(new DirectDIImpl(container, context), key, overrideLevel);
|
|
1636
1547
|
}
|
|
1637
1548
|
function DIContainerImpl$_init_$lambda_r6ib3j(this$0, $builder) {
|
|
1638
1549
|
return function () {
|
|
1639
1550
|
var direct = new DirectDIImpl(this$0, get_AnyDIContext());
|
|
1640
|
-
var tmp0_forEach = $builder.
|
|
1641
|
-
var tmp0_iterator = tmp0_forEach.
|
|
1642
|
-
while (tmp0_iterator.
|
|
1643
|
-
var element = tmp0_iterator.
|
|
1551
|
+
var tmp0_forEach = $builder.q29_1;
|
|
1552
|
+
var tmp0_iterator = tmp0_forEach.g();
|
|
1553
|
+
while (tmp0_iterator.h()) {
|
|
1554
|
+
var element = tmp0_iterator.i();
|
|
1644
1555
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.<init>.<anonymous>.<anonymous>' call
|
|
1645
1556
|
element(direct);
|
|
1646
1557
|
}
|
|
@@ -1674,7 +1585,7 @@
|
|
|
1674
1585
|
tmp = tmp0_elvis_lhs;
|
|
1675
1586
|
}
|
|
1676
1587
|
var value = tmp;
|
|
1677
|
-
this$0.
|
|
1588
|
+
this$0.o2a_1 = null;
|
|
1678
1589
|
tmp$ret$1 = $init();
|
|
1679
1590
|
break $l$block_1;
|
|
1680
1591
|
}
|
|
@@ -1694,28 +1605,25 @@
|
|
|
1694
1605
|
return description$default($this$null, it, 0, 2, null);
|
|
1695
1606
|
}
|
|
1696
1607
|
function DIContainerImpl(tree, node, fullDescriptionOnError, fullContainerTreeOnError) {
|
|
1697
|
-
this.
|
|
1698
|
-
this.
|
|
1699
|
-
this.
|
|
1700
|
-
this.
|
|
1701
|
-
this.
|
|
1702
|
-
}
|
|
1703
|
-
DIContainerImpl.prototype.
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
DIContainerImpl.prototype.b2g = function (key, context, overrideLevel) {
|
|
1707
|
-
var result = this.t2j_1.h2g(key, overrideLevel, false, 4, null);
|
|
1708
|
-
if (result.i() === 1) {
|
|
1608
|
+
this.k2a_1 = tree;
|
|
1609
|
+
this.l2a_1 = node;
|
|
1610
|
+
this.m2a_1 = fullDescriptionOnError;
|
|
1611
|
+
this.n2a_1 = fullContainerTreeOnError;
|
|
1612
|
+
this.o2a_1 = null;
|
|
1613
|
+
}
|
|
1614
|
+
DIContainerImpl.prototype.o26 = function (key, context, overrideLevel) {
|
|
1615
|
+
var result = this.k2a_1.u26(key, overrideLevel, false, 4, null);
|
|
1616
|
+
if (result.f() === 1) {
|
|
1709
1617
|
var tmp0_container = result.j(0);
|
|
1710
|
-
var definition = tmp0_container.
|
|
1711
|
-
var translator = tmp0_container.
|
|
1712
|
-
var tmp1_safe_receiver = this.
|
|
1618
|
+
var definition = tmp0_container.v2();
|
|
1619
|
+
var translator = tmp0_container.f8();
|
|
1620
|
+
var tmp1_safe_receiver = this.l2a_1;
|
|
1713
1621
|
if (tmp1_safe_receiver == null)
|
|
1714
1622
|
null;
|
|
1715
1623
|
else {
|
|
1716
|
-
tmp1_safe_receiver.
|
|
1624
|
+
tmp1_safe_receiver.p2a(key, overrideLevel);
|
|
1717
1625
|
}
|
|
1718
|
-
var tmp = Companion_getInstance_1().
|
|
1626
|
+
var tmp = Companion_getInstance_1().i26(key.d25_1, context);
|
|
1719
1627
|
var originalContext = isInterface(tmp, DIContext) ? tmp : THROW_CCE();
|
|
1720
1628
|
var tmp2_safe_receiver = translator;
|
|
1721
1629
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toKContext(tmp2_safe_receiver, new DirectDIImpl(this, originalContext), context);
|
|
@@ -1724,36 +1632,36 @@
|
|
|
1724
1632
|
key;
|
|
1725
1633
|
else
|
|
1726
1634
|
THROW_CCE();
|
|
1727
|
-
var bindingDI_0 = bindingDI(this, key, kContext, definition.
|
|
1728
|
-
return definition.
|
|
1635
|
+
var bindingDI_0 = bindingDI(this, key, kContext, definition.a25_1, overrideLevel);
|
|
1636
|
+
return definition.b25_1.p27(key, bindingDI_0);
|
|
1729
1637
|
}
|
|
1730
|
-
var bindingDI_1 = bindingDI(this, key, Companion_getInstance_1().
|
|
1638
|
+
var bindingDI_1 = bindingDI(this, key, Companion_getInstance_1().i26(key.d25_1, context), this.k2a_1, overrideLevel);
|
|
1731
1639
|
// Inline function 'kotlin.collections.forEach' call
|
|
1732
|
-
var tmp0_forEach = this.
|
|
1733
|
-
var tmp0_iterator = tmp0_forEach.
|
|
1734
|
-
while (tmp0_iterator.
|
|
1735
|
-
var element = tmp0_iterator.
|
|
1640
|
+
var tmp0_forEach = this.k2a_1.s26();
|
|
1641
|
+
var tmp0_iterator = tmp0_forEach.g();
|
|
1642
|
+
while (tmp0_iterator.h()) {
|
|
1643
|
+
var element = tmp0_iterator.i();
|
|
1736
1644
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1737
|
-
var tmp0_safe_receiver = element.
|
|
1645
|
+
var tmp0_safe_receiver = element.q2a(bindingDI_1, key);
|
|
1738
1646
|
if (tmp0_safe_receiver == null)
|
|
1739
1647
|
null;
|
|
1740
1648
|
else {
|
|
1741
1649
|
var tmp$ret$0;
|
|
1742
1650
|
// Inline function 'kotlin.let' call
|
|
1743
1651
|
// Inline function 'kotlin.contracts.contract' call
|
|
1744
|
-
var tmp0_safe_receiver_0 = this.
|
|
1652
|
+
var tmp0_safe_receiver_0 = this.l2a_1;
|
|
1745
1653
|
if (tmp0_safe_receiver_0 == null)
|
|
1746
1654
|
null;
|
|
1747
1655
|
else {
|
|
1748
|
-
tmp0_safe_receiver_0.
|
|
1656
|
+
tmp0_safe_receiver_0.p2a(key, overrideLevel);
|
|
1749
1657
|
}
|
|
1750
1658
|
return (!(tmp0_safe_receiver == null) ? typeof tmp0_safe_receiver === 'function' : false) ? tmp0_safe_receiver : THROW_CCE();
|
|
1751
1659
|
}
|
|
1752
1660
|
}
|
|
1753
1661
|
var withOverrides = !(overrideLevel === 0);
|
|
1754
|
-
var descProp = this.
|
|
1662
|
+
var descProp = this.m2a_1 ? fullDescription$factory_0(key) : description$factory_0(key);
|
|
1755
1663
|
var tmp_0;
|
|
1756
|
-
if (this.
|
|
1664
|
+
if (this.m2a_1) {
|
|
1757
1665
|
tmp_0 = DIContainerImpl$factory$lambda;
|
|
1758
1666
|
} else {
|
|
1759
1667
|
tmp_0 = DIContainerImpl$factory$lambda_0;
|
|
@@ -1768,12 +1676,12 @@
|
|
|
1768
1676
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1769
1677
|
// Inline function 'kotlin.contracts.contract' call
|
|
1770
1678
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1771
|
-
tmp0_apply.
|
|
1772
|
-
if (this.
|
|
1679
|
+
tmp0_apply.h7('No binding found for ' + descProp.get());
|
|
1680
|
+
if (this.n2a_1) {
|
|
1773
1681
|
var tmp$ret$1;
|
|
1774
1682
|
// Inline function 'kotlin.text.appendLine' call
|
|
1775
|
-
tmp$ret$1 = tmp0_apply.
|
|
1776
|
-
var forType = this.
|
|
1683
|
+
tmp$ret$1 = tmp0_apply.l6(_Char___init__impl__6a9atx(10));
|
|
1684
|
+
var forType = this.k2a_1.v26(SearchSpecs_init_$Create$(null, null, key.f25_1, null, 11, null));
|
|
1777
1685
|
var tmp$ret$2;
|
|
1778
1686
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1779
1687
|
tmp$ret$2 = !forType.k();
|
|
@@ -1784,21 +1692,21 @@
|
|
|
1784
1692
|
var tmp$ret$4;
|
|
1785
1693
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1786
1694
|
var tmp1_associateTo = LinkedHashMap_init_$Create$_0(capacity);
|
|
1787
|
-
var tmp0_iterator_0 = forType.
|
|
1788
|
-
while (tmp0_iterator_0.
|
|
1789
|
-
var element_0 = tmp0_iterator_0.
|
|
1695
|
+
var tmp0_iterator_0 = forType.g();
|
|
1696
|
+
while (tmp0_iterator_0.h()) {
|
|
1697
|
+
var element_0 = tmp0_iterator_0.i();
|
|
1790
1698
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1791
1699
|
var tmp$ret$3;
|
|
1792
1700
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>.<anonymous>' call
|
|
1793
|
-
tmp$ret$3 = to(element_0.
|
|
1701
|
+
tmp$ret$3 = to(element_0.c8_1, element_0.d8_1);
|
|
1794
1702
|
var tmp0_plusAssign = tmp$ret$3;
|
|
1795
|
-
tmp1_associateTo.
|
|
1703
|
+
tmp1_associateTo.w2(tmp0_plusAssign.s2_1, tmp0_plusAssign.t2_1);
|
|
1796
1704
|
}
|
|
1797
1705
|
tmp$ret$4 = tmp1_associateTo;
|
|
1798
1706
|
tmp$ret$5 = tmp$ret$4;
|
|
1799
|
-
tmp0_apply.
|
|
1707
|
+
tmp0_apply.h7('Available bindings for this type:\n' + descFun(tmp$ret$5, withOverrides));
|
|
1800
1708
|
}
|
|
1801
|
-
tmp0_apply.
|
|
1709
|
+
tmp0_apply.h7('Registered in this DI container:\n' + descFun(this.k2a_1.r26(), withOverrides));
|
|
1802
1710
|
}
|
|
1803
1711
|
tmp$ret$6 = tmp0_apply;
|
|
1804
1712
|
tmp$ret$7 = tmp$ret$6.toString();
|
|
@@ -1811,73 +1719,72 @@
|
|
|
1811
1719
|
var tmp$ret$9;
|
|
1812
1720
|
// Inline function 'kotlin.collections.associateTo' call
|
|
1813
1721
|
var tmp1_associateTo_0 = LinkedHashMap_init_$Create$_0(capacity_0);
|
|
1814
|
-
var tmp0_iterator_1 = result.
|
|
1815
|
-
while (tmp0_iterator_1.
|
|
1816
|
-
var element_1 = tmp0_iterator_1.
|
|
1722
|
+
var tmp0_iterator_1 = result.g();
|
|
1723
|
+
while (tmp0_iterator_1.h()) {
|
|
1724
|
+
var element_1 = tmp0_iterator_1.i();
|
|
1817
1725
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1818
1726
|
var tmp$ret$8;
|
|
1819
1727
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1820
|
-
tmp$ret$8 = to(element_1.
|
|
1728
|
+
tmp$ret$8 = to(element_1.c8_1, ensureNotNull(this.k2a_1.w26(element_1.c8_1)).d8_1);
|
|
1821
1729
|
var tmp0_plusAssign_0 = tmp$ret$8;
|
|
1822
|
-
tmp1_associateTo_0.
|
|
1730
|
+
tmp1_associateTo_0.w2(tmp0_plusAssign_0.s2_1, tmp0_plusAssign_0.t2_1);
|
|
1823
1731
|
}
|
|
1824
1732
|
tmp$ret$9 = tmp1_associateTo_0;
|
|
1825
1733
|
tmp$ret$10 = tmp$ret$9;
|
|
1826
1734
|
var potentials = tmp$ret$10;
|
|
1827
1735
|
var tmp$ret$15;
|
|
1828
1736
|
// Inline function 'kotlin.collections.filter' call
|
|
1829
|
-
var tmp1_filter = this.
|
|
1737
|
+
var tmp1_filter = this.k2a_1.r26();
|
|
1830
1738
|
var tmp$ret$14;
|
|
1831
1739
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1832
1740
|
var tmp0_filterTo = LinkedHashMap_init_$Create$();
|
|
1833
1741
|
var tmp$ret$11;
|
|
1834
1742
|
// Inline function 'kotlin.collections.iterator' call
|
|
1835
|
-
tmp$ret$11 = tmp1_filter.
|
|
1743
|
+
tmp$ret$11 = tmp1_filter.o().g();
|
|
1836
1744
|
var tmp0_iterator_2 = tmp$ret$11;
|
|
1837
|
-
while (tmp0_iterator_2.
|
|
1838
|
-
var element_2 = tmp0_iterator_2.
|
|
1745
|
+
while (tmp0_iterator_2.h()) {
|
|
1746
|
+
var element_2 = tmp0_iterator_2.i();
|
|
1839
1747
|
var tmp$ret$13;
|
|
1840
1748
|
// Inline function 'org.kodein.di.internal.DIContainerImpl.factory.<anonymous>' call
|
|
1841
1749
|
var tmp$ret$12;
|
|
1842
1750
|
// Inline function 'kotlin.collections.component1' call
|
|
1843
|
-
tmp$ret$12 = element_2.
|
|
1751
|
+
tmp$ret$12 = element_2.h1();
|
|
1844
1752
|
var key_0 = tmp$ret$12;
|
|
1845
|
-
tmp$ret$13 = !potentials.
|
|
1753
|
+
tmp$ret$13 = !potentials.u1().y(key_0);
|
|
1846
1754
|
if (tmp$ret$13) {
|
|
1847
|
-
tmp0_filterTo.
|
|
1755
|
+
tmp0_filterTo.w2(element_2.h1(), element_2.j1());
|
|
1848
1756
|
}
|
|
1849
1757
|
}
|
|
1850
1758
|
tmp$ret$14 = tmp0_filterTo;
|
|
1851
1759
|
tmp$ret$15 = tmp$ret$14;
|
|
1852
1760
|
var others = tmp$ret$15;
|
|
1853
|
-
throw new NotFoundException(key, '' + potentials.
|
|
1761
|
+
throw new NotFoundException(key, '' + potentials.f() + ' bindings found that match ' + key + ':\n' + descFun(potentials, withOverrides) + 'Other bindings registered in DI:\n' + descFun(others, withOverrides));
|
|
1854
1762
|
};
|
|
1855
|
-
DIContainerImpl.$metadata$ = classMeta('DIContainerImpl', [DIContainer]);
|
|
1856
1763
|
function bindFullDescription$factory_0($b0) {
|
|
1857
1764
|
return getPropertyCallableRef('bindFullDescription', 0, KProperty0, function () {
|
|
1858
|
-
return $b0.
|
|
1765
|
+
return $b0.k25();
|
|
1859
1766
|
}, null);
|
|
1860
1767
|
}
|
|
1861
1768
|
function bindDescription$factory_0($b0) {
|
|
1862
1769
|
return getPropertyCallableRef('bindDescription', 0, KProperty0, function () {
|
|
1863
|
-
return $b0.
|
|
1770
|
+
return $b0.i25();
|
|
1864
1771
|
}, null);
|
|
1865
1772
|
}
|
|
1866
1773
|
function fullDescription$factory_0($b0) {
|
|
1867
1774
|
return getPropertyCallableRef('fullDescription', 0, KProperty0, function () {
|
|
1868
|
-
return $b0.
|
|
1775
|
+
return $b0.l25();
|
|
1869
1776
|
}, null);
|
|
1870
1777
|
}
|
|
1871
1778
|
function description$factory_0($b0) {
|
|
1872
1779
|
return getPropertyCallableRef('description', 0, KProperty0, function () {
|
|
1873
|
-
return $b0.
|
|
1780
|
+
return $b0.j25();
|
|
1874
1781
|
}, null);
|
|
1875
1782
|
}
|
|
1876
1783
|
function initCallbacks$factory($b0) {
|
|
1877
1784
|
return getPropertyCallableRef('initCallbacks', 0, KMutableProperty0, function () {
|
|
1878
|
-
return $b0.
|
|
1785
|
+
return $b0.o2a_1;
|
|
1879
1786
|
}, function (value) {
|
|
1880
|
-
$b0.
|
|
1787
|
+
$b0.o2a_1 = value;
|
|
1881
1788
|
return Unit_getInstance();
|
|
1882
1789
|
});
|
|
1883
1790
|
}
|
|
@@ -1891,7 +1798,7 @@
|
|
|
1891
1798
|
return tmp$ret$0;
|
|
1892
1799
|
}
|
|
1893
1800
|
function DIImpl_init_$Init$(builder, runCallbacks, $this) {
|
|
1894
|
-
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.
|
|
1801
|
+
DIImpl.call($this, DIContainerImpl_init_$Create$(builder.i29(), builder.s26(), builder.b29(), builder.c29(), runCallbacks));
|
|
1895
1802
|
return $this;
|
|
1896
1803
|
}
|
|
1897
1804
|
function DIImpl_init_$Init$_0(allowSilentOverride, init, $this) {
|
|
@@ -1904,7 +1811,6 @@
|
|
|
1904
1811
|
function Companion_3() {
|
|
1905
1812
|
Companion_instance_3 = this;
|
|
1906
1813
|
}
|
|
1907
|
-
Companion_3.$metadata$ = objectMeta('Companion');
|
|
1908
1814
|
var Companion_instance_3;
|
|
1909
1815
|
function Companion_getInstance_4() {
|
|
1910
1816
|
if (Companion_instance_3 == null)
|
|
@@ -1914,83 +1820,81 @@
|
|
|
1914
1820
|
function DIImpl$container$delegate$lambda(this$0) {
|
|
1915
1821
|
return function () {
|
|
1916
1822
|
var tmp;
|
|
1917
|
-
if (!(this$0.
|
|
1823
|
+
if (!(this$0.r2a_1.o2a_1 == null)) {
|
|
1918
1824
|
throw IllegalStateException_init_$Create$('DI has not been initialized');
|
|
1919
1825
|
}
|
|
1920
|
-
return this$0.
|
|
1826
|
+
return this$0.r2a_1;
|
|
1921
1827
|
};
|
|
1922
1828
|
}
|
|
1923
1829
|
function DIImpl(_container) {
|
|
1924
1830
|
Companion_getInstance_4();
|
|
1925
|
-
this.
|
|
1831
|
+
this.r2a_1 = _container;
|
|
1926
1832
|
var tmp = this;
|
|
1927
|
-
tmp.
|
|
1833
|
+
tmp.s2a_1 = lazy(DIImpl$container$delegate$lambda(this));
|
|
1928
1834
|
}
|
|
1929
|
-
DIImpl.prototype.
|
|
1835
|
+
DIImpl.prototype.c26 = function () {
|
|
1930
1836
|
var tmp$ret$0;
|
|
1931
1837
|
// Inline function 'kotlin.getValue' call
|
|
1932
1838
|
var tmp0_getValue = container$factory();
|
|
1933
|
-
tmp$ret$0 = this.
|
|
1839
|
+
tmp$ret$0 = this.s2a_1.j1();
|
|
1934
1840
|
return tmp$ret$0;
|
|
1935
1841
|
};
|
|
1936
|
-
DIImpl.$metadata$ = classMeta('DIImpl', [DI]);
|
|
1937
1842
|
function BindingDIImpl(directDI, key, overrideLevel) {
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1940
|
-
this.
|
|
1843
|
+
this.t2a_1 = directDI;
|
|
1844
|
+
this.u2a_1 = key;
|
|
1845
|
+
this.v2a_1 = overrideLevel;
|
|
1941
1846
|
}
|
|
1942
|
-
BindingDIImpl.prototype.
|
|
1943
|
-
return this.
|
|
1847
|
+
BindingDIImpl.prototype.d27 = function () {
|
|
1848
|
+
return this.t2a_1;
|
|
1944
1849
|
};
|
|
1945
|
-
BindingDIImpl.prototype.
|
|
1946
|
-
return this.
|
|
1850
|
+
BindingDIImpl.prototype.b26 = function () {
|
|
1851
|
+
return this.t2a_1.b26();
|
|
1947
1852
|
};
|
|
1948
|
-
BindingDIImpl.prototype.
|
|
1949
|
-
return this.
|
|
1853
|
+
BindingDIImpl.prototype.x26 = function () {
|
|
1854
|
+
return this.t2a_1.x26();
|
|
1950
1855
|
};
|
|
1951
|
-
BindingDIImpl.prototype.
|
|
1952
|
-
return this.
|
|
1856
|
+
BindingDIImpl.prototype.e27 = function (type, tag) {
|
|
1857
|
+
return this.t2a_1.e27(type, tag);
|
|
1953
1858
|
};
|
|
1954
|
-
BindingDIImpl.prototype.
|
|
1955
|
-
return this.
|
|
1859
|
+
BindingDIImpl.prototype.f27 = function (context) {
|
|
1860
|
+
return this.t2a_1.f27(context);
|
|
1956
1861
|
};
|
|
1957
|
-
BindingDIImpl.prototype.
|
|
1958
|
-
var tmp = this.
|
|
1862
|
+
BindingDIImpl.prototype.w3 = function () {
|
|
1863
|
+
var tmp = this.d27().b26().d26().j1();
|
|
1959
1864
|
return isObject(tmp) ? tmp : THROW_CCE();
|
|
1960
1865
|
};
|
|
1961
|
-
BindingDIImpl.prototype.
|
|
1962
|
-
return new BindingDIImpl(this.
|
|
1866
|
+
BindingDIImpl.prototype.n28 = function () {
|
|
1867
|
+
return new BindingDIImpl(this.d27().f27(ErasedContext_getInstance()), this.u2a_1, this.v2a_1);
|
|
1963
1868
|
};
|
|
1964
|
-
BindingDIImpl.$metadata$ = classMeta('BindingDIImpl', [DirectDI, BindingDI]);
|
|
1965
1869
|
function container$factory() {
|
|
1966
1870
|
return getPropertyCallableRef('container', 1, KProperty1, function (receiver) {
|
|
1967
|
-
return receiver.
|
|
1871
|
+
return receiver.c26();
|
|
1968
1872
|
}, null);
|
|
1969
1873
|
}
|
|
1970
1874
|
function findBySpecs($this, specs) {
|
|
1971
|
-
var bindSeq = asSequence($this.
|
|
1972
|
-
var specsBindType = specs.
|
|
1973
|
-
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().
|
|
1875
|
+
var bindSeq = asSequence($this.z2a_1);
|
|
1876
|
+
var specsBindType = specs.a27_1;
|
|
1877
|
+
if (!(specsBindType == null) ? !equals(specsBindType, Companion_getInstance().t24_1) : false) {
|
|
1974
1878
|
var tmp = bindSeq;
|
|
1975
1879
|
bindSeq = filter(tmp, DITreeImpl$findBySpecs$lambda(specsBindType));
|
|
1976
1880
|
}
|
|
1977
1881
|
var tmp_0 = bindSeq;
|
|
1978
1882
|
var contextSeq = flatMap(tmp_0, DITreeImpl$findBySpecs$lambda_0);
|
|
1979
|
-
var specsContextType = specs.
|
|
1883
|
+
var specsContextType = specs.y26_1;
|
|
1980
1884
|
if (!(specsContextType == null)) {
|
|
1981
1885
|
var tmp_1 = contextSeq;
|
|
1982
1886
|
contextSeq = mapNotNull(tmp_1, DITreeImpl$findBySpecs$lambda_1(specsContextType, $this));
|
|
1983
1887
|
}
|
|
1984
1888
|
var tmp_2 = contextSeq;
|
|
1985
1889
|
var argSeq = flatMap(tmp_2, DITreeImpl$findBySpecs$lambda_2);
|
|
1986
|
-
var specsArgType = specs.
|
|
1890
|
+
var specsArgType = specs.z26_1;
|
|
1987
1891
|
if (!(specsArgType == null)) {
|
|
1988
1892
|
var tmp_3 = argSeq;
|
|
1989
1893
|
argSeq = filter(tmp_3, DITreeImpl$findBySpecs$lambda_3(specsArgType));
|
|
1990
1894
|
}
|
|
1991
1895
|
var tmp_4 = argSeq;
|
|
1992
1896
|
var tagSeq = flatMap(tmp_4, DITreeImpl$findBySpecs$lambda_4);
|
|
1993
|
-
var specsTag = specs.
|
|
1897
|
+
var specsTag = specs.b27_1;
|
|
1994
1898
|
if (!equals(specsTag, NoDefinedTag_getInstance())) {
|
|
1995
1899
|
var tmp_5 = tagSeq;
|
|
1996
1900
|
tagSeq = filter(tmp_5, DITreeImpl$findBySpecs$lambda_5(specsTag));
|
|
@@ -2000,49 +1904,49 @@
|
|
|
2000
1904
|
return toList(resultSeq);
|
|
2001
1905
|
}
|
|
2002
1906
|
function notInMap($this, result, request) {
|
|
2003
|
-
var tmp = result.
|
|
2004
|
-
var tmp_0 = request.
|
|
2005
|
-
var tmp_1 = $this.
|
|
1907
|
+
var tmp = result.r25();
|
|
1908
|
+
var tmp_0 = request.r25();
|
|
1909
|
+
var tmp_1 = $this.y2a_1.u1();
|
|
2006
1910
|
return IllegalStateException_init_$Create$('Tree returned key ' + tmp + ' that is not in cache when searching for ' + tmp_0 + '.\nKeys in cache:\n' + joinToString$default(tmp_1, '\n', null, null, 0, null, DITreeImpl$notInMap$lambda, 30, null));
|
|
2007
1911
|
}
|
|
2008
1912
|
function DITreeImpl$findBySpecs$lambda($specsBindType) {
|
|
2009
1913
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
2010
1914
|
var tmp$ret$0;
|
|
2011
1915
|
// Inline function 'kotlin.collections.component1' call
|
|
2012
|
-
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.
|
|
1916
|
+
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.h1();
|
|
2013
1917
|
var bindType = tmp$ret$0;
|
|
2014
|
-
return bindType.
|
|
1918
|
+
return bindType.c2b($specsBindType);
|
|
2015
1919
|
};
|
|
2016
1920
|
}
|
|
2017
1921
|
function DITreeImpl$findBySpecs$lambda_0(_name_for_destructuring_parameter_0__wldtmu) {
|
|
2018
1922
|
var tmp$ret$0;
|
|
2019
1923
|
// Inline function 'kotlin.collections.component2' call
|
|
2020
|
-
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.
|
|
1924
|
+
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.j1();
|
|
2021
1925
|
var contextTree = tmp$ret$0;
|
|
2022
1926
|
var tmp = asSequence(contextTree);
|
|
2023
1927
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda);
|
|
2024
1928
|
}
|
|
2025
1929
|
function DITreeImpl$findBySpecs$lambda$lambda(it) {
|
|
2026
|
-
return new Triple(it.
|
|
1930
|
+
return new Triple(it.h1(), it.j1(), null);
|
|
2027
1931
|
}
|
|
2028
1932
|
function DITreeImpl$findBySpecs$lambda_1($specsContextType, this$0) {
|
|
2029
1933
|
return function (triple) {
|
|
2030
1934
|
var tmp0_container = triple;
|
|
2031
|
-
var contextType = tmp0_container.
|
|
1935
|
+
var contextType = tmp0_container.u2();
|
|
2032
1936
|
var tmp;
|
|
2033
|
-
if (contextType.
|
|
1937
|
+
if (contextType.c2b($specsContextType)) {
|
|
2034
1938
|
tmp = triple;
|
|
2035
1939
|
} else {
|
|
2036
1940
|
var tmp$ret$1;
|
|
2037
1941
|
$l$block: {
|
|
2038
1942
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
2039
|
-
var tmp0_firstOrNull = this$0.
|
|
2040
|
-
var tmp0_iterator = tmp0_firstOrNull.
|
|
2041
|
-
while (tmp0_iterator.
|
|
2042
|
-
var element = tmp0_iterator.
|
|
1943
|
+
var tmp0_firstOrNull = this$0.b2b_1;
|
|
1944
|
+
var tmp0_iterator = tmp0_firstOrNull.g();
|
|
1945
|
+
while (tmp0_iterator.h()) {
|
|
1946
|
+
var element = tmp0_iterator.i();
|
|
2043
1947
|
var tmp$ret$0;
|
|
2044
1948
|
// Inline function 'org.kodein.di.internal.DITreeImpl.findBySpecs.<anonymous>.<anonymous>' call
|
|
2045
|
-
tmp$ret$0 = element.
|
|
1949
|
+
tmp$ret$0 = element.l27().p24($specsContextType) ? contextType.c2b(element.t27()) : false;
|
|
2046
1950
|
if (tmp$ret$0) {
|
|
2047
1951
|
tmp$ret$1 = element;
|
|
2048
1952
|
break $l$block;
|
|
@@ -2053,7 +1957,7 @@
|
|
|
2053
1957
|
var translator = tmp$ret$1;
|
|
2054
1958
|
var tmp_0;
|
|
2055
1959
|
if (!(translator == null)) {
|
|
2056
|
-
tmp_0 = triple.
|
|
1960
|
+
tmp_0 = triple.h8(null, null, translator, 3, null);
|
|
2057
1961
|
} else {
|
|
2058
1962
|
tmp_0 = null;
|
|
2059
1963
|
}
|
|
@@ -2063,77 +1967,77 @@
|
|
|
2063
1967
|
};
|
|
2064
1968
|
}
|
|
2065
1969
|
function DITreeImpl$findBySpecs$lambda_2(_name_for_destructuring_parameter_0__wldtmu) {
|
|
2066
|
-
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
2067
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1970
|
+
var argumentTree = _name_for_destructuring_parameter_0__wldtmu.v2();
|
|
1971
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.f8();
|
|
2068
1972
|
var tmp = asSequence(argumentTree);
|
|
2069
1973
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_0(translator));
|
|
2070
1974
|
}
|
|
2071
1975
|
function DITreeImpl$findBySpecs$lambda$lambda_0($translator) {
|
|
2072
1976
|
return function (it) {
|
|
2073
|
-
return new Triple(it.
|
|
1977
|
+
return new Triple(it.h1(), it.j1(), $translator);
|
|
2074
1978
|
};
|
|
2075
1979
|
}
|
|
2076
1980
|
function DITreeImpl$findBySpecs$lambda_3($specsArgType) {
|
|
2077
1981
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
2078
|
-
var argType = _name_for_destructuring_parameter_0__wldtmu.
|
|
2079
|
-
return argType.
|
|
1982
|
+
var argType = _name_for_destructuring_parameter_0__wldtmu.u2();
|
|
1983
|
+
return argType.c2b($specsArgType);
|
|
2080
1984
|
};
|
|
2081
1985
|
}
|
|
2082
1986
|
function DITreeImpl$findBySpecs$lambda_4(_name_for_destructuring_parameter_0__wldtmu) {
|
|
2083
|
-
var tagTree = _name_for_destructuring_parameter_0__wldtmu.
|
|
2084
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
1987
|
+
var tagTree = _name_for_destructuring_parameter_0__wldtmu.v2();
|
|
1988
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.f8();
|
|
2085
1989
|
var tmp = asSequence(tagTree);
|
|
2086
1990
|
return map(tmp, DITreeImpl$findBySpecs$lambda$lambda_1(translator));
|
|
2087
1991
|
}
|
|
2088
1992
|
function DITreeImpl$findBySpecs$lambda$lambda_1($translator) {
|
|
2089
1993
|
return function (it) {
|
|
2090
|
-
return new Triple(it.
|
|
1994
|
+
return new Triple(it.h1(), it.j1(), $translator);
|
|
2091
1995
|
};
|
|
2092
1996
|
}
|
|
2093
1997
|
function DITreeImpl$findBySpecs$lambda_5($specsTag) {
|
|
2094
1998
|
return function (_name_for_destructuring_parameter_0__wldtmu) {
|
|
2095
|
-
var tag = _name_for_destructuring_parameter_0__wldtmu.
|
|
1999
|
+
var tag = _name_for_destructuring_parameter_0__wldtmu.u2();
|
|
2096
2000
|
return equals(tag, $specsTag);
|
|
2097
2001
|
};
|
|
2098
2002
|
}
|
|
2099
2003
|
function DITreeImpl$findBySpecs$lambda_6(_name_for_destructuring_parameter_0__wldtmu) {
|
|
2100
|
-
var key = _name_for_destructuring_parameter_0__wldtmu.
|
|
2101
|
-
var translator = _name_for_destructuring_parameter_0__wldtmu.
|
|
2004
|
+
var key = _name_for_destructuring_parameter_0__wldtmu.v2();
|
|
2005
|
+
var translator = _name_for_destructuring_parameter_0__wldtmu.f8();
|
|
2102
2006
|
return to(key, translator);
|
|
2103
2007
|
}
|
|
2104
2008
|
function DITreeImpl$notInMap$lambda(it) {
|
|
2105
|
-
return it.
|
|
2009
|
+
return it.r25();
|
|
2106
2010
|
}
|
|
2107
2011
|
function DITreeImpl(map, externalSources, registeredTranslators) {
|
|
2108
|
-
this.
|
|
2109
|
-
this.
|
|
2110
|
-
this.
|
|
2111
|
-
this.
|
|
2112
|
-
this.
|
|
2012
|
+
this.w2a_1 = externalSources;
|
|
2013
|
+
this.x2a_1 = registeredTranslators;
|
|
2014
|
+
this.y2a_1 = newConcurrentMap();
|
|
2015
|
+
this.z2a_1 = HashMap_init_$Create$();
|
|
2016
|
+
this.b2b_1 = ArrayList_init_$Create$_1(this.x2a_1);
|
|
2113
2017
|
// Inline function 'kotlin.collections.forEach' call
|
|
2114
2018
|
var tmp$ret$0;
|
|
2115
2019
|
// Inline function 'kotlin.collections.iterator' call
|
|
2116
|
-
tmp$ret$0 = map.
|
|
2020
|
+
tmp$ret$0 = map.o().g();
|
|
2117
2021
|
var tmp0_iterator = tmp$ret$0;
|
|
2118
|
-
while (tmp0_iterator.
|
|
2119
|
-
var element = tmp0_iterator.
|
|
2022
|
+
while (tmp0_iterator.h()) {
|
|
2023
|
+
var element = tmp0_iterator.i();
|
|
2120
2024
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
2121
2025
|
var tmp$ret$1;
|
|
2122
2026
|
// Inline function 'kotlin.collections.component1' call
|
|
2123
|
-
tmp$ret$1 = element.
|
|
2027
|
+
tmp$ret$1 = element.h1();
|
|
2124
2028
|
var key = tmp$ret$1;
|
|
2125
2029
|
var tmp$ret$2;
|
|
2126
2030
|
// Inline function 'kotlin.collections.component2' call
|
|
2127
|
-
tmp$ret$2 = element.
|
|
2031
|
+
tmp$ret$2 = element.j1();
|
|
2128
2032
|
var bindings = tmp$ret$2;
|
|
2129
2033
|
var tmp$ret$5;
|
|
2130
2034
|
// Inline function 'kotlin.collections.map' call
|
|
2131
2035
|
var tmp$ret$4;
|
|
2132
2036
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2133
2037
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(bindings, 10));
|
|
2134
|
-
var tmp0_iterator_0 = bindings.
|
|
2135
|
-
while (tmp0_iterator_0.
|
|
2136
|
-
var item = tmp0_iterator_0.
|
|
2038
|
+
var tmp0_iterator_0 = bindings.g();
|
|
2039
|
+
while (tmp0_iterator_0.h()) {
|
|
2040
|
+
var item = tmp0_iterator_0.i();
|
|
2137
2041
|
var tmp$ret$3;
|
|
2138
2042
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2139
2043
|
var tmp0_subject = item;
|
|
@@ -2141,7 +2045,7 @@
|
|
|
2141
2045
|
if (tmp0_subject instanceof DIDefinition) {
|
|
2142
2046
|
tmp = item;
|
|
2143
2047
|
} else {
|
|
2144
|
-
tmp = new DIDefinition(item.
|
|
2048
|
+
tmp = new DIDefinition(item.b25_1, item.c25_1, this);
|
|
2145
2049
|
}
|
|
2146
2050
|
tmp$ret$3 = tmp;
|
|
2147
2051
|
tmp0_mapTo.a(tmp$ret$3);
|
|
@@ -2150,21 +2054,21 @@
|
|
|
2150
2054
|
tmp$ret$5 = tmp$ret$4;
|
|
2151
2055
|
var definitions = tmp$ret$5;
|
|
2152
2056
|
// Inline function 'kotlin.collections.set' call
|
|
2153
|
-
var tmp0_set = this.
|
|
2057
|
+
var tmp0_set = this.y2a_1;
|
|
2154
2058
|
var tmp1_set = new Triple(key, definitions, null);
|
|
2155
|
-
tmp0_set.
|
|
2156
|
-
var typeChecker = first(bindings).
|
|
2059
|
+
tmp0_set.w2(key, tmp1_set);
|
|
2060
|
+
var typeChecker = first(bindings).b25_1.o27() ? new Down(key.f25_1) : new Up(key.f25_1);
|
|
2157
2061
|
var tmp$ret$7;
|
|
2158
2062
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2159
|
-
var tmp2_getOrPut = this.
|
|
2160
|
-
var value = tmp2_getOrPut.
|
|
2063
|
+
var tmp2_getOrPut = this.z2a_1;
|
|
2064
|
+
var value = tmp2_getOrPut.t1(typeChecker);
|
|
2161
2065
|
var tmp_0;
|
|
2162
2066
|
if (value == null) {
|
|
2163
2067
|
var tmp$ret$6;
|
|
2164
2068
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2165
2069
|
tmp$ret$6 = HashMap_init_$Create$();
|
|
2166
2070
|
var answer = tmp$ret$6;
|
|
2167
|
-
tmp2_getOrPut.
|
|
2071
|
+
tmp2_getOrPut.w2(typeChecker, answer);
|
|
2168
2072
|
tmp_0 = answer;
|
|
2169
2073
|
} else {
|
|
2170
2074
|
tmp_0 = value;
|
|
@@ -2173,15 +2077,15 @@
|
|
|
2173
2077
|
var contextTree = tmp$ret$7;
|
|
2174
2078
|
var tmp$ret$9;
|
|
2175
2079
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2176
|
-
var tmp3_getOrPut = new Down(key.
|
|
2177
|
-
var value_0 = contextTree.
|
|
2080
|
+
var tmp3_getOrPut = new Down(key.d25_1);
|
|
2081
|
+
var value_0 = contextTree.t1(tmp3_getOrPut);
|
|
2178
2082
|
var tmp_1;
|
|
2179
2083
|
if (value_0 == null) {
|
|
2180
2084
|
var tmp$ret$8;
|
|
2181
2085
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2182
2086
|
tmp$ret$8 = HashMap_init_$Create$();
|
|
2183
2087
|
var answer_0 = tmp$ret$8;
|
|
2184
|
-
contextTree.
|
|
2088
|
+
contextTree.w2(tmp3_getOrPut, answer_0);
|
|
2185
2089
|
tmp_1 = answer_0;
|
|
2186
2090
|
} else {
|
|
2187
2091
|
tmp_1 = value_0;
|
|
@@ -2190,15 +2094,15 @@
|
|
|
2190
2094
|
var argumentTree = tmp$ret$9;
|
|
2191
2095
|
var tmp$ret$11;
|
|
2192
2096
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2193
|
-
var tmp4_getOrPut = new Down(key.
|
|
2194
|
-
var value_1 = argumentTree.
|
|
2097
|
+
var tmp4_getOrPut = new Down(key.e25_1);
|
|
2098
|
+
var value_1 = argumentTree.t1(tmp4_getOrPut);
|
|
2195
2099
|
var tmp_2;
|
|
2196
2100
|
if (value_1 == null) {
|
|
2197
2101
|
var tmp$ret$10;
|
|
2198
2102
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>.<anonymous>' call
|
|
2199
2103
|
tmp$ret$10 = HashMap_init_$Create$();
|
|
2200
2104
|
var answer_1 = tmp$ret$10;
|
|
2201
|
-
argumentTree.
|
|
2105
|
+
argumentTree.w2(tmp4_getOrPut, answer_1);
|
|
2202
2106
|
tmp_2 = answer_1;
|
|
2203
2107
|
} else {
|
|
2204
2108
|
tmp_2 = value_1;
|
|
@@ -2206,48 +2110,48 @@
|
|
|
2206
2110
|
tmp$ret$11 = tmp_2;
|
|
2207
2111
|
var tagTree = tmp$ret$11;
|
|
2208
2112
|
// Inline function 'kotlin.collections.set' call
|
|
2209
|
-
var tmp5_set = key.
|
|
2210
|
-
tagTree.
|
|
2113
|
+
var tmp5_set = key.g25_1;
|
|
2114
|
+
tagTree.w2(tmp5_set, key);
|
|
2211
2115
|
}
|
|
2212
2116
|
var tmp_3 = this;
|
|
2213
2117
|
var tmp$ret$16;
|
|
2214
2118
|
// Inline function 'kotlin.collections.mapValues' call
|
|
2215
|
-
var tmp0_mapValues = this.
|
|
2119
|
+
var tmp0_mapValues = this.y2a_1;
|
|
2216
2120
|
var tmp$ret$15;
|
|
2217
2121
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
2218
|
-
var tmp1_mapValuesTo = LinkedHashMap_init_$Create$_0(mapCapacity(tmp0_mapValues.
|
|
2122
|
+
var tmp1_mapValuesTo = LinkedHashMap_init_$Create$_0(mapCapacity(tmp0_mapValues.f()));
|
|
2219
2123
|
var tmp$ret$14;
|
|
2220
2124
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
2221
|
-
var tmp0_associateByTo = tmp0_mapValues.
|
|
2222
|
-
var tmp0_iterator_1 = tmp0_associateByTo.
|
|
2223
|
-
while (tmp0_iterator_1.
|
|
2224
|
-
var element_0 = tmp0_iterator_1.
|
|
2125
|
+
var tmp0_associateByTo = tmp0_mapValues.o();
|
|
2126
|
+
var tmp0_iterator_1 = tmp0_associateByTo.g();
|
|
2127
|
+
while (tmp0_iterator_1.h()) {
|
|
2128
|
+
var element_0 = tmp0_iterator_1.i();
|
|
2225
2129
|
var tmp$ret$12;
|
|
2226
2130
|
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
2227
|
-
tmp$ret$12 = element_0.
|
|
2131
|
+
tmp$ret$12 = element_0.h1();
|
|
2228
2132
|
var tmp_4 = tmp$ret$12;
|
|
2229
2133
|
var tmp$ret$13;
|
|
2230
2134
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
2231
|
-
tmp$ret$13 = element_0.
|
|
2232
|
-
tmp1_mapValuesTo.
|
|
2135
|
+
tmp$ret$13 = element_0.j1().d8_1;
|
|
2136
|
+
tmp1_mapValuesTo.w2(tmp_4, tmp$ret$13);
|
|
2233
2137
|
}
|
|
2234
2138
|
tmp$ret$14 = tmp1_mapValuesTo;
|
|
2235
2139
|
tmp$ret$15 = tmp$ret$14;
|
|
2236
2140
|
tmp$ret$16 = tmp$ret$15;
|
|
2237
|
-
tmp_3.
|
|
2141
|
+
tmp_3.a2b_1 = HashMap_init_$Create$_0(tmp$ret$16);
|
|
2238
2142
|
$l$loop: while (true) {
|
|
2239
2143
|
var added = ArrayList_init_$Create$();
|
|
2240
|
-
var tmp0_iterator_2 = this.
|
|
2241
|
-
while (tmp0_iterator_2.
|
|
2242
|
-
var src = tmp0_iterator_2.
|
|
2243
|
-
var tmp1_iterator = this.
|
|
2244
|
-
while (tmp1_iterator.
|
|
2245
|
-
var dst = tmp1_iterator.
|
|
2246
|
-
if (dst.
|
|
2144
|
+
var tmp0_iterator_2 = this.b2b_1.g();
|
|
2145
|
+
while (tmp0_iterator_2.h()) {
|
|
2146
|
+
var src = tmp0_iterator_2.i();
|
|
2147
|
+
var tmp1_iterator = this.b2b_1.g();
|
|
2148
|
+
while (tmp1_iterator.h()) {
|
|
2149
|
+
var dst = tmp1_iterator.i();
|
|
2150
|
+
if (dst.l27().p24(src.t27()) ? !equals(src.l27(), dst.t27()) : false) {
|
|
2247
2151
|
var tmp$ret$17;
|
|
2248
2152
|
$l$block_0: {
|
|
2249
2153
|
// Inline function 'kotlin.collections.none' call
|
|
2250
|
-
var tmp1_none = this.
|
|
2154
|
+
var tmp1_none = this.b2b_1;
|
|
2251
2155
|
var tmp_5;
|
|
2252
2156
|
if (isInterface(tmp1_none, Collection)) {
|
|
2253
2157
|
tmp_5 = tmp1_none.k();
|
|
@@ -2258,12 +2162,12 @@
|
|
|
2258
2162
|
tmp$ret$17 = true;
|
|
2259
2163
|
break $l$block_0;
|
|
2260
2164
|
}
|
|
2261
|
-
var tmp0_iterator_3 = tmp1_none.
|
|
2262
|
-
while (tmp0_iterator_3.
|
|
2263
|
-
var element_1 = tmp0_iterator_3.
|
|
2165
|
+
var tmp0_iterator_3 = tmp1_none.g();
|
|
2166
|
+
while (tmp0_iterator_3.h()) {
|
|
2167
|
+
var element_1 = tmp0_iterator_3.i();
|
|
2264
2168
|
var tmp$ret$18;
|
|
2265
2169
|
// Inline function 'org.kodein.di.internal.DITreeImpl.<anonymous>' call
|
|
2266
|
-
tmp$ret$18 = equals(element_1.
|
|
2170
|
+
tmp$ret$18 = equals(element_1.l27(), src.l27()) ? equals(element_1.t27(), dst.t27()) : false;
|
|
2267
2171
|
if (tmp$ret$18) {
|
|
2268
2172
|
tmp$ret$17 = false;
|
|
2269
2173
|
break $l$block_0;
|
|
@@ -2282,30 +2186,30 @@
|
|
|
2282
2186
|
}
|
|
2283
2187
|
var tmp2_this = this;
|
|
2284
2188
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2285
|
-
var tmp3_plusAssign = tmp2_this.
|
|
2189
|
+
var tmp3_plusAssign = tmp2_this.b2b_1;
|
|
2286
2190
|
addAll(tmp3_plusAssign, added);
|
|
2287
2191
|
if (added.k())
|
|
2288
2192
|
break $l$loop;
|
|
2289
2193
|
}
|
|
2290
2194
|
}
|
|
2291
|
-
DITreeImpl.prototype.
|
|
2292
|
-
return this.
|
|
2195
|
+
DITreeImpl.prototype.s26 = function () {
|
|
2196
|
+
return this.w2a_1;
|
|
2293
2197
|
};
|
|
2294
|
-
DITreeImpl.prototype.
|
|
2295
|
-
return this.
|
|
2198
|
+
DITreeImpl.prototype.r26 = function () {
|
|
2199
|
+
return this.a2b_1;
|
|
2296
2200
|
};
|
|
2297
|
-
DITreeImpl.prototype.
|
|
2201
|
+
DITreeImpl.prototype.t26 = function (key, overrideLevel, all) {
|
|
2298
2202
|
if (!all) {
|
|
2299
|
-
var tmp0_safe_receiver = this.
|
|
2203
|
+
var tmp0_safe_receiver = this.y2a_1.t1(key);
|
|
2300
2204
|
if (tmp0_safe_receiver == null)
|
|
2301
2205
|
null;
|
|
2302
2206
|
else {
|
|
2303
2207
|
var tmp$ret$0;
|
|
2304
2208
|
// Inline function 'kotlin.let' call
|
|
2305
2209
|
// Inline function 'kotlin.contracts.contract' call
|
|
2306
|
-
var realKey = tmp0_safe_receiver.
|
|
2307
|
-
var list = tmp0_safe_receiver.
|
|
2308
|
-
var translator = tmp0_safe_receiver.
|
|
2210
|
+
var realKey = tmp0_safe_receiver.u2();
|
|
2211
|
+
var list = tmp0_safe_receiver.v2();
|
|
2212
|
+
var translator = tmp0_safe_receiver.f8();
|
|
2309
2213
|
var tmp0_elvis_lhs = getOrNull(list, overrideLevel);
|
|
2310
2214
|
var tmp;
|
|
2311
2215
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2318,10 +2222,10 @@
|
|
|
2318
2222
|
var tmp_1 = definition instanceof DIDefinition ? definition : THROW_CCE();
|
|
2319
2223
|
return listOf(new Triple(tmp_0, tmp_1, (translator == null ? true : isInterface(translator, ContextTranslator)) ? translator : THROW_CCE()));
|
|
2320
2224
|
}
|
|
2321
|
-
if (!equals(key.
|
|
2322
|
-
var tmp_2 = Companion_getInstance().
|
|
2323
|
-
var anyContextKey = key.
|
|
2324
|
-
var tmp1_safe_receiver = this.
|
|
2225
|
+
if (!equals(key.d25_1, Companion_getInstance().t24_1)) {
|
|
2226
|
+
var tmp_2 = Companion_getInstance().t24_1;
|
|
2227
|
+
var anyContextKey = key.t25(tmp_2, null, null, null, 14, null);
|
|
2228
|
+
var tmp1_safe_receiver = this.y2a_1.t1(anyContextKey);
|
|
2325
2229
|
if (tmp1_safe_receiver == null)
|
|
2326
2230
|
null;
|
|
2327
2231
|
else {
|
|
@@ -2332,16 +2236,16 @@
|
|
|
2332
2236
|
$l$block: {
|
|
2333
2237
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2334
2238
|
var tmp0_container = tmp1_safe_receiver;
|
|
2335
|
-
var realKey_0 = tmp0_container.
|
|
2336
|
-
var list_0 = tmp0_container.
|
|
2337
|
-
var translator_0 = tmp0_container.
|
|
2338
|
-
if (!(translator_0 == null) ? !equals(translator_0.
|
|
2239
|
+
var realKey_0 = tmp0_container.u2();
|
|
2240
|
+
var list_0 = tmp0_container.v2();
|
|
2241
|
+
var translator_0 = tmp0_container.f8();
|
|
2242
|
+
if (!(translator_0 == null) ? !equals(translator_0.l27(), key.d25_1) : false) {
|
|
2339
2243
|
tmp$ret$1 = Unit_getInstance();
|
|
2340
2244
|
break $l$block;
|
|
2341
2245
|
}
|
|
2342
2246
|
// Inline function 'kotlin.collections.set' call
|
|
2343
|
-
var tmp0_set = this.
|
|
2344
|
-
tmp0_set.
|
|
2247
|
+
var tmp0_set = this.y2a_1;
|
|
2248
|
+
tmp0_set.w2(key, tmp1_safe_receiver);
|
|
2345
2249
|
var tmp1_elvis_lhs = getOrNull(list_0, overrideLevel);
|
|
2346
2250
|
var tmp_3;
|
|
2347
2251
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2359,16 +2263,16 @@
|
|
|
2359
2263
|
}
|
|
2360
2264
|
var tmp$ret$5;
|
|
2361
2265
|
// Inline function 'kotlin.collections.filter' call
|
|
2362
|
-
var tmp0_filter = this.
|
|
2266
|
+
var tmp0_filter = this.b2b_1;
|
|
2363
2267
|
var tmp$ret$4;
|
|
2364
2268
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2365
2269
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
2366
|
-
var tmp0_iterator = tmp0_filter.
|
|
2367
|
-
while (tmp0_iterator.
|
|
2368
|
-
var element = tmp0_iterator.
|
|
2270
|
+
var tmp0_iterator = tmp0_filter.g();
|
|
2271
|
+
while (tmp0_iterator.h()) {
|
|
2272
|
+
var element = tmp0_iterator.i();
|
|
2369
2273
|
var tmp$ret$3;
|
|
2370
2274
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2371
|
-
tmp$ret$3 = equals(element.
|
|
2275
|
+
tmp$ret$3 = equals(element.l27(), key.d25_1);
|
|
2372
2276
|
if (tmp$ret$3) {
|
|
2373
2277
|
tmp0_filterTo.a(element);
|
|
2374
2278
|
}
|
|
@@ -2378,16 +2282,16 @@
|
|
|
2378
2282
|
var tmp_6 = tmp$ret$5;
|
|
2379
2283
|
var tmp$ret$8;
|
|
2380
2284
|
// Inline function 'kotlin.collections.filter' call
|
|
2381
|
-
var tmp1_filter = this.
|
|
2285
|
+
var tmp1_filter = this.b2b_1;
|
|
2382
2286
|
var tmp$ret$7;
|
|
2383
2287
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2384
2288
|
var tmp0_filterTo_0 = ArrayList_init_$Create$();
|
|
2385
|
-
var tmp0_iterator_0 = tmp1_filter.
|
|
2386
|
-
while (tmp0_iterator_0.
|
|
2387
|
-
var element_0 = tmp0_iterator_0.
|
|
2289
|
+
var tmp0_iterator_0 = tmp1_filter.g();
|
|
2290
|
+
while (tmp0_iterator_0.h()) {
|
|
2291
|
+
var element_0 = tmp0_iterator_0.i();
|
|
2388
2292
|
var tmp$ret$6;
|
|
2389
2293
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2390
|
-
tmp$ret$6 = equals(element_0.
|
|
2294
|
+
tmp$ret$6 = equals(element_0.l27(), Companion_getInstance().t24_1);
|
|
2391
2295
|
if (tmp$ret$6) {
|
|
2392
2296
|
tmp0_filterTo_0.a(element_0);
|
|
2393
2297
|
}
|
|
@@ -2395,11 +2299,11 @@
|
|
|
2395
2299
|
tmp$ret$7 = tmp0_filterTo_0;
|
|
2396
2300
|
tmp$ret$8 = tmp$ret$7;
|
|
2397
2301
|
var applicableTranslators = plus(tmp_6, tmp$ret$8);
|
|
2398
|
-
var tmp2_iterator = applicableTranslators.
|
|
2399
|
-
while (tmp2_iterator.
|
|
2400
|
-
var translator_1 = tmp2_iterator.
|
|
2401
|
-
var translatedKey = new Key(translator_1.
|
|
2402
|
-
var tmp3_safe_receiver = this.
|
|
2302
|
+
var tmp2_iterator = applicableTranslators.g();
|
|
2303
|
+
while (tmp2_iterator.h()) {
|
|
2304
|
+
var translator_1 = tmp2_iterator.i();
|
|
2305
|
+
var translatedKey = new Key(translator_1.t27(), key.e25_1, key.f25_1, key.g25_1);
|
|
2306
|
+
var tmp3_safe_receiver = this.y2a_1.t1(translatedKey);
|
|
2403
2307
|
var tmp_7;
|
|
2404
2308
|
if (tmp3_safe_receiver == null) {
|
|
2405
2309
|
tmp_7 = null;
|
|
@@ -2410,7 +2314,7 @@
|
|
|
2410
2314
|
var tmp_8;
|
|
2411
2315
|
var tmp$ret$9;
|
|
2412
2316
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2413
|
-
tmp$ret$9 = tmp3_safe_receiver.
|
|
2317
|
+
tmp$ret$9 = tmp3_safe_receiver.e8_1 == null;
|
|
2414
2318
|
if (tmp$ret$9) {
|
|
2415
2319
|
tmp_8 = tmp3_safe_receiver;
|
|
2416
2320
|
} else {
|
|
@@ -2429,17 +2333,17 @@
|
|
|
2429
2333
|
var tmp$ret$11;
|
|
2430
2334
|
$l$block_0: {
|
|
2431
2335
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2432
|
-
if (!(tmp4_safe_receiver.
|
|
2336
|
+
if (!(tmp4_safe_receiver.e8_1 == null)) {
|
|
2433
2337
|
tmp$ret$11 = Unit_getInstance();
|
|
2434
2338
|
break $l$block_0;
|
|
2435
2339
|
}
|
|
2436
2340
|
// Inline function 'kotlin.collections.set' call
|
|
2437
|
-
var tmp0_set_0 = this.
|
|
2438
|
-
var tmp1_set = tmp4_safe_receiver.
|
|
2439
|
-
tmp0_set_0.
|
|
2341
|
+
var tmp0_set_0 = this.y2a_1;
|
|
2342
|
+
var tmp1_set = tmp4_safe_receiver.h8(null, null, translator_1, 3, null);
|
|
2343
|
+
tmp0_set_0.w2(key, tmp1_set);
|
|
2440
2344
|
var tmp0_container_0 = tmp4_safe_receiver;
|
|
2441
|
-
var realKey_1 = tmp0_container_0.
|
|
2442
|
-
var list_1 = tmp0_container_0.
|
|
2345
|
+
var realKey_1 = tmp0_container_0.u2();
|
|
2346
|
+
var list_1 = tmp0_container_0.v2();
|
|
2443
2347
|
var tmp1_elvis_lhs_0 = getOrNull(list_1, overrideLevel);
|
|
2444
2348
|
var tmp_9;
|
|
2445
2349
|
if (tmp1_elvis_lhs_0 == null) {
|
|
@@ -2456,19 +2360,19 @@
|
|
|
2456
2360
|
}
|
|
2457
2361
|
}
|
|
2458
2362
|
}
|
|
2459
|
-
var result = findBySpecs(this, new SearchSpecs(key.
|
|
2460
|
-
if (result.
|
|
2363
|
+
var result = findBySpecs(this, new SearchSpecs(key.d25_1, key.e25_1, key.f25_1, key.g25_1));
|
|
2364
|
+
if (result.f() === 1) {
|
|
2461
2365
|
var tmp5_container = first(result);
|
|
2462
|
-
var realKey_2 = tmp5_container.
|
|
2463
|
-
var translator_2 = tmp5_container.
|
|
2366
|
+
var realKey_2 = tmp5_container.u2();
|
|
2367
|
+
var translator_2 = tmp5_container.v2();
|
|
2464
2368
|
// Inline function 'kotlin.collections.set' call
|
|
2465
|
-
var tmp2_set = this.
|
|
2466
|
-
var tmp6_safe_receiver = this.
|
|
2369
|
+
var tmp2_set = this.y2a_1;
|
|
2370
|
+
var tmp6_safe_receiver = this.y2a_1.t1(realKey_2);
|
|
2467
2371
|
var tmp_12;
|
|
2468
2372
|
if (tmp6_safe_receiver == null) {
|
|
2469
2373
|
tmp_12 = null;
|
|
2470
2374
|
} else {
|
|
2471
|
-
tmp_12 = tmp6_safe_receiver.
|
|
2375
|
+
tmp_12 = tmp6_safe_receiver.h8(null, null, translator_2, 3, null);
|
|
2472
2376
|
}
|
|
2473
2377
|
var tmp7_elvis_lhs = tmp_12;
|
|
2474
2378
|
var tmp_13;
|
|
@@ -2478,7 +2382,7 @@
|
|
|
2478
2382
|
tmp_13 = tmp7_elvis_lhs;
|
|
2479
2383
|
}
|
|
2480
2384
|
var tmp3_set = tmp_13;
|
|
2481
|
-
tmp2_set.
|
|
2385
|
+
tmp2_set.w2(key, tmp3_set);
|
|
2482
2386
|
}
|
|
2483
2387
|
var tmp$ret$16;
|
|
2484
2388
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -2486,16 +2390,16 @@
|
|
|
2486
2390
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2487
2391
|
var tmp0_mapNotNullTo = ArrayList_init_$Create$();
|
|
2488
2392
|
// Inline function 'kotlin.collections.forEach' call
|
|
2489
|
-
var tmp0_iterator_1 = result.
|
|
2490
|
-
while (tmp0_iterator_1.
|
|
2491
|
-
var element_1 = tmp0_iterator_1.
|
|
2393
|
+
var tmp0_iterator_1 = result.g();
|
|
2394
|
+
while (tmp0_iterator_1.h()) {
|
|
2395
|
+
var element_1 = tmp0_iterator_1.i();
|
|
2492
2396
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2493
2397
|
var tmp$ret$13;
|
|
2494
2398
|
$l$block_1: {
|
|
2495
2399
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2496
|
-
var realKey_3 = element_1.
|
|
2497
|
-
var translator_3 = element_1.
|
|
2498
|
-
var tmp0_elvis_lhs_0 = this.
|
|
2400
|
+
var realKey_3 = element_1.u2();
|
|
2401
|
+
var translator_3 = element_1.v2();
|
|
2402
|
+
var tmp0_elvis_lhs_0 = this.y2a_1.t1(realKey_3);
|
|
2499
2403
|
var tmp_14;
|
|
2500
2404
|
if (tmp0_elvis_lhs_0 == null) {
|
|
2501
2405
|
throw notInMap(this, realKey_3, key);
|
|
@@ -2503,7 +2407,7 @@
|
|
|
2503
2407
|
tmp_14 = tmp0_elvis_lhs_0;
|
|
2504
2408
|
}
|
|
2505
2409
|
var tmp1_container = tmp_14;
|
|
2506
|
-
var definitions = tmp1_container.
|
|
2410
|
+
var definitions = tmp1_container.v2();
|
|
2507
2411
|
var tmp2_elvis_lhs = getOrNull(definitions, overrideLevel);
|
|
2508
2412
|
var tmp_15;
|
|
2509
2413
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2532,45 +2436,44 @@
|
|
|
2532
2436
|
tmp$ret$16 = tmp$ret$15;
|
|
2533
2437
|
return tmp$ret$16;
|
|
2534
2438
|
};
|
|
2535
|
-
DITreeImpl.prototype.
|
|
2439
|
+
DITreeImpl.prototype.v26 = function (search) {
|
|
2536
2440
|
var result = findBySpecs(this, search);
|
|
2537
2441
|
var tmp$ret$2;
|
|
2538
2442
|
// Inline function 'kotlin.collections.map' call
|
|
2539
2443
|
var tmp$ret$1;
|
|
2540
2444
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2541
2445
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(result, 10));
|
|
2542
|
-
var tmp0_iterator = result.
|
|
2543
|
-
while (tmp0_iterator.
|
|
2544
|
-
var item = tmp0_iterator.
|
|
2446
|
+
var tmp0_iterator = result.g();
|
|
2447
|
+
while (tmp0_iterator.h()) {
|
|
2448
|
+
var item = tmp0_iterator.i();
|
|
2545
2449
|
var tmp$ret$0;
|
|
2546
2450
|
// Inline function 'org.kodein.di.internal.DITreeImpl.find.<anonymous>' call
|
|
2547
|
-
var key = item.
|
|
2548
|
-
var translator = item.
|
|
2549
|
-
tmp$ret$0 = new Triple(key, ensureNotNull(this.
|
|
2451
|
+
var key = item.u2();
|
|
2452
|
+
var translator = item.v2();
|
|
2453
|
+
tmp$ret$0 = new Triple(key, ensureNotNull(this.y2a_1.t1(key)).d8_1, translator);
|
|
2550
2454
|
tmp0_mapTo.a(tmp$ret$0);
|
|
2551
2455
|
}
|
|
2552
2456
|
tmp$ret$1 = tmp0_mapTo;
|
|
2553
2457
|
tmp$ret$2 = tmp$ret$1;
|
|
2554
2458
|
return tmp$ret$2;
|
|
2555
2459
|
};
|
|
2556
|
-
DITreeImpl.prototype.
|
|
2557
|
-
var tmp = this.
|
|
2460
|
+
DITreeImpl.prototype.w26 = function (key) {
|
|
2461
|
+
var tmp = this.y2a_1.t1(key);
|
|
2558
2462
|
return (tmp == null ? true : tmp instanceof Triple) ? tmp : THROW_CCE();
|
|
2559
2463
|
};
|
|
2560
|
-
DITreeImpl.$metadata$ = classMeta('DITreeImpl', [DITree]);
|
|
2561
2464
|
function Down(type) {
|
|
2562
2465
|
TypeChecker.call(this);
|
|
2563
|
-
this.
|
|
2564
|
-
this.
|
|
2466
|
+
this.d2b_1 = type;
|
|
2467
|
+
this.e2b_1 = equals(this.d2b_1, Companion_getInstance().t24_1);
|
|
2565
2468
|
}
|
|
2566
|
-
Down.prototype.
|
|
2567
|
-
return this.
|
|
2469
|
+
Down.prototype.c2b = function (other) {
|
|
2470
|
+
return this.e2b_1 ? true : this.d2b_1.p24(other);
|
|
2568
2471
|
};
|
|
2569
2472
|
Down.prototype.toString = function () {
|
|
2570
|
-
return 'Down(type=' + this.
|
|
2473
|
+
return 'Down(type=' + this.d2b_1 + ')';
|
|
2571
2474
|
};
|
|
2572
2475
|
Down.prototype.hashCode = function () {
|
|
2573
|
-
return hashCode(this.
|
|
2476
|
+
return hashCode(this.d2b_1);
|
|
2574
2477
|
};
|
|
2575
2478
|
Down.prototype.equals = function (other) {
|
|
2576
2479
|
if (this === other)
|
|
@@ -2578,23 +2481,22 @@
|
|
|
2578
2481
|
if (!(other instanceof Down))
|
|
2579
2482
|
return false;
|
|
2580
2483
|
var tmp0_other_with_cast = other instanceof Down ? other : THROW_CCE();
|
|
2581
|
-
if (!equals(this.
|
|
2484
|
+
if (!equals(this.d2b_1, tmp0_other_with_cast.d2b_1))
|
|
2582
2485
|
return false;
|
|
2583
2486
|
return true;
|
|
2584
2487
|
};
|
|
2585
|
-
Down.$metadata$ = classMeta('Down', undefined, undefined, undefined, undefined, TypeChecker.prototype);
|
|
2586
2488
|
function Up(type) {
|
|
2587
2489
|
TypeChecker.call(this);
|
|
2588
|
-
this.
|
|
2490
|
+
this.f2b_1 = type;
|
|
2589
2491
|
}
|
|
2590
|
-
Up.prototype.
|
|
2591
|
-
return equals(other, Companion_getInstance().
|
|
2492
|
+
Up.prototype.c2b = function (other) {
|
|
2493
|
+
return equals(other, Companion_getInstance().t24_1) ? true : other.p24(this.f2b_1);
|
|
2592
2494
|
};
|
|
2593
2495
|
Up.prototype.toString = function () {
|
|
2594
|
-
return 'Up(type=' + this.
|
|
2496
|
+
return 'Up(type=' + this.f2b_1 + ')';
|
|
2595
2497
|
};
|
|
2596
2498
|
Up.prototype.hashCode = function () {
|
|
2597
|
-
return hashCode(this.
|
|
2499
|
+
return hashCode(this.f2b_1);
|
|
2598
2500
|
};
|
|
2599
2501
|
Up.prototype.equals = function (other) {
|
|
2600
2502
|
if (this === other)
|
|
@@ -2602,135 +2504,68 @@
|
|
|
2602
2504
|
if (!(other instanceof Up))
|
|
2603
2505
|
return false;
|
|
2604
2506
|
var tmp0_other_with_cast = other instanceof Up ? other : THROW_CCE();
|
|
2605
|
-
if (!equals(this.
|
|
2507
|
+
if (!equals(this.f2b_1, tmp0_other_with_cast.f2b_1))
|
|
2606
2508
|
return false;
|
|
2607
2509
|
return true;
|
|
2608
2510
|
};
|
|
2609
|
-
Up.$metadata$ = classMeta('Up', undefined, undefined, undefined, undefined, TypeChecker.prototype);
|
|
2610
2511
|
function TypeChecker() {
|
|
2611
2512
|
}
|
|
2612
|
-
TypeChecker.$metadata$ = classMeta('TypeChecker');
|
|
2613
2513
|
function DirectDIBaseImpl(container, context) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2514
|
+
this.g2b_1 = container;
|
|
2515
|
+
this.h2b_1 = context;
|
|
2616
2516
|
}
|
|
2617
|
-
DirectDIBaseImpl.prototype.
|
|
2618
|
-
return this.
|
|
2517
|
+
DirectDIBaseImpl.prototype.c26 = function () {
|
|
2518
|
+
return this.g2b_1;
|
|
2619
2519
|
};
|
|
2620
|
-
DirectDIBaseImpl.prototype.
|
|
2520
|
+
DirectDIBaseImpl.prototype.d27 = function () {
|
|
2621
2521
|
return this;
|
|
2622
2522
|
};
|
|
2623
|
-
DirectDIBaseImpl.prototype.
|
|
2624
|
-
var tmp = this.
|
|
2523
|
+
DirectDIBaseImpl.prototype.x26 = function () {
|
|
2524
|
+
var tmp = this.c26();
|
|
2625
2525
|
var tmp_0 = new DIImpl(tmp instanceof DIContainerImpl ? tmp : THROW_CCE());
|
|
2626
|
-
return On$default(tmp_0, this.
|
|
2526
|
+
return On$default(tmp_0, this.h2b_1, null, 2, null);
|
|
2627
2527
|
};
|
|
2628
|
-
DirectDIBaseImpl.prototype.
|
|
2629
|
-
return new DirectDIImpl(this.
|
|
2528
|
+
DirectDIBaseImpl.prototype.f27 = function (context) {
|
|
2529
|
+
return new DirectDIImpl(this.c26(), context);
|
|
2630
2530
|
};
|
|
2631
|
-
DirectDIBaseImpl.prototype.
|
|
2632
|
-
var tmp = this.
|
|
2531
|
+
DirectDIBaseImpl.prototype.e27 = function (type, tag) {
|
|
2532
|
+
var tmp = this.c26();
|
|
2633
2533
|
var tmp$ret$0;
|
|
2634
2534
|
// Inline function 'org.kodein.di.internal.anyType' call
|
|
2635
|
-
var tmp0__get_anyType__cravgl = this.
|
|
2636
|
-
var tmp_0 = tmp0__get_anyType__cravgl.
|
|
2535
|
+
var tmp0__get_anyType__cravgl = this.h2b_1;
|
|
2536
|
+
var tmp_0 = tmp0__get_anyType__cravgl.h26();
|
|
2637
2537
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
2638
|
-
var tmp_1 = new Key(tmp$ret$0, Companion_getInstance().
|
|
2639
|
-
var tmp_2 = this.
|
|
2640
|
-
return tmp.
|
|
2538
|
+
var tmp_1 = new Key(tmp$ret$0, Companion_getInstance().s24_1, type, tag);
|
|
2539
|
+
var tmp_2 = this.h2b_1.j1();
|
|
2540
|
+
return tmp.n26(tmp_1, tmp_2, 0, 4, null)();
|
|
2641
2541
|
};
|
|
2642
|
-
DirectDIBaseImpl.$metadata$ = classMeta('DirectDIBaseImpl', [DirectDI]);
|
|
2643
|
-
function get_anyType_0(_this__u8e3s4) {
|
|
2644
|
-
var tmp = _this__u8e3s4.f7();
|
|
2645
|
-
return isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
2646
|
-
}
|
|
2647
|
-
function synchronizedIfNull(lock, predicate, ifNotNull, ifNull) {
|
|
2648
|
-
var tmp0_safe_receiver = predicate();
|
|
2649
|
-
if (tmp0_safe_receiver == null)
|
|
2650
|
-
null;
|
|
2651
|
-
else {
|
|
2652
|
-
var tmp$ret$0;
|
|
2653
|
-
// Inline function 'kotlin.let' call
|
|
2654
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2655
|
-
return ifNotNull(tmp0_safe_receiver);
|
|
2656
|
-
}
|
|
2657
|
-
var tmp$ret$3;
|
|
2658
|
-
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
2659
|
-
var tmp$ret$1;
|
|
2660
|
-
$l$block: {
|
|
2661
|
-
// Inline function 'org.kodein.di.internal.synchronizedIfNull.<anonymous>' call
|
|
2662
|
-
var tmp0_safe_receiver_0 = predicate();
|
|
2663
|
-
if (tmp0_safe_receiver_0 == null)
|
|
2664
|
-
null;
|
|
2665
|
-
else {
|
|
2666
|
-
var tmp$ret$2;
|
|
2667
|
-
// Inline function 'kotlin.let' call
|
|
2668
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
2669
|
-
tmp$ret$1 = tmp0_safe_receiver_0;
|
|
2670
|
-
break $l$block;
|
|
2671
|
-
}
|
|
2672
|
-
return ifNull();
|
|
2673
|
-
}
|
|
2674
|
-
tmp$ret$3 = tmp$ret$1;
|
|
2675
|
-
var value = tmp$ret$3;
|
|
2676
|
-
return ifNotNull(value);
|
|
2677
|
-
}
|
|
2678
|
-
function synchronizedIfNotNull(lock, predicate, ifNull, ifNotNull) {
|
|
2679
|
-
if (predicate() == null) {
|
|
2680
|
-
return ifNull();
|
|
2681
|
-
}
|
|
2682
|
-
var tmp$ret$1;
|
|
2683
|
-
// Inline function 'org.kodein.di.internal.maySynchronized' call
|
|
2684
|
-
var tmp$ret$0;
|
|
2685
|
-
$l$block: {
|
|
2686
|
-
// Inline function 'org.kodein.di.internal.synchronizedIfNotNull.<anonymous>' call
|
|
2687
|
-
var tmp0_elvis_lhs = predicate();
|
|
2688
|
-
var tmp;
|
|
2689
|
-
if (tmp0_elvis_lhs == null) {
|
|
2690
|
-
tmp$ret$0 = Unit_getInstance();
|
|
2691
|
-
break $l$block;
|
|
2692
|
-
} else {
|
|
2693
|
-
tmp = tmp0_elvis_lhs;
|
|
2694
|
-
}
|
|
2695
|
-
var value = tmp;
|
|
2696
|
-
return ifNotNull(value);
|
|
2697
|
-
}
|
|
2698
|
-
tmp$ret$1 = tmp$ret$0;
|
|
2699
|
-
return ifNull();
|
|
2700
|
-
}
|
|
2701
|
-
function LazyDelegate() {
|
|
2702
|
-
}
|
|
2703
|
-
LazyDelegate.$metadata$ = interfaceMeta('LazyDelegate');
|
|
2704
2542
|
function DIProperty$provideDelegate$lambda($receiver, this$0, $prop) {
|
|
2705
2543
|
return function () {
|
|
2706
2544
|
var tmp;
|
|
2707
|
-
if (!($receiver == null) ? this$0.
|
|
2545
|
+
if (!($receiver == null) ? this$0.j2b_1 === get_AnyDIContext() : false) {
|
|
2708
2546
|
var tmp_0 = Companion_getInstance_1();
|
|
2709
2547
|
var tmp_1 = erasedOf($receiver);
|
|
2710
|
-
tmp = tmp_0.
|
|
2548
|
+
tmp = tmp_0.i26(isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE(), $receiver);
|
|
2711
2549
|
} else {
|
|
2712
|
-
tmp = this$0.
|
|
2550
|
+
tmp = this$0.j2b_1;
|
|
2713
2551
|
}
|
|
2714
2552
|
var context = tmp;
|
|
2715
|
-
return this$0.
|
|
2553
|
+
return this$0.k2b_1(context, $prop.callableName);
|
|
2716
2554
|
};
|
|
2717
2555
|
}
|
|
2718
2556
|
function DIProperty(trigger, originalContext, get) {
|
|
2719
|
-
this.
|
|
2720
|
-
this.
|
|
2721
|
-
this.
|
|
2557
|
+
this.i2b_1 = trigger;
|
|
2558
|
+
this.j2b_1 = originalContext;
|
|
2559
|
+
this.k2b_1 = get;
|
|
2722
2560
|
}
|
|
2723
|
-
DIProperty.prototype.
|
|
2724
|
-
return this.t2k_1;
|
|
2725
|
-
};
|
|
2726
|
-
DIProperty.prototype.s2k = function (receiver, prop) {
|
|
2561
|
+
DIProperty.prototype.l2b = function (receiver, prop) {
|
|
2727
2562
|
var tmp$ret$0;
|
|
2728
2563
|
// Inline function 'kotlin.also' call
|
|
2729
2564
|
var tmp0_also = lazy(DIProperty$provideDelegate$lambda(receiver, this, prop));
|
|
2730
2565
|
// Inline function 'kotlin.contracts.contract' call
|
|
2731
2566
|
// Inline function 'org.kodein.di.DIProperty.provideDelegate.<anonymous>' call
|
|
2732
|
-
var tmp0_safe_receiver = this.
|
|
2733
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2567
|
+
var tmp0_safe_receiver = this.i2b_1;
|
|
2568
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2b_1;
|
|
2734
2569
|
if (tmp1_safe_receiver == null)
|
|
2735
2570
|
null;
|
|
2736
2571
|
else
|
|
@@ -2738,45 +2573,37 @@
|
|
|
2738
2573
|
tmp$ret$0 = tmp0_also;
|
|
2739
2574
|
return tmp$ret$0;
|
|
2740
2575
|
};
|
|
2741
|
-
DIProperty.$metadata$ = classMeta('DIProperty', [LazyDelegate]);
|
|
2742
|
-
function DirectDI() {
|
|
2743
|
-
}
|
|
2744
|
-
DirectDI.$metadata$ = interfaceMeta('DirectDI', [DirectDIBase]);
|
|
2745
2576
|
function DirectDIImpl(container, context) {
|
|
2746
2577
|
DirectDIBaseImpl.call(this, container, context);
|
|
2747
2578
|
}
|
|
2748
|
-
DirectDIImpl.$metadata$ = classMeta('DirectDIImpl', [DirectDI], undefined, undefined, undefined, DirectDIBaseImpl.prototype);
|
|
2749
2579
|
function newConcurrentMap() {
|
|
2750
2580
|
return HashMap_init_$Create$();
|
|
2751
2581
|
}
|
|
2752
|
-
function maySynchronized(lock, block) {
|
|
2753
|
-
return block();
|
|
2754
|
-
}
|
|
2755
2582
|
function newLinkedList() {
|
|
2756
2583
|
return ArrayList_init_$Create$();
|
|
2757
2584
|
}
|
|
2758
2585
|
//region block: post-declaration
|
|
2759
|
-
Singleton.prototype.
|
|
2760
|
-
Singleton.prototype.
|
|
2761
|
-
Singleton.prototype.
|
|
2762
|
-
Singleton.prototype.
|
|
2763
|
-
Provider.prototype.
|
|
2764
|
-
Provider.prototype.
|
|
2765
|
-
Provider.prototype.
|
|
2766
|
-
Provider.prototype.
|
|
2767
|
-
Provider.prototype.
|
|
2768
|
-
Provider.prototype.
|
|
2769
|
-
DIBuilderImpl.prototype.
|
|
2770
|
-
DIMainBuilderImpl.prototype.
|
|
2771
|
-
DIContainerImpl.prototype.
|
|
2772
|
-
DIContainerImpl.prototype.
|
|
2773
|
-
DIContainerImpl.prototype.
|
|
2774
|
-
DIImpl.prototype.
|
|
2775
|
-
DIImpl.prototype.
|
|
2776
|
-
DIImpl.prototype.
|
|
2777
|
-
DITreeImpl.prototype.
|
|
2778
|
-
DirectDIBaseImpl.prototype.
|
|
2779
|
-
DirectDIImpl.prototype.
|
|
2586
|
+
Singleton.prototype.m27 = get_argType;
|
|
2587
|
+
Singleton.prototype.j25 = get_description;
|
|
2588
|
+
Singleton.prototype.l25 = get_fullDescription;
|
|
2589
|
+
Singleton.prototype.o27 = get_supportSubTypes;
|
|
2590
|
+
Provider.prototype.m27 = get_argType;
|
|
2591
|
+
Provider.prototype.j27 = factoryFullName;
|
|
2592
|
+
Provider.prototype.k27 = get_scope;
|
|
2593
|
+
Provider.prototype.j25 = get_description;
|
|
2594
|
+
Provider.prototype.l25 = get_fullDescription;
|
|
2595
|
+
Provider.prototype.o27 = get_supportSubTypes;
|
|
2596
|
+
DIBuilderImpl.prototype.w25 = import$default;
|
|
2597
|
+
DIMainBuilderImpl.prototype.w25 = import$default;
|
|
2598
|
+
DIContainerImpl.prototype.p26 = factory$default;
|
|
2599
|
+
DIContainerImpl.prototype.q26 = provider;
|
|
2600
|
+
DIContainerImpl.prototype.n26 = provider$default;
|
|
2601
|
+
DIImpl.prototype.b26 = get_di;
|
|
2602
|
+
DIImpl.prototype.d26 = get_diContext;
|
|
2603
|
+
DIImpl.prototype.e26 = get_diTrigger;
|
|
2604
|
+
DITreeImpl.prototype.u26 = find$default;
|
|
2605
|
+
DirectDIBaseImpl.prototype.b26 = get_di_0;
|
|
2606
|
+
DirectDIImpl.prototype.b26 = get_di_0;
|
|
2780
2607
|
//endregion
|
|
2781
2608
|
//region block: exports
|
|
2782
2609
|
_.$_$ = _.$_$ || {};
|