@orangelogic/design-system 2.150.0 → 2.152.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 (202) hide show
  1. package/library/chunks/{AxisLabelRadial.BVjTmOAK.js → AxisLabelRadial.lE2gKah-.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.CBs_QAAc.js → BaseColumnSeries.B57B3iHh.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.Cx0wpT9T.js → CandlestickSeries.CmmI426l.js} +2 -2
  4. package/library/chunks/{Circle.CPg-MUlK.js → Circle.DAhHYhrc.js} +1 -1
  5. package/library/chunks/{ColumnSeries.CGSxIqPG.js → ColumnSeries.DBgXk-b4.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.BE0SAubP.js → EditableAxisLabel.C6H99qiS.js} +2 -2
  7. package/library/chunks/{EditableLabel.L5NEdtkw.js → EditableLabel.B7HB7Cu4.js} +1 -1
  8. package/library/chunks/{Gradient.oQ6wJQll.js → Gradient.DHhBnhFd.js} +1 -1
  9. package/library/chunks/{LinearGradient.CEimwU0Q.js → LinearGradient.CGx00O8B.js} +2 -2
  10. package/library/chunks/{Picture.BfLKhIYn.js → Picture.DYltTVSo.js} +1 -1
  11. package/library/chunks/{Polygon.iNK22k_h.js → Polygon.BCrxKagx.js} +1 -1
  12. package/library/chunks/{ProgressPie.Bcqzaeqx.js → ProgressPie.CXksPJFv.js} +5 -5
  13. package/library/chunks/{RadialLabel.a3toiXax.js → RadialLabel.BYH69FGU.js} +1 -1
  14. package/library/chunks/{Scrollbar.CAoY7xcW.js → Scrollbar.DEv50o4R.js} +1 -1
  15. package/library/chunks/{Slice.DLvisUPP.js → Slice.C5lVu2g_.js} +1 -1
  16. package/library/chunks/{Slider.syeHIyBN.js → Slider.BX8g2iGv.js} +1 -1
  17. package/library/chunks/{SpriteResizer.BDWAslnu.js → SpriteResizer.CfIBMSp3.js} +1 -1
  18. package/library/chunks/{Triangle.adLo6odq.js → Triangle.CNY8-QfL.js} +1 -1
  19. package/library/chunks/{ZoomTools.4NFU6RVT.js → ZoomTools.6jZrzA7x.js} +1 -1
  20. package/library/chunks/{_baseIteratee.CzjK3VFY.js → _baseIteratee.BdKyHJ5i.js} +2 -2
  21. package/library/chunks/{_baseUniq.CoXu-orP.js → _baseUniq.je-HWbb3.js} +1 -1
  22. package/library/chunks/{_baseXor.DRclcoaa.js → _baseXor.VohG8cOH.js} +4 -4
  23. package/library/chunks/{am-chart.Bf-o9SaR.js → am-chart.CqdmTS0P.js} +252 -252
  24. package/library/chunks/{animation.BSFdTpqz.js → animation.S74lUDDc.js} +1 -1
  25. package/library/chunks/{asset-link-format.CrSdl1zX.js → asset-link-format.DzYh0_YS.js} +1129 -885
  26. package/library/chunks/{button.BHIyGIB2.js → button.8syoJXYs.js} +4 -4
  27. package/library/chunks/{capitalize.DKzUtjlF.js → capitalize.BTYI3NfM.js} +1 -1
  28. package/library/chunks/{checkbox.aQnF4Zc3.js → checkbox.3i2j3PHc.js} +3 -3
  29. package/library/chunks/{color-swatch-group.BB8EmEAc.js → color-swatch-group.BX90sRwa.js} +2293 -2213
  30. package/library/chunks/{color-swatch.B2qHfRcj.js → color-swatch.BhBZe8OE.js} +2 -2
  31. package/library/chunks/{colorPicker.fDJa_Rz5.js → colorPicker.GYgA76kc.js} +5 -5
  32. package/library/chunks/{confirm-popover.CYIZynVQ.js → confirm-popover.BFBhjDQ9.js} +3 -3
  33. package/library/chunks/{content-builder.DZRw6hpX.js → content-builder.BU8X7I6V.js} +1 -1
  34. package/library/chunks/{dialog.CwkvxMDM.js → dialog.DIXmnVis.js} +3 -3
  35. package/library/chunks/{document-viewer.B9C_4TEb.js → document-viewer.DzwB_FfN.js} +9 -9
  36. package/library/chunks/{dom.CU_mBy9D.js → dom.C5aVLhKS.js} +29 -22
  37. package/library/chunks/{dot-pagination.DQNVHzNH.js → dot-pagination.BdZc-K0r.js} +2 -2
  38. package/library/chunks/{endpoints.Bn_YviaU.js → endpoints.CwgTrs4A.js} +88 -88
  39. package/library/chunks/{exporting.Co0vJIff.js → exporting.DQhKH1BX.js} +2 -2
  40. package/library/chunks/{flow.0ah2v6L5.js → flow.hz0UDjCb.js} +5 -5
  41. package/library/chunks/{folder-select.BnvzmNLY.js → folder-select.BKAuh4GE.js} +8 -8
  42. package/library/chunks/{form.BSqXLytJ.js → form.CP9KLGjF.js} +1 -1
  43. package/library/chunks/{gantt.CPSE8Grs.js → gantt.tu-w6fQ5.js} +8 -8
  44. package/library/chunks/{header.DwmSpdtF.js → header.DpBmcfR_.js} +2 -2
  45. package/library/chunks/{hierarchy.Dlq2MwWz.js → hierarchy.CTnBzzmQ.js} +5 -5
  46. package/library/chunks/{hub-connection.CIUZJBdQ.js → hub-connection.CA_wS_wh.js} +1 -1
  47. package/library/chunks/{i18n.BwXikn4k.js → i18n.Bchq8v1d.js} +40 -5
  48. package/library/chunks/{icon-button.Bwv0pBA9.js → icon-button.DbVIFgu7.js} +2 -2
  49. package/library/chunks/{icon.CsF1BoUl.js → icon.mxNZ85k0.js} +1 -1
  50. package/library/chunks/{iframe.5FgxxThO.js → iframe.DcHjOcLG.js} +2 -2
  51. package/library/chunks/{image.C-rHqDVB.js → image.DYRVQgG1.js} +3 -3
  52. package/library/chunks/{index.q6xCNzcK.js → index.BVDhdCk-.js} +17 -17
  53. package/library/chunks/{input.D28SuP1Z.js → input.BcyLZUmv.js} +4 -4
  54. package/library/chunks/{json.lgvYjT5K.js → json.D7WeFaJm.js} +3 -3
  55. package/library/chunks/{map.Cz4qZnZB.js → map.BjtxEozr.js} +2 -2
  56. package/library/chunks/{option.BQt-5Vdg.js → option.qN3aaqVI.js} +3 -3
  57. package/library/chunks/{pagination.B8l2Cvm9.js → pagination.Cupa46TN.js} +6 -6
  58. package/library/chunks/{percent.TSAQO6y8.js → percent.D_CkaRGb.js} +3 -3
  59. package/library/chunks/{radar.mnUjkEJF.js → radar.BMKaNvJH.js} +4 -4
  60. package/library/chunks/{sliceGrouper.B9Hml2R8.js → sliceGrouper.C-t5ZRrz.js} +1 -1
  61. package/library/chunks/{stock.CSGPjDQK.js → stock.vF_pji1F.js} +9 -9
  62. package/library/chunks/{string.BmBJ_BLT.js → string.BhJ0Zogu.js} +104 -59
  63. package/library/chunks/{tab-group.C4u2fCN7.js → tab-group.kSg5_10g.js} +5 -5
  64. package/library/chunks/{timeline.CzbNFkA3.js → timeline.gWu0up6r.js} +5 -5
  65. package/library/chunks/{toString.bJgZMf_C.js → toString.Dcbz5jVT.js} +1 -1
  66. package/library/chunks/{toast.NfNkPs5d.js → toast.TDU3wVhq.js} +1 -1
  67. package/library/chunks/{tree.C9d7pyKM.js → tree.C2dPd6gt.js} +219 -245
  68. package/library/chunks/v4.CKZ6klMF.js +29 -0
  69. package/library/chunks/{venn.Cq0RJAER.js → venn.BVBe-JXs.js} +1 -1
  70. package/library/chunks/{watch.K-dbDP6P.js → watch.DOt4Mabe.js} +32 -31
  71. package/library/chunks/{wc.Cae1yJ4l.js → wc.DTNpfIc1.js} +1 -1
  72. package/library/chunks/{xy.CseMLD2I.js → xy.BNgyrwGD.js} +10 -10
  73. package/library/components/alert.js +3 -3
  74. package/library/components/am-chart.js +2 -2
  75. package/library/components/animated-image.js +2 -2
  76. package/library/components/animation.js +2 -2
  77. package/library/components/array-line-clamp.js +1 -1
  78. package/library/components/asset-link-format.js +4 -4
  79. package/library/components/atoms.js +20 -20
  80. package/library/components/audio.js +3 -3
  81. package/library/components/avatar.js +2 -2
  82. package/library/components/border-input-group.js +2 -2
  83. package/library/components/breadcrumb-item.js +1 -1
  84. package/library/components/breadcrumb.js +2 -2
  85. package/library/components/button.js +5 -5
  86. package/library/components/checkbox.js +4 -4
  87. package/library/components/color-picker.js +6 -6
  88. package/library/components/color-swatch-group.js +6 -6
  89. package/library/components/color-swatch.js +3 -3
  90. package/library/components/confirm-popover.js +4 -4
  91. package/library/components/copy-button.js +3 -3
  92. package/library/components/corner-position-input-group.js +3 -3
  93. package/library/components/date-calendar.js +1 -1
  94. package/library/components/details.js +3 -3
  95. package/library/components/dialog.js +4 -4
  96. package/library/components/diff.js +2 -2
  97. package/library/components/divider.js +1 -1
  98. package/library/components/document-viewer.js +4 -4
  99. package/library/components/dot-pagination.js +3 -3
  100. package/library/components/drawer.js +4 -4
  101. package/library/components/dropdown.js +3 -3
  102. package/library/components/dynamic-select.js +14 -11
  103. package/library/components/e-chart.js +2 -2
  104. package/library/components/element-clamp.js +3 -3
  105. package/library/components/file-on-demand.js +14 -14
  106. package/library/components/folder-select.js +7 -7
  107. package/library/components/format-bytes.js +1 -1
  108. package/library/components/format-date.js +1 -1
  109. package/library/components/format-number.js +1 -1
  110. package/library/components/format-time.js +2 -2
  111. package/library/components/grid-item.js +1 -1
  112. package/library/components/header.js +3 -3
  113. package/library/components/hub-connection.js +2 -2
  114. package/library/components/icon-button.js +3 -3
  115. package/library/components/icon.js +2 -2
  116. package/library/components/iframe.js +3 -3
  117. package/library/components/image-comparer.js +3 -3
  118. package/library/components/image.js +4 -4
  119. package/library/components/include.js +1 -1
  120. package/library/components/input.js +5 -5
  121. package/library/components/line-clamp.js +1 -1
  122. package/library/components/markdown.js +1 -1
  123. package/library/components/masonry.js +3 -3
  124. package/library/components/menu-item.js +3 -3
  125. package/library/components/menu.js +1 -1
  126. package/library/components/molecules.js +3 -3
  127. package/library/components/mutation-observer.js +1 -1
  128. package/library/components/option.js +4 -4
  129. package/library/components/organisms.js +2 -2
  130. package/library/components/padding-input-group.js +1 -1
  131. package/library/components/pagination.js +7 -7
  132. package/library/components/popup.js +1 -1
  133. package/library/components/position-picker.js +1 -1
  134. package/library/components/progress-bar.js +1 -1
  135. package/library/components/progress-ring.js +1 -1
  136. package/library/components/qr-code.js +1 -1
  137. package/library/components/radio-button.js +1 -1
  138. package/library/components/radio-card.js +1 -1
  139. package/library/components/radio-group.js +2 -2
  140. package/library/components/radio.js +2 -2
  141. package/library/components/range.js +3 -3
  142. package/library/components/rating.js +3 -3
  143. package/library/components/relative-time.js +1 -1
  144. package/library/components/resize-observer.js +1 -1
  145. package/library/components/select.js +5 -5
  146. package/library/components/shadow-input-group.js +1 -1
  147. package/library/components/share-option-list.js +4 -4
  148. package/library/components/sidebar.js +3 -3
  149. package/library/components/size-input-group.js +4 -4
  150. package/library/components/spinner.js +1 -1
  151. package/library/components/split-panel.js +2 -2
  152. package/library/components/step.js +1 -1
  153. package/library/components/stepper-wizard.js +1 -1
  154. package/library/components/stepper.js +1 -1
  155. package/library/components/switch.js +2 -2
  156. package/library/components/tab-group.js +6 -6
  157. package/library/components/tab-panel.js +1 -1
  158. package/library/components/tab.js +3 -3
  159. package/library/components/tag.js +2 -2
  160. package/library/components/textarea.js +2 -2
  161. package/library/components/timecode.js +2 -2
  162. package/library/components/tooltip.js +2 -2
  163. package/library/components/tree-item.js +5 -5
  164. package/library/components/tree.js +8 -7
  165. package/library/components/typeface.js +3 -3
  166. package/library/components/types.js +32285 -31238
  167. package/library/components/video.js +3 -3
  168. package/library/package.json +1 -1
  169. package/library/packages/events/src/cx-xml-editor-asset-type-change.d.ts +8 -0
  170. package/library/packages/events/src/cx-xml-editor-change.d.ts +8 -0
  171. package/library/packages/events/src/cx-xml-editor-element-action.d.ts +11 -0
  172. package/library/packages/events/src/cx-xml-editor-element-expand-toggle.d.ts +8 -0
  173. package/library/packages/events/src/cx-xml-editor-notify.d.ts +11 -0
  174. package/library/packages/events/src/cx-xml-editor-packet-change.d.ts +11 -0
  175. package/library/packages/events/src/events.d.ts +6 -0
  176. package/library/packages/hybrid/table-core/src/table/table-data-loader.d.ts +2 -2
  177. package/library/packages/hybrid/table-core/src/table/table.d.ts +8 -0
  178. package/library/packages/molecules/src/annotator/annotator.d.ts +12 -0
  179. package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +9 -0
  180. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +7 -0
  181. package/library/packages/organisms/src/index.d.ts +1 -0
  182. package/library/packages/organisms/src/xml-editor/components/asset-type/asset-type.d.ts +38 -0
  183. package/library/packages/organisms/src/xml-editor/components/asset-type/asset-type.styles.d.ts +2 -0
  184. package/library/packages/organisms/src/xml-editor/components/element-tag/element-tag.d.ts +66 -0
  185. package/library/packages/organisms/src/xml-editor/components/element-tag/element-tag.styles.d.ts +2 -0
  186. package/library/packages/organisms/src/xml-editor/components/packet-editor/packet-editor.d.ts +78 -0
  187. package/library/packages/organisms/src/xml-editor/components/packet-editor/packet-editor.styles.d.ts +2 -0
  188. package/library/packages/organisms/src/xml-editor/components/viewer/viewer.d.ts +37 -0
  189. package/library/packages/organisms/src/xml-editor/components/viewer/viewer.styles.d.ts +2 -0
  190. package/library/packages/organisms/src/xml-editor/xml-editor.d.ts +75 -0
  191. package/library/packages/organisms/src/xml-editor/xml-editor.data.d.ts +23 -0
  192. package/library/packages/organisms/src/xml-editor/xml-editor.styles.d.ts +2 -0
  193. package/library/packages/services/src/api/endpoints.d.ts +3 -0
  194. package/library/packages/services/src/api/metadata/metadata.d.ts +14 -1
  195. package/library/packages/services/src/api/metadata/metadata.types.d.ts +37 -1
  196. package/library/packages/types/src/xml-editor.d.ts +108 -0
  197. package/library/packages/utils/src/custom-element/i18n.d.ts +35 -0
  198. package/library/packages/utils/src/dom/dom.d.ts +3 -0
  199. package/library/packages/utils/src/string/string.d.ts +11 -0
  200. package/library/react-web-component.d.ts +39 -5
  201. package/library/utils.js +148 -144
  202. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  import { p as g } from "./purify.es.BIuh5IAZ.js";
2
- var m = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(m || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), A = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(A || {}), h = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(h || {}), c = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(c || {});
3
- const Z = 50;
4
- function w(t) {
2
+ var m = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(m || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), h = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(h || {}), A = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(A || {}), u = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(u || {});
3
+ const C = 50;
4
+ function Z(t) {
5
5
  return t.replaceAll(/[\s_]+/g, "-").replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/([A-Z])([A-Z])/g, "$1-$2").replaceAll(/([a-z])([0-9])/g, "$1-$2").replaceAll(/([A-Z])([0-9])/g, "$1-$2").replaceAll(/([0-9])([a-z])/g, "$1-$2").replaceAll(/([0-9])([A-Z])/g, "$1-$2").toLowerCase().replaceAll(/^-+|-+$/g, "");
6
6
  }
7
7
  function E(t) {
8
8
  return t.replaceAll(/[-_]+/g, " ").split(" ").map((r) => r.charAt(0).toUpperCase() + r.slice(1)).join("");
9
9
  }
10
- function I(t) {
10
+ function L(t) {
11
11
  return t.trim().replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([^0-9])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-z])/g, "$1 $2").replaceAll(/([0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z])/g, "$1 $2").replaceAll(/[^A-Za-z0-9]/g, " ").split(" ").filter((r) => r).reduce((r, e, n) => `${r}${n ? $(e.toLowerCase()) : e.toLowerCase()}`, "");
12
12
  }
13
- function L(t) {
13
+ function I(t) {
14
14
  return t.replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").trim();
15
15
  }
16
16
  function $(t) {
@@ -20,33 +20,33 @@ function $(t) {
20
20
  return `${e}${n}`;
21
21
  }
22
22
  const x = (t, r, e, n) => t && t.length > r ? t.substring(0, e) + " ... " + t.substring(t.length - n, t.length) : t;
23
- function D(t) {
23
+ function O(t) {
24
24
  return t ? t.replaceAll(/([a-z0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").replaceAll(/([a-zA-Z])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-zA-Z])/g, "$1 $2").replaceAll(/\s+/g, " ").trim().toLowerCase() : "";
25
25
  }
26
- function O(t, r = {}) {
26
+ function j(t, r = {}) {
27
27
  const {
28
28
  frameRate: e = 24,
29
- mode: n = c.Standard,
29
+ mode: n = u.Standard,
30
30
  showHours: s = !1,
31
31
  showMilliseconds: o = !1
32
32
  } = r, i = Number.isFinite(e) && e > 0 ? e : 24;
33
33
  if (typeof t != "number" || Number.isNaN(t) || t < 0)
34
34
  switch (n) {
35
- case c.Frames:
35
+ case u.Frames:
36
36
  return "0";
37
- case c.SMPTE:
37
+ case u.SMPTE:
38
38
  return "00:00:00:00";
39
- case c.Standard:
39
+ case u.Standard:
40
40
  return s ? "00:00:00" : "00:00";
41
41
  default:
42
42
  return "00:00";
43
43
  }
44
44
  switch (n) {
45
- case c.SMPTE:
45
+ case u.SMPTE:
46
46
  return M(t, i);
47
- case c.Frames:
47
+ case u.Frames:
48
48
  return N(t, i);
49
- case c.Standard:
49
+ case u.Standard:
50
50
  default:
51
51
  return T(t, o, s);
52
52
  }
@@ -55,24 +55,24 @@ function b(t) {
55
55
  return Math.abs(t - 29.97) < 0.01 || Math.abs(t - 59.94) < 0.01;
56
56
  }
57
57
  function M(t, r) {
58
- const e = Math.floor(t), n = t - e, s = Math.floor(n * r), o = Math.floor(e / 3600), i = Math.floor(e % 3600 / 60), l = e % 60, a = b(r) ? ";" : ":";
59
- return o.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0") + ":" + l.toString().padStart(2, "0") + a + s.toString().padStart(2, "0");
58
+ const e = Math.floor(t), n = t - e, s = Math.floor(n * r), o = Math.floor(e / 3600), i = Math.floor(e % 3600 / 60), c = e % 60, a = b(r) ? ";" : ":";
59
+ return o.toString().padStart(2, "0") + ":" + i.toString().padStart(2, "0") + ":" + c.toString().padStart(2, "0") + a + s.toString().padStart(2, "0");
60
60
  }
61
61
  function N(t, r) {
62
62
  const e = t * r;
63
63
  return Math.floor(e + 1e-9).toString();
64
64
  }
65
65
  function T(t, r, e) {
66
- const n = Math.round(t * 100) / 100, s = Math.floor(n / 3600), o = Math.floor(n % 3600 / 60), i = Math.floor(n % 60), l = Math.round(n % 1 * 100), a = [];
67
- return (e || s > 0) && a.push(s.toString().padStart(2, "0")), a.push(o.toString().padStart(2, "0")), r && l > 0 ? a.push(
68
- `${i.toString().padStart(2, "0")}.${l.toString().padStart(2, "0")}`
66
+ const n = Math.round(t * 100) / 100, s = Math.floor(n / 3600), o = Math.floor(n % 3600 / 60), i = Math.floor(n % 60), c = Math.round(n % 1 * 100), a = [];
67
+ return (e || s > 0) && a.push(s.toString().padStart(2, "0")), a.push(o.toString().padStart(2, "0")), r && c > 0 ? a.push(
68
+ `${i.toString().padStart(2, "0")}.${c.toString().padStart(2, "0")}`
69
69
  ) : a.push(i.toString().padStart(2, "0")), a.join(":");
70
70
  }
71
71
  function v(t) {
72
72
  return t.endsWith("/") ? t : `${t}/`;
73
73
  }
74
74
  const d = "-";
75
- function j(t) {
75
+ function D(t) {
76
76
  const r = t.split(d), e = r.pop() ?? "", n = r.join(d);
77
77
  return { id: e, path: n };
78
78
  }
@@ -87,18 +87,18 @@ function R(t, r) {
87
87
  return e.slice(0, n.length + 1).join("/");
88
88
  }
89
89
  function _(t, r = {}) {
90
- const { frameRate: e = 24, mode: n = c.Standard } = r, s = Number.isFinite(e) && e > 0 ? e : 24;
90
+ const { frameRate: e = 24, mode: n = u.Standard } = r, s = Number.isFinite(e) && e > 0 ? e : 24;
91
91
  if (!t || typeof t != "string")
92
92
  return 0;
93
93
  const o = t.trim();
94
94
  if (o === "")
95
95
  return 0;
96
96
  switch (n) {
97
- case c.SMPTE:
97
+ case u.SMPTE:
98
98
  return P(o, s);
99
- case c.Frames:
100
- return F(o, s);
101
- case c.Standard:
99
+ case u.Frames:
100
+ return w(o, s);
101
+ case u.Standard:
102
102
  default:
103
103
  return z(o);
104
104
  }
@@ -107,10 +107,10 @@ function P(t, r) {
107
107
  const e = /^(\d{1,2}):(\d{1,2}):(\d{1,2})[:;](\d{1,2})$/, n = t.match(e);
108
108
  if (!n)
109
109
  return 0;
110
- const [, s, o, i, l] = n, a = Number.parseInt(s, 10), u = Number.parseInt(o, 10), f = Number.parseInt(i, 10), p = Number.parseInt(l, 10);
111
- return a < 0 || a > 23 || u < 0 || u > 59 || f < 0 || f > 59 || p < 0 || p >= r ? 0 : a * 3600 + u * 60 + f + p / r;
110
+ const [, s, o, i, c] = n, a = Number.parseInt(s, 10), l = Number.parseInt(o, 10), f = Number.parseInt(i, 10), p = Number.parseInt(c, 10);
111
+ return a < 0 || a > 23 || l < 0 || l > 59 || f < 0 || f > 59 || p < 0 || p >= r ? 0 : a * 3600 + l * 60 + f + p / r;
112
112
  }
113
- function F(t, r) {
113
+ function w(t, r) {
114
114
  const e = Number.parseInt(t, 10);
115
115
  return Number.isNaN(e) || e < 0 ? 0 : e / r;
116
116
  }
@@ -119,15 +119,15 @@ function z(t) {
119
119
  if (!e)
120
120
  return 0;
121
121
  const [, n, s, o, i] = e;
122
- let l = 0, a = 0, u = 0, f = 0;
123
- if (o !== void 0 ? (l = Number.parseInt(n, 10), a = Number.parseInt(s, 10), u = Number.parseInt(o, 10)) : (a = Number.parseInt(n, 10), u = Number.parseInt(s, 10)), i !== void 0 && (f = Number.parseInt(i, 10)), l < 0 || a < 0 || u < 0 || f < 0)
122
+ let c = 0, a = 0, l = 0, f = 0;
123
+ if (o !== void 0 ? (c = Number.parseInt(n, 10), a = Number.parseInt(s, 10), l = Number.parseInt(o, 10)) : (a = Number.parseInt(n, 10), l = Number.parseInt(s, 10)), i !== void 0 && (f = Number.parseInt(i, 10)), c < 0 || a < 0 || l < 0 || f < 0)
124
124
  return 0;
125
125
  if (o !== void 0) {
126
- if (a > 59 || u > 59)
126
+ if (a > 59 || l > 59)
127
127
  return 0;
128
- } else if (u > 59)
128
+ } else if (l > 59)
129
129
  return 0;
130
- return f > 99 ? 0 : l * 3600 + a * 60 + u + f / 100;
130
+ return f > 99 ? 0 : c * 3600 + a * 60 + l + f / 100;
131
131
  }
132
132
  function H(t) {
133
133
  if (typeof t != "string" || t.length === 0)
@@ -135,7 +135,7 @@ function H(t) {
135
135
  const r = t.split(/[?#]/)[0], e = (r.split("/").pop() ?? r).trim(), n = e.lastIndexOf(".");
136
136
  return n <= 0 ? null : e.slice(n).toLowerCase();
137
137
  }
138
- function y(t) {
138
+ function q(t) {
139
139
  return g.sanitize(t, {
140
140
  CUSTOM_ELEMENT_HANDLING: {
141
141
  allowCustomizedBuiltInElements: !0,
@@ -144,53 +144,98 @@ function y(t) {
144
144
  }
145
145
  });
146
146
  }
147
- function U(t) {
147
+ function y(t) {
148
148
  return t ? new DOMParser().parseFromString(t, "text/html").body.textContent?.trim() ?? "" : "";
149
149
  }
150
- function W(t) {
150
+ function U(t) {
151
151
  return typeof t == "string" ? t.replaceAll(" ", " ") : t == null ? "" : String(t);
152
152
  }
153
- function B(t) {
153
+ function W(t) {
154
154
  return t == null || t === "" ? " " : String(t);
155
155
  }
156
- function q(t) {
156
+ function B(t) {
157
157
  return typeof t != "string" ? !1 : Object.values(m).includes(t);
158
158
  }
159
- function K(t) {
159
+ function X(t) {
160
160
  if (!t)
161
161
  return "";
162
162
  const r = t.startsWith(".") ? t.toLowerCase() : `.${t.toLowerCase()}`;
163
163
  return r === "." ? "" : r;
164
164
  }
165
- function Q(t) {
165
+ function K(t) {
166
166
  return t ? t.toLowerCase() === "true" : !1;
167
167
  }
168
+ function Q(t) {
169
+ return t ? t.replace(/[<>&'"]/g, (r) => {
170
+ switch (r) {
171
+ case "<":
172
+ return "&lt;";
173
+ case ">":
174
+ return "&gt;";
175
+ case "&":
176
+ return "&amp;";
177
+ case "'":
178
+ return "&apos;";
179
+ case '"':
180
+ return "&quot;";
181
+ default:
182
+ return r;
183
+ }
184
+ }) : "";
185
+ }
186
+ function J(t) {
187
+ return t.replace(/&lt;|&gt;|&amp;|&apos;|&quot;/g, (r) => {
188
+ switch (r) {
189
+ case "&lt;":
190
+ return "<";
191
+ case "&gt;":
192
+ return ">";
193
+ case "&amp;":
194
+ return "&";
195
+ case "&apos;":
196
+ return "'";
197
+ case "&quot;":
198
+ return '"';
199
+ default:
200
+ return r;
201
+ }
202
+ });
203
+ }
204
+ function Y(t) {
205
+ if (t == null)
206
+ return "";
207
+ const r = Object.entries(t).filter(([e]) => e !== "value").map(([e, n]) => `${e}="${n}"`);
208
+ return r.length === 0 ? "" : ` ${r.join(" ")}`;
209
+ }
168
210
  export {
169
- Z as F,
211
+ C as F,
170
212
  S as G,
171
- h as M,
172
- c as T,
173
- K as a,
174
- B as b,
175
- W as c,
213
+ A as M,
214
+ u as T,
215
+ X as a,
216
+ W as b,
217
+ U as c,
176
218
  H as d,
177
- j as e,
178
- O as f,
219
+ D as e,
220
+ j as f,
179
221
  k as g,
180
- U as h,
222
+ y as h,
181
223
  x as i,
182
- A as j,
224
+ h as j,
183
225
  m as k,
184
- q as l,
226
+ B as l,
185
227
  _ as m,
186
- E as n,
187
- I as o,
228
+ J as n,
229
+ Q as o,
188
230
  v as p,
189
- L as q,
190
- D as r,
191
- y as s,
192
- w as t,
231
+ Y as q,
232
+ E as r,
233
+ q as s,
234
+ Z as t,
193
235
  $ as u,
194
- R as v,
195
- Q as w
236
+ L as v,
237
+ I as w,
238
+ O as x,
239
+ R as y,
240
+ K as z
196
241
  };
@@ -2,10 +2,10 @@ import In from "../components/resize-observer.js";
2
2
  import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
3
3
  import { c as Ln } from "./component.styles.CRO4Odto.js";
4
4
  import { c as $n } from "./custom-element.L4WJXn1j.js";
5
- import { L as Nn } from "./i18n.BwXikn4k.js";
5
+ import { L as Nn } from "./i18n.Bchq8v1d.js";
6
6
  import { s as Zi } from "./scroll.xtO5yojm.js";
7
- import { w as ft } from "./watch.K-dbDP6P.js";
8
- import { i as Bn } from "./dom.CU_mBy9D.js";
7
+ import { w as ft } from "./watch.DOt4Mabe.js";
8
+ import { i as Bn } from "./dom.C5aVLhKS.js";
9
9
  import { s as Wn } from "./parse.Cu5nBDTb.js";
10
10
  import { i as Vn, x as $t } from "./lit-element.jLBm65_O.js";
11
11
  import { r as at } from "./state.CSDxrqLd.js";
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
17
17
  import { o as tr } from "./map.D8heArFD.js";
18
18
  import { o as Ue } from "./style-map.llVFPd__.js";
19
19
  import { n as Pe } from "./when.Dr1es41R.js";
20
- import { C as Yn } from "./button.BHIyGIB2.js";
20
+ import { C as Yn } from "./button.8syoJXYs.js";
21
21
  import Xn from "../components/dropdown.js";
22
- import { C as qn } from "./icon-button.Bwv0pBA9.js";
22
+ import { C as qn } from "./icon-button.DbVIFgu7.js";
23
23
  import Gn from "../components/menu.js";
24
24
  import Kn from "../components/menu-item.js";
25
25
  import jn from "../components/tab.js";
@@ -1,8 +1,8 @@
1
- import { S as $, a as ee } from "./Slice.DLvisUPP.js";
2
- import { aU as I, L as Y, T as D, aV as te, m as L, e as v, aq as S, aj as R, j as A, h as C, a as _, D as se, H as X, au as U, C as ie, q as b, G as k, r as G, K as ne, t as q, aW as J, av as Q } from "./am-chart.Bf-o9SaR.js";
3
- import { A as ae } from "./AxisLabelRadial.BVjTmOAK.js";
4
- import { B as Z } from "./BaseColumnSeries.CBs_QAAc.js";
5
- import { P as K } from "./Polygon.iNK22k_h.js";
1
+ import { S as $, a as ee } from "./Slice.C5lVu2g_.js";
2
+ import { aU as I, L as Y, T as D, aV as te, m as L, e as v, aq as S, aj as R, j as A, h as C, a as _, D as se, H as X, au as U, C as ie, q as b, G as k, r as G, K as ne, t as q, aW as J, av as Q } from "./am-chart.CqdmTS0P.js";
3
+ import { A as ae } from "./AxisLabelRadial.lE2gKah-.js";
4
+ import { B as Z } from "./BaseColumnSeries.B57B3iHh.js";
5
+ import { P as K } from "./Polygon.BCrxKagx.js";
6
6
  class V extends I {
7
7
  constructor() {
8
8
  super(...arguments), this.labels = this.addDisposer(new Y(D.new({}), () => te._new(this._root, {
@@ -1,5 +1,5 @@
1
1
  import { S as f } from "./isObjectLike.z36Fu426.js";
2
- import { i as p } from "./watch.K-dbDP6P.js";
2
+ import { i as p } from "./watch.DOt4Mabe.js";
3
3
  import { i as g } from "./isSymbol.L0C2ND_U.js";
4
4
  function l(r, t) {
5
5
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
@@ -1,4 +1,4 @@
1
- import { D as f } from "./content-builder.DZRw6hpX.js";
1
+ import { D as f } from "./content-builder.BU8X7I6V.js";
2
2
  function h(n, e) {
3
3
  return n.filter((r, t) => t !== e);
4
4
  }