@cruglobal/godtools-shared 1.2.0-PR799-SNAPSHOT.1772 → 1.2.0-PR799-SNAPSHOT.1776
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/antlr-kotlin-antlr-kotlin-runtime.js +3 -3
- package/kotlin-kotlin-stdlib.js +16 -16
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +546 -541
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +5 -5
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -2419,7 +2419,7 @@
|
|
|
2419
2419
|
return Category_init_$Init$(manifest, parser, objectCreate(protoOf(Category)));
|
|
2420
2420
|
}
|
|
2421
2421
|
protoOf(Category).q3h = function () {
|
|
2422
|
-
return
|
|
2422
|
+
return this.s38().r3h();
|
|
2423
2423
|
};
|
|
2424
2424
|
function Category() {
|
|
2425
2425
|
}
|
|
@@ -4829,17 +4829,16 @@
|
|
|
4829
4829
|
tmp_8.j3e_1 = tmp14_safe_receiver == null ? null : toColorOrNull(tmp14_safe_receiver);
|
|
4830
4830
|
var tmp_9 = $this;
|
|
4831
4831
|
var tmp15_safe_receiver = parser.d3d('category-label-color');
|
|
4832
|
-
|
|
4833
|
-
tmp_9.k3e_1 = tmp16_safe_receiver == null ? null : toPlatformColor(tmp16_safe_receiver);
|
|
4832
|
+
tmp_9.k3e_1 = tmp15_safe_receiver == null ? null : toColorOrNull(tmp15_safe_receiver);
|
|
4834
4833
|
var tmp_10 = $this;
|
|
4835
|
-
var
|
|
4836
|
-
var
|
|
4834
|
+
var tmp16_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/page', 'control-color');
|
|
4835
|
+
var tmp17_elvis_lhs = tmp16_safe_receiver == null ? null : toColorOrNull(tmp16_safe_receiver);
|
|
4837
4836
|
var tmp_11;
|
|
4838
|
-
if (
|
|
4839
|
-
var
|
|
4840
|
-
var
|
|
4837
|
+
if (tmp17_elvis_lhs == null) {
|
|
4838
|
+
var tmp18_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/lesson', 'control-color');
|
|
4839
|
+
var tmp19_safe_receiver = tmp18_safe_receiver == null ? null : toColorOrNull(tmp18_safe_receiver);
|
|
4841
4840
|
var tmp_12;
|
|
4842
|
-
if (
|
|
4841
|
+
if (tmp19_safe_receiver == null) {
|
|
4843
4842
|
tmp_12 = null;
|
|
4844
4843
|
} else {
|
|
4845
4844
|
// Inline function 'kotlin.also' call
|
|
@@ -4853,28 +4852,28 @@
|
|
|
4853
4852
|
if (tmp0.c1u().t1u().n2(severity) <= 0) {
|
|
4854
4853
|
tmp0.d1u(severity, tag, tmp2, message);
|
|
4855
4854
|
}
|
|
4856
|
-
tmp_12 =
|
|
4855
|
+
tmp_12 = tmp19_safe_receiver;
|
|
4857
4856
|
}
|
|
4858
4857
|
tmp_11 = tmp_12;
|
|
4859
4858
|
} else {
|
|
4860
|
-
tmp_11 =
|
|
4859
|
+
tmp_11 = tmp17_elvis_lhs;
|
|
4861
4860
|
}
|
|
4862
|
-
var
|
|
4863
|
-
tmp_10.l3e_1 =
|
|
4861
|
+
var tmp20_elvis_lhs = tmp_11;
|
|
4862
|
+
tmp_10.l3e_1 = tmp20_elvis_lhs == null ? get_DEFAULT_CONTROL_COLOR() : tmp20_elvis_lhs;
|
|
4864
4863
|
var tmp_13 = $this;
|
|
4865
|
-
var
|
|
4866
|
-
tmp_13.m3e_1 =
|
|
4864
|
+
var tmp21_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
|
|
4865
|
+
tmp_13.m3e_1 = tmp21_safe_receiver == null ? null : toColorOrNull(tmp21_safe_receiver);
|
|
4867
4866
|
var tmp_14 = $this;
|
|
4868
|
-
var
|
|
4869
|
-
tmp_14.n3e_1 =
|
|
4867
|
+
var tmp22_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
|
|
4868
|
+
tmp_14.n3e_1 = tmp22_safe_receiver == null ? null : toColorOrNull(tmp22_safe_receiver);
|
|
4870
4869
|
var tmp_15 = $this;
|
|
4871
|
-
var
|
|
4872
|
-
var
|
|
4873
|
-
tmp_15.o3e_1 =
|
|
4870
|
+
var tmp23_safe_receiver = parser.d3d('text-color');
|
|
4871
|
+
var tmp24_elvis_lhs = tmp23_safe_receiver == null ? null : toColorOrNull(tmp23_safe_receiver);
|
|
4872
|
+
tmp_15.o3e_1 = tmp24_elvis_lhs == null ? Companion_getInstance_29().b3a_1 : tmp24_elvis_lhs;
|
|
4874
4873
|
var tmp_16 = $this;
|
|
4875
|
-
var
|
|
4876
|
-
var
|
|
4877
|
-
tmp_16.p3e_1 =
|
|
4874
|
+
var tmp25_safe_receiver = parser.d3d('text-scale');
|
|
4875
|
+
var tmp26_elvis_lhs = tmp25_safe_receiver == null ? null : toDoubleOrNull(tmp25_safe_receiver);
|
|
4876
|
+
tmp_16.p3e_1 = tmp26_elvis_lhs == null ? 1.0 : tmp26_elvis_lhs;
|
|
4878
4877
|
var title = null;
|
|
4879
4878
|
var tmp_17 = $this;
|
|
4880
4879
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -5385,7 +5384,7 @@
|
|
|
5385
5384
|
};
|
|
5386
5385
|
protoOf(Manifest).r3h = function () {
|
|
5387
5386
|
var tmp0_elvis_lhs = this.k3e_1;
|
|
5388
|
-
return tmp0_elvis_lhs == null ?
|
|
5387
|
+
return tmp0_elvis_lhs == null ? this.o3e_1 : tmp0_elvis_lhs;
|
|
5389
5388
|
};
|
|
5390
5389
|
protoOf(Manifest).o3q = function () {
|
|
5391
5390
|
return this.l3e_1;
|
|
@@ -5854,7 +5853,7 @@
|
|
|
5854
5853
|
var tmp0_elvis_lhs = this.w3r_1;
|
|
5855
5854
|
return tmp0_elvis_lhs == null ? this.multiselect.r3s_1 : tmp0_elvis_lhs;
|
|
5856
5855
|
};
|
|
5857
|
-
protoOf(Option).
|
|
5856
|
+
protoOf(Option).s3g = function () {
|
|
5858
5857
|
var tmp0_elvis_lhs = this.x3r_1;
|
|
5859
5858
|
return tmp0_elvis_lhs == null ? _get_optionBackgroundColor__l9vc27(this.multiselect) : tmp0_elvis_lhs;
|
|
5860
5859
|
};
|
|
@@ -5918,19 +5917,25 @@
|
|
|
5918
5917
|
return false;
|
|
5919
5918
|
return true;
|
|
5920
5919
|
};
|
|
5920
|
+
protoOf(Option).x3g = function () {
|
|
5921
|
+
return toPlatformColor(this.s3g());
|
|
5922
|
+
};
|
|
5923
|
+
protoOf(Option).y3s = function () {
|
|
5924
|
+
return toPlatformColor(this.v3s());
|
|
5925
|
+
};
|
|
5921
5926
|
function Option() {
|
|
5922
5927
|
Companion_getInstance_31();
|
|
5923
5928
|
}
|
|
5924
|
-
protoOf(Multiselect).
|
|
5929
|
+
protoOf(Multiselect).z3s = function () {
|
|
5925
5930
|
return this.p3s_1;
|
|
5926
5931
|
};
|
|
5927
|
-
protoOf(Multiselect).
|
|
5932
|
+
protoOf(Multiselect).a3t = function () {
|
|
5928
5933
|
return this.columns;
|
|
5929
5934
|
};
|
|
5930
|
-
protoOf(Multiselect).
|
|
5935
|
+
protoOf(Multiselect).b3t = function () {
|
|
5931
5936
|
return this.q3s_1;
|
|
5932
5937
|
};
|
|
5933
|
-
protoOf(Multiselect).
|
|
5938
|
+
protoOf(Multiselect).c3t = function () {
|
|
5934
5939
|
return this._options;
|
|
5935
5940
|
};
|
|
5936
5941
|
protoOf(Multiselect).u3c = function () {
|
|
@@ -5960,7 +5965,7 @@
|
|
|
5960
5965
|
protoOf(Multiselect).a3c = function () {
|
|
5961
5966
|
return !this.s38().a3e_1.d3b('multiselect') || protoOf(Content).a3c.call(this);
|
|
5962
5967
|
};
|
|
5963
|
-
protoOf(Multiselect).
|
|
5968
|
+
protoOf(Multiselect).d3t = function () {
|
|
5964
5969
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
5965
5970
|
var this_0 = this._options;
|
|
5966
5971
|
return copyToArray(this_0);
|
|
@@ -5974,8 +5979,8 @@
|
|
|
5974
5979
|
return $this$run.p1r(VOID, VOID, tmp0_l, 1.0);
|
|
5975
5980
|
}
|
|
5976
5981
|
function Companion_30() {
|
|
5977
|
-
this.
|
|
5978
|
-
this.
|
|
5982
|
+
this.e3t_1 = 'paragraph';
|
|
5983
|
+
this.f3t_1 = 'fallback';
|
|
5979
5984
|
}
|
|
5980
5985
|
var Companion_instance_31;
|
|
5981
5986
|
function Companion_getInstance_33() {
|
|
@@ -6026,7 +6031,7 @@
|
|
|
6026
6031
|
continue $l$loop_0;
|
|
6027
6032
|
skipTag(parser);
|
|
6028
6033
|
}
|
|
6029
|
-
tmp.
|
|
6034
|
+
tmp.m3t_1 = this_0.k3();
|
|
6030
6035
|
return $this;
|
|
6031
6036
|
}
|
|
6032
6037
|
function Paragraph_init_$Create$(parent, parser) {
|
|
@@ -6043,7 +6048,7 @@
|
|
|
6043
6048
|
content = tmp;
|
|
6044
6049
|
Content_init_$Init$_0(parent, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this);
|
|
6045
6050
|
Paragraph.call($this);
|
|
6046
|
-
$this.
|
|
6051
|
+
$this.m3t_1 = content($this);
|
|
6047
6052
|
return $this;
|
|
6048
6053
|
}
|
|
6049
6054
|
function createTestParagraph(parent, content) {
|
|
@@ -6053,7 +6058,7 @@
|
|
|
6053
6058
|
return emptyList();
|
|
6054
6059
|
}
|
|
6055
6060
|
protoOf(Paragraph).k3c = function () {
|
|
6056
|
-
return this.
|
|
6061
|
+
return this.m3t_1;
|
|
6057
6062
|
};
|
|
6058
6063
|
protoOf(Paragraph).u3c = function () {
|
|
6059
6064
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -6074,7 +6079,7 @@
|
|
|
6074
6079
|
function Parent() {
|
|
6075
6080
|
}
|
|
6076
6081
|
function Companion_31() {
|
|
6077
|
-
this.
|
|
6082
|
+
this.n3t_1 = 'resource';
|
|
6078
6083
|
}
|
|
6079
6084
|
var Companion_instance_32;
|
|
6080
6085
|
function Companion_getInstance_34() {
|
|
@@ -6108,7 +6113,7 @@
|
|
|
6108
6113
|
protoOf(Resource).l2 = function () {
|
|
6109
6114
|
return this.name;
|
|
6110
6115
|
};
|
|
6111
|
-
protoOf(Resource).
|
|
6116
|
+
protoOf(Resource).o3t = function () {
|
|
6112
6117
|
return this.localName;
|
|
6113
6118
|
};
|
|
6114
6119
|
protoOf(Resource).equals = function (other) {
|
|
@@ -6152,9 +6157,9 @@
|
|
|
6152
6157
|
var Mode_FIXED_instance;
|
|
6153
6158
|
function Companion_32() {
|
|
6154
6159
|
Companion_instance_33 = this;
|
|
6155
|
-
this.
|
|
6160
|
+
this.p3t_1 = Mode_AUTO_getInstance();
|
|
6156
6161
|
}
|
|
6157
|
-
protoOf(Companion_32).
|
|
6162
|
+
protoOf(Companion_32).q3t = function (_this__u8e3s4) {
|
|
6158
6163
|
switch (_this__u8e3s4) {
|
|
6159
6164
|
case 'auto':
|
|
6160
6165
|
return Mode_AUTO_getInstance();
|
|
@@ -6196,7 +6201,7 @@
|
|
|
6196
6201
|
Companion_getInstance_35();
|
|
6197
6202
|
}
|
|
6198
6203
|
function Companion_33() {
|
|
6199
|
-
this.
|
|
6204
|
+
this.r3t_1 = 'spacer';
|
|
6200
6205
|
}
|
|
6201
6206
|
var Companion_instance_34;
|
|
6202
6207
|
function Companion_getInstance_36() {
|
|
@@ -6208,8 +6213,8 @@
|
|
|
6208
6213
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/content', 'spacer');
|
|
6209
6214
|
var tmp = $this;
|
|
6210
6215
|
var tmp0_safe_receiver = parser.d3d('mode');
|
|
6211
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_35().
|
|
6212
|
-
tmp.mode = tmp1_elvis_lhs == null ? Companion_getInstance_35().
|
|
6216
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_35().q3t(tmp0_safe_receiver);
|
|
6217
|
+
tmp.mode = tmp1_elvis_lhs == null ? Companion_getInstance_35().p3t_1 : tmp1_elvis_lhs;
|
|
6213
6218
|
var tmp_0 = $this;
|
|
6214
6219
|
var tmp2_safe_receiver = parser.d3d('height');
|
|
6215
6220
|
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : toIntOrNull(tmp2_safe_receiver);
|
|
@@ -6245,7 +6250,7 @@
|
|
|
6245
6250
|
Mode_initEntries();
|
|
6246
6251
|
return Mode_FIXED_instance;
|
|
6247
6252
|
}
|
|
6248
|
-
protoOf(Spacer).
|
|
6253
|
+
protoOf(Spacer).a3u = function () {
|
|
6249
6254
|
return this.mode;
|
|
6250
6255
|
};
|
|
6251
6256
|
protoOf(Spacer).k3f = function () {
|
|
@@ -6259,8 +6264,8 @@
|
|
|
6259
6264
|
}
|
|
6260
6265
|
function Companion_34() {
|
|
6261
6266
|
Companion_instance_35 = this;
|
|
6262
|
-
this.
|
|
6263
|
-
this.
|
|
6267
|
+
this.b3u_1 = Align_START_getInstance();
|
|
6268
|
+
this.c3u_1 = 1.0;
|
|
6264
6269
|
}
|
|
6265
6270
|
var Companion_instance_35;
|
|
6266
6271
|
function Companion_getInstance_37() {
|
|
@@ -6302,7 +6307,7 @@
|
|
|
6302
6307
|
}
|
|
6303
6308
|
function get_textAlign_0(_this__u8e3s4) {
|
|
6304
6309
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.z3h();
|
|
6305
|
-
return tmp1_elvis_lhs == null ? Companion_getInstance_37().
|
|
6310
|
+
return tmp1_elvis_lhs == null ? Companion_getInstance_37().b3u_1 : tmp1_elvis_lhs;
|
|
6306
6311
|
}
|
|
6307
6312
|
function stylesOverride(_this__u8e3s4, textAlign, textColor, textScale) {
|
|
6308
6313
|
textAlign = textAlign === VOID ? null : textAlign;
|
|
@@ -6312,27 +6317,27 @@
|
|
|
6312
6317
|
}
|
|
6313
6318
|
function StylesOverride(parent, _textAlign, _textColor, _textScale) {
|
|
6314
6319
|
BaseModel.call(this, parent);
|
|
6315
|
-
this.
|
|
6316
|
-
this.
|
|
6317
|
-
this.
|
|
6320
|
+
this.e3u_1 = _textAlign;
|
|
6321
|
+
this.f3u_1 = _textColor;
|
|
6322
|
+
this.g3u_1 = _textScale;
|
|
6318
6323
|
}
|
|
6319
6324
|
protoOf(StylesOverride).z3h = function () {
|
|
6320
|
-
var tmp0_safe_receiver = this.
|
|
6325
|
+
var tmp0_safe_receiver = this.e3u_1;
|
|
6321
6326
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
6322
6327
|
return tmp1_elvis_lhs == null ? get_textAlign.call(this) : tmp1_elvis_lhs;
|
|
6323
6328
|
};
|
|
6324
6329
|
protoOf(StylesOverride).q3h = function () {
|
|
6325
|
-
var tmp0_safe_receiver = this.
|
|
6330
|
+
var tmp0_safe_receiver = this.f3u_1;
|
|
6326
6331
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver();
|
|
6327
6332
|
return tmp1_elvis_lhs == null ? get_textColor.call(this) : tmp1_elvis_lhs;
|
|
6328
6333
|
};
|
|
6329
6334
|
protoOf(StylesOverride).y3h = function () {
|
|
6330
|
-
return get_textScale.call(this) * this.
|
|
6335
|
+
return get_textScale.call(this) * this.g3u_1;
|
|
6331
6336
|
};
|
|
6332
6337
|
function Tab_init_$Init$(parent, parser, $this) {
|
|
6333
6338
|
BaseModel.call($this, parent);
|
|
6334
6339
|
Tab.call($this);
|
|
6335
|
-
$this.
|
|
6340
|
+
$this.i3u_1 = parent;
|
|
6336
6341
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/content', 'tab');
|
|
6337
6342
|
var tmp = $this;
|
|
6338
6343
|
var tmp0_safe_receiver = parser.d3d('listeners');
|
|
@@ -6342,7 +6347,7 @@
|
|
|
6342
6347
|
tmp._listeners = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
6343
6348
|
var tmp_0 = $this;
|
|
6344
6349
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6345
|
-
tmp_0.
|
|
6350
|
+
tmp_0.k3u_1 = ArrayList_init_$Create$();
|
|
6346
6351
|
var label = null;
|
|
6347
6352
|
var tmp_1 = $this;
|
|
6348
6353
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -6359,7 +6364,7 @@
|
|
|
6359
6364
|
var tmp0_subject = parser.q3b();
|
|
6360
6365
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
6361
6366
|
if (parser.l2() === 'events') {
|
|
6362
|
-
var tmp0 = $this.
|
|
6367
|
+
var tmp0 = $this.k3u_1;
|
|
6363
6368
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6364
6369
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
6365
6370
|
addAll(tmp0, elements);
|
|
@@ -6397,7 +6402,7 @@
|
|
|
6397
6402
|
continue $l$loop_0;
|
|
6398
6403
|
skipTag(parser);
|
|
6399
6404
|
}
|
|
6400
|
-
tmp_1.
|
|
6405
|
+
tmp_1.j3u_1 = this_0.k3();
|
|
6401
6406
|
$this.label = label;
|
|
6402
6407
|
return $this;
|
|
6403
6408
|
}
|
|
@@ -6405,7 +6410,7 @@
|
|
|
6405
6410
|
return Tab_init_$Init$(parent, parser, objectCreate(protoOf(Tab)));
|
|
6406
6411
|
}
|
|
6407
6412
|
function Companion_35() {
|
|
6408
|
-
this.
|
|
6413
|
+
this.l3u_1 = 'tabs';
|
|
6409
6414
|
}
|
|
6410
6415
|
var Companion_instance_36;
|
|
6411
6416
|
function Companion_getInstance_38() {
|
|
@@ -6439,26 +6444,26 @@
|
|
|
6439
6444
|
function Tabs_init_$Create$(parent, parser) {
|
|
6440
6445
|
return Tabs_init_$Init$(parent, parser, objectCreate(protoOf(Tabs)));
|
|
6441
6446
|
}
|
|
6442
|
-
protoOf(Tab).r3u = function () {
|
|
6443
|
-
return this.h3u_1._tabs.w1(this);
|
|
6444
|
-
};
|
|
6445
6447
|
protoOf(Tab).s3u = function () {
|
|
6448
|
+
return this.i3u_1._tabs.w1(this);
|
|
6449
|
+
};
|
|
6450
|
+
protoOf(Tab).t3u = function () {
|
|
6446
6451
|
return this._listeners;
|
|
6447
6452
|
};
|
|
6448
6453
|
protoOf(Tab).k3l = function () {
|
|
6449
6454
|
return this.label;
|
|
6450
6455
|
};
|
|
6451
6456
|
protoOf(Tab).k3c = function () {
|
|
6452
|
-
return this.
|
|
6457
|
+
return this.j3u_1;
|
|
6453
6458
|
};
|
|
6454
6459
|
protoOf(Tab).w3g = function () {
|
|
6455
|
-
return this.
|
|
6460
|
+
return this.k3u_1;
|
|
6456
6461
|
};
|
|
6457
6462
|
protoOf(Tab).l3c = function (type) {
|
|
6458
6463
|
var tmp;
|
|
6459
6464
|
if (type.k2_1 === 2) {
|
|
6460
6465
|
// Inline function 'kotlin.collections.filter' call
|
|
6461
|
-
var tmp0 = this.
|
|
6466
|
+
var tmp0 = this.k3u_1;
|
|
6462
6467
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6463
6468
|
var destination = ArrayList_init_$Create$();
|
|
6464
6469
|
var _iterator__ex2g4s = tmp0.j();
|
|
@@ -6478,14 +6483,14 @@
|
|
|
6478
6483
|
protoOf(Tab)._getAnalyticsEvents = function (type) {
|
|
6479
6484
|
return this.l3c(type);
|
|
6480
6485
|
};
|
|
6481
|
-
protoOf(Tab).
|
|
6486
|
+
protoOf(Tab).u3u = function () {
|
|
6482
6487
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
6483
6488
|
var this_0 = this._listeners;
|
|
6484
6489
|
return copyToArray(this_0);
|
|
6485
6490
|
};
|
|
6486
6491
|
function Tab() {
|
|
6487
6492
|
}
|
|
6488
|
-
protoOf(Tabs).
|
|
6493
|
+
protoOf(Tabs).v3u = function () {
|
|
6489
6494
|
return this._tabs;
|
|
6490
6495
|
};
|
|
6491
6496
|
protoOf(Tabs).u3c = function () {
|
|
@@ -6512,7 +6517,7 @@
|
|
|
6512
6517
|
}
|
|
6513
6518
|
return destination;
|
|
6514
6519
|
};
|
|
6515
|
-
protoOf(Tabs).
|
|
6520
|
+
protoOf(Tabs).w3u = function () {
|
|
6516
6521
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
6517
6522
|
var this_0 = this._tabs;
|
|
6518
6523
|
return copyToArray(this_0);
|
|
@@ -6524,7 +6529,7 @@
|
|
|
6524
6529
|
var Align_END_instance;
|
|
6525
6530
|
function Companion_36() {
|
|
6526
6531
|
}
|
|
6527
|
-
protoOf(Companion_36).
|
|
6532
|
+
protoOf(Companion_36).x3u = function (_this__u8e3s4) {
|
|
6528
6533
|
switch (_this__u8e3s4) {
|
|
6529
6534
|
case 'start':
|
|
6530
6535
|
return Align_START_getInstance();
|
|
@@ -6583,7 +6588,7 @@
|
|
|
6583
6588
|
var Style_UNDERLINE_instance;
|
|
6584
6589
|
function Companion_37() {
|
|
6585
6590
|
}
|
|
6586
|
-
protoOf(Companion_37).
|
|
6591
|
+
protoOf(Companion_37).y3u = function (_this__u8e3s4) {
|
|
6587
6592
|
var tmp0 = get_REGEX_SEQUENCE_SEPARATOR().kc(_this__u8e3s4);
|
|
6588
6593
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
6589
6594
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
@@ -6633,11 +6638,11 @@
|
|
|
6633
6638
|
Style_UNDERLINE_instance = new Style_1('UNDERLINE', 2);
|
|
6634
6639
|
}
|
|
6635
6640
|
function Companion_38() {
|
|
6636
|
-
this.
|
|
6637
|
-
this.
|
|
6638
|
-
this.
|
|
6639
|
-
this.
|
|
6640
|
-
this.
|
|
6641
|
+
this.z3u_1 = 'text';
|
|
6642
|
+
this.a3v_1 = 'font-weight';
|
|
6643
|
+
this.b3v_1 = 40;
|
|
6644
|
+
this.c3v_1 = 0;
|
|
6645
|
+
this.d3v_1 = 700;
|
|
6641
6646
|
}
|
|
6642
6647
|
var Companion_instance_39;
|
|
6643
6648
|
function Companion_getInstance_41() {
|
|
@@ -6649,7 +6654,7 @@
|
|
|
6649
6654
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/content', 'text');
|
|
6650
6655
|
var tmp = $this;
|
|
6651
6656
|
var tmp0_safe_receiver = getDeviceAttributeValue(parser, $this.s38().a3e_1, 'text-align');
|
|
6652
|
-
tmp.w3q_1 = tmp0_safe_receiver == null ? null : Companion_instance_37.
|
|
6657
|
+
tmp.w3q_1 = tmp0_safe_receiver == null ? null : Companion_instance_37.x3u(tmp0_safe_receiver);
|
|
6653
6658
|
var tmp_0 = $this;
|
|
6654
6659
|
var tmp1_safe_receiver = getDeviceAttributeValue(parser, $this.s38().a3e_1, 'text-color');
|
|
6655
6660
|
tmp_0.x3q_1 = tmp1_safe_receiver == null ? null : toColorOrNull(tmp1_safe_receiver);
|
|
@@ -6660,7 +6665,7 @@
|
|
|
6660
6665
|
var tmp_2 = $this;
|
|
6661
6666
|
var tmp4_safe_receiver = getDeviceAttributeValue(parser, $this.s38().a3e_1, 'text-style');
|
|
6662
6667
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
6663
|
-
var tmp0_elvis_lhs = tmp4_safe_receiver == null ? null : Companion_instance_38.
|
|
6668
|
+
var tmp0_elvis_lhs = tmp4_safe_receiver == null ? null : Companion_instance_38.y3u(tmp4_safe_receiver);
|
|
6664
6669
|
tmp_2._textStyles = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
6665
6670
|
var tmp_3 = $this;
|
|
6666
6671
|
var tmp5_safe_receiver = getDeviceAttributeValue(parser, $this.s38().a3e_1, 'font-weight');
|
|
@@ -6708,7 +6713,7 @@
|
|
|
6708
6713
|
var tmp13_safe_receiver = getDeviceAttributeValue(parser, $this.s38().a3e_1, 'end-image-size');
|
|
6709
6714
|
var tmp14_elvis_lhs = tmp13_safe_receiver == null ? null : toIntOrNull(tmp13_safe_receiver);
|
|
6710
6715
|
tmp_10.endImageSize = tmp14_elvis_lhs == null ? 40 : tmp14_elvis_lhs;
|
|
6711
|
-
$this.text = parser.
|
|
6716
|
+
$this.text = parser.e3v();
|
|
6712
6717
|
return $this;
|
|
6713
6718
|
}
|
|
6714
6719
|
function Text_init_$Create$(parent, parser) {
|
|
@@ -6780,42 +6785,42 @@
|
|
|
6780
6785
|
protoOf(Text).f1z = function () {
|
|
6781
6786
|
return this.text;
|
|
6782
6787
|
};
|
|
6783
|
-
protoOf(Text).
|
|
6788
|
+
protoOf(Text).j3v = function () {
|
|
6784
6789
|
return this.fontWeight;
|
|
6785
6790
|
};
|
|
6786
6791
|
protoOf(Text).z3h = function () {
|
|
6787
6792
|
var tmp0_elvis_lhs = this.w3q_1;
|
|
6788
6793
|
return tmp0_elvis_lhs == null ? get_textAlign_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
6789
6794
|
};
|
|
6790
|
-
protoOf(Text).
|
|
6795
|
+
protoOf(Text).k3v = function () {
|
|
6791
6796
|
var tmp0_elvis_lhs = this.x3q_1;
|
|
6792
6797
|
return tmp0_elvis_lhs == null ? get_textColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
6793
6798
|
};
|
|
6794
6799
|
protoOf(Text).y3h = function () {
|
|
6795
6800
|
return this.y3q_1 * get_textScale_0(get_stylesParent(this));
|
|
6796
6801
|
};
|
|
6797
|
-
protoOf(Text).
|
|
6802
|
+
protoOf(Text).l3v = function () {
|
|
6798
6803
|
return this._textStyles;
|
|
6799
6804
|
};
|
|
6800
|
-
protoOf(Text).
|
|
6805
|
+
protoOf(Text).m3v = function () {
|
|
6801
6806
|
return this.minimumLines;
|
|
6802
6807
|
};
|
|
6803
|
-
protoOf(Text).
|
|
6808
|
+
protoOf(Text).n3v = function () {
|
|
6804
6809
|
return this.z3q_1;
|
|
6805
6810
|
};
|
|
6806
|
-
protoOf(Text).
|
|
6811
|
+
protoOf(Text).o3v = function () {
|
|
6807
6812
|
return getResource(this, this.z3q_1);
|
|
6808
6813
|
};
|
|
6809
|
-
protoOf(Text).
|
|
6814
|
+
protoOf(Text).p3v = function () {
|
|
6810
6815
|
return this.startImageSize;
|
|
6811
6816
|
};
|
|
6812
|
-
protoOf(Text).
|
|
6817
|
+
protoOf(Text).q3v = function () {
|
|
6813
6818
|
return this.a3r_1;
|
|
6814
6819
|
};
|
|
6815
|
-
protoOf(Text).
|
|
6820
|
+
protoOf(Text).r3v = function () {
|
|
6816
6821
|
return getResource(this, this.a3r_1);
|
|
6817
6822
|
};
|
|
6818
|
-
protoOf(Text).
|
|
6823
|
+
protoOf(Text).s3v = function () {
|
|
6819
6824
|
return this.endImageSize;
|
|
6820
6825
|
};
|
|
6821
6826
|
protoOf(Text).equals = function (other) {
|
|
@@ -6838,7 +6843,7 @@
|
|
|
6838
6843
|
if (!this.textAlign.equals(other.textAlign)) {
|
|
6839
6844
|
tmp = false;
|
|
6840
6845
|
} else {
|
|
6841
|
-
if (!equals(this.
|
|
6846
|
+
if (!equals(this.k3v(), other.k3v())) {
|
|
6842
6847
|
tmp = false;
|
|
6843
6848
|
} else {
|
|
6844
6849
|
if (!(this.textScale === other.textScale)) {
|
|
@@ -6894,7 +6899,7 @@
|
|
|
6894
6899
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver;
|
|
6895
6900
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
6896
6901
|
result = imul(31, result) + this.textAlign.hashCode() | 0;
|
|
6897
|
-
result = imul(31, result) + hashCode(this.
|
|
6902
|
+
result = imul(31, result) + hashCode(this.k3v()) | 0;
|
|
6898
6903
|
result = imul(31, result) + getNumberHashCode(this.textScale) | 0;
|
|
6899
6904
|
result = imul(31, result) + hashCode(this._textStyles) | 0;
|
|
6900
6905
|
result = imul(31, result) + this.minimumLines | 0;
|
|
@@ -6911,9 +6916,9 @@
|
|
|
6911
6916
|
return result;
|
|
6912
6917
|
};
|
|
6913
6918
|
protoOf(Text).q3h = function () {
|
|
6914
|
-
return toPlatformColor(this.
|
|
6919
|
+
return toPlatformColor(this.k3v());
|
|
6915
6920
|
};
|
|
6916
|
-
protoOf(Text).
|
|
6921
|
+
protoOf(Text).t3v = function () {
|
|
6917
6922
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
6918
6923
|
var this_0 = this._textStyles;
|
|
6919
6924
|
return copyToArray(this_0);
|
|
@@ -7101,7 +7106,7 @@
|
|
|
7101
7106
|
Companion_getInstance_42();
|
|
7102
7107
|
this.d3i_1 = version;
|
|
7103
7108
|
}
|
|
7104
|
-
protoOf(Version).
|
|
7109
|
+
protoOf(Version).u3v = function (other) {
|
|
7105
7110
|
return Version__compareTo_impl_crux23(this.d3i_1, other);
|
|
7106
7111
|
};
|
|
7107
7112
|
protoOf(Version).d = function (other) {
|
|
@@ -7120,7 +7125,7 @@
|
|
|
7120
7125
|
var Provider_UNKNOWN_instance;
|
|
7121
7126
|
function Companion_40() {
|
|
7122
7127
|
Companion_instance_41 = this;
|
|
7123
|
-
this.
|
|
7128
|
+
this.v3v_1 = Provider_UNKNOWN_getInstance();
|
|
7124
7129
|
}
|
|
7125
7130
|
protoOf(Companion_40).n3p = function (value) {
|
|
7126
7131
|
return value === 'youtube' ? Provider_YOUTUBE_getInstance() : null;
|
|
@@ -7158,10 +7163,10 @@
|
|
|
7158
7163
|
}
|
|
7159
7164
|
function Companion_41() {
|
|
7160
7165
|
Companion_instance_42 = this;
|
|
7161
|
-
this.
|
|
7162
|
-
this.
|
|
7163
|
-
this.
|
|
7164
|
-
this.
|
|
7166
|
+
this.w3v_1 = 'video';
|
|
7167
|
+
this.x3v_1 = new AspectRatio(16, 9);
|
|
7168
|
+
this.y3v_1 = Horizontal_CENTER_getInstance();
|
|
7169
|
+
this.z3v_1 = new Percent(1.0);
|
|
7165
7170
|
}
|
|
7166
7171
|
var Companion_instance_42;
|
|
7167
7172
|
function Companion_getInstance_44() {
|
|
@@ -7178,15 +7183,15 @@
|
|
|
7178
7183
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/content', 'video');
|
|
7179
7184
|
var tmp = $this;
|
|
7180
7185
|
var tmp0_elvis_lhs = Companion_getInstance_43().n3p(parser.d3d('provider'));
|
|
7181
|
-
tmp.provider = tmp0_elvis_lhs == null ? Companion_getInstance_43().
|
|
7186
|
+
tmp.provider = tmp0_elvis_lhs == null ? Companion_getInstance_43().v3v_1 : tmp0_elvis_lhs;
|
|
7182
7187
|
$this.videoId = parser.d3d('video-id');
|
|
7183
7188
|
var tmp_0 = $this;
|
|
7184
7189
|
var tmp1_elvis_lhs = Companion_instance_6.i3f(parser.d3d('aspect-ratio'));
|
|
7185
|
-
tmp_0.aspectRatio = tmp1_elvis_lhs == null ? Companion_getInstance_44().
|
|
7190
|
+
tmp_0.aspectRatio = tmp1_elvis_lhs == null ? Companion_getInstance_44().x3v_1 : tmp1_elvis_lhs;
|
|
7186
7191
|
var tmp_1 = $this;
|
|
7187
7192
|
var tmp2_safe_receiver = Companion_getInstance_22().k3g(parser.d3d('gravity'));
|
|
7188
7193
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.horizontal;
|
|
7189
|
-
tmp_1.gravity = tmp3_elvis_lhs == null ? Companion_getInstance_44().
|
|
7194
|
+
tmp_1.gravity = tmp3_elvis_lhs == null ? Companion_getInstance_44().y3v_1 : tmp3_elvis_lhs;
|
|
7190
7195
|
var tmp_2 = $this;
|
|
7191
7196
|
var tmp4_safe_receiver = Companion_instance_14.l3g(parser.d3d('width'));
|
|
7192
7197
|
var tmp_3;
|
|
@@ -7203,7 +7208,7 @@
|
|
|
7203
7208
|
tmp_3 = tmp_4;
|
|
7204
7209
|
}
|
|
7205
7210
|
var tmp5_elvis_lhs = tmp_3;
|
|
7206
|
-
tmp_2.width = tmp5_elvis_lhs == null ? Companion_getInstance_44().
|
|
7211
|
+
tmp_2.width = tmp5_elvis_lhs == null ? Companion_getInstance_44().z3v_1 : tmp5_elvis_lhs;
|
|
7207
7212
|
skipTag(parser);
|
|
7208
7213
|
return $this;
|
|
7209
7214
|
}
|
|
@@ -7218,13 +7223,13 @@
|
|
|
7218
7223
|
Provider_initEntries();
|
|
7219
7224
|
return Provider_UNKNOWN_instance;
|
|
7220
7225
|
}
|
|
7221
|
-
protoOf(Video).
|
|
7226
|
+
protoOf(Video).i3w = function () {
|
|
7222
7227
|
return this.provider;
|
|
7223
7228
|
};
|
|
7224
|
-
protoOf(Video).
|
|
7229
|
+
protoOf(Video).j3w = function () {
|
|
7225
7230
|
return this.videoId;
|
|
7226
7231
|
};
|
|
7227
|
-
protoOf(Video).
|
|
7232
|
+
protoOf(Video).k3w = function () {
|
|
7228
7233
|
return this.aspectRatio;
|
|
7229
7234
|
};
|
|
7230
7235
|
protoOf(Video).q3g = function () {
|
|
@@ -7252,15 +7257,15 @@
|
|
|
7252
7257
|
function Visibility$watchVisibility$slambda(resultContinuation) {
|
|
7253
7258
|
CoroutineImpl.call(this, resultContinuation);
|
|
7254
7259
|
}
|
|
7255
|
-
protoOf(Visibility$watchVisibility$slambda).
|
|
7256
|
-
var tmp = this.
|
|
7260
|
+
protoOf(Visibility$watchVisibility$slambda).v3w = function (invisible, gone, $completion) {
|
|
7261
|
+
var tmp = this.w3w(invisible, gone, $completion);
|
|
7257
7262
|
tmp.x8_1 = Unit_instance;
|
|
7258
7263
|
tmp.y8_1 = null;
|
|
7259
7264
|
return tmp.d9();
|
|
7260
7265
|
};
|
|
7261
7266
|
protoOf(Visibility$watchVisibility$slambda).o1f = function (p1, p2, $completion) {
|
|
7262
7267
|
var tmp = (!(p1 == null) ? typeof p1 === 'boolean' : false) ? p1 : THROW_CCE();
|
|
7263
|
-
return this.
|
|
7268
|
+
return this.v3w(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
|
|
7264
7269
|
};
|
|
7265
7270
|
protoOf(Visibility$watchVisibility$slambda).d9 = function () {
|
|
7266
7271
|
var suspendResult = this.x8_1;
|
|
@@ -7269,7 +7274,7 @@
|
|
|
7269
7274
|
var tmp = this.v8_1;
|
|
7270
7275
|
if (tmp === 0) {
|
|
7271
7276
|
this.w8_1 = 1;
|
|
7272
|
-
return new Pair(this.
|
|
7277
|
+
return new Pair(this.t3w_1, this.u3w_1);
|
|
7273
7278
|
} else if (tmp === 1) {
|
|
7274
7279
|
throw this.y8_1;
|
|
7275
7280
|
}
|
|
@@ -7279,16 +7284,16 @@
|
|
|
7279
7284
|
}
|
|
7280
7285
|
while (true);
|
|
7281
7286
|
};
|
|
7282
|
-
protoOf(Visibility$watchVisibility$slambda).
|
|
7287
|
+
protoOf(Visibility$watchVisibility$slambda).w3w = function (invisible, gone, completion) {
|
|
7283
7288
|
var i = new Visibility$watchVisibility$slambda(completion);
|
|
7284
|
-
i.
|
|
7285
|
-
i.
|
|
7289
|
+
i.t3w_1 = invisible;
|
|
7290
|
+
i.u3w_1 = gone;
|
|
7286
7291
|
return i;
|
|
7287
7292
|
};
|
|
7288
7293
|
function Visibility$watchVisibility$slambda_0(resultContinuation) {
|
|
7289
7294
|
var i = new Visibility$watchVisibility$slambda(resultContinuation);
|
|
7290
7295
|
var l = function (invisible, gone, $completion) {
|
|
7291
|
-
return i.
|
|
7296
|
+
return i.v3w(invisible, gone, $completion);
|
|
7292
7297
|
};
|
|
7293
7298
|
l.$arity = 2;
|
|
7294
7299
|
return l;
|
|
@@ -7319,10 +7324,10 @@
|
|
|
7319
7324
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/lesson', 'page');
|
|
7320
7325
|
var tmp = $this;
|
|
7321
7326
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7322
|
-
tmp.
|
|
7327
|
+
tmp.p3x_1 = ArrayList_init_$Create$();
|
|
7323
7328
|
var tmp_0 = $this;
|
|
7324
7329
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7325
|
-
tmp_0.
|
|
7330
|
+
tmp_0.q3x_1 = ArrayList_init_$Create$();
|
|
7326
7331
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7327
7332
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7328
7333
|
if (!(parser.p3b() === 2))
|
|
@@ -7330,14 +7335,14 @@
|
|
|
7330
7335
|
var tmp0_subject = parser.q3b();
|
|
7331
7336
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7332
7337
|
if (parser.l2() === 'events') {
|
|
7333
|
-
var tmp0 = $this.
|
|
7338
|
+
var tmp0 = $this.p3x_1;
|
|
7334
7339
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7335
7340
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7336
7341
|
addAll(tmp0, elements);
|
|
7337
7342
|
}
|
|
7338
7343
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/lesson') {
|
|
7339
7344
|
if (parser.l2() === 'content') {
|
|
7340
|
-
var tmp4 = $this.
|
|
7345
|
+
var tmp4 = $this.q3x_1;
|
|
7341
7346
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7342
7347
|
// Inline function 'kotlin.collections.buildList' call
|
|
7343
7348
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7393,17 +7398,17 @@
|
|
|
7393
7398
|
return LessonPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(LessonPage)));
|
|
7394
7399
|
}
|
|
7395
7400
|
protoOf(LessonPage).w3g = function () {
|
|
7396
|
-
return this.
|
|
7401
|
+
return this.p3x_1;
|
|
7397
7402
|
};
|
|
7398
7403
|
protoOf(LessonPage).k3c = function () {
|
|
7399
|
-
return this.
|
|
7404
|
+
return this.q3x_1;
|
|
7400
7405
|
};
|
|
7401
7406
|
function LessonPage() {
|
|
7402
7407
|
}
|
|
7403
7408
|
function Companion_42() {
|
|
7404
7409
|
Companion_instance_43 = this;
|
|
7405
|
-
this.
|
|
7406
|
-
this.
|
|
7410
|
+
this.r3y_1 = 'header';
|
|
7411
|
+
this.s3y_1 = Align_CENTER_getInstance();
|
|
7407
7412
|
}
|
|
7408
7413
|
var Companion_instance_43;
|
|
7409
7414
|
function Companion_getInstance_45() {
|
|
@@ -7456,16 +7461,16 @@
|
|
|
7456
7461
|
continue $l$loop_0;
|
|
7457
7462
|
skipTag(parser);
|
|
7458
7463
|
}
|
|
7459
|
-
tmp.
|
|
7464
|
+
tmp.v3y_1 = this_0.k3();
|
|
7460
7465
|
return $this;
|
|
7461
7466
|
}
|
|
7462
7467
|
function Header_init_$Create$(page, parser) {
|
|
7463
7468
|
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
7464
7469
|
}
|
|
7465
7470
|
function Companion_43() {
|
|
7466
|
-
this.
|
|
7467
|
-
this.
|
|
7468
|
-
this.
|
|
7471
|
+
this.w3y_1 = 'card';
|
|
7472
|
+
this.x3y_1 = 'id';
|
|
7473
|
+
this.y3y_1 = 'content';
|
|
7469
7474
|
}
|
|
7470
7475
|
var Companion_instance_44;
|
|
7471
7476
|
function Companion_getInstance_46() {
|
|
@@ -7476,17 +7481,16 @@
|
|
|
7476
7481
|
Card_0.call($this);
|
|
7477
7482
|
$this.page = page;
|
|
7478
7483
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'card');
|
|
7479
|
-
$this.
|
|
7484
|
+
$this.a3z_1 = parser.d3d('id');
|
|
7480
7485
|
var tmp = $this;
|
|
7481
7486
|
var tmp0_safe_receiver = parser.d3d('background-color');
|
|
7482
|
-
|
|
7483
|
-
tmp.z3y_1 = tmp1_safe_receiver == null ? null : toPlatformColor(tmp1_safe_receiver);
|
|
7487
|
+
tmp.b3z_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
7484
7488
|
var tmp_0 = $this;
|
|
7485
7489
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7486
|
-
tmp_0.
|
|
7490
|
+
tmp_0.c3z_1 = ArrayList_init_$Create$();
|
|
7487
7491
|
var tmp_1 = $this;
|
|
7488
7492
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7489
|
-
tmp_1.
|
|
7493
|
+
tmp_1.d3z_1 = ArrayList_init_$Create$();
|
|
7490
7494
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7491
7495
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7492
7496
|
if (!(parser.p3b() === 2))
|
|
@@ -7494,14 +7498,14 @@
|
|
|
7494
7498
|
var tmp0_subject = parser.q3b();
|
|
7495
7499
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7496
7500
|
if (parser.l2() === 'events') {
|
|
7497
|
-
var tmp0 = $this.
|
|
7501
|
+
var tmp0 = $this.c3z_1;
|
|
7498
7502
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7499
7503
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7500
7504
|
addAll(tmp0, elements);
|
|
7501
7505
|
}
|
|
7502
7506
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7503
7507
|
if (parser.l2() === 'content') {
|
|
7504
|
-
var tmp4 = $this.
|
|
7508
|
+
var tmp4 = $this.d3z_1;
|
|
7505
7509
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7506
7510
|
// Inline function 'kotlin.collections.buildList' call
|
|
7507
7511
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7530,12 +7534,12 @@
|
|
|
7530
7534
|
}
|
|
7531
7535
|
tmp_2 = tmp_3;
|
|
7532
7536
|
}
|
|
7533
|
-
var
|
|
7534
|
-
if (
|
|
7537
|
+
var tmp1_safe_receiver = tmp_2;
|
|
7538
|
+
if (tmp1_safe_receiver == null)
|
|
7535
7539
|
null;
|
|
7536
7540
|
else {
|
|
7537
7541
|
// Inline function 'kotlin.let' call
|
|
7538
|
-
this_0.e(
|
|
7542
|
+
this_0.e(tmp1_safe_receiver);
|
|
7539
7543
|
}
|
|
7540
7544
|
}
|
|
7541
7545
|
if (parser.p3b() === 3)
|
|
@@ -7557,7 +7561,7 @@
|
|
|
7557
7561
|
return Card_init_$Init$_0(page, parser, objectCreate(protoOf(Card_0)));
|
|
7558
7562
|
}
|
|
7559
7563
|
function Companion_44() {
|
|
7560
|
-
this.
|
|
7564
|
+
this.e3z_1 = 'cardcollection';
|
|
7561
7565
|
}
|
|
7562
7566
|
var Companion_instance_45;
|
|
7563
7567
|
function Companion_getInstance_47() {
|
|
@@ -7567,10 +7571,10 @@
|
|
|
7567
7571
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7568
7572
|
CardCollectionPage.call($this);
|
|
7569
7573
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7570
|
-
Companion_getInstance_49().
|
|
7574
|
+
Companion_getInstance_49().f3z(parser, 'cardcollection');
|
|
7571
7575
|
var tmp = $this;
|
|
7572
7576
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7573
|
-
tmp.
|
|
7577
|
+
tmp.y3z_1 = ArrayList_init_$Create$();
|
|
7574
7578
|
var header = null;
|
|
7575
7579
|
var tmp_0 = $this;
|
|
7576
7580
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -7582,7 +7586,7 @@
|
|
|
7582
7586
|
var tmp0_subject = parser.q3b();
|
|
7583
7587
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7584
7588
|
if (parser.l2() === 'events') {
|
|
7585
|
-
var tmp0 = $this.
|
|
7589
|
+
var tmp0 = $this.y3z_1;
|
|
7586
7590
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7587
7591
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7588
7592
|
addAll(tmp0, elements);
|
|
@@ -7627,31 +7631,31 @@
|
|
|
7627
7631
|
return this_0.k3();
|
|
7628
7632
|
}
|
|
7629
7633
|
protoOf(Header).z3h = function () {
|
|
7630
|
-
return this.
|
|
7634
|
+
return this.u3y_1;
|
|
7631
7635
|
};
|
|
7632
7636
|
protoOf(Header).k3c = function () {
|
|
7633
|
-
return this.
|
|
7637
|
+
return this.v3y_1;
|
|
7634
7638
|
};
|
|
7635
7639
|
function Header() {
|
|
7636
7640
|
Companion_getInstance_45();
|
|
7637
|
-
this.
|
|
7641
|
+
this.u3y_1 = Companion_getInstance_45().s3y_1;
|
|
7638
7642
|
}
|
|
7639
|
-
protoOf(Card_0).
|
|
7643
|
+
protoOf(Card_0).z3z = function () {
|
|
7640
7644
|
return this.page;
|
|
7641
7645
|
};
|
|
7642
7646
|
protoOf(Card_0).i3c = function () {
|
|
7643
|
-
var tmp0_elvis_lhs = this.
|
|
7647
|
+
var tmp0_elvis_lhs = this.a3z_1;
|
|
7644
7648
|
return tmp0_elvis_lhs == null ? this.page.id + '-' + this.position : tmp0_elvis_lhs;
|
|
7645
7649
|
};
|
|
7646
|
-
protoOf(Card_0).
|
|
7650
|
+
protoOf(Card_0).s3u = function () {
|
|
7647
7651
|
return this.page._cards.w1(this);
|
|
7648
7652
|
};
|
|
7649
7653
|
protoOf(Card_0).k3q = function () {
|
|
7650
|
-
var tmp0_elvis_lhs = this.
|
|
7654
|
+
var tmp0_elvis_lhs = this.b3z_1;
|
|
7651
7655
|
return tmp0_elvis_lhs == null ? this.page.v3h() : tmp0_elvis_lhs;
|
|
7652
7656
|
};
|
|
7653
7657
|
protoOf(Card_0).k3c = function () {
|
|
7654
|
-
return this.
|
|
7658
|
+
return this.d3z_1;
|
|
7655
7659
|
};
|
|
7656
7660
|
protoOf(Card_0).u3c = function () {
|
|
7657
7661
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -7673,7 +7677,7 @@
|
|
|
7673
7677
|
case 0:
|
|
7674
7678
|
// Inline function 'kotlin.collections.filter' call
|
|
7675
7679
|
|
|
7676
|
-
var tmp0 = this.
|
|
7680
|
+
var tmp0 = this.c3z_1;
|
|
7677
7681
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7678
7682
|
|
|
7679
7683
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7690,7 +7694,7 @@
|
|
|
7690
7694
|
case 1:
|
|
7691
7695
|
// Inline function 'kotlin.collections.filter' call
|
|
7692
7696
|
|
|
7693
|
-
var tmp0_0 = this.
|
|
7697
|
+
var tmp0_0 = this.c3z_1;
|
|
7694
7698
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7695
7699
|
|
|
7696
7700
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -7716,15 +7720,15 @@
|
|
|
7716
7720
|
function Card_0() {
|
|
7717
7721
|
}
|
|
7718
7722
|
protoOf(CardCollectionPage).w3g = function () {
|
|
7719
|
-
return this.
|
|
7723
|
+
return this.y3z_1;
|
|
7720
7724
|
};
|
|
7721
7725
|
protoOf(CardCollectionPage).j3c = function () {
|
|
7722
7726
|
return this.header;
|
|
7723
7727
|
};
|
|
7724
|
-
protoOf(CardCollectionPage).
|
|
7728
|
+
protoOf(CardCollectionPage).a40 = function () {
|
|
7725
7729
|
return this._cards;
|
|
7726
7730
|
};
|
|
7727
|
-
protoOf(CardCollectionPage).
|
|
7731
|
+
protoOf(CardCollectionPage).b40 = function () {
|
|
7728
7732
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7729
7733
|
var this_0 = this._cards;
|
|
7730
7734
|
return copyToArray(this_0);
|
|
@@ -7744,7 +7748,7 @@
|
|
|
7744
7748
|
}
|
|
7745
7749
|
}
|
|
7746
7750
|
function Companion_45() {
|
|
7747
|
-
this.
|
|
7751
|
+
this.c40_1 = 'content';
|
|
7748
7752
|
}
|
|
7749
7753
|
var Companion_instance_46;
|
|
7750
7754
|
function Companion_getInstance_48() {
|
|
@@ -7754,13 +7758,13 @@
|
|
|
7754
7758
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7755
7759
|
ContentPage.call($this);
|
|
7756
7760
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7757
|
-
Companion_getInstance_49().
|
|
7761
|
+
Companion_getInstance_49().f3z(parser, 'content');
|
|
7758
7762
|
var tmp = $this;
|
|
7759
7763
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7760
|
-
tmp.
|
|
7764
|
+
tmp.v40_1 = ArrayList_init_$Create$();
|
|
7761
7765
|
var tmp_0 = $this;
|
|
7762
7766
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7763
|
-
tmp_0.
|
|
7767
|
+
tmp_0.w40_1 = ArrayList_init_$Create$();
|
|
7764
7768
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7765
7769
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7766
7770
|
if (!(parser.p3b() === 2))
|
|
@@ -7768,14 +7772,14 @@
|
|
|
7768
7772
|
var tmp0_subject = parser.q3b();
|
|
7769
7773
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7770
7774
|
if (parser.l2() === 'events') {
|
|
7771
|
-
var tmp0 = $this.
|
|
7775
|
+
var tmp0 = $this.v40_1;
|
|
7772
7776
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7773
7777
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7774
7778
|
addAll(tmp0, elements);
|
|
7775
7779
|
}
|
|
7776
7780
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7777
7781
|
if (parser.l2() === 'content') {
|
|
7778
|
-
var tmp4 = $this.
|
|
7782
|
+
var tmp4 = $this.w40_1;
|
|
7779
7783
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7780
7784
|
// Inline function 'kotlin.collections.buildList' call
|
|
7781
7785
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7831,20 +7835,20 @@
|
|
|
7831
7835
|
return ContentPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(ContentPage)));
|
|
7832
7836
|
}
|
|
7833
7837
|
protoOf(ContentPage).w3g = function () {
|
|
7834
|
-
return this.
|
|
7838
|
+
return this.v40_1;
|
|
7835
7839
|
};
|
|
7836
7840
|
protoOf(ContentPage).k3c = function () {
|
|
7837
|
-
return this.
|
|
7841
|
+
return this.w40_1;
|
|
7838
7842
|
};
|
|
7839
7843
|
function ContentPage() {
|
|
7840
7844
|
}
|
|
7841
7845
|
function $parseCOROUTINE$1(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
7842
7846
|
CoroutineImpl.call(this, resultContinuation);
|
|
7843
|
-
this.
|
|
7844
|
-
this.
|
|
7845
|
-
this.
|
|
7846
|
-
this.
|
|
7847
|
-
this.
|
|
7847
|
+
this.f41_1 = _this__u8e3s4;
|
|
7848
|
+
this.g41_1 = container;
|
|
7849
|
+
this.h41_1 = fileName;
|
|
7850
|
+
this.i41_1 = parser;
|
|
7851
|
+
this.j41_1 = parseFile;
|
|
7848
7852
|
}
|
|
7849
7853
|
protoOf($parseCOROUTINE$1).d9 = function () {
|
|
7850
7854
|
var suspendResult = this.x8_1;
|
|
@@ -7854,35 +7858,35 @@
|
|
|
7854
7858
|
switch (tmp) {
|
|
7855
7859
|
case 0:
|
|
7856
7860
|
this.w8_1 = 3;
|
|
7857
|
-
this.
|
|
7858
|
-
this.
|
|
7859
|
-
if (this.
|
|
7860
|
-
if (!this.
|
|
7861
|
+
this.i41_1.o3b(2, null, 'page');
|
|
7862
|
+
this.k41_1 = to(this.i41_1.q3b(), this.i41_1.p3p('http://www.w3.org/2001/XMLSchema-instance', 'type'));
|
|
7863
|
+
if (this.k41_1.equals(to('https://mobile-content-api.cru.org/xmlns/page', 'page-collection'))) {
|
|
7864
|
+
if (!this.g41_1.j3k(getKClass(PageCollectionPage)))
|
|
7861
7865
|
return null;
|
|
7862
7866
|
this.v8_1 = 1;
|
|
7863
|
-
suspendResult = Companion_instance_48.
|
|
7867
|
+
suspendResult = Companion_instance_48.r41(this.g41_1, this.h41_1, this.i41_1, this.j41_1, this);
|
|
7864
7868
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7865
7869
|
return suspendResult;
|
|
7866
7870
|
}
|
|
7867
7871
|
continue $sm;
|
|
7868
7872
|
} else {
|
|
7869
|
-
this.
|
|
7873
|
+
this.l41_1 = this.f41_1.m41(this.g41_1, this.h41_1, this.i41_1);
|
|
7870
7874
|
this.v8_1 = 2;
|
|
7871
7875
|
continue $sm;
|
|
7872
7876
|
}
|
|
7873
7877
|
|
|
7874
7878
|
case 1:
|
|
7875
|
-
this.
|
|
7879
|
+
this.l41_1 = suspendResult;
|
|
7876
7880
|
this.v8_1 = 2;
|
|
7877
7881
|
continue $sm;
|
|
7878
7882
|
case 2:
|
|
7879
|
-
var tmp1_safe_receiver = this.
|
|
7883
|
+
var tmp1_safe_receiver = this.l41_1;
|
|
7880
7884
|
var tmp_0;
|
|
7881
7885
|
if (tmp1_safe_receiver == null) {
|
|
7882
7886
|
tmp_0 = null;
|
|
7883
7887
|
} else {
|
|
7884
7888
|
var tmp_1;
|
|
7885
|
-
if (this.
|
|
7889
|
+
if (this.g41_1.j3k(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
7886
7890
|
tmp_1 = tmp1_safe_receiver;
|
|
7887
7891
|
} else {
|
|
7888
7892
|
tmp_1 = null;
|
|
@@ -7909,7 +7913,7 @@
|
|
|
7909
7913
|
Companion_instance_47 = this;
|
|
7910
7914
|
this.n3m_1 = 'page';
|
|
7911
7915
|
this.o3m_1 = 'parent_override_page-collection';
|
|
7912
|
-
this.p3m_1 =
|
|
7916
|
+
this.p3m_1 = color(0, 0, 0, 0.0);
|
|
7913
7917
|
this.q3m_1 = Companion_getInstance_22().CENTER;
|
|
7914
7918
|
this.r3m_1 = ImageScaleType_FILL_X_getInstance();
|
|
7915
7919
|
}
|
|
@@ -7919,7 +7923,7 @@
|
|
|
7919
7923
|
tmp.y8_1 = null;
|
|
7920
7924
|
return tmp.d9();
|
|
7921
7925
|
};
|
|
7922
|
-
protoOf(Companion_46).
|
|
7926
|
+
protoOf(Companion_46).m41 = function (container, fileName, parser) {
|
|
7923
7927
|
parser.o3b(2, null, 'page');
|
|
7924
7928
|
var tmp;
|
|
7925
7929
|
switch (parser.q3b()) {
|
|
@@ -7990,7 +7994,7 @@
|
|
|
7990
7994
|
}
|
|
7991
7995
|
return tmp_1;
|
|
7992
7996
|
};
|
|
7993
|
-
protoOf(Companion_46).
|
|
7997
|
+
protoOf(Companion_46).f3z = function (_this__u8e3s4, type) {
|
|
7994
7998
|
var actual = _this__u8e3s4.p3p('http://www.w3.org/2001/XMLSchema-instance', 'type');
|
|
7995
7999
|
if (!(type === actual))
|
|
7996
8000
|
throw new XmlPullParserException('expected ' + type + ' not ' + actual);
|
|
@@ -8020,8 +8024,8 @@
|
|
|
8020
8024
|
BaseModel.call($this, container);
|
|
8021
8025
|
Page.call($this);
|
|
8022
8026
|
parser.o3b(2, null, 'page');
|
|
8023
|
-
$this.
|
|
8024
|
-
$this.
|
|
8027
|
+
$this.u3x_1 = parser.d3d('id');
|
|
8028
|
+
$this.v3x_1 = fileName;
|
|
8025
8029
|
var tmp = $this;
|
|
8026
8030
|
var tmp0_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/cyoa', 'parent_override_page-collection');
|
|
8027
8031
|
var tmp_0;
|
|
@@ -8038,7 +8042,7 @@
|
|
|
8038
8042
|
tmp_0 = tmp_1;
|
|
8039
8043
|
}
|
|
8040
8044
|
var tmp1_elvis_lhs = tmp_0;
|
|
8041
|
-
tmp.
|
|
8045
|
+
tmp.w3x_1 = tmp1_elvis_lhs == null ? parser.p3p('https://mobile-content-api.cru.org/xmlns/cyoa', 'parent') : tmp1_elvis_lhs;
|
|
8042
8046
|
var tmp_2 = $this;
|
|
8043
8047
|
var tmp2_safe_receiver = parser.d3d('hidden');
|
|
8044
8048
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toBoolean(tmp2_safe_receiver);
|
|
@@ -8047,43 +8051,42 @@
|
|
|
8047
8051
|
$this._dismissListeners = toSet_0(toEventIds(parser.d3d('dismiss-listeners')));
|
|
8048
8052
|
var tmp_3 = $this;
|
|
8049
8053
|
var tmp4_safe_receiver = parser.d3d('primary-color');
|
|
8050
|
-
tmp_3.
|
|
8054
|
+
tmp_3.x3x_1 = tmp4_safe_receiver == null ? null : toColorOrNull(tmp4_safe_receiver);
|
|
8051
8055
|
var tmp_4 = $this;
|
|
8052
8056
|
var tmp5_safe_receiver = parser.d3d('primary-text-color');
|
|
8053
|
-
tmp_4.
|
|
8057
|
+
tmp_4.y3x_1 = tmp5_safe_receiver == null ? null : toColorOrNull(tmp5_safe_receiver);
|
|
8054
8058
|
var tmp_5 = $this;
|
|
8055
8059
|
var tmp6_safe_receiver = parser.d3d('background-color');
|
|
8056
|
-
var
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
$this.z3x_1 = parser.d3d('background-image');
|
|
8060
|
+
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
|
|
8061
|
+
tmp_5.z3x_1 = tmp7_elvis_lhs == null ? Companion_getInstance_49().p3m_1 : tmp7_elvis_lhs;
|
|
8062
|
+
$this.a3y_1 = parser.d3d('background-image');
|
|
8060
8063
|
var tmp_6 = $this;
|
|
8061
|
-
var
|
|
8062
|
-
var
|
|
8063
|
-
tmp_6.
|
|
8064
|
+
var tmp8_safe_receiver = parser.d3d('background-image-align');
|
|
8065
|
+
var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : Companion_getInstance_22().k3g(tmp8_safe_receiver);
|
|
8066
|
+
tmp_6.b3y_1 = tmp9_elvis_lhs == null ? Companion_getInstance_49().q3m_1 : tmp9_elvis_lhs;
|
|
8064
8067
|
var tmp_7 = $this;
|
|
8065
|
-
var
|
|
8066
|
-
var
|
|
8067
|
-
tmp_7.
|
|
8068
|
+
var tmp10_safe_receiver = parser.d3d('background-image-scale-type');
|
|
8069
|
+
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : Companion_instance_22.x3k(tmp10_safe_receiver);
|
|
8070
|
+
tmp_7.c3y_1 = tmp11_elvis_lhs == null ? Companion_getInstance_49().r3m_1 : tmp11_elvis_lhs;
|
|
8068
8071
|
var tmp_8 = $this;
|
|
8069
|
-
var
|
|
8070
|
-
tmp_8.
|
|
8072
|
+
var tmp12_safe_receiver = parser.d3d('control-color');
|
|
8073
|
+
tmp_8.d3y_1 = tmp12_safe_receiver == null ? null : toColorOrNull(tmp12_safe_receiver);
|
|
8071
8074
|
var tmp_9 = $this;
|
|
8072
|
-
var
|
|
8073
|
-
tmp_9.
|
|
8075
|
+
var tmp13_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
|
|
8076
|
+
tmp_9.e3y_1 = tmp13_safe_receiver == null ? null : toColorOrNull(tmp13_safe_receiver);
|
|
8074
8077
|
var tmp_10 = $this;
|
|
8075
|
-
var
|
|
8076
|
-
tmp_10.
|
|
8078
|
+
var tmp14_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
|
|
8079
|
+
tmp_10.f3y_1 = tmp14_safe_receiver == null ? null : toColorOrNull(tmp14_safe_receiver);
|
|
8077
8080
|
var tmp_11 = $this;
|
|
8078
|
-
var
|
|
8079
|
-
tmp_11.
|
|
8081
|
+
var tmp15_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
|
|
8082
|
+
tmp_11.g3y_1 = tmp15_safe_receiver == null ? null : toColorOrNull(tmp15_safe_receiver);
|
|
8080
8083
|
var tmp_12 = $this;
|
|
8081
|
-
var
|
|
8082
|
-
tmp_12.
|
|
8084
|
+
var tmp16_safe_receiver = parser.d3d('text-color');
|
|
8085
|
+
tmp_12.h3y_1 = tmp16_safe_receiver == null ? null : toColorOrNull(tmp16_safe_receiver);
|
|
8083
8086
|
var tmp_13 = $this;
|
|
8084
|
-
var
|
|
8085
|
-
var
|
|
8086
|
-
tmp_13.
|
|
8087
|
+
var tmp17_safe_receiver = parser.d3d('text-scale');
|
|
8088
|
+
var tmp18_elvis_lhs = tmp17_safe_receiver == null ? null : toDoubleOrNull(tmp17_safe_receiver);
|
|
8089
|
+
tmp_13.i3y_1 = tmp18_elvis_lhs == null ? 1.0 : tmp18_elvis_lhs;
|
|
8087
8090
|
return $this;
|
|
8088
8091
|
}
|
|
8089
8092
|
function Page_init_$Init$_0(container, id, fileName, parentPage, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, controlColor, cardBackgroundColor, multiselectOptionBackgroundColor, multiselectOptionSelectedColor, textColor, textScale, $this) {
|
|
@@ -8104,30 +8107,30 @@
|
|
|
8104
8107
|
textScale = textScale === VOID ? 1.0 : textScale;
|
|
8105
8108
|
BaseModel.call($this, container);
|
|
8106
8109
|
Page.call($this);
|
|
8107
|
-
$this.
|
|
8108
|
-
$this.
|
|
8109
|
-
$this.
|
|
8110
|
+
$this.u3x_1 = id;
|
|
8111
|
+
$this.v3x_1 = fileName;
|
|
8112
|
+
$this.w3x_1 = parentPage;
|
|
8110
8113
|
$this.isHidden = false;
|
|
8111
8114
|
$this._listeners = emptySet();
|
|
8112
8115
|
$this._dismissListeners = emptySet();
|
|
8113
|
-
$this.
|
|
8114
|
-
$this.
|
|
8115
|
-
$this.
|
|
8116
|
-
$this.
|
|
8117
|
-
$this.
|
|
8118
|
-
$this.
|
|
8119
|
-
$this.
|
|
8120
|
-
$this.
|
|
8121
|
-
$this.
|
|
8122
|
-
$this.
|
|
8123
|
-
$this.
|
|
8124
|
-
$this.
|
|
8116
|
+
$this.x3x_1 = primaryColor;
|
|
8117
|
+
$this.y3x_1 = null;
|
|
8118
|
+
$this.z3x_1 = backgroundColor;
|
|
8119
|
+
$this.a3y_1 = backgroundImage;
|
|
8120
|
+
$this.b3y_1 = backgroundImageGravity;
|
|
8121
|
+
$this.c3y_1 = backgroundImageScaleType;
|
|
8122
|
+
$this.d3y_1 = controlColor;
|
|
8123
|
+
$this.e3y_1 = cardBackgroundColor;
|
|
8124
|
+
$this.f3y_1 = multiselectOptionBackgroundColor;
|
|
8125
|
+
$this.g3y_1 = multiselectOptionSelectedColor;
|
|
8126
|
+
$this.h3y_1 = textColor;
|
|
8127
|
+
$this.i3y_1 = textScale;
|
|
8125
8128
|
return $this;
|
|
8126
8129
|
}
|
|
8127
8130
|
function Page$id$delegate$lambda(this$0) {
|
|
8128
8131
|
return function () {
|
|
8129
|
-
var tmp0_elvis_lhs = this$0.
|
|
8130
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this$0.
|
|
8132
|
+
var tmp0_elvis_lhs = this$0.u3x_1;
|
|
8133
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this$0.v3x_1 : tmp0_elvis_lhs;
|
|
8131
8134
|
return tmp1_elvis_lhs == null ? '' + this$0.s38().code + '-' + this$0.position : tmp1_elvis_lhs;
|
|
8132
8135
|
};
|
|
8133
8136
|
}
|
|
@@ -8137,32 +8140,32 @@
|
|
|
8137
8140
|
};
|
|
8138
8141
|
}
|
|
8139
8142
|
protoOf(Page).i3c = function () {
|
|
8140
|
-
var tmp0 = this.
|
|
8143
|
+
var tmp0 = this.s3x_1;
|
|
8141
8144
|
// Inline function 'kotlin.getValue' call
|
|
8142
8145
|
id$factory();
|
|
8143
8146
|
return tmp0.c2();
|
|
8144
8147
|
};
|
|
8145
|
-
protoOf(Page).
|
|
8146
|
-
var tmp0 = this.
|
|
8148
|
+
protoOf(Page).s3u = function () {
|
|
8149
|
+
var tmp0 = this.t3x_1;
|
|
8147
8150
|
// Inline function 'kotlin.getValue' call
|
|
8148
8151
|
position$factory();
|
|
8149
8152
|
return tmp0.c2();
|
|
8150
8153
|
};
|
|
8151
|
-
protoOf(Page).i3y = function () {
|
|
8152
|
-
return this.u3x_1;
|
|
8153
|
-
};
|
|
8154
8154
|
protoOf(Page).j3y = function () {
|
|
8155
|
+
return this.v3x_1;
|
|
8156
|
+
};
|
|
8157
|
+
protoOf(Page).k3y = function () {
|
|
8155
8158
|
var tmp = _get_parentPageContainer__qsoup5(this);
|
|
8156
|
-
var tmp0_safe_receiver = this.
|
|
8159
|
+
var tmp0_safe_receiver = this.w3x_1;
|
|
8157
8160
|
return tmp.findPage(tmp0_safe_receiver == null ? null : substringBefore(tmp0_safe_receiver, '?'));
|
|
8158
8161
|
};
|
|
8159
|
-
protoOf(Page).
|
|
8162
|
+
protoOf(Page).l3y = function () {
|
|
8160
8163
|
var tmp;
|
|
8161
8164
|
if (this.parentPage == null) {
|
|
8162
8165
|
tmp = emptyMap();
|
|
8163
8166
|
} else {
|
|
8164
8167
|
// Inline function 'kotlin.text.orEmpty' call
|
|
8165
|
-
var tmp0_elvis_lhs = this.
|
|
8168
|
+
var tmp0_elvis_lhs = this.w3x_1;
|
|
8166
8169
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
8167
8170
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
8168
8171
|
var tmp0 = split_0(substringAfter(tmp$ret$0, '?', ''), ['&']);
|
|
@@ -8207,48 +8210,48 @@
|
|
|
8207
8210
|
}
|
|
8208
8211
|
return tmp;
|
|
8209
8212
|
};
|
|
8210
|
-
protoOf(Page).
|
|
8213
|
+
protoOf(Page).m3y = function () {
|
|
8211
8214
|
return getOrNull(_get_parentPageContainer__qsoup5(this).i3k(), this.position + 1 | 0);
|
|
8212
8215
|
};
|
|
8213
|
-
protoOf(Page).
|
|
8216
|
+
protoOf(Page).n3y = function () {
|
|
8214
8217
|
return getOrNull(_get_parentPageContainer__qsoup5(this).i3k(), this.position - 1 | 0);
|
|
8215
8218
|
};
|
|
8216
|
-
protoOf(Page).
|
|
8219
|
+
protoOf(Page).o3y = function () {
|
|
8217
8220
|
return this.isHidden;
|
|
8218
8221
|
};
|
|
8219
|
-
protoOf(Page).
|
|
8222
|
+
protoOf(Page).t3u = function () {
|
|
8220
8223
|
return this._listeners;
|
|
8221
8224
|
};
|
|
8222
8225
|
protoOf(Page).h3q = function () {
|
|
8223
8226
|
return this._dismissListeners;
|
|
8224
8227
|
};
|
|
8225
8228
|
protoOf(Page).s3h = function () {
|
|
8226
|
-
var tmp0_elvis_lhs = this.
|
|
8229
|
+
var tmp0_elvis_lhs = this.x3x_1;
|
|
8227
8230
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
8228
8231
|
};
|
|
8229
8232
|
protoOf(Page).t3h = function () {
|
|
8230
|
-
var tmp0_elvis_lhs = this.
|
|
8233
|
+
var tmp0_elvis_lhs = this.y3x_1;
|
|
8231
8234
|
return tmp0_elvis_lhs == null ? get_primaryTextColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
8232
8235
|
};
|
|
8233
8236
|
protoOf(Page).k3q = function () {
|
|
8234
|
-
return this.
|
|
8237
|
+
return this.z3x_1;
|
|
8235
8238
|
};
|
|
8236
8239
|
protoOf(Page).l3q = function () {
|
|
8237
|
-
return getResource(this, this.
|
|
8240
|
+
return getResource(this, this.a3y_1);
|
|
8238
8241
|
};
|
|
8239
8242
|
protoOf(Page).m3q = function () {
|
|
8240
|
-
return this.
|
|
8243
|
+
return this.b3y_1;
|
|
8241
8244
|
};
|
|
8242
8245
|
protoOf(Page).n3q = function () {
|
|
8243
|
-
return this.
|
|
8246
|
+
return this.c3y_1;
|
|
8244
8247
|
};
|
|
8245
|
-
protoOf(Page).
|
|
8246
|
-
var tmp0_elvis_lhs = this.
|
|
8248
|
+
protoOf(Page).p3y = function () {
|
|
8249
|
+
var tmp0_elvis_lhs = this.d3y_1;
|
|
8247
8250
|
var tmp;
|
|
8248
8251
|
if (tmp0_elvis_lhs == null) {
|
|
8249
8252
|
var tmp_0 = _get_parentPageContainer__qsoup5(this);
|
|
8250
8253
|
var tmp1_safe_receiver = tmp_0 instanceof Page ? tmp_0 : null;
|
|
8251
|
-
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
8254
|
+
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p3y();
|
|
8252
8255
|
} else {
|
|
8253
8256
|
tmp = tmp0_elvis_lhs;
|
|
8254
8257
|
}
|
|
@@ -8256,23 +8259,23 @@
|
|
|
8256
8259
|
return tmp2_elvis_lhs == null ? this.s38().l3e_1 : tmp2_elvis_lhs;
|
|
8257
8260
|
};
|
|
8258
8261
|
protoOf(Page).v3h = function () {
|
|
8259
|
-
var tmp0_elvis_lhs = this.
|
|
8262
|
+
var tmp0_elvis_lhs = this.e3y_1;
|
|
8260
8263
|
return tmp0_elvis_lhs == null ? get_cardBackgroundColor.call(this) : tmp0_elvis_lhs;
|
|
8261
8264
|
};
|
|
8262
8265
|
protoOf(Page).w3h = function () {
|
|
8263
|
-
var tmp0_elvis_lhs = this.
|
|
8266
|
+
var tmp0_elvis_lhs = this.f3y_1;
|
|
8264
8267
|
return tmp0_elvis_lhs == null ? get_multiselectOptionBackgroundColor.call(this) : tmp0_elvis_lhs;
|
|
8265
8268
|
};
|
|
8266
8269
|
protoOf(Page).x3h = function () {
|
|
8267
|
-
var tmp0_elvis_lhs = this.
|
|
8270
|
+
var tmp0_elvis_lhs = this.g3y_1;
|
|
8268
8271
|
return tmp0_elvis_lhs == null ? get_multiselectOptionSelectedColor.call(this) : tmp0_elvis_lhs;
|
|
8269
8272
|
};
|
|
8270
8273
|
protoOf(Page).q3h = function () {
|
|
8271
|
-
var tmp0_elvis_lhs = this.
|
|
8274
|
+
var tmp0_elvis_lhs = this.h3y_1;
|
|
8272
8275
|
return tmp0_elvis_lhs == null ? get_textColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
8273
8276
|
};
|
|
8274
8277
|
protoOf(Page).y3h = function () {
|
|
8275
|
-
return this.
|
|
8278
|
+
return this.i3y_1 * get_textScale_0(get_stylesParent(this));
|
|
8276
8279
|
};
|
|
8277
8280
|
protoOf(Page).l3c = function (type) {
|
|
8278
8281
|
var tmp;
|
|
@@ -8325,17 +8328,20 @@
|
|
|
8325
8328
|
var this_0 = this._dismissListeners;
|
|
8326
8329
|
return copyToArray(this_0);
|
|
8327
8330
|
};
|
|
8328
|
-
protoOf(Page).
|
|
8331
|
+
protoOf(Page).u3u = function () {
|
|
8329
8332
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
8330
8333
|
var this_0 = this._listeners;
|
|
8331
8334
|
return copyToArray(this_0);
|
|
8332
8335
|
};
|
|
8336
|
+
protoOf(Page).q3y = function () {
|
|
8337
|
+
return toPlatformColor(this.p3y());
|
|
8338
|
+
};
|
|
8333
8339
|
function Page() {
|
|
8334
8340
|
Companion_getInstance_49();
|
|
8335
8341
|
var tmp = this;
|
|
8336
|
-
tmp.
|
|
8342
|
+
tmp.s3x_1 = lazy(Page$id$delegate$lambda(this));
|
|
8337
8343
|
var tmp_0 = this;
|
|
8338
|
-
tmp_0.
|
|
8344
|
+
tmp_0.t3x_1 = lazy(Page$position$delegate$lambda(this));
|
|
8339
8345
|
}
|
|
8340
8346
|
function id$factory() {
|
|
8341
8347
|
return getPropertyCallableRef('id', 1, KProperty1, function (receiver) {
|
|
@@ -8349,11 +8355,11 @@
|
|
|
8349
8355
|
}
|
|
8350
8356
|
function $parseCOROUTINE$2(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
8351
8357
|
CoroutineImpl.call(this, resultContinuation);
|
|
8352
|
-
this.
|
|
8353
|
-
this.
|
|
8354
|
-
this.
|
|
8355
|
-
this.
|
|
8356
|
-
this.
|
|
8358
|
+
this.a42_1 = _this__u8e3s4;
|
|
8359
|
+
this.b42_1 = container;
|
|
8360
|
+
this.c42_1 = fileName;
|
|
8361
|
+
this.d42_1 = parser;
|
|
8362
|
+
this.e42_1 = parseFile;
|
|
8357
8363
|
}
|
|
8358
8364
|
protoOf($parseCOROUTINE$2).d9 = function () {
|
|
8359
8365
|
var suspendResult = this.x8_1;
|
|
@@ -8364,20 +8370,20 @@
|
|
|
8364
8370
|
case 0:
|
|
8365
8371
|
this.w8_1 = 2;
|
|
8366
8372
|
var tmp_0 = this;
|
|
8367
|
-
tmp_0.
|
|
8368
|
-
this.e42_1 = this.d42_1;
|
|
8369
|
-
var tmp_1 = this;
|
|
8370
|
-
tmp_1.f42_1 = this.e42_1;
|
|
8373
|
+
tmp_0.f42_1 = PageCollectionPage_init_$Create$(this.b42_1, this.c42_1, this.d42_1);
|
|
8371
8374
|
this.g42_1 = this.f42_1;
|
|
8375
|
+
var tmp_1 = this;
|
|
8376
|
+
tmp_1.h42_1 = this.g42_1;
|
|
8377
|
+
this.i42_1 = this.h42_1;
|
|
8372
8378
|
this.v8_1 = 1;
|
|
8373
|
-
suspendResult = buildPagesFromParsedPages(this.
|
|
8379
|
+
suspendResult = buildPagesFromParsedPages(this.i42_1, this.e42_1, this);
|
|
8374
8380
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8375
8381
|
return suspendResult;
|
|
8376
8382
|
}
|
|
8377
8383
|
|
|
8378
8384
|
continue $sm;
|
|
8379
8385
|
case 1:
|
|
8380
|
-
return this.
|
|
8386
|
+
return this.g42_1;
|
|
8381
8387
|
case 2:
|
|
8382
8388
|
throw this.y8_1;
|
|
8383
8389
|
}
|
|
@@ -8393,10 +8399,10 @@
|
|
|
8393
8399
|
while (true);
|
|
8394
8400
|
};
|
|
8395
8401
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8396
|
-
this.
|
|
8397
|
-
this.
|
|
8398
|
-
this.
|
|
8399
|
-
this.
|
|
8402
|
+
this.r42_1 = $it;
|
|
8403
|
+
this.s42_1 = this$0;
|
|
8404
|
+
this.t42_1 = $parseFile;
|
|
8405
|
+
this.u42_1 = $pageIndex$delegate;
|
|
8400
8406
|
CoroutineImpl.call(this, resultContinuation);
|
|
8401
8407
|
}
|
|
8402
8408
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).m3m = function ($this$async, $completion) {
|
|
@@ -8417,12 +8423,12 @@
|
|
|
8417
8423
|
case 0:
|
|
8418
8424
|
this.w8_1 = 3;
|
|
8419
8425
|
var tmp_0 = this;
|
|
8420
|
-
var tmp0_safe_receiver = this.
|
|
8426
|
+
var tmp0_safe_receiver = this.r42_1.b43_1;
|
|
8421
8427
|
var tmp_1;
|
|
8422
8428
|
if (tmp0_safe_receiver == null) {
|
|
8423
8429
|
tmp_1 = null;
|
|
8424
8430
|
} else {
|
|
8425
|
-
tmp_1 = buildPagesFromParsedPages$lambda(this.
|
|
8431
|
+
tmp_1 = buildPagesFromParsedPages$lambda(this.u42_1).f2(tmp0_safe_receiver);
|
|
8426
8432
|
}
|
|
8427
8433
|
|
|
8428
8434
|
var tmp1_elvis_lhs = tmp_1;
|
|
@@ -8433,20 +8439,20 @@
|
|
|
8433
8439
|
tmp_2 = tmp1_elvis_lhs;
|
|
8434
8440
|
}
|
|
8435
8441
|
|
|
8436
|
-
tmp_0.
|
|
8437
|
-
this.
|
|
8438
|
-
this.
|
|
8442
|
+
tmp_0.w42_1 = tmp_2;
|
|
8443
|
+
this.x42_1 = Companion_getInstance_49();
|
|
8444
|
+
this.y42_1 = this.r42_1.b43_1;
|
|
8439
8445
|
this.v8_1 = 1;
|
|
8440
|
-
suspendResult = this.
|
|
8446
|
+
suspendResult = this.t42_1(this.w42_1, this);
|
|
8441
8447
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8442
8448
|
return suspendResult;
|
|
8443
8449
|
}
|
|
8444
8450
|
|
|
8445
8451
|
continue $sm;
|
|
8446
8452
|
case 1:
|
|
8447
|
-
this.
|
|
8453
|
+
this.z42_1 = suspendResult;
|
|
8448
8454
|
this.v8_1 = 2;
|
|
8449
|
-
suspendResult = this.
|
|
8455
|
+
suspendResult = this.x42_1.s3m(this.s42_1, this.y42_1, this.z42_1, this.t42_1, this);
|
|
8450
8456
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8451
8457
|
return suspendResult;
|
|
8452
8458
|
}
|
|
@@ -8469,8 +8475,8 @@
|
|
|
8469
8475
|
while (true);
|
|
8470
8476
|
};
|
|
8471
8477
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).b19 = function ($this$async, completion) {
|
|
8472
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.
|
|
8473
|
-
i.
|
|
8478
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.r42_1, this.s42_1, this.t42_1, this.u42_1, completion);
|
|
8479
|
+
i.v42_1 = $this$async;
|
|
8474
8480
|
return i;
|
|
8475
8481
|
};
|
|
8476
8482
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
@@ -8482,19 +8488,19 @@
|
|
|
8482
8488
|
return l;
|
|
8483
8489
|
}
|
|
8484
8490
|
function Companion_47() {
|
|
8485
|
-
this.
|
|
8486
|
-
this.
|
|
8487
|
-
this.
|
|
8488
|
-
this.
|
|
8491
|
+
this.n41_1 = 'page-collection';
|
|
8492
|
+
this.o41_1 = 'pages';
|
|
8493
|
+
this.p41_1 = 'import';
|
|
8494
|
+
this.q41_1 = 'filename';
|
|
8489
8495
|
this.PARENT_PARAM_ACTIVE_PAGE = 'active-page';
|
|
8490
8496
|
}
|
|
8491
|
-
protoOf(Companion_47).
|
|
8492
|
-
return this.
|
|
8497
|
+
protoOf(Companion_47).c43 = function () {
|
|
8498
|
+
return this.n41_1;
|
|
8493
8499
|
};
|
|
8494
|
-
protoOf(Companion_47).
|
|
8500
|
+
protoOf(Companion_47).d43 = function () {
|
|
8495
8501
|
return this.PARENT_PARAM_ACTIVE_PAGE;
|
|
8496
8502
|
};
|
|
8497
|
-
protoOf(Companion_47).
|
|
8503
|
+
protoOf(Companion_47).r41 = function (container, fileName, parser, parseFile, $completion) {
|
|
8498
8504
|
var tmp = new $parseCOROUTINE$2(this, container, fileName, parser, parseFile, $completion);
|
|
8499
8505
|
tmp.x8_1 = Unit_instance;
|
|
8500
8506
|
tmp.y8_1 = null;
|
|
@@ -8505,19 +8511,19 @@
|
|
|
8505
8511
|
return Companion_instance_48;
|
|
8506
8512
|
}
|
|
8507
8513
|
function _set_pages__j2nojl_0($this, _set____db54di) {
|
|
8508
|
-
return $this.
|
|
8514
|
+
return $this.y43_1.o3p($this, pages$factory_1(), _set____db54di);
|
|
8509
8515
|
}
|
|
8510
8516
|
function PageCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
8511
8517
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
8512
8518
|
PageCollectionPage.call($this);
|
|
8513
8519
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
8514
|
-
Companion_getInstance_49().
|
|
8520
|
+
Companion_getInstance_49().f3z(parser, 'page-collection');
|
|
8515
8521
|
var tmp = $this;
|
|
8516
8522
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8517
|
-
tmp.
|
|
8523
|
+
tmp.w43_1 = ArrayList_init_$Create$();
|
|
8518
8524
|
var tmp_0 = $this;
|
|
8519
8525
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8520
|
-
tmp_0.
|
|
8526
|
+
tmp_0.x43_1 = ArrayList_init_$Create$();
|
|
8521
8527
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8522
8528
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
8523
8529
|
if (!(parser.p3b() === 2))
|
|
@@ -8525,14 +8531,14 @@
|
|
|
8525
8531
|
var tmp0_subject = parser.q3b();
|
|
8526
8532
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
8527
8533
|
if (parser.l2() === 'events') {
|
|
8528
|
-
var tmp0 = $this.
|
|
8534
|
+
var tmp0 = $this.w43_1;
|
|
8529
8535
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8530
8536
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
8531
8537
|
addAll(tmp0, elements);
|
|
8532
8538
|
}
|
|
8533
8539
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8534
8540
|
if (parser.l2() === 'pages') {
|
|
8535
|
-
var tmp2 = $this.
|
|
8541
|
+
var tmp2 = $this.x43_1;
|
|
8536
8542
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8537
8543
|
var elements_0 = parsePages_0($this, parser);
|
|
8538
8544
|
addAll(tmp2, elements_0);
|
|
@@ -8560,7 +8566,7 @@
|
|
|
8560
8566
|
if (_this__u8e3s4.q3b() === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8561
8567
|
var tmp1_subject = _this__u8e3s4.l2();
|
|
8562
8568
|
if (tmp1_subject === 'page') {
|
|
8563
|
-
var tmp2_safe_receiver = Companion_getInstance_49().
|
|
8569
|
+
var tmp2_safe_receiver = Companion_getInstance_49().m41($this, null, _this__u8e3s4);
|
|
8564
8570
|
if (tmp2_safe_receiver == null)
|
|
8565
8571
|
null;
|
|
8566
8572
|
else {
|
|
@@ -8586,8 +8592,8 @@
|
|
|
8586
8592
|
function PageOrImport(page, ref) {
|
|
8587
8593
|
page = page === VOID ? null : page;
|
|
8588
8594
|
ref = ref === VOID ? null : ref;
|
|
8589
|
-
this.
|
|
8590
|
-
this.
|
|
8595
|
+
this.a43_1 = page;
|
|
8596
|
+
this.b43_1 = ref;
|
|
8591
8597
|
}
|
|
8592
8598
|
function buildPagesFromParsedPages$lambda($pageIndex$delegate) {
|
|
8593
8599
|
// Inline function 'kotlin.getValue' call
|
|
@@ -8614,19 +8620,19 @@
|
|
|
8614
8620
|
};
|
|
8615
8621
|
}
|
|
8616
8622
|
function PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8617
|
-
this.
|
|
8618
|
-
this.
|
|
8619
|
-
this.
|
|
8623
|
+
this.s44_1 = this$0;
|
|
8624
|
+
this.t44_1 = $parseFile;
|
|
8625
|
+
this.u44_1 = $pageIndex$delegate;
|
|
8620
8626
|
CoroutineImpl.call(this, resultContinuation);
|
|
8621
8627
|
}
|
|
8622
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).
|
|
8628
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).w44 = function ($this$coroutineScope, $completion) {
|
|
8623
8629
|
var tmp = this.b19($this$coroutineScope, $completion);
|
|
8624
8630
|
tmp.x8_1 = Unit_instance;
|
|
8625
8631
|
tmp.y8_1 = null;
|
|
8626
8632
|
return tmp.d9();
|
|
8627
8633
|
};
|
|
8628
8634
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).l9 = function (p1, $completion) {
|
|
8629
|
-
return this.
|
|
8635
|
+
return this.w44((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8630
8636
|
};
|
|
8631
8637
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).d9 = function () {
|
|
8632
8638
|
var suspendResult = this.x8_1;
|
|
@@ -8637,12 +8643,12 @@
|
|
|
8637
8643
|
case 0:
|
|
8638
8644
|
this.w8_1 = 2;
|
|
8639
8645
|
this.v8_1 = 1;
|
|
8640
|
-
var this_0 = this.
|
|
8646
|
+
var this_0 = this.s44_1.x43_1;
|
|
8641
8647
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8642
8648
|
var _iterator__ex2g4s = this_0.j();
|
|
8643
8649
|
while (_iterator__ex2g4s.k()) {
|
|
8644
8650
|
var item = _iterator__ex2g4s.l();
|
|
8645
|
-
var tmp0_safe_receiver = item.
|
|
8651
|
+
var tmp0_safe_receiver = item.a43_1;
|
|
8646
8652
|
var tmp_0;
|
|
8647
8653
|
if (tmp0_safe_receiver == null) {
|
|
8648
8654
|
tmp_0 = null;
|
|
@@ -8652,7 +8658,7 @@
|
|
|
8652
8658
|
var tmp1_elvis_lhs = tmp_0;
|
|
8653
8659
|
var tmp_1;
|
|
8654
8660
|
if (tmp1_elvis_lhs == null) {
|
|
8655
|
-
tmp_1 = async(this.
|
|
8661
|
+
tmp_1 = async(this.v44_1, VOID, VOID, PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0(item, this.s44_1, this.t44_1, this.u44_1, null));
|
|
8656
8662
|
} else {
|
|
8657
8663
|
tmp_1 = tmp1_elvis_lhs;
|
|
8658
8664
|
}
|
|
@@ -8683,22 +8689,22 @@
|
|
|
8683
8689
|
while (true);
|
|
8684
8690
|
};
|
|
8685
8691
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).b19 = function ($this$coroutineScope, completion) {
|
|
8686
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.
|
|
8687
|
-
i.
|
|
8692
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.s44_1, this.t44_1, this.u44_1, completion);
|
|
8693
|
+
i.v44_1 = $this$coroutineScope;
|
|
8688
8694
|
return i;
|
|
8689
8695
|
};
|
|
8690
8696
|
function PageCollectionPage$buildPagesFromParsedPages$slambda_0(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8691
8697
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8692
8698
|
var l = function ($this$coroutineScope, $completion) {
|
|
8693
|
-
return i.
|
|
8699
|
+
return i.w44($this$coroutineScope, $completion);
|
|
8694
8700
|
};
|
|
8695
8701
|
l.$arity = 1;
|
|
8696
8702
|
return l;
|
|
8697
8703
|
}
|
|
8698
8704
|
function $buildPagesFromParsedPagesCOROUTINE$3(_this__u8e3s4, parseFile, resultContinuation) {
|
|
8699
8705
|
CoroutineImpl.call(this, resultContinuation);
|
|
8700
|
-
this.
|
|
8701
|
-
this.
|
|
8706
|
+
this.h44_1 = _this__u8e3s4;
|
|
8707
|
+
this.i44_1 = parseFile;
|
|
8702
8708
|
}
|
|
8703
8709
|
protoOf($buildPagesFromParsedPagesCOROUTINE$3).d9 = function () {
|
|
8704
8710
|
var suspendResult = this.x8_1;
|
|
@@ -8709,9 +8715,9 @@
|
|
|
8709
8715
|
case 0:
|
|
8710
8716
|
this.w8_1 = 2;
|
|
8711
8717
|
var tmp_0 = this;
|
|
8712
|
-
tmp_0.
|
|
8718
|
+
tmp_0.j44_1 = lazy(PageCollectionPage$buildPagesFromParsedPages$lambda(this.h44_1));
|
|
8713
8719
|
this.v8_1 = 1;
|
|
8714
|
-
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.
|
|
8720
|
+
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.h44_1, this.i44_1, this.j44_1, null), this);
|
|
8715
8721
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8716
8722
|
return suspendResult;
|
|
8717
8723
|
}
|
|
@@ -8719,7 +8725,7 @@
|
|
|
8719
8725
|
continue $sm;
|
|
8720
8726
|
case 1:
|
|
8721
8727
|
var ARGUMENT = suspendResult;
|
|
8722
|
-
_set_pages__j2nojl_0(this.
|
|
8728
|
+
_set_pages__j2nojl_0(this.h44_1, ARGUMENT);
|
|
8723
8729
|
return Unit_instance;
|
|
8724
8730
|
case 2:
|
|
8725
8731
|
throw this.y8_1;
|
|
@@ -8736,16 +8742,16 @@
|
|
|
8736
8742
|
while (true);
|
|
8737
8743
|
};
|
|
8738
8744
|
protoOf(PageCollectionPage).w3g = function () {
|
|
8739
|
-
return this.
|
|
8745
|
+
return this.w43_1;
|
|
8740
8746
|
};
|
|
8741
8747
|
protoOf(PageCollectionPage).i3k = function () {
|
|
8742
|
-
return this.
|
|
8748
|
+
return this.y43_1.d3r(this, pages$factory_2());
|
|
8743
8749
|
};
|
|
8744
8750
|
protoOf(PageCollectionPage).j3k = function (type) {
|
|
8745
8751
|
return type.equals(getKClass(ContentPage));
|
|
8746
8752
|
};
|
|
8747
8753
|
function PageCollectionPage() {
|
|
8748
|
-
this.
|
|
8754
|
+
this.y43_1 = setOnce();
|
|
8749
8755
|
}
|
|
8750
8756
|
function pages$factory_1() {
|
|
8751
8757
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
@@ -8775,7 +8781,7 @@
|
|
|
8775
8781
|
if (!(_this__u8e3s4.p3b() === 2))
|
|
8776
8782
|
continue $l$loop_0;
|
|
8777
8783
|
if (_this__u8e3s4.q3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8778
|
-
var tmp1_safe_receiver = Companion_instance_49.
|
|
8784
|
+
var tmp1_safe_receiver = Companion_instance_49.x44(manifest, _this__u8e3s4);
|
|
8779
8785
|
if (tmp1_safe_receiver == null)
|
|
8780
8786
|
null;
|
|
8781
8787
|
else {
|
|
@@ -8789,8 +8795,8 @@
|
|
|
8789
8795
|
}
|
|
8790
8796
|
return this_0.k3();
|
|
8791
8797
|
};
|
|
8792
|
-
protoOf(Companion_48).
|
|
8793
|
-
parser.
|
|
8798
|
+
protoOf(Companion_48).x44 = function (manifest, parser) {
|
|
8799
|
+
parser.y44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8794
8800
|
var tmp;
|
|
8795
8801
|
if (parser.q3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8796
8802
|
tmp = parser.l2() === 'image' ? ShareableImage_init_$Create$(manifest, parser) : null;
|
|
@@ -8806,7 +8812,7 @@
|
|
|
8806
8812
|
function Shareable_init_$Init$(parent, parser, $this) {
|
|
8807
8813
|
BaseModel.call($this, parent);
|
|
8808
8814
|
Shareable.call($this);
|
|
8809
|
-
parser.
|
|
8815
|
+
parser.y44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8810
8816
|
$this.w3p_1 = parser.d3d('id');
|
|
8811
8817
|
var tmp = $this;
|
|
8812
8818
|
var tmp0_safe_receiver = parser.d3d('order');
|
|
@@ -8820,7 +8826,7 @@
|
|
|
8820
8826
|
function Shareable() {
|
|
8821
8827
|
}
|
|
8822
8828
|
function Companion_49() {
|
|
8823
|
-
this.
|
|
8829
|
+
this.z44_1 = 'image';
|
|
8824
8830
|
}
|
|
8825
8831
|
var Companion_instance_50;
|
|
8826
8832
|
function Companion_getInstance_52() {
|
|
@@ -8830,7 +8836,7 @@
|
|
|
8830
8836
|
Shareable_init_$Init$(manifest, parser, $this);
|
|
8831
8837
|
ShareableImage.call($this);
|
|
8832
8838
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/shareable', 'image');
|
|
8833
|
-
$this.
|
|
8839
|
+
$this.d45_1 = parser.d3d('resource');
|
|
8834
8840
|
var description = null;
|
|
8835
8841
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8836
8842
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
@@ -8844,7 +8850,7 @@
|
|
|
8844
8850
|
continue $l$loop_0;
|
|
8845
8851
|
skipTag(parser);
|
|
8846
8852
|
}
|
|
8847
|
-
$this.
|
|
8853
|
+
$this.e45_1 = description;
|
|
8848
8854
|
return $this;
|
|
8849
8855
|
}
|
|
8850
8856
|
function ShareableImage_init_$Create$(manifest, parser) {
|
|
@@ -8852,12 +8858,12 @@
|
|
|
8852
8858
|
}
|
|
8853
8859
|
protoOf(ShareableImage).i3c = function () {
|
|
8854
8860
|
var tmp0_elvis_lhs = protoOf(Shareable).i3c.call(this);
|
|
8855
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8861
|
+
return tmp0_elvis_lhs == null ? this.d45_1 : tmp0_elvis_lhs;
|
|
8856
8862
|
};
|
|
8857
8863
|
function ShareableImage() {
|
|
8858
8864
|
}
|
|
8859
8865
|
function Companion_50() {
|
|
8860
|
-
this.
|
|
8866
|
+
this.f45_1 = 'tip';
|
|
8861
8867
|
}
|
|
8862
8868
|
var Companion_instance_51;
|
|
8863
8869
|
function Companion_getInstance_53() {
|
|
@@ -8887,7 +8893,7 @@
|
|
|
8887
8893
|
protoOf(InlineTip).i3c = function () {
|
|
8888
8894
|
return this.id;
|
|
8889
8895
|
};
|
|
8890
|
-
protoOf(InlineTip).
|
|
8896
|
+
protoOf(InlineTip).m45 = function () {
|
|
8891
8897
|
return this.s38().m3r(this.id);
|
|
8892
8898
|
};
|
|
8893
8899
|
protoOf(InlineTip).u3c = function () {
|
|
@@ -8902,7 +8908,7 @@
|
|
|
8902
8908
|
var Type_QUOTE_instance;
|
|
8903
8909
|
function Companion_51() {
|
|
8904
8910
|
Companion_instance_52 = this;
|
|
8905
|
-
this.
|
|
8911
|
+
this.n45_1 = Type_TIP_getInstance();
|
|
8906
8912
|
}
|
|
8907
8913
|
protoOf(Companion_51).z3k = function (_this__u8e3s4) {
|
|
8908
8914
|
switch (_this__u8e3s4) {
|
|
@@ -8947,7 +8953,7 @@
|
|
|
8947
8953
|
var tmp = $this;
|
|
8948
8954
|
var tmp0_safe_receiver = parser.d3d('type');
|
|
8949
8955
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_54().z3k(tmp0_safe_receiver);
|
|
8950
|
-
tmp.j3o_1 = tmp1_elvis_lhs == null ? Companion_getInstance_54().
|
|
8956
|
+
tmp.j3o_1 = tmp1_elvis_lhs == null ? Companion_getInstance_54().n45_1 : tmp1_elvis_lhs;
|
|
8951
8957
|
var tmp_0 = $this;
|
|
8952
8958
|
// Inline function 'kotlin.collections.buildList' call
|
|
8953
8959
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -8975,7 +8981,7 @@
|
|
|
8975
8981
|
function Tip_init_$Init$_0(manifest, id, type, $this) {
|
|
8976
8982
|
manifest = manifest === VOID ? null : manifest;
|
|
8977
8983
|
id = id === VOID ? '' : id;
|
|
8978
|
-
type = type === VOID ? Companion_getInstance_54().
|
|
8984
|
+
type = type === VOID ? Companion_getInstance_54().n45_1 : type;
|
|
8979
8985
|
BaseModel.call($this, manifest);
|
|
8980
8986
|
Tip.call($this);
|
|
8981
8987
|
$this.i3o_1 = id;
|
|
@@ -9042,7 +9048,7 @@
|
|
|
9042
9048
|
function Tip() {
|
|
9043
9049
|
}
|
|
9044
9050
|
function Companion_52() {
|
|
9045
|
-
this.
|
|
9051
|
+
this.o45_1 = 'page';
|
|
9046
9052
|
}
|
|
9047
9053
|
var Companion_instance_53;
|
|
9048
9054
|
function Companion_getInstance_55() {
|
|
@@ -9052,8 +9058,8 @@
|
|
|
9052
9058
|
BaseModel.call($this, tip);
|
|
9053
9059
|
TipPage.call($this);
|
|
9054
9060
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/training', 'page');
|
|
9055
|
-
$this.
|
|
9056
|
-
$this.
|
|
9061
|
+
$this.q45_1 = tip;
|
|
9062
|
+
$this.r45_1 = position;
|
|
9057
9063
|
var tmp = $this;
|
|
9058
9064
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
9059
9065
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9095,19 +9101,19 @@
|
|
|
9095
9101
|
continue $l$loop_0;
|
|
9096
9102
|
skipTag(parser);
|
|
9097
9103
|
}
|
|
9098
|
-
tmp.
|
|
9104
|
+
tmp.s45_1 = this_0.k3();
|
|
9099
9105
|
return $this;
|
|
9100
9106
|
}
|
|
9101
9107
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9102
9108
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9103
9109
|
}
|
|
9104
9110
|
protoOf(TipPage).k3c = function () {
|
|
9105
|
-
return this.
|
|
9111
|
+
return this.s45_1;
|
|
9106
9112
|
};
|
|
9107
9113
|
function TipPage() {
|
|
9108
9114
|
}
|
|
9109
9115
|
function Companion_53() {
|
|
9110
|
-
this.
|
|
9116
|
+
this.t45_1 = 'call-to-action';
|
|
9111
9117
|
}
|
|
9112
9118
|
var Companion_instance_54;
|
|
9113
9119
|
function Companion_getInstance_56() {
|
|
@@ -9116,10 +9122,10 @@
|
|
|
9116
9122
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9117
9123
|
BaseModel.call($this, parent);
|
|
9118
9124
|
CallToAction.call($this);
|
|
9119
|
-
$this.
|
|
9125
|
+
$this.v45_1 = parent;
|
|
9120
9126
|
$this.label = null;
|
|
9121
|
-
$this.
|
|
9122
|
-
$this.
|
|
9127
|
+
$this.w45_1 = null;
|
|
9128
|
+
$this.x45_1 = null;
|
|
9123
9129
|
return $this;
|
|
9124
9130
|
}
|
|
9125
9131
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9129,12 +9135,12 @@
|
|
|
9129
9135
|
BaseModel.call($this, page);
|
|
9130
9136
|
CallToAction.call($this);
|
|
9131
9137
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9132
|
-
$this.
|
|
9138
|
+
$this.v45_1 = page;
|
|
9133
9139
|
var tmp = $this;
|
|
9134
9140
|
var tmp0_safe_receiver = parser.d3d('control-color');
|
|
9135
9141
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9136
|
-
tmp.
|
|
9137
|
-
$this.
|
|
9142
|
+
tmp.w45_1 = tmp1_safe_receiver == null ? null : toPlatformColor(tmp1_safe_receiver);
|
|
9143
|
+
$this.x45_1 = parser.p3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9138
9144
|
$this.label = parseTextChild(parser, $this, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9139
9145
|
return $this;
|
|
9140
9146
|
}
|
|
@@ -9148,11 +9154,11 @@
|
|
|
9148
9154
|
tip = tip === VOID ? null : tip;
|
|
9149
9155
|
BaseModel.call($this, page);
|
|
9150
9156
|
CallToAction.call($this);
|
|
9151
|
-
$this.
|
|
9157
|
+
$this.v45_1 = page;
|
|
9152
9158
|
var tmp = $this;
|
|
9153
9159
|
tmp.label = label == null ? null : label($this);
|
|
9154
|
-
$this.
|
|
9155
|
-
$this.
|
|
9160
|
+
$this.w45_1 = controlColor;
|
|
9161
|
+
$this.x45_1 = tip;
|
|
9156
9162
|
return $this;
|
|
9157
9163
|
}
|
|
9158
9164
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
@@ -9161,20 +9167,20 @@
|
|
|
9161
9167
|
protoOf(CallToAction).k3l = function () {
|
|
9162
9168
|
return this.label;
|
|
9163
9169
|
};
|
|
9164
|
-
protoOf(CallToAction).
|
|
9165
|
-
var tmp0_elvis_lhs = this.
|
|
9170
|
+
protoOf(CallToAction).y45 = function () {
|
|
9171
|
+
var tmp0_elvis_lhs = this.w45_1;
|
|
9166
9172
|
return tmp0_elvis_lhs == null ? toPlatformColor(get_primaryColor_0(get_stylesParent(this))) : tmp0_elvis_lhs;
|
|
9167
9173
|
};
|
|
9168
|
-
protoOf(CallToAction).
|
|
9169
|
-
return this.
|
|
9174
|
+
protoOf(CallToAction).z45 = function () {
|
|
9175
|
+
return this.x45_1;
|
|
9170
9176
|
};
|
|
9171
|
-
protoOf(CallToAction).
|
|
9172
|
-
return this.s38().m3r(this.
|
|
9177
|
+
protoOf(CallToAction).m45 = function () {
|
|
9178
|
+
return this.s38().m3r(this.x45_1);
|
|
9173
9179
|
};
|
|
9174
9180
|
function CallToAction() {
|
|
9175
9181
|
}
|
|
9176
9182
|
function Companion_54() {
|
|
9177
|
-
this.
|
|
9183
|
+
this.a46_1 = 'header';
|
|
9178
9184
|
}
|
|
9179
9185
|
var Companion_instance_55;
|
|
9180
9186
|
function Companion_getInstance_57() {
|
|
@@ -9186,9 +9192,8 @@
|
|
|
9186
9192
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'header');
|
|
9187
9193
|
var tmp = $this;
|
|
9188
9194
|
var tmp0_safe_receiver = parser.d3d('background-color');
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
$this.b46_1 = parser.p3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9195
|
+
tmp.c46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9196
|
+
$this.d46_1 = parser.p3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9192
9197
|
var number = null;
|
|
9193
9198
|
var title = null;
|
|
9194
9199
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9214,8 +9219,8 @@
|
|
|
9214
9219
|
return Header_init_$Init$_0(page, parser, objectCreate(protoOf(Header_0)));
|
|
9215
9220
|
}
|
|
9216
9221
|
protoOf(Header_0).k3q = function () {
|
|
9217
|
-
var tmp0_elvis_lhs = this.
|
|
9218
|
-
return tmp0_elvis_lhs == null ?
|
|
9222
|
+
var tmp0_elvis_lhs = this.c46_1;
|
|
9223
|
+
return tmp0_elvis_lhs == null ? this.s3h() : tmp0_elvis_lhs;
|
|
9219
9224
|
};
|
|
9220
9225
|
protoOf(Header_0).q3h = function () {
|
|
9221
9226
|
return this.t3h();
|
|
@@ -9226,23 +9231,23 @@
|
|
|
9226
9231
|
protoOf(Header_0).p3q = function () {
|
|
9227
9232
|
return this.title;
|
|
9228
9233
|
};
|
|
9229
|
-
protoOf(Header_0).
|
|
9230
|
-
return this.
|
|
9234
|
+
protoOf(Header_0).z45 = function () {
|
|
9235
|
+
return this.d46_1;
|
|
9231
9236
|
};
|
|
9232
|
-
protoOf(Header_0).
|
|
9233
|
-
return this.s38().m3r(this.
|
|
9237
|
+
protoOf(Header_0).m45 = function () {
|
|
9238
|
+
return this.s38().m3r(this.d46_1);
|
|
9234
9239
|
};
|
|
9235
9240
|
function Header_0() {
|
|
9236
9241
|
}
|
|
9237
9242
|
function Companion_55() {
|
|
9238
|
-
this.
|
|
9243
|
+
this.e46_1 = 'hero';
|
|
9239
9244
|
}
|
|
9240
9245
|
var Companion_instance_56;
|
|
9241
9246
|
function Companion_getInstance_58() {
|
|
9242
9247
|
return Companion_instance_56;
|
|
9243
9248
|
}
|
|
9244
9249
|
function _get_headingParent__2ts5bv($this) {
|
|
9245
|
-
var tmp0 = $this.
|
|
9250
|
+
var tmp0 = $this.g46_1;
|
|
9246
9251
|
// Inline function 'kotlin.getValue' call
|
|
9247
9252
|
headingParent$factory();
|
|
9248
9253
|
return tmp0.c2();
|
|
@@ -9253,7 +9258,7 @@
|
|
|
9253
9258
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'hero');
|
|
9254
9259
|
var tmp = $this;
|
|
9255
9260
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9256
|
-
tmp.
|
|
9261
|
+
tmp.i46_1 = ArrayList_init_$Create$();
|
|
9257
9262
|
var heading = null;
|
|
9258
9263
|
var tmp_0 = $this;
|
|
9259
9264
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9270,7 +9275,7 @@
|
|
|
9270
9275
|
var tmp0_subject = parser.q3b();
|
|
9271
9276
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9272
9277
|
if (parser.l2() === 'events') {
|
|
9273
|
-
var tmp0 = $this.
|
|
9278
|
+
var tmp0 = $this.i46_1;
|
|
9274
9279
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9275
9280
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
9276
9281
|
addAll(tmp0, elements);
|
|
@@ -9308,7 +9313,7 @@
|
|
|
9308
9313
|
continue $l$loop_0;
|
|
9309
9314
|
skipTag(parser);
|
|
9310
9315
|
}
|
|
9311
|
-
tmp_0.
|
|
9316
|
+
tmp_0.h46_1 = this_0.k3();
|
|
9312
9317
|
$this.heading = heading;
|
|
9313
9318
|
return $this;
|
|
9314
9319
|
}
|
|
@@ -9321,10 +9326,10 @@
|
|
|
9321
9326
|
heading = heading === VOID ? null : heading;
|
|
9322
9327
|
BaseModel.call($this, page);
|
|
9323
9328
|
Hero.call($this);
|
|
9324
|
-
$this.
|
|
9329
|
+
$this.i46_1 = analyticsEvents;
|
|
9325
9330
|
var tmp = $this;
|
|
9326
9331
|
tmp.heading = heading == null ? null : heading(_get_headingParent__2ts5bv($this));
|
|
9327
|
-
$this.
|
|
9332
|
+
$this.h46_1 = emptyList();
|
|
9328
9333
|
return $this;
|
|
9329
9334
|
}
|
|
9330
9335
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -9340,14 +9345,14 @@
|
|
|
9340
9345
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
9341
9346
|
};
|
|
9342
9347
|
}
|
|
9343
|
-
protoOf(Hero).
|
|
9348
|
+
protoOf(Hero).j46 = function () {
|
|
9344
9349
|
return this.heading;
|
|
9345
9350
|
};
|
|
9346
9351
|
protoOf(Hero).k3c = function () {
|
|
9347
|
-
return this.
|
|
9352
|
+
return this.h46_1;
|
|
9348
9353
|
};
|
|
9349
9354
|
protoOf(Hero).w3g = function () {
|
|
9350
|
-
return this.
|
|
9355
|
+
return this.i46_1;
|
|
9351
9356
|
};
|
|
9352
9357
|
protoOf(Hero).l3c = function (type) {
|
|
9353
9358
|
var tmp;
|
|
@@ -9355,7 +9360,7 @@
|
|
|
9355
9360
|
case 0:
|
|
9356
9361
|
// Inline function 'kotlin.collections.filter' call
|
|
9357
9362
|
|
|
9358
|
-
var tmp0 = this.
|
|
9363
|
+
var tmp0 = this.i46_1;
|
|
9359
9364
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9360
9365
|
|
|
9361
9366
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9372,7 +9377,7 @@
|
|
|
9372
9377
|
case 1:
|
|
9373
9378
|
// Inline function 'kotlin.collections.filter' call
|
|
9374
9379
|
|
|
9375
|
-
var tmp0_0 = this.
|
|
9380
|
+
var tmp0_0 = this.i46_1;
|
|
9376
9381
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9377
9382
|
|
|
9378
9383
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9397,7 +9402,7 @@
|
|
|
9397
9402
|
};
|
|
9398
9403
|
function Hero() {
|
|
9399
9404
|
var tmp = this;
|
|
9400
|
-
tmp.
|
|
9405
|
+
tmp.g46_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
9401
9406
|
}
|
|
9402
9407
|
function headingParent$factory() {
|
|
9403
9408
|
return getPropertyCallableRef('headingParent', 1, KProperty1, function (receiver) {
|
|
@@ -9405,7 +9410,7 @@
|
|
|
9405
9410
|
}, null);
|
|
9406
9411
|
}
|
|
9407
9412
|
function Companion_56() {
|
|
9408
|
-
this.
|
|
9413
|
+
this.k46_1 = 'modal';
|
|
9409
9414
|
}
|
|
9410
9415
|
var Companion_instance_57;
|
|
9411
9416
|
function Companion_getInstance_59() {
|
|
@@ -9467,14 +9472,14 @@
|
|
|
9467
9472
|
continue $l$loop_0;
|
|
9468
9473
|
skipTag(parser);
|
|
9469
9474
|
}
|
|
9470
|
-
tmp.
|
|
9475
|
+
tmp.g47_1 = this_0.k3();
|
|
9471
9476
|
$this.title = title;
|
|
9472
9477
|
return $this;
|
|
9473
9478
|
}
|
|
9474
9479
|
function Modal_init_$Create$(parent, parser) {
|
|
9475
9480
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
9476
9481
|
}
|
|
9477
|
-
protoOf(Modal).
|
|
9482
|
+
protoOf(Modal).z3z = function () {
|
|
9478
9483
|
return this.page;
|
|
9479
9484
|
};
|
|
9480
9485
|
protoOf(Modal).i3c = function () {
|
|
@@ -9484,9 +9489,9 @@
|
|
|
9484
9489
|
return this.title;
|
|
9485
9490
|
};
|
|
9486
9491
|
protoOf(Modal).k3c = function () {
|
|
9487
|
-
return this.
|
|
9492
|
+
return this.g47_1;
|
|
9488
9493
|
};
|
|
9489
|
-
protoOf(Modal).
|
|
9494
|
+
protoOf(Modal).t3u = function () {
|
|
9490
9495
|
return this._listeners;
|
|
9491
9496
|
};
|
|
9492
9497
|
protoOf(Modal).h3q = function () {
|
|
@@ -9515,7 +9520,7 @@
|
|
|
9515
9520
|
var this_0 = this._dismissListeners;
|
|
9516
9521
|
return copyToArray(this_0);
|
|
9517
9522
|
};
|
|
9518
|
-
protoOf(Modal).
|
|
9523
|
+
protoOf(Modal).u3u = function () {
|
|
9519
9524
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
9520
9525
|
var this_0 = this._listeners;
|
|
9521
9526
|
return copyToArray(this_0);
|
|
@@ -9524,11 +9529,11 @@
|
|
|
9524
9529
|
}
|
|
9525
9530
|
function Companion_57() {
|
|
9526
9531
|
Companion_instance_58 = this;
|
|
9527
|
-
this.
|
|
9528
|
-
this.
|
|
9529
|
-
this.
|
|
9530
|
-
this.
|
|
9531
|
-
this.
|
|
9532
|
+
this.h47_1 = 'card';
|
|
9533
|
+
this.i47_1 = 'label';
|
|
9534
|
+
this.j47_1 = 'hidden';
|
|
9535
|
+
this.k47_1 = ImageScaleType_FILL_X_getInstance();
|
|
9536
|
+
this.l47_1 = Companion_getInstance_22().CENTER;
|
|
9532
9537
|
}
|
|
9533
9538
|
var Companion_instance_58;
|
|
9534
9539
|
function Companion_getInstance_60() {
|
|
@@ -9537,7 +9542,7 @@
|
|
|
9537
9542
|
return Companion_instance_58;
|
|
9538
9543
|
}
|
|
9539
9544
|
function _get_labelParent__664ln7($this) {
|
|
9540
|
-
var tmp0 = $this.
|
|
9545
|
+
var tmp0 = $this.s47_1;
|
|
9541
9546
|
// Inline function 'kotlin.getValue' call
|
|
9542
9547
|
labelParent$factory();
|
|
9543
9548
|
return tmp0.c2();
|
|
@@ -9556,22 +9561,22 @@
|
|
|
9556
9561
|
$this._dismissListeners = toSet_0(toEventIds(parser.d3d('dismiss-listeners')));
|
|
9557
9562
|
var tmp_0 = $this;
|
|
9558
9563
|
var tmp2_safe_receiver = parser.d3d('background-color');
|
|
9559
|
-
tmp_0.
|
|
9560
|
-
$this.
|
|
9564
|
+
tmp_0.n47_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
9565
|
+
$this.o47_1 = parser.d3d('background-image');
|
|
9561
9566
|
var tmp_1 = $this;
|
|
9562
9567
|
var tmp3_safe_receiver = parser.d3d('background-image-align');
|
|
9563
9568
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().k3g(tmp3_safe_receiver);
|
|
9564
|
-
tmp_1.
|
|
9569
|
+
tmp_1.p47_1 = tmp4_elvis_lhs == null ? Companion_getInstance_60().l47_1 : tmp4_elvis_lhs;
|
|
9565
9570
|
var tmp_2 = $this;
|
|
9566
9571
|
var tmp5_safe_receiver = parser.d3d('background-image-scale-type');
|
|
9567
9572
|
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.x3k(tmp5_safe_receiver);
|
|
9568
|
-
tmp_2.
|
|
9573
|
+
tmp_2.q47_1 = tmp6_elvis_lhs == null ? Companion_getInstance_60().k47_1 : tmp6_elvis_lhs;
|
|
9569
9574
|
var tmp_3 = $this;
|
|
9570
9575
|
var tmp7_safe_receiver = parser.d3d('text-color');
|
|
9571
|
-
tmp_3.
|
|
9576
|
+
tmp_3.r47_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
9572
9577
|
var tmp_4 = $this;
|
|
9573
9578
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9574
|
-
tmp_4.
|
|
9579
|
+
tmp_4.u47_1 = ArrayList_init_$Create$();
|
|
9575
9580
|
var label = null;
|
|
9576
9581
|
var tmp_5 = $this;
|
|
9577
9582
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9588,7 +9593,7 @@
|
|
|
9588
9593
|
var tmp0_subject = parser.q3b();
|
|
9589
9594
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9590
9595
|
if (parser.l2() === 'events') {
|
|
9591
|
-
var tmp0 = $this.
|
|
9596
|
+
var tmp0 = $this.u47_1;
|
|
9592
9597
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9593
9598
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
9594
9599
|
addAll(tmp0, elements);
|
|
@@ -9626,7 +9631,7 @@
|
|
|
9626
9631
|
continue $l$loop_0;
|
|
9627
9632
|
skipTag(parser);
|
|
9628
9633
|
}
|
|
9629
|
-
tmp_5.
|
|
9634
|
+
tmp_5.t47_1 = this_0.k3();
|
|
9630
9635
|
$this.label = label;
|
|
9631
9636
|
return $this;
|
|
9632
9637
|
}
|
|
@@ -9638,8 +9643,8 @@
|
|
|
9638
9643
|
position = position === VOID ? 0 : position;
|
|
9639
9644
|
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9640
9645
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9641
|
-
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_60().
|
|
9642
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_60().
|
|
9646
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_60().l47_1 : backgroundImageGravity;
|
|
9647
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_60().k47_1 : backgroundImageScaleType;
|
|
9643
9648
|
isHidden = isHidden === VOID ? false : isHidden;
|
|
9644
9649
|
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9645
9650
|
label = label === VOID ? null : label;
|
|
@@ -9651,18 +9656,18 @@
|
|
|
9651
9656
|
$this.isHidden = isHidden;
|
|
9652
9657
|
$this._listeners = emptySet();
|
|
9653
9658
|
$this._dismissListeners = emptySet();
|
|
9654
|
-
$this.
|
|
9655
|
-
$this.
|
|
9656
|
-
$this.
|
|
9657
|
-
$this.
|
|
9658
|
-
$this.
|
|
9659
|
-
$this.
|
|
9659
|
+
$this.u47_1 = analyticsEvents;
|
|
9660
|
+
$this.n47_1 = backgroundColor;
|
|
9661
|
+
$this.o47_1 = backgroundImage;
|
|
9662
|
+
$this.p47_1 = backgroundImageGravity;
|
|
9663
|
+
$this.q47_1 = backgroundImageScaleType;
|
|
9664
|
+
$this.r47_1 = null;
|
|
9660
9665
|
var tmp = $this;
|
|
9661
9666
|
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9662
9667
|
var tmp_0 = $this;
|
|
9663
9668
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
9664
9669
|
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9665
|
-
tmp_0.
|
|
9670
|
+
tmp_0.t47_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9666
9671
|
return $this;
|
|
9667
9672
|
}
|
|
9668
9673
|
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
@@ -9685,7 +9690,7 @@
|
|
|
9685
9690
|
var tmp = $this;
|
|
9686
9691
|
var tmp0_safe_receiver = parser.d3d('card-text-color');
|
|
9687
9692
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9688
|
-
tmp.
|
|
9693
|
+
tmp.e47_1 = tmp1_safe_receiver == null ? null : toPlatformColor(tmp1_safe_receiver);
|
|
9689
9694
|
var header = null;
|
|
9690
9695
|
var hero = null;
|
|
9691
9696
|
var tmp_0 = $this;
|
|
@@ -9756,7 +9761,7 @@
|
|
|
9756
9761
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
9757
9762
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, VOID, VOID, textColor, textScale, $this);
|
|
9758
9763
|
TractPage.call($this);
|
|
9759
|
-
$this.
|
|
9764
|
+
$this.e47_1 = cardTextColor;
|
|
9760
9765
|
$this.header = null;
|
|
9761
9766
|
$this.hero = null;
|
|
9762
9767
|
var tmp = $this;
|
|
@@ -9772,16 +9777,16 @@
|
|
|
9772
9777
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
9773
9778
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
9774
9779
|
}
|
|
9775
|
-
protoOf(Card_1).
|
|
9780
|
+
protoOf(Card_1).z3z = function () {
|
|
9776
9781
|
return this.page;
|
|
9777
9782
|
};
|
|
9778
9783
|
protoOf(Card_1).i3c = function () {
|
|
9779
9784
|
return this.page.id + '-' + this.position;
|
|
9780
9785
|
};
|
|
9781
|
-
protoOf(Card_1).
|
|
9786
|
+
protoOf(Card_1).s3u = function () {
|
|
9782
9787
|
return this.position;
|
|
9783
9788
|
};
|
|
9784
|
-
protoOf(Card_1).
|
|
9789
|
+
protoOf(Card_1).v47 = function () {
|
|
9785
9790
|
// Inline function 'kotlin.takeUnless' call
|
|
9786
9791
|
var this_0 = this.page.visibleCards.w1(this);
|
|
9787
9792
|
var tmp;
|
|
@@ -9792,40 +9797,40 @@
|
|
|
9792
9797
|
}
|
|
9793
9798
|
return tmp;
|
|
9794
9799
|
};
|
|
9795
|
-
protoOf(Card_1).
|
|
9800
|
+
protoOf(Card_1).w47 = function () {
|
|
9796
9801
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
9797
9802
|
};
|
|
9798
|
-
protoOf(Card_1).
|
|
9803
|
+
protoOf(Card_1).o3y = function () {
|
|
9799
9804
|
return this.isHidden;
|
|
9800
9805
|
};
|
|
9801
|
-
protoOf(Card_1).
|
|
9806
|
+
protoOf(Card_1).t3u = function () {
|
|
9802
9807
|
return this._listeners;
|
|
9803
9808
|
};
|
|
9804
9809
|
protoOf(Card_1).h3q = function () {
|
|
9805
9810
|
return this._dismissListeners;
|
|
9806
9811
|
};
|
|
9807
9812
|
protoOf(Card_1).k3q = function () {
|
|
9808
|
-
var tmp0_elvis_lhs = this.
|
|
9813
|
+
var tmp0_elvis_lhs = this.n47_1;
|
|
9809
9814
|
return tmp0_elvis_lhs == null ? this.page.v3h() : tmp0_elvis_lhs;
|
|
9810
9815
|
};
|
|
9811
9816
|
protoOf(Card_1).l3q = function () {
|
|
9812
|
-
return getResource(this, this.
|
|
9817
|
+
return getResource(this, this.o47_1);
|
|
9813
9818
|
};
|
|
9814
9819
|
protoOf(Card_1).m3q = function () {
|
|
9815
|
-
return this.
|
|
9820
|
+
return this.p47_1;
|
|
9816
9821
|
};
|
|
9817
9822
|
protoOf(Card_1).n3q = function () {
|
|
9818
|
-
return this.
|
|
9823
|
+
return this.q47_1;
|
|
9819
9824
|
};
|
|
9820
9825
|
protoOf(Card_1).q3h = function () {
|
|
9821
|
-
var tmp0_elvis_lhs = this.
|
|
9826
|
+
var tmp0_elvis_lhs = this.r47_1;
|
|
9822
9827
|
return tmp0_elvis_lhs == null ? toRGB(this.page.cardTextColor) : tmp0_elvis_lhs;
|
|
9823
9828
|
};
|
|
9824
9829
|
protoOf(Card_1).k3l = function () {
|
|
9825
9830
|
return this.label;
|
|
9826
9831
|
};
|
|
9827
9832
|
protoOf(Card_1).k3c = function () {
|
|
9828
|
-
return this.
|
|
9833
|
+
return this.t47_1;
|
|
9829
9834
|
};
|
|
9830
9835
|
protoOf(Card_1).u3c = function () {
|
|
9831
9836
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -9842,7 +9847,7 @@
|
|
|
9842
9847
|
return destination;
|
|
9843
9848
|
};
|
|
9844
9849
|
protoOf(Card_1).w3g = function () {
|
|
9845
|
-
return this.
|
|
9850
|
+
return this.u47_1;
|
|
9846
9851
|
};
|
|
9847
9852
|
protoOf(Card_1).l3c = function (type) {
|
|
9848
9853
|
var tmp;
|
|
@@ -9850,7 +9855,7 @@
|
|
|
9850
9855
|
case 0:
|
|
9851
9856
|
// Inline function 'kotlin.collections.filter' call
|
|
9852
9857
|
|
|
9853
|
-
var tmp0 = this.
|
|
9858
|
+
var tmp0 = this.u47_1;
|
|
9854
9859
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9855
9860
|
|
|
9856
9861
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9867,7 +9872,7 @@
|
|
|
9867
9872
|
case 1:
|
|
9868
9873
|
// Inline function 'kotlin.collections.filter' call
|
|
9869
9874
|
|
|
9870
|
-
var tmp0_0 = this.
|
|
9875
|
+
var tmp0_0 = this.u47_1;
|
|
9871
9876
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9872
9877
|
|
|
9873
9878
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9895,7 +9900,7 @@
|
|
|
9895
9900
|
var this_0 = this._dismissListeners;
|
|
9896
9901
|
return copyToArray(this_0);
|
|
9897
9902
|
};
|
|
9898
|
-
protoOf(Card_1).
|
|
9903
|
+
protoOf(Card_1).u3u = function () {
|
|
9899
9904
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
9900
9905
|
var this_0 = this._listeners;
|
|
9901
9906
|
return copyToArray(this_0);
|
|
@@ -9903,7 +9908,7 @@
|
|
|
9903
9908
|
function Card_1() {
|
|
9904
9909
|
Companion_getInstance_60();
|
|
9905
9910
|
var tmp = this;
|
|
9906
|
-
tmp.
|
|
9911
|
+
tmp.s47_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
9907
9912
|
}
|
|
9908
9913
|
function parseCardsXml($this, _this__u8e3s4) {
|
|
9909
9914
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9947,22 +9952,22 @@
|
|
|
9947
9952
|
}
|
|
9948
9953
|
return this_0.k3();
|
|
9949
9954
|
}
|
|
9950
|
-
protoOf(TractPage).
|
|
9955
|
+
protoOf(TractPage).x47 = function () {
|
|
9951
9956
|
return equals(lastOrNull(this.s38().i3k()), this);
|
|
9952
9957
|
};
|
|
9953
9958
|
protoOf(TractPage).w3g = function () {
|
|
9954
|
-
return this.
|
|
9959
|
+
return this.d47_1;
|
|
9955
9960
|
};
|
|
9956
9961
|
protoOf(TractPage).j3c = function () {
|
|
9957
9962
|
return this.header;
|
|
9958
9963
|
};
|
|
9959
|
-
protoOf(TractPage).
|
|
9964
|
+
protoOf(TractPage).y47 = function () {
|
|
9960
9965
|
return this.hero;
|
|
9961
9966
|
};
|
|
9962
|
-
protoOf(TractPage).
|
|
9967
|
+
protoOf(TractPage).z47 = function () {
|
|
9963
9968
|
return this._modals;
|
|
9964
9969
|
};
|
|
9965
|
-
protoOf(TractPage).
|
|
9970
|
+
protoOf(TractPage).a48 = function () {
|
|
9966
9971
|
return this.callToAction;
|
|
9967
9972
|
};
|
|
9968
9973
|
protoOf(TractPage).findModal = function (id) {
|
|
@@ -9982,10 +9987,10 @@
|
|
|
9982
9987
|
}
|
|
9983
9988
|
return tmp$ret$1;
|
|
9984
9989
|
};
|
|
9985
|
-
protoOf(TractPage).
|
|
9990
|
+
protoOf(TractPage).a40 = function () {
|
|
9986
9991
|
return this._cards;
|
|
9987
9992
|
};
|
|
9988
|
-
protoOf(TractPage).
|
|
9993
|
+
protoOf(TractPage).b48 = function () {
|
|
9989
9994
|
// Inline function 'kotlin.collections.filter' call
|
|
9990
9995
|
var tmp0 = this._cards;
|
|
9991
9996
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -9999,22 +10004,22 @@
|
|
|
9999
10004
|
}
|
|
10000
10005
|
return destination;
|
|
10001
10006
|
};
|
|
10002
|
-
protoOf(TractPage).
|
|
10003
|
-
var tmp0_elvis_lhs = this.
|
|
10007
|
+
protoOf(TractPage).c48 = function () {
|
|
10008
|
+
var tmp0_elvis_lhs = this.e47_1;
|
|
10004
10009
|
return tmp0_elvis_lhs == null ? toPlatformColor(this.q3h()) : tmp0_elvis_lhs;
|
|
10005
10010
|
};
|
|
10006
|
-
protoOf(TractPage).
|
|
10011
|
+
protoOf(TractPage).b40 = function () {
|
|
10007
10012
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10008
10013
|
var this_0 = this._cards;
|
|
10009
10014
|
return copyToArray(this_0);
|
|
10010
10015
|
};
|
|
10011
|
-
protoOf(TractPage).
|
|
10016
|
+
protoOf(TractPage).d48 = function () {
|
|
10012
10017
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
10013
10018
|
var this_0 = this._modals;
|
|
10014
10019
|
return copyToArray(this_0);
|
|
10015
10020
|
};
|
|
10016
10021
|
function TractPage() {
|
|
10017
|
-
this.
|
|
10022
|
+
this.d47_1 = emptyList();
|
|
10018
10023
|
}
|
|
10019
10024
|
function labelParent$factory() {
|
|
10020
10025
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
@@ -10025,7 +10030,7 @@
|
|
|
10025
10030
|
return new FlowWatcher(launchIn(onEach(_this__u8e3s4, FlowWatcher$Companion$watchIn$slambda_0(block, null)), scope));
|
|
10026
10031
|
}
|
|
10027
10032
|
function FlowWatcher$Companion$watchIn$slambda($block, resultContinuation) {
|
|
10028
|
-
this.
|
|
10033
|
+
this.m48_1 = $block;
|
|
10029
10034
|
CoroutineImpl.call(this, resultContinuation);
|
|
10030
10035
|
}
|
|
10031
10036
|
protoOf(FlowWatcher$Companion$watchIn$slambda).m19 = function (it, $completion) {
|
|
@@ -10044,7 +10049,7 @@
|
|
|
10044
10049
|
var tmp = this.v8_1;
|
|
10045
10050
|
if (tmp === 0) {
|
|
10046
10051
|
this.w8_1 = 1;
|
|
10047
|
-
this.
|
|
10052
|
+
this.m48_1(this.n48_1);
|
|
10048
10053
|
return Unit_instance;
|
|
10049
10054
|
} else if (tmp === 1) {
|
|
10050
10055
|
throw this.y8_1;
|
|
@@ -10056,8 +10061,8 @@
|
|
|
10056
10061
|
while (true);
|
|
10057
10062
|
};
|
|
10058
10063
|
protoOf(FlowWatcher$Companion$watchIn$slambda).n19 = function (it, completion) {
|
|
10059
|
-
var i = new FlowWatcher$Companion$watchIn$slambda(this.
|
|
10060
|
-
i.
|
|
10064
|
+
var i = new FlowWatcher$Companion$watchIn$slambda(this.m48_1, completion);
|
|
10065
|
+
i.n48_1 = it;
|
|
10061
10066
|
return i;
|
|
10062
10067
|
};
|
|
10063
10068
|
function FlowWatcher$Companion$watchIn$slambda_0($block, resultContinuation) {
|
|
@@ -10078,10 +10083,10 @@
|
|
|
10078
10083
|
return Companion_instance_59;
|
|
10079
10084
|
}
|
|
10080
10085
|
function FlowWatcher(job) {
|
|
10081
|
-
this.
|
|
10086
|
+
this.o48_1 = job;
|
|
10082
10087
|
}
|
|
10083
10088
|
protoOf(FlowWatcher).close = function () {
|
|
10084
|
-
return this.
|
|
10089
|
+
return this.o48_1.vl();
|
|
10085
10090
|
};
|
|
10086
10091
|
function get_REGEX_SEQUENCE_SEPARATOR() {
|
|
10087
10092
|
_init_properties_Regex_kt__v9a4ph();
|
|
@@ -10109,31 +10114,31 @@
|
|
|
10109
10114
|
return EMPTY_instance;
|
|
10110
10115
|
}
|
|
10111
10116
|
function SetOnceProperty() {
|
|
10112
|
-
this.
|
|
10117
|
+
this.p48_1 = EMPTY_instance;
|
|
10113
10118
|
}
|
|
10114
|
-
protoOf(SetOnceProperty).
|
|
10119
|
+
protoOf(SetOnceProperty).q48 = function (thisRef, property) {
|
|
10115
10120
|
// Inline function 'kotlin.check' call
|
|
10116
|
-
if (!!(this.
|
|
10121
|
+
if (!!(this.p48_1 === EMPTY_instance)) {
|
|
10117
10122
|
var message = "Value isn't initialized";
|
|
10118
10123
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10119
10124
|
}
|
|
10120
|
-
var tmp = this.
|
|
10125
|
+
var tmp = this.p48_1;
|
|
10121
10126
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
10122
10127
|
};
|
|
10123
10128
|
protoOf(SetOnceProperty).d3r = function (thisRef, property) {
|
|
10124
|
-
return this.
|
|
10129
|
+
return this.q48(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
10125
10130
|
};
|
|
10126
|
-
protoOf(SetOnceProperty).
|
|
10131
|
+
protoOf(SetOnceProperty).r48 = function (thisRef, property, value) {
|
|
10127
10132
|
// Inline function 'kotlin.check' call
|
|
10128
|
-
if (!(this.
|
|
10133
|
+
if (!(this.p48_1 === EMPTY_instance)) {
|
|
10129
10134
|
var message = 'Value is initialized';
|
|
10130
10135
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10131
10136
|
}
|
|
10132
|
-
this.
|
|
10137
|
+
this.p48_1 = value;
|
|
10133
10138
|
};
|
|
10134
10139
|
protoOf(SetOnceProperty).o3p = function (thisRef, property, value) {
|
|
10135
10140
|
var tmp = !(thisRef == null) ? thisRef : THROW_CCE();
|
|
10136
|
-
return this.
|
|
10141
|
+
return this.r48(tmp, property, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
10137
10142
|
};
|
|
10138
10143
|
function get_hasUriScheme(_this__u8e3s4) {
|
|
10139
10144
|
return contains_1(_this__u8e3s4, _Char___init__impl__6a9atx(58));
|
|
@@ -10148,9 +10153,9 @@
|
|
|
10148
10153
|
}
|
|
10149
10154
|
function getAttributeValueInt($this, namespace, name) {
|
|
10150
10155
|
// Inline function 'kotlin.takeIf' call
|
|
10151
|
-
var this_0 = $this.
|
|
10156
|
+
var this_0 = $this.s48_1;
|
|
10152
10157
|
var tmp;
|
|
10153
|
-
if (this_0.
|
|
10158
|
+
if (this_0.v48_1 === 2) {
|
|
10154
10159
|
tmp = this_0;
|
|
10155
10160
|
} else {
|
|
10156
10161
|
tmp = null;
|
|
@@ -10163,20 +10168,20 @@
|
|
|
10163
10168
|
tmp_0 = tmp0_elvis_lhs;
|
|
10164
10169
|
}
|
|
10165
10170
|
var event = tmp_0;
|
|
10166
|
-
var tmp1_safe_receiver = event.
|
|
10171
|
+
var tmp1_safe_receiver = event.y48_1;
|
|
10167
10172
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f2(new QName(namespace, name));
|
|
10168
10173
|
}
|
|
10169
10174
|
function QName(uri, local) {
|
|
10170
10175
|
uri = uri === VOID ? null : uri;
|
|
10171
|
-
this.
|
|
10172
|
-
this.
|
|
10176
|
+
this.z48_1 = uri;
|
|
10177
|
+
this.a49_1 = local;
|
|
10173
10178
|
}
|
|
10174
10179
|
protoOf(QName).toString = function () {
|
|
10175
|
-
return 'QName(uri=' + this.
|
|
10180
|
+
return 'QName(uri=' + this.z48_1 + ', local=' + this.a49_1 + ')';
|
|
10176
10181
|
};
|
|
10177
10182
|
protoOf(QName).hashCode = function () {
|
|
10178
|
-
var result = this.
|
|
10179
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
10183
|
+
var result = this.z48_1 == null ? 0 : getStringHashCode(this.z48_1);
|
|
10184
|
+
result = imul(result, 31) + getStringHashCode(this.a49_1) | 0;
|
|
10180
10185
|
return result;
|
|
10181
10186
|
};
|
|
10182
10187
|
protoOf(QName).equals = function (other) {
|
|
@@ -10185,9 +10190,9 @@
|
|
|
10185
10190
|
if (!(other instanceof QName))
|
|
10186
10191
|
return false;
|
|
10187
10192
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
10188
|
-
if (!(this.
|
|
10193
|
+
if (!(this.z48_1 == tmp0_other_with_cast.z48_1))
|
|
10189
10194
|
return false;
|
|
10190
|
-
if (!(this.
|
|
10195
|
+
if (!(this.a49_1 === tmp0_other_with_cast.a49_1))
|
|
10191
10196
|
return false;
|
|
10192
10197
|
return true;
|
|
10193
10198
|
};
|
|
@@ -10195,51 +10200,51 @@
|
|
|
10195
10200
|
qname = qname === VOID ? null : qname;
|
|
10196
10201
|
content = content === VOID ? null : content;
|
|
10197
10202
|
attrs = attrs === VOID ? null : attrs;
|
|
10198
|
-
this.
|
|
10199
|
-
this.
|
|
10200
|
-
this.
|
|
10201
|
-
this.
|
|
10203
|
+
this.v48_1 = type;
|
|
10204
|
+
this.w48_1 = qname;
|
|
10205
|
+
this.x48_1 = content;
|
|
10206
|
+
this.y48_1 = attrs;
|
|
10202
10207
|
}
|
|
10203
10208
|
function enqueueEvent($this, event) {
|
|
10204
10209
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
10205
|
-
var this_0 = $this.
|
|
10210
|
+
var this_0 = $this.u48_1;
|
|
10206
10211
|
if (charSequenceLength(this_0) > 0) {
|
|
10207
|
-
var tmp1 = $this.
|
|
10212
|
+
var tmp1 = $this.t48_1;
|
|
10208
10213
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10209
|
-
var element = new ParserEvent(4, VOID, $this.
|
|
10214
|
+
var element = new ParserEvent(4, VOID, $this.u48_1.toString());
|
|
10210
10215
|
tmp1.e(element);
|
|
10211
|
-
$this.
|
|
10216
|
+
$this.u48_1.nb();
|
|
10212
10217
|
}
|
|
10213
10218
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10214
|
-
$this.
|
|
10219
|
+
$this.t48_1.e(event);
|
|
10215
10220
|
}
|
|
10216
10221
|
function SaxXmlPullParser() {
|
|
10217
|
-
this.
|
|
10222
|
+
this.s48_1 = new ParserEvent(0);
|
|
10218
10223
|
var tmp = this;
|
|
10219
10224
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10220
|
-
tmp.
|
|
10221
|
-
this.
|
|
10225
|
+
tmp.t48_1 = ArrayList_init_$Create$();
|
|
10226
|
+
this.u48_1 = StringBuilder_init_$Create$();
|
|
10222
10227
|
}
|
|
10223
10228
|
protoOf(SaxXmlPullParser).p3b = function () {
|
|
10224
|
-
return this.
|
|
10229
|
+
return this.s48_1.v48_1;
|
|
10225
10230
|
};
|
|
10226
10231
|
protoOf(SaxXmlPullParser).q3b = function () {
|
|
10227
|
-
var tmp0_safe_receiver = this.
|
|
10228
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10232
|
+
var tmp0_safe_receiver = this.s48_1.w48_1;
|
|
10233
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z48_1;
|
|
10229
10234
|
};
|
|
10230
10235
|
protoOf(SaxXmlPullParser).l2 = function () {
|
|
10231
|
-
var tmp0_safe_receiver = this.
|
|
10232
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10236
|
+
var tmp0_safe_receiver = this.s48_1.w48_1;
|
|
10237
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a49_1;
|
|
10233
10238
|
};
|
|
10234
10239
|
protoOf(SaxXmlPullParser).o3b = function (type, namespace, name) {
|
|
10235
10240
|
// Inline function 'kotlin.with' call
|
|
10236
|
-
var $this$with = this.
|
|
10237
|
-
if (!($this$with.
|
|
10241
|
+
var $this$with = this.s48_1;
|
|
10242
|
+
if (!($this$with.v48_1 === type))
|
|
10238
10243
|
throw new XmlPullParserException('expected ' + type);
|
|
10239
10244
|
var tmp;
|
|
10240
10245
|
if (!(namespace == null)) {
|
|
10241
|
-
var tmp0_safe_receiver = $this$with.
|
|
10242
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10246
|
+
var tmp0_safe_receiver = $this$with.w48_1;
|
|
10247
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z48_1));
|
|
10243
10248
|
} else {
|
|
10244
10249
|
tmp = false;
|
|
10245
10250
|
}
|
|
@@ -10247,8 +10252,8 @@
|
|
|
10247
10252
|
throw new XmlPullParserException('expected ' + namespace);
|
|
10248
10253
|
var tmp_0;
|
|
10249
10254
|
if (!(name == null)) {
|
|
10250
|
-
var tmp1_safe_receiver = $this$with.
|
|
10251
|
-
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
10255
|
+
var tmp1_safe_receiver = $this$with.w48_1;
|
|
10256
|
+
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a49_1) == name);
|
|
10252
10257
|
} else {
|
|
10253
10258
|
tmp_0 = false;
|
|
10254
10259
|
}
|
|
@@ -10258,15 +10263,15 @@
|
|
|
10258
10263
|
};
|
|
10259
10264
|
protoOf(SaxXmlPullParser).l = function () {
|
|
10260
10265
|
// Inline function 'kotlin.also' call
|
|
10261
|
-
var this_0 = removeFirst(this.
|
|
10262
|
-
this.
|
|
10263
|
-
return this_0.
|
|
10266
|
+
var this_0 = removeFirst(this.t48_1);
|
|
10267
|
+
this.s48_1 = this_0;
|
|
10268
|
+
return this_0.v48_1;
|
|
10264
10269
|
};
|
|
10265
10270
|
protoOf(SaxXmlPullParser).h39 = function () {
|
|
10266
10271
|
var tmp;
|
|
10267
10272
|
if (this.l() === 4) {
|
|
10268
10273
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
10269
|
-
var this_0 = this.
|
|
10274
|
+
var this_0 = this.s48_1.x48_1;
|
|
10270
10275
|
tmp = this_0 == null || isBlank(this_0);
|
|
10271
10276
|
} else {
|
|
10272
10277
|
tmp = false;
|
|
@@ -10274,20 +10279,20 @@
|
|
|
10274
10279
|
if (tmp) {
|
|
10275
10280
|
this.l();
|
|
10276
10281
|
}
|
|
10277
|
-
var event = this.
|
|
10278
|
-
if (!(event.
|
|
10279
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
10282
|
+
var event = this.s48_1;
|
|
10283
|
+
if (!(event.v48_1 === 2) && !(event.v48_1 === 3)) {
|
|
10284
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.v48_1);
|
|
10280
10285
|
}
|
|
10281
|
-
return event.
|
|
10286
|
+
return event.v48_1;
|
|
10282
10287
|
};
|
|
10283
|
-
protoOf(SaxXmlPullParser).
|
|
10284
|
-
this.
|
|
10288
|
+
protoOf(SaxXmlPullParser).e3v = function () {
|
|
10289
|
+
this.y44(2);
|
|
10285
10290
|
var tmp;
|
|
10286
10291
|
switch (this.l()) {
|
|
10287
10292
|
case 4:
|
|
10288
10293
|
// Inline function 'kotlin.text.orEmpty' call
|
|
10289
10294
|
|
|
10290
|
-
var tmp0_elvis_lhs = this.
|
|
10295
|
+
var tmp0_elvis_lhs = this.s48_1.x48_1;
|
|
10291
10296
|
// Inline function 'kotlin.also' call
|
|
10292
10297
|
|
|
10293
10298
|
var this_0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
@@ -10313,13 +10318,13 @@
|
|
|
10313
10318
|
protoOf(SaxXmlPullParser).p3p = function (namespace, name) {
|
|
10314
10319
|
return getAttributeValueInt(this, namespace, name);
|
|
10315
10320
|
};
|
|
10316
|
-
protoOf(SaxXmlPullParser).
|
|
10321
|
+
protoOf(SaxXmlPullParser).b49 = function (qname, attrs) {
|
|
10317
10322
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
10318
10323
|
};
|
|
10319
|
-
protoOf(SaxXmlPullParser).
|
|
10320
|
-
this.
|
|
10324
|
+
protoOf(SaxXmlPullParser).c49 = function (text) {
|
|
10325
|
+
this.u48_1.g8(text);
|
|
10321
10326
|
};
|
|
10322
|
-
protoOf(SaxXmlPullParser).
|
|
10327
|
+
protoOf(SaxXmlPullParser).d49 = function (qname) {
|
|
10323
10328
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
10324
10329
|
};
|
|
10325
10330
|
function XmlPullParser() {
|
|
@@ -10367,26 +10372,26 @@
|
|
|
10367
10372
|
}
|
|
10368
10373
|
var SAX_OPTIONS;
|
|
10369
10374
|
function InternalSAXParser($outer) {
|
|
10370
|
-
this.
|
|
10375
|
+
this.e49_1 = $outer;
|
|
10371
10376
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
10372
10377
|
}
|
|
10373
|
-
protoOf(InternalSAXParser).
|
|
10374
|
-
return this.
|
|
10378
|
+
protoOf(InternalSAXParser).f49 = function (tag) {
|
|
10379
|
+
return this.e49_1.b49(new QName(tag.uri, tag.local), convert(this.e49_1, tag.attributes));
|
|
10375
10380
|
};
|
|
10376
10381
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
10377
|
-
return this.
|
|
10382
|
+
return this.f49(tag);
|
|
10378
10383
|
};
|
|
10379
|
-
protoOf(InternalSAXParser).
|
|
10380
|
-
return this.
|
|
10384
|
+
protoOf(InternalSAXParser).g49 = function (tagName) {
|
|
10385
|
+
return this.e49_1.d49(new QName(VOID, tagName));
|
|
10381
10386
|
};
|
|
10382
10387
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
10383
|
-
return this.
|
|
10388
|
+
return this.g49(tagName);
|
|
10384
10389
|
};
|
|
10385
|
-
protoOf(InternalSAXParser).
|
|
10386
|
-
return this.
|
|
10390
|
+
protoOf(InternalSAXParser).h49 = function (t) {
|
|
10391
|
+
return this.e49_1.c49(t);
|
|
10387
10392
|
};
|
|
10388
10393
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
10389
|
-
return this.
|
|
10394
|
+
return this.h49(t);
|
|
10390
10395
|
};
|
|
10391
10396
|
function convert($this, _this__u8e3s4) {
|
|
10392
10397
|
var tmp = Object.values;
|
|
@@ -10430,13 +10435,13 @@
|
|
|
10430
10435
|
var this_0 = new InternalSAXParser(this);
|
|
10431
10436
|
this_0.write(xml);
|
|
10432
10437
|
this_0.close();
|
|
10433
|
-
tmp.
|
|
10438
|
+
tmp.l49_1 = this_0;
|
|
10434
10439
|
}
|
|
10435
10440
|
function SAX_OPTIONS$1() {
|
|
10436
|
-
this.
|
|
10441
|
+
this.m49_1 = true;
|
|
10437
10442
|
}
|
|
10438
|
-
protoOf(SAX_OPTIONS$1).
|
|
10439
|
-
return this.
|
|
10443
|
+
protoOf(SAX_OPTIONS$1).n49 = function () {
|
|
10444
|
+
return this.m49_1;
|
|
10440
10445
|
};
|
|
10441
10446
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
10442
10447
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -10447,8 +10452,8 @@
|
|
|
10447
10452
|
}
|
|
10448
10453
|
function $getXmlParserCOROUTINE$4(_this__u8e3s4, fileName, resultContinuation) {
|
|
10449
10454
|
CoroutineImpl.call(this, resultContinuation);
|
|
10450
|
-
this.
|
|
10451
|
-
this.
|
|
10455
|
+
this.w49_1 = _this__u8e3s4;
|
|
10456
|
+
this.x49_1 = fileName;
|
|
10452
10457
|
}
|
|
10453
10458
|
protoOf($getXmlParserCOROUTINE$4).d9 = function () {
|
|
10454
10459
|
var suspendResult = this.x8_1;
|
|
@@ -10459,7 +10464,7 @@
|
|
|
10459
10464
|
case 0:
|
|
10460
10465
|
this.w8_1 = 2;
|
|
10461
10466
|
this.v8_1 = 1;
|
|
10462
|
-
suspendResult = await_0(this.
|
|
10467
|
+
suspendResult = await_0(this.w49_1.readFile(this.x49_1), this);
|
|
10463
10468
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10464
10469
|
return suspendResult;
|
|
10465
10470
|
}
|
|
@@ -10492,14 +10497,14 @@
|
|
|
10492
10497
|
function JsXmlPullParserFactory() {
|
|
10493
10498
|
XmlPullParserFactory.call(this);
|
|
10494
10499
|
}
|
|
10495
|
-
protoOf(JsXmlPullParserFactory).
|
|
10500
|
+
protoOf(JsXmlPullParserFactory).y49 = function (fileName, $completion) {
|
|
10496
10501
|
var tmp = new $getXmlParserCOROUTINE$4(this, fileName, $completion);
|
|
10497
10502
|
tmp.x8_1 = Unit_instance;
|
|
10498
10503
|
tmp.y8_1 = null;
|
|
10499
10504
|
return tmp.d9();
|
|
10500
10505
|
};
|
|
10501
10506
|
protoOf(JsXmlPullParserFactory).g39 = function (fileName, $completion) {
|
|
10502
|
-
return this.
|
|
10507
|
+
return this.y49(fileName, $completion);
|
|
10503
10508
|
};
|
|
10504
10509
|
function XmlPullParserException(s) {
|
|
10505
10510
|
Exception_init_$Init$(s, this);
|
|
@@ -10673,11 +10678,11 @@
|
|
|
10673
10678
|
protoOf(Option).getAnalyticsEvents = getAnalyticsEvents;
|
|
10674
10679
|
defineProp(protoOf(Option), 'style', protoOf(Option).p3g);
|
|
10675
10680
|
defineProp(protoOf(Option), 'backgroundColor', protoOf(Option).x3g);
|
|
10676
|
-
defineProp(protoOf(Option), 'selectedColor', protoOf(Option).
|
|
10681
|
+
defineProp(protoOf(Option), 'selectedColor', protoOf(Option).y3s);
|
|
10677
10682
|
defineProp(protoOf(Option), 'content', function () {
|
|
10678
10683
|
return this.s3c();
|
|
10679
10684
|
});
|
|
10680
|
-
defineProp(protoOf(Multiselect), 'options', protoOf(Multiselect).
|
|
10685
|
+
defineProp(protoOf(Multiselect), 'options', protoOf(Multiselect).d3t);
|
|
10681
10686
|
protoOf(Paragraph).s3c = get_content;
|
|
10682
10687
|
defineProp(protoOf(Paragraph), 'content', function () {
|
|
10683
10688
|
return this.s3c();
|
|
@@ -10693,22 +10698,22 @@
|
|
|
10693
10698
|
protoOf(StylesOverride).x3h = get_multiselectOptionSelectedColor;
|
|
10694
10699
|
protoOf(Tab).s3c = get_content;
|
|
10695
10700
|
protoOf(Tab).getAnalyticsEvents = getAnalyticsEvents;
|
|
10696
|
-
defineProp(protoOf(Tab), 'position', protoOf(Tab).
|
|
10697
|
-
defineProp(protoOf(Tab), 'listeners', protoOf(Tab).
|
|
10701
|
+
defineProp(protoOf(Tab), 'position', protoOf(Tab).s3u);
|
|
10702
|
+
defineProp(protoOf(Tab), 'listeners', protoOf(Tab).u3u);
|
|
10698
10703
|
defineProp(protoOf(Tab), 'content', function () {
|
|
10699
10704
|
return this.s3c();
|
|
10700
10705
|
});
|
|
10701
|
-
defineProp(protoOf(Tabs), 'tabs', protoOf(Tabs).
|
|
10706
|
+
defineProp(protoOf(Tabs), 'tabs', protoOf(Tabs).w3u);
|
|
10702
10707
|
defineProp(protoOf(Align), 'name', protoOf(Align).l2);
|
|
10703
10708
|
defineProp(protoOf(Align), 'ordinal', protoOf(Align).m2);
|
|
10704
10709
|
defineProp(protoOf(Style_1), 'name', protoOf(Style_1).l2);
|
|
10705
10710
|
defineProp(protoOf(Style_1), 'ordinal', protoOf(Style_1).m2);
|
|
10706
10711
|
defineProp(protoOf(Text), 'textAlign', protoOf(Text).z3h);
|
|
10707
10712
|
defineProp(protoOf(Text), 'textScale', protoOf(Text).y3h);
|
|
10708
|
-
defineProp(protoOf(Text), 'startImage', protoOf(Text).
|
|
10709
|
-
defineProp(protoOf(Text), 'endImage', protoOf(Text).
|
|
10713
|
+
defineProp(protoOf(Text), 'startImage', protoOf(Text).o3v);
|
|
10714
|
+
defineProp(protoOf(Text), 'endImage', protoOf(Text).r3v);
|
|
10710
10715
|
defineProp(protoOf(Text), 'textColor', protoOf(Text).q3h);
|
|
10711
|
-
defineProp(protoOf(Text), 'textStyles', protoOf(Text).
|
|
10716
|
+
defineProp(protoOf(Text), 'textStyles', protoOf(Text).t3v);
|
|
10712
10717
|
defineProp(protoOf(Provider), 'name', protoOf(Provider).l2);
|
|
10713
10718
|
defineProp(protoOf(Provider), 'ordinal', protoOf(Provider).m2);
|
|
10714
10719
|
protoOf(Page).u3h = get_buttonStyle;
|
|
@@ -10716,15 +10721,15 @@
|
|
|
10716
10721
|
protoOf(Page).z3h = get_textAlign;
|
|
10717
10722
|
protoOf(Page).getAnalyticsEvents = getAnalyticsEvents;
|
|
10718
10723
|
defineProp(protoOf(Page), 'id', protoOf(Page).i3c);
|
|
10719
|
-
defineProp(protoOf(Page), 'position', protoOf(Page).
|
|
10720
|
-
defineProp(protoOf(Page), 'parentPage', protoOf(Page).
|
|
10721
|
-
defineProp(protoOf(Page), 'parentPageParams', protoOf(Page).
|
|
10722
|
-
defineProp(protoOf(Page), 'nextPage', protoOf(Page).
|
|
10723
|
-
defineProp(protoOf(Page), 'previousPage', protoOf(Page).
|
|
10724
|
+
defineProp(protoOf(Page), 'position', protoOf(Page).s3u);
|
|
10725
|
+
defineProp(protoOf(Page), 'parentPage', protoOf(Page).k3y);
|
|
10726
|
+
defineProp(protoOf(Page), 'parentPageParams', protoOf(Page).l3y);
|
|
10727
|
+
defineProp(protoOf(Page), 'nextPage', protoOf(Page).m3y);
|
|
10728
|
+
defineProp(protoOf(Page), 'previousPage', protoOf(Page).n3y);
|
|
10724
10729
|
defineProp(protoOf(Page), 'backgroundImage', protoOf(Page).l3q);
|
|
10725
|
-
defineProp(protoOf(Page), 'controlColor', protoOf(Page).o3y);
|
|
10726
10730
|
defineProp(protoOf(Page), 'dismissListeners', protoOf(Page).n3r);
|
|
10727
|
-
defineProp(protoOf(Page), 'listeners', protoOf(Page).
|
|
10731
|
+
defineProp(protoOf(Page), 'listeners', protoOf(Page).u3u);
|
|
10732
|
+
defineProp(protoOf(Page), 'controlColor', protoOf(Page).q3y);
|
|
10728
10733
|
protoOf(LessonPage).s3c = get_content;
|
|
10729
10734
|
defineProp(protoOf(LessonPage), 'content', function () {
|
|
10730
10735
|
return this.s3c();
|
|
@@ -10745,11 +10750,11 @@
|
|
|
10745
10750
|
protoOf(Card_0).s3c = get_content;
|
|
10746
10751
|
protoOf(Card_0).getAnalyticsEvents = getAnalyticsEvents;
|
|
10747
10752
|
defineProp(protoOf(Card_0), 'id', protoOf(Card_0).i3c);
|
|
10748
|
-
defineProp(protoOf(Card_0), 'position', protoOf(Card_0).
|
|
10753
|
+
defineProp(protoOf(Card_0), 'position', protoOf(Card_0).s3u);
|
|
10749
10754
|
defineProp(protoOf(Card_0), 'content', function () {
|
|
10750
10755
|
return this.s3c();
|
|
10751
10756
|
});
|
|
10752
|
-
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).
|
|
10757
|
+
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).b40);
|
|
10753
10758
|
protoOf(ContentPage).s3c = get_content;
|
|
10754
10759
|
defineProp(protoOf(ContentPage), 'content', function () {
|
|
10755
10760
|
return this.s3c();
|
|
@@ -10762,7 +10767,7 @@
|
|
|
10762
10767
|
defineProp(protoOf(PageCollectionPage), 'pages', function () {
|
|
10763
10768
|
return this.k3k();
|
|
10764
10769
|
});
|
|
10765
|
-
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).
|
|
10770
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).m45);
|
|
10766
10771
|
protoOf(Tip).u3h = get_buttonStyle;
|
|
10767
10772
|
protoOf(Tip).r3g = get_buttonColor;
|
|
10768
10773
|
protoOf(Tip).v3h = get_cardBackgroundColor;
|
|
@@ -10774,7 +10779,7 @@
|
|
|
10774
10779
|
defineProp(protoOf(TipPage), 'content', function () {
|
|
10775
10780
|
return this.s3c();
|
|
10776
10781
|
});
|
|
10777
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
10782
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).m45);
|
|
10778
10783
|
protoOf(Header_0).s3h = get_primaryColor;
|
|
10779
10784
|
protoOf(Header_0).t3h = get_primaryTextColor;
|
|
10780
10785
|
protoOf(Header_0).u3h = get_buttonStyle;
|
|
@@ -10784,7 +10789,7 @@
|
|
|
10784
10789
|
protoOf(Header_0).x3h = get_multiselectOptionSelectedColor;
|
|
10785
10790
|
protoOf(Header_0).y3h = get_textScale;
|
|
10786
10791
|
protoOf(Header_0).z3h = get_textAlign;
|
|
10787
|
-
defineProp(protoOf(Header_0), 'tip', protoOf(Header_0).
|
|
10792
|
+
defineProp(protoOf(Header_0), 'tip', protoOf(Header_0).m45);
|
|
10788
10793
|
protoOf(Hero).s3c = get_content;
|
|
10789
10794
|
protoOf(Hero).getAnalyticsEvents = getAnalyticsEvents;
|
|
10790
10795
|
defineProp(protoOf(Hero), 'content', function () {
|
|
@@ -10797,7 +10802,7 @@
|
|
|
10797
10802
|
protoOf(Modal).y3h = get_textScale;
|
|
10798
10803
|
defineProp(protoOf(Modal), 'id', protoOf(Modal).i3c);
|
|
10799
10804
|
defineProp(protoOf(Modal), 'dismissListeners', protoOf(Modal).n3r);
|
|
10800
|
-
defineProp(protoOf(Modal), 'listeners', protoOf(Modal).
|
|
10805
|
+
defineProp(protoOf(Modal), 'listeners', protoOf(Modal).u3u);
|
|
10801
10806
|
defineProp(protoOf(Modal), 'content', function () {
|
|
10802
10807
|
return this.s3c();
|
|
10803
10808
|
});
|
|
@@ -10813,23 +10818,23 @@
|
|
|
10813
10818
|
protoOf(Card_1).s3c = get_content;
|
|
10814
10819
|
protoOf(Card_1).getAnalyticsEvents = getAnalyticsEvents;
|
|
10815
10820
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).i3c);
|
|
10816
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
10817
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
10821
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).v47);
|
|
10822
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).w47);
|
|
10818
10823
|
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).l3q);
|
|
10819
10824
|
defineProp(protoOf(Card_1), 'tips', protoOf(Card_1).u3c);
|
|
10820
10825
|
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).n3r);
|
|
10821
|
-
defineProp(protoOf(Card_1), 'listeners', protoOf(Card_1).
|
|
10826
|
+
defineProp(protoOf(Card_1), 'listeners', protoOf(Card_1).u3u);
|
|
10822
10827
|
defineProp(protoOf(Card_1), 'content', function () {
|
|
10823
10828
|
return this.s3c();
|
|
10824
10829
|
});
|
|
10825
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
10826
|
-
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).
|
|
10827
|
-
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).
|
|
10828
|
-
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).
|
|
10829
|
-
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).
|
|
10830
|
-
protoOf(SaxXmlPullParser).
|
|
10830
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).x47);
|
|
10831
|
+
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).b48);
|
|
10832
|
+
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).c48);
|
|
10833
|
+
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).b40);
|
|
10834
|
+
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).d48);
|
|
10835
|
+
protoOf(SaxXmlPullParser).y44 = require$default;
|
|
10831
10836
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
10832
|
-
return this.
|
|
10837
|
+
return this.n49();
|
|
10833
10838
|
});
|
|
10834
10839
|
//endregion
|
|
10835
10840
|
//region block: init
|