@cruglobal/godtools-shared 1.1.1-PR765-SNAPSHOT.1678 → 1.1.1-PR767-SNAPSHOT.1682
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 +11 -11
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +354 -278
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +42 -7
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -1319,7 +1319,7 @@
|
|
|
1319
1319
|
while (_iterator__ex2g4s_0.k()) {
|
|
1320
1320
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
1321
1321
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
1322
|
-
var list = element_0.
|
|
1322
|
+
var list = element_0.a3e();
|
|
1323
1323
|
addAll(destination_0, list);
|
|
1324
1324
|
}
|
|
1325
1325
|
var list_0 = destination_0;
|
|
@@ -3189,7 +3189,7 @@
|
|
|
3189
3189
|
while (_iterator__ex2g4s.k()) {
|
|
3190
3190
|
var element = _iterator__ex2g4s.l();
|
|
3191
3191
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
3192
|
-
var list = element.
|
|
3192
|
+
var list = element.a3e();
|
|
3193
3193
|
addAll(destination, list);
|
|
3194
3194
|
}
|
|
3195
3195
|
return destination;
|
|
@@ -3502,7 +3502,7 @@
|
|
|
3502
3502
|
while (_iterator__ex2g4s.k()) {
|
|
3503
3503
|
var element = _iterator__ex2g4s.l();
|
|
3504
3504
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
3505
|
-
var list = element.
|
|
3505
|
+
var list = element.a3e();
|
|
3506
3506
|
addAll(destination, list);
|
|
3507
3507
|
}
|
|
3508
3508
|
return destination;
|
|
@@ -6031,7 +6031,7 @@
|
|
|
6031
6031
|
while (_iterator__ex2g4s_0.k()) {
|
|
6032
6032
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
6033
6033
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
6034
|
-
var list = element_0.
|
|
6034
|
+
var list = element_0.a3e();
|
|
6035
6035
|
addAll(destination_0, list);
|
|
6036
6036
|
}
|
|
6037
6037
|
var list_0 = destination_0;
|
|
@@ -6154,7 +6154,7 @@
|
|
|
6154
6154
|
while (_iterator__ex2g4s.k()) {
|
|
6155
6155
|
var element = _iterator__ex2g4s.l();
|
|
6156
6156
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
6157
|
-
var list = element.
|
|
6157
|
+
var list = element.a3e();
|
|
6158
6158
|
addAll(destination, list);
|
|
6159
6159
|
}
|
|
6160
6160
|
return destination;
|
|
@@ -6728,7 +6728,7 @@
|
|
|
6728
6728
|
while (_iterator__ex2g4s_0.k()) {
|
|
6729
6729
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
6730
6730
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
6731
|
-
var list = element_0.
|
|
6731
|
+
var list = element_0.a3e();
|
|
6732
6732
|
addAll(destination_0, list);
|
|
6733
6733
|
}
|
|
6734
6734
|
var list_0 = destination_0;
|
|
@@ -7621,18 +7621,18 @@
|
|
|
7621
7621
|
function Card_init_$Init$_0(page, parser, $this) {
|
|
7622
7622
|
BaseModel.call($this, page);
|
|
7623
7623
|
Card_0.call($this);
|
|
7624
|
-
$this.
|
|
7624
|
+
$this.page = page;
|
|
7625
7625
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'card');
|
|
7626
|
-
$this.
|
|
7626
|
+
$this.v3z_1 = parser.j3e('id');
|
|
7627
7627
|
var tmp = $this;
|
|
7628
7628
|
var tmp0_safe_receiver = parser.j3e('background-color');
|
|
7629
|
-
tmp.
|
|
7629
|
+
tmp.w3z_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
7630
7630
|
var tmp_0 = $this;
|
|
7631
7631
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7632
|
-
tmp_0.
|
|
7632
|
+
tmp_0.x3z_1 = ArrayList_init_$Create$();
|
|
7633
7633
|
var tmp_1 = $this;
|
|
7634
7634
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7635
|
-
tmp_1.
|
|
7635
|
+
tmp_1.y3z_1 = ArrayList_init_$Create$();
|
|
7636
7636
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7637
7637
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7638
7638
|
if (!(parser.v3c() === 2))
|
|
@@ -7641,14 +7641,14 @@
|
|
|
7641
7641
|
var tmp0_subject = parser.w3c();
|
|
7642
7642
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7643
7643
|
if (parser.q2() === 'events') {
|
|
7644
|
-
var tmp0 = $this.
|
|
7644
|
+
var tmp0 = $this.x3z_1;
|
|
7645
7645
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7646
7646
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7647
7647
|
addAll(tmp0, elements);
|
|
7648
7648
|
}
|
|
7649
7649
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7650
7650
|
if (parser.q2() === 'content') {
|
|
7651
|
-
var tmp4 = $this.
|
|
7651
|
+
var tmp4 = $this.y3z_1;
|
|
7652
7652
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7653
7653
|
// Inline function 'kotlin.collections.buildList' call
|
|
7654
7654
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7709,7 +7709,7 @@
|
|
|
7709
7709
|
return Card_init_$Init$_0(page, parser, objectCreate(protoOf(Card_0)));
|
|
7710
7710
|
}
|
|
7711
7711
|
function Companion_43() {
|
|
7712
|
-
this.
|
|
7712
|
+
this.z3z_1 = 'cardcollection';
|
|
7713
7713
|
}
|
|
7714
7714
|
var Companion_instance_44;
|
|
7715
7715
|
function Companion_getInstance_46() {
|
|
@@ -7719,13 +7719,13 @@
|
|
|
7719
7719
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7720
7720
|
CardCollectionPage.call($this);
|
|
7721
7721
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7722
|
-
Companion_getInstance_48().
|
|
7722
|
+
Companion_getInstance_48().a40(parser, 'cardcollection');
|
|
7723
7723
|
var tmp = $this;
|
|
7724
7724
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7725
|
-
tmp.
|
|
7725
|
+
tmp.t40_1 = ArrayList_init_$Create$();
|
|
7726
7726
|
var tmp_0 = $this;
|
|
7727
7727
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7728
|
-
tmp_0.
|
|
7728
|
+
tmp_0._cards = ArrayList_init_$Create$();
|
|
7729
7729
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7730
7730
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
7731
7731
|
if (!(parser.v3c() === 2))
|
|
@@ -7734,14 +7734,14 @@
|
|
|
7734
7734
|
var tmp0_subject = parser.w3c();
|
|
7735
7735
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7736
7736
|
if (parser.q2() === 'events') {
|
|
7737
|
-
var tmp0 = $this.
|
|
7737
|
+
var tmp0 = $this.t40_1;
|
|
7738
7738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7739
7739
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7740
7740
|
addAll(tmp0, elements);
|
|
7741
7741
|
}
|
|
7742
7742
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7743
7743
|
if (parser.q2() === 'cards') {
|
|
7744
|
-
var tmp2 = $this.
|
|
7744
|
+
var tmp2 = $this._cards;
|
|
7745
7745
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7746
7746
|
var elements_0 = parseCards($this, parser);
|
|
7747
7747
|
addAll(tmp2, elements_0);
|
|
@@ -7776,8 +7776,37 @@
|
|
|
7776
7776
|
}
|
|
7777
7777
|
return this_0.p3();
|
|
7778
7778
|
}
|
|
7779
|
+
protoOf(Card_0).u40 = function () {
|
|
7780
|
+
return this.page;
|
|
7781
|
+
};
|
|
7782
|
+
protoOf(Card_0).o3d = function () {
|
|
7783
|
+
var tmp0_elvis_lhs = this.v3z_1;
|
|
7784
|
+
return tmp0_elvis_lhs == null ? this.page.id + '-' + this.position : tmp0_elvis_lhs;
|
|
7785
|
+
};
|
|
7786
|
+
protoOf(Card_0).x3v = function () {
|
|
7787
|
+
return this.page._cards.r(this);
|
|
7788
|
+
};
|
|
7789
|
+
protoOf(Card_0).q3r = function () {
|
|
7790
|
+
var tmp0_elvis_lhs = this.w3z_1;
|
|
7791
|
+
return tmp0_elvis_lhs == null ? this.page.b3j() : tmp0_elvis_lhs;
|
|
7792
|
+
};
|
|
7779
7793
|
protoOf(Card_0).q3d = function () {
|
|
7780
|
-
return this.
|
|
7794
|
+
return this.y3z_1;
|
|
7795
|
+
};
|
|
7796
|
+
protoOf(Card_0).a3e = function () {
|
|
7797
|
+
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
7798
|
+
// Inline function 'kotlin.collections.flatMap' call
|
|
7799
|
+
var tmp0 = this.q3d();
|
|
7800
|
+
// Inline function 'kotlin.collections.flatMapTo' call
|
|
7801
|
+
var destination = ArrayList_init_$Create$();
|
|
7802
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
7803
|
+
while (_iterator__ex2g4s.k()) {
|
|
7804
|
+
var element = _iterator__ex2g4s.l();
|
|
7805
|
+
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
7806
|
+
var list = element.a3e();
|
|
7807
|
+
addAll(destination, list);
|
|
7808
|
+
}
|
|
7809
|
+
return destination;
|
|
7781
7810
|
};
|
|
7782
7811
|
protoOf(Card_0).r3d = function (type) {
|
|
7783
7812
|
var tmp;
|
|
@@ -7785,7 +7814,7 @@
|
|
|
7785
7814
|
case 0:
|
|
7786
7815
|
// Inline function 'kotlin.collections.filter' call
|
|
7787
7816
|
|
|
7788
|
-
var tmp0 = this.
|
|
7817
|
+
var tmp0 = this.x3z_1;
|
|
7789
7818
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7790
7819
|
|
|
7791
7820
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7803,7 +7832,7 @@
|
|
|
7803
7832
|
case 1:
|
|
7804
7833
|
// Inline function 'kotlin.collections.filter' call
|
|
7805
7834
|
|
|
7806
|
-
var tmp0_0 = this.
|
|
7835
|
+
var tmp0_0 = this.x3z_1;
|
|
7807
7836
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7808
7837
|
|
|
7809
7838
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -7830,7 +7859,15 @@
|
|
|
7830
7859
|
function Card_0() {
|
|
7831
7860
|
}
|
|
7832
7861
|
protoOf(CardCollectionPage).d3i = function () {
|
|
7833
|
-
return this.
|
|
7862
|
+
return this.t40_1;
|
|
7863
|
+
};
|
|
7864
|
+
protoOf(CardCollectionPage).v40 = function () {
|
|
7865
|
+
return this._cards;
|
|
7866
|
+
};
|
|
7867
|
+
protoOf(CardCollectionPage).w40 = function () {
|
|
7868
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7869
|
+
var this_0 = this._cards;
|
|
7870
|
+
return copyToArray(this_0);
|
|
7834
7871
|
};
|
|
7835
7872
|
function CardCollectionPage() {
|
|
7836
7873
|
}
|
|
@@ -7848,7 +7885,7 @@
|
|
|
7848
7885
|
}
|
|
7849
7886
|
}
|
|
7850
7887
|
function Companion_44() {
|
|
7851
|
-
this.
|
|
7888
|
+
this.x40_1 = 'content';
|
|
7852
7889
|
}
|
|
7853
7890
|
var Companion_instance_45;
|
|
7854
7891
|
function Companion_getInstance_47() {
|
|
@@ -7858,13 +7895,13 @@
|
|
|
7858
7895
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7859
7896
|
ContentPage.call($this);
|
|
7860
7897
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7861
|
-
Companion_getInstance_48().
|
|
7898
|
+
Companion_getInstance_48().a40(parser, 'content');
|
|
7862
7899
|
var tmp = $this;
|
|
7863
7900
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7864
|
-
tmp.
|
|
7901
|
+
tmp.q41_1 = ArrayList_init_$Create$();
|
|
7865
7902
|
var tmp_0 = $this;
|
|
7866
7903
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7867
|
-
tmp_0.
|
|
7904
|
+
tmp_0.r41_1 = ArrayList_init_$Create$();
|
|
7868
7905
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7869
7906
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7870
7907
|
if (!(parser.v3c() === 2))
|
|
@@ -7873,14 +7910,14 @@
|
|
|
7873
7910
|
var tmp0_subject = parser.w3c();
|
|
7874
7911
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7875
7912
|
if (parser.q2() === 'events') {
|
|
7876
|
-
var tmp0 = $this.
|
|
7913
|
+
var tmp0 = $this.q41_1;
|
|
7877
7914
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7878
7915
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
7879
7916
|
addAll(tmp0, elements);
|
|
7880
7917
|
}
|
|
7881
7918
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7882
7919
|
if (parser.q2() === 'content') {
|
|
7883
|
-
var tmp4 = $this.
|
|
7920
|
+
var tmp4 = $this.r41_1;
|
|
7884
7921
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7885
7922
|
// Inline function 'kotlin.collections.buildList' call
|
|
7886
7923
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7941,20 +7978,20 @@
|
|
|
7941
7978
|
return ContentPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(ContentPage)));
|
|
7942
7979
|
}
|
|
7943
7980
|
protoOf(ContentPage).d3i = function () {
|
|
7944
|
-
return this.
|
|
7981
|
+
return this.q41_1;
|
|
7945
7982
|
};
|
|
7946
7983
|
protoOf(ContentPage).q3d = function () {
|
|
7947
|
-
return this.
|
|
7984
|
+
return this.r41_1;
|
|
7948
7985
|
};
|
|
7949
7986
|
function ContentPage() {
|
|
7950
7987
|
}
|
|
7951
7988
|
function $parseCOROUTINE$1(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
7952
7989
|
CoroutineImpl.call(this, resultContinuation);
|
|
7953
|
-
this.
|
|
7954
|
-
this.
|
|
7955
|
-
this.
|
|
7956
|
-
this.
|
|
7957
|
-
this.
|
|
7990
|
+
this.a42_1 = _this__u8e3s4;
|
|
7991
|
+
this.b42_1 = container;
|
|
7992
|
+
this.c42_1 = fileName;
|
|
7993
|
+
this.d42_1 = parser;
|
|
7994
|
+
this.e42_1 = parseFile;
|
|
7958
7995
|
}
|
|
7959
7996
|
protoOf($parseCOROUTINE$1).u9 = function () {
|
|
7960
7997
|
var suspendResult = this.e9_1;
|
|
@@ -7964,35 +8001,35 @@
|
|
|
7964
8001
|
switch (tmp) {
|
|
7965
8002
|
case 0:
|
|
7966
8003
|
this.d9_1 = 3;
|
|
7967
|
-
this.
|
|
7968
|
-
this.
|
|
7969
|
-
if (this.
|
|
7970
|
-
if (!this.
|
|
8004
|
+
this.d42_1.u3c(2, null, 'page');
|
|
8005
|
+
this.f42_1 = to(this.d42_1.w3c(), this.d42_1.f3f('http://www.w3.org/2001/XMLSchema-instance', 'type'));
|
|
8006
|
+
if (this.f42_1.equals(to('https://mobile-content-api.cru.org/xmlns/page', 'page-collection'))) {
|
|
8007
|
+
if (!this.b42_1.q3l(getKClass(PageCollectionPage)))
|
|
7971
8008
|
return null;
|
|
7972
8009
|
this.c9_1 = 1;
|
|
7973
|
-
suspendResult = Companion_instance_47.m42(this.
|
|
8010
|
+
suspendResult = Companion_instance_47.m42(this.b42_1, this.c42_1, this.d42_1, this.e42_1, this);
|
|
7974
8011
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7975
8012
|
return suspendResult;
|
|
7976
8013
|
}
|
|
7977
8014
|
continue $sm;
|
|
7978
8015
|
} else {
|
|
7979
|
-
this.
|
|
8016
|
+
this.g42_1 = this.a42_1.h42(this.b42_1, this.c42_1, this.d42_1);
|
|
7980
8017
|
this.c9_1 = 2;
|
|
7981
8018
|
continue $sm;
|
|
7982
8019
|
}
|
|
7983
8020
|
|
|
7984
8021
|
case 1:
|
|
7985
|
-
this.
|
|
8022
|
+
this.g42_1 = suspendResult;
|
|
7986
8023
|
this.c9_1 = 2;
|
|
7987
8024
|
continue $sm;
|
|
7988
8025
|
case 2:
|
|
7989
|
-
var tmp1_safe_receiver = this.
|
|
8026
|
+
var tmp1_safe_receiver = this.g42_1;
|
|
7990
8027
|
var tmp_0;
|
|
7991
8028
|
if (tmp1_safe_receiver == null) {
|
|
7992
8029
|
tmp_0 = null;
|
|
7993
8030
|
} else {
|
|
7994
8031
|
var tmp_1;
|
|
7995
|
-
if (this.
|
|
8032
|
+
if (this.b42_1.q3l(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
7996
8033
|
tmp_1 = tmp1_safe_receiver;
|
|
7997
8034
|
} else {
|
|
7998
8035
|
tmp_1 = null;
|
|
@@ -8031,7 +8068,7 @@
|
|
|
8031
8068
|
tmp.f9_1 = null;
|
|
8032
8069
|
return tmp.u9();
|
|
8033
8070
|
};
|
|
8034
|
-
protoOf(Companion_45).
|
|
8071
|
+
protoOf(Companion_45).h42 = function (container, fileName, parser) {
|
|
8035
8072
|
parser.u3c(2, null, 'page');
|
|
8036
8073
|
var tmp;
|
|
8037
8074
|
switch (parser.w3c()) {
|
|
@@ -8103,7 +8140,7 @@
|
|
|
8103
8140
|
}
|
|
8104
8141
|
return tmp_1;
|
|
8105
8142
|
};
|
|
8106
|
-
protoOf(Companion_45).
|
|
8143
|
+
protoOf(Companion_45).a40 = function (_this__u8e3s4, type) {
|
|
8107
8144
|
var actual = _this__u8e3s4.f3f('http://www.w3.org/2001/XMLSchema-instance', 'type');
|
|
8108
8145
|
if (!(type === actual))
|
|
8109
8146
|
throw new XmlPullParserException('expected ' + type + ' not ' + actual);
|
|
@@ -8610,12 +8647,18 @@
|
|
|
8610
8647
|
return l;
|
|
8611
8648
|
}
|
|
8612
8649
|
function Companion_46() {
|
|
8613
|
-
this.
|
|
8614
|
-
this.
|
|
8615
|
-
this.
|
|
8616
|
-
this.
|
|
8617
|
-
this.
|
|
8650
|
+
this.i42_1 = 'page-collection';
|
|
8651
|
+
this.j42_1 = 'pages';
|
|
8652
|
+
this.k42_1 = 'import';
|
|
8653
|
+
this.l42_1 = 'filename';
|
|
8654
|
+
this.PARENT_PARAM_ACTIVE_PAGE = 'active-page';
|
|
8618
8655
|
}
|
|
8656
|
+
protoOf(Companion_46).x43 = function () {
|
|
8657
|
+
return this.i42_1;
|
|
8658
|
+
};
|
|
8659
|
+
protoOf(Companion_46).y43 = function () {
|
|
8660
|
+
return this.PARENT_PARAM_ACTIVE_PAGE;
|
|
8661
|
+
};
|
|
8619
8662
|
protoOf(Companion_46).m42 = function (container, fileName, parser, parseFile, $completion) {
|
|
8620
8663
|
var tmp = new $parseCOROUTINE$2(this, container, fileName, parser, parseFile, $completion);
|
|
8621
8664
|
tmp.e9_1 = Unit_instance;
|
|
@@ -8627,19 +8670,19 @@
|
|
|
8627
8670
|
return Companion_instance_47;
|
|
8628
8671
|
}
|
|
8629
8672
|
function _set_pages__j2nojl_0($this, _set____db54di) {
|
|
8630
|
-
return $this.
|
|
8673
|
+
return $this.t44_1.v3q($this, pages$factory_1(), _set____db54di);
|
|
8631
8674
|
}
|
|
8632
8675
|
function PageCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
8633
8676
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
8634
8677
|
PageCollectionPage.call($this);
|
|
8635
8678
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
8636
|
-
Companion_getInstance_48().
|
|
8679
|
+
Companion_getInstance_48().a40(parser, 'page-collection');
|
|
8637
8680
|
var tmp = $this;
|
|
8638
8681
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8639
|
-
tmp.
|
|
8682
|
+
tmp.r44_1 = ArrayList_init_$Create$();
|
|
8640
8683
|
var tmp_0 = $this;
|
|
8641
8684
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8642
|
-
tmp_0.
|
|
8685
|
+
tmp_0.s44_1 = ArrayList_init_$Create$();
|
|
8643
8686
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8644
8687
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
8645
8688
|
if (!(parser.v3c() === 2))
|
|
@@ -8648,14 +8691,14 @@
|
|
|
8648
8691
|
var tmp0_subject = parser.w3c();
|
|
8649
8692
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
8650
8693
|
if (parser.q2() === 'events') {
|
|
8651
|
-
var tmp0 = $this.
|
|
8694
|
+
var tmp0 = $this.r44_1;
|
|
8652
8695
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8653
8696
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
8654
8697
|
addAll(tmp0, elements);
|
|
8655
8698
|
}
|
|
8656
8699
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8657
8700
|
if (parser.q2() === 'pages') {
|
|
8658
|
-
var tmp2 = $this.
|
|
8701
|
+
var tmp2 = $this.s44_1;
|
|
8659
8702
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8660
8703
|
var elements_0 = parsePages_0(parser, $this);
|
|
8661
8704
|
addAll(tmp2, elements_0);
|
|
@@ -8685,7 +8728,7 @@
|
|
|
8685
8728
|
if (_this__u8e3s4.w3c() === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8686
8729
|
var tmp1_subject = _this__u8e3s4.q2();
|
|
8687
8730
|
if (tmp1_subject === 'page') {
|
|
8688
|
-
var tmp2_safe_receiver = Companion_getInstance_48().
|
|
8731
|
+
var tmp2_safe_receiver = Companion_getInstance_48().h42($this, null, _this__u8e3s4);
|
|
8689
8732
|
if (tmp2_safe_receiver == null)
|
|
8690
8733
|
null;
|
|
8691
8734
|
else {
|
|
@@ -8741,19 +8784,19 @@
|
|
|
8741
8784
|
};
|
|
8742
8785
|
}
|
|
8743
8786
|
function PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8744
|
-
this.
|
|
8745
|
-
this.
|
|
8746
|
-
this.
|
|
8787
|
+
this.n45_1 = this$0;
|
|
8788
|
+
this.o45_1 = $parseFile;
|
|
8789
|
+
this.p45_1 = $pageIndex$delegate;
|
|
8747
8790
|
CoroutineImpl.call(this, resultContinuation);
|
|
8748
8791
|
}
|
|
8749
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).
|
|
8792
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).r45 = function ($this$coroutineScope, $completion) {
|
|
8750
8793
|
var tmp = this.v19($this$coroutineScope, $completion);
|
|
8751
8794
|
tmp.e9_1 = Unit_instance;
|
|
8752
8795
|
tmp.f9_1 = null;
|
|
8753
8796
|
return tmp.u9();
|
|
8754
8797
|
};
|
|
8755
8798
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).ea = function (p1, $completion) {
|
|
8756
|
-
return this.
|
|
8799
|
+
return this.r45((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8757
8800
|
};
|
|
8758
8801
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).u9 = function () {
|
|
8759
8802
|
var suspendResult = this.e9_1;
|
|
@@ -8764,7 +8807,7 @@
|
|
|
8764
8807
|
case 0:
|
|
8765
8808
|
this.d9_1 = 2;
|
|
8766
8809
|
this.c9_1 = 1;
|
|
8767
|
-
var this_0 = this.
|
|
8810
|
+
var this_0 = this.n45_1.s44_1;
|
|
8768
8811
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8769
8812
|
var _iterator__ex2g4s = this_0.j();
|
|
8770
8813
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -8779,7 +8822,7 @@
|
|
|
8779
8822
|
var tmp1_elvis_lhs = tmp_0;
|
|
8780
8823
|
var tmp_1;
|
|
8781
8824
|
if (tmp1_elvis_lhs == null) {
|
|
8782
|
-
tmp_1 = async(this.
|
|
8825
|
+
tmp_1 = async(this.q45_1, VOID, VOID, PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0(item, this.n45_1, this.o45_1, this.p45_1, null));
|
|
8783
8826
|
} else {
|
|
8784
8827
|
tmp_1 = tmp1_elvis_lhs;
|
|
8785
8828
|
}
|
|
@@ -8810,22 +8853,22 @@
|
|
|
8810
8853
|
while (true);
|
|
8811
8854
|
};
|
|
8812
8855
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).v19 = function ($this$coroutineScope, completion) {
|
|
8813
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.
|
|
8814
|
-
i.
|
|
8856
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.n45_1, this.o45_1, this.p45_1, completion);
|
|
8857
|
+
i.q45_1 = $this$coroutineScope;
|
|
8815
8858
|
return i;
|
|
8816
8859
|
};
|
|
8817
8860
|
function PageCollectionPage$buildPagesFromParsedPages$slambda_0(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8818
8861
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8819
8862
|
var l = function ($this$coroutineScope, $completion) {
|
|
8820
|
-
return i.
|
|
8863
|
+
return i.r45($this$coroutineScope, $completion);
|
|
8821
8864
|
};
|
|
8822
8865
|
l.$arity = 1;
|
|
8823
8866
|
return l;
|
|
8824
8867
|
}
|
|
8825
8868
|
function $buildPagesFromParsedPagesCOROUTINE$3(_this__u8e3s4, parseFile, resultContinuation) {
|
|
8826
8869
|
CoroutineImpl.call(this, resultContinuation);
|
|
8827
|
-
this.
|
|
8828
|
-
this.
|
|
8870
|
+
this.c45_1 = _this__u8e3s4;
|
|
8871
|
+
this.d45_1 = parseFile;
|
|
8829
8872
|
}
|
|
8830
8873
|
protoOf($buildPagesFromParsedPagesCOROUTINE$3).u9 = function () {
|
|
8831
8874
|
var suspendResult = this.e9_1;
|
|
@@ -8836,9 +8879,9 @@
|
|
|
8836
8879
|
case 0:
|
|
8837
8880
|
this.d9_1 = 2;
|
|
8838
8881
|
var tmp_0 = this;
|
|
8839
|
-
tmp_0.
|
|
8882
|
+
tmp_0.e45_1 = lazy(PageCollectionPage$buildPagesFromParsedPages$lambda(this.c45_1));
|
|
8840
8883
|
this.c9_1 = 1;
|
|
8841
|
-
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.
|
|
8884
|
+
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.c45_1, this.d45_1, this.e45_1, null), this);
|
|
8842
8885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8843
8886
|
return suspendResult;
|
|
8844
8887
|
}
|
|
@@ -8846,7 +8889,7 @@
|
|
|
8846
8889
|
continue $sm;
|
|
8847
8890
|
case 1:
|
|
8848
8891
|
var ARGUMENT = suspendResult;
|
|
8849
|
-
_set_pages__j2nojl_0(this.
|
|
8892
|
+
_set_pages__j2nojl_0(this.c45_1, ARGUMENT);
|
|
8850
8893
|
return Unit_instance;
|
|
8851
8894
|
case 2:
|
|
8852
8895
|
throw this.f9_1;
|
|
@@ -8863,16 +8906,16 @@
|
|
|
8863
8906
|
while (true);
|
|
8864
8907
|
};
|
|
8865
8908
|
protoOf(PageCollectionPage).d3i = function () {
|
|
8866
|
-
return this.
|
|
8909
|
+
return this.r44_1;
|
|
8867
8910
|
};
|
|
8868
8911
|
protoOf(PageCollectionPage).p3l = function () {
|
|
8869
|
-
return this.
|
|
8912
|
+
return this.t44_1.j3s(this, pages$factory_2());
|
|
8870
8913
|
};
|
|
8871
8914
|
protoOf(PageCollectionPage).q3l = function (type) {
|
|
8872
8915
|
return type.equals(getKClass(ContentPage));
|
|
8873
8916
|
};
|
|
8874
8917
|
function PageCollectionPage() {
|
|
8875
|
-
this.
|
|
8918
|
+
this.t44_1 = setOnce();
|
|
8876
8919
|
}
|
|
8877
8920
|
function pages$factory_1() {
|
|
8878
8921
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
@@ -8904,7 +8947,7 @@
|
|
|
8904
8947
|
continue $l$loop_0;
|
|
8905
8948
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.shareable.Companion.parseShareableItems.<anonymous>.<anonymous>' call
|
|
8906
8949
|
if (_this__u8e3s4.w3c() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8907
|
-
var tmp1_safe_receiver = Companion_instance_48.
|
|
8950
|
+
var tmp1_safe_receiver = Companion_instance_48.s45(manifest, _this__u8e3s4);
|
|
8908
8951
|
if (tmp1_safe_receiver == null)
|
|
8909
8952
|
null;
|
|
8910
8953
|
else {
|
|
@@ -8919,8 +8962,8 @@
|
|
|
8919
8962
|
}
|
|
8920
8963
|
return this_0.p3();
|
|
8921
8964
|
};
|
|
8922
|
-
protoOf(Companion_47).
|
|
8923
|
-
parser.
|
|
8965
|
+
protoOf(Companion_47).s45 = function (manifest, parser) {
|
|
8966
|
+
parser.t45(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8924
8967
|
var tmp;
|
|
8925
8968
|
if (parser.w3c() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8926
8969
|
tmp = parser.q2() === 'image' ? ShareableImage_init_$Create$(manifest, parser) : null;
|
|
@@ -8936,7 +8979,7 @@
|
|
|
8936
8979
|
function Shareable_init_$Init$(parent, parser, $this) {
|
|
8937
8980
|
BaseModel.call($this, parent);
|
|
8938
8981
|
Shareable.call($this);
|
|
8939
|
-
parser.
|
|
8982
|
+
parser.t45(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8940
8983
|
$this.c3r_1 = parser.j3e('id');
|
|
8941
8984
|
var tmp = $this;
|
|
8942
8985
|
var tmp0_safe_receiver = parser.j3e('order');
|
|
@@ -8950,7 +8993,7 @@
|
|
|
8950
8993
|
function Shareable() {
|
|
8951
8994
|
}
|
|
8952
8995
|
function Companion_48() {
|
|
8953
|
-
this.
|
|
8996
|
+
this.u45_1 = 'image';
|
|
8954
8997
|
}
|
|
8955
8998
|
var Companion_instance_49;
|
|
8956
8999
|
function Companion_getInstance_51() {
|
|
@@ -8960,7 +9003,7 @@
|
|
|
8960
9003
|
Shareable_init_$Init$(manifest, parser, $this);
|
|
8961
9004
|
ShareableImage.call($this);
|
|
8962
9005
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/shareable', 'image');
|
|
8963
|
-
$this.
|
|
9006
|
+
$this.y45_1 = parser.j3e('resource');
|
|
8964
9007
|
var description = null;
|
|
8965
9008
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8966
9009
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
@@ -8975,7 +9018,7 @@
|
|
|
8975
9018
|
continue $l$loop_0;
|
|
8976
9019
|
skipTag(parser);
|
|
8977
9020
|
}
|
|
8978
|
-
$this.
|
|
9021
|
+
$this.z45_1 = description;
|
|
8979
9022
|
return $this;
|
|
8980
9023
|
}
|
|
8981
9024
|
function ShareableImage_init_$Create$(manifest, parser) {
|
|
@@ -8983,12 +9026,12 @@
|
|
|
8983
9026
|
}
|
|
8984
9027
|
protoOf(ShareableImage).o3d = function () {
|
|
8985
9028
|
var tmp0_elvis_lhs = protoOf(Shareable).o3d.call(this);
|
|
8986
|
-
return tmp0_elvis_lhs == null ? this.
|
|
9029
|
+
return tmp0_elvis_lhs == null ? this.y45_1 : tmp0_elvis_lhs;
|
|
8987
9030
|
};
|
|
8988
9031
|
function ShareableImage() {
|
|
8989
9032
|
}
|
|
8990
9033
|
function Companion_49() {
|
|
8991
|
-
this.
|
|
9034
|
+
this.a46_1 = 'tip';
|
|
8992
9035
|
}
|
|
8993
9036
|
var Companion_instance_50;
|
|
8994
9037
|
function Companion_getInstance_52() {
|
|
@@ -9018,7 +9061,7 @@
|
|
|
9018
9061
|
protoOf(InlineTip).o3d = function () {
|
|
9019
9062
|
return this.id;
|
|
9020
9063
|
};
|
|
9021
|
-
protoOf(InlineTip).
|
|
9064
|
+
protoOf(InlineTip).h46 = function () {
|
|
9022
9065
|
return this.x39().s3s(this.id);
|
|
9023
9066
|
};
|
|
9024
9067
|
protoOf(InlineTip).a3e = function () {
|
|
@@ -9033,7 +9076,7 @@
|
|
|
9033
9076
|
var Type_QUOTE_instance;
|
|
9034
9077
|
function Companion_50() {
|
|
9035
9078
|
Companion_instance_51 = this;
|
|
9036
|
-
this.
|
|
9079
|
+
this.i46_1 = Type_TIP_getInstance();
|
|
9037
9080
|
}
|
|
9038
9081
|
protoOf(Companion_50).g3m = function (_this__u8e3s4) {
|
|
9039
9082
|
switch (_this__u8e3s4) {
|
|
@@ -9078,7 +9121,7 @@
|
|
|
9078
9121
|
var tmp = $this;
|
|
9079
9122
|
var tmp0_safe_receiver = parser.f3f(null, 'type');
|
|
9080
9123
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_53().g3m(tmp0_safe_receiver);
|
|
9081
|
-
tmp.q3p_1 = tmp1_elvis_lhs == null ? Companion_getInstance_53().
|
|
9124
|
+
tmp.q3p_1 = tmp1_elvis_lhs == null ? Companion_getInstance_53().i46_1 : tmp1_elvis_lhs;
|
|
9082
9125
|
var tmp_0 = $this;
|
|
9083
9126
|
// Inline function 'kotlin.collections.buildList' call
|
|
9084
9127
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -9108,7 +9151,7 @@
|
|
|
9108
9151
|
function Tip_init_$Init$_0(manifest, id, type, $this) {
|
|
9109
9152
|
manifest = manifest === VOID ? null : manifest;
|
|
9110
9153
|
id = id === VOID ? '' : id;
|
|
9111
|
-
type = type === VOID ? Companion_getInstance_53().
|
|
9154
|
+
type = type === VOID ? Companion_getInstance_53().i46_1 : type;
|
|
9112
9155
|
BaseModel.call($this, manifest);
|
|
9113
9156
|
Tip.call($this);
|
|
9114
9157
|
$this.p3p_1 = id;
|
|
@@ -9177,7 +9220,7 @@
|
|
|
9177
9220
|
function Tip() {
|
|
9178
9221
|
}
|
|
9179
9222
|
function Companion_51() {
|
|
9180
|
-
this.
|
|
9223
|
+
this.j46_1 = 'page';
|
|
9181
9224
|
}
|
|
9182
9225
|
var Companion_instance_52;
|
|
9183
9226
|
function Companion_getInstance_54() {
|
|
@@ -9187,8 +9230,8 @@
|
|
|
9187
9230
|
BaseModel.call($this, tip);
|
|
9188
9231
|
TipPage.call($this);
|
|
9189
9232
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/training', 'page');
|
|
9190
|
-
$this.
|
|
9191
|
-
$this.
|
|
9233
|
+
$this.l46_1 = tip;
|
|
9234
|
+
$this.m46_1 = position;
|
|
9192
9235
|
var tmp = $this;
|
|
9193
9236
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
9194
9237
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9235,19 +9278,19 @@
|
|
|
9235
9278
|
continue $l$loop_0;
|
|
9236
9279
|
skipTag(parser);
|
|
9237
9280
|
}
|
|
9238
|
-
tmp.
|
|
9281
|
+
tmp.n46_1 = this_0.p3();
|
|
9239
9282
|
return $this;
|
|
9240
9283
|
}
|
|
9241
9284
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9242
9285
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9243
9286
|
}
|
|
9244
9287
|
protoOf(TipPage).q3d = function () {
|
|
9245
|
-
return this.
|
|
9288
|
+
return this.n46_1;
|
|
9246
9289
|
};
|
|
9247
9290
|
function TipPage() {
|
|
9248
9291
|
}
|
|
9249
9292
|
function Companion_52() {
|
|
9250
|
-
this.
|
|
9293
|
+
this.o46_1 = 'call-to-action';
|
|
9251
9294
|
}
|
|
9252
9295
|
var Companion_instance_53;
|
|
9253
9296
|
function Companion_getInstance_55() {
|
|
@@ -9256,10 +9299,10 @@
|
|
|
9256
9299
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9257
9300
|
BaseModel.call($this, parent);
|
|
9258
9301
|
CallToAction.call($this);
|
|
9259
|
-
$this.
|
|
9302
|
+
$this.q46_1 = parent;
|
|
9260
9303
|
$this.label = null;
|
|
9261
|
-
$this.
|
|
9262
|
-
$this.
|
|
9304
|
+
$this.r46_1 = null;
|
|
9305
|
+
$this.s46_1 = null;
|
|
9263
9306
|
return $this;
|
|
9264
9307
|
}
|
|
9265
9308
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9269,11 +9312,11 @@
|
|
|
9269
9312
|
BaseModel.call($this, page);
|
|
9270
9313
|
CallToAction.call($this);
|
|
9271
9314
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9272
|
-
$this.
|
|
9315
|
+
$this.q46_1 = page;
|
|
9273
9316
|
var tmp = $this;
|
|
9274
9317
|
var tmp0_safe_receiver = parser.j3e('control-color');
|
|
9275
|
-
tmp.
|
|
9276
|
-
$this.
|
|
9318
|
+
tmp.r46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9319
|
+
$this.s46_1 = parser.f3f('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9277
9320
|
$this.label = parseTextChild(parser, $this, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9278
9321
|
return $this;
|
|
9279
9322
|
}
|
|
@@ -9287,11 +9330,11 @@
|
|
|
9287
9330
|
tip = tip === VOID ? null : tip;
|
|
9288
9331
|
BaseModel.call($this, page);
|
|
9289
9332
|
CallToAction.call($this);
|
|
9290
|
-
$this.
|
|
9333
|
+
$this.q46_1 = page;
|
|
9291
9334
|
var tmp = $this;
|
|
9292
9335
|
tmp.label = label == null ? null : label($this);
|
|
9293
|
-
$this.
|
|
9294
|
-
$this.
|
|
9336
|
+
$this.r46_1 = controlColor;
|
|
9337
|
+
$this.s46_1 = tip;
|
|
9295
9338
|
return $this;
|
|
9296
9339
|
}
|
|
9297
9340
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
@@ -9301,19 +9344,19 @@
|
|
|
9301
9344
|
return this.label;
|
|
9302
9345
|
};
|
|
9303
9346
|
protoOf(CallToAction).q3z = function () {
|
|
9304
|
-
var tmp0_elvis_lhs = this.
|
|
9347
|
+
var tmp0_elvis_lhs = this.r46_1;
|
|
9305
9348
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
9306
9349
|
};
|
|
9307
|
-
protoOf(CallToAction).
|
|
9308
|
-
return this.
|
|
9350
|
+
protoOf(CallToAction).t46 = function () {
|
|
9351
|
+
return this.s46_1;
|
|
9309
9352
|
};
|
|
9310
|
-
protoOf(CallToAction).
|
|
9311
|
-
return this.x39().s3s(this.
|
|
9353
|
+
protoOf(CallToAction).h46 = function () {
|
|
9354
|
+
return this.x39().s3s(this.s46_1);
|
|
9312
9355
|
};
|
|
9313
9356
|
function CallToAction() {
|
|
9314
9357
|
}
|
|
9315
9358
|
function Companion_53() {
|
|
9316
|
-
this.
|
|
9359
|
+
this.u46_1 = 'header';
|
|
9317
9360
|
}
|
|
9318
9361
|
var Companion_instance_54;
|
|
9319
9362
|
function Companion_getInstance_56() {
|
|
@@ -9325,8 +9368,8 @@
|
|
|
9325
9368
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'header');
|
|
9326
9369
|
var tmp = $this;
|
|
9327
9370
|
var tmp0_safe_receiver = parser.j3e('background-color');
|
|
9328
|
-
tmp.
|
|
9329
|
-
$this.
|
|
9371
|
+
tmp.w46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9372
|
+
$this.x46_1 = parser.f3f('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9330
9373
|
var number = null;
|
|
9331
9374
|
var title = null;
|
|
9332
9375
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9353,7 +9396,7 @@
|
|
|
9353
9396
|
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
9354
9397
|
}
|
|
9355
9398
|
protoOf(Header).q3r = function () {
|
|
9356
|
-
var tmp0_elvis_lhs = this.
|
|
9399
|
+
var tmp0_elvis_lhs = this.w46_1;
|
|
9357
9400
|
return tmp0_elvis_lhs == null ? this.y3i() : tmp0_elvis_lhs;
|
|
9358
9401
|
};
|
|
9359
9402
|
protoOf(Header).w3i = function () {
|
|
@@ -9365,23 +9408,23 @@
|
|
|
9365
9408
|
protoOf(Header).v3r = function () {
|
|
9366
9409
|
return this.title;
|
|
9367
9410
|
};
|
|
9368
|
-
protoOf(Header).
|
|
9369
|
-
return this.
|
|
9411
|
+
protoOf(Header).t46 = function () {
|
|
9412
|
+
return this.x46_1;
|
|
9370
9413
|
};
|
|
9371
|
-
protoOf(Header).
|
|
9372
|
-
return this.x39().s3s(this.
|
|
9414
|
+
protoOf(Header).h46 = function () {
|
|
9415
|
+
return this.x39().s3s(this.x46_1);
|
|
9373
9416
|
};
|
|
9374
9417
|
function Header() {
|
|
9375
9418
|
}
|
|
9376
9419
|
function Companion_54() {
|
|
9377
|
-
this.
|
|
9420
|
+
this.y46_1 = 'hero';
|
|
9378
9421
|
}
|
|
9379
9422
|
var Companion_instance_55;
|
|
9380
9423
|
function Companion_getInstance_57() {
|
|
9381
9424
|
return Companion_instance_55;
|
|
9382
9425
|
}
|
|
9383
9426
|
function _get_headingParent__2ts5bv($this) {
|
|
9384
|
-
var tmp0 = $this.
|
|
9427
|
+
var tmp0 = $this.a47_1;
|
|
9385
9428
|
// Inline function 'kotlin.getValue' call
|
|
9386
9429
|
headingParent$factory();
|
|
9387
9430
|
return tmp0.h2();
|
|
@@ -9392,7 +9435,7 @@
|
|
|
9392
9435
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'hero');
|
|
9393
9436
|
var tmp = $this;
|
|
9394
9437
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9395
|
-
tmp.
|
|
9438
|
+
tmp.c47_1 = ArrayList_init_$Create$();
|
|
9396
9439
|
var heading = null;
|
|
9397
9440
|
var tmp_0 = $this;
|
|
9398
9441
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9412,7 +9455,7 @@
|
|
|
9412
9455
|
var tmp0_subject = parser.w3c();
|
|
9413
9456
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9414
9457
|
if (parser.q2() === 'events') {
|
|
9415
|
-
var tmp0 = $this.
|
|
9458
|
+
var tmp0 = $this.c47_1;
|
|
9416
9459
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9417
9460
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
9418
9461
|
addAll(tmp0, elements);
|
|
@@ -9452,7 +9495,7 @@
|
|
|
9452
9495
|
continue $l$loop_0;
|
|
9453
9496
|
skipTag(parser);
|
|
9454
9497
|
}
|
|
9455
|
-
tmp_0.
|
|
9498
|
+
tmp_0.b47_1 = this_0.p3();
|
|
9456
9499
|
$this.heading = heading;
|
|
9457
9500
|
return $this;
|
|
9458
9501
|
}
|
|
@@ -9465,10 +9508,10 @@
|
|
|
9465
9508
|
heading = heading === VOID ? null : heading;
|
|
9466
9509
|
BaseModel.call($this, page);
|
|
9467
9510
|
Hero.call($this);
|
|
9468
|
-
$this.
|
|
9511
|
+
$this.c47_1 = analyticsEvents;
|
|
9469
9512
|
var tmp = $this;
|
|
9470
9513
|
tmp.heading = heading == null ? null : heading(_get_headingParent__2ts5bv($this));
|
|
9471
|
-
$this.
|
|
9514
|
+
$this.b47_1 = emptyList();
|
|
9472
9515
|
return $this;
|
|
9473
9516
|
}
|
|
9474
9517
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -9484,14 +9527,14 @@
|
|
|
9484
9527
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
9485
9528
|
};
|
|
9486
9529
|
}
|
|
9487
|
-
protoOf(Hero).
|
|
9530
|
+
protoOf(Hero).d47 = function () {
|
|
9488
9531
|
return this.heading;
|
|
9489
9532
|
};
|
|
9490
9533
|
protoOf(Hero).q3d = function () {
|
|
9491
|
-
return this.
|
|
9534
|
+
return this.b47_1;
|
|
9492
9535
|
};
|
|
9493
9536
|
protoOf(Hero).d3i = function () {
|
|
9494
|
-
return this.
|
|
9537
|
+
return this.c47_1;
|
|
9495
9538
|
};
|
|
9496
9539
|
protoOf(Hero).r3d = function (type) {
|
|
9497
9540
|
var tmp;
|
|
@@ -9499,7 +9542,7 @@
|
|
|
9499
9542
|
case 0:
|
|
9500
9543
|
// Inline function 'kotlin.collections.filter' call
|
|
9501
9544
|
|
|
9502
|
-
var tmp0 = this.
|
|
9545
|
+
var tmp0 = this.c47_1;
|
|
9503
9546
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9504
9547
|
|
|
9505
9548
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9517,7 +9560,7 @@
|
|
|
9517
9560
|
case 1:
|
|
9518
9561
|
// Inline function 'kotlin.collections.filter' call
|
|
9519
9562
|
|
|
9520
|
-
var tmp0_0 = this.
|
|
9563
|
+
var tmp0_0 = this.c47_1;
|
|
9521
9564
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9522
9565
|
|
|
9523
9566
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9543,7 +9586,7 @@
|
|
|
9543
9586
|
};
|
|
9544
9587
|
function Hero() {
|
|
9545
9588
|
var tmp = this;
|
|
9546
|
-
tmp.
|
|
9589
|
+
tmp.a47_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
9547
9590
|
}
|
|
9548
9591
|
function headingParent$factory() {
|
|
9549
9592
|
return getPropertyCallableRef('headingParent', 1, KProperty1, function (receiver) {
|
|
@@ -9551,7 +9594,7 @@
|
|
|
9551
9594
|
}, null);
|
|
9552
9595
|
}
|
|
9553
9596
|
function Companion_55() {
|
|
9554
|
-
this.
|
|
9597
|
+
this.e47_1 = 'modal';
|
|
9555
9598
|
}
|
|
9556
9599
|
var Companion_instance_56;
|
|
9557
9600
|
function Companion_getInstance_58() {
|
|
@@ -9626,14 +9669,14 @@
|
|
|
9626
9669
|
continue $l$loop_0;
|
|
9627
9670
|
skipTag(parser);
|
|
9628
9671
|
}
|
|
9629
|
-
tmp_1.
|
|
9672
|
+
tmp_1.a48_1 = this_2.p3();
|
|
9630
9673
|
$this.title = title;
|
|
9631
9674
|
return $this;
|
|
9632
9675
|
}
|
|
9633
9676
|
function Modal_init_$Create$(parent, parser) {
|
|
9634
9677
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
9635
9678
|
}
|
|
9636
|
-
protoOf(Modal).
|
|
9679
|
+
protoOf(Modal).u40 = function () {
|
|
9637
9680
|
return this.page;
|
|
9638
9681
|
};
|
|
9639
9682
|
protoOf(Modal).o3d = function () {
|
|
@@ -9643,7 +9686,7 @@
|
|
|
9643
9686
|
return this.title;
|
|
9644
9687
|
};
|
|
9645
9688
|
protoOf(Modal).q3d = function () {
|
|
9646
|
-
return this.
|
|
9689
|
+
return this.a48_1;
|
|
9647
9690
|
};
|
|
9648
9691
|
protoOf(Modal).y3v = function () {
|
|
9649
9692
|
return this._listeners;
|
|
@@ -9683,11 +9726,11 @@
|
|
|
9683
9726
|
}
|
|
9684
9727
|
function Companion_56() {
|
|
9685
9728
|
Companion_instance_57 = this;
|
|
9686
|
-
this.
|
|
9687
|
-
this.
|
|
9688
|
-
this.
|
|
9689
|
-
this.
|
|
9690
|
-
this.
|
|
9729
|
+
this.b48_1 = 'card';
|
|
9730
|
+
this.c48_1 = 'label';
|
|
9731
|
+
this.d48_1 = 'hidden';
|
|
9732
|
+
this.e48_1 = ImageScaleType_FILL_X_getInstance();
|
|
9733
|
+
this.f48_1 = Companion_getInstance_22().CENTER;
|
|
9691
9734
|
}
|
|
9692
9735
|
var Companion_instance_57;
|
|
9693
9736
|
function Companion_getInstance_59() {
|
|
@@ -9696,7 +9739,7 @@
|
|
|
9696
9739
|
return Companion_instance_57;
|
|
9697
9740
|
}
|
|
9698
9741
|
function _get_labelParent__664ln7($this) {
|
|
9699
|
-
var tmp0 = $this.
|
|
9742
|
+
var tmp0 = $this.m48_1;
|
|
9700
9743
|
// Inline function 'kotlin.getValue' call
|
|
9701
9744
|
labelParent$factory();
|
|
9702
9745
|
return tmp0.h2();
|
|
@@ -9723,22 +9766,22 @@
|
|
|
9723
9766
|
tmp_1._dismissListeners = toSet_0(tmp$ret$1);
|
|
9724
9767
|
var tmp_2 = $this;
|
|
9725
9768
|
var tmp2_safe_receiver = parser.j3e('background-color');
|
|
9726
|
-
tmp_2.
|
|
9727
|
-
$this.
|
|
9769
|
+
tmp_2.h48_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
9770
|
+
$this.i48_1 = parser.j3e('background-image');
|
|
9728
9771
|
var tmp_3 = $this;
|
|
9729
9772
|
var tmp3_safe_receiver = parser.j3e('background-image-align');
|
|
9730
9773
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().s3h(tmp3_safe_receiver);
|
|
9731
|
-
tmp_3.
|
|
9774
|
+
tmp_3.j48_1 = tmp4_elvis_lhs == null ? Companion_getInstance_59().f48_1 : tmp4_elvis_lhs;
|
|
9732
9775
|
var tmp_4 = $this;
|
|
9733
9776
|
var tmp5_safe_receiver = parser.j3e('background-image-scale-type');
|
|
9734
9777
|
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.e3m(tmp5_safe_receiver);
|
|
9735
|
-
tmp_4.
|
|
9778
|
+
tmp_4.k48_1 = tmp6_elvis_lhs == null ? Companion_getInstance_59().e48_1 : tmp6_elvis_lhs;
|
|
9736
9779
|
var tmp_5 = $this;
|
|
9737
9780
|
var tmp7_safe_receiver = parser.j3e('text-color');
|
|
9738
|
-
tmp_5.
|
|
9781
|
+
tmp_5.l48_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
9739
9782
|
var tmp_6 = $this;
|
|
9740
9783
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9741
|
-
tmp_6.
|
|
9784
|
+
tmp_6.o48_1 = ArrayList_init_$Create$();
|
|
9742
9785
|
var label = null;
|
|
9743
9786
|
var tmp_7 = $this;
|
|
9744
9787
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9758,7 +9801,7 @@
|
|
|
9758
9801
|
var tmp0_subject = parser.w3c();
|
|
9759
9802
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9760
9803
|
if (parser.q2() === 'events') {
|
|
9761
|
-
var tmp0 = $this.
|
|
9804
|
+
var tmp0 = $this.o48_1;
|
|
9762
9805
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9763
9806
|
var elements = Companion_instance_4.y3c(parser, $this);
|
|
9764
9807
|
addAll(tmp0, elements);
|
|
@@ -9798,7 +9841,7 @@
|
|
|
9798
9841
|
continue $l$loop_0;
|
|
9799
9842
|
skipTag(parser);
|
|
9800
9843
|
}
|
|
9801
|
-
tmp_7.
|
|
9844
|
+
tmp_7.n48_1 = this_2.p3();
|
|
9802
9845
|
$this.label = label;
|
|
9803
9846
|
return $this;
|
|
9804
9847
|
}
|
|
@@ -9810,8 +9853,8 @@
|
|
|
9810
9853
|
position = position === VOID ? 0 : position;
|
|
9811
9854
|
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9812
9855
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9813
|
-
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_59().
|
|
9814
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_59().
|
|
9856
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_59().f48_1 : backgroundImageGravity;
|
|
9857
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_59().e48_1 : backgroundImageScaleType;
|
|
9815
9858
|
isHidden = isHidden === VOID ? false : isHidden;
|
|
9816
9859
|
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9817
9860
|
label = label === VOID ? null : label;
|
|
@@ -9823,18 +9866,18 @@
|
|
|
9823
9866
|
$this.isHidden = isHidden;
|
|
9824
9867
|
$this._listeners = emptySet();
|
|
9825
9868
|
$this._dismissListeners = emptySet();
|
|
9826
|
-
$this.
|
|
9827
|
-
$this.
|
|
9828
|
-
$this.
|
|
9829
|
-
$this.
|
|
9830
|
-
$this.
|
|
9831
|
-
$this.
|
|
9869
|
+
$this.o48_1 = analyticsEvents;
|
|
9870
|
+
$this.h48_1 = backgroundColor;
|
|
9871
|
+
$this.i48_1 = backgroundImage;
|
|
9872
|
+
$this.j48_1 = backgroundImageGravity;
|
|
9873
|
+
$this.k48_1 = backgroundImageScaleType;
|
|
9874
|
+
$this.l48_1 = null;
|
|
9832
9875
|
var tmp = $this;
|
|
9833
9876
|
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9834
9877
|
var tmp_0 = $this;
|
|
9835
9878
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
9836
9879
|
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9837
|
-
tmp_0.
|
|
9880
|
+
tmp_0.n48_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9838
9881
|
return $this;
|
|
9839
9882
|
}
|
|
9840
9883
|
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
@@ -9856,7 +9899,7 @@
|
|
|
9856
9899
|
parser.u3c(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'page');
|
|
9857
9900
|
var tmp = $this;
|
|
9858
9901
|
var tmp0_safe_receiver = parser.j3e('card-text-color');
|
|
9859
|
-
tmp.
|
|
9902
|
+
tmp.y47_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9860
9903
|
var header = null;
|
|
9861
9904
|
var hero = null;
|
|
9862
9905
|
var tmp_0 = $this;
|
|
@@ -9928,7 +9971,7 @@
|
|
|
9928
9971
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
9929
9972
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, VOID, VOID, textColor, textScale, $this);
|
|
9930
9973
|
TractPage.call($this);
|
|
9931
|
-
$this.
|
|
9974
|
+
$this.y47_1 = cardTextColor;
|
|
9932
9975
|
$this.header = null;
|
|
9933
9976
|
$this.hero = null;
|
|
9934
9977
|
var tmp = $this;
|
|
@@ -9944,7 +9987,7 @@
|
|
|
9944
9987
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
9945
9988
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
9946
9989
|
}
|
|
9947
|
-
protoOf(Card_1).
|
|
9990
|
+
protoOf(Card_1).u40 = function () {
|
|
9948
9991
|
return this.page;
|
|
9949
9992
|
};
|
|
9950
9993
|
protoOf(Card_1).o3d = function () {
|
|
@@ -9953,7 +9996,7 @@
|
|
|
9953
9996
|
protoOf(Card_1).x3v = function () {
|
|
9954
9997
|
return this.position;
|
|
9955
9998
|
};
|
|
9956
|
-
protoOf(Card_1).
|
|
9999
|
+
protoOf(Card_1).p48 = function () {
|
|
9957
10000
|
// Inline function 'kotlin.takeUnless' call
|
|
9958
10001
|
var this_0 = this.page.visibleCards.r(this);
|
|
9959
10002
|
var tmp;
|
|
@@ -9965,7 +10008,7 @@
|
|
|
9965
10008
|
}
|
|
9966
10009
|
return tmp;
|
|
9967
10010
|
};
|
|
9968
|
-
protoOf(Card_1).
|
|
10011
|
+
protoOf(Card_1).q48 = function () {
|
|
9969
10012
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
9970
10013
|
};
|
|
9971
10014
|
protoOf(Card_1).p3z = function () {
|
|
@@ -9978,27 +10021,27 @@
|
|
|
9978
10021
|
return this._dismissListeners;
|
|
9979
10022
|
};
|
|
9980
10023
|
protoOf(Card_1).q3r = function () {
|
|
9981
|
-
var tmp0_elvis_lhs = this.
|
|
10024
|
+
var tmp0_elvis_lhs = this.h48_1;
|
|
9982
10025
|
return tmp0_elvis_lhs == null ? this.page.b3j() : tmp0_elvis_lhs;
|
|
9983
10026
|
};
|
|
9984
10027
|
protoOf(Card_1).r3r = function () {
|
|
9985
|
-
return getResource(this, this.
|
|
10028
|
+
return getResource(this, this.i48_1);
|
|
9986
10029
|
};
|
|
9987
10030
|
protoOf(Card_1).s3r = function () {
|
|
9988
|
-
return this.
|
|
10031
|
+
return this.j48_1;
|
|
9989
10032
|
};
|
|
9990
10033
|
protoOf(Card_1).t3r = function () {
|
|
9991
|
-
return this.
|
|
10034
|
+
return this.k48_1;
|
|
9992
10035
|
};
|
|
9993
10036
|
protoOf(Card_1).w3i = function () {
|
|
9994
|
-
var tmp0_elvis_lhs = this.
|
|
10037
|
+
var tmp0_elvis_lhs = this.l48_1;
|
|
9995
10038
|
return tmp0_elvis_lhs == null ? this.page.cardTextColor : tmp0_elvis_lhs;
|
|
9996
10039
|
};
|
|
9997
10040
|
protoOf(Card_1).r3m = function () {
|
|
9998
10041
|
return this.label;
|
|
9999
10042
|
};
|
|
10000
10043
|
protoOf(Card_1).q3d = function () {
|
|
10001
|
-
return this.
|
|
10044
|
+
return this.n48_1;
|
|
10002
10045
|
};
|
|
10003
10046
|
protoOf(Card_1).a3e = function () {
|
|
10004
10047
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -10010,13 +10053,13 @@
|
|
|
10010
10053
|
while (_iterator__ex2g4s.k()) {
|
|
10011
10054
|
var element = _iterator__ex2g4s.l();
|
|
10012
10055
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.<get-contentTips>.<anonymous>' call
|
|
10013
|
-
var list = element.
|
|
10056
|
+
var list = element.a3e();
|
|
10014
10057
|
addAll(destination, list);
|
|
10015
10058
|
}
|
|
10016
10059
|
return destination;
|
|
10017
10060
|
};
|
|
10018
10061
|
protoOf(Card_1).d3i = function () {
|
|
10019
|
-
return this.
|
|
10062
|
+
return this.o48_1;
|
|
10020
10063
|
};
|
|
10021
10064
|
protoOf(Card_1).r3d = function (type) {
|
|
10022
10065
|
var tmp;
|
|
@@ -10024,7 +10067,7 @@
|
|
|
10024
10067
|
case 0:
|
|
10025
10068
|
// Inline function 'kotlin.collections.filter' call
|
|
10026
10069
|
|
|
10027
|
-
var tmp0 = this.
|
|
10070
|
+
var tmp0 = this.o48_1;
|
|
10028
10071
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10029
10072
|
|
|
10030
10073
|
var destination = ArrayList_init_$Create$();
|
|
@@ -10042,7 +10085,7 @@
|
|
|
10042
10085
|
case 1:
|
|
10043
10086
|
// Inline function 'kotlin.collections.filter' call
|
|
10044
10087
|
|
|
10045
|
-
var tmp0_0 = this.
|
|
10088
|
+
var tmp0_0 = this.o48_1;
|
|
10046
10089
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10047
10090
|
|
|
10048
10091
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -10079,7 +10122,7 @@
|
|
|
10079
10122
|
function Card_1() {
|
|
10080
10123
|
Companion_getInstance_59();
|
|
10081
10124
|
var tmp = this;
|
|
10082
|
-
tmp.
|
|
10125
|
+
tmp.m48_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
10083
10126
|
}
|
|
10084
10127
|
function parseCardsXml(_this__u8e3s4, $this) {
|
|
10085
10128
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -10127,22 +10170,22 @@
|
|
|
10127
10170
|
}
|
|
10128
10171
|
return this_0.p3();
|
|
10129
10172
|
}
|
|
10130
|
-
protoOf(TractPage).
|
|
10173
|
+
protoOf(TractPage).r48 = function () {
|
|
10131
10174
|
return equals(lastOrNull(this.x39().p3l()), this);
|
|
10132
10175
|
};
|
|
10133
10176
|
protoOf(TractPage).d3i = function () {
|
|
10134
|
-
return this.
|
|
10177
|
+
return this.x47_1;
|
|
10135
10178
|
};
|
|
10136
10179
|
protoOf(TractPage).p3d = function () {
|
|
10137
10180
|
return this.header;
|
|
10138
10181
|
};
|
|
10139
|
-
protoOf(TractPage).
|
|
10182
|
+
protoOf(TractPage).s48 = function () {
|
|
10140
10183
|
return this.hero;
|
|
10141
10184
|
};
|
|
10142
|
-
protoOf(TractPage).
|
|
10185
|
+
protoOf(TractPage).t48 = function () {
|
|
10143
10186
|
return this._modals;
|
|
10144
10187
|
};
|
|
10145
|
-
protoOf(TractPage).
|
|
10188
|
+
protoOf(TractPage).u48 = function () {
|
|
10146
10189
|
return this.callToAction;
|
|
10147
10190
|
};
|
|
10148
10191
|
protoOf(TractPage).findModal = function (id) {
|
|
@@ -10163,7 +10206,7 @@
|
|
|
10163
10206
|
}
|
|
10164
10207
|
return tmp$ret$1;
|
|
10165
10208
|
};
|
|
10166
|
-
protoOf(TractPage).
|
|
10209
|
+
protoOf(TractPage).v40 = function () {
|
|
10167
10210
|
return this._cards;
|
|
10168
10211
|
};
|
|
10169
10212
|
protoOf(TractPage).v48 = function () {
|
|
@@ -10182,21 +10225,21 @@
|
|
|
10182
10225
|
return destination;
|
|
10183
10226
|
};
|
|
10184
10227
|
protoOf(TractPage).w48 = function () {
|
|
10185
|
-
var tmp0_elvis_lhs = this.
|
|
10228
|
+
var tmp0_elvis_lhs = this.y47_1;
|
|
10186
10229
|
return tmp0_elvis_lhs == null ? this.w3i() : tmp0_elvis_lhs;
|
|
10187
10230
|
};
|
|
10188
|
-
protoOf(TractPage).
|
|
10231
|
+
protoOf(TractPage).w40 = function () {
|
|
10189
10232
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10190
10233
|
var this_0 = this._cards;
|
|
10191
10234
|
return copyToArray(this_0);
|
|
10192
10235
|
};
|
|
10193
|
-
protoOf(TractPage).
|
|
10236
|
+
protoOf(TractPage).x48 = function () {
|
|
10194
10237
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10195
10238
|
var this_0 = this._modals;
|
|
10196
10239
|
return copyToArray(this_0);
|
|
10197
10240
|
};
|
|
10198
10241
|
function TractPage() {
|
|
10199
|
-
this.
|
|
10242
|
+
this.x47_1 = emptyList();
|
|
10200
10243
|
}
|
|
10201
10244
|
function labelParent$factory() {
|
|
10202
10245
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
@@ -10207,7 +10250,7 @@
|
|
|
10207
10250
|
return new FlowWatcher(launchIn(onEach(_this__u8e3s4, FlowWatcher$Companion$watchIn$slambda_0(block, null)), scope));
|
|
10208
10251
|
}
|
|
10209
10252
|
function FlowWatcher$Companion$watchIn$slambda($block, resultContinuation) {
|
|
10210
|
-
this.
|
|
10253
|
+
this.g49_1 = $block;
|
|
10211
10254
|
CoroutineImpl.call(this, resultContinuation);
|
|
10212
10255
|
}
|
|
10213
10256
|
protoOf(FlowWatcher$Companion$watchIn$slambda).g1a = function (it, $completion) {
|
|
@@ -10226,7 +10269,7 @@
|
|
|
10226
10269
|
var tmp = this.c9_1;
|
|
10227
10270
|
if (tmp === 0) {
|
|
10228
10271
|
this.d9_1 = 1;
|
|
10229
|
-
this.
|
|
10272
|
+
this.g49_1(this.h49_1);
|
|
10230
10273
|
return Unit_instance;
|
|
10231
10274
|
} else if (tmp === 1) {
|
|
10232
10275
|
throw this.f9_1;
|
|
@@ -10238,8 +10281,8 @@
|
|
|
10238
10281
|
while (true);
|
|
10239
10282
|
};
|
|
10240
10283
|
protoOf(FlowWatcher$Companion$watchIn$slambda).h1a = function (it, completion) {
|
|
10241
|
-
var i = new FlowWatcher$Companion$watchIn$slambda(this.
|
|
10242
|
-
i.
|
|
10284
|
+
var i = new FlowWatcher$Companion$watchIn$slambda(this.g49_1, completion);
|
|
10285
|
+
i.h49_1 = it;
|
|
10243
10286
|
return i;
|
|
10244
10287
|
};
|
|
10245
10288
|
function FlowWatcher$Companion$watchIn$slambda_0($block, resultContinuation) {
|
|
@@ -10260,10 +10303,10 @@
|
|
|
10260
10303
|
return Companion_instance_58;
|
|
10261
10304
|
}
|
|
10262
10305
|
function FlowWatcher(job) {
|
|
10263
|
-
this.
|
|
10306
|
+
this.i49_1 = job;
|
|
10264
10307
|
}
|
|
10265
10308
|
protoOf(FlowWatcher).close = function () {
|
|
10266
|
-
return this.
|
|
10309
|
+
return this.i49_1.pm();
|
|
10267
10310
|
};
|
|
10268
10311
|
function get_REGEX_SEQUENCE_SEPARATOR() {
|
|
10269
10312
|
_init_properties_Regex_kt__v9a4ph();
|
|
@@ -10291,33 +10334,33 @@
|
|
|
10291
10334
|
return EMPTY_instance;
|
|
10292
10335
|
}
|
|
10293
10336
|
function SetOnceProperty() {
|
|
10294
|
-
this.
|
|
10337
|
+
this.j49_1 = EMPTY_instance;
|
|
10295
10338
|
}
|
|
10296
|
-
protoOf(SetOnceProperty).
|
|
10339
|
+
protoOf(SetOnceProperty).k49 = function (thisRef, property) {
|
|
10297
10340
|
// Inline function 'kotlin.check' call
|
|
10298
|
-
if (!!(this.
|
|
10341
|
+
if (!!(this.j49_1 === EMPTY_instance)) {
|
|
10299
10342
|
// Inline function 'org.cru.godtools.shared.tool.parser.util.SetOnceProperty.getValue.<anonymous>' call
|
|
10300
10343
|
var message = "Value isn't initialized";
|
|
10301
10344
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10302
10345
|
}
|
|
10303
|
-
var tmp = this.
|
|
10346
|
+
var tmp = this.j49_1;
|
|
10304
10347
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
10305
10348
|
};
|
|
10306
10349
|
protoOf(SetOnceProperty).j3s = function (thisRef, property) {
|
|
10307
|
-
return this.
|
|
10350
|
+
return this.k49(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
10308
10351
|
};
|
|
10309
|
-
protoOf(SetOnceProperty).
|
|
10352
|
+
protoOf(SetOnceProperty).l49 = function (thisRef, property, value) {
|
|
10310
10353
|
// Inline function 'kotlin.check' call
|
|
10311
|
-
if (!(this.
|
|
10354
|
+
if (!(this.j49_1 === EMPTY_instance)) {
|
|
10312
10355
|
// Inline function 'org.cru.godtools.shared.tool.parser.util.SetOnceProperty.setValue.<anonymous>' call
|
|
10313
10356
|
var message = 'Value is initialized';
|
|
10314
10357
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10315
10358
|
}
|
|
10316
|
-
this.
|
|
10359
|
+
this.j49_1 = value;
|
|
10317
10360
|
};
|
|
10318
10361
|
protoOf(SetOnceProperty).v3q = function (thisRef, property, value) {
|
|
10319
10362
|
var tmp = !(thisRef == null) ? thisRef : THROW_CCE();
|
|
10320
|
-
return this.
|
|
10363
|
+
return this.l49(tmp, property, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
10321
10364
|
};
|
|
10322
10365
|
function get_hasUriScheme(_this__u8e3s4) {
|
|
10323
10366
|
return contains_1(_this__u8e3s4, _Char___init__impl__6a9atx(58));
|
|
@@ -10332,15 +10375,15 @@
|
|
|
10332
10375
|
}
|
|
10333
10376
|
function QName(uri, local) {
|
|
10334
10377
|
uri = uri === VOID ? null : uri;
|
|
10335
|
-
this.
|
|
10336
|
-
this.
|
|
10378
|
+
this.m49_1 = uri;
|
|
10379
|
+
this.n49_1 = local;
|
|
10337
10380
|
}
|
|
10338
10381
|
protoOf(QName).toString = function () {
|
|
10339
|
-
return 'QName(uri=' + this.
|
|
10382
|
+
return 'QName(uri=' + this.m49_1 + ', local=' + this.n49_1 + ')';
|
|
10340
10383
|
};
|
|
10341
10384
|
protoOf(QName).hashCode = function () {
|
|
10342
|
-
var result = this.
|
|
10343
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
10385
|
+
var result = this.m49_1 == null ? 0 : getStringHashCode(this.m49_1);
|
|
10386
|
+
result = imul(result, 31) + getStringHashCode(this.n49_1) | 0;
|
|
10344
10387
|
return result;
|
|
10345
10388
|
};
|
|
10346
10389
|
protoOf(QName).equals = function (other) {
|
|
@@ -10349,9 +10392,9 @@
|
|
|
10349
10392
|
if (!(other instanceof QName))
|
|
10350
10393
|
return false;
|
|
10351
10394
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
10352
|
-
if (!(this.
|
|
10395
|
+
if (!(this.m49_1 == tmp0_other_with_cast.m49_1))
|
|
10353
10396
|
return false;
|
|
10354
|
-
if (!(this.
|
|
10397
|
+
if (!(this.n49_1 === tmp0_other_with_cast.n49_1))
|
|
10355
10398
|
return false;
|
|
10356
10399
|
return true;
|
|
10357
10400
|
};
|
|
@@ -10359,52 +10402,52 @@
|
|
|
10359
10402
|
qname = qname === VOID ? null : qname;
|
|
10360
10403
|
content = content === VOID ? null : content;
|
|
10361
10404
|
attrs = attrs === VOID ? null : attrs;
|
|
10362
|
-
this.
|
|
10363
|
-
this.
|
|
10364
|
-
this.
|
|
10365
|
-
this.
|
|
10405
|
+
this.o49_1 = type;
|
|
10406
|
+
this.p49_1 = qname;
|
|
10407
|
+
this.q49_1 = content;
|
|
10408
|
+
this.r49_1 = attrs;
|
|
10366
10409
|
}
|
|
10367
10410
|
function enqueueEvent($this, event) {
|
|
10368
10411
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
10369
|
-
var this_0 = $this.
|
|
10412
|
+
var this_0 = $this.u49_1;
|
|
10370
10413
|
if (charSequenceLength(this_0) > 0) {
|
|
10371
|
-
var tmp1 = $this.
|
|
10414
|
+
var tmp1 = $this.t49_1;
|
|
10372
10415
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10373
|
-
var element = new ParserEvent(4, VOID, $this.
|
|
10416
|
+
var element = new ParserEvent(4, VOID, $this.u49_1.toString());
|
|
10374
10417
|
tmp1.e(element);
|
|
10375
|
-
$this.
|
|
10418
|
+
$this.u49_1.gc();
|
|
10376
10419
|
}
|
|
10377
10420
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10378
|
-
$this.
|
|
10421
|
+
$this.t49_1.e(event);
|
|
10379
10422
|
}
|
|
10380
10423
|
function SaxXmlPullParser() {
|
|
10381
|
-
this.
|
|
10424
|
+
this.s49_1 = new ParserEvent(0);
|
|
10382
10425
|
var tmp = this;
|
|
10383
10426
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10384
|
-
tmp.
|
|
10385
|
-
this.
|
|
10427
|
+
tmp.t49_1 = ArrayList_init_$Create$();
|
|
10428
|
+
this.u49_1 = StringBuilder_init_$Create$();
|
|
10386
10429
|
}
|
|
10387
10430
|
protoOf(SaxXmlPullParser).v3c = function () {
|
|
10388
|
-
return this.
|
|
10431
|
+
return this.s49_1.o49_1;
|
|
10389
10432
|
};
|
|
10390
10433
|
protoOf(SaxXmlPullParser).w3c = function () {
|
|
10391
|
-
var tmp0_safe_receiver = this.
|
|
10392
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10434
|
+
var tmp0_safe_receiver = this.s49_1.p49_1;
|
|
10435
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m49_1;
|
|
10393
10436
|
};
|
|
10394
10437
|
protoOf(SaxXmlPullParser).q2 = function () {
|
|
10395
|
-
var tmp0_safe_receiver = this.
|
|
10396
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10438
|
+
var tmp0_safe_receiver = this.s49_1.p49_1;
|
|
10439
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n49_1;
|
|
10397
10440
|
};
|
|
10398
10441
|
protoOf(SaxXmlPullParser).u3c = function (type, namespace, name) {
|
|
10399
10442
|
// Inline function 'kotlin.with' call
|
|
10400
10443
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.require.<anonymous>' call
|
|
10401
|
-
var $this$with = this.
|
|
10402
|
-
if (!($this$with.
|
|
10444
|
+
var $this$with = this.s49_1;
|
|
10445
|
+
if (!($this$with.o49_1 === type))
|
|
10403
10446
|
throw new XmlPullParserException('expected ' + type);
|
|
10404
10447
|
var tmp;
|
|
10405
10448
|
if (!(namespace == null)) {
|
|
10406
|
-
var tmp0_safe_receiver = $this$with.
|
|
10407
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10449
|
+
var tmp0_safe_receiver = $this$with.p49_1;
|
|
10450
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m49_1));
|
|
10408
10451
|
} else {
|
|
10409
10452
|
tmp = false;
|
|
10410
10453
|
}
|
|
@@ -10412,8 +10455,8 @@
|
|
|
10412
10455
|
throw new XmlPullParserException('expected ' + namespace);
|
|
10413
10456
|
var tmp_0;
|
|
10414
10457
|
if (!(name == null)) {
|
|
10415
|
-
var tmp1_safe_receiver = $this$with.
|
|
10416
|
-
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
10458
|
+
var tmp1_safe_receiver = $this$with.p49_1;
|
|
10459
|
+
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n49_1) == name);
|
|
10417
10460
|
} else {
|
|
10418
10461
|
tmp_0 = false;
|
|
10419
10462
|
}
|
|
@@ -10423,16 +10466,16 @@
|
|
|
10423
10466
|
};
|
|
10424
10467
|
protoOf(SaxXmlPullParser).l = function () {
|
|
10425
10468
|
// Inline function 'kotlin.also' call
|
|
10426
|
-
var this_0 = removeFirst(this.
|
|
10469
|
+
var this_0 = removeFirst(this.t49_1);
|
|
10427
10470
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.next.<anonymous>' call
|
|
10428
|
-
this.
|
|
10429
|
-
return this_0.
|
|
10471
|
+
this.s49_1 = this_0;
|
|
10472
|
+
return this_0.o49_1;
|
|
10430
10473
|
};
|
|
10431
10474
|
protoOf(SaxXmlPullParser).m3a = function () {
|
|
10432
10475
|
var tmp;
|
|
10433
10476
|
if (this.l() === 4) {
|
|
10434
10477
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
10435
|
-
var this_0 = this.
|
|
10478
|
+
var this_0 = this.s49_1.q49_1;
|
|
10436
10479
|
tmp = this_0 == null || isBlank(this_0);
|
|
10437
10480
|
} else {
|
|
10438
10481
|
tmp = false;
|
|
@@ -10440,20 +10483,20 @@
|
|
|
10440
10483
|
if (tmp) {
|
|
10441
10484
|
this.l();
|
|
10442
10485
|
}
|
|
10443
|
-
var event = this.
|
|
10444
|
-
if (!(event.
|
|
10445
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
10486
|
+
var event = this.s49_1;
|
|
10487
|
+
if (!(event.o49_1 === 2) && !(event.o49_1 === 3)) {
|
|
10488
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.o49_1);
|
|
10446
10489
|
}
|
|
10447
|
-
return event.
|
|
10490
|
+
return event.o49_1;
|
|
10448
10491
|
};
|
|
10449
10492
|
protoOf(SaxXmlPullParser).h3w = function () {
|
|
10450
|
-
this.
|
|
10493
|
+
this.t45(2);
|
|
10451
10494
|
var tmp;
|
|
10452
10495
|
switch (this.l()) {
|
|
10453
10496
|
case 4:
|
|
10454
10497
|
// Inline function 'kotlin.text.orEmpty' call
|
|
10455
10498
|
|
|
10456
|
-
var tmp0_elvis_lhs = this.
|
|
10499
|
+
var tmp0_elvis_lhs = this.s49_1.q49_1;
|
|
10457
10500
|
// Inline function 'kotlin.also' call
|
|
10458
10501
|
|
|
10459
10502
|
var this_0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
@@ -10477,10 +10520,10 @@
|
|
|
10477
10520
|
};
|
|
10478
10521
|
protoOf(SaxXmlPullParser).f3f = function (namespace, name) {
|
|
10479
10522
|
// Inline function 'kotlin.takeIf' call
|
|
10480
|
-
var this_0 = this.
|
|
10523
|
+
var this_0 = this.s49_1;
|
|
10481
10524
|
var tmp;
|
|
10482
10525
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.getAttributeValue.<anonymous>' call
|
|
10483
|
-
if (this_0.
|
|
10526
|
+
if (this_0.o49_1 === 2) {
|
|
10484
10527
|
tmp = this_0;
|
|
10485
10528
|
} else {
|
|
10486
10529
|
tmp = null;
|
|
@@ -10493,16 +10536,16 @@
|
|
|
10493
10536
|
tmp_0 = tmp0_elvis_lhs;
|
|
10494
10537
|
}
|
|
10495
10538
|
var event = tmp_0;
|
|
10496
|
-
var tmp1_safe_receiver = event.
|
|
10539
|
+
var tmp1_safe_receiver = event.r49_1;
|
|
10497
10540
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k2(new QName(namespace, name));
|
|
10498
10541
|
};
|
|
10499
|
-
protoOf(SaxXmlPullParser).
|
|
10542
|
+
protoOf(SaxXmlPullParser).v49 = function (qname, attrs) {
|
|
10500
10543
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
10501
10544
|
};
|
|
10502
|
-
protoOf(SaxXmlPullParser).
|
|
10503
|
-
this.
|
|
10545
|
+
protoOf(SaxXmlPullParser).w49 = function (text) {
|
|
10546
|
+
this.u49_1.n8(text);
|
|
10504
10547
|
};
|
|
10505
|
-
protoOf(SaxXmlPullParser).
|
|
10548
|
+
protoOf(SaxXmlPullParser).x49 = function (qname) {
|
|
10506
10549
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
10507
10550
|
};
|
|
10508
10551
|
function XmlPullParser() {
|
|
@@ -10545,26 +10588,26 @@
|
|
|
10545
10588
|
}
|
|
10546
10589
|
var SAX_OPTIONS;
|
|
10547
10590
|
function InternalSAXParser($outer) {
|
|
10548
|
-
this.
|
|
10591
|
+
this.y49_1 = $outer;
|
|
10549
10592
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
10550
10593
|
}
|
|
10551
|
-
protoOf(InternalSAXParser).
|
|
10552
|
-
return this.
|
|
10594
|
+
protoOf(InternalSAXParser).z49 = function (tag) {
|
|
10595
|
+
return this.y49_1.v49(new QName(tag.uri, tag.local), convert(tag.attributes, this.y49_1));
|
|
10553
10596
|
};
|
|
10554
10597
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
10555
|
-
return this.
|
|
10598
|
+
return this.z49(tag);
|
|
10556
10599
|
};
|
|
10557
|
-
protoOf(InternalSAXParser).
|
|
10558
|
-
return this.
|
|
10600
|
+
protoOf(InternalSAXParser).a4a = function (tagName) {
|
|
10601
|
+
return this.y49_1.x49(new QName(VOID, tagName));
|
|
10559
10602
|
};
|
|
10560
10603
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
10561
|
-
return this.
|
|
10604
|
+
return this.a4a(tagName);
|
|
10562
10605
|
};
|
|
10563
|
-
protoOf(InternalSAXParser).
|
|
10564
|
-
return this.
|
|
10606
|
+
protoOf(InternalSAXParser).b4a = function (t) {
|
|
10607
|
+
return this.y49_1.w49(t);
|
|
10565
10608
|
};
|
|
10566
10609
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
10567
|
-
return this.
|
|
10610
|
+
return this.b4a(t);
|
|
10568
10611
|
};
|
|
10569
10612
|
function convert(_this__u8e3s4, $this) {
|
|
10570
10613
|
var tmp = Object.values;
|
|
@@ -10612,13 +10655,13 @@
|
|
|
10612
10655
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.JsXmlPullParser.internalParser.<anonymous>' call
|
|
10613
10656
|
this_0.write(xml);
|
|
10614
10657
|
this_0.close();
|
|
10615
|
-
tmp.
|
|
10658
|
+
tmp.f4a_1 = this_0;
|
|
10616
10659
|
}
|
|
10617
10660
|
function SAX_OPTIONS$1() {
|
|
10618
|
-
this.
|
|
10661
|
+
this.g4a_1 = true;
|
|
10619
10662
|
}
|
|
10620
|
-
protoOf(SAX_OPTIONS$1).
|
|
10621
|
-
return this.
|
|
10663
|
+
protoOf(SAX_OPTIONS$1).h4a = function () {
|
|
10664
|
+
return this.g4a_1;
|
|
10622
10665
|
};
|
|
10623
10666
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
10624
10667
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -10629,8 +10672,8 @@
|
|
|
10629
10672
|
}
|
|
10630
10673
|
function $getXmlParserCOROUTINE$4(_this__u8e3s4, fileName, resultContinuation) {
|
|
10631
10674
|
CoroutineImpl.call(this, resultContinuation);
|
|
10632
|
-
this.
|
|
10633
|
-
this.
|
|
10675
|
+
this.q4a_1 = _this__u8e3s4;
|
|
10676
|
+
this.r4a_1 = fileName;
|
|
10634
10677
|
}
|
|
10635
10678
|
protoOf($getXmlParserCOROUTINE$4).u9 = function () {
|
|
10636
10679
|
var suspendResult = this.e9_1;
|
|
@@ -10641,7 +10684,7 @@
|
|
|
10641
10684
|
case 0:
|
|
10642
10685
|
this.d9_1 = 2;
|
|
10643
10686
|
this.c9_1 = 1;
|
|
10644
|
-
suspendResult = await_0(this.
|
|
10687
|
+
suspendResult = await_0(this.q4a_1.readFile(this.r4a_1), this);
|
|
10645
10688
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10646
10689
|
return suspendResult;
|
|
10647
10690
|
}
|
|
@@ -10674,14 +10717,14 @@
|
|
|
10674
10717
|
function JsXmlPullParserFactory() {
|
|
10675
10718
|
XmlPullParserFactory.call(this);
|
|
10676
10719
|
}
|
|
10677
|
-
protoOf(JsXmlPullParserFactory).
|
|
10720
|
+
protoOf(JsXmlPullParserFactory).s4a = function (fileName, $completion) {
|
|
10678
10721
|
var tmp = new $getXmlParserCOROUTINE$4(this, fileName, $completion);
|
|
10679
10722
|
tmp.e9_1 = Unit_instance;
|
|
10680
10723
|
tmp.f9_1 = null;
|
|
10681
10724
|
return tmp.u9();
|
|
10682
10725
|
};
|
|
10683
10726
|
protoOf(JsXmlPullParserFactory).l3a = function (fileName, $completion) {
|
|
10684
|
-
return this.
|
|
10727
|
+
return this.s4a(fileName, $completion);
|
|
10685
10728
|
};
|
|
10686
10729
|
function XmlPullParserException(s) {
|
|
10687
10730
|
Exception_init_$Init$(s, this);
|
|
@@ -10705,9 +10748,6 @@
|
|
|
10705
10748
|
protoOf(Content).watchIsGone = watchIsGone;
|
|
10706
10749
|
protoOf(Content).watchIsInvisible = watchIsInvisible;
|
|
10707
10750
|
protoOf(Content).watchVisibility = watchVisibility;
|
|
10708
|
-
defineProp(protoOf(Content), 'tips', function () {
|
|
10709
|
-
return this.a3e();
|
|
10710
|
-
});
|
|
10711
10751
|
defineProp(protoOf(Accordion), 'sections', protoOf(Accordion).b3e);
|
|
10712
10752
|
defineProp(protoOf(System), 'name', protoOf(System).q2);
|
|
10713
10753
|
defineProp(protoOf(System), 'ordinal', protoOf(System).r2);
|
|
@@ -10913,19 +10953,26 @@
|
|
|
10913
10953
|
});
|
|
10914
10954
|
protoOf(Card_0).y3d = get_content;
|
|
10915
10955
|
protoOf(Card_0).getAnalyticsEvents = getAnalyticsEvents;
|
|
10956
|
+
defineProp(protoOf(Card_0), 'id', protoOf(Card_0).o3d);
|
|
10957
|
+
defineProp(protoOf(Card_0), 'position', protoOf(Card_0).x3v);
|
|
10958
|
+
defineProp(protoOf(Card_0), 'tips', protoOf(Card_0).a3e);
|
|
10916
10959
|
defineProp(protoOf(Card_0), 'content', function () {
|
|
10917
10960
|
return this.y3d();
|
|
10918
10961
|
});
|
|
10962
|
+
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).w40);
|
|
10919
10963
|
protoOf(ContentPage).y3d = get_content;
|
|
10920
10964
|
defineProp(protoOf(ContentPage), 'content', function () {
|
|
10921
10965
|
return this.y3d();
|
|
10922
10966
|
});
|
|
10923
10967
|
protoOf(PageCollectionPage).findPage = findPage;
|
|
10924
10968
|
protoOf(PageCollectionPage).r3l = get_pages;
|
|
10969
|
+
defineProp(protoOf(PageCollectionPage), '_pages', function () {
|
|
10970
|
+
return this.p3l();
|
|
10971
|
+
});
|
|
10925
10972
|
defineProp(protoOf(PageCollectionPage), 'pages', function () {
|
|
10926
10973
|
return this.r3l();
|
|
10927
10974
|
});
|
|
10928
|
-
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).
|
|
10975
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).h46);
|
|
10929
10976
|
protoOf(Tip).a3j = get_buttonStyle;
|
|
10930
10977
|
protoOf(Tip).y3h = get_buttonColor;
|
|
10931
10978
|
protoOf(Tip).b3j = get_cardBackgroundColor;
|
|
@@ -10937,7 +10984,7 @@
|
|
|
10937
10984
|
defineProp(protoOf(TipPage), 'content', function () {
|
|
10938
10985
|
return this.y3d();
|
|
10939
10986
|
});
|
|
10940
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
10987
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).h46);
|
|
10941
10988
|
protoOf(Header).y3i = get_primaryColor;
|
|
10942
10989
|
protoOf(Header).z3i = get_primaryTextColor;
|
|
10943
10990
|
protoOf(Header).a3j = get_buttonStyle;
|
|
@@ -10947,7 +10994,7 @@
|
|
|
10947
10994
|
protoOf(Header).d3j = get_multiselectOptionSelectedColor;
|
|
10948
10995
|
protoOf(Header).e3j = get_textScale;
|
|
10949
10996
|
protoOf(Header).f3j = get_textAlign;
|
|
10950
|
-
defineProp(protoOf(Header), 'tip', protoOf(Header).
|
|
10997
|
+
defineProp(protoOf(Header), 'tip', protoOf(Header).h46);
|
|
10951
10998
|
protoOf(Hero).y3d = get_content;
|
|
10952
10999
|
protoOf(Hero).getAnalyticsEvents = getAnalyticsEvents;
|
|
10953
11000
|
defineProp(protoOf(Hero), 'content', function () {
|
|
@@ -10976,8 +11023,8 @@
|
|
|
10976
11023
|
protoOf(Card_1).y3d = get_content;
|
|
10977
11024
|
protoOf(Card_1).getAnalyticsEvents = getAnalyticsEvents;
|
|
10978
11025
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).o3d);
|
|
10979
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
10980
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
11026
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).p48);
|
|
11027
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).q48);
|
|
10981
11028
|
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).r3r);
|
|
10982
11029
|
defineProp(protoOf(Card_1), 'tips', protoOf(Card_1).a3e);
|
|
10983
11030
|
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).t3s);
|
|
@@ -10985,15 +11032,15 @@
|
|
|
10985
11032
|
defineProp(protoOf(Card_1), 'content', function () {
|
|
10986
11033
|
return this.y3d();
|
|
10987
11034
|
});
|
|
10988
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
11035
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).r48);
|
|
10989
11036
|
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).v48);
|
|
10990
11037
|
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).w48);
|
|
10991
|
-
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).
|
|
10992
|
-
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).
|
|
10993
|
-
protoOf(SaxXmlPullParser).
|
|
11038
|
+
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).w40);
|
|
11039
|
+
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).x48);
|
|
11040
|
+
protoOf(SaxXmlPullParser).t45 = require$default;
|
|
10994
11041
|
protoOf(SaxXmlPullParser).j3e = getAttributeValue;
|
|
10995
11042
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
10996
|
-
return this.
|
|
11043
|
+
return this.h4a();
|
|
10997
11044
|
});
|
|
10998
11045
|
//endregion
|
|
10999
11046
|
//region block: init
|
|
@@ -11384,6 +11431,25 @@
|
|
|
11384
11431
|
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11385
11432
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11386
11433
|
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 = {});
|
|
11434
|
+
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage = CardCollectionPage;
|
|
11435
|
+
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage.Card = Card_0;
|
|
11436
|
+
var $org = _.org || (_.org = {});
|
|
11437
|
+
var $org$cru = $org.cru || ($org.cru = {});
|
|
11438
|
+
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
11439
|
+
var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
|
|
11440
|
+
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
11441
|
+
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11442
|
+
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11443
|
+
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 = {});
|
|
11444
|
+
$org$cru$godtools$shared$tool$parser$model$page.ContentPage = ContentPage;
|
|
11445
|
+
var $org = _.org || (_.org = {});
|
|
11446
|
+
var $org$cru = $org.cru || ($org.cru = {});
|
|
11447
|
+
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
11448
|
+
var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
|
|
11449
|
+
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
11450
|
+
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11451
|
+
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11452
|
+
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 = {});
|
|
11387
11453
|
$org$cru$godtools$shared$tool$parser$model$page.Page = Page;
|
|
11388
11454
|
var $org = _.org || (_.org = {});
|
|
11389
11455
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
@@ -11392,6 +11458,16 @@
|
|
|
11392
11458
|
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
11393
11459
|
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11394
11460
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11461
|
+
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 = {});
|
|
11462
|
+
$org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage = PageCollectionPage;
|
|
11463
|
+
defineProp($org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage, 'Companion', Companion_getInstance_49);
|
|
11464
|
+
var $org = _.org || (_.org = {});
|
|
11465
|
+
var $org$cru = $org.cru || ($org.cru = {});
|
|
11466
|
+
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
11467
|
+
var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
|
|
11468
|
+
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
11469
|
+
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11470
|
+
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11395
11471
|
var $org$cru$godtools$shared$tool$parser$model$tips = $org$cru$godtools$shared$tool$parser$model.tips || ($org$cru$godtools$shared$tool$parser$model.tips = {});
|
|
11396
11472
|
$org$cru$godtools$shared$tool$parser$model$tips.InlineTip = InlineTip;
|
|
11397
11473
|
$org$cru$godtools$shared$tool$parser$model$tips.InlineTip.createTestInlineTip = createTestInlineTip;
|