@univerjs/sheets-conditional-formatting 0.6.1 → 0.6.2

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.
package/lib/es/index.js CHANGED
@@ -1,16 +1,16 @@
1
- var V2 = Object.defineProperty;
2
- var O2 = (s, n, t) => n in s ? V2(s, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[n] = t;
3
- var m = (s, n, t) => O2(s, typeof n != "symbol" ? n + "" : n, t);
4
- import { Tools as j, CommandType as J, Inject as A, ICommandService as f2, Disposable as m2, ObjectMatrix as T, RefAlias as $2, CellValueType as x, BooleanNumber as I2, LRUMap as b2, ColorKit as S2, dayjs as v, Range as N, Injector as F2, IUniverInstanceService as L2, RTree as P2, IResourceManagerService as W2, UniverInstanceType as c2, Rectangle as X, Plugin as q2, merge as Z2, touchDependencies as G2, IConfigService as H2 } from "@univerjs/core";
5
- import { isRangesEqual as b1 } from "@univerjs/core";
6
- import { Subject as i2, BehaviorSubject as j2 } from "rxjs";
7
- import { distinctUntilChanged as X2, bufferTime as Y2, filter as K2, map as J2 } from "rxjs/operators";
8
- import { IActiveDirtyManagerService as z2, SetFormulaCalculationResultMutation as Q2, SetOtherFormulaMutation as e0, RemoveOtherFormulaMutation as t0, BooleanValue as A2, ERROR_TYPE_SET as x2 } from "@univerjs/engine-formula";
9
- import { isObject as r0, SpreadsheetExtensionRegistry as k2, SheetExtension as B2, FIX_ONE_PIXEL_BLUR_OFFSET as n0 } from "@univerjs/engine-render";
10
- import { SheetInterceptorService as s0, RemoveSheetCommand as i0, ReorderRangeMutation as a0, MoveRangeMutation as l0, MoveColsMutation as o0, MoveRowsMutation as c0, InsertRowMutation as u0, RemoveRowMutation as h0, RemoveColMutation as d0, InsertColMutation as g0, SetRangeValuesMutation as C0 } from "@univerjs/sheets";
11
- const N2 = "SHEET_CONDITIONAL_FORMATTING_PLUGIN";
12
- var M = /* @__PURE__ */ ((s) => (s.beginsWith = "beginsWith", s.endsWith = "endsWith", s.containsText = "containsText", s.notContainsText = "notContainsText", s.equal = "equal", s.notEqual = "notEqual", s.containsBlanks = "containsBlanks", s.notContainsBlanks = "notContainsBlanks", s.containsErrors = "containsErrors", s.notContainsErrors = "notContainsErrors", s))(M || {}), R = /* @__PURE__ */ ((s) => (s.today = "today", s.yesterday = "yesterday", s.tomorrow = "tomorrow", s.last7Days = "last7Days", s.thisMonth = "thisMonth", s.lastMonth = "lastMonth", s.nextMonth = "nextMonth", s.thisWeek = "thisWeek", s.lastWeek = "lastWeek", s.nextWeek = "nextWeek", s))(R || {}), F = /* @__PURE__ */ ((s) => (s.greaterThan = "greaterThan", s.greaterThanOrEqual = "greaterThanOrEqual", s.lessThan = "lessThan", s.lessThanOrEqual = "lessThanOrEqual", s.notBetween = "notBetween", s.between = "between", s.equal = "equal", s.notEqual = "notEqual", s))(F || {}), y = /* @__PURE__ */ ((s) => (s.highlightCell = "highlightCell", s.dataBar = "dataBar", s.colorScale = "colorScale", s.iconSet = "iconSet", s))(y || {}), E = /* @__PURE__ */ ((s) => (s.uniqueValues = "uniqueValues", s.duplicateValues = "duplicateValues", s.rank = "rank", s.text = "text", s.timePeriod = "timePeriod", s.number = "number", s.average = "average", s.formula = "formula", s))(E || {}), _ = /* @__PURE__ */ ((s) => (s.num = "num", s.min = "min", s.max = "max", s.percent = "percent", s.percentile = "percentile", s.formula = "formula", s))(_ || {});
13
- const m1 = "#fff", F1 = "#000000", w1 = () => ({
1
+ var Z2 = Object.defineProperty;
2
+ var G2 = (s, r, t) => r in s ? Z2(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
+ var m = (s, r, t) => G2(s, typeof r != "symbol" ? r + "" : r, t);
4
+ import { Tools as z, CommandType as U, Inject as _, ICommandService as $, Disposable as _2, ObjectMatrix as O, RefAlias as H2, CellValueType as M, BooleanNumber as N2, LRUMap as U2, ColorKit as T2, dayjs as v, Range as N, Injector as M2, IUniverInstanceService as W, RTree as j2, IUndoRedoService as Q, sequenceExecute as V2, IResourceManagerService as X2, UniverInstanceType as m2, Rectangle as t2, Plugin as Y2, merge as K2, touchDependencies as J2, IConfigService as z2 } from "@univerjs/core";
5
+ import { isRangesEqual as W1 } from "@univerjs/core";
6
+ import { Subject as h2, BehaviorSubject as Q2 } from "rxjs";
7
+ import { distinctUntilChanged as e0, bufferTime as t0, filter as n0, map as r0 } from "rxjs/operators";
8
+ import { IActiveDirtyManagerService as s0, SetFormulaCalculationResultMutation as i0, SetOtherFormulaMutation as a0, RemoveOtherFormulaMutation as l0, BooleanValue as R2, ERROR_TYPE_SET as S2 } from "@univerjs/engine-formula";
9
+ import { isObject as o0, SpreadsheetExtensionRegistry as O2, SheetExtension as $2, FIX_ONE_PIXEL_BLUR_OFFSET as c0 } from "@univerjs/engine-render";
10
+ import { getSheetCommandTarget as e2, SheetsSelectionsService as u0, findAllRectangle as d0, createTopMatrixFromMatrix as h0, SheetInterceptorService as g0, RemoveSheetCommand as C0, ReorderRangeMutation as D0, MoveRangeMutation as f0, MoveColsMutation as m0, MoveRowsMutation as F0, InsertRowMutation as w0, RemoveRowMutation as v0, RemoveColMutation as E0, InsertColMutation as p0, SetRangeValuesMutation as A0 } from "@univerjs/sheets";
11
+ const P2 = "SHEET_CONDITIONAL_FORMATTING_PLUGIN";
12
+ var b = /* @__PURE__ */ ((s) => (s.beginsWith = "beginsWith", s.endsWith = "endsWith", s.containsText = "containsText", s.notContainsText = "notContainsText", s.equal = "equal", s.notEqual = "notEqual", s.containsBlanks = "containsBlanks", s.notContainsBlanks = "notContainsBlanks", s.containsErrors = "containsErrors", s.notContainsErrors = "notContainsErrors", s))(b || {}), L = /* @__PURE__ */ ((s) => (s.today = "today", s.yesterday = "yesterday", s.tomorrow = "tomorrow", s.last7Days = "last7Days", s.thisMonth = "thisMonth", s.lastMonth = "lastMonth", s.nextMonth = "nextMonth", s.thisWeek = "thisWeek", s.lastWeek = "lastWeek", s.nextWeek = "nextWeek", s))(L || {}), w = /* @__PURE__ */ ((s) => (s.greaterThan = "greaterThan", s.greaterThanOrEqual = "greaterThanOrEqual", s.lessThan = "lessThan", s.lessThanOrEqual = "lessThanOrEqual", s.notBetween = "notBetween", s.between = "between", s.equal = "equal", s.notEqual = "notEqual", s))(w || {}), S = /* @__PURE__ */ ((s) => (s.highlightCell = "highlightCell", s.dataBar = "dataBar", s.colorScale = "colorScale", s.iconSet = "iconSet", s))(S || {}), x = /* @__PURE__ */ ((s) => (s.uniqueValues = "uniqueValues", s.duplicateValues = "duplicateValues", s.rank = "rank", s.text = "text", s.timePeriod = "timePeriod", s.number = "number", s.average = "average", s.formula = "formula", s))(x || {}), R = /* @__PURE__ */ ((s) => (s.num = "num", s.min = "min", s.max = "max", s.percent = "percent", s.percentile = "percentile", s.formula = "formula", s))(R || {});
13
+ const L1 = "#fff", k1 = "#000000", B1 = () => ({
14
14
  cfId: void 0,
15
15
  ranges: [],
16
16
  stopIfTrue: !1,
@@ -20,7 +20,7 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
20
20
  operator: "containsText"
21
21
  /* containsText */
22
22
  }
23
- }), v1 = (s, n) => {
23
+ }), N1 = (s, r) => {
24
24
  switch (s) {
25
25
  case "text": {
26
26
  if ([
@@ -31,7 +31,7 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
31
31
  "notContainsText",
32
32
  "notEqual"
33
33
  /* notEqual */
34
- ].includes(n))
34
+ ].includes(r))
35
35
  return "";
36
36
  break;
37
37
  }
@@ -40,10 +40,10 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
40
40
  "between",
41
41
  "notBetween"
42
42
  /* notBetween */
43
- ].includes(n) ? [10, 100] : 10;
43
+ ].includes(r) ? [10, 100] : 10;
44
44
  }
45
45
  return "";
46
- }, E1 = (s, n) => {
46
+ }, U1 = (s, r) => {
47
47
  switch (s) {
48
48
  case "formula":
49
49
  return "=";
@@ -53,13 +53,13 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
53
53
  case "percent":
54
54
  case "percentile":
55
55
  case "num":
56
- return n !== void 0 ? n : 10;
56
+ return r !== void 0 ? r : 10;
57
57
  }
58
58
  return "";
59
- }, W = (s, n, t) => {
60
- if (!n)
59
+ }, H = (s, r, t) => {
60
+ if (!r)
61
61
  return null;
62
- const e = n.findIndex((r) => t(r) === s.id);
62
+ const e = r.findIndex((n) => t(n) === s.id);
63
63
  if (e < 0)
64
64
  return null;
65
65
  switch (s.type) {
@@ -70,15 +70,15 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
70
70
  case "self":
71
71
  return e;
72
72
  }
73
- }, D0 = (s, n, t, e) => {
73
+ }, x0 = (s, r, t, e) => {
74
74
  if (!t)
75
75
  return null;
76
- const r = W(s, t, e);
77
- let i = W(n, t, e);
78
- if (r === null || i === null || r === i)
76
+ const n = H(s, t, e);
77
+ let i = H(r, t, e);
78
+ if (n === null || i === null || n === i)
79
79
  return;
80
- const a = t.splice(r, 1)[0];
81
- switch (r < i && (i = W(n, t, e)), n.type) {
80
+ const a = t.splice(n, 1)[0];
81
+ switch (n < i && (i = H(r, t, e)), r.type) {
82
82
  case "before": {
83
83
  t.splice(i + 1, 0, a);
84
84
  break;
@@ -89,27 +89,27 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
89
89
  break;
90
90
  }
91
91
  }
92
- }, f0 = (s, n, t, e) => {
93
- if (s.type === "after" && ["after", "before"].includes(n.type))
94
- return [s, n];
95
- const r = { ...s }, i = { ...n };
96
- if (r.type !== "after") {
97
- const a = W(r, t, e);
92
+ }, W2 = (s, r, t, e) => {
93
+ if (s.type === "after" && ["after", "before"].includes(r.type))
94
+ return [s, r];
95
+ const n = { ...s }, i = { ...r };
96
+ if (n.type !== "after") {
97
+ const a = H(n, t, e);
98
98
  if (a === null)
99
99
  return null;
100
100
  if (a - 1 < 0) {
101
101
  const u = t[a + 1];
102
102
  if (u)
103
- r.id = e(u), r.type = "before";
103
+ n.id = e(u), n.type = "before";
104
104
  else
105
105
  return null;
106
106
  } else {
107
107
  const u = e(t[a - 1]);
108
- r.id = u, r.type = "after";
108
+ n.id = u, n.type = "after";
109
109
  }
110
110
  }
111
111
  if (!["after", "before"].includes(i.type)) {
112
- const a = W(i, t, e);
112
+ const a = H(i, t, e);
113
113
  if (a === null)
114
114
  return null;
115
115
  if (a === 0)
@@ -123,138 +123,138 @@ const m1 = "#fff", F1 = "#000000", w1 = () => ({
123
123
  } else
124
124
  return null;
125
125
  }
126
- return r.id === i.id && r.type === i.type ? null : [r, i];
127
- }, m0 = (s, n) => {
128
- if (["after", "before"].includes(n.type)) {
126
+ return n.id === i.id && n.type === i.type ? null : [n, i];
127
+ }, _0 = (s, r) => {
128
+ if (["after", "before"].includes(r.type)) {
129
129
  if (s.type === "after")
130
- return [n, s];
130
+ return [r, s];
131
131
  if (s.type === "before")
132
- return [n, { ...s, type: "self" }];
132
+ return [r, { ...s, type: "self" }];
133
133
  }
134
134
  return null;
135
- }, p1 = (s, n) => s.id === n.id && s.type === n.type, F0 = () => `${j.generateRandomId(8)}`;
136
- class k {
135
+ }, T1 = (s, r) => s.id === r.id && s.type === r.type, M0 = () => `${z.generateRandomId(8)}`;
136
+ class y {
137
137
  constructor() {
138
138
  // Map<unitID ,<sheetId ,IConditionFormattingRule[]>>
139
139
  m(this, "_model", /* @__PURE__ */ new Map());
140
- m(this, "_ruleChange$", new i2());
140
+ m(this, "_ruleChange$", new h2());
141
141
  m(this, "$ruleChange", this._ruleChange$.asObservable());
142
142
  }
143
- _ensureList(n, t) {
144
- let e = this.getSubunitRules(n, t);
143
+ _ensureList(r, t) {
144
+ let e = this.getSubunitRules(r, t);
145
145
  if (!e) {
146
146
  e = [];
147
- let r = this._model.get(n);
148
- r || (r = /* @__PURE__ */ new Map(), this._model.set(n, r)), r.set(t, e);
147
+ let n = this._model.get(r);
148
+ n || (n = /* @__PURE__ */ new Map(), this._model.set(r, n)), n.set(t, e);
149
149
  }
150
150
  return e;
151
151
  }
152
- getRule(n, t, e) {
153
- const r = this.getSubunitRules(n, t);
154
- return r ? r.find((i) => i.cfId === e) : null;
152
+ getRule(r, t, e) {
153
+ const n = this.getSubunitRules(r, t);
154
+ return n ? n.find((i) => i.cfId === e) : null;
155
155
  }
156
- getUnitRules(n) {
157
- return this._model.get(n) || null;
156
+ getUnitRules(r) {
157
+ return this._model.get(r) || null;
158
158
  }
159
- getSubunitRules(n, t) {
160
- var r;
161
- return ((r = this._model.get(n)) == null ? void 0 : r.get(t)) || null;
159
+ getSubunitRules(r, t) {
160
+ var n;
161
+ return ((n = this._model.get(r)) == null ? void 0 : n.get(t)) || null;
162
162
  }
163
- deleteRule(n, t, e) {
164
- const r = this.getSubunitRules(n, t);
165
- if (r) {
166
- const i = r.findIndex((u) => u.cfId === e), a = r[i];
167
- a && (r.splice(i, 1), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: n, type: "delete" }));
163
+ deleteRule(r, t, e) {
164
+ const n = this.getSubunitRules(r, t);
165
+ if (n) {
166
+ const i = n.findIndex((u) => u.cfId === e), a = n[i];
167
+ a && (n.splice(i, 1), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: r, type: "delete" }));
168
168
  }
169
169
  }
170
- setRule(n, t, e, r) {
171
- const a = this._ensureList(n, t).find((u) => u.cfId === r);
170
+ setRule(r, t, e, n) {
171
+ const a = this._ensureList(r, t).find((u) => u.cfId === n);
172
172
  if (a) {
173
- const u = j.deepClone(a);
174
- Object.assign(a, e), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: n, type: "set", oldRule: u });
173
+ const u = z.deepClone(a);
174
+ Object.assign(a, e), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: r, type: "set", oldRule: u });
175
175
  }
176
176
  }
177
- addRule(n, t, e) {
178
- const r = this._ensureList(n, t);
179
- r.find((a) => a.cfId === e.cfId) || r.unshift(e), this._ruleChange$.next({ rule: e, subUnitId: t, unitId: n, type: "add" });
177
+ addRule(r, t, e) {
178
+ const n = this._ensureList(r, t);
179
+ n.find((a) => a.cfId === e.cfId) || n.unshift(e), this._ruleChange$.next({ rule: e, subUnitId: t, unitId: r, type: "add" });
180
180
  }
181
181
  /**
182
182
  * example [1,2,3,4,5,6],if you move behind 5 to 2, then cfId=5,targetId=2.
183
183
  * if targetId does not exist, it defaults to top
184
184
  */
185
- moveRulePriority(n, t, e, r) {
186
- const i = this._ensureList(n, t), a = W(e, i, (o) => o.cfId), u = W(r, i, (o) => o.cfId);
185
+ moveRulePriority(r, t, e, n) {
186
+ const i = this._ensureList(r, t), a = H(e, i, (o) => o.cfId), u = H(n, i, (o) => o.cfId);
187
187
  if (u === null || a === null || u === a)
188
188
  return;
189
189
  const l = i[a];
190
- l && (D0(e, r, i, (o) => o.cfId), this._ruleChange$.next({ rule: l, subUnitId: t, unitId: n, type: "sort" }));
190
+ l && (x0(e, n, i, (o) => o.cfId), this._ruleChange$.next({ rule: l, subUnitId: t, unitId: r, type: "sort" }));
191
191
  }
192
- createCfId(n, t) {
193
- return F0();
192
+ createCfId(r, t) {
193
+ return M0();
194
194
  }
195
- deleteUnitId(n) {
196
- this._model.delete(n);
195
+ deleteUnitId(r) {
196
+ this._model.delete(r);
197
197
  }
198
198
  }
199
- const s2 = {
200
- type: J.MUTATION,
199
+ const d2 = {
200
+ type: U.MUTATION,
201
201
  id: "sheet.mutation.conditional-formatting-formula-mark-dirty",
202
202
  handler() {
203
203
  return !0;
204
204
  }
205
205
  };
206
- var w0 = Object.getOwnPropertyDescriptor, v0 = (s, n, t, e) => {
207
- for (var r = e > 1 ? void 0 : e ? w0(n, t) : n, i = s.length - 1, a; i >= 0; i--)
208
- (a = s[i]) && (r = a(r) || r);
209
- return r;
210
- }, d2 = (s, n) => (t, e) => n(t, e, s), b = /* @__PURE__ */ ((s) => (s[s.NOT_REGISTER = 1] = "NOT_REGISTER", s[s.SUCCESS = 2] = "SUCCESS", s[s.WAIT = 3] = "WAIT", s[s.ERROR = 4] = "ERROR", s))(b || {});
211
- const E0 = (s) => {
212
- const n = s && s[0] && s[0][0];
213
- return (n == null ? void 0 : n.t) === x.BOOLEAN ? n.v === I2.TRUE || n.v === !0 : n ? n.v : !1;
206
+ var y0 = Object.getOwnPropertyDescriptor, I0 = (s, r, t, e) => {
207
+ for (var n = e > 1 ? void 0 : e ? y0(r, t) : r, i = s.length - 1, a; i >= 0; i--)
208
+ (a = s[i]) && (n = a(n) || n);
209
+ return n;
210
+ }, E2 = (s, r) => (t, e) => r(t, e, s), B = /* @__PURE__ */ ((s) => (s[s.NOT_REGISTER = 1] = "NOT_REGISTER", s[s.SUCCESS = 2] = "SUCCESS", s[s.WAIT = 3] = "WAIT", s[s.ERROR = 4] = "ERROR", s))(B || {});
211
+ const R0 = (s) => {
212
+ const r = s && s[0] && s[0][0];
213
+ return (r == null ? void 0 : r.t) === M.BOOLEAN ? r.v === N2.TRUE || r.v === !0 : r ? r.v : !1;
214
214
  };
215
- let G = class extends m2 {
216
- constructor(n, t, e) {
215
+ let K = class extends _2 {
216
+ constructor(r, t, e) {
217
217
  super();
218
218
  // Cache Formula ID and formula mapping.
219
219
  m(this, "_formulaMap", /* @__PURE__ */ new Map());
220
- m(this, "_result$", new i2());
220
+ m(this, "_result$", new h2());
221
221
  m(this, "result$", this._result$.asObservable());
222
- this._commandService = n, this._activeDirtyManagerService = t, this._conditionalFormattingRuleModel = e, this._initFormulaCalculationResultChange(), this._initRuleChange();
222
+ this._commandService = r, this._activeDirtyManagerService = t, this._conditionalFormattingRuleModel = e, this._initFormulaCalculationResultChange(), this._initRuleChange();
223
223
  }
224
224
  _initRuleChange() {
225
- const n = (t) => {
225
+ const r = (t) => {
226
226
  switch (t.type) {
227
- case y.colorScale:
228
- return t.config.some((e) => e.value.type === _.formula);
229
- case y.dataBar:
230
- return [t.config.max, t.config.min].some((e) => e.type === _.formula);
231
- case y.iconSet:
232
- return t.config.some((e) => e.value.type === _.formula);
227
+ case S.colorScale:
228
+ return t.config.some((e) => e.value.type === R.formula);
229
+ case S.dataBar:
230
+ return [t.config.max, t.config.min].some((e) => e.type === R.formula);
231
+ case S.iconSet:
232
+ return t.config.some((e) => e.value.type === R.formula);
233
233
  }
234
234
  };
235
235
  this.disposeWithMe(this._conditionalFormattingRuleModel.$ruleChange.subscribe((t) => {
236
- const { unitId: e, subUnitId: r, rule: i, oldRule: a } = t;
237
- t.type === "delete" && this._removeFormulaByCfId(e, r, i.cfId), t.type === "set" && (n(i.rule) || a && n(a.rule)) && this._removeFormulaByCfId(e, r, i.cfId);
236
+ const { unitId: e, subUnitId: n, rule: i, oldRule: a } = t;
237
+ t.type === "delete" && this._removeFormulaByCfId(e, n, i.cfId), t.type === "set" && (r(i.rule) || a && r(a.rule)) && this._removeFormulaByCfId(e, n, i.cfId);
238
238
  }));
239
239
  }
240
240
  _initFormulaCalculationResultChange() {
241
- this.disposeWithMe(this._commandService.onCommandExecuted((n) => {
242
- if (n.id === Q2.id) {
243
- const t = n.params;
241
+ this.disposeWithMe(this._commandService.onCommandExecuted((r) => {
242
+ if (r.id === i0.id) {
243
+ const t = r.params;
244
244
  for (const e in t.unitOtherData)
245
- for (const r in t.unitOtherData[e])
246
- for (const i in t.unitOtherData[e][r]) {
247
- const a = new T(t.unitOtherData[e][r][i]), u = this._ensureSubunitFormulaMap(e, r).getValue(i, ["formulaId"]);
245
+ for (const n in t.unitOtherData[e])
246
+ for (const i in t.unitOtherData[e][n]) {
247
+ const a = new O(t.unitOtherData[e][n][i]), u = this._ensureSubunitFormulaMap(e, n).getValue(i, ["formulaId"]);
248
248
  if (!u)
249
249
  continue;
250
250
  const l = u.ranges;
251
251
  if (!l)
252
252
  continue;
253
- const o = u.result, h = l[0].startRow, c = l[0].startColumn;
254
- a.forValue((D, f, w) => {
255
- o.setValue(h + D, c + f, E0(w));
253
+ const o = u.result, d = l[0].startRow, c = l[0].startColumn;
254
+ a.forValue((D, f, F) => {
255
+ o.setValue(d + D, c + f, R0(F));
256
256
  }), u.status = 2;
257
- const g = this._getAllFormulaResultByCfId(e, r, u.cfId).every(
257
+ const g = this._getAllFormulaResultByCfId(e, n, u.cfId).every(
258
258
  (D) => D.status === 2
259
259
  /* SUCCESS */
260
260
  );
@@ -262,73 +262,73 @@ let G = class extends m2 {
262
262
  }
263
263
  }
264
264
  })), this._activeDirtyManagerService.register(
265
- s2.id,
265
+ d2.id,
266
266
  {
267
- commandId: s2.id,
268
- getDirtyData(n) {
267
+ commandId: d2.id,
268
+ getDirtyData(r) {
269
269
  return {
270
- dirtyUnitOtherFormulaMap: n.params
270
+ dirtyUnitOtherFormulaMap: r.params
271
271
  };
272
272
  }
273
273
  }
274
274
  );
275
275
  }
276
- _ensureSubunitFormulaMap(n, t) {
277
- let e = this._formulaMap.get(n);
278
- e || (e = /* @__PURE__ */ new Map(), this._formulaMap.set(n, e));
279
- let r = e.get(t);
280
- return r || (r = new $2([], ["formulaId", "id"]), e.set(t, r)), r;
276
+ _ensureSubunitFormulaMap(r, t) {
277
+ let e = this._formulaMap.get(r);
278
+ e || (e = /* @__PURE__ */ new Map(), this._formulaMap.set(r, e));
279
+ let n = e.get(t);
280
+ return n || (n = new H2([], ["formulaId", "id"]), e.set(t, n)), n;
281
281
  }
282
- getSubUnitFormulaMap(n, t) {
282
+ getSubUnitFormulaMap(r, t) {
283
283
  var e;
284
- return (e = this._formulaMap.get(n)) == null ? void 0 : e.get(t);
284
+ return (e = this._formulaMap.get(r)) == null ? void 0 : e.get(t);
285
285
  }
286
- registerFormulaWithRange(n, t, e, r, i = [{ startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }]) {
287
- const a = this._ensureSubunitFormulaMap(n, t), u = this.createCFormulaId(e, r);
286
+ registerFormulaWithRange(r, t, e, n, i = [{ startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }]) {
287
+ const a = this._ensureSubunitFormulaMap(r, t), u = this.createCFormulaId(e, n);
288
288
  if (a.getValue(u, ["id"]))
289
289
  return;
290
- const l = this._createFormulaId(n, t);
290
+ const l = this._createFormulaId(r, t);
291
291
  a.addValue({
292
- formulaText: r,
293
- unitId: n,
292
+ formulaText: n,
293
+ unitId: r,
294
294
  subUnitId: t,
295
295
  cfId: e,
296
296
  id: u,
297
297
  ranges: i,
298
298
  formulaId: l,
299
299
  status: 3,
300
- result: new T()
300
+ result: new O()
301
301
  });
302
302
  const o = {
303
- unitId: n,
303
+ unitId: r,
304
304
  subUnitId: t,
305
305
  formulaMap: {
306
306
  [l]: {
307
- f: r,
307
+ f: n,
308
308
  ranges: i
309
309
  }
310
310
  }
311
311
  };
312
- this._commandService.executeCommand(e0.id, o, { onlyLocal: !0 }).then(() => {
312
+ this._commandService.executeCommand(a0.id, o, { onlyLocal: !0 }).then(() => {
313
313
  this._commandService.executeCommand(
314
- s2.id,
315
- { [n]: { [t]: { [l]: !0 } } },
314
+ d2.id,
315
+ { [r]: { [t]: { [l]: !0 } } },
316
316
  { onlyLocal: !0 }
317
317
  );
318
318
  });
319
319
  }
320
- _removeFormulaByCfId(n, t, e) {
321
- const i = this.deleteCache(n, t, e).map((a) => a.formulaId);
322
- this._commandService.executeCommand(t0.id, { unitId: n, subUnitId: t, formulaIdList: i }, { onlyLocal: !0 });
320
+ _removeFormulaByCfId(r, t, e) {
321
+ const i = this.deleteCache(r, t, e).map((a) => a.formulaId);
322
+ this._commandService.executeCommand(l0.id, { unitId: r, subUnitId: t, formulaIdList: i }, { onlyLocal: !0 });
323
323
  }
324
- getFormulaResultWithCoords(n, t, e, r, i = 0, a = 0) {
325
- const u = this.getSubUnitFormulaMap(n, t);
324
+ getFormulaResultWithCoords(r, t, e, n, i = 0, a = 0) {
325
+ const u = this.getSubUnitFormulaMap(r, t);
326
326
  if (!u)
327
327
  return {
328
328
  status: 1
329
329
  /* NOT_REGISTER */
330
330
  };
331
- const l = u.getValue(this.createCFormulaId(e, r), ["id"]);
331
+ const l = u.getValue(this.createCFormulaId(e, n), ["id"]);
332
332
  return l ? l.status === 2 && l.result ? {
333
333
  result: l.result.getValue(i, a),
334
334
  status: 2
@@ -344,14 +344,14 @@ let G = class extends m2 {
344
344
  /* NOT_REGISTER */
345
345
  };
346
346
  }
347
- getFormulaMatrix(n, t, e, r) {
348
- const i = this.getSubUnitFormulaMap(n, t);
347
+ getFormulaMatrix(r, t, e, n) {
348
+ const i = this.getSubUnitFormulaMap(r, t);
349
349
  if (!i)
350
350
  return {
351
351
  status: 1
352
352
  /* NOT_REGISTER */
353
353
  };
354
- const a = i.getValue(this.createCFormulaId(e, r), ["id"]);
354
+ const a = i.getValue(this.createCFormulaId(e, n), ["id"]);
355
355
  if (!a)
356
356
  return {
357
357
  status: 1
@@ -367,12 +367,12 @@ let G = class extends m2 {
367
367
  /**
368
368
  * If `formulaText` is not provided, then all caches related to `cfId` will be deleted.
369
369
  */
370
- deleteCache(n, t, e, r) {
371
- const i = this.getSubUnitFormulaMap(n, t);
370
+ deleteCache(r, t, e, n) {
371
+ const i = this.getSubUnitFormulaMap(r, t);
372
372
  if (!i)
373
373
  return [];
374
- if (r) {
375
- const a = this.createCFormulaId(e, r);
374
+ if (n) {
375
+ const a = this.createCFormulaId(e, n);
376
376
  return i.deleteValue(a, ["id"]), [];
377
377
  } else {
378
378
  const a = i.getValues().filter((u) => u.cfId === e);
@@ -381,49 +381,49 @@ let G = class extends m2 {
381
381
  }), a;
382
382
  }
383
383
  }
384
- _getAllFormulaResultByCfId(n, t, e) {
385
- const r = this.getSubUnitFormulaMap(n, t);
386
- return r ? r.getValues().filter((a) => a.cfId === e) : [];
384
+ _getAllFormulaResultByCfId(r, t, e) {
385
+ const n = this.getSubUnitFormulaMap(r, t);
386
+ return n ? n.getValues().filter((a) => a.cfId === e) : [];
387
387
  }
388
388
  /**
389
389
  * The external environment is not aware of`formulaId`;it communicates internally with the formula engine.
390
390
  */
391
- _createFormulaId(n, t) {
392
- return `sheet.cf_${n}_${t}_${j.generateRandomId(8)}`;
391
+ _createFormulaId(r, t) {
392
+ return `sheet.cf_${r}_${t}_${z.generateRandomId(8)}`;
393
393
  }
394
394
  /**
395
395
  * A conditional formatting may have multiple formulas;if the formulas are identical,then the results will be consistent.
396
396
  */
397
- createCFormulaId(n, t) {
398
- return `${n}_${t}`;
397
+ createCFormulaId(r, t) {
398
+ return `${r}_${t}`;
399
399
  }
400
400
  };
401
- G = v0([
402
- d2(0, A(f2)),
403
- d2(1, A(z2)),
404
- d2(2, A(k))
405
- ], G);
406
- var L = /* @__PURE__ */ ((s) => (s.preComputingStart = "preComputingStart", s.preComputing = "preComputing", s.preComputingEnd = "preComputingEnd", s.preComputingError = "preComputingError", s))(L || {});
407
- class u2 {
408
- constructor(n) {
401
+ K = I0([
402
+ E2(0, _($)),
403
+ E2(1, _(s0)),
404
+ E2(2, _(y))
405
+ ], K);
406
+ var V = /* @__PURE__ */ ((s) => (s.preComputingStart = "preComputingStart", s.preComputing = "preComputing", s.preComputingEnd = "preComputingEnd", s.preComputingError = "preComputingError", s))(V || {});
407
+ class F2 {
408
+ constructor(r) {
409
409
  /**
410
410
  * 3nd-level cache
411
411
  */
412
412
  m(this, "_cache");
413
- m(this, "_preComputingStatus$", new j2(
413
+ m(this, "_preComputingStatus$", new Q2(
414
414
  "preComputingStart"
415
415
  /* preComputingStart */
416
416
  ));
417
- m(this, "preComputingStatus$", this._preComputingStatus$.asObservable().pipe(X2()));
417
+ m(this, "preComputingStatus$", this._preComputingStatus$.asObservable().pipe(e0()));
418
418
  /**
419
419
  * 2nd-level cache
420
420
  */
421
421
  m(this, "_preComputingCache");
422
422
  m(this, "_rule");
423
- this._context = n, this._cache = new b2(n.limit), this._rule = n.rule, this._preComputingCache = null, this._initClearCacheListener();
423
+ this._context = r, this._cache = new U2(r.limit), this._rule = r.rule, this._preComputingCache = null, this._initClearCacheListener();
424
424
  }
425
- setCacheLength(n) {
426
- this._cache.limit = n;
425
+ setCacheLength(r) {
426
+ this._cache.limit = r;
427
427
  }
428
428
  clearCache() {
429
429
  this._cache.clear();
@@ -434,63 +434,63 @@ class u2 {
434
434
  /* preComputingStart */
435
435
  ), this._preComputingCache = null;
436
436
  }
437
- updateRule(n) {
438
- this._rule = n, this.resetPreComputingCache();
437
+ updateRule(r) {
438
+ this._rule = r, this.resetPreComputingCache();
439
439
  }
440
- getCell(n, t) {
441
- const e = this._createKey(n, t);
440
+ getCell(r, t) {
441
+ const e = this._createKey(r, t);
442
442
  if (this._preComputingStatus$.getValue() === "preComputing")
443
443
  return this._cache.get(e);
444
- let r = this.getPreComputingResult(n, t);
445
- if (r === null && (this._preComputingStatus$.next(
444
+ let n = this.getPreComputingResult(r, t);
445
+ if (n === null && (this._preComputingStatus$.next(
446
446
  "preComputingStart"
447
447
  /* preComputingStart */
448
- ), this.preComputing(n, t, this._getContext()), r = this.getPreComputingResult(n, t), r === null))
448
+ ), this.preComputing(r, t, this._getContext()), n = this.getPreComputingResult(r, t), n === null))
449
449
  return this._cache.get(e);
450
450
  if (this._preComputingStatus$.next(
451
451
  "preComputingEnd"
452
452
  /* preComputingEnd */
453
453
  ), this._cache.has(e))
454
454
  return this._cache.get(e);
455
- const i = this.getCellResult(n, t, r, this._getContext());
456
- return i !== null && this._setCache(n, t, i), i;
455
+ const i = this.getCellResult(r, t, n, this._getContext());
456
+ return i !== null && this._setCache(r, t, i), i;
457
457
  }
458
- setPreComputingCache(n) {
459
- this._preComputingCache = n;
458
+ setPreComputingCache(r) {
459
+ this._preComputingCache = r;
460
460
  }
461
- getPreComputingResult(n, t) {
461
+ getPreComputingResult(r, t) {
462
462
  return this._preComputingCache;
463
463
  }
464
- _createKey(n, t) {
465
- return `${n}_${t}`;
464
+ _createKey(r, t) {
465
+ return `${r}_${t}`;
466
466
  }
467
- _setCache(n, t, e) {
468
- const r = this._createKey(n, t);
469
- this._cache.set(r, e);
467
+ _setCache(r, t, e) {
468
+ const n = this._createKey(r, t);
469
+ this._cache.set(n, e);
470
470
  }
471
471
  _getContext() {
472
472
  return { ...this._context, rule: this._rule };
473
473
  }
474
474
  _initClearCacheListener() {
475
- this.preComputingStatus$.subscribe((n) => {
476
- n === "preComputingEnd" && this.clearCache();
475
+ this.preComputingStatus$.subscribe((r) => {
476
+ r === "preComputingEnd" && this.clearCache();
477
477
  });
478
478
  }
479
479
  }
480
- function a2(s, n) {
481
- return Math.abs(s - n) < Number.EPSILON;
480
+ function g2(s, r) {
481
+ return Math.abs(s - r) < Number.EPSILON;
482
482
  }
483
- const I = (s) => [void 0, null].includes(s), U = (s) => {
484
- var e, r;
483
+ const k = (s) => [void 0, null].includes(s), P = (s) => {
484
+ var e, n;
485
485
  if (!s)
486
486
  return null;
487
- if (s.t === x.BOOLEAN)
488
- return s.v === I2.TRUE ? A2.TRUE : A2.FALSE;
489
- const n = s.v, t = (r = (e = s.p) == null ? void 0 : e.body) == null ? void 0 : r.dataStream.replace(/\r\n$/, "");
490
- return I(n) ? I(t) ? null : t : n;
491
- }, g2 = 86400;
492
- function p0(s, n = !0) {
493
- if (n && s >= 0) {
487
+ if (s.t === M.BOOLEAN)
488
+ return s.v === N2.TRUE ? R2.TRUE : R2.FALSE;
489
+ const r = s.v, t = (n = (e = s.p) == null ? void 0 : e.body) == null ? void 0 : n.dataStream.replace(/\r\n$/, "");
490
+ return k(r) ? k(t) ? null : t : r;
491
+ }, p2 = 86400;
492
+ function S0(s, r = !0) {
493
+ if (r && s >= 0) {
494
494
  if (s === 0)
495
495
  return [1900, 1, 0];
496
496
  if (s === 60)
@@ -501,448 +501,448 @@ function p0(s, n = !0) {
501
501
  let t = s + 68569 + 2415019;
502
502
  const e = Math.floor(4 * t / 146097);
503
503
  t = t - Math.floor((146097 * e + 3) / 4);
504
- const r = Math.floor(4e3 * (t + 1) / 1461001);
505
- t = t - Math.floor(1461 * r / 4) + 31;
504
+ const n = Math.floor(4e3 * (t + 1) / 1461001);
505
+ t = t - Math.floor(1461 * n / 4) + 31;
506
506
  const i = Math.floor(80 * t / 2447), a = t - Math.floor(2447 * i / 80);
507
507
  t = Math.floor(i / 11);
508
508
  const u = i + 2 - 12 * t;
509
- return [100 * (e - 49) + r + t | 0, u | 0, a | 0];
509
+ return [100 * (e - 49) + n + t | 0, u | 0, a | 0];
510
510
  }
511
- const A0 = (s) => {
512
- let n = s | 0;
513
- const t = g2 * (s - n);
511
+ const b0 = (s) => {
512
+ let r = s | 0;
513
+ const t = p2 * (s - r);
514
514
  let e = Math.floor(t);
515
- t - e > 0.9999 && (e += 1, e === g2 && (e = 0, n += 1));
516
- const r = e < 0 ? g2 + e : e, [i, a, u] = p0(s, !0), l = Math.floor(r / 60 / 60) % 60, o = Math.floor(r / 60) % 60, h = Math.floor(r) % 60;
517
- return v(`${i}/${a}/${u} ${l}:${o}:${h}`).valueOf();
518
- }, l2 = (s, n, t) => {
515
+ t - e > 0.9999 && (e += 1, e === p2 && (e = 0, r += 1));
516
+ const n = e < 0 ? p2 + e : e, [i, a, u] = S0(s, !0), l = Math.floor(n / 60 / 60) % 60, o = Math.floor(n / 60) % 60, d = Math.floor(n) % 60;
517
+ return v(`${i}/${a}/${u} ${l}:${o}:${d}`).valueOf();
518
+ }, C2 = (s, r, t) => {
519
519
  switch (s.type) {
520
- case _.max: {
520
+ case R.max: {
521
521
  let e = 0;
522
- return n.forValue((r, i, a) => {
522
+ return r.forValue((n, i, a) => {
523
523
  a > e && (e = a);
524
524
  }), {
525
- status: b.SUCCESS,
525
+ status: B.SUCCESS,
526
526
  result: e
527
527
  };
528
528
  }
529
- case _.min: {
529
+ case R.min: {
530
530
  let e;
531
- return n.forValue((r, i, a) => {
531
+ return r.forValue((n, i, a) => {
532
532
  e === void 0 && (e = a), a < e && (e = a);
533
533
  }), {
534
- status: b.SUCCESS,
534
+ status: B.SUCCESS,
535
535
  result: e
536
536
  };
537
537
  }
538
- case _.percent: {
539
- let e, r;
540
- n.forValue((u, l, o) => {
541
- (e === void 0 || r === void 0) && (e = o, r = o), o > e && (e = o), o < r && (r = o);
538
+ case R.percent: {
539
+ let e, n;
540
+ r.forValue((u, l, o) => {
541
+ (e === void 0 || n === void 0) && (e = o, n = o), o > e && (e = o), o < n && (n = o);
542
542
  });
543
- const i = (e || 0) - (r || 0), a = Math.max(Math.min(Number(s.value) || 0, 100), 0);
543
+ const i = (e || 0) - (n || 0), a = Math.max(Math.min(Number(s.value) || 0, 100), 0);
544
544
  return {
545
- status: b.SUCCESS,
546
- result: i * (a / 100) + (r || 0)
545
+ status: B.SUCCESS,
546
+ result: i * (a / 100) + (n || 0)
547
547
  };
548
548
  }
549
- case _.percentile: {
550
- const e = n.toNativeArray().sort((o, h) => o - h), r = Math.max(Math.min(Number(s.value) || 0, 100), 0), i = (e.length - 1) * r / 100, a = Math.floor(i), u = i - a, l = e[a] + (e[Math.min(a + 1, e.length - 1)] - e[a]) * u;
549
+ case R.percentile: {
550
+ const e = r.toNativeArray().sort((o, d) => o - d), n = Math.max(Math.min(Number(s.value) || 0, 100), 0), i = (e.length - 1) * n / 100, a = Math.floor(i), u = i - a, l = e[a] + (e[Math.min(a + 1, e.length - 1)] - e[a]) * u;
551
551
  return {
552
- status: b.SUCCESS,
552
+ status: B.SUCCESS,
553
553
  result: l
554
554
  };
555
555
  }
556
- case _.formula: {
557
- const { accessor: e, unitId: r, subUnitId: i, cfId: a } = t, u = String(s.value), l = e.get(G);
558
- return l.registerFormulaWithRange(r, i, a, u), l.getFormulaResultWithCoords(r, i, a, u);
556
+ case R.formula: {
557
+ const { accessor: e, unitId: n, subUnitId: i, cfId: a } = t, u = String(s.value), l = e.get(K);
558
+ return l.registerFormulaWithRange(n, i, a, u), l.getFormulaResultWithCoords(n, i, a, u);
559
559
  }
560
- case _.num: {
560
+ case R.num: {
561
561
  const e = Number(s.value);
562
562
  return {
563
- status: b.SUCCESS,
563
+ status: B.SUCCESS,
564
564
  result: Number.isNaN(e) ? 0 : e
565
565
  };
566
566
  }
567
567
  }
568
- }, A1 = (s, n, t, e) => {
569
- const { accessor: r } = e, i = r.get(H), a = new T();
568
+ }, V1 = (s, r, t, e) => {
569
+ const { accessor: n } = e, i = n.get(J), a = new O();
570
570
  return t.ranges.forEach((u) => {
571
571
  N.foreach(u, (l, o) => {
572
- const h = i.getCellCfs(s, n, l, o);
573
- if (h) {
574
- const c = h.find((d) => d.cfId === t.cfId);
572
+ const d = i.getCellCfs(s, r, l, o);
573
+ if (d) {
574
+ const c = d.find((h) => h.cfId === t.cfId);
575
575
  c != null && c.result && a.setValue(l, o, c.result);
576
576
  }
577
577
  });
578
578
  }), a;
579
- }, Y = (s, n) => {
579
+ }, n2 = (s, r) => {
580
580
  switch (s.operator) {
581
- case F.between: {
581
+ case w.between: {
582
582
  if (typeof s.value != "object" || !s.value.length)
583
583
  return;
584
584
  const t = Math.min(...s.value), e = Math.max(...s.value);
585
- return n >= t && n <= e;
585
+ return r >= t && r <= e;
586
586
  }
587
- case F.notBetween: {
587
+ case w.notBetween: {
588
588
  if (typeof s.value != "object" || !s.value.length)
589
589
  return;
590
590
  const t = Math.min(...s.value), e = Math.max(...s.value);
591
- return !(n >= t && n <= e);
591
+ return !(r >= t && r <= e);
592
592
  }
593
- case F.equal: {
593
+ case w.equal: {
594
594
  const t = s.value || 0;
595
- return a2(t, n);
595
+ return g2(t, r);
596
596
  }
597
- case F.notEqual: {
597
+ case w.notEqual: {
598
598
  const t = s.value || 0;
599
- return !a2(t, n);
599
+ return !g2(t, r);
600
600
  }
601
- case F.greaterThan: {
601
+ case w.greaterThan: {
602
602
  const t = s.value || 0;
603
- return n > t;
603
+ return r > t;
604
604
  }
605
- case F.greaterThanOrEqual: {
605
+ case w.greaterThanOrEqual: {
606
606
  const t = s.value || 0;
607
- return n >= t;
607
+ return r >= t;
608
608
  }
609
- case F.lessThan: {
609
+ case w.lessThan: {
610
610
  const t = s.value || 0;
611
- return n < t;
611
+ return r < t;
612
612
  }
613
- case F.lessThanOrEqual: {
613
+ case w.lessThanOrEqual: {
614
614
  const t = s.value || 0;
615
- return n <= t;
615
+ return r <= t;
616
616
  }
617
617
  default:
618
618
  return !1;
619
619
  }
620
- }, x0 = (s) => {
620
+ }, L0 = (s) => {
621
621
  switch (s) {
622
- case F.greaterThan:
623
- return F.lessThanOrEqual;
624
- case F.greaterThanOrEqual:
625
- return F.lessThan;
626
- case F.lessThan:
627
- return F.greaterThanOrEqual;
628
- case F.lessThanOrEqual:
629
- return F.greaterThan;
622
+ case w.greaterThan:
623
+ return w.lessThanOrEqual;
624
+ case w.greaterThanOrEqual:
625
+ return w.lessThan;
626
+ case w.lessThan:
627
+ return w.greaterThanOrEqual;
628
+ case w.lessThanOrEqual:
629
+ return w.greaterThan;
630
630
  }
631
631
  return s;
632
- }, _0 = (s, n) => {
633
- const t = (i) => i.a !== void 0 ? i : { ...i, a: 1 }, e = s.findIndex((i) => i.value >= n), r = e - 1;
632
+ }, k0 = (s, r) => {
633
+ const t = (i) => i.a !== void 0 ? i : { ...i, a: 1 }, e = s.findIndex((i) => i.value >= r), n = e - 1;
634
634
  if (e === 0)
635
635
  return s[0].color.toRgbString();
636
- if (r >= 0) {
637
- const i = s[r], a = s[e];
636
+ if (n >= 0) {
637
+ const i = s[n], a = s[e];
638
638
  if (i.color.isValid && a.color.isValid) {
639
- const u = t(i.color.toRgb()), l = t(a.color.toRgb()), o = a.value - i.value, h = (n - i.value) / o, c = ["r", "g", "b", "a"].reduce((g, D) => {
639
+ const u = t(i.color.toRgb()), l = t(a.color.toRgb()), o = a.value - i.value, d = (r - i.value) / o, c = ["r", "g", "b", "a"].reduce((g, D) => {
640
640
  const f = u[D];
641
- return g[D] = (l[D] - f) * h + f, g;
641
+ return g[D] = (l[D] - f) * d + f, g;
642
642
  }, {});
643
- return new S2(c).toRgbString();
643
+ return new T2(c).toRgbString();
644
644
  }
645
645
  } else
646
646
  return s[s.length - 1].color.toRgbString();
647
- }, w2 = (s, n, t) => s.map((e) => {
648
- if (e.startColumn > t || e.startRow > n)
647
+ }, y2 = (s, r, t) => s.map((e) => {
648
+ if (e.startColumn > t || e.startRow > r)
649
649
  return null;
650
- const r = { ...e };
651
- return r.endRow = Math.min(r.endRow, n), r.endColumn = Math.min(r.endColumn, t), r;
650
+ const n = { ...e };
651
+ return n.endRow = Math.min(n.endRow, r), n.endColumn = Math.min(n.endColumn, t), n;
652
652
  }).filter((e) => !!e);
653
- function x1(s) {
654
- let n = 0;
655
- return new T(s).forValue((t, e, r) => {
656
- n = Math.max(Number.isNaN(n) ? 0 : n, Number(r));
657
- }), n;
653
+ function O1(s) {
654
+ let r = 0;
655
+ return new O(s).forValue((t, e, n) => {
656
+ r = Math.max(Number.isNaN(r) ? 0 : r, Number(n));
657
+ }), r;
658
658
  }
659
- class y0 extends u2 {
660
- preComputing(n, t, e) {
661
- const r = e.rule, i = e.worksheet, a = new T();
662
- !r.rule.config.every((h) => h.value.type === _.num) && w2(r.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((c) => {
663
- N.foreach(c, (d, g) => {
664
- const D = e.getCellValue(d, g), f = D && D.v;
665
- if (!I(f) && (D == null ? void 0 : D.t) === x.NUMBER) {
666
- const w = Number(f);
667
- !Number.isNaN(w) && a.setValue(d, g, w);
659
+ class B0 extends F2 {
660
+ preComputing(r, t, e) {
661
+ const n = e.rule, i = e.worksheet, a = new O();
662
+ !n.rule.config.every((d) => d.value.type === R.num) && y2(n.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((c) => {
663
+ N.foreach(c, (h, g) => {
664
+ const D = e.getCellValue(h, g), f = D && D.v;
665
+ if (!k(f) && (D == null ? void 0 : D.t) === M.NUMBER) {
666
+ const F = Number(f);
667
+ !Number.isNaN(F) && a.setValue(h, g, F);
668
668
  }
669
669
  });
670
670
  });
671
- const l = [...r.rule.config].sort((h, c) => h.index - c.index).map((h) => ({
672
- value: l2(h.value, a, {
671
+ const l = [...n.rule.config].sort((d, c) => d.index - c.index).map((d) => ({
672
+ value: C2(d.value, a, {
673
673
  ...e,
674
- cfId: r.cfId
674
+ cfId: n.cfId
675
675
  }),
676
- color: new S2(h.color)
676
+ color: new T2(d.color)
677
677
  }));
678
- if (!l.some((h) => r0(h.value) ? h.value.status !== b.SUCCESS : !1)) {
679
- const h = l.map((c) => c.color).reduce((c, d, g) => (c.result.push({ color: d, value: c.sortValue[g] }), c), {
678
+ if (!l.some((d) => o0(d.value) ? d.value.status !== B.SUCCESS : !1)) {
679
+ const d = l.map((c) => c.color).reduce((c, h, g) => (c.result.push({ color: h, value: c.sortValue[g] }), c), {
680
680
  result: [],
681
- sortValue: l.map((c) => c.value.result).sort((c, d) => c - d)
681
+ sortValue: l.map((c) => c.value.result).sort((c, h) => c - h)
682
682
  }).result;
683
- this.setPreComputingCache(h), this._preComputingStatus$.next(L.preComputingEnd);
683
+ this.setPreComputingCache(d), this._preComputingStatus$.next(V.preComputingEnd);
684
684
  return;
685
685
  }
686
- this._preComputingStatus$.next(L.preComputing);
686
+ this._preComputingStatus$.next(V.preComputing);
687
687
  }
688
- getCellResult(n, t, e, r) {
688
+ getCellResult(r, t, e, n) {
689
689
  if (!e)
690
690
  return null;
691
- const i = r.getCellValue(n, t);
692
- if (i.t === x.NUMBER) {
691
+ const i = n.getCellValue(r, t);
692
+ if (i.t === M.NUMBER) {
693
693
  const a = Number(i.v);
694
694
  if (!Number.isNaN(a))
695
- return _0(e, a);
695
+ return k0(e, a);
696
696
  }
697
697
  }
698
698
  }
699
- const M0 = "sheet-conditional-rule-data-bar", _2 = "#ffbe38", y2 = "#abd91a", R0 = "#000", I0 = 34;
700
- class b0 extends B2 {
699
+ const N0 = "sheet-conditional-rule-data-bar", b2 = "#ffbe38", L2 = "#abd91a", U0 = "#000", T0 = 34;
700
+ class V0 extends $2 {
701
701
  constructor() {
702
702
  super(...arguments);
703
703
  m(this, "_paddingRightAndLeft", 2);
704
704
  m(this, "_paddingTopAndBottom", 2);
705
- m(this, "uKey", M0);
706
- m(this, "Z_INDEX", I0);
705
+ m(this, "uKey", N0);
706
+ m(this, "Z_INDEX", T0);
707
707
  m(this, "_radius", 1);
708
708
  }
709
709
  // eslint-disable-next-line max-lines-per-function
710
- draw(t, e, r, i) {
711
- const { worksheet: a } = r;
710
+ draw(t, e, n, i) {
711
+ const { worksheet: a } = n;
712
712
  if (!a)
713
713
  return !1;
714
- t.save(), N.foreach(r.rowColumnSegment, (u, l) => {
714
+ t.save(), N.foreach(n.rowColumnSegment, (u, l) => {
715
715
  if (!a.getRowVisible(u) || !a.getColVisible(l))
716
716
  return;
717
717
  const o = a.getCell(u, l);
718
718
  if (o && o.dataBar) {
719
- const { color: h, value: c, startPoint: d, isGradient: g } = o.dataBar, D = r.getCellWithCoordByIndex(u, l, !1);
720
- let { isMerged: f, isMergedMainCell: w, mergeInfo: p, startY: S, endY: B, startX: V, endX: z } = D;
721
- if (f || (w && (S = p.startY, B = p.endY, V = p.startX, z = p.endX), !this.isRenderDiffRangesByCell(p, i)))
719
+ const { color: d, value: c, startPoint: h, isGradient: g } = o.dataBar, D = n.getCellWithCoordByIndex(u, l, !1);
720
+ let { isMerged: f, isMergedMainCell: F, mergeInfo: E, startY: I, endY: p, startX: A, endX: T } = D;
721
+ if (f || (F && (I = E.startY, p = E.endY, A = E.startX, T = E.endX), !this.isRenderDiffRangesByCell(E, i)))
722
722
  return;
723
- const Q = z - V, h2 = B + n0 - S, e2 = Q - this._paddingRightAndLeft * 2, p2 = h2 - this._paddingTopAndBottom * 2;
723
+ const a2 = T - A, v2 = p + c0 - I, l2 = a2 - this._paddingRightAndLeft * 2, I2 = v2 - this._paddingTopAndBottom * 2;
724
724
  if (c > 0) {
725
- const q = Math.max(e2 * (1 - d / 100) * c / 100, 1), O = V + this._paddingRightAndLeft + d / 100 * e2, $ = S + this._paddingTopAndBottom;
725
+ const X = Math.max(l2 * (1 - h / 100) * c / 100, 1), q = A + this._paddingRightAndLeft + h / 100 * l2, Z = I + this._paddingTopAndBottom;
726
726
  if (g) {
727
- const P = t.createLinearGradient(O, $, O + q, $);
728
- P.addColorStop(0, h), P.addColorStop(1, "rgb(255 255 255)"), t.fillStyle = P, t.strokeStyle = h, t.lineWidth = 1;
727
+ const G = t.createLinearGradient(q, Z, q + X, Z);
728
+ G.addColorStop(0, d), G.addColorStop(1, "rgb(255 255 255)"), t.fillStyle = G, t.strokeStyle = d, t.lineWidth = 1;
729
729
  } else
730
- t.fillStyle = h;
731
- this._drawRectWithRoundedCorner(t, O, $, q, p2, !1, !0, !0, !1), g && t.stroke();
730
+ t.fillStyle = d;
731
+ this._drawRectWithRoundedCorner(t, q, Z, X, I2, !1, !0, !0, !1), g && t.stroke();
732
732
  } else {
733
- const q = Math.max(e2 * d / 100 * Math.abs(c) / 100, 1), O = V + this._paddingRightAndLeft + d / 100 * e2 - q, $ = S + this._paddingTopAndBottom;
733
+ const X = Math.max(l2 * h / 100 * Math.abs(c) / 100, 1), q = A + this._paddingRightAndLeft + h / 100 * l2 - X, Z = I + this._paddingTopAndBottom;
734
734
  if (g) {
735
- const P = t.createLinearGradient(O, $, O + q, $);
736
- P.addColorStop(0, "rgb(255 255 255)"), P.addColorStop(1, h), t.fillStyle = P, t.strokeStyle = h, t.lineWidth = 1;
735
+ const G = t.createLinearGradient(q, Z, q + X, Z);
736
+ G.addColorStop(0, "rgb(255 255 255)"), G.addColorStop(1, d), t.fillStyle = G, t.strokeStyle = d, t.lineWidth = 1;
737
737
  } else
738
- t.fillStyle = h;
739
- this._drawRectWithRoundedCorner(t, O, $, q, p2, !0, !1, !1, !0), g && t.stroke();
738
+ t.fillStyle = d;
739
+ this._drawRectWithRoundedCorner(t, q, Z, X, I2, !0, !1, !1, !0), g && t.stroke();
740
740
  }
741
741
  }
742
742
  }), t.restore();
743
743
  }
744
- _drawRectWithRoundedCorner(t, e, r, i, a, u, l, o, h) {
744
+ _drawRectWithRoundedCorner(t, e, n, i, a, u, l, o, d) {
745
745
  const c = this._radius;
746
- !a || !i || (t.beginPath(), t.moveTo(e + c, r), t.lineTo(e + i - c, r), l ? t.arcTo(e + i, r, e + i, r + c, c) : t.lineTo(e + i, r), t.lineTo(e + i, r + a - c), o ? t.arcTo(e + i, r + a, e + i - c, r + a, c) : t.lineTo(e + i, r + a), t.lineTo(e + c, r + a), h ? t.arcTo(e, r + a, e, r + a - c, c) : t.lineTo(e, r + a), t.lineTo(e, r + c), u ? t.arcTo(e, r, e + c, r, c) : t.lineTo(e, r), t.closePath(), t.fill());
746
+ !a || !i || (t.beginPath(), t.moveTo(e + c, n), t.lineTo(e + i - c, n), l ? t.arcTo(e + i, n, e + i, n + c, c) : t.lineTo(e + i, n), t.lineTo(e + i, n + a - c), o ? t.arcTo(e + i, n + a, e + i - c, n + a, c) : t.lineTo(e + i, n + a), t.lineTo(e + c, n + a), d ? t.arcTo(e, n + a, e, n + a - c, c) : t.lineTo(e, n + a), t.lineTo(e, n + c), u ? t.arcTo(e, n, e + c, n, c) : t.lineTo(e, n), t.closePath(), t.fill());
747
747
  }
748
748
  }
749
- k2.add(b0);
750
- const t2 = (s) => Math.max(Math.min(100, s), 0), S0 = (s, n, t) => {
751
- const e = t(s, n);
752
- if (e && e.t === x.NUMBER) {
753
- const r = Number(e.v);
754
- return Number.isNaN(r) ? null : r;
749
+ O2.add(V0);
750
+ const o2 = (s) => Math.max(Math.min(100, s), 0), O0 = (s, r, t) => {
751
+ const e = t(s, r);
752
+ if (e && e.t === M.NUMBER) {
753
+ const n = Number(e.v);
754
+ return Number.isNaN(n) ? null : n;
755
755
  }
756
756
  return null;
757
757
  };
758
- class L0 extends u2 {
759
- preComputing(n, t, e) {
760
- const r = e.rule, i = r.rule, a = e.worksheet, u = new T();
761
- ![r.rule.config.max, r.rule.config.min].every((g) => g.type === _.num) && w2(r.ranges, a.getMaxRows() - 1, a.getMaxColumns() - 1).forEach((D) => {
762
- N.foreach(D, (f, w) => {
763
- const p = e.getCellValue(f, w), S = p && p.v;
764
- if (!I(S) && (p == null ? void 0 : p.t) === x.NUMBER) {
765
- const B = Number(S);
766
- !Number.isNaN(B) && u.setValue(f, w, B);
758
+ class $0 extends F2 {
759
+ preComputing(r, t, e) {
760
+ const n = e.rule, i = n.rule, a = e.worksheet, u = new O();
761
+ ![n.rule.config.max, n.rule.config.min].every((g) => g.type === R.num) && y2(n.ranges, a.getMaxRows() - 1, a.getMaxColumns() - 1).forEach((D) => {
762
+ N.foreach(D, (f, F) => {
763
+ const E = e.getCellValue(f, F), I = E && E.v;
764
+ if (!k(I) && (E == null ? void 0 : E.t) === M.NUMBER) {
765
+ const p = Number(I);
766
+ !Number.isNaN(p) && u.setValue(f, F, p);
767
767
  }
768
768
  });
769
769
  });
770
- const o = l2(i.config.min, u, { ...e, cfId: r.cfId }), h = l2(i.config.max, u, { ...e, cfId: r.cfId });
771
- let c = 0, d = 0;
772
- if (o.status === b.SUCCESS) {
770
+ const o = C2(i.config.min, u, { ...e, cfId: n.cfId }), d = C2(i.config.max, u, { ...e, cfId: n.cfId });
771
+ let c = 0, h = 0;
772
+ if (o.status === B.SUCCESS) {
773
773
  const g = Number(o.result);
774
774
  c = Number.isNaN(g) ? 0 : g;
775
775
  } else {
776
- this._preComputingStatus$.next(L.preComputing);
776
+ this._preComputingStatus$.next(V.preComputing);
777
777
  return;
778
778
  }
779
- if (h.status === b.SUCCESS) {
780
- const g = Number(h.result), D = Number.isNaN(g) ? 0 : g;
781
- d = Math.max(D, c), c = Math.min(D, c);
779
+ if (d.status === B.SUCCESS) {
780
+ const g = Number(d.result), D = Number.isNaN(g) ? 0 : g;
781
+ h = Math.max(D, c), c = Math.min(D, c);
782
782
  let f = 50;
783
- if (c < 0 && d <= 0)
783
+ if (c < 0 && h <= 0)
784
784
  f = 100;
785
- else if (c < 0 && d > 0) {
786
- const w = Math.abs(d) + Math.abs(c);
787
- f = Math.abs(c) / w * 100;
788
- } else c >= 0 && d > 0 && (f = 0);
789
- this.setPreComputingCache({ min: c, max: d, startPoint: f }), this._preComputingStatus$.next(L.preComputingEnd);
785
+ else if (c < 0 && h > 0) {
786
+ const F = Math.abs(h) + Math.abs(c);
787
+ f = Math.abs(c) / F * 100;
788
+ } else c >= 0 && h > 0 && (f = 0);
789
+ this.setPreComputingCache({ min: c, max: h, startPoint: f }), this._preComputingStatus$.next(V.preComputingEnd);
790
790
  return;
791
791
  }
792
- this._preComputingStatus$.next(L.preComputing);
792
+ this._preComputingStatus$.next(V.preComputing);
793
793
  }
794
794
  // eslint-disable-next-line complexity
795
- getCellResult(n, t, e, r) {
796
- const { min: i, max: a, startPoint: u } = e, o = r.rule.rule, h = o.isShowValue, c = o.config.isGradient, d = S0(n, t, r.getCellValue);
797
- if (!(d === null || d < i || i === a || a < i)) {
798
- if (d === 0)
799
- return { color: R0, startPoint: u, value: 0, isGradient: c, isShowValue: h };
795
+ getCellResult(r, t, e, n) {
796
+ const { min: i, max: a, startPoint: u } = e, o = n.rule.rule, d = o.isShowValue, c = o.config.isGradient, h = O0(r, t, n.getCellValue);
797
+ if (!(h === null || h < i || i === a || a < i)) {
798
+ if (h === 0)
799
+ return { color: U0, startPoint: u, value: 0, isGradient: c, isShowValue: d };
800
800
  if (i < 0 && a <= 0) {
801
- const g = a - i, D = t2((a - d) / g * 100);
802
- return D === 0 ? void 0 : { color: o.config.nativeColor || y2, startPoint: u, value: -D, isGradient: c, isShowValue: h };
801
+ const g = a - i, D = o2((a - h) / g * 100);
802
+ return D === 0 ? void 0 : { color: o.config.nativeColor || L2, startPoint: u, value: -D, isGradient: c, isShowValue: d };
803
803
  } else if (i < 0 && a > 0)
804
- if (d > 0) {
805
- const g = t2(Math.min(d / a, 1) * 100);
806
- return g === 0 ? void 0 : { color: o.config.positiveColor || _2, startPoint: u, value: g, isGradient: c, isShowValue: h };
804
+ if (h > 0) {
805
+ const g = o2(Math.min(h / a, 1) * 100);
806
+ return g === 0 ? void 0 : { color: o.config.positiveColor || b2, startPoint: u, value: g, isGradient: c, isShowValue: d };
807
807
  } else {
808
- const g = t2(Math.min(Math.abs(d) / Math.abs(i), 1) * 100);
809
- return g === 0 ? void 0 : { color: o.config.nativeColor || y2, startPoint: u, value: -g, isGradient: c, isShowValue: h };
808
+ const g = o2(Math.min(Math.abs(h) / Math.abs(i), 1) * 100);
809
+ return g === 0 ? void 0 : { color: o.config.nativeColor || L2, startPoint: u, value: -g, isGradient: c, isShowValue: d };
810
810
  }
811
811
  else if (i >= 0 && a > 0) {
812
- const g = a - i, D = 0, f = t2((1 - (a - d) / g) * 100);
813
- return f === 0 ? void 0 : { color: o.config.positiveColor || _2, startPoint: D, value: f, isGradient: c, isShowValue: h };
812
+ const g = a - i, D = 0, f = o2((1 - (a - h) / g) * 100);
813
+ return f === 0 ? void 0 : { color: o.config.positiveColor || b2, startPoint: D, value: f, isGradient: c, isShowValue: d };
814
814
  }
815
815
  }
816
816
  }
817
817
  }
818
- class k0 extends u2 {
818
+ class P0 extends F2 {
819
819
  // eslint-disable-next-line max-lines-per-function
820
- preComputing(n, t, e) {
821
- const r = e.rule.rule, i = e.rule.ranges, u = (() => {
822
- switch (r.subType) {
823
- case E.average: {
820
+ preComputing(r, t, e) {
821
+ const n = e.rule.rule, i = e.rule.ranges, u = (() => {
822
+ switch (n.subType) {
823
+ case x.average: {
824
824
  let l = 0, o = 0;
825
- return i.forEach((h) => {
826
- N.foreach(h, (c, d) => {
827
- const g = e.getCellValue(c, d), D = U(g || void 0);
828
- g && g.t === x.NUMBER && D !== void 0 && (l += Number(D) || 0, o++);
825
+ return i.forEach((d) => {
826
+ N.foreach(d, (c, h) => {
827
+ const g = e.getCellValue(c, h), D = P(g || void 0);
828
+ g && g.t === M.NUMBER && D !== void 0 && (l += Number(D) || 0, o++);
829
829
  });
830
- }), { value: l / o, type: r.subType };
830
+ }), { value: l / o, type: n.subType };
831
831
  }
832
- case E.uniqueValues:
833
- case E.duplicateValues: {
832
+ case x.uniqueValues:
833
+ case x.duplicateValues: {
834
834
  const l = /* @__PURE__ */ new Map();
835
835
  return i.forEach((o) => {
836
- N.foreach(o, (h, c) => {
837
- const d = e.getCellValue(h, c), g = U(d || void 0);
836
+ N.foreach(o, (d, c) => {
837
+ const h = e.getCellValue(d, c), g = P(h || void 0);
838
838
  if (g !== void 0) {
839
839
  const D = l.get(g);
840
840
  D ? l.set(g, D + 1) : l.set(g, 1);
841
841
  }
842
842
  });
843
- }), { value: l, type: r.subType };
843
+ }), { value: l, type: n.subType };
844
844
  }
845
- case E.rank: {
845
+ case x.rank: {
846
846
  const l = [];
847
847
  i.forEach((c) => {
848
- N.foreach(c, (d, g) => {
849
- const D = e.getCellValue(d, g), f = U(D || void 0);
850
- D && D.t === x.NUMBER && f !== void 0 && l.push(Number(f) || 0);
848
+ N.foreach(c, (h, g) => {
849
+ const D = e.getCellValue(h, g), f = P(D || void 0);
850
+ D && D.t === M.NUMBER && f !== void 0 && l.push(Number(f) || 0);
851
851
  });
852
- }), l.sort((c, d) => d - c);
853
- const o = e.rule.rule, h = o.isPercent ? Math.floor(Math.max(Math.min(o.value, 100), 0) / 100 * l.length) : Math.floor(Math.max(Math.min(o.isBottom ? o.value - 1 : o.value, l.length), 0));
854
- return o.isBottom ? { value: l[l.length - h - 1], type: r.subType } : { value: l[Math.max(h - 1, 0)], type: r.subType };
852
+ }), l.sort((c, h) => h - c);
853
+ const o = e.rule.rule, d = o.isPercent ? Math.floor(Math.max(Math.min(o.value, 100), 0) / 100 * l.length) : Math.floor(Math.max(Math.min(o.isBottom ? o.value - 1 : o.value, l.length), 0));
854
+ return o.isBottom ? { value: l[l.length - d - 1], type: n.subType } : { value: l[Math.max(d - 1, 0)], type: n.subType };
855
855
  }
856
- case E.formula: {
857
- const l = r, o = e.accessor.get(G);
856
+ case x.formula: {
857
+ const l = n, o = e.accessor.get(K);
858
858
  o.registerFormulaWithRange(e.unitId, e.subUnitId, e.rule.cfId, l.value, e.rule.ranges);
859
- const h = o.getFormulaMatrix(e.unitId, e.subUnitId, e.rule.cfId, l.value);
860
- return h && h.status === b.SUCCESS ? (this._preComputingStatus$.next(L.preComputingEnd), {
861
- value: h.result,
862
- type: r.subType
863
- }) : (this._preComputingStatus$.next(L.preComputing), null);
859
+ const d = o.getFormulaMatrix(e.unitId, e.subUnitId, e.rule.cfId, l.value);
860
+ return d && d.status === B.SUCCESS ? (this._preComputingStatus$.next(V.preComputingEnd), {
861
+ value: d.result,
862
+ type: n.subType
863
+ }) : (this._preComputingStatus$.next(V.preComputing), null);
864
864
  }
865
- case E.timePeriod:
866
- switch (r.operator) {
867
- case R.last7Days:
865
+ case x.timePeriod:
866
+ switch (n.operator) {
867
+ case L.last7Days:
868
868
  return {
869
869
  value: {
870
870
  start: v().subtract(7, "day").valueOf(),
871
871
  end: v().valueOf()
872
872
  },
873
- type: r.subType
873
+ type: n.subType
874
874
  };
875
- case R.lastMonth:
875
+ case L.lastMonth:
876
876
  return {
877
877
  value: {
878
878
  start: v().startOf("month").subtract(1, "month").valueOf(),
879
879
  end: v().endOf("month").subtract(1, "month").valueOf()
880
880
  },
881
- type: r.subType
881
+ type: n.subType
882
882
  };
883
- case R.lastWeek:
883
+ case L.lastWeek:
884
884
  return {
885
885
  value: {
886
886
  start: v().startOf("week").subtract(1, "week").valueOf(),
887
887
  end: v().endOf("week").subtract(1, "week").valueOf()
888
888
  },
889
- type: r.subType
889
+ type: n.subType
890
890
  };
891
- case R.nextMonth:
891
+ case L.nextMonth:
892
892
  return {
893
893
  value: {
894
894
  start: v().startOf("month").add(1, "month").valueOf(),
895
895
  end: v().endOf("month").add(1, "month").valueOf()
896
896
  },
897
- type: r.subType
897
+ type: n.subType
898
898
  };
899
- case R.nextWeek:
899
+ case L.nextWeek:
900
900
  return {
901
901
  value: {
902
902
  start: v().startOf("week").add(1, "week").valueOf(),
903
903
  end: v().endOf("week").add(1, "week").valueOf()
904
904
  },
905
- type: r.subType
905
+ type: n.subType
906
906
  };
907
- case R.thisMonth:
907
+ case L.thisMonth:
908
908
  return {
909
909
  value: {
910
910
  start: v().startOf("month").valueOf(),
911
911
  end: v().endOf("month").valueOf()
912
912
  },
913
- type: r.subType
913
+ type: n.subType
914
914
  };
915
- case R.thisWeek:
915
+ case L.thisWeek:
916
916
  return {
917
917
  value: {
918
918
  start: v().startOf("week").valueOf(),
919
919
  end: v().endOf("week").valueOf()
920
920
  },
921
- type: r.subType
921
+ type: n.subType
922
922
  };
923
- case R.today:
923
+ case L.today:
924
924
  return {
925
925
  value: {
926
926
  start: v().startOf("day").valueOf(),
927
927
  end: v().endOf("day").valueOf()
928
928
  },
929
- type: r.subType
929
+ type: n.subType
930
930
  };
931
- case R.tomorrow:
931
+ case L.tomorrow:
932
932
  return {
933
933
  value: {
934
934
  start: v().startOf("day").add(1, "day").valueOf(),
935
935
  end: v().endOf("day").add(1, "day").valueOf()
936
936
  },
937
- type: r.subType
937
+ type: n.subType
938
938
  };
939
- case R.yesterday:
939
+ case L.yesterday:
940
940
  return {
941
941
  value: {
942
942
  start: v().startOf("day").subtract(1, "day").valueOf(),
943
943
  end: v().endOf("day").subtract(1, "day").valueOf()
944
944
  },
945
- type: r.subType
945
+ type: n.subType
946
946
  };
947
947
  }
948
948
  }
@@ -950,176 +950,176 @@ class k0 extends u2 {
950
950
  this.setPreComputingCache(u);
951
951
  }
952
952
  // eslint-disable-next-line max-lines-per-function
953
- getCellResult(n, t, e, r) {
954
- const i = r.getCellValue(n, t), a = r.rule.rule;
953
+ getCellResult(r, t, e, n) {
954
+ const i = n.getCellValue(r, t), a = n.rule.rule;
955
955
  return (() => {
956
956
  switch (a.subType) {
957
- case E.number: {
958
- const o = i && Number(i.v), h = (i == null ? void 0 : i.t) === x.NUMBER, c = a;
959
- return h ? I(o) || Number.isNaN(o) ? void 0 : Y({ operator: c.operator, value: c.value || 0 }, o || 0) : !![F.notEqual, F.notBetween].includes(c.operator);
957
+ case x.number: {
958
+ const o = i && Number(i.v), d = (i == null ? void 0 : i.t) === M.NUMBER, c = a;
959
+ return d ? k(o) || Number.isNaN(o) ? void 0 : n2({ operator: c.operator, value: c.value || 0 }, o || 0) : !![w.notEqual, w.notBetween].includes(c.operator);
960
960
  }
961
- case E.text: {
962
- const o = a, h = U(i), c = h === null ? "" : String(h), d = o.value || "";
961
+ case x.text: {
962
+ const o = a, d = P(i), c = d === null ? "" : String(d), h = o.value || "";
963
963
  switch (o.operator) {
964
- case M.beginsWith:
965
- return c.startsWith(d);
966
- case M.containsBlanks:
964
+ case b.beginsWith:
965
+ return c.startsWith(h);
966
+ case b.containsBlanks:
967
967
  return /^\s*$/.test(c);
968
- case M.notContainsBlanks:
968
+ case b.notContainsBlanks:
969
969
  return !/^\s*$/.test(c);
970
- case M.containsErrors:
971
- return x2.has(c);
972
- case M.notContainsErrors:
973
- return !x2.has(c);
974
- case M.containsText:
975
- return c.indexOf(d) > -1;
976
- case M.notContainsText:
977
- return c.indexOf(d) === -1;
978
- case M.endsWith:
979
- return c.endsWith(d);
980
- case M.equal:
981
- return c === d;
982
- case M.notEqual:
983
- return c !== d;
970
+ case b.containsErrors:
971
+ return S2.has(c);
972
+ case b.notContainsErrors:
973
+ return !S2.has(c);
974
+ case b.containsText:
975
+ return c.indexOf(h) > -1;
976
+ case b.notContainsText:
977
+ return c.indexOf(h) === -1;
978
+ case b.endsWith:
979
+ return c.endsWith(h);
980
+ case b.equal:
981
+ return c === h;
982
+ case b.notEqual:
983
+ return c !== h;
984
984
  default:
985
985
  return !1;
986
986
  }
987
987
  }
988
- case E.timePeriod: {
989
- const o = U(i);
990
- if (I(o) || Number.isNaN(Number(o)) || (i == null ? void 0 : i.t) !== x.NUMBER || !e)
988
+ case x.timePeriod: {
989
+ const o = P(i);
990
+ if (k(o) || Number.isNaN(Number(o)) || (i == null ? void 0 : i.t) !== M.NUMBER || !e)
991
991
  return;
992
- const h = A0(Number(o)), { start: c, end: d } = e.value;
993
- return h >= c && h <= d;
992
+ const d = b0(Number(o)), { start: c, end: h } = e.value;
993
+ return d >= c && d <= h;
994
994
  }
995
- case E.average: {
996
- const o = i && i.v, h = Number(o), c = (i == null ? void 0 : i.t) === x.NUMBER, d = a;
995
+ case x.average: {
996
+ const o = i && i.v, d = Number(o), c = (i == null ? void 0 : i.t) === M.NUMBER, h = a;
997
997
  if (!c)
998
- return F.notEqual === d.operator;
999
- if (I(o) || Number.isNaN(h) || !e)
998
+ return w.notEqual === h.operator;
999
+ if (k(o) || Number.isNaN(d) || !e)
1000
1000
  return !1;
1001
1001
  const g = e.value;
1002
- switch (d.operator) {
1003
- case F.greaterThan:
1004
- return h > g;
1005
- case F.greaterThanOrEqual:
1006
- return h >= g;
1007
- case F.lessThan:
1008
- return h < g;
1009
- case F.lessThanOrEqual:
1010
- return h <= g;
1011
- case F.equal:
1012
- return a2(h, g);
1013
- case F.notEqual:
1014
- return !a2(h, g);
1002
+ switch (h.operator) {
1003
+ case w.greaterThan:
1004
+ return d > g;
1005
+ case w.greaterThanOrEqual:
1006
+ return d >= g;
1007
+ case w.lessThan:
1008
+ return d < g;
1009
+ case w.lessThanOrEqual:
1010
+ return d <= g;
1011
+ case w.equal:
1012
+ return g2(d, g);
1013
+ case w.notEqual:
1014
+ return !g2(d, g);
1015
1015
  default:
1016
1016
  return !1;
1017
1017
  }
1018
1018
  }
1019
- case E.rank: {
1020
- const o = U(i), h = Number(o);
1021
- if (I(o) || Number.isNaN(h) || (i == null ? void 0 : i.t) !== x.NUMBER || !e)
1019
+ case x.rank: {
1020
+ const o = P(i), d = Number(o);
1021
+ if (k(o) || Number.isNaN(d) || (i == null ? void 0 : i.t) !== M.NUMBER || !e)
1022
1022
  return !1;
1023
1023
  const c = e.value;
1024
- return a.isBottom ? h <= c : h >= c;
1024
+ return a.isBottom ? d <= c : d >= c;
1025
1025
  }
1026
- case E.uniqueValues: {
1027
- const o = U(i);
1028
- return I(o) || !e ? !1 : e.value.get(o) === 1;
1026
+ case x.uniqueValues: {
1027
+ const o = P(i);
1028
+ return k(o) || !e ? !1 : e.value.get(o) === 1;
1029
1029
  }
1030
- case E.duplicateValues: {
1031
- const o = U(i);
1032
- return I(o) || !e ? !1 : e.value.get(o) !== 1;
1030
+ case x.duplicateValues: {
1031
+ const o = P(i);
1032
+ return k(o) || !e ? !1 : e.value.get(o) !== 1;
1033
1033
  }
1034
- case E.formula: {
1034
+ case x.formula: {
1035
1035
  const o = e == null ? void 0 : e.value;
1036
- return o ? o.getValue(n, t) === !0 : !1;
1036
+ return o ? o.getValue(r, t) === !0 : !1;
1037
1037
  }
1038
1038
  }
1039
1039
  })() ? a.style : {};
1040
1040
  }
1041
1041
  }
1042
- const B0 = (s, n, t) => {
1043
- const e = t(s, n);
1044
- if (e && e.t === x.NUMBER) {
1045
- const r = Number(e.v);
1046
- return Number.isNaN(r) ? null : r;
1042
+ const W0 = (s, r, t) => {
1043
+ const e = t(s, r);
1044
+ if (e && e.t === M.NUMBER) {
1045
+ const n = Number(e.v);
1046
+ return Number.isNaN(n) ? null : n;
1047
1047
  }
1048
1048
  return null;
1049
1049
  };
1050
- class N0 extends u2 {
1051
- preComputing(n, t, e) {
1052
- const r = e.rule.rule, i = e.worksheet, a = new T();
1053
- !r.config.every((h) => h.value.type === _.num) && w2(e.rule.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((c) => {
1054
- N.foreach(c, (d, g) => {
1055
- const D = e.getCellValue(d, g), f = D && D.v;
1056
- if (!I(f) && (D == null ? void 0 : D.t) === x.NUMBER) {
1057
- const w = Number(f);
1058
- !Number.isNaN(w) && a.setValue(d, g, w);
1050
+ class q0 extends F2 {
1051
+ preComputing(r, t, e) {
1052
+ const n = e.rule.rule, i = e.worksheet, a = new O();
1053
+ !n.config.every((d) => d.value.type === R.num) && y2(e.rule.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((c) => {
1054
+ N.foreach(c, (h, g) => {
1055
+ const D = e.getCellValue(h, g), f = D && D.v;
1056
+ if (!k(f) && (D == null ? void 0 : D.t) === M.NUMBER) {
1057
+ const F = Number(f);
1058
+ !Number.isNaN(F) && a.setValue(h, g, F);
1059
1059
  }
1060
1060
  });
1061
1061
  });
1062
- const l = r.config.map((h) => l2(h.value, a, { ...e, cfId: e.rule.cfId }));
1063
- if (!l.some((h) => h.status !== b.SUCCESS)) {
1064
- const h = l.map((c, d) => ({
1065
- operator: r.config[d].operator,
1062
+ const l = n.config.map((d) => C2(d.value, a, { ...e, cfId: e.rule.cfId }));
1063
+ if (!l.some((d) => d.status !== B.SUCCESS)) {
1064
+ const d = l.map((c, h) => ({
1065
+ operator: n.config[h].operator,
1066
1066
  value: Number(c.result) || 0
1067
- })).reduce((c, d, g, D) => {
1068
- const f = r.config[g];
1067
+ })).reduce((c, h, g, D) => {
1068
+ const f = n.config[g];
1069
1069
  if (!g || g === D.length - 1)
1070
- c.push({ ...d, iconId: f.iconId, iconType: f.iconType });
1070
+ c.push({ ...h, iconId: f.iconId, iconType: f.iconType });
1071
1071
  else {
1072
- const w = D[g - 1];
1073
- Y(w, d.value) || c.push({ ...d, iconId: f.iconId, iconType: f.iconType });
1072
+ const F = D[g - 1];
1073
+ n2(F, h.value) || c.push({ ...h, iconId: f.iconId, iconType: f.iconType });
1074
1074
  }
1075
1075
  return c;
1076
1076
  }, []);
1077
- this.setPreComputingCache(h), this._preComputingStatus$.next(L.preComputingEnd);
1077
+ this.setPreComputingCache(d), this._preComputingStatus$.next(V.preComputingEnd);
1078
1078
  return;
1079
1079
  }
1080
- this._preComputingStatus$.next(L.preComputing);
1080
+ this._preComputingStatus$.next(V.preComputing);
1081
1081
  }
1082
- getCellResult(n, t, e, r) {
1082
+ getCellResult(r, t, e, n) {
1083
1083
  if (!e)
1084
1084
  return null;
1085
- const i = B0(n, t, r.getCellValue);
1085
+ const i = W0(r, t, n.getCellValue);
1086
1086
  if (i === null)
1087
1087
  return;
1088
- const a = r.rule.rule, u = a.isShowValue === void 0 ? !0 : !!a.isShowValue;
1088
+ const a = n.rule.rule, u = a.isShowValue === void 0 ? !0 : !!a.isShowValue;
1089
1089
  for (let l = 0; l < e.length; l++) {
1090
- const o = e[l], h = { ...o }, c = { ...o }, { iconId: d, iconType: g } = o;
1090
+ const o = e[l], d = { ...o }, c = { ...o }, { iconId: h, iconType: g } = o;
1091
1091
  if (l === 0) {
1092
- if (Y(o, i))
1093
- return { iconId: d, iconType: g, isShowValue: u };
1092
+ if (n2(o, i))
1093
+ return { iconId: h, iconType: g, isShowValue: u };
1094
1094
  } else {
1095
1095
  if (l === e.length - 1)
1096
- return { iconId: d, iconType: g, isShowValue: u };
1096
+ return { iconId: h, iconType: g, isShowValue: u };
1097
1097
  {
1098
1098
  const D = e[l - 1];
1099
- if (c.operator = x0(D.operator), c.value = D.value, Y(h, i) && Y(c, i))
1100
- return { iconId: d, iconType: g, isShowValue: u };
1099
+ if (c.operator = L0(D.operator), c.value = D.value, n2(d, i) && n2(c, i))
1100
+ return { iconId: h, iconType: g, isShowValue: u };
1101
1101
  }
1102
1102
  }
1103
1103
  }
1104
1104
  }
1105
1105
  }
1106
- var T0 = Object.getOwnPropertyDescriptor, U0 = (s, n, t, e) => {
1107
- for (var r = e > 1 ? void 0 : e ? T0(n, t) : n, i = s.length - 1, a; i >= 0; i--)
1108
- (a = s[i]) && (r = a(r) || r);
1109
- return r;
1110
- }, r2 = (s, n) => (t, e) => n(t, e, s);
1111
- const C2 = 50 * 20 * 3 * 3;
1112
- let H = class extends m2 {
1113
- constructor(n, t, e, r) {
1106
+ var Z0 = Object.getOwnPropertyDescriptor, G0 = (s, r, t, e) => {
1107
+ for (var n = e > 1 ? void 0 : e ? Z0(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1108
+ (a = s[i]) && (n = a(n) || n);
1109
+ return n;
1110
+ }, c2 = (s, r) => (t, e) => r(t, e, s);
1111
+ const A2 = 50 * 20 * 3 * 3;
1112
+ let J = class extends _2 {
1113
+ constructor(r, t, e, n) {
1114
1114
  super();
1115
1115
  // Map<unitID ,<sheetId ,ObjectMatrix>>
1116
1116
  m(this, "_calculateUnitManagers", /* @__PURE__ */ new Map());
1117
- m(this, "_rTreeManager", new P2());
1117
+ m(this, "_rTreeManager", new j2());
1118
1118
  /**
1119
1119
  * 1nd-level cache
1120
1120
  */
1121
- m(this, "_cellCache", new b2(C2));
1122
- m(this, "_markDirty$", new i2());
1121
+ m(this, "_cellCache", new U2(A2));
1122
+ m(this, "_markDirty$", new h2());
1123
1123
  /**
1124
1124
  * The rendering layer listens to this variable to determine whether a reRender is necessary.
1125
1125
  * @memberof ConditionalFormattingViewModel
@@ -1134,13 +1134,13 @@ let H = class extends m2 {
1134
1134
  After the calculation is finished, it is only for marking as dirty, and the 2nd-level cache need to be cleared.
1135
1135
  * @param {boolean} [isNeedResetPreComputingCache]
1136
1136
  */
1137
- m(this, "_markRuleDirtyAtOnce", (n, t, e, r = !0) => {
1138
- if (this._cellCache.clear(), r) {
1139
- const a = this._ensureCalculateUnitManager(n, t).get(e);
1137
+ m(this, "_markRuleDirtyAtOnce", (r, t, e, n = !0) => {
1138
+ if (this._cellCache.clear(), n) {
1139
+ const a = this._ensureCalculateUnitManager(r, t).get(e);
1140
1140
  a && a.resetPreComputingCache();
1141
1141
  }
1142
1142
  this._markDirty$.next({
1143
- unitId: n,
1143
+ unitId: r,
1144
1144
  subUnitId: t,
1145
1145
  cfId: e
1146
1146
  });
@@ -1151,162 +1151,162 @@ let H = class extends m2 {
1151
1151
  * Here,multiple dirties are merged into one..
1152
1152
  */
1153
1153
  m(this, "markRuleDirty", (() => {
1154
- const n = new i2();
1155
- return this.disposeWithMe(n.pipe(Y2(100), K2((t) => !!t.length), J2((t) => {
1156
- const e = /* @__PURE__ */ new Set(), r = [];
1154
+ const r = new h2();
1155
+ return this.disposeWithMe(r.pipe(t0(100), n0((t) => !!t.length), r0((t) => {
1156
+ const e = /* @__PURE__ */ new Set(), n = [];
1157
1157
  return t.forEach((i) => {
1158
1158
  const a = `${i.unitId}_${i.subUnitId}_${i.cfId}`;
1159
1159
  if (e.has(a)) {
1160
1160
  if (i.isNeedResetPreComputingCache) {
1161
- const u = r.find((l) => l.cfId === i.cfId);
1161
+ const u = n.find((l) => l.cfId === i.cfId);
1162
1162
  u.isNeedResetPreComputingCache = !0;
1163
1163
  }
1164
1164
  return;
1165
1165
  }
1166
- e.add(a), r.push({ ...i });
1167
- }), r;
1166
+ e.add(a), n.push({ ...i });
1167
+ }), n;
1168
1168
  })).subscribe((t) => {
1169
1169
  t.forEach((e) => {
1170
1170
  this._markRuleDirtyAtOnce(e.unitId, e.subUnitId, e.cfId, e.isNeedResetPreComputingCache);
1171
1171
  });
1172
- })), (t, e, r, i = !0) => {
1173
- n.next({ unitId: t, subUnitId: e, cfId: r, isNeedResetPreComputingCache: i });
1172
+ })), (t, e, n, i = !0) => {
1173
+ r.next({ unitId: t, subUnitId: e, cfId: n, isNeedResetPreComputingCache: i });
1174
1174
  };
1175
1175
  })());
1176
- this._injector = n, this._conditionalFormattingRuleModel = t, this._conditionalFormattingFormulaService = e, this._univerInstanceService = r, this._initRuleListener(), this._handleCustomFormulasSeparately(), this._initCFFormulaListener();
1176
+ this._injector = r, this._conditionalFormattingRuleModel = t, this._conditionalFormattingFormulaService = e, this._univerInstanceService = n, this._initRuleListener(), this._handleCustomFormulasSeparately(), this._initCFFormulaListener();
1177
1177
  }
1178
1178
  _initCFFormulaListener() {
1179
1179
  this.disposeWithMe(
1180
- this._conditionalFormattingFormulaService.result$.subscribe(({ unitId: n, subUnitId: t, cfId: e, isAllFinished: r }) => {
1181
- r && this._markRuleDirtyAtOnce(n, t, e, r);
1180
+ this._conditionalFormattingFormulaService.result$.subscribe(({ unitId: r, subUnitId: t, cfId: e, isAllFinished: n }) => {
1181
+ n && this._markRuleDirtyAtOnce(r, t, e, n);
1182
1182
  })
1183
1183
  );
1184
1184
  }
1185
- getCellCfs(n, t, e, r) {
1186
- const i = this._createCacheKey(n, t, e, r);
1185
+ getCellCfs(r, t, e, n) {
1186
+ const i = this._createCacheKey(r, t, e, n);
1187
1187
  if (this._cellCache.has(i))
1188
1188
  return this._cellCache.get(i);
1189
- const a = this._getCellCfs(n, t, e, r);
1189
+ const a = this._getCellCfs(r, t, e, n);
1190
1190
  return a.length && this._cellCache.set(i, a), a;
1191
1191
  }
1192
- _getCellCfs(n, t, e, r) {
1193
- var h;
1194
- const i = (h = this._conditionalFormattingRuleModel.getSubunitRules(n, t)) != null ? h : [], a = this._ensureCalculateUnitManager(n, t), u = this._rTreeManager.bulkSearch([{ unitId: n, sheetId: t, range: { startColumn: r, endColumn: r, startRow: e, endRow: e } }]), l = i.filter((c) => u.has(c.cfId));
1192
+ _getCellCfs(r, t, e, n) {
1193
+ var d;
1194
+ const i = (d = this._conditionalFormattingRuleModel.getSubunitRules(r, t)) != null ? d : [], a = this._ensureCalculateUnitManager(r, t), u = this._rTreeManager.bulkSearch([{ unitId: r, sheetId: t, range: { startColumn: n, endColumn: n, startRow: e, endRow: e } }]), l = i.filter((c) => u.has(c.cfId));
1195
1195
  return l.length ? l.map((c) => {
1196
- const d = a.get(c.cfId);
1197
- return d ? {
1196
+ const h = a.get(c.cfId);
1197
+ return h ? {
1198
1198
  cfId: c.cfId,
1199
- result: d.getCell(e, r)
1199
+ result: h.getCell(e, n)
1200
1200
  } : null;
1201
- }).filter((c) => !!c).map((c, d) => ({ ...c, priority: d })) : [];
1201
+ }).filter((c) => !!c).map((c, h) => ({ ...c, priority: h })) : [];
1202
1202
  }
1203
1203
  _handleCustomFormulasSeparately() {
1204
1204
  this.disposeWithMe(
1205
- this._conditionalFormattingRuleModel.$ruleChange.subscribe((n) => {
1206
- if (n.type === "set") {
1207
- const { unitId: t, subUnitId: e } = n, r = n.oldRule;
1208
- r.rule.type === y.highlightCell && r.rule.subType === E.formula && this._conditionalFormattingFormulaService.deleteCache(t, e, r.cfId);
1205
+ this._conditionalFormattingRuleModel.$ruleChange.subscribe((r) => {
1206
+ if (r.type === "set") {
1207
+ const { unitId: t, subUnitId: e } = r, n = r.oldRule;
1208
+ n.rule.type === S.highlightCell && n.rule.subType === x.formula && this._conditionalFormattingFormulaService.deleteCache(t, e, n.cfId);
1209
1209
  }
1210
1210
  })
1211
1211
  );
1212
1212
  }
1213
1213
  _initRuleListener() {
1214
1214
  this.disposeWithMe(
1215
- this._conditionalFormattingRuleModel.$ruleChange.subscribe((n) => {
1216
- const { unitId: t, subUnitId: e, rule: r } = n, { cfId: i, ranges: a } = r, u = this._ensureCalculateUnitManager(t, e);
1217
- switch (this.markRuleDirty(t, e, i), n.type) {
1215
+ this._conditionalFormattingRuleModel.$ruleChange.subscribe((r) => {
1216
+ const { unitId: t, subUnitId: e, rule: n } = r, { cfId: i, ranges: a } = n, u = this._ensureCalculateUnitManager(t, e);
1217
+ switch (this.markRuleDirty(t, e, i), r.type) {
1218
1218
  case "add": {
1219
1219
  this._rTreeManager.bulkInsert(a.map((o) => ({ unitId: t, sheetId: e, id: i, range: o })));
1220
- const l = this._createRuleCalculateUnitInstance(t, e, r);
1220
+ const l = this._createRuleCalculateUnitInstance(t, e, n);
1221
1221
  if (!l)
1222
1222
  return;
1223
- u.set(r.cfId, l);
1223
+ u.set(n.cfId, l);
1224
1224
  break;
1225
1225
  }
1226
1226
  case "delete": {
1227
- this._rTreeManager.bulkRemove(a.map((l) => ({ unitId: t, sheetId: e, id: i, range: l }))), u.delete(r.cfId);
1227
+ this._rTreeManager.bulkRemove(a.map((l) => ({ unitId: t, sheetId: e, id: i, range: l }))), u.delete(n.cfId);
1228
1228
  break;
1229
1229
  }
1230
1230
  case "set": {
1231
- const l = n.oldRule;
1232
- if (this._rTreeManager.bulkRemove(l.ranges.map((o) => ({ unitId: t, sheetId: e, id: l.cfId, range: o }))), this._rTreeManager.bulkInsert(a.map((o) => ({ unitId: t, sheetId: e, id: i, range: o }))), l.rule.type !== r.rule.type) {
1233
- const o = this._createRuleCalculateUnitInstance(t, e, r);
1231
+ const l = r.oldRule;
1232
+ if (this._rTreeManager.bulkRemove(l.ranges.map((o) => ({ unitId: t, sheetId: e, id: l.cfId, range: o }))), this._rTreeManager.bulkInsert(a.map((o) => ({ unitId: t, sheetId: e, id: i, range: o }))), l.rule.type !== n.rule.type) {
1233
+ const o = this._createRuleCalculateUnitInstance(t, e, n);
1234
1234
  if (!o)
1235
1235
  return;
1236
- u.delete(l.cfId), u.set(r.cfId, o);
1236
+ u.delete(l.cfId), u.set(n.cfId, o);
1237
1237
  } else {
1238
1238
  const o = u.get(l.cfId);
1239
1239
  if (!o)
1240
1240
  return;
1241
- o.updateRule(r);
1241
+ o.updateRule(n);
1242
1242
  }
1243
1243
  }
1244
1244
  }
1245
1245
  })
1246
1246
  );
1247
1247
  }
1248
- _ensureCalculateUnitManager(n, t) {
1249
- let e = this._calculateUnitManagers.get(n);
1250
- e || (e = /* @__PURE__ */ new Map(), this._calculateUnitManagers.set(n, e));
1251
- let r = e.get(t);
1252
- return r || (r = /* @__PURE__ */ new Map(), e.set(t, r)), r;
1248
+ _ensureCalculateUnitManager(r, t) {
1249
+ let e = this._calculateUnitManagers.get(r);
1250
+ e || (e = /* @__PURE__ */ new Map(), this._calculateUnitManagers.set(r, e));
1251
+ let n = e.get(t);
1252
+ return n || (n = /* @__PURE__ */ new Map(), e.set(t, n)), n;
1253
1253
  }
1254
- _createRuleCalculateUnitInstance(n, t, e) {
1255
- const r = this._univerInstanceService.getUnit(n), i = r == null ? void 0 : r.getSheetBySheetId(t);
1256
- if (!r || !i)
1254
+ _createRuleCalculateUnitInstance(r, t, e) {
1255
+ const n = this._univerInstanceService.getUnit(r), i = n == null ? void 0 : n.getSheetBySheetId(t);
1256
+ if (!n || !i)
1257
1257
  return;
1258
1258
  const a = {
1259
- workbook: r,
1259
+ workbook: n,
1260
1260
  worksheet: i,
1261
- unitId: n,
1261
+ unitId: r,
1262
1262
  subUnitId: t,
1263
1263
  accessor: this._injector,
1264
1264
  rule: e,
1265
- limit: C2,
1265
+ limit: A2,
1266
1266
  getCellValue: (u, l) => i.getCellRaw(u, l) || {}
1267
1267
  };
1268
1268
  switch (e.rule.type) {
1269
- case y.colorScale:
1270
- return new y0(a);
1271
- case y.dataBar:
1272
- return new L0(a);
1273
- case y.highlightCell:
1274
- return new k0(a);
1275
- case y.iconSet:
1276
- return new N0(a);
1269
+ case S.colorScale:
1270
+ return new B0(a);
1271
+ case S.dataBar:
1272
+ return new $0(a);
1273
+ case S.highlightCell:
1274
+ return new P0(a);
1275
+ case S.iconSet:
1276
+ return new q0(a);
1277
1277
  }
1278
1278
  }
1279
- _createCacheKey(n, t, e, r) {
1280
- return `${n}_${t}_${e}_${r}`;
1279
+ _createCacheKey(r, t, e, n) {
1280
+ return `${r}_${t}_${e}_${n}`;
1281
1281
  }
1282
- setCacheLength(n = C2) {
1283
- this._cellCache.limit !== n && (this._cellCache.limit = n, this._calculateUnitManagers.forEach((t) => {
1282
+ setCacheLength(r = A2) {
1283
+ this._cellCache.limit !== r && (this._cellCache.limit = r, this._calculateUnitManagers.forEach((t) => {
1284
1284
  t.forEach((e) => {
1285
- e.forEach((r) => {
1286
- r.setCacheLength(n);
1285
+ e.forEach((n) => {
1286
+ n.setCacheLength(r);
1287
1287
  });
1288
1288
  });
1289
1289
  }));
1290
1290
  }
1291
1291
  };
1292
- H = U0([
1293
- r2(0, A(F2)),
1294
- r2(1, A(k)),
1295
- r2(2, A(G)),
1296
- r2(3, L2)
1297
- ], H);
1298
- const V0 = { mistake: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%227.03704%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.87359%206.87332C6.6146%207.13231%206.6146%207.55221%206.87359%207.8112L9.062%209.99961L6.87356%2012.188C6.61457%2012.447%206.61457%2012.8669%206.87356%2013.1259C7.13255%2013.3849%207.55245%2013.3849%207.81144%2013.1259L9.99987%2010.9375L12.1882%2013.1258C12.4472%2013.3848%2012.8671%2013.3848%2013.1261%2013.1258C13.3851%2012.8669%2013.3851%2012.447%2013.1261%2012.188L10.9378%209.99961L13.1261%207.81127C13.3851%207.55228%2013.3851%207.13238%2013.1261%206.87339C12.8671%206.61441%2012.4472%206.61441%2012.1882%206.87339L9.99987%209.06173L7.81147%206.87332C7.55248%206.61433%207.13257%206.61433%206.87359%206.87332Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A", warn: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%227.03704%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3Cpath%20d%3D%22M9.16817%206.67735C9.16646%206.61745%209.1656%206.5875%209.16653%206.56236C9.18103%206.16817%209.49136%205.84883%209.88497%205.82306C9.91008%205.82141%209.94004%205.82141%209.99996%205.82141V5.82141C10.0599%205.82141%2010.0899%205.82141%2010.115%205.82306C10.5086%205.84883%2010.8189%206.16817%2010.8334%206.56236C10.8343%206.5875%2010.8335%206.61745%2010.8318%206.67735L10.7043%2011.131C10.6934%2011.5121%2010.3812%2011.8154%209.99995%2011.8154V11.8154C9.61866%2011.8154%209.30655%2011.5121%209.29564%2011.131L9.16817%206.67735Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3Crect%20x%3D%229.31488%22%20y%3D%2212.8086%22%20width%3D%221.37006%22%20height%3D%221.37006%22%20rx%3D%220.685032%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A", correct: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.037%2010C17.037%2013.8865%2013.8864%2017.0371%209.99999%2017.0371C6.11354%2017.0371%202.96295%2013.8865%202.96295%2010C2.96295%206.1136%206.11354%202.96301%209.99999%202.96301C13.8864%202.96301%2017.037%206.1136%2017.037%2010Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3Cpath%20d%3D%22M13.9239%207.17477C13.6638%206.91472%2013.2422%206.91472%2012.9821%207.17477L8.74433%2011.4126L7.01786%209.6861C6.75781%209.42606%206.33619%209.42606%206.07614%209.6861C5.81609%209.94615%205.81609%2010.3678%206.07614%2010.6278L8.27349%2012.8252C8.53354%2013.0852%208.95516%2013.0852%209.21521%2012.8252L9.2195%2012.8209L13.9239%208.1165C14.1839%207.85645%2014.1839%207.43482%2013.9239%207.17477Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, O0 = { starEmpty: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.8451%207.0699%2012.2165%207.33978%2012.6421%207.36863L16.2362%207.61233C16.5693%207.63492%2016.7048%208.05202%2016.4486%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.215%2011.2859%2013.319%2011.6996L14.1979%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6418%2015.5971L10.5908%2013.6817C10.2296%2013.4549%209.77045%2013.4549%209.40924%2013.6817L6.35828%2015.5971C6.07553%2015.7746%205.72072%2015.5168%205.80217%2015.1931L6.68105%2011.6996C6.7851%2011.2859%206.64322%2010.8493%206.31592%2010.5758L3.55145%208.26607C3.29525%208.05202%203.43078%207.63492%203.76386%207.61233L7.358%207.36863C7.78352%207.33978%208.15498%207.0699%208.31391%206.67412L9.65633%203.3312C9.78074%203.0214%2010.2193%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fsvg%3E%0A", starIncomplete: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_613_177)%22%3E%0A%3Cmask%20id%3D%22mask0_613_177%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%2210%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%2220%22%3E%0A%3Crect%20x%3D%2210.3704%22%20y%3D%220.37037%22%20width%3D%229.25926%22%20height%3D%2219.2593%22%20fill%3D%22%23C4C4C4%22%20stroke%3D%22%23F7D564%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fmask%3E%0A%3Cg%20mask%3D%22url(%23mask0_613_177)%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.845%207.0699%2012.2165%207.33978%2012.642%207.36863L16.2361%207.61233C16.5692%207.63492%2016.7047%208.05202%2016.4485%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.2149%2011.2859%2013.3189%2011.6996L14.1978%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6417%2015.5971L10.5908%2013.6817C10.2295%2013.4549%209.77039%2013.4549%209.40918%2013.6817L6.35822%2015.5971C6.07547%2015.7746%205.72066%2015.5168%205.80211%2015.1931L6.68098%2011.6996C6.78504%2011.2859%206.64316%2010.8493%206.31586%2010.5758L3.55139%208.26607C3.29519%208.05202%203.43072%207.63492%203.7638%207.61233L7.35793%207.36863C7.78346%207.33978%208.15491%207.0699%208.31385%206.67412L9.65627%203.3312C9.78068%203.0214%2010.2192%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fg%3E%0A%3Cmask%20id%3D%22mask1_613_177%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%2220%22%3E%0A%3Crect%20width%3D%2210%22%20height%3D%2220%22%20fill%3D%22%23C4C4C4%22%2F%3E%0A%3C%2Fmask%3E%0A%3Cg%20mask%3D%22url(%23mask1_613_177)%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.845%207.0699%2012.2165%207.33978%2012.642%207.36863L16.2361%207.61233C16.5692%207.63492%2016.7047%208.05202%2016.4485%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.2149%2011.2859%2013.3189%2011.6996L14.1978%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6417%2015.5971L10.5908%2013.6817C10.2295%2013.4549%209.77039%2013.4549%209.40918%2013.6817L6.35822%2015.5971C6.07547%2015.7746%205.72066%2015.5168%205.80211%2015.1931L6.68098%2011.6996C6.78504%2011.2859%206.64316%2010.8493%206.31586%2010.5758L3.55139%208.26607C3.29519%208.05202%203.43072%207.63492%203.7638%207.61233L7.35793%207.36863C7.78346%207.33978%208.15491%207.0699%208.31385%206.67412L9.65627%203.3312C9.78068%203.0214%2010.2192%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fg%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_613_177%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A", starFull: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.8451%207.0699%2012.2165%207.33978%2012.6421%207.36863L16.2362%207.61233C16.5693%207.63492%2016.7048%208.05202%2016.4486%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.215%2011.2859%2013.319%2011.6996L14.1979%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6418%2015.5971L10.5908%2013.6817C10.2296%2013.4549%209.77045%2013.4549%209.40924%2013.6817L6.35828%2015.5971C6.07553%2015.7746%205.72072%2015.5168%205.80217%2015.1931L6.68105%2011.6996C6.7851%2011.2859%206.64322%2010.8493%206.31592%2010.5758L3.55145%208.26607C3.29525%208.05202%203.43078%207.63492%203.76386%207.61233L7.358%207.36863C7.78352%207.33978%208.15498%207.0699%208.31391%206.67412L9.65633%203.3312C9.78074%203.0214%2010.2193%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, $0 = { progress0: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress25: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Cpath%20d%3D%22M16.2963%209.99991C16.2963%209.17307%2016.1335%208.35432%2015.8171%207.59042C15.5006%206.82652%2015.0369%206.13242%2014.4522%205.54776C13.8675%204.96309%2013.1734%204.49931%2012.4095%204.18289C11.6456%203.86647%2010.8269%203.70361%2010%203.70361L10%209.99991H16.2963Z%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress50: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Cpath%20d%3D%22M10%2016.2962C11.6699%2016.2962%2013.2714%2015.6328%2014.4522%2014.4521C15.633%2013.2713%2016.2963%2011.6698%2016.2963%209.99991C16.2963%208.33003%2015.633%206.72854%2014.4522%205.54776C13.2714%204.36697%2011.6699%203.70361%2010%203.70361L10%209.99991L10%2016.2962Z%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress75: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Cpath%20d%3D%22M3.70374%209.99991C3.70374%2011.2452%204.07301%2012.4625%204.76485%2013.4979C5.4567%2014.5334%206.44005%2015.3404%207.59054%2015.8169C8.74104%2016.2935%2010.007%2016.4182%2011.2284%2016.1752C12.4497%2015.9323%2013.5716%2015.3326%2014.4522%2014.4521C15.3327%2013.5715%2015.9324%2012.4496%2016.1753%2011.2283C16.4183%2010.0069%2016.2936%208.74092%2015.8171%207.59042C15.3405%206.43992%2014.5335%205.45658%2013.4981%204.76473C12.4626%204.07288%2011.2453%203.70361%2010%203.70361L10%209.99991L3.70374%209.99991Z%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress100: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99991%22%20r%3D%226.2963%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, P0 = { signal0: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal25: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal50: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal75: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal100: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93933%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70447%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, W0 = { guffaw: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M16.887%2010C16.887%2013.8037%2013.8036%2016.8871%209.99999%2016.8871C6.19638%2016.8871%203.11295%2013.8037%203.11295%2010C3.11295%206.19644%206.19638%203.11301%209.99999%203.11301C13.8036%203.11301%2016.887%206.19644%2016.887%2010Z%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M12.5355%2013.5821C13.0482%2013.1841%2013.3951%2012.6107%2013.5405%2012.0327C13.5934%2011.8226%2013.5051%2011.6349%2013.3518%2011.5331C13.2036%2011.4346%2013.0031%2011.4203%2012.8265%2011.5131C11.0615%2012.4407%208.94609%2012.4427%207.1828%2011.513C7.00629%2011.4199%206.80602%2011.4343%206.65798%2011.5329C6.50518%2011.6346%206.41701%2011.8217%206.46844%2012.0312C6.61029%2012.609%206.95079%2013.1833%207.46449%2013.5821C8.14361%2014.1093%209.05608%2014.3999%2010%2014.3999C10.9439%2014.3999%2011.8564%2014.1093%2012.5355%2013.5821Z%22%20fill%3D%22white%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.4%22%2F%3E%0A%3C%2Fsvg%3E%0A", smile: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.03705%2011.8518C7.03705%2011.8518%207.77779%2013.7037%2010%2013.7037C12.2222%2013.7037%2012.963%2011.8518%2012.963%2011.8518%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.962963%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A", noninductive: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.9259%22%20width%3D%221.48148%22%20height%3D%221.11111%22%20rx%3D%220.555556%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.9259%22%20width%3D%221.48148%22%20height%3D%221.11111%22%20rx%3D%220.555556%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.03705%2012.5927C7.03705%2012.5927%208.14816%2012.5927%2010.3704%2012.5927C12.5926%2012.5927%2012.963%2012.5927%2012.963%2012.5927%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.962963%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A", dissatisfied: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.03705%2013.7037C7.03705%2013.7037%207.77779%2011.8519%2010%2011.8519C12.2222%2011.8519%2012.963%2013.7037%2012.963%2013.7037%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.962963%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A", impatient: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.47573%2011.731C6.96306%2012.129%206.61613%2012.7024%206.47071%2013.2804C6.41784%2013.4905%206.50617%2013.6782%206.65942%2013.78C6.80761%2013.8785%207.00813%2013.8928%207.18477%2013.8C8.9498%2012.8724%2011.0652%2012.8704%2012.8285%2013.8002C13.005%2013.8932%2013.2052%2013.8788%2013.3533%2013.7802C13.5061%2013.6785%2013.5942%2013.4914%2013.5428%2013.2819C13.401%2012.7041%2013.0605%2012.1298%2012.5468%2011.731C11.8676%2011.2038%2010.9552%2010.9132%2010.0112%2010.9132C9.06732%2010.9132%208.15485%2011.2038%207.47573%2011.731Z%22%20fill%3D%22white%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.4%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, q0 = /* @__PURE__ */ JSON.parse('{"down-red":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.90467%203.99244C8.84611%204.1338%208.84611%204.31301%208.84611%204.67143V13.716L5.92068%2010.7906C5.66724%2010.5371%205.54052%2010.4104%205.39916%2010.3519C5.21067%2010.2738%204.9989%2010.2738%204.81041%2010.3519C4.66905%2010.4104%204.54233%2010.5371%204.28889%2010.7906C4.03545%2011.044%203.90873%2011.1707%203.85018%2011.3121C3.77211%2011.5006%203.77211%2011.7124%203.85018%2011.9008C3.90873%2012.0422%204.03545%2012.1689%204.28889%2012.4224L9.03476%2017.1682C9.07839%2017.2127%209.12737%2017.2617%209.18231%2017.3166L9.18239%2017.3167L9.18241%2017.3167C9.40545%2017.5398%209.53035%2017.6647%209.65346%2017.7313C9.67085%2017.7408%209.6882%2017.7492%209.70577%2017.7564C9.89425%2017.8345%2010.106%2017.8345%2010.2945%2017.7564C10.4359%2017.6979%2010.5626%2017.5712%2010.816%2017.3177C10.8986%2017.2352%2010.9677%2017.1661%2011.0253%2017.1056L15.7095%2012.4214L15.7095%2012.4213C15.963%2012.1679%2016.0897%2012.0412%2016.1482%2011.8998C16.2263%2011.7114%2016.2263%2011.4996%2016.1482%2011.3111C16.0897%2011.1697%2015.963%2011.043%2015.7095%2010.7896C15.4561%2010.5361%2015.3294%2010.4094%2015.188%2010.3509C14.9995%2010.2728%2014.7878%2010.2728%2014.5993%2010.3509C14.4579%2010.4094%2014.3312%2010.5361%2014.0778%2010.7896L14.0777%2010.7896L11.1538%2013.7135V4.67142C11.1538%204.31301%2011.1538%204.1338%2011.0953%203.99244C11.0172%203.80395%2010.8674%203.6542%2010.6789%203.57613C10.5376%203.51758%2010.3584%203.51758%209.99996%203.51758C9.64154%203.51758%209.46233%203.51758%209.32097%203.57613C9.13249%203.6542%208.98274%203.80395%208.90467%203.99244Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A","right-gold":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.32508%2011.7609C3.46644%2011.8194%203.64565%2011.8194%204.00407%2011.8194H13.049L10.1235%2014.745C9.87002%2014.9984%209.7433%2015.1251%209.68475%2015.2665C9.60668%2015.455%209.60668%2015.6668%209.68475%2015.8552C9.7433%2015.9966%209.87002%2016.1233%2010.1235%2016.3768C10.3769%2016.6302%2010.5036%2016.7569%2010.645%2016.8155C10.8335%2016.8935%2011.0452%2016.8935%2011.2337%2016.8155C11.3751%2016.7569%2011.5018%2016.6302%2011.7552%2016.3768L16.5105%2011.6215C16.5524%2011.5803%2016.5983%2011.5344%2016.6493%2011.4834L16.6495%2011.4831C16.8561%2011.2765%2016.9785%2011.1542%2017.0484%2011.0394C17.0648%2011.0128%2017.0782%2010.9866%2017.0893%2010.9599C17.1674%2010.7714%2017.1674%2010.5596%2017.0893%2010.3711C17.0308%2010.2298%2016.904%2010.1031%2016.6506%209.84962C16.5685%209.76752%2016.4997%209.69872%2016.4394%209.64123L11.7542%204.95601C11.5007%204.70257%2011.374%204.57585%2011.2327%204.5173C11.0442%204.43923%2010.8324%204.43923%2010.6439%204.5173C10.5026%204.57585%2010.3758%204.70257%2010.1224%204.95601L10.1224%204.95601C9.86895%205.20945%209.74223%205.33617%209.68368%205.47753C9.60561%205.66601%209.60561%205.87779%209.68368%206.06627C9.74223%206.20764%209.86895%206.33436%2010.1224%206.5878L13.0463%209.51175H4.00407C3.64565%209.51175%203.46644%209.51175%203.32508%209.5703C3.1366%209.64837%202.98685%209.79812%202.90877%209.98661C2.85022%2010.128%202.85022%2010.3072%202.85022%2010.6656C2.85022%2011.024%202.85022%2011.2032%202.90877%2011.3446C2.98685%2011.5331%203.1366%2011.6828%203.32508%2011.7609Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A","up-green":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.0936%2017.3406C11.1522%2017.1992%2011.1522%2017.02%2011.1522%2016.6616V7.61701L14.0776%2010.5424C14.3311%2010.7959%2014.4578%2010.9226%2014.5991%2010.9811C14.7876%2011.0592%2014.9994%2011.0592%2015.1879%2010.9811C15.3292%2010.9226%2015.456%2010.7959%2015.7094%2010.5424C15.9628%2010.289%2016.0896%2010.1623%2016.1481%2010.0209C16.2262%209.83243%2016.2262%209.62066%2016.1481%209.43217C16.0896%209.29081%2015.9628%209.16409%2015.7094%208.91065L10.9645%204.16576C10.9207%204.12105%2010.8714%204.07178%2010.8161%204.01648L10.8159%204.0163C10.5916%203.792%2010.4666%203.66696%2010.3428%203.60058C10.3261%203.59154%2010.3094%203.58358%2010.2925%203.57658C10.104%203.49851%209.89226%203.49851%209.70378%203.57658C9.56242%203.63514%209.4357%203.76186%209.18226%204.0153C9.09955%204.09801%209.03034%204.16722%208.97258%204.22785L4.28878%208.91166C4.03534%209.1651%203.90862%209.29182%203.85006%209.43318C3.77199%209.62166%203.77199%209.83344%203.85006%2010.0219C3.90862%2010.1633%204.03534%2010.29%204.28878%2010.5434C4.54221%2010.7969%204.66893%2010.9236%204.8103%2010.9822C4.99878%2011.0602%205.21056%2011.0602%205.39904%2010.9822C5.5404%2010.9236%205.66712%2010.7969%205.92056%2010.5434L5.92056%2010.5434L8.84449%207.61951V16.6616C8.84449%2017.02%208.84449%2017.1992%208.90305%2017.3406C8.98112%2017.5291%209.13087%2017.6788%209.31935%2017.7569C9.46072%2017.8154%209.63992%2017.8154%209.99834%2017.8154C10.3568%2017.8154%2010.536%2017.8154%2010.6773%2017.7569C10.8658%2017.6788%2011.0156%2017.5291%2011.0936%2017.3406Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndDown-gold":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.5062%206.72126C4.56476%206.86262%204.69148%206.98934%204.94492%207.24278L11.3404%2013.6382L7.20313%2013.6382C6.84471%2013.6382%206.66551%2013.6382%206.52414%2013.6968C6.33566%2013.7749%206.18591%2013.9246%206.10784%2014.1131C6.04928%2014.2545%206.04928%2014.4337%206.04928%2014.7921C6.04928%2015.1505%206.04928%2015.3297%206.10784%2015.4711C6.18591%2015.6596%206.33566%2015.8093%206.52414%2015.8874C6.66551%2015.9459%206.84471%2015.9459%207.20313%2015.9459L13.9194%2015.9459C13.9805%2015.9465%2014.0484%2015.9465%2014.1243%2015.9465H14.1243C14.4353%2015.9465%2014.6114%2015.9465%2014.7449%2015.9082C14.7659%2015.9023%2014.7859%2015.8954%2014.8052%2015.8874C14.9937%2015.8093%2015.1434%2015.6596%2015.2215%2015.4711C15.2801%2015.3297%2015.2801%2015.1505%2015.2801%2014.7921C15.2801%2014.6767%2015.2801%2014.5799%2015.2781%2014.497L15.2781%207.86957C15.2781%207.51115%2015.2781%207.33194%2015.2195%207.19058C15.1415%207.0021%2014.9917%206.85235%2014.8032%206.77428C14.6619%206.71572%2014.4827%206.71572%2014.1243%206.71572C13.7658%206.71572%2013.5866%206.71572%2013.4453%206.77428C13.2568%206.85235%2013.107%207.0021%2013.029%207.19058C12.9704%207.33194%2012.9704%207.51115%2012.9704%207.86957L12.9704%2012.0047L6.5767%205.61099C6.32326%205.35755%206.19654%205.23083%206.05518%205.17228C5.8667%205.09421%205.65492%205.09421%205.46644%205.17228C5.32508%205.23083%205.19836%205.35755%204.94492%205.61099C4.69148%205.86443%204.56476%205.99115%204.5062%206.13251C4.42813%206.32099%204.42813%206.53277%204.5062%206.72126Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndUp-gold":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.05431%2016.1597C6.19567%2016.1012%206.32239%2015.9745%206.57583%2015.721L12.9712%209.32568L12.9712%2013.4626C12.9712%2013.821%2012.9712%2014.0002%2013.0297%2014.1416C13.1078%2014.3301%2013.2576%2014.4798%2013.446%2014.5579C13.5874%2014.6164%2013.7666%2014.6164%2014.125%2014.6164C14.4834%2014.6164%2014.6626%2014.6164%2014.804%2014.5579C14.9925%2014.4798%2015.1422%2014.3301%2015.2203%2014.1416C15.2789%2014.0002%2015.2789%2013.821%2015.2789%2013.4626L15.2789%206.75233C15.2795%206.68972%2015.2795%206.62004%2015.2795%206.54182L15.2795%206.54157C15.2795%206.22585%2015.2795%206.04918%2015.2395%205.91495C15.2339%205.89605%2015.2276%205.878%2015.2203%205.86053C15.1422%205.67204%2014.9925%205.52229%2014.804%205.44422C14.6626%205.38567%2014.4834%205.38567%2014.125%205.38567L14.125%205.38567C14.0075%205.38567%2013.9093%205.38567%2013.8254%205.38773L7.20256%205.38773C6.84414%205.38773%206.66493%205.38773%206.52357%205.44628C6.33509%205.52436%206.18534%205.6741%206.10727%205.86259C6.04871%206.00395%206.04871%206.18315%206.04871%206.54156V6.54157L6.04871%206.54159C6.04871%206.9%206.04871%207.0792%206.10727%207.22056C6.18534%207.40905%206.33509%207.55879%206.52357%207.63687C6.66493%207.69542%206.84414%207.69542%207.20256%207.69542H11.3379L4.94405%2014.0892C4.69061%2014.3427%204.56389%2014.4694%204.50533%2014.6108C4.42726%2014.7992%204.42726%2015.011%204.50533%2015.1995C4.56389%2015.3409%204.69061%2015.4676%204.94405%2015.721C5.19749%2015.9745%205.32421%2016.1012%205.46557%2016.1597C5.65405%2016.2378%205.86583%2016.2378%206.05431%2016.1597Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A","down-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.90467%203.99244C8.84611%204.1338%208.84611%204.31301%208.84611%204.67143V13.716L5.92068%2010.7906C5.66724%2010.5371%205.54052%2010.4104%205.39916%2010.3519C5.21067%2010.2738%204.9989%2010.2738%204.81041%2010.3519C4.66905%2010.4104%204.54233%2010.5371%204.28889%2010.7906C4.03545%2011.044%203.90873%2011.1707%203.85018%2011.3121C3.77211%2011.5006%203.77211%2011.7124%203.85018%2011.9008C3.90873%2012.0422%204.03545%2012.1689%204.28889%2012.4224L9.03476%2017.1682C9.07839%2017.2127%209.12737%2017.2617%209.18231%2017.3166L9.18239%2017.3167L9.18241%2017.3167C9.40545%2017.5398%209.53035%2017.6647%209.65346%2017.7313C9.67085%2017.7408%209.6882%2017.7492%209.70577%2017.7564C9.89425%2017.8345%2010.106%2017.8345%2010.2945%2017.7564C10.4359%2017.6979%2010.5626%2017.5712%2010.816%2017.3177C10.8986%2017.2352%2010.9677%2017.1661%2011.0253%2017.1056L15.7095%2012.4214L15.7095%2012.4213C15.963%2012.1679%2016.0897%2012.0412%2016.1482%2011.8998C16.2263%2011.7114%2016.2263%2011.4996%2016.1482%2011.3111C16.0897%2011.1697%2015.963%2011.043%2015.7095%2010.7896C15.4561%2010.5361%2015.3294%2010.4094%2015.188%2010.3509C14.9995%2010.2728%2014.7878%2010.2728%2014.5993%2010.3509C14.4579%2010.4094%2014.3312%2010.5361%2014.0778%2010.7896L14.0777%2010.7896L11.1538%2013.7135V4.67142C11.1538%204.31301%2011.1538%204.1338%2011.0953%203.99244C11.0172%203.80395%2010.8674%203.6542%2010.6789%203.57613C10.5376%203.51758%2010.3584%203.51758%209.99996%203.51758C9.64154%203.51758%209.46233%203.51758%209.32097%203.57613C9.13249%203.6542%208.98274%203.80395%208.90467%203.99244Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","right-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.32508%2011.7609C3.46644%2011.8194%203.64565%2011.8194%204.00407%2011.8194H13.049L10.1235%2014.745C9.87002%2014.9984%209.7433%2015.1251%209.68475%2015.2665C9.60668%2015.455%209.60668%2015.6668%209.68475%2015.8552C9.7433%2015.9966%209.87002%2016.1233%2010.1235%2016.3768C10.3769%2016.6302%2010.5036%2016.7569%2010.645%2016.8155C10.8335%2016.8935%2011.0452%2016.8935%2011.2337%2016.8155C11.3751%2016.7569%2011.5018%2016.6302%2011.7552%2016.3768L16.5105%2011.6215C16.5524%2011.5803%2016.5983%2011.5344%2016.6493%2011.4834L16.6495%2011.4831C16.8561%2011.2765%2016.9785%2011.1542%2017.0484%2011.0394C17.0648%2011.0128%2017.0782%2010.9866%2017.0893%2010.9599C17.1674%2010.7714%2017.1674%2010.5596%2017.0893%2010.3711C17.0308%2010.2298%2016.904%2010.1031%2016.6506%209.84962C16.5685%209.76752%2016.4997%209.69872%2016.4394%209.64123L11.7542%204.95601C11.5007%204.70257%2011.374%204.57585%2011.2327%204.5173C11.0442%204.43923%2010.8324%204.43923%2010.6439%204.5173C10.5026%204.57585%2010.3758%204.70257%2010.1224%204.95601L10.1224%204.95601C9.86895%205.20945%209.74223%205.33617%209.68368%205.47753C9.60561%205.66601%209.60561%205.87779%209.68368%206.06627C9.74223%206.20764%209.86895%206.33436%2010.1224%206.5878L13.0463%209.51175H4.00407C3.64565%209.51175%203.46644%209.51175%203.32508%209.5703C3.1366%209.64837%202.98685%209.79812%202.90877%209.98661C2.85022%2010.128%202.85022%2010.3072%202.85022%2010.6656C2.85022%2011.024%202.85022%2011.2032%202.90877%2011.3446C2.98685%2011.5331%203.1366%2011.6828%203.32508%2011.7609Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","up-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.0936%2017.3406C11.1522%2017.1992%2011.1522%2017.02%2011.1522%2016.6616V7.61701L14.0776%2010.5424C14.3311%2010.7959%2014.4578%2010.9226%2014.5991%2010.9811C14.7876%2011.0592%2014.9994%2011.0592%2015.1879%2010.9811C15.3292%2010.9226%2015.456%2010.7959%2015.7094%2010.5424C15.9628%2010.289%2016.0896%2010.1623%2016.1481%2010.0209C16.2262%209.83243%2016.2262%209.62066%2016.1481%209.43217C16.0896%209.29081%2015.9628%209.16409%2015.7094%208.91065L10.9645%204.16576C10.9207%204.12105%2010.8714%204.07178%2010.8161%204.01648L10.8159%204.0163C10.5916%203.792%2010.4666%203.66696%2010.3428%203.60058C10.3261%203.59154%2010.3094%203.58358%2010.2925%203.57658C10.104%203.49851%209.89226%203.49851%209.70378%203.57658C9.56242%203.63514%209.4357%203.76186%209.18226%204.0153C9.09955%204.09801%209.03034%204.16722%208.97258%204.22785L4.28878%208.91166C4.03534%209.1651%203.90862%209.29182%203.85006%209.43318C3.77199%209.62166%203.77199%209.83344%203.85006%2010.0219C3.90862%2010.1633%204.03534%2010.29%204.28878%2010.5434C4.54221%2010.7969%204.66893%2010.9236%204.8103%2010.9822C4.99878%2011.0602%205.21056%2011.0602%205.39904%2010.9822C5.5404%2010.9236%205.66712%2010.7969%205.92056%2010.5434L5.92056%2010.5434L8.84449%207.61951V16.6616C8.84449%2017.02%208.84449%2017.1992%208.90305%2017.3406C8.98112%2017.5291%209.13087%2017.6788%209.31935%2017.7569C9.46072%2017.8154%209.63992%2017.8154%209.99834%2017.8154C10.3568%2017.8154%2010.536%2017.8154%2010.6773%2017.7569C10.8658%2017.6788%2011.0156%2017.5291%2011.0936%2017.3406Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndDown-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.5062%206.72126C4.56476%206.86262%204.69148%206.98934%204.94492%207.24278L11.3404%2013.6382L7.20313%2013.6382C6.84471%2013.6382%206.66551%2013.6382%206.52414%2013.6968C6.33566%2013.7749%206.18591%2013.9246%206.10784%2014.1131C6.04928%2014.2545%206.04928%2014.4337%206.04928%2014.7921C6.04928%2015.1505%206.04928%2015.3297%206.10784%2015.4711C6.18591%2015.6596%206.33566%2015.8093%206.52414%2015.8874C6.66551%2015.9459%206.84471%2015.9459%207.20313%2015.9459L13.9194%2015.9459C13.9805%2015.9465%2014.0484%2015.9465%2014.1243%2015.9465H14.1243C14.4353%2015.9465%2014.6114%2015.9465%2014.7449%2015.9082C14.7659%2015.9023%2014.7859%2015.8954%2014.8052%2015.8874C14.9937%2015.8093%2015.1434%2015.6596%2015.2215%2015.4711C15.2801%2015.3297%2015.2801%2015.1505%2015.2801%2014.7921C15.2801%2014.6767%2015.2801%2014.5799%2015.2781%2014.497L15.2781%207.86957C15.2781%207.51115%2015.2781%207.33194%2015.2195%207.19058C15.1415%207.0021%2014.9917%206.85235%2014.8032%206.77428C14.6619%206.71572%2014.4827%206.71572%2014.1243%206.71572C13.7658%206.71572%2013.5866%206.71572%2013.4453%206.77428C13.2568%206.85235%2013.107%207.0021%2013.029%207.19058C12.9704%207.33194%2012.9704%207.51115%2012.9704%207.86957L12.9704%2012.0047L6.5767%205.61099C6.32326%205.35755%206.19654%205.23083%206.05518%205.17228C5.8667%205.09421%205.65492%205.09421%205.46644%205.17228C5.32508%205.23083%205.19836%205.35755%204.94492%205.61099C4.69148%205.86443%204.56476%205.99115%204.5062%206.13251C4.42813%206.32099%204.42813%206.53277%204.5062%206.72126Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndUp-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.05431%2016.1597C6.19567%2016.1012%206.32239%2015.9745%206.57583%2015.721L12.9712%209.32568L12.9712%2013.4626C12.9712%2013.821%2012.9712%2014.0002%2013.0297%2014.1416C13.1078%2014.3301%2013.2576%2014.4798%2013.446%2014.5579C13.5874%2014.6164%2013.7666%2014.6164%2014.125%2014.6164C14.4834%2014.6164%2014.6626%2014.6164%2014.804%2014.5579C14.9925%2014.4798%2015.1422%2014.3301%2015.2203%2014.1416C15.2789%2014.0002%2015.2789%2013.821%2015.2789%2013.4626L15.2789%206.75233C15.2795%206.68972%2015.2795%206.62004%2015.2795%206.54182L15.2795%206.54157C15.2795%206.22585%2015.2795%206.04918%2015.2395%205.91495C15.2339%205.89605%2015.2276%205.878%2015.2203%205.86053C15.1422%205.67204%2014.9925%205.52229%2014.804%205.44422C14.6626%205.38567%2014.4834%205.38567%2014.125%205.38567L14.125%205.38567C14.0075%205.38567%2013.9093%205.38567%2013.8254%205.38773L7.20256%205.38773C6.84414%205.38773%206.66493%205.38773%206.52357%205.44628C6.33509%205.52436%206.18534%205.6741%206.10727%205.86259C6.04871%206.00395%206.04871%206.18315%206.04871%206.54156V6.54157L6.04871%206.54159C6.04871%206.9%206.04871%207.0792%206.10727%207.22056C6.18534%207.40905%206.33509%207.55879%206.52357%207.63687C6.66493%207.69542%206.84414%207.69542%207.20256%207.69542H11.3379L4.94405%2014.0892C4.69061%2014.3427%204.56389%2014.4694%204.50533%2014.6108C4.42726%2014.7992%204.42726%2015.011%204.50533%2015.1995C4.56389%2015.3409%204.69061%2015.4676%204.94405%2015.721C5.19749%2015.9745%205.32421%2016.1012%205.46557%2016.1597C5.65405%2016.2378%205.86583%2016.2378%206.05431%2016.1597Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A"}'), Z0 = { cross: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%223.70374%22%20y%3D%228.14795%22%20width%3D%2212.5926%22%20height%3D%223.7037%22%20rx%3D%220.740741%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", up: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M9.44533%205.81157C9.74012%205.47858%2010.2598%205.47858%2010.5546%205.81157L16.2868%2012.2867C16.71%2012.7647%2016.3706%2013.5184%2015.7322%2013.5184H4.26776C3.62933%2013.5184%203.28995%2012.7647%203.71313%2012.2867L9.44533%205.81157Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", down: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10.5547%2014.1884C10.2599%2014.5214%209.74019%2014.5214%209.4454%2014.1884L3.71321%207.71335C3.29002%207.23532%203.6294%206.48161%204.26784%206.48161L15.7322%206.48161C16.3707%206.48161%2016.7101%207.23532%2016.2869%207.71335L10.5547%2014.1884Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", "rhomboid-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2.1415%2011.1984C1.8412%2010.9074%201.8412%2010.4256%202.1415%2010.1346L9.48467%203.01785C9.77196%202.73942%2010.2284%202.73942%2010.5157%203.01786L17.8586%2010.1346C18.1589%2010.4256%2018.1589%2010.9074%2017.8586%2011.1984L10.5157%2018.3151C10.2284%2018.5936%209.77196%2018.5936%209.48467%2018.3152L2.1415%2011.1984Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-greed": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-pink": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23FB9D9D%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-gray": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-black": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22black%22%2F%3E%0A%3C%2Fsvg%3E%0A", "triangle-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_613_237)%22%3E%0A%3Cpath%20d%3D%22M9.32308%204.41301C9.58368%203.82623%2010.4164%203.82623%2010.677%204.413L15.9526%2016.2917C16.1701%2016.7815%2015.8115%2017.3331%2015.2756%2017.3331H4.72454C4.18858%2017.3331%203.83002%2016.7815%204.04756%2016.2917L9.32308%204.41301Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_613_237%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%20transform%3D%22translate(0%200.666504)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A", "indicate-greed": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%222.76941%22%20y%3D%222.76941%22%20width%3D%2214.4612%22%20height%3D%2214.4612%22%20rx%3D%223%22%20fill%3D%22black%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224.5%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", "indicate-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%222.76941%22%20y%3D%222.76941%22%20width%3D%2214.4612%22%20height%3D%2214.4612%22%20rx%3D%223%22%20fill%3D%22black%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224.5%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", "indicate-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%222.76941%22%20y%3D%222.76941%22%20width%3D%2214.4612%22%20height%3D%2214.4612%22%20rx%3D%223%22%20fill%3D%22black%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224.5%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, G0 = { mistake2: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.12194%206.33702C4.1805%206.47839%204.30722%206.6051%204.56066%206.85854L8.36822%2010.6661L4.56062%2014.4737C4.30718%2014.7272%204.18046%2014.8539%204.12191%2014.9952C4.04384%2015.1837%204.04384%2015.3955%204.12191%2015.584C4.18046%2015.7253%204.30718%2015.8521%204.56062%2016.1055C4.81406%2016.3589%204.94078%2016.4857%205.08214%2016.5442C5.27062%2016.6223%205.4824%2016.6223%205.67089%2016.5442C5.81225%2016.4857%205.93897%2016.3589%206.19241%2016.1055L10%2012.2979L13.8074%2016.1053C14.0609%2016.3588%2014.1876%2016.4855%2014.329%2016.544C14.5174%2016.6221%2014.7292%2016.6221%2014.9177%2016.544C15.0591%2016.4855%2015.1858%2016.3588%2015.4392%2016.1053L15.4392%2016.1053C15.6927%2015.8519%2015.8194%2015.7252%2015.8779%2015.5838C15.956%2015.3953%2015.956%2015.1835%2015.8779%2014.9951C15.8194%2014.8537%2015.6927%2014.727%2015.4392%2014.4735L15.4392%2014.4735L11.6318%2010.6661L15.4392%206.85872C15.6926%206.60528%2015.8193%206.47856%2015.8779%206.3372C15.956%206.14871%2015.956%205.93694%2015.8779%205.74845C15.8193%205.60709%2015.6926%205.48037%2015.4392%205.22693C15.1857%204.97349%2015.059%204.84677%2014.9177%204.78822C14.7292%204.71015%2014.5174%204.71015%2014.3289%204.78822C14.1876%204.84677%2014.0608%204.97349%2013.8074%205.22693L10%209.03433L6.19244%205.22676C5.939%204.97332%205.81228%204.8466%205.67092%204.78805C5.48244%204.70997%205.27066%204.70997%205.08218%204.78805C4.94082%204.8466%204.8141%204.97332%204.56066%205.22676L4.56066%205.22676C4.30722%205.4802%204.1805%205.60692%204.12194%205.74828C4.04387%205.93676%204.04387%206.14854%204.12194%206.33702Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", warn2: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8.49778%205.00963C8.48513%204.56774%208.47881%204.3468%208.56086%204.17746C8.63301%204.02856%208.75124%203.90689%208.89802%203.83052C9.06494%203.74365%209.28597%203.74365%209.72805%203.74365H10.272C10.714%203.74365%2010.9351%203.74365%2011.102%203.83052C11.2488%203.9069%2011.367%204.02856%2011.4392%204.17746C11.5212%204.3468%2011.5149%204.56775%2011.5022%205.00964L11.2644%2013.3173C11.2524%2013.737%2011.2464%2013.9468%2011.1609%2014.1065C11.0857%2014.2471%2010.9687%2014.3609%2010.826%2014.432C10.6639%2014.5129%2010.454%2014.5129%2010.0342%2014.5129H9.96582C9.54601%2014.5129%209.33611%2014.5129%209.17397%2014.432C9.0313%2014.3609%208.91426%2014.2471%208.83904%2014.1065C8.75357%2013.9468%208.74756%2013.737%208.73555%2013.3173L8.49778%205.00963Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3Crect%20x%3D%228.76917%22%20y%3D%2215.2817%22%20width%3D%222.46154%22%20height%3D%222.46154%22%20rx%3D%220.769231%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", correct2: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_613_248)%22%3E%0A%3Cpath%20d%3D%22M15.689%205.69723C15.5476%205.75578%2015.4209%205.8825%2015.1675%206.13594L7.82436%2013.4791L4.83279%2010.4875C4.57935%2010.2341%204.45263%2010.1073%204.31127%2010.0488C4.12278%209.97071%203.91101%209.97071%203.72252%2010.0488C3.58116%2010.1073%203.45444%2010.2341%203.201%2010.4875C2.94756%2010.7409%202.82084%2010.8676%202.76229%2011.009C2.68422%2011.1975%202.68422%2011.4093%202.76229%2011.5978C2.82084%2011.7391%202.94756%2011.8658%203.201%2012.1193L7.0085%2015.9268C7.26194%2016.1802%207.38866%2016.3069%207.53002%2016.3655C7.7185%2016.4436%207.93028%2016.4436%208.11876%2016.3655C8.26013%2016.3069%208.38685%2016.1802%208.64028%2015.9268C8.66387%2015.9032%208.68636%2015.8807%208.7078%2015.8592L16.7993%207.76772C17.0527%207.51428%2017.1794%207.38756%2017.238%207.2462C17.3161%207.05772%2017.3161%206.84594%2017.238%206.65746C17.1794%206.5161%2017.0527%206.38938%2016.7993%206.13594C16.5458%205.8825%2016.4191%205.75578%2016.2777%205.69723C16.0893%205.61915%2015.8775%205.61915%2015.689%205.69723Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_613_248%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%20transform%3D%22translate(0%200.666504)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A" }, H0 = { "flag-green": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M15.4274%204.74935C14.0982%205.1012%2013.1363%205.13675%2012.3604%205.03379C11.5776%204.93009%2010.9487%204.68342%2010.2456%204.40416L10.2246%204.39527C9.53411%204.1212%208.76945%203.8175%207.81312%203.69157C6.84279%203.56268%205.71016%203.61898%204.24802%204.0049C4.09343%204.04217%203.95538%204.13393%203.85649%204.26515C3.7576%204.39636%203.70374%204.55925%203.70374%204.72712V17.3197C3.70374%2017.5162%203.79534%2017.7046%203.92654%2017.8435C4.05773%2017.9824%204.25893%2018.0605%204.44448%2018.0605C4.63002%2018.0605%204.84911%2017.9824%204.98031%2017.8435C5.11151%2017.7046%205.18522%2017.5162%205.18522%2017.3197V14.9123V12.5049C6.24649%2012.2738%206.97081%2012.2605%207.63962%2012.3486C8.42246%2012.4523%209.05139%2012.699%209.75448%2012.9782L9.77546%2012.9871C10.466%2013.2612%2011.2306%2013.5649%2012.1869%2013.6908C13.1601%2013.8197%2014.2976%2013.7627%2015.7667%2013.3738C15.8866%2013.3421%2016.0727%2013.2135%2016.1483%2013.111C16.2238%2013.0084%2016.2963%2012.8204%2016.2963%2012.6553V5.46787C16.2963%205.35535%2016.2721%205.24432%2016.2255%205.1432C16.1788%205.04208%2016.1111%204.95353%2016.0274%204.88428C15.9436%204.81502%2015.846%204.76688%2015.7421%204.7435C15.6382%204.72012%2015.494%204.73173%2015.4274%204.74935Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", "flag-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M15.4274%204.74935C14.0982%205.1012%2013.1363%205.13675%2012.3604%205.03379C11.5776%204.93009%2010.9487%204.68342%2010.2456%204.40416L10.2246%204.39527C9.53411%204.1212%208.76945%203.8175%207.81312%203.69157C6.84279%203.56268%205.71016%203.61898%204.24802%204.0049C4.09343%204.04217%203.95538%204.13393%203.85649%204.26515C3.7576%204.39636%203.70374%204.55925%203.70374%204.72712V17.3197C3.70374%2017.5162%203.79534%2017.7046%203.92654%2017.8435C4.05773%2017.9824%204.25893%2018.0605%204.44448%2018.0605C4.63002%2018.0605%204.84911%2017.9824%204.98031%2017.8435C5.11151%2017.7046%205.18522%2017.5162%205.18522%2017.3197V14.9123V12.5049C6.24649%2012.2738%206.97081%2012.2605%207.63962%2012.3486C8.42246%2012.4523%209.05139%2012.699%209.75448%2012.9782L9.77546%2012.9871C10.466%2013.2612%2011.2306%2013.5649%2012.1869%2013.6908C13.1601%2013.8197%2014.2976%2013.7627%2015.7667%2013.3738C15.8866%2013.3421%2016.0727%2013.2135%2016.1483%2013.111C16.2238%2013.0084%2016.2963%2012.8204%2016.2963%2012.6553V5.46787C16.2963%205.35535%2016.2721%205.24432%2016.2255%205.1432C16.1788%205.04208%2016.1111%204.95353%2016.0274%204.88428C15.9436%204.81502%2015.846%204.76688%2015.7421%204.7435C15.6382%204.72012%2015.494%204.73173%2015.4274%204.74935Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", "flag-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M15.4274%204.74935C14.0982%205.1012%2013.1363%205.13675%2012.3604%205.03379C11.5776%204.93009%2010.9487%204.68342%2010.2456%204.40416L10.2246%204.39527C9.53411%204.1212%208.76945%203.8175%207.81312%203.69157C6.84279%203.56268%205.71016%203.61898%204.24802%204.0049C4.09343%204.04217%203.95538%204.13393%203.85649%204.26515C3.7576%204.39636%203.70374%204.55925%203.70374%204.72712V17.3197C3.70374%2017.5162%203.79534%2017.7046%203.92654%2017.8435C4.05773%2017.9824%204.25893%2018.0605%204.44448%2018.0605C4.63002%2018.0605%204.84911%2017.9824%204.98031%2017.8435C5.11151%2017.7046%205.18522%2017.5162%205.18522%2017.3197V14.9123V12.5049C6.24649%2012.2738%206.97081%2012.2605%207.63962%2012.3486C8.42246%2012.4523%209.05139%2012.699%209.75448%2012.9782L9.77546%2012.9871C10.466%2013.2612%2011.2306%2013.5649%2012.1869%2013.6908C13.1601%2013.8197%2014.2976%2013.7627%2015.7667%2013.3738C15.8866%2013.3421%2016.0727%2013.2135%2016.1483%2013.111C16.2238%2013.0084%2016.2963%2012.8204%2016.2963%2012.6553V5.46787C16.2963%205.35535%2016.2721%205.24432%2016.2255%205.1432C16.1788%205.04208%2016.1111%204.95353%2016.0274%204.88428C15.9436%204.81502%2015.846%204.76688%2015.7421%204.7435C15.6382%204.72012%2015.494%204.73173%2015.4274%204.74935Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, j0 = { "cell-0": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224%22%20y%3D%224.00098%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%224.00098%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-25": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%224.00098%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-50": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-75": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%2211.251%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-100": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%2211.251%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%2211.251%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, C = {
1299
- feedback: V0,
1300
- star: O0,
1301
- progress: $0,
1302
- signal: P0,
1303
- feeling: W0,
1304
- arrow: q0,
1305
- shape: Z0,
1306
- feedback2: G0,
1307
- flag: H0,
1308
- cell: j0
1309
- }, X0 = [
1292
+ J = G0([
1293
+ c2(0, _(M2)),
1294
+ c2(1, _(y)),
1295
+ c2(2, _(K)),
1296
+ c2(3, W)
1297
+ ], J);
1298
+ const H0 = { mistake: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%227.03704%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.87359%206.87332C6.6146%207.13231%206.6146%207.55221%206.87359%207.8112L9.062%209.99961L6.87356%2012.188C6.61457%2012.447%206.61457%2012.8669%206.87356%2013.1259C7.13255%2013.3849%207.55245%2013.3849%207.81144%2013.1259L9.99987%2010.9375L12.1882%2013.1258C12.4472%2013.3848%2012.8671%2013.3848%2013.1261%2013.1258C13.3851%2012.8669%2013.3851%2012.447%2013.1261%2012.188L10.9378%209.99961L13.1261%207.81127C13.3851%207.55228%2013.3851%207.13238%2013.1261%206.87339C12.8671%206.61441%2012.4472%206.61441%2012.1882%206.87339L9.99987%209.06173L7.81147%206.87332C7.55248%206.61433%207.13257%206.61433%206.87359%206.87332Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A", warn: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%227.03704%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3Cpath%20d%3D%22M9.16817%206.67735C9.16646%206.61745%209.1656%206.5875%209.16653%206.56236C9.18103%206.16817%209.49136%205.84883%209.88497%205.82306C9.91008%205.82141%209.94004%205.82141%209.99996%205.82141V5.82141C10.0599%205.82141%2010.0899%205.82141%2010.115%205.82306C10.5086%205.84883%2010.8189%206.16817%2010.8334%206.56236C10.8343%206.5875%2010.8335%206.61745%2010.8318%206.67735L10.7043%2011.131C10.6934%2011.5121%2010.3812%2011.8154%209.99995%2011.8154V11.8154C9.61866%2011.8154%209.30655%2011.5121%209.29564%2011.131L9.16817%206.67735Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3Crect%20x%3D%229.31488%22%20y%3D%2212.8086%22%20width%3D%221.37006%22%20height%3D%221.37006%22%20rx%3D%220.685032%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A", correct: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.037%2010C17.037%2013.8865%2013.8864%2017.0371%209.99999%2017.0371C6.11354%2017.0371%202.96295%2013.8865%202.96295%2010C2.96295%206.1136%206.11354%202.96301%209.99999%202.96301C13.8864%202.96301%2017.037%206.1136%2017.037%2010Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3Cpath%20d%3D%22M13.9239%207.17477C13.6638%206.91472%2013.2422%206.91472%2012.9821%207.17477L8.74433%2011.4126L7.01786%209.6861C6.75781%209.42606%206.33619%209.42606%206.07614%209.6861C5.81609%209.94615%205.81609%2010.3678%206.07614%2010.6278L8.27349%2012.8252C8.53354%2013.0852%208.95516%2013.0852%209.21521%2012.8252L9.2195%2012.8209L13.9239%208.1165C14.1839%207.85645%2014.1839%207.43482%2013.9239%207.17477Z%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, j0 = { starEmpty: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.8451%207.0699%2012.2165%207.33978%2012.6421%207.36863L16.2362%207.61233C16.5693%207.63492%2016.7048%208.05202%2016.4486%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.215%2011.2859%2013.319%2011.6996L14.1979%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6418%2015.5971L10.5908%2013.6817C10.2296%2013.4549%209.77045%2013.4549%209.40924%2013.6817L6.35828%2015.5971C6.07553%2015.7746%205.72072%2015.5168%205.80217%2015.1931L6.68105%2011.6996C6.7851%2011.2859%206.64322%2010.8493%206.31592%2010.5758L3.55145%208.26607C3.29525%208.05202%203.43078%207.63492%203.76386%207.61233L7.358%207.36863C7.78352%207.33978%208.15498%207.0699%208.31391%206.67412L9.65633%203.3312C9.78074%203.0214%2010.2193%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fsvg%3E%0A", starIncomplete: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_613_177)%22%3E%0A%3Cmask%20id%3D%22mask0_613_177%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%2210%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%2220%22%3E%0A%3Crect%20x%3D%2210.3704%22%20y%3D%220.37037%22%20width%3D%229.25926%22%20height%3D%2219.2593%22%20fill%3D%22%23C4C4C4%22%20stroke%3D%22%23F7D564%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fmask%3E%0A%3Cg%20mask%3D%22url(%23mask0_613_177)%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.845%207.0699%2012.2165%207.33978%2012.642%207.36863L16.2361%207.61233C16.5692%207.63492%2016.7047%208.05202%2016.4485%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.2149%2011.2859%2013.3189%2011.6996L14.1978%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6417%2015.5971L10.5908%2013.6817C10.2295%2013.4549%209.77039%2013.4549%209.40918%2013.6817L6.35822%2015.5971C6.07547%2015.7746%205.72066%2015.5168%205.80211%2015.1931L6.68098%2011.6996C6.78504%2011.2859%206.64316%2010.8493%206.31586%2010.5758L3.55139%208.26607C3.29519%208.05202%203.43072%207.63492%203.7638%207.61233L7.35793%207.36863C7.78346%207.33978%208.15491%207.0699%208.31385%206.67412L9.65627%203.3312C9.78068%203.0214%2010.2192%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23fff%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fg%3E%0A%3Cmask%20id%3D%22mask1_613_177%22%20style%3D%22mask-type%3Aalpha%22%20maskUnits%3D%22userSpaceOnUse%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2210%22%20height%3D%2220%22%3E%0A%3Crect%20width%3D%2210%22%20height%3D%2220%22%20fill%3D%22%23C4C4C4%22%2F%3E%0A%3C%2Fmask%3E%0A%3Cg%20mask%3D%22url(%23mask1_613_177)%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.845%207.0699%2012.2165%207.33978%2012.642%207.36863L16.2361%207.61233C16.5692%207.63492%2016.7047%208.05202%2016.4485%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.2149%2011.2859%2013.3189%2011.6996L14.1978%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6417%2015.5971L10.5908%2013.6817C10.2295%2013.4549%209.77039%2013.4549%209.40918%2013.6817L6.35822%2015.5971C6.07547%2015.7746%205.72066%2015.5168%205.80211%2015.1931L6.68098%2011.6996C6.78504%2011.2859%206.64316%2010.8493%206.31586%2010.5758L3.55139%208.26607C3.29519%208.05202%203.43072%207.63492%203.7638%207.61233L7.35793%207.36863C7.78346%207.33978%208.15491%207.0699%208.31385%206.67412L9.65627%203.3312C9.78068%203.0214%2010.2192%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fg%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_613_177%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A", starFull: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10.3437%203.3312L11.6861%206.67412C11.8451%207.0699%2012.2165%207.33978%2012.6421%207.36863L16.2362%207.61233C16.5693%207.63492%2016.7048%208.05202%2016.4486%208.26608L13.6841%2010.5758C13.3568%2010.8493%2013.215%2011.2859%2013.319%2011.6996L14.1979%2015.1931C14.2793%2015.5168%2013.9245%2015.7746%2013.6418%2015.5971L10.5908%2013.6817C10.2296%2013.4549%209.77045%2013.4549%209.40924%2013.6817L6.35828%2015.5971C6.07553%2015.7746%205.72072%2015.5168%205.80217%2015.1931L6.68105%2011.6996C6.7851%2011.2859%206.64322%2010.8493%206.31592%2010.5758L3.55145%208.26607C3.29525%208.05202%203.43078%207.63492%203.76386%207.61233L7.358%207.36863C7.78352%207.33978%208.15498%207.0699%208.31391%206.67412L9.65633%203.3312C9.78074%203.0214%2010.2193%203.0214%2010.3437%203.3312Z%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%23FFBD37%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, X0 = { progress0: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress25: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Cpath%20d%3D%22M16.2963%209.99991C16.2963%209.17307%2016.1335%208.35432%2015.8171%207.59042C15.5006%206.82652%2015.0369%206.13242%2014.4522%205.54776C13.8675%204.96309%2013.1734%204.49931%2012.4095%204.18289C11.6456%203.86647%2010.8269%203.70361%2010%203.70361L10%209.99991H16.2963Z%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress50: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Cpath%20d%3D%22M10%2016.2962C11.6699%2016.2962%2013.2714%2015.6328%2014.4522%2014.4521C15.633%2013.2713%2016.2963%2011.6698%2016.2963%209.99991C16.2963%208.33003%2015.633%206.72854%2014.4522%205.54776C13.2714%204.36697%2011.6699%203.70361%2010%203.70361L10%209.99991L10%2016.2962Z%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress75: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Cpath%20d%3D%22M3.70374%209.99991C3.70374%2011.2452%204.07301%2012.4625%204.76485%2013.4979C5.4567%2014.5334%206.44005%2015.3404%207.59054%2015.8169C8.74104%2016.2935%2010.007%2016.4182%2011.2284%2016.1752C12.4497%2015.9323%2013.5716%2015.3326%2014.4522%2014.4521C15.3327%2013.5715%2015.9324%2012.4496%2016.1753%2011.2283C16.4183%2010.0069%2016.2936%208.74092%2015.8171%207.59042C15.3405%206.43992%2014.5335%205.45658%2013.4981%204.76473C12.4626%204.07288%2011.2453%203.70361%2010%203.70361L10%209.99991L3.70374%209.99991Z%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A", progress100: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99993%22%20r%3D%226.66667%22%20stroke%3D%22%237A7A7A%22%20stroke-width%3D%220.740741%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%229.99991%22%20r%3D%226.2963%22%20fill%3D%22%237A7A7A%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, Y0 = { signal0: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal25: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal50: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal75: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93921%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70435%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A", signal100: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%2214.4764%22%20y%3D%222.98926%22%20width%3D%222.3%22%20height%3D%2214.0597%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%2210.7255%22%20y%3D%225.93933%22%20width%3D%222.3%22%20height%3D%2211.1096%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%226.97455%22%20y%3D%229.70447%22%20width%3D%222.3%22%20height%3D%227.3443%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3Crect%20x%3D%223.22363%22%20y%3D%2213.3302%22%20width%3D%222.3%22%20height%3D%223.71851%22%20rx%3D%220.5%22%20fill%3D%22%230493EE%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, K0 = { guffaw: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M16.887%2010C16.887%2013.8037%2013.8036%2016.8871%209.99999%2016.8871C6.19638%2016.8871%203.11295%2013.8037%203.11295%2010C3.11295%206.19644%206.19638%203.11301%209.99999%203.11301C13.8036%203.11301%2016.887%206.19644%2016.887%2010Z%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M12.5355%2013.5821C13.0482%2013.1841%2013.3951%2012.6107%2013.5405%2012.0327C13.5934%2011.8226%2013.5051%2011.6349%2013.3518%2011.5331C13.2036%2011.4346%2013.0031%2011.4203%2012.8265%2011.5131C11.0615%2012.4407%208.94609%2012.4427%207.1828%2011.513C7.00629%2011.4199%206.80602%2011.4343%206.65798%2011.5329C6.50518%2011.6346%206.41701%2011.8217%206.46844%2012.0312C6.61029%2012.609%206.95079%2013.1833%207.46449%2013.5821C8.14361%2014.1093%209.05608%2014.3999%2010%2014.3999C10.9439%2014.3999%2011.8564%2014.1093%2012.5355%2013.5821Z%22%20fill%3D%22white%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.4%22%2F%3E%0A%3C%2Fsvg%3E%0A", smile: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.03705%2011.8518C7.03705%2011.8518%207.77779%2013.7037%2010%2013.7037C12.2222%2013.7037%2012.963%2011.8518%2012.963%2011.8518%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.962963%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A", noninductive: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.9259%22%20width%3D%221.48148%22%20height%3D%221.11111%22%20rx%3D%220.555556%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.9259%22%20width%3D%221.48148%22%20height%3D%221.11111%22%20rx%3D%220.555556%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.03705%2012.5927C7.03705%2012.5927%208.14816%2012.5927%2010.3704%2012.5927C12.5926%2012.5927%2012.963%2012.5927%2012.963%2012.5927%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.962963%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A", dissatisfied: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.03705%2013.7037C7.03705%2013.7037%207.77779%2011.8519%2010%2011.8519C12.2222%2011.8519%2012.963%2013.7037%2012.963%2013.7037%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.962963%22%20stroke-linecap%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E%0A", impatient: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%229.99999%22%20cy%3D%2210%22%20r%3D%226.88704%22%20fill%3D%22%23FFBD37%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.3%22%2F%3E%0A%3Crect%20x%3D%227.40741%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Crect%20x%3D%2211.1111%22%20y%3D%227.40735%22%20width%3D%221.48148%22%20height%3D%221.48148%22%20rx%3D%220.740741%22%20fill%3D%22%238F5F00%22%2F%3E%0A%3Cpath%20d%3D%22M7.47573%2011.731C6.96306%2012.129%206.61613%2012.7024%206.47071%2013.2804C6.41784%2013.4905%206.50617%2013.6782%206.65942%2013.78C6.80761%2013.8785%207.00813%2013.8928%207.18477%2013.8C8.9498%2012.8724%2011.0652%2012.8704%2012.8285%2013.8002C13.005%2013.8932%2013.2052%2013.8788%2013.3533%2013.7802C13.5061%2013.6785%2013.5942%2013.4914%2013.5428%2013.2819C13.401%2012.7041%2013.0605%2012.1298%2012.5468%2011.731C11.8676%2011.2038%2010.9552%2010.9132%2010.0112%2010.9132C9.06732%2010.9132%208.15485%2011.2038%207.47573%2011.731Z%22%20fill%3D%22white%22%20stroke%3D%22%238F5F00%22%20stroke-width%3D%220.4%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, J0 = /* @__PURE__ */ JSON.parse('{"down-red":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.90467%203.99244C8.84611%204.1338%208.84611%204.31301%208.84611%204.67143V13.716L5.92068%2010.7906C5.66724%2010.5371%205.54052%2010.4104%205.39916%2010.3519C5.21067%2010.2738%204.9989%2010.2738%204.81041%2010.3519C4.66905%2010.4104%204.54233%2010.5371%204.28889%2010.7906C4.03545%2011.044%203.90873%2011.1707%203.85018%2011.3121C3.77211%2011.5006%203.77211%2011.7124%203.85018%2011.9008C3.90873%2012.0422%204.03545%2012.1689%204.28889%2012.4224L9.03476%2017.1682C9.07839%2017.2127%209.12737%2017.2617%209.18231%2017.3166L9.18239%2017.3167L9.18241%2017.3167C9.40545%2017.5398%209.53035%2017.6647%209.65346%2017.7313C9.67085%2017.7408%209.6882%2017.7492%209.70577%2017.7564C9.89425%2017.8345%2010.106%2017.8345%2010.2945%2017.7564C10.4359%2017.6979%2010.5626%2017.5712%2010.816%2017.3177C10.8986%2017.2352%2010.9677%2017.1661%2011.0253%2017.1056L15.7095%2012.4214L15.7095%2012.4213C15.963%2012.1679%2016.0897%2012.0412%2016.1482%2011.8998C16.2263%2011.7114%2016.2263%2011.4996%2016.1482%2011.3111C16.0897%2011.1697%2015.963%2011.043%2015.7095%2010.7896C15.4561%2010.5361%2015.3294%2010.4094%2015.188%2010.3509C14.9995%2010.2728%2014.7878%2010.2728%2014.5993%2010.3509C14.4579%2010.4094%2014.3312%2010.5361%2014.0778%2010.7896L14.0777%2010.7896L11.1538%2013.7135V4.67142C11.1538%204.31301%2011.1538%204.1338%2011.0953%203.99244C11.0172%203.80395%2010.8674%203.6542%2010.6789%203.57613C10.5376%203.51758%2010.3584%203.51758%209.99996%203.51758C9.64154%203.51758%209.46233%203.51758%209.32097%203.57613C9.13249%203.6542%208.98274%203.80395%208.90467%203.99244Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A","right-gold":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.32508%2011.7609C3.46644%2011.8194%203.64565%2011.8194%204.00407%2011.8194H13.049L10.1235%2014.745C9.87002%2014.9984%209.7433%2015.1251%209.68475%2015.2665C9.60668%2015.455%209.60668%2015.6668%209.68475%2015.8552C9.7433%2015.9966%209.87002%2016.1233%2010.1235%2016.3768C10.3769%2016.6302%2010.5036%2016.7569%2010.645%2016.8155C10.8335%2016.8935%2011.0452%2016.8935%2011.2337%2016.8155C11.3751%2016.7569%2011.5018%2016.6302%2011.7552%2016.3768L16.5105%2011.6215C16.5524%2011.5803%2016.5983%2011.5344%2016.6493%2011.4834L16.6495%2011.4831C16.8561%2011.2765%2016.9785%2011.1542%2017.0484%2011.0394C17.0648%2011.0128%2017.0782%2010.9866%2017.0893%2010.9599C17.1674%2010.7714%2017.1674%2010.5596%2017.0893%2010.3711C17.0308%2010.2298%2016.904%2010.1031%2016.6506%209.84962C16.5685%209.76752%2016.4997%209.69872%2016.4394%209.64123L11.7542%204.95601C11.5007%204.70257%2011.374%204.57585%2011.2327%204.5173C11.0442%204.43923%2010.8324%204.43923%2010.6439%204.5173C10.5026%204.57585%2010.3758%204.70257%2010.1224%204.95601L10.1224%204.95601C9.86895%205.20945%209.74223%205.33617%209.68368%205.47753C9.60561%205.66601%209.60561%205.87779%209.68368%206.06627C9.74223%206.20764%209.86895%206.33436%2010.1224%206.5878L13.0463%209.51175H4.00407C3.64565%209.51175%203.46644%209.51175%203.32508%209.5703C3.1366%209.64837%202.98685%209.79812%202.90877%209.98661C2.85022%2010.128%202.85022%2010.3072%202.85022%2010.6656C2.85022%2011.024%202.85022%2011.2032%202.90877%2011.3446C2.98685%2011.5331%203.1366%2011.6828%203.32508%2011.7609Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A","up-green":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.0936%2017.3406C11.1522%2017.1992%2011.1522%2017.02%2011.1522%2016.6616V7.61701L14.0776%2010.5424C14.3311%2010.7959%2014.4578%2010.9226%2014.5991%2010.9811C14.7876%2011.0592%2014.9994%2011.0592%2015.1879%2010.9811C15.3292%2010.9226%2015.456%2010.7959%2015.7094%2010.5424C15.9628%2010.289%2016.0896%2010.1623%2016.1481%2010.0209C16.2262%209.83243%2016.2262%209.62066%2016.1481%209.43217C16.0896%209.29081%2015.9628%209.16409%2015.7094%208.91065L10.9645%204.16576C10.9207%204.12105%2010.8714%204.07178%2010.8161%204.01648L10.8159%204.0163C10.5916%203.792%2010.4666%203.66696%2010.3428%203.60058C10.3261%203.59154%2010.3094%203.58358%2010.2925%203.57658C10.104%203.49851%209.89226%203.49851%209.70378%203.57658C9.56242%203.63514%209.4357%203.76186%209.18226%204.0153C9.09955%204.09801%209.03034%204.16722%208.97258%204.22785L4.28878%208.91166C4.03534%209.1651%203.90862%209.29182%203.85006%209.43318C3.77199%209.62166%203.77199%209.83344%203.85006%2010.0219C3.90862%2010.1633%204.03534%2010.29%204.28878%2010.5434C4.54221%2010.7969%204.66893%2010.9236%204.8103%2010.9822C4.99878%2011.0602%205.21056%2011.0602%205.39904%2010.9822C5.5404%2010.9236%205.66712%2010.7969%205.92056%2010.5434L5.92056%2010.5434L8.84449%207.61951V16.6616C8.84449%2017.02%208.84449%2017.1992%208.90305%2017.3406C8.98112%2017.5291%209.13087%2017.6788%209.31935%2017.7569C9.46072%2017.8154%209.63992%2017.8154%209.99834%2017.8154C10.3568%2017.8154%2010.536%2017.8154%2010.6773%2017.7569C10.8658%2017.6788%2011.0156%2017.5291%2011.0936%2017.3406Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndDown-gold":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.5062%206.72126C4.56476%206.86262%204.69148%206.98934%204.94492%207.24278L11.3404%2013.6382L7.20313%2013.6382C6.84471%2013.6382%206.66551%2013.6382%206.52414%2013.6968C6.33566%2013.7749%206.18591%2013.9246%206.10784%2014.1131C6.04928%2014.2545%206.04928%2014.4337%206.04928%2014.7921C6.04928%2015.1505%206.04928%2015.3297%206.10784%2015.4711C6.18591%2015.6596%206.33566%2015.8093%206.52414%2015.8874C6.66551%2015.9459%206.84471%2015.9459%207.20313%2015.9459L13.9194%2015.9459C13.9805%2015.9465%2014.0484%2015.9465%2014.1243%2015.9465H14.1243C14.4353%2015.9465%2014.6114%2015.9465%2014.7449%2015.9082C14.7659%2015.9023%2014.7859%2015.8954%2014.8052%2015.8874C14.9937%2015.8093%2015.1434%2015.6596%2015.2215%2015.4711C15.2801%2015.3297%2015.2801%2015.1505%2015.2801%2014.7921C15.2801%2014.6767%2015.2801%2014.5799%2015.2781%2014.497L15.2781%207.86957C15.2781%207.51115%2015.2781%207.33194%2015.2195%207.19058C15.1415%207.0021%2014.9917%206.85235%2014.8032%206.77428C14.6619%206.71572%2014.4827%206.71572%2014.1243%206.71572C13.7658%206.71572%2013.5866%206.71572%2013.4453%206.77428C13.2568%206.85235%2013.107%207.0021%2013.029%207.19058C12.9704%207.33194%2012.9704%207.51115%2012.9704%207.86957L12.9704%2012.0047L6.5767%205.61099C6.32326%205.35755%206.19654%205.23083%206.05518%205.17228C5.8667%205.09421%205.65492%205.09421%205.46644%205.17228C5.32508%205.23083%205.19836%205.35755%204.94492%205.61099C4.69148%205.86443%204.56476%205.99115%204.5062%206.13251C4.42813%206.32099%204.42813%206.53277%204.5062%206.72126Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndUp-gold":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.05431%2016.1597C6.19567%2016.1012%206.32239%2015.9745%206.57583%2015.721L12.9712%209.32568L12.9712%2013.4626C12.9712%2013.821%2012.9712%2014.0002%2013.0297%2014.1416C13.1078%2014.3301%2013.2576%2014.4798%2013.446%2014.5579C13.5874%2014.6164%2013.7666%2014.6164%2014.125%2014.6164C14.4834%2014.6164%2014.6626%2014.6164%2014.804%2014.5579C14.9925%2014.4798%2015.1422%2014.3301%2015.2203%2014.1416C15.2789%2014.0002%2015.2789%2013.821%2015.2789%2013.4626L15.2789%206.75233C15.2795%206.68972%2015.2795%206.62004%2015.2795%206.54182L15.2795%206.54157C15.2795%206.22585%2015.2795%206.04918%2015.2395%205.91495C15.2339%205.89605%2015.2276%205.878%2015.2203%205.86053C15.1422%205.67204%2014.9925%205.52229%2014.804%205.44422C14.6626%205.38567%2014.4834%205.38567%2014.125%205.38567L14.125%205.38567C14.0075%205.38567%2013.9093%205.38567%2013.8254%205.38773L7.20256%205.38773C6.84414%205.38773%206.66493%205.38773%206.52357%205.44628C6.33509%205.52436%206.18534%205.6741%206.10727%205.86259C6.04871%206.00395%206.04871%206.18315%206.04871%206.54156V6.54157L6.04871%206.54159C6.04871%206.9%206.04871%207.0792%206.10727%207.22056C6.18534%207.40905%206.33509%207.55879%206.52357%207.63687C6.66493%207.69542%206.84414%207.69542%207.20256%207.69542H11.3379L4.94405%2014.0892C4.69061%2014.3427%204.56389%2014.4694%204.50533%2014.6108C4.42726%2014.7992%204.42726%2015.011%204.50533%2015.1995C4.56389%2015.3409%204.69061%2015.4676%204.94405%2015.721C5.19749%2015.9745%205.32421%2016.1012%205.46557%2016.1597C5.65405%2016.2378%205.86583%2016.2378%206.05431%2016.1597Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A","down-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M8.90467%203.99244C8.84611%204.1338%208.84611%204.31301%208.84611%204.67143V13.716L5.92068%2010.7906C5.66724%2010.5371%205.54052%2010.4104%205.39916%2010.3519C5.21067%2010.2738%204.9989%2010.2738%204.81041%2010.3519C4.66905%2010.4104%204.54233%2010.5371%204.28889%2010.7906C4.03545%2011.044%203.90873%2011.1707%203.85018%2011.3121C3.77211%2011.5006%203.77211%2011.7124%203.85018%2011.9008C3.90873%2012.0422%204.03545%2012.1689%204.28889%2012.4224L9.03476%2017.1682C9.07839%2017.2127%209.12737%2017.2617%209.18231%2017.3166L9.18239%2017.3167L9.18241%2017.3167C9.40545%2017.5398%209.53035%2017.6647%209.65346%2017.7313C9.67085%2017.7408%209.6882%2017.7492%209.70577%2017.7564C9.89425%2017.8345%2010.106%2017.8345%2010.2945%2017.7564C10.4359%2017.6979%2010.5626%2017.5712%2010.816%2017.3177C10.8986%2017.2352%2010.9677%2017.1661%2011.0253%2017.1056L15.7095%2012.4214L15.7095%2012.4213C15.963%2012.1679%2016.0897%2012.0412%2016.1482%2011.8998C16.2263%2011.7114%2016.2263%2011.4996%2016.1482%2011.3111C16.0897%2011.1697%2015.963%2011.043%2015.7095%2010.7896C15.4561%2010.5361%2015.3294%2010.4094%2015.188%2010.3509C14.9995%2010.2728%2014.7878%2010.2728%2014.5993%2010.3509C14.4579%2010.4094%2014.3312%2010.5361%2014.0778%2010.7896L14.0777%2010.7896L11.1538%2013.7135V4.67142C11.1538%204.31301%2011.1538%204.1338%2011.0953%203.99244C11.0172%203.80395%2010.8674%203.6542%2010.6789%203.57613C10.5376%203.51758%2010.3584%203.51758%209.99996%203.51758C9.64154%203.51758%209.46233%203.51758%209.32097%203.57613C9.13249%203.6542%208.98274%203.80395%208.90467%203.99244Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","right-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.32508%2011.7609C3.46644%2011.8194%203.64565%2011.8194%204.00407%2011.8194H13.049L10.1235%2014.745C9.87002%2014.9984%209.7433%2015.1251%209.68475%2015.2665C9.60668%2015.455%209.60668%2015.6668%209.68475%2015.8552C9.7433%2015.9966%209.87002%2016.1233%2010.1235%2016.3768C10.3769%2016.6302%2010.5036%2016.7569%2010.645%2016.8155C10.8335%2016.8935%2011.0452%2016.8935%2011.2337%2016.8155C11.3751%2016.7569%2011.5018%2016.6302%2011.7552%2016.3768L16.5105%2011.6215C16.5524%2011.5803%2016.5983%2011.5344%2016.6493%2011.4834L16.6495%2011.4831C16.8561%2011.2765%2016.9785%2011.1542%2017.0484%2011.0394C17.0648%2011.0128%2017.0782%2010.9866%2017.0893%2010.9599C17.1674%2010.7714%2017.1674%2010.5596%2017.0893%2010.3711C17.0308%2010.2298%2016.904%2010.1031%2016.6506%209.84962C16.5685%209.76752%2016.4997%209.69872%2016.4394%209.64123L11.7542%204.95601C11.5007%204.70257%2011.374%204.57585%2011.2327%204.5173C11.0442%204.43923%2010.8324%204.43923%2010.6439%204.5173C10.5026%204.57585%2010.3758%204.70257%2010.1224%204.95601L10.1224%204.95601C9.86895%205.20945%209.74223%205.33617%209.68368%205.47753C9.60561%205.66601%209.60561%205.87779%209.68368%206.06627C9.74223%206.20764%209.86895%206.33436%2010.1224%206.5878L13.0463%209.51175H4.00407C3.64565%209.51175%203.46644%209.51175%203.32508%209.5703C3.1366%209.64837%202.98685%209.79812%202.90877%209.98661C2.85022%2010.128%202.85022%2010.3072%202.85022%2010.6656C2.85022%2011.024%202.85022%2011.2032%202.90877%2011.3446C2.98685%2011.5331%203.1366%2011.6828%203.32508%2011.7609Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","up-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M11.0936%2017.3406C11.1522%2017.1992%2011.1522%2017.02%2011.1522%2016.6616V7.61701L14.0776%2010.5424C14.3311%2010.7959%2014.4578%2010.9226%2014.5991%2010.9811C14.7876%2011.0592%2014.9994%2011.0592%2015.1879%2010.9811C15.3292%2010.9226%2015.456%2010.7959%2015.7094%2010.5424C15.9628%2010.289%2016.0896%2010.1623%2016.1481%2010.0209C16.2262%209.83243%2016.2262%209.62066%2016.1481%209.43217C16.0896%209.29081%2015.9628%209.16409%2015.7094%208.91065L10.9645%204.16576C10.9207%204.12105%2010.8714%204.07178%2010.8161%204.01648L10.8159%204.0163C10.5916%203.792%2010.4666%203.66696%2010.3428%203.60058C10.3261%203.59154%2010.3094%203.58358%2010.2925%203.57658C10.104%203.49851%209.89226%203.49851%209.70378%203.57658C9.56242%203.63514%209.4357%203.76186%209.18226%204.0153C9.09955%204.09801%209.03034%204.16722%208.97258%204.22785L4.28878%208.91166C4.03534%209.1651%203.90862%209.29182%203.85006%209.43318C3.77199%209.62166%203.77199%209.83344%203.85006%2010.0219C3.90862%2010.1633%204.03534%2010.29%204.28878%2010.5434C4.54221%2010.7969%204.66893%2010.9236%204.8103%2010.9822C4.99878%2011.0602%205.21056%2011.0602%205.39904%2010.9822C5.5404%2010.9236%205.66712%2010.7969%205.92056%2010.5434L5.92056%2010.5434L8.84449%207.61951V16.6616C8.84449%2017.02%208.84449%2017.1992%208.90305%2017.3406C8.98112%2017.5291%209.13087%2017.6788%209.31935%2017.7569C9.46072%2017.8154%209.63992%2017.8154%209.99834%2017.8154C10.3568%2017.8154%2010.536%2017.8154%2010.6773%2017.7569C10.8658%2017.6788%2011.0156%2017.5291%2011.0936%2017.3406Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndDown-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.5062%206.72126C4.56476%206.86262%204.69148%206.98934%204.94492%207.24278L11.3404%2013.6382L7.20313%2013.6382C6.84471%2013.6382%206.66551%2013.6382%206.52414%2013.6968C6.33566%2013.7749%206.18591%2013.9246%206.10784%2014.1131C6.04928%2014.2545%206.04928%2014.4337%206.04928%2014.7921C6.04928%2015.1505%206.04928%2015.3297%206.10784%2015.4711C6.18591%2015.6596%206.33566%2015.8093%206.52414%2015.8874C6.66551%2015.9459%206.84471%2015.9459%207.20313%2015.9459L13.9194%2015.9459C13.9805%2015.9465%2014.0484%2015.9465%2014.1243%2015.9465H14.1243C14.4353%2015.9465%2014.6114%2015.9465%2014.7449%2015.9082C14.7659%2015.9023%2014.7859%2015.8954%2014.8052%2015.8874C14.9937%2015.8093%2015.1434%2015.6596%2015.2215%2015.4711C15.2801%2015.3297%2015.2801%2015.1505%2015.2801%2014.7921C15.2801%2014.6767%2015.2801%2014.5799%2015.2781%2014.497L15.2781%207.86957C15.2781%207.51115%2015.2781%207.33194%2015.2195%207.19058C15.1415%207.0021%2014.9917%206.85235%2014.8032%206.77428C14.6619%206.71572%2014.4827%206.71572%2014.1243%206.71572C13.7658%206.71572%2013.5866%206.71572%2013.4453%206.77428C13.2568%206.85235%2013.107%207.0021%2013.029%207.19058C12.9704%207.33194%2012.9704%207.51115%2012.9704%207.86957L12.9704%2012.0047L6.5767%205.61099C6.32326%205.35755%206.19654%205.23083%206.05518%205.17228C5.8667%205.09421%205.65492%205.09421%205.46644%205.17228C5.32508%205.23083%205.19836%205.35755%204.94492%205.61099C4.69148%205.86443%204.56476%205.99115%204.5062%206.13251C4.42813%206.32099%204.42813%206.53277%204.5062%206.72126Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A","rightAndUp-gray":"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.05431%2016.1597C6.19567%2016.1012%206.32239%2015.9745%206.57583%2015.721L12.9712%209.32568L12.9712%2013.4626C12.9712%2013.821%2012.9712%2014.0002%2013.0297%2014.1416C13.1078%2014.3301%2013.2576%2014.4798%2013.446%2014.5579C13.5874%2014.6164%2013.7666%2014.6164%2014.125%2014.6164C14.4834%2014.6164%2014.6626%2014.6164%2014.804%2014.5579C14.9925%2014.4798%2015.1422%2014.3301%2015.2203%2014.1416C15.2789%2014.0002%2015.2789%2013.821%2015.2789%2013.4626L15.2789%206.75233C15.2795%206.68972%2015.2795%206.62004%2015.2795%206.54182L15.2795%206.54157C15.2795%206.22585%2015.2795%206.04918%2015.2395%205.91495C15.2339%205.89605%2015.2276%205.878%2015.2203%205.86053C15.1422%205.67204%2014.9925%205.52229%2014.804%205.44422C14.6626%205.38567%2014.4834%205.38567%2014.125%205.38567L14.125%205.38567C14.0075%205.38567%2013.9093%205.38567%2013.8254%205.38773L7.20256%205.38773C6.84414%205.38773%206.66493%205.38773%206.52357%205.44628C6.33509%205.52436%206.18534%205.6741%206.10727%205.86259C6.04871%206.00395%206.04871%206.18315%206.04871%206.54156V6.54157L6.04871%206.54159C6.04871%206.9%206.04871%207.0792%206.10727%207.22056C6.18534%207.40905%206.33509%207.55879%206.52357%207.63687C6.66493%207.69542%206.84414%207.69542%207.20256%207.69542H11.3379L4.94405%2014.0892C4.69061%2014.3427%204.56389%2014.4694%204.50533%2014.6108C4.42726%2014.7992%204.42726%2015.011%204.50533%2015.1995C4.56389%2015.3409%204.69061%2015.4676%204.94405%2015.721C5.19749%2015.9745%205.32421%2016.1012%205.46557%2016.1597C5.65405%2016.2378%205.86583%2016.2378%206.05431%2016.1597Z%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A"}'), z0 = { cross: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%223.70374%22%20y%3D%228.14795%22%20width%3D%2212.5926%22%20height%3D%223.7037%22%20rx%3D%220.740741%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", up: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M9.44533%205.81157C9.74012%205.47858%2010.2598%205.47858%2010.5546%205.81157L16.2868%2012.2867C16.71%2012.7647%2016.3706%2013.5184%2015.7322%2013.5184H4.26776C3.62933%2013.5184%203.28995%2012.7647%203.71313%2012.2867L9.44533%205.81157Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", down: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M10.5547%2014.1884C10.2599%2014.5214%209.74019%2014.5214%209.4454%2014.1884L3.71321%207.71335C3.29002%207.23532%203.6294%206.48161%204.26784%206.48161L15.7322%206.48161C16.3707%206.48161%2016.7101%207.23532%2016.2869%207.71335L10.5547%2014.1884Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", "rhomboid-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2.1415%2011.1984C1.8412%2010.9074%201.8412%2010.4256%202.1415%2010.1346L9.48467%203.01785C9.77196%202.73942%2010.2284%202.73942%2010.5157%203.01786L17.8586%2010.1346C18.1589%2010.4256%2018.1589%2010.9074%2017.8586%2011.1984L10.5157%2018.3151C10.2284%2018.5936%209.77196%2018.5936%209.48467%2018.3152L2.1415%2011.1984Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-greed": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-pink": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23FB9D9D%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-gray": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22%23999999%22%2F%3E%0A%3C%2Fsvg%3E%0A", "roundness-black": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210.6664%22%20r%3D%227.03704%22%20fill%3D%22black%22%2F%3E%0A%3C%2Fsvg%3E%0A", "triangle-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_613_237)%22%3E%0A%3Cpath%20d%3D%22M9.32308%204.41301C9.58368%203.82623%2010.4164%203.82623%2010.677%204.413L15.9526%2016.2917C16.1701%2016.7815%2015.8115%2017.3331%2015.2756%2017.3331H4.72454C4.18858%2017.3331%203.83002%2016.7815%204.04756%2016.2917L9.32308%204.41301Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_613_237%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%20transform%3D%22translate(0%200.666504)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A", "indicate-greed": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%222.76941%22%20y%3D%222.76941%22%20width%3D%2214.4612%22%20height%3D%2214.4612%22%20rx%3D%223%22%20fill%3D%22black%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224.5%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", "indicate-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%222.76941%22%20y%3D%222.76941%22%20width%3D%2214.4612%22%20height%3D%2214.4612%22%20rx%3D%223%22%20fill%3D%22black%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224.5%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", "indicate-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%222.76941%22%20y%3D%222.76941%22%20width%3D%2214.4612%22%20height%3D%2214.4612%22%20rx%3D%223%22%20fill%3D%22black%22%2F%3E%0A%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%224.5%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, Q0 = { mistake2: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.12194%206.33702C4.1805%206.47839%204.30722%206.6051%204.56066%206.85854L8.36822%2010.6661L4.56062%2014.4737C4.30718%2014.7272%204.18046%2014.8539%204.12191%2014.9952C4.04384%2015.1837%204.04384%2015.3955%204.12191%2015.584C4.18046%2015.7253%204.30718%2015.8521%204.56062%2016.1055C4.81406%2016.3589%204.94078%2016.4857%205.08214%2016.5442C5.27062%2016.6223%205.4824%2016.6223%205.67089%2016.5442C5.81225%2016.4857%205.93897%2016.3589%206.19241%2016.1055L10%2012.2979L13.8074%2016.1053C14.0609%2016.3588%2014.1876%2016.4855%2014.329%2016.544C14.5174%2016.6221%2014.7292%2016.6221%2014.9177%2016.544C15.0591%2016.4855%2015.1858%2016.3588%2015.4392%2016.1053L15.4392%2016.1053C15.6927%2015.8519%2015.8194%2015.7252%2015.8779%2015.5838C15.956%2015.3953%2015.956%2015.1835%2015.8779%2014.9951C15.8194%2014.8537%2015.6927%2014.727%2015.4392%2014.4735L15.4392%2014.4735L11.6318%2010.6661L15.4392%206.85872C15.6926%206.60528%2015.8193%206.47856%2015.8779%206.3372C15.956%206.14871%2015.956%205.93694%2015.8779%205.74845C15.8193%205.60709%2015.6926%205.48037%2015.4392%205.22693C15.1857%204.97349%2015.059%204.84677%2014.9177%204.78822C14.7292%204.71015%2014.5174%204.71015%2014.3289%204.78822C14.1876%204.84677%2014.0608%204.97349%2013.8074%205.22693L10%209.03433L6.19244%205.22676C5.939%204.97332%205.81228%204.8466%205.67092%204.78805C5.48244%204.70997%205.27066%204.70997%205.08218%204.78805C4.94082%204.8466%204.8141%204.97332%204.56066%205.22676L4.56066%205.22676C4.30722%205.4802%204.1805%205.60692%204.12194%205.74828C4.04387%205.93676%204.04387%206.14854%204.12194%206.33702Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A", warn2: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8.49778%205.00963C8.48513%204.56774%208.47881%204.3468%208.56086%204.17746C8.63301%204.02856%208.75124%203.90689%208.89802%203.83052C9.06494%203.74365%209.28597%203.74365%209.72805%203.74365H10.272C10.714%203.74365%2010.9351%203.74365%2011.102%203.83052C11.2488%203.9069%2011.367%204.02856%2011.4392%204.17746C11.5212%204.3468%2011.5149%204.56775%2011.5022%205.00964L11.2644%2013.3173C11.2524%2013.737%2011.2464%2013.9468%2011.1609%2014.1065C11.0857%2014.2471%2010.9687%2014.3609%2010.826%2014.432C10.6639%2014.5129%2010.454%2014.5129%2010.0342%2014.5129H9.96582C9.54601%2014.5129%209.33611%2014.5129%209.17397%2014.432C9.0313%2014.3609%208.91426%2014.2471%208.83904%2014.1065C8.75357%2013.9468%208.74756%2013.737%208.73555%2013.3173L8.49778%205.00963Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3Crect%20x%3D%228.76917%22%20y%3D%2215.2817%22%20width%3D%222.46154%22%20height%3D%222.46154%22%20rx%3D%220.769231%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", correct2: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cg%20clip-path%3D%22url(%23clip0_613_248)%22%3E%0A%3Cpath%20d%3D%22M15.689%205.69723C15.5476%205.75578%2015.4209%205.8825%2015.1675%206.13594L7.82436%2013.4791L4.83279%2010.4875C4.57935%2010.2341%204.45263%2010.1073%204.31127%2010.0488C4.12278%209.97071%203.91101%209.97071%203.72252%2010.0488C3.58116%2010.1073%203.45444%2010.2341%203.201%2010.4875C2.94756%2010.7409%202.82084%2010.8676%202.76229%2011.009C2.68422%2011.1975%202.68422%2011.4093%202.76229%2011.5978C2.82084%2011.7391%202.94756%2011.8658%203.201%2012.1193L7.0085%2015.9268C7.26194%2016.1802%207.38866%2016.3069%207.53002%2016.3655C7.7185%2016.4436%207.93028%2016.4436%208.11876%2016.3655C8.26013%2016.3069%208.38685%2016.1802%208.64028%2015.9268C8.66387%2015.9032%208.68636%2015.8807%208.7078%2015.8592L16.7993%207.76772C17.0527%207.51428%2017.1794%207.38756%2017.238%207.2462C17.3161%207.05772%2017.3161%206.84594%2017.238%206.65746C17.1794%206.5161%2017.0527%206.38938%2016.7993%206.13594C16.5458%205.8825%2016.4191%205.75578%2016.2777%205.69723C16.0893%205.61915%2015.8775%205.61915%2015.689%205.69723Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fg%3E%0A%3Cdefs%3E%0A%3CclipPath%20id%3D%22clip0_613_248%22%3E%0A%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%20transform%3D%22translate(0%200.666504)%22%2F%3E%0A%3C%2FclipPath%3E%0A%3C%2Fdefs%3E%0A%3C%2Fsvg%3E%0A" }, e1 = { "flag-green": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M15.4274%204.74935C14.0982%205.1012%2013.1363%205.13675%2012.3604%205.03379C11.5776%204.93009%2010.9487%204.68342%2010.2456%204.40416L10.2246%204.39527C9.53411%204.1212%208.76945%203.8175%207.81312%203.69157C6.84279%203.56268%205.71016%203.61898%204.24802%204.0049C4.09343%204.04217%203.95538%204.13393%203.85649%204.26515C3.7576%204.39636%203.70374%204.55925%203.70374%204.72712V17.3197C3.70374%2017.5162%203.79534%2017.7046%203.92654%2017.8435C4.05773%2017.9824%204.25893%2018.0605%204.44448%2018.0605C4.63002%2018.0605%204.84911%2017.9824%204.98031%2017.8435C5.11151%2017.7046%205.18522%2017.5162%205.18522%2017.3197V14.9123V12.5049C6.24649%2012.2738%206.97081%2012.2605%207.63962%2012.3486C8.42246%2012.4523%209.05139%2012.699%209.75448%2012.9782L9.77546%2012.9871C10.466%2013.2612%2011.2306%2013.5649%2012.1869%2013.6908C13.1601%2013.8197%2014.2976%2013.7627%2015.7667%2013.3738C15.8866%2013.3421%2016.0727%2013.2135%2016.1483%2013.111C16.2238%2013.0084%2016.2963%2012.8204%2016.2963%2012.6553V5.46787C16.2963%205.35535%2016.2721%205.24432%2016.2255%205.1432C16.1788%205.04208%2016.1111%204.95353%2016.0274%204.88428C15.9436%204.81502%2015.846%204.76688%2015.7421%204.7435C15.6382%204.72012%2015.494%204.73173%2015.4274%204.74935Z%22%20fill%3D%22%2359D01E%22%2F%3E%0A%3C%2Fsvg%3E%0A", "flag-gold": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M15.4274%204.74935C14.0982%205.1012%2013.1363%205.13675%2012.3604%205.03379C11.5776%204.93009%2010.9487%204.68342%2010.2456%204.40416L10.2246%204.39527C9.53411%204.1212%208.76945%203.8175%207.81312%203.69157C6.84279%203.56268%205.71016%203.61898%204.24802%204.0049C4.09343%204.04217%203.95538%204.13393%203.85649%204.26515C3.7576%204.39636%203.70374%204.55925%203.70374%204.72712V17.3197C3.70374%2017.5162%203.79534%2017.7046%203.92654%2017.8435C4.05773%2017.9824%204.25893%2018.0605%204.44448%2018.0605C4.63002%2018.0605%204.84911%2017.9824%204.98031%2017.8435C5.11151%2017.7046%205.18522%2017.5162%205.18522%2017.3197V14.9123V12.5049C6.24649%2012.2738%206.97081%2012.2605%207.63962%2012.3486C8.42246%2012.4523%209.05139%2012.699%209.75448%2012.9782L9.77546%2012.9871C10.466%2013.2612%2011.2306%2013.5649%2012.1869%2013.6908C13.1601%2013.8197%2014.2976%2013.7627%2015.7667%2013.3738C15.8866%2013.3421%2016.0727%2013.2135%2016.1483%2013.111C16.2238%2013.0084%2016.2963%2012.8204%2016.2963%2012.6553V5.46787C16.2963%205.35535%2016.2721%205.24432%2016.2255%205.1432C16.1788%205.04208%2016.1111%204.95353%2016.0274%204.88428C15.9436%204.81502%2015.846%204.76688%2015.7421%204.7435C15.6382%204.72012%2015.494%204.73173%2015.4274%204.74935Z%22%20fill%3D%22%23FFBD37%22%2F%3E%0A%3C%2Fsvg%3E%0A", "flag-red": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2221%22%20viewBox%3D%220%200%2020%2021%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M15.4274%204.74935C14.0982%205.1012%2013.1363%205.13675%2012.3604%205.03379C11.5776%204.93009%2010.9487%204.68342%2010.2456%204.40416L10.2246%204.39527C9.53411%204.1212%208.76945%203.8175%207.81312%203.69157C6.84279%203.56268%205.71016%203.61898%204.24802%204.0049C4.09343%204.04217%203.95538%204.13393%203.85649%204.26515C3.7576%204.39636%203.70374%204.55925%203.70374%204.72712V17.3197C3.70374%2017.5162%203.79534%2017.7046%203.92654%2017.8435C4.05773%2017.9824%204.25893%2018.0605%204.44448%2018.0605C4.63002%2018.0605%204.84911%2017.9824%204.98031%2017.8435C5.11151%2017.7046%205.18522%2017.5162%205.18522%2017.3197V14.9123V12.5049C6.24649%2012.2738%206.97081%2012.2605%207.63962%2012.3486C8.42246%2012.4523%209.05139%2012.699%209.75448%2012.9782L9.77546%2012.9871C10.466%2013.2612%2011.2306%2013.5649%2012.1869%2013.6908C13.1601%2013.8197%2014.2976%2013.7627%2015.7667%2013.3738C15.8866%2013.3421%2016.0727%2013.2135%2016.1483%2013.111C16.2238%2013.0084%2016.2963%2012.8204%2016.2963%2012.6553V5.46787C16.2963%205.35535%2016.2721%205.24432%2016.2255%205.1432C16.1788%205.04208%2016.1111%204.95353%2016.0274%204.88428C15.9436%204.81502%2015.846%204.76688%2015.7421%204.7435C15.6382%204.72012%2015.494%204.73173%2015.4274%204.74935Z%22%20fill%3D%22%23FE4B4B%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, t1 = { "cell-0": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224%22%20y%3D%224.00098%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%224.00098%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-25": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%224.00098%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-50": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-75": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%2211.251%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211%22%20y%3D%2211.001%22%20width%3D%225%22%20height%3D%225%22%20rx%3D%221%22%20fill%3D%22%23E5E5E5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3C%2Fsvg%3E%0A", "cell-100": "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%2211.251%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%2211.251%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%224.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3Crect%20x%3D%2211.25%22%20y%3D%224.25098%22%20width%3D%224.5%22%20height%3D%224.5%22%20rx%3D%220.75%22%20fill%3D%22%230493EE%22%20stroke%3D%22%230493EE%22%20stroke-width%3D%220.5%22%2F%3E%0A%3C%2Fsvg%3E%0A" }, C = {
1299
+ feedback: H0,
1300
+ star: j0,
1301
+ progress: X0,
1302
+ signal: Y0,
1303
+ feeling: K0,
1304
+ arrow: J0,
1305
+ shape: z0,
1306
+ feedback2: Q0,
1307
+ flag: e1,
1308
+ cell: t1
1309
+ }, n1 = [
1310
1310
  {
1311
1311
  title: "sheet.cf.iconSet.direction",
1312
1312
  group: [
@@ -1387,130 +1387,241 @@ const V0 = { mistake: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%2
1387
1387
  }
1388
1388
  ]
1389
1389
  }
1390
- ], o2 = X0.reduce((s, n) => {
1391
- const { group: t } = n;
1390
+ ], D2 = n1.reduce((s, r) => {
1391
+ const { group: t } = r;
1392
1392
  for (const e of t)
1393
1393
  s[e.name] = e.list;
1394
1394
  return s;
1395
1395
  }, {});
1396
- for (const s in o2) {
1397
- const n = o2[s];
1398
- Object.freeze(n);
1396
+ for (const s in D2) {
1397
+ const r = D2[s];
1398
+ Object.freeze(r);
1399
1399
  }
1400
- const Y0 = "EMPTY_ICON_TYPE", v2 = {
1401
- type: J.MUTATION,
1400
+ const r1 = "EMPTY_ICON_TYPE", s2 = {
1401
+ type: U.MUTATION,
1402
1402
  id: "sheet.mutation.move-conditional-rule",
1403
- handler(s, n) {
1404
- if (!n)
1403
+ handler(s, r) {
1404
+ if (!r)
1405
1405
  return !1;
1406
- const { unitId: t, subUnitId: e, start: r, end: i } = n;
1407
- return s.get(k).moveRulePriority(t, e, r, i), !0;
1406
+ const { unitId: t, subUnitId: e, start: n, end: i } = r;
1407
+ return s.get(y).moveRulePriority(t, e, n, i), !0;
1408
1408
  }
1409
- }, _1 = (s) => {
1410
- const { unitId: n, subUnitId: t } = s, e = m0(s.start, s.end);
1409
+ }, s1 = (s) => {
1410
+ const { unitId: r, subUnitId: t } = s, e = _0(s.start, s.end);
1411
1411
  if (!e)
1412
1412
  return [];
1413
- const [r, i] = e;
1413
+ const [n, i] = e;
1414
1414
  return [
1415
1415
  {
1416
- id: v2.id,
1417
- params: { unitId: n, subUnitId: t, start: r, end: i }
1416
+ id: s2.id,
1417
+ params: { unitId: r, subUnitId: t, start: n, end: i }
1418
1418
  }
1419
1419
  ];
1420
- }, K0 = (s, n) => {
1421
- const t = s.get(k), { unitId: e, subUnitId: r, cfId: i } = n, a = [...t.getSubunitRules(e, r) || []], u = a.findIndex((o) => o.cfId === i), l = a[u - 1];
1420
+ }, w2 = (s, r) => {
1421
+ const t = s.get(y), { unitId: e, subUnitId: n, cfId: i } = r, a = [...t.getSubunitRules(e, n) || []], u = a.findIndex((o) => o.cfId === i), l = a[u - 1];
1422
1422
  if (u > -1) {
1423
- const o = a[u], h = [{
1424
- id: T2.id,
1425
- params: { unitId: e, subUnitId: r, rule: j.deepClone(o) }
1423
+ const o = a[u], d = [{
1424
+ id: f2.id,
1425
+ params: { unitId: e, subUnitId: n, rule: z.deepClone(o) }
1426
1426
  }];
1427
1427
  if (a.splice(u, 1), u !== 0) {
1428
1428
  const c = a[0];
1429
1429
  if (c) {
1430
- const d = f0({ id: c.cfId, type: "before" }, { id: l.cfId, type: "after" }, a, (w) => w.cfId);
1431
- if (!d)
1432
- return h;
1433
- const [g, D] = d, f = {
1430
+ const h = W2({ id: c.cfId, type: "before" }, { id: l.cfId, type: "after" }, a, (F) => F.cfId);
1431
+ if (!h)
1432
+ return d;
1433
+ const [g, D] = h, f = {
1434
1434
  unitId: e,
1435
- subUnitId: r,
1435
+ subUnitId: n,
1436
1436
  start: g,
1437
1437
  end: D
1438
1438
  };
1439
- h.push({ id: v2.id, params: f });
1439
+ d.push({ id: s2.id, params: f });
1440
1440
  }
1441
1441
  }
1442
- return h;
1442
+ return d;
1443
1443
  }
1444
1444
  return [];
1445
- }, E2 = {
1446
- type: J.MUTATION,
1445
+ }, j = {
1446
+ type: U.MUTATION,
1447
1447
  id: "sheet.mutation.delete-conditional-rule",
1448
- handler(s, n) {
1449
- if (!n)
1448
+ handler(s, r) {
1449
+ if (!r)
1450
1450
  return !1;
1451
- const { unitId: t, subUnitId: e, cfId: r } = n;
1452
- return s.get(k).deleteRule(t, e, r), !0;
1451
+ const { unitId: t, subUnitId: e, cfId: n } = r;
1452
+ return s.get(y).deleteRule(t, e, n), !0;
1453
1453
  }
1454
- }, y1 = (s, n) => ({ id: E2.id, params: { unitId: n.unitId, subUnitId: n.subUnitId, cfId: n.rule.cfId } }), T2 = {
1455
- type: J.MUTATION,
1454
+ }, i1 = (s, r) => ({ id: j.id, params: { unitId: r.unitId, subUnitId: r.subUnitId, cfId: r.rule.cfId } }), f2 = {
1455
+ type: U.MUTATION,
1456
1456
  id: "sheet.mutation.add-conditional-rule",
1457
- handler(s, n) {
1458
- if (!n)
1457
+ handler(s, r) {
1458
+ if (!r)
1459
1459
  return !1;
1460
- const { unitId: t, subUnitId: e, rule: r } = n;
1461
- return s.get(k).addRule(t, e, r), !0;
1462
- }
1463
- }, U2 = {
1464
- type: J.MUTATION,
1460
+ const { unitId: t, subUnitId: e, rule: n } = r;
1461
+ return s.get(y).addRule(t, e, n), !0;
1462
+ }
1463
+ }, a1 = {
1464
+ type: U.COMMAND,
1465
+ id: "sheet.command.add-conditional-rule",
1466
+ handler(s, r) {
1467
+ if (!r)
1468
+ return !1;
1469
+ const { rule: t } = r, e = s.get(Q), n = s.get($), i = s.get(y), a = s.get(W), u = e2(a);
1470
+ if (!u) return !1;
1471
+ const { unitId: l, subUnitId: o } = u, d = i.createCfId(l, o), c = { unitId: l, subUnitId: o, rule: { ...t, cfId: t.cfId || d } }, h = i1(s, c), g = n.syncExecuteCommand(f2.id, c);
1472
+ return g && e.pushUndoRedo({
1473
+ unitID: l,
1474
+ redoMutations: [{ id: f2.id, params: c }],
1475
+ undoMutations: [h]
1476
+ }), g;
1477
+ }
1478
+ }, i2 = {
1479
+ type: U.MUTATION,
1465
1480
  id: "sheet.mutation.set-conditional-rule",
1466
- handler(s, n) {
1467
- if (!n)
1481
+ handler(s, r) {
1482
+ if (!r)
1468
1483
  return !1;
1469
- const { unitId: t, subUnitId: e, rule: r } = n, i = n.cfId || n.rule.cfId;
1470
- return s.get(k).setRule(t, e, r, i), !0;
1484
+ const { unitId: t, subUnitId: e, rule: n } = r, i = r.cfId || r.rule.cfId;
1485
+ return s.get(y).setRule(t, e, n, i), !0;
1471
1486
  }
1472
- }, M1 = (s, n) => {
1473
- const t = s.get(k), { unitId: e, subUnitId: r } = n, i = n.cfId || n.rule.cfId, a = t.getRule(e, r, i);
1487
+ }, q2 = (s, r) => {
1488
+ const t = s.get(y), { unitId: e, subUnitId: n } = r, i = r.cfId || r.rule.cfId, a = t.getRule(e, n, i);
1474
1489
  return a ? [
1475
1490
  {
1476
- id: U2.id,
1491
+ id: i2.id,
1477
1492
  params: {
1478
1493
  unitId: e,
1479
- subUnitId: r,
1494
+ subUnitId: n,
1480
1495
  cfId: i,
1481
- rule: j.deepClone(a)
1496
+ rule: z.deepClone(a)
1482
1497
  }
1483
1498
  }
1484
1499
  ] : [];
1485
- }, J0 = "ssheets-conditional-formatting.config", M2 = {};
1486
- var z0 = Object.getOwnPropertyDescriptor, Q0 = (s, n, t, e) => {
1487
- for (var r = e > 1 ? void 0 : e ? z0(n, t) : n, i = s.length - 1, a; i >= 0; i--)
1488
- (a = s[i]) && (r = a(r) || r);
1489
- return r;
1490
- }, Z = (s, n) => (t, e) => n(t, e, s);
1491
- let K = class extends m2 {
1492
- constructor(s, n, t, e, r, i) {
1493
- super(), this._conditionalFormattingRuleModel = s, this._injector = n, this._univerInstanceService = t, this._resourceManagerService = e, this._sheetInterceptorService = r, this._commandService = i, this._initCellChange(), this._initSnapshot(), this._initSheetChange();
1500
+ }, l1 = {
1501
+ type: U.COMMAND,
1502
+ id: "sheet.command.clear-range-conditional-rule",
1503
+ handler(s, r) {
1504
+ var f;
1505
+ if (!r)
1506
+ return !1;
1507
+ const t = s.get(y), e = s.get(W), n = s.get($), i = s.get(Q), a = s.get(u0), u = e2(e, r);
1508
+ if (!u) return !1;
1509
+ const { unitId: l, subUnitId: o } = u, d = ((f = a.getCurrentSelections()) == null ? void 0 : f.map((F) => F.range)) || [], c = t.getSubunitRules(l, o);
1510
+ if (!(c != null && c.length) || !d.length)
1511
+ return !1;
1512
+ const h = [], g = [];
1513
+ c.forEach((F) => {
1514
+ const E = new O();
1515
+ F.ranges.forEach((p) => {
1516
+ N.foreach(p, (A, T) => {
1517
+ E.setValue(A, T, 1);
1518
+ });
1519
+ }), d.forEach((p) => {
1520
+ N.foreach(p, (A, T) => {
1521
+ E.realDeleteValue(A, T);
1522
+ });
1523
+ });
1524
+ const I = d0(h0(E));
1525
+ if (I.length) {
1526
+ const p = { ...F, ranges: I }, A = { unitId: l, subUnitId: o, rule: p }, T = q2(s, A);
1527
+ h.push({ id: i2.id, params: A }), g.push(...T);
1528
+ } else {
1529
+ const p = { unitId: l, subUnitId: o, cfId: F.cfId }, A = w2(s, p);
1530
+ h.push({ id: j.id, params: p }), g.push(...A);
1531
+ }
1532
+ });
1533
+ const D = V2(h, n).result;
1534
+ return D && i.pushUndoRedo({
1535
+ unitID: l,
1536
+ redoMutations: h,
1537
+ undoMutations: g
1538
+ }), D;
1539
+ }
1540
+ }, o1 = {
1541
+ type: U.COMMAND,
1542
+ id: "sheet.command.clear-worksheet-conditional-rule",
1543
+ handler(s, r) {
1544
+ const t = s.get(y), e = s.get(W), n = s.get($), i = s.get(Q), a = e2(e, r);
1545
+ if (!a) return !1;
1546
+ const { unitId: u, subUnitId: l } = a, o = t.getSubunitRules(u, l);
1547
+ if (!(o != null && o.length))
1548
+ return !1;
1549
+ const d = o.map((D) => ({ cfId: D.cfId, unitId: u, subUnitId: l })), c = d.map((D) => ({ id: j.id, params: D })), h = d.map((D) => w2(s, D)[0]), g = V2(c, n).result;
1550
+ return g && i.pushUndoRedo({
1551
+ unitID: u,
1552
+ redoMutations: c,
1553
+ undoMutations: h
1554
+ }), g;
1555
+ }
1556
+ }, c1 = {
1557
+ type: U.COMMAND,
1558
+ id: "sheet.command.delete-conditional-rule",
1559
+ handler(s, r) {
1560
+ if (!r)
1561
+ return !1;
1562
+ const t = s.get(Q), e = s.get($), n = s.get(W), i = e2(n, r);
1563
+ if (!i) return !1;
1564
+ const { unitId: a, subUnitId: u } = i, l = { unitId: a, subUnitId: u, cfId: r.cfId }, o = w2(s, l), d = e.syncExecuteCommand(j.id, l);
1565
+ return d && t.pushUndoRedo({ unitID: a, undoMutations: o, redoMutations: [{ id: j.id, params: l }] }), d;
1566
+ }
1567
+ }, u1 = {
1568
+ type: U.COMMAND,
1569
+ id: "sheet.command.move-conditional-rule",
1570
+ handler(s, r) {
1571
+ if (!r)
1572
+ return !1;
1573
+ const t = s.get(Q), e = s.get($), n = s.get(W), i = s.get(y), a = e2(n, r);
1574
+ if (!a) return !1;
1575
+ const { unitId: u, subUnitId: l } = a, o = W2(r.start, r.end, i.getSubunitRules(u, l) || [], (f) => f.cfId);
1576
+ if (!o)
1577
+ return !1;
1578
+ const [d, c] = o, h = { unitId: u, subUnitId: l, start: d, end: c }, g = s1(h), D = e.syncExecuteCommand(s2.id, h);
1579
+ return D && t.pushUndoRedo({
1580
+ unitID: u,
1581
+ redoMutations: [{ id: s2.id, params: h }],
1582
+ undoMutations: g
1583
+ }), D;
1584
+ }
1585
+ }, d1 = {
1586
+ type: U.COMMAND,
1587
+ id: "sheet.command.set-conditional-rule",
1588
+ handler(s, r) {
1589
+ if (!r)
1590
+ return !1;
1591
+ const t = s.get(Q), e = s.get($), n = s.get(W), i = e2(n, r);
1592
+ if (!i) return !1;
1593
+ const { unitId: a, subUnitId: u } = i, l = { unitId: a, subUnitId: u, rule: r.rule, cfId: r.cfId }, o = q2(s, l), d = e.syncExecuteCommand(i2.id, l);
1594
+ return d && t.pushUndoRedo({ unitID: a, undoMutations: o, redoMutations: [{ id: i2.id, params: l }] }), d;
1595
+ }
1596
+ }, h1 = "ssheets-conditional-formatting.config", k2 = {};
1597
+ var g1 = Object.getOwnPropertyDescriptor, C1 = (s, r, t, e) => {
1598
+ for (var n = e > 1 ? void 0 : e ? g1(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1599
+ (a = s[i]) && (n = a(n) || n);
1600
+ return n;
1601
+ }, Y = (s, r) => (t, e) => r(t, e, s);
1602
+ let r2 = class extends _2 {
1603
+ constructor(s, r, t, e, n, i) {
1604
+ super(), this._conditionalFormattingRuleModel = s, this._injector = r, this._univerInstanceService = t, this._resourceManagerService = e, this._sheetInterceptorService = n, this._commandService = i, this._initCellChange(), this._initSnapshot(), this._initSheetChange();
1494
1605
  }
1495
1606
  get _conditionalFormattingViewModelV2() {
1496
- return this._injector.get(H);
1607
+ return this._injector.get(J);
1497
1608
  }
1498
- composeStyle(s, n, t, e) {
1499
- const r = this._conditionalFormattingViewModelV2.getCellCfs(s, n, t, e);
1500
- if (r && (r != null && r.length)) {
1501
- const i = r.map((l) => this._conditionalFormattingRuleModel.getRule(s, n, l.cfId)).filter((l) => !!l).reverse(), a = i.findIndex((l) => l == null ? void 0 : l.stopIfTrue);
1609
+ composeStyle(s, r, t, e) {
1610
+ const n = this._conditionalFormattingViewModelV2.getCellCfs(s, r, t, e);
1611
+ if (n && (n != null && n.length)) {
1612
+ const i = n.map((l) => this._conditionalFormattingRuleModel.getRule(s, r, l.cfId)).filter((l) => !!l).reverse(), a = i.findIndex((l) => l == null ? void 0 : l.stopIfTrue);
1502
1613
  return a > -1 && i.splice(a + 1), i.reduce((l, o) => {
1503
- var d;
1504
- const h = o.rule.type, c = r.find((g) => g.cfId === o.cfId);
1505
- if (h === y.highlightCell)
1506
- c.result && j.deepMerge(l, { style: c.result });
1507
- else if (h === y.colorScale) {
1614
+ var h;
1615
+ const d = o.rule.type, c = n.find((g) => g.cfId === o.cfId);
1616
+ if (d === S.highlightCell)
1617
+ c.result && z.deepMerge(l, { style: c.result });
1618
+ else if (d === S.colorScale) {
1508
1619
  const g = c == null ? void 0 : c.result;
1509
- g && typeof g == "string" && (l.style = { ...(d = l.style) != null ? d : {}, bg: { rgb: g } });
1510
- } else if (h === y.dataBar) {
1620
+ g && typeof g == "string" && (l.style = { ...(h = l.style) != null ? h : {}, bg: { rgb: g } });
1621
+ } else if (d === S.dataBar) {
1511
1622
  const g = c == null ? void 0 : c.result;
1512
1623
  g && (l.dataBar = g, l.isShowValue = g.isShowValue);
1513
- } else if (h === y.iconSet) {
1624
+ } else if (d === S.iconSet) {
1514
1625
  const g = c == null ? void 0 : c.result;
1515
1626
  g && (l.iconSet = g, l.isShowValue = g.isShowValue);
1516
1627
  }
@@ -1521,11 +1632,11 @@ let K = class extends m2 {
1521
1632
  }
1522
1633
  _initSnapshot() {
1523
1634
  const s = (t) => {
1524
- const e = this._conditionalFormattingRuleModel.getUnitRules(t), r = {};
1635
+ const e = this._conditionalFormattingRuleModel.getUnitRules(t), n = {};
1525
1636
  return e ? (e.forEach((i, a) => {
1526
- r[a] = i;
1527
- }), JSON.stringify(r)) : "";
1528
- }, n = (t) => {
1637
+ n[a] = i;
1638
+ }), JSON.stringify(n)) : "";
1639
+ }, r = (t) => {
1529
1640
  if (!t)
1530
1641
  return {};
1531
1642
  try {
@@ -1536,17 +1647,17 @@ let K = class extends m2 {
1536
1647
  };
1537
1648
  this.disposeWithMe(
1538
1649
  this._resourceManagerService.registerPluginResource({
1539
- pluginName: N2,
1540
- businesses: [c2.UNIVER_SHEET],
1650
+ pluginName: P2,
1651
+ businesses: [m2.UNIVER_SHEET],
1541
1652
  toJson: (t) => s(t),
1542
- parseJson: (t) => n(t),
1653
+ parseJson: (t) => r(t),
1543
1654
  onUnLoad: (t) => {
1544
1655
  this._conditionalFormattingRuleModel.deleteUnitId(t);
1545
1656
  },
1546
1657
  onLoad: (t, e) => {
1547
- Object.keys(e).forEach((r) => {
1548
- [...e[r]].reverse().forEach((a) => {
1549
- this._conditionalFormattingRuleModel.addRule(t, r, a);
1658
+ Object.keys(e).forEach((n) => {
1659
+ [...e[n]].reverse().forEach((a) => {
1660
+ this._conditionalFormattingRuleModel.addRule(t, n, a);
1550
1661
  });
1551
1662
  });
1552
1663
  }
@@ -1557,24 +1668,24 @@ let K = class extends m2 {
1557
1668
  this.disposeWithMe(
1558
1669
  this._sheetInterceptorService.interceptCommand({
1559
1670
  getMutations: (s) => {
1560
- if (s.id === i0.id) {
1561
- const n = s.params, t = n.unitId || e1(this._univerInstanceService), e = n.subUnitId || t1(this._univerInstanceService);
1671
+ if (s.id === C0.id) {
1672
+ const r = s.params, t = r.unitId || D1(this._univerInstanceService), e = r.subUnitId || f1(this._univerInstanceService);
1562
1673
  if (!e)
1563
1674
  return { redos: [], undos: [] };
1564
- const r = this._conditionalFormattingRuleModel.getSubunitRules(t, e);
1565
- if (!r)
1675
+ const n = this._conditionalFormattingRuleModel.getSubunitRules(t, e);
1676
+ if (!n)
1566
1677
  return { redos: [], undos: [] };
1567
1678
  const i = [], a = [];
1568
- return r.forEach((u) => {
1679
+ return n.forEach((u) => {
1569
1680
  const l = {
1570
1681
  unitId: t,
1571
1682
  subUnitId: e,
1572
1683
  cfId: u.cfId
1573
1684
  };
1574
1685
  i.push({
1575
- id: E2.id,
1686
+ id: j.id,
1576
1687
  params: l
1577
- }), a.push(...K0(this._injector, l));
1688
+ }), a.push(...w2(this._injector, l));
1578
1689
  }), {
1579
1690
  redos: i,
1580
1691
  undos: a
@@ -1590,79 +1701,79 @@ let K = class extends m2 {
1590
1701
  this.disposeWithMe(
1591
1702
  // eslint-disable-next-line max-lines-per-function
1592
1703
  this._commandService.onCommandExecuted((s) => {
1593
- const n = (t, e, r) => {
1704
+ const r = (t, e, n) => {
1594
1705
  const i = /* @__PURE__ */ new Set();
1595
- return r.forEach(([a, u]) => {
1706
+ return n.forEach(([a, u]) => {
1596
1707
  const l = this._conditionalFormattingViewModelV2.getCellCfs(t, e, a, u);
1597
1708
  l == null || l.forEach((o) => i.add(o.cfId));
1598
1709
  }), [...i].map((a) => this._conditionalFormattingRuleModel.getRule(t, e, a)).filter((a) => !!a);
1599
1710
  };
1600
1711
  switch (s.id) {
1601
- case C0.id: {
1602
- const t = s.params, { subUnitId: e, unitId: r, cellValue: i } = t, a = [];
1603
- new T(i).forValue((l, o, h) => {
1604
- h && Object.keys(h).some((d) => ["p", "v"].includes(d)) && a.push([l, o]);
1605
- }), n(r, e, a).forEach((l) => {
1606
- this._conditionalFormattingViewModelV2.markRuleDirty(r, e, l.cfId);
1712
+ case A0.id: {
1713
+ const t = s.params, { subUnitId: e, unitId: n, cellValue: i } = t, a = [];
1714
+ new O(i).forValue((l, o, d) => {
1715
+ d && Object.keys(d).some((h) => ["p", "v"].includes(h)) && a.push([l, o]);
1716
+ }), r(n, e, a).forEach((l) => {
1717
+ this._conditionalFormattingViewModelV2.markRuleDirty(n, e, l.cfId);
1607
1718
  });
1608
1719
  break;
1609
1720
  }
1610
- case g0.id:
1611
- case d0.id: {
1612
- const { range: t, unitId: e, subUnitId: r } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, r), a = { ...t, endColumn: Number.MAX_SAFE_INTEGER };
1613
- i && i.filter((l) => l.ranges.some((o) => X.intersects(o, a))).forEach((l) => {
1614
- this._conditionalFormattingViewModelV2.markRuleDirty(e, r, l.cfId);
1721
+ case p0.id:
1722
+ case E0.id: {
1723
+ const { range: t, unitId: e, subUnitId: n } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, n), a = { ...t, endColumn: Number.MAX_SAFE_INTEGER };
1724
+ i && i.filter((l) => l.ranges.some((o) => t2.intersects(o, a))).forEach((l) => {
1725
+ this._conditionalFormattingViewModelV2.markRuleDirty(e, n, l.cfId);
1615
1726
  });
1616
1727
  break;
1617
1728
  }
1618
- case h0.id:
1619
- case u0.id: {
1620
- const { range: t, unitId: e, subUnitId: r } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, r), a = { ...t, endRow: Number.MAX_SAFE_INTEGER };
1621
- i && i.filter((l) => l.ranges.some((o) => X.intersects(o, a))).forEach((l) => {
1622
- this._conditionalFormattingViewModelV2.markRuleDirty(e, r, l.cfId);
1729
+ case v0.id:
1730
+ case w0.id: {
1731
+ const { range: t, unitId: e, subUnitId: n } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, n), a = { ...t, endRow: Number.MAX_SAFE_INTEGER };
1732
+ i && i.filter((l) => l.ranges.some((o) => t2.intersects(o, a))).forEach((l) => {
1733
+ this._conditionalFormattingViewModelV2.markRuleDirty(e, n, l.cfId);
1623
1734
  });
1624
1735
  break;
1625
1736
  }
1626
- case c0.id: {
1627
- const { sourceRange: t, targetRange: e, unitId: r, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(r, i), u = {
1737
+ case F0.id: {
1738
+ const { sourceRange: t, targetRange: e, unitId: n, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(n, i), u = {
1628
1739
  startRow: Math.min(t.startRow, e.startRow),
1629
1740
  endRow: Number.MAX_SAFE_INTEGER,
1630
1741
  startColumn: 0,
1631
1742
  endColumn: Number.MAX_SAFE_INTEGER
1632
1743
  };
1633
- a && a.filter((o) => o.ranges.some((h) => X.intersects(h, u))).forEach((o) => {
1634
- this._conditionalFormattingViewModelV2.markRuleDirty(r, i, o.cfId);
1744
+ a && a.filter((o) => o.ranges.some((d) => t2.intersects(d, u))).forEach((o) => {
1745
+ this._conditionalFormattingViewModelV2.markRuleDirty(n, i, o.cfId);
1635
1746
  });
1636
1747
  break;
1637
1748
  }
1638
- case o0.id: {
1639
- const { sourceRange: t, targetRange: e, unitId: r, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(r, i), u = {
1749
+ case m0.id: {
1750
+ const { sourceRange: t, targetRange: e, unitId: n, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(n, i), u = {
1640
1751
  startRow: 0,
1641
1752
  endRow: Number.MAX_SAFE_INTEGER,
1642
1753
  startColumn: Math.min(t.startColumn, e.startColumn),
1643
1754
  endColumn: Number.MAX_SAFE_INTEGER
1644
1755
  };
1645
- a && a.filter((o) => o.ranges.some((h) => X.intersects(h, u))).forEach((o) => {
1646
- this._conditionalFormattingViewModelV2.markRuleDirty(r, i, o.cfId);
1756
+ a && a.filter((o) => o.ranges.some((d) => t2.intersects(d, u))).forEach((o) => {
1757
+ this._conditionalFormattingViewModelV2.markRuleDirty(n, i, o.cfId);
1647
1758
  });
1648
1759
  break;
1649
1760
  }
1650
- case l0.id: {
1651
- const { unitId: t, to: e, from: r } = s.params, i = (a) => {
1761
+ case f0.id: {
1762
+ const { unitId: t, to: e, from: n } = s.params, i = (a) => {
1652
1763
  const u = [];
1653
- new T(a.value).forValue((o, h) => {
1654
- u.push([o, h]);
1655
- }), n(t, a.subUnitId, u).forEach((o) => {
1764
+ new O(a.value).forValue((o, d) => {
1765
+ u.push([o, d]);
1766
+ }), r(t, a.subUnitId, u).forEach((o) => {
1656
1767
  this._conditionalFormattingViewModelV2.markRuleDirty(t, a.subUnitId, o.cfId);
1657
1768
  });
1658
1769
  };
1659
- i(e), i(r);
1770
+ i(e), i(n);
1660
1771
  break;
1661
1772
  }
1662
- case a0.id: {
1663
- const { range: t, unitId: e, subUnitId: r } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, r);
1664
- i && i.filter((u) => u.ranges.some((l) => X.intersects(l, t))).forEach((u) => {
1665
- this._conditionalFormattingViewModelV2.markRuleDirty(e, r, u.cfId);
1773
+ case D0.id: {
1774
+ const { range: t, unitId: e, subUnitId: n } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, n);
1775
+ i && i.filter((u) => u.ranges.some((l) => t2.intersects(l, t))).forEach((u) => {
1776
+ this._conditionalFormattingViewModelV2.markRuleDirty(e, n, u.cfId);
1666
1777
  });
1667
1778
  break;
1668
1779
  }
@@ -1671,180 +1782,192 @@ let K = class extends m2 {
1671
1782
  );
1672
1783
  }
1673
1784
  };
1674
- K = Q0([
1675
- Z(0, A(k)),
1676
- Z(1, A(F2)),
1677
- Z(2, A(L2)),
1678
- Z(3, A(W2)),
1679
- Z(4, A(s0)),
1680
- Z(5, A(f2))
1681
- ], K);
1682
- const e1 = (s) => s.getCurrentUnitForType(c2.UNIVER_SHEET).getUnitId(), t1 = (s) => {
1683
- var n;
1684
- return (n = s.getCurrentUnitForType(c2.UNIVER_SHEET).getActiveSheet()) == null ? void 0 : n.getSheetId();
1785
+ r2 = C1([
1786
+ Y(0, _(y)),
1787
+ Y(1, _(M2)),
1788
+ Y(2, _(W)),
1789
+ Y(3, _(X2)),
1790
+ Y(4, _(g0)),
1791
+ Y(5, _($))
1792
+ ], r2);
1793
+ const D1 = (s) => s.getCurrentUnitForType(m2.UNIVER_SHEET).getUnitId(), f1 = (s) => {
1794
+ var r;
1795
+ return (r = s.getCurrentUnitForType(m2.UNIVER_SHEET).getActiveSheet()) == null ? void 0 : r.getSheetId();
1685
1796
  };
1686
- var r1 = Object.getOwnPropertyDescriptor, n1 = (s, n, t, e) => {
1687
- for (var r = e > 1 ? void 0 : e ? r1(n, t) : n, i = s.length - 1, a; i >= 0; i--)
1688
- (a = s[i]) && (r = a(r) || r);
1689
- return r;
1690
- }, D2 = (s, n) => (t, e) => n(t, e, s), n2;
1691
- let R2 = (n2 = class extends q2 {
1692
- constructor(s = M2, n, t, e) {
1693
- super(), this._config = s, this._injector = n, this._commandService = t, this._configService = e;
1694
- const { ...r } = Z2(
1797
+ var m1 = Object.getOwnPropertyDescriptor, F1 = (s, r, t, e) => {
1798
+ for (var n = e > 1 ? void 0 : e ? m1(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1799
+ (a = s[i]) && (n = a(n) || n);
1800
+ return n;
1801
+ }, x2 = (s, r) => (t, e) => r(t, e, s), u2;
1802
+ let B2 = (u2 = class extends Y2 {
1803
+ constructor(s = k2, r, t, e) {
1804
+ super(), this._config = s, this._injector = r, this._commandService = t, this._configService = e;
1805
+ const { ...n } = K2(
1695
1806
  {},
1696
- M2,
1807
+ k2,
1697
1808
  this._config
1698
1809
  );
1699
- this._configService.setConfig(J0, r), [
1810
+ this._configService.setConfig(h1, n), [
1811
+ [r2],
1700
1812
  [K],
1701
- [G],
1702
- [k],
1703
- [H]
1813
+ [y],
1814
+ [J]
1704
1815
  ].forEach((i) => {
1705
1816
  this._injector.add(i);
1706
1817
  }), [
1707
- T2,
1708
- E2,
1709
- U2,
1710
- v2,
1711
- s2
1818
+ a1,
1819
+ l1,
1820
+ o1,
1821
+ c1,
1822
+ u1,
1823
+ d1,
1824
+ f2,
1825
+ j,
1826
+ i2,
1827
+ s2,
1828
+ d2
1712
1829
  ].forEach((i) => {
1713
1830
  this._commandService.registerCommand(i);
1714
1831
  });
1715
1832
  }
1716
1833
  onStarting() {
1717
- this._injector.get(K), G2(this._injector, [[K], [H]]);
1718
- }
1719
- }, m(n2, "pluginName", N2), m(n2, "type", c2.UNIVER_SHEET), n2);
1720
- R2 = n1([
1721
- D2(1, A(F2)),
1722
- D2(2, A(f2)),
1723
- D2(3, H2)
1724
- ], R2);
1725
- const s1 = "sheet-conditional-rule-icon", i1 = 35, a1 = 15, l1 = 2;
1726
- class o1 extends B2 {
1834
+ this._injector.get(r2), J2(this._injector, [[r2], [J]]);
1835
+ }
1836
+ }, m(u2, "pluginName", P2), m(u2, "type", m2.UNIVER_SHEET), u2);
1837
+ B2 = F1([
1838
+ x2(1, _(M2)),
1839
+ x2(2, _($)),
1840
+ x2(3, z2)
1841
+ ], B2);
1842
+ const w1 = "sheet-conditional-rule-icon", v1 = 35, E1 = 15, p1 = 2;
1843
+ class A1 extends $2 {
1727
1844
  constructor() {
1728
1845
  super();
1729
- m(this, "_paddingRightAndLeft", l1);
1730
- m(this, "_width", a1);
1846
+ m(this, "_paddingRightAndLeft", p1);
1847
+ m(this, "_width", E1);
1731
1848
  m(this, "_imageMap", /* @__PURE__ */ new Map());
1732
- m(this, "uKey", s1);
1733
- m(this, "Z_INDEX", i1);
1849
+ m(this, "uKey", w1);
1850
+ m(this, "Z_INDEX", v1);
1734
1851
  m(this, "_radius", 1);
1735
1852
  this._init();
1736
1853
  }
1737
- draw(t, e, r, i) {
1738
- const { worksheet: a } = r;
1854
+ draw(t, e, n, i) {
1855
+ const { worksheet: a } = n;
1739
1856
  if (!a)
1740
1857
  return !1;
1741
- t.save(), N.foreach(r.rowColumnSegment, (u, l) => {
1858
+ t.save(), N.foreach(n.rowColumnSegment, (u, l) => {
1742
1859
  if (!a.getRowVisible(u) || !a.getColVisible(l))
1743
1860
  return;
1744
1861
  const o = a.getCell(u, l);
1745
1862
  if (o != null && o.iconSet) {
1746
- const { iconType: h, iconId: c } = o.iconSet;
1747
- if (h === Y0)
1863
+ const { iconType: d, iconId: c } = o.iconSet;
1864
+ if (d === r1)
1748
1865
  return;
1749
- const d = this._imageMap.get(this._createKey(h, c));
1750
- if (!d)
1866
+ const h = this._imageMap.get(this._createKey(d, c));
1867
+ if (!h)
1751
1868
  return;
1752
- const g = r.getCellWithCoordByIndex(u, l, !1);
1753
- let { isMerged: D, isMergedMainCell: f, mergeInfo: w, startY: p, endY: S, startX: B, endX: V } = g;
1754
- if (D || (f && (p = w.startY, S = w.endY, B = w.startX, V = w.endX), !this.isRenderDiffRangesByCell(w, i)))
1869
+ const g = n.getCellWithCoordByIndex(u, l, !1);
1870
+ let { isMerged: D, isMergedMainCell: f, mergeInfo: F, startY: E, endY: I, startX: p, endX: A } = g;
1871
+ if (D || (f && (E = F.startY, I = F.endY, p = F.startX, A = F.endX), !this.isRenderDiffRangesByCell(F, i)))
1755
1872
  return;
1756
- const z = V - B, Q = S - p;
1757
- if (this._width > Q || this._width > z + this._paddingRightAndLeft * 2)
1873
+ const T = A - p, a2 = I - E;
1874
+ if (this._width > a2 || this._width > T + this._paddingRightAndLeft * 2)
1758
1875
  return;
1759
- const h2 = (Q - this._width) / 2 + p;
1760
- t.drawImage(d, B + this._paddingRightAndLeft, h2, this._width, this._width);
1876
+ const v2 = (a2 - this._width) / 2 + E;
1877
+ t.drawImage(h, p + this._paddingRightAndLeft, v2, this._width, this._width);
1761
1878
  }
1762
1879
  }), t.restore();
1763
1880
  }
1764
1881
  _init() {
1765
- for (const t in o2)
1766
- o2[t].forEach((r, i) => {
1882
+ for (const t in D2)
1883
+ D2[t].forEach((n, i) => {
1767
1884
  const a = this._createKey(t, String(i)), u = new Image();
1768
1885
  u.onload = () => {
1769
1886
  this._imageMap.set(a, u);
1770
- }, u.src = r;
1887
+ }, u.src = n;
1771
1888
  });
1772
1889
  }
1773
1890
  _createKey(t, e) {
1774
1891
  return `${t}_${e}`;
1775
1892
  }
1776
1893
  }
1777
- k2.add(o1);
1778
- function c1(s) {
1894
+ O2.add(A1);
1895
+ function x1(s) {
1779
1896
  if (typeof s != "object" || s === null)
1780
1897
  return s;
1781
- const n = {};
1898
+ const r = {};
1782
1899
  for (const t in s)
1783
1900
  if (s.hasOwnProperty(t)) {
1784
- const e = c1(s[t]);
1785
- e !== void 0 && (n[t] = e);
1901
+ const e = x1(s[t]);
1902
+ e !== void 0 && (r[t] = e);
1786
1903
  }
1787
- return n;
1904
+ return r;
1788
1905
  }
1789
1906
  export {
1790
- T2 as AddConditionalRuleMutation,
1791
- y1 as AddConditionalRuleMutationUndoFactory,
1792
- F as CFNumberOperator,
1793
- y as CFRuleType,
1794
- E as CFSubRuleType,
1795
- M as CFTextOperator,
1796
- R as CFTimePeriodOperator,
1797
- _ as CFValueType,
1798
- C2 as CONDITIONAL_FORMATTING_VIEWPORT_CACHE_LENGTH,
1799
- s2 as ConditionalFormattingFormulaMarkDirty,
1800
- G as ConditionalFormattingFormulaService,
1801
- o1 as ConditionalFormattingIcon,
1802
- k as ConditionalFormattingRuleModel,
1803
- K as ConditionalFormattingService,
1804
- H as ConditionalFormattingViewModel,
1805
- m1 as DEFAULT_BG_COLOR,
1806
- F1 as DEFAULT_FONT_COLOR,
1807
- l1 as DEFAULT_PADDING,
1808
- a1 as DEFAULT_WIDTH,
1809
- b0 as DataBar,
1810
- E2 as DeleteConditionalRuleMutation,
1811
- K0 as DeleteConditionalRuleMutationUndoFactory,
1812
- Y0 as EMPTY_ICON_TYPE,
1813
- b as FormulaResultStatus,
1814
- s1 as IconUKey,
1815
- v2 as MoveConditionalRuleMutation,
1816
- _1 as MoveConditionalRuleMutationUndoFactory,
1817
- N2 as SHEET_CONDITIONAL_FORMATTING_PLUGIN,
1818
- U2 as SetConditionalRuleMutation,
1819
- R2 as UniverSheetsConditionalFormattingPlugin,
1820
- m0 as anchorUndoFactory,
1821
- Y as compareWithNumber,
1822
- F0 as createCfId,
1823
- w1 as createDefaultRule,
1824
- v1 as createDefaultValue,
1825
- E1 as createDefaultValueByValueType,
1826
- M0 as dataBarUKey,
1827
- y2 as defaultDataBarNativeColor,
1828
- _2 as defaultDataBarPositiveColor,
1829
- R0 as defaultPlaceholderColor,
1830
- w2 as filterRange,
1831
- W as findIndexByAnchor,
1832
- A1 as getCacheStyleMatrix,
1833
- U as getCellValue,
1834
- _0 as getColorScaleFromValue,
1835
- x1 as getMaxInFormulaResult,
1836
- x0 as getOppositeOperator,
1837
- l2 as getValueByType,
1838
- X0 as iconGroup,
1839
- o2 as iconMap,
1840
- p1 as isAnchorEqual,
1841
- a2 as isFloatsEqual,
1842
- I as isNullable,
1843
- b1 as isRangesEqual,
1844
- D0 as moveByAnchor,
1845
- c1 as removeUndefinedAttr,
1846
- A0 as serialTimeToTimestamp,
1847
- M1 as setConditionalRuleMutationUndoFactory,
1848
- p0 as toYMD_1900,
1849
- f0 as transformSupportSymmetryAnchor
1907
+ a1 as AddCfCommand,
1908
+ f2 as AddConditionalRuleMutation,
1909
+ i1 as AddConditionalRuleMutationUndoFactory,
1910
+ w as CFNumberOperator,
1911
+ S as CFRuleType,
1912
+ x as CFSubRuleType,
1913
+ b as CFTextOperator,
1914
+ L as CFTimePeriodOperator,
1915
+ R as CFValueType,
1916
+ A2 as CONDITIONAL_FORMATTING_VIEWPORT_CACHE_LENGTH,
1917
+ l1 as ClearRangeCfCommand,
1918
+ o1 as ClearWorksheetCfCommand,
1919
+ d2 as ConditionalFormattingFormulaMarkDirty,
1920
+ K as ConditionalFormattingFormulaService,
1921
+ A1 as ConditionalFormattingIcon,
1922
+ y as ConditionalFormattingRuleModel,
1923
+ r2 as ConditionalFormattingService,
1924
+ J as ConditionalFormattingViewModel,
1925
+ L1 as DEFAULT_BG_COLOR,
1926
+ k1 as DEFAULT_FONT_COLOR,
1927
+ p1 as DEFAULT_PADDING,
1928
+ E1 as DEFAULT_WIDTH,
1929
+ V0 as DataBar,
1930
+ c1 as DeleteCfCommand,
1931
+ j as DeleteConditionalRuleMutation,
1932
+ w2 as DeleteConditionalRuleMutationUndoFactory,
1933
+ r1 as EMPTY_ICON_TYPE,
1934
+ B as FormulaResultStatus,
1935
+ w1 as IconUKey,
1936
+ u1 as MoveCfCommand,
1937
+ s2 as MoveConditionalRuleMutation,
1938
+ s1 as MoveConditionalRuleMutationUndoFactory,
1939
+ P2 as SHEET_CONDITIONAL_FORMATTING_PLUGIN,
1940
+ d1 as SetCfCommand,
1941
+ i2 as SetConditionalRuleMutation,
1942
+ B2 as UniverSheetsConditionalFormattingPlugin,
1943
+ _0 as anchorUndoFactory,
1944
+ n2 as compareWithNumber,
1945
+ M0 as createCfId,
1946
+ B1 as createDefaultRule,
1947
+ N1 as createDefaultValue,
1948
+ U1 as createDefaultValueByValueType,
1949
+ N0 as dataBarUKey,
1950
+ L2 as defaultDataBarNativeColor,
1951
+ b2 as defaultDataBarPositiveColor,
1952
+ U0 as defaultPlaceholderColor,
1953
+ y2 as filterRange,
1954
+ H as findIndexByAnchor,
1955
+ V1 as getCacheStyleMatrix,
1956
+ P as getCellValue,
1957
+ k0 as getColorScaleFromValue,
1958
+ O1 as getMaxInFormulaResult,
1959
+ L0 as getOppositeOperator,
1960
+ C2 as getValueByType,
1961
+ n1 as iconGroup,
1962
+ D2 as iconMap,
1963
+ T1 as isAnchorEqual,
1964
+ g2 as isFloatsEqual,
1965
+ k as isNullable,
1966
+ W1 as isRangesEqual,
1967
+ x0 as moveByAnchor,
1968
+ x1 as removeUndefinedAttr,
1969
+ b0 as serialTimeToTimestamp,
1970
+ q2 as setConditionalRuleMutationUndoFactory,
1971
+ S0 as toYMD_1900,
1972
+ W2 as transformSupportSymmetryAnchor
1850
1973
  };