@doordeck/doordeck-headless-sdk 0.50.0 → 0.52.0
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/README.md +6 -6
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1323 -1323
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
- package/kotlin/doordeck-sdk.d.ts +2 -3
- package/kotlin/doordeck-sdk.js +12511 -12705
- package/kotlin/kotlin-kotlin-stdlib.js +1845 -2257
- package/kotlin/kotlinx-atomicfu.js +19 -19
- package/kotlin/kotlinx-coroutines-core.js +1923 -1923
- package/kotlin/kotlinx-io-kotlinx-io-core.js +454 -454
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1937 -1937
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1541 -1541
- package/kotlin/ktor-ktor-client-ktor-client-core.js +2846 -2847
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +403 -400
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +210 -210
- package/kotlin/ktor-ktor-http.js +814 -814
- package/kotlin/ktor-ktor-io.js +667 -667
- package/kotlin/ktor-ktor-shared-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +271 -271
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +127 -127
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +55 -55
- package/kotlin/ktor-ktor-utils.js +632 -632
- package/package.json +1 -1
- package/kotlin/Stately-stately-concurrency.js +0 -30
- package/kotlin/Stately-stately-concurrent-collections.js +0 -302
- package/kotlin/Stately-stately-strict.js +0 -10
- package/kotlin/projects-core-koin-core.js +0 -1147
|
@@ -1,1147 +0,0 @@
|
|
|
1
|
-
(function (_, kotlin_kotlin, kotlin_co_touchlab_stately_concurrency, kotlin_co_touchlab_stately_concurrent_collections) {
|
|
2
|
-
'use strict';
|
|
3
|
-
//region block: imports
|
|
4
|
-
var imul = Math.imul;
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.l5;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.pb;
|
|
7
|
-
var Monotonic_instance = kotlin_kotlin.$_$.c5;
|
|
8
|
-
var ValueTimeMark__elapsedNow_impl_eonqvs = kotlin_kotlin.$_$.s2;
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.pa;
|
|
10
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.qa;
|
|
11
|
-
var VOID = kotlin_kotlin.$_$.h;
|
|
12
|
-
var emptyList = kotlin_kotlin.$_$.z6;
|
|
13
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
14
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
15
|
-
var equals = kotlin_kotlin.$_$.ia;
|
|
16
|
-
var joinTo = kotlin_kotlin.$_$.p7;
|
|
17
|
-
var THROW_CCE = kotlin_kotlin.$_$.cf;
|
|
18
|
-
var hashCode = kotlin_kotlin.$_$.oa;
|
|
19
|
-
var Enum = kotlin_kotlin.$_$.re;
|
|
20
|
-
var toString = kotlin_kotlin.$_$.dg;
|
|
21
|
-
var toString_0 = kotlin_kotlin.$_$.tb;
|
|
22
|
-
var Exception = kotlin_kotlin.$_$.te;
|
|
23
|
-
var Exception_init_$Init$ = kotlin_kotlin.$_$.p1;
|
|
24
|
-
var captureStack = kotlin_kotlin.$_$.aa;
|
|
25
|
-
var Exception_init_$Init$_0 = kotlin_kotlin.$_$.q1;
|
|
26
|
-
var HashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
27
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
28
|
-
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
29
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
30
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
31
|
-
var getStringHashCode = kotlin_kotlin.$_$.na;
|
|
32
|
-
var asReversed = kotlin_kotlin.$_$.e6;
|
|
33
|
-
var ArrayDeque_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
34
|
-
var get_lastIndex = kotlin_kotlin.$_$.r7;
|
|
35
|
-
var toList = kotlin_kotlin.$_$.r8;
|
|
36
|
-
var getKClass = kotlin_kotlin.$_$.f;
|
|
37
|
-
var copyToArray = kotlin_kotlin.$_$.v6;
|
|
38
|
-
var arrayListOf = kotlin_kotlin.$_$.c6;
|
|
39
|
-
var TimedValue = kotlin_kotlin.$_$.ie;
|
|
40
|
-
var ArrayDeque_init_$Create$_0 = kotlin_kotlin.$_$.n;
|
|
41
|
-
var ThreadLocalRef = kotlin_co_touchlab_stately_concurrency.$_$.a;
|
|
42
|
-
var _Duration___get_inWholeMicroseconds__impl__8oe8vv = kotlin_kotlin.$_$.m2;
|
|
43
|
-
var initMetadataForObject = kotlin_kotlin.$_$.va;
|
|
44
|
-
var Companion_getInstance = kotlin_kotlin.$_$.d5;
|
|
45
|
-
var Exception_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
46
|
-
var split = kotlin_kotlin.$_$.jd;
|
|
47
|
-
var ConcurrentMutableMap_init_$Create$ = kotlin_co_touchlab_stately_concurrent_collections.$_$.a;
|
|
48
|
-
//endregion
|
|
49
|
-
//region block: pre-declaration
|
|
50
|
-
initMetadataForClass(Koin, 'Koin', Koin);
|
|
51
|
-
initMetadataForCompanion(Companion);
|
|
52
|
-
initMetadataForClass(KoinApplication, 'KoinApplication');
|
|
53
|
-
initMetadataForClass(BeanDefinition, 'BeanDefinition');
|
|
54
|
-
initMetadataForClass(Kind, 'Kind', VOID, Enum);
|
|
55
|
-
initMetadataForClass(Callbacks, 'Callbacks', Callbacks);
|
|
56
|
-
initMetadataForClass(KoinDefinition, 'KoinDefinition');
|
|
57
|
-
initMetadataForClass(ClosedScopeException, 'ClosedScopeException', VOID, Exception);
|
|
58
|
-
initMetadataForClass(DefinitionOverrideException, 'DefinitionOverrideException', VOID, Exception);
|
|
59
|
-
initMetadataForClass(InstanceCreationException, 'InstanceCreationException', VOID, Exception);
|
|
60
|
-
initMetadataForClass(KoinApplicationAlreadyStartedException, 'KoinApplicationAlreadyStartedException', VOID, Exception);
|
|
61
|
-
initMetadataForClass(NoDefinitionFoundException, 'NoDefinitionFoundException', VOID, Exception);
|
|
62
|
-
initMetadataForClass(ExtensionManager, 'ExtensionManager');
|
|
63
|
-
initMetadataForCompanion(Companion_0);
|
|
64
|
-
initMetadataForClass(InstanceFactory, 'InstanceFactory');
|
|
65
|
-
initMetadataForClass(ResolutionContext, 'ResolutionContext');
|
|
66
|
-
initMetadataForClass(NoClass, 'NoClass', NoClass);
|
|
67
|
-
initMetadataForClass(SingleInstanceFactory, 'SingleInstanceFactory', VOID, InstanceFactory);
|
|
68
|
-
initMetadataForClass(Logger, 'Logger');
|
|
69
|
-
initMetadataForClass(EmptyLogger, 'EmptyLogger', EmptyLogger, Logger);
|
|
70
|
-
initMetadataForClass(Level, 'Level', VOID, Enum);
|
|
71
|
-
initMetadataForClass(Module, 'Module', Module);
|
|
72
|
-
initMetadataForClass(ParametersHolder, 'ParametersHolder', ParametersHolder);
|
|
73
|
-
initMetadataForClass(StringQualifier, 'StringQualifier');
|
|
74
|
-
initMetadataForClass(InstanceRegistry, 'InstanceRegistry');
|
|
75
|
-
initMetadataForClass(PropertyRegistry, 'PropertyRegistry');
|
|
76
|
-
initMetadataForCompanion(Companion_1);
|
|
77
|
-
initMetadataForClass(ScopeRegistry, 'ScopeRegistry');
|
|
78
|
-
initMetadataForClass(Scope, 'Scope');
|
|
79
|
-
initMetadataForObject(KoinPlatform, 'KoinPlatform');
|
|
80
|
-
initMetadataForObject(GlobalContext, 'GlobalContext');
|
|
81
|
-
initMetadataForObject(KoinPlatformTools, 'KoinPlatformTools');
|
|
82
|
-
//endregion
|
|
83
|
-
function Koin() {
|
|
84
|
-
this.f57_1 = new ScopeRegistry(this);
|
|
85
|
-
this.g57_1 = new InstanceRegistry(this);
|
|
86
|
-
this.h57_1 = new PropertyRegistry(this);
|
|
87
|
-
this.i57_1 = new ExtensionManager(this);
|
|
88
|
-
this.j57_1 = new EmptyLogger();
|
|
89
|
-
}
|
|
90
|
-
protoOf(Koin).k57 = function (modules, allowOverride, createEagerInstances) {
|
|
91
|
-
var flattedModules = flatten(modules);
|
|
92
|
-
this.g57_1.o57(flattedModules, allowOverride);
|
|
93
|
-
this.f57_1.t57(flattedModules);
|
|
94
|
-
if (createEagerInstances) {
|
|
95
|
-
this.u57();
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
protoOf(Koin).u57 = function () {
|
|
99
|
-
this.j57_1.w57('Create eager instances ...');
|
|
100
|
-
// Inline function 'kotlin.time.measureTime' call
|
|
101
|
-
// Inline function 'kotlin.time.measureTime' call
|
|
102
|
-
var mark = Monotonic_instance.le();
|
|
103
|
-
// Inline function 'org.koin.core.Koin.createEagerInstances.<anonymous>' call
|
|
104
|
-
this.g57_1.x57();
|
|
105
|
-
var duration = ValueTimeMark__elapsedNow_impl_eonqvs(mark);
|
|
106
|
-
this.j57_1.w57('Created eager instances in ' + get_inMs(duration) + ' ms');
|
|
107
|
-
};
|
|
108
|
-
function loadModules($this, modules) {
|
|
109
|
-
$this.y57_1.k57(modules, $this.z57_1, false);
|
|
110
|
-
}
|
|
111
|
-
function Companion() {
|
|
112
|
-
}
|
|
113
|
-
protoOf(Companion).a58 = function () {
|
|
114
|
-
var app = new KoinApplication();
|
|
115
|
-
return app;
|
|
116
|
-
};
|
|
117
|
-
var Companion_instance;
|
|
118
|
-
function Companion_getInstance_0() {
|
|
119
|
-
return Companion_instance;
|
|
120
|
-
}
|
|
121
|
-
function KoinApplication() {
|
|
122
|
-
this.y57_1 = new Koin();
|
|
123
|
-
this.z57_1 = true;
|
|
124
|
-
}
|
|
125
|
-
protoOf(KoinApplication).b58 = function (modules) {
|
|
126
|
-
var tmp0 = this.y57_1.j57_1;
|
|
127
|
-
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
128
|
-
var lvl = Level_INFO_getInstance();
|
|
129
|
-
if (tmp0.v57_1.u2(lvl) <= 0) {
|
|
130
|
-
// Inline function 'kotlin.time.measureTime' call
|
|
131
|
-
// Inline function 'kotlin.time.measureTime' call
|
|
132
|
-
var mark = Monotonic_instance.le();
|
|
133
|
-
// Inline function 'org.koin.core.KoinApplication.modules.<anonymous>' call
|
|
134
|
-
loadModules(this, modules);
|
|
135
|
-
var duration = ValueTimeMark__elapsedNow_impl_eonqvs(mark);
|
|
136
|
-
var count = this.y57_1.g57_1.c58();
|
|
137
|
-
this.y57_1.j57_1.d58(Level_INFO_getInstance(), 'Started ' + count + ' definitions in ' + get_inMs(duration) + ' ms');
|
|
138
|
-
} else {
|
|
139
|
-
loadModules(this, modules);
|
|
140
|
-
}
|
|
141
|
-
return this;
|
|
142
|
-
};
|
|
143
|
-
function startKoin(appDeclaration) {
|
|
144
|
-
return KoinPlatformTools_instance.e58().f58(appDeclaration);
|
|
145
|
-
}
|
|
146
|
-
function BeanDefinition$toString$lambda(it) {
|
|
147
|
-
return getFullName(it);
|
|
148
|
-
}
|
|
149
|
-
function BeanDefinition(scopeQualifier, primaryType, qualifier, definition, kind, secondaryTypes) {
|
|
150
|
-
qualifier = qualifier === VOID ? null : qualifier;
|
|
151
|
-
var tmp;
|
|
152
|
-
if (secondaryTypes === VOID) {
|
|
153
|
-
// Inline function 'kotlin.collections.listOf' call
|
|
154
|
-
tmp = emptyList();
|
|
155
|
-
} else {
|
|
156
|
-
tmp = secondaryTypes;
|
|
157
|
-
}
|
|
158
|
-
secondaryTypes = tmp;
|
|
159
|
-
this.g58_1 = scopeQualifier;
|
|
160
|
-
this.h58_1 = primaryType;
|
|
161
|
-
this.i58_1 = qualifier;
|
|
162
|
-
this.j58_1 = definition;
|
|
163
|
-
this.k58_1 = kind;
|
|
164
|
-
this.l58_1 = secondaryTypes;
|
|
165
|
-
this.m58_1 = new Callbacks();
|
|
166
|
-
this.n58_1 = false;
|
|
167
|
-
}
|
|
168
|
-
protoOf(BeanDefinition).toString = function () {
|
|
169
|
-
// Inline function 'kotlin.text.buildString' call
|
|
170
|
-
// Inline function 'kotlin.apply' call
|
|
171
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
172
|
-
// Inline function 'org.koin.core.definition.BeanDefinition.toString.<anonymous>' call
|
|
173
|
-
this_0.q8(_Char___init__impl__6a9atx(91));
|
|
174
|
-
this_0.o8(this.k58_1);
|
|
175
|
-
this_0.p8(": '");
|
|
176
|
-
this_0.p8(getFullName(this.h58_1));
|
|
177
|
-
this_0.q8(_Char___init__impl__6a9atx(39));
|
|
178
|
-
if (!(this.i58_1 == null)) {
|
|
179
|
-
this_0.p8(',qualifier:');
|
|
180
|
-
this_0.o8(this.i58_1);
|
|
181
|
-
}
|
|
182
|
-
if (!equals(this.g58_1, Companion_getInstance_2().p58_1)) {
|
|
183
|
-
this_0.p8(',scope:');
|
|
184
|
-
this_0.o8(this.g58_1);
|
|
185
|
-
}
|
|
186
|
-
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
187
|
-
if (!this.l58_1.h()) {
|
|
188
|
-
this_0.p8(',binds:');
|
|
189
|
-
var tmp = this.l58_1;
|
|
190
|
-
joinTo(tmp, this_0, ',', VOID, VOID, VOID, VOID, BeanDefinition$toString$lambda);
|
|
191
|
-
}
|
|
192
|
-
this_0.q8(_Char___init__impl__6a9atx(93));
|
|
193
|
-
return this_0.toString();
|
|
194
|
-
};
|
|
195
|
-
protoOf(BeanDefinition).equals = function (other) {
|
|
196
|
-
if (this === other)
|
|
197
|
-
return true;
|
|
198
|
-
if (!(other instanceof BeanDefinition))
|
|
199
|
-
THROW_CCE();
|
|
200
|
-
if (!this.h58_1.equals(other.h58_1))
|
|
201
|
-
return false;
|
|
202
|
-
if (!equals(this.i58_1, other.i58_1))
|
|
203
|
-
return false;
|
|
204
|
-
if (!equals(this.g58_1, other.g58_1))
|
|
205
|
-
return false;
|
|
206
|
-
return true;
|
|
207
|
-
};
|
|
208
|
-
protoOf(BeanDefinition).hashCode = function () {
|
|
209
|
-
var tmp0_safe_receiver = this.i58_1;
|
|
210
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
211
|
-
var result = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
212
|
-
result = imul(31, result) + this.h58_1.hashCode() | 0;
|
|
213
|
-
result = imul(31, result) + hashCode(this.g58_1) | 0;
|
|
214
|
-
return result;
|
|
215
|
-
};
|
|
216
|
-
var Kind_Singleton_instance;
|
|
217
|
-
var Kind_Factory_instance;
|
|
218
|
-
var Kind_Scoped_instance;
|
|
219
|
-
var Kind_entriesInitialized;
|
|
220
|
-
function Kind_initEntries() {
|
|
221
|
-
if (Kind_entriesInitialized)
|
|
222
|
-
return Unit_instance;
|
|
223
|
-
Kind_entriesInitialized = true;
|
|
224
|
-
Kind_Singleton_instance = new Kind('Singleton', 0);
|
|
225
|
-
Kind_Factory_instance = new Kind('Factory', 1);
|
|
226
|
-
Kind_Scoped_instance = new Kind('Scoped', 2);
|
|
227
|
-
}
|
|
228
|
-
function Kind(name, ordinal) {
|
|
229
|
-
Enum.call(this, name, ordinal);
|
|
230
|
-
}
|
|
231
|
-
function Kind_Singleton_getInstance() {
|
|
232
|
-
Kind_initEntries();
|
|
233
|
-
return Kind_Singleton_instance;
|
|
234
|
-
}
|
|
235
|
-
function Callbacks(onClose) {
|
|
236
|
-
onClose = onClose === VOID ? null : onClose;
|
|
237
|
-
this.q58_1 = onClose;
|
|
238
|
-
}
|
|
239
|
-
protoOf(Callbacks).toString = function () {
|
|
240
|
-
return 'Callbacks(onClose=' + toString(this.q58_1) + ')';
|
|
241
|
-
};
|
|
242
|
-
protoOf(Callbacks).hashCode = function () {
|
|
243
|
-
return this.q58_1 == null ? 0 : hashCode(this.q58_1);
|
|
244
|
-
};
|
|
245
|
-
protoOf(Callbacks).equals = function (other) {
|
|
246
|
-
if (this === other)
|
|
247
|
-
return true;
|
|
248
|
-
if (!(other instanceof Callbacks))
|
|
249
|
-
return false;
|
|
250
|
-
var tmp0_other_with_cast = other instanceof Callbacks ? other : THROW_CCE();
|
|
251
|
-
if (!equals(this.q58_1, tmp0_other_with_cast.q58_1))
|
|
252
|
-
return false;
|
|
253
|
-
return true;
|
|
254
|
-
};
|
|
255
|
-
function KoinDefinition(module_0, factory) {
|
|
256
|
-
this.r58_1 = module_0;
|
|
257
|
-
this.s58_1 = factory;
|
|
258
|
-
}
|
|
259
|
-
protoOf(KoinDefinition).toString = function () {
|
|
260
|
-
return 'KoinDefinition(module=' + toString_0(this.r58_1) + ', factory=' + toString_0(this.s58_1) + ')';
|
|
261
|
-
};
|
|
262
|
-
protoOf(KoinDefinition).hashCode = function () {
|
|
263
|
-
var result = this.r58_1.hashCode();
|
|
264
|
-
result = imul(result, 31) + hashCode(this.s58_1) | 0;
|
|
265
|
-
return result;
|
|
266
|
-
};
|
|
267
|
-
protoOf(KoinDefinition).equals = function (other) {
|
|
268
|
-
if (this === other)
|
|
269
|
-
return true;
|
|
270
|
-
if (!(other instanceof KoinDefinition))
|
|
271
|
-
return false;
|
|
272
|
-
var tmp0_other_with_cast = other instanceof KoinDefinition ? other : THROW_CCE();
|
|
273
|
-
if (!this.r58_1.equals(tmp0_other_with_cast.r58_1))
|
|
274
|
-
return false;
|
|
275
|
-
if (!equals(this.s58_1, tmp0_other_with_cast.s58_1))
|
|
276
|
-
return false;
|
|
277
|
-
return true;
|
|
278
|
-
};
|
|
279
|
-
function ClosedScopeException(msg) {
|
|
280
|
-
Exception_init_$Init$(msg, this);
|
|
281
|
-
captureStack(this, ClosedScopeException);
|
|
282
|
-
}
|
|
283
|
-
function DefinitionOverrideException(msg) {
|
|
284
|
-
Exception_init_$Init$(msg, this);
|
|
285
|
-
captureStack(this, DefinitionOverrideException);
|
|
286
|
-
}
|
|
287
|
-
function InstanceCreationException(msg, parent) {
|
|
288
|
-
Exception_init_$Init$_0(msg, parent, this);
|
|
289
|
-
captureStack(this, InstanceCreationException);
|
|
290
|
-
}
|
|
291
|
-
function KoinApplicationAlreadyStartedException(msg) {
|
|
292
|
-
Exception_init_$Init$(msg, this);
|
|
293
|
-
captureStack(this, KoinApplicationAlreadyStartedException);
|
|
294
|
-
}
|
|
295
|
-
function NoDefinitionFoundException(msg) {
|
|
296
|
-
Exception_init_$Init$(msg, this);
|
|
297
|
-
captureStack(this, NoDefinitionFoundException);
|
|
298
|
-
}
|
|
299
|
-
function ExtensionManager(_koin) {
|
|
300
|
-
this.t58_1 = _koin;
|
|
301
|
-
var tmp = this;
|
|
302
|
-
// Inline function 'kotlin.collections.hashMapOf' call
|
|
303
|
-
tmp.u58_1 = HashMap_init_$Create$();
|
|
304
|
-
}
|
|
305
|
-
function Companion_0() {
|
|
306
|
-
this.v58_1 = '\n\t';
|
|
307
|
-
}
|
|
308
|
-
var Companion_instance_0;
|
|
309
|
-
function Companion_getInstance_1() {
|
|
310
|
-
return Companion_instance_0;
|
|
311
|
-
}
|
|
312
|
-
function InstanceFactory(beanDefinition) {
|
|
313
|
-
this.w58_1 = beanDefinition;
|
|
314
|
-
}
|
|
315
|
-
protoOf(InstanceFactory).y58 = function (context) {
|
|
316
|
-
context.z58_1.w57("| (+) '" + this.w58_1.toString() + "'");
|
|
317
|
-
try {
|
|
318
|
-
var tmp0_elvis_lhs = context.d59_1;
|
|
319
|
-
var parameters = tmp0_elvis_lhs == null ? emptyParametersHolder() : tmp0_elvis_lhs;
|
|
320
|
-
return this.w58_1.j58_1(context.a59_1, parameters);
|
|
321
|
-
} catch ($p) {
|
|
322
|
-
if ($p instanceof Exception) {
|
|
323
|
-
var e = $p;
|
|
324
|
-
var stack = KoinPlatformTools_instance.f59(e);
|
|
325
|
-
context.z58_1.g59("* Instance creation error : could not create instance for '" + this.w58_1.toString() + "': " + stack);
|
|
326
|
-
throw new InstanceCreationException("Could not create instance for '" + this.w58_1.toString() + "'", e);
|
|
327
|
-
} else {
|
|
328
|
-
throw $p;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
function ResolutionContext(logger, scope, clazz, qualifier, parameters) {
|
|
333
|
-
qualifier = qualifier === VOID ? null : qualifier;
|
|
334
|
-
parameters = parameters === VOID ? null : parameters;
|
|
335
|
-
this.z58_1 = logger;
|
|
336
|
-
this.a59_1 = scope;
|
|
337
|
-
this.b59_1 = clazz;
|
|
338
|
-
this.c59_1 = qualifier;
|
|
339
|
-
this.d59_1 = parameters;
|
|
340
|
-
this.e59_1 = "t:'" + getFullName(this.b59_1) + "' - q:'" + toString(this.c59_1) + "'";
|
|
341
|
-
}
|
|
342
|
-
function NoClass() {
|
|
343
|
-
}
|
|
344
|
-
function getValue($this) {
|
|
345
|
-
var tmp0_elvis_lhs = $this.i59_1;
|
|
346
|
-
var tmp;
|
|
347
|
-
if (tmp0_elvis_lhs == null) {
|
|
348
|
-
var message = "Single instance created couldn't return value";
|
|
349
|
-
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
350
|
-
} else {
|
|
351
|
-
tmp = tmp0_elvis_lhs;
|
|
352
|
-
}
|
|
353
|
-
return tmp;
|
|
354
|
-
}
|
|
355
|
-
function SingleInstanceFactory$get$lambda(this$0, $context) {
|
|
356
|
-
return function () {
|
|
357
|
-
var tmp;
|
|
358
|
-
if (!this$0.j59($context)) {
|
|
359
|
-
this$0.i59_1 = this$0.y58($context);
|
|
360
|
-
tmp = Unit_instance;
|
|
361
|
-
}
|
|
362
|
-
return Unit_instance;
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
function SingleInstanceFactory(beanDefinition) {
|
|
366
|
-
InstanceFactory.call(this, beanDefinition);
|
|
367
|
-
this.i59_1 = null;
|
|
368
|
-
}
|
|
369
|
-
protoOf(SingleInstanceFactory).j59 = function (context) {
|
|
370
|
-
return !(this.i59_1 == null);
|
|
371
|
-
};
|
|
372
|
-
protoOf(SingleInstanceFactory).y58 = function (context) {
|
|
373
|
-
var tmp;
|
|
374
|
-
if (this.i59_1 == null) {
|
|
375
|
-
tmp = protoOf(InstanceFactory).y58.call(this, context);
|
|
376
|
-
} else {
|
|
377
|
-
tmp = getValue(this);
|
|
378
|
-
}
|
|
379
|
-
return tmp;
|
|
380
|
-
};
|
|
381
|
-
protoOf(SingleInstanceFactory).x58 = function (context) {
|
|
382
|
-
var tmp = KoinPlatformTools_instance;
|
|
383
|
-
tmp.k59(this, SingleInstanceFactory$get$lambda(this, context));
|
|
384
|
-
return getValue(this);
|
|
385
|
-
};
|
|
386
|
-
function EmptyLogger() {
|
|
387
|
-
Logger.call(this, Level_NONE_getInstance());
|
|
388
|
-
}
|
|
389
|
-
protoOf(EmptyLogger).d58 = function (level, msg) {
|
|
390
|
-
};
|
|
391
|
-
function Logger(level) {
|
|
392
|
-
level = level === VOID ? Level_INFO_getInstance() : level;
|
|
393
|
-
this.v57_1 = level;
|
|
394
|
-
}
|
|
395
|
-
protoOf(Logger).w57 = function (msg) {
|
|
396
|
-
this.n59(Level_DEBUG_getInstance(), msg);
|
|
397
|
-
};
|
|
398
|
-
protoOf(Logger).m59 = function (msg) {
|
|
399
|
-
this.n59(Level_WARNING_getInstance(), msg);
|
|
400
|
-
};
|
|
401
|
-
protoOf(Logger).g59 = function (msg) {
|
|
402
|
-
this.n59(Level_ERROR_getInstance(), msg);
|
|
403
|
-
};
|
|
404
|
-
protoOf(Logger).n59 = function (lvl, msg) {
|
|
405
|
-
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
406
|
-
if (this.v57_1.u2(lvl) <= 0) {
|
|
407
|
-
this.d58(lvl, msg);
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
var Level_DEBUG_instance;
|
|
411
|
-
var Level_INFO_instance;
|
|
412
|
-
var Level_WARNING_instance;
|
|
413
|
-
var Level_ERROR_instance;
|
|
414
|
-
var Level_NONE_instance;
|
|
415
|
-
var Level_entriesInitialized;
|
|
416
|
-
function Level_initEntries() {
|
|
417
|
-
if (Level_entriesInitialized)
|
|
418
|
-
return Unit_instance;
|
|
419
|
-
Level_entriesInitialized = true;
|
|
420
|
-
Level_DEBUG_instance = new Level('DEBUG', 0);
|
|
421
|
-
Level_INFO_instance = new Level('INFO', 1);
|
|
422
|
-
Level_WARNING_instance = new Level('WARNING', 2);
|
|
423
|
-
Level_ERROR_instance = new Level('ERROR', 3);
|
|
424
|
-
Level_NONE_instance = new Level('NONE', 4);
|
|
425
|
-
}
|
|
426
|
-
function Level(name, ordinal) {
|
|
427
|
-
Enum.call(this, name, ordinal);
|
|
428
|
-
}
|
|
429
|
-
function Level_DEBUG_getInstance() {
|
|
430
|
-
Level_initEntries();
|
|
431
|
-
return Level_DEBUG_instance;
|
|
432
|
-
}
|
|
433
|
-
function Level_INFO_getInstance() {
|
|
434
|
-
Level_initEntries();
|
|
435
|
-
return Level_INFO_instance;
|
|
436
|
-
}
|
|
437
|
-
function Level_WARNING_getInstance() {
|
|
438
|
-
Level_initEntries();
|
|
439
|
-
return Level_WARNING_instance;
|
|
440
|
-
}
|
|
441
|
-
function Level_ERROR_getInstance() {
|
|
442
|
-
Level_initEntries();
|
|
443
|
-
return Level_ERROR_instance;
|
|
444
|
-
}
|
|
445
|
-
function Level_NONE_getInstance() {
|
|
446
|
-
Level_initEntries();
|
|
447
|
-
return Level_NONE_instance;
|
|
448
|
-
}
|
|
449
|
-
function Module(_createdAtStart) {
|
|
450
|
-
_createdAtStart = _createdAtStart === VOID ? false : _createdAtStart;
|
|
451
|
-
this.o59_1 = _createdAtStart;
|
|
452
|
-
this.p59_1 = generateId(KoinPlatformTools_instance);
|
|
453
|
-
this.q59_1 = LinkedHashSet_init_$Create$();
|
|
454
|
-
this.r59_1 = LinkedHashMap_init_$Create$();
|
|
455
|
-
this.s59_1 = LinkedHashSet_init_$Create$();
|
|
456
|
-
var tmp = this;
|
|
457
|
-
// Inline function 'kotlin.collections.mutableListOf' call
|
|
458
|
-
tmp.t59_1 = ArrayList_init_$Create$();
|
|
459
|
-
}
|
|
460
|
-
protoOf(Module).u59 = function (instanceFactory) {
|
|
461
|
-
var def = instanceFactory.w58_1;
|
|
462
|
-
var tmp0 = def.h58_1;
|
|
463
|
-
var tmp1 = def.i58_1;
|
|
464
|
-
// Inline function 'org.koin.core.definition.indexKey' call
|
|
465
|
-
var scopeQualifier = def.g58_1;
|
|
466
|
-
// Inline function 'kotlin.text.buildString' call
|
|
467
|
-
// Inline function 'kotlin.apply' call
|
|
468
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
469
|
-
// Inline function 'org.koin.core.definition.indexKey.<anonymous>' call
|
|
470
|
-
this_0.p8(getFullName(tmp0));
|
|
471
|
-
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
472
|
-
var tmp1_elvis_lhs = tmp1 == null ? null : tmp1.z();
|
|
473
|
-
this_0.p8(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
474
|
-
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
475
|
-
this_0.o8(scopeQualifier);
|
|
476
|
-
var mapping = this_0.toString();
|
|
477
|
-
this.v59(mapping, instanceFactory);
|
|
478
|
-
};
|
|
479
|
-
protoOf(Module).w59 = function (instanceFactory) {
|
|
480
|
-
this.q59_1.k(instanceFactory);
|
|
481
|
-
};
|
|
482
|
-
protoOf(Module).v59 = function (mapping, factory) {
|
|
483
|
-
// Inline function 'kotlin.collections.set' call
|
|
484
|
-
this.r59_1.n2(mapping, factory);
|
|
485
|
-
};
|
|
486
|
-
protoOf(Module).equals = function (other) {
|
|
487
|
-
if (this === other)
|
|
488
|
-
return true;
|
|
489
|
-
if (!(other instanceof Module))
|
|
490
|
-
return false;
|
|
491
|
-
return this.p59_1 === other.p59_1;
|
|
492
|
-
};
|
|
493
|
-
protoOf(Module).hashCode = function () {
|
|
494
|
-
return getStringHashCode(this.p59_1);
|
|
495
|
-
};
|
|
496
|
-
function flatten(modules) {
|
|
497
|
-
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
498
|
-
var flatten = LinkedHashSet_init_$Create$();
|
|
499
|
-
var stack = ArrayDeque_init_$Create$(asReversed(modules));
|
|
500
|
-
$l$loop_0: while (true) {
|
|
501
|
-
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
502
|
-
if (!!stack.h()) {
|
|
503
|
-
break $l$loop_0;
|
|
504
|
-
}
|
|
505
|
-
var current = stack.tf();
|
|
506
|
-
if (!flatten.k(current)) {
|
|
507
|
-
continue $l$loop_0;
|
|
508
|
-
}
|
|
509
|
-
var _iterator__ex2g4s = current.t59_1.p();
|
|
510
|
-
while (_iterator__ex2g4s.q()) {
|
|
511
|
-
var module_0 = _iterator__ex2g4s.r();
|
|
512
|
-
if (!flatten.x1(module_0)) {
|
|
513
|
-
// Inline function 'kotlin.collections.plusAssign' call
|
|
514
|
-
stack.k(module_0);
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
return flatten;
|
|
519
|
-
}
|
|
520
|
-
function overrideError(factory, mapping) {
|
|
521
|
-
throw new DefinitionOverrideException('Already existing definition for ' + factory.w58_1.toString() + ' at ' + mapping);
|
|
522
|
-
}
|
|
523
|
-
function getFirstValue($this, clazz) {
|
|
524
|
-
var tmp0 = $this.x59_1;
|
|
525
|
-
var tmp$ret$1;
|
|
526
|
-
$l$block: {
|
|
527
|
-
// Inline function 'kotlin.collections.firstOrNull' call
|
|
528
|
-
var _iterator__ex2g4s = tmp0.p();
|
|
529
|
-
while (_iterator__ex2g4s.q()) {
|
|
530
|
-
var element = _iterator__ex2g4s.r();
|
|
531
|
-
// Inline function 'org.koin.core.parameter.ParametersHolder.getFirstValue.<anonymous>' call
|
|
532
|
-
if (clazz.fb(element)) {
|
|
533
|
-
tmp$ret$1 = element;
|
|
534
|
-
break $l$block;
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
tmp$ret$1 = null;
|
|
538
|
-
}
|
|
539
|
-
var tmp = tmp$ret$1;
|
|
540
|
-
return (tmp == null ? true : !(tmp == null)) ? tmp : null;
|
|
541
|
-
}
|
|
542
|
-
function getIndexedValue($this, clazz) {
|
|
543
|
-
// Inline function 'kotlin.takeIf' call
|
|
544
|
-
var this_0 = $this.x59_1.u($this.z59_1);
|
|
545
|
-
var tmp;
|
|
546
|
-
// Inline function 'org.koin.core.parameter.ParametersHolder.getIndexedValue.<anonymous>' call
|
|
547
|
-
if (clazz.fb(this_0)) {
|
|
548
|
-
tmp = this_0;
|
|
549
|
-
} else {
|
|
550
|
-
tmp = null;
|
|
551
|
-
}
|
|
552
|
-
var tmp_0 = tmp;
|
|
553
|
-
var currentValue = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : null;
|
|
554
|
-
if (!(currentValue == null)) {
|
|
555
|
-
$this.a5a();
|
|
556
|
-
}
|
|
557
|
-
return currentValue;
|
|
558
|
-
}
|
|
559
|
-
function ParametersHolder(_values, useIndexedValues) {
|
|
560
|
-
var tmp;
|
|
561
|
-
if (_values === VOID) {
|
|
562
|
-
// Inline function 'kotlin.collections.mutableListOf' call
|
|
563
|
-
tmp = ArrayList_init_$Create$();
|
|
564
|
-
} else {
|
|
565
|
-
tmp = _values;
|
|
566
|
-
}
|
|
567
|
-
_values = tmp;
|
|
568
|
-
useIndexedValues = useIndexedValues === VOID ? null : useIndexedValues;
|
|
569
|
-
this.x59_1 = _values;
|
|
570
|
-
this.y59_1 = useIndexedValues;
|
|
571
|
-
this.z59_1 = 0;
|
|
572
|
-
}
|
|
573
|
-
protoOf(ParametersHolder).b5a = function (clazz) {
|
|
574
|
-
var tmp;
|
|
575
|
-
if (this.x59_1.h()) {
|
|
576
|
-
tmp = null;
|
|
577
|
-
} else {
|
|
578
|
-
var tmp_0;
|
|
579
|
-
switch (this.y59_1) {
|
|
580
|
-
case null:
|
|
581
|
-
var tmp1_elvis_lhs = getIndexedValue(this, clazz);
|
|
582
|
-
tmp_0 = tmp1_elvis_lhs == null ? getFirstValue(this, clazz) : tmp1_elvis_lhs;
|
|
583
|
-
break;
|
|
584
|
-
case true:
|
|
585
|
-
tmp_0 = getIndexedValue(this, clazz);
|
|
586
|
-
break;
|
|
587
|
-
default:
|
|
588
|
-
tmp_0 = getFirstValue(this, clazz);
|
|
589
|
-
break;
|
|
590
|
-
}
|
|
591
|
-
tmp = tmp_0;
|
|
592
|
-
}
|
|
593
|
-
return tmp;
|
|
594
|
-
};
|
|
595
|
-
protoOf(ParametersHolder).a5a = function () {
|
|
596
|
-
if (this.z59_1 < get_lastIndex(this.x59_1)) {
|
|
597
|
-
this.z59_1 = this.z59_1 + 1 | 0;
|
|
598
|
-
}
|
|
599
|
-
};
|
|
600
|
-
protoOf(ParametersHolder).toString = function () {
|
|
601
|
-
return 'DefinitionParameters' + toString_0(toList(this.x59_1));
|
|
602
|
-
};
|
|
603
|
-
function emptyParametersHolder() {
|
|
604
|
-
return new ParametersHolder();
|
|
605
|
-
}
|
|
606
|
-
function _q(name) {
|
|
607
|
-
return new StringQualifier(name);
|
|
608
|
-
}
|
|
609
|
-
function StringQualifier(value) {
|
|
610
|
-
this.c5a_1 = value;
|
|
611
|
-
}
|
|
612
|
-
protoOf(StringQualifier).z = function () {
|
|
613
|
-
return this.c5a_1;
|
|
614
|
-
};
|
|
615
|
-
protoOf(StringQualifier).toString = function () {
|
|
616
|
-
return this.c5a_1;
|
|
617
|
-
};
|
|
618
|
-
protoOf(StringQualifier).hashCode = function () {
|
|
619
|
-
return getStringHashCode(this.c5a_1);
|
|
620
|
-
};
|
|
621
|
-
protoOf(StringQualifier).equals = function (other) {
|
|
622
|
-
if (this === other)
|
|
623
|
-
return true;
|
|
624
|
-
if (!(other instanceof StringQualifier))
|
|
625
|
-
return false;
|
|
626
|
-
var tmp0_other_with_cast = other instanceof StringQualifier ? other : THROW_CCE();
|
|
627
|
-
if (!(this.c5a_1 === tmp0_other_with_cast.c5a_1))
|
|
628
|
-
return false;
|
|
629
|
-
return true;
|
|
630
|
-
};
|
|
631
|
-
function addAllEagerInstances($this, module_0) {
|
|
632
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
633
|
-
var _iterator__ex2g4s = module_0.q59_1.p();
|
|
634
|
-
while (_iterator__ex2g4s.q()) {
|
|
635
|
-
var element = _iterator__ex2g4s.r();
|
|
636
|
-
// Inline function 'org.koin.core.registry.InstanceRegistry.addAllEagerInstances.<anonymous>' call
|
|
637
|
-
var tmp0 = $this.n57_1;
|
|
638
|
-
// Inline function 'kotlin.collections.set' call
|
|
639
|
-
var key = element.w58_1.hashCode();
|
|
640
|
-
tmp0.n2(key, element);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
function loadModule($this, module_0, allowOverride) {
|
|
644
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
645
|
-
// Inline function 'kotlin.collections.iterator' call
|
|
646
|
-
var _iterator__ex2g4s = module_0.r59_1.x().p();
|
|
647
|
-
while (_iterator__ex2g4s.q()) {
|
|
648
|
-
var element = _iterator__ex2g4s.r();
|
|
649
|
-
// Inline function 'org.koin.core.registry.InstanceRegistry.loadModule.<anonymous>' call
|
|
650
|
-
// Inline function 'kotlin.collections.component1' call
|
|
651
|
-
var mapping = element.y();
|
|
652
|
-
// Inline function 'kotlin.collections.component2' call
|
|
653
|
-
var factory = element.z();
|
|
654
|
-
$this.d5a(allowOverride, mapping, factory);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
function createEagerInstances($this, instances) {
|
|
658
|
-
var defaultContext = new ResolutionContext($this.l57_1.j57_1, $this.l57_1.f57_1.s57_1, getKClass(NoClass));
|
|
659
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
660
|
-
var _iterator__ex2g4s = instances.p();
|
|
661
|
-
while (_iterator__ex2g4s.q()) {
|
|
662
|
-
var element = _iterator__ex2g4s.r();
|
|
663
|
-
// Inline function 'org.koin.core.registry.InstanceRegistry.createEagerInstances.<anonymous>' call
|
|
664
|
-
element.x58(defaultContext);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
function InstanceRegistry(_koin) {
|
|
668
|
-
this.l57_1 = _koin;
|
|
669
|
-
this.m57_1 = KoinPlatformTools_instance.e5a();
|
|
670
|
-
this.n57_1 = KoinPlatformTools_instance.e5a();
|
|
671
|
-
}
|
|
672
|
-
protoOf(InstanceRegistry).o57 = function (modules, allowOverride) {
|
|
673
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
674
|
-
var _iterator__ex2g4s = modules.p();
|
|
675
|
-
while (_iterator__ex2g4s.q()) {
|
|
676
|
-
var element = _iterator__ex2g4s.r();
|
|
677
|
-
// Inline function 'org.koin.core.registry.InstanceRegistry.loadModules.<anonymous>' call
|
|
678
|
-
loadModule(this, element, allowOverride);
|
|
679
|
-
addAllEagerInstances(this, element);
|
|
680
|
-
}
|
|
681
|
-
};
|
|
682
|
-
protoOf(InstanceRegistry).x57 = function () {
|
|
683
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
684
|
-
var this_0 = this.n57_1.m2();
|
|
685
|
-
var tmp$ret$0 = copyToArray(this_0);
|
|
686
|
-
var instances = arrayListOf(tmp$ret$0.slice());
|
|
687
|
-
this.n57_1.e2();
|
|
688
|
-
createEagerInstances(this, instances);
|
|
689
|
-
};
|
|
690
|
-
protoOf(InstanceRegistry).f5a = function (allowOverride, mapping, factory, logWarning) {
|
|
691
|
-
if (this.m57_1.k2(mapping) == null)
|
|
692
|
-
null;
|
|
693
|
-
else {
|
|
694
|
-
// Inline function 'kotlin.let' call
|
|
695
|
-
// Inline function 'org.koin.core.registry.InstanceRegistry.saveMapping.<anonymous>' call
|
|
696
|
-
if (!allowOverride) {
|
|
697
|
-
overrideError(factory, mapping);
|
|
698
|
-
} else if (logWarning) {
|
|
699
|
-
this.l57_1.j57_1.m59("(+) override index '" + mapping + "' -> '" + factory.w58_1.toString() + "'");
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
this.l57_1.j57_1.w57("(+) index '" + mapping + "' -> '" + factory.w58_1.toString() + "'");
|
|
703
|
-
// Inline function 'kotlin.collections.set' call
|
|
704
|
-
this.m57_1.n2(mapping, factory);
|
|
705
|
-
};
|
|
706
|
-
protoOf(InstanceRegistry).d5a = function (allowOverride, mapping, factory, logWarning, $super) {
|
|
707
|
-
logWarning = logWarning === VOID ? true : logWarning;
|
|
708
|
-
var tmp;
|
|
709
|
-
if ($super === VOID) {
|
|
710
|
-
this.f5a(allowOverride, mapping, factory, logWarning);
|
|
711
|
-
tmp = Unit_instance;
|
|
712
|
-
} else {
|
|
713
|
-
tmp = $super.f5a.call(this, allowOverride, mapping, factory, logWarning);
|
|
714
|
-
}
|
|
715
|
-
return tmp;
|
|
716
|
-
};
|
|
717
|
-
protoOf(InstanceRegistry).g5a = function (clazz, qualifier, scopeQualifier) {
|
|
718
|
-
// Inline function 'org.koin.core.definition.indexKey' call
|
|
719
|
-
// Inline function 'kotlin.text.buildString' call
|
|
720
|
-
// Inline function 'kotlin.apply' call
|
|
721
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
722
|
-
// Inline function 'org.koin.core.definition.indexKey.<anonymous>' call
|
|
723
|
-
this_0.p8(getFullName(clazz));
|
|
724
|
-
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
725
|
-
var tmp1_elvis_lhs = qualifier == null ? null : qualifier.z();
|
|
726
|
-
this_0.p8(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
727
|
-
this_0.q8(_Char___init__impl__6a9atx(58));
|
|
728
|
-
this_0.o8(scopeQualifier);
|
|
729
|
-
var indexKey = this_0.toString();
|
|
730
|
-
return this.m57_1.k2(indexKey);
|
|
731
|
-
};
|
|
732
|
-
protoOf(InstanceRegistry).h5a = function (qualifier, clazz, scopeQualifier, instanceContext) {
|
|
733
|
-
var tmp0_safe_receiver = this.g5a(clazz, qualifier, scopeQualifier);
|
|
734
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x58(instanceContext);
|
|
735
|
-
return (tmp == null ? true : !(tmp == null)) ? tmp : null;
|
|
736
|
-
};
|
|
737
|
-
protoOf(InstanceRegistry).c58 = function () {
|
|
738
|
-
return this.m57_1.s();
|
|
739
|
-
};
|
|
740
|
-
function PropertyRegistry(_koin) {
|
|
741
|
-
this.i5a_1 = _koin;
|
|
742
|
-
this.j5a_1 = KoinPlatformTools_instance.e5a();
|
|
743
|
-
}
|
|
744
|
-
function loadModule_0($this, module_0) {
|
|
745
|
-
$this.q57_1.t(module_0.s59_1);
|
|
746
|
-
}
|
|
747
|
-
function Companion_1() {
|
|
748
|
-
Companion_instance_1 = this;
|
|
749
|
-
this.o58_1 = '_root_';
|
|
750
|
-
this.p58_1 = _q('_root_');
|
|
751
|
-
}
|
|
752
|
-
var Companion_instance_1;
|
|
753
|
-
function Companion_getInstance_2() {
|
|
754
|
-
if (Companion_instance_1 == null)
|
|
755
|
-
new Companion_1();
|
|
756
|
-
return Companion_instance_1;
|
|
757
|
-
}
|
|
758
|
-
function ScopeRegistry(_koin) {
|
|
759
|
-
Companion_getInstance_2();
|
|
760
|
-
this.p57_1 = _koin;
|
|
761
|
-
this.q57_1 = KoinPlatformTools_instance.k5a();
|
|
762
|
-
this.r57_1 = KoinPlatformTools_instance.e5a();
|
|
763
|
-
this.s57_1 = new Scope(Companion_getInstance_2().p58_1, '_root_', true, this.p57_1);
|
|
764
|
-
this.q57_1.k(this.s57_1.l5a_1);
|
|
765
|
-
var tmp0 = this.r57_1;
|
|
766
|
-
var tmp1 = this.s57_1.m5a_1;
|
|
767
|
-
// Inline function 'kotlin.collections.set' call
|
|
768
|
-
var value = this.s57_1;
|
|
769
|
-
tmp0.n2(tmp1, value);
|
|
770
|
-
}
|
|
771
|
-
protoOf(ScopeRegistry).t57 = function (modules) {
|
|
772
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
773
|
-
var _iterator__ex2g4s = modules.p();
|
|
774
|
-
while (_iterator__ex2g4s.q()) {
|
|
775
|
-
var element = _iterator__ex2g4s.r();
|
|
776
|
-
// Inline function 'org.koin.core.registry.ScopeRegistry.loadScopes.<anonymous>' call
|
|
777
|
-
loadModule_0(this, element);
|
|
778
|
-
}
|
|
779
|
-
};
|
|
780
|
-
function get($this, clazz, qualifier, parameters) {
|
|
781
|
-
return resolveWithOptionalLogging($this, clazz, qualifier, parameters);
|
|
782
|
-
}
|
|
783
|
-
function resolveWithOptionalLogging($this, clazz, qualifier, parameters) {
|
|
784
|
-
var tmp0 = $this.o5a_1.j57_1;
|
|
785
|
-
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
786
|
-
var lvl = Level_DEBUG_getInstance();
|
|
787
|
-
if (!(tmp0.v57_1.u2(lvl) <= 0)) {
|
|
788
|
-
return resolveInstance($this, qualifier, clazz, parameters);
|
|
789
|
-
}
|
|
790
|
-
// Inline function 'org.koin.core.scope.Scope.logInstanceRequest' call
|
|
791
|
-
var tmp;
|
|
792
|
-
if (qualifier == null) {
|
|
793
|
-
tmp = null;
|
|
794
|
-
} else {
|
|
795
|
-
// Inline function 'kotlin.let' call
|
|
796
|
-
// Inline function 'org.koin.core.scope.Scope.logInstanceRequest.<anonymous>' call
|
|
797
|
-
tmp = " with qualifier '" + toString(qualifier) + "'";
|
|
798
|
-
}
|
|
799
|
-
var tmp1_elvis_lhs = tmp;
|
|
800
|
-
var qualifierString = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
801
|
-
var scopeId = $this.n5a_1 ? '' : " - scope:'" + $this.m5a_1 + "'";
|
|
802
|
-
$this.o5a_1.j57_1.d58(Level_DEBUG_getInstance(), "|- '" + getFullName(clazz) + "'" + qualifierString + scopeId + '...');
|
|
803
|
-
// Inline function 'kotlin.time.measureTimedValue' call
|
|
804
|
-
// Inline function 'kotlin.time.measureTimedValue' call
|
|
805
|
-
var mark = Monotonic_instance.le();
|
|
806
|
-
// Inline function 'org.koin.core.scope.Scope.resolveWithOptionalLogging.<anonymous>' call
|
|
807
|
-
var result = resolveInstance($this, qualifier, clazz, parameters);
|
|
808
|
-
var result_0 = new TimedValue(result, ValueTimeMark__elapsedNow_impl_eonqvs(mark));
|
|
809
|
-
// Inline function 'org.koin.core.scope.Scope.logInstanceDuration' call
|
|
810
|
-
var duration = result_0.kk_1;
|
|
811
|
-
$this.o5a_1.j57_1.d58(Level_DEBUG_getInstance(), "|- '" + getFullName(clazz) + "' in " + get_inMs(duration) + ' ms');
|
|
812
|
-
return result_0.jk_1;
|
|
813
|
-
}
|
|
814
|
-
function resolveInstance($this, qualifier, clazz, parameters) {
|
|
815
|
-
// Inline function 'org.koin.core.scope.Scope.checkScopeIsOpen' call
|
|
816
|
-
if ($this.t5a_1) {
|
|
817
|
-
throw new ClosedScopeException("Scope '" + $this.m5a_1 + "' is closed");
|
|
818
|
-
}
|
|
819
|
-
var instanceContext = new ResolutionContext($this.o5a_1.j57_1, $this, clazz, qualifier, parameters);
|
|
820
|
-
return stackParametersCall($this, parameters, instanceContext);
|
|
821
|
-
}
|
|
822
|
-
function stackParametersCall($this, parameters, instanceContext) {
|
|
823
|
-
if (parameters == null) {
|
|
824
|
-
return resolveFromContext($this, instanceContext);
|
|
825
|
-
}
|
|
826
|
-
var tmp0 = $this.o5a_1.j57_1;
|
|
827
|
-
// Inline function 'org.koin.core.logger.Logger.log' call
|
|
828
|
-
var lvl = Level_DEBUG_getInstance();
|
|
829
|
-
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
830
|
-
if (tmp0.v57_1.u2(lvl) <= 0) {
|
|
831
|
-
// Inline function 'org.koin.core.scope.Scope.stackParametersCall.<anonymous>' call
|
|
832
|
-
var tmp$ret$1 = '| >> parameters ' + toString(parameters);
|
|
833
|
-
tmp0.d58(lvl, tmp$ret$1);
|
|
834
|
-
}
|
|
835
|
-
var stack = onParameterOnStack($this, parameters);
|
|
836
|
-
try {
|
|
837
|
-
return resolveFromContext($this, instanceContext);
|
|
838
|
-
}finally {
|
|
839
|
-
$this.o5a_1.j57_1.w57('| << parameters');
|
|
840
|
-
clearParameterStack($this, stack);
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
function onParameterOnStack($this, parameters) {
|
|
844
|
-
var stack = getOrCreateParameterStack($this);
|
|
845
|
-
stack.pf(parameters);
|
|
846
|
-
return stack;
|
|
847
|
-
}
|
|
848
|
-
function clearParameterStack($this, stack) {
|
|
849
|
-
stack.sf();
|
|
850
|
-
if (stack.h()) {
|
|
851
|
-
var tmp0_safe_receiver = $this.s5a_1;
|
|
852
|
-
if (tmp0_safe_receiver == null)
|
|
853
|
-
null;
|
|
854
|
-
else {
|
|
855
|
-
tmp0_safe_receiver.p4();
|
|
856
|
-
}
|
|
857
|
-
$this.s5a_1 = null;
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
function getOrCreateParameterStack($this) {
|
|
861
|
-
var tmp0_safe_receiver = $this.s5a_1;
|
|
862
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.uv();
|
|
863
|
-
var tmp;
|
|
864
|
-
if (tmp1_elvis_lhs == null) {
|
|
865
|
-
// Inline function 'kotlin.let' call
|
|
866
|
-
// Inline function 'org.koin.core.scope.Scope.getOrCreateParameterStack.<anonymous>' call
|
|
867
|
-
var it = ArrayDeque_init_$Create$_0();
|
|
868
|
-
$this.s5a_1 = new ThreadLocalRef();
|
|
869
|
-
var tmp0_safe_receiver_0 = $this.s5a_1;
|
|
870
|
-
if (tmp0_safe_receiver_0 == null)
|
|
871
|
-
null;
|
|
872
|
-
else {
|
|
873
|
-
tmp0_safe_receiver_0.v56(it);
|
|
874
|
-
}
|
|
875
|
-
tmp = it;
|
|
876
|
-
} else {
|
|
877
|
-
tmp = tmp1_elvis_lhs;
|
|
878
|
-
}
|
|
879
|
-
return tmp;
|
|
880
|
-
}
|
|
881
|
-
function resolveFromContext($this, instanceContext) {
|
|
882
|
-
// Inline function 'org.koin.core.scope.Scope.resolveFromInjectedParameters' call
|
|
883
|
-
var tmp;
|
|
884
|
-
if (instanceContext.d59_1 == null) {
|
|
885
|
-
tmp = null;
|
|
886
|
-
} else {
|
|
887
|
-
$this.o5a_1.j57_1.w57('|- ? ' + instanceContext.e59_1 + ' look in injected parameters');
|
|
888
|
-
tmp = instanceContext.d59_1.b5a(instanceContext.b59_1);
|
|
889
|
-
}
|
|
890
|
-
var tmp0_elvis_lhs = tmp;
|
|
891
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? resolveFromRegistry($this, instanceContext) : tmp0_elvis_lhs;
|
|
892
|
-
var tmp_0;
|
|
893
|
-
if (tmp1_elvis_lhs == null) {
|
|
894
|
-
// Inline function 'org.koin.core.scope.Scope.resolveFromStackedParameters' call
|
|
895
|
-
var tmp0_safe_receiver = $this.s5a_1;
|
|
896
|
-
var current = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.uv();
|
|
897
|
-
var tmp_1;
|
|
898
|
-
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
899
|
-
if (current == null || current.h()) {
|
|
900
|
-
tmp_1 = null;
|
|
901
|
-
} else {
|
|
902
|
-
$this.o5a_1.j57_1.w57('|- ? ' + instanceContext.e59_1 + ' look in stack parameters');
|
|
903
|
-
var parameters = current.of();
|
|
904
|
-
tmp_1 = parameters == null ? null : parameters.b5a(instanceContext.b59_1);
|
|
905
|
-
}
|
|
906
|
-
tmp_0 = tmp_1;
|
|
907
|
-
} else {
|
|
908
|
-
tmp_0 = tmp1_elvis_lhs;
|
|
909
|
-
}
|
|
910
|
-
var tmp2_elvis_lhs = tmp_0;
|
|
911
|
-
var tmp_2;
|
|
912
|
-
if (tmp2_elvis_lhs == null) {
|
|
913
|
-
var tmp$ret$3;
|
|
914
|
-
$l$block: {
|
|
915
|
-
// Inline function 'org.koin.core.scope.Scope.resolveFromScopeSource' call
|
|
916
|
-
if ($this.n5a_1) {
|
|
917
|
-
tmp$ret$3 = null;
|
|
918
|
-
break $l$block;
|
|
919
|
-
}
|
|
920
|
-
$this.o5a_1.j57_1.w57('|- ? ' + instanceContext.e59_1 + ' look at scope source');
|
|
921
|
-
var tmp_3;
|
|
922
|
-
if (instanceContext.b59_1.fb($this.q5a_1) && instanceContext.c59_1 == null) {
|
|
923
|
-
var tmp_4 = $this.q5a_1;
|
|
924
|
-
tmp_3 = (tmp_4 == null ? true : !(tmp_4 == null)) ? tmp_4 : null;
|
|
925
|
-
} else {
|
|
926
|
-
tmp_3 = null;
|
|
927
|
-
}
|
|
928
|
-
tmp$ret$3 = tmp_3;
|
|
929
|
-
}
|
|
930
|
-
tmp_2 = tmp$ret$3;
|
|
931
|
-
} else {
|
|
932
|
-
tmp_2 = tmp2_elvis_lhs;
|
|
933
|
-
}
|
|
934
|
-
var tmp3_elvis_lhs = tmp_2;
|
|
935
|
-
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? resolveFromParentScopes($this, instanceContext) : tmp3_elvis_lhs;
|
|
936
|
-
var tmp_5;
|
|
937
|
-
if (tmp4_elvis_lhs == null) {
|
|
938
|
-
$this.o5a_1.j57_1.w57('|- << parameters');
|
|
939
|
-
var tmp0_safe_receiver_0 = instanceContext.c59_1;
|
|
940
|
-
var tmp_6;
|
|
941
|
-
if (tmp0_safe_receiver_0 == null) {
|
|
942
|
-
tmp_6 = null;
|
|
943
|
-
} else {
|
|
944
|
-
// Inline function 'kotlin.let' call
|
|
945
|
-
// Inline function 'org.koin.core.scope.Scope.throwDefinitionNotFound.<anonymous>' call
|
|
946
|
-
tmp_6 = " and qualifier '" + toString_0(tmp0_safe_receiver_0) + "'";
|
|
947
|
-
}
|
|
948
|
-
var tmp1_elvis_lhs_0 = tmp_6;
|
|
949
|
-
var qualifierString = tmp1_elvis_lhs_0 == null ? '' : tmp1_elvis_lhs_0;
|
|
950
|
-
throw new NoDefinitionFoundException("No definition found for type '" + getFullName(instanceContext.b59_1) + "'" + qualifierString + '. Check your Modules configuration and add missing type and/or qualifier!');
|
|
951
|
-
} else {
|
|
952
|
-
tmp_5 = tmp4_elvis_lhs;
|
|
953
|
-
}
|
|
954
|
-
return tmp_5;
|
|
955
|
-
}
|
|
956
|
-
function resolveFromRegistry($this, ctx) {
|
|
957
|
-
return $this.o5a_1.g57_1.h5a(ctx.c59_1, ctx.b59_1, $this.l5a_1, ctx);
|
|
958
|
-
}
|
|
959
|
-
function resolveFromParentScopes($this, ctx) {
|
|
960
|
-
$this.o5a_1.j57_1.w57('|- ? ' + ctx.e59_1 + ' look in other scopes');
|
|
961
|
-
return findInOtherScope($this, ctx);
|
|
962
|
-
}
|
|
963
|
-
function findInOtherScope($this, ctx) {
|
|
964
|
-
var tmp0 = $this.p5a_1;
|
|
965
|
-
var tmp$ret$1;
|
|
966
|
-
$l$block: {
|
|
967
|
-
// Inline function 'kotlin.collections.firstNotNullOfOrNull' call
|
|
968
|
-
var _iterator__ex2g4s = tmp0.p();
|
|
969
|
-
while (_iterator__ex2g4s.q()) {
|
|
970
|
-
var element = _iterator__ex2g4s.r();
|
|
971
|
-
// Inline function 'org.koin.core.scope.Scope.findInOtherScope.<anonymous>' call
|
|
972
|
-
var result = element.u5a(ctx);
|
|
973
|
-
if (!(result == null)) {
|
|
974
|
-
tmp$ret$1 = result;
|
|
975
|
-
break $l$block;
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
tmp$ret$1 = null;
|
|
979
|
-
}
|
|
980
|
-
return tmp$ret$1;
|
|
981
|
-
}
|
|
982
|
-
function Scope(scopeQualifier, id, isRoot, _koin) {
|
|
983
|
-
isRoot = isRoot === VOID ? false : isRoot;
|
|
984
|
-
this.l5a_1 = scopeQualifier;
|
|
985
|
-
this.m5a_1 = id;
|
|
986
|
-
this.n5a_1 = isRoot;
|
|
987
|
-
this.o5a_1 = _koin;
|
|
988
|
-
this.p5a_1 = LinkedHashSet_init_$Create$();
|
|
989
|
-
this.q5a_1 = null;
|
|
990
|
-
this.r5a_1 = LinkedHashSet_init_$Create$();
|
|
991
|
-
this.s5a_1 = null;
|
|
992
|
-
this.t5a_1 = false;
|
|
993
|
-
}
|
|
994
|
-
protoOf(Scope).u5a = function (ctx) {
|
|
995
|
-
var tmp;
|
|
996
|
-
try {
|
|
997
|
-
tmp = get(this, ctx.b59_1, ctx.c59_1, ctx.d59_1);
|
|
998
|
-
} catch ($p) {
|
|
999
|
-
var tmp_0;
|
|
1000
|
-
if ($p instanceof ClosedScopeException) {
|
|
1001
|
-
var e = $p;
|
|
1002
|
-
this.o5a_1.j57_1.w57('* Scope closed - no instance found for ' + getFullName(ctx.b59_1) + ' on scope ' + this.toString());
|
|
1003
|
-
tmp_0 = null;
|
|
1004
|
-
} else {
|
|
1005
|
-
if ($p instanceof NoDefinitionFoundException) {
|
|
1006
|
-
var e_0 = $p;
|
|
1007
|
-
this.o5a_1.j57_1.w57("* No instance found for type '" + getFullName(ctx.b59_1) + "' on scope '" + this.toString() + "'");
|
|
1008
|
-
tmp_0 = null;
|
|
1009
|
-
} else {
|
|
1010
|
-
throw $p;
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
tmp = tmp_0;
|
|
1014
|
-
}
|
|
1015
|
-
return tmp;
|
|
1016
|
-
};
|
|
1017
|
-
protoOf(Scope).v5a = function (clazz, qualifier, parameters) {
|
|
1018
|
-
return resolveWithOptionalLogging(this, clazz, qualifier, parameters == null ? null : parameters());
|
|
1019
|
-
};
|
|
1020
|
-
protoOf(Scope).toString = function () {
|
|
1021
|
-
return "['" + this.m5a_1 + "']";
|
|
1022
|
-
};
|
|
1023
|
-
function get_inMs(_this__u8e3s4) {
|
|
1024
|
-
// Inline function 'kotlin.Long.div' call
|
|
1025
|
-
return _Duration___get_inWholeMicroseconds__impl__8oe8vv(_this__u8e3s4).q3() / 1000.0;
|
|
1026
|
-
}
|
|
1027
|
-
function module_0(createdAtStart, moduleDeclaration) {
|
|
1028
|
-
createdAtStart = createdAtStart === VOID ? false : createdAtStart;
|
|
1029
|
-
var module_0 = new Module(createdAtStart);
|
|
1030
|
-
moduleDeclaration(module_0);
|
|
1031
|
-
return module_0;
|
|
1032
|
-
}
|
|
1033
|
-
function get_classNames() {
|
|
1034
|
-
_init_properties_KClassExt_kt__5ro5b2();
|
|
1035
|
-
return classNames;
|
|
1036
|
-
}
|
|
1037
|
-
var classNames;
|
|
1038
|
-
function getFullName(_this__u8e3s4) {
|
|
1039
|
-
_init_properties_KClassExt_kt__5ro5b2();
|
|
1040
|
-
var tmp0_elvis_lhs = get_classNames().k2(_this__u8e3s4);
|
|
1041
|
-
return tmp0_elvis_lhs == null ? saveCache(_this__u8e3s4) : tmp0_elvis_lhs;
|
|
1042
|
-
}
|
|
1043
|
-
function saveCache(_this__u8e3s4) {
|
|
1044
|
-
_init_properties_KClassExt_kt__5ro5b2();
|
|
1045
|
-
var name = KoinPlatformTools_instance.w5a(_this__u8e3s4);
|
|
1046
|
-
// Inline function 'kotlin.collections.set' call
|
|
1047
|
-
get_classNames().n2(_this__u8e3s4, name);
|
|
1048
|
-
return name;
|
|
1049
|
-
}
|
|
1050
|
-
var properties_initialized_KClassExt_kt_dizwhw;
|
|
1051
|
-
function _init_properties_KClassExt_kt__5ro5b2() {
|
|
1052
|
-
if (!properties_initialized_KClassExt_kt_dizwhw) {
|
|
1053
|
-
properties_initialized_KClassExt_kt_dizwhw = true;
|
|
1054
|
-
classNames = KoinPlatformTools_instance.e5a();
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
function KoinPlatform() {
|
|
1058
|
-
}
|
|
1059
|
-
protoOf(KoinPlatform).x5a = function () {
|
|
1060
|
-
return KoinPlatformTools_instance.e58().uv();
|
|
1061
|
-
};
|
|
1062
|
-
var KoinPlatform_instance;
|
|
1063
|
-
function KoinPlatform_getInstance() {
|
|
1064
|
-
return KoinPlatform_instance;
|
|
1065
|
-
}
|
|
1066
|
-
function getKClassDefaultName(_this__u8e3s4, kClass) {
|
|
1067
|
-
return 'KClass@' + kClass.hashCode();
|
|
1068
|
-
}
|
|
1069
|
-
function generateId(_this__u8e3s4) {
|
|
1070
|
-
return Companion_getInstance().ll().toString();
|
|
1071
|
-
}
|
|
1072
|
-
function register($this, koinApplication) {
|
|
1073
|
-
if (!($this.y5a_1 == null)) {
|
|
1074
|
-
throw new KoinApplicationAlreadyStartedException('A Koin Application has already been started');
|
|
1075
|
-
}
|
|
1076
|
-
$this.y5a_1 = koinApplication.y57_1;
|
|
1077
|
-
}
|
|
1078
|
-
function GlobalContext() {
|
|
1079
|
-
this.y5a_1 = null;
|
|
1080
|
-
}
|
|
1081
|
-
protoOf(GlobalContext).uv = function () {
|
|
1082
|
-
var tmp0_elvis_lhs = this.y5a_1;
|
|
1083
|
-
var tmp;
|
|
1084
|
-
if (tmp0_elvis_lhs == null) {
|
|
1085
|
-
var message = 'KoinApplication has not been started';
|
|
1086
|
-
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
1087
|
-
} else {
|
|
1088
|
-
tmp = tmp0_elvis_lhs;
|
|
1089
|
-
}
|
|
1090
|
-
return tmp;
|
|
1091
|
-
};
|
|
1092
|
-
protoOf(GlobalContext).f58 = function (appDeclaration) {
|
|
1093
|
-
var koinApplication = Companion_instance.a58();
|
|
1094
|
-
register(this, koinApplication);
|
|
1095
|
-
appDeclaration(koinApplication);
|
|
1096
|
-
return koinApplication;
|
|
1097
|
-
};
|
|
1098
|
-
var GlobalContext_instance;
|
|
1099
|
-
function GlobalContext_getInstance() {
|
|
1100
|
-
return GlobalContext_instance;
|
|
1101
|
-
}
|
|
1102
|
-
function KoinPlatformTools() {
|
|
1103
|
-
}
|
|
1104
|
-
protoOf(KoinPlatformTools).f59 = function (e) {
|
|
1105
|
-
return e.toString() + toString_0(split(Exception_init_$Create$().toString(), ['\n']));
|
|
1106
|
-
};
|
|
1107
|
-
protoOf(KoinPlatformTools).w5a = function (kClass) {
|
|
1108
|
-
var tmp0_elvis_lhs = kClass.eb();
|
|
1109
|
-
return tmp0_elvis_lhs == null ? getKClassDefaultName(this, kClass) : tmp0_elvis_lhs;
|
|
1110
|
-
};
|
|
1111
|
-
protoOf(KoinPlatformTools).e58 = function () {
|
|
1112
|
-
return GlobalContext_instance;
|
|
1113
|
-
};
|
|
1114
|
-
protoOf(KoinPlatformTools).k59 = function (lock, block) {
|
|
1115
|
-
return block();
|
|
1116
|
-
};
|
|
1117
|
-
protoOf(KoinPlatformTools).e5a = function () {
|
|
1118
|
-
return ConcurrentMutableMap_init_$Create$();
|
|
1119
|
-
};
|
|
1120
|
-
protoOf(KoinPlatformTools).k5a = function () {
|
|
1121
|
-
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1122
|
-
return LinkedHashSet_init_$Create$();
|
|
1123
|
-
};
|
|
1124
|
-
var KoinPlatformTools_instance;
|
|
1125
|
-
function KoinPlatformTools_getInstance() {
|
|
1126
|
-
return KoinPlatformTools_instance;
|
|
1127
|
-
}
|
|
1128
|
-
//region block: init
|
|
1129
|
-
Companion_instance = new Companion();
|
|
1130
|
-
Companion_instance_0 = new Companion_0();
|
|
1131
|
-
KoinPlatform_instance = new KoinPlatform();
|
|
1132
|
-
GlobalContext_instance = new GlobalContext();
|
|
1133
|
-
KoinPlatformTools_instance = new KoinPlatformTools();
|
|
1134
|
-
//endregion
|
|
1135
|
-
//region block: exports
|
|
1136
|
-
_.$_$ = _.$_$ || {};
|
|
1137
|
-
_.$_$.a = Kind_Singleton_getInstance;
|
|
1138
|
-
_.$_$.b = Companion_getInstance_2;
|
|
1139
|
-
_.$_$.c = KoinPlatform_instance;
|
|
1140
|
-
_.$_$.d = startKoin;
|
|
1141
|
-
_.$_$.e = BeanDefinition;
|
|
1142
|
-
_.$_$.f = KoinDefinition;
|
|
1143
|
-
_.$_$.g = SingleInstanceFactory;
|
|
1144
|
-
_.$_$.h = module_0;
|
|
1145
|
-
//endregion
|
|
1146
|
-
return _;
|
|
1147
|
-
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Stately-stately-concurrency.js'), require('./Stately-stately-concurrent-collections.js')));
|