x-block-lib 0.5.5 → 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.
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-cc5ny7z2.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)
@@ -10000,7 +10001,7 @@ R.prototype = /** @lends Sortable.prototype */
10000
10001
  z = G === 1;
10001
10002
  var pe = xn(ae, t, T, o, n, i, e, z);
10002
10003
  if (pe !== !1)
10003
- 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 && (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,7 +10330,7 @@ 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;
@@ -10339,9 +10340,9 @@ var Zo = er(function(e, t, n, o) {
10339
10340
  for (var q = 0; q <= d; q++)
10340
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
+ o && this.layer === 0 && R.active._onTouchMove(ao);
10343
10344
  var z = 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, z, e, so, de[this.layer].el) !== "continue" || tr(de[this.layer].el, pe, z);
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;
@@ -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);
@@ -10998,7 +10999,7 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
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,7 +11048,7 @@ 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);
@@ -11367,7 +11368,7 @@ const Bh = /\b\B/, Tr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", mr = "\\b\\d+(\\.\
11367
11368
  contains: [mn]
11368
11369
  }, xh = {
11369
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/
11370
- }, No = function(e, t, n = {}) {
11371
+ }, ko = function(e, t, n = {}) {
11371
11372
  const o = Tt(
11372
11373
  {
11373
11374
  scope: "comment",
@@ -11433,7 +11434,7 @@ const Bh = /\b\B/, Tr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", mr = "\\b\\d+(\\.\
11433
11434
  // look for 3 words in a row
11434
11435
  }
11435
11436
  ), o;
11436
- }, Uh = No("//", "$"), wh = No("/\\*", "\\*/"), Vh = No("#", "$"), Fh = {
11437
+ }, Uh = ko("//", "$"), wh = ko("/\\*", "\\*/"), Vh = ko("#", "$"), Fh = {
11437
11438
  scope: "number",
11438
11439
  begin: mr,
11439
11440
  relevance: 0
@@ -11491,7 +11492,7 @@ var Un = /* @__PURE__ */ Object.freeze({
11491
11492
  BACKSLASH_ESCAPE: mn,
11492
11493
  BINARY_NUMBER_MODE: Kh,
11493
11494
  BINARY_NUMBER_RE: Ar,
11494
- COMMENT: No,
11495
+ COMMENT: ko,
11495
11496
  C_BLOCK_COMMENT_MODE: wh,
11496
11497
  C_LINE_COMMENT_MODE: Uh,
11497
11498
  C_NUMBER_MODE: Yh,
@@ -11588,7 +11589,7 @@ const Xs = {}, Lt = (e) => {
11588
11589
  console.log(`WARN: ${e}`, ...t);
11589
11590
  }, Ft = (e, t) => {
11590
11591
  Xs[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), Xs[`${e}/${t}`] = !0);
11591
- }, ao = new Error();
11592
+ }, ro = new Error();
11592
11593
  function br(e, t, { key: n }) {
11593
11594
  let o = 0;
11594
11595
  const i = e[n], s = {}, a = {};
@@ -11599,18 +11600,18 @@ function br(e, t, { key: n }) {
11599
11600
  function sg(e) {
11600
11601
  if (Array.isArray(e.begin)) {
11601
11602
  if (e.skip || e.excludeBegin || e.returnBegin)
11602
- throw Lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ao;
11603
+ throw Lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ro;
11603
11604
  if (typeof e.beginScope != "object" || e.beginScope === null)
11604
- throw Lt("beginScope must be object"), ao;
11605
+ throw Lt("beginScope must be object"), ro;
11605
11606
  br(e, e.begin, { key: "beginScope" }), e.begin = Fi(e.begin, { joinWith: "" });
11606
11607
  }
11607
11608
  }
11608
11609
  function ag(e) {
11609
11610
  if (Array.isArray(e.end)) {
11610
11611
  if (e.skip || e.excludeEnd || e.returnEnd)
11611
- throw Lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ao;
11612
+ throw Lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ro;
11612
11613
  if (typeof e.endScope != "object" || e.endScope === null)
11613
- throw Lt("endScope must be object"), ao;
11614
+ throw Lt("endScope must be object"), ro;
11614
11615
  br(e, e.end, { key: "endScope" }), e.end = Fi(e.end, { joinWith: "" });
11615
11616
  }
11616
11617
  }
@@ -11775,17 +11776,17 @@ const ei = fr, Js = Tt, qs = Symbol("nomatch"), dg = 7, Ir = function(e) {
11775
11776
  let Y = "", se = "";
11776
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.
11777
11778
  https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D === void 0 && (D = !0);
11778
- const Ie = {
11779
+ const ye = {
11779
11780
  code: Y,
11780
11781
  language: se
11781
11782
  };
11782
- z("before:highlight", Ie);
11783
- const Ve = Ie.result ? Ie.result : d(Ie.language, Ie.code, D);
11784
- return Ve.code = Ie.code, z("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;
11785
11786
  }
11786
11787
  function d(h, A, D, Y) {
11787
11788
  const se = /* @__PURE__ */ Object.create(null);
11788
- function Ie(m, y) {
11789
+ function ye(m, y) {
11789
11790
  return m.keywords[y];
11790
11791
  }
11791
11792
  function Ve() {
@@ -11798,7 +11799,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11798
11799
  let y = P.keywordPatternRe.exec(oe), x = "";
11799
11800
  for (; y; ) {
11800
11801
  x += oe.substring(m, y.index);
11801
- const J = je.case_insensitive ? y[0].toLowerCase() : y[0], be = Ie(P, J);
11802
+ const J = je.case_insensitive ? y[0].toLowerCase() : y[0], be = ye(P, J);
11802
11803
  if (be) {
11803
11804
  const [tt, Dr] = be;
11804
11805
  if (me.addText(x), x = "", se[J] = (se[J] || 0) + 1, se[J] <= dg && (Sn += Dr), tt.startsWith("_"))
@@ -11865,7 +11866,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11865
11866
  return $i(m.parent, y, x);
11866
11867
  }
11867
11868
  function Lr(m) {
11868
- 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);
11869
11870
  }
11870
11871
  function Nr(m) {
11871
11872
  const y = m[0], x = m.rule, J = new Gs(x), be = [x.__beforeBegin, x["on:begin"]];
@@ -11915,7 +11916,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11915
11916
  }
11916
11917
  if (y.type === "illegal" && x === "")
11917
11918
  return 1;
11918
- if (Bo > 1e5 && Bo > y.index * 3)
11919
+ if (Ro > 1e5 && Ro > y.index * 3)
11919
11920
  throw new Error("potential infinite loop, way more iterations than matches");
11920
11921
  return oe += x, x.length;
11921
11922
  }
@@ -11923,16 +11924,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11923
11924
  if (!je)
11924
11925
  throw Lt(s.replace("{}", h)), new Error('Unknown language: "' + h + '"');
11925
11926
  const Rr = cg(je);
11926
- let ko = "", P = Y || Rr;
11927
+ let Bo = "", P = Y || Rr;
11927
11928
  const ji = {}, me = new r.__emitter(r);
11928
11929
  Br();
11929
- let oe = "", Sn = 0, Ot = 0, Bo = 0, Ro = !1;
11930
+ let oe = "", Sn = 0, Ot = 0, Ro = 0, Do = !1;
11930
11931
  try {
11931
11932
  if (je.__emitTokens)
11932
11933
  je.__emitTokens(A, me);
11933
11934
  else {
11934
11935
  for (P.matcher.considerAll(); ; ) {
11935
- Bo++, Ro ? Ro = !1 : P.matcher.considerAll(), P.matcher.lastIndex = Ot;
11936
+ Ro++, Do ? Do = !1 : P.matcher.considerAll(), P.matcher.lastIndex = Ot;
11936
11937
  const m = P.matcher.exec(A);
11937
11938
  if (!m) break;
11938
11939
  const y = A.substring(Ot, m.index), x = Gi(y, m);
@@ -11940,9 +11941,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11940
11941
  }
11941
11942
  Gi(A.substring(Ot));
11942
11943
  }
11943
- return me.finalize(), ko = me.toHTML(), {
11944
+ return me.finalize(), Bo = me.toHTML(), {
11944
11945
  language: h,
11945
- value: ko,
11946
+ value: Bo,
11946
11947
  relevance: Sn,
11947
11948
  illegal: !1,
11948
11949
  _emitter: me,
@@ -11960,7 +11961,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11960
11961
  index: Ot,
11961
11962
  context: A.slice(Ot - 100, Ot + 100),
11962
11963
  mode: m.mode,
11963
- resultSoFar: ko
11964
+ resultSoFar: Bo
11964
11965
  },
11965
11966
  _emitter: me
11966
11967
  };
@@ -12002,7 +12003,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12002
12003
  return -1;
12003
12004
  }
12004
12005
  return 0;
12005
- }), [Ie, Ve] = se, yn = Ie;
12006
+ }), [ye, Ve] = se, yn = ye;
12006
12007
  return yn.secondBest = Ve, yn;
12007
12008
  }
12008
12009
  function b(h, A, D) {
@@ -12156,7 +12157,7 @@ qt.newInstance = () => Ir({});
12156
12157
  var fg = qt;
12157
12158
  qt.HighlightJS = qt;
12158
12159
  qt.default = qt;
12159
- 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 = [
12160
12161
  "as",
12161
12162
  // for exports
12162
12163
  "in",
@@ -12328,13 +12329,13 @@ function Eg(e) {
12328
12329
  return;
12329
12330
  }
12330
12331
  se === ">" && (n(A, { after: Y }) || D.ignoreMatch());
12331
- let Ie;
12332
+ let ye;
12332
12333
  const Ve = A.input.substring(Y);
12333
- if (Ie = Ve.match(/^\s*=/)) {
12334
+ if (ye = Ve.match(/^\s*=/)) {
12334
12335
  D.ignoreMatch();
12335
12336
  return;
12336
12337
  }
12337
- if ((Ie = Ve.match(/^\s+extends\s+/)) && Ie.index === 0) {
12338
+ if ((ye = Ve.match(/^\s+extends\s+/)) && ye.index === 0) {
12338
12339
  D.ignoreMatch();
12339
12340
  return;
12340
12341
  }
@@ -12819,7 +12820,7 @@ var Zs = Qe({ props: { code: { type: String, required: !0 }, language: { type: S
12819
12820
  var n = Te(function() {
12820
12821
  return e.autodetect || !t.value;
12821
12822
  }), o = Te(function() {
12822
- return !n.value && !jn.getLanguage(t.value);
12823
+ return !n.value && !Wn.getLanguage(t.value);
12823
12824
  });
12824
12825
  return { className: Te(function() {
12825
12826
  return o.value ? "" : "hljs " + t.value;
@@ -12827,10 +12828,10 @@ var Zs = Qe({ props: { code: { type: String, required: !0 }, language: { type: S
12827
12828
  var i;
12828
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;");
12829
12830
  if (n.value) {
12830
- var s = jn.highlightAuto(e.code);
12831
+ var s = Wn.highlightAuto(e.code);
12831
12832
  return t.value = (i = s.language) !== null && i !== void 0 ? i : "", s.value;
12832
12833
  }
12833
- 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;
12834
12835
  }) };
12835
12836
  }, render: function() {
12836
12837
  return ni("pre", {}, [ni("code", { class: this.className, innerHTML: this.highlightedCode })]);
@@ -12844,8 +12845,8 @@ const vg = /* @__PURE__ */ Qe({
12844
12845
  },
12845
12846
  setup(e) {
12846
12847
  const t = e;
12847
- jn.registerLanguage("javascript", Eg);
12848
- const n = Ag.component, { backgroundColor2: o } = _o();
12848
+ Wn.registerLanguage("javascript", Eg);
12849
+ const n = Ag.component, { backgroundColor2: o } = po();
12849
12850
  return (i, s) => {
12850
12851
  const a = Ae("v-sheet");
12851
12852
  return he(), $e(a, {
@@ -12866,7 +12867,7 @@ const vg = /* @__PURE__ */ Qe({
12866
12867
  }), bg = { class: "text-subtitle-1 ml-3" }, Og = /* @__PURE__ */ Qe({
12867
12868
  __name: "index",
12868
12869
  setup(e) {
12869
- 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(() => {
12870
12871
  let _ = 48;
12871
12872
  return n.value && (_ += 24), {
12872
12873
  position: "relative",
@@ -12875,7 +12876,7 @@ const vg = /* @__PURE__ */ Qe({
12875
12876
  };
12876
12877
  }), r = (_) => {
12877
12878
  s.value = _.code;
12878
- }, { open: c } = po("sourceDlg", r);
12879
+ }, { open: c } = fo("sourceDlg", r);
12879
12880
  return (_, p) => {
12880
12881
  const d = Ae("v-sheet"), f = Ae("v-icon"), g = Ae("v-spacer"), b = Ae("v-dialog");
12881
12882
  return he(), $e(b, {
@@ -12909,7 +12910,7 @@ const vg = /* @__PURE__ */ Qe({
12909
12910
  icon: w(Ga),
12910
12911
  onClick: p[0] || (p[0] = (E) => c.value = !1)
12911
12912
  }, null, 8, ["icon"]),
12912
- 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),
12913
12914
  ge(g)
12914
12915
  ]),
12915
12916
  _: 1