@demos-europe/demosplan-ui 0.9.0 → 0.10.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.
@@ -11,7 +11,7 @@ import B8 from "@uppy/tus";
11
11
  import F8 from "@uppy/core";
12
12
  import oc from "lscache";
13
13
  import q8 from "vue-multiselect";
14
- const IJ = {
14
+ const OJ = {
15
15
  data() {
16
16
  return {
17
17
  allSelected: !1,
@@ -360,7 +360,7 @@ const V = {
360
360
  }
361
361
  }, j8 = (t, e) => typeof e == "string" && e.length <= 320 && t.test(e) && e.slice(-1) !== `
362
362
  ` && encodeURIComponent(e).replace(/%../g, "x").length <= 320, fm = /^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E\p{L}\p{N}]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F\p{L}\p{N}]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E\p{L}\p{N}]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F\p{L}\p{N}]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-+[a-z0-9]+)*\.){1,126})+(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-+[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/i;
363
- function OJ(t) {
363
+ function _J(t) {
364
364
  return j8(fm, t);
365
365
  }
366
366
  function Rd(t) {
@@ -638,18 +638,18 @@ var Kt = {
638
638
  return zt[("on" + rn[Kt.fullscreenerror]).toLowerCase()] = t;
639
639
  }
640
640
  };
641
- const _J = function(t) {
641
+ const NJ = function(t) {
642
642
  return Er.fullscreenEnabled ? Er.fullscreenElement === null ? (Er.requestFullscreen(t), !0) : (Er.exitFullscreen(), !1) : !1;
643
- }, NJ = function(t) {
644
- Er.addEventListener("fullscreenchange", t);
645
643
  }, LJ = function(t) {
644
+ Er.addEventListener("fullscreenchange", t);
645
+ }, VJ = function(t) {
646
646
  Er.removeEventListener("fullscreenchange", t);
647
- }, VJ = function() {
647
+ }, RJ = function() {
648
648
  return Er.fullscreenEnabled && Er.fullscreenElement !== null;
649
649
  }, K8 = "DD.MM.YYYY", G8 = "DD.MM.YYYY, HH:mm [Uhr]", J8 = function(t, e = K8) {
650
650
  let n;
651
651
  return e === "long" && (e = G8), typeof t == "number" && (n = t.toString().length > 10 ? Cr(t) : Cr.unix(t)), (typeof t == "string" || t instanceof Date) && (n = Cr(t)), typeof n > "u" || n === null ? Cr().format(e) : n.format(e);
652
- }, RJ = function(t, e = "DD.MM.YYYY") {
652
+ }, HJ = function(t, e = "DD.MM.YYYY") {
653
653
  return Cr(t, e).toDate();
654
654
  }, Y8 = (t, e) => {
655
655
  const n = Number(e);
@@ -673,20 +673,20 @@ const _J = function(t) {
673
673
  min: n
674
674
  }) : "";
675
675
  };
676
- function HJ(t) {
676
+ function BJ(t) {
677
677
  return !!dplan.permissions[t];
678
678
  }
679
- function BJ(t) {
679
+ function FJ(t) {
680
680
  if (Array.isArray(t) === !1)
681
681
  throw new Error('Typeof "permissions" is not an Array');
682
682
  return t.some((e) => !!dplan.permissions[e]);
683
683
  }
684
- function FJ(t) {
684
+ function qJ(t) {
685
685
  if (Array.isArray(t) === !1)
686
686
  throw new Error('Typeof "permissions" is not an Array');
687
687
  return t.every((e) => !!dplan.permissions[e]);
688
688
  }
689
- const qJ = function(t) {
689
+ const zJ = function(t) {
690
690
  if (typeof t == "string")
691
691
  return t.charAt(0).toUpperCase() + t.slice(1);
692
692
  };
@@ -706,13 +706,13 @@ const gm = (t, e) => {
706
706
  Array.isArray(i) && Array.isArray(s) ? t[r] = i.concat(s) : n(i) && n(s) ? t[r] = gm(Object.assign({}, i), s) : t[r] = s;
707
707
  }), t);
708
708
  };
709
- function zJ(t, e) {
709
+ function ZJ(t, e) {
710
710
  if (t === 0)
711
711
  return "0 Bytes";
712
712
  const n = 1024, r = e <= 0 ? 0 : e || 2, i = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], s = Math.floor(Math.log(t) / Math.log(n));
713
713
  return parseFloat((t / Math.pow(n, s)).toFixed(r)) + " " + i[s];
714
714
  }
715
- function ZJ() {
715
+ function UJ() {
716
716
  const t = document.createElement("fakeelement"), e = {
717
717
  animation: "animationend",
718
718
  OAnimation: "oAnimationEnd",
@@ -725,7 +725,7 @@ function ZJ() {
725
725
  return e[n];
726
726
  return !1;
727
727
  }
728
- function UJ(t) {
728
+ function jJ(t) {
729
729
  const e = document.createElement("canvas"), n = e.getContext("2d");
730
730
  n.fillStyle = "rgb(0,0,0)", n.fillRect(0, 0, 10, 10);
731
731
  const r = e.toDataURL(), i = new Image();
@@ -736,7 +736,7 @@ function UJ(t) {
736
736
  t(l);
737
737
  }, i.src = r;
738
738
  }
739
- function jJ(t, e, n = "asc") {
739
+ function WJ(t, e, n = "asc") {
740
740
  const r = t;
741
741
  return typeof r[0] == "string" ? r.sort((i, s) => i.localeCompare(s, "de", { sensitivity: "base" })) : typeof t[0] == "object" && mt(t[0], e) && r.sort((i, s) => {
742
742
  const o = e.split(".");
@@ -746,7 +746,7 @@ function jJ(t, e, n = "asc") {
746
746
  return a.localeCompare(l, "de", { sensitivity: "base" });
747
747
  }), n === "desc" && r.reverse(), r;
748
748
  }
749
- function WJ(t, e) {
749
+ function KJ(t, e) {
750
750
  let n;
751
751
  return function(...r) {
752
752
  n || (t.apply(this, r), n = !0, setTimeout(() => {
@@ -6859,7 +6859,7 @@ Br.get = (t, e = {}, n = {}) => wi({ method: "GET", url: t, params: e, options:
6859
6859
  Br.put = (t, e = {}, n = {}, r = {}) => wi({ method: "PUT", url: t, data: n, params: e, options: r });
6860
6860
  Br.patch = (t, e = {}, n = {}, r = {}) => wi({ method: "PATCH", url: t, data: n, params: e, options: r });
6861
6861
  Br.delete = (t, e = {}, n = {}) => wi({ method: "DELETE", url: t, params: e, options: n });
6862
- const KJ = function(t, e, n = null) {
6862
+ const GJ = function(t, e, n = null) {
6863
6863
  const r = {
6864
6864
  jsonrpc: "2.0",
6865
6865
  method: t,
@@ -6874,7 +6874,7 @@ const KJ = function(t, e, n = null) {
6874
6874
  "Content-Type": "application/json"
6875
6875
  }
6876
6876
  });
6877
- }, GJ = async (t, e) => await fetch(t, e), Tp = function(t) {
6877
+ }, JJ = async (t, e) => await fetch(t, e), Tp = function(t) {
6878
6878
  if (mt(t, "messages"))
6879
6879
  for (const e in t.messages)
6880
6880
  for (const n in t.messages[e])
@@ -6884,7 +6884,7 @@ const KJ = function(t, e, n = null) {
6884
6884
  t || n(null), t.data?.meta ? Tp(t.data.meta) : dplan !== void 0 && dplan.debug && mt(t, "errors") && t?.meta?.messages ? Tp(t.meta) : e && mt(e, t.status) && dplan.notify.notify(e[t.status].type, e[t.status].text), t.status >= 400 && r(t), n(t);
6885
6885
  });
6886
6886
  };
6887
- function JJ(t, e) {
6887
+ function YJ(t, e) {
6888
6888
  const n = new FormData();
6889
6889
  for (const [r, i] of Object.entries(t))
6890
6890
  Array.isArray(i) ? i.forEach((s) => n.append(r + "[]", s)) : n.append(r, i);
@@ -6976,7 +6976,7 @@ const Pp = {
6976
6976
  return Math.round(n) + " " + t;
6977
6977
  }, xO = function(t) {
6978
6978
  return mt(Dp, t) ? Dp[t] : t;
6979
- }, YJ = function(t = "", e = {}) {
6979
+ }, XJ = function(t = "", e = {}) {
6980
6980
  const r = { ...{
6981
6981
  sizeScale: "KB",
6982
6982
  separator: ":"
@@ -7058,12 +7058,12 @@ class EO {
7058
7058
  this.hasCurrent && (this.menu.querySelector("[data-actionmenu-current]").removeAttribute("data-actionmenu-current"), e.target.setAttribute("data-actionmenu-current", !0));
7059
7059
  }
7060
7060
  }
7061
- function XJ() {
7061
+ function QJ() {
7062
7062
  const t = document.querySelectorAll("[data-actionmenu]"), e = [];
7063
7063
  for (let n = 0; n < t.length; n++)
7064
7064
  e.push(new EO(t[n]));
7065
7065
  }
7066
- function QJ() {
7066
+ function eY() {
7067
7067
  window.dpconfirm = function(t, e) {
7068
7068
  return typeof e < "u" && e && (t = decodeURI(t)), confirm(t);
7069
7069
  };
@@ -7091,10 +7091,10 @@ class MO {
7091
7091
  }));
7092
7092
  }
7093
7093
  }
7094
- function eY(t) {
7094
+ function tY(t) {
7095
7095
  return getComputedStyle(document.documentElement).getPropertyValue(t);
7096
7096
  }
7097
- function tY(t) {
7097
+ function nY(t) {
7098
7098
  const e = document.querySelectorAll(t);
7099
7099
  window.addEventListener("hashchange", function() {
7100
7100
  for (let r = 0; r < e.length; r++)
@@ -7446,7 +7446,7 @@ class Sa {
7446
7446
  }
7447
7447
  }
7448
7448
  }
7449
- function nY() {
7449
+ function rY() {
7450
7450
  const t = document.querySelectorAll("[data-sticky]");
7451
7451
  t.length > 0 && console.warn("Found usage of deprecated stickier implementation, use <DpStickyElement> instead");
7452
7452
  const e = [];
@@ -7473,7 +7473,7 @@ const Ip = (t, e) => {
7473
7473
  }, IO = function(t, e) {
7474
7474
  return Array.from(t).filter((n) => n.tagName === e.toUpperCase());
7475
7475
  };
7476
- function rY() {
7476
+ function iY() {
7477
7477
  const t = document.querySelectorAll("[data-table-wrapper]");
7478
7478
  for (let e = 0; e < t.length; e++) {
7479
7479
  const n = t[e], r = un(n.dataset.tableWrapper);
@@ -8246,7 +8246,7 @@ function i_(t, e, n, r, i, s) {
8246
8246
  })
8247
8247
  ]);
8248
8248
  }
8249
- const iY = /* @__PURE__ */ ae(n_, [["render", i_]]);
8249
+ const sY = /* @__PURE__ */ ae(n_, [["render", i_]]);
8250
8250
  function xt(t) {
8251
8251
  this.content = t;
8252
8252
  }
@@ -27989,7 +27989,7 @@ function bq(t, e, n, r, i, s) {
27989
27989
  }, null, 8, ["editor"])
27990
27990
  ]);
27991
27991
  }
27992
- const aY = /* @__PURE__ */ ae(mq, [["render", bq]]), vq = ["textContent"], yo = /* @__PURE__ */ oe({
27992
+ const lY = /* @__PURE__ */ ae(mq, [["render", bq]]), vq = ["textContent"], yo = /* @__PURE__ */ oe({
27993
27993
  __name: "DpButton",
27994
27994
  props: {
27995
27995
  /**
@@ -28676,7 +28676,7 @@ const of = /* @__PURE__ */ ae(Sq, [["render", Cq]]), Eq = { class: "relative" },
28676
28676
  compatConfig: {
28677
28677
  COMPONENT_V_MODEL: !1
28678
28678
  }
28679
- }, lY = /* @__PURE__ */ oe({
28679
+ }, cY = /* @__PURE__ */ oe({
28680
28680
  ...Iq,
28681
28681
  __name: "DpAutocomplete",
28682
28682
  props: {
@@ -28984,7 +28984,7 @@ function Nq(t, e, n, r, i, s) {
28984
28984
  textContent: le(n.text)
28985
28985
  }, null, 10, _q);
28986
28986
  }
28987
- const cY = /* @__PURE__ */ ae(Oq, [["render", Nq]]), Lq = {
28987
+ const dY = /* @__PURE__ */ ae(Oq, [["render", Nq]]), Lq = {
28988
28988
  name: "DpBulkEditHeader",
28989
28989
  components: {
28990
28990
  DpButton: yo
@@ -29016,7 +29016,7 @@ function Rq(t, e, n, r, i, s) {
29016
29016
  }, null, 8, ["text"])
29017
29017
  ]);
29018
29018
  }
29019
- const dY = /* @__PURE__ */ ae(Lq, [["render", Rq]]), Hq = {
29019
+ const uY = /* @__PURE__ */ ae(Lq, [["render", Rq]]), Hq = {
29020
29020
  name: "DpButtonIcon",
29021
29021
  directives: {
29022
29022
  tooltip: ho
@@ -29053,7 +29053,7 @@ function Fq(t, e, n, r, i, s) {
29053
29053
  }]
29054
29054
  ]);
29055
29055
  }
29056
- const uY = /* @__PURE__ */ ae(Hq, [["render", Fq]]), qq = {
29056
+ const hY = /* @__PURE__ */ ae(Hq, [["render", Fq]]), qq = {
29057
29057
  name: "DpButtonRow",
29058
29058
  components: {
29059
29059
  DpButton: yo
@@ -29229,7 +29229,7 @@ function Wq(t, e, n, r, i, s) {
29229
29229
  W(t.$slots, "default")
29230
29230
  ]);
29231
29231
  }
29232
- const hY = /* @__PURE__ */ ae(Zq, [["render", Wq]]), Kq = {
29232
+ const fY = /* @__PURE__ */ ae(Zq, [["render", Wq]]), Kq = {
29233
29233
  name: "DpCheckbox",
29234
29234
  components: {
29235
29235
  DpLabel: lr
@@ -29408,7 +29408,7 @@ function Qq(t, e, n, r, i, s) {
29408
29408
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "class", "label", "name", "data-cy", "onChange"]))), 128))
29409
29409
  ]);
29410
29410
  }
29411
- const fY = /* @__PURE__ */ ae(Yq, [["render", Qq]]);
29411
+ const pY = /* @__PURE__ */ ae(Yq, [["render", Qq]]);
29412
29412
  function lf(t, e) {
29413
29413
  return $8() ? (P8(t, e), !0) : !1;
29414
29414
  }
@@ -29815,7 +29815,7 @@ function gz(t, e, n, r, i, s) {
29815
29815
  _: 1
29816
29816
  }, 8, ["data-cy", "onClose"]);
29817
29817
  }
29818
- const pY = /* @__PURE__ */ ae(fz, [["render", gz]]), yz = {
29818
+ const mY = /* @__PURE__ */ ae(fz, [["render", gz]]), yz = {
29819
29819
  name: "DpModal",
29820
29820
  components: {
29821
29821
  DpIcon: nn
@@ -29996,7 +29996,7 @@ function Az(t, e, n, r, i, s) {
29996
29996
  _: 1
29997
29997
  }, 8, ["data-cy", "onModal:toggled"]);
29998
29998
  }
29999
- const mY = /* @__PURE__ */ ae(Sz, [["render", Az]]);
29999
+ const gY = /* @__PURE__ */ ae(Sz, [["render", Az]]);
30000
30000
  function w1(t, e) {
30001
30001
  var n = Object.keys(t);
30002
30002
  if (Object.getOwnPropertySymbols) {
@@ -33173,7 +33173,7 @@ function vU(t, e, n, r, i, s) {
33173
33173
  })
33174
33174
  ]);
33175
33175
  }
33176
- const gY = /* @__PURE__ */ ae(pU, [["render", vU]]);
33176
+ const yY = /* @__PURE__ */ ae(pU, [["render", vU]]);
33177
33177
  function Ob(t, e) {
33178
33178
  var n = new Date(t.getTime());
33179
33179
  return n.setHours(0, 0, 0, 0), n.setDate(1), n.setMonth(n.getMonth() + e), n;
@@ -33889,7 +33889,7 @@ function VU(t, e, n, r, i, s) {
33889
33889
  }, null, 8, ["id", "name", "min-date", "max-date", "calendars-after", "calendars-before", "disabled", "data-dp-validate-error-fieldname", "value", "required", "data-cy", "label", "onInput"])
33890
33890
  ]);
33891
33891
  }
33892
- const yY = /* @__PURE__ */ ae(NU, [["render", VU]]);
33892
+ const bY = /* @__PURE__ */ ae(NU, [["render", VU]]);
33893
33893
  var ca = { exports: {} }, RU = ca.exports, N1;
33894
33894
  function HU() {
33895
33895
  return N1 || (N1 = 1, function(t, e) {
@@ -34497,7 +34497,7 @@ function QU(t, e, n, r, i, s) {
34497
34497
  ])
34498
34498
  ]);
34499
34499
  }
34500
- const bY = /* @__PURE__ */ ae(JU, [["render", QU]]), ej = {
34500
+ const vY = /* @__PURE__ */ ae(JU, [["render", QU]]), ej = {
34501
34501
  name: "DpDetails",
34502
34502
  directives: {
34503
34503
  cleanhtml: rr
@@ -34551,7 +34551,7 @@ function ij(t, e, n, r, i, s) {
34551
34551
  ], 8, rj)
34552
34552
  ], 8, tj);
34553
34553
  }
34554
- const vY = /* @__PURE__ */ ae(ej, [["render", ij]]), sj = {
34554
+ const wY = /* @__PURE__ */ ae(ej, [["render", ij]]), sj = {
34555
34555
  name: "DpEditableList",
34556
34556
  components: {
34557
34557
  DpButton: yo
@@ -34695,7 +34695,7 @@ function hj(t, e, n, r, i, s) {
34695
34695
  }, null, 8, ["data-cy", "text", "onClick"])) : O("", !0)
34696
34696
  ]);
34697
34697
  }
34698
- const wY = /* @__PURE__ */ ae(sj, [["render", hj]]), fj = {
34698
+ const SY = /* @__PURE__ */ ae(sj, [["render", hj]]), fj = {
34699
34699
  name: "DpLinkModal",
34700
34700
  components: {
34701
34701
  DpButtonRow: fb,
@@ -35972,7 +35972,7 @@ function oW(t, e, n, r, i, s) {
35972
35972
  ], 2)) : O("", !0)
35973
35973
  ]);
35974
35974
  }
35975
- const SY = /* @__PURE__ */ ae(Nj, [["render", oW]]), aW = {
35975
+ const kY = /* @__PURE__ */ ae(Nj, [["render", oW]]), aW = {
35976
35976
  name: "DpInlineNotification",
35977
35977
  components: {
35978
35978
  DpIcon: nn
@@ -36081,7 +36081,7 @@ function pW(t, e, n, r, i, s) {
36081
36081
  ], 8, fW)
36082
36082
  ]));
36083
36083
  }
36084
- const kY = /* @__PURE__ */ ae(aW, [["render", pW]]);
36084
+ const AY = /* @__PURE__ */ ae(aW, [["render", pW]]);
36085
36085
  function mW(t, e, n) {
36086
36086
  const r = document.createElement("input"), i = { type: "hidden", name: e, value: n, "data-form-actions-added": "1" };
36087
36087
  Object.keys(i).forEach((s) => {
@@ -36153,7 +36153,7 @@ function yW(t) {
36153
36153
  return o.attributeName === "required" ? a = o.oldValue === "required" && l.hasAttribute("required") === !1 : o.attributeName === "pattern" && (a = o.oldValue && (l.hasAttribute("pattern") === !1 || l.getAttribute("pattern") === o.oldValue)), a;
36154
36154
  }
36155
36155
  }
36156
- function AY(t) {
36156
+ function xY(t) {
36157
36157
  let e = [];
36158
36158
  t ? e.push(document.querySelector(`[data-dp-validate=${t}]`)) : e = Array.from(document.querySelectorAll("[data-dp-validate]")), e.length > 0 && e.forEach((n) => {
36159
36159
  gs(n), yW(n);
@@ -36639,7 +36639,7 @@ function TW(t, e, n, r, i, s) {
36639
36639
  ], 10, MW))), 128))
36640
36640
  ], 2);
36641
36641
  }
36642
- const xY = /* @__PURE__ */ ae(EW, [["render", TW]]), $W = {
36642
+ const CY = /* @__PURE__ */ ae(EW, [["render", TW]]), $W = {
36643
36643
  name: "DpNotification",
36644
36644
  mixins: [Bn],
36645
36645
  props: {
@@ -36738,7 +36738,7 @@ function OW(t, e, n, r, i, s) {
36738
36738
  ], 2)
36739
36739
  ], 10, PW);
36740
36740
  }
36741
- const CY = /* @__PURE__ */ ae($W, [["render", OW]]), _W = {
36741
+ const EY = /* @__PURE__ */ ae($W, [["render", OW]]), _W = {
36742
36742
  name: "DpObscure",
36743
36743
  data() {
36744
36744
  return {
@@ -36754,7 +36754,7 @@ function LW(t, e, n, r, i, s) {
36754
36754
  W(t.$slots, "default")
36755
36755
  ], 8, NW);
36756
36756
  }
36757
- const EY = /* @__PURE__ */ ae(_W, [["render", LW]]), VW = {
36757
+ const MY = /* @__PURE__ */ ae(_W, [["render", LW]]), VW = {
36758
36758
  name: "DpPager",
36759
36759
  components: {
36760
36760
  DpSlidingPagination: Ib,
@@ -36855,7 +36855,7 @@ function ZW(t, e, n, r, i, s) {
36855
36855
  ], 8, HW)
36856
36856
  ]);
36857
36857
  }
36858
- const MY = /* @__PURE__ */ ae(VW, [["render", ZW]]), UW = {
36858
+ const TY = /* @__PURE__ */ ae(VW, [["render", ZW]]), UW = {
36859
36859
  name: "DpProgressBar",
36860
36860
  props: {
36861
36861
  showPercentage: {
@@ -36902,7 +36902,7 @@ function YW(t, e, n, r, i, s) {
36902
36902
  ], 64))
36903
36903
  ]);
36904
36904
  }
36905
- const TY = /* @__PURE__ */ ae(UW, [["render", YW]]), XW = {
36905
+ const $Y = /* @__PURE__ */ ae(UW, [["render", YW]]), XW = {
36906
36906
  name: "DpRadio",
36907
36907
  components: {
36908
36908
  DpLabel: lr
@@ -37013,7 +37013,7 @@ function eK(t, e, n, r, i, s) {
37013
37013
  }), null, 16, ["class"])) : O("", !0)
37014
37014
  ], 2);
37015
37015
  }
37016
- const $Y = /* @__PURE__ */ ae(XW, [["render", eK]]), tK = {
37016
+ const PY = /* @__PURE__ */ ae(XW, [["render", eK]]), tK = {
37017
37017
  name: "DpSearchField",
37018
37018
  components: {
37019
37019
  DpButton: yo,
@@ -37103,7 +37103,7 @@ function nK(t, e, n, r, i, s) {
37103
37103
  }, null, 8, ["text", "onClick"])
37104
37104
  ], 2);
37105
37105
  }
37106
- const PY = /* @__PURE__ */ ae(tK, [["render", nK]]), rK = {
37106
+ const DY = /* @__PURE__ */ ae(tK, [["render", nK]]), rK = {
37107
37107
  name: "DpSelect",
37108
37108
  components: {
37109
37109
  DpLabel: lr
@@ -37230,7 +37230,7 @@ function aK(t, e, n, r, i, s) {
37230
37230
  ], 42, iK)
37231
37231
  ]);
37232
37232
  }
37233
- const DY = /* @__PURE__ */ ae(rK, [["render", aK]]), lK = {
37233
+ const IY = /* @__PURE__ */ ae(rK, [["render", aK]]), lK = {
37234
37234
  name: "DpSkeletonBox",
37235
37235
  props: {
37236
37236
  height: {
@@ -37249,7 +37249,7 @@ function cK(t, e, n, r, i, s) {
37249
37249
  class: "c-skeleton-box"
37250
37250
  }, null, 4);
37251
37251
  }
37252
- const IY = /* @__PURE__ */ ae(lK, [["render", cK]]), dK = {
37252
+ const OY = /* @__PURE__ */ ae(lK, [["render", cK]]), dK = {
37253
37253
  name: "DpSlidebar",
37254
37254
  components: {
37255
37255
  DpIcon: nn
@@ -37284,30 +37284,32 @@ const IY = /* @__PURE__ */ ae(lK, [["render", cK]]), dK = {
37284
37284
  class: "c-slidebar__container",
37285
37285
  "data-slidebar-container": "",
37286
37286
  "data-cy": "sidebarModal"
37287
- }, fK = { class: "u-ml-1_5" };
37288
- function pK(t, e, n, r, i, s) {
37287
+ }, fK = { class: "c-slidebar__scroll-container" }, pK = { class: "u-ml-1_5" };
37288
+ function mK(t, e, n, r, i, s) {
37289
37289
  const o = ie("dp-icon");
37290
37290
  return g(), b("div", uK, [
37291
37291
  w("div", hK, [
37292
37292
  W(t.$slots, "dragHandle"),
37293
37293
  w("div", fK, [
37294
- w("button", {
37295
- type: "button",
37296
- class: "btn--blank o-link--default u-mt-0_5 u-n-ml u-mb",
37297
- "data-slidebar-hide": "",
37298
- onClick: e[0] || (e[0] = (a) => t.$emit("close"))
37299
- }, [
37300
- ve(o, {
37301
- icon: "close",
37302
- size: "large"
37303
- })
37304
- ]),
37305
- W(t.$slots, "default")
37294
+ w("div", pK, [
37295
+ w("button", {
37296
+ type: "button",
37297
+ class: "btn--blank o-link--default u-mt-0_5 u-n-ml u-mb",
37298
+ "data-slidebar-hide": "",
37299
+ onClick: e[0] || (e[0] = (a) => t.$emit("close"))
37300
+ }, [
37301
+ ve(o, {
37302
+ icon: "close",
37303
+ size: "large"
37304
+ })
37305
+ ]),
37306
+ W(t.$slots, "default")
37307
+ ])
37306
37308
  ])
37307
37309
  ])
37308
37310
  ]);
37309
37311
  }
37310
- const OY = /* @__PURE__ */ ae(dK, [["render", pK]]), mK = {
37312
+ const _Y = /* @__PURE__ */ ae(dK, [["render", mK]]), gK = {
37311
37313
  name: "DpSplitButton",
37312
37314
  directives: {
37313
37315
  onClickOutside: cf
@@ -37333,10 +37335,10 @@ const OY = /* @__PURE__ */ ae(dK, [["render", pK]]), mK = {
37333
37335
  mounted() {
37334
37336
  this.hasDropdownContent = typeof this.$slots.dropdown < "u";
37335
37337
  }
37336
- }, gK = { class: "c-splitbutton" }, yK = ["aria-expanded"], bK = { class: "sr-only" };
37337
- function vK(t, e, n, r, i, s) {
37338
+ }, yK = { class: "c-splitbutton" }, bK = ["aria-expanded"], vK = { class: "sr-only" };
37339
+ function wK(t, e, n, r, i, s) {
37338
37340
  const o = tn("on-click-outside");
37339
- return Ce((g(), b("div", gK, [
37341
+ return Ce((g(), b("div", yK, [
37340
37342
  W(t.$slots, "default", {}, () => [
37341
37343
  e[2] || (e[2] = w("button", {
37342
37344
  class: "btn btn--primary",
@@ -37354,8 +37356,8 @@ function vK(t, e, n, r, i, s) {
37354
37356
  onKeyup: e[1] || (e[1] = Lt(Me((a) => i.isOpen ? i.isOpen = !i.isOpen : "", ["prevent"]), ["esc"]))
37355
37357
  }, [
37356
37358
  e[3] || (e[3] = w("i", { class: "fa fa-caret-down c-splitbutton__trigger-icon" }, null, -1)),
37357
- w("span", bK, le(i.isOpen ? i.translations.close : i.translations.open), 1)
37358
- ], 42, yK)) : O("", !0),
37359
+ w("span", vK, le(i.isOpen ? i.translations.close : i.translations.open), 1)
37360
+ ], 42, bK)) : O("", !0),
37359
37361
  i.hasDropdownContent ? (g(), b("div", {
37360
37362
  key: 1,
37361
37363
  class: H(["c-splitbutton__dropdown", { "is-open": i.isOpen }]),
@@ -37369,7 +37371,7 @@ function vK(t, e, n, r, i, s) {
37369
37371
  [o, s.close]
37370
37372
  ]);
37371
37373
  }
37372
- const _Y = /* @__PURE__ */ ae(mK, [["render", vK]]), wK = {
37374
+ const NY = /* @__PURE__ */ ae(gK, [["render", wK]]), SK = {
37373
37375
  name: "DpTab",
37374
37376
  props: {
37375
37377
  id: {
@@ -37397,22 +37399,22 @@ const _Y = /* @__PURE__ */ ae(mK, [["render", vK]]), wK = {
37397
37399
  default: null
37398
37400
  }
37399
37401
  }
37400
- }, SK = ["id", "aria-labelledby"];
37401
- function kK(t, e, n, r, i, s) {
37402
+ }, kK = ["id", "aria-labelledby"];
37403
+ function AK(t, e, n, r, i, s) {
37402
37404
  return Ce((g(), b("section", {
37403
37405
  id: n.id,
37404
37406
  "aria-labelledby": `tab-${n.id}`,
37405
37407
  role: "tabpanel"
37406
37408
  }, [
37407
37409
  W(t.$slots, "default")
37408
- ], 8, SK)), [
37410
+ ], 8, kK)), [
37409
37411
  [bl, n.isActive]
37410
37412
  ]);
37411
37413
  }
37412
- const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37414
+ const LY = /* @__PURE__ */ ae(SK, [["render", AK]]), xK = {
37413
37415
  class: "flex flex-wrap flex-col sm:flex-row gap-x-4 gap-y-2 items-start list-style-none border--bottom",
37414
37416
  role: "tablist"
37415
- }, xK = ["id", "aria-selected", "aria-controls", "data-cy", "onClick"], CK = { key: 0 }, LY = {
37417
+ }, CK = ["id", "aria-selected", "aria-controls", "data-cy", "onClick"], EK = { key: 0 }, VY = {
37416
37418
  __name: "DpTabs",
37417
37419
  props: {
37418
37420
  activeId: {
@@ -37454,7 +37456,7 @@ const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37454
37456
  }), vl(() => {
37455
37457
  n.useUrlFragment && window.removeEventListener("hashchange", a);
37456
37458
  }), (h, f) => (g(), b("div", null, [
37457
- w("div", AK, [
37459
+ w("div", xK, [
37458
37460
  (g(!0), b(Ee, null, Te(o.value, (p, y) => (g(), b("button", {
37459
37461
  id: `tab-${p.props.id}`,
37460
37462
  key: `tab:${y}`,
@@ -37470,22 +37472,22 @@ const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37470
37472
  onClick: Me((m) => l(p.props.id), ["prevent"])
37471
37473
  }, [
37472
37474
  bt(le(p.props.label) + " ", 1),
37473
- p.props.suffix ? Ce((g(), b("span", CK, null, 512)), [
37475
+ p.props.suffix ? Ce((g(), b("span", EK, null, 512)), [
37474
37476
  [et(rr), p.props.suffix]
37475
37477
  ]) : O("", !0)
37476
- ], 10, xK))), 128))
37478
+ ], 10, CK))), 128))
37477
37479
  ]),
37478
37480
  w("div", null, [
37479
37481
  W(h.$slots, "default", { activeTabId: s.value })
37480
37482
  ])
37481
37483
  ]));
37482
37484
  }
37483
- }, EK = {
37485
+ }, MK = {
37484
37486
  type: [Boolean, String],
37485
37487
  required: !1,
37486
37488
  default: null,
37487
37489
  validator: (t) => t !== !0 && Number(t) % 1 === 0
37488
- }, MK = (t) => {
37490
+ }, TK = (t) => {
37489
37491
  const e = {
37490
37492
  textarea: ["cols", "rows"]
37491
37493
  };
@@ -37503,13 +37505,13 @@ const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37503
37505
  console.error(`A Vue form component of type "${t}" is used with the "attributes" prop containing a disallowed attr.`);
37504
37506
  }
37505
37507
  };
37506
- }, TK = {
37508
+ }, $K = {
37507
37509
  name: "DpTextArea",
37508
37510
  components: {
37509
37511
  DpLabel: lr
37510
37512
  },
37511
37513
  props: {
37512
- attributes: MK("textarea"),
37514
+ attributes: TK("textarea"),
37513
37515
  dataDpValidateErrorFieldname: {
37514
37516
  type: String,
37515
37517
  required: !1,
@@ -37556,7 +37558,7 @@ const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37556
37558
  required: !1,
37557
37559
  default: ""
37558
37560
  },
37559
- maxlength: EK,
37561
+ maxlength: MK,
37560
37562
  name: {
37561
37563
  type: String,
37562
37564
  required: !1,
@@ -37617,8 +37619,8 @@ const NY = /* @__PURE__ */ ae(wK, [["render", kK]]), AK = {
37617
37619
  this.currentValue = this.value;
37618
37620
  }
37619
37621
  }
37620
- }, $K = ["id", "name", "data-dp-validate-if", "data-dp-validate-error-fieldname", "data-cy", "disabled", "maxlength", "required"];
37621
- function PK(t, e, n, r, i, s) {
37622
+ }, PK = ["id", "name", "data-dp-validate-if", "data-dp-validate-error-fieldname", "data-cy", "disabled", "maxlength", "required"];
37623
+ function DK(t, e, n, r, i, s) {
37622
37624
  const o = ie("dp-label");
37623
37625
  return g(), b("div", {
37624
37626
  class: H({ "flex flex-col": n.growToParent })
@@ -37636,12 +37638,12 @@ function PK(t, e, n, r, i, s) {
37636
37638
  maxlength: n.maxlength,
37637
37639
  required: n.required,
37638
37640
  onInput: e[1] || (e[1] = (a) => t.$emit("input", i.currentValue))
37639
- }), null, 16, $K), [
37641
+ }), null, 16, PK), [
37640
37642
  [dm, i.currentValue]
37641
37643
  ])
37642
37644
  ], 2);
37643
37645
  }
37644
- const VY = /* @__PURE__ */ ae(TK, [["render", PK]]), DK = {
37646
+ const RY = /* @__PURE__ */ ae($K, [["render", DK]]), IK = {
37645
37647
  name: "DpToggle",
37646
37648
  props: {
37647
37649
  ariaLabel: {
@@ -37682,8 +37684,8 @@ const VY = /* @__PURE__ */ ae(TK, [["render", PK]]), DK = {
37682
37684
  this.disabled === !1 && this.$emit("input", !this.value);
37683
37685
  }
37684
37686
  }
37685
- }, IK = ["aria-checked", "aria-disabled", "aria-label"], OK = { class: "toggle-disabled" };
37686
- function _K(t, e, n, r, i, s) {
37687
+ }, OK = ["aria-checked", "aria-disabled", "aria-label"], _K = { class: "toggle-disabled" };
37688
+ function NK(t, e, n, r, i, s) {
37687
37689
  return g(), b("span", {
37688
37690
  class: "toggle-wrapper",
37689
37691
  role: "checkbox",
@@ -37694,7 +37696,7 @@ function _K(t, e, n, r, i, s) {
37694
37696
  onClick: e[0] || (e[0] = (...o) => s.toggle && s.toggle(...o)),
37695
37697
  onKeydown: e[1] || (e[1] = Lt(Me((...o) => s.toggle && s.toggle(...o), ["prevent"]), ["space"]))
37696
37698
  }, [
37697
- Ce(w("div", OK, null, 512), [
37699
+ Ce(w("div", _K, null, 512), [
37698
37700
  [bl, n.disabled]
37699
37701
  ]),
37700
37702
  w("span", {
@@ -37705,9 +37707,9 @@ function _K(t, e, n, r, i, s) {
37705
37707
  class: "toggle-indicator",
37706
37708
  style: di(s.indicatorStyles)
37707
37709
  }, null, 4)
37708
- ], 40, IK);
37710
+ ], 40, OK);
37709
37711
  }
37710
- const RY = /* @__PURE__ */ ae(DK, [["render", _K]]), NK = {
37712
+ const HY = /* @__PURE__ */ ae(IK, [["render", NK]]), LK = {
37711
37713
  name: "DpTooltip",
37712
37714
  directives: {
37713
37715
  cleanhtml: rr
@@ -37746,7 +37748,7 @@ const RY = /* @__PURE__ */ ae(DK, [["render", _K]]), NK = {
37746
37748
  tg(this.tooltipHook);
37747
37749
  }
37748
37750
  };
37749
- function LK(t, e, n, r, i, s) {
37751
+ function VK(t, e, n, r, i, s) {
37750
37752
  return g(), de(bi(n.nodeType), { class: "inline-block" }, {
37751
37753
  default: Ie(() => [
37752
37754
  W(t.$slots, "default")
@@ -37754,7 +37756,7 @@ function LK(t, e, n, r, i, s) {
37754
37756
  _: 3
37755
37757
  });
37756
37758
  }
37757
- const HY = /* @__PURE__ */ ae(NK, [["render", LK]]), VK = {
37759
+ const BY = /* @__PURE__ */ ae(LK, [["render", VK]]), RK = {
37758
37760
  name: "DpTreeListCheckbox",
37759
37761
  model: {
37760
37762
  prop: "checked",
@@ -37798,9 +37800,9 @@ const HY = /* @__PURE__ */ ae(NK, [["render", LK]]), VK = {
37798
37800
  return this.checked ? t : e;
37799
37801
  }
37800
37802
  }
37801
- }, RK = { class: "u-mb-0" }, HK = ["id", "name", "checked", "value"], BK = { class: "sr-only" };
37802
- function FK(t, e, n, r, i, s) {
37803
- return g(), b("label", RK, [
37803
+ }, HK = { class: "u-mb-0" }, BK = ["id", "name", "checked", "value"], FK = { class: "sr-only" };
37804
+ function qK(t, e, n, r, i, s) {
37805
+ return g(), b("label", HK, [
37804
37806
  w("input", {
37805
37807
  id: n.name,
37806
37808
  class: "u-m-0_5 u-ml-0_25",
@@ -37809,11 +37811,11 @@ function FK(t, e, n, r, i, s) {
37809
37811
  checked: n.checked,
37810
37812
  value: n.stringValue,
37811
37813
  onClick: e[0] || (e[0] = (...o) => s.check && s.check(...o))
37812
- }, null, 8, HK),
37813
- w("span", BK, le(s.label), 1)
37814
+ }, null, 8, BK),
37815
+ w("span", FK, le(s.label), 1)
37814
37816
  ]);
37815
37817
  }
37816
- const qb = /* @__PURE__ */ ae(VK, [["render", FK]]), qK = 30, zb = 22, zK = 25, ZK = {
37818
+ const qb = /* @__PURE__ */ ae(RK, [["render", qK]]), zK = 30, zb = 22, ZK = 25, UK = {
37817
37819
  name: "DpTreeListToggle",
37818
37820
  props: {
37819
37821
  value: {
@@ -37855,8 +37857,8 @@ const qb = /* @__PURE__ */ ae(VK, [["render", FK]]), qK = 30, zb = 22, zK = 25,
37855
37857
  this.$emit("input", !this.value), this.$emit("update:modelValue", !this.value);
37856
37858
  }
37857
37859
  }
37858
- }, UK = ["aria-label"];
37859
- function jK(t, e, n, r, i, s) {
37860
+ }, jK = ["aria-label"];
37861
+ function WK(t, e, n, r, i, s) {
37860
37862
  return g(), b("button", {
37861
37863
  type: "button",
37862
37864
  class: "o-link--default btn--blank",
@@ -37867,9 +37869,9 @@ function jK(t, e, n, r, i, s) {
37867
37869
  class: H(s.iconClass),
37868
37870
  "aria-hidden": "true"
37869
37871
  }, null, 2)
37870
- ], 8, UK);
37872
+ ], 8, jK);
37871
37873
  }
37872
- const Zb = /* @__PURE__ */ ae(ZK, [["render", jK]]), WK = {
37874
+ const Zb = /* @__PURE__ */ ae(UK, [["render", WK]]), KK = {
37873
37875
  name: "DpTreeListNode",
37874
37876
  components: {
37875
37877
  DpDraggable: pf,
@@ -37975,8 +37977,8 @@ const Zb = /* @__PURE__ */ ae(ZK, [["render", jK]]), WK = {
37975
37977
  return t ? e = this.isExpanded ? "fa-folder-open" : "fa-folder" : e = "fa-folder-o", "fa " + e;
37976
37978
  },
37977
37979
  indentationStyle() {
37978
- let t = this.level * zK;
37979
- return (this.isBranch && !this.options.dragBranches && this.options.dragLeaves || this.isLeaf && this.options.dragBranches && !this.options.dragLeaves) && (t += zb), (this.isBranch && !this.options.branchesSelectable && this.options.leavesSelectable || this.isLeaf && this.options.branchesSelectable && !this.options.leavesSelectable) && (t += qK), `margin-left: ${t}px;`;
37980
+ let t = this.level * ZK;
37981
+ return (this.isBranch && !this.options.dragBranches && this.options.dragLeaves || this.isLeaf && this.options.dragBranches && !this.options.dragLeaves) && (t += zb), (this.isBranch && !this.options.branchesSelectable && this.options.leavesSelectable || this.isLeaf && this.options.branchesSelectable && !this.options.leavesSelectable) && (t += zK), `margin-left: ${t}px;`;
37980
37982
  },
37981
37983
  isBranch() {
37982
37984
  return this.checkBranch({ node: this.node, children: this.children, id: this.nodeId });
@@ -38026,18 +38028,18 @@ const Zb = /* @__PURE__ */ ae(ZK, [["render", jK]]), WK = {
38026
38028
  mounted() {
38027
38029
  this.$root.$on("treelist:toggle-all", (t) => this.isExpanded = t);
38028
38030
  }
38029
- }, KK = ["id"], GK = { class: "c-treelist__node flex" }, JK = { class: "grow u-pl-0 u-p-0_25" }, YK = {
38031
+ }, GK = ["id"], JK = { class: "c-treelist__node flex" }, YK = { class: "grow u-pl-0 u-p-0_25" }, XK = {
38030
38032
  key: 3,
38031
38033
  class: "min-w-4"
38032
38034
  };
38033
- function XK(t, e, n, r, i, s) {
38035
+ function QK(t, e, n, r, i, s) {
38034
38036
  const o = ie("dp-icon"), a = ie("dp-tree-list-checkbox"), l = ie("dp-tree-list-toggle"), c = ie("dp-tree-list-node", !0), d = tn("tooltip");
38035
38037
  return g(), b("li", {
38036
38038
  id: n.nodeId,
38037
38039
  class: "border--top relative",
38038
38040
  "data-cy": "treeListNode"
38039
38041
  }, [
38040
- w("div", GK, [
38042
+ w("div", JK, [
38041
38043
  s.isDraggable ? (g(), b("div", {
38042
38044
  key: 0,
38043
38045
  class: H(["inline-block u-p-0_25 u-pr-0 u-mt-0_125", s.dragHandle])
@@ -38065,7 +38067,7 @@ function XK(t, e, n, r, i, s) {
38065
38067
  class: H(["c-treelist__folder text--left u-pv-0_25", { "pointer-events-none": n.children.length === 0 }]),
38066
38068
  "icon-class-prop": s.iconClassFolder
38067
38069
  }, null, 8, ["modelValue", "class", "icon-class-prop"])) : O("", !0),
38068
- w("div", JK, [
38070
+ w("div", YK, [
38069
38071
  s.isBranch ? W(t.$slots, "branch", {
38070
38072
  key: 0,
38071
38073
  nodeElement: n.node,
@@ -38090,7 +38092,7 @@ function XK(t, e, n, r, i, s) {
38090
38092
  disabled: !s.hasToggle
38091
38093
  }, null, 8, ["modelValue", "disabled"])), [
38092
38094
  [d, s.hasToggle ? "" : i.translations.noElementsExisting]
38093
- ]) : (g(), b("div", YK))
38095
+ ]) : (g(), b("div", XK))
38094
38096
  ]),
38095
38097
  (g(), de(bi(n.draggable ? "dp-draggable" : "div"), {
38096
38098
  "drag-across-branches": n.options.dragAcrossBranches ? n.options.dragAcrossBranches : null,
@@ -38141,10 +38143,10 @@ function XK(t, e, n, r, i, s) {
38141
38143
  ]),
38142
38144
  _: 3
38143
38145
  }, 40, ["drag-across-branches", "content-data", "group-id", "handle-change", "handle-drag", "is-draggable", "node-id", "on-move", "opts"]))
38144
- ], 8, KK);
38146
+ ], 8, GK);
38145
38147
  }
38146
- const QK = /* @__PURE__ */ ae(WK, [["render", XK]]);
38147
- class eG {
38148
+ const eG = /* @__PURE__ */ ae(KK, [["render", QK]]);
38149
+ class tG {
38148
38150
  constructor(e = {}) {
38149
38151
  this.options = {
38150
38152
  branchesSelectable: !1,
@@ -38320,12 +38322,12 @@ class eG {
38320
38322
  this.nodePath.clear(), this.nodeParentId.clear(), this.nodeChildren.clear(), this.nodeType.clear(), this.nodeObject.clear(), this.selectedNodes.clear(), this.explicitlySelected.clear(), this.totalSelectableCount = 0, this.selectedSelectableCount = 0;
38321
38323
  }
38322
38324
  }
38323
- const tG = {
38325
+ const nG = {
38324
38326
  name: "DpTreeList",
38325
38327
  components: {
38326
38328
  DpDraggable: pf,
38327
38329
  DpTreeListCheckbox: qb,
38328
- DpTreeListNode: QK,
38330
+ DpTreeListNode: eG,
38329
38331
  DpTreeListToggle: Zb
38330
38332
  },
38331
38333
  props: {
@@ -38550,17 +38552,17 @@ const tG = {
38550
38552
  parentDeselect: !1
38551
38553
  }
38552
38554
  };
38553
- this.opts = gm(t, this.options), this.selectionManager = new eG(this.opts), this.rebuildIndexesAndUpdateTree(this.treeData), this.initFixedControls();
38555
+ this.opts = gm(t, this.options), this.selectionManager = new tG(this.opts), this.rebuildIndexesAndUpdateTree(this.treeData), this.initFixedControls();
38554
38556
  },
38555
38557
  beforeUnmount() {
38556
38558
  this.destroyFixedControls();
38557
38559
  }
38558
- }, nG = { class: "flex bg-color--white" }, rG = { class: "grow color--grey" }, iG = {
38560
+ }, rG = { class: "flex bg-color--white" }, iG = { class: "grow color--grey" }, sG = {
38559
38561
  key: 0,
38560
38562
  ref: "footer",
38561
38563
  class: "c-treelist__footer o-sticky"
38562
- }, sG = { class: "u-p-0_5 bg-color--white" };
38563
- function oG(t, e, n, r, i, s) {
38564
+ }, oG = { class: "u-p-0_5 bg-color--white" };
38565
+ function aG(t, e, n, r, i, s) {
38564
38566
  const o = ie("dp-tree-list-checkbox"), a = ie("dp-tree-list-toggle"), l = ie("dp-tree-list-node");
38565
38567
  return g(), b("div", {
38566
38568
  class: H(["c-treelist", { "is-dragging": i.dragging }])
@@ -38569,7 +38571,7 @@ function oG(t, e, n, r, i, s) {
38569
38571
  ref: "header",
38570
38572
  class: H(["c-treelist__header o-sticky line-height--2", { "has-checkbox": s.checkAll }])
38571
38573
  }, [
38572
- w("div", nG, [
38574
+ w("div", rG, [
38573
38575
  s.checkAll ? (g(), de(o, {
38574
38576
  key: 0,
38575
38577
  modelValue: s.allElementsSelected,
@@ -38578,7 +38580,7 @@ function oG(t, e, n, r, i, s) {
38578
38580
  "check-all": "",
38579
38581
  style: di(s.checkboxIndentationStyle)
38580
38582
  }, null, 8, ["modelValue", "style"])) : O("", !0),
38581
- w("div", rG, [
38583
+ w("div", iG, [
38582
38584
  W(t.$slots, "header")
38583
38585
  ]),
38584
38586
  n.treeData.length > 0 ? (g(), de(a, {
@@ -38637,14 +38639,14 @@ function oG(t, e, n, r, i, s) {
38637
38639
  ]),
38638
38640
  _: 3
38639
38641
  }, 40, ["drag-across-branches", "content-data", "handle-change", "handle-drag", "is-draggable", "on-move", "opts"])),
38640
- t.$slots.footer ? (g(), b("div", iG, [
38641
- w("div", sG, [
38642
+ t.$slots.footer ? (g(), b("div", sG, [
38643
+ w("div", oG, [
38642
38644
  W(t.$slots, "footer")
38643
38645
  ])
38644
38646
  ], 512)) : O("", !0)
38645
38647
  ], 2);
38646
38648
  }
38647
- const BY = /* @__PURE__ */ ae(tG, [["render", oG]]);
38649
+ const FY = /* @__PURE__ */ ae(nG, [["render", aG]]);
38648
38650
  (function() {
38649
38651
  if (typeof window < "u") try {
38650
38652
  var t = new window.CustomEvent("test", { cancelable: !0 });
@@ -38667,13 +38669,13 @@ const BY = /* @__PURE__ */ ae(tG, [["render", oG]]);
38667
38669
  }
38668
38670
  })();
38669
38671
  var Pi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
38670
- function aG(t, e) {
38672
+ function lG(t, e) {
38671
38673
  return t(e = { exports: {} }, e.exports), e.exports;
38672
38674
  }
38673
38675
  function re(t, e, n) {
38674
- return (e = cG(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
38676
+ return (e = dG(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
38675
38677
  }
38676
- function lG(t, e) {
38678
+ function cG(t, e) {
38677
38679
  if (typeof t != "object" || t === null) return t;
38678
38680
  var n = t[Symbol.toPrimitive];
38679
38681
  if (n !== void 0) {
@@ -38683,11 +38685,11 @@ function lG(t, e) {
38683
38685
  }
38684
38686
  return (e === "string" ? String : Number)(t);
38685
38687
  }
38686
- function cG(t) {
38687
- var e = lG(t, "string");
38688
+ function dG(t) {
38689
+ var e = cG(t, "string");
38688
38690
  return typeof e == "symbol" ? e : String(e);
38689
38691
  }
38690
- function dG(t, e) {
38692
+ function uG(t, e) {
38691
38693
  if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
38692
38694
  }
38693
38695
  function J1(t, e) {
@@ -38696,10 +38698,10 @@ function J1(t, e) {
38696
38698
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r);
38697
38699
  }
38698
38700
  }
38699
- function uG(t, e, n) {
38701
+ function hG(t, e, n) {
38700
38702
  return e && J1(t.prototype, e), n && J1(t, n), t;
38701
38703
  }
38702
- function hG(t, e, n) {
38704
+ function fG(t, e, n) {
38703
38705
  return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
38704
38706
  }
38705
38707
  function Y1(t, e) {
@@ -38716,7 +38718,7 @@ function X1(t) {
38716
38718
  for (var e = 1; e < arguments.length; e++) {
38717
38719
  var n = arguments[e] != null ? arguments[e] : {};
38718
38720
  e % 2 ? Y1(Object(n), !0).forEach(function(r) {
38719
- hG(t, r, n[r]);
38721
+ fG(t, r, n[r]);
38720
38722
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Y1(Object(n)).forEach(function(r) {
38721
38723
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
38722
38724
  });
@@ -38921,12 +38923,12 @@ function X1(t) {
38921
38923
  }
38922
38924
  }(Pi !== void 0 ? Pi : typeof window < "u" ? window : typeof self < "u" ? self : Pi);
38923
38925
  var Q1 = { addCSS: !0, thumbWidth: 15, watch: !0 };
38924
- function fG(t, e) {
38926
+ function pG(t, e) {
38925
38927
  return (function() {
38926
38928
  return Array.from(document.querySelectorAll(e)).includes(this);
38927
38929
  }).call(t, e);
38928
38930
  }
38929
- function pG(t, e) {
38931
+ function mG(t, e) {
38930
38932
  if (t && e) {
38931
38933
  var n = new Event(e, { bubbles: !0 });
38932
38934
  t.dispatchEvent(n);
@@ -38940,41 +38942,41 @@ var So = function(t) {
38940
38942
  return t == null;
38941
38943
  }, jb = function(t) {
38942
38944
  return So(t) === Object;
38943
- }, mG = function(t) {
38945
+ }, gG = function(t) {
38944
38946
  return So(t) === Number && !Number.isNaN(t);
38945
38947
  }, Wb = function(t) {
38946
38948
  return So(t) === String;
38947
- }, gG = function(t) {
38948
- return So(t) === Boolean;
38949
38949
  }, yG = function(t) {
38950
+ return So(t) === Boolean;
38951
+ }, bG = function(t) {
38950
38952
  return So(t) === Function;
38951
38953
  }, Kb = function(t) {
38952
38954
  return Array.isArray(t);
38953
38955
  }, Gb = function(t) {
38954
38956
  return bf(t, NodeList);
38955
- }, bG = function(t) {
38956
- return bf(t, Element);
38957
38957
  }, vG = function(t) {
38958
- return bf(t, Event);
38958
+ return bf(t, Element);
38959
38959
  }, wG = function(t) {
38960
+ return bf(t, Event);
38961
+ }, SG = function(t) {
38960
38962
  return Ub(t) || (Wb(t) || Kb(t) || Gb(t)) && !t.length || jb(t) && !Object.keys(t).length;
38961
- }, Pt = { nullOrUndefined: Ub, object: jb, number: mG, string: Wb, boolean: gG, function: yG, array: Kb, nodeList: Gb, element: bG, event: vG, empty: wG };
38962
- function SG(t) {
38963
+ }, Pt = { nullOrUndefined: Ub, object: jb, number: gG, string: Wb, boolean: yG, function: bG, array: Kb, nodeList: Gb, element: vG, event: wG, empty: SG };
38964
+ function kG(t) {
38963
38965
  var e = "".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
38964
38966
  return e ? Math.max(0, (e[1] ? e[1].length : 0) - (e[2] ? +e[2] : 0)) : 0;
38965
38967
  }
38966
- function kG(t, e) {
38968
+ function AG(t, e) {
38967
38969
  if (1 > e) {
38968
- var n = SG(e);
38970
+ var n = kG(e);
38969
38971
  return parseFloat(t.toFixed(n));
38970
38972
  }
38971
38973
  return Math.round(t / e) * e;
38972
38974
  }
38973
- var AG = function() {
38975
+ var xG = function() {
38974
38976
  function t(e, n) {
38975
- dG(this, t), Pt.element(e) ? this.element = e : Pt.string(e) && (this.element = document.querySelector(e)), Pt.element(this.element) && Pt.empty(this.element.rangeTouch) && (this.config = X1({}, Q1, {}, n), this.init());
38977
+ uG(this, t), Pt.element(e) ? this.element = e : Pt.string(e) && (this.element = document.querySelector(e)), Pt.element(this.element) && Pt.empty(this.element.rangeTouch) && (this.config = X1({}, Q1, {}, n), this.init());
38976
38978
  }
38977
- return uG(t, [{ key: "init", value: function() {
38979
+ return hG(t, [{ key: "init", value: function() {
38978
38980
  t.enabled && (this.config.addCSS && (this.element.style.userSelect = "none", this.element.style.webKitUserSelect = "none", this.element.style.touchAction = "manipulation"), this.listeners(!0), this.element.rangeTouch = this);
38979
38981
  } }, { key: "destroy", value: function() {
38980
38982
  t.enabled && (this.config.addCSS && (this.element.style.userSelect = "", this.element.style.webKitUserSelect = "", this.element.style.touchAction = ""), this.listeners(!1), this.element.rangeTouch = null);
@@ -38988,9 +38990,9 @@ var AG = function() {
38988
38990
  } }, { key: "get", value: function(e) {
38989
38991
  if (!t.enabled || !Pt.event(e)) return null;
38990
38992
  var n, r = e.target, i = e.changedTouches[0], s = parseFloat(r.getAttribute("min")) || 0, o = parseFloat(r.getAttribute("max")) || 100, a = parseFloat(r.getAttribute("step")) || 1, l = r.getBoundingClientRect(), c = 100 / l.width * (this.config.thumbWidth / 2) / 100;
38991
- return 0 > (n = 100 / l.width * (i.clientX - l.left)) ? n = 0 : 100 < n && (n = 100), 50 > n ? n -= (100 - 2 * n) * c : 50 < n && (n += 2 * (n - 50) * c), s + kG(n / 100 * (o - s), a);
38993
+ return 0 > (n = 100 / l.width * (i.clientX - l.left)) ? n = 0 : 100 < n && (n = 100), 50 > n ? n -= (100 - 2 * n) * c : 50 < n && (n += 2 * (n - 50) * c), s + AG(n / 100 * (o - s), a);
38992
38994
  } }, { key: "set", value: function(e) {
38993
- t.enabled && Pt.event(e) && !e.target.disabled && (e.preventDefault(), e.target.value = this.get(e), pG(e.target, e.type === "touchend" ? "change" : "input"));
38995
+ t.enabled && Pt.event(e) && !e.target.disabled && (e.preventDefault(), e.target.value = this.get(e), mG(e.target, e.type === "touchend" ? "change" : "input"));
38994
38996
  } }], [{ key: "setup", value: function(e) {
38995
38997
  var n = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : {}, r = null;
38996
38998
  if (Pt.empty(e) || Pt.string(e) ? r = Array.from(document.querySelectorAll(Pt.string(e) ? e : 'input[type="range"]')) : Pt.element(e) ? r = [e] : Pt.nodeList(e) ? r = Array.from(e) : Pt.array(e) && (r = e.filter(Pt.element)), Pt.empty(r)) return null;
@@ -38999,7 +39001,7 @@ var AG = function() {
38999
39001
  var s = new MutationObserver(function(o) {
39000
39002
  Array.from(o).forEach(function(a) {
39001
39003
  Array.from(a.addedNodes).forEach(function(l) {
39002
- Pt.element(l) && fG(l, e) && new t(l, i);
39004
+ Pt.element(l) && pG(l, e) && new t(l, i);
39003
39005
  });
39004
39006
  });
39005
39007
  });
@@ -39012,7 +39014,7 @@ var AG = function() {
39012
39014
  return "ontouchstart" in document.documentElement;
39013
39015
  } }]), t;
39014
39016
  }();
39015
- const ko = (t) => t != null ? t.constructor : null, sr = (t, e) => !!(t && e && t instanceof e), vf = (t) => t == null, Jb = (t) => ko(t) === Object, xG = (t) => ko(t) === Number && !Number.isNaN(t), Kl = (t) => ko(t) === String, CG = (t) => ko(t) === Boolean, Yb = (t) => typeof t == "function", Xb = (t) => Array.isArray(t), EG = (t) => sr(t, WeakMap), Qb = (t) => sr(t, NodeList), MG = (t) => ko(t) === Text, TG = (t) => sr(t, Event), $G = (t) => sr(t, KeyboardEvent), PG = (t) => sr(t, window.TextTrackCue) || sr(t, window.VTTCue), DG = (t) => sr(t, TextTrack) || !vf(t) && Kl(t.kind), IG = (t) => sr(t, Promise) && Yb(t.then), OG = (t) => t !== null && typeof t == "object" && t.nodeType === 1 && typeof t.style == "object" && typeof t.ownerDocument == "object", e8 = (t) => vf(t) || (Kl(t) || Xb(t) || Qb(t)) && !t.length || Jb(t) && !Object.keys(t).length, _G = (t) => {
39017
+ const ko = (t) => t != null ? t.constructor : null, sr = (t, e) => !!(t && e && t instanceof e), vf = (t) => t == null, Jb = (t) => ko(t) === Object, CG = (t) => ko(t) === Number && !Number.isNaN(t), Kl = (t) => ko(t) === String, EG = (t) => ko(t) === Boolean, Yb = (t) => typeof t == "function", Xb = (t) => Array.isArray(t), MG = (t) => sr(t, WeakMap), Qb = (t) => sr(t, NodeList), TG = (t) => ko(t) === Text, $G = (t) => sr(t, Event), PG = (t) => sr(t, KeyboardEvent), DG = (t) => sr(t, window.TextTrackCue) || sr(t, window.VTTCue), IG = (t) => sr(t, TextTrack) || !vf(t) && Kl(t.kind), OG = (t) => sr(t, Promise) && Yb(t.then), _G = (t) => t !== null && typeof t == "object" && t.nodeType === 1 && typeof t.style == "object" && typeof t.ownerDocument == "object", e8 = (t) => vf(t) || (Kl(t) || Xb(t) || Qb(t)) && !t.length || Jb(t) && !Object.keys(t).length, NG = (t) => {
39016
39018
  if (sr(t, window.URL)) return !0;
39017
39019
  if (!Kl(t)) return !1;
39018
39020
  let e = t;
@@ -39023,7 +39025,7 @@ const ko = (t) => t != null ? t.constructor : null, sr = (t, e) => !!(t && e &&
39023
39025
  return !1;
39024
39026
  }
39025
39027
  };
39026
- var A = { nullOrUndefined: vf, object: Jb, number: xG, string: Kl, boolean: CG, function: Yb, array: Xb, weakMap: EG, nodeList: Qb, element: OG, textNode: MG, event: TG, keyboardEvent: $G, cue: PG, track: DG, promise: IG, url: _G, empty: e8 };
39028
+ var A = { nullOrUndefined: vf, object: Jb, number: CG, string: Kl, boolean: EG, function: Yb, array: Xb, weakMap: MG, nodeList: Qb, element: _G, textNode: TG, event: $G, keyboardEvent: PG, cue: DG, track: IG, promise: OG, url: NG, empty: e8 };
39027
39029
  const _u = (() => {
39028
39030
  const t = document.createElement("span"), e = { WebkitTransition: "webkitTransitionEnd", MozTransition: "transitionend", OTransition: "oTransitionEnd otransitionend", transition: "transitionend" }, n = Object.keys(e).find((r) => t.style[r] !== void 0);
39029
39031
  return !!A.string(n) && e[n];
@@ -39036,9 +39038,9 @@ function t8(t, e) {
39036
39038
  }
39037
39039
  }, e);
39038
39040
  }
39039
- const NG = !!window.document.documentMode, LG = /Edge/g.test(navigator.userAgent), VG = "WebkitAppearance" in document.documentElement.style && !/Edge/g.test(navigator.userAgent), RG = /iPhone|iPod/gi.test(navigator.userAgent) && navigator.maxTouchPoints > 1, HG = navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1, BG = /iPad|iPhone|iPod/gi.test(navigator.userAgent) && navigator.maxTouchPoints > 1;
39040
- var yt = { isIE: NG, isEdge: LG, isWebKit: VG, isIPhone: RG, isIPadOS: HG, isIos: BG };
39041
- function FG(t) {
39041
+ const LG = !!window.document.documentMode, VG = /Edge/g.test(navigator.userAgent), RG = "WebkitAppearance" in document.documentElement.style && !/Edge/g.test(navigator.userAgent), HG = /iPhone|iPod/gi.test(navigator.userAgent) && navigator.maxTouchPoints > 1, BG = navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1, FG = /iPad|iPhone|iPod/gi.test(navigator.userAgent) && navigator.maxTouchPoints > 1;
39042
+ var yt = { isIE: LG, isEdge: VG, isWebKit: RG, isIPhone: HG, isIPadOS: BG, isIos: FG };
39043
+ function qG(t) {
39042
39044
  return JSON.parse(JSON.stringify(t));
39043
39045
  }
39044
39046
  function n8(t, e) {
@@ -39065,7 +39067,7 @@ function fe(t, e, n) {
39065
39067
  const r = document.createElement(t);
39066
39068
  return A.object(e) && Nu(r, e), A.string(n) && (r.innerText = n), r;
39067
39069
  }
39068
- function qG(t, e) {
39070
+ function zG(t, e) {
39069
39071
  A.element(t) && A.element(e) && e.parentNode.insertBefore(t, e.nextSibling);
39070
39072
  }
39071
39073
  function em(t, e, n, r) {
@@ -39121,7 +39123,7 @@ function ti(t, e) {
39121
39123
  return Array.from(document.querySelectorAll(e)).includes(this);
39122
39124
  }).call(t, e);
39123
39125
  }
39124
- function zG(t, e) {
39126
+ function ZG(t, e) {
39125
39127
  const { prototype: n } = Element;
39126
39128
  return (n.closest || function() {
39127
39129
  let r = this;
@@ -39158,7 +39160,7 @@ const tm = { "audio/ogg": "vorbis", "audio/wav": "1", "video/webm": "vp8, vorbis
39158
39160
  }, textTracks: "textTracks" in document.createElement("video"), rangeInput: (() => {
39159
39161
  const t = document.createElement("input");
39160
39162
  return t.type = "range", t.type === "range";
39161
- })(), touch: "ontouchstart" in document.documentElement, transitions: _u !== !1, reducedMotion: "matchMedia" in window && window.matchMedia("(prefers-reduced-motion)").matches }, ZG = (() => {
39163
+ })(), touch: "ontouchstart" in document.documentElement, transitions: _u !== !1, reducedMotion: "matchMedia" in window && window.matchMedia("(prefers-reduced-motion)").matches }, UG = (() => {
39162
39164
  let t = !1;
39163
39165
  try {
39164
39166
  const e = Object.defineProperty({}, "passive", { get: () => (t = !0, null) });
@@ -39171,7 +39173,7 @@ function oo(t, e, n, r = !1, i = !0, s = !1) {
39171
39173
  if (!t || !("addEventListener" in t) || A.empty(e) || !A.function(n)) return;
39172
39174
  const o = e.split(" ");
39173
39175
  let a = s;
39174
- ZG && (a = { passive: i, capture: s }), o.forEach((l) => {
39176
+ UG && (a = { passive: i, capture: s }), o.forEach((l) => {
39175
39177
  this && this.eventListeners && r && this.eventListeners.push({ element: t, type: l, callback: n, options: a }), t[r ? "addEventListener" : "removeEventListener"](l, n, a);
39176
39178
  });
39177
39179
  }
@@ -39192,13 +39194,13 @@ function be(t, e = "", n = !1, r = {}) {
39192
39194
  const i = new CustomEvent(e, { bubbles: n, detail: { ...r, plyr: this } });
39193
39195
  t.dispatchEvent(i);
39194
39196
  }
39195
- function UG() {
39197
+ function jG() {
39196
39198
  this && this.eventListeners && (this.eventListeners.forEach((t) => {
39197
39199
  const { element: e, type: n, callback: r, options: i } = t;
39198
39200
  e.removeEventListener(n, r, i);
39199
39201
  }), this.eventListeners = []);
39200
39202
  }
39201
- function jG() {
39203
+ function WG() {
39202
39204
  return new Promise((t) => this.ready ? setTimeout(t, 0) : Pe.call(this, this.elements.container, "ready", t)).then(() => {
39203
39205
  });
39204
39206
  }
@@ -39248,7 +39250,7 @@ function a8(t, e, n = 0.05) {
39248
39250
  const r = t / e, i = i8(Object.keys(nm), r);
39249
39251
  return Math.abs(i - r) <= n ? nm[i] : [t, e];
39250
39252
  }
39251
- function WG() {
39253
+ function KG() {
39252
39254
  return [Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0), Math.max(document.documentElement.clientHeight || 0, window.innerHeight || 0)];
39253
39255
  }
39254
39256
  const Ir = { getSources() {
@@ -39281,29 +39283,29 @@ const Ir = { getSources() {
39281
39283
  }, cancelRequests() {
39282
39284
  this.isHTML5 && (Yn(Ir.getSources.call(this)), this.media.setAttribute("src", this.config.blankVideo), this.media.load(), this.debug.log("Cancelled network requests"));
39283
39285
  } };
39284
- function KG(t) {
39286
+ function GG(t) {
39285
39287
  return `${t}-${Math.floor(1e4 * Math.random())}`;
39286
39288
  }
39287
39289
  function Vu(t, ...e) {
39288
39290
  return A.empty(t) ? t : t.toString().replace(/{(\d+)}/g, (n, r) => e[r].toString());
39289
39291
  }
39290
- function GG(t, e) {
39292
+ function JG(t, e) {
39291
39293
  return t === 0 || e === 0 || Number.isNaN(t) || Number.isNaN(e) ? 0 : (t / e * 100).toFixed(2);
39292
39294
  }
39293
39295
  const Zs = (t = "", e = "", n = "") => t.replace(new RegExp(e.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1"), "g"), n.toString()), l8 = (t = "") => t.toString().replace(/\w\S*/g, (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase());
39294
- function JG(t = "") {
39296
+ function YG(t = "") {
39295
39297
  let e = t.toString();
39296
39298
  return e = Zs(e, "-", " "), e = Zs(e, "_", " "), e = l8(e), Zs(e, " ", "");
39297
39299
  }
39298
- function YG(t = "") {
39300
+ function XG(t = "") {
39299
39301
  let e = t.toString();
39300
- return e = JG(e), e.charAt(0).toLowerCase() + e.slice(1);
39302
+ return e = YG(e), e.charAt(0).toLowerCase() + e.slice(1);
39301
39303
  }
39302
- function XG(t) {
39304
+ function QG(t) {
39303
39305
  const e = document.createDocumentFragment(), n = document.createElement("div");
39304
39306
  return e.appendChild(n), n.innerHTML = t, e.firstChild.innerText;
39305
39307
  }
39306
- function QG(t) {
39308
+ function eJ(t) {
39307
39309
  const e = document.createElement("div");
39308
39310
  return e.appendChild(t), e.innerHTML;
39309
39311
  }
@@ -39392,12 +39394,12 @@ function c8(t, e) {
39392
39394
  });
39393
39395
  }
39394
39396
  }
39395
- const d8 = (t) => Math.trunc(t / 60 / 60 % 60, 10), eJ = (t) => Math.trunc(t / 60 % 60, 10), tJ = (t) => Math.trunc(t % 60, 10);
39397
+ const d8 = (t) => Math.trunc(t / 60 / 60 % 60, 10), tJ = (t) => Math.trunc(t / 60 % 60, 10), nJ = (t) => Math.trunc(t % 60, 10);
39396
39398
  function Jl(t = 0, e = !1, n = !1) {
39397
39399
  if (!A.number(t)) return Jl(void 0, e, n);
39398
39400
  const r = (a) => `0${a}`.slice(-2);
39399
39401
  let i = d8(t);
39400
- const s = eJ(t), o = tJ(t);
39402
+ const s = tJ(t), o = nJ(t);
39401
39403
  return i = e || i > 0 ? `${i}:` : "", `${n && t > 0 ? "-" : ""}${i}${r(s)}:${r(o)}`;
39402
39404
  }
39403
39405
  const ne = { getIconUrl() {
@@ -39423,7 +39425,7 @@ const ne = { getIconUrl() {
39423
39425
  return e.appendChild(fe("span", { class: this.config.classNames.menu.badge }, t)), e;
39424
39426
  }, createButton(t, e) {
39425
39427
  const n = at({}, e);
39426
- let r = YG(t);
39428
+ let r = XG(t);
39427
39429
  const i = { element: "button", toggle: !1, label: null, icon: null, labelPressed: null, iconPressed: null };
39428
39430
  switch (["element", "icon", "label"].forEach((o) => {
39429
39431
  Object.keys(n).includes(o) && (i[o] = n[o], delete n[o]);
@@ -39450,7 +39452,7 @@ const ne = { getIconUrl() {
39450
39452
  return i.toggle ? (s.appendChild(ne.createIcon.call(this, i.iconPressed, { class: "icon--pressed" })), s.appendChild(ne.createIcon.call(this, i.icon, { class: "icon--not-pressed" })), s.appendChild(ne.createLabel.call(this, i.labelPressed, { class: "label--pressed" })), s.appendChild(ne.createLabel.call(this, i.label, { class: "label--not-pressed" }))) : (s.appendChild(ne.createIcon.call(this, i.icon)), s.appendChild(ne.createLabel.call(this, i.label))), at(n, Pn(this.config.selectors.buttons[r], n)), Nu(s, n), r === "play" ? (A.array(this.elements.buttons[r]) || (this.elements.buttons[r] = []), this.elements.buttons[r].push(s)) : this.elements.buttons[r] = s, s;
39451
39453
  }, createRange(t, e) {
39452
39454
  const n = fe("input", at(Pn(this.config.selectors.inputs[t]), { type: "range", min: 0, max: 100, step: 0.01, value: 0, autocomplete: "off", role: "slider", "aria-label": gt.get(t, this.config), "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": 0 }, e));
39453
- return this.elements.inputs[t] = n, ne.updateRangeFill.call(this, n), AG.setup(n), n;
39455
+ return this.elements.inputs[t] = n, ne.updateRangeFill.call(this, n), xG.setup(n), n;
39454
39456
  }, createProgress(t, e) {
39455
39457
  const n = fe("progress", at(Pn(this.config.selectors.display[t]), { min: 0, max: 100, value: 0, role: "progressbar", "aria-hidden": !0 }, e));
39456
39458
  if (t !== "volume") {
@@ -39516,7 +39518,7 @@ const ne = { getIconUrl() {
39516
39518
  case "timeupdate":
39517
39519
  case "seeking":
39518
39520
  case "seeked":
39519
- e = GG(this.currentTime, this.duration), t.type === "timeupdate" && ne.setRange.call(this, this.elements.inputs.seek, e);
39521
+ e = JG(this.currentTime, this.duration), t.type === "timeupdate" && ne.setRange.call(this, this.elements.inputs.seek, e);
39520
39522
  break;
39521
39523
  case "playing":
39522
39524
  case "progress":
@@ -39789,7 +39791,7 @@ function h8(t) {
39789
39791
  const De = { setup() {
39790
39792
  if (!this.supported.ui) return;
39791
39793
  if (!this.isVideo || this.isYouTube || this.isHTML5 && !lt.textTracks) return void (A.array(this.config.controls) && this.config.controls.includes("settings") && this.config.settings.includes("captions") && ne.setCaptionsMenu.call(this));
39792
- if (A.element(this.elements.captions) || (this.elements.captions = fe("div", Pn(this.config.selectors.captions)), this.elements.captions.setAttribute("dir", "auto"), qG(this.elements.captions, this.elements.wrapper)), yt.isIE && window.URL) {
39794
+ if (A.element(this.elements.captions) || (this.elements.captions = fe("div", Pn(this.config.selectors.captions)), this.elements.captions.setAttribute("dir", "auto"), zG(this.elements.captions, this.elements.wrapper)), yt.isIE && window.URL) {
39793
39795
  const r = this.media.querySelectorAll("track");
39794
39796
  Array.from(r).forEach((i) => {
39795
39797
  const s = i.getAttribute("src"), o = u8(s);
@@ -39863,7 +39865,7 @@ const De = { setup() {
39863
39865
  let e = t;
39864
39866
  if (!e) {
39865
39867
  const r = De.getCurrentTrack.call(this);
39866
- e = Array.from((r || {}).activeCues || []).map((i) => i.getCueAsHTML()).map(QG);
39868
+ e = Array.from((r || {}).activeCues || []).map((i) => i.getCueAsHTML()).map(eJ);
39867
39869
  }
39868
39870
  const n = e.map((r) => r.trim()).join(`
39869
39871
  `);
@@ -39873,12 +39875,12 @@ const De = { setup() {
39873
39875
  r.innerHTML = n, this.elements.captions.appendChild(r), be.call(this, this.media, "cuechange");
39874
39876
  }
39875
39877
  } }, f8 = { enabled: !0, title: "", debug: !1, autoplay: !1, autopause: !0, playsinline: !0, seekTime: 10, volume: 1, muted: !1, duration: null, displayDuration: !0, invertTime: !0, toggleInvert: !0, ratio: null, clickToPlay: !0, hideControls: !0, resetOnEnd: !1, disableContextMenu: !0, loadSprite: !0, iconPrefix: "plyr", iconUrl: "https://cdn.plyr.io/3.7.8/plyr.svg", blankVideo: "https://cdn.plyr.io/static/blank.mp4", quality: { default: 576, options: [4320, 2880, 2160, 1440, 1080, 720, 576, 480, 360, 240], forced: !1, onChange: null }, loop: { active: !1 }, speed: { selected: 1, options: [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 4] }, keyboard: { focused: !0, global: !1 }, tooltips: { controls: !1, seek: !0 }, captions: { active: !1, language: "auto", update: !1 }, fullscreen: { enabled: !0, fallback: !0, iosNative: !1 }, storage: { enabled: !0, key: "plyr" }, controls: ["play-large", "play", "progress", "current-time", "mute", "volume", "captions", "settings", "pip", "airplay", "fullscreen"], settings: ["captions", "quality", "speed"], i18n: { restart: "Restart", rewind: "Rewind {seektime}s", play: "Play", pause: "Pause", fastForward: "Forward {seektime}s", seek: "Seek", seekLabel: "{currentTime} of {duration}", played: "Played", buffered: "Buffered", currentTime: "Current time", duration: "Duration", volume: "Volume", mute: "Mute", unmute: "Unmute", enableCaptions: "Enable captions", disableCaptions: "Disable captions", download: "Download", enterFullscreen: "Enter fullscreen", exitFullscreen: "Exit fullscreen", frameTitle: "Player for {title}", captions: "Captions", settings: "Settings", pip: "PIP", menuBack: "Go back to previous menu", speed: "Speed", normal: "Normal", quality: "Quality", loop: "Loop", start: "Start", end: "End", all: "All", reset: "Reset", disabled: "Disabled", enabled: "Enabled", advertisement: "Ad", qualityBadge: { 2160: "4K", 1440: "HD", 1080: "HD", 720: "HD", 576: "SD", 480: "SD" } }, urls: { download: null, vimeo: { sdk: "https://player.vimeo.com/api/player.js", iframe: "https://player.vimeo.com/video/{0}?{1}", api: "https://vimeo.com/api/oembed.json?url={0}" }, youtube: { sdk: "https://www.youtube.com/iframe_api", api: "https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}" }, googleIMA: { sdk: "https://imasdk.googleapis.com/js/sdkloader/ima3.js" } }, listeners: { seek: null, play: null, pause: null, restart: null, rewind: null, fastForward: null, mute: null, volume: null, captions: null, download: null, fullscreen: null, pip: null, airplay: null, speed: null, quality: null, loop: null, language: null }, events: ["ended", "progress", "stalled", "playing", "waiting", "canplay", "canplaythrough", "loadstart", "loadeddata", "loadedmetadata", "timeupdate", "volumechange", "play", "pause", "error", "seeking", "seeked", "emptied", "ratechange", "cuechange", "download", "enterfullscreen", "exitfullscreen", "captionsenabled", "captionsdisabled", "languagechange", "controlshidden", "controlsshown", "ready", "statechange", "qualitychange", "adsloaded", "adscontentpause", "adscontentresume", "adstarted", "adsmidpoint", "adscomplete", "adsallcomplete", "adsimpression", "adsclick"], selectors: { editable: "input, textarea, select, [contenteditable]", container: ".plyr", controls: { container: null, wrapper: ".plyr__controls" }, labels: "[data-plyr]", buttons: { play: '[data-plyr="play"]', pause: '[data-plyr="pause"]', restart: '[data-plyr="restart"]', rewind: '[data-plyr="rewind"]', fastForward: '[data-plyr="fast-forward"]', mute: '[data-plyr="mute"]', captions: '[data-plyr="captions"]', download: '[data-plyr="download"]', fullscreen: '[data-plyr="fullscreen"]', pip: '[data-plyr="pip"]', airplay: '[data-plyr="airplay"]', settings: '[data-plyr="settings"]', loop: '[data-plyr="loop"]' }, inputs: { seek: '[data-plyr="seek"]', volume: '[data-plyr="volume"]', speed: '[data-plyr="speed"]', language: '[data-plyr="language"]', quality: '[data-plyr="quality"]' }, display: { currentTime: ".plyr__time--current", duration: ".plyr__time--duration", buffer: ".plyr__progress__buffer", loop: ".plyr__progress__loop", volume: ".plyr__volume--display" }, progress: ".plyr__progress", captions: ".plyr__captions", caption: ".plyr__caption" }, classNames: { type: "plyr--{0}", provider: "plyr--{0}", video: "plyr__video-wrapper", embed: "plyr__video-embed", videoFixedRatio: "plyr__video-wrapper--fixed-ratio", embedContainer: "plyr__video-embed__container", poster: "plyr__poster", posterEnabled: "plyr__poster-enabled", ads: "plyr__ads", control: "plyr__control", controlPressed: "plyr__control--pressed", playing: "plyr--playing", paused: "plyr--paused", stopped: "plyr--stopped", loading: "plyr--loading", hover: "plyr--hover", tooltip: "plyr__tooltip", cues: "plyr__cues", marker: "plyr__progress__marker", hidden: "plyr__sr-only", hideControls: "plyr--hide-controls", isTouch: "plyr--is-touch", uiSupported: "plyr--full-ui", noTransition: "plyr--no-transition", display: { time: "plyr__time" }, menu: { value: "plyr__menu__value", badge: "plyr__badge", open: "plyr--menu-open" }, captions: { enabled: "plyr--captions-enabled", active: "plyr--captions-active" }, fullscreen: { enabled: "plyr--fullscreen-enabled", fallback: "plyr--fullscreen-fallback" }, pip: { supported: "plyr--pip-supported", active: "plyr--pip-active" }, airplay: { supported: "plyr--airplay-supported", active: "plyr--airplay-active" }, previewThumbnails: { thumbContainer: "plyr__preview-thumb", thumbContainerShown: "plyr__preview-thumb--is-shown", imageContainer: "plyr__preview-thumb__image-container", timeContainer: "plyr__preview-thumb__time-container", scrubbingContainer: "plyr__preview-scrubbing", scrubbingContainerShown: "plyr__preview-scrubbing--is-shown" } }, attributes: { embed: { provider: "data-plyr-provider", id: "data-plyr-embed-id", hash: "data-plyr-embed-hash" } }, ads: { enabled: !1, publisherId: "", tagUrl: "" }, previewThumbnails: { enabled: !1, src: "" }, vimeo: { byline: !1, portrait: !1, title: !1, speed: !0, transparent: !1, customControls: !0, referrerPolicy: null, premium: !1 }, youtube: { rel: 0, showinfo: 0, iv_load_policy: 3, modestbranding: 1, customControls: !0, noCookie: !1 }, mediaMetadata: { title: "", artist: "", album: "", artwork: [] }, markers: { enabled: !1, points: [] } }, _d = { active: "picture-in-picture", inactive: "inline" }, xr = { html5: "html5", youtube: "youtube", vimeo: "vimeo" }, Nd = { audio: "audio", video: "video" };
39876
- function nJ(t) {
39878
+ function rJ(t) {
39877
39879
  return /^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(t) ? xr.youtube : /^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(t) ? xr.vimeo : null;
39878
39880
  }
39879
39881
  const Ld = () => {
39880
39882
  };
39881
- class rJ {
39883
+ class iJ {
39882
39884
  constructor(e = !1) {
39883
39885
  this.enabled = window.console && e, this.enabled && this.log("Debugging enabled");
39884
39886
  }
@@ -39932,7 +39934,7 @@ class bn {
39932
39934
  } else (document.cancelFullScreen || document.exitFullscreen).call(document);
39933
39935
  }), re(this, "toggle", () => {
39934
39936
  this.active ? this.exit() : this.enter();
39935
- }), this.player = e, this.prefix = bn.prefix, this.property = bn.property, this.scrollPosition = { x: 0, y: 0 }, this.forceFallback = e.config.fullscreen.fallback === "force", this.player.elements.fullscreen = e.config.fullscreen.container && zG(this.player.elements.container, e.config.fullscreen.container), Pe.call(this.player, document, this.prefix === "ms" ? "MSFullscreenChange" : `${this.prefix}fullscreenchange`, () => {
39937
+ }), this.player = e, this.prefix = bn.prefix, this.property = bn.property, this.scrollPosition = { x: 0, y: 0 }, this.forceFallback = e.config.fullscreen.fallback === "force", this.player.elements.fullscreen = e.config.fullscreen.container && ZG(this.player.elements.container, e.config.fullscreen.container), Pe.call(this.player, document, this.prefix === "ms" ? "MSFullscreenChange" : `${this.prefix}fullscreenchange`, () => {
39936
39938
  this.onChange();
39937
39939
  }), Pe.call(this.player, this.player.elements.container, "dblclick", (n) => {
39938
39940
  A.element(this.player.elements.controls) && this.player.elements.controls.contains(n.target) || this.player.listeners.proxy(n, this.toggle, "fullscreen");
@@ -39996,7 +39998,7 @@ const Re = { addStyleHook() {
39996
39998
  }, togglePoster(t) {
39997
39999
  Le(this.elements.container, this.config.classNames.posterEnabled, t);
39998
40000
  }, setPoster(t, e = !0) {
39999
- return e && this.poster ? Promise.reject(new Error("Poster already set")) : (this.media.setAttribute("data-poster", t), this.elements.poster.removeAttribute("hidden"), jG.call(this).then(() => ua(t)).catch((n) => {
40001
+ return e && this.poster ? Promise.reject(new Error("Poster already set")) : (this.media.setAttribute("data-poster", t), this.elements.poster.removeAttribute("hidden"), WG.call(this).then(() => ua(t)).catch((n) => {
40000
40002
  throw t === this.poster && Re.togglePoster.call(this, !1), n;
40001
40003
  }).then(() => {
40002
40004
  if (t !== this.poster) throw new Error("setPoster cancelled by later call to setPoster");
@@ -40020,7 +40022,7 @@ const Re = { addStyleHook() {
40020
40022
  this.elements.container.style.setProperty(t, this.media.style.getPropertyValue(t)), this.media.style.removeProperty(t);
40021
40023
  }), A.empty(this.media.style) && this.media.removeAttribute("style");
40022
40024
  } };
40023
- class iJ {
40025
+ class sJ {
40024
40026
  constructor(e) {
40025
40027
  re(this, "firstTouch", () => {
40026
40028
  const { player: n } = this, { elements: r } = n;
@@ -40040,7 +40042,7 @@ class iJ {
40040
40042
  if (!n.isVimeo || n.config.vimeo.premium) return;
40041
40043
  const l = i.wrapper, { active: c } = n.fullscreen, [d, u] = Sf.call(n), h = s8(`aspect-ratio: ${d} / ${u}`);
40042
40044
  if (!c) return void (h ? (l.style.width = null, l.style.height = null) : (l.style.maxWidth = null, l.style.margin = null));
40043
- const [f, p] = WG(), y = f / p > d / u;
40045
+ const [f, p] = KG(), y = f / p > d / u;
40044
40046
  h ? (l.style.width = y ? "auto" : "100%", l.style.height = y ? "100%" : "auto") : (l.style.maxWidth = y ? p / u * d + "px" : null, l.style.margin = y ? "0 auto" : null);
40045
40047
  }, a = () => {
40046
40048
  clearTimeout(s.resized), s.resized = setTimeout(o, 50);
@@ -40228,7 +40230,7 @@ class iJ {
40228
40230
  ne.toggleMenu.call(this.player, e);
40229
40231
  }
40230
40232
  }
40231
- var sJ = aG(function(t, e) {
40233
+ var oJ = lG(function(t, e) {
40232
40234
  t.exports = function() {
40233
40235
  var n = function() {
40234
40236
  }, r = {}, i = {}, s = {};
@@ -40302,13 +40304,13 @@ var sJ = aG(function(t, e) {
40302
40304
  });
40303
40305
  function kf(t) {
40304
40306
  return new Promise((e, n) => {
40305
- sJ(t, { success: e, error: n });
40307
+ oJ(t, { success: e, error: n });
40306
40308
  });
40307
40309
  }
40308
- function oJ(t) {
40310
+ function aJ(t) {
40309
40311
  return A.empty(t) ? null : A.number(Number(t)) ? t : t.match(/^.*(vimeo.com\/|video\/)(\d+).*/) ? RegExp.$2 : t;
40310
40312
  }
40311
- function aJ(t) {
40313
+ function lJ(t) {
40312
40314
  const e = t.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);
40313
40315
  return e && e.length === 5 ? e[4] : null;
40314
40316
  }
@@ -40325,10 +40327,10 @@ const Ru = { setup() {
40325
40327
  }, ready() {
40326
40328
  const t = this, e = t.config.vimeo, { premium: n, referrerPolicy: r, ...i } = e;
40327
40329
  let s = t.media.getAttribute("src"), o = "";
40328
- A.empty(s) ? (s = t.media.getAttribute(t.config.attributes.embed.id), o = t.media.getAttribute(t.config.attributes.embed.hash)) : o = aJ(s);
40330
+ A.empty(s) ? (s = t.media.getAttribute(t.config.attributes.embed.id), o = t.media.getAttribute(t.config.attributes.embed.hash)) : o = lJ(s);
40329
40331
  const a = o ? { h: o } : {};
40330
40332
  n && Object.assign(i, { controls: !1, sidedock: !1 });
40331
- const l = h8({ loop: t.config.loop.active, autoplay: t.autoplay, muted: t.muted, gesture: "media", playsinline: t.config.playsinline, ...a, ...i }), c = oJ(s), d = fe("iframe"), u = Vu(t.config.urls.vimeo.iframe, c, l);
40333
+ const l = h8({ loop: t.config.loop.active, autoplay: t.autoplay, muted: t.muted, gesture: "media", playsinline: t.config.playsinline, ...a, ...i }), c = aJ(s), d = fe("iframe"), u = Vu(t.config.urls.vimeo.iframe, c, l);
40332
40334
  if (d.setAttribute("src", u), d.setAttribute("allowfullscreen", ""), d.setAttribute("allow", ["autoplay", "fullscreen", "picture-in-picture", "encrypted-media", "accelerometer", "gyroscope"].join("; ")), A.empty(r) || d.setAttribute("referrerPolicy", r), n || !e.customControls) d.setAttribute("data-poster", t.poster), t.media = ml(d, t.media);
40333
40335
  else {
40334
40336
  const S = fe("div", { class: t.config.classNames.embedContainer, "data-poster": t.poster });
@@ -40391,7 +40393,7 @@ const Ru = { setup() {
40391
40393
  }), t.embed.getTextTracks().then((S) => {
40392
40394
  t.media.textTracks = S, De.setup.call(t);
40393
40395
  }), t.embed.on("cuechange", ({ cues: S = [] }) => {
40394
- const k = S.map((C) => XG(C.text));
40396
+ const k = S.map((C) => QG(C.text));
40395
40397
  De.updateCues.call(t, k);
40396
40398
  }), t.embed.on("loaded", () => {
40397
40399
  t.embed.getPaused().then((S) => {
@@ -40419,13 +40421,13 @@ const Ru = { setup() {
40419
40421
  t.media.error = S, be.call(t, t.media, "error");
40420
40422
  }), e.customControls && setTimeout(() => Re.build.call(t), 0);
40421
40423
  } };
40422
- function lJ(t) {
40424
+ function cJ(t) {
40423
40425
  return A.empty(t) ? null : t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/) ? RegExp.$2 : t;
40424
40426
  }
40425
40427
  function ms(t) {
40426
40428
  t && !this.embed.hasPlayed && (this.embed.hasPlayed = !0), this.media.paused === t && (this.media.paused = !t, be.call(this, this.media, t ? "play" : "pause"));
40427
40429
  }
40428
- function cJ(t) {
40430
+ function dJ(t) {
40429
40431
  return t.noCookie ? "https://www.youtube-nocookie.com" : window.location.protocol === "http:" ? "http://www.youtube.com" : void 0;
40430
40432
  }
40431
40433
  const ha = { setup() {
@@ -40453,7 +40455,7 @@ const ha = { setup() {
40453
40455
  if (!A.empty(n) && n.startsWith("youtube-")) return;
40454
40456
  let r = t.media.getAttribute("src");
40455
40457
  A.empty(r) && (r = t.media.getAttribute(this.config.attributes.embed.id));
40456
- const i = lJ(r), s = fe("div", { id: KG(t.provider), "data-poster": e.customControls ? t.poster : void 0 });
40458
+ const i = cJ(r), s = fe("div", { id: GG(t.provider), "data-poster": e.customControls ? t.poster : void 0 });
40457
40459
  if (t.media = ml(s, t.media), e.customControls) {
40458
40460
  const o = (a) => `https://i.ytimg.com/vi/${i}/${a}default.jpg`;
40459
40461
  ua(o("maxres"), 121).catch(() => ua(o("sd"), 121)).catch(() => ua(o("hq"))).then((a) => Re.setPoster.call(t, a.src)).then((a) => {
@@ -40461,7 +40463,7 @@ const ha = { setup() {
40461
40463
  }).catch(() => {
40462
40464
  });
40463
40465
  }
40464
- t.embed = new window.YT.Player(t.media, { videoId: i, host: cJ(e), playerVars: at({}, { autoplay: t.config.autoplay ? 1 : 0, hl: t.config.hl, controls: t.supported.ui && e.customControls ? 0 : 1, disablekb: 1, playsinline: t.config.playsinline && !t.config.fullscreen.iosNative ? 1 : 0, cc_load_policy: t.captions.active ? 1 : 0, cc_lang_pref: t.config.captions.language, widget_referrer: window ? window.location.href : null }, e), events: { onError(o) {
40466
+ t.embed = new window.YT.Player(t.media, { videoId: i, host: dJ(e), playerVars: at({}, { autoplay: t.config.autoplay ? 1 : 0, hl: t.config.hl, controls: t.supported.ui && e.customControls ? 0 : 1, disablekb: 1, playsinline: t.config.playsinline && !t.config.fullscreen.iosNative ? 1 : 0, cc_load_policy: t.captions.active ? 1 : 0, cc_lang_pref: t.config.captions.language, widget_referrer: window ? window.location.href : null }, e), events: { onError(o) {
40465
40467
  if (!t.media.error) {
40466
40468
  const a = o.data, l = { 2: "The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.", 5: "The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.", 100: "The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.", 101: "The owner of the requested video does not allow it to be played in embedded players.", 150: "The owner of the requested video does not allow it to be played in embedded players." }[a] || "An unknown error occurred";
40467
40469
  t.media.error = { code: a, message: l }, be.call(t, t.media, "error");
@@ -40521,7 +40523,7 @@ const ha = { setup() {
40521
40523
  } }, p8 = { setup() {
40522
40524
  this.media ? (Le(this.elements.container, this.config.classNames.type.replace("{0}", this.type), !0), Le(this.elements.container, this.config.classNames.provider.replace("{0}", this.provider), !0), this.isEmbed && Le(this.elements.container, this.config.classNames.type.replace("{0}", "video"), !0), this.isVideo && (this.elements.wrapper = fe("div", { class: this.config.classNames.video }), r8(this.media, this.elements.wrapper), this.elements.poster = fe("div", { class: this.config.classNames.poster }), this.elements.wrapper.appendChild(this.elements.poster)), this.isHTML5 ? Ir.setup.call(this) : this.isYouTube ? ha.setup.call(this) : this.isVimeo && Ru.setup.call(this)) : this.debug.warn("No media element found!");
40523
40525
  } };
40524
- class dJ {
40526
+ class uJ {
40525
40527
  constructor(e) {
40526
40528
  re(this, "load", () => {
40527
40529
  this.enabled && (A.object(window.google) && A.object(window.google.ima) ? this.ready() : kf(this.player.config.urls.googleIMA.sdk).then(() => {
@@ -40659,7 +40661,7 @@ class dJ {
40659
40661
  function m8(t = 0, e = 0, n = 255) {
40660
40662
  return Math.min(Math.max(t, e), n);
40661
40663
  }
40662
- const uJ = (t) => {
40664
+ const hJ = (t) => {
40663
40665
  const e = [];
40664
40666
  return t.split(/\r\n\r\n|\n\n|\r\r/).forEach((n) => {
40665
40667
  const r = {};
@@ -40700,7 +40702,7 @@ class Hu {
40700
40702
  }
40701
40703
  })), re(this, "getThumbnail", (n) => new Promise((r) => {
40702
40704
  Ao(n).then((i) => {
40703
- const s = { frames: uJ(i), height: null, urlPrefix: "" };
40705
+ const s = { frames: hJ(i), height: null, urlPrefix: "" };
40704
40706
  s.frames[0].text.startsWith("/") || s.frames[0].text.startsWith("http://") || s.frames[0].text.startsWith("https://") || (s.urlPrefix = n.substring(0, n.lastIndexOf("/") + 1));
40705
40707
  const o = new Image();
40706
40708
  o.onload = () => {
@@ -40904,7 +40906,7 @@ class lo {
40904
40906
  }), re(this, "destroy", (a, l = !1) => {
40905
40907
  if (!this.ready) return;
40906
40908
  const c = () => {
40907
- document.body.style.overflow = "", this.embed = null, l ? (Object.keys(this.elements).length && (Yn(this.elements.buttons.play), Yn(this.elements.captions), Yn(this.elements.controls), Yn(this.elements.wrapper), this.elements.buttons.play = null, this.elements.captions = null, this.elements.controls = null, this.elements.wrapper = null), A.function(a) && a()) : (UG.call(this), Ir.cancelRequests.call(this), ml(this.elements.original, this.elements.container), be.call(this, this.elements.original, "destroyed", !0), A.function(a) && a.call(this.elements.original), this.ready = !1, setTimeout(() => {
40909
+ document.body.style.overflow = "", this.embed = null, l ? (Object.keys(this.elements).length && (Yn(this.elements.buttons.play), Yn(this.elements.captions), Yn(this.elements.controls), Yn(this.elements.wrapper), this.elements.buttons.play = null, this.elements.captions = null, this.elements.controls = null, this.elements.wrapper = null), A.function(a) && a()) : (jG.call(this), Ir.cancelRequests.call(this), ml(this.elements.original, this.elements.container), be.call(this, this.elements.original, "destroyed", !0), A.function(a) && a.call(this.elements.original), this.ready = !1, setTimeout(() => {
40908
40910
  this.elements = null, this.media = null;
40909
40911
  }, 200));
40910
40912
  };
@@ -40915,7 +40917,7 @@ class lo {
40915
40917
  } catch {
40916
40918
  return {};
40917
40919
  }
40918
- })()), this.elements = { container: null, fullscreen: null, captions: null, buttons: {}, display: {}, progress: {}, inputs: {}, settings: { popup: null, menu: null, panels: {}, buttons: {} } }, this.captions = { active: null, currentTrack: -1, meta: /* @__PURE__ */ new WeakMap() }, this.fullscreen = { active: !1 }, this.options = { speed: [], quality: [] }, this.debug = new rJ(this.config.debug), this.debug.log("Config", this.config), this.debug.log("Support", lt), A.nullOrUndefined(this.media) || !A.element(this.media)) return void this.debug.error("Setup failed: no suitable element passed");
40920
+ })()), this.elements = { container: null, fullscreen: null, captions: null, buttons: {}, display: {}, progress: {}, inputs: {}, settings: { popup: null, menu: null, panels: {}, buttons: {} } }, this.captions = { active: null, currentTrack: -1, meta: /* @__PURE__ */ new WeakMap() }, this.fullscreen = { active: !1 }, this.options = { speed: [], quality: [] }, this.debug = new iJ(this.config.debug), this.debug.log("Config", this.config), this.debug.log("Support", lt), A.nullOrUndefined(this.media) || !A.element(this.media)) return void this.debug.error("Setup failed: no suitable element passed");
40919
40921
  if (this.media.plyr) return void this.debug.warn("Target already setup");
40920
40922
  if (!this.config.enabled) return void this.debug.error("Setup failed: disabled by config");
40921
40923
  if (!lt.check().api) return void this.debug.error("Setup failed: no support");
@@ -40926,7 +40928,7 @@ class lo {
40926
40928
  switch (i) {
40927
40929
  case "div":
40928
40930
  if (s = this.media.querySelector("iframe"), A.element(s)) {
40929
- if (o = u8(s.getAttribute("src")), this.provider = nJ(o.toString()), this.elements.container = this.media, this.media = s, this.elements.container.className = "", o.search.length) {
40931
+ if (o = u8(s.getAttribute("src")), this.provider = rJ(o.toString()), this.elements.container = this.media, this.media = s, this.elements.container.className = "", o.search.length) {
40930
40932
  const a = ["1", "true"];
40931
40933
  a.includes(o.searchParams.get("autoplay")) && (this.config.autoplay = !0), a.includes(o.searchParams.get("loop")) && (this.config.loop.active = !0), this.isYouTube ? (this.config.playsinline = a.includes(o.searchParams.get("playsinline")), this.config.youtube.hl = o.searchParams.get("hl")) : this.config.playsinline = !0;
40932
40934
  }
@@ -40941,9 +40943,9 @@ class lo {
40941
40943
  default:
40942
40944
  return void this.debug.error("Setup failed: unsupported type");
40943
40945
  }
40944
- this.supported = lt.check(this.type, this.provider), this.supported.api ? (this.eventListeners = [], this.listeners = new iJ(this), this.storage = new ao(this), this.media.plyr = this, A.element(this.elements.container) || (this.elements.container = fe("div"), r8(this.media, this.elements.container)), Re.migrateStyles.call(this), Re.addStyleHook.call(this), p8.setup.call(this), this.config.debug && Pe.call(this, this.elements.container, this.config.events.join(" "), (a) => {
40946
+ this.supported = lt.check(this.type, this.provider), this.supported.api ? (this.eventListeners = [], this.listeners = new sJ(this), this.storage = new ao(this), this.media.plyr = this, A.element(this.elements.container) || (this.elements.container = fe("div"), r8(this.media, this.elements.container)), Re.migrateStyles.call(this), Re.addStyleHook.call(this), p8.setup.call(this), this.config.debug && Pe.call(this, this.elements.container, this.config.events.join(" "), (a) => {
40945
40947
  this.debug.log(`event: ${a.type}`);
40946
- }), this.fullscreen = new bn(this), (this.isHTML5 || this.isEmbed && !this.supported.ui) && Re.build.call(this), this.listeners.container(), this.listeners.global(), this.config.ads.enabled && (this.ads = new dJ(this)), this.isHTML5 && this.config.autoplay && this.once("canplay", () => Dn(this.play())), this.lastSeekTime = 0, this.config.previewThumbnails.enabled && (this.previewThumbnails = new Hu(this))) : this.debug.error("Setup failed: no support");
40948
+ }), this.fullscreen = new bn(this), (this.isHTML5 || this.isEmbed && !this.supported.ui) && Re.build.call(this), this.listeners.container(), this.listeners.global(), this.config.ads.enabled && (this.ads = new uJ(this)), this.isHTML5 && this.config.autoplay && this.once("canplay", () => Dn(this.play())), this.lastSeekTime = 0, this.config.previewThumbnails.enabled && (this.previewThumbnails = new Hu(this))) : this.debug.error("Setup failed: no support");
40947
40949
  }
40948
40950
  get isHTML5() {
40949
40951
  return this.provider === xr.html5;
@@ -41120,8 +41122,8 @@ class lo {
41120
41122
  return A.string(e) ? r = Array.from(document.querySelectorAll(e)) : A.nodeList(e) ? r = Array.from(e) : A.array(e) && (r = e.filter(A.element)), A.empty(r) ? null : r.map((i) => new lo(i, n));
41121
41123
  }
41122
41124
  }
41123
- lo.defaults = FG(f8);
41124
- const hJ = oe({
41125
+ lo.defaults = qG(f8);
41126
+ const fJ = oe({
41125
41127
  name: "DpVideoPlayer",
41126
41128
  props: {
41127
41129
  dataCy: {
@@ -41221,16 +41223,16 @@ const hJ = oe({
41221
41223
  ]
41222
41224
  });
41223
41225
  }
41224
- }), fJ = { class: "relative" }, pJ = ["id", "data-cy", "data-plyr-embed-id", "data-plyr-provider"], mJ = ["id", "aria-labelledby", "data-cy", "data-poster"], gJ = ["src", "type"], yJ = ["default", "kind", "label", "src", "srclang"];
41225
- function bJ(t, e, n, r, i, s) {
41226
- return g(), b("div", fJ, [
41226
+ }), pJ = { class: "relative" }, mJ = ["id", "data-cy", "data-plyr-embed-id", "data-plyr-provider"], gJ = ["id", "aria-labelledby", "data-cy", "data-poster"], yJ = ["src", "type"], bJ = ["default", "kind", "label", "src", "srclang"];
41227
+ function vJ(t, e, n, r, i, s) {
41228
+ return g(), b("div", pJ, [
41227
41229
  t.isEmbeddedSource ? (g(), b("div", {
41228
41230
  key: 0,
41229
41231
  id: t.id,
41230
41232
  "data-cy": t.dataCy,
41231
41233
  "data-plyr-embed-id": t.primarySource.embedId,
41232
41234
  "data-plyr-provider": t.primarySource.provider
41233
- }, null, 8, pJ)) : (g(), b("video", {
41235
+ }, null, 8, mJ)) : (g(), b("video", {
41234
41236
  key: 1,
41235
41237
  id: t.id,
41236
41238
  "aria-labelledby": t.ariaLabelledby,
@@ -41242,7 +41244,7 @@ function bJ(t, e, n, r, i, s) {
41242
41244
  key: o.src,
41243
41245
  src: o.src,
41244
41246
  type: o.type
41245
- }, null, 8, gJ))), 128)),
41247
+ }, null, 8, yJ))), 128)),
41246
41248
  (g(!0), b(Ee, null, Te(t.tracks, (o) => (g(), b("track", {
41247
41249
  key: o.src,
41248
41250
  default: !!o.default,
@@ -41250,12 +41252,12 @@ function bJ(t, e, n, r, i, s) {
41250
41252
  label: o.label,
41251
41253
  src: o.src,
41252
41254
  srclang: o.srclang
41253
- }, null, 8, yJ))), 128))
41254
- ], 8, mJ))
41255
+ }, null, 8, bJ))), 128))
41256
+ ], 8, gJ))
41255
41257
  ]);
41256
41258
  }
41257
- const FY = /* @__PURE__ */ ae(hJ, [["render", bJ]]);
41258
- function qY(t, e) {
41259
+ const qY = /* @__PURE__ */ ae(fJ, [["render", vJ]]);
41260
+ function zY(t, e) {
41259
41261
  return Br.get(
41260
41262
  e,
41261
41263
  {
@@ -41271,88 +41273,88 @@ function qY(t, e) {
41271
41273
  }
41272
41274
  ).then(({ data: n }) => n.data.map((r) => r.id));
41273
41275
  }
41274
- function zY(t, e = {}) {
41276
+ function ZY(t, e = {}) {
41275
41277
  return E(() => {
41276
41278
  const n = cm(t) ? t.value : t, r = { ...e, ADD_ATTR: ["target"] };
41277
41279
  return ts.sanitize(n, r);
41278
41280
  });
41279
41281
  }
41280
41282
  export {
41281
- XJ as ActionMenu,
41283
+ QJ as ActionMenu,
41282
41284
  rr as CleanHtml,
41283
- QJ as Confirm,
41285
+ eY as Confirm,
41284
41286
  G8 as DATE_FORMAT_LONG,
41285
41287
  MO as Detabinator,
41286
- iY as DpAccordion,
41287
- aY as DpAnonymizeText,
41288
- lY as DpAutocomplete,
41289
- cY as DpBadge,
41290
- dY as DpBulkEditHeader,
41288
+ sY as DpAccordion,
41289
+ lY as DpAnonymizeText,
41290
+ cY as DpAutocomplete,
41291
+ dY as DpBadge,
41292
+ uY as DpBulkEditHeader,
41291
41293
  yo as DpButton,
41292
- uY as DpButtonIcon,
41294
+ hY as DpButtonIcon,
41293
41295
  fb as DpButtonRow,
41294
- hY as DpCard,
41296
+ fY as DpCard,
41295
41297
  af as DpCheckbox,
41296
- fY as DpCheckboxGroup,
41297
- pY as DpColumnSelector,
41298
- mY as DpConfirmDialog,
41298
+ pY as DpCheckboxGroup,
41299
+ mY as DpColumnSelector,
41300
+ gY as DpConfirmDialog,
41299
41301
  ig as DpContextualHelp,
41300
41302
  QZ as DpDataTable,
41301
- gY as DpDataTableExtended,
41302
- yY as DpDateRangePicker,
41303
+ yY as DpDataTableExtended,
41304
+ bY as DpDateRangePicker,
41303
41305
  Fb as DpDatepicker,
41304
- bY as DpDatetimePicker,
41305
- vY as DpDetails,
41306
+ vY as DpDatetimePicker,
41307
+ wY as DpDetails,
41306
41308
  pf as DpDraggable,
41307
- wY as DpEditableList,
41308
- SY as DpEditor,
41309
+ SY as DpEditableList,
41310
+ kY as DpEditor,
41309
41311
  hz as DpFlyout,
41310
41312
  nn as DpIcon,
41311
- kY as DpInlineNotification,
41313
+ AY as DpInlineNotification,
41312
41314
  jl as DpInput,
41313
41315
  lr as DpLabel,
41314
41316
  iZ as DpLoading,
41315
41317
  df as DpModal,
41316
41318
  CW as DpMultiselect,
41317
- xY as DpMultistepNav,
41318
- CY as DpNotification,
41319
- EY as DpObscure,
41320
- MY as DpPager,
41321
- TY as DpProgressBar,
41322
- $Y as DpRadio,
41319
+ CY as DpMultistepNav,
41320
+ EY as DpNotification,
41321
+ MY as DpObscure,
41322
+ TY as DpPager,
41323
+ $Y as DpProgressBar,
41324
+ PY as DpRadio,
41323
41325
  of as DpResettableInput,
41324
- PY as DpSearchField,
41325
- DY as DpSelect,
41326
+ DY as DpSearchField,
41327
+ IY as DpSelect,
41326
41328
  sU as DpSelectPageItemCount,
41327
- IY as DpSkeletonBox,
41328
- OY as DpSlidebar,
41329
+ OY as DpSkeletonBox,
41330
+ _Y as DpSlidebar,
41329
41331
  Ib as DpSlidingPagination,
41330
- _Y as DpSplitButton,
41332
+ NY as DpSplitButton,
41331
41333
  fU as DpStickyElement,
41332
- NY as DpTab,
41333
- LY as DpTabs,
41334
- VY as DpTextArea,
41334
+ LY as DpTab,
41335
+ VY as DpTabs,
41336
+ RY as DpTextArea,
41335
41337
  GU as DpTimePicker,
41336
- RY as DpToggle,
41337
- HY as DpTooltip,
41338
+ HY as DpToggle,
41339
+ BY as DpTooltip,
41338
41340
  t_ as DpTransitionExpand,
41339
- BY as DpTreeList,
41341
+ FY as DpTreeList,
41340
41342
  LO as DpUpload,
41341
41343
  QO as DpUploadFiles,
41342
- FY as DpVideoPlayer,
41344
+ qY as DpVideoPlayer,
41343
41345
  TO as MatchMedia,
41344
41346
  $O as SideNav,
41345
41347
  Sa as Stickier,
41346
- nY as Sticky,
41347
- rY as TableWrapper,
41348
+ rY as Sticky,
41349
+ iY as TableWrapper,
41348
41350
  ho as Tooltip,
41349
41351
  Gf as VPopover,
41350
41352
  gW as assignHandlerForTrigger,
41351
41353
  gs as assignHandlersForInputs,
41352
41354
  yW as assignObserver,
41353
- MK as attributes,
41354
- NJ as bindFullScreenChange,
41355
- qJ as capitalizeFirstLetter,
41355
+ TK as attributes,
41356
+ LJ as bindFullScreenChange,
41357
+ zJ as capitalizeFirstLetter,
41356
41358
  $p as checkResponse,
41357
41359
  fh as convertSize,
41358
41360
  e_ as dataTableSearch,
@@ -41360,49 +41362,49 @@ export {
41360
41362
  X8 as debounce,
41361
41363
  gm as deepMerge,
41362
41364
  Br as dpApi,
41363
- KJ as dpRpc,
41364
- IJ as dpSelectAllMixin,
41365
- AY as dpValidate,
41365
+ GJ as dpRpc,
41366
+ OJ as dpSelectAllMixin,
41367
+ xY as dpValidate,
41366
41368
  W8 as dpValidateMixin,
41367
41369
  bW as dpValidateMultiselectDirective,
41368
41370
  cn as errorClass,
41369
41371
  Y8 as exactlengthHint,
41370
- GJ as externalApi,
41371
- zJ as formatBytes,
41372
+ JJ as externalApi,
41373
+ ZJ as formatBytes,
41372
41374
  J8 as formatDate,
41373
- ZJ as getAnimationEventName,
41374
- eY as getCssVariable,
41375
- qY as getFileIdsByHash,
41376
- YJ as getFileInfo,
41375
+ UJ as getAnimationEventName,
41376
+ tY as getCssVariable,
41377
+ zY as getFileIdsByHash,
41378
+ XJ as getFileInfo,
41377
41379
  CO as getFileTypes,
41378
41380
  Wo as getScrollTop,
41379
41381
  Tp as handleResponseMessages,
41380
- FJ as hasAllPermissions,
41381
- BJ as hasAnyPermissions,
41382
+ qJ as hasAllPermissions,
41383
+ FJ as hasAnyPermissions,
41382
41384
  mt as hasOwnProp,
41383
- HJ as hasPermission,
41384
- tY as highlightActiveLinks,
41385
- VJ as isActiveFullScreen,
41386
- EK as length,
41387
- JJ as makeFormPost,
41385
+ BJ as hasPermission,
41386
+ nY as highlightActiveLinks,
41387
+ RJ as isActiveFullScreen,
41388
+ MK as length,
41389
+ YJ as makeFormPost,
41388
41390
  ga as maxlengthHint,
41389
41391
  Dp as mimeTypes,
41390
41392
  Hf as minlengthHint,
41391
41393
  un as prefixClass,
41392
41394
  Bn as prefixClassMixin,
41393
- UJ as resistFingerprintingDuckTest,
41394
- zY as sanitizeHtml,
41395
+ jJ as resistFingerprintingDuckTest,
41396
+ ZY as sanitizeHtml,
41395
41397
  um as scrollToVisibleElement,
41396
41398
  zu as sessionStorageMixin,
41397
- jJ as sortAlphabetically,
41399
+ WJ as sortAlphabetically,
41398
41400
  ev as tableSelectAllItems,
41399
- WJ as throttle,
41400
- RJ as toDate,
41401
- _J as toggleFullscreen,
41402
- LJ as unbindFullScreenChange,
41401
+ KJ as throttle,
41402
+ HJ as toDate,
41403
+ NJ as toggleFullscreen,
41404
+ VJ as unbindFullScreenChange,
41403
41405
  Q8 as uniqueArrayByObjectKey,
41404
41406
  Vd as validateDatepicker,
41405
- OJ as validateEmail,
41407
+ _J as validateEmail,
41406
41408
  Ko as validateFieldset,
41407
41409
  mm as validateForm,
41408
41410
  Rd as validateInput,