@feedmepos/mf-menu 0.20.2 → 0.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-Ds2qfY_X.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DwTwUBHZ.js} +2 -2
  2. package/dist/{ApplyProducts.vue_vue_type_script_setup_true_lang-BRepaPR3.js → ApplyProducts.vue_vue_type_script_setup_true_lang-BZG7Ya6Y.js} +2 -2
  3. package/dist/{Catalog-S5KDEWzG.js → Catalog-C5BXrhPP.js} +3 -3
  4. package/dist/{Category-DLaNEtA5.js → Category-CpTm1rg3.js} +6 -6
  5. package/dist/{CookingGuide-DSGZapxz.js → CookingGuide-Dpp9o1JY.js} +4 -4
  6. package/dist/{Group-CBMSkmwQ.js → Group-DJxPCFma.js} +1 -1
  7. package/dist/{Group-B0VQ-64x.js → Group-sr9GoXZa.js} +4 -4
  8. package/dist/{Group.vue_vue_type_script_setup_true_lang-DKzrhXtM.js → Group.vue_vue_type_script_setup_true_lang-B7fTVzh9.js} +43 -43
  9. package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BV-FC8tM.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-B64yEcae.js} +2 -2
  10. package/dist/{Ingredient-CnPQ0kiR.js → Ingredient-CI1qBsqE.js} +5 -5
  11. package/dist/{LinkProductSideSheet-A26Otbdm.js → LinkProductSideSheet-Drg8cNHU.js} +9 -9
  12. package/dist/{PrintRoute-BlJMdPP0.js → PrintRoute-C3sIwh5a.js} +3 -3
  13. package/dist/{Product-BvD813LL.js → Product-BXH8VQKX.js} +1 -1
  14. package/dist/{Product.vue_vue_type_script_setup_true_lang-D_oKtXbh.js → Product.vue_vue_type_script_setup_true_lang-DYP83xUs.js} +12 -12
  15. package/dist/{Products-B8Ok-bkN.js → Products-BWnHcHPG.js} +8 -8
  16. package/dist/{Publish-qBiJUQ4X.js → Publish-T_vCwIz0.js} +33 -33
  17. package/dist/{Recipe-CJxJJAUV.js → Recipe-DRXR_aqS.js} +34 -34
  18. package/dist/{Scheduler-DfAMwXCu.js → Scheduler-BsDC-IO7.js} +2 -2
  19. package/dist/{SchedulerSelector.vue_vue_type_script_setup_true_lang-CArE_Hua.js → SchedulerSelector.vue_vue_type_script_setup_true_lang-Cnoku5ln.js} +1 -1
  20. package/dist/ServingSequence-Dqx8sEIw.js +4 -0
  21. package/dist/{Setting-BbgJcWsN.js → Setting-voFN_-pX.js} +1 -1
  22. package/dist/{Setting.vue_vue_type_script_setup_true_lang-BbVEzNve.js → Setting.vue_vue_type_script_setup_true_lang-vO7KKEcE.js} +3 -3
  23. package/dist/{Takeaway-CMDFYeUw.js → Takeaway-BS3y1Co9.js} +1 -1
  24. package/dist/{Takeaway-wAXsZQN2.js → Takeaway-BZNKPAIO.js} +4 -4
  25. package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DSphRs_i.js → Takeaway.vue_vue_type_script_setup_true_lang-CGU-A2tn.js} +4 -4
  26. package/dist/{TaxSetting-C1XOTv-9.js → TaxSetting-Bg5GswMY.js} +4 -4
  27. package/dist/{Unit-BW3iqgp8.js → Unit-BIQGUWnn.js} +2 -2
  28. package/dist/{Variant-BJIxp9PJ.js → Variant-BsE3DliN.js} +2 -2
  29. package/dist/{_id_-B25OxuPV.js → _id_-nwzDvUSZ.js} +6 -6
  30. package/dist/{app-BFJlAowN.js → app-DPQYBZQl.js} +83471 -73090
  31. package/dist/app.js +2 -2
  32. package/dist/assets/linked-status-_dZBe-KP.js +24 -0
  33. package/dist/assets/validate-menu-DG5wVtaT.js +24 -0
  34. package/dist/{catalog-Do7RfIKm.js → catalog-CYZ0463N.js} +22549 -22547
  35. package/dist/{catalog-B-Z6lEFK.js → catalog-Ez6mUaCd.js} +1 -1
  36. package/dist/{category-DEWEor3m.js → category-1S2ifJD8.js} +14 -14
  37. package/dist/{currency-33gUke3q.js → currency-D4RRRzjV.js} +1 -1
  38. package/dist/index-AkLsIcs2.js +7392 -0
  39. package/dist/{index-BEdHzZvu.js → index-B4FPNVpj.js} +44 -44
  40. package/dist/{item-BooojPpg.js → item-AtZKXXux.js} +930 -930
  41. package/dist/{lodash-247YxYiQ.js → lodash-C05hYW_e.js} +439 -439
  42. package/dist/{menu-DCnWrgH7.js → menu-DXRd3wdK.js} +1 -1
  43. package/dist/{object-B2cP_UeG.js → object-D-ZNxSWx.js} +19 -19
  44. package/dist/{scheduler-0cChIv2I.js → scheduler-DnjnY3od.js} +4 -4
  45. package/dist/{takeaway-mwqVQ1ij.js → takeaway-yk6LDZ8E.js} +4 -4
  46. package/dist/{toExcel-Dha8Vf3u.js → toExcel-C_5sNbcQ.js} +237 -237
  47. package/dist/{unit-BgfdgXAu.js → unit-CIgHfClT.js} +3 -3
  48. package/dist/{vuedraggable-BEszc36M.js → vuedraggable-WU01qJgi.js} +110 -110
  49. package/package.json +1 -1
  50. package/dist/ServingSequence-DxDMeto7.js +0 -4
  51. package/dist/assets/linked-status-4i88AmvK.js +0 -24
  52. package/dist/assets/validate-menu-CTKwgXfw.js +0 -24
  53. package/dist/index-BXl09ebx.js +0 -21908
@@ -1,11 +1,11 @@
1
- import { resolveComponent as $e, TransitionGroup as ze, defineComponent as Ue, h as de, nextTick as De } from "vue";
1
+ import { resolveComponent as $e, TransitionGroup as ze, defineComponent as Ue, h as ce, 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 ce(e, t) {
8
+ function de(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 ce(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 ? ce(Object(n), !0).forEach(function(o) {
21
+ t % 2 ? de(Object(n), !0).forEach(function(o) {
22
22
  qe(e, o, n[o]);
23
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ce(Object(n)).forEach(function(o) {
23
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : de(Object(n)).forEach(function(o) {
24
24
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
25
25
  });
26
26
  }
@@ -132,7 +132,7 @@ function h(e, t, n) {
132
132
  !(t in o) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), o[t] = n + (typeof n == "string" ? "" : "px");
133
133
  }
134
134
  }
135
- function ct(e, t) {
135
+ function dt(e, t) {
136
136
  var n = "";
137
137
  if (typeof e == "string")
138
138
  n = e;
@@ -160,8 +160,8 @@ function W() {
160
160
  }
161
161
  function T(e, t, n, o, r) {
162
162
  if (!(!e.getBoundingClientRect && e !== window)) {
163
- var i, a, l, s, u, c, f;
164
- 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))
163
+ var i, a, l, s, u, d, f;
164
+ 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))
165
165
  do
166
166
  if (r && r.getBoundingClientRect && (h(r, "transform") !== "none" || n && h(r, "position") !== "static")) {
167
167
  var g = r.getBoundingClientRect();
@@ -170,8 +170,8 @@ function T(e, t, n, o, r) {
170
170
  }
171
171
  while (r = r.parentNode);
172
172
  if (o && e !== window) {
173
- var w = ct(r || e), v = w && w.a, E = w && w.d;
174
- w && (a /= E, l /= v, f /= v, c /= E, s = a + c, u = l + f);
173
+ var w = dt(r || e), v = w && w.a, E = w && w.d;
174
+ w && (a /= E, l /= v, f /= v, d /= E, s = a + d, u = l + f);
175
175
  }
176
176
  return {
177
177
  top: a,
@@ -179,7 +179,7 @@ function T(e, t, n, o, r) {
179
179
  bottom: s,
180
180
  right: u,
181
181
  width: f,
182
- height: c
182
+ height: d
183
183
  };
184
184
  }
185
185
  }
@@ -220,7 +220,7 @@ function me(e) {
220
220
  var t = 0, n = 0, o = W();
221
221
  if (e)
222
222
  do {
223
- var r = ct(e), i = r.a, a = r.d;
223
+ var r = dt(e), i = r.a, a = r.d;
224
224
  t += e.scrollLeft * i, n += e.scrollTop * a;
225
225
  } while (e !== o && (e = e.parentNode));
226
226
  return [t, n];
@@ -293,7 +293,7 @@ function rn() {
293
293
  });
294
294
  var i = j({}, e[e.length - 1].rect);
295
295
  if (r.thisAnimationDuration) {
296
- var a = ct(r, !0);
296
+ var a = dt(r, !0);
297
297
  a && (i.top -= a.f, i.left -= a.e);
298
298
  }
299
299
  r.fromRect = i;
@@ -317,9 +317,9 @@ function rn() {
317
317
  }
318
318
  var i = !1, a = 0;
319
319
  e.forEach(function(l) {
320
- 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);
321
- 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
322
- (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() {
320
+ 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);
321
+ 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
322
+ (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() {
323
323
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
324
324
  }, s), u.thisAnimationDuration = s);
325
325
  }), clearTimeout(t), i ? t = setTimeout(function() {
@@ -329,8 +329,8 @@ function rn() {
329
329
  animate: function(o, r, i, a) {
330
330
  if (a) {
331
331
  h(o, "transition", ""), h(o, "transform", "");
332
- 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);
333
- 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() {
332
+ 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);
333
+ 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() {
334
334
  h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
335
335
  }, a);
336
336
  }
@@ -396,13 +396,13 @@ var lt = [], Gt = {
396
396
  }
397
397
  };
398
398
  function sn(e) {
399
- 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;
399
+ 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;
400
400
  if (t = t || n && n[L], !!t) {
401
401
  var E, R = t.options, G = "on" + o.charAt(0).toUpperCase() + o.substr(1);
402
402
  window.CustomEvent && !q && !Tt ? E = new CustomEvent(o, {
403
403
  bubbles: !0,
404
404
  cancelable: !0
405
- }) : (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;
405
+ }) : (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;
406
406
  var O = j(j({}, v), xt.getEventProperties(o, t));
407
407
  for (var X in O)
408
408
  E[X] = O[X];
@@ -412,7 +412,7 @@ function sn(e) {
412
412
  var un = ["evt"], P = function(t, n) {
413
413
  var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = o.evt, i = Ze(o, un);
414
414
  xt.pluginEvent.bind(p)(t, n, j({
415
- dragEl: d,
415
+ dragEl: c,
416
416
  parentEl: D,
417
417
  ghostEl: m,
418
418
  rootEl: _,
@@ -424,7 +424,7 @@ var un = ["evt"], P = function(t, n) {
424
424
  putSortable: x,
425
425
  activeSortable: p.active,
426
426
  originalEvent: r,
427
- oldIndex: dt,
427
+ oldIndex: ct,
428
428
  oldDraggableIndex: Dt,
429
429
  newIndex: M,
430
430
  newDraggableIndex: Q,
@@ -449,15 +449,15 @@ function A(e) {
449
449
  sn(j({
450
450
  putSortable: x,
451
451
  cloneEl: S,
452
- targetEl: d,
452
+ targetEl: c,
453
453
  rootEl: _,
454
- oldIndex: dt,
454
+ oldIndex: ct,
455
455
  oldDraggableIndex: Dt,
456
456
  newIndex: M,
457
457
  newDraggableIndex: Q
458
458
  }, e));
459
459
  }
460
- 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() {
460
+ 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() {
461
461
  if (Wt) {
462
462
  if (q)
463
463
  return !1;
@@ -465,7 +465,7 @@ var d, D, m, _, at, Mt, S, J, dt, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
465
465
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
466
466
  }
467
467
  }(), Pe = function(t, n) {
468
- 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;
468
+ 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;
469
469
  if (o.display === "flex")
470
470
  return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
471
471
  if (o.display === "grid")
@@ -474,8 +474,8 @@ var d, D, m, _, at, Mt, S, J, dt, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
474
474
  var f = l.float === "left" ? "left" : "right";
475
475
  return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
476
476
  }
477
- 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";
478
- }, cn = function(t, n, o) {
477
+ 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";
478
+ }, dn = function(t, n, o) {
479
479
  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;
480
480
  return r === l || i === s || r + a / 2 === l + u / 2;
481
481
  }, fn = function(t, n) {
@@ -490,7 +490,7 @@ var d, D, m, _, at, Mt, S, J, dt, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
490
490
  }), o;
491
491
  }, Ne = function(t) {
492
492
  function n(i, a) {
493
- return function(l, s, u, c) {
493
+ return function(l, s, u, d) {
494
494
  var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
495
495
  if (i == null && (a || f))
496
496
  return !0;
@@ -499,7 +499,7 @@ var d, D, m, _, at, Mt, S, J, dt, M, Dt, Q, Ot, x, ut = !1, Yt = !1, Bt = [], rt
499
499
  if (a && i === "clone")
500
500
  return i;
501
501
  if (typeof i == "function")
502
- return n(i(l, s, u, c), a)(l, s, u, c);
502
+ return n(i(l, s, u, d), a)(l, s, u, d);
503
503
  var g = (a ? l : s).options.group.name;
504
504
  return i === !0 || typeof i == "string" && i === g || i.join && i.indexOf(g) > -1;
505
505
  };
@@ -518,7 +518,7 @@ Wt && document.addEventListener("click", function(e) {
518
518
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Yt = !1, !1;
519
519
  }, !0);
520
520
  var it = function(t) {
521
- if (d) {
521
+ if (c) {
522
522
  t = t.touches ? t.touches[0] : t;
523
523
  var n = fn(t.clientX, t.clientY);
524
524
  if (n) {
@@ -529,7 +529,7 @@ var it = function(t) {
529
529
  }
530
530
  }
531
531
  }, hn = function(t) {
532
- d && d.parentNode[L]._isOutsideThisEl(t.target);
532
+ c && c.parentNode[L]._isOutsideThisEl(t.target);
533
533
  };
534
534
  function p(e, t) {
535
535
  if (!(e && e.nodeType && e.nodeType === 1))
@@ -586,7 +586,7 @@ function p(e, t) {
586
586
  Ne(t);
587
587
  for (var r in this)
588
588
  r.charAt(0) === "_" && typeof this[r] == "function" && (this[r] = this[r].bind(this));
589
- 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());
589
+ 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());
590
590
  }
591
591
  p.prototype = /** @lends Sortable.prototype */
592
592
  {
@@ -595,14 +595,14 @@ p.prototype = /** @lends Sortable.prototype */
595
595
  !this.el.contains(t) && t !== this.el && (st = null);
596
596
  },
597
597
  _getDirection: function(t, n) {
598
- return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, d) : this.options.direction;
598
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, c) : this.options.direction;
599
599
  },
600
600
  _onTapStart: function(t) {
601
601
  if (t.cancelable) {
602
- 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;
603
- 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)) {
604
- if (dt = k(s), Dt = k(s, r.draggable), typeof c == "function") {
605
- if (c.call(this, t, s, this)) {
602
+ 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;
603
+ 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)) {
604
+ if (ct = k(s), Dt = k(s, r.draggable), typeof d == "function") {
605
+ if (d.call(this, t, s, this)) {
606
606
  A({
607
607
  sortable: n,
608
608
  rootEl: u,
@@ -615,7 +615,7 @@ p.prototype = /** @lends Sortable.prototype */
615
615
  }), i && t.cancelable && t.preventDefault();
616
616
  return;
617
617
  }
618
- } else if (c && (c = c.split(",").some(function(f) {
618
+ } else if (d && (d = d.split(",").some(function(f) {
619
619
  if (f = V(u, f.trim(), o, !1), f)
620
620
  return A({
621
621
  sortable: n,
@@ -627,7 +627,7 @@ p.prototype = /** @lends Sortable.prototype */
627
627
  }), P("filter", n, {
628
628
  evt: t
629
629
  }), !0;
630
- }), c)) {
630
+ }), d)) {
631
631
  i && t.cancelable && t.preventDefault();
632
632
  return;
633
633
  }
@@ -637,27 +637,27 @@ p.prototype = /** @lends Sortable.prototype */
637
637
  },
638
638
  _prepareDragStart: function(t, n, o) {
639
639
  var r = this, i = r.el, a = r.options, l = i.ownerDocument, s;
640
- if (o && !d && o.parentNode === i) {
640
+ if (o && !c && o.parentNode === i) {
641
641
  var u = T(o);
642
- if (_ = i, d = o, D = d.parentNode, at = d.nextSibling, Mt = o, Ot = a.group, p.dragged = d, rt = {
643
- target: d,
642
+ if (_ = i, c = o, D = c.parentNode, at = c.nextSibling, Mt = o, Ot = a.group, p.dragged = c, rt = {
643
+ target: c,
644
644
  clientX: (n || t).clientX,
645
645
  clientY: (n || t).clientY
646
- }, 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() {
646
+ }, 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() {
647
647
  if (P("delayEnded", r, {
648
648
  evt: t
649
649
  }), p.eventCanceled) {
650
650
  r._onDrop();
651
651
  return;
652
652
  }
653
- r._disableDelayedDragEvents(), !fe && r.nativeDraggable && (d.draggable = !0), r._triggerDragStart(t, n), A({
653
+ r._disableDelayedDragEvents(), !fe && r.nativeDraggable && (c.draggable = !0), r._triggerDragStart(t, n), A({
654
654
  sortable: r,
655
655
  name: "choose",
656
656
  originalEvent: t
657
- }), F(d, a.chosenClass, !0);
658
- }, a.ignore.split(",").forEach(function(c) {
659
- Te(d, c.trim(), qt);
660
- }), 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, {
657
+ }), F(c, a.chosenClass, !0);
658
+ }, a.ignore.split(",").forEach(function(d) {
659
+ Te(c, d.trim(), qt);
660
+ }), 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, {
661
661
  evt: t
662
662
  }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Tt || q))) {
663
663
  if (p.eventCanceled) {
@@ -674,14 +674,14 @@ p.prototype = /** @lends Sortable.prototype */
674
674
  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();
675
675
  },
676
676
  _disableDelayedDrag: function() {
677
- d && qt(d), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
677
+ c && qt(c), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
678
678
  },
679
679
  _disableDelayedDragEvents: function() {
680
680
  var t = this.el.ownerDocument;
681
681
  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);
682
682
  },
683
683
  _triggerDragStart: function(t, n) {
684
- 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));
684
+ 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));
685
685
  try {
686
686
  document.selection ? kt(function() {
687
687
  document.selection.empty();
@@ -690,12 +690,12 @@ p.prototype = /** @lends Sortable.prototype */
690
690
  }
691
691
  },
692
692
  _dragStarted: function(t, n) {
693
- if (ut = !1, _ && d) {
693
+ if (ut = !1, _ && c) {
694
694
  P("dragStarted", this, {
695
695
  evt: n
696
696
  }), this.nativeDraggable && y(document, "dragover", hn);
697
697
  var o = this.options;
698
- !t && F(d, o.dragClass, !1), F(d, o.ghostClass, !0), p.active = this, t && this._appendGhost(), A({
698
+ !t && F(c, o.dragClass, !1), F(c, o.ghostClass, !0), p.active = this, t && this._appendGhost(), A({
699
699
  sortable: this,
700
700
  name: "start",
701
701
  originalEvent: n
@@ -708,7 +708,7 @@ p.prototype = /** @lends Sortable.prototype */
708
708
  this._lastX = Y.clientX, this._lastY = Y.clientY, Fe();
709
709
  for (var t = document.elementFromPoint(Y.clientX, Y.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Y.clientX, Y.clientY), t !== n); )
710
710
  n = t;
711
- if (d.parentNode[L]._isOutsideThisEl(t), n)
711
+ if (c.parentNode[L]._isOutsideThisEl(t), n)
712
712
  do {
713
713
  if (n[L]) {
714
714
  var o = void 0;
@@ -727,36 +727,36 @@ p.prototype = /** @lends Sortable.prototype */
727
727
  },
728
728
  _onTouchMove: function(t) {
729
729
  if (rt) {
730
- 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);
730
+ 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);
731
731
  if (!p.active && !ut) {
732
732
  if (o && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < o)
733
733
  return;
734
734
  this._onDragStart(t, !0);
735
735
  }
736
736
  if (m) {
737
- a ? (a.e += c - ($t || 0), a.f += f - (zt || 0)) : a = {
737
+ a ? (a.e += d - ($t || 0), a.f += f - (zt || 0)) : a = {
738
738
  a: 1,
739
739
  b: 0,
740
740
  c: 0,
741
741
  d: 1,
742
- e: c,
742
+ e: d,
743
743
  f
744
744
  };
745
745
  var g = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
746
- h(m, "webkitTransform", g), h(m, "mozTransform", g), h(m, "msTransform", g), h(m, "transform", g), $t = c, zt = f, Y = i;
746
+ h(m, "webkitTransform", g), h(m, "mozTransform", g), h(m, "msTransform", g), h(m, "transform", g), $t = d, zt = f, Y = i;
747
747
  }
748
748
  t.cancelable && t.preventDefault();
749
749
  }
750
750
  },
751
751
  _appendGhost: function() {
752
752
  if (!m) {
753
- var t = this.options.fallbackOnBody ? document.body : _, n = T(d, !0, Pt, !0, t), o = this.options;
753
+ var t = this.options.fallbackOnBody ? document.body : _, n = T(c, !0, Pt, !0, t), o = this.options;
754
754
  if (Pt) {
755
755
  for (I = t; h(I, "position") === "static" && h(I, "transform") === "none" && I !== document; )
756
756
  I = I.parentNode;
757
757
  I !== document.body && I !== document.documentElement ? (I === document && (I = W()), n.top += I.scrollTop, n.left += I.scrollLeft) : I = W(), Ut = me(I);
758
758
  }
759
- 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 + "%");
759
+ 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 + "%");
760
760
  }
761
761
  },
762
762
  _onDragStart: function(t, n) {
@@ -767,21 +767,21 @@ p.prototype = /** @lends Sortable.prototype */
767
767
  this._onDrop();
768
768
  return;
769
769
  }
770
- 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() {
771
- P("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || _.insertBefore(S, d), o._hideClone(), A({
770
+ 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() {
771
+ P("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || _.insertBefore(S, c), o._hideClone(), A({
772
772
  sortable: o,
773
773
  name: "clone"
774
774
  }));
775
- }), !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");
775
+ }), !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");
776
776
  },
777
777
  // Returns true - if no further action is needed (either inserted or another condition)
778
778
  _onDragOver: function(t) {
779
- 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;
779
+ 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;
780
780
  if (ee) return;
781
781
  function R(vt, je) {
782
782
  P(vt, v, j({
783
783
  evt: t,
784
- isOwner: c,
784
+ isOwner: d,
785
785
  axis: w ? "vertical" : "horizontal",
786
786
  revert: a,
787
787
  dragRect: r,
@@ -791,7 +791,7 @@ p.prototype = /** @lends Sortable.prototype */
791
791
  target: o,
792
792
  completed: O,
793
793
  onMove: function(ue, Ge) {
794
- return Nt(_, n, d, r, ue, T(ue), t, Ge);
794
+ return Nt(_, n, c, r, ue, T(ue), t, Ge);
795
795
  },
796
796
  changed: X
797
797
  }, je));
@@ -802,12 +802,12 @@ p.prototype = /** @lends Sortable.prototype */
802
802
  function O(vt) {
803
803
  return R("dragOverCompleted", {
804
804
  insertion: vt
805
- }), 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() {
805
+ }), 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() {
806
806
  R("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
807
- }), 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;
807
+ }), 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;
808
808
  }
809
809
  function X() {
810
- M = k(d), Q = k(d, l.draggable), A({
810
+ M = k(c), Q = k(c, l.draggable), A({
811
811
  sortable: v,
812
812
  name: "change",
813
813
  toEl: n,
@@ -817,31 +817,31 @@ p.prototype = /** @lends Sortable.prototype */
817
817
  });
818
818
  }
819
819
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = V(o, l.draggable, n, !0), R("dragOver"), p.eventCanceled) return E;
820
- if (d.contains(t.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
820
+ if (c.contains(t.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
821
821
  return O(!1);
822
- 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))) {
823
- if (w = this._getDirection(t, o) === "vertical", r = T(d), R("dragOverValid"), p.eventCanceled) return E;
822
+ 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))) {
823
+ if (w = this._getDirection(t, o) === "vertical", r = T(c), R("dragOverValid"), p.eventCanceled) return E;
824
824
  if (a)
825
- return D = _, G(), this._hideClone(), R("revert"), p.eventCanceled || (at ? _.insertBefore(d, at) : _.appendChild(d)), O(!0);
825
+ return D = _, G(), this._hideClone(), R("revert"), p.eventCanceled || (at ? _.insertBefore(c, at) : _.appendChild(c)), O(!0);
826
826
  var B = ae(n, l.draggable);
827
827
  if (!B || vn(t, w, this) && !B.animated) {
828
- if (B === d)
828
+ if (B === c)
829
829
  return O(!1);
830
- if (B && n === t.target && (o = B), o && (i = T(o)), Nt(_, n, d, r, o, i, t, !!o) !== !1)
831
- return G(), n.appendChild(d), D = n, X(), O(!0);
830
+ if (B && n === t.target && (o = B), o && (i = T(o)), Nt(_, n, c, r, o, i, t, !!o) !== !1)
831
+ return G(), n.appendChild(c), D = n, X(), O(!0);
832
832
  } else if (B && gn(t, w, this)) {
833
833
  var et = ft(n, 0, l, !0);
834
- if (et === d)
834
+ if (et === c)
835
835
  return O(!1);
836
- if (o = et, i = T(o), Nt(_, n, d, r, o, i, t, !1) !== !1)
837
- return G(), n.insertBefore(d, et), D = n, X(), O(!0);
836
+ if (o = et, i = T(o), Nt(_, n, c, r, o, i, t, !1) !== !1)
837
+ return G(), n.insertBefore(c, et), D = n, X(), O(!0);
838
838
  } else if (o.parentNode === n) {
839
839
  i = T(o);
840
- 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;
840
+ 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;
841
841
  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);
842
842
  var $;
843
843
  if (H !== 0) {
844
- var ot = k(d);
844
+ var ot = k(c);
845
845
  do
846
846
  ot -= H, $ = D.children[ot];
847
847
  while ($ && (h($, "display") === "none" || $ === m));
@@ -851,11 +851,11 @@ p.prototype = /** @lends Sortable.prototype */
851
851
  st = o, St = H;
852
852
  var gt = o.nextElementSibling, Z = !1;
853
853
  Z = H === 1;
854
- var It = Nt(_, n, d, r, o, i, t, Z);
854
+ var It = Nt(_, n, c, r, o, i, t, Z);
855
855
  if (It !== !1)
856
- 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);
856
+ 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);
857
857
  }
858
- if (n.contains(d))
858
+ if (n.contains(c))
859
859
  return O(!1);
860
860
  }
861
861
  return !1;
@@ -870,13 +870,13 @@ p.prototype = /** @lends Sortable.prototype */
870
870
  },
871
871
  _onDrop: function(t) {
872
872
  var n = this.el, o = this.options;
873
- if (M = k(d), Q = k(d, o.draggable), P("drop", this, {
873
+ if (M = k(c), Q = k(c, o.draggable), P("drop", this, {
874
874
  evt: t
875
- }), D = d && d.parentNode, M = k(d), Q = k(d, o.draggable), p.eventCanceled) {
875
+ }), D = c && c.parentNode, M = k(c), Q = k(c, o.draggable), p.eventCanceled) {
876
876
  this._nulling();
877
877
  return;
878
878
  }
879
- 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({
879
+ 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({
880
880
  sortable: this,
881
881
  name: "unchoose",
882
882
  toEl: D,
@@ -905,7 +905,7 @@ p.prototype = /** @lends Sortable.prototype */
905
905
  name: "sort",
906
906
  toEl: D,
907
907
  originalEvent: t
908
- })), x && x.save()) : M !== dt && M >= 0 && (A({
908
+ })), x && x.save()) : M !== ct && M >= 0 && (A({
909
909
  sortable: this,
910
910
  name: "update",
911
911
  toEl: D,
@@ -915,7 +915,7 @@ p.prototype = /** @lends Sortable.prototype */
915
915
  name: "sort",
916
916
  toEl: D,
917
917
  originalEvent: t
918
- })), p.active && ((M == null || M === -1) && (M = dt, Q = Dt), A({
918
+ })), p.active && ((M == null || M === -1) && (M = ct, Q = Dt), A({
919
919
  sortable: this,
920
920
  name: "end",
921
921
  toEl: D,
@@ -923,7 +923,7 @@ p.prototype = /** @lends Sortable.prototype */
923
923
  }), this.save()))), this._nulling();
924
924
  },
925
925
  _nulling: function() {
926
- 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) {
926
+ 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) {
927
927
  t.checked = !0;
928
928
  }), Ht.length = $t = zt = 0;
929
929
  },
@@ -935,7 +935,7 @@ p.prototype = /** @lends Sortable.prototype */
935
935
  break;
936
936
  case "dragenter":
937
937
  case "dragover":
938
- d && (this._onDragOver(t), pn(t));
938
+ c && (this._onDragOver(t), pn(t));
939
939
  break;
940
940
  case "selectstart":
941
941
  t.preventDefault();
@@ -1016,7 +1016,7 @@ p.prototype = /** @lends Sortable.prototype */
1016
1016
  }
1017
1017
  if (J) {
1018
1018
  if (P("showClone", this), p.eventCanceled) return;
1019
- 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;
1019
+ 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;
1020
1020
  }
1021
1021
  }
1022
1022
  };
@@ -1024,11 +1024,11 @@ function pn(e) {
1024
1024
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
1025
1025
  }
1026
1026
  function Nt(e, t, n, o, r, i, a, l) {
1027
- var s, u = e[L], c = u.options.onMove, f;
1027
+ var s, u = e[L], d = u.options.onMove, f;
1028
1028
  return window.CustomEvent && !q && !Tt ? s = new CustomEvent("move", {
1029
1029
  bubbles: !0,
1030
1030
  cancelable: !0
1031
- }) : (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;
1031
+ }) : (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;
1032
1032
  }
1033
1033
  function qt(e) {
1034
1034
  e.draggable = !1;
@@ -1045,20 +1045,20 @@ function vn(e, t, n) {
1045
1045
  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;
1046
1046
  }
1047
1047
  function bn(e, t, n, o, r, i, a, l) {
1048
- 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;
1048
+ 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;
1049
1049
  if (!a) {
1050
1050
  if (l && Lt < u * r) {
1051
- if (!Ct && (St === 1 ? s > c + u * i / 2 : s < f - u * i / 2) && (Ct = !0), Ct)
1051
+ if (!Ct && (St === 1 ? s > d + u * i / 2 : s < f - u * i / 2) && (Ct = !0), Ct)
1052
1052
  g = !0;
1053
- else if (St === 1 ? s < c + Lt : s > f - Lt)
1053
+ else if (St === 1 ? s < d + Lt : s > f - Lt)
1054
1054
  return -St;
1055
- } else if (s > c + u * (1 - r) / 2 && s < f - u * (1 - r) / 2)
1055
+ } else if (s > d + u * (1 - r) / 2 && s < f - u * (1 - r) / 2)
1056
1056
  return yn(t);
1057
1057
  }
1058
- return g = g || a, g && (s < c + u * i / 2 || s > f - u * i / 2) ? s > c + u / 2 ? 1 : -1 : 0;
1058
+ return g = g || a, g && (s < d + u * i / 2 || s > f - u * i / 2) ? s > d + u / 2 ? 1 : -1 : 0;
1059
1059
  }
1060
1060
  function yn(e) {
1061
- return k(d) < k(e) ? 1 : -1;
1061
+ return k(c) < k(e) ? 1 : -1;
1062
1062
  }
1063
1063
  function En(e) {
1064
1064
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
@@ -1179,8 +1179,8 @@ function ye() {
1179
1179
  }
1180
1180
  var Qt = xe(function(e, t, n, o) {
1181
1181
  if (t.scroll) {
1182
- 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;
1183
- oe !== n && (oe = n, Rt(), yt = t.scroll, c = t.scrollFn, yt === !0 && (yt = tt(n, !0)));
1182
+ 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;
1183
+ oe !== n && (oe = n, Rt(), yt = t.scroll, d = t.scrollFn, yt === !0 && (yt = tt(n, !0)));
1184
1184
  var f = 0, g = yt;
1185
1185
  do {
1186
1186
  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;
@@ -1192,7 +1192,7 @@ var Qt = xe(function(e, t, n, o) {
1192
1192
  (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() {
1193
1193
  o && this.layer === 0 && p.active._onTouchMove(Vt);
1194
1194
  var gt = C[this.layer].vy ? C[this.layer].vy * l : 0, Z = C[this.layer].vx ? C[this.layer].vx * l : 0;
1195
- 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);
1195
+ 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);
1196
1196
  }).bind({
1197
1197
  layer: f
1198
1198
  }), 24))), f++;
@@ -1204,7 +1204,7 @@ var Qt = xe(function(e, t, n, o) {
1204
1204
  if (n) {
1205
1205
  var u = o || i;
1206
1206
  l();
1207
- var c = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, f = document.elementFromPoint(c.clientX, c.clientY);
1207
+ var d = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, f = document.elementFromPoint(d.clientX, d.clientY);
1208
1208
  s(), u && !u.el.contains(f) && (a("spill"), this.onSpill({
1209
1209
  dragEl: r,
1210
1210
  putSortable: o
@@ -1462,7 +1462,7 @@ class kn {
1462
1462
  if (r === 0)
1463
1463
  return 0;
1464
1464
  const s = we(o[0]), u = [...i].findIndex(
1465
- (c) => c === s
1465
+ (d) => d === s
1466
1466
  );
1467
1467
  return t < u ? 0 : r;
1468
1468
  }
@@ -1478,7 +1478,7 @@ function Xn({ $slots: e, realList: t, getKey: n }) {
1478
1478
  if (!a)
1479
1479
  throw new Error("draggable element must have an item slot");
1480
1480
  const l = o.flatMap(
1481
- (s, u) => a({ element: s, index: u }).map((c) => (c.key = n(s), c.props = { ...c.props || {}, "data-draggable": !0 }, c))
1481
+ (s, u) => a({ element: s, index: u }).map((d) => (d.key = n(s), d.props = { ...d.props || {}, "data-draggable": !0 }, d))
1482
1482
  );
1483
1483
  if (l.length !== o.length)
1484
1484
  throw new Error("Item slot must have only one child");
@@ -1552,7 +1552,7 @@ const Vn = {
1552
1552
  "update:modelValue",
1553
1553
  "change",
1554
1554
  ...[...ie.manageAndEmit, ...ie.emit].map((e) => e.toLowerCase())
1555
- ], $n = Ue({
1555
+ ], jn = Ue({
1556
1556
  name: "draggable",
1557
1557
  inheritAttrs: !1,
1558
1558
  props: Vn,
@@ -1573,9 +1573,9 @@ const Vn = {
1573
1573
  });
1574
1574
  this.componentStructure = a;
1575
1575
  const l = Fn({ $attrs: t, componentData: o });
1576
- return a.render(de, l);
1576
+ return a.render(ce, l);
1577
1577
  } catch (e) {
1578
- return this.error = !0, de("pre", { style: { color: "red" } }, e.stack);
1578
+ return this.error = !0, ce("pre", { style: { color: "red" } }, e.stack);
1579
1579
  }
1580
1580
  },
1581
1581
  created() {
@@ -1722,7 +1722,7 @@ const Vn = {
1722
1722
  te = null;
1723
1723
  }
1724
1724
  }
1725
- });
1725
+ }), zn = jn;
1726
1726
  export {
1727
- $n as d
1727
+ zn as V
1728
1728
  };