@univerjs/core 0.1.10 → 0.1.11

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 (65) hide show
  1. package/lib/cjs/index.js +9 -9
  2. package/lib/es/index.js +570 -567
  3. package/lib/types/common/unit.d.ts +1 -1
  4. package/lib/types/docs/data-model/action-types.d.ts +1 -1
  5. package/lib/types/docs/data-model/apply-utils/update-apply.d.ts +1 -1
  6. package/lib/types/docs/data-model/document-data-model.d.ts +4 -5
  7. package/lib/types/docs/data-model/empty-snapshot.d.ts +1 -1
  8. package/lib/types/docs/data-model/text-x/text-x.d.ts +2 -2
  9. package/lib/types/docs/data-model/text-x/utils.d.ts +2 -2
  10. package/lib/types/observer/observable-hooks.d.ts +1 -1
  11. package/lib/types/services/command/command.service.d.ts +2 -2
  12. package/lib/types/services/context/context.service.d.ts +1 -1
  13. package/lib/types/services/floating-object/floating-object-manager.service.d.ts +3 -3
  14. package/lib/types/services/instance/instance.service.d.ts +7 -7
  15. package/lib/types/services/lifecycle/lifecycle.service.d.ts +4 -4
  16. package/lib/types/services/locale/locale.service.d.ts +3 -3
  17. package/lib/types/services/permission/permission.service.d.ts +4 -4
  18. package/lib/types/services/permission/univer.permission.service.d.ts +2 -2
  19. package/lib/types/services/plugin/plugin-holder.d.ts +5 -5
  20. package/lib/types/services/plugin/plugin.d.ts +3 -3
  21. package/lib/types/services/plugin/plugin.service.d.ts +3 -3
  22. package/lib/types/services/resource-loader/resource-loader.service.d.ts +5 -5
  23. package/lib/types/services/resource-loader/type.d.ts +1 -1
  24. package/lib/types/services/resource-manager/resource-manager.service.d.ts +2 -2
  25. package/lib/types/services/resource-manager/type.d.ts +3 -3
  26. package/lib/types/services/snapshot/__tests__/snapshot-mock.d.ts +3 -3
  27. package/lib/types/services/snapshot/snapshot-server.service.d.ts +1 -1
  28. package/lib/types/services/snapshot/snapshot-transform.d.ts +4 -4
  29. package/lib/types/services/snapshot/snapshot-utils.d.ts +5 -5
  30. package/lib/types/services/theme/theme.service.d.ts +1 -1
  31. package/lib/types/services/undoredo/undoredo.service.d.ts +6 -6
  32. package/lib/types/shared/color/color.d.ts +1 -1
  33. package/lib/types/shared/common.d.ts +5 -5
  34. package/lib/types/shared/lifecycle.d.ts +3 -3
  35. package/lib/types/shared/object-matrix-query.d.ts +1 -1
  36. package/lib/types/shared/object-matrix.d.ts +1 -1
  37. package/lib/types/shared/rectangle.d.ts +1 -1
  38. package/lib/types/shared/rxjs.d.ts +1 -1
  39. package/lib/types/sheets/__tests__/create-core-test-bed.d.ts +1 -1
  40. package/lib/types/sheets/column-manager.d.ts +2 -2
  41. package/lib/types/sheets/empty-snapshot.d.ts +1 -1
  42. package/lib/types/sheets/range.d.ts +4 -4
  43. package/lib/types/sheets/row-manager.d.ts +3 -3
  44. package/lib/types/sheets/styles.d.ts +1 -1
  45. package/lib/types/sheets/view-model.d.ts +3 -3
  46. package/lib/types/sheets/workbook.d.ts +6 -6
  47. package/lib/types/sheets/worksheet.d.ts +7 -7
  48. package/lib/types/slides/slide-model.d.ts +1 -2
  49. package/lib/types/types/enum/locale-type.d.ts +2 -1
  50. package/lib/types/types/interfaces/i-cell-custom-render.d.ts +3 -3
  51. package/lib/types/types/interfaces/i-cell-data.d.ts +5 -5
  52. package/lib/types/types/interfaces/i-cell-validation-data.d.ts +1 -1
  53. package/lib/types/types/interfaces/i-data-validation.d.ts +5 -5
  54. package/lib/types/types/interfaces/i-document-data.d.ts +8 -3
  55. package/lib/types/types/interfaces/i-extra-model-data.d.ts +0 -6
  56. package/lib/types/types/interfaces/i-selection-data.d.ts +1 -1
  57. package/lib/types/types/interfaces/i-shape-properties.d.ts +1 -1
  58. package/lib/types/types/interfaces/i-slide-data.d.ts +10 -10
  59. package/lib/types/types/interfaces/i-style-data.d.ts +3 -3
  60. package/lib/types/types/interfaces/i-univer-data.d.ts +4 -4
  61. package/lib/types/types/interfaces/i-workbook-data.d.ts +4 -4
  62. package/lib/types/types/interfaces/i-worksheet-data.d.ts +6 -6
  63. package/lib/types/univer.d.ts +7 -7
  64. package/lib/umd/index.js +8 -8
  65. package/package.json +8 -8
package/lib/es/index.js CHANGED
@@ -1,14 +1,14 @@
1
- var ws = Object.defineProperty;
2
- var Ls = (t, e, s) => e in t ? ws(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
1
+ var Ss = Object.defineProperty;
2
+ var Ls = (t, e, s) => e in t ? Ss(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
3
3
  var d = (t, e, s) => (Ls(t, typeof e != "symbol" ? e + "" : e, s), s);
4
- import { Subject as H, Observable as ie, filter as Xt, merge as bs, timer as vs, BehaviorSubject as q, map as Us, distinctUntilChanged as Ts, combineLatest as Ms } from "rxjs";
5
- import { filter as Ds, debounceTime as ps, first as xs, map as Ps } from "rxjs/operators";
4
+ import { Subject as H, Observable as ie, filter as Xt, merge as bs, timer as vs, BehaviorSubject as q, map as Us, distinctUntilChanged as Ts, combineLatest as Ms, finalize as Ds } from "rxjs";
5
+ import { filter as ps, debounceTime as xs, first as Ps, map as Hs } from "rxjs/operators";
6
6
  import { createIdentifier as G, Inject as P, Injector as tt } from "@wendellhu/redi";
7
- function Hs() {
8
- Fs();
7
+ function Fs() {
8
+ Ws();
9
9
  }
10
10
  const dt = typeof global < "u" ? global : typeof self < "u" ? self : window;
11
- function Fs() {
11
+ function Ws() {
12
12
  typeof dt.requestIdleCallback != "function" && (dt.requestIdleCallback = function(s) {
13
13
  const n = Date.now();
14
14
  return setTimeout(function() {
@@ -24,7 +24,7 @@ function Fs() {
24
24
  clearTimeout(s);
25
25
  });
26
26
  }
27
- function Ws(t, e) {
27
+ function Gs(t, e) {
28
28
  let s = 0, n = t.length - 1;
29
29
  for (; s <= n; ) {
30
30
  const r = Math.floor((n + s) / 2);
@@ -39,7 +39,7 @@ function Ws(t, e) {
39
39
  }
40
40
  return -1;
41
41
  }
42
- function Gs(t, e) {
42
+ function Bs(t, e) {
43
43
  let s = 0, n = 0, r = 0, i = -1, o = t.length - 1;
44
44
  for (; s < t.length && o >= 0 && o >= s; ) {
45
45
  if (n = t[o], o === 0 ? r = 0 : r = t[o - 1], e >= r && e <= n) {
@@ -54,16 +54,16 @@ function Gs(t, e) {
54
54
  }
55
55
  return i;
56
56
  }
57
- function Co(t, e) {
57
+ function Oo(t, e) {
58
58
  let s = t.length - 1;
59
- return e < 0 ? -1 : e < t[0] ? 0 : e > t[t.length - 1] ? Number.POSITIVE_INFINITY : (t.length < 40 || e <= t[20] || e >= t[s - 20] ? s = Gs(t, e) : s = Ws(t, e), s);
59
+ return e < 0 ? -1 : e < t[0] ? 0 : e > t[t.length - 1] ? Number.POSITIVE_INFINITY : (t.length < 40 || e <= t[20] || e >= t[s - 20] ? s = Bs(t, e) : s = Gs(t, e), s);
60
60
  }
61
- function Oo(t) {
61
+ function Ao(t) {
62
62
  const e = new Blob([t], { type: "text/javascript" });
63
63
  return window.URL.createObjectURL(e);
64
64
  }
65
- var Bs = /* @__PURE__ */ ((t) => (t[t.DEFAULT_SERIES = 0] = "DEFAULT_SERIES", t[t.ALTERNATE_SERIES = 1] = "ALTERNATE_SERIES", t))(Bs || {}), S = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.THIN = 1] = "THIN", t[t.HAIR = 2] = "HAIR", t[t.DOTTED = 3] = "DOTTED", t[t.DASHED = 4] = "DASHED", t[t.DASH_DOT = 5] = "DASH_DOT", t[t.DASH_DOT_DOT = 6] = "DASH_DOT_DOT", t[t.DOUBLE = 7] = "DOUBLE", t[t.MEDIUM = 8] = "MEDIUM", t[t.MEDIUM_DASHED = 9] = "MEDIUM_DASHED", t[t.MEDIUM_DASH_DOT = 10] = "MEDIUM_DASH_DOT", t[t.MEDIUM_DASH_DOT_DOT = 11] = "MEDIUM_DASH_DOT_DOT", t[t.SLANT_DASH_DOT = 12] = "SLANT_DASH_DOT", t[t.THICK = 13] = "THICK", t))(S || {}), $s = /* @__PURE__ */ ((t) => (t.TOP = "top", t.BOTTOM = "bottom", t.LEFT = "left", t.RIGHT = "right", t.NONE = "none", t.ALL = "all", t.OUTSIDE = "outside", t.INSIDE = "inside", t.HORIZONTAL = "horizontal", t.VERTICAL = "vertical", t.TLBR = "tlbr", t.TLBC_TLMR = "tlbc_tlmr", t.TLBR_TLBC_TLMR = "tlbr_tlbc_tlmr", t.BLTR = "bl_tr", t.MLTR_BCTR = "mltr_bctr", t))($s || {}), B = /* @__PURE__ */ ((t) => (t[t.UNSUPPORTED = 0] = "UNSUPPORTED", t[t.RGB = 1] = "RGB", t[t.HEX = 2] = "HEX", t[t.THEME = 3] = "THEME", t))(B || {}), ks = /* @__PURE__ */ ((t) => (t[t.ON = 0] = "ON", t[t.OFF = 1] = "OFF", t))(ks || {}), Vs = /* @__PURE__ */ ((t) => (t[t.PASTE_NORMAL = 0] = "PASTE_NORMAL", t[t.PASTE_NO_BORDERS = 1] = "PASTE_NO_BORDERS", t[t.PASTE_FORMAT = 2] = "PASTE_FORMAT", t[t.PASTE_FORMULA = 3] = "PASTE_FORMULA", t[t.PASTE_DATA_VALIDATION = 4] = "PASTE_DATA_VALIDATION", t[t.PASTE_VALUES = 5] = "PASTE_VALUES", t[t.PASTE_CONDITIONAL_FORMATTING = 6] = "PASTE_CONDITIONAL_FORMATTING", t[t.PASTE_COLUMN_WIDTHS = 7] = "PASTE_COLUMN_WIDTHS", t))(Vs || {}), js = /* @__PURE__ */ ((t) => (t[t.DOCUMENT = 0] = "DOCUMENT", t[t.PROJECT = 1] = "PROJECT", t))(js || {}), Ks = /* @__PURE__ */ ((t) => (t[t.COLUMNS = 0] = "COLUMNS", t[t.ROWS = 1] = "ROWS", t))(Ks || {}), Ys = /* @__PURE__ */ ((t) => (t[t.UP = 0] = "UP", t[t.RIGHT = 1] = "RIGHT", t[t.DOWN = 2] = "DOWN", t[t.LEFT = 3] = "LEFT", t))(Ys || {});
66
- function Ao(t) {
65
+ var $s = /* @__PURE__ */ ((t) => (t[t.DEFAULT_SERIES = 0] = "DEFAULT_SERIES", t[t.ALTERNATE_SERIES = 1] = "ALTERNATE_SERIES", t))($s || {}), w = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.THIN = 1] = "THIN", t[t.HAIR = 2] = "HAIR", t[t.DOTTED = 3] = "DOTTED", t[t.DASHED = 4] = "DASHED", t[t.DASH_DOT = 5] = "DASH_DOT", t[t.DASH_DOT_DOT = 6] = "DASH_DOT_DOT", t[t.DOUBLE = 7] = "DOUBLE", t[t.MEDIUM = 8] = "MEDIUM", t[t.MEDIUM_DASHED = 9] = "MEDIUM_DASHED", t[t.MEDIUM_DASH_DOT = 10] = "MEDIUM_DASH_DOT", t[t.MEDIUM_DASH_DOT_DOT = 11] = "MEDIUM_DASH_DOT_DOT", t[t.SLANT_DASH_DOT = 12] = "SLANT_DASH_DOT", t[t.THICK = 13] = "THICK", t))(w || {}), ks = /* @__PURE__ */ ((t) => (t.TOP = "top", t.BOTTOM = "bottom", t.LEFT = "left", t.RIGHT = "right", t.NONE = "none", t.ALL = "all", t.OUTSIDE = "outside", t.INSIDE = "inside", t.HORIZONTAL = "horizontal", t.VERTICAL = "vertical", t.TLBR = "tlbr", t.TLBC_TLMR = "tlbc_tlmr", t.TLBR_TLBC_TLMR = "tlbr_tlbc_tlmr", t.BLTR = "bl_tr", t.MLTR_BCTR = "mltr_bctr", t))(ks || {}), B = /* @__PURE__ */ ((t) => (t[t.UNSUPPORTED = 0] = "UNSUPPORTED", t[t.RGB = 1] = "RGB", t[t.HEX = 2] = "HEX", t[t.THEME = 3] = "THEME", t))(B || {}), Vs = /* @__PURE__ */ ((t) => (t[t.ON = 0] = "ON", t[t.OFF = 1] = "OFF", t))(Vs || {}), js = /* @__PURE__ */ ((t) => (t[t.PASTE_NORMAL = 0] = "PASTE_NORMAL", t[t.PASTE_NO_BORDERS = 1] = "PASTE_NO_BORDERS", t[t.PASTE_FORMAT = 2] = "PASTE_FORMAT", t[t.PASTE_FORMULA = 3] = "PASTE_FORMULA", t[t.PASTE_DATA_VALIDATION = 4] = "PASTE_DATA_VALIDATION", t[t.PASTE_VALUES = 5] = "PASTE_VALUES", t[t.PASTE_CONDITIONAL_FORMATTING = 6] = "PASTE_CONDITIONAL_FORMATTING", t[t.PASTE_COLUMN_WIDTHS = 7] = "PASTE_COLUMN_WIDTHS", t))(js || {}), Ks = /* @__PURE__ */ ((t) => (t[t.DOCUMENT = 0] = "DOCUMENT", t[t.PROJECT = 1] = "PROJECT", t))(Ks || {}), Ys = /* @__PURE__ */ ((t) => (t[t.COLUMNS = 0] = "COLUMNS", t[t.ROWS = 1] = "ROWS", t))(Ys || {}), zs = /* @__PURE__ */ ((t) => (t[t.UP = 0] = "UP", t[t.RIGHT = 1] = "RIGHT", t[t.DOWN = 2] = "DOWN", t[t.LEFT = 3] = "LEFT", t))(zs || {});
66
+ function Io(t) {
67
67
  switch (t) {
68
68
  case 3:
69
69
  return 1;
@@ -75,8 +75,8 @@ function Ao(t) {
75
75
  return 0;
76
76
  }
77
77
  }
78
- var zs = /* @__PURE__ */ ((t) => (t[t.NUMBER_FORMAT_TYPE_UNSPECIFIED = 0] = "NUMBER_FORMAT_TYPE_UNSPECIFIED", t[t.TEXT = 1] = "TEXT", t[t.NUMBER = 2] = "NUMBER", t[t.PERCENT = 3] = "PERCENT", t[t.CURRENCY = 4] = "CURRENCY", t[t.DATE = 5] = "DATE", t[t.TIME = 6] = "TIME", t[t.DATE_TIME = 7] = "DATE_TIME", t[t.SCIENTIFIC = 8] = "SCIENTIFIC", t))(zs || {}), Xs = /* @__PURE__ */ ((t) => (t[t.INTERPOLATION_POINT_TYPE_UNSPECIFIED = 0] = "INTERPOLATION_POINT_TYPE_UNSPECIFIED", t[t.MIN = 1] = "MIN", t[t.MAX = 2] = "MAX", t[t.NUMBER = 3] = "NUMBER", t[t.PERCENT = 4] = "PERCENT", t[t.PERCENTILE = 5] = "PERCENTILE", t))(Xs || {}), ut = /* @__PURE__ */ ((t) => (t.EN_US = "enUS", t.ZH_CN = "zhCN", t))(ut || {}), Js = /* @__PURE__ */ ((t) => (t[t.RANGE = 0] = "RANGE", t[t.SHEET = 1] = "SHEET", t))(Js || {}), qs = /* @__PURE__ */ ((t) => (t[t.RELATIVE_DATE_UNSPECIFIED = 0] = "RELATIVE_DATE_UNSPECIFIED", t[t.PAST_YEAR = 1] = "PAST_YEAR", t[t.PAST_MONTH = 2] = "PAST_MONTH", t[t.PAST_WEEK = 3] = "PAST_WEEK", t[t.YESTERDAY = 4] = "YESTERDAY", t[t.TODAY = 5] = "TODAY", t[t.TOMORROW = 6] = "TOMORROW", t))(qs || {}), Zs = /* @__PURE__ */ ((t) => (t[t.TYPE_UNSPECIFIED = 0] = "TYPE_UNSPECIFIED", t[t.TEXT_BOX = 1] = "TEXT_BOX", t[t.RECTANGLE = 2] = "RECTANGLE", t[t.ROUND_RECTANGLE = 3] = "ROUND_RECTANGLE", t[t.ELLIPSE = 4] = "ELLIPSE", t[t.ARC = 5] = "ARC", t[t.BENT_ARROW = 6] = "BENT_ARROW", t[t.BENT_UP_ARROW = 7] = "BENT_UP_ARROW", t[t.BEVEL = 8] = "BEVEL", t[t.BLOCK_ARC = 9] = "BLOCK_ARC", t[t.BRACE_PAIR = 10] = "BRACE_PAIR", t[t.BRACKET_PAIR = 11] = "BRACKET_PAIR", t[t.CAN = 12] = "CAN", t[t.CHEVRON = 13] = "CHEVRON", t[t.CHORD = 14] = "CHORD", t[t.CLOUD = 15] = "CLOUD", t[t.CORNER = 16] = "CORNER", t[t.CUBE = 17] = "CUBE", t[t.CURVED_DOWN_ARROW = 18] = "CURVED_DOWN_ARROW", t[t.CURVED_LEFT_ARROW = 19] = "CURVED_LEFT_ARROW", t[t.CURVED_RIGHT_ARROW = 20] = "CURVED_RIGHT_ARROW", t[t.CURVED_UP_ARROW = 21] = "CURVED_UP_ARROW", t[t.DECAGON = 22] = "DECAGON", t[t.DIAGONAL_STRIPE = 23] = "DIAGONAL_STRIPE", t[t.DIAMOND = 24] = "DIAMOND", t[t.DODECAGON = 25] = "DODECAGON", t[t.DONUT = 26] = "DONUT", t[t.DOUBLE_WAVE = 27] = "DOUBLE_WAVE", t[t.DOWN_ARROW = 28] = "DOWN_ARROW", t[t.DOWN_ARROW_CALLOUT = 29] = "DOWN_ARROW_CALLOUT", t[t.FOLDED_CORNER = 30] = "FOLDED_CORNER", t[t.FRAME = 31] = "FRAME", t[t.HALF_FRAME = 32] = "HALF_FRAME", t[t.HEART = 33] = "HEART", t[t.HEPTAGON = 34] = "HEPTAGON", t[t.HEXAGON = 35] = "HEXAGON", t[t.HOME_PLATE = 36] = "HOME_PLATE", t[t.HORIZONTAL_SCROLL = 37] = "HORIZONTAL_SCROLL", t[t.IRREGULAR_SEAL_1 = 38] = "IRREGULAR_SEAL_1", t[t.IRREGULAR_SEAL_2 = 39] = "IRREGULAR_SEAL_2", t[t.LEFT_ARROW = 40] = "LEFT_ARROW", t[t.LEFT_ARROW_CALLOUT = 41] = "LEFT_ARROW_CALLOUT", t[t.LEFT_BRACE = 42] = "LEFT_BRACE", t[t.LEFT_BRACKET = 43] = "LEFT_BRACKET", t[t.LEFT_RIGHT_ARROW = 44] = "LEFT_RIGHT_ARROW", t[t.LEFT_RIGHT_ARROW_CALLOUT = 45] = "LEFT_RIGHT_ARROW_CALLOUT", t[t.LEFT_RIGHT_UP_ARROW = 46] = "LEFT_RIGHT_UP_ARROW", t[t.LEFT_UP_ARROW = 47] = "LEFT_UP_ARROW", t[t.LIGHTNING_BOLT = 48] = "LIGHTNING_BOLT", t[t.MATH_DIVIDE = 49] = "MATH_DIVIDE", t[t.MATH_EQUAL = 50] = "MATH_EQUAL", t[t.MATH_MINUS = 51] = "MATH_MINUS", t[t.MATH_MULTIPLY = 52] = "MATH_MULTIPLY", t[t.MATH_NOT_EQUAL = 53] = "MATH_NOT_EQUAL", t[t.MATH_PLUS = 54] = "MATH_PLUS", t[t.MOON = 55] = "MOON", t[t.NO_SMOKING = 56] = "NO_SMOKING", t[t.NOTCHED_RIGHT_ARROW = 57] = "NOTCHED_RIGHT_ARROW", t[t.OCTAGON = 58] = "OCTAGON", t[t.PARALLELOGRAM = 59] = "PARALLELOGRAM", t[t.PENTAGON = 60] = "PENTAGON", t[t.PIE = 61] = "PIE", t[t.PLAQUE = 62] = "PLAQUE", t[t.PLUS = 63] = "PLUS", t[t.QUAD_ARROW = 64] = "QUAD_ARROW", t[t.QUAD_ARROW_CALLOUT = 65] = "QUAD_ARROW_CALLOUT", t[t.RIBBON = 66] = "RIBBON", t[t.RIBBON_2 = 67] = "RIBBON_2", t[t.RIGHT_ARROW = 68] = "RIGHT_ARROW", t[t.RIGHT_ARROW_CALLOUT = 69] = "RIGHT_ARROW_CALLOUT", t[t.RIGHT_BRACE = 70] = "RIGHT_BRACE", t[t.RIGHT_BRACKET = 71] = "RIGHT_BRACKET", t[t.ROUND_1_RECTANGLE = 72] = "ROUND_1_RECTANGLE", t[t.ROUND_2_DIAGONAL_RECTANGLE = 73] = "ROUND_2_DIAGONAL_RECTANGLE", t[t.ROUND_2_SAME_RECTANGLE = 74] = "ROUND_2_SAME_RECTANGLE", t[t.RIGHT_TRIANGLE = 75] = "RIGHT_TRIANGLE", t[t.SMILEY_FACE = 76] = "SMILEY_FACE", t[t.SNIP_1_RECTANGLE = 77] = "SNIP_1_RECTANGLE", t[t.SNIP_2_DIAGONAL_RECTANGLE = 78] = "SNIP_2_DIAGONAL_RECTANGLE", t[t.SNIP_2_SAME_RECTANGLE = 79] = "SNIP_2_SAME_RECTANGLE", t[t.SNIP_ROUND_RECTANGLE = 80] = "SNIP_ROUND_RECTANGLE", t[t.STAR_10 = 81] = "STAR_10", t[t.STAR_12 = 82] = "STAR_12", t[t.STAR_16 = 83] = "STAR_16", t[t.STAR_24 = 84] = "STAR_24", t[t.STAR_32 = 85] = "STAR_32", t[t.STAR_4 = 86] = "STAR_4", t[t.STAR_5 = 87] = "STAR_5", t[t.STAR_6 = 88] = "STAR_6", t[t.STAR_7 = 89] = "STAR_7", t[t.STAR_8 = 90] = "STAR_8", t[t.STRIPED_RIGHT_ARROW = 91] = "STRIPED_RIGHT_ARROW", t[t.SUN = 92] = "SUN", t[t.TRAPEZOID = 93] = "TRAPEZOID", t[t.TRIANGLE = 94] = "TRIANGLE", t[t.UP_ARROW = 95] = "UP_ARROW", t[t.UP_ARROW_CALLOUT = 96] = "UP_ARROW_CALLOUT", t[t.UP_DOWN_ARROW = 97] = "UP_DOWN_ARROW", t[t.UTURN_ARROW = 98] = "UTURN_ARROW", t[t.VERTICAL_SCROLL = 99] = "VERTICAL_SCROLL", t[t.WAVE = 100] = "WAVE", t[t.WEDGE_ELLIPSE_CALLOUT = 101] = "WEDGE_ELLIPSE_CALLOUT", t[t.WEDGE_RECTANGLE_CALLOUT = 102] = "WEDGE_RECTANGLE_CALLOUT", t[t.WEDGE_ROUND_RECTANGLE_CALLOUT = 103] = "WEDGE_ROUND_RECTANGLE_CALLOUT", t[t.FLOW_CHART_ALTERNATE_PROCESS = 104] = "FLOW_CHART_ALTERNATE_PROCESS", t[t.FLOW_CHART_COLLATE = 105] = "FLOW_CHART_COLLATE", t[t.FLOW_CHART_CONNECTOR = 106] = "FLOW_CHART_CONNECTOR", t[t.FLOW_CHART_DECISION = 107] = "FLOW_CHART_DECISION", t[t.FLOW_CHART_DELAY = 108] = "FLOW_CHART_DELAY", t[t.FLOW_CHART_DISPLAY = 109] = "FLOW_CHART_DISPLAY", t[t.FLOW_CHART_DOCUMENT = 110] = "FLOW_CHART_DOCUMENT", t[t.FLOW_CHART_EXTRACT = 111] = "FLOW_CHART_EXTRACT", t[t.FLOW_CHART_INPUT_OUTPUT = 112] = "FLOW_CHART_INPUT_OUTPUT", t[t.FLOW_CHART_INTERNAL_STORAGE = 113] = "FLOW_CHART_INTERNAL_STORAGE", t[t.FLOW_CHART_MAGNETIC_DISK = 114] = "FLOW_CHART_MAGNETIC_DISK", t[t.FLOW_CHART_MAGNETIC_DRUM = 115] = "FLOW_CHART_MAGNETIC_DRUM", t[t.FLOW_CHART_MAGNETIC_TAPE = 116] = "FLOW_CHART_MAGNETIC_TAPE", t[t.FLOW_CHART_MANUAL_INPUT = 117] = "FLOW_CHART_MANUAL_INPUT", t[t.FLOW_CHART_MANUAL_OPERATION = 118] = "FLOW_CHART_MANUAL_OPERATION", t[t.FLOW_CHART_MERGE = 119] = "FLOW_CHART_MERGE", t[t.FLOW_CHART_MULTIDOCUMENT = 120] = "FLOW_CHART_MULTIDOCUMENT", t[t.FLOW_CHART_OFFLINE_STORAGE = 121] = "FLOW_CHART_OFFLINE_STORAGE", t[t.FLOW_CHART_OFFPAGE_CONNECTOR = 122] = "FLOW_CHART_OFFPAGE_CONNECTOR", t[t.FLOW_CHART_ONLINE_STORAGE = 123] = "FLOW_CHART_ONLINE_STORAGE", t[t.FLOW_CHART_OR = 124] = "FLOW_CHART_OR", t[t.FLOW_CHART_PREDEFINED_PROCESS = 125] = "FLOW_CHART_PREDEFINED_PROCESS", t[t.FLOW_CHART_PREPARATION = 126] = "FLOW_CHART_PREPARATION", t[t.FLOW_CHART_PROCESS = 127] = "FLOW_CHART_PROCESS", t[t.FLOW_CHART_PUNCHED_CARD = 128] = "FLOW_CHART_PUNCHED_CARD", t[t.FLOW_CHART_PUNCHED_TAPE = 129] = "FLOW_CHART_PUNCHED_TAPE", t[t.FLOW_CHART_SORT = 130] = "FLOW_CHART_SORT", t[t.FLOW_CHART_SUMMING_JUNCTION = 131] = "FLOW_CHART_SUMMING_JUNCTION", t[t.FLOW_CHART_TERMINATOR = 132] = "FLOW_CHART_TERMINATOR", t[t.ARROW_EAST = 133] = "ARROW_EAST", t[t.ARROW_NORTH_EAST = 134] = "ARROW_NORTH_EAST", t[t.ARROW_NORTH = 135] = "ARROW_NORTH", t[t.SPEECH = 136] = "SPEECH", t[t.STARBURST = 137] = "STARBURST", t[t.TEARDROP = 138] = "TEARDROP", t[t.ELLIPSE_RIBBON = 139] = "ELLIPSE_RIBBON", t[t.ELLIPSE_RIBBON_2 = 140] = "ELLIPSE_RIBBON_2", t[t.CLOUD_CALLOUT = 141] = "CLOUD_CALLOUT", t[t.CUSTOM = 142] = "CUSTOM", t))(Zs || {}), oe = /* @__PURE__ */ ((t) => (t[t.GRID = 0] = "GRID", t[t.KANBAN = 1] = "KANBAN", t[t.GANTT = 2] = "GANTT", t))(oe || {}), wt = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", t[t.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", t))(wt || {}), Qs = /* @__PURE__ */ ((t) => (t[t.DASH = 0] = "DASH", t[t.DASH_DOT_DOT_HEAVY = 1] = "DASH_DOT_DOT_HEAVY", t[t.DASH_DOT_HEAVY = 2] = "DASH_DOT_HEAVY", t[t.DASHED_HEAVY = 3] = "DASHED_HEAVY", t[t.DASH_LONG = 4] = "DASH_LONG", t[t.DASH_LONG_HEAVY = 5] = "DASH_LONG_HEAVY", t[t.DOT_DASH = 6] = "DOT_DASH", t[t.DOT_DOT_DASH = 7] = "DOT_DOT_DASH", t[t.DOTTED = 8] = "DOTTED", t[t.DOTTED_HEAVY = 9] = "DOTTED_HEAVY", t[t.DOUBLE = 10] = "DOUBLE", t[t.NONE = 11] = "NONE", t[t.SINGLE = 12] = "SINGLE", t[t.THICK = 13] = "THICK", t[t.WAVE = 14] = "WAVE", t[t.WAVY_DOUBLE = 15] = "WAVY_DOUBLE", t[t.WAVY_HEAVY = 16] = "WAVY_HEAVY", t[t.WORDS = 17] = "WORDS", t))(Qs || {}), st = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.LEFT = 1] = "LEFT", t[t.CENTER = 2] = "CENTER", t[t.RIGHT = 3] = "RIGHT", t[t.JUSTIFIED = 4] = "JUSTIFIED", t))(st || {}), at = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.TOP = 1] = "TOP", t[t.MIDDLE = 2] = "MIDDLE", t[t.BOTTOM = 3] = "BOTTOM", t))(at || {}), Lt = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.OVERFLOW = 1] = "OVERFLOW", t[t.CLIP = 2] = "CLIP", t[t.WRAP = 3] = "WRAP", t))(Lt || {}), Jt = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ITALIC = 1] = "ITALIC", t))(Jt || {}), qt = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.BOLD = 1] = "BOLD", t))(qt || {}), ct = /* @__PURE__ */ ((t) => (t[t.NORMAL = 1] = "NORMAL", t[t.SUBSCRIPT = 2] = "SUBSCRIPT", t[t.SUPERSCRIPT = 3] = "SUPERSCRIPT", t))(ct || {}), C = /* @__PURE__ */ ((t) => (t[t.FALSE = 0] = "FALSE", t[t.TRUE = 1] = "TRUE", t))(C || {}), nt = /* @__PURE__ */ ((t) => (t[t.STRING = 1] = "STRING", t[t.NUMBER = 2] = "NUMBER", t[t.BOOLEAN = 3] = "BOOLEAN", t[t.FORCE_STRING = 4] = "FORCE_STRING", t))(nt || {}), x = /* @__PURE__ */ ((t) => (t[t.DARK1 = 0] = "DARK1", t[t.LIGHT1 = 1] = "LIGHT1", t[t.DARK2 = 2] = "DARK2", t[t.LIGHT2 = 3] = "LIGHT2", t[t.ACCENT1 = 4] = "ACCENT1", t[t.ACCENT2 = 5] = "ACCENT2", t[t.ACCENT3 = 6] = "ACCENT3", t[t.ACCENT4 = 7] = "ACCENT4", t[t.ACCENT5 = 8] = "ACCENT5", t[t.ACCENT6 = 9] = "ACCENT6", t[t.HYPERLINK = 10] = "HYPERLINK", t[t.FOLLOWED_HYPERLINK = 11] = "FOLLOWED_HYPERLINK", t))(x || {}), ue = /* @__PURE__ */ ((t) => (t.OFFICE = "Office", t.OFFICE_2007_2010 = "Office 2007-2010", t.GRAYSCALE = "Grayscale", t.BLUE_WARM = "Blue Warm", t.BLUE = "Blue", t.BLUE_II = "Blue II", t.BLUE_GREEN = "Blue Green", t.GREEN = "Green", t.GREEN_YELLOW = "Green Yellow", t.YELLOW = "Yellow", t.YELLOW_ORANGE = "Yellow Orange", t.ORANGE = "Orange", t.ORANGE_RED = "Orange Red", t.RED_ORANGE = "Red Orange", t.RED = "Red", t.RED_VIOLET = "Red Violet", t.VIOLET = "Violet", t.VIOLET_II = "Violet II", t.MEDIAN = "Median", t.PAPER = "Paper", t.MARQUEE = "Marquee", t.SLIPSTREAM = "Slipstream", t.Aspect = "Aspect", t))(ue || {});
79
- const ys = {
78
+ var Xs = /* @__PURE__ */ ((t) => (t[t.NUMBER_FORMAT_TYPE_UNSPECIFIED = 0] = "NUMBER_FORMAT_TYPE_UNSPECIFIED", t[t.TEXT = 1] = "TEXT", t[t.NUMBER = 2] = "NUMBER", t[t.PERCENT = 3] = "PERCENT", t[t.CURRENCY = 4] = "CURRENCY", t[t.DATE = 5] = "DATE", t[t.TIME = 6] = "TIME", t[t.DATE_TIME = 7] = "DATE_TIME", t[t.SCIENTIFIC = 8] = "SCIENTIFIC", t))(Xs || {}), Js = /* @__PURE__ */ ((t) => (t[t.INTERPOLATION_POINT_TYPE_UNSPECIFIED = 0] = "INTERPOLATION_POINT_TYPE_UNSPECIFIED", t[t.MIN = 1] = "MIN", t[t.MAX = 2] = "MAX", t[t.NUMBER = 3] = "NUMBER", t[t.PERCENT = 4] = "PERCENT", t[t.PERCENTILE = 5] = "PERCENTILE", t))(Js || {}), ut = /* @__PURE__ */ ((t) => (t.EN_US = "enUS", t.ZH_CN = "zhCN", t.RU_RU = "ruRU", t))(ut || {}), qs = /* @__PURE__ */ ((t) => (t[t.RANGE = 0] = "RANGE", t[t.SHEET = 1] = "SHEET", t))(qs || {}), Zs = /* @__PURE__ */ ((t) => (t[t.RELATIVE_DATE_UNSPECIFIED = 0] = "RELATIVE_DATE_UNSPECIFIED", t[t.PAST_YEAR = 1] = "PAST_YEAR", t[t.PAST_MONTH = 2] = "PAST_MONTH", t[t.PAST_WEEK = 3] = "PAST_WEEK", t[t.YESTERDAY = 4] = "YESTERDAY", t[t.TODAY = 5] = "TODAY", t[t.TOMORROW = 6] = "TOMORROW", t))(Zs || {}), Qs = /* @__PURE__ */ ((t) => (t[t.TYPE_UNSPECIFIED = 0] = "TYPE_UNSPECIFIED", t[t.TEXT_BOX = 1] = "TEXT_BOX", t[t.RECTANGLE = 2] = "RECTANGLE", t[t.ROUND_RECTANGLE = 3] = "ROUND_RECTANGLE", t[t.ELLIPSE = 4] = "ELLIPSE", t[t.ARC = 5] = "ARC", t[t.BENT_ARROW = 6] = "BENT_ARROW", t[t.BENT_UP_ARROW = 7] = "BENT_UP_ARROW", t[t.BEVEL = 8] = "BEVEL", t[t.BLOCK_ARC = 9] = "BLOCK_ARC", t[t.BRACE_PAIR = 10] = "BRACE_PAIR", t[t.BRACKET_PAIR = 11] = "BRACKET_PAIR", t[t.CAN = 12] = "CAN", t[t.CHEVRON = 13] = "CHEVRON", t[t.CHORD = 14] = "CHORD", t[t.CLOUD = 15] = "CLOUD", t[t.CORNER = 16] = "CORNER", t[t.CUBE = 17] = "CUBE", t[t.CURVED_DOWN_ARROW = 18] = "CURVED_DOWN_ARROW", t[t.CURVED_LEFT_ARROW = 19] = "CURVED_LEFT_ARROW", t[t.CURVED_RIGHT_ARROW = 20] = "CURVED_RIGHT_ARROW", t[t.CURVED_UP_ARROW = 21] = "CURVED_UP_ARROW", t[t.DECAGON = 22] = "DECAGON", t[t.DIAGONAL_STRIPE = 23] = "DIAGONAL_STRIPE", t[t.DIAMOND = 24] = "DIAMOND", t[t.DODECAGON = 25] = "DODECAGON", t[t.DONUT = 26] = "DONUT", t[t.DOUBLE_WAVE = 27] = "DOUBLE_WAVE", t[t.DOWN_ARROW = 28] = "DOWN_ARROW", t[t.DOWN_ARROW_CALLOUT = 29] = "DOWN_ARROW_CALLOUT", t[t.FOLDED_CORNER = 30] = "FOLDED_CORNER", t[t.FRAME = 31] = "FRAME", t[t.HALF_FRAME = 32] = "HALF_FRAME", t[t.HEART = 33] = "HEART", t[t.HEPTAGON = 34] = "HEPTAGON", t[t.HEXAGON = 35] = "HEXAGON", t[t.HOME_PLATE = 36] = "HOME_PLATE", t[t.HORIZONTAL_SCROLL = 37] = "HORIZONTAL_SCROLL", t[t.IRREGULAR_SEAL_1 = 38] = "IRREGULAR_SEAL_1", t[t.IRREGULAR_SEAL_2 = 39] = "IRREGULAR_SEAL_2", t[t.LEFT_ARROW = 40] = "LEFT_ARROW", t[t.LEFT_ARROW_CALLOUT = 41] = "LEFT_ARROW_CALLOUT", t[t.LEFT_BRACE = 42] = "LEFT_BRACE", t[t.LEFT_BRACKET = 43] = "LEFT_BRACKET", t[t.LEFT_RIGHT_ARROW = 44] = "LEFT_RIGHT_ARROW", t[t.LEFT_RIGHT_ARROW_CALLOUT = 45] = "LEFT_RIGHT_ARROW_CALLOUT", t[t.LEFT_RIGHT_UP_ARROW = 46] = "LEFT_RIGHT_UP_ARROW", t[t.LEFT_UP_ARROW = 47] = "LEFT_UP_ARROW", t[t.LIGHTNING_BOLT = 48] = "LIGHTNING_BOLT", t[t.MATH_DIVIDE = 49] = "MATH_DIVIDE", t[t.MATH_EQUAL = 50] = "MATH_EQUAL", t[t.MATH_MINUS = 51] = "MATH_MINUS", t[t.MATH_MULTIPLY = 52] = "MATH_MULTIPLY", t[t.MATH_NOT_EQUAL = 53] = "MATH_NOT_EQUAL", t[t.MATH_PLUS = 54] = "MATH_PLUS", t[t.MOON = 55] = "MOON", t[t.NO_SMOKING = 56] = "NO_SMOKING", t[t.NOTCHED_RIGHT_ARROW = 57] = "NOTCHED_RIGHT_ARROW", t[t.OCTAGON = 58] = "OCTAGON", t[t.PARALLELOGRAM = 59] = "PARALLELOGRAM", t[t.PENTAGON = 60] = "PENTAGON", t[t.PIE = 61] = "PIE", t[t.PLAQUE = 62] = "PLAQUE", t[t.PLUS = 63] = "PLUS", t[t.QUAD_ARROW = 64] = "QUAD_ARROW", t[t.QUAD_ARROW_CALLOUT = 65] = "QUAD_ARROW_CALLOUT", t[t.RIBBON = 66] = "RIBBON", t[t.RIBBON_2 = 67] = "RIBBON_2", t[t.RIGHT_ARROW = 68] = "RIGHT_ARROW", t[t.RIGHT_ARROW_CALLOUT = 69] = "RIGHT_ARROW_CALLOUT", t[t.RIGHT_BRACE = 70] = "RIGHT_BRACE", t[t.RIGHT_BRACKET = 71] = "RIGHT_BRACKET", t[t.ROUND_1_RECTANGLE = 72] = "ROUND_1_RECTANGLE", t[t.ROUND_2_DIAGONAL_RECTANGLE = 73] = "ROUND_2_DIAGONAL_RECTANGLE", t[t.ROUND_2_SAME_RECTANGLE = 74] = "ROUND_2_SAME_RECTANGLE", t[t.RIGHT_TRIANGLE = 75] = "RIGHT_TRIANGLE", t[t.SMILEY_FACE = 76] = "SMILEY_FACE", t[t.SNIP_1_RECTANGLE = 77] = "SNIP_1_RECTANGLE", t[t.SNIP_2_DIAGONAL_RECTANGLE = 78] = "SNIP_2_DIAGONAL_RECTANGLE", t[t.SNIP_2_SAME_RECTANGLE = 79] = "SNIP_2_SAME_RECTANGLE", t[t.SNIP_ROUND_RECTANGLE = 80] = "SNIP_ROUND_RECTANGLE", t[t.STAR_10 = 81] = "STAR_10", t[t.STAR_12 = 82] = "STAR_12", t[t.STAR_16 = 83] = "STAR_16", t[t.STAR_24 = 84] = "STAR_24", t[t.STAR_32 = 85] = "STAR_32", t[t.STAR_4 = 86] = "STAR_4", t[t.STAR_5 = 87] = "STAR_5", t[t.STAR_6 = 88] = "STAR_6", t[t.STAR_7 = 89] = "STAR_7", t[t.STAR_8 = 90] = "STAR_8", t[t.STRIPED_RIGHT_ARROW = 91] = "STRIPED_RIGHT_ARROW", t[t.SUN = 92] = "SUN", t[t.TRAPEZOID = 93] = "TRAPEZOID", t[t.TRIANGLE = 94] = "TRIANGLE", t[t.UP_ARROW = 95] = "UP_ARROW", t[t.UP_ARROW_CALLOUT = 96] = "UP_ARROW_CALLOUT", t[t.UP_DOWN_ARROW = 97] = "UP_DOWN_ARROW", t[t.UTURN_ARROW = 98] = "UTURN_ARROW", t[t.VERTICAL_SCROLL = 99] = "VERTICAL_SCROLL", t[t.WAVE = 100] = "WAVE", t[t.WEDGE_ELLIPSE_CALLOUT = 101] = "WEDGE_ELLIPSE_CALLOUT", t[t.WEDGE_RECTANGLE_CALLOUT = 102] = "WEDGE_RECTANGLE_CALLOUT", t[t.WEDGE_ROUND_RECTANGLE_CALLOUT = 103] = "WEDGE_ROUND_RECTANGLE_CALLOUT", t[t.FLOW_CHART_ALTERNATE_PROCESS = 104] = "FLOW_CHART_ALTERNATE_PROCESS", t[t.FLOW_CHART_COLLATE = 105] = "FLOW_CHART_COLLATE", t[t.FLOW_CHART_CONNECTOR = 106] = "FLOW_CHART_CONNECTOR", t[t.FLOW_CHART_DECISION = 107] = "FLOW_CHART_DECISION", t[t.FLOW_CHART_DELAY = 108] = "FLOW_CHART_DELAY", t[t.FLOW_CHART_DISPLAY = 109] = "FLOW_CHART_DISPLAY", t[t.FLOW_CHART_DOCUMENT = 110] = "FLOW_CHART_DOCUMENT", t[t.FLOW_CHART_EXTRACT = 111] = "FLOW_CHART_EXTRACT", t[t.FLOW_CHART_INPUT_OUTPUT = 112] = "FLOW_CHART_INPUT_OUTPUT", t[t.FLOW_CHART_INTERNAL_STORAGE = 113] = "FLOW_CHART_INTERNAL_STORAGE", t[t.FLOW_CHART_MAGNETIC_DISK = 114] = "FLOW_CHART_MAGNETIC_DISK", t[t.FLOW_CHART_MAGNETIC_DRUM = 115] = "FLOW_CHART_MAGNETIC_DRUM", t[t.FLOW_CHART_MAGNETIC_TAPE = 116] = "FLOW_CHART_MAGNETIC_TAPE", t[t.FLOW_CHART_MANUAL_INPUT = 117] = "FLOW_CHART_MANUAL_INPUT", t[t.FLOW_CHART_MANUAL_OPERATION = 118] = "FLOW_CHART_MANUAL_OPERATION", t[t.FLOW_CHART_MERGE = 119] = "FLOW_CHART_MERGE", t[t.FLOW_CHART_MULTIDOCUMENT = 120] = "FLOW_CHART_MULTIDOCUMENT", t[t.FLOW_CHART_OFFLINE_STORAGE = 121] = "FLOW_CHART_OFFLINE_STORAGE", t[t.FLOW_CHART_OFFPAGE_CONNECTOR = 122] = "FLOW_CHART_OFFPAGE_CONNECTOR", t[t.FLOW_CHART_ONLINE_STORAGE = 123] = "FLOW_CHART_ONLINE_STORAGE", t[t.FLOW_CHART_OR = 124] = "FLOW_CHART_OR", t[t.FLOW_CHART_PREDEFINED_PROCESS = 125] = "FLOW_CHART_PREDEFINED_PROCESS", t[t.FLOW_CHART_PREPARATION = 126] = "FLOW_CHART_PREPARATION", t[t.FLOW_CHART_PROCESS = 127] = "FLOW_CHART_PROCESS", t[t.FLOW_CHART_PUNCHED_CARD = 128] = "FLOW_CHART_PUNCHED_CARD", t[t.FLOW_CHART_PUNCHED_TAPE = 129] = "FLOW_CHART_PUNCHED_TAPE", t[t.FLOW_CHART_SORT = 130] = "FLOW_CHART_SORT", t[t.FLOW_CHART_SUMMING_JUNCTION = 131] = "FLOW_CHART_SUMMING_JUNCTION", t[t.FLOW_CHART_TERMINATOR = 132] = "FLOW_CHART_TERMINATOR", t[t.ARROW_EAST = 133] = "ARROW_EAST", t[t.ARROW_NORTH_EAST = 134] = "ARROW_NORTH_EAST", t[t.ARROW_NORTH = 135] = "ARROW_NORTH", t[t.SPEECH = 136] = "SPEECH", t[t.STARBURST = 137] = "STARBURST", t[t.TEARDROP = 138] = "TEARDROP", t[t.ELLIPSE_RIBBON = 139] = "ELLIPSE_RIBBON", t[t.ELLIPSE_RIBBON_2 = 140] = "ELLIPSE_RIBBON_2", t[t.CLOUD_CALLOUT = 141] = "CLOUD_CALLOUT", t[t.CUSTOM = 142] = "CUSTOM", t))(Qs || {}), oe = /* @__PURE__ */ ((t) => (t[t.GRID = 0] = "GRID", t[t.KANBAN = 1] = "KANBAN", t[t.GANTT = 2] = "GANTT", t))(oe || {}), St = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", t[t.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", t))(St || {}), ys = /* @__PURE__ */ ((t) => (t[t.DASH = 0] = "DASH", t[t.DASH_DOT_DOT_HEAVY = 1] = "DASH_DOT_DOT_HEAVY", t[t.DASH_DOT_HEAVY = 2] = "DASH_DOT_HEAVY", t[t.DASHED_HEAVY = 3] = "DASHED_HEAVY", t[t.DASH_LONG = 4] = "DASH_LONG", t[t.DASH_LONG_HEAVY = 5] = "DASH_LONG_HEAVY", t[t.DOT_DASH = 6] = "DOT_DASH", t[t.DOT_DOT_DASH = 7] = "DOT_DOT_DASH", t[t.DOTTED = 8] = "DOTTED", t[t.DOTTED_HEAVY = 9] = "DOTTED_HEAVY", t[t.DOUBLE = 10] = "DOUBLE", t[t.NONE = 11] = "NONE", t[t.SINGLE = 12] = "SINGLE", t[t.THICK = 13] = "THICK", t[t.WAVE = 14] = "WAVE", t[t.WAVY_DOUBLE = 15] = "WAVY_DOUBLE", t[t.WAVY_HEAVY = 16] = "WAVY_HEAVY", t[t.WORDS = 17] = "WORDS", t))(ys || {}), st = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.LEFT = 1] = "LEFT", t[t.CENTER = 2] = "CENTER", t[t.RIGHT = 3] = "RIGHT", t[t.JUSTIFIED = 4] = "JUSTIFIED", t))(st || {}), at = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.TOP = 1] = "TOP", t[t.MIDDLE = 2] = "MIDDLE", t[t.BOTTOM = 3] = "BOTTOM", t))(at || {}), Lt = /* @__PURE__ */ ((t) => (t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.OVERFLOW = 1] = "OVERFLOW", t[t.CLIP = 2] = "CLIP", t[t.WRAP = 3] = "WRAP", t))(Lt || {}), Jt = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ITALIC = 1] = "ITALIC", t))(Jt || {}), qt = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.BOLD = 1] = "BOLD", t))(qt || {}), ct = /* @__PURE__ */ ((t) => (t[t.NORMAL = 1] = "NORMAL", t[t.SUBSCRIPT = 2] = "SUBSCRIPT", t[t.SUPERSCRIPT = 3] = "SUPERSCRIPT", t))(ct || {}), C = /* @__PURE__ */ ((t) => (t[t.FALSE = 0] = "FALSE", t[t.TRUE = 1] = "TRUE", t))(C || {}), nt = /* @__PURE__ */ ((t) => (t[t.STRING = 1] = "STRING", t[t.NUMBER = 2] = "NUMBER", t[t.BOOLEAN = 3] = "BOOLEAN", t[t.FORCE_STRING = 4] = "FORCE_STRING", t))(nt || {}), x = /* @__PURE__ */ ((t) => (t[t.DARK1 = 0] = "DARK1", t[t.LIGHT1 = 1] = "LIGHT1", t[t.DARK2 = 2] = "DARK2", t[t.LIGHT2 = 3] = "LIGHT2", t[t.ACCENT1 = 4] = "ACCENT1", t[t.ACCENT2 = 5] = "ACCENT2", t[t.ACCENT3 = 6] = "ACCENT3", t[t.ACCENT4 = 7] = "ACCENT4", t[t.ACCENT5 = 8] = "ACCENT5", t[t.ACCENT6 = 9] = "ACCENT6", t[t.HYPERLINK = 10] = "HYPERLINK", t[t.FOLLOWED_HYPERLINK = 11] = "FOLLOWED_HYPERLINK", t))(x || {}), ue = /* @__PURE__ */ ((t) => (t.OFFICE = "Office", t.OFFICE_2007_2010 = "Office 2007-2010", t.GRAYSCALE = "Grayscale", t.BLUE_WARM = "Blue Warm", t.BLUE = "Blue", t.BLUE_II = "Blue II", t.BLUE_GREEN = "Blue Green", t.GREEN = "Green", t.GREEN_YELLOW = "Green Yellow", t.YELLOW = "Yellow", t.YELLOW_ORANGE = "Yellow Orange", t.ORANGE = "Orange", t.ORANGE_RED = "Orange Red", t.RED_ORANGE = "Red Orange", t.RED = "Red", t.RED_VIOLET = "Red Violet", t.VIOLET = "Violet", t.VIOLET_II = "Violet II", t.MEDIAN = "Median", t.PAPER = "Paper", t.MARQUEE = "Marquee", t.SLIPSTREAM = "Slipstream", t.Aspect = "Aspect", t))(ue || {});
79
+ const tn = {
80
80
  [ue.OFFICE]: {
81
81
  [x.ACCENT1]: "#4472C4",
82
82
  [x.ACCENT2]: "#ED7D31",
@@ -173,7 +173,7 @@ class rt {
173
173
  return !1;
174
174
  }
175
175
  }
176
- class tn {
176
+ class en {
177
177
  constructor(e) {
178
178
  d(this, "_saturation", 0);
179
179
  d(this, "_hue", 0);
@@ -294,7 +294,7 @@ const Y = class Y extends rt {
294
294
  return s < 0 ? r = n * (1 + s) : r = n * (1 - s) + (255 - 255 * (1 - s)), r;
295
295
  }
296
296
  asRgbColor() {
297
- const s = ys[this._themeColors];
297
+ const s = tn[this._themeColors];
298
298
  if (s == null)
299
299
  throw new Error("not find themeColors type");
300
300
  const n = s[this._themeColorType];
@@ -306,7 +306,7 @@ const Y = class Y extends rt {
306
306
  return r.get(this._themeColorType);
307
307
  } else
308
308
  r = /* @__PURE__ */ new Map(), Y._cacheThemeColor.set(this._themeColors, r);
309
- const i = new tn(rt.hexValueToRgbColor(n));
309
+ const i = new en(rt.hexValueToRgbColor(n));
310
310
  i.setLightness(this.lumValue(this._themeTint, i.getLightness() * 255) / 255);
311
311
  const o = i.asRgbColor();
312
312
  return r.set(this._themeColorType, o), o;
@@ -326,7 +326,7 @@ const Y = class Y extends rt {
326
326
  };
327
327
  d(Y, "_cacheThemeColor", /* @__PURE__ */ new Map());
328
328
  let Qt = Y;
329
- const Io = "rgb(", No = "rgba(", Ce = {
329
+ const No = "rgb(", wo = "rgba(", Ce = {
330
330
  aliceBlue: [240, 248, 255],
331
331
  antiqueWhite: [250, 235, 215],
332
332
  aqua: [0, 255, 255],
@@ -496,7 +496,7 @@ class $ {
496
496
  return;
497
497
  }
498
498
  this._color = s;
499
- const n = on(this._color);
499
+ const n = un(this._color);
500
500
  if (n == null) {
501
501
  this._setNullColor();
502
502
  return;
@@ -541,10 +541,10 @@ class $ {
541
541
  return e && u[0][0] === u[0][1] && u[1][0] === u[1][1] && u[2][0] === u[2][1] && u[3][0] === u[3][1] ? o ? `#${u[0][0]}${u[1][0]}${u[2][0]}${u[3][0]}` : `#${u[0][0]}${u[1][0]}${u[2][0]}` : o ? `#${u[0]}${u[1]}${u[2]}${u[3]}` : `#${u[0]}${u[1]}${u[2]}`;
542
542
  }
543
543
  toHsv() {
544
- return cn(this.toRgb());
544
+ return hn(this.toRgb());
545
545
  }
546
546
  toHsl() {
547
- return ln(this.toRgb());
547
+ return cn(this.toRgb());
548
548
  }
549
549
  lighten(e = 10) {
550
550
  const s = this.toHsl();
@@ -590,7 +590,7 @@ class $ {
590
590
  }
591
591
  }
592
592
  const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4), $e = (t) => {
593
- if (dn(t)) {
593
+ if (_n(t)) {
594
594
  if ("r" in t) {
595
595
  const n = {
596
596
  r: Math.round(t.r),
@@ -624,14 +624,14 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
624
624
  return n.a = s[3] || 1, n;
625
625
  }
626
626
  if (e.startsWith("#"))
627
- return en(e);
628
- if (e.startsWith("rgb"))
629
627
  return sn(e);
630
- if (e.startsWith("hsl"))
628
+ if (e.startsWith("rgb"))
631
629
  return nn(e);
632
- if (e.startsWith("hsv"))
630
+ if (e.startsWith("hsl"))
633
631
  return rn(e);
634
- }, en = (t) => {
632
+ if (e.startsWith("hsv"))
633
+ return on(e);
634
+ }, sn = (t) => {
635
635
  const e = t.substring(1), s = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
636
636
  let n = e.match(s);
637
637
  if (!n || n.length < 3)
@@ -643,7 +643,7 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
643
643
  b: Number.parseInt(n[2], 16)
644
644
  };
645
645
  return n.length > 3 && (r.a = Number.parseInt(n[3], 16) / 255), r;
646
- }, sn = (t) => {
646
+ }, nn = (t) => {
647
647
  const e = t.indexOf("(");
648
648
  if (e === -1)
649
649
  throw new Error(`The color '${t}' is illegal rgb color`);
@@ -656,7 +656,7 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
656
656
  b: Number.parseInt(s[2], 10)
657
657
  };
658
658
  return s.length > 3 && (n.a = Number.parseFloat(s[3])), n;
659
- }, nn = (t) => {
659
+ }, rn = (t) => {
660
660
  const e = t.indexOf("(");
661
661
  if (e === -1)
662
662
  throw new Error(`The color '${t}' is illegal hsl color`);
@@ -669,7 +669,7 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
669
669
  l: Number.parseFloat(s[2])
670
670
  };
671
671
  return s.length > 3 && (n.a = Number.parseFloat(s[3])), n;
672
- }, rn = (t) => {
672
+ }, on = (t) => {
673
673
  const e = t.indexOf("(");
674
674
  if (e === -1)
675
675
  throw new Error(`The color '${t}' is illegal hsv color`);
@@ -682,11 +682,11 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
682
682
  v: Number.parseFloat(s[2])
683
683
  };
684
684
  return s.length > 3 && (n.a = Number.parseFloat(s[3])), n;
685
- }, on = (t) => {
685
+ }, un = (t) => {
686
686
  const e = $e(t);
687
687
  if (e != null)
688
- return "r" in e ? e : "l" in e ? un(e) : an(e);
689
- }, Wt = (t, e, s) => (s < 0 && (s += 1), s > 1 && (s -= 1), s < 1 / 6 ? t + (e - t) * 6 * s : s < 1 / 2 ? e : s < 2 / 3 ? t + (e - t) * (2 / 3 - s) * 6 : t), un = (t) => {
688
+ return "r" in e ? e : "l" in e ? an(e) : ln(e);
689
+ }, Wt = (t, e, s) => (s < 0 && (s += 1), s > 1 && (s -= 1), s < 1 / 6 ? t + (e - t) * 6 * s : s < 1 / 2 ? e : s < 2 / 3 ? t + (e - t) * (2 / 3 - s) * 6 : t), an = (t) => {
690
690
  let { h: e, s, l: n } = t;
691
691
  e /= 360, s /= 100, n /= 100;
692
692
  let r = 0, i = 0, o = 0;
@@ -702,7 +702,7 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
702
702
  b: Math.round(o * 255)
703
703
  };
704
704
  return t.a !== void 0 && (u.a = t.a), u;
705
- }, an = (t) => {
705
+ }, ln = (t) => {
706
706
  let { h: e, s, v: n } = t;
707
707
  e = e / 360 * 6, s /= 100, n /= 100;
708
708
  const r = Math.floor(e), i = e - r, o = n * (1 - s), u = n * (1 - i * s), a = n * (1 - (1 - i) * s), l = r % 6, c = [n, u, o, o, a, n][l], h = [a, n, n, u, o, o][l], _ = [o, o, a, n, n, u][l], f = {
@@ -711,7 +711,7 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
711
711
  b: _ * 255
712
712
  };
713
713
  return t.a !== void 0 && (f.a = t.a), f;
714
- }, ln = (t) => {
714
+ }, cn = (t) => {
715
715
  let { r: e, g: s, b: n } = t;
716
716
  e /= 255, s /= 255, n /= 255;
717
717
  const r = Math.max(e, s, n), i = Math.min(e, s, n), o = (r + i) / 2;
@@ -739,7 +739,7 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
739
739
  l: Math.round(o * 100)
740
740
  };
741
741
  return t.a !== void 0 && (l.a = t.a), l;
742
- }, cn = (t) => {
742
+ }, hn = (t) => {
743
743
  let { r: e, g: s, b: n } = t;
744
744
  e /= 255, s /= 255, n /= 255;
745
745
  const r = Math.max(e, s, n), i = Math.min(e, s, n);
@@ -767,20 +767,20 @@ const _t = (t) => t.length === 1 ? `0${t}` : t, Ft = (t) => (t /= 255, t <= 0.03
767
767
  v: Math.round(u * 100)
768
768
  };
769
769
  return t.a !== void 0 && (c.a = t.a), c;
770
- }, hn = (t) => t == null, dn = (t) => !hn(t) && typeof t == "object";
770
+ }, dn = (t) => t == null, _n = (t) => !dn(t) && typeof t == "object";
771
771
  function So(t) {
772
772
  const e = /^#(?:[0]{3}|[0]{6})\b/, s = /^rgb\s*\(\s*0+\s*,\s*0+\s*,\s*0+\s*\)$/, n = /^rgba\s*\(\s*0+\s*,\s*0+\s*,\s*0+\s*,\s*(1|1\.0*|0?\.\d+)\)$/, r = /^hsl\s*\(\s*0*\s*,\s*0%*\s*,\s*0%*\s*\)$/, i = /^hsla\s*\(\s*0*\s*,\s*0%*\s*,\s*0%*\s*,\s*(1|1\.0*|0?\.\d+)\)$/;
773
773
  return !!(e.test(t) || s.test(t) || n.test(t) || r.test(t) || i.test(t));
774
774
  }
775
- function wo(t) {
775
+ function Lo(t) {
776
776
  const e = /^#(?:[Ff]{3}|[Ff]{6})\b/, s = /^rgb\s*\(\s*255\s*,\s*255\s*,\s*255\s*\)$/, n = /^rgba\s*\(\s*255\s*,\s*255\s*,\s*255\s*,\s*(1|1\.0*|0?\.\d+)\)$/, r = /^hsl\s*\(\s*0*\s*,\s*0%*\s*,\s*100%*\s*\)$/, i = /^hsla\s*\(\s*0*\s*,\s*0%*\s*,\s*100%*\s*,\s*(1|1\.0*|0?\.\d+)\)$/;
777
777
  return !!(e.test(t) || s.test(t) || n.test(t) || r.test(t) || i.test(t));
778
778
  }
779
779
  var D = /* @__PURE__ */ ((t) => (t[t.COVER = 0] = "COVER", t[t.REPLACE = 1] = "REPLACE", t[t.INTERSECTION = 2] = "INTERSECTION", t))(D || {});
780
- function Lo(t) {
780
+ function bo(t) {
781
781
  return t && (t.s !== void 0 || t.p !== void 0 || t.v !== void 0 || t.t !== void 0 || t.f !== void 0 || t.si !== void 0);
782
782
  }
783
- function bo(t) {
783
+ function vo(t) {
784
784
  if (t.t !== void 0)
785
785
  return t.t;
786
786
  if (typeof t.v == "string")
@@ -790,22 +790,22 @@ function bo(t) {
790
790
  if (typeof t.v == "boolean")
791
791
  return nt.BOOLEAN;
792
792
  }
793
- function vo(t) {
793
+ function Uo(t) {
794
794
  if (t == null)
795
795
  return !0;
796
- const { v: e, f: s, si: n, p: r, s: i } = t;
797
- return !(!(e == null || typeof e == "string" && e.length === 0) || s != null && s.length > 0 || n != null && n.length > 0 || r != null);
796
+ const { v: e, f: s, si: n, p: r, s: i, custom: o } = t;
797
+ return !(!(e == null || typeof e == "string" && e.length === 0) || s != null && s.length > 0 || n != null && n.length > 0 || r != null || o != null);
798
798
  }
799
- function Uo(t) {
799
+ function To(t) {
800
800
  return t != null && (typeof t == "string" || typeof t == "number" || typeof t == "boolean");
801
801
  }
802
- var _n = /* @__PURE__ */ ((t) => (t[t.character = 0] = "character", t[t.paragraph = 1] = "paragraph", t[t.table = 2] = "table", t[t.numbering = 3] = "numbering", t))(_n || {}), fn = /* @__PURE__ */ ((t) => (t[t.TAB = 0] = "TAB", t[t.SPACE = 1] = "SPACE", t[t.NOTHING = 2] = "NOTHING", t))(fn || {}), Ct = /* @__PURE__ */ ((t) => (t[t.GLYPH_TYPE_UNSPECIFIED = 0] = "GLYPH_TYPE_UNSPECIFIED", t[t.NONE = 1] = "NONE", t[t.DECIMAL = 2] = "DECIMAL", t[t.ZERO_DECIMAL = 3] = "ZERO_DECIMAL", t[t.UPPER_ALPHA = 4] = "UPPER_ALPHA", t[t.ALPHA = 5] = "ALPHA", t[t.UPPER_ROMAN = 6] = "UPPER_ROMAN", t[t.ROMAN = 7] = "ROMAN", t))(Ct || {}), X = /* @__PURE__ */ ((t) => (t[t.BULLET_ALIGNMENT_UNSPECIFIED = 0] = "BULLET_ALIGNMENT_UNSPECIFIED", t[t.START = 1] = "START", t[t.CENTER = 2] = "CENTER", t[t.END = 3] = "END", t))(X || {}), gn = /* @__PURE__ */ ((t) => (t[t.HYPERLINK = 0] = "HYPERLINK", t[t.FIELD = 1] = "FIELD", t[t.SDT = 2] = "SDT", t[t.BOOKMARK = 3] = "BOOKMARK", t[t.COMMENT = 4] = "COMMENT", t[t.CUSTOM = 5] = "CUSTOM", t))(gn || {}), En = /* @__PURE__ */ ((t) => (t[t.DRAWING = 0] = "DRAWING", t[t.CUSTOM = 1] = "CUSTOM", t))(En || {}), Rn = /* @__PURE__ */ ((t) => (t[t.DEFAULT = 0] = "DEFAULT", t[t.LINES = 1] = "LINES", t[t.LINES_AND_CHARS = 2] = "LINES_AND_CHARS", t[t.SNAP_TO_CHARS = 3] = "SNAP_TO_CHARS", t))(Rn || {}), mn = /* @__PURE__ */ ((t) => (t[t.SECTION_TYPE_UNSPECIFIED = 0] = "SECTION_TYPE_UNSPECIFIED", t[t.CONTINUOUS = 1] = "CONTINUOUS", t[t.NEXT_PAGE = 2] = "NEXT_PAGE", t[t.EVEN_PAGE = 3] = "EVEN_PAGE", t[t.ODD_PAGE = 4] = "ODD_PAGE", t))(mn || {}), Cn = /* @__PURE__ */ ((t) => (t[t.COLUMN_SEPARATOR_STYLE_UNSPECIFIED = 0] = "COLUMN_SEPARATOR_STYLE_UNSPECIFIED", t[t.NONE = 1] = "NONE", t[t.BETWEEN_EACH_COLUMN = 2] = "BETWEEN_EACH_COLUMN", t))(Cn || {}), On = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.TBRL = 1] = "TBRL", t[t.LRTBV = 2] = "LRTBV", t))(On || {}), An = /* @__PURE__ */ ((t) => (t[t.TEXT_RUN = 0] = "TEXT_RUN", t[t.AUTO_TEXT = 1] = "AUTO_TEXT", t[t.PAGE_BREAK = 2] = "PAGE_BREAK", t[t.COLUMN_BREAK = 3] = "COLUMN_BREAK", t[t.FOOT_NOTE_REFERENCE = 4] = "FOOT_NOTE_REFERENCE", t[t.HORIZONTAL_RULE = 5] = "HORIZONTAL_RULE", t[t.EQUATION = 6] = "EQUATION", t[t.DRAWING = 7] = "DRAWING", t[t.PERSON = 8] = "PERSON", t[t.RICH_LINK = 9] = "RICH_LINK", t))(An || {}), In = /* @__PURE__ */ ((t) => (t[t.BOTH_SIDES = 0] = "BOTH_SIDES", t[t.LEFT = 1] = "LEFT", t[t.RIGHT = 2] = "RIGHT", t[t.LARGEST = 3] = "LARGEST", t))(In || {}), Nn = /* @__PURE__ */ ((t) => (t[t.INLINE = 0] = "INLINE", t[t.WRAP_NONE = 1] = "WRAP_NONE", t[t.WRAP_POLYGON = 2] = "WRAP_POLYGON", t[t.WRAP_SQUARE = 3] = "WRAP_SQUARE", t[t.WRAP_THROUGH = 4] = "WRAP_THROUGH", t[t.WRAP_TIGHT = 5] = "WRAP_TIGHT", t[t.WRAP_TOP_AND_BOTTOM = 6] = "WRAP_TOP_AND_BOTTOM", t))(Nn || {}), Sn = /* @__PURE__ */ ((t) => (t[t.NAMED_STYLE_TYPE_UNSPECIFIED = 0] = "NAMED_STYLE_TYPE_UNSPECIFIED", t[t.NORMAL_TEXT = 1] = "NORMAL_TEXT", t[t.TITLE = 2] = "TITLE", t[t.SUBTITLE = 3] = "SUBTITLE", t[t.HEADING_1 = 4] = "HEADING_1", t[t.HEADING_2 = 5] = "HEADING_2", t[t.HEADING_3 = 6] = "HEADING_3", t[t.HEADING_4 = 7] = "HEADING_4", t[t.HEADING_5 = 8] = "HEADING_5", t[t.HEADING_6 = 9] = "HEADING_6", t))(Sn || {}), wn = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.AT_LEAST = 1] = "AT_LEAST", t[t.EXACT = 2] = "EXACT", t))(wn || {}), Ln = /* @__PURE__ */ ((t) => (t[t.DASH_STYLE_UNSPECIFIED = 0] = "DASH_STYLE_UNSPECIFIED", t[t.SOLID = 1] = "SOLID", t[t.DOT = 2] = "DOT", t[t.DASH = 3] = "DASH", t))(Ln || {}), bn = /* @__PURE__ */ ((t) => (t[t.TAB_STOP_ALIGNMENT_UNSPECIFIED = 0] = "TAB_STOP_ALIGNMENT_UNSPECIFIED", t[t.START = 1] = "START", t[t.CENTER = 2] = "CENTER", t[t.END = 3] = "END", t))(bn || {}), vn = /* @__PURE__ */ ((t) => (t.EVENLY_DISTRIBUTED = "0", t.FIXED_WIDTH = "1", t))(vn || {}), Un = /* @__PURE__ */ ((t) => (t[t.CONTENT_ALIGNMENT_UNSPECIFIED = 0] = "CONTENT_ALIGNMENT_UNSPECIFIED", t[t.CONTENT_ALIGNMENT_UNSUPPORTED = 1] = "CONTENT_ALIGNMENT_UNSUPPORTED", t[t.TOP = 2] = "TOP", t[t.MIDDLE = 3] = "MIDDLE", t[t.BOTTOM = 4] = "BOTTOM", t))(Un || {}), Tn = /* @__PURE__ */ ((t) => (t.NORMAL = "normal", t.BOLD = "bold", t.ITALIC = "italic", t))(Tn || {}), Mn = /* @__PURE__ */ ((t) => (t[t.PAGE = 0] = "PAGE", t[t.COLUMN = 1] = "COLUMN", t[t.CHARACTER = 2] = "CHARACTER", t[t.MARGIN = 3] = "MARGIN", t[t.INSIDE_MARGIN = 4] = "INSIDE_MARGIN", t[t.OUTSIDE_MARGIN = 5] = "OUTSIDE_MARGIN", t[t.LEFT_MARGIN = 6] = "LEFT_MARGIN", t[t.RIGHT_MARGIN = 7] = "RIGHT_MARGIN", t))(Mn || {}), Dn = /* @__PURE__ */ ((t) => (t[t.PAGE = 0] = "PAGE", t[t.PARAGRAPH = 1] = "PARAGRAPH", t[t.LINE = 2] = "LINE", t[t.MARGIN = 3] = "MARGIN", t[t.TOP_MARGIN = 4] = "TOP_MARGIN", t[t.BOTTOM_MARGIN = 5] = "BOTTOM_MARGIN", t[t.INSIDE_MARGIN = 6] = "INSIDE_MARGIN", t[t.OUTSIDE_MARGIN = 7] = "OUTSIDE_MARGIN", t))(Dn || {}), pn = /* @__PURE__ */ ((t) => (t[t.POINT = 0] = "POINT", t[t.LINE = 1] = "LINE", t[t.CHARACTER = 2] = "CHARACTER", t))(pn || {}), xn = /* @__PURE__ */ ((t) => (t[t.CENTER = 0] = "CENTER", t[t.INSIDE = 1] = "INSIDE", t[t.LEFT = 2] = "LEFT", t[t.OUTSIDE = 3] = "OUTSIDE", t[t.RIGHT = 4] = "RIGHT", t))(xn || {}), Pn = /* @__PURE__ */ ((t) => (t[t.BOTTOM = 0] = "BOTTOM", t[t.CENTER = 1] = "CENTER", t[t.INSIDE = 2] = "INSIDE", t[t.OUTSIDE = 3] = "OUTSIDE", t[t.TOP = 4] = "TOP", t))(Pn || {}), Hn = /* @__PURE__ */ ((t) => (t[t.compressPunctuation = 0] = "compressPunctuation", t[t.compressPunctuationAndJapaneseKana = 1] = "compressPunctuationAndJapaneseKana", t[t.doNotCompress = 2] = "doNotCompress", t))(Hn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.PORTRAIT = 0] = "PORTRAIT", t[t.LANDSCAPE = 1] = "LANDSCAPE", t))(Fn || {}), p = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ROW = 1] = "ROW", t[t.COLUMN = 2] = "COLUMN", t[t.ALL = 3] = "ALL", t))(p || {}), L = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.ROW = 1] = "ROW", t[t.COLUMN = 2] = "COLUMN", t[t.ALL = 3] = "ALL", t))(L || {});
803
- function To(t) {
802
+ var fn = /* @__PURE__ */ ((t) => (t[t.character = 0] = "character", t[t.paragraph = 1] = "paragraph", t[t.table = 2] = "table", t[t.numbering = 3] = "numbering", t))(fn || {}), gn = /* @__PURE__ */ ((t) => (t[t.TAB = 0] = "TAB", t[t.SPACE = 1] = "SPACE", t[t.NOTHING = 2] = "NOTHING", t))(gn || {}), Ct = /* @__PURE__ */ ((t) => (t[t.GLYPH_TYPE_UNSPECIFIED = 0] = "GLYPH_TYPE_UNSPECIFIED", t[t.NONE = 1] = "NONE", t[t.DECIMAL = 2] = "DECIMAL", t[t.ZERO_DECIMAL = 3] = "ZERO_DECIMAL", t[t.UPPER_ALPHA = 4] = "UPPER_ALPHA", t[t.ALPHA = 5] = "ALPHA", t[t.UPPER_ROMAN = 6] = "UPPER_ROMAN", t[t.ROMAN = 7] = "ROMAN", t))(Ct || {}), X = /* @__PURE__ */ ((t) => (t[t.BULLET_ALIGNMENT_UNSPECIFIED = 0] = "BULLET_ALIGNMENT_UNSPECIFIED", t[t.START = 1] = "START", t[t.CENTER = 2] = "CENTER", t[t.END = 3] = "END", t))(X || {}), En = /* @__PURE__ */ ((t) => (t[t.HYPERLINK = 0] = "HYPERLINK", t[t.FIELD = 1] = "FIELD", t[t.SDT = 2] = "SDT", t[t.BOOKMARK = 3] = "BOOKMARK", t[t.COMMENT = 4] = "COMMENT", t[t.CUSTOM = 5] = "CUSTOM", t))(En || {}), Rn = /* @__PURE__ */ ((t) => (t[t.DRAWING = 0] = "DRAWING", t[t.CUSTOM = 1] = "CUSTOM", t))(Rn || {}), mn = /* @__PURE__ */ ((t) => (t[t.DEFAULT = 0] = "DEFAULT", t[t.LINES = 1] = "LINES", t[t.LINES_AND_CHARS = 2] = "LINES_AND_CHARS", t[t.SNAP_TO_CHARS = 3] = "SNAP_TO_CHARS", t))(mn || {}), Cn = /* @__PURE__ */ ((t) => (t[t.SECTION_TYPE_UNSPECIFIED = 0] = "SECTION_TYPE_UNSPECIFIED", t[t.CONTINUOUS = 1] = "CONTINUOUS", t[t.NEXT_PAGE = 2] = "NEXT_PAGE", t[t.EVEN_PAGE = 3] = "EVEN_PAGE", t[t.ODD_PAGE = 4] = "ODD_PAGE", t))(Cn || {}), On = /* @__PURE__ */ ((t) => (t[t.COLUMN_SEPARATOR_STYLE_UNSPECIFIED = 0] = "COLUMN_SEPARATOR_STYLE_UNSPECIFIED", t[t.NONE = 1] = "NONE", t[t.BETWEEN_EACH_COLUMN = 2] = "BETWEEN_EACH_COLUMN", t))(On || {}), An = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.TBRL = 1] = "TBRL", t[t.LRTBV = 2] = "LRTBV", t))(An || {}), In = /* @__PURE__ */ ((t) => (t[t.TEXT_RUN = 0] = "TEXT_RUN", t[t.AUTO_TEXT = 1] = "AUTO_TEXT", t[t.PAGE_BREAK = 2] = "PAGE_BREAK", t[t.COLUMN_BREAK = 3] = "COLUMN_BREAK", t[t.FOOT_NOTE_REFERENCE = 4] = "FOOT_NOTE_REFERENCE", t[t.HORIZONTAL_RULE = 5] = "HORIZONTAL_RULE", t[t.EQUATION = 6] = "EQUATION", t[t.DRAWING = 7] = "DRAWING", t[t.PERSON = 8] = "PERSON", t[t.RICH_LINK = 9] = "RICH_LINK", t))(In || {}), Nn = /* @__PURE__ */ ((t) => (t[t.BOTH_SIDES = 0] = "BOTH_SIDES", t[t.LEFT = 1] = "LEFT", t[t.RIGHT = 2] = "RIGHT", t[t.LARGEST = 3] = "LARGEST", t))(Nn || {}), wn = /* @__PURE__ */ ((t) => (t[t.INLINE = 0] = "INLINE", t[t.WRAP_NONE = 1] = "WRAP_NONE", t[t.WRAP_POLYGON = 2] = "WRAP_POLYGON", t[t.WRAP_SQUARE = 3] = "WRAP_SQUARE", t[t.WRAP_THROUGH = 4] = "WRAP_THROUGH", t[t.WRAP_TIGHT = 5] = "WRAP_TIGHT", t[t.WRAP_TOP_AND_BOTTOM = 6] = "WRAP_TOP_AND_BOTTOM", t))(wn || {}), Sn = /* @__PURE__ */ ((t) => (t[t.NAMED_STYLE_TYPE_UNSPECIFIED = 0] = "NAMED_STYLE_TYPE_UNSPECIFIED", t[t.NORMAL_TEXT = 1] = "NORMAL_TEXT", t[t.TITLE = 2] = "TITLE", t[t.SUBTITLE = 3] = "SUBTITLE", t[t.HEADING_1 = 4] = "HEADING_1", t[t.HEADING_2 = 5] = "HEADING_2", t[t.HEADING_3 = 6] = "HEADING_3", t[t.HEADING_4 = 7] = "HEADING_4", t[t.HEADING_5 = 8] = "HEADING_5", t[t.HEADING_6 = 9] = "HEADING_6", t))(Sn || {}), Ln = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.AT_LEAST = 1] = "AT_LEAST", t[t.EXACT = 2] = "EXACT", t))(Ln || {}), bn = /* @__PURE__ */ ((t) => (t[t.DASH_STYLE_UNSPECIFIED = 0] = "DASH_STYLE_UNSPECIFIED", t[t.SOLID = 1] = "SOLID", t[t.DOT = 2] = "DOT", t[t.DASH = 3] = "DASH", t))(bn || {}), vn = /* @__PURE__ */ ((t) => (t[t.TAB_STOP_ALIGNMENT_UNSPECIFIED = 0] = "TAB_STOP_ALIGNMENT_UNSPECIFIED", t[t.START = 1] = "START", t[t.CENTER = 2] = "CENTER", t[t.END = 3] = "END", t))(vn || {}), Un = /* @__PURE__ */ ((t) => (t.EVENLY_DISTRIBUTED = "0", t.FIXED_WIDTH = "1", t))(Un || {}), Tn = /* @__PURE__ */ ((t) => (t[t.CONTENT_ALIGNMENT_UNSPECIFIED = 0] = "CONTENT_ALIGNMENT_UNSPECIFIED", t[t.CONTENT_ALIGNMENT_UNSUPPORTED = 1] = "CONTENT_ALIGNMENT_UNSUPPORTED", t[t.TOP = 2] = "TOP", t[t.MIDDLE = 3] = "MIDDLE", t[t.BOTTOM = 4] = "BOTTOM", t))(Tn || {}), Mn = /* @__PURE__ */ ((t) => (t.NORMAL = "normal", t.BOLD = "bold", t.ITALIC = "italic", t))(Mn || {}), Dn = /* @__PURE__ */ ((t) => (t[t.PAGE = 0] = "PAGE", t[t.COLUMN = 1] = "COLUMN", t[t.CHARACTER = 2] = "CHARACTER", t[t.MARGIN = 3] = "MARGIN", t[t.INSIDE_MARGIN = 4] = "INSIDE_MARGIN", t[t.OUTSIDE_MARGIN = 5] = "OUTSIDE_MARGIN", t[t.LEFT_MARGIN = 6] = "LEFT_MARGIN", t[t.RIGHT_MARGIN = 7] = "RIGHT_MARGIN", t))(Dn || {}), pn = /* @__PURE__ */ ((t) => (t[t.PAGE = 0] = "PAGE", t[t.PARAGRAPH = 1] = "PARAGRAPH", t[t.LINE = 2] = "LINE", t[t.MARGIN = 3] = "MARGIN", t[t.TOP_MARGIN = 4] = "TOP_MARGIN", t[t.BOTTOM_MARGIN = 5] = "BOTTOM_MARGIN", t[t.INSIDE_MARGIN = 6] = "INSIDE_MARGIN", t[t.OUTSIDE_MARGIN = 7] = "OUTSIDE_MARGIN", t))(pn || {}), xn = /* @__PURE__ */ ((t) => (t[t.POINT = 0] = "POINT", t[t.LINE = 1] = "LINE", t[t.CHARACTER = 2] = "CHARACTER", t))(xn || {}), Pn = /* @__PURE__ */ ((t) => (t[t.CENTER = 0] = "CENTER", t[t.INSIDE = 1] = "INSIDE", t[t.LEFT = 2] = "LEFT", t[t.OUTSIDE = 3] = "OUTSIDE", t[t.RIGHT = 4] = "RIGHT", t))(Pn || {}), Hn = /* @__PURE__ */ ((t) => (t[t.BOTTOM = 0] = "BOTTOM", t[t.CENTER = 1] = "CENTER", t[t.INSIDE = 2] = "INSIDE", t[t.OUTSIDE = 3] = "OUTSIDE", t[t.TOP = 4] = "TOP", t))(Hn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.compressPunctuation = 0] = "compressPunctuation", t[t.compressPunctuationAndJapaneseKana = 1] = "compressPunctuationAndJapaneseKana", t[t.doNotCompress = 2] = "doNotCompress", t))(Fn || {}), Wn = /* @__PURE__ */ ((t) => (t[t.PORTRAIT = 0] = "PORTRAIT", t[t.LANDSCAPE = 1] = "LANDSCAPE", t))(Wn || {}), p = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ROW = 1] = "ROW", t[t.COLUMN = 2] = "COLUMN", t[t.ALL = 3] = "ALL", t))(p || {}), L = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.ROW = 1] = "ROW", t[t.COLUMN = 2] = "COLUMN", t[t.ALL = 3] = "ALL", t))(L || {});
803
+ function Mo(t) {
804
804
  return [t.startRow, t.startColumn, t.endRow, t.endColumn];
805
805
  }
806
- var ke = /* @__PURE__ */ ((t) => (t[t.SLIDE = 0] = "SLIDE", t[t.MASTER = 1] = "MASTER", t[t.LAYOUT = 2] = "LAYOUT", t[t.HANDOUT_MASTER = 3] = "HANDOUT_MASTER", t[t.NOTES_MASTER = 4] = "NOTES_MASTER", t))(ke || {}), Wn = /* @__PURE__ */ ((t) => (t[t.SHAPE = 0] = "SHAPE", t[t.IMAGE = 1] = "IMAGE", t[t.TEXT = 2] = "TEXT", t[t.SPREADSHEET = 3] = "SPREADSHEET", t[t.DOCUMENT = 4] = "DOCUMENT", t[t.SLIDE = 5] = "SLIDE", t))(Wn || {}), Gn = /* @__PURE__ */ ((t) => (t[t.RELATIVE_SLIDE_LINK_UNSPECIFIED = 0] = "RELATIVE_SLIDE_LINK_UNSPECIFIED", t[t.NEXT_SLIDE = 1] = "NEXT_SLIDE", t[t.PREVIOUS_SLIDE = 2] = "PREVIOUS_SLIDE", t[t.FIRST_SLIDE = 3] = "FIRST_SLIDE", t[t.LAST_SLIDE = 4] = "LAST_SLIDE", t))(Gn || {});
807
- const Bn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
808
- let $n = (t) => crypto.getRandomValues(new Uint8Array(t)), kn = (t, e, s) => {
806
+ var ke = /* @__PURE__ */ ((t) => (t[t.SLIDE = 0] = "SLIDE", t[t.MASTER = 1] = "MASTER", t[t.LAYOUT = 2] = "LAYOUT", t[t.HANDOUT_MASTER = 3] = "HANDOUT_MASTER", t[t.NOTES_MASTER = 4] = "NOTES_MASTER", t))(ke || {}), Gn = /* @__PURE__ */ ((t) => (t[t.SHAPE = 0] = "SHAPE", t[t.IMAGE = 1] = "IMAGE", t[t.TEXT = 2] = "TEXT", t[t.SPREADSHEET = 3] = "SPREADSHEET", t[t.DOCUMENT = 4] = "DOCUMENT", t[t.SLIDE = 5] = "SLIDE", t))(Gn || {}), Bn = /* @__PURE__ */ ((t) => (t[t.RELATIVE_SLIDE_LINK_UNSPECIFIED = 0] = "RELATIVE_SLIDE_LINK_UNSPECIFIED", t[t.NEXT_SLIDE = 1] = "NEXT_SLIDE", t[t.PREVIOUS_SLIDE = 2] = "PREVIOUS_SLIDE", t[t.FIRST_SLIDE = 3] = "FIRST_SLIDE", t[t.LAST_SLIDE = 4] = "LAST_SLIDE", t))(Bn || {});
807
+ const $n = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
808
+ let kn = (t) => crypto.getRandomValues(new Uint8Array(t)), Vn = (t, e, s) => {
809
809
  let n = (2 << Math.log(t.length - 1) / Math.LN2) - 1, r = -~(1.6 * n * e / t.length);
810
810
  return (i = e) => {
811
811
  let o = "";
@@ -816,13 +816,13 @@ let $n = (t) => crypto.getRandomValues(new Uint8Array(t)), kn = (t, e, s) => {
816
816
  return o;
817
817
  }
818
818
  };
819
- }, Vn = (t, e = 21) => kn(t, e, $n), jn = (t = 21) => {
819
+ }, jn = (t, e = 21) => Vn(t, e, kn), Kn = (t = 21) => {
820
820
  let e = "", s = crypto.getRandomValues(new Uint8Array(t));
821
821
  for (; t--; )
822
- e += Bn[s[t] & 63];
822
+ e += $n[s[t] & 63];
823
823
  return e;
824
824
  };
825
- const Kn = /^-ms-/, Yn = /-([a-z])/g, K = [
825
+ const Yn = /^-ms-/, zn = /-([a-z])/g, K = [
826
826
  "A",
827
827
  "B",
828
828
  "C",
@@ -905,7 +905,7 @@ class R {
905
905
  return o ? "FF" : s ? "Opera" : u ? "Safari" : a ? "Chrome" : i ? "Edge" : r ? "IE11" : "Unknown browser";
906
906
  }
907
907
  static generateRandomId(e = 21, s) {
908
- return s ? Vn(s, e)() : jn(e);
908
+ return s ? jn(s, e)() : Kn(e);
909
909
  }
910
910
  static getClassName(e) {
911
911
  return e.constructor.name;
@@ -1108,7 +1108,7 @@ class R {
1108
1108
  // Support: IE <=9 - 11, Edge 12 - 15
1109
1109
  // Microsoft forgot to hump their vendor prefix (#9572)
1110
1110
  static camelCase(e) {
1111
- return e.replace(Kn, "ms-").replace(Yn, this.fCamelCase);
1111
+ return e.replace(Yn, "ms-").replace(zn, this.fCamelCase);
1112
1112
  }
1113
1113
  /**
1114
1114
  * remove all null from object
@@ -1234,7 +1234,7 @@ class R {
1234
1234
  return !s && n;
1235
1235
  }
1236
1236
  }
1237
- function Mo(t) {
1237
+ function Do(t) {
1238
1238
  if (!t)
1239
1239
  return;
1240
1240
  const { actualRow: e, actualColumn: s, isMerged: n, isMergedMainCell: r, mergeInfo: i } = t;
@@ -1248,9 +1248,9 @@ function Mo(t) {
1248
1248
  startY: v,
1249
1249
  endY: M,
1250
1250
  startX: j,
1251
- endX: Ss
1251
+ endX: ws
1252
1252
  } = i;
1253
- c = g, h = E, _ = m, f = I, o = v, u = M, a = j, l = Ss;
1253
+ c = g, h = E, _ = m, f = I, o = v, u = M, a = j, l = ws;
1254
1254
  }
1255
1255
  return r && (o = i.startY, u = i.endY, a = i.startX, l = i.endX, _ = i.endRow, f = i.endColumn), {
1256
1256
  startRow: c,
@@ -1263,7 +1263,7 @@ function Mo(t) {
1263
1263
  endX: l
1264
1264
  };
1265
1265
  }
1266
- function Do(t) {
1266
+ function po(t) {
1267
1267
  if (!t)
1268
1268
  return;
1269
1269
  const {
@@ -1284,7 +1284,7 @@ function Do(t) {
1284
1284
  endColumn: _
1285
1285
  };
1286
1286
  }
1287
- function po(t) {
1287
+ function xo(t) {
1288
1288
  var s;
1289
1289
  return !t || (((s = t == null ? void 0 : t.v) == null ? void 0 : s.toString()) || "").length === 0 && !t.p;
1290
1290
  }
@@ -1297,16 +1297,16 @@ function V(t) {
1297
1297
  }
1298
1298
  return null;
1299
1299
  }
1300
- function xo(t) {
1300
+ function Po(t) {
1301
1301
  return R.isString(t) && t.substring(0, 1) === "=" && t.length > 1;
1302
1302
  }
1303
- function Po(t) {
1303
+ function Ho(t) {
1304
1304
  return R.isString(t) && t.length > 0;
1305
1305
  }
1306
- function Ho(t) {
1306
+ function Fo(t) {
1307
1307
  return "";
1308
1308
  }
1309
- function Fo(t, e = !1) {
1309
+ function Wo(t, e = !1) {
1310
1310
  var i;
1311
1311
  let s = "";
1312
1312
  const n = /* @__PURE__ */ new Map([
@@ -1386,7 +1386,7 @@ function Fo(t, e = !1) {
1386
1386
  [
1387
1387
  "td",
1388
1388
  () => {
1389
- t.td === wt.LEFT_TO_RIGHT ? s += "direction: ltr; " : t.td === wt.RIGHT_TO_LEFT && (s += "direction: rtl; ");
1389
+ t.td === St.LEFT_TO_RIGHT ? s += "direction: ltr; " : t.td === St.RIGHT_TO_LEFT && (s += "direction: rtl; ");
1390
1390
  }
1391
1391
  ],
1392
1392
  [
@@ -1429,32 +1429,32 @@ function Fo(t, e = !1) {
1429
1429
  }
1430
1430
  function ft(t) {
1431
1431
  let e = "";
1432
- return t === S.NONE ? e = "none" : t === S.THIN ? e = "0.5pt solid" : t === S.HAIR ? e = "0.5pt double" : t === S.DOTTED ? e = "0.5pt dotted" : t === S.DASHED || t === S.DASH_DOT ? e = "0.5pt dashed" : t === S.DASH_DOT_DOT ? e = "0.5pt dotted" : t === S.DOUBLE ? e = "0.5pt double" : t === S.MEDIUM ? e = "1pt solid" : t === S.MEDIUM_DASHED || t === S.MEDIUM_DASH_DOT ? e = "1pt dashed" : t === S.MEDIUM_DASH_DOT_DOT ? e = "1pt dotted" : t === S.SLANT_DASH_DOT ? e = "0.5pt dashed" : t === S.THICK && (e = "1.5pt solid"), e;
1432
+ return t === w.NONE ? e = "none" : t === w.THIN ? e = "0.5pt solid" : t === w.HAIR ? e = "0.5pt double" : t === w.DOTTED ? e = "0.5pt dotted" : t === w.DASHED || t === w.DASH_DOT ? e = "0.5pt dashed" : t === w.DASH_DOT_DOT ? e = "0.5pt dotted" : t === w.DOUBLE ? e = "0.5pt double" : t === w.MEDIUM ? e = "1pt solid" : t === w.MEDIUM_DASHED || t === w.MEDIUM_DASH_DOT ? e = "1pt dashed" : t === w.MEDIUM_DASH_DOT_DOT ? e = "1pt dotted" : t === w.SLANT_DASH_DOT ? e = "0.5pt dashed" : t === w.THICK && (e = "1.5pt solid"), e;
1433
1433
  }
1434
- function Wo(t) {
1434
+ function Go(t) {
1435
1435
  let e = 0;
1436
1436
  if (t = t.trim(), t === "none")
1437
- e = S.NONE;
1437
+ e = w.NONE;
1438
1438
  else if (t === "0.5pt solid")
1439
- e = S.THIN;
1439
+ e = w.THIN;
1440
1440
  else if (t === "0.5pt double")
1441
- e = S.HAIR;
1441
+ e = w.HAIR;
1442
1442
  else if (t === "0.5pt dotted")
1443
- e = S.DOTTED;
1443
+ e = w.DOTTED;
1444
1444
  else if (t === "0.5pt dashed")
1445
- e = S.DASHED;
1445
+ e = w.DASHED;
1446
1446
  else if (t === "1pt solid")
1447
- e = S.MEDIUM;
1447
+ e = w.MEDIUM;
1448
1448
  else if (t === "1pt dashed")
1449
- e = S.MEDIUM_DASHED;
1449
+ e = w.MEDIUM_DASHED;
1450
1450
  else if (t === "1pt dotted")
1451
- e = S.MEDIUM_DASH_DOT_DOT;
1451
+ e = w.MEDIUM_DASH_DOT_DOT;
1452
1452
  else if (t === "1.5pt solid")
1453
- e = S.THICK;
1453
+ e = w.THICK;
1454
1454
  else if (!t.includes("none"))
1455
- e = S.THIN;
1455
+ e = w.THIN;
1456
1456
  else
1457
- return S.NONE;
1457
+ return w.NONE;
1458
1458
  return e;
1459
1459
  }
1460
1460
  function Gt(t, e) {
@@ -1465,21 +1465,21 @@ function Gt(t, e) {
1465
1465
  }
1466
1466
  return s;
1467
1467
  }
1468
- function Go(t) {
1468
+ function Bo(t) {
1469
1469
  const { startRow: e, endRow: s, startColumn: n, endColumn: r, rangeType: i } = t;
1470
1470
  return !(e < 0 || n < 0 || s < 0 || r < 0 || !(Number.isNaN(e) && Number.isNaN(s)) && i === p.COLUMN || !(Number.isNaN(n) && Number.isNaN(r)) && i === p.ROW);
1471
1471
  }
1472
- function Bo(t, e) {
1472
+ function $o(t, e) {
1473
1473
  return { startRow: t, endRow: t, startColumn: e, endColumn: e };
1474
1474
  }
1475
1475
  function Ve(t, e) {
1476
1476
  return Object.prototype.toString.call(t) === Object.prototype.toString.call(e) ? Object.prototype.toString.call(t) === "[object Object]" || Object.prototype.toString.call(t) === "[object Array]" ? Object.keys(t).length !== Object.keys(e).length ? !1 : Object.keys(t).every((s) => Ve(t[s], e[s])) : t === e : !1;
1477
1477
  }
1478
- function zn(t, e) {
1478
+ function Xn(t, e) {
1479
1479
  const s = t.ts || {}, n = e.ts || {};
1480
1480
  return t.sId !== e.sId ? !1 : Ve(s, n);
1481
1481
  }
1482
- function $o(t, e) {
1482
+ function ko(t, e) {
1483
1483
  return e.some((s) => t.indexOf(s) > -1);
1484
1484
  }
1485
1485
  function je(t, e, s, n) {
@@ -1490,31 +1490,31 @@ function je(t, e, s, n) {
1490
1490
  let i = [];
1491
1491
  return t === s ? i = [n + 1 - r, e - r] : e === n ? i = [t, s - 1] : i = [t, e - r], i;
1492
1492
  }
1493
- function ko(t) {
1493
+ function Vo(t) {
1494
1494
  if (t == null)
1495
1495
  return !1;
1496
1496
  const e = t.bullet;
1497
1497
  return (e == null ? void 0 : e.listId) != null;
1498
1498
  }
1499
- function Vo(t) {
1499
+ function jo(t) {
1500
1500
  if (t == null)
1501
1501
  return !1;
1502
1502
  const e = t.paragraphStyle;
1503
- return Xn(e);
1503
+ return Jn(e);
1504
1504
  }
1505
- function Xn(t) {
1505
+ function Jn(t) {
1506
1506
  return !(t == null || (t.indentStart == null || t.indentStart === 0) && t.hanging == null || t.hanging === 0);
1507
1507
  }
1508
- function Jn(t, e, s) {
1508
+ function qn(t, e, s) {
1509
1509
  return t.slice(0, e) + s + t.slice(e);
1510
1510
  }
1511
- function qn(t, e, s) {
1511
+ function Zn(t, e, s) {
1512
1512
  return e > s ? t : t.slice(0, e) + t.slice(s);
1513
1513
  }
1514
- function jo(t) {
1514
+ function Ko(t) {
1515
1515
  return t === null || t.toString().replace(/\s/g, "") === "" || typeof t == "boolean" ? !1 : !isNaN(t);
1516
1516
  }
1517
- function Ko(t) {
1517
+ function Yo(t) {
1518
1518
  let e = 0;
1519
1519
  for (let s = 0; s < t.length; s++)
1520
1520
  e = t.charCodeAt(s) + (e << 6) + (e << 16) - e;
@@ -1561,13 +1561,13 @@ function Ie(t, e, s) {
1561
1561
  function lt(t) {
1562
1562
  return typeof t == "function";
1563
1563
  }
1564
- function Zn(t) {
1564
+ function Qn(t) {
1565
1565
  var e = function(n) {
1566
1566
  Error.call(n), n.stack = new Error().stack;
1567
1567
  }, s = t(e);
1568
1568
  return s.prototype = Object.create(Error.prototype), s.prototype.constructor = s, s;
1569
1569
  }
1570
- var Bt = Zn(function(t) {
1570
+ var Bt = Qn(function(t) {
1571
1571
  return function(s) {
1572
1572
  t(this), this.message = s ? s.length + ` errors occurred during unsubscription:
1573
1573
  ` + s.map(function(n, r) {
@@ -1624,7 +1624,7 @@ var Ke = function() {
1624
1624
  for (var _ = Oe(h), f = _.next(); !f.done; f = _.next()) {
1625
1625
  var g = f.value;
1626
1626
  try {
1627
- Se(g);
1627
+ we(g);
1628
1628
  } catch (E) {
1629
1629
  i = i != null ? i : [], E instanceof Bt ? i = Ie(Ie([], Ae(i)), Ae(E.errors)) : i.push(E);
1630
1630
  }
@@ -1647,7 +1647,7 @@ var Ke = function() {
1647
1647
  var s;
1648
1648
  if (e && e !== this)
1649
1649
  if (this.closed)
1650
- Se(e);
1650
+ we(e);
1651
1651
  else {
1652
1652
  if (e instanceof t) {
1653
1653
  if (e.closed || e._hasParent(this))
@@ -1674,13 +1674,13 @@ var Ke = function() {
1674
1674
  }(), t;
1675
1675
  }();
1676
1676
  Ke.EMPTY;
1677
- function Qn(t) {
1677
+ function yn(t) {
1678
1678
  return t instanceof Ke || t && "closed" in t && lt(t.remove) && lt(t.add) && lt(t.unsubscribe);
1679
1679
  }
1680
- function Se(t) {
1680
+ function we(t) {
1681
1681
  lt(t) ? t() : t.unsubscribe();
1682
1682
  }
1683
- class yn {
1683
+ class tr {
1684
1684
  /**
1685
1685
  * Create a new EventState
1686
1686
  * @param skipNextObservers defines a flag which will instruct the observable to skip following observers when set to true
@@ -1714,7 +1714,7 @@ class yn {
1714
1714
  this.isStopPropagation = !0;
1715
1715
  }
1716
1716
  }
1717
- function tr(t) {
1717
+ function er(t) {
1718
1718
  return t instanceof le;
1719
1719
  }
1720
1720
  class le {
@@ -1744,7 +1744,7 @@ class ce {
1744
1744
  d(this, "_observers", new Array());
1745
1745
  d(this, "_eventState");
1746
1746
  d(this, "_onObserverAdded");
1747
- this._eventState = new yn(), e && (this._onObserverAdded = e);
1747
+ this._eventState = new tr(), e && (this._onObserverAdded = e);
1748
1748
  }
1749
1749
  /**
1750
1750
  * Gets the list of observers
@@ -1906,9 +1906,9 @@ class ce {
1906
1906
  }
1907
1907
  function b(t) {
1908
1908
  let e = !1;
1909
- return t ? Qn(t) ? {
1909
+ return t ? yn(t) ? {
1910
1910
  dispose: () => t.unsubscribe()
1911
- } : tr(t) ? {
1911
+ } : er(t) ? {
1912
1912
  dispose: () => {
1913
1913
  e || (e = !0, t.dispose());
1914
1914
  }
@@ -1919,7 +1919,7 @@ function b(t) {
1919
1919
  } : t : b(() => {
1920
1920
  });
1921
1921
  }
1922
- function Yo(t) {
1922
+ function zo(t) {
1923
1923
  return b(() => {
1924
1924
  t.unsubscribe();
1925
1925
  });
@@ -1958,7 +1958,7 @@ class T {
1958
1958
  this._disposed || (this._disposed = !0, this._collection.dispose());
1959
1959
  }
1960
1960
  }
1961
- class zo extends T {
1961
+ class Xo extends T {
1962
1962
  constructor() {
1963
1963
  super(...arguments);
1964
1964
  d(this, "dispose$", new H());
@@ -1988,13 +1988,13 @@ function he(t, e) {
1988
1988
  const s = t.indexOf(e);
1989
1989
  return s > -1 ? (t.splice(s, 1), !0) : !1;
1990
1990
  }
1991
- function Xo(t) {
1991
+ function Jo(t) {
1992
1992
  const e = /* @__PURE__ */ new Set(), s = [];
1993
1993
  for (const n of t)
1994
1994
  e.has(n) || (e.add(n), s.push(n));
1995
1995
  return s;
1996
1996
  }
1997
- function er(t, e) {
1997
+ function sr(t, e) {
1998
1998
  for (let s = t.length - 1; s > -1; s--) {
1999
1999
  const n = t[s];
2000
2000
  if (e(n, s))
@@ -2002,13 +2002,13 @@ function er(t, e) {
2002
2002
  }
2003
2003
  return null;
2004
2004
  }
2005
- function Jo(t, e) {
2005
+ function qo(t, e) {
2006
2006
  if (t.length === 0)
2007
2007
  return t;
2008
2008
  const s = e % t.length;
2009
2009
  return t.slice(s).concat(t.slice(0, s));
2010
2010
  }
2011
- function qo(t, e) {
2011
+ function Zo(t, e) {
2012
2012
  const s = /* @__PURE__ */ new Map();
2013
2013
  return t.forEach((n) => {
2014
2014
  const r = e(n);
@@ -2017,7 +2017,7 @@ function qo(t, e) {
2017
2017
  }), s;
2018
2018
  }
2019
2019
  const N = Symbol("newer"), U = Symbol("older");
2020
- class sr {
2020
+ class nr {
2021
2021
  constructor(e) {
2022
2022
  d(this, "entry");
2023
2023
  this.entry = e;
@@ -2030,7 +2030,7 @@ class sr {
2030
2030
  return e ? (this.entry = e[N], { done: !1, value: e.key }) : { done: !0, value: void 0 };
2031
2031
  }
2032
2032
  }
2033
- class nr {
2033
+ class rr {
2034
2034
  constructor(e) {
2035
2035
  d(this, "entry");
2036
2036
  this.entry = e;
@@ -2043,7 +2043,7 @@ class nr {
2043
2043
  return e ? (this.entry = e[N], { done: !1, value: e.value }) : { done: !0, value: void 0 };
2044
2044
  }
2045
2045
  }
2046
- class rr {
2046
+ class ir {
2047
2047
  constructor(e) {
2048
2048
  d(this, "entry");
2049
2049
  this.entry = e;
@@ -2056,13 +2056,13 @@ class rr {
2056
2056
  return e ? (this.entry = e[N], { done: !1, value: [e.key, e.value] }) : { done: !0, value: void 0 };
2057
2057
  }
2058
2058
  }
2059
- var _o, fo;
2060
- class we {
2059
+ var fo, go;
2060
+ class Se {
2061
2061
  constructor(e, s) {
2062
2062
  d(this, "key");
2063
2063
  d(this, "value");
2064
- d(this, _o);
2065
2064
  d(this, fo);
2065
+ d(this, go);
2066
2066
  this.key = e, this.value = s, this[N] = void 0, this[U] = void 0;
2067
2067
  }
2068
2068
  toJSON() {
@@ -2072,8 +2072,8 @@ class we {
2072
2072
  };
2073
2073
  }
2074
2074
  }
2075
- _o = N, fo = U;
2076
- class ir {
2075
+ fo = N, go = U;
2076
+ class or {
2077
2077
  constructor(...e) {
2078
2078
  d(this, "_keymap");
2079
2079
  d(this, "size", 0);
@@ -2115,7 +2115,7 @@ class ir {
2115
2115
  this._keymap.clear();
2116
2116
  const r = e[Symbol.iterator]();
2117
2117
  for (let i = r.next(); !i.done; i = r.next()) {
2118
- const o = new we(i.value[0], i.value[1]);
2118
+ const o = new Se(i.value[0], i.value[1]);
2119
2119
  if (this._keymap.set(o.key, o), s ? (s[N] = o, o[U] = s) : this.oldest = o, s = o, n-- === 0)
2120
2120
  throw new Error("overflow");
2121
2121
  }
@@ -2123,7 +2123,7 @@ class ir {
2123
2123
  }
2124
2124
  set(e, s) {
2125
2125
  let n = this._keymap.get(e);
2126
- return n ? (n.value = s, this._markEntryAsUsed(n), this) : (this._keymap.set(e, n = new we(e, s)), this.newest ? (this.newest[N] = n, n[U] = this.newest) : this.oldest = n, this.newest = n, ++this.size, this.size > this.limit && this.shift(), this);
2126
+ return n ? (n.value = s, this._markEntryAsUsed(n), this) : (this._keymap.set(e, n = new Se(e, s)), this.newest ? (this.newest[N] = n, n[U] = this.newest) : this.oldest = n, this.newest = n, ++this.size, this.size > this.limit && this.shift(), this);
2127
2127
  }
2128
2128
  shift() {
2129
2129
  const e = this.oldest;
@@ -2151,16 +2151,16 @@ class ir {
2151
2151
  this.oldest = void 0, this.newest = void 0, this.size = 0, this._keymap.clear();
2152
2152
  }
2153
2153
  keys() {
2154
- return new sr(this.oldest);
2154
+ return new nr(this.oldest);
2155
2155
  }
2156
2156
  values() {
2157
- return new nr(this.oldest);
2157
+ return new rr(this.oldest);
2158
2158
  }
2159
2159
  entries() {
2160
2160
  return this[Symbol.iterator]();
2161
2161
  }
2162
2162
  [Symbol.iterator]() {
2163
- return new rr(this.oldest);
2163
+ return new ir(this.oldest);
2164
2164
  }
2165
2165
  forEach(e, s) {
2166
2166
  typeof s != "object" && (s = this);
@@ -2202,7 +2202,7 @@ function be(t, e, s) {
2202
2202
  for (let r = t; r < n; r++)
2203
2203
  r < t + e ? delete s[r] : s[r] !== void 0 && (s[r - e] = s[r], delete s[r]);
2204
2204
  }
2205
- function Zo(t, e) {
2205
+ function Qo(t, e) {
2206
2206
  const s = t, n = Object.keys(s), r = n.length, i = e, o = Object.keys(i), u = o.length, a = {};
2207
2207
  let l = 0;
2208
2208
  for (let c = 0; c < r; c++, l++) {
@@ -2215,7 +2215,7 @@ function Zo(t, e) {
2215
2215
  }
2216
2216
  return a;
2217
2217
  }
2218
- function Qo(t, e, s) {
2218
+ function yo(t, e, s) {
2219
2219
  const n = s;
2220
2220
  if (J(s) > 0) {
2221
2221
  const i = {};
@@ -2230,9 +2230,9 @@ function ve(t, e, s, n) {
2230
2230
  const r = t > s;
2231
2231
  if (!r && t + e > s)
2232
2232
  throw new Error("Invalid move operation");
2233
- r ? or(t, e, s, n) : ur(t, e, s, n);
2233
+ r ? ur(t, e, s, n) : ar(t, e, s, n);
2234
2234
  }
2235
- function or(t, e, s, n) {
2235
+ function ur(t, e, s, n) {
2236
2236
  const r = n, i = [];
2237
2237
  for (let o = t; o < t + e; o++)
2238
2238
  i.push(r[o]);
@@ -2244,7 +2244,7 @@ function or(t, e, s, n) {
2244
2244
  r[s + u] = o, o === void 0 && delete r[s + u];
2245
2245
  });
2246
2246
  }
2247
- function ur(t, e, s, n) {
2247
+ function ar(t, e, s, n) {
2248
2248
  const r = n, i = [];
2249
2249
  for (let o = t; o < t + e; o++)
2250
2250
  i.push(r[o]);
@@ -2557,12 +2557,12 @@ class k {
2557
2557
  }
2558
2558
  }
2559
2559
  var ze = /* @__PURE__ */ ((t) => (t.INIT = "init", t.FETCHING = "fetching", t.DONE = "done", t))(ze || {});
2560
- class ar {
2560
+ class lr {
2561
2561
  constructor() {
2562
2562
  d(this, "status", "init");
2563
2563
  }
2564
2564
  }
2565
- const yo = (t) => t.some(
2565
+ const tu = (t) => t.some(
2566
2566
  (e) => e.status === "init"
2567
2567
  /* INIT */
2568
2568
  ) ? "init" : t.some(
@@ -2702,7 +2702,7 @@ d(z, "getRelativeRange", (e, s) => ({
2702
2702
  endColumn: e.endColumn + s
2703
2703
  }));
2704
2704
  let Z = z;
2705
- class tu {
2705
+ class eu {
2706
2706
  constructor(e, s) {
2707
2707
  d(this, "_values", []);
2708
2708
  d(this, "_keys", []);
@@ -2779,7 +2779,7 @@ function Ue(t, e, s, n) {
2779
2779
  }
2780
2780
  };
2781
2781
  }
2782
- function eu(t) {
2782
+ function su(t) {
2783
2783
  if (t == null || t.length === 0)
2784
2784
  return Number.NaN;
2785
2785
  const e = t.toLowerCase().split(""), s = e.length, n = (o) => o.charCodeAt(0) - 96;
@@ -2788,37 +2788,37 @@ function eu(t) {
2788
2788
  i = n(e[o]), r += i * 26 ** (s - o - 1);
2789
2789
  return r === 0 ? Number.NaN : r - 1;
2790
2790
  }
2791
- const bt = 65, Xe = 90, lr = 97;
2792
- function su(t) {
2791
+ const bt = 65, Xe = 90, cr = 97;
2792
+ function nu(t) {
2793
2793
  const e = Xe - bt + 1;
2794
2794
  let s = "";
2795
2795
  for (; t >= 0; )
2796
2796
  s = String.fromCharCode(t % e + bt) + s, t = Math.floor(t / e) - 1;
2797
2797
  return s;
2798
2798
  }
2799
- function cr(t, e) {
2799
+ function hr(t, e) {
2800
2800
  let s = "";
2801
2801
  for (; e > 0; )
2802
2802
  s += t, e--;
2803
2803
  return s;
2804
2804
  }
2805
- function nu(t, e = !1) {
2805
+ function ru(t, e = !1) {
2806
2806
  const s = Xe - bt + 1;
2807
- let n = lr;
2807
+ let n = cr;
2808
2808
  e && (n = bt);
2809
2809
  const r = String.fromCharCode(t % s + n), i = Math.floor(t / s) + 1;
2810
- return cr(r, i);
2810
+ return hr(r, i);
2811
2811
  }
2812
- function ru(t, e) {
2812
+ function iu(t, e) {
2813
2813
  return t.zIndex > e.zIndex ? 1 : t.zIndex === e.zIndex ? 0 : -1;
2814
2814
  }
2815
- function iu(t, e) {
2815
+ function ou(t, e) {
2816
2816
  return t.zIndex > e.zIndex ? -1 : t.zIndex === e.zIndex ? 0 : 1;
2817
2817
  }
2818
2818
  function ht(t = "index", e = 1) {
2819
2819
  return (s, n) => s[t] > n[t] ? e : s[t] === n[t] ? 0 : -e;
2820
2820
  }
2821
- function ou(t, e) {
2821
+ function uu(t, e) {
2822
2822
  let s;
2823
2823
  return function(...n) {
2824
2824
  const r = this, i = function() {
@@ -2844,7 +2844,7 @@ function $t(t, e, s) {
2844
2844
  }
2845
2845
  return i !== s && o.push(n.slice(i, s)), o.join("");
2846
2846
  }
2847
- function uu(t, e = !0) {
2847
+ function au(t, e = !0) {
2848
2848
  var s;
2849
2849
  if (e && ((s = t.paragraphs) != null && s.length)) {
2850
2850
  const { dataStream: n, paragraphs: r = [] } = t;
@@ -2871,17 +2871,17 @@ const Et = {
2871
2871
  startColumn: -1,
2872
2872
  endColumn: -1
2873
2873
  }
2874
- }, au = {
2874
+ }, lu = {
2875
2875
  startRow: -1,
2876
2876
  startColumn: -1,
2877
2877
  endRow: -1,
2878
2878
  endColumn: -1
2879
- }, lu = {
2879
+ }, cu = {
2880
2880
  startRow: 0,
2881
2881
  startColumn: 0,
2882
2882
  endRow: 0,
2883
2883
  endColumn: 0
2884
- }, cu = {
2884
+ }, hu = {
2885
2885
  row: 0,
2886
2886
  column: 0
2887
2887
  }, kt = {
@@ -2937,7 +2937,7 @@ const Et = {
2937
2937
  /**
2938
2938
  * textDirection
2939
2939
  */
2940
- td: wt.UNSPECIFIED,
2940
+ td: St.UNSPECIFIED,
2941
2941
  /**
2942
2942
  * color
2943
2943
  */
@@ -2971,7 +2971,7 @@ const Et = {
2971
2971
  b: 0,
2972
2972
  l: 0
2973
2973
  }
2974
- }, hr = {
2974
+ }, dr = {
2975
2975
  id: "default_slide",
2976
2976
  title: "defaultSlide",
2977
2977
  pageSize: {
@@ -2979,7 +2979,7 @@ const Et = {
2979
2979
  height: 300
2980
2980
  }
2981
2981
  };
2982
- var dr = /* @__PURE__ */ ((t) => (t.ARRAY_CONVERTOR = "ARRAY_CONVERTOR", t.MATRIX_CONVERTOR = "MATRIX_CONVERTOR", t))(dr || {});
2982
+ var _r = /* @__PURE__ */ ((t) => (t.ARRAY_CONVERTOR = "ARRAY_CONVERTOR", t.MATRIX_CONVERTOR = "MATRIX_CONVERTOR", t))(_r || {});
2983
2983
  function Rt(t, e) {
2984
2984
  const { textRuns: s = [] } = e;
2985
2985
  let n = 0;
@@ -3489,7 +3489,7 @@ class it {
3489
3489
  );
3490
3490
  }
3491
3491
  }
3492
- function _r(t, e) {
3492
+ function fr(t, e) {
3493
3493
  if (t.length === 0 || t[0].length === 0)
3494
3494
  return null;
3495
3495
  const s = new Array(t[0].length).fill(0);
@@ -3497,7 +3497,7 @@ function _r(t, e) {
3497
3497
  for (let i = 0; i < t.length; i++) {
3498
3498
  for (let u = 0; u < t[0].length; u++)
3499
3499
  s[u] = e(t[i][u]) ? s[u] + 1 : 0;
3500
- const o = fr(s);
3500
+ const o = gr(s);
3501
3501
  o.area > n && (n = o.area, r = {
3502
3502
  startColumn: o.start,
3503
3503
  startRow: i - o.height + 1,
@@ -3507,7 +3507,7 @@ function _r(t, e) {
3507
3507
  }
3508
3508
  return r;
3509
3509
  }
3510
- function fr(t) {
3510
+ function gr(t) {
3511
3511
  const e = [];
3512
3512
  let s = 0, n = { area: 0, height: 0, start: 0, end: 0 }, r = 0;
3513
3513
  for (; r < t.length; )
@@ -3523,27 +3523,27 @@ function fr(t) {
3523
3523
  }
3524
3524
  return n;
3525
3525
  }
3526
- function gr(t, e) {
3526
+ function Er(t, e) {
3527
3527
  it.foreach(e, (s, n) => {
3528
3528
  t[s][n] = void 0;
3529
3529
  });
3530
3530
  }
3531
- function hu(t, e) {
3531
+ function du(t, e) {
3532
3532
  const s = t.toFullArray(), n = [];
3533
3533
  for (; ; ) {
3534
- const r = _r(s, e);
3534
+ const r = fr(s, e);
3535
3535
  if (!r)
3536
3536
  break;
3537
- n.push(r), gr(s, r);
3537
+ n.push(r), Er(s, r);
3538
3538
  }
3539
3539
  return n;
3540
3540
  }
3541
- function du(t, e, s, n = !1) {
3541
+ function _u(t, e, s, n = !1) {
3542
3542
  let r = { ...t };
3543
3543
  const i = r.startAbsoluteRefType || L.NONE, o = r.endAbsoluteRefType || L.NONE;
3544
3544
  return !n && i === L.ALL && o === L.ALL ? r : n || i === L.NONE && o === L.NONE ? Z.moveOffset(r, e, s) : (i === L.NONE ? r = { ...r, startRow: r.startRow + s, startColumn: r.startColumn + e } : i === L.COLUMN ? r = { ...r, startRow: r.startRow + s } : i === L.ROW && (r = { ...r, startColumn: r.startColumn + e }), o === L.NONE ? r = { ...r, endRow: r.endRow + s, endColumn: r.endColumn + e } : o === L.COLUMN ? r = { ...r, endRow: r.endRow + s } : o === L.ROW && (r = { ...r, endColumn: r.endColumn + e }), r);
3545
3545
  }
3546
- async function Er(t) {
3546
+ async function Rr(t) {
3547
3547
  for (const [e, s] of t.entries())
3548
3548
  try {
3549
3549
  if (!await s())
@@ -3563,7 +3563,7 @@ async function Er(t) {
3563
3563
  index: -1
3564
3564
  };
3565
3565
  }
3566
- function Rr(t) {
3566
+ function mr(t) {
3567
3567
  for (const [e, s] of t.entries())
3568
3568
  try {
3569
3569
  if (!s())
@@ -3584,7 +3584,7 @@ function Rr(t) {
3584
3584
  };
3585
3585
  }
3586
3586
  const pt = G("univer.context-service");
3587
- class mr extends T {
3587
+ class Cr extends T {
3588
3588
  constructor() {
3589
3589
  super(...arguments);
3590
3590
  d(this, "_contextChanged$", new H());
@@ -3608,9 +3608,9 @@ class mr extends T {
3608
3608
  });
3609
3609
  }
3610
3610
  }
3611
- var Cr = /* @__PURE__ */ ((t) => (t[t.SILENT = 0] = "SILENT", t[t.ERROR = 1] = "ERROR", t[t.WARN = 2] = "WARN", t[t.INFO = 3] = "INFO", t[t.VERBOSE = 4] = "VERBOSE", t))(Cr || {});
3611
+ var Or = /* @__PURE__ */ ((t) => (t[t.SILENT = 0] = "SILENT", t[t.ERROR = 1] = "ERROR", t[t.WARN = 2] = "WARN", t[t.INFO = 3] = "INFO", t[t.VERBOSE = 4] = "VERBOSE", t))(Or || {});
3612
3612
  const et = G("univer.log");
3613
- class Or extends T {
3613
+ class Ar extends T {
3614
3614
  constructor() {
3615
3615
  super(...arguments);
3616
3616
  d(this, "_logLevel", 3);
@@ -3635,10 +3635,10 @@ class Or extends T {
3635
3635
  /^\[(.*?)\]/g.test(r) ? s(`\x1B[97;104m${r}\x1B[0m`, ...n.slice(1)) : s(...n);
3636
3636
  }
3637
3637
  }
3638
- var Ar = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, Nr = (t, e, s, n) => {
3639
- for (var r = n > 1 ? void 0 : n ? Ir(e, s) : e, i = t.length - 1, o; i >= 0; i--)
3638
+ var Ir = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor, wr = (t, e, s, n) => {
3639
+ for (var r = n > 1 ? void 0 : n ? Nr(e, s) : e, i = t.length - 1, o; i >= 0; i--)
3640
3640
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
3641
- return n && r && Ar(e, s, r), r;
3641
+ return n && r && Ir(e, s, r), r;
3642
3642
  }, Me = (t, e) => (s, n) => e(s, n, t), xt = /* @__PURE__ */ ((t) => (t[t.COMMAND = 0] = "COMMAND", t[t.OPERATION = 1] = "OPERATION", t[t.MUTATION = 2] = "MUTATION", t))(xt || {});
3643
3643
  const Pt = G("anywhere.command-service");
3644
3644
  class Sr {
@@ -3660,7 +3660,7 @@ class Sr {
3660
3660
  return this._commands.has(e) ? [this._commands.get(e)] : null;
3661
3661
  }
3662
3662
  }
3663
- const wr = {
3663
+ const Lr = {
3664
3664
  id: "nil",
3665
3665
  type: 0,
3666
3666
  handler: () => !0
@@ -3673,7 +3673,7 @@ let yt = class {
3673
3673
  d(this, "_multiCommandDisposables", /* @__PURE__ */ new Map());
3674
3674
  d(this, "_commandExecutingLevel", 0);
3675
3675
  d(this, "_commandExecutionStack", []);
3676
- this._injector = t, this._logService = e, this._commandRegistry = new Sr(), this._registerCommand(wr);
3676
+ this._injector = t, this._logService = e, this._commandRegistry = new Sr(), this._registerCommand(Lr);
3677
3677
  }
3678
3678
  hasCommand(t) {
3679
3679
  return this._commandRegistry.hasCommand(t);
@@ -3724,7 +3724,7 @@ let yt = class {
3724
3724
  params: e
3725
3725
  };
3726
3726
  if (i.type === 2) {
3727
- const l = er(
3727
+ const l = sr(
3728
3728
  this._commandExecutionStack,
3729
3729
  (c) => c.type === 0
3730
3730
  /* COMMAND */
@@ -3753,7 +3753,7 @@ let yt = class {
3753
3753
  s = e[0];
3754
3754
  } else {
3755
3755
  const r = new Ye();
3756
- s = new Lr(t.id), r.add(this._commandRegistry.registerCommand(s)), r.add(
3756
+ s = new br(t.id), r.add(this._commandRegistry.registerCommand(s)), r.add(
3757
3757
  b(() => {
3758
3758
  this._multiCommandDisposables.delete(t.id);
3759
3759
  })
@@ -3794,11 +3794,11 @@ let yt = class {
3794
3794
  return n;
3795
3795
  }
3796
3796
  };
3797
- yt = Nr([
3797
+ yt = wr([
3798
3798
  Me(0, P(tt)),
3799
3799
  Me(1, et)
3800
3800
  ], yt);
3801
- class Lr {
3801
+ class br {
3802
3802
  constructor(e) {
3803
3803
  d(this, "name");
3804
3804
  d(this, "multi", !0);
@@ -3832,23 +3832,23 @@ class Lr {
3832
3832
  }
3833
3833
  function Je(t, e, s) {
3834
3834
  const n = t.map((r) => () => e.syncExecuteCommand(r.id, r.params, s));
3835
- return Rr(n);
3835
+ return mr(n);
3836
3836
  }
3837
- function _u(t, e, s) {
3837
+ function fu(t, e, s) {
3838
3838
  const n = t.map((r) => () => e.executeCommand(r.id, r.params, s));
3839
- return Er(n);
3839
+ return Rr(n);
3840
3840
  }
3841
- function br(t) {
3841
+ function vr(t) {
3842
3842
  return new ie((e) => {
3843
3843
  const s = t((...n) => e.next(n));
3844
3844
  return () => s == null ? void 0 : s.dispose();
3845
3845
  });
3846
3846
  }
3847
- const fu = (t) => new Promise((e) => {
3847
+ const gu = (t) => new Promise((e) => {
3848
3848
  bs(
3849
- br(t.onCommandExecuted).pipe(Ds(([s]) => s.type === xt.MUTATION)),
3849
+ vr(t.onCommandExecuted).pipe(ps(([s]) => s.type === xt.MUTATION)),
3850
3850
  vs(300)
3851
- ).pipe(ps(16), xs()).subscribe(() => {
3851
+ ).pipe(xs(16), Ps()).subscribe(() => {
3852
3852
  e();
3853
3853
  });
3854
3854
  });
@@ -3894,7 +3894,7 @@ class Qe {
3894
3894
  return this._data;
3895
3895
  }
3896
3896
  }
3897
- class vr {
3897
+ class Ur {
3898
3898
  constructor() {
3899
3899
  d(this, "cursor", 0);
3900
3900
  }
@@ -3908,7 +3908,7 @@ class vr {
3908
3908
  this.cursor = e;
3909
3909
  }
3910
3910
  }
3911
- var Ur = /* @__PURE__ */ ((t) => (t[t.PARAGRAPH = 0] = "PARAGRAPH", t[t.SECTION_BREAK = 1] = "SECTION_BREAK", t[t.TABLE = 2] = "TABLE", t[t.TABLE_ROW = 3] = "TABLE_ROW", t[t.TABLE_CELL = 4] = "TABLE_CELL", t[t.CUSTOM_BLOCK = 5] = "CUSTOM_BLOCK", t))(Ur || {}), ye = /* @__PURE__ */ ((t) => (t.PARAGRAPH = "\r", t.SECTION_BREAK = `
3911
+ var Tr = /* @__PURE__ */ ((t) => (t[t.PARAGRAPH = 0] = "PARAGRAPH", t[t.SECTION_BREAK = 1] = "SECTION_BREAK", t[t.TABLE = 2] = "TABLE", t[t.TABLE_ROW = 3] = "TABLE_ROW", t[t.TABLE_CELL = 4] = "TABLE_CELL", t[t.CUSTOM_BLOCK = 5] = "CUSTOM_BLOCK", t))(Tr || {}), ye = /* @__PURE__ */ ((t) => (t.PARAGRAPH = "\r", t.SECTION_BREAK = `
3912
3912
  `, t.TABLE_START = "", t.TABLE_ROW_START = "\x1B", t.TABLE_CELL_START = "", t.TABLE_CELL_END = "", t.TABLE_ROW_END = "", t.TABLE_END = "", t.CUSTOM_RANGE_START = "", t.CUSTOM_RANGE_END = "", t.COLUMN_BREAK = "\v", t.PAGE_BREAK = "\f", t.DOCS_END = "\0", t.TAB = " ", t.CUSTOM_BLOCK = "\b", t.LETTER = "", t.SPACE = " ", t))(ye || {});
3913
3913
  function ts(t) {
3914
3914
  const e = [];
@@ -3921,7 +3921,7 @@ function ts(t) {
3921
3921
  continue;
3922
3922
  }
3923
3923
  const o = e.pop();
3924
- zn(s, o) && R.hasIntersectionBetweenTwoRanges(o.st, o.ed, s.st, s.ed) ? e.push({
3924
+ Xn(s, o) && R.hasIntersectionBetweenTwoRanges(o.st, o.ed, s.st, s.ed) ? e.push({
3925
3925
  ...s,
3926
3926
  st: o.st,
3927
3927
  ed: r
@@ -3999,7 +3999,7 @@ function _e(t, e, s, n) {
3999
3999
  l !== -1 && r.splice(l, 1), r.push(...i), r.sort(ht("startIndex"));
4000
4000
  }
4001
4001
  }
4002
- function Tr(t, e, s, n) {
4002
+ function Mr(t, e, s, n) {
4003
4003
  const { sectionBreaks: r } = t;
4004
4004
  if (r == null)
4005
4005
  return;
@@ -4050,7 +4050,7 @@ function fe(t, e, s, n) {
4050
4050
  r.push(...i), r.sort(ht("startIndex"));
4051
4051
  }
4052
4052
  }
4053
- function Mr(t, e, s, n) {
4053
+ function Dr(t, e, s, n) {
4054
4054
  const { customRanges: r } = t;
4055
4055
  if (r == null)
4056
4056
  return;
@@ -4098,7 +4098,11 @@ function ns(t, e, s) {
4098
4098
  }
4099
4099
  t.textRuns = u;
4100
4100
  }
4101
- return o;
4101
+ return o.length === 0 && o.push({
4102
+ st: 0,
4103
+ ed: e,
4104
+ ts: {}
4105
+ }), o;
4102
4106
  }
4103
4107
  function rs(t, e, s) {
4104
4108
  const { paragraphs: n } = t, r = s, i = s + e, o = [];
@@ -4208,10 +4212,10 @@ function as(t, e, s) {
4208
4212
  }
4209
4213
  return o;
4210
4214
  }
4211
- function Dr(t, e, s) {
4215
+ function pr(t, e, s) {
4212
4216
  const { dataStream: n } = t, r = s, i = s + e, o = ns(t, e, s), u = rs(t, e, s), a = is(t, e, s), l = os(t, e, s), c = us(t, e, s), h = as(t, e, s);
4213
4217
  let _ = "";
4214
- return n && (t.dataStream = qn(n, r, i), _ = n.slice(r, i)), {
4218
+ return n && (t.dataStream = Zn(n, r, i), _ = n.slice(r, i)), {
4215
4219
  dataStream: _,
4216
4220
  textRuns: o,
4217
4221
  paragraphs: u,
@@ -4221,11 +4225,11 @@ function Dr(t, e, s) {
4221
4225
  customRanges: h
4222
4226
  };
4223
4227
  }
4224
- function pr(t, e, s, n) {
4225
- t.dataStream = Jn(t.dataStream, n, e.dataStream), es(t, e, s, n), _e(t, e, s, n), Tr(t, e, s, n), ss(t, e, s, n), fe(t, e, s, n), Mr(t, e, s, n);
4228
+ function xr(t, e, s, n) {
4229
+ t.dataStream = qn(t.dataStream, n, e.dataStream), es(t, e, s, n), _e(t, e, s, n), Mr(t, e, s, n), ss(t, e, s, n), fe(t, e, s, n), Dr(t, e, s, n);
4226
4230
  }
4227
4231
  var te = /* @__PURE__ */ ((t) => (t.BULLET_LIST = "BULLET_LIST", t.ORDER_LIST = "ORDER_LIST", t))(te || {});
4228
- const gu = {
4232
+ const Eu = {
4229
4233
  BULLET_LIST: {
4230
4234
  listType: "BULLET_LIST",
4231
4235
  nestingLevel: [
@@ -4303,8 +4307,8 @@ const gu = {
4303
4307
  ]
4304
4308
  }
4305
4309
  };
4306
- function xr(t, e, s, n, r) {
4307
- const i = Pr(t, e, s, n, r), o = Hr(t, e, s, n, r), u = Fr(t, e, s, n, r), a = Wr(t, e, s, n, r), l = Gr(t, e, s, n, r), c = Br(t, e, s, n, r);
4310
+ function Pr(t, e, s, n, r) {
4311
+ const i = Hr(t, e, s, n, r), o = Fr(t, e, s, n, r), u = Wr(t, e, s, n, r), a = Gr(t, e, s, n, r), l = Br(t, e, s, n, r), c = $r(t, e, s, n, r);
4308
4312
  return {
4309
4313
  dataStream: "",
4310
4314
  textRuns: i,
@@ -4315,7 +4319,7 @@ function xr(t, e, s, n, r) {
4315
4319
  customRanges: c
4316
4320
  };
4317
4321
  }
4318
- function Pr(t, e, s, n, r) {
4322
+ function Hr(t, e, s, n, r) {
4319
4323
  const { textRuns: i } = t, { textRuns: o } = e;
4320
4324
  if (i == null || o == null)
4321
4325
  return;
@@ -4359,7 +4363,7 @@ function ls(t, e, s) {
4359
4363
  const c = n[n.length - 1], h = t[r - 1], _ = e[i - 1];
4360
4364
  return c.ed !== Math.max(h.ed, _.ed) && (h.ed > _.ed ? n.push(h) : n.push(_)), ts(n);
4361
4365
  }
4362
- function Hr(t, e, s, n, r) {
4366
+ function Fr(t, e, s, n, r) {
4363
4367
  const { paragraphs: i } = t, { paragraphs: o } = e;
4364
4368
  if (i == null || o == null)
4365
4369
  return;
@@ -4409,7 +4413,7 @@ function Hr(t, e, s, n, r) {
4409
4413
  }
4410
4414
  return _e(t, e, s, n), u;
4411
4415
  }
4412
- function Fr(t, e, s, n, r) {
4416
+ function Wr(t, e, s, n, r) {
4413
4417
  const { sectionBreaks: i } = t, { sectionBreaks: o } = e;
4414
4418
  if (i == null || o == null)
4415
4419
  return;
@@ -4438,7 +4442,7 @@ function Fr(t, e, s, n, r) {
4438
4442
  }
4439
4443
  return _e(t, e, s, n), u;
4440
4444
  }
4441
- function Wr(t, e, s, n, r) {
4445
+ function Gr(t, e, s, n, r) {
4442
4446
  const { customBlocks: i } = t, { customBlocks: o } = e;
4443
4447
  if (i == null || o == null)
4444
4448
  return;
@@ -4467,7 +4471,7 @@ function Wr(t, e, s, n, r) {
4467
4471
  }
4468
4472
  return ss(t, e, s, n), u;
4469
4473
  }
4470
- function Gr(t, e, s, n, r) {
4474
+ function Br(t, e, s, n, r) {
4471
4475
  const { tables: i } = t, { tables: o } = e;
4472
4476
  if (i == null || o == null)
4473
4477
  return;
@@ -4496,7 +4500,7 @@ function Gr(t, e, s, n, r) {
4496
4500
  }
4497
4501
  return fe(t, e, s, n), u;
4498
4502
  }
4499
- function Br(t, e, s, n, r) {
4503
+ function $r(t, e, s, n, r) {
4500
4504
  const { customRanges: i } = t, { tables: o } = e;
4501
4505
  if (i == null || o == null)
4502
4506
  return;
@@ -4575,14 +4579,14 @@ function De(t, e, s = D.COVER) {
4575
4579
  }
4576
4580
  return c < i.length && l.push(...i.slice(c)), h < u.length && l.push(...u.slice(h)), l.length && (n.paragraphs = l), n;
4577
4581
  }
4578
- function $r(t) {
4582
+ function kr(t) {
4579
4583
  const { body: e } = t;
4580
4584
  if (e == null)
4581
4585
  return !0;
4582
4586
  const { textRuns: s = [], paragraphs: n = [] } = e;
4583
4587
  return s.length === 0 && n.length === 0;
4584
4588
  }
4585
- function kr(t = R.generateRandomId(6), e = ut.EN_US, s = "") {
4589
+ function Vr(t = R.generateRandomId(6), e = ut.EN_US, s = "") {
4586
4590
  return {
4587
4591
  id: t,
4588
4592
  locale: e,
@@ -4629,7 +4633,7 @@ const hs = {
4629
4633
  id: "default_doc",
4630
4634
  documentStyle: {}
4631
4635
  };
4632
- class Vr extends de {
4636
+ class jr extends de {
4633
4637
  constructor(s) {
4634
4638
  super();
4635
4639
  d(this, "type", O.UNIVER_DOC);
@@ -4667,9 +4671,6 @@ class Vr extends de {
4667
4671
  getContainer() {
4668
4672
  return this.snapshot.container;
4669
4673
  }
4670
- getParentRenderUnitId() {
4671
- return this.snapshot.parentRenderUnitId;
4672
- }
4673
4674
  getSnapshot() {
4674
4675
  return this.snapshot;
4675
4676
  }
@@ -4717,10 +4718,10 @@ class Vr extends de {
4717
4718
  } : this.snapshot.settings.zoomRatio = 1;
4718
4719
  }
4719
4720
  }
4720
- class ot extends Vr {
4721
+ class ot extends jr {
4721
4722
  constructor(s) {
4722
4723
  var r;
4723
- super(R.isEmptyObject(s) ? kr() : s);
4724
+ super(R.isEmptyObject(s) ? Vr() : s);
4724
4725
  d(this, "_unitId");
4725
4726
  d(this, "headerModelMap", /* @__PURE__ */ new Map());
4726
4727
  d(this, "footerModelMap", /* @__PURE__ */ new Map());
@@ -4763,7 +4764,7 @@ class ot extends Vr {
4763
4764
  return this._unitId;
4764
4765
  }
4765
4766
  apply(s) {
4766
- const n = [], r = new vr();
4767
+ const n = [], r = new Ur();
4767
4768
  return r.reset(), s.forEach((i) => {
4768
4769
  if (i = R.deepClone(i), i.t === A.RETAIN) {
4769
4770
  const { coverType: o, body: u, len: a, segmentId: l } = i;
@@ -4811,20 +4812,20 @@ class ot extends Vr {
4811
4812
  const u = this.snapshot, a = Gt(u, o);
4812
4813
  if (a == null)
4813
4814
  throw new Error("no body has changed");
4814
- return xr(a, s, n, r, i);
4815
+ return Pr(a, s, n, r, i);
4815
4816
  }
4816
4817
  _deleteApply(s, n, r) {
4817
4818
  const i = this.snapshot, o = Gt(i, r);
4818
4819
  if (o == null)
4819
4820
  throw new Error("no body has changed");
4820
- return s <= 0 ? { dataStream: "" } : Dr(o, s, n);
4821
+ return s <= 0 ? { dataStream: "" } : pr(o, s, n);
4821
4822
  }
4822
4823
  _insertApply(s, n, r, i) {
4823
4824
  const o = this.snapshot, u = Gt(o, i);
4824
4825
  if (n !== 0) {
4825
4826
  if (u == null)
4826
4827
  throw new Error("no body has changed");
4827
- pr(u, s, n, r);
4828
+ xr(u, s, n, r);
4828
4829
  }
4829
4830
  }
4830
4831
  _initializeHeaderFooterModel() {
@@ -4844,8 +4845,8 @@ class ot extends Vr {
4844
4845
  super.updateDocumentId(s), this._unitId = s;
4845
4846
  }
4846
4847
  }
4847
- const jr = G("univer.config-service");
4848
- class Kr {
4848
+ const Kr = G("univer.config-service");
4849
+ class Yr {
4849
4850
  constructor() {
4850
4851
  d(this, "_config", /* @__PURE__ */ new Map());
4851
4852
  }
@@ -4859,7 +4860,7 @@ class Kr {
4859
4860
  this._config.delete(e);
4860
4861
  }
4861
4862
  }
4862
- class Yr extends T {
4863
+ class zr extends T {
4863
4864
  constructor() {
4864
4865
  super(...arguments);
4865
4866
  d(this, "_error$", new H());
@@ -4872,8 +4873,8 @@ class Yr extends T {
4872
4873
  this._error$.next({ errorKey: s });
4873
4874
  }
4874
4875
  }
4875
- const Eu = "__default_document_sub_component_id20231101__";
4876
- class zr {
4876
+ const Ru = "__default_document_sub_component_id20231101__";
4877
+ class Xr {
4877
4878
  constructor() {
4878
4879
  d(this, "_managerInfo", /* @__PURE__ */ new Map());
4879
4880
  /**
@@ -4962,13 +4963,13 @@ class zr {
4962
4963
  return n == null ? [] : (s == null || s.delete(e.floatingObjectId), [{ ...e, floatingObject: n }]);
4963
4964
  }
4964
4965
  }
4965
- const Xr = G(
4966
+ const Jr = G(
4966
4967
  "univer.floating-object.service"
4967
4968
  );
4968
- class Jr {
4969
+ class qr {
4969
4970
  constructor(e = {}) {
4970
4971
  d(this, "_styles");
4971
- d(this, "_cacheMap", new ir(1e5));
4972
+ d(this, "_cacheMap", new or(1e5));
4972
4973
  this._styles = e, this._generateCacheMap();
4973
4974
  }
4974
4975
  each(e) {
@@ -5020,7 +5021,7 @@ class Jr {
5020
5021
  return null;
5021
5022
  }
5022
5023
  }
5023
- class qr {
5024
+ class Zr {
5024
5025
  constructor(e, s) {
5025
5026
  d(this, "_columnData", {});
5026
5027
  this._config = e, this._columnData = s;
@@ -5145,7 +5146,7 @@ class qr {
5145
5146
  return this._columnData[e] = i, i;
5146
5147
  }
5147
5148
  }
5148
- class Zr {
5149
+ class Qr {
5149
5150
  constructor(e, s, n) {
5150
5151
  d(this, "_rowData");
5151
5152
  this._config = e, this._viewModel = s, this._rowData = n;
@@ -5252,15 +5253,15 @@ class Zr {
5252
5253
  return J(this._rowData);
5253
5254
  }
5254
5255
  }
5255
- const Ru = "DEFAULT_WORKSHEET_ROW_COUNT", Qr = 1e3, mu = "DEFAULT_WORKSHEET_COLUMN_COUNT", yr = 20, Cu = "DEFAULT_WORKSHEET_ROW_HEIGHT", ti = 19, Ou = "DEFAULT_WORKSHEET_COLUMN_WIDTH", ei = 73, Au = "DEFAULT_WORKSHEET_ROW_TITLE_WIDTH", si = 46, Iu = "DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT", ni = 20;
5256
- function ri(t) {
5256
+ const mu = "DEFAULT_WORKSHEET_ROW_COUNT", yr = 1e3, Cu = "DEFAULT_WORKSHEET_COLUMN_COUNT", ti = 20, Ou = "DEFAULT_WORKSHEET_ROW_HEIGHT", ei = 19, Au = "DEFAULT_WORKSHEET_COLUMN_WIDTH", si = 73, Iu = "DEFAULT_WORKSHEET_ROW_TITLE_WIDTH", ni = 46, Nu = "DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT", ri = 20;
5257
+ function ii(t) {
5257
5258
  const e = {
5258
5259
  name: "Sheet1",
5259
5260
  id: "sheet-01",
5260
5261
  tabColor: "",
5261
5262
  hidden: C.FALSE,
5262
- rowCount: Qr,
5263
- columnCount: yr,
5263
+ rowCount: yr,
5264
+ columnCount: ti,
5264
5265
  zoomRatio: 1,
5265
5266
  freeze: {
5266
5267
  xSplit: 0,
@@ -5270,19 +5271,19 @@ function ri(t) {
5270
5271
  },
5271
5272
  scrollTop: 0,
5272
5273
  scrollLeft: 0,
5273
- defaultColumnWidth: ei,
5274
- defaultRowHeight: ti,
5274
+ defaultColumnWidth: si,
5275
+ defaultRowHeight: ei,
5275
5276
  mergeData: [],
5276
5277
  cellData: {},
5277
5278
  rowData: {},
5278
5279
  columnData: {},
5279
5280
  showGridlines: C.TRUE,
5280
5281
  rowHeader: {
5281
- width: si,
5282
+ width: ni,
5282
5283
  hidden: C.FALSE
5283
5284
  },
5284
5285
  columnHeader: {
5285
- height: ni,
5286
+ height: ri,
5286
5287
  hidden: C.FALSE
5287
5288
  },
5288
5289
  selections: ["A1"],
@@ -5293,7 +5294,7 @@ function ri(t) {
5293
5294
  typeof t[n] > "u" && (t[n] = e[n]);
5294
5295
  }), t;
5295
5296
  }
5296
- class ii extends T {
5297
+ class oi extends T {
5297
5298
  constructor(s) {
5298
5299
  super();
5299
5300
  d(this, "_cellContentInterceptor", null);
@@ -5330,9 +5331,9 @@ class vt {
5330
5331
  d(this, "_columnManager");
5331
5332
  d(this, "_viewModel");
5332
5333
  var u;
5333
- this.unitId = e, this._styles = n, this._snapshot = ri(s);
5334
+ this.unitId = e, this._styles = n, this._snapshot = ii(s);
5334
5335
  const { columnData: r, rowData: i, cellData: o } = this._snapshot;
5335
- this._sheetId = (u = this._snapshot.id) != null ? u : R.generateRandomId(6), this._cellData = new k(o), this._viewModel = new ii((a, l) => this.getCellRaw(a, l)), this._rowManager = new Zr(this._snapshot, this._viewModel, i), this._columnManager = new qr(this._snapshot, r);
5336
+ this._sheetId = (u = this._snapshot.id) != null ? u : R.generateRandomId(6), this._cellData = new k(o), this._viewModel = new oi((a, l) => this.getCellRaw(a, l)), this._rowManager = new Qr(this._snapshot, this._viewModel, i), this._columnManager = new Zr(this._snapshot, r);
5336
5337
  }
5337
5338
  /**
5338
5339
  * @internal
@@ -5734,7 +5735,7 @@ class vt {
5734
5735
  };
5735
5736
  }
5736
5737
  }
5737
- function Nu(t) {
5738
+ function wu(t) {
5738
5739
  var n, r;
5739
5740
  if (!t)
5740
5741
  return "";
@@ -5744,24 +5745,24 @@ function Nu(t) {
5744
5745
  const s = t.v;
5745
5746
  return typeof s == "string" ? t.t === nt.BOOLEAN ? s.toUpperCase() : s : typeof s == "number" ? t.t === nt.BOOLEAN ? s ? "TRUE" : "FALSE" : s.toString() : typeof s == "boolean" ? s ? "TRUE" : "FALSE" : "";
5746
5747
  }
5747
- const oi = "0.1.10";
5748
- function ui(t = "", e = ut.ZH_CN, s = "") {
5748
+ const ui = "0.1.11";
5749
+ function ai(t = "", e = ut.ZH_CN, s = "") {
5749
5750
  return {
5750
5751
  id: t,
5751
5752
  sheetOrder: [],
5752
5753
  name: s,
5753
- appVersion: oi,
5754
+ appVersion: ui,
5754
5755
  locale: e,
5755
5756
  styles: {},
5756
5757
  sheets: {},
5757
5758
  resources: []
5758
5759
  };
5759
5760
  }
5760
- var ai = Object.defineProperty, li = Object.getOwnPropertyDescriptor, ci = (t, e, s, n) => {
5761
- for (var r = n > 1 ? void 0 : n ? li(e, s) : e, i = t.length - 1, o; i >= 0; i--)
5761
+ var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, hi = (t, e, s, n) => {
5762
+ for (var r = n > 1 ? void 0 : n ? ci(e, s) : e, i = t.length - 1, o; i >= 0; i--)
5762
5763
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
5763
- return n && r && ai(e, s, r), r;
5764
- }, hi = (t, e) => (s, n) => e(s, n, t);
5764
+ return n && r && li(e, s, r), r;
5765
+ }, di = (t, e) => (s, n) => e(s, n, t);
5765
5766
  function Su(t, e) {
5766
5767
  return `${t.getUnitId()}|${e.getSheetId()}`;
5767
5768
  }
@@ -5794,10 +5795,10 @@ let Ut = class extends de {
5794
5795
  d(this, "_unitId");
5795
5796
  d(this, "_count");
5796
5797
  this._logService = s;
5797
- const n = ui();
5798
+ const n = ai();
5798
5799
  R.isEmptyObject(e) ? this._snapshot = n : this._snapshot = R.commonExtend(n, e);
5799
5800
  const { styles: r } = this._snapshot;
5800
- (this._snapshot.id == null || this._snapshot.id.length === 0) && (this._snapshot.id = R.generateRandomId(6)), this._unitId = this._snapshot.id, this._styles = new Jr(r), this._count = 1, this._worksheets = /* @__PURE__ */ new Map(), this._passWorksheetSnapshots();
5801
+ (this._snapshot.id == null || this._snapshot.id.length === 0) && (this._snapshot.id = R.generateRandomId(6)), this._unitId = this._snapshot.id, this._styles = new qr(r), this._count = 1, this._worksheets = /* @__PURE__ */ new Map(), this._passWorksheetSnapshots();
5801
5802
  }
5802
5803
  get _activeSheet() {
5803
5804
  return this._activeSheet$.getValue();
@@ -5820,6 +5821,9 @@ let Ut = class extends de {
5820
5821
  getName() {
5821
5822
  return this._snapshot.name;
5822
5823
  }
5824
+ setName(e) {
5825
+ this._snapshot.name = e;
5826
+ }
5823
5827
  getUnitId() {
5824
5828
  return this._unitId;
5825
5829
  }
@@ -5847,9 +5851,6 @@ let Ut = class extends de {
5847
5851
  const o = new vt(this._unitId, n, this._styles);
5848
5852
  return this._worksheets.set(e, o), this._sheetCreated$.next(o), !0;
5849
5853
  }
5850
- getParentRenderUnitId() {
5851
- return this._snapshot.parentRenderUnitId;
5852
- }
5853
5854
  getSheetOrders() {
5854
5855
  return this._snapshot.sheetOrder;
5855
5856
  }
@@ -6080,8 +6081,8 @@ let Ut = class extends de {
6080
6081
  }
6081
6082
  }
6082
6083
  };
6083
- Ut = ci([
6084
- hi(1, et)
6084
+ Ut = hi([
6085
+ di(1, et)
6085
6086
  ], Ut);
6086
6087
  class ds extends de {
6087
6088
  constructor(s) {
@@ -6090,14 +6091,11 @@ class ds extends de {
6090
6091
  d(this, "type", O.UNIVER_SLIDE);
6091
6092
  d(this, "_snapshot");
6092
6093
  d(this, "_unitId");
6093
- this._snapshot = { ...hr, ...s }, this._unitId = (n = this._snapshot.id) != null ? n : R.generateRandomId(6);
6094
+ this._snapshot = { ...dr, ...s }, this._unitId = (n = this._snapshot.id) != null ? n : R.generateRandomId(6);
6094
6095
  }
6095
6096
  getContainer() {
6096
6097
  return this._snapshot.container;
6097
6098
  }
6098
- getParentRenderUnitId() {
6099
- return this._snapshot.parentRenderUnitId;
6100
- }
6101
6099
  getSnapshot() {
6102
6100
  return this._snapshot;
6103
6101
  }
@@ -6141,11 +6139,11 @@ class ds extends de {
6141
6139
  };
6142
6140
  }
6143
6141
  }
6144
- const Ot = "FOCUSING_SHEET", Vt = "FOCUSING_DOC", jt = "FOCUSING_SLIDE", wu = "FOCUSING_EDITOR_BUT_HIDDEN", di = "EDITOR_ACTIVATED", Lu = "FOCUSING_EDITOR_INPUT_FORMULA", _i = "FOCUSING_FORMULA_EDITOR", bu = "FOCUSING_UNIVER_EDITOR", vu = "FOCUSING_EDITOR_INPUT_FORMULA", Uu = "FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE";
6145
- var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, Ei = (t, e, s, n) => {
6146
- for (var r = n > 1 ? void 0 : n ? gi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6142
+ const Ot = "FOCUSING_SHEET", Vt = "FOCUSING_DOC", jt = "FOCUSING_SLIDE", Lu = "FOCUSING_EDITOR_BUT_HIDDEN", _i = "EDITOR_ACTIVATED", bu = "FOCUSING_EDITOR_INPUT_FORMULA", fi = "FOCUSING_FORMULA_EDITOR", vu = "FOCUSING_UNIVER_EDITOR", Uu = "FOCUSING_EDITOR_INPUT_FORMULA", Tu = "FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE";
6143
+ var gi = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, Ri = (t, e, s, n) => {
6144
+ for (var r = n > 1 ? void 0 : n ? Ei(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6147
6145
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6148
- return n && r && fi(e, s, r), r;
6146
+ return n && r && gi(e, s, r), r;
6149
6147
  }, pe = (t, e) => (s, n) => e(s, n, t);
6150
6148
  const Q = G("univer.current");
6151
6149
  let ee = class extends T {
@@ -6200,7 +6198,7 @@ let ee = class extends T {
6200
6198
  }
6201
6199
  __addUnit(e) {
6202
6200
  const s = e.type;
6203
- this._unitsByType.has(s) || this._unitsByType.set(s, []), this._unitsByType.get(s).push(e), this._unitAdded$.next(e), this._currentUnits$.next({ ...this._currentUnits$.getValue(), [s]: e });
6201
+ this._unitsByType.has(s) || this._unitsByType.set(s, []), this._unitsByType.get(s).push(e), this._currentUnits$.next({ ...this._currentUnits$.getValue(), [s]: e }), this._unitAdded$.next(e);
6204
6202
  }
6205
6203
  getTypeOfUnitDisposed$(e) {
6206
6204
  return this.unitDisposed$.pipe(Xt((s) => s.type === e));
@@ -6263,12 +6261,12 @@ let ee = class extends T {
6263
6261
  }
6264
6262
  }
6265
6263
  };
6266
- ee = Ei([
6264
+ ee = Ri([
6267
6265
  pe(0, P(tt)),
6268
6266
  pe(1, pt)
6269
6267
  ], ee);
6270
- var w = /* @__PURE__ */ ((t) => (t[t.Starting = 0] = "Starting", t[t.Ready = 1] = "Ready", t[t.Rendered = 2] = "Rendered", t[t.Steady = 3] = "Steady", t))(w || {});
6271
- const Ri = {
6268
+ var S = /* @__PURE__ */ ((t) => (t[t.Starting = 0] = "Starting", t[t.Ready = 1] = "Ready", t[t.Rendered = 2] = "Rendered", t[t.Steady = 3] = "Steady", t))(S || {});
6269
+ const mi = {
6272
6270
  0: "Starting",
6273
6271
  1: "Ready",
6274
6272
  2: "Rendered",
@@ -6282,18 +6280,18 @@ function _s(t, e) {
6282
6280
  function fs(t, e) {
6283
6281
  At.has(t) || At.set(t, []), At.get(t).push(e);
6284
6282
  }
6285
- var mi = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, gs = (t, e, s, n) => {
6286
- for (var r = n > 1 ? void 0 : n ? Ci(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6283
+ var Ci = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, gs = (t, e, s, n) => {
6284
+ for (var r = n > 1 ? void 0 : n ? Oi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6287
6285
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6288
- return n && r && mi(e, s, r), r;
6286
+ return n && r && Ci(e, s, r), r;
6289
6287
  }, se = (t, e) => (s, n) => e(s, n, t);
6290
6288
  let y = class extends T {
6291
6289
  constructor(e) {
6292
6290
  super();
6293
- d(this, "_lifecycle$", new q(w.Starting));
6291
+ d(this, "_lifecycle$", new q(S.Starting));
6294
6292
  d(this, "lifecycle$", this._lifecycle$.asObservable());
6295
6293
  d(this, "_lock", !1);
6296
- this._logService = e, this._reportProgress(w.Starting);
6294
+ this._logService = e, this._reportProgress(S.Starting);
6297
6295
  }
6298
6296
  get stage() {
6299
6297
  return this._lifecycle$.getValue();
@@ -6316,10 +6314,14 @@ let y = class extends T {
6316
6314
  * @returns
6317
6315
  */
6318
6316
  subscribeWithPrevious() {
6319
- return new ie((e) => (this.stage === w.Starting || (this.stage === w.Ready ? e.next(w.Starting) : this.stage === w.Rendered ? (e.next(w.Starting), e.next(w.Ready)) : (e.next(w.Starting), e.next(w.Ready), e.next(w.Rendered))), this._lifecycle$.subscribe(e)));
6317
+ return new ie((e) => {
6318
+ this.stage === S.Starting || (this.stage === S.Ready ? e.next(S.Starting) : this.stage === S.Rendered ? (e.next(S.Starting), e.next(S.Ready)) : (e.next(S.Starting), e.next(S.Ready), e.next(S.Rendered))), this._lifecycle$.subscribe((s) => {
6319
+ e.next(s), s === S.Steady && e.complete();
6320
+ });
6321
+ });
6320
6322
  }
6321
6323
  _reportProgress(e) {
6322
- this._logService.debug("[LifecycleService]", `lifecycle progressed to "${Ri[e]}".`);
6324
+ this._logService.debug("[LifecycleService]", `lifecycle progressed to "${mi[e]}".`);
6323
6325
  }
6324
6326
  };
6325
6327
  y = gs([
@@ -6416,10 +6418,10 @@ class It extends T {
6416
6418
  }
6417
6419
  }
6418
6420
  const ge = G("resource-manager-service");
6419
- var Oi = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Ii = (t, e, s, n) => {
6420
- for (var r = n > 1 ? void 0 : n ? Ai(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6421
+ var Ai = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Ni = (t, e, s, n) => {
6422
+ for (var r = n > 1 ? void 0 : n ? Ii(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6421
6423
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6422
- return n && r && Oi(e, s, r), r;
6424
+ return n && r && Ai(e, s, r), r;
6423
6425
  }, xe = (t, e) => (s, n) => e(s, n, t);
6424
6426
  const Es = G("univer.permission-service");
6425
6427
  let Nt = class extends T {
@@ -6505,7 +6507,7 @@ let Nt = class extends T {
6505
6507
  });
6506
6508
  return Ms(r).pipe(
6507
6509
  // Check that all permissions exist
6508
- Ps((i) => (i.every((o) => this._permissionPointMap.get(o.id)), i))
6510
+ Hs((i) => (i.every((o) => this._permissionPointMap.get(o.id)), i))
6509
6511
  );
6510
6512
  }
6511
6513
  composePermission(e, s) {
@@ -6518,27 +6520,27 @@ let Nt = class extends T {
6518
6520
  });
6519
6521
  }
6520
6522
  };
6521
- Nt = Ii([
6522
- _s(w.Starting, Nt),
6523
+ Nt = Ni([
6524
+ _s(S.Starting, Nt),
6523
6525
  xe(0, P(ge)),
6524
6526
  xe(1, P(Q))
6525
6527
  ], Nt);
6526
- const Ni = "univer.editable";
6527
- class Kt extends ar {
6528
+ const wi = "univer.editable";
6529
+ class Kt extends lr {
6528
6530
  constructor(s) {
6529
6531
  super();
6530
- d(this, "id", Ni);
6532
+ d(this, "id", wi);
6531
6533
  d(this, "value", !0);
6532
6534
  d(this, "unitID");
6533
6535
  this.unitID = s;
6534
6536
  }
6535
6537
  }
6536
- var Si = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, Li = (t, e, s, n) => {
6537
- for (var r = n > 1 ? void 0 : n ? wi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6538
+ var Si = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, bi = (t, e, s, n) => {
6539
+ for (var r = n > 1 ? void 0 : n ? Li(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6538
6540
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6539
6541
  return n && r && Si(e, s, r), r;
6540
6542
  }, Pe = (t, e) => (s, n) => e(s, n, t);
6541
- let St = class extends T {
6543
+ let wt = class extends T {
6542
6544
  constructor(t, e) {
6543
6545
  super(), this._permissionService = t, this._univerInstanceService = e, this._init();
6544
6546
  }
@@ -6559,12 +6561,12 @@ let St = class extends T {
6559
6561
  this._permissionService.updatePermissionPoint(t, s.id, e);
6560
6562
  }
6561
6563
  };
6562
- St = Li([
6563
- _s(w.Starting, St),
6564
+ wt = bi([
6565
+ _s(S.Starting, wt),
6564
6566
  Pe(0, P(Es)),
6565
6567
  Pe(1, P(Q))
6566
- ], St);
6567
- class bi extends T {
6568
+ ], wt);
6569
+ class vi extends T {
6568
6570
  constructor() {
6569
6571
  super(...arguments);
6570
6572
  d(this, "_resourceMap", /* @__PURE__ */ new Map());
@@ -6614,10 +6616,10 @@ class bi extends T {
6614
6616
  this._register$.complete(), this._resourceMap.clear();
6615
6617
  }
6616
6618
  }
6617
- var vi = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, Ti = (t, e, s, n) => {
6618
- for (var r = n > 1 ? void 0 : n ? Ui(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6619
+ var Ui = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, Mi = (t, e, s, n) => {
6620
+ for (var r = n > 1 ? void 0 : n ? Ti(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6619
6621
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6620
- return n && r && vi(e, s, r), r;
6622
+ return n && r && Ui(e, s, r), r;
6621
6623
  }, He = (t, e) => (s, n) => e(s, n, t);
6622
6624
  let ne = class extends T {
6623
6625
  constructor(e, s) {
@@ -6670,12 +6672,12 @@ let ne = class extends T {
6670
6672
  );
6671
6673
  }
6672
6674
  };
6673
- ne = Ti([
6675
+ ne = Mi([
6674
6676
  He(0, P(ge)),
6675
6677
  He(1, P(Q))
6676
6678
  ], ne);
6677
6679
  const Rs = G("resource-loader-service");
6678
- fs(w.Ready, Rs);
6680
+ fs(S.Ready, Rs);
6679
6681
  class ms extends T {
6680
6682
  constructor() {
6681
6683
  super();
@@ -6693,20 +6695,20 @@ class ms extends T {
6693
6695
  this._currentTheme = s, this._currentTheme$.next(s);
6694
6696
  }
6695
6697
  }
6696
- const Mi = "__defaultDocumentNormalEditorSpecialUnitId_20231006__", Di = "__defaultDocumentFormulaBarEditorSpecialUnitId_20231012__", Tu = `\r
6698
+ const Di = "__defaultDocumentNormalEditorSpecialUnitId_20231006__", pi = "__defaultDocumentFormulaBarEditorSpecialUnitId_20231012__", Mu = `\r
6697
6699
  `;
6698
- function Mu(t) {
6700
+ function Du(t) {
6699
6701
  return `__internalEditorId__${t}`;
6700
6702
  }
6701
- function Du(t) {
6703
+ function pu(t) {
6702
6704
  return t.startsWith("__");
6703
6705
  }
6704
- var pi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, Pi = (t, e, s, n) => {
6705
- for (var r = n > 1 ? void 0 : n ? xi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6706
+ var xi = Object.defineProperty, Pi = Object.getOwnPropertyDescriptor, Hi = (t, e, s, n) => {
6707
+ for (var r = n > 1 ? void 0 : n ? Pi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6706
6708
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6707
- return n && r && pi(e, s, r), r;
6709
+ return n && r && xi(e, s, r), r;
6708
6710
  }, Yt = (t, e) => (s, n) => e(s, n, t);
6709
- const Ee = G("univer.undo-redo.service"), Hi = 20;
6711
+ const Ee = G("univer.undo-redo.service"), Fi = 20;
6710
6712
  class Cs {
6711
6713
  dispose() {
6712
6714
  }
@@ -6714,11 +6716,11 @@ class Cs {
6714
6716
  return !1;
6715
6717
  }
6716
6718
  }
6717
- const Fi = "univer.command.redo", Wi = "univer.command.undo", Gi = new class extends Cs {
6719
+ const Wi = "univer.command.redo", Gi = "univer.command.undo", Bi = new class extends Cs {
6718
6720
  constructor() {
6719
6721
  super(...arguments);
6720
6722
  d(this, "type", xt.COMMAND);
6721
- d(this, "id", Wi);
6723
+ d(this, "id", Gi);
6722
6724
  }
6723
6725
  async handler(e) {
6724
6726
  const s = e.get(Ee), n = s.pitchTopUndoElement();
@@ -6727,11 +6729,11 @@ const Fi = "univer.command.redo", Wi = "univer.command.undo", Gi = new class ext
6727
6729
  const r = e.get(Pt);
6728
6730
  return Je(n.undoMutations, r) ? (s.popUndoToRedo(), !0) : !1;
6729
6731
  }
6730
- }(), Bi = new class extends Cs {
6732
+ }(), $i = new class extends Cs {
6731
6733
  constructor() {
6732
6734
  super(...arguments);
6733
6735
  d(this, "type", xt.COMMAND);
6734
- d(this, "id", Fi);
6736
+ d(this, "id", Wi);
6735
6737
  }
6736
6738
  async handler(e) {
6737
6739
  const s = e.get(Ee), n = s.pitchTopRedoElement();
@@ -6750,7 +6752,7 @@ let re = class extends T {
6750
6752
  d(this, "_undoStacks", /* @__PURE__ */ new Map());
6751
6753
  d(this, "_redoStacks", /* @__PURE__ */ new Map());
6752
6754
  d(this, "_batchingStatus", /* @__PURE__ */ new Map());
6753
- this._univerInstanceService = e, this._commandService = s, this._contextService = n, this.undoRedoStatus$ = this._undoRedoStatus$.asObservable(), this.disposeWithMe(this._commandService.registerCommand(Gi)), this.disposeWithMe(this._commandService.registerCommand(Bi)), this.disposeWithMe(b(() => this._undoRedoStatus$.complete())), this.disposeWithMe(b(this._univerInstanceService.focused$.subscribe(() => this._updateStatus())));
6755
+ this._univerInstanceService = e, this._commandService = s, this._contextService = n, this.undoRedoStatus$ = this._undoRedoStatus$.asObservable(), this.disposeWithMe(this._commandService.registerCommand(Bi)), this.disposeWithMe(this._commandService.registerCommand($i)), this.disposeWithMe(b(() => this._undoRedoStatus$.complete())), this.disposeWithMe(b(this._univerInstanceService.focused$.subscribe(() => this._updateStatus())));
6754
6756
  }
6755
6757
  pushUndoRedo(e) {
6756
6758
  const { unitID: s } = e, n = this._getRedoStack(s, !0), r = this._getUndoStack(s, !0);
@@ -6764,7 +6766,7 @@ let re = class extends T {
6764
6766
  } else
6765
6767
  i(e);
6766
6768
  function i(o) {
6767
- r.push(o), r.length > Hi && r.splice(0, 1);
6769
+ r.push(o), r.length > Fi && r.splice(0, 1);
6768
6770
  }
6769
6771
  this._updateStatus();
6770
6772
  }
@@ -6841,17 +6843,16 @@ let re = class extends T {
6841
6843
  _getFocusedUnitId() {
6842
6844
  var i, o, u, a;
6843
6845
  let e = "";
6844
- const s = this._contextService.getContextValue(Ot), n = this._contextService.getContextValue(_i), r = this._contextService.getContextValue(di);
6845
- return s ? n ? e = Di : r ? e = Mi : e = (o = (i = this._univerInstanceService.getFocusedUnit()) == null ? void 0 : i.getUnitId()) != null ? o : "" : e = (a = (u = this._univerInstanceService.getFocusedUnit()) == null ? void 0 : u.getUnitId()) != null ? a : "", e;
6846
+ const s = this._contextService.getContextValue(Ot), n = this._contextService.getContextValue(fi), r = this._contextService.getContextValue(_i);
6847
+ return s ? n ? e = pi : r ? e = Di : e = (o = (i = this._univerInstanceService.getFocusedUnit()) == null ? void 0 : i.getUnitId()) != null ? o : "" : e = (a = (u = this._univerInstanceService.getFocusedUnit()) == null ? void 0 : u.getUnitId()) != null ? a : "", e;
6846
6848
  }
6847
6849
  };
6848
- re = Pi([
6850
+ re = Hi([
6849
6851
  Yt(0, Q),
6850
6852
  Yt(1, Pt),
6851
6853
  Yt(2, pt)
6852
6854
  ], re);
6853
6855
  class Fe extends T {
6854
- // eslint-disable-next-line unused-imports/no-unused-vars
6855
6856
  onStarting(e) {
6856
6857
  }
6857
6858
  onReady() {
@@ -6868,7 +6869,7 @@ class Fe extends T {
6868
6869
  }
6869
6870
  }
6870
6871
  d(Fe, "pluginName"), d(Fe, "type", O.UNIVER_UNKNOWN);
6871
- class $i {
6872
+ class ki {
6872
6873
  constructor() {
6873
6874
  d(this, "_plugins", []);
6874
6875
  }
@@ -6883,7 +6884,7 @@ class $i {
6883
6884
  this._plugins.forEach(e);
6884
6885
  }
6885
6886
  }
6886
- class ki {
6887
+ class Vi {
6887
6888
  constructor() {
6888
6889
  d(this, "_pluginsRegistered", []);
6889
6890
  }
@@ -6898,18 +6899,18 @@ class ki {
6898
6899
  this._pluginsRegistered = [];
6899
6900
  }
6900
6901
  }
6901
- var Vi = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, Ki = (t, e, s, n) => {
6902
- for (var r = n > 1 ? void 0 : n ? ji(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6902
+ var ji = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, Yi = (t, e, s, n) => {
6903
+ for (var r = n > 1 ? void 0 : n ? Ki(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6903
6904
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6904
- return n && r && Vi(e, s, r), r;
6905
+ return n && r && ji(e, s, r), r;
6905
6906
  }, mt = (t, e) => (s, n) => e(s, n, t);
6906
6907
  let Mt = class extends T {
6907
6908
  constructor(e, s, n, r) {
6908
6909
  super();
6909
6910
  d(this, "_started", !1);
6910
6911
  d(this, "_pluginRegistered", /* @__PURE__ */ new Set());
6911
- d(this, "_pluginStore", new $i());
6912
- d(this, "_pluginRegistry", new ki());
6912
+ d(this, "_pluginStore", new ki());
6913
+ d(this, "_pluginRegistry", new Vi());
6913
6914
  this._logService = e, this._injector = s, this._lifecycleService = n, this._lifecycleInitializerService = r;
6914
6915
  }
6915
6916
  get started() {
@@ -6934,23 +6935,25 @@ let Mt = class extends T {
6934
6935
  return;
6935
6936
  const e = this._pluginRegistry.getRegisterPlugins().map(({ plugin: n, options: r }) => this._initPlugin(n, r));
6936
6937
  this._pluginRegistry.removePlugins();
6937
- const s = this.disposeWithMe(this._lifecycleService.subscribeWithPrevious().subscribe((n) => {
6938
- this._pluginsRunLifecycle(e, n), n === w.Steady && s.dispose();
6938
+ const s = this.disposeWithMe(this._lifecycleService.subscribeWithPrevious().pipe(Ds(() => {
6939
+ Promise.resolve().then(() => s.dispose());
6940
+ })).subscribe((n) => {
6941
+ this._pluginsRunLifecycle(e, n);
6939
6942
  }));
6940
6943
  }
6941
6944
  _pluginsRunLifecycle(e, s) {
6942
6945
  e.forEach((n) => {
6943
6946
  switch (s) {
6944
- case w.Starting:
6947
+ case S.Starting:
6945
6948
  n.onStarting(this._injector);
6946
6949
  break;
6947
- case w.Ready:
6950
+ case S.Ready:
6948
6951
  n.onReady();
6949
6952
  break;
6950
- case w.Rendered:
6953
+ case S.Rendered:
6951
6954
  n.onRendered();
6952
6955
  break;
6953
- case w.Steady:
6956
+ case S.Steady:
6954
6957
  n.onSteady();
6955
6958
  break;
6956
6959
  }
@@ -6960,18 +6963,18 @@ let Mt = class extends T {
6960
6963
  return this._injector.createInstance(e, s);
6961
6964
  }
6962
6965
  };
6963
- Mt = Ki([
6966
+ Mt = Yi([
6964
6967
  mt(0, et),
6965
6968
  mt(1, P(tt)),
6966
6969
  mt(2, P(y)),
6967
6970
  mt(3, P(Tt))
6968
6971
  ], Mt);
6969
- var Yi = Object.defineProperty, zi = Object.getOwnPropertyDescriptor, Xi = (t, e, s, n) => {
6970
- for (var r = n > 1 ? void 0 : n ? zi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6972
+ var zi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, Ji = (t, e, s, n) => {
6973
+ for (var r = n > 1 ? void 0 : n ? Xi(e, s) : e, i = t.length - 1, o; i >= 0; i--)
6971
6974
  (o = t[i]) && (r = (n ? o(e, s, r) : o(r)) || r);
6972
- return n && r && Yi(e, s, r), r;
6973
- }, Ji = (t, e) => (s, n) => e(s, n, t);
6974
- const qi = 4;
6975
+ return n && r && zi(e, s, r), r;
6976
+ }, qi = (t, e) => (s, n) => e(s, n, t);
6977
+ const Zi = 4;
6975
6978
  let Dt = class {
6976
6979
  constructor(t) {
6977
6980
  d(this, "_pluginHolderForUniver");
@@ -7013,7 +7016,7 @@ let Dt = class {
7013
7016
  () => {
7014
7017
  this._pluginHolderForUniver.started || this._pluginHolderForUniver.start(), this._flushPlugins(), this._clearFlushTimer();
7015
7018
  },
7016
- qi
7019
+ Zi
7017
7020
  ));
7018
7021
  }
7019
7022
  _clearFlushTimer() {
@@ -7025,10 +7028,10 @@ let Dt = class {
7025
7028
  e.started && e.flush();
7026
7029
  }
7027
7030
  };
7028
- Dt = Xi([
7029
- Ji(0, P(tt))
7031
+ Dt = Ji([
7032
+ qi(0, P(tt))
7030
7033
  ], Dt);
7031
- function Zi(t, e) {
7034
+ function Qi(t, e) {
7032
7035
  if (!e)
7033
7036
  return t;
7034
7037
  const s = [];
@@ -7043,7 +7046,7 @@ function Zi(t, e) {
7043
7046
  }
7044
7047
  return s;
7045
7048
  }
7046
- class Qi {
7049
+ class yi {
7047
7050
  constructor() {
7048
7051
  d(this, "_model", /* @__PURE__ */ new Map());
7049
7052
  d(this, "_userChange$", new H());
@@ -7066,7 +7069,7 @@ class Qi {
7066
7069
  this._model.clear(), this._userChange$.next({ type: "clear" });
7067
7070
  }
7068
7071
  }
7069
- class pu {
7072
+ class xu {
7070
7073
  /**
7071
7074
  * Create a Univer instance.
7072
7075
  * @param config Configuration data for Univer
@@ -7075,7 +7078,7 @@ class pu {
7075
7078
  constructor(e = {}, s) {
7076
7079
  d(this, "_startedTypes", /* @__PURE__ */ new Set());
7077
7080
  d(this, "_injector");
7078
- const n = this._injector = yi(s, e == null ? void 0 : e.override), { theme: r, locale: i, locales: o, logLevel: u } = e;
7081
+ const n = this._injector = to(s, e == null ? void 0 : e.override), { theme: r, locale: i, locales: o, logLevel: u } = e;
7079
7082
  r && this._injector.get(ms).setTheme(r), o && this._injector.get(It).load(o), i && this._injector.get(It).setLocale(i), u && this._injector.get(et).setLogLevel(u), this._init(n), this._pluginService;
7080
7083
  }
7081
7084
  get _univerInstanceService() {
@@ -7132,42 +7135,42 @@ class pu {
7132
7135
  );
7133
7136
  }
7134
7137
  _tryProgressToReady() {
7135
- this._injector.get(y).stage < w.Ready && (this._injector.get(y).stage = w.Ready);
7138
+ this._injector.get(y).stage < S.Ready && (this._injector.get(y).stage = S.Ready);
7136
7139
  }
7137
7140
  /** Register a plugin into univer. */
7138
7141
  registerPlugin(e, s) {
7139
7142
  this._pluginService.registerPlugin(e, s);
7140
7143
  }
7141
7144
  }
7142
- function yi(t, e) {
7143
- const s = Zi([
7144
- [Yr],
7145
+ function to(t, e) {
7146
+ const s = Qi([
7147
+ [zr],
7145
7148
  [It],
7146
7149
  [ms],
7147
7150
  [y],
7148
7151
  [Tt],
7149
- [St],
7152
+ [wt],
7150
7153
  [Dt],
7151
- [Qi],
7154
+ [yi],
7152
7155
  // abstract services
7153
7156
  [Q, { useClass: ee }],
7154
7157
  [Es, { useClass: Nt }],
7155
- [et, { useClass: Or, lazy: !0 }],
7158
+ [et, { useClass: Ar, lazy: !0 }],
7156
7159
  [Pt, { useClass: yt, lazy: !0 }],
7157
7160
  [Ee, { useClass: re, lazy: !0 }],
7158
- [jr, { useClass: Kr }],
7159
- [pt, { useClass: mr }],
7160
- [Xr, { useClass: zr, lazy: !0 }],
7161
- [ge, { useClass: bi, lazy: !0 }],
7161
+ [Kr, { useClass: Yr }],
7162
+ [pt, { useClass: Cr }],
7163
+ [Jr, { useClass: Xr, lazy: !0 }],
7164
+ [ge, { useClass: vi, lazy: !0 }],
7162
7165
  [Rs, { useClass: ne, lazy: !0 }]
7163
7166
  ], e);
7164
7167
  return t ? t.createChild(s) : new tt(s);
7165
7168
  }
7166
- const xu = (t, e) => e.length === t.length && !t.some((s) => e.some((n) => !Z.equals(n, s))), Pu = (t, e) => e.length === t.length && t.every((s, n) => {
7169
+ const Pu = (t, e) => e.length === t.length && !t.some((s) => e.some((n) => !Z.equals(n, s))), Hu = (t, e) => e.length === t.length && t.every((s, n) => {
7167
7170
  const r = e[n];
7168
7171
  return r.unitId === s.unitId && r.sheetId === s.sheetId && Z.equals(s.range, r.range);
7169
7172
  });
7170
- function Hu(t, e) {
7173
+ function Fu(t, e) {
7171
7174
  if (Object.is(t, e))
7172
7175
  return !0;
7173
7176
  if (typeof t != "object" || !t || typeof e != "object" || !e)
@@ -7186,19 +7189,19 @@ function Hu(t, e) {
7186
7189
  }
7187
7190
  return !0;
7188
7191
  }
7189
- function to(t) {
7192
+ function eo(t) {
7190
7193
  return /^-?\d+(\.\d+)?$/.test(t);
7191
7194
  }
7192
- function Fu(t) {
7193
- return to(t) ? Number(t) <= Number.MAX_SAFE_INTEGER : !1;
7194
- }
7195
7195
  function Wu(t) {
7196
+ return eo(t) ? Number(t) <= Number.MAX_SAFE_INTEGER : !1;
7197
+ }
7198
+ function Gu(t) {
7196
7199
  return ["true", "false"].includes(t.toLowerCase());
7197
7200
  }
7198
- function Gu(t, e) {
7201
+ function Bu(t, e) {
7199
7202
  return e.forEach((s) => t.add(s)), t;
7200
7203
  }
7201
- function Bu(t, e = 16) {
7204
+ function $u(t, e = 16) {
7202
7205
  let s = 0, n = null;
7203
7206
  return function(...i) {
7204
7207
  const o = Date.now();
@@ -7207,7 +7210,7 @@ function Bu(t, e = 16) {
7207
7210
  }, e)) : (s = o, t.apply(this, i));
7208
7211
  };
7209
7212
  }
7210
- function $u(t) {
7213
+ function ku(t) {
7211
7214
  const e = new MessageChannel();
7212
7215
  let s = !1;
7213
7216
  return e.port1.onmessage = () => {
@@ -7216,7 +7219,7 @@ function $u(t) {
7216
7219
  s = !0;
7217
7220
  };
7218
7221
  }
7219
- var eo = /* @__PURE__ */ ((t) => (t[t.TEXT = 0] = "TEXT", t[t.ARROW = 1] = "ARROW", t[t.CUSTOM = 2] = "CUSTOM", t))(eo || {});
7222
+ var so = /* @__PURE__ */ ((t) => (t[t.TEXT = 0] = "TEXT", t[t.ARROW = 1] = "ARROW", t[t.CUSTOM = 2] = "CUSTOM", t))(so || {});
7220
7223
  class We {
7221
7224
  constructor(e) {
7222
7225
  d(this, "_index", 0);
@@ -7349,12 +7352,12 @@ class Re {
7349
7352
  }
7350
7353
  trimEndUselessRetainAction() {
7351
7354
  let e = this._actions[this._actions.length - 1];
7352
- for (; e && e.t === A.RETAIN && $r(e); )
7355
+ for (; e && e.t === A.RETAIN && kr(e); )
7353
7356
  this._actions.pop(), e = this._actions[this._actions.length - 1];
7354
7357
  return this;
7355
7358
  }
7356
7359
  }
7357
- function ku(t, e, s) {
7360
+ function Vu(t, e, s) {
7358
7361
  if (e === "")
7359
7362
  return t;
7360
7363
  const n = {
@@ -7382,7 +7385,7 @@ function ku(t, e, s) {
7382
7385
  const u = r.getBody();
7383
7386
  return r.dispose(), u;
7384
7387
  }
7385
- class Vu extends ce {
7388
+ class ju extends ce {
7386
7389
  /**
7387
7390
  * Create a new WorkBookObserver with the specified callback
7388
7391
  * @param callback the callback that will be executed for that WorkBookObserver
@@ -7401,11 +7404,11 @@ class Vu extends ce {
7401
7404
  makeObserverBottomPriority() {
7402
7405
  }
7403
7406
  }
7404
- const ju = G("ILocalStorageService");
7405
- function Ku(t) {
7407
+ const Ku = G("ILocalStorageService");
7408
+ function Yu(t) {
7406
7409
  return `sheet_interceptor_${t}`;
7407
7410
  }
7408
- const so = (t) => function(e, s) {
7411
+ const no = (t) => function(e, s) {
7409
7412
  let n = -1;
7410
7413
  function r(i, o) {
7411
7414
  if (i <= n)
@@ -7414,7 +7417,7 @@ const so = (t) => function(e, s) {
7414
7417
  }
7415
7418
  return r(0, e);
7416
7419
  };
7417
- class Yu {
7420
+ class zu {
7418
7421
  constructor(e) {
7419
7422
  d(this, "_interceptorsByName", /* @__PURE__ */ new Map());
7420
7423
  d(this, "_interceptorPoints");
@@ -7422,7 +7425,7 @@ class Yu {
7422
7425
  }
7423
7426
  fetchThroughInterceptors(e) {
7424
7427
  const s = e, n = this._interceptorsByName.get(s);
7425
- return so(n || []);
7428
+ return no(n || []);
7426
7429
  }
7427
7430
  intercept(e, s) {
7428
7431
  const n = e;
@@ -7441,10 +7444,10 @@ class Yu {
7441
7444
  return this._interceptorPoints;
7442
7445
  }
7443
7446
  }
7444
- const zu = G(
7447
+ const Xu = G(
7445
7448
  "univer.snapshot-server-service"
7446
7449
  );
7447
- class Xu {
7450
+ class Ju {
7448
7451
  constructor() {
7449
7452
  d(this, "_sheetBlockCache", /* @__PURE__ */ new Map());
7450
7453
  }
@@ -7532,7 +7535,7 @@ class Xu {
7532
7535
  });
7533
7536
  }
7534
7537
  }
7535
- function Ju(t) {
7538
+ function qu(t) {
7536
7539
  return btoa(
7537
7540
  encodeURIComponent(t).replace(/%([0-9A-F]{2})/g, (e, s) => String.fromCharCode(Number.parseInt(s, 16)))
7538
7541
  );
@@ -7551,17 +7554,17 @@ function Is(t) {
7551
7554
  const e = R.deepClone(t);
7552
7555
  return delete e.id, delete e.rev, delete e.name, delete e.sheetOrder, delete e.sheets, Ht.encode(JSON.stringify(e));
7553
7556
  }
7554
- function no(t) {
7557
+ function ro(t) {
7555
7558
  const e = R.deepClone(t);
7556
7559
  return delete e.id, delete e.rev, delete e.title, delete e.resources, Ht.encode(JSON.stringify(e));
7557
7560
  }
7558
7561
  function Be(t) {
7559
7562
  return JSON.parse(me.decode(t));
7560
7563
  }
7561
- function ro(t) {
7564
+ function io(t) {
7562
7565
  return JSON.parse(typeof t == "string" ? Os(t) : me.decode(t));
7563
7566
  }
7564
- function io(t) {
7567
+ function oo(t) {
7565
7568
  return JSON.parse(typeof t == "string" ? Os(t) : me.decode(t));
7566
7569
  }
7567
7570
  const zt = 256;
@@ -7569,7 +7572,7 @@ function Ns(t, e) {
7569
7572
  const s = new k(t), n = s.getLength(), r = [];
7570
7573
  let i = 0;
7571
7574
  for (; i < n; ) {
7572
- const o = Math.min(i + zt, n - 1), u = s.getSlice(i, Math.min(i + zt, n - 1), 0, e), a = oo(u);
7575
+ const o = Math.min(i + zt, n - 1), u = s.getSlice(i, Math.min(i + zt, n - 1), 0, e), a = uo(u);
7573
7576
  r.push({
7574
7577
  id: R.generateRandomId(19, "0123456789"),
7575
7578
  // an random ID for client, this would be changed after the block is saved in the server
@@ -7580,11 +7583,11 @@ function Ns(t, e) {
7580
7583
  }
7581
7584
  return r;
7582
7585
  }
7583
- function oo(t) {
7586
+ function uo(t) {
7584
7587
  const e = t.getData();
7585
7588
  return Ht.encode(JSON.stringify(e));
7586
7589
  }
7587
- async function qu(t, e, s, n, r) {
7590
+ async function Zu(t, e, s, n, r) {
7588
7591
  const i = {}, o = {};
7589
7592
  if (!await Promise.all(
7590
7593
  Object.entries(e.sheets).map(async ([h, _]) => {
@@ -7642,7 +7645,7 @@ async function qu(t, e, s, n, r) {
7642
7645
  }
7643
7646
  };
7644
7647
  }
7645
- async function Zu(t, e, s, n, r) {
7648
+ async function Qu(t, e, s, n, r) {
7646
7649
  var _, f;
7647
7650
  const i = {}, o = {};
7648
7651
  if (!await Promise.all(
@@ -7710,7 +7713,7 @@ ErrorCode: ${(_ = h.error) == null ? void 0 : _.code}:${(f = h.error) == null ?
7710
7713
  snapshot: c
7711
7714
  };
7712
7715
  }
7713
- function Qu(t, e, s) {
7716
+ function yu(t, e, s) {
7714
7717
  const n = t.workbook;
7715
7718
  if (!n)
7716
7719
  throw new Error("");
@@ -7740,7 +7743,7 @@ function Qu(t, e, s) {
7740
7743
  else
7741
7744
  throw new Error("");
7742
7745
  }), h.forEach((f) => {
7743
- const g = ro(f.data);
7746
+ const g = io(f.data);
7744
7747
  Object.entries(g).forEach(([E, m]) => {
7745
7748
  const I = c.cellData[+E] = {};
7746
7749
  Object.entries(m).forEach(([v, M]) => {
@@ -7763,11 +7766,11 @@ function Qu(t, e, s) {
7763
7766
  ...o
7764
7767
  };
7765
7768
  }
7766
- function yu(t) {
7769
+ function ta(t) {
7767
7770
  const e = t.doc;
7768
7771
  if (e == null)
7769
7772
  throw new Error("transformSnapshotToDocumentData(): snapshot.doc is undefined.");
7770
- const { unitID: s, rev: n, name: r, originalMeta: i } = e, { body: o, documentStyle: u = {}, settings: a = {} } = io(i);
7773
+ const { unitID: s, rev: n, name: r, originalMeta: i } = e, { body: o, documentStyle: u = {}, settings: a = {} } = oo(i);
7771
7774
  return {
7772
7775
  id: s,
7773
7776
  rev: n,
@@ -7778,7 +7781,7 @@ function yu(t) {
7778
7781
  settings: a
7779
7782
  };
7780
7783
  }
7781
- async function ta(t, e, s, n, r) {
7784
+ async function ea(t, e, s, n, r) {
7782
7785
  var a, l, c;
7783
7786
  const i = {
7784
7787
  unitID: e.id,
@@ -7786,7 +7789,7 @@ async function ta(t, e, s, n, r) {
7786
7789
  creator: "",
7787
7790
  name: (a = e.title) != null ? a : "",
7788
7791
  resources: e.resources || [],
7789
- originalMeta: no(e)
7792
+ originalMeta: ro(e)
7790
7793
  }, o = {
7791
7794
  unitID: s,
7792
7795
  rev: i.rev,
@@ -7807,7 +7810,7 @@ ErrorCode: ${(l = u.error) == null ? void 0 : l.code}:${(c = u.error) == null ?
7807
7810
  snapshot: o
7808
7811
  };
7809
7812
  }
7810
- async function ea(t, e) {
7813
+ async function sa(t, e) {
7811
7814
  const s = t.workbook;
7812
7815
  if (!s)
7813
7816
  throw new Error("Workbook metadata is not available");
@@ -7827,178 +7830,178 @@ async function ea(t, e) {
7827
7830
  r.push(...u);
7828
7831
  }), await Promise.all(r), n;
7829
7832
  }
7830
- var uo = /* @__PURE__ */ ((t) => (t[t.INFO = 0] = "INFO", t[t.STOP = 1] = "STOP", t[t.WARNING = 2] = "WARNING", t))(uo || {}), ao = /* @__PURE__ */ ((t) => (t[t.DISABLED = 0] = "DISABLED", t[t.FULL_ALPHA = 1] = "FULL_ALPHA", t[t.FULL_HANGUL = 2] = "FULL_HANGUL", t[t.FULL_KATAKANA = 3] = "FULL_KATAKANA", t[t.HALF_ALPHA = 4] = "HALF_ALPHA", t[t.HALF_HANGUL = 5] = "HALF_HANGUL", t[t.HALF_KATAKANA = 6] = "HALF_KATAKANA", t[t.HIRAGANA = 7] = "HIRAGANA", t[t.NO_CONTROL = 8] = "NO_CONTROL", t[t.OFF = 9] = "OFF", t[t.ON = 10] = "ON", t))(ao || {}), lo = /* @__PURE__ */ ((t) => (t.BETWEEN = "between", t.EQUAL = "equal", t.GREATER_THAN = "greaterThan", t.GREATER_THAN_OR_EQUAL = "greaterThanOrEqual", t.LESS_THAN = "lessThan", t.LESS_THAN_OR_EQUAL = "lessThanOrEqual", t.NOT_BETWEEN = "notBetween", t.NOT_EQUAL = "notEqual", t))(lo || {}), co = /* @__PURE__ */ ((t) => (t.CUSTOM = "custom", t.LIST = "list", t.LIST_MULTIPLE = "listMultiple", t.NONE = "none", t.TEXT_LENGTH = "textLength", t.DATE = "date", t.TIME = "time", t.WHOLE = "whole", t.DECIMAL = "decimal", t.CHECKBOX = "checkbox", t))(co || {}), ho = /* @__PURE__ */ ((t) => (t.VALID = "valid", t.INVALID = "invalid", t.VALIDATING = "validating", t))(ho || {});
7831
- Hs();
7833
+ var ao = /* @__PURE__ */ ((t) => (t[t.INFO = 0] = "INFO", t[t.STOP = 1] = "STOP", t[t.WARNING = 2] = "WARNING", t))(ao || {}), lo = /* @__PURE__ */ ((t) => (t[t.DISABLED = 0] = "DISABLED", t[t.FULL_ALPHA = 1] = "FULL_ALPHA", t[t.FULL_HANGUL = 2] = "FULL_HANGUL", t[t.FULL_KATAKANA = 3] = "FULL_KATAKANA", t[t.HALF_ALPHA = 4] = "HALF_ALPHA", t[t.HALF_HANGUL = 5] = "HALF_HANGUL", t[t.HALF_KATAKANA = 6] = "HALF_KATAKANA", t[t.HIRAGANA = 7] = "HIRAGANA", t[t.NO_CONTROL = 8] = "NO_CONTROL", t[t.OFF = 9] = "OFF", t[t.ON = 10] = "ON", t))(lo || {}), co = /* @__PURE__ */ ((t) => (t.BETWEEN = "between", t.EQUAL = "equal", t.GREATER_THAN = "greaterThan", t.GREATER_THAN_OR_EQUAL = "greaterThanOrEqual", t.LESS_THAN = "lessThan", t.LESS_THAN_OR_EQUAL = "lessThanOrEqual", t.NOT_BETWEEN = "notBetween", t.NOT_EQUAL = "notEqual", t))(co || {}), ho = /* @__PURE__ */ ((t) => (t.CUSTOM = "custom", t.LIST = "list", t.LIST_MULTIPLE = "listMultiple", t.NONE = "none", t.TEXT_LENGTH = "textLength", t.DATE = "date", t.TIME = "time", t.WHOLE = "whole", t.DECIMAL = "decimal", t.CHECKBOX = "checkbox", t))(ho || {}), _o = /* @__PURE__ */ ((t) => (t.VALID = "valid", t.INVALID = "invalid", t.VALIDATING = "validating", t))(_o || {});
7834
+ Fs();
7832
7835
  export {
7833
- eu as ABCToNumber,
7836
+ su as ABCToNumber,
7834
7837
  L as AbsoluteRefType,
7835
7838
  We as ActionIterator,
7836
- xn as AlignTypeH,
7837
- Pn as AlignTypeV,
7838
- Bs as AutoFillSeries,
7839
+ Pn as AlignTypeH,
7840
+ Hn as AlignTypeV,
7841
+ $s as AutoFillSeries,
7839
7842
  ct as BaselineOffset,
7840
- En as BlockType,
7843
+ Rn as BlockType,
7841
7844
  C as BooleanNumber,
7842
- S as BorderStyleTypes,
7843
- $s as BorderType,
7845
+ w as BorderStyleTypes,
7846
+ ks as BorderType,
7844
7847
  X as BulletAlignment,
7845
7848
  Ce as COLORS,
7846
7849
  nt as CellValueType,
7847
- Xu as ClientSnapshotServerService,
7850
+ Ju as ClientSnapshotServerService,
7848
7851
  rt as Color,
7849
7852
  ae as ColorBuilder,
7850
7853
  $ as ColorKit,
7851
7854
  B as ColorType,
7852
- Cn as ColumnSeparatorType,
7855
+ On as ColumnSeparatorType,
7853
7856
  yt as CommandService,
7854
7857
  xt as CommandType,
7855
- ks as CommonHideTypes,
7856
- Kr as ConfigService,
7857
- Un as ContentAlignment,
7858
- mr as ContextService,
7859
- Vs as CopyPasteType,
7860
- gn as CustomRangeType,
7861
- cu as DEFAULT_CELL,
7858
+ Vs as CommonHideTypes,
7859
+ Yr as ConfigService,
7860
+ Tn as ContentAlignment,
7861
+ Cr as ContextService,
7862
+ js as CopyPasteType,
7863
+ En as CustomRangeType,
7864
+ hu as DEFAULT_CELL,
7862
7865
  hs as DEFAULT_DOC,
7863
- Eu as DEFAULT_DOCUMENT_SUB_COMPONENT_ID,
7864
- Tu as DEFAULT_EMPTY_DOCUMENT_VALUE,
7865
- au as DEFAULT_RANGE,
7866
+ Ru as DEFAULT_DOCUMENT_SUB_COMPONENT_ID,
7867
+ Mu as DEFAULT_EMPTY_DOCUMENT_VALUE,
7868
+ lu as DEFAULT_RANGE,
7866
7869
  Et as DEFAULT_RANGE_ARRAY,
7867
- lu as DEFAULT_SELECTION,
7868
- hr as DEFAULT_SLIDE,
7870
+ cu as DEFAULT_SELECTION,
7871
+ dr as DEFAULT_SLIDE,
7869
7872
  kt as DEFAULT_STYLES,
7870
- yr as DEFAULT_WORKSHEET_COLUMN_COUNT,
7871
- mu as DEFAULT_WORKSHEET_COLUMN_COUNT_KEY,
7872
- ni as DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT,
7873
- Iu as DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT_KEY,
7874
- ei as DEFAULT_WORKSHEET_COLUMN_WIDTH,
7875
- Ou as DEFAULT_WORKSHEET_COLUMN_WIDTH_KEY,
7876
- Qr as DEFAULT_WORKSHEET_ROW_COUNT,
7877
- Ru as DEFAULT_WORKSHEET_ROW_COUNT_KEY,
7878
- ti as DEFAULT_WORKSHEET_ROW_HEIGHT,
7879
- Cu as DEFAULT_WORKSHEET_ROW_HEIGHT_KEY,
7880
- si as DEFAULT_WORKSHEET_ROW_TITLE_WIDTH,
7881
- Au as DEFAULT_WORKSHEET_ROW_TITLE_WIDTH_KEY,
7882
- Di as DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,
7883
- Mi as DOCS_NORMAL_EDITOR_UNIT_ID_KEY,
7884
- Ln as DashStyleType,
7885
- Ur as DataStreamTreeNodeType,
7873
+ ti as DEFAULT_WORKSHEET_COLUMN_COUNT,
7874
+ Cu as DEFAULT_WORKSHEET_COLUMN_COUNT_KEY,
7875
+ ri as DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT,
7876
+ Nu as DEFAULT_WORKSHEET_COLUMN_TITLE_HEIGHT_KEY,
7877
+ si as DEFAULT_WORKSHEET_COLUMN_WIDTH,
7878
+ Au as DEFAULT_WORKSHEET_COLUMN_WIDTH_KEY,
7879
+ yr as DEFAULT_WORKSHEET_ROW_COUNT,
7880
+ mu as DEFAULT_WORKSHEET_ROW_COUNT_KEY,
7881
+ ei as DEFAULT_WORKSHEET_ROW_HEIGHT,
7882
+ Ou as DEFAULT_WORKSHEET_ROW_HEIGHT_KEY,
7883
+ ni as DEFAULT_WORKSHEET_ROW_TITLE_WIDTH,
7884
+ Iu as DEFAULT_WORKSHEET_ROW_TITLE_WIDTH_KEY,
7885
+ pi as DOCS_FORMULA_BAR_EDITOR_UNIT_ID_KEY,
7886
+ Di as DOCS_NORMAL_EDITOR_UNIT_ID_KEY,
7887
+ bn as DashStyleType,
7888
+ Tr as DataStreamTreeNodeType,
7886
7889
  ye as DataStreamTreeTokenType,
7887
- uo as DataValidationErrorStyle,
7888
- ao as DataValidationImeMode,
7889
- lo as DataValidationOperator,
7890
- eo as DataValidationRenderMode,
7891
- ho as DataValidationStatus,
7892
- co as DataValidationType,
7893
- Or as DesktopLogService,
7894
- js as DeveloperMetadataVisibility,
7895
- Ks as Dimension,
7896
- Ys as Direction,
7890
+ ao as DataValidationErrorStyle,
7891
+ lo as DataValidationImeMode,
7892
+ co as DataValidationOperator,
7893
+ so as DataValidationRenderMode,
7894
+ _o as DataValidationStatus,
7895
+ ho as DataValidationType,
7896
+ Ar as DesktopLogService,
7897
+ Ks as DeveloperMetadataVisibility,
7898
+ Ys as Dimension,
7899
+ zs as Direction,
7897
7900
  T as Disposable,
7898
7901
  Ye as DisposableCollection,
7899
- _n as DocStyleType,
7902
+ fn as DocStyleType,
7900
7903
  ot as DocumentDataModel,
7901
- di as EDITOR_ACTIVATED,
7902
- dr as EXTENSION_NAMES,
7903
- we as Entry,
7904
- rr as EntryIterator,
7905
- Yr as ErrorService,
7906
- yn as EventState,
7904
+ _i as EDITOR_ACTIVATED,
7905
+ _r as EXTENSION_NAMES,
7906
+ Se as Entry,
7907
+ ir as EntryIterator,
7908
+ zr as ErrorService,
7909
+ tr as EventState,
7907
7910
  Vt as FOCUSING_DOC,
7908
- wu as FOCUSING_EDITOR_BUT_HIDDEN,
7909
- Lu as FOCUSING_EDITOR_INPUT_FORMULA,
7910
- vu as FOCUSING_EDITOR_STANDALONE,
7911
- _i as FOCUSING_FORMULA_EDITOR,
7911
+ Lu as FOCUSING_EDITOR_BUT_HIDDEN,
7912
+ bu as FOCUSING_EDITOR_INPUT_FORMULA,
7913
+ Uu as FOCUSING_EDITOR_STANDALONE,
7914
+ fi as FOCUSING_FORMULA_EDITOR,
7912
7915
  Ot as FOCUSING_SHEET,
7913
7916
  jt as FOCUSING_SLIDE,
7914
- bu as FOCUSING_UNIVER_EDITOR,
7915
- Uu as FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE,
7916
- zr as FloatingObjectManagerService,
7917
- fn as FollowNumberWithType,
7917
+ vu as FOCUSING_UNIVER_EDITOR,
7918
+ Tu as FOCUSING_UNIVER_EDITOR_STANDALONE_SINGLE_MODE,
7919
+ Xr as FloatingObjectManagerService,
7920
+ gn as FollowNumberWithType,
7918
7921
  Jt as FontItalic,
7919
- Tn as FontStyleType,
7922
+ Mn as FontStyleType,
7920
7923
  qt as FontWeight,
7921
- zs as FormatType,
7924
+ Xs as FormatType,
7922
7925
  Ct as GlyphType,
7923
- Rn as GridType,
7924
- tn as HLSColor,
7926
+ mn as GridType,
7927
+ en as HLSColor,
7925
7928
  st as HorizontalAlign,
7926
7929
  Pt as ICommandService,
7927
- jr as IConfigService,
7930
+ Kr as IConfigService,
7928
7931
  pt as IContextService,
7929
- Xr as IFloatingObjectManagerService,
7930
- ju as ILocalStorageService,
7932
+ Jr as IFloatingObjectManagerService,
7933
+ Ku as ILocalStorageService,
7931
7934
  et as ILogService,
7932
7935
  Es as IPermissionService,
7933
7936
  Rs as IResourceLoaderService,
7934
7937
  ge as IResourceManagerService,
7935
- zu as ISnapshotServerService,
7938
+ Xu as ISnapshotServerService,
7936
7939
  Ee as IUndoRedoService,
7937
7940
  Q as IUniverInstanceService,
7938
- Yu as InterceptorManager,
7939
- Xs as InterpolationPointType,
7940
- sr as KeyIterator,
7941
+ zu as InterceptorManager,
7942
+ Js as InterpolationPointType,
7943
+ nr as KeyIterator,
7941
7944
  gt as LRUHelper,
7942
- ir as LRUMap,
7945
+ or as LRUMap,
7943
7946
  Tt as LifecycleInitializerService,
7944
7947
  y as LifecycleService,
7945
- w as LifecycleStages,
7948
+ S as LifecycleStages,
7946
7949
  re as LocalUndoRedoService,
7947
7950
  It as LocaleService,
7948
7951
  ut as LocaleType,
7949
- Cr as LogLevel,
7950
- vr as MemoryCursor,
7952
+ Or as LogLevel,
7953
+ Ur as MemoryCursor,
7951
7954
  Sn as NamedStyleType,
7952
- wr as NilCommand,
7953
- pn as NumberUnitType,
7955
+ Lr as NilCommand,
7956
+ xn as NumberUnitType,
7954
7957
  k as ObjectMatrix,
7955
- Mn as ObjectRelativeFromH,
7956
- Dn as ObjectRelativeFromV,
7958
+ Dn as ObjectRelativeFromH,
7959
+ pn as ObjectRelativeFromV,
7957
7960
  ce as Observable,
7958
- Vu as ObservableHooks,
7961
+ ju as ObservableHooks,
7959
7962
  le as Observer,
7960
7963
  _s as OnLifecycle,
7961
- gu as PRESET_LIST_TYPE,
7962
- Wn as PageElementType,
7963
- Fn as PageOrientType,
7964
+ Eu as PRESET_LIST_TYPE,
7965
+ Gn as PageElementType,
7966
+ Wn as PageOrientType,
7964
7967
  ke as PageType,
7965
- An as ParagraphElementType,
7966
- ar as PermissionPoint,
7968
+ In as ParagraphElementType,
7969
+ lr as PermissionPoint,
7967
7970
  Nt as PermissionService,
7968
7971
  ze as PermissionStatus,
7969
7972
  Fe as Plugin,
7970
7973
  Mt as PluginHolder,
7971
7974
  Dt as PluginService,
7972
- Nn as PositionedObjectLayoutType,
7975
+ wn as PositionedObjectLayoutType,
7973
7976
  te as PresetListType,
7974
- Js as ProtectionType,
7977
+ qs as ProtectionType,
7975
7978
  p as RANGE_TYPE,
7976
- No as RGBA_PAREN,
7977
- Io as RGB_PAREN,
7979
+ wo as RGBA_PAREN,
7980
+ No as RGB_PAREN,
7978
7981
  it as Range,
7979
7982
  Z as Rectangle,
7980
- Bi as RedoCommand,
7981
- Fi as RedoCommandId,
7982
- tu as RefAlias,
7983
+ $i as RedoCommand,
7984
+ Wi as RedoCommandId,
7985
+ eu as RefAlias,
7983
7986
  Ze as Registry,
7984
7987
  Qe as RegistryAsMap,
7985
- qs as RelativeDate,
7986
- Gn as RelativeSlideLink,
7987
- bi as ResourceManagerService,
7988
+ Zs as RelativeDate,
7989
+ Bn as RelativeSlideLink,
7990
+ vi as ResourceManagerService,
7988
7991
  Zt as RgbColor,
7989
- zo as RxDisposable,
7990
- mn as SectionType,
7991
- Zs as ShapeType,
7992
+ Xo as RxDisposable,
7993
+ Cn as SectionType,
7994
+ Qs as ShapeType,
7992
7995
  oe as SheetTypes,
7993
- ii as SheetViewModel,
7996
+ oi as SheetViewModel,
7994
7997
  ds as SlideDataModel,
7995
- wn as SpacingRule,
7996
- Jr as Styles,
7997
- ys as THEME_COLORS,
7998
- bn as TabStopAlignment,
7999
- Qs as TextDecoration,
8000
- wt as TextDirection,
8001
- On as TextDirectionType,
7998
+ Ln as SpacingRule,
7999
+ qr as Styles,
8000
+ tn as THEME_COLORS,
8001
+ vn as TabStopAlignment,
8002
+ ys as TextDecoration,
8003
+ St as TextDirection,
8004
+ An as TextDirectionType,
8002
8005
  Re as TextX,
8003
8006
  A as TextXActionType,
8004
8007
  Qt as ThemeColor,
@@ -8006,123 +8009,123 @@ export {
8006
8009
  ue as ThemeColors,
8007
8010
  ms as ThemeService,
8008
8011
  R as Tools,
8009
- Gi as UndoCommand,
8010
- Wi as UndoCommandId,
8012
+ Bi as UndoCommand,
8013
+ Gi as UndoCommandId,
8011
8014
  de as UnitModel,
8012
- pu as Univer,
8015
+ xu as Univer,
8013
8016
  Kt as UniverEditablePermission,
8014
- Ni as UniverEditablePermissionPoint,
8017
+ wi as UniverEditablePermissionPoint,
8015
8018
  ee as UniverInstanceService,
8016
8019
  O as UniverInstanceType,
8017
- St as UniverPermissionService,
8020
+ wt as UniverPermissionService,
8018
8021
  D as UpdateDocsAttributeType,
8019
- Qi as UserManagerService,
8020
- nr as ValueIterator,
8022
+ yi as UserManagerService,
8023
+ rr as ValueIterator,
8021
8024
  at as VerticalAlign,
8022
- vn as WidthType,
8025
+ Un as WidthType,
8023
8026
  Ut as Workbook,
8024
8027
  vt as Worksheet,
8025
8028
  Lt as WrapStrategy,
8026
- In as WrapTextType,
8027
- fu as afterInitApply,
8029
+ Nn as WrapTextType,
8030
+ gu as afterInitApply,
8028
8031
  Os as b64DecodeUnicode,
8029
- Ju as b64EncodeUnicode,
8030
- Ws as binarySearchArray,
8031
- Bo as cellToRange,
8032
- Hn as characterSpacingControlType,
8033
- $o as checkForSubstrings,
8034
- ko as checkParagraphHasBullet,
8035
- Vo as checkParagraphHasIndent,
8036
- Xn as checkParagraphHasIndentByStyle,
8037
- Oo as codeToBlob,
8032
+ qu as b64EncodeUnicode,
8033
+ Gs as binarySearchArray,
8034
+ $o as cellToRange,
8035
+ Fn as characterSpacingControlType,
8036
+ ko as checkForSubstrings,
8037
+ Vo as checkParagraphHasBullet,
8038
+ jo as checkParagraphHasIndent,
8039
+ Jn as checkParagraphHasIndentByStyle,
8040
+ Ao as codeToBlob,
8038
8041
  De as composeBody,
8039
- so as composeInterceptors,
8040
- Zo as concatMatrixArray,
8041
- uu as convertBodyToHtml,
8042
+ no as composeInterceptors,
8043
+ Qo as concatMatrixArray,
8044
+ au as convertBodyToHtml,
8042
8045
  Te as covertTextRunToHtml,
8043
- Ku as createInterceptorKey,
8044
- Mu as createInternalEditorID,
8046
+ Yu as createInterceptorKey,
8047
+ Du as createInternalEditorID,
8045
8048
  Ue as createRowColIter,
8046
- ou as debounce,
8047
- Xo as dedupe,
8049
+ uu as debounce,
8050
+ Jo as dedupe,
8048
8051
  Ve as deepCompare,
8049
- qn as deleteContent,
8050
- Nu as extractPureTextFromCell,
8051
- br as fromCallback,
8052
- Yo as fromObservable,
8053
- qu as generateTemporarySnap,
8052
+ Zn as deleteContent,
8053
+ wu as extractPureTextFromCell,
8054
+ vr as fromCallback,
8055
+ zo as fromObservable,
8056
+ Zu as generateTemporarySnap,
8054
8057
  J as getArrayLength,
8055
8058
  cs as getBodySlice,
8056
8059
  $t as getBodySliceHtml,
8057
- Wo as getBorderStyleType,
8058
- bo as getCellValueType,
8060
+ Go as getBorderStyleType,
8061
+ vo as getCellValueType,
8059
8062
  V as getColorStyle,
8060
8063
  Gt as getDocsUpdateBody,
8061
- Ao as getReverseDirection,
8062
- ea as getSheetBlocksFromSnapshot,
8063
- yo as getTypeFromPermissionItemList,
8064
+ Io as getReverseDirection,
8065
+ sa as getSheetBlocksFromSnapshot,
8066
+ tu as getTypeFromPermissionItemList,
8064
8067
  Su as getWorksheetUID,
8065
- qo as groupBy,
8066
- Ho as handleJsonToDom,
8067
- Fo as handleStyleToString,
8068
- Ko as hashAlgorithm,
8068
+ Zo as groupBy,
8069
+ Fo as handleJsonToDom,
8070
+ Wo as handleStyleToString,
8071
+ Yo as hashAlgorithm,
8069
8072
  je as horizontalLineSegmentsSubtraction,
8070
8073
  Le as insertMatrixArray,
8071
- Jn as insertTextToContent,
8074
+ qn as insertTextToContent,
8072
8075
  So as isBlackColor,
8073
- Wu as isBooleanString,
8074
- Uo as isCellV,
8075
- po as isEmptyCell,
8076
- Po as isFormulaId,
8077
- xo as isFormulaString,
8078
- Lo as isICellData,
8079
- Du as isInternalEditorID,
8080
- vo as isNullCell,
8081
- to as isNumeric,
8082
- tr as isObserver,
8083
- xu as isRangesEqual,
8084
- jo as isRealNum,
8085
- Fu as isSafeNumeric,
8086
- zn as isSameStyleTextRun,
8087
- Pu as isUnitRangesEqual,
8088
- Go as isValidRange,
8089
- wo as isWhiteColor,
8090
- Do as makeCellRangeToRangeData,
8091
- Mo as makeCellToSelection,
8092
- Zi as mergeOverrideWithDependencies,
8093
- Gu as mergeSets,
8094
- ri as mergeWorksheetSnapshotWithDefault,
8076
+ Gu as isBooleanString,
8077
+ To as isCellV,
8078
+ xo as isEmptyCell,
8079
+ Ho as isFormulaId,
8080
+ Po as isFormulaString,
8081
+ bo as isICellData,
8082
+ pu as isInternalEditorID,
8083
+ Uo as isNullCell,
8084
+ eo as isNumeric,
8085
+ er as isObserver,
8086
+ Pu as isRangesEqual,
8087
+ Ko as isRealNum,
8088
+ Wu as isSafeNumeric,
8089
+ Xn as isSameStyleTextRun,
8090
+ Hu as isUnitRangesEqual,
8091
+ Bo as isValidRange,
8092
+ Lo as isWhiteColor,
8093
+ po as makeCellRangeToRangeData,
8094
+ Do as makeCellToSelection,
8095
+ Qi as mergeOverrideWithDependencies,
8096
+ Bu as mergeSets,
8097
+ ii as mergeWorksheetSnapshotWithDefault,
8095
8098
  ve as moveMatrixArray,
8096
- du as moveRangeByOffset,
8099
+ _u as moveRangeByOffset,
8097
8100
  ts as normalizeTextRuns,
8098
- su as numberToABC,
8099
- nu as numberToListABC,
8100
- Gs as orderSearchArray,
8101
- hu as queryObjectMatrix,
8101
+ nu as numberToABC,
8102
+ ru as numberToListABC,
8103
+ Bs as orderSearchArray,
8104
+ du as queryObjectMatrix,
8102
8105
  he as remove,
8103
- cr as repeatStringNumTimes,
8104
- ku as replaceInDocumentBody,
8105
- $u as requestImmediateMacroTask,
8106
- Jo as rotate,
8106
+ hr as repeatStringNumTimes,
8107
+ Vu as replaceInDocumentBody,
8108
+ ku as requestImmediateMacroTask,
8109
+ qo as rotate,
8107
8110
  fs as runOnLifecycle,
8108
- Co as searchArray,
8109
- To as selectionToArray,
8110
- Rr as sequence,
8111
- Er as sequenceAsync,
8111
+ Oo as searchArray,
8112
+ Mo as selectionToArray,
8113
+ mr as sequence,
8114
+ Rr as sequenceAsync,
8112
8115
  Je as sequenceExecute,
8113
- _u as sequenceExecuteAsync,
8114
- Hu as shallowEqual,
8115
- Qo as sliceMatrixArray,
8116
- ru as sortRules,
8117
- iu as sortRulesByDesc,
8116
+ fu as sequenceExecuteAsync,
8117
+ Fu as shallowEqual,
8118
+ yo as sliceMatrixArray,
8119
+ iu as sortRules,
8120
+ ou as sortRulesByDesc,
8118
8121
  ht as sortRulesFactory,
8119
8122
  be as spliceArray,
8120
8123
  me as textDecoder,
8121
8124
  Ht as textEncoder,
8122
- Bu as throttle,
8125
+ $u as throttle,
8123
8126
  b as toDisposable,
8124
- ta as transformDocumentDataToSnapshot,
8125
- yu as transformSnapshotToDocumentData,
8126
- Qu as transformSnapshotToWorkbookData,
8127
- Zu as transformWorkbookDataToSnapshot
8127
+ ea as transformDocumentDataToSnapshot,
8128
+ ta as transformSnapshotToDocumentData,
8129
+ yu as transformSnapshotToWorkbookData,
8130
+ Qu as transformWorkbookDataToSnapshot
8128
8131
  };