@fluid-app/fluid-cli-theme-dev 0.1.533 → 0.1.535
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist-cli-preview/.vite/manifest.json +276 -295
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Combobox-CJDvxjNn.js → Combobox-D4l7DbBy.js} +54 -53
- package/dist/dist-cli-preview/chunks/{ContactsScreen-DD3XWK3Q.js → ContactsScreen-CEtA3-1c.js} +903 -850
- package/dist/dist-cli-preview/chunks/MediaScreen-C2rOxuuv.js +8 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-iVdfo0DH.js → MemberManagementProviders-B_YXVcDi.js} +13 -13
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-BulCAnNO.js → MemberShareablesScreen-UNjYr5R6.js} +4207 -3757
- package/dist/dist-cli-preview/chunks/{MessagingScreen-DlDsOy19.js → MessagingScreen-Btga_V0H.js} +24118 -21933
- package/dist/dist-cli-preview/chunks/MobileActionSheet-CrEH2vO7.js +1384 -0
- package/dist/dist-cli-preview/chunks/{MySiteScreen-BfPfyV4m.js → MySiteScreen-B1fGtPDj.js} +177 -163
- package/dist/dist-cli-preview/chunks/OrdersScreen-Bf9DtOCA.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-C4yi3z2p.js → OrdersScreen-DyyL-P7j.js} +35 -34
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-tws56I3H.js +8 -0
- package/dist/dist-cli-preview/chunks/{PortalTenantClientProvider-Clys_Bme.js → PortalTenantClientProvider-DUOOCXfW.js} +1 -1
- package/dist/dist-cli-preview/chunks/{ProfileScreen-e4QhExeS.js → ProfileScreen-wZO6QMrU.js} +259 -234
- package/dist/dist-cli-preview/chunks/ResponsiveDialog-DSDcOjhm.js +731 -0
- package/dist/dist-cli-preview/chunks/Select-DmRoXIkQ.js +2499 -0
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-DysTJ6w_.js → SubscriptionsScreen-BR2C0m7M.js} +3 -3
- package/dist/dist-cli-preview/chunks/Textarea-C59p5Cek.js +365 -0
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-B3e0JV6I.js → account-screen-runtime-BqMndJcu.js} +1389 -1409
- package/dist/dist-cli-preview/chunks/{arrow-left-BOYuYcvT.js → arrow-left-CFy5J6Id.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-cY0EPyxC.js → cli-preview-DZOhxtLy.js} +10 -10
- package/dist/dist-cli-preview/chunks/{client.gen-jwIybX1j.js → client.gen-DTVKCFco.js} +12 -12
- package/dist/dist-cli-preview/chunks/{copy-Cm_EKxcg.js → copy-Da4VLOCZ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-BCS0247N.js → countries-api-adapter-Bh5QfCO1.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-CZi7shLR.js → create-card-entry-container-ohrRYgww.js} +1939 -1929
- package/dist/dist-cli-preview/chunks/{hey-api-client-B6n5a7q-.js → hey-api-client-BIjWueui.js} +1 -1
- package/dist/dist-cli-preview/chunks/{index-CfLLmITa.js → index-BMWjXC9i.js} +405 -869
- package/dist/dist-cli-preview/chunks/{index-DFIsiT9r.js → index-BVehJyDQ.js} +2080 -2372
- package/dist/dist-cli-preview/chunks/index-_r1wSvno.js +427 -0
- package/dist/dist-cli-preview/chunks/{isAfter-D0zQuNEJ.js → isAfter-BR4uNpua.js} +145 -156
- package/dist/dist-cli-preview/chunks/{map-pin-Vt1smsNu.js → map-pin-C_cK_i_W.js} +1 -1
- package/dist/dist-cli-preview/chunks/messaging-B1UjYRdl.js +4 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-BOVvR3Og.js → mount-account-screen-JJGALFRE.js} +8 -8
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-D756rD78.js → navigate-account-screen-C0VoUNOi.js} +1 -1
- package/dist/dist-cli-preview/chunks/schemas-D0s3rDQw.js +4851 -0
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-HNXiCpo6.js → screen-route-slug-utils-n2BiDZmp.js} +205 -260
- package/dist/dist-cli-preview/chunks/search-zEnxG69C.js +14 -0
- package/dist/dist-cli-preview/chunks/sheet-haptics-context-p5ZPxslK.js +133 -0
- package/dist/dist-cli-preview/chunks/{sidebar-BDgHluGp.js → sidebar-CjPHl33n.js} +8 -8
- package/dist/dist-cli-preview/chunks/{sortable.esm-Cw91KlVU.js → sortable.esm-CrxUZkb-.js} +373 -362
- package/dist/dist-cli-preview/chunks/{store-api-context-BCaEZBlj.js → store-api-context-0k_ECvSE.js} +1 -1
- package/dist/dist-cli-preview/chunks/translation-api-context-factory-CP0LBb-M.js +74 -0
- package/dist/dist-cli-preview/chunks/{use-mobile-BztyG-mE.js → use-mobile-DIhDH3dI.js} +1 -1
- package/dist/dist-cli-preview/chunks/{use-optional-store-Dl6PSQur.js → use-optional-store-t4xzc2Rl.js} +2 -2
- package/dist/dist-cli-preview/chunks/use-store-YC0Ovzht.js +76 -0
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-fL_VYHHr.js → useInfiniteQuery-Bnzu0kZa.js} +9 -20
- package/dist/dist-cli-preview/chunks/{users-B3YJ3D1U.js → users-CabXl4EL.js} +1 -1
- package/package.json +2 -2
- package/dist/dist-cli-preview/chunks/Breadcrumb-ixf0cTR_.js +0 -91
- package/dist/dist-cli-preview/chunks/MediaScreen-D8WSOaze.js +0 -8
- package/dist/dist-cli-preview/chunks/MobileActionSheet-aGr-nGxu.js +0 -3884
- package/dist/dist-cli-preview/chunks/OrdersScreen-hidM-JR_.js +0 -9
- package/dist/dist-cli-preview/chunks/PlaylistsScreen-BIqSXZ5B.js +0 -8
- package/dist/dist-cli-preview/chunks/ellipsis-C1sJRT_T.js +0 -15
- package/dist/dist-cli-preview/chunks/eye-BHBOtWLw.js +0 -20
- package/dist/dist-cli-preview/chunks/index-COIiY5Im.js +0 -135
- package/dist/dist-cli-preview/chunks/log-out-segl_UhK.js +0 -30
- package/dist/dist-cli-preview/chunks/messaging-C_IkzF0O.js +0 -4
- package/dist/dist-cli-preview/chunks/pause-YWP8mWBs.js +0 -41
- package/dist/dist-cli-preview/chunks/schemas-BiM-ImW1.js +0 -5565
- package/dist/dist-cli-preview/chunks/sheet-haptics-context-d9udqor0.js +0 -116
- package/dist/dist-cli-preview/chunks/trash-2-CZEbdFT_.js +0 -17
- package/dist/dist-cli-preview/chunks/use-store-aahN8SDp.js +0 -400
- package/dist/dist-cli-preview/chunks/user-B4pULYRZ.js +0 -14
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { u as ve } from "./schemas-
|
|
1
|
+
import { c as Ct, j as $e, X as Ke, l as a, Y as st, _ as ge, Z as z, ai as Le } from "./account-screen-runtime-BqMndJcu.js";
|
|
2
|
+
import { u as ve } from "./schemas-D0s3rDQw.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license lucide-react v0.575.0 - ISC
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the ISC license.
|
|
7
7
|
* See the LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const On = [
|
|
10
10
|
["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
|
|
11
11
|
["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
|
|
12
12
|
["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
|
|
13
13
|
["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
|
|
14
14
|
["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
|
|
15
15
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
|
16
|
-
],
|
|
16
|
+
], mo = Ct("grip-vertical", On);
|
|
17
17
|
/**
|
|
18
18
|
* @license lucide-react v0.575.0 - ISC
|
|
19
19
|
*
|
|
@@ -25,8 +25,18 @@ const Ln = [
|
|
|
25
25
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
26
26
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
27
27
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
28
|
-
],
|
|
29
|
-
|
|
28
|
+
], wo = Ct("layout-grid", Ln);
|
|
29
|
+
/**
|
|
30
|
+
* @license lucide-react v0.575.0 - ISC
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the ISC license.
|
|
33
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/
|
|
35
|
+
const Pn = [
|
|
36
|
+
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
37
|
+
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
38
|
+
], xo = Ct("user", Pn);
|
|
39
|
+
function Do({
|
|
30
40
|
className: e,
|
|
31
41
|
...t
|
|
32
42
|
}) {
|
|
@@ -42,7 +52,7 @@ function wo({
|
|
|
42
52
|
}
|
|
43
53
|
);
|
|
44
54
|
}
|
|
45
|
-
function
|
|
55
|
+
function Co({
|
|
46
56
|
className: e,
|
|
47
57
|
...t
|
|
48
58
|
}) {
|
|
@@ -58,7 +68,7 @@ function xo({
|
|
|
58
68
|
}
|
|
59
69
|
);
|
|
60
70
|
}
|
|
61
|
-
function
|
|
71
|
+
function So({
|
|
62
72
|
className: e,
|
|
63
73
|
...t
|
|
64
74
|
}) {
|
|
@@ -71,7 +81,7 @@ function Do({
|
|
|
71
81
|
}
|
|
72
82
|
);
|
|
73
83
|
}
|
|
74
|
-
function
|
|
84
|
+
function Ro({
|
|
75
85
|
className: e,
|
|
76
86
|
...t
|
|
77
87
|
}) {
|
|
@@ -87,7 +97,7 @@ function Co({
|
|
|
87
97
|
}
|
|
88
98
|
);
|
|
89
99
|
}
|
|
90
|
-
function
|
|
100
|
+
function Eo({
|
|
91
101
|
className: e,
|
|
92
102
|
...t
|
|
93
103
|
}) {
|
|
@@ -100,8 +110,8 @@ function So({
|
|
|
100
110
|
}
|
|
101
111
|
);
|
|
102
112
|
}
|
|
103
|
-
const Gt = a.createContext(null),
|
|
104
|
-
function
|
|
113
|
+
const Gt = a.createContext(null), Mo = Gt.Provider;
|
|
114
|
+
function H() {
|
|
105
115
|
const e = a.use(Gt);
|
|
106
116
|
if (!e)
|
|
107
117
|
throw new Error("useMySiteApi must be used within a MySiteApiProvider");
|
|
@@ -113,15 +123,15 @@ const N = {
|
|
|
113
123
|
favorites: () => ["portal-mysite", "favorites"],
|
|
114
124
|
themes: () => ["portal-mysite", "themes"]
|
|
115
125
|
};
|
|
116
|
-
function
|
|
117
|
-
const e =
|
|
126
|
+
function Ao() {
|
|
127
|
+
const e = H();
|
|
118
128
|
return st({
|
|
119
129
|
queryKey: N.profile(),
|
|
120
130
|
queryFn: () => e.fetchProfile()
|
|
121
131
|
});
|
|
122
132
|
}
|
|
123
|
-
function
|
|
124
|
-
const t =
|
|
133
|
+
function Io(e) {
|
|
134
|
+
const t = H(), n = ge();
|
|
125
135
|
return ve({
|
|
126
136
|
mutationFn: (r) => t.updateSettings(r),
|
|
127
137
|
// Awaited so the mutation stays pending until the refetches land. Callers
|
|
@@ -133,15 +143,15 @@ function Mo(e) {
|
|
|
133
143
|
}
|
|
134
144
|
});
|
|
135
145
|
}
|
|
136
|
-
function
|
|
137
|
-
const e =
|
|
146
|
+
function To() {
|
|
147
|
+
const e = H();
|
|
138
148
|
return st({
|
|
139
149
|
queryKey: N.links(),
|
|
140
150
|
queryFn: () => e.listLinks()
|
|
141
151
|
});
|
|
142
152
|
}
|
|
143
|
-
function
|
|
144
|
-
const e =
|
|
153
|
+
function No() {
|
|
154
|
+
const e = H(), t = ge();
|
|
145
155
|
return ve({
|
|
146
156
|
mutationFn: (n) => e.createLink(n),
|
|
147
157
|
onSuccess: () => {
|
|
@@ -151,8 +161,8 @@ function Io() {
|
|
|
151
161
|
}
|
|
152
162
|
});
|
|
153
163
|
}
|
|
154
|
-
function
|
|
155
|
-
const e =
|
|
164
|
+
function ko() {
|
|
165
|
+
const e = H(), t = ge();
|
|
156
166
|
return ve({
|
|
157
167
|
mutationFn: ({ linkId: n, body: r }) => e.updateLink(n, r),
|
|
158
168
|
onSuccess: () => {
|
|
@@ -162,8 +172,8 @@ function To() {
|
|
|
162
172
|
}
|
|
163
173
|
});
|
|
164
174
|
}
|
|
165
|
-
function
|
|
166
|
-
const e =
|
|
175
|
+
function Oo() {
|
|
176
|
+
const e = H(), t = ge();
|
|
167
177
|
return ve({
|
|
168
178
|
mutationFn: (n) => e.deleteLink(n),
|
|
169
179
|
onSuccess: () => {
|
|
@@ -173,8 +183,8 @@ function No() {
|
|
|
173
183
|
}
|
|
174
184
|
});
|
|
175
185
|
}
|
|
176
|
-
function
|
|
177
|
-
const e =
|
|
186
|
+
function Lo() {
|
|
187
|
+
const e = H(), t = ge();
|
|
178
188
|
return ve({
|
|
179
189
|
mutationFn: ({
|
|
180
190
|
orderedIds: n
|
|
@@ -201,15 +211,15 @@ function Oo() {
|
|
|
201
211
|
}
|
|
202
212
|
});
|
|
203
213
|
}
|
|
204
|
-
function
|
|
205
|
-
const e =
|
|
214
|
+
function Po() {
|
|
215
|
+
const e = H();
|
|
206
216
|
return st({
|
|
207
217
|
queryKey: N.favorites(),
|
|
208
218
|
queryFn: () => e.listFavorites()
|
|
209
219
|
});
|
|
210
220
|
}
|
|
211
|
-
function
|
|
212
|
-
const e =
|
|
221
|
+
function Fo() {
|
|
222
|
+
const e = H(), t = ge();
|
|
213
223
|
return ve({
|
|
214
224
|
mutationFn: (n) => e.deleteFavorite(n),
|
|
215
225
|
onSuccess: () => {
|
|
@@ -219,8 +229,8 @@ function Lo() {
|
|
|
219
229
|
}
|
|
220
230
|
});
|
|
221
231
|
}
|
|
222
|
-
function
|
|
223
|
-
const e =
|
|
232
|
+
function zo() {
|
|
233
|
+
const e = H(), t = ge();
|
|
224
234
|
return ve({
|
|
225
235
|
mutationFn: ({
|
|
226
236
|
orderedIds: n
|
|
@@ -247,14 +257,14 @@ function Po() {
|
|
|
247
257
|
}
|
|
248
258
|
});
|
|
249
259
|
}
|
|
250
|
-
function
|
|
251
|
-
const e =
|
|
260
|
+
function Bo() {
|
|
261
|
+
const e = H();
|
|
252
262
|
return st({
|
|
253
263
|
queryKey: N.themes(),
|
|
254
264
|
queryFn: () => e.listThemes()
|
|
255
265
|
});
|
|
256
266
|
}
|
|
257
|
-
function
|
|
267
|
+
function Fn() {
|
|
258
268
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
259
269
|
t[n] = arguments[n];
|
|
260
270
|
return a.useMemo(
|
|
@@ -271,14 +281,14 @@ function Ce(e) {
|
|
|
271
281
|
return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
|
|
272
282
|
t === "[object global]";
|
|
273
283
|
}
|
|
274
|
-
function
|
|
284
|
+
function St(e) {
|
|
275
285
|
return "nodeType" in e;
|
|
276
286
|
}
|
|
277
287
|
function B(e) {
|
|
278
288
|
var t, n;
|
|
279
|
-
return e ? Ce(e) ? e :
|
|
289
|
+
return e ? Ce(e) ? e : St(e) && (t = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? t : window : window;
|
|
280
290
|
}
|
|
281
|
-
function
|
|
291
|
+
function Rt(e) {
|
|
282
292
|
const {
|
|
283
293
|
Document: t
|
|
284
294
|
} = B(e);
|
|
@@ -291,10 +301,10 @@ function Jt(e) {
|
|
|
291
301
|
return e instanceof B(e).SVGElement;
|
|
292
302
|
}
|
|
293
303
|
function Se(e) {
|
|
294
|
-
return e ? Ce(e) ? e.document :
|
|
304
|
+
return e ? Ce(e) ? e.document : St(e) ? Rt(e) ? e : Xe(e) || Jt(e) ? e.ownerDocument : document : document : document;
|
|
295
305
|
}
|
|
296
306
|
const ee = at ? a.useLayoutEffect : a.useEffect;
|
|
297
|
-
function
|
|
307
|
+
function Et(e) {
|
|
298
308
|
const t = a.useRef(e);
|
|
299
309
|
return ee(() => {
|
|
300
310
|
t.current = e;
|
|
@@ -304,7 +314,7 @@ function Rt(e) {
|
|
|
304
314
|
return t.current == null ? void 0 : t.current(...r);
|
|
305
315
|
}, []);
|
|
306
316
|
}
|
|
307
|
-
function
|
|
317
|
+
function zn() {
|
|
308
318
|
const e = a.useRef(null), t = a.useCallback((r, o) => {
|
|
309
319
|
e.current = setInterval(r, o);
|
|
310
320
|
}, []), n = a.useCallback(() => {
|
|
@@ -319,7 +329,7 @@ function Be(e, t) {
|
|
|
319
329
|
n.current !== e && (n.current = e);
|
|
320
330
|
}, t), n;
|
|
321
331
|
}
|
|
322
|
-
function
|
|
332
|
+
function Ue(e, t) {
|
|
323
333
|
const n = a.useRef();
|
|
324
334
|
return a.useMemo(
|
|
325
335
|
() => {
|
|
@@ -331,7 +341,7 @@ function Ye(e, t) {
|
|
|
331
341
|
);
|
|
332
342
|
}
|
|
333
343
|
function tt(e) {
|
|
334
|
-
const t =
|
|
344
|
+
const t = Et(e), n = a.useRef(null), r = a.useCallback(
|
|
335
345
|
(o) => {
|
|
336
346
|
o !== n.current && t?.(o, n.current), n.current = o;
|
|
337
347
|
},
|
|
@@ -347,7 +357,7 @@ function yt(e) {
|
|
|
347
357
|
}, [e]), t.current;
|
|
348
358
|
}
|
|
349
359
|
let gt = {};
|
|
350
|
-
function
|
|
360
|
+
function Ye(e, t) {
|
|
351
361
|
return a.useMemo(() => {
|
|
352
362
|
if (t)
|
|
353
363
|
return t;
|
|
@@ -372,10 +382,10 @@ function Zt(e) {
|
|
|
372
382
|
};
|
|
373
383
|
}
|
|
374
384
|
const De = /* @__PURE__ */ Zt(1), qe = /* @__PURE__ */ Zt(-1);
|
|
375
|
-
function
|
|
385
|
+
function Bn(e) {
|
|
376
386
|
return "clientX" in e && "clientY" in e;
|
|
377
387
|
}
|
|
378
|
-
function
|
|
388
|
+
function Mt(e) {
|
|
379
389
|
if (!e)
|
|
380
390
|
return !1;
|
|
381
391
|
const {
|
|
@@ -383,7 +393,7 @@ function Et(e) {
|
|
|
383
393
|
} = B(e.target);
|
|
384
394
|
return t && e instanceof t;
|
|
385
395
|
}
|
|
386
|
-
function
|
|
396
|
+
function qn(e) {
|
|
387
397
|
if (!e)
|
|
388
398
|
return !1;
|
|
389
399
|
const {
|
|
@@ -392,7 +402,7 @@ function Bn(e) {
|
|
|
392
402
|
return t && e instanceof t;
|
|
393
403
|
}
|
|
394
404
|
function mt(e) {
|
|
395
|
-
if (
|
|
405
|
+
if (qn(e)) {
|
|
396
406
|
if (e.touches && e.touches.length) {
|
|
397
407
|
const {
|
|
398
408
|
clientX: t,
|
|
@@ -413,7 +423,7 @@ function mt(e) {
|
|
|
413
423
|
};
|
|
414
424
|
}
|
|
415
425
|
}
|
|
416
|
-
return
|
|
426
|
+
return Bn(e) ? {
|
|
417
427
|
x: e.clientX,
|
|
418
428
|
y: e.clientY
|
|
419
429
|
} : null;
|
|
@@ -457,24 +467,24 @@ const nt = /* @__PURE__ */ Object.freeze({
|
|
|
457
467
|
return t + " " + n + "ms " + r;
|
|
458
468
|
}
|
|
459
469
|
}
|
|
460
|
-
}),
|
|
461
|
-
function
|
|
462
|
-
return e.matches(
|
|
470
|
+
}), Bt = "a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";
|
|
471
|
+
function jn(e) {
|
|
472
|
+
return e.matches(Bt) ? e : e.querySelector(Bt);
|
|
463
473
|
}
|
|
464
|
-
const
|
|
474
|
+
const $n = {
|
|
465
475
|
display: "none"
|
|
466
476
|
};
|
|
467
|
-
function
|
|
477
|
+
function Kn(e) {
|
|
468
478
|
let {
|
|
469
479
|
id: t,
|
|
470
480
|
value: n
|
|
471
481
|
} = e;
|
|
472
482
|
return z.createElement("div", {
|
|
473
483
|
id: t,
|
|
474
|
-
style:
|
|
484
|
+
style: $n
|
|
475
485
|
}, n);
|
|
476
486
|
}
|
|
477
|
-
function
|
|
487
|
+
function Xn(e) {
|
|
478
488
|
let {
|
|
479
489
|
id: t,
|
|
480
490
|
announcement: n,
|
|
@@ -502,7 +512,7 @@ function Kn(e) {
|
|
|
502
512
|
"aria-atomic": !0
|
|
503
513
|
}, n);
|
|
504
514
|
}
|
|
505
|
-
function
|
|
515
|
+
function Un() {
|
|
506
516
|
const [e, t] = a.useState("");
|
|
507
517
|
return {
|
|
508
518
|
announce: a.useCallback((r) => {
|
|
@@ -520,7 +530,7 @@ function Yn(e) {
|
|
|
520
530
|
return t(e);
|
|
521
531
|
}, [e, t]);
|
|
522
532
|
}
|
|
523
|
-
function
|
|
533
|
+
function _n() {
|
|
524
534
|
const [e] = a.useState(() => /* @__PURE__ */ new Set()), t = a.useCallback((r) => (e.add(r), () => e.delete(r)), [e]);
|
|
525
535
|
return [a.useCallback((r) => {
|
|
526
536
|
let {
|
|
@@ -577,7 +587,7 @@ function Hn(e) {
|
|
|
577
587
|
const {
|
|
578
588
|
announce: i,
|
|
579
589
|
announcement: s
|
|
580
|
-
} =
|
|
590
|
+
} = Un(), c = Ye("DndLiveRegion"), [l, u] = a.useState(!1);
|
|
581
591
|
if (a.useEffect(() => {
|
|
582
592
|
u(!0);
|
|
583
593
|
}, []), Yn(a.useMemo(() => ({
|
|
@@ -631,10 +641,10 @@ function Hn(e) {
|
|
|
631
641
|
}
|
|
632
642
|
}), [i, t])), !l)
|
|
633
643
|
return null;
|
|
634
|
-
const f = z.createElement(z.Fragment, null, z.createElement(
|
|
644
|
+
const f = z.createElement(z.Fragment, null, z.createElement(Kn, {
|
|
635
645
|
id: r,
|
|
636
646
|
value: o.draggable
|
|
637
|
-
}), z.createElement(
|
|
647
|
+
}), z.createElement(Xn, {
|
|
638
648
|
id: c,
|
|
639
649
|
announcement: s
|
|
640
650
|
}));
|
|
@@ -646,7 +656,7 @@ var T;
|
|
|
646
656
|
})(T || (T = {}));
|
|
647
657
|
function rt() {
|
|
648
658
|
}
|
|
649
|
-
function
|
|
659
|
+
function qo(e, t) {
|
|
650
660
|
return a.useMemo(
|
|
651
661
|
() => ({
|
|
652
662
|
sensor: e,
|
|
@@ -656,7 +666,7 @@ function zo(e, t) {
|
|
|
656
666
|
[e, t]
|
|
657
667
|
);
|
|
658
668
|
}
|
|
659
|
-
function
|
|
669
|
+
function jo() {
|
|
660
670
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
661
671
|
t[n] = arguments[n];
|
|
662
672
|
return a.useMemo(
|
|
@@ -665,7 +675,7 @@ function Bo() {
|
|
|
665
675
|
[...t]
|
|
666
676
|
);
|
|
667
677
|
}
|
|
668
|
-
const
|
|
678
|
+
const W = /* @__PURE__ */ Object.freeze({
|
|
669
679
|
x: 0,
|
|
670
680
|
y: 0
|
|
671
681
|
});
|
|
@@ -684,7 +694,7 @@ function nn(e, t) {
|
|
|
684
694
|
} = t;
|
|
685
695
|
return n - r;
|
|
686
696
|
}
|
|
687
|
-
function
|
|
697
|
+
function Vn(e, t) {
|
|
688
698
|
let {
|
|
689
699
|
data: {
|
|
690
700
|
value: n
|
|
@@ -696,7 +706,7 @@ function _n(e, t) {
|
|
|
696
706
|
} = t;
|
|
697
707
|
return r - n;
|
|
698
708
|
}
|
|
699
|
-
function
|
|
709
|
+
function qt(e) {
|
|
700
710
|
let {
|
|
701
711
|
left: t,
|
|
702
712
|
top: n,
|
|
@@ -723,25 +733,25 @@ function rn(e, t) {
|
|
|
723
733
|
const [n] = e;
|
|
724
734
|
return n[t];
|
|
725
735
|
}
|
|
726
|
-
function
|
|
736
|
+
function jt(e, t, n) {
|
|
727
737
|
return t === void 0 && (t = e.left), n === void 0 && (n = e.top), {
|
|
728
738
|
x: t + e.width * 0.5,
|
|
729
739
|
y: n + e.height * 0.5
|
|
730
740
|
};
|
|
731
741
|
}
|
|
732
|
-
const
|
|
742
|
+
const $o = (e) => {
|
|
733
743
|
let {
|
|
734
744
|
collisionRect: t,
|
|
735
745
|
droppableRects: n,
|
|
736
746
|
droppableContainers: r
|
|
737
747
|
} = e;
|
|
738
|
-
const o =
|
|
748
|
+
const o = jt(t, t.left, t.top), i = [];
|
|
739
749
|
for (const s of r) {
|
|
740
750
|
const {
|
|
741
751
|
id: c
|
|
742
752
|
} = s, l = n.get(c);
|
|
743
753
|
if (l) {
|
|
744
|
-
const u = tn(
|
|
754
|
+
const u = tn(jt(l), o);
|
|
745
755
|
i.push({
|
|
746
756
|
id: c,
|
|
747
757
|
data: {
|
|
@@ -752,19 +762,19 @@ const qo = (e) => {
|
|
|
752
762
|
}
|
|
753
763
|
}
|
|
754
764
|
return i.sort(nn);
|
|
755
|
-
},
|
|
765
|
+
}, Gn = (e) => {
|
|
756
766
|
let {
|
|
757
767
|
collisionRect: t,
|
|
758
768
|
droppableRects: n,
|
|
759
769
|
droppableContainers: r
|
|
760
770
|
} = e;
|
|
761
|
-
const o =
|
|
771
|
+
const o = qt(t), i = [];
|
|
762
772
|
for (const s of r) {
|
|
763
773
|
const {
|
|
764
774
|
id: c
|
|
765
775
|
} = s, l = n.get(c);
|
|
766
776
|
if (l) {
|
|
767
|
-
const u =
|
|
777
|
+
const u = qt(l), f = o.reduce((g, h, C) => g + tn(u[C], h), 0), d = Number((f / 4).toFixed(4));
|
|
768
778
|
i.push({
|
|
769
779
|
id: c,
|
|
770
780
|
data: {
|
|
@@ -776,7 +786,7 @@ const qo = (e) => {
|
|
|
776
786
|
}
|
|
777
787
|
return i.sort(nn);
|
|
778
788
|
};
|
|
779
|
-
function
|
|
789
|
+
function Jn(e, t) {
|
|
780
790
|
const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), s = o - r, c = i - n;
|
|
781
791
|
if (r < o && n < i) {
|
|
782
792
|
const l = t.width * t.height, u = e.width * e.height, f = s * c, d = f / (l + u - f);
|
|
@@ -784,7 +794,7 @@ function Gn(e, t) {
|
|
|
784
794
|
}
|
|
785
795
|
return 0;
|
|
786
796
|
}
|
|
787
|
-
const
|
|
797
|
+
const Zn = (e) => {
|
|
788
798
|
let {
|
|
789
799
|
collisionRect: t,
|
|
790
800
|
droppableRects: n,
|
|
@@ -796,7 +806,7 @@ const Jn = (e) => {
|
|
|
796
806
|
id: s
|
|
797
807
|
} = i, c = n.get(s);
|
|
798
808
|
if (c) {
|
|
799
|
-
const l =
|
|
809
|
+
const l = Jn(c, t);
|
|
800
810
|
l > 0 && o.push({
|
|
801
811
|
id: s,
|
|
802
812
|
data: {
|
|
@@ -806,9 +816,9 @@ const Jn = (e) => {
|
|
|
806
816
|
});
|
|
807
817
|
}
|
|
808
818
|
}
|
|
809
|
-
return o.sort(
|
|
819
|
+
return o.sort(Vn);
|
|
810
820
|
};
|
|
811
|
-
function
|
|
821
|
+
function er(e, t, n) {
|
|
812
822
|
return {
|
|
813
823
|
...e,
|
|
814
824
|
scaleX: t && n ? t.width / n.width : 1,
|
|
@@ -819,9 +829,9 @@ function on(e, t) {
|
|
|
819
829
|
return e && t ? {
|
|
820
830
|
x: e.left - t.left,
|
|
821
831
|
y: e.top - t.top
|
|
822
|
-
} :
|
|
832
|
+
} : W;
|
|
823
833
|
}
|
|
824
|
-
function
|
|
834
|
+
function tr(e) {
|
|
825
835
|
return function(n) {
|
|
826
836
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
827
837
|
o[i - 1] = arguments[i];
|
|
@@ -836,8 +846,8 @@ function er(e) {
|
|
|
836
846
|
});
|
|
837
847
|
};
|
|
838
848
|
}
|
|
839
|
-
const
|
|
840
|
-
function
|
|
849
|
+
const nr = /* @__PURE__ */ tr(1);
|
|
850
|
+
function rr(e) {
|
|
841
851
|
if (e.startsWith("matrix3d(")) {
|
|
842
852
|
const t = e.slice(9, -1).split(/, /);
|
|
843
853
|
return {
|
|
@@ -857,8 +867,8 @@ function nr(e) {
|
|
|
857
867
|
}
|
|
858
868
|
return null;
|
|
859
869
|
}
|
|
860
|
-
function
|
|
861
|
-
const r =
|
|
870
|
+
function or(e, t, n) {
|
|
871
|
+
const r = rr(t);
|
|
862
872
|
if (!r)
|
|
863
873
|
return e;
|
|
864
874
|
const {
|
|
@@ -876,18 +886,18 @@ function rr(e, t, n) {
|
|
|
876
886
|
left: l
|
|
877
887
|
};
|
|
878
888
|
}
|
|
879
|
-
const
|
|
889
|
+
const ir = {
|
|
880
890
|
ignoreTransform: !1
|
|
881
891
|
};
|
|
882
892
|
function Re(e, t) {
|
|
883
|
-
t === void 0 && (t =
|
|
893
|
+
t === void 0 && (t = ir);
|
|
884
894
|
let n = e.getBoundingClientRect();
|
|
885
895
|
if (t.ignoreTransform) {
|
|
886
896
|
const {
|
|
887
897
|
transform: u,
|
|
888
898
|
transformOrigin: f
|
|
889
899
|
} = B(e).getComputedStyle(e);
|
|
890
|
-
u && (n =
|
|
900
|
+
u && (n = or(n, u, f));
|
|
891
901
|
}
|
|
892
902
|
const {
|
|
893
903
|
top: r,
|
|
@@ -906,12 +916,12 @@ function Re(e, t) {
|
|
|
906
916
|
right: l
|
|
907
917
|
};
|
|
908
918
|
}
|
|
909
|
-
function
|
|
919
|
+
function $t(e) {
|
|
910
920
|
return Re(e, {
|
|
911
921
|
ignoreTransform: !0
|
|
912
922
|
});
|
|
913
923
|
}
|
|
914
|
-
function
|
|
924
|
+
function sr(e) {
|
|
915
925
|
const t = e.innerWidth, n = e.innerHeight;
|
|
916
926
|
return {
|
|
917
927
|
top: 0,
|
|
@@ -922,10 +932,10 @@ function ir(e) {
|
|
|
922
932
|
height: n
|
|
923
933
|
};
|
|
924
934
|
}
|
|
925
|
-
function
|
|
935
|
+
function ar(e, t) {
|
|
926
936
|
return t === void 0 && (t = B(e).getComputedStyle(e)), t.position === "fixed";
|
|
927
937
|
}
|
|
928
|
-
function
|
|
938
|
+
function cr(e, t) {
|
|
929
939
|
t === void 0 && (t = B(e).getComputedStyle(e));
|
|
930
940
|
const n = /(auto|scroll|overlay)/;
|
|
931
941
|
return ["overflow", "overflowX", "overflowY"].some((o) => {
|
|
@@ -938,12 +948,12 @@ function ct(e, t) {
|
|
|
938
948
|
function r(o) {
|
|
939
949
|
if (t != null && n.length >= t || !o)
|
|
940
950
|
return n;
|
|
941
|
-
if (
|
|
951
|
+
if (Rt(o) && o.scrollingElement != null && !n.includes(o.scrollingElement))
|
|
942
952
|
return n.push(o.scrollingElement), n;
|
|
943
953
|
if (!Xe(o) || Jt(o) || n.includes(o))
|
|
944
954
|
return n;
|
|
945
955
|
const i = B(e).getComputedStyle(o);
|
|
946
|
-
return o !== e &&
|
|
956
|
+
return o !== e && cr(o, i) && n.push(o), ar(o, i) ? n : r(o.parentNode);
|
|
947
957
|
}
|
|
948
958
|
return e ? r(e) : n;
|
|
949
959
|
}
|
|
@@ -952,7 +962,7 @@ function sn(e) {
|
|
|
952
962
|
return t ?? null;
|
|
953
963
|
}
|
|
954
964
|
function vt(e) {
|
|
955
|
-
return !at || !e ? null : Ce(e) ? e :
|
|
965
|
+
return !at || !e ? null : Ce(e) ? e : St(e) ? Rt(e) || e === Se(e).scrollingElement ? window : Xe(e) ? e : null : null;
|
|
956
966
|
}
|
|
957
967
|
function an(e) {
|
|
958
968
|
return Ce(e) ? e.scrollX : e.scrollLeft;
|
|
@@ -966,10 +976,10 @@ function wt(e) {
|
|
|
966
976
|
y: cn(e)
|
|
967
977
|
};
|
|
968
978
|
}
|
|
969
|
-
var
|
|
979
|
+
var O;
|
|
970
980
|
(function(e) {
|
|
971
981
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
972
|
-
})(
|
|
982
|
+
})(O || (O = {}));
|
|
973
983
|
function ln(e) {
|
|
974
984
|
return !at || !e ? !1 : e === document.scrollingElement;
|
|
975
985
|
}
|
|
@@ -996,18 +1006,18 @@ function un(e) {
|
|
|
996
1006
|
minScroll: t
|
|
997
1007
|
};
|
|
998
1008
|
}
|
|
999
|
-
const
|
|
1009
|
+
const lr = {
|
|
1000
1010
|
x: 0.2,
|
|
1001
1011
|
y: 0.2
|
|
1002
1012
|
};
|
|
1003
|
-
function
|
|
1013
|
+
function ur(e, t, n, r, o) {
|
|
1004
1014
|
let {
|
|
1005
1015
|
top: i,
|
|
1006
1016
|
left: s,
|
|
1007
1017
|
right: c,
|
|
1008
1018
|
bottom: l
|
|
1009
1019
|
} = n;
|
|
1010
|
-
r === void 0 && (r = 10), o === void 0 && (o =
|
|
1020
|
+
r === void 0 && (r = 10), o === void 0 && (o = lr);
|
|
1011
1021
|
const {
|
|
1012
1022
|
isTop: u,
|
|
1013
1023
|
isBottom: f,
|
|
@@ -1023,12 +1033,12 @@ function lr(e, t, n, r, o) {
|
|
|
1023
1033
|
height: t.height * o.y,
|
|
1024
1034
|
width: t.width * o.x
|
|
1025
1035
|
};
|
|
1026
|
-
return !u && i <= t.top + v.height ? (h.y =
|
|
1036
|
+
return !u && i <= t.top + v.height ? (h.y = O.Backward, C.y = r * Math.abs((t.top + v.height - i) / v.height)) : !f && l >= t.bottom - v.height && (h.y = O.Forward, C.y = r * Math.abs((t.bottom - v.height - l) / v.height)), !g && c >= t.right - v.width ? (h.x = O.Forward, C.x = r * Math.abs((t.right - v.width - c) / v.width)) : !d && s <= t.left + v.width && (h.x = O.Backward, C.x = r * Math.abs((t.left + v.width - s) / v.width)), {
|
|
1027
1037
|
direction: h,
|
|
1028
1038
|
speed: C
|
|
1029
1039
|
};
|
|
1030
1040
|
}
|
|
1031
|
-
function
|
|
1041
|
+
function dr(e) {
|
|
1032
1042
|
if (e === document.scrollingElement) {
|
|
1033
1043
|
const {
|
|
1034
1044
|
innerWidth: i,
|
|
@@ -1059,15 +1069,15 @@ function ur(e) {
|
|
|
1059
1069
|
};
|
|
1060
1070
|
}
|
|
1061
1071
|
function dn(e) {
|
|
1062
|
-
return e.reduce((t, n) => De(t, wt(n)),
|
|
1072
|
+
return e.reduce((t, n) => De(t, wt(n)), W);
|
|
1063
1073
|
}
|
|
1064
|
-
function
|
|
1074
|
+
function fr(e) {
|
|
1065
1075
|
return e.reduce((t, n) => t + an(n), 0);
|
|
1066
1076
|
}
|
|
1067
|
-
function
|
|
1077
|
+
function hr(e) {
|
|
1068
1078
|
return e.reduce((t, n) => t + cn(n), 0);
|
|
1069
1079
|
}
|
|
1070
|
-
function
|
|
1080
|
+
function gr(e, t) {
|
|
1071
1081
|
if (t === void 0 && (t = Re), !e)
|
|
1072
1082
|
return;
|
|
1073
1083
|
const {
|
|
@@ -1081,15 +1091,15 @@ function hr(e, t) {
|
|
|
1081
1091
|
inline: "center"
|
|
1082
1092
|
});
|
|
1083
1093
|
}
|
|
1084
|
-
const
|
|
1085
|
-
class
|
|
1094
|
+
const vr = [["x", ["left", "right"], fr], ["y", ["top", "bottom"], hr]];
|
|
1095
|
+
class At {
|
|
1086
1096
|
constructor(t, n) {
|
|
1087
1097
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
1088
1098
|
const r = ct(n), o = dn(r);
|
|
1089
1099
|
this.rect = {
|
|
1090
1100
|
...t
|
|
1091
1101
|
}, this.width = t.width, this.height = t.height;
|
|
1092
|
-
for (const [i, s, c] of
|
|
1102
|
+
for (const [i, s, c] of vr)
|
|
1093
1103
|
for (const l of s)
|
|
1094
1104
|
Object.defineProperty(this, l, {
|
|
1095
1105
|
get: () => {
|
|
@@ -1117,7 +1127,7 @@ class Pe {
|
|
|
1117
1127
|
(o = this.target) == null || o.addEventListener(t, n, r), this.listeners.push([t, n, r]);
|
|
1118
1128
|
}
|
|
1119
1129
|
}
|
|
1120
|
-
function
|
|
1130
|
+
function pr(e) {
|
|
1121
1131
|
const {
|
|
1122
1132
|
EventTarget: t
|
|
1123
1133
|
} = B(e);
|
|
@@ -1127,14 +1137,14 @@ function pt(e, t) {
|
|
|
1127
1137
|
const n = Math.abs(e.x), r = Math.abs(e.y);
|
|
1128
1138
|
return typeof t == "number" ? Math.sqrt(n ** 2 + r ** 2) > t : "x" in t && "y" in t ? n > t.x && r > t.y : "x" in t ? n > t.x : "y" in t ? r > t.y : !1;
|
|
1129
1139
|
}
|
|
1130
|
-
var
|
|
1140
|
+
var Y;
|
|
1131
1141
|
(function(e) {
|
|
1132
1142
|
e.Click = "click", e.DragStart = "dragstart", e.Keydown = "keydown", e.ContextMenu = "contextmenu", e.Resize = "resize", e.SelectionChange = "selectionchange", e.VisibilityChange = "visibilitychange";
|
|
1133
|
-
})(
|
|
1134
|
-
function
|
|
1143
|
+
})(Y || (Y = {}));
|
|
1144
|
+
function Kt(e) {
|
|
1135
1145
|
e.preventDefault();
|
|
1136
1146
|
}
|
|
1137
|
-
function
|
|
1147
|
+
function br(e) {
|
|
1138
1148
|
e.stopPropagation();
|
|
1139
1149
|
}
|
|
1140
1150
|
var y;
|
|
@@ -1145,7 +1155,7 @@ const fn = {
|
|
|
1145
1155
|
start: [y.Space, y.Enter],
|
|
1146
1156
|
cancel: [y.Esc],
|
|
1147
1157
|
end: [y.Space, y.Enter, y.Tab]
|
|
1148
|
-
},
|
|
1158
|
+
}, yr = (e, t) => {
|
|
1149
1159
|
let {
|
|
1150
1160
|
currentCoordinates: n
|
|
1151
1161
|
} = t;
|
|
@@ -1183,24 +1193,24 @@ class hn {
|
|
|
1183
1193
|
this.props = t, this.listeners = new Pe(Se(n)), this.windowListeners = new Pe(B(n)), this.handleKeyDown = this.handleKeyDown.bind(this), this.handleCancel = this.handleCancel.bind(this), this.attach();
|
|
1184
1194
|
}
|
|
1185
1195
|
attach() {
|
|
1186
|
-
this.handleStart(), this.windowListeners.add(
|
|
1196
|
+
this.handleStart(), this.windowListeners.add(Y.Resize, this.handleCancel), this.windowListeners.add(Y.VisibilityChange, this.handleCancel), setTimeout(() => this.listeners.add(Y.Keydown, this.handleKeyDown));
|
|
1187
1197
|
}
|
|
1188
1198
|
handleStart() {
|
|
1189
1199
|
const {
|
|
1190
1200
|
activeNode: t,
|
|
1191
1201
|
onStart: n
|
|
1192
1202
|
} = this.props, r = t.node.current;
|
|
1193
|
-
r &&
|
|
1203
|
+
r && gr(r), n(W);
|
|
1194
1204
|
}
|
|
1195
1205
|
handleKeyDown(t) {
|
|
1196
|
-
if (
|
|
1206
|
+
if (Mt(t)) {
|
|
1197
1207
|
const {
|
|
1198
1208
|
active: n,
|
|
1199
1209
|
context: r,
|
|
1200
1210
|
options: o
|
|
1201
1211
|
} = this.props, {
|
|
1202
1212
|
keyboardCodes: i = fn,
|
|
1203
|
-
coordinateGetter: s =
|
|
1213
|
+
coordinateGetter: s = yr,
|
|
1204
1214
|
scrollBehavior: c = "smooth"
|
|
1205
1215
|
} = o, {
|
|
1206
1216
|
code: l
|
|
@@ -1218,7 +1228,7 @@ class hn {
|
|
|
1218
1228
|
} = r.current, f = u ? {
|
|
1219
1229
|
x: u.left,
|
|
1220
1230
|
y: u.top
|
|
1221
|
-
} :
|
|
1231
|
+
} : W;
|
|
1222
1232
|
this.referenceCoordinates || (this.referenceCoordinates = f);
|
|
1223
1233
|
const d = s(t, {
|
|
1224
1234
|
active: n,
|
|
@@ -1240,34 +1250,34 @@ class hn {
|
|
|
1240
1250
|
isBottom: S,
|
|
1241
1251
|
maxScroll: R,
|
|
1242
1252
|
minScroll: E
|
|
1243
|
-
} = un(v), x =
|
|
1253
|
+
} = un(v), x = dr(v), D = {
|
|
1244
1254
|
x: Math.min(p === y.Right ? x.right - x.width / 2 : x.right, Math.max(p === y.Right ? x.left : x.left + x.width / 2, d.x)),
|
|
1245
1255
|
y: Math.min(p === y.Down ? x.bottom - x.height / 2 : x.bottom, Math.max(p === y.Down ? x.top : x.top + x.height / 2, d.y))
|
|
1246
|
-
}, I = p === y.Right && !w || p === y.Left && !b,
|
|
1256
|
+
}, I = p === y.Right && !w || p === y.Left && !b, k = p === y.Down && !S || p === y.Up && !m;
|
|
1247
1257
|
if (I && D.x !== d.x) {
|
|
1248
|
-
const A = v.scrollLeft + g.x,
|
|
1249
|
-
if (
|
|
1258
|
+
const A = v.scrollLeft + g.x, _ = p === y.Right && A <= R.x || p === y.Left && A >= E.x;
|
|
1259
|
+
if (_ && !g.y) {
|
|
1250
1260
|
v.scrollTo({
|
|
1251
1261
|
left: A,
|
|
1252
1262
|
behavior: c
|
|
1253
1263
|
});
|
|
1254
1264
|
return;
|
|
1255
1265
|
}
|
|
1256
|
-
|
|
1266
|
+
_ ? h.x = v.scrollLeft - A : h.x = p === y.Right ? v.scrollLeft - R.x : v.scrollLeft - E.x, h.x && v.scrollBy({
|
|
1257
1267
|
left: -h.x,
|
|
1258
1268
|
behavior: c
|
|
1259
1269
|
});
|
|
1260
1270
|
break;
|
|
1261
|
-
} else if (
|
|
1262
|
-
const A = v.scrollTop + g.y,
|
|
1263
|
-
if (
|
|
1271
|
+
} else if (k && D.y !== d.y) {
|
|
1272
|
+
const A = v.scrollTop + g.y, _ = p === y.Down && A <= R.y || p === y.Up && A >= E.y;
|
|
1273
|
+
if (_ && !g.x) {
|
|
1264
1274
|
v.scrollTo({
|
|
1265
1275
|
top: A,
|
|
1266
1276
|
behavior: c
|
|
1267
1277
|
});
|
|
1268
1278
|
return;
|
|
1269
1279
|
}
|
|
1270
|
-
|
|
1280
|
+
_ ? h.y = v.scrollTop - A : h.y = p === y.Down ? v.scrollTop - R.y : v.scrollTop - E.y, h.y && v.scrollBy({
|
|
1271
1281
|
top: -h.y,
|
|
1272
1282
|
behavior: c
|
|
1273
1283
|
});
|
|
@@ -1321,22 +1331,22 @@ hn.activators = [{
|
|
|
1321
1331
|
return !1;
|
|
1322
1332
|
}
|
|
1323
1333
|
}];
|
|
1324
|
-
function
|
|
1334
|
+
function Xt(e) {
|
|
1325
1335
|
return !!(e && "distance" in e);
|
|
1326
1336
|
}
|
|
1327
|
-
function
|
|
1337
|
+
function Ut(e) {
|
|
1328
1338
|
return !!(e && "delay" in e);
|
|
1329
1339
|
}
|
|
1330
|
-
class
|
|
1340
|
+
class It {
|
|
1331
1341
|
constructor(t, n, r) {
|
|
1332
1342
|
var o;
|
|
1333
|
-
r === void 0 && (r =
|
|
1343
|
+
r === void 0 && (r = pr(t.event.target)), this.props = void 0, this.events = void 0, this.autoScrollEnabled = !0, this.document = void 0, this.activated = !1, this.initialCoordinates = void 0, this.timeoutId = null, this.listeners = void 0, this.documentListeners = void 0, this.windowListeners = void 0, this.props = t, this.events = n;
|
|
1334
1344
|
const {
|
|
1335
1345
|
event: i
|
|
1336
1346
|
} = t, {
|
|
1337
1347
|
target: s
|
|
1338
1348
|
} = i;
|
|
1339
|
-
this.props = t, this.events = n, this.document = Se(s), this.documentListeners = new Pe(this.document), this.listeners = new Pe(r), this.windowListeners = new Pe(B(s)), this.initialCoordinates = (o = mt(i)) != null ? o :
|
|
1349
|
+
this.props = t, this.events = n, this.document = Se(s), this.documentListeners = new Pe(this.document), this.listeners = new Pe(r), this.windowListeners = new Pe(B(s)), this.initialCoordinates = (o = mt(i)) != null ? o : W, this.handleStart = this.handleStart.bind(this), this.handleMove = this.handleMove.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleCancel = this.handleCancel.bind(this), this.handleKeydown = this.handleKeydown.bind(this), this.removeTextSelection = this.removeTextSelection.bind(this), this.attach();
|
|
1340
1350
|
}
|
|
1341
1351
|
attach() {
|
|
1342
1352
|
const {
|
|
@@ -1350,18 +1360,18 @@ class At {
|
|
|
1350
1360
|
} = this;
|
|
1351
1361
|
if (this.listeners.add(t.move.name, this.handleMove, {
|
|
1352
1362
|
passive: !1
|
|
1353
|
-
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(
|
|
1363
|
+
}), this.listeners.add(t.end.name, this.handleEnd), t.cancel && this.listeners.add(t.cancel.name, this.handleCancel), this.windowListeners.add(Y.Resize, this.handleCancel), this.windowListeners.add(Y.DragStart, Kt), this.windowListeners.add(Y.VisibilityChange, this.handleCancel), this.windowListeners.add(Y.ContextMenu, Kt), this.documentListeners.add(Y.Keydown, this.handleKeydown), n) {
|
|
1354
1364
|
if (r != null && r({
|
|
1355
1365
|
event: this.props.event,
|
|
1356
1366
|
activeNode: this.props.activeNode,
|
|
1357
1367
|
options: this.props.options
|
|
1358
1368
|
}))
|
|
1359
1369
|
return this.handleStart();
|
|
1360
|
-
if (
|
|
1370
|
+
if (Ut(n)) {
|
|
1361
1371
|
this.timeoutId = setTimeout(this.handleStart, n.delay), this.handlePending(n);
|
|
1362
1372
|
return;
|
|
1363
1373
|
}
|
|
1364
|
-
if (
|
|
1374
|
+
if (Xt(n)) {
|
|
1365
1375
|
this.handlePending(n);
|
|
1366
1376
|
return;
|
|
1367
1377
|
}
|
|
@@ -1384,9 +1394,9 @@ class At {
|
|
|
1384
1394
|
} = this, {
|
|
1385
1395
|
onStart: n
|
|
1386
1396
|
} = this.props;
|
|
1387
|
-
t && (this.activated = !0, this.documentListeners.add(
|
|
1397
|
+
t && (this.activated = !0, this.documentListeners.add(Y.Click, br, {
|
|
1388
1398
|
capture: !0
|
|
1389
|
-
}), this.removeTextSelection(), this.documentListeners.add(
|
|
1399
|
+
}), this.removeTextSelection(), this.documentListeners.add(Y.SelectionChange, this.removeTextSelection), n(t));
|
|
1390
1400
|
}
|
|
1391
1401
|
handleMove(t) {
|
|
1392
1402
|
var n;
|
|
@@ -1402,15 +1412,15 @@ class At {
|
|
|
1402
1412
|
} = i;
|
|
1403
1413
|
if (!o)
|
|
1404
1414
|
return;
|
|
1405
|
-
const l = (n = mt(t)) != null ? n :
|
|
1415
|
+
const l = (n = mt(t)) != null ? n : W, u = qe(o, l);
|
|
1406
1416
|
if (!r && c) {
|
|
1407
|
-
if (
|
|
1417
|
+
if (Xt(c)) {
|
|
1408
1418
|
if (c.tolerance != null && pt(u, c.tolerance))
|
|
1409
1419
|
return this.handleCancel();
|
|
1410
1420
|
if (pt(u, c.distance))
|
|
1411
1421
|
return this.handleStart();
|
|
1412
1422
|
}
|
|
1413
|
-
if (
|
|
1423
|
+
if (Ut(c) && pt(u, c.tolerance))
|
|
1414
1424
|
return this.handleCancel();
|
|
1415
1425
|
this.handlePending(c, u);
|
|
1416
1426
|
return;
|
|
@@ -1439,7 +1449,7 @@ class At {
|
|
|
1439
1449
|
(t = this.document.getSelection()) == null || t.removeAllRanges();
|
|
1440
1450
|
}
|
|
1441
1451
|
}
|
|
1442
|
-
const
|
|
1452
|
+
const mr = {
|
|
1443
1453
|
cancel: {
|
|
1444
1454
|
name: "pointercancel"
|
|
1445
1455
|
},
|
|
@@ -1450,12 +1460,12 @@ const yr = {
|
|
|
1450
1460
|
name: "pointerup"
|
|
1451
1461
|
}
|
|
1452
1462
|
};
|
|
1453
|
-
class gn extends
|
|
1463
|
+
class gn extends It {
|
|
1454
1464
|
constructor(t) {
|
|
1455
1465
|
const {
|
|
1456
1466
|
event: n
|
|
1457
1467
|
} = t, r = Se(n.target);
|
|
1458
|
-
super(t,
|
|
1468
|
+
super(t, mr, r);
|
|
1459
1469
|
}
|
|
1460
1470
|
}
|
|
1461
1471
|
gn.activators = [{
|
|
@@ -1471,7 +1481,7 @@ gn.activators = [{
|
|
|
1471
1481
|
}), !0);
|
|
1472
1482
|
}
|
|
1473
1483
|
}];
|
|
1474
|
-
const
|
|
1484
|
+
const wr = {
|
|
1475
1485
|
move: {
|
|
1476
1486
|
name: "mousemove"
|
|
1477
1487
|
},
|
|
@@ -1483,12 +1493,12 @@ var xt;
|
|
|
1483
1493
|
(function(e) {
|
|
1484
1494
|
e[e.RightClick = 2] = "RightClick";
|
|
1485
1495
|
})(xt || (xt = {}));
|
|
1486
|
-
class
|
|
1496
|
+
class xr extends It {
|
|
1487
1497
|
constructor(t) {
|
|
1488
|
-
super(t,
|
|
1498
|
+
super(t, wr, Se(t.event.target));
|
|
1489
1499
|
}
|
|
1490
1500
|
}
|
|
1491
|
-
|
|
1501
|
+
xr.activators = [{
|
|
1492
1502
|
eventName: "onMouseDown",
|
|
1493
1503
|
handler: (e, t) => {
|
|
1494
1504
|
let {
|
|
@@ -1512,7 +1522,7 @@ const bt = {
|
|
|
1512
1522
|
name: "touchend"
|
|
1513
1523
|
}
|
|
1514
1524
|
};
|
|
1515
|
-
class
|
|
1525
|
+
class Dr extends It {
|
|
1516
1526
|
constructor(t) {
|
|
1517
1527
|
super(t, bt);
|
|
1518
1528
|
}
|
|
@@ -1527,7 +1537,7 @@ class xr extends At {
|
|
|
1527
1537
|
}
|
|
1528
1538
|
}
|
|
1529
1539
|
}
|
|
1530
|
-
|
|
1540
|
+
Dr.activators = [{
|
|
1531
1541
|
eventName: "onTouchStart",
|
|
1532
1542
|
handler: (e, t) => {
|
|
1533
1543
|
let {
|
|
@@ -1551,7 +1561,7 @@ var ot;
|
|
|
1551
1561
|
(function(e) {
|
|
1552
1562
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
1553
1563
|
})(ot || (ot = {}));
|
|
1554
|
-
function
|
|
1564
|
+
function Cr(e) {
|
|
1555
1565
|
let {
|
|
1556
1566
|
acceleration: t,
|
|
1557
1567
|
activator: n = Fe.Pointer,
|
|
@@ -1566,10 +1576,10 @@ function Dr(e) {
|
|
|
1566
1576
|
delta: d,
|
|
1567
1577
|
threshold: g
|
|
1568
1578
|
} = e;
|
|
1569
|
-
const h =
|
|
1579
|
+
const h = Rr({
|
|
1570
1580
|
delta: d,
|
|
1571
1581
|
disabled: !i
|
|
1572
|
-
}), [C, v] =
|
|
1582
|
+
}), [C, v] = zn(), p = a.useRef({
|
|
1573
1583
|
x: 0,
|
|
1574
1584
|
y: 0
|
|
1575
1585
|
}), m = a.useRef({
|
|
@@ -1608,12 +1618,12 @@ function Dr(e) {
|
|
|
1608
1618
|
continue;
|
|
1609
1619
|
const {
|
|
1610
1620
|
direction: I,
|
|
1611
|
-
speed:
|
|
1612
|
-
} =
|
|
1621
|
+
speed: k
|
|
1622
|
+
} = ur(E, D, w, t, g);
|
|
1613
1623
|
for (const A of ["x", "y"])
|
|
1614
|
-
h[A][I[A]] || (
|
|
1615
|
-
if (
|
|
1616
|
-
v(), b.current = E, C(S, s), p.current =
|
|
1624
|
+
h[A][I[A]] || (k[A] = 0, I[A] = 0);
|
|
1625
|
+
if (k.x > 0 || k.y > 0) {
|
|
1626
|
+
v(), b.current = E, C(S, s), p.current = k, m.current = I;
|
|
1617
1627
|
return;
|
|
1618
1628
|
}
|
|
1619
1629
|
}
|
|
@@ -1646,49 +1656,49 @@ function Dr(e) {
|
|
|
1646
1656
|
]
|
|
1647
1657
|
);
|
|
1648
1658
|
}
|
|
1649
|
-
const
|
|
1659
|
+
const Sr = {
|
|
1650
1660
|
x: {
|
|
1651
|
-
[
|
|
1652
|
-
[
|
|
1661
|
+
[O.Backward]: !1,
|
|
1662
|
+
[O.Forward]: !1
|
|
1653
1663
|
},
|
|
1654
1664
|
y: {
|
|
1655
|
-
[
|
|
1656
|
-
[
|
|
1665
|
+
[O.Backward]: !1,
|
|
1666
|
+
[O.Forward]: !1
|
|
1657
1667
|
}
|
|
1658
1668
|
};
|
|
1659
|
-
function
|
|
1669
|
+
function Rr(e) {
|
|
1660
1670
|
let {
|
|
1661
1671
|
delta: t,
|
|
1662
1672
|
disabled: n
|
|
1663
1673
|
} = e;
|
|
1664
1674
|
const r = yt(t);
|
|
1665
|
-
return
|
|
1675
|
+
return Ue((o) => {
|
|
1666
1676
|
if (n || !r || !o)
|
|
1667
|
-
return
|
|
1677
|
+
return Sr;
|
|
1668
1678
|
const i = {
|
|
1669
1679
|
x: Math.sign(t.x - r.x),
|
|
1670
1680
|
y: Math.sign(t.y - r.y)
|
|
1671
1681
|
};
|
|
1672
1682
|
return {
|
|
1673
1683
|
x: {
|
|
1674
|
-
[
|
|
1675
|
-
[
|
|
1684
|
+
[O.Backward]: o.x[O.Backward] || i.x === -1,
|
|
1685
|
+
[O.Forward]: o.x[O.Forward] || i.x === 1
|
|
1676
1686
|
},
|
|
1677
1687
|
y: {
|
|
1678
|
-
[
|
|
1679
|
-
[
|
|
1688
|
+
[O.Backward]: o.y[O.Backward] || i.y === -1,
|
|
1689
|
+
[O.Forward]: o.y[O.Forward] || i.y === 1
|
|
1680
1690
|
}
|
|
1681
1691
|
};
|
|
1682
1692
|
}, [n, t, r]);
|
|
1683
1693
|
}
|
|
1684
|
-
function
|
|
1694
|
+
function Er(e, t) {
|
|
1685
1695
|
const n = t != null ? e.get(t) : void 0, r = n ? n.node.current : null;
|
|
1686
|
-
return
|
|
1696
|
+
return Ue((o) => {
|
|
1687
1697
|
var i;
|
|
1688
1698
|
return t == null ? null : (i = r ?? o) != null ? i : null;
|
|
1689
1699
|
}, [r, t]);
|
|
1690
1700
|
}
|
|
1691
|
-
function
|
|
1701
|
+
function Mr(e, t) {
|
|
1692
1702
|
return a.useMemo(() => e.reduce((n, r) => {
|
|
1693
1703
|
const {
|
|
1694
1704
|
sensor: o
|
|
@@ -1708,7 +1718,7 @@ var Dt;
|
|
|
1708
1718
|
e.Optimized = "optimized";
|
|
1709
1719
|
})(Dt || (Dt = {}));
|
|
1710
1720
|
const Yt = /* @__PURE__ */ new Map();
|
|
1711
|
-
function
|
|
1721
|
+
function Ar(e, t) {
|
|
1712
1722
|
let {
|
|
1713
1723
|
dragging: n,
|
|
1714
1724
|
dependencies: r,
|
|
@@ -1720,7 +1730,7 @@ function Mr(e, t) {
|
|
|
1720
1730
|
strategy: u
|
|
1721
1731
|
} = o, f = a.useRef(e), d = p(), g = Be(d), h = a.useCallback(function(m) {
|
|
1722
1732
|
m === void 0 && (m = []), !g.current && s((w) => w === null ? m : w.concat(m.filter((b) => !w.includes(b))));
|
|
1723
|
-
}, [g]), C = a.useRef(null), v =
|
|
1733
|
+
}, [g]), C = a.useRef(null), v = Ue((m) => {
|
|
1724
1734
|
if (d && !n)
|
|
1725
1735
|
return Yt;
|
|
1726
1736
|
if (!m || m === Yt || f.current !== e || i != null) {
|
|
@@ -1732,7 +1742,7 @@ function Mr(e, t) {
|
|
|
1732
1742
|
w.set(b.id, b.rect.current);
|
|
1733
1743
|
continue;
|
|
1734
1744
|
}
|
|
1735
|
-
const S = b.node.current, R = S ? new
|
|
1745
|
+
const S = b.node.current, R = S ? new At(l(S), S) : null;
|
|
1736
1746
|
b.rect.current = R, R && w.set(b.id, R);
|
|
1737
1747
|
}
|
|
1738
1748
|
return w;
|
|
@@ -1778,17 +1788,17 @@ function Mr(e, t) {
|
|
|
1778
1788
|
}
|
|
1779
1789
|
}
|
|
1780
1790
|
function vn(e, t) {
|
|
1781
|
-
return
|
|
1791
|
+
return Ue((n) => e ? n || (typeof t == "function" ? t(e) : e) : null, [t, e]);
|
|
1782
1792
|
}
|
|
1783
|
-
function
|
|
1793
|
+
function Ir(e, t) {
|
|
1784
1794
|
return vn(e, t);
|
|
1785
1795
|
}
|
|
1786
|
-
function
|
|
1796
|
+
function Tr(e) {
|
|
1787
1797
|
let {
|
|
1788
1798
|
callback: t,
|
|
1789
1799
|
disabled: n
|
|
1790
1800
|
} = e;
|
|
1791
|
-
const r =
|
|
1801
|
+
const r = Et(t), o = a.useMemo(() => {
|
|
1792
1802
|
if (n || typeof window > "u" || typeof window.MutationObserver > "u")
|
|
1793
1803
|
return;
|
|
1794
1804
|
const {
|
|
@@ -1803,7 +1813,7 @@ function lt(e) {
|
|
|
1803
1813
|
callback: t,
|
|
1804
1814
|
disabled: n
|
|
1805
1815
|
} = e;
|
|
1806
|
-
const r =
|
|
1816
|
+
const r = Et(t), o = a.useMemo(
|
|
1807
1817
|
() => {
|
|
1808
1818
|
if (n || typeof window > "u" || typeof window.ResizeObserver > "u")
|
|
1809
1819
|
return;
|
|
@@ -1817,11 +1827,11 @@ function lt(e) {
|
|
|
1817
1827
|
);
|
|
1818
1828
|
return a.useEffect(() => () => o?.disconnect(), [o]), o;
|
|
1819
1829
|
}
|
|
1820
|
-
function
|
|
1821
|
-
return new
|
|
1830
|
+
function Nr(e) {
|
|
1831
|
+
return new At(Re(e), e);
|
|
1822
1832
|
}
|
|
1823
|
-
function
|
|
1824
|
-
t === void 0 && (t =
|
|
1833
|
+
function _t(e, t, n) {
|
|
1834
|
+
t === void 0 && (t = Nr);
|
|
1825
1835
|
const [r, o] = a.useState(null);
|
|
1826
1836
|
function i() {
|
|
1827
1837
|
o((l) => {
|
|
@@ -1835,7 +1845,7 @@ function Ut(e, t, n) {
|
|
|
1835
1845
|
return JSON.stringify(l) === JSON.stringify(f) ? l : f;
|
|
1836
1846
|
});
|
|
1837
1847
|
}
|
|
1838
|
-
const s =
|
|
1848
|
+
const s = Tr({
|
|
1839
1849
|
callback(l) {
|
|
1840
1850
|
if (e)
|
|
1841
1851
|
for (const u of l) {
|
|
@@ -1859,18 +1869,18 @@ function Ut(e, t, n) {
|
|
|
1859
1869
|
})) : (c?.disconnect(), s?.disconnect());
|
|
1860
1870
|
}, [e]), r;
|
|
1861
1871
|
}
|
|
1862
|
-
function
|
|
1872
|
+
function kr(e) {
|
|
1863
1873
|
const t = vn(e);
|
|
1864
1874
|
return on(e, t);
|
|
1865
1875
|
}
|
|
1866
1876
|
const Qt = [];
|
|
1867
1877
|
function Or(e) {
|
|
1868
|
-
const t = a.useRef(e), n =
|
|
1878
|
+
const t = a.useRef(e), n = Ue((r) => e ? r && r !== Qt && e && t.current && e.parentNode === t.current.parentNode ? r : ct(e) : Qt, [e]);
|
|
1869
1879
|
return a.useEffect(() => {
|
|
1870
1880
|
t.current = e;
|
|
1871
1881
|
}, [e]), n;
|
|
1872
1882
|
}
|
|
1873
|
-
function
|
|
1883
|
+
function Lr(e) {
|
|
1874
1884
|
const [t, n] = a.useState(null), r = a.useRef(e), o = a.useCallback((i) => {
|
|
1875
1885
|
const s = vt(i.target);
|
|
1876
1886
|
s && n((c) => c ? (c.set(s, wt(s)), new Map(c)) : null);
|
|
@@ -1896,7 +1906,7 @@ function kr(e) {
|
|
|
1896
1906
|
u?.removeEventListener("scroll", o);
|
|
1897
1907
|
});
|
|
1898
1908
|
}
|
|
1899
|
-
}, [o, e]), a.useMemo(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => De(i, s),
|
|
1909
|
+
}, [o, e]), a.useMemo(() => e.length ? t ? Array.from(t.values()).reduce((i, s) => De(i, s), W) : dn(e) : W, [e, t]);
|
|
1900
1910
|
}
|
|
1901
1911
|
function Wt(e, t) {
|
|
1902
1912
|
t === void 0 && (t = []);
|
|
@@ -1908,11 +1918,11 @@ function Wt(e, t) {
|
|
|
1908
1918
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1909
1919
|
t
|
|
1910
1920
|
), a.useEffect(() => {
|
|
1911
|
-
const r = e !==
|
|
1921
|
+
const r = e !== W;
|
|
1912
1922
|
r && !n.current && (n.current = e), !r && n.current && (n.current = null);
|
|
1913
|
-
}, [e]), n.current ? qe(e, n.current) :
|
|
1923
|
+
}, [e]), n.current ? qe(e, n.current) : W;
|
|
1914
1924
|
}
|
|
1915
|
-
function
|
|
1925
|
+
function Pr(e) {
|
|
1916
1926
|
a.useEffect(
|
|
1917
1927
|
() => {
|
|
1918
1928
|
if (!at)
|
|
@@ -1938,7 +1948,7 @@ function Lr(e) {
|
|
|
1938
1948
|
})
|
|
1939
1949
|
);
|
|
1940
1950
|
}
|
|
1941
|
-
function
|
|
1951
|
+
function Fr(e, t) {
|
|
1942
1952
|
return a.useMemo(() => e.reduce((n, r) => {
|
|
1943
1953
|
let {
|
|
1944
1954
|
eventName: o,
|
|
@@ -1950,14 +1960,14 @@ function Pr(e, t) {
|
|
|
1950
1960
|
}, {}), [e, t]);
|
|
1951
1961
|
}
|
|
1952
1962
|
function pn(e) {
|
|
1953
|
-
return a.useMemo(() => e ?
|
|
1963
|
+
return a.useMemo(() => e ? sr(e) : null, [e]);
|
|
1954
1964
|
}
|
|
1955
1965
|
const Ht = [];
|
|
1956
|
-
function
|
|
1966
|
+
function zr(e, t) {
|
|
1957
1967
|
t === void 0 && (t = Re);
|
|
1958
1968
|
const [n] = e, r = pn(n ? B(n) : null), [o, i] = a.useState(Ht);
|
|
1959
1969
|
function s() {
|
|
1960
|
-
i(() => e.length ? e.map((l) => ln(l) ? r : new
|
|
1970
|
+
i(() => e.length ? e.map((l) => ln(l) ? r : new At(t(l), l)) : Ht);
|
|
1961
1971
|
}
|
|
1962
1972
|
const c = lt({
|
|
1963
1973
|
callback: s
|
|
@@ -1966,7 +1976,7 @@ function Fr(e, t) {
|
|
|
1966
1976
|
c?.disconnect(), s(), e.forEach((l) => c?.observe(l));
|
|
1967
1977
|
}, [e]), o;
|
|
1968
1978
|
}
|
|
1969
|
-
function
|
|
1979
|
+
function Br(e) {
|
|
1970
1980
|
if (!e)
|
|
1971
1981
|
return null;
|
|
1972
1982
|
if (e.children.length > 1)
|
|
@@ -1974,7 +1984,7 @@ function zr(e) {
|
|
|
1974
1984
|
const t = e.children[0];
|
|
1975
1985
|
return Xe(t) ? t : e;
|
|
1976
1986
|
}
|
|
1977
|
-
function
|
|
1987
|
+
function qr(e) {
|
|
1978
1988
|
let {
|
|
1979
1989
|
measure: t
|
|
1980
1990
|
} = e;
|
|
@@ -1996,7 +2006,7 @@ function Br(e) {
|
|
|
1996
2006
|
}, [t]), i = lt({
|
|
1997
2007
|
callback: o
|
|
1998
2008
|
}), s = a.useCallback((u) => {
|
|
1999
|
-
const f =
|
|
2009
|
+
const f = Br(u);
|
|
2000
2010
|
i?.disconnect(), f && i?.observe(f), r(f ? t(f) : null);
|
|
2001
2011
|
}, [t, i]), [c, l] = tt(s);
|
|
2002
2012
|
return a.useMemo(() => ({
|
|
@@ -2005,20 +2015,20 @@ function Br(e) {
|
|
|
2005
2015
|
setRef: l
|
|
2006
2016
|
}), [n, c, l]);
|
|
2007
2017
|
}
|
|
2008
|
-
const
|
|
2018
|
+
const jr = [{
|
|
2009
2019
|
sensor: gn,
|
|
2010
2020
|
options: {}
|
|
2011
2021
|
}, {
|
|
2012
2022
|
sensor: hn,
|
|
2013
2023
|
options: {}
|
|
2014
|
-
}],
|
|
2024
|
+
}], $r = {
|
|
2015
2025
|
current: {}
|
|
2016
2026
|
}, et = {
|
|
2017
2027
|
draggable: {
|
|
2018
|
-
measure:
|
|
2028
|
+
measure: $t
|
|
2019
2029
|
},
|
|
2020
2030
|
droppable: {
|
|
2021
|
-
measure:
|
|
2031
|
+
measure: $t,
|
|
2022
2032
|
strategy: je.WhileDragging,
|
|
2023
2033
|
frequency: Dt.Optimized
|
|
2024
2034
|
},
|
|
@@ -2047,7 +2057,7 @@ class ze extends Map {
|
|
|
2047
2057
|
return (n = (r = this.get(t)) == null ? void 0 : r.node.current) != null ? n : void 0;
|
|
2048
2058
|
}
|
|
2049
2059
|
}
|
|
2050
|
-
const
|
|
2060
|
+
const Kr = {
|
|
2051
2061
|
activatorEvent: null,
|
|
2052
2062
|
active: null,
|
|
2053
2063
|
activeNode: null,
|
|
@@ -2071,7 +2081,7 @@ const $r = {
|
|
|
2071
2081
|
measureDroppableContainers: rt,
|
|
2072
2082
|
windowRect: null,
|
|
2073
2083
|
measuringScheduled: !1
|
|
2074
|
-
},
|
|
2084
|
+
}, Xr = {
|
|
2075
2085
|
activatorEvent: null,
|
|
2076
2086
|
activators: [],
|
|
2077
2087
|
active: null,
|
|
@@ -2083,8 +2093,8 @@ const $r = {
|
|
|
2083
2093
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
2084
2094
|
over: null,
|
|
2085
2095
|
measureDroppableContainers: rt
|
|
2086
|
-
}, ut = /* @__PURE__ */ a.createContext(
|
|
2087
|
-
function
|
|
2096
|
+
}, ut = /* @__PURE__ */ a.createContext(Xr), bn = /* @__PURE__ */ a.createContext(Kr);
|
|
2097
|
+
function Ur() {
|
|
2088
2098
|
return {
|
|
2089
2099
|
draggable: {
|
|
2090
2100
|
active: null,
|
|
@@ -2196,7 +2206,7 @@ function Yr(e, t) {
|
|
|
2196
2206
|
return e;
|
|
2197
2207
|
}
|
|
2198
2208
|
}
|
|
2199
|
-
function
|
|
2209
|
+
function _r(e) {
|
|
2200
2210
|
let {
|
|
2201
2211
|
disabled: t
|
|
2202
2212
|
} = e;
|
|
@@ -2207,7 +2217,7 @@ function Ur(e) {
|
|
|
2207
2217
|
} = a.useContext(ut), i = yt(r), s = yt(n?.id);
|
|
2208
2218
|
return a.useEffect(() => {
|
|
2209
2219
|
if (!t && !r && i && s != null) {
|
|
2210
|
-
if (!
|
|
2220
|
+
if (!Mt(i) || document.activeElement === i.target)
|
|
2211
2221
|
return;
|
|
2212
2222
|
const c = o.get(s);
|
|
2213
2223
|
if (!c)
|
|
@@ -2222,7 +2232,7 @@ function Ur(e) {
|
|
|
2222
2232
|
for (const f of [l.current, u.current]) {
|
|
2223
2233
|
if (!f)
|
|
2224
2234
|
continue;
|
|
2225
|
-
const d =
|
|
2235
|
+
const d = jn(f);
|
|
2226
2236
|
if (d) {
|
|
2227
2237
|
d.focus();
|
|
2228
2238
|
break;
|
|
@@ -2297,7 +2307,7 @@ function Hr(e) {
|
|
|
2297
2307
|
}, [t, s, c, r, n]);
|
|
2298
2308
|
}
|
|
2299
2309
|
const yn = /* @__PURE__ */ a.createContext({
|
|
2300
|
-
...
|
|
2310
|
+
...W,
|
|
2301
2311
|
scaleX: 1,
|
|
2302
2312
|
scaleY: 1
|
|
2303
2313
|
});
|
|
@@ -2305,55 +2315,55 @@ var fe;
|
|
|
2305
2315
|
(function(e) {
|
|
2306
2316
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
2307
2317
|
})(fe || (fe = {}));
|
|
2308
|
-
const
|
|
2318
|
+
const Ko = /* @__PURE__ */ a.memo(function(t) {
|
|
2309
2319
|
var n, r, o, i;
|
|
2310
2320
|
let {
|
|
2311
2321
|
id: s,
|
|
2312
2322
|
accessibility: c,
|
|
2313
2323
|
autoScroll: l = !0,
|
|
2314
2324
|
children: u,
|
|
2315
|
-
sensors: f =
|
|
2316
|
-
collisionDetection: d =
|
|
2325
|
+
sensors: f = jr,
|
|
2326
|
+
collisionDetection: d = Zn,
|
|
2317
2327
|
measuring: g,
|
|
2318
2328
|
modifiers: h,
|
|
2319
2329
|
...C
|
|
2320
2330
|
} = t;
|
|
2321
|
-
const v = a.useReducer(Yr, void 0,
|
|
2331
|
+
const v = a.useReducer(Yr, void 0, Ur), [p, m] = v, [w, b] = _n(), [S, R] = a.useState(fe.Uninitialized), E = S === fe.Initialized, {
|
|
2322
2332
|
draggable: {
|
|
2323
2333
|
active: x,
|
|
2324
2334
|
nodes: D,
|
|
2325
2335
|
translate: I
|
|
2326
2336
|
},
|
|
2327
2337
|
droppable: {
|
|
2328
|
-
containers:
|
|
2338
|
+
containers: k
|
|
2329
2339
|
}
|
|
2330
|
-
} = p, A = x != null ? D.get(x) : null,
|
|
2340
|
+
} = p, A = x != null ? D.get(x) : null, _ = a.useRef({
|
|
2331
2341
|
initial: null,
|
|
2332
2342
|
translated: null
|
|
2333
|
-
}),
|
|
2343
|
+
}), Q = a.useMemo(() => {
|
|
2334
2344
|
var P;
|
|
2335
2345
|
return x != null ? {
|
|
2336
2346
|
id: x,
|
|
2337
2347
|
// It's possible for the active node to unmount while dragging
|
|
2338
|
-
data: (P = A?.data) != null ? P :
|
|
2339
|
-
rect:
|
|
2348
|
+
data: (P = A?.data) != null ? P : $r,
|
|
2349
|
+
rect: _
|
|
2340
2350
|
} : null;
|
|
2341
|
-
}, [x, A]), V = a.useRef(null), [Ee,
|
|
2351
|
+
}, [x, A]), V = a.useRef(null), [Ee, _e] = a.useState(null), [q, Qe] = a.useState(null), te = Be(C, Object.values(C)), Me = Ye("DndDescribedBy", s), We = a.useMemo(() => k.getEnabled(), [k]), F = Wr(g), {
|
|
2342
2352
|
droppableRects: ne,
|
|
2343
2353
|
measureDroppableContainers: he,
|
|
2344
2354
|
measuringScheduled: Ae
|
|
2345
|
-
} =
|
|
2355
|
+
} = Ar(We, {
|
|
2346
2356
|
dragging: E,
|
|
2347
2357
|
dependencies: [I.x, I.y],
|
|
2348
2358
|
config: F.droppable
|
|
2349
|
-
}), X =
|
|
2359
|
+
}), X = Er(D, x), He = a.useMemo(() => q ? mt(q) : null, [q]), se = kn(), re = Ir(X, F.draggable.measure);
|
|
2350
2360
|
Hr({
|
|
2351
2361
|
activeNode: x != null ? D.get(x) : null,
|
|
2352
2362
|
config: se.layoutShiftCompensation,
|
|
2353
2363
|
initialRect: re,
|
|
2354
2364
|
measure: F.draggable.measure
|
|
2355
2365
|
});
|
|
2356
|
-
const M =
|
|
2366
|
+
const M = _t(X, F.draggable.measure, re), Ie = _t(X ? X.parentElement : null), G = a.useRef({
|
|
2357
2367
|
activatorEvent: null,
|
|
2358
2368
|
active: null,
|
|
2359
2369
|
activeNode: X,
|
|
@@ -2363,21 +2373,21 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2363
2373
|
draggableNodes: D,
|
|
2364
2374
|
draggingNode: null,
|
|
2365
2375
|
draggingNodeRect: null,
|
|
2366
|
-
droppableContainers:
|
|
2376
|
+
droppableContainers: k,
|
|
2367
2377
|
over: null,
|
|
2368
2378
|
scrollableAncestors: [],
|
|
2369
2379
|
scrollAdjustedTranslate: null
|
|
2370
|
-
}), pe =
|
|
2380
|
+
}), pe = k.getNodeFor((n = G.current.over) == null ? void 0 : n.id), oe = qr({
|
|
2371
2381
|
measure: F.dragOverlay.measure
|
|
2372
|
-
}), be = (r = oe.nodeRef.current) != null ? r : X, ye = E ? (o = oe.rect) != null ? o : M : null,
|
|
2382
|
+
}), be = (r = oe.nodeRef.current) != null ? r : X, ye = E ? (o = oe.rect) != null ? o : M : null, Tt = !!(oe.nodeRef.current && oe.rect), Nt = kr(Tt ? null : M), dt = pn(be ? B(be) : null), ae = Or(E ? pe ?? X : null), Ve = zr(ae), Ge = Qr(h, {
|
|
2373
2383
|
transform: {
|
|
2374
|
-
x: I.x -
|
|
2375
|
-
y: I.y -
|
|
2384
|
+
x: I.x - Nt.x,
|
|
2385
|
+
y: I.y - Nt.y,
|
|
2376
2386
|
scaleX: 1,
|
|
2377
2387
|
scaleY: 1
|
|
2378
2388
|
},
|
|
2379
2389
|
activatorEvent: q,
|
|
2380
|
-
active:
|
|
2390
|
+
active: Q,
|
|
2381
2391
|
activeNodeRect: M,
|
|
2382
2392
|
containerNodeRect: Ie,
|
|
2383
2393
|
draggingNodeRect: ye,
|
|
@@ -2386,13 +2396,13 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2386
2396
|
scrollableAncestors: ae,
|
|
2387
2397
|
scrollableAncestorRects: Ve,
|
|
2388
2398
|
windowRect: dt
|
|
2389
|
-
}),
|
|
2390
|
-
active:
|
|
2399
|
+
}), kt = He ? De(He, I) : null, Ot = Lr(ae), Rn = Wt(Ot), En = Wt(Ot, [M]), me = De(Ge, Rn), we = ye ? nr(ye, Ge) : null, Te = Q && we ? d({
|
|
2400
|
+
active: Q,
|
|
2391
2401
|
collisionRect: we,
|
|
2392
2402
|
droppableRects: ne,
|
|
2393
|
-
droppableContainers:
|
|
2394
|
-
pointerCoordinates:
|
|
2395
|
-
}) : null,
|
|
2403
|
+
droppableContainers: We,
|
|
2404
|
+
pointerCoordinates: kt
|
|
2405
|
+
}) : null, Lt = rn(Te, "id"), [ce, Pt] = a.useState(null), Mn = Tt ? Ge : De(Ge, En), An = er(Mn, (i = ce?.rect) != null ? i : null, M), ft = a.useRef(null), Ft = a.useCallback(
|
|
2396
2406
|
(P, j) => {
|
|
2397
2407
|
let {
|
|
2398
2408
|
sensor: $,
|
|
@@ -2400,12 +2410,12 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2400
2410
|
} = j;
|
|
2401
2411
|
if (V.current == null)
|
|
2402
2412
|
return;
|
|
2403
|
-
const
|
|
2404
|
-
if (!
|
|
2413
|
+
const U = D.get(V.current);
|
|
2414
|
+
if (!U)
|
|
2405
2415
|
return;
|
|
2406
2416
|
const K = P.nativeEvent, J = new $({
|
|
2407
2417
|
active: V.current,
|
|
2408
|
-
activeNode:
|
|
2418
|
+
activeNode: U,
|
|
2409
2419
|
event: K,
|
|
2410
2420
|
options: le,
|
|
2411
2421
|
// Sensors need to be instantiated with refs for arguments that change over time
|
|
@@ -2428,14 +2438,14 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2428
2438
|
if (!D.get(L))
|
|
2429
2439
|
return;
|
|
2430
2440
|
const {
|
|
2431
|
-
onDragPending:
|
|
2441
|
+
onDragPending: ke
|
|
2432
2442
|
} = te.current, de = {
|
|
2433
2443
|
id: L,
|
|
2434
2444
|
constraint: ue,
|
|
2435
2445
|
initialCoordinates: Z,
|
|
2436
2446
|
offset: ie
|
|
2437
2447
|
};
|
|
2438
|
-
|
|
2448
|
+
ke?.(de), w({
|
|
2439
2449
|
type: "onDragPending",
|
|
2440
2450
|
event: de
|
|
2441
2451
|
});
|
|
@@ -2454,7 +2464,7 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2454
2464
|
active: {
|
|
2455
2465
|
id: ue,
|
|
2456
2466
|
data: Z.data,
|
|
2457
|
-
rect:
|
|
2467
|
+
rect: _
|
|
2458
2468
|
}
|
|
2459
2469
|
};
|
|
2460
2470
|
Le.unstable_batchedUpdates(() => {
|
|
@@ -2465,7 +2475,7 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2465
2475
|
}), w({
|
|
2466
2476
|
type: "onDragStart",
|
|
2467
2477
|
event: Ne
|
|
2468
|
-
}),
|
|
2478
|
+
}), _e(ft.current), Qe(K);
|
|
2469
2479
|
});
|
|
2470
2480
|
},
|
|
2471
2481
|
onMove(L) {
|
|
@@ -2484,30 +2494,30 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2484
2494
|
active: Z,
|
|
2485
2495
|
collisions: ie,
|
|
2486
2496
|
over: Ne,
|
|
2487
|
-
scrollAdjustedTranslate:
|
|
2497
|
+
scrollAdjustedTranslate: ke
|
|
2488
2498
|
} = G.current;
|
|
2489
2499
|
let de = null;
|
|
2490
|
-
if (Z &&
|
|
2500
|
+
if (Z && ke) {
|
|
2491
2501
|
const {
|
|
2492
|
-
cancelDrop:
|
|
2502
|
+
cancelDrop: Oe
|
|
2493
2503
|
} = te.current;
|
|
2494
2504
|
de = {
|
|
2495
2505
|
activatorEvent: K,
|
|
2496
2506
|
active: Z,
|
|
2497
2507
|
collisions: ie,
|
|
2498
|
-
delta:
|
|
2508
|
+
delta: ke,
|
|
2499
2509
|
over: Ne
|
|
2500
|
-
}, L === T.DragEnd && typeof
|
|
2510
|
+
}, L === T.DragEnd && typeof Oe == "function" && await Promise.resolve(Oe(de)) && (L = T.DragCancel);
|
|
2501
2511
|
}
|
|
2502
2512
|
V.current = null, Le.unstable_batchedUpdates(() => {
|
|
2503
2513
|
m({
|
|
2504
2514
|
type: L
|
|
2505
|
-
}), R(fe.Uninitialized),
|
|
2506
|
-
const
|
|
2515
|
+
}), R(fe.Uninitialized), Pt(null), _e(null), Qe(null), ft.current = null;
|
|
2516
|
+
const Oe = L === T.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
2507
2517
|
if (de) {
|
|
2508
|
-
const ht = te.current[
|
|
2518
|
+
const ht = te.current[Oe];
|
|
2509
2519
|
ht?.(de), w({
|
|
2510
|
-
type:
|
|
2520
|
+
type: Oe,
|
|
2511
2521
|
event: de
|
|
2512
2522
|
});
|
|
2513
2523
|
}
|
|
@@ -2518,22 +2528,22 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2518
2528
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2519
2529
|
[D]
|
|
2520
2530
|
), In = a.useCallback((P, j) => ($, le) => {
|
|
2521
|
-
const
|
|
2531
|
+
const U = $.nativeEvent, K = D.get(le);
|
|
2522
2532
|
if (
|
|
2523
2533
|
// Another sensor is already instantiating
|
|
2524
2534
|
V.current !== null || // No active draggable
|
|
2525
2535
|
!K || // Event has already been captured
|
|
2526
|
-
|
|
2536
|
+
U.dndKit || U.defaultPrevented
|
|
2527
2537
|
)
|
|
2528
2538
|
return;
|
|
2529
2539
|
const J = {
|
|
2530
2540
|
active: K
|
|
2531
2541
|
};
|
|
2532
|
-
P($, j.options, J) === !0 && (
|
|
2542
|
+
P($, j.options, J) === !0 && (U.dndKit = {
|
|
2533
2543
|
capturedBy: j.sensor
|
|
2534
|
-
}, V.current = le,
|
|
2535
|
-
}, [D,
|
|
2536
|
-
|
|
2544
|
+
}, V.current = le, Ft($, j));
|
|
2545
|
+
}, [D, Ft]), zt = Mr(f, In);
|
|
2546
|
+
Pr(f), ee(() => {
|
|
2537
2547
|
M && S === fe.Initializing && R(fe.Initialized);
|
|
2538
2548
|
}, [M, S]), a.useEffect(
|
|
2539
2549
|
() => {
|
|
@@ -2543,7 +2553,7 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2543
2553
|
active: j,
|
|
2544
2554
|
activatorEvent: $,
|
|
2545
2555
|
collisions: le,
|
|
2546
|
-
over:
|
|
2556
|
+
over: U
|
|
2547
2557
|
} = G.current;
|
|
2548
2558
|
if (!j || !$)
|
|
2549
2559
|
return;
|
|
@@ -2555,7 +2565,7 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2555
2565
|
x: me.x,
|
|
2556
2566
|
y: me.y
|
|
2557
2567
|
},
|
|
2558
|
-
over:
|
|
2568
|
+
over: U
|
|
2559
2569
|
};
|
|
2560
2570
|
Le.unstable_batchedUpdates(() => {
|
|
2561
2571
|
P?.(K), w({
|
|
@@ -2573,13 +2583,13 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2573
2583
|
activatorEvent: j,
|
|
2574
2584
|
collisions: $,
|
|
2575
2585
|
droppableContainers: le,
|
|
2576
|
-
scrollAdjustedTranslate:
|
|
2586
|
+
scrollAdjustedTranslate: U
|
|
2577
2587
|
} = G.current;
|
|
2578
|
-
if (!P || V.current == null || !j || !
|
|
2588
|
+
if (!P || V.current == null || !j || !U)
|
|
2579
2589
|
return;
|
|
2580
2590
|
const {
|
|
2581
2591
|
onDragOver: K
|
|
2582
|
-
} = te.current, J = le.get(
|
|
2592
|
+
} = te.current, J = le.get(Lt), xe = J && J.rect.current ? {
|
|
2583
2593
|
id: J.id,
|
|
2584
2594
|
rect: J.rect.current,
|
|
2585
2595
|
data: J.data,
|
|
@@ -2589,24 +2599,24 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2589
2599
|
activatorEvent: j,
|
|
2590
2600
|
collisions: $,
|
|
2591
2601
|
delta: {
|
|
2592
|
-
x:
|
|
2593
|
-
y:
|
|
2602
|
+
x: U.x,
|
|
2603
|
+
y: U.y
|
|
2594
2604
|
},
|
|
2595
2605
|
over: xe
|
|
2596
2606
|
};
|
|
2597
2607
|
Le.unstable_batchedUpdates(() => {
|
|
2598
|
-
|
|
2608
|
+
Pt(xe), K?.(L), w({
|
|
2599
2609
|
type: "onDragOver",
|
|
2600
2610
|
event: L
|
|
2601
2611
|
});
|
|
2602
2612
|
});
|
|
2603
2613
|
},
|
|
2604
2614
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2605
|
-
[
|
|
2615
|
+
[Lt]
|
|
2606
2616
|
), ee(() => {
|
|
2607
2617
|
G.current = {
|
|
2608
2618
|
activatorEvent: q,
|
|
2609
|
-
active:
|
|
2619
|
+
active: Q,
|
|
2610
2620
|
activeNode: X,
|
|
2611
2621
|
collisionRect: we,
|
|
2612
2622
|
collisions: Te,
|
|
@@ -2614,24 +2624,24 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2614
2624
|
draggableNodes: D,
|
|
2615
2625
|
draggingNode: be,
|
|
2616
2626
|
draggingNodeRect: ye,
|
|
2617
|
-
droppableContainers:
|
|
2627
|
+
droppableContainers: k,
|
|
2618
2628
|
over: ce,
|
|
2619
2629
|
scrollableAncestors: ae,
|
|
2620
2630
|
scrollAdjustedTranslate: me
|
|
2621
|
-
},
|
|
2631
|
+
}, _.current = {
|
|
2622
2632
|
initial: ye,
|
|
2623
2633
|
translated: we
|
|
2624
2634
|
};
|
|
2625
|
-
}, [
|
|
2635
|
+
}, [Q, X, Te, we, D, be, ye, ne, k, ce, ae, me]), Cr({
|
|
2626
2636
|
...se,
|
|
2627
2637
|
delta: I,
|
|
2628
2638
|
draggingRect: we,
|
|
2629
|
-
pointerCoordinates:
|
|
2639
|
+
pointerCoordinates: kt,
|
|
2630
2640
|
scrollableAncestors: ae,
|
|
2631
2641
|
scrollableAncestorRects: Ve
|
|
2632
2642
|
});
|
|
2633
2643
|
const Tn = a.useMemo(() => ({
|
|
2634
|
-
active:
|
|
2644
|
+
active: Q,
|
|
2635
2645
|
activeNode: X,
|
|
2636
2646
|
activeNodeRect: M,
|
|
2637
2647
|
activatorEvent: q,
|
|
@@ -2639,7 +2649,7 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2639
2649
|
containerNodeRect: Ie,
|
|
2640
2650
|
dragOverlay: oe,
|
|
2641
2651
|
draggableNodes: D,
|
|
2642
|
-
droppableContainers:
|
|
2652
|
+
droppableContainers: k,
|
|
2643
2653
|
droppableRects: ne,
|
|
2644
2654
|
over: ce,
|
|
2645
2655
|
measureDroppableContainers: he,
|
|
@@ -2648,10 +2658,10 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2648
2658
|
measuringConfiguration: F,
|
|
2649
2659
|
measuringScheduled: Ae,
|
|
2650
2660
|
windowRect: dt
|
|
2651
|
-
}), [
|
|
2661
|
+
}), [Q, X, M, q, Te, Ie, oe, D, k, ne, ce, he, ae, Ve, F, Ae, dt]), Nn = a.useMemo(() => ({
|
|
2652
2662
|
activatorEvent: q,
|
|
2653
|
-
activators:
|
|
2654
|
-
active:
|
|
2663
|
+
activators: zt,
|
|
2664
|
+
active: Q,
|
|
2655
2665
|
activeNodeRect: M,
|
|
2656
2666
|
ariaDescribedById: {
|
|
2657
2667
|
draggable: Me
|
|
@@ -2660,7 +2670,7 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2660
2670
|
draggableNodes: D,
|
|
2661
2671
|
over: ce,
|
|
2662
2672
|
measureDroppableContainers: he
|
|
2663
|
-
}), [q,
|
|
2673
|
+
}), [q, zt, Q, M, m, Me, D, ce, he]);
|
|
2664
2674
|
return z.createElement(en.Provider, {
|
|
2665
2675
|
value: b
|
|
2666
2676
|
}, z.createElement(ut.Provider, {
|
|
@@ -2669,13 +2679,13 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2669
2679
|
value: Tn
|
|
2670
2680
|
}, z.createElement(yn.Provider, {
|
|
2671
2681
|
value: An
|
|
2672
|
-
}, u)), z.createElement(
|
|
2682
|
+
}, u)), z.createElement(_r, {
|
|
2673
2683
|
disabled: c?.restoreFocus === !1
|
|
2674
2684
|
})), z.createElement(Hn, {
|
|
2675
2685
|
...c,
|
|
2676
2686
|
hiddenTextDescribedById: Me
|
|
2677
2687
|
}));
|
|
2678
|
-
function
|
|
2688
|
+
function kn() {
|
|
2679
2689
|
const P = Ee?.autoScrollEnabled === !1, j = typeof l == "object" ? l.enabled === !1 : l === !1, $ = E && !P && !j;
|
|
2680
2690
|
return typeof l == "object" ? {
|
|
2681
2691
|
...l,
|
|
@@ -2684,15 +2694,15 @@ const jo = /* @__PURE__ */ a.memo(function(t) {
|
|
|
2684
2694
|
enabled: $
|
|
2685
2695
|
};
|
|
2686
2696
|
}
|
|
2687
|
-
}),
|
|
2688
|
-
function
|
|
2697
|
+
}), Vr = /* @__PURE__ */ a.createContext(null), Vt = "button", Gr = "Draggable";
|
|
2698
|
+
function Jr(e) {
|
|
2689
2699
|
let {
|
|
2690
2700
|
id: t,
|
|
2691
2701
|
data: n,
|
|
2692
2702
|
disabled: r = !1,
|
|
2693
2703
|
attributes: o
|
|
2694
2704
|
} = e;
|
|
2695
|
-
const i =
|
|
2705
|
+
const i = Ye(Gr), {
|
|
2696
2706
|
activators: s,
|
|
2697
2707
|
activatorEvent: c,
|
|
2698
2708
|
active: l,
|
|
@@ -2701,10 +2711,10 @@ function Gr(e) {
|
|
|
2701
2711
|
draggableNodes: d,
|
|
2702
2712
|
over: g
|
|
2703
2713
|
} = a.useContext(ut), {
|
|
2704
|
-
role: h =
|
|
2714
|
+
role: h = Vt,
|
|
2705
2715
|
roleDescription: C = "draggable",
|
|
2706
2716
|
tabIndex: v = 0
|
|
2707
|
-
} = o ?? {}, p = l?.id === t, m = a.useContext(p ? yn :
|
|
2717
|
+
} = o ?? {}, p = l?.id === t, m = a.useContext(p ? yn : Vr), [w, b] = tt(), [S, R] = tt(), E = Fr(s, t), x = Be(n);
|
|
2708
2718
|
ee(
|
|
2709
2719
|
() => (d.set(t, {
|
|
2710
2720
|
id: t,
|
|
@@ -2723,7 +2733,7 @@ function Gr(e) {
|
|
|
2723
2733
|
role: h,
|
|
2724
2734
|
tabIndex: v,
|
|
2725
2735
|
"aria-disabled": r,
|
|
2726
|
-
"aria-pressed": p && h ===
|
|
2736
|
+
"aria-pressed": p && h === Vt ? !0 : void 0,
|
|
2727
2737
|
"aria-roledescription": C,
|
|
2728
2738
|
"aria-describedby": f.draggable
|
|
2729
2739
|
}), [r, h, v, p, C, f.draggable]);
|
|
@@ -2741,20 +2751,20 @@ function Gr(e) {
|
|
|
2741
2751
|
transform: m
|
|
2742
2752
|
};
|
|
2743
2753
|
}
|
|
2744
|
-
function
|
|
2754
|
+
function Zr() {
|
|
2745
2755
|
return a.useContext(bn);
|
|
2746
2756
|
}
|
|
2747
|
-
const
|
|
2757
|
+
const eo = "Droppable", to = {
|
|
2748
2758
|
timeout: 25
|
|
2749
2759
|
};
|
|
2750
|
-
function
|
|
2760
|
+
function no(e) {
|
|
2751
2761
|
let {
|
|
2752
2762
|
data: t,
|
|
2753
2763
|
disabled: n = !1,
|
|
2754
2764
|
id: r,
|
|
2755
2765
|
resizeObserverConfig: o
|
|
2756
2766
|
} = e;
|
|
2757
|
-
const i =
|
|
2767
|
+
const i = Ye(eo), {
|
|
2758
2768
|
active: s,
|
|
2759
2769
|
dispatch: c,
|
|
2760
2770
|
over: l,
|
|
@@ -2766,7 +2776,7 @@ function to(e) {
|
|
|
2766
2776
|
updateMeasurementsFor: v,
|
|
2767
2777
|
timeout: p
|
|
2768
2778
|
} = {
|
|
2769
|
-
...
|
|
2779
|
+
...to,
|
|
2770
2780
|
...o
|
|
2771
2781
|
}, m = Be(v ?? r), w = a.useCallback(
|
|
2772
2782
|
() => {
|
|
@@ -2826,7 +2836,7 @@ function mn(e, t, n) {
|
|
|
2826
2836
|
const r = e.slice();
|
|
2827
2837
|
return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
|
|
2828
2838
|
}
|
|
2829
|
-
function
|
|
2839
|
+
function ro(e, t) {
|
|
2830
2840
|
return e.reduce((n, r, o) => {
|
|
2831
2841
|
const i = t.get(r);
|
|
2832
2842
|
return i && (n[o] = i), n;
|
|
@@ -2835,7 +2845,7 @@ function no(e, t) {
|
|
|
2835
2845
|
function Je(e) {
|
|
2836
2846
|
return e !== null && e >= 0;
|
|
2837
2847
|
}
|
|
2838
|
-
function
|
|
2848
|
+
function oo(e, t) {
|
|
2839
2849
|
if (e === t)
|
|
2840
2850
|
return !0;
|
|
2841
2851
|
if (e.length !== t.length)
|
|
@@ -2845,7 +2855,7 @@ function ro(e, t) {
|
|
|
2845
2855
|
return !1;
|
|
2846
2856
|
return !0;
|
|
2847
2857
|
}
|
|
2848
|
-
function
|
|
2858
|
+
function io(e) {
|
|
2849
2859
|
return typeof e == "boolean" ? {
|
|
2850
2860
|
draggable: e,
|
|
2851
2861
|
droppable: e
|
|
@@ -2868,7 +2878,7 @@ const wn = (e) => {
|
|
|
2868
2878
|
}, Ze = {
|
|
2869
2879
|
scaleX: 1,
|
|
2870
2880
|
scaleY: 1
|
|
2871
|
-
},
|
|
2881
|
+
}, Xo = (e) => {
|
|
2872
2882
|
var t;
|
|
2873
2883
|
let {
|
|
2874
2884
|
activeIndex: n,
|
|
@@ -2888,7 +2898,7 @@ const wn = (e) => {
|
|
|
2888
2898
|
...Ze
|
|
2889
2899
|
} : null;
|
|
2890
2900
|
}
|
|
2891
|
-
const l =
|
|
2901
|
+
const l = so(i, o, n);
|
|
2892
2902
|
return o > n && o <= s ? {
|
|
2893
2903
|
x: 0,
|
|
2894
2904
|
y: -c.height - l,
|
|
@@ -2903,7 +2913,7 @@ const wn = (e) => {
|
|
|
2903
2913
|
...Ze
|
|
2904
2914
|
};
|
|
2905
2915
|
};
|
|
2906
|
-
function
|
|
2916
|
+
function so(e, t, n) {
|
|
2907
2917
|
const r = e[t], o = e[t - 1], i = e[t + 1];
|
|
2908
2918
|
return r ? n < t ? o ? r.top - (o.top + o.height) : i ? i.top - (r.top + r.height) : 0 : i ? i.top - (r.top + r.height) : o ? r.top - (o.top + o.height) : 0 : 0;
|
|
2909
2919
|
}
|
|
@@ -2921,7 +2931,7 @@ const xn = "Sortable", Dn = /* @__PURE__ */ z.createContext({
|
|
|
2921
2931
|
droppable: !1
|
|
2922
2932
|
}
|
|
2923
2933
|
});
|
|
2924
|
-
function
|
|
2934
|
+
function Uo(e) {
|
|
2925
2935
|
let {
|
|
2926
2936
|
children: t,
|
|
2927
2937
|
id: n,
|
|
@@ -2935,7 +2945,7 @@ function Ko(e) {
|
|
|
2935
2945
|
droppableRects: l,
|
|
2936
2946
|
over: u,
|
|
2937
2947
|
measureDroppableContainers: f
|
|
2938
|
-
} =
|
|
2948
|
+
} = Zr(), d = Ye(xn, n), g = c.rect !== null, h = a.useMemo(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), C = s != null, v = s ? h.indexOf(s.id) : -1, p = u ? h.indexOf(u.id) : -1, m = a.useRef(h), w = !oo(h, m.current), b = p !== -1 && v === -1 || w, S = io(i);
|
|
2939
2949
|
ee(() => {
|
|
2940
2950
|
w && C && f(h);
|
|
2941
2951
|
}, [w, h, C, f]), a.useEffect(() => {
|
|
@@ -2950,7 +2960,7 @@ function Ko(e) {
|
|
|
2950
2960
|
items: h,
|
|
2951
2961
|
overIndex: p,
|
|
2952
2962
|
useDragOverlay: g,
|
|
2953
|
-
sortedRects:
|
|
2963
|
+
sortedRects: ro(h, l),
|
|
2954
2964
|
strategy: o
|
|
2955
2965
|
}),
|
|
2956
2966
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -2960,7 +2970,7 @@ function Ko(e) {
|
|
|
2960
2970
|
value: R
|
|
2961
2971
|
}, t);
|
|
2962
2972
|
}
|
|
2963
|
-
const
|
|
2973
|
+
const ao = (e) => {
|
|
2964
2974
|
let {
|
|
2965
2975
|
id: t,
|
|
2966
2976
|
items: n,
|
|
@@ -2968,7 +2978,7 @@ const so = (e) => {
|
|
|
2968
2978
|
overIndex: o
|
|
2969
2979
|
} = e;
|
|
2970
2980
|
return mn(n, r, o).indexOf(t);
|
|
2971
|
-
},
|
|
2981
|
+
}, co = (e) => {
|
|
2972
2982
|
let {
|
|
2973
2983
|
containerId: t,
|
|
2974
2984
|
isSorting: n,
|
|
@@ -2981,17 +2991,17 @@ const so = (e) => {
|
|
|
2981
2991
|
transition: u
|
|
2982
2992
|
} = e;
|
|
2983
2993
|
return !u || !r || c !== i && o === s ? !1 : n ? !0 : s !== o && t === l;
|
|
2984
|
-
},
|
|
2994
|
+
}, lo = {
|
|
2985
2995
|
duration: 200,
|
|
2986
2996
|
easing: "ease"
|
|
2987
|
-
}, Cn = "transform",
|
|
2997
|
+
}, Cn = "transform", uo = /* @__PURE__ */ nt.Transition.toString({
|
|
2988
2998
|
property: Cn,
|
|
2989
2999
|
duration: 0,
|
|
2990
3000
|
easing: "linear"
|
|
2991
|
-
}),
|
|
3001
|
+
}), fo = {
|
|
2992
3002
|
roleDescription: "sortable"
|
|
2993
3003
|
};
|
|
2994
|
-
function
|
|
3004
|
+
function ho(e) {
|
|
2995
3005
|
let {
|
|
2996
3006
|
disabled: t,
|
|
2997
3007
|
index: n,
|
|
@@ -3019,17 +3029,17 @@ function fo(e) {
|
|
|
3019
3029
|
i && s(null);
|
|
3020
3030
|
}, [i]), i;
|
|
3021
3031
|
}
|
|
3022
|
-
function
|
|
3032
|
+
function Yo(e) {
|
|
3023
3033
|
let {
|
|
3024
|
-
animateLayoutChanges: t =
|
|
3034
|
+
animateLayoutChanges: t = co,
|
|
3025
3035
|
attributes: n,
|
|
3026
3036
|
disabled: r,
|
|
3027
3037
|
data: o,
|
|
3028
|
-
getNewIndex: i =
|
|
3038
|
+
getNewIndex: i = ao,
|
|
3029
3039
|
id: s,
|
|
3030
3040
|
strategy: c,
|
|
3031
3041
|
resizeObserverConfig: l,
|
|
3032
|
-
transition: u =
|
|
3042
|
+
transition: u = lo
|
|
3033
3043
|
} = e;
|
|
3034
3044
|
const {
|
|
3035
3045
|
items: f,
|
|
@@ -3041,7 +3051,7 @@ function Xo(e) {
|
|
|
3041
3051
|
overIndex: p,
|
|
3042
3052
|
useDragOverlay: m,
|
|
3043
3053
|
strategy: w
|
|
3044
|
-
} = a.useContext(Dn), b =
|
|
3054
|
+
} = a.useContext(Dn), b = go(r, h), S = f.indexOf(s), R = a.useMemo(() => ({
|
|
3045
3055
|
sortable: {
|
|
3046
3056
|
containerId: d,
|
|
3047
3057
|
index: S,
|
|
@@ -3052,8 +3062,8 @@ function Xo(e) {
|
|
|
3052
3062
|
rect: x,
|
|
3053
3063
|
node: D,
|
|
3054
3064
|
isOver: I,
|
|
3055
|
-
setNodeRef:
|
|
3056
|
-
} =
|
|
3065
|
+
setNodeRef: k
|
|
3066
|
+
} = no({
|
|
3057
3067
|
id: s,
|
|
3058
3068
|
data: R,
|
|
3059
3069
|
disabled: b.droppable,
|
|
@@ -3063,26 +3073,26 @@ function Xo(e) {
|
|
|
3063
3073
|
}
|
|
3064
3074
|
}), {
|
|
3065
3075
|
active: A,
|
|
3066
|
-
activatorEvent:
|
|
3067
|
-
activeNodeRect:
|
|
3076
|
+
activatorEvent: _,
|
|
3077
|
+
activeNodeRect: Q,
|
|
3068
3078
|
attributes: V,
|
|
3069
3079
|
setNodeRef: Ee,
|
|
3070
|
-
listeners:
|
|
3080
|
+
listeners: _e,
|
|
3071
3081
|
isDragging: q,
|
|
3072
|
-
over:
|
|
3082
|
+
over: Qe,
|
|
3073
3083
|
setActivatorNodeRef: te,
|
|
3074
3084
|
transform: Me
|
|
3075
|
-
} =
|
|
3085
|
+
} = Jr({
|
|
3076
3086
|
id: s,
|
|
3077
3087
|
data: R,
|
|
3078
3088
|
attributes: {
|
|
3079
|
-
...
|
|
3089
|
+
...fo,
|
|
3080
3090
|
...n
|
|
3081
3091
|
},
|
|
3082
3092
|
disabled: b.draggable
|
|
3083
|
-
}),
|
|
3093
|
+
}), We = Fn(k, Ee), F = !!A, ne = F && !C && Je(g) && Je(p), he = !m && q, Ae = he && ne ? Me : null, He = ne ? Ae ?? (c ?? w)({
|
|
3084
3094
|
rects: v,
|
|
3085
|
-
activeNodeRect:
|
|
3095
|
+
activeNodeRect: Q,
|
|
3086
3096
|
activeIndex: g,
|
|
3087
3097
|
overIndex: p,
|
|
3088
3098
|
index: S
|
|
@@ -3109,7 +3119,7 @@ function Xo(e) {
|
|
|
3109
3119
|
previousContainerId: M.current.containerId,
|
|
3110
3120
|
transition: u,
|
|
3111
3121
|
wasDragging: M.current.activeId != null
|
|
3112
|
-
}), pe =
|
|
3122
|
+
}), pe = ho({
|
|
3113
3123
|
disabled: !G,
|
|
3114
3124
|
index: S,
|
|
3115
3125
|
node: D,
|
|
@@ -3140,15 +3150,15 @@ function Xo(e) {
|
|
|
3140
3150
|
isOver: I,
|
|
3141
3151
|
isSorting: F,
|
|
3142
3152
|
isDragging: q,
|
|
3143
|
-
listeners:
|
|
3153
|
+
listeners: _e,
|
|
3144
3154
|
node: D,
|
|
3145
3155
|
overIndex: p,
|
|
3146
|
-
over:
|
|
3147
|
-
setNodeRef:
|
|
3156
|
+
over: Qe,
|
|
3157
|
+
setNodeRef: We,
|
|
3148
3158
|
setActivatorNodeRef: te,
|
|
3149
|
-
setDroppableNodeRef:
|
|
3159
|
+
setDroppableNodeRef: k,
|
|
3150
3160
|
setDraggableNodeRef: Ee,
|
|
3151
|
-
transform: pe ??
|
|
3161
|
+
transform: pe ?? He,
|
|
3152
3162
|
transition: oe()
|
|
3153
3163
|
};
|
|
3154
3164
|
function oe() {
|
|
@@ -3157,15 +3167,15 @@ function Xo(e) {
|
|
|
3157
3167
|
pe || // Or to prevent items jumping to back to their "new" position when items change
|
|
3158
3168
|
Ie && M.current.newIndex === S
|
|
3159
3169
|
)
|
|
3160
|
-
return
|
|
3161
|
-
if (!(he && !
|
|
3170
|
+
return uo;
|
|
3171
|
+
if (!(he && !Mt(_) || !u) && (F || G))
|
|
3162
3172
|
return nt.Transition.toString({
|
|
3163
3173
|
...u,
|
|
3164
3174
|
property: Cn
|
|
3165
3175
|
});
|
|
3166
3176
|
}
|
|
3167
3177
|
}
|
|
3168
|
-
function
|
|
3178
|
+
function go(e, t) {
|
|
3169
3179
|
var n, r;
|
|
3170
3180
|
return typeof e == "boolean" ? {
|
|
3171
3181
|
draggable: e,
|
|
@@ -3182,7 +3192,7 @@ function it(e) {
|
|
|
3182
3192
|
const t = e.data.current;
|
|
3183
3193
|
return !!(t && "sortable" in t && typeof t.sortable == "object" && "containerId" in t.sortable && "items" in t.sortable && "index" in t.sortable);
|
|
3184
3194
|
}
|
|
3185
|
-
const
|
|
3195
|
+
const vo = [y.Down, y.Right, y.Up, y.Left], _o = (e, t) => {
|
|
3186
3196
|
let {
|
|
3187
3197
|
context: {
|
|
3188
3198
|
active: n,
|
|
@@ -3193,7 +3203,7 @@ const go = [y.Down, y.Right, y.Up, y.Left], Yo = (e, t) => {
|
|
|
3193
3203
|
scrollableAncestors: c
|
|
3194
3204
|
}
|
|
3195
3205
|
} = t;
|
|
3196
|
-
if (
|
|
3206
|
+
if (vo.includes(e.code)) {
|
|
3197
3207
|
if (e.preventDefault(), !n || !r)
|
|
3198
3208
|
return;
|
|
3199
3209
|
const l = [];
|
|
@@ -3217,7 +3227,7 @@ const go = [y.Down, y.Right, y.Up, y.Left], Yo = (e, t) => {
|
|
|
3217
3227
|
break;
|
|
3218
3228
|
}
|
|
3219
3229
|
});
|
|
3220
|
-
const u =
|
|
3230
|
+
const u = Gn({
|
|
3221
3231
|
collisionRect: r,
|
|
3222
3232
|
droppableRects: o,
|
|
3223
3233
|
droppableContainers: l
|
|
@@ -3226,7 +3236,7 @@ const go = [y.Down, y.Right, y.Up, y.Left], Yo = (e, t) => {
|
|
|
3226
3236
|
if (f === s?.id && u.length > 1 && (f = u[1].id), f != null) {
|
|
3227
3237
|
const d = i.get(n.id), g = i.get(f), h = g ? o.get(g.id) : null, C = g?.node.current;
|
|
3228
3238
|
if (C && h && d && g) {
|
|
3229
|
-
const p = ct(C).some((E, x) => c[x] !== E), m = Sn(d, g), w =
|
|
3239
|
+
const p = ct(C).some((E, x) => c[x] !== E), m = Sn(d, g), w = po(d, g), b = p || !m ? {
|
|
3230
3240
|
x: 0,
|
|
3231
3241
|
y: 0
|
|
3232
3242
|
} : {
|
|
@@ -3244,40 +3254,41 @@ const go = [y.Down, y.Right, y.Up, y.Left], Yo = (e, t) => {
|
|
|
3244
3254
|
function Sn(e, t) {
|
|
3245
3255
|
return !it(e) || !it(t) ? !1 : e.data.current.sortable.containerId === t.data.current.sortable.containerId;
|
|
3246
3256
|
}
|
|
3247
|
-
function
|
|
3257
|
+
function po(e, t) {
|
|
3248
3258
|
return !it(e) || !it(t) || !Sn(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
|
|
3249
3259
|
}
|
|
3250
3260
|
export {
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3261
|
+
Do as C,
|
|
3262
|
+
Ko as D,
|
|
3263
|
+
mo as G,
|
|
3254
3264
|
hn as K,
|
|
3255
|
-
|
|
3256
|
-
|
|
3265
|
+
wo as L,
|
|
3266
|
+
Mo as M,
|
|
3257
3267
|
gn as P,
|
|
3258
|
-
|
|
3259
|
-
|
|
3268
|
+
Uo as S,
|
|
3269
|
+
xo as U,
|
|
3270
|
+
Eo as a,
|
|
3260
3271
|
nt as b,
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3272
|
+
jo as c,
|
|
3273
|
+
qo as d,
|
|
3274
|
+
$o as e,
|
|
3264
3275
|
mn as f,
|
|
3265
3276
|
N as g,
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3277
|
+
Co as h,
|
|
3278
|
+
So as i,
|
|
3279
|
+
Ro as j,
|
|
3280
|
+
To as k,
|
|
3281
|
+
No as l,
|
|
3282
|
+
ko as m,
|
|
3283
|
+
Oo as n,
|
|
3284
|
+
Lo as o,
|
|
3285
|
+
Po as p,
|
|
3286
|
+
Fo as q,
|
|
3287
|
+
zo as r,
|
|
3288
|
+
_o as s,
|
|
3289
|
+
Ao as t,
|
|
3290
|
+
Yo as u,
|
|
3291
|
+
Xo as v,
|
|
3292
|
+
Bo as w,
|
|
3293
|
+
Io as x
|
|
3283
3294
|
};
|