@cruglobal/godtools-shared 1.1.3-PR783-SNAPSHOT.1710 → 1.1.3-PR790-SNAPSHOT.1717
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/antlr-kotlin-antlr-kotlin-runtime.js +3 -3
- package/kotlin-kotlin-stdlib.js +17 -17
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +520 -441
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +6 -0
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -261,13 +261,13 @@
|
|
|
261
261
|
return distinctUntilChanged(state.y1m(tmp, Visibility$isGoneFlow$lambda(this)));
|
|
262
262
|
}
|
|
263
263
|
function watchIsGone(state, block) {
|
|
264
|
-
return
|
|
264
|
+
return Companion_instance_59.w3s(this.isGoneFlow(state), block);
|
|
265
265
|
}
|
|
266
266
|
function watchIsInvisible(state, block) {
|
|
267
|
-
return
|
|
267
|
+
return Companion_instance_59.w3s(this.isInvisibleFlow(state), block);
|
|
268
268
|
}
|
|
269
269
|
function watchVisibility(state, block) {
|
|
270
|
-
var tmp =
|
|
270
|
+
var tmp = Companion_instance_59;
|
|
271
271
|
var tmp_0 = this.isInvisibleFlow(state);
|
|
272
272
|
var tmp_1 = this.isGoneFlow(state);
|
|
273
273
|
var tmp_2 = combine(tmp_0, tmp_1, Visibility$watchVisibility$slambda_0(null));
|
|
@@ -459,43 +459,45 @@
|
|
|
459
459
|
initMetadataForClass(LessonPage, 'LessonPage', VOID, Page, [Page, Parent]);
|
|
460
460
|
initMetadataForCompanion(Companion_42);
|
|
461
461
|
initMetadataForCompanion(Companion_43);
|
|
462
|
+
initMetadataForCompanion(Companion_44);
|
|
463
|
+
initMetadataForClass(Header, 'Header', VOID, BaseModel, [BaseModel, Parent]);
|
|
462
464
|
initMetadataForClass(Card_0, 'Card', VOID, BaseModel, [BaseModel, Parent, HasAnalyticsEvents]);
|
|
463
465
|
initMetadataForClass(CardCollectionPage, 'CardCollectionPage', VOID, Page);
|
|
464
|
-
initMetadataForCompanion(
|
|
466
|
+
initMetadataForCompanion(Companion_45);
|
|
465
467
|
initMetadataForClass(ContentPage, 'ContentPage', VOID, Page, [Page, Parent]);
|
|
466
468
|
initMetadataForCoroutine($parseCOROUTINE$1, CoroutineImpl);
|
|
467
|
-
initMetadataForCompanion(
|
|
469
|
+
initMetadataForCompanion(Companion_46, VOID, VOID, [4]);
|
|
468
470
|
initMetadataForCoroutine($parseCOROUTINE$2, CoroutineImpl);
|
|
469
471
|
initMetadataForLambda(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
470
|
-
initMetadataForCompanion(
|
|
472
|
+
initMetadataForCompanion(Companion_47, VOID, VOID, [4]);
|
|
471
473
|
initMetadataForClass(PageOrImport, 'PageOrImport', PageOrImport);
|
|
472
474
|
initMetadataForLambda(PageCollectionPage$buildPagesFromParsedPages$slambda, CoroutineImpl, VOID, [1]);
|
|
473
475
|
initMetadataForCoroutine($buildPagesFromParsedPagesCOROUTINE$3, CoroutineImpl);
|
|
474
476
|
initMetadataForClass(PageCollectionPage, 'PageCollectionPage', VOID, Page, [Page, HasPages], [1]);
|
|
475
|
-
initMetadataForCompanion(Companion_47);
|
|
476
|
-
initMetadataForClass(Shareable, 'Shareable', VOID, BaseModel);
|
|
477
477
|
initMetadataForCompanion(Companion_48);
|
|
478
|
-
initMetadataForClass(
|
|
478
|
+
initMetadataForClass(Shareable, 'Shareable', VOID, BaseModel);
|
|
479
479
|
initMetadataForCompanion(Companion_49);
|
|
480
|
-
initMetadataForClass(
|
|
480
|
+
initMetadataForClass(ShareableImage, 'ShareableImage', VOID, Shareable);
|
|
481
481
|
initMetadataForCompanion(Companion_50);
|
|
482
|
+
initMetadataForClass(InlineTip, 'InlineTip', VOID, Content);
|
|
483
|
+
initMetadataForCompanion(Companion_51);
|
|
482
484
|
initMetadataForClass(Type_2, 'Type', VOID, Enum);
|
|
483
485
|
initMetadataForClass(Tip, 'Tip', Tip_init_$Create$_0, BaseModel, [BaseModel, Styles]);
|
|
484
|
-
initMetadataForCompanion(Companion_51);
|
|
485
|
-
initMetadataForClass(TipPage, 'TipPage', VOID, BaseModel, [BaseModel, Parent]);
|
|
486
486
|
initMetadataForCompanion(Companion_52);
|
|
487
|
-
initMetadataForClass(
|
|
487
|
+
initMetadataForClass(TipPage, 'TipPage', VOID, BaseModel, [BaseModel, Parent]);
|
|
488
488
|
initMetadataForCompanion(Companion_53);
|
|
489
|
-
initMetadataForClass(
|
|
489
|
+
initMetadataForClass(CallToAction, 'CallToAction', createTestCallToAction, BaseModel);
|
|
490
490
|
initMetadataForCompanion(Companion_54);
|
|
491
|
-
initMetadataForClass(
|
|
491
|
+
initMetadataForClass(Header_0, 'Header', VOID, BaseModel, [BaseModel, Styles]);
|
|
492
492
|
initMetadataForCompanion(Companion_55);
|
|
493
|
-
initMetadataForClass(
|
|
493
|
+
initMetadataForClass(Hero, 'Hero', createTestHero, BaseModel, [BaseModel, Parent, HasAnalyticsEvents]);
|
|
494
494
|
initMetadataForCompanion(Companion_56);
|
|
495
|
+
initMetadataForClass(Modal, 'Modal', VOID, BaseModel, [BaseModel, Parent, Styles]);
|
|
496
|
+
initMetadataForCompanion(Companion_57);
|
|
495
497
|
initMetadataForClass(Card_1, 'Card', createTestCard, BaseModel, [BaseModel, Styles, Parent, HasAnalyticsEvents]);
|
|
496
498
|
initMetadataForClass(TractPage, 'TractPage', createTestTractPage, Page);
|
|
497
499
|
initMetadataForLambda(FlowWatcher$Companion$watchIn$slambda, CoroutineImpl, VOID, [1]);
|
|
498
|
-
initMetadataForCompanion(
|
|
500
|
+
initMetadataForCompanion(Companion_58);
|
|
499
501
|
initMetadataForClass(FlowWatcher, 'FlowWatcher');
|
|
500
502
|
initMetadataForObject(EMPTY, 'EMPTY');
|
|
501
503
|
initMetadataForClass(SetOnceProperty, 'SetOnceProperty', SetOnceProperty);
|
|
@@ -4261,7 +4263,7 @@
|
|
|
4261
4263
|
switch (tmp) {
|
|
4262
4264
|
case 0:
|
|
4263
4265
|
this.w8_1 = 3;
|
|
4264
|
-
this.j3m_1 =
|
|
4266
|
+
this.j3m_1 = Companion_getInstance_49();
|
|
4265
4267
|
this.v8_1 = 1;
|
|
4266
4268
|
suspendResult = this.g3m_1(this.h3m_1, this);
|
|
4267
4269
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -4900,7 +4902,7 @@
|
|
|
4900
4902
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
4901
4903
|
if (parser.l2() === 'items') {
|
|
4902
4904
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4903
|
-
var elements_3 =
|
|
4905
|
+
var elements_3 = Companion_instance_49.q3p(parser, $this);
|
|
4904
4906
|
addAll(shareables, elements_3);
|
|
4905
4907
|
}
|
|
4906
4908
|
}
|
|
@@ -5852,7 +5854,7 @@
|
|
|
5852
5854
|
return distinctUntilChanged(state.y1m(tmp, Multiselect$Option$isSelectedFlow$lambda(this)));
|
|
5853
5855
|
};
|
|
5854
5856
|
protoOf(Option).watchIsSelected = function (state, block) {
|
|
5855
|
-
return
|
|
5857
|
+
return Companion_instance_59.w3s(this.isSelectedFlow(state), block);
|
|
5856
5858
|
};
|
|
5857
5859
|
protoOf(Option).toggleSelected = function (state) {
|
|
5858
5860
|
var current = state.z1m(this.multiselect.o3s_1);
|
|
@@ -7462,29 +7464,87 @@
|
|
|
7462
7464
|
function LessonPage() {
|
|
7463
7465
|
}
|
|
7464
7466
|
function Companion_42() {
|
|
7465
|
-
this.n3y_1 = '
|
|
7466
|
-
this.o3y_1 = 'id';
|
|
7467
|
-
this.p3y_1 = 'content';
|
|
7467
|
+
this.n3y_1 = 'header';
|
|
7468
7468
|
}
|
|
7469
7469
|
var Companion_instance_43;
|
|
7470
7470
|
function Companion_getInstance_45() {
|
|
7471
7471
|
return Companion_instance_43;
|
|
7472
7472
|
}
|
|
7473
|
+
function Header_init_$Init$(page, parser, $this) {
|
|
7474
|
+
BaseModel.call($this, page);
|
|
7475
|
+
Header.call($this);
|
|
7476
|
+
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'header');
|
|
7477
|
+
var tmp = $this;
|
|
7478
|
+
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7479
|
+
// Inline function 'kotlin.collections.buildList' call
|
|
7480
|
+
// Inline function 'kotlin.collections.buildListInternal' call
|
|
7481
|
+
// Inline function 'kotlin.apply' call
|
|
7482
|
+
var this_0 = ArrayList_init_$Create$();
|
|
7483
|
+
parser.p3b(2, null, null);
|
|
7484
|
+
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7485
|
+
$l$loop_0: while (!(parser.l() === 3)) {
|
|
7486
|
+
if (!(parser.q3b() === 2))
|
|
7487
|
+
continue $l$loop_0;
|
|
7488
|
+
$l$block: {
|
|
7489
|
+
if (parser.q3b() === 3) {
|
|
7490
|
+
break $l$block;
|
|
7491
|
+
}
|
|
7492
|
+
var tmp0_safe_receiver = Companion_instance_12.u3b(parser, $this);
|
|
7493
|
+
var tmp_0;
|
|
7494
|
+
if (tmp0_safe_receiver == null) {
|
|
7495
|
+
tmp_0 = null;
|
|
7496
|
+
} else {
|
|
7497
|
+
// Inline function 'kotlin.takeUnless' call
|
|
7498
|
+
var tmp_1;
|
|
7499
|
+
if (!tmp0_safe_receiver.b3c()) {
|
|
7500
|
+
tmp_1 = tmp0_safe_receiver;
|
|
7501
|
+
} else {
|
|
7502
|
+
tmp_1 = null;
|
|
7503
|
+
}
|
|
7504
|
+
tmp_0 = tmp_1;
|
|
7505
|
+
}
|
|
7506
|
+
var tmp1_safe_receiver = tmp_0;
|
|
7507
|
+
if (tmp1_safe_receiver == null)
|
|
7508
|
+
null;
|
|
7509
|
+
else {
|
|
7510
|
+
// Inline function 'kotlin.let' call
|
|
7511
|
+
this_0.e(tmp1_safe_receiver);
|
|
7512
|
+
}
|
|
7513
|
+
}
|
|
7514
|
+
if (parser.q3b() === 3)
|
|
7515
|
+
continue $l$loop_0;
|
|
7516
|
+
skipTag(parser);
|
|
7517
|
+
}
|
|
7518
|
+
tmp.p3y_1 = this_0.k3();
|
|
7519
|
+
return $this;
|
|
7520
|
+
}
|
|
7521
|
+
function Header_init_$Create$(page, parser) {
|
|
7522
|
+
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
7523
|
+
}
|
|
7524
|
+
function Companion_43() {
|
|
7525
|
+
this.q3y_1 = 'card';
|
|
7526
|
+
this.r3y_1 = 'id';
|
|
7527
|
+
this.s3y_1 = 'content';
|
|
7528
|
+
}
|
|
7529
|
+
var Companion_instance_44;
|
|
7530
|
+
function Companion_getInstance_46() {
|
|
7531
|
+
return Companion_instance_44;
|
|
7532
|
+
}
|
|
7473
7533
|
function Card_init_$Init$_0(page, parser, $this) {
|
|
7474
7534
|
BaseModel.call($this, page);
|
|
7475
7535
|
Card_0.call($this);
|
|
7476
7536
|
$this.page = page;
|
|
7477
7537
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'card');
|
|
7478
|
-
$this.
|
|
7538
|
+
$this.u3y_1 = parser.e3d('id');
|
|
7479
7539
|
var tmp = $this;
|
|
7480
7540
|
var tmp0_safe_receiver = parser.e3d('background-color');
|
|
7481
|
-
tmp.
|
|
7541
|
+
tmp.v3y_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
7482
7542
|
var tmp_0 = $this;
|
|
7483
7543
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7484
|
-
tmp_0.
|
|
7544
|
+
tmp_0.w3y_1 = ArrayList_init_$Create$();
|
|
7485
7545
|
var tmp_1 = $this;
|
|
7486
7546
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7487
|
-
tmp_1.
|
|
7547
|
+
tmp_1.x3y_1 = ArrayList_init_$Create$();
|
|
7488
7548
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7489
7549
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7490
7550
|
if (!(parser.q3b() === 2))
|
|
@@ -7492,14 +7552,14 @@
|
|
|
7492
7552
|
var tmp0_subject = parser.r3b();
|
|
7493
7553
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7494
7554
|
if (parser.l2() === 'events') {
|
|
7495
|
-
var tmp0 = $this.
|
|
7555
|
+
var tmp0 = $this.w3y_1;
|
|
7496
7556
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7497
7557
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
7498
7558
|
addAll(tmp0, elements);
|
|
7499
7559
|
}
|
|
7500
7560
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7501
7561
|
if (parser.l2() === 'content') {
|
|
7502
|
-
var tmp4 = $this.
|
|
7562
|
+
var tmp4 = $this.x3y_1;
|
|
7503
7563
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7504
7564
|
// Inline function 'kotlin.collections.buildList' call
|
|
7505
7565
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7554,21 +7614,22 @@
|
|
|
7554
7614
|
function Card_init_$Create$_0(page, parser) {
|
|
7555
7615
|
return Card_init_$Init$_0(page, parser, objectCreate(protoOf(Card_0)));
|
|
7556
7616
|
}
|
|
7557
|
-
function
|
|
7558
|
-
this.
|
|
7617
|
+
function Companion_44() {
|
|
7618
|
+
this.y3y_1 = 'cardcollection';
|
|
7559
7619
|
}
|
|
7560
|
-
var
|
|
7561
|
-
function
|
|
7562
|
-
return
|
|
7620
|
+
var Companion_instance_45;
|
|
7621
|
+
function Companion_getInstance_47() {
|
|
7622
|
+
return Companion_instance_45;
|
|
7563
7623
|
}
|
|
7564
7624
|
function CardCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
7565
7625
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7566
7626
|
CardCollectionPage.call($this);
|
|
7567
7627
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7568
|
-
|
|
7628
|
+
Companion_getInstance_49().z3y(parser, 'cardcollection');
|
|
7569
7629
|
var tmp = $this;
|
|
7570
7630
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7571
|
-
tmp.
|
|
7631
|
+
tmp.s3z_1 = ArrayList_init_$Create$();
|
|
7632
|
+
var header = null;
|
|
7572
7633
|
var tmp_0 = $this;
|
|
7573
7634
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7574
7635
|
tmp_0._cards = ArrayList_init_$Create$();
|
|
@@ -7579,13 +7640,16 @@
|
|
|
7579
7640
|
var tmp0_subject = parser.r3b();
|
|
7580
7641
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7581
7642
|
if (parser.l2() === 'events') {
|
|
7582
|
-
var tmp0 = $this.
|
|
7643
|
+
var tmp0 = $this.s3z_1;
|
|
7583
7644
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7584
7645
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
7585
7646
|
addAll(tmp0, elements);
|
|
7586
7647
|
}
|
|
7587
7648
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7588
|
-
|
|
7649
|
+
var tmp2_subject = parser.l2();
|
|
7650
|
+
if (tmp2_subject === 'header')
|
|
7651
|
+
header = Header_init_$Create$($this, parser);
|
|
7652
|
+
else if (tmp2_subject === 'cards') {
|
|
7589
7653
|
var tmp2 = $this._cards;
|
|
7590
7654
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7591
7655
|
var elements_0 = parseCards($this, parser);
|
|
@@ -7596,6 +7660,7 @@
|
|
|
7596
7660
|
continue $l$loop_0;
|
|
7597
7661
|
skipTag(parser);
|
|
7598
7662
|
}
|
|
7663
|
+
$this.header = header;
|
|
7599
7664
|
return $this;
|
|
7600
7665
|
}
|
|
7601
7666
|
function CardCollectionPage_init_$Create$(container, fileName, parser) {
|
|
@@ -7619,22 +7684,27 @@
|
|
|
7619
7684
|
}
|
|
7620
7685
|
return this_0.k3();
|
|
7621
7686
|
}
|
|
7622
|
-
protoOf(
|
|
7687
|
+
protoOf(Header).l3c = function () {
|
|
7688
|
+
return this.p3y_1;
|
|
7689
|
+
};
|
|
7690
|
+
function Header() {
|
|
7691
|
+
}
|
|
7692
|
+
protoOf(Card_0).t3z = function () {
|
|
7623
7693
|
return this.page;
|
|
7624
7694
|
};
|
|
7625
7695
|
protoOf(Card_0).j3c = function () {
|
|
7626
|
-
var tmp0_elvis_lhs = this.
|
|
7696
|
+
var tmp0_elvis_lhs = this.u3y_1;
|
|
7627
7697
|
return tmp0_elvis_lhs == null ? this.page.id + '-' + this.position : tmp0_elvis_lhs;
|
|
7628
7698
|
};
|
|
7629
7699
|
protoOf(Card_0).q3u = function () {
|
|
7630
7700
|
return this.page._cards.w1(this);
|
|
7631
7701
|
};
|
|
7632
7702
|
protoOf(Card_0).j3q = function () {
|
|
7633
|
-
var tmp0_elvis_lhs = this.
|
|
7703
|
+
var tmp0_elvis_lhs = this.v3y_1;
|
|
7634
7704
|
return tmp0_elvis_lhs == null ? this.page.v3h() : tmp0_elvis_lhs;
|
|
7635
7705
|
};
|
|
7636
7706
|
protoOf(Card_0).l3c = function () {
|
|
7637
|
-
return this.
|
|
7707
|
+
return this.x3y_1;
|
|
7638
7708
|
};
|
|
7639
7709
|
protoOf(Card_0).v3c = function () {
|
|
7640
7710
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -7656,7 +7726,7 @@
|
|
|
7656
7726
|
case 0:
|
|
7657
7727
|
// Inline function 'kotlin.collections.filter' call
|
|
7658
7728
|
|
|
7659
|
-
var tmp0 = this.
|
|
7729
|
+
var tmp0 = this.w3y_1;
|
|
7660
7730
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7661
7731
|
|
|
7662
7732
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7673,7 +7743,7 @@
|
|
|
7673
7743
|
case 1:
|
|
7674
7744
|
// Inline function 'kotlin.collections.filter' call
|
|
7675
7745
|
|
|
7676
|
-
var tmp0_0 = this.
|
|
7746
|
+
var tmp0_0 = this.w3y_1;
|
|
7677
7747
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7678
7748
|
|
|
7679
7749
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -7699,12 +7769,15 @@
|
|
|
7699
7769
|
function Card_0() {
|
|
7700
7770
|
}
|
|
7701
7771
|
protoOf(CardCollectionPage).x3g = function () {
|
|
7702
|
-
return this.
|
|
7772
|
+
return this.s3z_1;
|
|
7703
7773
|
};
|
|
7704
|
-
protoOf(CardCollectionPage).
|
|
7774
|
+
protoOf(CardCollectionPage).k3c = function () {
|
|
7775
|
+
return this.header;
|
|
7776
|
+
};
|
|
7777
|
+
protoOf(CardCollectionPage).u3z = function () {
|
|
7705
7778
|
return this._cards;
|
|
7706
7779
|
};
|
|
7707
|
-
protoOf(CardCollectionPage).
|
|
7780
|
+
protoOf(CardCollectionPage).v3z = function () {
|
|
7708
7781
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7709
7782
|
var this_0 = this._cards;
|
|
7710
7783
|
return copyToArray(this_0);
|
|
@@ -7724,24 +7797,24 @@
|
|
|
7724
7797
|
DEFAULT_CONTROL_COLOR = toPlatformColor_0(Companion_getInstance_1().g1s(225 / 255.0, 225 / 255.0, 225 / 255.0, 1.0));
|
|
7725
7798
|
}
|
|
7726
7799
|
}
|
|
7727
|
-
function
|
|
7728
|
-
this.
|
|
7800
|
+
function Companion_45() {
|
|
7801
|
+
this.w3z_1 = 'content';
|
|
7729
7802
|
}
|
|
7730
|
-
var
|
|
7731
|
-
function
|
|
7732
|
-
return
|
|
7803
|
+
var Companion_instance_46;
|
|
7804
|
+
function Companion_getInstance_48() {
|
|
7805
|
+
return Companion_instance_46;
|
|
7733
7806
|
}
|
|
7734
7807
|
function ContentPage_init_$Init$(container, fileName, parser, $this) {
|
|
7735
7808
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7736
7809
|
ContentPage.call($this);
|
|
7737
7810
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7738
|
-
|
|
7811
|
+
Companion_getInstance_49().z3y(parser, 'content');
|
|
7739
7812
|
var tmp = $this;
|
|
7740
7813
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7741
|
-
tmp.
|
|
7814
|
+
tmp.p40_1 = ArrayList_init_$Create$();
|
|
7742
7815
|
var tmp_0 = $this;
|
|
7743
7816
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7744
|
-
tmp_0.
|
|
7817
|
+
tmp_0.q40_1 = ArrayList_init_$Create$();
|
|
7745
7818
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7746
7819
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7747
7820
|
if (!(parser.q3b() === 2))
|
|
@@ -7749,14 +7822,14 @@
|
|
|
7749
7822
|
var tmp0_subject = parser.r3b();
|
|
7750
7823
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7751
7824
|
if (parser.l2() === 'events') {
|
|
7752
|
-
var tmp0 = $this.
|
|
7825
|
+
var tmp0 = $this.p40_1;
|
|
7753
7826
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7754
7827
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
7755
7828
|
addAll(tmp0, elements);
|
|
7756
7829
|
}
|
|
7757
7830
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7758
7831
|
if (parser.l2() === 'content') {
|
|
7759
|
-
var tmp4 = $this.
|
|
7832
|
+
var tmp4 = $this.q40_1;
|
|
7760
7833
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7761
7834
|
// Inline function 'kotlin.collections.buildList' call
|
|
7762
7835
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7812,20 +7885,20 @@
|
|
|
7812
7885
|
return ContentPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(ContentPage)));
|
|
7813
7886
|
}
|
|
7814
7887
|
protoOf(ContentPage).x3g = function () {
|
|
7815
|
-
return this.
|
|
7888
|
+
return this.p40_1;
|
|
7816
7889
|
};
|
|
7817
7890
|
protoOf(ContentPage).l3c = function () {
|
|
7818
|
-
return this.
|
|
7891
|
+
return this.q40_1;
|
|
7819
7892
|
};
|
|
7820
7893
|
function ContentPage() {
|
|
7821
7894
|
}
|
|
7822
7895
|
function $parseCOROUTINE$1(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
7823
7896
|
CoroutineImpl.call(this, resultContinuation);
|
|
7824
|
-
this.
|
|
7825
|
-
this.
|
|
7826
|
-
this.
|
|
7827
|
-
this.
|
|
7828
|
-
this.
|
|
7897
|
+
this.z40_1 = _this__u8e3s4;
|
|
7898
|
+
this.a41_1 = container;
|
|
7899
|
+
this.b41_1 = fileName;
|
|
7900
|
+
this.c41_1 = parser;
|
|
7901
|
+
this.d41_1 = parseFile;
|
|
7829
7902
|
}
|
|
7830
7903
|
protoOf($parseCOROUTINE$1).d9 = function () {
|
|
7831
7904
|
var suspendResult = this.x8_1;
|
|
@@ -7835,35 +7908,35 @@
|
|
|
7835
7908
|
switch (tmp) {
|
|
7836
7909
|
case 0:
|
|
7837
7910
|
this.w8_1 = 3;
|
|
7838
|
-
this.
|
|
7839
|
-
this.
|
|
7840
|
-
if (this.
|
|
7841
|
-
if (!this.
|
|
7911
|
+
this.c41_1.p3b(2, null, 'page');
|
|
7912
|
+
this.e41_1 = to(this.c41_1.r3b(), this.c41_1.o3p('http://www.w3.org/2001/XMLSchema-instance', 'type'));
|
|
7913
|
+
if (this.e41_1.equals(to('https://mobile-content-api.cru.org/xmlns/page', 'page-collection'))) {
|
|
7914
|
+
if (!this.a41_1.i3k(getKClass(PageCollectionPage)))
|
|
7842
7915
|
return null;
|
|
7843
7916
|
this.v8_1 = 1;
|
|
7844
|
-
suspendResult =
|
|
7917
|
+
suspendResult = Companion_instance_48.l41(this.a41_1, this.b41_1, this.c41_1, this.d41_1, this);
|
|
7845
7918
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7846
7919
|
return suspendResult;
|
|
7847
7920
|
}
|
|
7848
7921
|
continue $sm;
|
|
7849
7922
|
} else {
|
|
7850
|
-
this.
|
|
7923
|
+
this.f41_1 = this.z40_1.g41(this.a41_1, this.b41_1, this.c41_1);
|
|
7851
7924
|
this.v8_1 = 2;
|
|
7852
7925
|
continue $sm;
|
|
7853
7926
|
}
|
|
7854
7927
|
|
|
7855
7928
|
case 1:
|
|
7856
|
-
this.
|
|
7929
|
+
this.f41_1 = suspendResult;
|
|
7857
7930
|
this.v8_1 = 2;
|
|
7858
7931
|
continue $sm;
|
|
7859
7932
|
case 2:
|
|
7860
|
-
var tmp1_safe_receiver = this.
|
|
7933
|
+
var tmp1_safe_receiver = this.f41_1;
|
|
7861
7934
|
var tmp_0;
|
|
7862
7935
|
if (tmp1_safe_receiver == null) {
|
|
7863
7936
|
tmp_0 = null;
|
|
7864
7937
|
} else {
|
|
7865
7938
|
var tmp_1;
|
|
7866
|
-
if (this.
|
|
7939
|
+
if (this.a41_1.i3k(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
7867
7940
|
tmp_1 = tmp1_safe_receiver;
|
|
7868
7941
|
} else {
|
|
7869
7942
|
tmp_1 = null;
|
|
@@ -7886,8 +7959,8 @@
|
|
|
7886
7959
|
}
|
|
7887
7960
|
while (true);
|
|
7888
7961
|
};
|
|
7889
|
-
function
|
|
7890
|
-
|
|
7962
|
+
function Companion_46() {
|
|
7963
|
+
Companion_instance_47 = this;
|
|
7891
7964
|
this.m3m_1 = 'page';
|
|
7892
7965
|
this.n3m_1 = 'parent_override_page-collection';
|
|
7893
7966
|
var tmp = this;
|
|
@@ -7896,13 +7969,13 @@
|
|
|
7896
7969
|
this.p3m_1 = Companion_getInstance_22().CENTER;
|
|
7897
7970
|
this.q3m_1 = ImageScaleType_FILL_X_getInstance();
|
|
7898
7971
|
}
|
|
7899
|
-
protoOf(
|
|
7972
|
+
protoOf(Companion_46).r3m = function (container, fileName, parser, parseFile, $completion) {
|
|
7900
7973
|
var tmp = new $parseCOROUTINE$1(this, container, fileName, parser, parseFile, $completion);
|
|
7901
7974
|
tmp.x8_1 = Unit_instance;
|
|
7902
7975
|
tmp.y8_1 = null;
|
|
7903
7976
|
return tmp.d9();
|
|
7904
7977
|
};
|
|
7905
|
-
protoOf(
|
|
7978
|
+
protoOf(Companion_46).g41 = function (container, fileName, parser) {
|
|
7906
7979
|
parser.p3b(2, null, 'page');
|
|
7907
7980
|
var tmp;
|
|
7908
7981
|
switch (parser.r3b()) {
|
|
@@ -7973,16 +8046,16 @@
|
|
|
7973
8046
|
}
|
|
7974
8047
|
return tmp_1;
|
|
7975
8048
|
};
|
|
7976
|
-
protoOf(
|
|
8049
|
+
protoOf(Companion_46).z3y = function (_this__u8e3s4, type) {
|
|
7977
8050
|
var actual = _this__u8e3s4.o3p('http://www.w3.org/2001/XMLSchema-instance', 'type');
|
|
7978
8051
|
if (!(type === actual))
|
|
7979
8052
|
throw new XmlPullParserException('expected ' + type + ' not ' + actual);
|
|
7980
8053
|
};
|
|
7981
|
-
var
|
|
7982
|
-
function
|
|
7983
|
-
if (
|
|
7984
|
-
new
|
|
7985
|
-
return
|
|
8054
|
+
var Companion_instance_47;
|
|
8055
|
+
function Companion_getInstance_49() {
|
|
8056
|
+
if (Companion_instance_47 == null)
|
|
8057
|
+
new Companion_46();
|
|
8058
|
+
return Companion_instance_47;
|
|
7986
8059
|
}
|
|
7987
8060
|
function _get_parentPageContainer__qsoup5($this) {
|
|
7988
8061
|
var parent = $this.gl();
|
|
@@ -8045,16 +8118,16 @@
|
|
|
8045
8118
|
var tmp_7 = $this;
|
|
8046
8119
|
var tmp6_safe_receiver = parser.e3d('background-color');
|
|
8047
8120
|
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
|
|
8048
|
-
tmp_7.w3x_1 = tmp7_elvis_lhs == null ?
|
|
8121
|
+
tmp_7.w3x_1 = tmp7_elvis_lhs == null ? Companion_getInstance_49().o3m_1 : tmp7_elvis_lhs;
|
|
8049
8122
|
$this.x3x_1 = parser.e3d('background-image');
|
|
8050
8123
|
var tmp_8 = $this;
|
|
8051
8124
|
var tmp8_safe_receiver = parser.e3d('background-image-align');
|
|
8052
8125
|
var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : Companion_getInstance_22().m3g(tmp8_safe_receiver);
|
|
8053
|
-
tmp_8.y3x_1 = tmp9_elvis_lhs == null ?
|
|
8126
|
+
tmp_8.y3x_1 = tmp9_elvis_lhs == null ? Companion_getInstance_49().p3m_1 : tmp9_elvis_lhs;
|
|
8054
8127
|
var tmp_9 = $this;
|
|
8055
8128
|
var tmp10_safe_receiver = parser.e3d('background-image-scale-type');
|
|
8056
8129
|
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : Companion_instance_22.w3k(tmp10_safe_receiver);
|
|
8057
|
-
tmp_9.z3x_1 = tmp11_elvis_lhs == null ?
|
|
8130
|
+
tmp_9.z3x_1 = tmp11_elvis_lhs == null ? Companion_getInstance_49().q3m_1 : tmp11_elvis_lhs;
|
|
8058
8131
|
var tmp_10 = $this;
|
|
8059
8132
|
var tmp12_safe_receiver = parser.e3d('control-color');
|
|
8060
8133
|
tmp_10.a3y_1 = tmp12_safe_receiver == null ? null : toColorOrNull(tmp12_safe_receiver);
|
|
@@ -8082,10 +8155,10 @@
|
|
|
8082
8155
|
fileName = fileName === VOID ? null : fileName;
|
|
8083
8156
|
parentPage = parentPage === VOID ? null : parentPage;
|
|
8084
8157
|
primaryColor = primaryColor === VOID ? null : primaryColor;
|
|
8085
|
-
backgroundColor = backgroundColor === VOID ?
|
|
8158
|
+
backgroundColor = backgroundColor === VOID ? Companion_getInstance_49().o3m_1 : backgroundColor;
|
|
8086
8159
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
8087
|
-
backgroundImageGravity = backgroundImageGravity === VOID ?
|
|
8088
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ?
|
|
8160
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_49().p3m_1 : backgroundImageGravity;
|
|
8161
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_49().q3m_1 : backgroundImageScaleType;
|
|
8089
8162
|
controlColor = controlColor === VOID ? null : controlColor;
|
|
8090
8163
|
cardBackgroundColor = cardBackgroundColor === VOID ? null : cardBackgroundColor;
|
|
8091
8164
|
multiselectOptionBackgroundColor = multiselectOptionBackgroundColor === VOID ? null : multiselectOptionBackgroundColor;
|
|
@@ -8321,7 +8394,7 @@
|
|
|
8321
8394
|
return copyToArray(this_0);
|
|
8322
8395
|
};
|
|
8323
8396
|
function Page() {
|
|
8324
|
-
|
|
8397
|
+
Companion_getInstance_49();
|
|
8325
8398
|
var tmp = this;
|
|
8326
8399
|
tmp.p3x_1 = lazy(Page$id$delegate$lambda(this));
|
|
8327
8400
|
var tmp_0 = this;
|
|
@@ -8339,11 +8412,11 @@
|
|
|
8339
8412
|
}
|
|
8340
8413
|
function $parseCOROUTINE$2(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
8341
8414
|
CoroutineImpl.call(this, resultContinuation);
|
|
8342
|
-
this.
|
|
8343
|
-
this.
|
|
8344
|
-
this.
|
|
8345
|
-
this.
|
|
8346
|
-
this.
|
|
8415
|
+
this.u41_1 = _this__u8e3s4;
|
|
8416
|
+
this.v41_1 = container;
|
|
8417
|
+
this.w41_1 = fileName;
|
|
8418
|
+
this.x41_1 = parser;
|
|
8419
|
+
this.y41_1 = parseFile;
|
|
8347
8420
|
}
|
|
8348
8421
|
protoOf($parseCOROUTINE$2).d9 = function () {
|
|
8349
8422
|
var suspendResult = this.x8_1;
|
|
@@ -8354,20 +8427,20 @@
|
|
|
8354
8427
|
case 0:
|
|
8355
8428
|
this.w8_1 = 2;
|
|
8356
8429
|
var tmp_0 = this;
|
|
8357
|
-
tmp_0.
|
|
8358
|
-
this.
|
|
8430
|
+
tmp_0.z41_1 = PageCollectionPage_init_$Create$(this.v41_1, this.w41_1, this.x41_1);
|
|
8431
|
+
this.a42_1 = this.z41_1;
|
|
8359
8432
|
var tmp_1 = this;
|
|
8360
|
-
tmp_1.
|
|
8361
|
-
this.
|
|
8433
|
+
tmp_1.b42_1 = this.a42_1;
|
|
8434
|
+
this.c42_1 = this.b42_1;
|
|
8362
8435
|
this.v8_1 = 1;
|
|
8363
|
-
suspendResult = buildPagesFromParsedPages(this.
|
|
8436
|
+
suspendResult = buildPagesFromParsedPages(this.c42_1, this.y41_1, this);
|
|
8364
8437
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8365
8438
|
return suspendResult;
|
|
8366
8439
|
}
|
|
8367
8440
|
|
|
8368
8441
|
continue $sm;
|
|
8369
8442
|
case 1:
|
|
8370
|
-
return this.
|
|
8443
|
+
return this.a42_1;
|
|
8371
8444
|
case 2:
|
|
8372
8445
|
throw this.y8_1;
|
|
8373
8446
|
}
|
|
@@ -8383,10 +8456,10 @@
|
|
|
8383
8456
|
while (true);
|
|
8384
8457
|
};
|
|
8385
8458
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8386
|
-
this.
|
|
8387
|
-
this.
|
|
8388
|
-
this.
|
|
8389
|
-
this.
|
|
8459
|
+
this.l42_1 = $it;
|
|
8460
|
+
this.m42_1 = this$0;
|
|
8461
|
+
this.n42_1 = $parseFile;
|
|
8462
|
+
this.o42_1 = $pageIndex$delegate;
|
|
8390
8463
|
CoroutineImpl.call(this, resultContinuation);
|
|
8391
8464
|
}
|
|
8392
8465
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).l3m = function ($this$async, $completion) {
|
|
@@ -8407,12 +8480,12 @@
|
|
|
8407
8480
|
case 0:
|
|
8408
8481
|
this.w8_1 = 3;
|
|
8409
8482
|
var tmp_0 = this;
|
|
8410
|
-
var tmp0_safe_receiver = this.
|
|
8483
|
+
var tmp0_safe_receiver = this.l42_1.v42_1;
|
|
8411
8484
|
var tmp_1;
|
|
8412
8485
|
if (tmp0_safe_receiver == null) {
|
|
8413
8486
|
tmp_1 = null;
|
|
8414
8487
|
} else {
|
|
8415
|
-
tmp_1 = buildPagesFromParsedPages$lambda(this.
|
|
8488
|
+
tmp_1 = buildPagesFromParsedPages$lambda(this.o42_1).f2(tmp0_safe_receiver);
|
|
8416
8489
|
}
|
|
8417
8490
|
|
|
8418
8491
|
var tmp1_elvis_lhs = tmp_1;
|
|
@@ -8423,20 +8496,20 @@
|
|
|
8423
8496
|
tmp_2 = tmp1_elvis_lhs;
|
|
8424
8497
|
}
|
|
8425
8498
|
|
|
8426
|
-
tmp_0.
|
|
8427
|
-
this.
|
|
8428
|
-
this.
|
|
8499
|
+
tmp_0.q42_1 = tmp_2;
|
|
8500
|
+
this.r42_1 = Companion_getInstance_49();
|
|
8501
|
+
this.s42_1 = this.l42_1.v42_1;
|
|
8429
8502
|
this.v8_1 = 1;
|
|
8430
|
-
suspendResult = this.
|
|
8503
|
+
suspendResult = this.n42_1(this.q42_1, this);
|
|
8431
8504
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8432
8505
|
return suspendResult;
|
|
8433
8506
|
}
|
|
8434
8507
|
|
|
8435
8508
|
continue $sm;
|
|
8436
8509
|
case 1:
|
|
8437
|
-
this.
|
|
8510
|
+
this.t42_1 = suspendResult;
|
|
8438
8511
|
this.v8_1 = 2;
|
|
8439
|
-
suspendResult = this.
|
|
8512
|
+
suspendResult = this.r42_1.r3m(this.m42_1, this.s42_1, this.t42_1, this.n42_1, this);
|
|
8440
8513
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8441
8514
|
return suspendResult;
|
|
8442
8515
|
}
|
|
@@ -8459,8 +8532,8 @@
|
|
|
8459
8532
|
while (true);
|
|
8460
8533
|
};
|
|
8461
8534
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).b19 = function ($this$async, completion) {
|
|
8462
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.
|
|
8463
|
-
i.
|
|
8535
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.l42_1, this.m42_1, this.n42_1, this.o42_1, completion);
|
|
8536
|
+
i.p42_1 = $this$async;
|
|
8464
8537
|
return i;
|
|
8465
8538
|
};
|
|
8466
8539
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
@@ -8471,43 +8544,43 @@
|
|
|
8471
8544
|
l.$arity = 1;
|
|
8472
8545
|
return l;
|
|
8473
8546
|
}
|
|
8474
|
-
function
|
|
8475
|
-
this.
|
|
8476
|
-
this.
|
|
8477
|
-
this.
|
|
8478
|
-
this.
|
|
8547
|
+
function Companion_47() {
|
|
8548
|
+
this.h41_1 = 'page-collection';
|
|
8549
|
+
this.i41_1 = 'pages';
|
|
8550
|
+
this.j41_1 = 'import';
|
|
8551
|
+
this.k41_1 = 'filename';
|
|
8479
8552
|
this.PARENT_PARAM_ACTIVE_PAGE = 'active-page';
|
|
8480
8553
|
}
|
|
8481
|
-
protoOf(
|
|
8482
|
-
return this.
|
|
8554
|
+
protoOf(Companion_47).w42 = function () {
|
|
8555
|
+
return this.h41_1;
|
|
8483
8556
|
};
|
|
8484
|
-
protoOf(
|
|
8557
|
+
protoOf(Companion_47).x42 = function () {
|
|
8485
8558
|
return this.PARENT_PARAM_ACTIVE_PAGE;
|
|
8486
8559
|
};
|
|
8487
|
-
protoOf(
|
|
8560
|
+
protoOf(Companion_47).l41 = function (container, fileName, parser, parseFile, $completion) {
|
|
8488
8561
|
var tmp = new $parseCOROUTINE$2(this, container, fileName, parser, parseFile, $completion);
|
|
8489
8562
|
tmp.x8_1 = Unit_instance;
|
|
8490
8563
|
tmp.y8_1 = null;
|
|
8491
8564
|
return tmp.d9();
|
|
8492
8565
|
};
|
|
8493
|
-
var
|
|
8494
|
-
function
|
|
8495
|
-
return
|
|
8566
|
+
var Companion_instance_48;
|
|
8567
|
+
function Companion_getInstance_50() {
|
|
8568
|
+
return Companion_instance_48;
|
|
8496
8569
|
}
|
|
8497
8570
|
function _set_pages__j2nojl_0($this, _set____db54di) {
|
|
8498
|
-
return $this.
|
|
8571
|
+
return $this.s43_1.n3p($this, pages$factory_1(), _set____db54di);
|
|
8499
8572
|
}
|
|
8500
8573
|
function PageCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
8501
8574
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
8502
8575
|
PageCollectionPage.call($this);
|
|
8503
8576
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
8504
|
-
|
|
8577
|
+
Companion_getInstance_49().z3y(parser, 'page-collection');
|
|
8505
8578
|
var tmp = $this;
|
|
8506
8579
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8507
|
-
tmp.
|
|
8580
|
+
tmp.q43_1 = ArrayList_init_$Create$();
|
|
8508
8581
|
var tmp_0 = $this;
|
|
8509
8582
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8510
|
-
tmp_0.
|
|
8583
|
+
tmp_0.r43_1 = ArrayList_init_$Create$();
|
|
8511
8584
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8512
8585
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
8513
8586
|
if (!(parser.q3b() === 2))
|
|
@@ -8515,14 +8588,14 @@
|
|
|
8515
8588
|
var tmp0_subject = parser.r3b();
|
|
8516
8589
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
8517
8590
|
if (parser.l2() === 'events') {
|
|
8518
|
-
var tmp0 = $this.
|
|
8591
|
+
var tmp0 = $this.q43_1;
|
|
8519
8592
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8520
8593
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
8521
8594
|
addAll(tmp0, elements);
|
|
8522
8595
|
}
|
|
8523
8596
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8524
8597
|
if (parser.l2() === 'pages') {
|
|
8525
|
-
var tmp2 = $this.
|
|
8598
|
+
var tmp2 = $this.r43_1;
|
|
8526
8599
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8527
8600
|
var elements_0 = parsePages_0($this, parser);
|
|
8528
8601
|
addAll(tmp2, elements_0);
|
|
@@ -8550,7 +8623,7 @@
|
|
|
8550
8623
|
if (_this__u8e3s4.r3b() === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8551
8624
|
var tmp1_subject = _this__u8e3s4.l2();
|
|
8552
8625
|
if (tmp1_subject === 'page') {
|
|
8553
|
-
var tmp2_safe_receiver =
|
|
8626
|
+
var tmp2_safe_receiver = Companion_getInstance_49().g41($this, null, _this__u8e3s4);
|
|
8554
8627
|
if (tmp2_safe_receiver == null)
|
|
8555
8628
|
null;
|
|
8556
8629
|
else {
|
|
@@ -8576,8 +8649,8 @@
|
|
|
8576
8649
|
function PageOrImport(page, ref) {
|
|
8577
8650
|
page = page === VOID ? null : page;
|
|
8578
8651
|
ref = ref === VOID ? null : ref;
|
|
8579
|
-
this.
|
|
8580
|
-
this.
|
|
8652
|
+
this.u42_1 = page;
|
|
8653
|
+
this.v42_1 = ref;
|
|
8581
8654
|
}
|
|
8582
8655
|
function buildPagesFromParsedPages$lambda($pageIndex$delegate) {
|
|
8583
8656
|
// Inline function 'kotlin.getValue' call
|
|
@@ -8604,19 +8677,19 @@
|
|
|
8604
8677
|
};
|
|
8605
8678
|
}
|
|
8606
8679
|
function PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8607
|
-
this.
|
|
8608
|
-
this.
|
|
8609
|
-
this.
|
|
8680
|
+
this.m44_1 = this$0;
|
|
8681
|
+
this.n44_1 = $parseFile;
|
|
8682
|
+
this.o44_1 = $pageIndex$delegate;
|
|
8610
8683
|
CoroutineImpl.call(this, resultContinuation);
|
|
8611
8684
|
}
|
|
8612
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).
|
|
8685
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).q44 = function ($this$coroutineScope, $completion) {
|
|
8613
8686
|
var tmp = this.b19($this$coroutineScope, $completion);
|
|
8614
8687
|
tmp.x8_1 = Unit_instance;
|
|
8615
8688
|
tmp.y8_1 = null;
|
|
8616
8689
|
return tmp.d9();
|
|
8617
8690
|
};
|
|
8618
8691
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).l9 = function (p1, $completion) {
|
|
8619
|
-
return this.
|
|
8692
|
+
return this.q44((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8620
8693
|
};
|
|
8621
8694
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).d9 = function () {
|
|
8622
8695
|
var suspendResult = this.x8_1;
|
|
@@ -8627,12 +8700,12 @@
|
|
|
8627
8700
|
case 0:
|
|
8628
8701
|
this.w8_1 = 2;
|
|
8629
8702
|
this.v8_1 = 1;
|
|
8630
|
-
var this_0 = this.
|
|
8703
|
+
var this_0 = this.m44_1.r43_1;
|
|
8631
8704
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8632
8705
|
var _iterator__ex2g4s = this_0.j();
|
|
8633
8706
|
while (_iterator__ex2g4s.k()) {
|
|
8634
8707
|
var item = _iterator__ex2g4s.l();
|
|
8635
|
-
var tmp0_safe_receiver = item.
|
|
8708
|
+
var tmp0_safe_receiver = item.u42_1;
|
|
8636
8709
|
var tmp_0;
|
|
8637
8710
|
if (tmp0_safe_receiver == null) {
|
|
8638
8711
|
tmp_0 = null;
|
|
@@ -8642,7 +8715,7 @@
|
|
|
8642
8715
|
var tmp1_elvis_lhs = tmp_0;
|
|
8643
8716
|
var tmp_1;
|
|
8644
8717
|
if (tmp1_elvis_lhs == null) {
|
|
8645
|
-
tmp_1 = async(this.
|
|
8718
|
+
tmp_1 = async(this.p44_1, VOID, VOID, PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0(item, this.m44_1, this.n44_1, this.o44_1, null));
|
|
8646
8719
|
} else {
|
|
8647
8720
|
tmp_1 = tmp1_elvis_lhs;
|
|
8648
8721
|
}
|
|
@@ -8673,22 +8746,22 @@
|
|
|
8673
8746
|
while (true);
|
|
8674
8747
|
};
|
|
8675
8748
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).b19 = function ($this$coroutineScope, completion) {
|
|
8676
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.
|
|
8677
|
-
i.
|
|
8749
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.m44_1, this.n44_1, this.o44_1, completion);
|
|
8750
|
+
i.p44_1 = $this$coroutineScope;
|
|
8678
8751
|
return i;
|
|
8679
8752
|
};
|
|
8680
8753
|
function PageCollectionPage$buildPagesFromParsedPages$slambda_0(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8681
8754
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8682
8755
|
var l = function ($this$coroutineScope, $completion) {
|
|
8683
|
-
return i.
|
|
8756
|
+
return i.q44($this$coroutineScope, $completion);
|
|
8684
8757
|
};
|
|
8685
8758
|
l.$arity = 1;
|
|
8686
8759
|
return l;
|
|
8687
8760
|
}
|
|
8688
8761
|
function $buildPagesFromParsedPagesCOROUTINE$3(_this__u8e3s4, parseFile, resultContinuation) {
|
|
8689
8762
|
CoroutineImpl.call(this, resultContinuation);
|
|
8690
|
-
this.
|
|
8691
|
-
this.
|
|
8763
|
+
this.b44_1 = _this__u8e3s4;
|
|
8764
|
+
this.c44_1 = parseFile;
|
|
8692
8765
|
}
|
|
8693
8766
|
protoOf($buildPagesFromParsedPagesCOROUTINE$3).d9 = function () {
|
|
8694
8767
|
var suspendResult = this.x8_1;
|
|
@@ -8699,9 +8772,9 @@
|
|
|
8699
8772
|
case 0:
|
|
8700
8773
|
this.w8_1 = 2;
|
|
8701
8774
|
var tmp_0 = this;
|
|
8702
|
-
tmp_0.
|
|
8775
|
+
tmp_0.d44_1 = lazy(PageCollectionPage$buildPagesFromParsedPages$lambda(this.b44_1));
|
|
8703
8776
|
this.v8_1 = 1;
|
|
8704
|
-
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.
|
|
8777
|
+
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.b44_1, this.c44_1, this.d44_1, null), this);
|
|
8705
8778
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8706
8779
|
return suspendResult;
|
|
8707
8780
|
}
|
|
@@ -8709,7 +8782,7 @@
|
|
|
8709
8782
|
continue $sm;
|
|
8710
8783
|
case 1:
|
|
8711
8784
|
var ARGUMENT = suspendResult;
|
|
8712
|
-
_set_pages__j2nojl_0(this.
|
|
8785
|
+
_set_pages__j2nojl_0(this.b44_1, ARGUMENT);
|
|
8713
8786
|
return Unit_instance;
|
|
8714
8787
|
case 2:
|
|
8715
8788
|
throw this.y8_1;
|
|
@@ -8726,16 +8799,16 @@
|
|
|
8726
8799
|
while (true);
|
|
8727
8800
|
};
|
|
8728
8801
|
protoOf(PageCollectionPage).x3g = function () {
|
|
8729
|
-
return this.
|
|
8802
|
+
return this.q43_1;
|
|
8730
8803
|
};
|
|
8731
8804
|
protoOf(PageCollectionPage).h3k = function () {
|
|
8732
|
-
return this.
|
|
8805
|
+
return this.s43_1.c3r(this, pages$factory_2());
|
|
8733
8806
|
};
|
|
8734
8807
|
protoOf(PageCollectionPage).i3k = function (type) {
|
|
8735
8808
|
return type.equals(getKClass(ContentPage));
|
|
8736
8809
|
};
|
|
8737
8810
|
function PageCollectionPage() {
|
|
8738
|
-
this.
|
|
8811
|
+
this.s43_1 = setOnce();
|
|
8739
8812
|
}
|
|
8740
8813
|
function pages$factory_1() {
|
|
8741
8814
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
@@ -8751,10 +8824,10 @@
|
|
|
8751
8824
|
return _set_pages__j2nojl_0(receiver, value);
|
|
8752
8825
|
});
|
|
8753
8826
|
}
|
|
8754
|
-
function
|
|
8827
|
+
function Companion_48() {
|
|
8755
8828
|
this.p3p_1 = 'items';
|
|
8756
8829
|
}
|
|
8757
|
-
protoOf(
|
|
8830
|
+
protoOf(Companion_48).q3p = function (_this__u8e3s4, manifest) {
|
|
8758
8831
|
// Inline function 'kotlin.collections.buildList' call
|
|
8759
8832
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
8760
8833
|
// Inline function 'kotlin.apply' call
|
|
@@ -8765,7 +8838,7 @@
|
|
|
8765
8838
|
if (!(_this__u8e3s4.q3b() === 2))
|
|
8766
8839
|
continue $l$loop_0;
|
|
8767
8840
|
if (_this__u8e3s4.r3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8768
|
-
var tmp1_safe_receiver =
|
|
8841
|
+
var tmp1_safe_receiver = Companion_instance_49.r44(manifest, _this__u8e3s4);
|
|
8769
8842
|
if (tmp1_safe_receiver == null)
|
|
8770
8843
|
null;
|
|
8771
8844
|
else {
|
|
@@ -8779,8 +8852,8 @@
|
|
|
8779
8852
|
}
|
|
8780
8853
|
return this_0.k3();
|
|
8781
8854
|
};
|
|
8782
|
-
protoOf(
|
|
8783
|
-
parser.
|
|
8855
|
+
protoOf(Companion_48).r44 = function (manifest, parser) {
|
|
8856
|
+
parser.s44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8784
8857
|
var tmp;
|
|
8785
8858
|
if (parser.r3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8786
8859
|
tmp = parser.l2() === 'image' ? ShareableImage_init_$Create$(manifest, parser) : null;
|
|
@@ -8789,14 +8862,14 @@
|
|
|
8789
8862
|
}
|
|
8790
8863
|
return tmp;
|
|
8791
8864
|
};
|
|
8792
|
-
var
|
|
8793
|
-
function
|
|
8794
|
-
return
|
|
8865
|
+
var Companion_instance_49;
|
|
8866
|
+
function Companion_getInstance_51() {
|
|
8867
|
+
return Companion_instance_49;
|
|
8795
8868
|
}
|
|
8796
8869
|
function Shareable_init_$Init$(parent, parser, $this) {
|
|
8797
8870
|
BaseModel.call($this, parent);
|
|
8798
8871
|
Shareable.call($this);
|
|
8799
|
-
parser.
|
|
8872
|
+
parser.s44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8800
8873
|
$this.v3p_1 = parser.e3d('id');
|
|
8801
8874
|
var tmp = $this;
|
|
8802
8875
|
var tmp0_safe_receiver = parser.e3d('order');
|
|
@@ -8809,18 +8882,18 @@
|
|
|
8809
8882
|
};
|
|
8810
8883
|
function Shareable() {
|
|
8811
8884
|
}
|
|
8812
|
-
function
|
|
8813
|
-
this.
|
|
8885
|
+
function Companion_49() {
|
|
8886
|
+
this.t44_1 = 'image';
|
|
8814
8887
|
}
|
|
8815
|
-
var
|
|
8816
|
-
function
|
|
8817
|
-
return
|
|
8888
|
+
var Companion_instance_50;
|
|
8889
|
+
function Companion_getInstance_52() {
|
|
8890
|
+
return Companion_instance_50;
|
|
8818
8891
|
}
|
|
8819
8892
|
function ShareableImage_init_$Init$(manifest, parser, $this) {
|
|
8820
8893
|
Shareable_init_$Init$(manifest, parser, $this);
|
|
8821
8894
|
ShareableImage.call($this);
|
|
8822
8895
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/shareable', 'image');
|
|
8823
|
-
$this.
|
|
8896
|
+
$this.x44_1 = parser.e3d('resource');
|
|
8824
8897
|
var description = null;
|
|
8825
8898
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8826
8899
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
@@ -8834,7 +8907,7 @@
|
|
|
8834
8907
|
continue $l$loop_0;
|
|
8835
8908
|
skipTag(parser);
|
|
8836
8909
|
}
|
|
8837
|
-
$this.
|
|
8910
|
+
$this.y44_1 = description;
|
|
8838
8911
|
return $this;
|
|
8839
8912
|
}
|
|
8840
8913
|
function ShareableImage_init_$Create$(manifest, parser) {
|
|
@@ -8842,16 +8915,16 @@
|
|
|
8842
8915
|
}
|
|
8843
8916
|
protoOf(ShareableImage).j3c = function () {
|
|
8844
8917
|
var tmp0_elvis_lhs = protoOf(Shareable).j3c.call(this);
|
|
8845
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8918
|
+
return tmp0_elvis_lhs == null ? this.x44_1 : tmp0_elvis_lhs;
|
|
8846
8919
|
};
|
|
8847
8920
|
function ShareableImage() {
|
|
8848
8921
|
}
|
|
8849
|
-
function
|
|
8850
|
-
this.
|
|
8922
|
+
function Companion_50() {
|
|
8923
|
+
this.z44_1 = 'tip';
|
|
8851
8924
|
}
|
|
8852
|
-
var
|
|
8853
|
-
function
|
|
8854
|
-
return
|
|
8925
|
+
var Companion_instance_51;
|
|
8926
|
+
function Companion_getInstance_53() {
|
|
8927
|
+
return Companion_instance_51;
|
|
8855
8928
|
}
|
|
8856
8929
|
function InlineTip_init_$Init$(parent, parser, $this) {
|
|
8857
8930
|
Content_init_$Init$(parent, parser, $this);
|
|
@@ -8877,7 +8950,7 @@
|
|
|
8877
8950
|
protoOf(InlineTip).j3c = function () {
|
|
8878
8951
|
return this.id;
|
|
8879
8952
|
};
|
|
8880
|
-
protoOf(InlineTip).
|
|
8953
|
+
protoOf(InlineTip).g45 = function () {
|
|
8881
8954
|
return this.s38().l3r(this.id);
|
|
8882
8955
|
};
|
|
8883
8956
|
protoOf(InlineTip).v3c = function () {
|
|
@@ -8890,11 +8963,11 @@
|
|
|
8890
8963
|
var Type_TIP_instance;
|
|
8891
8964
|
var Type_PREPARE_instance;
|
|
8892
8965
|
var Type_QUOTE_instance;
|
|
8893
|
-
function
|
|
8894
|
-
|
|
8895
|
-
this.
|
|
8966
|
+
function Companion_51() {
|
|
8967
|
+
Companion_instance_52 = this;
|
|
8968
|
+
this.h45_1 = Type_TIP_getInstance();
|
|
8896
8969
|
}
|
|
8897
|
-
protoOf(
|
|
8970
|
+
protoOf(Companion_51).y3k = function (_this__u8e3s4) {
|
|
8898
8971
|
switch (_this__u8e3s4) {
|
|
8899
8972
|
case 'tip':
|
|
8900
8973
|
return Type_TIP_getInstance();
|
|
@@ -8910,12 +8983,12 @@
|
|
|
8910
8983
|
return null;
|
|
8911
8984
|
}
|
|
8912
8985
|
};
|
|
8913
|
-
var
|
|
8914
|
-
function
|
|
8986
|
+
var Companion_instance_52;
|
|
8987
|
+
function Companion_getInstance_54() {
|
|
8915
8988
|
Type_initEntries_2();
|
|
8916
|
-
if (
|
|
8917
|
-
new
|
|
8918
|
-
return
|
|
8989
|
+
if (Companion_instance_52 == null)
|
|
8990
|
+
new Companion_51();
|
|
8991
|
+
return Companion_instance_52;
|
|
8919
8992
|
}
|
|
8920
8993
|
var Type_entriesInitialized_2;
|
|
8921
8994
|
function Type_initEntries_2() {
|
|
@@ -8927,7 +9000,7 @@
|
|
|
8927
9000
|
Type_TIP_instance = new Type_2('TIP', 2);
|
|
8928
9001
|
Type_PREPARE_instance = new Type_2('PREPARE', 3);
|
|
8929
9002
|
Type_QUOTE_instance = new Type_2('QUOTE', 4);
|
|
8930
|
-
|
|
9003
|
+
Companion_getInstance_54();
|
|
8931
9004
|
}
|
|
8932
9005
|
function Tip_init_$Init$(manifest, id, parser, $this) {
|
|
8933
9006
|
BaseModel.call($this, manifest);
|
|
@@ -8936,8 +9009,8 @@
|
|
|
8936
9009
|
$this.h3o_1 = id;
|
|
8937
9010
|
var tmp = $this;
|
|
8938
9011
|
var tmp0_safe_receiver = parser.e3d('type');
|
|
8939
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null :
|
|
8940
|
-
tmp.i3o_1 = tmp1_elvis_lhs == null ?
|
|
9012
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_54().y3k(tmp0_safe_receiver);
|
|
9013
|
+
tmp.i3o_1 = tmp1_elvis_lhs == null ? Companion_getInstance_54().h45_1 : tmp1_elvis_lhs;
|
|
8941
9014
|
var tmp_0 = $this;
|
|
8942
9015
|
// Inline function 'kotlin.collections.buildList' call
|
|
8943
9016
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -8965,7 +9038,7 @@
|
|
|
8965
9038
|
function Tip_init_$Init$_0(manifest, id, type, $this) {
|
|
8966
9039
|
manifest = manifest === VOID ? null : manifest;
|
|
8967
9040
|
id = id === VOID ? '' : id;
|
|
8968
|
-
type = type === VOID ?
|
|
9041
|
+
type = type === VOID ? Companion_getInstance_54().h45_1 : type;
|
|
8969
9042
|
BaseModel.call($this, manifest);
|
|
8970
9043
|
Tip.call($this);
|
|
8971
9044
|
$this.h3o_1 = id;
|
|
@@ -9031,19 +9104,19 @@
|
|
|
9031
9104
|
};
|
|
9032
9105
|
function Tip() {
|
|
9033
9106
|
}
|
|
9034
|
-
function
|
|
9035
|
-
this.
|
|
9107
|
+
function Companion_52() {
|
|
9108
|
+
this.i45_1 = 'page';
|
|
9036
9109
|
}
|
|
9037
|
-
var
|
|
9038
|
-
function
|
|
9039
|
-
return
|
|
9110
|
+
var Companion_instance_53;
|
|
9111
|
+
function Companion_getInstance_55() {
|
|
9112
|
+
return Companion_instance_53;
|
|
9040
9113
|
}
|
|
9041
9114
|
function TipPage_init_$Init$(tip, position, parser, $this) {
|
|
9042
9115
|
BaseModel.call($this, tip);
|
|
9043
9116
|
TipPage.call($this);
|
|
9044
9117
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/training', 'page');
|
|
9045
|
-
$this.
|
|
9046
|
-
$this.
|
|
9118
|
+
$this.k45_1 = tip;
|
|
9119
|
+
$this.l45_1 = position;
|
|
9047
9120
|
var tmp = $this;
|
|
9048
9121
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
9049
9122
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9085,31 +9158,31 @@
|
|
|
9085
9158
|
continue $l$loop_0;
|
|
9086
9159
|
skipTag(parser);
|
|
9087
9160
|
}
|
|
9088
|
-
tmp.
|
|
9161
|
+
tmp.m45_1 = this_0.k3();
|
|
9089
9162
|
return $this;
|
|
9090
9163
|
}
|
|
9091
9164
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9092
9165
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9093
9166
|
}
|
|
9094
9167
|
protoOf(TipPage).l3c = function () {
|
|
9095
|
-
return this.
|
|
9168
|
+
return this.m45_1;
|
|
9096
9169
|
};
|
|
9097
9170
|
function TipPage() {
|
|
9098
9171
|
}
|
|
9099
|
-
function
|
|
9100
|
-
this.
|
|
9172
|
+
function Companion_53() {
|
|
9173
|
+
this.n45_1 = 'call-to-action';
|
|
9101
9174
|
}
|
|
9102
|
-
var
|
|
9103
|
-
function
|
|
9104
|
-
return
|
|
9175
|
+
var Companion_instance_54;
|
|
9176
|
+
function Companion_getInstance_56() {
|
|
9177
|
+
return Companion_instance_54;
|
|
9105
9178
|
}
|
|
9106
9179
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9107
9180
|
BaseModel.call($this, parent);
|
|
9108
9181
|
CallToAction.call($this);
|
|
9109
|
-
$this.
|
|
9182
|
+
$this.p45_1 = parent;
|
|
9110
9183
|
$this.label = null;
|
|
9111
|
-
$this.
|
|
9112
|
-
$this.
|
|
9184
|
+
$this.q45_1 = null;
|
|
9185
|
+
$this.r45_1 = null;
|
|
9113
9186
|
return $this;
|
|
9114
9187
|
}
|
|
9115
9188
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9119,11 +9192,11 @@
|
|
|
9119
9192
|
BaseModel.call($this, page);
|
|
9120
9193
|
CallToAction.call($this);
|
|
9121
9194
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9122
|
-
$this.
|
|
9195
|
+
$this.p45_1 = page;
|
|
9123
9196
|
var tmp = $this;
|
|
9124
9197
|
var tmp0_safe_receiver = parser.e3d('control-color');
|
|
9125
|
-
tmp.
|
|
9126
|
-
$this.
|
|
9198
|
+
tmp.q45_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9199
|
+
$this.r45_1 = parser.o3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9127
9200
|
$this.label = parseTextChild(parser, $this, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9128
9201
|
return $this;
|
|
9129
9202
|
}
|
|
@@ -9137,11 +9210,11 @@
|
|
|
9137
9210
|
tip = tip === VOID ? null : tip;
|
|
9138
9211
|
BaseModel.call($this, page);
|
|
9139
9212
|
CallToAction.call($this);
|
|
9140
|
-
$this.
|
|
9213
|
+
$this.p45_1 = page;
|
|
9141
9214
|
var tmp = $this;
|
|
9142
9215
|
tmp.label = label == null ? null : label($this);
|
|
9143
|
-
$this.
|
|
9144
|
-
$this.
|
|
9216
|
+
$this.q45_1 = controlColor;
|
|
9217
|
+
$this.r45_1 = tip;
|
|
9145
9218
|
return $this;
|
|
9146
9219
|
}
|
|
9147
9220
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
@@ -9150,33 +9223,33 @@
|
|
|
9150
9223
|
protoOf(CallToAction).j3l = function () {
|
|
9151
9224
|
return this.label;
|
|
9152
9225
|
};
|
|
9153
|
-
protoOf(CallToAction).
|
|
9154
|
-
var tmp0_elvis_lhs = this.
|
|
9226
|
+
protoOf(CallToAction).s45 = function () {
|
|
9227
|
+
var tmp0_elvis_lhs = this.q45_1;
|
|
9155
9228
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
9156
9229
|
};
|
|
9157
|
-
protoOf(CallToAction).
|
|
9158
|
-
return this.
|
|
9230
|
+
protoOf(CallToAction).t45 = function () {
|
|
9231
|
+
return this.r45_1;
|
|
9159
9232
|
};
|
|
9160
|
-
protoOf(CallToAction).
|
|
9161
|
-
return this.s38().l3r(this.
|
|
9233
|
+
protoOf(CallToAction).g45 = function () {
|
|
9234
|
+
return this.s38().l3r(this.r45_1);
|
|
9162
9235
|
};
|
|
9163
9236
|
function CallToAction() {
|
|
9164
9237
|
}
|
|
9165
|
-
function
|
|
9166
|
-
this.
|
|
9238
|
+
function Companion_54() {
|
|
9239
|
+
this.u45_1 = 'header';
|
|
9167
9240
|
}
|
|
9168
|
-
var
|
|
9169
|
-
function
|
|
9170
|
-
return
|
|
9241
|
+
var Companion_instance_55;
|
|
9242
|
+
function Companion_getInstance_57() {
|
|
9243
|
+
return Companion_instance_55;
|
|
9171
9244
|
}
|
|
9172
|
-
function Header_init_$Init$(page, parser, $this) {
|
|
9245
|
+
function Header_init_$Init$_0(page, parser, $this) {
|
|
9173
9246
|
BaseModel.call($this, page);
|
|
9174
|
-
|
|
9247
|
+
Header_0.call($this);
|
|
9175
9248
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'header');
|
|
9176
9249
|
var tmp = $this;
|
|
9177
9250
|
var tmp0_safe_receiver = parser.e3d('background-color');
|
|
9178
|
-
tmp.
|
|
9179
|
-
$this.
|
|
9251
|
+
tmp.w45_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9252
|
+
$this.x45_1 = parser.o3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9180
9253
|
var number = null;
|
|
9181
9254
|
var title = null;
|
|
9182
9255
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9198,39 +9271,39 @@
|
|
|
9198
9271
|
$this.title = title;
|
|
9199
9272
|
return $this;
|
|
9200
9273
|
}
|
|
9201
|
-
function Header_init_$Create$(page, parser) {
|
|
9202
|
-
return Header_init_$Init$(page, parser, objectCreate(protoOf(
|
|
9274
|
+
function Header_init_$Create$_0(page, parser) {
|
|
9275
|
+
return Header_init_$Init$_0(page, parser, objectCreate(protoOf(Header_0)));
|
|
9203
9276
|
}
|
|
9204
|
-
protoOf(
|
|
9205
|
-
var tmp0_elvis_lhs = this.
|
|
9277
|
+
protoOf(Header_0).j3q = function () {
|
|
9278
|
+
var tmp0_elvis_lhs = this.w45_1;
|
|
9206
9279
|
return tmp0_elvis_lhs == null ? this.s3h() : tmp0_elvis_lhs;
|
|
9207
9280
|
};
|
|
9208
|
-
protoOf(
|
|
9281
|
+
protoOf(Header_0).q3h = function () {
|
|
9209
9282
|
return this.t3h();
|
|
9210
9283
|
};
|
|
9211
|
-
protoOf(
|
|
9284
|
+
protoOf(Header_0).ji = function () {
|
|
9212
9285
|
return this.number;
|
|
9213
9286
|
};
|
|
9214
|
-
protoOf(
|
|
9287
|
+
protoOf(Header_0).o3q = function () {
|
|
9215
9288
|
return this.title;
|
|
9216
9289
|
};
|
|
9217
|
-
protoOf(
|
|
9218
|
-
return this.
|
|
9290
|
+
protoOf(Header_0).t45 = function () {
|
|
9291
|
+
return this.x45_1;
|
|
9219
9292
|
};
|
|
9220
|
-
protoOf(
|
|
9221
|
-
return this.s38().l3r(this.
|
|
9293
|
+
protoOf(Header_0).g45 = function () {
|
|
9294
|
+
return this.s38().l3r(this.x45_1);
|
|
9222
9295
|
};
|
|
9223
|
-
function
|
|
9296
|
+
function Header_0() {
|
|
9224
9297
|
}
|
|
9225
|
-
function
|
|
9226
|
-
this.
|
|
9298
|
+
function Companion_55() {
|
|
9299
|
+
this.y45_1 = 'hero';
|
|
9227
9300
|
}
|
|
9228
|
-
var
|
|
9229
|
-
function
|
|
9230
|
-
return
|
|
9301
|
+
var Companion_instance_56;
|
|
9302
|
+
function Companion_getInstance_58() {
|
|
9303
|
+
return Companion_instance_56;
|
|
9231
9304
|
}
|
|
9232
9305
|
function _get_headingParent__2ts5bv($this) {
|
|
9233
|
-
var tmp0 = $this.
|
|
9306
|
+
var tmp0 = $this.a46_1;
|
|
9234
9307
|
// Inline function 'kotlin.getValue' call
|
|
9235
9308
|
headingParent$factory();
|
|
9236
9309
|
return tmp0.c2();
|
|
@@ -9241,7 +9314,7 @@
|
|
|
9241
9314
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'hero');
|
|
9242
9315
|
var tmp = $this;
|
|
9243
9316
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9244
|
-
tmp.
|
|
9317
|
+
tmp.c46_1 = ArrayList_init_$Create$();
|
|
9245
9318
|
var heading = null;
|
|
9246
9319
|
var tmp_0 = $this;
|
|
9247
9320
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9258,7 +9331,7 @@
|
|
|
9258
9331
|
var tmp0_subject = parser.r3b();
|
|
9259
9332
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9260
9333
|
if (parser.l2() === 'events') {
|
|
9261
|
-
var tmp0 = $this.
|
|
9334
|
+
var tmp0 = $this.c46_1;
|
|
9262
9335
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9263
9336
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
9264
9337
|
addAll(tmp0, elements);
|
|
@@ -9296,7 +9369,7 @@
|
|
|
9296
9369
|
continue $l$loop_0;
|
|
9297
9370
|
skipTag(parser);
|
|
9298
9371
|
}
|
|
9299
|
-
tmp_0.
|
|
9372
|
+
tmp_0.b46_1 = this_0.k3();
|
|
9300
9373
|
$this.heading = heading;
|
|
9301
9374
|
return $this;
|
|
9302
9375
|
}
|
|
@@ -9309,10 +9382,10 @@
|
|
|
9309
9382
|
heading = heading === VOID ? null : heading;
|
|
9310
9383
|
BaseModel.call($this, page);
|
|
9311
9384
|
Hero.call($this);
|
|
9312
|
-
$this.
|
|
9385
|
+
$this.c46_1 = analyticsEvents;
|
|
9313
9386
|
var tmp = $this;
|
|
9314
9387
|
tmp.heading = heading == null ? null : heading(_get_headingParent__2ts5bv($this));
|
|
9315
|
-
$this.
|
|
9388
|
+
$this.b46_1 = emptyList();
|
|
9316
9389
|
return $this;
|
|
9317
9390
|
}
|
|
9318
9391
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -9328,14 +9401,14 @@
|
|
|
9328
9401
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
9329
9402
|
};
|
|
9330
9403
|
}
|
|
9331
|
-
protoOf(Hero).
|
|
9404
|
+
protoOf(Hero).d46 = function () {
|
|
9332
9405
|
return this.heading;
|
|
9333
9406
|
};
|
|
9334
9407
|
protoOf(Hero).l3c = function () {
|
|
9335
|
-
return this.
|
|
9408
|
+
return this.b46_1;
|
|
9336
9409
|
};
|
|
9337
9410
|
protoOf(Hero).x3g = function () {
|
|
9338
|
-
return this.
|
|
9411
|
+
return this.c46_1;
|
|
9339
9412
|
};
|
|
9340
9413
|
protoOf(Hero).m3c = function (type) {
|
|
9341
9414
|
var tmp;
|
|
@@ -9343,7 +9416,7 @@
|
|
|
9343
9416
|
case 0:
|
|
9344
9417
|
// Inline function 'kotlin.collections.filter' call
|
|
9345
9418
|
|
|
9346
|
-
var tmp0 = this.
|
|
9419
|
+
var tmp0 = this.c46_1;
|
|
9347
9420
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9348
9421
|
|
|
9349
9422
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9360,7 +9433,7 @@
|
|
|
9360
9433
|
case 1:
|
|
9361
9434
|
// Inline function 'kotlin.collections.filter' call
|
|
9362
9435
|
|
|
9363
|
-
var tmp0_0 = this.
|
|
9436
|
+
var tmp0_0 = this.c46_1;
|
|
9364
9437
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9365
9438
|
|
|
9366
9439
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9385,19 +9458,19 @@
|
|
|
9385
9458
|
};
|
|
9386
9459
|
function Hero() {
|
|
9387
9460
|
var tmp = this;
|
|
9388
|
-
tmp.
|
|
9461
|
+
tmp.a46_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
9389
9462
|
}
|
|
9390
9463
|
function headingParent$factory() {
|
|
9391
9464
|
return getPropertyCallableRef('headingParent', 1, KProperty1, function (receiver) {
|
|
9392
9465
|
return _get_headingParent__2ts5bv(receiver);
|
|
9393
9466
|
}, null);
|
|
9394
9467
|
}
|
|
9395
|
-
function
|
|
9396
|
-
this.
|
|
9468
|
+
function Companion_56() {
|
|
9469
|
+
this.e46_1 = 'modal';
|
|
9397
9470
|
}
|
|
9398
|
-
var
|
|
9399
|
-
function
|
|
9400
|
-
return
|
|
9471
|
+
var Companion_instance_57;
|
|
9472
|
+
function Companion_getInstance_59() {
|
|
9473
|
+
return Companion_instance_57;
|
|
9401
9474
|
}
|
|
9402
9475
|
function _get_position__iahqv2($this) {
|
|
9403
9476
|
return $this.page._modals.w1($this);
|
|
@@ -9463,14 +9536,14 @@
|
|
|
9463
9536
|
continue $l$loop_0;
|
|
9464
9537
|
skipTag(parser);
|
|
9465
9538
|
}
|
|
9466
|
-
tmp_1.
|
|
9539
|
+
tmp_1.a47_1 = this_2.k3();
|
|
9467
9540
|
$this.title = title;
|
|
9468
9541
|
return $this;
|
|
9469
9542
|
}
|
|
9470
9543
|
function Modal_init_$Create$(parent, parser) {
|
|
9471
9544
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
9472
9545
|
}
|
|
9473
|
-
protoOf(Modal).
|
|
9546
|
+
protoOf(Modal).t3z = function () {
|
|
9474
9547
|
return this.page;
|
|
9475
9548
|
};
|
|
9476
9549
|
protoOf(Modal).j3c = function () {
|
|
@@ -9480,7 +9553,7 @@
|
|
|
9480
9553
|
return this.title;
|
|
9481
9554
|
};
|
|
9482
9555
|
protoOf(Modal).l3c = function () {
|
|
9483
|
-
return this.
|
|
9556
|
+
return this.a47_1;
|
|
9484
9557
|
};
|
|
9485
9558
|
protoOf(Modal).r3u = function () {
|
|
9486
9559
|
return this._listeners;
|
|
@@ -9518,22 +9591,22 @@
|
|
|
9518
9591
|
};
|
|
9519
9592
|
function Modal() {
|
|
9520
9593
|
}
|
|
9521
|
-
function
|
|
9522
|
-
|
|
9523
|
-
this.
|
|
9524
|
-
this.
|
|
9525
|
-
this.
|
|
9526
|
-
this.
|
|
9527
|
-
this.
|
|
9594
|
+
function Companion_57() {
|
|
9595
|
+
Companion_instance_58 = this;
|
|
9596
|
+
this.b47_1 = 'card';
|
|
9597
|
+
this.c47_1 = 'label';
|
|
9598
|
+
this.d47_1 = 'hidden';
|
|
9599
|
+
this.e47_1 = ImageScaleType_FILL_X_getInstance();
|
|
9600
|
+
this.f47_1 = Companion_getInstance_22().CENTER;
|
|
9528
9601
|
}
|
|
9529
|
-
var
|
|
9530
|
-
function
|
|
9531
|
-
if (
|
|
9532
|
-
new
|
|
9533
|
-
return
|
|
9602
|
+
var Companion_instance_58;
|
|
9603
|
+
function Companion_getInstance_60() {
|
|
9604
|
+
if (Companion_instance_58 == null)
|
|
9605
|
+
new Companion_57();
|
|
9606
|
+
return Companion_instance_58;
|
|
9534
9607
|
}
|
|
9535
9608
|
function _get_labelParent__664ln7($this) {
|
|
9536
|
-
var tmp0 = $this.
|
|
9609
|
+
var tmp0 = $this.m47_1;
|
|
9537
9610
|
// Inline function 'kotlin.getValue' call
|
|
9538
9611
|
labelParent$factory();
|
|
9539
9612
|
return tmp0.c2();
|
|
@@ -9560,22 +9633,22 @@
|
|
|
9560
9633
|
tmp_1._dismissListeners = toSet_0(tmp$ret$1);
|
|
9561
9634
|
var tmp_2 = $this;
|
|
9562
9635
|
var tmp2_safe_receiver = parser.e3d('background-color');
|
|
9563
|
-
tmp_2.
|
|
9564
|
-
$this.
|
|
9636
|
+
tmp_2.h47_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
9637
|
+
$this.i47_1 = parser.e3d('background-image');
|
|
9565
9638
|
var tmp_3 = $this;
|
|
9566
9639
|
var tmp3_safe_receiver = parser.e3d('background-image-align');
|
|
9567
9640
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().m3g(tmp3_safe_receiver);
|
|
9568
|
-
tmp_3.
|
|
9641
|
+
tmp_3.j47_1 = tmp4_elvis_lhs == null ? Companion_getInstance_60().f47_1 : tmp4_elvis_lhs;
|
|
9569
9642
|
var tmp_4 = $this;
|
|
9570
9643
|
var tmp5_safe_receiver = parser.e3d('background-image-scale-type');
|
|
9571
9644
|
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.w3k(tmp5_safe_receiver);
|
|
9572
|
-
tmp_4.
|
|
9645
|
+
tmp_4.k47_1 = tmp6_elvis_lhs == null ? Companion_getInstance_60().e47_1 : tmp6_elvis_lhs;
|
|
9573
9646
|
var tmp_5 = $this;
|
|
9574
9647
|
var tmp7_safe_receiver = parser.e3d('text-color');
|
|
9575
|
-
tmp_5.
|
|
9648
|
+
tmp_5.l47_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
9576
9649
|
var tmp_6 = $this;
|
|
9577
9650
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9578
|
-
tmp_6.
|
|
9651
|
+
tmp_6.o47_1 = ArrayList_init_$Create$();
|
|
9579
9652
|
var label = null;
|
|
9580
9653
|
var tmp_7 = $this;
|
|
9581
9654
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9592,7 +9665,7 @@
|
|
|
9592
9665
|
var tmp0_subject = parser.r3b();
|
|
9593
9666
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9594
9667
|
if (parser.l2() === 'events') {
|
|
9595
|
-
var tmp0 = $this.
|
|
9668
|
+
var tmp0 = $this.o47_1;
|
|
9596
9669
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9597
9670
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
9598
9671
|
addAll(tmp0, elements);
|
|
@@ -9630,7 +9703,7 @@
|
|
|
9630
9703
|
continue $l$loop_0;
|
|
9631
9704
|
skipTag(parser);
|
|
9632
9705
|
}
|
|
9633
|
-
tmp_7.
|
|
9706
|
+
tmp_7.n47_1 = this_2.k3();
|
|
9634
9707
|
$this.label = label;
|
|
9635
9708
|
return $this;
|
|
9636
9709
|
}
|
|
@@ -9642,8 +9715,8 @@
|
|
|
9642
9715
|
position = position === VOID ? 0 : position;
|
|
9643
9716
|
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9644
9717
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9645
|
-
backgroundImageGravity = backgroundImageGravity === VOID ?
|
|
9646
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ?
|
|
9718
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_60().f47_1 : backgroundImageGravity;
|
|
9719
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_60().e47_1 : backgroundImageScaleType;
|
|
9647
9720
|
isHidden = isHidden === VOID ? false : isHidden;
|
|
9648
9721
|
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9649
9722
|
label = label === VOID ? null : label;
|
|
@@ -9655,18 +9728,18 @@
|
|
|
9655
9728
|
$this.isHidden = isHidden;
|
|
9656
9729
|
$this._listeners = emptySet();
|
|
9657
9730
|
$this._dismissListeners = emptySet();
|
|
9658
|
-
$this.
|
|
9659
|
-
$this.
|
|
9660
|
-
$this.
|
|
9661
|
-
$this.
|
|
9662
|
-
$this.
|
|
9663
|
-
$this.
|
|
9731
|
+
$this.o47_1 = analyticsEvents;
|
|
9732
|
+
$this.h47_1 = backgroundColor;
|
|
9733
|
+
$this.i47_1 = backgroundImage;
|
|
9734
|
+
$this.j47_1 = backgroundImageGravity;
|
|
9735
|
+
$this.k47_1 = backgroundImageScaleType;
|
|
9736
|
+
$this.l47_1 = null;
|
|
9664
9737
|
var tmp = $this;
|
|
9665
9738
|
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9666
9739
|
var tmp_0 = $this;
|
|
9667
9740
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
9668
9741
|
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9669
|
-
tmp_0.
|
|
9742
|
+
tmp_0.n47_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9670
9743
|
return $this;
|
|
9671
9744
|
}
|
|
9672
9745
|
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
@@ -9688,7 +9761,7 @@
|
|
|
9688
9761
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'page');
|
|
9689
9762
|
var tmp = $this;
|
|
9690
9763
|
var tmp0_safe_receiver = parser.e3d('card-text-color');
|
|
9691
|
-
tmp.
|
|
9764
|
+
tmp.y46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9692
9765
|
var header = null;
|
|
9693
9766
|
var hero = null;
|
|
9694
9767
|
var tmp_0 = $this;
|
|
@@ -9705,7 +9778,7 @@
|
|
|
9705
9778
|
if (parser.r3b() === 'https://mobile-content-api.cru.org/xmlns/tract') {
|
|
9706
9779
|
switch (parser.l2()) {
|
|
9707
9780
|
case 'header':
|
|
9708
|
-
header = Header_init_$Create$($this, parser);
|
|
9781
|
+
header = Header_init_$Create$_0($this, parser);
|
|
9709
9782
|
break;
|
|
9710
9783
|
case 'hero':
|
|
9711
9784
|
hero = Hero_init_$Create$($this, parser);
|
|
@@ -9746,11 +9819,11 @@
|
|
|
9746
9819
|
function TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, $this) {
|
|
9747
9820
|
manifest = manifest === VOID ? createTestManifest() : manifest;
|
|
9748
9821
|
fileName = fileName === VOID ? null : fileName;
|
|
9749
|
-
backgroundColor = backgroundColor === VOID ?
|
|
9822
|
+
backgroundColor = backgroundColor === VOID ? Companion_getInstance_49().o3m_1 : backgroundColor;
|
|
9750
9823
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9751
9824
|
primaryColor = primaryColor === VOID ? null : primaryColor;
|
|
9752
|
-
backgroundImageGravity = backgroundImageGravity === VOID ?
|
|
9753
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ?
|
|
9825
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_49().p3m_1 : backgroundImageGravity;
|
|
9826
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_49().q3m_1 : backgroundImageScaleType;
|
|
9754
9827
|
textColor = textColor === VOID ? null : textColor;
|
|
9755
9828
|
textScale = textScale === VOID ? 1.0 : textScale;
|
|
9756
9829
|
cardBackgroundColor = cardBackgroundColor === VOID ? null : cardBackgroundColor;
|
|
@@ -9759,7 +9832,7 @@
|
|
|
9759
9832
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
9760
9833
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, VOID, VOID, textColor, textScale, $this);
|
|
9761
9834
|
TractPage.call($this);
|
|
9762
|
-
$this.
|
|
9835
|
+
$this.y46_1 = cardTextColor;
|
|
9763
9836
|
$this.header = null;
|
|
9764
9837
|
$this.hero = null;
|
|
9765
9838
|
var tmp = $this;
|
|
@@ -9775,7 +9848,7 @@
|
|
|
9775
9848
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
9776
9849
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
9777
9850
|
}
|
|
9778
|
-
protoOf(Card_1).
|
|
9851
|
+
protoOf(Card_1).t3z = function () {
|
|
9779
9852
|
return this.page;
|
|
9780
9853
|
};
|
|
9781
9854
|
protoOf(Card_1).j3c = function () {
|
|
@@ -9784,7 +9857,7 @@
|
|
|
9784
9857
|
protoOf(Card_1).q3u = function () {
|
|
9785
9858
|
return this.position;
|
|
9786
9859
|
};
|
|
9787
|
-
protoOf(Card_1).
|
|
9860
|
+
protoOf(Card_1).p47 = function () {
|
|
9788
9861
|
// Inline function 'kotlin.takeUnless' call
|
|
9789
9862
|
var this_0 = this.page.visibleCards.w1(this);
|
|
9790
9863
|
var tmp;
|
|
@@ -9795,7 +9868,7 @@
|
|
|
9795
9868
|
}
|
|
9796
9869
|
return tmp;
|
|
9797
9870
|
};
|
|
9798
|
-
protoOf(Card_1).
|
|
9871
|
+
protoOf(Card_1).q47 = function () {
|
|
9799
9872
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
9800
9873
|
};
|
|
9801
9874
|
protoOf(Card_1).l3y = function () {
|
|
@@ -9808,27 +9881,27 @@
|
|
|
9808
9881
|
return this._dismissListeners;
|
|
9809
9882
|
};
|
|
9810
9883
|
protoOf(Card_1).j3q = function () {
|
|
9811
|
-
var tmp0_elvis_lhs = this.
|
|
9884
|
+
var tmp0_elvis_lhs = this.h47_1;
|
|
9812
9885
|
return tmp0_elvis_lhs == null ? this.page.v3h() : tmp0_elvis_lhs;
|
|
9813
9886
|
};
|
|
9814
9887
|
protoOf(Card_1).k3q = function () {
|
|
9815
|
-
return getResource(this, this.
|
|
9888
|
+
return getResource(this, this.i47_1);
|
|
9816
9889
|
};
|
|
9817
9890
|
protoOf(Card_1).l3q = function () {
|
|
9818
|
-
return this.
|
|
9891
|
+
return this.j47_1;
|
|
9819
9892
|
};
|
|
9820
9893
|
protoOf(Card_1).m3q = function () {
|
|
9821
|
-
return this.
|
|
9894
|
+
return this.k47_1;
|
|
9822
9895
|
};
|
|
9823
9896
|
protoOf(Card_1).q3h = function () {
|
|
9824
|
-
var tmp0_elvis_lhs = this.
|
|
9897
|
+
var tmp0_elvis_lhs = this.l47_1;
|
|
9825
9898
|
return tmp0_elvis_lhs == null ? this.page.cardTextColor : tmp0_elvis_lhs;
|
|
9826
9899
|
};
|
|
9827
9900
|
protoOf(Card_1).j3l = function () {
|
|
9828
9901
|
return this.label;
|
|
9829
9902
|
};
|
|
9830
9903
|
protoOf(Card_1).l3c = function () {
|
|
9831
|
-
return this.
|
|
9904
|
+
return this.n47_1;
|
|
9832
9905
|
};
|
|
9833
9906
|
protoOf(Card_1).v3c = function () {
|
|
9834
9907
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -9845,7 +9918,7 @@
|
|
|
9845
9918
|
return destination;
|
|
9846
9919
|
};
|
|
9847
9920
|
protoOf(Card_1).x3g = function () {
|
|
9848
|
-
return this.
|
|
9921
|
+
return this.o47_1;
|
|
9849
9922
|
};
|
|
9850
9923
|
protoOf(Card_1).m3c = function (type) {
|
|
9851
9924
|
var tmp;
|
|
@@ -9853,7 +9926,7 @@
|
|
|
9853
9926
|
case 0:
|
|
9854
9927
|
// Inline function 'kotlin.collections.filter' call
|
|
9855
9928
|
|
|
9856
|
-
var tmp0 = this.
|
|
9929
|
+
var tmp0 = this.o47_1;
|
|
9857
9930
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9858
9931
|
|
|
9859
9932
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9870,7 +9943,7 @@
|
|
|
9870
9943
|
case 1:
|
|
9871
9944
|
// Inline function 'kotlin.collections.filter' call
|
|
9872
9945
|
|
|
9873
|
-
var tmp0_0 = this.
|
|
9946
|
+
var tmp0_0 = this.o47_1;
|
|
9874
9947
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9875
9948
|
|
|
9876
9949
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9904,9 +9977,9 @@
|
|
|
9904
9977
|
return copyToArray(this_0);
|
|
9905
9978
|
};
|
|
9906
9979
|
function Card_1() {
|
|
9907
|
-
|
|
9980
|
+
Companion_getInstance_60();
|
|
9908
9981
|
var tmp = this;
|
|
9909
|
-
tmp.
|
|
9982
|
+
tmp.m47_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
9910
9983
|
}
|
|
9911
9984
|
function parseCardsXml($this, _this__u8e3s4) {
|
|
9912
9985
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9950,22 +10023,22 @@
|
|
|
9950
10023
|
}
|
|
9951
10024
|
return this_0.k3();
|
|
9952
10025
|
}
|
|
9953
|
-
protoOf(TractPage).
|
|
10026
|
+
protoOf(TractPage).r47 = function () {
|
|
9954
10027
|
return equals(lastOrNull(this.s38().h3k()), this);
|
|
9955
10028
|
};
|
|
9956
10029
|
protoOf(TractPage).x3g = function () {
|
|
9957
|
-
return this.
|
|
10030
|
+
return this.x46_1;
|
|
9958
10031
|
};
|
|
9959
10032
|
protoOf(TractPage).k3c = function () {
|
|
9960
10033
|
return this.header;
|
|
9961
10034
|
};
|
|
9962
|
-
protoOf(TractPage).
|
|
10035
|
+
protoOf(TractPage).s47 = function () {
|
|
9963
10036
|
return this.hero;
|
|
9964
10037
|
};
|
|
9965
|
-
protoOf(TractPage).
|
|
10038
|
+
protoOf(TractPage).t47 = function () {
|
|
9966
10039
|
return this._modals;
|
|
9967
10040
|
};
|
|
9968
|
-
protoOf(TractPage).
|
|
10041
|
+
protoOf(TractPage).u47 = function () {
|
|
9969
10042
|
return this.callToAction;
|
|
9970
10043
|
};
|
|
9971
10044
|
protoOf(TractPage).findModal = function (id) {
|
|
@@ -9985,10 +10058,10 @@
|
|
|
9985
10058
|
}
|
|
9986
10059
|
return tmp$ret$1;
|
|
9987
10060
|
};
|
|
9988
|
-
protoOf(TractPage).
|
|
10061
|
+
protoOf(TractPage).u3z = function () {
|
|
9989
10062
|
return this._cards;
|
|
9990
10063
|
};
|
|
9991
|
-
protoOf(TractPage).
|
|
10064
|
+
protoOf(TractPage).v47 = function () {
|
|
9992
10065
|
// Inline function 'kotlin.collections.filter' call
|
|
9993
10066
|
var tmp0 = this._cards;
|
|
9994
10067
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -10002,22 +10075,22 @@
|
|
|
10002
10075
|
}
|
|
10003
10076
|
return destination;
|
|
10004
10077
|
};
|
|
10005
|
-
protoOf(TractPage).
|
|
10006
|
-
var tmp0_elvis_lhs = this.
|
|
10078
|
+
protoOf(TractPage).w47 = function () {
|
|
10079
|
+
var tmp0_elvis_lhs = this.y46_1;
|
|
10007
10080
|
return tmp0_elvis_lhs == null ? this.q3h() : tmp0_elvis_lhs;
|
|
10008
10081
|
};
|
|
10009
|
-
protoOf(TractPage).
|
|
10082
|
+
protoOf(TractPage).v3z = function () {
|
|
10010
10083
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10011
10084
|
var this_0 = this._cards;
|
|
10012
10085
|
return copyToArray(this_0);
|
|
10013
10086
|
};
|
|
10014
|
-
protoOf(TractPage).
|
|
10087
|
+
protoOf(TractPage).x47 = function () {
|
|
10015
10088
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10016
10089
|
var this_0 = this._modals;
|
|
10017
10090
|
return copyToArray(this_0);
|
|
10018
10091
|
};
|
|
10019
10092
|
function TractPage() {
|
|
10020
|
-
this.
|
|
10093
|
+
this.x46_1 = emptyList();
|
|
10021
10094
|
}
|
|
10022
10095
|
function labelParent$factory() {
|
|
10023
10096
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
@@ -10028,7 +10101,7 @@
|
|
|
10028
10101
|
return new FlowWatcher(launchIn(onEach(_this__u8e3s4, FlowWatcher$Companion$watchIn$slambda_0(block, null)), scope));
|
|
10029
10102
|
}
|
|
10030
10103
|
function FlowWatcher$Companion$watchIn$slambda($block, resultContinuation) {
|
|
10031
|
-
this.
|
|
10104
|
+
this.g48_1 = $block;
|
|
10032
10105
|
CoroutineImpl.call(this, resultContinuation);
|
|
10033
10106
|
}
|
|
10034
10107
|
protoOf(FlowWatcher$Companion$watchIn$slambda).m19 = function (it, $completion) {
|
|
@@ -10047,7 +10120,7 @@
|
|
|
10047
10120
|
var tmp = this.v8_1;
|
|
10048
10121
|
if (tmp === 0) {
|
|
10049
10122
|
this.w8_1 = 1;
|
|
10050
|
-
this.
|
|
10123
|
+
this.g48_1(this.h48_1);
|
|
10051
10124
|
return Unit_instance;
|
|
10052
10125
|
} else if (tmp === 1) {
|
|
10053
10126
|
throw this.y8_1;
|
|
@@ -10059,8 +10132,8 @@
|
|
|
10059
10132
|
while (true);
|
|
10060
10133
|
};
|
|
10061
10134
|
protoOf(FlowWatcher$Companion$watchIn$slambda).n19 = function (it, completion) {
|
|
10062
|
-
var i = new FlowWatcher$Companion$watchIn$slambda(this.
|
|
10063
|
-
i.
|
|
10135
|
+
var i = new FlowWatcher$Companion$watchIn$slambda(this.g48_1, completion);
|
|
10136
|
+
i.h48_1 = it;
|
|
10064
10137
|
return i;
|
|
10065
10138
|
};
|
|
10066
10139
|
function FlowWatcher$Companion$watchIn$slambda_0($block, resultContinuation) {
|
|
@@ -10071,20 +10144,20 @@
|
|
|
10071
10144
|
l.$arity = 1;
|
|
10072
10145
|
return l;
|
|
10073
10146
|
}
|
|
10074
|
-
function
|
|
10147
|
+
function Companion_58() {
|
|
10075
10148
|
}
|
|
10076
|
-
protoOf(
|
|
10149
|
+
protoOf(Companion_58).w3s = function (_this__u8e3s4, block) {
|
|
10077
10150
|
return watchIn(this, _this__u8e3s4, CoroutineScope_0(Dispatchers_getInstance().qu()), block);
|
|
10078
10151
|
};
|
|
10079
|
-
var
|
|
10080
|
-
function
|
|
10081
|
-
return
|
|
10152
|
+
var Companion_instance_59;
|
|
10153
|
+
function Companion_getInstance_61() {
|
|
10154
|
+
return Companion_instance_59;
|
|
10082
10155
|
}
|
|
10083
10156
|
function FlowWatcher(job) {
|
|
10084
|
-
this.
|
|
10157
|
+
this.i48_1 = job;
|
|
10085
10158
|
}
|
|
10086
10159
|
protoOf(FlowWatcher).close = function () {
|
|
10087
|
-
return this.
|
|
10160
|
+
return this.i48_1.vl();
|
|
10088
10161
|
};
|
|
10089
10162
|
function get_REGEX_SEQUENCE_SEPARATOR() {
|
|
10090
10163
|
_init_properties_Regex_kt__v9a4ph();
|
|
@@ -10112,31 +10185,31 @@
|
|
|
10112
10185
|
return EMPTY_instance;
|
|
10113
10186
|
}
|
|
10114
10187
|
function SetOnceProperty() {
|
|
10115
|
-
this.
|
|
10188
|
+
this.j48_1 = EMPTY_instance;
|
|
10116
10189
|
}
|
|
10117
|
-
protoOf(SetOnceProperty).
|
|
10190
|
+
protoOf(SetOnceProperty).k48 = function (thisRef, property) {
|
|
10118
10191
|
// Inline function 'kotlin.check' call
|
|
10119
|
-
if (!!(this.
|
|
10192
|
+
if (!!(this.j48_1 === EMPTY_instance)) {
|
|
10120
10193
|
var message = "Value isn't initialized";
|
|
10121
10194
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10122
10195
|
}
|
|
10123
|
-
var tmp = this.
|
|
10196
|
+
var tmp = this.j48_1;
|
|
10124
10197
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
10125
10198
|
};
|
|
10126
10199
|
protoOf(SetOnceProperty).c3r = function (thisRef, property) {
|
|
10127
|
-
return this.
|
|
10200
|
+
return this.k48(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
10128
10201
|
};
|
|
10129
|
-
protoOf(SetOnceProperty).
|
|
10202
|
+
protoOf(SetOnceProperty).l48 = function (thisRef, property, value) {
|
|
10130
10203
|
// Inline function 'kotlin.check' call
|
|
10131
|
-
if (!(this.
|
|
10204
|
+
if (!(this.j48_1 === EMPTY_instance)) {
|
|
10132
10205
|
var message = 'Value is initialized';
|
|
10133
10206
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10134
10207
|
}
|
|
10135
|
-
this.
|
|
10208
|
+
this.j48_1 = value;
|
|
10136
10209
|
};
|
|
10137
10210
|
protoOf(SetOnceProperty).n3p = function (thisRef, property, value) {
|
|
10138
10211
|
var tmp = !(thisRef == null) ? thisRef : THROW_CCE();
|
|
10139
|
-
return this.
|
|
10212
|
+
return this.l48(tmp, property, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
10140
10213
|
};
|
|
10141
10214
|
function get_hasUriScheme(_this__u8e3s4) {
|
|
10142
10215
|
return contains_1(_this__u8e3s4, _Char___init__impl__6a9atx(58));
|
|
@@ -10151,9 +10224,9 @@
|
|
|
10151
10224
|
}
|
|
10152
10225
|
function getAttributeValueInt($this, namespace, name) {
|
|
10153
10226
|
// Inline function 'kotlin.takeIf' call
|
|
10154
|
-
var this_0 = $this.
|
|
10227
|
+
var this_0 = $this.m48_1;
|
|
10155
10228
|
var tmp;
|
|
10156
|
-
if (this_0.
|
|
10229
|
+
if (this_0.p48_1 === 2) {
|
|
10157
10230
|
tmp = this_0;
|
|
10158
10231
|
} else {
|
|
10159
10232
|
tmp = null;
|
|
@@ -10166,20 +10239,20 @@
|
|
|
10166
10239
|
tmp_0 = tmp0_elvis_lhs;
|
|
10167
10240
|
}
|
|
10168
10241
|
var event = tmp_0;
|
|
10169
|
-
var tmp1_safe_receiver = event.
|
|
10242
|
+
var tmp1_safe_receiver = event.s48_1;
|
|
10170
10243
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f2(new QName(namespace, name));
|
|
10171
10244
|
}
|
|
10172
10245
|
function QName(uri, local) {
|
|
10173
10246
|
uri = uri === VOID ? null : uri;
|
|
10174
|
-
this.
|
|
10175
|
-
this.
|
|
10247
|
+
this.t48_1 = uri;
|
|
10248
|
+
this.u48_1 = local;
|
|
10176
10249
|
}
|
|
10177
10250
|
protoOf(QName).toString = function () {
|
|
10178
|
-
return 'QName(uri=' + this.
|
|
10251
|
+
return 'QName(uri=' + this.t48_1 + ', local=' + this.u48_1 + ')';
|
|
10179
10252
|
};
|
|
10180
10253
|
protoOf(QName).hashCode = function () {
|
|
10181
|
-
var result = this.
|
|
10182
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
10254
|
+
var result = this.t48_1 == null ? 0 : getStringHashCode(this.t48_1);
|
|
10255
|
+
result = imul(result, 31) + getStringHashCode(this.u48_1) | 0;
|
|
10183
10256
|
return result;
|
|
10184
10257
|
};
|
|
10185
10258
|
protoOf(QName).equals = function (other) {
|
|
@@ -10188,9 +10261,9 @@
|
|
|
10188
10261
|
if (!(other instanceof QName))
|
|
10189
10262
|
return false;
|
|
10190
10263
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
10191
|
-
if (!(this.
|
|
10264
|
+
if (!(this.t48_1 == tmp0_other_with_cast.t48_1))
|
|
10192
10265
|
return false;
|
|
10193
|
-
if (!(this.
|
|
10266
|
+
if (!(this.u48_1 === tmp0_other_with_cast.u48_1))
|
|
10194
10267
|
return false;
|
|
10195
10268
|
return true;
|
|
10196
10269
|
};
|
|
@@ -10198,51 +10271,51 @@
|
|
|
10198
10271
|
qname = qname === VOID ? null : qname;
|
|
10199
10272
|
content = content === VOID ? null : content;
|
|
10200
10273
|
attrs = attrs === VOID ? null : attrs;
|
|
10201
|
-
this.
|
|
10202
|
-
this.
|
|
10203
|
-
this.
|
|
10204
|
-
this.
|
|
10274
|
+
this.p48_1 = type;
|
|
10275
|
+
this.q48_1 = qname;
|
|
10276
|
+
this.r48_1 = content;
|
|
10277
|
+
this.s48_1 = attrs;
|
|
10205
10278
|
}
|
|
10206
10279
|
function enqueueEvent($this, event) {
|
|
10207
10280
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
10208
|
-
var this_0 = $this.
|
|
10281
|
+
var this_0 = $this.o48_1;
|
|
10209
10282
|
if (charSequenceLength(this_0) > 0) {
|
|
10210
|
-
var tmp1 = $this.
|
|
10283
|
+
var tmp1 = $this.n48_1;
|
|
10211
10284
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10212
|
-
var element = new ParserEvent(4, VOID, $this.
|
|
10285
|
+
var element = new ParserEvent(4, VOID, $this.o48_1.toString());
|
|
10213
10286
|
tmp1.e(element);
|
|
10214
|
-
$this.
|
|
10287
|
+
$this.o48_1.nb();
|
|
10215
10288
|
}
|
|
10216
10289
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10217
|
-
$this.
|
|
10290
|
+
$this.n48_1.e(event);
|
|
10218
10291
|
}
|
|
10219
10292
|
function SaxXmlPullParser() {
|
|
10220
|
-
this.
|
|
10293
|
+
this.m48_1 = new ParserEvent(0);
|
|
10221
10294
|
var tmp = this;
|
|
10222
10295
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10223
|
-
tmp.
|
|
10224
|
-
this.
|
|
10296
|
+
tmp.n48_1 = ArrayList_init_$Create$();
|
|
10297
|
+
this.o48_1 = StringBuilder_init_$Create$();
|
|
10225
10298
|
}
|
|
10226
10299
|
protoOf(SaxXmlPullParser).q3b = function () {
|
|
10227
|
-
return this.
|
|
10300
|
+
return this.m48_1.p48_1;
|
|
10228
10301
|
};
|
|
10229
10302
|
protoOf(SaxXmlPullParser).r3b = function () {
|
|
10230
|
-
var tmp0_safe_receiver = this.
|
|
10231
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10303
|
+
var tmp0_safe_receiver = this.m48_1.q48_1;
|
|
10304
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t48_1;
|
|
10232
10305
|
};
|
|
10233
10306
|
protoOf(SaxXmlPullParser).l2 = function () {
|
|
10234
|
-
var tmp0_safe_receiver = this.
|
|
10235
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10307
|
+
var tmp0_safe_receiver = this.m48_1.q48_1;
|
|
10308
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u48_1;
|
|
10236
10309
|
};
|
|
10237
10310
|
protoOf(SaxXmlPullParser).p3b = function (type, namespace, name) {
|
|
10238
10311
|
// Inline function 'kotlin.with' call
|
|
10239
|
-
var $this$with = this.
|
|
10240
|
-
if (!($this$with.
|
|
10312
|
+
var $this$with = this.m48_1;
|
|
10313
|
+
if (!($this$with.p48_1 === type))
|
|
10241
10314
|
throw new XmlPullParserException('expected ' + type);
|
|
10242
10315
|
var tmp;
|
|
10243
10316
|
if (!(namespace == null)) {
|
|
10244
|
-
var tmp0_safe_receiver = $this$with.
|
|
10245
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10317
|
+
var tmp0_safe_receiver = $this$with.q48_1;
|
|
10318
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t48_1));
|
|
10246
10319
|
} else {
|
|
10247
10320
|
tmp = false;
|
|
10248
10321
|
}
|
|
@@ -10250,8 +10323,8 @@
|
|
|
10250
10323
|
throw new XmlPullParserException('expected ' + namespace);
|
|
10251
10324
|
var tmp_0;
|
|
10252
10325
|
if (!(name == null)) {
|
|
10253
|
-
var tmp1_safe_receiver = $this$with.
|
|
10254
|
-
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
10326
|
+
var tmp1_safe_receiver = $this$with.q48_1;
|
|
10327
|
+
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u48_1) == name);
|
|
10255
10328
|
} else {
|
|
10256
10329
|
tmp_0 = false;
|
|
10257
10330
|
}
|
|
@@ -10261,15 +10334,15 @@
|
|
|
10261
10334
|
};
|
|
10262
10335
|
protoOf(SaxXmlPullParser).l = function () {
|
|
10263
10336
|
// Inline function 'kotlin.also' call
|
|
10264
|
-
var this_0 = removeFirst(this.
|
|
10265
|
-
this.
|
|
10266
|
-
return this_0.
|
|
10337
|
+
var this_0 = removeFirst(this.n48_1);
|
|
10338
|
+
this.m48_1 = this_0;
|
|
10339
|
+
return this_0.p48_1;
|
|
10267
10340
|
};
|
|
10268
10341
|
protoOf(SaxXmlPullParser).h39 = function () {
|
|
10269
10342
|
var tmp;
|
|
10270
10343
|
if (this.l() === 4) {
|
|
10271
10344
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
10272
|
-
var this_0 = this.
|
|
10345
|
+
var this_0 = this.m48_1.r48_1;
|
|
10273
10346
|
tmp = this_0 == null || isBlank(this_0);
|
|
10274
10347
|
} else {
|
|
10275
10348
|
tmp = false;
|
|
@@ -10277,20 +10350,20 @@
|
|
|
10277
10350
|
if (tmp) {
|
|
10278
10351
|
this.l();
|
|
10279
10352
|
}
|
|
10280
|
-
var event = this.
|
|
10281
|
-
if (!(event.
|
|
10282
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
10353
|
+
var event = this.m48_1;
|
|
10354
|
+
if (!(event.p48_1 === 2) && !(event.p48_1 === 3)) {
|
|
10355
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.p48_1);
|
|
10283
10356
|
}
|
|
10284
|
-
return event.
|
|
10357
|
+
return event.p48_1;
|
|
10285
10358
|
};
|
|
10286
10359
|
protoOf(SaxXmlPullParser).c3v = function () {
|
|
10287
|
-
this.
|
|
10360
|
+
this.s44(2);
|
|
10288
10361
|
var tmp;
|
|
10289
10362
|
switch (this.l()) {
|
|
10290
10363
|
case 4:
|
|
10291
10364
|
// Inline function 'kotlin.text.orEmpty' call
|
|
10292
10365
|
|
|
10293
|
-
var tmp0_elvis_lhs = this.
|
|
10366
|
+
var tmp0_elvis_lhs = this.m48_1.r48_1;
|
|
10294
10367
|
// Inline function 'kotlin.also' call
|
|
10295
10368
|
|
|
10296
10369
|
var this_0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
@@ -10316,13 +10389,13 @@
|
|
|
10316
10389
|
protoOf(SaxXmlPullParser).o3p = function (namespace, name) {
|
|
10317
10390
|
return getAttributeValueInt(this, namespace, name);
|
|
10318
10391
|
};
|
|
10319
|
-
protoOf(SaxXmlPullParser).
|
|
10392
|
+
protoOf(SaxXmlPullParser).v48 = function (qname, attrs) {
|
|
10320
10393
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
10321
10394
|
};
|
|
10322
|
-
protoOf(SaxXmlPullParser).
|
|
10323
|
-
this.
|
|
10395
|
+
protoOf(SaxXmlPullParser).w48 = function (text) {
|
|
10396
|
+
this.o48_1.g8(text);
|
|
10324
10397
|
};
|
|
10325
|
-
protoOf(SaxXmlPullParser).
|
|
10398
|
+
protoOf(SaxXmlPullParser).x48 = function (qname) {
|
|
10326
10399
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
10327
10400
|
};
|
|
10328
10401
|
function XmlPullParser() {
|
|
@@ -10369,26 +10442,26 @@
|
|
|
10369
10442
|
}
|
|
10370
10443
|
var SAX_OPTIONS;
|
|
10371
10444
|
function InternalSAXParser($outer) {
|
|
10372
|
-
this.
|
|
10445
|
+
this.y48_1 = $outer;
|
|
10373
10446
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
10374
10447
|
}
|
|
10375
|
-
protoOf(InternalSAXParser).
|
|
10376
|
-
return this.
|
|
10448
|
+
protoOf(InternalSAXParser).z48 = function (tag) {
|
|
10449
|
+
return this.y48_1.v48(new QName(tag.uri, tag.local), convert(this.y48_1, tag.attributes));
|
|
10377
10450
|
};
|
|
10378
10451
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
10379
|
-
return this.
|
|
10452
|
+
return this.z48(tag);
|
|
10380
10453
|
};
|
|
10381
|
-
protoOf(InternalSAXParser).
|
|
10382
|
-
return this.
|
|
10454
|
+
protoOf(InternalSAXParser).a49 = function (tagName) {
|
|
10455
|
+
return this.y48_1.x48(new QName(VOID, tagName));
|
|
10383
10456
|
};
|
|
10384
10457
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
10385
|
-
return this.
|
|
10458
|
+
return this.a49(tagName);
|
|
10386
10459
|
};
|
|
10387
|
-
protoOf(InternalSAXParser).
|
|
10388
|
-
return this.
|
|
10460
|
+
protoOf(InternalSAXParser).b49 = function (t) {
|
|
10461
|
+
return this.y48_1.w48(t);
|
|
10389
10462
|
};
|
|
10390
10463
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
10391
|
-
return this.
|
|
10464
|
+
return this.b49(t);
|
|
10392
10465
|
};
|
|
10393
10466
|
function convert($this, _this__u8e3s4) {
|
|
10394
10467
|
var tmp = Object.values;
|
|
@@ -10432,13 +10505,13 @@
|
|
|
10432
10505
|
var this_0 = new InternalSAXParser(this);
|
|
10433
10506
|
this_0.write(xml);
|
|
10434
10507
|
this_0.close();
|
|
10435
|
-
tmp.
|
|
10508
|
+
tmp.f49_1 = this_0;
|
|
10436
10509
|
}
|
|
10437
10510
|
function SAX_OPTIONS$1() {
|
|
10438
|
-
this.
|
|
10511
|
+
this.g49_1 = true;
|
|
10439
10512
|
}
|
|
10440
|
-
protoOf(SAX_OPTIONS$1).
|
|
10441
|
-
return this.
|
|
10513
|
+
protoOf(SAX_OPTIONS$1).h49 = function () {
|
|
10514
|
+
return this.g49_1;
|
|
10442
10515
|
};
|
|
10443
10516
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
10444
10517
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -10449,8 +10522,8 @@
|
|
|
10449
10522
|
}
|
|
10450
10523
|
function $getXmlParserCOROUTINE$4(_this__u8e3s4, fileName, resultContinuation) {
|
|
10451
10524
|
CoroutineImpl.call(this, resultContinuation);
|
|
10452
|
-
this.
|
|
10453
|
-
this.
|
|
10525
|
+
this.q49_1 = _this__u8e3s4;
|
|
10526
|
+
this.r49_1 = fileName;
|
|
10454
10527
|
}
|
|
10455
10528
|
protoOf($getXmlParserCOROUTINE$4).d9 = function () {
|
|
10456
10529
|
var suspendResult = this.x8_1;
|
|
@@ -10461,7 +10534,7 @@
|
|
|
10461
10534
|
case 0:
|
|
10462
10535
|
this.w8_1 = 2;
|
|
10463
10536
|
this.v8_1 = 1;
|
|
10464
|
-
suspendResult = await_0(this.
|
|
10537
|
+
suspendResult = await_0(this.q49_1.readFile(this.r49_1), this);
|
|
10465
10538
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10466
10539
|
return suspendResult;
|
|
10467
10540
|
}
|
|
@@ -10494,14 +10567,14 @@
|
|
|
10494
10567
|
function JsXmlPullParserFactory() {
|
|
10495
10568
|
XmlPullParserFactory.call(this);
|
|
10496
10569
|
}
|
|
10497
|
-
protoOf(JsXmlPullParserFactory).
|
|
10570
|
+
protoOf(JsXmlPullParserFactory).s49 = function (fileName, $completion) {
|
|
10498
10571
|
var tmp = new $getXmlParserCOROUTINE$4(this, fileName, $completion);
|
|
10499
10572
|
tmp.x8_1 = Unit_instance;
|
|
10500
10573
|
tmp.y8_1 = null;
|
|
10501
10574
|
return tmp.d9();
|
|
10502
10575
|
};
|
|
10503
10576
|
protoOf(JsXmlPullParserFactory).g39 = function (fileName, $completion) {
|
|
10504
|
-
return this.
|
|
10577
|
+
return this.s49(fileName, $completion);
|
|
10505
10578
|
};
|
|
10506
10579
|
function XmlPullParserException(s) {
|
|
10507
10580
|
Exception_init_$Init$(s, this);
|
|
@@ -10730,6 +10803,10 @@
|
|
|
10730
10803
|
defineProp(protoOf(LessonPage), 'content', function () {
|
|
10731
10804
|
return this.t3c();
|
|
10732
10805
|
});
|
|
10806
|
+
protoOf(Header).t3c = get_content;
|
|
10807
|
+
defineProp(protoOf(Header), 'content', function () {
|
|
10808
|
+
return this.t3c();
|
|
10809
|
+
});
|
|
10733
10810
|
protoOf(Card_0).t3c = get_content;
|
|
10734
10811
|
protoOf(Card_0).getAnalyticsEvents = getAnalyticsEvents;
|
|
10735
10812
|
defineProp(protoOf(Card_0), 'id', protoOf(Card_0).j3c);
|
|
@@ -10737,7 +10814,7 @@
|
|
|
10737
10814
|
defineProp(protoOf(Card_0), 'content', function () {
|
|
10738
10815
|
return this.t3c();
|
|
10739
10816
|
});
|
|
10740
|
-
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).
|
|
10817
|
+
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).v3z);
|
|
10741
10818
|
protoOf(ContentPage).t3c = get_content;
|
|
10742
10819
|
defineProp(protoOf(ContentPage), 'content', function () {
|
|
10743
10820
|
return this.t3c();
|
|
@@ -10750,7 +10827,7 @@
|
|
|
10750
10827
|
defineProp(protoOf(PageCollectionPage), 'pages', function () {
|
|
10751
10828
|
return this.j3k();
|
|
10752
10829
|
});
|
|
10753
|
-
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).
|
|
10830
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).g45);
|
|
10754
10831
|
protoOf(Tip).u3h = get_buttonStyle;
|
|
10755
10832
|
protoOf(Tip).s3g = get_buttonColor;
|
|
10756
10833
|
protoOf(Tip).v3h = get_cardBackgroundColor;
|
|
@@ -10762,17 +10839,17 @@
|
|
|
10762
10839
|
defineProp(protoOf(TipPage), 'content', function () {
|
|
10763
10840
|
return this.t3c();
|
|
10764
10841
|
});
|
|
10765
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
10766
|
-
protoOf(
|
|
10767
|
-
protoOf(
|
|
10768
|
-
protoOf(
|
|
10769
|
-
protoOf(
|
|
10770
|
-
protoOf(
|
|
10771
|
-
protoOf(
|
|
10772
|
-
protoOf(
|
|
10773
|
-
protoOf(
|
|
10774
|
-
protoOf(
|
|
10775
|
-
defineProp(protoOf(
|
|
10842
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).g45);
|
|
10843
|
+
protoOf(Header_0).s3h = get_primaryColor;
|
|
10844
|
+
protoOf(Header_0).t3h = get_primaryTextColor;
|
|
10845
|
+
protoOf(Header_0).u3h = get_buttonStyle;
|
|
10846
|
+
protoOf(Header_0).s3g = get_buttonColor;
|
|
10847
|
+
protoOf(Header_0).v3h = get_cardBackgroundColor;
|
|
10848
|
+
protoOf(Header_0).w3h = get_multiselectOptionBackgroundColor;
|
|
10849
|
+
protoOf(Header_0).x3h = get_multiselectOptionSelectedColor;
|
|
10850
|
+
protoOf(Header_0).y3h = get_textScale;
|
|
10851
|
+
protoOf(Header_0).z3h = get_textAlign;
|
|
10852
|
+
defineProp(protoOf(Header_0), 'tip', protoOf(Header_0).g45);
|
|
10776
10853
|
protoOf(Hero).t3c = get_content;
|
|
10777
10854
|
protoOf(Hero).getAnalyticsEvents = getAnalyticsEvents;
|
|
10778
10855
|
defineProp(protoOf(Hero), 'content', function () {
|
|
@@ -10801,8 +10878,8 @@
|
|
|
10801
10878
|
protoOf(Card_1).t3c = get_content;
|
|
10802
10879
|
protoOf(Card_1).getAnalyticsEvents = getAnalyticsEvents;
|
|
10803
10880
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).j3c);
|
|
10804
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
10805
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
10881
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).p47);
|
|
10882
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).q47);
|
|
10806
10883
|
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).k3q);
|
|
10807
10884
|
defineProp(protoOf(Card_1), 'tips', protoOf(Card_1).v3c);
|
|
10808
10885
|
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).m3r);
|
|
@@ -10810,14 +10887,14 @@
|
|
|
10810
10887
|
defineProp(protoOf(Card_1), 'content', function () {
|
|
10811
10888
|
return this.t3c();
|
|
10812
10889
|
});
|
|
10813
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
10814
|
-
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).
|
|
10815
|
-
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).
|
|
10816
|
-
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).
|
|
10817
|
-
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).
|
|
10818
|
-
protoOf(SaxXmlPullParser).
|
|
10890
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).r47);
|
|
10891
|
+
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).v47);
|
|
10892
|
+
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).w47);
|
|
10893
|
+
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).v3z);
|
|
10894
|
+
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).x47);
|
|
10895
|
+
protoOf(SaxXmlPullParser).s44 = require$default;
|
|
10819
10896
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
10820
|
-
return this.
|
|
10897
|
+
return this.h49();
|
|
10821
10898
|
});
|
|
10822
10899
|
//endregion
|
|
10823
10900
|
//region block: init
|
|
@@ -10851,16 +10928,17 @@
|
|
|
10851
10928
|
Companion_instance_43 = new Companion_42();
|
|
10852
10929
|
Companion_instance_44 = new Companion_43();
|
|
10853
10930
|
Companion_instance_45 = new Companion_44();
|
|
10854
|
-
|
|
10931
|
+
Companion_instance_46 = new Companion_45();
|
|
10855
10932
|
Companion_instance_48 = new Companion_47();
|
|
10856
10933
|
Companion_instance_49 = new Companion_48();
|
|
10857
10934
|
Companion_instance_50 = new Companion_49();
|
|
10858
|
-
|
|
10935
|
+
Companion_instance_51 = new Companion_50();
|
|
10859
10936
|
Companion_instance_53 = new Companion_52();
|
|
10860
10937
|
Companion_instance_54 = new Companion_53();
|
|
10861
10938
|
Companion_instance_55 = new Companion_54();
|
|
10862
10939
|
Companion_instance_56 = new Companion_55();
|
|
10863
|
-
|
|
10940
|
+
Companion_instance_57 = new Companion_56();
|
|
10941
|
+
Companion_instance_59 = new Companion_58();
|
|
10864
10942
|
EMPTY_instance = new EMPTY();
|
|
10865
10943
|
//endregion
|
|
10866
10944
|
//region block: exports
|
|
@@ -11209,6 +11287,7 @@
|
|
|
11209
11287
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11210
11288
|
var $org$cru$godtools$shared$tool$parser$model$page = $org$cru$godtools$shared$tool$parser$model.page || ($org$cru$godtools$shared$tool$parser$model.page = {});
|
|
11211
11289
|
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage = CardCollectionPage;
|
|
11290
|
+
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage.Header = Header;
|
|
11212
11291
|
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage.Card = Card_0;
|
|
11213
11292
|
var $org = _.org || (_.org = {});
|
|
11214
11293
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
@@ -11237,7 +11316,7 @@
|
|
|
11237
11316
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11238
11317
|
var $org$cru$godtools$shared$tool$parser$model$page = $org$cru$godtools$shared$tool$parser$model.page || ($org$cru$godtools$shared$tool$parser$model.page = {});
|
|
11239
11318
|
$org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage = PageCollectionPage;
|
|
11240
|
-
defineProp($org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage, 'Companion',
|
|
11319
|
+
defineProp($org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage, 'Companion', Companion_getInstance_50);
|
|
11241
11320
|
var $org = _.org || (_.org = {});
|
|
11242
11321
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
11243
11322
|
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
@@ -11266,7 +11345,7 @@
|
|
|
11266
11345
|
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11267
11346
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11268
11347
|
var $org$cru$godtools$shared$tool$parser$model$tract = $org$cru$godtools$shared$tool$parser$model.tract || ($org$cru$godtools$shared$tool$parser$model.tract = {});
|
|
11269
|
-
$org$cru$godtools$shared$tool$parser$model$tract.Header =
|
|
11348
|
+
$org$cru$godtools$shared$tool$parser$model$tract.Header = Header_0;
|
|
11270
11349
|
var $org = _.org || (_.org = {});
|
|
11271
11350
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
11272
11351
|
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|