x-block-lib 0.5.2 → 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.
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 Dr = Object.defineProperty;
11
- var Pr = (e, t, n) => t in e ? Dr(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 Mo, l as Yt, m as Ln, n as Do, 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);
@@ -408,23 +411,23 @@ function Rt(e) {
408
411
  }
409
412
  return "";
410
413
  }
411
- var Ml = /[\\^$.*+?()[\]{}|]/g, Dl = /^\[object .+?Constructor\]$/, Pl = Function.prototype, xl = Object.prototype, Ul = Pl.toString, wl = xl.hasOwnProperty, Vl = RegExp(
412
- "^" + Ul.call(wl).replace(Ml, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
414
+ var Dl = /[\\^$.*+?()[\]{}|]/g, Ml = /^\[object .+?Constructor\]$/, Pl = Function.prototype, xl = Object.prototype, Ul = Pl.toString, wl = xl.hasOwnProperty, Vl = RegExp(
415
+ "^" + Ul.call(wl).replace(Dl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
413
416
  );
414
417
  function Fl(e) {
415
418
  if (!vn(e) || kl(e))
416
419
  return !1;
417
- var t = ua(e) ? Vl : Dl;
420
+ var t = _a(e) ? Vl : Ml;
418
421
  return t.test(Rt(e));
419
422
  }
420
423
  function Yl(e, t) {
421
424
  return e == null ? void 0 : e[t];
422
425
  }
423
- function Mt(e, t) {
426
+ function Dt(e, t) {
424
427
  var n = Yl(e, t);
425
428
  return Fl(n) ? n : void 0;
426
429
  }
427
- var ii = Mt(et, "WeakMap"), Zi = Object.create, Kl = /* @__PURE__ */ function() {
430
+ var ii = Dt(et, "WeakMap"), Zi = Object.create, Kl = /* @__PURE__ */ function() {
428
431
  function e() {
429
432
  }
430
433
  return function(t) {
@@ -445,7 +448,7 @@ function Hl(e, t) {
445
448
  }
446
449
  var es = function() {
447
450
  try {
448
- var e = Mt(Object, "defineProperty");
451
+ var e = Dt(Object, "defineProperty");
449
452
  return e({}, "", {}), e;
450
453
  } catch {
451
454
  }
@@ -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,22 +545,22 @@ 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 Mc = Ea(Object.keys, Object), Dc = Object.prototype, Pc = Dc.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
- return Mc(e);
556
+ return Dc(e);
554
557
  var t = [];
555
558
  for (var n in Object(e))
556
559
  Pc.call(e, n) && n != "constructor" && t.push(n);
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,9 +579,9 @@ 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
- var hn = Mt(Object, "create");
584
+ var hn = Dt(Object, "create");
582
585
  function Fc() {
583
586
  this.__data__ = hn ? hn(null) : {}, this.size = 0;
584
587
  }
@@ -657,7 +660,7 @@ ct.prototype.delete = eu;
657
660
  ct.prototype.get = tu;
658
661
  ct.prototype.has = nu;
659
662
  ct.prototype.set = ou;
660
- var gn = Mt(et, "Map");
663
+ var gn = Dt(et, "Map");
661
664
  function iu() {
662
665
  this.size = 0, this.__data__ = {
663
666
  hash: new kt(),
@@ -687,24 +690,24 @@ function cu(e, t) {
687
690
  var n = To(this, e), o = n.size;
688
691
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
689
692
  }
690
- function Dt(e) {
693
+ function Mt(e) {
691
694
  var t = -1, n = e == null ? 0 : e.length;
692
695
  for (this.clear(); ++t < n; ) {
693
696
  var o = e[t];
694
697
  this.set(o[0], o[1]);
695
698
  }
696
699
  }
697
- Dt.prototype.clear = iu;
698
- Dt.prototype.delete = au;
699
- Dt.prototype.get = ru;
700
- Dt.prototype.has = lu;
701
- Dt.prototype.set = cu;
702
- function va(e, t) {
700
+ Mt.prototype.clear = iu;
701
+ Mt.prototype.delete = au;
702
+ Mt.prototype.get = ru;
703
+ Mt.prototype.has = lu;
704
+ Mt.prototype.set = cu;
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
  }
@@ -725,7 +728,7 @@ function hu(e, t) {
725
728
  var o = n.__data__;
726
729
  if (!gn || o.length < fu - 1)
727
730
  return o.push([e, t]), this.size = ++n.size, this;
728
- n = this.__data__ = new Dt(o);
731
+ n = this.__data__ = new Mt(o);
729
732
  }
730
733
  return n.set(e, t), this.size = n.size, this;
731
734
  }
@@ -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,36 +761,36 @@ 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
- var ai = Mt(et, "DataView"), ri = Mt(et, "Promise"), li = Mt(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;
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) {
792
795
  var t = An(e), n = t == Su ? e.constructor : void 0, o = n ? Rt(n) : "";
793
796
  if (o)
@@ -805,10 +808,10 @@ var ai = Mt(et, "DataView"), ri = Mt(et, "Promise"), li = Mt(et, "Set"), cs = "[
805
808
  }
806
809
  return t;
807
810
  });
808
- var Mu = Object.prototype, Du = Mu.hasOwnProperty;
811
+ var Du = Object.prototype, Mu = Du.hasOwnProperty;
809
812
  function Pu(e) {
810
813
  var t = e.length, n = new e.constructor(t);
811
- return t && typeof e[0] == "string" && Du.call(e, "index") && (n.index = e.index, n.input = e.input), n;
814
+ return t && typeof e[0] == "string" && Mu.call(e, "index") && (n.index = e.index, n.input = e.input), n;
812
815
  }
813
816
  var Xn = et.Uint8Array;
814
817
  function Bi(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]", M_ = "[object Int8Array]", D_ = "[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[M_] = Z[D_] = 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;
@@ -930,7 +933,7 @@ function G_(e) {
930
933
  }
931
934
  function zn(e) {
932
935
  var t = -1, n = e == null ? 0 : e.length;
933
- for (this.__data__ = new Dt(); ++t < n; )
936
+ for (this.__data__ = new Mt(); ++t < n; )
934
937
  this.add(e[t]);
935
938
  }
936
939
  zn.prototype.add = zn.prototype.push = $_;
@@ -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 {
@@ -1151,7 +1154,7 @@ function Lp() {
1151
1154
  props: {}
1152
1155
  };
1153
1156
  }
1154
- function Mg() {
1157
+ function Dg() {
1155
1158
  const e = {};
1156
1159
  for (const t in Je) {
1157
1160
  const n = {}, o = Je[t];
@@ -1208,7 +1211,7 @@ 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
1217
  function Ma() {
@@ -1217,7 +1220,7 @@ function Ma() {
1217
1220
  e.push([n.name, n.id]);
1218
1221
  }), Be(e);
1219
1222
  }
1220
- function Mi(e) {
1223
+ function Di(e) {
1221
1224
  const { funcs: t } = q.compute, n = [];
1222
1225
  for (const o in t) {
1223
1226
  const i = t[o];
@@ -1225,12 +1228,12 @@ function Mi(e) {
1225
1228
  }
1226
1229
  return n.sort((o, i) => o.sort - i.sort), n;
1227
1230
  }
1228
- function Da(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
- return Mi(e).forEach((o) => {
1236
+ return Di(e).forEach((o) => {
1234
1237
  t.push([o.name, o.id]);
1235
1238
  }), Be(t);
1236
1239
  }
@@ -1272,7 +1275,7 @@ const Bp = {
1272
1275
  this.space.id = e.id, this.space.name = e.name;
1273
1276
  const t = this.getField("SPACE");
1274
1277
  t.getOptions(!1), t.setValue(this.space.id);
1275
- const n = (s = Mi(this.space.id)) == null ? void 0 : s[0];
1278
+ const n = (s = Di(this.space.id)) == null ? void 0 : s[0];
1276
1279
  if (!n)
1277
1280
  return;
1278
1281
  this.func.id = n.id, this.func.name = n.name;
@@ -1295,7 +1298,7 @@ const Bp = {
1295
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 = Da(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;
@@ -1416,7 +1419,7 @@ const Rp = {
1416
1419
  this.space.id = e.id, this.space.name = e.name;
1417
1420
  const t = this.getField("SPACE");
1418
1421
  t.getOptions(!1), t.setValue(this.space.id);
1419
- const n = (s = Mi(this.space.id)) == null ? void 0 : s[0];
1422
+ const n = (s = Di(this.space.id)) == null ? void 0 : s[0];
1420
1423
  if (!n)
1421
1424
  return;
1422
1425
  this.func.id = n.id, this.func.name = n.name;
@@ -1439,7 +1442,7 @@ const Rp = {
1439
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 = Da(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;
@@ -1566,7 +1569,7 @@ l.forBlock.compute_debug_trace_v1 = function(e) {
1566
1569
  return `__debugTraceV1__(${l.valueToCode(e, "OBJECT", u.ATOMIC)});
1567
1570
  `;
1568
1571
  };
1569
- const Mp = {
1572
+ const Dp = {
1570
1573
  init: function() {
1571
1574
  this.func = {
1572
1575
  id: "",
@@ -1623,7 +1626,7 @@ const Mp = {
1623
1626
  this.setWarningText(null);
1624
1627
  }
1625
1628
  };
1626
- U.func_entry_v1 = Mp;
1629
+ U.func_entry_v1 = Dp;
1627
1630
  l.forBlock.func_entry_v1 = function(e) {
1628
1631
  const t = e, n = l.statementToCode(t, "HANDLE"), o = [];
1629
1632
  for (let a = 0; a < t.func.inputs.length; a++) {
@@ -1633,11 +1636,11 @@ l.forBlock.func_entry_v1 = function(e) {
1633
1636
  return `function __funcEntryV1__(${o.join(", ")}) {
1634
1637
  ${n}}`;
1635
1638
  };
1636
- const Dp = {
1639
+ const Mp = {
1637
1640
  init: function() {
1638
1641
  }
1639
1642
  };
1640
- U.on_flow_state_event_v1 = Dp;
1643
+ U.on_flow_state_event_v1 = Mp;
1641
1644
  l.forBlock.on_flow_state_event_v1 = function() {
1642
1645
  return `__onFlowStateEventV1__();
1643
1646
  `;
@@ -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;
@@ -5723,7 +5726,7 @@ const Cd = {
5723
5726
  name: "",
5724
5727
  inputs: [],
5725
5728
  outputs: []
5726
- }, this.appendDummyInput("DUMMY").appendField(new ee(() => this.genNodeOpts_()), "NODE").appendField(
5729
+ }, this.appendDummyInput("DUMMY").appendField("%{BKY_UI_V1_CALL_NODE_METHOD_TITLE}").appendField(new ee(() => this.genNodeOpts_()), "NODE").appendField(
5727
5730
  new ee(() => this.genMethodOpts_()),
5728
5731
  "METHOD"
5729
5732
  ), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_UI_V1_CALL_NODE_METHOD_TOOLTIP}"), this.setHelpUrl("%{BKY_UI_V1_CALL_NODE_METHOD_HELPURL}"), this.initData_();
@@ -5983,7 +5986,7 @@ l.forBlock.get_node_prop_v1 = function(e) {
5983
5986
  const t = e, n = l.quote_(t.node.id), o = l.quote_(t.prop.keys);
5984
5987
  return [`__getNodePropV1__(${n}, ${o})`, u.ATOMIC];
5985
5988
  };
5986
- function Di() {
5989
+ function Mi() {
5987
5990
  const { apps: e } = q.app;
5988
5991
  return e;
5989
5992
  }
@@ -5993,7 +5996,7 @@ function Is(e) {
5993
5996
  }
5994
5997
  function Nd() {
5995
5998
  const e = [];
5996
- return Di().forEach((n) => {
5999
+ return Mi().forEach((n) => {
5997
6000
  e.push([n.name, n.id]);
5998
6001
  }), Be(e);
5999
6002
  }
@@ -6032,7 +6035,7 @@ const Bd = {
6032
6035
  var i, s;
6033
6036
  if (this.app.id)
6034
6037
  return;
6035
- const e = (i = Di()) == null ? void 0 : i[0];
6038
+ const e = (i = Mi()) == null ? void 0 : i[0];
6036
6039
  if (!e)
6037
6040
  return;
6038
6041
  this.app.id = e.id, this.app.name = e.name;
@@ -6246,7 +6249,7 @@ l.forBlock.on_node_event_v1 = function(e) {
6246
6249
  ${s}});
6247
6250
  `;
6248
6251
  };
6249
- const Md = {
6252
+ const Dd = {
6250
6253
  init: function() {
6251
6254
  this.appendDummyInput().appendField("%{BKY_UI_V1_OPEN_CONFIRM_DLG_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_UI_V1_OPEN_CONFIRM_DLG_TOOLTIP}"), this.setHelpUrl("%{BKY_UI_V1_OPEN_CONFIRM_DLG_HELPURL}");
6252
6255
  },
@@ -6277,7 +6280,7 @@ const Md = {
6277
6280
  ]);
6278
6281
  }
6279
6282
  };
6280
- U.open_confirm_dlg_v1 = Md;
6283
+ U.open_confirm_dlg_v1 = Dd;
6281
6284
  l.forBlock.open_confirm_dlg_v1 = function(e) {
6282
6285
  const t = l.valueToCode(e, "TITLE", u.ATOMIC), n = l.valueToCode(e, "TEXT", u.ATOMIC), o = l.statementToCode(e, "HANDLE");
6283
6286
  return `{
@@ -6285,7 +6288,7 @@ l.forBlock.open_confirm_dlg_v1 = function(e) {
6285
6288
  ${o}}
6286
6289
  `;
6287
6290
  };
6288
- const Dd = {
6291
+ const Md = {
6289
6292
  init: function() {
6290
6293
  this.appendDummyInput().appendField("%{BKY_UI_V1_OPEN_PROMPT_DLG_TITLE}"), this.setPreviousStatement(!0, null), this.setNextStatement(!0, null), this.setStyle("procedure_blocks"), this.setTooltip("%{BKY_UI_V1_OPEN_PROMPT_DLG_TOOLTIP}"), this.setHelpUrl("%{BKY_UI_V1_OPEN_PROMPT_DLG_HELPURL}");
6291
6294
  },
@@ -6318,7 +6321,7 @@ const Dd = {
6318
6321
  ]);
6319
6322
  }
6320
6323
  };
6321
- U.open_prompt_dlg_v1 = Dd;
6324
+ U.open_prompt_dlg_v1 = Md;
6322
6325
  l.forBlock.open_prompt_dlg_v1 = function(e) {
6323
6326
  const t = l.valueToCode(e, "TITLE", u.ATOMIC), n = l.valueToCode(e, "LABEL", u.ATOMIC), o = l.valueToCode(e, "VALUE", u.ATOMIC), i = l.statementToCode(e, "HANDLE");
6324
6327
  return `{
@@ -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;
@@ -6799,7 +6802,7 @@ function $d() {
6799
6802
  const t = xe.createElement("block");
6800
6803
  t.setAttribute("type", "app_env_v1"), e.push(t);
6801
6804
  }
6802
- if (Di().length > 0) {
6805
+ if (Mi().length > 0) {
6803
6806
  const t = xe.createElement("block");
6804
6807
  t.setAttribute("type", "navigate_to_v1"), e.push(t);
6805
6808
  }
@@ -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-enl17pxd.js"), "./msg/zhHans.ts": () => import("./msg-zhHans-oo3u4x5i.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 } = {
@@ -6907,11 +6910,11 @@ class jd {
6907
6910
  shortcut: !0
6908
6911
  }) {
6909
6912
  t && (this.blockCopyToStorageContextMenu(), this.blockPasteFromStorageContextMenu()), n && (ye.registry.unregister(
6910
- Mo.names.COPY
6913
+ Do.names.COPY
6911
6914
  ), ye.registry.unregister(
6912
- Mo.names.CUT
6915
+ Do.names.CUT
6913
6916
  ), ye.registry.unregister(
6914
- Mo.names.PASTE
6917
+ Do.names.PASTE
6915
6918
  ), this.blockCopyToStorageShortcut(), this.blockCutToStorageShortcut(), this.blockPasteFromStorageShortcut());
6916
6919
  }
6917
6920
  blockCopyToStorageContextMenu() {
@@ -6921,7 +6924,7 @@ class jd {
6921
6924
  },
6922
6925
  preconditionFn: function() {
6923
6926
  const n = Yt();
6924
- return !n || !Ln(n) || !n.isDeletable() || !Do(n) || !n.isMovable() || !Zt(n) ? "disabled" : "enabled";
6927
+ return !n || !Ln(n) || !n.isDeletable() || !Mo(n) || !n.isMovable() || !Zt(n) ? "disabled" : "enabled";
6925
6928
  },
6926
6929
  callback: function(n) {
6927
6930
  var o;
@@ -6978,7 +6981,7 @@ class jd {
6978
6981
  if (s.options.readOnly || Po.inProgress())
6979
6982
  return !1;
6980
6983
  const a = Yt();
6981
- return !(!a || !Ln(a) || !a.isDeletable() || !Do(a) || !a.isMovable() || !Zt(a));
6984
+ return !(!a || !Ln(a) || !a.isDeletable() || !Mo(a) || !a.isMovable() || !Zt(a));
6982
6985
  },
6983
6986
  callback: function(s, a) {
6984
6987
  a.preventDefault();
@@ -7008,7 +7011,7 @@ class jd {
7008
7011
  if (s.options.readOnly || Po.inProgress())
7009
7012
  return !1;
7010
7013
  const a = Yt();
7011
- return !(!a || !Ln(a) || !a.isDeletable() || !Do(a) || !a.isMovable() || !Zt(a) || a.workspace.isFlyout);
7014
+ return !(!a || !Ln(a) || !a.isDeletable() || !Mo(a) || !a.isMovable() || !Zt(a) || a.workspace.isFlyout);
7012
7015
  },
7013
7016
  callback: function(s, a) {
7014
7017
  a.preventDefault();
@@ -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;
@@ -9128,7 +9131,7 @@ const Cf = Object.assign;
9128
9131
  * @author owenm <owen23355@gmail.com>
9129
9132
  * @license MIT
9130
9133
  */
9131
- function Ms(e, t) {
9134
+ function Ds(e, t) {
9132
9135
  var n = Object.keys(e);
9133
9136
  if (Object.getOwnPropertySymbols) {
9134
9137
  var o = Object.getOwnPropertySymbols(e);
@@ -9141,9 +9144,9 @@ function Ms(e, t) {
9141
9144
  function qe(e) {
9142
9145
  for (var t = 1; t < arguments.length; t++) {
9143
9146
  var n = arguments[t] != null ? arguments[t] : {};
9144
- t % 2 ? Ms(Object(n), !0).forEach(function(o) {
9147
+ t % 2 ? Ds(Object(n), !0).forEach(function(o) {
9145
9148
  Sf(e, o, n[o]);
9146
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ms(Object(n)).forEach(function(o) {
9149
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ds(Object(n)).forEach(function(o) {
9147
9150
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
9148
9151
  });
9149
9152
  }
@@ -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), Ds = 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) {
@@ -9241,7 +9244,7 @@ function Ke(e, t, n, o) {
9241
9244
  return null;
9242
9245
  }
9243
9246
  var Ps = /\s+/g;
9244
- function Me(e, t, n) {
9247
+ function De(e, t, n) {
9245
9248
  if (e && t)
9246
9249
  if (e.classList)
9247
9250
  e.classList[n ? "add" : "remove"](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)
@@ -9380,7 +9383,7 @@ function gt(e, t) {
9380
9383
  while (n = n.parentNode);
9381
9384
  return ze();
9382
9385
  }
9383
- function Mf(e, t) {
9386
+ function Df(e, t) {
9384
9387
  if (e && t)
9385
9388
  for (var n in t)
9386
9389
  t.hasOwnProperty(n) && (e[n] = t[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;
@@ -9400,17 +9403,17 @@ function Za(e, t) {
9400
9403
  }
9401
9404
  };
9402
9405
  }
9403
- function Df() {
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;
@@ -9556,7 +9559,7 @@ var Vf = ["evt"], Le = function(e, t) {
9556
9559
  In.pluginEvent.bind(B)(e, t, qe({
9557
9560
  dragEl: T,
9558
9561
  parentEl: ce,
9559
- ghostEl: D,
9562
+ ghostEl: M,
9560
9563
  rootEl: ae,
9561
9564
  nextEl: Ct,
9562
9565
  lastDownEl: Kn,
@@ -9568,10 +9571,10 @@ var Vf = ["evt"], Le = function(e, t) {
9568
9571
  originalEvent: o,
9569
9572
  oldIndex: $t,
9570
9573
  oldDraggableIndex: _n,
9571
- newIndex: De,
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
  },
@@ -9595,18 +9598,18 @@ function Ce(e) {
9595
9598
  rootEl: ae,
9596
9599
  oldIndex: $t,
9597
9600
  oldDraggableIndex: _n,
9598
- newIndex: De,
9601
+ newIndex: Me,
9599
9602
  newDraggableIndex: _t
9600
9603
  }, e));
9601
9604
  }
9602
- var T, ce, D, ae, Ct, Kn, le, dt, $t, De, _n, _t, Mn, Ee, Kt = !1, no = !1, oo = [], It, Ye, Wo, Xo, ws, Vs, nn, Vt, pn, dn = !1, Dn = !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, D, ae, Ct, Kn, le, dt, $t, De, _n, _t, Mn, 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, D, ae, Ct, Kn, le, dt, $t, De, _n, _t, Mn, 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 && D && k(D, "display", "none");
9655
9656
  }, rr = function() {
9656
- !or && D && k(D, "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());
@@ -9781,7 +9784,7 @@ B.prototype = /** @lends Sortable.prototype */
9781
9784
  var o = this, i = o.el, s = o.options, a = i.ownerDocument, r;
9782
9785
  if (n && !T && n.parentNode === i) {
9783
9786
  var c = de(n);
9784
- if (ae = i, T = n, ce = T.parentNode, Ct = T.nextSibling, Kn = n, Mn = s.group, B.dragged = T, It = {
9787
+ if (ae = i, T = n, ce = T.parentNode, Ct = T.nextSibling, Kn = n, Dn = s.group, B.dragged = T, It = {
9785
9788
  target: T,
9786
9789
  clientX: (t || e).clientX,
9787
9790
  clientY: (t || e).clientY
@@ -9792,14 +9795,14 @@ B.prototype = /** @lends Sortable.prototype */
9792
9795
  o._onDrop();
9793
9796
  return;
9794
9797
  }
9795
- o._disableDelayedDragEvents(), !Ds && o.nativeDraggable && (T.draggable = !0), o._triggerDragStart(e, t), Ce({
9798
+ o._disableDelayedDragEvents(), !Ms && o.nativeDraggable && (T.draggable = !0), o._triggerDragStart(e, t), Ce({
9796
9799
  sortable: o,
9797
9800
  name: "choose",
9798
9801
  originalEvent: e
9799
- }), Me(T, s.chosenClass, !0);
9802
+ }), De(T, s.chosenClass, !0);
9800
9803
  }, s.ignore.split(",").forEach(function(_) {
9801
- Qa(T, _.trim(), Jo);
9802
- }), 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), Ds && this.nativeDraggable && (this.options.touchStartThreshold = 4, T.draggable = !0), Le("delayStart", this, {
9804
+ Za(T, _.trim(), Jo);
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))) {
9805
9808
  if (B.eventCanceled) {
@@ -9837,7 +9840,7 @@ B.prototype = /** @lends Sortable.prototype */
9837
9840
  evt: t
9838
9841
  }), this.nativeDraggable && z(document, "dragover", Hf);
9839
9842
  var n = this.options;
9840
- !e && Me(T, n.dragClass, !1), Me(T, n.ghostClass, !0), B.active = this, e && this._appendGhost(), Ce({
9843
+ !e && De(T, n.dragClass, !1), De(T, n.ghostClass, !0), B.active = this, e && this._appendGhost(), Ce({
9841
9844
  sortable: this,
9842
9845
  name: "start",
9843
9846
  originalEvent: t
@@ -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,18 +9867,18 @@ 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) {
9871
9874
  if (It) {
9872
- var t = this.options, n = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = D && jt(D, !0), a = D && s && s.a, r = D && s && s.d, c = Pn && Oe && Us(Oe), _ = (i.clientX - It.clientX + o.x) / (a || 1) + (c ? c[0] - zo[0] : 0) / (a || 1), d = (i.clientY - It.clientY + o.y) / (r || 1) + (c ? c[1] - zo[1] : 0) / (r || 1);
9875
+ var t = this.options, n = t.fallbackTolerance, o = t.fallbackOffset, i = e.touches ? e.touches[0] : e, s = M && jt(M, !0), a = M && s && s.a, r = M && s && s.d, c = Pn && Oe && Us(Oe), _ = (i.clientX - It.clientX + o.x) / (a || 1) + (c ? c[0] - zo[0] : 0) / (a || 1), d = (i.clientY - It.clientY + o.y) / (r || 1) + (c ? c[1] - zo[1] : 0) / (r || 1);
9873
9876
  if (!B.active && !Kt) {
9874
9877
  if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n)
9875
9878
  return;
9876
9879
  this._onDragStart(e, !0);
9877
9880
  }
9878
- if (D) {
9881
+ if (M) {
9879
9882
  s ? (s.e += _ - (Wo || 0), s.f += d - (Xo || 0)) : s = {
9880
9883
  a: 1,
9881
9884
  b: 0,
@@ -9885,20 +9888,20 @@ B.prototype = /** @lends Sortable.prototype */
9885
9888
  f: d
9886
9889
  };
9887
9890
  var p = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
9888
- k(D, "webkitTransform", p), k(D, "mozTransform", p), k(D, "msTransform", p), k(D, "transform", p), Wo = _, Xo = d, Ye = i;
9891
+ k(M, "webkitTransform", p), k(M, "mozTransform", p), k(M, "msTransform", p), k(M, "transform", p), Wo = _, Xo = d, Ye = i;
9889
9892
  }
9890
9893
  e.cancelable && e.preventDefault();
9891
9894
  }
9892
9895
  },
9893
9896
  _appendGhost: function() {
9894
- if (!D) {
9897
+ if (!M) {
9895
9898
  var e = this.options.fallbackOnBody ? document.body : ae, t = de(T, !0, Pn, !0, e), n = this.options;
9896
9899
  if (Pn) {
9897
9900
  for (Oe = e; k(Oe, "position") === "static" && k(Oe, "transform") === "none" && Oe !== document; )
9898
9901
  Oe = Oe.parentNode;
9899
9902
  Oe !== document.body && Oe !== document.documentElement ? (Oe === document && (Oe = ze()), t.top += Oe.scrollTop, t.left += Oe.scrollLeft) : Oe = ze(), zo = Us(Oe);
9900
9903
  }
9901
- D = T.cloneNode(!0), Me(D, n.ghostClass, !1), Me(D, n.fallbackClass, !0), Me(D, n.dragClass, !0), k(D, "transition", ""), k(D, "transform", ""), k(D, "box-sizing", "border-box"), k(D, "margin", 0), k(D, "top", t.top), k(D, "left", t.left), k(D, "width", t.width), k(D, "height", t.height), k(D, "opacity", "0.8"), k(D, "position", Pn ? "absolute" : "fixed"), k(D, "zIndex", "100000"), k(D, "pointerEvents", "none"), B.ghost = D, e.appendChild(D), k(D, "transform-origin", ws / parseInt(D.style.width) * 100 + "% " + Vs / parseInt(D.style.height) * 100 + "%");
9904
+ M = T.cloneNode(!0), De(M, n.ghostClass, !1), De(M, n.fallbackClass, !0), De(M, n.dragClass, !0), k(M, "transition", ""), k(M, "transform", ""), k(M, "box-sizing", "border-box"), k(M, "margin", 0), k(M, "top", t.top), k(M, "left", t.left), k(M, "width", t.width), k(M, "height", t.height), k(M, "opacity", "0.8"), k(M, "position", Pn ? "absolute" : "fixed"), k(M, "zIndex", "100000"), k(M, "pointerEvents", "none"), B.ghost = M, e.appendChild(M), k(M, "transform-origin", ws / parseInt(M.style.width) * 100 + "% " + Vs / parseInt(M.style.height) * 100 + "%");
9902
9905
  }
9903
9906
  },
9904
9907
  _onDragStart: function(e, t) {
@@ -9909,16 +9912,16 @@ 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(), Me(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"
9916
9919
  }));
9917
- }), !t && Me(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)), z(document, "drop", n), k(T, "transform", "translateZ(0)")), Kt = !0, n._dragStartId = $n(n._dragStarted.bind(n, t, e)), z(document, "selectstart", n), nn = !0, cn && k(document.body, "user-select", "none");
9920
+ }), !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)), z(document, "drop", n), k(T, "transform", "translateZ(0)")), Kt = !0, n._dragStartId = $n(n._dragStarted.bind(n, t, e)), z(document, "selectstart", n), nn = !0, cn && k(document.body, "user-select", "none");
9918
9921
  },
9919
9922
  // Returns true - if no further action is needed (either inserted or another condition)
9920
9923
  _onDragOver: function(e) {
9921
- var t = this.el, n = e.target, o, i, s, a = this.options, r = a.group, c = B.active, _ = Mn === r, d = a.sort, p = Ee || c, f, g = this, b = !1;
9924
+ var t = this.el, n = e.target, o, i, s, a = this.options, r = a.group, c = B.active, _ = Dn === r, d = a.sort, p = Ee || c, f, g = this, b = !1;
9922
9925
  if (hi)
9923
9926
  return;
9924
9927
  function E(h, A) {
@@ -9933,8 +9936,8 @@ B.prototype = /** @lends Sortable.prototype */
9933
9936
  fromSortable: p,
9934
9937
  target: n,
9935
9938
  completed: C,
9936
- onMove: function(M, Y) {
9937
- return xn(ae, t, T, o, M, de(M), e, Y);
9939
+ onMove: function(D, Y) {
9940
+ return xn(ae, t, T, o, D, de(D), e, Y);
9938
9941
  },
9939
9942
  changed: F
9940
9943
  }, A));
@@ -9945,16 +9948,16 @@ B.prototype = /** @lends Sortable.prototype */
9945
9948
  function C(h) {
9946
9949
  return E("dragOverCompleted", {
9947
9950
  insertion: h
9948
- }), h && (_ ? c._hideClone() : c._showClone(g), g !== p && (Me(T, Ee ? Ee.options.ghostClass : c.options.ghostClass, !1), Me(T, a.ghostClass, !0)), Ee !== g && g !== B.active ? Ee = g : g === B.active && Ee && (Ee = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
9951
+ }), h && (_ ? c._hideClone() : c._showClone(g), g !== p && (De(T, Ee ? Ee.options.ghostClass : c.options.ghostClass, !1), De(T, a.ghostClass, !0)), Ee !== g && g !== B.active ? Ee = g : g === B.active && Ee && (Ee = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
9949
9952
  E("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
9950
9953
  }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === T && !T.animated || n === t && !n.animated) && (Vt = null), !a.dragoverBubble && !e.rootEl && n !== document && (T.parentNode[Pe]._isOutsideThisEl(e.target), !h && yt(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), b = !0;
9951
9954
  }
9952
9955
  function F() {
9953
- De = Ue(T), _t = Ue(T, a.draggable), Ce({
9956
+ Me = Ue(T), _t = Ue(T, a.draggable), Ce({
9954
9957
  sortable: g,
9955
9958
  name: "change",
9956
9959
  toEl: t,
9957
- newIndex: De,
9960
+ newIndex: Me,
9958
9961
  newDraggableIndex: _t,
9959
9962
  originalEvent: e
9960
9963
  });
@@ -9963,7 +9966,7 @@ B.prototype = /** @lends Sortable.prototype */
9963
9966
  return b;
9964
9967
  if (T.contains(e.target) || n.animated && n.animatingX && n.animatingY || g._ignoreWhileAnimating === n)
9965
9968
  return C(!1);
9966
- if (no = !1, c && !a.disabled && (_ ? d || (s = ce !== ae) : Ee === this || (this.lastPutMode = Mn.checkPull(this, c, T, e)) && r.checkPut(this, c, T, e))) {
9969
+ if (no = !1, c && !a.disabled && (_ ? d || (s = ce !== ae) : Ee === this || (this.lastPutMode = Dn.checkPull(this, c, T, e)) && r.checkPut(this, c, T, e))) {
9967
9970
  if (f = this._getDirection(e, n) === "vertical", o = de(T), E("dragOverValid"), B.eventCanceled)
9968
9971
  return b;
9969
9972
  if (s)
@@ -9983,13 +9986,13 @@ B.prototype = /** @lends Sortable.prototype */
9983
9986
  } else if (n.parentNode === t) {
9984
9987
  i = de(n);
9985
9988
  var j = 0, _e, Se = T.parentNode !== t, L = !Yf(T.animated && T.toRect || o, n.animated && n.toRect || i, f), N = f ? "top" : "left", W = xs(n, "top", "top") || xs(T, "top", "top"), ne = W ? W.scrollTop : void 0;
9986
- Vt !== n && (_e = i[N], dn = !1, Dn = !L && a.invertSwap || Se), j = Xf(e, n, i, f, L ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Dn, Vt === n);
9989
+ Vt !== n && (_e = i[N], dn = !1, Mn = !L && a.invertSwap || Se), j = Xf(e, n, i, f, L ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Mn, Vt === n);
9987
9990
  var X;
9988
9991
  if (j !== 0) {
9989
9992
  var Q = Ue(T);
9990
9993
  do
9991
9994
  Q -= j, X = ce.children[Q];
9992
- while (X && (k(X, "display") === "none" || X === D));
9995
+ while (X && (k(X, "display") === "none" || X === M));
9993
9996
  }
9994
9997
  if (j === 0 || X === n)
9995
9998
  return C(!1);
@@ -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 && !Dn && (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);
@@ -10015,20 +10018,20 @@ B.prototype = /** @lends Sortable.prototype */
10015
10018
  },
10016
10019
  _onDrop: function(e) {
10017
10020
  var t = this.el, n = this.options;
10018
- if (De = Ue(T), _t = Ue(T, n.draggable), Le("drop", this, {
10021
+ if (Me = Ue(T), _t = Ue(T, n.draggable), Le("drop", this, {
10019
10022
  evt: e
10020
- }), ce = T && T.parentNode, De = Ue(T), _t = Ue(T, n.draggable), B.eventCanceled) {
10023
+ }), ce = T && T.parentNode, Me = Ue(T), _t = Ue(T, n.draggable), B.eventCanceled) {
10021
10024
  this._nulling();
10022
10025
  return;
10023
10026
  }
10024
- Kt = !1, Dn = !1, dn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), gi(this.cloneId), gi(this._dragStartId), this.nativeDraggable && ($(document, "drop", this), $(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), cn && k(document.body, "user-select", ""), k(T, "transform", ""), e && (nn && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), D && D.parentNode && D.parentNode.removeChild(D), (ae === ce || Ee && Ee.lastPutMode !== "clone") && le && le.parentNode && le.parentNode.removeChild(le), T && (this.nativeDraggable && $(T, "dragend", this), Jo(T), T.style["will-change"] = "", nn && !Kt && Me(T, Ee ? Ee.options.ghostClass : this.options.ghostClass, !1), Me(T, this.options.chosenClass, !1), Ce({
10027
+ Kt = !1, Mn = !1, dn = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), gi(this.cloneId), gi(this._dragStartId), this.nativeDraggable && ($(document, "drop", this), $(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), cn && k(document.body, "user-select", ""), k(T, "transform", ""), e && (nn && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), M && M.parentNode && M.parentNode.removeChild(M), (ae === ce || Ee && Ee.lastPutMode !== "clone") && le && le.parentNode && le.parentNode.removeChild(le), T && (this.nativeDraggable && $(T, "dragend", this), Jo(T), T.style["will-change"] = "", nn && !Kt && De(T, Ee ? Ee.options.ghostClass : this.options.ghostClass, !1), De(T, this.options.chosenClass, !1), Ce({
10025
10028
  sortable: this,
10026
10029
  name: "unchoose",
10027
10030
  toEl: ce,
10028
10031
  newIndex: null,
10029
10032
  newDraggableIndex: null,
10030
10033
  originalEvent: e
10031
- }), ae !== ce ? (De >= 0 && (Ce({
10034
+ }), ae !== ce ? (Me >= 0 && (Ce({
10032
10035
  rootEl: ce,
10033
10036
  name: "add",
10034
10037
  toEl: ce,
@@ -10050,7 +10053,7 @@ B.prototype = /** @lends Sortable.prototype */
10050
10053
  name: "sort",
10051
10054
  toEl: ce,
10052
10055
  originalEvent: e
10053
- })), Ee && Ee.save()) : De !== $t && De >= 0 && (Ce({
10056
+ })), Ee && Ee.save()) : Me !== $t && Me >= 0 && (Ce({
10054
10057
  sortable: this,
10055
10058
  name: "update",
10056
10059
  toEl: ce,
@@ -10060,7 +10063,7 @@ B.prototype = /** @lends Sortable.prototype */
10060
10063
  name: "sort",
10061
10064
  toEl: ce,
10062
10065
  originalEvent: e
10063
- })), B.active && ((De == null || De === -1) && (De = $t, _t = _n), Ce({
10066
+ })), B.active && ((Me == null || Me === -1) && (Me = $t, _t = _n), Ce({
10064
10067
  sortable: this,
10065
10068
  name: "end",
10066
10069
  toEl: ce,
@@ -10068,7 +10071,7 @@ B.prototype = /** @lends Sortable.prototype */
10068
10071
  }), this.save()))), this._nulling();
10069
10072
  },
10070
10073
  _nulling: function() {
10071
- Le("nulling", this), ae = T = ce = D = Ct = le = Kn = dt = It = Ye = nn = De = _t = $t = _n = Vt = pn = Ee = Mn = B.dragged = B.ghost = B.clone = B.active = null, io.forEach(function(e) {
10074
+ Le("nulling", this), ae = T = ce = M = Ct = le = Kn = dt = It = Ye = nn = Me = _t = $t = _n = Vt = pn = Ee = Dn = B.dragged = B.ghost = B.clone = B.active = null, io.forEach(function(e) {
10072
10075
  e.checked = !0;
10073
10076
  }), io.length = Wo = Xo = 0;
10074
10077
  },
@@ -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, D), 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, D), 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
- extend: Mf,
10240
- throttle: Za,
10242
+ extend: Df,
10243
+ throttle: er,
10241
10244
  closest: Ke,
10242
- toggleClass: Me,
10243
- clone: tr,
10245
+ toggleClass: De,
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) {
@@ -10286,7 +10289,7 @@ function Qf() {
10286
10289
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
10287
10290
  },
10288
10291
  drop: function() {
10289
- this.sortable.nativeDraggable ? $(document, "dragover", this._handleAutoScroll) : ($(document, "pointermove", this._handleFallbackAutoScroll), $(document, "touchmove", this._handleFallbackAutoScroll), $(document, "mousemove", this._handleFallbackAutoScroll)), Ys(), Gn(), Df();
10292
+ this.sortable.nativeDraggable ? $(document, "dragover", this._handleAutoScroll) : ($(document, "pointermove", this._handleFallbackAutoScroll), $(document, "touchmove", this._handleFallbackAutoScroll), $(document, "mousemove", this._handleFallbackAutoScroll)), Ys(), Gn(), Mf();
10290
10293
  },
10291
10294
  nulling: function() {
10292
10295
  so = Ti = on = mi = sn = qo = Qo = null, pe.length = 0;
@@ -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 = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Mh = (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,
@@ -11351,7 +11354,7 @@ const Bh = /\b\B/, gr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", Tr = "\\b\\d+(\\.\
11351
11354
  }, mn = {
11352
11355
  begin: "\\\\[\\s\\S]",
11353
11356
  relevance: 0
11354
- }, Dh = {
11357
+ }, Mh = {
11355
11358
  scope: "string",
11356
11359
  begin: "'",
11357
11360
  end: "'",
@@ -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",
@@ -11485,27 +11488,27 @@ const Bh = /\b\B/, gr = "[a-zA-Z]\\w*", Yi = "[a-zA-Z_]\\w*", Tr = "\\b\\d+(\\.\
11485
11488
  };
11486
11489
  var Un = /* @__PURE__ */ Object.freeze({
11487
11490
  __proto__: null,
11488
- APOS_STRING_MODE: Dh,
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,
11507
11510
  RE_STARTERS_RE: Rh,
11508
- SHEBANG: Mh,
11511
+ SHEBANG: Dh,
11509
11512
  TITLE_MODE: $h,
11510
11513
  UNDERSCORE_IDENT_RE: Yi,
11511
11514
  UNDERSCORE_TITLE_MODE: Gh
@@ -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: [] };
@@ -11762,26 +11765,26 @@ const ei = dr, Js = Tt, qs = Symbol("nomatch"), dg = 7, Or = function(e) {
11762
11765
  function _(h) {
11763
11766
  let A = h.className + " ";
11764
11767
  A += h.parentNode ? h.parentNode.className : "";
11765
- const M = r.languageDetectRe.exec(A);
11766
- if (M) {
11767
- const Y = N(M[1]);
11768
- return Y || (zs(s.replace("{}", M[1])), zs("Falling back to no-highlight mode for this block.", h)), Y ? M[1] : "no-highlight";
11768
+ const D = r.languageDetectRe.exec(A);
11769
+ if (D) {
11770
+ const Y = N(D[1]);
11771
+ return Y || (zs(s.replace("{}", D[1])), zs("Falling back to no-highlight mode for this block.", h)), Y ? D[1] : "no-highlight";
11769
11772
  }
11770
11773
  return A.split(/\s+/).find((Y) => c(Y) || N(Y));
11771
11774
  }
11772
- function d(h, A, M) {
11775
+ function d(h, A, D) {
11773
11776
  let Y = "", se = "";
11774
- typeof A == "object" ? (Y = h, M = 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.
11775
- https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M === void 0 && (M = !0);
11777
+ typeof A == "object" ? (Y = h, D = A.ignoreIllegals, se = A.language) : (Ft("10.7.0", "highlight(lang, code, ...args) has been deprecated."), Ft("10.7.0", `Please use highlight(code, options) instead.
11778
+ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), D === void 0 && (D = !0);
11776
11779
  const Ie = {
11777
11780
  code: Y,
11778
11781
  language: se
11779
11782
  };
11780
11783
  G("before:highlight", Ie);
11781
- const Ve = Ie.result ? Ie.result : p(Ie.language, Ie.code, M);
11784
+ const Ve = Ie.result ? Ie.result : p(Ie.language, Ie.code, D);
11782
11785
  return Ve.code = Ie.code, G("after:highlight", Ve), Ve;
11783
11786
  }
11784
- function p(h, A, M, Y) {
11787
+ function p(h, A, D, Y) {
11785
11788
  const se = /* @__PURE__ */ Object.create(null);
11786
11789
  function Ie(m, y) {
11787
11790
  return m.keywords[y];
@@ -11798,8 +11801,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
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
11808
  const Mr = je.classNameAliases[tt] || tt;
@@ -11862,17 +11865,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
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), M ===
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), M ===
11902
11905
  return 1;
11903
11906
  }
11904
11907
  if (Cn = y, y.type === "begin")
11905
- return Lr(y);
11906
- if (y.type === "illegal" && !M) {
11908
+ return Nr(y);
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), M ===
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)
@@ -11987,10 +11990,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
11987
11990
  }
11988
11991
  function g(h, A) {
11989
11992
  A = A || r.languages || Object.keys(t);
11990
- const M = f(h), Y = A.filter(N).filter(ne).map(
11993
+ const D = f(h), Y = A.filter(N).filter(ne).map(
11991
11994
  (Re) => p(Re, h, !1)
11992
11995
  );
11993
- Y.unshift(M);
11996
+ Y.unshift(D);
11994
11997
  const se = Y.sort((Re, Ge) => {
11995
11998
  if (Re.relevance !== Ge.relevance) return Ge.relevance - Re.relevance;
11996
11999
  if (Re.language && Ge.language) {
@@ -12003,17 +12006,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
12003
12006
  }), [Ie, Ve] = se, yn = Ie;
12004
12007
  return yn.secondBest = Ve, yn;
12005
12008
  }
12006
- function b(h, A, M) {
12007
- const Y = A && n[A] || M;
12009
+ function b(h, A, D) {
12010
+ const Y = A && n[A] || D;
12008
12011
  h.classList.add("hljs"), h.classList.add(`language-${Y}`);
12009
12012
  }
12010
12013
  function E(h) {
12011
12014
  let A = null;
12012
- const M = _(h);
12013
- if (c(M)) return;
12015
+ const D = _(h);
12016
+ if (c(D)) return;
12014
12017
  if (G(
12015
12018
  "before:highlightElement",
12016
- { el: h, language: M }
12019
+ { el: h, language: D }
12017
12020
  ), h.dataset.highlighted) {
12018
12021
  console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", h);
12019
12022
  return;
@@ -12024,8 +12027,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
12024
12027
  h.innerHTML
12025
12028
  );
12026
12029
  A = h;
12027
- const Y = A.textContent, se = M ? d(Y, { language: M, ignoreIllegals: !0 }) : g(Y);
12028
- h.innerHTML = se.value, h.dataset.highlighted = "yes", b(h, M, se.language), h.result = {
12030
+ const Y = A.textContent, se = D ? d(Y, { language: D, ignoreIllegals: !0 }) : g(Y);
12031
+ h.innerHTML = se.value, h.dataset.highlighted = "yes", b(h, D, se.language), h.result = {
12029
12032
  language: se.language,
12030
12033
  // TODO: remove with version 11.0
12031
12034
  re: se.relevance,
@@ -12057,17 +12060,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
12057
12060
  }
12058
12061
  typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", j, !1);
12059
12062
  function _e(h, A) {
12060
- let M = null;
12063
+ let D = null;
12061
12064
  try {
12062
- M = A(e);
12065
+ D = A(e);
12063
12066
  } catch (Y) {
12064
12067
  if (Lt("Language definition for '{}' could not be registered.".replace("{}", h)), i)
12065
12068
  Lt(Y);
12066
12069
  else
12067
12070
  throw Y;
12068
- M = a;
12071
+ D = a;
12069
12072
  }
12070
- M.name || (M.name = h), t[h] = M, M.rawDefinition = A.bind(null, e), M.aliases && W(M.aliases, { languageName: h });
12073
+ D.name || (D.name = h), t[h] = D, D.rawDefinition = A.bind(null, e), D.aliases && W(D.aliases, { languageName: h });
12071
12074
  }
12072
12075
  function Se(h) {
12073
12076
  delete t[h];
@@ -12081,8 +12084,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
12081
12084
  return h = (h || "").toLowerCase(), t[h] || t[n[h]];
12082
12085
  }
12083
12086
  function W(h, { languageName: A }) {
12084
- typeof h == "string" && (h = [h]), h.forEach((M) => {
12085
- n[M.toLowerCase()] = A;
12087
+ typeof h == "string" && (h = [h]), h.forEach((D) => {
12088
+ n[D.toLowerCase()] = A;
12086
12089
  });
12087
12090
  }
12088
12091
  function ne(h) {
@@ -12108,9 +12111,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
12108
12111
  A !== -1 && o.splice(A, 1);
12109
12112
  }
12110
12113
  function G(h, A) {
12111
- const M = h;
12114
+ const D = h;
12112
12115
  o.forEach(function(Y) {
12113
- Y[M] && Y[M](A);
12116
+ Y[D] && Y[D](A);
12114
12117
  });
12115
12118
  }
12116
12119
  function fe(h) {
@@ -12141,20 +12144,20 @@ https://github.com/highlightjs/highlight.js/issues/2277`), se = h, Y = A), M ===
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,14 +12297,14 @@ 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
- const t = e.regex, n = (A, { after: M }) => {
12305
+ const t = e.regex, n = (A, { after: D }) => {
12303
12306
  const Y = "</" + A[0].slice(1);
12304
- return A.input.indexOf(Y, M) !== -1;
12307
+ return A.input.indexOf(Y, D) !== -1;
12305
12308
  }, o = Qs, i = {
12306
12309
  begin: "<>",
12307
12310
  end: "</>"
@@ -12312,7 +12315,7 @@ function Eg(e) {
12312
12315
  * @param {RegExpMatchArray} match
12313
12316
  * @param {CallbackResponse} response
12314
12317
  */
12315
- isTrulyOpeningTag: (A, M) => {
12318
+ isTrulyOpeningTag: (A, D) => {
12316
12319
  const Y = A[0].length + A.index, se = A.input[Y];
12317
12320
  if (
12318
12321
  // HTML should not include another raw `<` inside a tag
@@ -12322,18 +12325,18 @@ function Eg(e) {
12322
12325
  // `<T, A extends keyof T, V>`
12323
12326
  se === ","
12324
12327
  ) {
12325
- M.ignoreMatch();
12328
+ D.ignoreMatch();
12326
12329
  return;
12327
12330
  }
12328
- se === ">" && (n(A, { after: Y }) || M.ignoreMatch());
12331
+ se === ">" && (n(A, { after: Y }) || D.ignoreMatch());
12329
12332
  let Ie;
12330
12333
  const Ve = A.input.substring(Y);
12331
12334
  if (Ie = Ve.match(/^\s*=/)) {
12332
- M.ignoreMatch();
12335
+ D.ignoreMatch();
12333
12336
  return;
12334
12337
  }
12335
12338
  if ((Ie = Ve.match(/^\s+extends\s+/)) && Ie.index === 0) {
12336
- M.ignoreMatch();
12339
+ D.ignoreMatch();
12337
12340
  return;
12338
12341
  }
12339
12342
  }
@@ -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),
@@ -12928,14 +12931,14 @@ const vg = /* @__PURE__ */ Qe({
12928
12931
  }), Ig = (e) => {
12929
12932
  e.component("XBlockly", vh), e.component("XSourceDlg", Og);
12930
12933
  };
12931
- async function Dg(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;
12934
+ async function Mg(e) {
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 {
12936
12939
  vh as XBlockly,
12937
12940
  q as blocklyState,
12938
- Mg as buildProps,
12941
+ Dg as buildProps,
12939
12942
  Pg as default,
12940
12943
  Op as initApp,
12941
12944
  Ip as initBase,
@@ -12944,5 +12947,5 @@ export {
12944
12947
  Sp as initResource,
12945
12948
  Lp as initRuntime,
12946
12949
  Ig as install,
12947
- Dg as loadLocaleMessageBlock
12950
+ Mg as loadLocaleMessageBlock
12948
12951
  };