@jaeungkim/gantt-chart 0.1.7 → 0.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.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import * as Ue from "react";
2
- import Ae, { useState as de, useMemo as _e, useEffect as xe, useRef as V } from "react";
3
- function te(n) {
1
+ import * as Ne from "react";
2
+ import Ce, { useState as oe, useMemo as _e, useEffect as xe, useRef as V } from "react";
3
+ function ne(n) {
4
4
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
5
  }
6
6
  var Se = { exports: {} }, ge = {};
@@ -13,14 +13,14 @@ var Se = { exports: {} }, ge = {};
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
- var He;
16
+ var Ue;
17
17
  function lt() {
18
- if (He) return ge;
19
- He = 1;
18
+ if (Ue) return ge;
19
+ Ue = 1;
20
20
  var n = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
21
21
  function a(i, s, e) {
22
- var f = null;
23
- if (e !== void 0 && (f = "" + e), s.key !== void 0 && (f = "" + s.key), "key" in s) {
22
+ var l = null;
23
+ if (e !== void 0 && (l = "" + e), s.key !== void 0 && (l = "" + s.key), "key" in s) {
24
24
  e = {};
25
25
  for (var u in s)
26
26
  u !== "key" && (e[u] = s[u]);
@@ -28,7 +28,7 @@ function lt() {
28
28
  return s = e.ref, {
29
29
  $$typeof: n,
30
30
  type: i,
31
- key: f,
31
+ key: l,
32
32
  ref: s !== void 0 ? s : null,
33
33
  props: e
34
34
  };
@@ -54,17 +54,17 @@ function ft() {
54
54
  return t.$$typeof === x ? null : t.displayName || t.name || null;
55
55
  if (typeof t == "string") return t;
56
56
  switch (t) {
57
- case O:
58
- return "Fragment";
59
57
  case k:
58
+ return "Fragment";
59
+ case L:
60
60
  return "Portal";
61
- case Y:
61
+ case W:
62
62
  return "Profiler";
63
63
  case P:
64
64
  return "StrictMode";
65
65
  case B:
66
66
  return "Suspense";
67
- case pe:
67
+ case ee:
68
68
  return "SuspenseList";
69
69
  }
70
70
  if (typeof t == "object")
@@ -75,12 +75,12 @@ function ft() {
75
75
  return (t.displayName || "Context") + ".Provider";
76
76
  case $:
77
77
  return (t._context.displayName || "Context") + ".Consumer";
78
- case I:
78
+ case O:
79
79
  var b = t.render;
80
80
  return t = t.displayName, t || (t = b.displayName || b.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
81
- case F:
81
+ case I:
82
82
  return b = t.displayName || null, b !== null ? b : n(t.type) || "Memo";
83
- case S:
83
+ case D:
84
84
  b = t._payload, t = t._init;
85
85
  try {
86
86
  return n(t(b));
@@ -101,19 +101,19 @@ function ft() {
101
101
  }
102
102
  if (b) {
103
103
  b = console;
104
- var w = b.error, C = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
104
+ var w = b.error, q = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
105
105
  return w.call(
106
106
  b,
107
107
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
108
- C
108
+ q
109
109
  ), o(t);
110
110
  }
111
111
  }
112
112
  function i() {
113
113
  }
114
114
  function s() {
115
- if (z === 0) {
116
- J = console.log, ae = console.info, ne = console.warn, ue = console.error, re = console.group, G = console.groupCollapsed, ee = console.groupEnd;
115
+ if (Y === 0) {
116
+ J = console.log, se = console.info, re = console.warn, de = console.error, ae = console.group, G = console.groupCollapsed, te = console.groupEnd;
117
117
  var t = {
118
118
  configurable: !0,
119
119
  enumerable: !0,
@@ -130,83 +130,83 @@ function ft() {
130
130
  groupEnd: t
131
131
  });
132
132
  }
133
- z++;
133
+ Y++;
134
134
  }
135
135
  function e() {
136
- if (z--, z === 0) {
136
+ if (Y--, Y === 0) {
137
137
  var t = { configurable: !0, enumerable: !0, writable: !0 };
138
138
  Object.defineProperties(console, {
139
- log: A({}, t, { value: J }),
140
- info: A({}, t, { value: ae }),
141
- warn: A({}, t, { value: ne }),
142
- error: A({}, t, { value: ue }),
143
- group: A({}, t, { value: re }),
144
- groupCollapsed: A({}, t, { value: G }),
145
- groupEnd: A({}, t, { value: ee })
139
+ log: C({}, t, { value: J }),
140
+ info: C({}, t, { value: se }),
141
+ warn: C({}, t, { value: re }),
142
+ error: C({}, t, { value: de }),
143
+ group: C({}, t, { value: ae }),
144
+ groupCollapsed: C({}, t, { value: G }),
145
+ groupEnd: C({}, t, { value: te })
146
146
  });
147
147
  }
148
- 0 > z && console.error(
148
+ 0 > Y && console.error(
149
149
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
150
150
  );
151
151
  }
152
- function f(t) {
153
- if (oe === void 0)
152
+ function l(t) {
153
+ if (ie === void 0)
154
154
  try {
155
155
  throw Error();
156
156
  } catch (w) {
157
157
  var b = w.stack.trim().match(/\n( *(at )?)/);
158
- oe = b && b[1] || "", le = -1 < w.stack.indexOf(`
158
+ ie = b && b[1] || "", fe = -1 < w.stack.indexOf(`
159
159
  at`) ? " (<anonymous>)" : -1 < w.stack.indexOf("@") ? "@unknown:0:0" : "";
160
160
  }
161
161
  return `
162
- ` + oe + t + le;
162
+ ` + ie + t + fe;
163
163
  }
164
164
  function u(t, b) {
165
165
  if (!t || je) return "";
166
166
  var w = Ze.get(t);
167
167
  if (w !== void 0) return w;
168
168
  je = !0, w = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
169
- var C = null;
170
- C = L.H, L.H = null, s();
169
+ var q = null;
170
+ q = R.H, R.H = null, s();
171
171
  try {
172
172
  var X = {
173
173
  DetermineComponentFrameRoot: function() {
174
174
  try {
175
175
  if (b) {
176
- var ce = function() {
176
+ var le = function() {
177
177
  throw Error();
178
178
  };
179
- if (Object.defineProperty(ce.prototype, "props", {
179
+ if (Object.defineProperty(le.prototype, "props", {
180
180
  set: function() {
181
181
  throw Error();
182
182
  }
183
183
  }), typeof Reflect == "object" && Reflect.construct) {
184
184
  try {
185
- Reflect.construct(ce, []);
186
- } catch (ie) {
187
- var De = ie;
185
+ Reflect.construct(le, []);
186
+ } catch (ce) {
187
+ var De = ce;
188
188
  }
189
- Reflect.construct(t, [], ce);
189
+ Reflect.construct(t, [], le);
190
190
  } else {
191
191
  try {
192
- ce.call();
193
- } catch (ie) {
194
- De = ie;
192
+ le.call();
193
+ } catch (ce) {
194
+ De = ce;
195
195
  }
196
- t.call(ce.prototype);
196
+ t.call(le.prototype);
197
197
  }
198
198
  } else {
199
199
  try {
200
200
  throw Error();
201
- } catch (ie) {
202
- De = ie;
201
+ } catch (ce) {
202
+ De = ce;
203
203
  }
204
- (ce = t()) && typeof ce.catch == "function" && ce.catch(function() {
204
+ (le = t()) && typeof le.catch == "function" && le.catch(function() {
205
205
  });
206
206
  }
207
- } catch (ie) {
208
- if (ie && De && typeof ie.stack == "string")
209
- return [ie.stack, De.stack];
207
+ } catch (ce) {
208
+ if (ce && De && typeof ce.stack == "string")
209
+ return [ce.stack, De.stack];
210
210
  }
211
211
  return [null, null];
212
212
  }
@@ -221,27 +221,27 @@ function ft() {
221
221
  "name",
222
222
  { value: "DetermineComponentFrameRoot" }
223
223
  );
224
- var _ = X.DetermineComponentFrameRoot(), se = _[0], he = _[1];
225
- if (se && he) {
226
- var Q = se.split(`
227
- `), fe = he.split(`
224
+ var _ = X.DetermineComponentFrameRoot(), ue = _[0], he = _[1];
225
+ if (ue && he) {
226
+ var Q = ue.split(`
227
+ `), pe = he.split(`
228
228
  `);
229
229
  for (_ = U = 0; U < Q.length && !Q[U].includes(
230
230
  "DetermineComponentFrameRoot"
231
231
  ); )
232
232
  U++;
233
- for (; _ < fe.length && !fe[_].includes(
233
+ for (; _ < pe.length && !pe[_].includes(
234
234
  "DetermineComponentFrameRoot"
235
235
  ); )
236
236
  _++;
237
- if (U === Q.length || _ === fe.length)
238
- for (U = Q.length - 1, _ = fe.length - 1; 1 <= U && 0 <= _ && Q[U] !== fe[_]; )
237
+ if (U === Q.length || _ === pe.length)
238
+ for (U = Q.length - 1, _ = pe.length - 1; 1 <= U && 0 <= _ && Q[U] !== pe[_]; )
239
239
  _--;
240
240
  for (; 1 <= U && 0 <= _; U--, _--)
241
- if (Q[U] !== fe[_]) {
241
+ if (Q[U] !== pe[_]) {
242
242
  if (U !== 1 || _ !== 1)
243
243
  do
244
- if (U--, _--, 0 > _ || Q[U] !== fe[_]) {
244
+ if (U--, _--, 0 > _ || Q[U] !== pe[_]) {
245
245
  var $e = `
246
246
  ` + Q[U].replace(
247
247
  " at new ",
@@ -254,9 +254,9 @@ function ft() {
254
254
  }
255
255
  }
256
256
  } finally {
257
- je = !1, L.H = C, e(), Error.prepareStackTrace = w;
257
+ je = !1, R.H = q, e(), Error.prepareStackTrace = w;
258
258
  }
259
- return Q = (Q = t ? t.displayName || t.name : "") ? f(Q) : "", typeof t == "function" && Ze.set(t, Q), Q;
259
+ return Q = (Q = t ? t.displayName || t.name : "") ? l(Q) : "", typeof t == "function" && Ze.set(t, Q), Q;
260
260
  }
261
261
  function p(t) {
262
262
  if (t == null) return "";
@@ -267,20 +267,20 @@ function ft() {
267
267
  !(!b || !b.isReactComponent)
268
268
  );
269
269
  }
270
- if (typeof t == "string") return f(t);
270
+ if (typeof t == "string") return l(t);
271
271
  switch (t) {
272
272
  case B:
273
- return f("Suspense");
274
- case pe:
275
- return f("SuspenseList");
273
+ return l("Suspense");
274
+ case ee:
275
+ return l("SuspenseList");
276
276
  }
277
277
  if (typeof t == "object")
278
278
  switch (t.$$typeof) {
279
- case I:
279
+ case O:
280
280
  return t = u(t.render, !1), t;
281
- case F:
281
+ case I:
282
282
  return p(t.type);
283
- case S:
283
+ case D:
284
284
  b = t._payload, t = t._init;
285
285
  try {
286
286
  return p(t(b));
@@ -290,11 +290,11 @@ function ft() {
290
290
  return "";
291
291
  }
292
292
  function m() {
293
- var t = L.A;
293
+ var t = R.A;
294
294
  return t === null ? null : t.getOwner();
295
295
  }
296
- function h(t) {
297
- if (Z.call(t, "key")) {
296
+ function g(t) {
297
+ if (j.call(t, "key")) {
298
298
  var b = Object.getOwnPropertyDescriptor(t, "key").get;
299
299
  if (b && b.isReactWarning) return !1;
300
300
  }
@@ -302,7 +302,7 @@ function ft() {
302
302
  }
303
303
  function r(t, b) {
304
304
  function w() {
305
- Ce || (Ce = !0, console.error(
305
+ Ae || (Ae = !0, console.error(
306
306
  "%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://react.dev/link/special-props)",
307
307
  b
308
308
  ));
@@ -318,9 +318,9 @@ function ft() {
318
318
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
319
319
  )), t = this.props.ref, t !== void 0 ? t : null;
320
320
  }
321
- function y(t, b, w, C, X, U) {
321
+ function y(t, b, w, q, X, U) {
322
322
  return w = U.ref, t = {
323
- $$typeof: R,
323
+ $$typeof: Z,
324
324
  type: t,
325
325
  key: b,
326
326
  props: U,
@@ -340,45 +340,45 @@ function ft() {
340
340
  value: null
341
341
  }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
342
342
  }
343
- function g(t, b, w, C, X, U) {
344
- if (typeof t == "string" || typeof t == "function" || t === O || t === Y || t === P || t === B || t === pe || t === v || typeof t == "object" && t !== null && (t.$$typeof === S || t.$$typeof === F || t.$$typeof === d || t.$$typeof === $ || t.$$typeof === I || t.$$typeof === N || t.getModuleId !== void 0)) {
343
+ function h(t, b, w, q, X, U) {
344
+ if (typeof t == "string" || typeof t == "function" || t === k || t === W || t === P || t === B || t === ee || t === v || typeof t == "object" && t !== null && (t.$$typeof === D || t.$$typeof === I || t.$$typeof === d || t.$$typeof === $ || t.$$typeof === O || t.$$typeof === N || t.getModuleId !== void 0)) {
345
345
  var _ = b.children;
346
346
  if (_ !== void 0)
347
- if (C)
348
- if (H(_)) {
349
- for (C = 0; C < _.length; C++)
350
- l(_[C], t);
347
+ if (q)
348
+ if (z(_)) {
349
+ for (q = 0; q < _.length; q++)
350
+ f(_[q], t);
351
351
  Object.freeze && Object.freeze(_);
352
352
  } else
353
353
  console.error(
354
354
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
355
355
  );
356
- else l(_, t);
356
+ else f(_, t);
357
357
  } else
358
- _ = "", (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), t === null ? C = "null" : H(t) ? C = "array" : t !== void 0 && t.$$typeof === R ? (C = "<" + (n(t.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : C = typeof t, console.error(
358
+ _ = "", (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), t === null ? q = "null" : z(t) ? q = "array" : t !== void 0 && t.$$typeof === Z ? (q = "<" + (n(t.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : q = typeof t, console.error(
359
359
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
360
- C,
360
+ q,
361
361
  _
362
362
  );
363
- if (Z.call(b, "key")) {
363
+ if (j.call(b, "key")) {
364
364
  _ = n(t);
365
- var se = Object.keys(b).filter(function(Q) {
365
+ var ue = Object.keys(b).filter(function(Q) {
366
366
  return Q !== "key";
367
367
  });
368
- C = 0 < se.length ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}", We[_ + C] || (se = 0 < se.length ? "{" + se.join(": ..., ") + ": ...}" : "{}", console.error(
368
+ q = 0 < ue.length ? "{key: someKey, " + ue.join(": ..., ") + ": ...}" : "{key: someKey}", We[_ + q] || (ue = 0 < ue.length ? "{" + ue.join(": ..., ") + ": ...}" : "{}", console.error(
369
369
  `A props object containing a "key" prop is being spread into JSX:
370
370
  let props = %s;
371
371
  <%s {...props} />
372
372
  React keys must be passed directly to JSX without using spread:
373
373
  let props = %s;
374
374
  <%s key={someKey} {...props} />`,
375
- C,
375
+ q,
376
376
  _,
377
- se,
377
+ ue,
378
378
  _
379
- ), We[_ + C] = !0);
379
+ ), We[_ + q] = !0);
380
380
  }
381
- if (_ = null, w !== void 0 && (a(w), _ = "" + w), h(b) && (a(b.key), _ = "" + b.key), "key" in b) {
381
+ if (_ = null, w !== void 0 && (a(w), _ = "" + w), g(b) && (a(b.key), _ = "" + b.key), "key" in b) {
382
382
  w = {};
383
383
  for (var he in b)
384
384
  he !== "key" && (w[he] = b[he]);
@@ -388,40 +388,40 @@ React keys must be passed directly to JSX without using spread:
388
388
  typeof t == "function" ? t.displayName || t.name || "Unknown" : t
389
389
  ), y(t, _, U, X, m(), w);
390
390
  }
391
- function l(t, b) {
391
+ function f(t, b) {
392
392
  if (typeof t == "object" && t && t.$$typeof !== dt) {
393
- if (H(t))
393
+ if (z(t))
394
394
  for (var w = 0; w < t.length; w++) {
395
- var C = t[w];
396
- D(C) && E(C, b);
395
+ var q = t[w];
396
+ S(q) && E(q, b);
397
397
  }
398
- else if (D(t))
398
+ else if (S(t))
399
399
  t._store && (t._store.validated = 1);
400
400
  else if (t === null || typeof t != "object" ? w = null : (w = T && t[T] || t["@@iterator"], w = typeof w == "function" ? w : null), typeof w == "function" && w !== t.entries && (w = w.call(t), w !== t))
401
401
  for (; !(t = w.next()).done; )
402
- D(t.value) && E(t.value, b);
402
+ S(t.value) && E(t.value, b);
403
403
  }
404
404
  }
405
- function D(t) {
406
- return typeof t == "object" && t !== null && t.$$typeof === R;
405
+ function S(t) {
406
+ return typeof t == "object" && t !== null && t.$$typeof === Z;
407
407
  }
408
408
  function E(t, b) {
409
- if (t._store && !t._store.validated && t.key == null && (t._store.validated = 1, b = j(b), !Ne[b])) {
410
- Ne[b] = !0;
409
+ if (t._store && !t._store.validated && t.key == null && (t._store.validated = 1, b = F(b), !He[b])) {
410
+ He[b] = !0;
411
411
  var w = "";
412
412
  t && t._owner != null && t._owner !== m() && (w = null, typeof t._owner.tag == "number" ? w = n(t._owner.type) : typeof t._owner.name == "string" && (w = t._owner.name), w = " It was passed a child from " + w + ".");
413
- var C = L.getCurrentStack;
414
- L.getCurrentStack = function() {
413
+ var q = R.getCurrentStack;
414
+ R.getCurrentStack = function() {
415
415
  var X = p(t.type);
416
- return C && (X += C() || ""), X;
416
+ return q && (X += q() || ""), X;
417
417
  }, console.error(
418
418
  'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
419
419
  b,
420
420
  w
421
- ), L.getCurrentStack = C;
421
+ ), R.getCurrentStack = q;
422
422
  }
423
423
  }
424
- function j(t) {
424
+ function F(t) {
425
425
  var b = "", w = m();
426
426
  return w && (w = n(w.type)) && (b = `
427
427
 
@@ -429,13 +429,13 @@ Check the render method of \`` + w + "`."), b || (t = n(t)) && (b = `
429
429
 
430
430
  Check the top-level render call using <` + t + ">."), b;
431
431
  }
432
- var M = Ae, R = Symbol.for("react.transitional.element"), k = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), Y = Symbol.for("react.profiler"), $ = Symbol.for("react.consumer"), d = Symbol.for("react.context"), I = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), pe = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), T = Symbol.iterator, x = Symbol.for("react.client.reference"), L = M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Z = Object.prototype.hasOwnProperty, A = Object.assign, N = Symbol.for("react.client.reference"), H = Array.isArray, z = 0, J, ae, ne, ue, re, G, ee;
432
+ var M = Ce, Z = Symbol.for("react.transitional.element"), L = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), $ = Symbol.for("react.consumer"), d = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), ee = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), T = Symbol.iterator, x = Symbol.for("react.client.reference"), R = M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, C = Object.assign, N = Symbol.for("react.client.reference"), z = Array.isArray, Y = 0, J, se, re, de, ae, G, te;
433
433
  i.__reactDisabledLog = !0;
434
- var oe, le, je = !1, Ze = new (typeof WeakMap == "function" ? WeakMap : Map)(), dt = Symbol.for("react.client.reference"), Ce, qe = {}, We = {}, Ne = {};
435
- ve.Fragment = O, ve.jsx = function(t, b, w, C, X) {
436
- return g(t, b, w, !1, C, X);
437
- }, ve.jsxs = function(t, b, w, C, X) {
438
- return g(t, b, w, !0, C, X);
434
+ var ie, fe, je = !1, Ze = new (typeof WeakMap == "function" ? WeakMap : Map)(), dt = Symbol.for("react.client.reference"), Ae, qe = {}, We = {}, He = {};
435
+ ve.Fragment = k, ve.jsx = function(t, b, w, q, X) {
436
+ return h(t, b, w, !1, q, X);
437
+ }, ve.jsxs = function(t, b, w, q, X) {
438
+ return h(t, b, w, !0, q, X);
439
439
  };
440
440
  }()), ve;
441
441
  }
@@ -443,7 +443,7 @@ var Ye;
443
443
  function pt() {
444
444
  return Ye || (Ye = 1, process.env.NODE_ENV === "production" ? Se.exports = lt() : Se.exports = ft()), Se.exports;
445
445
  }
446
- var q = pt();
446
+ var A = pt();
447
447
  const ut = 2.375 * 16, Be = 3, K = {
448
448
  day: {
449
449
  labelUnit: "day",
@@ -500,293 +500,293 @@ function mt() {
500
500
  (function(a, i) {
501
501
  n.exports = i();
502
502
  })(ht, function() {
503
- var a = 1e3, i = 6e4, s = 36e5, e = "millisecond", f = "second", u = "minute", p = "hour", m = "day", h = "week", r = "month", c = "quarter", y = "year", g = "date", l = "Invalid Date", D = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, E = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(F) {
504
- var S = ["th", "st", "nd", "rd"], v = F % 100;
505
- return "[" + F + (S[(v - 20) % 10] || S[v] || S[0]) + "]";
506
- } }, M = function(F, S, v) {
507
- var T = String(F);
508
- return !T || T.length >= S ? F : "" + Array(S + 1 - T.length).join(v) + F;
509
- }, R = { s: M, z: function(F) {
510
- var S = -F.utcOffset(), v = Math.abs(S), T = Math.floor(v / 60), x = v % 60;
511
- return (S <= 0 ? "+" : "-") + M(T, 2, "0") + ":" + M(x, 2, "0");
512
- }, m: function F(S, v) {
513
- if (S.date() < v.date()) return -F(v, S);
514
- var T = 12 * (v.year() - S.year()) + (v.month() - S.month()), x = S.clone().add(T, r), L = v - x < 0, Z = S.clone().add(T + (L ? -1 : 1), r);
515
- return +(-(T + (v - x) / (L ? x - Z : Z - x)) || 0);
516
- }, a: function(F) {
517
- return F < 0 ? Math.ceil(F) || 0 : Math.floor(F);
518
- }, p: function(F) {
519
- return { M: r, y, w: h, d: m, D: g, h: p, m: u, s: f, ms: e, Q: c }[F] || String(F || "").toLowerCase().replace(/s$/, "");
520
- }, u: function(F) {
521
- return F === void 0;
522
- } }, k = "en", O = {};
523
- O[k] = j;
524
- var P = "$isDayjsObject", Y = function(F) {
525
- return F instanceof B || !(!F || !F[P]);
526
- }, $ = function F(S, v, T) {
503
+ var a = 1e3, i = 6e4, s = 36e5, e = "millisecond", l = "second", u = "minute", p = "hour", m = "day", g = "week", r = "month", c = "quarter", y = "year", h = "date", f = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, E = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(I) {
504
+ var D = ["th", "st", "nd", "rd"], v = I % 100;
505
+ return "[" + I + (D[(v - 20) % 10] || D[v] || D[0]) + "]";
506
+ } }, M = function(I, D, v) {
507
+ var T = String(I);
508
+ return !T || T.length >= D ? I : "" + Array(D + 1 - T.length).join(v) + I;
509
+ }, Z = { s: M, z: function(I) {
510
+ var D = -I.utcOffset(), v = Math.abs(D), T = Math.floor(v / 60), x = v % 60;
511
+ return (D <= 0 ? "+" : "-") + M(T, 2, "0") + ":" + M(x, 2, "0");
512
+ }, m: function I(D, v) {
513
+ if (D.date() < v.date()) return -I(v, D);
514
+ var T = 12 * (v.year() - D.year()) + (v.month() - D.month()), x = D.clone().add(T, r), R = v - x < 0, j = D.clone().add(T + (R ? -1 : 1), r);
515
+ return +(-(T + (v - x) / (R ? x - j : j - x)) || 0);
516
+ }, a: function(I) {
517
+ return I < 0 ? Math.ceil(I) || 0 : Math.floor(I);
518
+ }, p: function(I) {
519
+ return { M: r, y, w: g, d: m, D: h, h: p, m: u, s: l, ms: e, Q: c }[I] || String(I || "").toLowerCase().replace(/s$/, "");
520
+ }, u: function(I) {
521
+ return I === void 0;
522
+ } }, L = "en", k = {};
523
+ k[L] = F;
524
+ var P = "$isDayjsObject", W = function(I) {
525
+ return I instanceof B || !(!I || !I[P]);
526
+ }, $ = function I(D, v, T) {
527
527
  var x;
528
- if (!S) return k;
529
- if (typeof S == "string") {
530
- var L = S.toLowerCase();
531
- O[L] && (x = L), v && (O[L] = v, x = L);
532
- var Z = S.split("-");
533
- if (!x && Z.length > 1) return F(Z[0]);
528
+ if (!D) return L;
529
+ if (typeof D == "string") {
530
+ var R = D.toLowerCase();
531
+ k[R] && (x = R), v && (k[R] = v, x = R);
532
+ var j = D.split("-");
533
+ if (!x && j.length > 1) return I(j[0]);
534
534
  } else {
535
- var A = S.name;
536
- O[A] = S, x = A;
535
+ var C = D.name;
536
+ k[C] = D, x = C;
537
537
  }
538
- return !T && x && (k = x), x || !T && k;
539
- }, d = function(F, S) {
540
- if (Y(F)) return F.clone();
541
- var v = typeof S == "object" ? S : {};
542
- return v.date = F, v.args = arguments, new B(v);
543
- }, I = R;
544
- I.l = $, I.i = Y, I.w = function(F, S) {
545
- return d(F, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
538
+ return !T && x && (L = x), x || !T && L;
539
+ }, d = function(I, D) {
540
+ if (W(I)) return I.clone();
541
+ var v = typeof D == "object" ? D : {};
542
+ return v.date = I, v.args = arguments, new B(v);
543
+ }, O = Z;
544
+ O.l = $, O.i = W, O.w = function(I, D) {
545
+ return d(I, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
546
546
  };
547
547
  var B = function() {
548
- function F(v) {
548
+ function I(v) {
549
549
  this.$L = $(v.locale, null, !0), this.parse(v), this.$x = this.$x || v.x || {}, this[P] = !0;
550
550
  }
551
- var S = F.prototype;
552
- return S.parse = function(v) {
551
+ var D = I.prototype;
552
+ return D.parse = function(v) {
553
553
  this.$d = function(T) {
554
- var x = T.date, L = T.utc;
554
+ var x = T.date, R = T.utc;
555
555
  if (x === null) return /* @__PURE__ */ new Date(NaN);
556
- if (I.u(x)) return /* @__PURE__ */ new Date();
556
+ if (O.u(x)) return /* @__PURE__ */ new Date();
557
557
  if (x instanceof Date) return new Date(x);
558
558
  if (typeof x == "string" && !/Z$/i.test(x)) {
559
- var Z = x.match(D);
560
- if (Z) {
561
- var A = Z[2] - 1 || 0, N = (Z[7] || "0").substring(0, 3);
562
- return L ? new Date(Date.UTC(Z[1], A, Z[3] || 1, Z[4] || 0, Z[5] || 0, Z[6] || 0, N)) : new Date(Z[1], A, Z[3] || 1, Z[4] || 0, Z[5] || 0, Z[6] || 0, N);
559
+ var j = x.match(S);
560
+ if (j) {
561
+ var C = j[2] - 1 || 0, N = (j[7] || "0").substring(0, 3);
562
+ return R ? new Date(Date.UTC(j[1], C, j[3] || 1, j[4] || 0, j[5] || 0, j[6] || 0, N)) : new Date(j[1], C, j[3] || 1, j[4] || 0, j[5] || 0, j[6] || 0, N);
563
563
  }
564
564
  }
565
565
  return new Date(x);
566
566
  }(v), this.init();
567
- }, S.init = function() {
567
+ }, D.init = function() {
568
568
  var v = this.$d;
569
569
  this.$y = v.getFullYear(), this.$M = v.getMonth(), this.$D = v.getDate(), this.$W = v.getDay(), this.$H = v.getHours(), this.$m = v.getMinutes(), this.$s = v.getSeconds(), this.$ms = v.getMilliseconds();
570
- }, S.$utils = function() {
571
- return I;
572
- }, S.isValid = function() {
573
- return this.$d.toString() !== l;
574
- }, S.isSame = function(v, T) {
570
+ }, D.$utils = function() {
571
+ return O;
572
+ }, D.isValid = function() {
573
+ return this.$d.toString() !== f;
574
+ }, D.isSame = function(v, T) {
575
575
  var x = d(v);
576
576
  return this.startOf(T) <= x && x <= this.endOf(T);
577
- }, S.isAfter = function(v, T) {
577
+ }, D.isAfter = function(v, T) {
578
578
  return d(v) < this.startOf(T);
579
- }, S.isBefore = function(v, T) {
579
+ }, D.isBefore = function(v, T) {
580
580
  return this.endOf(T) < d(v);
581
- }, S.$g = function(v, T, x) {
582
- return I.u(v) ? this[T] : this.set(x, v);
583
- }, S.unix = function() {
581
+ }, D.$g = function(v, T, x) {
582
+ return O.u(v) ? this[T] : this.set(x, v);
583
+ }, D.unix = function() {
584
584
  return Math.floor(this.valueOf() / 1e3);
585
- }, S.valueOf = function() {
585
+ }, D.valueOf = function() {
586
586
  return this.$d.getTime();
587
- }, S.startOf = function(v, T) {
588
- var x = this, L = !!I.u(T) || T, Z = I.p(v), A = function(re, G) {
589
- var ee = I.w(x.$u ? Date.UTC(x.$y, G, re) : new Date(x.$y, G, re), x);
590
- return L ? ee : ee.endOf(m);
591
- }, N = function(re, G) {
592
- return I.w(x.toDate()[re].apply(x.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), x);
593
- }, H = this.$W, z = this.$M, J = this.$D, ae = "set" + (this.$u ? "UTC" : "");
594
- switch (Z) {
587
+ }, D.startOf = function(v, T) {
588
+ var x = this, R = !!O.u(T) || T, j = O.p(v), C = function(ae, G) {
589
+ var te = O.w(x.$u ? Date.UTC(x.$y, G, ae) : new Date(x.$y, G, ae), x);
590
+ return R ? te : te.endOf(m);
591
+ }, N = function(ae, G) {
592
+ return O.w(x.toDate()[ae].apply(x.toDate("s"), (R ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), x);
593
+ }, z = this.$W, Y = this.$M, J = this.$D, se = "set" + (this.$u ? "UTC" : "");
594
+ switch (j) {
595
595
  case y:
596
- return L ? A(1, 0) : A(31, 11);
596
+ return R ? C(1, 0) : C(31, 11);
597
597
  case r:
598
- return L ? A(1, z) : A(0, z + 1);
599
- case h:
600
- var ne = this.$locale().weekStart || 0, ue = (H < ne ? H + 7 : H) - ne;
601
- return A(L ? J - ue : J + (6 - ue), z);
602
- case m:
598
+ return R ? C(1, Y) : C(0, Y + 1);
603
599
  case g:
604
- return N(ae + "Hours", 0);
600
+ var re = this.$locale().weekStart || 0, de = (z < re ? z + 7 : z) - re;
601
+ return C(R ? J - de : J + (6 - de), Y);
602
+ case m:
603
+ case h:
604
+ return N(se + "Hours", 0);
605
605
  case p:
606
- return N(ae + "Minutes", 1);
606
+ return N(se + "Minutes", 1);
607
607
  case u:
608
- return N(ae + "Seconds", 2);
609
- case f:
610
- return N(ae + "Milliseconds", 3);
608
+ return N(se + "Seconds", 2);
609
+ case l:
610
+ return N(se + "Milliseconds", 3);
611
611
  default:
612
612
  return this.clone();
613
613
  }
614
- }, S.endOf = function(v) {
614
+ }, D.endOf = function(v) {
615
615
  return this.startOf(v, !1);
616
- }, S.$set = function(v, T) {
617
- var x, L = I.p(v), Z = "set" + (this.$u ? "UTC" : ""), A = (x = {}, x[m] = Z + "Date", x[g] = Z + "Date", x[r] = Z + "Month", x[y] = Z + "FullYear", x[p] = Z + "Hours", x[u] = Z + "Minutes", x[f] = Z + "Seconds", x[e] = Z + "Milliseconds", x)[L], N = L === m ? this.$D + (T - this.$W) : T;
618
- if (L === r || L === y) {
619
- var H = this.clone().set(g, 1);
620
- H.$d[A](N), H.init(), this.$d = H.set(g, Math.min(this.$D, H.daysInMonth())).$d;
621
- } else A && this.$d[A](N);
616
+ }, D.$set = function(v, T) {
617
+ var x, R = O.p(v), j = "set" + (this.$u ? "UTC" : ""), C = (x = {}, x[m] = j + "Date", x[h] = j + "Date", x[r] = j + "Month", x[y] = j + "FullYear", x[p] = j + "Hours", x[u] = j + "Minutes", x[l] = j + "Seconds", x[e] = j + "Milliseconds", x)[R], N = R === m ? this.$D + (T - this.$W) : T;
618
+ if (R === r || R === y) {
619
+ var z = this.clone().set(h, 1);
620
+ z.$d[C](N), z.init(), this.$d = z.set(h, Math.min(this.$D, z.daysInMonth())).$d;
621
+ } else C && this.$d[C](N);
622
622
  return this.init(), this;
623
- }, S.set = function(v, T) {
623
+ }, D.set = function(v, T) {
624
624
  return this.clone().$set(v, T);
625
- }, S.get = function(v) {
626
- return this[I.p(v)]();
627
- }, S.add = function(v, T) {
628
- var x, L = this;
625
+ }, D.get = function(v) {
626
+ return this[O.p(v)]();
627
+ }, D.add = function(v, T) {
628
+ var x, R = this;
629
629
  v = Number(v);
630
- var Z = I.p(T), A = function(z) {
631
- var J = d(L);
632
- return I.w(J.date(J.date() + Math.round(z * v)), L);
630
+ var j = O.p(T), C = function(Y) {
631
+ var J = d(R);
632
+ return O.w(J.date(J.date() + Math.round(Y * v)), R);
633
633
  };
634
- if (Z === r) return this.set(r, this.$M + v);
635
- if (Z === y) return this.set(y, this.$y + v);
636
- if (Z === m) return A(1);
637
- if (Z === h) return A(7);
638
- var N = (x = {}, x[u] = i, x[p] = s, x[f] = a, x)[Z] || 1, H = this.$d.getTime() + v * N;
639
- return I.w(H, this);
640
- }, S.subtract = function(v, T) {
634
+ if (j === r) return this.set(r, this.$M + v);
635
+ if (j === y) return this.set(y, this.$y + v);
636
+ if (j === m) return C(1);
637
+ if (j === g) return C(7);
638
+ var N = (x = {}, x[u] = i, x[p] = s, x[l] = a, x)[j] || 1, z = this.$d.getTime() + v * N;
639
+ return O.w(z, this);
640
+ }, D.subtract = function(v, T) {
641
641
  return this.add(-1 * v, T);
642
- }, S.format = function(v) {
642
+ }, D.format = function(v) {
643
643
  var T = this, x = this.$locale();
644
- if (!this.isValid()) return x.invalidDate || l;
645
- var L = v || "YYYY-MM-DDTHH:mm:ssZ", Z = I.z(this), A = this.$H, N = this.$m, H = this.$M, z = x.weekdays, J = x.months, ae = x.meridiem, ne = function(G, ee, oe, le) {
646
- return G && (G[ee] || G(T, L)) || oe[ee].slice(0, le);
647
- }, ue = function(G) {
648
- return I.s(A % 12 || 12, G, "0");
649
- }, re = ae || function(G, ee, oe) {
650
- var le = G < 12 ? "AM" : "PM";
651
- return oe ? le.toLowerCase() : le;
644
+ if (!this.isValid()) return x.invalidDate || f;
645
+ var R = v || "YYYY-MM-DDTHH:mm:ssZ", j = O.z(this), C = this.$H, N = this.$m, z = this.$M, Y = x.weekdays, J = x.months, se = x.meridiem, re = function(G, te, ie, fe) {
646
+ return G && (G[te] || G(T, R)) || ie[te].slice(0, fe);
647
+ }, de = function(G) {
648
+ return O.s(C % 12 || 12, G, "0");
649
+ }, ae = se || function(G, te, ie) {
650
+ var fe = G < 12 ? "AM" : "PM";
651
+ return ie ? fe.toLowerCase() : fe;
652
652
  };
653
- return L.replace(E, function(G, ee) {
654
- return ee || function(oe) {
655
- switch (oe) {
653
+ return R.replace(E, function(G, te) {
654
+ return te || function(ie) {
655
+ switch (ie) {
656
656
  case "YY":
657
657
  return String(T.$y).slice(-2);
658
658
  case "YYYY":
659
- return I.s(T.$y, 4, "0");
659
+ return O.s(T.$y, 4, "0");
660
660
  case "M":
661
- return H + 1;
661
+ return z + 1;
662
662
  case "MM":
663
- return I.s(H + 1, 2, "0");
663
+ return O.s(z + 1, 2, "0");
664
664
  case "MMM":
665
- return ne(x.monthsShort, H, J, 3);
665
+ return re(x.monthsShort, z, J, 3);
666
666
  case "MMMM":
667
- return ne(J, H);
667
+ return re(J, z);
668
668
  case "D":
669
669
  return T.$D;
670
670
  case "DD":
671
- return I.s(T.$D, 2, "0");
671
+ return O.s(T.$D, 2, "0");
672
672
  case "d":
673
673
  return String(T.$W);
674
674
  case "dd":
675
- return ne(x.weekdaysMin, T.$W, z, 2);
675
+ return re(x.weekdaysMin, T.$W, Y, 2);
676
676
  case "ddd":
677
- return ne(x.weekdaysShort, T.$W, z, 3);
677
+ return re(x.weekdaysShort, T.$W, Y, 3);
678
678
  case "dddd":
679
- return z[T.$W];
679
+ return Y[T.$W];
680
680
  case "H":
681
- return String(A);
681
+ return String(C);
682
682
  case "HH":
683
- return I.s(A, 2, "0");
683
+ return O.s(C, 2, "0");
684
684
  case "h":
685
- return ue(1);
685
+ return de(1);
686
686
  case "hh":
687
- return ue(2);
687
+ return de(2);
688
688
  case "a":
689
- return re(A, N, !0);
689
+ return ae(C, N, !0);
690
690
  case "A":
691
- return re(A, N, !1);
691
+ return ae(C, N, !1);
692
692
  case "m":
693
693
  return String(N);
694
694
  case "mm":
695
- return I.s(N, 2, "0");
695
+ return O.s(N, 2, "0");
696
696
  case "s":
697
697
  return String(T.$s);
698
698
  case "ss":
699
- return I.s(T.$s, 2, "0");
699
+ return O.s(T.$s, 2, "0");
700
700
  case "SSS":
701
- return I.s(T.$ms, 3, "0");
701
+ return O.s(T.$ms, 3, "0");
702
702
  case "Z":
703
- return Z;
703
+ return j;
704
704
  }
705
705
  return null;
706
- }(G) || Z.replace(":", "");
706
+ }(G) || j.replace(":", "");
707
707
  });
708
- }, S.utcOffset = function() {
708
+ }, D.utcOffset = function() {
709
709
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
710
- }, S.diff = function(v, T, x) {
711
- var L, Z = this, A = I.p(T), N = d(v), H = (N.utcOffset() - this.utcOffset()) * i, z = this - N, J = function() {
712
- return I.m(Z, N);
710
+ }, D.diff = function(v, T, x) {
711
+ var R, j = this, C = O.p(T), N = d(v), z = (N.utcOffset() - this.utcOffset()) * i, Y = this - N, J = function() {
712
+ return O.m(j, N);
713
713
  };
714
- switch (A) {
714
+ switch (C) {
715
715
  case y:
716
- L = J() / 12;
716
+ R = J() / 12;
717
717
  break;
718
718
  case r:
719
- L = J();
719
+ R = J();
720
720
  break;
721
721
  case c:
722
- L = J() / 3;
722
+ R = J() / 3;
723
723
  break;
724
- case h:
725
- L = (z - H) / 6048e5;
724
+ case g:
725
+ R = (Y - z) / 6048e5;
726
726
  break;
727
727
  case m:
728
- L = (z - H) / 864e5;
728
+ R = (Y - z) / 864e5;
729
729
  break;
730
730
  case p:
731
- L = z / s;
731
+ R = Y / s;
732
732
  break;
733
733
  case u:
734
- L = z / i;
734
+ R = Y / i;
735
735
  break;
736
- case f:
737
- L = z / a;
736
+ case l:
737
+ R = Y / a;
738
738
  break;
739
739
  default:
740
- L = z;
740
+ R = Y;
741
741
  }
742
- return x ? L : I.a(L);
743
- }, S.daysInMonth = function() {
742
+ return x ? R : O.a(R);
743
+ }, D.daysInMonth = function() {
744
744
  return this.endOf(r).$D;
745
- }, S.$locale = function() {
746
- return O[this.$L];
747
- }, S.locale = function(v, T) {
745
+ }, D.$locale = function() {
746
+ return k[this.$L];
747
+ }, D.locale = function(v, T) {
748
748
  if (!v) return this.$L;
749
- var x = this.clone(), L = $(v, T, !0);
750
- return L && (x.$L = L), x;
751
- }, S.clone = function() {
752
- return I.w(this.$d, this);
753
- }, S.toDate = function() {
749
+ var x = this.clone(), R = $(v, T, !0);
750
+ return R && (x.$L = R), x;
751
+ }, D.clone = function() {
752
+ return O.w(this.$d, this);
753
+ }, D.toDate = function() {
754
754
  return new Date(this.valueOf());
755
- }, S.toJSON = function() {
755
+ }, D.toJSON = function() {
756
756
  return this.isValid() ? this.toISOString() : null;
757
- }, S.toISOString = function() {
757
+ }, D.toISOString = function() {
758
758
  return this.$d.toISOString();
759
- }, S.toString = function() {
759
+ }, D.toString = function() {
760
760
  return this.$d.toUTCString();
761
- }, F;
762
- }(), pe = B.prototype;
763
- return d.prototype = pe, [["$ms", e], ["$s", f], ["$m", u], ["$H", p], ["$W", m], ["$M", r], ["$y", y], ["$D", g]].forEach(function(F) {
764
- pe[F[1]] = function(S) {
765
- return this.$g(S, F[0], F[1]);
761
+ }, I;
762
+ }(), ee = B.prototype;
763
+ return d.prototype = ee, [["$ms", e], ["$s", l], ["$m", u], ["$H", p], ["$W", m], ["$M", r], ["$y", y], ["$D", h]].forEach(function(I) {
764
+ ee[I[1]] = function(D) {
765
+ return this.$g(D, I[0], I[1]);
766
766
  };
767
- }), d.extend = function(F, S) {
768
- return F.$i || (F(S, B, d), F.$i = !0), d;
769
- }, d.locale = $, d.isDayjs = Y, d.unix = function(F) {
770
- return d(1e3 * F);
771
- }, d.en = O[k], d.Ls = O, d.p = {}, d;
767
+ }), d.extend = function(I, D) {
768
+ return I.$i || (I(D, B, d), I.$i = !0), d;
769
+ }, d.locale = $, d.isDayjs = W, d.unix = function(I) {
770
+ return d(1e3 * I);
771
+ }, d.en = k[L], d.Ls = k, d.p = {}, d;
772
772
  });
773
773
  }(be)), be.exports;
774
774
  }
775
775
  var $t = mt();
776
- const W = /* @__PURE__ */ te($t);
776
+ const H = /* @__PURE__ */ ne($t);
777
777
  function gt(n, o, a, i) {
778
778
  if (!a.length)
779
779
  return { barMarginLeftAmount: 0, barWidthSize: 0 };
780
- const { tickUnit: s, unitPerTick: e } = K[i], f = a.reduce((l, D) => l + D.widthPx, 0), u = a[0].startDate, p = a[a.length - 1].startDate, m = W(p).add(e, s).diff(u), h = f / m, r = n.diff(u), c = o.diff(u), y = r * h, g = Math.max(c - r, 1) * h;
781
- return { barMarginLeftAmount: y, barWidthSize: g };
780
+ const { tickUnit: s, unitPerTick: e } = K[i], l = a.reduce((f, S) => f + S.widthPx, 0), u = a[0].startDate, p = a[a.length - 1].startDate, m = H(p).add(e, s).diff(u), g = l / m, r = n.diff(u), c = o.diff(u), y = r * g, h = Math.max(c - r, 1) * g;
781
+ return { barMarginLeftAmount: y, barWidthSize: h };
782
782
  }
783
783
  function vt(n) {
784
784
  let o = 1 / 0, a = -1 / 0;
785
785
  for (const { startDate: i, endDate: s } of Object.values(n)) {
786
- const e = W(i).valueOf(), f = W(s).valueOf();
787
- Number.isNaN(e) || (o = Math.min(o, e)), Number.isNaN(f) || (a = Math.max(a, f));
786
+ const e = H(i).valueOf(), l = H(s).valueOf();
787
+ Number.isNaN(e) || (o = Math.min(o, e)), Number.isNaN(l) || (a = Math.max(a, l));
788
788
  }
789
- return { minDate: W(o), maxDate: W(a) };
789
+ return { minDate: H(o), maxDate: H(a) };
790
790
  }
791
791
  function yt(n, o, a) {
792
792
  const { tickUnit: i, unitPerTick: s } = K[a];
@@ -799,64 +799,64 @@ function yt(n, o, a) {
799
799
  };
800
800
  }
801
801
  function Dt(n, o, a) {
802
- const { tickUnit: i, unitPerTick: s, basePxPerDragStep: e, dragStepUnit: f, dragStepAmount: u } = K[a], p = [];
802
+ const { tickUnit: i, unitPerTick: s, basePxPerDragStep: e, dragStepUnit: l, dragStepAmount: u } = K[a], p = [];
803
803
  let m = n.startOf(i);
804
804
  for (; m.isBefore(o); ) {
805
- const h = W(m).add(s, i).diff(m, f) / u;
805
+ const g = H(m).add(s, i).diff(m, l) / u;
806
806
  p.push({
807
807
  startDate: m,
808
- widthPx: h * e
808
+ widthPx: g * e
809
809
  }), m = m.add(s, i);
810
810
  }
811
811
  return p;
812
812
  }
813
813
  function ct(n, o) {
814
814
  const { labelUnit: a, formatHeaderLabel: i } = K[o], s = [];
815
- let e = null, f = "", u = 0, p = null;
816
- return n.forEach((m, h) => {
815
+ let e = null, l = "", u = 0, p = null;
816
+ return n.forEach((m, g) => {
817
817
  const r = m.startDate.startOf(a), c = r.valueOf(), y = (i == null ? void 0 : i(r)) ?? r.format();
818
818
  c === e ? u += m.widthPx : (e !== null && s.push({
819
- label: f,
819
+ label: l,
820
820
  widthPx: u,
821
821
  startDate: p
822
- }), e = c, f = y, u = m.widthPx, p = r), h === n.length - 1 && s.push({
823
- label: f,
822
+ }), e = c, l = y, u = m.widthPx, p = r), g === n.length - 1 && s.push({
823
+ label: l,
824
824
  widthPx: u,
825
825
  startDate: p
826
826
  });
827
827
  }), s;
828
828
  }
829
829
  function St(n, o, a, i, s, e) {
830
- const { minDate: f, maxDate: u } = vt(n);
831
- a(f), i(u);
830
+ const { minDate: l, maxDate: u } = vt(n);
831
+ a(l), i(u);
832
832
  const { paddedMinDate: p, paddedMaxDate: m } = yt(
833
- f,
833
+ l,
834
834
  u,
835
835
  o
836
- ), h = Dt(
836
+ ), g = Dt(
837
837
  p,
838
838
  m,
839
839
  o
840
- ), r = ct(h, o);
841
- s(h), e(r);
840
+ ), r = ct(g, o);
841
+ s(g), e(r);
842
842
  }
843
843
  const xt = ({
844
844
  bottomRowCells: n,
845
845
  selectedScale: o,
846
846
  scrollRef: a
847
847
  }) => {
848
- var h;
849
- const i = K[o], [s, e] = de(0), f = _e(
848
+ var g;
849
+ const i = K[o], [s, e] = oe(0), l = _e(
850
850
  () => ct(n, o),
851
851
  [n, o]
852
852
  ), u = _e(() => {
853
853
  const r = [];
854
- for (const c of f) {
854
+ for (const c of l) {
855
855
  const y = r[r.length - 1];
856
856
  y && y.label === c.label ? y.widthPx += c.widthPx : r.push({ ...c });
857
857
  }
858
858
  return r;
859
- }, [f]), p = _e(() => {
859
+ }, [l]), p = _e(() => {
860
860
  let r = 0;
861
861
  return u.map((c) => {
862
862
  const y = { ...c, left: r };
@@ -868,16 +868,16 @@ const xt = ({
868
868
  if (!r) return;
869
869
  const c = () => {
870
870
  const y = r.scrollLeft;
871
- for (let g = p.length - 1; g >= 0; g--)
872
- if (y >= p[g].left) {
873
- e(g);
871
+ for (let h = p.length - 1; h >= 0; h--)
872
+ if (y >= p[h].left) {
873
+ e(h);
874
874
  break;
875
875
  }
876
876
  };
877
877
  return r.addEventListener("scroll", c), c(), () => r.removeEventListener("scroll", c);
878
878
  }, [p]);
879
- const m = ((h = p[s]) == null ? void 0 : h.label) ?? "";
880
- return /* @__PURE__ */ q.jsx(
879
+ const m = ((g = p[s]) == null ? void 0 : g.label) ?? "";
880
+ return /* @__PURE__ */ A.jsx(
881
881
  "div",
882
882
  {
883
883
  style: {
@@ -886,7 +886,7 @@ const xt = ({
886
886
  zIndex: 30,
887
887
  backgroundColor: "#F0F1F2"
888
888
  },
889
- children: /* @__PURE__ */ q.jsxs(
889
+ children: /* @__PURE__ */ A.jsxs(
890
890
  "div",
891
891
  {
892
892
  style: {
@@ -896,7 +896,7 @@ const xt = ({
896
896
  // backgroundColor: '#F0F1F2',
897
897
  },
898
898
  children: [
899
- /* @__PURE__ */ q.jsxs(
899
+ /* @__PURE__ */ A.jsxs(
900
900
  "div",
901
901
  {
902
902
  style: {
@@ -906,7 +906,7 @@ const xt = ({
906
906
  // backgroundColor: '#F0F1F2',
907
907
  },
908
908
  children: [
909
- /* @__PURE__ */ q.jsx(
909
+ /* @__PURE__ */ A.jsx(
910
910
  "div",
911
911
  {
912
912
  style: {
@@ -919,20 +919,20 @@ const xt = ({
919
919
  alignItems: "center",
920
920
  justifyContent: "center",
921
921
  backgroundColor: "#F0F1F2",
922
- borderBottom: "1px solid #D6D6D8",
922
+ // borderBottom: '1px solid #D6D6D8',
923
923
  fontSize: "0.875rem",
924
924
  fontWeight: "bold"
925
925
  },
926
926
  children: m
927
927
  }
928
928
  ),
929
- /* @__PURE__ */ q.jsx(
929
+ /* @__PURE__ */ A.jsx(
930
930
  "div",
931
931
  {
932
932
  style: {
933
933
  display: "flex"
934
934
  },
935
- children: p.map((r, c) => /* @__PURE__ */ q.jsx(
935
+ children: p.map((r, c) => /* @__PURE__ */ A.jsx(
936
936
  "div",
937
937
  {
938
938
  style: {
@@ -941,10 +941,10 @@ const xt = ({
941
941
  fontWeight: "bold",
942
942
  textAlign: "left",
943
943
  width: `${r.widthPx}px`,
944
- borderBottom: "1px solid #D6D6D8",
944
+ // borderBottom: '1px solid #D6D6D8',
945
945
  backgroundColor: "#F0F1F2"
946
946
  },
947
- children: /* @__PURE__ */ q.jsx(
947
+ children: /* @__PURE__ */ A.jsx(
948
948
  "p",
949
949
  {
950
950
  style: {
@@ -962,16 +962,17 @@ const xt = ({
962
962
  ]
963
963
  }
964
964
  ),
965
- /* @__PURE__ */ q.jsx(
965
+ /* @__PURE__ */ A.jsx(
966
966
  "div",
967
967
  {
968
968
  style: {
969
+ borderTop: "1px solid #D6D6D8",
969
970
  display: "flex"
970
971
  },
971
972
  children: n.map((r, c) => {
972
- var g;
973
- const y = ((g = i.formatTickLabel) == null ? void 0 : g.call(i, r.startDate)) || "";
974
- return /* @__PURE__ */ q.jsx(
973
+ var h;
974
+ const y = ((h = i.formatTickLabel) == null ? void 0 : h.call(i, r.startDate)) || "";
975
+ return /* @__PURE__ */ A.jsx(
975
976
  "div",
976
977
  {
977
978
  style: {
@@ -1001,16 +1002,16 @@ function wt() {
1001
1002
  n.exports = i();
1002
1003
  })(bt, function() {
1003
1004
  return function(a, i, s) {
1004
- i.prototype.isBetween = function(e, f, u, p) {
1005
- var m = s(e), h = s(f), r = (p = p || "()")[0] === "(", c = p[1] === ")";
1006
- return (r ? this.isAfter(m, u) : !this.isBefore(m, u)) && (c ? this.isBefore(h, u) : !this.isAfter(h, u)) || (r ? this.isBefore(m, u) : !this.isAfter(m, u)) && (c ? this.isAfter(h, u) : !this.isBefore(h, u));
1005
+ i.prototype.isBetween = function(e, l, u, p) {
1006
+ var m = s(e), g = s(l), r = (p = p || "()")[0] === "(", c = p[1] === ")";
1007
+ return (r ? this.isAfter(m, u) : !this.isBefore(m, u)) && (c ? this.isBefore(g, u) : !this.isAfter(g, u)) || (r ? this.isBefore(m, u) : !this.isAfter(m, u)) && (c ? this.isAfter(g, u) : !this.isBefore(g, u));
1007
1008
  };
1008
1009
  };
1009
1010
  });
1010
1011
  }(we)), we.exports;
1011
1012
  }
1012
1013
  var Tt = wt();
1013
- const kt = /* @__PURE__ */ te(Tt);
1014
+ const kt = /* @__PURE__ */ ne(Tt);
1014
1015
  var Te = { exports: {} }, Et = Te.exports, Ve;
1015
1016
  function Mt() {
1016
1017
  return Ve || (Ve = 1, function(n, o) {
@@ -1019,29 +1020,29 @@ function Mt() {
1019
1020
  })(Et, function() {
1020
1021
  var a = "day";
1021
1022
  return function(i, s, e) {
1022
- var f = function(m) {
1023
+ var l = function(m) {
1023
1024
  return m.add(4 - m.isoWeekday(), a);
1024
1025
  }, u = s.prototype;
1025
1026
  u.isoWeekYear = function() {
1026
- return f(this).year();
1027
+ return l(this).year();
1027
1028
  }, u.isoWeek = function(m) {
1028
1029
  if (!this.$utils().u(m)) return this.add(7 * (m - this.isoWeek()), a);
1029
- var h, r, c, y, g = f(this), l = (h = this.isoWeekYear(), r = this.$u, c = (r ? e.utc : e)().year(h).startOf("year"), y = 4 - c.isoWeekday(), c.isoWeekday() > 4 && (y += 7), c.add(y, a));
1030
- return g.diff(l, "week") + 1;
1030
+ var g, r, c, y, h = l(this), f = (g = this.isoWeekYear(), r = this.$u, c = (r ? e.utc : e)().year(g).startOf("year"), y = 4 - c.isoWeekday(), c.isoWeekday() > 4 && (y += 7), c.add(y, a));
1031
+ return h.diff(f, "week") + 1;
1031
1032
  }, u.isoWeekday = function(m) {
1032
1033
  return this.$utils().u(m) ? this.day() || 7 : this.day(this.day() % 7 ? m : m - 7);
1033
1034
  };
1034
1035
  var p = u.startOf;
1035
- u.startOf = function(m, h) {
1036
- var r = this.$utils(), c = !!r.u(h) || h;
1037
- return r.p(m) === "isoweek" ? c ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : p.bind(this)(m, h);
1036
+ u.startOf = function(m, g) {
1037
+ var r = this.$utils(), c = !!r.u(g) || g;
1038
+ return r.p(m) === "isoweek" ? c ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : p.bind(this)(m, g);
1038
1039
  };
1039
1040
  };
1040
1041
  });
1041
1042
  }(Te)), Te.exports;
1042
1043
  }
1043
- var Ot = Mt();
1044
- const It = /* @__PURE__ */ te(Ot);
1044
+ var It = Mt();
1045
+ const Ot = /* @__PURE__ */ ne(It);
1045
1046
  var ke = { exports: {} }, Rt = ke.exports, Je;
1046
1047
  function Lt() {
1047
1048
  return Je || (Je = 1, function(n, o) {
@@ -1057,7 +1058,7 @@ function Lt() {
1057
1058
  }(ke)), ke.exports;
1058
1059
  }
1059
1060
  var Ft = Lt();
1060
- const jt = /* @__PURE__ */ te(Ft);
1061
+ const jt = /* @__PURE__ */ ne(Ft);
1061
1062
  var Ee = { exports: {} }, Zt = Ee.exports, Qe;
1062
1063
  function _t() {
1063
1064
  return Qe || (Qe = 1, function(n, o) {
@@ -1073,51 +1074,51 @@ function _t() {
1073
1074
  }(Ee)), Ee.exports;
1074
1075
  }
1075
1076
  var Pt = _t();
1076
- const At = /* @__PURE__ */ te(Pt);
1077
- var Me = { exports: {} }, Ct = Me.exports, Ke;
1077
+ const Ct = /* @__PURE__ */ ne(Pt);
1078
+ var Me = { exports: {} }, At = Me.exports, Ke;
1078
1079
  function qt() {
1079
1080
  return Ke || (Ke = 1, function(n, o) {
1080
1081
  (function(a, i) {
1081
1082
  n.exports = i();
1082
- })(Ct, function() {
1083
+ })(At, function() {
1083
1084
  return function(a, i, s) {
1084
1085
  i.prototype.isToday = function() {
1085
- var e = "YYYY-MM-DD", f = s();
1086
- return this.format(e) === f.format(e);
1086
+ var e = "YYYY-MM-DD", l = s();
1087
+ return this.format(e) === l.format(e);
1087
1088
  };
1088
1089
  };
1089
1090
  });
1090
1091
  }(Me)), Me.exports;
1091
1092
  }
1092
1093
  var Wt = qt();
1093
- const Nt = /* @__PURE__ */ te(Wt);
1094
- var Oe = { exports: {} }, Ut = Oe.exports, et;
1095
- function Ht() {
1094
+ const Ht = /* @__PURE__ */ ne(Wt);
1095
+ var Ie = { exports: {} }, Nt = Ie.exports, et;
1096
+ function Ut() {
1096
1097
  return et || (et = 1, function(n, o) {
1097
1098
  (function(a, i) {
1098
1099
  n.exports = i();
1099
- })(Ut, function() {
1100
+ })(Nt, function() {
1100
1101
  return function(a, i, s) {
1101
- var e = i.prototype, f = function(r) {
1102
+ var e = i.prototype, l = function(r) {
1102
1103
  return r && (r.indexOf ? r : r.s);
1103
- }, u = function(r, c, y, g, l) {
1104
- var D = r.name ? r : r.$locale(), E = f(D[c]), j = f(D[y]), M = E || j.map(function(k) {
1105
- return k.slice(0, g);
1104
+ }, u = function(r, c, y, h, f) {
1105
+ var S = r.name ? r : r.$locale(), E = l(S[c]), F = l(S[y]), M = E || F.map(function(L) {
1106
+ return L.slice(0, h);
1106
1107
  });
1107
- if (!l) return M;
1108
- var R = D.weekStart;
1109
- return M.map(function(k, O) {
1110
- return M[(O + (R || 0)) % 7];
1108
+ if (!f) return M;
1109
+ var Z = S.weekStart;
1110
+ return M.map(function(L, k) {
1111
+ return M[(k + (Z || 0)) % 7];
1111
1112
  });
1112
1113
  }, p = function() {
1113
1114
  return s.Ls[s.locale()];
1114
1115
  }, m = function(r, c) {
1115
1116
  return r.formats[c] || function(y) {
1116
- return y.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(g, l, D) {
1117
- return l || D.slice(1);
1117
+ return y.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(h, f, S) {
1118
+ return f || S.slice(1);
1118
1119
  });
1119
1120
  }(r.formats[c.toUpperCase()]);
1120
- }, h = function() {
1121
+ }, g = function() {
1121
1122
  var r = this;
1122
1123
  return { months: function(c) {
1123
1124
  return c ? c.format("MMMM") : u(r, "months");
@@ -1136,7 +1137,7 @@ function Ht() {
1136
1137
  }, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
1137
1138
  };
1138
1139
  e.localeData = function() {
1139
- return h.bind(this)();
1140
+ return g.bind(this)();
1140
1141
  }, s.localeData = function() {
1141
1142
  var r = p();
1142
1143
  return { firstDayOfWeek: function() {
@@ -1167,75 +1168,75 @@ function Ht() {
1167
1168
  };
1168
1169
  };
1169
1170
  });
1170
- }(Oe)), Oe.exports;
1171
+ }(Ie)), Ie.exports;
1171
1172
  }
1172
- var zt = Ht();
1173
- const Yt = /* @__PURE__ */ te(zt);
1174
- var Ie = { exports: {} }, Bt = Ie.exports, tt;
1173
+ var zt = Ut();
1174
+ const Yt = /* @__PURE__ */ ne(zt);
1175
+ var Oe = { exports: {} }, Bt = Oe.exports, tt;
1175
1176
  function Gt() {
1176
1177
  return tt || (tt = 1, function(n, o) {
1177
1178
  (function(a, i) {
1178
1179
  n.exports = i();
1179
1180
  })(Bt, function() {
1180
1181
  var a = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, i = {};
1181
- return function(s, e, f) {
1182
- var u, p = function(c, y, g) {
1183
- g === void 0 && (g = {});
1184
- var l = new Date(c), D = function(E, j) {
1185
- j === void 0 && (j = {});
1186
- var M = j.timeZoneName || "short", R = E + "|" + M, k = i[R];
1187
- return k || (k = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: E, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: M }), i[R] = k), k;
1188
- }(y, g);
1189
- return D.formatToParts(l);
1182
+ return function(s, e, l) {
1183
+ var u, p = function(c, y, h) {
1184
+ h === void 0 && (h = {});
1185
+ var f = new Date(c), S = function(E, F) {
1186
+ F === void 0 && (F = {});
1187
+ var M = F.timeZoneName || "short", Z = E + "|" + M, L = i[Z];
1188
+ return L || (L = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: E, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: M }), i[Z] = L), L;
1189
+ }(y, h);
1190
+ return S.formatToParts(f);
1190
1191
  }, m = function(c, y) {
1191
- for (var g = p(c, y), l = [], D = 0; D < g.length; D += 1) {
1192
- var E = g[D], j = E.type, M = E.value, R = a[j];
1193
- R >= 0 && (l[R] = parseInt(M, 10));
1192
+ for (var h = p(c, y), f = [], S = 0; S < h.length; S += 1) {
1193
+ var E = h[S], F = E.type, M = E.value, Z = a[F];
1194
+ Z >= 0 && (f[Z] = parseInt(M, 10));
1194
1195
  }
1195
- var k = l[3], O = k === 24 ? 0 : k, P = l[0] + "-" + l[1] + "-" + l[2] + " " + O + ":" + l[4] + ":" + l[5] + ":000", Y = +c;
1196
- return (f.utc(P).valueOf() - (Y -= Y % 1e3)) / 6e4;
1197
- }, h = e.prototype;
1198
- h.tz = function(c, y) {
1196
+ var L = f[3], k = L === 24 ? 0 : L, P = f[0] + "-" + f[1] + "-" + f[2] + " " + k + ":" + f[4] + ":" + f[5] + ":000", W = +c;
1197
+ return (l.utc(P).valueOf() - (W -= W % 1e3)) / 6e4;
1198
+ }, g = e.prototype;
1199
+ g.tz = function(c, y) {
1199
1200
  c === void 0 && (c = u);
1200
- var g, l = this.utcOffset(), D = this.toDate(), E = D.toLocaleString("en-US", { timeZone: c }), j = Math.round((D - new Date(E)) / 1e3 / 60), M = 15 * -Math.round(D.getTimezoneOffset() / 15) - j;
1201
- if (!Number(M)) g = this.utcOffset(0, y);
1202
- else if (g = f(E, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(M, !0), y) {
1203
- var R = g.utcOffset();
1204
- g = g.add(l - R, "minute");
1201
+ var h, f = this.utcOffset(), S = this.toDate(), E = S.toLocaleString("en-US", { timeZone: c }), F = Math.round((S - new Date(E)) / 1e3 / 60), M = 15 * -Math.round(S.getTimezoneOffset() / 15) - F;
1202
+ if (!Number(M)) h = this.utcOffset(0, y);
1203
+ else if (h = l(E, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(M, !0), y) {
1204
+ var Z = h.utcOffset();
1205
+ h = h.add(f - Z, "minute");
1205
1206
  }
1206
- return g.$x.$timezone = c, g;
1207
- }, h.offsetName = function(c) {
1208
- var y = this.$x.$timezone || f.tz.guess(), g = p(this.valueOf(), y, { timeZoneName: c }).find(function(l) {
1209
- return l.type.toLowerCase() === "timezonename";
1207
+ return h.$x.$timezone = c, h;
1208
+ }, g.offsetName = function(c) {
1209
+ var y = this.$x.$timezone || l.tz.guess(), h = p(this.valueOf(), y, { timeZoneName: c }).find(function(f) {
1210
+ return f.type.toLowerCase() === "timezonename";
1210
1211
  });
1211
- return g && g.value;
1212
+ return h && h.value;
1212
1213
  };
1213
- var r = h.startOf;
1214
- h.startOf = function(c, y) {
1214
+ var r = g.startOf;
1215
+ g.startOf = function(c, y) {
1215
1216
  if (!this.$x || !this.$x.$timezone) return r.call(this, c, y);
1216
- var g = f(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
1217
- return r.call(g, c, y).tz(this.$x.$timezone, !0);
1218
- }, f.tz = function(c, y, g) {
1219
- var l = g && y, D = g || y || u, E = m(+f(), D);
1220
- if (typeof c != "string") return f(c).tz(D);
1221
- var j = function(O, P, Y) {
1222
- var $ = O - 60 * P * 1e3, d = m($, Y);
1217
+ var h = l(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
1218
+ return r.call(h, c, y).tz(this.$x.$timezone, !0);
1219
+ }, l.tz = function(c, y, h) {
1220
+ var f = h && y, S = h || y || u, E = m(+l(), S);
1221
+ if (typeof c != "string") return l(c).tz(S);
1222
+ var F = function(k, P, W) {
1223
+ var $ = k - 60 * P * 1e3, d = m($, W);
1223
1224
  if (P === d) return [$, P];
1224
- var I = m($ -= 60 * (d - P) * 1e3, Y);
1225
- return d === I ? [$, d] : [O - 60 * Math.min(d, I) * 1e3, Math.max(d, I)];
1226
- }(f.utc(c, l).valueOf(), E, D), M = j[0], R = j[1], k = f(M).utcOffset(R);
1227
- return k.$x.$timezone = D, k;
1228
- }, f.tz.guess = function() {
1225
+ var O = m($ -= 60 * (d - P) * 1e3, W);
1226
+ return d === O ? [$, d] : [k - 60 * Math.min(d, O) * 1e3, Math.max(d, O)];
1227
+ }(l.utc(c, f).valueOf(), E, S), M = F[0], Z = F[1], L = l(M).utcOffset(Z);
1228
+ return L.$x.$timezone = S, L;
1229
+ }, l.tz.guess = function() {
1229
1230
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
1230
- }, f.tz.setDefault = function(c) {
1231
+ }, l.tz.setDefault = function(c) {
1231
1232
  u = c;
1232
1233
  };
1233
1234
  };
1234
1235
  });
1235
- }(Ie)), Ie.exports;
1236
+ }(Oe)), Oe.exports;
1236
1237
  }
1237
1238
  var Xt = Gt();
1238
- const Vt = /* @__PURE__ */ te(Xt);
1239
+ const Vt = /* @__PURE__ */ ne(Xt);
1239
1240
  var Re = { exports: {} }, Jt = Re.exports, nt;
1240
1241
  function Qt() {
1241
1242
  return nt || (nt = 1, function(n, o) {
@@ -1243,10 +1244,10 @@ function Qt() {
1243
1244
  n.exports = i();
1244
1245
  })(Jt, function() {
1245
1246
  return function(a, i, s) {
1246
- s.updateLocale = function(e, f) {
1247
+ s.updateLocale = function(e, l) {
1247
1248
  var u = s.Ls[e];
1248
- if (u) return (f ? Object.keys(f) : []).forEach(function(p) {
1249
- u[p] = f[p];
1249
+ if (u) return (l ? Object.keys(l) : []).forEach(function(p) {
1250
+ u[p] = l[p];
1250
1251
  }), u;
1251
1252
  };
1252
1253
  };
@@ -1254,7 +1255,7 @@ function Qt() {
1254
1255
  }(Re)), Re.exports;
1255
1256
  }
1256
1257
  var Kt = Qt();
1257
- const en = /* @__PURE__ */ te(Kt);
1258
+ const en = /* @__PURE__ */ ne(Kt);
1258
1259
  var Le = { exports: {} }, tn = Le.exports, rt;
1259
1260
  function nn() {
1260
1261
  return rt || (rt = 1, function(n, o) {
@@ -1262,54 +1263,54 @@ function nn() {
1262
1263
  n.exports = i();
1263
1264
  })(tn, function() {
1264
1265
  var a = "minute", i = /[+-]\d\d(?::?\d\d)?/g, s = /([+-]|\d\d)/g;
1265
- return function(e, f, u) {
1266
- var p = f.prototype;
1267
- u.utc = function(l) {
1268
- var D = { date: l, utc: !0, args: arguments };
1269
- return new f(D);
1270
- }, p.utc = function(l) {
1271
- var D = u(this.toDate(), { locale: this.$L, utc: !0 });
1272
- return l ? D.add(this.utcOffset(), a) : D;
1266
+ return function(e, l, u) {
1267
+ var p = l.prototype;
1268
+ u.utc = function(f) {
1269
+ var S = { date: f, utc: !0, args: arguments };
1270
+ return new l(S);
1271
+ }, p.utc = function(f) {
1272
+ var S = u(this.toDate(), { locale: this.$L, utc: !0 });
1273
+ return f ? S.add(this.utcOffset(), a) : S;
1273
1274
  }, p.local = function() {
1274
1275
  return u(this.toDate(), { locale: this.$L, utc: !1 });
1275
1276
  };
1276
1277
  var m = p.parse;
1277
- p.parse = function(l) {
1278
- l.utc && (this.$u = !0), this.$utils().u(l.$offset) || (this.$offset = l.$offset), m.call(this, l);
1278
+ p.parse = function(f) {
1279
+ f.utc && (this.$u = !0), this.$utils().u(f.$offset) || (this.$offset = f.$offset), m.call(this, f);
1279
1280
  };
1280
- var h = p.init;
1281
+ var g = p.init;
1281
1282
  p.init = function() {
1282
1283
  if (this.$u) {
1283
- var l = this.$d;
1284
- this.$y = l.getUTCFullYear(), this.$M = l.getUTCMonth(), this.$D = l.getUTCDate(), this.$W = l.getUTCDay(), this.$H = l.getUTCHours(), this.$m = l.getUTCMinutes(), this.$s = l.getUTCSeconds(), this.$ms = l.getUTCMilliseconds();
1285
- } else h.call(this);
1284
+ var f = this.$d;
1285
+ this.$y = f.getUTCFullYear(), this.$M = f.getUTCMonth(), this.$D = f.getUTCDate(), this.$W = f.getUTCDay(), this.$H = f.getUTCHours(), this.$m = f.getUTCMinutes(), this.$s = f.getUTCSeconds(), this.$ms = f.getUTCMilliseconds();
1286
+ } else g.call(this);
1286
1287
  };
1287
1288
  var r = p.utcOffset;
1288
- p.utcOffset = function(l, D) {
1289
+ p.utcOffset = function(f, S) {
1289
1290
  var E = this.$utils().u;
1290
- if (E(l)) return this.$u ? 0 : E(this.$offset) ? r.call(this) : this.$offset;
1291
- if (typeof l == "string" && (l = function(k) {
1292
- k === void 0 && (k = "");
1293
- var O = k.match(i);
1294
- if (!O) return null;
1295
- var P = ("" + O[0]).match(s) || ["-", 0, 0], Y = P[0], $ = 60 * +P[1] + +P[2];
1296
- return $ === 0 ? 0 : Y === "+" ? $ : -$;
1297
- }(l), l === null)) return this;
1298
- var j = Math.abs(l) <= 16 ? 60 * l : l, M = this;
1299
- if (D) return M.$offset = j, M.$u = l === 0, M;
1300
- if (l !== 0) {
1301
- var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1302
- (M = this.local().add(j + R, a)).$offset = j, M.$x.$localOffset = R;
1291
+ if (E(f)) return this.$u ? 0 : E(this.$offset) ? r.call(this) : this.$offset;
1292
+ if (typeof f == "string" && (f = function(L) {
1293
+ L === void 0 && (L = "");
1294
+ var k = L.match(i);
1295
+ if (!k) return null;
1296
+ var P = ("" + k[0]).match(s) || ["-", 0, 0], W = P[0], $ = 60 * +P[1] + +P[2];
1297
+ return $ === 0 ? 0 : W === "+" ? $ : -$;
1298
+ }(f), f === null)) return this;
1299
+ var F = Math.abs(f) <= 16 ? 60 * f : f, M = this;
1300
+ if (S) return M.$offset = F, M.$u = f === 0, M;
1301
+ if (f !== 0) {
1302
+ var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1303
+ (M = this.local().add(F + Z, a)).$offset = F, M.$x.$localOffset = Z;
1303
1304
  } else M = this.utc();
1304
1305
  return M;
1305
1306
  };
1306
1307
  var c = p.format;
1307
- p.format = function(l) {
1308
- var D = l || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
1309
- return c.call(this, D);
1308
+ p.format = function(f) {
1309
+ var S = f || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
1310
+ return c.call(this, S);
1310
1311
  }, p.valueOf = function() {
1311
- var l = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
1312
- return this.$d.valueOf() - 6e4 * l;
1312
+ var f = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
1313
+ return this.$d.valueOf() - 6e4 * f;
1313
1314
  }, p.isUTC = function() {
1314
1315
  return !!this.$u;
1315
1316
  }, p.toISOString = function() {
@@ -1318,21 +1319,21 @@ function nn() {
1318
1319
  return this.toDate().toUTCString();
1319
1320
  };
1320
1321
  var y = p.toDate;
1321
- p.toDate = function(l) {
1322
- return l === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
1322
+ p.toDate = function(f) {
1323
+ return f === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
1323
1324
  };
1324
- var g = p.diff;
1325
- p.diff = function(l, D, E) {
1326
- if (l && this.$u === l.$u) return g.call(this, l, D, E);
1327
- var j = this.local(), M = u(l).local();
1328
- return g.call(j, M, D, E);
1325
+ var h = p.diff;
1326
+ p.diff = function(f, S, E) {
1327
+ if (f && this.$u === f.$u) return h.call(this, f, S, E);
1328
+ var F = this.local(), M = u(f).local();
1329
+ return h.call(F, M, S, E);
1329
1330
  };
1330
1331
  };
1331
1332
  });
1332
1333
  }(Le)), Le.exports;
1333
1334
  }
1334
1335
  var rn = nn();
1335
- const an = /* @__PURE__ */ te(rn);
1336
+ const an = /* @__PURE__ */ ne(rn);
1336
1337
  var Fe = { exports: {} }, on = Fe.exports, at;
1337
1338
  function sn() {
1338
1339
  return at || (at = 1, function(n, o) {
@@ -1341,7 +1342,7 @@ function sn() {
1341
1342
  })(on, function() {
1342
1343
  return function(a, i) {
1343
1344
  i.prototype.weekday = function(s) {
1344
- var e = this.$locale().weekStart || 0, f = this.$W, u = (f < e ? f + 7 : f) - e;
1345
+ var e = this.$locale().weekStart || 0, l = this.$W, u = (l < e ? l + 7 : l) - e;
1345
1346
  return this.$utils().u(s) ? u : this.subtract(u, "day").add(s, "day");
1346
1347
  };
1347
1348
  };
@@ -1349,23 +1350,23 @@ function sn() {
1349
1350
  }(Fe)), Fe.exports;
1350
1351
  }
1351
1352
  var un = sn();
1352
- const cn = /* @__PURE__ */ te(un);
1353
- W.extend(cn);
1354
- W.extend(Nt);
1355
- W.extend(an);
1356
- W.extend(Vt);
1357
- W.extend(jt);
1358
- W.extend(At);
1359
- W.extend(kt);
1360
- W.extend(Yt);
1361
- W.extend(en);
1362
- W.extend(It);
1353
+ const cn = /* @__PURE__ */ ne(un);
1354
+ H.extend(cn);
1355
+ H.extend(Ht);
1356
+ H.extend(an);
1357
+ H.extend(Vt);
1358
+ H.extend(jt);
1359
+ H.extend(Ct);
1360
+ H.extend(kt);
1361
+ H.extend(Yt);
1362
+ H.extend(en);
1363
+ H.extend(Ot);
1363
1364
  function dn(n) {
1364
1365
  return [...n].sort((o, a) => {
1365
1366
  const i = o.sequence.split(".").map(Number), s = a.sequence.split(".").map(Number);
1366
1367
  for (let e = 0; e < Math.max(i.length, s.length); e++) {
1367
- const f = i[e] || 0, u = s[e] || 0;
1368
- if (f !== u) return f - u;
1368
+ const l = i[e] || 0, u = s[e] || 0;
1369
+ if (l !== u) return l - u;
1369
1370
  }
1370
1371
  return 0;
1371
1372
  });
@@ -1378,9 +1379,9 @@ function Pe(n, o, a) {
1378
1379
  let s = 0;
1379
1380
  return i.map((e) => {
1380
1381
  s++;
1381
- const f = ln(e.sequence), { barMarginLeftAmount: u, barWidthSize: p } = gt(
1382
- W(e.startDate),
1383
- W(e.endDate),
1382
+ const l = ln(e.sequence), { barMarginLeftAmount: u, barWidthSize: p } = gt(
1383
+ H(e.startDate),
1384
+ H(e.endDate),
1384
1385
  o,
1385
1386
  a
1386
1387
  );
@@ -1388,7 +1389,7 @@ function Pe(n, o, a) {
1388
1389
  ...e,
1389
1390
  barLeft: u,
1390
1391
  barWidth: p,
1391
- depth: f,
1392
+ depth: l,
1392
1393
  order: s,
1393
1394
  originalOrder: s
1394
1395
  };
@@ -1396,22 +1397,22 @@ function Pe(n, o, a) {
1396
1397
  }
1397
1398
  const ot = (n) => {
1398
1399
  let o;
1399
- const a = /* @__PURE__ */ new Set(), i = (m, h) => {
1400
+ const a = /* @__PURE__ */ new Set(), i = (m, g) => {
1400
1401
  const r = typeof m == "function" ? m(o) : m;
1401
1402
  if (!Object.is(r, o)) {
1402
1403
  const c = o;
1403
- o = h ?? (typeof r != "object" || r === null) ? r : Object.assign({}, o, r), a.forEach((y) => y(o, c));
1404
+ o = g ?? (typeof r != "object" || r === null) ? r : Object.assign({}, o, r), a.forEach((y) => y(o, c));
1404
1405
  }
1405
1406
  }, s = () => o, u = { setState: i, getState: s, getInitialState: () => p, subscribe: (m) => (a.add(m), () => a.delete(m)) }, p = o = n(i, s, u);
1406
1407
  return u;
1407
1408
  }, fn = (n) => n ? ot(n) : ot, pn = (n) => n;
1408
1409
  function hn(n, o = pn) {
1409
- const a = Ae.useSyncExternalStore(
1410
+ const a = Ce.useSyncExternalStore(
1410
1411
  n.subscribe,
1411
1412
  () => o(n.getState()),
1412
1413
  () => o(n.getInitialState())
1413
1414
  );
1414
- return Ae.useDebugValue(a), a;
1415
+ return Ce.useDebugValue(a), a;
1415
1416
  }
1416
1417
  const st = (n) => {
1417
1418
  const o = fn(n), a = (i) => hn(o, i);
@@ -1422,8 +1423,8 @@ const st = (n) => {
1422
1423
  bottomRowCells: [],
1423
1424
  topHeaderGroups: [],
1424
1425
  selectedScale: "month",
1425
- minDate: W(),
1426
- maxDate: W(),
1426
+ minDate: H(),
1427
+ maxDate: H(),
1427
1428
  draggingTaskMeta: null,
1428
1429
  setSelectedScale: (a) => {
1429
1430
  const { rawTasks: i, bottomRowCells: s } = o(), e = Pe(i, s, a);
@@ -1442,7 +1443,7 @@ const st = (n) => {
1442
1443
  setMaxDate: (a) => n({ maxDate: a }),
1443
1444
  setDraggingTaskMeta: (a) => n({ draggingTaskMeta: a }),
1444
1445
  clearDraggingTaskMeta: () => n({ draggingTaskMeta: null })
1445
- })), $n = [{ id: "1", name: "Project Kickoff", startDate: "2024-06-01T09:00:00Z", endDate: "2024-06-01T11:00:00Z", parentId: null, sequence: "1", dependencies: [] }, { id: "2", name: "Requirement Gathering", startDate: "2024-06-02T09:00:00Z", endDate: "2024-06-05T17:00:00Z", parentId: null, sequence: "2", dependencies: [{ targetId: "1", type: "FS" }] }, { id: "3", name: "Stakeholder Interviews", startDate: "2024-06-02T10:00:00Z", endDate: "2024-06-03T17:00:00Z", parentId: "2", sequence: "2.1", dependencies: [{ targetId: "1", type: "SF" }] }, { id: "4", name: "Market Analysis", startDate: "2024-06-06T09:00:00Z", endDate: "2024-06-07T17:00:00Z", parentId: null, sequence: "3", dependencies: [{ targetId: "2", type: "FS" }] }, { id: "5", name: "Design System Creation", startDate: "2024-06-08T09:00:00Z", endDate: "2024-06-12T17:00:00Z", parentId: null, sequence: "4", dependencies: [{ targetId: "2", type: "FS" }, { targetId: "3", type: "SS" }] }, { id: "6", name: "UI/UX Design", startDate: "2024-06-13T09:00:00Z", endDate: "2024-06-16T17:00:00Z", parentId: "5", sequence: "4.1", dependencies: [{ targetId: "5", type: "FS" }] }, { id: "7", name: "Prototyping", startDate: "2024-06-17T09:00:00Z", endDate: "2024-06-20T17:00:00Z", parentId: "6", sequence: "4.1.1", dependencies: [{ targetId: "6", type: "FS" }] }, { id: "8", name: "Frontend Development", startDate: "2024-06-21T09:00:00Z", endDate: "2024-06-30T17:00:00Z", parentId: null, sequence: "5", dependencies: [{ targetId: "7", type: "FS" }] }, { id: "9", name: "Backend Development", startDate: "2024-07-01T09:00:00Z", endDate: "2024-07-10T17:00:00Z", parentId: null, sequence: "6", dependencies: [{ targetId: "7", type: "FS" }] }, { id: "10", name: "API Integration", startDate: "2024-07-11T09:00:00Z", endDate: "2024-07-15T17:00:00Z", parentId: "9", sequence: "6.1", dependencies: [{ targetId: "9", type: "FS" }] }, { id: "11", name: "Module Development", startDate: "2024-07-16T09:00:00Z", endDate: "2024-07-20T17:00:00Z", parentId: "8", sequence: "5.1", dependencies: [{ targetId: "8", type: "FS" }] }, { id: "12", name: "Unit Testing", startDate: "2024-07-21T09:00:00Z", endDate: "2024-07-25T17:00:00Z", parentId: "8", sequence: "5.2", dependencies: [{ targetId: "8", type: "FS" }] }, { id: "13", name: "Integration Testing", startDate: "2024-07-26T09:00:00Z", endDate: "2024-07-30T17:00:00Z", parentId: "10", sequence: "6.1.1", dependencies: [{ targetId: "10", type: "FS" }] }, { id: "14", name: "Code Review", startDate: "2024-07-31T09:00:00Z", endDate: "2024-08-04T17:00:00Z", parentId: "10", sequence: "6.1.2", dependencies: [{ targetId: "13", type: "FS" }] }, { id: "15", name: "Community Feedback", startDate: "2024-08-05T09:00:00Z", endDate: "2024-08-08T17:00:00Z", parentId: null, sequence: "7", dependencies: [{ targetId: "14", type: "FS" }] }, { id: "16", name: "Documentation Drafting", startDate: "2024-08-09T09:00:00Z", endDate: "2024-08-12T17:00:00Z", parentId: null, sequence: "8", dependencies: [{ targetId: "14", type: "FS" }] }, { id: "17", name: "Documentation Finalization", startDate: "2024-08-13T09:00:00Z", endDate: "2024-08-16T17:00:00Z", parentId: "16", sequence: "8.1", dependencies: [{ targetId: "16", type: "FS" }] }, { id: "18", name: "Pre-release Demo", startDate: "2024-08-17T09:00:00Z", endDate: "2024-08-20T17:00:00Z", parentId: null, sequence: "9", dependencies: [{ targetId: "15", type: "FS" }] }, { id: "19", name: "Bug Fixing", startDate: "2024-08-21T09:00:00Z", endDate: "2024-08-25T17:00:00Z", parentId: null, sequence: "10", dependencies: [{ targetId: "15", type: "FS" }] }, { id: "20", name: "Release Candidate", startDate: "2024-08-26T09:00:00Z", endDate: "2024-08-30T17:00:00Z", parentId: null, sequence: "11", dependencies: [{ targetId: "18", type: "FS" }] }, { id: "21", name: "Final Release", startDate: "2024-08-31T09:00:00Z", endDate: "2024-09-02T17:00:00Z", parentId: null, sequence: "12", dependencies: [{ targetId: "20", type: "FS" }] }, { id: "22", name: "Post-release Monitoring", startDate: "2024-09-03T09:00:00Z", endDate: "2024-09-04T17:00:00Z", parentId: null, sequence: "13", dependencies: [{ targetId: "21", type: "FS" }] }, { id: "23", name: "Community Engagement", startDate: "2024-09-05T09:00:00Z", endDate: "2024-09-06T17:00:00Z", parentId: null, sequence: "14", dependencies: [{ targetId: "21", type: "FS" }] }, { id: "24", name: "Feature Iteration Planning", startDate: "2024-09-07T09:00:00Z", endDate: "2024-09-08T17:00:00Z", parentId: null, sequence: "15", dependencies: [{ targetId: "22", type: "FS" }] }, { id: "25", name: "Additional Module Development", startDate: "2024-09-09T09:00:00Z", endDate: "2024-09-10T17:00:00Z", parentId: "24", sequence: "15.1", dependencies: [{ targetId: "24", type: "FS" }] }, { id: "26", name: "Additional Testing", startDate: "2024-09-11T09:00:00Z", endDate: "2024-09-12T17:00:00Z", parentId: "25", sequence: "15.1.1", dependencies: [{ targetId: "25", type: "FS" }] }, { id: "27", name: "Code Refactoring", startDate: "2024-09-13T09:00:00Z", endDate: "2024-09-14T17:00:00Z", parentId: null, sequence: "16", dependencies: [{ targetId: "26", type: "FS" }] }, { id: "28", name: "Performance Optimization", startDate: "2024-09-15T09:00:00Z", endDate: "2024-09-16T17:00:00Z", parentId: "27", sequence: "16.1", dependencies: [{ targetId: "27", type: "FS" }] }, { id: "29", name: "Security Audit", startDate: "2024-09-17T09:00:00Z", endDate: "2024-09-18T17:00:00Z", parentId: null, sequence: "17", dependencies: [{ targetId: "28", type: "FS" }] }, { id: "30", name: "Final QA", startDate: "2024-09-19T09:00:00Z", endDate: "2024-09-20T17:00:00Z", parentId: null, sequence: "18", dependencies: [{ targetId: "29", type: "FS" }] }, { id: "31", name: "Launch Webinar", startDate: "2024-09-21T09:00:00Z", endDate: "2024-09-22T17:00:00Z", parentId: null, sequence: "19", dependencies: [{ targetId: "21", type: "SS" }] }, { id: "32", name: "Marketing Campaign", startDate: "2024-09-23T09:00:00Z", endDate: "2024-09-24T17:00:00Z", parentId: null, sequence: "20", dependencies: [{ targetId: "21", type: "SF" }] }, { id: "33", name: "Post-release Bug Fixing", startDate: "2024-09-25T09:00:00Z", endDate: "2024-09-26T17:00:00Z", parentId: null, sequence: "21", dependencies: [{ targetId: "22", type: "SS" }] }, { id: "34", name: "Version 1.1 Planning", startDate: "2024-09-27T09:00:00Z", endDate: "2024-09-28T17:00:00Z", parentId: null, sequence: "22", dependencies: [{ targetId: "24", type: "FS" }] }, { id: "35", name: "Feature Implementation", startDate: "2024-09-29T09:00:00Z", endDate: "2024-09-30T17:00:00Z", parentId: "34", sequence: "22.1", dependencies: [{ targetId: "34", type: "FS" }] }, { id: "36", name: "Beta Testing", startDate: "2024-10-01T09:00:00Z", endDate: "2024-10-02T17:00:00Z", parentId: "35", sequence: "22.1.1", dependencies: [{ targetId: "35", type: "FS" }] }, { id: "37", name: "Community Beta Feedback", startDate: "2024-10-03T09:00:00Z", endDate: "2024-10-04T17:00:00Z", parentId: "36", sequence: "22.1.2", dependencies: [{ targetId: "36", type: "FS" }] }, { id: "38", name: "Final Beta Fixes", startDate: "2024-10-05T09:00:00Z", endDate: "2024-10-06T17:00:00Z", parentId: "37", sequence: "22.1.3", dependencies: [{ targetId: "37", type: "FS" }] }, { id: "39", name: "Documentation Update", startDate: "2024-10-07T09:00:00Z", endDate: "2024-10-08T17:00:00Z", parentId: "17", sequence: "8.1.1", dependencies: [{ targetId: "17", type: "FS" }] }, { id: "40", name: "Final Release Version 1.1", startDate: "2024-10-09T09:00:00Z", endDate: "2024-10-10T17:00:00Z", parentId: null, sequence: "23", dependencies: [{ targetId: "38", type: "FS" }] }, { id: "41", name: "Project Retrospective", startDate: "2024-10-11T09:00:00Z", endDate: "2024-10-12T17:00:00Z", parentId: null, sequence: "24", dependencies: [{ targetId: "40", type: "FS" }] }], it = (n) => /* @__PURE__ */ Ue.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ Ue.createElement("path", { d: "M10.2 4L10.2 20L7.8 20L7.8 4L10.2 4ZM15 4L15 20L12.6 20L12.6 4L15 4ZM5.4 15.0999L5.4 7.8999L1.8 11.4999L5.4 15.0999ZM17.4 7.8999L17.4 15.0999L21 11.4999L17.4 7.8999Z" }));
1446
+ })), $n = [{ id: "1", name: "Project Kickoff", startDate: "2024-06-01T09:00:00Z", endDate: "2024-06-01T11:00:00Z", parentId: null, sequence: "1", dependencies: [] }, { id: "2", name: "Requirement Gathering", startDate: "2024-06-02T09:00:00Z", endDate: "2024-06-05T17:00:00Z", parentId: null, sequence: "2", dependencies: [{ targetId: "1", type: "FS" }] }, { id: "3", name: "Stakeholder Interviews", startDate: "2024-06-02T10:00:00Z", endDate: "2024-06-03T17:00:00Z", parentId: "2", sequence: "2.1", dependencies: [{ targetId: "1", type: "SF" }] }, { id: "4", name: "Market Analysis", startDate: "2024-06-06T09:00:00Z", endDate: "2024-06-07T17:00:00Z", parentId: null, sequence: "3", dependencies: [{ targetId: "2", type: "FS" }] }, { id: "5", name: "Design System Creation", startDate: "2024-06-08T09:00:00Z", endDate: "2024-06-12T17:00:00Z", parentId: null, sequence: "4", dependencies: [{ targetId: "2", type: "FS" }, { targetId: "3", type: "SS" }] }, { id: "6", name: "UI/UX Design", startDate: "2024-06-13T09:00:00Z", endDate: "2024-06-16T17:00:00Z", parentId: "5", sequence: "4.1", dependencies: [{ targetId: "5", type: "FS" }] }, { id: "7", name: "Prototyping", startDate: "2024-06-17T09:00:00Z", endDate: "2024-06-20T17:00:00Z", parentId: "6", sequence: "4.1.1", dependencies: [{ targetId: "6", type: "FS" }] }, { id: "8", name: "Frontend Development", startDate: "2024-06-21T09:00:00Z", endDate: "2024-06-30T17:00:00Z", parentId: null, sequence: "5", dependencies: [{ targetId: "7", type: "FS" }] }, { id: "9", name: "Backend Development", startDate: "2024-07-01T09:00:00Z", endDate: "2024-07-10T17:00:00Z", parentId: null, sequence: "6", dependencies: [{ targetId: "7", type: "FS" }] }, { id: "10", name: "API Integration", startDate: "2024-07-11T09:00:00Z", endDate: "2024-07-15T17:00:00Z", parentId: "9", sequence: "6.1", dependencies: [{ targetId: "9", type: "FS" }] }, { id: "11", name: "Module Development", startDate: "2024-07-16T09:00:00Z", endDate: "2024-07-20T17:00:00Z", parentId: "8", sequence: "5.1", dependencies: [{ targetId: "8", type: "FS" }] }, { id: "12", name: "Unit Testing", startDate: "2024-07-21T09:00:00Z", endDate: "2024-07-25T17:00:00Z", parentId: "8", sequence: "5.2", dependencies: [{ targetId: "8", type: "FS" }] }, { id: "13", name: "Integration Testing", startDate: "2024-07-26T09:00:00Z", endDate: "2024-07-30T17:00:00Z", parentId: "10", sequence: "6.1.1", dependencies: [{ targetId: "10", type: "FS" }] }, { id: "14", name: "Code Review", startDate: "2024-07-31T09:00:00Z", endDate: "2024-08-04T17:00:00Z", parentId: "10", sequence: "6.1.2", dependencies: [{ targetId: "13", type: "FS" }] }, { id: "15", name: "Community Feedback", startDate: "2024-08-05T09:00:00Z", endDate: "2024-08-08T17:00:00Z", parentId: null, sequence: "7", dependencies: [{ targetId: "14", type: "FS" }] }, { id: "16", name: "Documentation Drafting", startDate: "2024-08-09T09:00:00Z", endDate: "2024-08-12T17:00:00Z", parentId: null, sequence: "8", dependencies: [{ targetId: "14", type: "FS" }] }, { id: "17", name: "Documentation Finalization", startDate: "2024-08-13T09:00:00Z", endDate: "2024-08-16T17:00:00Z", parentId: "16", sequence: "8.1", dependencies: [{ targetId: "16", type: "FS" }] }, { id: "18", name: "Pre-release Demo", startDate: "2024-08-17T09:00:00Z", endDate: "2024-08-20T17:00:00Z", parentId: null, sequence: "9", dependencies: [{ targetId: "15", type: "FS" }] }, { id: "19", name: "Bug Fixing", startDate: "2024-08-21T09:00:00Z", endDate: "2024-08-25T17:00:00Z", parentId: null, sequence: "10", dependencies: [{ targetId: "15", type: "FS" }] }, { id: "20", name: "Release Candidate", startDate: "2024-08-26T09:00:00Z", endDate: "2024-08-30T17:00:00Z", parentId: null, sequence: "11", dependencies: [{ targetId: "18", type: "FS" }] }, { id: "21", name: "Final Release", startDate: "2024-08-31T09:00:00Z", endDate: "2024-09-02T17:00:00Z", parentId: null, sequence: "12", dependencies: [{ targetId: "20", type: "FS" }] }, { id: "22", name: "Post-release Monitoring", startDate: "2024-09-03T09:00:00Z", endDate: "2024-09-04T17:00:00Z", parentId: null, sequence: "13", dependencies: [{ targetId: "21", type: "FS" }] }, { id: "23", name: "Community Engagement", startDate: "2024-09-05T09:00:00Z", endDate: "2024-09-06T17:00:00Z", parentId: null, sequence: "14", dependencies: [{ targetId: "21", type: "FS" }] }, { id: "24", name: "Feature Iteration Planning", startDate: "2024-09-07T09:00:00Z", endDate: "2024-09-08T17:00:00Z", parentId: null, sequence: "15", dependencies: [{ targetId: "22", type: "FS" }] }, { id: "25", name: "Additional Module Development", startDate: "2024-09-09T09:00:00Z", endDate: "2024-09-10T17:00:00Z", parentId: "24", sequence: "15.1", dependencies: [{ targetId: "24", type: "FS" }] }, { id: "26", name: "Additional Testing", startDate: "2024-09-11T09:00:00Z", endDate: "2024-09-12T17:00:00Z", parentId: "25", sequence: "15.1.1", dependencies: [{ targetId: "25", type: "FS" }] }, { id: "27", name: "Code Refactoring", startDate: "2024-09-13T09:00:00Z", endDate: "2024-09-14T17:00:00Z", parentId: null, sequence: "16", dependencies: [{ targetId: "26", type: "FS" }] }, { id: "28", name: "Performance Optimization", startDate: "2024-09-15T09:00:00Z", endDate: "2024-09-16T17:00:00Z", parentId: "27", sequence: "16.1", dependencies: [{ targetId: "27", type: "FS" }] }, { id: "29", name: "Security Audit", startDate: "2024-09-17T09:00:00Z", endDate: "2024-09-18T17:00:00Z", parentId: null, sequence: "17", dependencies: [{ targetId: "28", type: "FS" }] }, { id: "30", name: "Final QA", startDate: "2024-09-19T09:00:00Z", endDate: "2024-09-20T17:00:00Z", parentId: null, sequence: "18", dependencies: [{ targetId: "29", type: "FS" }] }, { id: "31", name: "Launch Webinar", startDate: "2024-09-21T09:00:00Z", endDate: "2024-09-22T17:00:00Z", parentId: null, sequence: "19", dependencies: [{ targetId: "21", type: "SS" }] }, { id: "32", name: "Marketing Campaign", startDate: "2024-09-23T09:00:00Z", endDate: "2024-09-24T17:00:00Z", parentId: null, sequence: "20", dependencies: [{ targetId: "21", type: "SF" }] }, { id: "33", name: "Post-release Bug Fixing", startDate: "2024-09-25T09:00:00Z", endDate: "2024-09-26T17:00:00Z", parentId: null, sequence: "21", dependencies: [{ targetId: "22", type: "SS" }] }, { id: "34", name: "Version 1.1 Planning", startDate: "2024-09-27T09:00:00Z", endDate: "2024-09-28T17:00:00Z", parentId: null, sequence: "22", dependencies: [{ targetId: "24", type: "FS" }] }, { id: "35", name: "Feature Implementation", startDate: "2024-09-29T09:00:00Z", endDate: "2024-09-30T17:00:00Z", parentId: "34", sequence: "22.1", dependencies: [{ targetId: "34", type: "FS" }] }, { id: "36", name: "Beta Testing", startDate: "2024-10-01T09:00:00Z", endDate: "2024-10-02T17:00:00Z", parentId: "35", sequence: "22.1.1", dependencies: [{ targetId: "35", type: "FS" }] }, { id: "37", name: "Community Beta Feedback", startDate: "2024-10-03T09:00:00Z", endDate: "2024-10-04T17:00:00Z", parentId: "36", sequence: "22.1.2", dependencies: [{ targetId: "36", type: "FS" }] }, { id: "38", name: "Final Beta Fixes", startDate: "2024-10-05T09:00:00Z", endDate: "2024-10-06T17:00:00Z", parentId: "37", sequence: "22.1.3", dependencies: [{ targetId: "37", type: "FS" }] }, { id: "39", name: "Documentation Update", startDate: "2024-10-07T09:00:00Z", endDate: "2024-10-08T17:00:00Z", parentId: "17", sequence: "8.1.1", dependencies: [{ targetId: "17", type: "FS" }] }, { id: "40", name: "Final Release Version 1.1", startDate: "2024-10-09T09:00:00Z", endDate: "2024-10-10T17:00:00Z", parentId: null, sequence: "23", dependencies: [{ targetId: "38", type: "FS" }] }, { id: "41", name: "Project Retrospective", startDate: "2024-10-11T09:00:00Z", endDate: "2024-10-12T17:00:00Z", parentId: null, sequence: "24", dependencies: [{ targetId: "40", type: "FS" }] }], it = (n) => /* @__PURE__ */ Ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ Ne.createElement("path", { d: "M10.2 4L10.2 20L7.8 20L7.8 4L10.2 4ZM15 4L15 20L12.6 20L12.6 4L15 4ZM5.4 15.0999L5.4 7.8999L1.8 11.4999L5.4 15.0999ZM17.4 7.8999L17.4 15.0999L21 11.4999L17.4 7.8999Z" }));
1446
1447
  function me(n, o) {
1447
1448
  const { basePxPerDragStep: a } = K[o];
1448
1449
  return Math.round(n / a);
@@ -1452,51 +1453,51 @@ function gn(n, o, a) {
1452
1453
  rawTasks: i,
1453
1454
  selectedScale: s,
1454
1455
  setRawTasks: e,
1455
- setDraggingTaskMeta: f,
1456
+ setDraggingTaskMeta: l,
1456
1457
  clearDraggingTaskMeta: u
1457
- } = ye(), [p, m] = de(o), h = V(o), r = V(null), c = V(o), y = V(n.startDate), g = V(n.endDate), l = (j) => {
1458
- r.current = j.clientX, c.current = o, y.current = n.startDate, g.current = n.endDate, m(o), h.current = o, f({ taskId: n.id, type: "bar" }), document.addEventListener("mousemove", D), document.addEventListener("mouseup", E);
1459
- }, D = (j) => {
1458
+ } = ye(), [p, m] = oe(o), g = V(o), r = V(null), c = V(o), y = V(n.startDate), h = V(n.endDate), f = (F) => {
1459
+ r.current = F.clientX, c.current = o, y.current = n.startDate, h.current = n.endDate, m(o), g.current = o, l({ taskId: n.id, type: "bar" }), document.addEventListener("mousemove", S), document.addEventListener("mouseup", E);
1460
+ }, S = (F) => {
1460
1461
  if (r.current === null) return;
1461
- const M = j.clientX - r.current, k = me(M, s) * K[s].basePxPerDragStep, O = c.current + k;
1462
- m(O), h.current = O;
1462
+ const M = F.clientX - r.current, L = me(M, s) * K[s].basePxPerDragStep, k = c.current + L;
1463
+ m(k), g.current = k;
1463
1464
  }, E = () => {
1464
- document.removeEventListener("mousemove", D), document.removeEventListener("mouseup", E);
1465
- const j = h.current - c.current, M = me(j, s), { dragStepUnit: R, dragStepAmount: k } = K[s], O = i.map(
1465
+ document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", E);
1466
+ const F = g.current - c.current, M = me(F, s), { dragStepUnit: Z, dragStepAmount: L } = K[s], k = i.map(
1466
1467
  (P) => P.id === n.id ? {
1467
1468
  ...P,
1468
- startDate: W(y.current).add(M * k, R).toISOString(),
1469
- endDate: W(g.current).add(M * k, R).toISOString()
1469
+ startDate: H(y.current).add(M * L, Z).toISOString(),
1470
+ endDate: H(h.current).add(M * L, Z).toISOString()
1470
1471
  } : P
1471
1472
  );
1472
- e(O), a == null || a(O), u(), r.current = null;
1473
+ e(k), a == null || a(k), u(), r.current = null;
1473
1474
  };
1474
- return { onDragStart: l, tempLeft: p };
1475
+ return { onDragStart: f, tempLeft: p };
1475
1476
  }
1476
1477
  function vn(n, o, a, i) {
1477
1478
  const {
1478
1479
  rawTasks: s,
1479
1480
  selectedScale: e,
1480
- setRawTasks: f,
1481
+ setRawTasks: l,
1481
1482
  setDraggingTaskMeta: u,
1482
1483
  clearDraggingTaskMeta: p
1483
- } = ye(), [m, h] = de(o), [r, c] = de(a), y = V(o), g = V(a), l = V(null), D = V(o), E = V(a), j = V(n.startDate), M = (O) => {
1484
- O.stopPropagation(), l.current = O.clientX, D.current = o, E.current = a, j.current = n.startDate, h(o), c(a), y.current = o, g.current = a, u({ taskId: n.id, type: "left" }), document.addEventListener("mousemove", R), document.addEventListener("mouseup", k);
1485
- }, R = (O) => {
1486
- if (l.current == null) return;
1487
- const P = O.clientX - l.current, $ = me(P, e) * K[e].basePxPerDragStep, d = D.current + $, I = E.current - $;
1488
- I < 1 || (h(d), c(I), y.current = d, g.current = I);
1489
- }, k = () => {
1490
- document.removeEventListener("mousemove", R), document.removeEventListener("mouseup", k);
1491
- const O = y.current - D.current, P = me(O, e), { dragStepUnit: Y, dragStepAmount: $ } = K[e], d = s.map((I) => {
1492
- if (I.id !== n.id) return I;
1493
- const B = W(j.current).add(
1484
+ } = ye(), [m, g] = oe(o), [r, c] = oe(a), y = V(o), h = V(a), f = V(null), S = V(o), E = V(a), F = V(n.startDate), M = (k) => {
1485
+ k.stopPropagation(), f.current = k.clientX, S.current = o, E.current = a, F.current = n.startDate, g(o), c(a), y.current = o, h.current = a, u({ taskId: n.id, type: "left" }), document.addEventListener("mousemove", Z), document.addEventListener("mouseup", L);
1486
+ }, Z = (k) => {
1487
+ if (f.current == null) return;
1488
+ const P = k.clientX - f.current, $ = me(P, e) * K[e].basePxPerDragStep, d = S.current + $, O = E.current - $;
1489
+ O < 1 || (g(d), c(O), y.current = d, h.current = O);
1490
+ }, L = () => {
1491
+ document.removeEventListener("mousemove", Z), document.removeEventListener("mouseup", L);
1492
+ const k = y.current - S.current, P = me(k, e), { dragStepUnit: W, dragStepAmount: $ } = K[e], d = s.map((O) => {
1493
+ if (O.id !== n.id) return O;
1494
+ const B = H(F.current).add(
1494
1495
  P * $,
1495
- Y
1496
+ W
1496
1497
  );
1497
- return B.isAfter(W(I.endDate)) ? I : { ...I, startDate: B.toISOString() };
1498
+ return B.isAfter(H(O.endDate)) ? O : { ...O, startDate: B.toISOString() };
1498
1499
  });
1499
- f(d), i == null || i(d), p(), l.current = null;
1500
+ l(d), i == null || i(d), p(), f.current = null;
1500
1501
  };
1501
1502
  return { onDragStart: M, tempLeft: m, tempWidth: r };
1502
1503
  }
@@ -1505,35 +1506,35 @@ function yn(n, o, a) {
1505
1506
  rawTasks: i,
1506
1507
  selectedScale: s,
1507
1508
  setRawTasks: e,
1508
- setDraggingTaskMeta: f,
1509
+ setDraggingTaskMeta: l,
1509
1510
  clearDraggingTaskMeta: u
1510
- } = ye(), [p, m] = de(o), h = V(o), r = V(null), c = V(o), y = V(n.endDate), g = (E) => {
1511
- E.stopPropagation(), r.current = E.clientX, c.current = o, y.current = n.endDate, m(o), h.current = o, f({ taskId: n.id, type: "right" }), document.addEventListener("mousemove", l), document.addEventListener("mouseup", D);
1512
- }, l = (E) => {
1511
+ } = ye(), [p, m] = oe(o), g = V(o), r = V(null), c = V(o), y = V(n.endDate), h = (E) => {
1512
+ E.stopPropagation(), r.current = E.clientX, c.current = o, y.current = n.endDate, m(o), g.current = o, l({ taskId: n.id, type: "right" }), document.addEventListener("mousemove", f), document.addEventListener("mouseup", S);
1513
+ }, f = (E) => {
1513
1514
  if (r.current === null) return;
1514
- const j = E.clientX - r.current, R = me(j, s) * K[s].basePxPerDragStep, k = c.current + R;
1515
- k < 1 || (m(k), h.current = k);
1516
- }, D = () => {
1517
- document.removeEventListener("mousemove", l), document.removeEventListener("mouseup", D);
1518
- const E = h.current - c.current, j = me(E, s), { dragStepUnit: M, dragStepAmount: R } = K[s], k = i.map((O) => {
1519
- if (O.id !== n.id) return O;
1520
- const P = W(y.current).add(
1521
- j * R,
1515
+ const F = E.clientX - r.current, Z = me(F, s) * K[s].basePxPerDragStep, L = c.current + Z;
1516
+ L < 1 || (m(L), g.current = L);
1517
+ }, S = () => {
1518
+ document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", S);
1519
+ const E = g.current - c.current, F = me(E, s), { dragStepUnit: M, dragStepAmount: Z } = K[s], L = i.map((k) => {
1520
+ if (k.id !== n.id) return k;
1521
+ const P = H(y.current).add(
1522
+ F * Z,
1522
1523
  M
1523
1524
  );
1524
- return P.isBefore(W(O.startDate)) ? O : { ...O, endDate: P.toISOString() };
1525
+ return P.isBefore(H(k.startDate)) ? k : { ...k, endDate: P.toISOString() };
1525
1526
  });
1526
- e(k), a == null || a(k), u(), r.current = null;
1527
+ e(L), a == null || a(L), u(), r.current = null;
1527
1528
  };
1528
- return { onDragStart: g, tempWidth: p };
1529
+ return { onDragStart: h, tempWidth: p };
1529
1530
  }
1530
1531
  function Dn(n, o, a, i, s) {
1531
1532
  if (a < 0 || s < 0)
1532
1533
  return `M ${o} ${a} h ${(i - o) / 2}`;
1533
- const e = 7, f = 11, u = 25, p = 20, m = `M ${o} ${a}`, h = i - o, r = s - a, c = Math.abs(h), y = Math.abs(r), g = s <= a, l = s >= a, D = i >= o, E = i <= o, j = c > p, M = Math.abs(h / 2), R = Math.abs(r / 2);
1534
- function k() {
1534
+ const e = 7, l = 11, u = 25, p = 20, m = `M ${o} ${a}`, g = i - o, r = s - a, c = Math.abs(g), y = Math.abs(r), h = s <= a, f = s >= a, S = i >= o, E = i <= o, F = c > p, M = Math.abs(g / 2), Z = Math.abs(r / 2);
1535
+ function L() {
1535
1536
  function $() {
1536
- return (D || E) && l && !j ? "downSmallHorizontal" : (D || E) && g && !j ? "upSmallHorizontal" : l && E ? "downLeft" : l && D ? "downRight" : g && E ? "upLeft" : g && D ? "upRight" : "";
1537
+ return (S || E) && f && !F ? "downSmallHorizontal" : (S || E) && h && !F ? "upSmallHorizontal" : f && E ? "downLeft" : f && S ? "downRight" : h && E ? "upLeft" : h && S ? "upRight" : "";
1537
1538
  }
1538
1539
  let d = m;
1539
1540
  switch ($()) {
@@ -1548,13 +1549,13 @@ function Dn(n, o, a, i, s) {
1548
1549
  case "downLeft":
1549
1550
  case "downSmallHorizontal": {
1550
1551
  const B = a + r / 2;
1551
- d += ` h ${f}`, d += ` a ${e} ${e} 0 0 1 ${e} ${e}`, d += ` v ${B - a - e * 2}`, d += ` a ${e} ${e} 0 0 1 -${e} ${e}`, d += ` h ${h - 2 * f}`, d += ` a ${e} ${e} 0 0 0 -${e} ${e}`, d += ` v ${B - a - e * 2}`, d += ` a ${e} ${e} 0 0 0 ${e} ${e}`, d += ` h ${f}`;
1552
+ d += ` h ${l}`, d += ` a ${e} ${e} 0 0 1 ${e} ${e}`, d += ` v ${B - a - e * 2}`, d += ` a ${e} ${e} 0 0 1 -${e} ${e}`, d += ` h ${g - 2 * l}`, d += ` a ${e} ${e} 0 0 0 -${e} ${e}`, d += ` v ${B - a - e * 2}`, d += ` a ${e} ${e} 0 0 0 ${e} ${e}`, d += ` h ${l}`;
1552
1553
  break;
1553
1554
  }
1554
1555
  case "upLeft":
1555
1556
  case "upSmallHorizontal": {
1556
1557
  const B = a + r / 2;
1557
- d += ` h ${f}`, d += ` a ${e} ${e} 0 0 0 ${e} -${e}`, d += ` v -${a - B - e * 2}`, d += ` a ${e} ${e} 0 0 0 -${e} -${e}`, d += ` h ${h - 2 * f}`, d += ` a ${e} ${e} 0 0 1 -${e} -${e}`, d += ` v -${a - B - e * 2}`, d += ` a ${e} ${e} 0 0 1 ${e} -${e}`, d += ` h ${f}`;
1558
+ d += ` h ${l}`, d += ` a ${e} ${e} 0 0 0 ${e} -${e}`, d += ` v -${a - B - e * 2}`, d += ` a ${e} ${e} 0 0 0 -${e} -${e}`, d += ` h ${g - 2 * l}`, d += ` a ${e} ${e} 0 0 1 -${e} -${e}`, d += ` v -${a - B - e * 2}`, d += ` a ${e} ${e} 0 0 1 ${e} -${e}`, d += ` h ${l}`;
1558
1559
  break;
1559
1560
  }
1560
1561
  default:
@@ -1562,24 +1563,24 @@ function Dn(n, o, a, i, s) {
1562
1563
  }
1563
1564
  return d;
1564
1565
  }
1565
- function O() {
1566
+ function k() {
1566
1567
  let $ = m;
1567
- return l && E ? ($ += ` h ${u - f}`, $ += ` a ${e} ${e} 0 0 1 ${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 1 -${e} ${e}`, $ += ` h ${h - e * 2}`) : l && D ? ($ += ` h ${h + u - f}`, $ += ` a ${e} ${e} 0 0 1 ${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 1 -${e} ${e}`, $ += ` h -${u - f}`) : g && E ? ($ += ` h ${u - f}`, $ += ` a ${e} ${e} 0 0 0 ${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 0 -${e} -${e}`, $ += ` h ${h - u + f}`) : g && D && ($ += ` h ${h + u - f}`, $ += ` a ${e} ${e} 0 0 0 ${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 0 -${e} -${e}`, $ += ` h -${u - f}`), $;
1568
+ return f && E ? ($ += ` h ${u - l}`, $ += ` a ${e} ${e} 0 0 1 ${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 1 -${e} ${e}`, $ += ` h ${g - e * 2}`) : f && S ? ($ += ` h ${g + u - l}`, $ += ` a ${e} ${e} 0 0 1 ${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 1 -${e} ${e}`, $ += ` h -${u - l}`) : h && E ? ($ += ` h ${u - l}`, $ += ` a ${e} ${e} 0 0 0 ${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 0 -${e} -${e}`, $ += ` h ${g - u + l}`) : h && S && ($ += ` h ${g + u - l}`, $ += ` a ${e} ${e} 0 0 0 ${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 0 -${e} -${e}`, $ += ` h -${u - l}`), $;
1568
1569
  }
1569
1570
  function P() {
1570
1571
  function $() {
1571
- return (D || E) && l && !j ? "downSmallHorizontal" : (D || E) && g && !j ? "upSmallHorizontal" : l && E ? "downLeft" : l && D ? "downRight" : g && E ? "upLeft" : g && D ? "upRight" : "";
1572
+ return (S || E) && f && !F ? "downSmallHorizontal" : (S || E) && h && !F ? "upSmallHorizontal" : f && E ? "downLeft" : f && S ? "downRight" : h && E ? "upLeft" : h && S ? "upRight" : "";
1572
1573
  }
1573
1574
  let d = m;
1574
1575
  switch ($()) {
1575
1576
  case "downRight":
1576
1577
  case "downSmallHorizontal": {
1577
- d += " h -11", d += ` a ${e} ${e} 0 0 0 -${e} ${e}`, d += ` v ${R - e * 2}`, d += ` a ${e} ${e} 0 0 0 ${e} ${e}`, d += ` h ${f * 2 + h}`, d += ` a ${e} ${e} 0 0 1 ${e} ${e}`, d += ` v ${R - e * 2}`, d += ` a ${e} ${e} 0 0 1 -${e} ${e}`, d += " h -11";
1578
+ d += " h -11", d += ` a ${e} ${e} 0 0 0 -${e} ${e}`, d += ` v ${Z - e * 2}`, d += ` a ${e} ${e} 0 0 0 ${e} ${e}`, d += ` h ${l * 2 + g}`, d += ` a ${e} ${e} 0 0 1 ${e} ${e}`, d += ` v ${Z - e * 2}`, d += ` a ${e} ${e} 0 0 1 -${e} ${e}`, d += " h -11";
1578
1579
  break;
1579
1580
  }
1580
1581
  case "upRight":
1581
1582
  case "upSmallHorizontal": {
1582
- d += " h -11", d += ` a ${e} ${e} 0 0 1 -${e} -${e}`, d += ` v ${-(R - e * 2)}`, d += ` a ${e} ${e} 0 0 1 ${e} -${e}`, d += ` h ${f * 2 + h}`, d += ` a ${e} ${e} 0 0 0 ${e} -${e}`, d += ` v ${-(R - e * 2)}`, d += ` a ${e} ${e} 0 0 0 -${e} -${e}`, d += " h -11";
1583
+ d += " h -11", d += ` a ${e} ${e} 0 0 1 -${e} -${e}`, d += ` v ${-(Z - e * 2)}`, d += ` a ${e} ${e} 0 0 1 ${e} -${e}`, d += ` h ${l * 2 + g}`, d += ` a ${e} ${e} 0 0 0 ${e} -${e}`, d += ` v ${-(Z - e * 2)}`, d += ` a ${e} ${e} 0 0 0 -${e} -${e}`, d += " h -11";
1583
1584
  break;
1584
1585
  }
1585
1586
  case "downLeft": {
@@ -1595,149 +1596,162 @@ function Dn(n, o, a, i, s) {
1595
1596
  }
1596
1597
  return d;
1597
1598
  }
1598
- function Y() {
1599
+ function W() {
1599
1600
  let $ = m;
1600
- return l && E ? ($ += ` h ${h - u}`, $ += ` a ${e} ${e} 0 0 0 -${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 0 ${e} ${e}`, $ += ` h ${u}`) : l && D ? ($ += " h -25", $ += ` a ${e} ${e} 0 0 0 -${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 0 ${e} ${e}`, $ += ` h ${h + u}`) : g && E ? ($ += ` h ${h - u}`, $ += ` a ${e} ${e} 0 0 1 -${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 1 ${e} -${e}`, $ += ` h ${u}`) : g && D && ($ += " h -25", $ += ` a ${e} ${e} 0 0 1 -${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 1 ${e} -${e}`, $ += ` h ${h + u}`), $;
1601
+ return f && E ? ($ += ` h ${g - u}`, $ += ` a ${e} ${e} 0 0 0 -${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 0 ${e} ${e}`, $ += ` h ${u}`) : f && S ? ($ += " h -25", $ += ` a ${e} ${e} 0 0 0 -${e} ${e}`, $ += ` v ${r - e * 2}`, $ += ` a ${e} ${e} 0 0 0 ${e} ${e}`, $ += ` h ${g + u}`) : h && E ? ($ += ` h ${g - u}`, $ += ` a ${e} ${e} 0 0 1 -${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 1 ${e} -${e}`, $ += ` h ${u}`) : h && S && ($ += " h -25", $ += ` a ${e} ${e} 0 0 1 -${e} -${e}`, $ += ` v ${r + e * 2}`, $ += ` a ${e} ${e} 0 0 1 ${e} -${e}`, $ += ` h ${g + u}`), $;
1601
1602
  }
1602
1603
  switch (n) {
1603
1604
  case "FS":
1604
- return k();
1605
+ return L();
1605
1606
  case "FF":
1606
- return O();
1607
+ return k();
1607
1608
  case "SF":
1608
1609
  return P();
1609
1610
  case "SS":
1610
- return Y();
1611
+ return W();
1611
1612
  default:
1612
1613
  return `${m} L ${i} ${s}`;
1613
1614
  }
1614
1615
  }
1615
1616
  function Sn({ allTasks: n, currentTask: o, onTasksChange: a }) {
1616
- const { onDragStart: i, tempLeft: s } = gn(o, o.barLeft, a), {
1617
- onDragStart: e,
1618
- tempLeft: f,
1619
- tempWidth: u
1617
+ const [i, s] = oe(!1), [e, l] = oe(!1), { onDragStart: u, tempLeft: p } = gn(o, o.barLeft, a), {
1618
+ onDragStart: m,
1619
+ tempLeft: g,
1620
+ tempWidth: r
1620
1621
  } = vn(
1621
1622
  o,
1622
1623
  o.barLeft,
1623
1624
  o.barWidth,
1624
1625
  a
1625
- ), { onDragStart: p, tempWidth: m } = yn(
1626
+ ), { onDragStart: c, tempWidth: y } = yn(
1626
1627
  o,
1627
1628
  o.barWidth,
1628
1629
  a
1629
- ), { draggingTaskMeta: h } = ye(), r = (h == null ? void 0 : h.taskId) === o.id;
1630
- let c = !1, y = !1, g = !1;
1631
- r && ((h == null ? void 0 : h.type) === "left" ? c = !0 : (h == null ? void 0 : h.type) === "right" ? y = !0 : (h == null ? void 0 : h.type) === "bar" && (g = !0));
1632
- let l = o.barLeft, D = o.barWidth;
1633
- c ? (l = f, D = u) : y ? D = m : g && (l = s);
1634
- const E = () => /* @__PURE__ */ q.jsx(
1630
+ ), { draggingTaskMeta: h } = ye(), f = (h == null ? void 0 : h.taskId) === o.id;
1631
+ let S = !1, E = !1, F = !1;
1632
+ f && ((h == null ? void 0 : h.type) === "left" ? S = !0 : (h == null ? void 0 : h.type) === "right" ? E = !0 : (h == null ? void 0 : h.type) === "bar" && (F = !0));
1633
+ let M = o.barLeft, Z = o.barWidth;
1634
+ S ? (M = g, Z = r) : E ? Z = y : F && (M = p);
1635
+ const L = () => /* @__PURE__ */ A.jsx(
1635
1636
  "button",
1636
1637
  {
1637
1638
  type: "button",
1638
- onMouseDown: e,
1639
+ onMouseDown: m,
1640
+ onMouseEnter: () => s(!0),
1641
+ onMouseLeave: () => s(!1),
1639
1642
  style: {
1640
1643
  position: "absolute",
1641
1644
  top: 0,
1645
+ left: "-1.15rem",
1646
+ width: "2rem",
1647
+ height: "100%",
1642
1648
  display: "flex",
1643
- cursor: "w-resize",
1644
1649
  alignItems: "center",
1645
1650
  justifyContent: "center",
1646
- opacity: 100,
1647
- left: "-1.15rem",
1648
- width: "2rem",
1649
- height: "100%"
1651
+ cursor: "w-resize",
1652
+ background: "transparent",
1653
+ border: "none",
1654
+ padding: 0
1650
1655
  },
1651
- children: /* @__PURE__ */ q.jsx(
1656
+ children: /* @__PURE__ */ A.jsx(
1652
1657
  it,
1653
1658
  {
1654
1659
  style: {
1655
1660
  height: "1.5rem",
1656
1661
  width: "1.5rem",
1657
- fill: "#919294"
1662
+ fill: "#919294",
1663
+ opacity: i ? 1 : 0
1664
+ // transition: 'opacity 50ms ease-in-out',
1658
1665
  }
1659
1666
  }
1660
1667
  )
1661
1668
  }
1662
- ), j = () => /* @__PURE__ */ q.jsx(
1669
+ ), k = () => /* @__PURE__ */ A.jsx(
1663
1670
  "button",
1664
1671
  {
1665
1672
  type: "button",
1666
- onMouseDown: p,
1673
+ onMouseDown: c,
1674
+ onMouseEnter: () => l(!0),
1675
+ onMouseLeave: () => l(!1),
1667
1676
  style: {
1668
1677
  position: "absolute",
1669
1678
  top: 0,
1679
+ right: "-1.15rem",
1680
+ width: "2rem",
1681
+ height: "100%",
1670
1682
  display: "flex",
1671
- cursor: "w-resize",
1672
1683
  alignItems: "center",
1673
1684
  justifyContent: "center",
1674
- opacity: 100,
1675
- right: "-1.15rem",
1676
- width: "2rem",
1677
- height: "100%"
1685
+ cursor: "w-resize",
1686
+ background: "transparent",
1687
+ border: "none",
1688
+ padding: 0
1678
1689
  },
1679
- children: /* @__PURE__ */ q.jsx(
1690
+ children: /* @__PURE__ */ A.jsx(
1680
1691
  it,
1681
1692
  {
1682
- className: "size-6",
1683
1693
  style: {
1684
- fill: "#919294"
1694
+ height: "1.5rem",
1695
+ width: "1.5rem",
1696
+ fill: "#919294",
1697
+ opacity: e ? 1 : 0
1698
+ // transition: 'opacity 150ms ease-in-out',
1685
1699
  }
1686
1700
  }
1687
1701
  )
1688
1702
  }
1689
- ), M = (o.dependencies || []).map((R) => {
1690
- const k = n.find((I) => I.id === R.targetId);
1691
- if (!k) return null;
1692
- const O = ut, P = (k.order - 1) * O + O / 2, Y = (o.order - 1) * O + O / 2;
1693
- let $, d;
1694
- switch (R.type) {
1703
+ ), P = (o.dependencies || []).map((W) => {
1704
+ const $ = n.find((D) => D.id === W.targetId);
1705
+ if (!$) return null;
1706
+ const d = ut, O = ($.order - 1) * d + d / 2, B = (o.order - 1) * d + d / 2;
1707
+ let ee, I;
1708
+ switch (W.type) {
1695
1709
  case "FS":
1696
- $ = k.barLeft + k.barWidth, d = o.barLeft;
1710
+ ee = $.barLeft + $.barWidth, I = o.barLeft;
1697
1711
  break;
1698
1712
  case "SS":
1699
- $ = k.barLeft, d = o.barLeft;
1713
+ ee = $.barLeft, I = o.barLeft;
1700
1714
  break;
1701
1715
  case "FF":
1702
- $ = k.barLeft + k.barWidth, d = o.barLeft + o.barWidth;
1716
+ ee = $.barLeft + $.barWidth, I = o.barLeft + o.barWidth;
1703
1717
  break;
1704
1718
  case "SF":
1705
- $ = k.barLeft, d = o.barLeft + o.barWidth;
1719
+ ee = $.barLeft, I = o.barLeft + o.barWidth;
1706
1720
  break;
1707
1721
  default:
1708
- return console.warn(`Unknown dependency type: ${R.type}`), null;
1722
+ return console.warn(`Unknown dependency type: ${W.type}`), null;
1709
1723
  }
1710
1724
  return {
1711
- ...R,
1712
- fromX: $,
1713
- fromY: P,
1714
- toX: d,
1715
- toY: Y
1725
+ ...W,
1726
+ fromX: ee,
1727
+ fromY: O,
1728
+ toX: I,
1729
+ toY: B
1716
1730
  };
1717
1731
  }).filter(Boolean);
1718
- return /* @__PURE__ */ q.jsxs(q.Fragment, { children: [
1719
- /* @__PURE__ */ q.jsxs(
1732
+ return /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
1733
+ /* @__PURE__ */ A.jsxs(
1720
1734
  "div",
1721
1735
  {
1722
1736
  role: "button",
1723
1737
  tabIndex: 0,
1724
- onMouseDown: i,
1738
+ onMouseDown: u,
1725
1739
  style: {
1726
1740
  position: "relative",
1727
1741
  display: "flex",
1728
1742
  alignItems: "center",
1729
1743
  backgroundColor: "#D6D6D8",
1730
- marginLeft: `${l}px`,
1731
- width: `${D}px`,
1744
+ marginLeft: `${M}px`,
1745
+ width: `${Z}px`,
1732
1746
  height: "1rem"
1733
1747
  },
1734
1748
  children: [
1735
- E(),
1736
- j()
1749
+ L(),
1750
+ k()
1737
1751
  ]
1738
1752
  }
1739
1753
  ),
1740
- /* @__PURE__ */ q.jsxs(
1754
+ /* @__PURE__ */ A.jsxs(
1741
1755
  "svg",
1742
1756
  {
1743
1757
  style: {
@@ -1750,7 +1764,7 @@ function Sn({ allTasks: n, currentTask: o, onTasksChange: a }) {
1750
1764
  pointerEvents: "none"
1751
1765
  },
1752
1766
  children: [
1753
- /* @__PURE__ */ q.jsx("defs", { children: /* @__PURE__ */ q.jsx(
1767
+ /* @__PURE__ */ A.jsx("defs", { children: /* @__PURE__ */ A.jsx(
1754
1768
  "marker",
1755
1769
  {
1756
1770
  id: "arrowhead",
@@ -1759,24 +1773,24 @@ function Sn({ allTasks: n, currentTask: o, onTasksChange: a }) {
1759
1773
  refX: "5.25",
1760
1774
  refY: "3",
1761
1775
  orient: "auto",
1762
- children: /* @__PURE__ */ q.jsx("polygon", { points: "0 0, 6 3, 0 6", fill: "#000" })
1776
+ children: /* @__PURE__ */ A.jsx("polygon", { points: "0 0, 6 3, 0 6", fill: "#000" })
1763
1777
  }
1764
1778
  ) }),
1765
- M.map((R, k) => /* @__PURE__ */ q.jsx(
1779
+ P.map((W, $) => /* @__PURE__ */ A.jsx(
1766
1780
  "path",
1767
1781
  {
1768
1782
  d: Dn(
1769
- R.type,
1770
- R.fromX,
1771
- R.fromY,
1772
- R.toX,
1773
- R.toY
1783
+ W.type,
1784
+ W.fromX,
1785
+ W.fromY,
1786
+ W.toX,
1787
+ W.toY
1774
1788
  ),
1775
1789
  fill: "none",
1776
1790
  markerEnd: "url(#arrowhead)",
1777
1791
  style: { stroke: "#000", strokeWidth: 0.75 }
1778
1792
  },
1779
- k
1793
+ $
1780
1794
  ))
1781
1795
  ]
1782
1796
  }
@@ -1784,40 +1798,40 @@ function Sn({ allTasks: n, currentTask: o, onTasksChange: a }) {
1784
1798
  ] });
1785
1799
  }
1786
1800
  function bn({ tasks: n, onTasksChange: o, ganttHeight: a, columnWidth: i }) {
1787
- const [s, e] = de(a || 500), [f, u] = de(i || 1e3), [p, m] = de(n || []), h = V(null), {
1801
+ const [s, e] = oe(a || 500), [l, u] = oe(i || 1e3), [p, m] = oe(n || []), g = V(null), {
1788
1802
  rawTasks: r,
1789
1803
  transformedTasks: c,
1790
1804
  selectedScale: y,
1791
- setSelectedScale: g,
1792
- bottomRowCells: l,
1793
- topHeaderGroups: D,
1805
+ setSelectedScale: h,
1806
+ bottomRowCells: f,
1807
+ topHeaderGroups: S,
1794
1808
  setRawTasks: E,
1795
- setBottomRowCells: j,
1809
+ setBottomRowCells: F,
1796
1810
  setTopHeaderGroups: M,
1797
- setMinDate: R,
1798
- setMaxDate: k
1811
+ setMinDate: Z,
1812
+ setMaxDate: L
1799
1813
  } = ye();
1800
1814
  return xe(() => {
1801
1815
  n.length === 0 ? m($n) : m(n);
1802
1816
  }, [n]), xe(() => {
1803
1817
  if (!p.length) return;
1804
- const O = Object.fromEntries(
1818
+ const k = Object.fromEntries(
1805
1819
  p.map((P) => [
1806
1820
  P.id,
1807
1821
  { startDate: P.startDate, endDate: P.endDate }
1808
1822
  ])
1809
1823
  );
1810
1824
  St(
1811
- O,
1812
- y,
1813
- R,
1814
1825
  k,
1815
- j,
1826
+ y,
1827
+ Z,
1828
+ L,
1829
+ F,
1816
1830
  M
1817
1831
  );
1818
1832
  }, [p, y]), xe(() => {
1819
- !l.length || !p.length || r.length === 0 && E(p);
1820
- }, [l, p]), /* @__PURE__ */ q.jsx(
1833
+ !f.length || !p.length || r.length === 0 && E(p);
1834
+ }, [f, p]), /* @__PURE__ */ A.jsx(
1821
1835
  "section",
1822
1836
  {
1823
1837
  style: {
@@ -1826,9 +1840,10 @@ function bn({ tasks: n, onTasksChange: o, ganttHeight: a, columnWidth: i }) {
1826
1840
  height: `${s}px`,
1827
1841
  width: "100%",
1828
1842
  // let parent control width
1829
- backgroundColor: "#FFF"
1843
+ backgroundColor: "#FFF",
1844
+ fontFamily: "Noto Sans, sans-serif"
1830
1845
  },
1831
- children: /* @__PURE__ */ q.jsx(
1846
+ children: /* @__PURE__ */ A.jsx(
1832
1847
  "div",
1833
1848
  {
1834
1849
  style: {
@@ -1837,7 +1852,7 @@ function bn({ tasks: n, onTasksChange: o, ganttHeight: a, columnWidth: i }) {
1837
1852
  overflow: "hidden",
1838
1853
  backgroundColor: "#FFF"
1839
1854
  },
1840
- children: /* @__PURE__ */ q.jsx(
1855
+ children: /* @__PURE__ */ A.jsxs(
1841
1856
  "section",
1842
1857
  {
1843
1858
  style: {
@@ -1847,79 +1862,116 @@ function bn({ tasks: n, onTasksChange: o, ganttHeight: a, columnWidth: i }) {
1847
1862
  width: "100%",
1848
1863
  flexDirection: "column"
1849
1864
  },
1850
- children: /* @__PURE__ */ q.jsx(
1851
- "div",
1852
- {
1853
- ref: h,
1854
- style: {
1855
- flexGrow: 1,
1856
- overflowX: "auto"
1857
- },
1858
- children: /* @__PURE__ */ q.jsxs(
1859
- "div",
1860
- {
1861
- style: {
1862
- display: "flex",
1863
- minWidth: "max-content",
1864
- flexDirection: "column"
1865
- // backgroundColor: '#FFF',
1866
- },
1867
- children: [
1868
- /* @__PURE__ */ q.jsx(
1869
- xt,
1870
- {
1871
- topHeaderGroups: D,
1872
- bottomRowCells: l,
1873
- selectedScale: y,
1874
- scrollRef: h
1875
- }
1876
- ),
1877
- /* @__PURE__ */ q.jsx(
1878
- "div",
1879
- {
1880
- style: {
1881
- position: "relative",
1882
- display: "flex"
1883
- },
1884
- children: /* @__PURE__ */ q.jsx(
1885
- "div",
1886
- {
1887
- style: {
1888
- display: "flex",
1889
- flexGrow: 1,
1890
- flexDirection: "column"
1891
- },
1892
- children: c.map((O) => /* @__PURE__ */ q.jsx(
1893
- "div",
1894
- {
1895
- style: {
1896
- display: "flex",
1897
- width: "100%",
1898
- alignItems: "center",
1899
- borderBottom: "1px solid #E6E7E9",
1900
- height: `${ut}px`,
1901
- backgroundColor: "#FFF"
1902
- },
1903
- children: /* @__PURE__ */ q.jsx(
1904
- Sn,
1905
- {
1906
- allTasks: c,
1907
- currentTask: O,
1908
- onTasksChange: o
1909
- }
1910
- )
1865
+ children: [
1866
+ /* @__PURE__ */ A.jsx(
1867
+ "div",
1868
+ {
1869
+ style: {
1870
+ position: "fixed",
1871
+ top: "10px",
1872
+ right: "16px",
1873
+ zIndex: 50,
1874
+ display: "flex",
1875
+ justifyContent: "flex-end",
1876
+ alignItems: "center"
1877
+ // padding: '4px 8px',
1878
+ // backgroundColor: '#FFF',
1879
+ // borderBottom: '1px solid #E6E7E9',
1880
+ },
1881
+ children: /* @__PURE__ */ A.jsx(
1882
+ "select",
1883
+ {
1884
+ style: {
1885
+ // backgroundColor: '#FFF',
1886
+ padding: "4px 8px",
1887
+ fontSize: "0.875rem",
1888
+ borderRadius: "6px",
1889
+ border: "1px solid #E6E7E9"
1890
+ },
1891
+ value: y,
1892
+ onChange: (k) => {
1893
+ const P = k.target.value;
1894
+ h(P);
1895
+ },
1896
+ children: Object.keys(K).map((k) => /* @__PURE__ */ A.jsx("option", { value: k, children: K[k].labelUnit }, k))
1897
+ }
1898
+ )
1899
+ }
1900
+ ),
1901
+ /* @__PURE__ */ A.jsx(
1902
+ "div",
1903
+ {
1904
+ ref: g,
1905
+ style: {
1906
+ flexGrow: 1,
1907
+ overflowX: "auto"
1908
+ },
1909
+ children: /* @__PURE__ */ A.jsxs(
1910
+ "div",
1911
+ {
1912
+ style: {
1913
+ display: "flex",
1914
+ minWidth: "max-content",
1915
+ flexDirection: "column"
1916
+ // backgroundColor: '#FFF',
1917
+ },
1918
+ children: [
1919
+ /* @__PURE__ */ A.jsx(
1920
+ xt,
1921
+ {
1922
+ topHeaderGroups: S,
1923
+ bottomRowCells: f,
1924
+ selectedScale: y,
1925
+ scrollRef: g
1926
+ }
1927
+ ),
1928
+ /* @__PURE__ */ A.jsx(
1929
+ "div",
1930
+ {
1931
+ style: {
1932
+ position: "relative",
1933
+ display: "flex"
1934
+ },
1935
+ children: /* @__PURE__ */ A.jsx(
1936
+ "div",
1937
+ {
1938
+ style: {
1939
+ display: "flex",
1940
+ flexGrow: 1,
1941
+ flexDirection: "column"
1911
1942
  },
1912
- O.id
1913
- ))
1914
- }
1915
- )
1916
- }
1917
- )
1918
- ]
1919
- }
1920
- )
1921
- }
1922
- )
1943
+ children: c.map((k) => /* @__PURE__ */ A.jsx(
1944
+ "div",
1945
+ {
1946
+ style: {
1947
+ display: "flex",
1948
+ width: "100%",
1949
+ alignItems: "center",
1950
+ borderBottom: "1px solid #E6E7E9",
1951
+ height: `${ut}px`,
1952
+ backgroundColor: "#FFF"
1953
+ },
1954
+ children: /* @__PURE__ */ A.jsx(
1955
+ Sn,
1956
+ {
1957
+ allTasks: c,
1958
+ currentTask: k,
1959
+ onTasksChange: o
1960
+ }
1961
+ )
1962
+ },
1963
+ k.id
1964
+ ))
1965
+ }
1966
+ )
1967
+ }
1968
+ )
1969
+ ]
1970
+ }
1971
+ )
1972
+ }
1973
+ )
1974
+ ]
1923
1975
  }
1924
1976
  )
1925
1977
  }