narrat 2.6.3 → 2.6.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/narrat.es.js CHANGED
@@ -88,11 +88,11 @@ var z5 = { exports: {} };
88
88
  function _(me, Ce) {
89
89
  var ze = this, Xe = new this.constructor(O);
90
90
  Xe[D] === void 0 && ae(Xe);
91
- var et = ze._state;
92
- if (et) {
93
- var ge = arguments[et - 1];
91
+ var tt = ze._state;
92
+ if (tt) {
93
+ var ge = arguments[tt - 1];
94
94
  l(function() {
95
- return ve(et, Xe, ge, ze._result);
95
+ return ve(tt, Xe, ge, ze._result);
96
96
  });
97
97
  } else
98
98
  W(ze, Xe, me, Ce);
@@ -118,18 +118,18 @@ var z5 = { exports: {} };
118
118
  function L(me, Ce, ze, Xe) {
119
119
  try {
120
120
  me.call(Ce, ze, Xe);
121
- } catch (et) {
122
- return et;
121
+ } catch (tt) {
122
+ return tt;
123
123
  }
124
124
  }
125
125
  function P(me, Ce, ze) {
126
126
  l(function(Xe) {
127
- var et = !1, ge = L(ze, Ce, function(Qe) {
128
- et || (et = !0, Ce !== Qe ? z(Xe, Qe) : S(Xe, Qe));
127
+ var tt = !1, ge = L(ze, Ce, function(Qe) {
128
+ tt || (tt = !0, Ce !== Qe ? z(Xe, Qe) : S(Xe, Qe));
129
129
  }, function(Qe) {
130
- et || (et = !0, T(Xe, Qe));
130
+ tt || (tt = !0, T(Xe, Qe));
131
131
  }, "Settle: " + (Xe._label || " unknown promise"));
132
- !et && ge && (et = !0, T(Xe, ge));
132
+ !tt && ge && (tt = !0, T(Xe, ge));
133
133
  }, me);
134
134
  }
135
135
  function V(me, Ce) {
@@ -167,20 +167,20 @@ var z5 = { exports: {} };
167
167
  me._state === A && (me._state = G, me._result = Ce, l(E, me));
168
168
  }
169
169
  function W(me, Ce, ze, Xe) {
170
- var et = me._subscribers, ge = et.length;
171
- me._onerror = null, et[ge] = Ce, et[ge + B] = ze, et[ge + G] = Xe, ge === 0 && me._state && l(ie, me);
170
+ var tt = me._subscribers, ge = tt.length;
171
+ me._onerror = null, tt[ge] = Ce, tt[ge + B] = ze, tt[ge + G] = Xe, ge === 0 && me._state && l(ie, me);
172
172
  }
173
173
  function ie(me) {
174
174
  var Ce = me._subscribers, ze = me._state;
175
175
  if (Ce.length !== 0) {
176
- for (var Xe = void 0, et = void 0, ge = me._result, Qe = 0; Qe < Ce.length; Qe += 3)
177
- Xe = Ce[Qe], et = Ce[Qe + ze], Xe ? ve(ze, Xe, et, ge) : et(ge);
176
+ for (var Xe = void 0, tt = void 0, ge = me._result, Qe = 0; Qe < Ce.length; Qe += 3)
177
+ Xe = Ce[Qe], tt = Ce[Qe + ze], Xe ? ve(ze, Xe, tt, ge) : tt(ge);
178
178
  me._subscribers.length = 0;
179
179
  }
180
180
  }
181
181
  function ve(me, Ce, ze, Xe) {
182
- var et = r(ze), ge = void 0, Qe = void 0, Lt = !0;
183
- if (et) {
182
+ var tt = r(ze), ge = void 0, Qe = void 0, Lt = !0;
183
+ if (tt) {
184
184
  try {
185
185
  ge = ze(Xe);
186
186
  } catch (yn) {
@@ -192,7 +192,7 @@ var z5 = { exports: {} };
192
192
  }
193
193
  } else
194
194
  ge = Xe;
195
- Ce._state !== A || (et && Lt ? z(Ce, ge) : Lt === !1 ? T(Ce, Qe) : me === B ? S(Ce, ge) : me === G && T(Ce, ge));
195
+ Ce._state !== A || (tt && Lt ? z(Ce, ge) : Lt === !1 ? T(Ce, Qe) : me === B ? S(Ce, ge) : me === G && T(Ce, ge));
196
196
  }
197
197
  function be(me, Ce) {
198
198
  try {
@@ -223,7 +223,7 @@ var z5 = { exports: {} };
223
223
  for (var Xe = 0; this._state === A && Xe < ze.length; Xe++)
224
224
  this._eachEntry(ze[Xe], Xe);
225
225
  }, me.prototype._eachEntry = function(ze, Xe) {
226
- var et = this._instanceConstructor, ge = et.resolve;
226
+ var tt = this._instanceConstructor, ge = tt.resolve;
227
227
  if (ge === j) {
228
228
  var Qe = void 0, Lt = void 0, yn = !1;
229
229
  try {
@@ -235,24 +235,24 @@ var z5 = { exports: {} };
235
235
  this._settledAt(ze._state, Xe, ze._result);
236
236
  else if (typeof Qe != "function")
237
237
  this._remaining--, this._result[Xe] = ze;
238
- else if (et === Fe) {
239
- var Mn = new et(O);
238
+ else if (tt === Fe) {
239
+ var Mn = new tt(O);
240
240
  yn ? T(Mn, Lt) : q(Mn, ze, Qe), this._willSettleAt(Mn, Xe);
241
241
  } else
242
- this._willSettleAt(new et(function(ee) {
242
+ this._willSettleAt(new tt(function(ee) {
243
243
  return ee(ze);
244
244
  }), Xe);
245
245
  } else
246
246
  this._willSettleAt(ge(ze), Xe);
247
- }, me.prototype._settledAt = function(ze, Xe, et) {
247
+ }, me.prototype._settledAt = function(ze, Xe, tt) {
248
248
  var ge = this.promise;
249
- ge._state === A && (this._remaining--, ze === G ? T(ge, et) : this._result[Xe] = et), this._remaining === 0 && S(ge, this._result);
249
+ ge._state === A && (this._remaining--, ze === G ? T(ge, tt) : this._result[Xe] = tt), this._remaining === 0 && S(ge, this._result);
250
250
  }, me.prototype._willSettleAt = function(ze, Xe) {
251
- var et = this;
251
+ var tt = this;
252
252
  W(ze, void 0, function(ge) {
253
- return et._settledAt(B, Xe, ge);
253
+ return tt._settledAt(B, Xe, ge);
254
254
  }, function(ge) {
255
- return et._settledAt(G, Xe, ge);
255
+ return tt._settledAt(G, Xe, ge);
256
256
  });
257
257
  }, me;
258
258
  }();
@@ -262,7 +262,7 @@ var z5 = { exports: {} };
262
262
  function ue(me) {
263
263
  var Ce = this;
264
264
  return o(me) ? new Ce(function(ze, Xe) {
265
- for (var et = me.length, ge = 0; ge < et; ge++)
265
+ for (var tt = me.length, ge = 0; ge < tt; ge++)
266
266
  Ce.resolve(me[ge]).then(ze, Xe);
267
267
  }) : new Ce(function(ze, Xe) {
268
268
  return Xe(new TypeError("You must pass an array to race."));
@@ -285,13 +285,13 @@ var z5 = { exports: {} };
285
285
  return me.prototype.catch = function(ze) {
286
286
  return this.then(null, ze);
287
287
  }, me.prototype.finally = function(ze) {
288
- var Xe = this, et = Xe.constructor;
288
+ var Xe = this, tt = Xe.constructor;
289
289
  return r(ze) ? Xe.then(function(ge) {
290
- return et.resolve(ze()).then(function() {
290
+ return tt.resolve(ze()).then(function() {
291
291
  return ge;
292
292
  });
293
293
  }, function(ge) {
294
- return et.resolve(ze()).then(function() {
294
+ return tt.resolve(ze()).then(function() {
295
295
  throw ge;
296
296
  });
297
297
  }) : Xe.then(ze, ze);
@@ -2123,7 +2123,7 @@ function Xn(t) {
2123
2123
  function bo(t) {
2124
2124
  return typeof t == "function";
2125
2125
  }
2126
- function Sr(t, e) {
2126
+ function Cr(t, e) {
2127
2127
  return t != t ? e == e : t !== e || t && lt(t) === "object" || typeof t == "function";
2128
2128
  }
2129
2129
  function dn(t, e) {
@@ -2764,7 +2764,7 @@ function EL(t) {
2764
2764
  };
2765
2765
  }
2766
2766
  function ML(t, e, n) {
2767
- var r, i, o, a, s, u, l, f, c, d, h, p, v, m, g, y = e.$$slots, b = y === void 0 ? {} : y, k = e.$$scope, w = Jh(), $ = y$, C = e.show, I = C === void 0 ? null : C, x = e.key, _ = x === void 0 ? "simple-modal" : x, j = e.ariaLabel, D = j === void 0 ? null : j, O = e.ariaLabelledBy, A = O === void 0 ? null : O, B = e.closeButton, G = B === void 0 || B, R = e.closeOnEsc, J = R === void 0 || R, L = e.closeOnOuterClick, P = L === void 0 || L, V = e.styleBg, q = V === void 0 ? {} : V, z = e.styleWindowWrap, E = z === void 0 ? {} : z, S = e.styleWindow, T = S === void 0 ? {} : S, W = e.styleContent, ie = W === void 0 ? {} : W, ve = e.styleCloseButton, be = ve === void 0 ? {} : ve, N = e.classBg, F = N === void 0 ? null : N, ae = e.classWindowWrap, ne = ae === void 0 ? null : ae, ce = e.classWindow, je = ce === void 0 ? null : ce, ue = e.classContent, Q = ue === void 0 ? null : ue, Be = e.classCloseButton, Ve = Be === void 0 ? null : Be, Fe = e.unstyled, Se = Fe !== void 0 && Fe, me = e.setContext, Ce = me === void 0 ? $ : me, ze = e.transitionBg, Xe = ze === void 0 ? _L : ze, et = e.transitionBgProps, ge = et === void 0 ? { duration: 250 } : et, Qe = e.transitionWindow, Lt = Qe === void 0 ? Xe : Qe, yn = e.transitionWindowProps, Mn = yn === void 0 ? ge : yn, ee = e.disableFocusTrap, le = ee !== void 0 && ee, pe = { ariaLabel: D, ariaLabelledBy: A, closeButton: G, closeOnEsc: J, closeOnOuterClick: P, styleBg: q, styleWindowWrap: E, styleWindow: T, styleContent: ie, styleCloseButton: be, classBg: F, classWindowWrap: ne, classWindow: je, classContent: Q, classCloseButton: Ve, transitionBg: Xe, transitionBgProps: ge, transitionWindow: Lt, transitionWindowProps: Mn, disableFocusTrap: le, unstyled: Se }, ye = dt({}, pe), Te = null, He = function(qe) {
2767
+ var r, i, o, a, s, u, l, f, c, d, h, p, v, m, g, y = e.$$slots, b = y === void 0 ? {} : y, k = e.$$scope, w = Jh(), $ = y$, C = e.show, I = C === void 0 ? null : C, x = e.key, _ = x === void 0 ? "simple-modal" : x, j = e.ariaLabel, D = j === void 0 ? null : j, O = e.ariaLabelledBy, A = O === void 0 ? null : O, B = e.closeButton, G = B === void 0 || B, R = e.closeOnEsc, J = R === void 0 || R, L = e.closeOnOuterClick, P = L === void 0 || L, V = e.styleBg, q = V === void 0 ? {} : V, z = e.styleWindowWrap, E = z === void 0 ? {} : z, S = e.styleWindow, T = S === void 0 ? {} : S, W = e.styleContent, ie = W === void 0 ? {} : W, ve = e.styleCloseButton, be = ve === void 0 ? {} : ve, N = e.classBg, F = N === void 0 ? null : N, ae = e.classWindowWrap, ne = ae === void 0 ? null : ae, ce = e.classWindow, je = ce === void 0 ? null : ce, ue = e.classContent, Q = ue === void 0 ? null : ue, Be = e.classCloseButton, Ve = Be === void 0 ? null : Be, Fe = e.unstyled, Se = Fe !== void 0 && Fe, me = e.setContext, Ce = me === void 0 ? $ : me, ze = e.transitionBg, Xe = ze === void 0 ? _L : ze, tt = e.transitionBgProps, ge = tt === void 0 ? { duration: 250 } : tt, Qe = e.transitionWindow, Lt = Qe === void 0 ? Xe : Qe, yn = e.transitionWindowProps, Mn = yn === void 0 ? ge : yn, ee = e.disableFocusTrap, le = ee !== void 0 && ee, pe = { ariaLabel: D, ariaLabelledBy: A, closeButton: G, closeOnEsc: J, closeOnOuterClick: P, styleBg: q, styleWindowWrap: E, styleWindow: T, styleContent: ie, styleCloseButton: be, classBg: F, classWindowWrap: ne, classWindow: je, classContent: Q, classCloseButton: Ve, transitionBg: Xe, transitionBgProps: ge, transitionWindow: Lt, transitionWindowProps: Mn, disableFocusTrap: le, unstyled: Se }, ye = dt({}, pe), Te = null, He = function(qe) {
2768
2768
  return qe ? Object.keys(qe).reduce(function(lr, bn) {
2769
2769
  return "".concat(lr, "; ").concat(function(an) {
2770
2770
  return an.replace(/([a-zA-Z])(?=[A-Z])/g, "$1-").toLowerCase();
@@ -2836,7 +2836,7 @@ var TL = function(t) {
2836
2836
  var e = Ne(n);
2837
2837
  function n(r) {
2838
2838
  var i;
2839
- return Y(this, n), At(_t(i = e.call(this)), r, ML, OL, Sr, { show: 22, key: 23, ariaLabel: 24, ariaLabelledBy: 25, closeButton: 26, closeOnEsc: 27, closeOnOuterClick: 28, styleBg: 29, styleWindowWrap: 30, styleWindow: 31, styleContent: 32, styleCloseButton: 33, classBg: 34, classWindowWrap: 35, classWindow: 36, classContent: 37, classCloseButton: 38, unstyled: 0, setContext: 39, transitionBg: 40, transitionBgProps: 41, transitionWindow: 42, transitionWindowProps: 43, disableFocusTrap: 44 }, CL, [-1, -1, -1]), i;
2839
+ return Y(this, n), At(_t(i = e.call(this)), r, ML, OL, Cr, { show: 22, key: 23, ariaLabel: 24, ariaLabelledBy: 25, closeButton: 26, closeOnEsc: 27, closeOnOuterClick: 28, styleBg: 29, styleWindowWrap: 30, styleWindow: 31, styleContent: 32, styleCloseButton: 33, classBg: 34, classWindowWrap: 35, classWindow: 36, classContent: 37, classCloseButton: 38, unstyled: 0, setContext: 39, transitionBg: 40, transitionBgProps: 41, transitionWindow: 42, transitionWindowProps: 43, disableFocusTrap: 44 }, CL, [-1, -1, -1]), i;
2840
2840
  }
2841
2841
  return X(n);
2842
2842
  }(), Ol = "tree", yu = "code", ya = Symbol("id"), ni = Symbol("expanded"), Uo = Symbol("visible sections"), oo = Symbol("keys"), qu = Symbol("search:property"), uc = Symbol("search:value"), Ti = Symbol("enforce string"), lc = Symbol("selection"), hm = Symbol("validation:error"), a0 = [{ start: 0, end: 100 }], _u = { closeButton: !1, classBg: "jse-modal-bg", classWindow: "jse-modal-window", classWindowWrap: "jse-modal-window-wrap", classContent: "jse-modal-content" }, IL = dt(dt({}, _u), {}, { classWindow: "jse-modal-window jse-modal-window-sort" }), PL = dt(dt({}, _u), {}, { classWindow: "jse-modal-window jse-modal-window-transform" }), s0 = "Insert or paste contents, enter [ insert a new array, enter { to insert a new object, or start typing to insert a new value", x$ = "Open context menu (Click here, right click on the selection, or use the context menu button or Ctrl+Q)", NL = "NO", u0 = "SELF", l0 = "NEXT_INSIDE", LL = 0;
@@ -3616,7 +3616,7 @@ var Ga = function() {
3616
3616
  function xr(t) {
3617
3617
  return lt(t) === "object" && t !== null && !Array.isArray(t);
3618
3618
  }
3619
- function $r(t) {
3619
+ function Ar(t) {
3620
3620
  return lt(t) === "object" && t !== null;
3621
3621
  }
3622
3622
  function j$(t) {
@@ -7238,7 +7238,7 @@ function a6(t, e, n) {
7238
7238
  if (a === null)
7239
7239
  return null;
7240
7240
  if (r) {
7241
- var l = $r(xe.exports.getIn(t, o)) ? xe.exports.setIn(e, o.concat(ni), !1, !0) : e, f = Im(t, l, o);
7241
+ var l = Ar(xe.exports.getIn(t, o)) ? xe.exports.setIn(e, o.concat(ni), !1, !0) : e, f = Im(t, l, o);
7242
7242
  return f === null ? null : n.type === Kr ? sn(t, e, { type: Dt, anchorPath: f, focusPath: f }) : n.type === _r ? sn(t, e, { type: Dt, anchorPath: s, focusPath: u }) : sn(t, e, { type: Dt, anchorPath: n.anchorPath, focusPath: f });
7243
7243
  }
7244
7244
  if (n.type === kn) {
@@ -7295,7 +7295,7 @@ function Nm(t) {
7295
7295
  return t && (t.type === kn || t.type === bt || t.type === Dt && t.paths.length === 1);
7296
7296
  }
7297
7297
  function i_(t, e) {
7298
- return Nm(e) && $r(xe.exports.getIn(t, e.focusPath)) ? e.focusPath : tn(e.focusPath);
7298
+ return Nm(e) && Ar(xe.exports.getIn(t, e.focusPath)) ? e.focusPath : tn(e.focusPath);
7299
7299
  }
7300
7300
  function pc(t, e) {
7301
7301
  if (t.length < e.length)
@@ -7755,7 +7755,7 @@ var Qz = function(t) {
7755
7755
  var e = Ne(n);
7756
7756
  function n(r) {
7757
7757
  var i;
7758
- return Y(this, n), At(_t(i = e.call(this)), r, Kz, Gz, Sr, { id: 0, data: 1 }), i;
7758
+ return Y(this, n), At(_t(i = e.call(this)), r, Kz, Gz, Cr, { id: 0, data: 1 }), i;
7759
7759
  }
7760
7760
  return X(n);
7761
7761
  }();
@@ -7784,7 +7784,7 @@ var Zz = function(t) {
7784
7784
  var e = Ne(n);
7785
7785
  function n(r) {
7786
7786
  var i;
7787
- return Y(this, n), At(_t(i = e.call(this)), r, Xz, Yz, Sr, { id: 0, data: 1 }), i;
7787
+ return Y(this, n), At(_t(i = e.call(this)), r, Xz, Yz, Cr, { id: 0, data: 1 }), i;
7788
7788
  }
7789
7789
  return X(n);
7790
7790
  }();
@@ -7825,7 +7825,7 @@ var nB = function(t) {
7825
7825
  var e = Ne(n);
7826
7826
  function n(r) {
7827
7827
  var i;
7828
- return Y(this, n), At(_t(i = e.call(this)), r, tB, eB, Sr, { data: 1 }), i;
7828
+ return Y(this, n), At(_t(i = e.call(this)), r, tB, eB, Cr, { data: 1 }), i;
7829
7829
  }
7830
7830
  return X(n);
7831
7831
  }();
@@ -7860,7 +7860,7 @@ var aB = function(t) {
7860
7860
  var e = Ne(n);
7861
7861
  function n(r) {
7862
7862
  var i;
7863
- return Y(this, n), At(_t(i = e.call(this)), r, oB, iB, Sr, { class: 0, width: 1, height: 2, box: 3, spin: 4, inverse: 5, pulse: 6, flip: 7, x: 8, y: 9, style: 10, label: 11 }, rB), i;
7863
+ return Y(this, n), At(_t(i = e.call(this)), r, oB, iB, Cr, { class: 0, width: 1, height: 2, box: 3, spin: 4, inverse: 5, pulse: 6, flip: 7, x: 8, y: 9, style: 10, label: 11 }, rB), i;
7864
7864
  }
7865
7865
  return X(n);
7866
7866
  }();
@@ -8125,7 +8125,7 @@ var Yt = function(t) {
8125
8125
  var e = Ne(n);
8126
8126
  function n(r) {
8127
8127
  var i;
8128
- return Y(this, n), At(_t(i = e.call(this)), r, lB, uB, Sr, { class: 0, data: 11, scale: 12, spin: 1, inverse: 2, pulse: 3, flip: 4, label: 5, style: 13 }), i;
8128
+ return Y(this, n), At(_t(i = e.call(this)), r, lB, uB, Cr, { class: 0, data: 11, scale: 12, spin: 1, inverse: 2, pulse: 3, flip: 4, label: 5, style: 13 }), i;
8129
8129
  }
8130
8130
  return X(n);
8131
8131
  }();
@@ -12612,12 +12612,12 @@ var xF = function() {
12612
12612
  var n = this;
12613
12613
  Y(this, t), this.lastKeyCode = 0, this.lastKeyTime = 0, this.chromeScrollHack = -1, this.pendingIOSKey = void 0, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastEscPress = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.registeredEvents = [], this.customHandlers = [], this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.rapidCompositionStart = !1, this.mouseSelection = null;
12614
12614
  var r = function(o) {
12615
- var a = Cr[o];
12615
+ var a = $r[o];
12616
12616
  e.contentDOM.addEventListener(o, function(s) {
12617
12617
  vS(e, s) && !n.ignoreDuringComposition(s) && (o == "keydown" && n.keydown(e, s) || (n.mustFlushObserver(s) && e.observer.forceFlush(), n.runCustomHandlers(o, e, s) ? s.preventDefault() : a(e, s)));
12618
12618
  }), n.registeredEvents.push(o);
12619
12619
  };
12620
- for (var i in Cr)
12620
+ for (var i in $r)
12621
12621
  r(i);
12622
12622
  St.chrome && St.chrome_version >= 102 && e.scrollDOM.addEventListener("wheel", function() {
12623
12623
  n.chromeScrollHack < 0 ? e.contentDOM.style.pointerEvents = "none" : window.clearTimeout(n.chromeScrollHack), n.chromeScrollHack = setTimeout(function() {
@@ -12762,7 +12762,7 @@ function vS(t, e) {
12762
12762
  return !1;
12763
12763
  return !0;
12764
12764
  }
12765
- var Cr = /* @__PURE__ */ Object.create(null), m8 = St.ie && St.ie_version < 15 || St.ios && St.webkit_version < 604;
12765
+ var $r = /* @__PURE__ */ Object.create(null), m8 = St.ie && St.ie_version < 15 || St.ios && St.webkit_version < 604;
12766
12766
  function mS(t, e) {
12767
12767
  var n, r = t.state, i = 1, o = r.toText(e), a = o.lines == r.selection.ranges.length;
12768
12768
  if (vg != null && r.selection.ranges.every(function(u) {
@@ -12784,7 +12784,7 @@ function mS(t, e) {
12784
12784
  }) : r.replaceSelection(o);
12785
12785
  t.dispatch(n, { userEvent: "input.paste", scrollIntoView: !0 });
12786
12786
  }
12787
- Cr.keydown = function(t, e) {
12787
+ $r.keydown = function(t, e) {
12788
12788
  t.inputState.setSelectionOrigin("select"), e.keyCode == 27 ? t.inputState.lastEscPress = Date.now() : v8.indexOf(e.keyCode) < 0 && (t.inputState.lastEscPress = 0);
12789
12789
  };
12790
12790
  var gS = 0;
@@ -12816,11 +12816,11 @@ function yS(t, e, n, r) {
12816
12816
  var i = wo.find(t.docView, e), o = t.state.doc.lineAt(i ? i.posAtEnd : e), a = i ? i.posAtStart : o.from, s = i ? i.posAtEnd : o.to;
12817
12817
  return s < t.state.doc.length && s == o.to && s++, Ke.range(a, s);
12818
12818
  }
12819
- Cr.touchstart = function(t, e) {
12819
+ $r.touchstart = function(t, e) {
12820
12820
  gS = Date.now(), t.inputState.setSelectionOrigin("select.pointer");
12821
- }, Cr.touchmove = function(t) {
12821
+ }, $r.touchmove = function(t) {
12822
12822
  t.inputState.setSelectionOrigin("select.pointer");
12823
- }, Cr.mousedown = function(t, e) {
12823
+ }, $r.mousedown = function(t, e) {
12824
12824
  if (t.observer.flush(), !(gS > Date.now() - 2e3 && pg(e) == 1)) {
12825
12825
  var n, r = null, i = se(t.state.facet(n8));
12826
12826
  try {
@@ -12893,10 +12893,10 @@ function _S(t, e, n, r) {
12893
12893
  t.focus(), t.dispatch({ changes: u, selection: { anchor: u.mapPos(i, -1), head: u.mapPos(i, 1) }, userEvent: a ? "move.drop" : "input.drop" });
12894
12894
  }
12895
12895
  }
12896
- Cr.dragstart = function(t, e) {
12896
+ $r.dragstart = function(t, e) {
12897
12897
  var n = t.state.selection.main, r = t.inputState.mouseSelection;
12898
12898
  r && (r.dragging = n), e.dataTransfer && (e.dataTransfer.setData("Text", t.state.sliceDoc(n.from, n.to)), e.dataTransfer.effectAllowed = "copyMove");
12899
- }, Cr.drop = function(t, e) {
12899
+ }, $r.drop = function(t, e) {
12900
12900
  if (e.dataTransfer) {
12901
12901
  if (t.state.readOnly)
12902
12902
  return e.preventDefault();
@@ -12916,7 +12916,7 @@ Cr.dragstart = function(t, e) {
12916
12916
  a(s);
12917
12917
  }() : _S(t, e, e.dataTransfer.getData("Text"), !0);
12918
12918
  }
12919
- }, Cr.paste = function(t, e) {
12919
+ }, $r.paste = function(t, e) {
12920
12920
  if (t.state.readOnly)
12921
12921
  return e.preventDefault();
12922
12922
  t.observer.flush();
@@ -12947,7 +12947,7 @@ function CS(t, e) {
12947
12947
  }
12948
12948
  }
12949
12949
  }
12950
- Cr.copy = Cr.cut = function(t, e) {
12950
+ $r.copy = $r.cut = function(t, e) {
12951
12951
  var n = function(s) {
12952
12952
  var u, l = [], f = [], c = !1, d = se(s.selection.ranges);
12953
12953
  try {
@@ -12989,17 +12989,17 @@ Cr.copy = Cr.cut = function(t, e) {
12989
12989
  }
12990
12990
  }(t, r), e.type != "cut" || t.state.readOnly || t.dispatch({ changes: i, scrollIntoView: !0, userEvent: "delete.cut" });
12991
12991
  }
12992
- }, Cr.focus = SS, Cr.blur = function(t) {
12992
+ }, $r.focus = SS, $r.blur = function(t) {
12993
12993
  t.observer.clearSelectionRange(), SS(t);
12994
- }, Cr.compositionstart = Cr.compositionupdate = function(t) {
12994
+ }, $r.compositionstart = $r.compositionupdate = function(t) {
12995
12995
  t.inputState.compositionFirstChange == null && (t.inputState.compositionFirstChange = !0), t.inputState.composing < 0 && (t.inputState.composing = 0, t.docView.compositionDeco.size && (t.observer.flush(), CS(t, !0)));
12996
- }, Cr.compositionend = function(t) {
12996
+ }, $r.compositionend = function(t) {
12997
12997
  t.inputState.composing = -1, t.inputState.compositionEndedAt = Date.now(), t.inputState.compositionFirstChange = null, setTimeout(function() {
12998
12998
  t.inputState.composing < 0 && CS(t, !1);
12999
12999
  }, 50);
13000
- }, Cr.contextmenu = function(t) {
13000
+ }, $r.contextmenu = function(t) {
13001
13001
  t.inputState.lastContextMenu = Date.now();
13002
- }, Cr.beforeinput = function(t, e) {
13002
+ }, $r.beforeinput = function(t, e) {
13003
13003
  var n, r;
13004
13004
  if (St.chrome && St.android && (r = p8.find(function(o) {
13005
13005
  return o.inputType == e.inputType;
@@ -17968,8 +17968,8 @@ var _v, Uq = function() {
17968
17968
  }
17969
17969
  }
17970
17970
  } }]), t;
17971
- }(), at = za.define, Jf = at(), Ba = at(), ZS = at(Ba), e4 = at(Ba), Fa = at(), Gf = at(Fa), Sv = at(Fa), Do = at(), Ss = at(Do), Po = at(), No = at(), jg = at(), Pl = at(jg), Kf = at(), tt = { comment: Jf, lineComment: at(Jf), blockComment: at(Jf), docComment: at(Jf), name: Ba, variableName: at(Ba), typeName: ZS, tagName: at(ZS), propertyName: e4, attributeName: at(e4), className: at(Ba), labelName: at(Ba), namespace: at(Ba), macroName: at(Ba), literal: Fa, string: Gf, docString: at(Gf), character: at(Gf), attributeValue: at(Gf), number: Sv, integer: at(Sv), float: at(Sv), bool: at(Fa), regexp: at(Fa), escape: at(Fa), color: at(Fa), url: at(Fa), keyword: Po, self: at(Po), null: at(Po), atom: at(Po), unit: at(Po), modifier: at(Po), operatorKeyword: at(Po), controlKeyword: at(Po), definitionKeyword: at(Po), moduleKeyword: at(Po), operator: No, derefOperator: at(No), arithmeticOperator: at(No), logicOperator: at(No), bitwiseOperator: at(No), compareOperator: at(No), updateOperator: at(No), definitionOperator: at(No), typeOperator: at(No), controlOperator: at(No), punctuation: jg, separator: at(jg), bracket: Pl, angleBracket: at(Pl), squareBracket: at(Pl), paren: at(Pl), brace: at(Pl), content: Do, heading: Ss, heading1: at(Ss), heading2: at(Ss), heading3: at(Ss), heading4: at(Ss), heading5: at(Ss), heading6: at(Ss), contentSeparator: at(Do), list: at(Do), quote: at(Do), emphasis: at(Do), strong: at(Do), link: at(Do), monospace: at(Do), strikethrough: at(Do), inserted: at(), deleted: at(), changed: at(), invalid: at(), meta: Kf, documentMeta: at(Kf), annotation: at(Kf), processingInstruction: at(Kf), definition: za.defineModifier(), constant: za.defineModifier(), function: za.defineModifier(), standard: za.defineModifier(), local: za.defineModifier(), special: za.defineModifier() };
17972
- V8([{ tag: tt.link, class: "tok-link" }, { tag: tt.heading, class: "tok-heading" }, { tag: tt.emphasis, class: "tok-emphasis" }, { tag: tt.strong, class: "tok-strong" }, { tag: tt.keyword, class: "tok-keyword" }, { tag: tt.atom, class: "tok-atom" }, { tag: tt.bool, class: "tok-bool" }, { tag: tt.url, class: "tok-url" }, { tag: tt.labelName, class: "tok-labelName" }, { tag: tt.inserted, class: "tok-inserted" }, { tag: tt.deleted, class: "tok-deleted" }, { tag: tt.literal, class: "tok-literal" }, { tag: tt.string, class: "tok-string" }, { tag: tt.number, class: "tok-number" }, { tag: [tt.regexp, tt.escape, tt.special(tt.string)], class: "tok-string2" }, { tag: tt.variableName, class: "tok-variableName" }, { tag: tt.local(tt.variableName), class: "tok-variableName tok-local" }, { tag: tt.definition(tt.variableName), class: "tok-variableName tok-definition" }, { tag: tt.special(tt.variableName), class: "tok-variableName2" }, { tag: tt.definition(tt.propertyName), class: "tok-propertyName tok-definition" }, { tag: tt.typeName, class: "tok-typeName" }, { tag: tt.namespace, class: "tok-namespace" }, { tag: tt.className, class: "tok-className" }, { tag: tt.macroName, class: "tok-macroName" }, { tag: tt.propertyName, class: "tok-propertyName" }, { tag: tt.operator, class: "tok-operator" }, { tag: tt.comment, class: "tok-comment" }, { tag: tt.meta, class: "tok-meta" }, { tag: tt.invalid, class: "tok-invalid" }, { tag: tt.punctuation, class: "tok-punctuation" }]);
17971
+ }(), at = za.define, Jf = at(), Ba = at(), ZS = at(Ba), e4 = at(Ba), Fa = at(), Gf = at(Fa), Sv = at(Fa), Do = at(), Ss = at(Do), Po = at(), No = at(), jg = at(), Pl = at(jg), Kf = at(), nt = { comment: Jf, lineComment: at(Jf), blockComment: at(Jf), docComment: at(Jf), name: Ba, variableName: at(Ba), typeName: ZS, tagName: at(ZS), propertyName: e4, attributeName: at(e4), className: at(Ba), labelName: at(Ba), namespace: at(Ba), macroName: at(Ba), literal: Fa, string: Gf, docString: at(Gf), character: at(Gf), attributeValue: at(Gf), number: Sv, integer: at(Sv), float: at(Sv), bool: at(Fa), regexp: at(Fa), escape: at(Fa), color: at(Fa), url: at(Fa), keyword: Po, self: at(Po), null: at(Po), atom: at(Po), unit: at(Po), modifier: at(Po), operatorKeyword: at(Po), controlKeyword: at(Po), definitionKeyword: at(Po), moduleKeyword: at(Po), operator: No, derefOperator: at(No), arithmeticOperator: at(No), logicOperator: at(No), bitwiseOperator: at(No), compareOperator: at(No), updateOperator: at(No), definitionOperator: at(No), typeOperator: at(No), controlOperator: at(No), punctuation: jg, separator: at(jg), bracket: Pl, angleBracket: at(Pl), squareBracket: at(Pl), paren: at(Pl), brace: at(Pl), content: Do, heading: Ss, heading1: at(Ss), heading2: at(Ss), heading3: at(Ss), heading4: at(Ss), heading5: at(Ss), heading6: at(Ss), contentSeparator: at(Do), list: at(Do), quote: at(Do), emphasis: at(Do), strong: at(Do), link: at(Do), monospace: at(Do), strikethrough: at(Do), inserted: at(), deleted: at(), changed: at(), invalid: at(), meta: Kf, documentMeta: at(Kf), annotation: at(Kf), processingInstruction: at(Kf), definition: za.defineModifier(), constant: za.defineModifier(), function: za.defineModifier(), standard: za.defineModifier(), local: za.defineModifier(), special: za.defineModifier() };
17972
+ V8([{ tag: nt.link, class: "tok-link" }, { tag: nt.heading, class: "tok-heading" }, { tag: nt.emphasis, class: "tok-emphasis" }, { tag: nt.strong, class: "tok-strong" }, { tag: nt.keyword, class: "tok-keyword" }, { tag: nt.atom, class: "tok-atom" }, { tag: nt.bool, class: "tok-bool" }, { tag: nt.url, class: "tok-url" }, { tag: nt.labelName, class: "tok-labelName" }, { tag: nt.inserted, class: "tok-inserted" }, { tag: nt.deleted, class: "tok-deleted" }, { tag: nt.literal, class: "tok-literal" }, { tag: nt.string, class: "tok-string" }, { tag: nt.number, class: "tok-number" }, { tag: [nt.regexp, nt.escape, nt.special(nt.string)], class: "tok-string2" }, { tag: nt.variableName, class: "tok-variableName" }, { tag: nt.local(nt.variableName), class: "tok-variableName tok-local" }, { tag: nt.definition(nt.variableName), class: "tok-variableName tok-definition" }, { tag: nt.special(nt.variableName), class: "tok-variableName2" }, { tag: nt.definition(nt.propertyName), class: "tok-propertyName tok-definition" }, { tag: nt.typeName, class: "tok-typeName" }, { tag: nt.namespace, class: "tok-namespace" }, { tag: nt.className, class: "tok-className" }, { tag: nt.macroName, class: "tok-macroName" }, { tag: nt.propertyName, class: "tok-propertyName" }, { tag: nt.operator, class: "tok-operator" }, { tag: nt.comment, class: "tok-comment" }, { tag: nt.meta, class: "tok-meta" }, { tag: nt.invalid, class: "tok-invalid" }, { tag: nt.punctuation, class: "tok-punctuation" }]);
17973
17973
  var Cc = new zn(), xo = function() {
17974
17974
  function t(e, n) {
17975
17975
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
@@ -18766,7 +18766,7 @@ var fV = function() {
18766
18766
  } }]), t;
18767
18767
  }(), dV = nf.high(Br.fromClass(fV, { decorations: function(t) {
18768
18768
  return t.decorations;
18769
- } })), hV = Fy.define([{ tag: tt.meta, color: "#7a757a" }, { tag: tt.link, textDecoration: "underline" }, { tag: tt.heading, textDecoration: "underline", fontWeight: "bold" }, { tag: tt.emphasis, fontStyle: "italic" }, { tag: tt.strong, fontWeight: "bold" }, { tag: tt.strikethrough, textDecoration: "line-through" }, { tag: tt.keyword, color: "#708" }, { tag: [tt.atom, tt.bool, tt.url, tt.contentSeparator, tt.labelName], color: "#219" }, { tag: [tt.literal, tt.inserted], color: "#164" }, { tag: [tt.string, tt.deleted], color: "#a11" }, { tag: [tt.regexp, tt.escape, tt.special(tt.string)], color: "#e40" }, { tag: tt.definition(tt.variableName), color: "#00f" }, { tag: tt.local(tt.variableName), color: "#30a" }, { tag: [tt.typeName, tt.namespace], color: "#085" }, { tag: tt.className, color: "#167" }, { tag: [tt.special(tt.variableName), tt.macroName], color: "#256" }, { tag: tt.definition(tt.propertyName), color: "#00c" }, { tag: tt.comment, color: "#940" }, { tag: tt.invalid, color: "#f00" }]), pV = Et.baseTheme({ "&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" }, "&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" } }), Z8 = Ct.define({ combine: function(t) {
18769
+ } })), hV = Fy.define([{ tag: nt.meta, color: "#7a757a" }, { tag: nt.link, textDecoration: "underline" }, { tag: nt.heading, textDecoration: "underline", fontWeight: "bold" }, { tag: nt.emphasis, fontStyle: "italic" }, { tag: nt.strong, fontWeight: "bold" }, { tag: nt.strikethrough, textDecoration: "line-through" }, { tag: nt.keyword, color: "#708" }, { tag: [nt.atom, nt.bool, nt.url, nt.contentSeparator, nt.labelName], color: "#219" }, { tag: [nt.literal, nt.inserted], color: "#164" }, { tag: [nt.string, nt.deleted], color: "#a11" }, { tag: [nt.regexp, nt.escape, nt.special(nt.string)], color: "#e40" }, { tag: nt.definition(nt.variableName), color: "#00f" }, { tag: nt.local(nt.variableName), color: "#30a" }, { tag: [nt.typeName, nt.namespace], color: "#085" }, { tag: nt.className, color: "#167" }, { tag: [nt.special(nt.variableName), nt.macroName], color: "#256" }, { tag: nt.definition(nt.propertyName), color: "#00c" }, { tag: nt.comment, color: "#940" }, { tag: nt.invalid, color: "#f00" }]), pV = Et.baseTheme({ "&.cm-focused .cm-matchingBracket": { backgroundColor: "#328c8252" }, "&.cm-focused .cm-nonmatchingBracket": { backgroundColor: "#bb555544" } }), Z8 = Ct.define({ combine: function(t) {
18770
18770
  return aa(t, { afterCursor: !0, brackets: "()[]{}", maxScanDistance: 1e4, renderMatch: gV });
18771
18771
  } }), vV = Nt.mark({ class: "cm-matchingBracket" }), mV = Nt.mark({ class: "cm-nonmatchingBracket" });
18772
18772
  function gV(t) {
@@ -18867,7 +18867,7 @@ function CV(t, e) {
18867
18867
  var n, r = null, i = se(e.split("."));
18868
18868
  try {
18869
18869
  for (i.s(); !(n = i.n()).done; ) {
18870
- var o = n.value, a = t[o] || tt[o];
18870
+ var o = n.value, a = t[o] || nt[o];
18871
18871
  a ? typeof a == "function" ? r ? r = a(r) : Ev(o, "Modifier ".concat(o, " used at start of tag")) : r ? Ev(o, "Tag ".concat(o, " used as modifier")) : r = a : Ev(o, "Unknown highlighting tag ".concat(o));
18872
18872
  }
18873
18873
  } catch (l) {
@@ -24011,7 +24011,7 @@ function uC(t, e, n) {
24011
24011
  return i - e;
24012
24012
  return -1;
24013
24013
  }
24014
- var vW = F8({ String: tt.string, Number: tt.number, "True False": tt.bool, PropertyName: tt.propertyName, Null: tt.null, ",": tt.separator, "[ ]": tt.squareBracket, "{ }": tt.brace }), mW = pW.deserialize({ version: 14, states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j", stateData: "#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O", goto: "!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R", nodeNames: "\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array", maxTerm: 25, nodeProps: [["openedBy", 7, "{", 12, "["], ["closedBy", 8, "}", 13, "]"]], propSources: [vW], skippedNodes: [0], repeatNodeCount: 2, tokenData: "(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~", tokenizers: [0], topRules: { JsonText: [0, 1] }, tokenPrec: 0 }), gW = Jq.define({ parser: mW.configure({ props: [W8.add({ Object: r4({ except: /^\s*\}/ }), Array: r4({ except: /^\s*\]/ }) }), J8.add({ "Object Array": function(t) {
24014
+ var vW = F8({ String: nt.string, Number: nt.number, "True False": nt.bool, PropertyName: nt.propertyName, Null: nt.null, ",": nt.separator, "[ ]": nt.squareBracket, "{ }": nt.brace }), mW = pW.deserialize({ version: 14, states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j", stateData: "#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O", goto: "!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R", nodeNames: "\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array", maxTerm: 25, nodeProps: [["openedBy", 7, "{", 12, "["], ["closedBy", 8, "}", 13, "]"]], propSources: [vW], skippedNodes: [0], repeatNodeCount: 2, tokenData: "(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~", tokenizers: [0], topRules: { JsonText: [0, 1] }, tokenPrec: 0 }), gW = Jq.define({ parser: mW.configure({ props: [W8.add({ Object: r4({ except: /^\s*\}/ }), Array: r4({ except: /^\s*\]/ }) }), J8.add({ "Object Array": function(t) {
24015
24015
  var e = t.firstChild, n = t.lastChild;
24016
24016
  return e && e.to < n.from ? { from: e.to, to: n.type.isError ? t.to : n.from } : null;
24017
24017
  } })] }), languageData: { closeBrackets: { brackets: ["[", "{", '"'] }, indentOnInput: /^\s*[\}\]]$/ } });
@@ -24086,10 +24086,10 @@ var wW = function(t) {
24086
24086
  var e = Ne(n);
24087
24087
  function n(r) {
24088
24088
  var i;
24089
- return Y(this, n), At(_t(i = e.call(this)), r, kW, bW, Sr, { editorState: 3 }, yW), i;
24089
+ return Y(this, n), At(_t(i = e.call(this)), r, kW, bW, Cr, { editorState: 3 }, yW), i;
24090
24090
  }
24091
24091
  return X(n);
24092
- }(), s1 = Fy.define([{ tag: tt.propertyName, color: "var(--jse-key-color)" }, { tag: tt.number, color: "var(--jse-value-color-number)" }, { tag: tt.bool, color: "var(--jse-value-color-boolean)" }, { tag: tt.string, color: "var(--jse-value-color-string)" }, { tag: tt.keyword, color: "var(--jse-value-color-null)" }]), xW = X8(s1), jW = s1.style;
24092
+ }(), s1 = Fy.define([{ tag: nt.propertyName, color: "var(--jse-key-color)" }, { tag: nt.number, color: "var(--jse-value-color-number)" }, { tag: nt.bool, color: "var(--jse-value-color-boolean)" }, { tag: nt.string, color: "var(--jse-value-color-string)" }, { tag: nt.keyword, color: "var(--jse-value-color-null)" }]), xW = X8(s1), jW = s1.style;
24093
24093
  function _W(t) {
24094
24094
  Ft(t, "svelte-1ol5grl", '.jse-code-mode.svelte-1ol5grl.svelte-1ol5grl{flex:1;box-sizing:border-box;display:flex;flex-direction:column;background:var(--jse-background-color)}.jse-code-mode.no-main-menu.svelte-1ol5grl.svelte-1ol5grl{border-top:var(--jse-main-border)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0;min-height:0;border-left:var(--jse-main-border);border-right:var(--jse-main-border)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl:last-child{border-bottom:var(--jse-main-border)}.jse-code-mode.svelte-1ol5grl .jse-contents.jse-hidden.svelte-1ol5grl{visibility:hidden}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor{flex:1;overflow:hidden}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-scroller{font-family:var(--jse-font-family-mono);font-size:var(--jse-font-size-mono);line-height:var(--jse-line-height);color:var(--jse-delimiter-color)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-gutters{background:var(--jse-panel-background);color:var(--jse-panel-color-readonly);border-right:var(--jse-panel-border)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-activeLine,.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-activeLineGutter{background:var(--jse-hover-background-color)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-selectionBackground{background:var(--jse-selection-background-color)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-searchMatch{background-color:var(--jse-search-match-color);outline:var(--jse-search-match-outline)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-searchMatch.cm-searchMatch-selected{background-color:var(--jse-search-match-active-color);outline:var(--jse-search-match-active-outline)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-foldPlaceholder{background:var(--jse-tag-background);color:var(--jse-tag-color);border:none;padding:0 var(--jse-padding)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-diagnostic{font-size:var(--jse-font-size);font-family:var(--jse-font-family)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-panels{border-bottom:var(--jse-panel-border)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search{background:var(--jse-panel-background);color:var(--jse-panel-color);font-family:var(--jse-font-family);font-size:var(--jse-font-size)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search input{font-family:var(--jse-font-family);font-size:var(--jse-font-size-code-mode-search);color:var(--jse-input-color);border:var(--jse-input-border);background:var(--jse-input-background);margin-right:2px}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search button{font-family:var(--jse-font-family);font-size:var(--jse-font-size-code-mode-search);color:var(--jse-panel-button-color);background:var(--jse-panel-button-background);border:none;cursor:pointer;text-transform:capitalize;padding:calc(0.5 * var(--jse-padding)) var(--jse-padding);margin:0}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search button:hover{color:var(--jse-panel-button-color-highlight);background:var(--jse-panel-button-background-highlight)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search label{font-family:var(--jse-font-family);font-size:var(--jse-font-size-code-mode-search);padding-left:var(--jse-padding)}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search label input{margin-right:2px}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-search button[name="close"]{width:32px;height:32px;font-size:24px;line-height:24px;padding:0;right:0;top:-4px}.jse-code-mode.svelte-1ol5grl .jse-contents.svelte-1ol5grl .cm-editor .cm-cursor-primary{border-color:var(--jse-text-color)}.jse-code-mode.svelte-1ol5grl .jse-contents .jse-loading-space.svelte-1ol5grl{flex:1}.jse-code-mode.svelte-1ol5grl .jse-contents .jse-loading.svelte-1ol5grl{flex:2;text-align:center;color:var(--jse-panel-color-readonly);box-sizing:border-box;font-family:var(--jse-font-family);font-size:var(--jse-font-size)}');
24095
24095
  }
@@ -24299,9 +24299,9 @@ function AW(t, e, n) {
24299
24299
  function Xe(we) {
24300
24300
  T("select parse error", we);
24301
24301
  var rt = yn(we);
24302
- et(rt.from, rt.to), Be();
24302
+ tt(rt.from, rt.to), Be();
24303
24303
  }
24304
- function et(we, rt) {
24304
+ function tt(we, rt) {
24305
24305
  T("setSelection", { anchor: we, head: rt }), l && l.dispatch(l.state.update({ selection: { anchor: we, head: rt }, scrollIntoView: !0 }));
24306
24306
  }
24307
24307
  function ge(we, rt) {
@@ -24312,7 +24312,7 @@ function AW(t, e, n) {
24312
24312
  var qt;
24313
24313
  return ((qt = mt.pointers[Pt].value) === null || qt === void 0 ? void 0 : qt.pos) === vt.from;
24314
24314
  }), wt = mt.pointers[It];
24315
- It && wt && wt.value && wt.valueEnd && (T("pointer found, selecting inner contents of path:", It, wt), et(wt.value.pos + 1, wt.valueEnd.pos - 1));
24315
+ It && wt && wt.value && wt.valueEnd && (T("pointer found, selecting inner contents of path:", It, wt), tt(wt.value.pos + 1, wt.valueEnd.pos - 1));
24316
24316
  }
24317
24317
  }
24318
24318
  }
@@ -24455,7 +24455,7 @@ function AW(t, e, n) {
24455
24455
  }, function(we) {
24456
24456
  T("select validation error", we);
24457
24457
  var rt = Lt(we);
24458
- et(rt.from, rt.to), Be();
24458
+ tt(rt.from, rt.to), Be();
24459
24459
  }, Xe, $, I, _, D, A, R, L, V, E, S, Be, Fe, ze, function() {
24460
24460
  T("refresh");
24461
24461
  var we = l.state.doc.length;
@@ -25302,13 +25302,13 @@ function $C(t) {
25302
25302
  } };
25303
25303
  }
25304
25304
  function hU(t) {
25305
- var e, n, r, i, o, a, s, u, l, f, c, d, h, p, v, m, g, y, b, k, w, $, C, I, x, _, j, D, O, A, B, G, R, J, L, P, V, q, z, E, S, T, W, ie, ve, be, N, F, ae, ne, ce, je, ue, Q, Be, Ve, Fe, Se, me, Ce, ze, Xe, et, ge, Qe, Lt, yn, Mn, ee, le, pe, ye, Te, He, ct, kt, we, rt, vt, st, mt, It, wt, Pt, qt, Vt, qe, lr, bn, an, hn, wr, Tr, Tn, Hi, _i;
25305
+ var e, n, r, i, o, a, s, u, l, f, c, d, h, p, v, m, g, y, b, k, w, $, C, I, x, _, j, D, O, A, B, G, R, J, L, P, V, q, z, E, S, T, W, ie, ve, be, N, F, ae, ne, ce, je, ue, Q, Be, Ve, Fe, Se, me, Ce, ze, Xe, tt, ge, Qe, Lt, yn, Mn, ee, le, pe, ye, Te, He, ct, kt, we, rt, vt, st, mt, It, wt, Pt, qt, Vt, qe, lr, bn, an, hn, wr, Tr, Tn, Hi, _i;
25306
25306
  i = new Yt({ props: { data: $y } }), u = new qv({ props: { width: "11em", items: t[8], $$slots: { defaultItem: [cU] }, $$scope: { ctx: t } } }), h = new qv({ props: { width: "10em", items: t[7], $$slots: { defaultItem: [fU] }, $$scope: { ctx: t } } }), v = new qv({ props: { width: "12em", items: t[6], $$slots: { defaultItem: [dU] }, $$scope: { ctx: t } } }), y = new Yt({ props: { data: Wz } }), j = new Yt({ props: { data: tf } }), G = new Yt({ props: { data: Fz } }), V = new Yt({ props: { data: qz } }), T = new Yt({ props: { data: _y } }), N = new Yt({ props: { data: Sy } }), qt = new Yt({ props: { data: Jz } }), an = new Yt({ props: { data: Uz } });
25307
25307
  var Ln = t[0] && $C();
25308
25308
  return { c: function() {
25309
- e = te("div"), n = te("div"), r = te("button"), Ee(i.$$.fragment), o = it(" Edit key"), s = _e(), Ee(u.$$.fragment), l = _e(), f = te("div"), c = _e(), d = te("div"), Ee(h.$$.fragment), p = _e(), Ee(v.$$.fragment), m = _e(), g = te("button"), Ee(y.$$.fragment), b = it(" Paste"), w = _e(), $ = te("div"), C = _e(), I = te("div"), x = te("div"), _ = te("button"), Ee(j.$$.fragment), D = it(" Remove"), A = _e(), B = te("button"), Ee(G.$$.fragment), R = it(" Duplicate"), L = _e(), P = te("button"), Ee(V.$$.fragment), q = it(" Extract"), E = _e(), S = te("button"), Ee(T.$$.fragment), W = it(" Sort"), ve = _e(), be = te("button"), Ee(N.$$.fragment), F = it(" Transform"), ne = _e(), ce = te("div"), je = te("div"), ue = it(t[13]), Q = it(":"), Be = _e(), Ve = te("button"), Fe = te("span"), (Se = te("span")).textContent = "+", me = it(" Structure"), Xe = _e(), et = te("button"), (ge = te("span")).textContent = "{}", Qe = it(" Object"), Mn = _e(), ee = te("button"), (le = te("span")).textContent = "[]", pe = it(" Array"), He = _e(), ct = te("button"), (kt = te("span")).innerHTML = '<span class="jse-quote svelte-1yai37q">&quot;</span>', we = it(" Value"), st = _e(), mt = te("div"), It = _e(), wt = te("div"), Pt = te("button"), Ee(qt.$$.fragment), Vt = it(" Insert before"), lr = _e(), bn = te("button"), Ee(an.$$.fragment), hn = it(" Insert after"), Tr = _e(), Ln && Ln.c(), M(r, "type", "button"), M(r, "title", "Edit the key (Double-click on the key)"), r.disabled = a = !t[14], M(r, "class", "svelte-1yai37q"), M(n, "class", "jse-row svelte-1yai37q"), M(f, "class", "jse-separator svelte-1yai37q"), M(g, "type", "button"), M(g, "title", "Paste clipboard contents (Ctrl+V)"), g.disabled = k = !t[3], M(g, "class", "svelte-1yai37q"), M(d, "class", "jse-row svelte-1yai37q"), M($, "class", "jse-separator svelte-1yai37q"), M(_, "type", "button"), M(_, "title", "Remove selected contents (Delete)"), _.disabled = O = !t[1], M(_, "class", "svelte-1yai37q"), M(B, "type", "button"), M(B, "title", "Duplicate selected contents (Ctrl+D)"), B.disabled = J = !t[16], M(B, "class", "svelte-1yai37q"), M(P, "type", "button"), M(P, "title", "Extract selected contents"), P.disabled = z = !t[15], M(P, "class", "svelte-1yai37q"), M(S, "type", "button"), M(S, "title", "Sort array or object contents"), S.disabled = ie = !t[1], M(S, "class", "svelte-1yai37q"), M(be, "type", "button"), M(be, "title", "Transform array or object contents (filter, sort, project)"), be.disabled = ae = !t[1], M(be, "class", "svelte-1yai37q"), M(x, "class", "jse-column svelte-1yai37q"), M(je, "class", "jse-label svelte-1yai37q"), M(Se, "class", "jse-plus svelte-1yai37q"), M(Fe, "class", "jse-insert svelte-1yai37q"), M(Ve, "type", "button"), M(Ve, "title", Ce = t[13] + " structure"), Ve.disabled = ze = !t[12], M(Ve, "class", "svelte-1yai37q"), M(ge, "class", "jse-insert svelte-1yai37q"), M(et, "type", "button"), M(et, "title", Lt = t[13] + " object"), et.disabled = yn = !t[11], M(et, "class", "svelte-1yai37q"), M(le, "class", "jse-insert svelte-1yai37q"), M(ee, "type", "button"), M(ee, "title", ye = t[13] + " array"), ee.disabled = Te = !t[10], M(ee, "class", "svelte-1yai37q"), M(kt, "class", "jse-insert svelte-1yai37q"), M(ct, "type", "button"), M(ct, "title", rt = t[13] + " value"), ct.disabled = vt = !t[9], M(ct, "class", "svelte-1yai37q"), M(ce, "class", "jse-column svelte-1yai37q"), M(I, "class", "jse-row svelte-1yai37q"), M(mt, "class", "jse-separator svelte-1yai37q"), M(Pt, "type", "button"), M(Pt, "title", "Select area before current entry to insert or paste contents"), Pt.disabled = qe = !t[1] || t[4], M(Pt, "class", "svelte-1yai37q"), M(bn, "type", "button"), M(bn, "title", "Select area after current entry to insert or paste contents"), bn.disabled = wr = !t[1] || t[4], M(bn, "class", "svelte-1yai37q"), M(wt, "class", "jse-row svelte-1yai37q"), M(e, "class", "jse-contextmenu svelte-1yai37q");
25309
+ e = te("div"), n = te("div"), r = te("button"), Ee(i.$$.fragment), o = it(" Edit key"), s = _e(), Ee(u.$$.fragment), l = _e(), f = te("div"), c = _e(), d = te("div"), Ee(h.$$.fragment), p = _e(), Ee(v.$$.fragment), m = _e(), g = te("button"), Ee(y.$$.fragment), b = it(" Paste"), w = _e(), $ = te("div"), C = _e(), I = te("div"), x = te("div"), _ = te("button"), Ee(j.$$.fragment), D = it(" Remove"), A = _e(), B = te("button"), Ee(G.$$.fragment), R = it(" Duplicate"), L = _e(), P = te("button"), Ee(V.$$.fragment), q = it(" Extract"), E = _e(), S = te("button"), Ee(T.$$.fragment), W = it(" Sort"), ve = _e(), be = te("button"), Ee(N.$$.fragment), F = it(" Transform"), ne = _e(), ce = te("div"), je = te("div"), ue = it(t[13]), Q = it(":"), Be = _e(), Ve = te("button"), Fe = te("span"), (Se = te("span")).textContent = "+", me = it(" Structure"), Xe = _e(), tt = te("button"), (ge = te("span")).textContent = "{}", Qe = it(" Object"), Mn = _e(), ee = te("button"), (le = te("span")).textContent = "[]", pe = it(" Array"), He = _e(), ct = te("button"), (kt = te("span")).innerHTML = '<span class="jse-quote svelte-1yai37q">&quot;</span>', we = it(" Value"), st = _e(), mt = te("div"), It = _e(), wt = te("div"), Pt = te("button"), Ee(qt.$$.fragment), Vt = it(" Insert before"), lr = _e(), bn = te("button"), Ee(an.$$.fragment), hn = it(" Insert after"), Tr = _e(), Ln && Ln.c(), M(r, "type", "button"), M(r, "title", "Edit the key (Double-click on the key)"), r.disabled = a = !t[14], M(r, "class", "svelte-1yai37q"), M(n, "class", "jse-row svelte-1yai37q"), M(f, "class", "jse-separator svelte-1yai37q"), M(g, "type", "button"), M(g, "title", "Paste clipboard contents (Ctrl+V)"), g.disabled = k = !t[3], M(g, "class", "svelte-1yai37q"), M(d, "class", "jse-row svelte-1yai37q"), M($, "class", "jse-separator svelte-1yai37q"), M(_, "type", "button"), M(_, "title", "Remove selected contents (Delete)"), _.disabled = O = !t[1], M(_, "class", "svelte-1yai37q"), M(B, "type", "button"), M(B, "title", "Duplicate selected contents (Ctrl+D)"), B.disabled = J = !t[16], M(B, "class", "svelte-1yai37q"), M(P, "type", "button"), M(P, "title", "Extract selected contents"), P.disabled = z = !t[15], M(P, "class", "svelte-1yai37q"), M(S, "type", "button"), M(S, "title", "Sort array or object contents"), S.disabled = ie = !t[1], M(S, "class", "svelte-1yai37q"), M(be, "type", "button"), M(be, "title", "Transform array or object contents (filter, sort, project)"), be.disabled = ae = !t[1], M(be, "class", "svelte-1yai37q"), M(x, "class", "jse-column svelte-1yai37q"), M(je, "class", "jse-label svelte-1yai37q"), M(Se, "class", "jse-plus svelte-1yai37q"), M(Fe, "class", "jse-insert svelte-1yai37q"), M(Ve, "type", "button"), M(Ve, "title", Ce = t[13] + " structure"), Ve.disabled = ze = !t[12], M(Ve, "class", "svelte-1yai37q"), M(ge, "class", "jse-insert svelte-1yai37q"), M(tt, "type", "button"), M(tt, "title", Lt = t[13] + " object"), tt.disabled = yn = !t[11], M(tt, "class", "svelte-1yai37q"), M(le, "class", "jse-insert svelte-1yai37q"), M(ee, "type", "button"), M(ee, "title", ye = t[13] + " array"), ee.disabled = Te = !t[10], M(ee, "class", "svelte-1yai37q"), M(kt, "class", "jse-insert svelte-1yai37q"), M(ct, "type", "button"), M(ct, "title", rt = t[13] + " value"), ct.disabled = vt = !t[9], M(ct, "class", "svelte-1yai37q"), M(ce, "class", "jse-column svelte-1yai37q"), M(I, "class", "jse-row svelte-1yai37q"), M(mt, "class", "jse-separator svelte-1yai37q"), M(Pt, "type", "button"), M(Pt, "title", "Select area before current entry to insert or paste contents"), Pt.disabled = qe = !t[1] || t[4], M(Pt, "class", "svelte-1yai37q"), M(bn, "type", "button"), M(bn, "title", "Select area after current entry to insert or paste contents"), bn.disabled = wr = !t[1] || t[4], M(bn, "class", "svelte-1yai37q"), M(wt, "class", "jse-row svelte-1yai37q"), M(e, "class", "jse-contextmenu svelte-1yai37q");
25310
25310
  }, m: function(ht, Qt) {
25311
- he(ht, e, Qt), H(e, n), H(n, r), $e(i, r, null), H(r, o), H(n, s), $e(u, n, null), H(e, l), H(e, f), H(e, c), H(e, d), $e(h, d, null), H(d, p), $e(v, d, null), H(d, m), H(d, g), $e(y, g, null), H(g, b), H(e, w), H(e, $), H(e, C), H(e, I), H(I, x), H(x, _), $e(j, _, null), H(_, D), H(x, A), H(x, B), $e(G, B, null), H(B, R), H(x, L), H(x, P), $e(V, P, null), H(P, q), H(x, E), H(x, S), $e(T, S, null), H(S, W), H(x, ve), H(x, be), $e(N, be, null), H(be, F), H(I, ne), H(I, ce), H(ce, je), H(je, ue), H(je, Q), H(ce, Be), H(ce, Ve), H(Ve, Fe), H(Fe, Se), H(Ve, me), H(ce, Xe), H(ce, et), H(et, ge), H(et, Qe), H(ce, Mn), H(ce, ee), H(ee, le), H(ee, pe), H(ce, He), H(ce, ct), H(ct, kt), H(ct, we), H(e, st), H(e, mt), H(e, It), H(e, wt), H(wt, Pt), $e(qt, Pt, null), H(Pt, Vt), H(wt, lr), H(wt, bn), $e(an, bn, null), H(bn, hn), H(e, Tr), Ln && Ln.m(e, null), t[58](e), Tn = !0, Hi || (_i = [Le(r, "click", t[17]), Le(g, "click", t[21]), Le(_, "click", t[22]), Le(B, "click", t[23]), Le(P, "click", t[24]), Le(S, "click", t[26]), Le(be, "click", t[27]), Le(Ve, "click", t[54]), Le(et, "click", t[55]), Le(ee, "click", t[56]), Le(ct, "click", t[57]), Le(Pt, "click", t[28]), Le(bn, "click", t[29]), Le(e, "keydown", t[30])], Hi = !0);
25311
+ he(ht, e, Qt), H(e, n), H(n, r), $e(i, r, null), H(r, o), H(n, s), $e(u, n, null), H(e, l), H(e, f), H(e, c), H(e, d), $e(h, d, null), H(d, p), $e(v, d, null), H(d, m), H(d, g), $e(y, g, null), H(g, b), H(e, w), H(e, $), H(e, C), H(e, I), H(I, x), H(x, _), $e(j, _, null), H(_, D), H(x, A), H(x, B), $e(G, B, null), H(B, R), H(x, L), H(x, P), $e(V, P, null), H(P, q), H(x, E), H(x, S), $e(T, S, null), H(S, W), H(x, ve), H(x, be), $e(N, be, null), H(be, F), H(I, ne), H(I, ce), H(ce, je), H(je, ue), H(je, Q), H(ce, Be), H(ce, Ve), H(Ve, Fe), H(Fe, Se), H(Ve, me), H(ce, Xe), H(ce, tt), H(tt, ge), H(tt, Qe), H(ce, Mn), H(ce, ee), H(ee, le), H(ee, pe), H(ce, He), H(ce, ct), H(ct, kt), H(ct, we), H(e, st), H(e, mt), H(e, It), H(e, wt), H(wt, Pt), $e(qt, Pt, null), H(Pt, Vt), H(wt, lr), H(wt, bn), $e(an, bn, null), H(bn, hn), H(e, Tr), Ln && Ln.m(e, null), t[58](e), Tn = !0, Hi || (_i = [Le(r, "click", t[17]), Le(g, "click", t[21]), Le(_, "click", t[22]), Le(B, "click", t[23]), Le(P, "click", t[24]), Le(S, "click", t[26]), Le(be, "click", t[27]), Le(Ve, "click", t[54]), Le(tt, "click", t[55]), Le(ee, "click", t[56]), Le(ct, "click", t[57]), Le(Pt, "click", t[28]), Le(bn, "click", t[29]), Le(e, "keydown", t[30])], Hi = !0);
25312
25312
  }, p: function(ht, Qt) {
25313
25313
  (!Tn || 16384 & Qt[0] && a !== (a = !ht[14])) && (r.disabled = a);
25314
25314
  var Wi = {};
@@ -25316,7 +25316,7 @@ function hU(t) {
25316
25316
  var Si = {};
25317
25317
  128 & Qt[0] && (Si.items = ht[7]), 2 & Qt[0] | 1 & Qt[2] && (Si.$$scope = { dirty: Qt, ctx: ht }), h.$set(Si);
25318
25318
  var Fr = {};
25319
- 64 & Qt[0] && (Fr.items = ht[6]), 2 & Qt[0] | 1 & Qt[2] && (Fr.$$scope = { dirty: Qt, ctx: ht }), v.$set(Fr), (!Tn || 8 & Qt[0] && k !== (k = !ht[3])) && (g.disabled = k), (!Tn || 2 & Qt[0] && O !== (O = !ht[1])) && (_.disabled = O), (!Tn || 65536 & Qt[0] && J !== (J = !ht[16])) && (B.disabled = J), (!Tn || 32768 & Qt[0] && z !== (z = !ht[15])) && (P.disabled = z), (!Tn || 2 & Qt[0] && ie !== (ie = !ht[1])) && (S.disabled = ie), (!Tn || 2 & Qt[0] && ae !== (ae = !ht[1])) && (be.disabled = ae), (!Tn || 8192 & Qt[0]) && on(ue, ht[13]), (!Tn || 8192 & Qt[0] && Ce !== (Ce = ht[13] + " structure")) && M(Ve, "title", Ce), (!Tn || 4096 & Qt[0] && ze !== (ze = !ht[12])) && (Ve.disabled = ze), (!Tn || 8192 & Qt[0] && Lt !== (Lt = ht[13] + " object")) && M(et, "title", Lt), (!Tn || 2048 & Qt[0] && yn !== (yn = !ht[11])) && (et.disabled = yn), (!Tn || 8192 & Qt[0] && ye !== (ye = ht[13] + " array")) && M(ee, "title", ye), (!Tn || 1024 & Qt[0] && Te !== (Te = !ht[10])) && (ee.disabled = Te), (!Tn || 8192 & Qt[0] && rt !== (rt = ht[13] + " value")) && M(ct, "title", rt), (!Tn || 512 & Qt[0] && vt !== (vt = !ht[9])) && (ct.disabled = vt), (!Tn || 18 & Qt[0] && qe !== (qe = !ht[1] || ht[4])) && (Pt.disabled = qe), (!Tn || 18 & Qt[0] && wr !== (wr = !ht[1] || ht[4])) && (bn.disabled = wr), ht[0] ? Ln ? (Ln.p(ht, Qt), 1 & Qt[0] && U(Ln, 1)) : ((Ln = $C()).c(), U(Ln, 1), Ln.m(e, null)) : Ln && (We(), Z(Ln, 1, 1, function() {
25319
+ 64 & Qt[0] && (Fr.items = ht[6]), 2 & Qt[0] | 1 & Qt[2] && (Fr.$$scope = { dirty: Qt, ctx: ht }), v.$set(Fr), (!Tn || 8 & Qt[0] && k !== (k = !ht[3])) && (g.disabled = k), (!Tn || 2 & Qt[0] && O !== (O = !ht[1])) && (_.disabled = O), (!Tn || 65536 & Qt[0] && J !== (J = !ht[16])) && (B.disabled = J), (!Tn || 32768 & Qt[0] && z !== (z = !ht[15])) && (P.disabled = z), (!Tn || 2 & Qt[0] && ie !== (ie = !ht[1])) && (S.disabled = ie), (!Tn || 2 & Qt[0] && ae !== (ae = !ht[1])) && (be.disabled = ae), (!Tn || 8192 & Qt[0]) && on(ue, ht[13]), (!Tn || 8192 & Qt[0] && Ce !== (Ce = ht[13] + " structure")) && M(Ve, "title", Ce), (!Tn || 4096 & Qt[0] && ze !== (ze = !ht[12])) && (Ve.disabled = ze), (!Tn || 8192 & Qt[0] && Lt !== (Lt = ht[13] + " object")) && M(tt, "title", Lt), (!Tn || 2048 & Qt[0] && yn !== (yn = !ht[11])) && (tt.disabled = yn), (!Tn || 8192 & Qt[0] && ye !== (ye = ht[13] + " array")) && M(ee, "title", ye), (!Tn || 1024 & Qt[0] && Te !== (Te = !ht[10])) && (ee.disabled = Te), (!Tn || 8192 & Qt[0] && rt !== (rt = ht[13] + " value")) && M(ct, "title", rt), (!Tn || 512 & Qt[0] && vt !== (vt = !ht[9])) && (ct.disabled = vt), (!Tn || 18 & Qt[0] && qe !== (qe = !ht[1] || ht[4])) && (Pt.disabled = qe), (!Tn || 18 & Qt[0] && wr !== (wr = !ht[1] || ht[4])) && (bn.disabled = wr), ht[0] ? Ln ? (Ln.p(ht, Qt), 1 & Qt[0] && U(Ln, 1)) : ((Ln = $C()).c(), U(Ln, 1), Ln.m(e, null)) : Ln && (We(), Z(Ln, 1, 1, function() {
25320
25320
  Ln = null;
25321
25321
  }), Ue());
25322
25322
  }, i: function(ht) {
@@ -25360,7 +25360,7 @@ function pU(t, e, n) {
25360
25360
  }), t.$$set = function(ne) {
25361
25361
  "json" in ne && n(31, C = ne.json), "state" in ne && n(32, I = ne.state), "selection" in ne && n(33, x = ne.selection), "showTip" in ne && n(0, _ = ne.showTip), "onCloseContextMenu" in ne && n(34, j = ne.onCloseContextMenu), "onEditKey" in ne && n(35, D = ne.onEditKey), "onEditValue" in ne && n(36, O = ne.onEditValue), "onToggleEnforceString" in ne && n(37, A = ne.onToggleEnforceString), "onCut" in ne && n(38, B = ne.onCut), "onCopy" in ne && n(39, G = ne.onCopy), "onPaste" in ne && n(40, R = ne.onPaste), "onRemove" in ne && n(41, J = ne.onRemove), "onDuplicate" in ne && n(42, L = ne.onDuplicate), "onExtract" in ne && n(43, P = ne.onExtract), "onInsertBefore" in ne && n(44, V = ne.onInsertBefore), "onInsert" in ne && n(45, q = ne.onInsert), "onConvert" in ne && n(46, z = ne.onConvert), "onInsertAfter" in ne && n(47, E = ne.onInsertAfter), "onSort" in ne && n(48, S = ne.onSort), "onTransform" in ne && n(49, T = ne.onTransform);
25362
25362
  }, t.$$.update = function() {
25363
- 1 & t.$$.dirty[1] && n(53, r = C !== void 0), 4 & t.$$.dirty[1] && n(3, i = x != null), 8 & t.$$.dirty[0] | 4 & t.$$.dirty[1] && n(4, o = i && qn(x.focusPath)), 8 & t.$$.dirty[0] | 5 & t.$$.dirty[1] && n(51, a = i ? xe.exports.getIn(C, x.focusPath) : void 0), 4194308 & t.$$.dirty[1] && n(1, s = r && x != null && (x.type === Dt || x.type === kn || x.type === bt)), 18 & t.$$.dirty[0] | 4194304 & t.$$.dirty[1] && n(16, u = r && s && !o), 16 & t.$$.dirty[0] | 4194308 & t.$$.dirty[1] && n(15, l = r && x != null && (x.type === Dt || x.type === bt) && !o), 16 & t.$$.dirty[0] | 4194309 & t.$$.dirty[1] && n(14, f = r && x != null && Nm(x) && !o && !Array.isArray(xe.exports.getIn(C, tn(x.focusPath)))), 5242884 & t.$$.dirty[1] && n(2, c = r && x != null && Nm(x) && !$r(a)), 2 & t.$$.dirty[0] && n(52, d = s), 2097152 & t.$$.dirty[1] && n(13, h = d ? "Convert to" : "Insert"), 8 & t.$$.dirty[0] | 2097152 & t.$$.dirty[1] && n(12, p = !d && i), 8 & t.$$.dirty[0] | 3145732 & t.$$.dirty[1] && n(11, v = d ? dd(x) && !xr(a) : i), 8 & t.$$.dirty[0] | 3145732 & t.$$.dirty[1] && n(10, m = d ? dd(x) && !Array.isArray(a) : i), 8 & t.$$.dirty[0] | 3145732 & t.$$.dirty[1] && n(9, g = d ? dd(x) && $r(a) : i), 6 & t.$$.dirty[1] && n(50, y = x != null && xe.exports.getIn(I, x.focusPath.concat(Ti)) === !0), 4 & t.$$.dirty[0] | 524288 & t.$$.dirty[1] && n(8, b = [{ icon: $y, text: "Edit value", title: "Edit the value (Double-click on the value)", onClick: W, disabled: !c }, { icon: y ? Oh : Ah, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: ie, disabled: !c }]), 2 & t.$$.dirty[0] && n(7, k = [{ icon: Rm, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: ve, disabled: !s }, { icon: Rm, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: be, disabled: !s }]), 2 & t.$$.dirty[0] && n(6, w = [{ icon: Yd, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: N, disabled: !s }, { icon: Yd, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: F, disabled: !s }]);
25363
+ 1 & t.$$.dirty[1] && n(53, r = C !== void 0), 4 & t.$$.dirty[1] && n(3, i = x != null), 8 & t.$$.dirty[0] | 4 & t.$$.dirty[1] && n(4, o = i && qn(x.focusPath)), 8 & t.$$.dirty[0] | 5 & t.$$.dirty[1] && n(51, a = i ? xe.exports.getIn(C, x.focusPath) : void 0), 4194308 & t.$$.dirty[1] && n(1, s = r && x != null && (x.type === Dt || x.type === kn || x.type === bt)), 18 & t.$$.dirty[0] | 4194304 & t.$$.dirty[1] && n(16, u = r && s && !o), 16 & t.$$.dirty[0] | 4194308 & t.$$.dirty[1] && n(15, l = r && x != null && (x.type === Dt || x.type === bt) && !o), 16 & t.$$.dirty[0] | 4194309 & t.$$.dirty[1] && n(14, f = r && x != null && Nm(x) && !o && !Array.isArray(xe.exports.getIn(C, tn(x.focusPath)))), 5242884 & t.$$.dirty[1] && n(2, c = r && x != null && Nm(x) && !Ar(a)), 2 & t.$$.dirty[0] && n(52, d = s), 2097152 & t.$$.dirty[1] && n(13, h = d ? "Convert to" : "Insert"), 8 & t.$$.dirty[0] | 2097152 & t.$$.dirty[1] && n(12, p = !d && i), 8 & t.$$.dirty[0] | 3145732 & t.$$.dirty[1] && n(11, v = d ? dd(x) && !xr(a) : i), 8 & t.$$.dirty[0] | 3145732 & t.$$.dirty[1] && n(10, m = d ? dd(x) && !Array.isArray(a) : i), 8 & t.$$.dirty[0] | 3145732 & t.$$.dirty[1] && n(9, g = d ? dd(x) && Ar(a) : i), 6 & t.$$.dirty[1] && n(50, y = x != null && xe.exports.getIn(I, x.focusPath.concat(Ti)) === !0), 4 & t.$$.dirty[0] | 524288 & t.$$.dirty[1] && n(8, b = [{ icon: $y, text: "Edit value", title: "Edit the value (Double-click on the value)", onClick: W, disabled: !c }, { icon: y ? Oh : Ah, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: ie, disabled: !c }]), 2 & t.$$.dirty[0] && n(7, k = [{ icon: Rm, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: ve, disabled: !s }, { icon: Rm, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: be, disabled: !s }]), 2 & t.$$.dirty[0] && n(6, w = [{ icon: Yd, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: N, disabled: !s }, { icon: Yd, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: F, disabled: !s }]);
25364
25364
  }, [_, s, c, i, o, $, w, k, b, g, m, v, p, h, f, l, u, function() {
25365
25365
  j(), D();
25366
25366
  }, W, ve, N, function() {
@@ -25666,7 +25666,7 @@ var Q7 = function(t) {
25666
25666
  var e = Ne(n);
25667
25667
  function n(r) {
25668
25668
  var i;
25669
- return Y(this, n), At(_t(i = e.call(this)), r, AU, $U, Sr, { text: 1, searchResult: 2 }, _U), i;
25669
+ return Y(this, n), At(_t(i = e.call(this)), r, AU, $U, Cr, { text: 1, searchResult: 2 }, _U), i;
25670
25670
  }
25671
25671
  return X(n);
25672
25672
  }();
@@ -25982,7 +25982,7 @@ var UU = function(t) {
25982
25982
  var e = Ne(n);
25983
25983
  function n(r) {
25984
25984
  var i;
25985
- return Y(this, n), At(_t(i = e.call(this)), r, WU, HU, Sr, { text: 0 }, VU), i;
25985
+ return Y(this, n), At(_t(i = e.call(this)), r, WU, HU, Cr, { text: 0 }, VU), i;
25986
25986
  }
25987
25987
  return X(n);
25988
25988
  }();
@@ -26033,7 +26033,7 @@ var l1 = function(t) {
26033
26033
  var e = Ne(n);
26034
26034
  function n(r) {
26035
26035
  var i;
26036
- return Y(this, n), At(_t(i = e.call(this)), r, KU, GU, Sr, { validationError: 3, onExpand: 0 }, JU), i;
26036
+ return Y(this, n), At(_t(i = e.call(this)), r, KU, GU, Cr, { validationError: 3, onExpand: 0 }, JU), i;
26037
26037
  }
26038
26038
  return X(n);
26039
26039
  }();
@@ -26998,7 +26998,7 @@ function kJ(t, e, n) {
26998
26998
  return t.$$set = function(j) {
26999
26999
  "json" in j && n(2, f = j.json), "selection" in j && n(3, c = j.selection), "readOnly" in j && n(4, d = j.readOnly), "showSearch" in j && n(1, p = j.showSearch), "historyState" in j && n(5, v = j.historyState), "onExpandAll" in j && n(6, m = j.onExpandAll), "onCollapseAll" in j && n(7, g = j.onCollapseAll), "onUndo" in j && n(8, y = j.onUndo), "onRedo" in j && n(9, b = j.onRedo), "onSort" in j && n(10, k = j.onSort), "onTransform" in j && n(11, w = j.onTransform), "onContextMenu" in j && n(12, $ = j.onContextMenu), "onCopy" in j && n(13, C = j.onCopy), "onRenderMenu" in j && n(14, x = j.onRenderMenu);
27000
27000
  }, t.$$.update = function() {
27001
- 4 & t.$$.dirty && n(20, r = f !== void 0), t.$$.dirty, 1048584 & t.$$.dirty && n(17, i = r && c != null && (c.type === Dt || c.type === kn || c.type === bt)), 68 & t.$$.dirty && n(19, o = { icon: bB, title: "Expand all", className: "jse-expand-all", onClick: m, disabled: !$r(f) }), 132 & t.$$.dirty && n(18, a = { icon: kB, title: "Collapse all", className: "jse-collapse-all", onClick: g, disabled: !$r(f) }), 4 & t.$$.dirty && n(16, s = { icon: Cy, title: "Search (Ctrl+F)", className: "jse-search", onClick: _, disabled: f === void 0 }), 999220 & t.$$.dirty && n(15, u = d ? [o, a, { separator: !0 }, { icon: Yd, title: "Copy (Ctrl+C)", className: "jse-copy", onClick: C, disabled: !i }, { separator: !0 }, s, { space: !0 }] : [o, a, { separator: !0 }, { icon: _y, title: "Sort", className: "jse-sort", onClick: k, disabled: d || f === void 0 }, { icon: Sy, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: w, disabled: d || f === void 0 }, s, { icon: Vz, title: x$, className: "jse-contextmenu", onClick: $ }, { separator: !0 }, { icon: y6, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: y, disabled: !v.canUndo }, { icon: b6, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: b, disabled: !v.canRedo }, { space: !0 }]), 49152 & t.$$.dirty && n(0, l = x("tree", u) || u);
27001
+ 4 & t.$$.dirty && n(20, r = f !== void 0), t.$$.dirty, 1048584 & t.$$.dirty && n(17, i = r && c != null && (c.type === Dt || c.type === kn || c.type === bt)), 68 & t.$$.dirty && n(19, o = { icon: bB, title: "Expand all", className: "jse-expand-all", onClick: m, disabled: !Ar(f) }), 132 & t.$$.dirty && n(18, a = { icon: kB, title: "Collapse all", className: "jse-collapse-all", onClick: g, disabled: !Ar(f) }), 4 & t.$$.dirty && n(16, s = { icon: Cy, title: "Search (Ctrl+F)", className: "jse-search", onClick: _, disabled: f === void 0 }), 999220 & t.$$.dirty && n(15, u = d ? [o, a, { separator: !0 }, { icon: Yd, title: "Copy (Ctrl+C)", className: "jse-copy", onClick: C, disabled: !i }, { separator: !0 }, s, { space: !0 }] : [o, a, { separator: !0 }, { icon: _y, title: "Sort", className: "jse-sort", onClick: k, disabled: d || f === void 0 }, { icon: Sy, title: "Transform contents (filter, sort, project)", className: "jse-transform", onClick: w, disabled: d || f === void 0 }, s, { icon: Vz, title: x$, className: "jse-contextmenu", onClick: $ }, { separator: !0 }, { icon: y6, title: "Undo (Ctrl+Z)", className: "jse-undo", onClick: y, disabled: !v.canUndo }, { icon: b6, title: "Redo (Ctrl+Shift+Z)", className: "jse-redo", onClick: b, disabled: !v.canRedo }, { space: !0 }]), 49152 & t.$$.dirty && n(0, l = x("tree", u) || u);
27002
27002
  }, [l, p, f, c, d, v, m, g, y, b, k, w, $, C, x, u, s, i, a, o, r];
27003
27003
  }
27004
27004
  var wJ = function(t) {
@@ -27274,7 +27274,7 @@ function b3(t) {
27274
27274
  } };
27275
27275
  }
27276
27276
  function NJ(t) {
27277
- for (var e, n, r, i, o, a, s = [], u = /* @__PURE__ */ new Map(), l = $r(t[0]) ? "\xA0" : "Navigation bar", f = t[1], c = function(m) {
27277
+ for (var e, n, r, i, o, a, s = [], u = /* @__PURE__ */ new Map(), l = Ar(t[0]) ? "\xA0" : "Navigation bar", f = t[1], c = function(m) {
27278
27278
  return m[14];
27279
27279
  }, d = 0; d < f.length; d += 1) {
27280
27280
  var h = g3(t, f, d), p = c(h);
@@ -27295,7 +27295,7 @@ function NJ(t) {
27295
27295
  var y = Mt(g, 1)[0];
27296
27296
  50 & y && (f = m[1], We(), s = cl(s, y, c, 1, m, f, u, e, qc, y3, n, g3), Ue()), m[3] ? v ? (v.p(m, y), 8 & y && U(v, 1)) : ((v = b3(m)).c(), U(v, 1), v.m(e, r)) : v && (We(), Z(v, 1, 1, function() {
27297
27297
  v = null;
27298
- }), Ue()), (!a || 1 & y) && l !== (l = $r(m[0]) ? "\xA0" : "Navigation bar") && on(o, l);
27298
+ }), Ue()), (!a || 1 & y) && l !== (l = Ar(m[0]) ? "\xA0" : "Navigation bar") && on(o, l);
27299
27299
  }, i: function(m) {
27300
27300
  if (!a) {
27301
27301
  for (var g = 0; g < f.length; g += 1)
@@ -27318,7 +27318,7 @@ function LJ(t, e, n) {
27318
27318
  return t.$$set = function(c) {
27319
27319
  "json" in c && n(0, s = c.json), "state" in c && n(6, u = c.state), "selection" in c && n(7, l = c.selection), "onSelect" in c && n(8, f = c.onSelect);
27320
27320
  }, t.$$.update = function() {
27321
- 128 & t.$$.dirty && n(1, r = l ? l.focusPath : []), 3 & t.$$.dirty && n(3, i = $r(xe.exports.getIn(s, r))), 2 & t.$$.dirty && setTimeout(function() {
27321
+ 128 & t.$$.dirty && n(1, r = l ? l.focusPath : []), 3 & t.$$.dirty && n(3, i = Ar(xe.exports.getIn(s, r))), 2 & t.$$.dirty && setTimeout(function() {
27322
27322
  if (o && o.scrollTo) {
27323
27323
  var c = o.scrollWidth - o.clientWidth;
27324
27324
  c > 0 && (a("scrollTo ", c), o.scrollTo({ left: c, behavior: "smooth" }));
@@ -27763,8 +27763,8 @@ function eG(t, e, n) {
27763
27763
  }, re);
27764
27764
  }))).apply(this, arguments);
27765
27765
  }
27766
- function et() {
27767
- return (et = Nn(jt().mark(function re() {
27766
+ function tt() {
27767
+ return (tt = Nn(jt().mark(function re() {
27768
27768
  return jt().wrap(function(ke) {
27769
27769
  for (; ; )
27770
27770
  switch (ke.prev = ke.next) {
@@ -28039,7 +28039,7 @@ function eG(t, e, n) {
28039
28039
  l("paste", { clipboardText: re, operations: Oe, selectionOrDefault: ke }), Ir(Oe, function(Ie, De) {
28040
28040
  var Ge = De;
28041
28041
  return Oe.filter(function(ot) {
28042
- return $r(ot.value);
28042
+ return Ar(ot.value);
28043
28043
  }).forEach(function(ot) {
28044
28044
  var ut = Vs(p, ot.path);
28045
28045
  Ge = lo(Ie, Ge, ut);
@@ -28120,7 +28120,7 @@ function eG(t, e, n) {
28120
28120
  }
28121
28121
  throw new Error("Cannot extract: unsupported type of selection " + JSON.stringify(Oe));
28122
28122
  }(p, 0, Q), function(re, ke) {
28123
- if ($r(re))
28123
+ if (Ar(re))
28124
28124
  return { state: lo(re, ke, []) };
28125
28125
  }), ir());
28126
28126
  }
@@ -28135,7 +28135,7 @@ function eG(t, e, n) {
28135
28135
  var en = o6(ut), $n = xe.exports.getIn(ot, en);
28136
28136
  if (Array.isArray($n) && !qn($n)) {
28137
28137
  var Dn = mr($n);
28138
- return $r(Dn) ? L0(Dn, function(pr) {
28138
+ return Ar(Dn) ? L0(Dn, function(pr) {
28139
28139
  return Array.isArray(pr) ? [] : xr(pr) ? void 0 : "";
28140
28140
  }) : "";
28141
28141
  }
@@ -28151,7 +28151,7 @@ function eG(t, e, n) {
28151
28151
  Ir(Ie, function(ot, ut) {
28152
28152
  if (De) {
28153
28153
  var Rt = Vs(ot, De.path);
28154
- return $r(ke) ? { state: rv(ot, ut, Rt, rd), selection: sn(ot || {}, ut, { type: _r, path: Rt }) } : ke === "" ? { selection: sn(ot, ut, { type: xr(qn(Rt) ? null : xe.exports.getIn(ot, tn(Rt))) ? kn : bt, path: Rt, edit: !0 }) } : void 0;
28154
+ return Ar(ke) ? { state: rv(ot, ut, Rt, rd), selection: sn(ot || {}, ut, { type: _r, path: Rt }) } : ke === "" ? { selection: sn(ot, ut, { type: xr(qn(Rt) ? null : xe.exports.getIn(ot, tn(Rt))) ? kn : bt, path: Rt, edit: !0 }) } : void 0;
28155
28155
  }
28156
28156
  }), De && (ir(), ke === "" && fr().then(function() {
28157
28157
  setTimeout(function() {
@@ -28202,7 +28202,7 @@ function eG(t, e, n) {
28202
28202
  }
28203
28203
  }
28204
28204
  if (ot === "value")
28205
- return $r(Ge) ? JSON.stringify(Ge) : Ge;
28205
+ return Ar(Ge) ? JSON.stringify(Ge) : Ge;
28206
28206
  throw new Error("Cannot convert ".concat(c0(Ge), " to ").concat(ot));
28207
28207
  }(Oe, re);
28208
28208
  if (Ie === Oe)
@@ -28273,7 +28273,7 @@ function eG(t, e, n) {
28273
28273
  De.next = 26;
28274
28274
  break;
28275
28275
  }
28276
- if ($r(xe.exports.getIn(p, Q.focusPath))) {
28276
+ if (Ar(xe.exports.getIn(p, Q.focusPath))) {
28277
28277
  De.next = 24;
28278
28278
  break;
28279
28279
  }
@@ -28405,7 +28405,7 @@ function eG(t, e, n) {
28405
28405
  function ks(re) {
28406
28406
  var ke = Ma(re);
28407
28407
  if (ke && c) {
28408
- var Oe = c.getBoundingClientRect(), Ie = ke.getBoundingClientRect(), De = $r(xe.exports.getIn(p, re)) ? 20 : Ie.height;
28408
+ var Oe = c.getBoundingClientRect(), Ie = ke.getBoundingClientRect(), De = Ar(xe.exports.getIn(p, re)) ? 20 : Ie.height;
28409
28409
  Ie.top < Oe.top + 20 ? C(ke, { container: c, offset: -20, duration: 0 }) : Ie.top + De > Oe.bottom - 20 && C(ke, { container: c, offset: -(Oe.height - De - 20), duration: 0 });
28410
28410
  }
28411
28411
  }
@@ -28530,7 +28530,7 @@ function eG(t, e, n) {
28530
28530
  }, [x, D, A, W, ve, function() {
28531
28531
  return ye && p !== void 0 && Cl(p), { json: p, text: v };
28532
28532
  }, c, p, v, Q, s, o, d, h, ue, je, Fe, Se, me, Ve, pe, ye, a, i, f, [], ze, function() {
28533
- return et.apply(this, arguments);
28533
+ return tt.apply(this, arguments);
28534
28534
  }, function() {
28535
28535
  return ge.apply(this, arguments);
28536
28536
  }, function(re, ke) {
@@ -28582,7 +28582,7 @@ function eG(t, e, n) {
28582
28582
  var Ie = Q.focusPath, De = xe.exports.getIn(p, tn(Ie));
28583
28583
  Array.isArray(De) && n(9, Q = sn(p, ue, { type: bt, path: Ie }));
28584
28584
  }
28585
- x || Q.type !== kn || (re.preventDefault(), n(9, Q = dt(dt({}, Q), {}, { edit: !0 }))), Q.type === bt && (re.preventDefault(), $r(xe.exports.getIn(p, Q.focusPath)) ? ws(Q.focusPath, !0) : x || n(9, Q = dt(dt({}, Q), {}, { edit: !0 })));
28585
+ x || Q.type !== kn || (re.preventDefault(), n(9, Q = dt(dt({}, Q), {}, { edit: !0 }))), Q.type === bt && (re.preventDefault(), Ar(xe.exports.getIn(p, Q.focusPath)) ? ws(Q.focusPath, !0) : x || n(9, Q = dt(dt({}, Q), {}, { edit: !0 })));
28586
28586
  }
28587
28587
  if (ke.length === (ke.startsWith("Shift+") ? 7 : 1) && Q)
28588
28588
  return re.preventDefault(), void Ln(re.key);
@@ -28820,7 +28820,7 @@ var lG = function(t) {
28820
28820
  var e = Ne(n);
28821
28821
  function n(r) {
28822
28822
  var i;
28823
- return Y(this, n), At(_t(i = e.call(this)), r, uG, sG, Sr, { color: 1, onChange: 2, showOnTop: 3 }, aG), i;
28823
+ return Y(this, n), At(_t(i = e.call(this)), r, uG, sG, Cr, { color: 1, onChange: 2, showOnTop: 3 }, aG), i;
28824
28824
  }
28825
28825
  return X(n);
28826
28826
  }();
@@ -28903,7 +28903,7 @@ function vG(t, e, n) {
28903
28903
  }, function(d) {
28904
28904
  try {
28905
28905
  var h = JSON.parse(d);
28906
- $r(h) && u({ path: r, contents: h });
28906
+ Ar(h) && u({ path: r, contents: h });
28907
28907
  } catch {
28908
28908
  }
28909
28909
  }, function(d) {
@@ -29074,7 +29074,7 @@ var tI = function(t) {
29074
29074
  var e = Ne(n);
29075
29075
  function n(r) {
29076
29076
  var i;
29077
- return Y(this, n), At(_t(i = e.call(this)), r, EG, OG, Sr, { isActive: 4, isFirst: 5, isHover: 6, isSelectable: 7, getOptionLabel: 0, item: 1, filterText: 2 }, AG), i;
29077
+ return Y(this, n), At(_t(i = e.call(this)), r, EG, OG, Cr, { isActive: 4, isFirst: 5, isHover: 6, isSelectable: 7, getOptionLabel: 0, item: 1, filterText: 2 }, AG), i;
29078
29078
  }
29079
29079
  return X(n);
29080
29080
  }();
@@ -29394,8 +29394,8 @@ function RG(t, e, n) {
29394
29394
  function Fe() {
29395
29395
  var Se = S.getBoundingClientRect(), me = Se.height, Ce = Se.width;
29396
29396
  n(14, i = ""), n(14, i += "min-width:".concat(Ce, "px;width:").concat(ve ? "auto" : "100%", ";")), W === "top" || W === "auto" && function(ze, Xe) {
29397
- var et = ze.getBoundingClientRect(), ge = Xe.getBoundingClientRect(), Qe = {};
29398
- return Qe.top = et.top < 0, Qe.left = et.left < 0, Qe.bottom = et.bottom + ge.height > (window.innerHeight || document.documentElement.clientHeight), Qe.right = et.right > (window.innerWidth || document.documentElement.clientWidth), Qe.any = Qe.top || Qe.left || Qe.bottom || Qe.right, Qe;
29397
+ var tt = ze.getBoundingClientRect(), ge = Xe.getBoundingClientRect(), Qe = {};
29398
+ return Qe.top = tt.top < 0, Qe.left = tt.left < 0, Qe.bottom = tt.bottom + ge.height > (window.innerHeight || document.documentElement.clientHeight), Qe.right = tt.right > (window.innerWidth || document.documentElement.clientWidth), Qe.any = Qe.top || Qe.left || Qe.bottom || Qe.right, Qe;
29399
29399
  }(S, s).bottom ? n(14, i += "bottom:".concat(me + N, "px;")) : n(14, i += "top:".concat(me + N, "px;"));
29400
29400
  }
29401
29401
  return io(function() {
@@ -29465,7 +29465,7 @@ var zG = function(t) {
29465
29465
  var e = Ne(n);
29466
29466
  function n(r) {
29467
29467
  var i;
29468
- return Y(this, n), At(_t(i = e.call(this)), r, RG, DG, Sr, { container: 0, VirtualList: 3, Item: 4, isVirtualList: 5, items: 1, labelIdentifier: 20, getOptionLabel: 6, getGroupHeaderLabel: 7, itemHeight: 8, hoverItemIndex: 2, value: 9, optionIdentifier: 10, hideEmptyState: 11, noOptionsMessage: 12, isMulti: 21, activeItemIndex: 19, filterText: 13, parent: 22, listPlacement: 23, listAutoWidth: 24, listOffset: 25 }, MG, [-1, -1]), i;
29468
+ return Y(this, n), At(_t(i = e.call(this)), r, RG, DG, Cr, { container: 0, VirtualList: 3, Item: 4, isVirtualList: 5, items: 1, labelIdentifier: 20, getOptionLabel: 6, getGroupHeaderLabel: 7, itemHeight: 8, hoverItemIndex: 2, value: 9, optionIdentifier: 10, hideEmptyState: 11, noOptionsMessage: 12, isMulti: 21, activeItemIndex: 19, filterText: 13, parent: 22, listPlacement: 23, listAutoWidth: 24, listOffset: 25 }, MG, [-1, -1]), i;
29469
29469
  }
29470
29470
  return X(n);
29471
29471
  }();
@@ -29495,7 +29495,7 @@ var VG = function(t) {
29495
29495
  var e = Ne(n);
29496
29496
  function n(r) {
29497
29497
  var i;
29498
- return Y(this, n), At(_t(i = e.call(this)), r, qG, FG, Sr, { getSelectionLabel: 0, item: 1 }, BG), i;
29498
+ return Y(this, n), At(_t(i = e.call(this)), r, qG, FG, Cr, { getSelectionLabel: 0, item: 1 }, BG), i;
29499
29499
  }
29500
29500
  return X(n);
29501
29501
  }();
@@ -29585,7 +29585,7 @@ var JG = function(t) {
29585
29585
  var e = Ne(n);
29586
29586
  function n(r) {
29587
29587
  var i;
29588
- return Y(this, n), At(_t(i = e.call(this)), r, UG, WG, Sr, { value: 0, activeValue: 1, isDisabled: 2, multiFullItemClearable: 3, getSelectionLabel: 4 }, HG), i;
29588
+ return Y(this, n), At(_t(i = e.call(this)), r, UG, WG, Cr, { value: 0, activeValue: 1, isDisabled: 2, multiFullItemClearable: 3, getSelectionLabel: 4 }, HG), i;
29589
29589
  }
29590
29590
  return X(n);
29591
29591
  }();
@@ -29797,7 +29797,7 @@ var XG = function(t) {
29797
29797
  var e = Ne(n);
29798
29798
  function n(r) {
29799
29799
  var i;
29800
- return Y(this, n), At(_t(i = e.call(this)), r, YG, QG, Sr, { items: 11, height: 0, itemHeight: 12, hoverItemIndex: 1, start: 9, end: 10 }, GG), i;
29800
+ return Y(this, n), At(_t(i = e.call(this)), r, YG, QG, Cr, { items: 11, height: 0, itemHeight: 12, hoverItemIndex: 1, start: 9, end: 10 }, GG), i;
29801
29801
  }
29802
29802
  return X(n);
29803
29803
  }();
@@ -29817,7 +29817,7 @@ var eK = function(t) {
29817
29817
  var e = Ne(n);
29818
29818
  function n(r) {
29819
29819
  var i;
29820
- return Y(this, n), At(_t(i = e.call(this)), r, null, ZG, Sr, {}), i;
29820
+ return Y(this, n), At(_t(i = e.call(this)), r, null, ZG, Cr, {}), i;
29821
29821
  }
29822
29822
  return X(n);
29823
29823
  }();
@@ -30148,7 +30148,7 @@ function oK(t, e, n) {
30148
30148
  return fe.isCreator ? 'Create "'.concat(xt, '"') : fe[ae];
30149
30149
  } : ne, je = e.optionIdentifier, ue = je === void 0 ? "value" : je, Q = e.loadOptions, Be = Q === void 0 ? void 0 : Q, Ve = e.hasError, Fe = Ve !== void 0 && Ve, Se = e.containerStyles, me = Se === void 0 ? "" : Se, Ce = e.getSelectionLabel, ze = Ce === void 0 ? function(fe) {
30150
30150
  return fe ? fe[ae] : null;
30151
- } : Ce, Xe = e.createGroupHeaderItem, et = Xe === void 0 ? function(fe) {
30151
+ } : Ce, Xe = e.createGroupHeaderItem, tt = Xe === void 0 ? function(fe) {
30152
30152
  return { value: fe, label: fe };
30153
30153
  } : Xe, ge = e.createItem, Qe = ge === void 0 ? function(fe) {
30154
30154
  return { value: fe, label: fe };
@@ -30168,7 +30168,7 @@ function oK(t, e, n) {
30168
30168
  var xn = [], fo = {};
30169
30169
  zt.forEach(function(js) {
30170
30170
  var ho = S(js);
30171
- xn.includes(ho) || (xn.push(ho), fo[ho] = [], ho && fo[ho].push(Object.assign(et(ho, js), { id: ho, isGroupHeader: !0, isSelectable: ve }))), fo[ho].push(Object.assign({ isGroupItem: !!ho }, js));
30171
+ xn.includes(ho) || (xn.push(ho), fo[ho] = [], ho && fo[ho].push(Object.assign(tt(ho, js), { id: ho, isGroupHeader: !0, isSelectable: ve }))), fo[ho].push(Object.assign({ isGroupItem: !!ho }, js));
30172
30172
  });
30173
30173
  var du = [];
30174
30174
  return W(xn).forEach(function(js) {
@@ -30255,7 +30255,7 @@ function oK(t, e, n) {
30255
30255
  return "Select is focused, type to refine list, press down to open the menu.";
30256
30256
  } : Dn;
30257
30257
  return t.$$set = function(fe) {
30258
- "id" in fe && n(46, h = fe.id), "container" in fe && n(0, v = fe.container), "input" in fe && n(6, g = fe.input), "isMulti" in fe && n(7, b = fe.isMulti), "multiFullItemClearable" in fe && n(8, w = fe.multiFullItemClearable), "isDisabled" in fe && n(9, C = fe.isDisabled), "isCreatable" in fe && n(47, x = fe.isCreatable), "isFocused" in fe && n(1, j = fe.isFocused), "value" in fe && n(2, O = fe.value), "filterText" in fe && n(3, B = fe.filterText), "placeholder" in fe && n(48, R = fe.placeholder), "placeholderAlwaysShow" in fe && n(49, L = fe.placeholderAlwaysShow), "items" in fe && n(50, V = fe.items), "itemFilter" in fe && n(51, z = fe.itemFilter), "groupBy" in fe && n(52, S = fe.groupBy), "groupFilter" in fe && n(53, W = fe.groupFilter), "isGroupHeaderSelectable" in fe && n(54, ve = fe.isGroupHeaderSelectable), "getGroupHeaderLabel" in fe && n(55, N = fe.getGroupHeaderLabel), "labelIdentifier" in fe && n(56, ae = fe.labelIdentifier), "getOptionLabel" in fe && n(57, ce = fe.getOptionLabel), "optionIdentifier" in fe && n(58, ue = fe.optionIdentifier), "loadOptions" in fe && n(59, Be = fe.loadOptions), "hasError" in fe && n(10, Fe = fe.hasError), "containerStyles" in fe && n(11, me = fe.containerStyles), "getSelectionLabel" in fe && n(12, ze = fe.getSelectionLabel), "createGroupHeaderItem" in fe && n(60, et = fe.createGroupHeaderItem), "createItem" in fe && n(61, Qe = fe.createItem), "isSearchable" in fe && n(13, yn = fe.isSearchable), "inputStyles" in fe && n(14, ee = fe.inputStyles), "isClearable" in fe && n(15, pe = fe.isClearable), "isWaiting" in fe && n(4, Te = fe.isWaiting), "listPlacement" in fe && n(63, ct = fe.listPlacement), "listOpen" in fe && n(5, we = fe.listOpen), "isVirtualList" in fe && n(64, vt = fe.isVirtualList), "loadOptionsInterval" in fe && n(65, mt = fe.loadOptionsInterval), "noOptionsMessage" in fe && n(66, wt = fe.noOptionsMessage), "hideEmptyState" in fe && n(67, qt = fe.hideEmptyState), "inputAttributes" in fe && n(16, qe = fe.inputAttributes), "listAutoWidth" in fe && n(68, bn = fe.listAutoWidth), "itemHeight" in fe && n(69, hn = fe.itemHeight), "Icon" in fe && n(17, Tr = fe.Icon), "iconProps" in fe && n(18, Hi = fe.iconProps), "showChevron" in fe && n(19, Ln = fe.showChevron), "showIndicator" in fe && n(20, Qt = fe.showIndicator), "containerClasses" in fe && n(21, Si = fe.containerClasses), "indicatorSvg" in fe && n(22, _l = fe.indicatorSvg), "listOffset" in fe && n(70, bs = fe.listOffset), "ClearIcon" in fe && n(23, sa = fe.ClearIcon), "Item" in fe && n(71, Ma = fe.Item), "List" in fe && n(24, Ta = fe.List), "Selection" in fe && n(25, Cl = fe.Selection), "MultiSelection" in fe && n(26, ws = fe.MultiSelection), "VirtualList" in fe && n(72, xs = fe.VirtualList), "selectedValue" in fe && n(73, ke = fe.selectedValue), "ariaValues" in fe && n(74, Rt = fe.ariaValues), "ariaListOpen" in fe && n(75, $n = fe.ariaListOpen), "ariaFocused" in fe && n(76, pr = fe.ariaFocused);
30258
+ "id" in fe && n(46, h = fe.id), "container" in fe && n(0, v = fe.container), "input" in fe && n(6, g = fe.input), "isMulti" in fe && n(7, b = fe.isMulti), "multiFullItemClearable" in fe && n(8, w = fe.multiFullItemClearable), "isDisabled" in fe && n(9, C = fe.isDisabled), "isCreatable" in fe && n(47, x = fe.isCreatable), "isFocused" in fe && n(1, j = fe.isFocused), "value" in fe && n(2, O = fe.value), "filterText" in fe && n(3, B = fe.filterText), "placeholder" in fe && n(48, R = fe.placeholder), "placeholderAlwaysShow" in fe && n(49, L = fe.placeholderAlwaysShow), "items" in fe && n(50, V = fe.items), "itemFilter" in fe && n(51, z = fe.itemFilter), "groupBy" in fe && n(52, S = fe.groupBy), "groupFilter" in fe && n(53, W = fe.groupFilter), "isGroupHeaderSelectable" in fe && n(54, ve = fe.isGroupHeaderSelectable), "getGroupHeaderLabel" in fe && n(55, N = fe.getGroupHeaderLabel), "labelIdentifier" in fe && n(56, ae = fe.labelIdentifier), "getOptionLabel" in fe && n(57, ce = fe.getOptionLabel), "optionIdentifier" in fe && n(58, ue = fe.optionIdentifier), "loadOptions" in fe && n(59, Be = fe.loadOptions), "hasError" in fe && n(10, Fe = fe.hasError), "containerStyles" in fe && n(11, me = fe.containerStyles), "getSelectionLabel" in fe && n(12, ze = fe.getSelectionLabel), "createGroupHeaderItem" in fe && n(60, tt = fe.createGroupHeaderItem), "createItem" in fe && n(61, Qe = fe.createItem), "isSearchable" in fe && n(13, yn = fe.isSearchable), "inputStyles" in fe && n(14, ee = fe.inputStyles), "isClearable" in fe && n(15, pe = fe.isClearable), "isWaiting" in fe && n(4, Te = fe.isWaiting), "listPlacement" in fe && n(63, ct = fe.listPlacement), "listOpen" in fe && n(5, we = fe.listOpen), "isVirtualList" in fe && n(64, vt = fe.isVirtualList), "loadOptionsInterval" in fe && n(65, mt = fe.loadOptionsInterval), "noOptionsMessage" in fe && n(66, wt = fe.noOptionsMessage), "hideEmptyState" in fe && n(67, qt = fe.hideEmptyState), "inputAttributes" in fe && n(16, qe = fe.inputAttributes), "listAutoWidth" in fe && n(68, bn = fe.listAutoWidth), "itemHeight" in fe && n(69, hn = fe.itemHeight), "Icon" in fe && n(17, Tr = fe.Icon), "iconProps" in fe && n(18, Hi = fe.iconProps), "showChevron" in fe && n(19, Ln = fe.showChevron), "showIndicator" in fe && n(20, Qt = fe.showIndicator), "containerClasses" in fe && n(21, Si = fe.containerClasses), "indicatorSvg" in fe && n(22, _l = fe.indicatorSvg), "listOffset" in fe && n(70, bs = fe.listOffset), "ClearIcon" in fe && n(23, sa = fe.ClearIcon), "Item" in fe && n(71, Ma = fe.Item), "List" in fe && n(24, Ta = fe.List), "Selection" in fe && n(25, Cl = fe.Selection), "MultiSelection" in fe && n(26, ws = fe.MultiSelection), "VirtualList" in fe && n(72, xs = fe.VirtualList), "selectedValue" in fe && n(73, ke = fe.selectedValue), "ariaValues" in fe && n(74, Rt = fe.ariaValues), "ariaListOpen" in fe && n(75, $n = fe.ariaListOpen), "ariaFocused" in fe && n(76, pr = fe.ariaFocused);
30259
30259
  }, t.$$.update = function() {
30260
30260
  var fe, xt;
30261
30261
  140 & t.$$.dirty[0] | 405340160 & t.$$.dirty[1] && n(81, r = qp({ loadOptions: Be, filterText: B, items: V, value: O, isMulti: b, optionIdentifier: ue, groupBy: S, isCreatable: x })), 2048 & t.$$.dirty[2] && ke && console.warn("selectedValue is no longer used. Please use value instead."), 524288 & t.$$.dirty[1] && function(zt) {
@@ -30332,7 +30332,7 @@ function oK(t, e, n) {
30332
30332
  b ? (n(2, O = O || []), n(2, O = [].concat(rn(O), [Qe(xt)]))) : n(2, O = Qe(xt)), c("itemCreated", xt), n(3, B = ""), n(5, we = !1), n(30, Pn = void 0);
30333
30333
  }, function() {
30334
30334
  n(3, B = ""), n(5, we = !1);
30335
- }, h, x, R, L, V, z, S, W, ve, N, ae, ce, ue, Be, et, Qe, function() {
30335
+ }, h, x, R, L, V, z, S, W, ve, N, ae, ce, ue, Be, tt, Qe, function() {
30336
30336
  return r;
30337
30337
  }, ct, vt, mt, wt, qt, bn, hn, bs, Ma, xs, ke, Rt, $n, pr, co, fu, ir, $l, r, function(fe) {
30338
30338
  nn[fe ? "unshift" : "push"](function() {
@@ -30353,7 +30353,7 @@ var Es = function(t) {
30353
30353
  var e = Ne(n);
30354
30354
  function n(r) {
30355
30355
  var i;
30356
- return Y(this, n), At(_t(i = e.call(this)), r, oK, iK, Sr, { id: 46, container: 0, input: 6, isMulti: 7, multiFullItemClearable: 8, isDisabled: 9, isCreatable: 47, isFocused: 1, value: 2, filterText: 3, placeholder: 48, placeholderAlwaysShow: 49, items: 50, itemFilter: 51, groupBy: 52, groupFilter: 53, isGroupHeaderSelectable: 54, getGroupHeaderLabel: 55, labelIdentifier: 56, getOptionLabel: 57, optionIdentifier: 58, loadOptions: 59, hasError: 10, containerStyles: 11, getSelectionLabel: 12, createGroupHeaderItem: 60, createItem: 61, getFilteredItems: 62, isSearchable: 13, inputStyles: 14, isClearable: 15, isWaiting: 4, listPlacement: 63, listOpen: 5, isVirtualList: 64, loadOptionsInterval: 65, noOptionsMessage: 66, hideEmptyState: 67, inputAttributes: 16, listAutoWidth: 68, itemHeight: 69, Icon: 17, iconProps: 18, showChevron: 19, showIndicator: 20, containerClasses: 21, indicatorSvg: 22, listOffset: 70, ClearIcon: 23, Item: 71, List: 24, Selection: 25, MultiSelection: 26, VirtualList: 72, selectedValue: 73, handleClear: 27, ariaValues: 74, ariaListOpen: 75, ariaFocused: 76 }, tK, [-1, -1, -1, -1]), i;
30356
+ return Y(this, n), At(_t(i = e.call(this)), r, oK, iK, Cr, { id: 46, container: 0, input: 6, isMulti: 7, multiFullItemClearable: 8, isDisabled: 9, isCreatable: 47, isFocused: 1, value: 2, filterText: 3, placeholder: 48, placeholderAlwaysShow: 49, items: 50, itemFilter: 51, groupBy: 52, groupFilter: 53, isGroupHeaderSelectable: 54, getGroupHeaderLabel: 55, labelIdentifier: 56, getOptionLabel: 57, optionIdentifier: 58, loadOptions: 59, hasError: 10, containerStyles: 11, getSelectionLabel: 12, createGroupHeaderItem: 60, createItem: 61, getFilteredItems: 62, isSearchable: 13, inputStyles: 14, isClearable: 15, isWaiting: 4, listPlacement: 63, listOpen: 5, isVirtualList: 64, loadOptionsInterval: 65, noOptionsMessage: 66, hideEmptyState: 67, inputAttributes: 16, listAutoWidth: 68, itemHeight: 69, Icon: 17, iconProps: 18, showChevron: 19, showIndicator: 20, containerClasses: 21, indicatorSvg: 22, listOffset: 70, ClearIcon: 23, Item: 71, List: 24, Selection: 25, MultiSelection: 26, VirtualList: 72, selectedValue: 73, handleClear: 27, ariaValues: 74, ariaListOpen: 75, ariaFocused: 76 }, tK, [-1, -1, -1, -1]), i;
30357
30357
  }
30358
30358
  return X(n, [{ key: "getFilteredItems", get: function() {
30359
30359
  return this.$$.ctx[62];
@@ -30615,7 +30615,7 @@ var vK = function(t) {
30615
30615
  var e = Ne(n);
30616
30616
  function n(r) {
30617
30617
  var i;
30618
- return Y(this, n), At(_t(i = e.call(this)), r, pK, hK, Sr, { queryLanguages: 1, queryLanguageId: 0, onChangeQueryLanguage: 3 }, cK), i;
30618
+ return Y(this, n), At(_t(i = e.call(this)), r, pK, hK, Cr, { queryLanguages: 1, queryLanguageId: 0, onChangeQueryLanguage: 3 }, cK), i;
30619
30619
  }
30620
30620
  return X(n);
30621
30621
  }();
@@ -31211,7 +31211,7 @@ function HK(t, e, n) {
31211
31211
  }))).apply(this, arguments);
31212
31212
  }
31213
31213
  var Xe = { separator: !0 };
31214
- function et(ge) {
31214
+ function tt(ge) {
31215
31215
  l("handleChangeQueryLanguage", ge), n(30, L = ge), V(ge);
31216
31216
  }
31217
31217
  return t.$$set = function(ge) {
@@ -31243,7 +31243,7 @@ function HK(t, e, n) {
31243
31243
  return ve(ge, Lt) || Lt;
31244
31244
  }, function(ge) {
31245
31245
  var Qe = ge.id, Lt = ge.json, yn = ge.selectedPath, Mn = ge.onTransform, ee = ge.onClose;
31246
- console.log("json", Lt), h || s(OK, { id: Qe, json: Lt, selectedPath: yn, escapeControlCharacters: j, escapeUnicodeCharacters: O, queryLanguages: R, queryLanguageId: L, onChangeQueryLanguage: et, onRenderValue: S, onClassName: W, onTransform: Mn }, PL, { onClose: ee });
31246
+ console.log("json", Lt), h || s(OK, { id: Qe, json: Lt, selectedPath: yn, escapeControlCharacters: j, escapeUnicodeCharacters: O, queryLanguages: R, queryLanguageId: L, onChangeQueryLanguage: tt, onRenderValue: S, onClassName: W, onTransform: Mn }, PL, { onClose: ee });
31247
31247
  }, function(ge) {
31248
31248
  var Qe = ge.id, Lt = ge.json, yn = ge.selectedPath, Mn = ge.onSort, ee = ge.onClose;
31249
31249
  h || s(PK, { id: Qe, json: Lt, selectedPath: yn, onSort: Mn }, IL, { onClose: ee });
@@ -33251,7 +33251,7 @@ DL(function t(e, n, r) {
33251
33251
  v.code = "new RegExp";
33252
33252
  var m = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set(["validate", "serialize", "parse", "wrapper", "root", "schema", "keyword", "pattern", "formats", "validate$data", "func", "obj", "Error"]), y = { errorDataPath: "", format: "`validateFormats: false` can be used instead.", nullable: '"nullable" keyword is supported by default.', jsonPointers: "Deprecated jsPropertySyntax can be used instead.", extendRefs: "Deprecated ignoreKeywordsWithRef can be used instead.", missingRefs: "Pass empty schema with $id that should be ignored to ajv.addSchema.", processCode: "Use option `code: {process: (code, schemaEnv: object) => string}`", sourceCode: "Use option `code: {source: true}`", strictDefaults: "It is default now, see option `strict`.", strictKeywords: "It is default now, see option `strict`.", uniqueItems: '"uniqueItems" keyword is always validated.', unknownFormats: "Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).", cache: "Map is used as cache, schema object as key.", serialize: "Map is used as cache, schema object as key.", ajvErrors: "It is default now." }, b = { ignoreKeywordsWithRef: "", jsPropertySyntax: "", unicode: '"minLength"/"maxLength" account for unicode characters by default.' };
33253
33253
  function k(P) {
33254
- var V, q, z, E, S, T, W, ie, ve, be, N, F, ae, ne, ce, je, ue, Q, Be, Ve, Fe, Se, me, Ce, ze, Xe = P.strict, et = (V = P.code) === null || V === void 0 ? void 0 : V.optimize, ge = et === !0 || et === void 0 ? 1 : et || 0, Qe = (z = (q = P.code) === null || q === void 0 ? void 0 : q.regExp) !== null && z !== void 0 ? z : v, Lt = (E = P.uriResolver) !== null && E !== void 0 ? E : p.default;
33254
+ var V, q, z, E, S, T, W, ie, ve, be, N, F, ae, ne, ce, je, ue, Q, Be, Ve, Fe, Se, me, Ce, ze, Xe = P.strict, tt = (V = P.code) === null || V === void 0 ? void 0 : V.optimize, ge = tt === !0 || tt === void 0 ? 1 : tt || 0, Qe = (z = (q = P.code) === null || q === void 0 ? void 0 : q.regExp) !== null && z !== void 0 ? z : v, Lt = (E = P.uriResolver) !== null && E !== void 0 ? E : p.default;
33255
33255
  return { strictSchema: (T = (S = P.strictSchema) !== null && S !== void 0 ? S : Xe) === null || T === void 0 || T, strictNumbers: (ie = (W = P.strictNumbers) !== null && W !== void 0 ? W : Xe) === null || ie === void 0 || ie, strictTypes: (be = (ve = P.strictTypes) !== null && ve !== void 0 ? ve : Xe) !== null && be !== void 0 ? be : "log", strictTuples: (F = (N = P.strictTuples) !== null && N !== void 0 ? N : Xe) !== null && F !== void 0 ? F : "log", strictRequired: (ne = (ae = P.strictRequired) !== null && ae !== void 0 ? ae : Xe) !== null && ne !== void 0 && ne, code: P.code ? dt(dt({}, P.code), {}, { optimize: ge, regExp: Qe }) : { optimize: ge, regExp: Qe }, loopRequired: (ce = P.loopRequired) !== null && ce !== void 0 ? ce : 200, loopEnum: (je = P.loopEnum) !== null && je !== void 0 ? je : 200, meta: (ue = P.meta) === null || ue === void 0 || ue, messages: (Q = P.messages) === null || Q === void 0 || Q, inlineRefs: (Be = P.inlineRefs) === null || Be === void 0 || Be, schemaId: (Ve = P.schemaId) !== null && Ve !== void 0 ? Ve : "$id", addUsedSchema: (Fe = P.addUsedSchema) === null || Fe === void 0 || Fe, validateSchema: (Se = P.validateSchema) === null || Se === void 0 || Se, validateFormats: (me = P.validateFormats) === null || me === void 0 || me, unicodeRegExp: (Ce = P.unicodeRegExp) === null || Ce === void 0 || Ce, int32range: (ze = P.int32range) === null || ze === void 0 || ze, uriResolver: Lt };
33256
33256
  }
33257
33257
  var w = function() {
@@ -35129,7 +35129,7 @@ DL(function t(e, n, r) {
35129
35129
  }
35130
35130
  return ee.fragment = void 0, ee;
35131
35131
  } }, je = { scheme: "wss", domainHost: ce.domainHost, parse: ce.parse, serialize: ce.serialize }, ue = {}, Q = "[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]", Be = "[0-9A-Fa-f]", Ve = o(o("%[EFef][0-9A-Fa-f]%" + Be + Be + "%" + Be + Be) + "|" + o("%[89A-Fa-f][0-9A-Fa-f]%" + Be + Be) + "|" + o("%" + Be + Be)), Fe = i("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]", '[\\"\\\\]'), Se = new RegExp(Q, "g"), me = new RegExp(Ve, "g"), Ce = new RegExp(i("[^]", "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]", "[\\.]", '[\\"]', Fe), "g"), ze = new RegExp(i("[^]", Q, "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"), "g"), Xe = ze;
35132
- function et(ee) {
35132
+ function tt(ee) {
35133
35133
  var le = B(ee);
35134
35134
  return le.match(Se) ? le : ee;
35135
35135
  }
@@ -35173,7 +35173,7 @@ DL(function t(e, n, r) {
35173
35173
  var pe, ye = ee, Te = (pe = ee.to) != null ? pe instanceof Array ? pe : typeof pe.length != "number" || pe.split || pe.setInterval || pe.call ? [pe] : Array.prototype.slice.call(pe) : [];
35174
35174
  if (Te) {
35175
35175
  for (var He = 0, ct = Te.length; He < ct; ++He) {
35176
- var kt = String(Te[He]), we = kt.lastIndexOf("@"), rt = kt.slice(0, we).replace(me, et).replace(me, s).replace(Ce, A), vt = kt.slice(we + 1);
35176
+ var kt = String(Te[He]), we = kt.lastIndexOf("@"), rt = kt.slice(0, we).replace(me, tt).replace(me, s).replace(Ce, A), vt = kt.slice(we + 1);
35177
35177
  try {
35178
35178
  vt = le.iri ? D(vt) : j(N(vt, le).toLowerCase());
35179
35179
  } catch (wt) {
@@ -35187,7 +35187,7 @@ DL(function t(e, n, r) {
35187
35187
  ee.subject && (st.subject = ee.subject), ee.body && (st.body = ee.body);
35188
35188
  var mt = [];
35189
35189
  for (var It in st)
35190
- st[It] !== ue[It] && mt.push(It.replace(me, et).replace(me, s).replace(ze, A) + "=" + st[It].replace(me, et).replace(me, s).replace(Xe, A));
35190
+ st[It] !== ue[It] && mt.push(It.replace(me, tt).replace(me, s).replace(ze, A) + "=" + st[It].replace(me, tt).replace(me, s).replace(Xe, A));
35191
35191
  return mt.length && (ye.query = mt.join("&")), ye;
35192
35192
  } }, Qe = /^([^\:]+)\:(.*)/, Lt = { scheme: "urn", parse: function(ee, le) {
35193
35193
  var pe = ee.path && ee.path.match(Qe), ye = ee;
@@ -35609,12 +35609,12 @@ var KK = {};
35609
35609
  case "Slice":
35610
35610
  if (!e(F))
35611
35611
  return null;
35612
- var me = N.children.slice(0), Ce = this.computeSliceParams(F.length, me), ze = Ce[0], Xe = Ce[1], et = Ce[2];
35613
- if (ce = [], et > 0)
35614
- for (Fe = ze; Fe < Xe; Fe += et)
35612
+ var me = N.children.slice(0), Ce = this.computeSliceParams(F.length, me), ze = Ce[0], Xe = Ce[1], tt = Ce[2];
35613
+ if (ce = [], tt > 0)
35614
+ for (Fe = ze; Fe < Xe; Fe += tt)
35615
35615
  ce.push(F[Fe]);
35616
35616
  else
35617
- for (Fe = ze; Fe > Xe; Fe += et)
35617
+ for (Fe = ze; Fe > Xe; Fe += tt)
35618
35618
  ce.push(F[Fe]);
35619
35619
  return ce;
35620
35620
  case "Projection":
@@ -37564,7 +37564,7 @@ function hQ(t, e, n, r) {
37564
37564
  }, 4e4);
37565
37565
  }
37566
37566
  }
37567
- function Or(t, e) {
37567
+ function Er(t, e) {
37568
37568
  const n = "\u{1F34D} " + t;
37569
37569
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, e) : e === "error" ? console.error(n) : e === "warn" ? console.warn(n) : console.log(n);
37570
37570
  }
@@ -37573,29 +37573,29 @@ function m1(t) {
37573
37573
  }
37574
37574
  function hI() {
37575
37575
  if (!("clipboard" in navigator))
37576
- return Or("Your browser doesn't support the Clipboard API", "error"), !0;
37576
+ return Er("Your browser doesn't support the Clipboard API", "error"), !0;
37577
37577
  }
37578
37578
  function pI(t) {
37579
- return t instanceof Error && t.message.toLowerCase().includes("document is not focused") ? (Or('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
37579
+ return t instanceof Error && t.message.toLowerCase().includes("document is not focused") ? (Er('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
37580
37580
  }
37581
37581
  async function pQ(t) {
37582
37582
  if (!hI())
37583
37583
  try {
37584
- await navigator.clipboard.writeText(JSON.stringify(t.state.value)), Or("Global state copied to clipboard.");
37584
+ await navigator.clipboard.writeText(JSON.stringify(t.state.value)), Er("Global state copied to clipboard.");
37585
37585
  } catch (e) {
37586
37586
  if (pI(e))
37587
37587
  return;
37588
- Or("Failed to serialize the state. Check the console for more details.", "error"), console.error(e);
37588
+ Er("Failed to serialize the state. Check the console for more details.", "error"), console.error(e);
37589
37589
  }
37590
37590
  }
37591
37591
  async function vQ(t) {
37592
37592
  if (!hI())
37593
37593
  try {
37594
- t.state.value = JSON.parse(await navigator.clipboard.readText()), Or("Global state pasted from clipboard.");
37594
+ t.state.value = JSON.parse(await navigator.clipboard.readText()), Er("Global state pasted from clipboard.");
37595
37595
  } catch (e) {
37596
37596
  if (pI(e))
37597
37597
  return;
37598
- Or("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e);
37598
+ Er("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e);
37599
37599
  }
37600
37600
  }
37601
37601
  async function mQ(t) {
@@ -37604,7 +37604,7 @@ async function mQ(t) {
37604
37604
  type: "text/plain;charset=utf-8"
37605
37605
  }), "pinia-state.json");
37606
37606
  } catch (e) {
37607
- Or("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
37607
+ Er("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
37608
37608
  }
37609
37609
  }
37610
37610
  let ua;
@@ -37629,9 +37629,9 @@ async function yQ(t) {
37629
37629
  if (!n)
37630
37630
  return;
37631
37631
  const { text: r, file: i } = n;
37632
- t.state.value = JSON.parse(r), Or(`Global state imported from "${i.name}".`);
37632
+ t.state.value = JSON.parse(r), Er(`Global state imported from "${i.name}".`);
37633
37633
  } catch (e) {
37634
- Or("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
37634
+ Er("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e);
37635
37635
  }
37636
37636
  }
37637
37637
  function mo(t) {
@@ -37724,7 +37724,7 @@ function jQ(t, e) {
37724
37724
  componentStateTypes: Ad,
37725
37725
  app: t
37726
37726
  }, (n) => {
37727
- typeof n.now != "function" && Or("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
37727
+ typeof n.now != "function" && Er("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
37728
37728
  id: $s,
37729
37729
  label: "Pinia \u{1F34D}",
37730
37730
  color: 15064968
@@ -37769,7 +37769,7 @@ function jQ(t, e) {
37769
37769
  tooltip: "Reset the state (option store only)",
37770
37770
  action: (r) => {
37771
37771
  const i = e._s.get(r);
37772
- i ? i._isOptionsAPI ? (i.$reset(), Or(`Store "${r}" reset.`)) : Or(`Cannot reset "${r}" store because it's a setup store.`, "warn") : Or(`Cannot reset "${r}" store because it wasn't found.`, "warn");
37772
+ i ? i._isOptionsAPI ? (i.$reset(), Er(`Store "${r}" reset.`)) : Er(`Cannot reset "${r}" store because it's a setup store.`, "warn") : Er(`Cannot reset "${r}" store because it wasn't found.`, "warn");
37773
37773
  }
37774
37774
  }
37775
37775
  ]
@@ -37825,7 +37825,7 @@ function jQ(t, e) {
37825
37825
  if (r.app === t && r.inspectorId === qr) {
37826
37826
  const o = r.nodeId === Bg ? e : e._s.get(r.nodeId);
37827
37827
  if (!o)
37828
- return Or(`store "${r.nodeId}" not found`, "error");
37828
+ return Er(`store "${r.nodeId}" not found`, "error");
37829
37829
  const { path: a } = r;
37830
37830
  m1(o) ? a.unshift("state") : (a.length !== 1 || !o._customProperties.has(a[0]) || a[0] in o.$state) && a.unshift("$state"), Eu = !1, r.set(o, a, r.state.value), Eu = !0;
37831
37831
  }
@@ -37833,10 +37833,10 @@ function jQ(t, e) {
37833
37833
  if (r.type.startsWith("\u{1F34D}")) {
37834
37834
  const i = r.type.replace(/^🍍\s*/, ""), o = e._s.get(i);
37835
37835
  if (!o)
37836
- return Or(`store "${i}" not found`, "error");
37836
+ return Er(`store "${i}" not found`, "error");
37837
37837
  const { path: a } = r;
37838
37838
  if (a[0] !== "state")
37839
- return Or(`Invalid path for store "${i}":
37839
+ return Er(`Invalid path for store "${i}":
37840
37840
  ${a}
37841
37841
  Only state can be modified.`);
37842
37842
  a[0] = "$state", Eu = !1, r.set(o, a, r.state.value), Eu = !0;
@@ -37968,8 +37968,8 @@ function _Q(t, e) {
37968
37968
  });
37969
37969
  const { $dispose: o } = e;
37970
37970
  e.$dispose = () => {
37971
- o(), n.notifyComponentUpdate(), n.sendInspectorTree(qr), n.sendInspectorState(qr), n.getSettings().logStoreChanges && Or(`Disposed "${e.$id}" store \u{1F5D1}`);
37972
- }, n.notifyComponentUpdate(), n.sendInspectorTree(qr), n.sendInspectorState(qr), n.getSettings().logStoreChanges && Or(`"${e.$id}" store installed \u{1F195}`);
37971
+ o(), n.notifyComponentUpdate(), n.sendInspectorTree(qr), n.sendInspectorState(qr), n.getSettings().logStoreChanges && Er(`Disposed "${e.$id}" store \u{1F5D1}`);
37972
+ }, n.notifyComponentUpdate(), n.sendInspectorTree(qr), n.sendInspectorState(qr), n.getSettings().logStoreChanges && Er(`"${e.$id}" store installed \u{1F195}`);
37973
37973
  });
37974
37974
  }
37975
37975
  let mI = 0, Ms;
@@ -38564,17 +38564,17 @@ const xI = "gameSave", Ih = "###_--_~=:;_JUMP", b1 = "###_--_~=:;_RETURN", LQ =
38564
38564
  function DQ(t) {
38565
38565
  return t === Ih || t === b1 || t === LQ || t === Ph;
38566
38566
  }
38567
- const RQ = "2.6.3", zQ = new Date("2022-08-10T20:49:51.142Z"), h5 = (t, e) => {
38567
+ const RQ = "2.6.4", zQ = new Date("2022-08-12T12:16:08.316Z"), h5 = (t, e) => {
38568
38568
  const n = {};
38569
38569
  for (const r in t)
38570
38570
  e(t[r]) && (n[r] = t[r]);
38571
38571
  return n;
38572
38572
  }, jI = "1.4.0";
38573
- let Ar;
38573
+ let Or;
38574
38574
  function _I() {
38575
- if (Ar)
38576
- return Ar;
38577
- if (!Ar) {
38575
+ if (Or)
38576
+ return Or;
38577
+ if (!Or) {
38578
38578
  let t = null;
38579
38579
  try {
38580
38580
  const e = localStorage.getItem(xI);
@@ -38584,9 +38584,9 @@ function _I() {
38584
38584
  `Save file deleted because it was either broken or an outdated format: ${e}`
38585
38585
  );
38586
38586
  }
38587
- t ? Ar = t : Ar = FQ();
38587
+ t ? Or = t : Or = FQ();
38588
38588
  }
38589
- return BQ(Ar), SI(Ar), Dp(), Ar;
38589
+ return BQ(Or), SI(Or), Dp(), Or;
38590
38590
  }
38591
38591
  function BQ(t) {
38592
38592
  t.version;
@@ -38617,8 +38617,8 @@ function SI(t) {
38617
38617
  }
38618
38618
  function p5(t, e) {
38619
38619
  const n = HQ(e);
38620
- if (Ar.slots[n])
38621
- Ar.slots[n].saveData = t;
38620
+ if (Or.slots[n])
38621
+ Or.slots[n].saveData = t;
38622
38622
  else {
38623
38623
  Sn(`Tried to save to slot ${e} but it doesn't exist`);
38624
38624
  return;
@@ -38626,27 +38626,27 @@ function p5(t, e) {
38626
38626
  Dp();
38627
38627
  }
38628
38628
  function qQ(t) {
38629
- Ar.lastSaveSlot = t;
38629
+ Or.lastSaveSlot = t;
38630
38630
  }
38631
38631
  function Dp() {
38632
- localStorage.setItem(xI, JSON.stringify(Ar));
38632
+ localStorage.setItem(xI, JSON.stringify(Or));
38633
38633
  }
38634
38634
  function VQ() {
38635
- const t = Ar.slots.find((e) => !e.saveData);
38635
+ const t = Or.slots.find((e) => !e.saveData);
38636
38636
  return t ? t.id : !1;
38637
38637
  }
38638
38638
  function HQ(t) {
38639
- return Ar.slots.findIndex((e) => e.id === t);
38639
+ return Or.slots.findIndex((e) => e.id === t);
38640
38640
  }
38641
38641
  function oc(t) {
38642
- return Ar.slots.find((e) => e.id === t);
38642
+ return Or.slots.find((e) => e.id === t);
38643
38643
  }
38644
38644
  function Hg() {
38645
- return Ar.slots.find((t) => t.slotType === "auto");
38645
+ return Or.slots.find((t) => t.slotType === "auto");
38646
38646
  }
38647
38647
  function WQ(t) {
38648
- const e = Ar.slots.findIndex((n) => n.id === t);
38649
- Ar.slots[e].saveData = null, Dp();
38648
+ const e = Or.slots.findIndex((n) => n.id === t);
38649
+ Or.slots[e].saveData = null, Dp();
38650
38650
  }
38651
38651
  function UQ(t, e) {
38652
38652
  const n = oc(t);
@@ -38714,7 +38714,7 @@ function QQ({
38714
38714
  skillCheckId: e,
38715
38715
  value: n
38716
38716
  }) {
38717
- const r = Er(), i = r.getSkillCheck(e), o = $P(t), a = r.skills[t].level, s = $I(n, a);
38717
+ const r = Sr(), i = r.getSkillCheck(e), o = $P(t), a = r.skills[t].level, s = $I(n, a);
38718
38718
  let u = !0, l = `<span class='skill-check'>[<span class='skill-check-name'>${o.name}</span> - `;
38719
38719
  return i.happened ? i.succeeded ? l = "" : (u = !1, l += ` <span class='skill-check-difficulty'>${s}</span> - <span class='skill-check-failed'>FAILED</span>]</span>`) : l += ` <span class='skill-check-difficulty'>${s}</span>]</span>`, {
38720
38720
  difficultyText: l,
@@ -38722,14 +38722,14 @@ function QQ({
38722
38722
  };
38723
38723
  }
38724
38724
  function YQ(t, e) {
38725
- const n = Er(), r = $P(e.skill), i = $I(
38725
+ const n = Sr(), r = $P(e.skill), i = $I(
38726
38726
  e.value,
38727
38727
  n.skills[e.skill].level
38728
38728
  );
38729
38729
  return `<span class='passive-skill-check skill-check'>[<span class='skill-check-name'>${r.name}</span> - <span class='skill-check-difficulty'>${i}</span> - ${t ? '<span class="skill-check-success">Success</span>' : '<span class="skill-check-failed">Failure</span>'}]</span>`;
38730
38730
  }
38731
38731
  function XQ(t) {
38732
- const { skillChecks: e } = ft(), n = Er(), r = Math.floor(Math.random() * e.rollRange), i = n.skills[t].level * e.skillMultiplier, o = r + i;
38732
+ const { skillChecks: e } = ft(), n = Sr(), r = Math.floor(Math.random() * e.rollRange), i = n.skills[t].level * e.skillMultiplier, o = r + i;
38733
38733
  return ea.log(
38734
38734
  `[SKILL CHECK] Roll: ${o}. (Base roll: ${r}, modifier: ${i} - Skill level: ${n.skills[t].level})`
38735
38735
  ), {
@@ -38749,8 +38749,8 @@ function ZQ(t) {
38749
38749
  ), eu(r ? "onSkillCheckSuccess" : "onSkillCheckFailure"), r;
38750
38750
  }
38751
38751
  function AI(t) {
38752
- const e = Er(), n = e.getSkillCheck(t.id);
38753
- if (n && n.happened)
38752
+ const e = Sr(), n = e.getSkillCheck(t.id);
38753
+ if (n && n.happened && (n.succeeded || !t.repeatable))
38754
38754
  return n;
38755
38755
  const r = ZQ(t);
38756
38756
  return MI(YQ(r, t)), r ? e.passSkillCheck(t.id, t.hideAfterRoll) : e.failSkillCheck(t.id, t.hideAfterRoll), e.getSkillCheck(t.id);
@@ -40155,7 +40155,7 @@ const Gt = Vi("main", {
40155
40155
  },
40156
40156
  resetAllStores() {
40157
40157
  const t = Wo(), e = ft();
40158
- Fs().reset(), t.setButtons(e), Er().setupSkills(e.skills), ga().setupHudStats(e.hudStats), Lr().setupItems(e.items), li().setupQuests(e.quests), Kn.customStores().forEach(([a, s]) => {
40158
+ Fs().reset(), t.setButtons(e), Sr().setupSkills(e.skills), ga().setupHudStats(e.hudStats), Lr().setupItems(e.items), li().setupQuests(e.quests), Kn.customStores().forEach(([a, s]) => {
40159
40159
  s.reset && s.reset();
40160
40160
  });
40161
40161
  },
@@ -40173,7 +40173,7 @@ const Gt = Vi("main", {
40173
40173
  autoSaveGame({ slotId: t, name: e }) {
40174
40174
  const n = t != null ? t : this.saveSlot, r = oc(n), i = JQ();
40175
40175
  r && r.saveData ? i.name = r.saveData.metadata.name : i.name = e != null ? e : "Auto Save", ft().saves.mode === "manual" && (i.name = "Auto Save");
40176
- const o = Wo(), a = Er(), s = ki(), u = mn(), l = Gt(), f = ga(), c = Vr(), d = Lr(), h = {
40176
+ const o = Wo(), a = Sr(), s = ki(), u = mn(), l = Gt(), f = ga(), c = Vr(), d = Lr(), h = {
40177
40177
  version: jI,
40178
40178
  screen: o.generateSaveData(),
40179
40179
  skills: a.generateSaveData(),
@@ -40195,7 +40195,7 @@ const Gt = Vi("main", {
40195
40195
  }), this.saveData = h, p5(h, this.saveSlot);
40196
40196
  },
40197
40197
  setLoadedData(t) {
40198
- const e = Wo(), n = Er(), r = ki(), i = mn(), o = Gt(), a = ga(), s = Vr(), u = Lr();
40198
+ const e = Wo(), n = Sr(), r = ki(), i = mn(), o = Gt(), a = ga(), s = Vr(), u = Lr();
40199
40199
  e.loadSaveData(t.screen), n.loadSaveData(t.skills), r.loadSaveData(t.dialog), i.loadSaveData(t.vm), o.loadSaveData(t.main), a.loadSaveData(t.hud), s.loadSaveData(t.audio), u.loadSaveData(t.inventory), Fs().loadSaveData(t.sprites), li().loadSaveData(t.quests), Kn.customStores().forEach(([l, f]) => {
40200
40200
  f.load && f.load(t[l]);
40201
40201
  });
@@ -40204,7 +40204,7 @@ const Gt = Vi("main", {
40204
40204
  return {
40205
40205
  main: this,
40206
40206
  screens: Wo(),
40207
- skills: Er(),
40207
+ skills: Sr(),
40208
40208
  dialog: ki(),
40209
40209
  vm: mn(),
40210
40210
  hud: ga(),
@@ -41734,7 +41734,7 @@ function OP(t, e, n) {
41734
41734
  r[i] = n + o;
41735
41735
  }
41736
41736
  function ol() {
41737
- const t = mn(), e = Er(), n = Wo(), r = Lr(), i = mn().scope, o = {
41737
+ const t = mn(), e = Sr(), n = Wo(), r = Lr(), i = mn().scope, o = {
41738
41738
  data: t.data,
41739
41739
  skills: e.skills,
41740
41740
  buttons: n.buttons,
@@ -41781,7 +41781,7 @@ function ci(t) {
41781
41781
  else
41782
41782
  return t;
41783
41783
  }
41784
- const Er = Vi("skills", {
41784
+ const Sr = Vi("skills", {
41785
41785
  state: () => ({
41786
41786
  skillChecks: {},
41787
41787
  skills: {}
@@ -41796,6 +41796,9 @@ const Er = Vi("skills", {
41796
41796
  failSkillCheck(t, e) {
41797
41797
  this.skillChecks[t].happened = !0, this.skillChecks[t].succeeded = !1, e && (this.skillChecks[t].hidden = !0);
41798
41798
  },
41799
+ resetSkillCheck(t) {
41800
+ this.skillChecks[t].happened = !1, this.skillChecks[t].succeeded = !1, this.skillChecks[t].hidden = !1;
41801
+ },
41799
41802
  generateSaveData() {
41800
41803
  return {
41801
41804
  skillChecks: ci(this.skillChecks),
@@ -41857,7 +41860,7 @@ const tee = Wn({
41857
41860
  Modal: cs
41858
41861
  },
41859
41862
  setup() {
41860
- const t = Er(), e = yt(() => t.skills), n = yt(() => t.skillChecks);
41863
+ const t = Sr(), e = yt(() => t.skills), n = yt(() => t.skillChecks);
41861
41864
  return { skills: e, skillChecks: n };
41862
41865
  },
41863
41866
  data() {
@@ -41893,7 +41896,7 @@ const tee = Wn({
41893
41896
  },
41894
41897
  open() {
41895
41898
  this.showDebug = !0;
41896
- const t = mn(), e = Gt(), n = li(), r = Lr(), i = Er();
41899
+ const t = mn(), e = Gt(), n = li(), r = Lr(), i = Sr();
41897
41900
  this.$nextTick(() => {
41898
41901
  new r5({
41899
41902
  target: this.$refs.variablesViewer,
@@ -43583,7 +43586,7 @@ function _n(t, e) {
43583
43586
  function une(t, ...e) {
43584
43587
  console.log(`[${t.fileName}:${t.line}] log: `, ...e);
43585
43588
  }
43586
- class nt {
43589
+ class et {
43587
43590
  constructor(e, n, r, i) {
43588
43591
  Ci(this, "keyword");
43589
43592
  Ci(this, "runner");
@@ -43605,7 +43608,7 @@ class nt {
43605
43608
  }
43606
43609
  static FromOptions(e) {
43607
43610
  var r;
43608
- const n = new nt(
43611
+ const n = new et(
43609
43612
  e.keyword,
43610
43613
  e.argTypes,
43611
43614
  e.runner,
@@ -43644,7 +43647,7 @@ function Fp(t, e) {
43644
43647
  });
43645
43648
  };
43646
43649
  }
43647
- const lne = new nt(
43650
+ const lne = new et(
43648
43651
  "add_level",
43649
43652
  [
43650
43653
  {
@@ -43667,9 +43670,9 @@ const lne = new nt(
43667
43670
  `add_level expects a level to be an integer. Auto Rounding ${r} to ${n}`
43668
43671
  );
43669
43672
  }
43670
- Er().incrementSkill(e, n);
43673
+ Sr().incrementSkill(e, n);
43671
43674
  }
43672
- ), cne = nt.FromOptions({
43675
+ ), cne = et.FromOptions({
43673
43676
  keyword: "set_level",
43674
43677
  argTypes: [
43675
43678
  { name: "skill", type: "string" },
@@ -43686,9 +43689,9 @@ const lne = new nt(
43686
43689
  `set_level expects a level to be an integer. Auto Rounding ${r} to ${n}`
43687
43690
  );
43688
43691
  }
43689
- Er().setSkillLevel(e, n);
43692
+ Sr().setSkillLevel(e, n);
43690
43693
  }
43691
- }), fne = new nt(
43694
+ }), fne = new et(
43692
43695
  "add_xp",
43693
43696
  [
43694
43697
  { name: "xpKey", type: "string" },
@@ -43699,9 +43702,9 @@ const lne = new nt(
43699
43702
  (!e || !n) && _n(
43700
43703
  t,
43701
43704
  "add_xp command needs a skill id and a value as parameters"
43702
- ), Er().addXp(e, n);
43705
+ ), Sr().addXp(e, n);
43703
43706
  }
43704
- ), dne = new nt(
43707
+ ), dne = new et(
43705
43708
  "get_level",
43706
43709
  [
43707
43710
  {
@@ -43715,10 +43718,10 @@ const lne = new nt(
43715
43718
  t,
43716
43719
  "get_level command needs a skill id as parameter"
43717
43720
  );
43718
- const n = Er().getSkill(e);
43721
+ const n = Sr().getSkill(e);
43719
43722
  return n || _n(t, `Skill ${e} not found`), n.level;
43720
43723
  }
43721
- ), hne = new nt(
43724
+ ), hne = new et(
43722
43725
  "get_xp",
43723
43726
  [
43724
43727
  {
@@ -43729,27 +43732,38 @@ const lne = new nt(
43729
43732
  async (t) => {
43730
43733
  const { xpKey: e } = t.options;
43731
43734
  e || _n(t, "get_xp command needs a skill id as parameter");
43732
- const n = Er().getSkillXp(e);
43735
+ const n = Sr().getSkillXp(e);
43733
43736
  return n || _n(t, `XP ${e} not found`), n;
43734
43737
  }
43735
- ), pne = new nt(
43738
+ ), pne = new et(
43736
43739
  "roll",
43737
43740
  [
43738
43741
  { name: "id", type: "string" },
43739
43742
  { name: "skill", type: "string" },
43740
43743
  { name: "value", type: "number" },
43741
- { name: "hideAfterRoll", type: "boolean", optional: !0 }
43744
+ { name: "mode", type: "string", optional: !0 }
43742
43745
  ],
43743
43746
  async (t) => {
43744
- const { id: e, skill: n, value: r, hideAfterRoll: i } = t.options;
43745
- return AI({
43747
+ const { id: e, skill: n, value: r, mode: i } = t.options;
43748
+ let o = !1, a = !1;
43749
+ return i === "hideAfterRoll" && (o = !0), i === "repeatable" && (a = !0), AI({
43746
43750
  id: e,
43747
43751
  skill: n,
43748
43752
  value: r,
43749
- hideAfterRoll: i
43753
+ hideAfterRoll: o,
43754
+ repeatable: a
43750
43755
  }).succeeded;
43751
43756
  }
43752
- ), vne = new nt(
43757
+ ), vne = new et(
43758
+ "reset_roll",
43759
+ [
43760
+ {
43761
+ name: "id",
43762
+ type: "string"
43763
+ }
43764
+ ],
43765
+ async (t) => Sr().resetSkillCheck(t.options.id)
43766
+ ), mne = new et(
43753
43767
  "add_stat",
43754
43768
  [
43755
43769
  { name: "statKey", type: "string" },
@@ -43762,7 +43776,7 @@ const lne = new nt(
43762
43776
  "add_stat command needs a stat id and a value as parameters"
43763
43777
  ), ga().addStat(e, n);
43764
43778
  }
43765
- ), mne = new nt(
43779
+ ), gne = new et(
43766
43780
  "set_stat",
43767
43781
  [
43768
43782
  { name: "statKey", type: "string" },
@@ -43775,13 +43789,13 @@ const lne = new nt(
43775
43789
  "set_stat command needs a stat id and a value as parameters"
43776
43790
  ), ga().setStat(e, n);
43777
43791
  }
43778
- ), gne = new nt("get_stat_value", [{ name: "statKey", type: "string" }], async (t) => {
43792
+ ), yne = new et("get_stat_value", [{ name: "statKey", type: "string" }], async (t) => {
43779
43793
  const { statKey: e } = t.options;
43780
43794
  return e || _n(
43781
43795
  t,
43782
43796
  "get_stat_value command needs a stat id as parameter"
43783
43797
  ), ga().getStatValue(e);
43784
- }), yne = nt.FromOptions({
43798
+ }), bne = et.FromOptions({
43785
43799
  keyword: "jump",
43786
43800
  argTypes: "any",
43787
43801
  runner: async (t) => {
@@ -43798,7 +43812,7 @@ const lne = new nt(
43798
43812
  }
43799
43813
  return n.jumpTarget = r, Ih;
43800
43814
  }
43801
- }), bne = nt.FromOptions({
43815
+ }), kne = et.FromOptions({
43802
43816
  keyword: "run",
43803
43817
  argTypes: "any",
43804
43818
  runner: async (t) => {
@@ -43806,7 +43820,7 @@ const lne = new nt(
43806
43820
  const e = t.args[0];
43807
43821
  return await mn().runLabelFunction(e, ...t.args.slice(1));
43808
43822
  }
43809
- }), kne = nt.FromOptions({
43823
+ }), wne = et.FromOptions({
43810
43824
  keyword: "var",
43811
43825
  argTypes: [
43812
43826
  { name: "name", type: "string" },
@@ -43816,30 +43830,30 @@ const lne = new nt(
43816
43830
  const { name: e, value: n } = t.options;
43817
43831
  mn().addScopedVariable(e, n);
43818
43832
  }
43819
- }), wne = nt.FromOptions({
43833
+ }), xne = et.FromOptions({
43820
43834
  keyword: "return",
43821
43835
  argTypes: [{ name: "value", type: "any" }],
43822
43836
  runner: async (t) => {
43823
43837
  const { value: e } = t.options;
43824
43838
  return mn().setReturnValue(e), b1;
43825
43839
  }
43826
- }), xne = nt.FromOptions({
43840
+ }), jne = et.FromOptions({
43827
43841
  keyword: "log",
43828
43842
  argTypes: "any",
43829
43843
  runner: async (t) => {
43830
43844
  une(t, ...t.args);
43831
43845
  }
43832
- }), jne = nt.FromOptions({
43846
+ }), _ne = et.FromOptions({
43833
43847
  keyword: "menu_return",
43834
43848
  argTypes: [],
43835
43849
  runner: async (t) => (Gt().menuReturn(), Ph)
43836
- }), _ne = nt.FromOptions({
43850
+ }), Sne = et.FromOptions({
43837
43851
  keyword: "save",
43838
43852
  argTypes: [{ name: "name", type: "string", optional: !0 }],
43839
43853
  runner: async (t) => {
43840
43854
  await Gt().manualSave({ saveName: t.options.name });
43841
43855
  }
43842
- }), Sne = nt.FromOptions({
43856
+ }), Cne = et.FromOptions({
43843
43857
  keyword: "save_prompt",
43844
43858
  argTypes: [{ name: "name", type: "string", optional: !0 }],
43845
43859
  runner: async (t) => {
@@ -43848,18 +43862,18 @@ const lne = new nt(
43848
43862
  withPrompt: !0
43849
43863
  });
43850
43864
  }
43851
- }), Cne = [
43865
+ }), $ne = [
43852
43866
  { name: "mode", type: "string" },
43853
43867
  { name: "audio", type: "string" },
43854
43868
  { name: "channel", type: "number", optional: !0 }
43855
- ], $ne = new nt(
43869
+ ], Ane = new et(
43856
43870
  "play",
43857
- Cne,
43871
+ $ne,
43858
43872
  async (t) => {
43859
43873
  const e = Vr(), { mode: n, audio: r, channel: i } = t.options, o = O1(t, n);
43860
43874
  o && e.playChannel(o, r, i != null ? i : 0);
43861
43875
  }
43862
- ), Ane = new nt(
43876
+ ), One = new et(
43863
43877
  "pause",
43864
43878
  [
43865
43879
  { name: "mode", type: "string" },
@@ -43869,7 +43883,7 @@ const lne = new nt(
43869
43883
  const e = Vr(), { mode: n, channel: r } = t.options, i = O1(t, n);
43870
43884
  i && e.pauseChannel(i, r != null ? r : 0);
43871
43885
  }
43872
- ), One = new nt(
43886
+ ), Ene = new et(
43873
43887
  "stop",
43874
43888
  [
43875
43889
  { name: "mode", type: "string" },
@@ -43881,12 +43895,12 @@ const lne = new nt(
43881
43895
  }
43882
43896
  );
43883
43897
  function O1(t, e) {
43884
- return Ene(e) ? e : (_n(t, `${e} is not a valid audio mode.`), !1);
43898
+ return Mne(e) ? e : (_n(t, `${e} is not a valid audio mode.`), !1);
43885
43899
  }
43886
- function Ene(t) {
43900
+ function Mne(t) {
43887
43901
  return !!bI.includes(t);
43888
43902
  }
43889
- const Mne = new nt(
43903
+ const Tne = new et(
43890
43904
  "set",
43891
43905
  [
43892
43906
  { name: "key", type: "string" },
@@ -43896,7 +43910,7 @@ const Mne = new nt(
43896
43910
  const e = ol();
43897
43911
  AP(e, t.options.key, t.options.value);
43898
43912
  }
43899
- ), Tne = new nt(
43913
+ ), Ine = new et(
43900
43914
  "add",
43901
43915
  [
43902
43916
  { name: "key", type: "string" },
@@ -43906,7 +43920,7 @@ const Mne = new nt(
43906
43920
  const e = ol();
43907
43921
  OP(e, t.options.key, t.options.value);
43908
43922
  }
43909
- ), Ine = new nt(
43923
+ ), Pne = new et(
43910
43924
  "set_screen",
43911
43925
  [
43912
43926
  { name: "screen", type: "string" },
@@ -43928,7 +43942,7 @@ const Mne = new nt(
43928
43942
  t.options.layer
43929
43943
  ) : e.setScreen(t.options.screen, (n = t.options.layer) != null ? n : 0);
43930
43944
  }
43931
- ), Pne = new nt(
43945
+ ), Nne = new et(
43932
43946
  "empty_layer",
43933
43947
  [
43934
43948
  { name: "layer", type: "number" },
@@ -43944,7 +43958,7 @@ const Mne = new nt(
43944
43958
  delay: t.options.transitionDelay
43945
43959
  }) : e.emptyLayer(t.options.layer);
43946
43960
  }
43947
- ), Nne = new nt(
43961
+ ), Lne = new et(
43948
43962
  "set_button",
43949
43963
  [
43950
43964
  { name: "buttonId", type: "string" },
@@ -43954,7 +43968,7 @@ const Mne = new nt(
43954
43968
  const { buttonId: e, state: n } = t.options;
43955
43969
  Wo().changeButton(e, n);
43956
43970
  }
43957
- ), Lne = nt.FromOptions({
43971
+ ), Dne = et.FromOptions({
43958
43972
  keyword: "talk",
43959
43973
  argTypes: [
43960
43974
  {
@@ -43981,7 +43995,7 @@ const Mne = new nt(
43981
43995
  });
43982
43996
  },
43983
43997
  returnAfterPlayerAnswer: !0
43984
- }), Dne = nt.FromOptions({
43998
+ }), Rne = et.FromOptions({
43985
43999
  keyword: "think",
43986
44000
  argTypes: [
43987
44001
  {
@@ -44008,7 +44022,7 @@ const Mne = new nt(
44008
44022
  });
44009
44023
  },
44010
44024
  returnAfterPlayerAnswer: !0
44011
- }), Rne = () => {
44025
+ }), zne = () => {
44012
44026
  const t = Fp("text", []);
44013
44027
  return (e, n) => {
44014
44028
  const r = t(e, n);
@@ -44016,7 +44030,7 @@ const Mne = new nt(
44016
44030
  text: n.code.substring(1, n.code.length - 1)
44017
44031
  }, r;
44018
44032
  };
44019
- }, zne = nt.FromOptions({
44033
+ }, Bne = et.FromOptions({
44020
44034
  keyword: "text",
44021
44035
  argTypes: [],
44022
44036
  runner: async (t, e) => {
@@ -44028,9 +44042,9 @@ const Mne = new nt(
44028
44042
  interactive: !0
44029
44043
  });
44030
44044
  },
44031
- parser: Rne(),
44045
+ parser: zne(),
44032
44046
  returnAfterPlayerAnswer: !0
44033
- }), Bne = new nt(
44047
+ }), Fne = new et(
44034
44048
  "add_item",
44035
44049
  [
44036
44050
  { name: "id", type: "string" },
@@ -44043,7 +44057,7 @@ const Mne = new nt(
44043
44057
  amount: n
44044
44058
  });
44045
44059
  }
44046
- ), Fne = new nt(
44060
+ ), qne = new et(
44047
44061
  "remove_item",
44048
44062
  [
44049
44063
  { name: "id", type: "string" },
@@ -44056,7 +44070,7 @@ const Mne = new nt(
44056
44070
  amount: n
44057
44071
  });
44058
44072
  }
44059
- ), qne = new nt(
44073
+ ), Vne = new et(
44060
44074
  "has_item?",
44061
44075
  [
44062
44076
  { name: "id", type: "string" },
@@ -44066,35 +44080,35 @@ const Mne = new nt(
44066
44080
  const { id: e, amount: n } = t.options;
44067
44081
  return Lr().hasItem(e, n);
44068
44082
  }
44069
- ), Vne = new nt(
44083
+ ), Hne = new et(
44070
44084
  "item_amount?",
44071
44085
  [{ name: "id", type: "string" }],
44072
44086
  async (t) => {
44073
44087
  const { id: e } = t.options;
44074
44088
  return Lr().getItemAmount(e);
44075
44089
  }
44076
- ), Hne = new nt(
44090
+ ), Wne = new et(
44077
44091
  "enable_interaction",
44078
44092
  [{ name: "tag", type: "string" }],
44079
44093
  async (t) => {
44080
44094
  const e = t.options.tag;
44081
44095
  Lr().enableInteraction(e);
44082
44096
  }
44083
- ), Wne = new nt(
44097
+ ), Une = new et(
44084
44098
  "disable_interaction",
44085
44099
  [{ name: "tag", type: "string" }],
44086
44100
  async (t) => {
44087
44101
  const e = t.options.tag;
44088
44102
  Lr().disableInteraction(e);
44089
44103
  }
44090
- ), Une = new nt(
44104
+ ), Jne = new et(
44091
44105
  "start_quest",
44092
44106
  [{ name: "questId", type: "string" }],
44093
44107
  async (t) => {
44094
44108
  const e = t.options.questId;
44095
44109
  li().startQuest(e);
44096
44110
  }
44097
- ), Jne = new nt(
44111
+ ), Gne = new et(
44098
44112
  "start_objective",
44099
44113
  [
44100
44114
  { name: "questId", type: "string" },
@@ -44104,7 +44118,7 @@ const Mne = new nt(
44104
44118
  const { questId: e, objectiveId: n } = t.options;
44105
44119
  li().startObjective(e, n);
44106
44120
  }
44107
- ), Gne = new nt(
44121
+ ), Kne = new et(
44108
44122
  "complete_objective",
44109
44123
  [
44110
44124
  { name: "questId", type: "string" },
@@ -44114,7 +44128,7 @@ const Mne = new nt(
44114
44128
  const { questId: e, objectiveId: n } = t.options;
44115
44129
  li().completeObjective(e, n);
44116
44130
  }
44117
- ), Kne = new nt(
44131
+ ), Qne = new et(
44118
44132
  "complete_quest",
44119
44133
  [
44120
44134
  { name: "questId", type: "string" },
@@ -44124,10 +44138,10 @@ const Mne = new nt(
44124
44138
  const { questId: e, ending: n } = t.options;
44125
44139
  li().completeQuest(e, n);
44126
44140
  }
44127
- ), Qne = new nt("quest_completed?", [{ name: "questId", type: "string" }], async (t) => {
44141
+ ), Yne = new et("quest_completed?", [{ name: "questId", type: "string" }], async (t) => {
44128
44142
  const { questId: e } = t.options;
44129
44143
  return li().isQuestCompleted(e);
44130
- }), Yne = new nt(
44144
+ }), Xne = new et(
44131
44145
  "objective_completed?",
44132
44146
  [
44133
44147
  { name: "questId", type: "string" },
@@ -44137,10 +44151,10 @@ const Mne = new nt(
44137
44151
  const { questId: e, objectiveId: n } = t.options;
44138
44152
  return li().isObjectiveCompleted(e, n);
44139
44153
  }
44140
- ), Xne = new nt("quest_started?", [{ name: "questId", type: "string" }], async (t) => {
44154
+ ), Zne = new et("quest_started?", [{ name: "questId", type: "string" }], async (t) => {
44141
44155
  const { questId: e } = t.options;
44142
44156
  return li().isQuestStarted(e);
44143
- }), Zne = new nt(
44157
+ }), ere = new et(
44144
44158
  "objective_started?",
44145
44159
  [
44146
44160
  { name: "questId", type: "string" },
@@ -44150,38 +44164,38 @@ const Mne = new nt(
44150
44164
  const { questId: e, objectiveId: n } = t.options;
44151
44165
  return li().isObjectiveStarted(e, n);
44152
44166
  }
44153
- ), ere = nt.FromOptions({
44167
+ ), tre = et.FromOptions({
44154
44168
  keyword: "wait",
44155
44169
  argTypes: [{ name: "duration", type: "number" }],
44156
44170
  runner: async (t) => {
44157
44171
  await jo(t.options.duration);
44158
44172
  }
44159
- }), tre = new nt(
44173
+ }), nre = new et(
44160
44174
  "notify",
44161
44175
  [{ name: "text", type: "string" }],
44162
44176
  async (t) => {
44163
44177
  const { text: e } = t.options;
44164
44178
  eo().addNotification(e);
44165
44179
  }
44166
- ), nre = new nt(
44180
+ ), rre = new et(
44167
44181
  "disable_notifications",
44168
44182
  [],
44169
44183
  async (t) => {
44170
44184
  eo().disableNotifications();
44171
44185
  }
44172
- ), rre = new nt(
44186
+ ), ire = new et(
44173
44187
  "enable_notifications",
44174
44188
  [],
44175
44189
  async (t) => {
44176
44190
  eo().enableNotifications();
44177
44191
  }
44178
- ), ire = new nt(
44192
+ ), ore = new et(
44179
44193
  "clear_dialog",
44180
44194
  [],
44181
44195
  async (t) => {
44182
44196
  ki().clearDialog();
44183
44197
  }
44184
- ), ore = new nt(
44198
+ ), are = new et(
44185
44199
  "if",
44186
44200
  [{ name: "condition", type: "boolean" }],
44187
44201
  async (t) => {
@@ -44219,7 +44233,7 @@ const Mne = new nt(
44219
44233
  newLine: n
44220
44234
  };
44221
44235
  }
44222
- ), are = new nt(
44236
+ ), sre = new et(
44223
44237
  "==",
44224
44238
  "any",
44225
44239
  async (t) => {
@@ -44233,7 +44247,7 @@ const Mne = new nt(
44233
44247
  e = r;
44234
44248
  return n;
44235
44249
  }
44236
- ), sre = new nt(
44250
+ ), ure = new et(
44237
44251
  ">",
44238
44252
  [
44239
44253
  { name: "a", type: "any" },
@@ -44243,7 +44257,7 @@ const Mne = new nt(
44243
44257
  const { a: e, b: n } = t.options;
44244
44258
  return e > n;
44245
44259
  }
44246
- ), ure = new nt(
44260
+ ), lre = new et(
44247
44261
  "<",
44248
44262
  [
44249
44263
  { name: "a", type: "any" },
@@ -44253,7 +44267,7 @@ const Mne = new nt(
44253
44267
  const { a: e, b: n } = t.options;
44254
44268
  return e < n;
44255
44269
  }
44256
- ), lre = new nt(
44270
+ ), cre = new et(
44257
44271
  ">=",
44258
44272
  [
44259
44273
  { name: "a", type: "any" },
@@ -44263,7 +44277,7 @@ const Mne = new nt(
44263
44277
  const { a: e, b: n } = t.options;
44264
44278
  return e >= n;
44265
44279
  }
44266
- ), cre = new nt(
44280
+ ), fre = new et(
44267
44281
  "<=",
44268
44282
  [
44269
44283
  { name: "a", type: "any" },
@@ -44273,7 +44287,7 @@ const Mne = new nt(
44273
44287
  const { a: e, b: n } = t.options;
44274
44288
  return e <= n;
44275
44289
  }
44276
- ), fre = new nt(
44290
+ ), dre = new et(
44277
44291
  "!=",
44278
44292
  [
44279
44293
  { name: "a", type: "any" },
@@ -44283,25 +44297,25 @@ const Mne = new nt(
44283
44297
  const { a: e, b: n } = t.options;
44284
44298
  return e != n;
44285
44299
  }
44286
- ), dre = new nt(
44300
+ ), hre = new et(
44287
44301
  "!",
44288
44302
  [{ name: "a", type: "any" }],
44289
44303
  async (t) => {
44290
44304
  const { a: e } = t.options;
44291
44305
  return !e;
44292
44306
  }
44293
- ), hre = new nt(
44307
+ ), pre = new et(
44294
44308
  "&&",
44295
44309
  "any",
44296
44310
  async (t) => {
44297
44311
  const e = t.args;
44298
44312
  return t.args.length < 2 && _n(t, "requires at least two arguments"), e.reduce((n, r) => n && r, !0);
44299
44313
  }
44300
- ), pre = new nt(
44314
+ ), vre = new et(
44301
44315
  "||",
44302
44316
  "any",
44303
44317
  async (t) => (t.args.length < 2 && _n(t, "requires at least two arguments"), t.args.reduce((e, n) => e || n, !1))
44304
- ), vre = new nt(
44318
+ ), mre = new et(
44305
44319
  "?",
44306
44320
  [
44307
44321
  { name: "a", type: "any" },
@@ -44312,27 +44326,27 @@ const Mne = new nt(
44312
44326
  const { a: e, b: n, c: r } = t.options;
44313
44327
  return e ? n : r;
44314
44328
  }
44315
- ), mre = new nt(
44329
+ ), gre = new et(
44316
44330
  "+",
44317
44331
  "any",
44318
44332
  async (t) => (t.args.length < 2 && _n(t, "requires at least two arguments"), t.args.reduce((e, n) => typeof n == "number" ? e + n : (_n(t, "requires all arguments to be numbers"), e), 0))
44319
- ), gre = new nt(
44333
+ ), yre = new et(
44320
44334
  "-",
44321
44335
  "any",
44322
44336
  async (t) => (t.args.length < 2 && _n(t, "requires at least two arguments"), t.args.slice(1).reduce((e, n) => typeof n == "number" ? e - n : (_n(t, "requires all arguments to be numbers"), e), t.args[0]))
44323
- ), yre = new nt(
44337
+ ), bre = new et(
44324
44338
  "neg",
44325
44339
  [{ name: "a", type: "number" }],
44326
44340
  async (t) => (t.args.length !== 1 && _n(t, "requires one argument"), -t.options.a)
44327
- ), bre = new nt(
44341
+ ), kre = new et(
44328
44342
  "abs",
44329
44343
  [{ name: "a", type: "number" }],
44330
44344
  async (t) => (t.args.length !== 1 && _n(t, "requires one argument"), Math.abs(t.options.a))
44331
- ), kre = new nt(
44345
+ ), wre = new et(
44332
44346
  "*",
44333
44347
  "any",
44334
44348
  async (t) => (t.args.length < 2 && _n(t, "requires at least two arguments"), t.args.reduce((e, n) => typeof n == "number" ? e * n : (_n(t, "requires all arguments to be numbers"), e), 1))
44335
- ), wre = new nt(
44349
+ ), xre = new et(
44336
44350
  "/",
44337
44351
  "any",
44338
44352
  async (t) => {
@@ -44340,7 +44354,7 @@ const Mne = new nt(
44340
44354
  const e = t.args[0] / t.args[1];
44341
44355
  return t.args.slice(2).reduce((n, r) => typeof r == "number" ? n / r : (_n(t, "requires all arguments to be numbers"), n), e);
44342
44356
  }
44343
- ), xre = async (t) => {
44357
+ ), jre = async (t) => {
44344
44358
  const { prompt: e, choices: n } = t.staticOptions, r = [];
44345
44359
  for (const [, a] of n.entries()) {
44346
44360
  const s = await w1(a.prompt);
@@ -44356,9 +44370,9 @@ const Mne = new nt(
44356
44370
  allowed: u
44357
44371
  };
44358
44372
  }).filter((a) => a.choice), o = await LI(e, i);
44359
- return await Cre(t, o);
44373
+ return await $re(t, o);
44360
44374
  };
44361
- function jre(t, e) {
44375
+ function _re(t, e) {
44362
44376
  e.branch || t.parserContext.error(
44363
44377
  e.line,
44364
44378
  `Choice option doesn't have any branch to go to (${e.code} - ${e.line})`
@@ -44385,7 +44399,7 @@ function jre(t, e) {
44385
44399
  skillBranches: n
44386
44400
  };
44387
44401
  }
44388
- const _re = (t, e) => {
44402
+ const Sre = (t, e) => {
44389
44403
  let n = t.currentLine;
44390
44404
  Fp("choice", []);
44391
44405
  const { line: r } = t, i = e.command;
@@ -44398,26 +44412,27 @@ const _re = (t, e) => {
44398
44412
  const s = r.branch.slice(1).map((u, l) => (u.branch || t.parserContext.error(
44399
44413
  u.line,
44400
44414
  `Choice option doesn't have any branch to go to (${u.code})`
44401
- ), u = $re(t.parserContext, u), jre(t, u)));
44415
+ ), u = Are(t.parserContext, u), _re(t, u)));
44402
44416
  return i.staticOptions = {
44403
44417
  prompt: t.processCommandsFunction(t.parserContext, [o], r)[0],
44404
44418
  choices: s
44405
44419
  }, n++, {
44406
44420
  newLine: n
44407
44421
  };
44408
- }, Sre = nt.FromOptions({
44422
+ }, Cre = et.FromOptions({
44409
44423
  keyword: "choice",
44410
44424
  argTypes: [],
44411
- runner: xre,
44412
- parser: _re
44413
- }), Cre = async (t, e) => {
44425
+ runner: jre,
44426
+ parser: Sre
44427
+ }), $re = async (t, e) => {
44414
44428
  const n = e, r = mn(), { choices: i } = t.staticOptions, o = i[n], a = t.options.choiceResults[n];
44415
44429
  let s = a.text, u;
44416
44430
  if (a.skillCheck ? (s = null, AI({
44417
44431
  skill: a.skillCheck.skillId,
44418
44432
  value: a.skillCheck.difficulty,
44419
44433
  id: a.skillCheck.skillCheckId,
44420
- hideAfterRoll: a.skillCheck.hideAfterRoll
44434
+ hideAfterRoll: a.skillCheck.hideAfterRoll,
44435
+ repeatable: a.skillCheck.repeatable
44421
44436
  }).succeeded ? u = o.skillBranches.success : u = o.skillBranches.failure) : u = o.branch, s) {
44422
44437
  const l = {
44423
44438
  speaker: "player",
@@ -44436,7 +44451,7 @@ const _re = (t, e) => {
44436
44451
  return await r.addAndRunBlock(l);
44437
44452
  }
44438
44453
  };
44439
- function $re(t, e) {
44454
+ function Are(t, e) {
44440
44455
  return {
44441
44456
  code: `choicePrompt ${e.code}`,
44442
44457
  indentation: e.indentation,
@@ -44445,30 +44460,36 @@ function $re(t, e) {
44445
44460
  expression: ["choicePrompt", ...e.expression]
44446
44461
  };
44447
44462
  }
44448
- const Are = new nt(
44463
+ const Ore = new et(
44449
44464
  "choicePrompt",
44450
44465
  "any",
44451
44466
  async (t) => {
44452
44467
  const e = t.args;
44453
44468
  if (e[0] === "roll") {
44454
- const n = e[1], r = e[2], i = e[3], o = e[4], a = e.length > 5 ? e[5] : !1, s = Er().getSkillCheck(n);
44455
- if (s.hidden)
44469
+ const n = e[1], r = e[2], i = e[3], o = e[4];
44470
+ let a = !1;
44471
+ e.length > 5 && (a = e[5]);
44472
+ let s = !1, u = !1;
44473
+ a === "hideAfterRoll" && (s = !0), a === "repeatable" && (u = !0);
44474
+ const l = Sr().getSkillCheck(n);
44475
+ if (l.hidden)
44456
44476
  return {
44457
44477
  text: null
44458
44478
  };
44459
- const u = s.happened && !s.succeeded, { difficultyText: l } = QQ({
44479
+ const f = !l.happened || l.happened && l.succeeded || u, { difficultyText: c } = QQ({
44460
44480
  skill: r,
44461
44481
  skillCheckId: n,
44462
44482
  value: i
44463
44483
  });
44464
44484
  return {
44465
- text: `${l} ${o}`,
44485
+ text: `${c} ${o}`,
44466
44486
  skillCheck: {
44467
- allowed: !u,
44487
+ allowed: f,
44468
44488
  skillId: r,
44469
44489
  skillCheckId: n,
44470
44490
  difficulty: i,
44471
- hideAfterRoll: a
44491
+ hideAfterRoll: s,
44492
+ repeatable: u
44472
44493
  }
44473
44494
  };
44474
44495
  } else if (e.length > 1 && e[1] === "if") {
@@ -44484,7 +44505,7 @@ const Are = new nt(
44484
44505
  text: e[0]
44485
44506
  };
44486
44507
  }
44487
- ), TP = nt.FromOptions({
44508
+ ), TP = et.FromOptions({
44488
44509
  keyword: "text_field",
44489
44510
  argTypes: [{ name: "prompt", type: "string" }],
44490
44511
  returnAfterPlayerAnswer: !0,
@@ -44499,7 +44520,7 @@ const Are = new nt(
44499
44520
  }
44500
44521
  });
44501
44522
  TP.onPlayerAnswered = async (t, e) => (typeof e != "string" && _n(t, "The player's answer should be a string"), e);
44502
- const Ore = nt.FromOptions({
44523
+ const Ere = et.FromOptions({
44503
44524
  keyword: "text_field_prompt",
44504
44525
  argTypes: [{ name: "prompt", type: "string" }],
44505
44526
  runner: async (t) => {
@@ -44511,7 +44532,7 @@ const Ore = nt.FromOptions({
44511
44532
  };
44512
44533
  ki().addDialog(e);
44513
44534
  }
44514
- }), Ere = new nt(
44535
+ }), Mre = new et(
44515
44536
  "random",
44516
44537
  [
44517
44538
  { name: "a", type: "number" },
@@ -44524,7 +44545,7 @@ const Ore = nt.FromOptions({
44524
44545
  "random command needs two numbers as parameters"
44525
44546
  ), 0) : Math.floor(Math.random() * (n - e + 1)) + e;
44526
44547
  }
44527
- ), Mre = new nt(
44548
+ ), Tre = new et(
44528
44549
  "random_float",
44529
44550
  [
44530
44551
  { name: "a", type: "number" },
@@ -44537,7 +44558,7 @@ const Ore = nt.FromOptions({
44537
44558
  "random_float command needs two numbers as parameters"
44538
44559
  ), 0) : Math.random() * (n - e) + e;
44539
44560
  }
44540
- ), Tre = new nt(
44561
+ ), Ire = new et(
44541
44562
  "random_from_args",
44542
44563
  [],
44543
44564
  async (t) => {
@@ -44547,18 +44568,18 @@ const Ore = nt.FromOptions({
44547
44568
  "random_from_args command needs at least one argument"
44548
44569
  ), 0) : e[Math.floor(Math.random() * e.length)];
44549
44570
  }
44550
- ), Ire = new nt(
44571
+ ), Pre = new et(
44551
44572
  "concat",
44552
44573
  "any",
44553
44574
  async (t) => (t.args.length < 2 && _n(t, "requires at least two arguments"), t.args.reduce((e, n) => typeof n == "string" ? `${e}${n}` : (_n(t, "requires all arguments to be strings"), e), ""))
44554
- ), Pre = new nt(
44575
+ ), Nre = new et(
44555
44576
  "join",
44556
44577
  "any",
44557
44578
  async (t) => {
44558
44579
  const e = t.args[0];
44559
44580
  return t.args.length < 3 && _n(t, "requires at least 3 arguments"), t.args.slice(1).reduce((n, r) => typeof r == "string" ? `${n}${e}${r}` : (_n(t, "requires all arguments to be strings"), n), "");
44560
44581
  }
44561
- ), Nre = nt.FromOptions({
44582
+ ), Lre = et.FromOptions({
44562
44583
  keyword: "min",
44563
44584
  argTypes: [
44564
44585
  { name: "min", type: "number" },
@@ -44568,7 +44589,7 @@ const Ore = nt.FromOptions({
44568
44589
  const { min: e, value: n } = t.options;
44569
44590
  return n < e ? n : e;
44570
44591
  }
44571
- }), Lre = nt.FromOptions({
44592
+ }), Dre = et.FromOptions({
44572
44593
  keyword: "max",
44573
44594
  argTypes: [
44574
44595
  { name: "max", type: "number" },
@@ -44578,7 +44599,7 @@ const Ore = nt.FromOptions({
44578
44599
  const { max: e, value: n } = t.options;
44579
44600
  return n > e ? n : e;
44580
44601
  }
44581
- }), Dre = nt.FromOptions({
44602
+ }), Rre = et.FromOptions({
44582
44603
  keyword: "clamp",
44583
44604
  argTypes: [
44584
44605
  { name: "min", type: "number" },
@@ -44589,35 +44610,35 @@ const Ore = nt.FromOptions({
44589
44610
  const { min: e, max: n, value: r } = t.options;
44590
44611
  return r < e ? e : r > n ? n : r;
44591
44612
  }
44592
- }), Rre = nt.FromOptions({
44613
+ }), zre = et.FromOptions({
44593
44614
  keyword: "floor",
44594
44615
  argTypes: [{ name: "value", type: "number" }],
44595
44616
  runner: async (t) => {
44596
44617
  const { value: e } = t.options;
44597
44618
  return Math.floor(e);
44598
44619
  }
44599
- }), zre = nt.FromOptions({
44620
+ }), Bre = et.FromOptions({
44600
44621
  keyword: "ceil",
44601
44622
  argTypes: [{ name: "value", type: "number" }],
44602
44623
  runner: async (t) => {
44603
44624
  const { value: e } = t.options;
44604
44625
  return Math.ceil(e);
44605
44626
  }
44606
- }), Bre = nt.FromOptions({
44627
+ }), Fre = et.FromOptions({
44607
44628
  keyword: "round",
44608
44629
  argTypes: [{ name: "value", type: "number" }],
44609
44630
  runner: async (t) => {
44610
44631
  const { value: e } = t.options;
44611
44632
  return Math.round(e);
44612
44633
  }
44613
- }), Fre = nt.FromOptions({
44634
+ }), qre = et.FromOptions({
44614
44635
  keyword: "sqrt",
44615
44636
  argTypes: [{ name: "value", type: "number" }],
44616
44637
  runner: async (t) => {
44617
44638
  const { value: e } = t.options;
44618
44639
  return Math.sqrt(e);
44619
44640
  }
44620
- }), qre = nt.FromOptions({
44641
+ }), Vre = et.FromOptions({
44621
44642
  keyword: "^",
44622
44643
  argTypes: [
44623
44644
  { name: "base", type: "number" },
@@ -44627,7 +44648,7 @@ const Ore = nt.FromOptions({
44627
44648
  const { base: e, exponent: n } = t.options;
44628
44649
  return Math.pow(e, n);
44629
44650
  }
44630
- }), Vre = new nt(
44651
+ }), Hre = new et(
44631
44652
  "create_sprite",
44632
44653
  [
44633
44654
  { name: "image", type: "string" },
@@ -44639,11 +44660,11 @@ const Ore = nt.FromOptions({
44639
44660
  t.options.x,
44640
44661
  t.options.y
44641
44662
  )
44642
- ), Hre = new nt("delete_sprite", [{ name: "sprite", type: "any" }], async (t) => Fs().deleteSprite(t.options.sprite));
44643
- function Wre(t) {
44644
- t.addCommand(Sre), t.addCommand(Are), t.addCommand(ore), t.addCommand(vne), t.addCommand(mne), t.addCommand(gne), t.addCommand(ire), t.addCommand(tre), t.addCommand(nre), t.addCommand(rre), t.addCommand(Ane), t.addCommand($ne), t.addCommand(One), t.addCommand(Nne), t.addCommand(Ine), t.addCommand(Pne), t.addCommand(Vre), t.addCommand(Hre), t.addCommand(ere), t.addCommand(are), t.addCommand(sre), t.addCommand(ure), t.addCommand(lre), t.addCommand(cre), t.addCommand(fre), t.addCommand(dre), t.addCommand(hre), t.addCommand(pre), t.addCommand(vre), t.addCommand(mre), t.addCommand(gre), t.addCommand(kre), t.addCommand(wre), t.addCommand(yre), t.addCommand(bre), t.addCommand(Tne), t.addCommand(Mne), t.addCommand(zne), t.addCommand(Lne), t.addCommand(Dne), t.addCommand(yne), t.addCommand(bne), t.addCommand(kne), t.addCommand(wne), t.addCommand(xne), t.addCommand(jne), t.addCommand(_ne), t.addCommand(Sne), t.addCommand(Une), t.addCommand(Jne), t.addCommand(Gne), t.addCommand(Kne), t.addCommand(Xne), t.addCommand(Zne), t.addCommand(Qne), t.addCommand(Yne), t.addCommand(Bne), t.addCommand(Fne), t.addCommand(Hne), t.addCommand(Wne), t.addCommand(qne), t.addCommand(Vne), t.addCommand(lne), t.addCommand(cne), t.addCommand(fne), t.addCommand(pne), t.addCommand(dne), t.addCommand(hne), t.addCommand(TP), t.addCommand(Ore), t.addCommand(Ere), t.addCommand(Mre), t.addCommand(Tre), t.addCommand(Ire), t.addCommand(Pre), t.addCommand(Nre), t.addCommand(Lre), t.addCommand(Dre), t.addCommand(Rre), t.addCommand(Bre), t.addCommand(zre), t.addCommand(Fre), t.addCommand(qre);
44663
+ ), Wre = new et("delete_sprite", [{ name: "sprite", type: "any" }], async (t) => Fs().deleteSprite(t.options.sprite));
44664
+ function Ure(t) {
44665
+ t.addCommand(Cre), t.addCommand(Ore), t.addCommand(are), t.addCommand(mne), t.addCommand(gne), t.addCommand(yne), t.addCommand(ore), t.addCommand(nre), t.addCommand(rre), t.addCommand(ire), t.addCommand(One), t.addCommand(Ane), t.addCommand(Ene), t.addCommand(Lne), t.addCommand(Pne), t.addCommand(Nne), t.addCommand(Hre), t.addCommand(Wre), t.addCommand(tre), t.addCommand(sre), t.addCommand(ure), t.addCommand(lre), t.addCommand(cre), t.addCommand(fre), t.addCommand(dre), t.addCommand(hre), t.addCommand(pre), t.addCommand(vre), t.addCommand(mre), t.addCommand(gre), t.addCommand(yre), t.addCommand(wre), t.addCommand(xre), t.addCommand(bre), t.addCommand(kre), t.addCommand(Ine), t.addCommand(Tne), t.addCommand(Bne), t.addCommand(Dne), t.addCommand(Rne), t.addCommand(bne), t.addCommand(kne), t.addCommand(wne), t.addCommand(xne), t.addCommand(jne), t.addCommand(_ne), t.addCommand(Sne), t.addCommand(Cne), t.addCommand(Jne), t.addCommand(Gne), t.addCommand(Kne), t.addCommand(Qne), t.addCommand(Zne), t.addCommand(ere), t.addCommand(Yne), t.addCommand(Xne), t.addCommand(Fne), t.addCommand(qne), t.addCommand(Wne), t.addCommand(Une), t.addCommand(Vne), t.addCommand(Hne), t.addCommand(lne), t.addCommand(cne), t.addCommand(fne), t.addCommand(pne), t.addCommand(vne), t.addCommand(dne), t.addCommand(hne), t.addCommand(TP), t.addCommand(Ere), t.addCommand(Mre), t.addCommand(Tre), t.addCommand(Ire), t.addCommand(Pre), t.addCommand(Nre), t.addCommand(Lre), t.addCommand(Dre), t.addCommand(Rre), t.addCommand(zre), t.addCommand(Fre), t.addCommand(Bre), t.addCommand(qre), t.addCommand(Vre);
44645
44666
  }
44646
- const Ure = Wn({
44667
+ const Jre = Wn({
44647
44668
  data() {
44648
44669
  return {
44649
44670
  muted: !1,
@@ -44675,18 +44696,18 @@ const Ure = Wn({
44675
44696
  }
44676
44697
  }
44677
44698
  });
44678
- const Jre = { class: "volume-controls" }, Gre = /* @__PURE__ */ Me("h3", { class: "subtitle" }, "Volume", -1), Kre = {
44699
+ const Gre = { class: "volume-controls" }, Kre = /* @__PURE__ */ Me("h3", { class: "subtitle" }, "Volume", -1), Qre = {
44679
44700
  for: "volume",
44680
44701
  class: "volume-label"
44681
- }, Qre = ["onUpdate:modelValue", "onChange"];
44682
- function Yre(t, e, n, r, i, o) {
44683
- return Re(), Ze("div", Jre, [
44684
- Gre,
44702
+ }, Yre = ["onUpdate:modelValue", "onChange"];
44703
+ function Xre(t, e, n, r, i, o) {
44704
+ return Re(), Ze("div", Gre, [
44705
+ Kre,
44685
44706
  (Re(!0), Ze(nr, null, dr(t.volumes, (a, s) => (Re(), Ze("div", {
44686
44707
  class: "volume-control",
44687
44708
  key: a.mode
44688
44709
  }, [
44689
- Me("label", Kre, Wt(t.modeNames[a.mode]), 1),
44710
+ Me("label", Qre, Wt(t.modeNames[a.mode]), 1),
44690
44711
  Hh(Me("input", {
44691
44712
  ref_for: !0,
44692
44713
  ref: "slider",
@@ -44699,16 +44720,16 @@ function Yre(t, e, n, r, i, o) {
44699
44720
  step: "0.1",
44700
44721
  "onUpdate:modelValue": (u) => t.volumes[s].volume = u,
44701
44722
  onChange: (u) => t.changeVolume(a.mode, u)
44702
- }, null, 40, Qre), [
44723
+ }, null, 40, Yre), [
44703
44724
  [Wh, t.volumes[s].volume]
44704
44725
  ])
44705
44726
  ]))), 128))
44706
44727
  ]);
44707
44728
  }
44708
- const Xre = /* @__PURE__ */ Fi(Ure, [["render", Yre]]), Zre = Wn({
44729
+ const Zre = /* @__PURE__ */ Fi(Jre, [["render", Xre]]), eie = Wn({
44709
44730
  components: {
44710
44731
  Modal: cs,
44711
- VolumeControls: Xre
44732
+ VolumeControls: Zre
44712
44733
  },
44713
44734
  data() {
44714
44735
  return {};
@@ -44734,8 +44755,8 @@ const Xre = /* @__PURE__ */ Fi(Ure, [["render", Yre]]), Zre = Wn({
44734
44755
  }
44735
44756
  }
44736
44757
  });
44737
- const eie = /* @__PURE__ */ Me("h3", { class: "title" }, "Menu", -1), tie = { class: "menu-content" };
44738
- function nie(t, e, n, r, i, o) {
44758
+ const tie = /* @__PURE__ */ Me("h3", { class: "title" }, "Menu", -1), nie = { class: "menu-content" };
44759
+ function rie(t, e, n, r, i, o) {
44739
44760
  const a = $i("VolumeControls"), s = $i("modal");
44740
44761
  return Re(), gn(s, {
44741
44762
  class: "menu",
@@ -44743,10 +44764,10 @@ function nie(t, e, n, r, i, o) {
44743
44764
  containerCssClass: "main-menu-modal"
44744
44765
  }, {
44745
44766
  header: On(() => [
44746
- eie
44767
+ tie
44747
44768
  ]),
44748
44769
  body: On(() => [
44749
- Me("div", tie, [
44770
+ Me("div", nie, [
44750
44771
  Me("h3", null, "Play time: " + Wt(t.getPlayTimeString()), 1),
44751
44772
  Mi(a),
44752
44773
  Me("button", {
@@ -44762,7 +44783,7 @@ function nie(t, e, n, r, i, o) {
44762
44783
  _: 1
44763
44784
  });
44764
44785
  }
44765
- const rie = /* @__PURE__ */ Fi(Zre, [["render", nie]]), iie = Wn({
44786
+ const iie = /* @__PURE__ */ Fi(eie, [["render", rie]]), oie = Wn({
44766
44787
  setup() {
44767
44788
  const t = Lr(), e = ki(), n = yt(() => t.items), r = yt(() => e.currentDialog.choices);
44768
44789
  return { items: n, currentlyChoosing: r };
@@ -44830,13 +44851,13 @@ const rie = /* @__PURE__ */ Fi(Zre, [["render", nie]]), iie = Wn({
44830
44851
  }
44831
44852
  }
44832
44853
  });
44833
- const oie = /* @__PURE__ */ Me("h3", { class: "title" }, "Inventory", -1), aie = {
44854
+ const aie = /* @__PURE__ */ Me("h3", { class: "title" }, "Inventory", -1), sie = {
44834
44855
  key: 0,
44835
44856
  class: "inventory-container"
44836
- }, sie = ["onClick"], uie = { class: "item-title" }, lie = { class: "item-amount" }, cie = { key: 1 }, fie = { class: "flex flex-row item-description-container" }, die = { class: "flex item-left" }, hie = { class: "flex item-right" }, pie = /* @__PURE__ */ Me("hr", { class: "hr-solid" }, null, -1), vie = { key: 2 }, mie = /* @__PURE__ */ Me("h2", null, "The inventory is empty!", -1), gie = [
44837
- mie
44857
+ }, uie = ["onClick"], lie = { class: "item-title" }, cie = { class: "item-amount" }, fie = { key: 1 }, die = { class: "flex flex-row item-description-container" }, hie = { class: "flex item-left" }, pie = { class: "flex item-right" }, vie = /* @__PURE__ */ Me("hr", { class: "hr-solid" }, null, -1), mie = { key: 2 }, gie = /* @__PURE__ */ Me("h2", null, "The inventory is empty!", -1), yie = [
44858
+ gie
44838
44859
  ];
44839
- function yie(t, e, n, r, i, o) {
44860
+ function bie(t, e, n, r, i, o) {
44840
44861
  const a = $i("modal");
44841
44862
  return Re(), gn(a, {
44842
44863
  class: "menu",
@@ -44844,30 +44865,30 @@ function yie(t, e, n, r, i, o) {
44844
44865
  containerCssClass: "inventory-modal"
44845
44866
  }, {
44846
44867
  header: On(() => [
44847
- oie
44868
+ aie
44848
44869
  ]),
44849
44870
  body: On(() => [
44850
- !t.chosenItem && Object.keys(t.itemsToDisplay).length > 0 ? (Re(), Ze("div", aie, [
44871
+ !t.chosenItem && Object.keys(t.itemsToDisplay).length > 0 ? (Re(), Ze("div", sie, [
44851
44872
  (Re(!0), Ze(nr, null, dr(t.itemsToDisplay, (s) => (Re(), Ze("button", {
44852
44873
  onClick: () => t.clickItem(s.id),
44853
44874
  class: "item-display",
44854
44875
  style: Vn(t.getItemStyle(s.id)),
44855
44876
  key: s.id
44856
44877
  }, [
44857
- Me("h3", uie, Wt(t.getItemName(s.id)), 1),
44858
- Me("h3", lie, Wt(s.amount), 1)
44859
- ], 12, sie))), 128))
44860
- ])) : typeof t.chosenId == "string" ? (Re(), Ze("div", cie, [
44861
- Me("div", fie, [
44862
- Me("div", die, [
44878
+ Me("h3", lie, Wt(t.getItemName(s.id)), 1),
44879
+ Me("h3", cie, Wt(s.amount), 1)
44880
+ ], 12, uie))), 128))
44881
+ ])) : typeof t.chosenId == "string" ? (Re(), Ze("div", fie, [
44882
+ Me("div", die, [
44883
+ Me("div", hie, [
44863
44884
  Me("div", {
44864
44885
  class: "item-display",
44865
44886
  style: Vn(t.getItemStyle(t.chosenId))
44866
44887
  }, null, 4)
44867
44888
  ]),
44868
- Me("div", hie, [
44889
+ Me("div", pie, [
44869
44890
  Me("h2", null, Wt(t.getItemName(t.chosenId)), 1),
44870
- pie,
44891
+ vie,
44871
44892
  Me("h3", null, "Amount: " + Wt(t.chosenItem.amount), 1),
44872
44893
  Me("p", null, Wt(t.chosenItemConf.description), 1),
44873
44894
  Me("button", {
@@ -44880,12 +44901,12 @@ function yie(t, e, n, r, i, o) {
44880
44901
  class: "button",
44881
44902
  onClick: e[1] || (e[1] = (...s) => t.closeItem && t.closeItem(...s))
44882
44903
  }, Wt("<--"))
44883
- ])) : (Re(), Ze("div", vie, gie))
44904
+ ])) : (Re(), Ze("div", mie, yie))
44884
44905
  ]),
44885
44906
  _: 1
44886
44907
  }, 8, ["onClose"]);
44887
44908
  }
44888
- const bie = /* @__PURE__ */ Fi(iie, [["render", yie]]), kie = Wn({
44909
+ const kie = /* @__PURE__ */ Fi(oie, [["render", bie]]), wie = Wn({
44889
44910
  setup() {
44890
44911
  const t = li();
44891
44912
  return { quests: yt(() => t.quests) };
@@ -44928,19 +44949,19 @@ const bie = /* @__PURE__ */ Fi(iie, [["render", yie]]), kie = Wn({
44928
44949
  Modal: cs
44929
44950
  }
44930
44951
  });
44931
- const wie = /* @__PURE__ */ Me("h3", { class: "title" }, "Quests", -1), xie = {
44952
+ const xie = /* @__PURE__ */ Me("h3", { class: "title" }, "Quests", -1), jie = {
44932
44953
  key: 0,
44933
44954
  class: "quests-container"
44934
- }, jie = { class: "quest-title" }, _ie = { class: "quest-description" }, Sie = {
44955
+ }, _ie = { class: "quest-title" }, Sie = { class: "quest-description" }, Cie = {
44935
44956
  key: 0,
44936
44957
  class: "quest-objectives-container list-disc"
44937
- }, Cie = {
44958
+ }, $ie = {
44938
44959
  key: 1,
44939
44960
  class: "menu-container"
44940
- }, $ie = /* @__PURE__ */ Me("h2", { class: "title" }, "There are no quests!", -1), Aie = [
44941
- $ie
44961
+ }, Aie = /* @__PURE__ */ Me("h2", { class: "title" }, "There are no quests!", -1), Oie = [
44962
+ Aie
44942
44963
  ];
44943
- function Oie(t, e, n, r, i, o) {
44964
+ function Eie(t, e, n, r, i, o) {
44944
44965
  const a = $i("modal");
44945
44966
  return Re(), gn(a, {
44946
44967
  class: "quests",
@@ -44948,10 +44969,10 @@ function Oie(t, e, n, r, i, o) {
44948
44969
  containerCssClass: "quests-modal"
44949
44970
  }, {
44950
44971
  header: On(() => [
44951
- wie
44972
+ xie
44952
44973
  ]),
44953
44974
  body: On(() => [
44954
- Object.keys(t.questsToDisplay).length > 0 ? (Re(), Ze("div", xie, [
44975
+ Object.keys(t.questsToDisplay).length > 0 ? (Re(), Ze("div", jie, [
44955
44976
  (Re(!0), Ze(nr, null, dr(t.questsToDisplay, (s) => (Re(), Ze("div", {
44956
44977
  class: "quest-display",
44957
44978
  key: s.id
@@ -44962,10 +44983,10 @@ function Oie(t, e, n, r, i, o) {
44962
44983
  s.state === "completed" ? "quest-completed" : "quest-in-progress"
44963
44984
  ])
44964
44985
  }, [
44965
- Me("h3", jie, Wt(t.getQuestData(s.id).title) + " " + Wt(t.getDisplayTextForQuestState(s)), 1)
44986
+ Me("h3", _ie, Wt(t.getQuestData(s.id).title) + " " + Wt(t.getDisplayTextForQuestState(s)), 1)
44966
44987
  ], 2),
44967
- Me("p", _ie, Wt(t.getQuestDescription(s)), 1),
44968
- s.state !== "completed" ? (Re(), Ze("ul", Sie, [
44988
+ Me("p", Sie, Wt(t.getQuestDescription(s)), 1),
44989
+ s.state !== "completed" ? (Re(), Ze("ul", Cie, [
44969
44990
  (Re(!0), Ze(nr, null, dr(t.getAvailableObjectives(s), (u) => (Re(), Ze("li", {
44970
44991
  class: "quest-objective-display",
44971
44992
  key: u.id
@@ -44979,14 +45000,14 @@ function Oie(t, e, n, r, i, o) {
44979
45000
  ]))), 128))
44980
45001
  ])) : jn("", !0)
44981
45002
  ]))), 128))
44982
- ])) : (Re(), Ze("div", Cie, Aie))
45003
+ ])) : (Re(), Ze("div", $ie, Oie))
44983
45004
  ]),
44984
45005
  _: 1
44985
45006
  }, 8, ["onClose"]);
44986
45007
  }
44987
- const Eie = /* @__PURE__ */ Fi(kie, [["render", Oie]]), Mie = Wn({
45008
+ const Mie = /* @__PURE__ */ Fi(wie, [["render", Eie]]), Tie = Wn({
44988
45009
  setup() {
44989
- const t = Er();
45010
+ const t = Sr();
44990
45011
  return { skills: yt(() => t.skills) };
44991
45012
  },
44992
45013
  components: {
@@ -45035,11 +45056,11 @@ const Eie = /* @__PURE__ */ Fi(kie, [["render", Oie]]), Mie = Wn({
45035
45056
  }
45036
45057
  }
45037
45058
  });
45038
- const Tie = /* @__PURE__ */ Me("h3", { class: "title" }, "Skills", -1), Iie = {
45059
+ const Iie = /* @__PURE__ */ Me("h3", { class: "title" }, "Skills", -1), Pie = {
45039
45060
  key: 0,
45040
45061
  class: "skills-container"
45041
- }, Pie = ["onClick"], Nie = { class: "skill-title" }, Lie = { class: "skill-xp-container" }, Die = { class: "skill-xp-text" }, Rie = { class: "skill-level" }, zie = { key: 1 }, Bie = { class: "flex flex-row skill-description-container" }, Fie = { class: "flex skill-left" }, qie = { class: "flex skill-right" }, Vie = /* @__PURE__ */ Me("hr", { class: "hr-solid" }, null, -1);
45042
- function Hie(t, e, n, r, i, o) {
45062
+ }, Nie = ["onClick"], Lie = { class: "skill-title" }, Die = { class: "skill-xp-container" }, Rie = { class: "skill-xp-text" }, zie = { class: "skill-level" }, Bie = { key: 1 }, Fie = { class: "flex flex-row skill-description-container" }, qie = { class: "flex skill-left" }, Vie = { class: "flex skill-right" }, Hie = /* @__PURE__ */ Me("hr", { class: "hr-solid" }, null, -1);
45063
+ function Wie(t, e, n, r, i, o) {
45043
45064
  const a = $i("modal");
45044
45065
  return Re(), gn(a, {
45045
45066
  class: "menu",
@@ -45047,20 +45068,20 @@ function Hie(t, e, n, r, i, o) {
45047
45068
  containerCssClass: "skills-modal"
45048
45069
  }, {
45049
45070
  header: On(() => [
45050
- Tie
45071
+ Iie
45051
45072
  ]),
45052
45073
  body: On(() => [
45053
- t.chosenSkill ? typeof t.chosenSkill == "string" ? (Re(), Ze("div", zie, [
45054
- Me("div", Bie, [
45055
- Me("div", Fie, [
45074
+ t.chosenSkill ? typeof t.chosenSkill == "string" ? (Re(), Ze("div", Bie, [
45075
+ Me("div", Fie, [
45076
+ Me("div", qie, [
45056
45077
  Me("div", {
45057
45078
  class: "skill-display",
45058
45079
  style: Vn(t.getSkillStyle(t.chosenSkill))
45059
45080
  }, null, 4)
45060
45081
  ]),
45061
- Me("div", qie, [
45082
+ Me("div", Vie, [
45062
45083
  Me("h2", null, Wt(t.getSkillName(t.chosenSkill)), 1),
45063
- Vie,
45084
+ Hie,
45064
45085
  Me("h3", null, "Level: " + Wt(t.skills[t.chosenSkill].level), 1),
45065
45086
  Me("p", null, Wt(t.skillConf[t.chosenSkill].description), 1)
45066
45087
  ])
@@ -45069,31 +45090,31 @@ function Hie(t, e, n, r, i, o) {
45069
45090
  class: "button",
45070
45091
  onClick: e[0] || (e[0] = (...s) => t.closeSkill && t.closeSkill(...s))
45071
45092
  }, Wt("<--"))
45072
- ])) : jn("", !0) : (Re(), Ze("div", Iie, [
45093
+ ])) : jn("", !0) : (Re(), Ze("div", Pie, [
45073
45094
  (Re(!0), Ze(nr, null, dr(t.skillsToDisplay, (s) => (Re(), Ze("button", {
45074
45095
  onClick: () => t.clickSkill(s.id),
45075
45096
  class: "skill-display",
45076
45097
  style: Vn(t.getSkillStyle(s.id)),
45077
45098
  key: s.id
45078
45099
  }, [
45079
- Me("h3", Nie, Wt(t.getSkillName(s.id)), 1),
45080
- Me("div", Lie, [
45100
+ Me("h3", Lie, Wt(t.getSkillName(s.id)), 1),
45101
+ Me("div", Die, [
45081
45102
  Me("div", {
45082
45103
  class: "skill-xp-bar",
45083
45104
  style: Vn(t.xpBarWidth(s.xp))
45084
45105
  }, null, 4),
45085
- Me("h3", Die, Wt(s.xp) + " / " + Wt(t.xpPerLevel) + " XP", 1)
45106
+ Me("h3", Rie, Wt(s.xp) + " / " + Wt(t.xpPerLevel) + " XP", 1)
45086
45107
  ]),
45087
- Me("h3", Rie, Wt(s.level), 1)
45088
- ], 12, Pie))), 128))
45108
+ Me("h3", zie, Wt(s.level), 1)
45109
+ ], 12, Nie))), 128))
45089
45110
  ]))
45090
45111
  ]),
45091
45112
  _: 1
45092
45113
  });
45093
45114
  }
45094
- const Wie = /* @__PURE__ */ Fi(Mie, [["render", Hie]]);
45095
- function Uie(t) {
45096
- t.component("MainMenu", rie), t.component("InventoryUi", bie), t.component("QuestsUi", Eie), t.component("SkillsWindow", Wie), Ua().buttons = [
45115
+ const Uie = /* @__PURE__ */ Fi(Tie, [["render", Wie]]);
45116
+ function Jie(t) {
45117
+ t.component("MainMenu", iie), t.component("InventoryUi", kie), t.component("QuestsUi", Mie), t.component("SkillsWindow", Uie), Ua().buttons = [
45097
45118
  {
45098
45119
  id: "menu",
45099
45120
  cssId: "menu-button",
@@ -45123,18 +45144,18 @@ function Uie(t) {
45123
45144
  }
45124
45145
  ];
45125
45146
  }
45126
- function Jie(t, e) {
45147
+ function Gie(t, e) {
45127
45148
  window.narrat.app.component(t.component, e), Ua().addMenuOption(t);
45128
45149
  }
45129
- function Gie() {
45150
+ function Kie() {
45130
45151
  for (const t of Kn.plugins)
45131
45152
  if (t.customMenuButtons)
45132
45153
  for (const e of t.customMenuButtons)
45133
- Jie(e.config, e.component);
45154
+ Gie(e.config, e.component);
45134
45155
  }
45135
45156
  let Ra;
45136
45157
  Kn.callHook("onPageLoaded");
45137
- async function Yie(t, e) {
45158
+ async function Xie(t, e) {
45138
45159
  console.log("Starting narrat...");
45139
45160
  const n = Object.assign(EY(), t);
45140
45161
  e && (console.warn(
@@ -45151,21 +45172,21 @@ async function Yie(t, e) {
45151
45172
  mn().jumpToLabel(o);
45152
45173
  }
45153
45174
  };
45154
- return window.narrat = i, Uie(Ra), Gie(), Gt().setOptions(n), Ra.use(hN, {
45175
+ return window.narrat = i, Jie(Ra), Kie(), Gt().setOptions(n), Ra.use(hN, {
45155
45176
  breakpoints: {
45156
45177
  s: 0,
45157
45178
  m: 800,
45158
45179
  l: 1200
45159
45180
  }
45160
- }), Wre(Kn), Q5.setupDebugger(n.debug), console.log(
45181
+ }), Ure(Kn), Q5.setupDebugger(n.debug), console.log(
45161
45182
  `%c Narrat game engine v${RQ} - Built at ${zQ.toLocaleString()}`,
45162
45183
  "background: #222; color: #bada55"
45163
45184
  ), Kn.callHook("onNarratSetup"), Ra.mount("#game-holder"), Ra;
45164
45185
  }
45165
- function Xie(t, e) {
45186
+ function Zie(t, e) {
45166
45187
  Ra.component(t, e);
45167
45188
  }
45168
- class Zie {
45189
+ class eoe {
45169
45190
  onPageLoaded() {
45170
45191
  }
45171
45192
  onNarratSetup() {
@@ -45183,25 +45204,25 @@ class Zie {
45183
45204
  onGameDismounted() {
45184
45205
  }
45185
45206
  }
45186
- function eoe(t) {
45207
+ function toe(t) {
45187
45208
  Kn.addPlugin(t);
45188
45209
  }
45189
- function toe(t) {
45210
+ function noe(t) {
45190
45211
  Kn.addCommand(t);
45191
45212
  }
45192
45213
  export {
45193
- nt as CommandPlugin,
45214
+ et as CommandPlugin,
45194
45215
  cs as ModalWindow,
45195
- Zie as NarratPlugin,
45196
- toe as addCommand,
45216
+ eoe as NarratPlugin,
45217
+ noe as addCommand,
45197
45218
  AY as aspectRatioFit,
45198
45219
  Fp as generateParser,
45199
45220
  ft as getConfig,
45200
45221
  tu as inputEvents,
45201
- Xie as registerComponent,
45202
- Jie as registerMenuButton,
45203
- eoe as registerPlugin,
45204
- Yie as startApp,
45222
+ Zie as registerComponent,
45223
+ Gie as registerMenuButton,
45224
+ toe as registerPlugin,
45225
+ Xie as startApp,
45205
45226
  Vr as useAudio,
45206
45227
  ki as useDialogStore,
45207
45228
  ga as useHud,
@@ -45211,7 +45232,7 @@ export {
45211
45232
  li as useQuests,
45212
45233
  to as useRenderingStore,
45213
45234
  Wo as useScreens,
45214
- Er as useSkills,
45235
+ Sr as useSkills,
45215
45236
  mn as useVM
45216
45237
  };
45217
45238
  //# sourceMappingURL=narrat.es.js.map