@cling-se/widget 1.0.0-beta.2 → 1.0.0-beta.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 (127) hide show
  1. package/dist/{AddClientCallout-e8d19R3f.js → AddClientCallout-C2OgCvX1.js} +4 -4
  2. package/dist/{AnswerModal-BGvB8IVV.js → AnswerModal-C3ZiCo8B.js} +9 -6
  3. package/dist/{AttachmentItem-CkHbAm4l.js → AttachmentItem-Bmp-QH-3.js} +4 -4
  4. package/dist/{BaseUpload-BiJBcWRu.js → BaseUpload-D5hFSuY1.js} +3 -3
  5. package/dist/{BlockMedia-CW5wgipC.js → BlockMedia-CaOxWdgC.js} +1 -1
  6. package/dist/{CCallout-Cy2eeIYd.js → CCallout-DpRDlPTh.js} +1 -1
  7. package/dist/{CCurrencyDropdown-DE_3CTjm.js → CCurrencyDropdown-BAYBH0At.js} +3 -3
  8. package/dist/{CDropdownItem-Dmq5gYzA.js → CDropdownItem-D_JIqQry.js} +28 -30
  9. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-D_U9coAY.js → CFormField.vue_vue_type_script_setup_true_lang-Dc8lJfJY.js} +2 -2
  10. package/dist/{CPhoneFormat-BS2nP9kc.js → CPhoneFormat-Btul_rlt.js} +1 -1
  11. package/dist/{CPhoneInput-Bf6329PO.js → CPhoneInput-D-p7_u60.js} +5 -5
  12. package/dist/{CPriceInput-d1yjuMQr.js → CPriceInput-DQCgLaC1.js} +2 -2
  13. package/dist/{CSelect-DgnT07Hk.js → CSelect-0b-bjuIN.js} +1 -1
  14. package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-Ckl--dyv.js → CSkeleton.vue_vue_type_script_setup_true_lang-YuPayxdi.js} +1 -1
  15. package/dist/{ClientAutocomplete-9JzGcO9O.js → ClientAutocomplete-BgNYrRFx.js} +3 -3
  16. package/dist/{ClientModal-BzWQtWSZ.js → ClientModal-CpvE9Yri.js} +8 -8
  17. package/dist/{ColorPicker-BvoFN8nu.js → ColorPicker-GwUKNxvH.js} +1 -1
  18. package/dist/{CompanyModal-Bp4V_az9.js → CompanyModal-DtswcomF.js} +7 -7
  19. package/dist/{ContentWrapper-CuH6xKmo.js → ContentWrapper-CFEzfK8g.js} +6 -6
  20. package/dist/{CoverBlockSettings-BA5L0Zee.js → CoverBlockSettings-CgLUx9us.js} +7 -7
  21. package/dist/{DocAnswer-BcNA_KEg.js → DocAnswer-BcoD8Yw-.js} +2 -2
  22. package/dist/{DocDetails-CStEwWnU.js → DocDetails-_NvlTv8l.js} +4 -4
  23. package/dist/{DocForm-BOoILf5E.js → DocForm-DqcBP2UJ.js} +422 -426
  24. package/dist/{DocFormSend-CQIf-HJY.js → DocFormSend-TzrCOshc.js} +2 -2
  25. package/dist/{DocLinks-BRX5QzNe.js → DocLinks-DdGHeEK5.js} +2 -2
  26. package/dist/{DocModalBase-D72yWj-x.js → DocModalBase-uEWXUCOP.js} +1 -1
  27. package/dist/{DocPrint-BI1LXUPE.js → DocPrint-DpwJqeth.js} +1 -1
  28. package/dist/{DocReceipt-DaZ4V76p.js → DocReceipt-CHDIaBsy.js} +2 -2
  29. package/dist/{DocSendReminder-DKGZlo7s.js → DocSendReminder-Cgd1CoAa.js} +1 -1
  30. package/dist/{DocTextEditor-Dm-cTZpA.js → DocTextEditor-Bms9GA2x.js} +10 -9
  31. package/dist/{DocTimeline-DCwofzuk.js → DocTimeline-Cl_R4cvY.js} +2 -2
  32. package/dist/{DocumentClient-vJdxCB53.js → DocumentClient-DRJu10BP.js} +5 -5
  33. package/dist/{DocumentLayout-CKSi42ev.js → DocumentLayout-BaoFdMO6.js} +30 -30
  34. package/dist/{DocumentLogotype-DbQlvQ-y.js → DocumentLogotype-BaSeCt14.js} +4 -4
  35. package/dist/{DocumentVoided-CRX2WxWO.js → DocumentVoided-BufyN2Zg.js} +1 -1
  36. package/dist/{EmbedInput-B-oeC4Wy.js → EmbedInput-C8Ihhw_-.js} +4 -4
  37. package/dist/{EmbedSettings-B9Yka2yB.js → EmbedSettings-CUivGrWn.js} +3 -3
  38. package/dist/{ErrorCallout-B_ygH33E.js → ErrorCallout-BGE4T44w.js} +8 -8
  39. package/dist/{FilePreviewModal-Bf3ELTow.js → FilePreviewModal-ehIP1e7n.js} +2 -2
  40. package/dist/{Flag-BwTgCNHO.js → Flag-Dm9W55kn.js} +1 -1
  41. package/dist/{HeaderSettings-DvC7nlyY.js → HeaderSettings-C4qr3GJS.js} +11 -11
  42. package/dist/{ImageSelectModal-D3sP3lhR.js → ImageSelectModal-uXAwJvLi.js} +3 -3
  43. package/dist/{ImageUploadWrapper-RWNa-yIq.js → ImageUploadWrapper-DPPNn3Jl.js} +2 -2
  44. package/dist/{Index-CjfjdZj5.js → Index--fE6Lnz4.js} +3 -3
  45. package/dist/{Index-DfLLA0ij.js → Index-0VQ5iLzN.js} +81 -66
  46. package/dist/{Index-Df9skok6.js → Index-9TcCW4m0.js} +3 -3
  47. package/dist/{Index-BvMPCgdH.js → Index-B4O99pvQ.js} +5 -5
  48. package/dist/{Index-DI5EB5Rt.js → Index-BAXiY2iZ.js} +4 -4
  49. package/dist/{Index-CRzsnIij.js → Index-BWZ911DD.js} +19 -18
  50. package/dist/{Index-BcUNnxLC.js → Index-Bab6i9Cy.js} +10 -10
  51. package/dist/{Index-D5qwbCo1.js → Index-Bbs2o-XY.js} +4 -4
  52. package/dist/{Index-CskKmZpd.js → Index-BcoM6Ey6.js} +8 -8
  53. package/dist/{Index-CeSG1C41.js → Index-Bh2soZ1F.js} +4 -4
  54. package/dist/{Index-BBkCYm2q.js → Index-BhiRvxHn.js} +9 -9
  55. package/dist/{Index-4NPe0sfX.js → Index-Bs5HNmiU.js} +13 -13
  56. package/dist/{Index-CQpznMKV.js → Index-BvTmpPmR.js} +2 -2
  57. package/dist/{Index-cjKGSiDi.js → Index-BwT8Hwoq.js} +6 -6
  58. package/dist/{Index-BBwvo7S9.js → Index-CCFnGPfp.js} +2 -2
  59. package/dist/{Index-Bo6ExBUL.js → Index-CUkfchwo.js} +1 -1
  60. package/dist/{Index-DaV57YPP.js → Index-Cb5darWj.js} +5 -5
  61. package/dist/{Index-PZXyOoVb.js → Index-Cb8tNL45.js} +5 -5
  62. package/dist/{Index-BTFmHjUt.js → Index-CojPfAIx.js} +2 -2
  63. package/dist/{Index-BEMlsYwJ.js → Index-CyKsGzuK.js} +2 -2
  64. package/dist/{Index-0_3ULrWX.js → Index-D8KEDcDO.js} +7 -7
  65. package/dist/{Index-rGeWbLcB.js → Index-DHdoQxcG.js} +3 -3
  66. package/dist/{Index-CNWhm07R.js → Index-DNS5qQfm.js} +4 -4
  67. package/dist/Index-DXAI1Ne1.js +4 -0
  68. package/dist/{Index-vrljNp6G.js → Index-Db3i6u-o.js} +4 -4
  69. package/dist/{Index-Dw1CO5F9.js → Index-Dhh6Hcr9.js} +4 -4
  70. package/dist/{Index-DbwkmoyM.js → Index-DifFBTvj.js} +4 -4
  71. package/dist/{Index-Bx5TOI9k.js → Index-DsY2ydJE.js} +5 -5
  72. package/dist/{Index-m-goRuKD.js → Index-DyHhaZLs.js} +1 -1
  73. package/dist/{Index-ZUnH-BHj.js → Index-JomDf8y9.js} +2 -2
  74. package/dist/{Index-D8Ae1Txt.js → Index-Nx_Pp81f.js} +6 -6
  75. package/dist/{Index-BRBhJ6kz.js → Index-RRgjc-py.js} +3 -3
  76. package/dist/{Index-DE8aenDB.js → Index-d37tI3EX.js} +19 -19
  77. package/dist/{Index-C7GZS8EI.js → Index-sn6tE9Is.js} +1 -1
  78. package/dist/{Index.vue_vue_type_script_lang-aeVuChGF.js → Index.vue_vue_type_script_lang-Df0f-ak3.js} +2 -2
  79. package/dist/{InputToggleRow-v6qAWPg6.js → InputToggleRow-CzoU5I5q.js} +1 -1
  80. package/dist/ManualPopover-CFr4JxmL.js +64 -0
  81. package/dist/{MediaWrapper-CXb2UGd9.js → MediaWrapper-B5iL81Z_.js} +3 -3
  82. package/dist/{NotBindingText-BqESO13N.js → NotBindingText-B4_b2Zig.js} +2 -2
  83. package/dist/{PackageGroup-AIysVmyh.js → PackageGroup-C7FCSBfp.js} +5 -5
  84. package/dist/{PdfTerms-BlhHdTu3.js → PdfTerms-Dlvz9_Ud.js} +2 -2
  85. package/dist/{PdfViewer-DwZ1rwlN.js → PdfViewer-dI4v28Bk.js} +3 -3
  86. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D6NNUTz0.js → PlainHtml.vue_vue_type_script_setup_true_lang-i7vjlHZm.js} +1 -1
  87. package/dist/{PriceHeader-C4XhnoA3.js → PriceHeader-BA-ft89g.js} +7 -7
  88. package/dist/{SearchApi-B7lXgUY6.js → SearchApi-BrSR5t7r.js} +2 -2
  89. package/dist/{SendForm-BcD0xSvB.js → SendForm-CEA1OWuP.js} +8 -8
  90. package/dist/{Setup-C2qaYDei.js → Setup-BTMzlhTj.js} +1 -1
  91. package/dist/{SmartList-DqG7Q5t7.js → SmartList-BbJIkRWT.js} +1 -1
  92. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-CzMbr8AX.js → Sortable.vue_vue_type_script_setup_true_lang-BKt64PhC.js} +422 -414
  93. package/dist/{TermsSettings-BOCONyM4.js → TermsSettings-D1JXAN6J.js} +5 -5
  94. package/dist/{ThemeColorRow-sjGdMzGN.js → ThemeColorRow-DPW6oW_h.js} +3 -3
  95. package/dist/{ToggleBinding-7oq_oXPt.js → ToggleBinding-CriwSuzJ.js} +4 -4
  96. package/dist/{UploadModal-C_X2NjVY.js → UploadModal-C2UwnKBa.js} +2 -2
  97. package/dist/{VideoPlayerInput-BsUcmpl4.js → VideoPlayerInput-BWxlDUeC.js} +5 -5
  98. package/dist/{VideoPlayerSettings-BXMmxaZQ.js → VideoPlayerSettings-BesM2EOS.js} +2 -2
  99. package/dist/{VideoSelectModal-CW0OweCw.js → VideoSelectModal-BPipM_DD.js} +6 -6
  100. package/dist/{debounce-DNl99Gyo.js → debounce-maYKTo6w.js} +1 -1
  101. package/dist/{focusDrawerMixin-BwcErMDY.js → focusDrawerMixin-Cv4Fnb64.js} +1 -1
  102. package/dist/{formDrawerState-DaurePnd.js → formDrawerState-Cdrp-3tw.js} +1 -1
  103. package/dist/{helpers-CPW--XIz.js → helpers-lVEFx0PD.js} +1 -1
  104. package/dist/{index-E32WgUp9.js → index-5ijAriB0.js} +7 -7
  105. package/dist/{index-DKMxIBz_.js → index-CuYKY2w0.js} +5 -5
  106. package/dist/{index-BjiGCJPI.js → index-D0vSroeo.js} +1 -1
  107. package/dist/{index-Cx71On5Z.js → index-DEAKYn6U.js} +8 -8
  108. package/dist/{index-CFNv6OvX.js → index-dVnUqU3i.js} +1 -1
  109. package/dist/{index-DKf5SGLD.js → index-x9x0Q0A6.js} +1 -1
  110. package/dist/{index-kp-GC5I0.js → index-ypqE1092.js} +1 -1
  111. package/dist/index.es.js +2 -2
  112. package/dist/index.umd.js +140 -140
  113. package/dist/{main-Cb-nyil1.js → main-HovvOABR.js} +7557 -7652
  114. package/dist/{mapFormMixin-D3BihYWW.js → mapFormMixin-Drw03jK5.js} +2 -2
  115. package/dist/{omit--YYr41Xp.js → omit-CD-TQz-x.js} +1 -1
  116. package/dist/{publicSenderState-CdRW_Wwp.js → publicSenderState-DYJ1eAeA.js} +1 -1
  117. package/dist/{splitpanes-D-ThFkeR.js → splitpanes-n62uCqvD.js} +1 -1
  118. package/dist/style.css +1 -1
  119. package/dist/{template-BvaNnq-g.js → template-Cjq_4YHS.js} +1 -1
  120. package/dist/{throttle-D-bUGaVh.js → throttle-euWYHMPo.js} +2 -2
  121. package/dist/{tippy.esm-BmKNqohP.js → tippy.esm-15L5vY3N.js} +5 -5
  122. package/dist/{useTermsModal-Dhf6_eYb.js → useTermsModal-CHDFrnZm.js} +4 -4
  123. package/dist/{utils-CBPcYdLv.js → utils-CcUDRZ3Y.js} +1 -1
  124. package/dist/{validation-DOcUOoMe.js → validation-021sKbqs.js} +2 -2
  125. package/package.json +7 -7
  126. package/dist/Index-B1uA0FF6.js +0 -4
  127. package/dist/ManualPopover-BONBJIUA.js +0 -57
@@ -1,189 +1,189 @@
1
- import { aW as Pt, aX as xt, aY as Nt, aZ as Mt, L as Ft, a_ as at, Q as kt, h as Xt, i as Rt, $ as Yt, o as lt, c as Bt, w as Lt, d as Ht, k as Wt, F as Gt, n as zt, l as Vt, aq as jt, S as $t } from "./main-Cb-nyil1.js";
1
+ import { aW as Pt, aX as Nt, aY as xt, aZ as Mt, L as Ft, a_ as at, Q as kt, h as Xt, i as Rt, $ as Yt, o as lt, c as Bt, w as Lt, d as Ht, k as Wt, F as Gt, n as zt, l as Vt, aq as jt, S as $t } from "./main-HovvOABR.js";
2
2
  /**!
3
3
  * Sortable 1.10.2
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
7
  */
8
- function Ae(n) {
8
+ function Ae(t) {
9
9
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ae = function(e) {
10
10
  return typeof e;
11
11
  } : Ae = function(e) {
12
12
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
13
- }, Ae(n);
13
+ }, Ae(t);
14
14
  }
15
- function Ut(n, e, t) {
16
- return e in n ? Object.defineProperty(n, e, {
17
- value: t,
15
+ function Ut(t, e, n) {
16
+ return e in t ? Object.defineProperty(t, e, {
17
+ value: n,
18
18
  enumerable: !0,
19
19
  configurable: !0,
20
20
  writable: !0
21
- }) : n[e] = t, n;
21
+ }) : t[e] = n, t;
22
22
  }
23
23
  function j() {
24
- return j = Object.assign || function(n) {
24
+ return j = Object.assign || function(t) {
25
25
  for (var e = 1; e < arguments.length; e++) {
26
- var t = arguments[e];
27
- for (var o in t)
28
- Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]);
26
+ var n = arguments[e];
27
+ for (var o in n)
28
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
29
29
  }
30
- return n;
30
+ return t;
31
31
  }, j.apply(this, arguments);
32
32
  }
33
- function ee(n) {
33
+ function ee(t) {
34
34
  for (var e = 1; e < arguments.length; e++) {
35
- var t = arguments[e] != null ? arguments[e] : {}, o = Object.keys(t);
36
- typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(t).filter(function(i) {
37
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
35
+ var n = arguments[e] != null ? arguments[e] : {}, o = Object.keys(n);
36
+ typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(n).filter(function(i) {
37
+ return Object.getOwnPropertyDescriptor(n, i).enumerable;
38
38
  }))), o.forEach(function(i) {
39
- Ut(n, i, t[i]);
39
+ Ut(t, i, n[i]);
40
40
  });
41
41
  }
42
- return n;
42
+ return t;
43
43
  }
44
- function qt(n, e) {
45
- if (n == null) return {};
46
- var t = {}, o = Object.keys(n), i, r;
44
+ function qt(t, e) {
45
+ if (t == null) return {};
46
+ var n = {}, o = Object.keys(t), i, r;
47
47
  for (r = 0; r < o.length; r++)
48
- i = o[r], !(e.indexOf(i) >= 0) && (t[i] = n[i]);
49
- return t;
48
+ i = o[r], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
49
+ return n;
50
50
  }
51
- function Zt(n, e) {
52
- if (n == null) return {};
53
- var t = qt(n, e), o, i;
51
+ function Zt(t, e) {
52
+ if (t == null) return {};
53
+ var n = qt(t, e), o, i;
54
54
  if (Object.getOwnPropertySymbols) {
55
- var r = Object.getOwnPropertySymbols(n);
55
+ var r = Object.getOwnPropertySymbols(t);
56
56
  for (i = 0; i < r.length; i++)
57
- o = r[i], !(e.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(n, o) && (t[o] = n[o]);
57
+ o = r[i], !(e.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(t, o) && (n[o] = t[o]);
58
58
  }
59
- return t;
59
+ return n;
60
60
  }
61
61
  var Qt = "1.10.2";
62
- function V(n) {
62
+ function V(t) {
63
63
  if (typeof window < "u" && window.navigator)
64
- return !!/* @__PURE__ */ navigator.userAgent.match(n);
64
+ return !!/* @__PURE__ */ navigator.userAgent.match(t);
65
65
  }
66
66
  var $ = V(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), _e = V(/Edge/i), st = V(/firefox/i), Qe = V(/safari/i) && !V(/chrome/i) && !V(/android/i), mt = V(/iP(ad|od|hone)/i), Kt = V(/chrome/i) && V(/android/i), vt = {
67
67
  capture: !1,
68
68
  passive: !1
69
69
  };
70
- function y(n, e, t) {
71
- n.addEventListener(e, t, !$ && vt);
70
+ function y(t, e, n) {
71
+ t.addEventListener(e, n, !$ && vt);
72
72
  }
73
- function b(n, e, t) {
74
- n.removeEventListener(e, t, !$ && vt);
73
+ function b(t, e, n) {
74
+ t.removeEventListener(e, n, !$ && vt);
75
75
  }
76
- function Fe(n, e) {
76
+ function Fe(t, e) {
77
77
  if (e) {
78
- if (e[0] === ">" && (e = e.substring(1)), n)
78
+ if (e[0] === ">" && (e = e.substring(1)), t)
79
79
  try {
80
- if (n.matches)
81
- return n.matches(e);
82
- if (n.msMatchesSelector)
83
- return n.msMatchesSelector(e);
84
- if (n.webkitMatchesSelector)
85
- return n.webkitMatchesSelector(e);
80
+ if (t.matches)
81
+ return t.matches(e);
82
+ if (t.msMatchesSelector)
83
+ return t.msMatchesSelector(e);
84
+ if (t.webkitMatchesSelector)
85
+ return t.webkitMatchesSelector(e);
86
86
  } catch {
87
87
  return !1;
88
88
  }
89
89
  return !1;
90
90
  }
91
91
  }
92
- function Jt(n) {
93
- return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
92
+ function Jt(t) {
93
+ return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
94
94
  }
95
- function H(n, e, t, o) {
96
- if (n) {
97
- t = t || document;
95
+ function H(t, e, n, o) {
96
+ if (t) {
97
+ n = n || document;
98
98
  do {
99
- if (e != null && (e[0] === ">" ? n.parentNode === t && Fe(n, e) : Fe(n, e)) || o && n === t)
100
- return n;
101
- if (n === t) break;
102
- } while (n = Jt(n));
99
+ if (e != null && (e[0] === ">" ? t.parentNode === n && Fe(t, e) : Fe(t, e)) || o && t === n)
100
+ return t;
101
+ if (t === n) break;
102
+ } while (t = Jt(t));
103
103
  }
104
104
  return null;
105
105
  }
106
106
  var ut = /\s+/g;
107
- function M(n, e, t) {
108
- if (n && e)
109
- if (n.classList)
110
- n.classList[t ? "add" : "remove"](e);
107
+ function M(t, e, n) {
108
+ if (t && e)
109
+ if (t.classList)
110
+ t.classList[n ? "add" : "remove"](e);
111
111
  else {
112
- var o = (" " + n.className + " ").replace(ut, " ").replace(" " + e + " ", " ");
113
- n.className = (o + (t ? " " + e : "")).replace(ut, " ");
112
+ var o = (" " + t.className + " ").replace(ut, " ").replace(" " + e + " ", " ");
113
+ t.className = (o + (n ? " " + e : "")).replace(ut, " ");
114
114
  }
115
115
  }
116
- function h(n, e, t) {
117
- var o = n && n.style;
116
+ function h(t, e, n) {
117
+ var o = t && t.style;
118
118
  if (o) {
119
- if (t === void 0)
120
- return document.defaultView && document.defaultView.getComputedStyle ? t = document.defaultView.getComputedStyle(n, "") : n.currentStyle && (t = n.currentStyle), e === void 0 ? t : t[e];
121
- !(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = t + (typeof t == "string" ? "" : "px");
119
+ if (n === void 0)
120
+ return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(t, "") : t.currentStyle && (n = t.currentStyle), e === void 0 ? n : n[e];
121
+ !(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = n + (typeof n == "string" ? "" : "px");
122
122
  }
123
123
  }
124
- function ce(n, e) {
125
- var t = "";
126
- if (typeof n == "string")
127
- t = n;
124
+ function ce(t, e) {
125
+ var n = "";
126
+ if (typeof t == "string")
127
+ n = t;
128
128
  else
129
129
  do {
130
- var o = h(n, "transform");
131
- o && o !== "none" && (t = o + " " + t);
132
- } while (!e && (n = n.parentNode));
130
+ var o = h(t, "transform");
131
+ o && o !== "none" && (n = o + " " + n);
132
+ } while (!e && (t = t.parentNode));
133
133
  var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
134
- return i && new i(t);
134
+ return i && new i(n);
135
135
  }
136
- function bt(n, e, t) {
137
- if (n) {
138
- var o = n.getElementsByTagName(e), i = 0, r = o.length;
139
- if (t)
136
+ function bt(t, e, n) {
137
+ if (t) {
138
+ var o = t.getElementsByTagName(e), i = 0, r = o.length;
139
+ if (n)
140
140
  for (; i < r; i++)
141
- t(o[i], i);
141
+ n(o[i], i);
142
142
  return o;
143
143
  }
144
144
  return [];
145
145
  }
146
146
  function W() {
147
- var n = document.scrollingElement;
148
- return n || document.documentElement;
147
+ var t = document.scrollingElement;
148
+ return t || document.documentElement;
149
149
  }
150
- function I(n, e, t, o, i) {
151
- if (!(!n.getBoundingClientRect && n !== window)) {
152
- var r, a, l, s, u, c, f;
153
- if (n !== window && n !== W() ? (r = n.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, c = r.height, f = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, f = window.innerWidth), (e || t) && n !== window && (i = i || n.parentNode, !$))
150
+ function I(t, e, n, o, i) {
151
+ if (!(!t.getBoundingClientRect && t !== window)) {
152
+ var r, a, l, s, u, f, c;
153
+ if (t !== window && t !== W() ? (r = t.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, f = r.height, c = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, c = window.innerWidth), (e || n) && t !== window && (i = i || t.parentNode, !$))
154
154
  do
155
- if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || t && h(i, "position") !== "static")) {
155
+ if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || n && h(i, "position") !== "static")) {
156
156
  var m = i.getBoundingClientRect();
157
157
  a -= m.top + parseInt(h(i, "border-top-width")), l -= m.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
158
158
  break;
159
159
  }
160
160
  while (i = i.parentNode);
161
- if (o && n !== window) {
162
- var w = ce(i || n), v = w && w.a, E = w && w.d;
163
- w && (a /= E, l /= v, f /= v, c /= E, s = a + c, u = l + f);
161
+ if (o && t !== window) {
162
+ var w = ce(i || t), v = w && w.a, E = w && w.d;
163
+ w && (a /= E, l /= v, c /= v, f /= E, s = a + f, u = l + c);
164
164
  }
165
165
  return {
166
166
  top: a,
167
167
  left: l,
168
168
  bottom: s,
169
169
  right: u,
170
- width: f,
171
- height: c
170
+ width: c,
171
+ height: f
172
172
  };
173
173
  }
174
174
  }
175
- function dt(n, e, t) {
176
- for (var o = J(n, !0), i = I(n)[e]; o; ) {
177
- var r = I(o)[t], a = void 0;
175
+ function dt(t, e, n) {
176
+ for (var o = J(t, !0), i = I(t)[e]; o; ) {
177
+ var r = I(o)[n], a = void 0;
178
178
  if (a = i >= r, !a) return o;
179
179
  if (o === W()) break;
180
180
  o = J(o, !1);
181
181
  }
182
182
  return !1;
183
183
  }
184
- function ke(n, e, t) {
185
- for (var o = 0, i = 0, r = n.children; i < r.length; ) {
186
- if (r[i].style.display !== "none" && r[i] !== p.ghost && r[i] !== p.dragged && H(r[i], t.draggable, n, !1)) {
184
+ function ke(t, e, n) {
185
+ for (var o = 0, i = 0, r = t.children; i < r.length; ) {
186
+ if (r[i].style.display !== "none" && r[i] !== p.ghost && r[i] !== p.dragged && H(r[i], n.draggable, t, !1)) {
187
187
  if (o === e)
188
188
  return r[i];
189
189
  o++;
@@ -192,66 +192,66 @@ function ke(n, e, t) {
192
192
  }
193
193
  return null;
194
194
  }
195
- function nt(n, e) {
196
- for (var t = n.lastElementChild; t && (t === p.ghost || h(t, "display") === "none" || e && !Fe(t, e)); )
197
- t = t.previousElementSibling;
198
- return t || null;
195
+ function nt(t, e) {
196
+ for (var n = t.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || e && !Fe(n, e)); )
197
+ n = n.previousElementSibling;
198
+ return n || null;
199
199
  }
200
- function X(n, e) {
201
- var t = 0;
202
- if (!n || !n.parentNode)
200
+ function X(t, e) {
201
+ var n = 0;
202
+ if (!t || !t.parentNode)
203
203
  return -1;
204
- for (; n = n.previousElementSibling; )
205
- n.nodeName.toUpperCase() !== "TEMPLATE" && n !== p.clone && (!e || Fe(n, e)) && t++;
206
- return t;
204
+ for (; t = t.previousElementSibling; )
205
+ t.nodeName.toUpperCase() !== "TEMPLATE" && t !== p.clone && (!e || Fe(t, e)) && n++;
206
+ return n;
207
207
  }
208
- function ft(n) {
209
- var e = 0, t = 0, o = W();
210
- if (n)
208
+ function ft(t) {
209
+ var e = 0, n = 0, o = W();
210
+ if (t)
211
211
  do {
212
- var i = ce(n), r = i.a, a = i.d;
213
- e += n.scrollLeft * r, t += n.scrollTop * a;
214
- } while (n !== o && (n = n.parentNode));
215
- return [e, t];
212
+ var i = ce(t), r = i.a, a = i.d;
213
+ e += t.scrollLeft * r, n += t.scrollTop * a;
214
+ } while (t !== o && (t = t.parentNode));
215
+ return [e, n];
216
216
  }
217
- function en(n, e) {
218
- for (var t in n)
219
- if (n.hasOwnProperty(t)) {
217
+ function en(t, e) {
218
+ for (var n in t)
219
+ if (t.hasOwnProperty(n)) {
220
220
  for (var o in e)
221
- if (e.hasOwnProperty(o) && e[o] === n[t][o]) return Number(t);
221
+ if (e.hasOwnProperty(o) && e[o] === t[n][o]) return Number(n);
222
222
  }
223
223
  return -1;
224
224
  }
225
- function J(n, e) {
226
- if (!n || !n.getBoundingClientRect) return W();
227
- var t = n, o = !1;
225
+ function J(t, e) {
226
+ if (!t || !t.getBoundingClientRect) return W();
227
+ var n = t, o = !1;
228
228
  do
229
- if (t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight) {
230
- var i = h(t);
231
- if (t.clientWidth < t.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || t.clientHeight < t.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
232
- if (!t.getBoundingClientRect || t === document.body) return W();
233
- if (o || e) return t;
229
+ if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
230
+ var i = h(n);
231
+ if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
232
+ if (!n.getBoundingClientRect || n === document.body) return W();
233
+ if (o || e) return n;
234
234
  o = !0;
235
235
  }
236
236
  }
237
- while (t = t.parentNode);
237
+ while (n = n.parentNode);
238
238
  return W();
239
239
  }
240
- function tn(n, e) {
241
- if (n && e)
242
- for (var t in e)
243
- e.hasOwnProperty(t) && (n[t] = e[t]);
244
- return n;
240
+ function tn(t, e) {
241
+ if (t && e)
242
+ for (var n in e)
243
+ e.hasOwnProperty(n) && (t[n] = e[n]);
244
+ return t;
245
245
  }
246
- function He(n, e) {
247
- return Math.round(n.top) === Math.round(e.top) && Math.round(n.left) === Math.round(e.left) && Math.round(n.height) === Math.round(e.height) && Math.round(n.width) === Math.round(e.width);
246
+ function He(t, e) {
247
+ return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
248
248
  }
249
249
  var ye;
250
- function yt(n, e) {
250
+ function yt(t, e) {
251
251
  return function() {
252
252
  if (!ye) {
253
- var t = arguments, o = this;
254
- t.length === 1 ? n.call(o, t[0]) : n.apply(o, t), ye = setTimeout(function() {
253
+ var n = arguments, o = this;
254
+ n.length === 1 ? t.call(o, n[0]) : t.apply(o, n), ye = setTimeout(function() {
255
255
  ye = void 0;
256
256
  }, e);
257
257
  }
@@ -260,27 +260,27 @@ function yt(n, e) {
260
260
  function nn() {
261
261
  clearTimeout(ye), ye = void 0;
262
262
  }
263
- function Et(n, e, t) {
264
- n.scrollLeft += e, n.scrollTop += t;
263
+ function Et(t, e, n) {
264
+ t.scrollLeft += e, t.scrollTop += n;
265
265
  }
266
- function wt(n) {
267
- var e = window.Polymer, t = window.jQuery || window.Zepto;
268
- return e && e.dom ? e.dom(n).cloneNode(!0) : t ? t(n).clone(!0)[0] : n.cloneNode(!0);
266
+ function wt(t) {
267
+ var e = window.Polymer, n = window.jQuery || window.Zepto;
268
+ return e && e.dom ? e.dom(t).cloneNode(!0) : n ? n(t).clone(!0)[0] : t.cloneNode(!0);
269
269
  }
270
270
  var k = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
271
271
  function on() {
272
- var n = [], e;
272
+ var t = [], e;
273
273
  return {
274
274
  captureAnimationState: function() {
275
- if (n = [], !!this.options.animation) {
275
+ if (t = [], !!this.options.animation) {
276
276
  var o = [].slice.call(this.el.children);
277
277
  o.forEach(function(i) {
278
278
  if (!(h(i, "display") === "none" || i === p.ghost)) {
279
- n.push({
279
+ t.push({
280
280
  target: i,
281
281
  rect: I(i)
282
282
  });
283
- var r = ee({}, n[n.length - 1].rect);
283
+ var r = ee({}, t[t.length - 1].rect);
284
284
  if (i.thisAnimationDuration) {
285
285
  var a = ce(i, !0);
286
286
  a && (r.top -= a.f, r.left -= a.e);
@@ -291,10 +291,10 @@ function on() {
291
291
  }
292
292
  },
293
293
  addAnimationState: function(o) {
294
- n.push(o);
294
+ t.push(o);
295
295
  },
296
296
  removeAnimationState: function(o) {
297
- n.splice(en(n, {
297
+ t.splice(en(t, {
298
298
  target: o
299
299
  }), 1);
300
300
  },
@@ -305,60 +305,60 @@ function on() {
305
305
  return;
306
306
  }
307
307
  var r = !1, a = 0;
308
- n.forEach(function(l) {
309
- var s = 0, u = l.target, c = u.fromRect, f = I(u), m = u.prevFromRect, w = u.prevToRect, v = l.rect, E = ce(u, !0);
310
- E && (f.top -= E.f, f.left -= E.e), u.toRect = f, u.thisAnimationDuration && He(m, f) && !He(c, f) && // Make sure animatingRect is on line between toRect & fromRect
311
- (v.top - f.top) / (v.left - f.left) === (c.top - f.top) / (c.left - f.left) && (s = an(v, m, w, i.options)), He(f, c) || (u.prevFromRect = c, u.prevToRect = f, s || (s = i.options.animation), i.animate(u, v, f, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
308
+ t.forEach(function(l) {
309
+ var s = 0, u = l.target, f = u.fromRect, c = I(u), m = u.prevFromRect, w = u.prevToRect, v = l.rect, E = ce(u, !0);
310
+ E && (c.top -= E.f, c.left -= E.e), u.toRect = c, u.thisAnimationDuration && He(m, c) && !He(f, c) && // Make sure animatingRect is on line between toRect & fromRect
311
+ (v.top - c.top) / (v.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s = an(v, m, w, i.options)), He(c, f) || (u.prevFromRect = f, u.prevToRect = c, s || (s = i.options.animation), i.animate(u, v, c, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
312
312
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
313
313
  }, s), u.thisAnimationDuration = s);
314
314
  }), clearTimeout(e), r ? e = setTimeout(function() {
315
315
  typeof o == "function" && o();
316
- }, a) : typeof o == "function" && o(), n = [];
316
+ }, a) : typeof o == "function" && o(), t = [];
317
317
  },
318
318
  animate: function(o, i, r, a) {
319
319
  if (a) {
320
320
  h(o, "transition", ""), h(o, "transform", "");
321
- var l = ce(this.el), s = l && l.a, u = l && l.d, c = (i.left - r.left) / (s || 1), f = (i.top - r.top) / (u || 1);
322
- o.animatingX = !!c, o.animatingY = !!f, h(o, "transform", "translate3d(" + c + "px," + f + "px,0)"), rn(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() {
321
+ var l = ce(this.el), s = l && l.a, u = l && l.d, f = (i.left - r.left) / (s || 1), c = (i.top - r.top) / (u || 1);
322
+ o.animatingX = !!f, o.animatingY = !!c, h(o, "transform", "translate3d(" + f + "px," + c + "px,0)"), rn(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() {
323
323
  h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
324
324
  }, a);
325
325
  }
326
326
  }
327
327
  };
328
328
  }
329
- function rn(n) {
330
- return n.offsetWidth;
329
+ function rn(t) {
330
+ return t.offsetWidth;
331
331
  }
332
- function an(n, e, t, o) {
333
- return Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) / Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) * o.animation;
332
+ function an(t, e, n, o) {
333
+ return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) * o.animation;
334
334
  }
335
335
  var ge = [], We = {
336
336
  initializeByDefault: !0
337
337
  }, Se = {
338
338
  mount: function(e) {
339
- for (var t in We)
340
- We.hasOwnProperty(t) && !(t in e) && (e[t] = We[t]);
339
+ for (var n in We)
340
+ We.hasOwnProperty(n) && !(n in e) && (e[n] = We[n]);
341
341
  ge.push(e);
342
342
  },
343
- pluginEvent: function(e, t, o) {
343
+ pluginEvent: function(e, n, o) {
344
344
  var i = this;
345
345
  this.eventCanceled = !1, o.cancel = function() {
346
346
  i.eventCanceled = !0;
347
347
  };
348
348
  var r = e + "Global";
349
349
  ge.forEach(function(a) {
350
- t[a.pluginName] && (t[a.pluginName][r] && t[a.pluginName][r](ee({
351
- sortable: t
352
- }, o)), t.options[a.pluginName] && t[a.pluginName][e] && t[a.pluginName][e](ee({
353
- sortable: t
350
+ n[a.pluginName] && (n[a.pluginName][r] && n[a.pluginName][r](ee({
351
+ sortable: n
352
+ }, o)), n.options[a.pluginName] && n[a.pluginName][e] && n[a.pluginName][e](ee({
353
+ sortable: n
354
354
  }, o)));
355
355
  });
356
356
  },
357
- initializePlugins: function(e, t, o, i) {
357
+ initializePlugins: function(e, n, o, i) {
358
358
  ge.forEach(function(l) {
359
359
  var s = l.pluginName;
360
360
  if (!(!e.options[s] && !l.initializeByDefault)) {
361
- var u = new l(e, t, e.options);
361
+ var u = new l(e, n, e.options);
362
362
  u.sortable = e, u.options = e.options, e[s] = u, j(o, u.defaults);
363
363
  }
364
364
  });
@@ -368,36 +368,36 @@ var ge = [], We = {
368
368
  typeof a < "u" && (e.options[r] = a);
369
369
  }
370
370
  },
371
- getEventProperties: function(e, t) {
371
+ getEventProperties: function(e, n) {
372
372
  var o = {};
373
373
  return ge.forEach(function(i) {
374
- typeof i.eventProperties == "function" && j(o, i.eventProperties.call(t[i.pluginName], e));
374
+ typeof i.eventProperties == "function" && j(o, i.eventProperties.call(n[i.pluginName], e));
375
375
  }), o;
376
376
  },
377
- modifyOption: function(e, t, o) {
377
+ modifyOption: function(e, n, o) {
378
378
  var i;
379
379
  return ge.forEach(function(r) {
380
- e[r.pluginName] && r.optionListeners && typeof r.optionListeners[t] == "function" && (i = r.optionListeners[t].call(e[r.pluginName], o));
380
+ e[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (i = r.optionListeners[n].call(e[r.pluginName], o));
381
381
  }), i;
382
382
  }
383
383
  };
384
- function ln(n) {
385
- var e = n.sortable, t = n.rootEl, o = n.name, i = n.targetEl, r = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, c = n.oldDraggableIndex, f = n.newDraggableIndex, m = n.originalEvent, w = n.putSortable, v = n.extraEventProperties;
386
- if (e = e || t && t[k], !!e) {
384
+ function ln(t) {
385
+ var e = t.sortable, n = t.rootEl, o = t.name, i = t.targetEl, r = t.cloneEl, a = t.toEl, l = t.fromEl, s = t.oldIndex, u = t.newIndex, f = t.oldDraggableIndex, c = t.newDraggableIndex, m = t.originalEvent, w = t.putSortable, v = t.extraEventProperties;
386
+ if (e = e || n && n[k], !!e) {
387
387
  var E, R = e.options, U = "on" + o.charAt(0).toUpperCase() + o.substr(1);
388
388
  window.CustomEvent && !$ && !_e ? E = new CustomEvent(o, {
389
389
  bubbles: !0,
390
390
  cancelable: !0
391
- }) : (E = document.createEvent("Event"), E.initEvent(o, !0, !0)), E.to = a || t, E.from = l || t, E.item = i || t, E.clone = r, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = c, E.newDraggableIndex = f, E.originalEvent = m, E.pullMode = w ? w.lastPutMode : void 0;
392
- var x = ee({}, v, Se.getEventProperties(o, e));
393
- for (var B in x)
394
- E[B] = x[B];
395
- t && t.dispatchEvent(E), R[U] && R[U].call(e, E);
391
+ }) : (E = document.createEvent("Event"), E.initEvent(o, !0, !0)), E.to = a || n, E.from = l || n, E.item = i || n, E.clone = r, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = f, E.newDraggableIndex = c, E.originalEvent = m, E.pullMode = w ? w.lastPutMode : void 0;
392
+ var N = ee({}, v, Se.getEventProperties(o, e));
393
+ for (var B in N)
394
+ E[B] = N[B];
395
+ n && n.dispatchEvent(E), R[U] && R[U].call(e, E);
396
396
  }
397
397
  }
398
- var P = function(e, t) {
398
+ var P = function(e, n) {
399
399
  var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = Zt(o, ["evt"]);
400
- Se.pluginEvent.bind(p)(e, t, ee({
400
+ Se.pluginEvent.bind(p)(e, n, ee({
401
401
  dragEl: d,
402
402
  parentEl: S,
403
403
  ghostEl: g,
@@ -424,14 +424,14 @@ var P = function(e, t) {
424
424
  },
425
425
  dispatchSortableEvent: function(l) {
426
426
  A({
427
- sortable: t,
427
+ sortable: n,
428
428
  name: l,
429
429
  originalEvent: i
430
430
  });
431
431
  }
432
432
  }, r));
433
433
  };
434
- function A(n) {
434
+ function A(t) {
435
435
  ln(ee({
436
436
  putSortable: C,
437
437
  cloneEl: _,
@@ -441,50 +441,50 @@ function A(n) {
441
441
  oldDraggableIndex: Ee,
442
442
  newIndex: F,
443
443
  newDraggableIndex: Q
444
- }, n));
444
+ }, t));
445
445
  }
446
- var d, S, g, D, ae, Pe, _, K, fe, F, Ee, Q, Ce, C, de = !1, Xe = !1, Re = [], ie, Y, Ge, ze, ct, ht, me, ue, we, De = !1, Ie = !1, xe, O, Ve = [], Ke = !1, Ye = [], Le = typeof document < "u", Oe = mt, pt = _e || $ ? "cssFloat" : "float", sn = Le && !Kt && !mt && "draggable" in document.createElement("div"), Dt = function() {
446
+ var d, S, g, D, ae, Pe, _, K, fe, F, Ee, Q, Ce, C, de = !1, Xe = !1, Re = [], ie, Y, Ge, ze, ct, ht, me, ue, we, De = !1, Ie = !1, Ne, O, Ve = [], Ke = !1, Ye = [], Le = typeof document < "u", Oe = mt, pt = _e || $ ? "cssFloat" : "float", sn = Le && !Kt && !mt && "draggable" in document.createElement("div"), Dt = function() {
447
447
  if (Le) {
448
448
  if ($)
449
449
  return !1;
450
- var n = document.createElement("x");
451
- return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
450
+ var t = document.createElement("x");
451
+ return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
452
452
  }
453
- }(), _t = function(e, t) {
454
- var o = h(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = ke(e, 0, t), a = ke(e, 1, t), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + I(r).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + I(a).width;
453
+ }(), _t = function(e, n) {
454
+ var o = h(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = ke(e, 0, n), a = ke(e, 1, n), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + I(r).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + I(a).width;
455
455
  if (o.display === "flex")
456
456
  return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
457
457
  if (o.display === "grid")
458
458
  return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
459
459
  if (r && l.float && l.float !== "none") {
460
- var f = l.float === "left" ? "left" : "right";
461
- return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
460
+ var c = l.float === "left" ? "left" : "right";
461
+ return a && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
462
462
  }
463
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[pt] === "none" || a && o[pt] === "none" && u + c > i) ? "vertical" : "horizontal";
464
- }, un = function(e, t, o) {
465
- var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? t.left : t.top, s = o ? t.right : t.bottom, u = o ? t.width : t.height;
463
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[pt] === "none" || a && o[pt] === "none" && u + f > i) ? "vertical" : "horizontal";
464
+ }, un = function(e, n, o) {
465
+ var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
466
466
  return i === l || r === s || i + a / 2 === l + u / 2;
467
- }, dn = function(e, t) {
467
+ }, dn = function(e, n) {
468
468
  var o;
469
469
  return Re.some(function(i) {
470
470
  if (!nt(i)) {
471
- var r = I(i), a = i[k].options.emptyInsertThreshold, l = e >= r.left - a && e <= r.right + a, s = t >= r.top - a && t <= r.bottom + a;
471
+ var r = I(i), a = i[k].options.emptyInsertThreshold, l = e >= r.left - a && e <= r.right + a, s = n >= r.top - a && n <= r.bottom + a;
472
472
  if (a && l && s)
473
473
  return o = i;
474
474
  }
475
475
  }), o;
476
476
  }, St = function(e) {
477
- function t(r, a) {
478
- return function(l, s, u, c) {
479
- var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
480
- if (r == null && (a || f))
477
+ function n(r, a) {
478
+ return function(l, s, u, f) {
479
+ var c = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
480
+ if (r == null && (a || c))
481
481
  return !0;
482
482
  if (r == null || r === !1)
483
483
  return !1;
484
484
  if (a && r === "clone")
485
485
  return r;
486
486
  if (typeof r == "function")
487
- return t(r(l, s, u, c), a)(l, s, u, c);
487
+ return n(r(l, s, u, f), a)(l, s, u, f);
488
488
  var m = (a ? l : s).options.group.name;
489
489
  return r === !0 || typeof r == "string" && r === m || r.join && r.indexOf(m) > -1;
490
490
  };
@@ -492,41 +492,41 @@ var d, S, g, D, ae, Pe, _, K, fe, F, Ee, Q, Ce, C, de = !1, Xe = !1, Re = [], ie
492
492
  var o = {}, i = e.group;
493
493
  (!i || Ae(i) != "object") && (i = {
494
494
  name: i
495
- }), o.name = i.name, o.checkPull = t(i.pull, !0), o.checkPut = t(i.put), o.revertClone = i.revertClone, e.group = o;
495
+ }), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, e.group = o;
496
496
  }, Tt = function() {
497
497
  !Dt && g && h(g, "display", "none");
498
498
  }, Ct = function() {
499
499
  !Dt && g && h(g, "display", "");
500
500
  };
501
- Le && document.addEventListener("click", function(n) {
501
+ Le && document.addEventListener("click", function(t) {
502
502
  if (Xe)
503
- return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Xe = !1, !1;
503
+ return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Xe = !1, !1;
504
504
  }, !0);
505
505
  var re = function(e) {
506
506
  if (d) {
507
507
  e = e.touches ? e.touches[0] : e;
508
- var t = dn(e.clientX, e.clientY);
509
- if (t) {
508
+ var n = dn(e.clientX, e.clientY);
509
+ if (n) {
510
510
  var o = {};
511
511
  for (var i in e)
512
512
  e.hasOwnProperty(i) && (o[i] = e[i]);
513
- o.target = o.rootEl = t, o.preventDefault = void 0, o.stopPropagation = void 0, t[k]._onDragOver(o);
513
+ o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[k]._onDragOver(o);
514
514
  }
515
515
  }
516
516
  }, fn = function(e) {
517
517
  d && d.parentNode[k]._isOutsideThisEl(e.target);
518
518
  };
519
- function p(n, e) {
520
- if (!(n && n.nodeType && n.nodeType === 1))
521
- throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
522
- this.el = n, this.options = e = j({}, e), n[k] = this;
523
- var t = {
519
+ function p(t, e) {
520
+ if (!(t && t.nodeType && t.nodeType === 1))
521
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
522
+ this.el = t, this.options = e = j({}, e), t[k] = this;
523
+ var n = {
524
524
  group: null,
525
525
  sort: !0,
526
526
  disabled: !1,
527
527
  store: null,
528
528
  handle: null,
529
- draggable: /^[uo]l$/i.test(n.nodeName) ? ">li" : ">*",
529
+ draggable: /^[uo]l$/i.test(t.nodeName) ? ">li" : ">*",
530
530
  swapThreshold: 1,
531
531
  // percentage; 0 <= x <= 1
532
532
  invertSwap: !1,
@@ -535,7 +535,7 @@ function p(n, e) {
535
535
  // will be set to same as swapThreshold if default
536
536
  removeCloneOnHide: !0,
537
537
  direction: function() {
538
- return _t(n, this.options);
538
+ return _t(t, this.options);
539
539
  },
540
540
  ghostClass: "sortable-ghost",
541
541
  chosenClass: "sortable-chosen",
@@ -565,13 +565,13 @@ function p(n, e) {
565
565
  supportPointer: p.supportPointer !== !1 && "PointerEvent" in window,
566
566
  emptyInsertThreshold: 5
567
567
  };
568
- Se.initializePlugins(this, n, t);
569
- for (var o in t)
570
- !(o in e) && (e[o] = t[o]);
568
+ Se.initializePlugins(this, t, n);
569
+ for (var o in n)
570
+ !(o in e) && (e[o] = n[o]);
571
571
  St(e);
572
572
  for (var i in this)
573
573
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
574
- this.nativeDraggable = e.forceFallback ? !1 : sn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? y(n, "pointerdown", this._onTapStart) : (y(n, "mousedown", this._onTapStart), y(n, "touchstart", this._onTapStart)), this.nativeDraggable && (y(n, "dragover", this), y(n, "dragenter", this)), Re.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), j(this, on());
574
+ this.nativeDraggable = e.forceFallback ? !1 : sn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? y(t, "pointerdown", this._onTapStart) : (y(t, "mousedown", this._onTapStart), y(t, "touchstart", this._onTapStart)), this.nativeDraggable && (y(t, "dragover", this), y(t, "dragenter", this)), Re.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), j(this, on());
575
575
  }
576
576
  p.prototype = /** @lends Sortable.prototype */
577
577
  {
@@ -579,40 +579,40 @@ p.prototype = /** @lends Sortable.prototype */
579
579
  _isOutsideThisEl: function(e) {
580
580
  !this.el.contains(e) && e !== this.el && (ue = null);
581
581
  },
582
- _getDirection: function(e, t) {
583
- return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, d) : this.options.direction;
582
+ _getDirection: function(e, n) {
583
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, e, n, d) : this.options.direction;
584
584
  },
585
585
  _onTapStart: function(e) {
586
586
  if (e.cancelable) {
587
- var t = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, c = i.filter;
587
+ var n = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, f = i.filter;
588
588
  if (bn(o), !d && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && (s = H(s, i.draggable, o, !1), !(s && s.animated) && Pe !== s)) {
589
- if (fe = X(s), Ee = X(s, i.draggable), typeof c == "function") {
590
- if (c.call(this, e, s, this)) {
589
+ if (fe = X(s), Ee = X(s, i.draggable), typeof f == "function") {
590
+ if (f.call(this, e, s, this)) {
591
591
  A({
592
- sortable: t,
592
+ sortable: n,
593
593
  rootEl: u,
594
594
  name: "filter",
595
595
  targetEl: s,
596
596
  toEl: o,
597
597
  fromEl: o
598
- }), P("filter", t, {
598
+ }), P("filter", n, {
599
599
  evt: e
600
600
  }), r && e.cancelable && e.preventDefault();
601
601
  return;
602
602
  }
603
- } else if (c && (c = c.split(",").some(function(f) {
604
- if (f = H(u, f.trim(), o, !1), f)
603
+ } else if (f && (f = f.split(",").some(function(c) {
604
+ if (c = H(u, c.trim(), o, !1), c)
605
605
  return A({
606
- sortable: t,
607
- rootEl: f,
606
+ sortable: n,
607
+ rootEl: c,
608
608
  name: "filter",
609
609
  targetEl: s,
610
610
  fromEl: o,
611
611
  toEl: o
612
- }), P("filter", t, {
612
+ }), P("filter", n, {
613
613
  evt: e
614
614
  }), !0;
615
- }), c)) {
615
+ }), f)) {
616
616
  r && e.cancelable && e.preventDefault();
617
617
  return;
618
618
  }
@@ -620,31 +620,31 @@ p.prototype = /** @lends Sortable.prototype */
620
620
  }
621
621
  }
622
622
  },
623
- _prepareDragStart: function(e, t, o) {
623
+ _prepareDragStart: function(e, n, o) {
624
624
  var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
625
625
  if (o && !d && o.parentNode === r) {
626
626
  var u = I(o);
627
627
  if (D = r, d = o, S = d.parentNode, ae = d.nextSibling, Pe = o, Ce = a.group, p.dragged = d, ie = {
628
628
  target: d,
629
- clientX: (t || e).clientX,
630
- clientY: (t || e).clientY
631
- }, ct = ie.clientX - u.left, ht = ie.clientY - u.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, d.style["will-change"] = "all", s = function() {
629
+ clientX: (n || e).clientX,
630
+ clientY: (n || e).clientY
631
+ }, ct = ie.clientX - u.left, ht = ie.clientY - u.top, this._lastX = (n || e).clientX, this._lastY = (n || e).clientY, d.style["will-change"] = "all", s = function() {
632
632
  if (P("delayEnded", i, {
633
633
  evt: e
634
634
  }), p.eventCanceled) {
635
635
  i._onDrop();
636
636
  return;
637
637
  }
638
- i._disableDelayedDragEvents(), !st && i.nativeDraggable && (d.draggable = !0), i._triggerDragStart(e, t), A({
638
+ i._disableDelayedDragEvents(), !st && i.nativeDraggable && (d.draggable = !0), i._triggerDragStart(e, n), A({
639
639
  sortable: i,
640
640
  name: "choose",
641
641
  originalEvent: e
642
642
  }), M(d, a.chosenClass, !0);
643
- }, a.ignore.split(",").forEach(function(c) {
644
- bt(d, c.trim(), $e);
643
+ }, a.ignore.split(",").forEach(function(f) {
644
+ bt(d, f.trim(), $e);
645
645
  }), y(l, "dragover", re), y(l, "mousemove", re), y(l, "touchmove", re), y(l, "mouseup", i._onDrop), y(l, "touchend", i._onDrop), y(l, "touchcancel", i._onDrop), st && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), P("delayStart", this, {
646
646
  evt: e
647
- }), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(_e || $))) {
647
+ }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(_e || $))) {
648
648
  if (p.eventCanceled) {
649
649
  this._onDrop();
650
650
  return;
@@ -655,8 +655,8 @@ p.prototype = /** @lends Sortable.prototype */
655
655
  }
656
656
  },
657
657
  _delayedDragTouchMoveHandler: function(e) {
658
- var t = e.touches ? e.touches[0] : e;
659
- Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
658
+ var n = e.touches ? e.touches[0] : e;
659
+ 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();
660
660
  },
661
661
  _disableDelayedDrag: function() {
662
662
  d && $e(d), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
@@ -665,25 +665,25 @@ p.prototype = /** @lends Sortable.prototype */
665
665
  var e = this.el.ownerDocument;
666
666
  b(e, "mouseup", this._disableDelayedDrag), b(e, "touchend", this._disableDelayedDrag), b(e, "touchcancel", this._disableDelayedDrag), b(e, "mousemove", this._delayedDragTouchMoveHandler), b(e, "touchmove", this._delayedDragTouchMoveHandler), b(e, "pointermove", this._delayedDragTouchMoveHandler);
667
667
  },
668
- _triggerDragStart: function(e, t) {
669
- t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? y(document, "pointermove", this._onTouchMove) : t ? y(document, "touchmove", this._onTouchMove) : y(document, "mousemove", this._onTouchMove) : (y(d, "dragend", this), y(D, "dragstart", this._onDragStart));
668
+ _triggerDragStart: function(e, n) {
669
+ n = n || e.pointerType == "touch" && e, !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(D, "dragstart", this._onDragStart));
670
670
  try {
671
- document.selection ? Ne(function() {
671
+ document.selection ? xe(function() {
672
672
  document.selection.empty();
673
673
  }) : window.getSelection().removeAllRanges();
674
674
  } catch {
675
675
  }
676
676
  },
677
- _dragStarted: function(e, t) {
677
+ _dragStarted: function(e, n) {
678
678
  if (de = !1, D && d) {
679
679
  P("dragStarted", this, {
680
- evt: t
680
+ evt: n
681
681
  }), this.nativeDraggable && y(document, "dragover", fn);
682
682
  var o = this.options;
683
683
  !e && M(d, o.dragClass, !1), M(d, o.ghostClass, !0), p.active = this, e && this._appendGhost(), A({
684
684
  sortable: this,
685
685
  name: "start",
686
- originalEvent: t
686
+ originalEvent: n
687
687
  });
688
688
  } else
689
689
  this._nulling();
@@ -691,60 +691,60 @@ p.prototype = /** @lends Sortable.prototype */
691
691
  _emulateDragOver: function() {
692
692
  if (Y) {
693
693
  this._lastX = Y.clientX, this._lastY = Y.clientY, Tt();
694
- for (var e = document.elementFromPoint(Y.clientX, Y.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(Y.clientX, Y.clientY), e !== t); )
695
- t = e;
696
- if (d.parentNode[k]._isOutsideThisEl(e), t)
694
+ for (var e = document.elementFromPoint(Y.clientX, Y.clientY), n = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(Y.clientX, Y.clientY), e !== n); )
695
+ n = e;
696
+ if (d.parentNode[k]._isOutsideThisEl(e), n)
697
697
  do {
698
- if (t[k]) {
698
+ if (n[k]) {
699
699
  var o = void 0;
700
- if (o = t[k]._onDragOver({
700
+ if (o = n[k]._onDragOver({
701
701
  clientX: Y.clientX,
702
702
  clientY: Y.clientY,
703
703
  target: e,
704
- rootEl: t
704
+ rootEl: n
705
705
  }), o && !this.options.dragoverBubble)
706
706
  break;
707
707
  }
708
- e = t;
709
- } while (t = t.parentNode);
708
+ e = n;
709
+ } while (n = n.parentNode);
710
710
  Ct();
711
711
  }
712
712
  },
713
713
  _onTouchMove: function(e) {
714
714
  if (ie) {
715
- var t = this.options, o = t.fallbackTolerance, i = t.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && ce(g, !0), l = g && a && a.a, s = g && a && a.d, u = Oe && O && ft(O), c = (r.clientX - ie.clientX + i.x) / (l || 1) + (u ? u[0] - Ve[0] : 0) / (l || 1), f = (r.clientY - ie.clientY + i.y) / (s || 1) + (u ? u[1] - Ve[1] : 0) / (s || 1);
715
+ var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && ce(g, !0), l = g && a && a.a, s = g && a && a.d, u = Oe && O && ft(O), f = (r.clientX - ie.clientX + i.x) / (l || 1) + (u ? u[0] - Ve[0] : 0) / (l || 1), c = (r.clientY - ie.clientY + i.y) / (s || 1) + (u ? u[1] - Ve[1] : 0) / (s || 1);
716
716
  if (!p.active && !de) {
717
717
  if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
718
718
  return;
719
719
  this._onDragStart(e, !0);
720
720
  }
721
721
  if (g) {
722
- a ? (a.e += c - (Ge || 0), a.f += f - (ze || 0)) : a = {
722
+ a ? (a.e += f - (Ge || 0), a.f += c - (ze || 0)) : a = {
723
723
  a: 1,
724
724
  b: 0,
725
725
  c: 0,
726
726
  d: 1,
727
- e: c,
728
- f
727
+ e: f,
728
+ f: c
729
729
  };
730
730
  var m = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
731
- h(g, "webkitTransform", m), h(g, "mozTransform", m), h(g, "msTransform", m), h(g, "transform", m), Ge = c, ze = f, Y = r;
731
+ h(g, "webkitTransform", m), h(g, "mozTransform", m), h(g, "msTransform", m), h(g, "transform", m), Ge = f, ze = c, Y = r;
732
732
  }
733
733
  e.cancelable && e.preventDefault();
734
734
  }
735
735
  },
736
736
  _appendGhost: function() {
737
737
  if (!g) {
738
- var e = this.options.fallbackOnBody ? document.body : D, t = I(d, !0, Oe, !0, e), o = this.options;
738
+ var e = this.options.fallbackOnBody ? document.body : D, n = I(d, !0, Oe, !0, e), o = this.options;
739
739
  if (Oe) {
740
740
  for (O = e; h(O, "position") === "static" && h(O, "transform") === "none" && O !== document; )
741
741
  O = O.parentNode;
742
- O !== document.body && O !== document.documentElement ? (O === document && (O = W()), t.top += O.scrollTop, t.left += O.scrollLeft) : O = W(), Ve = ft(O);
742
+ O !== document.body && O !== document.documentElement ? (O === document && (O = W()), n.top += O.scrollTop, n.left += O.scrollLeft) : O = W(), Ve = ft(O);
743
743
  }
744
- g = d.cloneNode(!0), M(g, o.ghostClass, !1), M(g, o.fallbackClass, !0), M(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", t.top), h(g, "left", t.left), h(g, "width", t.width), h(g, "height", t.height), h(g, "opacity", "0.8"), h(g, "position", Oe ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", ct / parseInt(g.style.width) * 100 + "% " + ht / parseInt(g.style.height) * 100 + "%");
744
+ g = d.cloneNode(!0), M(g, o.ghostClass, !1), M(g, o.fallbackClass, !0), M(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", n.top), h(g, "left", n.left), h(g, "width", n.width), h(g, "height", n.height), h(g, "opacity", "0.8"), h(g, "position", Oe ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", ct / parseInt(g.style.width) * 100 + "% " + ht / parseInt(g.style.height) * 100 + "%");
745
745
  }
746
746
  },
747
- _onDragStart: function(e, t) {
747
+ _onDragStart: function(e, n) {
748
748
  var o = this, i = e.dataTransfer, r = o.options;
749
749
  if (P("dragStart", this, {
750
750
  evt: e
@@ -752,31 +752,31 @@ p.prototype = /** @lends Sortable.prototype */
752
752
  this._onDrop();
753
753
  return;
754
754
  }
755
- P("setupClone", this), p.eventCanceled || (_ = wt(d), _.draggable = !1, _.style["will-change"] = "", this._hideClone(), M(_, this.options.chosenClass, !1), p.clone = _), o.cloneId = Ne(function() {
755
+ P("setupClone", this), p.eventCanceled || (_ = wt(d), _.draggable = !1, _.style["will-change"] = "", this._hideClone(), M(_, this.options.chosenClass, !1), p.clone = _), o.cloneId = xe(function() {
756
756
  P("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || D.insertBefore(_, d), o._hideClone(), A({
757
757
  sortable: o,
758
758
  name: "clone"
759
759
  }));
760
- }), !t && M(d, r.dragClass, !0), t ? (Xe = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, d)), y(document, "drop", o), h(d, "transform", "translateZ(0)")), de = !0, o._dragStartId = Ne(o._dragStarted.bind(o, t, e)), y(document, "selectstart", o), me = !0, Qe && h(document.body, "user-select", "none");
760
+ }), !n && M(d, r.dragClass, !0), n ? (Xe = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, d)), y(document, "drop", o), h(d, "transform", "translateZ(0)")), de = !0, o._dragStartId = xe(o._dragStarted.bind(o, n, e)), y(document, "selectstart", o), me = !0, Qe && h(document.body, "user-select", "none");
761
761
  },
762
762
  // Returns true - if no further action is needed (either inserted or another condition)
763
763
  _onDragOver: function(e) {
764
- var t = this.el, o = e.target, i, r, a, l = this.options, s = l.group, u = p.active, c = Ce === s, f = l.sort, m = C || u, w, v = this, E = !1;
764
+ var n = this.el, o = e.target, i, r, a, l = this.options, s = l.group, u = p.active, f = Ce === s, c = l.sort, m = C || u, w, v = this, E = !1;
765
765
  if (Ke) return;
766
766
  function R(pe, Ot) {
767
767
  P(pe, v, ee({
768
768
  evt: e,
769
- isOwner: c,
769
+ isOwner: f,
770
770
  axis: w ? "vertical" : "horizontal",
771
771
  revert: a,
772
772
  dragRect: i,
773
773
  targetRect: r,
774
- canSort: f,
774
+ canSort: c,
775
775
  fromSortable: m,
776
776
  target: o,
777
- completed: x,
777
+ completed: N,
778
778
  onMove: function(rt, At) {
779
- return je(D, t, d, i, rt, I(rt), e, At);
779
+ return je(D, n, d, i, rt, I(rt), e, At);
780
780
  },
781
781
  changed: B
782
782
  }, Ot));
@@ -784,40 +784,40 @@ p.prototype = /** @lends Sortable.prototype */
784
784
  function U() {
785
785
  R("dragOverAnimationCapture"), v.captureAnimationState(), v !== m && m.captureAnimationState();
786
786
  }
787
- function x(pe) {
787
+ function N(pe) {
788
788
  return R("dragOverCompleted", {
789
789
  insertion: pe
790
- }), pe && (c ? u._hideClone() : u._showClone(v), v !== m && (M(d, C ? C.options.ghostClass : u.options.ghostClass, !1), M(d, l.ghostClass, !0)), C !== v && v !== p.active ? C = v : v === p.active && C && (C = null), m === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
790
+ }), pe && (f ? u._hideClone() : u._showClone(v), v !== m && (M(d, C ? C.options.ghostClass : u.options.ghostClass, !1), M(d, l.ghostClass, !0)), C !== v && v !== p.active ? C = v : v === p.active && C && (C = null), m === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
791
791
  R("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
792
- }), v !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (o === d && !d.animated || o === t && !o.animated) && (ue = null), !l.dragoverBubble && !e.rootEl && o !== document && (d.parentNode[k]._isOutsideThisEl(e.target), !pe && re(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), E = !0;
792
+ }), v !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (o === d && !d.animated || o === n && !o.animated) && (ue = null), !l.dragoverBubble && !e.rootEl && o !== document && (d.parentNode[k]._isOutsideThisEl(e.target), !pe && re(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), E = !0;
793
793
  }
794
794
  function B() {
795
795
  F = X(d), Q = X(d, l.draggable), A({
796
796
  sortable: v,
797
797
  name: "change",
798
- toEl: t,
798
+ toEl: n,
799
799
  newIndex: F,
800
800
  newDraggableIndex: Q,
801
801
  originalEvent: e
802
802
  });
803
803
  }
804
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = H(o, l.draggable, t, !0), R("dragOver"), p.eventCanceled) return E;
804
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = H(o, l.draggable, n, !0), R("dragOver"), p.eventCanceled) return E;
805
805
  if (d.contains(e.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
806
- return x(!1);
807
- if (Xe = !1, u && !l.disabled && (c ? f || (a = !D.contains(d)) : C === this || (this.lastPutMode = Ce.checkPull(this, u, d, e)) && s.checkPut(this, u, d, e))) {
806
+ return N(!1);
807
+ if (Xe = !1, u && !l.disabled && (f ? c || (a = !D.contains(d)) : C === this || (this.lastPutMode = Ce.checkPull(this, u, d, e)) && s.checkPut(this, u, d, e))) {
808
808
  if (w = this._getDirection(e, o) === "vertical", i = I(d), R("dragOverValid"), p.eventCanceled) return E;
809
809
  if (a)
810
- return S = D, U(), this._hideClone(), R("revert"), p.eventCanceled || (ae ? D.insertBefore(d, ae) : D.appendChild(d)), x(!0);
811
- var G = nt(t, l.draggable);
810
+ return S = D, U(), this._hideClone(), R("revert"), p.eventCanceled || (ae ? D.insertBefore(d, ae) : D.appendChild(d)), N(!0);
811
+ var G = nt(n, l.draggable);
812
812
  if (!G || pn(e, w, this) && !G.animated) {
813
813
  if (G === d)
814
- return x(!1);
815
- if (G && t === e.target && (o = G), o && (r = I(o)), je(D, t, d, i, o, r, e, !!o) !== !1)
816
- return U(), t.appendChild(d), S = t, B(), x(!0);
817
- } else if (o.parentNode === t) {
814
+ return N(!1);
815
+ if (G && n === e.target && (o = G), o && (r = I(o)), je(D, n, d, i, o, r, e, !!o) !== !1)
816
+ return U(), n.appendChild(d), S = n, B(), N(!0);
817
+ } else if (o.parentNode === n) {
818
818
  r = I(o);
819
- var L = 0, te, he = d.parentNode !== t, le = !un(d.animated && d.toRect || i, o.animated && o.toRect || r, w), N = w ? "top" : "left", q = dt(o, "top", "top") || dt(d, "top", "top"), Te = q ? q.scrollTop : void 0;
820
- ue !== o && (te = r[N], De = !1, Ie = !le && l.invertSwap || he), L = gn(e, o, r, w, le ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ie, ue === o);
819
+ var L = 0, te, he = d.parentNode !== n, le = !un(d.animated && d.toRect || i, o.animated && o.toRect || r, w), x = w ? "top" : "left", q = dt(o, "top", "top") || dt(d, "top", "top"), Te = q ? q.scrollTop : void 0;
820
+ ue !== o && (te = r[x], De = !1, Ie = !le && l.invertSwap || he), L = gn(e, o, r, w, le ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Ie, ue === o);
821
821
  var z;
822
822
  if (L !== 0) {
823
823
  var se = X(d);
@@ -826,16 +826,16 @@ p.prototype = /** @lends Sortable.prototype */
826
826
  while (z && (h(z, "display") === "none" || z === g));
827
827
  }
828
828
  if (L === 0 || z === o)
829
- return x(!1);
829
+ return N(!1);
830
830
  ue = o, we = L;
831
831
  var ne = o.nextElementSibling, Z = !1;
832
832
  Z = L === 1;
833
- var oe = je(D, t, d, i, o, r, e, Z);
833
+ var oe = je(D, n, d, i, o, r, e, Z);
834
834
  if (oe !== !1)
835
- return (oe === 1 || oe === -1) && (Z = oe === 1), Ke = !0, setTimeout(hn, 30), U(), Z && !ne ? t.appendChild(d) : o.parentNode.insertBefore(d, Z ? ne : o), q && Et(q, 0, Te - q.scrollTop), S = d.parentNode, te !== void 0 && !Ie && (xe = Math.abs(te - I(o)[N])), B(), x(!0);
835
+ return (oe === 1 || oe === -1) && (Z = oe === 1), Ke = !0, setTimeout(hn, 30), U(), Z && !ne ? n.appendChild(d) : o.parentNode.insertBefore(d, Z ? ne : o), q && Et(q, 0, Te - q.scrollTop), S = d.parentNode, te !== void 0 && !Ie && (Ne = Math.abs(te - I(o)[x])), B(), N(!0);
836
836
  }
837
- if (t.contains(d))
838
- return x(!1);
837
+ if (n.contains(d))
838
+ return N(!1);
839
839
  }
840
840
  return !1;
841
841
  },
@@ -848,14 +848,14 @@ p.prototype = /** @lends Sortable.prototype */
848
848
  b(e, "mouseup", this._onDrop), b(e, "touchend", this._onDrop), b(e, "pointerup", this._onDrop), b(e, "touchcancel", this._onDrop), b(document, "selectstart", this);
849
849
  },
850
850
  _onDrop: function(e) {
851
- var t = this.el, o = this.options;
851
+ var n = this.el, o = this.options;
852
852
  if (F = X(d), Q = X(d, o.draggable), P("drop", this, {
853
853
  evt: e
854
854
  }), S = d && d.parentNode, F = X(d), Q = X(d, o.draggable), p.eventCanceled) {
855
855
  this._nulling();
856
856
  return;
857
857
  }
858
- de = !1, Ie = !1, De = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Je(this.cloneId), Je(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Qe && h(document.body, "user-select", ""), h(d, "transform", ""), e && (me && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (D === S || C && C.lastPutMode !== "clone") && _ && _.parentNode && _.parentNode.removeChild(_), d && (this.nativeDraggable && b(d, "dragend", this), $e(d), d.style["will-change"] = "", me && !de && M(d, C ? C.options.ghostClass : this.options.ghostClass, !1), M(d, this.options.chosenClass, !1), A({
858
+ de = !1, Ie = !1, De = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Je(this.cloneId), Je(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Qe && h(document.body, "user-select", ""), h(d, "transform", ""), e && (me && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (D === S || C && C.lastPutMode !== "clone") && _ && _.parentNode && _.parentNode.removeChild(_), d && (this.nativeDraggable && b(d, "dragend", this), $e(d), d.style["will-change"] = "", me && !de && M(d, C ? C.options.ghostClass : this.options.ghostClass, !1), M(d, this.options.chosenClass, !1), A({
859
859
  sortable: this,
860
860
  name: "unchoose",
861
861
  toEl: S,
@@ -926,8 +926,8 @@ p.prototype = /** @lends Sortable.prototype */
926
926
  * @returns {String[]}
927
927
  */
928
928
  toArray: function() {
929
- for (var e = [], t, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
930
- t = o[i], H(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || vn(t));
929
+ for (var e = [], n, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
930
+ n = o[i], H(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || vn(n));
931
931
  return e;
932
932
  },
933
933
  /**
@@ -935,12 +935,12 @@ p.prototype = /** @lends Sortable.prototype */
935
935
  * @param {String[]} order order of the items
936
936
  */
937
937
  sort: function(e) {
938
- var t = {}, o = this.el;
938
+ var n = {}, o = this.el;
939
939
  this.toArray().forEach(function(i, r) {
940
940
  var a = o.children[r];
941
- H(a, this.options.draggable, o, !1) && (t[i] = a);
941
+ H(a, this.options.draggable, o, !1) && (n[i] = a);
942
942
  }, this), e.forEach(function(i) {
943
- t[i] && (o.removeChild(t[i]), o.appendChild(t[i]));
943
+ n[i] && (o.removeChild(n[i]), o.appendChild(n[i]));
944
944
  });
945
945
  },
946
946
  /**
@@ -956,8 +956,8 @@ p.prototype = /** @lends Sortable.prototype */
956
956
  * @param {String} [selector] default: `options.draggable`
957
957
  * @returns {HTMLElement|null}
958
958
  */
959
- closest: function(e, t) {
960
- return H(e, t || this.options.draggable, this.el, !1);
959
+ closest: function(e, n) {
960
+ return H(e, n || this.options.draggable, this.el, !1);
961
961
  },
962
962
  /**
963
963
  * Set/get option
@@ -965,12 +965,12 @@ p.prototype = /** @lends Sortable.prototype */
965
965
  * @param {*} [value]
966
966
  * @returns {*}
967
967
  */
968
- option: function(e, t) {
968
+ option: function(e, n) {
969
969
  var o = this.options;
970
- if (t === void 0)
970
+ if (n === void 0)
971
971
  return o[e];
972
- var i = Se.modifyOption(this, e, t);
973
- typeof i < "u" ? o[e] = i : o[e] = t, e === "group" && St(o);
972
+ var i = Se.modifyOption(this, e, n);
973
+ typeof i < "u" ? o[e] = i : o[e] = n, e === "group" && St(o);
974
974
  },
975
975
  /**
976
976
  * Destroy
@@ -978,8 +978,8 @@ p.prototype = /** @lends Sortable.prototype */
978
978
  destroy: function() {
979
979
  P("destroy", this);
980
980
  var e = this.el;
981
- e[k] = null, b(e, "mousedown", this._onTapStart), b(e, "touchstart", this._onTapStart), b(e, "pointerdown", this._onTapStart), this.nativeDraggable && (b(e, "dragover", this), b(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
982
- t.removeAttribute("draggable");
981
+ e[k] = null, b(e, "mousedown", this._onTapStart), b(e, "touchstart", this._onTapStart), b(e, "pointerdown", this._onTapStart), this.nativeDraggable && (b(e, "dragover", this), b(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(n) {
982
+ n.removeAttribute("draggable");
983
983
  }), this._onDrop(), this._disableDelayedDragEvents(), Re.splice(Re.indexOf(this.el), 1), this.el = e = null;
984
984
  },
985
985
  _hideClone: function() {
@@ -999,70 +999,70 @@ p.prototype = /** @lends Sortable.prototype */
999
999
  }
1000
1000
  }
1001
1001
  };
1002
- function cn(n) {
1003
- n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
1002
+ function cn(t) {
1003
+ t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
1004
1004
  }
1005
- function je(n, e, t, o, i, r, a, l) {
1006
- var s, u = n[k], c = u.options.onMove, f;
1005
+ function je(t, e, n, o, i, r, a, l) {
1006
+ var s, u = t[k], f = u.options.onMove, c;
1007
1007
  return window.CustomEvent && !$ && !_e ? s = new CustomEvent("move", {
1008
1008
  bubbles: !0,
1009
1009
  cancelable: !0
1010
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = t, s.draggedRect = o, s.related = i || e, s.relatedRect = r || I(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), c && (f = c.call(u, s, a)), f;
1010
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = t, s.dragged = n, s.draggedRect = o, s.related = i || e, s.relatedRect = r || I(e), s.willInsertAfter = l, s.originalEvent = a, t.dispatchEvent(s), f && (c = f.call(u, s, a)), c;
1011
1011
  }
1012
- function $e(n) {
1013
- n.draggable = !1;
1012
+ function $e(t) {
1013
+ t.draggable = !1;
1014
1014
  }
1015
1015
  function hn() {
1016
1016
  Ke = !1;
1017
1017
  }
1018
- function pn(n, e, t) {
1019
- var o = I(nt(t.el, t.options.draggable)), i = 10;
1020
- return e ? n.clientX > o.right + i || n.clientX <= o.right && n.clientY > o.bottom && n.clientX >= o.left : n.clientX > o.right && n.clientY > o.top || n.clientX <= o.right && n.clientY > o.bottom + i;
1018
+ function pn(t, e, n) {
1019
+ var o = I(nt(n.el, n.options.draggable)), i = 10;
1020
+ return e ? t.clientX > o.right + i || t.clientX <= o.right && t.clientY > o.bottom && t.clientX >= o.left : t.clientX > o.right && t.clientY > o.top || t.clientX <= o.right && t.clientY > o.bottom + i;
1021
1021
  }
1022
- function gn(n, e, t, o, i, r, a, l) {
1023
- var s = o ? n.clientY : n.clientX, u = o ? t.height : t.width, c = o ? t.top : t.left, f = o ? t.bottom : t.right, m = !1;
1022
+ function gn(t, e, n, o, i, r, a, l) {
1023
+ var s = o ? t.clientY : t.clientX, u = o ? n.height : n.width, f = o ? n.top : n.left, c = o ? n.bottom : n.right, m = !1;
1024
1024
  if (!a) {
1025
- if (l && xe < u * i) {
1026
- if (!De && (we === 1 ? s > c + u * r / 2 : s < f - u * r / 2) && (De = !0), De)
1025
+ if (l && Ne < u * i) {
1026
+ if (!De && (we === 1 ? s > f + u * r / 2 : s < c - u * r / 2) && (De = !0), De)
1027
1027
  m = !0;
1028
- else if (we === 1 ? s < c + xe : s > f - xe)
1028
+ else if (we === 1 ? s < f + Ne : s > c - Ne)
1029
1029
  return -we;
1030
- } else if (s > c + u * (1 - i) / 2 && s < f - u * (1 - i) / 2)
1030
+ } else if (s > f + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
1031
1031
  return mn(e);
1032
1032
  }
1033
- return m = m || a, m && (s < c + u * r / 2 || s > f - u * r / 2) ? s > c + u / 2 ? 1 : -1 : 0;
1033
+ return m = m || a, m && (s < f + u * r / 2 || s > c - u * r / 2) ? s > f + u / 2 ? 1 : -1 : 0;
1034
1034
  }
1035
- function mn(n) {
1036
- return X(d) < X(n) ? 1 : -1;
1035
+ function mn(t) {
1036
+ return X(d) < X(t) ? 1 : -1;
1037
1037
  }
1038
- function vn(n) {
1039
- for (var e = n.tagName + n.className + n.src + n.href + n.textContent, t = e.length, o = 0; t--; )
1040
- o += e.charCodeAt(t);
1038
+ function vn(t) {
1039
+ for (var e = t.tagName + t.className + t.src + t.href + t.textContent, n = e.length, o = 0; n--; )
1040
+ o += e.charCodeAt(n);
1041
1041
  return o.toString(36);
1042
1042
  }
1043
- function bn(n) {
1043
+ function bn(t) {
1044
1044
  Ye.length = 0;
1045
- for (var e = n.getElementsByTagName("input"), t = e.length; t--; ) {
1046
- var o = e[t];
1045
+ for (var e = t.getElementsByTagName("input"), n = e.length; n--; ) {
1046
+ var o = e[n];
1047
1047
  o.checked && Ye.push(o);
1048
1048
  }
1049
1049
  }
1050
- function Ne(n) {
1051
- return setTimeout(n, 0);
1050
+ function xe(t) {
1051
+ return setTimeout(t, 0);
1052
1052
  }
1053
- function Je(n) {
1054
- return clearTimeout(n);
1053
+ function Je(t) {
1054
+ return clearTimeout(t);
1055
1055
  }
1056
- Le && y(document, "touchmove", function(n) {
1057
- (p.active || de) && n.cancelable && n.preventDefault();
1056
+ Le && y(document, "touchmove", function(t) {
1057
+ (p.active || de) && t.cancelable && t.preventDefault();
1058
1058
  });
1059
1059
  p.utils = {
1060
1060
  on: y,
1061
1061
  off: b,
1062
1062
  css: h,
1063
1063
  find: bt,
1064
- is: function(e, t) {
1065
- return !!H(e, t, e, !1);
1064
+ is: function(e, n) {
1065
+ return !!H(e, n, e, !1);
1066
1066
  },
1067
1067
  extend: tn,
1068
1068
  throttle: yt,
@@ -1070,30 +1070,30 @@ p.utils = {
1070
1070
  toggleClass: M,
1071
1071
  clone: wt,
1072
1072
  index: X,
1073
- nextTick: Ne,
1073
+ nextTick: xe,
1074
1074
  cancelNextTick: Je,
1075
1075
  detectDirection: _t,
1076
1076
  getChild: ke
1077
1077
  };
1078
- p.get = function(n) {
1079
- return n[k];
1078
+ p.get = function(t) {
1079
+ return t[k];
1080
1080
  };
1081
1081
  p.mount = function() {
1082
- for (var n = arguments.length, e = new Array(n), t = 0; t < n; t++)
1083
- e[t] = arguments[t];
1082
+ for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
1083
+ e[n] = arguments[n];
1084
1084
  e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
1085
1085
  if (!o.prototype || !o.prototype.constructor)
1086
1086
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
1087
1087
  o.utils && (p.utils = ee({}, p.utils, o.utils)), Se.mount(o);
1088
1088
  });
1089
1089
  };
1090
- p.create = function(n, e) {
1091
- return new p(n, e);
1090
+ p.create = function(t, e) {
1091
+ return new p(t, e);
1092
1092
  };
1093
1093
  p.version = Qt;
1094
1094
  var T = [], ve, et, tt = !1, Ue, qe, Be, be;
1095
1095
  function yn() {
1096
- function n() {
1096
+ function t() {
1097
1097
  this.defaults = {
1098
1098
  scroll: !0,
1099
1099
  scrollSensitivity: 30,
@@ -1103,13 +1103,13 @@ function yn() {
1103
1103
  for (var e in this)
1104
1104
  e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
1105
1105
  }
1106
- return n.prototype = {
1107
- dragStarted: function(t) {
1108
- var o = t.originalEvent;
1106
+ return t.prototype = {
1107
+ dragStarted: function(n) {
1108
+ var o = n.originalEvent;
1109
1109
  this.sortable.nativeDraggable ? y(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? y(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? y(document, "touchmove", this._handleFallbackAutoScroll) : y(document, "mousemove", this._handleFallbackAutoScroll);
1110
1110
  },
1111
- dragOverCompleted: function(t) {
1112
- var o = t.originalEvent;
1111
+ dragOverCompleted: function(n) {
1112
+ var o = n.originalEvent;
1113
1113
  !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
1114
1114
  },
1115
1115
  drop: function() {
@@ -1118,68 +1118,68 @@ function yn() {
1118
1118
  nulling: function() {
1119
1119
  Be = et = ve = tt = be = Ue = qe = null, T.length = 0;
1120
1120
  },
1121
- _handleFallbackAutoScroll: function(t) {
1122
- this._handleAutoScroll(t, !0);
1121
+ _handleFallbackAutoScroll: function(n) {
1122
+ this._handleAutoScroll(n, !0);
1123
1123
  },
1124
- _handleAutoScroll: function(t, o) {
1125
- var i = this, r = (t.touches ? t.touches[0] : t).clientX, a = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(r, a);
1126
- if (Be = t, o || _e || $ || Qe) {
1127
- Ze(t, this.options, l, o);
1124
+ _handleAutoScroll: function(n, o) {
1125
+ var i = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
1126
+ if (Be = n, o || _e || $ || Qe) {
1127
+ Ze(n, this.options, l, o);
1128
1128
  var s = J(l, !0);
1129
1129
  tt && (!be || r !== Ue || a !== qe) && (be && gt(), be = setInterval(function() {
1130
1130
  var u = J(document.elementFromPoint(r, a), !0);
1131
- u !== s && (s = u, Me()), Ze(t, i.options, u, o);
1131
+ u !== s && (s = u, Me()), Ze(n, i.options, u, o);
1132
1132
  }, 10), Ue = r, qe = a);
1133
1133
  } else {
1134
1134
  if (!this.options.bubbleScroll || J(l, !0) === W()) {
1135
1135
  Me();
1136
1136
  return;
1137
1137
  }
1138
- Ze(t, this.options, J(l, !1), !1);
1138
+ Ze(n, this.options, J(l, !1), !1);
1139
1139
  }
1140
1140
  }
1141
- }, j(n, {
1141
+ }, j(t, {
1142
1142
  pluginName: "scroll",
1143
1143
  initializeByDefault: !0
1144
1144
  });
1145
1145
  }
1146
1146
  function Me() {
1147
- T.forEach(function(n) {
1148
- clearInterval(n.pid);
1147
+ T.forEach(function(t) {
1148
+ clearInterval(t.pid);
1149
1149
  }), T = [];
1150
1150
  }
1151
1151
  function gt() {
1152
1152
  clearInterval(be);
1153
1153
  }
1154
- var Ze = yt(function(n, e, t, o) {
1154
+ var Ze = yt(function(t, e, n, o) {
1155
1155
  if (e.scroll) {
1156
- var i = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = W(), u = !1, c;
1157
- et !== t && (et = t, Me(), ve = e.scroll, c = e.scrollFn, ve === !0 && (ve = J(t, !0)));
1158
- var f = 0, m = ve;
1156
+ var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = W(), u = !1, f;
1157
+ et !== n && (et = n, Me(), ve = e.scroll, f = e.scrollFn, ve === !0 && (ve = J(n, !0)));
1158
+ var c = 0, m = ve;
1159
1159
  do {
1160
- var w = m, v = I(w), E = v.top, R = v.bottom, U = v.left, x = v.right, B = v.width, G = v.height, L = void 0, te = void 0, he = w.scrollWidth, le = w.scrollHeight, N = h(w), q = w.scrollLeft, Te = w.scrollTop;
1161
- w === s ? (L = B < he && (N.overflowX === "auto" || N.overflowX === "scroll" || N.overflowX === "visible"), te = G < le && (N.overflowY === "auto" || N.overflowY === "scroll" || N.overflowY === "visible")) : (L = B < he && (N.overflowX === "auto" || N.overflowX === "scroll"), te = G < le && (N.overflowY === "auto" || N.overflowY === "scroll"));
1162
- var z = L && (Math.abs(x - i) <= a && q + B < he) - (Math.abs(U - i) <= a && !!q), se = te && (Math.abs(R - r) <= a && Te + G < le) - (Math.abs(E - r) <= a && !!Te);
1163
- if (!T[f])
1164
- for (var ne = 0; ne <= f; ne++)
1160
+ var w = m, v = I(w), E = v.top, R = v.bottom, U = v.left, N = v.right, B = v.width, G = v.height, L = void 0, te = void 0, he = w.scrollWidth, le = w.scrollHeight, x = h(w), q = w.scrollLeft, Te = w.scrollTop;
1161
+ w === s ? (L = B < he && (x.overflowX === "auto" || x.overflowX === "scroll" || x.overflowX === "visible"), te = G < le && (x.overflowY === "auto" || x.overflowY === "scroll" || x.overflowY === "visible")) : (L = B < he && (x.overflowX === "auto" || x.overflowX === "scroll"), te = G < le && (x.overflowY === "auto" || x.overflowY === "scroll"));
1162
+ var z = L && (Math.abs(N - i) <= a && q + B < he) - (Math.abs(U - i) <= a && !!q), se = te && (Math.abs(R - r) <= a && Te + G < le) - (Math.abs(E - r) <= a && !!Te);
1163
+ if (!T[c])
1164
+ for (var ne = 0; ne <= c; ne++)
1165
1165
  T[ne] || (T[ne] = {});
1166
- (T[f].vx != z || T[f].vy != se || T[f].el !== w) && (T[f].el = w, T[f].vx = z, T[f].vy = se, clearInterval(T[f].pid), (z != 0 || se != 0) && (u = !0, T[f].pid = setInterval((function() {
1166
+ (T[c].vx != z || T[c].vy != se || T[c].el !== w) && (T[c].el = w, T[c].vx = z, T[c].vy = se, clearInterval(T[c].pid), (z != 0 || se != 0) && (u = !0, T[c].pid = setInterval((function() {
1167
1167
  o && this.layer === 0 && p.active._onTouchMove(Be);
1168
1168
  var Z = T[this.layer].vy ? T[this.layer].vy * l : 0, oe = T[this.layer].vx ? T[this.layer].vx * l : 0;
1169
- typeof c == "function" && c.call(p.dragged.parentNode[k], oe, Z, n, Be, T[this.layer].el) !== "continue" || Et(T[this.layer].el, oe, Z);
1169
+ typeof f == "function" && f.call(p.dragged.parentNode[k], oe, Z, t, Be, T[this.layer].el) !== "continue" || Et(T[this.layer].el, oe, Z);
1170
1170
  }).bind({
1171
- layer: f
1172
- }), 24))), f++;
1171
+ layer: c
1172
+ }), 24))), c++;
1173
1173
  } while (e.bubbleScroll && m !== s && (m = J(m, !1)));
1174
1174
  tt = u;
1175
1175
  }
1176
1176
  }, 30), It = function(e) {
1177
- var t = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1178
- if (t) {
1177
+ var n = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1178
+ if (n) {
1179
1179
  var u = o || r;
1180
1180
  l();
1181
- var c = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, f = document.elementFromPoint(c.clientX, c.clientY);
1182
- s(), u && !u.el.contains(f) && (a("spill"), this.onSpill({
1181
+ var f = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, c = document.elementFromPoint(f.clientX, f.clientY);
1182
+ s(), u && !u.el.contains(c) && (a("spill"), this.onSpill({
1183
1183
  dragEl: i,
1184
1184
  putSortable: o
1185
1185
  }));
@@ -1190,14 +1190,14 @@ function ot() {
1190
1190
  ot.prototype = {
1191
1191
  startIndex: null,
1192
1192
  dragStart: function(e) {
1193
- var t = e.oldDraggableIndex;
1194
- this.startIndex = t;
1193
+ var n = e.oldDraggableIndex;
1194
+ this.startIndex = n;
1195
1195
  },
1196
1196
  onSpill: function(e) {
1197
- var t = e.dragEl, o = e.putSortable;
1197
+ var n = e.dragEl, o = e.putSortable;
1198
1198
  this.sortable.captureAnimationState(), o && o.captureAnimationState();
1199
1199
  var i = ke(this.sortable.el, this.startIndex, this.options);
1200
- i ? this.sortable.el.insertBefore(t, i) : this.sortable.el.appendChild(t), this.sortable.animateAll(), o && o.animateAll();
1200
+ i ? this.sortable.el.insertBefore(n, i) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
1201
1201
  },
1202
1202
  drop: It
1203
1203
  };
@@ -1208,8 +1208,8 @@ function it() {
1208
1208
  }
1209
1209
  it.prototype = {
1210
1210
  onSpill: function(e) {
1211
- var t = e.dragEl, o = e.putSortable, i = o || this.sortable;
1212
- i.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), i.animateAll();
1211
+ var n = e.dragEl, o = e.putSortable, i = o || this.sortable;
1212
+ i.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), i.animateAll();
1213
1213
  },
1214
1214
  drop: It
1215
1215
  };
@@ -1218,43 +1218,51 @@ j(it, {
1218
1218
  });
1219
1219
  p.mount(new yn());
1220
1220
  p.mount(it, ot);
1221
- function En(n, e, t = {}) {
1221
+ function En(t, e, n = {}) {
1222
1222
  let o;
1223
- const { document: i = Mt, ...r } = t, a = {
1224
- onUpdate: (c) => {
1225
- wn(e, c.oldIndex, c.newIndex);
1223
+ const { document: i = Mt, ...r } = n, a = {
1224
+ onUpdate: (f) => {
1225
+ _n(e, f.oldIndex, f.newIndex, f);
1226
1226
  }
1227
1227
  }, l = () => {
1228
- const c = typeof n == "string" ? i == null ? void 0 : i.querySelector(n) : xt(n);
1229
- !c || o !== void 0 || (o = new p(c, { ...a, ...r }));
1228
+ const f = typeof t == "string" ? i == null ? void 0 : i.querySelector(t) : Nt(t);
1229
+ !f || o !== void 0 || (o = new p(f, { ...a, ...r }));
1230
1230
  }, s = () => {
1231
1231
  o == null || o.destroy(), o = void 0;
1232
- }, u = (c, f) => {
1233
- if (f !== void 0)
1234
- o == null || o.option(c, f);
1232
+ }, u = (f, c) => {
1233
+ if (c !== void 0)
1234
+ o == null || o.option(f, c);
1235
1235
  else
1236
- return o == null ? void 0 : o.option(c);
1236
+ return o == null ? void 0 : o.option(f);
1237
1237
  };
1238
- return Pt(l), Nt(s), {
1238
+ return Pt(l), xt(s), {
1239
1239
  stop: s,
1240
1240
  start: l,
1241
1241
  option: u
1242
1242
  };
1243
1243
  }
1244
- function wn(n, e, t) {
1245
- const o = Ft(n), i = o ? [...at(n)] : at(n);
1246
- if (t >= 0 && t < i.length) {
1247
- const r = i.splice(e, 1)[0];
1244
+ function wn(t, e, n) {
1245
+ const o = t.children[n];
1246
+ t.insertBefore(e, o);
1247
+ }
1248
+ function Dn(t) {
1249
+ t.parentNode && t.parentNode.removeChild(t);
1250
+ }
1251
+ function _n(t, e, n, o = null) {
1252
+ o != null && (Dn(o.item), wn(o.from, o.item, e));
1253
+ const i = Ft(t), r = i ? [...at(t)] : at(t);
1254
+ if (n >= 0 && n < r.length) {
1255
+ const a = r.splice(e, 1)[0];
1248
1256
  kt(() => {
1249
- i.splice(t, 0, r), o && (n.value = i);
1257
+ r.splice(n, 0, a), i && (t.value = r);
1250
1258
  });
1251
1259
  }
1252
1260
  }
1253
- function Dn(n, e, t) {
1254
- const o = n.slice(), i = o.splice(e, 1)[0];
1255
- return o.splice(t, 0, i), o;
1261
+ function Sn(t, e, n) {
1262
+ const o = t.slice(), i = o.splice(e, 1)[0];
1263
+ return o.splice(n, 0, i), o;
1256
1264
  }
1257
- const Tn = /* @__PURE__ */ Xt({
1265
+ const In = /* @__PURE__ */ Xt({
1258
1266
  __name: "Sortable",
1259
1267
  props: {
1260
1268
  tag: { default: "div" },
@@ -1262,24 +1270,24 @@ const Tn = /* @__PURE__ */ Xt({
1262
1270
  modelValue: { default: null },
1263
1271
  list: { default: () => [] },
1264
1272
  options: { default: null },
1265
- clone: { type: Function, default: (n) => n }
1273
+ clone: { type: Function, default: (t) => t }
1266
1274
  },
1267
1275
  emits: ["update:modelValue"],
1268
- setup(n, { emit: e }) {
1269
- const t = e, o = Rt(() => n.modelValue || n.list), i = Yt("container");
1276
+ setup(t, { emit: e }) {
1277
+ const n = e, o = Rt(() => t.modelValue || t.list), i = Yt("container");
1270
1278
  return En(i, o, {
1271
1279
  animation: 250,
1272
1280
  onChoose(r) {
1273
1281
  const { item: a } = r, l = r.oldIndex;
1274
- a._data = n.clone(o.value[l]);
1282
+ a._data = t.clone(o.value[l]);
1275
1283
  },
1276
- ...n.modelValue && {
1284
+ ...t.modelValue && {
1277
1285
  onUpdate(r) {
1278
- const { oldIndex: a, newIndex: l } = r, s = Dn(n.modelValue, a, l);
1279
- t("update:modelValue", s);
1286
+ const { oldIndex: a, newIndex: l } = r, s = Sn(t.modelValue, a, l);
1287
+ n("update:modelValue", s);
1280
1288
  }
1281
1289
  },
1282
- ...n.options
1290
+ ...t.options
1283
1291
  }), (r, a) => (lt(), Bt(jt(r.tag), {
1284
1292
  ref_key: "container",
1285
1293
  ref: i,
@@ -1298,6 +1306,6 @@ const Tn = /* @__PURE__ */ Xt({
1298
1306
  }
1299
1307
  });
1300
1308
  export {
1301
- Tn as _,
1302
- Dn as m
1309
+ In as _,
1310
+ Sn as m
1303
1311
  };