@opengis/cms 0.0.52 → 0.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{ArticlesPage-Cddv2qte.js → ArticlesPage-Cuit_90w.js} +5 -5
  2. package/dist/{BuilderPage-BgcBJcw7.js → BuilderPage-B79YHrmr.js} +139 -139
  3. package/dist/{CollectionsBreadcrumb.vue_vue_type_script_setup_true_lang-C-k8QGA-.js → CollectionsBreadcrumb.vue_vue_type_script_setup_true_lang-B6irHMzL.js} +19 -19
  4. package/dist/{CollectionsPage-d5MLIIAG.js → CollectionsPage-JfmrHNR_.js} +3 -3
  5. package/dist/{CreateForm-B0srHu5e.js → CreateForm-BMOBeP4G.js} +2 -2
  6. package/dist/{EditCollectionPage-NUVatLkY.js → EditCollectionPage-CAVLcvLg.js} +5 -5
  7. package/dist/{EmptyData-BSW20VKP.js → EmptyData-DaZt_nAm.js} +5 -5
  8. package/dist/{MenuAddPage-Cn3JN04F.js → MenuAddPage-CmU4kAUM.js} +3 -3
  9. package/dist/{MenuItemPage-B0Th9EOe.js → MenuItemPage-UV8JlJvT.js} +60 -60
  10. package/dist/{MenuPage-DQpD3IXx.js → MenuPage-c4TPJgIN.js} +4 -4
  11. package/dist/MonacoEditor.vue_vue_type_script_setup_true_lang-C8cip9Ci.js +84 -0
  12. package/dist/{UniversalTable.vue_vue_type_script_setup_true_lang-DW6O-xoY.js → UniversalTable.vue_vue_type_script_setup_true_lang-DR4PQwqR.js} +78 -78
  13. package/dist/{UniversalTablePagination.vue_vue_type_script_setup_true_lang-DBIPBmpm.js → UniversalTablePagination.vue_vue_type_script_setup_true_lang-C8P9DCeX.js} +46 -46
  14. package/dist/{contentForm-C4Jp-FbQ.js → contentForm-BQdeYVFh.js} +3 -3
  15. package/dist/{getField-CKcz_b0t.js → getField-Y5WXnRR0.js} +632 -631
  16. package/dist/index.js +10 -10
  17. package/dist/style.css +1 -1
  18. package/dist/{vuedraggable-mqqAYsch.js → vuedraggable-CoAPPFYd.js} +107 -107
  19. package/package.json +67 -67
  20. package/server/functions/getTags.js +30 -0
  21. package/server/routes/cms/controllers/listMedia.js +5 -1
  22. package/server/routes/cms/controllers/translate.js +3 -3
  23. package/server/routes/cms/utils/insertContentLocalization.js +22 -4
  24. package/server/routes/contentType/controllers/getContentType.js +9 -2
  25. package/server/routes/tags/controllers/get.tags.js +1 -1
  26. package/utils.js +1 -0
  27. package/dist/MonacoEditor.vue_vue_type_script_setup_true_lang-CTKNG0qR.js +0 -84
@@ -1,11 +1,11 @@
1
- import { resolveComponent as $e, TransitionGroup as ze, defineComponent as Ue, nextTick as De, h as ce } from "vue";
1
+ import { resolveComponent as $e, TransitionGroup as ze, defineComponent as Ue, h as de, nextTick as De } from "vue";
2
2
  /**!
3
3
  * Sortable 1.14.0
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
7
  */
8
- function de(e, t) {
8
+ function ce(e, t) {
9
9
  var n = Object.keys(e);
10
10
  if (Object.getOwnPropertySymbols) {
11
11
  var o = Object.getOwnPropertySymbols(e);
@@ -18,9 +18,9 @@ function de(e, t) {
18
18
  function j(e) {
19
19
  for (var t = 1; t < arguments.length; t++) {
20
20
  var n = arguments[t] != null ? arguments[t] : {};
21
- t % 2 ? de(Object(n), !0).forEach(function(o) {
21
+ t % 2 ? ce(Object(n), !0).forEach(function(o) {
22
22
  qe(e, o, n[o]);
23
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : de(Object(n)).forEach(function(o) {
23
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ce(Object(n)).forEach(function(o) {
24
24
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
25
25
  });
26
26
  }
@@ -135,7 +135,7 @@ function h(e, t, n) {
135
135
  !(t in o) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), o[t] = n + (typeof n == "string" ? "" : "px");
136
136
  }
137
137
  }
138
- function dt(e, t) {
138
+ function ct(e, t) {
139
139
  var n = "";
140
140
  if (typeof e == "string")
141
141
  n = e;
@@ -163,8 +163,8 @@ function W() {
163
163
  }
164
164
  function T(e, t, n, o, r) {
165
165
  if (!(!e.getBoundingClientRect && e !== window)) {
166
- var i, a, l, s, u, d, f;
167
- if (e !== window && e.parentNode && e !== W() ? (i = e.getBoundingClientRect(), a = i.top, l = i.left, s = i.bottom, u = i.right, d = i.height, f = i.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, d = window.innerHeight, f = window.innerWidth), (t || n) && e !== window && (r = r || e.parentNode, !q))
166
+ var i, a, l, s, u, c, f;
167
+ if (e !== window && e.parentNode && e !== W() ? (i = e.getBoundingClientRect(), a = i.top, l = i.left, s = i.bottom, u = i.right, c = i.height, f = i.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, f = window.innerWidth), (t || n) && e !== window && (r = r || e.parentNode, !q))
168
168
  do
169
169
  if (r && r.getBoundingClientRect && (h(r, "transform") !== "none" || n && h(r, "position") !== "static")) {
170
170
  var g = r.getBoundingClientRect();
@@ -173,8 +173,8 @@ function T(e, t, n, o, r) {
173
173
  }
174
174
  while (r = r.parentNode);
175
175
  if (o && e !== window) {
176
- var w = dt(r || e), v = w && w.a, E = w && w.d;
177
- w && (a /= E, l /= v, f /= v, d /= E, s = a + d, u = l + f);
176
+ var w = ct(r || e), v = w && w.a, E = w && w.d;
177
+ w && (a /= E, l /= v, f /= v, c /= E, s = a + c, u = l + f);
178
178
  }
179
179
  return {
180
180
  top: a,
@@ -182,7 +182,7 @@ function T(e, t, n, o, r) {
182
182
  bottom: s,
183
183
  right: u,
184
184
  width: f,
185
- height: d
185
+ height: c
186
186
  };
187
187
  }
188
188
  }
@@ -225,7 +225,7 @@ function me(e) {
225
225
  var t = 0, n = 0, o = W();
226
226
  if (e)
227
227
  do {
228
- var r = dt(e), i = r.a, a = r.d;
228
+ var r = ct(e), i = r.a, a = r.d;
229
229
  t += e.scrollLeft * i, n += e.scrollTop * a;
230
230
  } while (e !== o && (e = e.parentNode));
231
231
  return [t, n];
@@ -302,7 +302,7 @@ function rn() {
302
302
  });
303
303
  var i = j({}, e[e.length - 1].rect);
304
304
  if (r.thisAnimationDuration) {
305
- var a = dt(r, !0);
305
+ var a = ct(r, !0);
306
306
  a && (i.top -= a.f, i.left -= a.e);
307
307
  }
308
308
  r.fromRect = i;
@@ -326,9 +326,9 @@ function rn() {
326
326
  }
327
327
  var i = !1, a = 0;
328
328
  e.forEach(function(l) {
329
- var s = 0, u = l.target, d = u.fromRect, f = T(u), g = u.prevFromRect, w = u.prevToRect, v = l.rect, E = dt(u, !0);
330
- E && (f.top -= E.f, f.left -= E.e), u.toRect = f, u.thisAnimationDuration && jt(g, f) && !jt(d, f) && // Make sure animatingRect is on line between toRect & fromRect
331
- (v.top - f.top) / (v.left - f.left) === (d.top - f.top) / (d.left - f.left) && (s = ln(v, g, w, r.options)), jt(f, d) || (u.prevFromRect = d, u.prevToRect = f, s || (s = r.options.animation), r.animate(u, v, f, s)), s && (i = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
329
+ var s = 0, u = l.target, c = u.fromRect, f = T(u), g = u.prevFromRect, w = u.prevToRect, v = l.rect, E = ct(u, !0);
330
+ E && (f.top -= E.f, f.left -= E.e), u.toRect = f, u.thisAnimationDuration && jt(g, f) && !jt(c, f) && // Make sure animatingRect is on line between toRect & fromRect
331
+ (v.top - f.top) / (v.left - f.left) === (c.top - f.top) / (c.left - f.left) && (s = ln(v, g, w, r.options)), jt(f, c) || (u.prevFromRect = c, u.prevToRect = f, s || (s = r.options.animation), r.animate(u, v, f, s)), s && (i = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
332
332
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
333
333
  }, s), u.thisAnimationDuration = s);
334
334
  }), clearTimeout(t), i ? t = setTimeout(function() {
@@ -338,8 +338,8 @@ function rn() {
338
338
  animate: function(o, r, i, a) {
339
339
  if (a) {
340
340
  h(o, "transition", ""), h(o, "transform", "");
341
- var l = dt(this.el), s = l && l.a, u = l && l.d, d = (r.left - i.left) / (s || 1), f = (r.top - i.top) / (u || 1);
342
- o.animatingX = !!d, o.animatingY = !!f, h(o, "transform", "translate3d(" + d + "px," + f + "px,0)"), this.forRepaintDummy = an(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
341
+ var l = ct(this.el), s = l && l.a, u = l && l.d, c = (r.left - i.left) / (s || 1), f = (r.top - i.top) / (u || 1);
342
+ o.animatingX = !!c, o.animatingY = !!f, h(o, "transform", "translate3d(" + c + "px," + f + "px,0)"), this.forRepaintDummy = an(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
343
343
  h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
344
344
  }, a);
345
345
  }
@@ -405,13 +405,13 @@ var lt = [], Gt = {
405
405
  }
406
406
  };
407
407
  function sn(e) {
408
- var t = e.sortable, n = e.rootEl, o = e.name, r = e.targetEl, i = e.cloneEl, a = e.toEl, l = e.fromEl, s = e.oldIndex, u = e.newIndex, d = e.oldDraggableIndex, f = e.newDraggableIndex, g = e.originalEvent, w = e.putSortable, v = e.extraEventProperties;
408
+ var t = e.sortable, n = e.rootEl, o = e.name, r = e.targetEl, i = e.cloneEl, a = e.toEl, l = e.fromEl, s = e.oldIndex, u = e.newIndex, c = e.oldDraggableIndex, f = e.newDraggableIndex, g = e.originalEvent, w = e.putSortable, v = e.extraEventProperties;
409
409
  if (t = t || n && n[L], !!t) {
410
410
  var E, R = t.options, G = "on" + o.charAt(0).toUpperCase() + o.substr(1);
411
411
  window.CustomEvent && !q && !Tt ? E = new CustomEvent(o, {
412
412
  bubbles: !0,
413
413
  cancelable: !0
414
- }) : (E = document.createEvent("Event"), E.initEvent(o, !0, !0)), E.to = a || n, E.from = l || n, E.item = r || n, E.clone = i, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = d, E.newDraggableIndex = f, E.originalEvent = g, E.pullMode = w ? w.lastPutMode : void 0;
414
+ }) : (E = document.createEvent("Event"), E.initEvent(o, !0, !0)), E.to = a || n, E.from = l || n, E.item = r || n, E.clone = i, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = c, E.newDraggableIndex = f, E.originalEvent = g, E.pullMode = w ? w.lastPutMode : void 0;
415
415
  var O = j(j({}, v), xt.getEventProperties(o, t));
416
416
  for (var X in O)
417
417
  E[X] = O[X];
@@ -421,7 +421,7 @@ function sn(e) {
421
421
  var un = ["evt"], P = function(t, n) {
422
422
  var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, i = Ze(o, un);
423
423
  xt.pluginEvent.bind(p)(t, n, j({
424
- dragEl: c,
424
+ dragEl: d,
425
425
  parentEl: D,
426
426
  ghostEl: m,
427
427
  rootEl: _,
@@ -433,7 +433,7 @@ var un = ["evt"], P = function(t, n) {
433
433
  putSortable: x,
434
434
  activeSortable: p.active,
435
435
  originalEvent: r,
436
- oldIndex: ct,
436
+ oldIndex: dt,
437
437
  oldDraggableIndex: Dt,
438
438
  newIndex: M,
439
439
  newDraggableIndex: Q,
@@ -458,15 +458,15 @@ function A(e) {
458
458
  sn(j({
459
459
  putSortable: x,
460
460
  cloneEl: S,
461
- targetEl: c,
461
+ targetEl: d,
462
462
  rootEl: _,
463
- oldIndex: ct,
463
+ oldIndex: dt,
464
464
  oldDraggableIndex: Dt,
465
465
  newIndex: M,
466
466
  newDraggableIndex: Q
467
467
  }, e));
468
468
  }
469
- var c, D, m, _, at, Mt, S, J, ct, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt, Y, $t, zt, ge, ve, bt, st, St, Ct = !1, At = !1, Lt, I, Ut = [], ee = !1, Ht = [], Wt = typeof document < "u", Pt = Se, be = Tt || q ? "cssFloat" : "float", cn = Wt && !Je && !Se && "draggable" in document.createElement("div"), Ae = function() {
469
+ var d, D, m, _, at, Mt, S, J, dt, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt, Y, $t, zt, ge, ve, bt, st, St, Ct = !1, At = !1, Lt, I, Ut = [], ee = !1, Ht = [], Wt = typeof document < "u", Pt = Se, be = Tt || q ? "cssFloat" : "float", dn = Wt && !Je && !Se && "draggable" in document.createElement("div"), Ae = function() {
470
470
  if (Wt) {
471
471
  if (q)
472
472
  return !1;
@@ -474,7 +474,7 @@ var c, D, m, _, at, Mt, S, J, ct, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
474
474
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
475
475
  }
476
476
  }(), Pe = function(t, n) {
477
- var o = h(t), r = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), i = ft(t, 0, n), a = ft(t, 1, n), l = i && h(i), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + T(i).width, d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + T(a).width;
477
+ var o = h(t), r = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), i = ft(t, 0, n), a = ft(t, 1, n), l = i && h(i), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + T(i).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + T(a).width;
478
478
  if (o.display === "flex")
479
479
  return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
480
480
  if (o.display === "grid")
@@ -483,8 +483,8 @@ var c, D, m, _, at, Mt, S, J, ct, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
483
483
  var f = l.float === "left" ? "left" : "right";
484
484
  return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
485
485
  }
486
- return i && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && o[be] === "none" || a && o[be] === "none" && u + d > r) ? "vertical" : "horizontal";
487
- }, dn = function(t, n, o) {
486
+ return i && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= r && o[be] === "none" || a && o[be] === "none" && u + c > r) ? "vertical" : "horizontal";
487
+ }, cn = function(t, n, o) {
488
488
  var r = o ? t.left : t.top, i = o ? t.right : t.bottom, a = o ? t.width : t.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
489
489
  return r === l || i === s || r + a / 2 === l + u / 2;
490
490
  }, fn = function(t, n) {
@@ -499,7 +499,7 @@ var c, D, m, _, at, Mt, S, J, ct, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
499
499
  }), o;
500
500
  }, Ne = function(t) {
501
501
  function n(i, a) {
502
- return function(l, s, u, d) {
502
+ return function(l, s, u, c) {
503
503
  var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
504
504
  if (i == null && (a || f))
505
505
  return !0;
@@ -508,7 +508,7 @@ var c, D, m, _, at, Mt, S, J, ct, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
508
508
  if (a && i === "clone")
509
509
  return i;
510
510
  if (typeof i == "function")
511
- return n(i(l, s, u, d), a)(l, s, u, d);
511
+ return n(i(l, s, u, c), a)(l, s, u, c);
512
512
  var g = (a ? l : s).options.group.name;
513
513
  return i === !0 || typeof i == "string" && i === g || i.join && i.indexOf(g) > -1;
514
514
  };
@@ -527,7 +527,7 @@ Wt && document.addEventListener("click", function(e) {
527
527
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Yt = !1, !1;
528
528
  }, !0);
529
529
  var it = function(t) {
530
- if (c) {
530
+ if (d) {
531
531
  t = t.touches ? t.touches[0] : t;
532
532
  var n = fn(t.clientX, t.clientY);
533
533
  if (n) {
@@ -538,7 +538,7 @@ var it = function(t) {
538
538
  }
539
539
  }
540
540
  }, hn = function(t) {
541
- c && c.parentNode[L]._isOutsideThisEl(t.target);
541
+ d && d.parentNode[L]._isOutsideThisEl(t.target);
542
542
  };
543
543
  function p(e, t) {
544
544
  if (!(e && e.nodeType && e.nodeType === 1))
@@ -595,7 +595,7 @@ function p(e, t) {
595
595
  Ne(t);
596
596
  for (var r in this)
597
597
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
598
- this.nativeDraggable = t.forceFallback ? !1 : cn, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? y(e, "pointerdown", this._onTapStart) : (y(e, "mousedown", this._onTapStart), y(e, "touchstart", this._onTapStart)), this.nativeDraggable && (y(e, "dragover", this), y(e, "dragenter", this)), Bt.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), U(this, rn());
598
+ this.nativeDraggable = t.forceFallback ? !1 : dn, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? y(e, "pointerdown", this._onTapStart) : (y(e, "mousedown", this._onTapStart), y(e, "touchstart", this._onTapStart)), this.nativeDraggable && (y(e, "dragover", this), y(e, "dragenter", this)), Bt.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), U(this, rn());
599
599
  }
600
600
  p.prototype = /** @lends Sortable.prototype */
601
601
  {
@@ -604,14 +604,14 @@ p.prototype = /** @lends Sortable.prototype */
604
604
  !this.el.contains(t) && t !== this.el && (st = null);
605
605
  },
606
606
  _getDirection: function(t, n) {
607
- return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, c) : this.options.direction;
607
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, d) : this.options.direction;
608
608
  },
609
609
  _onTapStart: function(t) {
610
610
  if (t.cancelable) {
611
- var n = this, o = this.el, r = this.options, i = r.preventOnFilter, a = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, d = r.filter;
612
- if (wn(o), !c && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && wt && s && s.tagName.toUpperCase() === "SELECT") && (s = V(s, r.draggable, o, !1), !(s && s.animated) && Mt !== s)) {
613
- if (ct = k(s), Dt = k(s, r.draggable), typeof d == "function") {
614
- if (d.call(this, t, s, this)) {
611
+ var n = this, o = this.el, r = this.options, i = r.preventOnFilter, a = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, c = r.filter;
612
+ if (wn(o), !d && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || r.disabled) && !u.isContentEditable && !(!this.nativeDraggable && wt && s && s.tagName.toUpperCase() === "SELECT") && (s = V(s, r.draggable, o, !1), !(s && s.animated) && Mt !== s)) {
613
+ if (dt = k(s), Dt = k(s, r.draggable), typeof c == "function") {
614
+ if (c.call(this, t, s, this)) {
615
615
  A({
616
616
  sortable: n,
617
617
  rootEl: u,
@@ -624,7 +624,7 @@ p.prototype = /** @lends Sortable.prototype */
624
624
  }), i && t.cancelable && t.preventDefault();
625
625
  return;
626
626
  }
627
- } else if (d && (d = d.split(",").some(function(f) {
627
+ } else if (c && (c = c.split(",").some(function(f) {
628
628
  if (f = V(u, f.trim(), o, !1), f)
629
629
  return A({
630
630
  sortable: n,
@@ -636,7 +636,7 @@ p.prototype = /** @lends Sortable.prototype */
636
636
  }), P("filter", n, {
637
637
  evt: t
638
638
  }), !0;
639
- }), d)) {
639
+ }), c)) {
640
640
  i && t.cancelable && t.preventDefault();
641
641
  return;
642
642
  }
@@ -646,27 +646,27 @@ p.prototype = /** @lends Sortable.prototype */
646
646
  },
647
647
  _prepareDragStart: function(t, n, o) {
648
648
  var r = this, i = r.el, a = r.options, l = i.ownerDocument, s;
649
- if (o && !c && o.parentNode === i) {
649
+ if (o && !d && o.parentNode === i) {
650
650
  var u = T(o);
651
- if (_ = i, c = o, D = c.parentNode, at = c.nextSibling, Mt = o, Ot = a.group, p.dragged = c, rt = {
652
- target: c,
651
+ if (_ = i, d = o, D = d.parentNode, at = d.nextSibling, Mt = o, Ot = a.group, p.dragged = d, rt = {
652
+ target: d,
653
653
  clientX: (n || t).clientX,
654
654
  clientY: (n || t).clientY
655
- }, ge = rt.clientX - u.left, ve = rt.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, c.style["will-change"] = "all", s = function() {
655
+ }, ge = rt.clientX - u.left, ve = rt.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, d.style["will-change"] = "all", s = function() {
656
656
  if (P("delayEnded", r, {
657
657
  evt: t
658
658
  }), p.eventCanceled) {
659
659
  r._onDrop();
660
660
  return;
661
661
  }
662
- r._disableDelayedDragEvents(), !fe && r.nativeDraggable && (c.draggable = !0), r._triggerDragStart(t, n), A({
662
+ r._disableDelayedDragEvents(), !fe && r.nativeDraggable && (d.draggable = !0), r._triggerDragStart(t, n), A({
663
663
  sortable: r,
664
664
  name: "choose",
665
665
  originalEvent: t
666
- }), F(c, a.chosenClass, !0);
667
- }, a.ignore.split(",").forEach(function(d) {
668
- Te(c, d.trim(), qt);
669
- }), y(l, "dragover", it), y(l, "mousemove", it), y(l, "touchmove", it), y(l, "mouseup", r._onDrop), y(l, "touchend", r._onDrop), y(l, "touchcancel", r._onDrop), fe && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), P("delayStart", this, {
666
+ }), F(d, a.chosenClass, !0);
667
+ }, a.ignore.split(",").forEach(function(c) {
668
+ Te(d, c.trim(), qt);
669
+ }), y(l, "dragover", it), y(l, "mousemove", it), y(l, "touchmove", it), y(l, "mouseup", r._onDrop), y(l, "touchend", r._onDrop), y(l, "touchcancel", r._onDrop), fe && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), P("delayStart", this, {
670
670
  evt: t
671
671
  }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Tt || q))) {
672
672
  if (p.eventCanceled) {
@@ -683,14 +683,14 @@ p.prototype = /** @lends Sortable.prototype */
683
683
  Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
684
684
  },
685
685
  _disableDelayedDrag: function() {
686
- c && qt(c), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
686
+ d && qt(d), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
687
687
  },
688
688
  _disableDelayedDragEvents: function() {
689
689
  var t = this.el.ownerDocument;
690
690
  b(t, "mouseup", this._disableDelayedDrag), b(t, "touchend", this._disableDelayedDrag), b(t, "touchcancel", this._disableDelayedDrag), b(t, "mousemove", this._delayedDragTouchMoveHandler), b(t, "touchmove", this._delayedDragTouchMoveHandler), b(t, "pointermove", this._delayedDragTouchMoveHandler);
691
691
  },
692
692
  _triggerDragStart: function(t, n) {
693
- n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? y(document, "pointermove", this._onTouchMove) : n ? y(document, "touchmove", this._onTouchMove) : y(document, "mousemove", this._onTouchMove) : (y(c, "dragend", this), y(_, "dragstart", this._onDragStart));
693
+ n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? y(document, "pointermove", this._onTouchMove) : n ? y(document, "touchmove", this._onTouchMove) : y(document, "mousemove", this._onTouchMove) : (y(d, "dragend", this), y(_, "dragstart", this._onDragStart));
694
694
  try {
695
695
  document.selection ? kt(function() {
696
696
  document.selection.empty();
@@ -699,12 +699,12 @@ p.prototype = /** @lends Sortable.prototype */
699
699
  }
700
700
  },
701
701
  _dragStarted: function(t, n) {
702
- if (ut = !1, _ && c) {
702
+ if (ut = !1, _ && d) {
703
703
  P("dragStarted", this, {
704
704
  evt: n
705
705
  }), this.nativeDraggable && y(document, "dragover", hn);
706
706
  var o = this.options;
707
- !t && F(c, o.dragClass, !1), F(c, o.ghostClass, !0), p.active = this, t && this._appendGhost(), A({
707
+ !t && F(d, o.dragClass, !1), F(d, o.ghostClass, !0), p.active = this, t && this._appendGhost(), A({
708
708
  sortable: this,
709
709
  name: "start",
710
710
  originalEvent: n
@@ -717,7 +717,7 @@ p.prototype = /** @lends Sortable.prototype */
717
717
  this._lastX = Y.clientX, this._lastY = Y.clientY, Fe();
718
718
  for (var t = document.elementFromPoint(Y.clientX, Y.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Y.clientX, Y.clientY), t !== n); )
719
719
  n = t;
720
- if (c.parentNode[L]._isOutsideThisEl(t), n)
720
+ if (d.parentNode[L]._isOutsideThisEl(t), n)
721
721
  do {
722
722
  if (n[L]) {
723
723
  var o = void 0;
@@ -736,36 +736,36 @@ p.prototype = /** @lends Sortable.prototype */
736
736
  },
737
737
  _onTouchMove: function(t) {
738
738
  if (rt) {
739
- var n = this.options, o = n.fallbackTolerance, r = n.fallbackOffset, i = t.touches ? t.touches[0] : t, a = m && dt(m, !0), l = m && a && a.a, s = m && a && a.d, u = Pt && I && me(I), d = (i.clientX - rt.clientX + r.x) / (l || 1) + (u ? u[0] - Ut[0] : 0) / (l || 1), f = (i.clientY - rt.clientY + r.y) / (s || 1) + (u ? u[1] - Ut[1] : 0) / (s || 1);
739
+ var n = this.options, o = n.fallbackTolerance, r = n.fallbackOffset, i = t.touches ? t.touches[0] : t, a = m && ct(m, !0), l = m && a && a.a, s = m && a && a.d, u = Pt && I && me(I), c = (i.clientX - rt.clientX + r.x) / (l || 1) + (u ? u[0] - Ut[0] : 0) / (l || 1), f = (i.clientY - rt.clientY + r.y) / (s || 1) + (u ? u[1] - Ut[1] : 0) / (s || 1);
740
740
  if (!p.active && !ut) {
741
741
  if (o && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < o)
742
742
  return;
743
743
  this._onDragStart(t, !0);
744
744
  }
745
745
  if (m) {
746
- a ? (a.e += d - ($t || 0), a.f += f - (zt || 0)) : a = {
746
+ a ? (a.e += c - ($t || 0), a.f += f - (zt || 0)) : a = {
747
747
  a: 1,
748
748
  b: 0,
749
749
  c: 0,
750
750
  d: 1,
751
- e: d,
751
+ e: c,
752
752
  f
753
753
  };
754
754
  var g = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
755
- h(m, "webkitTransform", g), h(m, "mozTransform", g), h(m, "msTransform", g), h(m, "transform", g), $t = d, zt = f, Y = i;
755
+ h(m, "webkitTransform", g), h(m, "mozTransform", g), h(m, "msTransform", g), h(m, "transform", g), $t = c, zt = f, Y = i;
756
756
  }
757
757
  t.cancelable && t.preventDefault();
758
758
  }
759
759
  },
760
760
  _appendGhost: function() {
761
761
  if (!m) {
762
- var t = this.options.fallbackOnBody ? document.body : _, n = T(c, !0, Pt, !0, t), o = this.options;
762
+ var t = this.options.fallbackOnBody ? document.body : _, n = T(d, !0, Pt, !0, t), o = this.options;
763
763
  if (Pt) {
764
764
  for (I = t; h(I, "position") === "static" && h(I, "transform") === "none" && I !== document; )
765
765
  I = I.parentNode;
766
766
  I !== document.body && I !== document.documentElement ? (I === document && (I = W()), n.top += I.scrollTop, n.left += I.scrollLeft) : I = W(), Ut = me(I);
767
767
  }
768
- m = c.cloneNode(!0), F(m, o.ghostClass, !1), F(m, o.fallbackClass, !0), F(m, o.dragClass, !0), h(m, "transition", ""), h(m, "transform", ""), h(m, "box-sizing", "border-box"), h(m, "margin", 0), h(m, "top", n.top), h(m, "left", n.left), h(m, "width", n.width), h(m, "height", n.height), h(m, "opacity", "0.8"), h(m, "position", Pt ? "absolute" : "fixed"), h(m, "zIndex", "100000"), h(m, "pointerEvents", "none"), p.ghost = m, t.appendChild(m), h(m, "transform-origin", ge / parseInt(m.style.width) * 100 + "% " + ve / parseInt(m.style.height) * 100 + "%");
768
+ m = d.cloneNode(!0), F(m, o.ghostClass, !1), F(m, o.fallbackClass, !0), F(m, o.dragClass, !0), h(m, "transition", ""), h(m, "transform", ""), h(m, "box-sizing", "border-box"), h(m, "margin", 0), h(m, "top", n.top), h(m, "left", n.left), h(m, "width", n.width), h(m, "height", n.height), h(m, "opacity", "0.8"), h(m, "position", Pt ? "absolute" : "fixed"), h(m, "zIndex", "100000"), h(m, "pointerEvents", "none"), p.ghost = m, t.appendChild(m), h(m, "transform-origin", ge / parseInt(m.style.width) * 100 + "% " + ve / parseInt(m.style.height) * 100 + "%");
769
769
  }
770
770
  },
771
771
  _onDragStart: function(t, n) {
@@ -776,22 +776,22 @@ p.prototype = /** @lends Sortable.prototype */
776
776
  this._onDrop();
777
777
  return;
778
778
  }
779
- P("setupClone", this), p.eventCanceled || (S = Oe(c), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), F(S, this.options.chosenClass, !1), p.clone = S), o.cloneId = kt(function() {
780
- P("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || _.insertBefore(S, c), o._hideClone(), A({
779
+ P("setupClone", this), p.eventCanceled || (S = Oe(d), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), F(S, this.options.chosenClass, !1), p.clone = S), o.cloneId = kt(function() {
780
+ P("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || _.insertBefore(S, d), o._hideClone(), A({
781
781
  sortable: o,
782
782
  name: "clone"
783
783
  }));
784
- }), !n && F(c, i.dragClass, !0), n ? (Yt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(o, r, c)), y(document, "drop", o), h(c, "transform", "translateZ(0)")), ut = !0, o._dragStartId = kt(o._dragStarted.bind(o, n, t)), y(document, "selectstart", o), bt = !0, wt && h(document.body, "user-select", "none");
784
+ }), !n && F(d, i.dragClass, !0), n ? (Yt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), r && (r.effectAllowed = "move", i.setData && i.setData.call(o, r, d)), y(document, "drop", o), h(d, "transform", "translateZ(0)")), ut = !0, o._dragStartId = kt(o._dragStarted.bind(o, n, t)), y(document, "selectstart", o), bt = !0, wt && h(document.body, "user-select", "none");
785
785
  },
786
786
  // Returns true - if no further action is needed (either inserted or another condition)
787
787
  _onDragOver: function(t) {
788
- var n = this.el, o = t.target, r, i, a, l = this.options, s = l.group, u = p.active, d = Ot === s, f = l.sort, g = x || u, w, v = this, E = !1;
788
+ var n = this.el, o = t.target, r, i, a, l = this.options, s = l.group, u = p.active, c = Ot === s, f = l.sort, g = x || u, w, v = this, E = !1;
789
789
  if (ee)
790
790
  return;
791
791
  function R(vt, je) {
792
792
  P(vt, v, j({
793
793
  evt: t,
794
- isOwner: d,
794
+ isOwner: c,
795
795
  axis: w ? "vertical" : "horizontal",
796
796
  revert: a,
797
797
  dragRect: r,
@@ -801,7 +801,7 @@ p.prototype = /** @lends Sortable.prototype */
801
801
  target: o,
802
802
  completed: O,
803
803
  onMove: function(ue, Ge) {
804
- return Nt(_, n, c, r, ue, T(ue), t, Ge);
804
+ return Nt(_, n, d, r, ue, T(ue), t, Ge);
805
805
  },
806
806
  changed: X
807
807
  }, je));
@@ -812,12 +812,12 @@ p.prototype = /** @lends Sortable.prototype */
812
812
  function O(vt) {
813
813
  return R("dragOverCompleted", {
814
814
  insertion: vt
815
- }), vt && (d ? u._hideClone() : u._showClone(v), v !== g && (F(c, x ? x.options.ghostClass : u.options.ghostClass, !1), F(c, l.ghostClass, !0)), x !== v && v !== p.active ? x = v : v === p.active && x && (x = null), g === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
815
+ }), vt && (c ? u._hideClone() : u._showClone(v), v !== g && (F(d, x ? x.options.ghostClass : u.options.ghostClass, !1), F(d, l.ghostClass, !0)), x !== v && v !== p.active ? x = v : v === p.active && x && (x = null), g === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
816
816
  R("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
817
- }), v !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (st = null), !l.dragoverBubble && !t.rootEl && o !== document && (c.parentNode[L]._isOutsideThisEl(t.target), !vt && it(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), E = !0;
817
+ }), v !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (o === d && !d.animated || o === n && !o.animated) && (st = null), !l.dragoverBubble && !t.rootEl && o !== document && (d.parentNode[L]._isOutsideThisEl(t.target), !vt && it(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), E = !0;
818
818
  }
819
819
  function X() {
820
- M = k(c), Q = k(c, l.draggable), A({
820
+ M = k(d), Q = k(d, l.draggable), A({
821
821
  sortable: v,
822
822
  name: "change",
823
823
  toEl: n,
@@ -828,32 +828,32 @@ p.prototype = /** @lends Sortable.prototype */
828
828
  }
829
829
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = V(o, l.draggable, n, !0), R("dragOver"), p.eventCanceled)
830
830
  return E;
831
- if (c.contains(t.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
831
+ if (d.contains(t.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
832
832
  return O(!1);
833
- if (Yt = !1, u && !l.disabled && (d ? f || (a = D !== _) : x === this || (this.lastPutMode = Ot.checkPull(this, u, c, t)) && s.checkPut(this, u, c, t))) {
834
- if (w = this._getDirection(t, o) === "vertical", r = T(c), R("dragOverValid"), p.eventCanceled)
833
+ if (Yt = !1, u && !l.disabled && (c ? f || (a = D !== _) : x === this || (this.lastPutMode = Ot.checkPull(this, u, d, t)) && s.checkPut(this, u, d, t))) {
834
+ if (w = this._getDirection(t, o) === "vertical", r = T(d), R("dragOverValid"), p.eventCanceled)
835
835
  return E;
836
836
  if (a)
837
- return D = _, G(), this._hideClone(), R("revert"), p.eventCanceled || (at ? _.insertBefore(c, at) : _.appendChild(c)), O(!0);
837
+ return D = _, G(), this._hideClone(), R("revert"), p.eventCanceled || (at ? _.insertBefore(d, at) : _.appendChild(d)), O(!0);
838
838
  var B = ae(n, l.draggable);
839
839
  if (!B || vn(t, w, this) && !B.animated) {
840
- if (B === c)
840
+ if (B === d)
841
841
  return O(!1);
842
- if (B && n === t.target && (o = B), o && (i = T(o)), Nt(_, n, c, r, o, i, t, !!o) !== !1)
843
- return G(), n.appendChild(c), D = n, X(), O(!0);
842
+ if (B && n === t.target && (o = B), o && (i = T(o)), Nt(_, n, d, r, o, i, t, !!o) !== !1)
843
+ return G(), n.appendChild(d), D = n, X(), O(!0);
844
844
  } else if (B && gn(t, w, this)) {
845
845
  var et = ft(n, 0, l, !0);
846
- if (et === c)
846
+ if (et === d)
847
847
  return O(!1);
848
- if (o = et, i = T(o), Nt(_, n, c, r, o, i, t, !1) !== !1)
849
- return G(), n.insertBefore(c, et), D = n, X(), O(!0);
848
+ if (o = et, i = T(o), Nt(_, n, d, r, o, i, t, !1) !== !1)
849
+ return G(), n.insertBefore(d, et), D = n, X(), O(!0);
850
850
  } else if (o.parentNode === n) {
851
851
  i = T(o);
852
- var H = 0, nt, ht = c.parentNode !== n, N = !dn(c.animated && c.toRect || r, o.animated && o.toRect || i, w), pt = w ? "top" : "left", K = pe(o, "top", "top") || pe(c, "top", "top"), mt = K ? K.scrollTop : void 0;
852
+ var H = 0, nt, ht = d.parentNode !== n, N = !cn(d.animated && d.toRect || r, o.animated && o.toRect || i, w), pt = w ? "top" : "left", K = pe(o, "top", "top") || pe(d, "top", "top"), mt = K ? K.scrollTop : void 0;
853
853
  st !== o && (nt = i[pt], Ct = !1, At = !N && l.invertSwap || ht), H = bn(t, o, i, w, N ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, At, st === o);
854
854
  var $;
855
855
  if (H !== 0) {
856
- var ot = k(c);
856
+ var ot = k(d);
857
857
  do
858
858
  ot -= H, $ = D.children[ot];
859
859
  while ($ && (h($, "display") === "none" || $ === m));
@@ -863,11 +863,11 @@ p.prototype = /** @lends Sortable.prototype */
863
863
  st = o, St = H;
864
864
  var gt = o.nextElementSibling, Z = !1;
865
865
  Z = H === 1;
866
- var It = Nt(_, n, c, r, o, i, t, Z);
866
+ var It = Nt(_, n, d, r, o, i, t, Z);
867
867
  if (It !== !1)
868
- return (It === 1 || It === -1) && (Z = It === 1), ee = !0, setTimeout(mn, 30), G(), Z && !gt ? n.appendChild(c) : o.parentNode.insertBefore(c, Z ? gt : o), K && Ie(K, 0, mt - K.scrollTop), D = c.parentNode, nt !== void 0 && !At && (Lt = Math.abs(nt - T(o)[pt])), X(), O(!0);
868
+ return (It === 1 || It === -1) && (Z = It === 1), ee = !0, setTimeout(mn, 30), G(), Z && !gt ? n.appendChild(d) : o.parentNode.insertBefore(d, Z ? gt : o), K && Ie(K, 0, mt - K.scrollTop), D = d.parentNode, nt !== void 0 && !At && (Lt = Math.abs(nt - T(o)[pt])), X(), O(!0);
869
869
  }
870
- if (n.contains(c))
870
+ if (n.contains(d))
871
871
  return O(!1);
872
872
  }
873
873
  return !1;
@@ -882,13 +882,13 @@ p.prototype = /** @lends Sortable.prototype */
882
882
  },
883
883
  _onDrop: function(t) {
884
884
  var n = this.el, o = this.options;
885
- if (M = k(c), Q = k(c, o.draggable), P("drop", this, {
885
+ if (M = k(d), Q = k(d, o.draggable), P("drop", this, {
886
886
  evt: t
887
- }), D = c && c.parentNode, M = k(c), Q = k(c, o.draggable), p.eventCanceled) {
887
+ }), D = d && d.parentNode, M = k(d), Q = k(d, o.draggable), p.eventCanceled) {
888
888
  this._nulling();
889
889
  return;
890
890
  }
891
- ut = !1, At = !1, Ct = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ne(this.cloneId), ne(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wt && h(document.body, "user-select", ""), h(c, "transform", ""), t && (bt && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), m && m.parentNode && m.parentNode.removeChild(m), (_ === D || x && x.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), c && (this.nativeDraggable && b(c, "dragend", this), qt(c), c.style["will-change"] = "", bt && !ut && F(c, x ? x.options.ghostClass : this.options.ghostClass, !1), F(c, this.options.chosenClass, !1), A({
891
+ ut = !1, At = !1, Ct = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), ne(this.cloneId), ne(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wt && h(document.body, "user-select", ""), h(d, "transform", ""), t && (bt && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), m && m.parentNode && m.parentNode.removeChild(m), (_ === D || x && x.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), d && (this.nativeDraggable && b(d, "dragend", this), qt(d), d.style["will-change"] = "", bt && !ut && F(d, x ? x.options.ghostClass : this.options.ghostClass, !1), F(d, this.options.chosenClass, !1), A({
892
892
  sortable: this,
893
893
  name: "unchoose",
894
894
  toEl: D,
@@ -917,7 +917,7 @@ p.prototype = /** @lends Sortable.prototype */
917
917
  name: "sort",
918
918
  toEl: D,
919
919
  originalEvent: t
920
- })), x && x.save()) : M !== ct && M >= 0 && (A({
920
+ })), x && x.save()) : M !== dt && M >= 0 && (A({
921
921
  sortable: this,
922
922
  name: "update",
923
923
  toEl: D,
@@ -927,7 +927,7 @@ p.prototype = /** @lends Sortable.prototype */
927
927
  name: "sort",
928
928
  toEl: D,
929
929
  originalEvent: t
930
- })), p.active && ((M == null || M === -1) && (M = ct, Q = Dt), A({
930
+ })), p.active && ((M == null || M === -1) && (M = dt, Q = Dt), A({
931
931
  sortable: this,
932
932
  name: "end",
933
933
  toEl: D,
@@ -935,7 +935,7 @@ p.prototype = /** @lends Sortable.prototype */
935
935
  }), this.save()))), this._nulling();
936
936
  },
937
937
  _nulling: function() {
938
- P("nulling", this), _ = c = D = m = at = S = Mt = J = rt = Y = bt = M = Q = ct = Dt = st = St = x = Ot = p.dragged = p.ghost = p.clone = p.active = null, Ht.forEach(function(t) {
938
+ P("nulling", this), _ = d = D = m = at = S = Mt = J = rt = Y = bt = M = Q = dt = Dt = st = St = x = Ot = p.dragged = p.ghost = p.clone = p.active = null, Ht.forEach(function(t) {
939
939
  t.checked = !0;
940
940
  }), Ht.length = $t = zt = 0;
941
941
  },
@@ -947,7 +947,7 @@ p.prototype = /** @lends Sortable.prototype */
947
947
  break;
948
948
  case "dragenter":
949
949
  case "dragover":
950
- c && (this._onDragOver(t), pn(t));
950
+ d && (this._onDragOver(t), pn(t));
951
951
  break;
952
952
  case "selectstart":
953
953
  t.preventDefault();
@@ -1030,7 +1030,7 @@ p.prototype = /** @lends Sortable.prototype */
1030
1030
  if (J) {
1031
1031
  if (P("showClone", this), p.eventCanceled)
1032
1032
  return;
1033
- c.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(S, c) : at ? _.insertBefore(S, at) : _.appendChild(S), this.options.group.revertClone && this.animate(c, S), h(S, "display", ""), J = !1;
1033
+ d.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(S, d) : at ? _.insertBefore(S, at) : _.appendChild(S), this.options.group.revertClone && this.animate(d, S), h(S, "display", ""), J = !1;
1034
1034
  }
1035
1035
  }
1036
1036
  };
@@ -1038,11 +1038,11 @@ function pn(e) {
1038
1038
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
1039
1039
  }
1040
1040
  function Nt(e, t, n, o, r, i, a, l) {
1041
- var s, u = e[L], d = u.options.onMove, f;
1041
+ var s, u = e[L], c = u.options.onMove, f;
1042
1042
  return window.CustomEvent && !q && !Tt ? s = new CustomEvent("move", {
1043
1043
  bubbles: !0,
1044
1044
  cancelable: !0
1045
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = n, s.draggedRect = o, s.related = r || t, s.relatedRect = i || T(t), s.willInsertAfter = l, s.originalEvent = a, e.dispatchEvent(s), d && (f = d.call(u, s, a)), f;
1045
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = n, s.draggedRect = o, s.related = r || t, s.relatedRect = i || T(t), s.willInsertAfter = l, s.originalEvent = a, e.dispatchEvent(s), c && (f = c.call(u, s, a)), f;
1046
1046
  }
1047
1047
  function qt(e) {
1048
1048
  e.draggable = !1;
@@ -1059,20 +1059,20 @@ function vn(e, t, n) {
1059
1059
  return t ? e.clientX > o.right + r || e.clientX <= o.right && e.clientY > o.bottom && e.clientX >= o.left : e.clientX > o.right && e.clientY > o.top || e.clientX <= o.right && e.clientY > o.bottom + r;
1060
1060
  }
1061
1061
  function bn(e, t, n, o, r, i, a, l) {
1062
- var s = o ? e.clientY : e.clientX, u = o ? n.height : n.width, d = o ? n.top : n.left, f = o ? n.bottom : n.right, g = !1;
1062
+ var s = o ? e.clientY : e.clientX, u = o ? n.height : n.width, c = o ? n.top : n.left, f = o ? n.bottom : n.right, g = !1;
1063
1063
  if (!a) {
1064
1064
  if (l && Lt < u * r) {
1065
- if (!Ct && (St === 1 ? s > d + u * i / 2 : s < f - u * i / 2) && (Ct = !0), Ct)
1065
+ if (!Ct && (St === 1 ? s > c + u * i / 2 : s < f - u * i / 2) && (Ct = !0), Ct)
1066
1066
  g = !0;
1067
- else if (St === 1 ? s < d + Lt : s > f - Lt)
1067
+ else if (St === 1 ? s < c + Lt : s > f - Lt)
1068
1068
  return -St;
1069
- } else if (s > d + u * (1 - r) / 2 && s < f - u * (1 - r) / 2)
1069
+ } else if (s > c + u * (1 - r) / 2 && s < f - u * (1 - r) / 2)
1070
1070
  return yn(t);
1071
1071
  }
1072
- return g = g || a, g && (s < d + u * i / 2 || s > f - u * i / 2) ? s > d + u / 2 ? 1 : -1 : 0;
1072
+ return g = g || a, g && (s < c + u * i / 2 || s > f - u * i / 2) ? s > c + u / 2 ? 1 : -1 : 0;
1073
1073
  }
1074
1074
  function yn(e) {
1075
- return k(c) < k(e) ? 1 : -1;
1075
+ return k(d) < k(e) ? 1 : -1;
1076
1076
  }
1077
1077
  function En(e) {
1078
1078
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
@@ -1193,8 +1193,8 @@ function ye() {
1193
1193
  }
1194
1194
  var Qt = xe(function(e, t, n, o) {
1195
1195
  if (t.scroll) {
1196
- var r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, s = W(), u = !1, d;
1197
- oe !== n && (oe = n, Rt(), yt = t.scroll, d = t.scrollFn, yt === !0 && (yt = tt(n, !0)));
1196
+ var r = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, s = W(), u = !1, c;
1197
+ oe !== n && (oe = n, Rt(), yt = t.scroll, c = t.scrollFn, yt === !0 && (yt = tt(n, !0)));
1198
1198
  var f = 0, g = yt;
1199
1199
  do {
1200
1200
  var w = g, v = T(w), E = v.top, R = v.bottom, G = v.left, O = v.right, X = v.width, B = v.height, et = void 0, H = void 0, nt = w.scrollWidth, ht = w.scrollHeight, N = h(w), pt = w.scrollLeft, K = w.scrollTop;
@@ -1206,7 +1206,7 @@ var Qt = xe(function(e, t, n, o) {
1206
1206
  (C[f].vx != mt || C[f].vy != $ || C[f].el !== w) && (C[f].el = w, C[f].vx = mt, C[f].vy = $, clearInterval(C[f].pid), (mt != 0 || $ != 0) && (u = !0, C[f].pid = setInterval((function() {
1207
1207
  o && this.layer === 0 && p.active._onTouchMove(Vt);
1208
1208
  var gt = C[this.layer].vy ? C[this.layer].vy * l : 0, Z = C[this.layer].vx ? C[this.layer].vx * l : 0;
1209
- typeof d == "function" && d.call(p.dragged.parentNode[L], Z, gt, e, Vt, C[this.layer].el) !== "continue" || Ie(C[this.layer].el, Z, gt);
1209
+ typeof c == "function" && c.call(p.dragged.parentNode[L], Z, gt, e, Vt, C[this.layer].el) !== "continue" || Ie(C[this.layer].el, Z, gt);
1210
1210
  }).bind({
1211
1211
  layer: f
1212
1212
  }), 24))), f++;
@@ -1218,7 +1218,7 @@ var Qt = xe(function(e, t, n, o) {
1218
1218
  if (n) {
1219
1219
  var u = o || i;
1220
1220
  l();
1221
- var d = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, f = document.elementFromPoint(d.clientX, d.clientY);
1221
+ var c = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, f = document.elementFromPoint(c.clientX, c.clientY);
1222
1222
  s(), u && !u.el.contains(f) && (a("spill"), this.onSpill({
1223
1223
  dragEl: r,
1224
1224
  putSortable: o
@@ -1476,7 +1476,7 @@ class kn {
1476
1476
  if (r === 0)
1477
1477
  return 0;
1478
1478
  const s = we(o[0]), u = [...i].findIndex(
1479
- (d) => d === s
1479
+ (c) => c === s
1480
1480
  );
1481
1481
  return t < u ? 0 : r;
1482
1482
  }
@@ -1492,7 +1492,7 @@ function Xn({ $slots: e, realList: t, getKey: n }) {
1492
1492
  if (!a)
1493
1493
  throw new Error("draggable element must have an item slot");
1494
1494
  const l = o.flatMap(
1495
- (s, u) => a({ element: s, index: u }).map((d) => (d.key = n(s), d.props = { ...d.props || {}, "data-draggable": !0 }, d))
1495
+ (s, u) => a({ element: s, index: u }).map((c) => (c.key = n(s), c.props = { ...c.props || {}, "data-draggable": !0 }, c))
1496
1496
  );
1497
1497
  if (l.length !== o.length)
1498
1498
  throw new Error("Item slot must have only one child");
@@ -1587,9 +1587,9 @@ const Vn = {
1587
1587
  });
1588
1588
  this.componentStructure = a;
1589
1589
  const l = Fn({ $attrs: t, componentData: o });
1590
- return a.render(ce, l);
1590
+ return a.render(de, l);
1591
1591
  } catch (e) {
1592
- return this.error = !0, ce("pre", { style: { color: "red" } }, e.stack);
1592
+ return this.error = !0, de("pre", { style: { color: "red" } }, e.stack);
1593
1593
  }
1594
1594
  },
1595
1595
  created() {