@opencor/opencor 0.20251022.0 → 0.20251024.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.
@@ -1,5 +1,5 @@
1
1
  import * as O from "vue";
2
- import { ref as fn, readonly as zi, getCurrentInstance as hs, onMounted as gs, nextTick as Ni, watch as Qt, mergeProps as b, createElementBlock as k, openBlock as h, renderSlot as E, createElementVNode as x, createTextVNode as we, toDisplayString as re, resolveComponent as j, resolveDirective as ze, withDirectives as ge, createBlock as I, resolveDynamicComponent as Q, withCtx as P, createCommentVNode as R, normalizeClass as K, Teleport as ac, computed as Ai, createVNode as U, Transition as Fo, Fragment as W, defineComponent as Ie, createSlots as bn, renderList as be, normalizeProps as Pt, guardReactiveProps as Br, unref as D, isRef as Pe, withKeys as dr, vShow as wt, effectScope as lc, getCurrentScope as sc, onScopeDispose as uc, toRef as cc, customRef as dc, shallowRef as pc, toValue as Xt, mergeModels as wa, useModel as fc, normalizeStyle as Lt, toHandlers as Zo, withModifiers as vn, pushScopeId as bs, popScopeId as vs, TransitionGroup as mc, reactive as hc, inject as gc } from "vue";
2
+ import { ref as fn, readonly as zi, getCurrentInstance as hs, onMounted as gs, nextTick as Ni, watch as Qt, mergeProps as b, createElementBlock as k, openBlock as h, renderSlot as E, createElementVNode as x, createTextVNode as we, toDisplayString as re, resolveComponent as j, resolveDirective as ze, withDirectives as pe, createBlock as I, resolveDynamicComponent as Q, withCtx as P, createCommentVNode as R, normalizeClass as K, Teleport as ac, computed as Ai, createVNode as U, Transition as Fo, Fragment as W, defineComponent as Ie, createSlots as bn, renderList as be, normalizeProps as Pt, guardReactiveProps as Br, unref as D, isRef as Pe, withKeys as dr, vShow as et, effectScope as lc, getCurrentScope as sc, onScopeDispose as uc, toRef as cc, customRef as dc, shallowRef as pc, toValue as Xt, mergeModels as wa, useModel as fc, normalizeStyle as Lt, toHandlers as Zo, withModifiers as vn, pushScopeId as bs, popScopeId as vs, TransitionGroup as mc, reactive as hc, inject as gc } from "vue";
3
3
  import ka from "https://cdn.jsdelivr.net/npm/plotly.js-gl2d-dist-min@3.1.1/+esm";
4
4
  import * as Ca from "https://cdn.jsdelivr.net/npm/mathjs@14.9.1/+esm";
5
5
  function bc(n, e) {
@@ -180,7 +180,7 @@ function Zt(n, e) {
180
180
  const t = Qi(n, e);
181
181
  return t.length > 0 ? t[0] : null;
182
182
  }
183
- function vt(n) {
183
+ function yt(n) {
184
184
  if (n) {
185
185
  let e = n.offsetHeight, t = getComputedStyle(n);
186
186
  return e -= parseFloat(t.paddingTop) + parseFloat(t.paddingBottom) + parseFloat(t.borderTopWidth) + parseFloat(t.borderBottomWidth), e;
@@ -235,7 +235,7 @@ function Vi(n, e) {
235
235
  }
236
236
  return null;
237
237
  }
238
- function yt(n) {
238
+ function wt(n) {
239
239
  if (n) {
240
240
  let e = n.getBoundingClientRect();
241
241
  return {
@@ -305,7 +305,7 @@ function Sa() {
305
305
  function Is(n) {
306
306
  return !!(n !== null && typeof n < "u" && n.nodeName && qi(n));
307
307
  }
308
- function lt(n) {
308
+ function st(n) {
309
309
  if (n) {
310
310
  let e = n.offsetWidth, t = getComputedStyle(n);
311
311
  return e -= parseFloat(t.paddingLeft) + parseFloat(t.paddingRight) + parseFloat(t.borderLeftWidth) + parseFloat(t.borderRightWidth), e;
@@ -492,12 +492,12 @@ function We(n, ...e) {
492
492
  function He(n, e = !0) {
493
493
  return typeof n == "string" && (e || n !== "");
494
494
  }
495
- function rt(n) {
495
+ function it(n) {
496
496
  return He(n) ? n.replace(/(-|_)/g, "").toLowerCase() : n;
497
497
  }
498
498
  function Ki(n, e = "", t = {}) {
499
- const o = rt(e).split("."), i = o.shift();
500
- return i ? Ct(n) ? Ki(We(n[Object.keys(n).find((r) => rt(r) === i) || ""], t), o.join("."), t) : void 0 : We(n, t);
499
+ const o = it(e).split("."), i = o.shift();
500
+ return i ? Ct(n) ? Ki(We(n[Object.keys(n).find((r) => it(r) === i) || ""], t), o.join("."), t) : void 0 : We(n, t);
501
501
  }
502
502
  function Lo(n, e = !0) {
503
503
  return Array.isArray(n) && (e || n.length !== 0);
@@ -622,7 +622,7 @@ function Oo() {
622
622
  }
623
623
  };
624
624
  }
625
- var zc = Object.defineProperty, Nc = Object.defineProperties, Ac = Object.getOwnPropertyDescriptors, kr = Object.getOwnPropertySymbols, Rs = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, Ea = (n, e, t) => e in n ? zc(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, it = (n, e) => {
625
+ var zc = Object.defineProperty, Nc = Object.defineProperties, Ac = Object.getOwnPropertyDescriptors, kr = Object.getOwnPropertySymbols, Rs = Object.prototype.hasOwnProperty, Fs = Object.prototype.propertyIsEnumerable, Ea = (n, e, t) => e in n ? zc(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, at = (n, e) => {
626
626
  for (var t in e || (e = {}))
627
627
  Rs.call(e, t) && Ea(n, t, e[t]);
628
628
  if (kr)
@@ -637,7 +637,7 @@ var zc = Object.defineProperty, Nc = Object.defineProperties, Ac = Object.getOwn
637
637
  for (var o of kr(n))
638
638
  e.indexOf(o) < 0 && Fs.call(n, o) && (t[o] = n[o]);
639
639
  return t;
640
- }, jc = Oo(), ot = jc;
640
+ }, jc = Oo(), rt = jc;
641
641
  function Pa(n, e) {
642
642
  Lo(n) ? n.push(...e || []) : Ct(n) && Object.assign(n, e);
643
643
  }
@@ -679,15 +679,15 @@ function _c(n, e, t) {
679
679
  function un(n, e) {
680
680
  return n ? `${n}{${e}}` : "";
681
681
  }
682
- var Qn = (...n) => Wc(he.getTheme(), ...n), Wc = (n = {}, e, t, o) => {
682
+ var Qn = (...n) => Wc(ge.getTheme(), ...n), Wc = (n = {}, e, t, o) => {
683
683
  if (e) {
684
- const { variable: i, options: r } = he.defaults || {}, { prefix: a, transform: l } = n?.options || r || {}, u = Bt(e, /{([^}]*)}/g) ? e : `{${e}}`;
685
- return o === "value" || $e(o) && l === "strict" ? he.getTokenValue(e) : Ls(u, void 0, a, [i.excludedKeyRegex], t);
684
+ const { variable: i, options: r } = ge.defaults || {}, { prefix: a, transform: l } = n?.options || r || {}, u = Bt(e, /{([^}]*)}/g) ? e : `{${e}}`;
685
+ return o === "value" || $e(o) && l === "strict" ? ge.getTokenValue(e) : Ls(u, void 0, a, [i.excludedKeyRegex], t);
686
686
  }
687
687
  return "";
688
688
  };
689
689
  function Hc(n, e = {}) {
690
- const t = he.defaults.variable, { prefix: o = t.prefix, selector: i = t.selector, excludedKeyRegex: r = t.excludedKeyRegex } = e, a = (u, p = "") => Object.entries(u).reduce(
690
+ const t = ge.defaults.variable, { prefix: o = t.prefix, selector: i = t.selector, excludedKeyRegex: r = t.excludedKeyRegex } = e, a = (u, p = "") => Object.entries(u).reduce(
691
691
  (c, [d, f]) => {
692
692
  const g = Bt(d, r) ? ci(p) : ci(p, Bs(d)), m = Qc(f);
693
693
  if (Ct(m)) {
@@ -706,7 +706,7 @@ function Hc(n, e = {}) {
706
706
  css: un(i, l.join(""))
707
707
  };
708
708
  }
709
- var nt = {
709
+ var ot = {
710
710
  regex: {
711
711
  rules: {
712
712
  class: {
@@ -755,12 +755,12 @@ var nt = {
755
755
  const { preset: d, options: f } = e;
756
756
  let g, m, v, w, y, C, S;
757
757
  if (J(d) && f.transform !== "strict") {
758
- const { primitive: $, semantic: z, extend: q } = d, Z = z || {}, { colorScheme: ue } = Z, pe = It(Z, ["colorScheme"]), A = q || {}, { colorScheme: ee } = A, H = It(A, ["colorScheme"]), ie = ue || {}, { dark: Be } = ie, Ce = It(ie, ["dark"]), Re = ee || {}, { dark: st } = Re, Ke = It(Re, ["dark"]), Ge = J($) ? this._toVariables({ primitive: $ }, f) : {}, Fe = J(pe) ? this._toVariables({ semantic: pe }, f) : {}, St = J(Ce) ? this._toVariables({ light: Ce }, f) : {}, tt = J(Be) ? this._toVariables({ dark: Be }, f) : {}, Dt = J(H) ? this._toVariables({ semantic: H }, f) : {}, No = J(Ke) ? this._toVariables({ light: Ke }, f) : {}, Ao = J(st) ? this._toVariables({ dark: st }, f) : {}, [Ur, xt] = [(r = Ge.declarations) != null ? r : "", Ge.tokens], [zr, Nr] = [(a = Fe.declarations) != null ? a : "", Fe.tokens || []], [jo, Qo] = [(l = St.declarations) != null ? l : "", St.tokens || []], [qo, Vo] = [(s = tt.declarations) != null ? s : "", tt.tokens || []], [Ut, Ar] = [(u = Dt.declarations) != null ? u : "", Dt.tokens || []], [_o, Mn] = [(p = No.declarations) != null ? p : "", No.tokens || []], [Bn, Wo] = [(c = Ao.declarations) != null ? c : "", Ao.tokens || []];
758
+ const { primitive: $, semantic: z, extend: q } = d, Z = z || {}, { colorScheme: ue } = Z, fe = It(Z, ["colorScheme"]), A = q || {}, { colorScheme: ee } = A, H = It(A, ["colorScheme"]), ie = ue || {}, { dark: Be } = ie, Ce = It(ie, ["dark"]), Re = ee || {}, { dark: ut } = Re, Ke = It(Re, ["dark"]), Ge = J($) ? this._toVariables({ primitive: $ }, f) : {}, Fe = J(fe) ? this._toVariables({ semantic: fe }, f) : {}, St = J(Ce) ? this._toVariables({ light: Ce }, f) : {}, nt = J(Be) ? this._toVariables({ dark: Be }, f) : {}, Dt = J(H) ? this._toVariables({ semantic: H }, f) : {}, No = J(Ke) ? this._toVariables({ light: Ke }, f) : {}, Ao = J(ut) ? this._toVariables({ dark: ut }, f) : {}, [Ur, xt] = [(r = Ge.declarations) != null ? r : "", Ge.tokens], [zr, Nr] = [(a = Fe.declarations) != null ? a : "", Fe.tokens || []], [jo, Qo] = [(l = St.declarations) != null ? l : "", St.tokens || []], [qo, Vo] = [(s = nt.declarations) != null ? s : "", nt.tokens || []], [Ut, Ar] = [(u = Dt.declarations) != null ? u : "", Dt.tokens || []], [_o, Mn] = [(p = No.declarations) != null ? p : "", No.tokens || []], [Bn, Wo] = [(c = Ao.declarations) != null ? c : "", Ao.tokens || []];
759
759
  g = this.transformCSS(n, Ur, "light", "variable", f, o, i), m = xt;
760
760
  const V = this.transformCSS(n, `${zr}${jo}`, "light", "variable", f, o, i), N = this.transformCSS(n, `${qo}`, "dark", "variable", f, o, i);
761
761
  v = `${V}${N}`, w = [.../* @__PURE__ */ new Set([...Nr, ...Qo, ...Vo])];
762
- const fe = this.transformCSS(n, `${Ut}${_o}color-scheme:light`, "light", "variable", f, o, i), Oe = this.transformCSS(n, `${Bn}color-scheme:dark`, "dark", "variable", f, o, i);
763
- y = `${fe}${Oe}`, C = [.../* @__PURE__ */ new Set([...Ar, ...Mn, ...Wo])], S = We(d.css, { dt: Qn });
762
+ const me = this.transformCSS(n, `${Ut}${_o}color-scheme:light`, "light", "variable", f, o, i), Oe = this.transformCSS(n, `${Bn}color-scheme:dark`, "dark", "variable", f, o, i);
763
+ y = `${me}${Oe}`, C = [.../* @__PURE__ */ new Set([...Ar, ...Mn, ...Wo])], S = We(d.css, { dt: Qn });
764
764
  }
765
765
  return {
766
766
  primitive: {
@@ -782,8 +782,8 @@ var nt = {
782
782
  var l, s, u;
783
783
  let p, c, d;
784
784
  if (J(e) && t.transform !== "strict") {
785
- const f = n.replace("-directive", ""), g = e, { colorScheme: m, extend: v, css: w } = g, y = It(g, ["colorScheme", "extend", "css"]), C = v || {}, { colorScheme: S } = C, $ = It(C, ["colorScheme"]), z = m || {}, { dark: q } = z, Z = It(z, ["dark"]), ue = S || {}, { dark: pe } = ue, A = It(ue, ["dark"]), ee = J(y) ? this._toVariables({ [f]: it(it({}, y), $) }, t) : {}, H = J(Z) ? this._toVariables({ [f]: it(it({}, Z), A) }, t) : {}, ie = J(q) ? this._toVariables({ [f]: it(it({}, q), pe) }, t) : {}, [Be, Ce] = [(l = ee.declarations) != null ? l : "", ee.tokens || []], [Re, st] = [(s = H.declarations) != null ? s : "", H.tokens || []], [Ke, Ge] = [(u = ie.declarations) != null ? u : "", ie.tokens || []], Fe = this.transformCSS(f, `${Be}${Re}`, "light", "variable", t, i, r, a), St = this.transformCSS(f, Ke, "dark", "variable", t, i, r, a);
786
- p = `${Fe}${St}`, c = [.../* @__PURE__ */ new Set([...Ce, ...st, ...Ge])], d = We(w, { dt: Qn });
785
+ const f = n.replace("-directive", ""), g = e, { colorScheme: m, extend: v, css: w } = g, y = It(g, ["colorScheme", "extend", "css"]), C = v || {}, { colorScheme: S } = C, $ = It(C, ["colorScheme"]), z = m || {}, { dark: q } = z, Z = It(z, ["dark"]), ue = S || {}, { dark: fe } = ue, A = It(ue, ["dark"]), ee = J(y) ? this._toVariables({ [f]: at(at({}, y), $) }, t) : {}, H = J(Z) ? this._toVariables({ [f]: at(at({}, Z), A) }, t) : {}, ie = J(q) ? this._toVariables({ [f]: at(at({}, q), fe) }, t) : {}, [Be, Ce] = [(l = ee.declarations) != null ? l : "", ee.tokens || []], [Re, ut] = [(s = H.declarations) != null ? s : "", H.tokens || []], [Ke, Ge] = [(u = ie.declarations) != null ? u : "", ie.tokens || []], Fe = this.transformCSS(f, `${Be}${Re}`, "light", "variable", t, i, r, a), St = this.transformCSS(f, Ke, "dark", "variable", t, i, r, a);
786
+ p = `${Fe}${St}`, c = [.../* @__PURE__ */ new Set([...Ce, ...ut, ...Ge])], d = We(w, { dt: Qn });
787
787
  }
788
788
  return {
789
789
  css: p,
@@ -889,7 +889,7 @@ var nt = {
889
889
  }
890
890
  return "";
891
891
  }
892
- }, he = {
892
+ }, ge = {
893
893
  defaults: {
894
894
  variable: {
895
895
  prefix: "p",
@@ -909,9 +909,9 @@ var nt = {
909
909
  _tokens: {},
910
910
  update(n = {}) {
911
911
  const { theme: e } = n;
912
- e && (this._theme = qr(it({}, e), {
913
- options: it(it({}, this.defaults.options), e.options)
914
- }), this._tokens = nt.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
912
+ e && (this._theme = qr(at({}, e), {
913
+ options: at(at({}, this.defaults.options), e.options)
914
+ }), this._tokens = ot.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
915
915
  },
916
916
  get theme() {
917
917
  return this._theme;
@@ -931,19 +931,19 @@ var nt = {
931
931
  return this.theme;
932
932
  },
933
933
  setTheme(n) {
934
- this.update({ theme: n }), ot.emit("theme:change", n);
934
+ this.update({ theme: n }), rt.emit("theme:change", n);
935
935
  },
936
936
  getPreset() {
937
937
  return this.preset;
938
938
  },
939
939
  setPreset(n) {
940
- this._theme = qr(it({}, this.theme), { preset: n }), this._tokens = nt.createTokens(n, this.defaults), this.clearLoadedStyleNames(), ot.emit("preset:change", n), ot.emit("theme:change", this.theme);
940
+ this._theme = qr(at({}, this.theme), { preset: n }), this._tokens = ot.createTokens(n, this.defaults), this.clearLoadedStyleNames(), rt.emit("preset:change", n), rt.emit("theme:change", this.theme);
941
941
  },
942
942
  getOptions() {
943
943
  return this.options;
944
944
  },
945
945
  setOptions(n) {
946
- this._theme = qr(it({}, this.theme), { options: n }), this.clearLoadedStyleNames(), ot.emit("options:change", n), ot.emit("theme:change", this.theme);
946
+ this._theme = qr(at({}, this.theme), { options: n }), this.clearLoadedStyleNames(), rt.emit("options:change", n), rt.emit("theme:change", this.theme);
947
947
  },
948
948
  getLayerNames() {
949
949
  return [...this._layerNames];
@@ -967,34 +967,34 @@ var nt = {
967
967
  this._loadedStyleNames.clear();
968
968
  },
969
969
  getTokenValue(n) {
970
- return nt.getTokenValue(this.tokens, n, this.defaults);
970
+ return ot.getTokenValue(this.tokens, n, this.defaults);
971
971
  },
972
972
  getCommon(n = "", e) {
973
- return nt.getCommon({ name: n, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
973
+ return ot.getCommon({ name: n, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
974
974
  },
975
975
  getComponent(n = "", e) {
976
976
  const t = { name: n, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
977
- return nt.getPresetC(t);
977
+ return ot.getPresetC(t);
978
978
  },
979
979
  getDirective(n = "", e) {
980
980
  const t = { name: n, theme: this.theme, params: e, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
981
- return nt.getPresetD(t);
981
+ return ot.getPresetD(t);
982
982
  },
983
983
  getCustomPreset(n = "", e, t, o) {
984
984
  const i = { name: n, preset: e, options: this.options, selector: t, params: o, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } };
985
- return nt.getPreset(i);
985
+ return ot.getPreset(i);
986
986
  },
987
987
  getLayerOrderCSS(n = "") {
988
- return nt.getLayerOrder(n, this.options, { names: this.getLayerNames() }, this.defaults);
988
+ return ot.getLayerOrder(n, this.options, { names: this.getLayerNames() }, this.defaults);
989
989
  },
990
990
  transformCSS(n = "", e, t = "style", o) {
991
- return nt.transformCSS(n, e, o, t, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
991
+ return ot.transformCSS(n, e, o, t, this.options, { layerNames: this.setLayerNames.bind(this) }, this.defaults);
992
992
  },
993
993
  getCommonStyleSheet(n = "", e, t = {}) {
994
- return nt.getCommonStyleSheet({ name: n, theme: this.theme, params: e, props: t, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
994
+ return ot.getCommonStyleSheet({ name: n, theme: this.theme, params: e, props: t, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
995
995
  },
996
996
  getStyleSheet(n, e, t = {}) {
997
- return nt.getStyleSheet({ name: n, theme: this.theme, params: e, props: t, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
997
+ return ot.getStyleSheet({ name: n, theme: this.theme, params: e, props: t, defaults: this.defaults, set: { layerNames: this.setLayerNames.bind(this) } });
998
998
  },
999
999
  onStyleMounted(n) {
1000
1000
  this._loadingStyles.add(n);
@@ -1003,7 +1003,7 @@ var nt = {
1003
1003
  this._loadingStyles.add(n);
1004
1004
  },
1005
1005
  onStyleLoaded(n, { name: e }) {
1006
- this._loadingStyles.size && (this._loadingStyles.delete(e), ot.emit(`theme:${e}:load`, n), !this._loadingStyles.size && ot.emit("theme:load"));
1006
+ this._loadingStyles.size && (this._loadingStyles.delete(e), rt.emit(`theme:${e}:load`, n), !this._loadingStyles.size && rt.emit("theme:load"));
1007
1007
  }
1008
1008
  }, Yo = {};
1009
1009
  function Gi(n = "pui_id_") {
@@ -1079,16 +1079,16 @@ function Yc(n) {
1079
1079
  }
1080
1080
  var Jc = 0;
1081
1081
  function Xc(n) {
1082
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = fn(!1), o = fn(n), i = fn(null), r = Wi() ? window.document : void 0, a = e.document, l = a === void 0 ? r : a, s = e.immediate, u = s === void 0 ? !0 : s, p = e.manual, c = p === void 0 ? !1 : p, d = e.name, f = d === void 0 ? "style_".concat(++Jc) : d, g = e.id, m = g === void 0 ? void 0 : g, v = e.media, w = v === void 0 ? void 0 : v, y = e.nonce, C = y === void 0 ? void 0 : y, S = e.first, $ = S === void 0 ? !1 : S, z = e.onMounted, q = z === void 0 ? void 0 : z, Z = e.onUpdated, ue = Z === void 0 ? void 0 : Z, pe = e.onLoad, A = pe === void 0 ? void 0 : pe, ee = e.props, H = ee === void 0 ? {} : ee, ie = function() {
1083
- }, Be = function(st) {
1082
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = fn(!1), o = fn(n), i = fn(null), r = Wi() ? window.document : void 0, a = e.document, l = a === void 0 ? r : a, s = e.immediate, u = s === void 0 ? !0 : s, p = e.manual, c = p === void 0 ? !1 : p, d = e.name, f = d === void 0 ? "style_".concat(++Jc) : d, g = e.id, m = g === void 0 ? void 0 : g, v = e.media, w = v === void 0 ? void 0 : v, y = e.nonce, C = y === void 0 ? void 0 : y, S = e.first, $ = S === void 0 ? !1 : S, z = e.onMounted, q = z === void 0 ? void 0 : z, Z = e.onUpdated, ue = Z === void 0 ? void 0 : Z, fe = e.onLoad, A = fe === void 0 ? void 0 : fe, ee = e.props, H = ee === void 0 ? {} : ee, ie = function() {
1083
+ }, Be = function(ut) {
1084
1084
  var Ke = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1085
1085
  if (l) {
1086
- var Ge = Da(Da({}, H), Ke), Fe = Ge.name || f, St = Ge.id || m, tt = Ge.nonce || C;
1087
- i.value = l.querySelector('style[data-primevue-style-id="'.concat(Fe, '"]')) || l.getElementById(St) || l.createElement("style"), i.value.isConnected || (o.value = st || n, br(i.value, {
1086
+ var Ge = Da(Da({}, H), Ke), Fe = Ge.name || f, St = Ge.id || m, nt = Ge.nonce || C;
1087
+ i.value = l.querySelector('style[data-primevue-style-id="'.concat(Fe, '"]')) || l.getElementById(St) || l.createElement("style"), i.value.isConnected || (o.value = ut || n, br(i.value, {
1088
1088
  type: "text/css",
1089
1089
  id: St,
1090
1090
  media: w,
1091
- nonce: tt
1091
+ nonce: nt
1092
1092
  }), $ ? l.head.prepend(i.value) : l.head.appendChild(i.value), To(i.value, "data-primevue-style-id", Fe), br(i.value, Ge), i.value.onload = function(Dt) {
1093
1093
  return A?.(Dt, {
1094
1094
  name: Fe
@@ -1370,23 +1370,23 @@ var ld = function(e) {
1370
1370
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
1371
1371
  return this.load(this.theme, t, function() {
1372
1372
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
1373
- return he.transformCSS(t.name || e.name, "".concat(i).concat(o));
1373
+ return ge.transformCSS(t.name || e.name, "".concat(i).concat(o));
1374
1374
  });
1375
1375
  },
1376
1376
  getCommonTheme: function(e) {
1377
- return he.getCommon(this.name, e);
1377
+ return ge.getCommon(this.name, e);
1378
1378
  },
1379
1379
  getComponentTheme: function(e) {
1380
- return he.getComponent(this.name, e);
1380
+ return ge.getComponent(this.name, e);
1381
1381
  },
1382
1382
  getDirectiveTheme: function(e) {
1383
- return he.getDirective(this.name, e);
1383
+ return ge.getDirective(this.name, e);
1384
1384
  },
1385
1385
  getPresetTheme: function(e, t, o) {
1386
- return he.getCustomPreset(this.name, e, t, o);
1386
+ return ge.getCustomPreset(this.name, e, t, o);
1387
1387
  },
1388
1388
  getLayerOrderThemeCSS: function() {
1389
- return he.getLayerOrderCSS(this.name);
1389
+ return ge.getLayerOrderCSS(this.name);
1390
1390
  },
1391
1391
  getStyleSheet: function() {
1392
1392
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -1403,14 +1403,14 @@ var ld = function(e) {
1403
1403
  },
1404
1404
  getCommonThemeStyleSheet: function(e) {
1405
1405
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1406
- return he.getCommonStyleSheet(this.name, e, t);
1406
+ return ge.getCommonStyleSheet(this.name, e, t);
1407
1407
  },
1408
1408
  getThemeStyleSheet: function(e) {
1409
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [he.getStyleSheet(this.name, e, t)];
1409
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = [ge.getStyleSheet(this.name, e, t)];
1410
1410
  if (this.theme) {
1411
1411
  var i = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), r = We(this.theme, {
1412
1412
  dt: Qn
1413
- }), a = jn(he.transformCSS(i, r)), l = Object.entries(t).reduce(function(s, u) {
1413
+ }), a = jn(ge.transformCSS(i, r)), l = Object.entries(t).reduce(function(s, u) {
1414
1414
  var p = Ua(u, 2), c = p[0], d = p[1];
1415
1415
  return s.push("".concat(c, '="').concat(d, '"')) && s;
1416
1416
  }, []).join(" ");
@@ -1577,7 +1577,7 @@ var X = {
1577
1577
  this._hook("onCreated");
1578
1578
  },
1579
1579
  beforeMount: function() {
1580
- this.rootEl = _e(this.$el, '[data-pc-name="'.concat(rt(this.$.type.name), '"]')), this.rootEl && (this.$attrSelector && !this.rootEl.hasAttribute(this.$attrSelector) && this.rootEl.setAttribute(this.$attrSelector, ""), this.rootEl.$pc = ae({
1580
+ this.rootEl = _e(this.$el, '[data-pc-name="'.concat(it(this.$.type.name), '"]')), this.rootEl && (this.$attrSelector && !this.rootEl.hasAttribute(this.$attrSelector) && this.rootEl.setAttribute(this.$attrSelector, ""), this.rootEl.$pc = ae({
1581
1581
  name: this.$.type.name,
1582
1582
  attrSelector: this.$attrSelector
1583
1583
  }, this.$params)), this._loadStyles(), this._hook("onBeforeMount");
@@ -1628,7 +1628,7 @@ var X = {
1628
1628
  _loadThemeStyles: function() {
1629
1629
  var e, t;
1630
1630
  if (!(this.isUnstyled || this.$theme === "none")) {
1631
- if (!he.isStyleNameLoaded("common")) {
1631
+ if (!ge.isStyleNameLoaded("common")) {
1632
1632
  var o, i, r = ((o = this.$style) === null || o === void 0 || (i = o.getCommonTheme) === null || i === void 0 ? void 0 : i.call(o)) || {}, a = r.primitive, l = r.semantic, s = r.global, u = r.style;
1633
1633
  _.load(a?.css, ae({
1634
1634
  name: "primitive-variables"
@@ -1638,22 +1638,22 @@ var X = {
1638
1638
  name: "global-variables"
1639
1639
  }, this.$styleOptions)), _.loadTheme(ae({
1640
1640
  name: "global-style"
1641
- }, this.$styleOptions), u), he.setLoadedStyleName("common");
1641
+ }, this.$styleOptions), u), ge.setLoadedStyleName("common");
1642
1642
  }
1643
- if (!he.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (t = this.$style) !== null && t !== void 0 && t.name) {
1643
+ if (!ge.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (t = this.$style) !== null && t !== void 0 && t.name) {
1644
1644
  var p, c, d, f, g = ((p = this.$style) === null || p === void 0 || (c = p.getComponentTheme) === null || c === void 0 ? void 0 : c.call(p)) || {}, m = g.css, v = g.style;
1645
1645
  (d = this.$style) === null || d === void 0 || d.load(m, ae({
1646
1646
  name: "".concat(this.$style.name, "-variables")
1647
1647
  }, this.$styleOptions)), (f = this.$style) === null || f === void 0 || f.loadTheme(ae({
1648
1648
  name: "".concat(this.$style.name, "-style")
1649
- }, this.$styleOptions), v), he.setLoadedStyleName(this.$style.name);
1649
+ }, this.$styleOptions), v), ge.setLoadedStyleName(this.$style.name);
1650
1650
  }
1651
- if (!he.isStyleNameLoaded("layer-order")) {
1651
+ if (!ge.isStyleNameLoaded("layer-order")) {
1652
1652
  var w, y, C = (w = this.$style) === null || w === void 0 || (y = w.getLayerOrderThemeCSS) === null || y === void 0 ? void 0 : y.call(w);
1653
1653
  _.load(C, ae({
1654
1654
  name: "layer-order",
1655
1655
  first: !0
1656
- }, this.$styleOptions)), he.setLoadedStyleName("layer-order");
1656
+ }, this.$styleOptions)), ge.setLoadedStyleName("layer-order");
1657
1657
  }
1658
1658
  }
1659
1659
  },
@@ -1670,7 +1670,7 @@ var X = {
1670
1670
  _themeChangeListener: function() {
1671
1671
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
1672
1672
  };
1673
- At.clearLoadedStyleNames(), ot.on("theme:change", e);
1673
+ At.clearLoadedStyleNames(), rt.on("theme:change", e);
1674
1674
  },
1675
1675
  _getHostInstance: function(e) {
1676
1676
  return e ? this.$options.hostName ? e.$.type.name === this.$options.hostName ? e : this._getHostInstance(e.$parentInstance) : e.$parentInstance : void 0;
@@ -1701,7 +1701,7 @@ var X = {
1701
1701
  },
1702
1702
  _getPTDatasets: function() {
1703
1703
  var e, t, o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", i = "data-pc-", r = o === "root" && J((e = this.pt) === null || e === void 0 ? void 0 : e["data-pc-section"]);
1704
- return o !== "transition" && ae(ae({}, o === "root" && ae(ae(zn({}, "".concat(i, "name"), rt(r ? (t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"] : this.$.type.name)), r && zn({}, "".concat(i, "extend"), rt(this.$.type.name))), Wi() && zn({}, "".concat(this.$attrSelector), ""))), {}, zn({}, "".concat(i, "section"), rt(o)));
1704
+ return o !== "transition" && ae(ae({}, o === "root" && ae(ae(zn({}, "".concat(i, "name"), it(r ? (t = this.pt) === null || t === void 0 ? void 0 : t["data-pc-section"] : this.$.type.name)), r && zn({}, "".concat(i, "extend"), it(this.$.type.name))), Wi() && zn({}, "".concat(this.$attrSelector), ""))), {}, zn({}, "".concat(i, "section"), it(o)));
1705
1705
  },
1706
1706
  _getPTClassValue: function() {
1707
1707
  var e = this._getOptionValue.apply(this, arguments);
@@ -1711,7 +1711,7 @@ var X = {
1711
1711
  },
1712
1712
  _getPT: function(e) {
1713
1713
  var t = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = arguments.length > 2 ? arguments[2] : void 0, r = function(l) {
1714
- var s, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, p = i ? i(l) : l, c = rt(o), d = rt(t.$name);
1714
+ var s, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, p = i ? i(l) : l, c = it(o), d = it(t.$name);
1715
1715
  return (s = u ? c !== d ? p?.[c] : void 0 : p?.[c]) !== null && s !== void 0 ? s : p;
1716
1716
  };
1717
1717
  return e != null && e.hasOwnProperty("_usept") ? {
@@ -2601,11 +2601,11 @@ var oe = {
2601
2601
  },
2602
2602
  _getPTDatasets: function() {
2603
2603
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = "data-pc-";
2604
- return ce(ce({}, t === "root" && pi({}, "".concat(o, "name"), rt(e.$name))), {}, pi({}, "".concat(o, "section"), rt(t)));
2604
+ return ce(ce({}, t === "root" && pi({}, "".concat(o, "name"), it(e.$name))), {}, pi({}, "".concat(o, "section"), it(t)));
2605
2605
  },
2606
2606
  _getPT: function(e) {
2607
2607
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = arguments.length > 2 ? arguments[2] : void 0, i = function(a) {
2608
- var l, s = o ? o(a) : a, u = rt(t);
2608
+ var l, s = o ? o(a) : a, u = it(t);
2609
2609
  return (l = s?.[u]) !== null && l !== void 0 ? l : s;
2610
2610
  };
2611
2611
  return e != null && e.hasOwnProperty("_usept") ? {
@@ -2646,7 +2646,7 @@ var oe = {
2646
2646
  _loadThemeStyles: function() {
2647
2647
  var e, t, o, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
2648
2648
  if (!(i != null && i.isUnstyled() || (i == null || (e = i.theme) === null || e === void 0 ? void 0 : e.call(i)) === "none")) {
2649
- if (!he.isStyleNameLoaded("common")) {
2649
+ if (!ge.isStyleNameLoaded("common")) {
2650
2650
  var a, l, s = ((a = i.$style) === null || a === void 0 || (l = a.getCommonTheme) === null || l === void 0 ? void 0 : l.call(a)) || {}, u = s.primitive, p = s.semantic, c = s.global, d = s.style;
2651
2651
  _.load(u?.css, ce({
2652
2652
  name: "primitive-variables"
@@ -2656,22 +2656,22 @@ var oe = {
2656
2656
  name: "global-variables"
2657
2657
  }, r)), _.loadTheme(ce({
2658
2658
  name: "global-style"
2659
- }, r), d), he.setLoadedStyleName("common");
2659
+ }, r), d), ge.setLoadedStyleName("common");
2660
2660
  }
2661
- if (!he.isStyleNameLoaded((t = i.$style) === null || t === void 0 ? void 0 : t.name) && (o = i.$style) !== null && o !== void 0 && o.name) {
2661
+ if (!ge.isStyleNameLoaded((t = i.$style) === null || t === void 0 ? void 0 : t.name) && (o = i.$style) !== null && o !== void 0 && o.name) {
2662
2662
  var f, g, m, v, w = ((f = i.$style) === null || f === void 0 || (g = f.getDirectiveTheme) === null || g === void 0 ? void 0 : g.call(f)) || {}, y = w.css, C = w.style;
2663
2663
  (m = i.$style) === null || m === void 0 || m.load(y, ce({
2664
2664
  name: "".concat(i.$style.name, "-variables")
2665
2665
  }, r)), (v = i.$style) === null || v === void 0 || v.loadTheme(ce({
2666
2666
  name: "".concat(i.$style.name, "-style")
2667
- }, r), C), he.setLoadedStyleName(i.$style.name);
2667
+ }, r), C), ge.setLoadedStyleName(i.$style.name);
2668
2668
  }
2669
- if (!he.isStyleNameLoaded("layer-order")) {
2669
+ if (!ge.isStyleNameLoaded("layer-order")) {
2670
2670
  var S, $, z = (S = i.$style) === null || S === void 0 || ($ = S.getLayerOrderThemeCSS) === null || $ === void 0 ? void 0 : $.call(S);
2671
2671
  _.load(z, ce({
2672
2672
  name: "layer-order",
2673
2673
  first: !0
2674
- }, r)), he.setLoadedStyleName("layer-order");
2674
+ }, r)), ge.setLoadedStyleName("layer-order");
2675
2675
  }
2676
2676
  }
2677
2677
  },
@@ -2687,7 +2687,7 @@ var oe = {
2687
2687
  _themeChangeListener: function() {
2688
2688
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function() {
2689
2689
  };
2690
- At.clearLoadedStyleNames(), ot.on("theme:change", e);
2690
+ At.clearLoadedStyleNames(), rt.on("theme:change", e);
2691
2691
  },
2692
2692
  _hook: function(e, t, o, i, r, a) {
2693
2693
  var l, s, u = "on".concat(Uc(t)), p = oe._getConfig(i, r), c = o?.$instance, d = oe._usePT(c, oe._getPT(i == null || (l = i.value) === null || l === void 0 ? void 0 : l.pt, e), oe._getOptionValue, "hooks.".concat(u)), f = oe._useDefaultPT(c, p == null || (s = p.pt) === null || s === void 0 || (s = s.directives) === null || s === void 0 ? void 0 : s[e], oe._getOptionValue, "hooks.".concat(u)), g = {
@@ -2932,11 +2932,11 @@ var Ae = ip.extend("ripple", {
2932
2932
  onMouseDown: function(e) {
2933
2933
  var t = this, o = e.currentTarget, i = this.getInk(o);
2934
2934
  if (!(!i || getComputedStyle(i, null).display === "none")) {
2935
- if (!this.isUnstyled() && Ve(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !vt(i) && !lt(i)) {
2935
+ if (!this.isUnstyled() && Ve(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !yt(i) && !st(i)) {
2936
2936
  var r = Math.max(Le(o), kt(o));
2937
2937
  i.style.height = r + "px", i.style.width = r + "px";
2938
2938
  }
2939
- var a = yt(o), l = e.pageX - a.left + document.body.scrollTop - lt(i) / 2, s = e.pageY - a.top + document.body.scrollLeft - vt(i) / 2;
2939
+ var a = wt(o), l = e.pageX - a.left + document.body.scrollTop - st(i) / 2, s = e.pageY - a.top + document.body.scrollLeft - yt(i) / 2;
2940
2940
  i.style.top = s + "px", i.style.left = l + "px", !this.isUnstyled() && qe(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
2941
2941
  i && (!t.isUnstyled() && Ve(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"));
2942
2942
  }, 401);
@@ -2960,7 +2960,7 @@ function to(n) {
2960
2960
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2961
2961
  }, to(n);
2962
2962
  }
2963
- function pt(n, e, t) {
2963
+ function ft(n, e, t) {
2964
2964
  return (e = fp(e)) in n ? Object.defineProperty(n, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : n[e] = t, n;
2965
2965
  }
2966
2966
  function fp(n) {
@@ -3607,7 +3607,7 @@ var hp = function(e) {
3607
3607
  }, gp = {
3608
3608
  root: function(e) {
3609
3609
  var t = e.instance, o = e.props;
3610
- return ["p-button p-component", pt(pt(pt(pt(pt(pt(pt(pt(pt({
3610
+ return ["p-button p-component", ft(ft(ft(ft(ft(ft(ft(ft(ft({
3611
3611
  "p-button-icon-only": t.hasIcon && !o.label && !o.badge,
3612
3612
  "p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
3613
3613
  "p-button-loading": o.loading,
@@ -3617,7 +3617,7 @@ var hp = function(e) {
3617
3617
  loadingIcon: "p-button-loading-icon",
3618
3618
  icon: function(e) {
3619
3619
  var t = e.props;
3620
- return ["p-button-icon", pt({}, "p-button-icon-".concat(t.iconPos), t.label)];
3620
+ return ["p-button-icon", ft({}, "p-button-icon-".concat(t.iconPos), t.label)];
3621
3621
  },
3622
3622
  label: "p-button-label"
3623
3623
  }, bp = _.extend({
@@ -3720,7 +3720,7 @@ var hp = function(e) {
3720
3720
  $parentInstance: this
3721
3721
  };
3722
3722
  }
3723
- }, et = {
3723
+ }, tt = {
3724
3724
  name: "Button",
3725
3725
  extends: vp,
3726
3726
  inheritAttrs: !1,
@@ -3784,7 +3784,7 @@ function yp(n, e, t, o, i, r) {
3784
3784
  key: 1,
3785
3785
  class: K(n.cx("root")),
3786
3786
  a11yAttrs: r.a11yAttrs
3787
- }) : ge((h(), I(Q(n.as), b({
3787
+ }) : pe((h(), I(Q(n.as), b({
3788
3788
  key: 0,
3789
3789
  class: n.cx("root")
3790
3790
  }, r.attrs), {
@@ -3825,7 +3825,7 @@ function yp(n, e, t, o, i, r) {
3825
3825
  _: 3
3826
3826
  }, 16, ["class"])), [[s]]);
3827
3827
  }
3828
- et.render = yp;
3828
+ tt.render = yp;
3829
3829
  var wp = _.extend({
3830
3830
  name: "focustrap-directive"
3831
3831
  }), kp = oe.extend({
@@ -4507,7 +4507,7 @@ var Mp = function(e) {
4507
4507
  focustrap: As
4508
4508
  },
4509
4509
  components: {
4510
- Button: et,
4510
+ Button: tt,
4511
4511
  Portal: Po,
4512
4512
  WindowMinimizeIcon: Ns,
4513
4513
  WindowMaximizeIcon: zs,
@@ -4591,7 +4591,7 @@ function Dp(n, e, t, o, i, r) {
4591
4591
  appear: ""
4592
4592
  }, n.ptm("transition")), {
4593
4593
  default: P(function() {
4594
- return [n.visible ? ge((h(), k("div", b({
4594
+ return [n.visible ? pe((h(), k("div", b({
4595
4595
  key: 0,
4596
4596
  ref: r.containerRef,
4597
4597
  class: n.cx("root"),
@@ -4692,7 +4692,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
4692
4692
  OBJECT: "object",
4693
4693
  STRING: "string",
4694
4694
  UNDEFINED: "undefined"
4695
- }, je = "browser", Mt = "cpu", bt = "device", at = "engine", Ye = "os", mn = "result", F = "name", M = "type", T = "vendor", L = "version", Ne = "architecture", ro = "major", B = "model", Nn = "console", te = "mobile", me = "tablet", Me = "smarttv", mt = "wearable", Jo = "xr", An = "embedded", nn = "inapp", Yi = "brands", Yt = "formFactors", Ji = "fullVersionList", hn = "platform", Xi = "platformVersion", Fr = "bitness", Wt = "sec-ch-ua", Np = Wt + "-full-version-list", Ap = Wt + "-arch", jp = Wt + "-" + Fr, Qp = Wt + "-form-factors", qp = Wt + "-" + te, Vp = Wt + "-" + B, Qs = Wt + "-" + hn, _p = Qs + "-version", qs = [Yi, Ji, te, B, hn, Xi, Ne, Yt, Fr], Xo = "Amazon", on = "Apple", nl = "ASUS", ol = "BlackBerry", Kt = "Google", rl = "Huawei", _r = "Lenovo", il = "Honor", er = "LG", Wr = "Microsoft", Hr = "Motorola", Kr = "Nvidia", al = "OnePlus", Gr = "OPPO", Fn = "Samsung", ll = "Sharp", Tn = "Sony", Zr = "Xiaomi", Yr = "Zebra", sl = "Chrome", ul = "Chromium", zt = "Chromecast", mr = "Edge", Ln = "Firefox", On = "Opera", Jr = "Facebook", cl = "Sogou", rn = "Mobile ", En = " Browser", mi = "Windows", Wp = typeof window !== xe.UNDEFINED, Qe = Wp && window.navigator ? window.navigator : void 0, jt = Qe && Qe.userAgentData ? Qe.userAgentData : void 0, Hp = function(n, e) {
4695
+ }, je = "browser", Mt = "cpu", vt = "device", lt = "engine", Ye = "os", mn = "result", F = "name", M = "type", T = "vendor", L = "version", Ne = "architecture", ro = "major", B = "model", Nn = "console", te = "mobile", he = "tablet", Me = "smarttv", ht = "wearable", Jo = "xr", An = "embedded", nn = "inapp", Yi = "brands", Yt = "formFactors", Ji = "fullVersionList", hn = "platform", Xi = "platformVersion", Fr = "bitness", Wt = "sec-ch-ua", Np = Wt + "-full-version-list", Ap = Wt + "-arch", jp = Wt + "-" + Fr, Qp = Wt + "-form-factors", qp = Wt + "-" + te, Vp = Wt + "-" + B, Qs = Wt + "-" + hn, _p = Qs + "-version", qs = [Yi, Ji, te, B, hn, Xi, Ne, Yt, Fr], Xo = "Amazon", on = "Apple", nl = "ASUS", ol = "BlackBerry", Kt = "Google", rl = "Huawei", _r = "Lenovo", il = "Honor", er = "LG", Wr = "Microsoft", Hr = "Motorola", Kr = "Nvidia", al = "OnePlus", Gr = "OPPO", Fn = "Samsung", ll = "Sharp", Tn = "Sony", Zr = "Xiaomi", Yr = "Zebra", sl = "Chrome", ul = "Chromium", zt = "Chromecast", mr = "Edge", Ln = "Firefox", On = "Opera", Jr = "Facebook", cl = "Sogou", rn = "Mobile ", En = " Browser", mi = "Windows", Wp = typeof window !== xe.UNDEFINED, Qe = Wp && window.navigator ? window.navigator : void 0, jt = Qe && Qe.userAgentData ? Qe.userAgentData : void 0, Hp = function(n, e) {
4696
4696
  var t = {}, o = e;
4697
4697
  if (!Cr(e)) {
4698
4698
  o = {};
@@ -4756,7 +4756,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
4756
4756
  s = l[++i], a = p[r], typeof a === xe.OBJECT && a.length > 0 ? a.length === 2 ? typeof a[1] == xe.FUNCTION ? this[a[0]] = a[1].call(this, s) : this[a[0]] = a[1] : a.length >= 3 && (typeof a[1] === xe.FUNCTION && !(a[1].exec && a[1].test) ? a.length > 3 ? this[a[0]] = s ? a[1].apply(this, a.slice(2)) : void 0 : this[a[0]] = s ? a[1].call(this, s, a[2]) : void 0 : a.length == 3 ? this[a[0]] = s ? s.replace(a[1], a[2]) : void 0 : a.length == 4 ? this[a[0]] = s ? a[3].call(this, s.replace(a[1], a[2])) : void 0 : a.length > 4 && (this[a[0]] = s ? a[3].apply(this, [s.replace(a[1], a[2])].concat(a.slice(4))) : void 0)) : this[a] = s || void 0;
4757
4757
  t += 2;
4758
4758
  }
4759
- }, ht = function(n, e) {
4759
+ }, gt = function(n, e) {
4760
4760
  for (var t in e)
4761
4761
  if (typeof e[t] === xe.OBJECT && e[t].length > 0) {
4762
4762
  for (var o = 0; o < e[t].length; o++)
@@ -5215,7 +5215,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5215
5215
  // Samsung
5216
5216
  /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
5217
5217
  ],
5218
- [B, [T, Fn], [M, me]],
5218
+ [B, [T, Fn], [M, he]],
5219
5219
  [
5220
5220
  /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
5221
5221
  /samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,
@@ -5233,7 +5233,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5233
5233
  // iPad
5234
5234
  /\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i
5235
5235
  ],
5236
- [B, [T, on], [M, me]],
5236
+ [B, [T, on], [M, he]],
5237
5237
  [
5238
5238
  /(macintosh);/i
5239
5239
  ],
@@ -5247,7 +5247,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5247
5247
  // Honor
5248
5248
  /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
5249
5249
  ],
5250
- [B, [T, il], [M, me]],
5250
+ [B, [T, il], [M, he]],
5251
5251
  [
5252
5252
  /honor([-\w ]+)[;\)]/i
5253
5253
  ],
@@ -5256,7 +5256,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5256
5256
  // Huawei
5257
5257
  /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
5258
5258
  ],
5259
- [B, [T, rl], [M, me]],
5259
+ [B, [T, rl], [M, he]],
5260
5260
  [
5261
5261
  /(?:huawei) ?([-\w ]+)[;\)]/i,
5262
5262
  /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i
@@ -5268,7 +5268,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5268
5268
  /\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
5269
5269
  // Mi Pad tablets
5270
5270
  ],
5271
- [[B, /_/g, " "], [T, Zr], [M, me]],
5271
+ [[B, /_/g, " "], [T, Zr], [M, he]],
5272
5272
  [
5273
5273
  /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
5274
5274
  // Xiaomi POCO
@@ -5300,7 +5300,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5300
5300
  [
5301
5301
  /\b(opd2(\d{3}a?))(?: bui|\))/i
5302
5302
  ],
5303
- [B, [T, ht, { OnePlus: ["203", "304", "403", "404", "413", "415"], "*": Gr }], [M, me]],
5303
+ [B, [T, gt, { OnePlus: ["203", "304", "403", "404", "413", "415"], "*": Gr }], [M, he]],
5304
5304
  [
5305
5305
  // BLU
5306
5306
  /(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i
@@ -5323,7 +5323,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5323
5323
  /(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
5324
5324
  /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
5325
5325
  ],
5326
- [B, [T, _r], [M, me]],
5326
+ [B, [T, _r], [M, he]],
5327
5327
  [
5328
5328
  /lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i
5329
5329
  ],
@@ -5338,12 +5338,12 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5338
5338
  [
5339
5339
  /\b(mz60\d|xoom[2 ]{0,2}) build\//i
5340
5340
  ],
5341
- [B, [T, Hr], [M, me]],
5341
+ [B, [T, Hr], [M, he]],
5342
5342
  [
5343
5343
  // LG
5344
5344
  /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
5345
5345
  ],
5346
- [B, [T, er], [M, me]],
5346
+ [B, [T, er], [M, he]],
5347
5347
  [
5348
5348
  /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
5349
5349
  /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,
@@ -5354,7 +5354,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5354
5354
  // Nokia
5355
5355
  /(nokia) (t[12][01])/i
5356
5356
  ],
5357
- [T, B, [M, me]],
5357
+ [T, B, [M, he]],
5358
5358
  [
5359
5359
  /(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
5360
5360
  /nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i
@@ -5365,7 +5365,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5365
5365
  /(pixel (c|tablet))\b/i
5366
5366
  // Google Pixel C/Tablet
5367
5367
  ],
5368
- [B, [T, Kt], [M, me]],
5368
+ [B, [T, Kt], [M, he]],
5369
5369
  [
5370
5370
  // Google Pixel
5371
5371
  /droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i
@@ -5384,7 +5384,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5384
5384
  /sony tablet [ps]/i,
5385
5385
  /\b(?:sony)?sgp\w+(?: bui|\))/i
5386
5386
  ],
5387
- [[B, "Xperia Tablet"], [T, Tn], [M, me]],
5387
+ [[B, "Xperia Tablet"], [T, Tn], [M, he]],
5388
5388
  [
5389
5389
  // Amazon
5390
5390
  /(alexa)webm/i,
@@ -5393,7 +5393,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5393
5393
  /(kf[a-z]+)( bui|\)).+silk\//i
5394
5394
  // Kindle Fire HD
5395
5395
  ],
5396
- [B, [T, Xo], [M, me]],
5396
+ [B, [T, Xo], [M, he]],
5397
5397
  [
5398
5398
  /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
5399
5399
  // Fire Phone
@@ -5404,7 +5404,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5404
5404
  /(playbook);[-\w\),; ]+(rim)/i
5405
5405
  // BlackBerry PlayBook
5406
5406
  ],
5407
- [B, T, [M, me]],
5407
+ [B, T, [M, he]],
5408
5408
  [
5409
5409
  /\b((?:bb[a-f]|st[hv])100-\d)/i,
5410
5410
  /(?:blackberry|\(bb10;) (\w+)/i
@@ -5414,7 +5414,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5414
5414
  // Asus
5415
5415
  /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
5416
5416
  ],
5417
- [B, [T, nl], [M, me]],
5417
+ [B, [T, nl], [M, he]],
5418
5418
  [
5419
5419
  / (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
5420
5420
  ],
@@ -5424,7 +5424,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5424
5424
  /(nexus 9)/i
5425
5425
  // HTC Nexus 9
5426
5426
  ],
5427
- [B, [T, "HTC"], [M, me]],
5427
+ [B, [T, "HTC"], [M, he]],
5428
5428
  [
5429
5429
  /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
5430
5430
  // HTC
@@ -5439,7 +5439,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5439
5439
  /tcl (xess p17aa)/i,
5440
5440
  /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i
5441
5441
  ],
5442
- [B, [T, "TCL"], [M, me]],
5442
+ [B, [T, "TCL"], [M, he]],
5443
5443
  [
5444
5444
  /droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i
5445
5445
  ],
@@ -5448,12 +5448,12 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5448
5448
  // itel
5449
5449
  /(itel) ((\w+))/i
5450
5450
  ],
5451
- [[T, qt], B, [M, ht, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
5451
+ [[T, qt], B, [M, gt, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
5452
5452
  [
5453
5453
  // Acer
5454
5454
  /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
5455
5455
  ],
5456
- [B, [T, "Acer"], [M, me]],
5456
+ [B, [T, "Acer"], [M, he]],
5457
5457
  [
5458
5458
  // Meizu
5459
5459
  /droid.+; (m[1-5] note) bui/i,
@@ -5492,7 +5492,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5492
5492
  /; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
5493
5493
  /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i
5494
5494
  ],
5495
- [B, [T, "Archos"], [M, me]],
5495
+ [B, [T, "Archos"], [M, he]],
5496
5496
  [
5497
5497
  /archos ([\w ]+)( b|\))/i,
5498
5498
  /; (ac[3-6]\d\w{2,8})( b|\))/i
@@ -5510,7 +5510,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5510
5510
  /(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i
5511
5511
  // Infinix XPad / Tecno
5512
5512
  ],
5513
- [T, B, [M, me]],
5513
+ [T, B, [M, he]],
5514
5514
  [
5515
5515
  /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
5516
5516
  // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Tecno/Micromax/Advan
@@ -5536,12 +5536,12 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5536
5536
  /(kindle)\/([\w\.]+)/i
5537
5537
  // Kindle
5538
5538
  ],
5539
- [T, B, [M, me]],
5539
+ [T, B, [M, he]],
5540
5540
  [
5541
5541
  /(surface duo)/i
5542
5542
  // Surface Duo
5543
5543
  ],
5544
- [B, [T, Wr], [M, me]],
5544
+ [B, [T, Wr], [M, he]],
5545
5545
  [
5546
5546
  /droid [\d\.]+; (fp\du?)(?: b|\))/i
5547
5547
  // Fairphone
@@ -5551,7 +5551,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5551
5551
  /((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
5552
5552
  // Nvidia Tablets
5553
5553
  ],
5554
- [B, [T, Kr], [M, me]],
5554
+ [B, [T, Kr], [M, he]],
5555
5555
  [
5556
5556
  /(sprint) (\w+)/i
5557
5557
  // Sprint Phones
@@ -5566,7 +5566,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5566
5566
  /droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
5567
5567
  // Zebra
5568
5568
  ],
5569
- [B, [T, Yr], [M, me]],
5569
+ [B, [T, Yr], [M, he]],
5570
5570
  [
5571
5571
  /droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
5572
5572
  ],
@@ -5663,7 +5663,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5663
5663
  /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
5664
5664
  // HbbTV devices
5665
5665
  ],
5666
- [[T, /.+\/(\w+)/, "$1", ht, { LG: "lge" }], [B, Sr], [M, Me]],
5666
+ [[T, /.+\/(\w+)/, "$1", gt, { LG: "lge" }], [B, Sr], [M, Me]],
5667
5667
  [
5668
5668
  ///////////////////
5669
5669
  // CONSOLES
@@ -5698,48 +5698,48 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5698
5698
  /\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
5699
5699
  // Samsung Galaxy Watch
5700
5700
  ],
5701
- [B, [T, Fn], [M, mt]],
5701
+ [B, [T, Fn], [M, ht]],
5702
5702
  [
5703
5703
  /((pebble))app/i,
5704
5704
  // Pebble
5705
5705
  /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i
5706
5706
  // Asus ZenWatch / LG Watch / Pixel Watch
5707
5707
  ],
5708
- [T, B, [M, mt]],
5708
+ [T, B, [M, ht]],
5709
5709
  [
5710
5710
  /(ow(?:19|20)?we?[1-3]{1,3})/i
5711
5711
  // Oppo Watch
5712
5712
  ],
5713
- [B, [T, Gr], [M, mt]],
5713
+ [B, [T, Gr], [M, ht]],
5714
5714
  [
5715
5715
  /(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
5716
5716
  // Apple Watch
5717
5717
  ],
5718
- [B, [T, on], [M, mt]],
5718
+ [B, [T, on], [M, ht]],
5719
5719
  [
5720
5720
  /(opwwe\d{3})/i
5721
5721
  // OnePlus Watch
5722
5722
  ],
5723
- [B, [T, al], [M, mt]],
5723
+ [B, [T, al], [M, ht]],
5724
5724
  [
5725
5725
  /(moto 360)/i
5726
5726
  // Motorola 360
5727
5727
  ],
5728
- [B, [T, Hr], [M, mt]],
5728
+ [B, [T, Hr], [M, ht]],
5729
5729
  [
5730
5730
  /(smartwatch 3)/i
5731
5731
  // Sony SmartWatch
5732
5732
  ],
5733
- [B, [T, Tn], [M, mt]],
5733
+ [B, [T, Tn], [M, ht]],
5734
5734
  [
5735
5735
  /(g watch r)/i
5736
5736
  // LG G Watch R
5737
5737
  ],
5738
- [B, [T, er], [M, mt]],
5738
+ [B, [T, er], [M, ht]],
5739
5739
  [
5740
5740
  /droid.+; (wt63?0{2,3})\)/i
5741
5741
  ],
5742
- [B, [T, Yr], [M, mt]],
5742
+ [B, [T, Yr], [M, ht]],
5743
5743
  [
5744
5744
  ///////////////////
5745
5745
  // XR
@@ -5801,12 +5801,12 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5801
5801
  [
5802
5802
  /droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i
5803
5803
  ],
5804
- [B, [M, ht, { mobile: "Mobile", xr: "VR", "*": me }]],
5804
+ [B, [M, gt, { mobile: "Mobile", xr: "VR", "*": he }]],
5805
5805
  [
5806
5806
  /\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
5807
5807
  // Unidentifiable Tablet
5808
5808
  ],
5809
- [[M, me]],
5809
+ [[M, he]],
5810
5810
  [
5811
5811
  /(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
5812
5812
  // Unidentifiable Mobile
@@ -5865,7 +5865,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5865
5865
  /(windows nt) (6\.[23]); arm/i
5866
5866
  // Windows RT
5867
5867
  ],
5868
- [[F, /N/, "R"], [L, ht, dl]],
5868
+ [[F, /N/, "R"], [L, gt, dl]],
5869
5869
  [
5870
5870
  /(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,
5871
5871
  // Windows IoT/Mobile/Phone
@@ -5877,7 +5877,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5877
5877
  /windows nt ?([\d\.\)]*)(?!.+xbox)/i,
5878
5878
  /\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i
5879
5879
  ],
5880
- [[L, /(;|\))/g, "", ht, dl], [F, mi]],
5880
+ [[L, /(;|\))/g, "", gt, dl], [F, mi]],
5881
5881
  [
5882
5882
  /(windows ce)\/?([\d\.]*)/i
5883
5883
  // Windows CE
@@ -5966,7 +5966,7 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
5966
5966
  /web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i
5967
5967
  // https://webostv.developer.lge.com/develop/specifications/web-api-and-web-engine
5968
5968
  ],
5969
- [[L, ht, { 25: "120", 24: "108", 23: "94", 22: "87", 6: "79", 5: "68", 4: "53", 3: "38", 2: "538", 1: "537", "*": "TV" }], [F, "webOS"]],
5969
+ [[L, gt, { 25: "120", 24: "108", 23: "94", 22: "87", 6: "79", 5: "68", 4: "53", 3: "38", 2: "538", 1: "537", "*": "TV" }], [F, "webOS"]],
5970
5970
  [
5971
5971
  /watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i
5972
5972
  // watchOS
@@ -6034,12 +6034,12 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
6034
6034
  return Rt.call(n.init, [
6035
6035
  [je, [F, L, ro, M]],
6036
6036
  [Mt, [Ne]],
6037
- [bt, [M, B, T]],
6038
- [at, [F, L]],
6037
+ [vt, [M, B, T]],
6038
+ [lt, [F, L]],
6039
6039
  [Ye, [F, L]]
6040
6040
  ]), Rt.call(n.isIgnore, [
6041
6041
  [je, [L, ro]],
6042
- [at, [L]],
6042
+ [lt, [L]],
6043
6043
  [Ye, [L]]
6044
6044
  ]), Rt.call(n.isIgnoreRgx, [
6045
6045
  [je, / ?browser$/i],
@@ -6047,8 +6047,8 @@ var Up = "2.0.6", zp = 500, el = "user-agent", kn = "", tl = "?", xe = {
6047
6047
  ]), Rt.call(n.toString, [
6048
6048
  [je, [F, L]],
6049
6049
  [Mt, [Ne]],
6050
- [bt, [T, B]],
6051
- [at, [F, L]],
6050
+ [vt, [T, B]],
6051
+ [lt, [F, L]],
6052
6052
  [Ye, [F, L]]
6053
6053
  ]), n;
6054
6054
  })(), Gp = function(n, e) {
@@ -6122,8 +6122,8 @@ function ml(n, e, t, o) {
6122
6122
  case je:
6123
6123
  Qe.brave && typeof Qe.brave.isBrave == xe.FUNCTION && this.set(F, "Brave");
6124
6124
  break;
6125
- case bt:
6126
- !this.get(M) && jt && jt[te] && this.set(M, te), this.get(B) == "Macintosh" && Qe && typeof Qe.standalone !== xe.UNDEFINED && Qe.maxTouchPoints && Qe.maxTouchPoints > 2 && this.set(B, "iPad").set(M, me);
6125
+ case vt:
6126
+ !this.get(M) && jt && jt[te] && this.set(M, te), this.get(B) == "Macintosh" && Qe && typeof Qe.standalone !== xe.UNDEFINED && Qe.maxTouchPoints && Qe.maxTouchPoints > 2 && this.set(B, "iPad").set(M, he);
6127
6127
  break;
6128
6128
  case Ye:
6129
6129
  !this.get(F) && jt && jt[hn] && this.set(F, jt[hn]);
@@ -6132,7 +6132,7 @@ function ml(n, e, t, o) {
6132
6132
  var i = this.data, r = function(a) {
6133
6133
  return i[a].getItem().detectFeature().get();
6134
6134
  };
6135
- this.set(je, r(je)).set(Mt, r(Mt)).set(bt, r(bt)).set(at, r(at)).set(Ye, r(Ye));
6135
+ this.set(je, r(je)).set(Mt, r(Mt)).set(vt, r(vt)).set(lt, r(lt)).set(Ye, r(Ye));
6136
6136
  }
6137
6137
  return this;
6138
6138
  }, this.parseUA = function() {
@@ -6152,19 +6152,19 @@ function ml(n, e, t, o) {
6152
6152
  var i = this.uaCH, r = this.rgxMap;
6153
6153
  switch (this.itemType) {
6154
6154
  case je:
6155
- case at:
6155
+ case lt:
6156
6156
  var a = i[Ji] || i[Yi], l;
6157
6157
  if (a)
6158
6158
  for (var s = 0; s < a.length; s++) {
6159
6159
  var u = a[s].brand || a[s], p = a[s].version;
6160
- this.itemType == je && !/not.a.brand/i.test(u) && (!l || /Chrom/.test(l) && u != ul || l == mr && /WebView2/.test(u)) && (u = ht(u, Kp), l = this.get(F), l && !/Chrom/.test(l) && /Chrom/.test(u) || this.set(F, u).set(L, p).set(ro, ei(p)), l = u), this.itemType == at && u == ul && this.set(L, p);
6160
+ this.itemType == je && !/not.a.brand/i.test(u) && (!l || /Chrom/.test(l) && u != ul || l == mr && /WebView2/.test(u)) && (u = gt(u, Kp), l = this.get(F), l && !/Chrom/.test(l) && /Chrom/.test(u) || this.set(F, u).set(L, p).set(ro, ei(p)), l = u), this.itemType == lt && u == ul && this.set(L, p);
6161
6161
  }
6162
6162
  break;
6163
6163
  case Mt:
6164
6164
  var c = i[Ne];
6165
6165
  c && (c && i[Fr] == "64" && (c += "64"), ti.call(this.data, c + ";", r));
6166
6166
  break;
6167
- case bt:
6167
+ case vt:
6168
6168
  if (i[te] && this.set(M, te), i[B] && (this.set(B, i[B]), !this.get(M) || !this.get(T))) {
6169
6169
  var d = {};
6170
6170
  ti.call(d, "droid 9; " + i[B] + ")", r), !this.get(M) && d.type && this.set(M, d.type), !this.get(T) && d.vendor && this.set(T, d.vendor);
@@ -6173,9 +6173,9 @@ function ml(n, e, t, o) {
6173
6173
  var f;
6174
6174
  if (typeof i[Yt] != "string")
6175
6175
  for (var g = 0; !f && g < i[Yt].length; )
6176
- f = ht(i[Yt][g++], pl);
6176
+ f = gt(i[Yt][g++], pl);
6177
6177
  else
6178
- f = ht(i[Yt], pl);
6178
+ f = gt(i[Yt], pl);
6179
6179
  this.set(M, f);
6180
6180
  }
6181
6181
  break;
@@ -6191,7 +6191,7 @@ function ml(n, e, t, o) {
6191
6191
  var w = this.data, y = function(C) {
6192
6192
  return w[C].getItem().setCH(i).parseCH().get();
6193
6193
  };
6194
- this.set(je, y(je)).set(Mt, y(Mt)).set(bt, y(bt)).set(at, y(at)).set(Ye, y(Ye));
6194
+ this.set(je, y(je)).set(Mt, y(Mt)).set(vt, y(vt)).set(lt, y(lt)).set(Ye, y(Ye));
6195
6195
  }
6196
6196
  return this;
6197
6197
  }, Rt.call(this, [
@@ -6228,7 +6228,7 @@ function Et(n, e, t) {
6228
6228
  )
6229
6229
  ), l = new Vs(t, !0), s = e ? Hp(fl, e) : fl, u = function(p) {
6230
6230
  return p == mn ? function() {
6231
- return new ml(p, a, s, l).set("ua", a).set(je, this.getBrowser()).set(Mt, this.getCPU()).set(bt, this.getDevice()).set(at, this.getEngine()).set(Ye, this.getOS()).get();
6231
+ return new ml(p, a, s, l).set("ua", a).set(je, this.getBrowser()).set(Mt, this.getCPU()).set(vt, this.getDevice()).set(lt, this.getEngine()).set(Ye, this.getOS()).get();
6232
6232
  } : function() {
6233
6233
  return new ml(p, a, s[p], l).parseUA().get();
6234
6234
  };
@@ -6236,8 +6236,8 @@ function Et(n, e, t) {
6236
6236
  return Rt.call(this, [
6237
6237
  ["getBrowser", u(je)],
6238
6238
  ["getCPU", u(Mt)],
6239
- ["getDevice", u(bt)],
6240
- ["getEngine", u(at)],
6239
+ ["getDevice", u(vt)],
6240
+ ["getEngine", u(lt)],
6241
6241
  ["getOS", u(Ye)],
6242
6242
  ["getResult", u(mn)],
6243
6243
  ["getUA", function() {
@@ -6251,7 +6251,7 @@ function Et(n, e, t) {
6251
6251
  Et.VERSION = Up;
6252
6252
  Et.BROWSER = Tr([F, L, ro, M]);
6253
6253
  Et.CPU = Tr([Ne]);
6254
- Et.DEVICE = Tr([B, T, M, Nn, te, Me, me, mt, An]);
6254
+ Et.DEVICE = Tr([B, T, M, Nn, te, Me, he, ht, An]);
6255
6255
  Et.ENGINE = Et.OS = Tr([F, L]);
6256
6256
  const ne = window.electronApi, gn = new Et();
6257
6257
  function Zp() {
@@ -6325,7 +6325,7 @@ const Ht = /* @__PURE__ */ Ie({
6325
6325
  emits: ["close"],
6326
6326
  setup(n) {
6327
6327
  return (e, t) => {
6328
- const o = et, i = Ht;
6328
+ const o = tt, i = Ht;
6329
6329
  return h(), I(i, { header: "Check For Updates..." }, {
6330
6330
  footer: P(() => [
6331
6331
  U(o, {
@@ -6573,7 +6573,7 @@ const sf = /* @__PURE__ */ Ie({
6573
6573
  emits: ["downloadAndInstall", "close"],
6574
6574
  setup(n) {
6575
6575
  return (e, t) => {
6576
- const o = et, i = Ht;
6576
+ const o = tt, i = Ht;
6577
6577
  return h(), I(i, { header: "Check For Updates..." }, {
6578
6578
  footer: P(() => [
6579
6579
  U(o, {
@@ -6603,7 +6603,7 @@ const sf = /* @__PURE__ */ Ie({
6603
6603
  emits: ["close"],
6604
6604
  setup(n) {
6605
6605
  return (e, t) => {
6606
- const o = et, i = Ht;
6606
+ const o = tt, i = Ht;
6607
6607
  return h(), I(i, { header: e.title }, {
6608
6608
  footer: P(() => [
6609
6609
  U(o, {
@@ -6619,9 +6619,9 @@ const sf = /* @__PURE__ */ Ie({
6619
6619
  }, 8, ["header"]);
6620
6620
  };
6621
6621
  }
6622
- }), ff = "opencor", mf = `${ff}://`, gt = 69, hf = 169, ni = 3e3, gl = (/* @__PURE__ */ new Date()).getFullYear(), gf = gl === 2025 ? "2025" : `2025-${String(gl)}`;
6622
+ }), ff = "opencor", mf = `${ff}://`, bt = 69, hf = 169, ni = 3e3, gl = (/* @__PURE__ */ new Date()).getFullYear(), gf = gl === 2025 ? "2025" : `2025-${String(gl)}`;
6623
6623
  function Hs(n) {
6624
- return `https://corsproxy.io/?url=${encodeURIComponent(n)}`;
6624
+ return `https://cors-proxy.opencor.workers.dev/?url=${encodeURIComponent(n)}`;
6625
6625
  }
6626
6626
  function hr(n) {
6627
6627
  return n.startsWith("http://") || n.startsWith("https://");
@@ -7052,7 +7052,7 @@ class Mf extends oa {
7052
7052
  return Y() ? G.sedInstanceTaskAlgebraic(this._filePath, this._index, e) : this._wasmSedInstanceTask.algebraicAsArray(e);
7053
7053
  }
7054
7054
  }
7055
- var ft = {}, Ee = {}, bl;
7055
+ var mt = {}, Ee = {}, bl;
7056
7056
  function Jt() {
7057
7057
  if (bl) return Ee;
7058
7058
  bl = 1;
@@ -7925,13 +7925,13 @@ function Rf() {
7925
7925
  }
7926
7926
  var kl;
7927
7927
  function Ff() {
7928
- if (kl) return ft;
7928
+ if (kl) return mt;
7929
7929
  kl = 1;
7930
- var n = ft.Validator = Rf();
7931
- return ft.ValidatorResult = Jt().ValidatorResult, ft.ValidatorResultError = Jt().ValidatorResultError, ft.ValidationError = Jt().ValidationError, ft.SchemaError = Jt().SchemaError, ft.SchemaScanResult = yi().SchemaScanResult, ft.scan = yi().scan, ft.validate = function(e, t, o) {
7930
+ var n = mt.Validator = Rf();
7931
+ return mt.ValidatorResult = Jt().ValidatorResult, mt.ValidatorResultError = Jt().ValidatorResultError, mt.ValidationError = Jt().ValidationError, mt.SchemaError = Jt().SchemaError, mt.SchemaScanResult = yi().SchemaScanResult, mt.scan = yi().scan, mt.validate = function(e, t, o) {
7932
7932
  var i = new n();
7933
7933
  return i.validate(e, t, o);
7934
- }, ft;
7934
+ }, mt;
7935
7935
  }
7936
7936
  var Tf = Ff();
7937
7937
  function Lf(n) {
@@ -8229,7 +8229,7 @@ async function Ef() {
8229
8229
  console.error("Failed to load libOpenCOR's WebAssembly module:", n);
8230
8230
  }
8231
8231
  }
8232
- const Pf = "0.20251022.0", $f = { class: "space-y-7" }, Df = { class: "text-center" }, Uf = { class: "text-3xl font-bold" }, zf = {
8232
+ const Pf = "0.20251024.0", $f = { class: "space-y-7" }, Df = { class: "text-center" }, Uf = { class: "text-3xl font-bold" }, zf = {
8233
8233
  key: 0,
8234
8234
  class: "text-xl italic font-bold"
8235
8235
  }, Nf = { class: "text-sm italic" }, Af = { class: "space-y-2" }, jf = /* @__PURE__ */ x("a", {
@@ -8289,7 +8289,7 @@ const Pf = "0.20251022.0", $f = { class: "space-y-7" }, Df = { class: "text-cent
8289
8289
  emits: ["close"],
8290
8290
  setup(n) {
8291
8291
  return (e, t) => {
8292
- const o = et, i = Ht;
8292
+ const o = tt, i = Ht;
8293
8293
  return h(), I(i, {
8294
8294
  header: " ",
8295
8295
  style: { width: "39rem" }
@@ -8330,7 +8330,7 @@ const Pf = "0.20251022.0", $f = { class: "space-y-7" }, Df = { class: "text-cent
8330
8330
  emits: ["resetAll", "close"],
8331
8331
  setup(n) {
8332
8332
  return (e, t) => {
8333
- const o = et, i = Ht;
8333
+ const o = tt, i = Ht;
8334
8334
  return h(), I(i, { header: "Reset All..." }, {
8335
8335
  footer: P(() => [
8336
8336
  U(o, {
@@ -9028,7 +9028,7 @@ const $n = Vn.instance(), um = { class: "flex gap-2 items-center" }, cm = /* @__
9028
9028
  $n.general.checkForUpdatesAtStartup = o.value, $n.save(), t("close");
9029
9029
  }
9030
9030
  return (a, l) => {
9031
- const s = Er, u = et, p = Ht;
9031
+ const s = Er, u = tt, p = Ht;
9032
9032
  return h(), I(p, {
9033
9033
  header: "Settings...",
9034
9034
  onHide: i
@@ -9345,7 +9345,7 @@ const Sm = { class: "items-center mt-2 mb-4" }, xm = /* @__PURE__ */ x("label",
9345
9345
  o.value = "", t("close");
9346
9346
  }
9347
9347
  return (a, l) => {
9348
- const s = Uo, u = aa, p = et, c = Ht;
9348
+ const s = Uo, u = aa, p = tt, c = Ht;
9349
9349
  return h(), I(c, {
9350
9350
  header: "Open Remote...",
9351
9351
  style: { width: "39rem" }
@@ -9739,7 +9739,7 @@ function zm(n, e, t, o, i, r) {
9739
9739
  a11yAttrs: r.a11yAttrs
9740
9740
  }) : (h(), k(W, {
9741
9741
  key: 0
9742
- }, [!((a = r.$pcTabs) !== null && a !== void 0 && a.lazy) || r.active ? ge((h(), I(Q(n.as), b({
9742
+ }, [!((a = r.$pcTabs) !== null && a !== void 0 && a.lazy) || r.active ? pe((h(), I(Q(n.as), b({
9743
9743
  key: 0,
9744
9744
  class: n.cx("root")
9745
9745
  }, r.attrs), {
@@ -9747,7 +9747,7 @@ function zm(n, e, t, o, i, r) {
9747
9747
  return [E(n.$slots, "default")];
9748
9748
  }),
9749
9749
  _: 3
9750
- }, 16, ["class"])), [[wt, (l = r.$pcTabs) !== null && l !== void 0 && l.lazy ? !0 : r.active]]) : R("", !0)], 64))], 64)) : E(n.$slots, "default", {
9750
+ }, 16, ["class"])), [[et, (l = r.$pcTabs) !== null && l !== void 0 && l.lazy ? !0 : r.active]]) : R("", !0)], 64))], 64)) : E(n.$slots, "default", {
9751
9751
  key: 0
9752
9752
  });
9753
9753
  }
@@ -9852,11 +9852,11 @@ var jm = {
9852
9852
  this.showNavigators && this.updateButtonState(), e.preventDefault();
9853
9853
  },
9854
9854
  onPrevButtonClick: function() {
9855
- var e = this.$refs.content, t = this.getVisibleButtonWidths(), o = lt(e) - t, i = Math.abs(e.scrollLeft), r = o * 0.8, a = i - r, l = Math.max(a, 0);
9855
+ var e = this.$refs.content, t = this.getVisibleButtonWidths(), o = st(e) - t, i = Math.abs(e.scrollLeft), r = o * 0.8, a = i - r, l = Math.max(a, 0);
9856
9856
  e.scrollLeft = Wn(e) ? -1 * l : l;
9857
9857
  },
9858
9858
  onNextButtonClick: function() {
9859
- var e = this.$refs.content, t = this.getVisibleButtonWidths(), o = lt(e) - t, i = Math.abs(e.scrollLeft), r = o * 0.8, a = i + r, l = e.scrollWidth - o, s = Math.min(a, l);
9859
+ var e = this.$refs.content, t = this.getVisibleButtonWidths(), o = st(e) - t, i = Math.abs(e.scrollLeft), r = o * 0.8, a = i + r, l = e.scrollWidth - o, s = Math.min(a, l);
9860
9860
  e.scrollLeft = Wn(e) ? -1 * s : s;
9861
9861
  },
9862
9862
  bindResizeObserver: function() {
@@ -9871,10 +9871,10 @@ var jm = {
9871
9871
  },
9872
9872
  updateInkBar: function() {
9873
9873
  var e = this.$refs, t = e.content, o = e.inkbar, i = e.tabs, r = _e(t, '[data-pc-name="tab"][data-p-active="true"]');
9874
- this.$pcTabs.isVertical() ? (o.style.height = kt(r) + "px", o.style.top = yt(r).top - yt(i).top + "px") : (o.style.width = Le(r) + "px", o.style.left = yt(r).left - yt(i).left + "px");
9874
+ this.$pcTabs.isVertical() ? (o.style.height = kt(r) + "px", o.style.top = wt(r).top - wt(i).top + "px") : (o.style.width = Le(r) + "px", o.style.left = wt(r).left - wt(i).left + "px");
9875
9875
  },
9876
9876
  updateButtonState: function() {
9877
- var e = this.$refs, t = e.list, o = e.content, i = o.scrollTop, r = o.scrollWidth, a = o.scrollHeight, l = o.offsetWidth, s = o.offsetHeight, u = Math.abs(o.scrollLeft), p = [lt(o), vt(o)], c = p[0], d = p[1];
9877
+ var e = this.$refs, t = e.list, o = e.content, i = o.scrollTop, r = o.scrollWidth, a = o.scrollHeight, l = o.offsetWidth, s = o.offsetHeight, u = Math.abs(o.scrollLeft), p = [st(o), yt(o)], c = p[0], d = p[1];
9878
9878
  this.$pcTabs.isVertical() ? (this.isPrevButtonEnabled = i !== 0, this.isNextButtonEnabled = t.offsetHeight >= s && parseInt(i) !== a - d) : (this.isPrevButtonEnabled = u !== 0, this.isNextButtonEnabled = t.offsetWidth >= l && parseInt(u) !== r - c);
9879
9879
  },
9880
9880
  getVisibleButtonWidths: function() {
@@ -9912,7 +9912,7 @@ function Hm(n, e, t, o, i, r) {
9912
9912
  return h(), k("div", b({
9913
9913
  ref: "list",
9914
9914
  class: n.cx("root")
9915
- }, n.ptmi("root")), [r.showNavigators && i.isPrevButtonEnabled ? ge((h(), k("button", b({
9915
+ }, n.ptmi("root")), [r.showNavigators && i.isPrevButtonEnabled ? pe((h(), k("button", b({
9916
9916
  key: 0,
9917
9917
  ref: "prevButton",
9918
9918
  class: n.cx("prevButton"),
@@ -9941,7 +9941,7 @@ function Hm(n, e, t, o, i, r) {
9941
9941
  class: n.cx("activeBar"),
9942
9942
  role: "presentation",
9943
9943
  "aria-hidden": "true"
9944
- }, n.ptm("activeBar")), null, 16)], 16, _m)], 16), r.showNavigators && i.isNextButtonEnabled ? ge((h(), k("button", b({
9944
+ }, n.ptm("activeBar")), null, 16)], 16, _m)], 16), r.showNavigators && i.isNextButtonEnabled ? pe((h(), k("button", b({
9945
9945
  key: 1,
9946
9946
  ref: "nextButton",
9947
9947
  class: n.cx("nextButton"),
@@ -10143,7 +10143,7 @@ function Ym(n, e, t, o, i, r) {
10143
10143
  active: r.active,
10144
10144
  a11yAttrs: r.a11yAttrs,
10145
10145
  onClick: r.onClick
10146
- }) : ge((h(), I(Q(n.as), b({
10146
+ }) : pe((h(), I(Q(n.as), b({
10147
10147
  key: 0,
10148
10148
  class: n.cx("root"),
10149
10149
  onClick: r.onClick
@@ -10390,7 +10390,7 @@ function Sh(n, e, t, o = {}) {
10390
10390
  { flush: r, deep: a, eventFilter: d }
10391
10391
  );
10392
10392
  Qt(v, () => ue(), { flush: r }), c && l && mh(() => {
10393
- t instanceof Storage ? Ci(c, "storage", ue, { passive: !0 }) : Ci(c, Sl, pe), g && ue();
10393
+ t instanceof Storage ? Ci(c, "storage", ue, { passive: !0 }) : Ci(c, Sl, fe), g && ue();
10394
10394
  }), g || ue();
10395
10395
  function z(A, ee) {
10396
10396
  if (c) {
@@ -10445,7 +10445,7 @@ function Sh(n, e, t, o = {}) {
10445
10445
  }
10446
10446
  }
10447
10447
  }
10448
- function pe(A) {
10448
+ function fe(A) {
10449
10449
  ue(A.detail);
10450
10450
  }
10451
10451
  return m;
@@ -10753,7 +10753,7 @@ var Bh = function(e) {
10753
10753
  this.moveBar(), this.bindDocumentResizeListener(), this.calculateContainerHeight();
10754
10754
  },
10755
10755
  calculateContainerHeight: function() {
10756
- var e = getComputedStyle(this.$el), t = getComputedStyle(this.$refs.xBar), o = vt(this.$el) - parseInt(t.height, 10);
10756
+ var e = getComputedStyle(this.$el), t = getComputedStyle(this.$refs.xBar), o = yt(this.$el) - parseInt(t.height, 10);
10757
10757
  e["max-height"] !== "none" && o === 0 && (this.$refs.content.offsetHeight + parseInt(t.height, 10) > parseInt(e["max-height"], 10) ? this.$el.style.height = e["max-height"] : this.$el.style.height = this.$refs.content.offsetHeight + parseFloat(e.paddingTop) + parseFloat(e.paddingBottom) + parseFloat(e.borderTopWidth) + parseFloat(e.borderBottomWidth) + "px");
10758
10758
  },
10759
10759
  moveBar: function() {
@@ -11186,7 +11186,7 @@ function Wh(n, e, t, o, i, r) {
11186
11186
  key: 0,
11187
11187
  id: i.id + "_header",
11188
11188
  class: n.cx("legendLabel")
11189
- }, n.ptm("legendLabel")), re(n.legend), 17, qh)), n.toggleable ? ge((h(), k("button", b({
11189
+ }, n.ptm("legendLabel")), re(n.legend), 17, qh)), n.toggleable ? pe((h(), k("button", b({
11190
11190
  key: 1,
11191
11191
  id: i.id + "_header",
11192
11192
  type: "button",
@@ -11214,14 +11214,14 @@ function Wh(n, e, t, o, i, r) {
11214
11214
  name: "p-toggleable-content"
11215
11215
  }, n.ptm("transition")), {
11216
11216
  default: P(function() {
11217
- return [ge(x("div", b({
11217
+ return [pe(x("div", b({
11218
11218
  id: i.id + "_content",
11219
11219
  class: n.cx("contentContainer"),
11220
11220
  role: "region",
11221
11221
  "aria-labelledby": i.id + "_header"
11222
11222
  }, n.ptm("contentContainer")), [x("div", b({
11223
11223
  class: n.cx("content")
11224
- }, n.ptm("content")), [E(n.$slots, "default")], 16)], 16, _h), [[wt, !i.d_collapsed]])];
11224
+ }, n.ptm("content")), [E(n.$slots, "default")], 16)], 16, _h), [[et, !i.d_collapsed]])];
11225
11225
  }),
11226
11226
  _: 3
11227
11227
  }, 16)], 16);
@@ -12429,7 +12429,7 @@ var ca = {
12429
12429
  },
12430
12430
  methods: {
12431
12431
  viewInit: function() {
12432
- yr(this.element) && (this.setContentEl(this.content), this.init(), this.calculateAutoSize(), this.bindResizeListener(), this.defaultWidth = lt(this.element), this.defaultHeight = vt(this.element), this.defaultContentWidth = lt(this.content), this.defaultContentHeight = vt(this.content), this.initialized = !0);
12432
+ yr(this.element) && (this.setContentEl(this.content), this.init(), this.calculateAutoSize(), this.bindResizeListener(), this.defaultWidth = st(this.element), this.defaultHeight = yt(this.element), this.defaultContentWidth = st(this.content), this.defaultContentHeight = yt(this.content), this.initialized = !0);
12433
12433
  },
12434
12434
  init: function() {
12435
12435
  this.disabled || (this.setSize(), this.calculateOptions(), this.setSpacerSize());
@@ -12454,8 +12454,8 @@ var ca = {
12454
12454
  var l = this.first, s = this.element, u = s.scrollTop, p = u === void 0 ? 0 : u, c = s.scrollLeft, d = c === void 0 ? 0 : c, f = this.calculateNumItems(), g = f.numToleratedItems, m = this.getContentPosition(), v = this.itemSize, w = function() {
12455
12455
  var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, ue = arguments.length > 1 ? arguments[1] : void 0;
12456
12456
  return Z <= ue ? 0 : Z;
12457
- }, y = function(Z, ue, pe) {
12458
- return Z * ue + pe;
12457
+ }, y = function(Z, ue, fe) {
12458
+ return Z * ue + fe;
12459
12459
  }, C = function() {
12460
12460
  var Z = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
12461
12461
  return t.scrollTo({
@@ -12582,7 +12582,7 @@ var ca = {
12582
12582
  if (e.content) {
12583
12583
  var t = e.isBoth(), o = e.isHorizontal(), i = e.isVertical();
12584
12584
  e.content.style.minHeight = e.content.style.minWidth = "auto", e.content.style.position = "relative", e.element.style.contain = "none";
12585
- var r = [lt(e.element), vt(e.element)], a = r[0], l = r[1];
12585
+ var r = [st(e.element), yt(e.element)], a = r[0], l = r[1];
12586
12586
  (t || o) && (e.element.style.width = a < e.defaultWidth ? a + "px" : e.scrollWidth || e.defaultWidth + "px"), (t || i) && (e.element.style.height = l < e.defaultHeight ? l + "px" : e.scrollHeight || e.defaultHeight + "px"), e.content.style.minHeight = e.content.style.minWidth = "", e.content.style.position = "", e.element.style.contain = "";
12587
12587
  }
12588
12588
  });
@@ -12736,8 +12736,8 @@ var ca = {
12736
12736
  var e = this;
12737
12737
  this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(function() {
12738
12738
  if (yr(e.element)) {
12739
- var t = e.isBoth(), o = e.isVertical(), i = e.isHorizontal(), r = [lt(e.element), vt(e.element)], a = r[0], l = r[1], s = a !== e.defaultWidth, u = l !== e.defaultHeight, p = t ? s || u : i ? s : o ? u : !1;
12740
- p && (e.d_numToleratedItems = e.numToleratedItems, e.defaultWidth = a, e.defaultHeight = l, e.defaultContentWidth = lt(e.content), e.defaultContentHeight = vt(e.content), e.init());
12739
+ var t = e.isBoth(), o = e.isVertical(), i = e.isHorizontal(), r = [st(e.element), yt(e.element)], a = r[0], l = r[1], s = a !== e.defaultWidth, u = l !== e.defaultHeight, p = t ? s || u : i ? s : o ? u : !1;
12740
+ p && (e.d_numToleratedItems = e.numToleratedItems, e.defaultWidth = a, e.defaultHeight = l, e.defaultContentWidth = st(e.content), e.defaultContentHeight = yt(e.content), e.init());
12741
12741
  }
12742
12742
  }, this.resizeDelay);
12743
12743
  },
@@ -14241,7 +14241,7 @@ function Jg(n, e, t, o, i, r) {
14241
14241
  class: n.cx("optionGroupLabel"),
14242
14242
  ref_for: !0
14243
14243
  }, n.ptm("optionGroupLabel")), re(r.getOptionGroupLabel(q.optionGroup)), 17)];
14244
- })], 16, Zg)) : ge((h(), k("li", b({
14244
+ })], 16, Zg)) : pe((h(), k("li", b({
14245
14245
  key: 1,
14246
14246
  id: i.id + "_" + r.getOptionIndex(Z, S),
14247
14247
  class: n.cx("option", {
@@ -14257,11 +14257,11 @@ function Jg(n, e, t, o, i, r) {
14257
14257
  "aria-disabled": r.isOptionDisabled(q),
14258
14258
  "aria-setsize": r.ariaSetSize,
14259
14259
  "aria-posinset": r.getAriaPosInset(r.getOptionIndex(Z, S)),
14260
- onClick: function(pe) {
14261
- return r.onOptionSelect(pe, q);
14260
+ onClick: function(fe) {
14261
+ return r.onOptionSelect(fe, q);
14262
14262
  },
14263
- onMousemove: function(pe) {
14264
- return r.onOptionMouseMove(pe, r.getOptionIndex(Z, S));
14263
+ onMousemove: function(fe) {
14264
+ return r.onOptionMouseMove(fe, r.getOptionIndex(Z, S));
14265
14265
  },
14266
14266
  "data-p-selected": r.isSelected(q),
14267
14267
  "data-p-focused": i.focusedOptionIndex === r.getOptionIndex(Z, S),
@@ -14415,7 +14415,7 @@ const Xg = { key: 0 }, eb = { key: 1 }, tb = /* @__PURE__ */ Ie({
14415
14415
  ])) : (h(), k("div", eb, [
14416
14416
  U(y, { variant: "on" }, {
14417
14417
  default: P(() => [
14418
- ge(U(C, {
14418
+ pe(U(C, {
14419
14419
  modelValue: D(s),
14420
14420
  "onUpdate:modelValue": v[1] || (v[1] = (z) => Pe(s) ? s.value = z : null),
14421
14421
  onFocusout: d,
@@ -14896,7 +14896,7 @@ function cb(n, e, t, o, i, r) {
14896
14896
  appear: ""
14897
14897
  }, n.ptmi("transition")), {
14898
14898
  default: P(function() {
14899
- return [ge(x("div", b({
14899
+ return [pe(x("div", b({
14900
14900
  class: n.cx("root"),
14901
14901
  role: "alert",
14902
14902
  "aria-live": "assertive",
@@ -14916,7 +14916,7 @@ function cb(n, e, t, o, i, r) {
14916
14916
  }), n.$slots.default ? (h(), k("div", b({
14917
14917
  key: 0,
14918
14918
  class: n.cx("text")
14919
- }, n.ptm("text")), [E(n.$slots, "default")], 16)) : R("", !0), n.closable ? ge((h(), k("button", b({
14919
+ }, n.ptm("text")), [E(n.$slots, "default")], 16)) : R("", !0), n.closable ? pe((h(), k("button", b({
14920
14920
  key: 1,
14921
14921
  class: n.cx("closeButton"),
14922
14922
  "aria-label": r.closeAriaLabel,
@@ -14932,7 +14932,7 @@ function cb(n, e, t, o, i, r) {
14932
14932
  key: 1,
14933
14933
  class: [n.cx("closeIcon"), n.closeIcon]
14934
14934
  }, n.ptm("closeIcon")), null, 16, ["class"]))];
14935
- })], 16, ub)), [[l]]) : R("", !0)], 16))], 16), [[wt, i.visible]])];
14935
+ })], 16, ub)), [[l]]) : R("", !0)], 16))], 16), [[et, i.visible]])];
14936
14936
  }),
14937
14937
  _: 3
14938
14938
  }, 16);
@@ -14955,7 +14955,7 @@ const pa = /* @__PURE__ */ Ie({
14955
14955
  return O.onMounted(() => {
14956
14956
  setTimeout(() => {
14957
14957
  i();
14958
- }, gt), O.watch(
14958
+ }, bt), O.watch(
14959
14959
  () => [e.height],
14960
14960
  () => {
14961
14961
  i();
@@ -15017,7 +15017,7 @@ const pa = /* @__PURE__ */ Ie({
15017
15017
  width: {}
15018
15018
  },
15019
15019
  setup(n) {
15020
- const e = n, t = Ca.create(Ca.all ?? {}, {}), o = e.file.document().model(0), i = e.file.instance(), r = i.task(0), a = O.ref([]), l = O.ref(Lf(e.uiJson)), s = O.ref([]), u = O.ref([]), p = O.ref([]), c = {};
15020
+ const e = n, t = Ca.create(Ca.all ?? {}, {}), o = e.file.document().model(0), i = e.file.instance(), r = i.task(0), a = O.ref([]), l = O.ref(Lf(e.uiJson)), s = O.ref([]), u = O.ref(e.uiJson.input.map((g) => g.defaultValue)), p = O.ref(e.uiJson.input.map((g) => g.visible ?? "true")), c = {};
15021
15021
  function d(g) {
15022
15022
  let m = -1;
15023
15023
  const v = t.parser();
@@ -15025,11 +15025,7 @@ const pa = /* @__PURE__ */ Ie({
15025
15025
  w.id !== void 0 && w.id !== "" && v.set(w.id, u.value[++m]);
15026
15026
  }), v.evaluate(g);
15027
15027
  }
15028
- e.uiJson.input.forEach((g) => {
15029
- u.value.push(g.defaultValue);
15030
- }), e.uiJson.input.forEach((g) => {
15031
- p.value.push(d(g.visible ?? "true"));
15032
- }), e.uiJson.output.data.forEach((g) => {
15028
+ e.uiJson.output.data.forEach((g) => {
15033
15029
  c[g.id] = bi(r, g.name);
15034
15030
  });
15035
15031
  function f() {
@@ -15075,7 +15071,7 @@ const pa = /* @__PURE__ */ Ie({
15075
15071
  default: P(() => [
15076
15072
  U(y, { legend: "Input parameters" }, {
15077
15073
  default: P(() => [
15078
- (h(!0), k(W, null, be(g.uiJson.input, ($, z) => ge((h(), I(w, {
15074
+ (h(!0), k(W, null, be(g.uiJson.input, ($, z) => pe((h(), I(w, {
15079
15075
  modelValue: D(u)[z],
15080
15076
  "onUpdate:modelValue": (q) => D(u)[z] = q,
15081
15077
  key: `input_${z}`,
@@ -15087,7 +15083,7 @@ const pa = /* @__PURE__ */ Ie({
15087
15083
  class: K(z !== 0 ? "mt-6" : ""),
15088
15084
  onChange: f
15089
15085
  }, null, 8, ["modelValue", "onUpdate:modelValue", "name", "maximumValue", "minimumValue", "possibleValues", "stepValue", "class"])), [
15090
- [wt, D(p)[z]]
15086
+ [et, D(p)[z]]
15091
15087
  ])), 128))
15092
15088
  ]),
15093
15089
  _: 1
@@ -15097,17 +15093,21 @@ const pa = /* @__PURE__ */ Ie({
15097
15093
  })
15098
15094
  ]),
15099
15095
  x("div", fb, [
15100
- D(s).length !== 0 ? (h(), I(v, {
15101
- key: 0,
15096
+ pe(U(v, {
15102
15097
  leftMargin: !1,
15103
15098
  width: g.width,
15104
15099
  height: g.height,
15105
15100
  issues: D(s)
15106
- }, null, 8, ["width", "height", "issues"])) : (h(!0), k(W, { key: 1 }, be(g.uiJson.output.plots, ($, z) => (h(), I(S, {
15101
+ }, null, 8, ["width", "height", "issues"]), [
15102
+ [et, D(s).length !== 0]
15103
+ ]),
15104
+ (h(!0), k(W, null, be(g.uiJson.output.plots, ($, z) => pe((h(), I(S, {
15107
15105
  key: `plot_${z}`,
15108
15106
  style: Lt({ height: `calc(100% / ${g.uiJson.output.plots.length})` }),
15109
- plots: D(a).length !== 0 ? D(a)[z] : []
15110
- }, null, 8, ["style", "plots"]))), 128))
15107
+ plots: D(a)[z] || []
15108
+ }, null, 8, ["style", "plots"])), [
15109
+ [et, D(s).length === 0]
15110
+ ])), 128))
15111
15111
  ])
15112
15112
  ]))
15113
15113
  ], 4);
@@ -16539,7 +16539,7 @@ var mu = {
16539
16539
  }
16540
16540
  },
16541
16541
  onResizeStart: function(e, t, o) {
16542
- this.gutterElement = e.currentTarget || e.target.parentElement, this.size = this.horizontal ? lt(this.$el) : vt(this.$el), o || (this.dragging = !0, this.startPos = this.layout === "horizontal" ? e.pageX || e.changedTouches[0].pageX : e.pageY || e.changedTouches[0].pageY), this.prevPanelElement = this.gutterElement.previousElementSibling, this.nextPanelElement = this.gutterElement.nextElementSibling, o ? (this.prevPanelSize = this.horizontal ? Le(this.prevPanelElement, !0) : kt(this.prevPanelElement, !0), this.nextPanelSize = this.horizontal ? Le(this.nextPanelElement, !0) : kt(this.nextPanelElement, !0)) : (this.prevPanelSize = 100 * (this.horizontal ? Le(this.prevPanelElement, !0) : kt(this.prevPanelElement, !0)) / this.size, this.nextPanelSize = 100 * (this.horizontal ? Le(this.nextPanelElement, !0) : kt(this.nextPanelElement, !0)) / this.size), this.prevPanelIndex = t, this.$emit("resizestart", {
16542
+ this.gutterElement = e.currentTarget || e.target.parentElement, this.size = this.horizontal ? st(this.$el) : yt(this.$el), o || (this.dragging = !0, this.startPos = this.layout === "horizontal" ? e.pageX || e.changedTouches[0].pageX : e.pageY || e.changedTouches[0].pageY), this.prevPanelElement = this.gutterElement.previousElementSibling, this.nextPanelElement = this.gutterElement.nextElementSibling, o ? (this.prevPanelSize = this.horizontal ? Le(this.prevPanelElement, !0) : kt(this.prevPanelElement, !0), this.nextPanelSize = this.horizontal ? Le(this.nextPanelElement, !0) : kt(this.nextPanelElement, !0)) : (this.prevPanelSize = 100 * (this.horizontal ? Le(this.prevPanelElement, !0) : kt(this.prevPanelElement, !0)) / this.size, this.nextPanelSize = 100 * (this.horizontal ? Le(this.nextPanelElement, !0) : kt(this.nextPanelElement, !0)) / this.size), this.prevPanelIndex = t, this.$emit("resizestart", {
16543
16543
  originalEvent: e,
16544
16544
  sizes: this.panelSizes
16545
16545
  }), this.$refs.gutter[t].setAttribute("data-p-gutter-resizing", !0), this.$el.setAttribute("data-p-resizing", !0);
@@ -18350,7 +18350,7 @@ var Su = {
18350
18350
  };
18351
18351
  function y0(n, e, t, o, i, r) {
18352
18352
  var a = ze("ripple");
18353
- return ge((h(), k("button", b({
18353
+ return pe((h(), k("button", b({
18354
18354
  class: n.cx("first"),
18355
18355
  type: "button"
18356
18356
  }, r.getPTOptions("first"), {
@@ -18495,7 +18495,7 @@ var Mu = {
18495
18495
  };
18496
18496
  function C0(n, e, t, o, i, r) {
18497
18497
  var a = ze("ripple");
18498
- return ge((h(), k("button", b({
18498
+ return pe((h(), k("button", b({
18499
18499
  class: n.cx("last"),
18500
18500
  type: "button"
18501
18501
  }, r.getPTOptions("last"), {
@@ -18533,7 +18533,7 @@ var Bu = {
18533
18533
  };
18534
18534
  function S0(n, e, t, o, i, r) {
18535
18535
  var a = ze("ripple");
18536
- return ge((h(), k("button", b({
18536
+ return pe((h(), k("button", b({
18537
18537
  class: n.cx("next"),
18538
18538
  type: "button"
18539
18539
  }, r.getPTOptions("next"), {
@@ -18580,7 +18580,7 @@ function I0(n, e, t, o, i, r) {
18580
18580
  return h(), k("span", b({
18581
18581
  class: n.cx("pages")
18582
18582
  }, n.ptm("pages")), [(h(!0), k(W, null, be(t.value, function(l) {
18583
- return ge((h(), k("button", b({
18583
+ return pe((h(), k("button", b({
18584
18584
  key: l,
18585
18585
  class: n.cx("page", {
18586
18586
  pageLink: l
@@ -18626,7 +18626,7 @@ var Fu = {
18626
18626
  };
18627
18627
  function M0(n, e, t, o, i, r) {
18628
18628
  var a = ze("ripple");
18629
- return ge((h(), k("button", b({
18629
+ return pe((h(), k("button", b({
18630
18630
  class: n.cx("prev"),
18631
18631
  type: "button"
18632
18632
  }, r.getPTOptions("prev"), {
@@ -21075,7 +21075,7 @@ var Nu = {
21075
21075
  components: {
21076
21076
  DTRadioButton: zu,
21077
21077
  DTCheckbox: Uu,
21078
- Button: et,
21078
+ Button: tt,
21079
21079
  ChevronDownIcon: Dr,
21080
21080
  ChevronRightIcon: Pr,
21081
21081
  BarsIcon: ga,
@@ -21229,7 +21229,7 @@ function av(n, e, t, o, i, r) {
21229
21229
  }, r.getColumnPT("reorderableRowHandle")), null, 16)) : (h(), I(s, b({
21230
21230
  key: 2,
21231
21231
  class: n.cx("reorderableRowHandle")
21232
- }, r.getColumnPT("reorderableRowHandle")), null, 16, ["class"]))], 64)) : r.columnProp("expander") ? ge((h(), k("button", b({
21232
+ }, r.getColumnPT("reorderableRowHandle")), null, 16, ["class"]))], 64)) : r.columnProp("expander") ? pe((h(), k("button", b({
21233
21233
  key: 5,
21234
21234
  class: n.cx("rowToggleButton"),
21235
21235
  type: "button",
@@ -23208,7 +23208,7 @@ var ba = {
23208
23208
  },
23209
23209
  components: {
23210
23210
  Select: xn,
23211
- Button: et,
23211
+ Button: tt,
23212
23212
  Portal: Po,
23213
23213
  FilterSlashIcon: $u,
23214
23214
  FilterIcon: Pu,
@@ -23323,7 +23323,7 @@ function Qv(n, e, t, o, i, r) {
23323
23323
  onAfterLeave: r.onOverlayAfterLeave
23324
23324
  }, r.getColumnPT("transition")), {
23325
23325
  default: P(function() {
23326
- return [i.overlayVisible ? ge((h(), k("div", b({
23326
+ return [i.overlayVisible ? pe((h(), k("div", b({
23327
23327
  key: 0,
23328
23328
  ref: r.overlayRef,
23329
23329
  id: r.overlayId,
@@ -25237,11 +25237,11 @@ var Wu = {
25237
25237
  this.d_first = 0, this.$emit("update:first", this.d_first);
25238
25238
  },
25239
25239
  onColumnResizeStart: function(e) {
25240
- var t = yt(this.$el).left;
25240
+ var t = wt(this.$el).left;
25241
25241
  this.resizeColumnElement = e.target.parentElement, this.columnResizing = !0, this.lastResizeHelperX = e.pageX - t + this.$el.scrollLeft, this.bindColumnResizeEvents();
25242
25242
  },
25243
25243
  onColumnResize: function(e) {
25244
- var t = yt(this.$el).left;
25244
+ var t = wt(this.$el).left;
25245
25245
  this.$el.setAttribute("data-p-unselectable-text", "true"), !this.isUnstyled && _n(this.$el, {
25246
25246
  "user-select": "none"
25247
25247
  }), this.$refs.resizeHelper.style.height = this.$el.offsetHeight + "px", this.$refs.resizeHelper.style.top = "0px", this.$refs.resizeHelper.style.left = e.pageX - t + this.$el.scrollLeft + "px", this.$refs.resizeHelper.style.display = "block";
@@ -25312,7 +25312,7 @@ var Wu = {
25312
25312
  var t = e.originalEvent, o = e.column, i = this.findParentHeader(t.target);
25313
25313
  if (this.reorderableColumns && this.draggedColumnElement && i && !this.columnProp(o, "frozen")) {
25314
25314
  t.preventDefault();
25315
- var r = yt(this.$el), a = yt(i);
25315
+ var r = wt(this.$el), a = wt(i);
25316
25316
  if (this.draggedColumnElement !== i) {
25317
25317
  var l = a.left - r.left, s = a.left + i.offsetWidth / 2;
25318
25318
  this.$refs.reorderIndicatorUp.style.top = a.top - r.top - (this.colReorderIconHeight - 1) + "px", this.$refs.reorderIndicatorDown.style.top = a.top - r.top + i.offsetHeight + "px", t.pageX > s ? (this.$refs.reorderIndicatorUp.style.left = l + i.offsetWidth - Math.ceil(this.colReorderIconWidth / 2) + "px", this.$refs.reorderIndicatorDown.style.left = l + i.offsetWidth - Math.ceil(this.colReorderIconWidth / 2) + "px", this.dropPosition = 1) : (this.$refs.reorderIndicatorUp.style.left = l - Math.ceil(this.colReorderIconWidth / 2) + "px", this.$refs.reorderIndicatorDown.style.left = l - Math.ceil(this.colReorderIconWidth / 2) + "px", this.dropPosition = -1), this.$refs.reorderIndicatorUp.style.display = "block", this.$refs.reorderIndicatorDown.style.display = "block";
@@ -25378,7 +25378,7 @@ var Wu = {
25378
25378
  onRowDragOver: function(e) {
25379
25379
  var t = e.originalEvent, o = e.index;
25380
25380
  if (this.rowDragging && this.draggedRowIndex !== o) {
25381
- var i = t.currentTarget, r = yt(i).top, a = t.pageY, l = r + kt(i) / 2, s = i.previousElementSibling;
25381
+ var i = t.currentTarget, r = wt(i).top, a = t.pageY, l = r + kt(i) / 2, s = i.previousElementSibling;
25382
25382
  a < l ? (i.setAttribute("data-p-datatable-dragpoint-bottom", "false"), !this.isUnstyled && Ve(i, "p-datatable-dragpoint-bottom"), this.droppedRowIndex = o, s ? (s.setAttribute("data-p-datatable-dragpoint-bottom", "true"), !this.isUnstyled && qe(s, "p-datatable-dragpoint-bottom")) : (i.setAttribute("data-p-datatable-dragpoint-top", "true"), !this.isUnstyled && qe(i, "p-datatable-dragpoint-top"))) : (s ? (s.setAttribute("data-p-datatable-dragpoint-bottom", "false"), !this.isUnstyled && Ve(s, "p-datatable-dragpoint-bottom")) : (i.setAttribute("data-p-datatable-dragpoint-top", "true"), !this.isUnstyled && qe(i, "p-datatable-dragpoint-top")), this.droppedRowIndex = o + 1, i.setAttribute("data-p-datatable-dragpoint-bottom", "true"), !this.isUnstyled && qe(i, "p-datatable-dragpoint-bottom")), t.preventDefault();
25383
25383
  }
25384
25384
  },
@@ -26729,7 +26729,7 @@ const B1 = /* @__PURE__ */ Ie({
26729
26729
  let y;
26730
26730
  setTimeout(() => {
26731
26731
  y = sa(t.value);
26732
- }, gt);
26732
+ }, bt);
26733
26733
  function C() {
26734
26734
  a.value = e.height - Tt(t.value);
26735
26735
  }
@@ -26750,7 +26750,7 @@ const B1 = /* @__PURE__ */ Ie({
26750
26750
  }), ea() && la((y) => {
26751
26751
  !e.isActive || !e.uiEnabled || e.isActiveFile && !y.ctrlKey && !y.shiftKey && !y.metaKey && y.code === "F9" && (y.preventDefault(), f());
26752
26752
  }), (y, C) => {
26753
- const S = et, $ = Hu, z = w1, q = xn, Z = zo, ue = $r, pe = hu, A = iu, ee = mu, H = fu;
26753
+ const S = tt, $ = Hu, z = w1, q = xn, Z = zo, ue = $r, fe = hu, A = iu, ee = mu, H = fu;
26754
26754
  return h(), k("div", {
26755
26755
  style: Lt({ width: y.width + "px", height: y.height + "px" })
26756
26756
  }, [
@@ -26782,13 +26782,13 @@ const B1 = /* @__PURE__ */ Ie({
26782
26782
  style: Lt({ height: D(a) + "px" })
26783
26783
  }, {
26784
26784
  default: P(() => [
26785
- U(pe, {
26785
+ U(fe, {
26786
26786
  size: y.simulationOnly ? 100 : 89
26787
26787
  }, {
26788
26788
  default: P(() => [
26789
26789
  U(ee, null, {
26790
26790
  default: P(() => [
26791
- U(pe, {
26791
+ U(fe, {
26792
26792
  class: "ml-4 mr-4 mb-4 min-w-fit",
26793
26793
  size: 25
26794
26794
  }, {
@@ -26832,7 +26832,7 @@ const B1 = /* @__PURE__ */ Ie({
26832
26832
  ]),
26833
26833
  _: 1
26834
26834
  }),
26835
- U(pe, { size: 75 }, {
26835
+ U(fe, { size: 75 }, {
26836
26836
  default: P(() => [
26837
26837
  U(A, { plots: D(p) }, null, 8, ["plots"])
26838
26838
  ]),
@@ -26844,7 +26844,7 @@ const B1 = /* @__PURE__ */ Ie({
26844
26844
  ]),
26845
26845
  _: 1
26846
26846
  }, 8, ["size"]),
26847
- y.simulationOnly ? R("", !0) : (h(), I(pe, {
26847
+ y.simulationOnly ? R("", !0) : (h(), I(fe, {
26848
26848
  key: 0,
26849
26849
  size: 11
26850
26850
  }, {
@@ -26940,7 +26940,7 @@ const B1 = /* @__PURE__ */ Ie({
26940
26940
  let y;
26941
26941
  setTimeout(() => {
26942
26942
  y = sa(o.value);
26943
- }, gt);
26943
+ }, bt);
26944
26944
  function C() {
26945
26945
  a.value = t.height - Tt(o.value);
26946
26946
  }
@@ -26961,7 +26961,7 @@ const B1 = /* @__PURE__ */ Ie({
26961
26961
  }), ea() && la((y) => {
26962
26962
  !t.isActive || !t.uiEnabled || i.value.length === 0 || (y.ctrlKey && !y.shiftKey && y.code === "Tab" ? (y.preventDefault(), d()) : y.ctrlKey && y.shiftKey && y.code === "Tab" && (y.preventDefault(), f()));
26963
26963
  }), (y, C) => {
26964
- const S = pa, $ = R1, z = mb, q = tu, Z = eu, ue = Xs, pe = Ys, A = Zs, ee = Gs;
26964
+ const S = pa, $ = R1, z = mb, q = tu, Z = eu, ue = Xs, fe = Ys, A = Zs, ee = Gs;
26965
26965
  return y.simulationOnly ? (h(), k("div", F1, [
26966
26966
  (h(!0), k(W, null, be(D(i), (H, ie) => (h(), k("div", {
26967
26967
  key: `tabPanel_${H.file.path()}`,
@@ -26990,12 +26990,12 @@ const B1 = /* @__PURE__ */ Ie({
26990
26990
  }, null, 8, ["width", "height", "file", "uiJson"]))
26991
26991
  ], 8, T1))), 128))
26992
26992
  ])) : (h(), k("div", L1, [
26993
- ge(U(q, {
26993
+ pe(U(q, {
26994
26994
  style: Lt({ height: y.height + "px" })
26995
26995
  }, null, 8, ["style"]), [
26996
- [wt, D(i).length === 0]
26996
+ [et, D(i).length === 0]
26997
26997
  ]),
26998
- ge(U(ee, {
26998
+ pe(U(ee, {
26999
26999
  id: "fileTabs",
27000
27000
  value: D(r),
27001
27001
  "onUpdate:value": C[1] || (C[1] = (H) => Pe(r) ? r.value = H : null),
@@ -27031,7 +27031,7 @@ const B1 = /* @__PURE__ */ Ie({
27031
27031
  }, 8, ["id"]),
27032
27032
  U(A, { class: "p-0!" }, {
27033
27033
  default: P(() => [
27034
- (h(!0), k(W, null, be(D(i), (H, ie) => (h(), I(pe, {
27034
+ (h(!0), k(W, null, be(D(i), (H, ie) => (h(), I(fe, {
27035
27035
  key: `tabPanel_${H.file.path()}`,
27036
27036
  value: H.file.path()
27037
27037
  }, {
@@ -27065,7 +27065,7 @@ const B1 = /* @__PURE__ */ Ie({
27065
27065
  ]),
27066
27066
  _: 1
27067
27067
  }, 8, ["value"]), [
27068
- [wt, D(i).length !== 0]
27068
+ [et, D(i).length !== 0]
27069
27069
  ])
27070
27070
  ]));
27071
27071
  };
@@ -27610,7 +27610,7 @@ function W1(n, e, t, o, i, r) {
27610
27610
  hasSubmenu: r.getItemProp(s, "items"),
27611
27611
  label: r.getItemLabel(s),
27612
27612
  props: r.getMenuItemProps(s, u)
27613
- }, null, 8, ["item", "root", "hasSubmenu", "label", "props"])) : ge((h(), k("a", b({
27613
+ }, null, 8, ["item", "root", "hasSubmenu", "label", "props"])) : pe((h(), k("a", b({
27614
27614
  key: 0,
27615
27615
  href: r.getItemProp(s, "url"),
27616
27616
  class: n.cx("itemLink"),
@@ -29040,7 +29040,7 @@ function Ly(n, e, t, o, i, r) {
29040
29040
  class: n.cx("detail")
29041
29041
  }, n.ptm("detail")), re(t.message.detail), 17)], 16)], 64)), t.message.closable !== !1 ? (h(), k("div", Pt(b({
29042
29042
  key: 2
29043
- }, n.ptm("buttonContainer"))), [ge((h(), k("button", b({
29043
+ }, n.ptm("buttonContainer"))), [pe((h(), k("button", b({
29044
29044
  class: n.cx("closeButton"),
29045
29045
  type: "button",
29046
29046
  "aria-label": r.closeAriaLabel,
@@ -29455,14 +29455,14 @@ function p9(n, e) {
29455
29455
  }
29456
29456
  var pn = [];
29457
29457
  function f9() {
29458
- ot.clear(), pn.forEach(function(n) {
29458
+ rt.clear(), pn.forEach(function(n) {
29459
29459
  return n?.();
29460
29460
  }), pn = [];
29461
29461
  }
29462
29462
  function m9(n, e) {
29463
29463
  var t = fn(!1), o = function() {
29464
29464
  var u;
29465
- if (((u = e.config) === null || u === void 0 ? void 0 : u.theme) !== "none" && !he.isStyleNameLoaded("common")) {
29465
+ if (((u = e.config) === null || u === void 0 ? void 0 : u.theme) !== "none" && !ge.isStyleNameLoaded("common")) {
29466
29466
  var p, c, d = ((p = _.getCommonTheme) === null || p === void 0 ? void 0 : p.call(_)) || {}, f = d.primitive, g = d.semantic, m = d.global, v = d.style, w = {
29467
29467
  nonce: (c = e.config) === null || c === void 0 || (c = c.csp) === null || c === void 0 ? void 0 : c.nonce
29468
29468
  };
@@ -29474,10 +29474,10 @@ function m9(n, e) {
29474
29474
  name: "global-variables"
29475
29475
  }, w)), _.loadTheme(cr({
29476
29476
  name: "global-style"
29477
- }, w), v), he.setLoadedStyleName("common");
29477
+ }, w), v), ge.setLoadedStyleName("common");
29478
29478
  }
29479
29479
  };
29480
- ot.on("theme:change", function(s) {
29480
+ rt.on("theme:change", function(s) {
29481
29481
  t.value || (n.config.globalProperties.$primevue.config.theme = s, t.value = !0);
29482
29482
  });
29483
29483
  var i = Qt(e.config, function(s, u) {
@@ -29501,7 +29501,7 @@ function m9(n, e) {
29501
29501
  }), a = Qt(function() {
29502
29502
  return e.config.theme;
29503
29503
  }, function(s, u) {
29504
- t.value || he.setTheme(s), e.config.unstyled || o(), t.value = !1, dn.emit("config:theme:change", {
29504
+ t.value || ge.setTheme(s), e.config.unstyled || o(), t.value = !1, dn.emit("config:theme:change", {
29505
29505
  newValue: s,
29506
29506
  oldValue: u
29507
29507
  });
@@ -29601,19 +29601,19 @@ const w9 = /* @__PURE__ */ Ie({
29601
29601
  v(V);
29602
29602
  });
29603
29603
  function v(V) {
29604
- function N(ut, ct) {
29605
- return ut.localeCompare(ct, void 0, { sensitivity: "base" }) === 0;
29604
+ function N(ct, dt) {
29605
+ return ct.localeCompare(dt, void 0, { sensitivity: "base" }) === 0;
29606
29606
  }
29607
- const fe = V.indexOf("/"), Oe = fe !== -1 ? V.substring(0, fe) : V, tn = fe !== -1 ? V.substring(fe + 1) : "";
29607
+ const me = V.indexOf("/"), Oe = me !== -1 ? V.substring(0, me) : V, tn = me !== -1 ? V.substring(me + 1) : "";
29608
29608
  if (N(Oe, "openAboutDialog"))
29609
- st();
29609
+ ut();
29610
29610
  else if (N(Oe, "openSettingsDialog"))
29611
29611
  Ge();
29612
29612
  else {
29613
- const ut = tn.split("%7C");
29614
- if (N(Oe, "openFile") && ut.length === 1 || N(Oe, "openFiles") && ut.length > 1)
29615
- for (const ct of ut)
29616
- Fe(ct);
29613
+ const ct = tn.split("%7C");
29614
+ if (N(Oe, "openFile") && ct.length === 1 || N(Oe, "openFiles") && ct.length > 1)
29615
+ for (const dt of ct)
29616
+ Fe(dt);
29617
29617
  else
29618
29618
  g.add({
29619
29619
  severity: "error",
@@ -29649,7 +29649,7 @@ The action could not be handled.`,
29649
29649
  ne?.checkForUpdates(!1);
29650
29650
  });
29651
29651
  const q = O.ref(!1), Z = O.ref(""), ue = O.ref("");
29652
- function pe() {
29652
+ function fe() {
29653
29653
  q.value = !1, ee.value = !1;
29654
29654
  }
29655
29655
  const A = O.ref(!1), ee = O.ref(!1), H = O.ref(""), ie = O.ref(0);
@@ -29674,9 +29674,9 @@ The action could not be handled.`,
29674
29674
  });
29675
29675
  const Re = O.ref(!1);
29676
29676
  ne?.onAbout(() => {
29677
- st();
29677
+ ut();
29678
29678
  });
29679
- function st() {
29679
+ function ut() {
29680
29680
  e.omex === void 0 && (Re.value = !0);
29681
29681
  }
29682
29682
  const Ke = O.ref(!1);
@@ -29692,8 +29692,8 @@ The action could not be handled.`,
29692
29692
  a.value?.selectFile(N);
29693
29693
  return;
29694
29694
  }
29695
- hr(N) && $(), bf(V).then((fe) => {
29696
- const Oe = fe.type();
29695
+ hr(N) && $(), bf(V).then((me) => {
29696
+ const Oe = me.type();
29697
29697
  Oe === cn.IRRETRIEVABLE_FILE || Oe === cn.UNKNOWN_FILE || e.omex !== void 0 && Oe !== cn.COMBINE_ARCHIVE ? (e.omex !== void 0 ? O.nextTick().then(() => {
29698
29698
  l.value.push({
29699
29699
  type: le.ERROR,
@@ -29707,12 +29707,12 @@ The action could not be handled.`,
29707
29707
 
29708
29708
  ` + (Oe === cn.IRRETRIEVABLE_FILE ? "The file could not be retrieved." : "Only CellML files, SED-ML files, and COMBINE archives are supported."),
29709
29709
  life: ni
29710
- }), ne?.fileIssue(N)) : a.value?.openFile(fe), hr(N) && z();
29711
- }).catch((fe) => {
29710
+ }), ne?.fileIssue(N)) : a.value?.openFile(me), hr(N) && z();
29711
+ }).catch((me) => {
29712
29712
  hr(N) && z(), e.omex !== void 0 ? O.nextTick().then(() => {
29713
29713
  l.value.push({
29714
29714
  type: le.ERROR,
29715
- description: gi(fe instanceof Error ? fe.message : String(fe))
29715
+ description: gi(me instanceof Error ? me.message : String(me))
29716
29716
  });
29717
29717
  }) : g.add({
29718
29718
  severity: "error",
@@ -29720,7 +29720,7 @@ The action could not be handled.`,
29720
29720
  summary: "Opening a file",
29721
29721
  detail: `${N}
29722
29722
 
29723
- ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29723
+ ${gi(me instanceof Error ? me.message : String(me))}`,
29724
29724
  life: ni
29725
29725
  }), ne?.fileIssue(N);
29726
29726
  });
@@ -29728,24 +29728,24 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29728
29728
  function St(V) {
29729
29729
  const N = V.target.files;
29730
29730
  if (N !== null)
29731
- for (const fe of Array.from(N))
29732
- Fe(fe);
29731
+ for (const me of Array.from(N))
29732
+ Fe(me);
29733
29733
  }
29734
- const tt = O.ref(0);
29734
+ const nt = O.ref(0);
29735
29735
  function Dt() {
29736
- !w.value || e.omex !== void 0 || (tt.value += 1);
29736
+ !w.value || e.omex !== void 0 || (nt.value += 1);
29737
29737
  }
29738
29738
  function No(V) {
29739
- if (tt.value === 0)
29739
+ if (nt.value === 0)
29740
29740
  return;
29741
- tt.value = 0;
29741
+ nt.value = 0;
29742
29742
  const N = V.dataTransfer?.files;
29743
29743
  if (N !== void 0)
29744
- for (const fe of Array.from(N))
29745
- Fe(fe);
29744
+ for (const me of Array.from(N))
29745
+ Fe(me);
29746
29746
  }
29747
29747
  function Ao() {
29748
- tt.value !== 0 && (tt.value -= 1);
29748
+ nt.value !== 0 && (nt.value -= 1);
29749
29749
  }
29750
29750
  ne?.onOpen((V) => {
29751
29751
  Fe(V);
@@ -29799,35 +29799,35 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29799
29799
  });
29800
29800
  const _o = O.ref(""), Mn = O.ref(0), Bn = O.ref(0), Wo = O.ref(0);
29801
29801
  return O.onMounted(() => {
29802
- const V = t.value?.$el, N = V.parentElement, fe = N?.parentElement, Oe = fe?.parentElement, tn = Oe?.parentElement;
29803
- _o.value = N?.tagName === "DIV" && N.id === "app" && fe?.tagName === "BODY" && Oe?.tagName === "HTML" && tn === null ? "opencor-application" : "opencor-component", o.value = `opencorToast${String(f?.uid)}`, i.value = `opencorMainMenu${String(f?.uid)}`, setTimeout(() => {
29802
+ const V = t.value?.$el, N = V.parentElement, me = N?.parentElement, Oe = me?.parentElement, tn = Oe?.parentElement;
29803
+ _o.value = N?.tagName === "DIV" && N.id === "app" && me?.tagName === "BODY" && Oe?.tagName === "HTML" && tn === null ? "opencor-application" : "opencor-component", o.value = `opencorToast${String(f?.uid)}`, i.value = `opencorMainMenu${String(f?.uid)}`, setTimeout(() => {
29804
29804
  u();
29805
- }, gt);
29806
- let ut;
29805
+ }, bt);
29806
+ let ct;
29807
29807
  setTimeout(() => {
29808
- ut = sa(i.value);
29809
- }, gt), setTimeout(() => {
29810
- const dt = document.getElementById(o.value);
29811
- dt !== null && V.appendChild(dt);
29812
- }, gt), window.addEventListener("resize", ct), O.onUnmounted(() => {
29813
- window.removeEventListener("resize", ct);
29808
+ ct = sa(i.value);
29809
+ }, bt), setTimeout(() => {
29810
+ const pt = document.getElementById(o.value);
29811
+ pt !== null && V.appendChild(pt);
29812
+ }, bt), window.addEventListener("resize", dt), O.onUnmounted(() => {
29813
+ window.removeEventListener("resize", dt);
29814
29814
  });
29815
- function ct() {
29816
- const dt = window.getComputedStyle(V);
29817
- Mn.value = parseFloat(dt.width), Bn.value = parseFloat(dt.height), Wo.value = Bn.value - Tt(i.value);
29815
+ function dt() {
29816
+ const pt = window.getComputedStyle(V);
29817
+ Mn.value = parseFloat(pt.width), Bn.value = parseFloat(pt.height), Wo.value = Bn.value - Tt(i.value);
29818
29818
  }
29819
29819
  const Ho = new ResizeObserver(() => {
29820
29820
  setTimeout(() => {
29821
- ct();
29822
- }, gt);
29821
+ dt();
29822
+ }, bt);
29823
29823
  });
29824
29824
  let Ko = Tt(i.value);
29825
29825
  const Go = new MutationObserver(() => {
29826
- const dt = Tt(i.value);
29827
- dt !== Ko && (Ko = dt, ct());
29826
+ const pt = Tt(i.value);
29827
+ pt !== Ko && (Ko = pt, dt());
29828
29828
  });
29829
29829
  Ho.observe(V), Go.observe(document.documentElement, { attributes: !0, attributeFilter: ["style"] }), O.onUnmounted(() => {
29830
- Ho.disconnect(), Go.disconnect(), ut?.disconnect();
29830
+ Ho.disconnect(), Go.disconnect(), ct?.disconnect();
29831
29831
  });
29832
29832
  }), e.omex !== void 0 ? O.watch(m, (V) => {
29833
29833
  V && e.omex !== void 0 && Fe(e.omex);
@@ -29838,17 +29838,17 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29838
29838
  const N = Sh("action", "");
29839
29839
  window.location.search !== "" ? (N.value = window.location.search.substring(1), window.location.search = "") : N.value !== "" && setTimeout(() => {
29840
29840
  v(N.value.slice(mf.length)), N.value = "";
29841
- }, gt);
29841
+ }, bt);
29842
29842
  }
29843
29843
  });
29844
- }, gt);
29844
+ }, bt);
29845
29845
  }), O.watch(c, (V) => {
29846
29846
  V || setTimeout(() => {
29847
- const N = t.value?.$el, fe = N.querySelector(".p-blockui-mask");
29848
- fe !== null && fe.parentElement === N && N.removeChild(fe);
29849
- }, gt);
29847
+ const N = t.value?.$el, me = N.querySelector(".p-blockui-mask");
29848
+ me !== null && me.parentElement === N && N.removeChild(me);
29849
+ }, bt);
29850
29850
  }), (V, N) => {
29851
- const fe = Yu, Oe = tu, tn = gy, ut = pa, ct = py, Ho = iy, Ko = $1, Go = Im, dt = dm, Xu = Hf, ec = _f, tc = pf, nc = cf, oc = sf, rc = ef, ic = $s;
29851
+ const me = Yu, Oe = tu, tn = gy, ct = pa, dt = py, Ho = iy, Ko = $1, Go = Im, pt = dm, Xu = Hf, ec = _f, tc = pf, nc = cf, oc = sf, rc = ef, ic = $s;
29852
29852
  return h(), I(ic, {
29853
29853
  ref_key: "blockUi",
29854
29854
  ref: t,
@@ -29861,22 +29861,22 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29861
29861
  onMousedown: u
29862
29862
  }, {
29863
29863
  default: P(() => [
29864
- U(fe, {
29864
+ U(me, {
29865
29865
  id: D(o),
29866
29866
  group: D(o),
29867
29867
  "pt:root:style": { position: "absolute" },
29868
29868
  class: K(D(p) ? "visible" : "invisible")
29869
29869
  }, null, 8, ["id", "group", "class"]),
29870
- ge(U(Oe, null, null, 512), [
29871
- [wt, (D(C) || D(S)) && V.omex !== void 0]
29870
+ pe(U(Oe, null, null, 512), [
29871
+ [et, (D(C) || D(S)) && V.omex !== void 0]
29872
29872
  ]),
29873
- ge(U(tn, { message: "Loading OpenCOR..." }, null, 512), [
29874
- [wt, D(C)]
29873
+ pe(U(tn, { message: "Loading OpenCOR..." }, null, 512), [
29874
+ [et, D(C)]
29875
29875
  ]),
29876
- ge(U(tn, { message: "Loading model..." }, null, 512), [
29877
- [wt, D(S)]
29876
+ pe(U(tn, { message: "Loading model..." }, null, 512), [
29877
+ [et, D(S)]
29878
29878
  ]),
29879
- D(l).length !== 0 ? (h(), I(ut, {
29879
+ D(l).length !== 0 ? (h(), I(ct, {
29880
29880
  key: 0,
29881
29881
  class: "h-full",
29882
29882
  issues: D(l),
@@ -29899,8 +29899,8 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29899
29899
  style: { display: "none" },
29900
29900
  onChange: St
29901
29901
  }, null, 544),
29902
- ge(U(ct, null, null, 512), [
29903
- [wt, D(tt) > 0]
29902
+ pe(U(dt, null, null, 512), [
29903
+ [et, D(nt) > 0]
29904
29904
  ]),
29905
29905
  D(ne) === void 0 && V.omex === void 0 ? (h(), I(Ho, {
29906
29906
  key: 0,
@@ -29908,7 +29908,7 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29908
29908
  isActive: D(p),
29909
29909
  uiEnabled: D(d),
29910
29910
  hasFiles: D(y),
29911
- onAbout: st,
29911
+ onAbout: ut,
29912
29912
  onOpen: Ur,
29913
29913
  onOpenRemote: zr,
29914
29914
  onOpenSampleLorenz: jo,
@@ -29932,7 +29932,7 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29932
29932
  onOpenRemote: Nr,
29933
29933
  onClose: N[1] || (N[1] = (Se) => xt.value = !1)
29934
29934
  }, null, 8, ["visible"]),
29935
- U(dt, {
29935
+ U(pt, {
29936
29936
  visible: D(Ke),
29937
29937
  "onUpdate:visible": N[2] || (N[2] = (Se) => Pe(Ke) ? Ke.value = Se : null),
29938
29938
  onClose: N[3] || (N[3] = (Se) => Ke.value = !1)
@@ -29954,7 +29954,7 @@ ${gi(fe instanceof Error ? fe.message : String(fe))}`,
29954
29954
  "onUpdate:visible": N[9] || (N[9] = (Se) => Pe(q) ? q.value = Se : null),
29955
29955
  title: D(Z),
29956
29956
  issue: D(ue),
29957
- onClose: pe
29957
+ onClose: fe
29958
29958
  }, null, 8, ["visible", "title", "issue"]),
29959
29959
  U(nc, {
29960
29960
  visible: D(A),