@dhis2/expression-parser 1.1.0-beta.5 → 1.1.0-beta.7

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.
Files changed (46) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +178 -165
  2. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
  3. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.mjs +195 -181
  4. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.mjs.map +1 -1
  5. package/KotlinBigInteger-bignum-js-ir.js +2091 -2383
  6. package/KotlinBigInteger-bignum-js-ir.js.map +1 -1
  7. package/KotlinBigInteger-bignum-js-ir.mjs +2096 -2388
  8. package/KotlinBigInteger-bignum-js-ir.mjs.map +1 -1
  9. package/expression-parser.d.ts +423 -54
  10. package/expression-parser.js +4186 -4920
  11. package/expression-parser.js.map +1 -1
  12. package/expression-parser.mjs +4173 -4936
  13. package/expression-parser.mjs.map +1 -1
  14. package/kotlin-js.js +112 -0
  15. package/kotlin-js.js.map +1 -0
  16. package/kotlin-js.mjs +110 -0
  17. package/kotlin-js.mjs.map +1 -0
  18. package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +7852 -6959
  19. package/kotlin-kotlin-stdlib.js.map +1 -0
  20. package/{kotlin-kotlin-stdlib-js-ir.mjs → kotlin-kotlin-stdlib.mjs} +7835 -6942
  21. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  22. package/kotlin-kotlinx-atomicfu-runtime.js +8 -0
  23. package/kotlin-kotlinx-atomicfu-runtime.js.map +1 -0
  24. package/kotlin-kotlinx-atomicfu-runtime.mjs +4 -0
  25. package/kotlin-kotlinx-atomicfu-runtime.mjs.map +1 -0
  26. package/kotlinx-atomicfu.js +8 -0
  27. package/kotlinx-atomicfu.js.map +1 -0
  28. package/kotlinx-atomicfu.mjs +4 -0
  29. package/kotlinx-atomicfu.mjs.map +1 -0
  30. package/kotlinx-coroutines-core.js +8 -0
  31. package/kotlinx-coroutines-core.js.map +1 -0
  32. package/kotlinx-coroutines-core.mjs +4 -0
  33. package/kotlinx-coroutines-core.mjs.map +1 -0
  34. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +5 -5
  35. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.mjs +5 -5
  36. package/package.json +1 -1
  37. package/seskar-core.js +8 -0
  38. package/seskar-core.js.map +1 -0
  39. package/seskar-core.mjs +4 -0
  40. package/seskar-core.mjs.map +1 -0
  41. package/seskar-react.js +8 -0
  42. package/seskar-react.js.map +1 -0
  43. package/seskar-react.mjs +4 -0
  44. package/seskar-react.mjs.map +1 -0
  45. package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
  46. package/kotlin-kotlin-stdlib-js-ir.mjs.map +0 -1
@@ -7,41 +7,44 @@
7
7
  var LocalDateTime = $module$_js_joda_core_gcv2k.LocalDateTime;
8
8
  var ZoneOffset = $module$_js_joda_core_gcv2k.ZoneOffset;
9
9
  var ZoneId = $module$_js_joda_core_gcv2k.ZoneId;
10
- var VOID = kotlin_kotlin.$_$.a8;
11
- var protoOf = kotlin_kotlin.$_$.i5;
12
- var objectCreate = kotlin_kotlin.$_$.g5;
13
- var objectMeta = kotlin_kotlin.$_$.h5;
14
- var setMetadataFor = kotlin_kotlin.$_$.j5;
15
- var Long = kotlin_kotlin.$_$.a7;
16
- var classMeta = kotlin_kotlin.$_$.k4;
17
- var toLong = kotlin_kotlin.$_$.k5;
18
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.l;
19
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.x;
20
- var abs = kotlin_kotlin.$_$.m5;
21
- var padStart = kotlin_kotlin.$_$.h6;
22
- var IntCompanionObject_getInstance = kotlin_kotlin.$_$.d2;
23
- var numberRangeToNumber = kotlin_kotlin.$_$.b5;
24
- var THROW_CCE = kotlin_kotlin.$_$.d7;
25
- var ClosedRange = kotlin_kotlin.$_$.o5;
26
- var isInterface = kotlin_kotlin.$_$.w4;
27
- var contains = kotlin_kotlin.$_$.s5;
28
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p;
29
- var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.n;
30
- var captureStack = kotlin_kotlin.$_$.g4;
31
- var IllegalArgumentException = kotlin_kotlin.$_$.z6;
32
- var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.s;
33
- var RuntimeException = kotlin_kotlin.$_$.c7;
34
- var Comparable = kotlin_kotlin.$_$.w6;
35
- var equals = kotlin_kotlin.$_$.n4;
36
- var numberToInt = kotlin_kotlin.$_$.e5;
10
+ var VOID = kotlin_kotlin.$_$.c;
11
+ var protoOf = kotlin_kotlin.$_$.m5;
12
+ var objectCreate = kotlin_kotlin.$_$.k5;
13
+ var objectMeta = kotlin_kotlin.$_$.l5;
14
+ var setMetadataFor = kotlin_kotlin.$_$.n5;
15
+ var Long = kotlin_kotlin.$_$.i7;
16
+ var classMeta = kotlin_kotlin.$_$.o4;
17
+ var toLong = kotlin_kotlin.$_$.o5;
18
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.m;
19
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.a1;
20
+ var Unit_instance = kotlin_kotlin.$_$.l2;
21
+ var abs = kotlin_kotlin.$_$.q5;
22
+ var padStart = kotlin_kotlin.$_$.o6;
23
+ var IntCompanionObject_instance = kotlin_kotlin.$_$.g2;
24
+ var numberRangeToNumber = kotlin_kotlin.$_$.f5;
25
+ var THROW_CCE = kotlin_kotlin.$_$.l7;
26
+ var ClosedRange = kotlin_kotlin.$_$.s5;
27
+ var isInterface = kotlin_kotlin.$_$.b5;
28
+ var contains = kotlin_kotlin.$_$.w5;
29
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r;
30
+ var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.p;
31
+ var captureStack = kotlin_kotlin.$_$.k4;
32
+ var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.o;
33
+ var IllegalArgumentException = kotlin_kotlin.$_$.h7;
34
+ var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.w;
35
+ var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.u;
36
+ var RuntimeException = kotlin_kotlin.$_$.k7;
37
+ var Comparable = kotlin_kotlin.$_$.e7;
38
+ var equals = kotlin_kotlin.$_$.r4;
39
+ var numberToInt = kotlin_kotlin.$_$.i5;
37
40
  //endregion
38
41
  //region block: pre-declaration
39
42
  setMetadataFor(Companion, 'Companion', objectMeta);
40
43
  setMetadataFor(DateTimePeriod, 'DateTimePeriod', classMeta);
41
- setMetadataFor(DatePeriod, 'DatePeriod', classMeta, DateTimePeriod);
44
+ setMetadataFor(DatePeriod, 'DatePeriod', classMeta, DateTimePeriod, VOID, DatePeriod_init_$Create$);
42
45
  setMetadataFor(Companion_0, 'Companion', objectMeta);
43
- setMetadataFor(DateTimeFormatException, 'DateTimeFormatException', classMeta, IllegalArgumentException);
44
- setMetadataFor(DateTimeArithmeticException, 'DateTimeArithmeticException', classMeta, RuntimeException);
46
+ setMetadataFor(DateTimeFormatException, 'DateTimeFormatException', classMeta, IllegalArgumentException, VOID, DateTimeFormatException_init_$Create$);
47
+ setMetadataFor(DateTimeArithmeticException, 'DateTimeArithmeticException', classMeta, RuntimeException, VOID, DateTimeArithmeticException_init_$Create$);
45
48
  setMetadataFor(Instant, 'Instant', classMeta, VOID, [Comparable]);
46
49
  setMetadataFor(Companion_1, 'Companion', objectMeta);
47
50
  setMetadataFor(LocalDate_0, 'LocalDate', classMeta, VOID, [Comparable]);
@@ -65,193 +68,204 @@
65
68
  return DatePeriod_init_$Init$(years, months, days, objectCreate(protoOf(DatePeriod)));
66
69
  }
67
70
  function Companion() {
68
- Companion_instance = this;
69
71
  }
70
72
  var Companion_instance;
71
73
  function Companion_getInstance() {
72
- if (Companion_instance == null)
73
- new Companion();
74
74
  return Companion_instance;
75
75
  }
76
76
  function DatePeriod(totalMonths, days) {
77
- Companion_getInstance();
78
77
  DateTimePeriod.call(this);
79
- this.de_1 = totalMonths;
80
- this.ee_1 = days;
78
+ this.fg_1 = totalMonths;
79
+ this.gg_1 = days;
81
80
  }
82
- protoOf(DatePeriod).fe = function () {
83
- return this.de_1;
81
+ protoOf(DatePeriod).hg = function () {
82
+ return this.fg_1;
84
83
  };
85
- protoOf(DatePeriod).ge = function () {
86
- return this.ee_1;
84
+ protoOf(DatePeriod).ig = function () {
85
+ return this.gg_1;
87
86
  };
88
- protoOf(DatePeriod).he = function () {
87
+ protoOf(DatePeriod).jg = function () {
89
88
  return 0;
90
89
  };
91
- protoOf(DatePeriod).ie = function () {
90
+ protoOf(DatePeriod).kg = function () {
92
91
  return 0;
93
92
  };
94
- protoOf(DatePeriod).je = function () {
93
+ protoOf(DatePeriod).lg = function () {
95
94
  return 0;
96
95
  };
97
- protoOf(DatePeriod).ke = function () {
96
+ protoOf(DatePeriod).mg = function () {
98
97
  return 0;
99
98
  };
100
- protoOf(DatePeriod).le = function () {
99
+ protoOf(DatePeriod).ng = function () {
101
100
  return new Long(0, 0);
102
101
  };
103
102
  function allNonpositive($this) {
104
- return (($this.fe() <= 0 ? $this.ge() <= 0 : false) ? $this.le().v(new Long(0, 0)) <= 0 : false) ? !(($this.fe() | $this.ge()) === 0) ? true : !$this.le().equals(new Long(0, 0)) : false;
103
+ return (($this.hg() <= 0 ? $this.ig() <= 0 : false) ? $this.ng().m5(new Long(0, 0)) <= 0 : false) ? !(($this.hg() | $this.ig()) === 0) ? true : !$this.ng().equals(new Long(0, 0)) : false;
105
104
  }
106
105
  function Companion_0() {
107
- Companion_instance_0 = this;
108
106
  }
109
107
  var Companion_instance_0;
110
108
  function Companion_getInstance_0() {
111
- if (Companion_instance_0 == null)
112
- new Companion_0();
113
109
  return Companion_instance_0;
114
110
  }
115
111
  function DateTimePeriod() {
116
- Companion_getInstance_0();
117
112
  }
118
- protoOf(DateTimePeriod).me = function () {
119
- return this.fe() / 12 | 0;
113
+ protoOf(DateTimePeriod).og = function () {
114
+ return this.hg() / 12 | 0;
120
115
  };
121
- protoOf(DateTimePeriod).ne = function () {
122
- return this.fe() % 12 | 0;
116
+ protoOf(DateTimePeriod).pg = function () {
117
+ return this.hg() % 12 | 0;
123
118
  };
124
- protoOf(DateTimePeriod).he = function () {
125
- return this.le().l5(new Long(817405952, 838)).u();
119
+ protoOf(DateTimePeriod).jg = function () {
120
+ return this.ng().p9(new Long(817405952, 838)).i8();
126
121
  };
127
- protoOf(DateTimePeriod).ie = function () {
128
- return this.le().c7(new Long(817405952, 838)).l5(new Long(-129542144, 13)).u();
122
+ protoOf(DateTimePeriod).kg = function () {
123
+ return this.ng().q9(new Long(817405952, 838)).p9(new Long(-129542144, 13)).i8();
129
124
  };
130
- protoOf(DateTimePeriod).je = function () {
125
+ protoOf(DateTimePeriod).lg = function () {
131
126
  // Inline function 'kotlin.Long.div' call
132
- var tmp0_div = this.le().c7(new Long(-129542144, 13));
133
- var tmp1_div = get_NANOS_PER_ONE();
134
- return tmp0_div.l5(toLong(tmp1_div)).u();
127
+ var this_0 = this.ng().q9(new Long(-129542144, 13));
128
+ var other = get_NANOS_PER_ONE();
129
+ return this_0.p9(toLong(other)).i8();
135
130
  };
136
- protoOf(DateTimePeriod).ke = function () {
131
+ protoOf(DateTimePeriod).mg = function () {
137
132
  // Inline function 'kotlin.Long.rem' call
138
- var tmp0_rem = this.le();
139
- var tmp1_rem = get_NANOS_PER_ONE();
140
- return tmp0_rem.c7(toLong(tmp1_rem)).u();
133
+ var this_0 = this.ng();
134
+ var other = get_NANOS_PER_ONE();
135
+ return this_0.q9(toLong(other)).i8();
141
136
  };
142
137
  protoOf(DateTimePeriod).toString = function () {
143
138
  // Inline function 'kotlin.text.buildString' call
144
139
  // Inline function 'kotlin.contracts.contract' call
145
140
  // Inline function 'kotlin.apply' call
146
- var tmp0_apply = StringBuilder_init_$Create$();
141
+ var this_0 = StringBuilder_init_$Create$();
147
142
  // Inline function 'kotlin.contracts.contract' call
148
143
  // Inline function 'kotlinx.datetime.DateTimePeriod.toString.<anonymous>' call
149
144
  var tmp;
150
145
  if (allNonpositive(this)) {
151
- tmp0_apply.j5(_Char___init__impl__6a9atx(45));
146
+ this_0.r4(_Char___init__impl__6a9atx(45));
152
147
  tmp = -1;
153
148
  } else {
154
149
  tmp = 1;
155
150
  }
156
151
  var sign = tmp;
157
- tmp0_apply.j5(_Char___init__impl__6a9atx(80));
158
- if (!(this.me() === 0)) {
159
- tmp0_apply.sb(imul(this.me(), sign)).j5(_Char___init__impl__6a9atx(89));
152
+ this_0.r4(_Char___init__impl__6a9atx(80));
153
+ if (!(this.og() === 0)) {
154
+ this_0.p4(imul(this.og(), sign)).r4(_Char___init__impl__6a9atx(89));
160
155
  }
161
- if (!(this.ne() === 0)) {
162
- tmp0_apply.sb(imul(this.ne(), sign)).j5(_Char___init__impl__6a9atx(77));
156
+ if (!(this.pg() === 0)) {
157
+ this_0.p4(imul(this.pg(), sign)).r4(_Char___init__impl__6a9atx(77));
163
158
  }
164
- if (!(this.ge() === 0)) {
165
- tmp0_apply.sb(imul(this.ge(), sign)).j5(_Char___init__impl__6a9atx(68));
159
+ if (!(this.ig() === 0)) {
160
+ this_0.p4(imul(this.ig(), sign)).r4(_Char___init__impl__6a9atx(68));
166
161
  }
167
162
  var t = 'T';
168
- if (!(this.he() === 0)) {
163
+ if (!(this.jg() === 0)) {
169
164
  // Inline function 'kotlin.also' call
170
- tmp0_apply.tb(t).sb(imul(this.he(), sign)).j5(_Char___init__impl__6a9atx(72));
165
+ this_0.q4(t).p4(imul(this.jg(), sign)).r4(_Char___init__impl__6a9atx(72));
171
166
  // Inline function 'kotlin.contracts.contract' call
172
167
  // Inline function 'kotlinx.datetime.DateTimePeriod.toString.<anonymous>.<anonymous>' call
173
168
  t = '';
174
169
  }
175
- if (!(this.ie() === 0)) {
170
+ if (!(this.kg() === 0)) {
176
171
  // Inline function 'kotlin.also' call
177
- tmp0_apply.tb(t).sb(imul(this.ie(), sign)).j5(_Char___init__impl__6a9atx(77));
172
+ this_0.q4(t).p4(imul(this.kg(), sign)).r4(_Char___init__impl__6a9atx(77));
178
173
  // Inline function 'kotlin.contracts.contract' call
179
174
  // Inline function 'kotlinx.datetime.DateTimePeriod.toString.<anonymous>.<anonymous>' call
180
175
  t = '';
181
176
  }
182
- if (!((this.je() | this.ke()) === 0)) {
183
- tmp0_apply.tb(t);
184
- tmp0_apply.sb(!(this.je() === 0) ? imul(this.je(), sign) : imul(this.ke(), sign) < 0 ? '-0' : '0');
185
- if (!(this.ke() === 0)) {
186
- var tmp_0 = tmp0_apply.j5(_Char___init__impl__6a9atx(46));
187
- var tmp$ret$2;
177
+ if (!((this.lg() | this.mg()) === 0)) {
178
+ this_0.q4(t);
179
+ this_0.p4(!(this.lg() === 0) ? imul(this.lg(), sign) : imul(this.mg(), sign) < 0 ? '-0' : '0');
180
+ if (!(this.mg() === 0)) {
181
+ var tmp_0 = this_0.r4(_Char___init__impl__6a9atx(46));
188
182
  // Inline function 'kotlin.math.absoluteValue' call
189
- var tmp2_get_absoluteValue_wf3xdr = this.ke();
190
- tmp$ret$2 = abs(tmp2_get_absoluteValue_wf3xdr);
191
- tmp_0.tb(padStart(tmp$ret$2.toString(), 9, _Char___init__impl__6a9atx(48)));
183
+ var this_1 = this.mg();
184
+ var tmp$ret$2 = abs(this_1);
185
+ tmp_0.q4(padStart(tmp$ret$2.toString(), 9, _Char___init__impl__6a9atx(48)));
192
186
  }
193
- tmp0_apply.j5(_Char___init__impl__6a9atx(83));
187
+ this_0.r4(_Char___init__impl__6a9atx(83));
194
188
  }
195
- if (tmp0_apply.g7() === 1) {
196
- tmp0_apply.tb('0D');
189
+ if (this_0.a() === 1) {
190
+ this_0.q4('0D');
197
191
  }
198
- return tmp0_apply.toString();
192
+ return this_0.toString();
199
193
  };
200
194
  protoOf(DateTimePeriod).equals = function (other) {
201
195
  if (this === other)
202
196
  return true;
203
197
  if (!(other instanceof DateTimePeriod))
204
198
  return false;
205
- if (!(this.fe() === other.fe()))
199
+ if (!(this.hg() === other.hg()))
206
200
  return false;
207
- if (!(this.ge() === other.ge()))
201
+ if (!(this.ig() === other.ig()))
208
202
  return false;
209
- if (!this.le().equals(other.le()))
203
+ if (!this.ng().equals(other.ng()))
210
204
  return false;
211
205
  return true;
212
206
  };
213
207
  protoOf(DateTimePeriod).hashCode = function () {
214
- var result = this.fe();
215
- result = imul(31, result) + this.ge() | 0;
216
- result = imul(31, result) + this.le().hashCode() | 0;
208
+ var result = this.hg();
209
+ result = imul(31, result) + this.ig() | 0;
210
+ result = imul(31, result) + this.ng().hashCode() | 0;
217
211
  return result;
218
212
  };
219
213
  function totalMonths(years, months) {
220
214
  // Inline function 'kotlin.Long.times' call
221
- var totalMonths = toLong(years).m5(new Long(12, 0)).n5(toLong(months));
215
+ var totalMonths = toLong(years).o9(toLong(12)).m9(toLong(months));
222
216
  var tmp;
223
217
  // Inline function 'kotlin.ranges.contains' call
224
- var tmp1_contains = numberRangeToNumber(IntCompanionObject_getInstance().MIN_VALUE, IntCompanionObject_getInstance().MAX_VALUE);
225
- if (contains(isInterface(tmp1_contains, ClosedRange) ? tmp1_contains : THROW_CCE(), totalMonths)) {
226
- tmp = totalMonths.u();
218
+ var this_0 = numberRangeToNumber(IntCompanionObject_instance.MIN_VALUE, IntCompanionObject_instance.MAX_VALUE);
219
+ if (contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), totalMonths)) {
220
+ tmp = totalMonths.i8();
227
221
  } else {
228
222
  throw IllegalArgumentException_init_$Create$('The total number of months in ' + years + ' years and ' + months + ' months overflows an Int');
229
223
  }
230
224
  return tmp;
231
225
  }
232
- function DateTimeFormatException_init_$Init$(cause, $this) {
233
- IllegalArgumentException_init_$Init$(cause, $this);
226
+ function DateTimeFormatException_init_$Init$($this) {
227
+ IllegalArgumentException_init_$Init$($this);
234
228
  DateTimeFormatException.call($this);
235
229
  return $this;
236
230
  }
237
- function DateTimeFormatException_init_$Create$(cause) {
238
- var tmp = DateTimeFormatException_init_$Init$(cause, objectCreate(protoOf(DateTimeFormatException)));
231
+ function DateTimeFormatException_init_$Create$() {
232
+ var tmp = DateTimeFormatException_init_$Init$(objectCreate(protoOf(DateTimeFormatException)));
239
233
  captureStack(tmp, DateTimeFormatException_init_$Create$);
240
234
  return tmp;
241
235
  }
236
+ function DateTimeFormatException_init_$Init$_0(cause, $this) {
237
+ IllegalArgumentException_init_$Init$_0(cause, $this);
238
+ DateTimeFormatException.call($this);
239
+ return $this;
240
+ }
241
+ function DateTimeFormatException_init_$Create$_0(cause) {
242
+ var tmp = DateTimeFormatException_init_$Init$_0(cause, objectCreate(protoOf(DateTimeFormatException)));
243
+ captureStack(tmp, DateTimeFormatException_init_$Create$_0);
244
+ return tmp;
245
+ }
242
246
  function DateTimeFormatException() {
243
247
  captureStack(this, DateTimeFormatException);
244
248
  }
245
- function DateTimeArithmeticException_init_$Init$(cause, $this) {
246
- RuntimeException_init_$Init$(cause, $this);
249
+ function DateTimeArithmeticException_init_$Init$($this) {
250
+ RuntimeException_init_$Init$($this);
247
251
  DateTimeArithmeticException.call($this);
248
252
  return $this;
249
253
  }
250
- function DateTimeArithmeticException_init_$Create$(cause) {
251
- var tmp = DateTimeArithmeticException_init_$Init$(cause, objectCreate(protoOf(DateTimeArithmeticException)));
254
+ function DateTimeArithmeticException_init_$Create$() {
255
+ var tmp = DateTimeArithmeticException_init_$Init$(objectCreate(protoOf(DateTimeArithmeticException)));
252
256
  captureStack(tmp, DateTimeArithmeticException_init_$Create$);
253
257
  return tmp;
254
258
  }
259
+ function DateTimeArithmeticException_init_$Init$_0(cause, $this) {
260
+ RuntimeException_init_$Init$_0(cause, $this);
261
+ DateTimeArithmeticException.call($this);
262
+ return $this;
263
+ }
264
+ function DateTimeArithmeticException_init_$Create$_0(cause) {
265
+ var tmp = DateTimeArithmeticException_init_$Init$_0(cause, objectCreate(protoOf(DateTimeArithmeticException)));
266
+ captureStack(tmp, DateTimeArithmeticException_init_$Create$_0);
267
+ return tmp;
268
+ }
255
269
  function DateTimeArithmeticException() {
256
270
  captureStack(this, DateTimeArithmeticException);
257
271
  }
@@ -278,22 +292,22 @@
278
292
  }
279
293
  function Companion_1() {
280
294
  Companion_instance_1 = this;
281
- this.oe_1 = new LocalDate_0(LocalDate.MIN);
282
- this.pe_1 = new LocalDate_0(LocalDate.MAX);
295
+ this.qg_1 = new LocalDate_0(LocalDate.MIN);
296
+ this.rg_1 = new LocalDate_0(LocalDate.MAX);
283
297
  }
284
- protoOf(Companion_1).qe = function (isoString) {
298
+ protoOf(Companion_1).sg = function (isoString) {
285
299
  var tmp;
286
300
  try {
287
301
  // Inline function 'kotlin.let' call
288
- var tmp0_let = LocalDate.parse(isoString);
302
+ var this_0 = LocalDate.parse(isoString);
289
303
  // Inline function 'kotlin.contracts.contract' call
290
- tmp = new LocalDate_0(tmp0_let);
304
+ tmp = new LocalDate_0(this_0);
291
305
  } catch ($p) {
292
306
  var tmp_0;
293
307
  if ($p instanceof Error) {
294
308
  var e = $p;
295
309
  if (isJodaDateTimeParseException(e))
296
- throw DateTimeFormatException_init_$Create$(e);
310
+ throw DateTimeFormatException_init_$Create$_0(e);
297
311
  throw e;
298
312
  } else {
299
313
  throw $p;
@@ -309,7 +323,7 @@
309
323
  }
310
324
  function LocalDate_0(value) {
311
325
  Companion_getInstance_1();
312
- this.re_1 = value;
326
+ this.tg_1 = value;
313
327
  }
314
328
  protoOf(LocalDate_0).equals = function (other) {
315
329
  var tmp;
@@ -318,7 +332,7 @@
318
332
  } else {
319
333
  var tmp_0;
320
334
  if (other instanceof LocalDate_0) {
321
- tmp_0 = equals(this.re_1, other.re_1);
335
+ tmp_0 = equals(this.tg_1, other.tg_1);
322
336
  } else {
323
337
  tmp_0 = false;
324
338
  }
@@ -327,16 +341,16 @@
327
341
  return tmp;
328
342
  };
329
343
  protoOf(LocalDate_0).hashCode = function () {
330
- return numberToInt(this.re_1.hashCode());
344
+ return numberToInt(this.tg_1.hashCode());
331
345
  };
332
346
  protoOf(LocalDate_0).toString = function () {
333
- return this.re_1.toString();
347
+ return this.tg_1.toString();
334
348
  };
335
- protoOf(LocalDate_0).se = function (other) {
336
- return numberToInt(this.re_1.compareTo(other.re_1));
349
+ protoOf(LocalDate_0).ug = function (other) {
350
+ return numberToInt(this.tg_1.compareTo(other.tg_1));
337
351
  };
338
- protoOf(LocalDate_0).k6 = function (other) {
339
- return this.se(other instanceof LocalDate_0 ? other : THROW_CCE());
352
+ protoOf(LocalDate_0).d = function (other) {
353
+ return this.ug(other instanceof LocalDate_0 ? other : THROW_CCE());
340
354
  };
341
355
  function plus(_this__u8e3s4, period) {
342
356
  var tmp;
@@ -347,21 +361,21 @@
347
361
  // Inline function 'kotlinx.datetime.plus.<anonymous>' call
348
362
  // Inline function 'kotlin.run' call
349
363
  // Inline function 'kotlin.run' call
350
- var tmp0_run = _this__u8e3s4.re_1;
351
364
  // Inline function 'kotlin.contracts.contract' call
352
365
  // Inline function 'kotlinx.datetime.plus.<anonymous>.<anonymous>' call
353
- var tmp1_run = !(period.de_1 === 0) ? tmp0_run.plusMonths(period.de_1) : tmp0_run;
366
+ var $this$run = _this__u8e3s4.tg_1;
354
367
  // Inline function 'kotlin.contracts.contract' call
355
368
  // Inline function 'kotlinx.datetime.plus.<anonymous>.<anonymous>' call
356
- var tmp0_let = !(period.ee_1 === 0) ? tmp1_run.plusDays(period.ee_1) : tmp1_run;
369
+ var $this$run_0 = !(period.fg_1 === 0) ? $this$run.plusMonths(period.fg_1) : $this$run;
370
+ var this_0 = !(period.gg_1 === 0) ? $this$run_0.plusDays(period.gg_1) : $this$run_0;
357
371
  // Inline function 'kotlin.contracts.contract' call
358
- tmp = new LocalDate_0(tmp0_let);
372
+ tmp = new LocalDate_0(this_0);
359
373
  } catch ($p) {
360
374
  var tmp_0;
361
375
  if ($p instanceof Error) {
362
376
  var e = $p;
363
377
  if (isJodaDateTimeException(e) ? true : isJodaArithmeticException(e))
364
- throw DateTimeArithmeticException_init_$Create$(e);
378
+ throw DateTimeArithmeticException_init_$Create$_0(e);
365
379
  throw e;
366
380
  } else {
367
381
  throw $p;
@@ -370,18 +384,18 @@
370
384
  return tmp;
371
385
  }
372
386
  function daysUntil(_this__u8e3s4, other) {
373
- return numberToInt(_this__u8e3s4.re_1.until(other.re_1, ChronoUnit.DAYS));
387
+ return numberToInt(_this__u8e3s4.tg_1.until(other.tg_1, ChronoUnit.DAYS));
374
388
  }
375
389
  function monthsUntil(_this__u8e3s4, other) {
376
- return numberToInt(_this__u8e3s4.re_1.until(other.re_1, ChronoUnit.MONTHS));
390
+ return numberToInt(_this__u8e3s4.tg_1.until(other.tg_1, ChronoUnit.MONTHS));
377
391
  }
378
392
  function yearsUntil(_this__u8e3s4, other) {
379
- return numberToInt(_this__u8e3s4.re_1.until(other.re_1, ChronoUnit.YEARS));
393
+ return numberToInt(_this__u8e3s4.tg_1.until(other.tg_1, ChronoUnit.YEARS));
380
394
  }
381
395
  function Companion_2() {
382
396
  Companion_instance_2 = this;
383
- this.te_1 = new LocalDateTime_0(LocalDateTime.MIN);
384
- this.ue_1 = new LocalDateTime_0(LocalDateTime.MAX);
397
+ this.vg_1 = new LocalDateTime_0(LocalDateTime.MIN);
398
+ this.wg_1 = new LocalDateTime_0(LocalDateTime.MAX);
385
399
  }
386
400
  var Companion_instance_2;
387
401
  function Companion_getInstance_2() {
@@ -391,10 +405,10 @@
391
405
  }
392
406
  function LocalDateTime_0(value) {
393
407
  Companion_getInstance_2();
394
- this.ve_1 = value;
408
+ this.xg_1 = value;
395
409
  }
396
- protoOf(LocalDateTime_0).we = function () {
397
- return new LocalDate_0(this.ve_1.toLocalDate());
410
+ protoOf(LocalDateTime_0).yg = function () {
411
+ return new LocalDate_0(this.xg_1.toLocalDate());
398
412
  };
399
413
  protoOf(LocalDateTime_0).equals = function (other) {
400
414
  var tmp;
@@ -403,7 +417,7 @@
403
417
  } else {
404
418
  var tmp_0;
405
419
  if (other instanceof LocalDateTime_0) {
406
- tmp_0 = equals(this.ve_1, other.ve_1);
420
+ tmp_0 = equals(this.xg_1, other.xg_1);
407
421
  } else {
408
422
  tmp_0 = false;
409
423
  }
@@ -412,30 +426,30 @@
412
426
  return tmp;
413
427
  };
414
428
  protoOf(LocalDateTime_0).hashCode = function () {
415
- return numberToInt(this.ve_1.hashCode());
429
+ return numberToInt(this.xg_1.hashCode());
416
430
  };
417
431
  protoOf(LocalDateTime_0).toString = function () {
418
- return this.ve_1.toString();
432
+ return this.xg_1.toString();
419
433
  };
420
- protoOf(LocalDateTime_0).xe = function (other) {
421
- return numberToInt(this.ve_1.compareTo(other.ve_1));
434
+ protoOf(LocalDateTime_0).zg = function (other) {
435
+ return numberToInt(this.xg_1.compareTo(other.xg_1));
422
436
  };
423
- protoOf(LocalDateTime_0).k6 = function (other) {
424
- return this.xe(other instanceof LocalDateTime_0 ? other : THROW_CCE());
437
+ protoOf(LocalDateTime_0).d = function (other) {
438
+ return this.zg(other instanceof LocalDateTime_0 ? other : THROW_CCE());
425
439
  };
426
440
  function toLocalDateTime(_this__u8e3s4, timeZone) {
427
441
  var tmp;
428
442
  try {
429
443
  // Inline function 'kotlin.let' call
430
- var tmp0_let = LocalDateTime.ofInstant(_this__u8e3s4.ye_1, timeZone.ze_1);
444
+ var this_0 = LocalDateTime.ofInstant(_this__u8e3s4.ah_1, timeZone.bh_1);
431
445
  // Inline function 'kotlin.contracts.contract' call
432
- tmp = new LocalDateTime_0(tmp0_let);
446
+ tmp = new LocalDateTime_0(this_0);
433
447
  } catch ($p) {
434
448
  var tmp_0;
435
449
  if ($p instanceof Error) {
436
450
  var e = $p;
437
451
  if (isJodaDateTimeException(e))
438
- throw DateTimeArithmeticException_init_$Create$(e);
452
+ throw DateTimeArithmeticException_init_$Create$_0(e);
439
453
  throw e;
440
454
  } else {
441
455
  throw $p;
@@ -459,9 +473,9 @@
459
473
  }
460
474
  function Companion_3() {
461
475
  Companion_instance_3 = this;
462
- this.af_1 = asTimeZone(new UtcOffset(ZoneOffset.UTC));
476
+ this.ch_1 = asTimeZone(new UtcOffset(ZoneOffset.UTC));
463
477
  }
464
- protoOf(Companion_3).bf = function () {
478
+ protoOf(Companion_3).dh = function () {
465
479
  return ofZone(this, ZoneId.systemDefault());
466
480
  };
467
481
  var Companion_instance_3;
@@ -472,7 +486,7 @@
472
486
  }
473
487
  function TimeZone(zoneId) {
474
488
  Companion_getInstance_3();
475
- this.ze_1 = zoneId;
489
+ this.bh_1 = zoneId;
476
490
  }
477
491
  protoOf(TimeZone).equals = function (other) {
478
492
  var tmp;
@@ -481,7 +495,7 @@
481
495
  } else {
482
496
  var tmp_0;
483
497
  if (other instanceof TimeZone) {
484
- tmp_0 = equals(this.ze_1, other.ze_1);
498
+ tmp_0 = equals(this.bh_1, other.bh_1);
485
499
  } else {
486
500
  tmp_0 = false;
487
501
  }
@@ -490,35 +504,31 @@
490
504
  return tmp;
491
505
  };
492
506
  protoOf(TimeZone).hashCode = function () {
493
- return numberToInt(this.ze_1.hashCode());
507
+ return numberToInt(this.bh_1.hashCode());
494
508
  };
495
509
  protoOf(TimeZone).toString = function () {
496
- return this.ze_1.toString();
510
+ return this.bh_1.toString();
497
511
  };
498
512
  function FixedOffsetTimeZone_init_$Init$(offset, $this) {
499
- FixedOffsetTimeZone.call($this, offset, offset.cf_1);
513
+ FixedOffsetTimeZone.call($this, offset, offset.eh_1);
500
514
  return $this;
501
515
  }
502
516
  function FixedOffsetTimeZone_init_$Create$(offset) {
503
517
  return FixedOffsetTimeZone_init_$Init$(offset, objectCreate(protoOf(FixedOffsetTimeZone)));
504
518
  }
505
519
  function Companion_4() {
506
- Companion_instance_4 = this;
507
520
  }
508
521
  var Companion_instance_4;
509
522
  function Companion_getInstance_4() {
510
- if (Companion_instance_4 == null)
511
- new Companion_4();
512
523
  return Companion_instance_4;
513
524
  }
514
525
  function FixedOffsetTimeZone(offset, zoneId) {
515
- Companion_getInstance_4();
516
526
  TimeZone.call(this, zoneId);
517
- this.ef_1 = offset;
527
+ this.gh_1 = offset;
518
528
  }
519
529
  function Companion_5() {
520
530
  Companion_instance_5 = this;
521
- this.ff_1 = new UtcOffset(ZoneOffset.UTC);
531
+ this.hh_1 = new UtcOffset(ZoneOffset.UTC);
522
532
  }
523
533
  var Companion_instance_5;
524
534
  function Companion_getInstance_5() {
@@ -528,25 +538,28 @@
528
538
  }
529
539
  function UtcOffset(zoneOffset) {
530
540
  Companion_getInstance_5();
531
- this.cf_1 = zoneOffset;
541
+ this.eh_1 = zoneOffset;
532
542
  }
533
543
  protoOf(UtcOffset).hashCode = function () {
534
- return numberToInt(this.cf_1.hashCode());
544
+ return numberToInt(this.eh_1.hashCode());
535
545
  };
536
546
  protoOf(UtcOffset).equals = function (other) {
537
547
  var tmp;
538
548
  if (other instanceof UtcOffset) {
539
- tmp = equals(this.cf_1, other.cf_1);
549
+ tmp = equals(this.eh_1, other.eh_1);
540
550
  } else {
541
551
  tmp = false;
542
552
  }
543
553
  return tmp;
544
554
  };
545
555
  protoOf(UtcOffset).toString = function () {
546
- return this.cf_1.toString();
556
+ return this.eh_1.toString();
547
557
  };
548
558
  //region block: init
559
+ Companion_instance = new Companion();
560
+ Companion_instance_0 = new Companion_0();
549
561
  NANOS_PER_ONE = 1000000000;
562
+ Companion_instance_4 = new Companion_4();
550
563
  //endregion
551
564
  //region block: exports
552
565
  _.$_$ = _.$_$ || {};
@@ -562,6 +575,6 @@
562
575
  _.$_$.j = yearsUntil;
563
576
  //endregion
564
577
  return _;
565
- }(module.exports, require('@js-joda/core'), require('./kotlin-kotlin-stdlib-js-ir.js')));
578
+ }(module.exports, require('@js-joda/core'), require('./kotlin-kotlin-stdlib.js')));
566
579
 
567
580
  //# sourceMappingURL=Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map