@univerjs/sheets-conditional-formatting 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251223-857805c

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,17 +1,16 @@
1
- var H2 = Object.defineProperty;
2
- var j2 = (s, r, t) => r in s ? H2(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
- var m = (s, r, t) => j2(s, typeof r != "symbol" ? r + "" : r, t);
4
- import { generateRandomId as X2, Tools as J, CommandType as O, IUndoRedoService as e2, ICommandService as W, IUniverInstanceService as q, ObjectMatrix as V, Range as T, sequenceExecute as k2, Inject as S, Disposable as _2, RefAlias as K2, CellValueType as x, BooleanNumber as N2, LRUMap as T2, ColorKit as U2, dayjs as v, Injector as x2, RTree as Y2, IResourceManagerService as J2, merge as V2, UniverInstanceType as D2, isInternalEditorID as z2, Rectangle as n2, DependentOn as Q2, IConfigService as e0, Plugin as t0, touchDependencies as n0 } from "@univerjs/core";
5
- import { isRangesEqual as K1 } from "@univerjs/core";
6
- import { getSheetCommandTarget as t2, SheetsSelectionsService as r0, findAllRectangle as s0, createTopMatrixFromMatrix as i0, SheetInterceptorService as a0, RemoveSheetCommand as l0, CopySheetCommand as o0, ReorderRangeMutation as u0, MoveRangeMutation as c0, MoveColsMutation as d0, MoveRowsMutation as h0, InsertRowMutation as g0, RemoveRowMutation as C0, RemoveColMutation as f0, InsertColMutation as D0, SetRangeValuesMutation as m0 } from "@univerjs/sheets";
7
- import { Subject as d2, BehaviorSubject as F0 } from "rxjs";
8
- import { RegisterOtherFormulaService as w0, FormulaResultStatus as p, OtherFormulaBizType as v0, ERROR_TYPE_SET as R2, BooleanValue as I2 } from "@univerjs/engine-formula";
9
- import { distinctUntilChanged as p0, bufferTime as E0, filter as A0, map as _0 } from "rxjs/operators";
10
- import { isObject as x0, SpreadsheetExtensionRegistry as O2, SheetExtension as $2, FIX_ONE_PIXEL_BLUR_OFFSET as M0 } from "@univerjs/engine-render";
11
- import { UniverSheetsFormulaPlugin as y0 } from "@univerjs/sheets-formula";
12
- const P2 = "SHEET_CONDITIONAL_FORMATTING_PLUGIN";
13
- 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 || {}), k = /* @__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))(k || {}), 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 || {}), M = /* @__PURE__ */ ((s) => (s.highlightCell = "highlightCell", s.dataBar = "dataBar", s.colorScale = "colorScale", s.iconSet = "iconSet", s))(M || {}), _ = /* @__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))(_ || {}), b = /* @__PURE__ */ ((s) => (s.num = "num", s.min = "min", s.max = "max", s.percent = "percent", s.percentile = "percentile", s.formula = "formula", s))(b || {});
14
- const O1 = "#fff", $1 = "#000000", P1 = () => ({
1
+ var X2 = Object.defineProperty;
2
+ var K2 = (s, r, t) => r in s ? X2(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t;
3
+ var m = (s, r, t) => K2(s, typeof r != "symbol" ? r + "" : r, t);
4
+ import { generateRandomId as U2, Tools as J, CommandType as T, IUndoRedoService as e2, ICommandService as P, IUniverInstanceService as q, ObjectMatrix as O, Range as U, sequenceExecute as T2, Inject as x, Disposable as M2, RefAlias as Y2, CellValueType as _, BooleanNumber as V2, LRUMap as O2, ColorKit as $2, dayjs as v, Injector as y2, RTree as J2, IResourceManagerService as z2, merge as P2, UniverInstanceType as m2, isInternalEditorID as Q2, Rectangle as n2, Plugin as e0, touchDependencies as t0, IConfigService as n0 } from "@univerjs/core";
5
+ import { isRangesEqual as X1 } from "@univerjs/core";
6
+ import { getSheetCommandTarget as t2, SheetsSelectionsService as r0, findAllRectangle as s0, createTopMatrixFromMatrix as i0, SheetInterceptorService as a0, RemoveSheetCommand as o0, CopySheetCommand as l0, ReorderRangeMutation as c0, MoveRangeMutation as u0, MoveColsMutation as d0, MoveRowsMutation as h0, InsertRowMutation as g0, RemoveRowMutation as C0, RemoveColMutation as D0, InsertColMutation as f0, SetRangeValuesMutation as m0 } from "@univerjs/sheets";
7
+ import { Subject as g2, BehaviorSubject as w0 } from "rxjs";
8
+ import { IActiveDirtyManagerService as F0, SetFormulaCalculationResultMutation as v0, SetOtherFormulaMutation as p0, RemoveOtherFormulaMutation as E0, ERROR_TYPE_SET as S2, BooleanValue as b2 } from "@univerjs/engine-formula";
9
+ import { distinctUntilChanged as A0, bufferTime as x0, filter as _0, map as M0 } from "rxjs/operators";
10
+ import { isObject as y0, SpreadsheetExtensionRegistry as W2, SheetExtension as q2, FIX_ONE_PIXEL_BLUR_OFFSET as R0 } from "@univerjs/engine-render";
11
+ const Z2 = "SHEET_CONDITIONAL_FORMATTING_PLUGIN";
12
+ var L = /* @__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))(L || {}), k = /* @__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))(k || {}), 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 || {}), S = /* @__PURE__ */ ((s) => (s.highlightCell = "highlightCell", s.dataBar = "dataBar", s.colorScale = "colorScale", s.iconSet = "iconSet", s))(S || {}), A = /* @__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))(A || {}), I = /* @__PURE__ */ ((s) => (s.num = "num", s.min = "min", s.max = "max", s.percent = "percent", s.percentile = "percentile", s.formula = "formula", s))(I || {});
13
+ const V1 = "#fff", O1 = "#000000", $1 = () => ({
15
14
  cfId: void 0,
16
15
  ranges: [],
17
16
  stopIfTrue: !1,
@@ -21,7 +20,7 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
21
20
  operator: "containsText"
22
21
  /* containsText */
23
22
  }
24
- }), W1 = (s, r) => {
23
+ }), P1 = (s, r) => {
25
24
  switch (s) {
26
25
  case "text": {
27
26
  if ([
@@ -44,7 +43,7 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
44
43
  ].includes(r) ? [10, 100] : 10;
45
44
  }
46
45
  return "";
47
- }, q1 = (s, r) => {
46
+ }, W1 = (s, r) => {
48
47
  switch (s) {
49
48
  case "formula":
50
49
  return "=";
@@ -71,7 +70,7 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
71
70
  case "self":
72
71
  return e;
73
72
  }
74
- }, R0 = (s, r, t, e) => {
73
+ }, I0 = (s, r, t, e) => {
75
74
  if (!t)
76
75
  return null;
77
76
  const n = X(s, t, e);
@@ -90,7 +89,7 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
90
89
  break;
91
90
  }
92
91
  }
93
- }, W2 = (s, r, t, e) => {
92
+ }, G2 = (s, r, t, e) => {
94
93
  if (s.type === "after" && ["after", "before"].includes(r.type))
95
94
  return [s, r];
96
95
  const n = { ...s }, i = { ...r };
@@ -99,14 +98,14 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
99
98
  if (a === null)
100
99
  return null;
101
100
  if (a - 1 < 0) {
102
- const c = t[a + 1];
103
- if (c)
104
- n.id = e(c), n.type = "before";
101
+ const u = t[a + 1];
102
+ if (u)
103
+ n.id = e(u), n.type = "before";
105
104
  else
106
105
  return null;
107
106
  } else {
108
- const c = e(t[a - 1]);
109
- n.id = c, n.type = "after";
107
+ const u = e(t[a - 1]);
108
+ n.id = u, n.type = "after";
110
109
  }
111
110
  }
112
111
  if (!["after", "before"].includes(i.type)) {
@@ -116,16 +115,16 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
116
115
  if (a === 0)
117
116
  i.type = "before";
118
117
  else if (a - 1 >= 0) {
119
- const c = e(t[a - 1]);
120
- i.id = c, i.type = "after";
118
+ const u = e(t[a - 1]);
119
+ i.id = u, i.type = "after";
121
120
  } else if (a + 1 <= t.length - 1) {
122
- const c = e(t[a + 1]);
123
- i.id = c, i.type = "before";
121
+ const u = e(t[a + 1]);
122
+ i.id = u, i.type = "before";
124
123
  } else
125
124
  return null;
126
125
  }
127
126
  return n.id === i.id && n.type === i.type ? null : [n, i];
128
- }, I0 = (s, r) => {
127
+ }, S0 = (s, r) => {
129
128
  if (["after", "before"].includes(r.type)) {
130
129
  if (s.type === "after")
131
130
  return [r, s];
@@ -133,12 +132,12 @@ const O1 = "#fff", $1 = "#000000", P1 = () => ({
133
132
  return [r, { ...s, type: "self" }];
134
133
  }
135
134
  return null;
136
- }, Z1 = (s, r) => s.id === r.id && s.type === r.type, S0 = () => `${X2(8)}`;
137
- class y {
135
+ }, q1 = (s, r) => s.id === r.id && s.type === r.type, b0 = () => `${U2(8)}`;
136
+ class M {
138
137
  constructor() {
139
138
  // Map<unitID ,<sheetId ,IConditionFormattingRule[]>>
140
139
  m(this, "_model", /* @__PURE__ */ new Map());
141
- m(this, "_ruleChange$", new d2());
140
+ m(this, "_ruleChange$", new g2());
142
141
  m(this, "$ruleChange", this._ruleChange$.asObservable());
143
142
  }
144
143
  _ensureList(r, t) {
@@ -164,15 +163,15 @@ class y {
164
163
  deleteRule(r, t, e) {
165
164
  const n = this.getSubunitRules(r, t);
166
165
  if (n) {
167
- const i = n.findIndex((c) => c.cfId === e), a = n[i];
166
+ const i = n.findIndex((u) => u.cfId === e), a = n[i];
168
167
  a && (n.splice(i, 1), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: r, type: "delete" }));
169
168
  }
170
169
  }
171
170
  setRule(r, t, e, n) {
172
- const a = this._ensureList(r, t).find((c) => c.cfId === n);
171
+ const a = this._ensureList(r, t).find((u) => u.cfId === n);
173
172
  if (a) {
174
- const c = J.deepClone(a);
175
- Object.assign(a, e), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: r, type: "set", oldRule: c });
173
+ const u = J.deepClone(a);
174
+ Object.assign(a, e), this._ruleChange$.next({ rule: a, subUnitId: t, unitId: r, type: "set", oldRule: u });
176
175
  }
177
176
  }
178
177
  addRule(r, t, e) {
@@ -184,107 +183,107 @@ class y {
184
183
  * if targetId does not exist, it defaults to top
185
184
  */
186
185
  moveRulePriority(r, t, e, n) {
187
- const i = this._ensureList(r, t), a = X(e, i, (o) => o.cfId), c = X(n, i, (o) => o.cfId);
188
- if (c === null || a === null || c === a)
186
+ const i = this._ensureList(r, t), a = X(e, i, (l) => l.cfId), u = X(n, i, (l) => l.cfId);
187
+ if (u === null || a === null || u === a)
189
188
  return;
190
- const l = i[a];
191
- l && (R0(e, n, i, (o) => o.cfId), this._ruleChange$.next({ rule: l, subUnitId: t, unitId: r, type: "sort" }));
189
+ const o = i[a];
190
+ o && (I0(e, n, i, (l) => l.cfId), this._ruleChange$.next({ rule: o, subUnitId: t, unitId: r, type: "sort" }));
192
191
  }
193
192
  createCfId(r, t) {
194
- return S0();
193
+ return b0();
195
194
  }
196
195
  deleteUnitId(r) {
197
196
  this._model.delete(r);
198
197
  }
199
198
  }
200
199
  const i2 = {
201
- type: O.MUTATION,
200
+ type: T.MUTATION,
202
201
  id: "sheet.mutation.move-conditional-rule",
203
202
  handler(s, r) {
204
203
  if (!r)
205
204
  return !1;
206
205
  const { unitId: t, subUnitId: e, start: n, end: i } = r;
207
- return s.get(y).moveRulePriority(t, e, n, i), !0;
206
+ return s.get(M).moveRulePriority(t, e, n, i), !0;
208
207
  }
209
- }, b0 = (s) => {
210
- const { unitId: r, subUnitId: t } = s, e = I0(s.start, s.end);
208
+ }, L0 = (s) => {
209
+ const { unitId: r, subUnitId: t } = s, e = S0(s.start, s.end);
211
210
  if (!e)
212
211
  return [];
213
212
  const [n, i] = e;
214
213
  return [
215
214
  { id: i2.id, params: { unitId: r, subUnitId: t, start: n, end: i } }
216
215
  ];
217
- }, m2 = (s, r) => {
218
- const t = s.get(y), { unitId: e, subUnitId: n, cfId: i } = r, a = [...t.getSubunitRules(e, n) || []], c = a.findIndex((o) => o.cfId === i), l = a[c - 1];
219
- if (c > -1) {
220
- const o = a[c], d = [{
216
+ }, w2 = (s, r) => {
217
+ const t = s.get(M), { unitId: e, subUnitId: n, cfId: i } = r, a = [...t.getSubunitRules(e, n) || []], u = a.findIndex((l) => l.cfId === i), o = a[u - 1];
218
+ if (u > -1) {
219
+ const l = a[u], d = [{
221
220
  id: a2.id,
222
- params: { unitId: e, subUnitId: n, rule: J.deepClone(o) }
221
+ params: { unitId: e, subUnitId: n, rule: J.deepClone(l) }
223
222
  }];
224
- if (a.splice(c, 1), c !== 0) {
225
- const u = a[0];
226
- if (u) {
227
- const h = W2({ id: u.cfId, type: "before" }, { id: l.cfId, type: "after" }, a, (F) => F.cfId);
228
- if (!h)
223
+ if (a.splice(u, 1), u !== 0) {
224
+ const c = a[0];
225
+ if (c) {
226
+ const g = G2({ id: c.cfId, type: "before" }, { id: o.cfId, type: "after" }, a, (w) => w.cfId);
227
+ if (!g)
229
228
  return d;
230
- const [g, f] = h, D = {
229
+ const [h, D] = g, f = {
231
230
  unitId: e,
232
231
  subUnitId: n,
233
- start: g,
234
- end: f
232
+ start: h,
233
+ end: D
235
234
  };
236
- d.push({ id: i2.id, params: D });
235
+ d.push({ id: i2.id, params: f });
237
236
  }
238
237
  }
239
238
  return d;
240
239
  }
241
240
  return [];
242
241
  }, K = {
243
- type: O.MUTATION,
242
+ type: T.MUTATION,
244
243
  id: "sheet.mutation.delete-conditional-rule",
245
244
  handler(s, r) {
246
245
  if (!r)
247
246
  return !1;
248
247
  const { unitId: t, subUnitId: e, cfId: n } = r;
249
- return s.get(y).deleteRule(t, e, n), !0;
248
+ return s.get(M).deleteRule(t, e, n), !0;
250
249
  }
251
- }, q2 = (s, r) => ({ id: K.id, params: { unitId: r.unitId, subUnitId: r.subUnitId, cfId: r.rule.cfId } }), a2 = {
252
- type: O.MUTATION,
250
+ }, H2 = (s, r) => ({ id: K.id, params: { unitId: r.unitId, subUnitId: r.subUnitId, cfId: r.rule.cfId } }), a2 = {
251
+ type: T.MUTATION,
253
252
  id: "sheet.mutation.add-conditional-rule",
254
253
  handler(s, r) {
255
254
  if (!r)
256
255
  return !1;
257
256
  const { unitId: t, subUnitId: e, rule: n } = r;
258
- return s.get(y).addRule(t, e, n), !0;
257
+ return s.get(M).addRule(t, e, n), !0;
259
258
  }
260
- }, L0 = {
261
- type: O.COMMAND,
259
+ }, k0 = {
260
+ type: T.COMMAND,
262
261
  id: "sheet.command.add-conditional-rule",
263
262
  handler(s, r) {
264
263
  if (!r)
265
264
  return !1;
266
- const { rule: t } = r, e = s.get(e2), n = s.get(W), i = s.get(y), a = s.get(q), c = t2(a, r);
267
- if (!c) return !1;
268
- const { unitId: l, subUnitId: o } = c, d = i.createCfId(l, o), u = { unitId: l, subUnitId: o, rule: { ...t, cfId: t.cfId || d } }, h = q2(s, u), g = n.syncExecuteCommand(a2.id, u);
269
- return g && e.pushUndoRedo({
270
- unitID: l,
271
- redoMutations: [{ id: a2.id, params: u }],
272
- undoMutations: [h]
273
- }), g;
274
- }
275
- }, l2 = {
276
- type: O.MUTATION,
265
+ const { rule: t } = r, e = s.get(e2), n = s.get(P), i = s.get(M), a = s.get(q), u = t2(a, r);
266
+ if (!u) return !1;
267
+ const { unitId: o, subUnitId: l } = u, d = i.createCfId(o, l), c = { unitId: o, subUnitId: l, rule: { ...t, cfId: t.cfId || d } }, g = H2(s, c), h = n.syncExecuteCommand(a2.id, c);
268
+ return h && e.pushUndoRedo({
269
+ unitID: o,
270
+ redoMutations: [{ id: a2.id, params: c }],
271
+ undoMutations: [g]
272
+ }), h;
273
+ }
274
+ }, o2 = {
275
+ type: T.MUTATION,
277
276
  id: "sheet.mutation.set-conditional-rule",
278
277
  handler(s, r) {
279
278
  if (!r)
280
279
  return !1;
281
280
  const { unitId: t, subUnitId: e, rule: n } = r, i = r.cfId || r.rule.cfId;
282
- return s.get(y).setRule(t, e, n, i), !0;
281
+ return s.get(M).setRule(t, e, n, i), !0;
283
282
  }
284
- }, Z2 = (s, r) => {
285
- const t = s.get(y), { unitId: e, subUnitId: n } = r, i = r.cfId || r.rule.cfId, a = t.getRule(e, n, i);
283
+ }, j2 = (s, r) => {
284
+ const t = s.get(M), { unitId: e, subUnitId: n } = r, i = r.cfId || r.rule.cfId, a = t.getRule(e, n, i);
286
285
  return a ? [{
287
- id: l2.id,
286
+ id: o2.id,
288
287
  params: {
289
288
  unitId: e,
290
289
  subUnitId: n,
@@ -293,238 +292,261 @@ const i2 = {
293
292
  }
294
293
  }] : [];
295
294
  }, B0 = {
296
- type: O.COMMAND,
295
+ type: T.COMMAND,
297
296
  id: "sheet.command.clear-range-conditional-rule",
298
297
  handler(s, r) {
299
- var D;
298
+ var f;
300
299
  if (!r)
301
300
  return !1;
302
- const t = s.get(y), e = s.get(q), n = s.get(W), i = s.get(e2), a = s.get(r0), c = t2(e, r);
303
- if (!c) return !1;
304
- const { unitId: l, subUnitId: o } = c, d = ((D = a.getCurrentSelections()) == null ? void 0 : D.map((F) => F.range)) || [], u = t.getSubunitRules(l, o);
305
- if (!(u != null && u.length) || !d.length)
301
+ const t = s.get(M), e = s.get(q), n = s.get(P), i = s.get(e2), a = s.get(r0), u = t2(e, r);
302
+ if (!u) return !1;
303
+ const { unitId: o, subUnitId: l } = u, d = ((f = a.getCurrentSelections()) == null ? void 0 : f.map((w) => w.range)) || [], c = t.getSubunitRules(o, l);
304
+ if (!(c != null && c.length) || !d.length)
306
305
  return !1;
307
- const h = [], g = [];
308
- u.forEach((F) => {
309
- const E = new V();
310
- F.ranges.forEach((A) => {
311
- T.foreach(A, (I, L) => {
312
- E.setValue(I, L, 1);
306
+ const g = [], h = [];
307
+ c.forEach((w) => {
308
+ const p = new O();
309
+ w.ranges.forEach((E) => {
310
+ U.foreach(E, (R, b) => {
311
+ p.setValue(R, b, 1);
313
312
  });
314
- }), d.forEach((A) => {
315
- T.foreach(A, (I, L) => {
316
- E.realDeleteValue(I, L);
313
+ }), d.forEach((E) => {
314
+ U.foreach(E, (R, b) => {
315
+ p.realDeleteValue(R, b);
317
316
  });
318
317
  });
319
- const R = s0(i0(E));
320
- if (R.length) {
321
- const A = { ...F, ranges: R }, I = { unitId: l, subUnitId: o, rule: A }, L = Z2(s, I);
322
- h.push({ id: l2.id, params: I }), g.push(...L);
318
+ const y = s0(i0(p));
319
+ if (y.length) {
320
+ const E = { ...w, ranges: y }, R = { unitId: o, subUnitId: l, rule: E }, b = j2(s, R);
321
+ g.push({ id: o2.id, params: R }), h.push(...b);
323
322
  } else {
324
- const A = { unitId: l, subUnitId: o, cfId: F.cfId }, I = m2(s, A);
325
- h.push({ id: K.id, params: A }), g.push(...I);
323
+ const E = { unitId: o, subUnitId: l, cfId: w.cfId }, R = w2(s, E);
324
+ g.push({ id: K.id, params: E }), h.push(...R);
326
325
  }
327
326
  });
328
- const f = k2(h, n).result;
329
- return f && i.pushUndoRedo({
330
- unitID: l,
331
- redoMutations: h,
332
- undoMutations: g
333
- }), f;
327
+ const D = T2(g, n).result;
328
+ return D && i.pushUndoRedo({
329
+ unitID: o,
330
+ redoMutations: g,
331
+ undoMutations: h
332
+ }), D;
334
333
  }
335
- }, k0 = {
336
- type: O.COMMAND,
334
+ }, N0 = {
335
+ type: T.COMMAND,
337
336
  id: "sheet.command.clear-worksheet-conditional-rule",
338
337
  handler(s, r) {
339
- const t = s.get(y), e = s.get(q), n = s.get(W), i = s.get(e2), a = t2(e, r);
338
+ const t = s.get(M), e = s.get(q), n = s.get(P), i = s.get(e2), a = t2(e, r);
340
339
  if (!a) return !1;
341
- const { unitId: c, subUnitId: l } = a, o = t.getSubunitRules(c, l);
342
- if (!(o != null && o.length))
340
+ const { unitId: u, subUnitId: o } = a, l = t.getSubunitRules(u, o);
341
+ if (!(l != null && l.length))
343
342
  return !1;
344
- const d = o.map((f) => ({ cfId: f.cfId, unitId: c, subUnitId: l })), u = d.map((f) => ({ id: K.id, params: f })), h = d.map((f) => m2(s, f)[0]), g = k2(u, n).result;
345
- return g && i.pushUndoRedo({
346
- unitID: c,
347
- redoMutations: u,
348
- undoMutations: h
349
- }), g;
343
+ const d = l.map((D) => ({ cfId: D.cfId, unitId: u, subUnitId: o })), c = d.map((D) => ({ id: K.id, params: D })), g = d.map((D) => w2(s, D)[0]), h = T2(c, n).result;
344
+ return h && i.pushUndoRedo({
345
+ unitID: u,
346
+ redoMutations: c,
347
+ undoMutations: g
348
+ }), h;
350
349
  }
351
- }, N0 = {
352
- type: O.COMMAND,
350
+ }, U0 = {
351
+ type: T.COMMAND,
353
352
  id: "sheet.command.delete-conditional-rule",
354
353
  handler(s, r) {
355
354
  if (!r)
356
355
  return !1;
357
- const t = s.get(e2), e = s.get(W), n = s.get(q), i = t2(n, r);
356
+ const t = s.get(e2), e = s.get(P), n = s.get(q), i = t2(n, r);
358
357
  if (!i) return !1;
359
- const { unitId: a, subUnitId: c } = i, l = { unitId: a, subUnitId: c, cfId: r.cfId }, o = m2(s, l), d = e.syncExecuteCommand(K.id, l);
360
- return d && t.pushUndoRedo({ unitID: a, undoMutations: o, redoMutations: [{ id: K.id, params: l }] }), d;
358
+ const { unitId: a, subUnitId: u } = i, o = { unitId: a, subUnitId: u, cfId: r.cfId }, l = w2(s, o), d = e.syncExecuteCommand(K.id, o);
359
+ return d && t.pushUndoRedo({ unitID: a, undoMutations: l, redoMutations: [{ id: K.id, params: o }] }), d;
361
360
  }
362
361
  }, T0 = {
363
- type: O.COMMAND,
362
+ type: T.COMMAND,
364
363
  id: "sheet.command.move-conditional-rule",
365
364
  handler(s, r) {
366
365
  if (!r)
367
366
  return !1;
368
- const t = s.get(e2), e = s.get(W), n = s.get(q), i = s.get(y), a = t2(n, r);
367
+ const t = s.get(e2), e = s.get(P), n = s.get(q), i = s.get(M), a = t2(n, r);
369
368
  if (!a) return !1;
370
- const { unitId: c, subUnitId: l } = a, o = W2(r.start, r.end, i.getSubunitRules(c, l) || [], (D) => D.cfId);
371
- if (!o)
369
+ const { unitId: u, subUnitId: o } = a, l = G2(r.start, r.end, i.getSubunitRules(u, o) || [], (f) => f.cfId);
370
+ if (!l)
372
371
  return !1;
373
- const [d, u] = o, h = { unitId: c, subUnitId: l, start: d, end: u }, g = b0(h), f = e.syncExecuteCommand(i2.id, h);
374
- return f && t.pushUndoRedo({
375
- unitID: c,
376
- redoMutations: [{ id: i2.id, params: h }],
377
- undoMutations: g
378
- }), f;
372
+ const [d, c] = l, g = { unitId: u, subUnitId: o, start: d, end: c }, h = L0(g), D = e.syncExecuteCommand(i2.id, g);
373
+ return D && t.pushUndoRedo({
374
+ unitID: u,
375
+ redoMutations: [{ id: i2.id, params: g }],
376
+ undoMutations: h
377
+ }), D;
379
378
  }
380
- }, U0 = {
381
- type: O.COMMAND,
379
+ }, V0 = {
380
+ type: T.COMMAND,
382
381
  id: "sheet.command.set-conditional-rule",
383
382
  handler(s, r) {
384
383
  if (!r)
385
384
  return !1;
386
- const t = s.get(e2), e = s.get(W), n = s.get(q), i = t2(n, r);
385
+ const t = s.get(e2), e = s.get(P), n = s.get(q), i = t2(n, r);
387
386
  if (!i) return !1;
388
- const { unitId: a, subUnitId: c } = i, l = { unitId: a, subUnitId: c, rule: r.rule, cfId: r.cfId }, o = Z2(s, l), d = e.syncExecuteCommand(l2.id, l);
389
- return d && t.pushUndoRedo({ unitID: a, undoMutations: o, redoMutations: [{ id: l2.id, params: l }] }), d;
387
+ const { unitId: a, subUnitId: u } = i, o = { unitId: a, subUnitId: u, rule: r.rule, cfId: r.cfId }, l = j2(s, o), d = e.syncExecuteCommand(o2.id, o);
388
+ return d && t.pushUndoRedo({ unitID: a, undoMutations: l, redoMutations: [{ id: o2.id, params: o }] }), d;
389
+ }
390
+ }, h2 = {
391
+ type: T.MUTATION,
392
+ id: "sheet.mutation.conditional-formatting-formula-mark-dirty",
393
+ handler() {
394
+ return !0;
390
395
  }
391
396
  };
392
- var V0 = Object.getOwnPropertyDescriptor, O0 = (s, r, t, e) => {
393
- for (var n = e > 1 ? void 0 : e ? V0(r, t) : r, i = s.length - 1, a; i >= 0; i--)
397
+ var O0 = Object.getOwnPropertyDescriptor, $0 = (s, r, t, e) => {
398
+ for (var n = e > 1 ? void 0 : e ? O0(r, t) : r, i = s.length - 1, a; i >= 0; i--)
394
399
  (a = s[i]) && (n = a(n) || n);
395
400
  return n;
396
- }, S2 = (s, r) => (t, e) => r(t, e, s);
397
- let z = class extends _2 {
398
- constructor(r, t) {
401
+ }, E2 = (s, r) => (t, e) => r(t, e, s), N = /* @__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))(N || {});
402
+ const P0 = (s) => {
403
+ const r = s && s[0] && s[0][0];
404
+ return (r == null ? void 0 : r.t) === _.BOOLEAN ? r.v === V2.TRUE || r.v === !0 : r ? r.v : !1;
405
+ };
406
+ let z = class extends M2 {
407
+ constructor(r, t, e) {
399
408
  super();
400
409
  // Cache Formula ID and formula mapping.
401
410
  m(this, "_formulaMap", /* @__PURE__ */ new Map());
402
- m(this, "_result$", new d2());
411
+ m(this, "_result$", new g2());
403
412
  m(this, "result$", this._result$.asObservable());
404
- this._registerOtherFormulaService = r, this._conditionalFormattingRuleModel = t, this._initFormulaResultChange(), this._initRuleChange();
413
+ this._commandService = r, this._activeDirtyManagerService = t, this._conditionalFormattingRuleModel = e, this._initFormulaCalculationResultChange(), this._initRuleChange();
405
414
  }
406
415
  _initRuleChange() {
407
416
  const r = (t) => {
408
417
  switch (t.type) {
409
- case M.colorScale:
410
- return t.config.some((e) => e.value.type === b.formula);
411
- case M.dataBar:
412
- return [t.config.max, t.config.min].some((e) => e.type === b.formula);
413
- case M.iconSet:
414
- return t.config.some((e) => e.value.type === b.formula);
418
+ case S.colorScale:
419
+ return t.config.some((e) => e.value.type === I.formula);
420
+ case S.dataBar:
421
+ return [t.config.max, t.config.min].some((e) => e.type === I.formula);
422
+ case S.iconSet:
423
+ return t.config.some((e) => e.value.type === I.formula);
415
424
  }
416
425
  };
417
426
  this.disposeWithMe(this._conditionalFormattingRuleModel.$ruleChange.subscribe((t) => {
418
427
  const { unitId: e, subUnitId: n, rule: i, oldRule: a } = t;
419
- 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), t.type === "add" && this._registerRuleFormulas(e, n, i);
428
+ 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);
420
429
  }));
421
430
  }
422
- /**
423
- * Register formulas for a specific rule based on its type
424
- */
425
- _registerRuleFormulas(r, t, e) {
426
- switch (e.rule.type) {
427
- case M.highlightCell: {
428
- if (e.rule.subType === _.formula) {
429
- const n = e.rule.value;
430
- n && this.registerFormulaWithRange(
431
- r,
432
- t,
433
- e.cfId,
434
- n,
435
- e.ranges
436
- );
437
- }
438
- break;
431
+ _initFormulaCalculationResultChange() {
432
+ this.disposeWithMe(this._commandService.onCommandExecuted((r) => {
433
+ if (r.id === v0.id) {
434
+ const t = r.params;
435
+ for (const e in t.unitOtherData)
436
+ for (const n in t.unitOtherData[e])
437
+ for (const i in t.unitOtherData[e][n]) {
438
+ const a = new O(t.unitOtherData[e][n][i]), u = this._ensureSubunitFormulaMap(e, n).getValue(i, ["formulaId"]);
439
+ if (!u)
440
+ continue;
441
+ const o = u.ranges;
442
+ if (!o)
443
+ continue;
444
+ const l = u.result, d = o[0].startRow, c = o[0].startColumn;
445
+ a.forValue((D, f, w) => {
446
+ l.setValue(d + D, c + f, P0(w));
447
+ }), u.status = 2;
448
+ const h = this._getAllFormulaResultByCfId(e, n, u.cfId).every(
449
+ (D) => D.status === 2
450
+ /* SUCCESS */
451
+ );
452
+ this._result$.next({ ...u, isAllFinished: h });
453
+ }
439
454
  }
440
- }
441
- }
442
- _initFormulaResultChange() {
443
- this.disposeWithMe(this._registerOtherFormulaService.formulaResult$.subscribe((r) => {
444
- for (const t in r)
445
- for (const e in r[t]) {
446
- const n = r[t][e];
447
- for (const i of n) {
448
- const a = this._ensureSubunitFormulaMap(t, e).getValue(i.formulaId, ["formulaId"]);
449
- if (!a)
450
- continue;
451
- const l = this._getAllFormulaResultByCfId(t, e, a.cfId).every((o) => {
452
- const d = this._registerOtherFormulaService.getFormulaValueSync(t, e, o.formulaId);
453
- return (d == null ? void 0 : d.status) === p.SUCCESS;
454
- });
455
- this._result$.next({ ...a, isAllFinished: l });
456
- }
457
- }
458
- }));
455
+ })), this._activeDirtyManagerService.register(h2.id, {
456
+ commandId: h2.id,
457
+ getDirtyData(r) {
458
+ return {
459
+ dirtyUnitOtherFormulaMap: r.params
460
+ };
461
+ }
462
+ });
459
463
  }
460
464
  _ensureSubunitFormulaMap(r, t) {
461
465
  let e = this._formulaMap.get(r);
462
466
  e || (e = /* @__PURE__ */ new Map(), this._formulaMap.set(r, e));
463
467
  let n = e.get(t);
464
- return n || (n = new K2([], ["formulaId", "id"]), e.set(t, n)), n;
468
+ return n || (n = new Y2([], ["formulaId", "id"]), e.set(t, n)), n;
465
469
  }
466
470
  getSubUnitFormulaMap(r, t) {
467
471
  var e;
468
472
  return (e = this._formulaMap.get(r)) == null ? void 0 : e.get(t);
469
473
  }
470
474
  registerFormulaWithRange(r, t, e, n, i = [{ startRow: 0, endRow: 0, startColumn: 0, endColumn: 0 }]) {
471
- const a = this._ensureSubunitFormulaMap(r, t), c = this.createCFormulaId(e, n);
472
- if (a.getValue(c, ["id"]))
475
+ const a = this._ensureSubunitFormulaMap(r, t), u = this.createCFormulaId(e, n);
476
+ if (a.getValue(u, ["id"]))
473
477
  return;
474
- const l = this._registerOtherFormulaService.registerFormulaWithRange(r, t, n, i, void 0, v0.CONDITIONAL_FORMATTING, e);
478
+ const o = this._createFormulaId(r, t);
475
479
  a.addValue({
476
480
  formulaText: n,
477
481
  unitId: r,
478
482
  subUnitId: t,
479
483
  cfId: e,
480
- id: c,
481
- formulaId: l
484
+ id: u,
485
+ ranges: i,
486
+ formulaId: o,
487
+ status: 3,
488
+ result: new O()
489
+ });
490
+ const l = {
491
+ unitId: r,
492
+ subUnitId: t,
493
+ formulaMap: {
494
+ [o]: {
495
+ f: n,
496
+ ranges: i
497
+ }
498
+ }
499
+ };
500
+ this._commandService.executeCommand(p0.id, l, { onlyLocal: !0 }).then(() => {
501
+ this._commandService.executeCommand(h2.id, { [r]: { [t]: { [o]: !0 } } }, { onlyLocal: !0 });
482
502
  });
483
503
  }
484
504
  _removeFormulaByCfId(r, t, e) {
485
505
  const i = this.deleteCache(r, t, e).map((a) => a.formulaId);
486
- this._registerOtherFormulaService.deleteFormula(r, t, i);
506
+ this._commandService.executeCommand(E0.id, { unitId: r, subUnitId: t, formulaIdList: i }, { onlyLocal: !0 });
487
507
  }
488
508
  getFormulaResultWithCoords(r, t, e, n, i = 0, a = 0) {
489
- var d;
490
- const c = this.getSubUnitFormulaMap(r, t);
491
- if (!c)
492
- return { status: p.NOT_REGISTER };
493
- const l = c.getValue(this.createCFormulaId(e, n), ["id"]);
494
- if (!l)
495
- return { status: p.NOT_REGISTER };
496
- const o = this._registerOtherFormulaService.getFormulaValueSync(r, t, l.formulaId);
497
- if (!o)
498
- return { status: p.NOT_REGISTER };
499
- if (o.status === p.SUCCESS && o.result) {
500
- const u = (d = o.result[i]) == null ? void 0 : d[a];
501
- return { result: this._getCellValue(u), status: p.SUCCESS };
502
- }
503
- return { status: o.status };
509
+ const u = this.getSubUnitFormulaMap(r, t);
510
+ if (!u)
511
+ return {
512
+ status: 1
513
+ /* NOT_REGISTER */
514
+ };
515
+ const o = u.getValue(this.createCFormulaId(e, n), ["id"]);
516
+ return o ? o.status === 2 && o.result ? {
517
+ result: o.result.getValue(i, a),
518
+ status: 2
519
+ /* SUCCESS */
520
+ } : o.status === 3 ? {
521
+ status: 3
522
+ /* WAIT */
523
+ } : {
524
+ status: 4
525
+ /* ERROR */
526
+ } : {
527
+ status: 1
528
+ /* NOT_REGISTER */
529
+ };
504
530
  }
505
531
  getFormulaMatrix(r, t, e, n) {
506
532
  const i = this.getSubUnitFormulaMap(r, t);
507
533
  if (!i)
508
- return { status: p.NOT_REGISTER };
534
+ return {
535
+ status: 1
536
+ /* NOT_REGISTER */
537
+ };
509
538
  const a = i.getValue(this.createCFormulaId(e, n), ["id"]);
510
539
  if (!a)
511
- return { status: p.NOT_REGISTER };
512
- const c = this._registerOtherFormulaService.getFormulaValueSync(r, t, a.formulaId);
513
- if (!c)
514
- return { status: p.NOT_REGISTER };
515
- if (c.status === p.SUCCESS && c.result) {
516
- const l = new V();
517
- return new V(c.result).forValue((d, u, h) => {
518
- l.setValue(d, u, this._getCellValue(h));
519
- }), { result: l, status: p.SUCCESS };
520
- }
521
- return { status: c.status };
522
- }
523
- _getCellValue(r) {
524
- if (!r || !r[0] || !r[0][0])
525
- return !1;
526
- const t = r[0][0];
527
- return (t == null ? void 0 : t.t) === x.BOOLEAN ? t.v === N2.TRUE || t.v === !0 : t == null ? void 0 : t.v;
540
+ return {
541
+ status: 1
542
+ /* NOT_REGISTER */
543
+ };
544
+ if (a.status === 2 && a.result)
545
+ return {
546
+ result: a.result,
547
+ status: 2
548
+ /* SUCCESS */
549
+ };
528
550
  }
529
551
  /**
530
552
  * If `formulaText` is not provided, then all caches related to `cfId` will be deleted.
@@ -537,9 +559,9 @@ let z = class extends _2 {
537
559
  const a = this.createCFormulaId(e, n);
538
560
  return i.deleteValue(a, ["id"]), [];
539
561
  } else {
540
- const a = i.getValues().filter((c) => c.cfId === e);
541
- return a.forEach((c) => {
542
- i.deleteValue(c.formulaId, ["formulaId"]);
562
+ const a = i.getValues().filter((u) => u.cfId === e);
563
+ return a.forEach((u) => {
564
+ i.deleteValue(u.formulaId, ["formulaId"]);
543
565
  }), a;
544
566
  }
545
567
  }
@@ -547,6 +569,12 @@ let z = class extends _2 {
547
569
  const n = this.getSubUnitFormulaMap(r, t);
548
570
  return n ? n.getValues().filter((a) => a.cfId === e) : [];
549
571
  }
572
+ /**
573
+ * The external environment is not aware of`formulaId`;it communicates internally with the formula engine.
574
+ */
575
+ _createFormulaId(r, t) {
576
+ return `sheet.cf_${r}_${t}_${U2(8)}`;
577
+ }
550
578
  /**
551
579
  * A conditional formatting may have multiple formulas;if the formulas are identical,then the results will be consistent.
552
580
  */
@@ -554,28 +582,29 @@ let z = class extends _2 {
554
582
  return `${r}_${t}`;
555
583
  }
556
584
  };
557
- z = O0([
558
- S2(0, S(w0)),
559
- S2(1, S(y))
585
+ z = $0([
586
+ E2(0, x(P)),
587
+ E2(1, x(F0)),
588
+ E2(2, x(M))
560
589
  ], z);
561
- var U = /* @__PURE__ */ ((s) => (s.preComputingStart = "preComputingStart", s.preComputing = "preComputing", s.preComputingEnd = "preComputingEnd", s.preComputingError = "preComputingError", s))(U || {});
590
+ var V = /* @__PURE__ */ ((s) => (s.preComputingStart = "preComputingStart", s.preComputing = "preComputing", s.preComputingEnd = "preComputingEnd", s.preComputingError = "preComputingError", s))(V || {});
562
591
  class F2 {
563
592
  constructor(r) {
564
593
  /**
565
594
  * 3nd-level cache
566
595
  */
567
596
  m(this, "_cache");
568
- m(this, "_preComputingStatus$", new F0(
597
+ m(this, "_preComputingStatus$", new w0(
569
598
  "preComputingStart"
570
599
  /* preComputingStart */
571
600
  ));
572
- m(this, "preComputingStatus$", this._preComputingStatus$.asObservable().pipe(p0()));
601
+ m(this, "preComputingStatus$", this._preComputingStatus$.asObservable().pipe(A0()));
573
602
  /**
574
603
  * 2nd-level cache
575
604
  */
576
605
  m(this, "_preComputingCache");
577
606
  m(this, "_rule");
578
- this._context = r, this._cache = new T2(r.limit), this._rule = r.rule, this._preComputingCache = null, this._initClearCacheListener();
607
+ this._context = r, this._cache = new O2(r.limit), this._rule = r.rule, this._preComputingCache = null, this._initClearCacheListener();
579
608
  }
580
609
  setCacheLength(r) {
581
610
  this._cache.limit = r;
@@ -632,57 +661,57 @@ class F2 {
632
661
  });
633
662
  }
634
663
  }
635
- class $0 extends F2 {
664
+ class W0 extends F2 {
636
665
  preComputing(r, t, e) {
637
- const n = e.rule, i = e.worksheet, a = new V();
638
- !n.rule.config.every((d) => d.value.type === b.num) && M2(n.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((u) => {
639
- T.foreach(u, (h, g) => {
640
- const f = e.getCellValue(h, g), D = f && f.v;
641
- if (!N(D) && (f == null ? void 0 : f.t) === x.NUMBER) {
642
- const F = Number(D);
643
- !Number.isNaN(F) && a.setValue(h, g, F);
666
+ const n = e.rule, i = e.worksheet, a = new O();
667
+ !n.rule.config.every((d) => d.value.type === I.num) && R2(n.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((c) => {
668
+ U.foreach(c, (g, h) => {
669
+ const D = e.getCellValue(g, h), f = D && D.v;
670
+ if (!B(f) && (D == null ? void 0 : D.t) === _.NUMBER) {
671
+ const w = Number(f);
672
+ !Number.isNaN(w) && a.setValue(g, h, w);
644
673
  }
645
674
  });
646
675
  });
647
- const l = [...n.rule.config].sort((d, u) => d.index - u.index).map((d) => ({
648
- value: g2(d.value, a, {
676
+ const o = [...n.rule.config].sort((d, c) => d.index - c.index).map((d) => ({
677
+ value: D2(d.value, a, {
649
678
  ...e,
650
679
  cfId: n.cfId
651
680
  }),
652
- color: new U2(d.color)
681
+ color: new $2(d.color)
653
682
  }));
654
- if (!l.some((d) => x0(d.value) ? d.value.status !== p.SUCCESS : !1)) {
655
- const d = l.map((u) => u.color).reduce((u, h, g) => (u.result.push({ color: h, value: u.sortValue[g] }), u), {
683
+ if (!o.some((d) => y0(d.value) ? d.value.status !== N.SUCCESS : !1)) {
684
+ const d = o.map((c) => c.color).reduce((c, g, h) => (c.result.push({ color: g, value: c.sortValue[h] }), c), {
656
685
  result: [],
657
- sortValue: l.map((u) => u.value.result).sort((u, h) => u - h)
686
+ sortValue: o.map((c) => c.value.result).sort((c, g) => c - g)
658
687
  }).result;
659
- this.setPreComputingCache(d), this._preComputingStatus$.next(U.preComputingEnd);
688
+ this.setPreComputingCache(d), this._preComputingStatus$.next(V.preComputingEnd);
660
689
  return;
661
690
  }
662
- this._preComputingStatus$.next(U.preComputing);
691
+ this._preComputingStatus$.next(V.preComputing);
663
692
  }
664
693
  getCellResult(r, t, e, n) {
665
694
  if (!e)
666
695
  return null;
667
696
  const i = n.getCellValue(r, t);
668
- if (i.t === x.NUMBER) {
697
+ if (i.t === _.NUMBER) {
669
698
  const a = Number(i.v);
670
699
  if (!Number.isNaN(a))
671
- return n1(e, a);
700
+ return s1(e, a);
672
701
  }
673
702
  }
674
703
  }
675
- const P0 = "sheet-conditional-rule-data-bar", b2 = "#ffbe38", L2 = "#abd91a", W0 = "#000", q0 = 34, Z0 = (s) => {
704
+ const q0 = "sheet-conditional-rule-data-bar", L2 = "#ffbe38", k2 = "#abd91a", Z0 = "#000", G0 = 34, H0 = (s) => {
676
705
  const { startRow: r, endRow: t, startColumn: e, endColumn: n } = s;
677
706
  return `${r}-${t}-${e}-${n}`;
678
707
  };
679
- class G0 extends $2 {
708
+ class j0 extends q2 {
680
709
  constructor() {
681
710
  super(...arguments);
682
711
  m(this, "_paddingRightAndLeft", 2);
683
712
  m(this, "_paddingTopAndBottom", 2);
684
- m(this, "uKey", P0);
685
- m(this, "Z_INDEX", q0);
713
+ m(this, "uKey", q0);
714
+ m(this, "Z_INDEX", G0);
686
715
  m(this, "_radius", 1);
687
716
  }
688
717
  // eslint-disable-next-line max-lines-per-function
@@ -690,168 +719,168 @@ class G0 extends $2 {
690
719
  const { worksheet: a } = n;
691
720
  if (!a)
692
721
  return !1;
693
- const c = /* @__PURE__ */ new Set();
694
- t.save(), T.foreach(n.rowColumnSegment, (l, o) => {
695
- if (!a.getRowVisible(l) || !a.getColVisible(o))
722
+ const u = /* @__PURE__ */ new Set();
723
+ t.save(), U.foreach(n.rowColumnSegment, (o, l) => {
724
+ if (!a.getRowVisible(o) || !a.getColVisible(l))
696
725
  return;
697
- const d = n.getCellWithCoordByIndex(l, o, !1), { isMerged: u, isMergedMainCell: h, mergeInfo: g } = d;
698
- let f = a.getCell(l, o);
699
- if (u && (f = a.getCell(g.startRow, g.startColumn)), !(f != null && f.dataBar) || !this.isRenderDiffRangesByCell(g, i))
726
+ const d = n.getCellWithCoordByIndex(o, l, !1), { isMerged: c, isMergedMainCell: g, mergeInfo: h } = d;
727
+ let D = a.getCell(o, l);
728
+ if (c && (D = a.getCell(h.startRow, h.startColumn)), !(D != null && D.dataBar) || !this.isRenderDiffRangesByCell(h, i))
700
729
  return;
701
- if (u || h) {
702
- const $ = Z0(g);
703
- if (c.has($))
730
+ if (c || g) {
731
+ const $ = H0(h);
732
+ if (u.has($))
704
733
  return;
705
- c.add($);
734
+ u.add($);
706
735
  }
707
- const { color: D, value: F, startPoint: E, isGradient: R } = f.dataBar, { startX: A, endX: I, startY: L, endY: w2 } = u || h ? g : d, o2 = I - A, v2 = w2 + M0 - L, Z = o2 - this._paddingRightAndLeft * 2, y2 = v2 - this._paddingTopAndBottom * 2;
708
- if (F > 0) {
709
- const $ = Math.max(Z * (1 - E / 100) * F / 100, 1), G = A + this._paddingRightAndLeft + E / 100 * Z, H = L + this._paddingTopAndBottom;
710
- if (R) {
736
+ const { color: f, value: w, startPoint: p, isGradient: y } = D.dataBar, { startX: E, endX: R, startY: b, endY: v2 } = c || g ? h : d, l2 = R - E, p2 = v2 + R0 - b, Z = l2 - this._paddingRightAndLeft * 2, I2 = p2 - this._paddingTopAndBottom * 2;
737
+ if (w > 0) {
738
+ const $ = Math.max(Z * (1 - p / 100) * w / 100, 1), G = E + this._paddingRightAndLeft + p / 100 * Z, H = b + this._paddingTopAndBottom;
739
+ if (y) {
711
740
  const j = t.createLinearGradient(G, H, G + $, H);
712
- j.addColorStop(0, D), j.addColorStop(1, "rgb(255 255 255)"), t.fillStyle = j, t.strokeStyle = D, t.lineWidth = 1;
741
+ j.addColorStop(0, f), j.addColorStop(1, "rgb(255 255 255)"), t.fillStyle = j, t.strokeStyle = f, t.lineWidth = 1;
713
742
  } else
714
- t.fillStyle = D;
715
- this._drawRectWithRoundedCorner(t, G, H, $, y2, !1, !0, !0, !1), R && t.stroke();
743
+ t.fillStyle = f;
744
+ this._drawRectWithRoundedCorner(t, G, H, $, I2, !1, !0, !0, !1), y && t.stroke();
716
745
  } else {
717
- const $ = Math.max(Z * E / 100 * Math.abs(F) / 100, 1), G = A + this._paddingRightAndLeft + E / 100 * Z - $, H = L + this._paddingTopAndBottom;
718
- if (R) {
746
+ const $ = Math.max(Z * p / 100 * Math.abs(w) / 100, 1), G = E + this._paddingRightAndLeft + p / 100 * Z - $, H = b + this._paddingTopAndBottom;
747
+ if (y) {
719
748
  const j = t.createLinearGradient(G, H, G + $, H);
720
- j.addColorStop(0, "rgb(255 255 255)"), j.addColorStop(1, D), t.fillStyle = j, t.strokeStyle = D, t.lineWidth = 1;
749
+ j.addColorStop(0, "rgb(255 255 255)"), j.addColorStop(1, f), t.fillStyle = j, t.strokeStyle = f, t.lineWidth = 1;
721
750
  } else
722
- t.fillStyle = D;
723
- this._drawRectWithRoundedCorner(t, G, H, $, y2, !0, !1, !1, !0), R && t.stroke();
751
+ t.fillStyle = f;
752
+ this._drawRectWithRoundedCorner(t, G, H, $, I2, !0, !1, !1, !0), y && t.stroke();
724
753
  }
725
754
  }), t.restore();
726
755
  }
727
- _drawRectWithRoundedCorner(t, e, n, i, a, c, l, o, d) {
728
- const u = this._radius;
729
- !a || !i || (t.beginPath(), t.moveTo(e + u, n), t.lineTo(e + i - u, n), l ? t.arcTo(e + i, n, e + i, n + u, u) : t.lineTo(e + i, n), t.lineTo(e + i, n + a - u), o ? t.arcTo(e + i, n + a, e + i - u, n + a, u) : t.lineTo(e + i, n + a), t.lineTo(e + u, n + a), d ? t.arcTo(e, n + a, e, n + a - u, u) : t.lineTo(e, n + a), t.lineTo(e, n + u), c ? t.arcTo(e, n, e + u, n, u) : t.lineTo(e, n), t.closePath(), t.fill());
756
+ _drawRectWithRoundedCorner(t, e, n, i, a, u, o, l, d) {
757
+ const c = this._radius;
758
+ !a || !i || (t.beginPath(), t.moveTo(e + c, n), t.lineTo(e + i - c, n), o ? t.arcTo(e + i, n, e + i, n + c, c) : t.lineTo(e + i, n), t.lineTo(e + i, n + a - c), l ? 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());
730
759
  }
731
760
  }
732
- O2.add(G0);
733
- const u2 = (s) => Math.max(Math.min(100, s), 0), H0 = (s, r, t) => {
761
+ W2.add(j0);
762
+ const c2 = (s) => Math.max(Math.min(100, s), 0), X0 = (s, r, t) => {
734
763
  const e = t(s, r);
735
- if (e && e.t === x.NUMBER) {
764
+ if (e && e.t === _.NUMBER) {
736
765
  const n = Number(e.v);
737
766
  return Number.isNaN(n) ? null : n;
738
767
  }
739
768
  return null;
740
769
  };
741
- class j0 extends F2 {
770
+ class K0 extends F2 {
742
771
  preComputing(r, t, e) {
743
- const n = e.rule, i = n.rule, a = e.worksheet, c = new V();
744
- ![n.rule.config.max, n.rule.config.min].every((g) => g.type === b.num) && M2(n.ranges, a.getMaxRows() - 1, a.getMaxColumns() - 1).forEach((f) => {
745
- T.foreach(f, (D, F) => {
746
- const E = e.getCellValue(D, F), R = E && E.v;
747
- if (!N(R) && (E == null ? void 0 : E.t) === x.NUMBER) {
748
- const A = Number(R);
749
- !Number.isNaN(A) && c.setValue(D, F, A);
772
+ const n = e.rule, i = n.rule, a = e.worksheet, u = new O();
773
+ ![n.rule.config.max, n.rule.config.min].every((h) => h.type === I.num) && R2(n.ranges, a.getMaxRows() - 1, a.getMaxColumns() - 1).forEach((D) => {
774
+ U.foreach(D, (f, w) => {
775
+ const p = e.getCellValue(f, w), y = p && p.v;
776
+ if (!B(y) && (p == null ? void 0 : p.t) === _.NUMBER) {
777
+ const E = Number(y);
778
+ !Number.isNaN(E) && u.setValue(f, w, E);
750
779
  }
751
780
  });
752
781
  });
753
- const o = g2(i.config.min, c, { ...e, cfId: n.cfId }), d = g2(i.config.max, c, { ...e, cfId: n.cfId });
754
- let u = 0, h = 0;
755
- if (o.status === p.SUCCESS) {
756
- const g = Number(o.result);
757
- u = Number.isNaN(g) ? 0 : g;
782
+ const l = D2(i.config.min, u, { ...e, cfId: n.cfId }), d = D2(i.config.max, u, { ...e, cfId: n.cfId });
783
+ let c = 0, g = 0;
784
+ if (l.status === N.SUCCESS) {
785
+ const h = Number(l.result);
786
+ c = Number.isNaN(h) ? 0 : h;
758
787
  } else {
759
- this._preComputingStatus$.next(U.preComputing);
788
+ this._preComputingStatus$.next(V.preComputing);
760
789
  return;
761
790
  }
762
- if (d.status === p.SUCCESS) {
763
- const g = Number(d.result), f = Number.isNaN(g) ? 0 : g;
764
- h = Math.max(f, u), u = Math.min(f, u);
765
- let D = 50;
766
- if (u < 0 && h <= 0)
767
- D = 100;
768
- else if (u < 0 && h > 0) {
769
- const F = Math.abs(h) + Math.abs(u);
770
- D = Math.abs(u) / F * 100;
771
- } else u >= 0 && h > 0 && (D = 0);
772
- this.setPreComputingCache({ min: u, max: h, startPoint: D }), this._preComputingStatus$.next(U.preComputingEnd);
791
+ if (d.status === N.SUCCESS) {
792
+ const h = Number(d.result), D = Number.isNaN(h) ? 0 : h;
793
+ g = Math.max(D, c), c = Math.min(D, c);
794
+ let f = 50;
795
+ if (c < 0 && g <= 0)
796
+ f = 100;
797
+ else if (c < 0 && g > 0) {
798
+ const w = Math.abs(g) + Math.abs(c);
799
+ f = Math.abs(c) / w * 100;
800
+ } else c >= 0 && g > 0 && (f = 0);
801
+ this.setPreComputingCache({ min: c, max: g, startPoint: f }), this._preComputingStatus$.next(V.preComputingEnd);
773
802
  return;
774
803
  }
775
- this._preComputingStatus$.next(U.preComputing);
804
+ this._preComputingStatus$.next(V.preComputing);
776
805
  }
777
806
  // eslint-disable-next-line complexity
778
807
  getCellResult(r, t, e, n) {
779
- const { min: i, max: a, startPoint: c } = e, o = n.rule.rule, d = o.isShowValue, u = o.config.isGradient, h = H0(r, t, n.getCellValue);
780
- if (!(h === null || h < i || i === a || a < i)) {
781
- if (h === 0)
782
- return { color: W0, startPoint: c, value: 0, isGradient: u, isShowValue: d };
808
+ const { min: i, max: a, startPoint: u } = e, l = n.rule.rule, d = l.isShowValue, c = l.config.isGradient, g = X0(r, t, n.getCellValue);
809
+ if (!(g === null || g < i || i === a || a < i)) {
810
+ if (g === 0)
811
+ return { color: Z0, startPoint: u, value: 0, isGradient: c, isShowValue: d };
783
812
  if (i < 0 && a <= 0) {
784
- const g = a - i, f = u2((a - h) / g * 100);
785
- return f === 0 ? void 0 : { color: o.config.nativeColor || L2, startPoint: c, value: -f, isGradient: u, isShowValue: d };
813
+ const h = a - i, D = c2((a - g) / h * 100);
814
+ return D === 0 ? void 0 : { color: l.config.nativeColor || k2, startPoint: u, value: -D, isGradient: c, isShowValue: d };
786
815
  } else if (i < 0 && a > 0)
787
- if (h > 0) {
788
- const g = u2(Math.min(h / a, 1) * 100);
789
- return g === 0 ? void 0 : { color: o.config.positiveColor || b2, startPoint: c, value: g, isGradient: u, isShowValue: d };
816
+ if (g > 0) {
817
+ const h = c2(Math.min(g / a, 1) * 100);
818
+ return h === 0 ? void 0 : { color: l.config.positiveColor || L2, startPoint: u, value: h, isGradient: c, isShowValue: d };
790
819
  } else {
791
- const g = u2(Math.min(Math.abs(h) / Math.abs(i), 1) * 100);
792
- return g === 0 ? void 0 : { color: o.config.nativeColor || L2, startPoint: c, value: -g, isGradient: u, isShowValue: d };
820
+ const h = c2(Math.min(Math.abs(g) / Math.abs(i), 1) * 100);
821
+ return h === 0 ? void 0 : { color: l.config.nativeColor || k2, startPoint: u, value: -h, isGradient: c, isShowValue: d };
793
822
  }
794
823
  else if (i >= 0 && a > 0) {
795
- const g = a - i, f = 0, D = u2((1 - (a - h) / g) * 100);
796
- return D === 0 ? void 0 : { color: o.config.positiveColor || b2, startPoint: f, value: D, isGradient: u, isShowValue: d };
824
+ const h = a - i, D = 0, f = c2((1 - (a - g) / h) * 100);
825
+ return f === 0 ? void 0 : { color: l.config.positiveColor || L2, startPoint: D, value: f, isGradient: c, isShowValue: d };
797
826
  }
798
827
  }
799
828
  }
800
829
  }
801
- class X0 extends F2 {
830
+ class Y0 extends F2 {
802
831
  // eslint-disable-next-line max-lines-per-function
803
832
  preComputing(r, t, e) {
804
- const n = e.rule.rule, i = e.rule.ranges, c = (() => {
833
+ const n = e.rule.rule, i = e.rule.ranges, u = (() => {
805
834
  switch (n.subType) {
806
- case _.average: {
807
- let l = 0, o = 0;
835
+ case A.average: {
836
+ let o = 0, l = 0;
808
837
  return i.forEach((d) => {
809
- T.foreach(d, (u, h) => {
810
- const g = e.getCellValue(u, h), f = P(g || void 0);
811
- g && g.t === x.NUMBER && f !== void 0 && (l += Number(f) || 0, o++);
838
+ U.foreach(d, (c, g) => {
839
+ const h = e.getCellValue(c, g), D = W(h || void 0);
840
+ h && h.t === _.NUMBER && D !== void 0 && (o += Number(D) || 0, l++);
812
841
  });
813
- }), { value: l / o, type: n.subType };
842
+ }), { value: o / l, type: n.subType };
814
843
  }
815
- case _.uniqueValues:
816
- case _.duplicateValues: {
817
- const l = /* @__PURE__ */ new Map();
818
- return i.forEach((o) => {
819
- T.foreach(o, (d, u) => {
820
- const h = e.getCellValue(d, u), g = P(h || void 0);
821
- if (g !== void 0) {
822
- const f = l.get(g);
823
- f ? l.set(g, f + 1) : l.set(g, 1);
844
+ case A.uniqueValues:
845
+ case A.duplicateValues: {
846
+ const o = /* @__PURE__ */ new Map();
847
+ return i.forEach((l) => {
848
+ U.foreach(l, (d, c) => {
849
+ const g = e.getCellValue(d, c), h = W(g || void 0);
850
+ if (h !== void 0) {
851
+ const D = o.get(h);
852
+ D ? o.set(h, D + 1) : o.set(h, 1);
824
853
  }
825
854
  });
826
- }), { value: l, type: n.subType };
855
+ }), { value: o, type: n.subType };
827
856
  }
828
- case _.rank: {
829
- let l = [];
830
- i.forEach((u) => {
831
- T.foreach(u, (h, g) => {
832
- const f = e.getCellValue(h, g), D = P(f || void 0);
833
- f && f.t === x.NUMBER && D !== void 0 && l.push(Number(D) || 0);
857
+ case A.rank: {
858
+ let o = [];
859
+ i.forEach((c) => {
860
+ U.foreach(c, (g, h) => {
861
+ const D = e.getCellValue(g, h), f = W(D || void 0);
862
+ D && D.t === _.NUMBER && f !== void 0 && o.push(Number(f) || 0);
834
863
  });
835
- }), l.sort((u, h) => h - u);
836
- const o = e.rule.rule;
837
- if (o.isPercent) {
838
- o.isBottom && (l = l.toReversed());
839
- const u = J.clamp(o.value, 0, 100) / 100, h = Math.floor(u * l.length), g = J.clamp(h - 1, 0, l.length - 1);
840
- return { value: l[g], type: n.subType };
864
+ }), o.sort((c, g) => g - c);
865
+ const l = e.rule.rule;
866
+ if (l.isPercent) {
867
+ l.isBottom && (o = o.toReversed());
868
+ const c = J.clamp(l.value, 0, 100) / 100, g = Math.floor(c * o.length), h = J.clamp(g - 1, 0, o.length - 1);
869
+ return { value: o[h], type: n.subType };
841
870
  }
842
- const d = Math.floor(J.clamp(o.isBottom ? o.value - 1 : o.value, 0, l.length));
843
- return o.isBottom ? { value: l[l.length - d - 1], type: n.subType } : { value: l[Math.max(d - 1, 0)], type: n.subType };
871
+ const d = Math.floor(J.clamp(l.isBottom ? l.value - 1 : l.value, 0, o.length));
872
+ return l.isBottom ? { value: o[o.length - d - 1], type: n.subType } : { value: o[Math.max(d - 1, 0)], type: n.subType };
844
873
  }
845
- case _.formula: {
846
- const l = n, o = e.accessor.get(z);
847
- o.registerFormulaWithRange(e.unitId, e.subUnitId, e.rule.cfId, l.value, e.rule.ranges);
848
- const d = o.getFormulaMatrix(e.unitId, e.subUnitId, e.rule.cfId, l.value);
849
- return d && d.status === p.SUCCESS ? (this._preComputingStatus$.next(U.preComputingEnd), {
874
+ case A.formula: {
875
+ const o = n, l = e.accessor.get(z);
876
+ l.registerFormulaWithRange(e.unitId, e.subUnitId, e.rule.cfId, o.value, e.rule.ranges);
877
+ const d = l.getFormulaMatrix(e.unitId, e.subUnitId, e.rule.cfId, o.value);
878
+ return d && d.status === N.SUCCESS ? (this._preComputingStatus$.next(V.preComputingEnd), {
850
879
  value: d.result,
851
880
  type: n.subType
852
- }) : (this._preComputingStatus$.next(U.preComputing), null);
881
+ }) : (this._preComputingStatus$.next(V.preComputing), null);
853
882
  }
854
- case _.timePeriod:
883
+ case A.timePeriod:
855
884
  switch (n.operator) {
856
885
  case k.last7Days:
857
886
  return {
@@ -936,183 +965,179 @@ class X0 extends F2 {
936
965
  }
937
966
  }
938
967
  })();
939
- this.setPreComputingCache(c);
968
+ this.setPreComputingCache(u);
940
969
  }
941
970
  // eslint-disable-next-line max-lines-per-function
942
971
  getCellResult(r, t, e, n) {
943
972
  const i = n.getCellValue(r, t), a = n.rule.rule;
944
973
  return (() => {
945
974
  switch (a.subType) {
946
- case _.number: {
947
- const o = i && Number(i.v), d = (i == null ? void 0 : i.t) === x.NUMBER, u = a;
948
- return d ? N(o) || Number.isNaN(o) ? void 0 : r2({ operator: u.operator, value: u.value || 0 }, o || 0) : !![w.notEqual, w.notBetween].includes(u.operator);
975
+ case A.number: {
976
+ const l = i && Number(i.v), d = (i == null ? void 0 : i.t) === _.NUMBER, c = a;
977
+ return d ? B(l) || Number.isNaN(l) ? void 0 : r2({ operator: c.operator, value: c.value || 0 }, l || 0) : !![F.notEqual, F.notBetween].includes(c.operator);
949
978
  }
950
- case _.text: {
951
- const o = a, d = P(i), u = d === null ? "" : String(d), h = o.value || "";
952
- switch (o.operator) {
953
- case B.beginsWith:
954
- return u.startsWith(h);
955
- case B.containsBlanks:
956
- return /^\s*$/.test(u);
957
- case B.notContainsBlanks:
958
- return !/^\s*$/.test(u);
959
- case B.containsErrors:
960
- return R2.has(u);
961
- case B.notContainsErrors:
962
- return !R2.has(u);
963
- case B.containsText:
964
- return u.indexOf(h) > -1;
965
- case B.notContainsText:
966
- return u.indexOf(h) === -1;
967
- case B.endsWith:
968
- return u.endsWith(h);
969
- case B.equal:
970
- return u === h;
971
- case B.notEqual:
972
- return u !== h;
979
+ case A.text: {
980
+ const l = a, d = W(i), c = d === null ? "" : String(d), g = l.value || "";
981
+ switch (l.operator) {
982
+ case L.beginsWith:
983
+ return c.startsWith(g);
984
+ case L.containsBlanks:
985
+ return /^\s*$/.test(c);
986
+ case L.notContainsBlanks:
987
+ return !/^\s*$/.test(c);
988
+ case L.containsErrors:
989
+ return S2.has(c);
990
+ case L.notContainsErrors:
991
+ return !S2.has(c);
992
+ case L.containsText:
993
+ return c.indexOf(g) > -1;
994
+ case L.notContainsText:
995
+ return c.indexOf(g) === -1;
996
+ case L.endsWith:
997
+ return c.endsWith(g);
998
+ case L.equal:
999
+ return c === g;
1000
+ case L.notEqual:
1001
+ return c !== g;
973
1002
  default:
974
1003
  return !1;
975
1004
  }
976
1005
  }
977
- case _.timePeriod: {
978
- const o = P(i);
979
- if (N(o) || Number.isNaN(Number(o)) || (i == null ? void 0 : i.t) !== x.NUMBER || !e)
1006
+ case A.timePeriod: {
1007
+ const l = W(i);
1008
+ if (B(l) || Number.isNaN(Number(l)) || (i == null ? void 0 : i.t) !== _.NUMBER || !e)
980
1009
  return;
981
- const d = e1(Number(o)), { start: u, end: h } = e.value;
982
- return d >= u && d <= h;
1010
+ const d = n1(Number(l)), { start: c, end: g } = e.value;
1011
+ return d >= c && d <= g;
983
1012
  }
984
- case _.average: {
985
- const o = i && i.v, d = Number(o), u = (i == null ? void 0 : i.t) === x.NUMBER, h = a;
986
- if (!u)
987
- return w.notEqual === h.operator;
988
- if (N(o) || Number.isNaN(d) || !e)
1013
+ case A.average: {
1014
+ const l = i && i.v, d = Number(l), c = (i == null ? void 0 : i.t) === _.NUMBER, g = a;
1015
+ if (!c)
1016
+ return F.notEqual === g.operator;
1017
+ if (B(l) || Number.isNaN(d) || !e)
989
1018
  return !1;
990
- const g = e.value;
991
- switch (h.operator) {
992
- case w.greaterThan:
993
- return d > g;
994
- case w.greaterThanOrEqual:
995
- return d >= g;
996
- case w.lessThan:
997
- return d < g;
998
- case w.lessThanOrEqual:
999
- return d <= g;
1000
- case w.equal:
1001
- return h2(d, g);
1002
- case w.notEqual:
1003
- return !h2(d, g);
1019
+ const h = e.value;
1020
+ switch (g.operator) {
1021
+ case F.greaterThan:
1022
+ return d > h;
1023
+ case F.greaterThanOrEqual:
1024
+ return d >= h;
1025
+ case F.lessThan:
1026
+ return d < h;
1027
+ case F.lessThanOrEqual:
1028
+ return d <= h;
1029
+ case F.equal:
1030
+ return C2(d, h);
1031
+ case F.notEqual:
1032
+ return !C2(d, h);
1004
1033
  default:
1005
1034
  return !1;
1006
1035
  }
1007
1036
  }
1008
- case _.rank: {
1009
- const o = P(i), d = Number(o);
1010
- if (N(o) || Number.isNaN(d) || (i == null ? void 0 : i.t) !== x.NUMBER || !e)
1037
+ case A.rank: {
1038
+ const l = W(i), d = Number(l);
1039
+ if (B(l) || Number.isNaN(d) || (i == null ? void 0 : i.t) !== _.NUMBER || !e)
1011
1040
  return !1;
1012
- const u = e.value;
1013
- return a.isBottom ? d <= u : d >= u;
1041
+ const c = e.value;
1042
+ return a.isBottom ? d <= c : d >= c;
1014
1043
  }
1015
- case _.uniqueValues: {
1016
- const o = P(i);
1017
- return N(o) || !e ? !1 : e.value.get(o) === 1;
1044
+ case A.uniqueValues: {
1045
+ const l = W(i);
1046
+ return B(l) || !e ? !1 : e.value.get(l) === 1;
1018
1047
  }
1019
- case _.duplicateValues: {
1020
- const o = P(i);
1021
- return N(o) || !e ? !1 : e.value.get(o) !== 1;
1048
+ case A.duplicateValues: {
1049
+ const l = W(i);
1050
+ return B(l) || !e ? !1 : e.value.get(l) !== 1;
1022
1051
  }
1023
- case _.formula: {
1024
- const o = e == null ? void 0 : e.value;
1025
- if (o) {
1026
- const d = n.rule.ranges[0], u = r - d.startRow, h = t - d.startColumn;
1027
- return o.getValue(u, h) === !0;
1028
- }
1029
- return !1;
1052
+ case A.formula: {
1053
+ const l = e == null ? void 0 : e.value;
1054
+ return l ? l.getValue(r, t) === !0 : !1;
1030
1055
  }
1031
1056
  }
1032
1057
  })() ? a.style : {};
1033
1058
  }
1034
1059
  }
1035
- const K0 = (s, r, t) => {
1060
+ const J0 = (s, r, t) => {
1036
1061
  const e = t(s, r);
1037
- if (e && e.t === x.NUMBER) {
1062
+ if (e && e.t === _.NUMBER) {
1038
1063
  const n = Number(e.v);
1039
1064
  return Number.isNaN(n) ? null : n;
1040
1065
  }
1041
1066
  return null;
1042
1067
  };
1043
- class Y0 extends F2 {
1068
+ class z0 extends F2 {
1044
1069
  preComputing(r, t, e) {
1045
- const n = e.rule.rule, i = e.worksheet, a = new V();
1046
- !n.config.every((d) => d.value.type === b.num) && M2(e.rule.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((u) => {
1047
- T.foreach(u, (h, g) => {
1048
- const f = e.getCellValue(h, g), D = f && f.v;
1049
- if (!N(D) && (f == null ? void 0 : f.t) === x.NUMBER) {
1050
- const F = Number(D);
1051
- !Number.isNaN(F) && a.setValue(h, g, F);
1070
+ const n = e.rule.rule, i = e.worksheet, a = new O();
1071
+ !n.config.every((d) => d.value.type === I.num) && R2(e.rule.ranges, i.getMaxRows() - 1, i.getMaxColumns() - 1).forEach((c) => {
1072
+ U.foreach(c, (g, h) => {
1073
+ const D = e.getCellValue(g, h), f = D && D.v;
1074
+ if (!B(f) && (D == null ? void 0 : D.t) === _.NUMBER) {
1075
+ const w = Number(f);
1076
+ !Number.isNaN(w) && a.setValue(g, h, w);
1052
1077
  }
1053
1078
  });
1054
1079
  });
1055
- const l = n.config.map((d) => g2(d.value, a, { ...e, cfId: e.rule.cfId }));
1056
- if (!l.some((d) => d.status !== p.SUCCESS)) {
1057
- const d = l.map((u, h) => ({
1058
- operator: n.config[h].operator,
1059
- value: Number(u.result) || 0
1060
- })).reduce((u, h, g, f) => {
1061
- const D = n.config[g];
1062
- if (!g || g === f.length - 1)
1063
- u.push({ ...h, iconId: D.iconId, iconType: D.iconType });
1080
+ const o = n.config.map((d) => D2(d.value, a, { ...e, cfId: e.rule.cfId }));
1081
+ if (!o.some((d) => d.status !== N.SUCCESS)) {
1082
+ const d = o.map((c, g) => ({
1083
+ operator: n.config[g].operator,
1084
+ value: Number(c.result) || 0
1085
+ })).reduce((c, g, h, D) => {
1086
+ const f = n.config[h];
1087
+ if (!h || h === D.length - 1)
1088
+ c.push({ ...g, iconId: f.iconId, iconType: f.iconType });
1064
1089
  else {
1065
- const F = f[g - 1];
1066
- r2(F, h.value) || u.push({ ...h, iconId: D.iconId, iconType: D.iconType });
1090
+ const w = D[h - 1];
1091
+ r2(w, g.value) || c.push({ ...g, iconId: f.iconId, iconType: f.iconType });
1067
1092
  }
1068
- return u;
1093
+ return c;
1069
1094
  }, []);
1070
- this.setPreComputingCache(d), this._preComputingStatus$.next(U.preComputingEnd);
1095
+ this.setPreComputingCache(d), this._preComputingStatus$.next(V.preComputingEnd);
1071
1096
  return;
1072
1097
  }
1073
- this._preComputingStatus$.next(U.preComputing);
1098
+ this._preComputingStatus$.next(V.preComputing);
1074
1099
  }
1075
1100
  getCellResult(r, t, e, n) {
1076
1101
  if (!e)
1077
1102
  return null;
1078
- const i = K0(r, t, n.getCellValue);
1103
+ const i = J0(r, t, n.getCellValue);
1079
1104
  if (i === null)
1080
1105
  return;
1081
- const a = n.rule.rule, c = a.isShowValue === void 0 ? !0 : !!a.isShowValue;
1082
- for (let l = 0; l < e.length; l++) {
1083
- const o = e[l], d = { ...o }, u = { ...o }, { iconId: h, iconType: g } = o;
1084
- if (l === 0) {
1085
- if (r2(o, i))
1086
- return { iconId: h, iconType: g, isShowValue: c };
1106
+ const a = n.rule.rule, u = a.isShowValue === void 0 ? !0 : !!a.isShowValue;
1107
+ for (let o = 0; o < e.length; o++) {
1108
+ const l = e[o], d = { ...l }, c = { ...l }, { iconId: g, iconType: h } = l;
1109
+ if (o === 0) {
1110
+ if (r2(l, i))
1111
+ return { iconId: g, iconType: h, isShowValue: u };
1087
1112
  } else {
1088
- if (l === e.length - 1)
1089
- return { iconId: h, iconType: g, isShowValue: c };
1113
+ if (o === e.length - 1)
1114
+ return { iconId: g, iconType: h, isShowValue: u };
1090
1115
  {
1091
- const f = e[l - 1];
1092
- if (u.operator = t1(f.operator), u.value = f.value, r2(d, i) && r2(u, i))
1093
- return { iconId: h, iconType: g, isShowValue: c };
1116
+ const D = e[o - 1];
1117
+ if (c.operator = r1(D.operator), c.value = D.value, r2(d, i) && r2(c, i))
1118
+ return { iconId: g, iconType: h, isShowValue: u };
1094
1119
  }
1095
1120
  }
1096
1121
  }
1097
1122
  }
1098
1123
  }
1099
- var J0 = Object.getOwnPropertyDescriptor, z0 = (s, r, t, e) => {
1100
- for (var n = e > 1 ? void 0 : e ? J0(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1124
+ var Q0 = Object.getOwnPropertyDescriptor, e1 = (s, r, t, e) => {
1125
+ for (var n = e > 1 ? void 0 : e ? Q0(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1101
1126
  (a = s[i]) && (n = a(n) || n);
1102
1127
  return n;
1103
- }, c2 = (s, r) => (t, e) => r(t, e, s);
1104
- const p2 = 1e3 * 3 * 3;
1105
- let Q = class extends _2 {
1128
+ }, u2 = (s, r) => (t, e) => r(t, e, s);
1129
+ const A2 = 1e3 * 3 * 3;
1130
+ let Q = class extends M2 {
1106
1131
  constructor(r, t, e, n) {
1107
1132
  super();
1108
1133
  // Map<unitID ,<sheetId ,ObjectMatrix>>
1109
1134
  m(this, "_calculateUnitManagers", /* @__PURE__ */ new Map());
1110
- m(this, "_rTreeManager", new Y2());
1135
+ m(this, "_rTreeManager", new J2());
1111
1136
  /**
1112
1137
  * 1nd-level cache
1113
1138
  */
1114
- m(this, "_cellCache", new T2(p2));
1115
- m(this, "_markDirty$", new d2());
1139
+ m(this, "_cellCache", new O2(A2));
1140
+ m(this, "_markDirty$", new g2());
1116
1141
  /**
1117
1142
  * The rendering layer listens to this variable to determine whether a reRender is necessary.
1118
1143
  * @memberof ConditionalFormattingViewModel
@@ -1144,15 +1169,15 @@ let Q = class extends _2 {
1144
1169
  * Here,multiple dirties are merged into one..
1145
1170
  */
1146
1171
  m(this, "markRuleDirty", (() => {
1147
- const r = new d2();
1148
- return this.disposeWithMe(r.pipe(E0(100), A0((t) => !!t.length), _0((t) => {
1172
+ const r = new g2();
1173
+ return this.disposeWithMe(r.pipe(x0(100), _0((t) => !!t.length), M0((t) => {
1149
1174
  const e = /* @__PURE__ */ new Set(), n = [];
1150
1175
  return t.forEach((i) => {
1151
1176
  const a = `${i.unitId}_${i.subUnitId}_${i.cfId}`;
1152
1177
  if (e.has(a)) {
1153
1178
  if (i.isNeedResetPreComputingCache) {
1154
- const c = n.find((l) => l.cfId === i.cfId);
1155
- c.isNeedResetPreComputingCache = !0;
1179
+ const u = n.find((o) => o.cfId === i.cfId);
1180
+ u.isNeedResetPreComputingCache = !0;
1156
1181
  }
1157
1182
  return;
1158
1183
  }
@@ -1184,14 +1209,14 @@ let Q = class extends _2 {
1184
1209
  }
1185
1210
  _getCellCfs(r, t, e, n) {
1186
1211
  var d;
1187
- const i = (d = this._conditionalFormattingRuleModel.getSubunitRules(r, t)) != null ? d : [], a = this._ensureCalculateUnitManager(r, t), c = this._rTreeManager.bulkSearch([{ unitId: r, sheetId: t, range: { startColumn: n, endColumn: n, startRow: e, endRow: e } }]), l = i.filter((u) => c.has(u.cfId));
1188
- return l.length ? l.map((u) => {
1189
- const h = a.get(u.cfId);
1190
- return h ? {
1191
- cfId: u.cfId,
1192
- result: h.getCell(e, n)
1212
+ 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 } }]), o = i.filter((c) => u.has(c.cfId));
1213
+ return o.length ? o.map((c) => {
1214
+ const g = a.get(c.cfId);
1215
+ return g ? {
1216
+ cfId: c.cfId,
1217
+ result: g.getCell(e, n)
1193
1218
  } : null;
1194
- }).filter((u) => !!u).map((u, h) => ({ ...u, priority: h })) : [];
1219
+ }).filter((c) => !!c).map((c, g) => ({ ...c, priority: g })) : [];
1195
1220
  }
1196
1221
  dispose() {
1197
1222
  this._calculateUnitManagers.clear(), this._cellCache.clear(), this._rTreeManager.clear(), super.dispose();
@@ -1201,7 +1226,7 @@ let Q = class extends _2 {
1201
1226
  this._conditionalFormattingRuleModel.$ruleChange.subscribe((r) => {
1202
1227
  if (r.type === "set") {
1203
1228
  const { unitId: t, subUnitId: e } = r, n = r.oldRule;
1204
- n.rule.type === M.highlightCell && n.rule.subType === _.formula && this._conditionalFormattingFormulaService.deleteCache(t, e, n.cfId);
1229
+ n.rule.type === S.highlightCell && n.rule.subType === A.formula && this._conditionalFormattingFormulaService.deleteCache(t, e, n.cfId);
1205
1230
  }
1206
1231
  })
1207
1232
  );
@@ -1209,32 +1234,32 @@ let Q = class extends _2 {
1209
1234
  _initRuleListener() {
1210
1235
  this.disposeWithMe(
1211
1236
  this._conditionalFormattingRuleModel.$ruleChange.subscribe((r) => {
1212
- const { unitId: t, subUnitId: e, rule: n } = r, { cfId: i, ranges: a } = n, c = this._ensureCalculateUnitManager(t, e);
1237
+ const { unitId: t, subUnitId: e, rule: n } = r, { cfId: i, ranges: a } = n, u = this._ensureCalculateUnitManager(t, e);
1213
1238
  switch (this.markRuleDirty(t, e, i), r.type) {
1214
1239
  case "add": {
1215
- this._rTreeManager.bulkInsert(a.map((o) => ({ unitId: t, sheetId: e, id: i, range: o })));
1216
- const l = this._createRuleCalculateUnitInstance(t, e, n);
1217
- if (!l)
1240
+ this._rTreeManager.bulkInsert(a.map((l) => ({ unitId: t, sheetId: e, id: i, range: l })));
1241
+ const o = this._createRuleCalculateUnitInstance(t, e, n);
1242
+ if (!o)
1218
1243
  return;
1219
- c.set(n.cfId, l);
1244
+ u.set(n.cfId, o);
1220
1245
  break;
1221
1246
  }
1222
1247
  case "delete": {
1223
- this._rTreeManager.bulkRemove(a.map((l) => ({ unitId: t, sheetId: e, id: i, range: l }))), c.delete(n.cfId);
1248
+ this._rTreeManager.bulkRemove(a.map((o) => ({ unitId: t, sheetId: e, id: i, range: o }))), u.delete(n.cfId);
1224
1249
  break;
1225
1250
  }
1226
1251
  case "set": {
1227
- const l = r.oldRule;
1228
- 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) {
1229
- const o = this._createRuleCalculateUnitInstance(t, e, n);
1230
- if (!o)
1252
+ const o = r.oldRule;
1253
+ if (this._rTreeManager.bulkRemove(o.ranges.map((l) => ({ unitId: t, sheetId: e, id: o.cfId, range: l }))), this._rTreeManager.bulkInsert(a.map((l) => ({ unitId: t, sheetId: e, id: i, range: l }))), o.rule.type !== n.rule.type) {
1254
+ const l = this._createRuleCalculateUnitInstance(t, e, n);
1255
+ if (!l)
1231
1256
  return;
1232
- c.delete(l.cfId), c.set(n.cfId, o);
1257
+ u.delete(o.cfId), u.set(n.cfId, l);
1233
1258
  } else {
1234
- const o = c.get(l.cfId);
1235
- if (!o)
1259
+ const l = u.get(o.cfId);
1260
+ if (!l)
1236
1261
  return;
1237
- o.updateRule(n);
1262
+ l.updateRule(n);
1238
1263
  }
1239
1264
  }
1240
1265
  }
@@ -1258,24 +1283,24 @@ let Q = class extends _2 {
1258
1283
  subUnitId: t,
1259
1284
  accessor: this._injector,
1260
1285
  rule: e,
1261
- limit: p2,
1262
- getCellValue: (c, l) => i.getCellRaw(c, l) || {}
1286
+ limit: A2,
1287
+ getCellValue: (u, o) => i.getCellRaw(u, o) || {}
1263
1288
  };
1264
1289
  switch (e.rule.type) {
1265
- case M.colorScale:
1266
- return new $0(a);
1267
- case M.dataBar:
1268
- return new j0(a);
1269
- case M.highlightCell:
1270
- return new X0(a);
1271
- case M.iconSet:
1290
+ case S.colorScale:
1291
+ return new W0(a);
1292
+ case S.dataBar:
1293
+ return new K0(a);
1294
+ case S.highlightCell:
1272
1295
  return new Y0(a);
1296
+ case S.iconSet:
1297
+ return new z0(a);
1273
1298
  }
1274
1299
  }
1275
1300
  _createCacheKey(r, t, e, n) {
1276
1301
  return `${r}_${t}_${e}_${n}`;
1277
1302
  }
1278
- setCacheLength(r = p2) {
1303
+ setCacheLength(r = A2) {
1279
1304
  this._cellCache.limit !== r && (this._cellCache.limit = r, this._calculateUnitManagers.forEach((t) => {
1280
1305
  t.forEach((e) => {
1281
1306
  e.forEach((n) => {
@@ -1285,25 +1310,25 @@ let Q = class extends _2 {
1285
1310
  }));
1286
1311
  }
1287
1312
  };
1288
- Q = z0([
1289
- c2(0, S(x2)),
1290
- c2(1, S(y)),
1291
- c2(2, S(z)),
1292
- c2(3, q)
1313
+ Q = e1([
1314
+ u2(0, x(y2)),
1315
+ u2(1, x(M)),
1316
+ u2(2, x(z)),
1317
+ u2(3, q)
1293
1318
  ], Q);
1294
- function h2(s, r) {
1319
+ function C2(s, r) {
1295
1320
  return Math.abs(s - r) < Number.EPSILON;
1296
1321
  }
1297
- const N = (s) => [void 0, null].includes(s), P = (s) => {
1322
+ const B = (s) => [void 0, null].includes(s), W = (s) => {
1298
1323
  var e, n;
1299
1324
  if (!s)
1300
1325
  return null;
1301
- if (s.t === x.BOOLEAN)
1302
- return s.v === N2.TRUE ? I2.TRUE : I2.FALSE;
1326
+ if (s.t === _.BOOLEAN)
1327
+ return s.v === V2.TRUE ? b2.TRUE : b2.FALSE;
1303
1328
  const r = s.v, t = (n = (e = s.p) == null ? void 0 : e.body) == null ? void 0 : n.dataStream.replace(/\r\n$/, "");
1304
- return N(r) ? N(t) ? null : t : r;
1305
- }, E2 = 86400;
1306
- function Q0(s, r = !0) {
1329
+ return B(r) ? B(t) ? null : t : r;
1330
+ }, x2 = 86400;
1331
+ function t1(s, r = !0) {
1307
1332
  if (r && s >= 0) {
1308
1333
  if (s === 0)
1309
1334
  return [1900, 1, 0];
@@ -1319,170 +1344,170 @@ function Q0(s, r = !0) {
1319
1344
  t = t - Math.floor(1461 * n / 4) + 31;
1320
1345
  const i = Math.floor(80 * t / 2447), a = t - Math.floor(2447 * i / 80);
1321
1346
  t = Math.floor(i / 11);
1322
- const c = i + 2 - 12 * t;
1323
- return [100 * (e - 49) + n + t | 0, c | 0, a | 0];
1347
+ const u = i + 2 - 12 * t;
1348
+ return [100 * (e - 49) + n + t | 0, u | 0, a | 0];
1324
1349
  }
1325
- const e1 = (s) => {
1350
+ const n1 = (s) => {
1326
1351
  let r = s | 0;
1327
- const t = E2 * (s - r);
1352
+ const t = x2 * (s - r);
1328
1353
  let e = Math.floor(t);
1329
- t - e > 0.9999 && (e += 1, e === E2 && (e = 0, r += 1));
1330
- const n = e < 0 ? E2 + e : e, [i, a, c] = Q0(s, !0), l = Math.floor(n / 60 / 60) % 60, o = Math.floor(n / 60) % 60, d = Math.floor(n) % 60;
1331
- return v(`${i}/${a}/${c} ${l}:${o}:${d}`).valueOf();
1332
- }, g2 = (s, r, t) => {
1354
+ t - e > 0.9999 && (e += 1, e === x2 && (e = 0, r += 1));
1355
+ const n = e < 0 ? x2 + e : e, [i, a, u] = t1(s, !0), o = Math.floor(n / 60 / 60) % 60, l = Math.floor(n / 60) % 60, d = Math.floor(n) % 60;
1356
+ return v(`${i}/${a}/${u} ${o}:${l}:${d}`).valueOf();
1357
+ }, D2 = (s, r, t) => {
1333
1358
  switch (s.type) {
1334
- case b.max: {
1359
+ case I.max: {
1335
1360
  let e = 0;
1336
1361
  return r.forValue((n, i, a) => {
1337
1362
  a > e && (e = a);
1338
1363
  }), {
1339
- status: p.SUCCESS,
1364
+ status: N.SUCCESS,
1340
1365
  result: e
1341
1366
  };
1342
1367
  }
1343
- case b.min: {
1368
+ case I.min: {
1344
1369
  let e;
1345
1370
  return r.forValue((n, i, a) => {
1346
1371
  e === void 0 && (e = a), a < e && (e = a);
1347
1372
  }), {
1348
- status: p.SUCCESS,
1373
+ status: N.SUCCESS,
1349
1374
  result: e
1350
1375
  };
1351
1376
  }
1352
- case b.percent: {
1377
+ case I.percent: {
1353
1378
  let e, n;
1354
- r.forValue((c, l, o) => {
1355
- (e === void 0 || n === void 0) && (e = o, n = o), o > e && (e = o), o < n && (n = o);
1379
+ r.forValue((u, o, l) => {
1380
+ (e === void 0 || n === void 0) && (e = l, n = l), l > e && (e = l), l < n && (n = l);
1356
1381
  });
1357
1382
  const i = (e || 0) - (n || 0), a = Math.max(Math.min(Number(s.value) || 0, 100), 0);
1358
1383
  return {
1359
- status: p.SUCCESS,
1384
+ status: N.SUCCESS,
1360
1385
  result: i * (a / 100) + (n || 0)
1361
1386
  };
1362
1387
  }
1363
- case b.percentile: {
1364
- 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), c = i - a, l = e[a] + (e[Math.min(a + 1, e.length - 1)] - e[a]) * c;
1388
+ case I.percentile: {
1389
+ const e = r.toNativeArray().sort((l, d) => l - 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, o = e[a] + (e[Math.min(a + 1, e.length - 1)] - e[a]) * u;
1365
1390
  return {
1366
- status: p.SUCCESS,
1367
- result: l
1391
+ status: N.SUCCESS,
1392
+ result: o
1368
1393
  };
1369
1394
  }
1370
- case b.formula: {
1371
- const { accessor: e, unitId: n, subUnitId: i, cfId: a } = t, c = String(s.value), l = e.get(z);
1372
- return l.registerFormulaWithRange(n, i, a, c), l.getFormulaResultWithCoords(n, i, a, c);
1395
+ case I.formula: {
1396
+ const { accessor: e, unitId: n, subUnitId: i, cfId: a } = t, u = String(s.value), o = e.get(z);
1397
+ return o.registerFormulaWithRange(n, i, a, u), o.getFormulaResultWithCoords(n, i, a, u);
1373
1398
  }
1374
- case b.num:
1399
+ case I.num:
1375
1400
  default: {
1376
1401
  const e = Number(s.value);
1377
1402
  return {
1378
- status: p.SUCCESS,
1403
+ status: N.SUCCESS,
1379
1404
  result: Number.isNaN(e) ? 0 : e
1380
1405
  };
1381
1406
  }
1382
1407
  }
1383
- }, G1 = (s, r, t, e) => {
1384
- const { accessor: n } = e, i = n.get(Q), a = new V();
1385
- return t.ranges.forEach((c) => {
1386
- T.foreach(c, (l, o) => {
1387
- const d = i.getCellCfs(s, r, l, o);
1408
+ }, Z1 = (s, r, t, e) => {
1409
+ const { accessor: n } = e, i = n.get(Q), a = new O();
1410
+ return t.ranges.forEach((u) => {
1411
+ U.foreach(u, (o, l) => {
1412
+ const d = i.getCellCfs(s, r, o, l);
1388
1413
  if (d) {
1389
- const u = d.find((h) => h.cfId === t.cfId);
1390
- u != null && u.result && a.setValue(l, o, u.result);
1414
+ const c = d.find((g) => g.cfId === t.cfId);
1415
+ c != null && c.result && a.setValue(o, l, c.result);
1391
1416
  }
1392
1417
  });
1393
1418
  }), a;
1394
1419
  }, r2 = (s, r) => {
1395
1420
  switch (s.operator) {
1396
- case w.between: {
1421
+ case F.between: {
1397
1422
  if (typeof s.value != "object" || !s.value.length)
1398
1423
  return;
1399
1424
  const t = Math.min(...s.value), e = Math.max(...s.value);
1400
1425
  return r >= t && r <= e;
1401
1426
  }
1402
- case w.notBetween: {
1427
+ case F.notBetween: {
1403
1428
  if (typeof s.value != "object" || !s.value.length)
1404
1429
  return;
1405
1430
  const t = Math.min(...s.value), e = Math.max(...s.value);
1406
1431
  return !(r >= t && r <= e);
1407
1432
  }
1408
- case w.equal: {
1433
+ case F.equal: {
1409
1434
  const t = s.value || 0;
1410
- return h2(t, r);
1435
+ return C2(t, r);
1411
1436
  }
1412
- case w.notEqual: {
1437
+ case F.notEqual: {
1413
1438
  const t = s.value || 0;
1414
- return !h2(t, r);
1439
+ return !C2(t, r);
1415
1440
  }
1416
- case w.greaterThan: {
1441
+ case F.greaterThan: {
1417
1442
  const t = s.value || 0;
1418
1443
  return r > t;
1419
1444
  }
1420
- case w.greaterThanOrEqual: {
1445
+ case F.greaterThanOrEqual: {
1421
1446
  const t = s.value || 0;
1422
1447
  return r >= t;
1423
1448
  }
1424
- case w.lessThan: {
1449
+ case F.lessThan: {
1425
1450
  const t = s.value || 0;
1426
1451
  return r < t;
1427
1452
  }
1428
- case w.lessThanOrEqual: {
1453
+ case F.lessThanOrEqual: {
1429
1454
  const t = s.value || 0;
1430
1455
  return r <= t;
1431
1456
  }
1432
1457
  default:
1433
1458
  return !1;
1434
1459
  }
1435
- }, t1 = (s) => {
1460
+ }, r1 = (s) => {
1436
1461
  switch (s) {
1437
- case w.greaterThan:
1438
- return w.lessThanOrEqual;
1439
- case w.greaterThanOrEqual:
1440
- return w.lessThan;
1441
- case w.lessThan:
1442
- return w.greaterThanOrEqual;
1443
- case w.lessThanOrEqual:
1444
- return w.greaterThan;
1462
+ case F.greaterThan:
1463
+ return F.lessThanOrEqual;
1464
+ case F.greaterThanOrEqual:
1465
+ return F.lessThan;
1466
+ case F.lessThan:
1467
+ return F.greaterThanOrEqual;
1468
+ case F.lessThanOrEqual:
1469
+ return F.greaterThan;
1445
1470
  }
1446
1471
  return s;
1447
- }, n1 = (s, r) => {
1472
+ }, s1 = (s, r) => {
1448
1473
  const t = (i) => i.a !== void 0 ? i : { ...i, a: 1 }, e = s.findIndex((i) => i.value >= r), n = e - 1;
1449
1474
  if (e === 0)
1450
1475
  return s[0].color.toRgbString();
1451
1476
  if (n >= 0) {
1452
1477
  const i = s[n], a = s[e];
1453
1478
  if (i.color.isValid && a.color.isValid) {
1454
- const c = t(i.color.toRgb()), l = t(a.color.toRgb()), o = a.value - i.value, d = (r - i.value) / o, u = ["r", "g", "b", "a"].reduce((g, f) => {
1455
- const D = c[f];
1456
- return g[f] = (l[f] - D) * d + D, g;
1479
+ const u = t(i.color.toRgb()), o = t(a.color.toRgb()), l = a.value - i.value, d = (r - i.value) / l, c = ["r", "g", "b", "a"].reduce((h, D) => {
1480
+ const f = u[D];
1481
+ return h[D] = (o[D] - f) * d + f, h;
1457
1482
  }, {});
1458
- return new U2(u).toRgbString();
1483
+ return new $2(c).toRgbString();
1459
1484
  }
1460
1485
  } else
1461
1486
  return s[s.length - 1].color.toRgbString();
1462
- }, M2 = (s, r, t) => s.map((e) => {
1487
+ }, R2 = (s, r, t) => s.map((e) => {
1463
1488
  if (e.startColumn > t || e.startRow > r)
1464
1489
  return null;
1465
1490
  const n = { ...e };
1466
1491
  return n.endRow = Math.min(n.endRow, r), n.endColumn = Math.min(n.endColumn, t), n;
1467
1492
  }).filter((e) => !!e);
1468
- function H1(s) {
1493
+ function G1(s) {
1469
1494
  let r = 0;
1470
- return new V(s).forValue((t, e, n) => {
1495
+ return new O(s).forValue((t, e, n) => {
1471
1496
  r = Math.max(Number.isNaN(r) ? 0 : r, Number(n));
1472
1497
  }), r;
1473
1498
  }
1474
- const r1 = { 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" }, s1 = { 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%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%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%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" }, i1 = { 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" }, a1 = { 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" }, l1 = { 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" }, o1 = /* @__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"}'), u1 = { 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" }, c1 = { 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" }, d1 = { "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" }, h1 = { "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 = {
1475
- feedback: r1,
1476
- star: s1,
1477
- progress: i1,
1478
- signal: a1,
1479
- feeling: l1,
1480
- arrow: o1,
1481
- shape: u1,
1482
- feedback2: c1,
1483
- flag: d1,
1484
- cell: h1
1485
- }, g1 = [
1499
+ const i1 = { 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" }, a1 = { 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%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%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%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" }, o1 = { 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" }, l1 = { 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" }, c1 = { 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" }, u1 = /* @__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"}'), d1 = { 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" }, h1 = { 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" }, g1 = { "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" }, C1 = { "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 = {
1500
+ feedback: i1,
1501
+ star: a1,
1502
+ progress: o1,
1503
+ signal: l1,
1504
+ feeling: c1,
1505
+ arrow: u1,
1506
+ shape: d1,
1507
+ feedback2: h1,
1508
+ flag: g1,
1509
+ cell: C1
1510
+ }, D1 = [
1486
1511
  {
1487
1512
  title: "sheet.cf.iconSet.direction",
1488
1513
  group: [
@@ -1563,23 +1588,23 @@ const r1 = { mistake: "data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%2
1563
1588
  }
1564
1589
  ]
1565
1590
  }
1566
- ], C2 = g1.reduce((s, r) => {
1591
+ ], f2 = D1.reduce((s, r) => {
1567
1592
  const { group: t } = r;
1568
1593
  for (const e of t)
1569
1594
  s[e.name] = e.list;
1570
1595
  return s;
1571
1596
  }, {});
1572
- for (const s in C2) {
1573
- const r = C2[s];
1597
+ for (const s in f2) {
1598
+ const r = f2[s];
1574
1599
  Object.freeze(r);
1575
1600
  }
1576
- const C1 = "EMPTY_ICON_TYPE", f1 = "ssheets-conditional-formatting.config", B2 = {};
1577
- var D1 = Object.getOwnPropertyDescriptor, m1 = (s, r, t, e) => {
1578
- for (var n = e > 1 ? void 0 : e ? D1(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1601
+ const f1 = "EMPTY_ICON_TYPE", m1 = "ssheets-conditional-formatting.config", B2 = {};
1602
+ var w1 = Object.getOwnPropertyDescriptor, F1 = (s, r, t, e) => {
1603
+ for (var n = e > 1 ? void 0 : e ? w1(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1579
1604
  (a = s[i]) && (n = a(n) || n);
1580
1605
  return n;
1581
1606
  }, Y = (s, r) => (t, e) => r(t, e, s);
1582
- let s2 = class extends _2 {
1607
+ let s2 = class extends M2 {
1583
1608
  constructor(s, r, t, e, n, i) {
1584
1609
  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();
1585
1610
  }
@@ -1589,23 +1614,23 @@ let s2 = class extends _2 {
1589
1614
  composeStyle(s, r, t, e) {
1590
1615
  const n = this._conditionalFormattingViewModelV2.getCellCfs(s, r, t, e);
1591
1616
  if (n && (n != null && n.length)) {
1592
- 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);
1593
- return a > -1 && i.splice(a + 1), i.reduce((l, o) => {
1594
- var h;
1595
- const d = o.rule.type, u = n.find((g) => g.cfId === o.cfId);
1596
- if (d === M.highlightCell)
1597
- u.result && V2(l, { style: u.result });
1598
- else if (d === M.colorScale) {
1599
- const g = u == null ? void 0 : u.result;
1600
- g && typeof g == "string" && (l.style = { ...(h = l.style) != null ? h : {}, bg: { rgb: g } });
1601
- } else if (d === M.dataBar) {
1602
- const g = u == null ? void 0 : u.result;
1603
- g && (l.dataBar = g, l.isShowValue = g.isShowValue);
1604
- } else if (d === M.iconSet) {
1605
- const g = u == null ? void 0 : u.result;
1606
- g && (l.iconSet = g, l.isShowValue = g.isShowValue);
1617
+ const i = n.map((o) => this._conditionalFormattingRuleModel.getRule(s, r, o.cfId)).filter((o) => !!o).reverse(), a = i.findIndex((o) => o == null ? void 0 : o.stopIfTrue);
1618
+ return a > -1 && i.splice(a + 1), i.reduce((o, l) => {
1619
+ var g;
1620
+ const d = l.rule.type, c = n.find((h) => h.cfId === l.cfId);
1621
+ if (d === S.highlightCell)
1622
+ c.result && P2(o, { style: c.result });
1623
+ else if (d === S.colorScale) {
1624
+ const h = c == null ? void 0 : c.result;
1625
+ h && typeof h == "string" && (o.style = { ...(g = o.style) != null ? g : {}, bg: { rgb: h } });
1626
+ } else if (d === S.dataBar) {
1627
+ const h = c == null ? void 0 : c.result;
1628
+ h && (o.dataBar = h, o.isShowValue = h.isShowValue);
1629
+ } else if (d === S.iconSet) {
1630
+ const h = c == null ? void 0 : c.result;
1631
+ h && (o.iconSet = h, o.isShowValue = h.isShowValue);
1607
1632
  }
1608
- return l;
1633
+ return o;
1609
1634
  }, {});
1610
1635
  }
1611
1636
  return null;
@@ -1627,12 +1652,12 @@ let s2 = class extends _2 {
1627
1652
  };
1628
1653
  this.disposeWithMe(
1629
1654
  this._resourceManagerService.registerPluginResource({
1630
- pluginName: P2,
1631
- businesses: [D2.UNIVER_SHEET],
1655
+ pluginName: Z2,
1656
+ businesses: [m2.UNIVER_SHEET],
1632
1657
  toJson: (t) => s(t),
1633
1658
  parseJson: (t) => r(t),
1634
1659
  onUnLoad: (t) => {
1635
- this._conditionalFormattingRuleModel.deleteUnitId(t), !z2(t) && this._conditionalFormattingViewModelV2.dispose();
1660
+ this._conditionalFormattingRuleModel.deleteUnitId(t), !Q2(t) && this._conditionalFormattingViewModelV2.dispose();
1636
1661
  },
1637
1662
  onLoad: (t, e) => {
1638
1663
  Object.keys(e).forEach((n) => {
@@ -1648,47 +1673,47 @@ let s2 = class extends _2 {
1648
1673
  this.disposeWithMe(
1649
1674
  this._sheetInterceptorService.interceptCommand({
1650
1675
  getMutations: (s) => {
1651
- if (s.id === l0.id) {
1652
- const r = s.params, t = r.unitId || F1(this._univerInstanceService), e = r.subUnitId || w1(this._univerInstanceService);
1676
+ if (s.id === o0.id) {
1677
+ const r = s.params, t = r.unitId || v1(this._univerInstanceService), e = r.subUnitId || p1(this._univerInstanceService);
1653
1678
  if (!e)
1654
1679
  return { redos: [], undos: [] };
1655
1680
  const n = this._conditionalFormattingRuleModel.getSubunitRules(t, e);
1656
1681
  if (!n)
1657
1682
  return { redos: [], undos: [] };
1658
1683
  const i = [], a = [];
1659
- return n.forEach((c) => {
1660
- const l = {
1684
+ return n.forEach((u) => {
1685
+ const o = {
1661
1686
  unitId: t,
1662
1687
  subUnitId: e,
1663
- cfId: c.cfId
1688
+ cfId: u.cfId
1664
1689
  };
1665
1690
  i.push({
1666
1691
  id: K.id,
1667
- params: l
1668
- }), a.push(...m2(this._injector, l));
1692
+ params: o
1693
+ }), a.push(...w2(this._injector, o));
1669
1694
  }), {
1670
1695
  redos: i,
1671
1696
  undos: a
1672
1697
  };
1673
- } else if (s.id === o0.id) {
1698
+ } else if (s.id === l0.id) {
1674
1699
  const r = s.params, { unitId: t, subUnitId: e, targetSubUnitId: n } = r;
1675
1700
  if (!t || !e || !n)
1676
1701
  return { redos: [], undos: [] };
1677
1702
  const i = this._conditionalFormattingRuleModel.getSubunitRules(t, e);
1678
1703
  if (!i)
1679
1704
  return { redos: [], undos: [] };
1680
- const a = [], c = [];
1681
- return i.forEach((l) => {
1682
- const o = {
1705
+ const a = [], u = [];
1706
+ return i.forEach((o) => {
1707
+ const l = {
1683
1708
  unitId: t,
1684
1709
  subUnitId: n,
1685
1710
  rule: {
1686
- ...l,
1711
+ ...o,
1687
1712
  cfId: this._conditionalFormattingRuleModel.createCfId(t, n)
1688
1713
  }
1689
1714
  };
1690
- a.push({ id: a2.id, params: o }), c.push(q2(this._injector, o));
1691
- }), { redos: a, undos: c };
1715
+ a.push({ id: a2.id, params: l }), u.push(H2(this._injector, l));
1716
+ }), { redos: a, undos: u };
1692
1717
  }
1693
1718
  return { redos: [], undos: [] };
1694
1719
  }
@@ -1702,77 +1727,77 @@ let s2 = class extends _2 {
1702
1727
  this._commandService.onCommandExecuted((s) => {
1703
1728
  const r = (t, e, n) => {
1704
1729
  const i = /* @__PURE__ */ new Set();
1705
- return n.forEach(([a, c]) => {
1706
- const l = this._conditionalFormattingViewModelV2.getCellCfs(t, e, a, c);
1707
- l == null || l.forEach((o) => i.add(o.cfId));
1730
+ return n.forEach(([a, u]) => {
1731
+ const o = this._conditionalFormattingViewModelV2.getCellCfs(t, e, a, u);
1732
+ o == null || o.forEach((l) => i.add(l.cfId));
1708
1733
  }), [...i].map((a) => this._conditionalFormattingRuleModel.getRule(t, e, a)).filter((a) => !!a);
1709
1734
  };
1710
1735
  switch (s.id) {
1711
1736
  case m0.id: {
1712
1737
  const t = s.params, { subUnitId: e, unitId: n, cellValue: i } = t, a = [];
1713
- new V(i).forValue((l, o, d) => {
1714
- d && Object.keys(d).some((h) => ["p", "v"].includes(h)) && a.push([l, o]);
1715
- }), r(n, e, a).forEach((l) => {
1716
- this._conditionalFormattingViewModelV2.markRuleDirty(n, e, l.cfId);
1738
+ new O(i).forValue((o, l, d) => {
1739
+ d && Object.keys(d).some((g) => ["p", "v"].includes(g)) && a.push([o, l]);
1740
+ }), r(n, e, a).forEach((o) => {
1741
+ this._conditionalFormattingViewModelV2.markRuleDirty(n, e, o.cfId);
1717
1742
  });
1718
1743
  break;
1719
1744
  }
1720
- case D0.id:
1721
- case f0.id: {
1745
+ case f0.id:
1746
+ case D0.id: {
1722
1747
  const { range: t, unitId: e, subUnitId: n } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, n), a = { ...t, endColumn: Number.MAX_SAFE_INTEGER };
1723
- i && i.filter((l) => l.ranges.some((o) => n2.intersects(o, a))).forEach((l) => {
1724
- this._conditionalFormattingViewModelV2.markRuleDirty(e, n, l.cfId);
1748
+ i && i.filter((o) => o.ranges.some((l) => n2.intersects(l, a))).forEach((o) => {
1749
+ this._conditionalFormattingViewModelV2.markRuleDirty(e, n, o.cfId);
1725
1750
  });
1726
1751
  break;
1727
1752
  }
1728
1753
  case C0.id:
1729
1754
  case g0.id: {
1730
1755
  const { range: t, unitId: e, subUnitId: n } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, n), a = { ...t, endRow: Number.MAX_SAFE_INTEGER };
1731
- i && i.filter((l) => l.ranges.some((o) => n2.intersects(o, a))).forEach((l) => {
1732
- this._conditionalFormattingViewModelV2.markRuleDirty(e, n, l.cfId);
1756
+ i && i.filter((o) => o.ranges.some((l) => n2.intersects(l, a))).forEach((o) => {
1757
+ this._conditionalFormattingViewModelV2.markRuleDirty(e, n, o.cfId);
1733
1758
  });
1734
1759
  break;
1735
1760
  }
1736
1761
  case h0.id: {
1737
- const { sourceRange: t, targetRange: e, unitId: n, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(n, i), c = {
1762
+ const { sourceRange: t, targetRange: e, unitId: n, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(n, i), u = {
1738
1763
  startRow: Math.min(t.startRow, e.startRow),
1739
1764
  endRow: Number.MAX_SAFE_INTEGER,
1740
1765
  startColumn: 0,
1741
1766
  endColumn: Number.MAX_SAFE_INTEGER
1742
1767
  };
1743
- a && a.filter((o) => o.ranges.some((d) => n2.intersects(d, c))).forEach((o) => {
1744
- this._conditionalFormattingViewModelV2.markRuleDirty(n, i, o.cfId);
1768
+ a && a.filter((l) => l.ranges.some((d) => n2.intersects(d, u))).forEach((l) => {
1769
+ this._conditionalFormattingViewModelV2.markRuleDirty(n, i, l.cfId);
1745
1770
  });
1746
1771
  break;
1747
1772
  }
1748
1773
  case d0.id: {
1749
- const { sourceRange: t, targetRange: e, unitId: n, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(n, i), c = {
1774
+ const { sourceRange: t, targetRange: e, unitId: n, subUnitId: i } = s.params, a = this._conditionalFormattingRuleModel.getSubunitRules(n, i), u = {
1750
1775
  startRow: 0,
1751
1776
  endRow: Number.MAX_SAFE_INTEGER,
1752
1777
  startColumn: Math.min(t.startColumn, e.startColumn),
1753
1778
  endColumn: Number.MAX_SAFE_INTEGER
1754
1779
  };
1755
- a && a.filter((o) => o.ranges.some((d) => n2.intersects(d, c))).forEach((o) => {
1756
- this._conditionalFormattingViewModelV2.markRuleDirty(n, i, o.cfId);
1780
+ a && a.filter((l) => l.ranges.some((d) => n2.intersects(d, u))).forEach((l) => {
1781
+ this._conditionalFormattingViewModelV2.markRuleDirty(n, i, l.cfId);
1757
1782
  });
1758
1783
  break;
1759
1784
  }
1760
- case c0.id: {
1785
+ case u0.id: {
1761
1786
  const { unitId: t, to: e, from: n } = s.params, i = (a) => {
1762
- const c = [];
1763
- new V(a.value).forValue((o, d) => {
1764
- c.push([o, d]);
1765
- }), r(t, a.subUnitId, c).forEach((o) => {
1766
- this._conditionalFormattingViewModelV2.markRuleDirty(t, a.subUnitId, o.cfId);
1787
+ const u = [];
1788
+ new O(a.value).forValue((l, d) => {
1789
+ u.push([l, d]);
1790
+ }), r(t, a.subUnitId, u).forEach((l) => {
1791
+ this._conditionalFormattingViewModelV2.markRuleDirty(t, a.subUnitId, l.cfId);
1767
1792
  });
1768
1793
  };
1769
1794
  i(e), i(n);
1770
1795
  break;
1771
1796
  }
1772
- case u0.id: {
1797
+ case c0.id: {
1773
1798
  const { range: t, unitId: e, subUnitId: n } = s.params, i = this._conditionalFormattingRuleModel.getSubunitRules(e, n);
1774
- i && i.filter((c) => c.ranges.some((l) => n2.intersects(l, t))).forEach((c) => {
1775
- this._conditionalFormattingViewModelV2.markRuleDirty(e, n, c.cfId);
1799
+ i && i.filter((u) => u.ranges.some((o) => n2.intersects(o, t))).forEach((u) => {
1800
+ this._conditionalFormattingViewModelV2.markRuleDirty(e, n, u.cfId);
1776
1801
  });
1777
1802
  break;
1778
1803
  }
@@ -1781,80 +1806,75 @@ let s2 = class extends _2 {
1781
1806
  );
1782
1807
  }
1783
1808
  };
1784
- s2 = m1([
1785
- Y(0, S(y)),
1786
- Y(1, S(x2)),
1787
- Y(2, S(q)),
1788
- Y(3, S(J2)),
1789
- Y(4, S(a0)),
1790
- Y(5, S(W))
1809
+ s2 = F1([
1810
+ Y(0, x(M)),
1811
+ Y(1, x(y2)),
1812
+ Y(2, x(q)),
1813
+ Y(3, x(z2)),
1814
+ Y(4, x(a0)),
1815
+ Y(5, x(P))
1791
1816
  ], s2);
1792
- const F1 = (s) => s.getCurrentUnitForType(D2.UNIVER_SHEET).getUnitId(), w1 = (s) => {
1817
+ const v1 = (s) => s.getCurrentUnitForType(m2.UNIVER_SHEET).getUnitId(), p1 = (s) => {
1793
1818
  var r;
1794
- return (r = s.getCurrentUnitForType(D2.UNIVER_SHEET).getActiveSheet()) == null ? void 0 : r.getSheetId();
1819
+ return (r = s.getCurrentUnitForType(m2.UNIVER_SHEET).getActiveSheet()) == null ? void 0 : r.getSheetId();
1795
1820
  };
1796
- var v1 = Object.defineProperty, p1 = Object.getOwnPropertyDescriptor, E1 = (s, r, t) => r in s ? v1(s, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[r] = t, A1 = (s, r, t, e) => {
1797
- for (var n = e > 1 ? void 0 : e ? p1(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1821
+ var E1 = Object.getOwnPropertyDescriptor, A1 = (s, r, t, e) => {
1822
+ for (var n = e > 1 ? void 0 : e ? E1(r, t) : r, i = s.length - 1, a; i >= 0; i--)
1798
1823
  (a = s[i]) && (n = a(n) || n);
1799
1824
  return n;
1800
- }, A2 = (s, r) => (t, e) => r(t, e, s), G2 = (s, r, t) => E1(s, typeof r != "symbol" ? r + "" : r, t);
1801
- let f2 = class extends t0 {
1825
+ }, _2 = (s, r) => (t, e) => r(t, e, s), d2;
1826
+ let N2 = (d2 = class extends e0 {
1802
1827
  constructor(s = B2, r, t, e) {
1803
1828
  super(), this._config = s, this._injector = r, this._commandService = t, this._configService = e;
1804
- const { ...n } = V2(
1829
+ const { ...n } = P2(
1805
1830
  {},
1806
1831
  B2,
1807
1832
  this._config
1808
1833
  );
1809
- this._configService.setConfig(f1, n), [
1834
+ this._configService.setConfig(m1, n), [
1810
1835
  [s2],
1811
1836
  [z],
1812
- [y],
1837
+ [M],
1813
1838
  [Q]
1814
1839
  ].forEach((i) => {
1815
1840
  this._injector.add(i);
1816
1841
  }), [
1817
- L0,
1818
- B0,
1819
1842
  k0,
1843
+ B0,
1820
1844
  N0,
1821
- T0,
1822
1845
  U0,
1846
+ T0,
1847
+ V0,
1823
1848
  a2,
1824
1849
  K,
1825
- l2,
1826
- i2
1850
+ o2,
1851
+ i2,
1852
+ h2
1827
1853
  ].forEach((i) => {
1828
1854
  this._commandService.registerCommand(i);
1829
1855
  });
1830
1856
  }
1831
1857
  onStarting() {
1832
- this._injector.get(s2), n0(this._injector, [
1833
- [s2],
1834
- [Q]
1835
- ]);
1836
- }
1837
- };
1838
- G2(f2, "pluginName", P2);
1839
- G2(f2, "type", D2.UNIVER_SHEET);
1840
- f2 = A1([
1841
- Q2(y0),
1842
- A2(1, S(x2)),
1843
- A2(2, S(W)),
1844
- A2(3, e0)
1845
- ], f2);
1846
- const _1 = "sheet-conditional-rule-icon", x1 = 35, M1 = 15, y1 = 2, R1 = (s) => {
1858
+ this._injector.get(s2), t0(this._injector, [[s2], [Q]]);
1859
+ }
1860
+ }, m(d2, "pluginName", Z2), m(d2, "type", m2.UNIVER_SHEET), d2);
1861
+ N2 = A1([
1862
+ _2(1, x(y2)),
1863
+ _2(2, x(P)),
1864
+ _2(3, n0)
1865
+ ], N2);
1866
+ const x1 = "sheet-conditional-rule-icon", _1 = 35, M1 = 15, y1 = 2, R1 = (s) => {
1847
1867
  const { startRow: r, endRow: t, startColumn: e, endColumn: n } = s;
1848
1868
  return `${r}-${t}-${e}-${n}`;
1849
1869
  };
1850
- class I1 extends $2 {
1870
+ class I1 extends q2 {
1851
1871
  constructor() {
1852
1872
  super();
1853
1873
  m(this, "_paddingRightAndLeft", y1);
1854
1874
  m(this, "_width", M1);
1855
1875
  m(this, "_imageMap", /* @__PURE__ */ new Map());
1856
- m(this, "uKey", _1);
1857
- m(this, "Z_INDEX", x1);
1876
+ m(this, "uKey", x1);
1877
+ m(this, "Z_INDEX", _1);
1858
1878
  m(this, "_radius", 1);
1859
1879
  this._init();
1860
1880
  }
@@ -1862,47 +1882,47 @@ class I1 extends $2 {
1862
1882
  const { worksheet: a } = n;
1863
1883
  if (!a)
1864
1884
  return !1;
1865
- const c = /* @__PURE__ */ new Set();
1866
- t.save(), T.foreach(n.rowColumnSegment, (l, o) => {
1867
- if (!a.getRowVisible(l) || !a.getColVisible(o))
1885
+ const u = /* @__PURE__ */ new Set();
1886
+ t.save(), U.foreach(n.rowColumnSegment, (o, l) => {
1887
+ if (!a.getRowVisible(o) || !a.getColVisible(l))
1868
1888
  return;
1869
- const d = n.getCellWithCoordByIndex(l, o, !1), { isMerged: u, isMergedMainCell: h, mergeInfo: g } = d;
1870
- let f = a.getCell(l, o);
1871
- if (u && (f = a.getCell(g.startRow, g.startColumn)), !(f != null && f.iconSet))
1889
+ const d = n.getCellWithCoordByIndex(o, l, !1), { isMerged: c, isMergedMainCell: g, mergeInfo: h } = d;
1890
+ let D = a.getCell(o, l);
1891
+ if (c && (D = a.getCell(h.startRow, h.startColumn)), !(D != null && D.iconSet))
1872
1892
  return;
1873
- const { iconType: D, iconId: F } = f.iconSet;
1874
- if (D === C1)
1893
+ const { iconType: f, iconId: w } = D.iconSet;
1894
+ if (f === f1)
1875
1895
  return;
1876
- const E = this._imageMap.get(this._createKey(D, F));
1877
- if (!E || !this.isRenderDiffRangesByCell(g, i))
1896
+ const p = this._imageMap.get(this._createKey(f, w));
1897
+ if (!p || !this.isRenderDiffRangesByCell(h, i))
1878
1898
  return;
1879
- if (u || h) {
1880
- const Z = R1(g);
1881
- if (c.has(Z))
1899
+ if (c || g) {
1900
+ const Z = R1(h);
1901
+ if (u.has(Z))
1882
1902
  return;
1883
- c.add(Z);
1903
+ u.add(Z);
1884
1904
  }
1885
- const { startX: R, endX: A, startY: I, endY: L } = u || h ? g : d, w2 = A - R, o2 = L - I;
1886
- if (this._width > o2 || this._width > w2 + this._paddingRightAndLeft * 2)
1905
+ const { startX: y, endX: E, startY: R, endY: b } = c || g ? h : d, v2 = E - y, l2 = b - R;
1906
+ if (this._width > l2 || this._width > v2 + this._paddingRightAndLeft * 2)
1887
1907
  return;
1888
- const v2 = (o2 - this._width) / 2 + I;
1889
- t.drawImage(E, R + this._paddingRightAndLeft, v2, this._width, this._width);
1908
+ const p2 = (l2 - this._width) / 2 + R;
1909
+ t.drawImage(p, y + this._paddingRightAndLeft, p2, this._width, this._width);
1890
1910
  }), t.restore();
1891
1911
  }
1892
1912
  _init() {
1893
- for (const t in C2)
1894
- C2[t].forEach((n, i) => {
1895
- const a = this._createKey(t, String(i)), c = new Image();
1896
- c.onload = () => {
1897
- this._imageMap.set(a, c);
1898
- }, c.src = n;
1913
+ for (const t in f2)
1914
+ f2[t].forEach((n, i) => {
1915
+ const a = this._createKey(t, String(i)), u = new Image();
1916
+ u.onload = () => {
1917
+ this._imageMap.set(a, u);
1918
+ }, u.src = n;
1899
1919
  });
1900
1920
  }
1901
1921
  _createKey(t, e) {
1902
1922
  return `${t}_${e}`;
1903
1923
  }
1904
1924
  }
1905
- O2.add(I1);
1925
+ W2.add(I1);
1906
1926
  function S1(s) {
1907
1927
  if (typeof s != "object" || s === null)
1908
1928
  return s;
@@ -1915,68 +1935,70 @@ function S1(s) {
1915
1935
  return r;
1916
1936
  }
1917
1937
  export {
1918
- L0 as AddCfCommand,
1938
+ k0 as AddCfCommand,
1919
1939
  a2 as AddConditionalRuleMutation,
1920
- q2 as AddConditionalRuleMutationUndoFactory,
1921
- w as CFNumberOperator,
1922
- M as CFRuleType,
1923
- _ as CFSubRuleType,
1924
- B as CFTextOperator,
1940
+ H2 as AddConditionalRuleMutationUndoFactory,
1941
+ F as CFNumberOperator,
1942
+ S as CFRuleType,
1943
+ A as CFSubRuleType,
1944
+ L as CFTextOperator,
1925
1945
  k as CFTimePeriodOperator,
1926
- b as CFValueType,
1927
- p2 as CONDITIONAL_FORMATTING_VIEWPORT_CACHE_LENGTH,
1946
+ I as CFValueType,
1947
+ A2 as CONDITIONAL_FORMATTING_VIEWPORT_CACHE_LENGTH,
1928
1948
  B0 as ClearRangeCfCommand,
1929
- k0 as ClearWorksheetCfCommand,
1949
+ N0 as ClearWorksheetCfCommand,
1950
+ h2 as ConditionalFormattingFormulaMarkDirty,
1930
1951
  z as ConditionalFormattingFormulaService,
1931
1952
  I1 as ConditionalFormattingIcon,
1932
- y as ConditionalFormattingRuleModel,
1953
+ M as ConditionalFormattingRuleModel,
1933
1954
  s2 as ConditionalFormattingService,
1934
1955
  Q as ConditionalFormattingViewModel,
1935
- O1 as DEFAULT_BG_COLOR,
1936
- $1 as DEFAULT_FONT_COLOR,
1956
+ V1 as DEFAULT_BG_COLOR,
1957
+ O1 as DEFAULT_FONT_COLOR,
1937
1958
  y1 as DEFAULT_PADDING,
1938
1959
  M1 as DEFAULT_WIDTH,
1939
- G0 as DataBar,
1940
- N0 as DeleteCfCommand,
1960
+ j0 as DataBar,
1961
+ U0 as DeleteCfCommand,
1941
1962
  K as DeleteConditionalRuleMutation,
1942
- m2 as DeleteConditionalRuleMutationUndoFactory,
1943
- C1 as EMPTY_ICON_TYPE,
1944
- _1 as IconUKey,
1963
+ w2 as DeleteConditionalRuleMutationUndoFactory,
1964
+ f1 as EMPTY_ICON_TYPE,
1965
+ N as FormulaResultStatus,
1966
+ x1 as IconUKey,
1945
1967
  T0 as MoveCfCommand,
1946
1968
  i2 as MoveConditionalRuleMutation,
1947
- b0 as MoveConditionalRuleMutationUndoFactory,
1948
- P2 as SHEET_CONDITIONAL_FORMATTING_PLUGIN,
1949
- U0 as SetCfCommand,
1950
- l2 as SetConditionalRuleMutation,
1951
- f2 as UniverSheetsConditionalFormattingPlugin,
1952
- I0 as anchorUndoFactory,
1969
+ L0 as MoveConditionalRuleMutationUndoFactory,
1970
+ Z2 as SHEET_CONDITIONAL_FORMATTING_PLUGIN,
1971
+ V0 as SetCfCommand,
1972
+ o2 as SetConditionalRuleMutation,
1973
+ N2 as UniverSheetsConditionalFormattingPlugin,
1974
+ S0 as anchorUndoFactory,
1953
1975
  r2 as compareWithNumber,
1954
- S0 as createCfId,
1955
- P1 as createDefaultRule,
1956
- W1 as createDefaultValue,
1957
- q1 as createDefaultValueByValueType,
1958
- P0 as dataBarUKey,
1959
- L2 as defaultDataBarNativeColor,
1960
- b2 as defaultDataBarPositiveColor,
1961
- W0 as defaultPlaceholderColor,
1962
- M2 as filterRange,
1976
+ b0 as createCfId,
1977
+ $1 as createDefaultRule,
1978
+ P1 as createDefaultValue,
1979
+ W1 as createDefaultValueByValueType,
1980
+ q0 as dataBarUKey,
1981
+ k2 as defaultDataBarNativeColor,
1982
+ L2 as defaultDataBarPositiveColor,
1983
+ Z0 as defaultPlaceholderColor,
1984
+ R2 as filterRange,
1963
1985
  X as findIndexByAnchor,
1964
- G1 as getCacheStyleMatrix,
1965
- P as getCellValue,
1966
- n1 as getColorScaleFromValue,
1967
- H1 as getMaxInFormulaResult,
1968
- t1 as getOppositeOperator,
1969
- g2 as getValueByType,
1970
- g1 as iconGroup,
1971
- C2 as iconMap,
1972
- Z1 as isAnchorEqual,
1973
- h2 as isFloatsEqual,
1974
- N as isNullable,
1975
- K1 as isRangesEqual,
1976
- R0 as moveByAnchor,
1986
+ Z1 as getCacheStyleMatrix,
1987
+ W as getCellValue,
1988
+ s1 as getColorScaleFromValue,
1989
+ G1 as getMaxInFormulaResult,
1990
+ r1 as getOppositeOperator,
1991
+ D2 as getValueByType,
1992
+ D1 as iconGroup,
1993
+ f2 as iconMap,
1994
+ q1 as isAnchorEqual,
1995
+ C2 as isFloatsEqual,
1996
+ B as isNullable,
1997
+ X1 as isRangesEqual,
1998
+ I0 as moveByAnchor,
1977
1999
  S1 as removeUndefinedAttr,
1978
- e1 as serialTimeToTimestamp,
1979
- Z2 as setConditionalRuleMutationUndoFactory,
1980
- Q0 as toYMD_1900,
1981
- W2 as transformSupportSymmetryAnchor
2000
+ n1 as serialTimeToTimestamp,
2001
+ j2 as setConditionalRuleMutationUndoFactory,
2002
+ t1 as toYMD_1900,
2003
+ G2 as transformSupportSymmetryAnchor
1982
2004
  };