@sps-woodland/add-to-list 7.17.13 → 7.19.0

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.
@@ -1,66 +1,66 @@
1
1
  import * as d from "react";
2
- import L, { useContext as xu, useState as j, useRef as P, useCallback as cu, useEffect as hu, useMemo as kt, useImperativeHandle as yt } from "react";
2
+ import w, { useContext as xu, useState as P, useRef as I, useCallback as cu, useEffect as hu, useMemo as kt, useImperativeHandle as yt } from "react";
3
3
  import { SpsButton as pu, SpsTooltip as At, useSpsForm as Tt, SpsTextInput as Ft } from "@spscommerce/ds-react";
4
- import { ButtonKind as Du, Position as St, TooltipShowTrigger as zt, SpsIcon as ou } from "@spscommerce/ds-shared";
4
+ import { ButtonKind as Du, Position as St, TooltipShowTrigger as zt, SpsIcon as iu } from "@spscommerce/ds-shared";
5
5
  import { Illustrations as Wu } from "@sps-woodland/illustrations";
6
- import { useChildTestIdAttrBuilder as Ee, I18nContext as Hu, cl as _, Icon as Lt, Metadata as Be } from "@sps-woodland/core";
6
+ import { useChildTestIdAttrBuilder as Ee, I18nContext as Mu, cl as G, Icon as wt, Metadata as Be } from "@sps-woodland/core";
7
7
  import { ZeroState as Qu } from "@sps-woodland/zero-state";
8
- import { ScrollableContainer as wt, Card as ue } from "@sps-woodland/cards";
8
+ import { ScrollableContainer as Lt, Card as ue } from "@sps-woodland/cards";
9
9
  import { grid as ee } from "@sps-woodland/tokens";
10
- import { Tag as Kt } from "@sps-woodland/tags";
11
- import { FeedbackBlock as It } from "@sps-woodland/feedback-block";
10
+ import { Tag as _t } from "@sps-woodland/tags";
11
+ import { FeedbackBlock as Kt } from "@sps-woodland/feedback-block";
12
12
  import { flushSync as be } from "react-dom";
13
- import { code as q } from "@spscommerce/utils";
14
- let Pt = (u = 21) => crypto.getRandomValues(new Uint8Array(u)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
15
- const Cu = {
13
+ import { code as H } from "@spscommerce/utils";
14
+ let It = (u = 21) => crypto.getRandomValues(new Uint8Array(u)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
15
+ const gu = {
16
16
  prefix: String(Math.round(Math.random() * 1e10)),
17
17
  current: 0
18
- }, xe = /* @__PURE__ */ L.createContext(Cu), jt = /* @__PURE__ */ L.createContext(!1);
19
- let Vt = Boolean(typeof window < "u" && window.document && window.document.createElement), Au = /* @__PURE__ */ new WeakMap();
20
- function Ot(u = !1) {
21
- let e = xu(xe), t = P(null);
18
+ }, xe = /* @__PURE__ */ w.createContext(gu), Pt = /* @__PURE__ */ w.createContext(!1);
19
+ let jt = Boolean(typeof window < "u" && window.document && window.document.createElement), Au = /* @__PURE__ */ new WeakMap();
20
+ function Vt(u = !1) {
21
+ let e = xu(xe), t = I(null);
22
22
  if (t.current === null && !u) {
23
23
  var r, n;
24
- let o = (n = L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || n === void 0 || (r = n.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
25
- if (o) {
26
- let s = Au.get(o);
27
- s == null ? Au.set(o, {
24
+ let i = (n = w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || n === void 0 || (r = n.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
25
+ if (i) {
26
+ let s = Au.get(i);
27
+ s == null ? Au.set(i, {
28
28
  id: e.current,
29
- state: o.memoizedState
30
- }) : o.memoizedState !== s.state && (e.current = s.id, Au.delete(o));
29
+ state: i.memoizedState
30
+ }) : i.memoizedState !== s.state && (e.current = s.id, Au.delete(i));
31
31
  }
32
32
  t.current = ++e.current;
33
33
  }
34
34
  return t.current;
35
35
  }
36
- function Nt(u) {
36
+ function Ot(u) {
37
37
  let e = xu(xe);
38
- e === Cu && !Vt && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
39
- let t = Ot(!!u), r = e === Cu && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
38
+ e === gu && !jt && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
39
+ let t = Vt(!!u), r = e === gu && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
40
40
  return u || `${r}-${t}`;
41
41
  }
42
- function Rt(u) {
43
- let e = L.useId(), [t] = j(qu()), r = t || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${Cu.prefix}`;
42
+ function Nt(u) {
43
+ let e = w.useId(), [t] = P(Hu()), r = t || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${gu.prefix}`;
44
44
  return u || `${r}-${e}`;
45
45
  }
46
- L.useId;
47
- function Mt() {
46
+ w.useId;
47
+ function Rt() {
48
48
  return !1;
49
49
  }
50
- function Ht() {
50
+ function Mt() {
51
51
  return !0;
52
52
  }
53
- function qt(u) {
53
+ function Ht(u) {
54
54
  return () => {
55
55
  };
56
56
  }
57
- function qu() {
58
- return typeof L.useSyncExternalStore == "function" ? L.useSyncExternalStore(qt, Mt, Ht) : xu(jt);
57
+ function Hu() {
58
+ return typeof w.useSyncExternalStore == "function" ? w.useSyncExternalStore(Ht, Rt, Mt) : xu(Pt);
59
59
  }
60
- const $u = typeof document < "u" ? L.useLayoutEffect : () => {
60
+ const $u = typeof document < "u" ? w.useLayoutEffect : () => {
61
61
  };
62
62
  function J(u) {
63
- const e = P(null);
63
+ const e = I(null);
64
64
  return $u(() => {
65
65
  e.current = u;
66
66
  }, [
@@ -70,7 +70,7 @@ function J(u) {
70
70
  return r(...t);
71
71
  }, []);
72
72
  }
73
- function Ut(u) {
73
+ function qt(u) {
74
74
  var e;
75
75
  return typeof window > "u" || window.navigator == null ? !1 : ((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.brands.some((t) => u.test(t.brand))) || u.test(window.navigator.userAgent);
76
76
  }
@@ -78,14 +78,14 @@ function he(u) {
78
78
  var e;
79
79
  return typeof window < "u" && window.navigator != null ? u.test(((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.platform) || window.navigator.platform) : !1;
80
80
  }
81
- function Uu() {
81
+ function qu() {
82
82
  return he(/^Mac/i);
83
83
  }
84
- function Gt() {
85
- return he(/^iPad/i) || Uu() && navigator.maxTouchPoints > 1;
84
+ function Ut() {
85
+ return he(/^iPad/i) || qu() && navigator.maxTouchPoints > 1;
86
86
  }
87
87
  function $e() {
88
- return Ut(/Android/i);
88
+ return qt(/Android/i);
89
89
  }
90
90
  let X = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Set();
91
91
  function re() {
@@ -105,24 +105,24 @@ function re() {
105
105
  document.body.addEventListener("transitionrun", u), document.body.addEventListener("transitionend", e);
106
106
  }
107
107
  typeof document < "u" && (document.readyState !== "loading" ? re() : document.addEventListener("DOMContentLoaded", re));
108
- function _t() {
109
- let u = P(/* @__PURE__ */ new Map()), e = cu((n, o, s, p) => {
108
+ function Gt() {
109
+ let u = I(/* @__PURE__ */ new Map()), e = cu((n, i, s, p) => {
110
110
  let l = p != null && p.once ? (...f) => {
111
111
  u.current.delete(s), s(...f);
112
112
  } : s;
113
113
  u.current.set(s, {
114
- type: o,
114
+ type: i,
115
115
  eventTarget: n,
116
116
  fn: l,
117
117
  options: p
118
- }), n.addEventListener(o, s, p);
119
- }, []), t = cu((n, o, s, p) => {
118
+ }), n.addEventListener(i, s, p);
119
+ }, []), t = cu((n, i, s, p) => {
120
120
  var l;
121
121
  let f = ((l = u.current.get(s)) === null || l === void 0 ? void 0 : l.fn) || s;
122
- n.removeEventListener(o, f, p), u.current.delete(s);
122
+ n.removeEventListener(i, f, p), u.current.delete(s);
123
123
  }, []), r = cu(() => {
124
- u.current.forEach((n, o) => {
125
- t(n.eventTarget, n.type, o, n.options);
124
+ u.current.forEach((n, i) => {
125
+ t(n.eventTarget, n.type, i, n.options);
126
126
  });
127
127
  }, [
128
128
  t
@@ -138,7 +138,7 @@ function _t() {
138
138
  let Zt = 0;
139
139
  const Tu = /* @__PURE__ */ new Map();
140
140
  function ve(u) {
141
- let [e, t] = j(void 0);
141
+ let [e, t] = P(void 0);
142
142
  return $u(() => {
143
143
  if (!u)
144
144
  return;
@@ -148,10 +148,10 @@ function ve(u) {
148
148
  else {
149
149
  let n = `react-aria-description-${Zt++}`;
150
150
  t(n);
151
- let o = document.createElement("div");
152
- o.id = n, o.style.display = "none", o.textContent = u, document.body.appendChild(o), r = {
151
+ let i = document.createElement("div");
152
+ i.id = n, i.style.display = "none", i.textContent = u, document.body.appendChild(i), r = {
153
153
  refCount: 0,
154
- element: o
154
+ element: i
155
155
  }, Tu.set(u, r);
156
156
  }
157
157
  return r.refCount++, () => {
@@ -163,66 +163,66 @@ function ve(u) {
163
163
  "aria-describedby": u ? e : void 0
164
164
  };
165
165
  }
166
- function Gu(u) {
166
+ function Uu(u) {
167
167
  return u.mozInputSource === 0 && u.isTrusted ? !0 : $e() && u.pointerType ? u.type === "click" && u.buttons === 1 : u.detail === 0 && !u.pointerType;
168
168
  }
169
169
  function ke(u) {
170
170
  return !$e() && u.width === 0 && u.height === 0 || u.width === 1 && u.height === 1 && u.pressure === 0 && u.detail === 0 && u.pointerType === "mouse";
171
171
  }
172
- const Jt = L.createContext({
172
+ const Jt = w.createContext({
173
173
  register: () => {
174
174
  }
175
175
  });
176
176
  Jt.displayName = "PressResponderContext";
177
- let R = null, Iu = /* @__PURE__ */ new Set(), ne = !1, M = !1, Pu = !1;
178
- function _u(u, e) {
179
- for (let t of Iu)
177
+ let N = null, Ku = /* @__PURE__ */ new Set(), ne = !1, R = !1, Iu = !1;
178
+ function Gu(u, e) {
179
+ for (let t of Ku)
180
180
  t(u, e);
181
181
  }
182
182
  function Xt(u) {
183
- return !(u.metaKey || !Uu() && u.altKey || u.ctrlKey || u.key === "Control" || u.key === "Shift" || u.key === "Meta");
183
+ return !(u.metaKey || !qu() && u.altKey || u.ctrlKey || u.key === "Control" || u.key === "Shift" || u.key === "Meta");
184
184
  }
185
185
  function ae(u) {
186
- M = !0, Xt(u) && (R = "keyboard", _u("keyboard", u));
186
+ R = !0, Xt(u) && (N = "keyboard", Gu("keyboard", u));
187
187
  }
188
- function U(u) {
189
- R = "pointer", (u.type === "mousedown" || u.type === "pointerdown") && (M = !0, _u("pointer", u));
188
+ function q(u) {
189
+ N = "pointer", (u.type === "mousedown" || u.type === "pointerdown") && (R = !0, Gu("pointer", u));
190
190
  }
191
191
  function Yt(u) {
192
- Gu(u) && (M = !0, R = "virtual");
192
+ Uu(u) && (R = !0, N = "virtual");
193
193
  }
194
194
  function Wt(u) {
195
- u.target === window || u.target === document || (!M && !Pu && (R = "virtual", _u("virtual", u)), M = !1, Pu = !1);
195
+ u.target === window || u.target === document || (!R && !Iu && (N = "virtual", Gu("virtual", u)), R = !1, Iu = !1);
196
196
  }
197
197
  function Qt() {
198
- M = !1, Pu = !0;
198
+ R = !1, Iu = !0;
199
199
  }
200
- function ju() {
200
+ function Pu() {
201
201
  if (typeof window > "u" || ne)
202
202
  return;
203
203
  let u = HTMLElement.prototype.focus;
204
204
  HTMLElement.prototype.focus = function() {
205
- M = !0, u.apply(this, arguments);
206
- }, document.addEventListener("keydown", ae, !0), document.addEventListener("keyup", ae, !0), document.addEventListener("click", Yt, !0), window.addEventListener("focus", Wt, !0), window.addEventListener("blur", Qt, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", U, !0), document.addEventListener("pointermove", U, !0), document.addEventListener("pointerup", U, !0)) : (document.addEventListener("mousedown", U, !0), document.addEventListener("mousemove", U, !0), document.addEventListener("mouseup", U, !0)), ne = !0;
205
+ R = !0, u.apply(this, arguments);
206
+ }, document.addEventListener("keydown", ae, !0), document.addEventListener("keyup", ae, !0), document.addEventListener("click", Yt, !0), window.addEventListener("focus", Wt, !0), window.addEventListener("blur", Qt, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", q, !0), document.addEventListener("pointermove", q, !0), document.addEventListener("pointerup", q, !0)) : (document.addEventListener("mousedown", q, !0), document.addEventListener("mousemove", q, !0), document.addEventListener("mouseup", q, !0)), ne = !0;
207
207
  }
208
- typeof document < "u" && (document.readyState !== "loading" ? ju() : document.addEventListener("DOMContentLoaded", ju));
208
+ typeof document < "u" && (document.readyState !== "loading" ? Pu() : document.addEventListener("DOMContentLoaded", Pu));
209
209
  function ur() {
210
- return R;
210
+ return N;
211
211
  }
212
212
  function er() {
213
- ju();
214
- let [u, e] = j(R);
213
+ Pu();
214
+ let [u, e] = P(N);
215
215
  return hu(() => {
216
216
  let t = () => {
217
- e(R);
217
+ e(N);
218
218
  };
219
- return Iu.add(t), () => {
220
- Iu.delete(t);
219
+ return Ku.add(t), () => {
220
+ Ku.delete(t);
221
221
  };
222
- }, []), qu() ? null : u;
222
+ }, []), Hu() ? null : u;
223
223
  }
224
224
  const tr = Symbol.for("react-aria.i18n.locale"), rr = Symbol.for("react-aria.i18n.strings");
225
- let G;
225
+ let U;
226
226
  class vu {
227
227
  getStringForLocale(e, t) {
228
228
  let n = this.getStringsForLocale(t)[e];
@@ -238,17 +238,17 @@ class vu {
238
238
  if (typeof window > "u")
239
239
  return null;
240
240
  let t = window[tr];
241
- if (G === void 0) {
241
+ if (U === void 0) {
242
242
  let n = window[rr];
243
243
  if (!n)
244
244
  return null;
245
- G = {};
246
- for (let o in n)
247
- G[o] = new vu({
248
- [t]: n[o]
245
+ U = {};
246
+ for (let i in n)
247
+ U[i] = new vu({
248
+ [t]: n[i]
249
249
  }, t);
250
250
  }
251
- let r = G == null ? void 0 : G[e];
251
+ let r = U == null ? void 0 : U[e];
252
252
  if (!r)
253
253
  throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
254
254
  return r;
@@ -273,8 +273,8 @@ function nr(u, e, t = "en-US") {
273
273
  function ar(u) {
274
274
  return Intl.Locale ? new Intl.Locale(u).language : u.split("-")[0];
275
275
  }
276
- const ie = /* @__PURE__ */ new Map(), oe = /* @__PURE__ */ new Map();
277
- class ir {
276
+ const oe = /* @__PURE__ */ new Map(), ie = /* @__PURE__ */ new Map();
277
+ class or {
278
278
  format(e, t) {
279
279
  let r = this.strings.getStringForLocale(e, this.locale);
280
280
  return typeof r == "function" ? r(t, this) : r;
@@ -283,16 +283,16 @@ class ir {
283
283
  let n = t["=" + e];
284
284
  if (n)
285
285
  return typeof n == "function" ? n() : n;
286
- let o = this.locale + ":" + r, s = ie.get(o);
286
+ let i = this.locale + ":" + r, s = oe.get(i);
287
287
  s || (s = new Intl.PluralRules(this.locale, {
288
288
  type: r
289
- }), ie.set(o, s));
289
+ }), oe.set(i, s));
290
290
  let p = s.select(e);
291
291
  return n = t[p] || t.other, typeof n == "function" ? n() : n;
292
292
  }
293
293
  number(e) {
294
- let t = oe.get(this.locale);
295
- return t || (t = new Intl.NumberFormat(this.locale), oe.set(this.locale, t)), t.format(e);
294
+ let t = ie.get(this.locale);
295
+ return t || (t = new Intl.NumberFormat(this.locale), ie.set(this.locale, t)), t.format(e);
296
296
  }
297
297
  select(e, t) {
298
298
  let r = e[t] || e.other;
@@ -302,7 +302,7 @@ class ir {
302
302
  this.locale = e, this.strings = t;
303
303
  }
304
304
  }
305
- const or = /* @__PURE__ */ new Set([
305
+ const ir = /* @__PURE__ */ new Set([
306
306
  "Arab",
307
307
  "Syrc",
308
308
  "Samr",
@@ -340,7 +340,7 @@ function dr(u) {
340
340
  if (r)
341
341
  return r.direction === "rtl";
342
342
  if (t.script)
343
- return or.has(t.script);
343
+ return ir.has(t.script);
344
344
  }
345
345
  let e = u.split("-")[0];
346
346
  return lr.has(e);
@@ -360,14 +360,14 @@ function ye() {
360
360
  direction: dr(u) ? "rtl" : "ltr"
361
361
  };
362
362
  }
363
- let Vu = ye(), W = /* @__PURE__ */ new Set();
363
+ let ju = ye(), W = /* @__PURE__ */ new Set();
364
364
  function le() {
365
- Vu = ye();
365
+ ju = ye();
366
366
  for (let u of W)
367
- u(Vu);
367
+ u(ju);
368
368
  }
369
369
  function cr() {
370
- let u = qu(), [e, t] = j(Vu);
370
+ let u = Hu(), [e, t] = P(ju);
371
371
  return hu(() => (W.size === 0 && window.addEventListener("languagechange", le), W.add(t), () => {
372
372
  W.delete(t), W.size === 0 && window.removeEventListener("languagechange", le);
373
373
  }), []), u ? {
@@ -375,7 +375,7 @@ function cr() {
375
375
  direction: "ltr"
376
376
  } : e;
377
377
  }
378
- const pr = /* @__PURE__ */ L.createContext(null);
378
+ const pr = /* @__PURE__ */ w.createContext(null);
379
379
  function Dr() {
380
380
  let u = cr();
381
381
  return xu(pr) || u;
@@ -390,7 +390,7 @@ function fr(u, e) {
390
390
  }
391
391
  function Ae(u, e) {
392
392
  let { locale: t } = Dr(), r = fr(u, e);
393
- return kt(() => new ir(t, r), [
393
+ return kt(() => new or(t, r), [
394
394
  t,
395
395
  r
396
396
  ]);
@@ -398,9 +398,9 @@ function Ae(u, e) {
398
398
  const Te = 7e3;
399
399
  let Fu = null;
400
400
  function lu(u, e = "assertive", t = Te) {
401
- Fu || (Fu = new Cr()), Fu.announce(u, e, t);
401
+ Fu || (Fu = new gr()), Fu.announce(u, e, t);
402
402
  }
403
- class Cr {
403
+ class gr {
404
404
  createLog(e) {
405
405
  let t = document.createElement("div");
406
406
  return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;
@@ -435,7 +435,7 @@ class Cr {
435
435
  }
436
436
  }
437
437
  let Y = /* @__PURE__ */ new WeakMap(), z = [];
438
- function gr(u, e = document.body) {
438
+ function Cr(u, e = document.body) {
439
439
  let t = new Set(u), r = /* @__PURE__ */ new Set(), n = (l) => {
440
440
  for (let E of l.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))
441
441
  t.add(E);
@@ -448,13 +448,13 @@ function gr(u, e = document.body) {
448
448
  return NodeFilter.FILTER_ACCEPT;
449
449
  }, m = document.createTreeWalker(l, NodeFilter.SHOW_ELEMENT, {
450
450
  acceptNode: f
451
- }), w = f(l);
452
- if (w === NodeFilter.FILTER_ACCEPT && o(l), w !== NodeFilter.FILTER_REJECT) {
451
+ }), L = f(l);
452
+ if (L === NodeFilter.FILTER_ACCEPT && i(l), L !== NodeFilter.FILTER_REJECT) {
453
453
  let E = m.nextNode();
454
454
  for (; E != null; )
455
- o(E), E = m.nextNode();
455
+ i(E), E = m.nextNode();
456
456
  }
457
- }, o = (l) => {
457
+ }, i = (l) => {
458
458
  var f;
459
459
  let m = (f = Y.get(l)) !== null && f !== void 0 ? f : 0;
460
460
  l.getAttribute("aria-hidden") === "true" && m === 0 || (m === 0 && l.setAttribute("aria-hidden", "true"), r.add(l), Y.set(l, m + 1));
@@ -623,8 +623,8 @@ ze = {
623
623
  insertBefore: (u) => `Vlo\u017Eit p\u0159ed ${u.itemText}`,
624
624
  insertBetween: (u) => `Vlo\u017Eit mezi ${u.beforeItemText} a ${u.afterItemText}`
625
625
  };
626
- var Le = {};
627
- Le = {
626
+ var we = {};
627
+ we = {
628
628
  dragDescriptionKeyboard: "Tryk p\xE5 Enter for at starte med at tr\xE6kke.",
629
629
  dragDescriptionKeyboardAlt: "Tryk p\xE5 Alt + Enter for at starte med at tr\xE6kke.",
630
630
  dragDescriptionLongPress: "Tryk l\xE6nge for at starte med at tr\xE6kke.",
@@ -665,8 +665,8 @@ Le = {
665
665
  insertBefore: (u) => `Inds\xE6t f\xF8r ${u.itemText}`,
666
666
  insertBetween: (u) => `Inds\xE6t mellem ${u.beforeItemText} og ${u.afterItemText}`
667
667
  };
668
- var we = {};
669
- we = {
668
+ var Le = {};
669
+ Le = {
670
670
  dragDescriptionKeyboard: "Dr\xFCcken Sie die Eingabetaste, um den Ziehvorgang zu starten.",
671
671
  dragDescriptionKeyboardAlt: "Alt + Eingabe dr\xFCcken, um den Ziehvorgang zu starten.",
672
672
  dragDescriptionLongPress: "Lang dr\xFCcken, um mit dem Ziehen zu beginnen.",
@@ -707,8 +707,8 @@ we = {
707
707
  insertBefore: (u) => `Vor ${u.itemText} einf\xFCgen`,
708
708
  insertBetween: (u) => `Zwischen ${u.beforeItemText} und ${u.afterItemText} einf\xFCgen`
709
709
  };
710
- var Ke = {};
711
- Ke = {
710
+ var _e = {};
711
+ _e = {
712
712
  dragDescriptionKeyboard: "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",
713
713
  dragDescriptionKeyboardAlt: "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + Enter \u03B3\u03B9\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7 \u03C4\u03B7\u03C2 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC\u03C2.",
714
714
  dragDescriptionLongPress: "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03BC\u03B5\u03C4\u03B1\u03C6\u03BF\u03C1\u03AC.",
@@ -749,8 +749,8 @@ Ke = {
749
749
  insertBefore: (u) => `\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC ${u.itemText}`,
750
750
  insertBetween: (u) => `\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE \u03BC\u03B5\u03C4\u03B1\u03BE\u03CD ${u.beforeItemText} \u03BA\u03B1\u03B9 ${u.afterItemText}`
751
751
  };
752
- var Ie = {};
753
- Ie = {
752
+ var Ke = {};
753
+ Ke = {
754
754
  dragItem: (u) => `Drag ${u.itemText}`,
755
755
  dragSelectedItems: (u, e) => `Drag ${e.plural(u.count, {
756
756
  one: () => `${e.number(u.count)} selected item`,
@@ -791,8 +791,8 @@ Ie = {
791
791
  insertBetween: (u) => `Insert between ${u.beforeItemText} and ${u.afterItemText}`,
792
792
  insertAfter: (u) => `Insert after ${u.itemText}`
793
793
  };
794
- var Pe = {};
795
- Pe = {
794
+ var Ie = {};
795
+ Ie = {
796
796
  dragDescriptionKeyboard: "Pulse Intro para empezar a arrastrar.",
797
797
  dragDescriptionKeyboardAlt: "Pulse Intro para empezar a arrastrar.",
798
798
  dragDescriptionLongPress: "Mantenga pulsado para comenzar a arrastrar.",
@@ -833,8 +833,8 @@ Pe = {
833
833
  insertBefore: (u) => `Insertar antes de ${u.itemText}`,
834
834
  insertBetween: (u) => `Insertar entre ${u.beforeItemText} y ${u.afterItemText}`
835
835
  };
836
- var je = {};
837
- je = {
836
+ var Pe = {};
837
+ Pe = {
838
838
  dragDescriptionKeyboard: "Lohistamise alustamiseks vajutage klahvi Enter.",
839
839
  dragDescriptionKeyboardAlt: "Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",
840
840
  dragDescriptionLongPress: "Vajutage pikalt lohistamise alustamiseks.",
@@ -875,8 +875,8 @@ je = {
875
875
  insertBefore: (u) => `Sisesta ${u.itemText} ette`,
876
876
  insertBetween: (u) => `Sisesta ${u.beforeItemText} ja ${u.afterItemText} vahele`
877
877
  };
878
- var Ve = {};
879
- Ve = {
878
+ var je = {};
879
+ je = {
880
880
  dragDescriptionKeyboard: "Aloita vet\xE4minen painamalla Enter-n\xE4pp\xE4int\xE4.",
881
881
  dragDescriptionKeyboardAlt: "Aloita vet\xE4minen painamalla Alt + Enter -n\xE4pp\xE4inyhdistelm\xE4\xE4.",
882
882
  dragDescriptionLongPress: "Aloita vet\xE4minen pit\xE4m\xE4ll\xE4 painettuna.",
@@ -917,8 +917,8 @@ Ve = {
917
917
  insertBefore: (u) => `Lis\xE4\xE4 ennen kohdetta ${u.itemText}`,
918
918
  insertBetween: (u) => `Lis\xE4\xE4 kohteiden ${u.beforeItemText} ja ${u.afterItemText} v\xE4liin`
919
919
  };
920
- var Oe = {};
921
- Oe = {
920
+ var Ve = {};
921
+ Ve = {
922
922
  dragDescriptionKeyboard: "Appuyez sur Entr\xE9e pour commencer le d\xE9placement.",
923
923
  dragDescriptionKeyboardAlt: "Appuyez sur Alt\xA0+\xA0Entr\xE9e pour commencer \xE0 faire glisser.",
924
924
  dragDescriptionLongPress: "Appuyez de mani\xE8re prolong\xE9e pour commencer \xE0 faire glisser.",
@@ -959,8 +959,8 @@ Oe = {
959
959
  insertBefore: (u) => `Ins\xE9rer avant ${u.itemText}`,
960
960
  insertBetween: (u) => `Ins\xE9rer entre ${u.beforeItemText} et ${u.afterItemText}`
961
961
  };
962
- var Ne = {};
963
- Ne = {
962
+ var Oe = {};
963
+ Oe = {
964
964
  dragDescriptionKeyboard: "\u05D4\u05E7\u05E9 \u05E2\u05DC Enter \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",
965
965
  dragDescriptionKeyboardAlt: "\u05D4\u05E7\u05E9 Alt + Enter \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",
966
966
  dragDescriptionLongPress: "\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05DC\u05D2\u05E8\u05D5\u05E8.",
@@ -1001,8 +1001,8 @@ Ne = {
1001
1001
  insertBefore: (u) => `\u05D4\u05D5\u05E1\u05E3 \u05DC\u05E4\u05E0\u05D9 ${u.itemText}`,
1002
1002
  insertBetween: (u) => `\u05D4\u05D5\u05E1\u05E3 \u05D1\u05D9\u05DF ${u.beforeItemText} \u05DC\u05D1\u05D9\u05DF ${u.afterItemText}`
1003
1003
  };
1004
- var Re = {};
1005
- Re = {
1004
+ var Ne = {};
1005
+ Ne = {
1006
1006
  dragDescriptionKeyboard: "Pritisnite Enter da biste po\u010Deli povla\u010Diti.",
1007
1007
  dragDescriptionKeyboardAlt: "Pritisnite Alt + Enter za po\u010Detak povla\u010Denja.",
1008
1008
  dragDescriptionLongPress: "Dugo pritisnite za po\u010Detak povla\u010Denja.",
@@ -1043,8 +1043,8 @@ Re = {
1043
1043
  insertBefore: (u) => `Ispustite ispred stavke ${u.itemText}`,
1044
1044
  insertBetween: (u) => `Umetnite izme\u0111u stavki ${u.beforeItemText} i ${u.afterItemText}`
1045
1045
  };
1046
- var Me = {};
1047
- Me = {
1046
+ var Re = {};
1047
+ Re = {
1048
1048
  dragDescriptionKeyboard: "Nyomja le az Enter billenty\u0171t a h\xFAz\xE1s megkezd\xE9s\xE9hez.",
1049
1049
  dragDescriptionKeyboardAlt: "Nyomja le az Alt + Enter billenty\u0171ket a h\xFAz\xE1s megkezd\xE9s\xE9hez.",
1050
1050
  dragDescriptionLongPress: "Hosszan nyomja meg a h\xFAz\xE1s elind\xEDt\xE1s\xE1hoz.",
@@ -1085,8 +1085,8 @@ Me = {
1085
1085
  insertBefore: (u) => `Besz\xFAr\xE1s ${u.itemText} el\xE9`,
1086
1086
  insertBetween: (u) => `Besz\xFAr\xE1s ${u.beforeItemText} \xE9s ${u.afterItemText} k\xF6z\xE9`
1087
1087
  };
1088
- var He = {};
1089
- He = {
1088
+ var Me = {};
1089
+ Me = {
1090
1090
  dragDescriptionKeyboard: "Premi Invio per iniziare a trascinare.",
1091
1091
  dragDescriptionKeyboardAlt: "Premi Alt + Invio per iniziare a trascinare.",
1092
1092
  dragDescriptionLongPress: "Premi a lungo per iniziare a trascinare.",
@@ -1127,8 +1127,8 @@ He = {
1127
1127
  insertBefore: (u) => `Inserisci prima di ${u.itemText}`,
1128
1128
  insertBetween: (u) => `Inserisci tra ${u.beforeItemText} e ${u.afterItemText}`
1129
1129
  };
1130
- var qe = {};
1131
- qe = {
1130
+ var He = {};
1131
+ He = {
1132
1132
  dragDescriptionKeyboard: "Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
1133
1133
  dragDescriptionKeyboardAlt: "Alt+Enter \u30AD\u30FC\u3092\u62BC\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",
1134
1134
  dragDescriptionLongPress: "\u9577\u62BC\u3057\u3057\u3066\u30C9\u30E9\u30C3\u30B0\u3092\u958B\u59CB\u3057\u307E\u3059\u3002",
@@ -1169,8 +1169,8 @@ qe = {
1169
1169
  insertBefore: (u) => `${u.itemText} \u306E\u524D\u306B\u633F\u5165`,
1170
1170
  insertBetween: (u) => `${u.beforeItemText} \u3068 ${u.afterItemText} \u306E\u9593\u306B\u633F\u5165`
1171
1171
  };
1172
- var Ue = {};
1173
- Ue = {
1172
+ var qe = {};
1173
+ qe = {
1174
1174
  dragDescriptionKeyboard: "\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 Enter\uB97C \uB204\uB974\uC138\uC694.",
1175
1175
  dragDescriptionKeyboardAlt: "\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 Alt + Enter\uB97C \uB204\uB974\uC2ED\uC2DC\uC624.",
1176
1176
  dragDescriptionLongPress: "\uB4DC\uB798\uADF8\uB97C \uC2DC\uC791\uD558\uB824\uBA74 \uAE38\uAC8C \uB204\uB974\uC2ED\uC2DC\uC624.",
@@ -1211,8 +1211,8 @@ Ue = {
1211
1211
  insertBefore: (u) => `${u.itemText} \uC774\uC804\uC5D0 \uC0BD\uC785`,
1212
1212
  insertBetween: (u) => `${u.beforeItemText} \uBC0F ${u.afterItemText} \uC0AC\uC774\uC5D0 \uC0BD\uC785`
1213
1213
  };
1214
- var Ge = {};
1215
- Ge = {
1214
+ var Ue = {};
1215
+ Ue = {
1216
1216
  dragDescriptionKeyboard: "Paspauskite \u201EEnter\u201C, kad prad\u0117tum\u0117te vilkti.",
1217
1217
  dragDescriptionKeyboardAlt: "Paspauskite \u201EAlt + Enter\u201C, kad prad\u0117tum\u0117te vilkti.",
1218
1218
  dragDescriptionLongPress: "Palaikykite nuspaud\u0119, kad prad\u0117tum\u0117te vilkti.",
@@ -1253,8 +1253,8 @@ Ge = {
1253
1253
  insertBefore: (u) => `\u012Eterpti prie\u0161 ${u.itemText}`,
1254
1254
  insertBetween: (u) => `\u012Eterpti tarp ${u.beforeItemText} ir ${u.afterItemText}`
1255
1255
  };
1256
- var _e = {};
1257
- _e = {
1256
+ var Ge = {};
1257
+ Ge = {
1258
1258
  dragDescriptionKeyboard: "Nospiediet Enter, lai s\u0101ktu vilk\u0161anu.",
1259
1259
  dragDescriptionKeyboardAlt: "Nospiediet tausti\u0146u kombin\u0101ciju Alt+Enter, lai s\u0101ktu vilk\u0161anu.",
1260
1260
  dragDescriptionLongPress: "Turiet nospiestu, lai s\u0101ktu vilk\u0161anu.",
@@ -1799,8 +1799,8 @@ at = {
1799
1799
  insertBefore: (u) => `${u.itemText}\u2019den \xF6nce gir`,
1800
1800
  insertBetween: (u) => `${u.beforeItemText} ve ${u.afterItemText} aras\u0131na gir`
1801
1801
  };
1802
- var it = {};
1803
- it = {
1802
+ var ot = {};
1803
+ ot = {
1804
1804
  dragDescriptionKeyboard: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",
1805
1805
  dragDescriptionKeyboardAlt: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Alt + Enter, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",
1806
1806
  dragDescriptionLongPress: "\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0456 \u0443\u0442\u0440\u0438\u043C\u0443\u0439\u0442\u0435, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u043F\u0435\u0440\u0435\u0442\u044F\u0433\u0443\u0432\u0430\u043D\u043D\u044F.",
@@ -1841,8 +1841,8 @@ it = {
1841
1841
  insertBefore: (u) => `\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043F\u0435\u0440\u0435\u0434 ${u.itemText}`,
1842
1842
  insertBetween: (u) => `\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043C\u0456\u0436 ${u.beforeItemText} \u0456 ${u.afterItemText}`
1843
1843
  };
1844
- var ot = {};
1845
- ot = {
1844
+ var it = {};
1845
+ it = {
1846
1846
  dragDescriptionKeyboard: "\u6309 Enter \u5F00\u59CB\u62D6\u52A8\u3002",
1847
1847
  dragDescriptionKeyboardAlt: "\u6309 Alt + Enter \u5F00\u59CB\u62D6\u52A8\u3002",
1848
1848
  dragDescriptionLongPress: "\u957F\u6309\u4EE5\u5F00\u59CB\u62D6\u52A8\u3002",
@@ -1958,7 +1958,7 @@ const Er = /* @__PURE__ */ new Set([
1958
1958
  "text/plain",
1959
1959
  "text/uri-list",
1960
1960
  "text/html"
1961
- ]), gu = "application/vnd.react-aria.items+json", Eu = "application/octet-stream", Br = Symbol();
1961
+ ]), Cu = "application/vnd.react-aria.items+json", Eu = "application/octet-stream", Br = Symbol();
1962
1962
  function mu(u) {
1963
1963
  let e = /* @__PURE__ */ new Set();
1964
1964
  for (let t of u)
@@ -1977,28 +1977,28 @@ function mt() {
1977
1977
  }
1978
1978
  function br(u, e) {
1979
1979
  let t = /* @__PURE__ */ new Map(), r = !1, n = [];
1980
- for (let o of e) {
1981
- let s = Object.keys(o);
1980
+ for (let i of e) {
1981
+ let s = Object.keys(i);
1982
1982
  s.length > 1 && (r = !0);
1983
1983
  let p = {};
1984
1984
  for (let l of s) {
1985
1985
  let f = t.get(l);
1986
1986
  f ? r = !0 : (f = [], t.set(l, f));
1987
- let m = o[l];
1987
+ let m = i[l];
1988
1988
  p[l] = m, f.push(m);
1989
1989
  }
1990
1990
  n.push(p);
1991
1991
  }
1992
- for (let [o, s] of t)
1993
- if (Er.has(o)) {
1992
+ for (let [i, s] of t)
1993
+ if (Er.has(i)) {
1994
1994
  let p = s.join(`
1995
1995
  `);
1996
- u.items.add(p, o);
1996
+ u.items.add(p, i);
1997
1997
  } else
1998
- u.items.add(s[0], o);
1998
+ u.items.add(s[0], i);
1999
1999
  if (r) {
2000
- let o = JSON.stringify(n);
2001
- u.items.add(o, gu);
2000
+ let i = JSON.stringify(n);
2001
+ u.items.add(i, Cu);
2002
2002
  }
2003
2003
  }
2004
2004
  class du {
@@ -2009,20 +2009,20 @@ class du {
2009
2009
  this.types = /* @__PURE__ */ new Set();
2010
2010
  let t = !1;
2011
2011
  for (let r of e.items)
2012
- r.type !== gu && (r.kind === "file" && (t = !0), r.type ? this.types.add(r.type) : this.types.add(Eu));
2012
+ r.type !== Cu && (r.kind === "file" && (t = !0), r.type ? this.types.add(r.type) : this.types.add(Eu));
2013
2013
  this.includesUnknownTypes = !t && e.types.includes("Files");
2014
2014
  }
2015
2015
  }
2016
2016
  function xr(u) {
2017
2017
  let e = [], t = !1;
2018
- if (u.types.includes(gu))
2018
+ if (u.types.includes(Cu))
2019
2019
  try {
2020
- let r = u.getData(gu), n = JSON.parse(r);
2021
- for (let o of n)
2020
+ let r = u.getData(Cu), n = JSON.parse(r);
2021
+ for (let i of n)
2022
2022
  e.push({
2023
2023
  kind: "text",
2024
- types: new Set(Object.keys(o)),
2025
- getText: (s) => Promise.resolve(o[s])
2024
+ types: new Set(Object.keys(i)),
2025
+ getText: (s) => Promise.resolve(i[s])
2026
2026
  });
2027
2027
  t = !0;
2028
2028
  } catch {
@@ -2034,12 +2034,12 @@ function xr(u) {
2034
2034
  r.set(n.type || Eu, u.getData(n.type));
2035
2035
  else if (n.kind === "file")
2036
2036
  if (typeof n.webkitGetAsEntry == "function") {
2037
- let o = n.webkitGetAsEntry();
2038
- if (!o)
2037
+ let i = n.webkitGetAsEntry();
2038
+ if (!i)
2039
2039
  continue;
2040
- o.isFile ? e.push(Ou(n.getAsFile())) : o.isDirectory && e.push(ft(o));
2040
+ i.isFile ? e.push(Vu(n.getAsFile())) : i.isDirectory && e.push(ft(i));
2041
2041
  } else
2042
- e.push(Ou(n.getAsFile()));
2042
+ e.push(Vu(n.getAsFile()));
2043
2043
  r.size > 0 && e.push({
2044
2044
  kind: "text",
2045
2045
  types: new Set(r.keys()),
@@ -2056,7 +2056,7 @@ function hr(u) {
2056
2056
  }, r.onerror = t, r.readAsText(u);
2057
2057
  });
2058
2058
  }
2059
- function Ou(u) {
2059
+ function Vu(u) {
2060
2060
  return {
2061
2061
  kind: "file",
2062
2062
  type: u.type || Eu,
@@ -2081,7 +2081,7 @@ async function* $r(u) {
2081
2081
  for (let r of t)
2082
2082
  if (r.isFile) {
2083
2083
  let n = await vr(r);
2084
- yield Ou(n);
2084
+ yield Vu(n);
2085
2085
  } else
2086
2086
  r.isDirectory && (yield ft(r));
2087
2087
  } while (t.length > 0);
@@ -2089,37 +2089,37 @@ async function* $r(u) {
2089
2089
  function vr(u) {
2090
2090
  return new Promise((e, t) => u.file(e, t));
2091
2091
  }
2092
- let Ct = {
2092
+ let gt = {
2093
2093
  draggingKeys: /* @__PURE__ */ new Set()
2094
2094
  };
2095
2095
  function kr(u) {
2096
- Ct = u;
2096
+ gt = u;
2097
2097
  }
2098
2098
  let fu;
2099
2099
  function Bu(u) {
2100
2100
  fu = u;
2101
2101
  }
2102
- let Nu = x.none;
2102
+ let Ou = x.none;
2103
2103
  function zu(u) {
2104
- Nu = u;
2104
+ Ou = u;
2105
2105
  }
2106
- let Ru = /* @__PURE__ */ new Map(), Lu = /* @__PURE__ */ new Map(), F = null, bu = /* @__PURE__ */ new Set();
2106
+ let Nu = /* @__PURE__ */ new Map(), wu = /* @__PURE__ */ new Map(), F = null, bu = /* @__PURE__ */ new Set();
2107
2107
  function yr(u) {
2108
- return Ru.set(u.element, u), F == null || F.updateValidDropTargets(), () => {
2109
- Ru.delete(u.element), F == null || F.updateValidDropTargets();
2108
+ return Nu.set(u.element, u), F == null || F.updateValidDropTargets(), () => {
2109
+ Nu.delete(u.element), F == null || F.updateValidDropTargets();
2110
2110
  };
2111
2111
  }
2112
2112
  function Ar(u, e) {
2113
2113
  if (F)
2114
2114
  throw new Error("Cannot begin dragging while already dragging");
2115
- F = new Lr(u, e), requestAnimationFrame(() => {
2115
+ F = new wr(u, e), requestAnimationFrame(() => {
2116
2116
  F.setup(), mt() === "keyboard" && F.next();
2117
2117
  });
2118
2118
  for (let t of bu)
2119
2119
  t();
2120
2120
  }
2121
2121
  function Tr() {
2122
- let [u, e] = j(F);
2122
+ let [u, e] = P(F);
2123
2123
  return hu(() => {
2124
2124
  let t = () => e(F);
2125
2125
  return bu.add(t), () => {
@@ -2161,7 +2161,7 @@ const se = [
2161
2161
  touch: "dragStartedTouch",
2162
2162
  virtual: "dragStartedVirtual"
2163
2163
  };
2164
- class Lr {
2164
+ class wr {
2165
2165
  setup() {
2166
2166
  document.addEventListener("keydown", this.onKeyDown, !0), document.addEventListener("keyup", this.onKeyUp, !0), window.addEventListener("focus", this.onFocus, !0), window.addEventListener("blur", this.onBlur, !0), document.addEventListener("click", this.onClick, !0), document.addEventListener("pointerdown", this.onPointerDown, !0);
2167
2167
  for (let e of se)
@@ -2193,21 +2193,21 @@ class Lr {
2193
2193
  this.currentDropTarget ? this.currentDropTarget.element.focus() : this.dragTarget.element.focus();
2194
2194
  return;
2195
2195
  }
2196
- let r = Lu.get(e.target);
2196
+ let r = wu.get(e.target);
2197
2197
  this.setCurrentDropTarget(t, r);
2198
2198
  }
2199
2199
  onBlur(e) {
2200
2200
  e.target !== this.dragTarget.element && this.cancelEvent(e), (!e.relatedTarget || !(e.relatedTarget instanceof HTMLElement)) && (this.currentDropTarget ? this.currentDropTarget.element.focus() : this.dragTarget.element.focus());
2201
2201
  }
2202
2202
  onClick(e) {
2203
- if (this.cancelEvent(e), Gu(e) || this.isVirtualClick) {
2203
+ if (this.cancelEvent(e), Uu(e) || this.isVirtualClick) {
2204
2204
  if (e.target === this.dragTarget.element) {
2205
2205
  this.cancel();
2206
2206
  return;
2207
2207
  }
2208
2208
  let t = this.validDropTargets.find((r) => r.element.contains(e.target));
2209
2209
  if (t) {
2210
- let r = Lu.get(e.target);
2210
+ let r = wu.get(e.target);
2211
2211
  this.setCurrentDropTarget(t, r), this.drop(r);
2212
2212
  }
2213
2213
  }
@@ -2222,7 +2222,7 @@ class Lr {
2222
2222
  updateValidDropTargets() {
2223
2223
  if (!this.mutationObserver)
2224
2224
  return;
2225
- if (this.mutationObserver.disconnect(), this.restoreAriaHidden && this.restoreAriaHidden(), this.validDropTargets = wr(this.dragTarget), this.validDropTargets.length > 0) {
2225
+ if (this.mutationObserver.disconnect(), this.restoreAriaHidden && this.restoreAriaHidden(), this.validDropTargets = Lr(this.dragTarget), this.validDropTargets.length > 0) {
2226
2226
  let n = this.findNearestDropTarget();
2227
2227
  this.validDropTargets = [
2228
2228
  ...this.validDropTargets.slice(n),
@@ -2231,9 +2231,9 @@ class Lr {
2231
2231
  }
2232
2232
  this.currentDropTarget && !this.validDropTargets.includes(this.currentDropTarget) && this.setCurrentDropTarget(this.validDropTargets[0]);
2233
2233
  let e = mu(this.dragTarget.items), t = [
2234
- ...Lu.values()
2235
- ].filter((n) => typeof n.getDropOperation == "function" ? n.getDropOperation(e, this.dragTarget.allowedDropOperations) !== "cancel" : !0), r = this.validDropTargets.filter((n) => !t.some((o) => n.element.contains(o.element)));
2236
- this.restoreAriaHidden = gr([
2234
+ ...wu.values()
2235
+ ].filter((n) => typeof n.getDropOperation == "function" ? n.getDropOperation(e, this.dragTarget.allowedDropOperations) !== "cancel" : !0), r = this.validDropTargets.filter((n) => !t.some((i) => n.element.contains(i.element)));
2236
+ this.restoreAriaHidden = Cr([
2237
2237
  this.dragTarget.element,
2238
2238
  ...t.map((n) => n.element),
2239
2239
  ...r.map((n) => n.element)
@@ -2337,7 +2337,7 @@ class Lr {
2337
2337
  let t = this.dragTarget.items.map((n) => ({
2338
2338
  kind: "text",
2339
2339
  types: new Set(Object.keys(n)),
2340
- getText: (o) => Promise.resolve(n[o])
2340
+ getText: (i) => Promise.resolve(n[i])
2341
2341
  })), r = this.currentDropTarget.element.getBoundingClientRect();
2342
2342
  this.currentDropTarget.onDrop({
2343
2343
  type: "drop",
@@ -2363,10 +2363,10 @@ class Lr {
2363
2363
  this.dragTarget = e, this.stringFormatter = t, this.onKeyDown = this.onKeyDown.bind(this), this.onKeyUp = this.onKeyUp.bind(this), this.onFocus = this.onFocus.bind(this), this.onBlur = this.onBlur.bind(this), this.onClick = this.onClick.bind(this), this.onPointerDown = this.onPointerDown.bind(this), this.cancelEvent = this.cancelEvent.bind(this), this.initialFocused = !1;
2364
2364
  }
2365
2365
  }
2366
- function wr(u) {
2366
+ function Lr(u) {
2367
2367
  let e = mu(u.items);
2368
2368
  return [
2369
- ...Ru.values()
2369
+ ...Nu.values()
2370
2370
  ].filter((t) => t.element.closest('[aria-hidden="true"]') ? !1 : typeof t.getDropOperation == "function" ? t.getDropOperation(e, u.allowedDropOperations) !== "cancel" : !0);
2371
2371
  }
2372
2372
  var Ju = {};
@@ -2374,22 +2374,22 @@ Ju = {
2374
2374
  "ar-AE": Fe,
2375
2375
  "bg-BG": Se,
2376
2376
  "cs-CZ": ze,
2377
- "da-DK": Le,
2378
- "de-DE": we,
2379
- "el-GR": Ke,
2380
- "en-US": Ie,
2381
- "es-ES": Pe,
2382
- "et-EE": je,
2383
- "fi-FI": Ve,
2384
- "fr-FR": Oe,
2385
- "he-IL": Ne,
2386
- "hr-HR": Re,
2387
- "hu-HU": Me,
2388
- "it-IT": He,
2389
- "ja-JP": qe,
2390
- "ko-KR": Ue,
2391
- "lt-LT": Ge,
2392
- "lv-LV": _e,
2377
+ "da-DK": we,
2378
+ "de-DE": Le,
2379
+ "el-GR": _e,
2380
+ "en-US": Ke,
2381
+ "es-ES": Ie,
2382
+ "et-EE": Pe,
2383
+ "fi-FI": je,
2384
+ "fr-FR": Ve,
2385
+ "he-IL": Oe,
2386
+ "hr-HR": Ne,
2387
+ "hu-HU": Re,
2388
+ "it-IT": Me,
2389
+ "ja-JP": He,
2390
+ "ko-KR": qe,
2391
+ "lt-LT": Ue,
2392
+ "lv-LV": Ge,
2393
2393
  "nb-NO": Ze,
2394
2394
  "nl-NL": Je,
2395
2395
  "pl-PL": Xe,
@@ -2402,8 +2402,8 @@ Ju = {
2402
2402
  "sr-SP": rt,
2403
2403
  "sv-SE": nt,
2404
2404
  "tr-TR": at,
2405
- "uk-UA": it,
2406
- "zh-CN": ot,
2405
+ "uk-UA": ot,
2406
+ "zh-CN": it,
2407
2407
  "zh-TW": lt
2408
2408
  };
2409
2409
  const ce = {
@@ -2420,16 +2420,16 @@ const ce = {
2420
2420
  end: "endDragVirtual"
2421
2421
  }
2422
2422
  };
2423
- function Kr(u) {
2424
- let { hasDragButton: e } = u, t = Ae(/* @__PURE__ */ dt(Ju), "@react-aria/dnd"), r = P({
2423
+ function _r(u) {
2424
+ let { hasDragButton: e } = u, t = Ae(/* @__PURE__ */ dt(Ju), "@react-aria/dnd"), r = I({
2425
2425
  options: u,
2426
2426
  x: 0,
2427
2427
  y: 0
2428
2428
  }).current;
2429
2429
  r.options = u;
2430
- let n = P(!1), [o, s] = j(!1), p = (a) => {
2430
+ let n = I(!1), [i, s] = P(!1), p = (a) => {
2431
2431
  n.current = a, s(a);
2432
- }, { addGlobalListener: l, removeAllGlobalListeners: f } = _t(), m = P(null), w = (a) => {
2432
+ }, { addGlobalListener: l, removeAllGlobalListeners: f } = Gt(), m = I(null), L = (a) => {
2433
2433
  var D;
2434
2434
  if (a.defaultPrevented)
2435
2435
  return;
@@ -2446,18 +2446,18 @@ function Kr(u) {
2446
2446
  br(a.dataTransfer, b);
2447
2447
  let h = x.all;
2448
2448
  if (typeof u.getAllowedDropOperations == "function") {
2449
- let g = u.getAllowedDropOperations();
2449
+ let C = u.getAllowedDropOperations();
2450
2450
  h = x.none;
2451
- for (let $ of g)
2451
+ for (let $ of C)
2452
2452
  h |= x[$] || x.none;
2453
2453
  }
2454
- zu(h), a.dataTransfer.effectAllowed = ct[h] || "none", typeof ((D = u.preview) === null || D === void 0 ? void 0 : D.current) == "function" && u.preview.current(b, (g) => {
2455
- let $ = g.getBoundingClientRect(), O = a.currentTarget.getBoundingClientRect(), N = a.clientX - O.x, Z = a.clientY - O.y;
2456
- (N > $.width || Z > $.height) && (N = $.width / 2, Z = $.height / 2);
2454
+ zu(h), a.dataTransfer.effectAllowed = ct[h] || "none", typeof ((D = u.preview) === null || D === void 0 ? void 0 : D.current) == "function" && u.preview.current(b, (C) => {
2455
+ let $ = C.getBoundingClientRect(), V = a.currentTarget.getBoundingClientRect(), O = a.clientX - V.x, Z = a.clientY - V.y;
2456
+ (O > $.width || Z > $.height) && (O = $.width / 2, Z = $.height / 2);
2457
2457
  let uu = 2 * Math.round($.height / 2);
2458
- g.style.height = `${uu}px`, a.dataTransfer.setDragImage(g, N, Z);
2459
- }), l(window, "drop", (g) => {
2460
- g.preventDefault(), g.stopPropagation(), console.warn("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.");
2458
+ C.style.height = `${uu}px`, a.dataTransfer.setDragImage(C, O, Z);
2459
+ }), l(window, "drop", (C) => {
2460
+ C.preventDefault(), C.stopPropagation(), console.warn("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.");
2461
2461
  }, {
2462
2462
  once: !0
2463
2463
  }), r.x = a.clientX, r.y = a.clientY, requestAnimationFrame(() => {
@@ -2497,7 +2497,7 @@ function Kr(u) {
2497
2497
  }, [
2498
2498
  r
2499
2499
  ]);
2500
- let K = (a) => {
2500
+ let _ = (a) => {
2501
2501
  a.pointerType !== "keyboard" && a.pointerType !== "virtual" || B(a.target);
2502
2502
  }, B = (a) => {
2503
2503
  if (typeof r.options.onDragStart == "function") {
@@ -2520,15 +2520,15 @@ function Kr(u) {
2520
2520
  p(!1), typeof r.options.onDragEnd == "function" && r.options.onDragEnd(D);
2521
2521
  }
2522
2522
  }, t), p(!0);
2523
- }, T = Dt(), S = o ? ce[T].end : ce[T].start, i = ve(t.format(S)), c;
2523
+ }, T = Dt(), S = i ? ce[T].end : ce[T].start, o = ve(t.format(S)), c;
2524
2524
  return e || (c = {
2525
- ...i,
2525
+ ...o,
2526
2526
  onPointerDown(a) {
2527
2527
  if (m.current = ke(a.nativeEvent) ? "virtual" : a.pointerType, a.width < 1 && a.height < 1)
2528
2528
  m.current = "virtual";
2529
2529
  else {
2530
- let D = a.currentTarget.getBoundingClientRect(), b = a.clientX - D.x, h = a.clientY - D.y, g = D.width / 2, $ = D.height / 2;
2531
- Math.abs(b - g) <= 0.5 && Math.abs(h - $) <= 0.5 ? m.current = "virtual" : m.current = a.pointerType;
2530
+ let D = a.currentTarget.getBoundingClientRect(), b = a.clientX - D.x, h = a.clientY - D.y, C = D.width / 2, $ = D.height / 2;
2531
+ Math.abs(b - C) <= 0.5 && Math.abs(h - $) <= 0.5 ? m.current = "virtual" : m.current = a.pointerType;
2532
2532
  }
2533
2533
  },
2534
2534
  onKeyDownCapture(a) {
@@ -2538,88 +2538,88 @@ function Kr(u) {
2538
2538
  a.target === a.currentTarget && a.key === "Enter" && (a.preventDefault(), a.stopPropagation(), B(a.target));
2539
2539
  },
2540
2540
  onClick(a) {
2541
- (Gu(a.nativeEvent) || m.current === "virtual") && (a.preventDefault(), a.stopPropagation(), B(a.target));
2541
+ (Uu(a.nativeEvent) || m.current === "virtual") && (a.preventDefault(), a.stopPropagation(), B(a.target));
2542
2542
  }
2543
2543
  }), {
2544
2544
  dragProps: {
2545
2545
  ...c,
2546
2546
  draggable: "true",
2547
- onDragStart: w,
2547
+ onDragStart: L,
2548
2548
  onDrag: E,
2549
2549
  onDragEnd: k
2550
2550
  },
2551
2551
  dragButtonProps: {
2552
- ...i,
2553
- onPress: K
2552
+ ...o,
2553
+ onPress: _
2554
2554
  },
2555
- isDragging: o
2555
+ isDragging: i
2556
2556
  };
2557
2557
  }
2558
- const Ir = {
2558
+ const Kr = {
2559
2559
  keyboard: "dropDescriptionKeyboard",
2560
2560
  touch: "dropDescriptionTouch",
2561
2561
  virtual: "dropDescriptionVirtual"
2562
2562
  };
2563
- function Pr() {
2563
+ function Ir() {
2564
2564
  let u = Ae(/* @__PURE__ */ dt(Ju), "@react-aria/dnd"), e = Dt(), t = Tr();
2565
2565
  return {
2566
2566
  dropProps: {
2567
- ...ve(t ? u.format(Ir[e]) : ""),
2567
+ ...ve(t ? u.format(Kr[e]) : ""),
2568
2568
  onClick: () => {
2569
2569
  }
2570
2570
  }
2571
2571
  };
2572
2572
  }
2573
- const jr = 800;
2574
- function Vr(u) {
2575
- let { hasDropButton: e } = u, [t, r] = j(!1), n = P({
2573
+ const Pr = 800;
2574
+ function jr(u) {
2575
+ let { hasDropButton: e } = u, [t, r] = P(!1), n = I({
2576
2576
  x: 0,
2577
2577
  y: 0,
2578
2578
  dragOverElements: /* @__PURE__ */ new Set(),
2579
2579
  dropEffect: "none",
2580
2580
  allowedOperations: x.all,
2581
2581
  dropActivateTimer: null
2582
- }).current, o = (i) => {
2582
+ }).current, i = (o) => {
2583
2583
  if (r(!0), typeof u.onDropEnter == "function") {
2584
- let c = i.currentTarget.getBoundingClientRect();
2584
+ let c = o.currentTarget.getBoundingClientRect();
2585
2585
  u.onDropEnter({
2586
2586
  type: "dropenter",
2587
- x: i.clientX - c.x,
2588
- y: i.clientY - c.y
2587
+ x: o.clientX - c.x,
2588
+ y: o.clientY - c.y
2589
2589
  });
2590
2590
  }
2591
- }, s = (i) => {
2591
+ }, s = (o) => {
2592
2592
  if (r(!1), typeof u.onDropExit == "function") {
2593
- let c = i.currentTarget.getBoundingClientRect();
2593
+ let c = o.currentTarget.getBoundingClientRect();
2594
2594
  u.onDropExit({
2595
2595
  type: "dropexit",
2596
- x: i.clientX - c.x,
2597
- y: i.clientY - c.y
2596
+ x: o.clientX - c.x,
2597
+ y: o.clientY - c.y
2598
2598
  });
2599
2599
  }
2600
- }, p = (i) => {
2601
- i.preventDefault(), i.stopPropagation();
2602
- let c = pe(i);
2603
- if (i.clientX === n.x && i.clientY === n.y && c === n.allowedOperations) {
2604
- i.dataTransfer.dropEffect = n.dropEffect;
2600
+ }, p = (o) => {
2601
+ o.preventDefault(), o.stopPropagation();
2602
+ let c = pe(o);
2603
+ if (o.clientX === n.x && o.clientY === n.y && c === n.allowedOperations) {
2604
+ o.dataTransfer.dropEffect = n.dropEffect;
2605
2605
  return;
2606
2606
  }
2607
- n.x = i.clientX, n.y = i.clientY;
2607
+ n.x = o.clientX, n.y = o.clientY;
2608
2608
  let a = n.dropEffect;
2609
2609
  if (c !== n.allowedOperations) {
2610
- let D = wu(c), b = D[0];
2610
+ let D = Lu(c), b = D[0];
2611
2611
  if (typeof u.getDropOperation == "function") {
2612
- let h = new du(i.dataTransfer);
2612
+ let h = new du(o.dataTransfer);
2613
2613
  b = su(c, u.getDropOperation(h, D));
2614
2614
  }
2615
2615
  n.dropEffect = Su[b] || "none";
2616
2616
  }
2617
2617
  if (typeof u.getDropOperationForPoint == "function") {
2618
- let D = new du(i.dataTransfer), b = i.currentTarget.getBoundingClientRect(), h = su(c, u.getDropOperationForPoint(D, wu(c), n.x - b.x, n.y - b.y));
2618
+ let D = new du(o.dataTransfer), b = o.currentTarget.getBoundingClientRect(), h = su(c, u.getDropOperationForPoint(D, Lu(c), n.x - b.x, n.y - b.y));
2619
2619
  n.dropEffect = Su[h] || "none";
2620
2620
  }
2621
- if (n.allowedOperations = c, i.dataTransfer.dropEffect = n.dropEffect, n.dropEffect === "none" && a !== "none" ? s(i) : n.dropEffect !== "none" && a === "none" && o(i), typeof u.onDropMove == "function" && n.dropEffect !== "none") {
2622
- let D = i.currentTarget.getBoundingClientRect();
2621
+ if (n.allowedOperations = c, o.dataTransfer.dropEffect = n.dropEffect, n.dropEffect === "none" && a !== "none" ? s(o) : n.dropEffect !== "none" && a === "none" && i(o), typeof u.onDropMove == "function" && n.dropEffect !== "none") {
2622
+ let D = o.currentTarget.getBoundingClientRect();
2623
2623
  u.onDropMove({
2624
2624
  type: "dropmove",
2625
2625
  x: n.x - D.x,
@@ -2627,77 +2627,77 @@ function Vr(u) {
2627
2627
  });
2628
2628
  }
2629
2629
  if (clearTimeout(n.dropActivateTimer), typeof u.onDropActivate == "function" && n.dropEffect !== "none") {
2630
- let D = i.currentTarget.getBoundingClientRect();
2630
+ let D = o.currentTarget.getBoundingClientRect();
2631
2631
  n.dropActivateTimer = setTimeout(() => {
2632
2632
  u.onDropActivate({
2633
2633
  type: "dropactivate",
2634
2634
  x: n.x - D.x,
2635
2635
  y: n.y - D.y
2636
2636
  });
2637
- }, jr);
2637
+ }, Pr);
2638
2638
  }
2639
- }, l = (i) => {
2640
- if (i.preventDefault(), i.stopPropagation(), n.dragOverElements.add(i.target), n.dragOverElements.size > 1)
2639
+ }, l = (o) => {
2640
+ if (o.preventDefault(), o.stopPropagation(), n.dragOverElements.add(o.target), n.dragOverElements.size > 1)
2641
2641
  return;
2642
- let c = pe(i), a = wu(c), D = a[0];
2642
+ let c = pe(o), a = Lu(c), D = a[0];
2643
2643
  if (typeof u.getDropOperation == "function") {
2644
- let b = new du(i.dataTransfer);
2644
+ let b = new du(o.dataTransfer);
2645
2645
  D = su(c, u.getDropOperation(b, a));
2646
2646
  }
2647
2647
  if (typeof u.getDropOperationForPoint == "function") {
2648
- let b = new du(i.dataTransfer), h = i.currentTarget.getBoundingClientRect();
2649
- D = su(c, u.getDropOperationForPoint(b, a, i.clientX - h.x, i.clientY - h.y));
2648
+ let b = new du(o.dataTransfer), h = o.currentTarget.getBoundingClientRect();
2649
+ D = su(c, u.getDropOperationForPoint(b, a, o.clientX - h.x, o.clientY - h.y));
2650
2650
  }
2651
- n.x = i.clientX, n.y = i.clientY, n.allowedOperations = c, n.dropEffect = Su[D] || "none", i.dataTransfer.dropEffect = n.dropEffect, D !== "cancel" && o(i);
2652
- }, f = (i) => {
2653
- i.preventDefault(), i.stopPropagation(), n.dragOverElements.delete(i.target);
2651
+ n.x = o.clientX, n.y = o.clientY, n.allowedOperations = c, n.dropEffect = Su[D] || "none", o.dataTransfer.dropEffect = n.dropEffect, D !== "cancel" && i(o);
2652
+ }, f = (o) => {
2653
+ o.preventDefault(), o.stopPropagation(), n.dragOverElements.delete(o.target);
2654
2654
  for (let c of n.dragOverElements)
2655
- i.currentTarget.contains(c) || n.dragOverElements.delete(c);
2656
- n.dragOverElements.size > 0 || (n.dropEffect !== "none" && s(i), clearTimeout(n.dropActivateTimer));
2657
- }, m = (i) => {
2658
- if (i.preventDefault(), i.stopPropagation(), Bu(n.dropEffect), typeof u.onDrop == "function") {
2659
- let a = Q[n.dropEffect], D = xr(i.dataTransfer), b = i.currentTarget.getBoundingClientRect(), h = {
2655
+ o.currentTarget.contains(c) || n.dragOverElements.delete(c);
2656
+ n.dragOverElements.size > 0 || (n.dropEffect !== "none" && s(o), clearTimeout(n.dropActivateTimer));
2657
+ }, m = (o) => {
2658
+ if (o.preventDefault(), o.stopPropagation(), Bu(n.dropEffect), typeof u.onDrop == "function") {
2659
+ let a = Q[n.dropEffect], D = xr(o.dataTransfer), b = o.currentTarget.getBoundingClientRect(), h = {
2660
2660
  type: "drop",
2661
- x: i.clientX - b.x,
2662
- y: i.clientY - b.y,
2661
+ x: o.clientX - b.x,
2662
+ y: o.clientY - b.y,
2663
2663
  items: D,
2664
2664
  dropOperation: a
2665
2665
  };
2666
2666
  u.onDrop(h);
2667
2667
  }
2668
2668
  let c = {
2669
- ...Ct
2669
+ ...gt
2670
2670
  };
2671
- n.dragOverElements.clear(), s(i), clearTimeout(n.dropActivateTimer), c.draggingCollectionRef == null ? Bu(void 0) : kr(c);
2672
- }, w = J((i) => {
2673
- typeof u.onDropEnter == "function" && u.onDropEnter(i);
2674
- }), E = J((i) => {
2675
- typeof u.onDropExit == "function" && u.onDropExit(i);
2676
- }), k = J((i) => {
2677
- typeof u.onDropActivate == "function" && u.onDropActivate(i);
2678
- }), K = J((i) => {
2679
- typeof u.onDrop == "function" && u.onDrop(i);
2680
- }), B = J((i, c) => u.getDropOperation ? u.getDropOperation(i, c) : c[0]), { ref: T } = u;
2671
+ n.dragOverElements.clear(), s(o), clearTimeout(n.dropActivateTimer), c.draggingCollectionRef == null ? Bu(void 0) : kr(c);
2672
+ }, L = J((o) => {
2673
+ typeof u.onDropEnter == "function" && u.onDropEnter(o);
2674
+ }), E = J((o) => {
2675
+ typeof u.onDropExit == "function" && u.onDropExit(o);
2676
+ }), k = J((o) => {
2677
+ typeof u.onDropActivate == "function" && u.onDropActivate(o);
2678
+ }), _ = J((o) => {
2679
+ typeof u.onDrop == "function" && u.onDrop(o);
2680
+ }), B = J((o, c) => u.getDropOperation ? u.getDropOperation(o, c) : c[0]), { ref: T } = u;
2681
2681
  $u(() => yr({
2682
2682
  element: T.current,
2683
2683
  getDropOperation: B,
2684
- onDropEnter(i) {
2685
- r(!0), w(i);
2684
+ onDropEnter(o) {
2685
+ r(!0), L(o);
2686
2686
  },
2687
- onDropExit(i) {
2688
- r(!1), E(i);
2687
+ onDropExit(o) {
2688
+ r(!1), E(o);
2689
2689
  },
2690
- onDrop: K,
2690
+ onDrop: _,
2691
2691
  onDropActivate: k
2692
2692
  }), [
2693
2693
  T,
2694
2694
  B,
2695
- w,
2695
+ L,
2696
2696
  E,
2697
- K,
2697
+ _,
2698
2698
  k
2699
2699
  ]);
2700
- let { dropProps: S } = Pr();
2700
+ let { dropProps: S } = Ir();
2701
2701
  return {
2702
2702
  dropProps: {
2703
2703
  ...!e && S,
@@ -2714,11 +2714,11 @@ function Vr(u) {
2714
2714
  }
2715
2715
  function pe(u) {
2716
2716
  let e = st[u.dataTransfer.effectAllowed];
2717
- Nu && (e &= Nu);
2717
+ Ou && (e &= Ou);
2718
2718
  let t = x.none;
2719
- return Uu() ? (u.altKey && (t |= x.copy), u.ctrlKey && !Gt() && (t |= x.link), u.metaKey && (t |= x.move)) : (u.altKey && (t |= x.link), u.shiftKey && (t |= x.move), u.ctrlKey && (t |= x.copy)), t ? e & t : e;
2719
+ return qu() ? (u.altKey && (t |= x.copy), u.ctrlKey && !Ut() && (t |= x.link), u.metaKey && (t |= x.move)) : (u.altKey && (t |= x.link), u.shiftKey && (t |= x.move), u.ctrlKey && (t |= x.copy)), t ? e & t : e;
2720
2720
  }
2721
- function wu(u) {
2721
+ function Lu(u) {
2722
2722
  let e = [];
2723
2723
  return u & x.move && e.push("move"), u & x.copy && e.push("copy"), u & x.link && e.push("link"), e;
2724
2724
  }
@@ -2726,28 +2726,28 @@ function su(u, e) {
2726
2726
  let t = x[e];
2727
2727
  return u & t ? e : "cancel";
2728
2728
  }
2729
- function Or(u, e) {
2730
- let t = u.children, [r, n] = j(null), o = P(null);
2729
+ function Vr(u, e) {
2730
+ let t = u.children, [r, n] = P(null), i = I(null);
2731
2731
  return yt(e, () => (s, p) => {
2732
2732
  be(() => {
2733
2733
  n(t(s));
2734
- }), p(o.current), requestAnimationFrame(() => {
2734
+ }), p(i.current), requestAnimationFrame(() => {
2735
2735
  n(null);
2736
2736
  });
2737
2737
  }, [
2738
2738
  t
2739
- ]), r ? /* @__PURE__ */ L.createElement("div", {
2739
+ ]), r ? /* @__PURE__ */ w.createElement("div", {
2740
2740
  style: {
2741
2741
  zIndex: -100,
2742
2742
  position: "absolute",
2743
2743
  top: 0,
2744
2744
  left: -1e5
2745
2745
  },
2746
- ref: o
2746
+ ref: i
2747
2747
  }, r) : null;
2748
2748
  }
2749
- let Nr = /* @__PURE__ */ L.forwardRef(Or);
2750
- function Rr(u, e, t) {
2749
+ let Or = /* @__PURE__ */ w.forwardRef(Vr);
2750
+ function Nr(u, e, t) {
2751
2751
  return e in u ? Object.defineProperty(u, e, {
2752
2752
  value: t,
2753
2753
  enumerable: !0,
@@ -2769,24 +2769,24 @@ function me(u) {
2769
2769
  for (var e = 1; e < arguments.length; e++) {
2770
2770
  var t = arguments[e] != null ? arguments[e] : {};
2771
2771
  e % 2 ? De(Object(t), !0).forEach(function(r) {
2772
- Rr(u, r, t[r]);
2772
+ Nr(u, r, t[r]);
2773
2773
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(t)) : De(Object(t)).forEach(function(r) {
2774
2774
  Object.defineProperty(u, r, Object.getOwnPropertyDescriptor(t, r));
2775
2775
  });
2776
2776
  }
2777
2777
  return u;
2778
2778
  }
2779
- var Mr = (u, e, t) => {
2779
+ var Rr = (u, e, t) => {
2780
2780
  for (var r of Object.keys(u)) {
2781
2781
  var n;
2782
2782
  if (u[r] !== ((n = e[r]) !== null && n !== void 0 ? n : t[r]))
2783
2783
  return !1;
2784
2784
  }
2785
2785
  return !0;
2786
- }, V = (u) => (e) => {
2786
+ }, j = (u) => (e) => {
2787
2787
  var t = u.defaultClassName, r = me(me({}, u.defaultVariants), e);
2788
2788
  for (var n in r) {
2789
- var o, s = (o = r[n]) !== null && o !== void 0 ? o : u.defaultVariants[n];
2789
+ var i, s = (i = r[n]) !== null && i !== void 0 ? i : u.defaultVariants[n];
2790
2790
  if (s != null) {
2791
2791
  var p = s;
2792
2792
  typeof p == "boolean" && (p = p === !0 ? "true" : "false");
@@ -2795,28 +2795,28 @@ var Mr = (u, e, t) => {
2795
2795
  }
2796
2796
  }
2797
2797
  for (var [f, m] of u.compoundVariants)
2798
- Mr(f, r, u.defaultVariants) && (t += " " + m);
2798
+ Rr(f, r, u.defaultVariants) && (t += " " + m);
2799
2799
  return t;
2800
- }, Hr = "_1noxfzy", fe = "_1noxfzk", qr = "_1noxfzl", Ur = "_1noxfzq", Gr = V({ defaultClassName: "_1noxfzn", variantClassNames: { isDragging: { true: "_1noxfzo", false: "_1noxfzp" } }, defaultVariants: {}, compoundVariants: [] }), gt = V({ defaultClassName: "_1noxfzr", variantClassNames: { isDropTarget: { true: "_1noxfzs", false: "_1noxfzt" } }, defaultVariants: {}, compoundVariants: [] }), _r = "_1noxfz12", Zr = V({ defaultClassName: "_1noxfz0", variantClassNames: { vertical: { true: "_1noxfz1", false: "_1noxfz2" } }, defaultVariants: {}, compoundVariants: [] }), Jr = "_1noxfzz", Xr = "_1noxfz10", Yr = V({ defaultClassName: "_1noxfz3", variantClassNames: { vertical: { true: "_1noxfz4", false: "_1noxfz5" } }, defaultVariants: {}, compoundVariants: [] }), Wr = V({ defaultClassName: "_1noxfzh", variantClassNames: { vertical: { true: "_1noxfzi", false: "_1noxfzj" } }, defaultVariants: {}, compoundVariants: [] }), Qr = "_1noxfzm", un = V({ defaultClassName: "_1noxfz7", variantClassNames: { isLeftSide: { true: "_1noxfz8", false: "_1noxfz9" }, isRightSide: { true: "_1noxfza", false: "_1noxfzb" }, adjustForPhantomDroppableContainer: { true: "_1noxfzc", false: "_1noxfzd" } }, defaultVariants: {}, compoundVariants: [] }), Ce = "_1noxfz6", en = "_1noxfz13", tn = "_1noxfz11", rn = V({ defaultClassName: "_1noxfzu", variantClassNames: { isDropTarget: { true: "_1noxfzv", false: "_1noxfzw" } }, defaultVariants: {}, compoundVariants: [] }), nn = V({ defaultClassName: "_1noxfze", variantClassNames: { vertical: { true: "_1noxfzf", false: "_1noxfzg" } }, defaultVariants: {}, compoundVariants: [] }), Ku = "_1noxfzx";
2801
- function ge({
2800
+ }, Mr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzy", fe = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzk", Hr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzl", qr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzq", Ur = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzn", variantClassNames: { isDragging: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzo", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzp" } }, defaultVariants: {}, compoundVariants: [] }), Ct = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzr", variantClassNames: { isDropTarget: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzs", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzt" } }, defaultVariants: {}, compoundVariants: [] }), Gr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz12", Zr = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz0", variantClassNames: { vertical: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz1", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz2" } }, defaultVariants: {}, compoundVariants: [] }), Jr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzz", Xr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz10", Yr = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz3", variantClassNames: { vertical: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz4", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz5" } }, defaultVariants: {}, compoundVariants: [] }), Wr = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzh", variantClassNames: { vertical: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzi", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzj" } }, defaultVariants: {}, compoundVariants: [] }), Qr = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzm", un = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz7", variantClassNames: { isLeftSide: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz8", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz9" }, isRightSide: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfza", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzb" }, adjustForPhantomDroppableContainer: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzc", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzd" } }, defaultVariants: {}, compoundVariants: [] }), ge = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz6", en = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz13", tn = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfz11", rn = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzu", variantClassNames: { isDropTarget: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzv", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzw" } }, defaultVariants: {}, compoundVariants: [] }), nn = j({ defaultClassName: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfze", variantClassNames: { vertical: { true: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzf", false: "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzg" } }, defaultVariants: {}, compoundVariants: [] }), _u = "pkg_sps-woodland_add-to-list__version_7_19_0__hash_1noxfzx";
2801
+ function Ce({
2802
2802
  headerText: u,
2803
2803
  showCount: e,
2804
2804
  showIcons: t,
2805
2805
  showMoveAllLinks: r,
2806
2806
  showMoreOptionsText: n,
2807
- disableMoveAllLinks: o,
2807
+ disableMoveAllLinks: i,
2808
2808
  maxHeight: s,
2809
2809
  children: p,
2810
2810
  side: l,
2811
2811
  itemCount: f,
2812
2812
  otherHeader: m,
2813
- className: w,
2813
+ className: L,
2814
2814
  vertical: E,
2815
2815
  moveAll: k,
2816
- adjustForPhantomDroppableContainer: K,
2816
+ adjustForPhantomDroppableContainer: _,
2817
2817
  "data-testid": B
2818
2818
  }) {
2819
- const T = Ee({ "data-testid": B }), { t: S } = d.useContext(Hu), i = S(l === "left" ? "design-system:addToList.onColumnHeader" : "design-system:addToList.offColumnHeader"), c = l === "left" ? "eye" : "eye-slash", a = S(l === "left" ? "design-system:addToList.offColumnHeader" : "design-system:addToList.onColumnHeader"), D = S("design-system:addToList.moveAllItemsToCol", {
2819
+ const T = Ee({ "data-testid": B }), { t: S } = d.useContext(Mu), o = S(l === "left" ? "design-system:addToList.onColumnHeader" : "design-system:addToList.offColumnHeader"), c = l === "left" ? "eye" : "eye-slash", a = S(l === "left" ? "design-system:addToList.offColumnHeader" : "design-system:addToList.onColumnHeader"), D = S("design-system:addToList.moveAllItemsToCol", {
2820
2820
  columnName: m || a
2821
2821
  }), b = E ? /* @__PURE__ */ d.createElement(d.Fragment, null) : /* @__PURE__ */ d.createElement(
2822
2822
  "div",
@@ -2824,7 +2824,7 @@ function ge({
2824
2824
  className: un({
2825
2825
  isLeftSide: l === "left",
2826
2826
  isRightSide: l === "right",
2827
- adjustForPhantomDroppableContainer: !!K && l === "left"
2827
+ adjustForPhantomDroppableContainer: !!_ && l === "left"
2828
2828
  })
2829
2829
  }
2830
2830
  );
@@ -2834,50 +2834,50 @@ function ge({
2834
2834
  return /* @__PURE__ */ d.createElement(
2835
2835
  "div",
2836
2836
  {
2837
- className: _(Wr({ vertical: E }), w),
2837
+ className: G(Wr({ vertical: E }), L),
2838
2838
  "data-testid": B
2839
2839
  },
2840
- /* @__PURE__ */ d.createElement("div", { className: Hr, ...T("column-header") }, t && /* @__PURE__ */ d.createElement(Lt, { icon: c, className: Jr }), u || i, e && /* @__PURE__ */ d.createElement(Kt, { kind: "key", className: Xr }, f)),
2841
- s ? /* @__PURE__ */ d.createElement("div", { className: Ce }, b, /* @__PURE__ */ d.createElement(wt, { maxHeight: s }, p)) : /* @__PURE__ */ d.createElement("div", { className: Ce }, b, p),
2840
+ /* @__PURE__ */ d.createElement("div", { className: Mr, ...T("column-header") }, t && /* @__PURE__ */ d.createElement(wt, { icon: c, className: Jr }), u || o, e && /* @__PURE__ */ d.createElement(_t, { kind: "key", className: Xr }, f)),
2841
+ s ? /* @__PURE__ */ d.createElement("div", { className: ge }, b, /* @__PURE__ */ d.createElement(Lt, { maxHeight: s }, p)) : /* @__PURE__ */ d.createElement("div", { className: ge }, b, p),
2842
2842
  r && f > 0 && /* @__PURE__ */ d.createElement(
2843
2843
  pu,
2844
2844
  {
2845
- className: K && l === "right" ? en : void 0,
2845
+ className: _ && l === "right" ? en : void 0,
2846
2846
  kind: Du.LINK,
2847
2847
  onClick: h,
2848
- disabled: o,
2848
+ disabled: i,
2849
2849
  ...T("move-all-button")
2850
2850
  },
2851
2851
  D
2852
2852
  ),
2853
- n && f > 0 && /* @__PURE__ */ d.createElement(It, { kind: "info", micro: !0 }, "More options available. Use the search field to filter results.")
2853
+ n && f > 0 && /* @__PURE__ */ d.createElement(Kt, { kind: "info", micro: !0 }, "More options available. Use the search field to filter results.")
2854
2854
  );
2855
2855
  }
2856
- function Mu({
2856
+ function Ru({
2857
2857
  className: u,
2858
2858
  children: e,
2859
2859
  filtering: t,
2860
2860
  manualSorting: r,
2861
2861
  id: n,
2862
- "data-testid": o
2862
+ "data-testid": i
2863
2863
  }) {
2864
- const { t: s } = d.useContext(Hu);
2864
+ const { t: s } = d.useContext(Mu);
2865
2865
  return /* @__PURE__ */ d.createElement(d.Fragment, null, /* @__PURE__ */ d.createElement(
2866
2866
  "div",
2867
2867
  {
2868
2868
  role: "listitem",
2869
- className: _(
2869
+ className: G(
2870
2870
  u,
2871
- gt({ isDropTarget: !1 }),
2871
+ Ct({ isDropTarget: !1 }),
2872
2872
  Qr,
2873
2873
  "listitem-component"
2874
2874
  ),
2875
- "data-testid": o
2875
+ "data-testid": i
2876
2876
  },
2877
2877
  r && t && /* @__PURE__ */ d.createElement(
2878
2878
  "i",
2879
2879
  {
2880
- className: qr,
2880
+ className: Hr,
2881
2881
  id: `list-item-${n}-drag-handle`
2882
2882
  }
2883
2883
  ),
@@ -2892,63 +2892,63 @@ function Mu({
2892
2892
  s("design-system:addToList.disabledDragTooltip")
2893
2893
  ));
2894
2894
  }
2895
- Be.set(Mu, { name: "ListItem" });
2895
+ Be.set(Ru, { name: "ListItem" });
2896
2896
  function Et({
2897
2897
  onList: u,
2898
2898
  offList: e,
2899
2899
  onHeader: t,
2900
2900
  offHeader: r,
2901
2901
  showFilter: n,
2902
- showCount: o,
2902
+ showCount: i,
2903
2903
  showIcons: s,
2904
2904
  showMoveAllLinks: p,
2905
2905
  manualSort: l,
2906
2906
  maxDisplayedItems: f,
2907
2907
  maxHeightPx: m,
2908
- maxHeightRem: w,
2908
+ maxHeightRem: L,
2909
2909
  onChange: E,
2910
2910
  vertical: k = !1,
2911
- "data-testid": K
2911
+ "data-testid": _
2912
2912
  }) {
2913
- const B = Ee({ "data-testid": K }), { t: T } = d.useContext(Hu), { formValue: S, formMeta: i } = Tt({
2913
+ const B = Ee({ "data-testid": _ }), { t: T } = d.useContext(Mu), { formValue: S, formMeta: o } = Tt({
2914
2914
  filterString: ""
2915
- }), [c, a] = d.useState(""), D = m ? m / 16 : w, b = D ? `${D}rem` : "", h = d.useCallback(
2916
- (C, v) => (!l || v === "right" ? [...C].sort((A, y) => A.label.localeCompare(y.label)) : C).map((A) => {
2915
+ }), [c, a] = d.useState(""), D = m ? m / 16 : L, b = D ? `${D}rem` : "", h = d.useCallback(
2916
+ (g, v) => (!l || v === "right" ? [...g].sort((A, y) => A.label.localeCompare(y.label)) : g).map((A) => {
2917
2917
  const y = { ...A };
2918
- return y.id || (y.id = Pt()), y;
2918
+ return y.id || (y.id = It()), y;
2919
2919
  }),
2920
2920
  [l]
2921
- ), g = d.useMemo(() => h(u, "left"), [u, h]), $ = d.useMemo(() => h(e, "right"), [e, h]), O = d.useCallback((C) => c ? C.label.toLowerCase().includes(c.toLowerCase()) : !0, [c]), N = (C, v, I) => {
2922
- const A = I.find((y) => y.label === C);
2923
- A ? v === g ? E({
2924
- onList: [...g, A],
2921
+ ), C = d.useMemo(() => h(u, "left"), [u, h]), $ = d.useMemo(() => h(e, "right"), [e, h]), V = d.useCallback((g) => c ? g.label.toLowerCase().includes(c.toLowerCase()) : !0, [c]), O = (g, v, K) => {
2922
+ const A = K.find((y) => y.label === g);
2923
+ A ? v === C ? E({
2924
+ onList: [...C, A],
2925
2925
  offList: $.filter((y) => y.label !== A.label)
2926
- }) : I === g && E({
2927
- onList: g.filter((y) => y.label !== A.label),
2926
+ }) : K === C && E({
2927
+ onList: C.filter((y) => y.label !== A.label),
2928
2928
  offList: [...$, A]
2929
2929
  }) : console.error("could not remove item");
2930
2930
  };
2931
- function Z(C) {
2932
- a(C.target.value);
2931
+ function Z(g) {
2932
+ a(g.target.value);
2933
2933
  }
2934
- function uu(C) {
2935
- E(C === "left" ? {
2936
- onList: g.filter((v) => v.required),
2937
- offList: [...$, ...g.filter((v) => !v.required)]
2934
+ function uu(g) {
2935
+ E(g === "left" ? {
2936
+ onList: C.filter((v) => v.required),
2937
+ offList: [...$, ...C.filter((v) => !v.required)]
2938
2938
  } : {
2939
- onList: [...g, ...$],
2939
+ onList: [...C, ...$],
2940
2940
  offList: []
2941
2941
  });
2942
2942
  }
2943
2943
  const Xu = d.useCallback(
2944
- (C) => {
2945
- const { className: v, index: I, ...A } = C, y = d.useRef(null), { dropProps: tu, isDropTarget: ru } = Vr({
2944
+ (g) => {
2945
+ const { className: v, index: K, ...A } = g, y = d.useRef(null), { dropProps: tu, isDropTarget: ru } = jr({
2946
2946
  ref: y,
2947
2947
  async onDrop(ku) {
2948
2948
  let nu = await Promise.all(
2949
- ku.items.filter((iu) => iu.kind === "text" && iu.types.has("text/plain")).map((iu) => iu.getText("text/plain"))
2949
+ ku.items.filter((ou) => ou.kind === "text" && ou.types.has("text/plain")).map((ou) => ou.getText("text/plain"))
2950
2950
  );
2951
- const { index: au } = JSON.parse(nu[0]), yu = [...g], [$t] = yu.splice(au, 1), vt = I > au ? I - 1 : I;
2951
+ const { index: au } = JSON.parse(nu[0]), yu = [...C], [$t] = yu.splice(au, 1), vt = K > au ? K - 1 : K;
2952
2952
  yu.splice(vt, 0, $t), E({
2953
2953
  onList: yu,
2954
2954
  offList: $
@@ -2962,22 +2962,22 @@ function Et({
2962
2962
  ...l ? tu : [],
2963
2963
  role: "button",
2964
2964
  tabIndex: 0,
2965
- className: _(v, C.isPhantomDroppableContainer ? rn({ isDropTarget: ru }) : gt({ isDropTarget: ru })),
2965
+ className: G(v, g.isPhantomDroppableContainer ? rn({ isDropTarget: ru }) : Ct({ isDropTarget: ru })),
2966
2966
  ...B("droppable-container"),
2967
2967
  ...A
2968
2968
  },
2969
- C.children
2969
+ g.children
2970
2970
  );
2971
2971
  },
2972
- [g, l]
2972
+ [C, l]
2973
2973
  ), Bt = d.useCallback(
2974
- (C) => {
2974
+ (g) => {
2975
2975
  const {
2976
2976
  label: v,
2977
- data: I,
2977
+ data: K,
2978
2978
  listIndex: A,
2979
2979
  required: y
2980
- } = C, tu = d.useRef(null), ru = { ...I, index: A }, { dragProps: ku, dragButtonProps: nu, isDragging: au } = Kr({
2980
+ } = g, tu = d.useRef(null), ru = { ...K, index: A }, { dragProps: ku, dragButtonProps: nu, isDragging: au } = _r({
2981
2981
  preview: tu,
2982
2982
  hasDragButton: !0,
2983
2983
  getItems() {
@@ -2995,49 +2995,49 @@ function Et({
2995
2995
  role: l ? "button" : "listitem",
2996
2996
  tabIndex: 0,
2997
2997
  id: `${v}${A}-drag`,
2998
- className: _(Gr({ isDragging: au })),
2998
+ className: G(Ur({ isDragging: au })),
2999
2999
  ...B("draggable-item")
3000
3000
  },
3001
3001
  /* @__PURE__ */ d.createElement(Xu, { index: A }, l && /* @__PURE__ */ d.createElement("i", { ...nu, className: fe }), v, !y && /* @__PURE__ */ d.createElement(
3002
3002
  pu,
3003
3003
  {
3004
3004
  kind: Du.ICON,
3005
- icon: ou.X,
3005
+ icon: iu.X,
3006
3006
  onClick: () => {
3007
- N(v, $, g);
3007
+ O(v, $, C);
3008
3008
  },
3009
- className: Ku,
3009
+ className: _u,
3010
3010
  ...B("move-item-button")
3011
3011
  }
3012
3012
  )),
3013
- /* @__PURE__ */ d.createElement(Nr, { ref: tu }, () => /* @__PURE__ */ d.createElement("div", { className: Ur }, /* @__PURE__ */ d.createElement("i", { ...nu, className: fe }), v))
3013
+ /* @__PURE__ */ d.createElement(Or, { ref: tu }, () => /* @__PURE__ */ d.createElement("div", { className: qr }, /* @__PURE__ */ d.createElement("i", { ...nu, className: fe }), v))
3014
3014
  );
3015
3015
  },
3016
- [g, l]
3017
- ), H = d.useMemo(
3018
- () => g.filter(O),
3019
- [g, O]
3016
+ [C, l]
3017
+ ), M = d.useMemo(
3018
+ () => C.filter(V),
3019
+ [C, V]
3020
3020
  ), eu = d.useMemo(
3021
- () => $.filter(O).slice(0, f),
3022
- [$, O]
3023
- ), bt = !c && !!p && H.length > 0, xt = !c && !!p && eu.length > 0, ht = !c && $.length > eu.length, Yu = !!l && !c && H.length > 0 && !D;
3024
- return /* @__PURE__ */ d.createElement("div", { "data-testid": K }, n && /* @__PURE__ */ d.createElement("div", { className: ee.root }, /* @__PURE__ */ d.createElement("div", { className: _(ee[12], _r) }, /* @__PURE__ */ d.createElement(
3021
+ () => $.filter(V).slice(0, f),
3022
+ [$, V]
3023
+ ), bt = !c && !!p && M.length > 0, xt = !c && !!p && eu.length > 0, ht = !c && $.length > eu.length, Yu = !!l && !c && M.length > 0 && !D;
3024
+ return /* @__PURE__ */ d.createElement("div", { "data-testid": _ }, n && /* @__PURE__ */ d.createElement("div", { className: ee.root }, /* @__PURE__ */ d.createElement("div", { className: G(ee[12], Gr) }, /* @__PURE__ */ d.createElement(
3025
3025
  Ft,
3026
3026
  {
3027
3027
  value: S.filterString,
3028
- formMeta: i.fields.filterString,
3029
- icon: ou.FILTER,
3028
+ formMeta: o.fields.filterString,
3029
+ icon: iu.FILTER,
3030
3030
  onChange: Z,
3031
3031
  ...B("filter-input")
3032
3032
  }
3033
- ))), /* @__PURE__ */ d.createElement("div", { className: _(Zr({ vertical: k })) }, /* @__PURE__ */ d.createElement(
3034
- ge,
3033
+ ))), /* @__PURE__ */ d.createElement("div", { className: G(Zr({ vertical: k })) }, /* @__PURE__ */ d.createElement(
3034
+ Ce,
3035
3035
  {
3036
3036
  headerText: t,
3037
- showCount: !c && o,
3037
+ showCount: !c && i,
3038
3038
  showIcons: s,
3039
3039
  showMoveAllLinks: bt,
3040
- disableMoveAllLinks: g.every((C) => C.required),
3040
+ disableMoveAllLinks: C.every((g) => g.required),
3041
3041
  maxHeight: b,
3042
3042
  vertical: k,
3043
3043
  side: "left",
@@ -3045,38 +3045,38 @@ function Et({
3045
3045
  vertical: k
3046
3046
  }),
3047
3047
  otherHeader: r,
3048
- itemCount: g.length,
3048
+ itemCount: C.length,
3049
3049
  moveAll: uu,
3050
3050
  adjustForPhantomDroppableContainer: Yu,
3051
3051
  ...B("on-items-list")
3052
3052
  },
3053
- H.length > 0 ? /* @__PURE__ */ d.createElement(d.Fragment, null, l && !c && H.map((C, v) => /* @__PURE__ */ d.createElement(d.Fragment, { key: C.id }, /* @__PURE__ */ d.createElement(
3053
+ M.length > 0 ? /* @__PURE__ */ d.createElement(d.Fragment, null, l && !c && M.map((g, v) => /* @__PURE__ */ d.createElement(d.Fragment, { key: g.id }, /* @__PURE__ */ d.createElement(
3054
3054
  Bt,
3055
3055
  {
3056
- data: C,
3057
- label: C.label,
3058
- required: C.required,
3056
+ data: g,
3057
+ label: g.label,
3058
+ required: g.required,
3059
3059
  listIndex: v
3060
3060
  }
3061
- ), v === H.length - 1 && /* @__PURE__ */ d.createElement(Xu, { isPhantomDroppableContainer: !0, index: v + 1 }))), (!l || c) && H.map((C) => /* @__PURE__ */ d.createElement(
3062
- Mu,
3061
+ ), v === M.length - 1 && /* @__PURE__ */ d.createElement(Xu, { isPhantomDroppableContainer: !0, index: v + 1 }))), (!l || c) && M.map((g) => /* @__PURE__ */ d.createElement(
3062
+ Ru,
3063
3063
  {
3064
- key: C.id,
3064
+ key: g.id,
3065
3065
  filtering: !!c,
3066
3066
  manualSorting: l,
3067
- id: C.id,
3067
+ id: g.id,
3068
3068
  ...B("item")
3069
3069
  },
3070
- C.label,
3071
- !C.required && /* @__PURE__ */ d.createElement(
3070
+ g.label,
3071
+ !g.required && /* @__PURE__ */ d.createElement(
3072
3072
  pu,
3073
3073
  {
3074
3074
  kind: Du.ICON,
3075
- icon: ou.X,
3075
+ icon: iu.X,
3076
3076
  onClick: () => {
3077
- N(C.label, $, g);
3077
+ O(g.label, $, C);
3078
3078
  },
3079
- className: Ku,
3079
+ className: _u,
3080
3080
  ...B("move-item-button")
3081
3081
  }
3082
3082
  )
@@ -3093,10 +3093,10 @@ function Et({
3093
3093
  }
3094
3094
  ))
3095
3095
  ), /* @__PURE__ */ d.createElement(
3096
- ge,
3096
+ Ce,
3097
3097
  {
3098
3098
  headerText: r,
3099
- showCount: !c && o,
3099
+ showCount: !c && i,
3100
3100
  showIcons: s,
3101
3101
  showMoveAllLinks: xt,
3102
3102
  showMoreOptionsText: ht,
@@ -3110,15 +3110,15 @@ function Et({
3110
3110
  adjustForPhantomDroppableContainer: Yu,
3111
3111
  ...B("off-items-list")
3112
3112
  },
3113
- eu.length > 0 ? eu.map((C) => /* @__PURE__ */ d.createElement(Mu, { key: C.id, className: tn, ...B("item") }, C.label, /* @__PURE__ */ d.createElement(
3113
+ eu.length > 0 ? eu.map((g) => /* @__PURE__ */ d.createElement(Ru, { key: g.id, className: tn, ...B("item") }, g.label, /* @__PURE__ */ d.createElement(
3114
3114
  pu,
3115
3115
  {
3116
3116
  kind: Du.ICON,
3117
- icon: ou.PLUS_SIGN,
3117
+ icon: iu.PLUS_SIGN,
3118
3118
  onClick: () => {
3119
- N(C.label, g, $);
3119
+ O(g.label, C, $);
3120
3120
  },
3121
- className: Ku,
3121
+ className: _u,
3122
3122
  ...B("move-item-button")
3123
3123
  }
3124
3124
  ))) : /* @__PURE__ */ d.createElement(ue, null, /* @__PURE__ */ d.createElement(
@@ -3159,7 +3159,7 @@ const an = {
3159
3159
  label: "Manual Sorting",
3160
3160
  examples: {
3161
3161
  basic: {
3162
- react: q`
3162
+ react: H`
3163
3163
  import { AddToList } from "@sps-woodland/add-to-list";
3164
3164
  function Component() {
3165
3165
  const [onList, setOnList] = React.useState([
@@ -3208,7 +3208,7 @@ const an = {
3208
3208
  label: "Auto Sort",
3209
3209
  examples: {
3210
3210
  autoSort: {
3211
- react: q`
3211
+ react: H`
3212
3212
  import { AddToList } from "@sps-woodland/add-to-list";
3213
3213
 
3214
3214
  function Component() {
@@ -3258,7 +3258,7 @@ const an = {
3258
3258
  label: "Max Height",
3259
3259
  examples: {
3260
3260
  maxHeight: {
3261
- react: q`
3261
+ react: H`
3262
3262
  import { AddToList } from "@sps-woodland/add-to-list";
3263
3263
 
3264
3264
  function Component() {
@@ -3310,7 +3310,7 @@ const an = {
3310
3310
  label: "Minimal Interface",
3311
3311
  examples: {
3312
3312
  minimal: {
3313
- react: q`
3313
+ react: H`
3314
3314
  import { AddToList } from "@sps-woodland/add-to-list";
3315
3315
 
3316
3316
  function Component() {
@@ -3355,7 +3355,7 @@ const an = {
3355
3355
  label: "Required Elements",
3356
3356
  examples: {
3357
3357
  requiredElements: {
3358
- react: q`
3358
+ react: H`
3359
3359
  import { AddToList } from "@sps-woodland/add-to-list";
3360
3360
 
3361
3361
  function Component() {
@@ -3405,7 +3405,7 @@ const an = {
3405
3405
  label: "Vertical",
3406
3406
  examples: {
3407
3407
  vertical: {
3408
- react: q`
3408
+ react: H`
3409
3409
  import { AddToList } from "@sps-woodland/add-to-list";
3410
3410
 
3411
3411
  function Component() {