@cruglobal/godtools-shared 1.1.5-SNAPSHOT.1755 → 1.2.0-PR799-SNAPSHOT.1763

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.
@@ -69,8 +69,8 @@
69
69
  var hashCode = kotlin_kotlin.$_$.g6;
70
70
  var UnsupportedOperationException_init_$Create$_0 = kotlin_kotlin.$_$.s1;
71
71
  var asJsReadonlySetView = kotlin_kotlin.$_$.v2;
72
- var Collection = kotlin_kotlin.$_$.p2;
73
72
  var KtSet = kotlin_kotlin.$_$.w2;
73
+ var Collection = kotlin_kotlin.$_$.p2;
74
74
  var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.c1;
75
75
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.y9;
76
76
  var copyOfRange = kotlin_kotlin.$_$.h3;
@@ -160,12 +160,12 @@
160
160
  initMetadataForClass(ATN, 'ATN');
161
161
  initMetadataForCompanion(Companion_8);
162
162
  initMetadataForClass(ATNConfig, 'ATNConfig');
163
- initMetadataForClass(Array2DHashSet, 'Array2DHashSet', Array2DHashSet, VOID, [Collection, KtSet]);
163
+ initMetadataForClass(Array2DHashSet, 'Array2DHashSet', Array2DHashSet, VOID, [KtSet, Collection]);
164
164
  initMetadataForClass(AbstractConfigHashSet, 'AbstractConfigHashSet', VOID, Array2DHashSet);
165
165
  initMetadataForClass(ConfigHashSet, 'ConfigHashSet', ConfigHashSet, AbstractConfigHashSet);
166
166
  initMetadataForClass(AbstractEqualityComparator, 'AbstractEqualityComparator');
167
167
  initMetadataForObject(ConfigEqualityComparator, 'ConfigEqualityComparator', VOID, AbstractEqualityComparator);
168
- initMetadataForClass(ATNConfigSet, 'ATNConfigSet', ATNConfigSet, VOID, [Collection, KtSet]);
168
+ initMetadataForClass(ATNConfigSet, 'ATNConfigSet', ATNConfigSet, VOID, [KtSet, Collection]);
169
169
  initMetadataForCompanion(Companion_9);
170
170
  initMetadataForClass(ATNDeserializationOptions, 'ATNDeserializationOptions', ATNDeserializationOptions_init_$Create$);
171
171
  initMetadataForCompanion(Companion_10);
@@ -62,12 +62,6 @@ if (typeof Math.clz32 === 'undefined') {
62
62
  };
63
63
  }(Math.log, Math.LN2);
64
64
  }
65
- if (typeof String.prototype.startsWith === 'undefined') {
66
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
67
- position = position || 0;
68
- return this.lastIndexOf(searchString, position) === position;
69
- }});
70
- }
71
65
  if (typeof String.prototype.endsWith === 'undefined') {
72
66
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
73
67
  var subjectString = this.toString();
@@ -79,6 +73,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
79
73
  return lastIndex !== -1 && lastIndex === position;
80
74
  }});
81
75
  }
76
+ if (typeof String.prototype.startsWith === 'undefined') {
77
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
78
+ position = position || 0;
79
+ return this.lastIndexOf(searchString, position) === position;
80
+ }});
81
+ }
82
82
  //endregion
83
83
  (function (factory) {
84
84
  if (typeof define === 'function' && define.amd)
@@ -144,19 +144,19 @@ if (typeof String.prototype.endsWith === 'undefined') {
144
144
  initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList);
145
145
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
146
146
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
147
- initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
147
+ initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
148
148
  initMetadataForCompanion(Companion_5);
149
149
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection]);
150
150
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
151
- initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
151
+ initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
152
152
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, AbstractMutableCollection]);
153
- initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
153
+ initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
154
154
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
155
155
  initMetadataForClass(HashMapKeysDefault$iterator$1);
156
156
  initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
157
157
  initMetadataForClass(HashMapValuesDefault$iterator$1);
158
158
  initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
159
- initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, Collection, KtSet]);
159
+ initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtSet, Collection]);
160
160
  initMetadataForCompanion(Companion_6);
161
161
  initMetadataForClass(Itr, 'Itr');
162
162
  initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
@@ -203,7 +203,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
203
203
  initMetadataForObject(EmptyHolder, 'EmptyHolder');
204
204
  initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMap]);
205
205
  initMetadataForObject(EmptyHolder_0, 'EmptyHolder');
206
- initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, Collection, KtSet]);
206
+ initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtSet, Collection]);
207
207
  initMetadataForClass(BaseOutput, 'BaseOutput');
208
208
  initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
209
209
  initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
@@ -348,17 +348,17 @@ if (typeof String.prototype.endsWith === 'undefined') {
348
348
  initMetadataForCompanion(Companion_12);
349
349
  initMetadataForClass(IntProgression, 'IntProgression');
350
350
  function contains(value) {
351
- return compareTo(value, this.v()) >= 0 && compareTo(value, this.u()) <= 0;
351
+ return compareTo(value, this.u()) >= 0 && compareTo(value, this.t()) <= 0;
352
352
  }
353
353
  function isEmpty() {
354
- return compareTo(this.v(), this.u()) > 0;
354
+ return compareTo(this.u(), this.t()) > 0;
355
355
  }
356
356
  initMetadataForInterface(ClosedRange, 'ClosedRange');
357
357
  initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression, [IntProgression, ClosedRange]);
358
358
  initMetadataForClass(IntProgressionIterator, 'IntProgressionIterator', VOID, IntIterator);
359
359
  initMetadataForCompanion(Companion_13);
360
360
  function isEmpty_0() {
361
- return !this.w(this.v(), this.u());
361
+ return !this.w(this.u(), this.t());
362
362
  }
363
363
  initMetadataForInterface(ClosedFloatingPointRange, 'ClosedFloatingPointRange', VOID, VOID, [ClosedRange]);
364
364
  initMetadataForClass(ClosedFloatRange, 'ClosedFloatRange', VOID, VOID, [ClosedFloatingPointRange]);
@@ -943,21 +943,21 @@ if (typeof String.prototype.endsWith === 'undefined') {
943
943
  function coerceAtMost(_this__u8e3s4, maximumValue) {
944
944
  return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
945
945
  }
946
- function contains_2(_this__u8e3s4, value) {
947
- return _this__u8e3s4.t(value);
948
- }
949
946
  function coerceIn_1(_this__u8e3s4, range) {
950
947
  if (isInterface(range, ClosedFloatingPointRange)) {
951
948
  return coerceIn_2(_this__u8e3s4, range);
952
949
  }
953
950
  if (range.p())
954
951
  throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: ' + toString_1(range) + '.');
955
- return _this__u8e3s4 < range.v() ? range.v() : _this__u8e3s4 > range.u() ? range.u() : _this__u8e3s4;
952
+ return _this__u8e3s4 < range.u() ? range.u() : _this__u8e3s4 > range.t() ? range.t() : _this__u8e3s4;
953
+ }
954
+ function contains_2(_this__u8e3s4, value) {
955
+ return _this__u8e3s4.v(value);
956
956
  }
957
957
  function coerceIn_2(_this__u8e3s4, range) {
958
958
  if (range.p())
959
959
  throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: ' + toString_1(range) + '.');
960
- return range.w(_this__u8e3s4, range.v()) && !range.w(range.v(), _this__u8e3s4) ? range.v() : range.w(range.u(), _this__u8e3s4) && !range.w(_this__u8e3s4, range.u()) ? range.u() : _this__u8e3s4;
960
+ return range.w(_this__u8e3s4, range.u()) && !range.w(range.u(), _this__u8e3s4) ? range.u() : range.w(range.t(), _this__u8e3s4) && !range.w(_this__u8e3s4, range.t()) ? range.t() : _this__u8e3s4;
961
961
  }
962
962
  function coerceAtMost_0(_this__u8e3s4, maximumValue) {
963
963
  return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
@@ -965,7 +965,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
965
965
  function contains_3(_this__u8e3s4, value) {
966
966
  // Inline function 'kotlin.let' call
967
967
  var it = toIntExactOrNull(value);
968
- return !(it == null) ? _this__u8e3s4.t(it) : false;
968
+ return !(it == null) ? _this__u8e3s4.v(it) : false;
969
969
  }
970
970
  function toIntExactOrNull(_this__u8e3s4) {
971
971
  return ((new Long(-2147483648, -1)).a1(_this__u8e3s4) <= 0 ? _this__u8e3s4.a1(new Long(2147483647, 0)) <= 0 : false) ? _this__u8e3s4.z() : null;
@@ -6355,9 +6355,9 @@ if (typeof String.prototype.endsWith === 'undefined') {
6355
6355
  var sb = StringBuilder_init_$Create$(length);
6356
6356
  do {
6357
6357
  var foundMatch = ensureNotNull(match);
6358
- sb.jb(input, lastStart, foundMatch.ic().v());
6358
+ sb.jb(input, lastStart, foundMatch.ic().u());
6359
6359
  sb.f(transform(foundMatch));
6360
- lastStart = foundMatch.ic().u() + 1 | 0;
6360
+ lastStart = foundMatch.ic().t() + 1 | 0;
6361
6361
  match = foundMatch.l();
6362
6362
  }
6363
6363
  while (lastStart < length && !(match == null));
@@ -6377,8 +6377,8 @@ if (typeof String.prototype.endsWith === 'undefined') {
6377
6377
  var _iterator__ex2g4s = matches.j();
6378
6378
  while (_iterator__ex2g4s.k()) {
6379
6379
  var match = _iterator__ex2g4s.l();
6380
- result.e(toString_1(charSequenceSubSequence(input, lastStart, match.ic().v())));
6381
- lastStart = match.ic().u() + 1 | 0;
6380
+ result.e(toString_1(charSequenceSubSequence(input, lastStart, match.ic().u())));
6381
+ lastStart = match.ic().t() + 1 | 0;
6382
6382
  }
6383
6383
  result.e(toString_1(charSequenceSubSequence(input, lastStart, charSequenceLength(input))));
6384
6384
  return result;
@@ -6646,7 +6646,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
6646
6646
  return ensureNotNull(this.vc_1);
6647
6647
  };
6648
6648
  protoOf(findNext$1).l = function () {
6649
- return findNext(this.yc_1, this.zc_1, this.wc_1.p() ? advanceToNextCharacter(this, this.wc_1.v()) : this.wc_1.u() + 1 | 0, this.yc_1);
6649
+ return findNext(this.yc_1, this.zc_1, this.wc_1.p() ? advanceToNextCharacter(this, this.wc_1.u()) : this.wc_1.t() + 1 | 0, this.yc_1);
6650
6650
  };
6651
6651
  function RegexOption_IGNORE_CASE_getInstance() {
6652
6652
  RegexOption_initEntries();
@@ -9024,16 +9024,16 @@ if (typeof String.prototype.endsWith === 'undefined') {
9024
9024
  Companion_getInstance_12();
9025
9025
  IntProgression.call(this, start, endInclusive, 1);
9026
9026
  }
9027
- protoOf(IntRange).v = function () {
9027
+ protoOf(IntRange).u = function () {
9028
9028
  return this.rg_1;
9029
9029
  };
9030
- protoOf(IntRange).u = function () {
9030
+ protoOf(IntRange).t = function () {
9031
9031
  return this.sg_1;
9032
9032
  };
9033
9033
  protoOf(IntRange).ug = function (value) {
9034
9034
  return this.rg_1 <= value && value <= this.sg_1;
9035
9035
  };
9036
- protoOf(IntRange).t = function (value) {
9036
+ protoOf(IntRange).v = function (value) {
9037
9037
  return this.ug(typeof value === 'number' ? value : THROW_CCE());
9038
9038
  };
9039
9039
  protoOf(IntRange).p = function () {
@@ -9125,10 +9125,10 @@ if (typeof String.prototype.endsWith === 'undefined') {
9125
9125
  this.zg_1 = start;
9126
9126
  this.ah_1 = endInclusive;
9127
9127
  }
9128
- protoOf(ClosedFloatRange).v = function () {
9128
+ protoOf(ClosedFloatRange).u = function () {
9129
9129
  return this.zg_1;
9130
9130
  };
9131
- protoOf(ClosedFloatRange).u = function () {
9131
+ protoOf(ClosedFloatRange).t = function () {
9132
9132
  return this.ah_1;
9133
9133
  };
9134
9134
  protoOf(ClosedFloatRange).bh = function (a, b) {
@@ -9141,7 +9141,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
9141
9141
  protoOf(ClosedFloatRange).ch = function (value) {
9142
9142
  return value >= this.zg_1 && value <= this.ah_1;
9143
9143
  };
9144
- protoOf(ClosedFloatRange).t = function (value) {
9144
+ protoOf(ClosedFloatRange).v = function (value) {
9145
9145
  return this.ch(typeof value === 'number' ? value : THROW_CCE());
9146
9146
  };
9147
9147
  protoOf(ClosedFloatRange).p = function () {
@@ -9952,9 +9952,9 @@ if (typeof String.prototype.endsWith === 'undefined') {
9952
9952
  return charSequenceLength(_this__u8e3s4) - 1 | 0;
9953
9953
  }
9954
9954
  function substring(_this__u8e3s4, range) {
9955
- var tmp1 = range.v();
9955
+ var tmp1 = range.u();
9956
9956
  // Inline function 'kotlin.text.substring' call
9957
- var endIndex = range.u() + 1 | 0;
9957
+ var endIndex = range.t() + 1 | 0;
9958
9958
  // Inline function 'kotlin.js.asDynamic' call
9959
9959
  return _this__u8e3s4.substring(tmp1, endIndex);
9960
9960
  }
@@ -10041,7 +10041,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
10041
10041
  return result;
10042
10042
  }
10043
10043
  function substring_0(_this__u8e3s4, range) {
10044
- return toString_1(charSequenceSubSequence(_this__u8e3s4, range.v(), range.u() + 1 | 0));
10044
+ return toString_1(charSequenceSubSequence(_this__u8e3s4, range.u(), range.t() + 1 | 0));
10045
10045
  }
10046
10046
  function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
10047
10047
  startIndex = startIndex === VOID ? 0 : startIndex;