@a2simcode/dui 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { inject as _t, ref as de, onMounted as mt, nextTick as Ge, onUnmounted as Xr, defineComponent as Ee, shallowRef as $t, watch as Ne, h as Ae, computed as he, openBlock as ee, createElementBlock as ue, mergeProps as At, createVNode as fe, unref as J, withModifiers as We, normalizeClass as bt, createBlock as Te, createCommentVNode as $e, toDisplayString as lt, renderSlot as Pe, resolveComponent as De, createElementVNode as ae, withCtx as xe, Fragment as Be, renderList as gt, resolveDynamicComponent as Et, normalizeStyle as Oe, getCurrentScope as sl, effectScope as al, provide as zt, useSlots as mu, createPropsRestProxy as vu, toRef as ze, useAttrs as yu, Teleport as bu, getCurrentInstance as Fn, reactive as $n, onScopeDispose as Vo, onBeforeMount as _u, onBeforeUnmount as qr, isMemoSame as wu, createTextVNode as En, isRef as Kr, toRefs as xu, customRef as Cu, toValue as Ie, markRaw as Go, readonly as Eu, withDirectives as ao, vShow as lo, normalizeProps as ll, guardReactiveProps as Su } from "vue";
1
+ import { inject as _t, ref as de, onMounted as mt, nextTick as Ge, onUnmounted as Xr, defineComponent as Ee, shallowRef as $t, watch as Ne, h as Ae, computed as fe, openBlock as ee, createElementBlock as ue, mergeProps as At, createVNode as he, unref as J, withModifiers as We, normalizeClass as bt, createBlock as Te, createCommentVNode as $e, toDisplayString as lt, renderSlot as Pe, resolveComponent as De, createElementVNode as le, withCtx as Ce, Fragment as Be, renderList as gt, resolveDynamicComponent as Et, normalizeStyle as Oe, getCurrentScope as sl, effectScope as al, provide as zt, useSlots as mu, createPropsRestProxy as vu, toRef as ze, useAttrs as yu, Teleport as bu, getCurrentInstance as Fn, reactive as $n, onScopeDispose as Vo, onBeforeMount as _u, onBeforeUnmount as qr, isMemoSame as wu, createTextVNode as En, isRef as Kr, toRefs as xu, customRef as Cu, toValue as Ie, markRaw as Go, readonly as Eu, withDirectives as ao, vShow as lo, normalizeProps as ll, guardReactiveProps as Su } from "vue";
2
2
  const bn = (t, e) => (t.install = (n) => {
3
3
  n.component(t.name, t), e && e.forEach((o) => {
4
4
  n.component(o.name, o);
@@ -57,33 +57,33 @@ const bn = (t, e) => (t.install = (n) => {
57
57
  copyComponent: S,
58
58
  activedComponent: _,
59
59
  top: g
60
- } = _t("d-drag-design-provide", {}), w = [], P = de(!1), $ = de(!1), F = de(!1), Y = de(!1), G = de(!1), E = { id: "", type: "" }, T = de(!1), C = de(!1);
60
+ } = _t("d-drag-design-provide", {}), w = [], A = de(!1), $ = de(!1), F = de(!1), Y = de(!1), G = de(!1), E = { id: "", type: "" }, T = de(!1), C = de(!1);
61
61
  let H = "", b = null;
62
62
  const N = (X) => {
63
63
  if (H === X)
64
64
  return b;
65
65
  H = X;
66
- const { top: te, left: se, width: re, height: pe } = t.value.getBoundingClientRect();
66
+ const { top: te, left: se, width: ie, height: ge } = t.value.getBoundingClientRect();
67
67
  return b = [
68
68
  { x: se, y: te },
69
- { x: se + re, y: te },
70
- { x: se + re, y: te + pe },
71
- { x: se, y: te + pe }
69
+ { x: se + ie, y: te },
70
+ { x: se + ie, y: te + ge },
71
+ { x: se, y: te + ge }
72
72
  ], b;
73
73
  }, v = (X, te, se) => {
74
- let re = te - se[0].y;
75
- re < 0 && (re = -re);
76
- let pe = te - se[3].y;
77
- pe < 0 && (pe = -pe);
78
- let ie = X - se[0].x;
74
+ let ie = te - se[0].y;
79
75
  ie < 0 && (ie = -ie);
80
- let le = X - se[1].x;
81
- return le < 0 && (le = -le), {
82
- ly: re > pe ? pe : re,
83
- typey: re > pe ? "bottom" : "top",
84
- lx: ie > le ? le : ie,
76
+ let ge = te - se[3].y;
77
+ ge < 0 && (ge = -ge);
78
+ let re = X - se[0].x;
79
+ re < 0 && (re = -re);
80
+ let ae = X - se[1].x;
81
+ return ae < 0 && (ae = -ae), {
82
+ ly: ie > ge ? ge : ie,
83
+ typey: ie > ge ? "bottom" : "top",
84
+ lx: re > ae ? ae : re,
85
85
  // typex: lx1 > lx2 ? 'bottom' : 'top',
86
- lallx: ie + le
86
+ lallx: re + ae
87
87
  };
88
88
  }, x = (X, te, se) => X >= se[0].x && X <= se[1].x && te >= se[0].y && te <= se[3].y, D = () => {
89
89
  if (i) {
@@ -122,7 +122,7 @@ const bn = (t, e) => (t.install = (n) => {
122
122
  mouseEnterOrLeave: ({ id: X, type: te }) => {
123
123
  te === "enter" ? w.push(X) : w.length > 0 && w.splice(w.length - 1, 1);
124
124
  const se = w.length;
125
- se > 0 && s === w[se - 1] ? P.value = !0 : P.value = !1;
125
+ se > 0 && s === w[se - 1] ? A.value = !0 : A.value = !1;
126
126
  },
127
127
  dragAciveChild: ({ type: X, id: te }) => {
128
128
  te === s ? X === "top" ? (T.value = !0, C.value = !1) : (C.value = !0, T.value = !1) : (C.value = !1, T.value = !1);
@@ -137,20 +137,20 @@ const bn = (t, e) => (t.install = (n) => {
137
137
  dragY: te,
138
138
  moveId: se
139
139
  }) => {
140
- const re = N(se);
141
- return v(X, te, re);
140
+ const ie = N(se);
141
+ return v(X, te, ie);
142
142
  };
143
143
  const K = {
144
144
  // 判断是否在当前容器里
145
- isInContainer({ x: X, y: te, id: se, moveId: re }) {
145
+ isInContainer({ x: X, y: te, id: se, moveId: ie }) {
146
146
  if (s === se || d(se, s))
147
147
  return F.value = !1, { isIn: !1, level: a, id: s, groupId: r };
148
- const pe = N(re);
149
- if (x(X, te, pe))
148
+ const ge = N(ie);
149
+ if (x(X, te, ge))
150
150
  return a === 0 && (G.value = !0), { isIn: !0, level: a, id: s, groupId: r };
151
151
  if (a === 0) {
152
- const { ly: ie, lx: le } = v(X, te, pe);
153
- if (ie < 20 && le < 20)
152
+ const { ly: re, lx: ae } = v(X, te, ge);
153
+ if (re < 20 && ae < 20)
154
154
  return G.value = !0, { isIn: !0, level: a, id: s, groupId: r };
155
155
  G.value = !1;
156
156
  }
@@ -161,12 +161,12 @@ const bn = (t, e) => (t.install = (n) => {
161
161
  containerId: X,
162
162
  containerGroupId: te,
163
163
  dragX: se,
164
- dragY: re,
165
- moveId: pe
164
+ dragY: ie,
165
+ moveId: ge
166
166
  }) => {
167
167
  if (X === s && te === r)
168
168
  if (F.value = !0, o && o.value.length > 0) {
169
- let ie = {
169
+ let re = {
170
170
  ly: 9999999,
171
171
  lx: 0,
172
172
  lallx: 0,
@@ -175,15 +175,15 @@ const bn = (t, e) => (t.install = (n) => {
175
175
  // typex: '',
176
176
  typey: ""
177
177
  };
178
- o?.value.forEach((le) => {
179
- if (r && le.groupId !== r) return;
180
- const A = je(`dragGetChildDistance_${le.id}`, {
178
+ o?.value.forEach((ae) => {
179
+ if (r && ae.groupId !== r) return;
180
+ const P = je(`dragGetChildDistance_${ae.id}`, {
181
181
  dragX: se,
182
- dragY: re,
183
- moveId: pe
182
+ dragY: ie,
183
+ moveId: ge
184
184
  })[0];
185
- A && (ie.ly > A.ly || ie.ly === A.ly && (ie.lx > A.lx || ie.lx === A.lx && ie.lallx > A.lallx)) && (ie = A, ie.id = le.id);
186
- }), E.id = ie.id, E.type = ie.typey, je("dragAciveChild", { id: ie.id, type: ie.typey });
185
+ P && (re.ly > P.ly || re.ly === P.ly && (re.lx > P.lx || re.lx === P.lx && re.lallx > P.lallx)) && (re = P, re.id = ae.id);
186
+ }), E.id = re.id, E.type = re.typey, je("dragAciveChild", { id: re.id, type: re.typey });
187
187
  } else
188
188
  je("dragAciveChild", { id: "" });
189
189
  else
@@ -199,8 +199,8 @@ const bn = (t, e) => (t.install = (n) => {
199
199
  dragAddByClick: (X) => {
200
200
  if (!_.value && s === g.id || _.value?.id === s || _.value?.containerId === s && _.value?.dragType !== "container") {
201
201
  const te = o?.value.length || 0, se = f(X, s, te, r, !0);
202
- se && X.config && Object.keys(X.config).forEach((re) => {
203
- se.config[re] = X.config[re];
202
+ se && X.config && Object.keys(X.config).forEach((ie) => {
203
+ se.config[ie] = X.config[ie];
204
204
  });
205
205
  }
206
206
  },
@@ -209,7 +209,7 @@ const bn = (t, e) => (t.install = (n) => {
209
209
  const te = c(X);
210
210
  if (te.level = a + 1, E.id !== te.id) {
211
211
  p(te.containerId, X);
212
- let se = o?.value.findIndex((re) => re.id === E.id) || 0;
212
+ let se = o?.value.findIndex((ie) => ie.id === E.id) || 0;
213
213
  E.type === "bottom" && (se += 1), y(te, s, se, r);
214
214
  }
215
215
  F.value = !1, Ge(() => {
@@ -243,7 +243,7 @@ const bn = (t, e) => (t.install = (n) => {
243
243
  copyComponent: S,
244
244
  getParentComponents: m,
245
245
  isBottomToolBar: Y,
246
- isHover: P,
246
+ isHover: A,
247
247
  isSelect: $,
248
248
  isToContainer: F,
249
249
  isMoveingInTopLevel: G,
@@ -996,7 +996,7 @@ function fd(t, e, n, o) {
996
996
  return;
997
997
  }
998
998
  if (G) {
999
- c = Y, f.length || (s.length ? P() : _());
999
+ c = Y, f.length || (s.length ? A() : _());
1000
1000
  return;
1001
1001
  }
1002
1002
  if (m(), g(), !t.random) {
@@ -1007,7 +1007,7 @@ function fd(t, e, n, o) {
1007
1007
  E(Y);
1008
1008
  });
1009
1009
  }
1010
- function P() {
1010
+ function A() {
1011
1011
  if (u !== "pending")
1012
1012
  return;
1013
1013
  m();
@@ -1029,9 +1029,9 @@ function fd(t, e, n, o) {
1029
1029
  w(F, Y, G);
1030
1030
  }
1031
1031
  };
1032
- f.push(F), l++, d = setTimeout(P, t.rotate), n($, e, F.callback);
1032
+ f.push(F), l++, d = setTimeout(A, t.rotate), n($, e, F.callback);
1033
1033
  }
1034
- return setTimeout(P), S;
1034
+ return setTimeout(A), S;
1035
1035
  }
1036
1036
  function wl(t) {
1037
1037
  const e = {
@@ -1516,13 +1516,13 @@ const kd = {
1516
1516
  isDiv: { type: Boolean, default: !0 }
1517
1517
  },
1518
1518
  setup(t) {
1519
- const e = t, n = he(() => {
1519
+ const e = t, n = fe(() => {
1520
1520
  const i = e.icon;
1521
1521
  if (i.indexOf(":") === -1)
1522
1522
  return As(`jcode:${e.icon}`) == null, `jcode:${e.icon}`;
1523
1523
  const s = `jcode:${i.split(":")[1]}`;
1524
1524
  return As(s) != null ? s : i;
1525
- }), o = he(() => ({
1525
+ }), o = fe(() => ({
1526
1526
  size: e.size,
1527
1527
  color: e.color,
1528
1528
  icon: n.value
@@ -1531,14 +1531,14 @@ const kd = {
1531
1531
  class: "j-icon jicon",
1532
1532
  style: { height: `${t.size}px` }
1533
1533
  }), [
1534
- fe(J(js), At(o.value, {
1534
+ he(J(js), At(o.value, {
1535
1535
  height: `${t.size}px`,
1536
1536
  width: `${t.size}px`,
1537
1537
  mode: "svg",
1538
1538
  style: `transform:rotate(${t.rotate || 0}deg)`
1539
1539
  }), null, 16, ["height", "width", "style"])
1540
1540
  ], 16)) : (ee(), ue("span", At({ key: 1 }, i.$attrs, { class: "jicon" }), [
1541
- fe(J(js), At(o.value, {
1541
+ he(J(js), At(o.value, {
1542
1542
  height: `${t.size}px`,
1543
1543
  width: `${t.size}px`,
1544
1544
  mode: "svg",
@@ -1575,7 +1575,7 @@ const kd = {
1575
1575
  s.value?.focus();
1576
1576
  }, u = () => {
1577
1577
  s.value?.blur();
1578
- }, l = he(() => o.notLabel || !o.label), c = de(!1);
1578
+ }, l = fe(() => o.notLabel || !o.label), c = de(!1);
1579
1579
  Ne(
1580
1580
  () => o.loading,
1581
1581
  (f) => {
@@ -1592,7 +1592,7 @@ const kd = {
1592
1592
  },
1593
1593
  { immediate: !0 }
1594
1594
  );
1595
- const d = he(() => o.label || "");
1595
+ const d = fe(() => o.label || "");
1596
1596
  return e({ focus: a, blur: u }), (f, h) => (ee(), ue("button", {
1597
1597
  ref_key: "buttonNodeRef",
1598
1598
  ref: s,
@@ -1679,103 +1679,103 @@ const kd = {
1679
1679
  }
1680
1680
  ])
1681
1681
  }, [
1682
- g[11] || (g[11] = ae("div", { class: "d-drag-line" }, null, -1)),
1683
- ae("div", {
1682
+ g[11] || (g[11] = le("div", { class: "d-drag-line" }, null, -1)),
1683
+ le("div", {
1684
1684
  class: "d-drag-btns",
1685
1685
  onMouseenter: g[4] || (g[4] = //@ts-ignore
1686
- (...P) => J(o) && J(o)(...P)),
1686
+ (...A) => J(o) && J(o)(...A)),
1687
1687
  onMouseleave: g[5] || (g[5] = //@ts-ignore
1688
- (...P) => J(i) && J(i)(...P))
1688
+ (...A) => J(i) && J(i)(...A))
1689
1689
  }, [
1690
- fe(w, { size: 4 }, {
1691
- default: xe(() => [
1692
- ae("div", {
1690
+ he(w, { size: 4 }, {
1691
+ default: Ce(() => [
1692
+ le("div", {
1693
1693
  class: "d-drag-btns-names",
1694
1694
  onClick: We(() => {
1695
1695
  }, ["stop"])
1696
1696
  }, [
1697
- fe(J(Sn), {
1697
+ he(J(Sn), {
1698
1698
  class: "d-drag-btn",
1699
1699
  type: "primary",
1700
1700
  size: "small",
1701
1701
  label: t.componentData.name
1702
1702
  }, null, 8, ["label"]),
1703
- ae("div", Ad, [
1704
- (ee(!0), ue(Be, null, gt(J(l)(t.componentData.containerId), (P) => (ee(), ue("div", {
1705
- key: P.id
1703
+ le("div", Ad, [
1704
+ (ee(!0), ue(Be, null, gt(J(l)(t.componentData.containerId), (A) => (ee(), ue("div", {
1705
+ key: A.id
1706
1706
  }, [
1707
- fe(J(Sn), {
1707
+ he(J(Sn), {
1708
1708
  class: "d-drag-btn",
1709
1709
  type: "primary",
1710
1710
  size: "small",
1711
- label: P.name,
1712
- onClick: ($) => J(s)(P.id)
1711
+ label: A.name,
1712
+ onClick: ($) => J(s)(A.id)
1713
1713
  }, null, 8, ["label", "onClick"])
1714
1714
  ]))), 128))
1715
1715
  ])
1716
1716
  ]),
1717
- fe(J(Sn), {
1717
+ he(J(Sn), {
1718
1718
  class: "d-drag-btn",
1719
1719
  type: "primary",
1720
1720
  size: "small",
1721
1721
  icon: "mdi:content-copy",
1722
- onClick: g[0] || (g[0] = We((P) => J(u)(t.componentData.id), ["stop"]))
1722
+ onClick: g[0] || (g[0] = We((A) => J(u)(t.componentData.id), ["stop"]))
1723
1723
  }),
1724
- ae("div", {
1724
+ le("div", {
1725
1725
  onContextmenu: g[1] || (g[1] = We(
1726
1726
  //@ts-ignore
1727
- (...P) => J(p) && J(p)(...P),
1727
+ (...A) => J(p) && J(p)(...A),
1728
1728
  ["stop"]
1729
1729
  )),
1730
1730
  onMousedown: g[2] || (g[2] = We(
1731
1731
  //@ts-ignore
1732
- (...P) => J(y) && J(y)(...P),
1732
+ (...A) => J(y) && J(y)(...A),
1733
1733
  ["stop"]
1734
1734
  )),
1735
1735
  style: { display: "flex" }
1736
1736
  }, [
1737
- fe(J(Sn), {
1737
+ he(J(Sn), {
1738
1738
  class: "d-drag-btn",
1739
1739
  type: "primary",
1740
1740
  size: "small",
1741
1741
  icon: "mdi:drag"
1742
1742
  })
1743
1743
  ], 32),
1744
- fe(J(Sn), {
1744
+ he(J(Sn), {
1745
1745
  class: "d-drag-btn",
1746
1746
  danger: "",
1747
1747
  type: "primary",
1748
1748
  size: "small",
1749
1749
  icon: "mdi:delete",
1750
- onClick: g[3] || (g[3] = We((P) => J(a)(t.componentData.id), ["stop"]))
1750
+ onClick: g[3] || (g[3] = We((A) => J(a)(t.componentData.id), ["stop"]))
1751
1751
  })
1752
1752
  ]),
1753
1753
  _: 1
1754
1754
  })
1755
1755
  ], 32),
1756
- ae("div", {
1756
+ le("div", {
1757
1757
  ref_key: "refDrag",
1758
1758
  ref: n,
1759
1759
  class: "d-drag-body",
1760
1760
  onClick: g[6] || (g[6] = We(
1761
1761
  //@ts-ignore
1762
- (...P) => J(r) && J(r)(...P),
1762
+ (...A) => J(r) && J(r)(...A),
1763
1763
  ["stop"]
1764
1764
  )),
1765
1765
  onContextmenu: g[7] || (g[7] = We(
1766
1766
  //@ts-ignore
1767
- (...P) => J(p) && J(p)(...P),
1767
+ (...A) => J(p) && J(p)(...A),
1768
1768
  ["stop"]
1769
1769
  )),
1770
1770
  onMousedown: g[8] || (g[8] = We(
1771
1771
  //@ts-ignore
1772
- (...P) => J(y) && J(y)(...P),
1772
+ (...A) => J(y) && J(y)(...A),
1773
1773
  ["stop"]
1774
1774
  )),
1775
1775
  onMouseenter: g[9] || (g[9] = //@ts-ignore
1776
- (...P) => J(o) && J(o)(...P)),
1776
+ (...A) => J(o) && J(o)(...A)),
1777
1777
  onMouseleave: g[10] || (g[10] = //@ts-ignore
1778
- (...P) => J(i) && J(i)(...P))
1778
+ (...A) => J(i) && J(i)(...A))
1779
1779
  }, [
1780
1780
  Pe(_.$slots, "default"),
1781
1781
  t.isContainer ? $e("", !0) : (ee(), ue("div", Pd))
@@ -1830,7 +1830,7 @@ const kd = {
1830
1830
  groupId: { default: void 0 }
1831
1831
  },
1832
1832
  setup(t) {
1833
- const e = t, n = de(), o = he(
1833
+ const e = t, n = de(), o = fe(
1834
1834
  () => e.componentData?.children || []
1835
1835
  ), {
1836
1836
  onMouseenter: i,
@@ -1849,7 +1849,7 @@ const kd = {
1849
1849
  o,
1850
1850
  e.isComponentContainer,
1851
1851
  e.groupId
1852
- ), h = he(() => !!(o.value.findIndex((m) => m.groupId === e.groupId) === -1 && l.value));
1852
+ ), h = fe(() => !!(o.value.findIndex((m) => m.groupId === e.groupId) === -1 && l.value));
1853
1853
  return (m, p) => (ee(), ue("div", {
1854
1854
  ref_key: "refDrag",
1855
1855
  ref: n,
@@ -1868,12 +1868,12 @@ const kd = {
1868
1868
  }, [
1869
1869
  t.isComponentContainer ? $e("", !0) : (ee(), ue("div", Od)),
1870
1870
  t.isComponentContainer ? $e("", !0) : (ee(), ue("div", zd, [
1871
- ae("div", {
1871
+ le("div", {
1872
1872
  class: "d-drag-btns-names",
1873
1873
  onClick: We(() => {
1874
1874
  }, ["stop"])
1875
1875
  }, [
1876
- fe(J(Sn), {
1876
+ he(J(Sn), {
1877
1877
  class: "d-drag-btn",
1878
1878
  type: "primary",
1879
1879
  size: "small",
@@ -1881,7 +1881,7 @@ const kd = {
1881
1881
  }, null, 8, ["label"])
1882
1882
  ])
1883
1883
  ])),
1884
- ae("div", {
1884
+ le("div", {
1885
1885
  class: "d-drag-body",
1886
1886
  onClick: p[0] || (p[0] = We(
1887
1887
  //@ts-ignore
@@ -1915,12 +1915,12 @@ const kd = {
1915
1915
  key: 0,
1916
1916
  span: r.config.span || 24
1917
1917
  }, {
1918
- default: xe(() => [
1919
- fe(ts, {
1918
+ default: Ce(() => [
1919
+ he(ts, {
1920
1920
  "is-container": r.dragType !== "component",
1921
1921
  "component-data": r
1922
1922
  }, {
1923
- default: xe(() => [
1923
+ default: Ce(() => [
1924
1924
  (ee(), Te(Et(J(e)), {
1925
1925
  "component-data": r,
1926
1926
  "global-config": t.globalConfig
@@ -1952,7 +1952,7 @@ const kd = {
1952
1952
  "is-container": r.dragType !== "component",
1953
1953
  "component-data": r
1954
1954
  }, {
1955
- default: xe(() => [
1955
+ default: Ce(() => [
1956
1956
  (ee(), Te(Et(J(e)), {
1957
1957
  "component-data": r,
1958
1958
  "global-config": t.globalConfig
@@ -2078,8 +2078,8 @@ function Nr(t, e = !1) {
2078
2078
  const g = [new Promise((w) => {
2079
2079
  S = Ne(
2080
2080
  [t, d],
2081
- ([P, $]) => {
2082
- e !== (P === $) && (S?.(), w(P));
2081
+ ([A, $]) => {
2082
+ e !== (A === $) && (S?.(), w(A));
2083
2083
  },
2084
2084
  {
2085
2085
  flush: h,
@@ -2207,21 +2207,21 @@ function er(t, e, n, o = {}) {
2207
2207
  };
2208
2208
  if (u) {
2209
2209
  const g = S(), w = de(g);
2210
- let P = !1;
2210
+ let A = !1;
2211
2211
  return Ne(
2212
2212
  () => t[e],
2213
2213
  ($) => {
2214
- P || (P = !0, w.value = y($), Ge(() => P = !1));
2214
+ A || (A = !0, w.value = y($), Ge(() => A = !1));
2215
2215
  }
2216
2216
  ), Ne(
2217
2217
  w,
2218
2218
  ($) => {
2219
- !P && ($ !== t[e] || c) && _($);
2219
+ !A && ($ !== t[e] || c) && _($);
2220
2220
  },
2221
2221
  { deep: c }
2222
2222
  ), w;
2223
2223
  } else
2224
- return he({
2224
+ return fe({
2225
2225
  get() {
2226
2226
  return S();
2227
2227
  },
@@ -2466,11 +2466,11 @@ function xf(t, e) {
2466
2466
  for (var r = i.length, s = new Array(r), a = new Array(r), u = new Array(r), l = 0; l < r; ++l) {
2467
2467
  var c = o[l], d = i[l], f = d.length, h = Cf(t.call(c, c && c.__data__, l, o)), m = h.length, p = a[l] = new Array(m), y = s[l] = new Array(m), S = u[l] = new Array(f);
2468
2468
  n(c, d, p, y, S, h, e);
2469
- for (var _ = 0, g = 0, w, P; _ < m; ++_)
2469
+ for (var _ = 0, g = 0, w, A; _ < m; ++_)
2470
2470
  if (w = p[_]) {
2471
- for (_ >= g && (g = _ + 1); !(P = y[g]) && ++g < m; )
2471
+ for (_ >= g && (g = _ + 1); !(A = y[g]) && ++g < m; )
2472
2472
  ;
2473
- w._next = P || null;
2473
+ w._next = A || null;
2474
2474
  }
2475
2475
  }
2476
2476
  return s = new pt(s, o), s._enter = a, s._exit = u, s;
@@ -2974,43 +2974,43 @@ function Hh() {
2974
2974
  function f(w) {
2975
2975
  w.on("mousedown.drag", h).filter(o).on("touchstart.drag", y).on("touchmove.drag", S, Ah).on("touchend.drag touchcancel.drag", _).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
2976
2976
  }
2977
- function h(w, P) {
2978
- if (!(c || !t.call(this, w, P))) {
2979
- var $ = g(this, e.call(this, w, P), w, P, "mouse");
2977
+ function h(w, A) {
2978
+ if (!(c || !t.call(this, w, A))) {
2979
+ var $ = g(this, e.call(this, w, A), w, A, "mouse");
2980
2980
  $ && (St(w.view).on("mousemove.drag", m, fo).on("mouseup.drag", p, fo), Vl(w.view), tr(w), l = !1, a = w.clientX, u = w.clientY, $("start", w));
2981
2981
  }
2982
2982
  }
2983
2983
  function m(w) {
2984
2984
  if (Tn(w), !l) {
2985
- var P = w.clientX - a, $ = w.clientY - u;
2986
- l = P * P + $ * $ > d;
2985
+ var A = w.clientX - a, $ = w.clientY - u;
2986
+ l = A * A + $ * $ > d;
2987
2987
  }
2988
2988
  i.mouse("drag", w);
2989
2989
  }
2990
2990
  function p(w) {
2991
2991
  St(w.view).on("mousemove.drag mouseup.drag", null), Gl(w.view, l), Tn(w), i.mouse("end", w);
2992
2992
  }
2993
- function y(w, P) {
2994
- if (t.call(this, w, P)) {
2995
- var $ = w.changedTouches, F = e.call(this, w, P), Y = $.length, G, E;
2993
+ function y(w, A) {
2994
+ if (t.call(this, w, A)) {
2995
+ var $ = w.changedTouches, F = e.call(this, w, A), Y = $.length, G, E;
2996
2996
  for (G = 0; G < Y; ++G)
2997
- (E = g(this, F, w, P, $[G].identifier, $[G])) && (tr(w), E("start", w, $[G]));
2997
+ (E = g(this, F, w, A, $[G].identifier, $[G])) && (tr(w), E("start", w, $[G]));
2998
2998
  }
2999
2999
  }
3000
3000
  function S(w) {
3001
- var P = w.changedTouches, $ = P.length, F, Y;
3001
+ var A = w.changedTouches, $ = A.length, F, Y;
3002
3002
  for (F = 0; F < $; ++F)
3003
- (Y = i[P[F].identifier]) && (Tn(w), Y("drag", w, P[F]));
3003
+ (Y = i[A[F].identifier]) && (Tn(w), Y("drag", w, A[F]));
3004
3004
  }
3005
3005
  function _(w) {
3006
- var P = w.changedTouches, $ = P.length, F, Y;
3006
+ var A = w.changedTouches, $ = A.length, F, Y;
3007
3007
  for (c && clearTimeout(c), c = setTimeout(function() {
3008
3008
  c = null;
3009
3009
  }, 500), F = 0; F < $; ++F)
3010
- (Y = i[P[F].identifier]) && (tr(w), Y("end", w, P[F]));
3010
+ (Y = i[A[F].identifier]) && (tr(w), Y("end", w, A[F]));
3011
3011
  }
3012
- function g(w, P, $, F, Y, G) {
3013
- var E = r.copy(), T = kt(G || $, P), C, H, b;
3012
+ function g(w, A, $, F, Y, G) {
3013
+ var E = r.copy(), T = kt(G || $, A), C, H, b;
3014
3014
  if ((b = n.call(w, new Ir("beforestart", {
3015
3015
  sourceEvent: $,
3016
3016
  target: f,
@@ -3031,7 +3031,7 @@ function Hh() {
3031
3031
  case "end":
3032
3032
  delete i[Y], --s;
3033
3033
  case "drag":
3034
- T = kt(D || x, P), R = s;
3034
+ T = kt(D || x, A), R = s;
3035
3035
  break;
3036
3036
  }
3037
3037
  E.call(
@@ -3554,13 +3554,13 @@ const qo = (function t(e, n, o) {
3554
3554
  ];
3555
3555
  };
3556
3556
  else {
3557
- var _ = Math.sqrt(p), g = (f * f - l * l + o * p) / (2 * l * n * _), w = (f * f - l * l - o * p) / (2 * f * n * _), P = Math.log(Math.sqrt(g * g + 1) - g), $ = Math.log(Math.sqrt(w * w + 1) - w);
3558
- S = ($ - P) / e, y = function(F) {
3559
- var Y = F * S, G = ia(P), E = l / (n * _) * (G * hg(e * Y + P) - fg(P));
3557
+ var _ = Math.sqrt(p), g = (f * f - l * l + o * p) / (2 * l * n * _), w = (f * f - l * l - o * p) / (2 * f * n * _), A = Math.log(Math.sqrt(g * g + 1) - g), $ = Math.log(Math.sqrt(w * w + 1) - w);
3558
+ S = ($ - A) / e, y = function(F) {
3559
+ var Y = F * S, G = ia(A), E = l / (n * _) * (G * hg(e * Y + A) - fg(A));
3560
3560
  return [
3561
3561
  a + E * h,
3562
3562
  u + E * m,
3563
- l * G / ia(e * Y + P)
3563
+ l * G / ia(e * Y + A)
3564
3564
  ];
3565
3565
  };
3566
3566
  }
@@ -4268,7 +4268,7 @@ function Mp() {
4268
4268
  }
4269
4269
  S.transform = function(b, N, v, x) {
4270
4270
  var D = b.selection ? b.selection() : b;
4271
- D.property("__zoom", ca), b !== D ? P(b, N, v, x) : D.interrupt().each(function() {
4271
+ D.property("__zoom", ca), b !== D ? A(b, N, v, x) : D.interrupt().each(function() {
4272
4272
  $(this, arguments).event(x).start().zoom(null, typeof N == "function" ? N.apply(this, arguments) : N).end();
4273
4273
  });
4274
4274
  }, S.scaleBy = function(b, N, v, x) {
@@ -4307,7 +4307,7 @@ function Mp() {
4307
4307
  function w(b) {
4308
4308
  return [(+b[0][0] + +b[1][0]) / 2, (+b[0][1] + +b[1][1]) / 2];
4309
4309
  }
4310
- function P(b, N, v, x) {
4310
+ function A(b, N, v, x) {
4311
4311
  b.on("start.zoom", function() {
4312
4312
  $(this, arguments).event(x).start();
4313
4313
  }).on("interrupt.zoom end.zoom", function() {
@@ -4394,7 +4394,7 @@ function Mp() {
4394
4394
  function E(b, ...N) {
4395
4395
  if (t.apply(this, arguments)) {
4396
4396
  var v = this.__zoom, x = kt(b.changedTouches ? b.changedTouches[0] : b, this), D = v.invert(x), z = v.k * (b.shiftKey ? 0.5 : 2), R = n(g(_(v, z), x, D), e.apply(this, N), s);
4397
- Wn(b), a > 0 ? St(this).transition().duration(a).call(P, R, x, b) : St(this).call(S.transform, R, x, b);
4397
+ Wn(b), a > 0 ? St(this).transition().duration(a).call(A, R, x, b) : St(this).call(S.transform, R, x, b);
4398
4398
  }
4399
4399
  }
4400
4400
  function T(b, ...N) {
@@ -4501,7 +4501,7 @@ function zp(t, e) {
4501
4501
  return e.includes(t) ? "code" : "key";
4502
4502
  }
4503
4503
  function to(t, e) {
4504
- const n = he(() => Ie(e?.target) ?? Ap), o = $t(Ie(t) === !0);
4504
+ const n = fe(() => Ie(e?.target) ?? Ap), o = $t(Ie(t) === !0);
4505
4505
  let i = !1;
4506
4506
  const r = /* @__PURE__ */ new Set();
4507
4507
  let s = u(Ie(t));
@@ -4975,7 +4975,7 @@ function nn(t, e = /* @__PURE__ */ new Set(), n = !1) {
4975
4975
  }
4976
4976
  const ba = () => {
4977
4977
  };
4978
- function ge(t) {
4978
+ function pe(t) {
4979
4979
  const e = /* @__PURE__ */ new Set();
4980
4980
  let n = ba, o = () => !1;
4981
4981
  const i = () => e.size > 0 || o(), r = (f) => {
@@ -5297,8 +5297,8 @@ function Ca(t, {
5297
5297
  toHandle: null
5298
5298
  };
5299
5299
  if (g) {
5300
- const P = yc(void 0, g), $ = g.getAttribute("data-nodeid"), F = g.getAttribute("data-handleid"), Y = g.classList.contains("connectable"), G = g.classList.contains("connectableend");
5301
- if (!$ || !P)
5300
+ const A = yc(void 0, g), $ = g.getAttribute("data-nodeid"), F = g.getAttribute("data-handleid"), Y = g.classList.contains("connectable"), G = g.classList.contains("connectableend");
5301
+ if (!$ || !A)
5302
5302
  return w;
5303
5303
  const E = {
5304
5304
  source: m ? $ : o,
@@ -5307,13 +5307,13 @@ function Ca(t, {
5307
5307
  targetHandle: m ? i : F
5308
5308
  };
5309
5309
  w.connection = E;
5310
- const C = Y && G && (n === Kt.Strict ? m && P === "source" || !m && P === "target" : $ !== o || F !== i);
5310
+ const C = Y && G && (n === Kt.Strict ? m && A === "source" || !m && A === "target" : $ !== o || F !== i);
5311
5311
  w.isValid = C && l(E, {
5312
5312
  nodes: d,
5313
5313
  edges: c,
5314
5314
  sourceNode: f(E.source),
5315
5315
  targetNode: f(E.target)
5316
- }), w.toHandle = bc($, P, F, h, n, !0);
5316
+ }), w.toHandle = bc($, A, F, h, n, !0);
5317
5317
  }
5318
5318
  return w;
5319
5319
  }
@@ -5500,21 +5500,21 @@ function Cc(t) {
5500
5500
  addSelectedNodes: _,
5501
5501
  updateNodePositions: g,
5502
5502
  emits: w
5503
- } = Re(), { onStart: P, onDrag: $, onStop: F, onClick: Y, el: G, disabled: E, id: T, selectable: C, dragHandle: H } = t, b = $t(!1);
5503
+ } = Re(), { onStart: A, onDrag: $, onStop: F, onClick: Y, el: G, disabled: E, id: T, selectable: C, dragHandle: H } = t, b = $t(!1);
5504
5504
  let N = [], v, x = null, D = { x: void 0, y: void 0 }, z = { x: 0, y: 0 }, R = null, M = !1, O = !1, L = 0, V = !1;
5505
- const K = pm(), Q = ({ x: ie, y: le }) => {
5506
- D = { x: ie, y: le };
5507
- let A = !1;
5505
+ const K = pm(), Q = ({ x: re, y: ae }) => {
5506
+ D = { x: re, y: ae };
5507
+ let P = !1;
5508
5508
  if (N = N.map((I) => {
5509
- const B = { x: ie - I.distance.x, y: le - I.distance.y }, { computedPosition: U } = us(
5509
+ const B = { x: re - I.distance.x, y: ae - I.distance.y }, { computedPosition: U } = us(
5510
5510
  I,
5511
5511
  n.value ? ji(B, o.value) : B,
5512
5512
  w.error,
5513
5513
  s.value,
5514
5514
  I.parentNode ? h(I.parentNode) : void 0
5515
5515
  );
5516
- return A = A || I.position.x !== U.x || I.position.y !== U.y, I.position = U, I;
5517
- }), O = O || A, !!A && (g(N, !0, !0), b.value = !0, R)) {
5516
+ return P = P || I.position.x !== U.x || I.position.y !== U.y, I.position = U, I;
5517
+ }), O = O || P, !!P && (g(N, !0, !0), b.value = !0, R)) {
5518
5518
  const [I, B] = sr({
5519
5519
  id: T,
5520
5520
  dragItems: N,
@@ -5525,69 +5525,69 @@ function Cc(t) {
5525
5525
  }, X = () => {
5526
5526
  if (!x)
5527
5527
  return;
5528
- const [ie, le] = mc(z, x, c.value);
5529
- if (ie !== 0 || le !== 0) {
5530
- const A = {
5531
- x: (D.x ?? 0) - ie / u.value.zoom,
5532
- y: (D.y ?? 0) - le / u.value.zoom
5528
+ const [re, ae] = mc(z, x, c.value);
5529
+ if (re !== 0 || ae !== 0) {
5530
+ const P = {
5531
+ x: (D.x ?? 0) - re / u.value.zoom,
5532
+ y: (D.y ?? 0) - ae / u.value.zoom
5533
5533
  };
5534
- f({ x: ie, y: le }) && Q(A);
5534
+ f({ x: re, y: ae }) && Q(P);
5535
5535
  }
5536
5536
  L = requestAnimationFrame(X);
5537
- }, te = (ie, le) => {
5537
+ }, te = (re, ae) => {
5538
5538
  M = !0;
5539
- const A = h(T);
5540
- !y.value && !m.value && A && (A.selected || S()), A && Ie(C) && y.value && Br(
5541
- A,
5539
+ const P = h(T);
5540
+ !y.value && !m.value && P && (P.selected || S()), P && Ie(C) && y.value && Br(
5541
+ P,
5542
5542
  m.value,
5543
5543
  _,
5544
5544
  S,
5545
5545
  p,
5546
5546
  !1,
5547
- le
5547
+ ae
5548
5548
  );
5549
- const I = K(ie.sourceEvent);
5549
+ const I = K(re.sourceEvent);
5550
5550
  if (D = I, N = Xp(r.value, d.value, I, T), N.length) {
5551
5551
  const [B, U] = sr({
5552
5552
  id: T,
5553
5553
  dragItems: N,
5554
5554
  findNode: h
5555
5555
  });
5556
- P({ event: ie.sourceEvent, node: B, nodes: U });
5556
+ A({ event: re.sourceEvent, node: B, nodes: U });
5557
5557
  }
5558
- }, se = (ie, le) => {
5559
- var A;
5560
- ie.sourceEvent.type === "touchmove" && ie.sourceEvent.touches.length > 1 || (O = !1, a.value === 0 && te(ie, le), D = K(ie.sourceEvent), x = ((A = e.value) == null ? void 0 : A.getBoundingClientRect()) || null, z = Mt(ie.sourceEvent, x));
5561
- }, re = (ie, le) => {
5562
- const A = K(ie.sourceEvent);
5558
+ }, se = (re, ae) => {
5559
+ var P;
5560
+ re.sourceEvent.type === "touchmove" && re.sourceEvent.touches.length > 1 || (O = !1, a.value === 0 && te(re, ae), D = K(re.sourceEvent), x = ((P = e.value) == null ? void 0 : P.getBoundingClientRect()) || null, z = Mt(re.sourceEvent, x));
5561
+ }, ie = (re, ae) => {
5562
+ const P = K(re.sourceEvent);
5563
5563
  if (!V && M && l.value && (V = !0, X()), !M) {
5564
- const I = A.xSnapped - (D.x ?? 0), B = A.ySnapped - (D.y ?? 0);
5565
- Math.sqrt(I * I + B * B) > a.value && te(ie, le);
5564
+ const I = P.xSnapped - (D.x ?? 0), B = P.ySnapped - (D.y ?? 0);
5565
+ Math.sqrt(I * I + B * B) > a.value && te(re, ae);
5566
5566
  }
5567
- (D.x !== A.xSnapped || D.y !== A.ySnapped) && N.length && M && (R = ie.sourceEvent, z = Mt(ie.sourceEvent, x), Q(A));
5568
- }, pe = (ie) => {
5569
- let le = !1;
5567
+ (D.x !== P.xSnapped || D.y !== P.ySnapped) && N.length && M && (R = re.sourceEvent, z = Mt(re.sourceEvent, x), Q(P));
5568
+ }, ge = (re) => {
5569
+ let ae = !1;
5570
5570
  if (!M && !b.value && !m.value) {
5571
- const A = ie.sourceEvent, I = K(A), B = I.xSnapped - (D.x ?? 0), U = I.ySnapped - (D.y ?? 0), k = Math.sqrt(B * B + U * U);
5572
- k !== 0 && k <= a.value && (Y?.(A), le = !0);
5571
+ const P = re.sourceEvent, I = K(P), B = I.xSnapped - (D.x ?? 0), U = I.ySnapped - (D.y ?? 0), k = Math.sqrt(B * B + U * U);
5572
+ k !== 0 && k <= a.value && (Y?.(P), ae = !0);
5573
5573
  }
5574
- if (N.length && !le) {
5574
+ if (N.length && !ae) {
5575
5575
  O && (g(N, !1, !1), O = !1);
5576
- const [A, I] = sr({
5576
+ const [P, I] = sr({
5577
5577
  id: T,
5578
5578
  dragItems: N,
5579
5579
  findNode: h
5580
5580
  });
5581
- F({ event: ie.sourceEvent, node: A, nodes: I });
5581
+ F({ event: re.sourceEvent, node: P, nodes: I });
5582
5582
  }
5583
5583
  N = [], b.value = !1, V = !1, M = !1, D = { x: void 0, y: void 0 }, cancelAnimationFrame(L);
5584
5584
  };
5585
- return Ne([() => Ie(E), G], ([ie, le], A, I) => {
5586
- if (le) {
5587
- const B = St(le);
5588
- ie || (v = Hh().on("start", (U) => se(U, le)).on("drag", (U) => re(U, le)).on("end", (U) => pe(U)).filter((U) => {
5585
+ return Ne([() => Ie(E), G], ([re, ae], P, I) => {
5586
+ if (ae) {
5587
+ const B = St(ae);
5588
+ re || (v = Hh().on("start", (U) => se(U, ae)).on("drag", (U) => ie(U, ae)).on("end", (U) => ge(U)).filter((U) => {
5589
5589
  const k = U.target, W = Ie(H);
5590
- return !U.button && (!i.value || !_a(k, `.${i.value}`, le) && (!W || _a(k, W, le)));
5590
+ return !U.button && (!i.value || !_a(k, `.${i.value}`, ae) && (!W || _a(k, W, ae)));
5591
5591
  }), B.call(v)), I(() => {
5592
5592
  B.on(".drag", null), v && (v.on("start", null), v.on("drag", null), v.on("end", null));
5593
5593
  });
@@ -5596,15 +5596,15 @@ function Cc(t) {
5596
5596
  }
5597
5597
  function hm() {
5598
5598
  return {
5599
- doubleClick: ge(),
5600
- click: ge(),
5601
- mouseEnter: ge(),
5602
- mouseMove: ge(),
5603
- mouseLeave: ge(),
5604
- contextMenu: ge(),
5605
- updateStart: ge(),
5606
- update: ge(),
5607
- updateEnd: ge()
5599
+ doubleClick: pe(),
5600
+ click: pe(),
5601
+ mouseEnter: pe(),
5602
+ mouseMove: pe(),
5603
+ mouseLeave: pe(),
5604
+ contextMenu: pe(),
5605
+ updateStart: pe(),
5606
+ update: pe(),
5607
+ updateEnd: pe()
5608
5608
  };
5609
5609
  }
5610
5610
  function gm(t, e) {
@@ -5680,7 +5680,7 @@ function Ec({
5680
5680
  startConnection: _,
5681
5681
  updateConnection: g,
5682
5682
  endConnection: w,
5683
- emits: P,
5683
+ emits: A,
5684
5684
  viewport: $,
5685
5685
  edges: F,
5686
5686
  nodes: Y,
@@ -5693,8 +5693,8 @@ function Ec({
5693
5693
  const D = Ie(n) === "target", z = ds(v), R = da(v.target), M = v.currentTarget;
5694
5694
  if (M && (z && v.button === 0 || !z)) {
5695
5695
  let O = function(oe) {
5696
- A = Mt(oe, pe), Q = rm(
5697
- vo(A, $.value, !1, [1, 1]),
5696
+ P = Mt(oe, ge), Q = rm(
5697
+ vo(P, $.value, !1, [1, 1]),
5698
5698
  c.value,
5699
5699
  E.value,
5700
5700
  U
@@ -5723,7 +5723,7 @@ function Ec({
5723
5723
  // from stays the same
5724
5724
  ...q,
5725
5725
  isValid: C,
5726
- to: ne.toHandle && C ? mo({ x: ne.toHandle.x, y: ne.toHandle.y }, $.value) : A,
5726
+ to: ne.toHandle && C ? mo({ x: ne.toHandle.x, y: ne.toHandle.y }, $.value) : P,
5727
5727
  toHandle: ne.toHandle,
5728
5728
  toPosition: C && ne.toHandle ? ne.toHandle.position : Hr[U.position],
5729
5729
  toNode: ne.toHandle ? E.value.get(ne.toHandle.nodeId) : null
@@ -5738,36 +5738,36 @@ function Ec({
5738
5738
  y: _e.y
5739
5739
  },
5740
5740
  $.value
5741
- ) : A,
5741
+ ) : P,
5742
5742
  _e,
5743
5743
  sm(!!_e, C)
5744
5744
  ), q = ye, !Q && !C && !H)
5745
- return ar(le);
5746
- T && T.source !== T.target && H && (ar(le), le = H, H.classList.add("connecting", "vue-flow__handle-connecting"), H.classList.toggle("valid", !!C), H.classList.toggle("vue-flow__handle-valid", !!C));
5745
+ return ar(ae);
5746
+ T && T.source !== T.target && H && (ar(ae), ae = H, H.classList.add("connecting", "vue-flow__handle-connecting"), H.classList.toggle("valid", !!C), H.classList.toggle("vue-flow__handle-valid", !!C));
5747
5747
  }, L = function(oe) {
5748
- "touches" in oe && oe.touches.length > 0 || ((Q || H) && T && C && (r ? r(oe, T) : P.connect(T)), P.connectEnd(oe), i && s?.(oe), ar(le), cancelAnimationFrame(X), w(oe), I = !1, C = !1, T = null, H = null, R.removeEventListener("mousemove", O), R.removeEventListener("mouseup", L), R.removeEventListener("touchmove", O), R.removeEventListener("touchend", L));
5748
+ "touches" in oe && oe.touches.length > 0 || ((Q || H) && T && C && (r ? r(oe, T) : A.connect(T)), A.connectEnd(oe), i && s?.(oe), ar(ae), cancelAnimationFrame(X), w(oe), I = !1, C = !1, T = null, H = null, R.removeEventListener("mousemove", O), R.removeEventListener("mouseup", L), R.removeEventListener("touchmove", O), R.removeEventListener("touchend", L));
5749
5749
  };
5750
5750
  const V = y(Ie(e));
5751
5751
  let K = Ie(o) || G.value || Po;
5752
5752
  !K && V && (K = (D ? V.isValidSourcePos : V.isValidTargetPos) || Po);
5753
5753
  let Q, X = 0;
5754
- const { x: te, y: se } = Mt(v), re = yc(Ie(i), M), pe = (x = u.value) == null ? void 0 : x.getBoundingClientRect();
5755
- if (!pe || !re)
5754
+ const { x: te, y: se } = Mt(v), ie = yc(Ie(i), M), ge = (x = u.value) == null ? void 0 : x.getBoundingClientRect();
5755
+ if (!ge || !ie)
5756
5756
  return;
5757
- const ie = bc(Ie(e), re, Ie(t), E.value, l.value);
5758
- if (!ie)
5757
+ const re = bc(Ie(e), ie, Ie(t), E.value, l.value);
5758
+ if (!re)
5759
5759
  return;
5760
- let le, A = Mt(v, pe), I = !1;
5760
+ let ae, P = Mt(v, ge), I = !1;
5761
5761
  const B = () => {
5762
5762
  if (!m.value)
5763
5763
  return;
5764
- const [oe, ne] = mc(A, pe, p.value);
5764
+ const [oe, ne] = mc(P, ge, p.value);
5765
5765
  S({ x: oe, y: ne }), X = requestAnimationFrame(B);
5766
5766
  }, U = {
5767
- ...ie,
5767
+ ...re,
5768
5768
  nodeId: Ie(e),
5769
- type: re,
5770
- position: ie.position
5769
+ type: ie,
5770
+ position: re.position
5771
5771
  }, k = E.value.get(Ie(e)), j = {
5772
5772
  inProgress: !0,
5773
5773
  isValid: null,
@@ -5775,7 +5775,7 @@ function Ec({
5775
5775
  fromHandle: U,
5776
5776
  fromPosition: U.position,
5777
5777
  fromNode: k,
5778
- to: A,
5778
+ to: P,
5779
5779
  toHandle: null,
5780
5780
  toPosition: Hr[U.position],
5781
5781
  toNode: null
@@ -5784,15 +5784,15 @@ function Ec({
5784
5784
  {
5785
5785
  nodeId: Ie(e),
5786
5786
  id: Ie(t),
5787
- type: re,
5787
+ type: ie,
5788
5788
  position: M?.getAttribute("data-handlepos") || me.Top,
5789
- ...A
5789
+ ...P
5790
5790
  },
5791
5791
  {
5792
- x: te - pe.left,
5793
- y: se - pe.top
5792
+ x: te - ge.left,
5793
+ y: se - ge.top
5794
5794
  }
5795
- ), P.connectStart({ event: v, nodeId: Ie(e), handleId: Ie(t), handleType: re });
5795
+ ), A.connectStart({ event: v, nodeId: Ie(e), handleId: Ie(t), handleType: ie });
5796
5796
  let q = j;
5797
5797
  R.addEventListener("mousemove", O), R.addEventListener("mouseup", L), R.addEventListener("touchmove", O), R.addEventListener("touchend", L);
5798
5798
  }
@@ -5803,7 +5803,7 @@ function Ec({
5803
5803
  return;
5804
5804
  const z = Ie(n) === "target";
5805
5805
  if (!f.value) {
5806
- P.clickConnectStart({ event: v, nodeId: Ie(e), handleId: Ie(t) }), _(
5806
+ A.clickConnectStart({ event: v, nodeId: Ie(e), handleId: Ie(t) }), _(
5807
5807
  {
5808
5808
  nodeId: Ie(e),
5809
5809
  type: Ie(n),
@@ -5845,7 +5845,7 @@ function Ec({
5845
5845
  y,
5846
5846
  E.value
5847
5847
  ), V = ((x = L.connection) == null ? void 0 : x.source) === ((D = L.connection) == null ? void 0 : D.target);
5848
- L.isValid && L.connection && !V && P.connect(L.connection), P.clickConnectEnd(v), w(v, !0);
5848
+ L.isValid && L.connection && !V && A.connect(L.connection), A.clickConnectEnd(v), w(v, !0);
5849
5849
  }
5850
5850
  return {
5851
5851
  handlePointerDown: b,
@@ -5861,21 +5861,21 @@ function Sc(t) {
5861
5861
  id: e,
5862
5862
  nodeEl: n,
5863
5863
  node: s,
5864
- parentNode: he(() => o(s.parentNode)),
5865
- connectedEdges: he(() => gc([s], i.value))
5864
+ parentNode: fe(() => o(s.parentNode)),
5865
+ connectedEdges: fe(() => gc([s], i.value))
5866
5866
  };
5867
5867
  }
5868
5868
  function vm() {
5869
5869
  return {
5870
- doubleClick: ge(),
5871
- click: ge(),
5872
- mouseEnter: ge(),
5873
- mouseMove: ge(),
5874
- mouseLeave: ge(),
5875
- contextMenu: ge(),
5876
- dragStart: ge(),
5877
- drag: ge(),
5878
- dragStop: ge()
5870
+ doubleClick: pe(),
5871
+ click: pe(),
5872
+ mouseEnter: pe(),
5873
+ mouseMove: pe(),
5874
+ mouseLeave: pe(),
5875
+ contextMenu: pe(),
5876
+ dragStart: pe(),
5877
+ drag: pe(),
5878
+ dragStop: pe()
5879
5879
  };
5880
5880
  }
5881
5881
  function ym(t, e) {
@@ -5979,7 +5979,7 @@ function wm(t) {
5979
5979
  ) : a(!1);
5980
5980
  });
5981
5981
  }
5982
- return he(() => t.d3Zoom && t.d3Selection && t.dimensions.width && t.dimensions.height ? {
5982
+ return fe(() => t.d3Zoom && t.d3Selection && t.dimensions.width && t.dimensions.height ? {
5983
5983
  viewportInitialized: !0,
5984
5984
  // todo: allow passing scale as option
5985
5985
  zoomIn: (i) => e(1.2, i),
@@ -6248,59 +6248,59 @@ function xm(t, e, n) {
6248
6248
  }
6249
6249
  function Cm() {
6250
6250
  return {
6251
- edgesChange: ge(),
6252
- nodesChange: ge(),
6253
- nodeDoubleClick: ge(),
6254
- nodeClick: ge(),
6255
- nodeMouseEnter: ge(),
6256
- nodeMouseMove: ge(),
6257
- nodeMouseLeave: ge(),
6258
- nodeContextMenu: ge(),
6259
- nodeDragStart: ge(),
6260
- nodeDrag: ge(),
6261
- nodeDragStop: ge(),
6262
- nodesInitialized: ge(),
6263
- miniMapNodeClick: ge(),
6264
- miniMapNodeDoubleClick: ge(),
6265
- miniMapNodeMouseEnter: ge(),
6266
- miniMapNodeMouseMove: ge(),
6267
- miniMapNodeMouseLeave: ge(),
6268
- connect: ge(),
6269
- connectStart: ge(),
6270
- connectEnd: ge(),
6271
- clickConnectStart: ge(),
6272
- clickConnectEnd: ge(),
6273
- paneReady: ge(),
6274
- init: ge(),
6275
- move: ge(),
6276
- moveStart: ge(),
6277
- moveEnd: ge(),
6278
- selectionDragStart: ge(),
6279
- selectionDrag: ge(),
6280
- selectionDragStop: ge(),
6281
- selectionContextMenu: ge(),
6282
- selectionStart: ge(),
6283
- selectionEnd: ge(),
6284
- viewportChangeStart: ge(),
6285
- viewportChange: ge(),
6286
- viewportChangeEnd: ge(),
6287
- paneScroll: ge(),
6288
- paneClick: ge(),
6289
- paneContextMenu: ge(),
6290
- paneMouseEnter: ge(),
6291
- paneMouseMove: ge(),
6292
- paneMouseLeave: ge(),
6293
- edgeContextMenu: ge(),
6294
- edgeMouseEnter: ge(),
6295
- edgeMouseMove: ge(),
6296
- edgeMouseLeave: ge(),
6297
- edgeDoubleClick: ge(),
6298
- edgeClick: ge(),
6299
- edgeUpdateStart: ge(),
6300
- edgeUpdate: ge(),
6301
- edgeUpdateEnd: ge(),
6302
- updateNodeInternals: ge(),
6303
- error: ge((t) => Eo(t.message))
6251
+ edgesChange: pe(),
6252
+ nodesChange: pe(),
6253
+ nodeDoubleClick: pe(),
6254
+ nodeClick: pe(),
6255
+ nodeMouseEnter: pe(),
6256
+ nodeMouseMove: pe(),
6257
+ nodeMouseLeave: pe(),
6258
+ nodeContextMenu: pe(),
6259
+ nodeDragStart: pe(),
6260
+ nodeDrag: pe(),
6261
+ nodeDragStop: pe(),
6262
+ nodesInitialized: pe(),
6263
+ miniMapNodeClick: pe(),
6264
+ miniMapNodeDoubleClick: pe(),
6265
+ miniMapNodeMouseEnter: pe(),
6266
+ miniMapNodeMouseMove: pe(),
6267
+ miniMapNodeMouseLeave: pe(),
6268
+ connect: pe(),
6269
+ connectStart: pe(),
6270
+ connectEnd: pe(),
6271
+ clickConnectStart: pe(),
6272
+ clickConnectEnd: pe(),
6273
+ paneReady: pe(),
6274
+ init: pe(),
6275
+ move: pe(),
6276
+ moveStart: pe(),
6277
+ moveEnd: pe(),
6278
+ selectionDragStart: pe(),
6279
+ selectionDrag: pe(),
6280
+ selectionDragStop: pe(),
6281
+ selectionContextMenu: pe(),
6282
+ selectionStart: pe(),
6283
+ selectionEnd: pe(),
6284
+ viewportChangeStart: pe(),
6285
+ viewportChange: pe(),
6286
+ viewportChangeEnd: pe(),
6287
+ paneScroll: pe(),
6288
+ paneClick: pe(),
6289
+ paneContextMenu: pe(),
6290
+ paneMouseEnter: pe(),
6291
+ paneMouseMove: pe(),
6292
+ paneMouseLeave: pe(),
6293
+ edgeContextMenu: pe(),
6294
+ edgeMouseEnter: pe(),
6295
+ edgeMouseMove: pe(),
6296
+ edgeMouseLeave: pe(),
6297
+ edgeDoubleClick: pe(),
6298
+ edgeClick: pe(),
6299
+ edgeUpdateStart: pe(),
6300
+ edgeUpdate: pe(),
6301
+ edgeUpdateEnd: pe(),
6302
+ updateNodeInternals: pe(),
6303
+ error: pe((t) => Eo(t.message))
6304
6304
  };
6305
6305
  }
6306
6306
  function Em(t, e) {
@@ -6433,23 +6433,23 @@ const Dm = [
6433
6433
  "defaultEdgeOptions"
6434
6434
  ];
6435
6435
  function Nm(t, e, n) {
6436
- const o = wm(t), i = (A) => {
6437
- const I = A ?? [];
6436
+ const o = wm(t), i = (P) => {
6437
+ const I = P ?? [];
6438
6438
  t.hooks.updateNodeInternals.trigger(I);
6439
- }, r = (A) => Fp(A, t.nodes, t.edges), s = (A) => Lp(A, t.nodes, t.edges), a = (A) => gc(A, t.edges), u = ({ id: A, type: I, nodeId: B }) => {
6439
+ }, r = (P) => Fp(P, t.nodes, t.edges), s = (P) => Lp(P, t.nodes, t.edges), a = (P) => gc(P, t.edges), u = ({ id: P, type: I, nodeId: B }) => {
6440
6440
  var U;
6441
- const k = A ? `-${I}-${A}` : `-${I}`;
6441
+ const k = P ? `-${I}-${P}` : `-${I}`;
6442
6442
  return Array.from(((U = t.connectionLookup.get(`${B}${k}`)) == null ? void 0 : U.values()) ?? []);
6443
- }, l = (A) => {
6444
- if (A)
6445
- return e.value.get(A);
6446
- }, c = (A) => {
6447
- if (A)
6448
- return n.value.get(A);
6449
- }, d = (A, I, B) => {
6443
+ }, l = (P) => {
6444
+ if (P)
6445
+ return e.value.get(P);
6446
+ }, c = (P) => {
6447
+ if (P)
6448
+ return n.value.get(P);
6449
+ }, d = (P, I, B) => {
6450
6450
  var U, k;
6451
6451
  const W = [];
6452
- for (const j of A) {
6452
+ for (const j of P) {
6453
6453
  const q = {
6454
6454
  id: j.id,
6455
6455
  type: "position",
@@ -6466,14 +6466,14 @@ function Nm(t, e, n) {
6466
6466
  W.push(q);
6467
6467
  }
6468
6468
  W?.length && t.hooks.nodesChange.trigger(W);
6469
- }, f = (A) => {
6469
+ }, f = (P) => {
6470
6470
  if (!t.vueFlowRef)
6471
6471
  return;
6472
6472
  const I = t.vueFlowRef.querySelector(".vue-flow__transformationpane");
6473
6473
  if (!I)
6474
6474
  return;
6475
6475
  const B = window.getComputedStyle(I), { m22: U } = new window.DOMMatrixReadOnly(B.transform), k = [];
6476
- for (const W of A) {
6476
+ for (const W of P) {
6477
6477
  const j = W, q = l(j.id);
6478
6478
  if (q) {
6479
6479
  const oe = Gi(j.nodeElement);
@@ -6490,9 +6490,9 @@ function Nm(t, e, n) {
6490
6490
  !t.fitViewOnInitDone && t.fitViewOnInit && o.value.fitView().then(() => {
6491
6491
  t.fitViewOnInitDone = !0;
6492
6492
  }), k.length && t.hooks.nodesChange.trigger(k);
6493
- }, h = (A, I) => {
6493
+ }, h = (P, I) => {
6494
6494
  const B = /* @__PURE__ */ new Set(), U = /* @__PURE__ */ new Set();
6495
- for (const j of A)
6495
+ for (const j of P)
6496
6496
  pn(j) ? B.add(j.id) : an(j) && U.add(j.id);
6497
6497
  const k = nn(e.value, B, !0), W = nn(n.value, U);
6498
6498
  if (t.multiSelectionActive) {
@@ -6502,32 +6502,32 @@ function Nm(t, e, n) {
6502
6502
  W.push(tn(j, I));
6503
6503
  }
6504
6504
  k.length && t.hooks.nodesChange.trigger(k), W.length && t.hooks.edgesChange.trigger(W);
6505
- }, m = (A) => {
6505
+ }, m = (P) => {
6506
6506
  if (t.multiSelectionActive) {
6507
- const I = A.map((B) => tn(B.id, !0));
6507
+ const I = P.map((B) => tn(B.id, !0));
6508
6508
  t.hooks.nodesChange.trigger(I);
6509
6509
  return;
6510
6510
  }
6511
- t.hooks.nodesChange.trigger(nn(e.value, new Set(A.map((I) => I.id)), !0)), t.hooks.edgesChange.trigger(nn(n.value));
6512
- }, p = (A) => {
6511
+ t.hooks.nodesChange.trigger(nn(e.value, new Set(P.map((I) => I.id)), !0)), t.hooks.edgesChange.trigger(nn(n.value));
6512
+ }, p = (P) => {
6513
6513
  if (t.multiSelectionActive) {
6514
- const I = A.map((B) => tn(B.id, !0));
6514
+ const I = P.map((B) => tn(B.id, !0));
6515
6515
  t.hooks.edgesChange.trigger(I);
6516
6516
  return;
6517
6517
  }
6518
- t.hooks.edgesChange.trigger(nn(n.value, new Set(A.map((I) => I.id)))), t.hooks.nodesChange.trigger(nn(e.value, /* @__PURE__ */ new Set(), !0));
6519
- }, y = (A) => {
6520
- h(A, !0);
6521
- }, S = (A) => {
6522
- const B = (A || t.nodes).map((U) => (U.selected = !1, tn(U.id, !1)));
6518
+ t.hooks.edgesChange.trigger(nn(n.value, new Set(P.map((I) => I.id)))), t.hooks.nodesChange.trigger(nn(e.value, /* @__PURE__ */ new Set(), !0));
6519
+ }, y = (P) => {
6520
+ h(P, !0);
6521
+ }, S = (P) => {
6522
+ const B = (P || t.nodes).map((U) => (U.selected = !1, tn(U.id, !1)));
6523
6523
  t.hooks.nodesChange.trigger(B);
6524
- }, _ = (A) => {
6525
- const B = (A || t.edges).map((U) => (U.selected = !1, tn(U.id, !1)));
6524
+ }, _ = (P) => {
6525
+ const B = (P || t.edges).map((U) => (U.selected = !1, tn(U.id, !1)));
6526
6526
  t.hooks.edgesChange.trigger(B);
6527
- }, g = (A) => {
6528
- if (!A || !A.length)
6527
+ }, g = (P) => {
6528
+ if (!P || !P.length)
6529
6529
  return h([], !1);
6530
- const I = A.reduce(
6530
+ const I = P.reduce(
6531
6531
  (B, U) => {
6532
6532
  const k = tn(U.id, !1);
6533
6533
  return pn(U) ? B.nodes.push(k) : B.edges.push(k), B;
@@ -6535,27 +6535,27 @@ function Nm(t, e, n) {
6535
6535
  { nodes: [], edges: [] }
6536
6536
  );
6537
6537
  I.nodes.length && t.hooks.nodesChange.trigger(I.nodes), I.edges.length && t.hooks.edgesChange.trigger(I.edges);
6538
- }, w = (A) => {
6538
+ }, w = (P) => {
6539
6539
  var I;
6540
- (I = t.d3Zoom) == null || I.scaleExtent([A, t.maxZoom]), t.minZoom = A;
6541
- }, P = (A) => {
6540
+ (I = t.d3Zoom) == null || I.scaleExtent([P, t.maxZoom]), t.minZoom = P;
6541
+ }, A = (P) => {
6542
6542
  var I;
6543
- (I = t.d3Zoom) == null || I.scaleExtent([t.minZoom, A]), t.maxZoom = A;
6544
- }, $ = (A) => {
6543
+ (I = t.d3Zoom) == null || I.scaleExtent([t.minZoom, P]), t.maxZoom = P;
6544
+ }, $ = (P) => {
6545
6545
  var I;
6546
- (I = t.d3Zoom) == null || I.translateExtent(A), t.translateExtent = A;
6547
- }, F = (A) => {
6548
- t.nodeExtent = A, i();
6549
- }, Y = (A) => {
6546
+ (I = t.d3Zoom) == null || I.translateExtent(P), t.translateExtent = P;
6547
+ }, F = (P) => {
6548
+ t.nodeExtent = P, i();
6549
+ }, Y = (P) => {
6550
6550
  var I;
6551
- (I = t.d3Zoom) == null || I.clickDistance(A);
6552
- }, G = (A) => {
6553
- t.nodesDraggable = A, t.nodesConnectable = A, t.elementsSelectable = A;
6554
- }, E = (A) => {
6555
- const I = A instanceof Function ? A(t.nodes) : A;
6551
+ (I = t.d3Zoom) == null || I.clickDistance(P);
6552
+ }, G = (P) => {
6553
+ t.nodesDraggable = P, t.nodesConnectable = P, t.elementsSelectable = P;
6554
+ }, E = (P) => {
6555
+ const I = P instanceof Function ? P(t.nodes) : P;
6556
6556
  !t.initialized && !I.length || (t.nodes = Sa(I, l, t.hooks.error.trigger));
6557
- }, T = (A) => {
6558
- const I = A instanceof Function ? A(t.edges) : A;
6557
+ }, T = (P) => {
6558
+ const I = P instanceof Function ? P(t.edges) : P;
6559
6559
  if (!t.initialized && !I.length)
6560
6560
  return;
6561
6561
  const B = cr(
@@ -6569,18 +6569,18 @@ function Nm(t, e, n) {
6569
6569
  t.edges
6570
6570
  );
6571
6571
  lr(t.connectionLookup, n.value, B), t.edges = B;
6572
- }, C = (A) => {
6573
- const I = A instanceof Function ? A([...t.nodes, ...t.edges]) : A;
6572
+ }, C = (P) => {
6573
+ const I = P instanceof Function ? P([...t.nodes, ...t.edges]) : P;
6574
6574
  !t.initialized && !I.length || (E(I.filter(pn)), T(I.filter(an)));
6575
- }, H = (A) => {
6576
- let I = A instanceof Function ? A(t.nodes) : A;
6575
+ }, H = (P) => {
6576
+ let I = P instanceof Function ? P(t.nodes) : P;
6577
6577
  I = Array.isArray(I) ? I : [I];
6578
6578
  const B = Sa(I, l, t.hooks.error.trigger), U = [];
6579
6579
  for (const k of B)
6580
6580
  U.push(ma(k));
6581
6581
  U.length && t.hooks.nodesChange.trigger(U);
6582
- }, b = (A) => {
6583
- let I = A instanceof Function ? A(t.edges) : A;
6582
+ }, b = (P) => {
6583
+ let I = P instanceof Function ? P(t.edges) : P;
6584
6584
  I = Array.isArray(I) ? I : [I];
6585
6585
  const B = cr(
6586
6586
  I,
@@ -6595,8 +6595,8 @@ function Nm(t, e, n) {
6595
6595
  for (const k of B)
6596
6596
  U.push(ma(k));
6597
6597
  U.length && t.hooks.edgesChange.trigger(U);
6598
- }, N = (A, I = !0, B = !1) => {
6599
- const U = A instanceof Function ? A(t.nodes) : A, k = Array.isArray(U) ? U : [U], W = [], j = [];
6598
+ }, N = (P, I = !0, B = !1) => {
6599
+ const U = P instanceof Function ? P(t.nodes) : P, k = Array.isArray(U) ? U : [U], W = [], j = [];
6600
6600
  function q(ne) {
6601
6601
  const ye = a(ne);
6602
6602
  for (const _e of ye)
@@ -6619,8 +6619,8 @@ function Nm(t, e, n) {
6619
6619
  ye && (qe(ye.deletable) && !ye.deletable || (W.push(va(ye.id)), I && q([ye]), B && oe(ye.id)));
6620
6620
  }
6621
6621
  j.length && t.hooks.edgesChange.trigger(j), W.length && t.hooks.nodesChange.trigger(W);
6622
- }, v = (A) => {
6623
- const I = A instanceof Function ? A(t.edges) : A, B = Array.isArray(I) ? I : [I], U = [];
6622
+ }, v = (P) => {
6623
+ const I = P instanceof Function ? P(t.edges) : P, B = Array.isArray(I) ? I : [I], U = [];
6624
6624
  for (const k of B) {
6625
6625
  const W = typeof k == "string" ? c(k) : k;
6626
6626
  W && (qe(W.deletable) && !W.deletable || U.push(
@@ -6634,11 +6634,11 @@ function Nm(t, e, n) {
6634
6634
  ));
6635
6635
  }
6636
6636
  t.hooks.edgesChange.trigger(U);
6637
- }, x = (A, I, B = !0) => {
6638
- const U = c(A.id);
6637
+ }, x = (P, I, B = !0) => {
6638
+ const U = c(P.id);
6639
6639
  if (!U)
6640
6640
  return !1;
6641
- const k = t.edges.indexOf(U), W = um(A, I, U, B, t.hooks.error.trigger);
6641
+ const k = t.edges.indexOf(U), W = um(P, I, U, B, t.hooks.error.trigger);
6642
6642
  if (W) {
6643
6643
  const [j] = cr(
6644
6644
  [W],
@@ -6653,38 +6653,38 @@ function Nm(t, e, n) {
6653
6653
  return t.edges = t.edges.map((q, oe) => oe === k ? j : q), lr(t.connectionLookup, n.value, [j]), j;
6654
6654
  }
6655
6655
  return !1;
6656
- }, D = (A, I, B = { replace: !1 }) => {
6657
- const U = c(A);
6656
+ }, D = (P, I, B = { replace: !1 }) => {
6657
+ const U = c(P);
6658
6658
  if (!U)
6659
6659
  return;
6660
6660
  const k = typeof I == "function" ? I(U) : I;
6661
6661
  U.data = B.replace ? k : { ...U.data, ...k };
6662
- }, z = (A) => pa(A, t.nodes), R = (A) => {
6663
- const I = pa(A, t.edges);
6662
+ }, z = (P) => pa(P, t.nodes), R = (P) => {
6663
+ const I = pa(P, t.edges);
6664
6664
  return lr(t.connectionLookup, n.value, I), I;
6665
- }, M = (A, I, B = { replace: !1 }) => {
6666
- const U = l(A);
6665
+ }, M = (P, I, B = { replace: !1 }) => {
6666
+ const U = l(P);
6667
6667
  if (!U)
6668
6668
  return;
6669
6669
  const k = typeof I == "function" ? I(U) : I;
6670
6670
  B.replace ? t.nodes.splice(t.nodes.indexOf(U), 1, k) : Object.assign(U, k);
6671
- }, O = (A, I, B = { replace: !1 }) => {
6672
- const U = l(A);
6671
+ }, O = (P, I, B = { replace: !1 }) => {
6672
+ const U = l(P);
6673
6673
  if (!U)
6674
6674
  return;
6675
6675
  const k = typeof I == "function" ? I(U) : I;
6676
6676
  U.data = B.replace ? k : { ...U.data, ...k };
6677
- }, L = (A, I, B = !1) => {
6678
- B ? t.connectionClickStartHandle = A : t.connectionStartHandle = A, t.connectionEndHandle = null, t.connectionStatus = null, I && (t.connectionPosition = I);
6679
- }, V = (A, I = null, B = null) => {
6680
- t.connectionStartHandle && (t.connectionPosition = A, t.connectionEndHandle = I, t.connectionStatus = B);
6681
- }, K = (A, I) => {
6677
+ }, L = (P, I, B = !1) => {
6678
+ B ? t.connectionClickStartHandle = P : t.connectionStartHandle = P, t.connectionEndHandle = null, t.connectionStatus = null, I && (t.connectionPosition = I);
6679
+ }, V = (P, I = null, B = null) => {
6680
+ t.connectionStartHandle && (t.connectionPosition = P, t.connectionEndHandle = I, t.connectionStatus = B);
6681
+ }, K = (P, I) => {
6682
6682
  t.connectionPosition = { x: Number.NaN, y: Number.NaN }, t.connectionEndHandle = null, t.connectionStatus = null, I ? t.connectionClickStartHandle = null : t.connectionStartHandle = null;
6683
- }, Q = (A) => {
6684
- const I = Hp(A), B = I ? null : Xn(A) ? A : l(A.id);
6685
- return !I && !B ? [null, null, I] : [I ? A : Si(B), B, I];
6686
- }, X = (A, I = !0, B = t.nodes) => {
6687
- const [U, k, W] = Q(A);
6683
+ }, Q = (P) => {
6684
+ const I = Hp(P), B = I ? null : Xn(P) ? P : l(P.id);
6685
+ return !I && !B ? [null, null, I] : [I ? P : Si(B), B, I];
6686
+ }, X = (P, I = !0, B = t.nodes) => {
6687
+ const [U, k, W] = Q(P);
6688
6688
  if (!U)
6689
6689
  return [];
6690
6690
  const j = [];
@@ -6695,23 +6695,23 @@ function Nm(t, e, n) {
6695
6695
  (I && ne > 0 || ne >= oe.width * oe.height || ne >= Number(U.width) * Number(U.height)) && j.push(q);
6696
6696
  }
6697
6697
  return j;
6698
- }, te = (A, I, B = !0) => {
6699
- const [U] = Q(A);
6698
+ }, te = (P, I, B = !0) => {
6699
+ const [U] = Q(P);
6700
6700
  if (!U)
6701
6701
  return !1;
6702
6702
  const k = Di(U, I);
6703
6703
  return B && k > 0 || k >= Number(U.width) * Number(U.height);
6704
- }, se = (A) => {
6704
+ }, se = (P) => {
6705
6705
  const { viewport: I, dimensions: B, d3Zoom: U, d3Selection: k, translateExtent: W } = t;
6706
- if (!U || !k || !A.x && !A.y)
6706
+ if (!U || !k || !P.x && !P.y)
6707
6707
  return !1;
6708
- const j = Rn.translate(I.x + A.x, I.y + A.y).scale(I.zoom), q = [
6708
+ const j = Rn.translate(I.x + P.x, I.y + P.y).scale(I.zoom), q = [
6709
6709
  [0, 0],
6710
6710
  [B.width, B.height]
6711
6711
  ], oe = U.constrain()(j, q, W), ne = t.viewport.x !== oe.x || t.viewport.y !== oe.y || t.viewport.zoom !== oe.k;
6712
6712
  return U.transform(k, oe), ne;
6713
- }, re = (A) => {
6714
- const I = A instanceof Function ? A(t) : A, B = [
6713
+ }, ie = (P) => {
6714
+ const I = P instanceof Function ? P(t) : P, B = [
6715
6715
  "d3Zoom",
6716
6716
  "d3Selection",
6717
6717
  "d3ZoomHandler",
@@ -6724,7 +6724,7 @@ function Nm(t, e, n) {
6724
6724
  const U = I.modelValue || I.nodes || I.edges ? [] : void 0;
6725
6725
  U && (I.modelValue && U.push(...I.modelValue), I.nodes && U.push(...I.nodes), I.edges && U.push(...I.edges), C(U));
6726
6726
  const k = () => {
6727
- qe(I.maxZoom) && P(I.maxZoom), qe(I.minZoom) && w(I.minZoom), qe(I.translateExtent) && $(I.translateExtent);
6727
+ qe(I.maxZoom) && A(I.maxZoom), qe(I.minZoom) && w(I.minZoom), qe(I.translateExtent) && $(I.translateExtent);
6728
6728
  };
6729
6729
  for (const W of Object.keys(I)) {
6730
6730
  const j = W, q = I[j];
@@ -6754,7 +6754,7 @@ function Nm(t, e, n) {
6754
6754
  addSelectedNodes: m,
6755
6755
  addSelectedEdges: p,
6756
6756
  setMinZoom: w,
6757
- setMaxZoom: P,
6757
+ setMaxZoom: A,
6758
6758
  setTranslateExtent: $,
6759
6759
  setNodeExtent: F,
6760
6760
  setPaneClickDistance: Y,
@@ -6765,7 +6765,7 @@ function Nm(t, e, n) {
6765
6765
  updateConnection: V,
6766
6766
  endConnection: K,
6767
6767
  setInteractive: G,
6768
- setState: re,
6768
+ setState: ie,
6769
6769
  getIntersectingNodes: X,
6770
6770
  getIncomers: r,
6771
6771
  getOutgoers: s,
@@ -6773,21 +6773,21 @@ function Nm(t, e, n) {
6773
6773
  getHandleConnections: u,
6774
6774
  isNodeIntersecting: te,
6775
6775
  panBy: se,
6776
- fitView: (A) => o.value.fitView(A),
6777
- zoomIn: (A) => o.value.zoomIn(A),
6778
- zoomOut: (A) => o.value.zoomOut(A),
6779
- zoomTo: (A, I) => o.value.zoomTo(A, I),
6780
- setViewport: (A, I) => o.value.setViewport(A, I),
6781
- setTransform: (A, I) => o.value.setTransform(A, I),
6776
+ fitView: (P) => o.value.fitView(P),
6777
+ zoomIn: (P) => o.value.zoomIn(P),
6778
+ zoomOut: (P) => o.value.zoomOut(P),
6779
+ zoomTo: (P, I) => o.value.zoomTo(P, I),
6780
+ setViewport: (P, I) => o.value.setViewport(P, I),
6781
+ setTransform: (P, I) => o.value.setTransform(P, I),
6782
6782
  getViewport: () => o.value.getViewport(),
6783
6783
  getTransform: () => o.value.getTransform(),
6784
- setCenter: (A, I, B) => o.value.setCenter(A, I, B),
6785
- fitBounds: (A, I) => o.value.fitBounds(A, I),
6786
- project: (A) => o.value.project(A),
6787
- screenToFlowCoordinate: (A) => o.value.screenToFlowCoordinate(A),
6788
- flowToScreenCoordinate: (A) => o.value.flowToScreenCoordinate(A),
6784
+ setCenter: (P, I, B) => o.value.setCenter(P, I, B),
6785
+ fitBounds: (P, I) => o.value.fitBounds(P, I),
6786
+ project: (P) => o.value.project(P),
6787
+ screenToFlowCoordinate: (P) => o.value.screenToFlowCoordinate(P),
6788
+ flowToScreenCoordinate: (P) => o.value.flowToScreenCoordinate(P),
6789
6789
  toObject: () => {
6790
- const A = [], I = [];
6790
+ const P = [], I = [];
6791
6791
  for (const B of t.nodes) {
6792
6792
  const {
6793
6793
  computedPosition: U,
@@ -6800,7 +6800,7 @@ function Nm(t, e, n) {
6800
6800
  events: ye,
6801
6801
  ..._e
6802
6802
  } = B;
6803
- A.push(_e);
6803
+ P.push(_e);
6804
6804
  }
6805
6805
  for (const B of t.edges) {
6806
6806
  const { selected: U, sourceNode: k, targetNode: W, events: j, ...q } = B;
@@ -6808,7 +6808,7 @@ function Nm(t, e, n) {
6808
6808
  }
6809
6809
  return JSON.parse(
6810
6810
  JSON.stringify({
6811
- nodes: A,
6811
+ nodes: P,
6812
6812
  edges: I,
6813
6813
  position: [t.viewport.x, t.viewport.y],
6814
6814
  zoom: t.viewport.zoom,
@@ -6816,8 +6816,8 @@ function Nm(t, e, n) {
6816
6816
  })
6817
6817
  );
6818
6818
  },
6819
- fromObject: (A) => new Promise((I) => {
6820
- const { nodes: B, edges: U, position: k, zoom: W, viewport: j } = A;
6819
+ fromObject: (P) => new Promise((I) => {
6820
+ const { nodes: B, edges: U, position: k, zoom: W, viewport: j } = P;
6821
6821
  B && E(B), U && T(U);
6822
6822
  const [q, oe] = j?.x && j?.y ? [j.x, j.y] : k ?? [null, null];
6823
6823
  if (q && oe) {
@@ -6837,15 +6837,15 @@ function Nm(t, e, n) {
6837
6837
  updateNodeInternals: i,
6838
6838
  viewportHelper: o,
6839
6839
  $reset: () => {
6840
- const A = Nc();
6840
+ const P = Nc();
6841
6841
  if (t.edges = [], t.nodes = [], t.d3Zoom && t.d3Selection) {
6842
- const I = Rn.translate(A.defaultViewport.x ?? 0, A.defaultViewport.y ?? 0).scale(yn(A.defaultViewport.zoom ?? 1, A.minZoom, A.maxZoom)), B = t.viewportRef.getBoundingClientRect(), U = [
6842
+ const I = Rn.translate(P.defaultViewport.x ?? 0, P.defaultViewport.y ?? 0).scale(yn(P.defaultViewport.zoom ?? 1, P.minZoom, P.maxZoom)), B = t.viewportRef.getBoundingClientRect(), U = [
6843
6843
  [0, 0],
6844
6844
  [B.width, B.height]
6845
- ], k = t.d3Zoom.constrain()(I, U, A.translateExtent);
6845
+ ], k = t.d3Zoom.constrain()(I, U, P.translateExtent);
6846
6846
  t.d3Zoom.transform(t.d3Selection, k);
6847
6847
  }
6848
- re(A);
6848
+ ie(P);
6849
6849
  },
6850
6850
  $destroy: () => {
6851
6851
  }
@@ -6880,7 +6880,7 @@ const Tm = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], km = {
6880
6880
  var T, C, H, b, N, v;
6881
6881
  return ((T = s.value) == null ? void 0 : T.nodeId) === h && ((C = s.value) == null ? void 0 : C.id) === t.id && ((H = s.value) == null ? void 0 : H.type) === o.value || ((b = u.value) == null ? void 0 : b.nodeId) === h && ((N = u.value) == null ? void 0 : N.id) === t.id && ((v = u.value) == null ? void 0 : v.type) === o.value;
6882
6882
  }
6883
- ), P = ze(
6883
+ ), A = ze(
6884
6884
  () => {
6885
6885
  var T, C, H;
6886
6886
  return ((T = a.value) == null ? void 0 : T.nodeId) === h && ((C = a.value) == null ? void 0 : C.id) === t.id && ((H = a.value) == null ? void 0 : H.type) === o.value;
@@ -6890,7 +6890,7 @@ const Tm = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], km = {
6890
6890
  handleId: t.id,
6891
6891
  isValidConnection: i,
6892
6892
  type: o
6893
- }), Y = he(() => typeof t.connectable == "string" && t.connectable === "single" ? !y.value.some((T) => {
6893
+ }), Y = fe(() => typeof t.connectable == "string" && t.connectable === "single" ? !y.value.some((T) => {
6894
6894
  const C = T[`${o.value}Handle`];
6895
6895
  return T[o.value] !== h ? !1 : C ? C === t.id : !0;
6896
6896
  }) : typeof t.connectable == "number" ? y.value.filter((T) => {
@@ -6945,7 +6945,7 @@ const Tm = ["data-id", "data-handleid", "data-nodeid", "data-handlepos"], km = {
6945
6945
  o.value,
6946
6946
  {
6947
6947
  connectable: Y.value,
6948
- connecting: P.value,
6948
+ connecting: A.value,
6949
6949
  connectablestart: _.value,
6950
6950
  connectableend: g.value,
6951
6951
  connectionindicator: Y.value && (_.value && !w.value || g.value && w.value)
@@ -7025,7 +7025,7 @@ const $m = Xi, Am = ["transform"], Pm = ["width", "height", "x", "y", "rx", "ry"
7025
7025
  labelBgBorderRadius: { default: 2 }
7026
7026
  },
7027
7027
  setup(t) {
7028
- const e = de({ x: 0, y: 0, width: 0, height: 0 }), n = de(null), o = he(() => `translate(${t.x - e.value.width / 2} ${t.y - e.value.height / 2})`);
7028
+ const e = de({ x: 0, y: 0, width: 0, height: 0 }), n = de(null), o = fe(() => `translate(${t.x - e.value.width / 2} ${t.y - e.value.height / 2})`);
7029
7029
  mt(i), Ne([() => t.x, () => t.y, n, () => t.label], i);
7030
7030
  function i() {
7031
7031
  if (!n.value)
@@ -7048,7 +7048,7 @@ const $m = Xi, Am = ["transform"], Pm = ["width", "height", "x", "y", "rx", "ry"
7048
7048
  rx: r.labelBgBorderRadius,
7049
7049
  ry: r.labelBgBorderRadius
7050
7050
  }, null, 12, Pm)) : $e("", !0),
7051
- ae("text", At(r.$attrs, {
7051
+ le("text", At(r.$attrs, {
7052
7052
  ref_key: "el",
7053
7053
  ref: n,
7054
7054
  class: "vue-flow__edge-text",
@@ -7092,7 +7092,7 @@ const $m = Xi, Am = ["transform"], Pm = ["width", "height", "x", "y", "rx", "ry"
7092
7092
  interactionEl: o,
7093
7093
  labelEl: i
7094
7094
  }), (s, a) => (ee(), ue(Be, null, [
7095
- ae("path", At(J(r), {
7095
+ le("path", At(J(r), {
7096
7096
  id: s.id,
7097
7097
  ref_key: "pathEl",
7098
7098
  ref: n,
@@ -7293,7 +7293,7 @@ function Vm({
7293
7293
  target: l
7294
7294
  }), d = c.x !== 0 ? "x" : "y", f = c[d];
7295
7295
  let h, m, p;
7296
- const y = { x: 0, y: 0 }, S = { x: 0, y: 0 }, [_, g, w, P] = Tc({
7296
+ const y = { x: 0, y: 0 }, S = { x: 0, y: 0 }, [_, g, w, A] = Tc({
7297
7297
  sourceX: t.x,
7298
7298
  sourceY: t.y,
7299
7299
  targetX: n.x,
@@ -7331,7 +7331,7 @@ function Vm({
7331
7331
  ...h,
7332
7332
  { x: l.x + S.x, y: l.y + S.y },
7333
7333
  n
7334
- ], m, p, w, P];
7334
+ ], m, p, w, A];
7335
7335
  }
7336
7336
  function Gm(t, e, n, o) {
7337
7337
  const i = Math.min($a(t, e) / 2, $a(e, n) / 2, o), { x: r, y: s } = e;
@@ -7553,7 +7553,7 @@ const Wm = Ee({
7553
7553
  simplebezier: Qm
7554
7554
  };
7555
7555
  function nv(t, e, n) {
7556
- const o = he(() => (p) => e.value.get(p)), i = he(() => (p) => n.value.get(p)), r = he(() => {
7556
+ const o = fe(() => (p) => e.value.get(p)), i = fe(() => (p) => n.value.get(p)), r = fe(() => {
7557
7557
  const p = {
7558
7558
  ...tv,
7559
7559
  ...t.edgeTypes
@@ -7561,7 +7561,7 @@ function nv(t, e, n) {
7561
7561
  for (const S of t.edges)
7562
7562
  S.type && !y.includes(S.type) && (p[S.type] = S.type);
7563
7563
  return p;
7564
- }), s = he(() => {
7564
+ }), s = fe(() => {
7565
7565
  const p = {
7566
7566
  ...ev,
7567
7567
  ...t.nodeTypes
@@ -7569,7 +7569,7 @@ function nv(t, e, n) {
7569
7569
  for (const S of t.nodes)
7570
7570
  S.type && !y.includes(S.type) && (p[S.type] = S.type);
7571
7571
  return p;
7572
- }), a = he(() => t.onlyRenderVisibleElements ? hc(
7572
+ }), a = fe(() => t.onlyRenderVisibleElements ? hc(
7573
7573
  t.nodes,
7574
7574
  {
7575
7575
  x: 0,
@@ -7579,7 +7579,7 @@ function nv(t, e, n) {
7579
7579
  },
7580
7580
  t.viewport,
7581
7581
  !0
7582
- ) : t.nodes), u = he(() => {
7582
+ ) : t.nodes), u = fe(() => {
7583
7583
  if (t.onlyRenderVisibleElements) {
7584
7584
  const p = [];
7585
7585
  for (const y of t.edges) {
@@ -7599,25 +7599,25 @@ function nv(t, e, n) {
7599
7599
  return p;
7600
7600
  }
7601
7601
  return t.edges;
7602
- }), l = he(() => [...a.value, ...u.value]), c = he(() => {
7602
+ }), l = fe(() => [...a.value, ...u.value]), c = fe(() => {
7603
7603
  const p = [];
7604
7604
  for (const y of t.nodes)
7605
7605
  y.selected && p.push(y);
7606
7606
  return p;
7607
- }), d = he(() => {
7607
+ }), d = fe(() => {
7608
7608
  const p = [];
7609
7609
  for (const y of t.edges)
7610
7610
  y.selected && p.push(y);
7611
7611
  return p;
7612
- }), f = he(() => [
7612
+ }), f = fe(() => [
7613
7613
  ...c.value,
7614
7614
  ...d.value
7615
- ]), h = he(() => {
7615
+ ]), h = fe(() => {
7616
7616
  const p = [];
7617
7617
  for (const y of t.nodes)
7618
7618
  y.dimensions.width && y.dimensions.height && y.handleBounds !== void 0 && p.push(y);
7619
7619
  return p;
7620
- }), m = he(
7620
+ }), m = fe(
7621
7621
  () => a.value.length > 0 && h.value.length === a.value.length
7622
7622
  );
7623
7623
  return {
@@ -7662,12 +7662,12 @@ class fn {
7662
7662
  const s = {};
7663
7663
  for (const [f, h] of Object.entries(i.hooks))
7664
7664
  s[f] = h.trigger;
7665
- const a = he(() => {
7665
+ const a = fe(() => {
7666
7666
  const f = /* @__PURE__ */ new Map();
7667
7667
  for (const h of i.nodes)
7668
7668
  f.set(h.id, h);
7669
7669
  return f;
7670
- }), u = he(() => {
7670
+ }), u = fe(() => {
7671
7671
  const f = /* @__PURE__ */ new Map();
7672
7672
  for (const h of i.edges)
7673
7673
  f.set(h.id, h);
@@ -7788,7 +7788,7 @@ const iv = {
7788
7788
  var m;
7789
7789
  r.value || (m = u.value) == null || m.focus({ preventScroll: !0 });
7790
7790
  });
7791
- const c = he(() => fc(o.value)), d = he(() => ({
7791
+ const c = fe(() => fc(o.value)), d = fe(() => ({
7792
7792
  width: `${c.value.width}px`,
7793
7793
  height: `${c.value.height}px`,
7794
7794
  top: `${c.value.y}px`,
@@ -7811,7 +7811,7 @@ const iv = {
7811
7811
  class: bt(["vue-flow__nodesselection vue-flow__container", J(i)]),
7812
7812
  style: Oe({ transform: `translate(${J(n).x}px,${J(n).y}px) scale(${J(n).zoom})` })
7813
7813
  }, [
7814
- ae("div", {
7814
+ le("div", {
7815
7815
  ref_key: "el",
7816
7816
  ref: u,
7817
7817
  class: bt([{ dragging: J(l) }, "vue-flow__nodesselection-rect"]),
@@ -7860,7 +7860,7 @@ const uv = {
7860
7860
  edgeLookup: _,
7861
7861
  nodeLookup: g,
7862
7862
  connectionLookup: w,
7863
- defaultEdgeOptions: P,
7863
+ defaultEdgeOptions: A,
7864
7864
  connectionStartHandle: $,
7865
7865
  panOnDrag: F
7866
7866
  } = Re(), Y = $t(null), G = $t(/* @__PURE__ */ new Set()), E = $t(/* @__PURE__ */ new Set()), T = $t(null), C = ze(() => u.value && (t.isSelecting || r.value)), H = ze(() => $.value !== null);
@@ -7899,14 +7899,14 @@ const uv = {
7899
7899
  if (T.value = ((Q = e.value) == null ? void 0 : Q.getBoundingClientRect()) ?? null, !u.value || !t.isSelecting || K.button !== 0 || K.target !== Y.value || !T.value)
7900
7900
  return;
7901
7901
  (te = (X = K.target) == null ? void 0 : X.setPointerCapture) == null || te.call(X, K.pointerId);
7902
- const { x: se, y: re } = cv(K, T.value);
7902
+ const { x: se, y: ie } = cv(K, T.value);
7903
7903
  N = !0, b = !1, s(), a.value = {
7904
7904
  width: 0,
7905
7905
  height: 0,
7906
7906
  startX: se,
7907
- startY: re,
7907
+ startY: ie,
7908
7908
  x: se,
7909
- y: re
7909
+ y: ie
7910
7910
  }, i.selectionStart(K);
7911
7911
  }
7912
7912
  function L(K) {
@@ -7914,37 +7914,37 @@ const uv = {
7914
7914
  if (!T.value || !a.value)
7915
7915
  return;
7916
7916
  b = !0;
7917
- const { x: X, y: te } = Mt(K, T.value), { startX: se = 0, startY: re = 0 } = a.value, pe = {
7917
+ const { x: X, y: te } = Mt(K, T.value), { startX: se = 0, startY: ie = 0 } = a.value, ge = {
7918
7918
  startX: se,
7919
- startY: re,
7919
+ startY: ie,
7920
7920
  x: X < se ? X : se,
7921
- y: te < re ? te : re,
7921
+ y: te < ie ? te : ie,
7922
7922
  width: Math.abs(X - se),
7923
- height: Math.abs(te - re)
7924
- }, ie = G.value, le = E.value;
7923
+ height: Math.abs(te - ie)
7924
+ }, re = G.value, ae = E.value;
7925
7925
  G.value = new Set(
7926
- hc(n.value, pe, o.value, m.value === cs.Partial, !0).map(
7926
+ hc(n.value, ge, o.value, m.value === cs.Partial, !0).map(
7927
7927
  (I) => I.id
7928
7928
  )
7929
7929
  ), E.value = /* @__PURE__ */ new Set();
7930
- const A = ((Q = P.value) == null ? void 0 : Q.selectable) ?? !0;
7930
+ const P = ((Q = A.value) == null ? void 0 : Q.selectable) ?? !0;
7931
7931
  for (const I of G.value) {
7932
7932
  const B = w.value.get(I);
7933
7933
  if (B)
7934
7934
  for (const { edgeId: U } of B.values()) {
7935
7935
  const k = _.value.get(U);
7936
- k && (k.selectable ?? A) && E.value.add(U);
7936
+ k && (k.selectable ?? P) && E.value.add(U);
7937
7937
  }
7938
7938
  }
7939
- if (!Na(ie, G.value)) {
7939
+ if (!Na(re, G.value)) {
7940
7940
  const I = nn(g.value, G.value, !0);
7941
7941
  i.nodesChange(I);
7942
7942
  }
7943
- if (!Na(le, E.value)) {
7943
+ if (!Na(ae, E.value)) {
7944
7944
  const I = nn(_.value, E.value);
7945
7945
  i.edgesChange(I);
7946
7946
  }
7947
- a.value = pe, r.value = !0, l.value = !1;
7947
+ a.value = ge, r.value = !0, l.value = !1;
7948
7948
  }
7949
7949
  function V(K) {
7950
7950
  var Q;
@@ -7977,7 +7977,7 @@ const uv = {
7977
7977
  }, hv = /* @__PURE__ */ Ee({
7978
7978
  ...fv,
7979
7979
  setup(t) {
7980
- const { viewport: e, fitViewOnInit: n, fitViewOnInitDone: o } = Re(), i = he(() => n.value ? !o.value : !1), r = he(() => `translate(${e.value.x}px,${e.value.y}px) scale(${e.value.zoom})`);
7980
+ const { viewport: e, fitViewOnInit: n, fitViewOnInitDone: o } = Re(), i = fe(() => n.value ? !o.value : !1), r = fe(() => `translate(${e.value.x}px,${e.value.y}px) scale(${e.value.zoom})`);
7981
7981
  return (s, a) => (ee(), ue("div", {
7982
7982
  class: "vue-flow__transformationpane vue-flow__container",
7983
7983
  style: Oe({ transform: r.value, opacity: i.value ? 0 : void 0 })
@@ -8012,7 +8012,7 @@ const uv = {
8012
8012
  emits: _,
8013
8013
  connectionStartHandle: g,
8014
8014
  userSelectionActive: w,
8015
- paneDragging: P,
8015
+ paneDragging: A,
8016
8016
  d3Zoom: $,
8017
8017
  d3Selection: F,
8018
8018
  d3ZoomHandler: Y,
@@ -8037,25 +8037,25 @@ const uv = {
8037
8037
  Eo("Viewport element is missing");
8038
8038
  return;
8039
8039
  }
8040
- const re = E.value, pe = re.getBoundingClientRect(), ie = Mp().clickDistance(T.value).scaleExtent([e.value, n.value]).translateExtent(i.value), le = St(re).call(ie), A = le.on("wheel.zoom"), I = Rn.translate(o.value.x ?? 0, o.value.y ?? 0).scale(yn(o.value.zoom ?? 1, e.value, n.value)), B = [
8040
+ const ie = E.value, ge = ie.getBoundingClientRect(), re = Mp().clickDistance(T.value).scaleExtent([e.value, n.value]).translateExtent(i.value), ae = St(ie).call(re), P = ae.on("wheel.zoom"), I = Rn.translate(o.value.x ?? 0, o.value.y ?? 0).scale(yn(o.value.zoom ?? 1, e.value, n.value)), B = [
8041
8041
  [0, 0],
8042
- [pe.width, pe.height]
8043
- ], U = ie.constrain()(I, B, i.value);
8044
- ie.transform(le, U), ie.wheelDelta(ha), $.value = ie, F.value = le, Y.value = A, G.value = { x: U.x, y: U.y, zoom: U.k }, ie.on("start", (k) => {
8042
+ [ge.width, ge.height]
8043
+ ], U = re.constrain()(I, B, i.value);
8044
+ re.transform(ae, U), re.wheelDelta(ha), $.value = re, F.value = ae, Y.value = P, G.value = { x: U.x, y: U.y, zoom: U.k }, re.on("start", (k) => {
8045
8045
  var W;
8046
8046
  if (!k.sourceEvent)
8047
8047
  return null;
8048
8048
  v = k.sourceEvent.button, C.value = !0;
8049
8049
  const j = te(k.transform);
8050
- ((W = k.sourceEvent) == null ? void 0 : W.type) === "mousedown" && (P.value = !0), x = j, _.viewportChangeStart(j), _.moveStart({ event: k, flowTransform: j });
8051
- }), ie.on("end", (k) => {
8050
+ ((W = k.sourceEvent) == null ? void 0 : W.type) === "mousedown" && (A.value = !0), x = j, _.viewportChangeStart(j), _.moveStart({ event: k, flowTransform: j });
8051
+ }), re.on("end", (k) => {
8052
8052
  if (!k.sourceEvent)
8053
8053
  return null;
8054
- if (C.value = !1, P.value = !1, Q(M.value, v ?? 0) && !N && _.paneContextMenu(k.sourceEvent), N = !1, X(x, k.transform)) {
8054
+ if (C.value = !1, A.value = !1, Q(M.value, v ?? 0) && !N && _.paneContextMenu(k.sourceEvent), N = !1, X(x, k.transform)) {
8055
8055
  const W = te(k.transform);
8056
8056
  x = W, _.viewportChangeEnd(W), _.moveEnd({ event: k, flowTransform: W });
8057
8057
  }
8058
- }), ie.filter((k) => {
8058
+ }), re.filter((k) => {
8059
8059
  var W;
8060
8060
  const j = R.value || m.value, q = h.value && k.ctrlKey, oe = k.button, ne = k.type === "wheel";
8061
8061
  if (oe === 1 && k.type === "mousedown" && (se(k, "vue-flow__node") || se(k, "vue-flow__edge")))
@@ -8071,7 +8071,7 @@ const uv = {
8071
8071
  }), Ne(
8072
8072
  [w, M],
8073
8073
  () => {
8074
- w.value && !C.value ? ie.on("zoom", null) : w.value || ie.on("zoom", (k) => {
8074
+ w.value && !C.value ? re.on("zoom", null) : w.value || re.on("zoom", (k) => {
8075
8075
  G.value = { x: k.transform.x, y: k.transform.y, zoom: k.transform.k };
8076
8076
  const W = te(k.transform);
8077
8077
  N = Q(M.value, v ?? 0), _.viewportChange(W), _.move({ event: k, flowTransform: W });
@@ -8081,7 +8081,7 @@ const uv = {
8081
8081
  ), Ne(
8082
8082
  [w, O, l, R, h, p, y],
8083
8083
  () => {
8084
- O.value && !R.value && !w.value ? le.on(
8084
+ O.value && !R.value && !w.value ? ae.on(
8085
8085
  "wheel.zoom",
8086
8086
  (k) => {
8087
8087
  if (se(k, y.value))
@@ -8090,32 +8090,32 @@ const uv = {
8090
8090
  if (!(!p.value || O.value || W || j))
8091
8091
  return !1;
8092
8092
  k.preventDefault(), k.stopImmediatePropagation();
8093
- const oe = le.property("__zoom").k || 1, ne = Ni();
8093
+ const oe = ae.property("__zoom").k || 1, ne = Ni();
8094
8094
  if (!D.value && k.ctrlKey && h.value && ne) {
8095
8095
  const vt = kt(k), He = ha(k), Bt = oe * 2 ** He;
8096
- ie.scaleTo(le, Bt, vt, k);
8096
+ re.scaleTo(ae, Bt, vt, k);
8097
8097
  return;
8098
8098
  }
8099
8099
  const ye = k.deltaMode === 1 ? 20 : 1;
8100
8100
  let _e = l.value === eo.Vertical ? 0 : k.deltaX * ye, Ye = l.value === eo.Horizontal ? 0 : k.deltaY * ye;
8101
- !ne && k.shiftKey && l.value !== eo.Vertical && !_e && Ye && (_e = Ye, Ye = 0), ie.translateBy(
8102
- le,
8101
+ !ne && k.shiftKey && l.value !== eo.Vertical && !_e && Ye && (_e = Ye, Ye = 0), re.translateBy(
8102
+ ae,
8103
8103
  -(_e / oe) * c.value,
8104
8104
  -(Ye / oe) * c.value
8105
8105
  );
8106
- const Ue = te(le.property("__zoom"));
8106
+ const Ue = te(ae.property("__zoom"));
8107
8107
  b && clearTimeout(b), H.value ? (_.move({ event: k, flowTransform: Ue }), _.viewportChange(Ue), b = setTimeout(() => {
8108
8108
  _.moveEnd({ event: k, flowTransform: Ue }), _.viewportChangeEnd(Ue), H.value = !1;
8109
8109
  }, 150)) : (H.value = !0, _.moveStart({ event: k, flowTransform: Ue }), _.viewportChangeStart(Ue));
8110
8110
  },
8111
8111
  { passive: !1 }
8112
- ) : typeof A < "u" && le.on(
8112
+ ) : typeof P < "u" && ae.on(
8113
8113
  "wheel.zoom",
8114
8114
  function(k, W) {
8115
8115
  const j = !p.value && k.type === "wheel" && !k.ctrlKey, q = R.value || m.value, oe = h.value && k.ctrlKey;
8116
8116
  if (!q && !u.value && !oe && k.type === "wheel" || j || se(k, y.value))
8117
8117
  return null;
8118
- k.preventDefault(), A.call(this, k, W);
8118
+ k.preventDefault(), P.call(this, k, W);
8119
8119
  },
8120
8120
  { passive: !1 }
8121
8121
  );
@@ -8123,40 +8123,40 @@ const uv = {
8123
8123
  { immediate: !0 }
8124
8124
  );
8125
8125
  });
8126
- function Q(re, pe) {
8127
- return pe === 2 && Array.isArray(re) && re.includes(2);
8126
+ function Q(ie, ge) {
8127
+ return ge === 2 && Array.isArray(ie) && ie.includes(2);
8128
8128
  }
8129
- function X(re, pe) {
8130
- return re.x !== pe.x && !Number.isNaN(pe.x) || re.y !== pe.y && !Number.isNaN(pe.y) || re.zoom !== pe.k && !Number.isNaN(pe.k);
8129
+ function X(ie, ge) {
8130
+ return ie.x !== ge.x && !Number.isNaN(ge.x) || ie.y !== ge.y && !Number.isNaN(ge.y) || ie.zoom !== ge.k && !Number.isNaN(ge.k);
8131
8131
  }
8132
- function te(re) {
8132
+ function te(ie) {
8133
8133
  return {
8134
- x: re.x,
8135
- y: re.y,
8136
- zoom: re.k
8134
+ x: ie.x,
8135
+ y: ie.y,
8136
+ zoom: ie.k
8137
8137
  };
8138
8138
  }
8139
- function se(re, pe) {
8140
- return re.target.closest(`.${pe}`);
8139
+ function se(ie, ge) {
8140
+ return ie.target.closest(`.${ge}`);
8141
8141
  }
8142
- return (re, pe) => (ee(), ue("div", {
8142
+ return (ie, ge) => (ee(), ue("div", {
8143
8143
  ref_key: "viewportRef",
8144
8144
  ref: E,
8145
8145
  class: "vue-flow__viewport vue-flow__container"
8146
8146
  }, [
8147
- fe(dv, {
8147
+ he(dv, {
8148
8148
  "is-selecting": V.value,
8149
8149
  "selection-key-pressed": J(z),
8150
8150
  class: bt({
8151
8151
  connecting: K.value,
8152
- dragging: J(P),
8152
+ dragging: J(A),
8153
8153
  draggable: J(d) === !0 || Array.isArray(J(d)) && J(d).includes(0)
8154
8154
  })
8155
8155
  }, {
8156
- default: xe(() => [
8157
- fe(hv, null, {
8158
- default: xe(() => [
8159
- Pe(re.$slots, "default")
8156
+ default: Ce(() => [
8157
+ he(hv, null, {
8158
+ default: Ce(() => [
8159
+ Pe(ie.$slots, "default")
8160
8160
  ]),
8161
8161
  _: 3
8162
8162
  })
@@ -8173,11 +8173,11 @@ const uv = {
8173
8173
  setup(t) {
8174
8174
  const { id: e, disableKeyboardA11y: n, ariaLiveMessage: o } = Re();
8175
8175
  return (i, r) => (ee(), ue(Be, null, [
8176
- ae("div", {
8176
+ le("div", {
8177
8177
  id: `${J(ic)}-${J(e)}`,
8178
8178
  style: { display: "none" }
8179
8179
  }, " Press enter or space to select a node. " + lt(J(n) ? "" : "You can then use the arrow keys to move the node around.") + " You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ", 9, mv),
8180
- ae("div", {
8180
+ le("div", {
8181
8181
  id: `${J(rc)}-${J(e)}`,
8182
8182
  style: { display: "none" }
8183
8183
  }, " Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ", 8, vv),
@@ -8250,11 +8250,11 @@ const Aa = hs, Ev = Ee({
8250
8250
  edgesUpdatable: y,
8251
8251
  edgesFocusable: S,
8252
8252
  hooks: _
8253
- } = Re(), g = he(() => c(t.id)), { emit: w, on: P } = gm(g.value, r), $ = _t(Wi), F = Fn(), Y = de(!1), G = de(!1), E = de(""), T = de(null), C = de("source"), H = de(null), b = ze(
8253
+ } = Re(), g = fe(() => c(t.id)), { emit: w, on: A } = gm(g.value, r), $ = _t(Wi), F = Fn(), Y = de(!1), G = de(!1), E = de(""), T = de(null), C = de("source"), H = de(null), b = ze(
8254
8254
  () => typeof g.value.selectable > "u" ? p.value : g.value.selectable
8255
8255
  ), N = ze(() => typeof g.value.updatable > "u" ? y.value : g.value.updatable), v = ze(() => typeof g.value.focusable > "u" ? S.value : g.value.focusable);
8256
8256
  zt(dm, t.id), zt(fm, H);
8257
- const x = he(() => g.value.class instanceof Function ? g.value.class(g.value) : g.value.class), D = he(() => g.value.style instanceof Function ? g.value.style(g.value) : g.value.style), z = he(() => {
8257
+ const x = fe(() => g.value.class instanceof Function ? g.value.class(g.value) : g.value.class), D = fe(() => g.value.style instanceof Function ? g.value.style(g.value) : g.value.style), z = fe(() => {
8258
8258
  const I = g.value.type || "default", B = $?.[`edge-${I}`];
8259
8259
  if (B)
8260
8260
  return B;
@@ -8317,9 +8317,9 @@ const Aa = hs, Ev = Ee({
8317
8317
  onContextmenu: X,
8318
8318
  onDblclick: te,
8319
8319
  onMouseenter: se,
8320
- onMousemove: re,
8321
- onMouseleave: pe,
8322
- onKeyDown: v.value ? A : void 0
8320
+ onMousemove: ie,
8321
+ onMouseleave: ge,
8322
+ onKeyDown: v.value ? P : void 0
8323
8323
  },
8324
8324
  [
8325
8325
  G.value ? null : Ae(z.value === !1 ? u.value.default : z.value, {
@@ -8339,7 +8339,7 @@ const Aa = hs, Ev = Ee({
8339
8339
  labelBgPadding: g.value.labelBgPadding,
8340
8340
  labelBgBorderRadius: g.value.labelBgBorderRadius,
8341
8341
  data: g.value.data,
8342
- events: { ...g.value.events, ...P },
8342
+ events: { ...g.value.events, ...A },
8343
8343
  style: D.value,
8344
8344
  markerStart: `url('#${yo(g.value.markerStart, e)}')`,
8345
8345
  markerEnd: `url('#${yo(g.value.markerEnd, e)}')`,
@@ -8359,7 +8359,7 @@ const Aa = hs, Ev = Ee({
8359
8359
  Ae(
8360
8360
  "g",
8361
8361
  {
8362
- onMousedown: ie,
8362
+ onMousedown: re,
8363
8363
  onMouseenter: M,
8364
8364
  onMouseout: O
8365
8365
  },
@@ -8377,7 +8377,7 @@ const Aa = hs, Ev = Ee({
8377
8377
  Ae(
8378
8378
  "g",
8379
8379
  {
8380
- onMousedown: le,
8380
+ onMousedown: ae,
8381
8381
  onMouseenter: M,
8382
8382
  onMouseout: O
8383
8383
  },
@@ -8424,19 +8424,19 @@ const Aa = hs, Ev = Ee({
8424
8424
  function se(I) {
8425
8425
  w.mouseEnter({ event: I, edge: g.value });
8426
8426
  }
8427
- function re(I) {
8427
+ function ie(I) {
8428
8428
  w.mouseMove({ event: I, edge: g.value });
8429
8429
  }
8430
- function pe(I) {
8430
+ function ge(I) {
8431
8431
  w.mouseLeave({ event: I, edge: g.value });
8432
8432
  }
8433
- function ie(I) {
8433
+ function re(I) {
8434
8434
  K(I, !0);
8435
8435
  }
8436
- function le(I) {
8436
+ function ae(I) {
8437
8437
  K(I, !1);
8438
8438
  }
8439
- function A(I) {
8439
+ function P(I) {
8440
8440
  var B;
8441
8441
  !m.value && sc.includes(I.key) && b.value && (I.key === "Escape" ? ((B = H.value) == null || B.blur(), l([c(t.id)])) : n([c(t.id)]));
8442
8442
  }
@@ -8458,25 +8458,25 @@ const Aa = hs, Ev = Ee({
8458
8458
  connectionStatus: l,
8459
8459
  viewport: c,
8460
8460
  findNode: d
8461
- } = Re(), f = (t = _t(Wi)) == null ? void 0 : t["connection-line"], h = he(() => {
8461
+ } = Re(), f = (t = _t(Wi)) == null ? void 0 : t["connection-line"], h = fe(() => {
8462
8462
  var _;
8463
8463
  return d((_ = o.value) == null ? void 0 : _.nodeId);
8464
- }), m = he(() => {
8464
+ }), m = fe(() => {
8465
8465
  var _;
8466
8466
  return d((_ = i.value) == null ? void 0 : _.nodeId) ?? null;
8467
- }), p = he(() => ({
8467
+ }), p = fe(() => ({
8468
8468
  x: (r.value.x - c.value.x) / c.value.zoom,
8469
8469
  y: (r.value.y - c.value.y) / c.value.zoom
8470
- })), y = he(
8470
+ })), y = fe(
8471
8471
  () => u.value.markerStart ? `url(#${yo(u.value.markerStart, e)})` : ""
8472
- ), S = he(
8472
+ ), S = fe(
8473
8473
  () => u.value.markerEnd ? `url(#${yo(u.value.markerEnd, e)})` : ""
8474
8474
  );
8475
8475
  return () => {
8476
8476
  var _, g, w;
8477
8477
  if (!h.value || !o.value)
8478
8478
  return null;
8479
- const P = o.value.id, $ = o.value.type, F = h.value.handleBounds;
8479
+ const A = o.value.id, $ = o.value.type, F = h.value.handleBounds;
8480
8480
  let Y = F?.[$] ?? [];
8481
8481
  if (n.value === Kt.Loose) {
8482
8482
  const D = F?.[$ === "source" ? "target" : "source"] ?? [];
@@ -8484,7 +8484,7 @@ const Aa = hs, Ev = Ee({
8484
8484
  }
8485
8485
  if (!Y)
8486
8486
  return null;
8487
- const G = (P ? Y.find((D) => D.id === P) : Y[0]) ?? null, E = G?.position ?? me.Top, { x: T, y: C } = Hn(h.value, G, E);
8487
+ const G = (A ? Y.find((D) => D.id === A) : Y[0]) ?? null, E = G?.position ?? me.Top, { x: T, y: C } = Hn(h.value, G, E);
8488
8488
  let H = null;
8489
8489
  m.value && (n.value === Kt.Strict ? H = ((_ = m.value.handleBounds[$ === "source" ? "target" : "source"]) == null ? void 0 : _.find(
8490
8490
  (D) => {
@@ -8607,7 +8607,7 @@ const Aa = hs, Ev = Ee({
8607
8607
  }, Av = /* @__PURE__ */ Ee({
8608
8608
  ...$v,
8609
8609
  setup(t) {
8610
- const { id: e, edges: n, connectionLineOptions: o, defaultMarkerColor: i } = Re(), r = he(() => {
8610
+ const { id: e, edges: n, connectionLineOptions: o, defaultMarkerColor: i } = Re(), r = fe(() => {
8611
8611
  const s = /* @__PURE__ */ new Set(), a = [], u = (l) => {
8612
8612
  if (l) {
8613
8613
  const c = yo(l, e);
@@ -8622,7 +8622,7 @@ const Aa = hs, Ev = Ee({
8622
8622
  return a.sort((l, c) => l.id.localeCompare(c.id));
8623
8623
  });
8624
8624
  return (s, a) => (ee(), ue("svg", Mv, [
8625
- ae("defs", null, [
8625
+ le("defs", null, [
8626
8626
  (ee(!0), ue(Be, null, gt(r.value, (u) => (ee(), Te(Iv, {
8627
8627
  id: u.id,
8628
8628
  key: u.id,
@@ -8645,17 +8645,17 @@ const Aa = hs, Ev = Ee({
8645
8645
  setup(t) {
8646
8646
  const { findNode: e, getEdges: n, elevateEdgesOnSelect: o } = Re();
8647
8647
  return (i, r) => (ee(), ue(Be, null, [
8648
- fe(Av),
8648
+ he(Av),
8649
8649
  (ee(!0), ue(Be, null, gt(J(n), (s) => (ee(), ue("svg", {
8650
8650
  key: s.id,
8651
8651
  class: "vue-flow__edges vue-flow__container",
8652
8652
  style: Oe({ zIndex: J(Qp)(s, J(e), J(o)) })
8653
8653
  }, [
8654
- fe(J(Sv), {
8654
+ he(J(Sv), {
8655
8655
  id: s.id
8656
8656
  }, null, 8, ["id"])
8657
8657
  ], 4))), 128)),
8658
- fe(J(Nv))
8658
+ he(J(Nv))
8659
8659
  ], 64));
8660
8660
  }
8661
8661
  }), zv = Ee({
@@ -8684,14 +8684,14 @@ const Aa = hs, Ev = Ee({
8684
8684
  nodeDragThreshold: _,
8685
8685
  nodesDraggable: g,
8686
8686
  elementsSelectable: w,
8687
- nodesConnectable: P,
8687
+ nodesConnectable: A,
8688
8688
  nodesFocusable: $,
8689
8689
  hooks: F
8690
8690
  } = Re(), Y = de(null);
8691
8691
  zt(xc, Y), zt(wc, t.id);
8692
- const G = _t(Wi), E = Fn(), T = Dc(), { node: C, parentNode: H } = Sc(t.id), { emit: b, on: N } = ym(C, s), v = ze(() => typeof C.draggable > "u" ? g.value : C.draggable), x = ze(() => typeof C.selectable > "u" ? w.value : C.selectable), D = ze(() => typeof C.connectable > "u" ? P.value : C.connectable), z = ze(() => typeof C.focusable > "u" ? $.value : C.focusable), R = he(
8692
+ const G = _t(Wi), E = Fn(), T = Dc(), { node: C, parentNode: H } = Sc(t.id), { emit: b, on: N } = ym(C, s), v = ze(() => typeof C.draggable > "u" ? g.value : C.draggable), x = ze(() => typeof C.selectable > "u" ? w.value : C.selectable), D = ze(() => typeof C.connectable > "u" ? A.value : C.connectable), z = ze(() => typeof C.focusable > "u" ? $.value : C.focusable), R = fe(
8693
8693
  () => x.value || v.value || F.value.nodeClick.hasListeners() || F.value.nodeDoubleClick.hasListeners() || F.value.nodeMouseEnter.hasListeners() || F.value.nodeMouseMove.hasListeners() || F.value.nodeMouseLeave.hasListeners()
8694
- ), M = ze(() => !!C.dimensions.width && !!C.dimensions.height), O = he(() => {
8694
+ ), M = ze(() => !!C.dimensions.width && !!C.dimensions.height), O = fe(() => {
8695
8695
  const B = C.type || "default", U = G?.[`node-${B}`];
8696
8696
  if (U)
8697
8697
  return U;
@@ -8717,9 +8717,9 @@ const Aa = hs, Ev = Ee({
8717
8717
  b.dragStop(B);
8718
8718
  },
8719
8719
  onClick(B) {
8720
- A(B);
8720
+ P(B);
8721
8721
  }
8722
- }), V = he(() => C.class instanceof Function ? C.class(C) : C.class), K = he(() => {
8722
+ }), V = fe(() => C.class instanceof Function ? C.class(C) : C.class), K = fe(() => {
8723
8723
  const B = (C.style instanceof Function ? C.style(C) : C.style) || {}, U = C.width instanceof Function ? C.width(C) : C.width, k = C.height instanceof Function ? C.height(C) : C.height;
8724
8724
  return !B.width && U && (B.width = typeof U == "string" ? U : `${U}px`), !B.height && k && (B.height = typeof k == "string" ? k : `${k}px`), B;
8725
8725
  }), Q = ze(() => Number(C.zIndex ?? K.value.zIndex ?? 0));
@@ -8811,11 +8811,11 @@ const Aa = hs, Ev = Ee({
8811
8811
  "aria-roledescription": "node",
8812
8812
  ...C.domAttributes,
8813
8813
  onMouseenter: se,
8814
- onMousemove: re,
8815
- onMouseleave: pe,
8816
- onContextmenu: ie,
8817
- onClick: A,
8818
- onDblclick: le,
8814
+ onMousemove: ie,
8815
+ onMouseleave: ge,
8816
+ onContextmenu: re,
8817
+ onClick: P,
8818
+ onDblclick: ae,
8819
8819
  onKeydown: I
8820
8820
  },
8821
8821
  [
@@ -8859,19 +8859,19 @@ const Aa = hs, Ev = Ee({
8859
8859
  function se(B) {
8860
8860
  L?.value || b.mouseEnter({ event: B, node: C });
8861
8861
  }
8862
- function re(B) {
8862
+ function ie(B) {
8863
8863
  L?.value || b.mouseMove({ event: B, node: C });
8864
8864
  }
8865
- function pe(B) {
8865
+ function ge(B) {
8866
8866
  L?.value || b.mouseLeave({ event: B, node: C });
8867
8867
  }
8868
- function ie(B) {
8868
+ function re(B) {
8869
8869
  return b.contextMenu({ event: B, node: C });
8870
8870
  }
8871
- function le(B) {
8871
+ function ae(B) {
8872
8872
  return b.doubleClick({ event: B, node: C });
8873
8873
  }
8874
- function A(B) {
8874
+ function P(B) {
8875
8875
  x.value && (!o.value || !v.value || _.value > 0) && Br(
8876
8876
  C,
8877
8877
  r.value,
@@ -8931,7 +8931,7 @@ const Aa = hs, Ev = Ee({
8931
8931
  });
8932
8932
  function Fv(t = { includeHiddenNodes: !1 }) {
8933
8933
  const { nodes: e } = Re();
8934
- return he(() => {
8934
+ return fe(() => {
8935
8935
  if (e.value.length === 0)
8936
8936
  return !1;
8937
8937
  for (const n of e.value)
@@ -8991,7 +8991,7 @@ function Wv() {
8991
8991
  }
8992
8992
  });
8993
8993
  }
8994
- const Yv = /* @__PURE__ */ ae("div", { class: "vue-flow__edge-labels" }, null, -1), Uv = {
8994
+ const Yv = /* @__PURE__ */ le("div", { class: "vue-flow__edge-labels" }, null, -1), Uv = {
8995
8995
  name: "VueFlow",
8996
8996
  compatConfig: { MODE: 3 }
8997
8997
  }, Xv = /* @__PURE__ */ Ee({
@@ -9064,17 +9064,17 @@ const Yv = /* @__PURE__ */ ae("div", { class: "vue-flow__edge-labels" }, null, -
9064
9064
  ref: J(u).vueFlowRef,
9065
9065
  class: "vue-flow"
9066
9066
  }, [
9067
- fe(pv, null, {
9068
- default: xe(() => [
9069
- fe(Ov),
9067
+ he(pv, null, {
9068
+ default: Ce(() => [
9069
+ he(Ov),
9070
9070
  Yv,
9071
- fe(jv),
9071
+ he(jv),
9072
9072
  Pe(c.$slots, "zoom-pane")
9073
9073
  ]),
9074
9074
  _: 3
9075
9075
  }),
9076
9076
  Pe(c.$slots, "default"),
9077
- fe(_v)
9077
+ he(_v)
9078
9078
  ], 512));
9079
9079
  }
9080
9080
  }), qv = {
@@ -9086,7 +9086,7 @@ const Yv = /* @__PURE__ */ ae("div", { class: "vue-flow__edge-labels" }, null, -
9086
9086
  position: {}
9087
9087
  },
9088
9088
  setup(t) {
9089
- const e = t, { userSelectionActive: n } = Re(), o = he(() => `${e.position}`.split("-"));
9089
+ const e = t, { userSelectionActive: n } = Re(), o = fe(() => `${e.position}`.split("-"));
9090
9090
  return (i, r) => (ee(), ue("div", {
9091
9091
  class: bt(["vue-flow__panel", o.value]),
9092
9092
  style: Oe({ pointerEvents: J(n) ? "none" : "all" })
@@ -9134,7 +9134,7 @@ const Zv = {
9134
9134
  offset: { default: 0 }
9135
9135
  },
9136
9136
  setup(t) {
9137
- const { id: e, viewport: n } = Re(), o = he(() => {
9137
+ const { id: e, viewport: n } = Re(), o = fe(() => {
9138
9138
  const s = n.value.zoom, [a, u] = Array.isArray(t.gap) ? t.gap : [t.gap, t.gap], l = [a * s || 1, u * s || 1], c = t.size * s, [d, f] = Array.isArray(t.offset) ? t.offset : [t.offset, t.offset], h = [d * s || 1 + l[0] / 2, f * s || 1 + l[1] / 2];
9139
9139
  return {
9140
9140
  scaledGap: l,
@@ -9150,7 +9150,7 @@ const Zv = {
9150
9150
  })
9151
9151
  }, [
9152
9152
  Pe(s.$slots, "pattern-container", { id: i.value }, () => [
9153
- ae("pattern", {
9153
+ le("pattern", {
9154
9154
  id: i.value,
9155
9155
  x: J(n).x % o.value.scaledGap[0],
9156
9156
  y: J(n).y % o.value.scaledGap[1],
@@ -9171,7 +9171,7 @@ const Zv = {
9171
9171
  radius: o.value.size / 2
9172
9172
  }, null, 8, ["color", "radius"])) : $e("", !0),
9173
9173
  s.bgColor ? (ee(), ue("svg", Qv, [
9174
- ae("rect", {
9174
+ le("rect", {
9175
9175
  width: "100%",
9176
9176
  height: "100%",
9177
9177
  fill: s.bgColor
@@ -9180,7 +9180,7 @@ const Zv = {
9180
9180
  ])
9181
9181
  ], 8, Jv)
9182
9182
  ]),
9183
- ae("rect", {
9183
+ le("rect", {
9184
9184
  x: s.x,
9185
9185
  y: s.y,
9186
9186
  width: "100%",
@@ -9210,7 +9210,7 @@ function ay(t, e, n, o, i, r) {
9210
9210
  const Ro = /* @__PURE__ */ ry(iy, [["render", ay]]), ly = {
9211
9211
  xmlns: "http://www.w3.org/2000/svg",
9212
9212
  viewBox: "0 0 32 32"
9213
- }, cy = /* @__PURE__ */ ae("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }, null, -1), uy = [
9213
+ }, cy = /* @__PURE__ */ le("path", { d: "M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z" }, null, -1), uy = [
9214
9214
  cy
9215
9215
  ];
9216
9216
  function dy(t, e) {
@@ -9219,7 +9219,7 @@ function dy(t, e) {
9219
9219
  const fy = { render: dy }, hy = {
9220
9220
  xmlns: "http://www.w3.org/2000/svg",
9221
9221
  viewBox: "0 0 32 5"
9222
- }, gy = /* @__PURE__ */ ae("path", { d: "M0 0h32v4.2H0z" }, null, -1), py = [
9222
+ }, gy = /* @__PURE__ */ le("path", { d: "M0 0h32v4.2H0z" }, null, -1), py = [
9223
9223
  gy
9224
9224
  ];
9225
9225
  function my(t, e) {
@@ -9228,7 +9228,7 @@ function my(t, e) {
9228
9228
  const vy = { render: my }, yy = {
9229
9229
  xmlns: "http://www.w3.org/2000/svg",
9230
9230
  viewBox: "0 0 32 30"
9231
- }, by = /* @__PURE__ */ ae("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }, null, -1), _y = [
9231
+ }, by = /* @__PURE__ */ le("path", { d: "M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z" }, null, -1), _y = [
9232
9232
  by
9233
9233
  ];
9234
9234
  function wy(t, e) {
@@ -9237,7 +9237,7 @@ function wy(t, e) {
9237
9237
  const xy = { render: wy }, Cy = {
9238
9238
  xmlns: "http://www.w3.org/2000/svg",
9239
9239
  viewBox: "0 0 25 32"
9240
- }, Ey = /* @__PURE__ */ ae("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }, null, -1), Sy = [
9240
+ }, Ey = /* @__PURE__ */ le("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z" }, null, -1), Sy = [
9241
9241
  Ey
9242
9242
  ];
9243
9243
  function Dy(t, e) {
@@ -9246,7 +9246,7 @@ function Dy(t, e) {
9246
9246
  const Ny = { render: Dy }, Ty = {
9247
9247
  xmlns: "http://www.w3.org/2000/svg",
9248
9248
  viewBox: "0 0 25 32"
9249
- }, ky = /* @__PURE__ */ ae("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z" }, null, -1), Iy = [
9249
+ }, ky = /* @__PURE__ */ le("path", { d: "M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z" }, null, -1), Iy = [
9250
9250
  ky
9251
9251
  ];
9252
9252
  function My(t, e) {
@@ -9294,16 +9294,16 @@ const $y = { render: My }, Ay = {
9294
9294
  class: "vue-flow__controls",
9295
9295
  position: g.position
9296
9296
  }, {
9297
- default: xe(() => [
9297
+ default: Ce(() => [
9298
9298
  Pe(g.$slots, "top"),
9299
9299
  g.showZoom ? (ee(), ue(Be, { key: 0 }, [
9300
9300
  Pe(g.$slots, "control-zoom-in", {}, () => [
9301
- fe(Ro, {
9301
+ he(Ro, {
9302
9302
  class: "vue-flow__controls-zoomin",
9303
9303
  disabled: m.value,
9304
9304
  onClick: p
9305
9305
  }, {
9306
- default: xe(() => [
9306
+ default: Ce(() => [
9307
9307
  Pe(g.$slots, "icon-zoom-in", {}, () => [
9308
9308
  (ee(), Te(Et(J(fy))))
9309
9309
  ])
@@ -9312,12 +9312,12 @@ const $y = { render: My }, Ay = {
9312
9312
  }, 8, ["disabled"])
9313
9313
  ]),
9314
9314
  Pe(g.$slots, "control-zoom-out", {}, () => [
9315
- fe(Ro, {
9315
+ he(Ro, {
9316
9316
  class: "vue-flow__controls-zoomout",
9317
9317
  disabled: h.value,
9318
9318
  onClick: y
9319
9319
  }, {
9320
- default: xe(() => [
9320
+ default: Ce(() => [
9321
9321
  Pe(g.$slots, "icon-zoom-out", {}, () => [
9322
9322
  (ee(), Te(Et(J(vy))))
9323
9323
  ])
@@ -9327,11 +9327,11 @@ const $y = { render: My }, Ay = {
9327
9327
  ])
9328
9328
  ], 64)) : $e("", !0),
9329
9329
  g.showFitView ? Pe(g.$slots, "control-fit-view", { key: 1 }, () => [
9330
- fe(Ro, {
9330
+ he(Ro, {
9331
9331
  class: "vue-flow__controls-fitview",
9332
9332
  onClick: S
9333
9333
  }, {
9334
- default: xe(() => [
9334
+ default: Ce(() => [
9335
9335
  Pe(g.$slots, "icon-fit-view", {}, () => [
9336
9336
  (ee(), Te(Et(J(xy))))
9337
9337
  ])
@@ -9345,7 +9345,7 @@ const $y = { render: My }, Ay = {
9345
9345
  class: "vue-flow__controls-interactive",
9346
9346
  onClick: _
9347
9347
  }, {
9348
- default: xe(() => [
9348
+ default: Ce(() => [
9349
9349
  f.value ? Pe(g.$slots, "icon-unlock", { key: 0 }, () => [
9350
9350
  (ee(), Te(Et(J($y))))
9351
9351
  ]) : $e("", !0),
@@ -9387,15 +9387,15 @@ const $y = { render: My }, Ay = {
9387
9387
  class: "d-flow-node-menus-item",
9388
9388
  onClick: (f) => s(c)
9389
9389
  }, [
9390
- ae("div", {
9390
+ le("div", {
9391
9391
  class: "d-flow-node-menus-item-icon",
9392
9392
  style: Oe({ backgroundColor: c.iconColor || "var(--j-color-primary)" })
9393
9393
  }, [
9394
- fe(l, {
9394
+ he(l, {
9395
9395
  icon: c.icon || "mdi:source-branch"
9396
9396
  }, null, 8, ["icon"])
9397
9397
  ], 4),
9398
- ae("div", zy, lt(c.name), 1)
9398
+ le("div", zy, lt(c.name), 1)
9399
9399
  ], 8, Oy))), 128))
9400
9400
  ]);
9401
9401
  };
@@ -9421,7 +9421,7 @@ const $y = { render: My }, Ay = {
9421
9421
  getEdges: u,
9422
9422
  getNodes: l,
9423
9423
  onNodesChange: c
9424
- } = Re(), d = _t("d_flow_design_provide", {}), f = he(
9424
+ } = Re(), d = _t("d_flow_design_provide", {}), f = fe(
9425
9425
  () => d.getFlowComponentMap?.value?.[e.data.type] || {}
9426
9426
  ), h = () => {
9427
9427
  a(e.id), d.onRemoveNode?.(e.id);
@@ -9436,7 +9436,7 @@ const $y = { render: My }, Ay = {
9436
9436
  });
9437
9437
  const p = de(!1), y = (H) => {
9438
9438
  H.indexOf("t") !== -1 && !S.value || (p.value = !0, m.value[H] = !0);
9439
- }, S = he(
9439
+ }, S = fe(
9440
9440
  () => u.value.findIndex((H) => H.target === e.id) === -1
9441
9441
  ), _ = de(!1), g = () => {
9442
9442
  _.value = !0;
@@ -9448,7 +9448,7 @@ const $y = { render: My }, Ay = {
9448
9448
  if (w(v[x].source, b))
9449
9449
  return !0;
9450
9450
  return !1;
9451
- }, P = (H) => _.value ? (_.value = !1, !1) : w(H.source, H.target) ? !1 : H.source !== H.target && H.sourceHandle !== H.targetHandle && H.sourceHandle.indexOf("s") !== -1 && H.targetHandle.indexOf("t") !== -1, $ = () => {
9451
+ }, A = (H) => _.value ? (_.value = !1, !1) : w(H.source, H.target) ? !1 : H.source !== H.target && H.sourceHandle !== H.targetHandle && H.sourceHandle.indexOf("s") !== -1 && H.targetHandle.indexOf("t") !== -1, $ = () => {
9452
9452
  T(), Object.keys(m.value).forEach((H) => {
9453
9453
  m.value[H] = !1;
9454
9454
  });
@@ -9488,33 +9488,33 @@ const $y = { render: My }, Ay = {
9488
9488
  class: "d-flow-step",
9489
9489
  onContextmenu: We(C, ["stop"])
9490
9490
  }, [
9491
- ae("div", {
9491
+ le("div", {
9492
9492
  class: "d-flow-step-icon",
9493
9493
  style: Oe({ backgroundColor: f.value.iconColor || "var(--j-color-primary)" })
9494
9494
  }, [
9495
- fe(Jn, {
9495
+ he(Jn, {
9496
9496
  icon: f.value.icon || "mdi:source-branch"
9497
9497
  }, null, 8, ["icon"])
9498
9498
  ], 4),
9499
- ae("div", Ry, lt(f.value.name), 1),
9499
+ le("div", Ry, lt(f.value.name), 1),
9500
9500
  t.data.type !== "start" ? (ee(), Te(v, {
9501
9501
  key: 0,
9502
9502
  placement: "top",
9503
9503
  "show-arrow": !1,
9504
9504
  "popper-class": "d-flow-step-tooltip"
9505
9505
  }, {
9506
- content: xe(() => [
9506
+ content: Ce(() => [
9507
9507
  S.value ? (ee(), ue("div", Hy, [...b[4] || (b[4] = [
9508
- ae("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "点击", -1),
9508
+ le("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "点击", -1),
9509
9509
  En("添加节点 ", -1)
9510
9510
  ])])) : $e("", !0),
9511
- b[5] || (b[5] = ae("div", { style: { color: "var(--j-color-text-2)" } }, [
9512
- ae("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "拖拽"),
9511
+ b[5] || (b[5] = le("div", { style: { color: "var(--j-color-text-2)" } }, [
9512
+ le("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "拖拽"),
9513
9513
  En("连接节点 ")
9514
9514
  ], -1))
9515
9515
  ]),
9516
- default: xe(() => [
9517
- fe(J(Bn), {
9516
+ default: Ce(() => [
9517
+ he(J(Bn), {
9518
9518
  onClick: b[1] || (b[1] = (R) => y("t1")),
9519
9519
  onMousedown: g,
9520
9520
  id: "t1",
@@ -9524,9 +9524,9 @@ const $y = { render: My }, Ay = {
9524
9524
  ]),
9525
9525
  type: "target",
9526
9526
  position: J(me).Left,
9527
- "is-valid-connection": P
9527
+ "is-valid-connection": A
9528
9528
  }, {
9529
- default: xe(() => [
9529
+ default: Ce(() => [
9530
9530
  S.value ? (ee(), Te(N, {
9531
9531
  key: 0,
9532
9532
  visible: m.value.t1,
@@ -9537,14 +9537,14 @@ const $y = { render: My }, Ay = {
9537
9537
  "show-arrow": !1,
9538
9538
  "popper-options": { strategy: "fixed" }
9539
9539
  }, {
9540
- reference: xe(() => [
9541
- fe(Jn, {
9540
+ reference: Ce(() => [
9541
+ he(Jn, {
9542
9542
  class: "d-flow-step-handle-plus",
9543
9543
  icon: "mdi:plus-circle"
9544
9544
  })
9545
9545
  ]),
9546
- default: xe(() => [
9547
- fe(Fr, {
9546
+ default: Ce(() => [
9547
+ he(Fr, {
9548
9548
  "handle-id": "t1",
9549
9549
  "from-node-id": t.id,
9550
9550
  onAddNode: F
@@ -9558,33 +9558,33 @@ const $y = { render: My }, Ay = {
9558
9558
  ]),
9559
9559
  _: 1
9560
9560
  })) : $e("", !0),
9561
- fe(v, {
9561
+ he(v, {
9562
9562
  placement: "top",
9563
9563
  "show-arrow": !1,
9564
9564
  "popper-class": "d-flow-step-tooltip"
9565
9565
  }, {
9566
- content: xe(() => [...b[6] || (b[6] = [
9567
- ae("div", { style: { color: "var(--j-color-text-2)" } }, [
9568
- ae("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "点击"),
9566
+ content: Ce(() => [...b[6] || (b[6] = [
9567
+ le("div", { style: { color: "var(--j-color-text-2)" } }, [
9568
+ le("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "点击"),
9569
9569
  En("添加节点 ")
9570
9570
  ], -1),
9571
- ae("div", { style: { color: "var(--j-color-text-2)" } }, [
9572
- ae("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "拖拽"),
9571
+ le("div", { style: { color: "var(--j-color-text-2)" } }, [
9572
+ le("span", { style: { color: "var(--j-color-text)", "font-weight": "bold" } }, "拖拽"),
9573
9573
  En("连接节点 ")
9574
9574
  ], -1)
9575
9575
  ])]),
9576
- default: xe(() => [
9577
- fe(J(Bn), {
9576
+ default: Ce(() => [
9577
+ he(J(Bn), {
9578
9578
  onClick: b[3] || (b[3] = (R) => y("s1")),
9579
9579
  onMousedown: g,
9580
9580
  id: "s1",
9581
9581
  class: "d-flow-step-source-handle",
9582
9582
  type: "source",
9583
9583
  position: J(me).Right,
9584
- "is-valid-connection": P
9584
+ "is-valid-connection": A
9585
9585
  }, {
9586
- default: xe(() => [
9587
- fe(N, {
9586
+ default: Ce(() => [
9587
+ he(N, {
9588
9588
  visible: m.value.s1,
9589
9589
  "onUpdate:visible": b[2] || (b[2] = (R) => m.value.s1 = R),
9590
9590
  placement: "right",
@@ -9593,14 +9593,14 @@ const $y = { render: My }, Ay = {
9593
9593
  "show-arrow": !1,
9594
9594
  "popper-options": { strategy: "fixed" }
9595
9595
  }, {
9596
- reference: xe(() => [
9597
- fe(Jn, {
9596
+ reference: Ce(() => [
9597
+ he(Jn, {
9598
9598
  class: "d-flow-step-handle-plus",
9599
9599
  icon: "mdi:plus-circle"
9600
9600
  })
9601
9601
  ]),
9602
- default: xe(() => [
9603
- fe(Fr, {
9602
+ default: Ce(() => [
9603
+ he(Fr, {
9604
9604
  "handle-id": "s1",
9605
9605
  "from-node-id": t.id,
9606
9606
  onAddNode: F
@@ -9614,7 +9614,7 @@ const $y = { render: My }, Ay = {
9614
9614
  ]),
9615
9615
  _: 1
9616
9616
  }),
9617
- fe(z, {
9617
+ he(z, {
9618
9618
  ref_key: "dropdownRef",
9619
9619
  ref: Y,
9620
9620
  "popper-class": "d-flow-step-dropdown",
@@ -9627,14 +9627,14 @@ const $y = { render: My }, Ay = {
9627
9627
  trigger: "contextmenu",
9628
9628
  placement: "bottom-start"
9629
9629
  }, {
9630
- dropdown: xe(() => [
9631
- fe(D, null, {
9632
- default: xe(() => [
9630
+ dropdown: Ce(() => [
9631
+ he(D, null, {
9632
+ default: Ce(() => [
9633
9633
  t.data.type != "start" ? (ee(), Te(x, {
9634
9634
  key: 0,
9635
9635
  onClick: h
9636
9636
  }, {
9637
- default: xe(() => [...b[7] || (b[7] = [
9637
+ default: Ce(() => [...b[7] || (b[7] = [
9638
9638
  En("删除", -1)
9639
9639
  ])]),
9640
9640
  _: 1
@@ -9649,8 +9649,8 @@ const $y = { render: My }, Ay = {
9649
9649
  "margin-top": t.data.type != "start" ? "4px" : void 0
9650
9650
  })
9651
9651
  }, [
9652
- b[8] || (b[8] = ae("div", { style: { "margin-bottom": "4px", color: "var(--j-color-text-2)" } }, "关于", -1)),
9653
- ae("div", By, lt(f.value.des), 1)
9652
+ b[8] || (b[8] = le("div", { style: { "margin-bottom": "4px", color: "var(--j-color-text-2)" } }, "关于", -1)),
9653
+ le("div", By, lt(f.value.des), 1)
9654
9654
  ], 4)) : $e("", !0)
9655
9655
  ]),
9656
9656
  _: 1
@@ -9684,7 +9684,7 @@ const $y = { render: My }, Ay = {
9684
9684
  onMoveStart: s,
9685
9685
  onConnectStart: a,
9686
9686
  onNodeDragStart: u
9687
- } = Re(), l = he(() => fs(e)), c = de(!1), d = de(!1);
9687
+ } = Re(), l = fe(() => fs(e)), c = de(!1), d = de(!1);
9688
9688
  n(({ edge: y }) => {
9689
9689
  y.id === e.id && (c.value = !0);
9690
9690
  }), o(() => {
@@ -9712,15 +9712,15 @@ const $y = { render: My }, Ay = {
9712
9712
  }), (y, S) => {
9713
9713
  const _ = De("j-icon"), g = De("el-popover");
9714
9714
  return ee(), ue(Be, null, [
9715
- fe(J(So), {
9715
+ he(J(So), {
9716
9716
  id: t.id,
9717
9717
  style: Oe(t.style),
9718
9718
  path: l.value[0],
9719
9719
  "marker-end": t.markerEnd
9720
9720
  }, null, 8, ["id", "style", "path", "marker-end"]),
9721
- fe(J(Lv), null, {
9722
- default: xe(() => [
9723
- ae("div", {
9721
+ he(J(Lv), null, {
9722
+ default: Ce(() => [
9723
+ le("div", {
9724
9724
  style: Oe({
9725
9725
  pointerEvents: "all",
9726
9726
  position: "absolute",
@@ -9728,24 +9728,24 @@ const $y = { render: My }, Ay = {
9728
9728
  }),
9729
9729
  class: "nodrag nopan"
9730
9730
  }, [
9731
- fe(g, {
9731
+ he(g, {
9732
9732
  visible: f.value,
9733
9733
  "show-arrow": !1,
9734
9734
  placement: "right",
9735
9735
  "popper-class": "d-flow-step-popper"
9736
9736
  }, {
9737
- reference: xe(() => [
9738
- ao(ae("div", {
9737
+ reference: Ce(() => [
9738
+ ao(le("div", {
9739
9739
  onClick: We(m, ["stop"]),
9740
9740
  class: "d-flow-edge-button"
9741
9741
  }, [
9742
- fe(_, { icon: "mdi:plus-circle" })
9742
+ he(_, { icon: "mdi:plus-circle" })
9743
9743
  ], 512), [
9744
9744
  [lo, c.value || d.value]
9745
9745
  ])
9746
9746
  ]),
9747
- default: xe(() => [
9748
- fe(Fr, {
9747
+ default: Ce(() => [
9748
+ he(Fr, {
9749
9749
  "handle-id": "line",
9750
9750
  "from-node-id": t.id,
9751
9751
  onAddNode: p
@@ -9776,8 +9776,8 @@ const $y = { render: My }, Ay = {
9776
9776
  nodes: t.nodes,
9777
9777
  edges: t.edges
9778
9778
  }, {
9779
- "edge-button": xe((o) => [
9780
- fe(Fy, {
9779
+ "edge-button": Ce((o) => [
9780
+ he(Fy, {
9781
9781
  id: o.id,
9782
9782
  "source-x": o.sourceX,
9783
9783
  "source-y": o.sourceY,
@@ -9789,12 +9789,12 @@ const $y = { render: My }, Ay = {
9789
9789
  style: Oe(o.style)
9790
9790
  }, null, 8, ["id", "source-x", "source-y", "target-x", "target-y", "source-position", "target-position", "marker-end", "style"])
9791
9791
  ]),
9792
- "node-step": xe((o) => [
9793
- fe(Ly, ll(Su(o)), null, 16)
9792
+ "node-step": Ce((o) => [
9793
+ he(Ly, ll(Su(o)), null, 16)
9794
9794
  ]),
9795
- default: xe(() => [
9796
- fe(J(Py), { position: "bottom-left" }),
9797
- fe(J(oy))
9795
+ default: Ce(() => [
9796
+ he(J(Py), { position: "bottom-left" }),
9797
+ he(J(oy))
9798
9798
  ]),
9799
9799
  _: 1
9800
9800
  }, 8, ["connection-mode", "nodes", "edges"]));
@@ -9824,7 +9824,7 @@ const $y = { render: My }, Ay = {
9824
9824
  onEdgeClick: h,
9825
9825
  getNodes: m,
9826
9826
  getEdges: p
9827
- } = Re(), y = he(() => {
9827
+ } = Re(), y = fe(() => {
9828
9828
  const z = {};
9829
9829
  return o.components.forEach((R) => {
9830
9830
  z[R.type] = R;
@@ -9860,7 +9860,7 @@ const $y = { render: My }, Ay = {
9860
9860
  x: z.position.x - 100 - z.dimensions.width,
9861
9861
  y: z.position.y
9862
9862
  };
9863
- }, P = (z, R, M) => {
9863
+ }, A = (z, R, M) => {
9864
9864
  const O = m.value.find((V) => V.id === R);
9865
9865
  if (!O)
9866
9866
  return;
@@ -9942,7 +9942,7 @@ const $y = { render: My }, Ay = {
9942
9942
  c((z) => {
9943
9943
  console.log("onConnect", z), z.type = "button", z.markerEnd = Gt.Arrow, s(z), i("connect", z);
9944
9944
  });
9945
- const Y = () => o.components || [], G = de(), E = he(
9945
+ const Y = () => o.components || [], G = de(), E = fe(
9946
9946
  () => G.value ? y.value[G.value.data.type] : void 0
9947
9947
  );
9948
9948
  d((z) => {
@@ -9991,7 +9991,7 @@ const $y = { render: My }, Ay = {
9991
9991
  };
9992
9992
  return zt("d_flow_design_provide", {
9993
9993
  getFlowComponents: Y,
9994
- addNode: P,
9994
+ addNode: A,
9995
9995
  addNodeByLine: F,
9996
9996
  onRemoveNode: T,
9997
9997
  getFlowComponentMap: y
@@ -10044,26 +10044,26 @@ const $y = { render: My }, Ay = {
10044
10044
  }), (z, R) => {
10045
10045
  const M = De("j-icon"), O = De("j-form");
10046
10046
  return ee(), ue("div", Gy, [
10047
- ae("div", jy, [
10048
- fe(Vy, {
10047
+ le("div", jy, [
10048
+ he(Vy, {
10049
10049
  nodes: _.value,
10050
10050
  edges: g.value
10051
10051
  }, null, 8, ["nodes", "edges"])
10052
10052
  ]),
10053
- ao(ae("div", Wy, [
10054
- ae("div", Yy, [
10055
- ae("div", {
10053
+ ao(le("div", Wy, [
10054
+ le("div", Yy, [
10055
+ le("div", {
10056
10056
  class: "d-flow-design-title-icon",
10057
10057
  style: Oe({ backgroundColor: E.value?.iconColor || "var(--j-color-primary)" })
10058
10058
  }, [
10059
- fe(M, {
10059
+ he(M, {
10060
10060
  icon: E.value?.icon || "mdi:source-branch"
10061
10061
  }, null, 8, ["icon"])
10062
10062
  ], 4),
10063
- ae("div", Uy, lt(E.value?.name || ""), 1)
10063
+ le("div", Uy, lt(E.value?.name || ""), 1)
10064
10064
  ]),
10065
- ae("div", Xy, [
10066
- fe(O, {
10065
+ le("div", Xy, [
10066
+ he(O, {
10067
10067
  config: {
10068
10068
  labelPosition: "top"
10069
10069
  },
@@ -10100,14 +10100,14 @@ const $y = { render: My }, Ay = {
10100
10100
  },
10101
10101
  emits: ["update:modelValue", "change"],
10102
10102
  setup(t, { emit: e }) {
10103
- const n = t, o = e, i = de(), r = he({
10103
+ const n = t, o = e, i = de(), r = fe({
10104
10104
  get() {
10105
10105
  return n.modelValue;
10106
10106
  },
10107
10107
  set(d) {
10108
10108
  o("update:modelValue", d);
10109
10109
  }
10110
- }), s = he(() => (n.modelValue?.trim(), n.btnText)), a = (d) => {
10110
+ }), s = fe(() => (n.modelValue?.trim(), n.btnText)), a = (d) => {
10111
10111
  const f = typeof d == "string" ? d : void 0;
10112
10112
  try {
10113
10113
  i.value?.setData(JSON.parse(f || "[]"));
@@ -10144,9 +10144,9 @@ const $y = { render: My }, Ay = {
10144
10144
  "onUpdate:modelValue": f[0] || (f[0] = (p) => r.value = p),
10145
10145
  onChange: c
10146
10146
  }), {
10147
- default: xe(() => [
10148
- ae("div", Zy, [
10149
- fe(h, {
10147
+ default: Ce(() => [
10148
+ le("div", Zy, [
10149
+ he(h, {
10150
10150
  ref_key: "flowRef",
10151
10151
  ref: i,
10152
10152
  components: t.flowComponents,
@@ -13490,8 +13490,8 @@ Note: ".grid-stack" is required for proper CSS styling and drag/drop, and is the
13490
13490
  const g = this._extraDragRow;
13491
13491
  if (this.engine.collide(i, a)) {
13492
13492
  const w = this.getRow();
13493
- let P = Math.max(0, a.y + i.h - w);
13494
- this.opts.maxRow && w + P > this.opts.maxRow && (P = Math.max(0, this.opts.maxRow - w)), this._extraDragRow = P;
13493
+ let A = Math.max(0, a.y + i.h - w);
13494
+ this.opts.maxRow && w + A > this.opts.maxRow && (A = Math.max(0, this.opts.maxRow - w)), this._extraDragRow = A;
13495
13495
  } else
13496
13496
  this._extraDragRow = 0;
13497
13497
  if (this._extraDragRow !== g && this._updateContainerHeight(), i.x === a.x && i.y === a.y)
@@ -13673,7 +13673,7 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13673
13673
  }), p;
13674
13674
  });
13675
13675
  i("update:modelValue", h);
13676
- }, d = he(() => o.modelValue);
13676
+ }, d = fe(() => o.modelValue);
13677
13677
  return Ne(
13678
13678
  () => o.modelValue,
13679
13679
  async () => {
@@ -13733,7 +13733,7 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13733
13733
  /** 获取 GridStack 实例 */
13734
13734
  getGrid: () => s
13735
13735
  }), (f, h) => (ee(), ue("div", o0, [
13736
- ae("div", {
13736
+ le("div", {
13737
13737
  ref_key: "gridContainerRef",
13738
13738
  ref: r
13739
13739
  }, [
@@ -13792,19 +13792,19 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13792
13792
  { classname: "top-right" },
13793
13793
  { classname: "bottom-left" },
13794
13794
  { classname: "bottom-right" }
13795
- ]), S = he(() => o.scale), _ = he(() => ({ left: Qe(S.value, "", o.isPt) })), g = he(() => ({ left: Qe(-S.value, "", o.isPt) })), w = he(() => ({
13795
+ ]), S = fe(() => o.scale), _ = fe(() => ({ left: Qe(S.value, "", o.isPt) })), g = fe(() => ({ left: Qe(-S.value, "", o.isPt) })), w = fe(() => ({
13796
13796
  left: "auto",
13797
13797
  right: Qe(-S.value, "", o.isPt)
13798
- })), P = he(() => ({ top: Qe(-S.value, "", o.isPt) })), $ = he(() => ({
13798
+ })), A = fe(() => ({ top: Qe(-S.value, "", o.isPt) })), $ = fe(() => ({
13799
13799
  top: "auto",
13800
13800
  bottom: Qe(-S.value, "", o.isPt)
13801
- })), F = he(() => {
13801
+ })), F = fe(() => {
13802
13802
  const K = 8 * S.value;
13803
13803
  return {
13804
13804
  width: Qe(K, "", o.isPt),
13805
13805
  height: Qe(K, "", o.isPt)
13806
13806
  };
13807
- }), Y = he(() => ({ fontSize: Qe(16 * S.value, "", o.isPt) })), G = he(
13807
+ }), Y = fe(() => ({ fontSize: Qe(16 * S.value, "", o.isPt) })), G = fe(
13808
13808
  () => Object.assign(
13809
13809
  (() => {
13810
13810
  if (p.value) {
@@ -13894,19 +13894,19 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13894
13894
  };
13895
13895
  }, M = (K, Q) => {
13896
13896
  if (o.disabled || o.readonly) return;
13897
- let X, te, se, re, pe, ie;
13897
+ let X, te, se, ie, ge, re;
13898
13898
  m.value = !0, D();
13899
- let le = K.clientX, A = K.clientY;
13899
+ let ae = K.clientX, P = K.clientY;
13900
13900
  document.onmousemove = (I) => {
13901
- f.value = !0, Q === "right" ? (X = !0, te = !1) : Q === "left" ? (X = !0, se = !0, pe = !0, te = !1) : Q === "top" ? (X = !1, te = !0, re = !0, ie = !0) : Q === "bottom" ? (X = !1, te = !0) : Q === "bottom-right" ? (X = !0, te = !0) : Q === "bottom-left" ? (X = !0, te = !0, se = !0, pe = !0) : Q === "top-right" ? (X = !0, te = !0, re = !0, ie = !0) : Q === "top-left" && (X = !0, te = !0, se = !0, pe = !0, re = !0, ie = !0);
13902
- const B = I.clientX - le, U = I.clientY - A;
13903
- if (le = I.clientX, A = I.clientY, X) {
13901
+ f.value = !0, Q === "right" ? (X = !0, te = !1) : Q === "left" ? (X = !0, se = !0, ge = !0, te = !1) : Q === "top" ? (X = !1, te = !0, ie = !0, re = !0) : Q === "bottom" ? (X = !1, te = !0) : Q === "bottom-right" ? (X = !0, te = !0) : Q === "bottom-left" ? (X = !0, te = !0, se = !0, ge = !0) : Q === "top-right" ? (X = !0, te = !0, ie = !0, re = !0) : Q === "top-left" && (X = !0, te = !0, se = !0, ge = !0, ie = !0, re = !0);
13902
+ const B = I.clientX - ae, U = I.clientY - P;
13903
+ if (ae = I.clientX, P = I.clientY, X) {
13904
13904
  let k = B * o.step;
13905
- pe && (k = -k), se && (l.value = it(l.value - k)), a.value = it(a.value + k);
13905
+ ge && (k = -k), se && (l.value = it(l.value - k)), a.value = it(a.value + k);
13906
13906
  }
13907
13907
  if (te) {
13908
13908
  let k = U * o.step;
13909
- ie && (k = -k), re && (c.value = it(c.value - k)), u.value = it(u.value + k);
13909
+ re && (k = -k), ie && (c.value = it(c.value - k)), u.value = it(u.value + k);
13910
13910
  }
13911
13911
  }, R();
13912
13912
  }, O = () => {
@@ -13930,8 +13930,8 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13930
13930
  p.value = !0, D();
13931
13931
  let Q = K.clientX, X = K.clientY;
13932
13932
  document.onmousemove = (te) => {
13933
- const se = te.clientX - Q, re = te.clientY - X;
13934
- Q = te.clientX, X = te.clientY, l.value = it(l.value + se * o.step), c.value = it(c.value + re * o.step);
13933
+ const se = te.clientX - Q, ie = te.clientY - X;
13934
+ Q = te.clientX, X = te.clientY, l.value = it(l.value + se * o.step), c.value = it(c.value + ie * o.step);
13935
13935
  }, R();
13936
13936
  };
13937
13937
  return mt(() => {
@@ -13954,30 +13954,30 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13954
13954
  onMouseout: We(O, ["stop"]),
13955
13955
  style: Oe(G.value)
13956
13956
  }, [
13957
- ae("div", {
13957
+ le("div", {
13958
13958
  class: "d-draggable__wrapper",
13959
13959
  ref_key: "wrapper",
13960
13960
  ref: r
13961
13961
  }, [
13962
13962
  (p.value || h.value || f.value) && !t.readonly && !t.disabled ? (ee(), ue(Be, { key: 0 }, [
13963
- ae("div", {
13964
- style: Oe({ ..._.value, ...P.value }),
13963
+ le("div", {
13964
+ style: Oe({ ..._.value, ...A.value }),
13965
13965
  class: "d-draggable__line d-draggable__line--left"
13966
13966
  }, null, 4),
13967
- ae("div", {
13967
+ le("div", {
13968
13968
  style: Oe({ ..._.value, ...g.value }),
13969
13969
  class: "d-draggable__line d-draggable__line--top"
13970
13970
  }, null, 4),
13971
13971
  t.isPt ? (ee(), ue(Be, { key: 1 }, [
13972
- ae("div", {
13972
+ le("div", {
13973
13973
  style: Oe({
13974
13974
  ..._.value,
13975
- ...P.value,
13975
+ ...A.value,
13976
13976
  transform: "none"
13977
13977
  }),
13978
13978
  class: "d-draggable__line d-draggable__line--left"
13979
13979
  }, null, 4),
13980
- ae("div", {
13980
+ le("div", {
13981
13981
  style: Oe({
13982
13982
  ..._.value,
13983
13983
  ...g.value,
@@ -13985,15 +13985,15 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
13985
13985
  }),
13986
13986
  class: "d-draggable__line d-draggable__line--top"
13987
13987
  }, null, 4),
13988
- ae("div", {
13988
+ le("div", {
13989
13989
  style: Oe({ ..._.value, ...$.value }),
13990
13990
  class: "d-draggable__line d-draggable__line--left"
13991
13991
  }, null, 4),
13992
- ae("div", {
13992
+ le("div", {
13993
13993
  style: Oe({ ..._.value, ...w.value }),
13994
13994
  class: "d-draggable__line d-draggable__line--top"
13995
13995
  }, null, 4),
13996
- ae("div", {
13996
+ le("div", {
13997
13997
  style: Oe({
13998
13998
  ..._.value,
13999
13999
  ...$.value,
@@ -14001,7 +14001,7 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
14001
14001
  }),
14002
14002
  class: "d-draggable__line d-draggable__line--left"
14003
14003
  }, null, 4),
14004
- ae("div", {
14004
+ le("div", {
14005
14005
  style: Oe({
14006
14006
  ..._.value,
14007
14007
  ...w.value,
@@ -14023,7 +14023,7 @@ const o0 = { class: "d-layout" }, i0 = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h",
14023
14023
  onMousedown: We((se) => M(se, X.classname), ["stop"])
14024
14024
  }, null, 46, c0)) : $e("", !0)
14025
14025
  ], 64))), 128)) : $e("", !0),
14026
- ae("div", {
14026
+ le("div", {
14027
14027
  class: "d-draggable__item",
14028
14028
  ref_key: "item",
14029
14029
  ref: s
@@ -14254,13 +14254,13 @@ function b0() {
14254
14254
  return { M: d, y: h, w: c, d: l, D: m, h: u, m: a, s, ms: r, Q: f }[b] || String(b || "").toLowerCase().replace(/s$/, "");
14255
14255
  }, u: function(b) {
14256
14256
  return b === void 0;
14257
- } }, P = "en", $ = {};
14258
- $[P] = _;
14257
+ } }, A = "en", $ = {};
14258
+ $[A] = _;
14259
14259
  var F = "$isDayjsObject", Y = function(b) {
14260
14260
  return b instanceof C || !(!b || !b[F]);
14261
14261
  }, G = function b(N, v, x) {
14262
14262
  var D;
14263
- if (!N) return P;
14263
+ if (!N) return A;
14264
14264
  if (typeof N == "string") {
14265
14265
  var z = N.toLowerCase();
14266
14266
  $[z] && (D = z), v && ($[z] = v, D = z);
@@ -14270,7 +14270,7 @@ function b0() {
14270
14270
  var M = N.name;
14271
14271
  $[M] = N, D = M;
14272
14272
  }
14273
- return !x && D && (P = D), D || !x && P;
14273
+ return !x && D && (A = D), D || !x && A;
14274
14274
  }, E = function(b, N) {
14275
14275
  if (Y(b)) return b.clone();
14276
14276
  var v = typeof N == "object" ? N : {};
@@ -14320,11 +14320,11 @@ function b0() {
14320
14320
  }, N.valueOf = function() {
14321
14321
  return this.$d.getTime();
14322
14322
  }, N.startOf = function(v, x) {
14323
- var D = this, z = !!T.u(x) || x, R = T.p(v), M = function(se, re) {
14324
- var pe = T.w(D.$u ? Date.UTC(D.$y, re, se) : new Date(D.$y, re, se), D);
14325
- return z ? pe : pe.endOf(l);
14326
- }, O = function(se, re) {
14327
- return T.w(D.toDate()[se].apply(D.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(re)), D);
14323
+ var D = this, z = !!T.u(x) || x, R = T.p(v), M = function(se, ie) {
14324
+ var ge = T.w(D.$u ? Date.UTC(D.$y, ie, se) : new Date(D.$y, ie, se), D);
14325
+ return z ? ge : ge.endOf(l);
14326
+ }, O = function(se, ie) {
14327
+ return T.w(D.toDate()[se].apply(D.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), D);
14328
14328
  }, L = this.$W, V = this.$M, K = this.$D, Q = "set" + (this.$u ? "UTC" : "");
14329
14329
  switch (R) {
14330
14330
  case h:
@@ -14377,17 +14377,17 @@ function b0() {
14377
14377
  }, N.format = function(v) {
14378
14378
  var x = this, D = this.$locale();
14379
14379
  if (!this.isValid()) return D.invalidDate || p;
14380
- var z = v || "YYYY-MM-DDTHH:mm:ssZ", R = T.z(this), M = this.$H, O = this.$m, L = this.$M, V = D.weekdays, K = D.months, Q = D.meridiem, X = function(re, pe, ie, le) {
14381
- return re && (re[pe] || re(x, z)) || ie[pe].slice(0, le);
14382
- }, te = function(re) {
14383
- return T.s(M % 12 || 12, re, "0");
14384
- }, se = Q || function(re, pe, ie) {
14385
- var le = re < 12 ? "AM" : "PM";
14386
- return ie ? le.toLowerCase() : le;
14380
+ var z = v || "YYYY-MM-DDTHH:mm:ssZ", R = T.z(this), M = this.$H, O = this.$m, L = this.$M, V = D.weekdays, K = D.months, Q = D.meridiem, X = function(ie, ge, re, ae) {
14381
+ return ie && (ie[ge] || ie(x, z)) || re[ge].slice(0, ae);
14382
+ }, te = function(ie) {
14383
+ return T.s(M % 12 || 12, ie, "0");
14384
+ }, se = Q || function(ie, ge, re) {
14385
+ var ae = ie < 12 ? "AM" : "PM";
14386
+ return re ? ae.toLowerCase() : ae;
14387
14387
  };
14388
- return z.replace(S, (function(re, pe) {
14389
- return pe || (function(ie) {
14390
- switch (ie) {
14388
+ return z.replace(S, (function(ie, ge) {
14389
+ return ge || (function(re) {
14390
+ switch (re) {
14391
14391
  case "YY":
14392
14392
  return String(x.$y).slice(-2);
14393
14393
  case "YYYY":
@@ -14438,7 +14438,7 @@ function b0() {
14438
14438
  return R;
14439
14439
  }
14440
14440
  return null;
14441
- })(re) || R.replace(":", "");
14441
+ })(ie) || R.replace(":", "");
14442
14442
  }));
14443
14443
  }, N.utcOffset = function() {
14444
14444
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
@@ -14503,7 +14503,7 @@ function b0() {
14503
14503
  return b.$i || (b(N, C, E), b.$i = !0), E;
14504
14504
  }, E.locale = G, E.isDayjs = Y, E.unix = function(b) {
14505
14505
  return E(1e3 * b);
14506
- }, E.en = $[P], E.Ls = $, E.p = {}, E;
14506
+ }, E.en = $[A], E.Ls = $, E.p = {}, E;
14507
14507
  }));
14508
14508
  })(Qo)), Qo.exports;
14509
14509
  }
@@ -14680,15 +14680,15 @@ function wt() {
14680
14680
  * wordArray1.concat(wordArray2);
14681
14681
  */
14682
14682
  concat: function(_) {
14683
- var g = this.words, w = _.words, P = this.sigBytes, $ = _.sigBytes;
14684
- if (this.clamp(), P % 4)
14683
+ var g = this.words, w = _.words, A = this.sigBytes, $ = _.sigBytes;
14684
+ if (this.clamp(), A % 4)
14685
14685
  for (var F = 0; F < $; F++) {
14686
14686
  var Y = w[F >>> 2] >>> 24 - F % 4 * 8 & 255;
14687
- g[P + F >>> 2] |= Y << 24 - (P + F) % 4 * 8;
14687
+ g[A + F >>> 2] |= Y << 24 - (A + F) % 4 * 8;
14688
14688
  }
14689
14689
  else
14690
14690
  for (var G = 0; G < $; G += 4)
14691
- g[P + G >>> 2] = w[G >>> 2];
14691
+ g[A + G >>> 2] = w[G >>> 2];
14692
14692
  return this.sigBytes += $, this;
14693
14693
  },
14694
14694
  /**
@@ -14748,11 +14748,11 @@ function wt() {
14748
14748
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
14749
14749
  */
14750
14750
  stringify: function(_) {
14751
- for (var g = _.words, w = _.sigBytes, P = [], $ = 0; $ < w; $++) {
14751
+ for (var g = _.words, w = _.sigBytes, A = [], $ = 0; $ < w; $++) {
14752
14752
  var F = g[$ >>> 2] >>> 24 - $ % 4 * 8 & 255;
14753
- P.push((F >>> 4).toString(16)), P.push((F & 15).toString(16));
14753
+ A.push((F >>> 4).toString(16)), A.push((F & 15).toString(16));
14754
14754
  }
14755
- return P.join("");
14755
+ return A.join("");
14756
14756
  },
14757
14757
  /**
14758
14758
  * Converts a hex string to a word array.
@@ -14768,8 +14768,8 @@ function wt() {
14768
14768
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
14769
14769
  */
14770
14770
  parse: function(_) {
14771
- for (var g = _.length, w = [], P = 0; P < g; P += 2)
14772
- w[P >>> 3] |= parseInt(_.substr(P, 2), 16) << 24 - P % 8 * 4;
14771
+ for (var g = _.length, w = [], A = 0; A < g; A += 2)
14772
+ w[A >>> 3] |= parseInt(_.substr(A, 2), 16) << 24 - A % 8 * 4;
14773
14773
  return new d.init(w, g / 2);
14774
14774
  }
14775
14775
  }, m = f.Latin1 = {
@@ -14787,11 +14787,11 @@ function wt() {
14787
14787
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
14788
14788
  */
14789
14789
  stringify: function(_) {
14790
- for (var g = _.words, w = _.sigBytes, P = [], $ = 0; $ < w; $++) {
14790
+ for (var g = _.words, w = _.sigBytes, A = [], $ = 0; $ < w; $++) {
14791
14791
  var F = g[$ >>> 2] >>> 24 - $ % 4 * 8 & 255;
14792
- P.push(String.fromCharCode(F));
14792
+ A.push(String.fromCharCode(F));
14793
14793
  }
14794
- return P.join("");
14794
+ return A.join("");
14795
14795
  },
14796
14796
  /**
14797
14797
  * Converts a Latin1 string to a word array.
@@ -14807,8 +14807,8 @@ function wt() {
14807
14807
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
14808
14808
  */
14809
14809
  parse: function(_) {
14810
- for (var g = _.length, w = [], P = 0; P < g; P++)
14811
- w[P >>> 2] |= (_.charCodeAt(P) & 255) << 24 - P % 4 * 8;
14810
+ for (var g = _.length, w = [], A = 0; A < g; A++)
14811
+ w[A >>> 2] |= (_.charCodeAt(A) & 255) << 24 - A % 4 * 8;
14812
14812
  return new d.init(w, g);
14813
14813
  }
14814
14814
  }, p = f.Utf8 = {
@@ -14887,13 +14887,13 @@ function wt() {
14887
14887
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
14888
14888
  */
14889
14889
  _process: function(_) {
14890
- var g, w = this._data, P = w.words, $ = w.sigBytes, F = this.blockSize, Y = F * 4, G = $ / Y;
14890
+ var g, w = this._data, A = w.words, $ = w.sigBytes, F = this.blockSize, Y = F * 4, G = $ / Y;
14891
14891
  _ ? G = o.ceil(G) : G = o.max((G | 0) - this._minBufferSize, 0);
14892
14892
  var E = G * F, T = o.min(E * 4, $);
14893
14893
  if (E) {
14894
14894
  for (var C = 0; C < E; C += F)
14895
- this._doProcessBlock(P, C);
14896
- g = P.splice(0, E), w.sigBytes -= T;
14895
+ this._doProcessBlock(A, C);
14896
+ g = A.splice(0, E), w.sigBytes -= T;
14897
14897
  }
14898
14898
  return new d.init(g, T);
14899
14899
  },
@@ -15119,39 +15119,39 @@ function Hc() {
15119
15119
  var _ = y + S, g = p[_];
15120
15120
  p[_] = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360;
15121
15121
  }
15122
- var w = this._hash.words, P = p[y + 0], $ = p[y + 1], F = p[y + 2], Y = p[y + 3], G = p[y + 4], E = p[y + 5], T = p[y + 6], C = p[y + 7], H = p[y + 8], b = p[y + 9], N = p[y + 10], v = p[y + 11], x = p[y + 12], D = p[y + 13], z = p[y + 14], R = p[y + 15], M = w[0], O = w[1], L = w[2], V = w[3];
15123
- M = d(M, O, L, V, P, 7, l[0]), V = d(V, M, O, L, $, 12, l[1]), L = d(L, V, M, O, F, 17, l[2]), O = d(O, L, V, M, Y, 22, l[3]), M = d(M, O, L, V, G, 7, l[4]), V = d(V, M, O, L, E, 12, l[5]), L = d(L, V, M, O, T, 17, l[6]), O = d(O, L, V, M, C, 22, l[7]), M = d(M, O, L, V, H, 7, l[8]), V = d(V, M, O, L, b, 12, l[9]), L = d(L, V, M, O, N, 17, l[10]), O = d(O, L, V, M, v, 22, l[11]), M = d(M, O, L, V, x, 7, l[12]), V = d(V, M, O, L, D, 12, l[13]), L = d(L, V, M, O, z, 17, l[14]), O = d(O, L, V, M, R, 22, l[15]), M = f(M, O, L, V, $, 5, l[16]), V = f(V, M, O, L, T, 9, l[17]), L = f(L, V, M, O, v, 14, l[18]), O = f(O, L, V, M, P, 20, l[19]), M = f(M, O, L, V, E, 5, l[20]), V = f(V, M, O, L, N, 9, l[21]), L = f(L, V, M, O, R, 14, l[22]), O = f(O, L, V, M, G, 20, l[23]), M = f(M, O, L, V, b, 5, l[24]), V = f(V, M, O, L, z, 9, l[25]), L = f(L, V, M, O, Y, 14, l[26]), O = f(O, L, V, M, H, 20, l[27]), M = f(M, O, L, V, D, 5, l[28]), V = f(V, M, O, L, F, 9, l[29]), L = f(L, V, M, O, C, 14, l[30]), O = f(O, L, V, M, x, 20, l[31]), M = h(M, O, L, V, E, 4, l[32]), V = h(V, M, O, L, H, 11, l[33]), L = h(L, V, M, O, v, 16, l[34]), O = h(O, L, V, M, z, 23, l[35]), M = h(M, O, L, V, $, 4, l[36]), V = h(V, M, O, L, G, 11, l[37]), L = h(L, V, M, O, C, 16, l[38]), O = h(O, L, V, M, N, 23, l[39]), M = h(M, O, L, V, D, 4, l[40]), V = h(V, M, O, L, P, 11, l[41]), L = h(L, V, M, O, Y, 16, l[42]), O = h(O, L, V, M, T, 23, l[43]), M = h(M, O, L, V, b, 4, l[44]), V = h(V, M, O, L, x, 11, l[45]), L = h(L, V, M, O, R, 16, l[46]), O = h(O, L, V, M, F, 23, l[47]), M = m(M, O, L, V, P, 6, l[48]), V = m(V, M, O, L, C, 10, l[49]), L = m(L, V, M, O, z, 15, l[50]), O = m(O, L, V, M, E, 21, l[51]), M = m(M, O, L, V, x, 6, l[52]), V = m(V, M, O, L, Y, 10, l[53]), L = m(L, V, M, O, N, 15, l[54]), O = m(O, L, V, M, $, 21, l[55]), M = m(M, O, L, V, H, 6, l[56]), V = m(V, M, O, L, R, 10, l[57]), L = m(L, V, M, O, T, 15, l[58]), O = m(O, L, V, M, D, 21, l[59]), M = m(M, O, L, V, G, 6, l[60]), V = m(V, M, O, L, v, 10, l[61]), L = m(L, V, M, O, F, 15, l[62]), O = m(O, L, V, M, b, 21, l[63]), w[0] = w[0] + M | 0, w[1] = w[1] + O | 0, w[2] = w[2] + L | 0, w[3] = w[3] + V | 0;
15122
+ var w = this._hash.words, A = p[y + 0], $ = p[y + 1], F = p[y + 2], Y = p[y + 3], G = p[y + 4], E = p[y + 5], T = p[y + 6], C = p[y + 7], H = p[y + 8], b = p[y + 9], N = p[y + 10], v = p[y + 11], x = p[y + 12], D = p[y + 13], z = p[y + 14], R = p[y + 15], M = w[0], O = w[1], L = w[2], V = w[3];
15123
+ M = d(M, O, L, V, A, 7, l[0]), V = d(V, M, O, L, $, 12, l[1]), L = d(L, V, M, O, F, 17, l[2]), O = d(O, L, V, M, Y, 22, l[3]), M = d(M, O, L, V, G, 7, l[4]), V = d(V, M, O, L, E, 12, l[5]), L = d(L, V, M, O, T, 17, l[6]), O = d(O, L, V, M, C, 22, l[7]), M = d(M, O, L, V, H, 7, l[8]), V = d(V, M, O, L, b, 12, l[9]), L = d(L, V, M, O, N, 17, l[10]), O = d(O, L, V, M, v, 22, l[11]), M = d(M, O, L, V, x, 7, l[12]), V = d(V, M, O, L, D, 12, l[13]), L = d(L, V, M, O, z, 17, l[14]), O = d(O, L, V, M, R, 22, l[15]), M = f(M, O, L, V, $, 5, l[16]), V = f(V, M, O, L, T, 9, l[17]), L = f(L, V, M, O, v, 14, l[18]), O = f(O, L, V, M, A, 20, l[19]), M = f(M, O, L, V, E, 5, l[20]), V = f(V, M, O, L, N, 9, l[21]), L = f(L, V, M, O, R, 14, l[22]), O = f(O, L, V, M, G, 20, l[23]), M = f(M, O, L, V, b, 5, l[24]), V = f(V, M, O, L, z, 9, l[25]), L = f(L, V, M, O, Y, 14, l[26]), O = f(O, L, V, M, H, 20, l[27]), M = f(M, O, L, V, D, 5, l[28]), V = f(V, M, O, L, F, 9, l[29]), L = f(L, V, M, O, C, 14, l[30]), O = f(O, L, V, M, x, 20, l[31]), M = h(M, O, L, V, E, 4, l[32]), V = h(V, M, O, L, H, 11, l[33]), L = h(L, V, M, O, v, 16, l[34]), O = h(O, L, V, M, z, 23, l[35]), M = h(M, O, L, V, $, 4, l[36]), V = h(V, M, O, L, G, 11, l[37]), L = h(L, V, M, O, C, 16, l[38]), O = h(O, L, V, M, N, 23, l[39]), M = h(M, O, L, V, D, 4, l[40]), V = h(V, M, O, L, A, 11, l[41]), L = h(L, V, M, O, Y, 16, l[42]), O = h(O, L, V, M, T, 23, l[43]), M = h(M, O, L, V, b, 4, l[44]), V = h(V, M, O, L, x, 11, l[45]), L = h(L, V, M, O, R, 16, l[46]), O = h(O, L, V, M, F, 23, l[47]), M = m(M, O, L, V, A, 6, l[48]), V = m(V, M, O, L, C, 10, l[49]), L = m(L, V, M, O, z, 15, l[50]), O = m(O, L, V, M, E, 21, l[51]), M = m(M, O, L, V, x, 6, l[52]), V = m(V, M, O, L, Y, 10, l[53]), L = m(L, V, M, O, N, 15, l[54]), O = m(O, L, V, M, $, 21, l[55]), M = m(M, O, L, V, H, 6, l[56]), V = m(V, M, O, L, R, 10, l[57]), L = m(L, V, M, O, T, 15, l[58]), O = m(O, L, V, M, D, 21, l[59]), M = m(M, O, L, V, G, 6, l[60]), V = m(V, M, O, L, v, 10, l[61]), L = m(L, V, M, O, F, 15, l[62]), O = m(O, L, V, M, b, 21, l[63]), w[0] = w[0] + M | 0, w[1] = w[1] + O | 0, w[2] = w[2] + L | 0, w[3] = w[3] + V | 0;
15124
15124
  },
15125
15125
  _doFinalize: function() {
15126
15126
  var p = this._data, y = p.words, S = this._nDataBytes * 8, _ = p.sigBytes * 8;
15127
15127
  y[_ >>> 5] |= 128 << 24 - _ % 32;
15128
15128
  var g = o.floor(S / 4294967296), w = S;
15129
15129
  y[(_ + 64 >>> 9 << 4) + 15] = (g << 8 | g >>> 24) & 16711935 | (g << 24 | g >>> 8) & 4278255360, y[(_ + 64 >>> 9 << 4) + 14] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, p.sigBytes = (y.length + 1) * 4, this._process();
15130
- for (var P = this._hash, $ = P.words, F = 0; F < 4; F++) {
15130
+ for (var A = this._hash, $ = A.words, F = 0; F < 4; F++) {
15131
15131
  var Y = $[F];
15132
15132
  $[F] = (Y << 8 | Y >>> 24) & 16711935 | (Y << 24 | Y >>> 8) & 4278255360;
15133
15133
  }
15134
- return P;
15134
+ return A;
15135
15135
  },
15136
15136
  clone: function() {
15137
15137
  var p = a.clone.call(this);
15138
15138
  return p._hash = this._hash.clone(), p;
15139
15139
  }
15140
15140
  });
15141
- function d(p, y, S, _, g, w, P) {
15142
- var $ = p + (y & S | ~y & _) + g + P;
15141
+ function d(p, y, S, _, g, w, A) {
15142
+ var $ = p + (y & S | ~y & _) + g + A;
15143
15143
  return ($ << w | $ >>> 32 - w) + y;
15144
15144
  }
15145
- function f(p, y, S, _, g, w, P) {
15146
- var $ = p + (y & _ | S & ~_) + g + P;
15145
+ function f(p, y, S, _, g, w, A) {
15146
+ var $ = p + (y & _ | S & ~_) + g + A;
15147
15147
  return ($ << w | $ >>> 32 - w) + y;
15148
15148
  }
15149
- function h(p, y, S, _, g, w, P) {
15150
- var $ = p + (y ^ S ^ _) + g + P;
15149
+ function h(p, y, S, _, g, w, A) {
15150
+ var $ = p + (y ^ S ^ _) + g + A;
15151
15151
  return ($ << w | $ >>> 32 - w) + y;
15152
15152
  }
15153
- function m(p, y, S, _, g, w, P) {
15154
- var $ = p + (S ^ (y | ~_)) + g + P;
15153
+ function m(p, y, S, _, g, w, A) {
15154
+ var $ = p + (S ^ (y | ~_)) + g + A;
15155
15155
  return ($ << w | $ >>> 32 - w) + y;
15156
15156
  }
15157
15157
  i.MD5 = a._createHelper(c), i.HmacMD5 = a._createHmacHelper(c);
@@ -15678,7 +15678,7 @@ function Lc() {
15678
15678
  toString: function(E) {
15679
15679
  return (E || this.formatter).stringify(this);
15680
15680
  }
15681
- }), w = i.format = {}, P = w.OpenSSL = {
15681
+ }), w = i.format = {}, A = w.OpenSSL = {
15682
15682
  /**
15683
15683
  * Converts a cipher params object to an OpenSSL-compatible string.
15684
15684
  *
@@ -15720,7 +15720,7 @@ function Lc() {
15720
15720
  * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
15721
15721
  */
15722
15722
  cfg: s.extend({
15723
- format: P
15723
+ format: A
15724
15724
  }),
15725
15725
  /**
15726
15726
  * Encrypts a message.
@@ -15893,21 +15893,21 @@ function P0() {
15893
15893
  (function() {
15894
15894
  for (var g = [], w = 0; w < 256; w++)
15895
15895
  w < 128 ? g[w] = w << 1 : g[w] = w << 1 ^ 283;
15896
- for (var P = 0, $ = 0, w = 0; w < 256; w++) {
15896
+ for (var A = 0, $ = 0, w = 0; w < 256; w++) {
15897
15897
  var F = $ ^ $ << 1 ^ $ << 2 ^ $ << 3 ^ $ << 4;
15898
- F = F >>> 8 ^ F & 255 ^ 99, a[P] = F, u[F] = P;
15899
- var Y = g[P], G = g[Y], E = g[G], T = g[F] * 257 ^ F * 16843008;
15900
- l[P] = T << 24 | T >>> 8, c[P] = T << 16 | T >>> 16, d[P] = T << 8 | T >>> 24, f[P] = T;
15901
- var T = E * 16843009 ^ G * 65537 ^ Y * 257 ^ P * 16843008;
15902
- h[F] = T << 24 | T >>> 8, m[F] = T << 16 | T >>> 16, p[F] = T << 8 | T >>> 24, y[F] = T, P ? (P = Y ^ g[g[g[E ^ Y]]], $ ^= g[g[$]]) : P = $ = 1;
15898
+ F = F >>> 8 ^ F & 255 ^ 99, a[A] = F, u[F] = A;
15899
+ var Y = g[A], G = g[Y], E = g[G], T = g[F] * 257 ^ F * 16843008;
15900
+ l[A] = T << 24 | T >>> 8, c[A] = T << 16 | T >>> 16, d[A] = T << 8 | T >>> 24, f[A] = T;
15901
+ var T = E * 16843009 ^ G * 65537 ^ Y * 257 ^ A * 16843008;
15902
+ h[F] = T << 24 | T >>> 8, m[F] = T << 16 | T >>> 16, p[F] = T << 8 | T >>> 24, y[F] = T, A ? (A = Y ^ g[g[g[E ^ Y]]], $ ^= g[g[$]]) : A = $ = 1;
15903
15903
  }
15904
15904
  })();
15905
15905
  var S = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = s.AES = r.extend({
15906
15906
  _doReset: function() {
15907
15907
  var g;
15908
15908
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
15909
- for (var w = this._keyPriorReset = this._key, P = w.words, $ = w.sigBytes / 4, F = this._nRounds = $ + 6, Y = (F + 1) * 4, G = this._keySchedule = [], E = 0; E < Y; E++)
15910
- E < $ ? G[E] = P[E] : (g = G[E - 1], E % $ ? $ > 6 && E % $ == 4 && (g = a[g >>> 24] << 24 | a[g >>> 16 & 255] << 16 | a[g >>> 8 & 255] << 8 | a[g & 255]) : (g = g << 8 | g >>> 24, g = a[g >>> 24] << 24 | a[g >>> 16 & 255] << 16 | a[g >>> 8 & 255] << 8 | a[g & 255], g ^= S[E / $ | 0] << 24), G[E] = G[E - $] ^ g);
15909
+ for (var w = this._keyPriorReset = this._key, A = w.words, $ = w.sigBytes / 4, F = this._nRounds = $ + 6, Y = (F + 1) * 4, G = this._keySchedule = [], E = 0; E < Y; E++)
15910
+ E < $ ? G[E] = A[E] : (g = G[E - 1], E % $ ? $ > 6 && E % $ == 4 && (g = a[g >>> 24] << 24 | a[g >>> 16 & 255] << 16 | a[g >>> 8 & 255] << 8 | a[g & 255]) : (g = g << 8 | g >>> 24, g = a[g >>> 24] << 24 | a[g >>> 16 & 255] << 16 | a[g >>> 8 & 255] << 8 | a[g & 255], g ^= S[E / $ | 0] << 24), G[E] = G[E - $] ^ g);
15911
15911
  for (var T = this._invKeySchedule = [], C = 0; C < Y; C++) {
15912
15912
  var E = Y - C;
15913
15913
  if (C % 4)
@@ -15922,17 +15922,17 @@ function P0() {
15922
15922
  this._doCryptBlock(g, w, this._keySchedule, l, c, d, f, a);
15923
15923
  },
15924
15924
  decryptBlock: function(g, w) {
15925
- var P = g[w + 1];
15926
- g[w + 1] = g[w + 3], g[w + 3] = P, this._doCryptBlock(g, w, this._invKeySchedule, h, m, p, y, u);
15927
- var P = g[w + 1];
15928
- g[w + 1] = g[w + 3], g[w + 3] = P;
15925
+ var A = g[w + 1];
15926
+ g[w + 1] = g[w + 3], g[w + 3] = A, this._doCryptBlock(g, w, this._invKeySchedule, h, m, p, y, u);
15927
+ var A = g[w + 1];
15928
+ g[w + 1] = g[w + 3], g[w + 3] = A;
15929
15929
  },
15930
- _doCryptBlock: function(g, w, P, $, F, Y, G, E) {
15931
- for (var T = this._nRounds, C = g[w] ^ P[0], H = g[w + 1] ^ P[1], b = g[w + 2] ^ P[2], N = g[w + 3] ^ P[3], v = 4, x = 1; x < T; x++) {
15932
- var D = $[C >>> 24] ^ F[H >>> 16 & 255] ^ Y[b >>> 8 & 255] ^ G[N & 255] ^ P[v++], z = $[H >>> 24] ^ F[b >>> 16 & 255] ^ Y[N >>> 8 & 255] ^ G[C & 255] ^ P[v++], R = $[b >>> 24] ^ F[N >>> 16 & 255] ^ Y[C >>> 8 & 255] ^ G[H & 255] ^ P[v++], M = $[N >>> 24] ^ F[C >>> 16 & 255] ^ Y[H >>> 8 & 255] ^ G[b & 255] ^ P[v++];
15930
+ _doCryptBlock: function(g, w, A, $, F, Y, G, E) {
15931
+ for (var T = this._nRounds, C = g[w] ^ A[0], H = g[w + 1] ^ A[1], b = g[w + 2] ^ A[2], N = g[w + 3] ^ A[3], v = 4, x = 1; x < T; x++) {
15932
+ var D = $[C >>> 24] ^ F[H >>> 16 & 255] ^ Y[b >>> 8 & 255] ^ G[N & 255] ^ A[v++], z = $[H >>> 24] ^ F[b >>> 16 & 255] ^ Y[N >>> 8 & 255] ^ G[C & 255] ^ A[v++], R = $[b >>> 24] ^ F[N >>> 16 & 255] ^ Y[C >>> 8 & 255] ^ G[H & 255] ^ A[v++], M = $[N >>> 24] ^ F[C >>> 16 & 255] ^ Y[H >>> 8 & 255] ^ G[b & 255] ^ A[v++];
15933
15933
  C = D, H = z, b = R, N = M;
15934
15934
  }
15935
- var D = (E[C >>> 24] << 24 | E[H >>> 16 & 255] << 16 | E[b >>> 8 & 255] << 8 | E[N & 255]) ^ P[v++], z = (E[H >>> 24] << 24 | E[b >>> 16 & 255] << 16 | E[N >>> 8 & 255] << 8 | E[C & 255]) ^ P[v++], R = (E[b >>> 24] << 24 | E[N >>> 16 & 255] << 16 | E[C >>> 8 & 255] << 8 | E[H & 255]) ^ P[v++], M = (E[N >>> 24] << 24 | E[C >>> 16 & 255] << 16 | E[H >>> 8 & 255] << 8 | E[b & 255]) ^ P[v++];
15935
+ var D = (E[C >>> 24] << 24 | E[H >>> 16 & 255] << 16 | E[b >>> 8 & 255] << 8 | E[N & 255]) ^ A[v++], z = (E[H >>> 24] << 24 | E[b >>> 16 & 255] << 16 | E[N >>> 8 & 255] << 8 | E[C & 255]) ^ A[v++], R = (E[b >>> 24] << 24 | E[N >>> 16 & 255] << 16 | E[C >>> 8 & 255] << 8 | E[H & 255]) ^ A[v++], M = (E[N >>> 24] << 24 | E[C >>> 16 & 255] << 16 | E[H >>> 8 & 255] << 8 | E[b & 255]) ^ A[v++];
15936
15936
  g[w] = D, g[w + 1] = z, g[w + 2] = R, g[w + 3] = M;
15937
15937
  },
15938
15938
  keySize: 256 / 32
@@ -15995,17 +15995,17 @@ function j0() {
15995
15995
  this._hash = new s.init(l.slice(0));
15996
15996
  },
15997
15997
  _doProcessBlock: function(h, m) {
15998
- for (var p = this._hash.words, y = p[0], S = p[1], _ = p[2], g = p[3], w = p[4], P = p[5], $ = p[6], F = p[7], Y = 0; Y < 64; Y++) {
15998
+ for (var p = this._hash.words, y = p[0], S = p[1], _ = p[2], g = p[3], w = p[4], A = p[5], $ = p[6], F = p[7], Y = 0; Y < 64; Y++) {
15999
15999
  if (Y < 16)
16000
16000
  d[Y] = h[m + Y] | 0;
16001
16001
  else {
16002
16002
  var G = d[Y - 15], E = (G << 25 | G >>> 7) ^ (G << 14 | G >>> 18) ^ G >>> 3, T = d[Y - 2], C = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
16003
16003
  d[Y] = E + d[Y - 7] + C + d[Y - 16];
16004
16004
  }
16005
- var H = w & P ^ ~w & $, b = y & S ^ y & _ ^ S & _, N = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), v = (w << 26 | w >>> 6) ^ (w << 21 | w >>> 11) ^ (w << 7 | w >>> 25), x = F + v + H + c[Y] + d[Y], D = N + b;
16006
- F = $, $ = P, P = w, w = g + x | 0, g = _, _ = S, S = y, y = x + D | 0;
16005
+ var H = w & A ^ ~w & $, b = y & S ^ y & _ ^ S & _, N = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), v = (w << 26 | w >>> 6) ^ (w << 21 | w >>> 11) ^ (w << 7 | w >>> 25), x = F + v + H + c[Y] + d[Y], D = N + b;
16006
+ F = $, $ = A, A = w, w = g + x | 0, g = _, _ = S, S = y, y = x + D | 0;
16007
16007
  }
16008
- p[0] = p[0] + y | 0, p[1] = p[1] + S | 0, p[2] = p[2] + _ | 0, p[3] = p[3] + g | 0, p[4] = p[4] + w | 0, p[5] = p[5] + P | 0, p[6] = p[6] + $ | 0, p[7] = p[7] + F | 0;
16008
+ p[0] = p[0] + y | 0, p[1] = p[1] + S | 0, p[2] = p[2] + _ | 0, p[3] = p[3] + g | 0, p[4] = p[4] + w | 0, p[5] = p[5] + A | 0, p[6] = p[6] + $ | 0, p[7] = p[7] + F | 0;
16009
16009
  },
16010
16010
  _doFinalize: function() {
16011
16011
  var h = this._data, m = h.words, p = this._nDataBytes * 8, y = h.sigBytes * 8;
@@ -16363,7 +16363,7 @@ function X0() {
16363
16363
  ]);
16364
16364
  },
16365
16365
  _doProcessBlock: function(m, p) {
16366
- for (var y = this._hash.words, S = y[0], _ = y[1], g = y[2], w = y[3], P = y[4], $ = y[5], F = y[6], Y = y[7], G = S.high, E = S.low, T = _.high, C = _.low, H = g.high, b = g.low, N = w.high, v = w.low, x = P.high, D = P.low, z = $.high, R = $.low, M = F.high, O = F.low, L = Y.high, V = Y.low, K = G, Q = E, X = T, te = C, se = H, re = b, pe = N, ie = v, le = x, A = D, I = z, B = R, U = M, k = O, W = L, j = V, q = 0; q < 80; q++) {
16366
+ for (var y = this._hash.words, S = y[0], _ = y[1], g = y[2], w = y[3], A = y[4], $ = y[5], F = y[6], Y = y[7], G = S.high, E = S.low, T = _.high, C = _.low, H = g.high, b = g.low, N = w.high, v = w.low, x = A.high, D = A.low, z = $.high, R = $.low, M = F.high, O = F.low, L = Y.high, V = Y.low, K = G, Q = E, X = T, te = C, se = H, ie = b, ge = N, re = v, ae = x, P = D, I = z, B = R, U = M, k = O, W = L, j = V, q = 0; q < 80; q++) {
16367
16367
  var oe, ne, ye = f[q];
16368
16368
  if (q < 16)
16369
16369
  ne = ye.high = m[p + q * 2] | 0, oe = ye.low = m[p + q * 2 + 1] | 0;
@@ -16371,10 +16371,10 @@ function X0() {
16371
16371
  var _e = f[q - 15], Ye = _e.high, Ue = _e.low, vt = (Ye >>> 1 | Ue << 31) ^ (Ye >>> 8 | Ue << 24) ^ Ye >>> 7, He = (Ue >>> 1 | Ye << 31) ^ (Ue >>> 8 | Ye << 24) ^ (Ue >>> 7 | Ye << 25), Bt = f[q - 2], Lt = Bt.high, Ft = Bt.low, Zi = (Lt >>> 19 | Ft << 13) ^ (Lt << 3 | Ft >>> 29) ^ Lt >>> 6, ws = (Ft >>> 19 | Lt << 13) ^ (Ft << 3 | Lt >>> 29) ^ (Ft >>> 6 | Lt << 26), xs = f[q - 7], ru = xs.high, su = xs.low, Cs = f[q - 16], au = Cs.high, Es = Cs.low;
16372
16372
  oe = He + su, ne = vt + ru + (oe >>> 0 < He >>> 0 ? 1 : 0), oe = oe + ws, ne = ne + Zi + (oe >>> 0 < ws >>> 0 ? 1 : 0), oe = oe + Es, ne = ne + au + (oe >>> 0 < Es >>> 0 ? 1 : 0), ye.high = ne, ye.low = oe;
16373
16373
  }
16374
- var lu = le & I ^ ~le & U, Ss = A & B ^ ~A & k, cu = K & X ^ K & se ^ X & se, uu = Q & te ^ Q & re ^ te & re, du = (K >>> 28 | Q << 4) ^ (K << 30 | Q >>> 2) ^ (K << 25 | Q >>> 7), Ds = (Q >>> 28 | K << 4) ^ (Q << 30 | K >>> 2) ^ (Q << 25 | K >>> 7), fu = (le >>> 14 | A << 18) ^ (le >>> 18 | A << 14) ^ (le << 23 | A >>> 9), hu = (A >>> 14 | le << 18) ^ (A >>> 18 | le << 14) ^ (A << 23 | le >>> 9), Ns = d[q], gu = Ns.high, Ts = Ns.low, ct = j + hu, Qt = W + fu + (ct >>> 0 < j >>> 0 ? 1 : 0), ct = ct + Ss, Qt = Qt + lu + (ct >>> 0 < Ss >>> 0 ? 1 : 0), ct = ct + Ts, Qt = Qt + gu + (ct >>> 0 < Ts >>> 0 ? 1 : 0), ct = ct + oe, Qt = Qt + ne + (ct >>> 0 < oe >>> 0 ? 1 : 0), ks = Ds + uu, pu = du + cu + (ks >>> 0 < Ds >>> 0 ? 1 : 0);
16375
- W = U, j = k, U = I, k = B, I = le, B = A, A = ie + ct | 0, le = pe + Qt + (A >>> 0 < ie >>> 0 ? 1 : 0) | 0, pe = se, ie = re, se = X, re = te, X = K, te = Q, Q = ct + ks | 0, K = Qt + pu + (Q >>> 0 < ct >>> 0 ? 1 : 0) | 0;
16374
+ var lu = ae & I ^ ~ae & U, Ss = P & B ^ ~P & k, cu = K & X ^ K & se ^ X & se, uu = Q & te ^ Q & ie ^ te & ie, du = (K >>> 28 | Q << 4) ^ (K << 30 | Q >>> 2) ^ (K << 25 | Q >>> 7), Ds = (Q >>> 28 | K << 4) ^ (Q << 30 | K >>> 2) ^ (Q << 25 | K >>> 7), fu = (ae >>> 14 | P << 18) ^ (ae >>> 18 | P << 14) ^ (ae << 23 | P >>> 9), hu = (P >>> 14 | ae << 18) ^ (P >>> 18 | ae << 14) ^ (P << 23 | ae >>> 9), Ns = d[q], gu = Ns.high, Ts = Ns.low, ct = j + hu, Qt = W + fu + (ct >>> 0 < j >>> 0 ? 1 : 0), ct = ct + Ss, Qt = Qt + lu + (ct >>> 0 < Ss >>> 0 ? 1 : 0), ct = ct + Ts, Qt = Qt + gu + (ct >>> 0 < Ts >>> 0 ? 1 : 0), ct = ct + oe, Qt = Qt + ne + (ct >>> 0 < oe >>> 0 ? 1 : 0), ks = Ds + uu, pu = du + cu + (ks >>> 0 < Ds >>> 0 ? 1 : 0);
16375
+ W = U, j = k, U = I, k = B, I = ae, B = P, P = re + ct | 0, ae = ge + Qt + (P >>> 0 < re >>> 0 ? 1 : 0) | 0, ge = se, re = ie, se = X, ie = te, X = K, te = Q, Q = ct + ks | 0, K = Qt + pu + (Q >>> 0 < ct >>> 0 ? 1 : 0) | 0;
16376
16376
  }
16377
- E = S.low = E + Q, S.high = G + K + (E >>> 0 < Q >>> 0 ? 1 : 0), C = _.low = C + te, _.high = T + X + (C >>> 0 < te >>> 0 ? 1 : 0), b = g.low = b + re, g.high = H + se + (b >>> 0 < re >>> 0 ? 1 : 0), v = w.low = v + ie, w.high = N + pe + (v >>> 0 < ie >>> 0 ? 1 : 0), D = P.low = D + A, P.high = x + le + (D >>> 0 < A >>> 0 ? 1 : 0), R = $.low = R + B, $.high = z + I + (R >>> 0 < B >>> 0 ? 1 : 0), O = F.low = O + k, F.high = M + U + (O >>> 0 < k >>> 0 ? 1 : 0), V = Y.low = V + j, Y.high = L + W + (V >>> 0 < j >>> 0 ? 1 : 0);
16377
+ E = S.low = E + Q, S.high = G + K + (E >>> 0 < Q >>> 0 ? 1 : 0), C = _.low = C + te, _.high = T + X + (C >>> 0 < te >>> 0 ? 1 : 0), b = g.low = b + ie, g.high = H + se + (b >>> 0 < ie >>> 0 ? 1 : 0), v = w.low = v + re, w.high = N + ge + (v >>> 0 < re >>> 0 ? 1 : 0), D = A.low = D + P, A.high = x + ae + (D >>> 0 < P >>> 0 ? 1 : 0), R = $.low = R + B, $.high = z + I + (R >>> 0 < B >>> 0 ? 1 : 0), O = F.low = O + k, F.high = M + U + (O >>> 0 < k >>> 0 ? 1 : 0), V = Y.low = V + j, Y.high = L + W + (V >>> 0 < j >>> 0 ? 1 : 0);
16378
16378
  },
16379
16379
  _doFinalize: function() {
16380
16380
  var m = this._data, p = m.words, y = this._nDataBytes * 8, S = m.sigBytes * 8;
@@ -16599,7 +16599,7 @@ function Qa(t, e, n) {
16599
16599
  }
16600
16600
  function Ln(t, e, n, o) {
16601
16601
  for (var i = 0, r = 0, s = t.children; r < s.length; ) {
16602
- if (s[r].style.display !== "none" && s[r] !== Ce.ghost && (o || s[r] !== Ce.dragged) && Ct(s[r], n.draggable, t, !1)) {
16602
+ if (s[r].style.display !== "none" && s[r] !== xe.ghost && (o || s[r] !== xe.dragged) && Ct(s[r], n.draggable, t, !1)) {
16603
16603
  if (i === e)
16604
16604
  return s[r];
16605
16605
  i++;
@@ -16609,7 +16609,7 @@ function Ln(t, e, n, o) {
16609
16609
  return null;
16610
16610
  }
16611
16611
  function vs(t, e) {
16612
- for (var n = t.lastElementChild; n && (n === Ce.ghost || we(n, "display") === "none" || e && !Ai(n, e)); )
16612
+ for (var n = t.lastElementChild; n && (n === xe.ghost || we(n, "display") === "none" || e && !Ai(n, e)); )
16613
16613
  n = n.previousElementSibling;
16614
16614
  return n || null;
16615
16615
  }
@@ -16618,7 +16618,7 @@ function yt(t, e) {
16618
16618
  if (!t || !t.parentNode)
16619
16619
  return -1;
16620
16620
  for (; t = t.previousElementSibling; )
16621
- t.nodeName.toUpperCase() !== "TEMPLATE" && t !== Ce.clone && (!e || Ai(t, e)) && n++;
16621
+ t.nodeName.toUpperCase() !== "TEMPLATE" && t !== xe.clone && (!e || Ai(t, e)) && n++;
16622
16622
  return n;
16623
16623
  }
16624
16624
  function el(t) {
@@ -16701,7 +16701,7 @@ function ib() {
16701
16701
  if (t = [], !!this.options.animation) {
16702
16702
  var o = [].slice.call(this.el.children);
16703
16703
  o.forEach(function(i) {
16704
- if (!(we(i, "display") === "none" || i === Ce.ghost)) {
16704
+ if (!(we(i, "display") === "none" || i === xe.ghost)) {
16705
16705
  t.push({
16706
16706
  target: i,
16707
16707
  rect: Ke(i)
@@ -16826,7 +16826,7 @@ function ab(t) {
16826
16826
  }
16827
16827
  var lb = ["evt"], rt = function(e, n) {
16828
16828
  var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = K0(o, lb);
16829
- No.pluginEvent.bind(Ce)(e, n, Rt({
16829
+ No.pluginEvent.bind(xe)(e, n, Rt({
16830
16830
  dragEl: ce,
16831
16831
  parentEl: Ve,
16832
16832
  ghostEl: Se,
@@ -16837,7 +16837,7 @@ var lb = ["evt"], rt = function(e, n) {
16837
16837
  cloneHidden: rn,
16838
16838
  dragStarted: qn,
16839
16839
  putSortable: et,
16840
- activeSortable: Ce.active,
16840
+ activeSortable: xe.active,
16841
16841
  originalEvent: i,
16842
16842
  oldIndex: Nn,
16843
16843
  oldDraggableIndex: io,
@@ -16946,7 +16946,7 @@ var cn = function(e) {
16946
16946
  }, fb = function(e) {
16947
16947
  ce && ce.parentNode[st]._isOutsideThisEl(e.target);
16948
16948
  };
16949
- function Ce(t, e) {
16949
+ function xe(t, e) {
16950
16950
  if (!(t && t.nodeType && t.nodeType === 1))
16951
16951
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
16952
16952
  this.el = t, this.options = e = Zt({}, e), t[st] = this;
@@ -16993,7 +16993,7 @@ function Ce(t, e) {
16993
16993
  y: 0
16994
16994
  },
16995
16995
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
16996
- supportPointer: Ce.supportPointer !== !1 && "PointerEvent" in window && (!no || ms),
16996
+ supportPointer: xe.supportPointer !== !1 && "PointerEvent" in window && (!no || ms),
16997
16997
  emptyInsertThreshold: 5
16998
16998
  };
16999
16999
  No.initializePlugins(this, t, n);
@@ -17004,9 +17004,9 @@ function Ce(t, e) {
17004
17004
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
17005
17005
  this.nativeDraggable = e.forceFallback ? !1 : cb, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? Me(t, "pointerdown", this._onTapStart) : (Me(t, "mousedown", this._onTapStart), Me(t, "touchstart", this._onTapStart)), this.nativeDraggable && (Me(t, "dragover", this), Me(t, "dragenter", this)), Oi.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), Zt(this, ib());
17006
17006
  }
17007
- Ce.prototype = /** @lends Sortable.prototype */
17007
+ xe.prototype = /** @lends Sortable.prototype */
17008
17008
  {
17009
- constructor: Ce,
17009
+ constructor: xe,
17010
17010
  _isOutsideThisEl: function(e) {
17011
17011
  !this.el.contains(e) && e !== this.el && (Cn = null);
17012
17012
  },
@@ -17055,14 +17055,14 @@ Ce.prototype = /** @lends Sortable.prototype */
17055
17055
  var i = this, r = i.el, s = i.options, a = r.ownerDocument, u;
17056
17056
  if (o && !ce && o.parentNode === r) {
17057
17057
  var l = Ke(o);
17058
- if (Le = r, ce = o, Ve = ce.parentNode, un = ce.nextSibling, hi = o, Ho = s.group, Ce.dragged = ce, ln = {
17058
+ if (Le = r, ce = o, Ve = ce.parentNode, un = ce.nextSibling, hi = o, Ho = s.group, xe.dragged = ce, ln = {
17059
17059
  target: ce,
17060
17060
  clientX: (n || e).clientX,
17061
17061
  clientY: (n || e).clientY
17062
17062
  }, tl = ln.clientX - l.left, nl = ln.clientY - l.top, this._lastX = (n || e).clientX, this._lastY = (n || e).clientY, ce.style["will-change"] = "all", u = function() {
17063
17063
  if (rt("delayEnded", i, {
17064
17064
  evt: e
17065
- }), Ce.eventCanceled) {
17065
+ }), xe.eventCanceled) {
17066
17066
  i._onDrop();
17067
17067
  return;
17068
17068
  }
@@ -17076,7 +17076,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17076
17076
  }), Me(a, "dragover", cn), Me(a, "mousemove", cn), Me(a, "touchmove", cn), s.supportPointer ? (Me(a, "pointerup", i._onDrop), !this.nativeDraggable && Me(a, "pointercancel", i._onDrop)) : (Me(a, "mouseup", i._onDrop), Me(a, "touchend", i._onDrop), Me(a, "touchcancel", i._onDrop)), Za && this.nativeDraggable && (this.options.touchStartThreshold = 4, ce.draggable = !0), rt("delayStart", this, {
17077
17077
  evt: e
17078
17078
  }), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Do || Jt))) {
17079
- if (Ce.eventCanceled) {
17079
+ if (xe.eventCanceled) {
17080
17080
  this._onDrop();
17081
17081
  return;
17082
17082
  }
@@ -17111,7 +17111,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17111
17111
  evt: n
17112
17112
  }), this.nativeDraggable && Me(document, "dragover", fb);
17113
17113
  var o = this.options;
17114
- !e && dt(ce, o.dragClass, !1), dt(ce, o.ghostClass, !0), Ce.active = this, e && this._appendGhost(), ot({
17114
+ !e && dt(ce, o.dragClass, !1), dt(ce, o.ghostClass, !0), xe.active = this, e && this._appendGhost(), ot({
17115
17115
  sortable: this,
17116
17116
  name: "start",
17117
17117
  originalEvent: n
@@ -17144,7 +17144,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17144
17144
  _onTouchMove: function(e) {
17145
17145
  if (ln) {
17146
17146
  var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = e.touches ? e.touches[0] : e, s = Se && Mn(Se, !0), a = Se && s && s.a, u = Se && s && s.d, l = Lo && tt && el(tt), c = (r.clientX - ln.clientX + i.x) / (a || 1) + (l ? l[0] - vr[0] : 0) / (a || 1), d = (r.clientY - ln.clientY + i.y) / (u || 1) + (l ? l[1] - vr[1] : 0) / (u || 1);
17147
- if (!Ce.active && !Dn) {
17147
+ if (!xe.active && !Dn) {
17148
17148
  if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
17149
17149
  return;
17150
17150
  this._onDragStart(e, !0);
@@ -17172,19 +17172,19 @@ Ce.prototype = /** @lends Sortable.prototype */
17172
17172
  tt = tt.parentNode;
17173
17173
  tt !== document.body && tt !== document.documentElement ? (tt === document && (tt = Ot()), n.top += tt.scrollTop, n.left += tt.scrollLeft) : tt = Ot(), vr = el(tt);
17174
17174
  }
17175
- Se = ce.cloneNode(!0), dt(Se, o.ghostClass, !1), dt(Se, o.fallbackClass, !0), dt(Se, o.dragClass, !0), we(Se, "transition", ""), we(Se, "transform", ""), we(Se, "box-sizing", "border-box"), we(Se, "margin", 0), we(Se, "top", n.top), we(Se, "left", n.left), we(Se, "width", n.width), we(Se, "height", n.height), we(Se, "opacity", "0.8"), we(Se, "position", Lo ? "absolute" : "fixed"), we(Se, "zIndex", "100000"), we(Se, "pointerEvents", "none"), Ce.ghost = Se, e.appendChild(Se), we(Se, "transform-origin", tl / parseInt(Se.style.width) * 100 + "% " + nl / parseInt(Se.style.height) * 100 + "%");
17175
+ Se = ce.cloneNode(!0), dt(Se, o.ghostClass, !1), dt(Se, o.fallbackClass, !0), dt(Se, o.dragClass, !0), we(Se, "transition", ""), we(Se, "transform", ""), we(Se, "box-sizing", "border-box"), we(Se, "margin", 0), we(Se, "top", n.top), we(Se, "left", n.left), we(Se, "width", n.width), we(Se, "height", n.height), we(Se, "opacity", "0.8"), we(Se, "position", Lo ? "absolute" : "fixed"), we(Se, "zIndex", "100000"), we(Se, "pointerEvents", "none"), xe.ghost = Se, e.appendChild(Se), we(Se, "transform-origin", tl / parseInt(Se.style.width) * 100 + "% " + nl / parseInt(Se.style.height) * 100 + "%");
17176
17176
  }
17177
17177
  },
17178
17178
  _onDragStart: function(e, n) {
17179
17179
  var o = this, i = e.dataTransfer, r = o.options;
17180
17180
  if (rt("dragStart", this, {
17181
17181
  evt: e
17182
- }), Ce.eventCanceled) {
17182
+ }), xe.eventCanceled) {
17183
17183
  this._onDrop();
17184
17184
  return;
17185
17185
  }
17186
- rt("setupClone", this), Ce.eventCanceled || (Fe = Uc(ce), Fe.removeAttribute("id"), Fe.draggable = !1, Fe.style["will-change"] = "", this._hideClone(), dt(Fe, this.options.chosenClass, !1), Ce.clone = Fe), o.cloneId = pi(function() {
17187
- rt("clone", o), !Ce.eventCanceled && (o.options.removeCloneOnHide || Le.insertBefore(Fe, ce), o._hideClone(), ot({
17186
+ rt("setupClone", this), xe.eventCanceled || (Fe = Uc(ce), Fe.removeAttribute("id"), Fe.draggable = !1, Fe.style["will-change"] = "", this._hideClone(), dt(Fe, this.options.chosenClass, !1), xe.clone = Fe), o.cloneId = pi(function() {
17187
+ rt("clone", o), !xe.eventCanceled && (o.options.removeCloneOnHide || Le.insertBefore(Fe, ce), o._hideClone(), ot({
17188
17188
  sortable: o,
17189
17189
  name: "clone"
17190
17190
  }));
@@ -17192,7 +17192,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17192
17192
  },
17193
17193
  // Returns true - if no further action is needed (either inserted or another condition)
17194
17194
  _onDragOver: function(e) {
17195
- var n = this.el, o = e.target, i, r, s, a = this.options, u = a.group, l = Ce.active, c = Ho === u, d = a.sort, f = et || l, h, m = this, p = !1;
17195
+ var n = this.el, o = e.target, i, r, s, a = this.options, u = a.group, l = xe.active, c = Ho === u, d = a.sort, f = et || l, h, m = this, p = !1;
17196
17196
  if (jr) return;
17197
17197
  function y(D, z) {
17198
17198
  rt(D, m, Rt({
@@ -17218,7 +17218,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17218
17218
  function _(D) {
17219
17219
  return y("dragOverCompleted", {
17220
17220
  insertion: D
17221
- }), D && (c ? l._hideClone() : l._showClone(m), m !== f && (dt(ce, et ? et.options.ghostClass : l.options.ghostClass, !1), dt(ce, a.ghostClass, !0)), et !== m && m !== Ce.active ? et = m : m === Ce.active && et && (et = null), f === m && (m._ignoreWhileAnimating = o), m.animateAll(function() {
17221
+ }), D && (c ? l._hideClone() : l._showClone(m), m !== f && (dt(ce, et ? et.options.ghostClass : l.options.ghostClass, !1), dt(ce, a.ghostClass, !0)), et !== m && m !== xe.active ? et = m : m === xe.active && et && (et = null), f === m && (m._ignoreWhileAnimating = o), m.animateAll(function() {
17222
17222
  y("dragOverAnimationComplete"), m._ignoreWhileAnimating = null;
17223
17223
  }), m !== f && (f.animateAll(), f._ignoreWhileAnimating = null)), (o === ce && !ce.animated || o === n && !o.animated) && (Cn = null), !a.dragoverBubble && !e.rootEl && o !== document && (ce.parentNode[st]._isOutsideThisEl(e.target), !D && cn(e)), !a.dragoverBubble && e.stopPropagation && e.stopPropagation(), p = !0;
17224
17224
  }
@@ -17232,13 +17232,13 @@ Ce.prototype = /** @lends Sortable.prototype */
17232
17232
  originalEvent: e
17233
17233
  });
17234
17234
  }
17235
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = Ct(o, a.draggable, n, !0), y("dragOver"), Ce.eventCanceled) return p;
17235
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = Ct(o, a.draggable, n, !0), y("dragOver"), xe.eventCanceled) return p;
17236
17236
  if (ce.contains(e.target) || o.animated && o.animatingX && o.animatingY || m._ignoreWhileAnimating === o)
17237
17237
  return _(!1);
17238
17238
  if (Pi = !1, l && !a.disabled && (c ? d || (s = Ve !== Le) : et === this || (this.lastPutMode = Ho.checkPull(this, l, ce, e)) && u.checkPut(this, l, ce, e))) {
17239
- if (h = this._getDirection(e, o) === "vertical", i = Ke(ce), y("dragOverValid"), Ce.eventCanceled) return p;
17239
+ if (h = this._getDirection(e, o) === "vertical", i = Ke(ce), y("dragOverValid"), xe.eventCanceled) return p;
17240
17240
  if (s)
17241
- return Ve = Le, S(), this._hideClone(), y("revert"), Ce.eventCanceled || (un ? Le.insertBefore(ce, un) : Le.appendChild(ce)), _(!0);
17241
+ return Ve = Le, S(), this._hideClone(), y("revert"), xe.eventCanceled || (un ? Le.insertBefore(ce, un) : Le.appendChild(ce)), _(!0);
17242
17242
  var w = vs(n, a.draggable);
17243
17243
  if (!w || mb(e, h, this) && !w.animated) {
17244
17244
  if (w === ce)
@@ -17246,11 +17246,11 @@ Ce.prototype = /** @lends Sortable.prototype */
17246
17246
  if (w && n === e.target && (o = w), o && (r = Ke(o)), Fo(Le, n, ce, i, o, r, e, !!o) !== !1)
17247
17247
  return S(), w && w.nextSibling ? n.insertBefore(ce, w.nextSibling) : n.appendChild(ce), Ve = n, g(), _(!0);
17248
17248
  } else if (w && pb(e, h, this)) {
17249
- var P = Ln(n, 0, a, !0);
17250
- if (P === ce)
17249
+ var A = Ln(n, 0, a, !0);
17250
+ if (A === ce)
17251
17251
  return _(!1);
17252
- if (o = P, r = Ke(o), Fo(Le, n, ce, i, o, r, e, !1) !== !1)
17253
- return S(), n.insertBefore(ce, P), Ve = n, g(), _(!0);
17252
+ if (o = A, r = Ke(o), Fo(Le, n, ce, i, o, r, e, !1) !== !1)
17253
+ return S(), n.insertBefore(ce, A), Ve = n, g(), _(!0);
17254
17254
  } else if (o.parentNode === n) {
17255
17255
  r = Ke(o);
17256
17256
  var $ = 0, F, Y = ce.parentNode !== n, G = !ub(ce.animated && ce.toRect || i, o.animated && o.toRect || r, h), E = h ? "top" : "left", T = Qa(o, "top", "top") || Qa(ce, "top", "top"), C = T ? T.scrollTop : void 0;
@@ -17288,7 +17288,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17288
17288
  var n = this.el, o = this.options;
17289
17289
  if (ft = yt(ce), on = yt(ce, o.draggable), rt("drop", this, {
17290
17290
  evt: e
17291
- }), Ve = ce && ce.parentNode, ft = yt(ce), on = yt(ce, o.draggable), Ce.eventCanceled) {
17291
+ }), Ve = ce && ce.parentNode, ft = yt(ce), on = yt(ce, o.draggable), xe.eventCanceled) {
17292
17292
  this._nulling();
17293
17293
  return;
17294
17294
  }
@@ -17331,7 +17331,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17331
17331
  name: "sort",
17332
17332
  toEl: Ve,
17333
17333
  originalEvent: e
17334
- })), Ce.active && ((ft == null || ft === -1) && (ft = Nn, on = io), ot({
17334
+ })), xe.active && ((ft == null || ft === -1) && (ft = Nn, on = io), ot({
17335
17335
  sortable: this,
17336
17336
  name: "end",
17337
17337
  toEl: Ve,
@@ -17339,7 +17339,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17339
17339
  }), this.save()))), this._nulling();
17340
17340
  },
17341
17341
  _nulling: function() {
17342
- rt("nulling", this), Le = ce = Ve = Se = un = Fe = hi = rn = ln = xt = qn = ft = on = Nn = io = Cn = ro = et = Ho = Ce.dragged = Ce.ghost = Ce.clone = Ce.active = null;
17342
+ rt("nulling", this), Le = ce = Ve = Se = un = Fe = hi = rn = ln = xt = qn = ft = on = Nn = io = Cn = ro = et = Ho = xe.dragged = xe.ghost = xe.clone = xe.active = null;
17343
17343
  var e = this.el;
17344
17344
  zi.forEach(function(n) {
17345
17345
  e.contains(n) && (n.checked = !0);
@@ -17423,7 +17423,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17423
17423
  },
17424
17424
  _hideClone: function() {
17425
17425
  if (!rn) {
17426
- if (rt("hideClone", this), Ce.eventCanceled) return;
17426
+ if (rt("hideClone", this), xe.eventCanceled) return;
17427
17427
  we(Fe, "display", "none"), this.options.removeCloneOnHide && Fe.parentNode && Fe.parentNode.removeChild(Fe), rn = !0;
17428
17428
  }
17429
17429
  },
@@ -17433,7 +17433,7 @@ Ce.prototype = /** @lends Sortable.prototype */
17433
17433
  return;
17434
17434
  }
17435
17435
  if (rn) {
17436
- if (rt("showClone", this), Ce.eventCanceled) return;
17436
+ if (rt("showClone", this), xe.eventCanceled) return;
17437
17437
  ce.parentNode == Le && !this.options.group.revertClone ? Le.insertBefore(Fe, ce) : un ? Le.insertBefore(Fe, un) : Le.appendChild(Fe), this.options.group.revertClone && this.animate(ce, Fe), we(Fe, "display", ""), rn = !1;
17438
17438
  }
17439
17439
  }
@@ -17497,9 +17497,9 @@ function Wr(t) {
17497
17497
  return clearTimeout(t);
17498
17498
  }
17499
17499
  Ki && Me(document, "touchmove", function(t) {
17500
- (Ce.active || Dn) && t.cancelable && t.preventDefault();
17500
+ (xe.active || Dn) && t.cancelable && t.preventDefault();
17501
17501
  });
17502
- Ce.utils = {
17502
+ xe.utils = {
17503
17503
  on: Me,
17504
17504
  off: ke,
17505
17505
  css: we,
@@ -17519,22 +17519,22 @@ Ce.utils = {
17519
17519
  getChild: Ln,
17520
17520
  expando: st
17521
17521
  };
17522
- Ce.get = function(t) {
17522
+ xe.get = function(t) {
17523
17523
  return t[st];
17524
17524
  };
17525
- Ce.mount = function() {
17525
+ xe.mount = function() {
17526
17526
  for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
17527
17527
  e[n] = arguments[n];
17528
17528
  e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
17529
17529
  if (!o.prototype || !o.prototype.constructor)
17530
17530
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
17531
- o.utils && (Ce.utils = Rt(Rt({}, Ce.utils), o.utils)), No.mount(o);
17531
+ o.utils && (xe.utils = Rt(Rt({}, xe.utils), o.utils)), No.mount(o);
17532
17532
  });
17533
17533
  };
17534
- Ce.create = function(t, e) {
17535
- return new Ce(t, e);
17534
+ xe.create = function(t, e) {
17535
+ return new xe(t, e);
17536
17536
  };
17537
- Ce.version = eb;
17537
+ xe.version = eb;
17538
17538
  var Xe = [], Kn, Yr, Ur = !1, br, _r, Ri, Zn;
17539
17539
  function wb() {
17540
17540
  function t() {
@@ -17602,16 +17602,16 @@ var wr = Wc(function(t, e, n, o) {
17602
17602
  Yr !== n && (Yr = n, mi(), Kn = e.scroll, c = e.scrollFn, Kn === !0 && (Kn = sn(n, !0)));
17603
17603
  var d = 0, f = Kn;
17604
17604
  do {
17605
- var h = f, m = Ke(h), p = m.top, y = m.bottom, S = m.left, _ = m.right, g = m.width, w = m.height, P = void 0, $ = void 0, F = h.scrollWidth, Y = h.scrollHeight, G = we(h), E = h.scrollLeft, T = h.scrollTop;
17606
- h === u ? (P = g < F && (G.overflowX === "auto" || G.overflowX === "scroll" || G.overflowX === "visible"), $ = w < Y && (G.overflowY === "auto" || G.overflowY === "scroll" || G.overflowY === "visible")) : (P = g < F && (G.overflowX === "auto" || G.overflowX === "scroll"), $ = w < Y && (G.overflowY === "auto" || G.overflowY === "scroll"));
17607
- var C = P && (Math.abs(_ - i) <= s && E + g < F) - (Math.abs(S - i) <= s && !!E), H = $ && (Math.abs(y - r) <= s && T + w < Y) - (Math.abs(p - r) <= s && !!T);
17605
+ var h = f, m = Ke(h), p = m.top, y = m.bottom, S = m.left, _ = m.right, g = m.width, w = m.height, A = void 0, $ = void 0, F = h.scrollWidth, Y = h.scrollHeight, G = we(h), E = h.scrollLeft, T = h.scrollTop;
17606
+ h === u ? (A = g < F && (G.overflowX === "auto" || G.overflowX === "scroll" || G.overflowX === "visible"), $ = w < Y && (G.overflowY === "auto" || G.overflowY === "scroll" || G.overflowY === "visible")) : (A = g < F && (G.overflowX === "auto" || G.overflowX === "scroll"), $ = w < Y && (G.overflowY === "auto" || G.overflowY === "scroll"));
17607
+ var C = A && (Math.abs(_ - i) <= s && E + g < F) - (Math.abs(S - i) <= s && !!E), H = $ && (Math.abs(y - r) <= s && T + w < Y) - (Math.abs(p - r) <= s && !!T);
17608
17608
  if (!Xe[d])
17609
17609
  for (var b = 0; b <= d; b++)
17610
17610
  Xe[b] || (Xe[b] = {});
17611
17611
  (Xe[d].vx != C || Xe[d].vy != H || Xe[d].el !== h) && (Xe[d].el = h, Xe[d].vx = C, Xe[d].vy = H, clearInterval(Xe[d].pid), (C != 0 || H != 0) && (l = !0, Xe[d].pid = setInterval((function() {
17612
- o && this.layer === 0 && Ce.active._onTouchMove(Ri);
17612
+ o && this.layer === 0 && xe.active._onTouchMove(Ri);
17613
17613
  var N = Xe[this.layer].vy ? Xe[this.layer].vy * a : 0, v = Xe[this.layer].vx ? Xe[this.layer].vx * a : 0;
17614
- typeof c == "function" && c.call(Ce.dragged.parentNode[st], v, N, t, Ri, Xe[this.layer].el) !== "continue" || Yc(Xe[this.layer].el, v, N);
17614
+ typeof c == "function" && c.call(xe.dragged.parentNode[st], v, N, t, Ri, Xe[this.layer].el) !== "continue" || Yc(Xe[this.layer].el, v, N);
17615
17615
  }).bind({
17616
17616
  layer: d
17617
17617
  }), 24))), d++;
@@ -17661,10 +17661,10 @@ bs.prototype = {
17661
17661
  Zt(bs, {
17662
17662
  pluginName: "removeOnSpill"
17663
17663
  });
17664
- Ce.mount(new wb());
17665
- Ce.mount(bs, ys);
17664
+ xe.mount(new wb());
17665
+ xe.mount(bs, ys);
17666
17666
  const tu = (t, e, n, o, i, r, s, a) => {
17667
- const u = de(), l = $n({}), c = he(() => {
17667
+ const u = de(), l = $n({}), c = fe(() => {
17668
17668
  const v = [];
17669
17669
  return Object.keys(l).forEach((x) => {
17670
17670
  const D = l[x];
@@ -17719,7 +17719,7 @@ const tu = (t, e, n, o, i, r, s, a) => {
17719
17719
  return !1;
17720
17720
  }, w = ({ name: v, type: x, dragType: D, isInput: z, componentName: R, runtimeType: M }, O, L, V, K = !1) => {
17721
17721
  const Q = _(x);
17722
- if (Q.id = An(), Q.span = 24, Q.componentType = x, P(O, Q.componentType))
17722
+ if (Q.id = An(), Q.span = 24, Q.componentType = x, A(O, Q.componentType))
17723
17723
  return;
17724
17724
  g(O, V, Q, !0);
17725
17725
  const X = {
@@ -17737,7 +17737,7 @@ const tu = (t, e, n, o, i, r, s, a) => {
17737
17737
  groupId: V
17738
17738
  };
17739
17739
  return X.dragType === "container" && (X.children = []), l[X.id] = X, p(O).children?.splice(L, 0, X), X;
17740
- }, P = (v, x) => !!(p(v).config.componentType === "gridtable" && [
17740
+ }, A = (v, x) => !!(p(v).config.componentType === "gridtable" && [
17741
17741
  // 'gridtable',
17742
17742
  "divider",
17743
17743
  "label",
@@ -17862,7 +17862,7 @@ const tu = (t, e, n, o, i, r, s, a) => {
17862
17862
  }
17863
17863
  },
17864
17864
  setup(t, { expose: e }) {
17865
- const n = t, o = he(
17865
+ const n = t, o = fe(
17866
17866
  () => n.tableList.map((l) => ({
17867
17867
  label: l.comment ? `${l.name}(${l.comment})` : l.name,
17868
17868
  value: l.name
@@ -18008,7 +18008,7 @@ const Sb = Ee({
18008
18008
  }
18009
18009
  },
18010
18010
  setup(t) {
18011
- const { t: e } = _s(), n = he(() => t.componentData.config?.notShowLabel ? "0px" : t.componentData.config?.labelWidth === void 0 && t.globalConfig.labelWidth !== void 0 ? `${t.globalConfig.labelWidth}px` : t.componentData.config?.labelWidth ? `${t.componentData.config?.labelWidth}px` : void 0), o = he(() => {
18011
+ const { t: e } = _s(), n = fe(() => t.componentData.config?.notShowLabel ? "0px" : t.componentData.config?.labelWidth === void 0 && t.globalConfig.labelWidth !== void 0 ? `${t.globalConfig.labelWidth}px` : t.componentData.config?.labelWidth ? `${t.componentData.config?.labelWidth}px` : void 0), o = fe(() => {
18012
18012
  const i = { ...t.componentData?.config };
18013
18013
  return t.globalConfig.size === void 0 && (i.size = t.globalConfig.size), i.display = !0, i;
18014
18014
  });
@@ -18032,8 +18032,8 @@ function Nb(t, e, n, o, i, r) {
18032
18032
  label: t.t(t.componentData.config?.notShowLabel ? "" : t.componentData.config?.label || ""),
18033
18033
  rules: t.componentData.config?.required ? [{ required: !0, message: "" }] : []
18034
18034
  }, {
18035
- default: xe(() => [
18036
- fe(s, {
18035
+ default: Ce(() => [
18036
+ he(s, {
18037
18037
  type: t.componentData?.componentName || t.componentData?.type,
18038
18038
  config: t.inputConfig,
18039
18039
  modelValue: t.componentData?.config.defaultValue
@@ -18083,14 +18083,14 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18083
18083
  for (let k = 0; k < u; k++)
18084
18084
  a.value.push(k);
18085
18085
  n.componentInit && (s.config = n.componentInit("form") || {});
18086
- const l = de([]), c = he(
18086
+ const l = de([]), c = fe(
18087
18087
  () => l.value.map((k) => ({
18088
18088
  label: k.comment ? `${k.name}(${k.comment})` : k.name,
18089
18089
  value: k.name
18090
18090
  }))
18091
- ), d = he(() => {
18091
+ ), d = fe(() => {
18092
18092
  if ($.value) {
18093
- const k = P.value.getFormData(!1);
18093
+ const k = A.value.getFormData(!1);
18094
18094
  if (k.table) {
18095
18095
  const W = l.value.find((j) => j.name === k.table);
18096
18096
  if (W)
@@ -18310,7 +18310,7 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18310
18310
  const S = (k, W) => {
18311
18311
  const { value: j } = W || {};
18312
18312
  k.id === "componentType" && Y(j), $.value && n.componentConfigChange && (k.id === "field" && W.data?.coment && ($.value.config.label = W.data?.coment), n.componentConfigChange($.value.type, {
18313
- configRef: P,
18313
+ configRef: A,
18314
18314
  component: k,
18315
18315
  configData: $.value.config,
18316
18316
  ...W
@@ -18318,19 +18318,19 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18318
18318
  q.isInput && (q.config.table = j);
18319
18319
  });
18320
18320
  }, _ = (k, W) => {
18321
- h[k]?.isInput && (n.notBindTable && (W.configData.csType || P.value.setFormData({
18321
+ h[k]?.isInput && (n.notBindTable && (W.configData.csType || A.value.setFormData({
18322
18322
  main: {
18323
18323
  csType: h[k]?.csType,
18324
18324
  fieldLen: h[k]?.fieldLen
18325
18325
  }
18326
- })), c.value.length === 1 && P.value.setFormData({
18326
+ })), c.value.length === 1 && A.value.setFormData({
18327
18327
  main: { table: c.value[0].value }
18328
- })), n.componentConfigInit && n.componentConfigInit(k, { configRef: P, ...W, notBindTable: n.notBindTable });
18328
+ })), n.componentConfigInit && n.componentConfigInit(k, { configRef: A, ...W, notBindTable: n.notBindTable });
18329
18329
  }, g = (k, W, j) => {
18330
18330
  let q = !1;
18331
18331
  const oe = h[k];
18332
18332
  return W.container.type === "gridtable" ? (!W.configData.isSubTable || j) && (W.configData.isSubTable = !0, oe.isInput && (W.configData.table = W.container.config.table, W.configData.field = ""), q = !0) : W.configData.isSubTable && (q = !0, W.configData.isSubTable = !1, oe.isInput && (W.configData.table = "")), n.containerAddComponent && n.containerAddComponent(k, W), q;
18333
- }, w = de(), P = de(), {
18333
+ }, w = de(), A = de(), {
18334
18334
  activedComponent: $,
18335
18335
  clearComponents: F,
18336
18336
  changeComponent: Y,
@@ -18339,14 +18339,14 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18339
18339
  designComponentList: T
18340
18340
  } = tu(
18341
18341
  w,
18342
- P,
18342
+ A,
18343
18343
  s,
18344
18344
  n.componentInit,
18345
18345
  _,
18346
18346
  y,
18347
18347
  h,
18348
18348
  g
18349
- ), C = he(
18349
+ ), C = fe(
18350
18350
  () => $.value ? `【${$.value.name}】` : ""
18351
18351
  );
18352
18352
  zt("dui-design-provide", {
@@ -18531,9 +18531,9 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18531
18531
  const { formConfig: W, componentList: j } = h0(k);
18532
18532
  O.formConfig = W, V(j);
18533
18533
  });
18534
- }, te = de(), se = de(), re = () => {
18534
+ }, te = de(), se = de(), ie = () => {
18535
18535
  te.value.open("快速添加组件");
18536
- }, pe = () => {
18536
+ }, ge = () => {
18537
18537
  const { addList: k, table: W } = se.value?.ok() || {
18538
18538
  addList: []
18539
18539
  };
@@ -18550,7 +18550,7 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18550
18550
  let j = $.value;
18551
18551
  $.value.config.isSubTable && (j = G[$.value.containerId]), j.config.table = W, (j.children || []).forEach((q) => {
18552
18552
  q.isInput && (q.config.table = W);
18553
- }), P.value.setFormData({
18553
+ }), A.value.setFormData({
18554
18554
  main: { table: W }
18555
18555
  });
18556
18556
  }
@@ -18563,7 +18563,7 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18563
18563
  }, E(q);
18564
18564
  }), te.value.close();
18565
18565
  }
18566
- }, ie = () => {
18566
+ }, re = () => {
18567
18567
  se.value?.closed();
18568
18568
  };
18569
18569
  return e({
@@ -18577,32 +18577,32 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18577
18577
  }), (k, W) => {
18578
18578
  const j = De("j-icon"), q = De("d-drag-tool"), oe = De("el-collapse-item"), ne = De("el-collapse"), ye = De("j-button"), _e = De("d-drag-form-list"), Ye = De("el-row"), Ue = De("d-drag-container"), vt = De("j-form"), He = De("j-layer");
18579
18579
  return ee(), ue("div", Tb, [
18580
- ae("div", kb, [
18581
- W[1] || (W[1] = ae("div", { class: "d-form-design-panel-title" }, "组件库", -1)),
18582
- ae("div", Ib, [
18583
- fe(ne, {
18580
+ le("div", kb, [
18581
+ W[1] || (W[1] = le("div", { class: "d-form-design-panel-title" }, "组件库", -1)),
18582
+ le("div", Ib, [
18583
+ he(ne, {
18584
18584
  modelValue: a.value,
18585
18585
  "onUpdate:modelValue": W[0] || (W[0] = (Bt) => a.value = Bt)
18586
18586
  }, {
18587
- default: xe(() => [
18587
+ default: Ce(() => [
18588
18588
  (ee(!0), ue(Be, null, gt(t.components, (Bt, Lt) => (ee(), Te(oe, {
18589
18589
  key: Lt,
18590
18590
  title: Bt.name,
18591
18591
  name: Lt
18592
18592
  }, {
18593
- default: xe(() => [
18593
+ default: Ce(() => [
18594
18594
  (ee(!0), ue(Be, null, gt(Bt.children, (Ft, Zi) => (ee(), Te(q, {
18595
18595
  key: Zi,
18596
18596
  config: Ft
18597
18597
  }, {
18598
- default: xe(() => [
18599
- ae("div", Mb, [
18600
- fe(j, {
18598
+ default: Ce(() => [
18599
+ le("div", Mb, [
18600
+ he(j, {
18601
18601
  class: "j-component-tool-icon",
18602
18602
  icon: Ft.icon,
18603
18603
  size: 14
18604
18604
  }, null, 8, ["icon"]),
18605
- ae("div", $b, lt(J(o)(Ft.name)), 1)
18605
+ le("div", $b, lt(J(o)(Ft.name)), 1)
18606
18606
  ])
18607
18607
  ]),
18608
18608
  _: 2
@@ -18615,40 +18615,40 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18615
18615
  }, 8, ["modelValue"])
18616
18616
  ])
18617
18617
  ]),
18618
- ae("div", Ab, [
18619
- ae("div", Pb, [
18620
- ao(fe(ye, {
18618
+ le("div", Ab, [
18619
+ le("div", Pb, [
18620
+ ao(he(ye, {
18621
18621
  type: "primary",
18622
18622
  label: "快速添加组件",
18623
- onClick: re
18623
+ onClick: ie
18624
18624
  }, null, 512), [
18625
18625
  [lo, !t.notBindTable]
18626
18626
  ]),
18627
- fe(ye, {
18627
+ he(ye, {
18628
18628
  type: "primary",
18629
18629
  label: "清空",
18630
18630
  onClick: H,
18631
18631
  danger: ""
18632
18632
  }),
18633
- fe(ye, {
18633
+ he(ye, {
18634
18634
  label: "预览",
18635
18635
  onClick: X
18636
18636
  })
18637
18637
  ]),
18638
- ae("div", Ob, [
18639
- fe(Ue, {
18638
+ le("div", Ob, [
18639
+ he(Ue, {
18640
18640
  ref_key: "dragContainer",
18641
18641
  ref: w,
18642
18642
  class: "d-form-design-drag-container",
18643
18643
  "is-component-container": !1,
18644
18644
  "component-data": s
18645
18645
  }, {
18646
- default: xe(() => [
18646
+ default: Ce(() => [
18647
18647
  !s.children || s.children.length === 0 ? (ee(), ue("div", zb, [...W[2] || (W[2] = [
18648
- ae("div", null, "请从左侧拖拽组件到此处", -1)
18648
+ le("div", null, "请从左侧拖拽组件到此处", -1)
18649
18649
  ])])) : (ee(), Te(Ye, { key: 1 }, {
18650
- default: xe(() => [
18651
- fe(_e, {
18650
+ default: Ce(() => [
18651
+ he(_e, {
18652
18652
  "component-list": s.children,
18653
18653
  "global-config": s.config
18654
18654
  }, null, 8, ["component-list", "global-config"])
@@ -18660,12 +18660,12 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18660
18660
  }, 8, ["component-data"])
18661
18661
  ])
18662
18662
  ]),
18663
- ao(ae("div", Rb, [
18664
- ae("div", Hb, [
18665
- ae("span", Bb, lt(`${J(o)("属性配置")}${C.value}`), 1)
18663
+ ao(le("div", Rb, [
18664
+ le("div", Hb, [
18665
+ le("span", Bb, lt(`${J(o)("属性配置")}${C.value}`), 1)
18666
18666
  ]),
18667
- ae("div", Lb, [
18668
- fe(vt, {
18667
+ le("div", Lb, [
18668
+ he(vt, {
18669
18669
  config: {
18670
18670
  labelPosition: "top",
18671
18671
  size: "small"
@@ -18673,14 +18673,14 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18673
18673
  collapseAnimate: !1,
18674
18674
  style: { padding: "0" },
18675
18675
  ref_key: "configRef",
18676
- ref: P,
18676
+ ref: A,
18677
18677
  onChange: S
18678
18678
  }, null, 512)
18679
18679
  ])
18680
18680
  ], 512), [
18681
18681
  [lo, J($)]
18682
18682
  ]),
18683
- fe(He, {
18683
+ he(He, {
18684
18684
  ref_key: "previewFormLayerRef",
18685
18685
  ref: R,
18686
18686
  width: O.width,
@@ -18688,8 +18688,8 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18688
18688
  onOk: K,
18689
18689
  onClosed: Q
18690
18690
  }, {
18691
- default: xe(() => [
18692
- fe(vt, {
18691
+ default: Ce(() => [
18692
+ he(vt, {
18693
18693
  config: O.formConfig,
18694
18694
  "is-preview": !0,
18695
18695
  ref_key: "previewFormRef",
@@ -18699,17 +18699,17 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18699
18699
  ]),
18700
18700
  _: 1
18701
18701
  }, 8, ["width", "height"]),
18702
- fe(He, {
18702
+ he(He, {
18703
18703
  ref_key: "importFormLayerRef",
18704
18704
  ref: te,
18705
18705
  width: 800,
18706
18706
  height: 600,
18707
18707
  "btn-text": "确认",
18708
- onOk: pe,
18709
- onClosed: ie
18708
+ onOk: ge,
18709
+ onClosed: re
18710
18710
  }, {
18711
- default: xe(() => [
18712
- fe(xb, {
18711
+ default: Ce(() => [
18712
+ he(xb, {
18713
18713
  "component-list": m,
18714
18714
  "table-list": l.value,
18715
18715
  ref_key: "importComponentRef",
@@ -18973,7 +18973,7 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18973
18973
  u,
18974
18974
  s,
18975
18975
  o.containerAddComponent
18976
- ), S = he(
18976
+ ), S = fe(
18977
18977
  () => h.value ? `【${h.value.name}】` : ""
18978
18978
  ), _ = de([]), g = o.components.length;
18979
18979
  for (let v = 0; v < g; v++)
@@ -18983,7 +18983,7 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
18983
18983
  });
18984
18984
  const w = () => {
18985
18985
  m();
18986
- }, P = () => {
18986
+ }, A = () => {
18987
18987
  o.componentInit && (r.config = o.componentInit("indexPage") || {}), m();
18988
18988
  }, $ = () => (console.log("pValidate"), !0), F = () => rl(r.config, r.children || []), Y = (v) => {
18989
18989
  const x = Wb(v, s);
@@ -19016,39 +19016,39 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
19016
19016
  });
19017
19017
  };
19018
19018
  return e({
19019
- reset: P,
19019
+ reset: A,
19020
19020
  validate: $,
19021
19021
  getSchema: F,
19022
19022
  setSchema: Y
19023
19023
  }), (v, x) => {
19024
- const D = De("j-icon"), z = De("d-drag-tool"), R = De("el-collapse-item"), M = De("el-collapse"), O = De("j-button"), L = De("el-tooltip"), V = De("el-divider"), K = De("el-empty"), Q = De("d-drag-index-list"), X = De("el-row"), te = De("d-drag-container"), se = De("j-form"), re = De("j-page"), pe = De("j-layer");
19024
+ const D = De("j-icon"), z = De("d-drag-tool"), R = De("el-collapse-item"), M = De("el-collapse"), O = De("j-button"), L = De("el-tooltip"), V = De("el-divider"), K = De("el-empty"), Q = De("d-drag-index-list"), X = De("d-drag-container"), te = De("j-form"), se = De("j-page"), ie = De("j-layer");
19025
19025
  return ee(), ue("div", Yb, [
19026
- ae("div", Ub, [
19027
- x[1] || (x[1] = ae("div", { class: "d-index-design-panel-title" }, "组件库", -1)),
19028
- ae("div", Xb, [
19029
- fe(M, {
19026
+ le("div", Ub, [
19027
+ x[1] || (x[1] = le("div", { class: "d-index-design-panel-title" }, "组件库", -1)),
19028
+ le("div", Xb, [
19029
+ he(M, {
19030
19030
  modelValue: _.value,
19031
- "onUpdate:modelValue": x[0] || (x[0] = (ie) => _.value = ie)
19031
+ "onUpdate:modelValue": x[0] || (x[0] = (ge) => _.value = ge)
19032
19032
  }, {
19033
- default: xe(() => [
19034
- (ee(!0), ue(Be, null, gt(t.components, (ie, le) => (ee(), Te(R, {
19035
- key: le,
19036
- title: ie.name,
19037
- name: le
19033
+ default: Ce(() => [
19034
+ (ee(!0), ue(Be, null, gt(t.components, (ge, re) => (ee(), Te(R, {
19035
+ key: re,
19036
+ title: ge.name,
19037
+ name: re
19038
19038
  }, {
19039
- default: xe(() => [
19040
- (ee(!0), ue(Be, null, gt(ie.children, (A, I) => (ee(), Te(z, {
19041
- key: I,
19042
- config: A
19039
+ default: Ce(() => [
19040
+ (ee(!0), ue(Be, null, gt(ge.children, (ae, P) => (ee(), Te(z, {
19041
+ key: P,
19042
+ config: ae
19043
19043
  }, {
19044
- default: xe(() => [
19045
- ae("div", qb, [
19046
- fe(D, {
19044
+ default: Ce(() => [
19045
+ le("div", qb, [
19046
+ he(D, {
19047
19047
  class: "j-component-tool-icon",
19048
- icon: A.icon,
19048
+ icon: ae.icon,
19049
19049
  size: 14
19050
19050
  }, null, 8, ["icon"]),
19051
- ae("div", Kb, lt(J(n)(A.name)), 1)
19051
+ le("div", Kb, lt(J(n)(ae.name)), 1)
19052
19052
  ])
19053
19053
  ]),
19054
19054
  _: 2
@@ -19061,15 +19061,15 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
19061
19061
  }, 8, ["modelValue"])
19062
19062
  ])
19063
19063
  ]),
19064
- ae("div", Zb, [
19065
- ae("div", Jb, [
19066
- x[2] || (x[2] = ae("div", null, null, -1)),
19067
- ae("div", null, [
19068
- fe(L, {
19064
+ le("div", Zb, [
19065
+ le("div", Jb, [
19066
+ x[2] || (x[2] = le("div", null, null, -1)),
19067
+ le("div", null, [
19068
+ he(L, {
19069
19069
  content: J(n)("清空")
19070
19070
  }, {
19071
- default: xe(() => [
19072
- fe(O, {
19071
+ default: Ce(() => [
19072
+ he(O, {
19073
19073
  danger: "",
19074
19074
  type: "text",
19075
19075
  onClick: w,
@@ -19078,12 +19078,12 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
19078
19078
  ]),
19079
19079
  _: 1
19080
19080
  }, 8, ["content"]),
19081
- fe(V, { direction: "vertical" }),
19082
- fe(L, {
19081
+ he(V, { direction: "vertical" }),
19082
+ he(L, {
19083
19083
  content: J(n)("预览")
19084
19084
  }, {
19085
- default: xe(() => [
19086
- fe(O, {
19085
+ default: Ce(() => [
19086
+ he(O, {
19087
19087
  type: "text",
19088
19088
  onClick: N,
19089
19089
  icon: "mdi:play-circle-outline"
@@ -19093,40 +19093,36 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
19093
19093
  }, 8, ["content"])
19094
19094
  ])
19095
19095
  ]),
19096
- ae("div", Qb, [
19097
- fe(te, {
19096
+ le("div", Qb, [
19097
+ he(X, {
19098
19098
  ref_key: "dragContainer",
19099
19099
  ref: d,
19100
19100
  class: "design-drag-container",
19101
19101
  "is-component-container": !1,
19102
19102
  "component-data": r
19103
19103
  }, {
19104
- default: xe(() => [
19104
+ default: Ce(() => [
19105
19105
  !r.children || r.children.length === 0 ? (ee(), ue("div", e_, [
19106
- fe(K, {
19106
+ he(K, {
19107
19107
  description: J(n)("请从左侧拖拽组件到此处"),
19108
19108
  "image-size": 100
19109
19109
  }, null, 8, ["description"])
19110
- ])) : (ee(), Te(X, { key: 1 }, {
19111
- default: xe(() => [
19112
- fe(Q, {
19113
- "component-list": r.children,
19114
- "global-config": r.config
19115
- }, null, 8, ["component-list", "global-config"])
19116
- ]),
19117
- _: 1
19118
- }))
19110
+ ])) : (ee(), Te(Q, {
19111
+ key: 1,
19112
+ "component-list": r.children,
19113
+ "global-config": r.config
19114
+ }, null, 8, ["component-list", "global-config"]))
19119
19115
  ]),
19120
19116
  _: 1
19121
19117
  }, 8, ["component-data"])
19122
19118
  ])
19123
19119
  ]),
19124
- ao(ae("div", t_, [
19125
- ae("div", n_, [
19126
- ae("span", o_, lt(`${J(n)("属性配置")}${S.value}`), 1)
19120
+ ao(le("div", t_, [
19121
+ le("div", n_, [
19122
+ le("span", o_, lt(`${J(n)("属性配置")}${S.value}`), 1)
19127
19123
  ]),
19128
- ae("div", i_, [
19129
- fe(se, {
19124
+ le("div", i_, [
19125
+ he(te, {
19130
19126
  config: {
19131
19127
  labelPosition: "top",
19132
19128
  size: "small"
@@ -19141,15 +19137,15 @@ const nu = /* @__PURE__ */ Db(Sb, [["render", Nb]]), Tb = { class: "d-form-desig
19141
19137
  ], 512), [
19142
19138
  [lo, J(h) && u[J(h).type]]
19143
19139
  ]),
19144
- fe(pe, {
19140
+ he(ie, {
19145
19141
  ref_key: "previewLayerRef",
19146
19142
  ref: G,
19147
19143
  "has-btns": !1,
19148
19144
  onOk: H,
19149
19145
  onClosed: b
19150
19146
  }, {
19151
- default: xe(() => [
19152
- fe(re, {
19147
+ default: Ce(() => [
19148
+ he(se, {
19153
19149
  ref_key: "previewRef",
19154
19150
  ref: E
19155
19151
  }, null, 512)