@orangelogic/design-system 2.110.0 → 2.112.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.
Files changed (159) hide show
  1. package/library/chunks/asset.Ci6rP56l.js +458 -0
  2. package/library/chunks/{button.i88sSbTZ.js → button.BvBgxmvw.js} +3 -3
  3. package/library/chunks/calendar-grid.CXYoS6VA.js +108 -0
  4. package/library/chunks/{color-swatch-group.mIHaCJsh.js → color-swatch-group.D8KPblw2.js} +3 -3
  5. package/library/chunks/{color-swatch.D9vkPoV2.js → color-swatch.DQxReKYX.js} +2 -2
  6. package/library/chunks/{color.vLD2sNTs.js → color.LzSGBy7o.js} +2 -2
  7. package/library/chunks/{confirm-popover.UuBhn8GA.js → confirm-popover.dyPIFLWa.js} +3 -3
  8. package/library/chunks/date-picker.D0SJADN6.js +77 -0
  9. package/library/chunks/{dialog.Bso6gK-8.js → dialog.BoCFGpPO.js} +2 -2
  10. package/library/chunks/{document-viewer.C6eclRvd.js → document-viewer.B90s20gM.js} +8 -7
  11. package/library/chunks/{dot-pagination.CNnUuI-Z.js → dot-pagination.uz9GFrMP.js} +1 -1
  12. package/library/chunks/{file-on-demand.Cf2ujTeF.js → file-on-demand.DLVH0DID.js} +10 -10
  13. package/library/chunks/{folder-select.ByNUfTia.js → folder-select.C2ruplAB.js} +5 -5
  14. package/library/chunks/{form.Ch1cwYzO.js → form.B-5nQJva.js} +46 -34
  15. package/library/chunks/{header.hj2Kw-N7.js → header.By_Mfx47.js} +1 -1
  16. package/library/chunks/{i18n.D6AYDPK-.js → i18n.BcD4Ohsq.js} +46 -13
  17. package/library/chunks/{icon-button.ztYU-DHy.js → icon-button.DO6DHXwo.js} +2 -2
  18. package/library/chunks/icon.DnBh6-56.js +111 -0
  19. package/library/chunks/{iframe.uLxZ6LsL.js → iframe.C4jZSmOr.js} +1 -1
  20. package/library/chunks/{image.DKB6yEQO.js → image.Cx4hbc4L.js} +2 -2
  21. package/library/chunks/input.B7SaYNrr.js +2855 -0
  22. package/library/chunks/{list-editor.GT2kQsmR.js → list-editor.Hag-nXN-.js} +86 -86
  23. package/library/chunks/{option.BAYtHIvG.js → option.CA-HtVdP.js} +2 -2
  24. package/library/chunks/{pagination.CCJD61IB.js → pagination.jgAGwDyt.js} +5 -5
  25. package/library/chunks/{tab-group.BsR8tdVY.js → tab-group.DyxpVNOn.js} +3 -3
  26. package/library/chunks/{table.DL_CEeYh.js → table.Crb35At8.js} +2905 -2306
  27. package/library/chunks/{tree.KmZRWZ0F.js → tree.jg0MjIB8.js} +2 -2
  28. package/library/components/alert.js +2 -2
  29. package/library/components/animated-image.js +15 -15
  30. package/library/components/asset-link-format.js +7 -7
  31. package/library/components/atoms.js +194 -180
  32. package/library/components/audio.js +2 -2
  33. package/library/components/avatar.js +1 -1
  34. package/library/components/border-input-group.js +2 -2
  35. package/library/components/breadcrumb.js +4 -4
  36. package/library/components/button.js +4 -4
  37. package/library/components/checkbox.js +2 -2
  38. package/library/components/color-picker.js +5 -5
  39. package/library/components/color-swatch-group.js +4 -4
  40. package/library/components/color-swatch.js +3 -3
  41. package/library/components/confirm-popover.js +4 -4
  42. package/library/components/copy-button.js +2 -2
  43. package/library/components/corner-position-input-group.js +3 -3
  44. package/library/components/date-calendar.d.ts +3 -0
  45. package/library/components/date-calendar.js +107 -0
  46. package/library/components/details.js +12 -12
  47. package/library/components/dialog.js +3 -3
  48. package/library/components/document-viewer.js +4 -4
  49. package/library/components/dot-pagination.js +2 -2
  50. package/library/components/drawer.js +2 -2
  51. package/library/components/dropdown.js +2 -2
  52. package/library/components/dynamic-select.js +4 -4
  53. package/library/components/e-chart.js +1 -1
  54. package/library/components/element-clamp.js +2 -2
  55. package/library/components/faceted-filter.d.ts +3 -0
  56. package/library/components/faceted-filter.js +295 -0
  57. package/library/components/file-on-demand.js +11 -11
  58. package/library/components/folder-select.js +5 -5
  59. package/library/components/format-bytes.js +1 -1
  60. package/library/components/format-date.js +1 -1
  61. package/library/components/format-number.js +1 -1
  62. package/library/components/format-time.js +1 -1
  63. package/library/components/header.js +2 -2
  64. package/library/components/icon-button.js +3 -3
  65. package/library/components/icon.js +10 -109
  66. package/library/components/iframe.js +2 -2
  67. package/library/components/image-comparer.js +2 -2
  68. package/library/components/image.js +3 -3
  69. package/library/components/input.js +19 -2852
  70. package/library/components/line-clamp.js +1 -1
  71. package/library/components/list-editor.js +7 -7
  72. package/library/components/masonry.js +2 -2
  73. package/library/components/menu-item.js +2 -2
  74. package/library/components/menu.js +2 -2
  75. package/library/components/molecules.js +4 -4
  76. package/library/components/option.js +3 -3
  77. package/library/components/organisms.js +2 -2
  78. package/library/components/padding-input-group.js +9 -9
  79. package/library/components/pagination.js +6 -6
  80. package/library/components/popup.js +1 -1
  81. package/library/components/position-picker.js +1 -1
  82. package/library/components/progress-bar.js +1 -1
  83. package/library/components/progress-ring.js +1 -1
  84. package/library/components/radio-group.js +1 -1
  85. package/library/components/radio.js +1 -1
  86. package/library/components/range.js +2 -2
  87. package/library/components/rating.js +6 -6
  88. package/library/components/relative-time.js +1 -1
  89. package/library/components/select.js +5 -5
  90. package/library/components/shadow-input-group.js +5 -5
  91. package/library/components/share-option-list.js +2 -2
  92. package/library/components/sidebar.js +2 -2
  93. package/library/components/size-input-group.js +3 -3
  94. package/library/components/spinner.js +1 -1
  95. package/library/components/split-panel.js +1 -1
  96. package/library/components/step.js +1 -1
  97. package/library/components/stepper-wizard.js +16 -16
  98. package/library/components/switch.js +1 -1
  99. package/library/components/tab-group.js +4 -4
  100. package/library/components/tab.js +2 -2
  101. package/library/components/table.js +5 -5
  102. package/library/components/tag.js +2 -2
  103. package/library/components/textarea.js +1 -1
  104. package/library/components/tooltip.js +1 -1
  105. package/library/components/tree-item.js +3 -3
  106. package/library/components/tree.js +2 -2
  107. package/library/components/typeface.js +2 -2
  108. package/library/components/types.js +25339 -24757
  109. package/library/components/video.js +2 -2
  110. package/library/package.json +1 -1
  111. package/library/packages/atoms/src/components/date-calendar/date-calendar.d.ts +61 -0
  112. package/library/packages/atoms/src/components/date-calendar/date-calendar.styles.d.ts +2 -0
  113. package/library/packages/atoms/src/components/details/details.d.ts +1 -0
  114. package/library/packages/atoms/src/components/faceted-filter/components/facet/facet.d.ts +58 -0
  115. package/library/packages/atoms/src/components/faceted-filter/components/facet/facet.styles.d.ts +2 -0
  116. package/library/packages/atoms/src/components/faceted-filter/faceted-filter.d.ts +71 -0
  117. package/library/packages/atoms/src/components/faceted-filter/faceted-filter.styles.d.ts +2 -0
  118. package/library/packages/atoms/src/components/icon/font-awesome-icons.d.ts +1 -0
  119. package/library/packages/atoms/src/components/icon/icon.d.ts +1 -0
  120. package/library/packages/atoms/src/components/image/image.d.ts +1 -1
  121. package/library/packages/atoms/src/components/table/table-data-loader.d.ts +13 -0
  122. package/library/packages/atoms/src/components/table/table.d.ts +13 -1
  123. package/library/packages/atoms/src/index.d.ts +3 -0
  124. package/library/packages/events/src/cx-date-select.d.ts +9 -0
  125. package/library/packages/events/src/cx-faceted-filter-change.d.ts +8 -0
  126. package/library/packages/events/src/cx-table-data-load.d.ts +17 -0
  127. package/library/packages/events/src/events.d.ts +3 -0
  128. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ClickableCell/ClickableCell.d.ts +5 -0
  129. package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +1 -1
  130. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
  131. package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +73 -13
  132. package/library/packages/molecules/src/index.d.ts +2 -0
  133. package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +127 -0
  134. package/library/packages/molecules/src/input-date-picker/input-date-picker.styles.d.ts +2 -0
  135. package/library/packages/molecules/src/input-date-range-picker/input-date-range-picker.d.ts +90 -0
  136. package/library/packages/molecules/src/input-date-range-picker/input-date-range-picker.styles.d.ts +2 -0
  137. package/library/packages/molecules/src/timeline/timeline.d.ts +1 -1
  138. package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +1 -0
  139. package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +0 -1
  140. package/library/packages/organisms/src/template-switcher/template-switcher.d.ts +6 -0
  141. package/library/packages/services/src/api/asset/asset.d.ts +3 -3
  142. package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -2
  143. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +4 -4
  144. package/library/packages/types/src/date-picker.d.ts +45 -0
  145. package/library/packages/types/src/faceted-filter.d.ts +23 -0
  146. package/library/packages/types/src/icon-picker.d.ts +8 -0
  147. package/library/packages/types/src/index.d.ts +1 -1
  148. package/library/packages/types/src/table.d.ts +12 -0
  149. package/library/packages/utils/src/custom-element/form.d.ts +5 -0
  150. package/library/packages/utils/src/custom-element/i18n.d.ts +33 -0
  151. package/library/packages/utils/src/date/calendar-grid.d.ts +40 -0
  152. package/library/packages/utils/src/date/date-range-preset.d.ts +12 -0
  153. package/library/packages/utils/src/date/date.d.ts +42 -0
  154. package/library/packages/utils/src/date/index.d.ts +3 -0
  155. package/library/packages/utils/src/index.d.ts +1 -0
  156. package/library/react-web-component.d.ts +495 -195
  157. package/library/utils.js +539 -332
  158. package/package.json +1 -1
  159. package/library/chunks/asset.NgymQ3Zx.js +0 -454
package/library/utils.js CHANGED
@@ -1,35 +1,228 @@
1
- import { a as D } from "./chunks/url.Cj9cIQXJ.js";
2
- import { R as st, U as rt, c as ot, b as at, i as nt, t as it } from "./chunks/url.Cj9cIQXJ.js";
3
- import { e as ct, f as ut, g as ft, c as ht, i as mt, a as dt, d as gt, m as pt, b as wt, r as xt, t as Ct } from "./chunks/toast.D3AW3RWv.js";
4
- import { d as Dt, h as At, a as Tt, f as yt, g as St, e as Mt, b as Lt, c as It, i as vt, p as Rt, s as Vt } from "./chunks/debounce.CIEhztrj.js";
5
- import { d as kt, C as Ft, e as Ot, H as Nt, R as Xt, c as Pt, h as _t, f as Bt, g as Ht, l as Ut, p as Gt, a as Yt, b as Wt } from "./chunks/color.vLD2sNTs.js";
6
- import { a as qt, b as Zt, g as jt } from "./chunks/modal.U1QltQKe.js";
7
- import { a as $t, p as Qt, c as Kt, b as te, s as ee, w as se } from "./chunks/event.BeKOsirN.js";
8
- import { t as oe } from "./chunks/converters.DkDtLstb.js";
9
- import { c as ne } from "./chunks/custom-element.L4WJXn1j.js";
10
- import { d as le } from "./chunks/default-value.COZopaet.js";
11
- import { d as ue } from "./chunks/drag.DXEXVXPv.js";
12
- import { f as A } from "./chunks/form.Ch1cwYzO.js";
13
- import { F as he, c as me, v as de, a as ge } from "./chunks/form.Ch1cwYzO.js";
14
- import { L as we, r as xe } from "./chunks/i18n.D6AYDPK-.js";
15
- import { c as Ee } from "./chunks/math.DqTA6ya4.js";
16
- import { g as Ae, l as Te, s as ye, u as Se } from "./chunks/scroll.xtO5yojm.js";
17
- import { j as x } from "./chunks/dom.0RpWet6y.js";
18
- import { c as Le, d as Ie, k as ve, a as Re, g as Ve, h as be, b as ke, f as Fe, i as Oe, e as Ne, l as Xe, s as Pe } from "./chunks/dom.0RpWet6y.js";
19
- import { H as Be, a as He, g as Ue } from "./chunks/slot.j5oheLJC.js";
20
- import { g as Ye, a as We } from "./chunks/tabbable.CcMz3mIL.js";
21
- import { i as qe } from "./chunks/user-agent.D9aPuOyL.js";
22
- import { w as je } from "./chunks/watch.CThbualB.js";
23
- import { f as $e } from "./chunks/content-builder.OsUmm8Wu.js";
24
- import { c as Ke, f as ts, e as es, b as ss, g as rs, d as os, i as as, r as ns, a as is } from "./chunks/image.9qwbjGNb.js";
25
- import { a as cs, b as us, c as fs, e as hs, d as ms, f as ds, g as gs, r as ps, s as ws } from "./chunks/number.B4PQLJIg.js";
26
- import { s as Cs } from "./chunks/parse.Cu5nBDTb.js";
27
- import { g as Ds, a as As } from "./chunks/responsive.C8NCkfCG.js";
28
- import { c as ys, b as Ss, e as Ms, f as Ls, l as Is, g as vs, j as Rs, p as Vs, v as bs, r as ks, a as Fs, d as Os, s as Ns, k as Xs, o as Ps, m as _s, n as Bs, q as Hs, t as Us, u as Gs } from "./chunks/string.DUgD4c9f.js";
29
- import { g as Ws, a as zs } from "./chunks/template.ClovJacp.js";
30
- import { c as Zs, a as js, f as Js, g as $s } from "./chunks/time.BiQnh9wt.js";
31
- import { b as Ks } from "./chunks/transformation.BlQCWMfI.js";
32
- function b(t) {
1
+ import { a as k } from "./chunks/url.Cj9cIQXJ.js";
2
+ import { R as Dt, U as Tt, c as wt, b as Mt, i as xt, t as yt } from "./chunks/url.Cj9cIQXJ.js";
3
+ import { e as St, f as Et, g as At, c as It, i as Lt, a as Ft, d as Rt, m as vt, b as bt, r as Vt, t as kt } from "./chunks/toast.D3AW3RWv.js";
4
+ import { d as Yt, h as _t, a as Ht, f as Nt, g as Pt, e as Xt, b as Ut, c as Bt, i as Wt, p as Gt, s as $t } from "./chunks/debounce.CIEhztrj.js";
5
+ import { d as qt, C as Qt, e as Zt, H as jt, R as Jt, c as Kt, h as te, f as ee, g as re, l as se, a as ae, p as oe, b as ne } from "./chunks/color.LzSGBy7o.js";
6
+ import { a as le, b as ce, g as ue } from "./chunks/modal.U1QltQKe.js";
7
+ import { a as fe, p as he, c as ge, b as de, s as pe, w as De } from "./chunks/event.BeKOsirN.js";
8
+ import { t as we } from "./chunks/converters.DkDtLstb.js";
9
+ import { c as xe } from "./chunks/custom-element.L4WJXn1j.js";
10
+ import { d as Ce } from "./chunks/default-value.COZopaet.js";
11
+ import { d as Ee } from "./chunks/drag.DXEXVXPv.js";
12
+ import { f as O } from "./chunks/form.B-5nQJva.js";
13
+ import { F as Ie, c as Le, g as Fe, v as Re, a as ve } from "./chunks/form.B-5nQJva.js";
14
+ import { L as Ve, r as ke } from "./chunks/i18n.BcD4Ohsq.js";
15
+ import { c as Ye } from "./chunks/math.DqTA6ya4.js";
16
+ import { g as He, l as Ne, s as Pe, u as Xe } from "./chunks/scroll.xtO5yojm.js";
17
+ import { j as C } from "./chunks/dom.0RpWet6y.js";
18
+ import { c as Be, d as We, k as Ge, a as $e, g as ze, h as qe, b as Qe, f as Ze, i as je, e as Je, l as Ke, s as tr } from "./chunks/dom.0RpWet6y.js";
19
+ import { H as rr, a as sr, g as ar } from "./chunks/slot.j5oheLJC.js";
20
+ import { g as nr, a as ir } from "./chunks/tabbable.CcMz3mIL.js";
21
+ import { i as cr } from "./chunks/user-agent.D9aPuOyL.js";
22
+ import { w as mr } from "./chunks/watch.CThbualB.js";
23
+ import { C as hr, a as gr, d as dr, f as pr, e as Dr, g as Tr, c as wr, i as Mr, b as xr, n as yr, p as Cr, t as Sr } from "./chunks/calendar-grid.CXYoS6VA.js";
24
+ import { e as c, b as u, D as m } from "./chunks/date-picker.D0SJADN6.js";
25
+ import { f as Ar } from "./chunks/content-builder.OsUmm8Wu.js";
26
+ import { c as Lr, f as Fr, e as Rr, b as vr, g as br, d as Vr, i as kr, r as Or, a as Yr } from "./chunks/image.9qwbjGNb.js";
27
+ import { a as Hr, b as Nr, c as Pr, e as Xr, d as Ur, f as Br, g as Wr, r as Gr, s as $r } from "./chunks/number.B4PQLJIg.js";
28
+ import { s as qr } from "./chunks/parse.Cu5nBDTb.js";
29
+ import { g as Zr, a as jr } from "./chunks/responsive.C8NCkfCG.js";
30
+ import { c as Kr, b as ts, e as es, f as rs, l as ss, g as as, j as os, p as ns, v as is, r as ls, a as cs, d as us, s as ms, k as fs, o as hs, m as gs, n as ds, q as ps, t as Ds, u as Ts } from "./chunks/string.DUgD4c9f.js";
31
+ import { g as Ms, a as xs } from "./chunks/template.ClovJacp.js";
32
+ import { c as Cs, a as Ss, f as Es, g as As } from "./chunks/time.BiQnh9wt.js";
33
+ import { b as Ls } from "./chunks/transformation.BlQCWMfI.js";
34
+ function o(t) {
35
+ const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), a = String(t.getDate()).padStart(2, "0");
36
+ return `${e}-${r}-${a}`;
37
+ }
38
+ function S(t) {
39
+ const e = String(t.getHours()).padStart(2, "0"), r = String(t.getMinutes()).padStart(2, "0"), a = String(t.getSeconds()).padStart(2, "0");
40
+ return `${e}:${r}:${a}`;
41
+ }
42
+ function h(t, e) {
43
+ return new Date(t.getFullYear(), t.getMonth(), t.getDate() + e);
44
+ }
45
+ function E(t) {
46
+ const e = t.getDay(), r = e === 0 ? -6 : 1 - e;
47
+ return h(t, r);
48
+ }
49
+ function A(t) {
50
+ return new Date(t.getFullYear(), t.getMonth(), 1);
51
+ }
52
+ function I(t) {
53
+ return new Date(t.getFullYear(), t.getMonth() + 1, 0);
54
+ }
55
+ function L(t) {
56
+ const e = Math.floor(t.getMonth() / 3) * 3;
57
+ return new Date(t.getFullYear(), e, 1);
58
+ }
59
+ function F(t) {
60
+ const e = Math.floor(t.getMonth() / 3) * 3;
61
+ return new Date(t.getFullYear(), e + 3, 0);
62
+ }
63
+ function R(t) {
64
+ const e = t.getMonth() < 6 ? 0 : 6;
65
+ return new Date(t.getFullYear(), e, 1);
66
+ }
67
+ function v(t) {
68
+ const e = t.getMonth() < 6 ? 0 : 6;
69
+ return new Date(t.getFullYear(), e + 6, 0);
70
+ }
71
+ class $ {
72
+ /**
73
+ * Computes a date range from a preset value.
74
+ *
75
+ * @param preset - One of the DATE_RANGE_PRESET values.
76
+ * @param now - Injectable reference to the current moment; use `new Date()` in production.
77
+ * @returns fromDate, toDate (YYYY-MM-DD) and fromTime, toTime (HH:mm:ss).
78
+ */
79
+ static getRange(e, r) {
80
+ const a = o(r);
81
+ switch (e) {
82
+ case c.last30Minutes: {
83
+ const s = new Date(r.getTime() - 18e5);
84
+ return {
85
+ fromDate: o(s),
86
+ fromTime: S(s),
87
+ toDate: a,
88
+ toTime: S(r)
89
+ };
90
+ }
91
+ case c.today:
92
+ return {
93
+ fromDate: a,
94
+ fromTime: m,
95
+ toDate: a,
96
+ toTime: u
97
+ };
98
+ case c.lastDay: {
99
+ const s = o(h(r, -1));
100
+ return {
101
+ fromDate: s,
102
+ fromTime: m,
103
+ toDate: s,
104
+ toTime: u
105
+ };
106
+ }
107
+ case c.last2Days:
108
+ return {
109
+ fromDate: o(h(r, -1)),
110
+ fromTime: m,
111
+ toDate: a,
112
+ toTime: u
113
+ };
114
+ case c.last3Days:
115
+ return {
116
+ fromDate: o(h(r, -2)),
117
+ fromTime: m,
118
+ toDate: a,
119
+ toTime: u
120
+ };
121
+ case c.last30Days:
122
+ return {
123
+ fromDate: o(h(r, -29)),
124
+ fromTime: m,
125
+ toDate: a,
126
+ toTime: u
127
+ };
128
+ case c.next30Days:
129
+ return {
130
+ fromDate: a,
131
+ fromTime: m,
132
+ toDate: o(h(r, 30)),
133
+ toTime: u
134
+ };
135
+ case c.thisWeek: {
136
+ const s = E(r);
137
+ return {
138
+ fromDate: o(s),
139
+ fromTime: m,
140
+ toDate: o(h(s, 6)),
141
+ toTime: u
142
+ };
143
+ }
144
+ case c.lastWeek: {
145
+ const s = h(E(r), -7);
146
+ return {
147
+ fromDate: o(s),
148
+ fromTime: m,
149
+ toDate: o(h(s, 6)),
150
+ toTime: u
151
+ };
152
+ }
153
+ case c.thisMonth:
154
+ return {
155
+ fromDate: o(A(r)),
156
+ fromTime: m,
157
+ toDate: o(I(r)),
158
+ toTime: u
159
+ };
160
+ case c.lastMonth: {
161
+ const s = new Date(r.getFullYear(), r.getMonth() - 1, 1);
162
+ return {
163
+ fromDate: o(A(s)),
164
+ fromTime: m,
165
+ toDate: o(I(s)),
166
+ toTime: u
167
+ };
168
+ }
169
+ case c.thisQuarter:
170
+ return {
171
+ fromDate: o(L(r)),
172
+ fromTime: m,
173
+ toDate: o(F(r)),
174
+ toTime: u
175
+ };
176
+ case c.lastQuarter: {
177
+ const s = new Date(
178
+ r.getFullYear(),
179
+ r.getMonth() - 3,
180
+ 1
181
+ );
182
+ return {
183
+ fromDate: o(L(s)),
184
+ fromTime: m,
185
+ toDate: o(F(s)),
186
+ toTime: u
187
+ };
188
+ }
189
+ case c.thisHalfYear:
190
+ return {
191
+ fromDate: o(R(r)),
192
+ fromTime: m,
193
+ toDate: o(v(r)),
194
+ toTime: u
195
+ };
196
+ case c.lastHalfYear: {
197
+ const s = new Date(r.getFullYear(), r.getMonth() - 6, 1);
198
+ return {
199
+ fromDate: o(R(s)),
200
+ fromTime: m,
201
+ toDate: o(v(s)),
202
+ toTime: u
203
+ };
204
+ }
205
+ case c.thisYear:
206
+ return {
207
+ fromDate: `${r.getFullYear()}-01-01`,
208
+ fromTime: m,
209
+ toDate: `${r.getFullYear()}-12-31`,
210
+ toTime: u
211
+ };
212
+ case c.lastYear: {
213
+ const s = r.getFullYear() - 1;
214
+ return {
215
+ fromDate: `${s}-01-01`,
216
+ fromTime: m,
217
+ toDate: `${s}-12-31`,
218
+ toTime: u
219
+ };
220
+ }
221
+ }
222
+ throw new Error(`Unsupported date range preset: ${e}`);
223
+ }
224
+ }
225
+ function z(t) {
33
226
  if (!this.ownerDocument.defaultView?.Matrix3 || !t)
34
227
  return;
35
228
  const e = this.ownerDocument.defaultView?.location.origin;
@@ -41,7 +234,7 @@ function b(t) {
41
234
  e
42
235
  );
43
236
  }
44
- function k(t) {
237
+ function q(t) {
45
238
  if (!this.ownerDocument.defaultView?.Matrix3 || !t)
46
239
  return;
47
240
  const e = this.ownerDocument.defaultView?.location.origin;
@@ -53,13 +246,13 @@ function k(t) {
53
246
  e
54
247
  );
55
248
  }
56
- function F(t, e = void 0) {
249
+ function Q(t, e = void 0) {
57
250
  !this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
58
- D(t, "https://", !0),
251
+ k(t, "https://", !0),
59
252
  e ?? "_blank"
60
253
  );
61
254
  }
62
- function O(t) {
255
+ function Z(t) {
63
256
  if (!this.ownerDocument.defaultView?.Matrix3 || !t)
64
257
  return;
65
258
  const e = this.ownerDocument.defaultView?.location.origin;
@@ -71,30 +264,30 @@ function O(t) {
71
264
  e
72
265
  );
73
266
  }
74
- function N(t, e) {
267
+ function j(t, e) {
75
268
  if (!this.ownerDocument.defaultView?.Matrix3 || !t || !e)
76
269
  return;
77
- const s = this.ownerDocument.defaultView?.location.origin;
78
- s && this.ownerDocument?.defaultView?.postMessage(
270
+ const r = this.ownerDocument.defaultView?.location.origin;
271
+ r && this.ownerDocument?.defaultView?.postMessage(
79
272
  { detail: { assetIds: t, formats: e }, type: "cx-cms5-download-assets" },
80
- s
273
+ r
81
274
  );
82
275
  }
83
- class X {
276
+ class J {
84
277
  constructor(e) {
85
- this.currentZIndex = x(), (this.host = e).addController(this);
278
+ this.currentZIndex = C(), (this.host = e).addController(this);
86
279
  }
87
280
  hostConnected() {
88
281
  }
89
282
  hostDisconnected() {
90
283
  }
91
284
  async activatePopup() {
92
- this.currentZIndex = x();
285
+ this.currentZIndex = C();
93
286
  }
94
287
  }
95
- class P {
96
- constructor(e, s = {}) {
97
- this.element = e, this.noChildDrag = s.noChildDrag ?? !1, this.dragThreshold = s.dragThreshold ?? 5, this.isDragging = !1, this.hasDragged = !1, this.startX = 0, this.startY = 0, this.lastClientX = 0, this.lastClientY = 0, this.onMouseDown = this.onMouseDown.bind(this), this.onMouseMove = this.onMouseMove.bind(this), this.onMouseUp = this.onMouseUp.bind(this), this.onClick = this.onClick.bind(this), this.attach();
288
+ class K {
289
+ constructor(e, r = {}) {
290
+ this.element = e, this.noChildDrag = r.noChildDrag ?? !1, this.dragThreshold = r.dragThreshold ?? 5, this.isDragging = !1, this.hasDragged = !1, this.startX = 0, this.startY = 0, this.lastClientX = 0, this.lastClientY = 0, this.onMouseDown = this.onMouseDown.bind(this), this.onMouseMove = this.onMouseMove.bind(this), this.onMouseUp = this.onMouseUp.bind(this), this.onClick = this.onClick.bind(this), this.attach();
98
291
  }
99
292
  attach() {
100
293
  this.element.addEventListener("mousedown", this.onMouseDown), window.addEventListener("mouseup", this.onMouseUp), window.addEventListener("mousemove", this.onMouseMove), this.element.addEventListener("click", this.onClick, !0);
@@ -108,8 +301,8 @@ class P {
108
301
  onMouseMove(e) {
109
302
  if (!this.isDragging)
110
303
  return;
111
- const s = e.clientX - this.lastClientX, r = e.clientY - this.lastClientY;
112
- !this.hasDragged && (Math.abs(e.clientX - this.startX) > this.dragThreshold || Math.abs(e.clientY - this.startY) > this.dragThreshold) && (this.hasDragged = !0), this.element.scrollLeft -= s, this.element.scrollTop -= r, this.lastClientX = e.clientX, this.lastClientY = e.clientY;
304
+ const r = e.clientX - this.lastClientX, a = e.clientY - this.lastClientY;
305
+ !this.hasDragged && (Math.abs(e.clientX - this.startX) > this.dragThreshold || Math.abs(e.clientY - this.startY) > this.dragThreshold) && (this.hasDragged = !0), this.element.scrollLeft -= r, this.element.scrollTop -= a, this.lastClientX = e.clientX, this.lastClientY = e.clientY;
113
306
  }
114
307
  onMouseUp() {
115
308
  this.isDragging = !1;
@@ -118,71 +311,71 @@ class P {
118
311
  this.hasDragged && (e.stopImmediatePropagation(), e.preventDefault());
119
312
  }
120
313
  }
121
- const _ = (t) => t.ctrlKey || t.metaKey;
122
- function C(t, e) {
314
+ const tt = (t) => t.ctrlKey || t.metaKey;
315
+ function b(t, e) {
123
316
  if (!t?.document)
124
317
  return !1;
125
- const s = "mmmmmmmmmmwwwwwww", r = "32px", a = t.document.createElement("canvas").getContext("2d"), n = (l) => a ? (a.font = `${r} ${l}, monospace`, a.measureText(s).width) : 0, i = n("monospace");
126
- return n(e) !== i;
318
+ const r = "mmmmmmmmmmwwwwwww", a = "32px", n = t.document.createElement("canvas").getContext("2d"), i = (f) => n ? (n.font = `${a} ${f}, monospace`, n.measureText(r).width) : 0, l = i("monospace");
319
+ return i(e) !== l;
127
320
  }
128
- function B(t, e) {
321
+ function et(t, e) {
129
322
  if (!t?.document.fonts)
130
323
  return !1;
131
- let s = !1;
132
- return t.document.fonts.forEach((r) => {
133
- r.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (s = !0);
134
- }), s ? !0 : C(t, e);
135
- }
136
- function T(t) {
137
- const e = /\bitalic\b/i, s = /\b(semi[-\s]?condensed|condensed)\b/i, r = (o) => {
138
- const a = o.fontFamily.toLowerCase(), n = o.fontStyle.toLowerCase(), i = e.test(n), f = s.test(a);
139
- let l = 0;
140
- return i && (l = 1), f && (l = i ? 3 : 2), {
141
- family: o.fontFamily,
142
- styleRank: l,
143
- weight: Number(o.fontWeight)
324
+ let r = !1;
325
+ return t.document.fonts.forEach((a) => {
326
+ a.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (r = !0);
327
+ }), r ? !0 : b(t, e);
328
+ }
329
+ function Y(t) {
330
+ const e = /\bitalic\b/i, r = /\b(semi[-\s]?condensed|condensed)\b/i, a = (s) => {
331
+ const n = s.fontFamily.toLowerCase(), i = s.fontStyle.toLowerCase(), l = e.test(i), p = r.test(n);
332
+ let f = 0;
333
+ return l && (f = 1), p && (f = l ? 3 : 2), {
334
+ family: s.fontFamily,
335
+ styleRank: f,
336
+ weight: Number(s.fontWeight)
144
337
  };
145
338
  };
146
- return [...t].sort((o, a) => {
147
- const n = r(o), i = r(a);
148
- return n.weight !== i.weight ? n.weight - i.weight : n.styleRank !== i.styleRank ? n.styleRank - i.styleRank : n.family.localeCompare(i.family);
339
+ return [...t].sort((s, n) => {
340
+ const i = a(s), l = a(n);
341
+ return i.weight !== l.weight ? i.weight - l.weight : i.styleRank !== l.styleRank ? i.styleRank - l.styleRank : i.family.localeCompare(l.family);
149
342
  });
150
343
  }
151
- function H(t, e, s = [300, 400, 500, 700, 900], r = ["normal", "italic"]) {
152
- const o = [];
153
- if (C(t, e))
154
- for (const a of s)
155
- for (const n of r)
156
- o.push({
344
+ function rt(t, e, r = [300, 400, 500, 700, 900], a = ["normal", "italic"]) {
345
+ const s = [];
346
+ if (b(t, e))
347
+ for (const n of r)
348
+ for (const i of a)
349
+ s.push({
157
350
  fontFamily: e,
158
- fontStyle: n,
159
- fontWeight: a.toString(),
351
+ fontStyle: i,
352
+ fontWeight: n.toString(),
160
353
  src: ""
161
354
  });
162
- return T(o);
163
- }
164
- function U(t) {
165
- const e = new FormData(t), s = {};
166
- return e.forEach((r, o) => {
167
- if (Reflect.has(s, o)) {
168
- const a = s[o];
169
- Array.isArray(a) ? a.push(r) : s[o] = [s[o], r];
355
+ return Y(s);
356
+ }
357
+ function st(t) {
358
+ const e = new FormData(t), r = {};
359
+ return e.forEach((a, s) => {
360
+ if (Reflect.has(r, s)) {
361
+ const n = r[s];
362
+ Array.isArray(n) ? n.push(a) : r[s] = [r[s], a];
170
363
  } else
171
- s[o] = r;
172
- }), s;
364
+ r[s] = a;
365
+ }), r;
173
366
  }
174
- function y(t) {
175
- const s = [...t.getRootNode().querySelectorAll("*")], r = [...t.elements], o = A.get(t), a = o ? Array.from(o) : [];
176
- return [...r, ...a].sort(
177
- (n, i) => s.indexOf(n) < s.indexOf(i) ? -1 : s.indexOf(n) > s.indexOf(i) ? 1 : 0
367
+ function _(t) {
368
+ const r = [...t.getRootNode().querySelectorAll("*")], a = [...t.elements], s = O.get(t), n = s ? Array.from(s) : [];
369
+ return [...a, ...n].sort(
370
+ (i, l) => r.indexOf(i) < r.indexOf(l) ? -1 : r.indexOf(i) > r.indexOf(l) ? 1 : 0
178
371
  );
179
372
  }
180
- function G(t) {
181
- return y(t).some(
182
- (s) => s.hasAttribute("data-user-valid") || s.hasAttribute("data-user-invalid")
373
+ function at(t) {
374
+ return _(t).some(
375
+ (r) => r.hasAttribute("data-user-valid") || r.hasAttribute("data-user-invalid")
183
376
  );
184
377
  }
185
- class Y {
378
+ class ot {
186
379
  constructor(e = null) {
187
380
  this.history = e !== null ? [e] : [], this.redoStack = [];
188
381
  }
@@ -219,20 +412,20 @@ class Y {
219
412
  return [...this.history];
220
413
  }
221
414
  }
222
- var S = /* @__PURE__ */ ((t) => (t.ArrowDown = "ArrowDown", t.ArrowLeft = "ArrowLeft", t.ArrowRight = "ArrowRight", t.ArrowUp = "ArrowUp", t.Enter = "Enter", t.Escape = "Escape", t.Tab = "Tab", t))(S || {});
223
- function W(t, e) {
224
- const s = {}, r = new Set(e);
225
- return Object.keys(t).forEach((o) => {
226
- r.has(o) || (s[o] = t[o]);
227
- }), s;
415
+ var H = /* @__PURE__ */ ((t) => (t.ArrowDown = "ArrowDown", t.ArrowLeft = "ArrowLeft", t.ArrowRight = "ArrowRight", t.ArrowUp = "ArrowUp", t.Enter = "Enter", t.Escape = "Escape", t.Tab = "Tab", t))(H || {});
416
+ function nt(t, e) {
417
+ const r = {}, a = new Set(e);
418
+ return Object.keys(t).forEach((s) => {
419
+ a.has(s) || (r[s] = t[s]);
420
+ }), r;
228
421
  }
229
- function z(t, e) {
230
- const s = {};
231
- return e.forEach((r) => {
232
- r in t && (s[r] = t[r]);
233
- }), s;
422
+ function it(t, e) {
423
+ const r = {};
424
+ return e.forEach((a) => {
425
+ a in t && (r[a] = t[a]);
426
+ }), r;
234
427
  }
235
- function q(t) {
428
+ function lt(t) {
236
429
  if (!t)
237
430
  return {};
238
431
  let e;
@@ -243,275 +436,289 @@ function q(t) {
243
436
  }
244
437
  return typeof e != "object" ? {} : e;
245
438
  }
246
- function Z(t, e = !0) {
439
+ function ct(t, e = !0) {
247
440
  if (!t)
248
441
  return [];
249
- let s;
442
+ let r;
250
443
  try {
251
- s = JSON.parse(t);
444
+ r = JSON.parse(t);
252
445
  } catch {
253
446
  return [];
254
447
  }
255
- return Array.isArray(s) ? e ? s.filter((r) => typeof r == "string") : s : [];
448
+ return Array.isArray(r) ? e ? r.filter((a) => typeof a == "string") : r : [];
256
449
  }
257
- function j(t, e) {
450
+ function ut(t, e) {
258
451
  return typeof Storage < "u" && localStorage.getItem(t) !== null ? localStorage.getItem(t) : e;
259
452
  }
260
- function J(t, e) {
453
+ function mt(t, e) {
261
454
  typeof Storage < "u" && localStorage.setItem(t, e.toString());
262
455
  }
263
- const M = 10;
264
- function $(t, e) {
265
- let s = 0, r = t.length;
266
- for (; s < r; ) {
267
- const o = Math.floor((s + r) / 2);
268
- t[o].time < e.time ? s = o + 1 : r = o;
456
+ const N = 10;
457
+ function ft(t, e) {
458
+ let r = 0, a = t.length;
459
+ for (; r < a; ) {
460
+ const s = Math.floor((r + a) / 2);
461
+ t[s].time < e.time ? r = s + 1 : a = s;
269
462
  }
270
- t.splice(s, 0, e);
463
+ t.splice(r, 0, e);
271
464
  }
272
- function L(t, e, s) {
465
+ function P(t, e, r) {
273
466
  return t.find(
274
- (r) => r.col === e && r.row === s
467
+ (a) => a.col === e && a.row === r
275
468
  ) ?? null;
276
469
  }
277
- function I(t, e, s) {
278
- return new Promise((r) => {
470
+ function X(t, e, r) {
471
+ return new Promise((a) => {
279
472
  if (e > 0 && Math.abs(t.currentTime - e) < 1e-3) {
280
- r();
473
+ a();
281
474
  return;
282
475
  }
283
476
  if (e === 0) {
284
- const o = () => {
285
- t.removeEventListener("seeked", o);
286
- const a = () => {
287
- t.removeEventListener("seeked", a), r();
477
+ const s = () => {
478
+ t.removeEventListener("seeked", s);
479
+ const n = () => {
480
+ t.removeEventListener("seeked", n), a();
288
481
  };
289
- t.addEventListener("seeked", a), t.currentTime = 0;
482
+ t.addEventListener("seeked", n), t.currentTime = 0;
290
483
  };
291
- t.addEventListener("seeked", o), t.currentTime = s;
484
+ t.addEventListener("seeked", s), t.currentTime = r;
292
485
  } else {
293
- const o = () => {
294
- t.removeEventListener("seeked", o), r();
486
+ const s = () => {
487
+ t.removeEventListener("seeked", s), a();
295
488
  };
296
- t.addEventListener("seeked", o), t.currentTime = e;
489
+ t.addEventListener("seeked", s), t.currentTime = e;
297
490
  }
298
491
  });
299
492
  }
300
- async function* Q({
493
+ async function* ht({
301
494
  cache: t,
302
495
  canvas: e,
303
- duration: s,
304
- maxInterval: r,
305
- src: o,
306
- video: a
496
+ duration: r,
497
+ maxInterval: a,
498
+ src: s,
499
+ video: n
307
500
  }) {
308
501
  if (!e)
309
502
  throw new Error("Canvas is required");
310
- if (!a)
503
+ if (!n)
311
504
  throw new Error("Video is required");
312
- const { columns: n, frameHeight: i, frameWidth: f, rows: l, spriteCtx: E } = e;
505
+ const { columns: i, frameHeight: l, frameWidth: p, rows: f, spriteCtx: V } = e;
313
506
  try {
314
- for (let c = 0; c < l; c++)
315
- for (let u = 0; u < n; u++) {
316
- const m = c * n + u, h = m * r;
317
- if (h >= s)
507
+ for (let g = 0; g < f; g++)
508
+ for (let d = 0; d < i; d++) {
509
+ const T = g * i + d, D = T * a;
510
+ if (D >= r)
318
511
  continue;
319
- const d = u * f, g = c * i, p = L(t[o] ?? [], u, c), w = u === n - 1 && c === l - 1 || h + r >= s;
320
- p ? yield { ...p, isLastFrame: w } : (await I(a, h, r), E.drawImage(
321
- a,
322
- d,
323
- g,
324
- f,
325
- i
512
+ const w = d * p, M = g * l, x = P(t[s] ?? [], d, g), y = d === i - 1 && g === f - 1 || D + a >= r;
513
+ x ? yield { ...x, isLastFrame: y } : (await X(n, D, a), V.drawImage(
514
+ n,
515
+ w,
516
+ M,
517
+ p,
518
+ l
326
519
  ), yield {
327
- col: u,
328
- columns: n,
329
- frameHeight: i,
330
- frameWidth: f,
331
- index: m,
332
- isLastFrame: w,
333
- row: c,
334
- rows: l,
335
- time: Number(h.toFixed(M)),
336
- x: d,
337
- y: g
520
+ col: d,
521
+ columns: i,
522
+ frameHeight: l,
523
+ frameWidth: p,
524
+ index: T,
525
+ isLastFrame: y,
526
+ row: g,
527
+ rows: f,
528
+ time: Number(D.toFixed(N)),
529
+ x: w,
530
+ y: M
338
531
  }), await new Promise(requestAnimationFrame);
339
532
  }
340
533
  } catch {
341
534
  }
342
535
  }
343
- function K({
536
+ function gt({
344
537
  duration: t,
345
538
  frameWidth: e,
346
- playbackSpeed: s,
347
- scale: r
539
+ playbackSpeed: r,
540
+ scale: a
348
541
  }) {
349
- let o = e * s / r;
350
- return o > t && (o = t / 2), o;
542
+ let s = e * r / a;
543
+ return s > t && (s = t / 2), s;
351
544
  }
352
545
  export {
353
- kt as CMYK_VALIDATION_REGEX,
354
- Ft as ColorType,
355
- X as CortexPopupController,
356
- P as DragScroll,
357
- he as FormControlController,
358
- Ot as HEX_ALPHA_VALIDATION_REGEX,
359
- Nt as HEX_VALIDATION_REGEX,
360
- Be as HasSlotController,
361
- Y as HistoryManager,
362
- S as KeyboardKey,
363
- we as LocalizeController,
364
- M as PRECISION,
365
- st as RELATIVE_URL_REGEX,
366
- Xt as RGB_VALIDATION_REGEX,
367
- rt as URL_DOMAIN_VALIDATION_REGEX,
368
- ot as URL_PROTOCOL_VALIDATION_REGEX,
369
- at as URL_VALIDATION_REGEX,
370
- qt as activeElements,
371
- ct as adjustRelativeValues,
372
- $t as animateTo,
373
- D as appendProtocol,
374
- Ks as buildTransformationString,
375
- Ke as calculateAspectRatioFit,
376
- Ee as clamp,
377
- ts as cleanImageFileName,
378
- Zs as clearZeroDurationParts,
379
- Pt as convertColor,
380
- cs as convertDataUnits,
381
- us as convertDurationToMilliseconds,
382
- fs as convertPixelsToAspectRatio,
383
- es as convertSrcToBlob,
384
- ss as cropImage,
385
- Le as cssValueToPx,
386
- ne as customElement,
387
- me as customErrorValidityState,
388
- Dt as debounce,
389
- le as defaultValue,
390
- N as downloadAsset,
391
- ue as drag,
392
- ys as emptyToSpace,
393
- _t as extractColor,
394
- Ss as extractExtension,
395
- Q as extractFrames,
396
- Ms as extractRootData,
397
- hs as extractValueAndUnit,
398
- $e as fetchCortexApi,
399
- At as findAncestorWithBuggyStyle,
400
- Tt as findContainingBlock,
401
- yt as findCuttingAncestor,
402
- L as findFrameByColAndRow,
403
- ut as findIndexByProp,
404
- A as formCollections,
405
- ms as formatAspectRatioString,
406
- js as formatDurationPartsManually,
407
- ds as formatNumberWithGrouping,
408
- Ls as formatSecondsToTime,
409
- Is as formatTimeToSeconds,
410
- Js as formatWithIntlDurationFormat,
411
- gs as gcd,
412
- Ie as getActiveElement,
413
- Zt as getActiveModals,
414
- Ds as getBreakpointsFromCSS,
415
- H as getBrowserFontVariants,
416
- Bt as getColorType,
417
- rs as getContainedImageSize,
418
- ve as getCortexPopupLayer,
419
- x as getCurrentZIndex,
420
- jt as getDeepestActiveElement,
421
- As as getDeviceType,
422
- $s as getDurationPartsByUnitsFormat,
423
- Re as getElementFromHTMLString,
424
- Ve as getElementFromTemplate,
425
- y as getFormControls,
426
- Ws as getHighlightedTitle,
427
- zs as getHighlightedTitleHtml,
428
- He as getInnerHTML,
429
- K as getInterval,
430
- Ht as getLightDarkCssString,
431
- os as getNaturalWidthHeight,
432
- be as getNeededPaddingForBoxShadow,
433
- St as getNextAncestor,
434
- Ae as getOffset,
435
- ke as getRelativeClickPercentage,
436
- vs as getRootIDString,
437
- Ye as getTabbableBoundary,
438
- We as getTabbableElements,
439
- Ue as getTextContent,
440
- ft as groupBy,
441
- ht as insertAtIndex,
442
- $ as insertFrameToCache,
443
- mt as insertMultipleAtIndex,
444
- Mt as isChrome,
445
- qe as isCortexAdobePlugin,
446
- Fe as isDomElement,
447
- Oe as isElementInHorizontalView,
448
- Lt as isFirefox,
449
- B as isFontFamilyAvailable,
450
- G as isFormInteracted,
451
- Rs as isGalleryItemCardType,
452
- It as isIOS,
453
- Ne as isInElement,
454
- _ as isModKey,
455
- vt as isSafari,
456
- as as isSaveSrcValid,
457
- nt as isValidUrl,
458
- Xe as loadScript,
459
- Te as lockBodyScrolling,
460
- Ut as luminanceTextColor,
461
- dt as moveMultipleToIndex,
462
- gt as moveToIndex,
463
- pt as multiSelectTo,
464
- W as omit,
465
- b as openAssetOverview,
466
- k as openFolderOverview,
467
- F as openLink,
468
- Vs as padPath,
469
- bs as parseBooleanString,
470
- Gt as parseBorder,
471
- Qt as parseDuration,
472
- q as parseJsonString,
473
- Yt as parseLightDark,
474
- Z as parseListString,
475
- Wt as parseShadow,
476
- z as pick,
477
- Rt as popoverSupported,
478
- Kt as prefersReducedMotion,
479
- j as readLocalStorageValue,
480
- ks as reducePathToDirectChild,
481
- xe as registerTranslation,
482
- wt as removeAtIndex,
483
- xt as removeMultipleAtIndex,
484
- ns as resizeImage,
485
- ps as rotateBox,
486
- is as rotateImage,
487
- Fs as safeExtension,
488
- Os as safeString,
489
- Ns as sanitizeHTML,
490
- ws as sanitizeRotation,
491
- ye as scrollIntoView,
492
- U as serialize,
493
- O as shareAsset,
494
- te as shimKeyframesHeightAuto,
495
- Pe as sortByTopPosition,
496
- T as sortTypefaceVariants,
497
- Cs as splitBoxValues,
498
- Xs as splitCamelCaseFormatted,
499
- ee as stopAnimations,
500
- Vt as supportHLS,
501
- C as testFontAvailability,
502
- oe as timecodeConverter,
503
- Ps as toCamelCase,
504
- _s as toKebabCase,
505
- Bs as toPascalCase,
506
- it as toRelativeUrl,
507
- Hs as toTitleCase,
508
- Ct as toast,
509
- Us as truncateTextMiddle,
510
- Se as unlockBodyScrolling,
511
- Gs as upperFirst,
512
- de as validValidityState,
513
- ge as valueMissingValidityState,
514
- se as waitForEvent,
515
- je as watch,
516
- J as writeLocalStorageValue
546
+ qt as CMYK_VALIDATION_REGEX,
547
+ hr as CalendarGrid,
548
+ Qt as ColorType,
549
+ J as CortexPopupController,
550
+ $ as DateRangePresets,
551
+ K as DragScroll,
552
+ Ie as FormControlController,
553
+ Zt as HEX_ALPHA_VALIDATION_REGEX,
554
+ jt as HEX_VALIDATION_REGEX,
555
+ rr as HasSlotController,
556
+ ot as HistoryManager,
557
+ H as KeyboardKey,
558
+ Ve as LocalizeController,
559
+ N as PRECISION,
560
+ Dt as RELATIVE_URL_REGEX,
561
+ Jt as RGB_VALIDATION_REGEX,
562
+ Tt as URL_DOMAIN_VALIDATION_REGEX,
563
+ wt as URL_PROTOCOL_VALIDATION_REGEX,
564
+ Mt as URL_VALIDATION_REGEX,
565
+ le as activeElements,
566
+ gr as addMonths,
567
+ St as adjustRelativeValues,
568
+ fe as animateTo,
569
+ k as appendProtocol,
570
+ Ls as buildTransformationString,
571
+ Lr as calculateAspectRatioFit,
572
+ Ye as clamp,
573
+ Fr as cleanImageFileName,
574
+ Cs as clearZeroDurationParts,
575
+ Kt as convertColor,
576
+ Hr as convertDataUnits,
577
+ Nr as convertDurationToMilliseconds,
578
+ Pr as convertPixelsToAspectRatio,
579
+ Rr as convertSrcToBlob,
580
+ vr as cropImage,
581
+ Be as cssValueToPx,
582
+ xe as customElement,
583
+ Le as customErrorValidityState,
584
+ Yt as debounce,
585
+ Ce as defaultValue,
586
+ dr as displayToIso,
587
+ j as downloadAsset,
588
+ Ee as drag,
589
+ Kr as emptyToSpace,
590
+ te as extractColor,
591
+ ts as extractExtension,
592
+ ht as extractFrames,
593
+ es as extractRootData,
594
+ Xr as extractValueAndUnit,
595
+ Ar as fetchCortexApi,
596
+ _t as findAncestorWithBuggyStyle,
597
+ Ht as findContainingBlock,
598
+ Nt as findCuttingAncestor,
599
+ P as findFrameByColAndRow,
600
+ Et as findIndexByProp,
601
+ O as formCollections,
602
+ Ur as formatAspectRatioString,
603
+ Ss as formatDurationPartsManually,
604
+ pr as formatMonthYearLabel,
605
+ Br as formatNumberWithGrouping,
606
+ rs as formatSecondsToTime,
607
+ ss as formatTimeToSeconds,
608
+ Es as formatWithIntlDurationFormat,
609
+ Wr as gcd,
610
+ We as getActiveElement,
611
+ ce as getActiveModals,
612
+ Fe as getAssociatedForm,
613
+ Zr as getBreakpointsFromCSS,
614
+ rt as getBrowserFontVariants,
615
+ ee as getColorType,
616
+ br as getContainedImageSize,
617
+ Ge as getCortexPopupLayer,
618
+ C as getCurrentZIndex,
619
+ ue as getDeepestActiveElement,
620
+ jr as getDeviceType,
621
+ As as getDurationPartsByUnitsFormat,
622
+ $e as getElementFromHTMLString,
623
+ ze as getElementFromTemplate,
624
+ Dr as getFirstDayOfWeek,
625
+ _ as getFormControls,
626
+ Ms as getHighlightedTitle,
627
+ xs as getHighlightedTitleHtml,
628
+ sr as getInnerHTML,
629
+ gt as getInterval,
630
+ re as getLightDarkCssString,
631
+ Vr as getNaturalWidthHeight,
632
+ qe as getNeededPaddingForBoxShadow,
633
+ Pt as getNextAncestor,
634
+ He as getOffset,
635
+ Qe as getRelativeClickPercentage,
636
+ as as getRootIDString,
637
+ nr as getTabbableBoundary,
638
+ ir as getTabbableElements,
639
+ ar as getTextContent,
640
+ Tr as getTodayIsoDate,
641
+ At as groupBy,
642
+ It as insertAtIndex,
643
+ ft as insertFrameToCache,
644
+ Lt as insertMultipleAtIndex,
645
+ Xt as isChrome,
646
+ cr as isCortexAdobePlugin,
647
+ Ze as isDomElement,
648
+ je as isElementInHorizontalView,
649
+ Ut as isFirefox,
650
+ et as isFontFamilyAvailable,
651
+ at as isFormInteracted,
652
+ os as isGalleryItemCardType,
653
+ Bt as isIOS,
654
+ Je as isInElement,
655
+ tt as isModKey,
656
+ Wt as isSafari,
657
+ kr as isSaveSrcValid,
658
+ wr as isValidIsoDate,
659
+ xt as isValidUrl,
660
+ Mr as isoToDate,
661
+ xr as isoToDisplay,
662
+ Ke as loadScript,
663
+ Ne as lockBodyScrolling,
664
+ se as luminanceTextColor,
665
+ Ft as moveMultipleToIndex,
666
+ Rt as moveToIndex,
667
+ vt as multiSelectTo,
668
+ yr as normalizeToIsoDate,
669
+ nt as omit,
670
+ z as openAssetOverview,
671
+ q as openFolderOverview,
672
+ Q as openLink,
673
+ ns as padPath,
674
+ is as parseBooleanString,
675
+ ae as parseBorder,
676
+ he as parseDuration,
677
+ Cr as parseIsoDate,
678
+ lt as parseJsonString,
679
+ oe as parseLightDark,
680
+ ct as parseListString,
681
+ ne as parseShadow,
682
+ it as pick,
683
+ Gt as popoverSupported,
684
+ ge as prefersReducedMotion,
685
+ ut as readLocalStorageValue,
686
+ ls as reducePathToDirectChild,
687
+ ke as registerTranslation,
688
+ bt as removeAtIndex,
689
+ Vt as removeMultipleAtIndex,
690
+ Or as resizeImage,
691
+ Gr as rotateBox,
692
+ Yr as rotateImage,
693
+ cs as safeExtension,
694
+ us as safeString,
695
+ ms as sanitizeHTML,
696
+ $r as sanitizeRotation,
697
+ Pe as scrollIntoView,
698
+ st as serialize,
699
+ Z as shareAsset,
700
+ de as shimKeyframesHeightAuto,
701
+ tr as sortByTopPosition,
702
+ Y as sortTypefaceVariants,
703
+ qr as splitBoxValues,
704
+ fs as splitCamelCaseFormatted,
705
+ pe as stopAnimations,
706
+ $t as supportHLS,
707
+ b as testFontAvailability,
708
+ we as timecodeConverter,
709
+ hs as toCamelCase,
710
+ Sr as toIsoDate,
711
+ gs as toKebabCase,
712
+ ds as toPascalCase,
713
+ yt as toRelativeUrl,
714
+ ps as toTitleCase,
715
+ kt as toast,
716
+ Ds as truncateTextMiddle,
717
+ Xe as unlockBodyScrolling,
718
+ Ts as upperFirst,
719
+ Re as validValidityState,
720
+ ve as valueMissingValidityState,
721
+ De as waitForEvent,
722
+ mr as watch,
723
+ mt as writeLocalStorageValue
517
724
  };