@cruglobal/godtools-shared 1.2.0-PR799-SNAPSHOT.1770 → 1.2.0-PR799-SNAPSHOT.1772

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.
@@ -4807,43 +4807,39 @@
4807
4807
  tmp_2.c3e_1 = tmp5_elvis_lhs == null ? Companion_getInstance_29().w39_1 : tmp5_elvis_lhs;
4808
4808
  var tmp_3 = $this;
4809
4809
  var tmp6_safe_receiver = parser.d3d('navbar-color');
4810
- var tmp7_safe_receiver = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
4811
- tmp_3.d3e_1 = tmp7_safe_receiver == null ? null : toPlatformColor(tmp7_safe_receiver);
4810
+ tmp_3.d3e_1 = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
4812
4811
  var tmp_4 = $this;
4813
- var tmp8_safe_receiver = parser.d3d('navbar-control-color');
4814
- var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : toColorOrNull(tmp8_safe_receiver);
4815
- tmp_4.e3e_1 = tmp9_safe_receiver == null ? null : toPlatformColor(tmp9_safe_receiver);
4812
+ var tmp7_safe_receiver = parser.d3d('navbar-control-color');
4813
+ tmp_4.e3e_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
4816
4814
  var tmp_5 = $this;
4817
- var tmp10_safe_receiver = parser.d3d('background-color');
4818
- var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : toColorOrNull(tmp10_safe_receiver);
4819
- tmp_5.f3e_1 = tmp11_elvis_lhs == null ? Companion_getInstance_29().x39_1 : tmp11_elvis_lhs;
4815
+ var tmp8_safe_receiver = parser.d3d('background-color');
4816
+ var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : toColorOrNull(tmp8_safe_receiver);
4817
+ tmp_5.f3e_1 = tmp9_elvis_lhs == null ? Companion_getInstance_29().x39_1 : tmp9_elvis_lhs;
4820
4818
  $this.g3e_1 = parser.d3d('background-image');
4821
4819
  var tmp_6 = $this;
4822
- var tmp12_safe_receiver = parser.d3d('background-image-align');
4823
- var tmp13_elvis_lhs = tmp12_safe_receiver == null ? null : Companion_getInstance_22().k3g(tmp12_safe_receiver);
4824
- tmp_6.h3e_1 = tmp13_elvis_lhs == null ? Companion_getInstance_29().y39_1 : tmp13_elvis_lhs;
4820
+ var tmp10_safe_receiver = parser.d3d('background-image-align');
4821
+ var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : Companion_getInstance_22().k3g(tmp10_safe_receiver);
4822
+ tmp_6.h3e_1 = tmp11_elvis_lhs == null ? Companion_getInstance_29().y39_1 : tmp11_elvis_lhs;
4825
4823
  var tmp_7 = $this;
4826
- var tmp14_safe_receiver = parser.d3d('background-image-scale-type');
4827
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : Companion_instance_22.x3k(tmp14_safe_receiver);
4828
- tmp_7.i3e_1 = tmp15_elvis_lhs == null ? Companion_getInstance_29().z39_1 : tmp15_elvis_lhs;
4824
+ var tmp12_safe_receiver = parser.d3d('background-image-scale-type');
4825
+ var tmp13_elvis_lhs = tmp12_safe_receiver == null ? null : Companion_instance_22.x3k(tmp12_safe_receiver);
4826
+ tmp_7.i3e_1 = tmp13_elvis_lhs == null ? Companion_getInstance_29().z39_1 : tmp13_elvis_lhs;
4829
4827
  var tmp_8 = $this;
4830
- var tmp16_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
4831
- tmp_8.j3e_1 = tmp16_safe_receiver == null ? null : toColorOrNull(tmp16_safe_receiver);
4828
+ var tmp14_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
4829
+ tmp_8.j3e_1 = tmp14_safe_receiver == null ? null : toColorOrNull(tmp14_safe_receiver);
4832
4830
  var tmp_9 = $this;
4833
- var tmp17_safe_receiver = parser.d3d('category-label-color');
4834
- var tmp18_safe_receiver = tmp17_safe_receiver == null ? null : toColorOrNull(tmp17_safe_receiver);
4835
- tmp_9.k3e_1 = tmp18_safe_receiver == null ? null : toPlatformColor(tmp18_safe_receiver);
4831
+ var tmp15_safe_receiver = parser.d3d('category-label-color');
4832
+ var tmp16_safe_receiver = tmp15_safe_receiver == null ? null : toColorOrNull(tmp15_safe_receiver);
4833
+ tmp_9.k3e_1 = tmp16_safe_receiver == null ? null : toPlatformColor(tmp16_safe_receiver);
4836
4834
  var tmp_10 = $this;
4837
- var tmp19_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/page', 'control-color');
4838
- var tmp20_safe_receiver = tmp19_safe_receiver == null ? null : toColorOrNull(tmp19_safe_receiver);
4839
- var tmp21_elvis_lhs = tmp20_safe_receiver == null ? null : toPlatformColor(tmp20_safe_receiver);
4835
+ var tmp17_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/page', 'control-color');
4836
+ var tmp18_elvis_lhs = tmp17_safe_receiver == null ? null : toColorOrNull(tmp17_safe_receiver);
4840
4837
  var tmp_11;
4841
- if (tmp21_elvis_lhs == null) {
4842
- var tmp22_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/lesson', 'control-color');
4843
- var tmp23_safe_receiver = tmp22_safe_receiver == null ? null : toColorOrNull(tmp22_safe_receiver);
4844
- var tmp24_safe_receiver = tmp23_safe_receiver == null ? null : toPlatformColor(tmp23_safe_receiver);
4838
+ if (tmp18_elvis_lhs == null) {
4839
+ var tmp19_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/lesson', 'control-color');
4840
+ var tmp20_safe_receiver = tmp19_safe_receiver == null ? null : toColorOrNull(tmp19_safe_receiver);
4845
4841
  var tmp_12;
4846
- if (tmp24_safe_receiver == null) {
4842
+ if (tmp20_safe_receiver == null) {
4847
4843
  tmp_12 = null;
4848
4844
  } else {
4849
4845
  // Inline function 'kotlin.also' call
@@ -4857,28 +4853,28 @@
4857
4853
  if (tmp0.c1u().t1u().n2(severity) <= 0) {
4858
4854
  tmp0.d1u(severity, tag, tmp2, message);
4859
4855
  }
4860
- tmp_12 = tmp24_safe_receiver;
4856
+ tmp_12 = tmp20_safe_receiver;
4861
4857
  }
4862
4858
  tmp_11 = tmp_12;
4863
4859
  } else {
4864
- tmp_11 = tmp21_elvis_lhs;
4860
+ tmp_11 = tmp18_elvis_lhs;
4865
4861
  }
4866
- var tmp25_elvis_lhs = tmp_11;
4867
- tmp_10.l3e_1 = tmp25_elvis_lhs == null ? get_DEFAULT_CONTROL_COLOR() : tmp25_elvis_lhs;
4862
+ var tmp21_elvis_lhs = tmp_11;
4863
+ tmp_10.l3e_1 = tmp21_elvis_lhs == null ? get_DEFAULT_CONTROL_COLOR() : tmp21_elvis_lhs;
4868
4864
  var tmp_13 = $this;
4869
- var tmp26_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
4870
- tmp_13.m3e_1 = tmp26_safe_receiver == null ? null : toColorOrNull(tmp26_safe_receiver);
4865
+ var tmp22_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
4866
+ tmp_13.m3e_1 = tmp22_safe_receiver == null ? null : toColorOrNull(tmp22_safe_receiver);
4871
4867
  var tmp_14 = $this;
4872
- var tmp27_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
4873
- tmp_14.n3e_1 = tmp27_safe_receiver == null ? null : toColorOrNull(tmp27_safe_receiver);
4868
+ var tmp23_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
4869
+ tmp_14.n3e_1 = tmp23_safe_receiver == null ? null : toColorOrNull(tmp23_safe_receiver);
4874
4870
  var tmp_15 = $this;
4875
- var tmp28_safe_receiver = parser.d3d('text-color');
4876
- var tmp29_elvis_lhs = tmp28_safe_receiver == null ? null : toColorOrNull(tmp28_safe_receiver);
4877
- tmp_15.o3e_1 = tmp29_elvis_lhs == null ? Companion_getInstance_29().b3a_1 : tmp29_elvis_lhs;
4871
+ var tmp24_safe_receiver = parser.d3d('text-color');
4872
+ var tmp25_elvis_lhs = tmp24_safe_receiver == null ? null : toColorOrNull(tmp24_safe_receiver);
4873
+ tmp_15.o3e_1 = tmp25_elvis_lhs == null ? Companion_getInstance_29().b3a_1 : tmp25_elvis_lhs;
4878
4874
  var tmp_16 = $this;
4879
- var tmp30_safe_receiver = parser.d3d('text-scale');
4880
- var tmp31_elvis_lhs = tmp30_safe_receiver == null ? null : toDoubleOrNull(tmp30_safe_receiver);
4881
- tmp_16.p3e_1 = tmp31_elvis_lhs == null ? 1.0 : tmp31_elvis_lhs;
4875
+ var tmp26_safe_receiver = parser.d3d('text-scale');
4876
+ var tmp27_elvis_lhs = tmp26_safe_receiver == null ? null : toDoubleOrNull(tmp26_safe_receiver);
4877
+ tmp_16.p3e_1 = tmp27_elvis_lhs == null ? 1.0 : tmp27_elvis_lhs;
4882
4878
  var title = null;
4883
4879
  var tmp_17 = $this;
4884
4880
  // Inline function 'kotlin.collections.mutableListOf' call
@@ -5366,10 +5362,10 @@
5366
5362
  return this.c3e_1;
5367
5363
  };
5368
5364
  protoOf(Manifest).i3q = function () {
5369
- return !(this.d3e_1 == null) ? this.d3e_1 : this.type.equals(Type_LESSON_getInstance()) ? get_DEFAULT_LESSON_NAV_BAR_COLOR() : toPlatformColor(this.b3e_1);
5365
+ return !(this.d3e_1 == null) ? this.d3e_1 : this.type.equals(Type_LESSON_getInstance()) ? get_DEFAULT_LESSON_NAV_BAR_COLOR() : this.b3e_1;
5370
5366
  };
5371
5367
  protoOf(Manifest).j3q = function () {
5372
- return !(this.e3e_1 == null) ? this.e3e_1 : this.type.equals(Type_LESSON_getInstance()) ? toPlatformColor(this.b3e_1) : toPlatformColor(this.c3e_1);
5368
+ return !(this.e3e_1 == null) ? this.e3e_1 : this.type.equals(Type_LESSON_getInstance()) ? this.b3e_1 : this.c3e_1;
5373
5369
  };
5374
5370
  protoOf(Manifest).k3q = function () {
5375
5371
  return this.f3e_1;
@@ -7314,7 +7310,7 @@
7314
7310
  function _init_properties_Constants_kt__atb1ur_0() {
7315
7311
  if (!properties_initialized_Constants_kt_w4w61t_0) {
7316
7312
  properties_initialized_Constants_kt_w4w61t_0 = true;
7317
- DEFAULT_LESSON_NAV_BAR_COLOR = toPlatformColor(color(0, 0, 0, 0.0));
7313
+ DEFAULT_LESSON_NAV_BAR_COLOR = color(0, 0, 0, 0.0);
7318
7314
  }
7319
7315
  }
7320
7316
  function LessonPage_init_$Init$(container, fileName, parser, $this) {
@@ -7744,7 +7740,7 @@
7744
7740
  function _init_properties_Constants_kt__atb1ur_1() {
7745
7741
  if (!properties_initialized_Constants_kt_w4w61t_1) {
7746
7742
  properties_initialized_Constants_kt_w4w61t_1 = true;
7747
- DEFAULT_CONTROL_COLOR = toPlatformColor(color(225, 225, 225, 1.0));
7743
+ DEFAULT_CONTROL_COLOR = color(225, 225, 225, 1.0);
7748
7744
  }
7749
7745
  }
7750
7746
  function Companion_45() {
@@ -8071,24 +8067,23 @@
8071
8067
  tmp_7.b3y_1 = tmp12_elvis_lhs == null ? Companion_getInstance_49().r3m_1 : tmp12_elvis_lhs;
8072
8068
  var tmp_8 = $this;
8073
8069
  var tmp13_safe_receiver = parser.d3d('control-color');
8074
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : toColorOrNull(tmp13_safe_receiver);
8075
- tmp_8.c3y_1 = tmp14_safe_receiver == null ? null : toPlatformColor(tmp14_safe_receiver);
8070
+ tmp_8.c3y_1 = tmp13_safe_receiver == null ? null : toColorOrNull(tmp13_safe_receiver);
8076
8071
  var tmp_9 = $this;
8077
- var tmp15_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
8078
- tmp_9.d3y_1 = tmp15_safe_receiver == null ? null : toColorOrNull(tmp15_safe_receiver);
8072
+ var tmp14_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'card-background-color');
8073
+ tmp_9.d3y_1 = tmp14_safe_receiver == null ? null : toColorOrNull(tmp14_safe_receiver);
8079
8074
  var tmp_10 = $this;
8080
- var tmp16_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
8081
- tmp_10.e3y_1 = tmp16_safe_receiver == null ? null : toColorOrNull(tmp16_safe_receiver);
8075
+ var tmp15_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-background-color');
8076
+ tmp_10.e3y_1 = tmp15_safe_receiver == null ? null : toColorOrNull(tmp15_safe_receiver);
8082
8077
  var tmp_11 = $this;
8083
- var tmp17_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
8084
- tmp_11.f3y_1 = tmp17_safe_receiver == null ? null : toColorOrNull(tmp17_safe_receiver);
8078
+ var tmp16_safe_receiver = parser.p3p('https://mobile-content-api.cru.org/xmlns/content', 'multiselect-option-selected-color');
8079
+ tmp_11.f3y_1 = tmp16_safe_receiver == null ? null : toColorOrNull(tmp16_safe_receiver);
8085
8080
  var tmp_12 = $this;
8086
- var tmp18_safe_receiver = parser.d3d('text-color');
8087
- tmp_12.g3y_1 = tmp18_safe_receiver == null ? null : toColorOrNull(tmp18_safe_receiver);
8081
+ var tmp17_safe_receiver = parser.d3d('text-color');
8082
+ tmp_12.g3y_1 = tmp17_safe_receiver == null ? null : toColorOrNull(tmp17_safe_receiver);
8088
8083
  var tmp_13 = $this;
8089
- var tmp19_safe_receiver = parser.d3d('text-scale');
8090
- var tmp20_elvis_lhs = tmp19_safe_receiver == null ? null : toDoubleOrNull(tmp19_safe_receiver);
8091
- tmp_13.h3y_1 = tmp20_elvis_lhs == null ? 1.0 : tmp20_elvis_lhs;
8084
+ var tmp18_safe_receiver = parser.d3d('text-scale');
8085
+ var tmp19_elvis_lhs = tmp18_safe_receiver == null ? null : toDoubleOrNull(tmp18_safe_receiver);
8086
+ tmp_13.h3y_1 = tmp19_elvis_lhs == null ? 1.0 : tmp19_elvis_lhs;
8092
8087
  return $this;
8093
8088
  }
8094
8089
  function Page_init_$Init$_0(container, id, fileName, parentPage, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, controlColor, cardBackgroundColor, multiselectOptionBackgroundColor, multiselectOptionSelectedColor, textColor, textScale, $this) {