@univerjs/sheets-conditional-formatting 0.13.0 → 0.14.0

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