@factorialco/f0-react 1.244.0 → 1.245.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/f0.js CHANGED
@@ -1,9 +1,9 @@
1
- import { C as _, L as pt, S as xe, a as mt, f as ne, b as K, c as ht, A as vt, i as U, d as yt, e as Te, E as bt, g as X, h as gt, j as xt, k as wt, l as Pt, m as $, n as De, u as Ct, G as St, o as Nt, p as we, q as At, r as _e, s as Ot, B as Ie, X as Ee, Y as le, t as kt, v as je, w as Lt, x as Ft, y as Tt, z as Dt, D as _t, F as It, H as Et, I as jt, J as Pe, K as $t, M as W, N as oe, O as Mt, P as Bt, Q as Rt, R as $e, T as I, U as zt, V as Kt, W as Wt, Z as Gt, _ as qt, $ as Vt, a0 as Z, a1 as Me, a2 as Be, a3 as Ht, a4 as Re, a5 as ze, a6 as Ke, a7 as We, a8 as Yt, a9 as Ge, aa as Jt, ab as Ut, ac as Xt, ad as Ce, ae as ie, af as Zt, ag as Qt, ah as qe, ai as ea, aj as ta, ak as Ve, al as aa, am as ra, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as He, at as B, au as Ye, av as ca, aw as ua, ax as Se, ay as da, az as Je, aA as fa, aB as pa, aC as ma, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Ca } from "./hooks-DfWgtHhy.js";
2
- import { bl as Hr, aM as Yr, bn as Jr, bw as Ur, aN as Xr, aO as Zr, aP as Qr, aQ as en, aR as tn, aS as an, aT as rn, aU as nn, aW as on, aX as sn, aY as ln, aZ as cn, bs as un, b0 as dn, b1 as fn, b2 as pn, b3 as mn, b6 as hn, b7 as vn, b8 as yn, b9 as bn, bb as gn, a$ as xn, ba as wn, b5 as Pn, bt as Cn, bm as Sn, bg as Nn, bj as An, bf as On, bx as kn, be as Ln, bd as Fn, aV as Tn, a_ as Dn, b4 as _n, bc as In, bh as En, bo as jn, bp as $n, bq as Mn, by as Bn, bi as Rn, br as zn, bv as Kn, bk as Wn, bu as Gn } from "./hooks-DfWgtHhy.js";
1
+ import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as U, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as _, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as He, av as M, aw as Je, ax as da, ay as fa, az as Ce, aA as pa, aB as Ue, aC as ma, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na } from "./hooks-rjsVZjmG.js";
2
+ import { bp as en, br as tn, bA as an, aO as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aX as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, bw as bn, b2 as gn, b4 as xn, b5 as wn, b6 as Pn, b7 as Sn, ba as Cn, bb as Nn, bc as An, bd as On, bf as kn, b3 as Ln, be as Dn, b9 as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aW as Rn, b1 as zn, b8 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-rjsVZjmG.js";
3
3
  import { jsx as n, jsxs as N, Fragment as ae } from "react/jsx-runtime";
4
4
  import * as fe from "react";
5
- import k, { PureComponent as Sa, useState as F, forwardRef as V, useEffect as M, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Na, Children as Aa, createContext as Oa } from "react";
6
- const Cr = {
5
+ import k, { PureComponent as Aa, useState as D, forwardRef as q, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Oa, Children as ka, createContext as La } from "react";
6
+ const Nr = {
7
7
  approvals: {
8
8
  history: "Approval history",
9
9
  statuses: {
@@ -43,7 +43,8 @@ const Cr = {
43
43
  thumbsUp: "Like",
44
44
  thumbsDown: "Dislike",
45
45
  other: "Other actions",
46
- toggle: "Toggle"
46
+ toggle: "Toggle",
47
+ toggleDropdownMenu: "Toggle dropdown menu"
47
48
  },
48
49
  status: {
49
50
  selected: {
@@ -203,13 +204,13 @@ const Cr = {
203
204
  feedbackModal: {
204
205
  positive: {
205
206
  title: "What did you like about this response?",
206
- placeholder: "What did you like about this response? How could it be even better?",
207
- description: "Your feedback helps Factorial Al improve. The messages from your chat, the search results, and your feedback will be sent to Factorial to help improve Factorial Al."
207
+ label: "Your feedback helps us make Factorial AI better",
208
+ placeholder: "Share what worked well"
208
209
  },
209
210
  negative: {
210
- title: "What could have been better in this response?",
211
- placeholder: "What could have been better in this response? How could it be even better?",
212
- description: "Your feedback helps Factorial Al improve. The messages from your chat, the search results, and your feedback will be sent to Factorial to help improve Factorial Al."
211
+ title: "What could have been better?",
212
+ label: "Your feedback helps us improve future answers",
213
+ placeholder: "Share what didn’t work"
213
214
  }
214
215
  }
215
216
  },
@@ -217,10 +218,7 @@ const Cr = {
217
218
  noResults: "No results found",
218
219
  loadingMore: "Loading..."
219
220
  }
220
- }, Sr = _({
221
- name: "Link",
222
- type: "info"
223
- }, pt), Nr = [
221
+ }, Ar = [
224
222
  "person",
225
223
  "team",
226
224
  "company",
@@ -235,41 +233,41 @@ function R(e) {
235
233
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
236
234
  }, R(e);
237
235
  }
238
- function ka(e, t) {
236
+ function Da(e, t) {
239
237
  if (!(e instanceof t))
240
238
  throw new TypeError("Cannot call a class as a function");
241
239
  }
242
- function La(e, t) {
240
+ function Ta(e, t) {
243
241
  for (var r = 0; r < t.length; r++) {
244
242
  var a = t[r];
245
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Ze(a.key), a);
243
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Qe(a.key), a);
246
244
  }
247
245
  }
248
246
  function Fa(e, t, r) {
249
- return t && La(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
247
+ return t && Ta(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
250
248
  }
251
- function Ta(e, t, r) {
252
- return t = Q(t), Da(e, Ue() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
249
+ function Ia(e, t, r) {
250
+ return t = Q(t), _a(e, Xe() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
253
251
  }
254
- function Da(e, t) {
252
+ function _a(e, t) {
255
253
  if (t && (R(t) === "object" || typeof t == "function"))
256
254
  return t;
257
255
  if (t !== void 0)
258
256
  throw new TypeError("Derived constructors may only return object or undefined");
259
- return _a(e);
257
+ return Ea(e);
260
258
  }
261
- function _a(e) {
259
+ function Ea(e) {
262
260
  if (e === void 0)
263
261
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
264
262
  return e;
265
263
  }
266
- function Ue() {
264
+ function Xe() {
267
265
  try {
268
266
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
269
267
  }));
270
268
  } catch {
271
269
  }
272
- return (Ue = function() {
270
+ return (Xe = function() {
273
271
  return !!e;
274
272
  })();
275
273
  }
@@ -278,7 +276,7 @@ function Q(e) {
278
276
  return r.__proto__ || Object.getPrototypeOf(r);
279
277
  }, Q(e);
280
278
  }
281
- function Ia(e, t) {
279
+ function ja(e, t) {
282
280
  if (typeof t != "function" && t !== null)
283
281
  throw new TypeError("Super expression must either be null or a function");
284
282
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ce(e, t);
@@ -288,14 +286,14 @@ function ce(e, t) {
288
286
  return a.__proto__ = o, a;
289
287
  }, ce(e, t);
290
288
  }
291
- function Xe(e, t, r) {
292
- return t = Ze(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
289
+ function Ze(e, t, r) {
290
+ return t = Qe(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
293
291
  }
294
- function Ze(e) {
295
- var t = Ea(e, "string");
292
+ function Qe(e) {
293
+ var t = $a(e, "string");
296
294
  return R(t) == "symbol" ? t : t + "";
297
295
  }
298
- function Ea(e, t) {
296
+ function $a(e, t) {
299
297
  if (R(e) != "object" || !e) return e;
300
298
  var r = e[Symbol.toPrimitive];
301
299
  if (r !== void 0) {
@@ -307,23 +305,23 @@ function Ea(e, t) {
307
305
  }
308
306
  var re = /* @__PURE__ */ function(e) {
309
307
  function t() {
310
- return ka(this, t), Ta(this, t, arguments);
308
+ return Da(this, t), Ia(this, t, arguments);
311
309
  }
312
- return Ia(t, e), Fa(t, [{
310
+ return ja(t, e), Fa(t, [{
313
311
  key: "render",
314
312
  value: function() {
315
313
  return null;
316
314
  }
317
315
  }]);
318
316
  }(k.Component);
319
- Xe(re, "displayName", "ZAxis");
320
- Xe(re, "defaultProps", {
317
+ Ze(re, "displayName", "ZAxis");
318
+ Ze(re, "defaultProps", {
321
319
  zAxisId: 0,
322
320
  range: [64, 64],
323
321
  scale: "auto",
324
322
  type: "number"
325
323
  });
326
- var ja = ["option", "isActive"];
324
+ var Ba = ["option", "isActive"];
327
325
  function G() {
328
326
  return G = Object.assign ? Object.assign.bind() : function(e) {
329
327
  for (var t = 1; t < arguments.length; t++) {
@@ -334,9 +332,9 @@ function G() {
334
332
  return e;
335
333
  }, G.apply(this, arguments);
336
334
  }
337
- function $a(e, t) {
335
+ function Ma(e, t) {
338
336
  if (e == null) return {};
339
- var r = Ma(e, t), a, o;
337
+ var r = Ra(e, t), a, o;
340
338
  if (Object.getOwnPropertySymbols) {
341
339
  var s = Object.getOwnPropertySymbols(e);
342
340
  for (o = 0; o < s.length; o++)
@@ -344,7 +342,7 @@ function $a(e, t) {
344
342
  }
345
343
  return r;
346
344
  }
347
- function Ma(e, t) {
345
+ function Ra(e, t) {
348
346
  if (e == null) return {};
349
347
  var r = {};
350
348
  for (var a in e)
@@ -354,8 +352,8 @@ function Ma(e, t) {
354
352
  }
355
353
  return r;
356
354
  }
357
- function Ba(e) {
358
- var t = e.option, r = e.isActive, a = $a(e, ja);
355
+ function za(e) {
356
+ var t = e.option, r = e.isActive, a = Ma(e, Ba);
359
357
  return typeof t == "string" ? /* @__PURE__ */ k.createElement(xe, G({
360
358
  option: /* @__PURE__ */ k.createElement(mt, G({
361
359
  type: t
@@ -376,15 +374,15 @@ function z(e) {
376
374
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
377
375
  }, z(e);
378
376
  }
379
- function q() {
380
- return q = Object.assign ? Object.assign.bind() : function(e) {
377
+ function V() {
378
+ return V = Object.assign ? Object.assign.bind() : function(e) {
381
379
  for (var t = 1; t < arguments.length; t++) {
382
380
  var r = arguments[t];
383
381
  for (var a in r)
384
382
  Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
385
383
  }
386
384
  return e;
387
- }, q.apply(this, arguments);
385
+ }, V.apply(this, arguments);
388
386
  }
389
387
  function Ae(e, t) {
390
388
  var r = Object.keys(e);
@@ -396,7 +394,7 @@ function Ae(e, t) {
396
394
  }
397
395
  return r;
398
396
  }
399
- function D(e) {
397
+ function F(e) {
400
398
  for (var t = 1; t < arguments.length; t++) {
401
399
  var r = arguments[t] != null ? arguments[t] : {};
402
400
  t % 2 ? Ae(Object(r), !0).forEach(function(a) {
@@ -407,41 +405,41 @@ function D(e) {
407
405
  }
408
406
  return e;
409
407
  }
410
- function Ra(e, t) {
408
+ function Ka(e, t) {
411
409
  if (!(e instanceof t))
412
410
  throw new TypeError("Cannot call a class as a function");
413
411
  }
414
412
  function Oe(e, t) {
415
413
  for (var r = 0; r < t.length; r++) {
416
414
  var a = t[r];
417
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, et(a.key), a);
415
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, tt(a.key), a);
418
416
  }
419
417
  }
420
- function za(e, t, r) {
418
+ function Wa(e, t, r) {
421
419
  return t && Oe(e.prototype, t), r && Oe(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
422
420
  }
423
- function Ka(e, t, r) {
424
- return t = ee(t), Wa(e, Qe() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
421
+ function Ga(e, t, r) {
422
+ return t = ee(t), Va(e, et() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
425
423
  }
426
- function Wa(e, t) {
424
+ function Va(e, t) {
427
425
  if (t && (z(t) === "object" || typeof t == "function"))
428
426
  return t;
429
427
  if (t !== void 0)
430
428
  throw new TypeError("Derived constructors may only return object or undefined");
431
- return Ga(e);
429
+ return qa(e);
432
430
  }
433
- function Ga(e) {
431
+ function qa(e) {
434
432
  if (e === void 0)
435
433
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
436
434
  return e;
437
435
  }
438
- function Qe() {
436
+ function et() {
439
437
  try {
440
438
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
441
439
  }));
442
440
  } catch {
443
441
  }
444
- return (Qe = function() {
442
+ return (et = function() {
445
443
  return !!e;
446
444
  })();
447
445
  }
@@ -450,7 +448,7 @@ function ee(e) {
450
448
  return r.__proto__ || Object.getPrototypeOf(r);
451
449
  }, ee(e);
452
450
  }
453
- function qa(e, t) {
451
+ function Ya(e, t) {
454
452
  if (typeof t != "function" && t !== null)
455
453
  throw new TypeError("Super expression must either be null or a function");
456
454
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ue(e, t);
@@ -461,13 +459,13 @@ function ue(e, t) {
461
459
  }, ue(e, t);
462
460
  }
463
461
  function j(e, t, r) {
464
- return t = et(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
462
+ return t = tt(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
465
463
  }
466
- function et(e) {
467
- var t = Va(e, "string");
464
+ function tt(e) {
465
+ var t = Ha(e, "string");
468
466
  return z(t) == "symbol" ? t : t + "";
469
467
  }
470
- function Va(e, t) {
468
+ function Ha(e, t) {
471
469
  if (z(e) != "object" || !e) return e;
472
470
  var r = e[Symbol.toPrimitive];
473
471
  if (r !== void 0) {
@@ -477,13 +475,13 @@ function Va(e, t) {
477
475
  }
478
476
  return String(e);
479
477
  }
480
- var H = /* @__PURE__ */ function(e) {
478
+ var Y = /* @__PURE__ */ function(e) {
481
479
  function t() {
482
480
  var r;
483
- Ra(this, t);
481
+ Ka(this, t);
484
482
  for (var a = arguments.length, o = new Array(a), s = 0; s < a; s++)
485
483
  o[s] = arguments[s];
486
- return r = Ka(this, t, [].concat(o)), j(r, "state", {
484
+ return r = Ga(this, t, [].concat(o)), j(r, "state", {
487
485
  isAnimationFinished: !1
488
486
  }), j(r, "handleAnimationEnd", function() {
489
487
  r.setState({
@@ -493,20 +491,20 @@ var H = /* @__PURE__ */ function(e) {
493
491
  r.setState({
494
492
  isAnimationFinished: !1
495
493
  });
496
- }), j(r, "id", Ct("recharts-scatter-")), r;
494
+ }), j(r, "id", St("recharts-scatter-")), r;
497
495
  }
498
- return qa(t, e), za(t, [{
496
+ return Ya(t, e), Wa(t, [{
499
497
  key: "renderSymbolsStatically",
500
498
  value: function(a) {
501
499
  var o = this, s = this.props, l = s.shape, d = s.activeShape, i = s.activeIndex, m = ne(this.props, !1);
502
500
  return a.map(function(c, f) {
503
- var h = i === f, u = h ? d : l, x = D(D({}, m), c);
504
- return /* @__PURE__ */ k.createElement(K, q({
501
+ var h = i === f, u = h ? d : l, x = F(F({}, m), c);
502
+ return /* @__PURE__ */ k.createElement(K, V({
505
503
  className: "recharts-scatter-symbol",
506
504
  key: "symbol-".concat(c == null ? void 0 : c.cx, "-").concat(c == null ? void 0 : c.cy, "-").concat(c == null ? void 0 : c.size, "-").concat(f)
507
505
  }, ht(o.props, c, f), {
508
506
  role: "img"
509
- }), /* @__PURE__ */ k.createElement(Ba, q({
507
+ }), /* @__PURE__ */ k.createElement(za, V({
510
508
  option: u,
511
509
  isActive: h,
512
510
  key: "symbol-".concat(f)
@@ -532,19 +530,19 @@ var H = /* @__PURE__ */ function(e) {
532
530
  onAnimationEnd: this.handleAnimationEnd,
533
531
  onAnimationStart: this.handleAnimationStart
534
532
  }, function(h) {
535
- var u = h.t, x = s.map(function(A, C) {
536
- var O = f && f[C];
533
+ var u = h.t, x = s.map(function(A, S) {
534
+ var O = f && f[S];
537
535
  if (O) {
538
536
  var g = U(O.cx, A.cx), b = U(O.cy, A.cy), w = U(O.size, A.size);
539
- return D(D({}, A), {}, {
537
+ return F(F({}, A), {}, {
540
538
  cx: g(u),
541
539
  cy: b(u),
542
540
  size: w(u)
543
541
  });
544
542
  }
545
- var S = U(0, A.size);
546
- return D(D({}, A), {}, {
547
- size: S(u)
543
+ var C = U(0, A.size);
544
+ return F(F({}, A), {}, {
545
+ size: C(u)
548
546
  });
549
547
  });
550
548
  return /* @__PURE__ */ k.createElement(K, null, a.renderSymbolsStatically(x));
@@ -571,12 +569,12 @@ var H = /* @__PURE__ */ function(e) {
571
569
  xAxis: l,
572
570
  yAxis: d,
573
571
  layout: u === "x" ? "vertical" : "horizontal",
574
- dataPointFormatter: function(C, O) {
572
+ dataPointFormatter: function(S, O) {
575
573
  return {
576
- x: C.cx,
577
- y: C.cy,
578
- value: u === "x" ? +C.node.x : +C.node.y,
579
- errorVal: X(C, O)
574
+ x: S.cx,
575
+ y: S.cy,
576
+ value: u === "x" ? +S.node.x : +S.node.y,
577
+ errorVal: X(S, O)
580
578
  };
581
579
  }
582
580
  });
@@ -594,8 +592,8 @@ var H = /* @__PURE__ */ function(e) {
594
592
  };
595
593
  });
596
594
  else if (l === "fitting") {
597
- var h = gt(o), u = h.xmin, x = h.xmax, A = h.a, C = h.b, O = function(w) {
598
- return A * w + C;
595
+ var h = gt(o), u = h.xmin, x = h.xmax, A = h.a, S = h.b, O = function(w) {
596
+ return A * w + S;
599
597
  };
600
598
  c = [{
601
599
  x: u,
@@ -605,13 +603,13 @@ var H = /* @__PURE__ */ function(e) {
605
603
  y: O(x)
606
604
  }];
607
605
  }
608
- var g = D(D(D({}, i), {}, {
606
+ var g = F(F(F({}, i), {}, {
609
607
  fill: "none",
610
608
  stroke: i && i.fill
611
609
  }, m), {}, {
612
610
  points: c
613
611
  });
614
- return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, g) : xt(s) ? f = s(g) : f = /* @__PURE__ */ k.createElement(wt, q({}, g, {
612
+ return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, g) : xt(s) ? f = s(g) : f = /* @__PURE__ */ k.createElement(wt, V({}, g, {
615
613
  type: d
616
614
  })), /* @__PURE__ */ k.createElement(K, {
617
615
  className: "recharts-scatter-line",
@@ -624,12 +622,12 @@ var H = /* @__PURE__ */ function(e) {
624
622
  var a = this.props, o = a.hide, s = a.points, l = a.line, d = a.className, i = a.xAxis, m = a.yAxis, c = a.left, f = a.top, h = a.width, u = a.height, x = a.id, A = a.isAnimationActive;
625
623
  if (o || !s || !s.length)
626
624
  return null;
627
- var C = this.state.isAnimationFinished, O = Pt("recharts-scatter", d), g = i && i.allowDataOverflow, b = m && m.allowDataOverflow, w = g || b, S = $(x) ? this.id : x;
625
+ var S = this.state.isAnimationFinished, O = Pt("recharts-scatter", d), g = i && i.allowDataOverflow, b = m && m.allowDataOverflow, w = g || b, C = $(x) ? this.id : x;
628
626
  return /* @__PURE__ */ k.createElement(K, {
629
627
  className: O,
630
- clipPath: w ? "url(#clipPath-".concat(S, ")") : null
628
+ clipPath: w ? "url(#clipPath-".concat(C, ")") : null
631
629
  }, g || b ? /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", {
632
- id: "clipPath-".concat(S)
630
+ id: "clipPath-".concat(C)
633
631
  }, /* @__PURE__ */ k.createElement("rect", {
634
632
  x: g ? c : c - h / 2,
635
633
  y: b ? f : f - u / 2,
@@ -637,7 +635,7 @@ var H = /* @__PURE__ */ function(e) {
637
635
  height: b ? u : u * 2
638
636
  }))) : null, l && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ k.createElement(K, {
639
637
  key: "recharts-scatter-symbols"
640
- }, this.renderSymbols()), (!A || C) && De.renderCallByParent(this.props, s));
638
+ }, this.renderSymbols()), (!A || S) && Fe.renderCallByParent(this.props, s));
641
639
  }
642
640
  }], [{
643
641
  key: "getDerivedStateFromProps",
@@ -651,9 +649,9 @@ var H = /* @__PURE__ */ function(e) {
651
649
  } : null;
652
650
  }
653
651
  }]);
654
- }(Sa);
655
- j(H, "displayName", "Scatter");
656
- j(H, "defaultProps", {
652
+ }(Aa);
653
+ j(Y, "displayName", "Scatter");
654
+ j(Y, "defaultProps", {
657
655
  xAxisId: 0,
658
656
  yAxisId: 0,
659
657
  zAxisId: 0,
@@ -663,17 +661,17 @@ j(H, "defaultProps", {
663
661
  data: [],
664
662
  shape: "circle",
665
663
  hide: !1,
666
- isAnimationActive: !St.isSsr,
664
+ isAnimationActive: !Ct.isSsr,
667
665
  animationBegin: 0,
668
666
  animationDuration: 400,
669
667
  animationEasing: "linear"
670
668
  });
671
- j(H, "getComposedData", function(e) {
672
- var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = Te(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, x = a ? a.range : re.defaultProps.range, A = x && x[0], C = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
673
- var S = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
669
+ j(Y, "getComposedData", function(e) {
670
+ var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = Te(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, x = a ? a.range : re.defaultProps.range, A = x && x[0], S = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
671
+ var C = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
674
672
  name: $(t.dataKey) ? o.props.name : t.name || t.dataKey,
675
673
  unit: t.unit || "",
676
- value: S,
674
+ value: C,
677
675
  payload: b,
678
676
  dataKey: f,
679
677
  type: m
@@ -696,7 +694,7 @@ j(H, "getComposedData", function(e) {
696
694
  var T = we({
697
695
  axis: t,
698
696
  ticks: l,
699
- bandSize: C,
697
+ bandSize: S,
700
698
  entry: b,
701
699
  index: w,
702
700
  dataKey: f
@@ -708,7 +706,7 @@ j(H, "getComposedData", function(e) {
708
706
  index: w,
709
707
  dataKey: h
710
708
  }), p = v !== "-" ? a.scale(v) : A, P = Math.sqrt(Math.max(p, 0) / Math.PI);
711
- return D(D({}, b), {}, {
709
+ return F(F({}, b), {}, {
712
710
  cx: T,
713
711
  cy: E,
714
712
  x: T - P,
@@ -720,7 +718,7 @@ j(H, "getComposedData", function(e) {
720
718
  height: 2 * P,
721
719
  size: p,
722
720
  node: {
723
- x: S,
721
+ x: C,
724
722
  y,
725
723
  z: v
726
724
  },
@@ -732,13 +730,13 @@ j(H, "getComposedData", function(e) {
732
730
  payload: b
733
731
  }, c && c[w] && c[w].props);
734
732
  });
735
- return D({
733
+ return F({
736
734
  points: g
737
735
  }, i);
738
736
  });
739
- var Ha = At({
737
+ var Ja = At({
740
738
  chartName: "ComposedChart",
741
- GraphicalChild: [_e, Ot, Ie, H],
739
+ GraphicalChild: [Ie, Ot, _e, Y],
742
740
  axisComponents: [{
743
741
  axisType: "xAxis",
744
742
  AxisComp: Ee
@@ -751,7 +749,7 @@ var Ha = At({
751
749
  }],
752
750
  formatAxisMap: kt
753
751
  });
754
- const Ya = (e) => {
752
+ const Ua = (e) => {
755
753
  const t = (r) => {
756
754
  const { cx: a, cy: o, fill: s, payload: l } = r, d = () => {
757
755
  if (!l) return "-";
@@ -775,16 +773,16 @@ const Ya = (e) => {
775
773
  });
776
774
  };
777
775
  return t.displayName = `Scatter-${e}`, t;
778
- }, Ja = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
776
+ }, Xa = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
779
777
  hide: !0
780
778
  }, label: o = !1, hideTooltip: s = !1, hideGrid: l = !1, aspect: d, legend: i, showValueUnderLabel: m = !1, bar: c, line: f, scatter: h, onClick: u }, x) => {
781
779
  var v, L, T, E;
782
- const A = Lt(t), C = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], g = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...C, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) => Ft(a != null && a.tickFormatter ? a.tickFormatter(`${p[P]}`) : `${p[P]}`)))), S = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "left"), y = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "right");
780
+ const A = Lt(t), S = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], g = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...S, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) => Dt(a != null && a.tickFormatter ? a.tickFormatter(`${p[P]}`) : `${p[P]}`)))), C = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "left"), y = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "right");
783
781
  return n(Tt, {
784
782
  config: e,
785
783
  ref: x,
786
784
  aspect: d,
787
- children: N(Ha, {
785
+ children: N(Ja, {
788
786
  accessibilityLayer: !0,
789
787
  data: A,
790
788
  margin: {
@@ -801,24 +799,24 @@ const Ya = (e) => {
801
799
  label: p.activeLabel,
802
800
  values: {}
803
801
  };
804
- for (const Y of p.activePayload)
805
- P.values[Y.name] = Y.value;
802
+ for (const H of p.activePayload)
803
+ P.values[H.name] = H.value;
806
804
  u(P);
807
805
  },
808
- children: [!s && n(Dt, {
809
- ..._t(),
810
- content: n(It, {
806
+ children: [!s && n(Ft, {
807
+ ...It(),
808
+ content: n(_t, {
811
809
  yAxisFormatter: a.tickFormatter
812
810
  })
813
811
  }), !l && n(Et, {
814
812
  ...jt()
815
- }), S.length > 0 && n(le, {
813
+ }), C.length > 0 && n(le, {
816
814
  ...Pe(a),
817
815
  tick: !0,
818
- width: a.width ?? w + 20 + (y.length > 0 && ((v = S[0]) != null && v.axisLabel) ? 20 : 0),
819
- hide: a.hide || S.some((p) => p == null ? void 0 : p.hideAxis),
820
- label: (L = S[0]) != null && L.axisLabel ? {
821
- value: S[0].axisLabel,
816
+ width: a.width ?? w + 20 + (y.length > 0 && ((v = C[0]) != null && v.axisLabel) ? 20 : 0),
817
+ hide: a.hide || C.some((p) => p == null ? void 0 : p.hideAxis),
818
+ label: (L = C[0]) != null && L.axisLabel ? {
819
+ value: C[0].axisLabel,
822
820
  angle: -90,
823
821
  position: "insideLeft"
824
822
  } : void 0
@@ -827,7 +825,7 @@ const Ya = (e) => {
827
825
  yAxisId: "right",
828
826
  orientation: "right",
829
827
  tick: !0,
830
- width: a.width ?? w + 20 + (S.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
828
+ width: a.width ?? w + 20 + (C.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
831
829
  hide: a.hide || y.some((p) => p == null ? void 0 : p.hideAxis),
832
830
  label: (E = y[0]) != null && E.axisLabel ? {
833
831
  value: y[0].axisLabel,
@@ -839,9 +837,9 @@ const Ya = (e) => {
839
837
  hide: r == null ? void 0 : r.hide,
840
838
  tick: m ? (p) => {
841
839
  var be, ge;
842
- const { x: P, y: Y, payload: ve } = p, ye = ((be = t.find((ft) => ft.label === ve.value)) == null ? void 0 : be.values) || "", J = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, dt = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
840
+ const { x: P, y: H, payload: ve } = p, ye = ((be = t.find((pt) => pt.label === ve.value)) == null ? void 0 : be.values) || "", J = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, ft = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
843
841
  return N("g", {
844
- transform: `translate(${P},${Y})`,
842
+ transform: `translate(${P},${H})`,
845
843
  children: [n("text", {
846
844
  x: 0,
847
845
  y: 0,
@@ -855,39 +853,39 @@ const Ya = (e) => {
855
853
  dy: 28,
856
854
  textAnchor: "middle",
857
855
  className: "!fill-f1-foreground text-sm font-medium",
858
- children: dt
856
+ children: ft
859
857
  })]
860
858
  });
861
859
  } : void 0
862
- }), C.map((p, P) => n(Ie, {
860
+ }), S.map((p, P) => n(_e, {
863
861
  isAnimationActive: !1,
864
862
  dataKey: String(p),
865
863
  fill: e[p].color ? W(e[p].color) : oe(P),
866
864
  radius: 4,
867
865
  maxBarSize: 32,
868
- children: o && n(De, {
866
+ children: o && n(Fe, {
869
867
  position: "top",
870
868
  offset: 10,
871
869
  className: "fill-f1-foreground",
872
870
  fontSize: 12
873
871
  }, `label-${String(p)}`)
874
- }, `bar-${String(p)}`)), O.map((p, P) => n(_e, {
872
+ }, `bar-${String(p)}`)), O.map((p, P) => n(Ie, {
875
873
  type: (f == null ? void 0 : f.lineType) ?? "natural",
876
874
  dataKey: String(p),
877
- stroke: e[p].color ? W(e[p].color) : oe(C.length + P),
875
+ stroke: e[p].color ? W(e[p].color) : oe(S.length + P),
878
876
  strokeWidth: 2,
879
877
  dot: (f == null ? void 0 : f.dot) ?? !1,
880
878
  isAnimationActive: !1,
881
879
  yAxisId: (f == null ? void 0 : f.axisPosition) === "right" ? "right" : void 0
882
- }, `line-${String(p)}`)), g.map((p, P) => n(H, {
880
+ }, `line-${String(p)}`)), g.map((p, P) => n(Y, {
883
881
  dataKey: String(p),
884
- fill: e[p].color ? W(e[p].color) : oe(C.length + O.length + P),
882
+ fill: e[p].color ? W(e[p].color) : oe(S.length + O.length + P),
885
883
  r: 4,
886
884
  isAnimationActive: !1,
887
885
  yAxisId: (h == null ? void 0 : h.axisPosition) === "right" ? "right" : void 0,
888
- shape: Ya(String(p))
889
- }, `scatter-${String(p)}`)), i && n(Mt, {
890
- content: n(Bt, {
886
+ shape: Ua(String(p))
887
+ }, `scatter-${String(p)}`)), i && n(Bt, {
888
+ content: n(Mt, {
891
889
  nameKey: "label"
892
890
  }),
893
891
  align: "center",
@@ -897,21 +895,21 @@ const Ya = (e) => {
897
895
  })]
898
896
  })
899
897
  });
900
- }, Ua = je(Ja);
901
- var me = "Progress", he = 100, [Xa, Ar] = Rt(me), [Za, Qa] = Xa(me), tt = fe.forwardRef(
898
+ }, Za = je(Xa);
899
+ var me = "Progress", he = 100, [Qa, Or] = Rt(me), [er, tr] = Qa(me), at = fe.forwardRef(
902
900
  (e, t) => {
903
901
  const {
904
902
  __scopeProgress: r,
905
903
  value: a = null,
906
904
  max: o,
907
- getValueLabel: s = er,
905
+ getValueLabel: s = ar,
908
906
  ...l
909
907
  } = e;
910
- (o || o === 0) && !ke(o) && console.error(tr(`${o}`, "Progress"));
908
+ (o || o === 0) && !ke(o) && console.error(rr(`${o}`, "Progress"));
911
909
  const d = ke(o) ? o : he;
912
- a !== null && !Le(a, d) && console.error(ar(`${a}`, "Progress"));
910
+ a !== null && !Le(a, d) && console.error(nr(`${a}`, "Progress"));
913
911
  const i = Le(a, d) ? a : null, m = te(i) ? s(i, d) : void 0;
914
- return /* @__PURE__ */ n(Za, { scope: r, value: i, max: d, children: /* @__PURE__ */ n(
912
+ return /* @__PURE__ */ n(er, { scope: r, value: i, max: d, children: /* @__PURE__ */ n(
915
913
  $e.div,
916
914
  {
917
915
  "aria-valuemax": d,
@@ -919,7 +917,7 @@ var me = "Progress", he = 100, [Xa, Ar] = Rt(me), [Za, Qa] = Xa(me), tt = fe.for
919
917
  "aria-valuenow": te(i) ? i : void 0,
920
918
  "aria-valuetext": m,
921
919
  role: "progressbar",
922
- "data-state": nt(i, d),
920
+ "data-state": ot(i, d),
923
921
  "data-value": i ?? void 0,
924
922
  "data-max": d,
925
923
  ...l,
@@ -928,14 +926,14 @@ var me = "Progress", he = 100, [Xa, Ar] = Rt(me), [Za, Qa] = Xa(me), tt = fe.for
928
926
  ) });
929
927
  }
930
928
  );
931
- tt.displayName = me;
932
- var at = "ProgressIndicator", rt = fe.forwardRef(
929
+ at.displayName = me;
930
+ var rt = "ProgressIndicator", nt = fe.forwardRef(
933
931
  (e, t) => {
934
- const { __scopeProgress: r, ...a } = e, o = Qa(at, r);
932
+ const { __scopeProgress: r, ...a } = e, o = tr(rt, r);
935
933
  return /* @__PURE__ */ n(
936
934
  $e.div,
937
935
  {
938
- "data-state": nt(o.value, o.max),
936
+ "data-state": ot(o.value, o.max),
939
937
  "data-value": o.value ?? void 0,
940
938
  "data-max": o.max,
941
939
  ...a,
@@ -944,11 +942,11 @@ var at = "ProgressIndicator", rt = fe.forwardRef(
944
942
  );
945
943
  }
946
944
  );
947
- rt.displayName = at;
948
- function er(e, t) {
945
+ nt.displayName = rt;
946
+ function ar(e, t) {
949
947
  return `${Math.round(e / t * 100)}%`;
950
948
  }
951
- function nt(e, t) {
949
+ function ot(e, t) {
952
950
  return e == null ? "indeterminate" : e === t ? "complete" : "loading";
953
951
  }
954
952
  function te(e) {
@@ -960,10 +958,10 @@ function ke(e) {
960
958
  function Le(e, t) {
961
959
  return te(e) && !isNaN(e) && e <= t && e >= 0;
962
960
  }
963
- function tr(e, t) {
961
+ function rr(e, t) {
964
962
  return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${he}\`.`;
965
963
  }
966
- function ar(e, t) {
964
+ function nr(e, t) {
967
965
  return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
968
966
  - a positive number
969
967
  - less than the value passed to \`max\` (or ${he} if no \`max\` prop is set)
@@ -971,12 +969,12 @@ function ar(e, t) {
971
969
 
972
970
  Defaulting to \`null\`.`;
973
971
  }
974
- var ot = tt, rr = rt;
975
- const it = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(ot, {
972
+ var it = at, or = nt;
973
+ const st = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(it, {
976
974
  ref: a,
977
- className: I("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
975
+ className: _("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
978
976
  ...r,
979
- children: n(rr, {
977
+ children: n(or, {
980
978
  className: "h-full w-full flex-1 transition-all",
981
979
  style: {
982
980
  backgroundColor: r.color,
@@ -984,15 +982,15 @@ const it = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(ot, {
984
982
  }
985
983
  })
986
984
  }));
987
- it.displayName = ot.displayName;
988
- const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
985
+ st.displayName = it.displayName;
986
+ const ir = ({ value: e, max: t = 100, label: r, color: a }, o) => {
989
987
  const s = a ? W(a) : W("categorical-1"), l = e / t * 100;
990
988
  return N("div", {
991
989
  className: "flex items-center space-x-2",
992
990
  "aria-live": "polite",
993
991
  children: [n("div", {
994
992
  className: "flex-grow",
995
- children: n(it, {
993
+ children: n(st, {
996
994
  color: s,
997
995
  value: l,
998
996
  className: "w-full",
@@ -1006,78 +1004,78 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1006
1004
  children: r
1007
1005
  })]
1008
1006
  });
1009
- }, or = je(nr), Or = _(
1007
+ }, sr = je(ir), kr = I(
1010
1008
  {
1011
1009
  name: "AreaChart",
1012
1010
  type: "info"
1013
1011
  },
1014
- zt
1015
- ), kr = _(
1012
+ qt
1013
+ ), Lr = I(
1016
1014
  {
1017
1015
  name: "BarChart",
1018
1016
  type: "info"
1019
1017
  },
1020
- Kt
1021
- ), Lr = _(
1018
+ zt
1019
+ ), Dr = I(
1022
1020
  {
1023
1021
  name: "CategoryBarChart",
1024
1022
  type: "info"
1025
1023
  },
1026
- Wt
1027
- ), Fr = _(
1024
+ Kt
1025
+ ), Tr = I(
1028
1026
  {
1029
1027
  name: "LineChart",
1030
1028
  type: "info"
1031
1029
  },
1032
- Gt
1033
- ), Tr = _(
1030
+ Wt
1031
+ ), Fr = I(
1034
1032
  {
1035
1033
  name: "PieChart",
1036
1034
  type: "info"
1037
1035
  },
1038
- qt
1039
- ), Dr = _(
1036
+ Gt
1037
+ ), Ir = I(
1040
1038
  {
1041
1039
  name: "VerticalBarChart",
1042
1040
  type: "info"
1043
1041
  },
1044
1042
  Vt
1045
- ), _r = _(
1043
+ ), _r = I(
1046
1044
  {
1047
1045
  name: "ProgressBarChart",
1048
1046
  type: "info"
1049
1047
  },
1050
- or
1051
- ), Ir = _(
1048
+ sr
1049
+ ), Er = I(
1052
1050
  {
1053
1051
  name: "ComboChart",
1054
1052
  type: "info"
1055
1053
  },
1056
- Ua
1057
- ), de = ({ count: e, list: t }) => {
1058
- const [r, a] = F(!1), o = n(Z, {
1054
+ Za
1055
+ ), jr = Yt, $r = Be, Br = ["default", "outline", "neutral"], Mr = Be, Rr = ["sm", "md", "lg"], zr = Ht, de = ({ count: e, list: t }) => {
1056
+ const [r, a] = D(!1), o = n(Z, {
1059
1057
  label: `+${e}`
1060
1058
  });
1061
1059
  return t != null && t.length ? N(Me, {
1062
1060
  open: r,
1063
1061
  onOpenChange: a,
1064
- children: [n(Be, {
1062
+ children: [n(Re, {
1065
1063
  asChild: !0,
1066
1064
  children: n("button", {
1067
- className: Ht("inline-flex flex-shrink-0 items-center"),
1065
+ className: Jt("inline-flex flex-shrink-0 items-center"),
1068
1066
  children: o
1069
1067
  })
1070
- }), n(Re, {
1068
+ }), n(ze, {
1071
1069
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
1072
1070
  align: "end",
1073
- children: N(ze, {
1071
+ children: N(Ke, {
1074
1072
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
1075
1073
  children: [t.map((s, l) => n("div", {
1076
1074
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
1077
1075
  children: n(Z, {
1078
1076
  ...s
1079
1077
  })
1080
- }, l)), n(Ke, {
1078
+ }, l)), n(We, {
1081
1079
  orientation: "vertical",
1082
1080
  className: "[&_div]:bg-f1-background"
1083
1081
  })]
@@ -1086,9 +1084,9 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1086
1084
  }) : o;
1087
1085
  };
1088
1086
  de.displayName = "ChipCounter";
1089
- const st = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
1087
+ const lt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
1090
1088
  if (a === "fill")
1091
- return n(Yt, {
1089
+ return n(Ut, {
1092
1090
  items: e,
1093
1091
  renderListItem: (i) => n(Z, {
1094
1092
  ...i
@@ -1113,13 +1111,13 @@ const st = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" })
1113
1111
  })]
1114
1112
  });
1115
1113
  };
1116
- st.displayName = "F0ChipList";
1117
- const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1118
- const [m, c] = F(""), [f, h] = F(!1), u = Ge();
1119
- M(() => {
1114
+ lt.displayName = "F0ChipList";
1115
+ const Kr = Ge("F0ChipList", lt), ct = q(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1116
+ const [m, c] = D(""), [f, h] = D(!1), u = Ve();
1117
+ B(() => {
1120
1118
  c(r.toString(e == null ? void 0 : e.value, u));
1121
1119
  }, [e, r, u]);
1122
- const x = (g) => Xt(g, r, {
1120
+ const x = (g) => Qt(g, r, {
1123
1121
  minDate: o,
1124
1122
  maxDate: s
1125
1123
  }), A = (g, b) => {
@@ -1135,44 +1133,44 @@ const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularit
1135
1133
  value: w,
1136
1134
  granularity: b.key
1137
1135
  }), h(!1)) : h(!0);
1138
- }, C = () => {
1136
+ }, S = () => {
1139
1137
  A(m, r);
1140
1138
  };
1141
1139
  return n(ae, {
1142
- children: n(Jt, {
1140
+ children: n(Xt, {
1143
1141
  ...d,
1144
- icon: Ut,
1142
+ icon: Zt,
1145
1143
  ref: i,
1146
1144
  onFocus: () => a == null ? void 0 : a(!0),
1147
1145
  onClear: () => {
1148
1146
  l == null || l(), c(""), A("", r);
1149
1147
  },
1150
1148
  onKeyDown: (g) => {
1151
- g.key === "Enter" && C();
1149
+ g.key === "Enter" && S();
1152
1150
  },
1153
1151
  type: "text",
1154
1152
  onChange: (g) => {
1155
1153
  c(g);
1156
1154
  },
1157
1155
  error: f || d.error,
1158
- onBlur: C,
1156
+ onBlur: S,
1159
1157
  value: m,
1160
1158
  onClickContent: () => a == null ? void 0 : a(!0)
1161
1159
  })
1162
1160
  });
1163
1161
  });
1164
- lt.displayName = "DateInput";
1165
- function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
1166
- const [i, m] = F(), [c, f] = F(l);
1167
- M(() => {
1162
+ ct.displayName = "DateInput";
1163
+ function lr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
1164
+ const [i, m] = D(), [c, f] = D(l);
1165
+ B(() => {
1168
1166
  f(l);
1169
1167
  }, [l]);
1170
- const h = Ge(), u = se(() => a[0] ?? "day", [a]), x = Ne((y) => {
1168
+ const h = Ve(), u = se(() => a[0] ?? "day", [a]), x = Ne((y) => {
1171
1169
  const v = y || u;
1172
- if (!Ce[v])
1170
+ if (!Se[v])
1173
1171
  throw new Error(`Invalid granularity ${v}`);
1174
1172
  return {
1175
- ...Ce[v],
1173
+ ...Se[v],
1176
1174
  key: v
1177
1175
  };
1178
1176
  }, [u]), A = Ne((y) => {
@@ -1184,8 +1182,8 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1184
1182
  value: v.toRange(v.calendarMode === "range" ? y.value : ((L = y.value) == null ? void 0 : L.from) ?? void 0),
1185
1183
  granularity: y.granularity
1186
1184
  } : void 0;
1187
- }, [x]), C = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
1188
- M(() => {
1185
+ }, [x]), S = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
1186
+ B(() => {
1189
1187
  const y = A(t);
1190
1188
  ie(i, y) || m(y);
1191
1189
  }, [t]);
@@ -1201,13 +1199,13 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1201
1199
  }, b = (y) => {
1202
1200
  var v;
1203
1201
  f(y), (v = d.onOpenChange) == null || v.call(d, y);
1204
- }, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), S = pe(null);
1205
- return M(() => {
1206
- c && S.current && requestAnimationFrame(() => {
1202
+ }, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), C = pe(null);
1203
+ return B(() => {
1204
+ c && C.current && requestAnimationFrame(() => {
1207
1205
  var y;
1208
- (y = S.current) == null || y.focus();
1206
+ (y = C.current) == null || y.focus();
1209
1207
  });
1210
- }, [c]), n(Zt, {
1208
+ }, [c]), n(ea, {
1211
1209
  hideCalendarInput: !0,
1212
1210
  onSelect: O,
1213
1211
  value: i,
@@ -1218,27 +1216,27 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1218
1216
  open: c,
1219
1217
  onOpenChange: b,
1220
1218
  asChild: !0,
1221
- children: n(lt, {
1222
- ref: S,
1219
+ children: n(ct, {
1220
+ ref: C,
1223
1221
  ...d,
1224
1222
  value: i,
1225
- granularity: C,
1223
+ granularity: S,
1226
1224
  onDateChange: g
1227
1225
  })
1228
1226
  });
1229
1227
  }
1230
- const jr = Qt, $r = We(
1228
+ const Wr = ta, Gr = Ge(
1231
1229
  "F0DatePicker",
1232
- ir
1233
- ), sr = {
1230
+ lr
1231
+ ), cr = {
1234
1232
  xs: 1,
1235
1233
  sm: 2,
1236
1234
  md: 2,
1237
1235
  lg: 2
1238
- }, lr = V(function({ widgets: t, children: r }, a) {
1236
+ }, ur = q(function({ widgets: t, children: r }, a) {
1239
1237
  const o = pe(null);
1240
- Na(a, () => o.current);
1241
- const s = Aa.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
1238
+ Oa(a, () => o.current);
1239
+ const s = ka.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
1242
1240
  className: "h-full @5xl:h-auto [&>div]:h-full",
1243
1241
  children: l
1244
1242
  }, d));
@@ -1249,8 +1247,8 @@ const jr = Qt, $r = We(
1249
1247
  className: "@container",
1250
1248
  children: [N("div", {
1251
1249
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
1252
- children: [n(ea, {
1253
- columns: sr,
1250
+ children: [n(aa, {
1251
+ columns: cr,
1254
1252
  showArrows: !1,
1255
1253
  children: s
1256
1254
  }), n("main", {
@@ -1271,73 +1269,73 @@ const jr = Qt, $r = We(
1271
1269
  })]
1272
1270
  })
1273
1271
  });
1274
- }), cr = V(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
1272
+ }), dr = q(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
1275
1273
  return n("div", {
1276
1274
  ref: s,
1277
1275
  className: "h-full",
1278
1276
  children: N("div", {
1279
- className: I("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", o && "md:sticky md:top-0 md:max-h-full"),
1277
+ className: _("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", o && "md:sticky md:top-0 md:max-h-full"),
1280
1278
  children: [n("main", {
1281
- className: I("sm:min-h-xs order-2 h-fit border-0 px-4 py-5 sm:flex-1 sm:border-solid md:order-2 md:px-6", o ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", a === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
1279
+ className: _("sm:min-h-xs order-2 h-fit border-0 px-4 py-5 sm:flex-1 sm:border-solid md:order-2 md:px-6", o ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", a === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
1282
1280
  children: t
1283
- }), n(ur, {
1281
+ }), n(fr, {
1284
1282
  sticky: o,
1285
- className: I("order-1", a === "right" ? "md:order-1" : "md:order-3"),
1283
+ className: _("order-1", a === "right" ? "md:order-1" : "md:order-3"),
1286
1284
  children: r
1287
1285
  })]
1288
1286
  })
1289
1287
  });
1290
- }), ur = ({ children: e, className: t }) => n("aside", {
1291
- className: I("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
1288
+ }), fr = ({ children: e, className: t }) => n("aside", {
1289
+ className: _("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
1292
1290
  children: e
1293
- }), dr = ta({
1291
+ }), pr = ra({
1294
1292
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
1295
1293
  variants: {
1296
1294
  variant: {
1297
1295
  narrow: "max-w-screen-lg"
1298
1296
  }
1299
1297
  }
1300
- }), ct = k.forwardRef(({ children: e, variant: t, className: r, ...a }, o) => n(qe, {
1298
+ }), ut = k.forwardRef(({ children: e, variant: t, className: r, ...a }, o) => n(qe, {
1301
1299
  layout: "standard",
1302
1300
  children: n("section", {
1303
1301
  ref: o,
1304
- className: I("relative flex-1 overflow-auto", r),
1302
+ className: _("relative flex-1 overflow-auto", r),
1305
1303
  ...a,
1306
1304
  children: n("div", {
1307
- className: I(dr({
1305
+ className: _(pr({
1308
1306
  variant: t
1309
1307
  })),
1310
1308
  children: e
1311
1309
  })
1312
1310
  })
1313
1311
  }));
1314
- ct.displayName = "StandardLayout";
1315
- const Mr = _({
1312
+ ut.displayName = "StandardLayout";
1313
+ const Vr = I({
1316
1314
  name: "StandardLayout",
1317
1315
  type: "layout"
1318
- }, ct), Br = _({
1316
+ }, ut), qr = I({
1319
1317
  name: "TwoColumnLayout",
1320
1318
  type: "layout"
1321
- }, cr), Rr = _({
1319
+ }, dr), Yr = I({
1322
1320
  name: "HomeLayout",
1323
1321
  type: "layout"
1324
- }, lr), fr = ({ benefits: e }) => n("div", {
1322
+ }, ur), mr = ({ benefits: e }) => n("div", {
1325
1323
  className: "flex flex-col gap-2",
1326
- children: e.map((t, r) => n(pr, {
1324
+ children: e.map((t, r) => n(hr, {
1327
1325
  text: t
1328
1326
  }, r))
1329
- }), pr = ({ text: e }) => N("div", {
1327
+ }), hr = ({ text: e }) => N("div", {
1330
1328
  className: "flex flex-row items-start gap-2",
1331
- children: [n(ra, {
1332
- icon: na,
1329
+ children: [n(oa, {
1330
+ icon: ia,
1333
1331
  size: "md",
1334
1332
  className: "text-f1-icon-positive"
1335
1333
  }), n("span", {
1336
1334
  children: e
1337
1335
  })]
1338
- }), ut = V(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d }, i) => N("div", {
1336
+ }), dt = q(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d }, i) => N("div", {
1339
1337
  ref: i,
1340
- className: I("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1338
+ className: _("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1341
1339
  children: [n("div", {
1342
1340
  className: "aspect-auto flex-shrink-0 overflow-hidden rounded-xl py-1 pl-1",
1343
1341
  children: n("img", {
@@ -1353,7 +1351,7 @@ const Mr = _({
1353
1351
  className: "flex flex-col gap-2",
1354
1352
  children: [N("div", {
1355
1353
  className: "flex flex-row items-center gap-2",
1356
- children: [s && n(Ve, {
1354
+ children: [s && n(Ye, {
1357
1355
  module: s
1358
1356
  }), l && n("p", {
1359
1357
  className: "text-base font-medium text-f1-foreground",
@@ -1361,7 +1359,7 @@ const Mr = _({
1361
1359
  })]
1362
1360
  }), d && n("div", {
1363
1361
  className: "flex justify-start",
1364
- children: n(aa, {
1362
+ children: n(na, {
1365
1363
  icon: d.icon,
1366
1364
  text: d.label
1367
1365
  })
@@ -1369,7 +1367,7 @@ const Mr = _({
1369
1367
  className: "font-bold text-xl text-f1-foreground",
1370
1368
  children: e
1371
1369
  })]
1372
- }), n(fr, {
1370
+ }), n(mr, {
1373
1371
  benefits: r
1374
1372
  })]
1375
1373
  }), a && n("div", {
@@ -1378,38 +1376,38 @@ const Mr = _({
1378
1376
  })]
1379
1377
  })]
1380
1378
  }));
1381
- ut.displayName = "ProductBlankslate";
1382
- function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
1383
- const [l, d] = F(e);
1384
- return M(() => {
1379
+ dt.displayName = "ProductBlankslate";
1380
+ function vr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
1381
+ const [l, d] = D(e);
1382
+ return B(() => {
1385
1383
  d(e);
1386
- }, [e]), n(oa, {
1384
+ }, [e]), n(sa, {
1387
1385
  open: l,
1388
1386
  onOpenChange: (m) => {
1389
1387
  d(m), m || t();
1390
1388
  },
1391
1389
  modal: !0,
1392
- children: N(ia, {
1390
+ children: N(la, {
1393
1391
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
1394
1392
  container: s,
1395
1393
  children: [N("div", {
1396
1394
  className: "flex flex-row items-center justify-between px-4 py-4",
1397
- children: [N(sa, {
1395
+ children: [N(ca, {
1398
1396
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
1399
- children: [o && n(Ve, {
1397
+ children: [o && n(Ye, {
1400
1398
  module: o,
1401
1399
  size: "lg"
1402
1400
  }), r]
1403
- }), n(la, {
1401
+ }), n(ua, {
1404
1402
  variant: "outline",
1405
1403
  icon: He,
1406
1404
  onClick: t,
1407
1405
  label: "Close modal",
1408
1406
  hideLabel: !0
1409
1407
  })]
1410
- }), N(ze, {
1408
+ }), N(Ke, {
1411
1409
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
1412
- children: [a, n(Ke, {
1410
+ children: [a, n(We, {
1413
1411
  orientation: "vertical",
1414
1412
  className: "[&_div]:bg-f1-background"
1415
1413
  })]
@@ -1417,23 +1415,23 @@ function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
1417
1415
  })
1418
1416
  });
1419
1417
  }
1420
- function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: x, tag: A, showResponseDialog: C = !0 }) {
1421
- const [O, g] = F(e), [b, w] = F(null), [S, y] = F(!1), v = async () => {
1418
+ function Hr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: x, tag: A, showResponseDialog: S = !0 }) {
1419
+ const [O, g] = D(e), [b, w] = D(null), [C, y] = D(!1), v = async () => {
1422
1420
  if (c != null && c.onClick) {
1423
1421
  y(!0);
1424
1422
  try {
1425
- await c.onClick(), g(!1), C && w("success");
1423
+ await c.onClick(), g(!1), S && w("success");
1426
1424
  } catch {
1427
- C && w("error");
1425
+ S && w("error");
1428
1426
  } finally {
1429
1427
  y(!1);
1430
1428
  }
1431
1429
  }
1432
1430
  }, L = () => {
1433
1431
  g(!1), t == null || t();
1434
- }, T = S;
1432
+ }, T = C;
1435
1433
  return N(ae, {
1436
- children: [n(mr, {
1434
+ children: [n(vr, {
1437
1435
  isOpen: O,
1438
1436
  onClose: L,
1439
1437
  title: f,
@@ -1441,7 +1439,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1441
1439
  portalContainer: x,
1442
1440
  children: n("div", {
1443
1441
  className: "pb-4 pl-4",
1444
- children: n(ut, {
1442
+ children: n(dt, {
1445
1443
  title: r,
1446
1444
  image: a,
1447
1445
  benefits: o,
@@ -1449,14 +1447,14 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1449
1447
  tag: A,
1450
1448
  actions: N("div", {
1451
1449
  className: "flex gap-3",
1452
- children: [c && n(B, {
1450
+ children: [c && n(M, {
1453
1451
  variant: c.variant,
1454
1452
  label: T ? d.label : c.label,
1455
1453
  icon: c.icon || void 0,
1456
1454
  onClick: v,
1457
1455
  loading: c.loading,
1458
1456
  size: c.size
1459
- }), u && n(B, {
1457
+ }), u && n(M, {
1460
1458
  onClick: u.onClick,
1461
1459
  label: u.label,
1462
1460
  variant: u.variant,
@@ -1466,7 +1464,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1466
1464
  })
1467
1465
  })
1468
1466
  })
1469
- }), b && C && n(Ye, {
1467
+ }), b && S && n(Je, {
1470
1468
  open: !0,
1471
1469
  onClose: () => {
1472
1470
  L(), w(null);
@@ -1480,24 +1478,24 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1480
1478
  })]
1481
1479
  });
1482
1480
  }
1483
- function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
1484
- const [m, c] = F(!1), f = () => {
1481
+ function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
1482
+ const [m, c] = D(!1), f = () => {
1485
1483
  c(!0), a && a();
1486
1484
  };
1487
- M(() => {
1485
+ B(() => {
1488
1486
  l && l(!m);
1489
1487
  }, [l, m]);
1490
1488
  const h = e == null ? void 0 : e.includes(".mp4");
1491
1489
  return n(ae, {
1492
- children: m ? null : N(ca, {
1490
+ children: m ? null : N(da, {
1493
1491
  style: {
1494
1492
  width: s
1495
1493
  },
1496
1494
  className: "relative bg-f1-background p-1",
1497
- children: [N(ua, {
1495
+ children: [N(fa, {
1498
1496
  children: [o && n("div", {
1499
1497
  className: "absolute right-2 top-2 z-10",
1500
- children: n(B, {
1498
+ children: n(M, {
1501
1499
  variant: "ghost",
1502
1500
  icon: He,
1503
1501
  size: "sm",
@@ -1521,18 +1519,18 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1521
1519
  }))
1522
1520
  }), N("div", {
1523
1521
  className: "flex flex-col gap-[2px] p-3",
1524
- children: [n(Se, {
1522
+ children: [n(Ce, {
1525
1523
  className: "text-lg font-medium",
1526
1524
  children: t
1527
- }), n(Se, {
1525
+ }), n(Ce, {
1528
1526
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
1529
1527
  children: r
1530
1528
  })]
1531
1529
  })]
1532
1530
  })]
1533
- }), d && n(da, {
1531
+ }), d && n(pa, {
1534
1532
  className: "p-3",
1535
- children: d.map((u) => u.type === "upsell" ? n(Je, {
1533
+ children: d.map((u) => u.type === "upsell" ? n(Ue, {
1536
1534
  label: u.label,
1537
1535
  onRequest: u.onClick,
1538
1536
  errorMessage: u.errorMessage,
@@ -1542,7 +1540,7 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1542
1540
  closeLabel: u.closeLabel,
1543
1541
  showConfirmation: i && u.showConfirmation,
1544
1542
  variant: u.variant
1545
- }, u.label) : n(B, {
1543
+ }, u.label) : n(M, {
1546
1544
  label: u.label,
1547
1545
  onClick: u.onClick,
1548
1546
  variant: u.variant
@@ -1551,8 +1549,8 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1551
1549
  })
1552
1550
  });
1553
1551
  }
1554
- const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1555
- const s = (i) => i.variant === "promote" ? n(Je, {
1552
+ const br = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1553
+ const s = (i) => i.variant === "promote" ? n(Ue, {
1556
1554
  label: i.label,
1557
1555
  onRequest: async () => {
1558
1556
  await i.onClick();
@@ -1565,14 +1563,14 @@ const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1565
1563
  showIcon: i.showIcon,
1566
1564
  showConfirmation: i.showConfirmation,
1567
1565
  variant: i.variant
1568
- }) : n(B, {
1566
+ }) : n(M, {
1569
1567
  onClick: i.onClick,
1570
1568
  label: i.label,
1571
1569
  variant: i.variant || "default",
1572
1570
  size: "md",
1573
1571
  icon: i.icon
1574
1572
  }), l = (t == null ? void 0 : t.variant) !== "promote" ? t : void 0, d = (r == null ? void 0 : r.variant) !== "promote" ? r : void 0;
1575
- return N(fa, {
1573
+ return N(ma, {
1576
1574
  ref: o,
1577
1575
  ...a,
1578
1576
  primaryAction: l,
@@ -1580,9 +1578,9 @@ const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1580
1578
  children: [(t == null ? void 0 : t.variant) === "promote" && s(t), (r == null ? void 0 : r.variant) === "promote" && s(r)]
1581
1579
  });
1582
1580
  });
1583
- vr.displayName = "UpsellingBanner";
1584
- function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = pa, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: C = !1 }) {
1585
- const [O, g] = F(!1), [b, w] = F(null), [S, y] = F(null), v = (P) => {
1581
+ br.displayName = "UpsellingBanner";
1582
+ function Jr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = ha, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: S = !1 }) {
1583
+ const [O, g] = D(!1), [b, w] = D(null), [C, y] = D(null), v = (P) => {
1586
1584
  t(P), A && A();
1587
1585
  }, L = async (P) => {
1588
1586
  if (P.type === "upsell") {
@@ -1603,21 +1601,21 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1603
1601
  children: [N(Me, {
1604
1602
  open: E,
1605
1603
  onOpenChange: v,
1606
- children: [n(Be, {
1604
+ children: [n(Re, {
1607
1605
  asChild: !0,
1608
- children: n(B, {
1606
+ children: n(M, {
1609
1607
  variant: a,
1610
1608
  label: r,
1611
1609
  size: o,
1612
1610
  icon: s ? i : void 0,
1613
1611
  onClick: () => t(e),
1614
- hideLabel: C
1612
+ hideLabel: S
1615
1613
  })
1616
- }), n(Re, {
1614
+ }), n(ze, {
1617
1615
  side: l,
1618
1616
  align: d,
1619
1617
  className: "w-fit border-none bg-transparent p-2 shadow-none",
1620
- children: n(hr, {
1618
+ children: n(yr, {
1621
1619
  mediaUrl: m,
1622
1620
  title: c,
1623
1621
  description: f,
@@ -1629,56 +1627,56 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1629
1627
  showConfirmation: !1
1630
1628
  })
1631
1629
  })]
1632
- }), (S == null ? void 0 : S.type) === "upsell" && S.showConfirmation && b && n(Ye, {
1630
+ }), (C == null ? void 0 : C.type) === "upsell" && C.showConfirmation && b && n(Je, {
1633
1631
  open: !0,
1634
1632
  onClose: T,
1635
1633
  success: b === "success",
1636
- errorMessage: S.errorMessage,
1637
- successMessage: S.successMessage,
1638
- nextSteps: S.nextSteps,
1639
- closeLabel: S.closeLabel,
1634
+ errorMessage: C.errorMessage,
1635
+ successMessage: C.successMessage,
1636
+ nextSteps: C.nextSteps,
1637
+ closeLabel: C.closeLabel,
1640
1638
  portalContainer: null
1641
1639
  })]
1642
1640
  });
1643
1641
  }
1644
- const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
1645
- const r = pe(null), [a, o] = F(r.current);
1646
- return Ca(() => {
1642
+ const gr = La(null), xr = ({ children: e, fullScreen: t = !0 }) => {
1643
+ const r = pe(null), [a, o] = D(r.current);
1644
+ return Na(() => {
1647
1645
  o(r.current);
1648
- }, []), n(yr.Provider, {
1646
+ }, []), n(gr.Provider, {
1649
1647
  value: {
1650
1648
  element: a
1651
1649
  },
1652
1650
  children: n("div", {
1653
1651
  ref: r,
1654
1652
  id: "f0-layout",
1655
- className: I({
1653
+ className: _({
1656
1654
  "flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": t
1657
1655
  }),
1658
1656
  children: e
1659
1657
  })
1660
1658
  });
1661
- }, gr = ({ children: e }) => n(Pa, {
1659
+ }, wr = ({ children: e }) => n(Ca, {
1662
1660
  reducedMotion: "user",
1663
1661
  children: e
1664
- }), Wr = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: o, i18n: s, l10n: l, isDev: d = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => n(gr, {
1665
- children: n(ma, {
1662
+ }), Ur = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: o, i18n: s, l10n: l, isDev: d = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => n(wr, {
1663
+ children: n(va, {
1666
1664
  isDev: d,
1667
1665
  showExperimentalWarnings: m,
1668
- children: n(ha, {
1666
+ children: n(ya, {
1669
1667
  ...l,
1670
- children: n(va, {
1668
+ children: n(ba, {
1671
1669
  ...s,
1672
- children: n(ya, {
1670
+ children: n(ga, {
1673
1671
  ...r,
1674
- children: n(br, {
1672
+ children: n(xr, {
1675
1673
  ...t,
1676
- children: n(ba, {
1677
- children: n(ga, {
1674
+ children: n(xa, {
1675
+ children: n(wa, {
1678
1676
  initiallyEnabled: a,
1679
- children: n(xa, {
1677
+ children: n(Pa, {
1680
1678
  ...o,
1681
- children: n(wa, {
1679
+ children: n(Sa, {
1682
1680
  handler: i,
1683
1681
  children: e
1684
1682
  })
@@ -1690,96 +1688,103 @@ const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
1690
1688
  })
1691
1689
  })
1692
1690
  })
1693
- }), Fe = (e) => `datacollection-${e}`, Gr = {
1691
+ }), De = (e) => `datacollection-${e}`, Xr = {
1694
1692
  get: async (e) => JSON.parse(
1695
- localStorage.getItem(Fe(e)) ?? "{}"
1693
+ localStorage.getItem(De(e)) ?? "{}"
1696
1694
  ),
1697
1695
  set: async (e, t) => {
1698
- localStorage.setItem(Fe(e), JSON.stringify(t));
1696
+ localStorage.setItem(De(e), JSON.stringify(t));
1699
1697
  }
1700
1698
  };
1701
1699
  export {
1702
- Or as AreaChart,
1703
- Hr as Await,
1704
- kr as BarChart,
1705
- B as Button,
1706
- Lr as CategoryBarChart,
1707
- Ir as ComboChart,
1708
- Yr as CopyButton,
1709
- Jr as DndProvider,
1710
- Ur as EmojiImage,
1711
- Xr as F0Avatar,
1712
- Zr as F0AvatarAlert,
1713
- Qr as F0AvatarCompany,
1714
- en as F0AvatarDate,
1715
- tn as F0AvatarEmoji,
1716
- an as F0AvatarFile,
1717
- rn as F0AvatarIcon,
1718
- nn as F0AvatarList,
1719
- Ve as F0AvatarModule,
1720
- on as F0AvatarPerson,
1721
- sn as F0AvatarTeam,
1722
- ln as F0Card,
1723
- cn as F0Checkbox,
1724
- Er as F0ChipList,
1725
- $r as F0DatePicker,
1726
- un as F0EventCatcherProvider,
1727
- ra as F0Icon,
1728
- Wr as F0Provider,
1729
- dn as F0TagAlert,
1730
- fn as F0TagBalance,
1731
- pn as F0TagCompany,
1732
- mn as F0TagDot,
1733
- hn as F0TagList,
1734
- vn as F0TagPerson,
1735
- aa as F0TagRaw,
1736
- yn as F0TagStatus,
1737
- bn as F0TagTeam,
1738
- gn as GROUP_ID_SYMBOL,
1739
- Rr as HomeLayout,
1740
- Fr as LineChart,
1741
- Sr as Link,
1742
- xn as OneFilterPicker,
1743
- Tr as PieChart,
1744
- ga as PrivacyModeProvider,
1745
- ut as ProductBlankslate,
1746
- wn as ProductCard,
1747
- zr as ProductModal,
1748
- hr as ProductWidget,
1700
+ kr as AreaChart,
1701
+ en as Await,
1702
+ Lr as BarChart,
1703
+ Dr as CategoryBarChart,
1704
+ Er as ComboChart,
1705
+ tn as DndProvider,
1706
+ an as EmojiImage,
1707
+ rn as F0Avatar,
1708
+ nn as F0AvatarAlert,
1709
+ on as F0AvatarCompany,
1710
+ sn as F0AvatarDate,
1711
+ ln as F0AvatarEmoji,
1712
+ cn as F0AvatarFile,
1713
+ un as F0AvatarIcon,
1714
+ dn as F0AvatarList,
1715
+ Ye as F0AvatarModule,
1716
+ fn as F0AvatarPerson,
1717
+ pn as F0AvatarTeam,
1718
+ M as F0Button,
1719
+ mn as F0ButtonDropdown,
1720
+ hn as F0ButtonToggle,
1721
+ vn as F0Card,
1722
+ yn as F0Checkbox,
1723
+ Kr as F0ChipList,
1724
+ Gr as F0DatePicker,
1725
+ bn as F0EventCatcherProvider,
1726
+ oa as F0Icon,
1727
+ gn as F0Link,
1728
+ Ur as F0Provider,
1729
+ xn as F0TagAlert,
1730
+ wn as F0TagBalance,
1731
+ Pn as F0TagCompany,
1732
+ Sn as F0TagDot,
1733
+ Cn as F0TagList,
1734
+ Nn as F0TagPerson,
1735
+ na as F0TagRaw,
1736
+ An as F0TagStatus,
1737
+ On as F0TagTeam,
1738
+ kn as GROUP_ID_SYMBOL,
1739
+ Yr as HomeLayout,
1740
+ Tr as LineChart,
1741
+ Ln as OneFilterPicker,
1742
+ Fr as PieChart,
1743
+ wa as PrivacyModeProvider,
1744
+ dt as ProductBlankslate,
1745
+ Dn as ProductCard,
1746
+ Hr as ProductModal,
1747
+ yr as ProductWidget,
1749
1748
  _r as ProgressBarChart,
1750
- Mr as StandardLayout,
1751
- Pn as TagCounter,
1752
- Br as TwoColumnLayout,
1753
- Ye as UpsellRequestResponseDialog,
1754
- vr as UpsellingBanner,
1755
- Je as UpsellingButton,
1756
- Kr as UpsellingPopover,
1757
- Dr as VerticalBarChart,
1758
- Nr as avatarVariants,
1759
- Cn as buildTranslations,
1760
- Sn as createAtlaskitDriver,
1761
- Nn as createDataSourceDefinition,
1762
- Gr as dataCollectionLocalStorageHandler,
1763
- jr as datepickerSizes,
1764
- Cr as defaultTranslations,
1765
- We as experimental,
1766
- An as getAnimationVariants,
1767
- On as getDataSourcePaginationType,
1768
- kn as getEmojiLabel,
1769
- Ln as isInfiniteScrollPagination,
1770
- Fn as isPageBasedPagination,
1771
- Tn as modules,
1772
- Dn as predefinedPresets,
1773
- _n as tagDotColors,
1774
- In as useData,
1775
- En as useDataSource,
1776
- jn as useDndEvents,
1777
- $n as useDraggable,
1778
- Mn as useDroppableList,
1779
- Bn as useEmojiConfetti,
1780
- Rn as useGroups,
1781
- zn as usePrivacyMode,
1782
- Kn as useReducedMotion,
1783
- Wn as useSelectable,
1784
- Gn as useXRay
1749
+ Vr as StandardLayout,
1750
+ Tn as TagCounter,
1751
+ qr as TwoColumnLayout,
1752
+ Je as UpsellRequestResponseDialog,
1753
+ br as UpsellingBanner,
1754
+ Ue as UpsellingButton,
1755
+ Jr as UpsellingPopover,
1756
+ Ir as VerticalBarChart,
1757
+ Ar as avatarVariants,
1758
+ Fn as buildTranslations,
1759
+ Mr as buttonDropdownSizes,
1760
+ Br as buttonDropdownVariants,
1761
+ $r as buttonSizes,
1762
+ Rr as buttonToggleSizes,
1763
+ jr as buttonVariants,
1764
+ In as createAtlaskitDriver,
1765
+ _n as createDataSourceDefinition,
1766
+ Xr as dataCollectionLocalStorageHandler,
1767
+ Wr as datepickerSizes,
1768
+ Nr as defaultTranslations,
1769
+ Ge as experimental,
1770
+ En as getAnimationVariants,
1771
+ jn as getDataSourcePaginationType,
1772
+ $n as getEmojiLabel,
1773
+ Bn as isInfiniteScrollPagination,
1774
+ Mn as isPageBasedPagination,
1775
+ zr as linkVariants,
1776
+ Rn as modules,
1777
+ zn as predefinedPresets,
1778
+ Kn as tagDotColors,
1779
+ Wn as useData,
1780
+ Gn as useDataSource,
1781
+ Vn as useDndEvents,
1782
+ qn as useDraggable,
1783
+ Yn as useDroppableList,
1784
+ Hn as useEmojiConfetti,
1785
+ Jn as useGroups,
1786
+ Un as usePrivacyMode,
1787
+ Xn as useReducedMotion,
1788
+ Zn as useSelectable,
1789
+ Qn as useXRay
1785
1790
  };