@das-fed/upf-utils 6.4.0-dev.247 → 6.4.0-dev.248

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/api-services/modules/app-manage/es5.js +1079 -1088
  2. package/api-services/modules/app-manage/index.js +883 -897
  3. package/api-services/modules/app-manage/index.js.gz +0 -0
  4. package/api-services/modules/authentication/es5.js +1079 -1088
  5. package/api-services/modules/authentication/index.js +883 -897
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/es5.js +1106 -1118
  8. package/api-services/modules/bems/index.js +905 -923
  9. package/api-services/modules/bems/index.js.gz +0 -0
  10. package/api-services/modules/contract/es5.js +852 -849
  11. package/api-services/modules/contract/index.js +665 -661
  12. package/api-services/modules/contract/index.js.gz +0 -0
  13. package/api-services/modules/duty-manage/es5.js +1058 -1048
  14. package/api-services/modules/duty-manage/index.js +872 -858
  15. package/api-services/modules/duty-manage/index.js.gz +0 -0
  16. package/api-services/modules/enterpriseright/es5.js +1114 -1102
  17. package/api-services/modules/enterpriseright/index.js +920 -902
  18. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  19. package/api-services/modules/es5.js +1349 -1361
  20. package/api-services/modules/gateway-edge/es5.js +1088 -1079
  21. package/api-services/modules/gateway-edge/index.js +897 -883
  22. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  23. package/api-services/modules/index.js +1055 -1073
  24. package/api-services/modules/index.js.gz +0 -0
  25. package/api-services/modules/iot/es5.js +871 -868
  26. package/api-services/modules/iot/index.js +685 -681
  27. package/api-services/modules/iot/index.js.gz +0 -0
  28. package/api-services/modules/knowledge/es5.js +1102 -1114
  29. package/api-services/modules/knowledge/index.js +902 -920
  30. package/api-services/modules/knowledge/index.js.gz +0 -0
  31. package/api-services/modules/permission/es5.js +852 -849
  32. package/api-services/modules/permission/index.js +665 -661
  33. package/api-services/modules/permission/index.js.gz +0 -0
  34. package/api-services/modules/platformManage/es5.js +1144 -1132
  35. package/api-services/modules/platformManage/index.js +953 -935
  36. package/api-services/modules/platformManage/index.js.gz +0 -0
  37. package/api-services/modules/portal/es5.js +1102 -1114
  38. package/api-services/modules/portal/index.js +902 -920
  39. package/api-services/modules/portal/index.js.gz +0 -0
  40. package/api-services/modules/supplier/es5.js +1081 -1093
  41. package/api-services/modules/supplier/index.js +883 -901
  42. package/api-services/modules/supplier/index.js.gz +0 -0
  43. package/api-services/modules/supplychain-manage/es5.js +1102 -1114
  44. package/api-services/modules/supplychain-manage/index.js +902 -920
  45. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  46. package/api-services/modules/systemConfiguration/es5.js +817 -815
  47. package/api-services/modules/systemConfiguration/index.js +640 -636
  48. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  49. package/common-info/es5.js +1257 -1248
  50. package/common-info/getPermissionMethod/es5.js +859 -856
  51. package/common-info/getPermissionMethod/index.js +669 -665
  52. package/common-info/getPermissionMethod/index.js.gz +0 -0
  53. package/common-info/index.js +1040 -1026
  54. package/common-info/index.js.gz +0 -0
  55. package/package.json +3 -3
  56. package/theme/es5.d.ts +4 -0
  57. package/theme/es5.js +488 -389
  58. package/theme/index.d.ts +4 -0
  59. package/theme/index.js +412 -334
  60. package/theme/index.js.gz +0 -0
package/theme/es5.js CHANGED
@@ -20,17 +20,17 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
20
20
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
21
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22
22
  var mframe = require('@das-fed/mframe/es5');
23
- var c = "#ffffff",
24
- m = "#000000",
25
- te = 0.115,
26
- U = function U(e) {
23
+ var p = "#ffffff",
24
+ d = "#000000",
25
+ ne = 0.115,
26
+ q = function q(e) {
27
27
  var r = String(e || "").trim();
28
28
  return /^#([\da-f]{3}|[\da-f]{6})$/i.test(r) ? r.length === 4 ? "#".concat(r.slice(1).split("").map(function (t) {
29
29
  return "".concat(t).concat(t);
30
30
  }).join("")) : r : "";
31
31
  },
32
- _ = function _(e) {
33
- var r = U(e);
32
+ B = function B(e) {
33
+ var r = q(e);
34
34
  if (!r) return null;
35
35
  var t = r.slice(1);
36
36
  return {
@@ -39,37 +39,37 @@ var c = "#ffffff",
39
39
  blue: Number.parseInt(t.slice(4, 6), 16)
40
40
  };
41
41
  },
42
- w = function w(e) {
42
+ A = function A(e) {
43
43
  return Math.min(255, Math.max(0, Math.round(e)));
44
44
  },
45
- $ = function $(e, r, t, a) {
46
- var u = _(e),
47
- f = _(r);
48
- if (!u || !f) return a;
49
- var l = Math.min(1, Math.max(0, t)),
50
- s = w(u.red * l + f.red * (1 - l)),
51
- n = w(u.green * l + f.green * (1 - l)),
52
- p = w(u.blue * l + f.blue * (1 - l));
53
- return "#".concat([s, n, p].map(function (d) {
54
- return d.toString(16).padStart(2, "0");
45
+ J = function J(e, r, t, o) {
46
+ var u = B(e),
47
+ f = B(r);
48
+ if (!u || !f) return o;
49
+ var n = Math.min(1, Math.max(0, t)),
50
+ l = A(u.red * n + f.red * (1 - n)),
51
+ i = A(u.green * n + f.green * (1 - n)),
52
+ c = A(u.blue * n + f.blue * (1 - n));
53
+ return "#".concat([l, i, c].map(function (m) {
54
+ return m.toString(16).padStart(2, "0");
55
55
  }).join(""));
56
56
  },
57
- oe = function oe(e, r, t) {
58
- var a = _(e);
59
- if (!a) return t;
57
+ le = function le(e, r, t) {
58
+ var o = B(e);
59
+ if (!o) return t;
60
60
  var u = Math.min(1, Math.max(0, r));
61
- return "rgba(".concat(a.red, ", ").concat(a.green, ", ").concat(a.blue, ", ").concat(u, ")");
61
+ return "rgba(".concat(o.red, ", ").concat(o.green, ", ").concat(o.blue, ", ").concat(u, ")");
62
62
  },
63
63
  y = function y(e) {
64
- var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : c;
65
- return $(e || "#5582F3", r || c, te, "#ebf1fe");
64
+ var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : p;
65
+ return J(e || "#5582F3", r || p, ne, "#ebf1fe");
66
66
  },
67
- N = "#5582f3",
68
- ae = {
67
+ O = "#5582f3",
68
+ ie = {
69
69
  "--upf-brand-primary": "#ffffff",
70
70
  "--upf-brand-secondary": "#f2f6ff",
71
- "--upf-color-primary": N,
72
- "--upf-color-primary-bg": y(N),
71
+ "--upf-color-primary": O,
72
+ "--upf-color-primary-bg": y(O),
73
73
  "--upf-color-success": "#52c41a",
74
74
  "--upf-color-warning": "#faad14",
75
75
  "--upf-color-error": "#ff4d4f",
@@ -104,21 +104,21 @@ var c = "#ffffff",
104
104
  "--upf-box-shadow": "0 2px 8px rgba(0, 0, 0, 0.08)",
105
105
  "--upf-box-shadow-elevated": "0 4px 16px rgba(0, 0, 0, 0.12)"
106
106
  },
107
- ue = {
107
+ se = {
108
108
  name: "cjb",
109
109
  displayName: "纯净白",
110
110
  description: "白底壳层主题,内容区沿用浅蓝高亮交互色",
111
111
  mode: "light",
112
112
  source: "preset",
113
113
  basePresetName: "cjb",
114
- variables: ae
114
+ variables: ie
115
115
  },
116
- D = "#5582f3",
117
- fe = {
116
+ L = "#5582f3",
117
+ ce = {
118
118
  "--upf-brand-primary": "#0e5fd8",
119
119
  "--upf-brand-secondary": "#3579de",
120
- "--upf-color-primary": D,
121
- "--upf-color-primary-bg": y(D),
120
+ "--upf-color-primary": L,
121
+ "--upf-color-primary-bg": y(L),
122
122
  "--upf-color-success": "#52c41a",
123
123
  "--upf-color-warning": "#faad14",
124
124
  "--upf-color-error": "#ff4d4f",
@@ -153,21 +153,21 @@ var c = "#ffffff",
153
153
  "--upf-box-shadow": "0 2px 8px rgba(0, 0, 0, 0.1)",
154
154
  "--upf-box-shadow-elevated": "0 4px 16px rgba(0, 0, 0, 0.15)"
155
155
  },
156
- le = {
156
+ pe = {
157
157
  name: "default",
158
158
  displayName: "经典蓝",
159
159
  description: "经典蓝导航主题,内容区沿用浅底与高亮蓝交互色",
160
160
  mode: "light",
161
161
  source: "preset",
162
162
  basePresetName: "default",
163
- variables: fe
163
+ variables: ce
164
164
  },
165
- R = "#e63946",
166
- ne = {
165
+ z = "#e63946",
166
+ me = {
167
167
  "--upf-brand-primary": "#eb0e1b",
168
168
  "--upf-brand-secondary": "#f15760",
169
- "--upf-color-primary": R,
170
- "--upf-color-primary-bg": y(R),
169
+ "--upf-color-primary": z,
170
+ "--upf-color-primary-bg": y(z),
171
171
  "--upf-color-success": "#52c41a",
172
172
  "--upf-color-warning": "#faad14",
173
173
  "--upf-color-error": "#ff4d4f",
@@ -202,21 +202,21 @@ var c = "#ffffff",
202
202
  "--upf-box-shadow": "0 2px 8px rgba(0, 0, 0, 0.08)",
203
203
  "--upf-box-shadow-elevated": "0 4px 16px rgba(0, 0, 0, 0.12)"
204
204
  },
205
- ie = {
205
+ de = {
206
206
  name: "dkh",
207
207
  displayName: "大咖红",
208
208
  description: "大咖红主题,壳层与内容交互色保持同系红色",
209
209
  mode: "light",
210
210
  source: "preset",
211
211
  basePresetName: "dkh",
212
- variables: ne
212
+ variables: me
213
213
  },
214
- M = "#5582f3",
215
- se = {
214
+ U = "#5582f3",
215
+ ge = {
216
216
  "--upf-brand-primary": "#1f2346",
217
217
  "--upf-brand-secondary": "#2d3158",
218
- "--upf-color-primary": M,
219
- "--upf-color-primary-bg": y(M),
218
+ "--upf-color-primary": U,
219
+ "--upf-color-primary-bg": y(U),
220
220
  "--upf-color-success": "#52c41a",
221
221
  "--upf-color-warning": "#faad14",
222
222
  "--upf-color-error": "#ff4d4f",
@@ -251,63 +251,64 @@ var c = "#ffffff",
251
251
  "--upf-box-shadow": "0 6px 18px rgba(15, 23, 42, 0.08)",
252
252
  "--upf-box-shadow-elevated": "0 10px 28px rgba(35, 41, 75, 0.12)"
253
253
  },
254
- ce = {
254
+ be = {
255
255
  name: "ssl",
256
256
  displayName: "深邃蓝",
257
257
  description: "深邃蓝壳层主题,内容区沿用浅底与高亮蓝交互色",
258
258
  mode: "dark",
259
259
  source: "preset",
260
260
  basePresetName: "ssl",
261
- variables: se
261
+ variables: ge
262
262
  },
263
- pe = ["default", "cjb", "ssl", "dkh"],
264
- k = {
265
- "default": le,
266
- cjb: ue,
267
- ssl: ce,
268
- dkh: ie
263
+ he = ["default", "cjb", "ssl", "dkh"],
264
+ H = {
265
+ "default": pe,
266
+ cjb: se,
267
+ ssl: be,
268
+ dkh: de
269
269
  },
270
- me = function me(e) {
270
+ ye = function ye(e) {
271
271
  return _objectSpread({}, e);
272
272
  },
273
- j = function j(e) {
273
+ X = function X(e) {
274
274
  return _objectSpread(_objectSpread({}, e), {}, {
275
- variables: me(e.variables)
275
+ variables: ye(e.variables)
276
276
  });
277
277
  },
278
- h = function h(e) {
278
+ g = function g(e) {
279
279
  var r = String(e || "").trim();
280
- return k[r] ? j(k[r]) : undefined;
280
+ return H[r] ? X(H[r]) : undefined;
281
281
  },
282
- de = function de() {
283
- return pe.map(function (e) {
284
- return j(k[e]);
282
+ ve = function ve() {
283
+ return he.map(function (e) {
284
+ return X(H[e]);
285
285
  });
286
286
  },
287
- V = "themeChange",
288
- v = "upf-theme-root-vars",
289
- ge = "upf-default-theme-vars",
290
- be = ["--upf-color-primary", "--upf-brand-primary"],
291
- P = /* @__PURE__ */new WeakMap(),
292
- I = /* @__PURE__ */new WeakSet(),
293
- b = /* @__PURE__ */new WeakMap(),
287
+ j = "themeChange",
288
+ E = "upf-theme-root-vars",
289
+ xe = "upf-default-theme-vars",
290
+ T = "upf-theme-config",
291
+ Ee = ["--upf-color-primary", "--upf-brand-primary"],
292
+ $ = /* @__PURE__ */new WeakMap(),
293
+ K = /* @__PURE__ */new WeakSet(),
294
+ h = /* @__PURE__ */new WeakMap(),
294
295
  x = function x(e) {
295
- return e ? Object.entries(A(e)).reduce(function (r, _ref) {
296
+ return e ? Object.entries(D(e)).reduce(function (r, _ref) {
296
297
  var _ref2 = _slicedToArray(_ref, 2),
297
298
  t = _ref2[0],
298
- a = _ref2[1];
299
- return r[t] = String(a !== null && a !== void 0 ? a : ""), r;
299
+ o = _ref2[1];
300
+ return r[t] = String(o !== null && o !== void 0 ? o : ""), r;
300
301
  }, {}) : null;
301
302
  },
302
- A = function A(e) {
303
+ D = function D(e) {
303
304
  return e;
304
305
  },
305
- o = function o(e, r) {
306
+ a = function a(e, r) {
306
307
  var _ref3;
307
- var t = A(e);
308
+ var t = D(e);
308
309
  return String((_ref3 = r ? t[r] : "") !== null && _ref3 !== void 0 ? _ref3 : "");
309
310
  },
310
- i = function i(e, r) {
311
+ s = function s(e, r) {
311
312
  return r.map(function (t) {
312
313
  return {
313
314
  target: t,
@@ -315,53 +316,53 @@ var c = "#ffffff",
315
316
  };
316
317
  });
317
318
  },
318
- W = function W(e) {
319
- var a;
320
- var r = A(e),
319
+ R = function R(e) {
320
+ var o;
321
+ var r = D(e),
321
322
  t = Object.entries(r).reduce(function (u, _ref4) {
322
323
  var _ref5 = _slicedToArray(_ref4, 2),
323
324
  f = _ref5[0],
324
- l = _ref5[1];
325
- return u[f] = String(l !== null && l !== void 0 ? l : ""), u;
325
+ n = _ref5[1];
326
+ return u[f] = String(n !== null && n !== void 0 ? n : ""), u;
326
327
  }, {});
327
- return (a = t["--upf-color-primary-bg"]) != null && a.trim() || (t["--upf-color-primary-bg"] = y(t["--upf-color-primary"], t["--upf-bg-primary"] || c)), t;
328
+ return (o = t["--upf-color-primary-bg"]) != null && o.trim() || (t["--upf-color-primary-bg"] = y(t["--upf-color-primary"], t["--upf-bg-primary"] || p)), t;
328
329
  },
329
- ye = {
330
+ Te = {
330
331
  "#5582f3": "#3761CA",
331
332
  "#e63946": "#C9303C"
332
333
  },
333
- O = function O(e, r) {
334
+ W = function W(e, r) {
334
335
  var t = e || "#5582F3";
335
- return ye[U(t).toLowerCase()] || r(t, m, 0.84, "#3761CA");
336
+ return Te[q(t).toLowerCase()] || r(t, d, 0.84, "#3761CA");
336
337
  },
337
- xe = "#999",
338
- ve = function ve(e) {
338
+ Ce = "#999",
339
+ Se = function Se(e) {
339
340
  return [e.themeName, e.basePresetName].some(function (r) {
340
341
  return String(r || "").trim() === "dkh";
341
342
  });
342
343
  },
343
- he = function he(e) {
344
- return ve(e) ? xe : o(e.variables, "--upf-color-primary");
344
+ Fe = function Fe(e) {
345
+ return Se(e) ? Ce : a(e.variables, "--upf-color-primary");
345
346
  },
346
- Ee = function Ee(e) {
347
+ we = function we(e) {
347
348
  return Array.isArray(e) ? _toConsumableArray(e) : [e];
348
349
  },
349
- E = function E(e, r) {
350
+ C = function C(e, r) {
350
351
  var t = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
351
- return r.reduce(function (a, u) {
352
+ return r.reduce(function (o, u) {
352
353
  var _u$value;
353
354
  var f = u.resolve ? u.resolve(_objectSpread({
354
355
  variables: e,
355
- result: a,
356
- mixHexColor: $,
357
- toRgbaColor: oe
358
- }, t)) : u.from ? o(e, String(u.from)) : String((_u$value = u.value) !== null && _u$value !== void 0 ? _u$value : "");
359
- return Ee(u.target).forEach(function (l) {
360
- a[l] = String(f !== null && f !== void 0 ? f : "");
361
- }), a;
356
+ result: o,
357
+ mixHexColor: J,
358
+ toRgbaColor: le
359
+ }, t)) : u.from ? a(e, String(u.from)) : String((_u$value = u.value) !== null && _u$value !== void 0 ? _u$value : "");
360
+ return we(u.target).forEach(function (n) {
361
+ o[n] = String(f !== null && f !== void 0 ? f : "");
362
+ }), o;
362
363
  }, {});
363
364
  },
364
- Ce = [{
365
+ _e = [{
365
366
  target: "--upf-primary",
366
367
  from: "--upf-color-primary"
367
368
  }, {
@@ -389,7 +390,7 @@ var c = "#ffffff",
389
390
  target: "--upf-menu-item-active-text",
390
391
  from: "--upf-menu-active-text"
391
392
  }],
392
- Te = [{
393
+ Ne = [{
393
394
  target: "--el-color-primary",
394
395
  from: "--upf-color-primary"
395
396
  }, {
@@ -472,18 +473,18 @@ var c = "#ffffff",
472
473
  value: "14px"
473
474
  }, {
474
475
  target: "--el-checkbox-checked-icon-color",
475
- value: c
476
+ value: p
476
477
  }, {
477
478
  target: "--el-checkbox-input-border",
478
479
  resolve: function resolve(_ref6) {
479
480
  var e = _ref6.variables;
480
- return "1px solid ".concat(o(e, "--upf-border-color"));
481
+ return "1px solid ".concat(a(e, "--upf-border-color"));
481
482
  }
482
483
  }],
483
- Fe = [{
484
+ Ae = [{
484
485
  target: "--das-ui-color-primary-level1",
485
486
  from: "--upf-color-primary-bg"
486
- }].concat(_toConsumableArray(i("--upf-color-primary-bg", ["--das-ui-color-primary-level1", "--das-ui-upload-bgcolor-hover"])), _toConsumableArray(i("--upf-bg-primary", ["--das-black-list-mange-color-white"])), [{
487
+ }].concat(_toConsumableArray(s("--upf-color-primary-bg", ["--das-ui-color-primary-level1", "--das-ui-upload-bgcolor-hover"])), _toConsumableArray(s("--upf-bg-primary", ["--das-black-list-mange-color-white"])), [{
487
488
  target: "--das-ui-color-primary",
488
489
  from: "--upf-color-primary"
489
490
  }, {
@@ -555,7 +556,7 @@ var c = "#ffffff",
555
556
  target: "--das-ui-dropdown-bgff-color",
556
557
  resolve: function resolve(_ref7) {
557
558
  var e = _ref7.variables;
558
- return o(e, "--upf-bg-elevated") || o(e, "--upf-bg-primary");
559
+ return a(e, "--upf-bg-elevated") || a(e, "--upf-bg-primary");
559
560
  }
560
561
  }, {
561
562
  target: "--das-ui-dropdown-divided-color",
@@ -610,14 +611,14 @@ var c = "#ffffff",
610
611
  resolve: function resolve(_ref8) {
611
612
  var e = _ref8.variables,
612
613
  r = _ref8.mixHexColor;
613
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.08, "#F2F6FF");
614
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.08, "#F2F6FF");
614
615
  }
615
616
  }, {
616
617
  target: "--das-ui-special-range-picker-new-range",
617
618
  resolve: function resolve(_ref9) {
618
619
  var e = _ref9.variables,
619
620
  r = _ref9.mixHexColor;
620
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.14, "#E3EBFF");
621
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.14, "#E3EBFF");
621
622
  }
622
623
  }, {
623
624
  target: "--das-ui-special-range-picker-disabled",
@@ -657,7 +658,7 @@ var c = "#ffffff",
657
658
  from: "--upf-border-color"
658
659
  }, {
659
660
  target: ["--upf-form-active-border-color", "--das-input-active-border-color", "--upf-date-picker-active-border-color"],
660
- resolve: he
661
+ resolve: Fe
661
662
  }, {
662
663
  target: "--das-input-font-color",
663
664
  from: "--upf-text-primary"
@@ -687,13 +688,19 @@ var c = "#ffffff",
687
688
  value: "8px"
688
689
  }, {
689
690
  target: "--das-user-manage-white",
690
- value: c
691
+ value: p
691
692
  }, {
692
693
  target: "--das-user-manage-shadow-color",
693
694
  value: "rgba(38, 38, 38, 0.1)"
694
695
  }, {
695
696
  target: "--das-user-manage-border-color",
696
697
  value: "rgba(38, 38, 38, 0.1)"
698
+ }, {
699
+ target: "--das-layout-micro-container-bg-color",
700
+ value: "#e2e7ef"
701
+ }, {
702
+ target: "--das-layout-breadcrumb-bg-color",
703
+ value: "#ffffff"
697
704
  }, {
698
705
  target: "--das-ui-font-size-sm",
699
706
  value: "12px"
@@ -714,7 +721,7 @@ var c = "#ffffff",
714
721
  value: "rgba(0, 0, 0, 0.2)"
715
722
  }, {
716
723
  target: "--das-ui-text-tooltip-bgcolor",
717
- value: c
724
+ value: p
718
725
  }, {
719
726
  target: "--das-ui-search-form-font-color",
720
727
  from: "--upf-text-primary"
@@ -761,7 +768,7 @@ var c = "#ffffff",
761
768
  target: "--das-ui-collaspe-bgcolor",
762
769
  resolve: function resolve(_ref0) {
763
770
  var e = _ref0.variables;
764
- return o(e, "--upf-bg-elevated") || o(e, "--upf-bg-primary");
771
+ return a(e, "--upf-bg-elevated") || a(e, "--upf-bg-primary");
765
772
  }
766
773
  }, {
767
774
  target: "--das-ui-calendar-color-text",
@@ -789,107 +796,107 @@ var c = "#ffffff",
789
796
  resolve: function resolve(_ref1) {
790
797
  var e = _ref1.variables,
791
798
  r = _ref1.mixHexColor;
792
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.16, "#E0EFFE");
799
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.16, "#E0EFFE");
793
800
  }
794
801
  }, {
795
802
  target: "--das-ui-color-primary-level3",
796
803
  resolve: function resolve(_ref10) {
797
804
  var e = _ref10.variables,
798
805
  r = _ref10.mixHexColor;
799
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.32, "#B3D5FF");
806
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.32, "#B3D5FF");
800
807
  }
801
808
  }, {
802
809
  target: "--das-ui-color-primary-level4",
803
810
  resolve: function resolve(_ref11) {
804
811
  var e = _ref11.variables,
805
812
  r = _ref11.mixHexColor;
806
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.48, "#85B8FE");
813
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.48, "#85B8FE");
807
814
  }
808
815
  }, {
809
816
  target: "--das-ui-color-primary-level5",
810
817
  resolve: function resolve(_ref12) {
811
818
  var e = _ref12.variables,
812
819
  r = _ref12.mixHexColor;
813
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.68, "#5797FF");
820
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.68, "#5797FF");
814
821
  }
815
822
  }, {
816
823
  target: "--das-ui-color-primary-level7",
817
824
  resolve: function resolve(_ref13) {
818
825
  var e = _ref13.variables,
819
826
  r = _ref13.mixHexColor;
820
- return r(o(e, "--upf-color-primary"), m, 0.82, "#104CCC");
827
+ return r(a(e, "--upf-color-primary"), d, 0.82, "#104CCC");
821
828
  }
822
829
  }, {
823
830
  target: "--das-ui-color-primary-level8",
824
831
  resolve: function resolve(_ref14) {
825
832
  var e = _ref14.variables,
826
833
  r = _ref14.mixHexColor;
827
- return r(o(e, "--upf-color-primary"), m, 0.68, "#002EA3");
834
+ return r(a(e, "--upf-color-primary"), d, 0.68, "#002EA3");
828
835
  }
829
836
  }, {
830
837
  target: "--das-ui-color-primary-level9",
831
838
  resolve: function resolve(_ref15) {
832
839
  var e = _ref15.variables,
833
840
  r = _ref15.mixHexColor;
834
- return r(o(e, "--upf-color-primary"), m, 0.5, "#001F7A");
841
+ return r(a(e, "--upf-color-primary"), d, 0.5, "#001F7A");
835
842
  }
836
843
  }, {
837
844
  target: "--das-ui-color-danger-level1",
838
845
  resolve: function resolve(_ref16) {
839
846
  var e = _ref16.variables,
840
847
  r = _ref16.mixHexColor;
841
- return r(o(e, "--upf-color-error"), o(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
848
+ return r(a(e, "--upf-color-error"), a(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
842
849
  }
843
850
  }, {
844
851
  target: "--das-ui-color-danger-level2",
845
852
  resolve: function resolve(_ref17) {
846
853
  var e = _ref17.variables,
847
854
  r = _ref17.mixHexColor;
848
- return r(o(e, "--upf-color-error"), o(e, "--upf-bg-primary"), 0.08, "#FFF2F4");
855
+ return r(a(e, "--upf-color-error"), a(e, "--upf-bg-primary"), 0.08, "#FFF2F4");
849
856
  }
850
857
  }, {
851
858
  target: "--das-ui-color-warning-level1",
852
859
  resolve: function resolve(_ref18) {
853
860
  var e = _ref18.variables,
854
861
  r = _ref18.mixHexColor;
855
- return r(o(e, "--upf-color-warning"), o(e, "--upf-bg-primary"), 0.08, "#FFFBF2");
862
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-bg-primary"), 0.08, "#FFFBF2");
856
863
  }
857
864
  }, {
858
865
  target: "--das-ui-color-warning-level2",
859
866
  resolve: function resolve(_ref19) {
860
867
  var e = _ref19.variables,
861
868
  r = _ref19.mixHexColor;
862
- return r(o(e, "--upf-color-warning"), o(e, "--upf-bg-primary"), 0.16, "#FFF1D4");
869
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-bg-primary"), 0.16, "#FFF1D4");
863
870
  }
864
871
  }, {
865
872
  target: "--das-ui-color-success-level1",
866
873
  resolve: function resolve(_ref20) {
867
874
  var e = _ref20.variables,
868
875
  r = _ref20.mixHexColor;
869
- return r(o(e, "--upf-color-success"), o(e, "--upf-bg-primary"), 0.08, "#F2FFF5");
876
+ return r(a(e, "--upf-color-success"), a(e, "--upf-bg-primary"), 0.08, "#F2FFF5");
870
877
  }
871
878
  }, {
872
879
  target: "--das-ui-color-success-level2",
873
880
  resolve: function resolve(_ref21) {
874
881
  var e = _ref21.variables,
875
882
  r = _ref21.mixHexColor;
876
- return r(o(e, "--upf-color-success"), o(e, "--upf-bg-primary"), 0.16, "#DCFAE4");
883
+ return r(a(e, "--upf-color-success"), a(e, "--upf-bg-primary"), 0.16, "#DCFAE4");
877
884
  }
878
885
  }, {
879
886
  target: "--das-ui-color-amount",
880
887
  resolve: function resolve(_ref22) {
881
888
  var e = _ref22.variables,
882
889
  r = _ref22.mixHexColor;
883
- return r(o(e, "--upf-color-warning"), o(e, "--upf-color-error"), 0.55, "#FF5F1F");
890
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-color-error"), 0.55, "#FF5F1F");
884
891
  }
885
892
  }, {
886
893
  target: "--das-ui-button-primary-hover",
887
894
  resolve: function resolve(_ref23) {
888
895
  var e = _ref23.variables,
889
896
  r = _ref23.mixHexColor;
890
- return r(o(e, "--upf-color-primary"), m, 0.82, "#104CCC");
897
+ return r(a(e, "--upf-color-primary"), d, 0.82, "#104CCC");
891
898
  }
892
- }], _toConsumableArray(i("--upf-color-primary", ["--das-ui-search-form-primary-color"])), _toConsumableArray(i("--upf-text-primary", ["--das-ui-tag-list-text-color"])), _toConsumableArray(i("--upf-border-color", ["--das-ui-tag-list-border-color", "--das-ui-upload-border-color"])), _toConsumableArray(i("--upf-bg-secondary", ["--das-ui-upload-bgcolor"])), _toConsumableArray(i("--upf-text-secondary", ["--das-ui-search-form-tip-color"])), [{
899
+ }], _toConsumableArray(s("--upf-color-primary", ["--das-ui-search-form-primary-color"])), _toConsumableArray(s("--upf-text-primary", ["--das-ui-tag-list-text-color"])), _toConsumableArray(s("--upf-border-color", ["--das-ui-tag-list-border-color", "--das-ui-upload-border-color"])), _toConsumableArray(s("--upf-bg-secondary", ["--das-ui-upload-bgcolor"])), _toConsumableArray(s("--upf-text-secondary", ["--das-ui-search-form-tip-color"])), [{
893
900
  target: "--das-ui-layout-header-menu-border-color",
894
901
  from: "--upf-border-color"
895
902
  }, {
@@ -915,7 +922,7 @@ var c = "#ffffff",
915
922
  resolve: function resolve(_ref24) {
916
923
  var e = _ref24.variables,
917
924
  r = _ref24.toRgbaColor;
918
- return r(o(e, "--upf-nav-text"), 0.72, "rgba(170, 170, 172, 0.72)");
925
+ return r(a(e, "--upf-nav-text"), 0.72, "rgba(170, 170, 172, 0.72)");
919
926
  }
920
927
  }, {
921
928
  target: "--das-ui-layout-header-menu-remove-btn-hover-color",
@@ -924,14 +931,14 @@ var c = "#ffffff",
924
931
  target: "--das-ui-layout-header-icon-color",
925
932
  resolve: function resolve(_ref25) {
926
933
  var e = _ref25.variables;
927
- return o(e, "--upf-nav-text") || o(e, "--upf-text-secondary");
934
+ return a(e, "--upf-nav-text") || a(e, "--upf-text-secondary");
928
935
  }
929
936
  }, {
930
937
  target: "--das-ui-layout-header-left-box-line",
931
938
  resolve: function resolve(_ref26) {
932
939
  var e = _ref26.variables,
933
940
  r = _ref26.toRgbaColor;
934
- return r(o(e, "--upf-nav-text") || o(e, "--upf-text-secondary"), 0.28, "#CCCCCC");
941
+ return r(a(e, "--upf-nav-text") || a(e, "--upf-text-secondary"), 0.28, "#CCCCCC");
935
942
  }
936
943
  }, {
937
944
  target: "--das-ui-layout-aside-menu-width",
@@ -1012,9 +1019,9 @@ var c = "#ffffff",
1012
1019
  target: "--das-ui-layout-aside-menu-top-right-icon-color",
1013
1020
  from: "--upf-text-secondary"
1014
1021
  }]),
1015
- we = [].concat(_toConsumableArray(i("--upf-color-primary", ["--upf-button-primary", "--upf-notification-primary-bg"])), _toConsumableArray(i("--upf-text-primary", ["--upf-button-default-text", "--upf-notification-title-text", "--upf-text-tooltip-text"])), _toConsumableArray(i("--upf-border-color", ["--upf-button-default-border", "--upf-text-tooltip-border"])), _toConsumableArray(i("--upf-text-disabled", ["--upf-button-default-disabled", "--upf-switch-off-color", "--upf-message-thumb", "--upf-text-tooltip-scrollbar-thumb"])), _toConsumableArray(i("--upf-bg-secondary", ["--upf-button-default-disabled-bg", "--upf-table-header-bg"])), _toConsumableArray(i("--upf-bg-primary", ["--upf-checkbox-filter-bg"])), _toConsumableArray(i("--upf-color-info", ["--upf-loading-color-1"])), _toConsumableArray(i("--upf-brand-secondary", ["--upf-loading-color-2"])), _toConsumableArray(i("--upf-color-success", ["--upf-loading-color-3"])), _toConsumableArray(i("--upf-divider-color", ["--upf-loading-color-6"])), _toConsumableArray(i("--upf-text-secondary", ["--upf-message-close", "--upf-notification-description-text", "--upf-notification-close", "--upf-text-tooltip-scrollbar-thumb-hover"])), [{
1022
+ ke = [].concat(_toConsumableArray(s("--upf-color-primary", ["--upf-button-primary", "--upf-notification-primary-bg"])), _toConsumableArray(s("--upf-text-primary", ["--upf-button-default-text", "--upf-notification-title-text", "--upf-text-tooltip-text"])), _toConsumableArray(s("--upf-border-color", ["--upf-button-default-border", "--upf-text-tooltip-border"])), _toConsumableArray(s("--upf-text-disabled", ["--upf-button-default-disabled", "--upf-switch-off-color", "--upf-message-thumb", "--upf-text-tooltip-scrollbar-thumb"])), _toConsumableArray(s("--upf-bg-secondary", ["--upf-button-default-disabled-bg", "--upf-table-header-bg"])), _toConsumableArray(s("--upf-bg-primary", ["--upf-checkbox-filter-bg"])), _toConsumableArray(s("--upf-color-info", ["--upf-loading-color-1"])), _toConsumableArray(s("--upf-brand-secondary", ["--upf-loading-color-2"])), _toConsumableArray(s("--upf-color-success", ["--upf-loading-color-3"])), _toConsumableArray(s("--upf-divider-color", ["--upf-loading-color-6"])), _toConsumableArray(s("--upf-text-secondary", ["--upf-message-close", "--upf-notification-description-text", "--upf-notification-close", "--upf-text-tooltip-scrollbar-thumb-hover"])), [{
1016
1023
  target: "--upf-button-primary-text",
1017
- value: c
1024
+ value: p
1018
1025
  }, {
1019
1026
  target: "--upf-button-primary-text-disabled",
1020
1027
  value: "rgba(255, 255, 255, 1)"
@@ -1071,7 +1078,7 @@ var c = "#ffffff",
1071
1078
  value: "16px"
1072
1079
  }, {
1073
1080
  target: "--upf-notification-primary-text",
1074
- value: c
1081
+ value: p
1075
1082
  }, {
1076
1083
  target: "--upf-text-tooltip-scrollbar-padding",
1077
1084
  value: "1px"
@@ -1080,42 +1087,42 @@ var c = "#ffffff",
1080
1087
  resolve: function resolve(_ref27) {
1081
1088
  var e = _ref27.variables,
1082
1089
  r = _ref27.mixHexColor;
1083
- return r(o(e, "--upf-color-primary") || "#5582F3", c, 0.82, "#87A9FF");
1090
+ return r(a(e, "--upf-color-primary") || "#5582F3", p, 0.82, "#87A9FF");
1084
1091
  }
1085
1092
  }, {
1086
1093
  target: "--upf-button-active",
1087
1094
  resolve: function resolve(_ref28) {
1088
1095
  var e = _ref28.variables,
1089
1096
  r = _ref28.mixHexColor;
1090
- return O(o(e, "--upf-color-primary"), r);
1097
+ return W(a(e, "--upf-color-primary"), r);
1091
1098
  }
1092
1099
  }, {
1093
1100
  target: "--upf-button-disabled",
1094
1101
  resolve: function resolve(_ref29) {
1095
1102
  var e = _ref29.variables,
1096
1103
  r = _ref29.mixHexColor;
1097
- return r(o(e, "--upf-color-primary") || "#5582F3", c, 0.3, "#B5CAFF");
1104
+ return r(a(e, "--upf-color-primary") || "#5582F3", p, 0.3, "#B5CAFF");
1098
1105
  }
1099
1106
  }, {
1100
1107
  target: "--upf-button-set",
1101
1108
  resolve: function resolve(_ref30) {
1102
1109
  var e = _ref30.variables,
1103
1110
  r = _ref30.mixHexColor;
1104
- return r(o(e, "--upf-color-primary") || "#5582F3", m, 0.78, "#4367C1");
1111
+ return r(a(e, "--upf-color-primary") || "#5582F3", d, 0.78, "#4367C1");
1105
1112
  }
1106
1113
  }, {
1107
1114
  target: "--upf-button-set-hover",
1108
1115
  resolve: function resolve(_ref31) {
1109
1116
  var e = _ref31.variables,
1110
1117
  r = _ref31.mixHexColor;
1111
- return r(o(e, "--upf-color-primary") || "#5582F3", m, 0.86, "#4C74DA");
1118
+ return r(a(e, "--upf-color-primary") || "#5582F3", d, 0.86, "#4C74DA");
1112
1119
  }
1113
1120
  }, {
1114
1121
  target: "--upf-button-set-active",
1115
1122
  resolve: function resolve(_ref32) {
1116
1123
  var e = _ref32.variables,
1117
1124
  r = _ref32.mixHexColor;
1118
- return O(o(e, "--upf-color-primary"), r);
1125
+ return W(a(e, "--upf-color-primary"), r);
1119
1126
  }
1120
1127
  }, {
1121
1128
  target: "--upf-button-set-disabled",
@@ -1123,41 +1130,41 @@ var c = "#ffffff",
1123
1130
  var e = _ref33.variables,
1124
1131
  r = _ref33.mixHexColor,
1125
1132
  t = _ref33.result;
1126
- return r(t["--upf-button-set"] || o(e, "--upf-color-primary") || "#5582F3", o(e, "--upf-bg-primary"), 0.55, "#95A4C8");
1133
+ return r(t["--upf-button-set"] || a(e, "--upf-color-primary") || "#5582F3", a(e, "--upf-bg-primary"), 0.55, "#95A4C8");
1127
1134
  }
1128
1135
  }, {
1129
1136
  target: "--upf-switch-on-color-disabled",
1130
1137
  resolve: function resolve(_ref34) {
1131
1138
  var e = _ref34.variables,
1132
1139
  r = _ref34.mixHexColor;
1133
- return r(o(e, "--upf-color-primary"), c, 0.32, "#B5CAFF");
1140
+ return r(a(e, "--upf-color-primary"), p, 0.32, "#B5CAFF");
1134
1141
  }
1135
1142
  }, {
1136
1143
  target: "--upf-checkbox-focus-shadow",
1137
1144
  resolve: function resolve(_ref35) {
1138
1145
  var e = _ref35.variables,
1139
1146
  r = _ref35.toRgbaColor;
1140
- return r(o(e, "--upf-color-primary") || "#5582F3", 0.1, "rgba(85, 130, 243, 0.1)");
1147
+ return r(a(e, "--upf-color-primary") || "#5582F3", 0.1, "rgba(85, 130, 243, 0.1)");
1141
1148
  }
1142
1149
  }, {
1143
1150
  target: "--upf-checkbox-overlay-error-bg",
1144
1151
  resolve: function resolve(_ref36) {
1145
1152
  var e = _ref36.variables,
1146
1153
  r = _ref36.mixHexColor;
1147
- return r(o(e, "--upf-color-error"), o(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
1154
+ return r(a(e, "--upf-color-error"), a(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
1148
1155
  }
1149
1156
  }, {
1150
1157
  target: "--upf-loading-color-4",
1151
1158
  resolve: function resolve(_ref37) {
1152
1159
  var e = _ref37.variables,
1153
1160
  r = _ref37.mixHexColor;
1154
- return r(o(e, "--upf-brand-secondary"), o(e, "--upf-color-primary"), 0.45, "#A06EFF");
1161
+ return r(a(e, "--upf-brand-secondary"), a(e, "--upf-color-primary"), 0.45, "#A06EFF");
1155
1162
  }
1156
1163
  }, {
1157
1164
  target: "--upf-loading-color-5",
1158
1165
  resolve: function resolve(_ref38) {
1159
1166
  var e = _ref38.variables;
1160
- return o(e, "--upf-color-primary") || "#5582F3";
1167
+ return a(e, "--upf-color-primary") || "#5582F3";
1161
1168
  }
1162
1169
  }, {
1163
1170
  target: "--upf-table-row-hover-bg",
@@ -1167,74 +1174,74 @@ var c = "#ffffff",
1167
1174
  resolve: function resolve(_ref39) {
1168
1175
  var e = _ref39.variables,
1169
1176
  r = _ref39.mixHexColor;
1170
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.08, "#F2F6FF");
1177
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.08, "#F2F6FF");
1171
1178
  }
1172
1179
  }, {
1173
1180
  target: "--upf-table-row-active-hover-bg",
1174
1181
  resolve: function resolve(_ref40) {
1175
1182
  var e = _ref40.variables,
1176
1183
  r = _ref40.mixHexColor;
1177
- return r(o(e, "--upf-color-primary"), o(e, "--upf-bg-primary"), 0.14, "#E3EBFF");
1184
+ return r(a(e, "--upf-color-primary"), a(e, "--upf-bg-primary"), 0.14, "#E3EBFF");
1178
1185
  }
1179
1186
  }, {
1180
1187
  target: "--upf-table-summary-row-color",
1181
1188
  resolve: function resolve(_ref41) {
1182
1189
  var e = _ref41.variables,
1183
1190
  r = _ref41.mixHexColor;
1184
- return r(o(e, "--upf-color-warning"), o(e, "--upf-color-error"), 0.55, "#FF5F1F");
1191
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-color-error"), 0.55, "#FF5F1F");
1185
1192
  }
1186
1193
  }, {
1187
1194
  target: "--upf-table-summary-row-bg",
1188
1195
  resolve: function resolve(_ref42) {
1189
1196
  var e = _ref42.variables,
1190
1197
  r = _ref42.mixHexColor;
1191
- return r(o(e, "--upf-color-warning"), o(e, "--upf-bg-primary"), 0.18, "#FFF1D4");
1198
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-bg-primary"), 0.18, "#FFF1D4");
1192
1199
  }
1193
1200
  }, {
1194
1201
  target: "--upf-message-bg",
1195
1202
  resolve: function resolve(_ref43) {
1196
1203
  var e = _ref43.variables,
1197
1204
  r = _ref43.mixHexColor;
1198
- return r(o(e, "--upf-color-info"), o(e, "--upf-bg-primary"), 0.14, "#E0EFFF");
1205
+ return r(a(e, "--upf-color-info"), a(e, "--upf-bg-primary"), 0.14, "#E0EFFF");
1199
1206
  }
1200
1207
  }, {
1201
1208
  target: "--upf-message-text",
1202
1209
  resolve: function resolve(_ref44) {
1203
1210
  var e = _ref44.variables;
1204
- return o(e, "--upf-color-info") || o(e, "--upf-color-primary") || "#0E5FD8";
1211
+ return a(e, "--upf-color-info") || a(e, "--upf-color-primary") || "#0E5FD8";
1205
1212
  }
1206
1213
  }, {
1207
1214
  target: "--upf-message-border",
1208
1215
  resolve: function resolve(_ref45) {
1209
1216
  var e = _ref45.variables,
1210
1217
  r = _ref45.mixHexColor;
1211
- return r(o(e, "--upf-color-info"), o(e, "--upf-bg-primary"), 0.32, "#B3D5FF");
1218
+ return r(a(e, "--upf-color-info"), a(e, "--upf-bg-primary"), 0.32, "#B3D5FF");
1212
1219
  }
1213
1220
  }, {
1214
1221
  target: "--upf-message-close-hover",
1215
1222
  resolve: function resolve(_ref46) {
1216
1223
  var e = _ref46.variables;
1217
- return o(e, "--upf-color-primary") || "#5582F3";
1224
+ return a(e, "--upf-color-primary") || "#5582F3";
1218
1225
  }
1219
1226
  }, {
1220
1227
  target: "--upf-message-success-bg",
1221
1228
  resolve: function resolve(_ref47) {
1222
1229
  var e = _ref47.variables,
1223
1230
  r = _ref47.mixHexColor;
1224
- return r(o(e, "--upf-color-success"), o(e, "--upf-bg-primary"), 0.16, "#DCFAE4");
1231
+ return r(a(e, "--upf-color-success"), a(e, "--upf-bg-primary"), 0.16, "#DCFAE4");
1225
1232
  }
1226
1233
  }, {
1227
1234
  target: "--upf-message-success-text",
1228
1235
  resolve: function resolve(_ref48) {
1229
1236
  var e = _ref48.variables;
1230
- return o(e, "--upf-color-success") || "#1BA854";
1237
+ return a(e, "--upf-color-success") || "#1BA854";
1231
1238
  }
1232
1239
  }, {
1233
1240
  target: "--upf-message-success-border",
1234
1241
  resolve: function resolve(_ref49) {
1235
1242
  var e = _ref49.variables,
1236
1243
  r = _ref49.mixHexColor;
1237
- return r(o(e, "--upf-color-success"), o(e, "--upf-bg-primary"), 0.32, "#A1E6B5");
1244
+ return r(a(e, "--upf-color-success"), a(e, "--upf-bg-primary"), 0.32, "#A1E6B5");
1238
1245
  }
1239
1246
  }, {
1240
1247
  target: "--upf-message-info-bg",
@@ -1259,58 +1266,58 @@ var c = "#ffffff",
1259
1266
  resolve: function resolve(_ref53) {
1260
1267
  var e = _ref53.variables,
1261
1268
  r = _ref53.mixHexColor;
1262
- return r(o(e, "--upf-color-warning"), o(e, "--upf-bg-primary"), 0.16, "#FFF1D4");
1269
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-bg-primary"), 0.16, "#FFF1D4");
1263
1270
  }
1264
1271
  }, {
1265
1272
  target: "--upf-message-warning-text",
1266
1273
  resolve: function resolve(_ref54) {
1267
1274
  var e = _ref54.variables;
1268
- return o(e, "--upf-color-warning") || "#FF991C";
1275
+ return a(e, "--upf-color-warning") || "#FF991C";
1269
1276
  }
1270
1277
  }, {
1271
1278
  target: "--upf-message-warning-border",
1272
1279
  resolve: function resolve(_ref55) {
1273
1280
  var e = _ref55.variables,
1274
1281
  r = _ref55.mixHexColor;
1275
- return r(o(e, "--upf-color-warning"), o(e, "--upf-bg-primary"), 0.32, "#FFE0A6");
1282
+ return r(a(e, "--upf-color-warning"), a(e, "--upf-bg-primary"), 0.32, "#FFE0A6");
1276
1283
  }
1277
1284
  }, {
1278
1285
  target: "--upf-message-error-bg",
1279
1286
  resolve: function resolve(_ref56) {
1280
1287
  var e = _ref56.variables,
1281
1288
  r = _ref56.mixHexColor;
1282
- return r(o(e, "--upf-color-error"), o(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
1289
+ return r(a(e, "--upf-color-error"), a(e, "--upf-bg-primary"), 0.14, "#FFDBE0");
1283
1290
  }
1284
1291
  }, {
1285
1292
  target: "--upf-message-error-text",
1286
1293
  resolve: function resolve(_ref57) {
1287
1294
  var e = _ref57.variables;
1288
- return o(e, "--upf-color-error") || "#FB2323";
1295
+ return a(e, "--upf-color-error") || "#FB2323";
1289
1296
  }
1290
1297
  }, {
1291
1298
  target: "--upf-message-error-border",
1292
1299
  resolve: function resolve(_ref58) {
1293
1300
  var e = _ref58.variables,
1294
1301
  r = _ref58.mixHexColor;
1295
- return r(o(e, "--upf-color-error"), o(e, "--upf-bg-primary"), 0.32, "#FFADB6");
1302
+ return r(a(e, "--upf-color-error"), a(e, "--upf-bg-primary"), 0.32, "#FFADB6");
1296
1303
  }
1297
1304
  }, {
1298
1305
  target: "--upf-notification-bg",
1299
1306
  resolve: function resolve(_ref59) {
1300
1307
  var e = _ref59.variables;
1301
- return o(e, "--upf-bg-elevated") || o(e, "--upf-bg-primary");
1308
+ return a(e, "--upf-bg-elevated") || a(e, "--upf-bg-primary");
1302
1309
  }
1303
1310
  }, {
1304
1311
  target: "--upf-notification-close-hover",
1305
1312
  resolve: function resolve(_ref60) {
1306
1313
  var e = _ref60.variables;
1307
- return o(e, "--upf-color-primary") || "#5582F3";
1314
+ return a(e, "--upf-color-primary") || "#5582F3";
1308
1315
  }
1309
1316
  }, {
1310
1317
  target: "--upf-text-tooltip-bg",
1311
1318
  resolve: function resolve(_ref61) {
1312
1319
  var e = _ref61.variables;
1313
- return o(e, "--upf-bg-elevated") || o(e, "--upf-bg-primary");
1320
+ return a(e, "--upf-bg-elevated") || a(e, "--upf-bg-primary");
1314
1321
  }
1315
1322
  }, {
1316
1323
  target: "--upf-text-tooltip-shadow-color",
@@ -1325,82 +1332,82 @@ var c = "#ffffff",
1325
1332
  target: "--upf-app-container-app-text-override",
1326
1333
  from: "--upf-nav-text"
1327
1334
  }]),
1328
- Se = function Se(e) {
1335
+ Be = function Be(e) {
1329
1336
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1330
- return E(e, Ce, r);
1337
+ return C(e, _e, r);
1331
1338
  },
1332
- _e = function _e(e) {
1339
+ He = function He(e) {
1333
1340
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1334
- return E(e, Te, r);
1341
+ return C(e, Ne, r);
1335
1342
  },
1336
- ke = function ke(e) {
1343
+ De = function De(e) {
1337
1344
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1338
- return E(e, Fe, r);
1345
+ return C(e, Ae, r);
1339
1346
  },
1340
- Ae = function Ae(e) {
1347
+ Re = function Re(e) {
1341
1348
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1342
- return E(e, we, r);
1349
+ return C(e, ke, r);
1343
1350
  },
1344
- G = function G(e) {
1351
+ V = function V(e) {
1345
1352
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1346
- var t = W(e),
1353
+ var t = R(e),
1347
1354
  _r$includeElementAndD = r.includeElementAndDasUiBridges,
1348
- a = _r$includeElementAndD === void 0 ? true : _r$includeElementAndD,
1355
+ o = _r$includeElementAndD === void 0 ? true : _r$includeElementAndD,
1349
1356
  u = r.themeName,
1350
1357
  f = r.basePresetName,
1351
- l = {
1358
+ n = {
1352
1359
  themeName: u,
1353
1360
  basePresetName: f
1354
1361
  },
1355
- s = Ae(t, l),
1356
- n = _objectSpread(_objectSpread({}, t), s);
1357
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, t), s), a ? _e(n, l) : {}), a ? ke(n, l) : {}), Se(n, l));
1362
+ l = Re(t, n),
1363
+ i = _objectSpread(_objectSpread({}, t), l);
1364
+ return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, t), l), o ? He(i, n) : {}), o ? De(i, n) : {}), Be(i, n));
1358
1365
  },
1359
- Xe = function Xe(e) {
1360
- return h(e);
1366
+ nr = function nr(e) {
1367
+ return g(e);
1361
1368
  },
1362
- Qe = function Qe() {
1363
- return de();
1369
+ lr = function lr() {
1370
+ return ve();
1364
1371
  },
1365
- B = function B() {
1366
- return h("default");
1372
+ S = function S() {
1373
+ return g("default");
1367
1374
  },
1368
- Ze = function Ze() {
1369
- return _objectSpread({}, B().variables);
1375
+ ir = function ir() {
1376
+ return _objectSpread({}, S().variables);
1370
1377
  },
1371
- H = function H(e) {
1378
+ P = function P(e) {
1372
1379
  return e || ((typeof document === "undefined" ? "undefined" : _typeof(document)) > "u" ? null : document.documentElement);
1373
1380
  },
1374
- K = function K(e) {
1381
+ Q = function Q(e) {
1375
1382
  return !!(e && String(e.tagName || "").toLowerCase() === "style");
1376
1383
  },
1377
- C = function C(e) {
1384
+ F = function F(e) {
1378
1385
  return e.head || e.documentElement;
1379
1386
  },
1380
- Y = function Y(e, r) {
1381
- var t = C(e);
1387
+ Z = function Z(e, r) {
1388
+ var t = F(e);
1382
1389
  t && (r.parentNode !== t || t.lastElementChild !== r) && t.appendChild(r);
1383
1390
  },
1384
- L = function L(e) {
1391
+ G = function G(e) {
1385
1392
  var u;
1386
- if (I.has(e)) return;
1387
- var r = C(e),
1393
+ if (K.has(e)) return;
1394
+ var r = F(e),
1388
1395
  t = ((u = e.defaultView) == null ? undefined : u.MutationObserver) || ((typeof MutationObserver === "undefined" ? "undefined" : _typeof(MutationObserver)) < "u" ? MutationObserver : undefined);
1389
1396
  if (!r || !t) return;
1390
1397
  new t(function () {
1391
- var f = e.getElementById(v);
1392
- K(f) && Y(e, f);
1398
+ var f = e.getElementById(E);
1399
+ Q(f) && Z(e, f);
1393
1400
  }).observe(r, {
1394
1401
  childList: true
1395
- }), I.add(e);
1402
+ }), K.add(e);
1396
1403
  },
1397
- Be = function Be(e) {
1398
- var r = e.getElementById(v);
1399
- if (K(r)) return Y(e, r), L(e), r;
1404
+ Ve = function Ve(e) {
1405
+ var r = e.getElementById(E);
1406
+ if (Q(r)) return Z(e, r), G(e), r;
1400
1407
  var t = e.createElement("style");
1401
- return t.id = v, C(e).appendChild(t), L(e), t;
1408
+ return t.id = E, F(e).appendChild(t), G(e), t;
1402
1409
  },
1403
- q = function q(e) {
1410
+ M = function M(e) {
1404
1411
  var r = Object.entries(e).filter(function (_ref63) {
1405
1412
  var _ref64 = _slicedToArray(_ref63, 2),
1406
1413
  t = _ref64[1];
@@ -1408,329 +1415,421 @@ var c = "#ffffff",
1408
1415
  }).map(function (_ref65) {
1409
1416
  var _ref66 = _slicedToArray(_ref65, 2),
1410
1417
  t = _ref66[0],
1411
- a = _ref66[1];
1412
- return " ".concat(t, ": ").concat(String(a !== null && a !== void 0 ? a : ""), ";");
1418
+ o = _ref66[1];
1419
+ return " ".concat(t, ": ").concat(String(o !== null && o !== void 0 ? o : ""), ";");
1413
1420
  }).join("\n");
1414
1421
  return r ? ":root {\n".concat(r, "\n}") : ":root {}";
1415
1422
  },
1416
- J = function J() {
1423
+ Pe = function Pe() {
1417
1424
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "default";
1418
1425
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1419
- var t = h(e) || B();
1420
- return q(G(t.variables, _objectSpread(_objectSpread({}, r), {}, {
1426
+ var t = g(e) || S();
1427
+ return M(V(t.variables, _objectSpread(_objectSpread({}, r), {}, {
1421
1428
  themeName: r.themeName || t.name,
1422
1429
  basePresetName: r.basePresetName || t.basePresetName
1423
1430
  })));
1424
1431
  },
1425
- er = function er() {
1432
+ sr = function sr() {
1426
1433
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1427
- return J("default", e);
1434
+ return Pe("default", e);
1428
1435
  },
1429
- He = function He(e) {
1430
- var r = e.getElementById(v);
1436
+ Me = function Me(e) {
1437
+ var r = e.getElementById(E);
1431
1438
  if (r != null && r.textContent) return true;
1432
- var t = b.get(e) || b.get(e.documentElement);
1439
+ var t = h.get(e) || h.get(e.documentElement);
1433
1440
  return !!(t && Object.keys(t).length);
1434
1441
  },
1435
- Ne = function Ne(e) {
1436
- var a;
1437
- var r = ((a = e.defaultView) == null ? undefined : a.getComputedStyle) || (typeof getComputedStyle == "function" ? getComputedStyle : undefined);
1442
+ Ie = function Ie(e) {
1443
+ var o;
1444
+ var r = ((o = e.defaultView) == null ? undefined : o.getComputedStyle) || (typeof getComputedStyle == "function" ? getComputedStyle : undefined);
1438
1445
  if (!r || !e.documentElement) return false;
1439
1446
  var t = r(e.documentElement);
1440
- return be.some(function (u) {
1447
+ return Ee.some(function (u) {
1441
1448
  return t.getPropertyValue(u).trim();
1442
1449
  });
1443
1450
  },
1444
- De = function De(e, r) {
1445
- var t = C(e);
1451
+ I = function I(e) {
1452
+ return Object.prototype.toString.call(e) === "[object Object]";
1453
+ },
1454
+ w = function w(e) {
1455
+ return {
1456
+ themeName: e.name,
1457
+ basePresetName: e.basePresetName,
1458
+ variables: e.variables
1459
+ };
1460
+ },
1461
+ v = function v() {
1462
+ return w(S());
1463
+ },
1464
+ ee = function ee(e) {
1465
+ if ((typeof window === "undefined" ? "undefined" : _typeof(window)) > "u") return null;
1466
+ try {
1467
+ var r = window.localStorage.getItem(e);
1468
+ if (!r) return null;
1469
+ var t = JSON.parse(r);
1470
+ return I(t) ? t : null;
1471
+ } catch (_unused) {
1472
+ return null;
1473
+ }
1474
+ },
1475
+ Oe = function Oe(e, r) {
1476
+ if (!I(e)) return null;
1477
+ var t = _objectSpread({}, r);
1478
+ return Object.entries(e).forEach(function (_ref67) {
1479
+ var _ref68 = _slicedToArray(_ref67, 2),
1480
+ o = _ref68[0],
1481
+ u = _ref68[1];
1482
+ !o.startsWith("--") || typeof u != "string" && typeof u != "number" || (t[o] = String(u));
1483
+ }), R(t);
1484
+ },
1485
+ re = function re(e) {
1486
+ var r = I(e.customTheme) ? e.customTheme : null;
1487
+ if (!r) return null;
1488
+ var t = String(r.basePresetName || e.remoteTheme || "").trim(),
1489
+ o = g(t) || S(),
1490
+ u = Oe(r.variables, o.variables);
1491
+ return u ? {
1492
+ themeName: "custom",
1493
+ basePresetName: o.name,
1494
+ variables: u
1495
+ } : null;
1496
+ },
1497
+ Le = function Le(e) {
1498
+ if (!e.useStoredTheme) return null;
1499
+ var r = String(e.storageKey || T).trim() || T,
1500
+ t = ee(r);
1501
+ if (!t) return null;
1502
+ var o = [t.currentTheme, t.remoteTheme];
1503
+ for (var _i = 0, _o = o; _i < _o.length; _i++) {
1504
+ var u = _o[_i];
1505
+ var f = String(u || "").trim();
1506
+ if (!f) continue;
1507
+ if (f === "custom") {
1508
+ var l = re(t);
1509
+ if (l) return l;
1510
+ continue;
1511
+ }
1512
+ var n = g(f);
1513
+ if (n) return w(n);
1514
+ }
1515
+ return null;
1516
+ },
1517
+ ze = function ze(e) {
1518
+ var r = e.documentElement,
1519
+ t = [r.getAttribute("data-theme"), r.getAttribute("data-skin")];
1520
+ for (var _i2 = 0, _t = t; _i2 < _t.length; _i2++) {
1521
+ var o = _t[_i2];
1522
+ var u = g(String(o || "").trim());
1523
+ if (u) return w(u);
1524
+ }
1525
+ return null;
1526
+ },
1527
+ Ue = function Ue(e, r) {
1528
+ var t = String(r.presetName || "").trim();
1529
+ if (t) {
1530
+ if (t === "custom") {
1531
+ if (r.useStoredTheme === false) return v();
1532
+ var u = String(r.storageKey || T).trim() || T,
1533
+ f = ee(u);
1534
+ return (f ? re(f) : null) || v();
1535
+ }
1536
+ var o = g(t);
1537
+ return o ? w(o) : v();
1538
+ }
1539
+ return ze(e) || Le(r) || v();
1540
+ },
1541
+ je = function je(e, r) {
1542
+ var t = F(e);
1446
1543
  (r.parentNode !== t || t.firstChild !== r) && t.insertBefore(r, t.firstChild);
1447
1544
  },
1448
- rr = function rr() {
1545
+ cr = function cr() {
1449
1546
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1450
- var n;
1547
+ var m;
1451
1548
  if ((typeof document === "undefined" ? "undefined" : _typeof(document)) > "u") return null;
1452
- var r = ((n = e.root) == null ? undefined : n.ownerDocument) || document,
1453
- t = h(e.presetName || "default") || B(),
1454
- a = e.styleId || ge;
1455
- if (!e.force && He(r)) return null;
1456
- var u = r.getElementById(a);
1457
- if (!e.force && !u && Ne(r)) return null;
1549
+ var r = ((m = e.root) == null ? undefined : m.ownerDocument) || document,
1550
+ t = Ue(r, e),
1551
+ o = e.styleId || xe;
1552
+ if (!e.force && Me(r)) return null;
1553
+ var u = r.getElementById(o);
1554
+ if (!e.force && !u && Ie(r)) return null;
1458
1555
  var f = u || r.createElement("style");
1459
- f.id || (f.id = a);
1460
- var l = J(t.name, {
1461
- includeElementAndDasUiBridges: e.includeElementAndDasUiBridges,
1462
- themeName: e.themeName || t.name,
1463
- basePresetName: e.basePresetName || t.basePresetName
1464
- });
1465
- f.textContent !== l && (f.textContent = l), De(r, f);
1556
+ f.id || (f.id = o);
1557
+ var n = e.themeName || t.themeName,
1558
+ l = e.basePresetName || t.basePresetName,
1559
+ i = M(V(t.variables, {
1560
+ includeElementAndDasUiBridges: e.includeElementAndDasUiBridges,
1561
+ themeName: n,
1562
+ basePresetName: l
1563
+ }));
1564
+ f.textContent !== i && (f.textContent = i), je(r, f);
1466
1565
  var _e$setThemeAttributes = e.setThemeAttributes,
1467
- s = _e$setThemeAttributes === void 0 ? true : _e$setThemeAttributes;
1468
- return s && ((e.themeName || !r.documentElement.getAttribute("data-theme")) && r.documentElement.setAttribute("data-theme", e.themeName || t.name), e.skinName !== null && !r.documentElement.getAttribute("data-skin") && r.documentElement.setAttribute("data-skin", e.skinName || t.basePresetName)), f;
1566
+ c = _e$setThemeAttributes === void 0 ? true : _e$setThemeAttributes;
1567
+ return c && ((e.themeName || !r.documentElement.getAttribute("data-theme")) && r.documentElement.setAttribute("data-theme", n), e.skinName !== null && !r.documentElement.getAttribute("data-skin") && r.documentElement.setAttribute("data-skin", e.skinName || l)), f;
1469
1568
  },
1470
- z = function z(e, r) {
1569
+ Y = function Y(e, r) {
1471
1570
  if (!e.length || !r.length) return;
1472
1571
  var t = new Set(r);
1473
- for (var a = e.length - 1; a >= 0; a--) {
1474
- var u = e[a];
1572
+ for (var o = e.length - 1; o >= 0; o--) {
1573
+ var u = e[o];
1475
1574
  t.has(u) && e.removeProperty(u);
1476
1575
  }
1477
1576
  },
1478
- Re = function Re(e, r) {
1479
- var t = Be(e),
1480
- a = q(r);
1481
- (P.get(e) !== a || t.textContent !== a) && (t.textContent = a, P.set(e, a));
1577
+ $e = function $e(e, r) {
1578
+ var t = Ve(e),
1579
+ o = M(r);
1580
+ ($.get(e) !== o || t.textContent !== o) && (t.textContent = o, $.set(e, o));
1482
1581
  var u = Object.keys(r);
1483
- z(e.documentElement.style, u), e.body && z(e.body.style, u);
1582
+ Y(e.documentElement.style, u), e.body && Y(e.body.style, u);
1484
1583
  },
1485
- Me = function Me(e) {
1584
+ Ke = function Ke(e) {
1486
1585
  (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" || (window.__UPF_THEME_SNAPSHOT__ = e);
1487
1586
  },
1488
- Ve = function Ve(e, r) {
1587
+ We = function We(e, r) {
1489
1588
  var t = x(r) || {},
1490
- a = e.ownerDocument || document;
1491
- b.set(e, t);
1492
- var u = e === a.documentElement || e === a.body;
1493
- u && b.set(a, t), u && (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && a === document && (window.__UPF_THEME_RUNTIME_VARIABLES__ = t);
1589
+ o = e.ownerDocument || document;
1590
+ h.set(e, t);
1591
+ var u = e === o.documentElement || e === o.body;
1592
+ u && h.set(o, t), u && (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && o === document && (window.__UPF_THEME_RUNTIME_VARIABLES__ = t);
1494
1593
  },
1495
- Pe = function Pe(e) {
1496
- var r = H(e),
1594
+ Ge = function Ge(e) {
1595
+ var r = P(e),
1497
1596
  t = (r == null ? undefined : r.ownerDocument) || ((typeof document === "undefined" ? "undefined" : _typeof(document)) < "u" ? document : null),
1498
- a = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && t === document && window.__UPF_THEME_RUNTIME_VARIABLES__ || null;
1499
- return (r ? b.get(r) : null) || (t ? b.get(t) : null) || a;
1597
+ o = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && t === document && window.__UPF_THEME_RUNTIME_VARIABLES__ || null;
1598
+ return (r ? h.get(r) : null) || (t ? h.get(t) : null) || o;
1500
1599
  },
1501
- Ie = function Ie() {
1600
+ Ye = function Ye() {
1502
1601
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
1503
1602
  var r;
1504
1603
  if ((typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" || !window.name) return null;
1505
1604
  try {
1506
1605
  var t = JSON.parse(window.name),
1507
- a = (r = t == null ? void 0 : t.parentData) == null ? void 0 : r.theme;
1508
- return !(a != null && a.variables) || _typeof(a.variables) != "object" ? null : {
1509
- themeName: String(a.themeName || ""),
1510
- config: a.config || null,
1511
- variables: a.variables,
1512
- timestamp: Number(a.timestamp) || Date.now()
1606
+ o = (r = t == null ? void 0 : t.parentData) == null ? void 0 : r.theme;
1607
+ return !(o != null && o.variables) || _typeof(o.variables) != "object" ? null : {
1608
+ themeName: String(o.themeName || ""),
1609
+ config: o.config || null,
1610
+ variables: o.variables,
1611
+ timestamp: Number(o.timestamp) || Date.now()
1513
1612
  };
1514
- } catch (_unused) {
1613
+ } catch (_unused2) {
1515
1614
  return null;
1516
1615
  }
1517
1616
  },
1518
- Oe = function Oe(e, r) {
1617
+ qe = function qe(e, r) {
1519
1618
  if (r !== undefined) return r;
1520
1619
  var t = e.config || {};
1521
1620
  return String(t.basePresetName || t.name || e.themeName || "").trim() || null;
1522
1621
  },
1523
- Le = function Le(e) {
1622
+ Je = function Je(e) {
1524
1623
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1525
- var t = H(r.root);
1624
+ var t = P(r.root);
1526
1625
  if (!t) return {};
1527
- var a = W(e),
1528
- u = r.includeBridges === false ? Object.entries(a).reduce(function (l, _ref67) {
1529
- var _ref68 = _slicedToArray(_ref67, 2),
1530
- s = _ref68[0],
1531
- n = _ref68[1];
1532
- return l[s] = String(n !== null && n !== void 0 ? n : ""), l;
1533
- }, {}) : G(a, {
1626
+ var o = R(e),
1627
+ u = r.includeBridges === false ? Object.entries(o).reduce(function (n, _ref69) {
1628
+ var _ref70 = _slicedToArray(_ref69, 2),
1629
+ l = _ref70[0],
1630
+ i = _ref70[1];
1631
+ return n[l] = String(i !== null && i !== void 0 ? i : ""), n;
1632
+ }, {}) : V(o, {
1534
1633
  includeElementAndDasUiBridges: r.includeElementAndDasUiBridges,
1535
1634
  themeName: r.themeName,
1536
1635
  basePresetName: r.basePresetName
1537
1636
  }),
1538
1637
  f = t.ownerDocument || document;
1539
- return t === f.documentElement || t === f.body ? Re(f, u) : Object.entries(u).forEach(function (_ref69) {
1540
- var _ref70 = _slicedToArray(_ref69, 2),
1541
- l = _ref70[0],
1542
- s = _ref70[1];
1543
- t.style.getPropertyValue(l) !== s && t.style.setProperty(l, s);
1544
- }), Ve(t, u), r.themeName && t.setAttribute("data-theme", r.themeName), r.skinName === null ? t.removeAttribute("data-skin") : r.skinName && t.setAttribute("data-skin", r.skinName), u;
1545
- },
1546
- X = function X(e) {
1638
+ return t === f.documentElement || t === f.body ? $e(f, u) : Object.entries(u).forEach(function (_ref71) {
1639
+ var _ref72 = _slicedToArray(_ref71, 2),
1640
+ n = _ref72[0],
1641
+ l = _ref72[1];
1642
+ t.style.getPropertyValue(n) !== l && t.style.setProperty(n, l);
1643
+ }), We(t, u), r.themeName && t.setAttribute("data-theme", r.themeName), r.skinName === null ? t.removeAttribute("data-skin") : r.skinName && t.setAttribute("data-skin", r.skinName), u;
1644
+ },
1645
+ te = function te(e) {
1547
1646
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1548
1647
  var t = e.config || {},
1549
- a = Le(e.variables || {}, _objectSpread(_objectSpread({}, r), {}, {
1648
+ o = Je(e.variables || {}, _objectSpread(_objectSpread({}, r), {}, {
1550
1649
  themeName: r.themeName || e.themeName,
1551
1650
  basePresetName: r.basePresetName || String(t.basePresetName || t.name || ""),
1552
- skinName: Oe(e, r.skinName)
1651
+ skinName: qe(e, r.skinName)
1553
1652
  }));
1554
- return Me(e), a;
1653
+ return Ke(e), o;
1555
1654
  },
1556
- S = function S(e, r) {
1655
+ k = function k(e, r) {
1557
1656
  var t = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
1558
1657
  try {
1559
1658
  return e && e.__THEME_API__ || null;
1560
- } catch (_unused2) {
1659
+ } catch (_unused3) {
1561
1660
  return null;
1562
1661
  }
1563
1662
  },
1564
- T = function T() {
1663
+ _ = function _() {
1565
1664
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
1566
- return (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" ? null : S(window, "current", e) || S(window.parent, "parent", e) || S(window.top, "top", e);
1665
+ return (typeof window === "undefined" ? "undefined" : _typeof(window)) > "u" ? null : k(window, "current", e) || k(window.parent, "parent", e) || k(window.top, "top", e);
1567
1666
  },
1568
- Q = function Q() {
1667
+ oe = function oe() {
1569
1668
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1570
- var r = T(e.debug),
1669
+ var r = _(e.debug),
1571
1670
  t = r != null && r.getCurrentTheme ? r.getCurrentTheme() : null;
1572
1671
  if (t) return t;
1573
- var a = ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window.__UPF_THEME_SNAPSHOT__ : null) || null;
1574
- return a || Ie(e.debug);
1672
+ var o = ((typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window.__UPF_THEME_SNAPSHOT__ : null) || null;
1673
+ return o || Ye(e.debug);
1575
1674
  },
1576
- ze = function ze() {
1675
+ Xe = function Xe() {
1577
1676
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1578
- var r = Pe(e.root);
1677
+ var r = Ge(e.root);
1579
1678
  if (r) return x(r);
1580
- var t = Q(e);
1679
+ var t = oe(e);
1581
1680
  if (t != null && t.variables) return x(t.variables);
1582
- var a = T(e.debug);
1583
- if (!a) return null;
1584
- var u = a.getVariables ? a.getVariables() : null;
1681
+ var o = _(e.debug);
1682
+ if (!o) return null;
1683
+ var u = o.getVariables ? o.getVariables() : null;
1585
1684
  return x(u);
1586
1685
  },
1587
- tr = function tr(e) {
1686
+ pr = function pr(e) {
1588
1687
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
1589
- var t = T(r);
1688
+ var t = _(r);
1590
1689
  return t != null && t.changeTheme ? (t.changeTheme(e), true) : false;
1591
1690
  },
1592
- Z = function Z() {
1691
+ ae = function ae() {
1593
1692
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1594
- var r = Q(e);
1595
- return r ? (X(r, e), r) : (e.debug, null);
1693
+ var r = oe(e);
1694
+ return r ? (te(r, e), r) : (e.debug, null);
1596
1695
  },
1597
- or = function or() {
1696
+ mr = function mr() {
1598
1697
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1599
- return Z(_objectSpread({
1698
+ return ae(_objectSpread({
1600
1699
  includeBridges: false,
1601
1700
  includeElementAndDasUiBridges: false
1602
1701
  }, e));
1603
1702
  },
1604
- Ue = function Ue(e) {
1703
+ Qe = function Qe(e) {
1605
1704
  var r = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
1606
1705
  try {
1607
1706
  var t = mframe.bus("microApp");
1608
- return t.event.on(V, e), function () {
1609
- t.event.off(V, e);
1707
+ return t.event.on(j, e), function () {
1708
+ t.event.off(j, e);
1610
1709
  };
1611
- } catch (_unused3) {
1710
+ } catch (_unused4) {
1612
1711
  return null;
1613
1712
  }
1614
1713
  },
1615
- $e = function $e(e, r) {
1714
+ Ze = function Ze(e, r) {
1616
1715
  return e != null && e.onThemeChange ? e.onThemeChange(r) : null;
1617
1716
  },
1618
- je = function je(e) {
1717
+ er = function er(e) {
1619
1718
  return e ? [String(e.themeName || ""), String(e.source || ""), String(Number(e.timestamp) || 0)].join("|") : "";
1620
1719
  },
1621
- We = function We(e) {
1720
+ rr = function rr(e) {
1622
1721
  var r = "";
1623
1722
  return function (t) {
1624
- var a = je(t);
1625
- a && a === r || (r = a, e(t));
1723
+ var o = er(t);
1724
+ o && o === r || (r = o, e(t));
1626
1725
  };
1627
1726
  },
1628
- Ge = function Ge(e, r) {
1727
+ tr = function tr(e, r) {
1629
1728
  var t = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
1630
- var a = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
1631
- var u = We(r),
1632
- f = $e(e, u),
1633
- l = Ue(u, a),
1634
- n = (t ? [f, l] : [l, f]).filter(Boolean);
1635
- return n.length ? function () {
1636
- n.forEach(function (p) {
1637
- return p();
1729
+ var o = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
1730
+ var u = rr(r),
1731
+ f = Ze(e, u),
1732
+ n = Qe(u, o),
1733
+ i = (t ? [f, n] : [n, f]).filter(Boolean);
1734
+ return i.length ? function () {
1735
+ i.forEach(function (c) {
1736
+ return c();
1638
1737
  });
1639
1738
  } : null;
1640
1739
  },
1641
- Ke = function Ke() {
1740
+ or = function or() {
1642
1741
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1643
1742
  var _e$syncOnInit = e.syncOnInit,
1644
1743
  r = _e$syncOnInit === void 0 ? true : _e$syncOnInit,
1645
1744
  _e$preferWindowSubscr = e.preferWindowSubscription,
1646
1745
  t = _e$preferWindowSubscr === void 0 ? false : _e$preferWindowSubscr,
1647
- a = e.onThemeChange,
1746
+ o = e.onThemeChange,
1648
1747
  _e$debug = e.debug,
1649
1748
  u = _e$debug === void 0 ? true : _e$debug,
1650
1749
  f = _objectWithoutProperties(e, _excluded),
1651
- l = T(u);
1652
- var s = false,
1653
- n = null,
1654
- p = null;
1655
- var d = function d() {
1656
- s || Z(_objectSpread(_objectSpread({}, f), {}, {
1750
+ n = _(u);
1751
+ var l = false,
1752
+ i = null,
1753
+ c = null;
1754
+ var m = function m() {
1755
+ l || ae(_objectSpread(_objectSpread({}, f), {}, {
1657
1756
  debug: u
1658
1757
  }));
1659
1758
  },
1660
- F = Ge(l, function (g) {
1661
- X(g, f), a && (g == null ? undefined : g.source) !== "mountSync" && a(g);
1759
+ N = tr(n, function (b) {
1760
+ te(b, f), o && (b == null ? undefined : b.source) !== "mountSync" && o(b);
1662
1761
  }, t, u);
1663
- return r && (d(), (typeof queueMicrotask == "function" ? queueMicrotask : function (ee) {
1664
- return Promise.resolve().then(ee);
1665
- })(d), typeof requestAnimationFrame == "function" ? n = requestAnimationFrame(function () {
1666
- n = null, d();
1667
- }) : p = setTimeout(function () {
1668
- p = null, d();
1762
+ return r && (m(), (typeof queueMicrotask == "function" ? queueMicrotask : function (ue) {
1763
+ return Promise.resolve().then(ue);
1764
+ })(m), typeof requestAnimationFrame == "function" ? i = requestAnimationFrame(function () {
1765
+ i = null, m();
1766
+ }) : c = setTimeout(function () {
1767
+ c = null, m();
1669
1768
  }, 16)), function () {
1670
- s = true, n !== null && typeof cancelAnimationFrame == "function" && (cancelAnimationFrame(n), n = null), p !== null && (clearTimeout(p), p = null), F == null || F();
1769
+ l = true, i !== null && typeof cancelAnimationFrame == "function" && (cancelAnimationFrame(i), i = null), c !== null && (clearTimeout(c), c = null), N == null || N();
1671
1770
  };
1672
1771
  },
1673
- ar = function ar() {
1772
+ dr = function dr() {
1674
1773
  var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1675
- return Ke(_objectSpread({
1774
+ return or(_objectSpread({
1676
1775
  includeBridges: false,
1677
1776
  includeElementAndDasUiBridges: false
1678
1777
  }, e));
1679
1778
  },
1680
- Ye = function Ye(e, r) {
1681
- var _ref71;
1779
+ ar = function ar(e, r) {
1780
+ var _ref73;
1682
1781
  var f;
1683
- var t = H(r),
1684
- a = String(e || "").trim();
1685
- if (!t || !a) return "";
1686
- var u = (typeof getComputedStyle === "undefined" ? "undefined" : _typeof(getComputedStyle)) > "u" ? "" : getComputedStyle(t).getPropertyValue(a).trim();
1687
- return u || String((_ref71 = (f = ze({
1782
+ var t = P(r),
1783
+ o = String(e || "").trim();
1784
+ if (!t || !o) return "";
1785
+ var u = (typeof getComputedStyle === "undefined" ? "undefined" : _typeof(getComputedStyle)) > "u" ? "" : getComputedStyle(t).getPropertyValue(o).trim();
1786
+ return u || String((_ref73 = (f = Xe({
1688
1787
  root: t,
1689
1788
  debug: false
1690
- })) == null ? undefined : f[a]) !== null && _ref71 !== void 0 ? _ref71 : "");
1789
+ })) == null ? undefined : f[o]) !== null && _ref73 !== void 0 ? _ref73 : "");
1691
1790
  },
1692
- ur = function ur(e) {
1791
+ gr = function gr(e) {
1693
1792
  return "var(".concat(String(e || "").trim(), ")");
1694
1793
  },
1695
- fr = function fr(e, r) {
1794
+ br = function br(e, r) {
1696
1795
  return {
1697
- value: Ye(String(e || "").trim(), r)
1796
+ value: ar(String(e || "").trim(), r)
1698
1797
  };
1699
1798
  };
1700
- exports.BUILTIN_PRESET_THEME_NAMES = pe;
1701
- exports.DAS_UI_THEME_BRIDGE_ITEMS = Fe;
1702
- exports.ELEMENT_THEME_BRIDGE_ITEMS = Te;
1703
- exports.LEGACY_THEME_BRIDGE_ITEMS = Ce;
1704
- exports.PRESET_THEMES = k;
1705
- exports.UPF_COMPONENT_THEME_BRIDGE_ITEMS = we;
1706
- exports.applyThemeEventToDocument = X;
1707
- exports.applyThemeVariablesToDocument = Le;
1708
- exports.buildDefaultThemeCssText = er;
1709
- exports.buildPresetThemeCssText = J;
1710
- exports.buildRuntimeThemeVariables = G;
1711
- exports.changeTheme = tr;
1712
- exports.ensureDefaultThemeStyle = rr;
1713
- exports.getAllPresetThemes = Qe;
1714
- exports.getCurrentTheme = Q;
1715
- exports.getDefaultPresetTheme = B;
1716
- exports.getDefaultThemeVariables = Ze;
1717
- exports.getHostThemeSnapshotFromWindowName = Ie;
1718
- exports.getPresetTheme = Xe;
1719
- exports.getThemeAPI = T;
1720
- exports.getThemeVariable = Ye;
1721
- exports.getThemeVariables = ze;
1722
- exports.getVar = ur;
1723
- exports.getVarValue = fr;
1724
- exports.initHostThemeRootSync = ar;
1725
- exports.initSubAppThemeSync = Ke;
1726
- exports.mixHexColor = $;
1727
- exports.normalizeHexColor = U;
1799
+ exports.BUILTIN_PRESET_THEME_NAMES = he;
1800
+ exports.DAS_UI_THEME_BRIDGE_ITEMS = Ae;
1801
+ exports.ELEMENT_THEME_BRIDGE_ITEMS = Ne;
1802
+ exports.LEGACY_THEME_BRIDGE_ITEMS = _e;
1803
+ exports.PRESET_THEMES = H;
1804
+ exports.UPF_COMPONENT_THEME_BRIDGE_ITEMS = ke;
1805
+ exports.applyThemeEventToDocument = te;
1806
+ exports.applyThemeVariablesToDocument = Je;
1807
+ exports.buildDefaultThemeCssText = sr;
1808
+ exports.buildPresetThemeCssText = Pe;
1809
+ exports.buildRuntimeThemeVariables = V;
1810
+ exports.changeTheme = pr;
1811
+ exports.ensureDefaultThemeStyle = cr;
1812
+ exports.getAllPresetThemes = lr;
1813
+ exports.getCurrentTheme = oe;
1814
+ exports.getDefaultPresetTheme = S;
1815
+ exports.getDefaultThemeVariables = ir;
1816
+ exports.getHostThemeSnapshotFromWindowName = Ye;
1817
+ exports.getPresetTheme = nr;
1818
+ exports.getThemeAPI = _;
1819
+ exports.getThemeVariable = ar;
1820
+ exports.getThemeVariables = Xe;
1821
+ exports.getVar = gr;
1822
+ exports.getVarValue = br;
1823
+ exports.initHostThemeRootSync = dr;
1824
+ exports.initSubAppThemeSync = or;
1825
+ exports.mixHexColor = J;
1826
+ exports.normalizeHexColor = q;
1728
1827
  exports.resolvePrimaryBgColor = y;
1729
- exports.resolveThemeBridgeVariables = E;
1730
- exports.syncHostThemeRoot = or;
1731
- exports.syncThemeFromHost = Z;
1732
- exports.toDasUiColorOverrides = ke;
1733
- exports.toElementThemeVariables = _e;
1734
- exports.toLegacyThemeVariables = Se;
1735
- exports.toRgbaColor = oe;
1736
- exports.toUpfComponentThemeVariables = Ae;
1828
+ exports.resolveThemeBridgeVariables = C;
1829
+ exports.syncHostThemeRoot = mr;
1830
+ exports.syncThemeFromHost = ae;
1831
+ exports.toDasUiColorOverrides = De;
1832
+ exports.toElementThemeVariables = He;
1833
+ exports.toLegacyThemeVariables = Be;
1834
+ exports.toRgbaColor = le;
1835
+ exports.toUpfComponentThemeVariables = Re;