@cruglobal/godtools-shared 1.1.3-PR790-SNAPSHOT.1717 → 1.1.3-PR790-SNAPSHOT.1718
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin-kotlin-stdlib.js +12 -12
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +331 -314
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
initMetadataForCompanion(Companion_42);
|
|
461
461
|
initMetadataForCompanion(Companion_43);
|
|
462
462
|
initMetadataForCompanion(Companion_44);
|
|
463
|
-
initMetadataForClass(Header, 'Header', VOID, BaseModel, [BaseModel, Parent]);
|
|
463
|
+
initMetadataForClass(Header, 'Header', VOID, BaseModel, [BaseModel, Parent, Styles]);
|
|
464
464
|
initMetadataForClass(Card_0, 'Card', VOID, BaseModel, [BaseModel, Parent, HasAnalyticsEvents]);
|
|
465
465
|
initMetadataForClass(CardCollectionPage, 'CardCollectionPage', VOID, Page);
|
|
466
466
|
initMetadataForCompanion(Companion_45);
|
|
@@ -7464,10 +7464,14 @@
|
|
|
7464
7464
|
function LessonPage() {
|
|
7465
7465
|
}
|
|
7466
7466
|
function Companion_42() {
|
|
7467
|
+
Companion_instance_43 = this;
|
|
7467
7468
|
this.n3y_1 = 'header';
|
|
7469
|
+
this.o3y_1 = Align_CENTER_getInstance();
|
|
7468
7470
|
}
|
|
7469
7471
|
var Companion_instance_43;
|
|
7470
7472
|
function Companion_getInstance_45() {
|
|
7473
|
+
if (Companion_instance_43 == null)
|
|
7474
|
+
new Companion_42();
|
|
7471
7475
|
return Companion_instance_43;
|
|
7472
7476
|
}
|
|
7473
7477
|
function Header_init_$Init$(page, parser, $this) {
|
|
@@ -7515,16 +7519,16 @@
|
|
|
7515
7519
|
continue $l$loop_0;
|
|
7516
7520
|
skipTag(parser);
|
|
7517
7521
|
}
|
|
7518
|
-
tmp.
|
|
7522
|
+
tmp.r3y_1 = this_0.k3();
|
|
7519
7523
|
return $this;
|
|
7520
7524
|
}
|
|
7521
7525
|
function Header_init_$Create$(page, parser) {
|
|
7522
7526
|
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
7523
7527
|
}
|
|
7524
7528
|
function Companion_43() {
|
|
7525
|
-
this.
|
|
7526
|
-
this.
|
|
7527
|
-
this.
|
|
7529
|
+
this.s3y_1 = 'card';
|
|
7530
|
+
this.t3y_1 = 'id';
|
|
7531
|
+
this.u3y_1 = 'content';
|
|
7528
7532
|
}
|
|
7529
7533
|
var Companion_instance_44;
|
|
7530
7534
|
function Companion_getInstance_46() {
|
|
@@ -7535,16 +7539,16 @@
|
|
|
7535
7539
|
Card_0.call($this);
|
|
7536
7540
|
$this.page = page;
|
|
7537
7541
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'card');
|
|
7538
|
-
$this.
|
|
7542
|
+
$this.w3y_1 = parser.e3d('id');
|
|
7539
7543
|
var tmp = $this;
|
|
7540
7544
|
var tmp0_safe_receiver = parser.e3d('background-color');
|
|
7541
|
-
tmp.
|
|
7545
|
+
tmp.x3y_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
7542
7546
|
var tmp_0 = $this;
|
|
7543
7547
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7544
|
-
tmp_0.
|
|
7548
|
+
tmp_0.y3y_1 = ArrayList_init_$Create$();
|
|
7545
7549
|
var tmp_1 = $this;
|
|
7546
7550
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7547
|
-
tmp_1.
|
|
7551
|
+
tmp_1.z3y_1 = ArrayList_init_$Create$();
|
|
7548
7552
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7549
7553
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7550
7554
|
if (!(parser.q3b() === 2))
|
|
@@ -7552,14 +7556,14 @@
|
|
|
7552
7556
|
var tmp0_subject = parser.r3b();
|
|
7553
7557
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7554
7558
|
if (parser.l2() === 'events') {
|
|
7555
|
-
var tmp0 = $this.
|
|
7559
|
+
var tmp0 = $this.y3y_1;
|
|
7556
7560
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7557
7561
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
7558
7562
|
addAll(tmp0, elements);
|
|
7559
7563
|
}
|
|
7560
7564
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7561
7565
|
if (parser.l2() === 'content') {
|
|
7562
|
-
var tmp4 = $this.
|
|
7566
|
+
var tmp4 = $this.z3y_1;
|
|
7563
7567
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7564
7568
|
// Inline function 'kotlin.collections.buildList' call
|
|
7565
7569
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7615,7 +7619,7 @@
|
|
|
7615
7619
|
return Card_init_$Init$_0(page, parser, objectCreate(protoOf(Card_0)));
|
|
7616
7620
|
}
|
|
7617
7621
|
function Companion_44() {
|
|
7618
|
-
this.
|
|
7622
|
+
this.a3z_1 = 'cardcollection';
|
|
7619
7623
|
}
|
|
7620
7624
|
var Companion_instance_45;
|
|
7621
7625
|
function Companion_getInstance_47() {
|
|
@@ -7625,10 +7629,10 @@
|
|
|
7625
7629
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7626
7630
|
CardCollectionPage.call($this);
|
|
7627
7631
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7628
|
-
Companion_getInstance_49().
|
|
7632
|
+
Companion_getInstance_49().b3z(parser, 'cardcollection');
|
|
7629
7633
|
var tmp = $this;
|
|
7630
7634
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7631
|
-
tmp.
|
|
7635
|
+
tmp.u3z_1 = ArrayList_init_$Create$();
|
|
7632
7636
|
var header = null;
|
|
7633
7637
|
var tmp_0 = $this;
|
|
7634
7638
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -7640,7 +7644,7 @@
|
|
|
7640
7644
|
var tmp0_subject = parser.r3b();
|
|
7641
7645
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7642
7646
|
if (parser.l2() === 'events') {
|
|
7643
|
-
var tmp0 = $this.
|
|
7647
|
+
var tmp0 = $this.u3z_1;
|
|
7644
7648
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7645
7649
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
7646
7650
|
addAll(tmp0, elements);
|
|
@@ -7684,27 +7688,32 @@
|
|
|
7684
7688
|
}
|
|
7685
7689
|
return this_0.k3();
|
|
7686
7690
|
}
|
|
7691
|
+
protoOf(Header).z3h = function () {
|
|
7692
|
+
return this.q3y_1;
|
|
7693
|
+
};
|
|
7687
7694
|
protoOf(Header).l3c = function () {
|
|
7688
|
-
return this.
|
|
7695
|
+
return this.r3y_1;
|
|
7689
7696
|
};
|
|
7690
7697
|
function Header() {
|
|
7698
|
+
Companion_getInstance_45();
|
|
7699
|
+
this.q3y_1 = Companion_getInstance_45().o3y_1;
|
|
7691
7700
|
}
|
|
7692
|
-
protoOf(Card_0).
|
|
7701
|
+
protoOf(Card_0).v3z = function () {
|
|
7693
7702
|
return this.page;
|
|
7694
7703
|
};
|
|
7695
7704
|
protoOf(Card_0).j3c = function () {
|
|
7696
|
-
var tmp0_elvis_lhs = this.
|
|
7705
|
+
var tmp0_elvis_lhs = this.w3y_1;
|
|
7697
7706
|
return tmp0_elvis_lhs == null ? this.page.id + '-' + this.position : tmp0_elvis_lhs;
|
|
7698
7707
|
};
|
|
7699
7708
|
protoOf(Card_0).q3u = function () {
|
|
7700
7709
|
return this.page._cards.w1(this);
|
|
7701
7710
|
};
|
|
7702
7711
|
protoOf(Card_0).j3q = function () {
|
|
7703
|
-
var tmp0_elvis_lhs = this.
|
|
7712
|
+
var tmp0_elvis_lhs = this.x3y_1;
|
|
7704
7713
|
return tmp0_elvis_lhs == null ? this.page.v3h() : tmp0_elvis_lhs;
|
|
7705
7714
|
};
|
|
7706
7715
|
protoOf(Card_0).l3c = function () {
|
|
7707
|
-
return this.
|
|
7716
|
+
return this.z3y_1;
|
|
7708
7717
|
};
|
|
7709
7718
|
protoOf(Card_0).v3c = function () {
|
|
7710
7719
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -7726,7 +7735,7 @@
|
|
|
7726
7735
|
case 0:
|
|
7727
7736
|
// Inline function 'kotlin.collections.filter' call
|
|
7728
7737
|
|
|
7729
|
-
var tmp0 = this.
|
|
7738
|
+
var tmp0 = this.y3y_1;
|
|
7730
7739
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7731
7740
|
|
|
7732
7741
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7743,7 +7752,7 @@
|
|
|
7743
7752
|
case 1:
|
|
7744
7753
|
// Inline function 'kotlin.collections.filter' call
|
|
7745
7754
|
|
|
7746
|
-
var tmp0_0 = this.
|
|
7755
|
+
var tmp0_0 = this.y3y_1;
|
|
7747
7756
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7748
7757
|
|
|
7749
7758
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -7769,15 +7778,15 @@
|
|
|
7769
7778
|
function Card_0() {
|
|
7770
7779
|
}
|
|
7771
7780
|
protoOf(CardCollectionPage).x3g = function () {
|
|
7772
|
-
return this.
|
|
7781
|
+
return this.u3z_1;
|
|
7773
7782
|
};
|
|
7774
7783
|
protoOf(CardCollectionPage).k3c = function () {
|
|
7775
7784
|
return this.header;
|
|
7776
7785
|
};
|
|
7777
|
-
protoOf(CardCollectionPage).
|
|
7786
|
+
protoOf(CardCollectionPage).w3z = function () {
|
|
7778
7787
|
return this._cards;
|
|
7779
7788
|
};
|
|
7780
|
-
protoOf(CardCollectionPage).
|
|
7789
|
+
protoOf(CardCollectionPage).x3z = function () {
|
|
7781
7790
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7782
7791
|
var this_0 = this._cards;
|
|
7783
7792
|
return copyToArray(this_0);
|
|
@@ -7798,7 +7807,7 @@
|
|
|
7798
7807
|
}
|
|
7799
7808
|
}
|
|
7800
7809
|
function Companion_45() {
|
|
7801
|
-
this.
|
|
7810
|
+
this.y3z_1 = 'content';
|
|
7802
7811
|
}
|
|
7803
7812
|
var Companion_instance_46;
|
|
7804
7813
|
function Companion_getInstance_48() {
|
|
@@ -7808,13 +7817,13 @@
|
|
|
7808
7817
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7809
7818
|
ContentPage.call($this);
|
|
7810
7819
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7811
|
-
Companion_getInstance_49().
|
|
7820
|
+
Companion_getInstance_49().b3z(parser, 'content');
|
|
7812
7821
|
var tmp = $this;
|
|
7813
7822
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7814
|
-
tmp.
|
|
7823
|
+
tmp.r40_1 = ArrayList_init_$Create$();
|
|
7815
7824
|
var tmp_0 = $this;
|
|
7816
7825
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7817
|
-
tmp_0.
|
|
7826
|
+
tmp_0.s40_1 = ArrayList_init_$Create$();
|
|
7818
7827
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7819
7828
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7820
7829
|
if (!(parser.q3b() === 2))
|
|
@@ -7822,14 +7831,14 @@
|
|
|
7822
7831
|
var tmp0_subject = parser.r3b();
|
|
7823
7832
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7824
7833
|
if (parser.l2() === 'events') {
|
|
7825
|
-
var tmp0 = $this.
|
|
7834
|
+
var tmp0 = $this.r40_1;
|
|
7826
7835
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7827
7836
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
7828
7837
|
addAll(tmp0, elements);
|
|
7829
7838
|
}
|
|
7830
7839
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7831
7840
|
if (parser.l2() === 'content') {
|
|
7832
|
-
var tmp4 = $this.
|
|
7841
|
+
var tmp4 = $this.s40_1;
|
|
7833
7842
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7834
7843
|
// Inline function 'kotlin.collections.buildList' call
|
|
7835
7844
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7885,20 +7894,20 @@
|
|
|
7885
7894
|
return ContentPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(ContentPage)));
|
|
7886
7895
|
}
|
|
7887
7896
|
protoOf(ContentPage).x3g = function () {
|
|
7888
|
-
return this.
|
|
7897
|
+
return this.r40_1;
|
|
7889
7898
|
};
|
|
7890
7899
|
protoOf(ContentPage).l3c = function () {
|
|
7891
|
-
return this.
|
|
7900
|
+
return this.s40_1;
|
|
7892
7901
|
};
|
|
7893
7902
|
function ContentPage() {
|
|
7894
7903
|
}
|
|
7895
7904
|
function $parseCOROUTINE$1(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
7896
7905
|
CoroutineImpl.call(this, resultContinuation);
|
|
7897
|
-
this.
|
|
7898
|
-
this.
|
|
7899
|
-
this.
|
|
7900
|
-
this.
|
|
7901
|
-
this.
|
|
7906
|
+
this.b41_1 = _this__u8e3s4;
|
|
7907
|
+
this.c41_1 = container;
|
|
7908
|
+
this.d41_1 = fileName;
|
|
7909
|
+
this.e41_1 = parser;
|
|
7910
|
+
this.f41_1 = parseFile;
|
|
7902
7911
|
}
|
|
7903
7912
|
protoOf($parseCOROUTINE$1).d9 = function () {
|
|
7904
7913
|
var suspendResult = this.x8_1;
|
|
@@ -7908,35 +7917,35 @@
|
|
|
7908
7917
|
switch (tmp) {
|
|
7909
7918
|
case 0:
|
|
7910
7919
|
this.w8_1 = 3;
|
|
7911
|
-
this.
|
|
7912
|
-
this.
|
|
7913
|
-
if (this.
|
|
7914
|
-
if (!this.
|
|
7920
|
+
this.e41_1.p3b(2, null, 'page');
|
|
7921
|
+
this.g41_1 = to(this.e41_1.r3b(), this.e41_1.o3p('http://www.w3.org/2001/XMLSchema-instance', 'type'));
|
|
7922
|
+
if (this.g41_1.equals(to('https://mobile-content-api.cru.org/xmlns/page', 'page-collection'))) {
|
|
7923
|
+
if (!this.c41_1.i3k(getKClass(PageCollectionPage)))
|
|
7915
7924
|
return null;
|
|
7916
7925
|
this.v8_1 = 1;
|
|
7917
|
-
suspendResult = Companion_instance_48.
|
|
7926
|
+
suspendResult = Companion_instance_48.n41(this.c41_1, this.d41_1, this.e41_1, this.f41_1, this);
|
|
7918
7927
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7919
7928
|
return suspendResult;
|
|
7920
7929
|
}
|
|
7921
7930
|
continue $sm;
|
|
7922
7931
|
} else {
|
|
7923
|
-
this.
|
|
7932
|
+
this.h41_1 = this.b41_1.i41(this.c41_1, this.d41_1, this.e41_1);
|
|
7924
7933
|
this.v8_1 = 2;
|
|
7925
7934
|
continue $sm;
|
|
7926
7935
|
}
|
|
7927
7936
|
|
|
7928
7937
|
case 1:
|
|
7929
|
-
this.
|
|
7938
|
+
this.h41_1 = suspendResult;
|
|
7930
7939
|
this.v8_1 = 2;
|
|
7931
7940
|
continue $sm;
|
|
7932
7941
|
case 2:
|
|
7933
|
-
var tmp1_safe_receiver = this.
|
|
7942
|
+
var tmp1_safe_receiver = this.h41_1;
|
|
7934
7943
|
var tmp_0;
|
|
7935
7944
|
if (tmp1_safe_receiver == null) {
|
|
7936
7945
|
tmp_0 = null;
|
|
7937
7946
|
} else {
|
|
7938
7947
|
var tmp_1;
|
|
7939
|
-
if (this.
|
|
7948
|
+
if (this.c41_1.i3k(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
7940
7949
|
tmp_1 = tmp1_safe_receiver;
|
|
7941
7950
|
} else {
|
|
7942
7951
|
tmp_1 = null;
|
|
@@ -7975,7 +7984,7 @@
|
|
|
7975
7984
|
tmp.y8_1 = null;
|
|
7976
7985
|
return tmp.d9();
|
|
7977
7986
|
};
|
|
7978
|
-
protoOf(Companion_46).
|
|
7987
|
+
protoOf(Companion_46).i41 = function (container, fileName, parser) {
|
|
7979
7988
|
parser.p3b(2, null, 'page');
|
|
7980
7989
|
var tmp;
|
|
7981
7990
|
switch (parser.r3b()) {
|
|
@@ -8046,7 +8055,7 @@
|
|
|
8046
8055
|
}
|
|
8047
8056
|
return tmp_1;
|
|
8048
8057
|
};
|
|
8049
|
-
protoOf(Companion_46).
|
|
8058
|
+
protoOf(Companion_46).b3z = function (_this__u8e3s4, type) {
|
|
8050
8059
|
var actual = _this__u8e3s4.o3p('http://www.w3.org/2001/XMLSchema-instance', 'type');
|
|
8051
8060
|
if (!(type === actual))
|
|
8052
8061
|
throw new XmlPullParserException('expected ' + type + ' not ' + actual);
|
|
@@ -8412,11 +8421,11 @@
|
|
|
8412
8421
|
}
|
|
8413
8422
|
function $parseCOROUTINE$2(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
8414
8423
|
CoroutineImpl.call(this, resultContinuation);
|
|
8415
|
-
this.
|
|
8416
|
-
this.
|
|
8417
|
-
this.
|
|
8418
|
-
this.
|
|
8419
|
-
this.
|
|
8424
|
+
this.w41_1 = _this__u8e3s4;
|
|
8425
|
+
this.x41_1 = container;
|
|
8426
|
+
this.y41_1 = fileName;
|
|
8427
|
+
this.z41_1 = parser;
|
|
8428
|
+
this.a42_1 = parseFile;
|
|
8420
8429
|
}
|
|
8421
8430
|
protoOf($parseCOROUTINE$2).d9 = function () {
|
|
8422
8431
|
var suspendResult = this.x8_1;
|
|
@@ -8427,20 +8436,20 @@
|
|
|
8427
8436
|
case 0:
|
|
8428
8437
|
this.w8_1 = 2;
|
|
8429
8438
|
var tmp_0 = this;
|
|
8430
|
-
tmp_0.
|
|
8431
|
-
this.a42_1 = this.z41_1;
|
|
8432
|
-
var tmp_1 = this;
|
|
8433
|
-
tmp_1.b42_1 = this.a42_1;
|
|
8439
|
+
tmp_0.b42_1 = PageCollectionPage_init_$Create$(this.x41_1, this.y41_1, this.z41_1);
|
|
8434
8440
|
this.c42_1 = this.b42_1;
|
|
8441
|
+
var tmp_1 = this;
|
|
8442
|
+
tmp_1.d42_1 = this.c42_1;
|
|
8443
|
+
this.e42_1 = this.d42_1;
|
|
8435
8444
|
this.v8_1 = 1;
|
|
8436
|
-
suspendResult = buildPagesFromParsedPages(this.
|
|
8445
|
+
suspendResult = buildPagesFromParsedPages(this.e42_1, this.a42_1, this);
|
|
8437
8446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8438
8447
|
return suspendResult;
|
|
8439
8448
|
}
|
|
8440
8449
|
|
|
8441
8450
|
continue $sm;
|
|
8442
8451
|
case 1:
|
|
8443
|
-
return this.
|
|
8452
|
+
return this.c42_1;
|
|
8444
8453
|
case 2:
|
|
8445
8454
|
throw this.y8_1;
|
|
8446
8455
|
}
|
|
@@ -8456,10 +8465,10 @@
|
|
|
8456
8465
|
while (true);
|
|
8457
8466
|
};
|
|
8458
8467
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8459
|
-
this.
|
|
8460
|
-
this.
|
|
8461
|
-
this.
|
|
8462
|
-
this.
|
|
8468
|
+
this.n42_1 = $it;
|
|
8469
|
+
this.o42_1 = this$0;
|
|
8470
|
+
this.p42_1 = $parseFile;
|
|
8471
|
+
this.q42_1 = $pageIndex$delegate;
|
|
8463
8472
|
CoroutineImpl.call(this, resultContinuation);
|
|
8464
8473
|
}
|
|
8465
8474
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).l3m = function ($this$async, $completion) {
|
|
@@ -8480,12 +8489,12 @@
|
|
|
8480
8489
|
case 0:
|
|
8481
8490
|
this.w8_1 = 3;
|
|
8482
8491
|
var tmp_0 = this;
|
|
8483
|
-
var tmp0_safe_receiver = this.
|
|
8492
|
+
var tmp0_safe_receiver = this.n42_1.x42_1;
|
|
8484
8493
|
var tmp_1;
|
|
8485
8494
|
if (tmp0_safe_receiver == null) {
|
|
8486
8495
|
tmp_1 = null;
|
|
8487
8496
|
} else {
|
|
8488
|
-
tmp_1 = buildPagesFromParsedPages$lambda(this.
|
|
8497
|
+
tmp_1 = buildPagesFromParsedPages$lambda(this.q42_1).f2(tmp0_safe_receiver);
|
|
8489
8498
|
}
|
|
8490
8499
|
|
|
8491
8500
|
var tmp1_elvis_lhs = tmp_1;
|
|
@@ -8496,20 +8505,20 @@
|
|
|
8496
8505
|
tmp_2 = tmp1_elvis_lhs;
|
|
8497
8506
|
}
|
|
8498
8507
|
|
|
8499
|
-
tmp_0.
|
|
8500
|
-
this.
|
|
8501
|
-
this.
|
|
8508
|
+
tmp_0.s42_1 = tmp_2;
|
|
8509
|
+
this.t42_1 = Companion_getInstance_49();
|
|
8510
|
+
this.u42_1 = this.n42_1.x42_1;
|
|
8502
8511
|
this.v8_1 = 1;
|
|
8503
|
-
suspendResult = this.
|
|
8512
|
+
suspendResult = this.p42_1(this.s42_1, this);
|
|
8504
8513
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8505
8514
|
return suspendResult;
|
|
8506
8515
|
}
|
|
8507
8516
|
|
|
8508
8517
|
continue $sm;
|
|
8509
8518
|
case 1:
|
|
8510
|
-
this.
|
|
8519
|
+
this.v42_1 = suspendResult;
|
|
8511
8520
|
this.v8_1 = 2;
|
|
8512
|
-
suspendResult = this.
|
|
8521
|
+
suspendResult = this.t42_1.r3m(this.o42_1, this.u42_1, this.v42_1, this.p42_1, this);
|
|
8513
8522
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8514
8523
|
return suspendResult;
|
|
8515
8524
|
}
|
|
@@ -8532,8 +8541,8 @@
|
|
|
8532
8541
|
while (true);
|
|
8533
8542
|
};
|
|
8534
8543
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).b19 = function ($this$async, completion) {
|
|
8535
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.
|
|
8536
|
-
i.
|
|
8544
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.n42_1, this.o42_1, this.p42_1, this.q42_1, completion);
|
|
8545
|
+
i.r42_1 = $this$async;
|
|
8537
8546
|
return i;
|
|
8538
8547
|
};
|
|
8539
8548
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
@@ -8545,19 +8554,19 @@
|
|
|
8545
8554
|
return l;
|
|
8546
8555
|
}
|
|
8547
8556
|
function Companion_47() {
|
|
8548
|
-
this.
|
|
8549
|
-
this.
|
|
8550
|
-
this.
|
|
8551
|
-
this.
|
|
8557
|
+
this.j41_1 = 'page-collection';
|
|
8558
|
+
this.k41_1 = 'pages';
|
|
8559
|
+
this.l41_1 = 'import';
|
|
8560
|
+
this.m41_1 = 'filename';
|
|
8552
8561
|
this.PARENT_PARAM_ACTIVE_PAGE = 'active-page';
|
|
8553
8562
|
}
|
|
8554
|
-
protoOf(Companion_47).
|
|
8555
|
-
return this.
|
|
8563
|
+
protoOf(Companion_47).y42 = function () {
|
|
8564
|
+
return this.j41_1;
|
|
8556
8565
|
};
|
|
8557
|
-
protoOf(Companion_47).
|
|
8566
|
+
protoOf(Companion_47).z42 = function () {
|
|
8558
8567
|
return this.PARENT_PARAM_ACTIVE_PAGE;
|
|
8559
8568
|
};
|
|
8560
|
-
protoOf(Companion_47).
|
|
8569
|
+
protoOf(Companion_47).n41 = function (container, fileName, parser, parseFile, $completion) {
|
|
8561
8570
|
var tmp = new $parseCOROUTINE$2(this, container, fileName, parser, parseFile, $completion);
|
|
8562
8571
|
tmp.x8_1 = Unit_instance;
|
|
8563
8572
|
tmp.y8_1 = null;
|
|
@@ -8568,19 +8577,19 @@
|
|
|
8568
8577
|
return Companion_instance_48;
|
|
8569
8578
|
}
|
|
8570
8579
|
function _set_pages__j2nojl_0($this, _set____db54di) {
|
|
8571
|
-
return $this.
|
|
8580
|
+
return $this.u43_1.n3p($this, pages$factory_1(), _set____db54di);
|
|
8572
8581
|
}
|
|
8573
8582
|
function PageCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
8574
8583
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
8575
8584
|
PageCollectionPage.call($this);
|
|
8576
8585
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
8577
|
-
Companion_getInstance_49().
|
|
8586
|
+
Companion_getInstance_49().b3z(parser, 'page-collection');
|
|
8578
8587
|
var tmp = $this;
|
|
8579
8588
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8580
|
-
tmp.
|
|
8589
|
+
tmp.s43_1 = ArrayList_init_$Create$();
|
|
8581
8590
|
var tmp_0 = $this;
|
|
8582
8591
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8583
|
-
tmp_0.
|
|
8592
|
+
tmp_0.t43_1 = ArrayList_init_$Create$();
|
|
8584
8593
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8585
8594
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
8586
8595
|
if (!(parser.q3b() === 2))
|
|
@@ -8588,14 +8597,14 @@
|
|
|
8588
8597
|
var tmp0_subject = parser.r3b();
|
|
8589
8598
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
8590
8599
|
if (parser.l2() === 'events') {
|
|
8591
|
-
var tmp0 = $this.
|
|
8600
|
+
var tmp0 = $this.s43_1;
|
|
8592
8601
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8593
8602
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
8594
8603
|
addAll(tmp0, elements);
|
|
8595
8604
|
}
|
|
8596
8605
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8597
8606
|
if (parser.l2() === 'pages') {
|
|
8598
|
-
var tmp2 = $this.
|
|
8607
|
+
var tmp2 = $this.t43_1;
|
|
8599
8608
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8600
8609
|
var elements_0 = parsePages_0($this, parser);
|
|
8601
8610
|
addAll(tmp2, elements_0);
|
|
@@ -8623,7 +8632,7 @@
|
|
|
8623
8632
|
if (_this__u8e3s4.r3b() === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8624
8633
|
var tmp1_subject = _this__u8e3s4.l2();
|
|
8625
8634
|
if (tmp1_subject === 'page') {
|
|
8626
|
-
var tmp2_safe_receiver = Companion_getInstance_49().
|
|
8635
|
+
var tmp2_safe_receiver = Companion_getInstance_49().i41($this, null, _this__u8e3s4);
|
|
8627
8636
|
if (tmp2_safe_receiver == null)
|
|
8628
8637
|
null;
|
|
8629
8638
|
else {
|
|
@@ -8649,8 +8658,8 @@
|
|
|
8649
8658
|
function PageOrImport(page, ref) {
|
|
8650
8659
|
page = page === VOID ? null : page;
|
|
8651
8660
|
ref = ref === VOID ? null : ref;
|
|
8652
|
-
this.
|
|
8653
|
-
this.
|
|
8661
|
+
this.w42_1 = page;
|
|
8662
|
+
this.x42_1 = ref;
|
|
8654
8663
|
}
|
|
8655
8664
|
function buildPagesFromParsedPages$lambda($pageIndex$delegate) {
|
|
8656
8665
|
// Inline function 'kotlin.getValue' call
|
|
@@ -8677,19 +8686,19 @@
|
|
|
8677
8686
|
};
|
|
8678
8687
|
}
|
|
8679
8688
|
function PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8680
|
-
this.
|
|
8681
|
-
this.
|
|
8682
|
-
this.
|
|
8689
|
+
this.o44_1 = this$0;
|
|
8690
|
+
this.p44_1 = $parseFile;
|
|
8691
|
+
this.q44_1 = $pageIndex$delegate;
|
|
8683
8692
|
CoroutineImpl.call(this, resultContinuation);
|
|
8684
8693
|
}
|
|
8685
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).
|
|
8694
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).s44 = function ($this$coroutineScope, $completion) {
|
|
8686
8695
|
var tmp = this.b19($this$coroutineScope, $completion);
|
|
8687
8696
|
tmp.x8_1 = Unit_instance;
|
|
8688
8697
|
tmp.y8_1 = null;
|
|
8689
8698
|
return tmp.d9();
|
|
8690
8699
|
};
|
|
8691
8700
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).l9 = function (p1, $completion) {
|
|
8692
|
-
return this.
|
|
8701
|
+
return this.s44((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8693
8702
|
};
|
|
8694
8703
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).d9 = function () {
|
|
8695
8704
|
var suspendResult = this.x8_1;
|
|
@@ -8700,12 +8709,12 @@
|
|
|
8700
8709
|
case 0:
|
|
8701
8710
|
this.w8_1 = 2;
|
|
8702
8711
|
this.v8_1 = 1;
|
|
8703
|
-
var this_0 = this.
|
|
8712
|
+
var this_0 = this.o44_1.t43_1;
|
|
8704
8713
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8705
8714
|
var _iterator__ex2g4s = this_0.j();
|
|
8706
8715
|
while (_iterator__ex2g4s.k()) {
|
|
8707
8716
|
var item = _iterator__ex2g4s.l();
|
|
8708
|
-
var tmp0_safe_receiver = item.
|
|
8717
|
+
var tmp0_safe_receiver = item.w42_1;
|
|
8709
8718
|
var tmp_0;
|
|
8710
8719
|
if (tmp0_safe_receiver == null) {
|
|
8711
8720
|
tmp_0 = null;
|
|
@@ -8715,7 +8724,7 @@
|
|
|
8715
8724
|
var tmp1_elvis_lhs = tmp_0;
|
|
8716
8725
|
var tmp_1;
|
|
8717
8726
|
if (tmp1_elvis_lhs == null) {
|
|
8718
|
-
tmp_1 = async(this.
|
|
8727
|
+
tmp_1 = async(this.r44_1, VOID, VOID, PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0(item, this.o44_1, this.p44_1, this.q44_1, null));
|
|
8719
8728
|
} else {
|
|
8720
8729
|
tmp_1 = tmp1_elvis_lhs;
|
|
8721
8730
|
}
|
|
@@ -8746,22 +8755,22 @@
|
|
|
8746
8755
|
while (true);
|
|
8747
8756
|
};
|
|
8748
8757
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).b19 = function ($this$coroutineScope, completion) {
|
|
8749
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.
|
|
8750
|
-
i.
|
|
8758
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.o44_1, this.p44_1, this.q44_1, completion);
|
|
8759
|
+
i.r44_1 = $this$coroutineScope;
|
|
8751
8760
|
return i;
|
|
8752
8761
|
};
|
|
8753
8762
|
function PageCollectionPage$buildPagesFromParsedPages$slambda_0(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8754
8763
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8755
8764
|
var l = function ($this$coroutineScope, $completion) {
|
|
8756
|
-
return i.
|
|
8765
|
+
return i.s44($this$coroutineScope, $completion);
|
|
8757
8766
|
};
|
|
8758
8767
|
l.$arity = 1;
|
|
8759
8768
|
return l;
|
|
8760
8769
|
}
|
|
8761
8770
|
function $buildPagesFromParsedPagesCOROUTINE$3(_this__u8e3s4, parseFile, resultContinuation) {
|
|
8762
8771
|
CoroutineImpl.call(this, resultContinuation);
|
|
8763
|
-
this.
|
|
8764
|
-
this.
|
|
8772
|
+
this.d44_1 = _this__u8e3s4;
|
|
8773
|
+
this.e44_1 = parseFile;
|
|
8765
8774
|
}
|
|
8766
8775
|
protoOf($buildPagesFromParsedPagesCOROUTINE$3).d9 = function () {
|
|
8767
8776
|
var suspendResult = this.x8_1;
|
|
@@ -8772,9 +8781,9 @@
|
|
|
8772
8781
|
case 0:
|
|
8773
8782
|
this.w8_1 = 2;
|
|
8774
8783
|
var tmp_0 = this;
|
|
8775
|
-
tmp_0.
|
|
8784
|
+
tmp_0.f44_1 = lazy(PageCollectionPage$buildPagesFromParsedPages$lambda(this.d44_1));
|
|
8776
8785
|
this.v8_1 = 1;
|
|
8777
|
-
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.
|
|
8786
|
+
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.d44_1, this.e44_1, this.f44_1, null), this);
|
|
8778
8787
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8779
8788
|
return suspendResult;
|
|
8780
8789
|
}
|
|
@@ -8782,7 +8791,7 @@
|
|
|
8782
8791
|
continue $sm;
|
|
8783
8792
|
case 1:
|
|
8784
8793
|
var ARGUMENT = suspendResult;
|
|
8785
|
-
_set_pages__j2nojl_0(this.
|
|
8794
|
+
_set_pages__j2nojl_0(this.d44_1, ARGUMENT);
|
|
8786
8795
|
return Unit_instance;
|
|
8787
8796
|
case 2:
|
|
8788
8797
|
throw this.y8_1;
|
|
@@ -8799,16 +8808,16 @@
|
|
|
8799
8808
|
while (true);
|
|
8800
8809
|
};
|
|
8801
8810
|
protoOf(PageCollectionPage).x3g = function () {
|
|
8802
|
-
return this.
|
|
8811
|
+
return this.s43_1;
|
|
8803
8812
|
};
|
|
8804
8813
|
protoOf(PageCollectionPage).h3k = function () {
|
|
8805
|
-
return this.
|
|
8814
|
+
return this.u43_1.c3r(this, pages$factory_2());
|
|
8806
8815
|
};
|
|
8807
8816
|
protoOf(PageCollectionPage).i3k = function (type) {
|
|
8808
8817
|
return type.equals(getKClass(ContentPage));
|
|
8809
8818
|
};
|
|
8810
8819
|
function PageCollectionPage() {
|
|
8811
|
-
this.
|
|
8820
|
+
this.u43_1 = setOnce();
|
|
8812
8821
|
}
|
|
8813
8822
|
function pages$factory_1() {
|
|
8814
8823
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
@@ -8838,7 +8847,7 @@
|
|
|
8838
8847
|
if (!(_this__u8e3s4.q3b() === 2))
|
|
8839
8848
|
continue $l$loop_0;
|
|
8840
8849
|
if (_this__u8e3s4.r3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8841
|
-
var tmp1_safe_receiver = Companion_instance_49.
|
|
8850
|
+
var tmp1_safe_receiver = Companion_instance_49.t44(manifest, _this__u8e3s4);
|
|
8842
8851
|
if (tmp1_safe_receiver == null)
|
|
8843
8852
|
null;
|
|
8844
8853
|
else {
|
|
@@ -8852,8 +8861,8 @@
|
|
|
8852
8861
|
}
|
|
8853
8862
|
return this_0.k3();
|
|
8854
8863
|
};
|
|
8855
|
-
protoOf(Companion_48).
|
|
8856
|
-
parser.
|
|
8864
|
+
protoOf(Companion_48).t44 = function (manifest, parser) {
|
|
8865
|
+
parser.u44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8857
8866
|
var tmp;
|
|
8858
8867
|
if (parser.r3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8859
8868
|
tmp = parser.l2() === 'image' ? ShareableImage_init_$Create$(manifest, parser) : null;
|
|
@@ -8869,7 +8878,7 @@
|
|
|
8869
8878
|
function Shareable_init_$Init$(parent, parser, $this) {
|
|
8870
8879
|
BaseModel.call($this, parent);
|
|
8871
8880
|
Shareable.call($this);
|
|
8872
|
-
parser.
|
|
8881
|
+
parser.u44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8873
8882
|
$this.v3p_1 = parser.e3d('id');
|
|
8874
8883
|
var tmp = $this;
|
|
8875
8884
|
var tmp0_safe_receiver = parser.e3d('order');
|
|
@@ -8883,7 +8892,7 @@
|
|
|
8883
8892
|
function Shareable() {
|
|
8884
8893
|
}
|
|
8885
8894
|
function Companion_49() {
|
|
8886
|
-
this.
|
|
8895
|
+
this.v44_1 = 'image';
|
|
8887
8896
|
}
|
|
8888
8897
|
var Companion_instance_50;
|
|
8889
8898
|
function Companion_getInstance_52() {
|
|
@@ -8893,7 +8902,7 @@
|
|
|
8893
8902
|
Shareable_init_$Init$(manifest, parser, $this);
|
|
8894
8903
|
ShareableImage.call($this);
|
|
8895
8904
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/shareable', 'image');
|
|
8896
|
-
$this.
|
|
8905
|
+
$this.z44_1 = parser.e3d('resource');
|
|
8897
8906
|
var description = null;
|
|
8898
8907
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8899
8908
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
@@ -8907,7 +8916,7 @@
|
|
|
8907
8916
|
continue $l$loop_0;
|
|
8908
8917
|
skipTag(parser);
|
|
8909
8918
|
}
|
|
8910
|
-
$this.
|
|
8919
|
+
$this.a45_1 = description;
|
|
8911
8920
|
return $this;
|
|
8912
8921
|
}
|
|
8913
8922
|
function ShareableImage_init_$Create$(manifest, parser) {
|
|
@@ -8915,12 +8924,12 @@
|
|
|
8915
8924
|
}
|
|
8916
8925
|
protoOf(ShareableImage).j3c = function () {
|
|
8917
8926
|
var tmp0_elvis_lhs = protoOf(Shareable).j3c.call(this);
|
|
8918
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8927
|
+
return tmp0_elvis_lhs == null ? this.z44_1 : tmp0_elvis_lhs;
|
|
8919
8928
|
};
|
|
8920
8929
|
function ShareableImage() {
|
|
8921
8930
|
}
|
|
8922
8931
|
function Companion_50() {
|
|
8923
|
-
this.
|
|
8932
|
+
this.b45_1 = 'tip';
|
|
8924
8933
|
}
|
|
8925
8934
|
var Companion_instance_51;
|
|
8926
8935
|
function Companion_getInstance_53() {
|
|
@@ -8950,7 +8959,7 @@
|
|
|
8950
8959
|
protoOf(InlineTip).j3c = function () {
|
|
8951
8960
|
return this.id;
|
|
8952
8961
|
};
|
|
8953
|
-
protoOf(InlineTip).
|
|
8962
|
+
protoOf(InlineTip).i45 = function () {
|
|
8954
8963
|
return this.s38().l3r(this.id);
|
|
8955
8964
|
};
|
|
8956
8965
|
protoOf(InlineTip).v3c = function () {
|
|
@@ -8965,7 +8974,7 @@
|
|
|
8965
8974
|
var Type_QUOTE_instance;
|
|
8966
8975
|
function Companion_51() {
|
|
8967
8976
|
Companion_instance_52 = this;
|
|
8968
|
-
this.
|
|
8977
|
+
this.j45_1 = Type_TIP_getInstance();
|
|
8969
8978
|
}
|
|
8970
8979
|
protoOf(Companion_51).y3k = function (_this__u8e3s4) {
|
|
8971
8980
|
switch (_this__u8e3s4) {
|
|
@@ -9010,7 +9019,7 @@
|
|
|
9010
9019
|
var tmp = $this;
|
|
9011
9020
|
var tmp0_safe_receiver = parser.e3d('type');
|
|
9012
9021
|
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().
|
|
9022
|
+
tmp.i3o_1 = tmp1_elvis_lhs == null ? Companion_getInstance_54().j45_1 : tmp1_elvis_lhs;
|
|
9014
9023
|
var tmp_0 = $this;
|
|
9015
9024
|
// Inline function 'kotlin.collections.buildList' call
|
|
9016
9025
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -9038,7 +9047,7 @@
|
|
|
9038
9047
|
function Tip_init_$Init$_0(manifest, id, type, $this) {
|
|
9039
9048
|
manifest = manifest === VOID ? null : manifest;
|
|
9040
9049
|
id = id === VOID ? '' : id;
|
|
9041
|
-
type = type === VOID ? Companion_getInstance_54().
|
|
9050
|
+
type = type === VOID ? Companion_getInstance_54().j45_1 : type;
|
|
9042
9051
|
BaseModel.call($this, manifest);
|
|
9043
9052
|
Tip.call($this);
|
|
9044
9053
|
$this.h3o_1 = id;
|
|
@@ -9105,7 +9114,7 @@
|
|
|
9105
9114
|
function Tip() {
|
|
9106
9115
|
}
|
|
9107
9116
|
function Companion_52() {
|
|
9108
|
-
this.
|
|
9117
|
+
this.k45_1 = 'page';
|
|
9109
9118
|
}
|
|
9110
9119
|
var Companion_instance_53;
|
|
9111
9120
|
function Companion_getInstance_55() {
|
|
@@ -9115,8 +9124,8 @@
|
|
|
9115
9124
|
BaseModel.call($this, tip);
|
|
9116
9125
|
TipPage.call($this);
|
|
9117
9126
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/training', 'page');
|
|
9118
|
-
$this.
|
|
9119
|
-
$this.
|
|
9127
|
+
$this.m45_1 = tip;
|
|
9128
|
+
$this.n45_1 = position;
|
|
9120
9129
|
var tmp = $this;
|
|
9121
9130
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
9122
9131
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9158,19 +9167,19 @@
|
|
|
9158
9167
|
continue $l$loop_0;
|
|
9159
9168
|
skipTag(parser);
|
|
9160
9169
|
}
|
|
9161
|
-
tmp.
|
|
9170
|
+
tmp.o45_1 = this_0.k3();
|
|
9162
9171
|
return $this;
|
|
9163
9172
|
}
|
|
9164
9173
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9165
9174
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9166
9175
|
}
|
|
9167
9176
|
protoOf(TipPage).l3c = function () {
|
|
9168
|
-
return this.
|
|
9177
|
+
return this.o45_1;
|
|
9169
9178
|
};
|
|
9170
9179
|
function TipPage() {
|
|
9171
9180
|
}
|
|
9172
9181
|
function Companion_53() {
|
|
9173
|
-
this.
|
|
9182
|
+
this.p45_1 = 'call-to-action';
|
|
9174
9183
|
}
|
|
9175
9184
|
var Companion_instance_54;
|
|
9176
9185
|
function Companion_getInstance_56() {
|
|
@@ -9179,10 +9188,10 @@
|
|
|
9179
9188
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9180
9189
|
BaseModel.call($this, parent);
|
|
9181
9190
|
CallToAction.call($this);
|
|
9182
|
-
$this.
|
|
9191
|
+
$this.r45_1 = parent;
|
|
9183
9192
|
$this.label = null;
|
|
9184
|
-
$this.
|
|
9185
|
-
$this.
|
|
9193
|
+
$this.s45_1 = null;
|
|
9194
|
+
$this.t45_1 = null;
|
|
9186
9195
|
return $this;
|
|
9187
9196
|
}
|
|
9188
9197
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9192,11 +9201,11 @@
|
|
|
9192
9201
|
BaseModel.call($this, page);
|
|
9193
9202
|
CallToAction.call($this);
|
|
9194
9203
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9195
|
-
$this.
|
|
9204
|
+
$this.r45_1 = page;
|
|
9196
9205
|
var tmp = $this;
|
|
9197
9206
|
var tmp0_safe_receiver = parser.e3d('control-color');
|
|
9198
|
-
tmp.
|
|
9199
|
-
$this.
|
|
9207
|
+
tmp.s45_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9208
|
+
$this.t45_1 = parser.o3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9200
9209
|
$this.label = parseTextChild(parser, $this, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9201
9210
|
return $this;
|
|
9202
9211
|
}
|
|
@@ -9210,11 +9219,11 @@
|
|
|
9210
9219
|
tip = tip === VOID ? null : tip;
|
|
9211
9220
|
BaseModel.call($this, page);
|
|
9212
9221
|
CallToAction.call($this);
|
|
9213
|
-
$this.
|
|
9222
|
+
$this.r45_1 = page;
|
|
9214
9223
|
var tmp = $this;
|
|
9215
9224
|
tmp.label = label == null ? null : label($this);
|
|
9216
|
-
$this.
|
|
9217
|
-
$this.
|
|
9225
|
+
$this.s45_1 = controlColor;
|
|
9226
|
+
$this.t45_1 = tip;
|
|
9218
9227
|
return $this;
|
|
9219
9228
|
}
|
|
9220
9229
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
@@ -9223,20 +9232,20 @@
|
|
|
9223
9232
|
protoOf(CallToAction).j3l = function () {
|
|
9224
9233
|
return this.label;
|
|
9225
9234
|
};
|
|
9226
|
-
protoOf(CallToAction).
|
|
9227
|
-
var tmp0_elvis_lhs = this.
|
|
9235
|
+
protoOf(CallToAction).u45 = function () {
|
|
9236
|
+
var tmp0_elvis_lhs = this.s45_1;
|
|
9228
9237
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
9229
9238
|
};
|
|
9230
|
-
protoOf(CallToAction).
|
|
9231
|
-
return this.
|
|
9239
|
+
protoOf(CallToAction).v45 = function () {
|
|
9240
|
+
return this.t45_1;
|
|
9232
9241
|
};
|
|
9233
|
-
protoOf(CallToAction).
|
|
9234
|
-
return this.s38().l3r(this.
|
|
9242
|
+
protoOf(CallToAction).i45 = function () {
|
|
9243
|
+
return this.s38().l3r(this.t45_1);
|
|
9235
9244
|
};
|
|
9236
9245
|
function CallToAction() {
|
|
9237
9246
|
}
|
|
9238
9247
|
function Companion_54() {
|
|
9239
|
-
this.
|
|
9248
|
+
this.w45_1 = 'header';
|
|
9240
9249
|
}
|
|
9241
9250
|
var Companion_instance_55;
|
|
9242
9251
|
function Companion_getInstance_57() {
|
|
@@ -9248,8 +9257,8 @@
|
|
|
9248
9257
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'header');
|
|
9249
9258
|
var tmp = $this;
|
|
9250
9259
|
var tmp0_safe_receiver = parser.e3d('background-color');
|
|
9251
|
-
tmp.
|
|
9252
|
-
$this.
|
|
9260
|
+
tmp.y45_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9261
|
+
$this.z45_1 = parser.o3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9253
9262
|
var number = null;
|
|
9254
9263
|
var title = null;
|
|
9255
9264
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9275,7 +9284,7 @@
|
|
|
9275
9284
|
return Header_init_$Init$_0(page, parser, objectCreate(protoOf(Header_0)));
|
|
9276
9285
|
}
|
|
9277
9286
|
protoOf(Header_0).j3q = function () {
|
|
9278
|
-
var tmp0_elvis_lhs = this.
|
|
9287
|
+
var tmp0_elvis_lhs = this.y45_1;
|
|
9279
9288
|
return tmp0_elvis_lhs == null ? this.s3h() : tmp0_elvis_lhs;
|
|
9280
9289
|
};
|
|
9281
9290
|
protoOf(Header_0).q3h = function () {
|
|
@@ -9287,23 +9296,23 @@
|
|
|
9287
9296
|
protoOf(Header_0).o3q = function () {
|
|
9288
9297
|
return this.title;
|
|
9289
9298
|
};
|
|
9290
|
-
protoOf(Header_0).
|
|
9291
|
-
return this.
|
|
9299
|
+
protoOf(Header_0).v45 = function () {
|
|
9300
|
+
return this.z45_1;
|
|
9292
9301
|
};
|
|
9293
|
-
protoOf(Header_0).
|
|
9294
|
-
return this.s38().l3r(this.
|
|
9302
|
+
protoOf(Header_0).i45 = function () {
|
|
9303
|
+
return this.s38().l3r(this.z45_1);
|
|
9295
9304
|
};
|
|
9296
9305
|
function Header_0() {
|
|
9297
9306
|
}
|
|
9298
9307
|
function Companion_55() {
|
|
9299
|
-
this.
|
|
9308
|
+
this.a46_1 = 'hero';
|
|
9300
9309
|
}
|
|
9301
9310
|
var Companion_instance_56;
|
|
9302
9311
|
function Companion_getInstance_58() {
|
|
9303
9312
|
return Companion_instance_56;
|
|
9304
9313
|
}
|
|
9305
9314
|
function _get_headingParent__2ts5bv($this) {
|
|
9306
|
-
var tmp0 = $this.
|
|
9315
|
+
var tmp0 = $this.c46_1;
|
|
9307
9316
|
// Inline function 'kotlin.getValue' call
|
|
9308
9317
|
headingParent$factory();
|
|
9309
9318
|
return tmp0.c2();
|
|
@@ -9314,7 +9323,7 @@
|
|
|
9314
9323
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'hero');
|
|
9315
9324
|
var tmp = $this;
|
|
9316
9325
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9317
|
-
tmp.
|
|
9326
|
+
tmp.e46_1 = ArrayList_init_$Create$();
|
|
9318
9327
|
var heading = null;
|
|
9319
9328
|
var tmp_0 = $this;
|
|
9320
9329
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9331,7 +9340,7 @@
|
|
|
9331
9340
|
var tmp0_subject = parser.r3b();
|
|
9332
9341
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9333
9342
|
if (parser.l2() === 'events') {
|
|
9334
|
-
var tmp0 = $this.
|
|
9343
|
+
var tmp0 = $this.e46_1;
|
|
9335
9344
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9336
9345
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
9337
9346
|
addAll(tmp0, elements);
|
|
@@ -9369,7 +9378,7 @@
|
|
|
9369
9378
|
continue $l$loop_0;
|
|
9370
9379
|
skipTag(parser);
|
|
9371
9380
|
}
|
|
9372
|
-
tmp_0.
|
|
9381
|
+
tmp_0.d46_1 = this_0.k3();
|
|
9373
9382
|
$this.heading = heading;
|
|
9374
9383
|
return $this;
|
|
9375
9384
|
}
|
|
@@ -9382,10 +9391,10 @@
|
|
|
9382
9391
|
heading = heading === VOID ? null : heading;
|
|
9383
9392
|
BaseModel.call($this, page);
|
|
9384
9393
|
Hero.call($this);
|
|
9385
|
-
$this.
|
|
9394
|
+
$this.e46_1 = analyticsEvents;
|
|
9386
9395
|
var tmp = $this;
|
|
9387
9396
|
tmp.heading = heading == null ? null : heading(_get_headingParent__2ts5bv($this));
|
|
9388
|
-
$this.
|
|
9397
|
+
$this.d46_1 = emptyList();
|
|
9389
9398
|
return $this;
|
|
9390
9399
|
}
|
|
9391
9400
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -9401,14 +9410,14 @@
|
|
|
9401
9410
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
9402
9411
|
};
|
|
9403
9412
|
}
|
|
9404
|
-
protoOf(Hero).
|
|
9413
|
+
protoOf(Hero).f46 = function () {
|
|
9405
9414
|
return this.heading;
|
|
9406
9415
|
};
|
|
9407
9416
|
protoOf(Hero).l3c = function () {
|
|
9408
|
-
return this.
|
|
9417
|
+
return this.d46_1;
|
|
9409
9418
|
};
|
|
9410
9419
|
protoOf(Hero).x3g = function () {
|
|
9411
|
-
return this.
|
|
9420
|
+
return this.e46_1;
|
|
9412
9421
|
};
|
|
9413
9422
|
protoOf(Hero).m3c = function (type) {
|
|
9414
9423
|
var tmp;
|
|
@@ -9416,7 +9425,7 @@
|
|
|
9416
9425
|
case 0:
|
|
9417
9426
|
// Inline function 'kotlin.collections.filter' call
|
|
9418
9427
|
|
|
9419
|
-
var tmp0 = this.
|
|
9428
|
+
var tmp0 = this.e46_1;
|
|
9420
9429
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9421
9430
|
|
|
9422
9431
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9433,7 +9442,7 @@
|
|
|
9433
9442
|
case 1:
|
|
9434
9443
|
// Inline function 'kotlin.collections.filter' call
|
|
9435
9444
|
|
|
9436
|
-
var tmp0_0 = this.
|
|
9445
|
+
var tmp0_0 = this.e46_1;
|
|
9437
9446
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9438
9447
|
|
|
9439
9448
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9458,7 +9467,7 @@
|
|
|
9458
9467
|
};
|
|
9459
9468
|
function Hero() {
|
|
9460
9469
|
var tmp = this;
|
|
9461
|
-
tmp.
|
|
9470
|
+
tmp.c46_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
9462
9471
|
}
|
|
9463
9472
|
function headingParent$factory() {
|
|
9464
9473
|
return getPropertyCallableRef('headingParent', 1, KProperty1, function (receiver) {
|
|
@@ -9466,7 +9475,7 @@
|
|
|
9466
9475
|
}, null);
|
|
9467
9476
|
}
|
|
9468
9477
|
function Companion_56() {
|
|
9469
|
-
this.
|
|
9478
|
+
this.g46_1 = 'modal';
|
|
9470
9479
|
}
|
|
9471
9480
|
var Companion_instance_57;
|
|
9472
9481
|
function Companion_getInstance_59() {
|
|
@@ -9536,14 +9545,14 @@
|
|
|
9536
9545
|
continue $l$loop_0;
|
|
9537
9546
|
skipTag(parser);
|
|
9538
9547
|
}
|
|
9539
|
-
tmp_1.
|
|
9548
|
+
tmp_1.c47_1 = this_2.k3();
|
|
9540
9549
|
$this.title = title;
|
|
9541
9550
|
return $this;
|
|
9542
9551
|
}
|
|
9543
9552
|
function Modal_init_$Create$(parent, parser) {
|
|
9544
9553
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
9545
9554
|
}
|
|
9546
|
-
protoOf(Modal).
|
|
9555
|
+
protoOf(Modal).v3z = function () {
|
|
9547
9556
|
return this.page;
|
|
9548
9557
|
};
|
|
9549
9558
|
protoOf(Modal).j3c = function () {
|
|
@@ -9553,7 +9562,7 @@
|
|
|
9553
9562
|
return this.title;
|
|
9554
9563
|
};
|
|
9555
9564
|
protoOf(Modal).l3c = function () {
|
|
9556
|
-
return this.
|
|
9565
|
+
return this.c47_1;
|
|
9557
9566
|
};
|
|
9558
9567
|
protoOf(Modal).r3u = function () {
|
|
9559
9568
|
return this._listeners;
|
|
@@ -9593,11 +9602,11 @@
|
|
|
9593
9602
|
}
|
|
9594
9603
|
function Companion_57() {
|
|
9595
9604
|
Companion_instance_58 = this;
|
|
9596
|
-
this.
|
|
9597
|
-
this.
|
|
9598
|
-
this.
|
|
9599
|
-
this.
|
|
9600
|
-
this.
|
|
9605
|
+
this.d47_1 = 'card';
|
|
9606
|
+
this.e47_1 = 'label';
|
|
9607
|
+
this.f47_1 = 'hidden';
|
|
9608
|
+
this.g47_1 = ImageScaleType_FILL_X_getInstance();
|
|
9609
|
+
this.h47_1 = Companion_getInstance_22().CENTER;
|
|
9601
9610
|
}
|
|
9602
9611
|
var Companion_instance_58;
|
|
9603
9612
|
function Companion_getInstance_60() {
|
|
@@ -9606,7 +9615,7 @@
|
|
|
9606
9615
|
return Companion_instance_58;
|
|
9607
9616
|
}
|
|
9608
9617
|
function _get_labelParent__664ln7($this) {
|
|
9609
|
-
var tmp0 = $this.
|
|
9618
|
+
var tmp0 = $this.o47_1;
|
|
9610
9619
|
// Inline function 'kotlin.getValue' call
|
|
9611
9620
|
labelParent$factory();
|
|
9612
9621
|
return tmp0.c2();
|
|
@@ -9633,22 +9642,22 @@
|
|
|
9633
9642
|
tmp_1._dismissListeners = toSet_0(tmp$ret$1);
|
|
9634
9643
|
var tmp_2 = $this;
|
|
9635
9644
|
var tmp2_safe_receiver = parser.e3d('background-color');
|
|
9636
|
-
tmp_2.
|
|
9637
|
-
$this.
|
|
9645
|
+
tmp_2.j47_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
9646
|
+
$this.k47_1 = parser.e3d('background-image');
|
|
9638
9647
|
var tmp_3 = $this;
|
|
9639
9648
|
var tmp3_safe_receiver = parser.e3d('background-image-align');
|
|
9640
9649
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().m3g(tmp3_safe_receiver);
|
|
9641
|
-
tmp_3.
|
|
9650
|
+
tmp_3.l47_1 = tmp4_elvis_lhs == null ? Companion_getInstance_60().h47_1 : tmp4_elvis_lhs;
|
|
9642
9651
|
var tmp_4 = $this;
|
|
9643
9652
|
var tmp5_safe_receiver = parser.e3d('background-image-scale-type');
|
|
9644
9653
|
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.w3k(tmp5_safe_receiver);
|
|
9645
|
-
tmp_4.
|
|
9654
|
+
tmp_4.m47_1 = tmp6_elvis_lhs == null ? Companion_getInstance_60().g47_1 : tmp6_elvis_lhs;
|
|
9646
9655
|
var tmp_5 = $this;
|
|
9647
9656
|
var tmp7_safe_receiver = parser.e3d('text-color');
|
|
9648
|
-
tmp_5.
|
|
9657
|
+
tmp_5.n47_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
9649
9658
|
var tmp_6 = $this;
|
|
9650
9659
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9651
|
-
tmp_6.
|
|
9660
|
+
tmp_6.q47_1 = ArrayList_init_$Create$();
|
|
9652
9661
|
var label = null;
|
|
9653
9662
|
var tmp_7 = $this;
|
|
9654
9663
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9665,7 +9674,7 @@
|
|
|
9665
9674
|
var tmp0_subject = parser.r3b();
|
|
9666
9675
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9667
9676
|
if (parser.l2() === 'events') {
|
|
9668
|
-
var tmp0 = $this.
|
|
9677
|
+
var tmp0 = $this.q47_1;
|
|
9669
9678
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9670
9679
|
var elements = Companion_instance_4.t3b(parser, $this);
|
|
9671
9680
|
addAll(tmp0, elements);
|
|
@@ -9703,7 +9712,7 @@
|
|
|
9703
9712
|
continue $l$loop_0;
|
|
9704
9713
|
skipTag(parser);
|
|
9705
9714
|
}
|
|
9706
|
-
tmp_7.
|
|
9715
|
+
tmp_7.p47_1 = this_2.k3();
|
|
9707
9716
|
$this.label = label;
|
|
9708
9717
|
return $this;
|
|
9709
9718
|
}
|
|
@@ -9715,8 +9724,8 @@
|
|
|
9715
9724
|
position = position === VOID ? 0 : position;
|
|
9716
9725
|
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9717
9726
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9718
|
-
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_60().
|
|
9719
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_60().
|
|
9727
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_60().h47_1 : backgroundImageGravity;
|
|
9728
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_60().g47_1 : backgroundImageScaleType;
|
|
9720
9729
|
isHidden = isHidden === VOID ? false : isHidden;
|
|
9721
9730
|
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9722
9731
|
label = label === VOID ? null : label;
|
|
@@ -9728,18 +9737,18 @@
|
|
|
9728
9737
|
$this.isHidden = isHidden;
|
|
9729
9738
|
$this._listeners = emptySet();
|
|
9730
9739
|
$this._dismissListeners = emptySet();
|
|
9731
|
-
$this.
|
|
9732
|
-
$this.
|
|
9733
|
-
$this.
|
|
9734
|
-
$this.
|
|
9735
|
-
$this.
|
|
9736
|
-
$this.
|
|
9740
|
+
$this.q47_1 = analyticsEvents;
|
|
9741
|
+
$this.j47_1 = backgroundColor;
|
|
9742
|
+
$this.k47_1 = backgroundImage;
|
|
9743
|
+
$this.l47_1 = backgroundImageGravity;
|
|
9744
|
+
$this.m47_1 = backgroundImageScaleType;
|
|
9745
|
+
$this.n47_1 = null;
|
|
9737
9746
|
var tmp = $this;
|
|
9738
9747
|
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9739
9748
|
var tmp_0 = $this;
|
|
9740
9749
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
9741
9750
|
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9742
|
-
tmp_0.
|
|
9751
|
+
tmp_0.p47_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9743
9752
|
return $this;
|
|
9744
9753
|
}
|
|
9745
9754
|
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
@@ -9761,7 +9770,7 @@
|
|
|
9761
9770
|
parser.p3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'page');
|
|
9762
9771
|
var tmp = $this;
|
|
9763
9772
|
var tmp0_safe_receiver = parser.e3d('card-text-color');
|
|
9764
|
-
tmp.
|
|
9773
|
+
tmp.a47_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9765
9774
|
var header = null;
|
|
9766
9775
|
var hero = null;
|
|
9767
9776
|
var tmp_0 = $this;
|
|
@@ -9832,7 +9841,7 @@
|
|
|
9832
9841
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
9833
9842
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, VOID, VOID, textColor, textScale, $this);
|
|
9834
9843
|
TractPage.call($this);
|
|
9835
|
-
$this.
|
|
9844
|
+
$this.a47_1 = cardTextColor;
|
|
9836
9845
|
$this.header = null;
|
|
9837
9846
|
$this.hero = null;
|
|
9838
9847
|
var tmp = $this;
|
|
@@ -9848,7 +9857,7 @@
|
|
|
9848
9857
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
9849
9858
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
9850
9859
|
}
|
|
9851
|
-
protoOf(Card_1).
|
|
9860
|
+
protoOf(Card_1).v3z = function () {
|
|
9852
9861
|
return this.page;
|
|
9853
9862
|
};
|
|
9854
9863
|
protoOf(Card_1).j3c = function () {
|
|
@@ -9857,7 +9866,7 @@
|
|
|
9857
9866
|
protoOf(Card_1).q3u = function () {
|
|
9858
9867
|
return this.position;
|
|
9859
9868
|
};
|
|
9860
|
-
protoOf(Card_1).
|
|
9869
|
+
protoOf(Card_1).r47 = function () {
|
|
9861
9870
|
// Inline function 'kotlin.takeUnless' call
|
|
9862
9871
|
var this_0 = this.page.visibleCards.w1(this);
|
|
9863
9872
|
var tmp;
|
|
@@ -9868,7 +9877,7 @@
|
|
|
9868
9877
|
}
|
|
9869
9878
|
return tmp;
|
|
9870
9879
|
};
|
|
9871
|
-
protoOf(Card_1).
|
|
9880
|
+
protoOf(Card_1).s47 = function () {
|
|
9872
9881
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
9873
9882
|
};
|
|
9874
9883
|
protoOf(Card_1).l3y = function () {
|
|
@@ -9881,27 +9890,27 @@
|
|
|
9881
9890
|
return this._dismissListeners;
|
|
9882
9891
|
};
|
|
9883
9892
|
protoOf(Card_1).j3q = function () {
|
|
9884
|
-
var tmp0_elvis_lhs = this.
|
|
9893
|
+
var tmp0_elvis_lhs = this.j47_1;
|
|
9885
9894
|
return tmp0_elvis_lhs == null ? this.page.v3h() : tmp0_elvis_lhs;
|
|
9886
9895
|
};
|
|
9887
9896
|
protoOf(Card_1).k3q = function () {
|
|
9888
|
-
return getResource(this, this.
|
|
9897
|
+
return getResource(this, this.k47_1);
|
|
9889
9898
|
};
|
|
9890
9899
|
protoOf(Card_1).l3q = function () {
|
|
9891
|
-
return this.
|
|
9900
|
+
return this.l47_1;
|
|
9892
9901
|
};
|
|
9893
9902
|
protoOf(Card_1).m3q = function () {
|
|
9894
|
-
return this.
|
|
9903
|
+
return this.m47_1;
|
|
9895
9904
|
};
|
|
9896
9905
|
protoOf(Card_1).q3h = function () {
|
|
9897
|
-
var tmp0_elvis_lhs = this.
|
|
9906
|
+
var tmp0_elvis_lhs = this.n47_1;
|
|
9898
9907
|
return tmp0_elvis_lhs == null ? this.page.cardTextColor : tmp0_elvis_lhs;
|
|
9899
9908
|
};
|
|
9900
9909
|
protoOf(Card_1).j3l = function () {
|
|
9901
9910
|
return this.label;
|
|
9902
9911
|
};
|
|
9903
9912
|
protoOf(Card_1).l3c = function () {
|
|
9904
|
-
return this.
|
|
9913
|
+
return this.p47_1;
|
|
9905
9914
|
};
|
|
9906
9915
|
protoOf(Card_1).v3c = function () {
|
|
9907
9916
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -9918,7 +9927,7 @@
|
|
|
9918
9927
|
return destination;
|
|
9919
9928
|
};
|
|
9920
9929
|
protoOf(Card_1).x3g = function () {
|
|
9921
|
-
return this.
|
|
9930
|
+
return this.q47_1;
|
|
9922
9931
|
};
|
|
9923
9932
|
protoOf(Card_1).m3c = function (type) {
|
|
9924
9933
|
var tmp;
|
|
@@ -9926,7 +9935,7 @@
|
|
|
9926
9935
|
case 0:
|
|
9927
9936
|
// Inline function 'kotlin.collections.filter' call
|
|
9928
9937
|
|
|
9929
|
-
var tmp0 = this.
|
|
9938
|
+
var tmp0 = this.q47_1;
|
|
9930
9939
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9931
9940
|
|
|
9932
9941
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9943,7 +9952,7 @@
|
|
|
9943
9952
|
case 1:
|
|
9944
9953
|
// Inline function 'kotlin.collections.filter' call
|
|
9945
9954
|
|
|
9946
|
-
var tmp0_0 = this.
|
|
9955
|
+
var tmp0_0 = this.q47_1;
|
|
9947
9956
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9948
9957
|
|
|
9949
9958
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9979,7 +9988,7 @@
|
|
|
9979
9988
|
function Card_1() {
|
|
9980
9989
|
Companion_getInstance_60();
|
|
9981
9990
|
var tmp = this;
|
|
9982
|
-
tmp.
|
|
9991
|
+
tmp.o47_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
9983
9992
|
}
|
|
9984
9993
|
function parseCardsXml($this, _this__u8e3s4) {
|
|
9985
9994
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -10023,22 +10032,22 @@
|
|
|
10023
10032
|
}
|
|
10024
10033
|
return this_0.k3();
|
|
10025
10034
|
}
|
|
10026
|
-
protoOf(TractPage).
|
|
10035
|
+
protoOf(TractPage).t47 = function () {
|
|
10027
10036
|
return equals(lastOrNull(this.s38().h3k()), this);
|
|
10028
10037
|
};
|
|
10029
10038
|
protoOf(TractPage).x3g = function () {
|
|
10030
|
-
return this.
|
|
10039
|
+
return this.z46_1;
|
|
10031
10040
|
};
|
|
10032
10041
|
protoOf(TractPage).k3c = function () {
|
|
10033
10042
|
return this.header;
|
|
10034
10043
|
};
|
|
10035
|
-
protoOf(TractPage).
|
|
10044
|
+
protoOf(TractPage).u47 = function () {
|
|
10036
10045
|
return this.hero;
|
|
10037
10046
|
};
|
|
10038
|
-
protoOf(TractPage).
|
|
10047
|
+
protoOf(TractPage).v47 = function () {
|
|
10039
10048
|
return this._modals;
|
|
10040
10049
|
};
|
|
10041
|
-
protoOf(TractPage).
|
|
10050
|
+
protoOf(TractPage).w47 = function () {
|
|
10042
10051
|
return this.callToAction;
|
|
10043
10052
|
};
|
|
10044
10053
|
protoOf(TractPage).findModal = function (id) {
|
|
@@ -10058,10 +10067,10 @@
|
|
|
10058
10067
|
}
|
|
10059
10068
|
return tmp$ret$1;
|
|
10060
10069
|
};
|
|
10061
|
-
protoOf(TractPage).
|
|
10070
|
+
protoOf(TractPage).w3z = function () {
|
|
10062
10071
|
return this._cards;
|
|
10063
10072
|
};
|
|
10064
|
-
protoOf(TractPage).
|
|
10073
|
+
protoOf(TractPage).x47 = function () {
|
|
10065
10074
|
// Inline function 'kotlin.collections.filter' call
|
|
10066
10075
|
var tmp0 = this._cards;
|
|
10067
10076
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -10075,22 +10084,22 @@
|
|
|
10075
10084
|
}
|
|
10076
10085
|
return destination;
|
|
10077
10086
|
};
|
|
10078
|
-
protoOf(TractPage).
|
|
10079
|
-
var tmp0_elvis_lhs = this.
|
|
10087
|
+
protoOf(TractPage).y47 = function () {
|
|
10088
|
+
var tmp0_elvis_lhs = this.a47_1;
|
|
10080
10089
|
return tmp0_elvis_lhs == null ? this.q3h() : tmp0_elvis_lhs;
|
|
10081
10090
|
};
|
|
10082
|
-
protoOf(TractPage).
|
|
10091
|
+
protoOf(TractPage).x3z = function () {
|
|
10083
10092
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10084
10093
|
var this_0 = this._cards;
|
|
10085
10094
|
return copyToArray(this_0);
|
|
10086
10095
|
};
|
|
10087
|
-
protoOf(TractPage).
|
|
10096
|
+
protoOf(TractPage).z47 = function () {
|
|
10088
10097
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10089
10098
|
var this_0 = this._modals;
|
|
10090
10099
|
return copyToArray(this_0);
|
|
10091
10100
|
};
|
|
10092
10101
|
function TractPage() {
|
|
10093
|
-
this.
|
|
10102
|
+
this.z46_1 = emptyList();
|
|
10094
10103
|
}
|
|
10095
10104
|
function labelParent$factory() {
|
|
10096
10105
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
@@ -10101,7 +10110,7 @@
|
|
|
10101
10110
|
return new FlowWatcher(launchIn(onEach(_this__u8e3s4, FlowWatcher$Companion$watchIn$slambda_0(block, null)), scope));
|
|
10102
10111
|
}
|
|
10103
10112
|
function FlowWatcher$Companion$watchIn$slambda($block, resultContinuation) {
|
|
10104
|
-
this.
|
|
10113
|
+
this.i48_1 = $block;
|
|
10105
10114
|
CoroutineImpl.call(this, resultContinuation);
|
|
10106
10115
|
}
|
|
10107
10116
|
protoOf(FlowWatcher$Companion$watchIn$slambda).m19 = function (it, $completion) {
|
|
@@ -10120,7 +10129,7 @@
|
|
|
10120
10129
|
var tmp = this.v8_1;
|
|
10121
10130
|
if (tmp === 0) {
|
|
10122
10131
|
this.w8_1 = 1;
|
|
10123
|
-
this.
|
|
10132
|
+
this.i48_1(this.j48_1);
|
|
10124
10133
|
return Unit_instance;
|
|
10125
10134
|
} else if (tmp === 1) {
|
|
10126
10135
|
throw this.y8_1;
|
|
@@ -10132,8 +10141,8 @@
|
|
|
10132
10141
|
while (true);
|
|
10133
10142
|
};
|
|
10134
10143
|
protoOf(FlowWatcher$Companion$watchIn$slambda).n19 = function (it, completion) {
|
|
10135
|
-
var i = new FlowWatcher$Companion$watchIn$slambda(this.
|
|
10136
|
-
i.
|
|
10144
|
+
var i = new FlowWatcher$Companion$watchIn$slambda(this.i48_1, completion);
|
|
10145
|
+
i.j48_1 = it;
|
|
10137
10146
|
return i;
|
|
10138
10147
|
};
|
|
10139
10148
|
function FlowWatcher$Companion$watchIn$slambda_0($block, resultContinuation) {
|
|
@@ -10154,10 +10163,10 @@
|
|
|
10154
10163
|
return Companion_instance_59;
|
|
10155
10164
|
}
|
|
10156
10165
|
function FlowWatcher(job) {
|
|
10157
|
-
this.
|
|
10166
|
+
this.k48_1 = job;
|
|
10158
10167
|
}
|
|
10159
10168
|
protoOf(FlowWatcher).close = function () {
|
|
10160
|
-
return this.
|
|
10169
|
+
return this.k48_1.vl();
|
|
10161
10170
|
};
|
|
10162
10171
|
function get_REGEX_SEQUENCE_SEPARATOR() {
|
|
10163
10172
|
_init_properties_Regex_kt__v9a4ph();
|
|
@@ -10185,31 +10194,31 @@
|
|
|
10185
10194
|
return EMPTY_instance;
|
|
10186
10195
|
}
|
|
10187
10196
|
function SetOnceProperty() {
|
|
10188
|
-
this.
|
|
10197
|
+
this.l48_1 = EMPTY_instance;
|
|
10189
10198
|
}
|
|
10190
|
-
protoOf(SetOnceProperty).
|
|
10199
|
+
protoOf(SetOnceProperty).m48 = function (thisRef, property) {
|
|
10191
10200
|
// Inline function 'kotlin.check' call
|
|
10192
|
-
if (!!(this.
|
|
10201
|
+
if (!!(this.l48_1 === EMPTY_instance)) {
|
|
10193
10202
|
var message = "Value isn't initialized";
|
|
10194
10203
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10195
10204
|
}
|
|
10196
|
-
var tmp = this.
|
|
10205
|
+
var tmp = this.l48_1;
|
|
10197
10206
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
10198
10207
|
};
|
|
10199
10208
|
protoOf(SetOnceProperty).c3r = function (thisRef, property) {
|
|
10200
|
-
return this.
|
|
10209
|
+
return this.m48(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
10201
10210
|
};
|
|
10202
|
-
protoOf(SetOnceProperty).
|
|
10211
|
+
protoOf(SetOnceProperty).n48 = function (thisRef, property, value) {
|
|
10203
10212
|
// Inline function 'kotlin.check' call
|
|
10204
|
-
if (!(this.
|
|
10213
|
+
if (!(this.l48_1 === EMPTY_instance)) {
|
|
10205
10214
|
var message = 'Value is initialized';
|
|
10206
10215
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10207
10216
|
}
|
|
10208
|
-
this.
|
|
10217
|
+
this.l48_1 = value;
|
|
10209
10218
|
};
|
|
10210
10219
|
protoOf(SetOnceProperty).n3p = function (thisRef, property, value) {
|
|
10211
10220
|
var tmp = !(thisRef == null) ? thisRef : THROW_CCE();
|
|
10212
|
-
return this.
|
|
10221
|
+
return this.n48(tmp, property, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
10213
10222
|
};
|
|
10214
10223
|
function get_hasUriScheme(_this__u8e3s4) {
|
|
10215
10224
|
return contains_1(_this__u8e3s4, _Char___init__impl__6a9atx(58));
|
|
@@ -10224,9 +10233,9 @@
|
|
|
10224
10233
|
}
|
|
10225
10234
|
function getAttributeValueInt($this, namespace, name) {
|
|
10226
10235
|
// Inline function 'kotlin.takeIf' call
|
|
10227
|
-
var this_0 = $this.
|
|
10236
|
+
var this_0 = $this.o48_1;
|
|
10228
10237
|
var tmp;
|
|
10229
|
-
if (this_0.
|
|
10238
|
+
if (this_0.r48_1 === 2) {
|
|
10230
10239
|
tmp = this_0;
|
|
10231
10240
|
} else {
|
|
10232
10241
|
tmp = null;
|
|
@@ -10239,20 +10248,20 @@
|
|
|
10239
10248
|
tmp_0 = tmp0_elvis_lhs;
|
|
10240
10249
|
}
|
|
10241
10250
|
var event = tmp_0;
|
|
10242
|
-
var tmp1_safe_receiver = event.
|
|
10251
|
+
var tmp1_safe_receiver = event.u48_1;
|
|
10243
10252
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f2(new QName(namespace, name));
|
|
10244
10253
|
}
|
|
10245
10254
|
function QName(uri, local) {
|
|
10246
10255
|
uri = uri === VOID ? null : uri;
|
|
10247
|
-
this.
|
|
10248
|
-
this.
|
|
10256
|
+
this.v48_1 = uri;
|
|
10257
|
+
this.w48_1 = local;
|
|
10249
10258
|
}
|
|
10250
10259
|
protoOf(QName).toString = function () {
|
|
10251
|
-
return 'QName(uri=' + this.
|
|
10260
|
+
return 'QName(uri=' + this.v48_1 + ', local=' + this.w48_1 + ')';
|
|
10252
10261
|
};
|
|
10253
10262
|
protoOf(QName).hashCode = function () {
|
|
10254
|
-
var result = this.
|
|
10255
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
10263
|
+
var result = this.v48_1 == null ? 0 : getStringHashCode(this.v48_1);
|
|
10264
|
+
result = imul(result, 31) + getStringHashCode(this.w48_1) | 0;
|
|
10256
10265
|
return result;
|
|
10257
10266
|
};
|
|
10258
10267
|
protoOf(QName).equals = function (other) {
|
|
@@ -10261,9 +10270,9 @@
|
|
|
10261
10270
|
if (!(other instanceof QName))
|
|
10262
10271
|
return false;
|
|
10263
10272
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
10264
|
-
if (!(this.
|
|
10273
|
+
if (!(this.v48_1 == tmp0_other_with_cast.v48_1))
|
|
10265
10274
|
return false;
|
|
10266
|
-
if (!(this.
|
|
10275
|
+
if (!(this.w48_1 === tmp0_other_with_cast.w48_1))
|
|
10267
10276
|
return false;
|
|
10268
10277
|
return true;
|
|
10269
10278
|
};
|
|
@@ -10271,51 +10280,51 @@
|
|
|
10271
10280
|
qname = qname === VOID ? null : qname;
|
|
10272
10281
|
content = content === VOID ? null : content;
|
|
10273
10282
|
attrs = attrs === VOID ? null : attrs;
|
|
10274
|
-
this.
|
|
10275
|
-
this.
|
|
10276
|
-
this.
|
|
10277
|
-
this.
|
|
10283
|
+
this.r48_1 = type;
|
|
10284
|
+
this.s48_1 = qname;
|
|
10285
|
+
this.t48_1 = content;
|
|
10286
|
+
this.u48_1 = attrs;
|
|
10278
10287
|
}
|
|
10279
10288
|
function enqueueEvent($this, event) {
|
|
10280
10289
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
10281
|
-
var this_0 = $this.
|
|
10290
|
+
var this_0 = $this.q48_1;
|
|
10282
10291
|
if (charSequenceLength(this_0) > 0) {
|
|
10283
|
-
var tmp1 = $this.
|
|
10292
|
+
var tmp1 = $this.p48_1;
|
|
10284
10293
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10285
|
-
var element = new ParserEvent(4, VOID, $this.
|
|
10294
|
+
var element = new ParserEvent(4, VOID, $this.q48_1.toString());
|
|
10286
10295
|
tmp1.e(element);
|
|
10287
|
-
$this.
|
|
10296
|
+
$this.q48_1.nb();
|
|
10288
10297
|
}
|
|
10289
10298
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10290
|
-
$this.
|
|
10299
|
+
$this.p48_1.e(event);
|
|
10291
10300
|
}
|
|
10292
10301
|
function SaxXmlPullParser() {
|
|
10293
|
-
this.
|
|
10302
|
+
this.o48_1 = new ParserEvent(0);
|
|
10294
10303
|
var tmp = this;
|
|
10295
10304
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10296
|
-
tmp.
|
|
10297
|
-
this.
|
|
10305
|
+
tmp.p48_1 = ArrayList_init_$Create$();
|
|
10306
|
+
this.q48_1 = StringBuilder_init_$Create$();
|
|
10298
10307
|
}
|
|
10299
10308
|
protoOf(SaxXmlPullParser).q3b = function () {
|
|
10300
|
-
return this.
|
|
10309
|
+
return this.o48_1.r48_1;
|
|
10301
10310
|
};
|
|
10302
10311
|
protoOf(SaxXmlPullParser).r3b = function () {
|
|
10303
|
-
var tmp0_safe_receiver = this.
|
|
10304
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10312
|
+
var tmp0_safe_receiver = this.o48_1.s48_1;
|
|
10313
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v48_1;
|
|
10305
10314
|
};
|
|
10306
10315
|
protoOf(SaxXmlPullParser).l2 = function () {
|
|
10307
|
-
var tmp0_safe_receiver = this.
|
|
10308
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10316
|
+
var tmp0_safe_receiver = this.o48_1.s48_1;
|
|
10317
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w48_1;
|
|
10309
10318
|
};
|
|
10310
10319
|
protoOf(SaxXmlPullParser).p3b = function (type, namespace, name) {
|
|
10311
10320
|
// Inline function 'kotlin.with' call
|
|
10312
|
-
var $this$with = this.
|
|
10313
|
-
if (!($this$with.
|
|
10321
|
+
var $this$with = this.o48_1;
|
|
10322
|
+
if (!($this$with.r48_1 === type))
|
|
10314
10323
|
throw new XmlPullParserException('expected ' + type);
|
|
10315
10324
|
var tmp;
|
|
10316
10325
|
if (!(namespace == null)) {
|
|
10317
|
-
var tmp0_safe_receiver = $this$with.
|
|
10318
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10326
|
+
var tmp0_safe_receiver = $this$with.s48_1;
|
|
10327
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v48_1));
|
|
10319
10328
|
} else {
|
|
10320
10329
|
tmp = false;
|
|
10321
10330
|
}
|
|
@@ -10323,8 +10332,8 @@
|
|
|
10323
10332
|
throw new XmlPullParserException('expected ' + namespace);
|
|
10324
10333
|
var tmp_0;
|
|
10325
10334
|
if (!(name == null)) {
|
|
10326
|
-
var tmp1_safe_receiver = $this$with.
|
|
10327
|
-
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
10335
|
+
var tmp1_safe_receiver = $this$with.s48_1;
|
|
10336
|
+
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.w48_1) == name);
|
|
10328
10337
|
} else {
|
|
10329
10338
|
tmp_0 = false;
|
|
10330
10339
|
}
|
|
@@ -10334,15 +10343,15 @@
|
|
|
10334
10343
|
};
|
|
10335
10344
|
protoOf(SaxXmlPullParser).l = function () {
|
|
10336
10345
|
// Inline function 'kotlin.also' call
|
|
10337
|
-
var this_0 = removeFirst(this.
|
|
10338
|
-
this.
|
|
10339
|
-
return this_0.
|
|
10346
|
+
var this_0 = removeFirst(this.p48_1);
|
|
10347
|
+
this.o48_1 = this_0;
|
|
10348
|
+
return this_0.r48_1;
|
|
10340
10349
|
};
|
|
10341
10350
|
protoOf(SaxXmlPullParser).h39 = function () {
|
|
10342
10351
|
var tmp;
|
|
10343
10352
|
if (this.l() === 4) {
|
|
10344
10353
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
10345
|
-
var this_0 = this.
|
|
10354
|
+
var this_0 = this.o48_1.t48_1;
|
|
10346
10355
|
tmp = this_0 == null || isBlank(this_0);
|
|
10347
10356
|
} else {
|
|
10348
10357
|
tmp = false;
|
|
@@ -10350,20 +10359,20 @@
|
|
|
10350
10359
|
if (tmp) {
|
|
10351
10360
|
this.l();
|
|
10352
10361
|
}
|
|
10353
|
-
var event = this.
|
|
10354
|
-
if (!(event.
|
|
10355
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
10362
|
+
var event = this.o48_1;
|
|
10363
|
+
if (!(event.r48_1 === 2) && !(event.r48_1 === 3)) {
|
|
10364
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.r48_1);
|
|
10356
10365
|
}
|
|
10357
|
-
return event.
|
|
10366
|
+
return event.r48_1;
|
|
10358
10367
|
};
|
|
10359
10368
|
protoOf(SaxXmlPullParser).c3v = function () {
|
|
10360
|
-
this.
|
|
10369
|
+
this.u44(2);
|
|
10361
10370
|
var tmp;
|
|
10362
10371
|
switch (this.l()) {
|
|
10363
10372
|
case 4:
|
|
10364
10373
|
// Inline function 'kotlin.text.orEmpty' call
|
|
10365
10374
|
|
|
10366
|
-
var tmp0_elvis_lhs = this.
|
|
10375
|
+
var tmp0_elvis_lhs = this.o48_1.t48_1;
|
|
10367
10376
|
// Inline function 'kotlin.also' call
|
|
10368
10377
|
|
|
10369
10378
|
var this_0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
@@ -10389,13 +10398,13 @@
|
|
|
10389
10398
|
protoOf(SaxXmlPullParser).o3p = function (namespace, name) {
|
|
10390
10399
|
return getAttributeValueInt(this, namespace, name);
|
|
10391
10400
|
};
|
|
10392
|
-
protoOf(SaxXmlPullParser).
|
|
10401
|
+
protoOf(SaxXmlPullParser).x48 = function (qname, attrs) {
|
|
10393
10402
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
10394
10403
|
};
|
|
10395
|
-
protoOf(SaxXmlPullParser).
|
|
10396
|
-
this.
|
|
10404
|
+
protoOf(SaxXmlPullParser).y48 = function (text) {
|
|
10405
|
+
this.q48_1.g8(text);
|
|
10397
10406
|
};
|
|
10398
|
-
protoOf(SaxXmlPullParser).
|
|
10407
|
+
protoOf(SaxXmlPullParser).z48 = function (qname) {
|
|
10399
10408
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
10400
10409
|
};
|
|
10401
10410
|
function XmlPullParser() {
|
|
@@ -10442,26 +10451,26 @@
|
|
|
10442
10451
|
}
|
|
10443
10452
|
var SAX_OPTIONS;
|
|
10444
10453
|
function InternalSAXParser($outer) {
|
|
10445
|
-
this.
|
|
10454
|
+
this.a49_1 = $outer;
|
|
10446
10455
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
10447
10456
|
}
|
|
10448
|
-
protoOf(InternalSAXParser).
|
|
10449
|
-
return this.
|
|
10457
|
+
protoOf(InternalSAXParser).b49 = function (tag) {
|
|
10458
|
+
return this.a49_1.x48(new QName(tag.uri, tag.local), convert(this.a49_1, tag.attributes));
|
|
10450
10459
|
};
|
|
10451
10460
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
10452
|
-
return this.
|
|
10461
|
+
return this.b49(tag);
|
|
10453
10462
|
};
|
|
10454
|
-
protoOf(InternalSAXParser).
|
|
10455
|
-
return this.
|
|
10463
|
+
protoOf(InternalSAXParser).c49 = function (tagName) {
|
|
10464
|
+
return this.a49_1.z48(new QName(VOID, tagName));
|
|
10456
10465
|
};
|
|
10457
10466
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
10458
|
-
return this.
|
|
10467
|
+
return this.c49(tagName);
|
|
10459
10468
|
};
|
|
10460
|
-
protoOf(InternalSAXParser).
|
|
10461
|
-
return this.
|
|
10469
|
+
protoOf(InternalSAXParser).d49 = function (t) {
|
|
10470
|
+
return this.a49_1.y48(t);
|
|
10462
10471
|
};
|
|
10463
10472
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
10464
|
-
return this.
|
|
10473
|
+
return this.d49(t);
|
|
10465
10474
|
};
|
|
10466
10475
|
function convert($this, _this__u8e3s4) {
|
|
10467
10476
|
var tmp = Object.values;
|
|
@@ -10505,13 +10514,13 @@
|
|
|
10505
10514
|
var this_0 = new InternalSAXParser(this);
|
|
10506
10515
|
this_0.write(xml);
|
|
10507
10516
|
this_0.close();
|
|
10508
|
-
tmp.
|
|
10517
|
+
tmp.h49_1 = this_0;
|
|
10509
10518
|
}
|
|
10510
10519
|
function SAX_OPTIONS$1() {
|
|
10511
|
-
this.
|
|
10520
|
+
this.i49_1 = true;
|
|
10512
10521
|
}
|
|
10513
|
-
protoOf(SAX_OPTIONS$1).
|
|
10514
|
-
return this.
|
|
10522
|
+
protoOf(SAX_OPTIONS$1).j49 = function () {
|
|
10523
|
+
return this.i49_1;
|
|
10515
10524
|
};
|
|
10516
10525
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
10517
10526
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -10522,8 +10531,8 @@
|
|
|
10522
10531
|
}
|
|
10523
10532
|
function $getXmlParserCOROUTINE$4(_this__u8e3s4, fileName, resultContinuation) {
|
|
10524
10533
|
CoroutineImpl.call(this, resultContinuation);
|
|
10525
|
-
this.
|
|
10526
|
-
this.
|
|
10534
|
+
this.s49_1 = _this__u8e3s4;
|
|
10535
|
+
this.t49_1 = fileName;
|
|
10527
10536
|
}
|
|
10528
10537
|
protoOf($getXmlParserCOROUTINE$4).d9 = function () {
|
|
10529
10538
|
var suspendResult = this.x8_1;
|
|
@@ -10534,7 +10543,7 @@
|
|
|
10534
10543
|
case 0:
|
|
10535
10544
|
this.w8_1 = 2;
|
|
10536
10545
|
this.v8_1 = 1;
|
|
10537
|
-
suspendResult = await_0(this.
|
|
10546
|
+
suspendResult = await_0(this.s49_1.readFile(this.t49_1), this);
|
|
10538
10547
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10539
10548
|
return suspendResult;
|
|
10540
10549
|
}
|
|
@@ -10567,14 +10576,14 @@
|
|
|
10567
10576
|
function JsXmlPullParserFactory() {
|
|
10568
10577
|
XmlPullParserFactory.call(this);
|
|
10569
10578
|
}
|
|
10570
|
-
protoOf(JsXmlPullParserFactory).
|
|
10579
|
+
protoOf(JsXmlPullParserFactory).u49 = function (fileName, $completion) {
|
|
10571
10580
|
var tmp = new $getXmlParserCOROUTINE$4(this, fileName, $completion);
|
|
10572
10581
|
tmp.x8_1 = Unit_instance;
|
|
10573
10582
|
tmp.y8_1 = null;
|
|
10574
10583
|
return tmp.d9();
|
|
10575
10584
|
};
|
|
10576
10585
|
protoOf(JsXmlPullParserFactory).g39 = function (fileName, $completion) {
|
|
10577
|
-
return this.
|
|
10586
|
+
return this.u49(fileName, $completion);
|
|
10578
10587
|
};
|
|
10579
10588
|
function XmlPullParserException(s) {
|
|
10580
10589
|
Exception_init_$Init$(s, this);
|
|
@@ -10804,6 +10813,15 @@
|
|
|
10804
10813
|
return this.t3c();
|
|
10805
10814
|
});
|
|
10806
10815
|
protoOf(Header).t3c = get_content;
|
|
10816
|
+
protoOf(Header).s3h = get_primaryColor;
|
|
10817
|
+
protoOf(Header).t3h = get_primaryTextColor;
|
|
10818
|
+
protoOf(Header).u3h = get_buttonStyle;
|
|
10819
|
+
protoOf(Header).s3g = get_buttonColor;
|
|
10820
|
+
protoOf(Header).v3h = get_cardBackgroundColor;
|
|
10821
|
+
protoOf(Header).w3h = get_multiselectOptionBackgroundColor;
|
|
10822
|
+
protoOf(Header).x3h = get_multiselectOptionSelectedColor;
|
|
10823
|
+
protoOf(Header).q3h = get_textColor;
|
|
10824
|
+
protoOf(Header).y3h = get_textScale;
|
|
10807
10825
|
defineProp(protoOf(Header), 'content', function () {
|
|
10808
10826
|
return this.t3c();
|
|
10809
10827
|
});
|
|
@@ -10814,7 +10832,7 @@
|
|
|
10814
10832
|
defineProp(protoOf(Card_0), 'content', function () {
|
|
10815
10833
|
return this.t3c();
|
|
10816
10834
|
});
|
|
10817
|
-
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).
|
|
10835
|
+
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).x3z);
|
|
10818
10836
|
protoOf(ContentPage).t3c = get_content;
|
|
10819
10837
|
defineProp(protoOf(ContentPage), 'content', function () {
|
|
10820
10838
|
return this.t3c();
|
|
@@ -10827,7 +10845,7 @@
|
|
|
10827
10845
|
defineProp(protoOf(PageCollectionPage), 'pages', function () {
|
|
10828
10846
|
return this.j3k();
|
|
10829
10847
|
});
|
|
10830
|
-
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).
|
|
10848
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).i45);
|
|
10831
10849
|
protoOf(Tip).u3h = get_buttonStyle;
|
|
10832
10850
|
protoOf(Tip).s3g = get_buttonColor;
|
|
10833
10851
|
protoOf(Tip).v3h = get_cardBackgroundColor;
|
|
@@ -10839,7 +10857,7 @@
|
|
|
10839
10857
|
defineProp(protoOf(TipPage), 'content', function () {
|
|
10840
10858
|
return this.t3c();
|
|
10841
10859
|
});
|
|
10842
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
10860
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).i45);
|
|
10843
10861
|
protoOf(Header_0).s3h = get_primaryColor;
|
|
10844
10862
|
protoOf(Header_0).t3h = get_primaryTextColor;
|
|
10845
10863
|
protoOf(Header_0).u3h = get_buttonStyle;
|
|
@@ -10849,7 +10867,7 @@
|
|
|
10849
10867
|
protoOf(Header_0).x3h = get_multiselectOptionSelectedColor;
|
|
10850
10868
|
protoOf(Header_0).y3h = get_textScale;
|
|
10851
10869
|
protoOf(Header_0).z3h = get_textAlign;
|
|
10852
|
-
defineProp(protoOf(Header_0), 'tip', protoOf(Header_0).
|
|
10870
|
+
defineProp(protoOf(Header_0), 'tip', protoOf(Header_0).i45);
|
|
10853
10871
|
protoOf(Hero).t3c = get_content;
|
|
10854
10872
|
protoOf(Hero).getAnalyticsEvents = getAnalyticsEvents;
|
|
10855
10873
|
defineProp(protoOf(Hero), 'content', function () {
|
|
@@ -10878,8 +10896,8 @@
|
|
|
10878
10896
|
protoOf(Card_1).t3c = get_content;
|
|
10879
10897
|
protoOf(Card_1).getAnalyticsEvents = getAnalyticsEvents;
|
|
10880
10898
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).j3c);
|
|
10881
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
10882
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
10899
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).r47);
|
|
10900
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).s47);
|
|
10883
10901
|
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).k3q);
|
|
10884
10902
|
defineProp(protoOf(Card_1), 'tips', protoOf(Card_1).v3c);
|
|
10885
10903
|
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).m3r);
|
|
@@ -10887,14 +10905,14 @@
|
|
|
10887
10905
|
defineProp(protoOf(Card_1), 'content', function () {
|
|
10888
10906
|
return this.t3c();
|
|
10889
10907
|
});
|
|
10890
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
10891
|
-
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).
|
|
10892
|
-
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).
|
|
10893
|
-
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).
|
|
10894
|
-
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).
|
|
10895
|
-
protoOf(SaxXmlPullParser).
|
|
10908
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).t47);
|
|
10909
|
+
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).x47);
|
|
10910
|
+
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).y47);
|
|
10911
|
+
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).x3z);
|
|
10912
|
+
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).z47);
|
|
10913
|
+
protoOf(SaxXmlPullParser).u44 = require$default;
|
|
10896
10914
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
10897
|
-
return this.
|
|
10915
|
+
return this.j49();
|
|
10898
10916
|
});
|
|
10899
10917
|
//endregion
|
|
10900
10918
|
//region block: init
|
|
@@ -10925,7 +10943,6 @@
|
|
|
10925
10943
|
Companion_instance_37 = new Companion_36();
|
|
10926
10944
|
Companion_instance_38 = new Companion_37();
|
|
10927
10945
|
Companion_instance_39 = new Companion_38();
|
|
10928
|
-
Companion_instance_43 = new Companion_42();
|
|
10929
10946
|
Companion_instance_44 = new Companion_43();
|
|
10930
10947
|
Companion_instance_45 = new Companion_44();
|
|
10931
10948
|
Companion_instance_46 = new Companion_45();
|