mrs-toolbox-cli 0.0.72 → 0.0.73

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.
@@ -1 +1 @@
1
- 0bbabf6573f8292e3d686e951e068fc6
1
+ 15effafc0b15947c46931af71fd50ee0
@@ -749,11 +749,6 @@ if (typeof Math.imul === 'undefined') {
749
749
  }
750
750
  return result;
751
751
  }
752
- function first(_this__u8e3s4) {
753
- if (_this__u8e3s4.l())
754
- throw NoSuchElementException_init_$Create$_0('List is empty.');
755
- return _this__u8e3s4.k(0);
756
- }
757
752
  function toList_0(_this__u8e3s4) {
758
753
  if (isInterface(_this__u8e3s4, Collection)) {
759
754
  var tmp0_subject = _this__u8e3s4.i();
@@ -886,6 +881,11 @@ if (typeof Math.imul === 'undefined') {
886
881
  }
887
882
  return -1;
888
883
  }
884
+ function first(_this__u8e3s4) {
885
+ if (_this__u8e3s4.l())
886
+ throw NoSuchElementException_init_$Create$_0('List is empty.');
887
+ return _this__u8e3s4.k(0);
888
+ }
889
889
  function dropLast(_this__u8e3s4, n) {
890
890
  // Inline function 'kotlin.require' call
891
891
  var tmp0_require = n >= 0;
@@ -5048,42 +5048,6 @@ if (typeof Math.imul === 'undefined') {
5048
5048
  return tmp;
5049
5049
  }
5050
5050
  function substringBefore(_this__u8e3s4, delimiter, missingDelimiterValue) {
5051
- missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
5052
- var index = indexOf_7(_this__u8e3s4, delimiter);
5053
- var tmp;
5054
- if (index === -1) {
5055
- tmp = missingDelimiterValue;
5056
- } else {
5057
- var tmp$ret$1;
5058
- // Inline function 'kotlin.text.substring' call
5059
- var tmp$ret$0;
5060
- // Inline function 'kotlin.js.asDynamic' call
5061
- tmp$ret$0 = _this__u8e3s4;
5062
- tmp$ret$1 = tmp$ret$0.substring(0, index);
5063
- tmp = tmp$ret$1;
5064
- }
5065
- return tmp;
5066
- }
5067
- function substringAfterLast(_this__u8e3s4, delimiter, missingDelimiterValue) {
5068
- missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
5069
- var index = lastIndexOf(_this__u8e3s4, delimiter);
5070
- var tmp;
5071
- if (index === -1) {
5072
- tmp = missingDelimiterValue;
5073
- } else {
5074
- var tmp$ret$1;
5075
- // Inline function 'kotlin.text.substring' call
5076
- var tmp0_substring = index + delimiter.length | 0;
5077
- var tmp1_substring = _this__u8e3s4.length;
5078
- var tmp$ret$0;
5079
- // Inline function 'kotlin.js.asDynamic' call
5080
- tmp$ret$0 = _this__u8e3s4;
5081
- tmp$ret$1 = tmp$ret$0.substring(tmp0_substring, tmp1_substring);
5082
- tmp = tmp$ret$1;
5083
- }
5084
- return tmp;
5085
- }
5086
- function substringBefore_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
5087
5051
  missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
5088
5052
  var index = indexOf_6(_this__u8e3s4, delimiter);
5089
5053
  var tmp;
@@ -5313,30 +5277,6 @@ if (typeof Math.imul === 'undefined') {
5313
5277
  requireNonNegativeLimit(limit);
5314
5278
  return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda_0(delimiters, ignoreCase));
5315
5279
  }
5316
- function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
5317
- startIndex = startIndex === VOID ? get_lastIndex_3(_this__u8e3s4) : startIndex;
5318
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5319
- var tmp;
5320
- var tmp_0;
5321
- if (ignoreCase) {
5322
- tmp_0 = true;
5323
- } else {
5324
- tmp_0 = !(typeof _this__u8e3s4 === 'string');
5325
- }
5326
- if (tmp_0) {
5327
- tmp = indexOf_8(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
5328
- } else {
5329
- var tmp$ret$1;
5330
- // Inline function 'kotlin.text.nativeLastIndexOf' call
5331
- var tmp0_nativeLastIndexOf = _this__u8e3s4;
5332
- var tmp$ret$0;
5333
- // Inline function 'kotlin.js.asDynamic' call
5334
- tmp$ret$0 = tmp0_nativeLastIndexOf;
5335
- tmp$ret$1 = tmp$ret$0.lastIndexOf(string, startIndex);
5336
- tmp = tmp$ret$1;
5337
- }
5338
- return tmp;
5339
- }
5340
5280
  function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
5341
5281
  if (((otherOffset < 0 ? true : thisOffset < 0) ? true : thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0)) ? true : otherOffset > (charSequenceLength(other) - length | 0)) {
5342
5282
  return false;
@@ -5507,6 +5447,30 @@ if (typeof Math.imul === 'undefined') {
5507
5447
  }
5508
5448
  return null;
5509
5449
  }
5450
+ function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
5451
+ startIndex = startIndex === VOID ? get_lastIndex_3(_this__u8e3s4) : startIndex;
5452
+ ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5453
+ var tmp;
5454
+ var tmp_0;
5455
+ if (ignoreCase) {
5456
+ tmp_0 = true;
5457
+ } else {
5458
+ tmp_0 = !(typeof _this__u8e3s4 === 'string');
5459
+ }
5460
+ if (tmp_0) {
5461
+ tmp = indexOf_8(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
5462
+ } else {
5463
+ var tmp$ret$1;
5464
+ // Inline function 'kotlin.text.nativeLastIndexOf' call
5465
+ var tmp0_nativeLastIndexOf = _this__u8e3s4;
5466
+ var tmp$ret$0;
5467
+ // Inline function 'kotlin.js.asDynamic' call
5468
+ tmp$ret$0 = tmp0_nativeLastIndexOf;
5469
+ tmp$ret$1 = tmp$ret$0.lastIndexOf(string, startIndex);
5470
+ tmp = tmp$ret$1;
5471
+ }
5472
+ return tmp;
5473
+ }
5510
5474
  function startsWith_0(_this__u8e3s4, char, ignoreCase) {
5511
5475
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
5512
5476
  return charSequenceLength(_this__u8e3s4) > 0 ? equals(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase) : false;
@@ -5610,6 +5574,42 @@ if (typeof Math.imul === 'undefined') {
5610
5574
  tmp$ret$1 = tmp$ret$0.substring(tmp0_substring, tmp1_substring);
5611
5575
  return tmp$ret$1;
5612
5576
  }
5577
+ function substringBefore_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
5578
+ missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
5579
+ var index = indexOf_7(_this__u8e3s4, delimiter);
5580
+ var tmp;
5581
+ if (index === -1) {
5582
+ tmp = missingDelimiterValue;
5583
+ } else {
5584
+ var tmp$ret$1;
5585
+ // Inline function 'kotlin.text.substring' call
5586
+ var tmp$ret$0;
5587
+ // Inline function 'kotlin.js.asDynamic' call
5588
+ tmp$ret$0 = _this__u8e3s4;
5589
+ tmp$ret$1 = tmp$ret$0.substring(0, index);
5590
+ tmp = tmp$ret$1;
5591
+ }
5592
+ return tmp;
5593
+ }
5594
+ function substringAfterLast(_this__u8e3s4, delimiter, missingDelimiterValue) {
5595
+ missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
5596
+ var index = lastIndexOf(_this__u8e3s4, delimiter);
5597
+ var tmp;
5598
+ if (index === -1) {
5599
+ tmp = missingDelimiterValue;
5600
+ } else {
5601
+ var tmp$ret$1;
5602
+ // Inline function 'kotlin.text.substring' call
5603
+ var tmp0_substring = index + delimiter.length | 0;
5604
+ var tmp1_substring = _this__u8e3s4.length;
5605
+ var tmp$ret$0;
5606
+ // Inline function 'kotlin.js.asDynamic' call
5607
+ tmp$ret$0 = _this__u8e3s4;
5608
+ tmp$ret$1 = tmp$ret$0.substring(tmp0_substring, tmp1_substring);
5609
+ tmp = tmp$ret$1;
5610
+ }
5611
+ return tmp;
5612
+ }
5613
5613
  function trimEnd_0(_this__u8e3s4) {
5614
5614
  var tmp$ret$0;
5615
5615
  $l$block: {
@@ -15715,8 +15715,8 @@ if (typeof Math.imul === 'undefined') {
15715
15715
  _.$_$.cd = startsWith_2;
15716
15716
  _.$_$.dd = startsWith_0;
15717
15717
  _.$_$.ed = substringAfterLast;
15718
- _.$_$.fd = substringBefore;
15719
- _.$_$.gd = substringBefore_0;
15718
+ _.$_$.fd = substringBefore_0;
15719
+ _.$_$.gd = substringBefore;
15720
15720
  _.$_$.hd = take_1;
15721
15721
  _.$_$.id = titlecase;
15722
15722
  _.$_$.jd = toDoubleOrNull;
@@ -1 +1 @@
1
- 60d3c2eaab9d2d68078a1040e9318a82
1
+ f47601e0764363ac3cc1b6f201162b02