@boxcustodia/library 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/index.es10.js +1 -1
  2. package/dist/index.es100.js +4 -14
  3. package/dist/index.es101.js +14 -5
  4. package/dist/index.es102.js +4 -56
  5. package/dist/index.es103.js +55 -257
  6. package/dist/index.es104.js +29 -12
  7. package/dist/index.es105.js +12 -1062
  8. package/dist/index.es106.js +11 -4
  9. package/dist/index.es107.js +21 -4
  10. package/dist/index.es108.js +12 -29
  11. package/dist/index.es109.js +4 -4
  12. package/dist/index.es110.js +12 -224
  13. package/dist/index.es111.js +1062 -11
  14. package/dist/index.es112.js +4 -11
  15. package/dist/index.es113.js +4 -41
  16. package/dist/index.es114.js +222 -19
  17. package/dist/index.es115.js +4 -5
  18. package/dist/index.es116.js +41 -12
  19. package/dist/index.es117.js +237 -61
  20. package/dist/index.es118.js +61 -237
  21. package/dist/index.es119.js +12 -12
  22. package/dist/index.es120.js +1 -1
  23. package/dist/index.es121.js +1 -1
  24. package/dist/index.es122.js +1 -1
  25. package/dist/index.es124.js +216 -4
  26. package/dist/index.es126.js +1 -1
  27. package/dist/index.es127.js +5 -5
  28. package/dist/index.es128.js +4 -8
  29. package/dist/index.es129.js +7 -215
  30. package/dist/index.es13.js +1 -1
  31. package/dist/index.es131.js +1 -1
  32. package/dist/index.es132.js +1 -1
  33. package/dist/index.es134.js +1 -1
  34. package/dist/index.es14.js +1 -1
  35. package/dist/index.es140.js +1 -1
  36. package/dist/index.es141.js +1 -1
  37. package/dist/index.es142.js +1 -1
  38. package/dist/index.es143.js +6 -5
  39. package/dist/index.es144.js +65 -2
  40. package/dist/index.es145.js +10 -6
  41. package/dist/index.es146.js +118 -58
  42. package/dist/index.es147.js +134 -10
  43. package/dist/index.es148.js +13 -124
  44. package/dist/index.es149.js +31 -133
  45. package/dist/index.es15.js +1 -1
  46. package/dist/index.es150.js +14 -13
  47. package/dist/index.es151.js +9 -33
  48. package/dist/index.es152.js +50 -15
  49. package/dist/index.es153.js +6 -9
  50. package/dist/index.es154.js +2 -50
  51. package/dist/index.es155.js +649 -3
  52. package/dist/index.es156.js +193 -625
  53. package/dist/index.es157.js +3 -217
  54. package/dist/index.es159.js +1 -1
  55. package/dist/index.es162.js +1 -1
  56. package/dist/index.es163.js +2 -2
  57. package/dist/index.es164.js +6 -118
  58. package/dist/index.es165.js +3 -35
  59. package/dist/index.es166.js +2054 -2
  60. package/dist/index.es167.js +118 -2
  61. package/dist/index.es168.js +32 -20
  62. package/dist/index.es169.js +2 -9
  63. package/dist/index.es170.js +2 -38
  64. package/dist/index.es171.js +14 -11
  65. package/dist/index.es172.js +9 -6
  66. package/dist/index.es173.js +40 -3
  67. package/dist/index.es174.js +17 -2053
  68. package/dist/index.es186.js +2 -2
  69. package/dist/index.es207.js +1 -1
  70. package/dist/index.es241.js +4 -4
  71. package/dist/index.es243.js +2 -2
  72. package/dist/index.es246.js +1 -1
  73. package/dist/index.es247.js +1 -1
  74. package/dist/index.es249.js +2 -26
  75. package/dist/index.es250.js +397 -4
  76. package/dist/index.es251.js +722 -7
  77. package/dist/index.es252.js +282 -13
  78. package/dist/index.es253.js +60 -13
  79. package/dist/index.es254.js +9 -134
  80. package/dist/index.es255.js +28 -31
  81. package/dist/index.es256.js +195 -459
  82. package/dist/index.es257.js +25 -131
  83. package/dist/index.es258.js +5 -27
  84. package/dist/index.es259.js +7 -4
  85. package/dist/index.es260.js +12 -25
  86. package/dist/index.es261.js +13 -7
  87. package/dist/index.es262.js +134 -11
  88. package/dist/index.es263.js +30 -27
  89. package/dist/index.es264.js +460 -46
  90. package/dist/index.es265.js +129 -28
  91. package/dist/index.es266.js +26 -43
  92. package/dist/index.es267.js +4 -158
  93. package/dist/index.es268.js +23 -30
  94. package/dist/index.es269.js +8 -2
  95. package/dist/index.es270.js +9 -77
  96. package/dist/index.es271.js +28 -18
  97. package/dist/index.es272.js +48 -24
  98. package/dist/index.es273.js +31 -16
  99. package/dist/index.es274.js +44 -8
  100. package/dist/index.es275.js +159 -2
  101. package/dist/index.es276.js +32 -396
  102. package/dist/index.es277.js +2 -723
  103. package/dist/index.es278.js +71 -274
  104. package/dist/index.es279.js +18 -60
  105. package/dist/index.es280.js +25 -10
  106. package/dist/index.es281.js +16 -29
  107. package/dist/index.es282.js +8 -199
  108. package/dist/index.es29.js +6 -6
  109. package/dist/index.es31.js +29 -29
  110. package/dist/index.es32.js +1 -1
  111. package/dist/index.es326.js +1 -1
  112. package/dist/index.es34.js +5 -5
  113. package/dist/index.es341.js +5 -5
  114. package/dist/index.es345.js +1 -1
  115. package/dist/index.es346.js +2 -2
  116. package/dist/index.es347.js +2 -334
  117. package/dist/index.es348.js +106 -31
  118. package/dist/index.es349.js +75 -16
  119. package/dist/index.es35.js +2 -2
  120. package/dist/index.es350.js +35 -29
  121. package/dist/index.es351.js +63 -29
  122. package/dist/index.es352.js +34 -6
  123. package/dist/index.es353.js +66 -3
  124. package/dist/index.es354.js +111 -105
  125. package/dist/index.es355.js +88 -71
  126. package/dist/index.es356.js +38 -31
  127. package/dist/index.es357.js +3 -64
  128. package/dist/index.es358.js +3 -34
  129. package/dist/index.es359.js +3 -66
  130. package/dist/index.es360.js +3 -113
  131. package/dist/index.es361.js +3 -94
  132. package/dist/index.es362.js +3 -43
  133. package/dist/index.es363.js +2 -2
  134. package/dist/index.es364.js +2 -2
  135. package/dist/index.es365.js +2 -2
  136. package/dist/index.es366.js +241 -4
  137. package/dist/index.es367.js +384 -4
  138. package/dist/index.es368.js +169 -4
  139. package/dist/index.es369.js +153 -4
  140. package/dist/index.es370.js +142 -4
  141. package/dist/index.es371.js +2 -2
  142. package/dist/index.es372.js +4 -241
  143. package/dist/index.es373.js +4 -384
  144. package/dist/index.es374.js +4 -169
  145. package/dist/index.es375.js +4 -153
  146. package/dist/index.es376.js +4 -142
  147. package/dist/index.es377.js +334 -2
  148. package/dist/index.es378.js +31 -2
  149. package/dist/index.es379.js +17 -2
  150. package/dist/index.es38.js +4 -4
  151. package/dist/index.es380.js +29 -2
  152. package/dist/index.es381.js +29 -2
  153. package/dist/index.es382.js +5 -2
  154. package/dist/index.es384.js +1 -1
  155. package/dist/index.es385.js +1 -1
  156. package/dist/index.es39.js +1 -1
  157. package/dist/index.es40.js +3 -3
  158. package/dist/index.es41.js +1 -1
  159. package/dist/index.es418.js +1 -1
  160. package/dist/index.es419.js +4 -4
  161. package/dist/index.es425.js +21 -24
  162. package/dist/index.es426.js +2 -11
  163. package/dist/index.es427.js +34 -34
  164. package/dist/index.es428.js +176 -31
  165. package/dist/index.es429.js +88 -13
  166. package/dist/index.es430.js +17 -5
  167. package/dist/index.es431.js +2 -107
  168. package/dist/index.es432.js +4 -24
  169. package/dist/index.es433.js +2 -2
  170. package/dist/index.es434.js +4 -35
  171. package/dist/index.es435.js +25 -176
  172. package/dist/index.es436.js +4 -89
  173. package/dist/index.es437.js +277 -17
  174. package/dist/index.es438.js +80 -2
  175. package/dist/index.es439.js +166 -2
  176. package/dist/index.es44.js +1 -1
  177. package/dist/index.es440.js +25 -2
  178. package/dist/index.es441.js +11 -2
  179. package/dist/index.es442.js +31 -22
  180. package/dist/index.es443.js +30 -2
  181. package/dist/index.es444.js +12 -2
  182. package/dist/index.es445.js +2 -2
  183. package/dist/index.es446.js +2 -275
  184. package/dist/index.es447.js +3 -80
  185. package/dist/index.es448.js +104 -163
  186. package/dist/index.es45.js +4 -4
  187. package/dist/index.es454.js +1 -1
  188. package/dist/index.es455.js +1 -1
  189. package/dist/index.es46.js +1 -1
  190. package/dist/index.es47.js +4 -4
  191. package/dist/index.es476.js +1 -1
  192. package/dist/index.es477.js +1 -1
  193. package/dist/index.es48.js +1 -1
  194. package/dist/index.es50.js +1 -1
  195. package/dist/index.es52.js +1 -1
  196. package/dist/index.es56.js +1 -1
  197. package/dist/index.es57.js +1 -1
  198. package/dist/index.es59.js +1 -1
  199. package/dist/index.es62.js +1 -1
  200. package/dist/index.es63.js +1 -1
  201. package/dist/index.es64.js +1 -1
  202. package/dist/index.es65.js +2 -2
  203. package/dist/index.es66.js +1 -1
  204. package/dist/index.es67.js +2 -2
  205. package/dist/index.es69.js +1 -1
  206. package/dist/index.es7.js +1 -1
  207. package/dist/index.es754.js +21 -13
  208. package/dist/index.es755.js +82 -13
  209. package/dist/index.es756.js +14 -60
  210. package/dist/index.es757.js +2 -22
  211. package/dist/index.es758.js +2 -83
  212. package/dist/index.es759.js +14 -2
  213. package/dist/index.es760.js +60 -2
  214. package/dist/index.es770.js +2 -8
  215. package/dist/index.es771.js +2 -56
  216. package/dist/index.es772.js +7 -18
  217. package/dist/index.es773.js +56 -2
  218. package/dist/index.es774.js +19 -2
  219. package/dist/index.es78.js +1 -1
  220. package/dist/index.es781.js +2 -2
  221. package/dist/index.es783.js +1 -1
  222. package/dist/index.es784.js +2 -2
  223. package/dist/index.es787.js +26 -56
  224. package/dist/index.es788.js +3 -10
  225. package/dist/index.es789.js +57 -14
  226. package/dist/index.es79.js +1 -1
  227. package/dist/index.es790.js +6 -3
  228. package/dist/index.es791.js +15 -28
  229. package/dist/index.es792.js +7 -3
  230. package/dist/index.es797.js +1 -1
  231. package/dist/index.es798.js +1 -1
  232. package/dist/index.es799.js +1 -1
  233. package/dist/index.es800.js +1 -1
  234. package/dist/index.es802.js +1 -1
  235. package/dist/index.es807.js +1 -1
  236. package/dist/index.es808.js +2 -2
  237. package/dist/index.es809.js +1 -1
  238. package/dist/index.es811.js +5 -5
  239. package/dist/index.es812.js +2 -2
  240. package/dist/index.es813.js +1 -1
  241. package/dist/index.es815.js +2 -2
  242. package/dist/index.es823.js +1 -1
  243. package/dist/index.es827.js +15 -64
  244. package/dist/index.es828.js +7 -11
  245. package/dist/index.es829.js +61 -38
  246. package/dist/index.es830.js +7 -54
  247. package/dist/index.es831.js +40 -16
  248. package/dist/index.es832.js +57 -17
  249. package/dist/index.es833.js +20 -7
  250. package/dist/index.es834.js +1 -1
  251. package/dist/index.es84.js +1 -1
  252. package/dist/index.es88.js +1 -1
  253. package/dist/index.es90.js +9 -55
  254. package/dist/index.es91.js +52 -52
  255. package/dist/index.es92.js +55 -90
  256. package/dist/index.es93.js +87 -34
  257. package/dist/index.es94.js +36 -23
  258. package/dist/index.es95.js +18 -24
  259. package/dist/index.es96.js +30 -9
  260. package/dist/index.es97.js +259 -12
  261. package/dist/index.es98.js +10 -3672
  262. package/dist/index.es99.js +3673 -3
  263. package/dist/style.css +14 -2
  264. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import { __assign as m } from "./index.es321.js";
2
2
  import * as r from "react";
3
- import { RemoveScroll as e } from "./index.es351.js";
4
- import t from "./index.es352.js";
3
+ import { RemoveScroll as e } from "./index.es381.js";
4
+ import t from "./index.es382.js";
5
5
  var s = r.forwardRef(function(a, o) {
6
6
  return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
7
7
  });
@@ -1,4 +1,4 @@
1
- import { isDate as e } from "./index.es101.js";
1
+ import { isDate as e } from "./index.es102.js";
2
2
  import { toDate as o } from "./index.es189.js";
3
3
  function a(r) {
4
4
  if (!e(r) && typeof r != "number")
@@ -1,10 +1,10 @@
1
1
  import * as s from "react";
2
- import { composeEventHandlers as p } from "./index.es145.js";
2
+ import { composeEventHandlers as p } from "./index.es143.js";
3
3
  import { createCollection as H } from "./index.es159.js";
4
4
  import { useComposedRefs as V } from "./index.es137.js";
5
- import { createContextScope as z } from "./index.es146.js";
6
- import { useId as q } from "./index.es147.js";
7
- import { Primitive as P } from "./index.es151.js";
5
+ import { createContextScope as z } from "./index.es144.js";
6
+ import { useId as q } from "./index.es145.js";
7
+ import { Primitive as P } from "./index.es149.js";
8
8
  import { useCallbackRef as J } from "./index.es139.js";
9
9
  import { useControllableState as Q } from "./index.es89.js";
10
10
  import { useDirection as W } from "./index.es160.js";
@@ -1,11 +1,11 @@
1
1
  import { j as i } from "./index.es82.js";
2
2
  import { useContext as g, useMemo as x } from "react";
3
- import { CalendarContext as v } from "./index.es90.js";
3
+ import { CalendarContext as v } from "./index.es91.js";
4
4
  import { isSameMonth as h } from "./index.es224.js";
5
5
  import { isWeekend as D } from "./index.es226.js";
6
6
  import { isToday as M } from "./index.es225.js";
7
7
  import { cn as b } from "./index.es72.js";
8
- import { formatDate as o } from "./index.es102.js";
8
+ import { formatDate as o } from "./index.es103.js";
9
9
  const j = ({ day: t, navigationDate: d, className: s, ...r }) => {
10
10
  const {
11
11
  isSelected: n,
@@ -1,5 +1,5 @@
1
1
  import * as n from "react";
2
- import { Primitive as p } from "./index.es151.js";
2
+ import { Primitive as p } from "./index.es149.js";
3
3
  import { j as o } from "./index.es82.js";
4
4
  var v = "Arrow", e = n.forwardRef((r, i) => {
5
5
  const { children: t, width: s = 10, height: a = 5, ...m } = r;
@@ -1,5 +1,5 @@
1
1
  import * as h from "react";
2
- import { useLayoutEffect as z } from "./index.es155.js";
2
+ import { useLayoutEffect as z } from "./index.es157.js";
3
3
  function c(r) {
4
4
  const [d, e] = h.useState(void 0);
5
5
  return z(() => {
@@ -1,28 +1,4 @@
1
- import { j as t } from "./index.es82.js";
2
- import { useRef as n, useMemo as c, useImperativeHandle as f, useEffect as a } from "react";
3
- import { s as x } from "./index.es338.js";
4
- import { TreeApiContext as v, DataUpdatesContext as E, NodesContext as h, DndContext as j } from "./index.es339.js";
5
- import { TreeApi as T } from "./index.es256.js";
6
- import { initialState as d } from "./index.es340.js";
7
- import { rootReducer as S } from "./index.es341.js";
8
- import { HTML5Backend as R } from "./index.es342.js";
9
- import { createStore as b } from "./index.es343.js";
10
- import { actions as g } from "./index.es263.js";
11
- import { DndProvider as C } from "./index.es344.js";
12
- const A = d();
13
- function P({ treeProps: r, imperativeHandle: l, children: m }) {
14
- const p = n(null), u = n(null), o = n(
15
- // @ts-ignore
16
- b(S, d(r))
17
- ), s = x.useSyncExternalStore(o.current.subscribe, o.current.getState, () => A), e = c(() => new T(o.current, r, p, u), []), i = n(0);
18
- return c(() => {
19
- i.current += 1, e.update(r);
20
- }, [...Object.values(r), s.nodes.open]), f(l, () => e), a(() => {
21
- e.props.selection ? e.select(e.props.selection, { focus: !1 }) : e.deselectAll();
22
- }, [e.props.selection]), a(() => {
23
- e.props.searchTerm || o.current.dispatch(g.clear(!0));
24
- }, [e.props.searchTerm]), t.jsx(v.Provider, { value: e, children: t.jsx(E.Provider, { value: i.current, children: t.jsx(h.Provider, { value: s.nodes, children: t.jsx(j.Provider, { value: s.dnd, children: t.jsx(C, Object.assign({ backend: R, options: { rootElement: e.props.dndRootElement || void 0 } }, r.dndManager && { manager: r.dndManager }, { children: m })) }) }) }) });
25
- }
1
+ var t = { exports: {} };
26
2
  export {
27
- P as TreeProvider
3
+ t as __module
28
4
  };
@@ -1,7 +1,400 @@
1
- import { useOuterDrop as e } from "./index.es345.js";
2
- function t(r) {
3
- return e(), r.children;
1
+ import { __exports as u } from "./index.es336.js";
2
+ import _e from "react";
3
+ import Te from "react-dom";
4
+ /**
5
+ * @license React
6
+ * react-dom-test-utils.production.min.js
7
+ *
8
+ * Copyright (c) Facebook, Inc. and its affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ var B;
14
+ function Re() {
15
+ if (B) return u;
16
+ B = 1;
17
+ var f = _e, T = Te;
18
+ function N(e) {
19
+ var n = e, t = e;
20
+ if (e.alternate) for (; n.return; ) n = n.return;
21
+ else {
22
+ e = n;
23
+ do
24
+ n = e, n.flags & 4098 && (t = n.return), e = n.return;
25
+ while (e);
26
+ }
27
+ return n.tag === 3 ? t : null;
28
+ }
29
+ function L(e) {
30
+ if (N(e) !== e) throw Error("Unable to find node on an unmounted component.");
31
+ }
32
+ function q(e) {
33
+ var n = e.alternate;
34
+ if (!n) {
35
+ if (n = N(e), n === null) throw Error("Unable to find node on an unmounted component.");
36
+ return n !== e ? null : e;
37
+ }
38
+ for (var t = e, r = n; ; ) {
39
+ var i = t.return;
40
+ if (i === null) break;
41
+ var a = i.alternate;
42
+ if (a === null) {
43
+ if (r = i.return, r !== null) {
44
+ t = r;
45
+ continue;
46
+ }
47
+ break;
48
+ }
49
+ if (i.child === a.child) {
50
+ for (a = i.child; a; ) {
51
+ if (a === t) return L(i), e;
52
+ if (a === r) return L(i), n;
53
+ a = a.sibling;
54
+ }
55
+ throw Error("Unable to find node on an unmounted component.");
56
+ }
57
+ if (t.return !== r.return) t = i, r = a;
58
+ else {
59
+ for (var o = !1, s = i.child; s; ) {
60
+ if (s === t) {
61
+ o = !0, t = i, r = a;
62
+ break;
63
+ }
64
+ if (s === r) {
65
+ o = !0, r = i, t = a;
66
+ break;
67
+ }
68
+ s = s.sibling;
69
+ }
70
+ if (!o) {
71
+ for (s = a.child; s; ) {
72
+ if (s === t) {
73
+ o = !0, t = a, r = i;
74
+ break;
75
+ }
76
+ if (s === r) {
77
+ o = !0, r = a, t = i;
78
+ break;
79
+ }
80
+ s = s.sibling;
81
+ }
82
+ if (!o) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
83
+ }
84
+ }
85
+ if (t.alternate !== r) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
86
+ }
87
+ if (t.tag !== 3) throw Error("Unable to find node on an unmounted component.");
88
+ return t.stateNode.current === t ? e : n;
89
+ }
90
+ var l = Object.assign;
91
+ function M(e) {
92
+ var n = e.keyCode;
93
+ return "charCode" in e ? (e = e.charCode, e === 0 && n === 13 && (e = 13)) : e = n, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
94
+ }
95
+ function C() {
96
+ return !0;
97
+ }
98
+ function A() {
99
+ return !1;
100
+ }
101
+ function c(e) {
102
+ function n(t, r, i, a, o) {
103
+ this._reactName = t, this._targetInst = i, this.type = r, this.nativeEvent = a, this.target = o, this.currentTarget = null;
104
+ for (var s in e) e.hasOwnProperty(s) && (t = e[s], this[s] = t ? t(a) : a[s]);
105
+ return this.isDefaultPrevented = (a.defaultPrevented != null ? a.defaultPrevented : a.returnValue === !1) ? C : A, this.isPropagationStopped = A, this;
106
+ }
107
+ return l(n.prototype, { preventDefault: function() {
108
+ this.defaultPrevented = !0;
109
+ var t = this.nativeEvent;
110
+ t && (t.preventDefault ? t.preventDefault() : typeof t.returnValue != "unknown" && (t.returnValue = !1), this.isDefaultPrevented = C);
111
+ }, stopPropagation: function() {
112
+ var t = this.nativeEvent;
113
+ t && (t.stopPropagation ? t.stopPropagation() : typeof t.cancelBubble != "unknown" && (t.cancelBubble = !0), this.isPropagationStopped = C);
114
+ }, persist: function() {
115
+ }, isPersistent: C }), n;
116
+ }
117
+ var h = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
118
+ return e.timeStamp || Date.now();
119
+ }, defaultPrevented: 0, isTrusted: 0 }, z = c(h), m = l({}, h, { view: 0, detail: 0 });
120
+ c(m);
121
+ var O, P, y, E = l({}, m, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: R, button: 0, buttons: 0, relatedTarget: function(e) {
122
+ return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
123
+ }, movementX: function(e) {
124
+ return "movementX" in e ? e.movementX : (e !== y && (y && e.type === "mousemove" ? (O = e.screenX - y.screenX, P = e.screenY - y.screenY) : P = O = 0, y = e), O);
125
+ }, movementY: function(e) {
126
+ return "movementY" in e ? e.movementY : P;
127
+ } });
128
+ c(E);
129
+ var H = l({}, E, { dataTransfer: 0 });
130
+ c(H);
131
+ var Z = l({}, m, { relatedTarget: 0 });
132
+ c(Z);
133
+ var G = l({}, h, { animationName: 0, elapsedTime: 0, pseudoElement: 0 });
134
+ c(G);
135
+ var J = l({}, h, { clipboardData: function(e) {
136
+ return "clipboardData" in e ? e.clipboardData : window.clipboardData;
137
+ } });
138
+ c(J);
139
+ var Q = l({}, h, { data: 0 });
140
+ c(Q);
141
+ var $ = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, ee = {
142
+ 8: "Backspace",
143
+ 9: "Tab",
144
+ 12: "Clear",
145
+ 13: "Enter",
146
+ 16: "Shift",
147
+ 17: "Control",
148
+ 18: "Alt",
149
+ 19: "Pause",
150
+ 20: "CapsLock",
151
+ 27: "Escape",
152
+ 32: " ",
153
+ 33: "PageUp",
154
+ 34: "PageDown",
155
+ 35: "End",
156
+ 36: "Home",
157
+ 37: "ArrowLeft",
158
+ 38: "ArrowUp",
159
+ 39: "ArrowRight",
160
+ 40: "ArrowDown",
161
+ 45: "Insert",
162
+ 46: "Delete",
163
+ 112: "F1",
164
+ 113: "F2",
165
+ 114: "F3",
166
+ 115: "F4",
167
+ 116: "F5",
168
+ 117: "F6",
169
+ 118: "F7",
170
+ 119: "F8",
171
+ 120: "F9",
172
+ 121: "F10",
173
+ 122: "F11",
174
+ 123: "F12",
175
+ 144: "NumLock",
176
+ 145: "ScrollLock",
177
+ 224: "Meta"
178
+ }, te = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
179
+ function ne(e) {
180
+ var n = this.nativeEvent;
181
+ return n.getModifierState ? n.getModifierState(e) : (e = te[e]) ? !!n[e] : !1;
182
+ }
183
+ function R() {
184
+ return ne;
185
+ }
186
+ var re = l({}, m, { key: function(e) {
187
+ if (e.key) {
188
+ var n = $[e.key] || e.key;
189
+ if (n !== "Unidentified") return n;
190
+ }
191
+ return e.type === "keypress" ? (e = M(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? ee[e.keyCode] || "Unidentified" : "";
192
+ }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: R, charCode: function(e) {
193
+ return e.type === "keypress" ? M(e) : 0;
194
+ }, keyCode: function(e) {
195
+ return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
196
+ }, which: function(e) {
197
+ return e.type === "keypress" ? M(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
198
+ } });
199
+ c(re);
200
+ var oe = l({}, E, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 });
201
+ c(oe);
202
+ var ie = l({}, m, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: R });
203
+ c(ie);
204
+ var ae = l({}, h, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 });
205
+ c(ae);
206
+ var se = l({}, E, { deltaX: function(e) {
207
+ return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
208
+ }, deltaY: function(e) {
209
+ return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
210
+ }, deltaZ: 0, deltaMode: 0 });
211
+ c(se);
212
+ function ue(e, n, t, r, i, a, o, s, w) {
213
+ var d = Array.prototype.slice.call(arguments, 3);
214
+ try {
215
+ n.apply(t, d);
216
+ } catch (ke) {
217
+ this.onError(ke);
218
+ }
219
+ }
220
+ var v = !1, D = null, b = !1, S = null, le = { onError: function(e) {
221
+ v = !0, D = e;
222
+ } };
223
+ function ce(e, n, t, r, i, a, o, s, w) {
224
+ v = !1, D = null, ue.apply(le, arguments);
225
+ }
226
+ function de(e, n, t, r, i, a, o, s, w) {
227
+ if (ce.apply(this, arguments), v) {
228
+ if (v) {
229
+ var d = D;
230
+ v = !1, D = null;
231
+ } else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
232
+ b || (b = !0, S = d);
233
+ }
234
+ }
235
+ var U = Array.isArray, g = T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, pe = g[0], fe = g[1], he = g[2], me = g[3], ye = g[4], ve = f.unstable_act;
236
+ function ge() {
237
+ }
238
+ function we(e, n) {
239
+ if (!e) return [];
240
+ if (e = q(e), !e) return [];
241
+ for (var t = e, r = []; ; ) {
242
+ if (t.tag === 5 || t.tag === 6 || t.tag === 1 || t.tag === 0) {
243
+ var i = t.stateNode;
244
+ n(i) && r.push(i);
245
+ }
246
+ if (t.child) t.child.return = t, t = t.child;
247
+ else {
248
+ if (t === e) return r;
249
+ for (; !t.sibling; ) {
250
+ if (!t.return || t.return === e) return r;
251
+ t = t.return;
252
+ }
253
+ t.sibling.return = t.return, t = t.sibling;
254
+ }
255
+ }
256
+ }
257
+ function p(e, n) {
258
+ if (e && !e._reactInternals) {
259
+ var t = String(e);
260
+ throw e = U(e) ? "an array" : e && e.nodeType === 1 && e.tagName ? "a DOM node" : t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t, Error(n + "(...): the first argument must be a React class instance. Instead received: " + (e + "."));
261
+ }
262
+ }
263
+ function k(e) {
264
+ return !(!e || e.nodeType !== 1 || !e.tagName);
265
+ }
266
+ function I(e) {
267
+ return k(e) ? !1 : e != null && typeof e.render == "function" && typeof e.setState == "function";
268
+ }
269
+ function x(e, n) {
270
+ return I(e) ? e._reactInternals.type === n : !1;
271
+ }
272
+ function _(e, n) {
273
+ return p(e, "findAllInRenderedTree"), e ? we(e._reactInternals, n) : [];
274
+ }
275
+ function K(e, n) {
276
+ return p(e, "scryRenderedDOMComponentsWithClass"), _(e, function(t) {
277
+ if (k(t)) {
278
+ var r = t.className;
279
+ typeof r != "string" && (r = t.getAttribute("class") || "");
280
+ var i = r.split(/\s+/);
281
+ if (!U(n)) {
282
+ if (n === void 0) throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
283
+ n = n.split(/\s+/);
284
+ }
285
+ return n.every(function(a) {
286
+ return i.indexOf(a) !== -1;
287
+ });
288
+ }
289
+ return !1;
290
+ });
291
+ }
292
+ function W(e, n) {
293
+ return p(e, "scryRenderedDOMComponentsWithTag"), _(e, function(t) {
294
+ return k(t) && t.tagName.toUpperCase() === n.toUpperCase();
295
+ });
296
+ }
297
+ function Y(e, n) {
298
+ return p(e, "scryRenderedComponentsWithType"), _(e, function(t) {
299
+ return x(t, n);
300
+ });
301
+ }
302
+ function X(e, n, t) {
303
+ var r = e.type || "unknown-event";
304
+ e.currentTarget = fe(t), de(r, n, void 0, e), e.currentTarget = null;
305
+ }
306
+ function F(e, n, t) {
307
+ for (var r = []; e; ) {
308
+ r.push(e);
309
+ do
310
+ e = e.return;
311
+ while (e && e.tag !== 5);
312
+ e = e || null;
313
+ }
314
+ for (e = r.length; 0 < e--; ) n(r[e], "captured", t);
315
+ for (e = 0; e < r.length; e++) n(r[e], "bubbled", t);
316
+ }
317
+ function V(e, n) {
318
+ var t = e.stateNode;
319
+ if (!t) return null;
320
+ var r = he(t);
321
+ if (!r) return null;
322
+ t = r[n];
323
+ e: switch (n) {
324
+ case "onClick":
325
+ case "onClickCapture":
326
+ case "onDoubleClick":
327
+ case "onDoubleClickCapture":
328
+ case "onMouseDown":
329
+ case "onMouseDownCapture":
330
+ case "onMouseMove":
331
+ case "onMouseMoveCapture":
332
+ case "onMouseUp":
333
+ case "onMouseUpCapture":
334
+ case "onMouseEnter":
335
+ (r = !r.disabled) || (e = e.type, r = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !r;
336
+ break e;
337
+ default:
338
+ e = !1;
339
+ }
340
+ if (e) return null;
341
+ if (t && typeof t != "function") throw Error("Expected `" + n + "` listener to be a function, instead got a value of `" + typeof t + "` type.");
342
+ return t;
343
+ }
344
+ function Ce(e, n, t) {
345
+ e && t && t._reactName && (n = V(e, t._reactName)) && (t._dispatchListeners == null && (t._dispatchListeners = []), t._dispatchInstances == null && (t._dispatchInstances = []), t._dispatchListeners.push(n), t._dispatchInstances.push(e));
346
+ }
347
+ function Ee(e, n, t) {
348
+ var r = t._reactName;
349
+ n === "captured" && (r += "Capture"), (n = V(e, r)) && (t._dispatchListeners == null && (t._dispatchListeners = []), t._dispatchInstances == null && (t._dispatchInstances = []), t._dispatchListeners.push(n), t._dispatchInstances.push(e));
350
+ }
351
+ var j = {}, De = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
352
+ function be(e) {
353
+ return function(n, t) {
354
+ if (f.isValidElement(n)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
355
+ if (I(n)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
356
+ var r = "on" + e[0].toUpperCase() + e.slice(1), i = new ge();
357
+ i.target = n, i.type = e.toLowerCase();
358
+ var a = pe(n), o = new z(r, i.type, a, i, n);
359
+ o.persist(), l(o, t), De.has(e) ? o && o._reactName && Ce(o._targetInst, null, o) : o && o._reactName && F(o._targetInst, Ee, o), T.unstable_batchedUpdates(function() {
360
+ if (me(n), o) {
361
+ var s = o._dispatchListeners, w = o._dispatchInstances;
362
+ if (U(s)) for (var d = 0; d < s.length && !o.isPropagationStopped(); d++) X(o, s[d], w[d]);
363
+ else s && X(o, s, w);
364
+ o._dispatchListeners = null, o._dispatchInstances = null, o.isPersistent() || o.constructor.release(o);
365
+ }
366
+ if (b) throw s = S, b = !1, S = null, s;
367
+ }), ye();
368
+ };
369
+ }
370
+ return "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(e) {
371
+ j[e] = be(e);
372
+ }), u.Simulate = j, u.act = ve, u.findAllInRenderedTree = _, u.findRenderedComponentWithType = function(e, n) {
373
+ if (p(e, "findRenderedComponentWithType"), e = Y(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for componentType:" + n);
374
+ return e[0];
375
+ }, u.findRenderedDOMComponentWithClass = function(e, n) {
376
+ if (p(e, "findRenderedDOMComponentWithClass"), e = K(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for class:" + n);
377
+ return e[0];
378
+ }, u.findRenderedDOMComponentWithTag = function(e, n) {
379
+ if (p(e, "findRenderedDOMComponentWithTag"), e = W(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for tag:" + n);
380
+ return e[0];
381
+ }, u.isCompositeComponent = I, u.isCompositeComponentWithType = x, u.isDOMComponent = k, u.isDOMComponentElement = function(e) {
382
+ return !!(e && f.isValidElement(e) && e.tagName);
383
+ }, u.isElement = function(e) {
384
+ return f.isValidElement(e);
385
+ }, u.isElementOfType = function(e, n) {
386
+ return f.isValidElement(e) && e.type === n;
387
+ }, u.mockComponent = function(e, n) {
388
+ return n = n || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
389
+ return f.createElement(n, null, this.props.children);
390
+ }), this;
391
+ }, u.nativeTouchData = function(e, n) {
392
+ return { touches: [{ pageX: e, pageY: n }] };
393
+ }, u.renderIntoDocument = function(e) {
394
+ var n = document.createElement("div");
395
+ return T.render(e, n);
396
+ }, u.scryRenderedComponentsWithType = Y, u.scryRenderedDOMComponentsWithClass = K, u.scryRenderedDOMComponentsWithTag = W, u.traverseTwoPhase = F, u;
4
397
  }
5
398
  export {
6
- t as OuterDrop
399
+ Re as __require
7
400
  };