igniteui-webcomponents-excel 4.3.1 → 4.3.3-beta.0

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.
@@ -72324,7 +72324,13 @@ let CellShiftOperation = /*@__PURE__*/ (() => {
72324
72324
  c._bc(a)._setFormatting1(c._cellFormatInternal, j);
72325
72325
  }
72326
72326
  else {
72327
- c._bc(a)._ar(j);
72327
+ let k = this.h._cb(a).b;
72328
+ if (k != null) {
72329
+ c._bc(a)._setFormatting1(k, j);
72330
+ }
72331
+ else {
72332
+ c._bc(a)._ar(j);
72333
+ }
72328
72334
  }
72329
72335
  return;
72330
72336
  }
@@ -72333,16 +72339,16 @@ let CellShiftOperation = /*@__PURE__*/ (() => {
72333
72339
  }
72334
72340
  }
72335
72341
  else if (f != null) {
72336
- let k = i != null ? i.d._bu() : g;
72337
- let l;
72342
+ let l = i != null ? i.d._bu() : g;
72338
72343
  let m;
72339
- if (((() => { let n = f.tryGetValue(a, m); m = n.p1; return n.ret; })())) {
72340
- l = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, m.c, m.d, k);
72344
+ let n;
72345
+ if (((() => { let o = f.tryGetValue(a, n); n = o.p1; return o.ret; })())) {
72346
+ m = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, n.c, n.d, l);
72341
72347
  }
72342
72348
  else {
72343
- l = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, null, false, k);
72349
+ m = Tuple.b(Base.$, Boolean_$type, IWorksheetCellFormat_$type, null, false, l);
72344
72350
  }
72345
- f.item(a, l);
72351
+ f.item(a, m);
72346
72352
  }
72347
72353
  else {
72348
72354
  return;
@@ -90595,7 +90601,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
90595
90601
  let b = a != null ? a._p : null;
90596
90602
  for (let c of fromEnum(this.worksheet._ff)) {
90597
90603
  if (c.b._ca(b) == false) {
90598
- for (let d of fromEnum(this._ch(c.q, c.r, true))) {
90604
+ for (let d of fromEnum(this._ch(c.r, c.s, true))) {
90599
90605
  this._bc(d.r);
90600
90606
  }
90601
90607
  }
@@ -90765,7 +90771,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
90765
90771
  if (a != null && a._t == false && this != WorksheetRow._bm) {
90766
90772
  for (let b of fromEnum(a._ff)) {
90767
90773
  if (b.b._cd == false) {
90768
- for (let c = b.q; c <= b.r; c++) {
90774
+ for (let c = b.r; c <= b.s; c++) {
90769
90775
  this._bc(c);
90770
90776
  }
90771
90777
  }
@@ -90888,7 +90894,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
90888
90894
  if ((z.b.formatOptions & y) == 0) {
90889
90895
  continue;
90890
90896
  }
90891
- for (let aa = z.q; aa <= z.r; aa++) {
90897
+ for (let aa = z.r; aa <= z.s; aa++) {
90892
90898
  this._bc(aa);
90893
90899
  }
90894
90900
  }
@@ -91757,48 +91763,52 @@ let WorksheetRow = /*@__PURE__*/ (() => {
91757
91763
  p = this._a8(h.value);
91758
91764
  }
91759
91765
  for (let q = a; q <= b; q++) {
91760
- let r = this._bc(q);
91761
- r._ar(i);
91766
+ let r = j != null || d != null;
91767
+ let s = this._bc(q, r);
91768
+ if (s == null) {
91769
+ continue;
91770
+ }
91771
+ s._ar(i);
91762
91772
  if (j != null) {
91763
- r._setFormatting1(j, i);
91773
+ s._setFormatting1(j, i);
91764
91774
  if (nullableNotEquals(h, null)) {
91765
- r._a3(r.formatOptions & ~8, true, -97);
91775
+ s._a3(s.formatOptions & ~8, true, -97);
91766
91776
  if (p != null) {
91767
91777
  if (WorkbookColorInfo.l_op_Inequality(p.topBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.topBorderColorInfo, j.topBorderColorInfo) && p.topBorderStyle == j.topBorderStyle) {
91768
- r._bi(p.topBorderColorInfo, true, -97);
91769
- r._bj(p.topBorderStyle, true, -97);
91778
+ s._bi(p.topBorderColorInfo, true, -97);
91779
+ s._bj(p.topBorderStyle, true, -97);
91770
91780
  }
91771
91781
  if (WorkbookColorInfo.l_op_Inequality(p.bottomBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.bottomBorderColorInfo, j.bottomBorderColorInfo) && p.bottomBorderStyle == j.bottomBorderStyle) {
91772
- r._av(p.bottomBorderColorInfo, true, -97);
91773
- r._aw(p.bottomBorderStyle, true, -97);
91782
+ s._av(p.bottomBorderColorInfo, true, -97);
91783
+ s._aw(p.bottomBorderStyle, true, -97);
91774
91784
  }
91775
91785
  if (!c) {
91776
91786
  if (WorkbookColorInfo.l_op_Inequality(p.leftBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.leftBorderColorInfo, j.leftBorderColorInfo) && p.leftBorderStyle == j.leftBorderStyle) {
91777
- r._a9(p.leftBorderColorInfo, true, -97);
91778
- r._ba(p.leftBorderStyle, true, -97);
91787
+ s._a9(p.leftBorderColorInfo, true, -97);
91788
+ s._ba(p.leftBorderStyle, true, -97);
91779
91789
  }
91780
91790
  if (WorkbookColorInfo.l_op_Inequality(p.rightBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(p.rightBorderColorInfo, j.rightBorderColorInfo) && p.rightBorderStyle == j.rightBorderStyle) {
91781
- r._bd(p.rightBorderColorInfo, true, -97);
91782
- r._be(p.rightBorderStyle, true, -97);
91791
+ s._bd(p.rightBorderColorInfo, true, -97);
91792
+ s._be(p.rightBorderStyle, true, -97);
91783
91793
  }
91784
91794
  }
91785
91795
  }
91786
91796
  }
91787
91797
  }
91788
91798
  else if (d != null) {
91789
- let s = d._bc(q);
91790
- r.setFormatting(s);
91799
+ let t = d._bc(q);
91800
+ s.setFormatting(t);
91791
91801
  if (l != null) {
91792
- r._a3(r.formatOptions & ~8, true, -97);
91793
- let t = l._a8(q);
91794
- if (t != null) {
91795
- if (WorkbookColorInfo.l_op_Inequality(t.leftBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(t.leftBorderColorInfo, s.leftBorderColorInfo) && t.leftBorderStyle == s.leftBorderStyle) {
91796
- r._a9(t.leftBorderColorInfo, true, -97);
91797
- r._ba(t.leftBorderStyle, true, -97);
91802
+ s._a3(s.formatOptions & ~8, true, -97);
91803
+ let u = l._a8(q);
91804
+ if (u != null) {
91805
+ if (WorkbookColorInfo.l_op_Inequality(u.leftBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(u.leftBorderColorInfo, t.leftBorderColorInfo) && u.leftBorderStyle == t.leftBorderStyle) {
91806
+ s._a9(u.leftBorderColorInfo, true, -97);
91807
+ s._ba(u.leftBorderStyle, true, -97);
91798
91808
  }
91799
- if (WorkbookColorInfo.l_op_Inequality(t.rightBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(t.rightBorderColorInfo, s.rightBorderColorInfo) && t.rightBorderStyle == s.rightBorderStyle) {
91800
- r._bd(t.rightBorderColorInfo, true, -97);
91801
- r._be(t.rightBorderStyle, true, -97);
91809
+ if (WorkbookColorInfo.l_op_Inequality(u.rightBorderColorInfo, null) && WorkbookColorInfo.l_op_Equality(u.rightBorderColorInfo, t.rightBorderColorInfo) && u.rightBorderStyle == t.rightBorderStyle) {
91810
+ s._bd(u.rightBorderColorInfo, true, -97);
91811
+ s._be(u.rightBorderStyle, true, -97);
91802
91812
  }
91803
91813
  }
91804
91814
  }
@@ -91999,37 +92009,40 @@ let WorksheetRow = /*@__PURE__*/ (() => {
91999
92009
  /**
92000
92010
  * @hidden
92001
92011
  */
92002
- _bc(a) {
92003
- let b = this._aj(a);
92004
- return this._bb(b, a);
92012
+ _bc(a, b = true) {
92013
+ let c = this._aj(a);
92014
+ return this._bb(c, a, b);
92005
92015
  }
92006
92016
  /**
92007
92017
  * @hidden
92008
92018
  */
92009
- _bb(a, b) {
92010
- let c = b % 32;
92011
- let d = a[c];
92012
- let e;
92013
- if (d == null) {
92014
- let f = this.worksheet.workbook;
92015
- let g = f == null ? null : f._ca;
92016
- if (g == null) {
92017
- d = new WorksheetCellFormatData(null, 0);
92019
+ _bb(a, b, c = true) {
92020
+ let d = b % 32;
92021
+ let e = a[d];
92022
+ let f;
92023
+ if (e == null) {
92024
+ if (!c) {
92025
+ return null;
92026
+ }
92027
+ let g = this.worksheet.workbook;
92028
+ let h = g == null ? null : g._ca;
92029
+ if (h == null) {
92030
+ e = new WorksheetCellFormatData(null, 0);
92018
92031
  }
92019
92032
  else {
92020
- d = f._ca._p._bu();
92033
+ e = g._ca._p._bu();
92021
92034
  }
92022
- this._dk(b, d);
92023
- e = new WorksheetCellOwnedFormatProxy(d, g, this, b, a);
92024
- a[c] = e._bt;
92035
+ this._dk(b, e);
92036
+ f = new WorksheetCellOwnedFormatProxy(e, h, this, b, a);
92037
+ a[d] = f._bt;
92025
92038
  if (this._a3 != null) {
92026
92039
  this._a3._aj();
92027
92040
  }
92028
92041
  }
92029
92042
  else {
92030
- e = this._be(b, d, a, false);
92043
+ f = this._be(b, e, a, false);
92031
92044
  }
92032
- return e;
92045
+ return f;
92033
92046
  }
92034
92047
  /**
92035
92048
  * @hidden
@@ -92125,72 +92138,85 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92125
92138
  }
92126
92139
  g = h._ca._p;
92127
92140
  }
92128
- let i = g;
92141
+ let i = null;
92142
+ let j = g;
92129
92143
  if (this._hasCellFormat) {
92130
- i = this._cellFormatInternal.d;
92144
+ j = this._cellFormatInternal.d;
92131
92145
  }
92132
- let j = null;
92133
- let k = -1;
92134
- let l = toNullable(WorksheetCellFormatBlock.$, null);
92146
+ else {
92147
+ i = this.worksheet._cb(a);
92148
+ }
92149
+ let k = null;
92150
+ let l = -1;
92151
+ let m = toNullable(WorksheetCellFormatBlock.$, null);
92135
92152
  while (d != null || f != null) {
92136
- if (j == null && d != null) {
92153
+ if (k == null && d != null) {
92137
92154
  if (++e < this._af.length) {
92138
- j = this._af[e];
92155
+ k = this._af[e];
92139
92156
  }
92140
- if (j == null) {
92157
+ if (k == null) {
92141
92158
  d = null;
92142
92159
  }
92143
92160
  }
92144
- if (nullableEquals(l, null) && f != null) {
92161
+ if (nullableEquals(m, null) && f != null) {
92145
92162
  if (f.moveNext() && f.current.a != null) {
92146
- l = toNullable(WorksheetCellFormatBlock.$, f.current);
92163
+ m = toNullable(WorksheetCellFormatBlock.$, f.current);
92147
92164
  }
92148
92165
  else {
92149
92166
  f.dispose();
92150
92167
  f = null;
92151
92168
  }
92152
92169
  }
92153
- let m = 32767;
92154
- if (j != null) {
92155
- m = Math.min(m, j.w);
92156
- }
92157
- if (l.hasValue) {
92158
- m = Math.min(m, l.value.b);
92170
+ let n = 32767;
92171
+ if (k != null) {
92172
+ n = Math.min(n, k.w);
92159
92173
  }
92160
- let n = null;
92161
- if (j != null && j.w == m) {
92162
- n = j;
92163
- j = null;
92174
+ if (m.hasValue) {
92175
+ n = Math.min(n, m.value.b);
92164
92176
  }
92165
92177
  let o = null;
92166
- if (l.hasValue && l.value.b == m) {
92167
- o = l.value.a;
92168
- l = toNullable(WorksheetCellFormatBlock.$, null);
92178
+ if (k != null && k.w == n) {
92179
+ o = k;
92180
+ k = null;
92169
92181
  }
92170
- let p = m * 32;
92171
- if (b < p) {
92182
+ let p = null;
92183
+ if (m.hasValue && m.value.b == n) {
92184
+ p = m.value.a;
92185
+ m = toNullable(WorksheetCellFormatBlock.$, null);
92186
+ }
92187
+ let q = n * 32;
92188
+ if (b < q) {
92172
92189
  return undefined;
92173
92190
  }
92174
- for (let q = Math.max(0, a - p); q < 32; q++) {
92175
- let r = (p + q);
92176
- if (b < r) {
92191
+ for (let r = Math.max(0, a - q); r < 32; r++) {
92192
+ let s = (q + r);
92193
+ if (b < s) {
92177
92194
  return undefined;
92178
92195
  }
92179
- if (r < k) {
92196
+ if (s < l) {
92180
92197
  continue;
92181
92198
  }
92182
- k = r;
92183
- let s = this._al(n, o == null ? null : o[q], i, g, r);
92184
- if (s == null) {
92199
+ l = s;
92200
+ let t = j;
92201
+ if (i != null) {
92202
+ if (!i.g(s)) {
92203
+ i = this.worksheet._cb(s);
92204
+ }
92205
+ if (i.b != null) {
92206
+ t = i.b;
92207
+ }
92208
+ }
92209
+ let u = this._al(o, p == null ? null : p[r], t, g, s);
92210
+ if (u == null) {
92185
92211
  continue;
92186
92212
  }
92187
- yield s;
92188
- n = s.d;
92189
- if (s.l && o != null) {
92190
- o[q] = null;
92213
+ yield u;
92214
+ o = u.d;
92215
+ if (u.l && p != null) {
92216
+ p[r] = null;
92191
92217
  }
92192
92218
  if (c) {
92193
- s.u();
92219
+ u.u();
92194
92220
  }
92195
92221
  }
92196
92222
  }
@@ -92341,6 +92367,9 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92341
92367
  let d = this._ah;
92342
92368
  let e = this._cp(c);
92343
92369
  let f = this.worksheet != null ? this.worksheet._b3 : null;
92370
+ if (this._hasCellFormat) {
92371
+ f = this._cellFormatInternal.d;
92372
+ }
92344
92373
  if (e >= 0) {
92345
92374
  let g = d[e];
92346
92375
  let h = b % 32;
@@ -92363,7 +92392,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92363
92392
  for (let n = 32 - 1; n >= 0; n--) {
92364
92393
  if (m.a[n] != null && !Base.equalsStatic(f, m.a[n])) {
92365
92394
  let o = m.b * 32 + n;
92366
- if (o > a) {
92395
+ if (o >= a) {
92367
92396
  return toNullable(Number_$type, o);
92368
92397
  }
92369
92398
  return toNullable(Number_$type, null);
@@ -92383,7 +92412,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92383
92412
  if (nullableEquals(d, null) || nullableGreaterThan(d, b)) {
92384
92413
  break;
92385
92414
  }
92386
- } while (this.worksheet._cb(d.value).i);
92415
+ } while (this.worksheet._cb(d.value).j);
92387
92416
  let e;
92388
92417
  if (nullableNotEquals(d, null)) {
92389
92418
  e = Math.min(b, d.value - 1);
@@ -92397,8 +92426,8 @@ let WorksheetRow = /*@__PURE__*/ (() => {
92397
92426
  break;
92398
92427
  }
92399
92428
  let h = this.worksheet._cb(f);
92400
- if (h.i) {
92401
- f = h.r;
92429
+ if (h.j) {
92430
+ f = h.s;
92402
92431
  }
92403
92432
  else if (nullableNotEquals(c, null)) {
92404
92433
  let i = this._a7(f);
@@ -93132,6 +93161,9 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93132
93161
  else if (this._bz) {
93133
93162
  d = true;
93134
93163
  }
93164
+ else if (this._b1 || this.hidden != this.worksheet._dv) {
93165
+ d = true;
93166
+ }
93135
93167
  if (this._af != null) {
93136
93168
  let e = false;
93137
93169
  for (let f = 0; f < this._af.length; f++) {
@@ -93596,15 +93628,15 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93596
93628
  }
93597
93629
  let k = h.b * 32;
93598
93630
  if (k != e) {
93599
- if (g && (f == null || f.r < e)) {
93631
+ if (g && (f == null || f.s < e)) {
93600
93632
  while (e < c) {
93601
93633
  f = this.worksheet._cb(e);
93602
93634
  a = ExcelUtils.h(a, ExcelUtils.g(f.b._ap));
93603
93635
  b = ExcelUtils.h(b, ExcelUtils.g(f.b._al));
93604
- if (f.r >= k) {
93636
+ if (f.s >= k) {
93605
93637
  break;
93606
93638
  }
93607
- e = f.r + 1;
93639
+ e = f.s + 1;
93608
93640
  }
93609
93641
  }
93610
93642
  else {
@@ -93614,7 +93646,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93614
93646
  let l = h.a;
93615
93647
  for (let m = 0; m < 32; m++) {
93616
93648
  if (l[m] == null) {
93617
- if (g && (f == null || f.r < m + k)) {
93649
+ if (g && (f == null || f.s < m + k)) {
93618
93650
  f = this.worksheet._cb((m + k));
93619
93651
  a = ExcelUtils.h(a, ExcelUtils.g(f.b._ap));
93620
93652
  b = ExcelUtils.h(b, ExcelUtils.g(f.b._al));
@@ -93657,7 +93689,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93657
93689
  f = this.worksheet._cb(e);
93658
93690
  a = ExcelUtils.h(a, ExcelUtils.g(f.b._ap));
93659
93691
  b = ExcelUtils.h(b, ExcelUtils.g(f.b._al));
93660
- e = f.r + 1;
93692
+ e = f.s + 1;
93661
93693
  } while (e < c);
93662
93694
  }
93663
93695
  }
@@ -93683,14 +93715,14 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93683
93715
  }
93684
93716
  let l = i.b * 32;
93685
93717
  if (l != f) {
93686
- if (h && (g == null || g.r < f)) {
93718
+ if (h && (g == null || g.s < f)) {
93687
93719
  while (f < c) {
93688
93720
  g = this.worksheet._cb(f);
93689
93721
  b = ExcelUtils.h(b, ExcelUtils.g(d(g.b)));
93690
- if (g.r >= l) {
93722
+ if (g.s >= l) {
93691
93723
  break;
93692
93724
  }
93693
- f = g.r + 1;
93725
+ f = g.s + 1;
93694
93726
  }
93695
93727
  }
93696
93728
  else {
@@ -93700,7 +93732,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93700
93732
  let m = i.a;
93701
93733
  for (let n = 0; n < 32 && b != 2; n++) {
93702
93734
  if (m[n] == null) {
93703
- if (h && (g == null || g.r < n + l)) {
93735
+ if (h && (g == null || g.s < n + l)) {
93704
93736
  g = this.worksheet._cb((n + l));
93705
93737
  b = ExcelUtils.h(b, ExcelUtils.g(d(g.b)));
93706
93738
  }
@@ -93728,7 +93760,7 @@ let WorksheetRow = /*@__PURE__*/ (() => {
93728
93760
  do {
93729
93761
  g = this.worksheet._cb(f);
93730
93762
  b = ExcelUtils.h(b, ExcelUtils.g(d(g.b)));
93731
- f = g.r + 1;
93763
+ f = g.s + 1;
93732
93764
  } while (f < c);
93733
93765
  }
93734
93766
  }
@@ -94823,7 +94855,10 @@ let ConditionBase = /*@__PURE__*/ (() => {
94823
94855
  for (let k = 0; k < b._t.count; k++) {
94824
94856
  j._remove2(b._t._inner[k]);
94825
94857
  }
94826
- c.o(j);
94858
+ let l = j.worksheet;
94859
+ for (let m of fromEnum(j._t)) {
94860
+ c.add(new WorksheetRegion(l, m._ac, m._w, m._ae, m._x, false));
94861
+ }
94827
94862
  }
94828
94863
  else {
94829
94864
  if (c != null) {
@@ -95501,13 +95536,13 @@ let Worksheet_HideUnhideChangeContext = /*@__PURE__*/ (() => {
95501
95536
  for (let h of fromEnum(this.a._ff)) {
95502
95537
  let i = false;
95503
95538
  for (let j of fromEnum(this.f)) {
95504
- if (j.a <= h.r && h.q <= j.b) {
95539
+ if (j.a <= h.s && h.r <= j.b) {
95505
95540
  i = true;
95506
95541
  break;
95507
95542
  }
95508
95543
  }
95509
95544
  if (i) {
95510
- h.i = (h.i == false);
95545
+ h.j = (h.j == false);
95511
95546
  }
95512
95547
  }
95513
95548
  }
@@ -96832,23 +96867,23 @@ let Worksheet = /*@__PURE__*/ (() => {
96832
96867
  let e = a;
96833
96868
  let f = (a + b - 1);
96834
96869
  let g;
96835
- if (c.r >= f) {
96870
+ if (c.s >= f) {
96836
96871
  g = new Array(1);
96837
96872
  g[0] = c.d(this.workbook, e, f);
96838
96873
  }
96839
96874
  else {
96840
96875
  let h = new List$1(WorksheetColumnBlock.$, 0);
96841
- let i = c.d(this.workbook, e, c.r);
96876
+ let i = c.d(this.workbook, e, c.s);
96842
96877
  h.add(i);
96843
- let j = b - i.t;
96844
- e = (e + i.t);
96878
+ let j = b - i.u;
96879
+ e = (e + i.u);
96845
96880
  while (j > 0) {
96846
96881
  d++;
96847
96882
  c = this._fe._inner[d];
96848
- i = c.d(this.workbook, e, Math.min(c.r, f));
96883
+ i = c.d(this.workbook, e, Math.min(c.s, f));
96849
96884
  h.add(i);
96850
- j -= i.t;
96851
- e += i.t;
96885
+ j -= i.u;
96886
+ e += i.u;
96852
96887
  }
96853
96888
  g = h.toArray();
96854
96889
  }
@@ -97154,7 +97189,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97154
97189
  b = d.p3;
97155
97190
  }
97156
97191
  let e = this._cb(a);
97157
- let f = truncate(MathUtilities.f(e.n(this, 1)));
97192
+ let f = truncate(MathUtilities.f(e.o(this, 1)));
97158
97193
  return new WorksheetItemPosition(1, a, b, f);
97159
97194
  }
97160
97195
  /**
@@ -97171,7 +97206,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97171
97206
  d = f.p2;
97172
97207
  e = f.p3;
97173
97208
  let g = this._cb(e);
97174
- let h = truncate(MathUtilities.f(g.n(this, 1)));
97209
+ let h = truncate(MathUtilities.f(g.o(this, 1)));
97175
97210
  return new WorksheetItemPosition(1, e, a - c, h);
97176
97211
  }
97177
97212
  /**
@@ -97192,7 +97227,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97192
97227
  let k = Math.min(h, c);
97193
97228
  for (let l = g; l <= k; l++) {
97194
97229
  let m = this._cb(l);
97195
- let n = truncate(MathUtilities.f(m.n(this, 1)));
97230
+ let n = truncate(MathUtilities.f(m.o(this, 1)));
97196
97231
  if (n != 0) {
97197
97232
  d.add(new WorksheetItemPosition(1, l, j, n));
97198
97233
  }
@@ -97216,10 +97251,10 @@ let Worksheet = /*@__PURE__*/ (() => {
97216
97251
  let g = this._columns$i;
97217
97252
  for (let h = e; c ? h <= f : h >= f; h += d) {
97218
97253
  let i = this._cb(h);
97219
- if (i.k) {
97254
+ if (i.l) {
97220
97255
  continue;
97221
97256
  }
97222
- let j = c ? i.r : i.q;
97257
+ let j = c ? i.s : i.r;
97223
97258
  while (true) {
97224
97259
  yield g.item(h);
97225
97260
  if (h == j) {
@@ -97244,11 +97279,11 @@ let Worksheet = /*@__PURE__*/ (() => {
97244
97279
  */
97245
97280
  _ga(a, b = false) {
97246
97281
  if (a != null) {
97247
- if (b == false && a.i) {
97282
+ if (b == false && a.j) {
97248
97283
  return 0;
97249
97284
  }
97250
- if (a.v >= 0) {
97251
- return a.v;
97285
+ if (a.w >= 0) {
97286
+ return a.w;
97252
97287
  }
97253
97288
  }
97254
97289
  return this.defaultColumnWidth;
@@ -97282,7 +97317,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97282
97317
  */
97283
97318
  _fo(a, b) {
97284
97319
  if (a != null) {
97285
- return a.n(this, 3, b);
97320
+ return a.o(this, 3, b);
97286
97321
  }
97287
97322
  return this.getDefaultColumnWidth(3);
97288
97323
  }
@@ -97591,146 +97626,148 @@ let Worksheet = /*@__PURE__*/ (() => {
97591
97626
  /**
97592
97627
  * @hidden
97593
97628
  */
97594
- _c4(a, b, c, d, e) {
97595
- let f = c;
97596
- let g = a;
97597
- let h = d;
97598
- let i = b;
97599
- let j = this._ff;
97600
- let k = this._b3;
97601
- for (let l = j.count - 1; l >= 0; l--) {
97602
- let m = j._inner[l];
97603
- if (m.m != 0) {
97604
- f = m.r + 1;
97629
+ _c4(a, b, c, d, e, f = true) {
97630
+ let g = c;
97631
+ let h = a;
97632
+ let i = d;
97633
+ let j = b;
97634
+ let k = this._ff;
97635
+ let l = this._b3;
97636
+ for (let m = k.count - 1; m >= 0; m--) {
97637
+ let n = k._inner[m];
97638
+ if (n.n != 0) {
97639
+ g = n.s + 1;
97605
97640
  break;
97606
97641
  }
97607
- else if (!Base.equalsStatic(m.b, k)) {
97608
- f = m.r;
97642
+ else if (!Base.equalsStatic(n.b, l)) {
97643
+ g = n.s;
97609
97644
  break;
97610
97645
  }
97611
97646
  }
97612
- for (let n = 0; n < j.count; n++) {
97613
- let o = j._inner[n];
97614
- if (o.m != 0) {
97615
- h = o.q;
97647
+ for (let o = 0; o < k.count; o++) {
97648
+ let p = k._inner[o];
97649
+ if (p.n != 0) {
97650
+ i = p.r;
97616
97651
  break;
97617
97652
  }
97618
- else if (!Base.equalsStatic(o.b, k)) {
97619
- h = o.q;
97653
+ else if (!Base.equalsStatic(p.b, l)) {
97654
+ i = p.r;
97620
97655
  break;
97621
97656
  }
97622
97657
  }
97623
- let p = new MutableItemRange(h, f);
97624
- for (let q of fromEnum(this._rows$i._n(a, b, true))) {
97625
- let r = q._a0(p, c, d);
97626
- if (r != null) {
97627
- p = r;
97628
- g = q.index;
97629
- if (i > g) {
97630
- i = g;
97658
+ let q = new MutableItemRange(i, g);
97659
+ for (let r of fromEnum(this._rows$i._n(a, b, true))) {
97660
+ let s = r._a0(q, c, d);
97661
+ if (s != null) {
97662
+ q = s;
97663
+ h = r.index;
97664
+ if (j > h) {
97665
+ j = h;
97631
97666
  }
97632
97667
  }
97633
97668
  }
97634
- h = p.a;
97635
- f = p.b;
97636
- let s = new WorksheetRegionAddress(1, a, b, c, d);
97637
- for (let t of fromEnum(this._tables$i)) {
97638
- let u = t._by;
97639
- if (u._j(s)) {
97640
- if (u._ac < i) {
97641
- i = u._ac;
97642
- }
97643
- if (u._w < h) {
97644
- h = u._w;
97645
- }
97646
- if (u._x > f) {
97647
- f = u._x;
97648
- }
97649
- if (u._ae > g) {
97650
- g = u._ae;
97669
+ i = q.a;
97670
+ g = q.b;
97671
+ let t = new WorksheetRegionAddress(1, a, b, c, d);
97672
+ if (f) {
97673
+ for (let u of fromEnum(this._tables$i)) {
97674
+ let v = u._by;
97675
+ if (v._j(t)) {
97676
+ if (v._ac < j) {
97677
+ j = v._ac;
97678
+ }
97679
+ if (v._w < i) {
97680
+ i = v._w;
97681
+ }
97682
+ if (v._x > g) {
97683
+ g = v._x;
97684
+ }
97685
+ if (v._ae > h) {
97686
+ h = v._ae;
97687
+ }
97651
97688
  }
97652
97689
  }
97653
97690
  }
97654
97691
  if (this._d2) {
97655
- for (let v of fromEnum(this._eu.keys)) {
97656
- if (v.o >= a && v.o <= b) {
97657
- if (v.o < i) {
97658
- i = v.o;
97692
+ for (let w of fromEnum(this._eu.keys)) {
97693
+ if (w.o >= a && w.o <= b) {
97694
+ if (w.o < j) {
97695
+ j = w.o;
97659
97696
  }
97660
- if (v.m < h) {
97661
- h = v.m;
97697
+ if (w.m < i) {
97698
+ i = w.m;
97662
97699
  }
97663
- if (v.m > f) {
97664
- f = v.m;
97700
+ if (w.m > g) {
97701
+ g = w.m;
97665
97702
  }
97666
- if (v.o > g) {
97667
- g = v.o;
97703
+ if (w.o > h) {
97704
+ h = w.o;
97668
97705
  }
97669
97706
  }
97670
97707
  }
97671
97708
  }
97672
97709
  if (this._d1) {
97673
- for (let w of fromEnum(this._es)) {
97674
- let x = w.value._h;
97675
- if (x._j(s)) {
97676
- if (x._ac < i) {
97677
- i = x._ac;
97710
+ for (let x of fromEnum(this._es)) {
97711
+ let y = x.value._h;
97712
+ if (y._j(t)) {
97713
+ if (y._ac < j) {
97714
+ j = y._ac;
97678
97715
  }
97679
- if (x._w < h) {
97680
- h = x._w;
97716
+ if (y._w < i) {
97717
+ i = y._w;
97681
97718
  }
97682
- if (x._x > f) {
97683
- f = x._x;
97719
+ if (y._x > g) {
97720
+ g = y._x;
97684
97721
  }
97685
- if (x._ae > g) {
97686
- g = x._ae;
97722
+ if (y._ae > h) {
97723
+ h = y._ae;
97687
97724
  }
97688
97725
  }
97689
97726
  }
97690
97727
  }
97691
- if (e && (f < d || g < b)) {
97692
- for (let y of fromEnum(this._shapes$i)) {
97693
- let z = y._ah;
97694
- if (z.o < i) {
97695
- i = z.o;
97728
+ if (e && (g < d || h < b)) {
97729
+ for (let z of fromEnum(this._shapes$i)) {
97730
+ let aa = z._ah;
97731
+ if (aa.o < j) {
97732
+ j = aa.o;
97696
97733
  }
97697
- if (z.m < h) {
97698
- h = z.m;
97734
+ if (aa.m < i) {
97735
+ i = aa.m;
97699
97736
  }
97700
- let aa = y._ad;
97701
- if (aa.o > g) {
97702
- g = Math.min(aa.o, b);
97737
+ let ab = z._ad;
97738
+ if (ab.o > h) {
97739
+ h = Math.min(ab.o, b);
97703
97740
  }
97704
- if (aa.m > f) {
97705
- f = Math.min(aa.m, d);
97741
+ if (ab.m > g) {
97742
+ g = Math.min(ab.m, d);
97706
97743
  }
97707
97744
  }
97708
97745
  }
97709
- if (h < c) {
97710
- h = c;
97711
- }
97712
- if (i < a) {
97713
- i = a;
97746
+ if (i < c) {
97747
+ i = c;
97714
97748
  }
97715
- if (f > d) {
97716
- f = d;
97749
+ if (j < a) {
97750
+ j = a;
97717
97751
  }
97718
- else if (f < c) {
97719
- f = c;
97752
+ if (g > d) {
97753
+ g = d;
97720
97754
  }
97721
- if (g > b) {
97722
- g = b;
97755
+ else if (g < c) {
97756
+ g = c;
97723
97757
  }
97724
- else if (g < a) {
97725
- g = a;
97758
+ if (h > b) {
97759
+ h = b;
97726
97760
  }
97727
- if (h > f) {
97728
- h = f;
97761
+ else if (h < a) {
97762
+ h = a;
97729
97763
  }
97730
97764
  if (i > g) {
97731
97765
  i = g;
97732
97766
  }
97733
- return new WorksheetRegionAddress(1, i, g, h, f);
97767
+ if (j > h) {
97768
+ j = h;
97769
+ }
97770
+ return new WorksheetRegionAddress(1, j, h, i, g);
97734
97771
  }
97735
97772
  /**
97736
97773
  * @hidden
@@ -97792,7 +97829,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97792
97829
  * @hidden
97793
97830
  */
97794
97831
  _ec(a) {
97795
- return this._cb(a).i;
97832
+ return this._cb(a).j;
97796
97833
  }
97797
97834
  /**
97798
97835
  * @hidden
@@ -97833,10 +97870,10 @@ let Worksheet = /*@__PURE__*/ (() => {
97833
97870
  h.b = GenericCacheElementEx.r(WorksheetCellFormatData.$, f, i);
97834
97871
  this._hh();
97835
97872
  }
97836
- h.i = d;
97837
- h.m = e;
97838
- h.v = c;
97839
- h.j = g;
97873
+ h.j = d;
97874
+ h.n = e;
97875
+ h.w = c;
97876
+ h.k = g;
97840
97877
  }
97841
97878
  /**
97842
97879
  * @hidden
@@ -97846,7 +97883,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97846
97883
  let d = ((() => { let e = this._f8(a, b, true, c); c = e.p3; return e.ret; })());
97847
97884
  let e = this.workbook._ff;
97848
97885
  let f = d;
97849
- let g = (c.r + 1);
97886
+ let g = (c.s + 1);
97850
97887
  let h = 0;
97851
97888
  for (let i = d + 1; i < this._fe.count; i++) {
97852
97889
  if (g >= e) {
@@ -97854,10 +97891,10 @@ let Worksheet = /*@__PURE__*/ (() => {
97854
97891
  continue;
97855
97892
  }
97856
97893
  let j = this._fe._inner[i];
97857
- let k = j.r + 1 - j.q;
97858
- j.q = g;
97859
- j.r = Math.min(g + k - 1, e - 1);
97860
- g = (j.r + 1);
97894
+ let k = j.s + 1 - j.r;
97895
+ j.r = g;
97896
+ j.s = Math.min(g + k - 1, e - 1);
97897
+ g = (j.s + 1);
97861
97898
  }
97862
97899
  while (h > 0) {
97863
97900
  d = this._fe.count - 1;
@@ -97877,28 +97914,28 @@ let Worksheet = /*@__PURE__*/ (() => {
97877
97914
  let d = this._fe._inner[c];
97878
97915
  let e = b;
97879
97916
  let f = c;
97880
- if (d.q == a && d.q + b >= d.r + 1) {
97881
- e -= d.t;
97917
+ if (d.r == a && d.r + b >= d.s + 1) {
97918
+ e -= d.u;
97882
97919
  this._id(c, d);
97883
97920
  if (c < this._fe.count) {
97884
97921
  let g = this._fe._inner[c];
97885
- let h = g.t;
97886
- g.q = a;
97887
- g.r = (a + h - 1);
97922
+ let h = g.u;
97923
+ g.r = a;
97924
+ g.s = (a + h - 1);
97888
97925
  }
97889
97926
  if (f > 0) {
97890
97927
  f--;
97891
97928
  }
97892
97929
  }
97893
97930
  else {
97894
- let i = Math.min(d.r + 1 - a, b);
97895
- d.r -= i;
97931
+ let i = Math.min(d.s + 1 - a, b);
97932
+ d.s -= i;
97896
97933
  e -= i;
97897
97934
  c++;
97898
97935
  }
97899
97936
  while (e > 0) {
97900
97937
  d = this._fe._inner[c];
97901
- let j = d.t;
97938
+ let j = d.u;
97902
97939
  if (j <= e) {
97903
97940
  e -= j;
97904
97941
  this._id(c, d);
@@ -97906,7 +97943,7 @@ let Worksheet = /*@__PURE__*/ (() => {
97906
97943
  else {
97907
97944
  j -= e;
97908
97945
  e = 0;
97909
- d.r = (d.q + j - 1);
97946
+ d.s = (d.r + j - 1);
97910
97947
  }
97911
97948
  }
97912
97949
  if (this._fe.count == 0) {
@@ -97921,23 +97958,23 @@ let Worksheet = /*@__PURE__*/ (() => {
97921
97958
  let b = this._fe._inner[this._fe.count - 1];
97922
97959
  let c = (this.workbook._ff - 1);
97923
97960
  do {
97924
- if (b.r <= c) {
97961
+ if (b.s <= c) {
97925
97962
  break;
97926
97963
  }
97927
97964
  if (this._fe.count == 1) {
97928
- b.r = c;
97965
+ b.s = c;
97929
97966
  break;
97930
97967
  }
97931
97968
  GenericCacheElementEx.q(WorksheetCellFormatData.$, b.b);
97932
97969
  this._fe.removeAt(this._fe.count - 1);
97933
97970
  b = this._fe._inner[this._fe.count - 1];
97934
97971
  } while (true);
97935
- if (b.r < c) {
97936
- if (b.k) {
97937
- b.r = c;
97972
+ if (b.s < c) {
97973
+ if (b.l) {
97974
+ b.s = c;
97938
97975
  }
97939
97976
  else {
97940
- let d = new WorksheetColumnBlock(0, (b.r + 1), c, this.workbook._ca._p);
97977
+ let d = new WorksheetColumnBlock(0, (b.s + 1), c, this.workbook._ca._p);
97941
97978
  d.b.k();
97942
97979
  this._fe.add(d);
97943
97980
  }
@@ -98150,45 +98187,45 @@ let Worksheet = /*@__PURE__*/ (() => {
98150
98187
  * @hidden
98151
98188
  */
98152
98189
  _h9(a) {
98153
- let b = a.q;
98154
- let c = a.r;
98190
+ let b = a.r;
98191
+ let c = a.s;
98155
98192
  let d;
98156
98193
  let e = ((() => { let f = this._f8(b, (c - (b + 1)), false, d); d = f.p3; return f.ret; })());
98157
98194
  let f = d == a;
98158
98195
  let g = 0;
98159
98196
  if (f) {
98160
- if (d.r >= a.r) {
98197
+ if (d.s >= a.s) {
98161
98198
  return;
98162
98199
  }
98163
- g = a.r - d.r;
98164
- d.r = a.r;
98200
+ g = a.s - d.s;
98201
+ d.s = a.s;
98165
98202
  }
98166
98203
  else {
98167
- if (d.q == a.q) {
98168
- if (d.r == a.r) {
98204
+ if (d.r == a.r) {
98205
+ if (d.s == a.s) {
98169
98206
  this._fe._inner[e] = a;
98170
98207
  return;
98171
98208
  }
98172
- if (d.r > a.r) {
98209
+ if (d.s > a.s) {
98173
98210
  this._fe.insert(e, a);
98174
- d.q = (a.r + 1);
98211
+ d.r = (a.s + 1);
98175
98212
  return;
98176
98213
  }
98177
- g = a.r - d.r;
98214
+ g = a.s - d.s;
98178
98215
  this._fe._inner[e] = a;
98179
98216
  }
98180
98217
  else {
98181
- if (a.r >= d.r) {
98182
- g = a.r - d.r;
98183
- d.r = (a.q - 1);
98218
+ if (a.s >= d.s) {
98219
+ g = a.s - d.s;
98220
+ d.s = (a.r - 1);
98184
98221
  this._fe.insert(e + 1, a);
98185
98222
  }
98186
98223
  else {
98187
- let h = d.r;
98188
- d.r = (a.q - 1);
98224
+ let h = d.s;
98225
+ d.s = (a.r - 1);
98189
98226
  this._fe.insert(e + 1, a);
98190
- if (h > a.r) {
98191
- this._fe.insert(e + 2, d.d(this.workbook, (a.r + 1), h));
98227
+ if (h > a.s) {
98228
+ this._fe.insert(e + 2, d.d(this.workbook, (a.s + 1), h));
98192
98229
  }
98193
98230
  }
98194
98231
  }
@@ -98196,12 +98233,12 @@ let Worksheet = /*@__PURE__*/ (() => {
98196
98233
  while (g > 0) {
98197
98234
  e++;
98198
98235
  d = this._fe._inner[e];
98199
- if (g >= d.t) {
98200
- g -= d.t;
98236
+ if (g >= d.u) {
98237
+ g -= d.u;
98201
98238
  this._fe.removeAt(e);
98202
98239
  }
98203
98240
  else {
98204
- d.q += g;
98241
+ d.r += g;
98205
98242
  g = 0;
98206
98243
  }
98207
98244
  }
@@ -98379,20 +98416,20 @@ let Worksheet = /*@__PURE__*/ (() => {
98379
98416
  let n = l.e;
98380
98417
  let o = this._f9(m);
98381
98418
  let p = this._ff._inner[o];
98382
- if (p.q < m) {
98383
- this._cc(m, Math.min(p.r, n));
98419
+ if (p.r < m) {
98420
+ this._cc(m, Math.min(p.s, n));
98384
98421
  o++;
98385
98422
  }
98386
98423
  let q = this._f9(n);
98387
98424
  p = this._ff._inner[q];
98388
- if (p.r > n) {
98389
- this._cc(Math.max(p.q, m), n);
98425
+ if (p.s > n) {
98426
+ this._cc(Math.max(p.r, m), n);
98390
98427
  }
98391
98428
  for (let r = o; r <= q; r++) {
98392
98429
  p = this._fe._inner[r];
98393
- p.v = l.c;
98394
- p.j = l.a;
98395
- p.i = l.b;
98430
+ p.w = l.c;
98431
+ p.k = l.a;
98432
+ p.j = l.b;
98396
98433
  }
98397
98434
  this._cd(n);
98398
98435
  this._cd(m);
@@ -98875,16 +98912,16 @@ let Worksheet = /*@__PURE__*/ (() => {
98875
98912
  _cc(a, b) {
98876
98913
  let c = this._f9(a);
98877
98914
  let d = this._fe._inner[c];
98878
- let e = d.r;
98879
- if (d.q != a) {
98880
- d.r = (a - 1);
98915
+ let e = d.s;
98916
+ if (d.r != a) {
98917
+ d.s = (a - 1);
98881
98918
  let f = new WorksheetColumnBlock(1, a, e, d);
98882
98919
  c++;
98883
98920
  this._fe.insert(c, f);
98884
98921
  d = f;
98885
98922
  }
98886
- if (d.r != b) {
98887
- d.r = b;
98923
+ if (d.s != b) {
98924
+ d.s = b;
98888
98925
  let g = new WorksheetColumnBlock(1, (b + 1), e, d);
98889
98926
  this._fe.insert(c + 1, g);
98890
98927
  }
@@ -98938,23 +98975,24 @@ let Worksheet = /*@__PURE__*/ (() => {
98938
98975
  _cd(a) {
98939
98976
  let b = this._f9(a);
98940
98977
  let c = this._fe._inner[b];
98941
- if (c.q != 0) {
98942
- let d = this._cb((c.q - 1));
98943
- if (c.equals(d)) {
98978
+ let d = this.defaultColumnWidth;
98979
+ if (c.r != 0) {
98980
+ let e = this._cb((c.r - 1));
98981
+ if (c.i(e, d)) {
98944
98982
  this._ff.removeAt(b);
98945
98983
  GenericCacheElementEx.q(WorksheetCellFormatData.$, c.b);
98946
- d.r = c.r;
98947
- c = d;
98984
+ e.s = c.s;
98985
+ c = e;
98948
98986
  }
98949
98987
  }
98950
- let e = this._columns$i.maxCount - 1;
98951
- if (c.r != e) {
98952
- let f = this._f9((c.r + 1));
98953
- let g = this._fe._inner[f];
98954
- if (c.equals(g)) {
98955
- this._ff.removeAt(f);
98956
- GenericCacheElementEx.q(WorksheetCellFormatData.$, g.b);
98957
- c.r = g.r;
98988
+ let f = this._columns$i.maxCount - 1;
98989
+ if (c.s != f) {
98990
+ let g = this._f9((c.s + 1));
98991
+ let h = this._fe._inner[g];
98992
+ if (c.i(h, d)) {
98993
+ this._ff.removeAt(g);
98994
+ GenericCacheElementEx.q(WorksheetCellFormatData.$, h.b);
98995
+ c.s = h.s;
98958
98996
  }
98959
98997
  }
98960
98998
  return c;
@@ -99172,10 +99210,11 @@ let Worksheet = /*@__PURE__*/ (() => {
99172
99210
  * @hidden
99173
99211
  */
99174
99212
  _ca(a = 0) {
99175
- let b = new WorksheetColumnBlock(0, a, (this.workbook._ff - 1), this.workbook._ca._p);
99176
- b.b.k();
99177
- this._fe.add(b);
99178
- return b;
99213
+ let b = this._b3;
99214
+ let c = new WorksheetColumnBlock(0, a, (this.workbook._ff - 1), b);
99215
+ c.b.k();
99216
+ this._fe.add(c);
99217
+ return c;
99179
99218
  }
99180
99219
  /**
99181
99220
  * @hidden
@@ -99196,7 +99235,7 @@ let Worksheet = /*@__PURE__*/ (() => {
99196
99235
  if (e.g(a)) {
99197
99236
  return d;
99198
99237
  }
99199
- let f = e.q - a;
99238
+ let f = e.r - a;
99200
99239
  if (f < 0) {
99201
99240
  b = d + 1;
99202
99241
  }
@@ -99301,20 +99340,23 @@ let Worksheet = /*@__PURE__*/ (() => {
99301
99340
  _hj(a) {
99302
99341
  let b = this._fe._inner[a];
99303
99342
  if (a == 0) {
99304
- b.r -= b.q;
99305
- b.q = 0;
99343
+ b.s -= b.r;
99344
+ b.r = 0;
99306
99345
  }
99307
99346
  for (let c = a + 1; c < this._fe.count; c++) {
99308
99347
  let d = this._fe._inner[c];
99309
- let e = d.t;
99310
- d.q = (b.r + 1);
99311
- d.r = (d.q + e - 1);
99348
+ let e = d.u;
99349
+ d.r = (b.s + 1);
99350
+ d.s = (d.r + e - 1);
99312
99351
  b = d;
99313
99352
  }
99314
- if (b.r < this.workbook._ff - 1 && false == b.k) {
99315
- b = this._ca((b.r + 1));
99353
+ if (b.s < this.workbook._ff - 1 && false == b.l) {
99354
+ b = this._ca((b.s + 1));
99355
+ if (b != this._cd(b.r)) {
99356
+ b = this._ff._inner[this._ff.count - 1];
99357
+ }
99316
99358
  }
99317
- b.r = (this.workbook._ff - 1);
99359
+ b.s = (this.workbook._ff - 1);
99318
99360
  }
99319
99361
  /**
99320
99362
  * @hidden
@@ -99325,8 +99367,8 @@ let Worksheet = /*@__PURE__*/ (() => {
99325
99367
  if (a == 0) {
99326
99368
  d = this._fe._inner[0];
99327
99369
  if (c) {
99328
- if (d.k) {
99329
- d.r = Math.min(d.r + b, f - 1);
99370
+ if (d.l) {
99371
+ d.s = Math.min(d.s + b, f - 1);
99330
99372
  }
99331
99373
  else {
99332
99374
  d = new WorksheetColumnBlock(0, a, (a + b - 1), this.workbook._ca._p);
@@ -99347,7 +99389,7 @@ let Worksheet = /*@__PURE__*/ (() => {
99347
99389
  }
99348
99390
  d = this._fe._inner[e];
99349
99391
  if (c) {
99350
- d.r = Math.min(d.r + b, f - 1);
99392
+ d.s = Math.min(d.s + b, f - 1);
99351
99393
  }
99352
99394
  }
99353
99395
  return {
@@ -99573,8 +99615,8 @@ let Worksheet = /*@__PURE__*/ (() => {
99573
99615
  this._cc(f, f);
99574
99616
  this._cc(h, h);
99575
99617
  for (let u of fromEnum(this._ff)) {
99576
- if (f <= u.q && u.r <= h) {
99577
- u.i = d;
99618
+ if (f <= u.r && u.s <= h) {
99619
+ u.j = d;
99578
99620
  }
99579
99621
  }
99580
99622
  }
@@ -100253,15 +100295,15 @@ let Worksheet = /*@__PURE__*/ (() => {
100253
100295
  */
100254
100296
  get _b3() {
100255
100297
  let a = 0;
100256
- let b = this._ff._inner[0].b;
100298
+ let b = this._ff.count == 0 ? null : this._ff._inner[0].b;
100257
100299
  for (let c = 0; c < this._ff.count; c++) {
100258
100300
  let d = this._ff._inner[c];
100259
- if (a <= d.t) {
100260
- a = d.t;
100301
+ if (a <= d.u) {
100302
+ a = d.u;
100261
100303
  b = d.b;
100262
100304
  }
100263
100305
  }
100264
- if (b._cd) {
100306
+ if (b == null || b._cd) {
100265
100307
  b = this.workbook != null ? this.workbook._ca._p : null;
100266
100308
  }
100267
100309
  return b;
@@ -112564,7 +112606,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112564
112606
  if (b == null) {
112565
112607
  return false;
112566
112608
  }
112567
- return b._cb(a).i;
112609
+ return b._cb(a).j;
112568
112610
  }
112569
112611
  /**
112570
112612
  * @hidden
@@ -112575,7 +112617,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112575
112617
  }
112576
112618
  this._ad();
112577
112619
  this._ak();
112578
- this.worksheet._cb(this.index).i = a;
112620
+ this.worksheet._cb(this.index).j = a;
112579
112621
  this._aj();
112580
112622
  }
112581
112623
  /**
@@ -112775,7 +112817,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112775
112817
  if (b == null) {
112776
112818
  return 0;
112777
112819
  }
112778
- return b._cb(a).m;
112820
+ return b._cb(a).n;
112779
112821
  }
112780
112822
  /**
112781
112823
  * @hidden
@@ -112786,7 +112828,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
112786
112828
  }
112787
112829
  this._ad();
112788
112830
  this._ak();
112789
- this.worksheet._cb(this.index).m = a;
112831
+ this.worksheet._cb(this.index).n = a;
112790
112832
  this._aj();
112791
112833
  }
112792
112834
  /**
@@ -113140,7 +113182,7 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
113140
113182
  if (b < 0) {
113141
113183
  return 0;
113142
113184
  }
113143
- return a._cb(b).v;
113185
+ return a._cb(b).w;
113144
113186
  }
113145
113187
  set width(a) {
113146
113188
  this._ad();
@@ -113169,10 +113211,10 @@ let WorksheetColumn = /*@__PURE__*/ (() => {
113169
113211
  }
113170
113212
  this._ak();
113171
113213
  let c = this.worksheet._cb(this.index);
113172
- c.v = a;
113173
- c.j = this.width >= 0;
113214
+ c.w = a;
113215
+ c.k = this.width >= 0;
113174
113216
  if (this._l) {
113175
- c.i = false;
113217
+ c.j = false;
113176
113218
  this._y();
113177
113219
  }
113178
113220
  this._aj();
@@ -113418,8 +113460,8 @@ let HiddenColumnCollection = /*@__PURE__*/ (() => {
113418
113460
  */
113419
113461
  _n(a) {
113420
113462
  for (let b of fromEnum(a._ff)) {
113421
- if (b.i) {
113422
- for (let c = b.q; c <= b.r; c++) {
113463
+ if (b.j) {
113464
+ for (let c = b.r; c <= b.s; c++) {
113423
113465
  this.add_1(a._columns$i.item(c));
113424
113466
  }
113425
113467
  }
@@ -136289,7 +136331,7 @@ let Function = /*@__PURE__*/ (() => {
136289
136331
  if (b < 0) {
136290
136332
  this._vg = 255;
136291
136333
  this._q5 = true;
136292
- if (b == -3) {
136334
+ if (b == -3 || b == -2) {
136293
136335
  this._rh = true;
136294
136336
  }
136295
136337
  else if (b == -4) {
@@ -138916,7 +138958,7 @@ let Function = /*@__PURE__*/ (() => {
138916
138958
  return Function._g1("WINDOWS", 91 + 10000, 0, 2, false, 0, 1, null, 96, 64);
138917
138959
  }
138918
138960
  static get _v() {
138919
- return Function._g1("ANCHORARRAY", -3, 1, 1, false, 0, 1, null, 96, 32);
138961
+ return Function._g1("ANCHORARRAY", -3, 1, 1, false, 0, 1, null, 32, 32);
138920
138962
  }
138921
138963
  static get _n0() {
138922
138964
  return Function._g1("SINGLE", -3, 1, 1, false, 0, 1, null, 32, 32);
@@ -144077,14 +144119,14 @@ let WorksheetElementResizeContext = /*@__PURE__*/ (() => {
144077
144119
  static k(a, b, c, d) {
144078
144120
  let e = new List$1(IndexRange.$, 0);
144079
144121
  for (let f of fromEnum(a._ff)) {
144080
- if (f.r < b) {
144122
+ if (f.s < b) {
144081
144123
  continue;
144082
144124
  }
144083
- if (c < f.q) {
144125
+ if (c < f.r) {
144084
144126
  break;
144085
144127
  }
144086
- if (f.i != d) {
144087
- e.add(new IndexRange(1, Math.max(f.q, b), Math.min(f.r, c)));
144128
+ if (f.j != d) {
144129
+ e.add(new IndexRange(1, Math.max(f.r, b), Math.min(f.s, c)));
144088
144130
  }
144089
144131
  }
144090
144132
  return e;
@@ -144134,16 +144176,16 @@ let WorksheetElementResizeContext = /*@__PURE__*/ (() => {
144134
144176
  let f = a._dv;
144135
144177
  let g = a.defaultRowHeight;
144136
144178
  for (let h of fromEnum(a._ff)) {
144137
- let i = h.q;
144138
- let j = h.r;
144179
+ let i = h.r;
144180
+ let j = h.s;
144139
144181
  if (j < b) {
144140
144182
  continue;
144141
144183
  }
144142
144184
  let k = d.count == 0 ? null : d._inner[d.count - 1];
144143
- if (k == null || k.c != h.v || k.a != h.j || k.b != h.i) {
144185
+ if (k == null || k.c != h.w || k.a != h.k || k.b != h.j) {
144144
144186
  let l = k == null ? b : k.e + 1;
144145
144187
  let m = Math.min(c, j);
144146
- k = new WorksheetElementResizeState(l, m, h.v, h.i, h.j);
144188
+ k = new WorksheetElementResizeState(l, m, h.w, h.j, h.k);
144147
144189
  d.add(k);
144148
144190
  }
144149
144191
  else {
@@ -144206,15 +144248,15 @@ let WorksheetElementResizeContext = /*@__PURE__*/ (() => {
144206
144248
  let i = a._ff._inner[h];
144207
144249
  let j = d.count;
144208
144250
  while (true) {
144209
- let k = i.v;
144210
- let l = i.i;
144211
- let m = i.j;
144212
- if (i.r < f.e) {
144251
+ let k = i.w;
144252
+ let l = i.j;
144253
+ let m = i.k;
144254
+ if (i.s < f.e) {
144213
144255
  h++;
144214
144256
  i = a._ff._inner[h];
144215
- if (i.v != k || i.i != l || i.j != m) {
144216
- d.add(new WorksheetElementResizeState(g, i.q - 1, k, l, m));
144217
- g = i.q;
144257
+ if (i.w != k || i.j != l || i.k != m) {
144258
+ d.add(new WorksheetElementResizeState(g, i.r - 1, k, l, m));
144259
+ g = i.r;
144218
144260
  }
144219
144261
  }
144220
144262
  else {
@@ -145726,11 +145768,11 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145726
145768
  constructor(a, ..._rest) {
145727
145769
  super();
145728
145770
  this.a = null;
145729
- this.o = 0;
145730
- this.e = false;
145731
145771
  this.p = 0;
145732
- this.l = 0;
145733
- this.s = -1;
145772
+ this.e = false;
145773
+ this.q = 0;
145774
+ this.m = 0;
145775
+ this.t = -1;
145734
145776
  this.f = false;
145735
145777
  a = (a == void 0) ? 0 : a;
145736
145778
  switch (a) {
@@ -145739,8 +145781,8 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145739
145781
  let c = _rest[0];
145740
145782
  let d = _rest[1];
145741
145783
  let e = _rest[2];
145742
- this.o = c;
145743
- this.p = d;
145784
+ this.p = c;
145785
+ this.q = d;
145744
145786
  this.a = e;
145745
145787
  }
145746
145788
  break;
@@ -145754,13 +145796,13 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145754
145796
  let h = f[0];
145755
145797
  let i = f[1];
145756
145798
  let j = f[2];
145757
- this.o = h;
145758
- this.p = i;
145799
+ this.p = h;
145800
+ this.q = i;
145759
145801
  this.a = j;
145760
145802
  }
145761
145803
  this.e = e.e;
145762
- this.l = e.l;
145763
- this.s = e.s;
145804
+ this.m = e.m;
145805
+ this.t = e.t;
145764
145806
  this.a.k();
145765
145807
  this.f = e.f;
145766
145808
  }
@@ -145772,16 +145814,21 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145772
145814
  if (b == null) {
145773
145815
  return false;
145774
145816
  }
145775
- return this.e == b.e && this.l == b.l && this.s == b.s && this.f == b.f && this.a.equals(b.a);
145817
+ return this.i(b);
145818
+ }
145819
+ i(a, b = -1) {
145820
+ let c = this.t < 0 ? b : this.t;
145821
+ let d = a.t < 0 ? b : a.t;
145822
+ return this.e == a.e && this.m == a.m && c == d && this.f == a.f && this.a.equals(a.a);
145776
145823
  }
145777
145824
  getHashCode() {
145778
- return Base.getHashCodeStatic(this.e) ^ (this.l) ^ (this.s) ^ Base.getHashCodeStatic(this.f) ^ this.a.getHashCode();
145825
+ return Base.getHashCodeStatic(this.e) ^ (this.m) ^ (this.t) ^ Base.getHashCodeStatic(this.f) ^ this.a.getHashCode();
145779
145826
  }
145780
145827
  toString() {
145781
145828
  let a = new StringBuilder(0);
145782
- a.r("FirstColumn: {0}, LastColumn: {1}", this.o, this.p);
145783
- if (this.s >= 0) {
145784
- a.q(", Width: {0}", this.s);
145829
+ a.r("FirstColumn: {0}, LastColumn: {1}", this.p, this.q);
145830
+ if (this.t >= 0) {
145831
+ a.q(", Width: {0}", this.t);
145785
145832
  }
145786
145833
  if (this.e) {
145787
145834
  a.l(", Hidden");
@@ -145789,32 +145836,32 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145789
145836
  return a.toString();
145790
145837
  }
145791
145838
  c(a) {
145792
- return this.d(a, this.q, this.r);
145839
+ return this.d(a, this.r, this.s);
145793
145840
  }
145794
145841
  d(a, b, c) {
145795
145842
  let d = new WorksheetColumnBlock(0, b, c, this.b._bv(a));
145796
145843
  d.e = this.e;
145797
- d.l = this.l;
145798
- d.s = this.s;
145844
+ d.m = this.m;
145845
+ d.t = this.t;
145799
145846
  d.f = this.f;
145800
145847
  return d;
145801
145848
  }
145802
145849
  g(a) {
145803
- return a >= this.o && a <= this.p;
145850
+ return a >= this.p && a <= this.q;
145804
145851
  }
145805
- n(a, b, c = false) {
145806
- if (c == false && this.i) {
145852
+ o(a, b, c = false) {
145853
+ if (c == false && this.j) {
145807
145854
  return 0;
145808
145855
  }
145809
- return a._fl(this.v < 0 ? a.defaultColumnWidth : this.v, b);
145856
+ return a._fl(this.w < 0 ? a.defaultColumnWidth : this.w, b);
145810
145857
  }
145811
- x(a, b) {
145812
- if (this.k) {
145858
+ y(a, b) {
145859
+ if (this.l) {
145813
145860
  return;
145814
145861
  }
145815
145862
  let c = Workbook.getMaxColumnCount(b) - 1;
145816
- if (c < this.q) {
145817
- a.g(stringFormat(ExcelUtils.eh("LE_FormatLimitError_MaxColumnIndex"), Math.max(this.q, c + 1), c));
145863
+ if (c < this.r) {
145864
+ a.g(stringFormat(ExcelUtils.eh("LE_FormatLimitError_MaxColumnIndex"), Math.max(this.r, c + 1), c));
145818
145865
  }
145819
145866
  }
145820
145867
  get b() {
@@ -145823,47 +145870,47 @@ let WorksheetColumnBlock = /*@__PURE__*/ (() => {
145823
145870
  set b(a) {
145824
145871
  this.a = a;
145825
145872
  }
145826
- get t() {
145827
- return this.p + 1 - this.o;
145873
+ get u() {
145874
+ return this.q + 1 - this.p;
145828
145875
  }
145829
- get q() {
145830
- return this.o;
145876
+ get r() {
145877
+ return this.p;
145831
145878
  }
145832
- set q(a) {
145833
- this.o = a;
145879
+ set r(a) {
145880
+ this.p = a;
145834
145881
  }
145835
- get i() {
145882
+ get j() {
145836
145883
  return this.e;
145837
145884
  }
145838
- set i(a) {
145885
+ set j(a) {
145839
145886
  this.e = a;
145840
145887
  }
145841
- get j() {
145888
+ get k() {
145842
145889
  return this.f;
145843
145890
  }
145844
- set j(a) {
145891
+ set k(a) {
145845
145892
  this.f = a;
145846
145893
  }
145847
- get k() {
145848
- return this.e == false && this.l == 0 && this.s == -1 && this.a._cd;
145894
+ get l() {
145895
+ return this.e == false && this.m == 0 && this.t == -1 && this.a._cd;
145849
145896
  }
145850
- get r() {
145851
- return this.p;
145897
+ get s() {
145898
+ return this.q;
145852
145899
  }
145853
- set r(a) {
145854
- this.p = a;
145900
+ set s(a) {
145901
+ this.q = a;
145855
145902
  }
145856
- get m() {
145857
- return this.l;
145903
+ get n() {
145904
+ return this.m;
145858
145905
  }
145859
- set m(a) {
145860
- this.l = a;
145906
+ set n(a) {
145907
+ this.m = a;
145861
145908
  }
145862
- get v() {
145863
- return this.s;
145909
+ get w() {
145910
+ return this.t;
145864
145911
  }
145865
- set v(a) {
145866
- this.s = a;
145912
+ set w(a) {
145913
+ this.t = a;
145867
145914
  }
145868
145915
  }
145869
145916
  WorksheetColumnBlock.$t = /*@__PURE__*/ markType(WorksheetColumnBlock, 'WorksheetColumnBlock');
@@ -149036,11 +149083,11 @@ let WorkbookSaveManager = /*@__PURE__*/ (() => {
149036
149083
  let h = null;
149037
149084
  for (let i of fromEnum(a._ff)) {
149038
149085
  if (this._ah(a, i, h)) {
149039
- f = Math.max(i.m, f);
149086
+ f = Math.max(i.n, f);
149040
149087
  if (nullableEquals(b, null)) {
149041
- b = toNullable(Number_$type, i.q);
149088
+ b = toNullable(Number_$type, i.r);
149042
149089
  }
149043
- c = toNullable(Number_$type, (i.r + 1));
149090
+ c = toNullable(Number_$type, (i.s + 1));
149044
149091
  }
149045
149092
  h = i;
149046
149093
  }
@@ -149192,25 +149239,25 @@ let WorkbookSaveManager = /*@__PURE__*/ (() => {
149192
149239
  let e = false;
149193
149240
  if (a.displayOptions._ap) {
149194
149241
  if (c != null) {
149195
- d = c.m;
149196
- e = c.i;
149242
+ d = c.n;
149243
+ e = c.j;
149197
149244
  }
149198
149245
  }
149199
149246
  else {
149200
- let f = (b.r + 1);
149247
+ let f = (b.s + 1);
149201
149248
  if (f < a._columns$i.maxCount) {
149202
149249
  let g = a._cb(f);
149203
149250
  if (g != null) {
149204
- d = g.m;
149205
- e = g.i;
149251
+ d = g.n;
149252
+ e = g.j;
149206
149253
  }
149207
149254
  }
149208
149255
  }
149209
- let h = e && b.m < d;
149256
+ let h = e && b.n < d;
149210
149257
  if (h) {
149211
149258
  this._aw.add_1(b);
149212
149259
  }
149213
- return h || b.m != 0 || b.v >= 0 || b.b._cd == false;
149260
+ return h || b.n != 0 || b.w >= 0 || b.b._cd == false;
149214
149261
  }
149215
149262
  _v(a, b, c) {
149216
149263
  let d = false;
@@ -154262,7 +154309,7 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154262
154309
  */
154263
154310
  _af(a, b) {
154264
154311
  for (let c of fromEnum(this._e._ff)) {
154265
- c.x(a, b);
154312
+ c.y(a, b);
154266
154313
  }
154267
154314
  }
154268
154315
  /**
@@ -154302,16 +154349,16 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154302
154349
  let f = this._e.defaultColumnWidth;
154303
154350
  for (let g of fromEnum(this._e._ff)) {
154304
154351
  let h = 0;
154305
- if (e || g.i == false) {
154306
- if (g.v < 0) {
154352
+ if (e || g.j == false) {
154353
+ if (g.w < 0) {
154307
154354
  h = f;
154308
154355
  }
154309
154356
  else {
154310
- h = g.v;
154357
+ h = g.w;
154311
154358
  }
154312
154359
  }
154313
- let i = Math.max(0, Math.min(g.r, a - 1) - g.q + 1);
154314
- let j = Math.max(0, Math.min(g.r, b - 1) - g.q + 1);
154360
+ let i = Math.max(0, Math.min(g.s, a - 1) - g.r + 1);
154361
+ let j = Math.max(0, Math.min(g.s, b - 1) - g.r + 1);
154315
154362
  if (i == 0 && j == 0) {
154316
154363
  break;
154317
154364
  }
@@ -154333,15 +154380,15 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154333
154380
  let g = this._e.defaultColumnWidth;
154334
154381
  for (let h of fromEnum(this._e._ff)) {
154335
154382
  let i = 0;
154336
- if (e || h.i == false) {
154337
- if (h.v < 0) {
154383
+ if (e || h.j == false) {
154384
+ if (h.w < 0) {
154338
154385
  i = g;
154339
154386
  }
154340
154387
  else {
154341
- i = h.v;
154388
+ i = h.w;
154342
154389
  }
154343
154390
  }
154344
- let j = (h.r - h.q) + 1;
154391
+ let j = (h.s - h.r) + 1;
154345
154392
  let k = i * j;
154346
154393
  if (f == false) {
154347
154394
  if (a < k) {
@@ -154387,10 +154434,10 @@ let WorksheetColumnCollection = /*@__PURE__*/ (() => {
154387
154434
  _as(a) {
154388
154435
  let b = new HashSet$1(WorksheetColumn.$, 0);
154389
154436
  for (let c of fromEnum(this._e._ff)) {
154390
- if (c.i == false) {
154437
+ if (c.j == false) {
154391
154438
  continue;
154392
154439
  }
154393
- for (let d = c.q; d <= c.r; d++) {
154440
+ for (let d = c.r; d <= c.s; d++) {
154394
154441
  b.add_1(this.item(d));
154395
154442
  }
154396
154443
  }
@@ -206160,7 +206207,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206160
206207
  }
206161
206208
  j = a * a;
206162
206209
  k = 0.12837916709551256 + j * (-0.3250421072470015 + j * (-0.02848174957559851 + j * (-0.0057702702964894416 + j * -2.3763016656650163E-05)));
206163
- h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432165 + j * -3.9602282787753681E-06))));
206210
+ h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432164 + j * -3.9602282787753681E-06))));
206164
206211
  i = k / h;
206165
206212
  return a + a * i;
206166
206213
  }
@@ -206190,7 +206237,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206190
206237
  e = 1 + h * (19.651271667439257 + h * (137.65775414351904 + h * (434.56587747522923 + h * (645.38727173326788 + h * (429.00814002756783 + h * (108.63500554177944 + h * (6.5702497703192817 + h * -0.0604244152148581)))))));
206191
206238
  }
206192
206239
  else {
206193
- d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110773 + h * -483.5191916086514)))));
206240
+ d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110772 + h * -483.5191916086514)))));
206194
206241
  e = 1 + h * (30.338060743482458 + h * (325.79251299657392 + h * (1536.729586084437 + h * (3199.8582195085955 + h * (2553.0504064331644 + h * (474.52854120695537 + h * -22.440952446585818))))));
206195
206242
  }
206196
206243
  j = ErfUtils.a8(a);
@@ -206222,7 +206269,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206222
206269
  }
206223
206270
  j = a * a;
206224
206271
  k = 0.12837916709551256 + j * (-0.3250421072470015 + j * (-0.02848174957559851 + j * (-0.0057702702964894416 + j * -2.3763016656650163E-05)));
206225
- h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432165 + j * -3.9602282787753681E-06))));
206272
+ h = 1 + j * (0.39791722395915535 + j * (0.0650222499887673 + j * (0.0050813062818757656 + j * (0.00013249473800432164 + j * -3.9602282787753681E-06))));
206226
206273
  i = k / h;
206227
206274
  if (b < 1070596096) {
206228
206275
  return 1 - (a + a * i);
@@ -206257,7 +206304,7 @@ let ErfUtils = /*@__PURE__*/ (() => {
206257
206304
  if (b < 0 && c >= 1075314688) {
206258
206305
  return 2 - 1E-300;
206259
206306
  }
206260
- d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110773 + h * -483.5191916086514)))));
206307
+ d = -0.0098649429247001 + h * (-0.799283237680523 + h * (-17.757954917754752 + h * (-160.63638485582192 + h * (-637.56644336838963 + h * (-1025.0951316110772 + h * -483.5191916086514)))));
206261
206308
  e = 1 + h * (30.338060743482458 + h * (325.79251299657392 + h * (1536.729586084437 + h * (3199.8582195085955 + h * (2553.0504064331644 + h * (474.52854120695537 + h * -22.440952446585818))))));
206262
206309
  }
206263
206310
  j = ErfUtils.a8(a);
@@ -247703,18 +247750,18 @@ let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
247703
247750
  }
247704
247751
  f6(a, b) {
247705
247752
  let c = 0;
247706
- if (b.v >= 0) {
247707
- c = b.v / 256;
247753
+ if (b.w >= 0) {
247754
+ c = b.w / 256;
247708
247755
  }
247709
247756
  else {
247710
247757
  c = this.bl.defaultColumnWidth / 256;
247711
247758
  }
247712
- SpreadsheetMLMain.zy(this, intSToU((b.q + 1)), intSToU((b.r + 1)), toNullable(Number_$type, c), b.b._cd ? 0 : a._a8(b.b), b.i, void 0, b.v >= 0 && (b.v != this.bl.defaultColumnWidth || b.j), void 0, b.m, a._ae(b));
247759
+ SpreadsheetMLMain.zy(this, intSToU((b.r + 1)), intSToU((b.s + 1)), toNullable(Number_$type, c), b.b._cd ? 0 : a._a8(b.b), b.j, void 0, b.w >= 0 && (b.w != this.bl.defaultColumnWidth || b.k), void 0, b.n, a._ae(b));
247713
247760
  this.ad.k();
247714
247761
  }
247715
247762
  f7(a) {
247716
247763
  let b = this.bl._ff;
247717
- if (b.count == 1 && b._inner[0].k) {
247764
+ if (b.count == 1 && b._inner[0].l) {
247718
247765
  return;
247719
247766
  }
247720
247767
  SpreadsheetMLMain.z3(this);
@@ -247850,12 +247897,13 @@ let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
247850
247897
  this.ad.k();
247851
247898
  }
247852
247899
  ge(at, au) {
247853
- let av = this.bl._cx(au.p, au.n, Math.max(0, au.q - 1), Math.max(0, au.o - 1));
247854
- if (av == null) {
247900
+ let av = this.bl._c4(au.p, Math.max(0, au.q - 1), au.n, Math.max(0, au.o - 1), false, false);
247901
+ let aw = this.bl._cw(av);
247902
+ if (aw == null) {
247855
247903
  return;
247856
247904
  }
247857
- let aw = av._u ? av._k._c7(av._v, 1, false, true, true) : av._toString2(1, false, true, true);
247858
- SpreadsheetMLMain.aa1(this, aw);
247905
+ let ax = aw._u ? aw._k._c7(aw._v, 1, false, true, true) : aw._toString2(1, false, true, true);
247906
+ SpreadsheetMLMain.aa1(this, ax);
247859
247907
  this.ad.k();
247860
247908
  }
247861
247909
  static gf(at, au) {
@@ -248264,7 +248312,7 @@ let ObjectModelWorksheetPartManager = /*@__PURE__*/ (() => {
248264
248312
  }
248265
248313
  g1() {
248266
248314
  let at = this.bl._ek ? toNullable(Number_$type, this.bl.getDefaultColumnWidth(0)) : toNullable(Number_$type, null);
248267
- if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl._ff, (au) => au.i)) {
248315
+ if (nullableNotEquals(at, null) && Enumerable.b(WorksheetColumnBlock.$, this.bl._ff, (au) => au.j)) {
248268
248316
  at = toNullable(Number_$type, 0);
248269
248317
  }
248270
248318
  SpreadsheetMLMain.adj(this, this.bl.defaultRowHeight / 20, truncate(MathUtilities.j(this.bl.getDefaultColumnWidth(2))), at, this.bl._d4, this.bl._dv, this.bl._dt, this.bl._ds);
@@ -288755,7 +288803,7 @@ let ChartSerializer = /*@__PURE__*/ (() => {
288755
288803
  let i = h.l;
288756
288804
  let j = a.chartType == -4169;
288757
288805
  ChartSerializer.bt(i, g, b, e, d, false, j);
288758
- if (f == false) {
288806
+ if (f == false || c.xValues != null) {
288759
288807
  let k = c.xValues != null ? typeCast(SeriesValuesBase.$, c.xValues) : typeCast(SeriesValuesBase.$, c.values);
288760
288808
  if (d > 0 && b.xValues != null && b.xValues._ad == false) {
288761
288809
  k = b.xValues;
@@ -296758,6 +296806,7 @@ let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
296758
296806
  let $ret = new CT_NonVisualDrawingProps();
296759
296807
  $ret.c = new ST_DrawingElementId(1, intSToU(h.value));
296760
296808
  $ret.f = i;
296809
+ $ret.d = a.visible == false;
296761
296810
  return $ret;
296762
296811
  })());
296763
296812
  $ret.b = new CT_NonVisualGraphicFrameProperties();
@@ -296803,6 +296852,7 @@ let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
296803
296852
  let $ret = new CT_NonVisualDrawingProps();
296804
296853
  $ret.c = new ST_DrawingElementId(1, intSToU(h.value));
296805
296854
  $ret.f = i;
296855
+ $ret.d = a.visible == false;
296806
296856
  return $ret;
296807
296857
  })());
296808
296858
  $ret.b = new CT_NonVisualGraphicFrameProperties();
@@ -296856,6 +296906,7 @@ let ObjectModelDrawingPartManager = /*@__PURE__*/ (() => {
296856
296906
  $ret.a = ((() => {
296857
296907
  let $ret = new CT_NonVisualDrawingProps();
296858
296908
  $ret.c = ST_DrawingElementId.a(c.c);
296909
+ $ret.d = a.visible == false;
296859
296910
  $ret.f = a._b9;
296860
296911
  return $ret;
296861
296912
  })());
@@ -307276,11 +307327,11 @@ let WorkbookSaveManagerExcel2003 = /*@__PURE__*/ (() => {
307276
307327
  }
307277
307328
  _dg(a) {
307278
307329
  let b = new List$1(WorksheetColumnBlock.$, 1, a._ff);
307279
- if (b.count == 1 && b._inner[0].k) {
307330
+ if (b.count == 1 && b._inner[0].l) {
307280
307331
  return;
307281
307332
  }
307282
307333
  for (let c of fromEnum(b)) {
307283
- if (c.k) {
307334
+ if (c.l) {
307284
307335
  continue;
307285
307336
  }
307286
307337
  this._ca.k(c);
@@ -317433,24 +317484,24 @@ let COLINFORecord = /*@__PURE__*/ (() => {
317433
317484
  if (c == null) {
317434
317485
  return;
317435
317486
  }
317436
- a._cl._write17(b.q);
317437
- let d = b.r;
317487
+ a._cl._write17(b.r);
317488
+ let d = b.s;
317438
317489
  if (d == 255) {
317439
317490
  d = 256;
317440
317491
  }
317441
317492
  a._cl._write17(d);
317442
- if (b.v < 0) {
317493
+ if (b.w < 0) {
317443
317494
  a._cl._write17(c.defaultColumnWidth);
317444
317495
  }
317445
317496
  else {
317446
- a._cl._write17(b.v);
317497
+ a._cl._write17(b.w);
317447
317498
  }
317448
317499
  a._cl._write17(a._a8(b.b));
317449
317500
  let e = 2;
317450
- if (b.i) {
317501
+ if (b.j) {
317451
317502
  e |= 1;
317452
317503
  }
317453
- e |= (b.m << 8);
317504
+ e |= (b.n << 8);
317454
317505
  if (a._ae(b)) {
317455
317506
  e |= 4096;
317456
317507
  }
@@ -321646,7 +321697,7 @@ let STANDARDWIDTHRecord = /*@__PURE__*/ (() => {
321646
321697
  return;
321647
321698
  }
321648
321699
  let c = b.defaultColumnWidth;
321649
- if (Enumerable.b(WorksheetColumnBlock.$, b._ff, (d) => d.i)) {
321700
+ if (Enumerable.b(WorksheetColumnBlock.$, b._ff, (d) => d.j)) {
321650
321701
  c = 0;
321651
321702
  }
321652
321703
  a._cl._write17(c);