@doordeck/doordeck-headless-sdk 0.35.0 → 0.36.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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1192 -1192
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +14 -0
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +1 -1
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -6
- package/kotlin/Stately-stately-concurrency.js +6 -6
- package/kotlin/Stately-stately-concurrent-collections.js +53 -53
- package/kotlin/doordeck-sdk.js +7989 -7922
- package/kotlin/doordeck-sdk.js.map +1 -1
- package/kotlin/kotlinx-atomicfu.js +13 -13
- package/kotlin/kotlinx-coroutines-core.js +1555 -1555
- package/kotlin/kotlinx-coroutines-core.js.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core.js +412 -412
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1657 -1657
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1310 -1310
- package/kotlin/ktor-ktor-client-ktor-client-core.js +1696 -1696
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +212 -212
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +120 -120
- package/kotlin/ktor-ktor-http.js +629 -629
- package/kotlin/ktor-ktor-io.js +378 -378
- package/kotlin/ktor-ktor-shared-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +132 -132
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +58 -58
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +37 -37
- package/kotlin/ktor-ktor-utils.js +507 -507
- package/kotlin/projects-core-koin-core.js +246 -246
- package/package.json +1 -1
|
@@ -81,38 +81,38 @@
|
|
|
81
81
|
initMetadataForObject(KoinPlatformTools, 'KoinPlatformTools');
|
|
82
82
|
//endregion
|
|
83
83
|
function Koin() {
|
|
84
|
-
this.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
84
|
+
this.o54_1 = new ScopeRegistry(this);
|
|
85
|
+
this.p54_1 = new InstanceRegistry(this);
|
|
86
|
+
this.q54_1 = new PropertyRegistry(this);
|
|
87
|
+
this.r54_1 = new ExtensionManager(this);
|
|
88
|
+
this.s54_1 = new EmptyLogger();
|
|
89
89
|
}
|
|
90
|
-
protoOf(Koin).
|
|
90
|
+
protoOf(Koin).t54 = function (modules, allowOverride, createEagerInstances) {
|
|
91
91
|
var flattedModules = flatten(modules);
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
92
|
+
this.p54_1.x54(flattedModules, allowOverride);
|
|
93
|
+
this.o54_1.c55(flattedModules);
|
|
94
94
|
if (createEagerInstances) {
|
|
95
|
-
this.
|
|
95
|
+
this.d55();
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
protoOf(Koin).
|
|
99
|
-
this.
|
|
98
|
+
protoOf(Koin).d55 = function () {
|
|
99
|
+
this.s54_1.f55('Create eager instances ...');
|
|
100
100
|
// Inline function 'kotlin.time.measureTime' call
|
|
101
101
|
// Inline function 'kotlin.contracts.contract' call
|
|
102
102
|
// Inline function 'kotlin.time.measureTime' call
|
|
103
103
|
// Inline function 'kotlin.contracts.contract' call
|
|
104
104
|
var mark = Monotonic_instance.ce();
|
|
105
105
|
// Inline function 'org.koin.core.Koin.createEagerInstances.<anonymous>' call
|
|
106
|
-
this.
|
|
106
|
+
this.p54_1.g55();
|
|
107
107
|
var duration = ValueTimeMark__elapsedNow_impl_eonqvs(mark);
|
|
108
|
-
this.
|
|
108
|
+
this.s54_1.f55('Created eager instances in ' + get_inMs(duration) + ' ms');
|
|
109
109
|
};
|
|
110
110
|
function loadModules($this, modules) {
|
|
111
|
-
$this.
|
|
111
|
+
$this.h55_1.t54(modules, $this.i55_1, false);
|
|
112
112
|
}
|
|
113
113
|
function Companion() {
|
|
114
114
|
}
|
|
115
|
-
protoOf(Companion).
|
|
115
|
+
protoOf(Companion).j55 = function () {
|
|
116
116
|
var app = new KoinApplication();
|
|
117
117
|
return app;
|
|
118
118
|
};
|
|
@@ -121,14 +121,14 @@
|
|
|
121
121
|
return Companion_instance;
|
|
122
122
|
}
|
|
123
123
|
function KoinApplication() {
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
124
|
+
this.h55_1 = new Koin();
|
|
125
|
+
this.i55_1 = true;
|
|
126
126
|
}
|
|
127
|
-
protoOf(KoinApplication).
|
|
127
|
+
protoOf(KoinApplication).k55 = function (modules) {
|
|
128
128
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
129
|
-
var this_0 = this.
|
|
129
|
+
var this_0 = this.h55_1.s54_1;
|
|
130
130
|
var lvl = Level_INFO_getInstance();
|
|
131
|
-
if (this_0.
|
|
131
|
+
if (this_0.e55_1.u2(lvl) <= 0) {
|
|
132
132
|
// Inline function 'kotlin.time.measureTime' call
|
|
133
133
|
// Inline function 'kotlin.contracts.contract' call
|
|
134
134
|
// Inline function 'kotlin.time.measureTime' call
|
|
@@ -137,15 +137,15 @@
|
|
|
137
137
|
// Inline function 'org.koin.core.KoinApplication.modules.<anonymous>' call
|
|
138
138
|
loadModules(this, modules);
|
|
139
139
|
var duration = ValueTimeMark__elapsedNow_impl_eonqvs(mark);
|
|
140
|
-
var count = this.
|
|
141
|
-
this.
|
|
140
|
+
var count = this.h55_1.p54_1.l55();
|
|
141
|
+
this.h55_1.s54_1.m55(Level_INFO_getInstance(), 'Started ' + count + ' definitions in ' + get_inMs(duration) + ' ms');
|
|
142
142
|
} else {
|
|
143
143
|
loadModules(this, modules);
|
|
144
144
|
}
|
|
145
145
|
return this;
|
|
146
146
|
};
|
|
147
147
|
function startKoin(appDeclaration) {
|
|
148
|
-
return KoinPlatformTools_instance.
|
|
148
|
+
return KoinPlatformTools_instance.n55().o55(appDeclaration);
|
|
149
149
|
}
|
|
150
150
|
function BeanDefinition$toString$lambda(it) {
|
|
151
151
|
return getFullName(it);
|
|
@@ -160,14 +160,14 @@
|
|
|
160
160
|
tmp = secondaryTypes;
|
|
161
161
|
}
|
|
162
162
|
secondaryTypes = tmp;
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
163
|
+
this.p55_1 = scopeQualifier;
|
|
164
|
+
this.q55_1 = primaryType;
|
|
165
|
+
this.r55_1 = qualifier;
|
|
166
|
+
this.s55_1 = definition;
|
|
167
|
+
this.t55_1 = kind;
|
|
168
|
+
this.u55_1 = secondaryTypes;
|
|
169
|
+
this.v55_1 = new Callbacks();
|
|
170
|
+
this.w55_1 = false;
|
|
171
171
|
}
|
|
172
172
|
protoOf(BeanDefinition).toString = function () {
|
|
173
173
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -177,22 +177,22 @@
|
|
|
177
177
|
// Inline function 'kotlin.contracts.contract' call
|
|
178
178
|
// Inline function 'org.koin.core.definition.BeanDefinition.toString.<anonymous>' call
|
|
179
179
|
this_0.n8(_Char___init__impl__6a9atx(91));
|
|
180
|
-
this_0.l8(this.
|
|
180
|
+
this_0.l8(this.t55_1);
|
|
181
181
|
this_0.m8(": '");
|
|
182
|
-
this_0.m8(getFullName(this.
|
|
182
|
+
this_0.m8(getFullName(this.q55_1));
|
|
183
183
|
this_0.n8(_Char___init__impl__6a9atx(39));
|
|
184
|
-
if (!(this.
|
|
184
|
+
if (!(this.r55_1 == null)) {
|
|
185
185
|
this_0.m8(',qualifier:');
|
|
186
|
-
this_0.l8(this.
|
|
186
|
+
this_0.l8(this.r55_1);
|
|
187
187
|
}
|
|
188
|
-
if (!equals(this.
|
|
188
|
+
if (!equals(this.p55_1, Companion_getInstance_2().y55_1)) {
|
|
189
189
|
this_0.m8(',scope:');
|
|
190
|
-
this_0.l8(this.
|
|
190
|
+
this_0.l8(this.p55_1);
|
|
191
191
|
}
|
|
192
192
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
193
|
-
if (!this.
|
|
193
|
+
if (!this.u55_1.h()) {
|
|
194
194
|
this_0.m8(',binds:');
|
|
195
|
-
var tmp = this.
|
|
195
|
+
var tmp = this.u55_1;
|
|
196
196
|
joinTo(tmp, this_0, ',', VOID, VOID, VOID, VOID, BeanDefinition$toString$lambda);
|
|
197
197
|
}
|
|
198
198
|
this_0.n8(_Char___init__impl__6a9atx(93));
|
|
@@ -203,20 +203,20 @@
|
|
|
203
203
|
return true;
|
|
204
204
|
if (!(other instanceof BeanDefinition))
|
|
205
205
|
THROW_CCE();
|
|
206
|
-
if (!this.
|
|
206
|
+
if (!this.q55_1.equals(other.q55_1))
|
|
207
207
|
return false;
|
|
208
|
-
if (!equals(this.
|
|
208
|
+
if (!equals(this.r55_1, other.r55_1))
|
|
209
209
|
return false;
|
|
210
|
-
if (!equals(this.
|
|
210
|
+
if (!equals(this.p55_1, other.p55_1))
|
|
211
211
|
return false;
|
|
212
212
|
return true;
|
|
213
213
|
};
|
|
214
214
|
protoOf(BeanDefinition).hashCode = function () {
|
|
215
|
-
var tmp0_safe_receiver = this.
|
|
215
|
+
var tmp0_safe_receiver = this.r55_1;
|
|
216
216
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
217
217
|
var result = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
218
|
-
result = imul(31, result) + this.
|
|
219
|
-
result = imul(31, result) + hashCode(this.
|
|
218
|
+
result = imul(31, result) + this.q55_1.hashCode() | 0;
|
|
219
|
+
result = imul(31, result) + hashCode(this.p55_1) | 0;
|
|
220
220
|
return result;
|
|
221
221
|
};
|
|
222
222
|
var Kind_Singleton_instance;
|
|
@@ -240,13 +240,13 @@
|
|
|
240
240
|
}
|
|
241
241
|
function Callbacks(onClose) {
|
|
242
242
|
onClose = onClose === VOID ? null : onClose;
|
|
243
|
-
this.
|
|
243
|
+
this.z55_1 = onClose;
|
|
244
244
|
}
|
|
245
245
|
protoOf(Callbacks).toString = function () {
|
|
246
|
-
return 'Callbacks(onClose=' + toString(this.
|
|
246
|
+
return 'Callbacks(onClose=' + toString(this.z55_1) + ')';
|
|
247
247
|
};
|
|
248
248
|
protoOf(Callbacks).hashCode = function () {
|
|
249
|
-
return this.
|
|
249
|
+
return this.z55_1 == null ? 0 : hashCode(this.z55_1);
|
|
250
250
|
};
|
|
251
251
|
protoOf(Callbacks).equals = function (other) {
|
|
252
252
|
if (this === other)
|
|
@@ -254,20 +254,20 @@
|
|
|
254
254
|
if (!(other instanceof Callbacks))
|
|
255
255
|
return false;
|
|
256
256
|
var tmp0_other_with_cast = other instanceof Callbacks ? other : THROW_CCE();
|
|
257
|
-
if (!equals(this.
|
|
257
|
+
if (!equals(this.z55_1, tmp0_other_with_cast.z55_1))
|
|
258
258
|
return false;
|
|
259
259
|
return true;
|
|
260
260
|
};
|
|
261
261
|
function KoinDefinition(module_0, factory) {
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
262
|
+
this.a56_1 = module_0;
|
|
263
|
+
this.b56_1 = factory;
|
|
264
264
|
}
|
|
265
265
|
protoOf(KoinDefinition).toString = function () {
|
|
266
|
-
return 'KoinDefinition(module=' + toString_0(this.
|
|
266
|
+
return 'KoinDefinition(module=' + toString_0(this.a56_1) + ', factory=' + toString_0(this.b56_1) + ')';
|
|
267
267
|
};
|
|
268
268
|
protoOf(KoinDefinition).hashCode = function () {
|
|
269
|
-
var result = this.
|
|
270
|
-
result = imul(result, 31) + hashCode(this.
|
|
269
|
+
var result = this.a56_1.hashCode();
|
|
270
|
+
result = imul(result, 31) + hashCode(this.b56_1) | 0;
|
|
271
271
|
return result;
|
|
272
272
|
};
|
|
273
273
|
protoOf(KoinDefinition).equals = function (other) {
|
|
@@ -276,9 +276,9 @@
|
|
|
276
276
|
if (!(other instanceof KoinDefinition))
|
|
277
277
|
return false;
|
|
278
278
|
var tmp0_other_with_cast = other instanceof KoinDefinition ? other : THROW_CCE();
|
|
279
|
-
if (!this.
|
|
279
|
+
if (!this.a56_1.equals(tmp0_other_with_cast.a56_1))
|
|
280
280
|
return false;
|
|
281
|
-
if (!equals(this.
|
|
281
|
+
if (!equals(this.b56_1, tmp0_other_with_cast.b56_1))
|
|
282
282
|
return false;
|
|
283
283
|
return true;
|
|
284
284
|
};
|
|
@@ -303,33 +303,33 @@
|
|
|
303
303
|
captureStack(this, NoDefinitionFoundException);
|
|
304
304
|
}
|
|
305
305
|
function ExtensionManager(_koin) {
|
|
306
|
-
this.
|
|
306
|
+
this.c56_1 = _koin;
|
|
307
307
|
var tmp = this;
|
|
308
308
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
309
|
-
tmp.
|
|
309
|
+
tmp.d56_1 = HashMap_init_$Create$();
|
|
310
310
|
}
|
|
311
311
|
function Companion_0() {
|
|
312
|
-
this.
|
|
312
|
+
this.e56_1 = '\n\t';
|
|
313
313
|
}
|
|
314
314
|
var Companion_instance_0;
|
|
315
315
|
function Companion_getInstance_1() {
|
|
316
316
|
return Companion_instance_0;
|
|
317
317
|
}
|
|
318
318
|
function InstanceFactory(beanDefinition) {
|
|
319
|
-
this.
|
|
319
|
+
this.f56_1 = beanDefinition;
|
|
320
320
|
}
|
|
321
|
-
protoOf(InstanceFactory).
|
|
322
|
-
context.
|
|
321
|
+
protoOf(InstanceFactory).h56 = function (context) {
|
|
322
|
+
context.i56_1.f55("| (+) '" + this.f56_1.toString() + "'");
|
|
323
323
|
try {
|
|
324
|
-
var tmp0_elvis_lhs = context.
|
|
324
|
+
var tmp0_elvis_lhs = context.m56_1;
|
|
325
325
|
var parameters = tmp0_elvis_lhs == null ? emptyParametersHolder() : tmp0_elvis_lhs;
|
|
326
|
-
return this.
|
|
326
|
+
return this.f56_1.s55_1(context.j56_1, parameters);
|
|
327
327
|
} catch ($p) {
|
|
328
328
|
if ($p instanceof Exception) {
|
|
329
329
|
var e = $p;
|
|
330
|
-
var stack = KoinPlatformTools_instance.
|
|
331
|
-
context.
|
|
332
|
-
throw new InstanceCreationException("Could not create instance for '" + this.
|
|
330
|
+
var stack = KoinPlatformTools_instance.o56(e);
|
|
331
|
+
context.i56_1.p56("* Instance creation error : could not create instance for '" + this.f56_1.toString() + "': " + stack);
|
|
332
|
+
throw new InstanceCreationException("Could not create instance for '" + this.f56_1.toString() + "'", e);
|
|
333
333
|
} else {
|
|
334
334
|
throw $p;
|
|
335
335
|
}
|
|
@@ -338,17 +338,17 @@
|
|
|
338
338
|
function ResolutionContext(logger, scope, clazz, qualifier, parameters) {
|
|
339
339
|
qualifier = qualifier === VOID ? null : qualifier;
|
|
340
340
|
parameters = parameters === VOID ? null : parameters;
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
341
|
+
this.i56_1 = logger;
|
|
342
|
+
this.j56_1 = scope;
|
|
343
|
+
this.k56_1 = clazz;
|
|
344
|
+
this.l56_1 = qualifier;
|
|
345
|
+
this.m56_1 = parameters;
|
|
346
|
+
this.n56_1 = "t:'" + getFullName(this.k56_1) + "' - q:'" + toString(this.l56_1) + "'";
|
|
347
347
|
}
|
|
348
348
|
function NoClass() {
|
|
349
349
|
}
|
|
350
350
|
function getValue($this) {
|
|
351
|
-
var tmp0_elvis_lhs = $this.
|
|
351
|
+
var tmp0_elvis_lhs = $this.r56_1;
|
|
352
352
|
var tmp;
|
|
353
353
|
if (tmp0_elvis_lhs == null) {
|
|
354
354
|
var message = "Single instance created couldn't return value";
|
|
@@ -361,8 +361,8 @@
|
|
|
361
361
|
function SingleInstanceFactory$get$lambda(this$0, $context) {
|
|
362
362
|
return function () {
|
|
363
363
|
var tmp;
|
|
364
|
-
if (!this$0.
|
|
365
|
-
this$0.
|
|
364
|
+
if (!this$0.s56($context)) {
|
|
365
|
+
this$0.r56_1 = this$0.h56($context);
|
|
366
366
|
tmp = Unit_instance;
|
|
367
367
|
}
|
|
368
368
|
return Unit_instance;
|
|
@@ -370,47 +370,47 @@
|
|
|
370
370
|
}
|
|
371
371
|
function SingleInstanceFactory(beanDefinition) {
|
|
372
372
|
InstanceFactory.call(this, beanDefinition);
|
|
373
|
-
this.
|
|
373
|
+
this.r56_1 = null;
|
|
374
374
|
}
|
|
375
|
-
protoOf(SingleInstanceFactory).
|
|
376
|
-
return !(this.
|
|
375
|
+
protoOf(SingleInstanceFactory).s56 = function (context) {
|
|
376
|
+
return !(this.r56_1 == null);
|
|
377
377
|
};
|
|
378
|
-
protoOf(SingleInstanceFactory).
|
|
378
|
+
protoOf(SingleInstanceFactory).h56 = function (context) {
|
|
379
379
|
var tmp;
|
|
380
|
-
if (this.
|
|
381
|
-
tmp = protoOf(InstanceFactory).
|
|
380
|
+
if (this.r56_1 == null) {
|
|
381
|
+
tmp = protoOf(InstanceFactory).h56.call(this, context);
|
|
382
382
|
} else {
|
|
383
383
|
tmp = getValue(this);
|
|
384
384
|
}
|
|
385
385
|
return tmp;
|
|
386
386
|
};
|
|
387
|
-
protoOf(SingleInstanceFactory).
|
|
387
|
+
protoOf(SingleInstanceFactory).g56 = function (context) {
|
|
388
388
|
var tmp = KoinPlatformTools_instance;
|
|
389
|
-
tmp.
|
|
389
|
+
tmp.t56(this, SingleInstanceFactory$get$lambda(this, context));
|
|
390
390
|
return getValue(this);
|
|
391
391
|
};
|
|
392
392
|
function EmptyLogger() {
|
|
393
393
|
Logger.call(this, Level_NONE_getInstance());
|
|
394
394
|
}
|
|
395
|
-
protoOf(EmptyLogger).
|
|
395
|
+
protoOf(EmptyLogger).m55 = function (level, msg) {
|
|
396
396
|
};
|
|
397
397
|
function Logger(level) {
|
|
398
398
|
level = level === VOID ? Level_INFO_getInstance() : level;
|
|
399
|
-
this.
|
|
399
|
+
this.e55_1 = level;
|
|
400
400
|
}
|
|
401
|
-
protoOf(Logger).
|
|
402
|
-
this.
|
|
401
|
+
protoOf(Logger).f55 = function (msg) {
|
|
402
|
+
this.w56(Level_DEBUG_getInstance(), msg);
|
|
403
403
|
};
|
|
404
|
-
protoOf(Logger).
|
|
405
|
-
this.
|
|
404
|
+
protoOf(Logger).v56 = function (msg) {
|
|
405
|
+
this.w56(Level_WARNING_getInstance(), msg);
|
|
406
406
|
};
|
|
407
|
-
protoOf(Logger).
|
|
408
|
-
this.
|
|
407
|
+
protoOf(Logger).p56 = function (msg) {
|
|
408
|
+
this.w56(Level_ERROR_getInstance(), msg);
|
|
409
409
|
};
|
|
410
|
-
protoOf(Logger).
|
|
410
|
+
protoOf(Logger).w56 = function (lvl, msg) {
|
|
411
411
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
412
|
-
if (this.
|
|
413
|
-
this.
|
|
412
|
+
if (this.e55_1.u2(lvl) <= 0) {
|
|
413
|
+
this.m55(lvl, msg);
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
416
|
var Level_DEBUG_instance;
|
|
@@ -454,21 +454,21 @@
|
|
|
454
454
|
}
|
|
455
455
|
function Module(_createdAtStart) {
|
|
456
456
|
_createdAtStart = _createdAtStart === VOID ? false : _createdAtStart;
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
457
|
+
this.x56_1 = _createdAtStart;
|
|
458
|
+
this.y56_1 = generateId(KoinPlatformTools_instance);
|
|
459
|
+
this.z56_1 = LinkedHashSet_init_$Create$();
|
|
460
|
+
this.a57_1 = LinkedHashMap_init_$Create$();
|
|
461
|
+
this.b57_1 = LinkedHashSet_init_$Create$();
|
|
462
462
|
var tmp = this;
|
|
463
463
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
464
|
-
tmp.
|
|
464
|
+
tmp.c57_1 = ArrayList_init_$Create$();
|
|
465
465
|
}
|
|
466
|
-
protoOf(Module).
|
|
467
|
-
var def = instanceFactory.
|
|
466
|
+
protoOf(Module).d57 = function (instanceFactory) {
|
|
467
|
+
var def = instanceFactory.f56_1;
|
|
468
468
|
// Inline function 'org.koin.core.definition.indexKey' call
|
|
469
|
-
var clazz = def.
|
|
470
|
-
var typeQualifier = def.
|
|
471
|
-
var scopeQualifier = def.
|
|
469
|
+
var clazz = def.q55_1;
|
|
470
|
+
var typeQualifier = def.r55_1;
|
|
471
|
+
var scopeQualifier = def.p55_1;
|
|
472
472
|
// Inline function 'kotlin.text.buildString' call
|
|
473
473
|
// Inline function 'kotlin.contracts.contract' call
|
|
474
474
|
// Inline function 'kotlin.apply' call
|
|
@@ -482,24 +482,24 @@
|
|
|
482
482
|
this_0.n8(_Char___init__impl__6a9atx(58));
|
|
483
483
|
this_0.l8(scopeQualifier);
|
|
484
484
|
var mapping = this_0.toString();
|
|
485
|
-
this.
|
|
485
|
+
this.e57(mapping, instanceFactory);
|
|
486
486
|
};
|
|
487
|
-
protoOf(Module).
|
|
488
|
-
this.
|
|
487
|
+
protoOf(Module).f57 = function (instanceFactory) {
|
|
488
|
+
this.z56_1.k(instanceFactory);
|
|
489
489
|
};
|
|
490
|
-
protoOf(Module).
|
|
490
|
+
protoOf(Module).e57 = function (mapping, factory) {
|
|
491
491
|
// Inline function 'kotlin.collections.set' call
|
|
492
|
-
this.
|
|
492
|
+
this.a57_1.n2(mapping, factory);
|
|
493
493
|
};
|
|
494
494
|
protoOf(Module).equals = function (other) {
|
|
495
495
|
if (this === other)
|
|
496
496
|
return true;
|
|
497
497
|
if (!(other instanceof Module))
|
|
498
498
|
return false;
|
|
499
|
-
return this.
|
|
499
|
+
return this.y56_1 === other.y56_1;
|
|
500
500
|
};
|
|
501
501
|
protoOf(Module).hashCode = function () {
|
|
502
|
-
return getStringHashCode(this.
|
|
502
|
+
return getStringHashCode(this.y56_1);
|
|
503
503
|
};
|
|
504
504
|
function flatten(modules) {
|
|
505
505
|
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
if (!flatten.k(current)) {
|
|
515
515
|
continue $l$loop_0;
|
|
516
516
|
}
|
|
517
|
-
var _iterator__ex2g4s = current.
|
|
517
|
+
var _iterator__ex2g4s = current.c57_1.p();
|
|
518
518
|
while (_iterator__ex2g4s.q()) {
|
|
519
519
|
var module_0 = _iterator__ex2g4s.r();
|
|
520
520
|
if (!flatten.x1(module_0)) {
|
|
@@ -526,13 +526,13 @@
|
|
|
526
526
|
return flatten;
|
|
527
527
|
}
|
|
528
528
|
function overrideError(factory, mapping) {
|
|
529
|
-
throw new DefinitionOverrideException('Already existing definition for ' + factory.
|
|
529
|
+
throw new DefinitionOverrideException('Already existing definition for ' + factory.f56_1.toString() + ' at ' + mapping);
|
|
530
530
|
}
|
|
531
531
|
function getFirstValue($this, clazz) {
|
|
532
532
|
var tmp$ret$1;
|
|
533
533
|
$l$block: {
|
|
534
534
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
535
|
-
var tmp0_iterator = $this.
|
|
535
|
+
var tmp0_iterator = $this.g57_1.p();
|
|
536
536
|
while (tmp0_iterator.q()) {
|
|
537
537
|
var element = tmp0_iterator.r();
|
|
538
538
|
// Inline function 'org.koin.core.parameter.ParametersHolder.getFirstValue.<anonymous>' call
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
}
|
|
549
549
|
function getIndexedValue($this, clazz) {
|
|
550
550
|
// Inline function 'kotlin.takeIf' call
|
|
551
|
-
var this_0 = $this.
|
|
551
|
+
var this_0 = $this.g57_1.u($this.i57_1);
|
|
552
552
|
// Inline function 'kotlin.contracts.contract' call
|
|
553
553
|
var tmp;
|
|
554
554
|
// Inline function 'org.koin.core.parameter.ParametersHolder.getIndexedValue.<anonymous>' call
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
var tmp_0 = tmp;
|
|
561
561
|
var currentValue = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : null;
|
|
562
562
|
if (!(currentValue == null)) {
|
|
563
|
-
$this.
|
|
563
|
+
$this.j57();
|
|
564
564
|
}
|
|
565
565
|
return currentValue;
|
|
566
566
|
}
|
|
@@ -574,17 +574,17 @@
|
|
|
574
574
|
}
|
|
575
575
|
_values = tmp;
|
|
576
576
|
useIndexedValues = useIndexedValues === VOID ? null : useIndexedValues;
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
577
|
+
this.g57_1 = _values;
|
|
578
|
+
this.h57_1 = useIndexedValues;
|
|
579
|
+
this.i57_1 = 0;
|
|
580
580
|
}
|
|
581
|
-
protoOf(ParametersHolder).
|
|
581
|
+
protoOf(ParametersHolder).k57 = function (clazz) {
|
|
582
582
|
var tmp;
|
|
583
|
-
if (this.
|
|
583
|
+
if (this.g57_1.h()) {
|
|
584
584
|
tmp = null;
|
|
585
585
|
} else {
|
|
586
586
|
var tmp_0;
|
|
587
|
-
switch (this.
|
|
587
|
+
switch (this.h57_1) {
|
|
588
588
|
case null:
|
|
589
589
|
var tmp1_elvis_lhs = getIndexedValue(this, clazz);
|
|
590
590
|
tmp_0 = tmp1_elvis_lhs == null ? getFirstValue(this, clazz) : tmp1_elvis_lhs;
|
|
@@ -600,13 +600,13 @@
|
|
|
600
600
|
}
|
|
601
601
|
return tmp;
|
|
602
602
|
};
|
|
603
|
-
protoOf(ParametersHolder).
|
|
604
|
-
if (this.
|
|
605
|
-
this.
|
|
603
|
+
protoOf(ParametersHolder).j57 = function () {
|
|
604
|
+
if (this.i57_1 < get_lastIndex(this.g57_1)) {
|
|
605
|
+
this.i57_1 = this.i57_1 + 1 | 0;
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
protoOf(ParametersHolder).toString = function () {
|
|
609
|
-
return 'DefinitionParameters' + toString_0(toList(this.
|
|
609
|
+
return 'DefinitionParameters' + toString_0(toList(this.g57_1));
|
|
610
610
|
};
|
|
611
611
|
function emptyParametersHolder() {
|
|
612
612
|
return new ParametersHolder();
|
|
@@ -618,16 +618,16 @@
|
|
|
618
618
|
return new StringQualifier(name);
|
|
619
619
|
}
|
|
620
620
|
function StringQualifier(value) {
|
|
621
|
-
this.
|
|
621
|
+
this.l57_1 = value;
|
|
622
622
|
}
|
|
623
623
|
protoOf(StringQualifier).z = function () {
|
|
624
|
-
return this.
|
|
624
|
+
return this.l57_1;
|
|
625
625
|
};
|
|
626
626
|
protoOf(StringQualifier).toString = function () {
|
|
627
|
-
return this.
|
|
627
|
+
return this.l57_1;
|
|
628
628
|
};
|
|
629
629
|
protoOf(StringQualifier).hashCode = function () {
|
|
630
|
-
return getStringHashCode(this.
|
|
630
|
+
return getStringHashCode(this.l57_1);
|
|
631
631
|
};
|
|
632
632
|
protoOf(StringQualifier).equals = function (other) {
|
|
633
633
|
if (this === other)
|
|
@@ -635,26 +635,26 @@
|
|
|
635
635
|
if (!(other instanceof StringQualifier))
|
|
636
636
|
return false;
|
|
637
637
|
var tmp0_other_with_cast = other instanceof StringQualifier ? other : THROW_CCE();
|
|
638
|
-
if (!(this.
|
|
638
|
+
if (!(this.l57_1 === tmp0_other_with_cast.l57_1))
|
|
639
639
|
return false;
|
|
640
640
|
return true;
|
|
641
641
|
};
|
|
642
642
|
function addAllEagerInstances($this, module_0) {
|
|
643
643
|
// Inline function 'kotlin.collections.forEach' call
|
|
644
|
-
var tmp0_iterator = module_0.
|
|
644
|
+
var tmp0_iterator = module_0.z56_1.p();
|
|
645
645
|
while (tmp0_iterator.q()) {
|
|
646
646
|
var element = tmp0_iterator.r();
|
|
647
647
|
// Inline function 'org.koin.core.registry.InstanceRegistry.addAllEagerInstances.<anonymous>' call
|
|
648
648
|
// Inline function 'kotlin.collections.set' call
|
|
649
|
-
var this_0 = $this.
|
|
650
|
-
var key = element.
|
|
649
|
+
var this_0 = $this.w54_1;
|
|
650
|
+
var key = element.f56_1.hashCode();
|
|
651
651
|
this_0.n2(key, element);
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
function loadModule($this, module_0, allowOverride) {
|
|
655
655
|
// Inline function 'kotlin.collections.forEach' call
|
|
656
656
|
// Inline function 'kotlin.collections.iterator' call
|
|
657
|
-
var tmp0_iterator = module_0.
|
|
657
|
+
var tmp0_iterator = module_0.a57_1.x().p();
|
|
658
658
|
while (tmp0_iterator.q()) {
|
|
659
659
|
var element = tmp0_iterator.r();
|
|
660
660
|
// Inline function 'org.koin.core.registry.InstanceRegistry.loadModule.<anonymous>' call
|
|
@@ -662,25 +662,25 @@
|
|
|
662
662
|
var mapping = element.y();
|
|
663
663
|
// Inline function 'kotlin.collections.component2' call
|
|
664
664
|
var factory = element.z();
|
|
665
|
-
$this.
|
|
665
|
+
$this.m57(allowOverride, mapping, factory);
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
function createEagerInstances($this, instances) {
|
|
669
|
-
var defaultContext = new ResolutionContext($this.
|
|
669
|
+
var defaultContext = new ResolutionContext($this.u54_1.s54_1, $this.u54_1.o54_1.b55_1, getKClass(NoClass));
|
|
670
670
|
// Inline function 'kotlin.collections.forEach' call
|
|
671
671
|
var tmp0_iterator = instances.p();
|
|
672
672
|
while (tmp0_iterator.q()) {
|
|
673
673
|
var element = tmp0_iterator.r();
|
|
674
674
|
// Inline function 'org.koin.core.registry.InstanceRegistry.createEagerInstances.<anonymous>' call
|
|
675
|
-
element.
|
|
675
|
+
element.g56(defaultContext);
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
function InstanceRegistry(_koin) {
|
|
679
|
-
this.
|
|
680
|
-
this.
|
|
681
|
-
this.
|
|
679
|
+
this.u54_1 = _koin;
|
|
680
|
+
this.v54_1 = KoinPlatformTools_instance.n57();
|
|
681
|
+
this.w54_1 = KoinPlatformTools_instance.n57();
|
|
682
682
|
}
|
|
683
|
-
protoOf(InstanceRegistry).
|
|
683
|
+
protoOf(InstanceRegistry).x54 = function (modules, allowOverride) {
|
|
684
684
|
// Inline function 'kotlin.collections.forEach' call
|
|
685
685
|
var tmp0_iterator = modules.p();
|
|
686
686
|
while (tmp0_iterator.q()) {
|
|
@@ -690,16 +690,16 @@
|
|
|
690
690
|
addAllEagerInstances(this, element);
|
|
691
691
|
}
|
|
692
692
|
};
|
|
693
|
-
protoOf(InstanceRegistry).
|
|
693
|
+
protoOf(InstanceRegistry).g55 = function () {
|
|
694
694
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
695
|
-
var this_0 = this.
|
|
695
|
+
var this_0 = this.w54_1.m2();
|
|
696
696
|
var tmp$ret$0 = copyToArray(this_0);
|
|
697
697
|
var instances = arrayListOf(tmp$ret$0.slice());
|
|
698
|
-
this.
|
|
698
|
+
this.w54_1.e2();
|
|
699
699
|
createEagerInstances(this, instances);
|
|
700
700
|
};
|
|
701
|
-
protoOf(InstanceRegistry).
|
|
702
|
-
if (this.
|
|
701
|
+
protoOf(InstanceRegistry).o57 = function (allowOverride, mapping, factory, logWarning) {
|
|
702
|
+
if (this.v54_1.k2(mapping) == null)
|
|
703
703
|
null;
|
|
704
704
|
else {
|
|
705
705
|
// Inline function 'kotlin.let' call
|
|
@@ -707,25 +707,25 @@
|
|
|
707
707
|
if (!allowOverride) {
|
|
708
708
|
overrideError(factory, mapping);
|
|
709
709
|
} else if (logWarning) {
|
|
710
|
-
this.
|
|
710
|
+
this.u54_1.s54_1.v56("(+) override index '" + mapping + "' -> '" + factory.f56_1.toString() + "'");
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
this.
|
|
713
|
+
this.u54_1.s54_1.f55("(+) index '" + mapping + "' -> '" + factory.f56_1.toString() + "'");
|
|
714
714
|
// Inline function 'kotlin.collections.set' call
|
|
715
|
-
this.
|
|
715
|
+
this.v54_1.n2(mapping, factory);
|
|
716
716
|
};
|
|
717
|
-
protoOf(InstanceRegistry).
|
|
717
|
+
protoOf(InstanceRegistry).m57 = function (allowOverride, mapping, factory, logWarning, $super) {
|
|
718
718
|
logWarning = logWarning === VOID ? true : logWarning;
|
|
719
719
|
var tmp;
|
|
720
720
|
if ($super === VOID) {
|
|
721
|
-
this.
|
|
721
|
+
this.o57(allowOverride, mapping, factory, logWarning);
|
|
722
722
|
tmp = Unit_instance;
|
|
723
723
|
} else {
|
|
724
|
-
tmp = $super.
|
|
724
|
+
tmp = $super.o57.call(this, allowOverride, mapping, factory, logWarning);
|
|
725
725
|
}
|
|
726
726
|
return tmp;
|
|
727
727
|
};
|
|
728
|
-
protoOf(InstanceRegistry).
|
|
728
|
+
protoOf(InstanceRegistry).p57 = function (clazz, qualifier, scopeQualifier) {
|
|
729
729
|
// Inline function 'org.koin.core.definition.indexKey' call
|
|
730
730
|
// Inline function 'kotlin.text.buildString' call
|
|
731
731
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -740,27 +740,27 @@
|
|
|
740
740
|
this_0.n8(_Char___init__impl__6a9atx(58));
|
|
741
741
|
this_0.l8(scopeQualifier);
|
|
742
742
|
var indexKey = this_0.toString();
|
|
743
|
-
return this.
|
|
743
|
+
return this.v54_1.k2(indexKey);
|
|
744
744
|
};
|
|
745
|
-
protoOf(InstanceRegistry).
|
|
746
|
-
var tmp0_safe_receiver = this.
|
|
747
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
745
|
+
protoOf(InstanceRegistry).q57 = function (qualifier, clazz, scopeQualifier, instanceContext) {
|
|
746
|
+
var tmp0_safe_receiver = this.p57(clazz, qualifier, scopeQualifier);
|
|
747
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g56(instanceContext);
|
|
748
748
|
return (tmp == null ? true : !(tmp == null)) ? tmp : null;
|
|
749
749
|
};
|
|
750
|
-
protoOf(InstanceRegistry).
|
|
751
|
-
return this.
|
|
750
|
+
protoOf(InstanceRegistry).l55 = function () {
|
|
751
|
+
return this.v54_1.s();
|
|
752
752
|
};
|
|
753
753
|
function PropertyRegistry(_koin) {
|
|
754
|
-
this.
|
|
755
|
-
this.
|
|
754
|
+
this.r57_1 = _koin;
|
|
755
|
+
this.s57_1 = KoinPlatformTools_instance.n57();
|
|
756
756
|
}
|
|
757
757
|
function loadModule_0($this, module_0) {
|
|
758
|
-
$this.
|
|
758
|
+
$this.z54_1.t(module_0.b57_1);
|
|
759
759
|
}
|
|
760
760
|
function Companion_1() {
|
|
761
761
|
Companion_instance_1 = this;
|
|
762
|
-
this.
|
|
763
|
-
this.
|
|
762
|
+
this.x55_1 = '_root_';
|
|
763
|
+
this.y55_1 = _q('_root_');
|
|
764
764
|
}
|
|
765
765
|
var Companion_instance_1;
|
|
766
766
|
function Companion_getInstance_2() {
|
|
@@ -770,18 +770,18 @@
|
|
|
770
770
|
}
|
|
771
771
|
function ScopeRegistry(_koin) {
|
|
772
772
|
Companion_getInstance_2();
|
|
773
|
-
this.
|
|
774
|
-
this.
|
|
775
|
-
this.
|
|
776
|
-
this.
|
|
777
|
-
this.
|
|
773
|
+
this.y54_1 = _koin;
|
|
774
|
+
this.z54_1 = KoinPlatformTools_instance.t57();
|
|
775
|
+
this.a55_1 = KoinPlatformTools_instance.n57();
|
|
776
|
+
this.b55_1 = new Scope(Companion_getInstance_2().y55_1, '_root_', true, this.y54_1);
|
|
777
|
+
this.z54_1.k(this.b55_1.u57_1);
|
|
778
778
|
// Inline function 'kotlin.collections.set' call
|
|
779
|
-
var this_0 = this.
|
|
780
|
-
var key = this.
|
|
781
|
-
var value = this.
|
|
779
|
+
var this_0 = this.a55_1;
|
|
780
|
+
var key = this.b55_1.v57_1;
|
|
781
|
+
var value = this.b55_1;
|
|
782
782
|
this_0.n2(key, value);
|
|
783
783
|
}
|
|
784
|
-
protoOf(ScopeRegistry).
|
|
784
|
+
protoOf(ScopeRegistry).c55 = function (modules) {
|
|
785
785
|
// Inline function 'kotlin.collections.forEach' call
|
|
786
786
|
var tmp0_iterator = modules.p();
|
|
787
787
|
while (tmp0_iterator.q()) {
|
|
@@ -795,9 +795,9 @@
|
|
|
795
795
|
}
|
|
796
796
|
function resolveWithOptionalLogging($this, clazz, qualifier, parameters) {
|
|
797
797
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
798
|
-
var this_0 = $this.
|
|
798
|
+
var this_0 = $this.x57_1.s54_1;
|
|
799
799
|
var lvl = Level_DEBUG_getInstance();
|
|
800
|
-
if (!(this_0.
|
|
800
|
+
if (!(this_0.e55_1.u2(lvl) <= 0)) {
|
|
801
801
|
return resolveInstance($this, qualifier, clazz, parameters);
|
|
802
802
|
}
|
|
803
803
|
// Inline function 'org.koin.core.scope.Scope.logInstanceRequest' call
|
|
@@ -812,8 +812,8 @@
|
|
|
812
812
|
}
|
|
813
813
|
var tmp1_elvis_lhs = tmp;
|
|
814
814
|
var qualifierString = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
815
|
-
var scopeId = $this.
|
|
816
|
-
$this.
|
|
815
|
+
var scopeId = $this.w57_1 ? '' : " - scope:'" + $this.v57_1 + "'";
|
|
816
|
+
$this.x57_1.s54_1.m55(Level_DEBUG_getInstance(), "|- '" + getFullName(clazz) + "'" + qualifierString + scopeId + '...');
|
|
817
817
|
// Inline function 'kotlin.time.measureTimedValue' call
|
|
818
818
|
// Inline function 'kotlin.contracts.contract' call
|
|
819
819
|
// Inline function 'kotlin.time.measureTimedValue' call
|
|
@@ -824,15 +824,15 @@
|
|
|
824
824
|
var result_0 = new TimedValue(result, ValueTimeMark__elapsedNow_impl_eonqvs(mark));
|
|
825
825
|
// Inline function 'org.koin.core.scope.Scope.logInstanceDuration' call
|
|
826
826
|
var duration = result_0.tj_1;
|
|
827
|
-
$this.
|
|
827
|
+
$this.x57_1.s54_1.m55(Level_DEBUG_getInstance(), "|- '" + getFullName(clazz) + "' in " + get_inMs(duration) + ' ms');
|
|
828
828
|
return result_0.sj_1;
|
|
829
829
|
}
|
|
830
830
|
function resolveInstance($this, qualifier, clazz, parameters) {
|
|
831
831
|
// Inline function 'org.koin.core.scope.Scope.checkScopeIsOpen' call
|
|
832
|
-
if ($this.
|
|
833
|
-
throw new ClosedScopeException("Scope '" + $this.
|
|
832
|
+
if ($this.c58_1) {
|
|
833
|
+
throw new ClosedScopeException("Scope '" + $this.v57_1 + "' is closed");
|
|
834
834
|
}
|
|
835
|
-
var instanceContext = new ResolutionContext($this.
|
|
835
|
+
var instanceContext = new ResolutionContext($this.x57_1.s54_1, $this, clazz, qualifier, parameters);
|
|
836
836
|
return stackParametersCall($this, parameters, instanceContext);
|
|
837
837
|
}
|
|
838
838
|
function stackParametersCall($this, parameters, instanceContext) {
|
|
@@ -840,19 +840,19 @@
|
|
|
840
840
|
return resolveFromContext($this, instanceContext);
|
|
841
841
|
}
|
|
842
842
|
// Inline function 'org.koin.core.logger.Logger.log' call
|
|
843
|
-
var this_0 = $this.
|
|
843
|
+
var this_0 = $this.x57_1.s54_1;
|
|
844
844
|
var lvl = Level_DEBUG_getInstance();
|
|
845
845
|
// Inline function 'org.koin.core.logger.Logger.isAt' call
|
|
846
|
-
if (this_0.
|
|
846
|
+
if (this_0.e55_1.u2(lvl) <= 0) {
|
|
847
847
|
// Inline function 'org.koin.core.scope.Scope.stackParametersCall.<anonymous>' call
|
|
848
848
|
var tmp$ret$1 = '| >> parameters ' + toString(parameters);
|
|
849
|
-
this_0.
|
|
849
|
+
this_0.m55(lvl, tmp$ret$1);
|
|
850
850
|
}
|
|
851
851
|
var stack = onParameterOnStack($this, parameters);
|
|
852
852
|
try {
|
|
853
853
|
return resolveFromContext($this, instanceContext);
|
|
854
854
|
}finally {
|
|
855
|
-
$this.
|
|
855
|
+
$this.x57_1.s54_1.f55('| << parameters');
|
|
856
856
|
clearParameterStack($this, stack);
|
|
857
857
|
}
|
|
858
858
|
}
|
|
@@ -864,30 +864,30 @@
|
|
|
864
864
|
function clearParameterStack($this, stack) {
|
|
865
865
|
stack.kf();
|
|
866
866
|
if (stack.h()) {
|
|
867
|
-
var tmp0_safe_receiver = $this.
|
|
867
|
+
var tmp0_safe_receiver = $this.b58_1;
|
|
868
868
|
if (tmp0_safe_receiver == null)
|
|
869
869
|
null;
|
|
870
870
|
else {
|
|
871
871
|
tmp0_safe_receiver.p4();
|
|
872
872
|
}
|
|
873
|
-
$this.
|
|
873
|
+
$this.b58_1 = null;
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
function getOrCreateParameterStack($this) {
|
|
877
|
-
var tmp0_safe_receiver = $this.
|
|
878
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
877
|
+
var tmp0_safe_receiver = $this.b58_1;
|
|
878
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.dv();
|
|
879
879
|
var tmp;
|
|
880
880
|
if (tmp1_elvis_lhs == null) {
|
|
881
881
|
// Inline function 'kotlin.let' call
|
|
882
882
|
// Inline function 'kotlin.contracts.contract' call
|
|
883
883
|
// Inline function 'org.koin.core.scope.Scope.getOrCreateParameterStack.<anonymous>' call
|
|
884
884
|
var it = ArrayDeque_init_$Create$_0();
|
|
885
|
-
$this.
|
|
886
|
-
var tmp0_safe_receiver_0 = $this.
|
|
885
|
+
$this.b58_1 = new ThreadLocalRef();
|
|
886
|
+
var tmp0_safe_receiver_0 = $this.b58_1;
|
|
887
887
|
if (tmp0_safe_receiver_0 == null)
|
|
888
888
|
null;
|
|
889
889
|
else {
|
|
890
|
-
tmp0_safe_receiver_0.
|
|
890
|
+
tmp0_safe_receiver_0.e54(it);
|
|
891
891
|
}
|
|
892
892
|
tmp = it;
|
|
893
893
|
} else {
|
|
@@ -898,28 +898,28 @@
|
|
|
898
898
|
function resolveFromContext($this, instanceContext) {
|
|
899
899
|
// Inline function 'org.koin.core.scope.Scope.resolveFromInjectedParameters' call
|
|
900
900
|
var tmp;
|
|
901
|
-
if (instanceContext.
|
|
901
|
+
if (instanceContext.m56_1 == null) {
|
|
902
902
|
tmp = null;
|
|
903
903
|
} else {
|
|
904
|
-
$this.
|
|
905
|
-
tmp = instanceContext.
|
|
904
|
+
$this.x57_1.s54_1.f55('|- ? ' + instanceContext.n56_1 + ' look in injected parameters');
|
|
905
|
+
tmp = instanceContext.m56_1.k57(instanceContext.k56_1);
|
|
906
906
|
}
|
|
907
907
|
var tmp0_elvis_lhs = tmp;
|
|
908
908
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? resolveFromRegistry($this, instanceContext) : tmp0_elvis_lhs;
|
|
909
909
|
var tmp_0;
|
|
910
910
|
if (tmp1_elvis_lhs == null) {
|
|
911
911
|
// Inline function 'org.koin.core.scope.Scope.resolveFromStackedParameters' call
|
|
912
|
-
var tmp0_safe_receiver = $this.
|
|
913
|
-
var current = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
912
|
+
var tmp0_safe_receiver = $this.b58_1;
|
|
913
|
+
var current = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.dv();
|
|
914
914
|
var tmp_1;
|
|
915
915
|
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
916
916
|
// Inline function 'kotlin.contracts.contract' call
|
|
917
917
|
if (current == null || current.h()) {
|
|
918
918
|
tmp_1 = null;
|
|
919
919
|
} else {
|
|
920
|
-
$this.
|
|
920
|
+
$this.x57_1.s54_1.f55('|- ? ' + instanceContext.n56_1 + ' look in stack parameters');
|
|
921
921
|
var parameters = current.gf();
|
|
922
|
-
tmp_1 = parameters == null ? null : parameters.
|
|
922
|
+
tmp_1 = parameters == null ? null : parameters.k57(instanceContext.k56_1);
|
|
923
923
|
}
|
|
924
924
|
tmp_0 = tmp_1;
|
|
925
925
|
} else {
|
|
@@ -931,14 +931,14 @@
|
|
|
931
931
|
var tmp$ret$3;
|
|
932
932
|
$l$block: {
|
|
933
933
|
// Inline function 'org.koin.core.scope.Scope.resolveFromScopeSource' call
|
|
934
|
-
if ($this.
|
|
934
|
+
if ($this.w57_1) {
|
|
935
935
|
tmp$ret$3 = null;
|
|
936
936
|
break $l$block;
|
|
937
937
|
}
|
|
938
|
-
$this.
|
|
938
|
+
$this.x57_1.s54_1.f55('|- ? ' + instanceContext.n56_1 + ' look at scope source');
|
|
939
939
|
var tmp_3;
|
|
940
|
-
if (instanceContext.
|
|
941
|
-
var tmp_4 = $this.
|
|
940
|
+
if (instanceContext.k56_1.wa($this.z57_1) && instanceContext.l56_1 == null) {
|
|
941
|
+
var tmp_4 = $this.z57_1;
|
|
942
942
|
tmp_3 = (tmp_4 == null ? true : !(tmp_4 == null)) ? tmp_4 : null;
|
|
943
943
|
} else {
|
|
944
944
|
tmp_3 = null;
|
|
@@ -953,8 +953,8 @@
|
|
|
953
953
|
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? resolveFromParentScopes($this, instanceContext) : tmp3_elvis_lhs;
|
|
954
954
|
var tmp_5;
|
|
955
955
|
if (tmp4_elvis_lhs == null) {
|
|
956
|
-
$this.
|
|
957
|
-
var tmp0_safe_receiver_0 = instanceContext.
|
|
956
|
+
$this.x57_1.s54_1.f55('|- << parameters');
|
|
957
|
+
var tmp0_safe_receiver_0 = instanceContext.l56_1;
|
|
958
958
|
var tmp_6;
|
|
959
959
|
if (tmp0_safe_receiver_0 == null) {
|
|
960
960
|
tmp_6 = null;
|
|
@@ -966,28 +966,28 @@
|
|
|
966
966
|
}
|
|
967
967
|
var tmp1_elvis_lhs_0 = tmp_6;
|
|
968
968
|
var qualifierString = tmp1_elvis_lhs_0 == null ? '' : tmp1_elvis_lhs_0;
|
|
969
|
-
throw new NoDefinitionFoundException("No definition found for type '" + getFullName(instanceContext.
|
|
969
|
+
throw new NoDefinitionFoundException("No definition found for type '" + getFullName(instanceContext.k56_1) + "'" + qualifierString + '. Check your Modules configuration and add missing type and/or qualifier!');
|
|
970
970
|
} else {
|
|
971
971
|
tmp_5 = tmp4_elvis_lhs;
|
|
972
972
|
}
|
|
973
973
|
return tmp_5;
|
|
974
974
|
}
|
|
975
975
|
function resolveFromRegistry($this, ctx) {
|
|
976
|
-
return $this.
|
|
976
|
+
return $this.x57_1.p54_1.q57(ctx.l56_1, ctx.k56_1, $this.u57_1, ctx);
|
|
977
977
|
}
|
|
978
978
|
function resolveFromParentScopes($this, ctx) {
|
|
979
|
-
$this.
|
|
979
|
+
$this.x57_1.s54_1.f55('|- ? ' + ctx.n56_1 + ' look in other scopes');
|
|
980
980
|
return findInOtherScope($this, ctx);
|
|
981
981
|
}
|
|
982
982
|
function findInOtherScope($this, ctx) {
|
|
983
983
|
var tmp$ret$1;
|
|
984
984
|
$l$block: {
|
|
985
985
|
// Inline function 'kotlin.collections.firstNotNullOfOrNull' call
|
|
986
|
-
var tmp0_iterator = $this.
|
|
986
|
+
var tmp0_iterator = $this.y57_1.p();
|
|
987
987
|
while (tmp0_iterator.q()) {
|
|
988
988
|
var element = tmp0_iterator.r();
|
|
989
989
|
// Inline function 'org.koin.core.scope.Scope.findInOtherScope.<anonymous>' call
|
|
990
|
-
var result = element.
|
|
990
|
+
var result = element.d58(ctx);
|
|
991
991
|
if (!(result == null)) {
|
|
992
992
|
tmp$ret$1 = result;
|
|
993
993
|
break $l$block;
|
|
@@ -999,30 +999,30 @@
|
|
|
999
999
|
}
|
|
1000
1000
|
function Scope(scopeQualifier, id, isRoot, _koin) {
|
|
1001
1001
|
isRoot = isRoot === VOID ? false : isRoot;
|
|
1002
|
-
this.
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1005
|
-
this.
|
|
1006
|
-
this.
|
|
1007
|
-
this.
|
|
1008
|
-
this.
|
|
1009
|
-
this.
|
|
1010
|
-
this.
|
|
1011
|
-
}
|
|
1012
|
-
protoOf(Scope).
|
|
1002
|
+
this.u57_1 = scopeQualifier;
|
|
1003
|
+
this.v57_1 = id;
|
|
1004
|
+
this.w57_1 = isRoot;
|
|
1005
|
+
this.x57_1 = _koin;
|
|
1006
|
+
this.y57_1 = LinkedHashSet_init_$Create$();
|
|
1007
|
+
this.z57_1 = null;
|
|
1008
|
+
this.a58_1 = LinkedHashSet_init_$Create$();
|
|
1009
|
+
this.b58_1 = null;
|
|
1010
|
+
this.c58_1 = false;
|
|
1011
|
+
}
|
|
1012
|
+
protoOf(Scope).d58 = function (ctx) {
|
|
1013
1013
|
var tmp;
|
|
1014
1014
|
try {
|
|
1015
|
-
tmp = get(this, ctx.
|
|
1015
|
+
tmp = get(this, ctx.k56_1, ctx.l56_1, ctx.m56_1);
|
|
1016
1016
|
} catch ($p) {
|
|
1017
1017
|
var tmp_0;
|
|
1018
1018
|
if ($p instanceof ClosedScopeException) {
|
|
1019
1019
|
var e = $p;
|
|
1020
|
-
this.
|
|
1020
|
+
this.x57_1.s54_1.f55('* Scope closed - no instance found for ' + getFullName(ctx.k56_1) + ' on scope ' + this.toString());
|
|
1021
1021
|
tmp_0 = null;
|
|
1022
1022
|
} else {
|
|
1023
1023
|
if ($p instanceof NoDefinitionFoundException) {
|
|
1024
1024
|
var e_0 = $p;
|
|
1025
|
-
this.
|
|
1025
|
+
this.x57_1.s54_1.f55("* No instance found for type '" + getFullName(ctx.k56_1) + "' on scope '" + this.toString() + "'");
|
|
1026
1026
|
tmp_0 = null;
|
|
1027
1027
|
} else {
|
|
1028
1028
|
throw $p;
|
|
@@ -1032,11 +1032,11 @@
|
|
|
1032
1032
|
}
|
|
1033
1033
|
return tmp;
|
|
1034
1034
|
};
|
|
1035
|
-
protoOf(Scope).
|
|
1035
|
+
protoOf(Scope).e58 = function (clazz, qualifier, parameters) {
|
|
1036
1036
|
return resolveWithOptionalLogging(this, clazz, qualifier, parameters == null ? null : parameters());
|
|
1037
1037
|
};
|
|
1038
1038
|
protoOf(Scope).toString = function () {
|
|
1039
|
-
return "['" + this.
|
|
1039
|
+
return "['" + this.v57_1 + "']";
|
|
1040
1040
|
};
|
|
1041
1041
|
function get_inMs(_this__u8e3s4) {
|
|
1042
1042
|
// Inline function 'kotlin.Long.div' call
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
}
|
|
1061
1061
|
function saveCache(_this__u8e3s4) {
|
|
1062
1062
|
_init_properties_KClassExt_kt__5ro5b2();
|
|
1063
|
-
var name = KoinPlatformTools_instance.
|
|
1063
|
+
var name = KoinPlatformTools_instance.f58(_this__u8e3s4);
|
|
1064
1064
|
// Inline function 'kotlin.collections.set' call
|
|
1065
1065
|
get_classNames().n2(_this__u8e3s4, name);
|
|
1066
1066
|
return name;
|
|
@@ -1069,13 +1069,13 @@
|
|
|
1069
1069
|
function _init_properties_KClassExt_kt__5ro5b2() {
|
|
1070
1070
|
if (!properties_initialized_KClassExt_kt_dizwhw) {
|
|
1071
1071
|
properties_initialized_KClassExt_kt_dizwhw = true;
|
|
1072
|
-
classNames = KoinPlatformTools_instance.
|
|
1072
|
+
classNames = KoinPlatformTools_instance.n57();
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
1075
|
function KoinPlatform() {
|
|
1076
1076
|
}
|
|
1077
|
-
protoOf(KoinPlatform).
|
|
1078
|
-
return KoinPlatformTools_instance.
|
|
1077
|
+
protoOf(KoinPlatform).g58 = function () {
|
|
1078
|
+
return KoinPlatformTools_instance.n55().dv();
|
|
1079
1079
|
};
|
|
1080
1080
|
var KoinPlatform_instance;
|
|
1081
1081
|
function KoinPlatform_getInstance() {
|
|
@@ -1088,16 +1088,16 @@
|
|
|
1088
1088
|
return Companion_getInstance().uk().toString();
|
|
1089
1089
|
}
|
|
1090
1090
|
function register($this, koinApplication) {
|
|
1091
|
-
if (!($this.
|
|
1091
|
+
if (!($this.h58_1 == null)) {
|
|
1092
1092
|
throw new KoinApplicationAlreadyStartedException('A Koin Application has already been started');
|
|
1093
1093
|
}
|
|
1094
|
-
$this.
|
|
1094
|
+
$this.h58_1 = koinApplication.h55_1;
|
|
1095
1095
|
}
|
|
1096
1096
|
function GlobalContext() {
|
|
1097
|
-
this.
|
|
1097
|
+
this.h58_1 = null;
|
|
1098
1098
|
}
|
|
1099
|
-
protoOf(GlobalContext).
|
|
1100
|
-
var tmp0_elvis_lhs = this.
|
|
1099
|
+
protoOf(GlobalContext).dv = function () {
|
|
1100
|
+
var tmp0_elvis_lhs = this.h58_1;
|
|
1101
1101
|
var tmp;
|
|
1102
1102
|
if (tmp0_elvis_lhs == null) {
|
|
1103
1103
|
var message = 'KoinApplication has not been started';
|
|
@@ -1107,8 +1107,8 @@
|
|
|
1107
1107
|
}
|
|
1108
1108
|
return tmp;
|
|
1109
1109
|
};
|
|
1110
|
-
protoOf(GlobalContext).
|
|
1111
|
-
var koinApplication = Companion_instance.
|
|
1110
|
+
protoOf(GlobalContext).o55 = function (appDeclaration) {
|
|
1111
|
+
var koinApplication = Companion_instance.j55();
|
|
1112
1112
|
register(this, koinApplication);
|
|
1113
1113
|
appDeclaration(koinApplication);
|
|
1114
1114
|
return koinApplication;
|
|
@@ -1119,23 +1119,23 @@
|
|
|
1119
1119
|
}
|
|
1120
1120
|
function KoinPlatformTools() {
|
|
1121
1121
|
}
|
|
1122
|
-
protoOf(KoinPlatformTools).
|
|
1122
|
+
protoOf(KoinPlatformTools).o56 = function (e) {
|
|
1123
1123
|
return e.toString() + toString_0(split(Exception_init_$Create$().toString(), ['\n']));
|
|
1124
1124
|
};
|
|
1125
|
-
protoOf(KoinPlatformTools).
|
|
1125
|
+
protoOf(KoinPlatformTools).f58 = function (kClass) {
|
|
1126
1126
|
var tmp0_elvis_lhs = kClass.va();
|
|
1127
1127
|
return tmp0_elvis_lhs == null ? getKClassDefaultName(this, kClass) : tmp0_elvis_lhs;
|
|
1128
1128
|
};
|
|
1129
|
-
protoOf(KoinPlatformTools).
|
|
1129
|
+
protoOf(KoinPlatformTools).n55 = function () {
|
|
1130
1130
|
return GlobalContext_instance;
|
|
1131
1131
|
};
|
|
1132
|
-
protoOf(KoinPlatformTools).
|
|
1132
|
+
protoOf(KoinPlatformTools).t56 = function (lock, block) {
|
|
1133
1133
|
return block();
|
|
1134
1134
|
};
|
|
1135
|
-
protoOf(KoinPlatformTools).
|
|
1135
|
+
protoOf(KoinPlatformTools).n57 = function () {
|
|
1136
1136
|
return ConcurrentMutableMap_init_$Create$();
|
|
1137
1137
|
};
|
|
1138
|
-
protoOf(KoinPlatformTools).
|
|
1138
|
+
protoOf(KoinPlatformTools).t57 = function () {
|
|
1139
1139
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1140
1140
|
return LinkedHashSet_init_$Create$();
|
|
1141
1141
|
};
|