x-block-lib 0.5.3 → 0.5.4

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 +232 -229
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -7,30 +7,30 @@
7
7
  License: see project LICENSE
8
8
  Touched: 2021
9
9
  */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}`)),document.head.appendChild(l)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
10
- var Mr = Object.defineProperty;
11
- var Pr = (e, t, n) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
12
- var Fe = (e, t, n) => Pr(e, typeof t != "symbol" ? t + "" : t, n);
13
- import { getCurrentScope as xr, onScopeDispose as Ur, 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 wr, reactive as Vr, h as ni, onUnmounted as Fr, nextTick as vi, isRef as an, resolveDirective as Yr, withDirectives as Kr, createElementBlock as mt, normalizeStyle as ot, createElementVNode as He, toDisplayString as lo, withModifiers as rn, Fragment as ea, renderList as Hr, 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 $r, 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 Gr, P as oi, N as bi, V as wn, g as Et, f as jr, h as oa, s as Wr, 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 Xr, t as zr, v as xo, U as Nn, D as kn, w as xt, x as Jr, T as uo, y as ia, z as qr, A as Qr, H as Zr, I as zi, J as el } from "./blockly-cc5ny7z2.js";
15
- import { storeToRefs as tl } from "pinia";
16
- import { openConfirmDlg as nl, openPromptDlg as ol, eventBus as We, messageWarning as sa, useColor as _o, useViewStack as po, useSystem as aa, useGlobalStore as il } from "x-essential-lib";
10
+ var Pr = Object.defineProperty;
11
+ var xr = (e, t, n) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
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 { storeToRefs as nl } from "pinia";
16
+ import { openConfirmDlg as ol, openPromptDlg as il, eventBus as We, messageWarning as sa, useColor as _o, useViewStack as po, useSystem as aa, useGlobalStore as sl } from "x-essential-lib";
17
17
  import { elements as Je, getPropTag as ra } from "x-runtime-lib";
18
18
  import { useI18n as En } from "vue-i18n";
19
- import { useDisplay as sl } from "vuetify";
20
- function al(e) {
21
- return xr() ? (Ur(e), !0) : !1;
22
- }
19
+ import { useDisplay as al } from "vuetify";
23
20
  function rl(e) {
21
+ return Ur() ? (wr(e), !0) : !1;
22
+ }
23
+ function la(e) {
24
24
  return typeof e == "function" ? e() : w(e);
25
25
  }
26
26
  const ll = typeof window < "u" && typeof document < "u";
27
27
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
28
+ const cl = ll ? window : void 0;
28
29
  function Ji(e) {
29
30
  var t;
30
- const n = rl(e);
31
+ const n = la(e);
31
32
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
32
33
  }
33
- const cl = ll ? window : void 0;
34
34
  function ul() {
35
35
  const e = At(!1), t = ro();
36
36
  return t && Wt(() => {
@@ -46,7 +46,10 @@ function pl(e, t, n = {}) {
46
46
  let s;
47
47
  const a = _l(() => o && "ResizeObserver" in o), r = () => {
48
48
  s && (s.disconnect(), s = void 0);
49
- }, c = Te(() => Array.isArray(e) ? e.map((p) => Ji(p)) : [Ji(e)]), _ = pt(
49
+ }, c = Te(() => {
50
+ const p = la(e);
51
+ return Array.isArray(p) ? p.map((f) => Ji(f)) : [Ji(p)];
52
+ }), _ = pt(
50
53
  c,
51
54
  (p) => {
52
55
  if (r(), a.value && o) {
@@ -59,7 +62,7 @@ function pl(e, t, n = {}) {
59
62
  ), d = () => {
60
63
  r(), _();
61
64
  };
62
- return al(d), {
65
+ return rl(d), {
63
66
  isSupported: a,
64
67
  stop: d
65
68
  };
@@ -225,7 +228,7 @@ function Ne(e) {
225
228
  return I.xml.textToDom(t);
226
229
  }
227
230
  function Oi(e, t, n) {
228
- const o = `<xml><block type="parameter_v1"><mutation key="${t}" name="${n}"/></block></xml>`, i = I.xml.textToDom(o), s = $r.domToWorkspace(i, e);
231
+ const o = `<xml><block type="parameter_v1"><mutation key="${t}" name="${n}"/></block></xml>`, i = I.xml.textToDom(o), s = Gr.domToWorkspace(i, e);
229
232
  return e.getBlockById(s[0]);
230
233
  }
231
234
  function Ze(e, t) {
@@ -353,7 +356,7 @@ U.parameter_v1 = gl;
353
356
  l.forBlock.parameter_v1 = function(e) {
354
357
  return [e.key, u.ATOMIC];
355
358
  };
356
- var la = typeof global == "object" && global && global.Object === Object && global, Tl = typeof self == "object" && self && self.Object === Object && self, et = la || Tl || Function("return this")(), vt = et.Symbol, ca = Object.prototype, ml = ca.hasOwnProperty, El = ca.toString, en = vt ? vt.toStringTag : void 0;
359
+ var ca = typeof global == "object" && global && global.Object === Object && global, Tl = typeof self == "object" && self && self.Object === Object && self, et = ca || Tl || Function("return this")(), vt = et.Symbol, ua = Object.prototype, ml = ua.hasOwnProperty, El = ua.toString, en = vt ? vt.toStringTag : void 0;
357
360
  function Al(e) {
358
361
  var t = ml.call(e, en), n = e[en];
359
362
  try {
@@ -381,7 +384,7 @@ function vn(e) {
381
384
  return e != null && (t == "object" || t == "function");
382
385
  }
383
386
  var Cl = "[object AsyncFunction]", Sl = "[object Function]", Ll = "[object GeneratorFunction]", Nl = "[object Proxy]";
384
- function ua(e) {
387
+ function _a(e) {
385
388
  if (!vn(e))
386
389
  return !1;
387
390
  var t = An(e);
@@ -414,7 +417,7 @@ var Dl = /[\\^$.*+?()[\]{}|]/g, Ml = /^\[object .+?Constructor\]$/, Pl = Functio
414
417
  function Fl(e) {
415
418
  if (!vn(e) || kl(e))
416
419
  return !1;
417
- var t = ua(e) ? Vl : Ml;
420
+ var t = _a(e) ? Vl : Ml;
418
421
  return t.test(Rt(e));
419
422
  }
420
423
  function Yl(e, t) {
@@ -460,7 +463,7 @@ function Wl(e, t) {
460
463
  var n = typeof e;
461
464
  return t = t ?? Gl, !!t && (n == "number" || n != "symbol" && jl.test(e)) && e > -1 && e % 1 == 0 && e < t;
462
465
  }
463
- function _a(e, t, n) {
466
+ function pa(e, t, n) {
464
467
  t == "__proto__" && es ? es(e, t, {
465
468
  configurable: !0,
466
469
  enumerable: !0,
@@ -472,25 +475,25 @@ function Ii(e, t) {
472
475
  return e === t || e !== e && t !== t;
473
476
  }
474
477
  var Xl = Object.prototype, zl = Xl.hasOwnProperty;
475
- function pa(e, t, n) {
478
+ function da(e, t, n) {
476
479
  var o = e[t];
477
- (!(zl.call(e, t) && Ii(o, n)) || n === void 0 && !(t in e)) && _a(e, t, n);
480
+ (!(zl.call(e, t) && Ii(o, n)) || n === void 0 && !(t in e)) && pa(e, t, n);
478
481
  }
479
482
  function fo(e, t, n, o) {
480
483
  var i = !n;
481
484
  n || (n = {});
482
485
  for (var s = -1, a = t.length; ++s < a; ) {
483
486
  var r = t[s], c = void 0;
484
- c === void 0 && (c = e[r]), i ? _a(n, r, c) : pa(n, r, c);
487
+ c === void 0 && (c = e[r]), i ? pa(n, r, c) : da(n, r, c);
485
488
  }
486
489
  return n;
487
490
  }
488
491
  var Jl = 9007199254740991;
489
- function da(e) {
492
+ function fa(e) {
490
493
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Jl;
491
494
  }
492
495
  function yi(e) {
493
- return e != null && da(e.length) && !ua(e);
496
+ return e != null && fa(e.length) && !_a(e);
494
497
  }
495
498
  var ql = Object.prototype;
496
499
  function ho(e) {
@@ -506,7 +509,7 @@ var Zl = "[object Arguments]";
506
509
  function ts(e) {
507
510
  return Nt(e) && An(e) == Zl;
508
511
  }
509
- var fa = Object.prototype, ec = fa.hasOwnProperty, tc = fa.propertyIsEnumerable, ha = ts(/* @__PURE__ */ function() {
512
+ var ha = Object.prototype, ec = ha.hasOwnProperty, tc = ha.propertyIsEnumerable, ga = ts(/* @__PURE__ */ function() {
510
513
  return arguments;
511
514
  }()) ? ts : function(e) {
512
515
  return Nt(e) && ec.call(e, "callee") && !tc.call(e, "callee");
@@ -514,26 +517,26 @@ var fa = Object.prototype, ec = fa.hasOwnProperty, tc = fa.propertyIsEnumerable,
514
517
  function nc() {
515
518
  return !1;
516
519
  }
517
- var ga = typeof exports == "object" && exports && !exports.nodeType && exports, ns = ga && typeof module == "object" && module && !module.nodeType && module, oc = ns && ns.exports === ga, os = oc ? et.Buffer : void 0, ic = os ? os.isBuffer : void 0, fn = ic || nc, sc = "[object Arguments]", ac = "[object Array]", rc = "[object Boolean]", lc = "[object Date]", cc = "[object Error]", uc = "[object Function]", _c = "[object Map]", pc = "[object Number]", dc = "[object Object]", fc = "[object RegExp]", hc = "[object Set]", gc = "[object String]", Tc = "[object WeakMap]", mc = "[object ArrayBuffer]", Ec = "[object DataView]", Ac = "[object Float32Array]", vc = "[object Float64Array]", bc = "[object Int8Array]", Oc = "[object Int16Array]", Ic = "[object Int32Array]", yc = "[object Uint8Array]", Cc = "[object Uint8ClampedArray]", Sc = "[object Uint16Array]", Lc = "[object Uint32Array]", ie = {};
520
+ var Ta = typeof exports == "object" && exports && !exports.nodeType && exports, ns = Ta && typeof module == "object" && module && !module.nodeType && module, oc = ns && ns.exports === Ta, os = oc ? et.Buffer : void 0, ic = os ? os.isBuffer : void 0, fn = ic || nc, sc = "[object Arguments]", ac = "[object Array]", rc = "[object Boolean]", lc = "[object Date]", cc = "[object Error]", uc = "[object Function]", _c = "[object Map]", pc = "[object Number]", dc = "[object Object]", fc = "[object RegExp]", hc = "[object Set]", gc = "[object String]", Tc = "[object WeakMap]", mc = "[object ArrayBuffer]", Ec = "[object DataView]", Ac = "[object Float32Array]", vc = "[object Float64Array]", bc = "[object Int8Array]", Oc = "[object Int16Array]", Ic = "[object Int32Array]", yc = "[object Uint8Array]", Cc = "[object Uint8ClampedArray]", Sc = "[object Uint16Array]", Lc = "[object Uint32Array]", ie = {};
518
521
  ie[Ac] = ie[vc] = ie[bc] = ie[Oc] = ie[Ic] = ie[yc] = ie[Cc] = ie[Sc] = ie[Lc] = !0;
519
522
  ie[sc] = ie[ac] = ie[mc] = ie[rc] = ie[Ec] = ie[lc] = ie[cc] = ie[uc] = ie[_c] = ie[pc] = ie[dc] = ie[fc] = ie[hc] = ie[gc] = ie[Tc] = !1;
520
523
  function Nc(e) {
521
- return Nt(e) && da(e.length) && !!ie[An(e)];
524
+ return Nt(e) && fa(e.length) && !!ie[An(e)];
522
525
  }
523
526
  function Ci(e) {
524
527
  return function(t) {
525
528
  return e(t);
526
529
  };
527
530
  }
528
- var Ta = typeof exports == "object" && exports && !exports.nodeType && exports, ln = Ta && typeof module == "object" && module && !module.nodeType && module, kc = ln && ln.exports === Ta, wo = kc && la.process, zt = function() {
531
+ var ma = typeof exports == "object" && exports && !exports.nodeType && exports, ln = ma && typeof module == "object" && module && !module.nodeType && module, kc = ln && ln.exports === ma, wo = kc && ca.process, zt = function() {
529
532
  try {
530
533
  var e = ln && ln.require && ln.require("util").types;
531
534
  return e || wo && wo.binding && wo.binding("util");
532
535
  } catch {
533
536
  }
534
537
  }(), is = zt && zt.isTypedArray, Si = is ? Ci(is) : Nc, Bc = Object.prototype, Rc = Bc.hasOwnProperty;
535
- function ma(e, t) {
536
- var n = Xt(e), o = !n && ha(e), i = !n && !o && fn(e), s = !n && !o && !i && Si(e), a = n || o || i || s, r = a ? Ql(e.length, String) : [], c = r.length;
538
+ function Ea(e, t) {
539
+ var n = Xt(e), o = !n && ga(e), i = !n && !o && fn(e), s = !n && !o && !i && Si(e), a = n || o || i || s, r = a ? Ql(e.length, String) : [], c = r.length;
537
540
  for (var _ in e)
538
541
  (t || Rc.call(e, _)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
539
542
  (_ == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -542,13 +545,13 @@ function ma(e, t) {
542
545
  Wl(_, c))) && r.push(_);
543
546
  return r;
544
547
  }
545
- function Ea(e, t) {
548
+ function Aa(e, t) {
546
549
  return function(n) {
547
550
  return e(t(n));
548
551
  };
549
552
  }
550
- var Dc = Ea(Object.keys, Object), Mc = Object.prototype, Pc = Mc.hasOwnProperty;
551
- function Aa(e) {
553
+ var Dc = Aa(Object.keys, Object), Mc = Object.prototype, Pc = Mc.hasOwnProperty;
554
+ function va(e) {
552
555
  if (!ho(e))
553
556
  return Dc(e);
554
557
  var t = [];
@@ -557,7 +560,7 @@ function Aa(e) {
557
560
  return t;
558
561
  }
559
562
  function Li(e) {
560
- return yi(e) ? ma(e) : Aa(e);
563
+ return yi(e) ? Ea(e) : va(e);
561
564
  }
562
565
  function xc(e) {
563
566
  var t = [];
@@ -576,7 +579,7 @@ function Vc(e) {
576
579
  return n;
577
580
  }
578
581
  function Ni(e) {
579
- return yi(e) ? ma(e, !0) : Vc(e);
582
+ return yi(e) ? Ea(e, !0) : Vc(e);
580
583
  }
581
584
  var hn = Dt(Object, "create");
582
585
  function Fc() {
@@ -699,12 +702,12 @@ Mt.prototype.delete = au;
699
702
  Mt.prototype.get = ru;
700
703
  Mt.prototype.has = lu;
701
704
  Mt.prototype.set = cu;
702
- function va(e, t) {
705
+ function ba(e, t) {
703
706
  for (var n = -1, o = t.length, i = e.length; ++n < o; )
704
707
  e[i + n] = t[n];
705
708
  return e;
706
709
  }
707
- var ba = Ea(Object.getPrototypeOf, Object);
710
+ var Oa = Aa(Object.getPrototypeOf, Object);
708
711
  function uu() {
709
712
  this.__data__ = new ct(), this.size = 0;
710
713
  }
@@ -744,7 +747,7 @@ function gu(e, t) {
744
747
  function Tu(e, t) {
745
748
  return e && fo(t, Ni(t), e);
746
749
  }
747
- var Oa = typeof exports == "object" && exports && !exports.nodeType && exports, ss = Oa && typeof module == "object" && module && !module.nodeType && module, mu = ss && ss.exports === Oa, as = mu ? et.Buffer : void 0, rs = as ? as.allocUnsafe : void 0;
750
+ 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;
748
751
  function Eu(e, t) {
749
752
  if (t)
750
753
  return e.slice();
@@ -758,34 +761,34 @@ function Au(e, t) {
758
761
  }
759
762
  return s;
760
763
  }
761
- function Ia() {
764
+ function ya() {
762
765
  return [];
763
766
  }
764
767
  var vu = Object.prototype, bu = vu.propertyIsEnumerable, ls = Object.getOwnPropertySymbols, ki = ls ? function(e) {
765
768
  return e == null ? [] : (e = Object(e), Au(ls(e), function(t) {
766
769
  return bu.call(e, t);
767
770
  }));
768
- } : Ia;
771
+ } : ya;
769
772
  function Ou(e, t) {
770
773
  return fo(e, ki(e), t);
771
774
  }
772
- var Iu = Object.getOwnPropertySymbols, ya = Iu ? function(e) {
775
+ var Iu = Object.getOwnPropertySymbols, Ca = Iu ? function(e) {
773
776
  for (var t = []; e; )
774
- va(t, ki(e)), e = ba(e);
777
+ ba(t, ki(e)), e = Oa(e);
775
778
  return t;
776
- } : Ia;
779
+ } : ya;
777
780
  function yu(e, t) {
778
- return fo(e, ya(e), t);
781
+ return fo(e, Ca(e), t);
779
782
  }
780
- function Ca(e, t, n) {
783
+ function Sa(e, t, n) {
781
784
  var o = t(e);
782
- return Xt(e) ? o : va(o, n(e));
785
+ return Xt(e) ? o : ba(o, n(e));
783
786
  }
784
787
  function si(e) {
785
- return Ca(e, Li, ki);
788
+ return Sa(e, Li, ki);
786
789
  }
787
790
  function Cu(e) {
788
- return Ca(e, Ni, ya);
791
+ return Sa(e, Ni, Ca);
789
792
  }
790
793
  var ai = Dt(et, "DataView"), ri = Dt(et, "Promise"), li = Dt(et, "Set"), cs = "[object Map]", Su = "[object Object]", us = "[object Promise]", _s = "[object Set]", ps = "[object WeakMap]", ds = "[object DataView]", Lu = Rt(ai), Nu = Rt(gn), ku = Rt(ri), Bu = Rt(li), Ru = Rt(ii), we = An;
791
794
  (ai && we(new ai(new ArrayBuffer(1))) != ds || gn && we(new gn()) != cs || ri && we(ri.resolve()) != us || li && we(new li()) != _s || ii && we(new ii()) != ps) && (we = function(e) {
@@ -867,7 +870,7 @@ function a_(e, t, n) {
867
870
  }
868
871
  }
869
872
  function r_(e) {
870
- return typeof e.constructor == "function" && !ho(e) ? Kl(ba(e)) : {};
873
+ return typeof e.constructor == "function" && !ho(e) ? Kl(Oa(e)) : {};
871
874
  }
872
875
  var l_ = "[object Map]";
873
876
  function c_(e) {
@@ -877,9 +880,9 @@ var gs = zt && zt.isMap, u_ = gs ? Ci(gs) : c_, __ = "[object Set]";
877
880
  function p_(e) {
878
881
  return Nt(e) && we(e) == __;
879
882
  }
880
- var Ts = zt && zt.isSet, d_ = Ts ? Ci(Ts) : p_, f_ = 1, h_ = 2, g_ = 4, Sa = "[object Arguments]", T_ = "[object Array]", m_ = "[object Boolean]", E_ = "[object Date]", A_ = "[object Error]", La = "[object Function]", v_ = "[object GeneratorFunction]", b_ = "[object Map]", O_ = "[object Number]", Na = "[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 = {};
881
- Z[Sa] = 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[Na] = Z[I_] = Z[y_] = Z[C_] = Z[S_] = Z[x_] = Z[U_] = Z[w_] = Z[V_] = !0;
882
- Z[A_] = Z[La] = Z[L_] = !1;
883
+ 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 = {};
884
+ 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;
885
+ Z[A_] = Z[Na] = Z[L_] = !1;
883
886
  function Vn(e, t, n, o, i, s) {
884
887
  var a, r = t & f_, c = t & h_, _ = t & g_;
885
888
  if (a !== void 0)
@@ -891,10 +894,10 @@ function Vn(e, t, n, o, i, s) {
891
894
  if (a = Pu(e), !r)
892
895
  return Hl(e, a);
893
896
  } else {
894
- var p = we(e), f = p == La || p == v_;
897
+ var p = we(e), f = p == Na || p == v_;
895
898
  if (fn(e))
896
899
  return Eu(e, r);
897
- if (p == Na || p == Sa || f && !i) {
900
+ if (p == ka || p == La || f && !i) {
898
901
  if (a = c || f ? {} : r_(e), !r)
899
902
  return c ? yu(e, Tu(a, e)) : Ou(e, gu(a, e));
900
903
  } else {
@@ -914,7 +917,7 @@ function Vn(e, t, n, o, i, s) {
914
917
  });
915
918
  var b = _ ? c ? Cu : si : c ? Ni : Li, E = d ? void 0 : b(e);
916
919
  return $l(E || e, function(S, C) {
917
- E && (C = S, S = e[C]), pa(a, C, Vn(S, t, n, C, e, s));
920
+ E && (C = S, S = e[C]), da(a, C, Vn(S, t, n, C, e, s));
918
921
  }), a;
919
922
  }
920
923
  var F_ = 1, Y_ = 4;
@@ -945,7 +948,7 @@ function W_(e, t) {
945
948
  return e.has(t);
946
949
  }
947
950
  var X_ = 1, z_ = 2;
948
- function ka(e, t, n, o, i, s) {
951
+ function Ba(e, t, n, o, i, s) {
949
952
  var a = n & X_, r = e.length, c = t.length;
950
953
  if (r != c && !(a && c > r))
951
954
  return !1;
@@ -1018,7 +1021,7 @@ function _p(e, t, n, o, i, s, a) {
1018
1021
  if (_)
1019
1022
  return _ == t;
1020
1023
  o |= Z_, a.set(e, t);
1021
- var d = ka(r(e), r(t), o, i, s, a);
1024
+ var d = Ba(r(e), r(t), o, i, s, a);
1022
1025
  return a.delete(e), d;
1023
1026
  case lp:
1024
1027
  if (Vo)
@@ -1069,7 +1072,7 @@ function mp(e, t, n, o, i, s) {
1069
1072
  a = !0, d = !1;
1070
1073
  }
1071
1074
  if (f && !d)
1072
- return s || (s = new it()), a || Si(e) ? ka(e, t, n, o, i, s) : _p(e, t, c, n, o, i, s);
1075
+ return s || (s = new it()), a || Si(e) ? Ba(e, t, n, o, i, s) : _p(e, t, c, n, o, i, s);
1073
1076
  if (!(n & gp)) {
1074
1077
  var g = d && vs.call(e, "__wrapped__"), b = p && vs.call(t, "__wrapped__");
1075
1078
  if (g || b) {
@@ -1079,27 +1082,27 @@ function mp(e, t, n, o, i, s) {
1079
1082
  }
1080
1083
  return f ? (s || (s = new it()), hp(e, t, n, o, i, s)) : !1;
1081
1084
  }
1082
- function Ba(e, t, n, o, i) {
1083
- return e === t ? !0 : e == null || t == null || !Nt(e) && !Nt(t) ? e !== e && t !== t : mp(e, t, n, o, Ba, i);
1085
+ function Ra(e, t, n, o, i) {
1086
+ return e === t ? !0 : e == null || t == null || !Nt(e) && !Nt(t) ? e !== e && t !== t : mp(e, t, n, o, Ra, i);
1084
1087
  }
1085
1088
  var Ep = "[object Map]", Ap = "[object Set]", vp = Object.prototype, bp = vp.hasOwnProperty;
1086
1089
  function ci(e) {
1087
1090
  if (e == null)
1088
1091
  return !0;
1089
- if (yi(e) && (Xt(e) || typeof e == "string" || typeof e.splice == "function" || fn(e) || Si(e) || ha(e)))
1092
+ if (yi(e) && (Xt(e) || typeof e == "string" || typeof e.splice == "function" || fn(e) || Si(e) || ga(e)))
1090
1093
  return !e.length;
1091
1094
  var t = we(e);
1092
1095
  if (t == Ep || t == Ap)
1093
1096
  return !e.size;
1094
1097
  if (ho(e))
1095
- return !Aa(e).length;
1098
+ return !va(e).length;
1096
1099
  for (var n in e)
1097
1100
  if (bp.call(e, n))
1098
1101
  return !1;
1099
1102
  return !0;
1100
1103
  }
1101
1104
  function at(e, t) {
1102
- return Ba(e, t);
1105
+ return Ra(e, t);
1103
1106
  }
1104
1107
  function Op() {
1105
1108
  return {
@@ -1208,10 +1211,10 @@ function Ri() {
1208
1211
  }
1209
1212
  return n.sort((o, i) => o.sort - i.sort), n;
1210
1213
  }
1211
- function Ra(e) {
1214
+ function Da(e) {
1212
1215
  return q.compute.spaces[e];
1213
1216
  }
1214
- function Da() {
1217
+ function Ma() {
1215
1218
  const e = [];
1216
1219
  return Ri().forEach((n) => {
1217
1220
  e.push([n.name, n.id]);
@@ -1225,10 +1228,10 @@ function Di(e) {
1225
1228
  }
1226
1229
  return n.sort((o, i) => o.sort - i.sort), n;
1227
1230
  }
1228
- function Ma(e) {
1231
+ function Pa(e) {
1229
1232
  return q.compute.funcs[e];
1230
1233
  }
1231
- function Pa(e) {
1234
+ function xa(e) {
1232
1235
  const t = [];
1233
1236
  return Di(e).forEach((o) => {
1234
1237
  t.push([o.name, o.id]);
@@ -1292,10 +1295,10 @@ const Bp = {
1292
1295
  }, 0);
1293
1296
  },
1294
1297
  genSpaceOpts_: function() {
1295
- return Da();
1298
+ return Ma();
1296
1299
  },
1297
1300
  genFuncOpts_: function() {
1298
- return Pa(this.space.id);
1301
+ return xa(this.space.id);
1299
1302
  },
1300
1303
  onchange: function() {
1301
1304
  setTimeout(() => {
@@ -1351,13 +1354,13 @@ const Bp = {
1351
1354
  Ze(this, e);
1352
1355
  },
1353
1356
  checkWarning_: function() {
1354
- const e = Ra(this.space.id);
1357
+ const e = Da(this.space.id);
1355
1358
  if (!e) {
1356
1359
  this.setWarningText(v.WARN_SPACE_NOT_AVAILABLE);
1357
1360
  return;
1358
1361
  }
1359
1362
  e.name !== this.space.name && (this.space.name = e.name);
1360
- const t = Ma(this.func.id);
1363
+ const t = Pa(this.func.id);
1361
1364
  if (!t) {
1362
1365
  this.setWarningText(v.WARN_FUNC_NOT_AVAILABLE);
1363
1366
  return;
@@ -1436,10 +1439,10 @@ const Rp = {
1436
1439
  }, 0);
1437
1440
  },
1438
1441
  genSpaceOpts_: function() {
1439
- return Da();
1442
+ return Ma();
1440
1443
  },
1441
1444
  genFuncOpts_: function() {
1442
- return Pa(this.space.id);
1445
+ return xa(this.space.id);
1443
1446
  },
1444
1447
  onchange: function() {
1445
1448
  setTimeout(() => {
@@ -1495,13 +1498,13 @@ const Rp = {
1495
1498
  Ze(this, e);
1496
1499
  },
1497
1500
  checkWarning_: function() {
1498
- const e = Ra(this.space.id);
1501
+ const e = Da(this.space.id);
1499
1502
  if (!e) {
1500
1503
  this.setWarningText(v.WARN_SPACE_NOT_AVAILABLE);
1501
1504
  return;
1502
1505
  }
1503
1506
  e.name !== this.space.name && (this.space.name = e.name);
1504
- const t = Ma(this.func.id);
1507
+ const t = Pa(this.func.id);
1505
1508
  if (!t) {
1506
1509
  this.setWarningText(v.WARN_FUNC_NOT_AVAILABLE);
1507
1510
  return;
@@ -4770,7 +4773,7 @@ l.forBlock.object_to_json_v1 = function(e) {
4770
4773
  };
4771
4774
  const Os = I.xml, dd = {
4772
4775
  init: function() {
4773
- this.appendDummyInput().appendField("%{BKY_PROCEDURE_V1_DEF_CONTAINER_TITLE}").appendField(new Gr(!1), "WITHRETURN"), this.appendStatementInput("STACK"), this.setStyle("procedure_blocks"), this.contextMenu = !1;
4776
+ this.appendDummyInput().appendField("%{BKY_PROCEDURE_V1_DEF_CONTAINER_TITLE}").appendField(new jr(!1), "WITHRETURN"), this.appendStatementInput("STACK"), this.setStyle("procedure_blocks"), this.contextMenu = !1;
4774
4777
  }
4775
4778
  };
4776
4779
  U.procedure_def_container_v1 = dd;
@@ -6713,7 +6716,7 @@ function Yd() {
6713
6716
  }
6714
6717
  return e;
6715
6718
  }
6716
- const xa = {
6719
+ const Ua = {
6717
6720
  name: "INTERFACE_CATEGORY",
6718
6721
  callback: Yd
6719
6722
  }, tn = I.xml;
@@ -6829,7 +6832,7 @@ function Gd() {
6829
6832
  const n = e.getVariablesOfType("");
6830
6833
  if (n.length <= 0)
6831
6834
  return t;
6832
- n.sort(jr.compareByName);
6835
+ n.sort(Wr.compareByName);
6833
6836
  {
6834
6837
  const o = Rn.createElement("label");
6835
6838
  o.setAttribute("text", v.LABEL_CREATED), t.push(o);
@@ -6850,20 +6853,20 @@ const ht = {
6850
6853
  callback: Gd
6851
6854
  };
6852
6855
  oa.setConfirm(async (e, t) => {
6853
- const n = await nl({
6856
+ const n = await ol({
6854
6857
  title: "",
6855
6858
  text: e
6856
6859
  });
6857
6860
  t(!!n);
6858
6861
  });
6859
6862
  oa.setPrompt(async (e, t, n) => {
6860
- const o = await ol({
6863
+ const o = await il({
6861
6864
  title: "",
6862
6865
  value: t
6863
6866
  });
6864
6867
  n(String(o));
6865
6868
  });
6866
- const Ua = (e, t, n) => {
6869
+ const wa = (e, t, n) => {
6867
6870
  const o = e[t];
6868
6871
  return o ? typeof o == "function" ? o() : Promise.resolve(o) : new Promise((i, s) => {
6869
6872
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -6877,10 +6880,10 @@ const Ua = (e, t, n) => {
6877
6880
  });
6878
6881
  };
6879
6882
  async function Cs(e) {
6880
- const t = await Ua(/* @__PURE__ */ Object.assign({ "./msg/en.ts": () => import("./msg-en-kt4hpbag.js"), "./msg/zhHans.ts": () => import("./msg-zhHans-m1r7olku.js") }), `./msg/${e}.ts`, 3);
6881
- Wr(t.default);
6883
+ const t = await wa(/* @__PURE__ */ Object.assign({ "./msg/en.ts": () => import("./msg-en-kt4hpbag.js"), "./msg/zhHans.ts": () => import("./msg-zhHans-m1r7olku.js") }), `./msg/${e}.ts`, 3);
6884
+ Xr(t.default);
6882
6885
  }
6883
- function wa(e) {
6886
+ function Va(e) {
6884
6887
  const t = Et();
6885
6888
  if (!t)
6886
6889
  return;
@@ -6893,13 +6896,13 @@ function wa(e) {
6893
6896
  const i = o.getRelativeToSurfaceXY(), s = i.x * t.scale, a = i.y * t.scale;
6894
6897
  t.scroll(-s, -a);
6895
6898
  }
6896
- function Va() {
6899
+ function Fa() {
6897
6900
  var n;
6898
6901
  const e = Et();
6899
6902
  if (!e)
6900
6903
  return;
6901
6904
  const t = (n = e.getTopBlocks(!0)) == null ? void 0 : n[0];
6902
- t && wa(t.id);
6905
+ t && Va(t.id);
6903
6906
  }
6904
6907
  class jd {
6905
6908
  init({ contextMenu: t = !0, shortcut: n = !0 } = {
@@ -7016,7 +7019,7 @@ class jd {
7016
7019
  if (!r || !Ln(r) || !r.isDeletable() || !Zt(r))
7017
7020
  return !1;
7018
7021
  const c = r.toCopyData();
7019
- return c ? (localStorage.setItem("blocklyStash", JSON.stringify(c)), r instanceof Xr ? r.checkAndDelete() : r.dispose(), !0) : !1;
7022
+ return c ? (localStorage.setItem("blocklyStash", JSON.stringify(c)), r instanceof zr ? r.checkAndDelete() : r.dispose(), !0) : !1;
7020
7023
  },
7021
7024
  keyCodes: [t, n, o]
7022
7025
  };
@@ -7076,20 +7079,20 @@ class Wd {
7076
7079
  });
7077
7080
  }
7078
7081
  }
7079
- function Fa(e) {
7082
+ function Ya(e) {
7080
7083
  const t = e.getParent();
7081
- return t && Fa(t) ? !0 : !t && !!(e.outputConnection || e.previousConnection);
7084
+ return t && Ya(t) ? !0 : !t && !!(e.outputConnection || e.previousConnection);
7082
7085
  }
7083
7086
  class Xd {
7084
7087
  init() {
7085
7088
  const t = St.registry.getItem("blockDisable");
7086
7089
  t && (t.preconditionFn = function(n) {
7087
7090
  const o = n.block;
7088
- return o && !o.isInFlyout && o.workspace.options.disable && o.isEditable() ? o.getInheritedDisabled() || Fa(o) ? "disabled" : "enabled" : "hidden";
7091
+ return o && !o.isInFlyout && o.workspace.options.disable && o.isEditable() ? o.getInheritedDisabled() || Ya(o) ? "disabled" : "enabled" : "hidden";
7089
7092
  });
7090
7093
  }
7091
7094
  }
7092
- class Ya extends xo {
7095
+ class Ka extends xo {
7093
7096
  constructor(n, o, i) {
7094
7097
  super(xo.SKIP_SETUP);
7095
7098
  /** The field's colour picker element. */
@@ -7906,8 +7909,8 @@ class Ya extends xo {
7906
7909
  return new this(n.colour, void 0, n);
7907
7910
  }
7908
7911
  }
7909
- Ya.prototype.DEFAULT_VALUE = "#ffffff";
7910
- zr.register(`
7912
+ Ka.prototype.DEFAULT_VALUE = "#ffffff";
7913
+ Jr.register(`
7911
7914
  .blocklyColourTable {
7912
7915
  border-collapse: collapse;
7913
7916
  display: block;
@@ -7935,7 +7938,7 @@ zr.register(`
7935
7938
  }
7936
7939
  `);
7937
7940
  function zd() {
7938
- Jr.register("field_colour", Ya);
7941
+ qr.register("field_colour", Ka);
7939
7942
  }
7940
7943
  const Jd = new jd();
7941
7944
  Jd.init({ contextMenu: !0, shortcut: !0 });
@@ -8526,7 +8529,7 @@ const vo = {
8526
8529
  type: "math_on_list_v1"
8527
8530
  }
8528
8531
  ]
8529
- }, Ka = {
8532
+ }, Ha = {
8530
8533
  kind: "category",
8531
8534
  name: "%{BKY_CATEGORY_MESSAGE}",
8532
8535
  categorystyle: "message_category",
@@ -8793,7 +8796,7 @@ const vo = {
8793
8796
  type: "text_reverse_v1"
8794
8797
  }
8795
8798
  ]
8796
- }, Ha = {
8799
+ }, $a = {
8797
8800
  kind: "category",
8798
8801
  name: "%{BKY_CATEGORY_TIME}",
8799
8802
  categorystyle: "time_category",
@@ -8826,7 +8829,7 @@ const vo = {
8826
8829
  categorystyle: "ui_category",
8827
8830
  custom: Zn.name
8828
8831
  },
8829
- Ka,
8832
+ Ha,
8830
8833
  Io,
8831
8834
  Oo,
8832
8835
  yo,
@@ -8834,7 +8837,7 @@ const vo = {
8834
8837
  bo,
8835
8838
  Co,
8836
8839
  vo,
8837
- Ha,
8840
+ $a,
8838
8841
  {
8839
8842
  kind: "category",
8840
8843
  name: "%{BKY_CATEGORY_VARIABLE}",
@@ -8851,7 +8854,7 @@ const vo = {
8851
8854
  kind: "category",
8852
8855
  name: "%{BKY_CATEGORY_INTERFACE}",
8853
8856
  categorystyle: "interface_category",
8854
- custom: xa.name
8857
+ custom: Ua.name
8855
8858
  }
8856
8859
  ]
8857
8860
  }, of = {
@@ -8945,7 +8948,7 @@ const vo = {
8945
8948
  categorystyle: "ui_category",
8946
8949
  custom: Zn.name
8947
8950
  },
8948
- Ka,
8951
+ Ha,
8949
8952
  Io,
8950
8953
  Oo,
8951
8954
  yo,
@@ -8953,7 +8956,7 @@ const vo = {
8953
8956
  bo,
8954
8957
  Co,
8955
8958
  vo,
8956
- Ha,
8959
+ $a,
8957
8960
  {
8958
8961
  kind: "category",
8959
8962
  name: "%{BKY_CATEGORY_VARIABLE}",
@@ -8970,11 +8973,11 @@ const vo = {
8970
8973
  kind: "category",
8971
8974
  name: "%{BKY_CATEGORY_INTERFACE}",
8972
8975
  categorystyle: "interface_category",
8973
- custom: xa.name
8976
+ custom: Ua.name
8974
8977
  }
8975
8978
  ]
8976
8979
  };
8977
- var rf = "M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z", $a = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", lf = "M21 11H3V9H21V11M21 13H3V15H21V13Z", cf = "M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z", uf = "M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z", _f = "M21 3L3 10.53V11.5L9.84 14.16L12.5 21H13.46L21 3Z";
8980
+ var rf = "M19.36,2.72L20.78,4.14L15.06,9.85C16.13,11.39 16.28,13.24 15.38,14.44L9.06,8.12C10.26,7.22 12.11,7.37 13.65,8.44L19.36,2.72M5.93,17.57C3.92,15.56 2.69,13.16 2.35,10.92L7.23,8.83L14.67,16.27L12.58,21.15C10.34,20.81 7.94,19.58 5.93,17.57Z", Ga = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", lf = "M21 11H3V9H21V11M21 13H3V15H21V13Z", cf = "M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z", uf = "M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z", _f = "M21 3L3 10.53V11.5L9.84 14.16L12.5 21H13.46L21 3Z";
8978
8981
  const pf = /* @__PURE__ */ Qe({
8979
8982
  __name: "index",
8980
8983
  props: {
@@ -9042,28 +9045,28 @@ const pf = /* @__PURE__ */ Qe({
9042
9045
  };
9043
9046
  }
9044
9047
  });
9045
- var ff = Object.defineProperty, eo = Object.getOwnPropertySymbols, Ga = Object.prototype.hasOwnProperty, ja = 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, 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) => {
9046
9049
  for (var n in t || (t = {}))
9047
- Ga.call(t, n) && Ss(e, n, t[n]);
9050
+ ja.call(t, n) && Ss(e, n, t[n]);
9048
9051
  if (eo)
9049
9052
  for (var n of eo(t))
9050
- ja.call(t, n) && Ss(e, n, t[n]);
9053
+ Wa.call(t, n) && Ss(e, n, t[n]);
9051
9054
  return e;
9052
- }, Wa = (e, t) => {
9055
+ }, Xa = (e, t) => {
9053
9056
  var n = {};
9054
9057
  for (var o in e)
9055
- Ga.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
9058
+ ja.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
9056
9059
  if (e != null && eo)
9057
9060
  for (var o of eo(e))
9058
- t.indexOf(o) < 0 && ja.call(e, o) && (n[o] = e[o]);
9061
+ t.indexOf(o) < 0 && Wa.call(e, o) && (n[o] = e[o]);
9059
9062
  return n;
9060
9063
  };
9061
- const Xa = "[vue-draggable-plus]: ";
9064
+ const za = "[vue-draggable-plus]: ";
9062
9065
  function hf(e) {
9063
- console.warn(Xa + e);
9066
+ console.warn(za + e);
9064
9067
  }
9065
9068
  function gf(e) {
9066
- console.error(Xa + e);
9069
+ console.error(za + e);
9067
9070
  }
9068
9071
  function Ls(e, t, n) {
9069
9072
  return n >= 0 && n < e.length && e.splice(n, 0, e.splice(t, 1)[0]), e;
@@ -9199,15 +9202,15 @@ function st(e) {
9199
9202
  if (typeof window < "u" && window.navigator)
9200
9203
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
9201
9204
  }
9202
- var ut = st(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), On = st(/Edge/i), Ms = st(/firefox/i), cn = st(/safari/i) && !st(/chrome/i) && !st(/android/i), za = st(/iP(ad|od|hone)/i), Ja = st(/chrome/i) && st(/android/i), qa = {
9205
+ var ut = st(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), On = st(/Edge/i), Ms = st(/firefox/i), cn = st(/safari/i) && !st(/chrome/i) && !st(/android/i), Ja = st(/iP(ad|od|hone)/i), qa = st(/chrome/i) && st(/android/i), Qa = {
9203
9206
  capture: !1,
9204
9207
  passive: !1
9205
9208
  };
9206
9209
  function z(e, t, n) {
9207
- e.addEventListener(t, n, !ut && qa);
9210
+ e.addEventListener(t, n, !ut && Qa);
9208
9211
  }
9209
9212
  function $(e, t, n) {
9210
- e.removeEventListener(t, n, !ut && qa);
9213
+ e.removeEventListener(t, n, !ut && Qa);
9211
9214
  }
9212
9215
  function to(e, t) {
9213
9216
  if (t) {
@@ -9270,7 +9273,7 @@ function jt(e, t) {
9270
9273
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
9271
9274
  return i && new i(n);
9272
9275
  }
9273
- function Qa(e, t, n) {
9276
+ function Za(e, t, n) {
9274
9277
  if (e) {
9275
9278
  var o = e.getElementsByTagName(t), i = 0, s = o.length;
9276
9279
  if (n)
@@ -9390,7 +9393,7 @@ function Go(e, t) {
9390
9393
  return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
9391
9394
  }
9392
9395
  var un;
9393
- function Za(e, t) {
9396
+ function er(e, t) {
9394
9397
  return function() {
9395
9398
  if (!un) {
9396
9399
  var n = arguments, o = this;
@@ -9403,14 +9406,14 @@ function Za(e, t) {
9403
9406
  function Mf() {
9404
9407
  clearTimeout(un), un = void 0;
9405
9408
  }
9406
- function er(e, t, n) {
9409
+ function tr(e, t, n) {
9407
9410
  e.scrollLeft += t, e.scrollTop += n;
9408
9411
  }
9409
- function tr(e) {
9412
+ function nr(e) {
9410
9413
  var t = window.Polymer, n = window.jQuery || window.Zepto;
9411
9414
  return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
9412
9415
  }
9413
- function nr(e, t, n) {
9416
+ function or(e, t, n) {
9414
9417
  var o = {};
9415
9418
  return Array.from(e.children).forEach(function(i) {
9416
9419
  var s, a, r, c;
@@ -9570,8 +9573,8 @@ var Vf = ["evt"], Le = function(e, t) {
9570
9573
  oldDraggableIndex: _n,
9571
9574
  newIndex: Me,
9572
9575
  newDraggableIndex: _t,
9573
- hideGhostForTarget: ar,
9574
- unhideGhostForTarget: rr,
9576
+ hideGhostForTarget: rr,
9577
+ unhideGhostForTarget: lr,
9575
9578
  cloneNowHidden: function() {
9576
9579
  dt = !0;
9577
9580
  },
@@ -9599,14 +9602,14 @@ function Ce(e) {
9599
9602
  newDraggableIndex: _t
9600
9603
  }, e));
9601
9604
  }
9602
- 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 = za, Fs = On || ut ? "cssFloat" : "float", Ff = Lo && !Ja && !za && "draggable" in document.createElement("div"), or = function() {
9605
+ 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() {
9603
9606
  if (Lo) {
9604
9607
  if (ut)
9605
9608
  return !1;
9606
9609
  var e = document.createElement("x");
9607
9610
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
9608
9611
  }
9609
- }(), ir = function(e, t) {
9612
+ }(), sr = function(e, t) {
9610
9613
  var n = k(e), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), i = Jt(e, 0, t), s = Jt(e, 1, t), a = i && k(i), r = s && k(s), c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + de(i).width, _ = r && parseInt(r.marginLeft) + parseInt(r.marginRight) + de(s).width;
9611
9614
  if (n.display === "flex")
9612
9615
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
@@ -9630,7 +9633,7 @@ var T, ce, M, ae, Ct, Kn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, no = !1, oo =
9630
9633
  return n = o;
9631
9634
  }
9632
9635
  }), n;
9633
- }, sr = function(e) {
9636
+ }, ar = function(e) {
9634
9637
  function t(i, s) {
9635
9638
  return function(a, r, c, _) {
9636
9639
  var d = a.options.group.name && r.options.group.name && a.options.group.name === r.options.group.name;
@@ -9650,12 +9653,12 @@ var T, ce, M, ae, Ct, Kn, le, dt, $t, Me, _n, _t, Dn, Ee, Kt = !1, no = !1, oo =
9650
9653
  (!o || Yn(o) != "object") && (o = {
9651
9654
  name: o
9652
9655
  }), n.name = o.name, n.checkPull = t(o.pull, !0), n.checkPut = t(o.put), n.revertClone = o.revertClone, e.group = n;
9653
- }, ar = function() {
9654
- !or && M && k(M, "display", "none");
9655
9656
  }, rr = function() {
9656
- !or && M && k(M, "display", "");
9657
+ !ir && M && k(M, "display", "none");
9658
+ }, lr = function() {
9659
+ !ir && M && k(M, "display", "");
9657
9660
  };
9658
- Lo && !Ja && document.addEventListener("click", function(e) {
9661
+ Lo && !qa && document.addEventListener("click", function(e) {
9659
9662
  if (no)
9660
9663
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), no = !1, !1;
9661
9664
  }, !0);
@@ -9692,7 +9695,7 @@ function B(e, t) {
9692
9695
  // will be set to same as swapThreshold if default
9693
9696
  removeCloneOnHide: !0,
9694
9697
  direction: function() {
9695
- return ir(e, this.options);
9698
+ return sr(e, this.options);
9696
9699
  },
9697
9700
  ghostClass: "sortable-ghost",
9698
9701
  chosenClass: "sortable-chosen",
@@ -9725,7 +9728,7 @@ function B(e, t) {
9725
9728
  In.initializePlugins(this, e, n);
9726
9729
  for (var o in n)
9727
9730
  !(o in t) && (t[o] = n[o]);
9728
- sr(t);
9731
+ ar(t);
9729
9732
  for (var i in this)
9730
9733
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
9731
9734
  this.nativeDraggable = t.forceFallback ? !1 : Ff, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? z(e, "pointerdown", this._onTapStart) : (z(e, "mousedown", this._onTapStart), z(e, "touchstart", this._onTapStart)), this.nativeDraggable && (z(e, "dragover", this), z(e, "dragenter", this)), oo.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), lt(this, Pf());
@@ -9798,7 +9801,7 @@ B.prototype = /** @lends Sortable.prototype */
9798
9801
  originalEvent: e
9799
9802
  }), De(T, s.chosenClass, !0);
9800
9803
  }, s.ignore.split(",").forEach(function(_) {
9801
- Qa(T, _.trim(), Jo);
9804
+ Za(T, _.trim(), Jo);
9802
9805
  }), z(a, "dragover", yt), z(a, "mousemove", yt), z(a, "touchmove", yt), z(a, "mouseup", o._onDrop), z(a, "touchend", o._onDrop), z(a, "touchcancel", o._onDrop), Ms && this.nativeDraggable && (this.options.touchStartThreshold = 4, T.draggable = !0), Le("delayStart", this, {
9803
9806
  evt: e
9804
9807
  }), s.delay && (!s.delayOnTouchOnly || t) && (!this.nativeDraggable || !(On || ut))) {
@@ -9847,7 +9850,7 @@ B.prototype = /** @lends Sortable.prototype */
9847
9850
  },
9848
9851
  _emulateDragOver: function() {
9849
9852
  if (Ye) {
9850
- this._lastX = Ye.clientX, this._lastY = Ye.clientY, ar();
9853
+ this._lastX = Ye.clientX, this._lastY = Ye.clientY, rr();
9851
9854
  for (var e = document.elementFromPoint(Ye.clientX, Ye.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(Ye.clientX, Ye.clientY), e !== t); )
9852
9855
  t = e;
9853
9856
  if (T.parentNode[Pe]._isOutsideThisEl(e), t)
@@ -9864,7 +9867,7 @@ B.prototype = /** @lends Sortable.prototype */
9864
9867
  }
9865
9868
  e = t;
9866
9869
  } while (t = t.parentNode);
9867
- rr();
9870
+ lr();
9868
9871
  }
9869
9872
  },
9870
9873
  _onTouchMove: function(e) {
@@ -9909,7 +9912,7 @@ B.prototype = /** @lends Sortable.prototype */
9909
9912
  this._onDrop();
9910
9913
  return;
9911
9914
  }
9912
- Le("setupClone", this), B.eventCanceled || (le = tr(T), le.removeAttribute("id"), le.draggable = !1, le.style["will-change"] = "", this._hideClone(), De(le, this.options.chosenClass, !1), B.clone = le), n.cloneId = $n(function() {
9915
+ Le("setupClone", this), B.eventCanceled || (le = nr(T), le.removeAttribute("id"), le.draggable = !1, le.style["will-change"] = "", this._hideClone(), De(le, this.options.chosenClass, !1), B.clone = le), n.cloneId = $n(function() {
9913
9916
  Le("clone", n), !B.eventCanceled && (n.options.removeCloneOnHide || ae.insertBefore(le, T), n._hideClone(), Ce({
9914
9917
  sortable: n,
9915
9918
  name: "clone"
@@ -9998,7 +10001,7 @@ B.prototype = /** @lends Sortable.prototype */
9998
10001
  G = j === 1;
9999
10002
  var fe = xn(ae, t, T, o, n, i, e, G);
10000
10003
  if (fe !== !1)
10001
- return (fe === 1 || fe === -1) && (G = fe === 1), hi = !0, setTimeout(Gf, 30), S(), G && !R ? t.appendChild(T) : n.parentNode.insertBefore(T, G ? R : n), W && er(W, 0, ne - W.scrollTop), ce = T.parentNode, _e !== void 0 && !Mn && (Hn = Math.abs(_e - de(n)[N])), F(), C(!0);
10004
+ return (fe === 1 || fe === -1) && (G = fe === 1), hi = !0, setTimeout(Gf, 30), S(), G && !R ? t.appendChild(T) : n.parentNode.insertBefore(T, G ? R : n), W && tr(W, 0, ne - W.scrollTop), ce = T.parentNode, _e !== void 0 && !Mn && (Hn = Math.abs(_e - de(n)[N])), F(), C(!0);
10002
10005
  }
10003
10006
  if (t.contains(T))
10004
10007
  return C(!1);
@@ -10136,7 +10139,7 @@ B.prototype = /** @lends Sortable.prototype */
10136
10139
  if (t === void 0)
10137
10140
  return n[e];
10138
10141
  var o = In.modifyOption(this, e, t);
10139
- typeof o < "u" ? n[e] = o : n[e] = t, e === "group" && sr(n);
10142
+ typeof o < "u" ? n[e] = o : n[e] = t, e === "group" && ar(n);
10140
10143
  },
10141
10144
  /**
10142
10145
  * Destroy
@@ -10184,11 +10187,11 @@ function Gf() {
10184
10187
  hi = !1;
10185
10188
  }
10186
10189
  function jf(e, t, n) {
10187
- var o = de(Jt(n.el, 0, n.options, !0)), i = nr(n.el, n.options, M), s = 10;
10190
+ var o = de(Jt(n.el, 0, n.options, !0)), i = or(n.el, n.options, M), s = 10;
10188
10191
  return t ? e.clientX < i.left - s || e.clientY < o.top && e.clientX < o.right : e.clientY < i.top - s || e.clientY < o.bottom && e.clientX < o.left;
10189
10192
  }
10190
10193
  function Wf(e, t, n) {
10191
- var o = de(Pi(n.el, n.options.draggable)), i = nr(n.el, n.options, M), s = 10;
10194
+ var o = de(Pi(n.el, n.options.draggable)), i = or(n.el, n.options, M), s = 10;
10192
10195
  return t ? e.clientX > i.right + s || e.clientY > o.bottom && e.clientX > o.left : e.clientY > i.bottom + s || e.clientX > o.right && e.clientY > o.top;
10193
10196
  }
10194
10197
  function Xf(e, t, n, o, i, s, a, r) {
@@ -10232,19 +10235,19 @@ B.utils = {
10232
10235
  on: z,
10233
10236
  off: $,
10234
10237
  css: k,
10235
- find: Qa,
10238
+ find: Za,
10236
10239
  is: function(e, t) {
10237
10240
  return !!Ke(e, t, e, !1);
10238
10241
  },
10239
10242
  extend: Df,
10240
- throttle: Za,
10243
+ throttle: er,
10241
10244
  closest: Ke,
10242
10245
  toggleClass: De,
10243
- clone: tr,
10246
+ clone: nr,
10244
10247
  index: Ue,
10245
10248
  nextTick: $n,
10246
10249
  cancelNextTick: gi,
10247
- detectDirection: ir,
10250
+ detectDirection: sr,
10248
10251
  getChild: Jt
10249
10252
  };
10250
10253
  B.get = function(e) {
@@ -10324,7 +10327,7 @@ function Gn() {
10324
10327
  function Ys() {
10325
10328
  clearInterval(sn);
10326
10329
  }
10327
- var Zo = Za(function(e, t, n, o) {
10330
+ var Zo = er(function(e, t, n, o) {
10328
10331
  if (t.scroll) {
10329
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, d;
10330
10333
  Ti !== n && (Ti = n, Gn(), on = t.scroll, d = t.scrollFn, on === !0 && (on = gt(n, !0)));
@@ -10339,14 +10342,14 @@ var Zo = Za(function(e, t, n, o) {
10339
10342
  (pe[p].vx != X || pe[p].vy != Q || pe[p].el !== g) && (pe[p].el = g, pe[p].vx = X, pe[p].vy = Q, clearInterval(pe[p].pid), (X != 0 || Q != 0) && (_ = !0, pe[p].pid = setInterval((function() {
10340
10343
  o && this.layer === 0 && B.active._onTouchMove(so);
10341
10344
  var G = pe[this.layer].vy ? pe[this.layer].vy * r : 0, fe = pe[this.layer].vx ? pe[this.layer].vx * r : 0;
10342
- typeof d == "function" && d.call(B.dragged.parentNode[Pe], fe, G, e, so, pe[this.layer].el) !== "continue" || er(pe[this.layer].el, fe, G);
10345
+ typeof d == "function" && d.call(B.dragged.parentNode[Pe], fe, G, e, so, pe[this.layer].el) !== "continue" || tr(pe[this.layer].el, fe, G);
10343
10346
  }).bind({
10344
10347
  layer: p
10345
10348
  }), 24))), p++;
10346
10349
  } while (t.bubbleScroll && f !== c && (f = gt(f, !1)));
10347
10350
  mi = _;
10348
10351
  }
10349
- }, 30), lr = function(e) {
10352
+ }, 30), cr = function(e) {
10350
10353
  var t = e.originalEvent, n = e.putSortable, o = e.dragEl, i = e.activeSortable, s = e.dispatchSortableEvent, a = e.hideGhostForTarget, r = e.unhideGhostForTarget;
10351
10354
  if (t) {
10352
10355
  var c = n || i;
@@ -10372,7 +10375,7 @@ xi.prototype = {
10372
10375
  var o = Jt(this.sortable.el, this.startIndex, this.options);
10373
10376
  o ? this.sortable.el.insertBefore(t, o) : this.sortable.el.appendChild(t), this.sortable.animateAll(), n && n.animateAll();
10374
10377
  },
10375
- drop: lr
10378
+ drop: cr
10376
10379
  };
10377
10380
  lt(xi, {
10378
10381
  pluginName: "revertOnSpill"
@@ -10384,7 +10387,7 @@ Ui.prototype = {
10384
10387
  var t = e.dragEl, n = e.putSortable, o = n || this.sortable;
10385
10388
  o.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), o.animateAll();
10386
10389
  },
10387
- drop: lr
10390
+ drop: cr
10388
10391
  };
10389
10392
  lt(Ui, {
10390
10393
  pluginName: "removeOnSpill"
@@ -10395,19 +10398,19 @@ function Zf(e) {
10395
10398
  return e == null ? e : JSON.parse(JSON.stringify(e));
10396
10399
  }
10397
10400
  function eh(e) {
10398
- ro() && Fr(e);
10401
+ ro() && Yr(e);
10399
10402
  }
10400
10403
  function th(e) {
10401
10404
  ro() ? Wt(e) : vi(e);
10402
10405
  }
10403
- let cr = null, ur = null;
10406
+ let ur = null, _r = null;
10404
10407
  function Ks(e = null, t = null) {
10405
- cr = e, ur = t;
10408
+ ur = e, _r = t;
10406
10409
  }
10407
10410
  function nh() {
10408
10411
  return {
10409
- data: cr,
10410
- clonedData: ur
10412
+ data: ur,
10413
+ clonedData: _r
10411
10414
  };
10412
10415
  }
10413
10416
  const Hs = Symbol("cloneElement");
@@ -10505,7 +10508,7 @@ function oh(...e) {
10505
10508
  }
10506
10509
  function H() {
10507
10510
  var L;
10508
- const N = (L = w(r)) != null ? L : {}, W = Wa(N, ["immediate", "clone"]);
10511
+ const N = (L = w(r)) != null ? L : {}, W = Xa(N, ["immediate", "clone"]);
10509
10512
  return Rs(W, (ne, X) => {
10510
10513
  yf(ne) && (W[ne] = (Q, ...R) => {
10511
10514
  const G = nh();
@@ -10612,7 +10615,7 @@ const Ei = [
10612
10615
  const f = `on${p.replace(/^\S/, (g) => g.toUpperCase())}`;
10613
10616
  return d[f] = (...g) => n(p, ...g), d;
10614
10617
  }, {}), a = Te(() => {
10615
- const d = wr(e), p = Wa(d, ["modelValue"]), f = Object.entries(p).reduce((g, [b, E]) => {
10618
+ const d = Vr(e), p = Xa(d, ["modelValue"]), f = Object.entries(p).reduce((g, [b, E]) => {
10616
10619
  const S = w(E);
10617
10620
  return S !== void 0 && (g[b] = S), g;
10618
10621
  }, {});
@@ -10620,7 +10623,7 @@ const Ei = [
10620
10623
  }), r = Te({
10621
10624
  get: () => e.modelValue,
10622
10625
  set: (d) => n("update:modelValue", d)
10623
- }), c = At(), _ = Vr(
10626
+ }), c = At(), _ = Fr(
10624
10627
  oh(e.target || c, r, a)
10625
10628
  );
10626
10629
  return o(_), () => {
@@ -10654,8 +10657,8 @@ const Ei = [
10654
10657
  pointerEvents: "none"
10655
10658
  }));
10656
10659
  return (d, p) => {
10657
- const f = Ae("v-spacer"), g = Ae("v-icon"), b = Yr("ripple");
10658
- return Kr((he(), mt("div", {
10660
+ const f = Ae("v-spacer"), g = Ae("v-icon"), b = Kr("ripple");
10661
+ return Hr((he(), mt("div", {
10659
10662
  class: "d-flex align-center cursor-pointer",
10660
10663
  style: ot(c.value),
10661
10664
  onClick: p[1] || (p[1] = (E) => a("x-click", s.id)),
@@ -10746,7 +10749,7 @@ const Ei = [
10746
10749
  let S = -10;
10747
10750
  E !== "" && (S = f.getBlockById(E).getRelativeToSurfaceXY().y + 10);
10748
10751
  const C = b.getRelativeToSurfaceXY();
10749
- b.moveTo(new I.Coordinate(C.x, S)), We.emit("cleanWorkspace"), Va();
10752
+ b.moveTo(new I.Coordinate(C.x, S)), We.emit("cleanWorkspace"), Fa();
10750
10753
  }, { open: _ } = po("blocklyNavigatorDlg"), d = async (p) => {
10751
10754
  const f = Et();
10752
10755
  if (!f) {
@@ -10754,7 +10757,7 @@ const Ei = [
10754
10757
  return;
10755
10758
  }
10756
10759
  const g = f.getBlockById(p);
10757
- qr.setSelected(g), wa(p), _.value = !1;
10760
+ Qr.setSelected(g), Va(p), _.value = !1;
10758
10761
  };
10759
10762
  return (p, f) => o.value.length > 0 ? (he(), $e(w(sh), {
10760
10763
  key: 0,
@@ -10768,7 +10771,7 @@ const Ei = [
10768
10771
  onEnd: c
10769
10772
  }, {
10770
10773
  default: Xe(() => [
10771
- (he(!0), mt(ea, null, Hr(o.value, (g) => (he(), $e(rh, {
10774
+ (he(!0), mt(ea, null, $r(o.value, (g) => (he(), $e(rh, {
10772
10775
  id: g.id,
10773
10776
  key: g.id,
10774
10777
  title: g.name,
@@ -10779,23 +10782,23 @@ const Ei = [
10779
10782
  _: 1
10780
10783
  }, 8, ["modelValue"])) : (he(), mt("span", lh, lo(w(t)("x-block-lib.noOption")), 1));
10781
10784
  }
10782
- }), _r = (e, t) => {
10785
+ }), pr = (e, t) => {
10783
10786
  const n = e.__vccOpts || e;
10784
10787
  for (const [o, i] of t)
10785
10788
  n[o] = i;
10786
10789
  return n;
10787
- }, uh = /* @__PURE__ */ _r(ch, [["__scopeId", "data-v-448cc5cd"]]), _h = {};
10790
+ }, uh = /* @__PURE__ */ pr(ch, [["__scopeId", "data-v-448cc5cd"]]), _h = {};
10788
10791
  function ph(e, t) {
10789
10792
  return he(), mt("div", null, "blockTree");
10790
10793
  }
10791
- const dh = /* @__PURE__ */ _r(_h, [["render", ph]]), fh = { class: "text-subtitle-1 ml-3" }, hh = /* @__PURE__ */ Qe({
10794
+ const dh = /* @__PURE__ */ pr(_h, [["render", ph]]), fh = { class: "text-subtitle-1 ml-3" }, hh = /* @__PURE__ */ Qe({
10792
10795
  __name: "index",
10793
10796
  props: {
10794
10797
  type: {},
10795
10798
  lock: { type: Boolean }
10796
10799
  },
10797
10800
  setup(e) {
10798
- const { t } = En(), n = sl(), { sysBarAvail: o } = aa(), { backgroundColor1: i } = _o(), s = e, a = Te(() => {
10801
+ const { t } = En(), n = al(), { sysBarAvail: o } = aa(), { backgroundColor1: i } = _o(), s = e, a = Te(() => {
10799
10802
  let d = "100%";
10800
10803
  return n.mdAndUp.value && (d = "400px"), {
10801
10804
  background: i.value,
@@ -10847,7 +10850,7 @@ const dh = /* @__PURE__ */ _r(_h, [["render", ph]]), fh = { class: "text-subtitl
10847
10850
  }, {
10848
10851
  default: Xe(() => [
10849
10852
  ge(g, {
10850
- icon: w($a),
10853
+ icon: w(Ga),
10851
10854
  onClick: p[0] || (p[0] = (C) => _.value = !1)
10852
10855
  }, null, 8, ["icon"]),
10853
10856
  He("span", fh, lo(w(t)("x-block-lib.navigator")), 1)
@@ -10916,7 +10919,7 @@ const dh = /* @__PURE__ */ _r(_h, [["render", ph]]), fh = { class: "text-subtitl
10916
10919
  };
10917
10920
  function gh(e, t, n) {
10918
10921
  $s.toolbox = Th(t, n);
10919
- const o = Qr(e, $s);
10922
+ const o = Zr(e, $s);
10920
10923
  return mh(o, t, n), Eh(o), o;
10921
10924
  }
10922
10925
  function Th(e, t) {
@@ -10960,7 +10963,7 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
10960
10963
  }),
10961
10964
  emits: /* @__PURE__ */ Wi(["ready"], ["update:lock", "update:scale"]),
10962
10965
  setup(e, { expose: t, emit: n }) {
10963
- const o = il(), { locale: i, dark: s } = tl(o), a = ti(e, "lock"), r = ti(e, "scale"), c = e, _ = n, d = At();
10966
+ const o = sl(), { locale: i, dark: s } = nl(o), a = ti(e, "lock"), r = ti(e, "scale"), c = e, _ = n, d = At();
10964
10967
  let p;
10965
10968
  const f = At(!1), g = Te(() => c.type === "json" ? "tree" : "list"), b = Te(() => ({
10966
10969
  position: "absolute",
@@ -10999,11 +11002,11 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
10999
11002
  }), Wn(() => {
11000
11003
  C.value = !1;
11001
11004
  }), pl(d, () => {
11002
- p && Zr(p);
11005
+ p && el(p);
11003
11006
  });
11004
11007
  async function F(R) {
11005
11008
  if (R.type === V.FINISHED_LOADING) {
11006
- Va(), We.emit("codeUpdate"), f.value = !1;
11009
+ Fa(), We.emit("codeUpdate"), f.value = !1;
11007
11010
  return;
11008
11011
  }
11009
11012
  f.value || (R.type === V.VIEWPORT_CHANGE && (r.value = p.getScale()), We.emit("codeUpdate"));
@@ -11096,14 +11099,14 @@ const Ah = { class: "position-relative w-100 h-100" }, vh = /* @__PURE__ */ Qe({
11096
11099
  };
11097
11100
  }
11098
11101
  });
11099
- function pr(e) {
11102
+ function dr(e) {
11100
11103
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
11101
11104
  throw new Error("map is read-only");
11102
11105
  } : e instanceof Set && (e.add = e.clear = e.delete = function() {
11103
11106
  throw new Error("set is read-only");
11104
11107
  }), Object.freeze(e), Object.getOwnPropertyNames(e).forEach((t) => {
11105
11108
  const n = e[t], o = typeof n;
11106
- (o === "object" || o === "function") && !Object.isFrozen(n) && pr(n);
11109
+ (o === "object" || o === "function") && !Object.isFrozen(n) && dr(n);
11107
11110
  }), e;
11108
11111
  }
11109
11112
  class Gs {
@@ -11117,7 +11120,7 @@ class Gs {
11117
11120
  this.isMatchIgnored = !0;
11118
11121
  }
11119
11122
  }
11120
- function dr(e) {
11123
+ function fr(e) {
11121
11124
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
11122
11125
  }
11123
11126
  function Tt(e, ...t) {
@@ -11157,7 +11160,7 @@ class Ih {
11157
11160
  *
11158
11161
  * @param {string} text */
11159
11162
  addText(t) {
11160
- this.buffer += dr(t);
11163
+ this.buffer += fr(t);
11161
11164
  }
11162
11165
  /**
11163
11166
  * Adds a node open to the output stream (if needed)
@@ -11287,7 +11290,7 @@ class yh extends wi {
11287
11290
  function Tn(e) {
11288
11291
  return e ? typeof e == "string" ? e : e.source : null;
11289
11292
  }
11290
- function fr(e) {
11293
+ function hr(e) {
11291
11294
  return Pt("(?=", e, ")");
11292
11295
  }
11293
11296
  function Ch(e) {
@@ -11306,7 +11309,7 @@ function Lh(e) {
11306
11309
  function Vi(...e) {
11307
11310
  return "(" + (Lh(e).capture ? "" : "?:") + e.map((o) => Tn(o)).join("|") + ")";
11308
11311
  }
11309
- function hr(e) {
11312
+ function gr(e) {
11310
11313
  return new RegExp(e.toString() + "|").exec("").length - 1;
11311
11314
  }
11312
11315
  function Nh(e, t) {
@@ -11331,7 +11334,7 @@ function Fi(e, { joinWith: t }) {
11331
11334
  return a;
11332
11335
  }).map((o) => `(${o})`).join(t);
11333
11336
  }
11334
- const Bh = /\b\B/, gr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", Tr = "\\b\\d+(\\.\\d+)?", mr = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Er = "\\b(0b[01]+)", Rh = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Dh = (e = {}) => {
11337
+ const Bh = /\b\B/, Tr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", mr = "\\b\\d+(\\.\\d+)?", Er = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Ar = "\\b(0b[01]+)", Rh = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Dh = (e = {}) => {
11335
11338
  const t = /^#![ ]*\//;
11336
11339
  return e.binary && (e.begin = Pt(
11337
11340
  t,
@@ -11433,15 +11436,15 @@ const Bh = /\b\B/, gr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", Tr = "\\b\\d+(\\.\
11433
11436
  ), o;
11434
11437
  }, Uh = No("//", "$"), wh = No("/\\*", "\\*/"), Vh = No("#", "$"), Fh = {
11435
11438
  scope: "number",
11436
- begin: Tr,
11439
+ begin: mr,
11437
11440
  relevance: 0
11438
11441
  }, Yh = {
11439
11442
  scope: "number",
11440
- begin: mr,
11443
+ begin: Er,
11441
11444
  relevance: 0
11442
11445
  }, Kh = {
11443
11446
  scope: "number",
11444
- begin: Er,
11447
+ begin: Ar,
11445
11448
  relevance: 0
11446
11449
  }, Hh = {
11447
11450
  scope: "regexp",
@@ -11458,7 +11461,7 @@ const Bh = /\b\B/, gr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", Tr = "\\b\\d+(\\.\
11458
11461
  ]
11459
11462
  }, $h = {
11460
11463
  scope: "title",
11461
- begin: gr,
11464
+ begin: Tr,
11462
11465
  relevance: 0
11463
11466
  }, Gh = {
11464
11467
  scope: "title",
@@ -11488,19 +11491,19 @@ var Un = /* @__PURE__ */ Object.freeze({
11488
11491
  APOS_STRING_MODE: Mh,
11489
11492
  BACKSLASH_ESCAPE: mn,
11490
11493
  BINARY_NUMBER_MODE: Kh,
11491
- BINARY_NUMBER_RE: Er,
11494
+ BINARY_NUMBER_RE: Ar,
11492
11495
  COMMENT: No,
11493
11496
  C_BLOCK_COMMENT_MODE: wh,
11494
11497
  C_LINE_COMMENT_MODE: Uh,
11495
11498
  C_NUMBER_MODE: Yh,
11496
- C_NUMBER_RE: mr,
11499
+ C_NUMBER_RE: Er,
11497
11500
  END_SAME_AS_BEGIN: Wh,
11498
11501
  HASH_COMMENT_MODE: Vh,
11499
- IDENT_RE: gr,
11502
+ IDENT_RE: Tr,
11500
11503
  MATCH_NOTHING_RE: Bh,
11501
11504
  METHOD_GUARD: jh,
11502
11505
  NUMBER_MODE: Fh,
11503
- NUMBER_RE: Tr,
11506
+ NUMBER_RE: mr,
11504
11507
  PHRASAL_WORDS_MODE: xh,
11505
11508
  QUOTE_STRING_MODE: Ph,
11506
11509
  REGEXP_MODE: Hh,
@@ -11537,7 +11540,7 @@ const eg = (e, t) => {
11537
11540
  const n = Object.assign({}, e);
11538
11541
  Object.keys(e).forEach((o) => {
11539
11542
  delete e[o];
11540
- }), e.keywords = n.keywords, e.begin = Pt(n.beforeMatch, fr(n.begin)), e.starts = {
11543
+ }), e.keywords = n.keywords, e.begin = Pt(n.beforeMatch, hr(n.begin)), e.starts = {
11541
11544
  relevance: 0,
11542
11545
  contains: [
11543
11546
  Object.assign(n, { endsParent: !0 })
@@ -11559,12 +11562,12 @@ const eg = (e, t) => {
11559
11562
  "value"
11560
11563
  // common variable name
11561
11564
  ], ng = "keyword";
11562
- function Ar(e, t, n = ng) {
11565
+ function vr(e, t, n = ng) {
11563
11566
  const o = /* @__PURE__ */ Object.create(null);
11564
11567
  return typeof e == "string" ? i(n, e.split(" ")) : Array.isArray(e) ? i(n, e) : Object.keys(e).forEach(function(s) {
11565
11568
  Object.assign(
11566
11569
  o,
11567
- Ar(e[s], t, s)
11570
+ vr(e[s], t, s)
11568
11571
  );
11569
11572
  }), o;
11570
11573
  function i(s, a) {
@@ -11587,11 +11590,11 @@ const Xs = {}, Lt = (e) => {
11587
11590
  }, Ft = (e, t) => {
11588
11591
  Xs[`${e}/${t}`] || (console.log(`Deprecated as of ${e}. ${t}`), Xs[`${e}/${t}`] = !0);
11589
11592
  }, ao = new Error();
11590
- function vr(e, t, { key: n }) {
11593
+ function br(e, t, { key: n }) {
11591
11594
  let o = 0;
11592
11595
  const i = e[n], s = {}, a = {};
11593
11596
  for (let r = 1; r <= t.length; r++)
11594
- a[r + o] = i[r], s[r + o] = !0, o += hr(t[r - 1]);
11597
+ a[r + o] = i[r], s[r + o] = !0, o += gr(t[r - 1]);
11595
11598
  e[n] = a, e[n]._emit = s, e[n]._multi = !0;
11596
11599
  }
11597
11600
  function sg(e) {
@@ -11600,7 +11603,7 @@ function sg(e) {
11600
11603
  throw Lt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), ao;
11601
11604
  if (typeof e.beginScope != "object" || e.beginScope === null)
11602
11605
  throw Lt("beginScope must be object"), ao;
11603
- vr(e, e.begin, { key: "beginScope" }), e.begin = Fi(e.begin, { joinWith: "" });
11606
+ br(e, e.begin, { key: "beginScope" }), e.begin = Fi(e.begin, { joinWith: "" });
11604
11607
  }
11605
11608
  }
11606
11609
  function ag(e) {
@@ -11609,7 +11612,7 @@ function ag(e) {
11609
11612
  throw Lt("skip, excludeEnd, returnEnd not compatible with endScope: {}"), ao;
11610
11613
  if (typeof e.endScope != "object" || e.endScope === null)
11611
11614
  throw Lt("endScope must be object"), ao;
11612
- vr(e, e.end, { key: "endScope" }), e.end = Fi(e.end, { joinWith: "" });
11615
+ br(e, e.end, { key: "endScope" }), e.end = Fi(e.end, { joinWith: "" });
11613
11616
  }
11614
11617
  }
11615
11618
  function rg(e) {
@@ -11631,7 +11634,7 @@ function cg(e) {
11631
11634
  }
11632
11635
  // @ts-ignore
11633
11636
  addRule(r, c) {
11634
- c.position = this.position++, this.matchIndexes[this.matchAt] = c, this.regexes.push([c, r]), this.matchAt += hr(r) + 1;
11637
+ c.position = this.position++, this.matchIndexes[this.matchAt] = c, this.regexes.push([c, r]), this.matchAt += gr(r) + 1;
11635
11638
  }
11636
11639
  compile() {
11637
11640
  this.regexes.length === 0 && (this.exec = () => null);
@@ -11706,7 +11709,7 @@ function cg(e) {
11706
11709
  Zh
11707
11710
  ].forEach((d) => d(a, r)), a.isCompiled = !0;
11708
11711
  let _ = null;
11709
- return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), _ = a.keywords.$pattern, delete a.keywords.$pattern), _ = _ || /\w+/, a.keywords && (a.keywords = Ar(a.keywords, e.case_insensitive)), c.keywordPatternRe = t(_, !0), r && (a.begin || (a.begin = /\B|\b/), c.beginRe = t(c.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (c.endRe = t(c.end)), c.terminatorEnd = Tn(c.end) || "", a.endsWithParent && r.terminatorEnd && (c.terminatorEnd += (a.end ? "|" : "") + r.terminatorEnd)), a.illegal && (c.illegalRe = t(
11712
+ return typeof a.keywords == "object" && a.keywords.$pattern && (a.keywords = Object.assign({}, a.keywords), _ = a.keywords.$pattern, delete a.keywords.$pattern), _ = _ || /\w+/, a.keywords && (a.keywords = vr(a.keywords, e.case_insensitive)), c.keywordPatternRe = t(_, !0), r && (a.begin || (a.begin = /\B|\b/), c.beginRe = t(c.begin), !a.end && !a.endsWithParent && (a.end = /\B|\b/), a.end && (c.endRe = t(c.end)), c.terminatorEnd = Tn(c.end) || "", a.endsWithParent && r.terminatorEnd && (c.terminatorEnd += (a.end ? "|" : "") + r.terminatorEnd)), a.illegal && (c.illegalRe = t(
11710
11713
  /** @type {RegExp | string} */
11711
11714
  a.illegal
11712
11715
  )), a.contains || (a.contains = []), a.contains = [].concat(...a.contains.map(function(d) {
@@ -11726,13 +11729,13 @@ function cg(e) {
11726
11729
  e
11727
11730
  );
11728
11731
  }
11729
- function br(e) {
11730
- return e ? e.endsWithParent || br(e.starts) : !1;
11732
+ function Or(e) {
11733
+ return e ? e.endsWithParent || Or(e.starts) : !1;
11731
11734
  }
11732
11735
  function ug(e) {
11733
11736
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
11734
11737
  return Tt(e, { variants: null }, t);
11735
- })), e.cachedVariants ? e.cachedVariants : br(e) ? Tt(e, { starts: e.starts ? Tt(e.starts) : null }) : Object.isFrozen(e) ? Tt(e) : e;
11738
+ })), e.cachedVariants ? e.cachedVariants : Or(e) ? Tt(e, { starts: e.starts ? Tt(e.starts) : null }) : Object.isFrozen(e) ? Tt(e) : e;
11736
11739
  }
11737
11740
  var _g = "11.10.0";
11738
11741
  class pg extends Error {
@@ -11740,7 +11743,7 @@ class pg extends Error {
11740
11743
  super(t), this.name = "HTMLInjectionError", this.html = n;
11741
11744
  }
11742
11745
  }
11743
- const ei = dr, Js = Tt, qs = Symbol("nomatch"), dg = 7, Or = function(e) {
11746
+ const ei = fr, Js = Tt, qs = Symbol("nomatch"), dg = 7, Ir = function(e) {
11744
11747
  const t = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), o = [];
11745
11748
  let i = !0;
11746
11749
  const s = "Could not find the language '{}', did you forget to load/include a language module?", a = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -11798,12 +11801,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11798
11801
  x += oe.substring(m, y.index);
11799
11802
  const J = je.case_insensitive ? y[0].toLowerCase() : y[0], be = Ie(P, J);
11800
11803
  if (be) {
11801
- const [tt, Rr] = be;
11802
- if (me.addText(x), x = "", se[J] = (se[J] || 0) + 1, se[J] <= dg && (Sn += Rr), tt.startsWith("_"))
11804
+ const [tt, Dr] = be;
11805
+ if (me.addText(x), x = "", se[J] = (se[J] || 0) + 1, se[J] <= dg && (Sn += Dr), tt.startsWith("_"))
11803
11806
  x += y[0];
11804
11807
  else {
11805
- const Dr = je.classNameAliases[tt] || tt;
11806
- Ge(y[0], Dr);
11808
+ const Mr = je.classNameAliases[tt] || tt;
11809
+ Ge(y[0], Mr);
11807
11810
  }
11808
11811
  } else
11809
11812
  x += y[0];
@@ -11862,17 +11865,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11862
11865
  if (m.endsWithParent)
11863
11866
  return $i(m.parent, y, x);
11864
11867
  }
11865
- function Sr(m) {
11868
+ function Lr(m) {
11866
11869
  return P.matcher.regexIndex === 0 ? (oe += m[0], 1) : (Ro = !0, 0);
11867
11870
  }
11868
- function Lr(m) {
11871
+ function Nr(m) {
11869
11872
  const y = m[0], x = m.rule, J = new Gs(x), be = [x.__beforeBegin, x["on:begin"]];
11870
11873
  for (const tt of be)
11871
11874
  if (tt && (tt(m, J), J.isMatchIgnored))
11872
- return Sr(y);
11875
+ return Lr(y);
11873
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;
11874
11877
  }
11875
- function Nr(m) {
11878
+ function kr(m) {
11876
11879
  const y = m[0], x = A.substring(m.index), J = $i(P, m, x);
11877
11880
  if (!J)
11878
11881
  return qs;
@@ -11883,7 +11886,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11883
11886
  while (P !== J.parent);
11884
11887
  return J.starts && Hi(J.starts, m), be.returnEnd ? 0 : y.length;
11885
11888
  }
11886
- function kr() {
11889
+ function Br() {
11887
11890
  const m = [];
11888
11891
  for (let y = P; y !== je; y = y.parent)
11889
11892
  y.scope && m.unshift(y.scope);
@@ -11902,12 +11905,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11902
11905
  return 1;
11903
11906
  }
11904
11907
  if (Cn = y, y.type === "begin")
11905
- return Lr(y);
11908
+ return Nr(y);
11906
11909
  if (y.type === "illegal" && !D) {
11907
11910
  const J = new Error('Illegal lexeme "' + x + '" for mode "' + (P.scope || "<unnamed>") + '"');
11908
11911
  throw J.mode = P, J;
11909
11912
  } else if (y.type === "end") {
11910
- const J = Nr(y);
11913
+ const J = kr(y);
11911
11914
  if (J !== qs)
11912
11915
  return J;
11913
11916
  }
@@ -11920,10 +11923,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
11920
11923
  const je = N(h);
11921
11924
  if (!je)
11922
11925
  throw Lt(s.replace("{}", h)), new Error('Unknown language: "' + h + '"');
11923
- const Br = cg(je);
11924
- let ko = "", P = Y || Br;
11926
+ const Rr = cg(je);
11927
+ let ko = "", P = Y || Rr;
11925
11928
  const ji = {}, me = new r.__emitter(r);
11926
- kr();
11929
+ Br();
11927
11930
  let oe = "", Sn = 0, Ot = 0, Bo = 0, Ro = !1;
11928
11931
  try {
11929
11932
  if (je.__emitTokens)
@@ -12141,20 +12144,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D ===
12141
12144
  i = !0;
12142
12145
  }, e.versionString = _g, e.regex = {
12143
12146
  concat: Pt,
12144
- lookahead: fr,
12147
+ lookahead: hr,
12145
12148
  either: Vi,
12146
12149
  optional: Sh,
12147
12150
  anyNumberOfTimes: Ch
12148
12151
  };
12149
12152
  for (const h in Un)
12150
- typeof Un[h] == "object" && pr(Un[h]);
12153
+ typeof Un[h] == "object" && dr(Un[h]);
12151
12154
  return Object.assign(e, Un), e;
12152
- }, qt = Or({});
12153
- qt.newInstance = () => Or({});
12155
+ }, qt = Ir({});
12156
+ qt.newInstance = () => Ir({});
12154
12157
  var fg = qt;
12155
12158
  qt.HighlightJS = qt;
12156
12159
  qt.default = qt;
12157
- const jn = /* @__PURE__ */ el(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12160
+ const jn = /* @__PURE__ */ tl(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12158
12161
  "as",
12159
12162
  // for exports
12160
12163
  "in",
@@ -12204,7 +12207,7 @@ const jn = /* @__PURE__ */ el(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12204
12207
  "undefined",
12205
12208
  "NaN",
12206
12209
  "Infinity"
12207
- ], Ir = [
12210
+ ], yr = [
12208
12211
  // Fundamental objects
12209
12212
  "Object",
12210
12213
  "Function",
@@ -12254,7 +12257,7 @@ const jn = /* @__PURE__ */ el(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12254
12257
  "Intl",
12255
12258
  // WebAssembly
12256
12259
  "WebAssembly"
12257
- ], yr = [
12260
+ ], Cr = [
12258
12261
  "Error",
12259
12262
  "EvalError",
12260
12263
  "InternalError",
@@ -12263,7 +12266,7 @@ const jn = /* @__PURE__ */ el(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12263
12266
  "SyntaxError",
12264
12267
  "TypeError",
12265
12268
  "URIError"
12266
- ], Cr = [
12269
+ ], Sr = [
12267
12270
  "setInterval",
12268
12271
  "setTimeout",
12269
12272
  "clearInterval",
@@ -12294,9 +12297,9 @@ const jn = /* @__PURE__ */ el(fg), Qs = "[A-Za-z$_][0-9A-Za-z$_]*", hg = [
12294
12297
  "global"
12295
12298
  // Node.js
12296
12299
  ], mg = [].concat(
12297
- Cr,
12298
- Ir,
12299
- yr
12300
+ Sr,
12301
+ yr,
12302
+ Cr
12300
12303
  );
12301
12304
  function Eg(e) {
12302
12305
  const t = e.regex, n = (A, { after: D }) => {
@@ -12551,8 +12554,8 @@ function Eg(e) {
12551
12554
  keywords: {
12552
12555
  _: [
12553
12556
  // se we still get relevance credit for JS library classes
12554
- ...Ir,
12555
- ...yr
12557
+ ...yr,
12558
+ ...Cr
12556
12559
  ]
12557
12560
  }
12558
12561
  }, N = {
@@ -12597,7 +12600,7 @@ function Eg(e) {
12597
12600
  match: t.concat(
12598
12601
  /\b/,
12599
12602
  X([
12600
- ...Cr,
12603
+ ...Sr,
12601
12604
  "super",
12602
12605
  "import"
12603
12606
  ].map((A) => `${A}\\s*\\(`)),
@@ -12904,7 +12907,7 @@ const vg = /* @__PURE__ */ Qe({
12904
12907
  }, {
12905
12908
  default: Xe(() => [
12906
12909
  ge(f, {
12907
- icon: w($a),
12910
+ icon: w(Ga),
12908
12911
  onClick: d[0] || (d[0] = (E) => c.value = !1)
12909
12912
  }, null, 8, ["icon"]),
12910
12913
  He("span", bg, lo(w(t)("x-block-lib.dlg.source.title")), 1),
@@ -12929,7 +12932,7 @@ const vg = /* @__PURE__ */ Qe({
12929
12932
  e.component("XBlockly", vh), e.component("XSourceDlg", Og);
12930
12933
  };
12931
12934
  async function Mg(e) {
12932
- return (await Ua(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-owbcs4f2.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-bw16iab9.js") }), `./locales/${e}/index.ts`, 4)).default;
12935
+ return (await wa(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-owbcs4f2.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-bw16iab9.js") }), `./locales/${e}/index.ts`, 4)).default;
12933
12936
  }
12934
12937
  const Pg = { install: Ig };
12935
12938
  export {