x-block-lib 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +272 -272
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10,9 +10,9 @@
10
10
  var Pr = Object.defineProperty;
11
11
  var xr = (e, t, n) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
12
12
  var Fe = (e, t, n) => xr(e, typeof t != "symbol" ? t + "" : t, n);
13
- import { getCurrentScope as Ur, onScopeDispose as wr, unref as w, computed as Te, watch as pt, ref as At, getCurrentInstance as ro, onMounted as Wt, defineComponent as Qe, onBeforeUnmount as Wn, resolveComponent as Ae, openBlock as he, createBlock as $e, withCtx as Xe, createVNode as ge, mergeProps as Ai, useModel as ti, toRefs as Vr, reactive as Fr, h as ni, onUnmounted as Yr, nextTick as vi, isRef as an, resolveDirective as Kr, withDirectives as Hr, createElementBlock as mt, normalizeStyle as ot, createElementVNode as He, toDisplayString as lo, withModifiers as rn, Fragment as ea, renderList as $r, withKeys as ta, createCommentVNode as Gt, mergeModels as Wi } from "vue";
14
- import { d as O, j as l, O as u, M as v, u as I, X as Gr, E as V, B as U, F as ee, i as re, a as Bt, b as co, c as ue, C as na, e as jr, P as oi, N as bi, V as wn, g as Et, f as Wr, h as oa, s as Xr, S as ye, k as Do, l as Yt, m as Ln, n as Mo, o as Zt, p as St, q as Xi, G as Po, r as zr, t as Jr, v as xo, U as Nn, D as kn, w as xt, x as qr, T as uo, y as ia, z as Qr, A as Zr, H as el, I as zi, J as tl } from "./blockly-h1celjt4.js";
15
- import { openConfirmDlg as nl, openPromptDlg as ol, eventBus as We, messageWarning as sa, useColor as _o, useViewStack as po, useSystem as aa, injectDark as il, injectLocale as sl } from "x-essential-lib";
13
+ import { getCurrentScope as Ur, onScopeDispose as wr, unref as w, computed as Te, watch as pt, ref as At, getCurrentInstance as lo, onMounted as Wt, defineComponent as Qe, onBeforeUnmount as Xn, resolveComponent as Ae, openBlock as he, createBlock as $e, withCtx as Xe, createVNode as ge, mergeProps as Ai, useModel as ti, toRefs as Vr, reactive as Fr, h as ni, onUnmounted as Yr, nextTick as vi, isRef as an, resolveDirective as Kr, withDirectives as Hr, createElementBlock as mt, normalizeStyle as ot, createElementVNode as He, toDisplayString as co, withModifiers as rn, Fragment as ea, renderList as $r, withKeys as ta, createCommentVNode as Gt, mergeModels as Wi } from "vue";
14
+ import { d as O, j as l, O as u, M as v, u as I, X as Gr, E as V, B as U, F as ee, i as re, a as Bt, b as uo, c as ue, C as na, e as jr, P as oi, N as bi, V as wn, g as Et, f as Wr, h as oa, s as Xr, S as Ie, k as Vn, l as Yt, m as Ln, n as Mo, o as Zt, p as St, q as Xi, G as Po, r as zr, t as Jr, v as xo, U as Nn, D as kn, w as xt, x as qr, T as _o, y as ia, z as Qr, A as Zr, H as el, I as zi, J as tl } from "./blockly-h1celjt4.js";
15
+ import { openConfirmDlg as nl, openPromptDlg as ol, eventBus as We, messageWarning as sa, useColor as po, useViewStack as fo, useSystem as aa, injectDark as il, injectLocale as sl } from "x-essential-lib";
16
16
  import { elements as Je, getPropTag as ra } from "x-runtime-lib";
17
17
  import { useI18n as En } from "vue-i18n";
18
18
  import { useDisplay as al } from "vuetify";
@@ -31,7 +31,7 @@ function Ji(e) {
31
31
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
32
32
  }
33
33
  function ul() {
34
- const e = At(!1), t = ro();
34
+ const e = At(!1), t = lo();
35
35
  return t && Wt(() => {
36
36
  e.value = !0;
37
37
  }, t), e;
@@ -478,7 +478,7 @@ function da(e, t, n) {
478
478
  var o = e[t];
479
479
  (!(zl.call(e, t) && Ii(o, n)) || n === void 0 && !(t in e)) && pa(e, t, n);
480
480
  }
481
- function fo(e, t, n, o) {
481
+ function ho(e, t, n, o) {
482
482
  var i = !n;
483
483
  n || (n = {});
484
484
  for (var s = -1, a = t.length; ++s < a; ) {
@@ -495,7 +495,7 @@ function yi(e) {
495
495
  return e != null && fa(e.length) && !_a(e);
496
496
  }
497
497
  var ql = Object.prototype;
498
- function ho(e) {
498
+ function go(e) {
499
499
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || ql;
500
500
  return e === n;
501
501
  }
@@ -551,7 +551,7 @@ function Aa(e, t) {
551
551
  }
552
552
  var Dc = Aa(Object.keys, Object), Mc = Object.prototype, Pc = Mc.hasOwnProperty;
553
553
  function va(e) {
554
- if (!ho(e))
554
+ if (!go(e))
555
555
  return Dc(e);
556
556
  var t = [];
557
557
  for (var n in Object(e))
@@ -572,7 +572,7 @@ var Uc = Object.prototype, wc = Uc.hasOwnProperty;
572
572
  function Vc(e) {
573
573
  if (!vn(e))
574
574
  return xc(e);
575
- var t = ho(e), n = [];
575
+ var t = go(e), n = [];
576
576
  for (var o in e)
577
577
  o == "constructor" && (t || !wc.call(e, o)) || n.push(o);
578
578
  return n;
@@ -622,7 +622,7 @@ kt.prototype.set = Jc;
622
622
  function qc() {
623
623
  this.__data__ = [], this.size = 0;
624
624
  }
625
- function go(e, t) {
625
+ function To(e, t) {
626
626
  for (var n = e.length; n--; )
627
627
  if (Ii(e[n][0], t))
628
628
  return n;
@@ -630,21 +630,21 @@ function go(e, t) {
630
630
  }
631
631
  var Qc = Array.prototype, Zc = Qc.splice;
632
632
  function eu(e) {
633
- var t = this.__data__, n = go(t, e);
633
+ var t = this.__data__, n = To(t, e);
634
634
  if (n < 0)
635
635
  return !1;
636
636
  var o = t.length - 1;
637
637
  return n == o ? t.pop() : Zc.call(t, n, 1), --this.size, !0;
638
638
  }
639
639
  function tu(e) {
640
- var t = this.__data__, n = go(t, e);
640
+ var t = this.__data__, n = To(t, e);
641
641
  return n < 0 ? void 0 : t[n][1];
642
642
  }
643
643
  function nu(e) {
644
- return go(this.__data__, e) > -1;
644
+ return To(this.__data__, e) > -1;
645
645
  }
646
646
  function ou(e, t) {
647
- var n = this.__data__, o = go(n, e);
647
+ var n = this.__data__, o = To(n, e);
648
648
  return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
649
649
  }
650
650
  function ct(e) {
@@ -671,22 +671,22 @@ function su(e) {
671
671
  var t = typeof e;
672
672
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
673
673
  }
674
- function To(e, t) {
674
+ function mo(e, t) {
675
675
  var n = e.__data__;
676
676
  return su(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
677
677
  }
678
678
  function au(e) {
679
- var t = To(this, e).delete(e);
679
+ var t = mo(this, e).delete(e);
680
680
  return this.size -= t ? 1 : 0, t;
681
681
  }
682
682
  function ru(e) {
683
- return To(this, e).get(e);
683
+ return mo(this, e).get(e);
684
684
  }
685
685
  function lu(e) {
686
- return To(this, e).has(e);
686
+ return mo(this, e).has(e);
687
687
  }
688
688
  function cu(e, t) {
689
- var n = To(this, e), o = n.size;
689
+ var n = mo(this, e), o = n.size;
690
690
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
691
691
  }
692
692
  function Mt(e) {
@@ -741,10 +741,10 @@ it.prototype.get = pu;
741
741
  it.prototype.has = du;
742
742
  it.prototype.set = hu;
743
743
  function gu(e, t) {
744
- return e && fo(t, Li(t), e);
744
+ return e && ho(t, Li(t), e);
745
745
  }
746
746
  function Tu(e, t) {
747
- return e && fo(t, Ni(t), e);
747
+ return e && ho(t, Ni(t), e);
748
748
  }
749
749
  var Ia = typeof exports == "object" && exports && !exports.nodeType && exports, ss = Ia && typeof module == "object" && module && !module.nodeType && module, mu = ss && ss.exports === Ia, as = mu ? et.Buffer : void 0, rs = as ? as.allocUnsafe : void 0;
750
750
  function Eu(e, t) {
@@ -769,7 +769,7 @@ var vu = Object.prototype, bu = vu.propertyIsEnumerable, ls = Object.getOwnPrope
769
769
  }));
770
770
  } : ya;
771
771
  function Ou(e, t) {
772
- return fo(e, ki(e), t);
772
+ return ho(e, ki(e), t);
773
773
  }
774
774
  var Iu = Object.getOwnPropertySymbols, Ca = Iu ? function(e) {
775
775
  for (var t = []; e; )
@@ -777,7 +777,7 @@ var Iu = Object.getOwnPropertySymbols, Ca = Iu ? function(e) {
777
777
  return t;
778
778
  } : ya;
779
779
  function yu(e, t) {
780
- return fo(e, Ca(e), t);
780
+ return ho(e, Ca(e), t);
781
781
  }
782
782
  function Sa(e, t, n) {
783
783
  var o = t(e);
@@ -812,10 +812,10 @@ function Pu(e) {
812
812
  var t = e.length, n = new e.constructor(t);
813
813
  return t && typeof e[0] == "string" && Mu.call(e, "index") && (n.index = e.index, n.input = e.input), n;
814
814
  }
815
- var Xn = et.Uint8Array;
815
+ var zn = et.Uint8Array;
816
816
  function Bi(e) {
817
817
  var t = new e.constructor(e.byteLength);
818
- return new Xn(t).set(new Xn(e)), t;
818
+ return new zn(t).set(new zn(e)), t;
819
819
  }
820
820
  function xu(e, t) {
821
821
  var n = t ? Bi(e.buffer) : e.buffer;
@@ -869,7 +869,7 @@ function a_(e, t, n) {
869
869
  }
870
870
  }
871
871
  function r_(e) {
872
- return typeof e.constructor == "function" && !ho(e) ? Kl(Oa(e)) : {};
872
+ return typeof e.constructor == "function" && !go(e) ? Kl(Oa(e)) : {};
873
873
  }
874
874
  var l_ = "[object Map]";
875
875
  function c_(e) {
@@ -882,7 +882,7 @@ function p_(e) {
882
882
  var Ts = zt && zt.isSet, d_ = Ts ? Ci(Ts) : p_, f_ = 1, h_ = 2, g_ = 4, La = "[object Arguments]", T_ = "[object Array]", m_ = "[object Boolean]", E_ = "[object Date]", A_ = "[object Error]", Na = "[object Function]", v_ = "[object GeneratorFunction]", b_ = "[object Map]", O_ = "[object Number]", ka = "[object Object]", I_ = "[object RegExp]", y_ = "[object Set]", C_ = "[object String]", S_ = "[object Symbol]", L_ = "[object WeakMap]", N_ = "[object ArrayBuffer]", k_ = "[object DataView]", B_ = "[object Float32Array]", R_ = "[object Float64Array]", D_ = "[object Int8Array]", M_ = "[object Int16Array]", P_ = "[object Int32Array]", x_ = "[object Uint8Array]", U_ = "[object Uint8ClampedArray]", w_ = "[object Uint16Array]", V_ = "[object Uint32Array]", Z = {};
883
883
  Z[La] = Z[T_] = Z[N_] = Z[k_] = Z[m_] = Z[E_] = Z[B_] = Z[R_] = Z[D_] = Z[M_] = Z[P_] = Z[b_] = Z[O_] = Z[ka] = Z[I_] = Z[y_] = Z[C_] = Z[S_] = Z[x_] = Z[U_] = Z[w_] = Z[V_] = !0;
884
884
  Z[A_] = Z[Na] = Z[L_] = !1;
885
- function Vn(e, t, n, o, i, s) {
885
+ function Fn(e, t, n, o, i, s) {
886
886
  var a, r = t & f_, c = t & h_, _ = t & g_;
887
887
  if (a !== void 0)
888
888
  return a;
@@ -910,18 +910,18 @@ function Vn(e, t, n, o, i, s) {
910
910
  if (g)
911
911
  return g;
912
912
  s.set(e, a), d_(e) ? e.forEach(function(C) {
913
- a.add(Vn(C, t, n, C, e, s));
913
+ a.add(Fn(C, t, n, C, e, s));
914
914
  }) : u_(e) && e.forEach(function(C, S) {
915
- a.set(S, Vn(C, t, n, S, e, s));
915
+ a.set(S, Fn(C, t, n, S, e, s));
916
916
  });
917
917
  var b = _ ? c ? Cu : si : c ? Ni : Li, E = p ? void 0 : b(e);
918
918
  return $l(E || e, function(C, S) {
919
- E && (S = C, C = e[S]), da(a, S, Vn(C, t, n, S, e, s));
919
+ E && (S = C, C = e[S]), da(a, S, Fn(C, t, n, S, e, s));
920
920
  }), a;
921
921
  }
922
922
  var F_ = 1, Y_ = 4;
923
923
  function K_(e) {
924
- return Vn(e, F_ | Y_);
924
+ return Fn(e, F_ | Y_);
925
925
  }
926
926
  var H_ = "__lodash_hash_undefined__";
927
927
  function $_(e) {
@@ -930,13 +930,13 @@ function $_(e) {
930
930
  function G_(e) {
931
931
  return this.__data__.has(e);
932
932
  }
933
- function zn(e) {
933
+ function Jn(e) {
934
934
  var t = -1, n = e == null ? 0 : e.length;
935
935
  for (this.__data__ = new Mt(); ++t < n; )
936
936
  this.add(e[t]);
937
937
  }
938
- zn.prototype.add = zn.prototype.push = $_;
939
- zn.prototype.has = G_;
938
+ Jn.prototype.add = Jn.prototype.push = $_;
939
+ Jn.prototype.has = G_;
940
940
  function j_(e, t) {
941
941
  for (var n = -1, o = e == null ? 0 : e.length; ++n < o; )
942
942
  if (t(e[n], n, e))
@@ -954,7 +954,7 @@ function Ba(e, t, n, o, i, s) {
954
954
  var _ = s.get(e), p = s.get(t);
955
955
  if (_ && p)
956
956
  return _ == t && p == e;
957
- var d = -1, f = !0, g = n & z_ ? new zn() : void 0;
957
+ var d = -1, f = !0, g = n & z_ ? new Jn() : void 0;
958
958
  for (s.set(e, t), s.set(t, e); ++d < r; ) {
959
959
  var b = e[d], E = t[d];
960
960
  if (o)
@@ -1000,7 +1000,7 @@ function _p(e, t, n, o, i, s, a) {
1000
1000
  return !1;
1001
1001
  e = e.buffer, t = t.buffer;
1002
1002
  case cp:
1003
- return !(e.byteLength != t.byteLength || !s(new Xn(e), new Xn(t)));
1003
+ return !(e.byteLength != t.byteLength || !s(new zn(e), new zn(t)));
1004
1004
  case ep:
1005
1005
  case tp:
1006
1006
  case ip:
@@ -1093,7 +1093,7 @@ function ci(e) {
1093
1093
  var t = we(e);
1094
1094
  if (t == Ep || t == Ap)
1095
1095
  return !e.size;
1096
- if (ho(e))
1096
+ if (go(e))
1097
1097
  return !va(e).length;
1098
1098
  for (var n in e)
1099
1099
  if (bp.call(e, n))
@@ -1802,7 +1802,7 @@ function Qt() {
1802
1802
  function bt(e) {
1803
1803
  return Q.data.spaces[e];
1804
1804
  }
1805
- function mo() {
1805
+ function Eo() {
1806
1806
  const e = [];
1807
1807
  return Qt().forEach((n) => {
1808
1808
  e.push([n.name, n.id]);
@@ -1819,7 +1819,7 @@ function rt(e) {
1819
1819
  function ve(e) {
1820
1820
  return Q.data.tables[e];
1821
1821
  }
1822
- function Eo(e) {
1822
+ function Ao(e) {
1823
1823
  const t = [];
1824
1824
  return rt(e).forEach((o) => {
1825
1825
  t.push([o.name, o.id]);
@@ -1893,10 +1893,10 @@ const Up = {
1893
1893
  }, 0);
1894
1894
  },
1895
1895
  genSpaceOpts_: function() {
1896
- return mo();
1896
+ return Eo();
1897
1897
  },
1898
1898
  genTableOpts_: function() {
1899
- return Eo(this.space.id);
1899
+ return Ao(this.space.id);
1900
1900
  },
1901
1901
  genColumnOpts_: function() {
1902
1902
  const e = [], t = ve(this.table.id);
@@ -2297,10 +2297,10 @@ const Gp = {
2297
2297
  }, 0);
2298
2298
  },
2299
2299
  genSpaceOpts_: function() {
2300
- return mo();
2300
+ return Eo();
2301
2301
  },
2302
2302
  genTableOpts_: function() {
2303
- return Eo(this.space.id);
2303
+ return Ao(this.space.id);
2304
2304
  },
2305
2305
  genColumnOpts_: function() {
2306
2306
  const e = [], t = ve(this.table.id);
@@ -2407,7 +2407,7 @@ const Gp = {
2407
2407
  new ee(() => this.genColumnOpts_()),
2408
2408
  "COLUMN" + e
2409
2409
  ).appendField("%{BKY_DATA_AS}").appendField(
2410
- new co(this.getFieldValue("COLUMN" + e)),
2410
+ new uo(this.getFieldValue("COLUMN" + e)),
2411
2411
  "ALIAS" + e
2412
2412
  );
2413
2413
  },
@@ -2488,10 +2488,10 @@ const jp = {
2488
2488
  this.space.id = ((t = e.space) == null ? void 0 : t.id) ?? "", this.space.name = ((n = e.space) == null ? void 0 : n.name) ?? "", this.table.id = ((o = e.table) == null ? void 0 : o.id) ?? "", this.table.name = ((i = e.table) == null ? void 0 : i.name) ?? "", this.checkWarning_();
2489
2489
  },
2490
2490
  genSpaceOpts_: function() {
2491
- return mo();
2491
+ return Eo();
2492
2492
  },
2493
2493
  genTableOpts_: function() {
2494
- return Eo(this.space.id);
2494
+ return Ao(this.space.id);
2495
2495
  },
2496
2496
  onchange: function(e) {
2497
2497
  if (e.type === V.BLOCK_CHANGE) {
@@ -2609,10 +2609,10 @@ const zp = {
2609
2609
  }, 0);
2610
2610
  },
2611
2611
  genSpaceOpts_: function() {
2612
- return mo();
2612
+ return Eo();
2613
2613
  },
2614
2614
  genTableOpts_: function() {
2615
- return Eo(this.space.id);
2615
+ return Ao(this.space.id);
2616
2616
  },
2617
2617
  genColumnOpts_: function() {
2618
2618
  const e = [], t = ve(this.table.id);
@@ -4507,7 +4507,7 @@ const pd = {
4507
4507
  },
4508
4508
  updateShape_: function() {
4509
4509
  for (let e = 0; e < this.itemCount_; e++)
4510
- this.getInput("ADD" + e) || this.appendValueInput("ADD" + e).setAlign(re.Align.RIGHT).appendField(new co("key"), "KEY" + e);
4510
+ this.getInput("ADD" + e) || this.appendValueInput("ADD" + e).setAlign(re.Align.RIGHT).appendField(new uo("key"), "KEY" + e);
4511
4511
  for (let e = this.itemCount_; this.getInput("ADD" + e); e++)
4512
4512
  this.removeInput("ADD" + e);
4513
4513
  }
@@ -4778,7 +4778,7 @@ const Os = I.xml, dd = {
4778
4778
  U.procedure_def_container_v1 = dd;
4779
4779
  const fd = {
4780
4780
  init: function() {
4781
- const e = new co(oi.DEFAULT_ARG);
4781
+ const e = new uo(oi.DEFAULT_ARG);
4782
4782
  e.setValidator(this.validator_), this.appendDummyInput().appendField("%{BKY_PROCEDURE_V1_DEF_ITEM_TITLE}").appendField(e, "NAME"), this.setPreviousStatement(!0), this.setNextStatement(!0), this.setStyle("procedure_blocks"), this.contextMenu = !1;
4783
4783
  },
4784
4784
  validator_: function(e) {
@@ -4802,7 +4802,7 @@ U.procedure_def_item_v1 = fd;
4802
4802
  const hd = {
4803
4803
  init: function() {
4804
4804
  this.withReturn = !1, this.args = [];
4805
- const e = new co(
4805
+ const e = new uo(
4806
4806
  oi.findLegalName("", this)
4807
4807
  );
4808
4808
  e.setValidator(oi.rename), e.setSpellcheck(!1), this.appendDummyInput("DUMMY").appendField(e, "NAME"), this.appendStatementInput("HANDLE"), this.setMutator(
@@ -4985,7 +4985,7 @@ l.forBlock.text_v1 = function(e) {
4985
4985
  return [l.quote_(e.getFieldValue("TEXT")), u.ATOMIC];
4986
4986
  };
4987
4987
  const md = /^\s*'([^']|\\')*'\s*$/;
4988
- function Fn(e) {
4988
+ function Yn(e) {
4989
4989
  return md.test(e) ? [e, u.ATOMIC] : [`String(${e})`, u.FUNCTION_CALL];
4990
4990
  }
4991
4991
  ue.register(
@@ -5022,7 +5022,7 @@ l.forBlock.text_append_v1 = function(e) {
5022
5022
  e.getFieldValue("VAR"),
5023
5023
  bi.NameType.VARIABLE
5024
5024
  ), n = l.valueToCode(e, "TEXT", u.NONE) || "''";
5025
- return `${t} += ${Fn(n)};
5025
+ return `${t} += ${Yn(n)};
5026
5026
  `;
5027
5027
  };
5028
5028
  O([
@@ -5315,11 +5315,11 @@ l.forBlock.text_join_v1 = function(e) {
5315
5315
  return ["''", u.ATOMIC];
5316
5316
  case 1: {
5317
5317
  const n = l.valueToCode(t, "ADD0", u.NONE) || "''";
5318
- return Fn(n);
5318
+ return Yn(n);
5319
5319
  }
5320
5320
  case 2: {
5321
5321
  const n = l.valueToCode(t, "ADD0", u.NONE) || "''", o = l.valueToCode(t, "ADD1", u.NONE) || "''";
5322
- return [Fn(n)[0] + " + " + Fn(o)[0], u.ADDITION];
5322
+ return [Yn(n)[0] + " + " + Yn(o)[0], u.ADDITION];
5323
5323
  }
5324
5324
  default: {
5325
5325
  const n = new Array(t.itemCount_);
@@ -5624,7 +5624,7 @@ function Ne(e) {
5624
5624
  const { nodes: t } = Q.app;
5625
5625
  return t.find((n) => n.id === e);
5626
5626
  }
5627
- function Ao(e) {
5627
+ function vo(e) {
5628
5628
  const { i18n: t } = Q.base, n = [];
5629
5629
  return bn(e).forEach((i) => {
5630
5630
  const s = Je[i.key];
@@ -5758,7 +5758,7 @@ const Cd = {
5758
5758
  this.node.id = ((t = e.node) == null ? void 0 : t.id) ?? "", this.node.key = ((n = e.node) == null ? void 0 : n.key) ?? "", this.node.alias = ((o = e.node) == null ? void 0 : o.alias) ?? "", this.method.key = ((i = e.method) == null ? void 0 : i.key) ?? "", this.method.name = ((s = e.method) == null ? void 0 : s.name) ?? "", this.method.inputs = ((a = e.method) == null ? void 0 : a.inputs) ?? [], this.method.outputs = ((r = e.method) == null ? void 0 : r.outputs) ?? [];
5759
5759
  },
5760
5760
  genNodeOpts_: function() {
5761
- return Ao("method");
5761
+ return vo("method");
5762
5762
  },
5763
5763
  genMethodOpts_: function() {
5764
5764
  return Id(this.node.id);
@@ -5850,7 +5850,7 @@ const Sd = {
5850
5850
  }, 0);
5851
5851
  },
5852
5852
  genNodeOpts_: function() {
5853
- return Ao();
5853
+ return vo();
5854
5854
  },
5855
5855
  onchange: function(e) {
5856
5856
  if (e.type === V.BLOCK_CHANGE) {
@@ -5927,7 +5927,7 @@ const Ld = {
5927
5927
  this.node.id = ((t = e.node) == null ? void 0 : t.id) ?? "", this.node.key = ((n = e.node) == null ? void 0 : n.key) ?? "", this.node.alias = ((o = e.node) == null ? void 0 : o.alias) ?? "", this.prop.keys = ((i = e.prop) == null ? void 0 : i.keys) ?? "", this.prop.names = ((s = e.prop) == null ? void 0 : s.names) ?? [];
5928
5928
  },
5929
5929
  genNodeOpts_: function() {
5930
- return Ao();
5930
+ return vo();
5931
5931
  },
5932
5932
  genPropOpts_: function() {
5933
5933
  return yd(this.node.id);
@@ -6160,7 +6160,7 @@ const Rd = {
6160
6160
  }, 0);
6161
6161
  },
6162
6162
  genNodeOpts_: function() {
6163
- return Ao("event");
6163
+ return vo("event");
6164
6164
  },
6165
6165
  genEventOpts_: function() {
6166
6166
  return Od(this.node.id);
@@ -6609,7 +6609,7 @@ function wd() {
6609
6609
  }
6610
6610
  return e;
6611
6611
  }
6612
- const Jn = {
6612
+ const qn = {
6613
6613
  name: "DATA_CATEGORY",
6614
6614
  callback: wd
6615
6615
  }, Ut = I.xml;
@@ -6648,7 +6648,7 @@ function Vd(e) {
6648
6648
  console.assert(!1);
6649
6649
  return n;
6650
6650
  }
6651
- const qn = {
6651
+ const Qn = {
6652
6652
  name: "FLOW_CATEGORY",
6653
6653
  callback: Vd
6654
6654
  }, nt = I.xml;
@@ -6699,7 +6699,7 @@ function Fd(e) {
6699
6699
  console.assert(!1);
6700
6700
  return o;
6701
6701
  }
6702
- const Qn = {
6702
+ const Zn = {
6703
6703
  name: "FUNC_CATEGORY",
6704
6704
  callback: Fd
6705
6705
  }, ys = I.xml;
@@ -6807,7 +6807,7 @@ function $d() {
6807
6807
  }
6808
6808
  return e;
6809
6809
  }
6810
- const Zn = {
6810
+ const eo = {
6811
6811
  name: "UI_CATEGORY",
6812
6812
  callback: $d
6813
6813
  }, Rn = I.xml;
@@ -6908,12 +6908,12 @@ class jd {
6908
6908
  contextMenu: !0,
6909
6909
  shortcut: !0
6910
6910
  }) {
6911
- t && (this.blockCopyToStorageContextMenu(), this.blockPasteFromStorageContextMenu()), n && (ye.registry.unregister(
6912
- Do.names.COPY
6913
- ), ye.registry.unregister(
6914
- Do.names.CUT
6915
- ), ye.registry.unregister(
6916
- Do.names.PASTE
6911
+ t && (this.blockCopyToStorageContextMenu(), this.blockPasteFromStorageContextMenu()), n && (Ie.registry.unregister(
6912
+ Vn.names.COPY
6913
+ ), Ie.registry.unregister(
6914
+ Vn.names.CUT
6915
+ ), Ie.registry.unregister(
6916
+ Vn.names.PASTE
6917
6917
  ), this.blockCopyToStorageShortcut(), this.blockCutToStorageShortcut(), this.blockPasteFromStorageShortcut());
6918
6918
  }
6919
6919
  blockCopyToStorageContextMenu() {
@@ -6965,13 +6965,13 @@ class jd {
6965
6965
  St.registry.register(t);
6966
6966
  }
6967
6967
  blockCopyToStorageShortcut() {
6968
- const t = ye.registry.createSerializedKey(
6968
+ const t = Ie.registry.createSerializedKey(
6969
6969
  I.KeyCodes.C,
6970
6970
  [I.KeyCodes.CTRL]
6971
- ), n = ye.registry.createSerializedKey(
6971
+ ), n = Ie.registry.createSerializedKey(
6972
6972
  I.KeyCodes.C,
6973
6973
  [I.KeyCodes.ALT]
6974
- ), o = ye.registry.createSerializedKey(
6974
+ ), o = Ie.registry.createSerializedKey(
6975
6975
  I.KeyCodes.C,
6976
6976
  [I.KeyCodes.META]
6977
6977
  ), i = {
@@ -6992,16 +6992,16 @@ class jd {
6992
6992
  },
6993
6993
  keyCodes: [t, n, o]
6994
6994
  };
6995
- ye.registry.register(i);
6995
+ Ie.registry.register(i);
6996
6996
  }
6997
6997
  blockCutToStorageShortcut() {
6998
- const t = ye.registry.createSerializedKey(
6998
+ const t = Ie.registry.createSerializedKey(
6999
6999
  I.KeyCodes.X,
7000
7000
  [I.KeyCodes.CTRL]
7001
- ), n = ye.registry.createSerializedKey(
7001
+ ), n = Ie.registry.createSerializedKey(
7002
7002
  I.KeyCodes.X,
7003
7003
  [I.KeyCodes.ALT]
7004
- ), o = ye.registry.createSerializedKey(
7004
+ ), o = Ie.registry.createSerializedKey(
7005
7005
  I.KeyCodes.X,
7006
7006
  [I.KeyCodes.META]
7007
7007
  ), i = {
@@ -7022,16 +7022,16 @@ class jd {
7022
7022
  },
7023
7023
  keyCodes: [t, n, o]
7024
7024
  };
7025
- ye.registry.register(i);
7025
+ Ie.registry.register(i);
7026
7026
  }
7027
7027
  blockPasteFromStorageShortcut() {
7028
- const t = ye.registry.createSerializedKey(
7028
+ const t = Ie.registry.createSerializedKey(
7029
7029
  I.KeyCodes.V,
7030
7030
  [I.KeyCodes.CTRL]
7031
- ), n = ye.registry.createSerializedKey(
7031
+ ), n = Ie.registry.createSerializedKey(
7032
7032
  I.KeyCodes.V,
7033
7033
  [I.KeyCodes.ALT]
7034
- ), o = ye.registry.createSerializedKey(
7034
+ ), o = Ie.registry.createSerializedKey(
7035
7035
  I.KeyCodes.V,
7036
7036
  [I.KeyCodes.META]
7037
7037
  ), i = {
@@ -7055,7 +7055,7 @@ class jd {
7055
7055
  },
7056
7056
  keyCodes: [t, n, o]
7057
7057
  };
7058
- ye.registry.register(i);
7058
+ Ie.registry.register(i);
7059
7059
  }
7060
7060
  }
7061
7061
  class Wd {
@@ -7939,6 +7939,7 @@ Jr.register(`
7939
7939
  function zd() {
7940
7940
  qr.register("field_colour", Ka);
7941
7941
  }
7942
+ Ie.registry.unregister(Vn.names.ESCAPE);
7942
7943
  const Jd = new jd();
7943
7944
  Jd.init({ contextMenu: !0, shortcut: !0 });
7944
7945
  const qd = new Wd();
@@ -7946,7 +7947,7 @@ qd.init();
7946
7947
  const Qd = new Xd();
7947
7948
  Qd.init();
7948
7949
  zd();
7949
- uo.Classic.blockStyles = {
7950
+ _o.Classic.blockStyles = {
7950
7951
  color_blocks: {
7951
7952
  colourPrimary: "#a5745b",
7952
7953
  colourSecondary: "#ede3de",
@@ -8020,7 +8021,7 @@ uo.Classic.blockStyles = {
8020
8021
  hat: ""
8021
8022
  }
8022
8023
  };
8023
- uo.Classic.categoryStyles = {
8024
+ _o.Classic.categoryStyles = {
8024
8025
  calc_category: {
8025
8026
  colour: "#757575"
8026
8027
  },
@@ -8078,7 +8079,7 @@ uo.Classic.categoryStyles = {
8078
8079
  };
8079
8080
  const Zd = ia.defineTheme("light", {
8080
8081
  name: "light",
8081
- base: uo.Classic,
8082
+ base: _o.Classic,
8082
8083
  componentStyles: {
8083
8084
  workspaceBackgroundColour: "#ffffff",
8084
8085
  toolboxBackgroundColour: "#eeeeee",
@@ -8094,7 +8095,7 @@ const Zd = ia.defineTheme("light", {
8094
8095
  }
8095
8096
  }), ef = ia.defineTheme("dark", {
8096
8097
  name: "dark",
8097
- base: uo.Classic,
8098
+ base: _o.Classic,
8098
8099
  componentStyles: {
8099
8100
  workspaceBackgroundColour: "#1e1e1e",
8100
8101
  toolboxBackgroundColour: "#272727",
@@ -8120,7 +8121,7 @@ function tf(e) {
8120
8121
  break;
8121
8122
  }
8122
8123
  }
8123
- const vo = {
8124
+ const bo = {
8124
8125
  kind: "category",
8125
8126
  name: "%{BKY_CATEGORY_COLOR}",
8126
8127
  categorystyle: "color_category",
@@ -8194,7 +8195,7 @@ const vo = {
8194
8195
  }
8195
8196
  }
8196
8197
  ]
8197
- }, bo = {
8198
+ }, Oo = {
8198
8199
  kind: "category",
8199
8200
  name: "%{BKY_CATEGORY_LIST}",
8200
8201
  categorystyle: "list_category",
@@ -8309,7 +8310,7 @@ const vo = {
8309
8310
  type: "list_reverse_v1"
8310
8311
  }
8311
8312
  ]
8312
- }, Oo = {
8313
+ }, Io = {
8313
8314
  kind: "category",
8314
8315
  name: "%{BKY_CATEGORY_LOGIC}",
8315
8316
  categorystyle: "logic_category",
@@ -8351,7 +8352,7 @@ const vo = {
8351
8352
  type: "logic_ternary_v1"
8352
8353
  }
8353
8354
  ]
8354
- }, Io = {
8355
+ }, yo = {
8355
8356
  kind: "category",
8356
8357
  name: "%{BKY_CATEGORY_LOOP}",
8357
8358
  categorystyle: "loop_category",
@@ -8373,7 +8374,7 @@ const vo = {
8373
8374
  type: "for_each_v1"
8374
8375
  }
8375
8376
  ]
8376
- }, yo = {
8377
+ }, Co = {
8377
8378
  kind: "category",
8378
8379
  name: "%{BKY_CATEGORY_MATH}",
8379
8380
  categorystyle: "math_category",
@@ -8564,7 +8565,7 @@ const vo = {
8564
8565
  type: "open_prompt_dlg_v1"
8565
8566
  }
8566
8567
  ]
8567
- }, Co = {
8568
+ }, So = {
8568
8569
  kind: "category",
8569
8570
  name: "%{BKY_CATEGORY_OBJECT}",
8570
8571
  categorystyle: "object_category",
@@ -8632,7 +8633,7 @@ const vo = {
8632
8633
  }
8633
8634
  }
8634
8635
  ]
8635
- }, So = {
8636
+ }, Lo = {
8636
8637
  kind: "category",
8637
8638
  name: "%{BKY_CATEGORY_TEXT}",
8638
8639
  categorystyle: "text_category",
@@ -8826,16 +8827,16 @@ const vo = {
8826
8827
  kind: "category",
8827
8828
  name: "%{BKY_CATEGORY_UI}",
8828
8829
  categorystyle: "ui_category",
8829
- custom: Zn.name
8830
+ custom: eo.name
8830
8831
  },
8831
8832
  Ha,
8833
+ yo,
8832
8834
  Io,
8835
+ Co,
8836
+ Lo,
8833
8837
  Oo,
8834
- yo,
8835
8838
  So,
8836
8839
  bo,
8837
- Co,
8838
- vo,
8839
8840
  $a,
8840
8841
  {
8841
8842
  kind: "category",
@@ -8863,27 +8864,27 @@ const vo = {
8863
8864
  kind: "category",
8864
8865
  name: "%{BKY_CATEGORY_FUNC}",
8865
8866
  categorystyle: "func_category",
8866
- custom: Qn.name
8867
+ custom: Zn.name
8867
8868
  },
8868
8869
  {
8869
8870
  kind: "category",
8870
8871
  name: "%{BKY_CATEGORY_FLOW}",
8871
8872
  categorystyle: "flow_category",
8872
- custom: qn.name
8873
+ custom: Qn.name
8873
8874
  },
8874
8875
  {
8875
8876
  kind: "category",
8876
8877
  name: "%{BKY_CATEGORY_DATA}",
8877
8878
  categorystyle: "data_category",
8878
- custom: Jn.name
8879
+ custom: qn.name
8879
8880
  },
8881
+ yo,
8880
8882
  Io,
8883
+ Co,
8884
+ Lo,
8881
8885
  Oo,
8882
- yo,
8883
8886
  So,
8884
8887
  bo,
8885
- Co,
8886
- vo,
8887
8888
  {
8888
8889
  kind: "category",
8889
8890
  name: "%{BKY_CATEGORY_VARIABLE}",
@@ -8904,27 +8905,27 @@ const vo = {
8904
8905
  kind: "category",
8905
8906
  name: "%{BKY_CATEGORY_FUNC}",
8906
8907
  categorystyle: "func_category",
8907
- custom: Qn.name
8908
+ custom: Zn.name
8908
8909
  },
8909
8910
  {
8910
8911
  kind: "category",
8911
8912
  name: "%{BKY_CATEGORY_FLOW}",
8912
8913
  categorystyle: "flow_category",
8913
- custom: qn.name
8914
+ custom: Qn.name
8914
8915
  },
8915
8916
  {
8916
8917
  kind: "category",
8917
8918
  name: "%{BKY_CATEGORY_DATA}",
8918
8919
  categorystyle: "data_category",
8919
- custom: Jn.name
8920
+ custom: qn.name
8920
8921
  },
8922
+ yo,
8921
8923
  Io,
8924
+ Co,
8925
+ Lo,
8922
8926
  Oo,
8923
- yo,
8924
8927
  So,
8925
8928
  bo,
8926
- Co,
8927
- vo,
8928
8929
  {
8929
8930
  kind: "category",
8930
8931
  name: "%{BKY_CATEGORY_VARIABLE}",
@@ -8945,16 +8946,16 @@ const vo = {
8945
8946
  kind: "category",
8946
8947
  name: "%{BKY_CATEGORY_UI}",
8947
8948
  categorystyle: "ui_category",
8948
- custom: Zn.name
8949
+ custom: eo.name
8949
8950
  },
8950
8951
  Ha,
8952
+ yo,
8951
8953
  Io,
8954
+ Co,
8955
+ Lo,
8952
8956
  Oo,
8953
- yo,
8954
8957
  So,
8955
8958
  bo,
8956
- Co,
8957
- vo,
8958
8959
  $a,
8959
8960
  {
8960
8961
  kind: "category",
@@ -8996,7 +8997,7 @@ const pf = /* @__PURE__ */ Qe({
8996
8997
  };
8997
8998
  return Wt(() => {
8998
8999
  We.on("cleanWorkspace", o);
8999
- }), Wn(() => {
9000
+ }), Xn(() => {
9000
9001
  We.off("cleanWorkspace", o);
9001
9002
  }), (i, s) => {
9002
9003
  const a = Ae("v-btn"), r = Ae("v-tooltip");
@@ -9044,19 +9045,19 @@ const pf = /* @__PURE__ */ Qe({
9044
9045
  };
9045
9046
  }
9046
9047
  });
9047
- var ff = Object.defineProperty, eo = Object.getOwnPropertySymbols, ja = Object.prototype.hasOwnProperty, Wa = Object.prototype.propertyIsEnumerable, Ss = (e, t, n) => t in e ? ff(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ht = (e, t) => {
9048
+ var ff = Object.defineProperty, to = Object.getOwnPropertySymbols, ja = Object.prototype.hasOwnProperty, Wa = Object.prototype.propertyIsEnumerable, Ss = (e, t, n) => t in e ? ff(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ht = (e, t) => {
9048
9049
  for (var n in t || (t = {}))
9049
9050
  ja.call(t, n) && Ss(e, n, t[n]);
9050
- if (eo)
9051
- for (var n of eo(t))
9051
+ if (to)
9052
+ for (var n of to(t))
9052
9053
  Wa.call(t, n) && Ss(e, n, t[n]);
9053
9054
  return e;
9054
9055
  }, Xa = (e, t) => {
9055
9056
  var n = {};
9056
9057
  for (var o in e)
9057
9058
  ja.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
9058
- if (e != null && eo)
9059
- for (var o of eo(e))
9059
+ if (e != null && to)
9060
+ for (var o of to(e))
9060
9061
  t.indexOf(o) < 0 && Wa.call(e, o) && (n[o] = e[o]);
9061
9062
  return n;
9062
9063
  };
@@ -9151,13 +9152,13 @@ function qe(e) {
9151
9152
  }
9152
9153
  return e;
9153
9154
  }
9154
- function Yn(e) {
9155
+ function Kn(e) {
9155
9156
  "@babel/helpers - typeof";
9156
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Yn = function(t) {
9157
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Kn = function(t) {
9157
9158
  return typeof t;
9158
- } : Yn = function(t) {
9159
+ } : Kn = function(t) {
9159
9160
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
9160
- }, Yn(e);
9161
+ }, Kn(e);
9161
9162
  }
9162
9163
  function Sf(e, t, n) {
9163
9164
  return t in e ? Object.defineProperty(e, t, {
@@ -9211,7 +9212,7 @@ function W(e, t, n) {
9211
9212
  function $(e, t, n) {
9212
9213
  e.removeEventListener(t, n, !ut && Qa);
9213
9214
  }
9214
- function to(e, t) {
9215
+ function no(e, t) {
9215
9216
  if (t) {
9216
9217
  if (t[0] === ">" && (t = t.substring(1)), e)
9217
9218
  try {
@@ -9234,7 +9235,7 @@ function Ke(e, t, n, o) {
9234
9235
  if (e) {
9235
9236
  n = n || document;
9236
9237
  do {
9237
- if (t != null && (t[0] === ">" ? e.parentNode === n && to(e, t) : to(e, t)) || o && e === n)
9238
+ if (t != null && (t[0] === ">" ? e.parentNode === n && no(e, t) : no(e, t)) || o && e === n)
9238
9239
  return e;
9239
9240
  if (e === n)
9240
9241
  break;
@@ -9334,7 +9335,7 @@ function Jt(e, t, n, o) {
9334
9335
  return null;
9335
9336
  }
9336
9337
  function Pi(e, t) {
9337
- for (var n = e.lastElementChild; n && (n === R.ghost || B(n, "display") === "none" || t && !to(n, t)); )
9338
+ for (var n = e.lastElementChild; n && (n === R.ghost || B(n, "display") === "none" || t && !no(n, t)); )
9338
9339
  n = n.previousElementSibling;
9339
9340
  return n || null;
9340
9341
  }
@@ -9343,7 +9344,7 @@ function Ue(e, t) {
9343
9344
  if (!e || !e.parentNode)
9344
9345
  return -1;
9345
9346
  for (; e = e.previousElementSibling; )
9346
- e.nodeName.toUpperCase() !== "TEMPLATE" && e !== R.clone && (!t || to(e, t)) && n++;
9347
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== R.clone && (!t || no(e, t)) && n++;
9347
9348
  return n;
9348
9349
  }
9349
9350
  function Us(e) {
@@ -9561,7 +9562,7 @@ var Vf = ["evt"], Se = function(e, t) {
9561
9562
  ghostEl: M,
9562
9563
  rootEl: ae,
9563
9564
  nextEl: Ct,
9564
- lastDownEl: Kn,
9565
+ lastDownEl: Hn,
9565
9566
  cloneEl: le,
9566
9567
  cloneHidden: dt,
9567
9568
  dragStarted: nn,
@@ -9601,8 +9602,8 @@ function Ce(e) {
9601
9602
  newDraggableIndex: _t
9602
9603
  }, e));
9603
9604
  }
9604
- var T, ce, M, ae, Ct, Kn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, no = !1, oo = [], It, Ye, Wo, Xo, ws, Vs, nn, Vt, pn, dn = !1, Mn = !1, Hn, Oe, zo = [], hi = !1, io = [], Lo = typeof document < "u", Pn = Ja, Fs = On || ut ? "cssFloat" : "float", Ff = Lo && !qa && !Ja && "draggable" in document.createElement("div"), ir = function() {
9605
- if (Lo) {
9605
+ var T, ce, M, ae, Ct, Hn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, oo = !1, io = [], It, Ye, Wo, Xo, ws, Vs, nn, Vt, pn, dn = !1, Mn = !1, $n, Oe, zo = [], hi = !1, so = [], No = typeof document < "u", Pn = Ja, Fs = On || ut ? "cssFloat" : "float", Ff = No && !qa && !Ja && "draggable" in document.createElement("div"), ir = function() {
9606
+ if (No) {
9606
9607
  if (ut)
9607
9608
  return !1;
9608
9609
  var e = document.createElement("x");
@@ -9624,7 +9625,7 @@ var T, ce, M, ae, Ct, Kn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, no = !1, oo =
9624
9625
  return o === a || i === r || o + s / 2 === a + c / 2;
9625
9626
  }, Kf = function(e, t) {
9626
9627
  var n;
9627
- return oo.some(function(o) {
9628
+ return io.some(function(o) {
9628
9629
  var i = o[Pe].options.emptyInsertThreshold;
9629
9630
  if (!(!i || Pi(o))) {
9630
9631
  var s = fe(o), a = e >= s.left - i && e <= s.right + i, r = t >= s.top - i && t <= s.bottom + i;
@@ -9649,7 +9650,7 @@ var T, ce, M, ae, Ct, Kn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, no = !1, oo =
9649
9650
  };
9650
9651
  }
9651
9652
  var n = {}, o = e.group;
9652
- (!o || Yn(o) != "object") && (o = {
9653
+ (!o || Kn(o) != "object") && (o = {
9653
9654
  name: o
9654
9655
  }), n.name = o.name, n.checkPull = t(o.pull, !0), n.checkPut = t(o.put), n.revertClone = o.revertClone, e.group = n;
9655
9656
  }, rr = function() {
@@ -9657,9 +9658,9 @@ var T, ce, M, ae, Ct, Kn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, no = !1, oo =
9657
9658
  }, lr = function() {
9658
9659
  !ir && M && B(M, "display", "");
9659
9660
  };
9660
- Lo && !qa && document.addEventListener("click", function(e) {
9661
- if (no)
9662
- return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), no = !1, !1;
9661
+ No && !qa && document.addEventListener("click", function(e) {
9662
+ if (oo)
9663
+ return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), oo = !1, !1;
9663
9664
  }, !0);
9664
9665
  var yt = function(e) {
9665
9666
  if (T) {
@@ -9730,7 +9731,7 @@ function R(e, t) {
9730
9731
  ar(t);
9731
9732
  for (var i in this)
9732
9733
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
9733
- this.nativeDraggable = t.forceFallback ? !1 : Ff, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? W(e, "pointerdown", this._onTapStart) : (W(e, "mousedown", this._onTapStart), W(e, "touchstart", this._onTapStart)), this.nativeDraggable && (W(e, "dragover", this), W(e, "dragenter", this)), oo.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), lt(this, Pf());
9734
+ this.nativeDraggable = t.forceFallback ? !1 : Ff, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? W(e, "pointerdown", this._onTapStart) : (W(e, "mousedown", this._onTapStart), W(e, "touchstart", this._onTapStart)), this.nativeDraggable && (W(e, "dragover", this), W(e, "dragenter", this)), io.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), lt(this, Pf());
9734
9735
  }
9735
9736
  R.prototype = /** @lends Sortable.prototype */
9736
9737
  {
@@ -9744,7 +9745,7 @@ R.prototype = /** @lends Sortable.prototype */
9744
9745
  _onTapStart: function(e) {
9745
9746
  if (e.cancelable) {
9746
9747
  var t = this, n = this.el, o = this.options, i = o.preventOnFilter, s = e.type, a = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, r = (a || e).target, c = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || r, _ = o.filter;
9747
- if (qf(n), !T && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !c.isContentEditable && !(!this.nativeDraggable && cn && r && r.tagName.toUpperCase() === "SELECT") && (r = Ke(r, o.draggable, n, !1), !(r && r.animated) && Kn !== r)) {
9748
+ if (qf(n), !T && !(/mousedown|pointerdown/.test(s) && e.button !== 0 || o.disabled) && !c.isContentEditable && !(!this.nativeDraggable && cn && r && r.tagName.toUpperCase() === "SELECT") && (r = Ke(r, o.draggable, n, !1), !(r && r.animated) && Hn !== r)) {
9748
9749
  if ($t = Ue(r), _n = Ue(r, o.draggable), typeof _ == "function") {
9749
9750
  if (_.call(this, e, r, this)) {
9750
9751
  Ce({
@@ -9783,7 +9784,7 @@ R.prototype = /** @lends Sortable.prototype */
9783
9784
  var o = this, i = o.el, s = o.options, a = i.ownerDocument, r;
9784
9785
  if (n && !T && n.parentNode === i) {
9785
9786
  var c = fe(n);
9786
- if (ae = i, T = n, ce = T.parentNode, Ct = T.nextSibling, Kn = n, Dn = s.group, R.dragged = T, It = {
9787
+ if (ae = i, T = n, ce = T.parentNode, Ct = T.nextSibling, Hn = n, Dn = s.group, R.dragged = T, It = {
9787
9788
  target: T,
9788
9789
  clientX: (t || e).clientX,
9789
9790
  clientY: (t || e).clientY
@@ -9827,7 +9828,7 @@ R.prototype = /** @lends Sortable.prototype */
9827
9828
  _triggerDragStart: function(e, t) {
9828
9829
  t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? W(document, "pointermove", this._onTouchMove) : t ? W(document, "touchmove", this._onTouchMove) : W(document, "mousemove", this._onTouchMove) : (W(T, "dragend", this), W(ae, "dragstart", this._onDragStart));
9829
9830
  try {
9830
- document.selection ? $n(function() {
9831
+ document.selection ? Gn(function() {
9831
9832
  document.selection.empty();
9832
9833
  }) : window.getSelection().removeAllRanges();
9833
9834
  } catch {
@@ -9911,12 +9912,12 @@ R.prototype = /** @lends Sortable.prototype */
9911
9912
  this._onDrop();
9912
9913
  return;
9913
9914
  }
9914
- Se("setupClone", this), R.eventCanceled || (le = nr(T), le.removeAttribute("id"), le.draggable = !1, le.style["will-change"] = "", this._hideClone(), De(le, this.options.chosenClass, !1), R.clone = le), n.cloneId = $n(function() {
9915
+ Se("setupClone", this), R.eventCanceled || (le = nr(T), le.removeAttribute("id"), le.draggable = !1, le.style["will-change"] = "", this._hideClone(), De(le, this.options.chosenClass, !1), R.clone = le), n.cloneId = Gn(function() {
9915
9916
  Se("clone", n), !R.eventCanceled && (n.options.removeCloneOnHide || ae.insertBefore(le, T), n._hideClone(), Ce({
9916
9917
  sortable: n,
9917
9918
  name: "clone"
9918
9919
  }));
9919
- }), !t && De(T, i.dragClass, !0), t ? (no = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : ($(document, "mouseup", n._onDrop), $(document, "touchend", n._onDrop), $(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, T)), W(document, "drop", n), B(T, "transform", "translateZ(0)")), Kt = !0, n._dragStartId = $n(n._dragStarted.bind(n, t, e)), W(document, "selectstart", n), nn = !0, cn && B(document.body, "user-select", "none");
9920
+ }), !t && De(T, i.dragClass, !0), t ? (oo = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : ($(document, "mouseup", n._onDrop), $(document, "touchend", n._onDrop), $(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, T)), W(document, "drop", n), B(T, "transform", "translateZ(0)")), Kt = !0, n._dragStartId = Gn(n._dragStarted.bind(n, t, e)), W(document, "selectstart", n), nn = !0, cn && B(document.body, "user-select", "none");
9920
9921
  },
9921
9922
  // Returns true - if no further action is needed (either inserted or another condition)
9922
9923
  _onDragOver: function(e) {
@@ -9965,7 +9966,7 @@ R.prototype = /** @lends Sortable.prototype */
9965
9966
  return b;
9966
9967
  if (T.contains(e.target) || n.animated && n.animatingX && n.animatingY || g._ignoreWhileAnimating === n)
9967
9968
  return S(!1);
9968
- if (no = !1, c && !a.disabled && (_ ? p || (s = ce !== ae) : Ee === this || (this.lastPutMode = Dn.checkPull(this, c, T, e)) && r.checkPut(this, c, T, e))) {
9969
+ if (oo = !1, c && !a.disabled && (_ ? p || (s = ce !== ae) : Ee === this || (this.lastPutMode = Dn.checkPull(this, c, T, e)) && r.checkPut(this, c, T, e))) {
9969
9970
  if (f = this._getDirection(e, n) === "vertical", o = fe(T), E("dragOverValid"), R.eventCanceled)
9970
9971
  return b;
9971
9972
  if (s)
@@ -9996,11 +9997,11 @@ R.prototype = /** @lends Sortable.prototype */
9996
9997
  if (G === 0 || j === n)
9997
9998
  return S(!1);
9998
9999
  Vt = n, pn = G;
9999
- var z = n.nextElementSibling, J = !1;
10000
- J = G === 1;
10001
- var pe = xn(ae, t, T, o, n, i, e, J);
10000
+ var q = n.nextElementSibling, z = !1;
10001
+ z = G === 1;
10002
+ var pe = xn(ae, t, T, o, n, i, e, z);
10002
10003
  if (pe !== !1)
10003
- return (pe === 1 || pe === -1) && (J = pe === 1), hi = !0, setTimeout(Gf, 30), C(), J && !z ? t.appendChild(T) : n.parentNode.insertBefore(T, J ? z : n), X && tr(X, 0, ne - X.scrollTop), ce = T.parentNode, _e !== void 0 && !Mn && (Hn = Math.abs(_e - fe(n)[L])), F(), S(!0);
10004
+ return (pe === 1 || pe === -1) && (z = pe === 1), hi = !0, setTimeout(Gf, 30), C(), z && !q ? t.appendChild(T) : n.parentNode.insertBefore(T, z ? q : n), X && tr(X, 0, ne - X.scrollTop), ce = T.parentNode, _e !== void 0 && !Mn && ($n = Math.abs(_e - fe(n)[L])), F(), S(!0);
10004
10005
  }
10005
10006
  if (t.contains(T))
10006
10007
  return S(!1);
@@ -10070,9 +10071,9 @@ R.prototype = /** @lends Sortable.prototype */
10070
10071
  }), this.save()))), this._nulling();
10071
10072
  },
10072
10073
  _nulling: function() {
10073
- Se("nulling", this), ae = T = ce = M = Ct = le = Kn = dt = It = Ye = nn = Me = _t = $t = _n = Vt = pn = Ee = Dn = R.dragged = R.ghost = R.clone = R.active = null, io.forEach(function(e) {
10074
+ Se("nulling", this), ae = T = ce = M = Ct = le = Hn = dt = It = Ye = nn = Me = _t = $t = _n = Vt = pn = Ee = Dn = R.dragged = R.ghost = R.clone = R.active = null, so.forEach(function(e) {
10074
10075
  e.checked = !0;
10075
- }), io.length = Wo = Xo = 0;
10076
+ }), so.length = Wo = Xo = 0;
10076
10077
  },
10077
10078
  handleEvent: function(e) {
10078
10079
  switch (e.type) {
@@ -10148,7 +10149,7 @@ R.prototype = /** @lends Sortable.prototype */
10148
10149
  var e = this.el;
10149
10150
  e[Pe] = null, $(e, "mousedown", this._onTapStart), $(e, "touchstart", this._onTapStart), $(e, "pointerdown", this._onTapStart), this.nativeDraggable && ($(e, "dragover", this), $(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
10150
10151
  t.removeAttribute("draggable");
10151
- }), this._onDrop(), this._disableDelayedDragEvents(), oo.splice(oo.indexOf(this.el), 1), this.el = e = null;
10152
+ }), this._onDrop(), this._disableDelayedDragEvents(), io.splice(io.indexOf(this.el), 1), this.el = e = null;
10152
10153
  },
10153
10154
  _hideClone: function() {
10154
10155
  if (!dt) {
@@ -10196,10 +10197,10 @@ function Wf(e, t, n) {
10196
10197
  function Xf(e, t, n, o, i, s, a, r) {
10197
10198
  var c = o ? e.clientY : e.clientX, _ = o ? n.height : n.width, p = o ? n.top : n.left, d = o ? n.bottom : n.right, f = !1;
10198
10199
  if (!a) {
10199
- if (r && Hn < _ * i) {
10200
+ if (r && $n < _ * i) {
10200
10201
  if (!dn && (pn === 1 ? c > p + _ * s / 2 : c < d - _ * s / 2) && (dn = !0), dn)
10201
10202
  f = !0;
10202
- else if (pn === 1 ? c < p + Hn : c > d - Hn)
10203
+ else if (pn === 1 ? c < p + $n : c > d - $n)
10203
10204
  return -pn;
10204
10205
  } else if (c > p + _ * (1 - i) / 2 && c < d - _ * (1 - i) / 2)
10205
10206
  return zf(t);
@@ -10215,19 +10216,19 @@ function Jf(e) {
10215
10216
  return o.toString(36);
10216
10217
  }
10217
10218
  function qf(e) {
10218
- io.length = 0;
10219
+ so.length = 0;
10219
10220
  for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
10220
10221
  var o = t[n];
10221
- o.checked && io.push(o);
10222
+ o.checked && so.push(o);
10222
10223
  }
10223
10224
  }
10224
- function $n(e) {
10225
+ function Gn(e) {
10225
10226
  return setTimeout(e, 0);
10226
10227
  }
10227
10228
  function gi(e) {
10228
10229
  return clearTimeout(e);
10229
10230
  }
10230
- Lo && W(document, "touchmove", function(e) {
10231
+ No && W(document, "touchmove", function(e) {
10231
10232
  (R.active || Kt) && e.cancelable && e.preventDefault();
10232
10233
  });
10233
10234
  R.utils = {
@@ -10244,7 +10245,7 @@ R.utils = {
10244
10245
  toggleClass: De,
10245
10246
  clone: nr,
10246
10247
  index: Ue,
10247
- nextTick: $n,
10248
+ nextTick: Gn,
10248
10249
  cancelNextTick: gi,
10249
10250
  detectDirection: sr,
10250
10251
  getChild: Jt
@@ -10265,7 +10266,7 @@ R.create = function(e, t) {
10265
10266
  return new R(e, t);
10266
10267
  };
10267
10268
  R.version = kf;
10268
- var de = [], on, Ti, mi = !1, qo, Qo, so, sn;
10269
+ var de = [], on, Ti, mi = !1, qo, Qo, ao, sn;
10269
10270
  function Qf() {
10270
10271
  function e() {
10271
10272
  this.defaults = {
@@ -10288,26 +10289,26 @@ function Qf() {
10288
10289
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
10289
10290
  },
10290
10291
  drop: function() {
10291
- this.sortable.nativeDraggable ? $(document, "dragover", this._handleAutoScroll) : ($(document, "pointermove", this._handleFallbackAutoScroll), $(document, "touchmove", this._handleFallbackAutoScroll), $(document, "mousemove", this._handleFallbackAutoScroll)), Ys(), Gn(), Mf();
10292
+ this.sortable.nativeDraggable ? $(document, "dragover", this._handleAutoScroll) : ($(document, "pointermove", this._handleFallbackAutoScroll), $(document, "touchmove", this._handleFallbackAutoScroll), $(document, "mousemove", this._handleFallbackAutoScroll)), Ys(), jn(), Mf();
10292
10293
  },
10293
10294
  nulling: function() {
10294
- so = Ti = on = mi = sn = qo = Qo = null, de.length = 0;
10295
+ ao = Ti = on = mi = sn = qo = Qo = null, de.length = 0;
10295
10296
  },
10296
10297
  _handleFallbackAutoScroll: function(t) {
10297
10298
  this._handleAutoScroll(t, !0);
10298
10299
  },
10299
10300
  _handleAutoScroll: function(t, n) {
10300
10301
  var o = this, i = (t.touches ? t.touches[0] : t).clientX, s = (t.touches ? t.touches[0] : t).clientY, a = document.elementFromPoint(i, s);
10301
- if (so = t, n || this.options.forceAutoScrollFallback || On || ut || cn) {
10302
+ if (ao = t, n || this.options.forceAutoScrollFallback || On || ut || cn) {
10302
10303
  Zo(t, this.options, a, n);
10303
10304
  var r = gt(a, !0);
10304
10305
  mi && (!sn || i !== qo || s !== Qo) && (sn && Ys(), sn = setInterval(function() {
10305
10306
  var c = gt(document.elementFromPoint(i, s), !0);
10306
- c !== r && (r = c, Gn()), Zo(t, o.options, c, n);
10307
+ c !== r && (r = c, jn()), Zo(t, o.options, c, n);
10307
10308
  }, 10), qo = i, Qo = s);
10308
10309
  } else {
10309
10310
  if (!this.options.bubbleScroll || gt(a, !0) === ze()) {
10310
- Gn();
10311
+ jn();
10311
10312
  return;
10312
10313
  }
10313
10314
  Zo(t, this.options, gt(a, !1), !1);
@@ -10318,7 +10319,7 @@ function Qf() {
10318
10319
  initializeByDefault: !0
10319
10320
  });
10320
10321
  }
10321
- function Gn() {
10322
+ function jn() {
10322
10323
  de.forEach(function(e) {
10323
10324
  clearInterval(e.pid);
10324
10325
  }), de = [];
@@ -10329,19 +10330,19 @@ function Ys() {
10329
10330
  var Zo = er(function(e, t, n, o) {
10330
10331
  if (t.scroll) {
10331
10332
  var i = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, r = t.scrollSpeed, c = ze(), _ = !1, p;
10332
- Ti !== n && (Ti = n, Gn(), on = t.scroll, p = t.scrollFn, on === !0 && (on = gt(n, !0)));
10333
+ Ti !== n && (Ti = n, jn(), on = t.scroll, p = t.scrollFn, on === !0 && (on = gt(n, !0)));
10333
10334
  var d = 0, f = on;
10334
10335
  do {
10335
10336
  var g = f, b = fe(g), E = b.top, C = b.bottom, S = b.left, F = b.right, H = b.width, te = b.height, G = void 0, _e = void 0, Be = g.scrollWidth, N = g.scrollHeight, L = B(g), X = g.scrollLeft, ne = g.scrollTop;
10336
10337
  g === c ? (G = H < Be && (L.overflowX === "auto" || L.overflowX === "scroll" || L.overflowX === "visible"), _e = te < N && (L.overflowY === "auto" || L.overflowY === "scroll" || L.overflowY === "visible")) : (G = H < Be && (L.overflowX === "auto" || L.overflowX === "scroll"), _e = te < N && (L.overflowY === "auto" || L.overflowY === "scroll"));
10337
10338
  var j = G && (Math.abs(F - i) <= a && X + H < Be) - (Math.abs(S - i) <= a && !!X), k = _e && (Math.abs(C - s) <= a && ne + te < N) - (Math.abs(E - s) <= a && !!ne);
10338
10339
  if (!de[d])
10339
- for (var z = 0; z <= d; z++)
10340
- de[z] || (de[z] = {});
10340
+ for (var q = 0; q <= d; q++)
10341
+ de[q] || (de[q] = {});
10341
10342
  (de[d].vx != j || de[d].vy != k || de[d].el !== g) && (de[d].el = g, de[d].vx = j, de[d].vy = k, clearInterval(de[d].pid), (j != 0 || k != 0) && (_ = !0, de[d].pid = setInterval((function() {
10342
- o && this.layer === 0 && R.active._onTouchMove(so);
10343
- var J = de[this.layer].vy ? de[this.layer].vy * r : 0, pe = de[this.layer].vx ? de[this.layer].vx * r : 0;
10344
- typeof p == "function" && p.call(R.dragged.parentNode[Pe], pe, J, e, so, de[this.layer].el) !== "continue" || tr(de[this.layer].el, pe, J);
10343
+ o && this.layer === 0 && R.active._onTouchMove(ao);
10344
+ var z = de[this.layer].vy ? de[this.layer].vy * r : 0, pe = de[this.layer].vx ? de[this.layer].vx * r : 0;
10345
+ typeof p == "function" && p.call(R.dragged.parentNode[Pe], pe, z, e, ao, de[this.layer].el) !== "continue" || tr(de[this.layer].el, pe, z);
10345
10346
  }).bind({
10346
10347
  layer: d
10347
10348
  }), 24))), d++;
@@ -10397,10 +10398,10 @@ function Zf(e) {
10397
10398
  return e == null ? e : JSON.parse(JSON.stringify(e));
10398
10399
  }
10399
10400
  function eh(e) {
10400
- ro() && Yr(e);
10401
+ lo() && Yr(e);
10401
10402
  }
10402
10403
  function th(e) {
10403
- ro() ? Wt(e) : vi(e);
10404
+ lo() ? Wt(e) : vi(e);
10404
10405
  }
10405
10406
  let ur = null, _r = null;
10406
10407
  function Ks(e = null, t = null) {
@@ -10415,7 +10416,7 @@ function nh() {
10415
10416
  const Hs = Symbol("cloneElement");
10416
10417
  function oh(...e) {
10417
10418
  var t, n;
10418
- const o = (t = ro()) == null ? void 0 : t.proxy;
10419
+ const o = (t = lo()) == null ? void 0 : t.proxy;
10419
10420
  let i = null;
10420
10421
  const s = e[0];
10421
10422
  let [, a, r] = e;
@@ -10430,8 +10431,8 @@ function oh(...e) {
10430
10431
  var L;
10431
10432
  const { from: X, oldIndex: ne, item: j } = N;
10432
10433
  i = Array.from(X.childNodes);
10433
- const k = w((L = w(a)) == null ? void 0 : L[ne]), z = p(k);
10434
- Ks(k, z), j[Hs] = z;
10434
+ const k = w((L = w(a)) == null ? void 0 : L[ne]), q = p(k);
10435
+ Ks(k, q), j[Hs] = q;
10435
10436
  }
10436
10437
  function g(N) {
10437
10438
  const L = N.item[Hs];
@@ -10445,14 +10446,14 @@ function oh(...e) {
10445
10446
  }
10446
10447
  }
10447
10448
  function b(N) {
10448
- const { from: L, item: X, oldIndex: ne, oldDraggableIndex: j, pullMode: k, clone: z } = N;
10449
+ const { from: L, item: X, oldIndex: ne, oldDraggableIndex: j, pullMode: k, clone: q } = N;
10449
10450
  if (Bs(L, X, ne), k === "clone") {
10450
- $o(z);
10451
+ $o(q);
10451
10452
  return;
10452
10453
  }
10453
10454
  if (an(a)) {
10454
- const J = [...w(a)];
10455
- a.value = Ns(J, j);
10455
+ const z = [...w(a)];
10456
+ a.value = Ns(z, j);
10456
10457
  return;
10457
10458
  }
10458
10459
  Ns(w(a), j);
@@ -10473,19 +10474,19 @@ function oh(...e) {
10473
10474
  function C(N) {
10474
10475
  const { newIndex: L, oldIndex: X, from: ne, to: j } = N;
10475
10476
  let k = null;
10476
- const z = L === X && ne === j;
10477
+ const q = L === X && ne === j;
10477
10478
  try {
10478
- if (z) {
10479
- let J = null;
10479
+ if (q) {
10480
+ let z = null;
10480
10481
  i == null || i.some((pe, h) => {
10481
- if (J && (i == null ? void 0 : i.length) !== j.childNodes.length)
10482
- return ne.insertBefore(J, pe.nextSibling), !0;
10482
+ if (z && (i == null ? void 0 : i.length) !== j.childNodes.length)
10483
+ return ne.insertBefore(z, pe.nextSibling), !0;
10483
10484
  const A = j.childNodes[h];
10484
- J = j == null ? void 0 : j.replaceChild(pe, A);
10485
+ z = j == null ? void 0 : j.replaceChild(pe, A);
10485
10486
  });
10486
10487
  }
10487
- } catch (J) {
10488
- k = J;
10488
+ } catch (z) {
10489
+ k = z;
10489
10490
  } finally {
10490
10491
  i = null;
10491
10492
  }
@@ -10509,9 +10510,9 @@ function oh(...e) {
10509
10510
  var N;
10510
10511
  const L = (N = w(r)) != null ? N : {}, X = Xa(L, ["immediate", "clone"]);
10511
10512
  return Rs(X, (ne, j) => {
10512
- yf(ne) && (X[ne] = (k, ...z) => {
10513
- const J = nh();
10514
- return Cf(k, J), j(k, ...z);
10513
+ yf(ne) && (X[ne] = (k, ...q) => {
10514
+ const z = nh();
10515
+ return Cf(k, z), j(k, ...q);
10515
10516
  });
10516
10517
  }), Of(
10517
10518
  a === null ? {} : S,
@@ -10639,7 +10640,7 @@ const Ei = [
10639
10640
  },
10640
10641
  emits: ["x-click"],
10641
10642
  setup(e, { emit: t }) {
10642
- const { primaryColor: n, backgroundColor2: o, highlightColor: i } = _o(), s = e, a = t, r = At(!1), c = Te(() => ({
10643
+ const { primaryColor: n, backgroundColor2: o, highlightColor: i } = po(), s = e, a = t, r = At(!1), c = Te(() => ({
10643
10644
  position: "relative",
10644
10645
  background: r.value ? i.value : o.value,
10645
10646
  height: "48px",
@@ -10664,7 +10665,7 @@ const Ei = [
10664
10665
  onMouseover: d[2] || (d[2] = (E) => r.value = !0),
10665
10666
  onMouseout: d[3] || (d[3] = (E) => r.value = !1)
10666
10667
  }, [
10667
- He("span", ah, lo(s.title), 1),
10668
+ He("span", ah, co(s.title), 1),
10668
10669
  ge(f),
10669
10670
  ge(g, {
10670
10671
  class: "x-handle cursor-move mr-3",
@@ -10713,7 +10714,7 @@ const Ei = [
10713
10714
  };
10714
10715
  Wt(() => {
10715
10716
  We.on("codeUpdate", i);
10716
- }), Wn(() => {
10717
+ }), Xn(() => {
10717
10718
  We.off("codeUpdate", i);
10718
10719
  });
10719
10720
  let s = [];
@@ -10749,7 +10750,7 @@ const Ei = [
10749
10750
  E !== "" && (C = f.getBlockById(E).getRelativeToSurfaceXY().y + 10);
10750
10751
  const S = b.getRelativeToSurfaceXY();
10751
10752
  b.moveTo(new I.Coordinate(S.x, C)), We.emit("cleanWorkspace"), Fa();
10752
- }, { open: _ } = po("blocklyNavigatorDlg"), p = async (d) => {
10753
+ }, { open: _ } = fo("blocklyNavigatorDlg"), p = async (d) => {
10753
10754
  const f = Et();
10754
10755
  if (!f) {
10755
10756
  console.assert(!1);
@@ -10779,7 +10780,7 @@ const Ei = [
10779
10780
  }, null, 8, ["id", "title", "select"]))), 128))
10780
10781
  ]),
10781
10782
  _: 1
10782
- }, 8, ["modelValue"])) : (he(), mt("span", lh, lo(w(t)("x-block-lib.noOption")), 1));
10783
+ }, 8, ["modelValue"])) : (he(), mt("span", lh, co(w(t)("x-block-lib.noOption")), 1));
10783
10784
  }
10784
10785
  }), pr = (e, t) => {
10785
10786
  const n = e.__vccOpts || e;
@@ -10797,7 +10798,7 @@ const dh = /* @__PURE__ */ pr(_h, [["render", ph]]), fh = { class: "text-subtitl
10797
10798
  lock: { type: Boolean }
10798
10799
  },
10799
10800
  setup(e) {
10800
- const { t } = En(), n = al(), { sysBarAvail: o } = aa(), { backgroundColor1: i } = _o(), s = e, a = Te(() => {
10801
+ const { t } = En(), n = al(), { sysBarAvail: o } = aa(), { backgroundColor1: i } = po(), s = e, a = Te(() => {
10801
10802
  let p = "100%";
10802
10803
  return n.mdAndUp.value && (p = "400px"), {
10803
10804
  background: i.value,
@@ -10813,7 +10814,7 @@ const dh = /* @__PURE__ */ pr(_h, [["render", ph]]), fh = { class: "text-subtitl
10813
10814
  };
10814
10815
  }), c = Te(() => ({
10815
10816
  height: "60px"
10816
- })), { open: _ } = po("blocklyNavigatorDlg");
10817
+ })), { open: _ } = fo("blocklyNavigatorDlg");
10817
10818
  return (p, d) => {
10818
10819
  const f = Ae("v-sheet"), g = Ae("v-icon"), b = Ae("v-dialog"), E = Ae("v-btn"), C = Ae("v-tooltip");
10819
10820
  return he(), mt(ea, null, [
@@ -10852,7 +10853,7 @@ const dh = /* @__PURE__ */ pr(_h, [["render", ph]]), fh = { class: "text-subtitl
10852
10853
  icon: w(Ga),
10853
10854
  onClick: d[0] || (d[0] = (S) => _.value = !1)
10854
10855
  }, null, 8, ["icon"]),
10855
- He("span", fh, lo(w(t)("x-block-lib.navigator")), 1)
10856
+ He("span", fh, co(w(t)("x-block-lib.navigator")), 1)
10856
10857
  ]),
10857
10858
  _: 1
10858
10859
  }),
@@ -10929,7 +10930,7 @@ function mh(e, t, n) {
10929
10930
  function o({ name: i, callback: s }) {
10930
10931
  e.registerToolboxCategoryCallback(i, () => s(t));
10931
10932
  }
10932
- t === "page" || t === "comp" ? n === "v1" && (o(Zn), o(ht), o(ft)) : t === "func" ? n === "v1" && (o(Qn), o(qn), o(Jn), o(ht), o(ft)) : t === "flow" && n === "v1" && (o(qn), o(Qn), o(Jn), o(ht), o(ft));
10933
+ t === "page" || t === "comp" ? n === "v1" && (o(eo), o(ht), o(ft)) : t === "func" ? n === "v1" && (o(Zn), o(Qn), o(qn), o(ht), o(ft)) : t === "flow" && n === "v1" && (o(Qn), o(Zn), o(qn), o(ht), o(ft));
10933
10934
  }
10934
10935
  function Eh(e) {
10935
10936
  const { router: t } = Q.base;
@@ -10985,7 +10986,7 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
10985
10986
  width: "56px",
10986
10987
  height: "calc(100% - 1px)",
10987
10988
  zIndex: 999
10988
- })), { open: C } = po("blocklyEditorFlyout");
10989
+ })), { open: C } = fo("blocklyEditorFlyout");
10989
10990
  Wt(async () => {
10990
10991
  if (!_.value) {
10991
10992
  console.assert(!1);
@@ -10993,12 +10994,12 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
10993
10994
  }
10994
10995
  await Cs(i.value), p = gh(_.value, r.type, r.version), p.addChangeListener(V.disableOrphans), p.addChangeListener(S);
10995
10996
  const k = document.querySelector("#blocklyEditor .blocklyFlyout");
10996
- new MutationObserver((J) => {
10997
- J.forEach((pe) => {
10997
+ new MutationObserver((z) => {
10998
+ z.forEach((pe) => {
10998
10999
  pe.type === "attributes" && pe.attributeName === "style" && (C.value = p.getFlyout().isVisible());
10999
11000
  });
11000
11001
  }).observe(k, { attributes: !0 }), C.value = p.getFlyout().isVisible(), G(), _e(), await vi(), c("ready");
11001
- }), Wn(() => {
11002
+ }), Xn(() => {
11002
11003
  C.value = !1;
11003
11004
  }), pl(_, () => {
11004
11005
  p && el(p);
@@ -11047,21 +11048,20 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
11047
11048
  };
11048
11049
  return Wt(() => {
11049
11050
  window.addEventListener("keydown", L, !1);
11050
- }), Wn(() => {
11051
+ }), Xn(() => {
11051
11052
  window.addEventListener("keydown", L, !1);
11052
11053
  }), pt(i, (k) => {
11053
11054
  Cs(k);
11054
11055
  }), pt(o, (k) => {
11055
11056
  tf(k ? "dark" : "light");
11056
11057
  }), pt(C, (k) => {
11057
- var z;
11058
- k || (z = p.getToolbox()) == null || z.clearSelection();
11058
+ k || p.hideChaff();
11059
11059
  }), pt(s, () => {
11060
11060
  G();
11061
11061
  }), pt(a, () => {
11062
11062
  _e();
11063
- }), t({ loading: d, load: F, save: H, generateCode: te, fireStateChange: N }), (k, z) => {
11064
- const J = Ae("x-loading");
11063
+ }), t({ loading: d, load: F, save: H, generateCode: te, fireStateChange: N }), (k, q) => {
11064
+ const z = Ae("x-loading");
11065
11065
  return he(), mt("div", Ah, [
11066
11066
  He("div", {
11067
11067
  id: "blocklyEditor",
@@ -11076,7 +11076,7 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
11076
11076
  ge(pf, { lock: s.value }, null, 8, ["lock"]),
11077
11077
  ge(df, {
11078
11078
  modelValue: s.value,
11079
- "onUpdate:modelValue": z[0] || (z[0] = (pe) => s.value = pe)
11079
+ "onUpdate:modelValue": q[0] || (q[0] = (pe) => s.value = pe)
11080
11080
  }, null, 8, ["modelValue"]),
11081
11081
  ge(hh, {
11082
11082
  type: f.value,
@@ -11091,7 +11091,7 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
11091
11091
  key: 1,
11092
11092
  style: ot(E.value)
11093
11093
  }, null, 4)) : Gt("", !0),
11094
- d.value ? (he(), $e(J, {
11094
+ d.value ? (he(), $e(z, {
11095
11095
  key: 2,
11096
11096
  "z-index": 99
11097
11097
  })) : Gt("", !0)
@@ -11368,7 +11368,7 @@ const Bh = /\b\B/, Tr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", mr = "\\b\\d+(\\.\
11368
11368
  contains: [mn]
11369
11369
  }, xh = {
11370
11370
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
11371
- }, No = function(e, t, n = {}) {
11371
+ }, ko = function(e, t, n = {}) {
11372
11372
  const o = Tt(
11373
11373
  {
11374
11374
  scope: "comment",
@@ -11434,7 +11434,7 @@ const Bh = /\b\B/, Tr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", mr = "\\b\\d+(\\.\
11434
11434
  // look for 3 words in a row
11435
11435
  }
11436
11436
  ), o;
11437
- }, Uh = No("//", "$"), wh = No("/\\*", "\\*/"), Vh = No("#", "$"), Fh = {
11437
+ }, Uh = ko("//", "$"), wh = ko("/\\*", "\\*/"), Vh = ko("#", "$"), Fh = {
11438
11438
  scope: "number",
11439
11439
  begin: mr,
11440
11440
  relevance: 0
@@ -11492,7 +11492,7 @@ var Un = /* @__PURE__ */ Object.freeze({
11492
11492
  BACKSLASH_ESCAPE: mn,
11493
11493
  BINARY_NUMBER_MODE: Kh,
11494
11494
  BINARY_NUMBER_RE: Ar,
11495
- COMMENT: No,
11495
+ COMMENT: ko,
11496
11496
  C_BLOCK_COMMENT_MODE: wh,
11497
11497
  C_LINE_COMMENT_MODE: Uh,
11498
11498
  C_NUMBER_MODE: Yh,
@@ -11589,7 +11589,7 @@ const Xs = {}, Lt = (e) => {
11589
11589
  console.log(`WARN: ${e}`, ...t);
11590
11590
  }, Ft = (e, t) => {
11591
11591
  Xs[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), Xs[`${e}/${t}`] = !0);
11592
- }, ao = new Error();
11592
+ }, ro = new Error();
11593
11593
  function br(e, t, { key: n }) {
11594
11594
  let o = 0;
11595
11595
  const i = e[n], s = {}, a = {};
@@ -11600,18 +11600,18 @@ function br(e, t, { key: n }) {
11600
11600
  function sg(e) {
11601
11601
  if (Array.isArray(e.begin)) {
11602
11602
  if (e.skip || e.excludeBegin || e.returnBegin)
11603
- throw Lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ao;
11603
+ throw Lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ro;
11604
11604
  if (typeof e.beginScope != "object" || e.beginScope === null)
11605
- throw Lt("beginScope must be object"), ao;
11605
+ throw Lt("beginScope must be object"), ro;
11606
11606
  br(e, e.begin, { key: "beginScope" }), e.begin = Fi(e.begin, { joinWith: "" });
11607
11607
  }
11608
11608
  }
11609
11609
  function ag(e) {
11610
11610
  if (Array.isArray(e.end)) {
11611
11611
  if (e.skip || e.excludeEnd || e.returnEnd)
11612
- throw Lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ao;
11612
+ throw Lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ro;
11613
11613
  if (typeof e.endScope != "object" || e.endScope === null)
11614
- throw Lt("endScope must be object"), ao;
11614
+ throw Lt("endScope must be object"), ro;
11615
11615
  br(e, e.end, { key: "endScope" }), e.end = Fi(e.end, { joinWith: "" });
11616
11616
  }
11617
11617
  }
@@ -11776,17 +11776,17 @@ const ei = fr, Js = Tt, qs = Symbol("nomatch"), dg = 7, Ir = function(e) {
11776
11776
  let Y = "", se = "";
11777
11777
  typeof A == "object" ? (Y = h, D = A.ignoreIllegals, se = A.language) : (Ft("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ft("10.7.0", `Please use highlight(code, options) instead.
11778
11778
  https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D === void 0 && (D = !0);
11779
- const Ie = {
11779
+ const ye = {
11780
11780
  code: Y,
11781
11781
  language: se
11782
11782
  };
11783
- J("before:highlight", Ie);
11784
- const Ve = Ie.result ? Ie.result : d(Ie.language, Ie.code, D);
11785
- return Ve.code = Ie.code, J("after:highlight", Ve), Ve;
11783
+ z("before:highlight", ye);
11784
+ const Ve = ye.result ? ye.result : d(ye.language, ye.code, D);
11785
+ return Ve.code = ye.code, z("after:highlight", Ve), Ve;
11786
11786
  }
11787
11787
  function d(h, A, D, Y) {
11788
11788
  const se = /* @__PURE__ */ Object.create(null);
11789
- function Ie(m, y) {
11789
+ function ye(m, y) {
11790
11790
  return m.keywords[y];
11791
11791
  }
11792
11792
  function Ve() {
@@ -11799,10 +11799,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11799
11799
  let y = P.keywordPatternRe.exec(oe), x = "";
11800
11800
  for (; y; ) {
11801
11801
  x += oe.substring(m, y.index);
11802
- const q = je.case_insensitive ? y[0].toLowerCase() : y[0], be = Ie(P, q);
11802
+ const J = je.case_insensitive ? y[0].toLowerCase() : y[0], be = ye(P, J);
11803
11803
  if (be) {
11804
11804
  const [tt, Dr] = be;
11805
- if (me.addText(x), x = "", se[q] = (se[q] || 0) + 1, se[q] <= dg && (Sn += Dr), tt.startsWith("_"))
11805
+ if (me.addText(x), x = "", se[J] = (se[J] || 0) + 1, se[J] <= dg && (Sn += Dr), tt.startsWith("_"))
11806
11806
  x += y[0];
11807
11807
  else {
11808
11808
  const Mr = je.classNameAliases[tt] || tt;
@@ -11836,8 +11836,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11836
11836
  }
11837
11837
  function Ki(m, y) {
11838
11838
  let x = 1;
11839
- const q = y.length - 1;
11840
- for (; x <= q; ) {
11839
+ const J = y.length - 1;
11840
+ for (; x <= J; ) {
11841
11841
  if (!m._emit[x]) {
11842
11842
  x++;
11843
11843
  continue;
@@ -11850,13 +11850,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11850
11850
  return m.scope && typeof m.scope == "string" && me.openNode(je.classNameAliases[m.scope] || m.scope), m.beginScope && (m.beginScope._wrap ? (Ge(oe, je.classNameAliases[m.beginScope._wrap] || m.beginScope._wrap), oe = "") : m.beginScope._multi && (Ki(m.beginScope, y), oe = "")), P = Object.create(m, { parent: { value: P } }), P;
11851
11851
  }
11852
11852
  function $i(m, y, x) {
11853
- let q = Nh(m.endRe, x);
11854
- if (q) {
11853
+ let J = Nh(m.endRe, x);
11854
+ if (J) {
11855
11855
  if (m["on:end"]) {
11856
11856
  const be = new Gs(m);
11857
- m["on:end"](y, be), be.isMatchIgnored && (q = !1);
11857
+ m["on:end"](y, be), be.isMatchIgnored && (J = !1);
11858
11858
  }
11859
- if (q) {
11859
+ if (J) {
11860
11860
  for (; m.endsParent && m.parent; )
11861
11861
  m = m.parent;
11862
11862
  return m;
@@ -11866,25 +11866,25 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11866
11866
  return $i(m.parent, y, x);
11867
11867
  }
11868
11868
  function Lr(m) {
11869
- return P.matcher.regexIndex === 0 ? (oe += m[0], 1) : (Ro = !0, 0);
11869
+ return P.matcher.regexIndex === 0 ? (oe += m[0], 1) : (Do = !0, 0);
11870
11870
  }
11871
11871
  function Nr(m) {
11872
- const y = m[0], x = m.rule, q = new Gs(x), be = [x.__beforeBegin, x["on:begin"]];
11872
+ const y = m[0], x = m.rule, J = new Gs(x), be = [x.__beforeBegin, x["on:begin"]];
11873
11873
  for (const tt of be)
11874
- if (tt && (tt(m, q), q.isMatchIgnored))
11874
+ if (tt && (tt(m, J), J.isMatchIgnored))
11875
11875
  return Lr(y);
11876
11876
  return x.skip ? oe += y : (x.excludeBegin && (oe += y), Re(), !x.returnBegin && !x.excludeBegin && (oe = y)), Hi(x, m), x.returnBegin ? 0 : y.length;
11877
11877
  }
11878
11878
  function kr(m) {
11879
- const y = m[0], x = A.substring(m.index), q = $i(P, m, x);
11880
- if (!q)
11879
+ const y = m[0], x = A.substring(m.index), J = $i(P, m, x);
11880
+ if (!J)
11881
11881
  return qs;
11882
11882
  const be = P;
11883
11883
  P.endScope && P.endScope._wrap ? (Re(), Ge(y, P.endScope._wrap)) : P.endScope && P.endScope._multi ? (Re(), Ki(P.endScope, m)) : be.skip ? oe += y : (be.returnEnd || be.excludeEnd || (oe += y), Re(), be.excludeEnd && (oe = y));
11884
11884
  do
11885
11885
  P.scope && me.closeNode(), !P.skip && !P.subLanguage && (Sn += P.relevance), P = P.parent;
11886
- while (P !== q.parent);
11887
- return q.starts && Hi(q.starts, m), be.returnEnd ? 0 : y.length;
11886
+ while (P !== J.parent);
11887
+ return J.starts && Hi(J.starts, m), be.returnEnd ? 0 : y.length;
11888
11888
  }
11889
11889
  function Br() {
11890
11890
  const m = [];
@@ -11899,24 +11899,24 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11899
11899
  return Re(), 0;
11900
11900
  if (Cn.type === "begin" && y.type === "end" && Cn.index === y.index && x === "") {
11901
11901
  if (oe += A.slice(y.index, y.index + 1), !i) {
11902
- const q = new Error(`0 width match regex (${h})`);
11903
- throw q.languageName = h, q.badRule = Cn.rule, q;
11902
+ const J = new Error(`0 width match regex (${h})`);
11903
+ throw J.languageName = h, J.badRule = Cn.rule, J;
11904
11904
  }
11905
11905
  return 1;
11906
11906
  }
11907
11907
  if (Cn = y, y.type === "begin")
11908
11908
  return Nr(y);
11909
11909
  if (y.type === "illegal" && !D) {
11910
- const q = new Error('Illegal lexeme "' + x + '" for mode "' + (P.scope || "<unnamed>") + '"');
11911
- throw q.mode = P, q;
11910
+ const J = new Error('Illegal lexeme "' + x + '" for mode "' + (P.scope || "<unnamed>") + '"');
11911
+ throw J.mode = P, J;
11912
11912
  } else if (y.type === "end") {
11913
- const q = kr(y);
11914
- if (q !== qs)
11915
- return q;
11913
+ const J = kr(y);
11914
+ if (J !== qs)
11915
+ return J;
11916
11916
  }
11917
11917
  if (y.type === "illegal" && x === "")
11918
11918
  return 1;
11919
- if (Bo > 1e5 && Bo > y.index * 3)
11919
+ if (Ro > 1e5 && Ro > y.index * 3)
11920
11920
  throw new Error("potential infinite loop, way more iterations than matches");
11921
11921
  return oe += x, x.length;
11922
11922
  }
@@ -11924,16 +11924,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11924
11924
  if (!je)
11925
11925
  throw Lt(s.replace("{}", h)), new Error('Unknown language: "' + h + '"');
11926
11926
  const Rr = cg(je);
11927
- let ko = "", P = Y || Rr;
11927
+ let Bo = "", P = Y || Rr;
11928
11928
  const ji = {}, me = new r.__emitter(r);
11929
11929
  Br();
11930
- let oe = "", Sn = 0, Ot = 0, Bo = 0, Ro = !1;
11930
+ let oe = "", Sn = 0, Ot = 0, Ro = 0, Do = !1;
11931
11931
  try {
11932
11932
  if (je.__emitTokens)
11933
11933
  je.__emitTokens(A, me);
11934
11934
  else {
11935
11935
  for (P.matcher.considerAll(); ; ) {
11936
- Bo++, Ro ? Ro = !1 : P.matcher.considerAll(), P.matcher.lastIndex = Ot;
11936
+ Ro++, Do ? Do = !1 : P.matcher.considerAll(), P.matcher.lastIndex = Ot;
11937
11937
  const m = P.matcher.exec(A);
11938
11938
  if (!m) break;
11939
11939
  const y = A.substring(Ot, m.index), x = Gi(y, m);
@@ -11941,9 +11941,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11941
11941
  }
11942
11942
  Gi(A.substring(Ot));
11943
11943
  }
11944
- return me.finalize(), ko = me.toHTML(), {
11944
+ return me.finalize(), Bo = me.toHTML(), {
11945
11945
  language: h,
11946
- value: ko,
11946
+ value: Bo,
11947
11947
  relevance: Sn,
11948
11948
  illegal: !1,
11949
11949
  _emitter: me,
@@ -11961,7 +11961,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11961
11961
  index: Ot,
11962
11962
  context: A.slice(Ot - 100, Ot + 100),
11963
11963
  mode: m.mode,
11964
- resultSoFar: ko
11964
+ resultSoFar: Bo
11965
11965
  },
11966
11966
  _emitter: me
11967
11967
  };
@@ -12003,7 +12003,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12003
12003
  return -1;
12004
12004
  }
12005
12005
  return 0;
12006
- }), [Ie, Ve] = se, yn = Ie;
12006
+ }), [ye, Ve] = se, yn = ye;
12007
12007
  return yn.secondBest = Ve, yn;
12008
12008
  }
12009
12009
  function b(h, A, D) {
@@ -12014,7 +12014,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12014
12014
  let A = null;
12015
12015
  const D = _(h);
12016
12016
  if (c(D)) return;
12017
- if (J(
12017
+ if (z(
12018
12018
  "before:highlightElement",
12019
12019
  { el: h, language: D }
12020
12020
  ), h.dataset.highlighted) {
@@ -12036,7 +12036,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12036
12036
  }, se.secondBest && (h.secondBest = {
12037
12037
  language: se.secondBest.language,
12038
12038
  relevance: se.secondBest.relevance
12039
- }), J("after:highlightElement", { el: h, result: se, text: Y });
12039
+ }), z("after:highlightElement", { el: h, result: se, text: Y });
12040
12040
  }
12041
12041
  function C(h) {
12042
12042
  r = Js(r, h);
@@ -12106,11 +12106,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12106
12106
  function k(h) {
12107
12107
  j(h), o.push(h);
12108
12108
  }
12109
- function z(h) {
12109
+ function q(h) {
12110
12110
  const A = o.indexOf(h);
12111
12111
  A !== -1 && o.splice(A, 1);
12112
12112
  }
12113
- function J(h, A) {
12113
+ function z(h, A) {
12114
12114
  const D = h;
12115
12115
  o.forEach(function(Y) {
12116
12116
  Y[D] && Y[D](A);
@@ -12137,7 +12137,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12137
12137
  autoDetection: ne,
12138
12138
  inherit: Js,
12139
12139
  addPlugin: k,
12140
- removePlugin: z
12140
+ removePlugin: q
12141
12141
  }), e.debugMode = function() {
12142
12142
  i = !1;
12143
12143
  }, e.safeMode = function() {
@@ -12157,7 +12157,7 @@ qt.newInstance = () => Ir({});
12157
12157
  var fg = qt;
12158
12158
  qt.HighlightJS = qt;
12159
12159
  qt.default = qt;
12160
- const jn = /* @__PURE__ */ tl(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12160
+ const Wn = /* @__PURE__ */ tl(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12161
12161
  "as",
12162
12162
  // for exports
12163
12163
  "in",
@@ -12329,13 +12329,13 @@ function Eg(e) {
12329
12329
  return;
12330
12330
  }
12331
12331
  se === ">" && (n(A, { after: Y }) || D.ignoreMatch());
12332
- let Ie;
12332
+ let ye;
12333
12333
  const Ve = A.input.substring(Y);
12334
- if (Ie = Ve.match(/^\s*=/)) {
12334
+ if (ye = Ve.match(/^\s*=/)) {
12335
12335
  D.ignoreMatch();
12336
12336
  return;
12337
12337
  }
12338
- if ((Ie = Ve.match(/^\s+extends\s+/)) && Ie.index === 0) {
12338
+ if ((ye = Ve.match(/^\s+extends\s+/)) && ye.index === 0) {
12339
12339
  D.ignoreMatch();
12340
12340
  return;
12341
12341
  }
@@ -12609,7 +12609,7 @@ function Eg(e) {
12609
12609
  ),
12610
12610
  className: "title.function",
12611
12611
  relevance: 0
12612
- }, z = {
12612
+ }, q = {
12613
12613
  begin: t.concat(/\./, t.lookahead(
12614
12614
  t.concat(o, /(?![0-9A-Za-z$_(])/)
12615
12615
  )),
@@ -12618,7 +12618,7 @@ function Eg(e) {
12618
12618
  keywords: "prototype",
12619
12619
  className: "property",
12620
12620
  relevance: 0
12621
- }, J = {
12621
+ }, z = {
12622
12622
  match: [
12623
12623
  /get|set/,
12624
12624
  /\s+/,
@@ -12786,7 +12786,7 @@ function Eg(e) {
12786
12786
  match: /\.\.\./,
12787
12787
  relevance: 0
12788
12788
  },
12789
- z,
12789
+ q,
12790
12790
  // hack: prevents detection of keywords in some circumstances
12791
12791
  // .keyword()
12792
12792
  // $keyword = x
@@ -12802,7 +12802,7 @@ function Eg(e) {
12802
12802
  k,
12803
12803
  ne,
12804
12804
  Be,
12805
- J,
12805
+ z,
12806
12806
  {
12807
12807
  match: /\$[(.]/
12808
12808
  // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
@@ -12820,7 +12820,7 @@ var Zs = Qe({ props: { code: { type: String, required: !0 }, language: { type: S
12820
12820
  var n = Te(function() {
12821
12821
  return e.autodetect || !t.value;
12822
12822
  }), o = Te(function() {
12823
- return !n.value && !jn.getLanguage(t.value);
12823
+ return !n.value && !Wn.getLanguage(t.value);
12824
12824
  });
12825
12825
  return { className: Te(function() {
12826
12826
  return o.value ? "" : "hljs " + t.value;
@@ -12828,10 +12828,10 @@ var Zs = Qe({ props: { code: { type: String, required: !0 }, language: { type: S
12828
12828
  var i;
12829
12829
  if (o.value) return console.warn('The language "' + t.value + '" you specified could not be found.'), e.code.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
12830
12830
  if (n.value) {
12831
- var s = jn.highlightAuto(e.code);
12831
+ var s = Wn.highlightAuto(e.code);
12832
12832
  return t.value = (i = s.language) !== null && i !== void 0 ? i : "", s.value;
12833
12833
  }
12834
- return (s = jn.highlight(e.code, { language: t.value, ignoreIllegals: e.ignoreIllegals })).value;
12834
+ return (s = Wn.highlight(e.code, { language: t.value, ignoreIllegals: e.ignoreIllegals })).value;
12835
12835
  }) };
12836
12836
  }, render: function() {
12837
12837
  return ni("pre", {}, [ni("code", { class: this.className, innerHTML: this.highlightedCode })]);
@@ -12845,8 +12845,8 @@ const vg = /* @__PURE__ */ Qe({
12845
12845
  },
12846
12846
  setup(e) {
12847
12847
  const t = e;
12848
- jn.registerLanguage("javascript", Eg);
12849
- const n = Ag.component, { backgroundColor2: o } = _o();
12848
+ Wn.registerLanguage("javascript", Eg);
12849
+ const n = Ag.component, { backgroundColor2: o } = po();
12850
12850
  return (i, s) => {
12851
12851
  const a = Ae("v-sheet");
12852
12852
  return he(), $e(a, {
@@ -12867,7 +12867,7 @@ const vg = /* @__PURE__ */ Qe({
12867
12867
  }), bg = { class: "text-subtitle-1 ml-3" }, Og = /* @__PURE__ */ Qe({
12868
12868
  __name: "index",
12869
12869
  setup(e) {
12870
- const { t } = En(), { sysBarAvail: n } = aa(), { backgroundColor0: o, backgroundColor2: i } = _o(), s = At(""), a = Te(() => {
12870
+ const { t } = En(), { sysBarAvail: n } = aa(), { backgroundColor0: o, backgroundColor2: i } = po(), s = At(""), a = Te(() => {
12871
12871
  let _ = 48;
12872
12872
  return n.value && (_ += 24), {
12873
12873
  position: "relative",
@@ -12876,7 +12876,7 @@ const vg = /* @__PURE__ */ Qe({
12876
12876
  };
12877
12877
  }), r = (_) => {
12878
12878
  s.value = _.code;
12879
- }, { open: c } = po("sourceDlg", r);
12879
+ }, { open: c } = fo("sourceDlg", r);
12880
12880
  return (_, p) => {
12881
12881
  const d = Ae("v-sheet"), f = Ae("v-icon"), g = Ae("v-spacer"), b = Ae("v-dialog");
12882
12882
  return he(), $e(b, {
@@ -12910,7 +12910,7 @@ const vg = /* @__PURE__ */ Qe({
12910
12910
  icon: w(Ga),
12911
12911
  onClick: p[0] || (p[0] = (E) => c.value = !1)
12912
12912
  }, null, 8, ["icon"]),
12913
- He("span", bg, lo(w(t)("x-block-lib.dlg.source.title")), 1),
12913
+ He("span", bg, co(w(t)("x-block-lib.dlg.source.title")), 1),
12914
12914
  ge(g)
12915
12915
  ]),
12916
12916
  _: 1