@cruglobal/godtools-shared 1.1.1 → 1.1.2-PR769-SNAPSHOT.1685
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-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +849 -848
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +2 -0
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -262,17 +262,17 @@
|
|
|
262
262
|
return distinctUntilChanged(state.v1n(tmp, Visibility$isGoneFlow$lambda(this)));
|
|
263
263
|
}
|
|
264
264
|
function watchIsGone(state, block) {
|
|
265
|
-
return Companion_instance_58.
|
|
265
|
+
return Companion_instance_58.b3u(this.isGoneFlow(state), block);
|
|
266
266
|
}
|
|
267
267
|
function watchIsInvisible(state, block) {
|
|
268
|
-
return Companion_instance_58.
|
|
268
|
+
return Companion_instance_58.b3u(this.isInvisibleFlow(state), block);
|
|
269
269
|
}
|
|
270
270
|
function watchVisibility(state, block) {
|
|
271
271
|
var tmp = Companion_instance_58;
|
|
272
272
|
var tmp_0 = this.isInvisibleFlow(state);
|
|
273
273
|
var tmp_1 = this.isGoneFlow(state);
|
|
274
274
|
var tmp_2 = combine(tmp_0, tmp_1, Visibility$watchVisibility$slambda_0(null));
|
|
275
|
-
return tmp.
|
|
275
|
+
return tmp.b3u(tmp_2, Visibility$watchVisibility$lambda(block));
|
|
276
276
|
}
|
|
277
277
|
initMetadataForInterface(Visibility, 'Visibility');
|
|
278
278
|
initMetadataForClass(Content, 'Content', VOID, BaseModel, [BaseModel, Visibility]);
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
// Inline function 'kotlin.let' call
|
|
376
376
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.HasPages.findPage.<anonymous>' call
|
|
377
377
|
// Inline function 'kotlin.collections.find' call
|
|
378
|
-
var tmp0 = this.
|
|
378
|
+
var tmp0 = this.n3l();
|
|
379
379
|
var tmp$ret$1;
|
|
380
380
|
$l$block: {
|
|
381
381
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
}
|
|
397
397
|
function get_pages() {
|
|
398
398
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
399
|
-
var this_0 = this.
|
|
399
|
+
var this_0 = this.n3l();
|
|
400
400
|
return copyToArray(this_0);
|
|
401
401
|
}
|
|
402
402
|
initMetadataForInterface(HasPages, 'HasPages', VOID, VOID, [Base]);
|
|
@@ -3334,7 +3334,7 @@
|
|
|
3334
3334
|
var tmp1_safe_receiver = parser.j3e('row-gravity');
|
|
3335
3335
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : Companion_getInstance_22().s3h(tmp1_safe_receiver);
|
|
3336
3336
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.horizontal;
|
|
3337
|
-
tmp_0.
|
|
3337
|
+
tmp_0.rowGravity = tmp3_elvis_lhs == null ? Companion_getInstance_20().e3k_1 : tmp3_elvis_lhs;
|
|
3338
3338
|
var tmp_1 = $this;
|
|
3339
3339
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3340
3340
|
tmp_1._items = ArrayList_init_$Create$();
|
|
@@ -3368,10 +3368,10 @@
|
|
|
3368
3368
|
function Flow_init_$Create$(parent, parser) {
|
|
3369
3369
|
return Flow_init_$Init$(parent, parser, objectCreate(protoOf(Flow)));
|
|
3370
3370
|
}
|
|
3371
|
-
protoOf(Item).
|
|
3371
|
+
protoOf(Item).m3k = function () {
|
|
3372
3372
|
return this.flow;
|
|
3373
3373
|
};
|
|
3374
|
-
protoOf(Item).
|
|
3374
|
+
protoOf(Item).r3g = function () {
|
|
3375
3375
|
var tmp0_elvis_lhs = this.x3j_1;
|
|
3376
3376
|
return tmp0_elvis_lhs == null ? this.flow.l3k_1 : tmp0_elvis_lhs;
|
|
3377
3377
|
};
|
|
@@ -3406,19 +3406,19 @@
|
|
|
3406
3406
|
return tmp;
|
|
3407
3407
|
};
|
|
3408
3408
|
}
|
|
3409
|
-
protoOf(Flow).
|
|
3409
|
+
protoOf(Flow).n3k = function () {
|
|
3410
3410
|
return this.l3k_1;
|
|
3411
3411
|
};
|
|
3412
|
-
protoOf(Flow).
|
|
3413
|
-
return this.
|
|
3412
|
+
protoOf(Flow).o3k = function () {
|
|
3413
|
+
return this.rowGravity;
|
|
3414
3414
|
};
|
|
3415
|
-
protoOf(Flow).
|
|
3415
|
+
protoOf(Flow).p3k = function () {
|
|
3416
3416
|
return this._items;
|
|
3417
3417
|
};
|
|
3418
3418
|
protoOf(Flow).g3d = function () {
|
|
3419
3419
|
return !this.x39().i3f_1.i3c('flow') || protoOf(Content).g3d.call(this);
|
|
3420
3420
|
};
|
|
3421
|
-
protoOf(Flow).
|
|
3421
|
+
protoOf(Flow).q3k = function () {
|
|
3422
3422
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3423
3423
|
var this_0 = this._items;
|
|
3424
3424
|
return copyToArray(this_0);
|
|
@@ -3427,7 +3427,7 @@
|
|
|
3427
3427
|
Companion_getInstance_20();
|
|
3428
3428
|
}
|
|
3429
3429
|
function Companion_18() {
|
|
3430
|
-
this.
|
|
3430
|
+
this.r3k_1 = 'form';
|
|
3431
3431
|
}
|
|
3432
3432
|
var Companion_instance_19;
|
|
3433
3433
|
function Companion_getInstance_21() {
|
|
@@ -3483,14 +3483,14 @@
|
|
|
3483
3483
|
continue $l$loop_0;
|
|
3484
3484
|
skipTag(parser);
|
|
3485
3485
|
}
|
|
3486
|
-
tmp.
|
|
3486
|
+
tmp.y3k_1 = this_0.p3();
|
|
3487
3487
|
return $this;
|
|
3488
3488
|
}
|
|
3489
3489
|
function Form_init_$Create$(parent, parser) {
|
|
3490
3490
|
return Form_init_$Init$(parent, parser, objectCreate(protoOf(Form)));
|
|
3491
3491
|
}
|
|
3492
3492
|
protoOf(Form).q3d = function () {
|
|
3493
|
-
return this.
|
|
3493
|
+
return this.y3k_1;
|
|
3494
3494
|
};
|
|
3495
3495
|
protoOf(Form).a3e = function () {
|
|
3496
3496
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -3576,7 +3576,7 @@
|
|
|
3576
3576
|
Companion_instance_20 = this;
|
|
3577
3577
|
this.CENTER = new Gravity(Horizontal_CENTER_getInstance(), Vertical_CENTER_getInstance());
|
|
3578
3578
|
}
|
|
3579
|
-
protoOf(Companion_19).
|
|
3579
|
+
protoOf(Companion_19).z3k = function () {
|
|
3580
3580
|
return this.CENTER;
|
|
3581
3581
|
};
|
|
3582
3582
|
protoOf(Companion_19).s3h = function (_this__u8e3s4) {
|
|
@@ -3699,31 +3699,31 @@
|
|
|
3699
3699
|
this.horizontal = horizontal;
|
|
3700
3700
|
this.vertical = vertical;
|
|
3701
3701
|
}
|
|
3702
|
-
protoOf(Gravity).
|
|
3702
|
+
protoOf(Gravity).e3l = function () {
|
|
3703
3703
|
return this.horizontal;
|
|
3704
3704
|
};
|
|
3705
|
-
protoOf(Gravity).
|
|
3705
|
+
protoOf(Gravity).f3l = function () {
|
|
3706
3706
|
return this.vertical;
|
|
3707
3707
|
};
|
|
3708
|
-
protoOf(Gravity).
|
|
3708
|
+
protoOf(Gravity).g3l = function () {
|
|
3709
3709
|
return this.horizontal.equals(Horizontal_START_getInstance());
|
|
3710
3710
|
};
|
|
3711
|
-
protoOf(Gravity).
|
|
3711
|
+
protoOf(Gravity).h3l = function () {
|
|
3712
3712
|
return this.horizontal.equals(Horizontal_END_getInstance());
|
|
3713
3713
|
};
|
|
3714
|
-
protoOf(Gravity).
|
|
3714
|
+
protoOf(Gravity).i3l = function () {
|
|
3715
3715
|
return this.horizontal.equals(Horizontal_CENTER_getInstance());
|
|
3716
3716
|
};
|
|
3717
|
-
protoOf(Gravity).
|
|
3717
|
+
protoOf(Gravity).j3l = function () {
|
|
3718
3718
|
return this.vertical.equals(Vertical_TOP_getInstance());
|
|
3719
3719
|
};
|
|
3720
|
-
protoOf(Gravity).
|
|
3720
|
+
protoOf(Gravity).k3l = function () {
|
|
3721
3721
|
return this.vertical.equals(Vertical_BOTTOM_getInstance());
|
|
3722
3722
|
};
|
|
3723
|
-
protoOf(Gravity).
|
|
3723
|
+
protoOf(Gravity).l3l = function () {
|
|
3724
3724
|
return this.vertical.equals(Vertical_CENTER_getInstance());
|
|
3725
3725
|
};
|
|
3726
|
-
protoOf(Gravity).
|
|
3726
|
+
protoOf(Gravity).m3l = function () {
|
|
3727
3727
|
return this.isCenterX && this.isCenterY;
|
|
3728
3728
|
};
|
|
3729
3729
|
function HasAnalyticsEvents() {
|
|
@@ -3732,9 +3732,9 @@
|
|
|
3732
3732
|
}
|
|
3733
3733
|
function Companion_20() {
|
|
3734
3734
|
Companion_instance_21 = this;
|
|
3735
|
-
this.
|
|
3736
|
-
this.
|
|
3737
|
-
this.
|
|
3735
|
+
this.q3l_1 = 'image';
|
|
3736
|
+
this.r3l_1 = Horizontal_CENTER_getInstance();
|
|
3737
|
+
this.s3l_1 = new Percent(1.0);
|
|
3738
3738
|
}
|
|
3739
3739
|
var Companion_instance_21;
|
|
3740
3740
|
function Companion_getInstance_23() {
|
|
@@ -3746,7 +3746,7 @@
|
|
|
3746
3746
|
Content_init_$Init$(parent, parser, $this);
|
|
3747
3747
|
Image.call($this);
|
|
3748
3748
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'image');
|
|
3749
|
-
$this.
|
|
3749
|
+
$this.b3m_1 = parser.j3e('resource');
|
|
3750
3750
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseClickableAttrs' call
|
|
3751
3751
|
var tmp0_safe_receiver = parser.j3e('url');
|
|
3752
3752
|
var tmp;
|
|
@@ -3776,12 +3776,12 @@
|
|
|
3776
3776
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.toEventIds' call
|
|
3777
3777
|
var this_0 = parser.j3e('events');
|
|
3778
3778
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Image.<init>.<anonymous>' call
|
|
3779
|
-
$this.
|
|
3780
|
-
$this.
|
|
3779
|
+
$this.z3l_1 = Companion_getInstance_17().g3f(this_0);
|
|
3780
|
+
$this.a3m_1 = uri;
|
|
3781
3781
|
var tmp_1 = $this;
|
|
3782
3782
|
var tmp0_safe_receiver_0 = Companion_getInstance_22().s3h(parser.j3e('gravity'));
|
|
3783
3783
|
var tmp1_elvis_lhs = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.horizontal;
|
|
3784
|
-
tmp_1.gravity = tmp1_elvis_lhs == null ? Companion_getInstance_23().
|
|
3784
|
+
tmp_1.gravity = tmp1_elvis_lhs == null ? Companion_getInstance_23().r3l_1 : tmp1_elvis_lhs;
|
|
3785
3785
|
var tmp_2 = $this;
|
|
3786
3786
|
var tmp2_safe_receiver = Companion_instance_14.t3h(parser.j3e('width'));
|
|
3787
3787
|
var tmp_3;
|
|
@@ -3799,7 +3799,7 @@
|
|
|
3799
3799
|
tmp_3 = tmp_4;
|
|
3800
3800
|
}
|
|
3801
3801
|
var tmp3_elvis_lhs = tmp_3;
|
|
3802
|
-
tmp_2.width = tmp3_elvis_lhs == null ? Companion_getInstance_23().
|
|
3802
|
+
tmp_2.width = tmp3_elvis_lhs == null ? Companion_getInstance_23().s3l_1 : tmp3_elvis_lhs;
|
|
3803
3803
|
skipTag(parser);
|
|
3804
3804
|
return $this;
|
|
3805
3805
|
}
|
|
@@ -3809,42 +3809,42 @@
|
|
|
3809
3809
|
function Image_init_$Init$_0(parent, resource, gravity, width, events, url, invisibleIf, goneIf, $this) {
|
|
3810
3810
|
parent = parent === VOID ? createTestManifest() : parent;
|
|
3811
3811
|
resource = resource === VOID ? null : resource;
|
|
3812
|
-
gravity = gravity === VOID ? Companion_getInstance_23().
|
|
3813
|
-
width = width === VOID ? Companion_getInstance_23().
|
|
3812
|
+
gravity = gravity === VOID ? Companion_getInstance_23().r3l_1 : gravity;
|
|
3813
|
+
width = width === VOID ? Companion_getInstance_23().s3l_1 : width;
|
|
3814
3814
|
events = events === VOID ? emptyList() : events;
|
|
3815
3815
|
url = url === VOID ? null : url;
|
|
3816
3816
|
invisibleIf = invisibleIf === VOID ? null : invisibleIf;
|
|
3817
3817
|
goneIf = goneIf === VOID ? null : goneIf;
|
|
3818
3818
|
Content_init_$Init$_0(parent, VOID, VOID, VOID, VOID, VOID, invisibleIf, goneIf, $this);
|
|
3819
3819
|
Image.call($this);
|
|
3820
|
-
$this.
|
|
3820
|
+
$this.b3m_1 = resource;
|
|
3821
3821
|
$this.gravity = gravity;
|
|
3822
3822
|
$this.width = width;
|
|
3823
|
-
$this.
|
|
3824
|
-
$this.
|
|
3823
|
+
$this.z3l_1 = events;
|
|
3824
|
+
$this.a3m_1 = url;
|
|
3825
3825
|
return $this;
|
|
3826
3826
|
}
|
|
3827
3827
|
function createTestImage(parent, resource, gravity, width, events, url, invisibleIf, goneIf) {
|
|
3828
3828
|
return Image_init_$Init$_0(parent, resource, gravity, width, events, url, invisibleIf, goneIf, objectCreate(protoOf(Image)));
|
|
3829
3829
|
}
|
|
3830
3830
|
protoOf(Image).k3g = function () {
|
|
3831
|
-
return this.
|
|
3831
|
+
return this.z3l_1;
|
|
3832
3832
|
};
|
|
3833
3833
|
protoOf(Image).l3g = function () {
|
|
3834
|
-
return this.
|
|
3834
|
+
return this.a3m_1;
|
|
3835
3835
|
};
|
|
3836
3836
|
protoOf(Image).e3g = function () {
|
|
3837
|
-
return this.
|
|
3837
|
+
return this.b3m_1;
|
|
3838
3838
|
};
|
|
3839
3839
|
protoOf(Image).f3g = function () {
|
|
3840
|
-
var tmp0_elvis_lhs = getResource(this, this.
|
|
3840
|
+
var tmp0_elvis_lhs = getResource(this, this.b3m_1);
|
|
3841
3841
|
var tmp;
|
|
3842
3842
|
if (tmp0_elvis_lhs == null) {
|
|
3843
3843
|
var tmp_0;
|
|
3844
|
-
if (this.
|
|
3844
|
+
if (this.b3m_1 == null) {
|
|
3845
3845
|
tmp_0 = null;
|
|
3846
3846
|
} else if (this.x39().i3f_1.n3b_1) {
|
|
3847
|
-
var message = 'tool: ' + this.x39().code + ' locale: ' + this.x39().locale + ' resource: ' + this.
|
|
3847
|
+
var message = 'tool: ' + this.x39().code + ' locale: ' + this.x39().locale + ' resource: ' + this.b3m_1;
|
|
3848
3848
|
var tmp0 = Companion_getInstance();
|
|
3849
3849
|
// Inline function 'co.touchlab.kermit.Logger.e' call
|
|
3850
3850
|
var throwable = new DeprecationException('Legacy Manifest missing Image Resource ' + message);
|
|
@@ -3853,7 +3853,7 @@
|
|
|
3853
3853
|
if (tmp0.z1u().q1v().s2(severity) <= 0) {
|
|
3854
3854
|
tmp0.a1v(severity, 'Image', throwable, message);
|
|
3855
3855
|
}
|
|
3856
|
-
tmp_0 = Resource_init_$Create$_0(this.x39(), this.
|
|
3856
|
+
tmp_0 = Resource_init_$Create$_0(this.x39(), this.b3m_1);
|
|
3857
3857
|
} else {
|
|
3858
3858
|
tmp_0 = null;
|
|
3859
3859
|
}
|
|
@@ -3875,7 +3875,7 @@
|
|
|
3875
3875
|
tmp = true;
|
|
3876
3876
|
} else {
|
|
3877
3877
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3878
|
-
var this_0 = this.
|
|
3878
|
+
var this_0 = this.b3m_1;
|
|
3879
3879
|
tmp = this_0 == null || charSequenceLength(this_0) === 0;
|
|
3880
3880
|
}
|
|
3881
3881
|
return tmp;
|
|
@@ -3900,10 +3900,10 @@
|
|
|
3900
3900
|
if (!equals(this.width, other.width)) {
|
|
3901
3901
|
tmp = false;
|
|
3902
3902
|
} else {
|
|
3903
|
-
if (!equals(this.
|
|
3903
|
+
if (!equals(this.z3l_1, other.z3l_1)) {
|
|
3904
3904
|
tmp = false;
|
|
3905
3905
|
} else {
|
|
3906
|
-
if (!(this.
|
|
3906
|
+
if (!(this.a3m_1 == other.a3m_1)) {
|
|
3907
3907
|
tmp = false;
|
|
3908
3908
|
} else {
|
|
3909
3909
|
if (!equals(this.invisibleIf, other.invisibleIf)) {
|
|
@@ -3926,9 +3926,9 @@
|
|
|
3926
3926
|
return tmp;
|
|
3927
3927
|
};
|
|
3928
3928
|
protoOf(Image).hashCode = function () {
|
|
3929
|
-
var result = hashCode(this.
|
|
3929
|
+
var result = hashCode(this.z3l_1);
|
|
3930
3930
|
var tmp = imul(31, result);
|
|
3931
|
-
var tmp0_safe_receiver = this.
|
|
3931
|
+
var tmp0_safe_receiver = this.a3m_1;
|
|
3932
3932
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
3933
3933
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
3934
3934
|
var tmp_0 = imul(31, result);
|
|
@@ -3948,7 +3948,7 @@
|
|
|
3948
3948
|
var ImageScaleType_FILL_Y_instance;
|
|
3949
3949
|
function Companion_21() {
|
|
3950
3950
|
}
|
|
3951
|
-
protoOf(Companion_21).
|
|
3951
|
+
protoOf(Companion_21).c3m = function (_this__u8e3s4) {
|
|
3952
3952
|
switch (_this__u8e3s4) {
|
|
3953
3953
|
case 'fit':
|
|
3954
3954
|
return ImageScaleType_FIT_getInstance();
|
|
@@ -4026,9 +4026,9 @@
|
|
|
4026
4026
|
var Type_HIDDEN_instance;
|
|
4027
4027
|
function Companion_22() {
|
|
4028
4028
|
Companion_instance_23 = this;
|
|
4029
|
-
this.
|
|
4029
|
+
this.d3m_1 = Type_TEXT_getInstance();
|
|
4030
4030
|
}
|
|
4031
|
-
protoOf(Companion_22).
|
|
4031
|
+
protoOf(Companion_22).e3m = function (_this__u8e3s4) {
|
|
4032
4032
|
switch (_this__u8e3s4) {
|
|
4033
4033
|
case 'email':
|
|
4034
4034
|
return Type_EMAIL_getInstance();
|
|
@@ -4080,7 +4080,7 @@
|
|
|
4080
4080
|
Companion_getInstance_25();
|
|
4081
4081
|
}
|
|
4082
4082
|
function Companion_23() {
|
|
4083
|
-
this.
|
|
4083
|
+
this.f3m_1 = 'input';
|
|
4084
4084
|
}
|
|
4085
4085
|
var Companion_instance_24;
|
|
4086
4086
|
function Companion_getInstance_26() {
|
|
@@ -4092,8 +4092,8 @@
|
|
|
4092
4092
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'input');
|
|
4093
4093
|
var tmp = $this;
|
|
4094
4094
|
var tmp0_safe_receiver = parser.j3e('type');
|
|
4095
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_25().
|
|
4096
|
-
tmp.type = tmp1_elvis_lhs == null ? Companion_getInstance_25().
|
|
4095
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_25().e3m(tmp0_safe_receiver);
|
|
4096
|
+
tmp.type = tmp1_elvis_lhs == null ? Companion_getInstance_25().d3m_1 : tmp1_elvis_lhs;
|
|
4097
4097
|
$this.name = parser.j3e('name');
|
|
4098
4098
|
$this.value = parser.j3e('value');
|
|
4099
4099
|
var tmp_0 = $this;
|
|
@@ -4155,13 +4155,13 @@
|
|
|
4155
4155
|
protoOf(Input).h2 = function () {
|
|
4156
4156
|
return this.value;
|
|
4157
4157
|
};
|
|
4158
|
-
protoOf(Input).
|
|
4158
|
+
protoOf(Input).o3m = function () {
|
|
4159
4159
|
return this.isRequired;
|
|
4160
4160
|
};
|
|
4161
|
-
protoOf(Input).
|
|
4161
|
+
protoOf(Input).p3m = function () {
|
|
4162
4162
|
return this.label;
|
|
4163
4163
|
};
|
|
4164
|
-
protoOf(Input).
|
|
4164
|
+
protoOf(Input).q3m = function () {
|
|
4165
4165
|
return this.placeholder;
|
|
4166
4166
|
};
|
|
4167
4167
|
protoOf(Input).validateValue = function (raw) {
|
|
@@ -4207,14 +4207,14 @@
|
|
|
4207
4207
|
}
|
|
4208
4208
|
}
|
|
4209
4209
|
function Companion_24() {
|
|
4210
|
-
this.
|
|
4210
|
+
this.r3m_1 = 'link';
|
|
4211
4211
|
}
|
|
4212
4212
|
var Companion_instance_25;
|
|
4213
4213
|
function Companion_getInstance_27() {
|
|
4214
4214
|
return Companion_instance_25;
|
|
4215
4215
|
}
|
|
4216
4216
|
function _get_defaultTextStyles__fjozb5_0($this) {
|
|
4217
|
-
var tmp0 = $this.
|
|
4217
|
+
var tmp0 = $this.a3n_1;
|
|
4218
4218
|
// Inline function 'kotlin.getValue' call
|
|
4219
4219
|
defaultTextStyles$factory_0();
|
|
4220
4220
|
return tmp0.h2();
|
|
@@ -4252,11 +4252,11 @@
|
|
|
4252
4252
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.toEventIds' call
|
|
4253
4253
|
var this_0 = parser.j3e('events');
|
|
4254
4254
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Link.<init>.<anonymous>' call
|
|
4255
|
-
$this.
|
|
4256
|
-
$this.
|
|
4255
|
+
$this.y3m_1 = Companion_getInstance_17().g3f(this_0);
|
|
4256
|
+
$this.z3m_1 = uri;
|
|
4257
4257
|
var tmp_1 = $this;
|
|
4258
4258
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4259
|
-
tmp_1.
|
|
4259
|
+
tmp_1.b3n_1 = ArrayList_init_$Create$();
|
|
4260
4260
|
var tmp_2 = $this;
|
|
4261
4261
|
var tmp_3 = _get_defaultTextStyles__fjozb5_0($this);
|
|
4262
4262
|
var tmp0_elvis_lhs = parseTextChild(parser, tmp_3, 'https://mobile-content-api.cru.org/xmlns/content', 'link', Link$_init_$lambda_v5gdv3(parser, $this));
|
|
@@ -4282,7 +4282,7 @@
|
|
|
4282
4282
|
if ($parser.w3c() === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
4283
4283
|
var tmp_0;
|
|
4284
4284
|
if ($parser.q2() === 'events') {
|
|
4285
|
-
var tmp0 = this$0.
|
|
4285
|
+
var tmp0 = this$0.b3n_1;
|
|
4286
4286
|
var elements = Companion_instance_4.y3c($parser, this$0);
|
|
4287
4287
|
addAll(tmp0, elements);
|
|
4288
4288
|
tmp_0 = Unit_instance;
|
|
@@ -4293,10 +4293,10 @@
|
|
|
4293
4293
|
};
|
|
4294
4294
|
}
|
|
4295
4295
|
protoOf(Link).k3g = function () {
|
|
4296
|
-
return this.
|
|
4296
|
+
return this.y3m_1;
|
|
4297
4297
|
};
|
|
4298
4298
|
protoOf(Link).l3g = function () {
|
|
4299
|
-
return this.
|
|
4299
|
+
return this.z3m_1;
|
|
4300
4300
|
};
|
|
4301
4301
|
protoOf(Link).c20 = function () {
|
|
4302
4302
|
return this.text;
|
|
@@ -4305,13 +4305,13 @@
|
|
|
4305
4305
|
return protoOf(Content).g3d.call(this) || !this.isClickable;
|
|
4306
4306
|
};
|
|
4307
4307
|
protoOf(Link).d3i = function () {
|
|
4308
|
-
return this.
|
|
4308
|
+
return this.b3n_1;
|
|
4309
4309
|
};
|
|
4310
4310
|
protoOf(Link).r3d = function (type) {
|
|
4311
4311
|
var tmp;
|
|
4312
4312
|
if (type.p2_1 === 2) {
|
|
4313
4313
|
// Inline function 'kotlin.collections.filter' call
|
|
4314
|
-
var tmp0 = this.
|
|
4314
|
+
var tmp0 = this.b3n_1;
|
|
4315
4315
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4316
4316
|
var destination = ArrayList_init_$Create$();
|
|
4317
4317
|
var _iterator__ex2g4s = tmp0.j();
|
|
@@ -4334,7 +4334,7 @@
|
|
|
4334
4334
|
};
|
|
4335
4335
|
function Link() {
|
|
4336
4336
|
var tmp = this;
|
|
4337
|
-
tmp.
|
|
4337
|
+
tmp.a3n_1 = lazy(Link$defaultTextStyles$delegate$lambda(this));
|
|
4338
4338
|
}
|
|
4339
4339
|
function defaultTextStyles$factory_0() {
|
|
4340
4340
|
return getPropertyCallableRef('defaultTextStyles', 1, KProperty1, function (receiver) {
|
|
@@ -4342,20 +4342,20 @@
|
|
|
4342
4342
|
}, null);
|
|
4343
4343
|
}
|
|
4344
4344
|
function Manifest$Companion$parse$slambda$slambda$slambda($manifest, $name, $parseFile, $src, resultContinuation) {
|
|
4345
|
-
this.
|
|
4346
|
-
this.
|
|
4347
|
-
this.
|
|
4348
|
-
this.
|
|
4345
|
+
this.k3n_1 = $manifest;
|
|
4346
|
+
this.l3n_1 = $name;
|
|
4347
|
+
this.m3n_1 = $parseFile;
|
|
4348
|
+
this.n3n_1 = $src;
|
|
4349
4349
|
CoroutineImpl.call(this, resultContinuation);
|
|
4350
4350
|
}
|
|
4351
|
-
protoOf(Manifest$Companion$parse$slambda$slambda$slambda).
|
|
4351
|
+
protoOf(Manifest$Companion$parse$slambda$slambda$slambda).r3n = function ($this$async, $completion) {
|
|
4352
4352
|
var tmp = this.v19($this$async, $completion);
|
|
4353
4353
|
tmp.e9_1 = Unit_instance;
|
|
4354
4354
|
tmp.f9_1 = null;
|
|
4355
4355
|
return tmp.u9();
|
|
4356
4356
|
};
|
|
4357
4357
|
protoOf(Manifest$Companion$parse$slambda$slambda$slambda).ea = function (p1, $completion) {
|
|
4358
|
-
return this.
|
|
4358
|
+
return this.r3n((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4359
4359
|
};
|
|
4360
4360
|
protoOf(Manifest$Companion$parse$slambda$slambda$slambda).u9 = function () {
|
|
4361
4361
|
var suspendResult = this.e9_1;
|
|
@@ -4365,18 +4365,18 @@
|
|
|
4365
4365
|
switch (tmp) {
|
|
4366
4366
|
case 0:
|
|
4367
4367
|
this.d9_1 = 3;
|
|
4368
|
-
this.
|
|
4368
|
+
this.p3n_1 = Companion_getInstance_48();
|
|
4369
4369
|
this.c9_1 = 1;
|
|
4370
|
-
suspendResult = this.
|
|
4370
|
+
suspendResult = this.m3n_1(this.n3n_1, this);
|
|
4371
4371
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4372
4372
|
return suspendResult;
|
|
4373
4373
|
}
|
|
4374
4374
|
|
|
4375
4375
|
continue $sm;
|
|
4376
4376
|
case 1:
|
|
4377
|
-
this.
|
|
4377
|
+
this.q3n_1 = suspendResult;
|
|
4378
4378
|
this.c9_1 = 2;
|
|
4379
|
-
suspendResult = this.
|
|
4379
|
+
suspendResult = this.p3n_1.x3n(this.k3n_1, this.l3n_1, this.q3n_1, this.m3n_1, this);
|
|
4380
4380
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4381
4381
|
return suspendResult;
|
|
4382
4382
|
}
|
|
@@ -4399,33 +4399,33 @@
|
|
|
4399
4399
|
while (true);
|
|
4400
4400
|
};
|
|
4401
4401
|
protoOf(Manifest$Companion$parse$slambda$slambda$slambda).v19 = function ($this$async, completion) {
|
|
4402
|
-
var i = new Manifest$Companion$parse$slambda$slambda$slambda(this.
|
|
4403
|
-
i.
|
|
4402
|
+
var i = new Manifest$Companion$parse$slambda$slambda$slambda(this.k3n_1, this.l3n_1, this.m3n_1, this.n3n_1, completion);
|
|
4403
|
+
i.o3n_1 = $this$async;
|
|
4404
4404
|
return i;
|
|
4405
4405
|
};
|
|
4406
4406
|
function Manifest$Companion$parse$slambda$slambda$slambda_0($manifest, $name, $parseFile, $src, resultContinuation) {
|
|
4407
4407
|
var i = new Manifest$Companion$parse$slambda$slambda$slambda($manifest, $name, $parseFile, $src, resultContinuation);
|
|
4408
4408
|
var l = function ($this$async, $completion) {
|
|
4409
|
-
return i.
|
|
4409
|
+
return i.r3n($this$async, $completion);
|
|
4410
4410
|
};
|
|
4411
4411
|
l.$arity = 1;
|
|
4412
4412
|
return l;
|
|
4413
4413
|
}
|
|
4414
4414
|
function Manifest$Companion$parse$slambda$slambda$slambda_1($manifest, $id, $parseFile, $src, resultContinuation) {
|
|
4415
|
-
this.
|
|
4416
|
-
this.
|
|
4417
|
-
this.
|
|
4418
|
-
this.
|
|
4415
|
+
this.g3o_1 = $manifest;
|
|
4416
|
+
this.h3o_1 = $id;
|
|
4417
|
+
this.i3o_1 = $parseFile;
|
|
4418
|
+
this.j3o_1 = $src;
|
|
4419
4419
|
CoroutineImpl.call(this, resultContinuation);
|
|
4420
4420
|
}
|
|
4421
|
-
protoOf(Manifest$Companion$parse$slambda$slambda$slambda_1).
|
|
4421
|
+
protoOf(Manifest$Companion$parse$slambda$slambda$slambda_1).m3o = function ($this$async, $completion) {
|
|
4422
4422
|
var tmp = this.v19($this$async, $completion);
|
|
4423
4423
|
tmp.e9_1 = Unit_instance;
|
|
4424
4424
|
tmp.f9_1 = null;
|
|
4425
4425
|
return tmp.u9();
|
|
4426
4426
|
};
|
|
4427
4427
|
protoOf(Manifest$Companion$parse$slambda$slambda$slambda_1).ea = function (p1, $completion) {
|
|
4428
|
-
return this.
|
|
4428
|
+
return this.m3o((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4429
4429
|
};
|
|
4430
4430
|
protoOf(Manifest$Companion$parse$slambda$slambda$slambda_1).u9 = function () {
|
|
4431
4431
|
var suspendResult = this.e9_1;
|
|
@@ -4436,10 +4436,10 @@
|
|
|
4436
4436
|
case 0:
|
|
4437
4437
|
this.d9_1 = 2;
|
|
4438
4438
|
var tmp_0 = this;
|
|
4439
|
-
var tmp0_elvis_lhs = this.
|
|
4440
|
-
tmp_0.
|
|
4439
|
+
var tmp0_elvis_lhs = this.h3o_1;
|
|
4440
|
+
tmp_0.l3o_1 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4441
4441
|
this.c9_1 = 1;
|
|
4442
|
-
suspendResult = this.
|
|
4442
|
+
suspendResult = this.i3o_1(this.j3o_1, this);
|
|
4443
4443
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4444
4444
|
return suspendResult;
|
|
4445
4445
|
}
|
|
@@ -4447,7 +4447,7 @@
|
|
|
4447
4447
|
continue $sm;
|
|
4448
4448
|
case 1:
|
|
4449
4449
|
var ARGUMENT = suspendResult;
|
|
4450
|
-
return Tip_init_$Create$(this.
|
|
4450
|
+
return Tip_init_$Create$(this.g3o_1, this.l3o_1, ARGUMENT);
|
|
4451
4451
|
case 2:
|
|
4452
4452
|
throw this.f9_1;
|
|
4453
4453
|
}
|
|
@@ -4463,21 +4463,21 @@
|
|
|
4463
4463
|
while (true);
|
|
4464
4464
|
};
|
|
4465
4465
|
protoOf(Manifest$Companion$parse$slambda$slambda$slambda_1).v19 = function ($this$async, completion) {
|
|
4466
|
-
var i = new Manifest$Companion$parse$slambda$slambda$slambda_1(this.
|
|
4467
|
-
i.
|
|
4466
|
+
var i = new Manifest$Companion$parse$slambda$slambda$slambda_1(this.g3o_1, this.h3o_1, this.i3o_1, this.j3o_1, completion);
|
|
4467
|
+
i.k3o_1 = $this$async;
|
|
4468
4468
|
return i;
|
|
4469
4469
|
};
|
|
4470
4470
|
function Manifest$Companion$parse$slambda$slambda$slambda_2($manifest, $id, $parseFile, $src, resultContinuation) {
|
|
4471
4471
|
var i = new Manifest$Companion$parse$slambda$slambda$slambda_1($manifest, $id, $parseFile, $src, resultContinuation);
|
|
4472
4472
|
var l = function ($this$async, $completion) {
|
|
4473
|
-
return i.
|
|
4473
|
+
return i.m3o($this$async, $completion);
|
|
4474
4474
|
};
|
|
4475
4475
|
l.$arity = 1;
|
|
4476
4476
|
return l;
|
|
4477
4477
|
}
|
|
4478
4478
|
function Manifest$Companion$parse$slambda$slambda($manifest, $parseFile, resultContinuation) {
|
|
4479
|
-
this.
|
|
4480
|
-
this.
|
|
4479
|
+
this.v3o_1 = $manifest;
|
|
4480
|
+
this.w3o_1 = $parseFile;
|
|
4481
4481
|
CoroutineImpl.call(this, resultContinuation);
|
|
4482
4482
|
}
|
|
4483
4483
|
protoOf(Manifest$Companion$parse$slambda$slambda).u19 = function ($this$launch, $completion) {
|
|
@@ -4498,14 +4498,14 @@
|
|
|
4498
4498
|
case 0:
|
|
4499
4499
|
this.d9_1 = 2;
|
|
4500
4500
|
this.c9_1 = 1;
|
|
4501
|
-
var this_0 = this.
|
|
4501
|
+
var this_0 = this.v3o_1.c3g_1;
|
|
4502
4502
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
4503
4503
|
var _iterator__ex2g4s = this_0.j();
|
|
4504
4504
|
while (_iterator__ex2g4s.k()) {
|
|
4505
4505
|
var item = _iterator__ex2g4s.l();
|
|
4506
4506
|
var name = item.j3c();
|
|
4507
|
-
var src = item.
|
|
4508
|
-
destination.e(async(this.
|
|
4507
|
+
var src = item.a3p();
|
|
4508
|
+
destination.e(async(this.x3o_1, VOID, VOID, Manifest$Companion$parse$slambda$slambda$slambda_0(this.v3o_1, name, this.w3o_1, src, null)));
|
|
4509
4509
|
}
|
|
4510
4510
|
|
|
4511
4511
|
suspendResult = awaitAll(destination, this);
|
|
@@ -4517,7 +4517,7 @@
|
|
|
4517
4517
|
case 1:
|
|
4518
4518
|
var ARGUMENT = suspendResult;
|
|
4519
4519
|
var ARGUMENT_0 = filterNotNull(ARGUMENT);
|
|
4520
|
-
_set_pages__j2nojl(this.
|
|
4520
|
+
_set_pages__j2nojl(this.v3o_1, ARGUMENT_0);
|
|
4521
4521
|
return Unit_instance;
|
|
4522
4522
|
case 2:
|
|
4523
4523
|
throw this.f9_1;
|
|
@@ -4534,8 +4534,8 @@
|
|
|
4534
4534
|
while (true);
|
|
4535
4535
|
};
|
|
4536
4536
|
protoOf(Manifest$Companion$parse$slambda$slambda).v19 = function ($this$launch, completion) {
|
|
4537
|
-
var i = new Manifest$Companion$parse$slambda$slambda(this.
|
|
4538
|
-
i.
|
|
4537
|
+
var i = new Manifest$Companion$parse$slambda$slambda(this.v3o_1, this.w3o_1, completion);
|
|
4538
|
+
i.x3o_1 = $this$launch;
|
|
4539
4539
|
return i;
|
|
4540
4540
|
};
|
|
4541
4541
|
function Manifest$Companion$parse$slambda$slambda_0($manifest, $parseFile, resultContinuation) {
|
|
@@ -4547,8 +4547,8 @@
|
|
|
4547
4547
|
return l;
|
|
4548
4548
|
}
|
|
4549
4549
|
function Manifest$Companion$parse$slambda$slambda_1($manifest, $parseFile, resultContinuation) {
|
|
4550
|
-
this.
|
|
4551
|
-
this.
|
|
4550
|
+
this.j3p_1 = $manifest;
|
|
4551
|
+
this.k3p_1 = $parseFile;
|
|
4552
4552
|
CoroutineImpl.call(this, resultContinuation);
|
|
4553
4553
|
}
|
|
4554
4554
|
protoOf(Manifest$Companion$parse$slambda$slambda_1).u19 = function ($this$launch, $completion) {
|
|
@@ -4569,14 +4569,14 @@
|
|
|
4569
4569
|
case 0:
|
|
4570
4570
|
this.d9_1 = 2;
|
|
4571
4571
|
this.c9_1 = 1;
|
|
4572
|
-
var this_0 = this.
|
|
4572
|
+
var this_0 = this.j3p_1.d3g_1;
|
|
4573
4573
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
4574
4574
|
var _iterator__ex2g4s = this_0.j();
|
|
4575
4575
|
while (_iterator__ex2g4s.k()) {
|
|
4576
4576
|
var item = _iterator__ex2g4s.l();
|
|
4577
4577
|
var id = item.j3c();
|
|
4578
|
-
var src = item.
|
|
4579
|
-
destination.e(async(this.
|
|
4578
|
+
var src = item.a3p();
|
|
4579
|
+
destination.e(async(this.l3p_1, VOID, VOID, Manifest$Companion$parse$slambda$slambda$slambda_2(this.j3p_1, id, this.k3p_1, src, null)));
|
|
4580
4580
|
}
|
|
4581
4581
|
|
|
4582
4582
|
suspendResult = awaitAll(destination, this);
|
|
@@ -4592,11 +4592,11 @@
|
|
|
4592
4592
|
var _iterator__ex2g4s_0 = this_1.j();
|
|
4593
4593
|
while (_iterator__ex2g4s_0.k()) {
|
|
4594
4594
|
var element = _iterator__ex2g4s_0.l();
|
|
4595
|
-
destination_0.y3(element.
|
|
4595
|
+
destination_0.y3(element.n3p_1, element);
|
|
4596
4596
|
}
|
|
4597
4597
|
|
|
4598
4598
|
var ARGUMENT = destination_0;
|
|
4599
|
-
_set_tips__9ug36n(this.
|
|
4599
|
+
_set_tips__9ug36n(this.j3p_1, ARGUMENT);
|
|
4600
4600
|
return Unit_instance;
|
|
4601
4601
|
case 2:
|
|
4602
4602
|
throw this.f9_1;
|
|
@@ -4613,8 +4613,8 @@
|
|
|
4613
4613
|
while (true);
|
|
4614
4614
|
};
|
|
4615
4615
|
protoOf(Manifest$Companion$parse$slambda$slambda_1).v19 = function ($this$launch, completion) {
|
|
4616
|
-
var i = new Manifest$Companion$parse$slambda$slambda_1(this.
|
|
4617
|
-
i.
|
|
4616
|
+
var i = new Manifest$Companion$parse$slambda$slambda_1(this.j3p_1, this.k3p_1, completion);
|
|
4617
|
+
i.l3p_1 = $this$launch;
|
|
4618
4618
|
return i;
|
|
4619
4619
|
};
|
|
4620
4620
|
function Manifest$Companion$parse$slambda$slambda_2($manifest, $parseFile, resultContinuation) {
|
|
@@ -4626,19 +4626,19 @@
|
|
|
4626
4626
|
return l;
|
|
4627
4627
|
}
|
|
4628
4628
|
function Manifest$Companion$parse$slambda($config, $manifest, $parseFile, resultContinuation) {
|
|
4629
|
-
this.
|
|
4630
|
-
this.
|
|
4631
|
-
this.
|
|
4629
|
+
this.y3p_1 = $config;
|
|
4630
|
+
this.z3p_1 = $manifest;
|
|
4631
|
+
this.a3q_1 = $parseFile;
|
|
4632
4632
|
CoroutineImpl.call(this, resultContinuation);
|
|
4633
4633
|
}
|
|
4634
|
-
protoOf(Manifest$Companion$parse$slambda).
|
|
4634
|
+
protoOf(Manifest$Companion$parse$slambda).c3q = function ($this$coroutineScope, $completion) {
|
|
4635
4635
|
var tmp = this.v19($this$coroutineScope, $completion);
|
|
4636
4636
|
tmp.e9_1 = Unit_instance;
|
|
4637
4637
|
tmp.f9_1 = null;
|
|
4638
4638
|
return tmp.u9();
|
|
4639
4639
|
};
|
|
4640
4640
|
protoOf(Manifest$Companion$parse$slambda).ea = function (p1, $completion) {
|
|
4641
|
-
return this.
|
|
4641
|
+
return this.c3q((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4642
4642
|
};
|
|
4643
4643
|
protoOf(Manifest$Companion$parse$slambda).u9 = function () {
|
|
4644
4644
|
var suspendResult = this.e9_1;
|
|
@@ -4647,16 +4647,16 @@
|
|
|
4647
4647
|
var tmp = this.c9_1;
|
|
4648
4648
|
if (tmp === 0) {
|
|
4649
4649
|
this.d9_1 = 1;
|
|
4650
|
-
if (this.
|
|
4651
|
-
launch(this.
|
|
4650
|
+
if (this.y3p_1.l3b_1) {
|
|
4651
|
+
launch(this.b3q_1, VOID, VOID, Manifest$Companion$parse$slambda$slambda_0(this.z3p_1, this.a3q_1, null));
|
|
4652
4652
|
} else {
|
|
4653
|
-
_set_pages__j2nojl(this.
|
|
4653
|
+
_set_pages__j2nojl(this.z3p_1, emptyList());
|
|
4654
4654
|
}
|
|
4655
4655
|
var tmp_0;
|
|
4656
|
-
if (this.
|
|
4657
|
-
tmp_0 = launch(this.
|
|
4656
|
+
if (this.y3p_1.m3b_1) {
|
|
4657
|
+
tmp_0 = launch(this.b3q_1, VOID, VOID, Manifest$Companion$parse$slambda$slambda_2(this.z3p_1, this.a3q_1, null));
|
|
4658
4658
|
} else {
|
|
4659
|
-
_set_tips__9ug36n(this.
|
|
4659
|
+
_set_tips__9ug36n(this.z3p_1, emptyMap());
|
|
4660
4660
|
tmp_0 = Unit_instance;
|
|
4661
4661
|
}
|
|
4662
4662
|
return tmp_0;
|
|
@@ -4670,24 +4670,24 @@
|
|
|
4670
4670
|
while (true);
|
|
4671
4671
|
};
|
|
4672
4672
|
protoOf(Manifest$Companion$parse$slambda).v19 = function ($this$coroutineScope, completion) {
|
|
4673
|
-
var i = new Manifest$Companion$parse$slambda(this.
|
|
4674
|
-
i.
|
|
4673
|
+
var i = new Manifest$Companion$parse$slambda(this.y3p_1, this.z3p_1, this.a3q_1, completion);
|
|
4674
|
+
i.b3q_1 = $this$coroutineScope;
|
|
4675
4675
|
return i;
|
|
4676
4676
|
};
|
|
4677
4677
|
function Manifest$Companion$parse$slambda_0($config, $manifest, $parseFile, resultContinuation) {
|
|
4678
4678
|
var i = new Manifest$Companion$parse$slambda($config, $manifest, $parseFile, resultContinuation);
|
|
4679
4679
|
var l = function ($this$coroutineScope, $completion) {
|
|
4680
|
-
return i.
|
|
4680
|
+
return i.c3q($this$coroutineScope, $completion);
|
|
4681
4681
|
};
|
|
4682
4682
|
l.$arity = 1;
|
|
4683
4683
|
return l;
|
|
4684
4684
|
}
|
|
4685
4685
|
function $parseCOROUTINE$0(_this__u8e3s4, fileName, config, parseFile, resultContinuation) {
|
|
4686
4686
|
CoroutineImpl.call(this, resultContinuation);
|
|
4687
|
-
this.
|
|
4688
|
-
this.
|
|
4689
|
-
this.
|
|
4690
|
-
this.
|
|
4687
|
+
this.l3q_1 = _this__u8e3s4;
|
|
4688
|
+
this.m3q_1 = fileName;
|
|
4689
|
+
this.n3q_1 = config;
|
|
4690
|
+
this.o3q_1 = parseFile;
|
|
4691
4691
|
}
|
|
4692
4692
|
protoOf($parseCOROUTINE$0).u9 = function () {
|
|
4693
4693
|
var suspendResult = this.e9_1;
|
|
@@ -4698,24 +4698,24 @@
|
|
|
4698
4698
|
case 0:
|
|
4699
4699
|
this.d9_1 = 3;
|
|
4700
4700
|
this.c9_1 = 1;
|
|
4701
|
-
suspendResult = this.
|
|
4701
|
+
suspendResult = this.o3q_1(this.m3q_1, this);
|
|
4702
4702
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4703
4703
|
return suspendResult;
|
|
4704
4704
|
}
|
|
4705
4705
|
|
|
4706
4706
|
continue $sm;
|
|
4707
4707
|
case 1:
|
|
4708
|
-
this.
|
|
4709
|
-
this.
|
|
4708
|
+
this.p3q_1 = suspendResult;
|
|
4709
|
+
this.q3q_1 = Manifest_init_$Create$(this.p3q_1, this.n3q_1);
|
|
4710
4710
|
this.c9_1 = 2;
|
|
4711
|
-
suspendResult = coroutineScope(Manifest$Companion$parse$slambda_0(this.
|
|
4711
|
+
suspendResult = coroutineScope(Manifest$Companion$parse$slambda_0(this.n3q_1, this.q3q_1, this.o3q_1, null), this);
|
|
4712
4712
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4713
4713
|
return suspendResult;
|
|
4714
4714
|
}
|
|
4715
4715
|
|
|
4716
4716
|
continue $sm;
|
|
4717
4717
|
case 2:
|
|
4718
|
-
return this.
|
|
4718
|
+
return this.q3q_1;
|
|
4719
4719
|
case 3:
|
|
4720
4720
|
throw this.f9_1;
|
|
4721
4721
|
}
|
|
@@ -4737,9 +4737,9 @@
|
|
|
4737
4737
|
var Type_UNKNOWN_instance_0;
|
|
4738
4738
|
function Companion_25() {
|
|
4739
4739
|
Companion_instance_26 = this;
|
|
4740
|
-
this.
|
|
4740
|
+
this.r3q_1 = Type_TRACT_getInstance();
|
|
4741
4741
|
}
|
|
4742
|
-
protoOf(Companion_25).
|
|
4742
|
+
protoOf(Companion_25).s3q = function (value) {
|
|
4743
4743
|
switch (value) {
|
|
4744
4744
|
case 'article':
|
|
4745
4745
|
return Type_ARTICLE_getInstance();
|
|
@@ -4826,10 +4826,10 @@
|
|
|
4826
4826
|
return Companion_instance_27;
|
|
4827
4827
|
}
|
|
4828
4828
|
function _set_pages__j2nojl($this, _set____db54di) {
|
|
4829
|
-
return $this.z3f_1.
|
|
4829
|
+
return $this.z3f_1.t3q($this, pages$factory(), _set____db54di);
|
|
4830
4830
|
}
|
|
4831
4831
|
function _set_tips__9ug36n($this, _set____db54di) {
|
|
4832
|
-
return $this.b3g_1.
|
|
4832
|
+
return $this.b3g_1.t3q($this, tips$factory(), _set____db54di);
|
|
4833
4833
|
}
|
|
4834
4834
|
function Manifest_init_$Init$(parser, config, $this) {
|
|
4835
4835
|
BaseModel.call($this);
|
|
@@ -4841,8 +4841,8 @@
|
|
|
4841
4841
|
var tmp0_safe_receiver = parser.j3e('locale');
|
|
4842
4842
|
tmp.locale = tmp0_safe_receiver == null ? null : toLocaleOrNull(tmp0_safe_receiver);
|
|
4843
4843
|
var tmp_0 = $this;
|
|
4844
|
-
var tmp1_elvis_lhs = Companion_getInstance_28().
|
|
4845
|
-
tmp_0.type = tmp1_elvis_lhs == null ? Companion_getInstance_28().
|
|
4844
|
+
var tmp1_elvis_lhs = Companion_getInstance_28().s3q(parser.j3e('type'));
|
|
4845
|
+
tmp_0.type = tmp1_elvis_lhs == null ? Companion_getInstance_28().r3q_1 : tmp1_elvis_lhs;
|
|
4846
4846
|
var tmp_1 = $this;
|
|
4847
4847
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.toEventIds' call
|
|
4848
4848
|
var this_0 = parser.j3e('dismiss-listeners');
|
|
@@ -4873,7 +4873,7 @@
|
|
|
4873
4873
|
tmp_7.p3f_1 = tmp11_elvis_lhs == null ? Companion_getInstance_29().d3b_1 : tmp11_elvis_lhs;
|
|
4874
4874
|
var tmp_8 = $this;
|
|
4875
4875
|
var tmp12_safe_receiver = parser.j3e('background-image-scale-type');
|
|
4876
|
-
var tmp13_elvis_lhs = tmp12_safe_receiver == null ? null : Companion_instance_22.
|
|
4876
|
+
var tmp13_elvis_lhs = tmp12_safe_receiver == null ? null : Companion_instance_22.c3m(tmp12_safe_receiver);
|
|
4877
4877
|
tmp_8.q3f_1 = tmp13_elvis_lhs == null ? Companion_getInstance_29().e3b_1 : tmp13_elvis_lhs;
|
|
4878
4878
|
var tmp_9 = $this;
|
|
4879
4879
|
var tmp14_safe_receiver = parser.f3f('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
|
|
@@ -4967,12 +4967,12 @@
|
|
|
4967
4967
|
var tmp2_0 = $this.aemImports;
|
|
4968
4968
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4969
4969
|
|
|
4970
|
-
var elements_0 = result.
|
|
4970
|
+
var elements_0 = result.w3q_1;
|
|
4971
4971
|
addAll(tmp2_0, elements_0);
|
|
4972
4972
|
var tmp4 = $this.c3g_1;
|
|
4973
4973
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4974
4974
|
|
|
4975
|
-
var elements_1 = result.
|
|
4975
|
+
var elements_1 = result.x3q_1;
|
|
4976
4976
|
addAll(tmp4, elements_1);
|
|
4977
4977
|
break;
|
|
4978
4978
|
case 'resources':
|
|
@@ -5007,7 +5007,7 @@
|
|
|
5007
5007
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
5008
5008
|
if (parser.q2() === 'items') {
|
|
5009
5009
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5010
|
-
var elements_3 = Companion_instance_48.
|
|
5010
|
+
var elements_3 = Companion_instance_48.v3q(parser, $this);
|
|
5011
5011
|
addAll(shareables, elements_3);
|
|
5012
5012
|
}
|
|
5013
5013
|
}
|
|
@@ -5041,7 +5041,7 @@
|
|
|
5041
5041
|
}
|
|
5042
5042
|
function Manifest_init_$Init$_0(config, type, code, locale, primaryColor, primaryTextColor, navBarColor, navBarControlColor, backgroundColor, cardBackgroundColor, categoryLabelColor, pageControlColor, multiselectOptionBackgroundColor, multiselectOptionSelectedColor, textColor, textScale, resources, shareables, tips, pages, pageXmlFiles, $this) {
|
|
5043
5043
|
config = config === VOID ? createParserConfig() : config;
|
|
5044
|
-
type = type === VOID ? Companion_getInstance_28().
|
|
5044
|
+
type = type === VOID ? Companion_getInstance_28().r3q_1 : type;
|
|
5045
5045
|
code = code === VOID ? null : code;
|
|
5046
5046
|
locale = locale === VOID ? null : locale;
|
|
5047
5047
|
primaryColor = primaryColor === VOID ? Companion_getInstance_29().a3b_1 : primaryColor;
|
|
@@ -5129,7 +5129,7 @@
|
|
|
5129
5129
|
while (_iterator__ex2g4s_0.k()) {
|
|
5130
5130
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
5131
5131
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Manifest.<init>.<anonymous>' call
|
|
5132
|
-
var tmp$ret$6 = element_0.
|
|
5132
|
+
var tmp$ret$6 = element_0.n3p_1;
|
|
5133
5133
|
destination_0.y3(tmp$ret$6, element_0);
|
|
5134
5134
|
}
|
|
5135
5135
|
tmp_2 = destination_0;
|
|
@@ -5171,10 +5171,10 @@
|
|
|
5171
5171
|
function PagesData() {
|
|
5172
5172
|
var tmp = this;
|
|
5173
5173
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5174
|
-
tmp.
|
|
5174
|
+
tmp.w3q_1 = ArrayList_init_$Create$();
|
|
5175
5175
|
var tmp_0 = this;
|
|
5176
5176
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5177
|
-
tmp_0.
|
|
5177
|
+
tmp_0.x3q_1 = ArrayList_init_$Create$();
|
|
5178
5178
|
}
|
|
5179
5179
|
function parsePages(_this__u8e3s4, $this) {
|
|
5180
5180
|
// Inline function 'kotlin.also' call
|
|
@@ -5199,7 +5199,7 @@
|
|
|
5199
5199
|
}
|
|
5200
5200
|
var src = tmp;
|
|
5201
5201
|
var fileName = _this__u8e3s4.j3e('filename');
|
|
5202
|
-
var tmp0 = this_0.
|
|
5202
|
+
var tmp0 = this_0.x3q_1;
|
|
5203
5203
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5204
5204
|
var element = new XmlFile(fileName, src);
|
|
5205
5205
|
tmp0.e(element);
|
|
@@ -5229,7 +5229,7 @@
|
|
|
5229
5229
|
// Inline function 'kotlin.let' call
|
|
5230
5230
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Manifest.parsePages.<anonymous>.<anonymous>.<anonymous>' call
|
|
5231
5231
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5232
|
-
this_0.
|
|
5232
|
+
this_0.w3q_1.e(tmp6_safe_receiver);
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
}
|
|
@@ -5307,35 +5307,35 @@
|
|
|
5307
5307
|
Enum.call(this, name, ordinal);
|
|
5308
5308
|
}
|
|
5309
5309
|
function XmlFile(name, src) {
|
|
5310
|
-
this.
|
|
5311
|
-
this.
|
|
5310
|
+
this.y3o_1 = name;
|
|
5311
|
+
this.z3o_1 = src;
|
|
5312
5312
|
}
|
|
5313
|
-
protoOf(XmlFile).
|
|
5314
|
-
return this.
|
|
5313
|
+
protoOf(XmlFile).e3r = function () {
|
|
5314
|
+
return this.y3o_1;
|
|
5315
5315
|
};
|
|
5316
|
-
protoOf(XmlFile).
|
|
5317
|
-
return this.
|
|
5316
|
+
protoOf(XmlFile).f3r = function () {
|
|
5317
|
+
return this.z3o_1;
|
|
5318
5318
|
};
|
|
5319
5319
|
protoOf(XmlFile).j3c = function () {
|
|
5320
|
-
return this.
|
|
5320
|
+
return this.y3o_1;
|
|
5321
5321
|
};
|
|
5322
|
-
protoOf(XmlFile).
|
|
5323
|
-
return this.
|
|
5322
|
+
protoOf(XmlFile).a3p = function () {
|
|
5323
|
+
return this.z3o_1;
|
|
5324
5324
|
};
|
|
5325
|
-
protoOf(XmlFile).
|
|
5325
|
+
protoOf(XmlFile).g3r = function (name, src) {
|
|
5326
5326
|
return new XmlFile(name, src);
|
|
5327
5327
|
};
|
|
5328
5328
|
protoOf(XmlFile).copy = function (name, src, $super) {
|
|
5329
|
-
name = name === VOID ? this.
|
|
5330
|
-
src = src === VOID ? this.
|
|
5331
|
-
return this.
|
|
5329
|
+
name = name === VOID ? this.y3o_1 : name;
|
|
5330
|
+
src = src === VOID ? this.z3o_1 : src;
|
|
5331
|
+
return this.g3r(name, src);
|
|
5332
5332
|
};
|
|
5333
5333
|
protoOf(XmlFile).toString = function () {
|
|
5334
|
-
return 'XmlFile(name=' + this.
|
|
5334
|
+
return 'XmlFile(name=' + this.y3o_1 + ', src=' + this.z3o_1 + ')';
|
|
5335
5335
|
};
|
|
5336
5336
|
protoOf(XmlFile).hashCode = function () {
|
|
5337
|
-
var result = this.
|
|
5338
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
5337
|
+
var result = this.y3o_1 == null ? 0 : getStringHashCode(this.y3o_1);
|
|
5338
|
+
result = imul(result, 31) + getStringHashCode(this.z3o_1) | 0;
|
|
5339
5339
|
return result;
|
|
5340
5340
|
};
|
|
5341
5341
|
protoOf(XmlFile).equals = function (other) {
|
|
@@ -5344,23 +5344,23 @@
|
|
|
5344
5344
|
if (!(other instanceof XmlFile))
|
|
5345
5345
|
return false;
|
|
5346
5346
|
var tmp0_other_with_cast = other instanceof XmlFile ? other : THROW_CCE();
|
|
5347
|
-
if (!(this.
|
|
5347
|
+
if (!(this.y3o_1 == tmp0_other_with_cast.y3o_1))
|
|
5348
5348
|
return false;
|
|
5349
|
-
if (!(this.
|
|
5349
|
+
if (!(this.z3o_1 === tmp0_other_with_cast.z3o_1))
|
|
5350
5350
|
return false;
|
|
5351
5351
|
return true;
|
|
5352
5352
|
};
|
|
5353
5353
|
function sam$kotlin_Comparator$0(function_0) {
|
|
5354
|
-
this.
|
|
5354
|
+
this.h3r_1 = function_0;
|
|
5355
5355
|
}
|
|
5356
5356
|
protoOf(sam$kotlin_Comparator$0).yd = function (a, b) {
|
|
5357
|
-
return this.
|
|
5357
|
+
return this.h3r_1(a, b);
|
|
5358
5358
|
};
|
|
5359
5359
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
5360
5360
|
return this.yd(a, b);
|
|
5361
5361
|
};
|
|
5362
5362
|
protoOf(sam$kotlin_Comparator$0).m3 = function () {
|
|
5363
|
-
return this.
|
|
5363
|
+
return this.h3r_1;
|
|
5364
5364
|
};
|
|
5365
5365
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
5366
5366
|
var tmp;
|
|
@@ -5383,9 +5383,9 @@
|
|
|
5383
5383
|
function Manifest$_init_$lambda_cbhz6k(a, b) {
|
|
5384
5384
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
5385
5385
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Manifest.<init>.<anonymous>' call
|
|
5386
|
-
var tmp = a.
|
|
5386
|
+
var tmp = a.b3r_1;
|
|
5387
5387
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Manifest.<init>.<anonymous>' call
|
|
5388
|
-
var tmp$ret$1 = b.
|
|
5388
|
+
var tmp$ret$1 = b.b3r_1;
|
|
5389
5389
|
return compareValues(tmp, tmp$ret$1);
|
|
5390
5390
|
}
|
|
5391
5391
|
function Type_ARTICLE_getInstance() {
|
|
@@ -5408,19 +5408,19 @@
|
|
|
5408
5408
|
Type_initEntries_1();
|
|
5409
5409
|
return Type_UNKNOWN_instance_0;
|
|
5410
5410
|
}
|
|
5411
|
-
protoOf(Manifest).
|
|
5411
|
+
protoOf(Manifest).i3r = function () {
|
|
5412
5412
|
return this.i3f_1;
|
|
5413
5413
|
};
|
|
5414
|
-
protoOf(Manifest).
|
|
5414
|
+
protoOf(Manifest).j3r = function () {
|
|
5415
5415
|
return this.code;
|
|
5416
5416
|
};
|
|
5417
|
-
protoOf(Manifest).
|
|
5417
|
+
protoOf(Manifest).k3r = function () {
|
|
5418
5418
|
return this.locale;
|
|
5419
5419
|
};
|
|
5420
5420
|
protoOf(Manifest).t1z = function () {
|
|
5421
5421
|
return this.type;
|
|
5422
5422
|
};
|
|
5423
|
-
protoOf(Manifest).
|
|
5423
|
+
protoOf(Manifest).l3r = function () {
|
|
5424
5424
|
return this._dismissListeners;
|
|
5425
5425
|
};
|
|
5426
5426
|
protoOf(Manifest).y3i = function () {
|
|
@@ -5429,24 +5429,24 @@
|
|
|
5429
5429
|
protoOf(Manifest).z3i = function () {
|
|
5430
5430
|
return this.k3f_1;
|
|
5431
5431
|
};
|
|
5432
|
-
protoOf(Manifest).
|
|
5432
|
+
protoOf(Manifest).m3r = function () {
|
|
5433
5433
|
var tmp0_elvis_lhs = this.l3f_1;
|
|
5434
5434
|
return tmp0_elvis_lhs == null ? this.type.equals(Type_LESSON_getInstance()) ? get_DEFAULT_LESSON_NAV_BAR_COLOR() : this.j3f_1 : tmp0_elvis_lhs;
|
|
5435
5435
|
};
|
|
5436
|
-
protoOf(Manifest).
|
|
5436
|
+
protoOf(Manifest).n3r = function () {
|
|
5437
5437
|
var tmp0_elvis_lhs = this.m3f_1;
|
|
5438
5438
|
return tmp0_elvis_lhs == null ? this.type.equals(Type_LESSON_getInstance()) ? this.j3f_1 : this.k3f_1 : tmp0_elvis_lhs;
|
|
5439
5439
|
};
|
|
5440
|
-
protoOf(Manifest).
|
|
5440
|
+
protoOf(Manifest).o3r = function () {
|
|
5441
5441
|
return this.n3f_1;
|
|
5442
5442
|
};
|
|
5443
|
-
protoOf(Manifest).
|
|
5443
|
+
protoOf(Manifest).p3r = function () {
|
|
5444
5444
|
return this.v3g(this.o3f_1);
|
|
5445
5445
|
};
|
|
5446
|
-
protoOf(Manifest).
|
|
5446
|
+
protoOf(Manifest).q3r = function () {
|
|
5447
5447
|
return this.p3f_1;
|
|
5448
5448
|
};
|
|
5449
|
-
protoOf(Manifest).
|
|
5449
|
+
protoOf(Manifest).r3r = function () {
|
|
5450
5450
|
return this.q3f_1;
|
|
5451
5451
|
};
|
|
5452
5452
|
protoOf(Manifest).b3j = function () {
|
|
@@ -5457,7 +5457,7 @@
|
|
|
5457
5457
|
var tmp0_elvis_lhs = this.s3f_1;
|
|
5458
5458
|
return tmp0_elvis_lhs == null ? this.w3f_1 : tmp0_elvis_lhs;
|
|
5459
5459
|
};
|
|
5460
|
-
protoOf(Manifest).
|
|
5460
|
+
protoOf(Manifest).s3r = function () {
|
|
5461
5461
|
return this.t3f_1;
|
|
5462
5462
|
};
|
|
5463
5463
|
protoOf(Manifest).a3j = function () {
|
|
@@ -5476,32 +5476,32 @@
|
|
|
5476
5476
|
protoOf(Manifest).e3j = function () {
|
|
5477
5477
|
return this.x3f_1;
|
|
5478
5478
|
};
|
|
5479
|
-
protoOf(Manifest).
|
|
5479
|
+
protoOf(Manifest).t3r = function () {
|
|
5480
5480
|
var tmp0_safe_receiver = this.y3f_1;
|
|
5481
5481
|
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.text;
|
|
5482
5482
|
};
|
|
5483
|
-
protoOf(Manifest).
|
|
5483
|
+
protoOf(Manifest).f3s = function () {
|
|
5484
5484
|
return this.aemImports;
|
|
5485
5485
|
};
|
|
5486
|
-
protoOf(Manifest).
|
|
5486
|
+
protoOf(Manifest).g3s = function () {
|
|
5487
5487
|
return this.categories;
|
|
5488
5488
|
};
|
|
5489
|
-
protoOf(Manifest).
|
|
5490
|
-
return this.z3f_1.
|
|
5489
|
+
protoOf(Manifest).n3l = function () {
|
|
5490
|
+
return this.z3f_1.h3s(this, pages$factory_0());
|
|
5491
5491
|
};
|
|
5492
|
-
protoOf(Manifest).
|
|
5492
|
+
protoOf(Manifest).i3s = function () {
|
|
5493
5493
|
return this.a3g_1;
|
|
5494
5494
|
};
|
|
5495
|
-
protoOf(Manifest).
|
|
5495
|
+
protoOf(Manifest).j3s = function () {
|
|
5496
5496
|
return this.shareables;
|
|
5497
5497
|
};
|
|
5498
|
-
protoOf(Manifest).
|
|
5499
|
-
return this.b3g_1.
|
|
5498
|
+
protoOf(Manifest).k3s = function () {
|
|
5499
|
+
return this.b3g_1.h3s(this, tips$factory_0());
|
|
5500
5500
|
};
|
|
5501
|
-
protoOf(Manifest).
|
|
5501
|
+
protoOf(Manifest).l3s = function () {
|
|
5502
5502
|
return this.c3g_1;
|
|
5503
5503
|
};
|
|
5504
|
-
protoOf(Manifest).
|
|
5504
|
+
protoOf(Manifest).m3s = function () {
|
|
5505
5505
|
// Inline function 'kotlin.collections.buildSet' call
|
|
5506
5506
|
// Inline function 'kotlin.collections.buildSetInternal' call
|
|
5507
5507
|
// Inline function 'kotlin.apply' call
|
|
@@ -5515,7 +5515,7 @@
|
|
|
5515
5515
|
while (_iterator__ex2g4s.k()) {
|
|
5516
5516
|
var item = _iterator__ex2g4s.l();
|
|
5517
5517
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Manifest.<get-relatedFiles>.<anonymous>.<anonymous>' call
|
|
5518
|
-
var tmp$ret$0 = item.
|
|
5518
|
+
var tmp$ret$0 = item.z3o_1;
|
|
5519
5519
|
destination.e(tmp$ret$0);
|
|
5520
5520
|
}
|
|
5521
5521
|
this_0.n(destination);
|
|
@@ -5527,7 +5527,7 @@
|
|
|
5527
5527
|
while (_iterator__ex2g4s_0.k()) {
|
|
5528
5528
|
var item_0 = _iterator__ex2g4s_0.l();
|
|
5529
5529
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Manifest.<get-relatedFiles>.<anonymous>.<anonymous>' call
|
|
5530
|
-
var tmp$ret$3 = item_0.
|
|
5530
|
+
var tmp$ret$3 = item_0.z3o_1;
|
|
5531
5531
|
destination_0.e(tmp$ret$3);
|
|
5532
5532
|
}
|
|
5533
5533
|
this_0.n(destination_0);
|
|
@@ -5556,10 +5556,10 @@
|
|
|
5556
5556
|
protoOf(Manifest).x39 = function () {
|
|
5557
5557
|
return this;
|
|
5558
5558
|
};
|
|
5559
|
-
protoOf(Manifest).
|
|
5559
|
+
protoOf(Manifest).n3s = function () {
|
|
5560
5560
|
var tmp;
|
|
5561
5561
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5562
|
-
if (!this.
|
|
5562
|
+
if (!this.k3s().p()) {
|
|
5563
5563
|
tmp = true;
|
|
5564
5564
|
} else {
|
|
5565
5565
|
var tmp_0;
|
|
@@ -5584,7 +5584,7 @@
|
|
|
5584
5584
|
}
|
|
5585
5585
|
return tmp;
|
|
5586
5586
|
};
|
|
5587
|
-
protoOf(Manifest).
|
|
5587
|
+
protoOf(Manifest).o3s = function (category) {
|
|
5588
5588
|
var tmp0 = this.categories;
|
|
5589
5589
|
var tmp$ret$1;
|
|
5590
5590
|
$l$block: {
|
|
@@ -5602,7 +5602,7 @@
|
|
|
5602
5602
|
}
|
|
5603
5603
|
return tmp$ret$1;
|
|
5604
5604
|
};
|
|
5605
|
-
protoOf(Manifest).
|
|
5605
|
+
protoOf(Manifest).p3s = function (id) {
|
|
5606
5606
|
var tmp;
|
|
5607
5607
|
if (id == null) {
|
|
5608
5608
|
tmp = null;
|
|
@@ -5628,12 +5628,12 @@
|
|
|
5628
5628
|
}
|
|
5629
5629
|
return tmp;
|
|
5630
5630
|
};
|
|
5631
|
-
protoOf(Manifest).
|
|
5631
|
+
protoOf(Manifest).q3s = function (id) {
|
|
5632
5632
|
// Inline function 'kotlin.collections.get' call
|
|
5633
|
-
var this_0 = this.
|
|
5633
|
+
var this_0 = this.k3s();
|
|
5634
5634
|
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).k2(id);
|
|
5635
5635
|
};
|
|
5636
|
-
protoOf(Manifest).
|
|
5636
|
+
protoOf(Manifest).o3l = function (type) {
|
|
5637
5637
|
var tmp;
|
|
5638
5638
|
switch (this.type.p2_1) {
|
|
5639
5639
|
case 0:
|
|
@@ -5657,7 +5657,7 @@
|
|
|
5657
5657
|
}
|
|
5658
5658
|
return tmp;
|
|
5659
5659
|
};
|
|
5660
|
-
protoOf(Manifest).
|
|
5660
|
+
protoOf(Manifest).r3s = function () {
|
|
5661
5661
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
5662
5662
|
var this_0 = this._dismissListeners;
|
|
5663
5663
|
return copyToArray(this_0);
|
|
@@ -5673,28 +5673,28 @@
|
|
|
5673
5673
|
}
|
|
5674
5674
|
function pages$factory() {
|
|
5675
5675
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
5676
|
-
return receiver.
|
|
5676
|
+
return receiver.n3l();
|
|
5677
5677
|
}, function (receiver, value) {
|
|
5678
5678
|
return _set_pages__j2nojl(receiver, value);
|
|
5679
5679
|
});
|
|
5680
5680
|
}
|
|
5681
5681
|
function pages$factory_0() {
|
|
5682
5682
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
5683
|
-
return receiver.
|
|
5683
|
+
return receiver.n3l();
|
|
5684
5684
|
}, function (receiver, value) {
|
|
5685
5685
|
return _set_pages__j2nojl(receiver, value);
|
|
5686
5686
|
});
|
|
5687
5687
|
}
|
|
5688
5688
|
function tips$factory() {
|
|
5689
5689
|
return getPropertyCallableRef('tips', 1, KMutableProperty1, function (receiver) {
|
|
5690
|
-
return receiver.
|
|
5690
|
+
return receiver.k3s();
|
|
5691
5691
|
}, function (receiver, value) {
|
|
5692
5692
|
return _set_tips__9ug36n(receiver, value);
|
|
5693
5693
|
});
|
|
5694
5694
|
}
|
|
5695
5695
|
function tips$factory_0() {
|
|
5696
5696
|
return getPropertyCallableRef('tips', 1, KMutableProperty1, function (receiver) {
|
|
5697
|
-
return receiver.
|
|
5697
|
+
return receiver.k3s();
|
|
5698
5698
|
}, function (receiver, value) {
|
|
5699
5699
|
return _set_tips__9ug36n(receiver, value);
|
|
5700
5700
|
});
|
|
@@ -5703,7 +5703,7 @@
|
|
|
5703
5703
|
var Style_FLAT_instance;
|
|
5704
5704
|
function Companion_27() {
|
|
5705
5705
|
}
|
|
5706
|
-
protoOf(Companion_27).
|
|
5706
|
+
protoOf(Companion_27).s3s = function (_this__u8e3s4) {
|
|
5707
5707
|
switch (_this__u8e3s4) {
|
|
5708
5708
|
case 'card':
|
|
5709
5709
|
return Style_CARD_getInstance();
|
|
@@ -5742,12 +5742,12 @@
|
|
|
5742
5742
|
}
|
|
5743
5743
|
function Companion_28() {
|
|
5744
5744
|
Companion_instance_29 = this;
|
|
5745
|
-
this.
|
|
5746
|
-
this.
|
|
5747
|
-
this.
|
|
5748
|
-
this.
|
|
5749
|
-
this.
|
|
5750
|
-
this.
|
|
5745
|
+
this.t3s_1 = 'selected-color';
|
|
5746
|
+
this.u3s_1 = 'value';
|
|
5747
|
+
this.v3s_1 = 'style';
|
|
5748
|
+
this.w3s_1 = 'card';
|
|
5749
|
+
this.x3s_1 = 'flat';
|
|
5750
|
+
this.y3s_1 = Style_CARD_getInstance();
|
|
5751
5751
|
}
|
|
5752
5752
|
var Companion_instance_29;
|
|
5753
5753
|
function Companion_getInstance_31() {
|
|
@@ -5760,20 +5760,20 @@
|
|
|
5760
5760
|
Option.call($this);
|
|
5761
5761
|
$this.multiselect = multiselect;
|
|
5762
5762
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'option');
|
|
5763
|
-
$this.
|
|
5763
|
+
$this.a3t_1 = Companion_instance_28.s3s(parser.j3e('style'));
|
|
5764
5764
|
var tmp = $this;
|
|
5765
5765
|
var tmp0_safe_receiver = parser.j3e('background-color');
|
|
5766
|
-
tmp.
|
|
5766
|
+
tmp.b3t_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
5767
5767
|
var tmp_0 = $this;
|
|
5768
5768
|
var tmp1_safe_receiver = parser.j3e('selected-color');
|
|
5769
|
-
tmp_0.
|
|
5769
|
+
tmp_0.c3t_1 = tmp1_safe_receiver == null ? null : toColorOrNull(tmp1_safe_receiver);
|
|
5770
5770
|
var tmp_1 = $this;
|
|
5771
5771
|
// Inline function 'kotlin.text.orEmpty' call
|
|
5772
5772
|
var tmp0_elvis_lhs = parser.j3e('value');
|
|
5773
|
-
tmp_1.
|
|
5773
|
+
tmp_1.d3t_1 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
5774
5774
|
var tmp_2 = $this;
|
|
5775
5775
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5776
|
-
tmp_2.
|
|
5776
|
+
tmp_2.e3t_1 = ArrayList_init_$Create$();
|
|
5777
5777
|
var tmp_3 = $this;
|
|
5778
5778
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
5779
5779
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -5791,7 +5791,7 @@
|
|
|
5791
5791
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.Option.<init>.<anonymous>' call
|
|
5792
5792
|
if (parser.w3c() === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
5793
5793
|
if (parser.q2() === 'events') {
|
|
5794
|
-
var tmp0 = $this.
|
|
5794
|
+
var tmp0 = $this.e3t_1;
|
|
5795
5795
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5796
5796
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
5797
5797
|
addAll(tmp0, elements);
|
|
@@ -5828,7 +5828,7 @@
|
|
|
5828
5828
|
continue $l$loop_0;
|
|
5829
5829
|
skipTag(parser);
|
|
5830
5830
|
}
|
|
5831
|
-
tmp_3.
|
|
5831
|
+
tmp_3.f3t_1 = this_0.p3();
|
|
5832
5832
|
return $this;
|
|
5833
5833
|
}
|
|
5834
5834
|
function Option_init_$Create$(multiselect, parser) {
|
|
@@ -5851,22 +5851,22 @@
|
|
|
5851
5851
|
return Style_FLAT_instance;
|
|
5852
5852
|
}
|
|
5853
5853
|
function Companion_29() {
|
|
5854
|
-
this.
|
|
5855
|
-
this.
|
|
5856
|
-
this.
|
|
5857
|
-
this.
|
|
5858
|
-
this.
|
|
5854
|
+
this.i3t_1 = 'multiselect';
|
|
5855
|
+
this.j3t_1 = 'multiselect-option-background-color';
|
|
5856
|
+
this.k3t_1 = 'multiselect-option-selected-color';
|
|
5857
|
+
this.l3t_1 = 'option-background-color';
|
|
5858
|
+
this.m3t_1 = 'option-selected-color';
|
|
5859
5859
|
}
|
|
5860
5860
|
var Companion_instance_30;
|
|
5861
5861
|
function Companion_getInstance_32() {
|
|
5862
5862
|
return Companion_instance_30;
|
|
5863
5863
|
}
|
|
5864
5864
|
function _get_optionBackgroundColor__l9vc27($this) {
|
|
5865
|
-
var tmp0_elvis_lhs = $this.
|
|
5865
|
+
var tmp0_elvis_lhs = $this.w3t_1;
|
|
5866
5866
|
return tmp0_elvis_lhs == null ? get_multiselectOptionBackgroundColor_0(get_stylesParent($this)) : tmp0_elvis_lhs;
|
|
5867
5867
|
}
|
|
5868
5868
|
function _get_optionSelectedColor__7lkoiq($this) {
|
|
5869
|
-
var tmp0_elvis_lhs = $this.
|
|
5869
|
+
var tmp0_elvis_lhs = $this.x3t_1;
|
|
5870
5870
|
var tmp;
|
|
5871
5871
|
if (tmp0_elvis_lhs == null) {
|
|
5872
5872
|
var tmp1_safe_receiver = get_stylesParent($this);
|
|
@@ -5883,7 +5883,7 @@
|
|
|
5883
5883
|
var tmp = $this;
|
|
5884
5884
|
// Inline function 'kotlin.text.orEmpty' call
|
|
5885
5885
|
var tmp0_elvis_lhs = parser.j3e('state');
|
|
5886
|
-
tmp.
|
|
5886
|
+
tmp.t3t_1 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
5887
5887
|
var tmp_0 = $this;
|
|
5888
5888
|
var tmp0_safe_receiver = parser.j3e('columns');
|
|
5889
5889
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
|
|
@@ -5891,16 +5891,16 @@
|
|
|
5891
5891
|
var tmp_1 = $this;
|
|
5892
5892
|
var tmp2_safe_receiver = parser.j3e('selection-limit');
|
|
5893
5893
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toIntOrNull(tmp2_safe_receiver);
|
|
5894
|
-
tmp_1.
|
|
5894
|
+
tmp_1.u3t_1 = coerceAtLeast(tmp3_elvis_lhs == null ? 1 : tmp3_elvis_lhs, 1);
|
|
5895
5895
|
var tmp_2 = $this;
|
|
5896
|
-
var tmp4_elvis_lhs = Companion_instance_28.
|
|
5897
|
-
tmp_2.
|
|
5896
|
+
var tmp4_elvis_lhs = Companion_instance_28.s3s(parser.j3e('option-style'));
|
|
5897
|
+
tmp_2.v3t_1 = tmp4_elvis_lhs == null ? Companion_getInstance_31().y3s_1 : tmp4_elvis_lhs;
|
|
5898
5898
|
var tmp_3 = $this;
|
|
5899
5899
|
var tmp5_safe_receiver = parser.j3e('option-background-color');
|
|
5900
|
-
tmp_3.
|
|
5900
|
+
tmp_3.w3t_1 = tmp5_safe_receiver == null ? null : toColorOrNull(tmp5_safe_receiver);
|
|
5901
5901
|
var tmp_4 = $this;
|
|
5902
5902
|
var tmp6_safe_receiver = parser.j3e('option-selected-color');
|
|
5903
|
-
tmp_4.
|
|
5903
|
+
tmp_4.x3t_1 = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
|
|
5904
5904
|
var tmp_5 = $this;
|
|
5905
5905
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5906
5906
|
tmp_5._options = ArrayList_init_$Create$();
|
|
@@ -5926,36 +5926,36 @@
|
|
|
5926
5926
|
function Multiselect_init_$Create$(parent, parser) {
|
|
5927
5927
|
return Multiselect_init_$Init$(parent, parser, objectCreate(protoOf(Multiselect)));
|
|
5928
5928
|
}
|
|
5929
|
-
protoOf(Option).
|
|
5929
|
+
protoOf(Option).y3t = function () {
|
|
5930
5930
|
return this.multiselect;
|
|
5931
5931
|
};
|
|
5932
5932
|
protoOf(Option).w3h = function () {
|
|
5933
|
-
var tmp0_elvis_lhs = this.
|
|
5934
|
-
return tmp0_elvis_lhs == null ? this.multiselect.
|
|
5933
|
+
var tmp0_elvis_lhs = this.a3t_1;
|
|
5934
|
+
return tmp0_elvis_lhs == null ? this.multiselect.v3t_1 : tmp0_elvis_lhs;
|
|
5935
5935
|
};
|
|
5936
5936
|
protoOf(Option).z3h = function () {
|
|
5937
|
-
var tmp0_elvis_lhs = this.
|
|
5937
|
+
var tmp0_elvis_lhs = this.b3t_1;
|
|
5938
5938
|
return tmp0_elvis_lhs == null ? _get_optionBackgroundColor__l9vc27(this.multiselect) : tmp0_elvis_lhs;
|
|
5939
5939
|
};
|
|
5940
|
-
protoOf(Option).
|
|
5941
|
-
var tmp0_elvis_lhs = this.
|
|
5940
|
+
protoOf(Option).z3t = function () {
|
|
5941
|
+
var tmp0_elvis_lhs = this.c3t_1;
|
|
5942
5942
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _get_optionSelectedColor__7lkoiq(this.multiselect) : tmp0_elvis_lhs;
|
|
5943
5943
|
return tmp1_elvis_lhs == null ? get_defaultSelectedColor(get_stylesParent(this)) : tmp1_elvis_lhs;
|
|
5944
5944
|
};
|
|
5945
|
-
protoOf(Option).
|
|
5946
|
-
return this.
|
|
5945
|
+
protoOf(Option).a3u = function () {
|
|
5946
|
+
return this.d3t_1;
|
|
5947
5947
|
};
|
|
5948
5948
|
protoOf(Option).d3i = function () {
|
|
5949
|
-
return this.
|
|
5949
|
+
return this.e3t_1;
|
|
5950
5950
|
};
|
|
5951
5951
|
protoOf(Option).q3d = function () {
|
|
5952
|
-
return this.
|
|
5952
|
+
return this.f3t_1;
|
|
5953
5953
|
};
|
|
5954
5954
|
protoOf(Option).r3d = function (type) {
|
|
5955
5955
|
var tmp;
|
|
5956
5956
|
if (type.p2_1 === 2) {
|
|
5957
5957
|
// Inline function 'kotlin.collections.filter' call
|
|
5958
|
-
var tmp0 = this.
|
|
5958
|
+
var tmp0 = this.e3t_1;
|
|
5959
5959
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5960
5960
|
var destination = ArrayList_init_$Create$();
|
|
5961
5961
|
var _iterator__ex2g4s = tmp0.j();
|
|
@@ -5977,23 +5977,23 @@
|
|
|
5977
5977
|
return this.r3d(type);
|
|
5978
5978
|
};
|
|
5979
5979
|
protoOf(Option).isSelected = function (state) {
|
|
5980
|
-
return state.w1n(this.multiselect.
|
|
5980
|
+
return state.w1n(this.multiselect.t3t_1).q(this.d3t_1);
|
|
5981
5981
|
};
|
|
5982
5982
|
protoOf(Option).isSelectedFlow = function (state) {
|
|
5983
|
-
var tmp = setOf(this.multiselect.
|
|
5983
|
+
var tmp = setOf(this.multiselect.t3t_1);
|
|
5984
5984
|
return distinctUntilChanged(state.v1n(tmp, Multiselect$Option$isSelectedFlow$lambda(this)));
|
|
5985
5985
|
};
|
|
5986
5986
|
protoOf(Option).watchIsSelected = function (state, block) {
|
|
5987
|
-
return Companion_instance_58.
|
|
5987
|
+
return Companion_instance_58.b3u(this.isSelectedFlow(state), block);
|
|
5988
5988
|
};
|
|
5989
5989
|
protoOf(Option).toggleSelected = function (state) {
|
|
5990
|
-
var current = state.w1n(this.multiselect.
|
|
5991
|
-
if (current.q(this.
|
|
5992
|
-
state.z1n(this.multiselect.
|
|
5993
|
-
} else if (current.m() < this.multiselect.
|
|
5994
|
-
state.y1n(this.multiselect.
|
|
5995
|
-
} else if (this.multiselect.
|
|
5996
|
-
state.x1n(this.multiselect.
|
|
5990
|
+
var current = state.w1n(this.multiselect.t3t_1);
|
|
5991
|
+
if (current.q(this.d3t_1)) {
|
|
5992
|
+
state.z1n(this.multiselect.t3t_1, this.d3t_1);
|
|
5993
|
+
} else if (current.m() < this.multiselect.u3t_1) {
|
|
5994
|
+
state.y1n(this.multiselect.t3t_1, this.d3t_1);
|
|
5995
|
+
} else if (this.multiselect.u3t_1 === 1) {
|
|
5996
|
+
state.x1n(this.multiselect.t3t_1, listOf(this.d3t_1));
|
|
5997
5997
|
} else
|
|
5998
5998
|
return false;
|
|
5999
5999
|
return true;
|
|
@@ -6001,16 +6001,16 @@
|
|
|
6001
6001
|
function Option() {
|
|
6002
6002
|
Companion_getInstance_31();
|
|
6003
6003
|
}
|
|
6004
|
-
protoOf(Multiselect).
|
|
6005
|
-
return this.
|
|
6004
|
+
protoOf(Multiselect).c3u = function () {
|
|
6005
|
+
return this.t3t_1;
|
|
6006
6006
|
};
|
|
6007
|
-
protoOf(Multiselect).
|
|
6007
|
+
protoOf(Multiselect).d3u = function () {
|
|
6008
6008
|
return this.columns;
|
|
6009
6009
|
};
|
|
6010
|
-
protoOf(Multiselect).
|
|
6011
|
-
return this.
|
|
6010
|
+
protoOf(Multiselect).e3u = function () {
|
|
6011
|
+
return this.u3t_1;
|
|
6012
6012
|
};
|
|
6013
|
-
protoOf(Multiselect).
|
|
6013
|
+
protoOf(Multiselect).f3u = function () {
|
|
6014
6014
|
return this._options;
|
|
6015
6015
|
};
|
|
6016
6016
|
protoOf(Multiselect).a3e = function () {
|
|
@@ -6042,7 +6042,7 @@
|
|
|
6042
6042
|
protoOf(Multiselect).g3d = function () {
|
|
6043
6043
|
return !this.x39().i3f_1.i3c('multiselect') || protoOf(Content).g3d.call(this);
|
|
6044
6044
|
};
|
|
6045
|
-
protoOf(Multiselect).
|
|
6045
|
+
protoOf(Multiselect).g3u = function () {
|
|
6046
6046
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
6047
6047
|
var this_0 = this._options;
|
|
6048
6048
|
return copyToArray(this_0);
|
|
@@ -6058,8 +6058,8 @@
|
|
|
6058
6058
|
return toPlatformColor(tmp$ret$1);
|
|
6059
6059
|
}
|
|
6060
6060
|
function Companion_30() {
|
|
6061
|
-
this.
|
|
6062
|
-
this.
|
|
6061
|
+
this.h3u_1 = 'paragraph';
|
|
6062
|
+
this.i3u_1 = 'fallback';
|
|
6063
6063
|
}
|
|
6064
6064
|
var Companion_instance_31;
|
|
6065
6065
|
function Companion_getInstance_33() {
|
|
@@ -6115,7 +6115,7 @@
|
|
|
6115
6115
|
continue $l$loop_0;
|
|
6116
6116
|
skipTag(parser);
|
|
6117
6117
|
}
|
|
6118
|
-
tmp.
|
|
6118
|
+
tmp.p3u_1 = this_0.p3();
|
|
6119
6119
|
return $this;
|
|
6120
6120
|
}
|
|
6121
6121
|
function Paragraph_init_$Create$(parent, parser) {
|
|
@@ -6132,7 +6132,7 @@
|
|
|
6132
6132
|
content = tmp;
|
|
6133
6133
|
Content_init_$Init$_0(parent, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this);
|
|
6134
6134
|
Paragraph.call($this);
|
|
6135
|
-
$this.
|
|
6135
|
+
$this.p3u_1 = content($this);
|
|
6136
6136
|
return $this;
|
|
6137
6137
|
}
|
|
6138
6138
|
function createTestParagraph(parent, content) {
|
|
@@ -6142,7 +6142,7 @@
|
|
|
6142
6142
|
return emptyList();
|
|
6143
6143
|
}
|
|
6144
6144
|
protoOf(Paragraph).q3d = function () {
|
|
6145
|
-
return this.
|
|
6145
|
+
return this.p3u_1;
|
|
6146
6146
|
};
|
|
6147
6147
|
protoOf(Paragraph).a3e = function () {
|
|
6148
6148
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -6281,7 +6281,7 @@
|
|
|
6281
6281
|
}
|
|
6282
6282
|
}
|
|
6283
6283
|
function Companion_31() {
|
|
6284
|
-
this.
|
|
6284
|
+
this.q3u_1 = 'resource';
|
|
6285
6285
|
}
|
|
6286
6286
|
var Companion_instance_32;
|
|
6287
6287
|
function Companion_getInstance_34() {
|
|
@@ -6315,7 +6315,7 @@
|
|
|
6315
6315
|
protoOf(Resource).q2 = function () {
|
|
6316
6316
|
return this.name;
|
|
6317
6317
|
};
|
|
6318
|
-
protoOf(Resource).
|
|
6318
|
+
protoOf(Resource).r3u = function () {
|
|
6319
6319
|
return this.localName;
|
|
6320
6320
|
};
|
|
6321
6321
|
protoOf(Resource).equals = function (other) {
|
|
@@ -6359,9 +6359,9 @@
|
|
|
6359
6359
|
var Mode_FIXED_instance;
|
|
6360
6360
|
function Companion_32() {
|
|
6361
6361
|
Companion_instance_33 = this;
|
|
6362
|
-
this.
|
|
6362
|
+
this.s3u_1 = Mode_AUTO_getInstance();
|
|
6363
6363
|
}
|
|
6364
|
-
protoOf(Companion_32).
|
|
6364
|
+
protoOf(Companion_32).t3u = function (_this__u8e3s4) {
|
|
6365
6365
|
switch (_this__u8e3s4) {
|
|
6366
6366
|
case 'auto':
|
|
6367
6367
|
return Mode_AUTO_getInstance();
|
|
@@ -6403,7 +6403,7 @@
|
|
|
6403
6403
|
Companion_getInstance_35();
|
|
6404
6404
|
}
|
|
6405
6405
|
function Companion_33() {
|
|
6406
|
-
this.
|
|
6406
|
+
this.u3u_1 = 'spacer';
|
|
6407
6407
|
}
|
|
6408
6408
|
var Companion_instance_34;
|
|
6409
6409
|
function Companion_getInstance_36() {
|
|
@@ -6415,8 +6415,8 @@
|
|
|
6415
6415
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'spacer');
|
|
6416
6416
|
var tmp = $this;
|
|
6417
6417
|
var tmp0_safe_receiver = parser.j3e('mode');
|
|
6418
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_35().
|
|
6419
|
-
tmp.mode = tmp1_elvis_lhs == null ? Companion_getInstance_35().
|
|
6418
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_35().t3u(tmp0_safe_receiver);
|
|
6419
|
+
tmp.mode = tmp1_elvis_lhs == null ? Companion_getInstance_35().s3u_1 : tmp1_elvis_lhs;
|
|
6420
6420
|
var tmp_0 = $this;
|
|
6421
6421
|
var tmp2_safe_receiver = parser.j3e('height');
|
|
6422
6422
|
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : toIntOrNull(tmp2_safe_receiver);
|
|
@@ -6452,7 +6452,7 @@
|
|
|
6452
6452
|
Mode_initEntries();
|
|
6453
6453
|
return Mode_FIXED_instance;
|
|
6454
6454
|
}
|
|
6455
|
-
protoOf(Spacer).
|
|
6455
|
+
protoOf(Spacer).d3v = function () {
|
|
6456
6456
|
return this.mode;
|
|
6457
6457
|
};
|
|
6458
6458
|
protoOf(Spacer).s3g = function () {
|
|
@@ -6466,8 +6466,8 @@
|
|
|
6466
6466
|
}
|
|
6467
6467
|
function Companion_34() {
|
|
6468
6468
|
Companion_instance_35 = this;
|
|
6469
|
-
this.
|
|
6470
|
-
this.
|
|
6469
|
+
this.e3v_1 = Align_START_getInstance();
|
|
6470
|
+
this.f3v_1 = 1.0;
|
|
6471
6471
|
}
|
|
6472
6472
|
var Companion_instance_35;
|
|
6473
6473
|
function Companion_getInstance_37() {
|
|
@@ -6509,7 +6509,7 @@
|
|
|
6509
6509
|
}
|
|
6510
6510
|
function get_textAlign_0(_this__u8e3s4) {
|
|
6511
6511
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.f3j();
|
|
6512
|
-
return tmp1_elvis_lhs == null ? Companion_getInstance_37().
|
|
6512
|
+
return tmp1_elvis_lhs == null ? Companion_getInstance_37().e3v_1 : tmp1_elvis_lhs;
|
|
6513
6513
|
}
|
|
6514
6514
|
function stylesOverride(_this__u8e3s4, textAlign, textColor, textScale) {
|
|
6515
6515
|
textAlign = textAlign === VOID ? null : textAlign;
|
|
@@ -6519,27 +6519,27 @@
|
|
|
6519
6519
|
}
|
|
6520
6520
|
function StylesOverride(parent, _textAlign, _textColor, _textScale) {
|
|
6521
6521
|
BaseModel.call(this, parent);
|
|
6522
|
-
this.
|
|
6523
|
-
this.
|
|
6524
|
-
this.
|
|
6522
|
+
this.h3v_1 = _textAlign;
|
|
6523
|
+
this.i3v_1 = _textColor;
|
|
6524
|
+
this.j3v_1 = _textScale;
|
|
6525
6525
|
}
|
|
6526
6526
|
protoOf(StylesOverride).f3j = function () {
|
|
6527
|
-
var tmp0_safe_receiver = this.
|
|
6527
|
+
var tmp0_safe_receiver = this.h3v_1;
|
|
6528
6528
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
6529
6529
|
return tmp1_elvis_lhs == null ? get_textAlign.call(this) : tmp1_elvis_lhs;
|
|
6530
6530
|
};
|
|
6531
6531
|
protoOf(StylesOverride).w3i = function () {
|
|
6532
|
-
var tmp0_safe_receiver = this.
|
|
6532
|
+
var tmp0_safe_receiver = this.i3v_1;
|
|
6533
6533
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
6534
6534
|
return tmp1_elvis_lhs == null ? get_textColor.call(this) : tmp1_elvis_lhs;
|
|
6535
6535
|
};
|
|
6536
6536
|
protoOf(StylesOverride).e3j = function () {
|
|
6537
|
-
return get_textScale.call(this) * this.
|
|
6537
|
+
return get_textScale.call(this) * this.j3v_1;
|
|
6538
6538
|
};
|
|
6539
6539
|
function Tab_init_$Init$(parent, parser, $this) {
|
|
6540
6540
|
BaseModel.call($this, parent);
|
|
6541
6541
|
Tab.call($this);
|
|
6542
|
-
$this.
|
|
6542
|
+
$this.l3v_1 = parent;
|
|
6543
6543
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'tab');
|
|
6544
6544
|
var tmp = $this;
|
|
6545
6545
|
var tmp0_safe_receiver = parser.j3e('listeners');
|
|
@@ -6556,7 +6556,7 @@
|
|
|
6556
6556
|
tmp._listeners = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
6557
6557
|
var tmp_1 = $this;
|
|
6558
6558
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6559
|
-
tmp_1.
|
|
6559
|
+
tmp_1.n3v_1 = ArrayList_init_$Create$();
|
|
6560
6560
|
var label = null;
|
|
6561
6561
|
var tmp_2 = $this;
|
|
6562
6562
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -6576,7 +6576,7 @@
|
|
|
6576
6576
|
var tmp0_subject = parser.w3c();
|
|
6577
6577
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
6578
6578
|
if (parser.q2() === 'events') {
|
|
6579
|
-
var tmp0 = $this.
|
|
6579
|
+
var tmp0 = $this.n3v_1;
|
|
6580
6580
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6581
6581
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
6582
6582
|
addAll(tmp0, elements);
|
|
@@ -6616,7 +6616,7 @@
|
|
|
6616
6616
|
continue $l$loop_0;
|
|
6617
6617
|
skipTag(parser);
|
|
6618
6618
|
}
|
|
6619
|
-
tmp_2.
|
|
6619
|
+
tmp_2.m3v_1 = this_0.p3();
|
|
6620
6620
|
$this.label = label;
|
|
6621
6621
|
return $this;
|
|
6622
6622
|
}
|
|
@@ -6624,7 +6624,7 @@
|
|
|
6624
6624
|
return Tab_init_$Init$(parent, parser, objectCreate(protoOf(Tab)));
|
|
6625
6625
|
}
|
|
6626
6626
|
function Companion_35() {
|
|
6627
|
-
this.
|
|
6627
|
+
this.o3v_1 = 'tabs';
|
|
6628
6628
|
}
|
|
6629
6629
|
var Companion_instance_36;
|
|
6630
6630
|
function Companion_getInstance_38() {
|
|
@@ -6660,26 +6660,26 @@
|
|
|
6660
6660
|
function Tabs_init_$Create$(parent, parser) {
|
|
6661
6661
|
return Tabs_init_$Init$(parent, parser, objectCreate(protoOf(Tabs)));
|
|
6662
6662
|
}
|
|
6663
|
-
protoOf(Tab).
|
|
6664
|
-
return this.
|
|
6663
|
+
protoOf(Tab).v3v = function () {
|
|
6664
|
+
return this.l3v_1._tabs.r(this);
|
|
6665
6665
|
};
|
|
6666
|
-
protoOf(Tab).
|
|
6666
|
+
protoOf(Tab).w3v = function () {
|
|
6667
6667
|
return this._listeners;
|
|
6668
6668
|
};
|
|
6669
|
-
protoOf(Tab).
|
|
6669
|
+
protoOf(Tab).p3m = function () {
|
|
6670
6670
|
return this.label;
|
|
6671
6671
|
};
|
|
6672
6672
|
protoOf(Tab).q3d = function () {
|
|
6673
|
-
return this.
|
|
6673
|
+
return this.m3v_1;
|
|
6674
6674
|
};
|
|
6675
6675
|
protoOf(Tab).d3i = function () {
|
|
6676
|
-
return this.
|
|
6676
|
+
return this.n3v_1;
|
|
6677
6677
|
};
|
|
6678
6678
|
protoOf(Tab).r3d = function (type) {
|
|
6679
6679
|
var tmp;
|
|
6680
6680
|
if (type.p2_1 === 2) {
|
|
6681
6681
|
// Inline function 'kotlin.collections.filter' call
|
|
6682
|
-
var tmp0 = this.
|
|
6682
|
+
var tmp0 = this.n3v_1;
|
|
6683
6683
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6684
6684
|
var destination = ArrayList_init_$Create$();
|
|
6685
6685
|
var _iterator__ex2g4s = tmp0.j();
|
|
@@ -6700,14 +6700,14 @@
|
|
|
6700
6700
|
protoOf(Tab)._getAnalyticsEvents = function (type) {
|
|
6701
6701
|
return this.r3d(type);
|
|
6702
6702
|
};
|
|
6703
|
-
protoOf(Tab).
|
|
6703
|
+
protoOf(Tab).x3v = function () {
|
|
6704
6704
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
6705
6705
|
var this_0 = this._listeners;
|
|
6706
6706
|
return copyToArray(this_0);
|
|
6707
6707
|
};
|
|
6708
6708
|
function Tab() {
|
|
6709
6709
|
}
|
|
6710
|
-
protoOf(Tabs).
|
|
6710
|
+
protoOf(Tabs).y3v = function () {
|
|
6711
6711
|
return this._tabs;
|
|
6712
6712
|
};
|
|
6713
6713
|
protoOf(Tabs).a3e = function () {
|
|
@@ -6736,7 +6736,7 @@
|
|
|
6736
6736
|
}
|
|
6737
6737
|
return destination;
|
|
6738
6738
|
};
|
|
6739
|
-
protoOf(Tabs).
|
|
6739
|
+
protoOf(Tabs).z3v = function () {
|
|
6740
6740
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
6741
6741
|
var this_0 = this._tabs;
|
|
6742
6742
|
return copyToArray(this_0);
|
|
@@ -6748,7 +6748,7 @@
|
|
|
6748
6748
|
var Align_END_instance;
|
|
6749
6749
|
function Companion_36() {
|
|
6750
6750
|
}
|
|
6751
|
-
protoOf(Companion_36).
|
|
6751
|
+
protoOf(Companion_36).a3w = function (_this__u8e3s4) {
|
|
6752
6752
|
switch (_this__u8e3s4) {
|
|
6753
6753
|
case 'start':
|
|
6754
6754
|
return Align_START_getInstance();
|
|
@@ -6807,7 +6807,7 @@
|
|
|
6807
6807
|
var Style_UNDERLINE_instance;
|
|
6808
6808
|
function Companion_37() {
|
|
6809
6809
|
}
|
|
6810
|
-
protoOf(Companion_37).
|
|
6810
|
+
protoOf(Companion_37).b3w = function (_this__u8e3s4) {
|
|
6811
6811
|
var tmp0 = get_REGEX_SEQUENCE_SEPARATOR().fd(_this__u8e3s4);
|
|
6812
6812
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
6813
6813
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -6860,9 +6860,9 @@
|
|
|
6860
6860
|
Style_UNDERLINE_instance = new Style_1('UNDERLINE', 2);
|
|
6861
6861
|
}
|
|
6862
6862
|
function Companion_38() {
|
|
6863
|
-
this.
|
|
6864
|
-
this.
|
|
6865
|
-
this.
|
|
6863
|
+
this.c3w_1 = 'text';
|
|
6864
|
+
this.d3w_1 = 40;
|
|
6865
|
+
this.e3w_1 = 0;
|
|
6866
6866
|
}
|
|
6867
6867
|
var Companion_instance_39;
|
|
6868
6868
|
function Companion_getInstance_41() {
|
|
@@ -6874,18 +6874,18 @@
|
|
|
6874
6874
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'text');
|
|
6875
6875
|
var tmp = $this;
|
|
6876
6876
|
var tmp0_safe_receiver = parser.j3e('text-align');
|
|
6877
|
-
tmp.
|
|
6877
|
+
tmp.a3s_1 = tmp0_safe_receiver == null ? null : Companion_instance_37.a3w(tmp0_safe_receiver);
|
|
6878
6878
|
var tmp_0 = $this;
|
|
6879
6879
|
var tmp1_safe_receiver = parser.j3e('text-color');
|
|
6880
|
-
tmp_0.
|
|
6880
|
+
tmp_0.b3s_1 = tmp1_safe_receiver == null ? null : toColorOrNull(tmp1_safe_receiver);
|
|
6881
6881
|
var tmp_1 = $this;
|
|
6882
6882
|
var tmp2_safe_receiver = parser.j3e('text-scale');
|
|
6883
6883
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toDoubleOrNull(tmp2_safe_receiver);
|
|
6884
|
-
tmp_1.
|
|
6884
|
+
tmp_1.c3s_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
|
|
6885
6885
|
var tmp_2 = $this;
|
|
6886
6886
|
var tmp4_safe_receiver = parser.j3e('text-style');
|
|
6887
6887
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
6888
|
-
var tmp0_elvis_lhs = tmp4_safe_receiver == null ? null : Companion_instance_38.
|
|
6888
|
+
var tmp0_elvis_lhs = tmp4_safe_receiver == null ? null : Companion_instance_38.b3w(tmp4_safe_receiver);
|
|
6889
6889
|
tmp_2._textStyles = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
6890
6890
|
var tmp_3 = $this;
|
|
6891
6891
|
var tmp5_safe_receiver = parser.j3e('minimum-lines');
|
|
@@ -6906,17 +6906,17 @@
|
|
|
6906
6906
|
}
|
|
6907
6907
|
var tmp7_elvis_lhs = tmp_4;
|
|
6908
6908
|
tmp_3.minimumLines = tmp7_elvis_lhs == null ? 0 : tmp7_elvis_lhs;
|
|
6909
|
-
$this.
|
|
6909
|
+
$this.d3s_1 = parser.j3e('start-image');
|
|
6910
6910
|
var tmp_6 = $this;
|
|
6911
6911
|
var tmp8_safe_receiver = parser.j3e('start-image-size');
|
|
6912
6912
|
var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : toIntOrNull(tmp8_safe_receiver);
|
|
6913
6913
|
tmp_6.startImageSize = tmp9_elvis_lhs == null ? 40 : tmp9_elvis_lhs;
|
|
6914
|
-
$this.
|
|
6914
|
+
$this.e3s_1 = parser.j3e('end-image');
|
|
6915
6915
|
var tmp_7 = $this;
|
|
6916
6916
|
var tmp10_safe_receiver = parser.j3e('end-image-size');
|
|
6917
6917
|
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : toIntOrNull(tmp10_safe_receiver);
|
|
6918
6918
|
tmp_7.endImageSize = tmp11_elvis_lhs == null ? 40 : tmp11_elvis_lhs;
|
|
6919
|
-
$this.text = parser.
|
|
6919
|
+
$this.text = parser.f3w();
|
|
6920
6920
|
return $this;
|
|
6921
6921
|
}
|
|
6922
6922
|
function Text_init_$Create$(parent, parser) {
|
|
@@ -6939,14 +6939,14 @@
|
|
|
6939
6939
|
Content_init_$Init$_0(parent, VOID, VOID, VOID, VOID, VOID, invisibleIf, goneIf, $this);
|
|
6940
6940
|
Text.call($this);
|
|
6941
6941
|
$this.text = text;
|
|
6942
|
-
$this.
|
|
6943
|
-
$this.
|
|
6944
|
-
$this.
|
|
6942
|
+
$this.a3s_1 = textAlign;
|
|
6943
|
+
$this.b3s_1 = textColor;
|
|
6944
|
+
$this.c3s_1 = textScale;
|
|
6945
6945
|
$this._textStyles = textStyles;
|
|
6946
6946
|
$this.minimumLines = minimumLines;
|
|
6947
|
-
$this.
|
|
6947
|
+
$this.d3s_1 = startImage;
|
|
6948
6948
|
$this.startImageSize = startImageSize;
|
|
6949
|
-
$this.
|
|
6949
|
+
$this.e3s_1 = endImage;
|
|
6950
6950
|
$this.endImageSize = endImageSize;
|
|
6951
6951
|
return $this;
|
|
6952
6952
|
}
|
|
@@ -6987,38 +6987,38 @@
|
|
|
6987
6987
|
return this.text;
|
|
6988
6988
|
};
|
|
6989
6989
|
protoOf(Text).f3j = function () {
|
|
6990
|
-
var tmp0_elvis_lhs = this.
|
|
6990
|
+
var tmp0_elvis_lhs = this.a3s_1;
|
|
6991
6991
|
return tmp0_elvis_lhs == null ? get_textAlign_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
6992
6992
|
};
|
|
6993
6993
|
protoOf(Text).w3i = function () {
|
|
6994
|
-
var tmp0_elvis_lhs = this.
|
|
6994
|
+
var tmp0_elvis_lhs = this.b3s_1;
|
|
6995
6995
|
return tmp0_elvis_lhs == null ? get_textColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
6996
6996
|
};
|
|
6997
6997
|
protoOf(Text).e3j = function () {
|
|
6998
|
-
return this.
|
|
6998
|
+
return this.c3s_1 * get_textScale_0(get_stylesParent(this));
|
|
6999
6999
|
};
|
|
7000
|
-
protoOf(Text).
|
|
7000
|
+
protoOf(Text).k3w = function () {
|
|
7001
7001
|
return this._textStyles;
|
|
7002
7002
|
};
|
|
7003
|
-
protoOf(Text).
|
|
7003
|
+
protoOf(Text).l3w = function () {
|
|
7004
7004
|
return this.minimumLines;
|
|
7005
7005
|
};
|
|
7006
|
+
protoOf(Text).m3w = function () {
|
|
7007
|
+
return this.d3s_1;
|
|
7008
|
+
};
|
|
7009
|
+
protoOf(Text).n3w = function () {
|
|
7010
|
+
return getResource(this, this.d3s_1);
|
|
7011
|
+
};
|
|
7006
7012
|
protoOf(Text).o3w = function () {
|
|
7007
|
-
return this.
|
|
7013
|
+
return this.startImageSize;
|
|
7008
7014
|
};
|
|
7009
7015
|
protoOf(Text).p3w = function () {
|
|
7010
|
-
return
|
|
7016
|
+
return this.e3s_1;
|
|
7011
7017
|
};
|
|
7012
7018
|
protoOf(Text).q3w = function () {
|
|
7013
|
-
return this.
|
|
7019
|
+
return getResource(this, this.e3s_1);
|
|
7014
7020
|
};
|
|
7015
7021
|
protoOf(Text).r3w = function () {
|
|
7016
|
-
return this.g3s_1;
|
|
7017
|
-
};
|
|
7018
|
-
protoOf(Text).s3w = function () {
|
|
7019
|
-
return getResource(this, this.g3s_1);
|
|
7020
|
-
};
|
|
7021
|
-
protoOf(Text).t3w = function () {
|
|
7022
7022
|
return this.endImageSize;
|
|
7023
7023
|
};
|
|
7024
7024
|
protoOf(Text).equals = function (other) {
|
|
@@ -7107,7 +7107,7 @@
|
|
|
7107
7107
|
result = imul(31, result) + this.endImageSize | 0;
|
|
7108
7108
|
return result;
|
|
7109
7109
|
};
|
|
7110
|
-
protoOf(Text).
|
|
7110
|
+
protoOf(Text).s3w = function () {
|
|
7111
7111
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7112
7112
|
var this_0 = this._textStyles;
|
|
7113
7113
|
return copyToArray(this_0);
|
|
@@ -7302,7 +7302,7 @@
|
|
|
7302
7302
|
Companion_getInstance_42();
|
|
7303
7303
|
this.j3j_1 = version;
|
|
7304
7304
|
}
|
|
7305
|
-
protoOf(Version).
|
|
7305
|
+
protoOf(Version).t3w = function (other) {
|
|
7306
7306
|
return Version__compareTo_impl_crux23(this.j3j_1, other);
|
|
7307
7307
|
};
|
|
7308
7308
|
protoOf(Version).d = function (other) {
|
|
@@ -7321,9 +7321,9 @@
|
|
|
7321
7321
|
var Provider_UNKNOWN_instance;
|
|
7322
7322
|
function Companion_40() {
|
|
7323
7323
|
Companion_instance_41 = this;
|
|
7324
|
-
this.
|
|
7324
|
+
this.u3w_1 = Provider_UNKNOWN_getInstance();
|
|
7325
7325
|
}
|
|
7326
|
-
protoOf(Companion_40).
|
|
7326
|
+
protoOf(Companion_40).s3q = function (value) {
|
|
7327
7327
|
return value === 'youtube' ? Provider_YOUTUBE_getInstance() : null;
|
|
7328
7328
|
};
|
|
7329
7329
|
var Companion_instance_41;
|
|
@@ -7359,10 +7359,10 @@
|
|
|
7359
7359
|
}
|
|
7360
7360
|
function Companion_41() {
|
|
7361
7361
|
Companion_instance_42 = this;
|
|
7362
|
-
this.
|
|
7363
|
-
this.
|
|
7364
|
-
this.
|
|
7365
|
-
this.
|
|
7362
|
+
this.v3w_1 = 'video';
|
|
7363
|
+
this.w3w_1 = new AspectRatio(16, 9);
|
|
7364
|
+
this.x3w_1 = Horizontal_CENTER_getInstance();
|
|
7365
|
+
this.y3w_1 = new Percent(1.0);
|
|
7366
7366
|
}
|
|
7367
7367
|
var Companion_instance_42;
|
|
7368
7368
|
function Companion_getInstance_44() {
|
|
@@ -7378,16 +7378,16 @@
|
|
|
7378
7378
|
Video.call($this);
|
|
7379
7379
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/content', 'video');
|
|
7380
7380
|
var tmp = $this;
|
|
7381
|
-
var tmp0_elvis_lhs = Companion_getInstance_43().
|
|
7382
|
-
tmp.provider = tmp0_elvis_lhs == null ? Companion_getInstance_43().
|
|
7381
|
+
var tmp0_elvis_lhs = Companion_getInstance_43().s3q(parser.j3e('provider'));
|
|
7382
|
+
tmp.provider = tmp0_elvis_lhs == null ? Companion_getInstance_43().u3w_1 : tmp0_elvis_lhs;
|
|
7383
7383
|
$this.videoId = parser.j3e('video-id');
|
|
7384
7384
|
var tmp_0 = $this;
|
|
7385
7385
|
var tmp1_elvis_lhs = Companion_instance_6.q3g(parser.j3e('aspect-ratio'));
|
|
7386
|
-
tmp_0.aspectRatio = tmp1_elvis_lhs == null ? Companion_getInstance_44().
|
|
7386
|
+
tmp_0.aspectRatio = tmp1_elvis_lhs == null ? Companion_getInstance_44().w3w_1 : tmp1_elvis_lhs;
|
|
7387
7387
|
var tmp_1 = $this;
|
|
7388
7388
|
var tmp2_safe_receiver = Companion_getInstance_22().s3h(parser.j3e('gravity'));
|
|
7389
7389
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.horizontal;
|
|
7390
|
-
tmp_1.gravity = tmp3_elvis_lhs == null ? Companion_getInstance_44().
|
|
7390
|
+
tmp_1.gravity = tmp3_elvis_lhs == null ? Companion_getInstance_44().x3w_1 : tmp3_elvis_lhs;
|
|
7391
7391
|
var tmp_2 = $this;
|
|
7392
7392
|
var tmp4_safe_receiver = Companion_instance_14.t3h(parser.j3e('width'));
|
|
7393
7393
|
var tmp_3;
|
|
@@ -7405,7 +7405,7 @@
|
|
|
7405
7405
|
tmp_3 = tmp_4;
|
|
7406
7406
|
}
|
|
7407
7407
|
var tmp5_elvis_lhs = tmp_3;
|
|
7408
|
-
tmp_2.width = tmp5_elvis_lhs == null ? Companion_getInstance_44().
|
|
7408
|
+
tmp_2.width = tmp5_elvis_lhs == null ? Companion_getInstance_44().y3w_1 : tmp5_elvis_lhs;
|
|
7409
7409
|
skipTag(parser);
|
|
7410
7410
|
return $this;
|
|
7411
7411
|
}
|
|
@@ -7420,13 +7420,13 @@
|
|
|
7420
7420
|
Provider_initEntries();
|
|
7421
7421
|
return Provider_UNKNOWN_instance;
|
|
7422
7422
|
}
|
|
7423
|
-
protoOf(Video).
|
|
7423
|
+
protoOf(Video).h3x = function () {
|
|
7424
7424
|
return this.provider;
|
|
7425
7425
|
};
|
|
7426
|
-
protoOf(Video).
|
|
7426
|
+
protoOf(Video).i3x = function () {
|
|
7427
7427
|
return this.videoId;
|
|
7428
7428
|
};
|
|
7429
|
-
protoOf(Video).
|
|
7429
|
+
protoOf(Video).j3x = function () {
|
|
7430
7430
|
return this.aspectRatio;
|
|
7431
7431
|
};
|
|
7432
7432
|
protoOf(Video).x3h = function () {
|
|
@@ -7454,15 +7454,15 @@
|
|
|
7454
7454
|
function Visibility$watchVisibility$slambda(resultContinuation) {
|
|
7455
7455
|
CoroutineImpl.call(this, resultContinuation);
|
|
7456
7456
|
}
|
|
7457
|
-
protoOf(Visibility$watchVisibility$slambda).
|
|
7458
|
-
var tmp = this.
|
|
7457
|
+
protoOf(Visibility$watchVisibility$slambda).u3x = function (invisible, gone, $completion) {
|
|
7458
|
+
var tmp = this.v3x(invisible, gone, $completion);
|
|
7459
7459
|
tmp.e9_1 = Unit_instance;
|
|
7460
7460
|
tmp.f9_1 = null;
|
|
7461
7461
|
return tmp.u9();
|
|
7462
7462
|
};
|
|
7463
7463
|
protoOf(Visibility$watchVisibility$slambda).h1g = function (p1, p2, $completion) {
|
|
7464
7464
|
var tmp = (!(p1 == null) ? typeof p1 === 'boolean' : false) ? p1 : THROW_CCE();
|
|
7465
|
-
return this.
|
|
7465
|
+
return this.u3x(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
|
|
7466
7466
|
};
|
|
7467
7467
|
protoOf(Visibility$watchVisibility$slambda).u9 = function () {
|
|
7468
7468
|
var suspendResult = this.e9_1;
|
|
@@ -7471,7 +7471,7 @@
|
|
|
7471
7471
|
var tmp = this.c9_1;
|
|
7472
7472
|
if (tmp === 0) {
|
|
7473
7473
|
this.d9_1 = 1;
|
|
7474
|
-
return new Pair(this.
|
|
7474
|
+
return new Pair(this.s3x_1, this.t3x_1);
|
|
7475
7475
|
} else if (tmp === 1) {
|
|
7476
7476
|
throw this.f9_1;
|
|
7477
7477
|
}
|
|
@@ -7481,16 +7481,16 @@
|
|
|
7481
7481
|
}
|
|
7482
7482
|
while (true);
|
|
7483
7483
|
};
|
|
7484
|
-
protoOf(Visibility$watchVisibility$slambda).
|
|
7484
|
+
protoOf(Visibility$watchVisibility$slambda).v3x = function (invisible, gone, completion) {
|
|
7485
7485
|
var i = new Visibility$watchVisibility$slambda(completion);
|
|
7486
|
-
i.
|
|
7487
|
-
i.
|
|
7486
|
+
i.s3x_1 = invisible;
|
|
7487
|
+
i.t3x_1 = gone;
|
|
7488
7488
|
return i;
|
|
7489
7489
|
};
|
|
7490
7490
|
function Visibility$watchVisibility$slambda_0(resultContinuation) {
|
|
7491
7491
|
var i = new Visibility$watchVisibility$slambda(resultContinuation);
|
|
7492
7492
|
var l = function (invisible, gone, $completion) {
|
|
7493
|
-
return i.
|
|
7493
|
+
return i.u3x(invisible, gone, $completion);
|
|
7494
7494
|
};
|
|
7495
7495
|
l.$arity = 2;
|
|
7496
7496
|
return l;
|
|
@@ -7522,10 +7522,10 @@
|
|
|
7522
7522
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/lesson', 'page');
|
|
7523
7523
|
var tmp = $this;
|
|
7524
7524
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7525
|
-
tmp.
|
|
7525
|
+
tmp.o3y_1 = ArrayList_init_$Create$();
|
|
7526
7526
|
var tmp_0 = $this;
|
|
7527
7527
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7528
|
-
tmp_0.
|
|
7528
|
+
tmp_0.p3y_1 = ArrayList_init_$Create$();
|
|
7529
7529
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7530
7530
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7531
7531
|
if (!(parser.v3c() === 2))
|
|
@@ -7534,14 +7534,14 @@
|
|
|
7534
7534
|
var tmp0_subject = parser.w3c();
|
|
7535
7535
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7536
7536
|
if (parser.q2() === 'events') {
|
|
7537
|
-
var tmp0 = $this.
|
|
7537
|
+
var tmp0 = $this.o3y_1;
|
|
7538
7538
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7539
7539
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7540
7540
|
addAll(tmp0, elements);
|
|
7541
7541
|
}
|
|
7542
7542
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/lesson') {
|
|
7543
7543
|
if (parser.q2() === 'content') {
|
|
7544
|
-
var tmp4 = $this.
|
|
7544
|
+
var tmp4 = $this.p3y_1;
|
|
7545
7545
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7546
7546
|
// Inline function 'kotlin.collections.buildList' call
|
|
7547
7547
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7602,17 +7602,17 @@
|
|
|
7602
7602
|
return LessonPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(LessonPage)));
|
|
7603
7603
|
}
|
|
7604
7604
|
protoOf(LessonPage).d3i = function () {
|
|
7605
|
-
return this.
|
|
7605
|
+
return this.o3y_1;
|
|
7606
7606
|
};
|
|
7607
7607
|
protoOf(LessonPage).q3d = function () {
|
|
7608
|
-
return this.
|
|
7608
|
+
return this.p3y_1;
|
|
7609
7609
|
};
|
|
7610
7610
|
function LessonPage() {
|
|
7611
7611
|
}
|
|
7612
7612
|
function Companion_42() {
|
|
7613
|
-
this.
|
|
7614
|
-
this.
|
|
7615
|
-
this.
|
|
7613
|
+
this.p3z_1 = 'card';
|
|
7614
|
+
this.q3z_1 = 'id';
|
|
7615
|
+
this.r3z_1 = 'content';
|
|
7616
7616
|
}
|
|
7617
7617
|
var Companion_instance_43;
|
|
7618
7618
|
function Companion_getInstance_45() {
|
|
@@ -7623,16 +7623,16 @@
|
|
|
7623
7623
|
Card_0.call($this);
|
|
7624
7624
|
$this.page = page;
|
|
7625
7625
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'card');
|
|
7626
|
-
$this.
|
|
7626
|
+
$this.t3z_1 = parser.j3e('id');
|
|
7627
7627
|
var tmp = $this;
|
|
7628
7628
|
var tmp0_safe_receiver = parser.j3e('background-color');
|
|
7629
|
-
tmp.
|
|
7629
|
+
tmp.u3z_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
7630
7630
|
var tmp_0 = $this;
|
|
7631
7631
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7632
|
-
tmp_0.
|
|
7632
|
+
tmp_0.v3z_1 = ArrayList_init_$Create$();
|
|
7633
7633
|
var tmp_1 = $this;
|
|
7634
7634
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7635
|
-
tmp_1.
|
|
7635
|
+
tmp_1.w3z_1 = ArrayList_init_$Create$();
|
|
7636
7636
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7637
7637
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7638
7638
|
if (!(parser.v3c() === 2))
|
|
@@ -7641,14 +7641,14 @@
|
|
|
7641
7641
|
var tmp0_subject = parser.w3c();
|
|
7642
7642
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7643
7643
|
if (parser.q2() === 'events') {
|
|
7644
|
-
var tmp0 = $this.
|
|
7644
|
+
var tmp0 = $this.v3z_1;
|
|
7645
7645
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7646
7646
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7647
7647
|
addAll(tmp0, elements);
|
|
7648
7648
|
}
|
|
7649
7649
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7650
7650
|
if (parser.q2() === 'content') {
|
|
7651
|
-
var tmp4 = $this.
|
|
7651
|
+
var tmp4 = $this.w3z_1;
|
|
7652
7652
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7653
7653
|
// Inline function 'kotlin.collections.buildList' call
|
|
7654
7654
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7709,7 +7709,7 @@
|
|
|
7709
7709
|
return Card_init_$Init$_0(page, parser, objectCreate(protoOf(Card_0)));
|
|
7710
7710
|
}
|
|
7711
7711
|
function Companion_43() {
|
|
7712
|
-
this.
|
|
7712
|
+
this.x3z_1 = 'cardcollection';
|
|
7713
7713
|
}
|
|
7714
7714
|
var Companion_instance_44;
|
|
7715
7715
|
function Companion_getInstance_46() {
|
|
@@ -7719,10 +7719,10 @@
|
|
|
7719
7719
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7720
7720
|
CardCollectionPage.call($this);
|
|
7721
7721
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7722
|
-
Companion_getInstance_48().
|
|
7722
|
+
Companion_getInstance_48().y3z(parser, 'cardcollection');
|
|
7723
7723
|
var tmp = $this;
|
|
7724
7724
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7725
|
-
tmp.
|
|
7725
|
+
tmp.r40_1 = ArrayList_init_$Create$();
|
|
7726
7726
|
var tmp_0 = $this;
|
|
7727
7727
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7728
7728
|
tmp_0._cards = ArrayList_init_$Create$();
|
|
@@ -7734,7 +7734,7 @@
|
|
|
7734
7734
|
var tmp0_subject = parser.w3c();
|
|
7735
7735
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7736
7736
|
if (parser.q2() === 'events') {
|
|
7737
|
-
var tmp0 = $this.
|
|
7737
|
+
var tmp0 = $this.r40_1;
|
|
7738
7738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7739
7739
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7740
7740
|
addAll(tmp0, elements);
|
|
@@ -7776,22 +7776,22 @@
|
|
|
7776
7776
|
}
|
|
7777
7777
|
return this_0.p3();
|
|
7778
7778
|
}
|
|
7779
|
-
protoOf(Card_0).
|
|
7779
|
+
protoOf(Card_0).s40 = function () {
|
|
7780
7780
|
return this.page;
|
|
7781
7781
|
};
|
|
7782
7782
|
protoOf(Card_0).o3d = function () {
|
|
7783
|
-
var tmp0_elvis_lhs = this.
|
|
7783
|
+
var tmp0_elvis_lhs = this.t3z_1;
|
|
7784
7784
|
return tmp0_elvis_lhs == null ? this.page.id + '-' + this.position : tmp0_elvis_lhs;
|
|
7785
7785
|
};
|
|
7786
|
-
protoOf(Card_0).
|
|
7786
|
+
protoOf(Card_0).v3v = function () {
|
|
7787
7787
|
return this.page._cards.r(this);
|
|
7788
7788
|
};
|
|
7789
|
-
protoOf(Card_0).
|
|
7790
|
-
var tmp0_elvis_lhs = this.
|
|
7789
|
+
protoOf(Card_0).o3r = function () {
|
|
7790
|
+
var tmp0_elvis_lhs = this.u3z_1;
|
|
7791
7791
|
return tmp0_elvis_lhs == null ? this.page.b3j() : tmp0_elvis_lhs;
|
|
7792
7792
|
};
|
|
7793
7793
|
protoOf(Card_0).q3d = function () {
|
|
7794
|
-
return this.
|
|
7794
|
+
return this.w3z_1;
|
|
7795
7795
|
};
|
|
7796
7796
|
protoOf(Card_0).a3e = function () {
|
|
7797
7797
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -7814,7 +7814,7 @@
|
|
|
7814
7814
|
case 0:
|
|
7815
7815
|
// Inline function 'kotlin.collections.filter' call
|
|
7816
7816
|
|
|
7817
|
-
var tmp0 = this.
|
|
7817
|
+
var tmp0 = this.v3z_1;
|
|
7818
7818
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7819
7819
|
|
|
7820
7820
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7832,7 +7832,7 @@
|
|
|
7832
7832
|
case 1:
|
|
7833
7833
|
// Inline function 'kotlin.collections.filter' call
|
|
7834
7834
|
|
|
7835
|
-
var tmp0_0 = this.
|
|
7835
|
+
var tmp0_0 = this.v3z_1;
|
|
7836
7836
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7837
7837
|
|
|
7838
7838
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -7859,12 +7859,12 @@
|
|
|
7859
7859
|
function Card_0() {
|
|
7860
7860
|
}
|
|
7861
7861
|
protoOf(CardCollectionPage).d3i = function () {
|
|
7862
|
-
return this.
|
|
7862
|
+
return this.r40_1;
|
|
7863
7863
|
};
|
|
7864
|
-
protoOf(CardCollectionPage).
|
|
7864
|
+
protoOf(CardCollectionPage).t40 = function () {
|
|
7865
7865
|
return this._cards;
|
|
7866
7866
|
};
|
|
7867
|
-
protoOf(CardCollectionPage).
|
|
7867
|
+
protoOf(CardCollectionPage).u40 = function () {
|
|
7868
7868
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7869
7869
|
var this_0 = this._cards;
|
|
7870
7870
|
return copyToArray(this_0);
|
|
@@ -7885,7 +7885,7 @@
|
|
|
7885
7885
|
}
|
|
7886
7886
|
}
|
|
7887
7887
|
function Companion_44() {
|
|
7888
|
-
this.
|
|
7888
|
+
this.v40_1 = 'content';
|
|
7889
7889
|
}
|
|
7890
7890
|
var Companion_instance_45;
|
|
7891
7891
|
function Companion_getInstance_47() {
|
|
@@ -7895,13 +7895,13 @@
|
|
|
7895
7895
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7896
7896
|
ContentPage.call($this);
|
|
7897
7897
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7898
|
-
Companion_getInstance_48().
|
|
7898
|
+
Companion_getInstance_48().y3z(parser, 'content');
|
|
7899
7899
|
var tmp = $this;
|
|
7900
7900
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7901
|
-
tmp.
|
|
7901
|
+
tmp.o41_1 = ArrayList_init_$Create$();
|
|
7902
7902
|
var tmp_0 = $this;
|
|
7903
7903
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7904
|
-
tmp_0.
|
|
7904
|
+
tmp_0.p41_1 = ArrayList_init_$Create$();
|
|
7905
7905
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7906
7906
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7907
7907
|
if (!(parser.v3c() === 2))
|
|
@@ -7910,14 +7910,14 @@
|
|
|
7910
7910
|
var tmp0_subject = parser.w3c();
|
|
7911
7911
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7912
7912
|
if (parser.q2() === 'events') {
|
|
7913
|
-
var tmp0 = $this.
|
|
7913
|
+
var tmp0 = $this.o41_1;
|
|
7914
7914
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7915
7915
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7916
7916
|
addAll(tmp0, elements);
|
|
7917
7917
|
}
|
|
7918
7918
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7919
7919
|
if (parser.q2() === 'content') {
|
|
7920
|
-
var tmp4 = $this.
|
|
7920
|
+
var tmp4 = $this.p41_1;
|
|
7921
7921
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7922
7922
|
// Inline function 'kotlin.collections.buildList' call
|
|
7923
7923
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7978,20 +7978,20 @@
|
|
|
7978
7978
|
return ContentPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(ContentPage)));
|
|
7979
7979
|
}
|
|
7980
7980
|
protoOf(ContentPage).d3i = function () {
|
|
7981
|
-
return this.
|
|
7981
|
+
return this.o41_1;
|
|
7982
7982
|
};
|
|
7983
7983
|
protoOf(ContentPage).q3d = function () {
|
|
7984
|
-
return this.
|
|
7984
|
+
return this.p41_1;
|
|
7985
7985
|
};
|
|
7986
7986
|
function ContentPage() {
|
|
7987
7987
|
}
|
|
7988
7988
|
function $parseCOROUTINE$1(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
7989
7989
|
CoroutineImpl.call(this, resultContinuation);
|
|
7990
|
-
this.
|
|
7991
|
-
this.
|
|
7992
|
-
this.
|
|
7993
|
-
this.
|
|
7994
|
-
this.
|
|
7990
|
+
this.y41_1 = _this__u8e3s4;
|
|
7991
|
+
this.z41_1 = container;
|
|
7992
|
+
this.a42_1 = fileName;
|
|
7993
|
+
this.b42_1 = parser;
|
|
7994
|
+
this.c42_1 = parseFile;
|
|
7995
7995
|
}
|
|
7996
7996
|
protoOf($parseCOROUTINE$1).u9 = function () {
|
|
7997
7997
|
var suspendResult = this.e9_1;
|
|
@@ -8001,35 +8001,35 @@
|
|
|
8001
8001
|
switch (tmp) {
|
|
8002
8002
|
case 0:
|
|
8003
8003
|
this.d9_1 = 3;
|
|
8004
|
-
this.
|
|
8005
|
-
this.
|
|
8006
|
-
if (this.
|
|
8007
|
-
if (!this.
|
|
8004
|
+
this.b42_1.u3c(2, null, 'page');
|
|
8005
|
+
this.d42_1 = to(this.b42_1.w3c(), this.b42_1.f3f('http://www.w3.org/2001/XMLSchema-instance', 'type'));
|
|
8006
|
+
if (this.d42_1.equals(to('https://mobile-content-api.cru.org/xmlns/page', 'page-collection'))) {
|
|
8007
|
+
if (!this.z41_1.o3l(getKClass(PageCollectionPage)))
|
|
8008
8008
|
return null;
|
|
8009
8009
|
this.c9_1 = 1;
|
|
8010
|
-
suspendResult = Companion_instance_47.
|
|
8010
|
+
suspendResult = Companion_instance_47.k42(this.z41_1, this.a42_1, this.b42_1, this.c42_1, this);
|
|
8011
8011
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8012
8012
|
return suspendResult;
|
|
8013
8013
|
}
|
|
8014
8014
|
continue $sm;
|
|
8015
8015
|
} else {
|
|
8016
|
-
this.
|
|
8016
|
+
this.e42_1 = this.y41_1.f42(this.z41_1, this.a42_1, this.b42_1);
|
|
8017
8017
|
this.c9_1 = 2;
|
|
8018
8018
|
continue $sm;
|
|
8019
8019
|
}
|
|
8020
8020
|
|
|
8021
8021
|
case 1:
|
|
8022
|
-
this.
|
|
8022
|
+
this.e42_1 = suspendResult;
|
|
8023
8023
|
this.c9_1 = 2;
|
|
8024
8024
|
continue $sm;
|
|
8025
8025
|
case 2:
|
|
8026
|
-
var tmp1_safe_receiver = this.
|
|
8026
|
+
var tmp1_safe_receiver = this.e42_1;
|
|
8027
8027
|
var tmp_0;
|
|
8028
8028
|
if (tmp1_safe_receiver == null) {
|
|
8029
8029
|
tmp_0 = null;
|
|
8030
8030
|
} else {
|
|
8031
8031
|
var tmp_1;
|
|
8032
|
-
if (this.
|
|
8032
|
+
if (this.z41_1.o3l(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
8033
8033
|
tmp_1 = tmp1_safe_receiver;
|
|
8034
8034
|
} else {
|
|
8035
8035
|
tmp_1 = null;
|
|
@@ -8054,21 +8054,21 @@
|
|
|
8054
8054
|
};
|
|
8055
8055
|
function Companion_45() {
|
|
8056
8056
|
Companion_instance_46 = this;
|
|
8057
|
-
this.
|
|
8058
|
-
this.
|
|
8057
|
+
this.s3n_1 = 'page';
|
|
8058
|
+
this.t3n_1 = 'parent_override_page-collection';
|
|
8059
8059
|
var tmp = this;
|
|
8060
8060
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.color' call
|
|
8061
|
-
tmp.
|
|
8062
|
-
this.
|
|
8063
|
-
this.
|
|
8061
|
+
tmp.u3n_1 = toPlatformColor_0(Companion_getInstance_1().d1t(0 / 255.0, 0 / 255.0, 0 / 255.0, 0.0));
|
|
8062
|
+
this.v3n_1 = Companion_getInstance_22().CENTER;
|
|
8063
|
+
this.w3n_1 = ImageScaleType_FILL_X_getInstance();
|
|
8064
8064
|
}
|
|
8065
|
-
protoOf(Companion_45).
|
|
8065
|
+
protoOf(Companion_45).x3n = function (container, fileName, parser, parseFile, $completion) {
|
|
8066
8066
|
var tmp = new $parseCOROUTINE$1(this, container, fileName, parser, parseFile, $completion);
|
|
8067
8067
|
tmp.e9_1 = Unit_instance;
|
|
8068
8068
|
tmp.f9_1 = null;
|
|
8069
8069
|
return tmp.u9();
|
|
8070
8070
|
};
|
|
8071
|
-
protoOf(Companion_45).
|
|
8071
|
+
protoOf(Companion_45).f42 = function (container, fileName, parser) {
|
|
8072
8072
|
parser.u3c(2, null, 'page');
|
|
8073
8073
|
var tmp;
|
|
8074
8074
|
switch (parser.w3c()) {
|
|
@@ -8131,7 +8131,7 @@
|
|
|
8131
8131
|
// Inline function 'kotlin.takeIf' call
|
|
8132
8132
|
var tmp_2;
|
|
8133
8133
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.page.Companion.parse.<anonymous>' call
|
|
8134
|
-
if (container.
|
|
8134
|
+
if (container.o3l(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
8135
8135
|
tmp_2 = tmp1_safe_receiver;
|
|
8136
8136
|
} else {
|
|
8137
8137
|
tmp_2 = null;
|
|
@@ -8140,7 +8140,7 @@
|
|
|
8140
8140
|
}
|
|
8141
8141
|
return tmp_1;
|
|
8142
8142
|
};
|
|
8143
|
-
protoOf(Companion_45).
|
|
8143
|
+
protoOf(Companion_45).y3z = function (_this__u8e3s4, type) {
|
|
8144
8144
|
var actual = _this__u8e3s4.f3f('http://www.w3.org/2001/XMLSchema-instance', 'type');
|
|
8145
8145
|
if (!(type === actual))
|
|
8146
8146
|
throw new XmlPullParserException('expected ' + type + ' not ' + actual);
|
|
@@ -8170,8 +8170,8 @@
|
|
|
8170
8170
|
BaseModel.call($this, container);
|
|
8171
8171
|
Page.call($this);
|
|
8172
8172
|
parser.u3c(2, null, 'page');
|
|
8173
|
-
$this.
|
|
8174
|
-
$this.
|
|
8173
|
+
$this.t3y_1 = parser.j3e('id');
|
|
8174
|
+
$this.u3y_1 = fileName;
|
|
8175
8175
|
var tmp = $this;
|
|
8176
8176
|
var tmp0_safe_receiver = parser.f3f('https://mobile-content-api.cru.org/xmlns/cyoa', 'parent_override_page-collection');
|
|
8177
8177
|
var tmp_0;
|
|
@@ -8189,7 +8189,7 @@
|
|
|
8189
8189
|
tmp_0 = tmp_1;
|
|
8190
8190
|
}
|
|
8191
8191
|
var tmp1_elvis_lhs = tmp_0;
|
|
8192
|
-
tmp.
|
|
8192
|
+
tmp.v3y_1 = tmp1_elvis_lhs == null ? parser.f3f('https://mobile-content-api.cru.org/xmlns/cyoa', 'parent') : tmp1_elvis_lhs;
|
|
8193
8193
|
var tmp_2 = $this;
|
|
8194
8194
|
var tmp2_safe_receiver = parser.j3e('hidden');
|
|
8195
8195
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toBoolean(tmp2_safe_receiver);
|
|
@@ -8206,42 +8206,42 @@
|
|
|
8206
8206
|
tmp_4._dismissListeners = toSet_0(tmp$ret$3);
|
|
8207
8207
|
var tmp_5 = $this;
|
|
8208
8208
|
var tmp4_safe_receiver = parser.j3e('primary-color');
|
|
8209
|
-
tmp_5.
|
|
8209
|
+
tmp_5.w3y_1 = tmp4_safe_receiver == null ? null : toColorOrNull(tmp4_safe_receiver);
|
|
8210
8210
|
var tmp_6 = $this;
|
|
8211
8211
|
var tmp5_safe_receiver = parser.j3e('primary-text-color');
|
|
8212
|
-
tmp_6.
|
|
8212
|
+
tmp_6.x3y_1 = tmp5_safe_receiver == null ? null : toColorOrNull(tmp5_safe_receiver);
|
|
8213
8213
|
var tmp_7 = $this;
|
|
8214
8214
|
var tmp6_safe_receiver = parser.j3e('background-color');
|
|
8215
8215
|
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
|
|
8216
|
-
tmp_7.
|
|
8217
|
-
$this.
|
|
8216
|
+
tmp_7.y3y_1 = tmp7_elvis_lhs == null ? Companion_getInstance_48().u3n_1 : tmp7_elvis_lhs;
|
|
8217
|
+
$this.z3y_1 = parser.j3e('background-image');
|
|
8218
8218
|
var tmp_8 = $this;
|
|
8219
8219
|
var tmp8_safe_receiver = parser.j3e('background-image-align');
|
|
8220
8220
|
var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : Companion_getInstance_22().s3h(tmp8_safe_receiver);
|
|
8221
|
-
tmp_8.
|
|
8221
|
+
tmp_8.a3z_1 = tmp9_elvis_lhs == null ? Companion_getInstance_48().v3n_1 : tmp9_elvis_lhs;
|
|
8222
8222
|
var tmp_9 = $this;
|
|
8223
8223
|
var tmp10_safe_receiver = parser.j3e('background-image-scale-type');
|
|
8224
|
-
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : Companion_instance_22.
|
|
8225
|
-
tmp_9.
|
|
8224
|
+
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : Companion_instance_22.c3m(tmp10_safe_receiver);
|
|
8225
|
+
tmp_9.b3z_1 = tmp11_elvis_lhs == null ? Companion_getInstance_48().w3n_1 : tmp11_elvis_lhs;
|
|
8226
8226
|
var tmp_10 = $this;
|
|
8227
8227
|
var tmp12_safe_receiver = parser.j3e('control-color');
|
|
8228
|
-
tmp_10.
|
|
8228
|
+
tmp_10.c3z_1 = tmp12_safe_receiver == null ? null : toColorOrNull(tmp12_safe_receiver);
|
|
8229
8229
|
var tmp_11 = $this;
|
|
8230
8230
|
var tmp13_safe_receiver = parser.f3f('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
|
|
8231
|
-
tmp_11.
|
|
8231
|
+
tmp_11.d3z_1 = tmp13_safe_receiver == null ? null : toColorOrNull(tmp13_safe_receiver);
|
|
8232
8232
|
var tmp_12 = $this;
|
|
8233
8233
|
var tmp14_safe_receiver = parser.f3f('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
|
|
8234
|
-
tmp_12.
|
|
8234
|
+
tmp_12.e3z_1 = tmp14_safe_receiver == null ? null : toColorOrNull(tmp14_safe_receiver);
|
|
8235
8235
|
var tmp_13 = $this;
|
|
8236
8236
|
var tmp15_safe_receiver = parser.f3f('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
|
|
8237
|
-
tmp_13.
|
|
8237
|
+
tmp_13.f3z_1 = tmp15_safe_receiver == null ? null : toColorOrNull(tmp15_safe_receiver);
|
|
8238
8238
|
var tmp_14 = $this;
|
|
8239
8239
|
var tmp16_safe_receiver = parser.j3e('text-color');
|
|
8240
|
-
tmp_14.
|
|
8240
|
+
tmp_14.g3z_1 = tmp16_safe_receiver == null ? null : toColorOrNull(tmp16_safe_receiver);
|
|
8241
8241
|
var tmp_15 = $this;
|
|
8242
8242
|
var tmp17_safe_receiver = parser.j3e('text-scale');
|
|
8243
8243
|
var tmp18_elvis_lhs = tmp17_safe_receiver == null ? null : toDoubleOrNull(tmp17_safe_receiver);
|
|
8244
|
-
tmp_15.
|
|
8244
|
+
tmp_15.h3z_1 = tmp18_elvis_lhs == null ? 1.0 : tmp18_elvis_lhs;
|
|
8245
8245
|
return $this;
|
|
8246
8246
|
}
|
|
8247
8247
|
function Page_init_$Init$_0(container, id, fileName, parentPage, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, controlColor, cardBackgroundColor, multiselectOptionBackgroundColor, multiselectOptionSelectedColor, textColor, textScale, $this) {
|
|
@@ -8250,10 +8250,10 @@
|
|
|
8250
8250
|
fileName = fileName === VOID ? null : fileName;
|
|
8251
8251
|
parentPage = parentPage === VOID ? null : parentPage;
|
|
8252
8252
|
primaryColor = primaryColor === VOID ? null : primaryColor;
|
|
8253
|
-
backgroundColor = backgroundColor === VOID ? Companion_getInstance_48().
|
|
8253
|
+
backgroundColor = backgroundColor === VOID ? Companion_getInstance_48().u3n_1 : backgroundColor;
|
|
8254
8254
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
8255
|
-
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_48().
|
|
8256
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_48().
|
|
8255
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_48().v3n_1 : backgroundImageGravity;
|
|
8256
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_48().w3n_1 : backgroundImageScaleType;
|
|
8257
8257
|
controlColor = controlColor === VOID ? null : controlColor;
|
|
8258
8258
|
cardBackgroundColor = cardBackgroundColor === VOID ? null : cardBackgroundColor;
|
|
8259
8259
|
multiselectOptionBackgroundColor = multiselectOptionBackgroundColor === VOID ? null : multiselectOptionBackgroundColor;
|
|
@@ -8262,65 +8262,65 @@
|
|
|
8262
8262
|
textScale = textScale === VOID ? 1.0 : textScale;
|
|
8263
8263
|
BaseModel.call($this, container);
|
|
8264
8264
|
Page.call($this);
|
|
8265
|
-
$this.
|
|
8266
|
-
$this.
|
|
8267
|
-
$this.
|
|
8265
|
+
$this.t3y_1 = id;
|
|
8266
|
+
$this.u3y_1 = fileName;
|
|
8267
|
+
$this.v3y_1 = parentPage;
|
|
8268
8268
|
$this.isHidden = false;
|
|
8269
8269
|
$this._listeners = emptySet();
|
|
8270
8270
|
$this._dismissListeners = emptySet();
|
|
8271
|
-
$this.
|
|
8272
|
-
$this.
|
|
8273
|
-
$this.
|
|
8274
|
-
$this.
|
|
8275
|
-
$this.
|
|
8276
|
-
$this.
|
|
8277
|
-
$this.
|
|
8278
|
-
$this.
|
|
8279
|
-
$this.
|
|
8280
|
-
$this.
|
|
8281
|
-
$this.
|
|
8282
|
-
$this.
|
|
8271
|
+
$this.w3y_1 = primaryColor;
|
|
8272
|
+
$this.x3y_1 = null;
|
|
8273
|
+
$this.y3y_1 = backgroundColor;
|
|
8274
|
+
$this.z3y_1 = backgroundImage;
|
|
8275
|
+
$this.a3z_1 = backgroundImageGravity;
|
|
8276
|
+
$this.b3z_1 = backgroundImageScaleType;
|
|
8277
|
+
$this.c3z_1 = controlColor;
|
|
8278
|
+
$this.d3z_1 = cardBackgroundColor;
|
|
8279
|
+
$this.e3z_1 = multiselectOptionBackgroundColor;
|
|
8280
|
+
$this.f3z_1 = multiselectOptionSelectedColor;
|
|
8281
|
+
$this.g3z_1 = textColor;
|
|
8282
|
+
$this.h3z_1 = textScale;
|
|
8283
8283
|
return $this;
|
|
8284
8284
|
}
|
|
8285
8285
|
function Page$id$delegate$lambda(this$0) {
|
|
8286
8286
|
return function () {
|
|
8287
|
-
var tmp0_elvis_lhs = this$0.
|
|
8288
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this$0.
|
|
8287
|
+
var tmp0_elvis_lhs = this$0.t3y_1;
|
|
8288
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this$0.u3y_1 : tmp0_elvis_lhs;
|
|
8289
8289
|
return tmp1_elvis_lhs == null ? '' + this$0.x39().code + '-' + this$0.position : tmp1_elvis_lhs;
|
|
8290
8290
|
};
|
|
8291
8291
|
}
|
|
8292
8292
|
function Page$position$delegate$lambda(this$0) {
|
|
8293
8293
|
return function () {
|
|
8294
|
-
return _get_parentPageContainer__qsoup5(this$0).
|
|
8294
|
+
return _get_parentPageContainer__qsoup5(this$0).n3l().r(this$0);
|
|
8295
8295
|
};
|
|
8296
8296
|
}
|
|
8297
8297
|
protoOf(Page).o3d = function () {
|
|
8298
|
-
var tmp0 = this.
|
|
8298
|
+
var tmp0 = this.r3y_1;
|
|
8299
8299
|
// Inline function 'kotlin.getValue' call
|
|
8300
8300
|
id$factory();
|
|
8301
8301
|
return tmp0.h2();
|
|
8302
8302
|
};
|
|
8303
|
-
protoOf(Page).
|
|
8304
|
-
var tmp0 = this.
|
|
8303
|
+
protoOf(Page).v3v = function () {
|
|
8304
|
+
var tmp0 = this.s3y_1;
|
|
8305
8305
|
// Inline function 'kotlin.getValue' call
|
|
8306
8306
|
position$factory();
|
|
8307
8307
|
return tmp0.h2();
|
|
8308
8308
|
};
|
|
8309
|
-
protoOf(Page).
|
|
8310
|
-
return this.
|
|
8309
|
+
protoOf(Page).i3z = function () {
|
|
8310
|
+
return this.u3y_1;
|
|
8311
8311
|
};
|
|
8312
|
-
protoOf(Page).
|
|
8312
|
+
protoOf(Page).j3z = function () {
|
|
8313
8313
|
var tmp = _get_parentPageContainer__qsoup5(this);
|
|
8314
|
-
var tmp0_safe_receiver = this.
|
|
8314
|
+
var tmp0_safe_receiver = this.v3y_1;
|
|
8315
8315
|
return tmp.findPage(tmp0_safe_receiver == null ? null : substringBefore(tmp0_safe_receiver, '?'));
|
|
8316
8316
|
};
|
|
8317
|
-
protoOf(Page).
|
|
8317
|
+
protoOf(Page).k3z = function () {
|
|
8318
8318
|
var tmp;
|
|
8319
8319
|
if (this.parentPage == null) {
|
|
8320
8320
|
tmp = emptyMap();
|
|
8321
8321
|
} else {
|
|
8322
8322
|
// Inline function 'kotlin.text.orEmpty' call
|
|
8323
|
-
var tmp0_elvis_lhs = this.
|
|
8323
|
+
var tmp0_elvis_lhs = this.v3y_1;
|
|
8324
8324
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
8325
8325
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
8326
8326
|
var tmp0 = split_0(substringAfter(tmp$ret$0, '?', ''), ['&']);
|
|
@@ -8370,48 +8370,48 @@
|
|
|
8370
8370
|
}
|
|
8371
8371
|
return tmp;
|
|
8372
8372
|
};
|
|
8373
|
-
protoOf(Page).
|
|
8374
|
-
return getOrNull(_get_parentPageContainer__qsoup5(this).
|
|
8373
|
+
protoOf(Page).l3z = function () {
|
|
8374
|
+
return getOrNull(_get_parentPageContainer__qsoup5(this).n3l(), this.position + 1 | 0);
|
|
8375
8375
|
};
|
|
8376
|
-
protoOf(Page).
|
|
8377
|
-
return getOrNull(_get_parentPageContainer__qsoup5(this).
|
|
8376
|
+
protoOf(Page).m3z = function () {
|
|
8377
|
+
return getOrNull(_get_parentPageContainer__qsoup5(this).n3l(), this.position - 1 | 0);
|
|
8378
8378
|
};
|
|
8379
|
-
protoOf(Page).
|
|
8379
|
+
protoOf(Page).n3z = function () {
|
|
8380
8380
|
return this.isHidden;
|
|
8381
8381
|
};
|
|
8382
|
-
protoOf(Page).
|
|
8382
|
+
protoOf(Page).w3v = function () {
|
|
8383
8383
|
return this._listeners;
|
|
8384
8384
|
};
|
|
8385
|
-
protoOf(Page).
|
|
8385
|
+
protoOf(Page).l3r = function () {
|
|
8386
8386
|
return this._dismissListeners;
|
|
8387
8387
|
};
|
|
8388
8388
|
protoOf(Page).y3i = function () {
|
|
8389
|
-
var tmp0_elvis_lhs = this.
|
|
8389
|
+
var tmp0_elvis_lhs = this.w3y_1;
|
|
8390
8390
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
8391
8391
|
};
|
|
8392
8392
|
protoOf(Page).z3i = function () {
|
|
8393
|
-
var tmp0_elvis_lhs = this.
|
|
8393
|
+
var tmp0_elvis_lhs = this.x3y_1;
|
|
8394
8394
|
return tmp0_elvis_lhs == null ? get_primaryTextColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
8395
8395
|
};
|
|
8396
|
+
protoOf(Page).o3r = function () {
|
|
8397
|
+
return this.y3y_1;
|
|
8398
|
+
};
|
|
8399
|
+
protoOf(Page).p3r = function () {
|
|
8400
|
+
return getResource(this, this.z3y_1);
|
|
8401
|
+
};
|
|
8396
8402
|
protoOf(Page).q3r = function () {
|
|
8397
8403
|
return this.a3z_1;
|
|
8398
8404
|
};
|
|
8399
8405
|
protoOf(Page).r3r = function () {
|
|
8400
|
-
return
|
|
8401
|
-
};
|
|
8402
|
-
protoOf(Page).s3r = function () {
|
|
8403
|
-
return this.c3z_1;
|
|
8406
|
+
return this.b3z_1;
|
|
8404
8407
|
};
|
|
8405
|
-
protoOf(Page).
|
|
8406
|
-
|
|
8407
|
-
};
|
|
8408
|
-
protoOf(Page).q3z = function () {
|
|
8409
|
-
var tmp0_elvis_lhs = this.e3z_1;
|
|
8408
|
+
protoOf(Page).o3z = function () {
|
|
8409
|
+
var tmp0_elvis_lhs = this.c3z_1;
|
|
8410
8410
|
var tmp;
|
|
8411
8411
|
if (tmp0_elvis_lhs == null) {
|
|
8412
8412
|
var tmp_0 = _get_parentPageContainer__qsoup5(this);
|
|
8413
8413
|
var tmp1_safe_receiver = tmp_0 instanceof Page ? tmp_0 : null;
|
|
8414
|
-
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
8414
|
+
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o3z();
|
|
8415
8415
|
} else {
|
|
8416
8416
|
tmp = tmp0_elvis_lhs;
|
|
8417
8417
|
}
|
|
@@ -8419,23 +8419,23 @@
|
|
|
8419
8419
|
return tmp2_elvis_lhs == null ? this.x39().t3f_1 : tmp2_elvis_lhs;
|
|
8420
8420
|
};
|
|
8421
8421
|
protoOf(Page).b3j = function () {
|
|
8422
|
-
var tmp0_elvis_lhs = this.
|
|
8422
|
+
var tmp0_elvis_lhs = this.d3z_1;
|
|
8423
8423
|
return tmp0_elvis_lhs == null ? get_cardBackgroundColor.call(this) : tmp0_elvis_lhs;
|
|
8424
8424
|
};
|
|
8425
8425
|
protoOf(Page).c3j = function () {
|
|
8426
|
-
var tmp0_elvis_lhs = this.
|
|
8426
|
+
var tmp0_elvis_lhs = this.e3z_1;
|
|
8427
8427
|
return tmp0_elvis_lhs == null ? get_multiselectOptionBackgroundColor.call(this) : tmp0_elvis_lhs;
|
|
8428
8428
|
};
|
|
8429
8429
|
protoOf(Page).d3j = function () {
|
|
8430
|
-
var tmp0_elvis_lhs = this.
|
|
8430
|
+
var tmp0_elvis_lhs = this.f3z_1;
|
|
8431
8431
|
return tmp0_elvis_lhs == null ? get_multiselectOptionSelectedColor.call(this) : tmp0_elvis_lhs;
|
|
8432
8432
|
};
|
|
8433
8433
|
protoOf(Page).w3i = function () {
|
|
8434
|
-
var tmp0_elvis_lhs = this.
|
|
8434
|
+
var tmp0_elvis_lhs = this.g3z_1;
|
|
8435
8435
|
return tmp0_elvis_lhs == null ? get_textColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
8436
8436
|
};
|
|
8437
8437
|
protoOf(Page).e3j = function () {
|
|
8438
|
-
return this.
|
|
8438
|
+
return this.h3z_1 * get_textScale_0(get_stylesParent(this));
|
|
8439
8439
|
};
|
|
8440
8440
|
protoOf(Page).r3d = function (type) {
|
|
8441
8441
|
var tmp;
|
|
@@ -8485,12 +8485,12 @@
|
|
|
8485
8485
|
protoOf(Page)._getAnalyticsEvents = function (type) {
|
|
8486
8486
|
return this.r3d(type);
|
|
8487
8487
|
};
|
|
8488
|
-
protoOf(Page).
|
|
8488
|
+
protoOf(Page).r3s = function () {
|
|
8489
8489
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
8490
8490
|
var this_0 = this._dismissListeners;
|
|
8491
8491
|
return copyToArray(this_0);
|
|
8492
8492
|
};
|
|
8493
|
-
protoOf(Page).
|
|
8493
|
+
protoOf(Page).x3v = function () {
|
|
8494
8494
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
8495
8495
|
var this_0 = this._listeners;
|
|
8496
8496
|
return copyToArray(this_0);
|
|
@@ -8498,9 +8498,9 @@
|
|
|
8498
8498
|
function Page() {
|
|
8499
8499
|
Companion_getInstance_48();
|
|
8500
8500
|
var tmp = this;
|
|
8501
|
-
tmp.
|
|
8501
|
+
tmp.r3y_1 = lazy(Page$id$delegate$lambda(this));
|
|
8502
8502
|
var tmp_0 = this;
|
|
8503
|
-
tmp_0.
|
|
8503
|
+
tmp_0.s3y_1 = lazy(Page$position$delegate$lambda(this));
|
|
8504
8504
|
}
|
|
8505
8505
|
function id$factory() {
|
|
8506
8506
|
return getPropertyCallableRef('id', 1, KProperty1, function (receiver) {
|
|
@@ -8514,11 +8514,11 @@
|
|
|
8514
8514
|
}
|
|
8515
8515
|
function $parseCOROUTINE$2(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
8516
8516
|
CoroutineImpl.call(this, resultContinuation);
|
|
8517
|
-
this.
|
|
8518
|
-
this.
|
|
8519
|
-
this.
|
|
8520
|
-
this.
|
|
8521
|
-
this.
|
|
8517
|
+
this.t42_1 = _this__u8e3s4;
|
|
8518
|
+
this.u42_1 = container;
|
|
8519
|
+
this.v42_1 = fileName;
|
|
8520
|
+
this.w42_1 = parser;
|
|
8521
|
+
this.x42_1 = parseFile;
|
|
8522
8522
|
}
|
|
8523
8523
|
protoOf($parseCOROUTINE$2).u9 = function () {
|
|
8524
8524
|
var suspendResult = this.e9_1;
|
|
@@ -8529,20 +8529,20 @@
|
|
|
8529
8529
|
case 0:
|
|
8530
8530
|
this.d9_1 = 2;
|
|
8531
8531
|
var tmp_0 = this;
|
|
8532
|
-
tmp_0.
|
|
8533
|
-
this.
|
|
8532
|
+
tmp_0.y42_1 = PageCollectionPage_init_$Create$(this.u42_1, this.v42_1, this.w42_1);
|
|
8533
|
+
this.z42_1 = this.y42_1;
|
|
8534
8534
|
var tmp_1 = this;
|
|
8535
|
-
tmp_1.
|
|
8536
|
-
this.
|
|
8535
|
+
tmp_1.a43_1 = this.z42_1;
|
|
8536
|
+
this.b43_1 = this.a43_1;
|
|
8537
8537
|
this.c9_1 = 1;
|
|
8538
|
-
suspendResult = buildPagesFromParsedPages(this.
|
|
8538
|
+
suspendResult = buildPagesFromParsedPages(this.b43_1, this.x42_1, this);
|
|
8539
8539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8540
8540
|
return suspendResult;
|
|
8541
8541
|
}
|
|
8542
8542
|
|
|
8543
8543
|
continue $sm;
|
|
8544
8544
|
case 1:
|
|
8545
|
-
return this.
|
|
8545
|
+
return this.z42_1;
|
|
8546
8546
|
case 2:
|
|
8547
8547
|
throw this.f9_1;
|
|
8548
8548
|
}
|
|
@@ -8558,20 +8558,20 @@
|
|
|
8558
8558
|
while (true);
|
|
8559
8559
|
};
|
|
8560
8560
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8561
|
-
this.
|
|
8562
|
-
this.
|
|
8563
|
-
this.
|
|
8564
|
-
this.
|
|
8561
|
+
this.k43_1 = $it;
|
|
8562
|
+
this.l43_1 = this$0;
|
|
8563
|
+
this.m43_1 = $parseFile;
|
|
8564
|
+
this.n43_1 = $pageIndex$delegate;
|
|
8565
8565
|
CoroutineImpl.call(this, resultContinuation);
|
|
8566
8566
|
}
|
|
8567
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).
|
|
8567
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).r3n = function ($this$async, $completion) {
|
|
8568
8568
|
var tmp = this.v19($this$async, $completion);
|
|
8569
8569
|
tmp.e9_1 = Unit_instance;
|
|
8570
8570
|
tmp.f9_1 = null;
|
|
8571
8571
|
return tmp.u9();
|
|
8572
8572
|
};
|
|
8573
8573
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).ea = function (p1, $completion) {
|
|
8574
|
-
return this.
|
|
8574
|
+
return this.r3n((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8575
8575
|
};
|
|
8576
8576
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).u9 = function () {
|
|
8577
8577
|
var suspendResult = this.e9_1;
|
|
@@ -8582,12 +8582,12 @@
|
|
|
8582
8582
|
case 0:
|
|
8583
8583
|
this.d9_1 = 3;
|
|
8584
8584
|
var tmp_0 = this;
|
|
8585
|
-
var tmp0_safe_receiver = this.
|
|
8585
|
+
var tmp0_safe_receiver = this.k43_1.u43_1;
|
|
8586
8586
|
var tmp_1;
|
|
8587
8587
|
if (tmp0_safe_receiver == null) {
|
|
8588
8588
|
tmp_1 = null;
|
|
8589
8589
|
} else {
|
|
8590
|
-
tmp_1 = buildPagesFromParsedPages$lambda(this.
|
|
8590
|
+
tmp_1 = buildPagesFromParsedPages$lambda(this.n43_1).k2(tmp0_safe_receiver);
|
|
8591
8591
|
}
|
|
8592
8592
|
|
|
8593
8593
|
var tmp1_elvis_lhs = tmp_1;
|
|
@@ -8598,20 +8598,20 @@
|
|
|
8598
8598
|
tmp_2 = tmp1_elvis_lhs;
|
|
8599
8599
|
}
|
|
8600
8600
|
|
|
8601
|
-
tmp_0.
|
|
8602
|
-
this.
|
|
8603
|
-
this.
|
|
8601
|
+
tmp_0.p43_1 = tmp_2;
|
|
8602
|
+
this.q43_1 = Companion_getInstance_48();
|
|
8603
|
+
this.r43_1 = this.k43_1.u43_1;
|
|
8604
8604
|
this.c9_1 = 1;
|
|
8605
|
-
suspendResult = this.
|
|
8605
|
+
suspendResult = this.m43_1(this.p43_1, this);
|
|
8606
8606
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8607
8607
|
return suspendResult;
|
|
8608
8608
|
}
|
|
8609
8609
|
|
|
8610
8610
|
continue $sm;
|
|
8611
8611
|
case 1:
|
|
8612
|
-
this.
|
|
8612
|
+
this.s43_1 = suspendResult;
|
|
8613
8613
|
this.c9_1 = 2;
|
|
8614
|
-
suspendResult = this.
|
|
8614
|
+
suspendResult = this.q43_1.x3n(this.l43_1, this.r43_1, this.s43_1, this.m43_1, this);
|
|
8615
8615
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8616
8616
|
return suspendResult;
|
|
8617
8617
|
}
|
|
@@ -8634,32 +8634,32 @@
|
|
|
8634
8634
|
while (true);
|
|
8635
8635
|
};
|
|
8636
8636
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).v19 = function ($this$async, completion) {
|
|
8637
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.
|
|
8638
|
-
i.
|
|
8637
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.k43_1, this.l43_1, this.m43_1, this.n43_1, completion);
|
|
8638
|
+
i.o43_1 = $this$async;
|
|
8639
8639
|
return i;
|
|
8640
8640
|
};
|
|
8641
8641
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8642
8642
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8643
8643
|
var l = function ($this$async, $completion) {
|
|
8644
|
-
return i.
|
|
8644
|
+
return i.r3n($this$async, $completion);
|
|
8645
8645
|
};
|
|
8646
8646
|
l.$arity = 1;
|
|
8647
8647
|
return l;
|
|
8648
8648
|
}
|
|
8649
8649
|
function Companion_46() {
|
|
8650
|
-
this.
|
|
8651
|
-
this.
|
|
8652
|
-
this.
|
|
8653
|
-
this.
|
|
8650
|
+
this.g42_1 = 'page-collection';
|
|
8651
|
+
this.h42_1 = 'pages';
|
|
8652
|
+
this.i42_1 = 'import';
|
|
8653
|
+
this.j42_1 = 'filename';
|
|
8654
8654
|
this.PARENT_PARAM_ACTIVE_PAGE = 'active-page';
|
|
8655
8655
|
}
|
|
8656
|
-
protoOf(Companion_46).
|
|
8657
|
-
return this.
|
|
8656
|
+
protoOf(Companion_46).v43 = function () {
|
|
8657
|
+
return this.g42_1;
|
|
8658
8658
|
};
|
|
8659
|
-
protoOf(Companion_46).
|
|
8659
|
+
protoOf(Companion_46).w43 = function () {
|
|
8660
8660
|
return this.PARENT_PARAM_ACTIVE_PAGE;
|
|
8661
8661
|
};
|
|
8662
|
-
protoOf(Companion_46).
|
|
8662
|
+
protoOf(Companion_46).k42 = function (container, fileName, parser, parseFile, $completion) {
|
|
8663
8663
|
var tmp = new $parseCOROUTINE$2(this, container, fileName, parser, parseFile, $completion);
|
|
8664
8664
|
tmp.e9_1 = Unit_instance;
|
|
8665
8665
|
tmp.f9_1 = null;
|
|
@@ -8670,19 +8670,19 @@
|
|
|
8670
8670
|
return Companion_instance_47;
|
|
8671
8671
|
}
|
|
8672
8672
|
function _set_pages__j2nojl_0($this, _set____db54di) {
|
|
8673
|
-
return $this.
|
|
8673
|
+
return $this.r44_1.t3q($this, pages$factory_1(), _set____db54di);
|
|
8674
8674
|
}
|
|
8675
8675
|
function PageCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
8676
8676
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
8677
8677
|
PageCollectionPage.call($this);
|
|
8678
8678
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
8679
|
-
Companion_getInstance_48().
|
|
8679
|
+
Companion_getInstance_48().y3z(parser, 'page-collection');
|
|
8680
8680
|
var tmp = $this;
|
|
8681
8681
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8682
|
-
tmp.
|
|
8682
|
+
tmp.p44_1 = ArrayList_init_$Create$();
|
|
8683
8683
|
var tmp_0 = $this;
|
|
8684
8684
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8685
|
-
tmp_0.
|
|
8685
|
+
tmp_0.q44_1 = ArrayList_init_$Create$();
|
|
8686
8686
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8687
8687
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
8688
8688
|
if (!(parser.v3c() === 2))
|
|
@@ -8691,14 +8691,14 @@
|
|
|
8691
8691
|
var tmp0_subject = parser.w3c();
|
|
8692
8692
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
8693
8693
|
if (parser.q2() === 'events') {
|
|
8694
|
-
var tmp0 = $this.
|
|
8694
|
+
var tmp0 = $this.p44_1;
|
|
8695
8695
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8696
8696
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
8697
8697
|
addAll(tmp0, elements);
|
|
8698
8698
|
}
|
|
8699
8699
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8700
8700
|
if (parser.q2() === 'pages') {
|
|
8701
|
-
var tmp2 = $this.
|
|
8701
|
+
var tmp2 = $this.q44_1;
|
|
8702
8702
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8703
8703
|
var elements_0 = parsePages_0(parser, $this);
|
|
8704
8704
|
addAll(tmp2, elements_0);
|
|
@@ -8728,7 +8728,7 @@
|
|
|
8728
8728
|
if (_this__u8e3s4.w3c() === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8729
8729
|
var tmp1_subject = _this__u8e3s4.q2();
|
|
8730
8730
|
if (tmp1_subject === 'page') {
|
|
8731
|
-
var tmp2_safe_receiver = Companion_getInstance_48().
|
|
8731
|
+
var tmp2_safe_receiver = Companion_getInstance_48().f42($this, null, _this__u8e3s4);
|
|
8732
8732
|
if (tmp2_safe_receiver == null)
|
|
8733
8733
|
null;
|
|
8734
8734
|
else {
|
|
@@ -8755,8 +8755,8 @@
|
|
|
8755
8755
|
function PageOrImport(page, ref) {
|
|
8756
8756
|
page = page === VOID ? null : page;
|
|
8757
8757
|
ref = ref === VOID ? null : ref;
|
|
8758
|
-
this.
|
|
8759
|
-
this.
|
|
8758
|
+
this.t43_1 = page;
|
|
8759
|
+
this.u43_1 = ref;
|
|
8760
8760
|
}
|
|
8761
8761
|
function buildPagesFromParsedPages$lambda($pageIndex$delegate) {
|
|
8762
8762
|
// Inline function 'kotlin.getValue' call
|
|
@@ -8777,26 +8777,26 @@
|
|
|
8777
8777
|
var element = _iterator__ex2g4s.l();
|
|
8778
8778
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.page.PageCollectionPage.buildPagesFromParsedPages.<anonymous>.<anonymous>' call
|
|
8779
8779
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8780
|
-
var pair = to(element.
|
|
8780
|
+
var pair = to(element.y3o_1, element.z3o_1);
|
|
8781
8781
|
destination.y3(pair.rf_1, pair.sf_1);
|
|
8782
8782
|
}
|
|
8783
8783
|
return destination;
|
|
8784
8784
|
};
|
|
8785
8785
|
}
|
|
8786
8786
|
function PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8787
|
-
this.
|
|
8788
|
-
this.
|
|
8789
|
-
this.
|
|
8787
|
+
this.l45_1 = this$0;
|
|
8788
|
+
this.m45_1 = $parseFile;
|
|
8789
|
+
this.n45_1 = $pageIndex$delegate;
|
|
8790
8790
|
CoroutineImpl.call(this, resultContinuation);
|
|
8791
8791
|
}
|
|
8792
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).
|
|
8792
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).p45 = function ($this$coroutineScope, $completion) {
|
|
8793
8793
|
var tmp = this.v19($this$coroutineScope, $completion);
|
|
8794
8794
|
tmp.e9_1 = Unit_instance;
|
|
8795
8795
|
tmp.f9_1 = null;
|
|
8796
8796
|
return tmp.u9();
|
|
8797
8797
|
};
|
|
8798
8798
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).ea = function (p1, $completion) {
|
|
8799
|
-
return this.
|
|
8799
|
+
return this.p45((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8800
8800
|
};
|
|
8801
8801
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).u9 = function () {
|
|
8802
8802
|
var suspendResult = this.e9_1;
|
|
@@ -8807,12 +8807,12 @@
|
|
|
8807
8807
|
case 0:
|
|
8808
8808
|
this.d9_1 = 2;
|
|
8809
8809
|
this.c9_1 = 1;
|
|
8810
|
-
var this_0 = this.
|
|
8810
|
+
var this_0 = this.l45_1.q44_1;
|
|
8811
8811
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8812
8812
|
var _iterator__ex2g4s = this_0.j();
|
|
8813
8813
|
while (_iterator__ex2g4s.k()) {
|
|
8814
8814
|
var item = _iterator__ex2g4s.l();
|
|
8815
|
-
var tmp0_safe_receiver = item.
|
|
8815
|
+
var tmp0_safe_receiver = item.t43_1;
|
|
8816
8816
|
var tmp_0;
|
|
8817
8817
|
if (tmp0_safe_receiver == null) {
|
|
8818
8818
|
tmp_0 = null;
|
|
@@ -8822,7 +8822,7 @@
|
|
|
8822
8822
|
var tmp1_elvis_lhs = tmp_0;
|
|
8823
8823
|
var tmp_1;
|
|
8824
8824
|
if (tmp1_elvis_lhs == null) {
|
|
8825
|
-
tmp_1 = async(this.
|
|
8825
|
+
tmp_1 = async(this.o45_1, VOID, VOID, PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0(item, this.l45_1, this.m45_1, this.n45_1, null));
|
|
8826
8826
|
} else {
|
|
8827
8827
|
tmp_1 = tmp1_elvis_lhs;
|
|
8828
8828
|
}
|
|
@@ -8853,22 +8853,22 @@
|
|
|
8853
8853
|
while (true);
|
|
8854
8854
|
};
|
|
8855
8855
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).v19 = function ($this$coroutineScope, completion) {
|
|
8856
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.
|
|
8857
|
-
i.
|
|
8856
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.l45_1, this.m45_1, this.n45_1, completion);
|
|
8857
|
+
i.o45_1 = $this$coroutineScope;
|
|
8858
8858
|
return i;
|
|
8859
8859
|
};
|
|
8860
8860
|
function PageCollectionPage$buildPagesFromParsedPages$slambda_0(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8861
8861
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8862
8862
|
var l = function ($this$coroutineScope, $completion) {
|
|
8863
|
-
return i.
|
|
8863
|
+
return i.p45($this$coroutineScope, $completion);
|
|
8864
8864
|
};
|
|
8865
8865
|
l.$arity = 1;
|
|
8866
8866
|
return l;
|
|
8867
8867
|
}
|
|
8868
8868
|
function $buildPagesFromParsedPagesCOROUTINE$3(_this__u8e3s4, parseFile, resultContinuation) {
|
|
8869
8869
|
CoroutineImpl.call(this, resultContinuation);
|
|
8870
|
-
this.
|
|
8871
|
-
this.
|
|
8870
|
+
this.a45_1 = _this__u8e3s4;
|
|
8871
|
+
this.b45_1 = parseFile;
|
|
8872
8872
|
}
|
|
8873
8873
|
protoOf($buildPagesFromParsedPagesCOROUTINE$3).u9 = function () {
|
|
8874
8874
|
var suspendResult = this.e9_1;
|
|
@@ -8879,9 +8879,9 @@
|
|
|
8879
8879
|
case 0:
|
|
8880
8880
|
this.d9_1 = 2;
|
|
8881
8881
|
var tmp_0 = this;
|
|
8882
|
-
tmp_0.
|
|
8882
|
+
tmp_0.c45_1 = lazy(PageCollectionPage$buildPagesFromParsedPages$lambda(this.a45_1));
|
|
8883
8883
|
this.c9_1 = 1;
|
|
8884
|
-
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.
|
|
8884
|
+
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.a45_1, this.b45_1, this.c45_1, null), this);
|
|
8885
8885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8886
8886
|
return suspendResult;
|
|
8887
8887
|
}
|
|
@@ -8889,7 +8889,7 @@
|
|
|
8889
8889
|
continue $sm;
|
|
8890
8890
|
case 1:
|
|
8891
8891
|
var ARGUMENT = suspendResult;
|
|
8892
|
-
_set_pages__j2nojl_0(this.
|
|
8892
|
+
_set_pages__j2nojl_0(this.a45_1, ARGUMENT);
|
|
8893
8893
|
return Unit_instance;
|
|
8894
8894
|
case 2:
|
|
8895
8895
|
throw this.f9_1;
|
|
@@ -8906,35 +8906,35 @@
|
|
|
8906
8906
|
while (true);
|
|
8907
8907
|
};
|
|
8908
8908
|
protoOf(PageCollectionPage).d3i = function () {
|
|
8909
|
-
return this.
|
|
8909
|
+
return this.p44_1;
|
|
8910
8910
|
};
|
|
8911
|
-
protoOf(PageCollectionPage).
|
|
8912
|
-
return this.
|
|
8911
|
+
protoOf(PageCollectionPage).n3l = function () {
|
|
8912
|
+
return this.r44_1.h3s(this, pages$factory_2());
|
|
8913
8913
|
};
|
|
8914
|
-
protoOf(PageCollectionPage).
|
|
8914
|
+
protoOf(PageCollectionPage).o3l = function (type) {
|
|
8915
8915
|
return type.equals(getKClass(ContentPage));
|
|
8916
8916
|
};
|
|
8917
8917
|
function PageCollectionPage() {
|
|
8918
|
-
this.
|
|
8918
|
+
this.r44_1 = setOnce();
|
|
8919
8919
|
}
|
|
8920
8920
|
function pages$factory_1() {
|
|
8921
8921
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
8922
|
-
return receiver.
|
|
8922
|
+
return receiver.n3l();
|
|
8923
8923
|
}, function (receiver, value) {
|
|
8924
8924
|
return _set_pages__j2nojl_0(receiver, value);
|
|
8925
8925
|
});
|
|
8926
8926
|
}
|
|
8927
8927
|
function pages$factory_2() {
|
|
8928
8928
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
8929
|
-
return receiver.
|
|
8929
|
+
return receiver.n3l();
|
|
8930
8930
|
}, function (receiver, value) {
|
|
8931
8931
|
return _set_pages__j2nojl_0(receiver, value);
|
|
8932
8932
|
});
|
|
8933
8933
|
}
|
|
8934
8934
|
function Companion_47() {
|
|
8935
|
-
this.
|
|
8935
|
+
this.u3q_1 = 'items';
|
|
8936
8936
|
}
|
|
8937
|
-
protoOf(Companion_47).
|
|
8937
|
+
protoOf(Companion_47).v3q = function (_this__u8e3s4, manifest) {
|
|
8938
8938
|
// Inline function 'kotlin.collections.buildList' call
|
|
8939
8939
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
8940
8940
|
// Inline function 'kotlin.apply' call
|
|
@@ -8947,7 +8947,7 @@
|
|
|
8947
8947
|
continue $l$loop_0;
|
|
8948
8948
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.shareable.Companion.parseShareableItems.<anonymous>.<anonymous>' call
|
|
8949
8949
|
if (_this__u8e3s4.w3c() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8950
|
-
var tmp1_safe_receiver = Companion_instance_48.
|
|
8950
|
+
var tmp1_safe_receiver = Companion_instance_48.q45(manifest, _this__u8e3s4);
|
|
8951
8951
|
if (tmp1_safe_receiver == null)
|
|
8952
8952
|
null;
|
|
8953
8953
|
else {
|
|
@@ -8962,8 +8962,8 @@
|
|
|
8962
8962
|
}
|
|
8963
8963
|
return this_0.p3();
|
|
8964
8964
|
};
|
|
8965
|
-
protoOf(Companion_47).
|
|
8966
|
-
parser.
|
|
8965
|
+
protoOf(Companion_47).q45 = function (manifest, parser) {
|
|
8966
|
+
parser.r45(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8967
8967
|
var tmp;
|
|
8968
8968
|
if (parser.w3c() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8969
8969
|
tmp = parser.q2() === 'image' ? ShareableImage_init_$Create$(manifest, parser) : null;
|
|
@@ -8979,21 +8979,21 @@
|
|
|
8979
8979
|
function Shareable_init_$Init$(parent, parser, $this) {
|
|
8980
8980
|
BaseModel.call($this, parent);
|
|
8981
8981
|
Shareable.call($this);
|
|
8982
|
-
parser.
|
|
8983
|
-
$this.
|
|
8982
|
+
parser.r45(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8983
|
+
$this.a3r_1 = parser.j3e('id');
|
|
8984
8984
|
var tmp = $this;
|
|
8985
8985
|
var tmp0_safe_receiver = parser.j3e('order');
|
|
8986
8986
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toIntOrNull(tmp0_safe_receiver);
|
|
8987
|
-
tmp.
|
|
8987
|
+
tmp.b3r_1 = tmp1_elvis_lhs == null ? 2147483647 : tmp1_elvis_lhs;
|
|
8988
8988
|
return $this;
|
|
8989
8989
|
}
|
|
8990
8990
|
protoOf(Shareable).o3d = function () {
|
|
8991
|
-
return this.
|
|
8991
|
+
return this.a3r_1;
|
|
8992
8992
|
};
|
|
8993
8993
|
function Shareable() {
|
|
8994
8994
|
}
|
|
8995
8995
|
function Companion_48() {
|
|
8996
|
-
this.
|
|
8996
|
+
this.s45_1 = 'image';
|
|
8997
8997
|
}
|
|
8998
8998
|
var Companion_instance_49;
|
|
8999
8999
|
function Companion_getInstance_51() {
|
|
@@ -9003,7 +9003,7 @@
|
|
|
9003
9003
|
Shareable_init_$Init$(manifest, parser, $this);
|
|
9004
9004
|
ShareableImage.call($this);
|
|
9005
9005
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/shareable', 'image');
|
|
9006
|
-
$this.
|
|
9006
|
+
$this.w45_1 = parser.j3e('resource');
|
|
9007
9007
|
var description = null;
|
|
9008
9008
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
9009
9009
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
@@ -9018,7 +9018,7 @@
|
|
|
9018
9018
|
continue $l$loop_0;
|
|
9019
9019
|
skipTag(parser);
|
|
9020
9020
|
}
|
|
9021
|
-
$this.
|
|
9021
|
+
$this.x45_1 = description;
|
|
9022
9022
|
return $this;
|
|
9023
9023
|
}
|
|
9024
9024
|
function ShareableImage_init_$Create$(manifest, parser) {
|
|
@@ -9026,12 +9026,12 @@
|
|
|
9026
9026
|
}
|
|
9027
9027
|
protoOf(ShareableImage).o3d = function () {
|
|
9028
9028
|
var tmp0_elvis_lhs = protoOf(Shareable).o3d.call(this);
|
|
9029
|
-
return tmp0_elvis_lhs == null ? this.
|
|
9029
|
+
return tmp0_elvis_lhs == null ? this.w45_1 : tmp0_elvis_lhs;
|
|
9030
9030
|
};
|
|
9031
9031
|
function ShareableImage() {
|
|
9032
9032
|
}
|
|
9033
9033
|
function Companion_49() {
|
|
9034
|
-
this.
|
|
9034
|
+
this.y45_1 = 'tip';
|
|
9035
9035
|
}
|
|
9036
9036
|
var Companion_instance_50;
|
|
9037
9037
|
function Companion_getInstance_52() {
|
|
@@ -9061,8 +9061,8 @@
|
|
|
9061
9061
|
protoOf(InlineTip).o3d = function () {
|
|
9062
9062
|
return this.id;
|
|
9063
9063
|
};
|
|
9064
|
-
protoOf(InlineTip).
|
|
9065
|
-
return this.x39().
|
|
9064
|
+
protoOf(InlineTip).f46 = function () {
|
|
9065
|
+
return this.x39().q3s(this.id);
|
|
9066
9066
|
};
|
|
9067
9067
|
protoOf(InlineTip).a3e = function () {
|
|
9068
9068
|
return listOfNotNull(this.tip);
|
|
@@ -9076,9 +9076,9 @@
|
|
|
9076
9076
|
var Type_QUOTE_instance;
|
|
9077
9077
|
function Companion_50() {
|
|
9078
9078
|
Companion_instance_51 = this;
|
|
9079
|
-
this.
|
|
9079
|
+
this.g46_1 = Type_TIP_getInstance();
|
|
9080
9080
|
}
|
|
9081
|
-
protoOf(Companion_50).
|
|
9081
|
+
protoOf(Companion_50).e3m = function (_this__u8e3s4) {
|
|
9082
9082
|
switch (_this__u8e3s4) {
|
|
9083
9083
|
case 'tip':
|
|
9084
9084
|
return Type_TIP_getInstance();
|
|
@@ -9117,11 +9117,11 @@
|
|
|
9117
9117
|
BaseModel.call($this, manifest);
|
|
9118
9118
|
Tip.call($this);
|
|
9119
9119
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9120
|
-
$this.
|
|
9120
|
+
$this.n3p_1 = id;
|
|
9121
9121
|
var tmp = $this;
|
|
9122
9122
|
var tmp0_safe_receiver = parser.f3f(null, 'type');
|
|
9123
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_53().
|
|
9124
|
-
tmp.
|
|
9123
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_53().e3m(tmp0_safe_receiver);
|
|
9124
|
+
tmp.o3p_1 = tmp1_elvis_lhs == null ? Companion_getInstance_53().g46_1 : tmp1_elvis_lhs;
|
|
9125
9125
|
var tmp_0 = $this;
|
|
9126
9126
|
// Inline function 'kotlin.collections.buildList' call
|
|
9127
9127
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -9142,7 +9142,7 @@
|
|
|
9142
9142
|
continue $l$loop_0;
|
|
9143
9143
|
skipTag(parser);
|
|
9144
9144
|
}
|
|
9145
|
-
tmp_0.
|
|
9145
|
+
tmp_0.p3p_1 = this_0.p3();
|
|
9146
9146
|
return $this;
|
|
9147
9147
|
}
|
|
9148
9148
|
function Tip_init_$Create$(manifest, id, parser) {
|
|
@@ -9151,12 +9151,12 @@
|
|
|
9151
9151
|
function Tip_init_$Init$_0(manifest, id, type, $this) {
|
|
9152
9152
|
manifest = manifest === VOID ? null : manifest;
|
|
9153
9153
|
id = id === VOID ? '' : id;
|
|
9154
|
-
type = type === VOID ? Companion_getInstance_53().
|
|
9154
|
+
type = type === VOID ? Companion_getInstance_53().g46_1 : type;
|
|
9155
9155
|
BaseModel.call($this, manifest);
|
|
9156
9156
|
Tip.call($this);
|
|
9157
|
-
$this.
|
|
9158
|
-
$this.
|
|
9159
|
-
$this.
|
|
9157
|
+
$this.n3p_1 = id;
|
|
9158
|
+
$this.o3p_1 = type;
|
|
9159
|
+
$this.p3p_1 = emptyList();
|
|
9160
9160
|
return $this;
|
|
9161
9161
|
}
|
|
9162
9162
|
function Tip_init_$Create$_0(manifest, id, type) {
|
|
@@ -9220,7 +9220,7 @@
|
|
|
9220
9220
|
function Tip() {
|
|
9221
9221
|
}
|
|
9222
9222
|
function Companion_51() {
|
|
9223
|
-
this.
|
|
9223
|
+
this.h46_1 = 'page';
|
|
9224
9224
|
}
|
|
9225
9225
|
var Companion_instance_52;
|
|
9226
9226
|
function Companion_getInstance_54() {
|
|
@@ -9230,8 +9230,8 @@
|
|
|
9230
9230
|
BaseModel.call($this, tip);
|
|
9231
9231
|
TipPage.call($this);
|
|
9232
9232
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/training', 'page');
|
|
9233
|
-
$this.
|
|
9234
|
-
$this.
|
|
9233
|
+
$this.j46_1 = tip;
|
|
9234
|
+
$this.k46_1 = position;
|
|
9235
9235
|
var tmp = $this;
|
|
9236
9236
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
9237
9237
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9278,19 +9278,19 @@
|
|
|
9278
9278
|
continue $l$loop_0;
|
|
9279
9279
|
skipTag(parser);
|
|
9280
9280
|
}
|
|
9281
|
-
tmp.
|
|
9281
|
+
tmp.l46_1 = this_0.p3();
|
|
9282
9282
|
return $this;
|
|
9283
9283
|
}
|
|
9284
9284
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9285
9285
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9286
9286
|
}
|
|
9287
9287
|
protoOf(TipPage).q3d = function () {
|
|
9288
|
-
return this.
|
|
9288
|
+
return this.l46_1;
|
|
9289
9289
|
};
|
|
9290
9290
|
function TipPage() {
|
|
9291
9291
|
}
|
|
9292
9292
|
function Companion_52() {
|
|
9293
|
-
this.
|
|
9293
|
+
this.m46_1 = 'call-to-action';
|
|
9294
9294
|
}
|
|
9295
9295
|
var Companion_instance_53;
|
|
9296
9296
|
function Companion_getInstance_55() {
|
|
@@ -9299,10 +9299,10 @@
|
|
|
9299
9299
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9300
9300
|
BaseModel.call($this, parent);
|
|
9301
9301
|
CallToAction.call($this);
|
|
9302
|
-
$this.
|
|
9302
|
+
$this.o46_1 = parent;
|
|
9303
9303
|
$this.label = null;
|
|
9304
|
-
$this.
|
|
9305
|
-
$this.
|
|
9304
|
+
$this.p46_1 = null;
|
|
9305
|
+
$this.q46_1 = null;
|
|
9306
9306
|
return $this;
|
|
9307
9307
|
}
|
|
9308
9308
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9312,11 +9312,11 @@
|
|
|
9312
9312
|
BaseModel.call($this, page);
|
|
9313
9313
|
CallToAction.call($this);
|
|
9314
9314
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9315
|
-
$this.
|
|
9315
|
+
$this.o46_1 = page;
|
|
9316
9316
|
var tmp = $this;
|
|
9317
9317
|
var tmp0_safe_receiver = parser.j3e('control-color');
|
|
9318
|
-
tmp.
|
|
9319
|
-
$this.
|
|
9318
|
+
tmp.p46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9319
|
+
$this.q46_1 = parser.f3f('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9320
9320
|
$this.label = parseTextChild(parser, $this, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9321
9321
|
return $this;
|
|
9322
9322
|
}
|
|
@@ -9330,33 +9330,33 @@
|
|
|
9330
9330
|
tip = tip === VOID ? null : tip;
|
|
9331
9331
|
BaseModel.call($this, page);
|
|
9332
9332
|
CallToAction.call($this);
|
|
9333
|
-
$this.
|
|
9333
|
+
$this.o46_1 = page;
|
|
9334
9334
|
var tmp = $this;
|
|
9335
9335
|
tmp.label = label == null ? null : label($this);
|
|
9336
|
-
$this.
|
|
9337
|
-
$this.
|
|
9336
|
+
$this.p46_1 = controlColor;
|
|
9337
|
+
$this.q46_1 = tip;
|
|
9338
9338
|
return $this;
|
|
9339
9339
|
}
|
|
9340
9340
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
9341
9341
|
return CallToAction_init_$Init$_1(page, label, controlColor, tip, objectCreate(protoOf(CallToAction)));
|
|
9342
9342
|
}
|
|
9343
|
-
protoOf(CallToAction).
|
|
9343
|
+
protoOf(CallToAction).p3m = function () {
|
|
9344
9344
|
return this.label;
|
|
9345
9345
|
};
|
|
9346
|
-
protoOf(CallToAction).
|
|
9347
|
-
var tmp0_elvis_lhs = this.
|
|
9346
|
+
protoOf(CallToAction).o3z = function () {
|
|
9347
|
+
var tmp0_elvis_lhs = this.p46_1;
|
|
9348
9348
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
9349
9349
|
};
|
|
9350
|
-
protoOf(CallToAction).
|
|
9351
|
-
return this.
|
|
9350
|
+
protoOf(CallToAction).r46 = function () {
|
|
9351
|
+
return this.q46_1;
|
|
9352
9352
|
};
|
|
9353
|
-
protoOf(CallToAction).
|
|
9354
|
-
return this.x39().
|
|
9353
|
+
protoOf(CallToAction).f46 = function () {
|
|
9354
|
+
return this.x39().q3s(this.q46_1);
|
|
9355
9355
|
};
|
|
9356
9356
|
function CallToAction() {
|
|
9357
9357
|
}
|
|
9358
9358
|
function Companion_53() {
|
|
9359
|
-
this.
|
|
9359
|
+
this.s46_1 = 'header';
|
|
9360
9360
|
}
|
|
9361
9361
|
var Companion_instance_54;
|
|
9362
9362
|
function Companion_getInstance_56() {
|
|
@@ -9368,8 +9368,8 @@
|
|
|
9368
9368
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'header');
|
|
9369
9369
|
var tmp = $this;
|
|
9370
9370
|
var tmp0_safe_receiver = parser.j3e('background-color');
|
|
9371
|
-
tmp.
|
|
9372
|
-
$this.
|
|
9371
|
+
tmp.u46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9372
|
+
$this.v46_1 = parser.f3f('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9373
9373
|
var number = null;
|
|
9374
9374
|
var title = null;
|
|
9375
9375
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9395,8 +9395,8 @@
|
|
|
9395
9395
|
function Header_init_$Create$(page, parser) {
|
|
9396
9396
|
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
9397
9397
|
}
|
|
9398
|
-
protoOf(Header).
|
|
9399
|
-
var tmp0_elvis_lhs = this.
|
|
9398
|
+
protoOf(Header).o3r = function () {
|
|
9399
|
+
var tmp0_elvis_lhs = this.u46_1;
|
|
9400
9400
|
return tmp0_elvis_lhs == null ? this.y3i() : tmp0_elvis_lhs;
|
|
9401
9401
|
};
|
|
9402
9402
|
protoOf(Header).w3i = function () {
|
|
@@ -9405,26 +9405,26 @@
|
|
|
9405
9405
|
protoOf(Header).dj = function () {
|
|
9406
9406
|
return this.number;
|
|
9407
9407
|
};
|
|
9408
|
-
protoOf(Header).
|
|
9408
|
+
protoOf(Header).t3r = function () {
|
|
9409
9409
|
return this.title;
|
|
9410
9410
|
};
|
|
9411
|
-
protoOf(Header).
|
|
9412
|
-
return this.
|
|
9411
|
+
protoOf(Header).r46 = function () {
|
|
9412
|
+
return this.v46_1;
|
|
9413
9413
|
};
|
|
9414
|
-
protoOf(Header).
|
|
9415
|
-
return this.x39().
|
|
9414
|
+
protoOf(Header).f46 = function () {
|
|
9415
|
+
return this.x39().q3s(this.v46_1);
|
|
9416
9416
|
};
|
|
9417
9417
|
function Header() {
|
|
9418
9418
|
}
|
|
9419
9419
|
function Companion_54() {
|
|
9420
|
-
this.
|
|
9420
|
+
this.w46_1 = 'hero';
|
|
9421
9421
|
}
|
|
9422
9422
|
var Companion_instance_55;
|
|
9423
9423
|
function Companion_getInstance_57() {
|
|
9424
9424
|
return Companion_instance_55;
|
|
9425
9425
|
}
|
|
9426
9426
|
function _get_headingParent__2ts5bv($this) {
|
|
9427
|
-
var tmp0 = $this.
|
|
9427
|
+
var tmp0 = $this.y46_1;
|
|
9428
9428
|
// Inline function 'kotlin.getValue' call
|
|
9429
9429
|
headingParent$factory();
|
|
9430
9430
|
return tmp0.h2();
|
|
@@ -9435,7 +9435,7 @@
|
|
|
9435
9435
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'hero');
|
|
9436
9436
|
var tmp = $this;
|
|
9437
9437
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9438
|
-
tmp.
|
|
9438
|
+
tmp.a47_1 = ArrayList_init_$Create$();
|
|
9439
9439
|
var heading = null;
|
|
9440
9440
|
var tmp_0 = $this;
|
|
9441
9441
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9455,7 +9455,7 @@
|
|
|
9455
9455
|
var tmp0_subject = parser.w3c();
|
|
9456
9456
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9457
9457
|
if (parser.q2() === 'events') {
|
|
9458
|
-
var tmp0 = $this.
|
|
9458
|
+
var tmp0 = $this.a47_1;
|
|
9459
9459
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9460
9460
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
9461
9461
|
addAll(tmp0, elements);
|
|
@@ -9495,7 +9495,7 @@
|
|
|
9495
9495
|
continue $l$loop_0;
|
|
9496
9496
|
skipTag(parser);
|
|
9497
9497
|
}
|
|
9498
|
-
tmp_0.
|
|
9498
|
+
tmp_0.z46_1 = this_0.p3();
|
|
9499
9499
|
$this.heading = heading;
|
|
9500
9500
|
return $this;
|
|
9501
9501
|
}
|
|
@@ -9508,10 +9508,10 @@
|
|
|
9508
9508
|
heading = heading === VOID ? null : heading;
|
|
9509
9509
|
BaseModel.call($this, page);
|
|
9510
9510
|
Hero.call($this);
|
|
9511
|
-
$this.
|
|
9511
|
+
$this.a47_1 = analyticsEvents;
|
|
9512
9512
|
var tmp = $this;
|
|
9513
9513
|
tmp.heading = heading == null ? null : heading(_get_headingParent__2ts5bv($this));
|
|
9514
|
-
$this.
|
|
9514
|
+
$this.z46_1 = emptyList();
|
|
9515
9515
|
return $this;
|
|
9516
9516
|
}
|
|
9517
9517
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -9527,14 +9527,14 @@
|
|
|
9527
9527
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
9528
9528
|
};
|
|
9529
9529
|
}
|
|
9530
|
-
protoOf(Hero).
|
|
9530
|
+
protoOf(Hero).b47 = function () {
|
|
9531
9531
|
return this.heading;
|
|
9532
9532
|
};
|
|
9533
9533
|
protoOf(Hero).q3d = function () {
|
|
9534
|
-
return this.
|
|
9534
|
+
return this.z46_1;
|
|
9535
9535
|
};
|
|
9536
9536
|
protoOf(Hero).d3i = function () {
|
|
9537
|
-
return this.
|
|
9537
|
+
return this.a47_1;
|
|
9538
9538
|
};
|
|
9539
9539
|
protoOf(Hero).r3d = function (type) {
|
|
9540
9540
|
var tmp;
|
|
@@ -9542,7 +9542,7 @@
|
|
|
9542
9542
|
case 0:
|
|
9543
9543
|
// Inline function 'kotlin.collections.filter' call
|
|
9544
9544
|
|
|
9545
|
-
var tmp0 = this.
|
|
9545
|
+
var tmp0 = this.a47_1;
|
|
9546
9546
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9547
9547
|
|
|
9548
9548
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9560,7 +9560,7 @@
|
|
|
9560
9560
|
case 1:
|
|
9561
9561
|
// Inline function 'kotlin.collections.filter' call
|
|
9562
9562
|
|
|
9563
|
-
var tmp0_0 = this.
|
|
9563
|
+
var tmp0_0 = this.a47_1;
|
|
9564
9564
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9565
9565
|
|
|
9566
9566
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9586,7 +9586,7 @@
|
|
|
9586
9586
|
};
|
|
9587
9587
|
function Hero() {
|
|
9588
9588
|
var tmp = this;
|
|
9589
|
-
tmp.
|
|
9589
|
+
tmp.y46_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
9590
9590
|
}
|
|
9591
9591
|
function headingParent$factory() {
|
|
9592
9592
|
return getPropertyCallableRef('headingParent', 1, KProperty1, function (receiver) {
|
|
@@ -9594,7 +9594,7 @@
|
|
|
9594
9594
|
}, null);
|
|
9595
9595
|
}
|
|
9596
9596
|
function Companion_55() {
|
|
9597
|
-
this.
|
|
9597
|
+
this.c47_1 = 'modal';
|
|
9598
9598
|
}
|
|
9599
9599
|
var Companion_instance_56;
|
|
9600
9600
|
function Companion_getInstance_58() {
|
|
@@ -9669,29 +9669,29 @@
|
|
|
9669
9669
|
continue $l$loop_0;
|
|
9670
9670
|
skipTag(parser);
|
|
9671
9671
|
}
|
|
9672
|
-
tmp_1.
|
|
9672
|
+
tmp_1.y47_1 = this_2.p3();
|
|
9673
9673
|
$this.title = title;
|
|
9674
9674
|
return $this;
|
|
9675
9675
|
}
|
|
9676
9676
|
function Modal_init_$Create$(parent, parser) {
|
|
9677
9677
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
9678
9678
|
}
|
|
9679
|
-
protoOf(Modal).
|
|
9679
|
+
protoOf(Modal).s40 = function () {
|
|
9680
9680
|
return this.page;
|
|
9681
9681
|
};
|
|
9682
9682
|
protoOf(Modal).o3d = function () {
|
|
9683
9683
|
return this.page.id + '-' + _get_position__iahqv2(this);
|
|
9684
9684
|
};
|
|
9685
|
-
protoOf(Modal).
|
|
9685
|
+
protoOf(Modal).t3r = function () {
|
|
9686
9686
|
return this.title;
|
|
9687
9687
|
};
|
|
9688
9688
|
protoOf(Modal).q3d = function () {
|
|
9689
|
-
return this.
|
|
9689
|
+
return this.y47_1;
|
|
9690
9690
|
};
|
|
9691
|
-
protoOf(Modal).
|
|
9691
|
+
protoOf(Modal).w3v = function () {
|
|
9692
9692
|
return this._listeners;
|
|
9693
9693
|
};
|
|
9694
|
-
protoOf(Modal).
|
|
9694
|
+
protoOf(Modal).l3r = function () {
|
|
9695
9695
|
return this._dismissListeners;
|
|
9696
9696
|
};
|
|
9697
9697
|
protoOf(Modal).y3i = function () {
|
|
@@ -9712,12 +9712,12 @@
|
|
|
9712
9712
|
protoOf(Modal).w3i = function () {
|
|
9713
9713
|
return get_WHITE();
|
|
9714
9714
|
};
|
|
9715
|
-
protoOf(Modal).
|
|
9715
|
+
protoOf(Modal).r3s = function () {
|
|
9716
9716
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
9717
9717
|
var this_0 = this._dismissListeners;
|
|
9718
9718
|
return copyToArray(this_0);
|
|
9719
9719
|
};
|
|
9720
|
-
protoOf(Modal).
|
|
9720
|
+
protoOf(Modal).x3v = function () {
|
|
9721
9721
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
9722
9722
|
var this_0 = this._listeners;
|
|
9723
9723
|
return copyToArray(this_0);
|
|
@@ -9726,11 +9726,11 @@
|
|
|
9726
9726
|
}
|
|
9727
9727
|
function Companion_56() {
|
|
9728
9728
|
Companion_instance_57 = this;
|
|
9729
|
-
this.
|
|
9730
|
-
this.
|
|
9731
|
-
this.
|
|
9732
|
-
this.
|
|
9733
|
-
this.
|
|
9729
|
+
this.z47_1 = 'card';
|
|
9730
|
+
this.a48_1 = 'label';
|
|
9731
|
+
this.b48_1 = 'hidden';
|
|
9732
|
+
this.c48_1 = ImageScaleType_FILL_X_getInstance();
|
|
9733
|
+
this.d48_1 = Companion_getInstance_22().CENTER;
|
|
9734
9734
|
}
|
|
9735
9735
|
var Companion_instance_57;
|
|
9736
9736
|
function Companion_getInstance_59() {
|
|
@@ -9739,7 +9739,7 @@
|
|
|
9739
9739
|
return Companion_instance_57;
|
|
9740
9740
|
}
|
|
9741
9741
|
function _get_labelParent__664ln7($this) {
|
|
9742
|
-
var tmp0 = $this.
|
|
9742
|
+
var tmp0 = $this.k48_1;
|
|
9743
9743
|
// Inline function 'kotlin.getValue' call
|
|
9744
9744
|
labelParent$factory();
|
|
9745
9745
|
return tmp0.h2();
|
|
@@ -9766,22 +9766,22 @@
|
|
|
9766
9766
|
tmp_1._dismissListeners = toSet_0(tmp$ret$1);
|
|
9767
9767
|
var tmp_2 = $this;
|
|
9768
9768
|
var tmp2_safe_receiver = parser.j3e('background-color');
|
|
9769
|
-
tmp_2.
|
|
9770
|
-
$this.
|
|
9769
|
+
tmp_2.f48_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
9770
|
+
$this.g48_1 = parser.j3e('background-image');
|
|
9771
9771
|
var tmp_3 = $this;
|
|
9772
9772
|
var tmp3_safe_receiver = parser.j3e('background-image-align');
|
|
9773
9773
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().s3h(tmp3_safe_receiver);
|
|
9774
|
-
tmp_3.
|
|
9774
|
+
tmp_3.h48_1 = tmp4_elvis_lhs == null ? Companion_getInstance_59().d48_1 : tmp4_elvis_lhs;
|
|
9775
9775
|
var tmp_4 = $this;
|
|
9776
9776
|
var tmp5_safe_receiver = parser.j3e('background-image-scale-type');
|
|
9777
|
-
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.
|
|
9778
|
-
tmp_4.
|
|
9777
|
+
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.c3m(tmp5_safe_receiver);
|
|
9778
|
+
tmp_4.i48_1 = tmp6_elvis_lhs == null ? Companion_getInstance_59().c48_1 : tmp6_elvis_lhs;
|
|
9779
9779
|
var tmp_5 = $this;
|
|
9780
9780
|
var tmp7_safe_receiver = parser.j3e('text-color');
|
|
9781
|
-
tmp_5.
|
|
9781
|
+
tmp_5.j48_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
9782
9782
|
var tmp_6 = $this;
|
|
9783
9783
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9784
|
-
tmp_6.
|
|
9784
|
+
tmp_6.m48_1 = ArrayList_init_$Create$();
|
|
9785
9785
|
var label = null;
|
|
9786
9786
|
var tmp_7 = $this;
|
|
9787
9787
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9801,7 +9801,7 @@
|
|
|
9801
9801
|
var tmp0_subject = parser.w3c();
|
|
9802
9802
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9803
9803
|
if (parser.q2() === 'events') {
|
|
9804
|
-
var tmp0 = $this.
|
|
9804
|
+
var tmp0 = $this.m48_1;
|
|
9805
9805
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9806
9806
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
9807
9807
|
addAll(tmp0, elements);
|
|
@@ -9841,7 +9841,7 @@
|
|
|
9841
9841
|
continue $l$loop_0;
|
|
9842
9842
|
skipTag(parser);
|
|
9843
9843
|
}
|
|
9844
|
-
tmp_7.
|
|
9844
|
+
tmp_7.l48_1 = this_2.p3();
|
|
9845
9845
|
$this.label = label;
|
|
9846
9846
|
return $this;
|
|
9847
9847
|
}
|
|
@@ -9853,8 +9853,8 @@
|
|
|
9853
9853
|
position = position === VOID ? 0 : position;
|
|
9854
9854
|
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9855
9855
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9856
|
-
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_59().
|
|
9857
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_59().
|
|
9856
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_59().d48_1 : backgroundImageGravity;
|
|
9857
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_59().c48_1 : backgroundImageScaleType;
|
|
9858
9858
|
isHidden = isHidden === VOID ? false : isHidden;
|
|
9859
9859
|
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9860
9860
|
label = label === VOID ? null : label;
|
|
@@ -9866,18 +9866,18 @@
|
|
|
9866
9866
|
$this.isHidden = isHidden;
|
|
9867
9867
|
$this._listeners = emptySet();
|
|
9868
9868
|
$this._dismissListeners = emptySet();
|
|
9869
|
-
$this.
|
|
9870
|
-
$this.
|
|
9871
|
-
$this.
|
|
9872
|
-
$this.
|
|
9873
|
-
$this.
|
|
9874
|
-
$this.
|
|
9869
|
+
$this.m48_1 = analyticsEvents;
|
|
9870
|
+
$this.f48_1 = backgroundColor;
|
|
9871
|
+
$this.g48_1 = backgroundImage;
|
|
9872
|
+
$this.h48_1 = backgroundImageGravity;
|
|
9873
|
+
$this.i48_1 = backgroundImageScaleType;
|
|
9874
|
+
$this.j48_1 = null;
|
|
9875
9875
|
var tmp = $this;
|
|
9876
9876
|
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9877
9877
|
var tmp_0 = $this;
|
|
9878
9878
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
9879
9879
|
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9880
|
-
tmp_0.
|
|
9880
|
+
tmp_0.l48_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9881
9881
|
return $this;
|
|
9882
9882
|
}
|
|
9883
9883
|
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
@@ -9899,7 +9899,7 @@
|
|
|
9899
9899
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'page');
|
|
9900
9900
|
var tmp = $this;
|
|
9901
9901
|
var tmp0_safe_receiver = parser.j3e('card-text-color');
|
|
9902
|
-
tmp.
|
|
9902
|
+
tmp.w47_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9903
9903
|
var header = null;
|
|
9904
9904
|
var hero = null;
|
|
9905
9905
|
var tmp_0 = $this;
|
|
@@ -9958,11 +9958,11 @@
|
|
|
9958
9958
|
function TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, $this) {
|
|
9959
9959
|
manifest = manifest === VOID ? createTestManifest() : manifest;
|
|
9960
9960
|
fileName = fileName === VOID ? null : fileName;
|
|
9961
|
-
backgroundColor = backgroundColor === VOID ? Companion_getInstance_48().
|
|
9961
|
+
backgroundColor = backgroundColor === VOID ? Companion_getInstance_48().u3n_1 : backgroundColor;
|
|
9962
9962
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9963
9963
|
primaryColor = primaryColor === VOID ? null : primaryColor;
|
|
9964
|
-
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_48().
|
|
9965
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_48().
|
|
9964
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_48().v3n_1 : backgroundImageGravity;
|
|
9965
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_48().w3n_1 : backgroundImageScaleType;
|
|
9966
9966
|
textColor = textColor === VOID ? null : textColor;
|
|
9967
9967
|
textScale = textScale === VOID ? 1.0 : textScale;
|
|
9968
9968
|
cardBackgroundColor = cardBackgroundColor === VOID ? null : cardBackgroundColor;
|
|
@@ -9971,7 +9971,7 @@
|
|
|
9971
9971
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
9972
9972
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, VOID, VOID, textColor, textScale, $this);
|
|
9973
9973
|
TractPage.call($this);
|
|
9974
|
-
$this.
|
|
9974
|
+
$this.w47_1 = cardTextColor;
|
|
9975
9975
|
$this.header = null;
|
|
9976
9976
|
$this.hero = null;
|
|
9977
9977
|
var tmp = $this;
|
|
@@ -9987,16 +9987,16 @@
|
|
|
9987
9987
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
9988
9988
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
9989
9989
|
}
|
|
9990
|
-
protoOf(Card_1).
|
|
9990
|
+
protoOf(Card_1).s40 = function () {
|
|
9991
9991
|
return this.page;
|
|
9992
9992
|
};
|
|
9993
9993
|
protoOf(Card_1).o3d = function () {
|
|
9994
9994
|
return this.page.id + '-' + this.position;
|
|
9995
9995
|
};
|
|
9996
|
-
protoOf(Card_1).
|
|
9996
|
+
protoOf(Card_1).v3v = function () {
|
|
9997
9997
|
return this.position;
|
|
9998
9998
|
};
|
|
9999
|
-
protoOf(Card_1).
|
|
9999
|
+
protoOf(Card_1).n48 = function () {
|
|
10000
10000
|
// Inline function 'kotlin.takeUnless' call
|
|
10001
10001
|
var this_0 = this.page.visibleCards.r(this);
|
|
10002
10002
|
var tmp;
|
|
@@ -10008,40 +10008,40 @@
|
|
|
10008
10008
|
}
|
|
10009
10009
|
return tmp;
|
|
10010
10010
|
};
|
|
10011
|
-
protoOf(Card_1).
|
|
10011
|
+
protoOf(Card_1).o48 = function () {
|
|
10012
10012
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
10013
10013
|
};
|
|
10014
|
-
protoOf(Card_1).
|
|
10014
|
+
protoOf(Card_1).n3z = function () {
|
|
10015
10015
|
return this.isHidden;
|
|
10016
10016
|
};
|
|
10017
|
-
protoOf(Card_1).
|
|
10017
|
+
protoOf(Card_1).w3v = function () {
|
|
10018
10018
|
return this._listeners;
|
|
10019
10019
|
};
|
|
10020
|
-
protoOf(Card_1).
|
|
10020
|
+
protoOf(Card_1).l3r = function () {
|
|
10021
10021
|
return this._dismissListeners;
|
|
10022
10022
|
};
|
|
10023
|
-
protoOf(Card_1).
|
|
10024
|
-
var tmp0_elvis_lhs = this.
|
|
10023
|
+
protoOf(Card_1).o3r = function () {
|
|
10024
|
+
var tmp0_elvis_lhs = this.f48_1;
|
|
10025
10025
|
return tmp0_elvis_lhs == null ? this.page.b3j() : tmp0_elvis_lhs;
|
|
10026
10026
|
};
|
|
10027
|
-
protoOf(Card_1).
|
|
10028
|
-
return getResource(this, this.
|
|
10027
|
+
protoOf(Card_1).p3r = function () {
|
|
10028
|
+
return getResource(this, this.g48_1);
|
|
10029
10029
|
};
|
|
10030
|
-
protoOf(Card_1).
|
|
10031
|
-
return this.
|
|
10030
|
+
protoOf(Card_1).q3r = function () {
|
|
10031
|
+
return this.h48_1;
|
|
10032
10032
|
};
|
|
10033
|
-
protoOf(Card_1).
|
|
10034
|
-
return this.
|
|
10033
|
+
protoOf(Card_1).r3r = function () {
|
|
10034
|
+
return this.i48_1;
|
|
10035
10035
|
};
|
|
10036
10036
|
protoOf(Card_1).w3i = function () {
|
|
10037
|
-
var tmp0_elvis_lhs = this.
|
|
10037
|
+
var tmp0_elvis_lhs = this.j48_1;
|
|
10038
10038
|
return tmp0_elvis_lhs == null ? this.page.cardTextColor : tmp0_elvis_lhs;
|
|
10039
10039
|
};
|
|
10040
|
-
protoOf(Card_1).
|
|
10040
|
+
protoOf(Card_1).p3m = function () {
|
|
10041
10041
|
return this.label;
|
|
10042
10042
|
};
|
|
10043
10043
|
protoOf(Card_1).q3d = function () {
|
|
10044
|
-
return this.
|
|
10044
|
+
return this.l48_1;
|
|
10045
10045
|
};
|
|
10046
10046
|
protoOf(Card_1).a3e = function () {
|
|
10047
10047
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -10059,7 +10059,7 @@
|
|
|
10059
10059
|
return destination;
|
|
10060
10060
|
};
|
|
10061
10061
|
protoOf(Card_1).d3i = function () {
|
|
10062
|
-
return this.
|
|
10062
|
+
return this.m48_1;
|
|
10063
10063
|
};
|
|
10064
10064
|
protoOf(Card_1).r3d = function (type) {
|
|
10065
10065
|
var tmp;
|
|
@@ -10067,7 +10067,7 @@
|
|
|
10067
10067
|
case 0:
|
|
10068
10068
|
// Inline function 'kotlin.collections.filter' call
|
|
10069
10069
|
|
|
10070
|
-
var tmp0 = this.
|
|
10070
|
+
var tmp0 = this.m48_1;
|
|
10071
10071
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10072
10072
|
|
|
10073
10073
|
var destination = ArrayList_init_$Create$();
|
|
@@ -10085,7 +10085,7 @@
|
|
|
10085
10085
|
case 1:
|
|
10086
10086
|
// Inline function 'kotlin.collections.filter' call
|
|
10087
10087
|
|
|
10088
|
-
var tmp0_0 = this.
|
|
10088
|
+
var tmp0_0 = this.m48_1;
|
|
10089
10089
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10090
10090
|
|
|
10091
10091
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -10109,12 +10109,12 @@
|
|
|
10109
10109
|
protoOf(Card_1)._getAnalyticsEvents = function (type) {
|
|
10110
10110
|
return this.r3d(type);
|
|
10111
10111
|
};
|
|
10112
|
-
protoOf(Card_1).
|
|
10112
|
+
protoOf(Card_1).r3s = function () {
|
|
10113
10113
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10114
10114
|
var this_0 = this._dismissListeners;
|
|
10115
10115
|
return copyToArray(this_0);
|
|
10116
10116
|
};
|
|
10117
|
-
protoOf(Card_1).
|
|
10117
|
+
protoOf(Card_1).x3v = function () {
|
|
10118
10118
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10119
10119
|
var this_0 = this._listeners;
|
|
10120
10120
|
return copyToArray(this_0);
|
|
@@ -10122,7 +10122,7 @@
|
|
|
10122
10122
|
function Card_1() {
|
|
10123
10123
|
Companion_getInstance_59();
|
|
10124
10124
|
var tmp = this;
|
|
10125
|
-
tmp.
|
|
10125
|
+
tmp.k48_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
10126
10126
|
}
|
|
10127
10127
|
function parseCardsXml(_this__u8e3s4, $this) {
|
|
10128
10128
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -10170,22 +10170,22 @@
|
|
|
10170
10170
|
}
|
|
10171
10171
|
return this_0.p3();
|
|
10172
10172
|
}
|
|
10173
|
-
protoOf(TractPage).
|
|
10174
|
-
return equals(lastOrNull(this.x39().
|
|
10173
|
+
protoOf(TractPage).p48 = function () {
|
|
10174
|
+
return equals(lastOrNull(this.x39().n3l()), this);
|
|
10175
10175
|
};
|
|
10176
10176
|
protoOf(TractPage).d3i = function () {
|
|
10177
|
-
return this.
|
|
10177
|
+
return this.v47_1;
|
|
10178
10178
|
};
|
|
10179
10179
|
protoOf(TractPage).p3d = function () {
|
|
10180
10180
|
return this.header;
|
|
10181
10181
|
};
|
|
10182
|
-
protoOf(TractPage).
|
|
10182
|
+
protoOf(TractPage).q48 = function () {
|
|
10183
10183
|
return this.hero;
|
|
10184
10184
|
};
|
|
10185
|
-
protoOf(TractPage).
|
|
10185
|
+
protoOf(TractPage).r48 = function () {
|
|
10186
10186
|
return this._modals;
|
|
10187
10187
|
};
|
|
10188
|
-
protoOf(TractPage).
|
|
10188
|
+
protoOf(TractPage).s48 = function () {
|
|
10189
10189
|
return this.callToAction;
|
|
10190
10190
|
};
|
|
10191
10191
|
protoOf(TractPage).findModal = function (id) {
|
|
@@ -10206,10 +10206,10 @@
|
|
|
10206
10206
|
}
|
|
10207
10207
|
return tmp$ret$1;
|
|
10208
10208
|
};
|
|
10209
|
-
protoOf(TractPage).
|
|
10209
|
+
protoOf(TractPage).t40 = function () {
|
|
10210
10210
|
return this._cards;
|
|
10211
10211
|
};
|
|
10212
|
-
protoOf(TractPage).
|
|
10212
|
+
protoOf(TractPage).t48 = function () {
|
|
10213
10213
|
// Inline function 'kotlin.collections.filter' call
|
|
10214
10214
|
var tmp0 = this._cards;
|
|
10215
10215
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -10224,22 +10224,22 @@
|
|
|
10224
10224
|
}
|
|
10225
10225
|
return destination;
|
|
10226
10226
|
};
|
|
10227
|
-
protoOf(TractPage).
|
|
10228
|
-
var tmp0_elvis_lhs = this.
|
|
10227
|
+
protoOf(TractPage).u48 = function () {
|
|
10228
|
+
var tmp0_elvis_lhs = this.w47_1;
|
|
10229
10229
|
return tmp0_elvis_lhs == null ? this.w3i() : tmp0_elvis_lhs;
|
|
10230
10230
|
};
|
|
10231
|
-
protoOf(TractPage).
|
|
10231
|
+
protoOf(TractPage).u40 = function () {
|
|
10232
10232
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10233
10233
|
var this_0 = this._cards;
|
|
10234
10234
|
return copyToArray(this_0);
|
|
10235
10235
|
};
|
|
10236
|
-
protoOf(TractPage).
|
|
10236
|
+
protoOf(TractPage).v48 = function () {
|
|
10237
10237
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10238
10238
|
var this_0 = this._modals;
|
|
10239
10239
|
return copyToArray(this_0);
|
|
10240
10240
|
};
|
|
10241
10241
|
function TractPage() {
|
|
10242
|
-
this.
|
|
10242
|
+
this.v47_1 = emptyList();
|
|
10243
10243
|
}
|
|
10244
10244
|
function labelParent$factory() {
|
|
10245
10245
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
@@ -10250,7 +10250,7 @@
|
|
|
10250
10250
|
return new FlowWatcher(launchIn(onEach(_this__u8e3s4, FlowWatcher$Companion$watchIn$slambda_0(block, null)), scope));
|
|
10251
10251
|
}
|
|
10252
10252
|
function FlowWatcher$Companion$watchIn$slambda($block, resultContinuation) {
|
|
10253
|
-
this.
|
|
10253
|
+
this.e49_1 = $block;
|
|
10254
10254
|
CoroutineImpl.call(this, resultContinuation);
|
|
10255
10255
|
}
|
|
10256
10256
|
protoOf(FlowWatcher$Companion$watchIn$slambda).g1a = function (it, $completion) {
|
|
@@ -10269,7 +10269,7 @@
|
|
|
10269
10269
|
var tmp = this.c9_1;
|
|
10270
10270
|
if (tmp === 0) {
|
|
10271
10271
|
this.d9_1 = 1;
|
|
10272
|
-
this.
|
|
10272
|
+
this.e49_1(this.f49_1);
|
|
10273
10273
|
return Unit_instance;
|
|
10274
10274
|
} else if (tmp === 1) {
|
|
10275
10275
|
throw this.f9_1;
|
|
@@ -10281,8 +10281,8 @@
|
|
|
10281
10281
|
while (true);
|
|
10282
10282
|
};
|
|
10283
10283
|
protoOf(FlowWatcher$Companion$watchIn$slambda).h1a = function (it, completion) {
|
|
10284
|
-
var i = new FlowWatcher$Companion$watchIn$slambda(this.
|
|
10285
|
-
i.
|
|
10284
|
+
var i = new FlowWatcher$Companion$watchIn$slambda(this.e49_1, completion);
|
|
10285
|
+
i.f49_1 = it;
|
|
10286
10286
|
return i;
|
|
10287
10287
|
};
|
|
10288
10288
|
function FlowWatcher$Companion$watchIn$slambda_0($block, resultContinuation) {
|
|
@@ -10295,7 +10295,7 @@
|
|
|
10295
10295
|
}
|
|
10296
10296
|
function Companion_57() {
|
|
10297
10297
|
}
|
|
10298
|
-
protoOf(Companion_57).
|
|
10298
|
+
protoOf(Companion_57).b3u = function (_this__u8e3s4, block) {
|
|
10299
10299
|
return watchIn(_this__u8e3s4, this, CoroutineScope_0(Dispatchers_getInstance().kv()), block);
|
|
10300
10300
|
};
|
|
10301
10301
|
var Companion_instance_58;
|
|
@@ -10303,10 +10303,10 @@
|
|
|
10303
10303
|
return Companion_instance_58;
|
|
10304
10304
|
}
|
|
10305
10305
|
function FlowWatcher(job) {
|
|
10306
|
-
this.
|
|
10306
|
+
this.g49_1 = job;
|
|
10307
10307
|
}
|
|
10308
10308
|
protoOf(FlowWatcher).close = function () {
|
|
10309
|
-
return this.
|
|
10309
|
+
return this.g49_1.pm();
|
|
10310
10310
|
};
|
|
10311
10311
|
function get_REGEX_SEQUENCE_SEPARATOR() {
|
|
10312
10312
|
_init_properties_Regex_kt__v9a4ph();
|
|
@@ -10334,33 +10334,33 @@
|
|
|
10334
10334
|
return EMPTY_instance;
|
|
10335
10335
|
}
|
|
10336
10336
|
function SetOnceProperty() {
|
|
10337
|
-
this.
|
|
10337
|
+
this.h49_1 = EMPTY_instance;
|
|
10338
10338
|
}
|
|
10339
|
-
protoOf(SetOnceProperty).
|
|
10339
|
+
protoOf(SetOnceProperty).i49 = function (thisRef, property) {
|
|
10340
10340
|
// Inline function 'kotlin.check' call
|
|
10341
|
-
if (!!(this.
|
|
10341
|
+
if (!!(this.h49_1 === EMPTY_instance)) {
|
|
10342
10342
|
// Inline function 'org.cru.godtools.shared.tool.parser.util.SetOnceProperty.getValue.<anonymous>' call
|
|
10343
10343
|
var message = "Value isn't initialized";
|
|
10344
10344
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10345
10345
|
}
|
|
10346
|
-
var tmp = this.
|
|
10346
|
+
var tmp = this.h49_1;
|
|
10347
10347
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
10348
10348
|
};
|
|
10349
|
-
protoOf(SetOnceProperty).
|
|
10350
|
-
return this.
|
|
10349
|
+
protoOf(SetOnceProperty).h3s = function (thisRef, property) {
|
|
10350
|
+
return this.i49(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
10351
10351
|
};
|
|
10352
|
-
protoOf(SetOnceProperty).
|
|
10352
|
+
protoOf(SetOnceProperty).j49 = function (thisRef, property, value) {
|
|
10353
10353
|
// Inline function 'kotlin.check' call
|
|
10354
|
-
if (!(this.
|
|
10354
|
+
if (!(this.h49_1 === EMPTY_instance)) {
|
|
10355
10355
|
// Inline function 'org.cru.godtools.shared.tool.parser.util.SetOnceProperty.setValue.<anonymous>' call
|
|
10356
10356
|
var message = 'Value is initialized';
|
|
10357
10357
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10358
10358
|
}
|
|
10359
|
-
this.
|
|
10359
|
+
this.h49_1 = value;
|
|
10360
10360
|
};
|
|
10361
|
-
protoOf(SetOnceProperty).
|
|
10361
|
+
protoOf(SetOnceProperty).t3q = function (thisRef, property, value) {
|
|
10362
10362
|
var tmp = !(thisRef == null) ? thisRef : THROW_CCE();
|
|
10363
|
-
return this.
|
|
10363
|
+
return this.j49(tmp, property, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
10364
10364
|
};
|
|
10365
10365
|
function get_hasUriScheme(_this__u8e3s4) {
|
|
10366
10366
|
return contains_1(_this__u8e3s4, _Char___init__impl__6a9atx(58));
|
|
@@ -10375,15 +10375,15 @@
|
|
|
10375
10375
|
}
|
|
10376
10376
|
function QName(uri, local) {
|
|
10377
10377
|
uri = uri === VOID ? null : uri;
|
|
10378
|
-
this.
|
|
10379
|
-
this.
|
|
10378
|
+
this.k49_1 = uri;
|
|
10379
|
+
this.l49_1 = local;
|
|
10380
10380
|
}
|
|
10381
10381
|
protoOf(QName).toString = function () {
|
|
10382
|
-
return 'QName(uri=' + this.
|
|
10382
|
+
return 'QName(uri=' + this.k49_1 + ', local=' + this.l49_1 + ')';
|
|
10383
10383
|
};
|
|
10384
10384
|
protoOf(QName).hashCode = function () {
|
|
10385
|
-
var result = this.
|
|
10386
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
10385
|
+
var result = this.k49_1 == null ? 0 : getStringHashCode(this.k49_1);
|
|
10386
|
+
result = imul(result, 31) + getStringHashCode(this.l49_1) | 0;
|
|
10387
10387
|
return result;
|
|
10388
10388
|
};
|
|
10389
10389
|
protoOf(QName).equals = function (other) {
|
|
@@ -10392,9 +10392,9 @@
|
|
|
10392
10392
|
if (!(other instanceof QName))
|
|
10393
10393
|
return false;
|
|
10394
10394
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
10395
|
-
if (!(this.
|
|
10395
|
+
if (!(this.k49_1 == tmp0_other_with_cast.k49_1))
|
|
10396
10396
|
return false;
|
|
10397
|
-
if (!(this.
|
|
10397
|
+
if (!(this.l49_1 === tmp0_other_with_cast.l49_1))
|
|
10398
10398
|
return false;
|
|
10399
10399
|
return true;
|
|
10400
10400
|
};
|
|
@@ -10402,52 +10402,52 @@
|
|
|
10402
10402
|
qname = qname === VOID ? null : qname;
|
|
10403
10403
|
content = content === VOID ? null : content;
|
|
10404
10404
|
attrs = attrs === VOID ? null : attrs;
|
|
10405
|
-
this.
|
|
10406
|
-
this.
|
|
10407
|
-
this.
|
|
10408
|
-
this.
|
|
10405
|
+
this.m49_1 = type;
|
|
10406
|
+
this.n49_1 = qname;
|
|
10407
|
+
this.o49_1 = content;
|
|
10408
|
+
this.p49_1 = attrs;
|
|
10409
10409
|
}
|
|
10410
10410
|
function enqueueEvent($this, event) {
|
|
10411
10411
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
10412
|
-
var this_0 = $this.
|
|
10412
|
+
var this_0 = $this.s49_1;
|
|
10413
10413
|
if (charSequenceLength(this_0) > 0) {
|
|
10414
|
-
var tmp1 = $this.
|
|
10414
|
+
var tmp1 = $this.r49_1;
|
|
10415
10415
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10416
|
-
var element = new ParserEvent(4, VOID, $this.
|
|
10416
|
+
var element = new ParserEvent(4, VOID, $this.s49_1.toString());
|
|
10417
10417
|
tmp1.e(element);
|
|
10418
|
-
$this.
|
|
10418
|
+
$this.s49_1.gc();
|
|
10419
10419
|
}
|
|
10420
10420
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10421
|
-
$this.
|
|
10421
|
+
$this.r49_1.e(event);
|
|
10422
10422
|
}
|
|
10423
10423
|
function SaxXmlPullParser() {
|
|
10424
|
-
this.
|
|
10424
|
+
this.q49_1 = new ParserEvent(0);
|
|
10425
10425
|
var tmp = this;
|
|
10426
10426
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10427
|
-
tmp.
|
|
10428
|
-
this.
|
|
10427
|
+
tmp.r49_1 = ArrayList_init_$Create$();
|
|
10428
|
+
this.s49_1 = StringBuilder_init_$Create$();
|
|
10429
10429
|
}
|
|
10430
10430
|
protoOf(SaxXmlPullParser).v3c = function () {
|
|
10431
|
-
return this.
|
|
10431
|
+
return this.q49_1.m49_1;
|
|
10432
10432
|
};
|
|
10433
10433
|
protoOf(SaxXmlPullParser).w3c = function () {
|
|
10434
|
-
var tmp0_safe_receiver = this.
|
|
10435
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10434
|
+
var tmp0_safe_receiver = this.q49_1.n49_1;
|
|
10435
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k49_1;
|
|
10436
10436
|
};
|
|
10437
10437
|
protoOf(SaxXmlPullParser).q2 = function () {
|
|
10438
|
-
var tmp0_safe_receiver = this.
|
|
10439
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10438
|
+
var tmp0_safe_receiver = this.q49_1.n49_1;
|
|
10439
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l49_1;
|
|
10440
10440
|
};
|
|
10441
10441
|
protoOf(SaxXmlPullParser).u3c = function (type, namespace, name) {
|
|
10442
10442
|
// Inline function 'kotlin.with' call
|
|
10443
10443
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.require.<anonymous>' call
|
|
10444
|
-
var $this$with = this.
|
|
10445
|
-
if (!($this$with.
|
|
10444
|
+
var $this$with = this.q49_1;
|
|
10445
|
+
if (!($this$with.m49_1 === type))
|
|
10446
10446
|
throw new XmlPullParserException('expected ' + type);
|
|
10447
10447
|
var tmp;
|
|
10448
10448
|
if (!(namespace == null)) {
|
|
10449
|
-
var tmp0_safe_receiver = $this$with.
|
|
10450
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10449
|
+
var tmp0_safe_receiver = $this$with.n49_1;
|
|
10450
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k49_1));
|
|
10451
10451
|
} else {
|
|
10452
10452
|
tmp = false;
|
|
10453
10453
|
}
|
|
@@ -10455,8 +10455,8 @@
|
|
|
10455
10455
|
throw new XmlPullParserException('expected ' + namespace);
|
|
10456
10456
|
var tmp_0;
|
|
10457
10457
|
if (!(name == null)) {
|
|
10458
|
-
var tmp1_safe_receiver = $this$with.
|
|
10459
|
-
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
10458
|
+
var tmp1_safe_receiver = $this$with.n49_1;
|
|
10459
|
+
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l49_1) == name);
|
|
10460
10460
|
} else {
|
|
10461
10461
|
tmp_0 = false;
|
|
10462
10462
|
}
|
|
@@ -10466,16 +10466,16 @@
|
|
|
10466
10466
|
};
|
|
10467
10467
|
protoOf(SaxXmlPullParser).l = function () {
|
|
10468
10468
|
// Inline function 'kotlin.also' call
|
|
10469
|
-
var this_0 = removeFirst(this.
|
|
10469
|
+
var this_0 = removeFirst(this.r49_1);
|
|
10470
10470
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.next.<anonymous>' call
|
|
10471
|
-
this.
|
|
10472
|
-
return this_0.
|
|
10471
|
+
this.q49_1 = this_0;
|
|
10472
|
+
return this_0.m49_1;
|
|
10473
10473
|
};
|
|
10474
10474
|
protoOf(SaxXmlPullParser).m3a = function () {
|
|
10475
10475
|
var tmp;
|
|
10476
10476
|
if (this.l() === 4) {
|
|
10477
10477
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
10478
|
-
var this_0 = this.
|
|
10478
|
+
var this_0 = this.q49_1.o49_1;
|
|
10479
10479
|
tmp = this_0 == null || isBlank(this_0);
|
|
10480
10480
|
} else {
|
|
10481
10481
|
tmp = false;
|
|
@@ -10483,20 +10483,20 @@
|
|
|
10483
10483
|
if (tmp) {
|
|
10484
10484
|
this.l();
|
|
10485
10485
|
}
|
|
10486
|
-
var event = this.
|
|
10487
|
-
if (!(event.
|
|
10488
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
10486
|
+
var event = this.q49_1;
|
|
10487
|
+
if (!(event.m49_1 === 2) && !(event.m49_1 === 3)) {
|
|
10488
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.m49_1);
|
|
10489
10489
|
}
|
|
10490
|
-
return event.
|
|
10490
|
+
return event.m49_1;
|
|
10491
10491
|
};
|
|
10492
|
-
protoOf(SaxXmlPullParser).
|
|
10493
|
-
this.
|
|
10492
|
+
protoOf(SaxXmlPullParser).f3w = function () {
|
|
10493
|
+
this.r45(2);
|
|
10494
10494
|
var tmp;
|
|
10495
10495
|
switch (this.l()) {
|
|
10496
10496
|
case 4:
|
|
10497
10497
|
// Inline function 'kotlin.text.orEmpty' call
|
|
10498
10498
|
|
|
10499
|
-
var tmp0_elvis_lhs = this.
|
|
10499
|
+
var tmp0_elvis_lhs = this.q49_1.o49_1;
|
|
10500
10500
|
// Inline function 'kotlin.also' call
|
|
10501
10501
|
|
|
10502
10502
|
var this_0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
@@ -10520,10 +10520,10 @@
|
|
|
10520
10520
|
};
|
|
10521
10521
|
protoOf(SaxXmlPullParser).f3f = function (namespace, name) {
|
|
10522
10522
|
// Inline function 'kotlin.takeIf' call
|
|
10523
|
-
var this_0 = this.
|
|
10523
|
+
var this_0 = this.q49_1;
|
|
10524
10524
|
var tmp;
|
|
10525
10525
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.getAttributeValue.<anonymous>' call
|
|
10526
|
-
if (this_0.
|
|
10526
|
+
if (this_0.m49_1 === 2) {
|
|
10527
10527
|
tmp = this_0;
|
|
10528
10528
|
} else {
|
|
10529
10529
|
tmp = null;
|
|
@@ -10536,16 +10536,16 @@
|
|
|
10536
10536
|
tmp_0 = tmp0_elvis_lhs;
|
|
10537
10537
|
}
|
|
10538
10538
|
var event = tmp_0;
|
|
10539
|
-
var tmp1_safe_receiver = event.
|
|
10539
|
+
var tmp1_safe_receiver = event.p49_1;
|
|
10540
10540
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k2(new QName(namespace, name));
|
|
10541
10541
|
};
|
|
10542
|
-
protoOf(SaxXmlPullParser).
|
|
10542
|
+
protoOf(SaxXmlPullParser).t49 = function (qname, attrs) {
|
|
10543
10543
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
10544
10544
|
};
|
|
10545
|
-
protoOf(SaxXmlPullParser).
|
|
10546
|
-
this.
|
|
10545
|
+
protoOf(SaxXmlPullParser).u49 = function (text) {
|
|
10546
|
+
this.s49_1.n8(text);
|
|
10547
10547
|
};
|
|
10548
|
-
protoOf(SaxXmlPullParser).
|
|
10548
|
+
protoOf(SaxXmlPullParser).v49 = function (qname) {
|
|
10549
10549
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
10550
10550
|
};
|
|
10551
10551
|
function XmlPullParser() {
|
|
@@ -10588,26 +10588,26 @@
|
|
|
10588
10588
|
}
|
|
10589
10589
|
var SAX_OPTIONS;
|
|
10590
10590
|
function InternalSAXParser($outer) {
|
|
10591
|
-
this.
|
|
10591
|
+
this.w49_1 = $outer;
|
|
10592
10592
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
10593
10593
|
}
|
|
10594
|
-
protoOf(InternalSAXParser).
|
|
10595
|
-
return this.
|
|
10594
|
+
protoOf(InternalSAXParser).x49 = function (tag) {
|
|
10595
|
+
return this.w49_1.t49(new QName(tag.uri, tag.local), convert(tag.attributes, this.w49_1));
|
|
10596
10596
|
};
|
|
10597
10597
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
10598
|
-
return this.
|
|
10598
|
+
return this.x49(tag);
|
|
10599
10599
|
};
|
|
10600
|
-
protoOf(InternalSAXParser).
|
|
10601
|
-
return this.
|
|
10600
|
+
protoOf(InternalSAXParser).y49 = function (tagName) {
|
|
10601
|
+
return this.w49_1.v49(new QName(VOID, tagName));
|
|
10602
10602
|
};
|
|
10603
10603
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
10604
|
-
return this.
|
|
10604
|
+
return this.y49(tagName);
|
|
10605
10605
|
};
|
|
10606
|
-
protoOf(InternalSAXParser).
|
|
10607
|
-
return this.
|
|
10606
|
+
protoOf(InternalSAXParser).z49 = function (t) {
|
|
10607
|
+
return this.w49_1.u49(t);
|
|
10608
10608
|
};
|
|
10609
10609
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
10610
|
-
return this.
|
|
10610
|
+
return this.z49(t);
|
|
10611
10611
|
};
|
|
10612
10612
|
function convert(_this__u8e3s4, $this) {
|
|
10613
10613
|
var tmp = Object.values;
|
|
@@ -10655,13 +10655,13 @@
|
|
|
10655
10655
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.JsXmlPullParser.internalParser.<anonymous>' call
|
|
10656
10656
|
this_0.write(xml);
|
|
10657
10657
|
this_0.close();
|
|
10658
|
-
tmp.
|
|
10658
|
+
tmp.d4a_1 = this_0;
|
|
10659
10659
|
}
|
|
10660
10660
|
function SAX_OPTIONS$1() {
|
|
10661
|
-
this.
|
|
10661
|
+
this.e4a_1 = true;
|
|
10662
10662
|
}
|
|
10663
|
-
protoOf(SAX_OPTIONS$1).
|
|
10664
|
-
return this.
|
|
10663
|
+
protoOf(SAX_OPTIONS$1).f4a = function () {
|
|
10664
|
+
return this.e4a_1;
|
|
10665
10665
|
};
|
|
10666
10666
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
10667
10667
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -10672,8 +10672,8 @@
|
|
|
10672
10672
|
}
|
|
10673
10673
|
function $getXmlParserCOROUTINE$4(_this__u8e3s4, fileName, resultContinuation) {
|
|
10674
10674
|
CoroutineImpl.call(this, resultContinuation);
|
|
10675
|
-
this.
|
|
10676
|
-
this.
|
|
10675
|
+
this.o4a_1 = _this__u8e3s4;
|
|
10676
|
+
this.p4a_1 = fileName;
|
|
10677
10677
|
}
|
|
10678
10678
|
protoOf($getXmlParserCOROUTINE$4).u9 = function () {
|
|
10679
10679
|
var suspendResult = this.e9_1;
|
|
@@ -10684,7 +10684,7 @@
|
|
|
10684
10684
|
case 0:
|
|
10685
10685
|
this.d9_1 = 2;
|
|
10686
10686
|
this.c9_1 = 1;
|
|
10687
|
-
suspendResult = await_0(this.
|
|
10687
|
+
suspendResult = await_0(this.o4a_1.readFile(this.p4a_1), this);
|
|
10688
10688
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10689
10689
|
return suspendResult;
|
|
10690
10690
|
}
|
|
@@ -10717,14 +10717,14 @@
|
|
|
10717
10717
|
function JsXmlPullParserFactory() {
|
|
10718
10718
|
XmlPullParserFactory.call(this);
|
|
10719
10719
|
}
|
|
10720
|
-
protoOf(JsXmlPullParserFactory).
|
|
10720
|
+
protoOf(JsXmlPullParserFactory).q4a = function (fileName, $completion) {
|
|
10721
10721
|
var tmp = new $getXmlParserCOROUTINE$4(this, fileName, $completion);
|
|
10722
10722
|
tmp.e9_1 = Unit_instance;
|
|
10723
10723
|
tmp.f9_1 = null;
|
|
10724
10724
|
return tmp.u9();
|
|
10725
10725
|
};
|
|
10726
10726
|
protoOf(JsXmlPullParserFactory).l3a = function (fileName, $completion) {
|
|
10727
|
-
return this.
|
|
10727
|
+
return this.q4a(fileName, $completion);
|
|
10728
10728
|
};
|
|
10729
10729
|
function XmlPullParserException(s) {
|
|
10730
10730
|
Exception_init_$Init$(s, this);
|
|
@@ -10822,6 +10822,7 @@
|
|
|
10822
10822
|
protoOf(Item).watchIsGone = watchIsGone;
|
|
10823
10823
|
protoOf(Item).watchIsInvisible = watchIsInvisible;
|
|
10824
10824
|
protoOf(Item).watchVisibility = watchVisibility;
|
|
10825
|
+
defineProp(protoOf(Item), 'width', protoOf(Item).r3g);
|
|
10825
10826
|
defineProp(protoOf(Item), 'invisibleIf', function () {
|
|
10826
10827
|
return this.f3e();
|
|
10827
10828
|
});
|
|
@@ -10831,7 +10832,7 @@
|
|
|
10831
10832
|
defineProp(protoOf(Item), 'content', function () {
|
|
10832
10833
|
return this.y3d();
|
|
10833
10834
|
});
|
|
10834
|
-
defineProp(protoOf(Flow), 'items', protoOf(Flow).
|
|
10835
|
+
defineProp(protoOf(Flow), 'items', protoOf(Flow).q3k);
|
|
10835
10836
|
protoOf(Form).y3d = get_content;
|
|
10836
10837
|
defineProp(protoOf(Form), 'content', function () {
|
|
10837
10838
|
return this.y3d();
|
|
@@ -10840,13 +10841,13 @@
|
|
|
10840
10841
|
defineProp(protoOf(Horizontal), 'ordinal', protoOf(Horizontal).r2);
|
|
10841
10842
|
defineProp(protoOf(Vertical), 'name', protoOf(Vertical).q2);
|
|
10842
10843
|
defineProp(protoOf(Vertical), 'ordinal', protoOf(Vertical).r2);
|
|
10843
|
-
defineProp(protoOf(Gravity), 'isStart', protoOf(Gravity).
|
|
10844
|
-
defineProp(protoOf(Gravity), 'isEnd', protoOf(Gravity).
|
|
10845
|
-
defineProp(protoOf(Gravity), 'isCenterX', protoOf(Gravity).
|
|
10846
|
-
defineProp(protoOf(Gravity), 'isTop', protoOf(Gravity).
|
|
10847
|
-
defineProp(protoOf(Gravity), 'isBottom', protoOf(Gravity).
|
|
10848
|
-
defineProp(protoOf(Gravity), 'isCenterY', protoOf(Gravity).
|
|
10849
|
-
defineProp(protoOf(Gravity), 'isCenter', protoOf(Gravity).
|
|
10844
|
+
defineProp(protoOf(Gravity), 'isStart', protoOf(Gravity).g3l);
|
|
10845
|
+
defineProp(protoOf(Gravity), 'isEnd', protoOf(Gravity).h3l);
|
|
10846
|
+
defineProp(protoOf(Gravity), 'isCenterX', protoOf(Gravity).i3l);
|
|
10847
|
+
defineProp(protoOf(Gravity), 'isTop', protoOf(Gravity).j3l);
|
|
10848
|
+
defineProp(protoOf(Gravity), 'isBottom', protoOf(Gravity).k3l);
|
|
10849
|
+
defineProp(protoOf(Gravity), 'isCenterY', protoOf(Gravity).l3l);
|
|
10850
|
+
defineProp(protoOf(Gravity), 'isCenter', protoOf(Gravity).m3l);
|
|
10850
10851
|
protoOf(Image).o3g = get_isClickable;
|
|
10851
10852
|
protoOf(Image).p3g = get_events;
|
|
10852
10853
|
defineProp(protoOf(Image), 'url', function () {
|
|
@@ -10878,17 +10879,17 @@
|
|
|
10878
10879
|
protoOf(Manifest).y3h = get_buttonColor;
|
|
10879
10880
|
protoOf(Manifest).f3j = get_textAlign;
|
|
10880
10881
|
protoOf(Manifest).findPage = findPage;
|
|
10881
|
-
protoOf(Manifest).
|
|
10882
|
-
defineProp(protoOf(Manifest), 'backgroundImage', protoOf(Manifest).
|
|
10883
|
-
defineProp(protoOf(Manifest), 'title', protoOf(Manifest).
|
|
10882
|
+
protoOf(Manifest).p3l = get_pages;
|
|
10883
|
+
defineProp(protoOf(Manifest), 'backgroundImage', protoOf(Manifest).p3r);
|
|
10884
|
+
defineProp(protoOf(Manifest), 'title', protoOf(Manifest).t3r);
|
|
10884
10885
|
defineProp(protoOf(Manifest), '_pages', function () {
|
|
10885
|
-
return this.
|
|
10886
|
+
return this.n3l();
|
|
10886
10887
|
});
|
|
10887
|
-
defineProp(protoOf(Manifest), 'relatedFiles', protoOf(Manifest).
|
|
10888
|
-
defineProp(protoOf(Manifest), 'hasTips', protoOf(Manifest).
|
|
10889
|
-
defineProp(protoOf(Manifest), 'dismissListeners', protoOf(Manifest).
|
|
10888
|
+
defineProp(protoOf(Manifest), 'relatedFiles', protoOf(Manifest).m3s);
|
|
10889
|
+
defineProp(protoOf(Manifest), 'hasTips', protoOf(Manifest).n3s);
|
|
10890
|
+
defineProp(protoOf(Manifest), 'dismissListeners', protoOf(Manifest).r3s);
|
|
10890
10891
|
defineProp(protoOf(Manifest), 'pages', function () {
|
|
10891
|
-
return this.
|
|
10892
|
+
return this.p3l();
|
|
10892
10893
|
});
|
|
10893
10894
|
defineProp(protoOf(Style_0), 'name', protoOf(Style_0).q2);
|
|
10894
10895
|
defineProp(protoOf(Style_0), 'ordinal', protoOf(Style_0).r2);
|
|
@@ -10896,11 +10897,11 @@
|
|
|
10896
10897
|
protoOf(Option).getAnalyticsEvents = getAnalyticsEvents;
|
|
10897
10898
|
defineProp(protoOf(Option), 'style', protoOf(Option).w3h);
|
|
10898
10899
|
defineProp(protoOf(Option), 'backgroundColor', protoOf(Option).z3h);
|
|
10899
|
-
defineProp(protoOf(Option), 'selectedColor', protoOf(Option).
|
|
10900
|
+
defineProp(protoOf(Option), 'selectedColor', protoOf(Option).z3t);
|
|
10900
10901
|
defineProp(protoOf(Option), 'content', function () {
|
|
10901
10902
|
return this.y3d();
|
|
10902
10903
|
});
|
|
10903
|
-
defineProp(protoOf(Multiselect), 'options', protoOf(Multiselect).
|
|
10904
|
+
defineProp(protoOf(Multiselect), 'options', protoOf(Multiselect).g3u);
|
|
10904
10905
|
protoOf(Paragraph).y3d = get_content;
|
|
10905
10906
|
defineProp(protoOf(Paragraph), 'content', function () {
|
|
10906
10907
|
return this.y3d();
|
|
@@ -10916,12 +10917,12 @@
|
|
|
10916
10917
|
protoOf(StylesOverride).d3j = get_multiselectOptionSelectedColor;
|
|
10917
10918
|
protoOf(Tab).y3d = get_content;
|
|
10918
10919
|
protoOf(Tab).getAnalyticsEvents = getAnalyticsEvents;
|
|
10919
|
-
defineProp(protoOf(Tab), 'position', protoOf(Tab).
|
|
10920
|
-
defineProp(protoOf(Tab), 'listeners', protoOf(Tab).
|
|
10920
|
+
defineProp(protoOf(Tab), 'position', protoOf(Tab).v3v);
|
|
10921
|
+
defineProp(protoOf(Tab), 'listeners', protoOf(Tab).x3v);
|
|
10921
10922
|
defineProp(protoOf(Tab), 'content', function () {
|
|
10922
10923
|
return this.y3d();
|
|
10923
10924
|
});
|
|
10924
|
-
defineProp(protoOf(Tabs), 'tabs', protoOf(Tabs).
|
|
10925
|
+
defineProp(protoOf(Tabs), 'tabs', protoOf(Tabs).z3v);
|
|
10925
10926
|
defineProp(protoOf(Align), 'name', protoOf(Align).q2);
|
|
10926
10927
|
defineProp(protoOf(Align), 'ordinal', protoOf(Align).r2);
|
|
10927
10928
|
defineProp(protoOf(Style_1), 'name', protoOf(Style_1).q2);
|
|
@@ -10929,9 +10930,9 @@
|
|
|
10929
10930
|
defineProp(protoOf(Text), 'textAlign', protoOf(Text).f3j);
|
|
10930
10931
|
defineProp(protoOf(Text), 'textColor', protoOf(Text).w3i);
|
|
10931
10932
|
defineProp(protoOf(Text), 'textScale', protoOf(Text).e3j);
|
|
10932
|
-
defineProp(protoOf(Text), 'startImage', protoOf(Text).
|
|
10933
|
-
defineProp(protoOf(Text), 'endImage', protoOf(Text).
|
|
10934
|
-
defineProp(protoOf(Text), 'textStyles', protoOf(Text).
|
|
10933
|
+
defineProp(protoOf(Text), 'startImage', protoOf(Text).n3w);
|
|
10934
|
+
defineProp(protoOf(Text), 'endImage', protoOf(Text).q3w);
|
|
10935
|
+
defineProp(protoOf(Text), 'textStyles', protoOf(Text).s3w);
|
|
10935
10936
|
defineProp(protoOf(Provider), 'name', protoOf(Provider).q2);
|
|
10936
10937
|
defineProp(protoOf(Provider), 'ordinal', protoOf(Provider).r2);
|
|
10937
10938
|
protoOf(Page).a3j = get_buttonStyle;
|
|
@@ -10939,14 +10940,14 @@
|
|
|
10939
10940
|
protoOf(Page).f3j = get_textAlign;
|
|
10940
10941
|
protoOf(Page).getAnalyticsEvents = getAnalyticsEvents;
|
|
10941
10942
|
defineProp(protoOf(Page), 'id', protoOf(Page).o3d);
|
|
10942
|
-
defineProp(protoOf(Page), 'position', protoOf(Page).
|
|
10943
|
-
defineProp(protoOf(Page), 'parentPage', protoOf(Page).
|
|
10944
|
-
defineProp(protoOf(Page), 'parentPageParams', protoOf(Page).
|
|
10945
|
-
defineProp(protoOf(Page), 'nextPage', protoOf(Page).
|
|
10946
|
-
defineProp(protoOf(Page), 'previousPage', protoOf(Page).
|
|
10947
|
-
defineProp(protoOf(Page), 'backgroundImage', protoOf(Page).
|
|
10948
|
-
defineProp(protoOf(Page), 'dismissListeners', protoOf(Page).
|
|
10949
|
-
defineProp(protoOf(Page), 'listeners', protoOf(Page).
|
|
10943
|
+
defineProp(protoOf(Page), 'position', protoOf(Page).v3v);
|
|
10944
|
+
defineProp(protoOf(Page), 'parentPage', protoOf(Page).j3z);
|
|
10945
|
+
defineProp(protoOf(Page), 'parentPageParams', protoOf(Page).k3z);
|
|
10946
|
+
defineProp(protoOf(Page), 'nextPage', protoOf(Page).l3z);
|
|
10947
|
+
defineProp(protoOf(Page), 'previousPage', protoOf(Page).m3z);
|
|
10948
|
+
defineProp(protoOf(Page), 'backgroundImage', protoOf(Page).p3r);
|
|
10949
|
+
defineProp(protoOf(Page), 'dismissListeners', protoOf(Page).r3s);
|
|
10950
|
+
defineProp(protoOf(Page), 'listeners', protoOf(Page).x3v);
|
|
10950
10951
|
protoOf(LessonPage).y3d = get_content;
|
|
10951
10952
|
defineProp(protoOf(LessonPage), 'content', function () {
|
|
10952
10953
|
return this.y3d();
|
|
@@ -10954,24 +10955,24 @@
|
|
|
10954
10955
|
protoOf(Card_0).y3d = get_content;
|
|
10955
10956
|
protoOf(Card_0).getAnalyticsEvents = getAnalyticsEvents;
|
|
10956
10957
|
defineProp(protoOf(Card_0), 'id', protoOf(Card_0).o3d);
|
|
10957
|
-
defineProp(protoOf(Card_0), 'position', protoOf(Card_0).
|
|
10958
|
+
defineProp(protoOf(Card_0), 'position', protoOf(Card_0).v3v);
|
|
10958
10959
|
defineProp(protoOf(Card_0), 'content', function () {
|
|
10959
10960
|
return this.y3d();
|
|
10960
10961
|
});
|
|
10961
|
-
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).
|
|
10962
|
+
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).u40);
|
|
10962
10963
|
protoOf(ContentPage).y3d = get_content;
|
|
10963
10964
|
defineProp(protoOf(ContentPage), 'content', function () {
|
|
10964
10965
|
return this.y3d();
|
|
10965
10966
|
});
|
|
10966
10967
|
protoOf(PageCollectionPage).findPage = findPage;
|
|
10967
|
-
protoOf(PageCollectionPage).
|
|
10968
|
+
protoOf(PageCollectionPage).p3l = get_pages;
|
|
10968
10969
|
defineProp(protoOf(PageCollectionPage), '_pages', function () {
|
|
10969
|
-
return this.
|
|
10970
|
+
return this.n3l();
|
|
10970
10971
|
});
|
|
10971
10972
|
defineProp(protoOf(PageCollectionPage), 'pages', function () {
|
|
10972
|
-
return this.
|
|
10973
|
+
return this.p3l();
|
|
10973
10974
|
});
|
|
10974
|
-
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).
|
|
10975
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).f46);
|
|
10975
10976
|
protoOf(Tip).a3j = get_buttonStyle;
|
|
10976
10977
|
protoOf(Tip).y3h = get_buttonColor;
|
|
10977
10978
|
protoOf(Tip).b3j = get_cardBackgroundColor;
|
|
@@ -10983,7 +10984,7 @@
|
|
|
10983
10984
|
defineProp(protoOf(TipPage), 'content', function () {
|
|
10984
10985
|
return this.y3d();
|
|
10985
10986
|
});
|
|
10986
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
10987
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).f46);
|
|
10987
10988
|
protoOf(Header).y3i = get_primaryColor;
|
|
10988
10989
|
protoOf(Header).z3i = get_primaryTextColor;
|
|
10989
10990
|
protoOf(Header).a3j = get_buttonStyle;
|
|
@@ -10993,7 +10994,7 @@
|
|
|
10993
10994
|
protoOf(Header).d3j = get_multiselectOptionSelectedColor;
|
|
10994
10995
|
protoOf(Header).e3j = get_textScale;
|
|
10995
10996
|
protoOf(Header).f3j = get_textAlign;
|
|
10996
|
-
defineProp(protoOf(Header), 'tip', protoOf(Header).
|
|
10997
|
+
defineProp(protoOf(Header), 'tip', protoOf(Header).f46);
|
|
10997
10998
|
protoOf(Hero).y3d = get_content;
|
|
10998
10999
|
protoOf(Hero).getAnalyticsEvents = getAnalyticsEvents;
|
|
10999
11000
|
defineProp(protoOf(Hero), 'content', function () {
|
|
@@ -11005,8 +11006,8 @@
|
|
|
11005
11006
|
protoOf(Modal).d3j = get_multiselectOptionSelectedColor;
|
|
11006
11007
|
protoOf(Modal).e3j = get_textScale;
|
|
11007
11008
|
defineProp(protoOf(Modal), 'id', protoOf(Modal).o3d);
|
|
11008
|
-
defineProp(protoOf(Modal), 'dismissListeners', protoOf(Modal).
|
|
11009
|
-
defineProp(protoOf(Modal), 'listeners', protoOf(Modal).
|
|
11009
|
+
defineProp(protoOf(Modal), 'dismissListeners', protoOf(Modal).r3s);
|
|
11010
|
+
defineProp(protoOf(Modal), 'listeners', protoOf(Modal).x3v);
|
|
11010
11011
|
defineProp(protoOf(Modal), 'content', function () {
|
|
11011
11012
|
return this.y3d();
|
|
11012
11013
|
});
|
|
@@ -11022,24 +11023,24 @@
|
|
|
11022
11023
|
protoOf(Card_1).y3d = get_content;
|
|
11023
11024
|
protoOf(Card_1).getAnalyticsEvents = getAnalyticsEvents;
|
|
11024
11025
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).o3d);
|
|
11025
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
11026
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
11027
|
-
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).
|
|
11026
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).n48);
|
|
11027
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).o48);
|
|
11028
|
+
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).p3r);
|
|
11028
11029
|
defineProp(protoOf(Card_1), 'tips', protoOf(Card_1).a3e);
|
|
11029
|
-
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).
|
|
11030
|
-
defineProp(protoOf(Card_1), 'listeners', protoOf(Card_1).
|
|
11030
|
+
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).r3s);
|
|
11031
|
+
defineProp(protoOf(Card_1), 'listeners', protoOf(Card_1).x3v);
|
|
11031
11032
|
defineProp(protoOf(Card_1), 'content', function () {
|
|
11032
11033
|
return this.y3d();
|
|
11033
11034
|
});
|
|
11034
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
11035
|
-
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).
|
|
11036
|
-
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).
|
|
11037
|
-
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).
|
|
11038
|
-
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).
|
|
11039
|
-
protoOf(SaxXmlPullParser).
|
|
11035
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).p48);
|
|
11036
|
+
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).t48);
|
|
11037
|
+
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).u48);
|
|
11038
|
+
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).u40);
|
|
11039
|
+
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).v48);
|
|
11040
|
+
protoOf(SaxXmlPullParser).r45 = require$default;
|
|
11040
11041
|
protoOf(SaxXmlPullParser).j3e = getAttributeValue;
|
|
11041
11042
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
11042
|
-
return this.
|
|
11043
|
+
return this.f4a();
|
|
11043
11044
|
});
|
|
11044
11045
|
//endregion
|
|
11045
11046
|
//region block: init
|