react-align 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,33 @@
1
- (function(){ try {var elementStyle = document.createElement('style'); elementStyle.appendChild(document.createTextNode(".wrapper{height:100%;display:flex;justify-content:space-between}.section{display:flex;flex-direction:column;justify-content:space-between}.area{display:flex;border:0 solid transparent;box-sizing:border-box;border-radius:8px;position:relative}.area-transition-in{transition:all .3s ease-in-out,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.area-transition-out{transition:all .3s ease-in-out .4s,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.item{position:relative;border:0 solid transparent;margin:6px;border-radius:6px}.stretch{flex:auto}.middle{flex-grow:0;flex:auto}.just-centered{justify-content:center}.just-end{justify-content:flex-end}.end{align-items:flex-end}.hide{display:none}.overlay{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;background:rgba(0,0,0,.6)}.overlay-buttons{display:flex;padding:6px;box-sizing:border-box;justify-content:space-between}")); document.head.appendChild(elementStyle);} catch(e) {console.error('vite-plugin-css-injected-by-js', e);} })();var yr = Object.defineProperty, br = Object.defineProperties;
2
- var Rr = Object.getOwnPropertyDescriptors;
3
- var Q = Object.getOwnPropertySymbols;
4
- var Ye = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
5
- var Ne = (n, c, i) => c in n ? yr(n, c, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[c] = i, k = (n, c) => {
1
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.appendChild(document.createTextNode(".reactalign.wrapper{height:100%;display:flex;justify-content:space-between}.reactalign .section{display:flex;flex-direction:column;justify-content:space-between}.reactalign .area{display:flex;border:0 solid transparent;box-sizing:border-box;border-radius:8px;position:relative}.reactalign .area-transition-in{transition:all .3s ease-in-out,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.reactalign .area-transition-out{transition:all .3s ease-in-out .4s,min-height .5s ease-in-out .2s,min-width .5s ease-in-out .2s}.reactalign .item{position:relative;border:0 solid transparent;margin:6px;border-radius:6px}.reactalign .stretch{flex:auto}.reactalign .just-centered{justify-content:center}.reactalign .just-end{justify-content:flex-end}.reactalign .middle{align-items:center}.reactalign .bottom{align-items:flex-end}.reactalign .hide{display:none}.reactalign .overlay{position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;background:rgba(0,0,0,.6)}.reactalign .overlay-buttons{display:flex;padding:6px;box-sizing:border-box;justify-content:space-between}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ var br = Object.defineProperty, Rr = Object.defineProperties;
3
+ var _r = Object.getOwnPropertyDescriptors;
4
+ var re = Object.getOwnPropertySymbols;
5
+ var Be = Object.prototype.hasOwnProperty, He = Object.prototype.propertyIsEnumerable;
6
+ var Ye = (n, c, i) => c in n ? br(n, c, { enumerable: !0, configurable: !0, writable: !0, value: i }) : n[c] = i, k = (n, c) => {
6
7
  for (var i in c || (c = {}))
7
- Ye.call(c, i) && Ne(n, i, c[i]);
8
- if (Q)
9
- for (var i of Q(c))
10
- Be.call(c, i) && Ne(n, i, c[i]);
8
+ Be.call(c, i) && Ye(n, i, c[i]);
9
+ if (re)
10
+ for (var i of re(c))
11
+ He.call(c, i) && Ye(n, i, c[i]);
11
12
  return n;
12
- }, ee = (n, c) => br(n, Rr(c));
13
- var He = (n, c) => {
13
+ }, te = (n, c) => Rr(n, _r(c));
14
+ var Ue = (n, c) => {
14
15
  var i = {};
15
- for (var d in n)
16
- Ye.call(n, d) && c.indexOf(d) < 0 && (i[d] = n[d]);
17
- if (n != null && Q)
18
- for (var d of Q(n))
19
- c.indexOf(d) < 0 && Be.call(n, d) && (i[d] = n[d]);
16
+ for (var f in n)
17
+ Be.call(n, f) && c.indexOf(f) < 0 && (i[f] = n[f]);
18
+ if (n != null && re)
19
+ for (var f of re(n))
20
+ c.indexOf(f) < 0 && He.call(n, f) && (i[f] = n[f]);
20
21
  return i;
21
22
  };
22
23
  import * as o from "react";
23
- import $, { createContext as _r, useContext as xr, useState as he, useCallback as re, useEffect as jr, useMemo as te } from "react";
24
- import { DragDropContext as Sr, Droppable as Or, Draggable as Mr } from "react-beautiful-dnd";
25
- const Ge = _r({
24
+ import qe, { createContext as xr, useContext as jr, useState as ge, useCallback as q, useEffect as Sr, useMemo as ne, Children as de, cloneElement as Or } from "react";
25
+ import { DragDropContext as Mr, Droppable as Tr, Draggable as Pr } from "react-beautiful-dnd";
26
+ const Je = xr({
26
27
  editing: !1,
27
28
  isDragging: !1
28
- }), ge = () => xr(Ge);
29
- var Le = { exports: {} }, U = {};
29
+ }), Le = () => jr(Je);
30
+ var me = { exports: {} }, z = {};
30
31
  /**
31
32
  * @license React
32
33
  * react-jsx-runtime.production.min.js
@@ -36,25 +37,25 @@ var Le = { exports: {} }, U = {};
36
37
  * This source code is licensed under the MIT license found in the
37
38
  * LICENSE file in the root directory of this source tree.
38
39
  */
39
- var Ue;
40
- function Tr() {
41
- if (Ue)
42
- return U;
43
- Ue = 1;
44
- var n = $, c = Symbol.for("react.element"), i = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, g = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, L = { key: !0, ref: !0, __self: !0, __source: !0 };
45
- function p(m, h, O) {
46
- var y, R = {}, x = null, M = null;
47
- O !== void 0 && (x = "" + O), h.key !== void 0 && (x = "" + h.key), h.ref !== void 0 && (M = h.ref);
48
- for (y in h)
49
- d.call(h, y) && !L.hasOwnProperty(y) && (R[y] = h[y]);
50
- if (m && m.defaultProps)
51
- for (y in h = m.defaultProps, h)
52
- R[y] === void 0 && (R[y] = h[y]);
53
- return { $$typeof: c, type: m, key: x, ref: M, props: R, _owner: g.current };
40
+ var ze;
41
+ function Dr() {
42
+ if (ze)
43
+ return z;
44
+ ze = 1;
45
+ var n = qe, c = Symbol.for("react.element"), i = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
46
+ function C(g, d, R) {
47
+ var y, j = {}, M = null, S = null;
48
+ R !== void 0 && (M = "" + R), d.key !== void 0 && (M = "" + d.key), d.ref !== void 0 && (S = d.ref);
49
+ for (y in d)
50
+ f.call(d, y) && !v.hasOwnProperty(y) && (j[y] = d[y]);
51
+ if (g && g.defaultProps)
52
+ for (y in d = g.defaultProps, d)
53
+ j[y] === void 0 && (j[y] = d[y]);
54
+ return { $$typeof: c, type: g, key: M, ref: S, props: j, _owner: b.current };
54
55
  }
55
- return U.Fragment = i, U.jsx = p, U.jsxs = p, U;
56
+ return z.Fragment = i, z.jsx = C, z.jsxs = C, z;
56
57
  }
57
- var z = {};
58
+ var G = {};
58
59
  /**
59
60
  * @license React
60
61
  * react-jsx-runtime.development.js
@@ -64,87 +65,87 @@ var z = {};
64
65
  * This source code is licensed under the MIT license found in the
65
66
  * LICENSE file in the root directory of this source tree.
66
67
  */
67
- var ze;
68
- function Pr() {
69
- return ze || (ze = 1, process.env.NODE_ENV !== "production" && function() {
70
- var n = $, c = Symbol.for("react.element"), i = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), L = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), m = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), f = Symbol.iterator, P = "@@iterator";
71
- function F(e) {
68
+ var Ge;
69
+ function Wr() {
70
+ return Ge || (Ge = 1, process.env.NODE_ENV !== "production" && function() {
71
+ var n = qe, c = Symbol.for("react.element"), i = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), h = Symbol.iterator, F = "@@iterator";
72
+ function P(e) {
72
73
  if (e === null || typeof e != "object")
73
74
  return null;
74
- var r = f && e[f] || e[P];
75
+ var r = h && e[h] || e[F];
75
76
  return typeof r == "function" ? r : null;
76
77
  }
77
- var j = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
78
- function C(e) {
78
+ var m = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
79
+ function L(e) {
79
80
  {
80
81
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
81
82
  t[a - 1] = arguments[a];
82
- S("error", e, t);
83
+ N("error", e, t);
83
84
  }
84
85
  }
85
- function S(e, r, t) {
86
+ function N(e, r, t) {
86
87
  {
87
- var a = j.ReactDebugCurrentFrame, u = a.getStackAddendum();
88
+ var a = m.ReactDebugCurrentFrame, u = a.getStackAddendum();
88
89
  u !== "" && (r += "%s", t = t.concat([u]));
89
- var v = t.map(function(l) {
90
+ var p = t.map(function(l) {
90
91
  return String(l);
91
92
  });
92
- v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
93
+ p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
93
94
  }
94
95
  }
95
- var N = !1, ne = !1, A = !1, Y = !1, qe = !1, me;
96
- me = Symbol.for("react.module.reference");
97
- function Je(e) {
98
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === L || qe || e === g || e === O || e === y || Y || e === M || N || ne || A || typeof e == "object" && e !== null && (e.$$typeof === x || e.$$typeof === R || e.$$typeof === p || e.$$typeof === m || e.$$typeof === h || e.$$typeof === me || e.getModuleId !== void 0));
96
+ var $ = !1, Y = !1, V = !1, _ = !1, B = !1, Ce;
97
+ Ce = Symbol.for("react.module.reference");
98
+ function Ke(e) {
99
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === v || B || e === b || e === R || e === y || _ || e === S || $ || Y || V || typeof e == "object" && e !== null && (e.$$typeof === M || e.$$typeof === j || e.$$typeof === C || e.$$typeof === g || e.$$typeof === d || e.$$typeof === Ce || e.getModuleId !== void 0));
99
100
  }
100
- function Ke(e, r, t) {
101
+ function Xe(e, r, t) {
101
102
  var a = e.displayName;
102
103
  if (a)
103
104
  return a;
104
105
  var u = r.displayName || r.name || "";
105
106
  return u !== "" ? t + "(" + u + ")" : t;
106
107
  }
107
- function Ce(e) {
108
+ function Ee(e) {
108
109
  return e.displayName || "Context";
109
110
  }
110
111
  function D(e) {
111
112
  if (e == null)
112
113
  return null;
113
- if (typeof e.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
114
+ if (typeof e.tag == "number" && L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
114
115
  return e.displayName || e.name || null;
115
116
  if (typeof e == "string")
116
117
  return e;
117
118
  switch (e) {
118
- case d:
119
+ case f:
119
120
  return "Fragment";
120
121
  case i:
121
122
  return "Portal";
122
- case L:
123
+ case v:
123
124
  return "Profiler";
124
- case g:
125
+ case b:
125
126
  return "StrictMode";
126
- case O:
127
+ case R:
127
128
  return "Suspense";
128
129
  case y:
129
130
  return "SuspenseList";
130
131
  }
131
132
  if (typeof e == "object")
132
133
  switch (e.$$typeof) {
133
- case m:
134
+ case g:
134
135
  var r = e;
135
- return Ce(r) + ".Consumer";
136
- case p:
136
+ return Ee(r) + ".Consumer";
137
+ case C:
137
138
  var t = e;
138
- return Ce(t._context) + ".Provider";
139
- case h:
140
- return Ke(e, e.render, "ForwardRef");
141
- case R:
139
+ return Ee(t._context) + ".Provider";
140
+ case d:
141
+ return Xe(e, e.render, "ForwardRef");
142
+ case j:
142
143
  var a = e.displayName || null;
143
144
  return a !== null ? a : D(e.type) || "Memo";
144
- case x: {
145
- var u = e, v = u._payload, l = u._init;
145
+ case M: {
146
+ var u = e, p = u._payload, l = u._init;
146
147
  try {
147
- return D(l(v));
148
+ return D(l(p));
148
149
  } catch (s) {
149
150
  return null;
150
151
  }
@@ -152,18 +153,18 @@ function Pr() {
152
153
  }
153
154
  return null;
154
155
  }
155
- var V = Object.assign, B = 0, Ee, ke, we, ye, be, Re, _e;
156
- function xe() {
156
+ var A = Object.assign, H = 0, ke, we, ye, be, Re, _e, xe;
157
+ function je() {
157
158
  }
158
- xe.__reactDisabledLog = !0;
159
- function Xe() {
159
+ je.__reactDisabledLog = !0;
160
+ function Qe() {
160
161
  {
161
- if (B === 0) {
162
- Ee = console.log, ke = console.info, we = console.warn, ye = console.error, be = console.group, Re = console.groupCollapsed, _e = console.groupEnd;
162
+ if (H === 0) {
163
+ ke = console.log, we = console.info, ye = console.warn, be = console.error, Re = console.group, _e = console.groupCollapsed, xe = console.groupEnd;
163
164
  var e = {
164
165
  configurable: !0,
165
166
  enumerable: !0,
166
- value: xe,
167
+ value: je,
167
168
  writable: !0
168
169
  };
169
170
  Object.defineProperties(console, {
@@ -176,46 +177,46 @@ function Pr() {
176
177
  groupEnd: e
177
178
  });
178
179
  }
179
- B++;
180
+ H++;
180
181
  }
181
182
  }
182
- function Qe() {
183
+ function er() {
183
184
  {
184
- if (B--, B === 0) {
185
+ if (H--, H === 0) {
185
186
  var e = {
186
187
  configurable: !0,
187
188
  enumerable: !0,
188
189
  writable: !0
189
190
  };
190
191
  Object.defineProperties(console, {
191
- log: V({}, e, {
192
- value: Ee
193
- }),
194
- info: V({}, e, {
192
+ log: A({}, e, {
195
193
  value: ke
196
194
  }),
197
- warn: V({}, e, {
195
+ info: A({}, e, {
198
196
  value: we
199
197
  }),
200
- error: V({}, e, {
198
+ warn: A({}, e, {
201
199
  value: ye
202
200
  }),
203
- group: V({}, e, {
201
+ error: A({}, e, {
204
202
  value: be
205
203
  }),
206
- groupCollapsed: V({}, e, {
204
+ group: A({}, e, {
207
205
  value: Re
208
206
  }),
209
- groupEnd: V({}, e, {
207
+ groupCollapsed: A({}, e, {
210
208
  value: _e
209
+ }),
210
+ groupEnd: A({}, e, {
211
+ value: xe
211
212
  })
212
213
  });
213
214
  }
214
- B < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
215
+ H < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
215
216
  }
216
217
  }
217
- var oe = j.ReactCurrentDispatcher, ae;
218
- function G(e, r, t) {
218
+ var oe = m.ReactCurrentDispatcher, ae;
219
+ function J(e, r, t) {
219
220
  {
220
221
  if (ae === void 0)
221
222
  try {
@@ -228,16 +229,16 @@ function Pr() {
228
229
  ` + ae + e;
229
230
  }
230
231
  }
231
- var ie = !1, q;
232
+ var ie = !1, K;
232
233
  {
233
- var er = typeof WeakMap == "function" ? WeakMap : Map;
234
- q = new er();
234
+ var rr = typeof WeakMap == "function" ? WeakMap : Map;
235
+ K = new rr();
235
236
  }
236
- function je(e, r) {
237
+ function Se(e, r) {
237
238
  if (!e || ie)
238
239
  return "";
239
240
  {
240
- var t = q.get(e);
241
+ var t = K.get(e);
241
242
  if (t !== void 0)
242
243
  return t;
243
244
  }
@@ -245,8 +246,8 @@ function Pr() {
245
246
  ie = !0;
246
247
  var u = Error.prepareStackTrace;
247
248
  Error.prepareStackTrace = void 0;
248
- var v;
249
- v = oe.current, oe.current = null, Xe();
249
+ var p;
250
+ p = oe.current, oe.current = null, Qe();
250
251
  try {
251
252
  if (r) {
252
253
  var l = function() {
@@ -282,148 +283,148 @@ function Pr() {
282
283
  } catch (W) {
283
284
  if (W && a && typeof W.stack == "string") {
284
285
  for (var s = W.stack.split(`
285
- `), _ = a.stack.split(`
286
- `), E = s.length - 1, w = _.length - 1; E >= 1 && w >= 0 && s[E] !== _[w]; )
286
+ `), O = a.stack.split(`
287
+ `), E = s.length - 1, w = O.length - 1; E >= 1 && w >= 0 && s[E] !== O[w]; )
287
288
  w--;
288
289
  for (; E >= 1 && w >= 0; E--, w--)
289
- if (s[E] !== _[w]) {
290
+ if (s[E] !== O[w]) {
290
291
  if (E !== 1 || w !== 1)
291
292
  do
292
- if (E--, w--, w < 0 || s[E] !== _[w]) {
293
+ if (E--, w--, w < 0 || s[E] !== O[w]) {
293
294
  var T = `
294
295
  ` + s[E].replace(" at new ", " at ");
295
- return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, T), T;
296
+ return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, T), T;
296
297
  }
297
298
  while (E >= 1 && w >= 0);
298
299
  break;
299
300
  }
300
301
  }
301
302
  } finally {
302
- ie = !1, oe.current = v, Qe(), Error.prepareStackTrace = u;
303
+ ie = !1, oe.current = p, er(), Error.prepareStackTrace = u;
303
304
  }
304
- var Z = e ? e.displayName || e.name : "", $e = Z ? G(Z) : "";
305
- return typeof e == "function" && q.set(e, $e), $e;
305
+ var Z = e ? e.displayName || e.name : "", $e = Z ? J(Z) : "";
306
+ return typeof e == "function" && K.set(e, $e), $e;
306
307
  }
307
- function rr(e, r, t) {
308
- return je(e, !1);
308
+ function tr(e, r, t) {
309
+ return Se(e, !1);
309
310
  }
310
- function tr(e) {
311
+ function nr(e) {
311
312
  var r = e.prototype;
312
313
  return !!(r && r.isReactComponent);
313
314
  }
314
- function J(e, r, t) {
315
+ function X(e, r, t) {
315
316
  if (e == null)
316
317
  return "";
317
318
  if (typeof e == "function")
318
- return je(e, tr(e));
319
+ return Se(e, nr(e));
319
320
  if (typeof e == "string")
320
- return G(e);
321
+ return J(e);
321
322
  switch (e) {
322
- case O:
323
- return G("Suspense");
323
+ case R:
324
+ return J("Suspense");
324
325
  case y:
325
- return G("SuspenseList");
326
+ return J("SuspenseList");
326
327
  }
327
328
  if (typeof e == "object")
328
329
  switch (e.$$typeof) {
329
- case h:
330
- return rr(e.render);
331
- case R:
332
- return J(e.type, r, t);
333
- case x: {
334
- var a = e, u = a._payload, v = a._init;
330
+ case d:
331
+ return tr(e.render);
332
+ case j:
333
+ return X(e.type, r, t);
334
+ case M: {
335
+ var a = e, u = a._payload, p = a._init;
335
336
  try {
336
- return J(v(u), r, t);
337
+ return X(p(u), r, t);
337
338
  } catch (l) {
338
339
  }
339
340
  }
340
341
  }
341
342
  return "";
342
343
  }
343
- var K = Object.prototype.hasOwnProperty, Se = {}, Oe = j.ReactDebugCurrentFrame;
344
- function X(e) {
344
+ var Q = Object.prototype.hasOwnProperty, Oe = {}, Me = m.ReactDebugCurrentFrame;
345
+ function ee(e) {
345
346
  if (e) {
346
- var r = e._owner, t = J(e.type, e._source, r ? r.type : null);
347
- Oe.setExtraStackFrame(t);
347
+ var r = e._owner, t = X(e.type, e._source, r ? r.type : null);
348
+ Me.setExtraStackFrame(t);
348
349
  } else
349
- Oe.setExtraStackFrame(null);
350
+ Me.setExtraStackFrame(null);
350
351
  }
351
- function nr(e, r, t, a, u) {
352
+ function or(e, r, t, a, u) {
352
353
  {
353
- var v = Function.call.bind(K);
354
+ var p = Function.call.bind(Q);
354
355
  for (var l in e)
355
- if (v(e, l)) {
356
+ if (p(e, l)) {
356
357
  var s = void 0;
357
358
  try {
358
359
  if (typeof e[l] != "function") {
359
- var _ = Error((a || "React class") + ": " + t + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
360
- throw _.name = "Invariant Violation", _;
360
+ var O = Error((a || "React class") + ": " + t + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
361
+ throw O.name = "Invariant Violation", O;
361
362
  }
362
363
  s = e[l](r, l, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
363
364
  } catch (E) {
364
365
  s = E;
365
366
  }
366
- s && !(s instanceof Error) && (X(u), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", t, l, typeof s), X(null)), s instanceof Error && !(s.message in Se) && (Se[s.message] = !0, X(u), C("Failed %s type: %s", t, s.message), X(null));
367
+ s && !(s instanceof Error) && (ee(u), L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", t, l, typeof s), ee(null)), s instanceof Error && !(s.message in Oe) && (Oe[s.message] = !0, ee(u), L("Failed %s type: %s", t, s.message), ee(null));
367
368
  }
368
369
  }
369
370
  }
370
- var or = Array.isArray;
371
+ var ar = Array.isArray;
371
372
  function se(e) {
372
- return or(e);
373
+ return ar(e);
373
374
  }
374
- function ar(e) {
375
+ function ir(e) {
375
376
  {
376
377
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
377
378
  return t;
378
379
  }
379
380
  }
380
- function ir(e) {
381
+ function sr(e) {
381
382
  try {
382
- return Me(e), !1;
383
+ return Te(e), !1;
383
384
  } catch (r) {
384
385
  return !0;
385
386
  }
386
387
  }
387
- function Me(e) {
388
+ function Te(e) {
388
389
  return "" + e;
389
390
  }
390
- function Te(e) {
391
- if (ir(e))
392
- return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ar(e)), Me(e);
391
+ function Pe(e) {
392
+ if (sr(e))
393
+ return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ir(e)), Te(e);
393
394
  }
394
- var H = j.ReactCurrentOwner, sr = {
395
+ var U = m.ReactCurrentOwner, lr = {
395
396
  key: !0,
396
397
  ref: !0,
397
398
  __self: !0,
398
399
  __source: !0
399
- }, Pe, De, le;
400
+ }, De, We, le;
400
401
  le = {};
401
- function lr(e) {
402
- if (K.call(e, "ref")) {
402
+ function cr(e) {
403
+ if (Q.call(e, "ref")) {
403
404
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
404
405
  if (r && r.isReactWarning)
405
406
  return !1;
406
407
  }
407
408
  return e.ref !== void 0;
408
409
  }
409
- function cr(e) {
410
- if (K.call(e, "key")) {
410
+ function ur(e) {
411
+ if (Q.call(e, "key")) {
411
412
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
412
413
  if (r && r.isReactWarning)
413
414
  return !1;
414
415
  }
415
416
  return e.key !== void 0;
416
417
  }
417
- function ur(e, r) {
418
- if (typeof e.ref == "string" && H.current && r && H.current.stateNode !== r) {
419
- var t = D(H.current.type);
420
- le[t] || (C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(H.current.type), e.ref), le[t] = !0);
418
+ function fr(e, r) {
419
+ if (typeof e.ref == "string" && U.current && r && U.current.stateNode !== r) {
420
+ var t = D(U.current.type);
421
+ le[t] || (L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(U.current.type), e.ref), le[t] = !0);
421
422
  }
422
423
  }
423
- function fr(e, r) {
424
+ function dr(e, r) {
424
425
  {
425
426
  var t = function() {
426
- Pe || (Pe = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
427
+ De || (De = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
427
428
  };
428
429
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
429
430
  get: t,
@@ -431,10 +432,10 @@ function Pr() {
431
432
  });
432
433
  }
433
434
  }
434
- function dr(e, r) {
435
+ function pr(e, r) {
435
436
  {
436
437
  var t = function() {
437
- De || (De = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
438
+ We || (We = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
438
439
  };
439
440
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
440
441
  get: t,
@@ -442,14 +443,14 @@ function Pr() {
442
443
  });
443
444
  }
444
445
  }
445
- var pr = function(e, r, t, a, u, v, l) {
446
+ var vr = function(e, r, t, a, u, p, l) {
446
447
  var s = {
447
448
  $$typeof: c,
448
449
  type: e,
449
450
  key: r,
450
451
  ref: t,
451
452
  props: l,
452
- _owner: v
453
+ _owner: p
453
454
  };
454
455
  return s._store = {}, Object.defineProperty(s._store, "validated", {
455
456
  configurable: !1,
@@ -468,38 +469,38 @@ function Pr() {
468
469
  value: u
469
470
  }), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
470
471
  };
471
- function vr(e, r, t, a, u) {
472
+ function hr(e, r, t, a, u) {
472
473
  {
473
- var v, l = {}, s = null, _ = null;
474
- t !== void 0 && (Te(t), s = "" + t), cr(r) && (Te(r.key), s = "" + r.key), lr(r) && (_ = r.ref, ur(r, u));
475
- for (v in r)
476
- K.call(r, v) && !sr.hasOwnProperty(v) && (l[v] = r[v]);
474
+ var p, l = {}, s = null, O = null;
475
+ t !== void 0 && (Pe(t), s = "" + t), ur(r) && (Pe(r.key), s = "" + r.key), cr(r) && (O = r.ref, fr(r, u));
476
+ for (p in r)
477
+ Q.call(r, p) && !lr.hasOwnProperty(p) && (l[p] = r[p]);
477
478
  if (e && e.defaultProps) {
478
479
  var E = e.defaultProps;
479
- for (v in E)
480
- l[v] === void 0 && (l[v] = E[v]);
480
+ for (p in E)
481
+ l[p] === void 0 && (l[p] = E[p]);
481
482
  }
482
- if (s || _) {
483
+ if (s || O) {
483
484
  var w = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
484
- s && fr(l, w), _ && dr(l, w);
485
+ s && dr(l, w), O && pr(l, w);
485
486
  }
486
- return pr(e, s, _, u, a, H.current, l);
487
+ return vr(e, s, O, u, a, U.current, l);
487
488
  }
488
489
  }
489
- var ce = j.ReactCurrentOwner, We = j.ReactDebugCurrentFrame;
490
+ var ce = m.ReactCurrentOwner, Fe = m.ReactDebugCurrentFrame;
490
491
  function I(e) {
491
492
  if (e) {
492
- var r = e._owner, t = J(e.type, e._source, r ? r.type : null);
493
- We.setExtraStackFrame(t);
493
+ var r = e._owner, t = X(e.type, e._source, r ? r.type : null);
494
+ Fe.setExtraStackFrame(t);
494
495
  } else
495
- We.setExtraStackFrame(null);
496
+ Fe.setExtraStackFrame(null);
496
497
  }
497
498
  var ue;
498
499
  ue = !1;
499
500
  function fe(e) {
500
501
  return typeof e == "object" && e !== null && e.$$typeof === c;
501
502
  }
502
- function Fe() {
503
+ function Ve() {
503
504
  {
504
505
  if (ce.current) {
505
506
  var e = D(ce.current.type);
@@ -511,7 +512,7 @@ Check the render method of \`` + e + "`.";
511
512
  return "";
512
513
  }
513
514
  }
514
- function hr(e) {
515
+ function gr(e) {
515
516
  {
516
517
  if (e !== void 0) {
517
518
  var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
@@ -522,10 +523,10 @@ Check your code at ` + r + ":" + t + ".";
522
523
  return "";
523
524
  }
524
525
  }
525
- var Ve = {};
526
- function gr(e) {
526
+ var Ae = {};
527
+ function Lr(e) {
527
528
  {
528
- var r = Fe();
529
+ var r = Ve();
529
530
  if (!r) {
530
531
  var t = typeof e == "string" ? e : e.displayName || e.name;
531
532
  t && (r = `
@@ -535,39 +536,39 @@ Check the top-level render call using <` + t + ">.");
535
536
  return r;
536
537
  }
537
538
  }
538
- function Ae(e, r) {
539
+ function Ie(e, r) {
539
540
  {
540
541
  if (!e._store || e._store.validated || e.key != null)
541
542
  return;
542
543
  e._store.validated = !0;
543
- var t = gr(r);
544
- if (Ve[t])
544
+ var t = Lr(r);
545
+ if (Ae[t])
545
546
  return;
546
- Ve[t] = !0;
547
+ Ae[t] = !0;
547
548
  var a = "";
548
- e && e._owner && e._owner !== ce.current && (a = " It was passed a child from " + D(e._owner.type) + "."), I(e), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), I(null);
549
+ e && e._owner && e._owner !== ce.current && (a = " It was passed a child from " + D(e._owner.type) + "."), I(e), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), I(null);
549
550
  }
550
551
  }
551
- function Ie(e, r) {
552
+ function Ze(e, r) {
552
553
  {
553
554
  if (typeof e != "object")
554
555
  return;
555
556
  if (se(e))
556
557
  for (var t = 0; t < e.length; t++) {
557
558
  var a = e[t];
558
- fe(a) && Ae(a, r);
559
+ fe(a) && Ie(a, r);
559
560
  }
560
561
  else if (fe(e))
561
562
  e._store && (e._store.validated = !0);
562
563
  else if (e) {
563
- var u = F(e);
564
+ var u = P(e);
564
565
  if (typeof u == "function" && u !== e.entries)
565
- for (var v = u.call(e), l; !(l = v.next()).done; )
566
- fe(l.value) && Ae(l.value, r);
566
+ for (var p = u.call(e), l; !(l = p.next()).done; )
567
+ fe(l.value) && Ie(l.value, r);
567
568
  }
568
569
  }
569
570
  }
570
- function Lr(e) {
571
+ function mr(e) {
571
572
  {
572
573
  var r = e.type;
573
574
  if (r == null || typeof r == "string")
@@ -575,45 +576,45 @@ Check the top-level render call using <` + t + ">.");
575
576
  var t;
576
577
  if (typeof r == "function")
577
578
  t = r.propTypes;
578
- else if (typeof r == "object" && (r.$$typeof === h || r.$$typeof === R))
579
+ else if (typeof r == "object" && (r.$$typeof === d || r.$$typeof === j))
579
580
  t = r.propTypes;
580
581
  else
581
582
  return;
582
583
  if (t) {
583
584
  var a = D(r);
584
- nr(t, e.props, "prop", a, e);
585
+ or(t, e.props, "prop", a, e);
585
586
  } else if (r.PropTypes !== void 0 && !ue) {
586
587
  ue = !0;
587
588
  var u = D(r);
588
- C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
589
+ L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", u || "Unknown");
589
590
  }
590
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
591
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
591
592
  }
592
593
  }
593
- function mr(e) {
594
+ function Cr(e) {
594
595
  {
595
596
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
596
597
  var a = r[t];
597
598
  if (a !== "children" && a !== "key") {
598
- I(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), I(null);
599
+ I(e), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), I(null);
599
600
  break;
600
601
  }
601
602
  }
602
- e.ref !== null && (I(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), I(null));
603
+ e.ref !== null && (I(e), L("Invalid attribute `ref` supplied to `React.Fragment`."), I(null));
603
604
  }
604
605
  }
605
- function Ze(e, r, t, a, u, v) {
606
+ function Ne(e, r, t, a, u, p) {
606
607
  {
607
- var l = Je(e);
608
+ var l = Ke(e);
608
609
  if (!l) {
609
610
  var s = "";
610
611
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
611
- var _ = hr(u);
612
- _ ? s += _ : s += Fe();
612
+ var O = gr(u);
613
+ O ? s += O : s += Ve();
613
614
  var E;
614
- e === null ? E = "null" : se(e) ? E = "array" : e !== void 0 && e.$$typeof === c ? (E = "<" + (D(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, s);
615
+ e === null ? E = "null" : se(e) ? E = "array" : e !== void 0 && e.$$typeof === c ? (E = "<" + (D(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, s);
615
616
  }
616
- var w = vr(e, r, t, u, v);
617
+ var w = hr(e, r, t, u, p);
617
618
  if (w == null)
618
619
  return w;
619
620
  if (l) {
@@ -622,86 +623,194 @@ Check the top-level render call using <` + t + ">.");
622
623
  if (a)
623
624
  if (se(T)) {
624
625
  for (var Z = 0; Z < T.length; Z++)
625
- Ie(T[Z], e);
626
+ Ze(T[Z], e);
626
627
  Object.freeze && Object.freeze(T);
627
628
  } else
628
- C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
629
+ L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
629
630
  else
630
- Ie(T, e);
631
+ Ze(T, e);
631
632
  }
632
- return e === d ? mr(w) : Lr(w), w;
633
+ return e === f ? Cr(w) : mr(w), w;
633
634
  }
634
635
  }
635
- function Cr(e, r, t) {
636
- return Ze(e, r, t, !0);
637
- }
638
636
  function Er(e, r, t) {
639
- return Ze(e, r, t, !1);
637
+ return Ne(e, r, t, !0);
640
638
  }
641
- var kr = Er, wr = Cr;
642
- z.Fragment = d, z.jsx = kr, z.jsxs = wr;
643
- }()), z;
639
+ function kr(e, r, t) {
640
+ return Ne(e, r, t, !1);
641
+ }
642
+ var wr = kr, yr = Er;
643
+ G.Fragment = f, G.jsx = wr, G.jsxs = yr;
644
+ }()), G;
644
645
  }
645
646
  (function(n) {
646
- process.env.NODE_ENV === "production" ? n.exports = Tr() : n.exports = Pr();
647
- })(Le);
648
- const b = Le.exports.jsx, pe = Le.exports.jsxs, qr = ({
647
+ process.env.NODE_ENV === "production" ? n.exports = Dr() : n.exports = Wr();
648
+ })(me);
649
+ const x = me.exports.jsx, ve = me.exports.jsxs, Kr = ({
649
650
  className: n,
650
651
  children: c,
651
652
  editing: i,
652
- vertical: d,
653
- stretch: g,
654
- style: L,
655
- editorStyle: p,
656
- onMove: m,
657
- onAlignChange: h,
658
- onExtend: O
653
+ vertical: f,
654
+ stretch: b,
655
+ style: v,
656
+ editorStyle: C,
657
+ onMove: g,
658
+ onAlignChange: d,
659
+ onExtend: R
659
660
  }) => {
660
- const [y, R] = he(!1), x = re(() => {
661
- R(!0);
662
- }, []), M = re((f, P) => {
663
- R(!1), !(!f.destination || f.reason !== "DROP" || f.destination.droppableId === f.source.droppableId && f.destination.index === f.source.index) && (m == null || m(f.draggableId, f.destination.droppableId, f.destination.index, f.source.droppableId, f.source.index));
664
- }, [m]);
665
- return /* @__PURE__ */ b("div", {
666
- className: `wrapper ${n} ${d && "vertical"} ${g && "stretch"}`,
667
- style: i ? p : L,
668
- children: /* @__PURE__ */ b(Sr, {
669
- onDragStart: x,
670
- onDragEnd: M,
671
- children: /* @__PURE__ */ b(Ge.Provider, {
661
+ const [y, j] = ge(!1), M = q(() => {
662
+ j(!0);
663
+ }, []), S = q((h, F) => {
664
+ j(!1), !(!h.destination || h.reason !== "DROP" || h.destination.droppableId === h.source.droppableId && h.destination.index === h.source.index) && (g == null || g(h.draggableId, h.destination.droppableId, h.destination.index, h.source.droppableId, h.source.index));
665
+ }, [g]);
666
+ return /* @__PURE__ */ x("div", {
667
+ className: ["reactalign", "wrapper", n, f && "vertical", b && "stretch"].filter(Boolean).join(" "),
668
+ style: i ? C : v,
669
+ children: /* @__PURE__ */ x(Mr, {
670
+ onDragStart: M,
671
+ onDragEnd: S,
672
+ children: /* @__PURE__ */ x(Je.Provider, {
672
673
  value: {
673
674
  editing: !!i,
674
- onAlignChange: h,
675
- onExtend: O,
675
+ onAlignChange: d,
676
+ onExtend: R,
676
677
  isDragging: y
677
678
  },
678
679
  children: c
679
680
  })
680
681
  })
681
682
  });
682
- }, Jr = ({
683
+ }, Xr = ({
683
684
  className: n,
684
685
  children: c,
685
686
  horizontal: i,
686
- stretch: d,
687
- fixedWidth: g,
688
- fixedHeight: L,
689
- style: p,
690
- editorStyle: m
687
+ stretch: f,
688
+ fixedWidth: b,
689
+ fixedHeight: v,
690
+ style: C,
691
+ editorStyle: g
691
692
  }) => {
692
693
  const {
693
- editing: h
694
- } = ge();
695
- return /* @__PURE__ */ b("div", {
696
- className: `section ${n} ${i ? "horizontal" : ""} ${d ? "stretch" : ""}`,
697
- style: k(k(k({}, h ? m : p), typeof L == "number" ? {
698
- height: L + "px"
699
- } : {}), typeof g == "number" ? {
700
- width: g + "px"
694
+ editing: d
695
+ } = Le();
696
+ return /* @__PURE__ */ x("div", {
697
+ className: `section ${n} ${i ? "horizontal" : ""} ${f ? "stretch" : ""}`,
698
+ style: k(k(k({}, d ? g : C), typeof v == "number" ? {
699
+ height: v + "px"
700
+ } : {}), typeof b == "number" ? {
701
+ width: b + "px"
701
702
  } : {}),
702
703
  children: c
703
704
  });
704
- }, Dr = (n) => /* @__PURE__ */ o.createElement("svg", k({
705
+ }, Fr = (n) => /* @__PURE__ */ o.createElement("svg", k({
706
+ width: 24,
707
+ height: 24,
708
+ viewBox: "0 0 24 24",
709
+ fill: "none",
710
+ xmlns: "http://www.w3.org/2000/svg"
711
+ }, n), /* @__PURE__ */ o.createElement("rect", {
712
+ width: 24,
713
+ height: 24,
714
+ rx: 4,
715
+ fill: "black",
716
+ fillOpacity: 0.5
717
+ }), /* @__PURE__ */ o.createElement("path", {
718
+ fillRule: "evenodd",
719
+ clipRule: "evenodd",
720
+ d: "M19 19L5 19L5 5L19 5L19 19ZM20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20ZM16 14C16 14.5523 15.5523 15 15 15C14.4477 15 14 14.5523 14 14L14 10C14 9.44772 14.4477 9 15 9C15.5523 9 16 9.44771 16 10L16 14ZM13 14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14L11 10C11 9.44771 11.4477 9 12 9C12.5523 9 13 9.44771 13 10L13 14ZM9 15C9.55228 15 10 14.5523 10 14L10 10C10 9.44771 9.55228 9 9 9C8.44771 9 8 9.44771 8 10L8 14C8 14.5523 8.44772 15 9 15Z",
721
+ fill: "currentColor"
722
+ })), Vr = (n) => /* @__PURE__ */ o.createElement("svg", k({
723
+ width: 24,
724
+ height: 24,
725
+ viewBox: "0 0 24 24",
726
+ fill: "none",
727
+ xmlns: "http://www.w3.org/2000/svg"
728
+ }, n), /* @__PURE__ */ o.createElement("rect", {
729
+ y: 24,
730
+ width: 24,
731
+ height: 24,
732
+ rx: 4,
733
+ transform: "rotate(-90 0 24)",
734
+ fill: "black",
735
+ fillOpacity: 0.5
736
+ }), /* @__PURE__ */ o.createElement("path", {
737
+ fillRule: "evenodd",
738
+ clipRule: "evenodd",
739
+ d: "M19 5L19 19L5 19L5 5L19 5ZM20 4L20 5L20 19L20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4ZM14 8C14.5523 8 15 8.44772 15 9C15 9.55228 14.5523 10 14 10L10 10C9.44772 10 9 9.55229 9 9C9 8.44772 9.44771 8 10 8L14 8ZM14 11C14.5523 11 15 11.4477 15 12C15 12.5523 14.5523 13 14 13L10 13C9.44772 13 9 12.5523 9 12C9 11.4477 9.44771 11 10 11L14 11ZM15 15C15 14.4477 14.5523 14 14 14L10 14C9.44772 14 9 14.4477 9 15C9 15.5523 9.44772 16 10 16L14 16C14.5523 16 15 15.5523 15 15Z",
740
+ fill: "currentColor"
741
+ })), Ar = (n) => /* @__PURE__ */ o.createElement("svg", k({
742
+ width: 24,
743
+ height: 24,
744
+ viewBox: "0 0 24 24",
745
+ fill: "none",
746
+ xmlns: "http://www.w3.org/2000/svg"
747
+ }, n), /* @__PURE__ */ o.createElement("rect", {
748
+ width: 24,
749
+ height: 24,
750
+ rx: 4,
751
+ fill: "black",
752
+ fillOpacity: 0.5
753
+ }), /* @__PURE__ */ o.createElement("path", {
754
+ fillRule: "evenodd",
755
+ clipRule: "evenodd",
756
+ d: "M19 19L5 19L5 5L19 5L19 19ZM20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20ZM18 14C18 14.5523 17.5523 15 17 15C16.4477 15 16 14.5523 16 14L16 10C16 9.44772 16.4477 9 17 9C17.5523 9 18 9.44771 18 10L18 14ZM15 14C15 14.5523 14.5523 15 14 15C13.4477 15 13 14.5523 13 14L13 10C13 9.44772 13.4477 9 14 9C14.5523 9 15 9.44772 15 10L15 14ZM11 15C11.5523 15 12 14.5523 12 14L12 10C12 9.44772 11.5523 9 11 9C10.4477 9 10 9.44772 10 10L10 14C10 14.5523 10.4477 15 11 15Z",
757
+ fill: "currentColor"
758
+ })), Ir = (n) => /* @__PURE__ */ o.createElement("svg", k({
759
+ width: 24,
760
+ height: 24,
761
+ viewBox: "0 0 24 24",
762
+ fill: "none",
763
+ xmlns: "http://www.w3.org/2000/svg"
764
+ }, n), /* @__PURE__ */ o.createElement("rect", {
765
+ y: 24,
766
+ width: 24,
767
+ height: 24,
768
+ rx: 4,
769
+ transform: "rotate(-90 0 24)",
770
+ fill: "black",
771
+ fillOpacity: 0.5
772
+ }), /* @__PURE__ */ o.createElement("path", {
773
+ fillRule: "evenodd",
774
+ clipRule: "evenodd",
775
+ d: "M5 19L5 5L19 5L19 19L5 19ZM4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20L19 20L5 20L4 20ZM10 18C9.44772 18 9 17.5523 9 17C9 16.4477 9.44772 16 10 16L14 16C14.5523 16 15 16.4477 15 17C15 17.5523 14.5523 18 14 18L10 18ZM10 15C9.44772 15 9 14.5523 9 14C9 13.4477 9.44771 13 10 13L14 13C14.5523 13 15 13.4477 15 14C15 14.5523 14.5523 15 14 15L10 15ZM9 11C9 11.5523 9.44771 12 10 12L14 12C14.5523 12 15 11.5523 15 11C15 10.4477 14.5523 10 14 10L10 10C9.44771 10 9 10.4477 9 11Z",
776
+ fill: "currentColor"
777
+ })), Zr = (n) => /* @__PURE__ */ o.createElement("svg", k({
778
+ width: 24,
779
+ height: 24,
780
+ viewBox: "0 0 24 24",
781
+ fill: "none",
782
+ xmlns: "http://www.w3.org/2000/svg"
783
+ }, n), /* @__PURE__ */ o.createElement("rect", {
784
+ width: 24,
785
+ height: 24,
786
+ rx: 4,
787
+ fill: "black",
788
+ fillOpacity: 0.5
789
+ }), /* @__PURE__ */ o.createElement("path", {
790
+ fillRule: "evenodd",
791
+ clipRule: "evenodd",
792
+ d: "M5 5H19V19H5V5ZM4 4H5H19H20V5V19V20H19H5H4V19V5V4ZM6 10C6 9.44772 6.44772 9 7 9C7.55228 9 8 9.44772 8 10V14C8 14.5523 7.55228 15 7 15C6.44772 15 6 14.5523 6 14V10ZM9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10V14C11 14.5523 10.5523 15 10 15C9.44772 15 9 14.5523 9 14V10ZM13 9C12.4477 9 12 9.44772 12 10V14C12 14.5523 12.4477 15 13 15C13.5523 15 14 14.5523 14 14V10C14 9.44772 13.5523 9 13 9Z",
793
+ fill: "currentColor"
794
+ })), Nr = (n) => /* @__PURE__ */ o.createElement("svg", k({
795
+ width: 24,
796
+ height: 24,
797
+ viewBox: "0 0 24 24",
798
+ fill: "none",
799
+ xmlns: "http://www.w3.org/2000/svg"
800
+ }, n), /* @__PURE__ */ o.createElement("rect", {
801
+ y: 24,
802
+ width: 24,
803
+ height: 24,
804
+ rx: 4,
805
+ transform: "rotate(-90 0 24)",
806
+ fill: "black",
807
+ fillOpacity: 0.5
808
+ }), /* @__PURE__ */ o.createElement("path", {
809
+ fillRule: "evenodd",
810
+ clipRule: "evenodd",
811
+ d: "M19 5L19 19L5 19L5 5L19 5ZM20 4L20 5L20 19L20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4ZM14 6C14.5523 6 15 6.44772 15 7C15 7.55229 14.5523 8 14 8L10 8C9.44772 8 9 7.55229 9 7C9 6.44772 9.44772 6 10 6L14 6ZM14 9C14.5523 9 15 9.44772 15 10C15 10.5523 14.5523 11 14 11L10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9L14 9ZM15 13C15 12.4477 14.5523 12 14 12L10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14L14 14C14.5523 14 15 13.5523 15 13Z",
812
+ fill: "currentColor"
813
+ })), $r = (n) => /* @__PURE__ */ o.createElement("svg", k({
705
814
  width: 24,
706
815
  height: 24,
707
816
  viewBox: "0 0 24 24",
@@ -743,7 +852,7 @@ const b = Le.exports.jsx, pe = Le.exports.jsxs, qr = ({
743
852
  strokeWidth: 1.5,
744
853
  strokeLinecap: "round",
745
854
  strokeLinejoin: "round"
746
- })), Wr = (n) => /* @__PURE__ */ o.createElement("svg", k({
855
+ })), Yr = (n) => /* @__PURE__ */ o.createElement("svg", k({
747
856
  width: 24,
748
857
  height: 24,
749
858
  viewBox: "0 0 24 24",
@@ -781,355 +890,255 @@ const b = Le.exports.jsx, pe = Le.exports.jsxs, qr = ({
781
890
  rx: 1.25,
782
891
  stroke: "currentColor",
783
892
  strokeWidth: 1.5
784
- })), Fr = (n) => /* @__PURE__ */ o.createElement("svg", k({
893
+ })), Br = (n) => /* @__PURE__ */ o.createElement("svg", k({
785
894
  width: 24,
786
895
  height: 24,
787
896
  viewBox: "0 0 24 24",
788
897
  fill: "none",
789
898
  xmlns: "http://www.w3.org/2000/svg"
790
899
  }, n), /* @__PURE__ */ o.createElement("path", {
791
- d: "M3.75 0.999999L20.25 1",
792
- stroke: "currentColor",
793
- strokeWidth: 1.5,
794
- strokeLinecap: "round",
795
- strokeLinejoin: "round"
796
- }), /* @__PURE__ */ o.createElement("path", {
797
- d: "M3.75 23L20.25 23",
900
+ d: "M14.6514 19.0977L11.9998 21.7493L9.34814 19.0977",
798
901
  stroke: "currentColor",
799
902
  strokeWidth: 1.5,
800
903
  strokeLinecap: "round",
801
904
  strokeLinejoin: "round"
802
905
  }), /* @__PURE__ */ o.createElement("path", {
803
- d: "M12 12L12 20.5",
906
+ d: "M12 15V21.75",
804
907
  stroke: "currentColor",
805
908
  strokeWidth: 1.5,
806
909
  strokeLinecap: "round",
807
910
  strokeLinejoin: "round"
808
911
  }), /* @__PURE__ */ o.createElement("path", {
809
- d: "M15 17.5L12 20.5L9 17.5",
912
+ d: "M9.34814 4.90163L11.9998 2.25L14.6514 4.90163",
810
913
  stroke: "currentColor",
811
914
  strokeWidth: 1.5,
812
915
  strokeLinecap: "round",
813
916
  strokeLinejoin: "round"
814
917
  }), /* @__PURE__ */ o.createElement("path", {
815
- d: "M12 12L12 4",
918
+ d: "M12 9V2.25",
816
919
  stroke: "currentColor",
817
920
  strokeWidth: 1.5,
818
921
  strokeLinecap: "round",
819
922
  strokeLinejoin: "round"
820
923
  }), /* @__PURE__ */ o.createElement("path", {
821
- d: "M9 7L12 4L15 7",
822
- stroke: "currentColor",
823
- strokeWidth: 1.5,
824
- strokeLinecap: "round",
825
- strokeLinejoin: "round"
826
- })), Vr = (n) => /* @__PURE__ */ o.createElement("svg", k({
827
- width: 24,
828
- height: 24,
829
- viewBox: "0 0 24 24",
830
- fill: "none",
831
- xmlns: "http://www.w3.org/2000/svg"
832
- }, n), /* @__PURE__ */ o.createElement("path", {
833
- d: "M12 1L12 6",
924
+ d: "M4.90163 14.6509L2.25 11.9993L4.90163 9.34766",
834
925
  stroke: "currentColor",
835
926
  strokeWidth: 1.5,
836
927
  strokeLinecap: "round",
837
928
  strokeLinejoin: "round"
838
929
  }), /* @__PURE__ */ o.createElement("path", {
839
- d: "M15 3L12 6L9 3",
930
+ d: "M9 12H2.25",
840
931
  stroke: "currentColor",
841
932
  strokeWidth: 1.5,
842
933
  strokeLinecap: "round",
843
934
  strokeLinejoin: "round"
844
935
  }), /* @__PURE__ */ o.createElement("path", {
845
- d: "M12 23L12 18",
936
+ d: "M19.0981 9.34766L21.7498 11.9993L19.0981 14.6509",
846
937
  stroke: "currentColor",
847
938
  strokeWidth: 1.5,
848
939
  strokeLinecap: "round",
849
940
  strokeLinejoin: "round"
850
941
  }), /* @__PURE__ */ o.createElement("path", {
851
- d: "M9 21L12 18L15 21",
942
+ d: "M15 12H21.75",
852
943
  stroke: "currentColor",
853
944
  strokeWidth: 1.5,
854
945
  strokeLinecap: "round",
855
946
  strokeLinejoin: "round"
856
- }), /* @__PURE__ */ o.createElement("rect", {
857
- x: 21.25,
858
- y: 8.75,
859
- width: 6.5,
860
- height: 18.5,
861
- rx: 1.25,
862
- transform: "rotate(90 21.25 8.75)",
863
- stroke: "currentColor",
864
- strokeWidth: 1.5
865
- })), Ar = (n) => /* @__PURE__ */ o.createElement("svg", k({
947
+ })), Hr = (n) => /* @__PURE__ */ o.createElement("svg", k({
866
948
  width: 24,
867
949
  height: 24,
868
950
  viewBox: "0 0 24 24",
869
951
  fill: "none",
870
952
  xmlns: "http://www.w3.org/2000/svg"
871
953
  }, n), /* @__PURE__ */ o.createElement("path", {
872
- d: "M14.6514 19.0977L11.9998 21.7493L9.34814 19.0977",
954
+ d: "M3.75 0.999999L20.25 1",
873
955
  stroke: "currentColor",
874
956
  strokeWidth: 1.5,
875
957
  strokeLinecap: "round",
876
958
  strokeLinejoin: "round"
877
959
  }), /* @__PURE__ */ o.createElement("path", {
878
- d: "M12 15V21.75",
960
+ d: "M3.75 23L20.25 23",
879
961
  stroke: "currentColor",
880
962
  strokeWidth: 1.5,
881
963
  strokeLinecap: "round",
882
964
  strokeLinejoin: "round"
883
965
  }), /* @__PURE__ */ o.createElement("path", {
884
- d: "M9.34814 4.90163L11.9998 2.25L14.6514 4.90163",
966
+ d: "M12 12L12 20.5",
885
967
  stroke: "currentColor",
886
968
  strokeWidth: 1.5,
887
969
  strokeLinecap: "round",
888
970
  strokeLinejoin: "round"
889
971
  }), /* @__PURE__ */ o.createElement("path", {
890
- d: "M12 9V2.25",
972
+ d: "M15 17.5L12 20.5L9 17.5",
891
973
  stroke: "currentColor",
892
974
  strokeWidth: 1.5,
893
975
  strokeLinecap: "round",
894
976
  strokeLinejoin: "round"
895
977
  }), /* @__PURE__ */ o.createElement("path", {
896
- d: "M4.90163 14.6509L2.25 11.9993L4.90163 9.34766",
978
+ d: "M12 12L12 4",
897
979
  stroke: "currentColor",
898
980
  strokeWidth: 1.5,
899
981
  strokeLinecap: "round",
900
982
  strokeLinejoin: "round"
901
983
  }), /* @__PURE__ */ o.createElement("path", {
902
- d: "M9 12H2.25",
984
+ d: "M9 7L12 4L15 7",
903
985
  stroke: "currentColor",
904
986
  strokeWidth: 1.5,
905
987
  strokeLinecap: "round",
906
988
  strokeLinejoin: "round"
907
- }), /* @__PURE__ */ o.createElement("path", {
908
- d: "M19.0981 9.34766L21.7498 11.9993L19.0981 14.6509",
989
+ })), Ur = (n) => /* @__PURE__ */ o.createElement("svg", k({
990
+ width: 24,
991
+ height: 24,
992
+ viewBox: "0 0 24 24",
993
+ fill: "none",
994
+ xmlns: "http://www.w3.org/2000/svg"
995
+ }, n), /* @__PURE__ */ o.createElement("path", {
996
+ d: "M12 1L12 6",
909
997
  stroke: "currentColor",
910
998
  strokeWidth: 1.5,
911
999
  strokeLinecap: "round",
912
1000
  strokeLinejoin: "round"
913
1001
  }), /* @__PURE__ */ o.createElement("path", {
914
- d: "M15 12H21.75",
1002
+ d: "M15 3L12 6L9 3",
915
1003
  stroke: "currentColor",
916
1004
  strokeWidth: 1.5,
917
1005
  strokeLinecap: "round",
918
1006
  strokeLinejoin: "round"
919
- })), Ir = (n) => /* @__PURE__ */ o.createElement("svg", k({
920
- width: 24,
921
- height: 24,
922
- viewBox: "0 0 24 24",
923
- fill: "none",
924
- xmlns: "http://www.w3.org/2000/svg"
925
- }, n), /* @__PURE__ */ o.createElement("rect", {
926
- width: 24,
927
- height: 24,
928
- rx: 4,
929
- fill: "black",
930
- fillOpacity: 0.5
931
1007
  }), /* @__PURE__ */ o.createElement("path", {
932
- fillRule: "evenodd",
933
- clipRule: "evenodd",
934
- d: "M5 5H19V19H5V5ZM4 4H5H19H20V5V19V20H19H5H4V19V5V4ZM6 10C6 9.44772 6.44772 9 7 9C7.55228 9 8 9.44772 8 10V14C8 14.5523 7.55228 15 7 15C6.44772 15 6 14.5523 6 14V10ZM9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10V14C11 14.5523 10.5523 15 10 15C9.44772 15 9 14.5523 9 14V10ZM13 9C12.4477 9 12 9.44772 12 10V14C12 14.5523 12.4477 15 13 15C13.5523 15 14 14.5523 14 14V10C14 9.44772 13.5523 9 13 9Z",
935
- fill: "currentColor"
936
- })), Zr = (n) => /* @__PURE__ */ o.createElement("svg", k({
937
- width: 24,
938
- height: 24,
939
- viewBox: "0 0 24 24",
940
- fill: "none",
941
- xmlns: "http://www.w3.org/2000/svg"
942
- }, n), /* @__PURE__ */ o.createElement("rect", {
943
- width: 24,
944
- height: 24,
945
- rx: 4,
946
- fill: "black",
947
- fillOpacity: 0.5
948
- }), /* @__PURE__ */ o.createElement("path", {
949
- fillRule: "evenodd",
950
- clipRule: "evenodd",
951
- d: "M19 19L5 19L5 5L19 5L19 19ZM20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20ZM16 14C16 14.5523 15.5523 15 15 15C14.4477 15 14 14.5523 14 14L14 10C14 9.44772 14.4477 9 15 9C15.5523 9 16 9.44771 16 10L16 14ZM13 14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14L11 10C11 9.44771 11.4477 9 12 9C12.5523 9 13 9.44771 13 10L13 14ZM9 15C9.55228 15 10 14.5523 10 14L10 10C10 9.44771 9.55228 9 9 9C8.44771 9 8 9.44771 8 10L8 14C8 14.5523 8.44772 15 9 15Z",
952
- fill: "currentColor"
953
- })), $r = (n) => /* @__PURE__ */ o.createElement("svg", k({
954
- width: 24,
955
- height: 24,
956
- viewBox: "0 0 24 24",
957
- fill: "none",
958
- xmlns: "http://www.w3.org/2000/svg"
959
- }, n), /* @__PURE__ */ o.createElement("rect", {
960
- width: 24,
961
- height: 24,
962
- rx: 4,
963
- fill: "black",
964
- fillOpacity: 0.5
965
- }), /* @__PURE__ */ o.createElement("path", {
966
- fillRule: "evenodd",
967
- clipRule: "evenodd",
968
- d: "M19 19L5 19L5 5L19 5L19 19ZM20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20ZM18 14C18 14.5523 17.5523 15 17 15C16.4477 15 16 14.5523 16 14L16 10C16 9.44772 16.4477 9 17 9C17.5523 9 18 9.44771 18 10L18 14ZM15 14C15 14.5523 14.5523 15 14 15C13.4477 15 13 14.5523 13 14L13 10C13 9.44772 13.4477 9 14 9C14.5523 9 15 9.44772 15 10L15 14ZM11 15C11.5523 15 12 14.5523 12 14L12 10C12 9.44772 11.5523 9 11 9C10.4477 9 10 9.44772 10 10L10 14C10 14.5523 10.4477 15 11 15Z",
969
- fill: "currentColor"
970
- })), Nr = (n) => /* @__PURE__ */ o.createElement("svg", k({
971
- width: 24,
972
- height: 24,
973
- viewBox: "0 0 24 24",
974
- fill: "none",
975
- xmlns: "http://www.w3.org/2000/svg"
976
- }, n), /* @__PURE__ */ o.createElement("rect", {
977
- y: 24,
978
- width: 24,
979
- height: 24,
980
- rx: 4,
981
- transform: "rotate(-90 0 24)",
982
- fill: "black",
983
- fillOpacity: 0.5
984
- }), /* @__PURE__ */ o.createElement("path", {
985
- fillRule: "evenodd",
986
- clipRule: "evenodd",
987
- d: "M19 5L19 19L5 19L5 5L19 5ZM20 4L20 5L20 19L20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4ZM14 6C14.5523 6 15 6.44772 15 7C15 7.55229 14.5523 8 14 8L10 8C9.44772 8 9 7.55229 9 7C9 6.44772 9.44772 6 10 6L14 6ZM14 9C14.5523 9 15 9.44772 15 10C15 10.5523 14.5523 11 14 11L10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9L14 9ZM15 13C15 12.4477 14.5523 12 14 12L10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14L14 14C14.5523 14 15 13.5523 15 13Z",
988
- fill: "currentColor"
989
- })), Yr = (n) => /* @__PURE__ */ o.createElement("svg", k({
990
- width: 24,
991
- height: 24,
992
- viewBox: "0 0 24 24",
993
- fill: "none",
994
- xmlns: "http://www.w3.org/2000/svg"
995
- }, n), /* @__PURE__ */ o.createElement("rect", {
996
- y: 24,
997
- width: 24,
998
- height: 24,
999
- rx: 4,
1000
- transform: "rotate(-90 0 24)",
1001
- fill: "black",
1002
- fillOpacity: 0.5
1003
- }), /* @__PURE__ */ o.createElement("path", {
1004
- fillRule: "evenodd",
1005
- clipRule: "evenodd",
1006
- d: "M19 5L19 19L5 19L5 5L19 5ZM20 4L20 5L20 19L20 20L19 20L5 20L4 20L4 19L4 5L4 4L5 4L19 4L20 4ZM14 8C14.5523 8 15 8.44772 15 9C15 9.55228 14.5523 10 14 10L10 10C9.44772 10 9 9.55229 9 9C9 8.44772 9.44771 8 10 8L14 8ZM14 11C14.5523 11 15 11.4477 15 12C15 12.5523 14.5523 13 14 13L10 13C9.44772 13 9 12.5523 9 12C9 11.4477 9.44771 11 10 11L14 11ZM15 15C15 14.4477 14.5523 14 14 14L10 14C9.44772 14 9 14.4477 9 15C9 15.5523 9.44772 16 10 16L14 16C14.5523 16 15 15.5523 15 15Z",
1007
- fill: "currentColor"
1008
- })), Br = (n) => /* @__PURE__ */ o.createElement("svg", k({
1009
- width: 24,
1010
- height: 24,
1011
- viewBox: "0 0 24 24",
1012
- fill: "none",
1013
- xmlns: "http://www.w3.org/2000/svg"
1014
- }, n), /* @__PURE__ */ o.createElement("rect", {
1015
- y: 24,
1016
- width: 24,
1017
- height: 24,
1018
- rx: 4,
1019
- transform: "rotate(-90 0 24)",
1020
- fill: "black",
1021
- fillOpacity: 0.5
1008
+ d: "M12 23L12 18",
1009
+ stroke: "currentColor",
1010
+ strokeWidth: 1.5,
1011
+ strokeLinecap: "round",
1012
+ strokeLinejoin: "round"
1022
1013
  }), /* @__PURE__ */ o.createElement("path", {
1023
- fillRule: "evenodd",
1024
- clipRule: "evenodd",
1025
- d: "M5 19L5 5L19 5L19 19L5 19ZM4 20L4 19L4 5L4 4L5 4L19 4L20 4L20 5L20 19L20 20L19 20L5 20L4 20ZM10 18C9.44772 18 9 17.5523 9 17C9 16.4477 9.44772 16 10 16L14 16C14.5523 16 15 16.4477 15 17C15 17.5523 14.5523 18 14 18L10 18ZM10 15C9.44772 15 9 14.5523 9 14C9 13.4477 9.44771 13 10 13L14 13C14.5523 13 15 13.4477 15 14C15 14.5523 14.5523 15 14 15L10 15ZM9 11C9 11.5523 9.44771 12 10 12L14 12C14.5523 12 15 11.5523 15 11C15 10.4477 14.5523 10 14 10L10 10C9.44771 10 9 10.4477 9 11Z",
1026
- fill: "currentColor"
1027
- })), Hr = {
1028
- horizontalExtend: Dr,
1029
- horizontalNormal: Wr,
1030
- verticalExtend: Fr,
1031
- verticalNormal: Vr,
1032
- moveArrows: Ar,
1033
- alignStart: Ir,
1034
- alignCenter: Zr,
1035
- alignEnd: $r,
1014
+ d: "M9 21L12 18L15 21",
1015
+ stroke: "currentColor",
1016
+ strokeWidth: 1.5,
1017
+ strokeLinecap: "round",
1018
+ strokeLinejoin: "round"
1019
+ }), /* @__PURE__ */ o.createElement("rect", {
1020
+ x: 21.25,
1021
+ y: 8.75,
1022
+ width: 6.5,
1023
+ height: 18.5,
1024
+ rx: 1.25,
1025
+ transform: "rotate(90 21.25 8.75)",
1026
+ stroke: "currentColor",
1027
+ strokeWidth: 1.5
1028
+ })), zr = {
1029
+ horizontalExtend: $r,
1030
+ horizontalNormal: Yr,
1031
+ verticalExtend: Hr,
1032
+ verticalNormal: Ur,
1033
+ moveArrows: Br,
1034
+ alignStart: Zr,
1035
+ alignCenter: Fr,
1036
+ alignEnd: Ar,
1036
1037
  alignStartV: Nr,
1037
- alignCenterV: Yr,
1038
- alignEndV: Br
1039
- }, ve = ({
1038
+ alignCenterV: Vr,
1039
+ alignEndV: Ir
1040
+ }, he = ({
1040
1041
  className: n,
1041
1042
  name: c,
1042
1043
  onClick: i
1043
1044
  }) => {
1044
- const d = Hr[c];
1045
- return /* @__PURE__ */ b(d, {
1045
+ const f = zr[c];
1046
+ return /* @__PURE__ */ x(f, {
1046
1047
  className: n,
1047
1048
  onClick: i
1048
1049
  });
1049
- }, de = ["start", "centered", "end"];
1050
- function Kr({
1050
+ }, pe = ["start", "centered", "end"];
1051
+ function Qr({
1051
1052
  id: n,
1052
1053
  className: c,
1053
1054
  vertical: i,
1054
- stretch: d,
1055
- end: g,
1056
- disabled: L,
1057
- align: p,
1058
- onAlignChange: m,
1059
- children: h,
1060
- style: O,
1061
- editorStyle: y,
1062
- iconColor: R = "#FFFFFF"
1055
+ stretch: f,
1056
+ middle: b,
1057
+ bottom: v,
1058
+ disabled: C,
1059
+ align: g,
1060
+ realignable: d,
1061
+ children: R,
1062
+ style: y,
1063
+ editorStyle: j,
1064
+ iconColor: M = "#FFFFFF",
1065
+ onAlignChange: S,
1066
+ onClick: h
1063
1067
  }) {
1064
- const [x, M] = he(!1);
1065
- jr(() => {
1066
- const S = requestAnimationFrame(() => M(!0));
1068
+ const [F, P] = ge(!1);
1069
+ Sr(() => {
1070
+ const _ = requestAnimationFrame(() => P(!0));
1067
1071
  return () => {
1068
- cancelAnimationFrame(S), M(!1);
1072
+ cancelAnimationFrame(_), P(!1);
1069
1073
  };
1070
1074
  }, []);
1071
1075
  const {
1072
- editing: f,
1073
- onAlignChange: P
1074
- } = ge(), F = re(() => {
1075
- const S = de[(p ? de.indexOf(p) + 1 : 0) % de.length];
1076
- m == null || m(S), P == null || P(n, S);
1077
- }, [p, m, P, n]), j = te(() => ({
1076
+ editing: m,
1077
+ onAlignChange: L
1078
+ } = Le(), N = q(() => {
1079
+ if (!d)
1080
+ return;
1081
+ const _ = pe[(g ? pe.indexOf(g) + 1 : 0) % pe.length];
1082
+ S == null || S(_), L == null || L(n, _);
1083
+ }, [g, d, S, L, n]), $ = q(() => {
1084
+ !m || h == null || h(n);
1085
+ }, [n, m, h]), Y = ne(() => ({
1078
1086
  position: "absolute",
1079
- left: i ? g ? 0 : void 0 : "50%",
1080
- right: i ? g ? void 0 : 0 : "50%",
1081
- bottom: !i && !g ? 0 : i ? "50%" : void 0,
1082
- top: i ? "50%" : g ? 0 : void 0,
1083
- opacity: !L && f && p ? 1 : 0,
1084
- pointerEvents: !L && f && p ? "auto" : "none",
1087
+ left: i ? v ? 0 : void 0 : "50%",
1088
+ right: i ? v ? void 0 : 0 : "50%",
1089
+ bottom: !i && !v ? 0 : i ? "50%" : void 0,
1090
+ top: i ? "50%" : v ? 0 : void 0,
1091
+ opacity: !C && m && d ? 1 : 0,
1092
+ pointerEvents: !C && m && d ? "auto" : "none",
1085
1093
  transition: "all 0.5s ease-in-out"
1086
- }), [i, g, L, f, p]), C = te(() => $.Children.map(h, (S) => $.cloneElement(S, {
1087
- end: g,
1094
+ }), [i, v, C, m, d]), V = ne(() => de.map(R, (_) => Or(_, {
1095
+ bottom: v,
1088
1096
  vertical: i
1089
- })), [h, g, i]);
1090
- return x ? /* @__PURE__ */ b(Or, {
1097
+ })), [R, v, i]);
1098
+ return F ? /* @__PURE__ */ x(Tr, {
1091
1099
  droppableId: n,
1092
1100
  direction: i ? "vertical" : "horizontal",
1093
- isDropDisabled: L,
1094
- children: (S, N) => /* @__PURE__ */ pe("div", ee(k({
1095
- ref: S.innerRef
1096
- }, S.droppableProps), {
1097
- className: [c, "area", d && "stretch", g && "end", p === "centered" ? "just-centered" : p === "end" ? "just-end" : "start", f ? "area-transition-in" : "area-transition-out"].filter(Boolean).join(" "),
1101
+ isDropDisabled: C,
1102
+ children: (_, B) => /* @__PURE__ */ ve("div", te(k({
1103
+ ref: _.innerRef
1104
+ }, _.droppableProps), {
1105
+ className: [c, "area", f && "stretch", b && "middle", v && "bottom", g === "centered" ? "just-centered" : g === "end" ? "just-end" : "start", m ? "area-transition-in" : "area-transition-out"].filter(Boolean).join(" "),
1098
1106
  style: k({
1099
1107
  flexDirection: i ? "column" : "row",
1100
- minHeight: !$.Children.count(h) && !f ? "0px" : "26px",
1101
- minWidth: !$.Children.count(h) && !f ? "0px" : "46px",
1102
- opacity: N.isDraggingOver ? 0.8 : 1
1103
- }, f ? y : O),
1104
- children: [C, S.placeholder, /* @__PURE__ */ b("div", {
1105
- style: j,
1106
- children: /* @__PURE__ */ b("div", {
1107
- onClick: F,
1108
+ minHeight: !de.count(R) && !m ? "0px" : "26px",
1109
+ minWidth: !de.count(R) && !m ? "0px" : "46px",
1110
+ opacity: B.isDraggingOver ? 0.8 : 1
1111
+ }, m ? j : y),
1112
+ onClick: $,
1113
+ children: [V, _.placeholder, /* @__PURE__ */ x("div", {
1114
+ style: Y,
1115
+ children: /* @__PURE__ */ x("div", {
1116
+ onClick: N,
1108
1117
  style: {
1109
1118
  cursor: "pointer",
1110
- color: R
1119
+ color: M
1111
1120
  },
1112
- children: /* @__PURE__ */ b(ve, {
1113
- name: p === "centered" ? i ? "alignCenterV" : "alignCenter" : p === "end" ? i ? "alignEndV" : "alignEnd" : i ? "alignStartV" : "alignStart"
1121
+ children: /* @__PURE__ */ x(he, {
1122
+ name: g === "centered" ? i ? "alignCenterV" : "alignCenter" : g === "end" ? i ? "alignEndV" : "alignEnd" : i ? "alignStartV" : "alignStart"
1114
1123
  })
1115
1124
  })
1116
1125
  })]
1117
1126
  }))
1118
1127
  }) : null;
1119
1128
  }
1120
- function Xr(R) {
1121
- var x = R, {
1129
+ function et(j) {
1130
+ var M = j, {
1122
1131
  className: n,
1123
1132
  children: c,
1124
1133
  id: i,
1125
- index: d,
1126
- extendable: g = !1,
1127
- extended: L = !1,
1128
- disabled: p = !1,
1129
- style: m,
1130
- editorStyle: h,
1131
- iconColor: O = "rgb(255, 255, 255)"
1132
- } = x, y = He(x, [
1134
+ index: f,
1135
+ extendable: b = !1,
1136
+ extended: v = !1,
1137
+ disabled: C = !1,
1138
+ style: g,
1139
+ editorStyle: d,
1140
+ iconColor: R = "rgb(255, 255, 255)"
1141
+ } = M, y = Ue(M, [
1133
1142
  "className",
1134
1143
  "children",
1135
1144
  "id",
@@ -1142,73 +1151,74 @@ function Xr(R) {
1142
1151
  "iconColor"
1143
1152
  ]);
1144
1153
  const {
1145
- vertical: M
1154
+ vertical: S
1146
1155
  } = y, {
1147
- editing: f,
1148
- isDragging: P,
1149
- onExtend: F
1150
- } = ge(), [j, C] = he(!1), S = re(() => {
1151
- !g || (C(!1), F == null || F(i, !L));
1152
- }, [g, F, L, i]), N = te(() => ({
1156
+ editing: h,
1157
+ isDragging: F,
1158
+ onExtend: P
1159
+ } = Le(), [m, L] = ge(!1), N = q(() => {
1160
+ !b || (L(!1), P == null || P(i, !v));
1161
+ }, [b, P, v, i]), $ = ne(() => ({
1153
1162
  alignItems: "start",
1154
1163
  float: "left",
1155
- color: O
1156
- }), [O]), ne = te(() => ({
1164
+ color: R
1165
+ }), [R]), Y = ne(() => ({
1157
1166
  id: i,
1158
- editing: f,
1159
- isDragging: P,
1160
- isHovered: j,
1161
- extended: L,
1162
- extendable: g,
1163
- disabled: p,
1164
- index: d
1165
- }), [p, f, g, L, i, d, P, j]);
1166
- return /* @__PURE__ */ b(Mr, {
1167
+ editing: h,
1168
+ isDragging: F,
1169
+ isHovered: m,
1170
+ extended: v,
1171
+ extendable: b,
1172
+ disabled: C,
1173
+ index: f
1174
+ }), [C, h, b, v, i, f, F, m]);
1175
+ return /* @__PURE__ */ x(Pr, {
1167
1176
  draggableId: i,
1168
- index: d,
1169
- isDragDisabled: p,
1170
- children: (A, Y) => /* @__PURE__ */ b("div", ee(k({
1171
- ref: A.innerRef
1172
- }, A.draggableProps), {
1177
+ index: f,
1178
+ isDragDisabled: C,
1179
+ children: (V, _) => /* @__PURE__ */ x("div", te(k({
1180
+ ref: V.innerRef
1181
+ }, V.draggableProps), {
1173
1182
  className: `${n} item`,
1174
1183
  style: k(k({
1175
- flex: L && !Y.isDragging ? "auto" : void 0,
1176
- opacity: Y.isDragging ? 0.5 : 1
1177
- }, f ? h : m), A.draggableProps.style),
1178
- children: /* @__PURE__ */ pe("div", {
1184
+ flex: v && !_.isDragging ? "auto" : void 0,
1185
+ opacity: _.isDragging ? 0.5 : 1
1186
+ }, h ? d : g), V.draggableProps.style),
1187
+ children: /* @__PURE__ */ ve("div", {
1179
1188
  style: {
1180
1189
  display: "inline-block",
1181
1190
  position: "relative",
1182
- minHeight: j && !p ? "35px" : void 0,
1183
- width: !M && L ? "100%" : void 0,
1184
- minWidth: j && !p ? g ? "70px" : "35px" : void 0,
1185
- height: M && L ? "100%" : void 0
1191
+ minHeight: m && !C ? "35px" : void 0,
1192
+ width: !S && v ? "100%" : void 0,
1193
+ minWidth: m && !C ? b ? "70px" : "35px" : void 0,
1194
+ height: S && v ? "100%" : void 0
1186
1195
  },
1187
- onMouseEnter: () => f && C(!0),
1188
- onMouseLeave: () => f && C(!1),
1189
- children: [typeof c == "function" ? c(ne) : c, /* @__PURE__ */ b("div", {
1196
+ onMouseEnter: () => h && L(!0),
1197
+ onMouseLeave: () => h && L(!1),
1198
+ onClick: (B) => B.stopPropagation(),
1199
+ children: [typeof c == "function" ? c(Y) : c, /* @__PURE__ */ x("div", {
1190
1200
  className: "overlay",
1191
1201
  style: {
1192
- display: !p && f && j && (Y.isDragging || !P) ? "block" : "none"
1202
+ display: !C && h && m && (_.isDragging || !F) ? "block" : "none"
1193
1203
  },
1194
- children: /* @__PURE__ */ pe("div", {
1204
+ children: /* @__PURE__ */ ve("div", {
1195
1205
  className: "overlay-buttons",
1196
- style: N,
1197
- children: [/* @__PURE__ */ b("div", ee(k({}, A.dragHandleProps), {
1206
+ style: $,
1207
+ children: [/* @__PURE__ */ x("div", te(k({}, V.dragHandleProps), {
1198
1208
  style: {
1199
1209
  cursor: "grab"
1200
1210
  },
1201
- children: /* @__PURE__ */ b(ve, {
1211
+ children: /* @__PURE__ */ x(he, {
1202
1212
  name: "moveArrows"
1203
1213
  })
1204
- })), g && /* @__PURE__ */ b("div", {
1214
+ })), b && /* @__PURE__ */ x("div", {
1205
1215
  style: {
1206
1216
  cursor: "pointer",
1207
1217
  marginLeft: "8px"
1208
1218
  },
1209
- onClick: S,
1210
- children: /* @__PURE__ */ b(ve, {
1211
- name: M ? "verticalExtend" : "horizontalExtend"
1219
+ onClick: N,
1220
+ children: /* @__PURE__ */ x(he, {
1221
+ name: S ? "verticalExtend" : "horizontalExtend"
1212
1222
  })
1213
1223
  })]
1214
1224
  })
@@ -1218,9 +1228,9 @@ function Xr(R) {
1218
1228
  });
1219
1229
  }
1220
1230
  export {
1221
- Kr as GridArea,
1222
- Xr as GridItem,
1223
- Jr as GridSection,
1224
- qr as GridWrapper,
1225
- ve as Icon
1231
+ Qr as GridArea,
1232
+ et as GridItem,
1233
+ Xr as GridSection,
1234
+ Kr as GridWrapper,
1235
+ he as Icon
1226
1236
  };