@factorialco/f0-react 6.96.0 → 6.97.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.
@@ -2659,7 +2659,23 @@ const qs = (e, r) => /* @__PURE__ */ i(
2659
2659
  )
2660
2660
  ]
2661
2661
  }
2662
- ), C0 = m(h0), p0 = (e, r) => /* @__PURE__ */ i(
2662
+ ), C0 = m(h0), p0 = (e, r) => /* @__PURE__ */ t(
2663
+ "svg",
2664
+ {
2665
+ xmlns: "http://www.w3.org/2000/svg",
2666
+ fill: "none",
2667
+ viewBox: "0 0 24 24",
2668
+ ref: r,
2669
+ ...e,
2670
+ children: /* @__PURE__ */ t(
2671
+ "path",
2672
+ {
2673
+ fill: "currentColor",
2674
+ d: "M5.4818 9.01422C5.72537 7.95938 6.91427 8.31509 6.67418 9.85699C6.6587 10.0357 6.64977 10.2175 6.64977 10.4009C6.65004 11.9746 7.31576 13.4417 8.40172 14.9459C9.3809 16.3019 10.6526 17.6259 11.9994 19.0523C12.6472 18.3662 13.2768 17.702 13.8656 17.0484C14.4545 16.3947 15.3098 17.2773 14.7865 17.9693C14.2631 18.6613 13.2493 19.6179 12.474 20.4449C12.3511 20.5756 12.1788 20.6509 11.9994 20.6509C11.82 20.6508 11.6475 20.5757 11.5248 20.4449C10.0455 18.867 8.5034 17.3082 7.34704 15.7066C6.18354 14.0951 5.34926 12.361 5.34899 10.4009C5.34899 9.82421 5.3574 9.55304 5.4818 9.01422ZM4.5404 4.53961C4.79426 4.28617 5.20661 4.28592 5.46032 4.53961L19.4603 18.5396C19.714 18.7933 19.7138 19.2057 19.4603 19.4595C19.2065 19.7134 18.7942 19.7134 18.5404 19.4595L4.5404 5.45953C4.28657 5.20569 4.28656 4.79345 4.5404 4.53961ZM11.9994 3.35016C15.711 3.35016 18.6498 6.54749 18.6498 10.4009C18.6496 11.8217 18.2101 13.1228 17.5257 14.3453C17.1608 14.9575 16.0071 14.4256 16.5648 13.3843C17.0636 12.4084 17.3488 11.4279 17.349 10.4009C17.349 7.18515 14.9152 4.65094 11.9994 4.65094C10.851 4.65107 9.77735 5.04428 8.89782 5.71735C8.05895 6.394 7.26121 5.32479 7.97008 4.78961C9.08313 3.88838 10.4764 3.35029 11.9994 3.35016ZM12.0004 7.34918C13.4635 7.34949 14.6505 8.53639 14.6507 9.99957C14.6507 10.6101 14.5787 10.9606 14.2318 11.4088C13.7499 12.1248 12.8166 11.3398 13.1605 10.6851C13.2794 10.4841 13.35 10.2501 13.35 9.99957C13.3497 9.25436 12.7455 8.65027 12.0004 8.64996C11.7496 8.64996 11.668 8.65037 11.4349 8.77594C10.5281 9.39806 9.99696 8.23178 10.5785 7.77399C11.0266 7.42699 11.3898 7.34918 12.0004 7.34918Z"
2675
+ }
2676
+ )
2677
+ }
2678
+ ), m0 = m(p0), g0 = (e, r) => /* @__PURE__ */ i(
2663
2679
  "svg",
2664
2680
  {
2665
2681
  xmlns: "http://www.w3.org/2000/svg",
@@ -2698,7 +2714,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2698
2714
  )
2699
2715
  ]
2700
2716
  }
2701
- ), m0 = m(p0), g0 = (e, r) => /* @__PURE__ */ t(
2717
+ ), w0 = m(g0), v0 = (e, r) => /* @__PURE__ */ t(
2702
2718
  "svg",
2703
2719
  {
2704
2720
  xmlns: "http://www.w3.org/2000/svg",
@@ -2716,7 +2732,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2716
2732
  }
2717
2733
  )
2718
2734
  }
2719
- ), w0 = m(g0), v0 = (e, r) => /* @__PURE__ */ i(
2735
+ ), x0 = m(v0), L0 = (e, r) => /* @__PURE__ */ i(
2720
2736
  "svg",
2721
2737
  {
2722
2738
  xmlns: "http://www.w3.org/2000/svg",
@@ -2770,7 +2786,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2770
2786
  )
2771
2787
  ]
2772
2788
  }
2773
- ), x0 = m(v0), L0 = (e, r) => /* @__PURE__ */ i(
2789
+ ), b0 = m(L0), k0 = (e, r) => /* @__PURE__ */ i(
2774
2790
  "svg",
2775
2791
  {
2776
2792
  xmlns: "http://www.w3.org/2000/svg",
@@ -2842,7 +2858,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2842
2858
  )
2843
2859
  ]
2844
2860
  }
2845
- ), b0 = m(L0), k0 = (e, r) => /* @__PURE__ */ t(
2861
+ ), y0 = m(k0), M0 = (e, r) => /* @__PURE__ */ t(
2846
2862
  "svg",
2847
2863
  {
2848
2864
  xmlns: "http://www.w3.org/2000/svg",
@@ -2860,7 +2876,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2860
2876
  }
2861
2877
  )
2862
2878
  }
2863
- ), y0 = m(k0), M0 = (e, r) => /* @__PURE__ */ i(
2879
+ ), R0 = m(M0), F0 = (e, r) => /* @__PURE__ */ i(
2864
2880
  "svg",
2865
2881
  {
2866
2882
  xmlns: "http://www.w3.org/2000/svg",
@@ -2881,7 +2897,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2881
2897
  /* @__PURE__ */ t("path", { stroke: "currentColor", strokeLinecap: "round", d: "M9 12H13" })
2882
2898
  ]
2883
2899
  }
2884
- ), R0 = m(M0), F0 = (e, r) => /* @__PURE__ */ i(
2900
+ ), N0 = m(F0), S0 = (e, r) => /* @__PURE__ */ i(
2885
2901
  "svg",
2886
2902
  {
2887
2903
  xmlns: "http://www.w3.org/2000/svg",
@@ -2894,7 +2910,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2894
2910
  /* @__PURE__ */ t("circle", { cx: 12, cy: 12, r: 6, fill: "currentColor" })
2895
2911
  ]
2896
2912
  }
2897
- ), N0 = m(F0), S0 = (e, r) => /* @__PURE__ */ t(
2913
+ ), V0 = m(S0), T0 = (e, r) => /* @__PURE__ */ t(
2898
2914
  "svg",
2899
2915
  {
2900
2916
  xmlns: "http://www.w3.org/2000/svg",
@@ -2912,7 +2928,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2912
2928
  }
2913
2929
  )
2914
2930
  }
2915
- ), V0 = m(S0), T0 = (e, r) => /* @__PURE__ */ i(
2931
+ ), A0 = m(T0), E0 = (e, r) => /* @__PURE__ */ i(
2916
2932
  "svg",
2917
2933
  {
2918
2934
  xmlns: "http://www.w3.org/2000/svg",
@@ -2959,7 +2975,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2959
2975
  )
2960
2976
  ]
2961
2977
  }
2962
- ), A0 = m(T0), E0 = (e, r) => /* @__PURE__ */ i(
2978
+ ), H0 = m(E0), $0 = (e, r) => /* @__PURE__ */ i(
2963
2979
  "svg",
2964
2980
  {
2965
2981
  xmlns: "http://www.w3.org/2000/svg",
@@ -2987,7 +3003,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
2987
3003
  )
2988
3004
  ]
2989
3005
  }
2990
- ), H0 = m(E0), $0 = (e, r) => /* @__PURE__ */ t(
3006
+ ), I0 = m($0), B0 = (e, r) => /* @__PURE__ */ t(
2991
3007
  "svg",
2992
3008
  {
2993
3009
  xmlns: "http://www.w3.org/2000/svg",
@@ -3005,7 +3021,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
3005
3021
  }
3006
3022
  )
3007
3023
  }
3008
- ), I0 = m($0), B0 = (e, r) => /* @__PURE__ */ i(
3024
+ ), P0 = m(B0), D0 = (e, r) => /* @__PURE__ */ i(
3009
3025
  "svg",
3010
3026
  {
3011
3027
  xmlns: "http://www.w3.org/2000/svg",
@@ -3034,7 +3050,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
3034
3050
  )
3035
3051
  ]
3036
3052
  }
3037
- ), P0 = m(B0), D0 = (e, r) => /* @__PURE__ */ i(
3053
+ ), _0 = m(D0), j0 = (e, r) => /* @__PURE__ */ i(
3038
3054
  "svg",
3039
3055
  {
3040
3056
  xmlns: "http://www.w3.org/2000/svg",
@@ -3080,7 +3096,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
3080
3096
  )
3081
3097
  ]
3082
3098
  }
3083
- ), _0 = m(D0), j0 = (e, r) => /* @__PURE__ */ t(
3099
+ ), O0 = m(j0), Z0 = (e, r) => /* @__PURE__ */ t(
3084
3100
  "svg",
3085
3101
  {
3086
3102
  xmlns: "http://www.w3.org/2000/svg",
@@ -3097,7 +3113,7 @@ const qs = (e, r) => /* @__PURE__ */ i(
3097
3113
  }
3098
3114
  )
3099
3115
  }
3100
- ), O0 = m(j0), Z0 = (e, r) => /* @__PURE__ */ i(
3116
+ ), U0 = m(Z0), z0 = (e, r) => /* @__PURE__ */ i(
3101
3117
  "svg",
3102
3118
  {
3103
3119
  xmlns: "http://www.w3.org/2000/svg",
@@ -3139,9 +3155,9 @@ const qs = (e, r) => /* @__PURE__ */ i(
3139
3155
  )
3140
3156
  ]
3141
3157
  }
3142
- ), Xt = m(Z0);
3158
+ ), Xt = m(z0);
3143
3159
  Xt.displayName = "ShoppingCart";
3144
- const U0 = (e, r) => /* @__PURE__ */ i(
3160
+ const G0 = (e, r) => /* @__PURE__ */ i(
3145
3161
  "svg",
3146
3162
  {
3147
3163
  xmlns: "http://www.w3.org/2000/svg",
@@ -3180,7 +3196,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3180
3196
  )
3181
3197
  ]
3182
3198
  }
3183
- ), z0 = m(U0), G0 = (e, r) => /* @__PURE__ */ i(
3199
+ ), W0 = m(G0), q0 = (e, r) => /* @__PURE__ */ i(
3184
3200
  "svg",
3185
3201
  {
3186
3202
  xmlns: "http://www.w3.org/2000/svg",
@@ -3209,7 +3225,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3209
3225
  )
3210
3226
  ]
3211
3227
  }
3212
- ), W0 = m(G0), q0 = (e, r) => /* @__PURE__ */ i(
3228
+ ), X0 = m(q0), Y0 = (e, r) => /* @__PURE__ */ i(
3213
3229
  "svg",
3214
3230
  {
3215
3231
  xmlns: "http://www.w3.org/2000/svg",
@@ -3238,7 +3254,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3238
3254
  )
3239
3255
  ]
3240
3256
  }
3241
- ), X0 = m(q0), Y0 = (e, r) => /* @__PURE__ */ i(
3257
+ ), K0 = m(Y0), Q0 = (e, r) => /* @__PURE__ */ i(
3242
3258
  "svg",
3243
3259
  {
3244
3260
  xmlns: "http://www.w3.org/2000/svg",
@@ -3297,7 +3313,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3297
3313
  )
3298
3314
  ]
3299
3315
  }
3300
- ), K0 = m(Y0), Q0 = (e, r) => /* @__PURE__ */ i(
3316
+ ), J0 = m(Q0), e2 = (e, r) => /* @__PURE__ */ i(
3301
3317
  "svg",
3302
3318
  {
3303
3319
  xmlns: "http://www.w3.org/2000/svg",
@@ -3326,7 +3342,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3326
3342
  )
3327
3343
  ]
3328
3344
  }
3329
- ), J0 = m(Q0), e2 = (e, r) => /* @__PURE__ */ i(
3345
+ ), t2 = m(e2), r2 = (e, r) => /* @__PURE__ */ i(
3330
3346
  "svg",
3331
3347
  {
3332
3348
  xmlns: "http://www.w3.org/2000/svg",
@@ -3355,7 +3371,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3355
3371
  )
3356
3372
  ]
3357
3373
  }
3358
- ), t2 = m(e2), r2 = (e, r) => /* @__PURE__ */ i(
3374
+ ), n2 = m(r2), o2 = (e, r) => /* @__PURE__ */ i(
3359
3375
  "svg",
3360
3376
  {
3361
3377
  xmlns: "http://www.w3.org/2000/svg",
@@ -3375,7 +3391,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3375
3391
  /* @__PURE__ */ t("path", { stroke: "currentColor", strokeLinecap: "round", d: "M12 16V16.1" })
3376
3392
  ]
3377
3393
  }
3378
- ), n2 = m(r2), o2 = (e, r) => /* @__PURE__ */ i(
3394
+ ), s2 = m(o2), a2 = (e, r) => /* @__PURE__ */ i(
3379
3395
  "svg",
3380
3396
  {
3381
3397
  xmlns: "http://www.w3.org/2000/svg",
@@ -3391,7 +3407,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3391
3407
  /* @__PURE__ */ t("circle", { cx: 7.5, cy: 7.5, r: 0.5, fill: "currentColor" })
3392
3408
  ]
3393
3409
  }
3394
- ), s2 = m(o2), a2 = (e, r) => /* @__PURE__ */ i(
3410
+ ), i2 = m(a2), l2 = (e, r) => /* @__PURE__ */ i(
3395
3411
  "svg",
3396
3412
  {
3397
3413
  xmlns: "http://www.w3.org/2000/svg",
@@ -3420,7 +3436,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3420
3436
  )
3421
3437
  ]
3422
3438
  }
3423
- ), Yt = m(a2), i2 = (e, r) => /* @__PURE__ */ i(
3439
+ ), Yt = m(l2), c2 = (e, r) => /* @__PURE__ */ i(
3424
3440
  "svg",
3425
3441
  {
3426
3442
  xmlns: "http://www.w3.org/2000/svg",
@@ -3445,7 +3461,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3445
3461
  )
3446
3462
  ]
3447
3463
  }
3448
- ), Kt = m(i2), l2 = (e, r) => /* @__PURE__ */ i(
3464
+ ), Kt = m(c2), d2 = (e, r) => /* @__PURE__ */ i(
3449
3465
  "svg",
3450
3466
  {
3451
3467
  xmlns: "http://www.w3.org/2000/svg",
@@ -3474,7 +3490,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3474
3490
  )
3475
3491
  ]
3476
3492
  }
3477
- ), Qt = m(l2), c2 = (e, r) => /* @__PURE__ */ i(
3493
+ ), Qt = m(d2), u2 = (e, r) => /* @__PURE__ */ i(
3478
3494
  "svg",
3479
3495
  {
3480
3496
  xmlns: "http://www.w3.org/2000/svg",
@@ -3499,7 +3515,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3499
3515
  )
3500
3516
  ]
3501
3517
  }
3502
- ), Jt = m(c2), d2 = (e, r) => /* @__PURE__ */ i(
3518
+ ), Jt = m(u2), f2 = (e, r) => /* @__PURE__ */ i(
3503
3519
  "svg",
3504
3520
  {
3505
3521
  xmlns: "http://www.w3.org/2000/svg",
@@ -3555,7 +3571,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3555
3571
  )
3556
3572
  ]
3557
3573
  }
3558
- ), u2 = m(d2), f2 = (e, r) => /* @__PURE__ */ t(
3574
+ ), h2 = m(f2), C2 = (e, r) => /* @__PURE__ */ t(
3559
3575
  "svg",
3560
3576
  {
3561
3577
  xmlns: "http://www.w3.org/2000/svg",
@@ -3573,7 +3589,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3573
3589
  }
3574
3590
  )
3575
3591
  }
3576
- ), h2 = m(f2), C2 = (e, r) => /* @__PURE__ */ i(
3592
+ ), p2 = m(C2), m2 = (e, r) => /* @__PURE__ */ i(
3577
3593
  "svg",
3578
3594
  {
3579
3595
  xmlns: "http://www.w3.org/2000/svg",
@@ -3603,7 +3619,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3603
3619
  /* @__PURE__ */ t("path", { stroke: "currentColor", strokeLinecap: "round", d: "M5 5L18 18" })
3604
3620
  ]
3605
3621
  }
3606
- ), p2 = m(C2), m2 = (e, r) => /* @__PURE__ */ i(
3622
+ ), g2 = m(m2), w2 = (e, r) => /* @__PURE__ */ i(
3607
3623
  "svg",
3608
3624
  {
3609
3625
  xmlns: "http://www.w3.org/2000/svg",
@@ -3631,7 +3647,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3631
3647
  /* @__PURE__ */ t("circle", { cx: 16.25, cy: 13.75, r: 1.25, fill: "currentColor" })
3632
3648
  ]
3633
3649
  }
3634
- ), g2 = m(m2), w2 = (e, r) => /* @__PURE__ */ i(
3650
+ ), v2 = m(w2), x2 = (e, r) => /* @__PURE__ */ i(
3635
3651
  "svg",
3636
3652
  {
3637
3653
  xmlns: "http://www.w3.org/2000/svg",
@@ -3659,7 +3675,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3659
3675
  )
3660
3676
  ]
3661
3677
  }
3662
- ), v2 = m(w2), x2 = (e, r) => /* @__PURE__ */ i(
3678
+ ), L2 = m(x2), b2 = (e, r) => /* @__PURE__ */ i(
3663
3679
  "svg",
3664
3680
  {
3665
3681
  xmlns: "http://www.w3.org/2000/svg",
@@ -3684,7 +3700,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3684
3700
  )
3685
3701
  ]
3686
3702
  }
3687
- ), L2 = m(x2), b2 = (e, r) => /* @__PURE__ */ i(
3703
+ ), k2 = m(b2), y2 = (e, r) => /* @__PURE__ */ i(
3688
3704
  "svg",
3689
3705
  {
3690
3706
  xmlns: "http://www.w3.org/2000/svg",
@@ -3702,7 +3718,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3702
3718
  /* @__PURE__ */ t("path", { d: "M8.5 16.429a5 5 0 0 1 7 0" })
3703
3719
  ]
3704
3720
  }
3705
- ), k2 = m(b2), y2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3721
+ ), M2 = m(y2), R2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3706
3722
  __proto__: null,
3707
3723
  AcademicCap: Xs,
3708
3724
  Add: Yr,
@@ -3900,82 +3916,83 @@ const U0 = (e, r) => /* @__PURE__ */ i(
3900
3916
  Phone: f0,
3901
3917
  Pig: C0,
3902
3918
  Pin: So,
3903
- PixBrazil: m0,
3919
+ PinOff: m0,
3920
+ PixBrazil: w0,
3904
3921
  Placeholder: Vo,
3905
- Plane: w0,
3922
+ Plane: x0,
3906
3923
  Plus: To,
3907
- Present: x0,
3924
+ Present: b0,
3908
3925
  Printer: Os,
3909
- Proyector: b0,
3926
+ Proyector: y0,
3910
3927
  PushPin: St,
3911
3928
  PushPinSolid: Vt,
3912
3929
  Question: Ao,
3913
- QuestionCircle: y0,
3930
+ QuestionCircle: R0,
3914
3931
  Quote: Tt,
3915
3932
  Reaction: Eo,
3916
- Receipt: R0,
3917
- Record: N0,
3918
- RemoveFavorite: V0,
3919
- Replace: A0,
3933
+ Receipt: N0,
3934
+ Record: V0,
3935
+ RemoveFavorite: A0,
3936
+ Replace: H0,
3920
3937
  Reply: c1,
3921
3938
  Reset: Ho,
3922
- Rocket: H0,
3923
- Salad: I0,
3924
- Save: P0,
3925
- Schedule: _0,
3939
+ Rocket: I0,
3940
+ Salad: P0,
3941
+ Save: _0,
3942
+ Schedule: O0,
3926
3943
  Search: d1,
3927
3944
  SearchPerson: $o,
3928
3945
  Settings: Zs,
3929
3946
  Share: Io,
3930
- Shield: O0,
3947
+ Shield: U0,
3931
3948
  ShoppingCart: Xt,
3932
- SignPost: z0,
3933
- Sleep: W0,
3949
+ SignPost: W0,
3950
+ Sleep: X0,
3934
3951
  Sliders: u1,
3935
3952
  SolidPause: Bo,
3936
3953
  SolidPlay: Po,
3937
3954
  SolidStop: At,
3938
- Sort: X0,
3939
- Sparkles: K0,
3955
+ Sort: K0,
3956
+ Sparkles: J0,
3940
3957
  Spinner: Do,
3941
- Split: J0,
3958
+ Split: t2,
3942
3959
  Star: _o,
3943
3960
  StarFilled: jo,
3944
3961
  Strikethrough: Oo,
3945
3962
  Suitcase: Zo,
3946
- Swap: t2,
3963
+ Swap: n2,
3947
3964
  Table: Uo,
3948
- Tablet: n2,
3949
- Tag: s2,
3965
+ Tablet: s2,
3966
+ Tag: i2,
3950
3967
  Target: zo,
3951
3968
  TextSize: Go,
3952
3969
  ThumbsDown: Yt,
3953
3970
  ThumbsDownFilled: Kt,
3954
3971
  ThumbsUp: Qt,
3955
3972
  ThumbsUpFilled: Jt,
3956
- Timer: u2,
3973
+ Timer: h2,
3957
3974
  Underline: Wo,
3958
3975
  Upload: qo,
3959
3976
  Upsell: Et,
3960
- UserProtected: h2,
3977
+ UserProtected: p2,
3961
3978
  Video: Xo,
3962
3979
  VideoRecorder: Yo,
3963
- VideoRecorderNegative: p2,
3980
+ VideoRecorderNegative: g2,
3964
3981
  VolumeHigh: Us,
3965
3982
  VolumeMid: zs,
3966
3983
  VolumeMuted: Gs,
3967
- Wallet: g2,
3984
+ Wallet: v2,
3968
3985
  Warning: Ko,
3969
- Watch: v2,
3970
- WhatsappChat: L2,
3971
- Wifi: k2,
3986
+ Watch: L2,
3987
+ WhatsappChat: k2,
3988
+ Wifi: M2,
3972
3989
  Windows: Qo
3973
- }, Symbol.toStringTag, { value: "Module" })), Yc = ["xs", "sm", "md", "lg"], Kc = [
3990
+ }, Symbol.toStringTag, { value: "Module" })), Q4 = ["xs", "sm", "md", "lg"], J4 = [
3974
3991
  "inProgress",
3975
3992
  "executing",
3976
3993
  "writing",
3977
3994
  "completed"
3978
- ], Je = 20, e1 = 2.5, M2 = ({ percentage: e, tone: r }) => {
3995
+ ], Je = 20, e1 = 2.5, F2 = ({ percentage: e, tone: r }) => {
3979
3996
  const n = Je / 2, o = n - e1 / 2, s = 2 * Math.PI * o, l = (100 - (r === "unlimited" ? 100 : e)) / 100 * s;
3980
3997
  return /* @__PURE__ */ i(
3981
3998
  "svg",
@@ -4060,13 +4077,13 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4060
4077
  ),
4061
4078
  r ? /* @__PURE__ */ t("span", { className: "truncate text-sm text-f1-foreground-secondary", children: r }) : null
4062
4079
  ] });
4063
- }, D1 = (e) => Math.min(100, Math.max(0, Math.round(e))), R2 = () => /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", "aria-busy": "true", "aria-live": "polite", children: [
4080
+ }, D1 = (e) => Math.min(100, Math.max(0, Math.round(e))), N2 = () => /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", "aria-busy": "true", "aria-live": "polite", children: [
4064
4081
  /* @__PURE__ */ i("div", { className: "flex justify-between", children: [
4065
4082
  /* @__PURE__ */ t("div", { className: "h-5 w-28 animate-pulse rounded bg-f1-background-secondary" }),
4066
4083
  /* @__PURE__ */ t("div", { className: "h-5 w-16 animate-pulse rounded bg-f1-background-secondary" })
4067
4084
  ] }),
4068
4085
  /* @__PURE__ */ t("div", { className: "h-2 w-full animate-pulse rounded-full bg-f1-background-secondary" })
4069
- ] }), F2 = ({
4086
+ ] }), S2 = ({
4070
4087
  usage: e,
4071
4088
  error: r = !1,
4072
4089
  onOpenChange: n,
@@ -4093,7 +4110,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4093
4110
  ie()
4094
4111
  ),
4095
4112
  children: [
4096
- /* @__PURE__ */ t(M2, { percentage: u, tone: g }),
4113
+ /* @__PURE__ */ t(F2, { percentage: u, tone: g }),
4097
4114
  /* @__PURE__ */ t("span", { className: "sr-only", children: L })
4098
4115
  ]
4099
4116
  }
@@ -4120,7 +4137,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4120
4137
  percentage: u,
4121
4138
  unlimited: C
4122
4139
  }
4123
- ) : /* @__PURE__ */ t(R2, {}) }),
4140
+ ) : /* @__PURE__ */ t(N2, {}) }),
4124
4141
  e && w ? /* @__PURE__ */ i("div", { className: "flex flex-col border-0 border-t border-solid border-f1-border-secondary p-2", children: [
4125
4142
  e.onSeeCompany ? /* @__PURE__ */ i(
4126
4143
  "button",
@@ -4152,7 +4169,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4152
4169
  }
4153
4170
  )
4154
4171
  ] });
4155
- }, Qc = ["top", "bottom"], er = ({
4172
+ }, ec = ["top", "bottom"], er = ({
4156
4173
  inProgress: e,
4157
4174
  recordingStatus: r = "idle",
4158
4175
  onStartRecording: n,
@@ -4203,7 +4220,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4203
4220
  hideLabel: !0
4204
4221
  }
4205
4222
  );
4206
- }, N2 = ({
4223
+ }, V2 = ({
4207
4224
  onUploadFiles: e,
4208
4225
  toolbarStart: r,
4209
4226
  center: n,
@@ -4340,7 +4357,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4340
4357
  ] })
4341
4358
  ] })
4342
4359
  );
4343
- }, S2 = ({
4360
+ }, T2 = ({
4344
4361
  attachedFiles: e,
4345
4362
  isUploading: r,
4346
4363
  onRemove: n,
@@ -4353,7 +4370,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4353
4370
  className: "flex flex-wrap gap-1 px-1 pt-1",
4354
4371
  children: e.map(
4355
4372
  (s) => s.status === "uploading" ? /* @__PURE__ */ t(ue, { className: "h-9 w-36 rounded-[10px]" }, s.id) : s.status === "error" ? /* @__PURE__ */ t(
4356
- V2,
4373
+ A2,
4357
4374
  {
4358
4375
  att: s,
4359
4376
  onRemove: n,
@@ -4378,7 +4395,7 @@ const U0 = (e, r) => /* @__PURE__ */ i(
4378
4395
  )
4379
4396
  }
4380
4397
  );
4381
- function V2({
4398
+ function A2({
4382
4399
  att: e,
4383
4400
  onRemove: r,
4384
4401
  removeLabel: n
@@ -4401,14 +4418,14 @@ function V2({
4401
4418
  ] });
4402
4419
  return e.errorMessage ? /* @__PURE__ */ t(es, { label: e.errorMessage, children: o }) : o;
4403
4420
  }
4404
- const T2 = {
4421
+ const E2 = {
4405
4422
  soft: {
4406
4423
  text: "",
4407
4424
  bg: "bg-f1-background-secondary",
4408
4425
  fontColor: "text-f1-foreground-secondary",
4409
4426
  formBorder: "[&_form]:border-f1-border"
4410
4427
  }
4411
- }, A2 = ({
4428
+ }, H2 = ({
4412
4429
  creditWarning: e,
4413
4430
  children: r
4414
4431
  }) => {
@@ -4416,7 +4433,7 @@ const T2 = {
4416
4433
  if (!e)
4417
4434
  return r;
4418
4435
  const o = {
4419
- ...T2[e.level],
4436
+ ...E2[e.level],
4420
4437
  text: n.ai.creditWarning.soft
4421
4438
  };
4422
4439
  return /* @__PURE__ */ i(
@@ -4462,7 +4479,7 @@ const T2 = {
4462
4479
  }
4463
4480
  );
4464
4481
  };
4465
- function E2({
4482
+ function $2({
4466
4483
  isOpen: e,
4467
4484
  results: r,
4468
4485
  isLoading: n,
@@ -4551,7 +4568,7 @@ function E2({
4551
4568
  }
4552
4569
  );
4553
4570
  }
4554
- const H2 = ({
4571
+ const I2 = ({
4555
4572
  quote: e,
4556
4573
  onRemove: r
4557
4574
  }) => {
@@ -4587,7 +4604,7 @@ const H2 = ({
4587
4604
  ]
4588
4605
  }
4589
4606
  ) });
4590
- }, $2 = ({
4607
+ }, B2 = ({
4591
4608
  placeholders: e,
4592
4609
  defaultPlaceholder: r,
4593
4610
  inputValue: n,
@@ -4663,7 +4680,7 @@ const H2 = ({
4663
4680
  )
4664
4681
  }
4665
4682
  ) });
4666
- }, I2 = ({
4683
+ }, P2 = ({
4667
4684
  textareaRef: e,
4668
4685
  highlightRef: r,
4669
4686
  inputValue: n,
@@ -4779,7 +4796,7 @@ const H2 = ({
4779
4796
  }
4780
4797
  ),
4781
4798
  f ? /* @__PURE__ */ t(
4782
- $2,
4799
+ B2,
4783
4800
  {
4784
4801
  placeholders: u,
4785
4802
  defaultPlaceholder: C,
@@ -4789,9 +4806,9 @@ const H2 = ({
4789
4806
  ) : null
4790
4807
  ]
4791
4808
  }
4792
- ), B2 = 4, P2 = ({
4809
+ ), D2 = 4, _2 = ({
4793
4810
  cards: e
4794
- }) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, B2).map((r) => /* @__PURE__ */ t(
4811
+ }) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, D2).map((r) => /* @__PURE__ */ t(
4795
4812
  $t,
4796
4813
  {
4797
4814
  avatar: { type: "icon", icon: r.icon },
@@ -4800,8 +4817,8 @@ const H2 = ({
4800
4817
  onClick: r.onClick
4801
4818
  },
4802
4819
  r.id
4803
- )) }), D2 = 24;
4804
- function _2(e = D2) {
4820
+ )) }), j2 = 24;
4821
+ function O2(e = j2) {
4805
4822
  const [r, n] = I(null), [o, s] = I({ start: !1, end: !1 });
4806
4823
  W(() => {
4807
4824
  if (!r)
@@ -4830,11 +4847,11 @@ function _2(e = D2) {
4830
4847
  }, [o, e]);
4831
4848
  return { ref: n, style: a };
4832
4849
  }
4833
- const j2 = 5, O2 = 46, Z2 = 400, U2 = 16, z2 = 16;
4834
- function G2(e, r = j2) {
4850
+ const Z2 = 5, U2 = 46, z2 = 400, G2 = 16, W2 = 16;
4851
+ function q2(e, r = Z2) {
4835
4852
  return e.length <= r ? e : [...e].sort(() => 0.5 - Math.random()).slice(0, r);
4836
4853
  }
4837
- const W2 = ({
4854
+ const X2 = ({
4838
4855
  suggestions: e,
4839
4856
  onItemClick: r,
4840
4857
  onItemHover: n,
@@ -4842,7 +4859,7 @@ const W2 = ({
4842
4859
  reserveTwoRows: s = !0,
4843
4860
  overflow: a = "wrap"
4844
4861
  }) => {
4845
- const [l, d] = I(null), c = E(null), f = a === "scroll", u = _2(), C = E(null), g = E(!1), h = Ue(), w = Ue(), v = l !== null ? e[l] : null;
4862
+ const [l, d] = I(null), c = E(null), f = a === "scroll", u = O2(), C = E(null), g = E(!1), h = Ue(), w = Ue(), v = l !== null ? e[l] : null;
4846
4863
  return e.length === 0 ? null : /* @__PURE__ */ i(
4847
4864
  Ge,
4848
4865
  {
@@ -4936,8 +4953,8 @@ const W2 = ({
4936
4953
  ]
4937
4954
  }
4938
4955
  ),
4939
- /* @__PURE__ */ t("div", { className: "flex flex-col", children: G2(v.items).map((p, L) => /* @__PURE__ */ t(
4940
- q2,
4956
+ /* @__PURE__ */ t("div", { className: "flex flex-col", children: q2(v.items).map((p, L) => /* @__PURE__ */ t(
4957
+ Y2,
4941
4958
  {
4942
4959
  item: p,
4943
4960
  onHover: n,
@@ -4954,7 +4971,7 @@ const W2 = ({
4954
4971
  }
4955
4972
  );
4956
4973
  };
4957
- function q2({ item: e, onSelect: r, onHover: n }) {
4974
+ function Y2({ item: e, onSelect: r, onHover: n }) {
4958
4975
  const o = E(null), s = E(null), a = E(null), l = fe(), d = j(() => {
4959
4976
  a.current != null && (clearTimeout(a.current), a.current = null);
4960
4977
  const C = s.current, g = o.current;
@@ -4967,11 +4984,11 @@ function q2({ item: e, onSelect: r, onHover: n }) {
4967
4984
  const h = C.scrollWidth - C.clientWidth;
4968
4985
  if (h <= 0)
4969
4986
  return;
4970
- const w = h + U2, v = w / O2 * 1e3;
4987
+ const w = h + G2, v = w / U2 * 1e3;
4971
4988
  C.style.overflow = "visible";
4972
- const p = `linear-gradient(90deg, transparent 0, #000 ${z2}px)`;
4989
+ const p = `linear-gradient(90deg, transparent 0, #000 ${W2}px)`;
4973
4990
  g.style.setProperty("mask-image", p), g.style.setProperty("-webkit-mask-image", p), C.style.transition = `transform ${v}ms linear`, C.style.transform = `translateX(-${w}px)`;
4974
- }, Z2));
4991
+ }, z2));
4975
4992
  }, [l]), f = j(() => {
4976
4993
  n?.(e), c();
4977
4994
  }, [e, n, c]), u = j(() => {
@@ -5012,7 +5029,7 @@ function q2({ item: e, onSelect: r, onHover: n }) {
5012
5029
  function _1(e) {
5013
5030
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
5014
5031
  }
5015
- function X2(e, r, n) {
5032
+ function K2(e, r, n) {
5016
5033
  const o = n?.cursorPosition ?? e.length, s = n?.inlineCompletion ?? null, a = [];
5017
5034
  for (const u of r) {
5018
5035
  const C = `@${u.name}`;
@@ -5038,7 +5055,7 @@ function X2(e, r, n) {
5038
5055
  f(u.start), l.push({ type: "mention", text: e.slice(u.start, u.end) }), d = u.end;
5039
5056
  return f(e.length), !c && s && o >= d && l.push({ type: "ghost", text: s }), l.length === 0 ? [{ type: "text", text: e }] : l;
5040
5057
  }
5041
- function Y2(e, r) {
5058
+ function Q2(e, r) {
5042
5059
  if (r === "*/*")
5043
5060
  return !0;
5044
5061
  if (r.endsWith("/*")) {
@@ -5047,16 +5064,16 @@ function Y2(e, r) {
5047
5064
  }
5048
5065
  return e === r;
5049
5066
  }
5050
- function K2(e, r) {
5067
+ function J2(e, r) {
5051
5068
  if (!r)
5052
5069
  return e;
5053
5070
  const n = Array.isArray(r) ? r : [r];
5054
5071
  return n.length === 0 ? e : e.filter(
5055
- (o) => n.some((s) => Y2(o.type, s))
5072
+ (o) => n.some((s) => Q2(o.type, s))
5056
5073
  );
5057
5074
  }
5058
- const Q2 = 4e3;
5059
- function J2(e) {
5075
+ const el = 4e3;
5076
+ function tl(e) {
5060
5077
  const [r, n] = I([]), [o, s] = I(null), a = E(
5061
5078
  null
5062
5079
  ), l = E(null), d = z(), c = e?.onUploadFiles, f = e?.allowedMimeTypes, u = e?.maxFiles, C = X(() => {
@@ -5069,7 +5086,7 @@ function J2(e) {
5069
5086
  const w = j(($) => {
5070
5087
  a.current && clearTimeout(a.current), s($), a.current = setTimeout(() => {
5071
5088
  s(null), a.current = null;
5072
- }, Q2);
5089
+ }, el);
5073
5090
  }, []);
5074
5091
  W(
5075
5092
  () => () => {
@@ -5081,7 +5098,7 @@ function J2(e) {
5081
5098
  async ($) => {
5082
5099
  if ($.length === 0 || !c)
5083
5100
  return;
5084
- const T = K2($, f);
5101
+ const T = J2($, f);
5085
5102
  if (T.length === 0)
5086
5103
  return;
5087
5104
  if (u !== void 0 && h.current + T.length > u) {
@@ -5162,7 +5179,7 @@ function J2(e) {
5162
5179
  showTransientError: w
5163
5180
  };
5164
5181
  }
5165
- function el(e, r, n) {
5182
+ function rl(e, r, n) {
5166
5183
  const s = e.slice(0, r).lastIndexOf("@");
5167
5184
  if (s === -1)
5168
5185
  return null;
@@ -5187,7 +5204,7 @@ function el(e, r, n) {
5187
5204
  }
5188
5205
  return { atIndex: s, query: a };
5189
5206
  }
5190
- const tl = [
5207
+ const nl = [
5191
5208
  "direction",
5192
5209
  "boxSizing",
5193
5210
  "width",
@@ -5223,10 +5240,10 @@ const tl = [
5223
5240
  "wordWrap",
5224
5241
  "wordBreak"
5225
5242
  ];
5226
- function rl(e, r) {
5243
+ function ol(e, r) {
5227
5244
  const n = document.createElement("div"), o = n.style, s = window.getComputedStyle(e);
5228
5245
  o.whiteSpace = "pre-wrap", o.wordWrap = "break-word", o.position = "absolute", o.visibility = "hidden", o.overflow = "hidden";
5229
- for (const c of tl)
5246
+ for (const c of nl)
5230
5247
  o.setProperty(c, s.getPropertyValue(c));
5231
5248
  n.textContent = e.value.substring(0, r);
5232
5249
  const a = document.createElement("span");
@@ -5234,8 +5251,8 @@ function rl(e, r) {
5234
5251
  const l = a.offsetLeft, d = a.offsetTop - e.scrollTop;
5235
5252
  return document.body.removeChild(n), { left: l, top: d };
5236
5253
  }
5237
- const nl = 250;
5238
- function ol({
5254
+ const sl = 250;
5255
+ function al({
5239
5256
  inputValue: e,
5240
5257
  setInputValue: r,
5241
5258
  cursorPosition: n,
@@ -5248,7 +5265,7 @@ function ol({
5248
5265
  l(!1);
5249
5266
  return;
5250
5267
  }
5251
- const A = el(e, n, v);
5268
+ const A = rl(e, n, v);
5252
5269
  if (!A) {
5253
5270
  l(!1), c(""), u([]), w(0), L.current = -1, T.current = -1;
5254
5271
  return;
@@ -5265,7 +5282,7 @@ function ol({
5265
5282
  }).finally(() => {
5266
5283
  H === $.current && g(!1);
5267
5284
  });
5268
- }, nl), () => {
5285
+ }, sl), () => {
5269
5286
  S.current && clearTimeout(S.current);
5270
5287
  };
5271
5288
  }, [e, n, o, v]);
@@ -5347,7 +5364,7 @@ function ol({
5347
5364
  const A = s.current;
5348
5365
  if (!A)
5349
5366
  return null;
5350
- const H = rl(A, L.current), Z = A.offsetLeft + H.left, q = (A.offsetParent ? A.offsetParent.offsetHeight : 0) - (A.offsetTop + H.top);
5367
+ const H = ol(A, L.current), Z = A.offsetLeft + H.left, q = (A.offsetParent ? A.offsetParent.offsetHeight : 0) - (A.offsetTop + H.top);
5351
5368
  return { left: Z, bottom: q };
5352
5369
  }, [a, e, n, s]), R = X(() => {
5353
5370
  if (!a || f.length === 0)
@@ -5373,7 +5390,7 @@ function ol({
5373
5390
  close: F
5374
5391
  };
5375
5392
  }
5376
- const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>[\s\S]*?<\/entity-ref>)/g).map((r, n) => n % 2 === 1 ? r : r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(sl, "\\$&")).join(""), Jc = ({
5393
+ const il = /[\\`*_{}[\]()#+\-.!|~>]/g, ll = (e) => e.split(/(<entity-ref\b[^>]*>[\s\S]*?<\/entity-ref>)/g).map((r, n) => n % 2 === 1 ? r : r.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(il, "\\$&")).join(""), tc = ({
5377
5394
  onSubmit: e,
5378
5395
  onStop: r,
5379
5396
  inProgress: n,
@@ -5432,7 +5449,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5432
5449
  clearFiles: Tr,
5433
5450
  transientError: g1,
5434
5451
  showTransientError: Xe
5435
- } = J2(C), de = ol({
5452
+ } = tl(C), de = al({
5436
5453
  inputValue: O,
5437
5454
  setInputValue: q,
5438
5455
  cursorPosition: ee,
@@ -5511,7 +5528,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5511
5528
  Q(!1);
5512
5529
  }
5513
5530
  }
5514
- const ge = de.transformMentions(O.trim()), Ke = al(ge), Oe = k1.flatMap(
5531
+ const ge = de.transformMentions(O.trim()), Ke = ll(ge), Oe = k1.flatMap(
5515
5532
  (H1) => H1.uploadedFile ? [H1.uploadedFile] : []
5516
5533
  ), A1 = d, E1 = f;
5517
5534
  A1 && c?.(null), E1 && u?.(null), await e({
@@ -5529,11 +5546,11 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5529
5546
  te(J.current?.selectionStart ?? 0);
5530
5547
  }, Pr = () => {
5531
5548
  le.current && J.current && (le.current.scrollTop = J.current.scrollTop);
5532
- }, M1 = ne ? ne.prompt ?? ne.title : null, R1 = b1 ? [H.ai.listening] : M1 ? [M1] : s ?? [], Dr = R1.length > 1, _r = X(() => X2(O, de.mentions, {
5549
+ }, M1 = ne ? ne.prompt ?? ne.title : null, R1 = b1 ? [H.ai.listening] : M1 ? [M1] : s ?? [], Dr = R1.length > 1, _r = X(() => K2(O, de.mentions, {
5533
5550
  cursorPosition: ee,
5534
5551
  inlineCompletion: de.inlineCompletion
5535
5552
  }), [O, de.mentions, ee, de.inlineCompletion]), jr = de.mentions.length > 0 || de.inlineCompletion !== null, Te = P === "inside", Ae = $ && !!F && F.length > 0 && !!x ? /* @__PURE__ */ t(
5536
- W2,
5553
+ X2,
5537
5554
  {
5538
5555
  suggestions: F,
5539
5556
  onItemClick: V,
@@ -5556,7 +5573,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5556
5573
  duration: Z ? 0 : 0.32,
5557
5574
  ease: [0.4, 0, 0.2, 1]
5558
5575
  }, V1 = /* @__PURE__ */ t(
5559
- N2,
5576
+ V2,
5560
5577
  {
5561
5578
  onUploadFiles: xe,
5562
5579
  toolbarStart: g,
@@ -5607,7 +5624,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5607
5624
  },
5608
5625
  "welcome-suggestions"
5609
5626
  ) : null }) : Ae }) : null,
5610
- /* @__PURE__ */ t(A2, { creditWarning: a, children: /* @__PURE__ */ i(
5627
+ /* @__PURE__ */ t(H2, { creditWarning: a, children: /* @__PURE__ */ i(
5611
5628
  "form",
5612
5629
  {
5613
5630
  "aria-busy": n,
@@ -5649,7 +5666,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5649
5666
  onSubmit: $r,
5650
5667
  children: [
5651
5668
  /* @__PURE__ */ t(
5652
- E2,
5669
+ $2,
5653
5670
  {
5654
5671
  isOpen: de.isOpen,
5655
5672
  results: de.results,
@@ -5700,7 +5717,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5700
5717
  },
5701
5718
  children: [
5702
5719
  f ? /* @__PURE__ */ t(
5703
- H2,
5720
+ I2,
5704
5721
  {
5705
5722
  quote: f,
5706
5723
  onRemove: () => u?.(null)
@@ -5736,7 +5753,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5736
5753
  "transient-error"
5737
5754
  ) : null }),
5738
5755
  /* @__PURE__ */ t(
5739
- S2,
5756
+ T2,
5740
5757
  {
5741
5758
  attachedFiles: _,
5742
5759
  isUploading: De,
@@ -5754,7 +5771,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5754
5771
  children: [
5755
5772
  je ? /* @__PURE__ */ t("div", { className: "flex shrink-0 self-center pl-3", children: /* @__PURE__ */ t(It, { size: "sm", spin: n }) }) : null,
5756
5773
  /* @__PURE__ */ t(
5757
- I2,
5774
+ P2,
5758
5775
  {
5759
5776
  textareaRef: J,
5760
5777
  highlightRef: le,
@@ -5840,7 +5857,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5840
5857
  }
5841
5858
  ) })
5842
5859
  ] }),
5843
- zr ? /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(P2, { cards: D }) }) : null,
5860
+ zr ? /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(_2, { cards: D }) }) : null,
5844
5861
  S && $ && T ? /* @__PURE__ */ t("div", { className: "w-full py-4 mx-auto flex max-w-content justify-center", children: S }) : null,
5845
5862
  /* @__PURE__ */ t(we, { mode: "wait", initial: !1, children: y ? /* @__PURE__ */ i(
5846
5863
  K.div,
@@ -5920,7 +5937,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5920
5937
  }
5921
5938
  ) : null
5922
5939
  ] }),
5923
- L ? /* @__PURE__ */ t("div", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ t(F2, { ...L }) }) : null
5940
+ L ? /* @__PURE__ */ t("div", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ t(S2, { ...L }) }) : null
5924
5941
  ]
5925
5942
  },
5926
5943
  "chat-disclaimer"
@@ -5929,7 +5946,7 @@ const sl = /[\\`*_{}[\]()#+\-.!|~>]/g, al = (e) => e.split(/(<entity-ref\b[^>]*>
5929
5946
  }
5930
5947
  );
5931
5948
  };
5932
- function il({
5949
+ function cl({
5933
5950
  children: e,
5934
5951
  ...r
5935
5952
  }) {
@@ -5945,7 +5962,7 @@ function il({
5945
5962
  }
5946
5963
  );
5947
5964
  }
5948
- function ll({
5965
+ function dl({
5949
5966
  children: e,
5950
5967
  ...r
5951
5968
  }) {
@@ -5964,7 +5981,7 @@ function ll({
5964
5981
  }
5965
5982
  );
5966
5983
  }
5967
- function cl({
5984
+ function ul({
5968
5985
  children: e,
5969
5986
  ...r
5970
5987
  }) {
@@ -5980,7 +5997,7 @@ function cl({
5980
5997
  }
5981
5998
  );
5982
5999
  }
5983
- function dl({ ...e }) {
6000
+ function fl({ ...e }) {
5984
6001
  return /* @__PURE__ */ t(
5985
6002
  "hr",
5986
6003
  {
@@ -5989,7 +6006,7 @@ function dl({ ...e }) {
5989
6006
  }
5990
6007
  );
5991
6008
  }
5992
- function ul({
6009
+ function hl({
5993
6010
  src: e,
5994
6011
  alt: r,
5995
6012
  ...n
@@ -6022,13 +6039,13 @@ function ul({
6022
6039
  ) })
6023
6040
  ] });
6024
6041
  }
6025
- function fl({
6042
+ function Cl({
6026
6043
  children: e,
6027
6044
  ...r
6028
6045
  }) {
6029
6046
  return /* @__PURE__ */ t(is, { ...r, variant: "link", href: r.href, children: e });
6030
6047
  }
6031
- function hl({
6048
+ function pl({
6032
6049
  children: e,
6033
6050
  ...r
6034
6051
  }) {
@@ -6044,7 +6061,7 @@ function hl({
6044
6061
  }
6045
6062
  );
6046
6063
  }
6047
- function Cl({
6064
+ function ml({
6048
6065
  children: e,
6049
6066
  ...r
6050
6067
  }) {
@@ -6060,17 +6077,17 @@ function Cl({
6060
6077
  }
6061
6078
  );
6062
6079
  }
6063
- function pl({
6080
+ function gl({
6064
6081
  children: e,
6065
6082
  ...r
6066
6083
  }) {
6067
6084
  return /* @__PURE__ */ t("li", { ...r, className: b("mb-2", r.className), children: e });
6068
6085
  }
6069
- async function ml(e, r, n) {
6086
+ async function wl(e, r, n) {
6070
6087
  const o = await import("./xlsx-CzlURDDb.js"), s = o.utils.table_to_book(e, { sheet: "Data" });
6071
6088
  o.writeFile(s, `${n}.${r}`);
6072
6089
  }
6073
- function gl({
6090
+ function vl({
6074
6091
  children: e,
6075
6092
  title: r,
6076
6093
  ...n
@@ -6080,7 +6097,7 @@ function gl({
6080
6097
  if (!s.current)
6081
6098
  return;
6082
6099
  const d = r?.replace(/\s+/g, "_").toLowerCase() || "table";
6083
- ml(s.current, l, d);
6100
+ wl(s.current, l, d);
6084
6101
  },
6085
6102
  [r]
6086
6103
  );
@@ -6132,7 +6149,7 @@ function gl({
6132
6149
  ) })
6133
6150
  ] });
6134
6151
  }
6135
- function wl({
6152
+ function xl({
6136
6153
  children: e,
6137
6154
  ...r
6138
6155
  }) {
@@ -6148,7 +6165,7 @@ function wl({
6148
6165
  }
6149
6166
  );
6150
6167
  }
6151
- function vl({
6168
+ function Ll({
6152
6169
  children: e,
6153
6170
  ...r
6154
6171
  }) {
@@ -6164,13 +6181,13 @@ function vl({
6164
6181
  }
6165
6182
  );
6166
6183
  }
6167
- function xl({
6184
+ function bl({
6168
6185
  children: e,
6169
6186
  ...r
6170
6187
  }) {
6171
6188
  return /* @__PURE__ */ t("p", { ...r, className: b("text-base font-normal", r.className), children: e });
6172
6189
  }
6173
- function Ll({
6190
+ function kl({
6174
6191
  children: e,
6175
6192
  ...r
6176
6193
  }) {
@@ -6186,7 +6203,7 @@ function Ll({
6186
6203
  }
6187
6204
  );
6188
6205
  }
6189
- function bl({
6206
+ function yl({
6190
6207
  children: e,
6191
6208
  ...r
6192
6209
  }) {
@@ -6202,7 +6219,7 @@ function bl({
6202
6219
  }
6203
6220
  );
6204
6221
  }
6205
- function kl({
6222
+ function Ml({
6206
6223
  children: e,
6207
6224
  ...r
6208
6225
  }) {
@@ -6218,13 +6235,13 @@ function kl({
6218
6235
  }
6219
6236
  );
6220
6237
  }
6221
- function yl({
6238
+ function Rl({
6222
6239
  children: e,
6223
6240
  ...r
6224
6241
  }) {
6225
6242
  return /* @__PURE__ */ t("strong", { ...r, className: b("font-semibold", r.className), children: e });
6226
6243
  }
6227
- function Ml({
6244
+ function Fl({
6228
6245
  children: e,
6229
6246
  ...r
6230
6247
  }) {
@@ -6298,7 +6315,7 @@ const rr = m(
6298
6315
  )
6299
6316
  );
6300
6317
  rr.displayName = "CandidateTrigger";
6301
- function Rl({
6318
+ function Nl({
6302
6319
  id: e,
6303
6320
  label: r
6304
6321
  }) {
@@ -6373,7 +6390,7 @@ const nr = m(
6373
6390
  )
6374
6391
  );
6375
6392
  nr.displayName = "ExpenseTrigger";
6376
- function Fl({ id: e, label: r }) {
6393
+ function Sl({ id: e, label: r }) {
6377
6394
  const { entityRefs: n } = ve(), o = n?.resolvers?.expense, s = z(), a = n?.urls?.expense?.(e), l = X(
6378
6395
  () => (c) => ({
6379
6396
  avatar: {
@@ -6429,7 +6446,7 @@ const or = m(
6429
6446
  )
6430
6447
  );
6431
6448
  or.displayName = "JobPostingTrigger";
6432
- function Nl({
6449
+ function Vl({
6433
6450
  id: e,
6434
6451
  label: r
6435
6452
  }) {
@@ -6487,7 +6504,7 @@ const sr = m(
6487
6504
  )
6488
6505
  );
6489
6506
  sr.displayName = "PersonTrigger";
6490
- function Sl({ id: e, label: r }) {
6507
+ function Tl({ id: e, label: r }) {
6491
6508
  const { entityRefs: n } = ve(), o = n?.resolvers?.person, s = z(), a = n?.urls?.person?.(e), l = X(
6492
6509
  () => (c) => ({
6493
6510
  avatar: {
@@ -6529,7 +6546,7 @@ function Sl({ id: e, label: r }) {
6529
6546
  }
6530
6547
  ) : /* @__PURE__ */ t("span", { children: r });
6531
6548
  }
6532
- function Vl({ rows: e }) {
6549
+ function Al({ rows: e }) {
6533
6550
  return e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "flex flex-col gap-2", children: e.map((r, n) => /* @__PURE__ */ i("div", { className: "flex flex-col", children: [
6534
6551
  r.label ? /* @__PURE__ */ t("p", { className: "text-f1-foreground-secondary", children: r.label }) : null,
6535
6552
  /* @__PURE__ */ t("div", { className: "flex items-center gap-1.5 font-medium text-f1-foreground", children: r.value })
@@ -6551,7 +6568,7 @@ const ar = m(
6551
6568
  )
6552
6569
  );
6553
6570
  ar.displayName = "RequisitionTrigger";
6554
- function Tl({
6571
+ function El({
6555
6572
  id: e,
6556
6573
  label: r
6557
6574
  }) {
@@ -6594,7 +6611,7 @@ function Tl({
6594
6611
  title: c.title,
6595
6612
  ...c.location && { description: c.location },
6596
6613
  ...C.length > 0 && {
6597
- children: /* @__PURE__ */ t(Vl, { rows: C })
6614
+ children: /* @__PURE__ */ t(Al, { rows: C })
6598
6615
  },
6599
6616
  ...a && {
6600
6617
  secondaryActions: {
@@ -6644,7 +6661,7 @@ const ir = m(
6644
6661
  )
6645
6662
  );
6646
6663
  ir.displayName = "VacancyTrigger";
6647
- function Al({ id: e, label: r }) {
6664
+ function Hl({ id: e, label: r }) {
6648
6665
  const { entityRefs: n } = ve(), o = n?.resolvers?.vacancy, s = z(), a = n?.urls?.vacancy?.(e), l = X(
6649
6666
  () => (c) => ({
6650
6667
  title: c.name,
@@ -6680,51 +6697,51 @@ function Al({ id: e, label: r }) {
6680
6697
  }
6681
6698
  ) : /* @__PURE__ */ t("span", { children: r });
6682
6699
  }
6683
- const El = {
6684
- person: Sl,
6685
- candidate: Rl,
6686
- expense: Fl,
6687
- "job-posting": Nl,
6688
- requisition: Tl,
6689
- vacancy: Al
6700
+ const $l = {
6701
+ person: Tl,
6702
+ candidate: Nl,
6703
+ expense: Sl,
6704
+ "job-posting": Vl,
6705
+ requisition: El,
6706
+ vacancy: Hl
6690
6707
  };
6691
- function Hl(e) {
6692
- return El[e];
6708
+ function Il(e) {
6709
+ return $l[e];
6693
6710
  }
6694
6711
  function o1(e) {
6695
6712
  return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(o1).join("") : e && typeof e == "object" && "props" in e ? o1(e.props.children) : "";
6696
6713
  }
6697
- function $l({
6714
+ function Bl({
6698
6715
  type: e,
6699
6716
  id: r,
6700
6717
  children: n
6701
6718
  }) {
6702
6719
  if (!r || !e)
6703
6720
  return /* @__PURE__ */ t("span", { children: n });
6704
- const o = o1(n), s = Hl(e);
6721
+ const o = o1(n), s = Il(e);
6705
6722
  return s ? /* @__PURE__ */ t(s, { id: r, label: o }) : /* @__PURE__ */ t("span", { children: n });
6706
6723
  }
6707
- const e4 = {
6708
- p: xl,
6709
- h1: Ll,
6710
- h2: bl,
6711
- h3: kl,
6712
- a: fl,
6713
- strong: yl,
6714
- em: Ml,
6715
- li: pl,
6716
- pre: il,
6717
- code: ll,
6718
- blockquote: cl,
6719
- hr: dl,
6720
- ul: hl,
6721
- ol: Cl,
6722
- table: gl,
6723
- th: wl,
6724
- td: vl,
6725
- img: ul,
6726
- "entity-ref": $l
6727
- }, Il = ({ avatar: e }) => e?.type === "module" ? /* @__PURE__ */ t(Pt, { module: e.module, size: "md" }) : e?.type === "file" ? /* @__PURE__ */ t(fs, { file: e.file, size: "lg" }) : e?.type === "icon" ? /* @__PURE__ */ t(hs, { icon: e.icon, size: "md" }) : null, Bl = ({
6724
+ const rc = {
6725
+ p: bl,
6726
+ h1: kl,
6727
+ h2: yl,
6728
+ h3: Ml,
6729
+ a: Cl,
6730
+ strong: Rl,
6731
+ em: Fl,
6732
+ li: gl,
6733
+ pre: cl,
6734
+ code: dl,
6735
+ blockquote: ul,
6736
+ hr: fl,
6737
+ ul: pl,
6738
+ ol: ml,
6739
+ table: vl,
6740
+ th: xl,
6741
+ td: Ll,
6742
+ img: hl,
6743
+ "entity-ref": Bl
6744
+ }, Pl = ({ avatar: e }) => e?.type === "module" ? /* @__PURE__ */ t(Pt, { module: e.module, size: "md" }) : e?.type === "file" ? /* @__PURE__ */ t(fs, { file: e.file, size: "lg" }) : e?.type === "icon" ? /* @__PURE__ */ t(hs, { icon: e.icon, size: "md" }) : null, Dl = ({
6728
6745
  action: e,
6729
6746
  isActive: r
6730
6747
  }) => {
@@ -6769,12 +6786,12 @@ function lr({
6769
6786
  onClick: d,
6770
6787
  children: [
6771
6788
  /* @__PURE__ */ i("div", { className: "flex w-full min-w-0 flex-row items-center gap-3", children: [
6772
- /* @__PURE__ */ t(Il, { avatar: e }),
6789
+ /* @__PURE__ */ t(Pl, { avatar: e }),
6773
6790
  /* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col", children: [
6774
6791
  /* @__PURE__ */ t(ae, { className: "text-lg font-semibold text-f1-foreground", children: r }),
6775
6792
  n ? /* @__PURE__ */ t(ae, { className: "text-base text-f1-foreground-secondary", children: n }) : null
6776
6793
  ] }),
6777
- /* @__PURE__ */ t(Bl, { action: s, isActive: o })
6794
+ /* @__PURE__ */ t(Dl, { action: s, isActive: o })
6778
6795
  ] }),
6779
6796
  a
6780
6797
  ]
@@ -6783,7 +6800,7 @@ function lr({
6783
6800
  }
6784
6801
  lr.displayName = "F0CanvasCard";
6785
6802
  const m1 = ze(null);
6786
- function t4({
6803
+ function nc({
6787
6804
  children: e
6788
6805
  }) {
6789
6806
  const [r, n] = I(0), o = E([]), s = j(
@@ -6804,7 +6821,7 @@ function t4({
6804
6821
  );
6805
6822
  return /* @__PURE__ */ t(m1.Provider, { value: a, children: e });
6806
6823
  }
6807
- function Pl(e) {
6824
+ function _l(e) {
6808
6825
  const n = $e(m1)?.formatters;
6809
6826
  return X(() => !n || n.length === 0 ? null : (o, s, a) => {
6810
6827
  let l, d = -1;
@@ -6819,7 +6836,7 @@ function Pl(e) {
6819
6836
  return l.format(s, { key: o, ...a });
6820
6837
  }, [n, e]);
6821
6838
  }
6822
- function r4() {
6839
+ function oc() {
6823
6840
  const e = $e(m1);
6824
6841
  if (!e)
6825
6842
  throw new Error(
@@ -6827,14 +6844,14 @@ function r4() {
6827
6844
  );
6828
6845
  return e.setFormCardValueFormatter;
6829
6846
  }
6830
- const j1 = 7, Dl = 625, O1 = /* @__PURE__ */ new Set();
6831
- function _l(e) {
6847
+ const j1 = 7, jl = 625, O1 = /* @__PURE__ */ new Set();
6848
+ function Ol(e) {
6832
6849
  return typeof DOMParser < "u" ? new DOMParser().parseFromString(e, "text/html").body.textContent?.replace(/\s+/g, " ").trim() ?? "" : e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim();
6833
6850
  }
6834
- function jl(e) {
6851
+ function Zl(e) {
6835
6852
  return e && e.charAt(0).toUpperCase() + e.slice(1);
6836
6853
  }
6837
- function Ol(e) {
6854
+ function Ul(e) {
6838
6855
  const { days: r, hours: n, minutes: o, seconds: s } = ps(e), a = [];
6839
6856
  return r > 0 && a.push(`${r}d`), n > 0 && a.push(`${n}h`), o > 0 && a.push(`${o}m`), (s > 0 || a.length === 0) && a.push(`${s}s`), a.join(" ");
6840
6857
  }
@@ -6856,10 +6873,10 @@ function cr(e, r) {
6856
6873
  if (e == null || e === "")
6857
6874
  return { type: "item", text: "—" };
6858
6875
  if (r === "duration" && typeof e == "number")
6859
- return { type: "item", text: Ol(e) };
6876
+ return { type: "item", text: Ul(e) };
6860
6877
  if (r === "richtext" && typeof e == "object" && e !== null && "value" in e) {
6861
6878
  const n = e.value;
6862
- return { type: "item", text: (n ? _l(n) : "") || "—" };
6879
+ return { type: "item", text: (n ? Ol(n) : "") || "—" };
6863
6880
  }
6864
6881
  if (r === "daterange" && typeof e == "object" && e !== null && "from" in e && "to" in e) {
6865
6882
  const { from: n, to: o } = e, s = Z1(n) ? U1(n) : String(n), a = Z1(o) ? U1(o) : String(o);
@@ -6878,7 +6895,7 @@ function cr(e, r) {
6878
6895
  const n = e;
6879
6896
  return typeof n.label == "string" ? { type: "item", text: n.label } : typeof n.name == "string" ? { type: "item", text: n.name } : typeof n.text == "string" ? { type: "item", text: n.text } : { type: "item", text: JSON.stringify(e) };
6880
6897
  }
6881
- return { type: "item", text: jl(String(e)) };
6898
+ return { type: "item", text: Zl(String(e)) };
6882
6899
  }
6883
6900
  function dr({
6884
6901
  formName: e,
@@ -6890,7 +6907,7 @@ function dr({
6890
6907
  formValues: l,
6891
6908
  valueFormatter: d
6892
6909
  }) {
6893
- const { canvasContent: c, openCanvas: f, closeCanvas: u } = ve(), C = Pl(e), g = d ?? C, h = E(() => {
6910
+ const { canvasContent: c, openCanvas: f, closeCanvas: u } = ve(), C = _l(e), g = d ?? C, h = E(() => {
6894
6911
  }), w = o ?? e, v = s ?? r ?? "", p = c?.type === "form" && c.formName === e, L = () => f({
6895
6912
  type: "form",
6896
6913
  title: w,
@@ -6900,7 +6917,7 @@ function dr({
6900
6917
  formModule: n
6901
6918
  });
6902
6919
  h.current = L, W(() => {
6903
- typeof window > "u" || window.innerWidth < Dl || O1.has(e) || (O1.add(e), h.current());
6920
+ typeof window > "u" || window.innerWidth < jl || O1.has(e) || (O1.add(e), h.current());
6904
6921
  }, [e]);
6905
6922
  const S = a && l ? Object.entries(a).map(([F, x]) => {
6906
6923
  const P = l[F], N = g?.(F, P, {
@@ -6951,7 +6968,7 @@ function dr({
6951
6968
  );
6952
6969
  }
6953
6970
  dr.displayName = "FormCard";
6954
- function Zl() {
6971
+ function zl() {
6955
6972
  const e = ms(), r = e?.activeForm;
6956
6973
  if (!r)
6957
6974
  return null;
@@ -6969,8 +6986,8 @@ function Zl() {
6969
6986
  }
6970
6987
  ) });
6971
6988
  }
6972
- const Ul = 2;
6973
- function zl(e, r) {
6989
+ const Gl = 2;
6990
+ function Wl(e, r) {
6974
6991
  if (!e.intersectsNode(r))
6975
6992
  return null;
6976
6993
  const n = document.createRange();
@@ -6978,7 +6995,7 @@ function zl(e, r) {
6978
6995
  const o = e.cloneRange();
6979
6996
  o.compareBoundaryPoints(Range.START_TO_START, n) < 0 && o.setStart(n.startContainer, n.startOffset), o.compareBoundaryPoints(Range.END_TO_END, n) > 0 && o.setEnd(n.endContainer, n.endOffset);
6980
6997
  const s = o.toString().trim();
6981
- if (s.length < Ul)
6998
+ if (s.length < Gl)
6982
6999
  return null;
6983
7000
  const a = o.getBoundingClientRect();
6984
7001
  return { rect: a.width > 0 || a.height > 0 ? a : r.getBoundingClientRect(), text: s };
@@ -7000,7 +7017,7 @@ function ur({
7000
7017
  o(null);
7001
7018
  return;
7002
7019
  }
7003
- o(zl(f.getRangeAt(0), a));
7020
+ o(Wl(f.getRangeAt(0), a));
7004
7021
  }, d = () => {
7005
7022
  window.setTimeout(l, 0);
7006
7023
  }, c = () => {
@@ -7071,7 +7088,7 @@ function fr({ anchor: e, onReply: r }) {
7071
7088
  document.body
7072
7089
  );
7073
7090
  }
7074
- const hr = ze(void 0), n4 = () => $e(hr), Gl = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), Wl = ({
7091
+ const hr = ze(void 0), sc = () => $e(hr), ql = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), Xl = ({
7075
7092
  isGenerating: e,
7076
7093
  isLoading: r,
7077
7094
  message: n,
@@ -7092,7 +7109,7 @@ const hr = ze(void 0), n4 = () => $e(hr), Gl = (e) => /* @__PURE__ */ t(Dt, { co
7092
7109
  {
7093
7110
  ref: C,
7094
7111
  className: "w-full max-w-full [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
7095
- children: (l ?? Gl)(d)
7112
+ children: (l ?? ql)(d)
7096
7113
  }
7097
7114
  ) : null,
7098
7115
  c ? /* @__PURE__ */ t("div", { className: "w-full", children: c }) : null,
@@ -7106,7 +7123,7 @@ const hr = ze(void 0), n4 = () => $e(hr), Gl = (e) => /* @__PURE__ */ t(Dt, { co
7106
7123
  }
7107
7124
  )
7108
7125
  ] }) });
7109
- }, ql = ({
7126
+ }, Yl = ({
7110
7127
  onClose: e,
7111
7128
  onSubmit: r,
7112
7129
  reactionType: n,
@@ -7155,7 +7172,7 @@ const hr = ze(void 0), n4 = () => $e(hr), Gl = (e) => /* @__PURE__ */ t(Dt, { co
7155
7172
  ) })
7156
7173
  }
7157
7174
  );
7158
- }, Cr = ze(null), Xl = ({ children: e }) => {
7175
+ }, Cr = ze(null), Kl = ({ children: e }) => {
7159
7176
  const [r, n] = I(null), o = r ? {
7160
7177
  isOpen: !0,
7161
7178
  currentReaction: r.action,
@@ -7178,7 +7195,7 @@ const hr = ze(void 0), n4 = () => $e(hr), Gl = (e) => /* @__PURE__ */ t(Dt, { co
7178
7195
  );
7179
7196
  return e;
7180
7197
  };
7181
- function Yl(e) {
7198
+ function Ql(e) {
7182
7199
  const r = pr();
7183
7200
  return { modal: r, handleSubmit: (s, a) => {
7184
7201
  (r.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: a }), r.close();
@@ -7186,7 +7203,7 @@ function Yl(e) {
7186
7203
  (r.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: "" }), r.close();
7187
7204
  } };
7188
7205
  }
7189
- const Kl = ({
7206
+ const Jl = ({
7190
7207
  content: e,
7191
7208
  targetMessage: r,
7192
7209
  onCopy: n
@@ -7247,7 +7264,7 @@ const Kl = ({
7247
7264
  }
7248
7265
  )
7249
7266
  ] });
7250
- }, Ql = ({
7267
+ }, e6 = ({
7251
7268
  icon: e,
7252
7269
  title: r,
7253
7270
  children: n,
@@ -7301,7 +7318,7 @@ const Kl = ({
7301
7318
  ]
7302
7319
  }
7303
7320
  );
7304
- }, Jl = 1e3, e6 = 1e3, mr = ({
7321
+ }, t6 = 1e3, r6 = 1e3, mr = ({
7305
7322
  startedAt: e
7306
7323
  }) => {
7307
7324
  const r = z(), [n, o] = I(
@@ -7315,16 +7332,16 @@ const Kl = ({
7315
7332
  o(Date.now() - e);
7316
7333
  const c = setInterval(() => {
7317
7334
  o(Date.now() - e);
7318
- }, e6);
7335
+ }, r6);
7319
7336
  return () => clearInterval(c);
7320
- }, [e]), e === null || n < Jl)
7337
+ }, [e]), e === null || n < t6)
7321
7338
  return null;
7322
7339
  const s = Math.floor(n / 1e3), a = Math.floor(s / 60), l = s % 60, d = a > 0 ? r.t("ai.thinkingElapsedMinutes", { minutes: a, seconds: l }) : r.t("ai.thinkingElapsedSeconds", { seconds: l });
7323
7340
  return /* @__PURE__ */ i("span", { "aria-hidden": !0, className: "whitespace-nowrap tabular-nums", children: [
7324
7341
  /* @__PURE__ */ t("span", { className: "px-1 text-f1-foreground-tertiary", children: "·" }),
7325
7342
  d
7326
7343
  ] });
7327
- }, t6 = ({
7344
+ }, n6 = ({
7328
7345
  titles: e,
7329
7346
  title: r,
7330
7347
  inProgress: n,
@@ -7337,7 +7354,7 @@ const Kl = ({
7337
7354
  }, [n, l]);
7338
7355
  const f = n ? a.ai.thoughtsGroupTitle : r ?? a.ai.thoughtsGroupTitle, u = e.length - 1, C = (g) => !n || o ? "completed" : g === u ? "executing" : "completed";
7339
7356
  return /* @__PURE__ */ t(
7340
- Ql,
7357
+ e6,
7341
7358
  {
7342
7359
  icon: Wt,
7343
7360
  title: f,
@@ -7365,7 +7382,7 @@ const Kl = ({
7365
7382
  }
7366
7383
  );
7367
7384
  };
7368
- function r6(e) {
7385
+ function o6(e) {
7369
7386
  if (typeof e == "string")
7370
7387
  return e;
7371
7388
  if (Array.isArray(e)) {
@@ -7373,7 +7390,7 @@ function r6(e) {
7373
7390
  return r[r.length - 1];
7374
7391
  }
7375
7392
  }
7376
- function n6(e, r) {
7393
+ function s6(e, r) {
7377
7394
  const n = Array.isArray(e) ? e.filter((o) => o.type === "binary").map((o) => ({
7378
7395
  url: o.url,
7379
7396
  filename: o.filename,
@@ -7385,13 +7402,13 @@ function n6(e, r) {
7385
7402
  (o) => typeof o?.filename == "string" && typeof o?.mimetype == "string" && typeof o?.url == "string"
7386
7403
  );
7387
7404
  }
7388
- const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6 = ({
7405
+ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), a6 = ({
7389
7406
  text: e,
7390
7407
  renderMarkdown: r
7391
7408
  }) => /* @__PURE__ */ i("div", { className: "flex max-w-[90%] items-start gap-2 self-end pb-1 pr-2 text-f1-foreground-tertiary", children: [
7392
7409
  /* @__PURE__ */ t("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ t(oe, { icon: c1 }) }),
7393
7410
  /* @__PURE__ */ t("div", { className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0", children: (r ?? gr)(e) })
7394
- ] }), s6 = ({
7411
+ ] }), i6 = ({
7395
7412
  message: e,
7396
7413
  onReplyQuote: r,
7397
7414
  autoScrollIntoView: n = !0,
@@ -7403,10 +7420,10 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7403
7420
  behavior: "smooth"
7404
7421
  });
7405
7422
  }, [n]);
7406
- const l = e.rawData, d = n6(
7423
+ const l = e.rawData, d = s6(
7407
7424
  e?.content,
7408
7425
  l
7409
- ), c = (r6(e?.content) ?? "").trim(), f = e?.replyQuote ?? null, u = c.length > 0, { anchor: C, clear: g } = ur({
7426
+ ), c = (o6(e?.content) ?? "").trim(), f = e?.replyQuote ?? null, u = c.length > 0, { anchor: C, clear: g } = ur({
7410
7427
  containerRef: a,
7411
7428
  enabled: u
7412
7429
  });
@@ -7416,7 +7433,7 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7416
7433
  ref: s,
7417
7434
  className: "my-4 flex w-full flex-col items-end gap-2 first:mt-0 last:mb-0",
7418
7435
  children: [
7419
- f ? /* @__PURE__ */ t(o6, { text: f, renderMarkdown: o }) : null,
7436
+ f ? /* @__PURE__ */ t(a6, { text: f, renderMarkdown: o }) : null,
7420
7437
  d.length > 0 ? /* @__PURE__ */ t("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((h, w) => /* @__PURE__ */ t(
7421
7438
  Ht,
7422
7439
  {
@@ -7445,7 +7462,7 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7445
7462
  ]
7446
7463
  }
7447
7464
  );
7448
- }, a6 = 35, i6 = 22, l6 = 400, c6 = 2500, d6 = 220, u6 = ({
7465
+ }, l6 = 35, c6 = 22, d6 = 400, u6 = 2500, f6 = 220, h6 = ({
7449
7466
  phrase: e,
7450
7467
  typed: r,
7451
7468
  phraseIndex: n,
@@ -7477,7 +7494,7 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7477
7494
  },
7478
7495
  n
7479
7496
  );
7480
- }, f6 = ({
7497
+ }, C6 = ({
7481
7498
  messages: e,
7482
7499
  caption: r,
7483
7500
  subtitle: n,
@@ -7497,16 +7514,16 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7497
7514
  return;
7498
7515
  let p;
7499
7516
  if (u === "starting")
7500
- p = setTimeout(() => C("writing"), l6);
7517
+ p = setTimeout(() => C("writing"), d6);
7501
7518
  else if (u === "writing")
7502
- c < h.length ? p = setTimeout(() => f((L) => L + 1), a6) : C("holding");
7519
+ c < h.length ? p = setTimeout(() => f((L) => L + 1), l6) : C("holding");
7503
7520
  else if (u === "holding") {
7504
7521
  if (e.length <= 1)
7505
7522
  return;
7506
- p = setTimeout(() => C("erasing"), c6);
7507
- } else u === "erasing" && (c > 0 ? p = setTimeout(() => f((L) => L - 1), i6) : p = setTimeout(() => {
7523
+ p = setTimeout(() => C("erasing"), u6);
7524
+ } else u === "erasing" && (c > 0 ? p = setTimeout(() => f((L) => L - 1), c6) : p = setTimeout(() => {
7508
7525
  d((L) => (L + 1) % e.length), C("starting");
7509
- }, d6));
7526
+ }, f6));
7510
7527
  return () => {
7511
7528
  p && clearTimeout(p);
7512
7529
  };
@@ -7531,7 +7548,7 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7531
7548
  ) : null,
7532
7549
  r ? /* @__PURE__ */ t("p", { className: "animate-in fade-in-0 text-center text-2xl font-semibold leading-[28px] text-f1-foreground-secondary duration-500", children: r }) : null,
7533
7550
  /* @__PURE__ */ t(
7534
- u6,
7551
+ h6,
7535
7552
  {
7536
7553
  phrase: h,
7537
7554
  typed: c,
@@ -7543,7 +7560,7 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7543
7560
  ] })
7544
7561
  }
7545
7562
  );
7546
- }, h6 = (e, r) => {
7563
+ }, p6 = (e, r) => {
7547
7564
  const [n, o] = I(null);
7548
7565
  return W(() => {
7549
7566
  if (!e) {
@@ -7553,7 +7570,7 @@ const gr = (e) => /* @__PURE__ */ t(Dt, { content: e, format: "markdown" }), o6
7553
7570
  o((s) => s ?? r ?? Date.now());
7554
7571
  }, [e, r]), n;
7555
7572
  };
7556
- function C6({
7573
+ function m6({
7557
7574
  viewportRef: e,
7558
7575
  contentRef: r,
7559
7576
  endRef: n,
@@ -7604,13 +7621,13 @@ function C6({
7604
7621
  }), s === 0 && f(!1), u.current = s;
7605
7622
  }, [s, o, e]), { showScrollBtn: c, turnMinHeight: l, scrollToBottom: g };
7606
7623
  }
7607
- const p6 = {
7624
+ const g6 = {
7608
7625
  threadId: "",
7609
7626
  onThumbsUp: () => {
7610
7627
  },
7611
7628
  onThumbsDown: () => {
7612
7629
  }
7613
- }, o4 = (e) => /* @__PURE__ */ t(Xl, { children: /* @__PURE__ */ t(m6, { ...e }) }), m6 = ({
7630
+ }, ac = (e) => /* @__PURE__ */ t(Kl, { children: /* @__PURE__ */ t(w6, { ...e }) }), w6 = ({
7614
7631
  turns: e,
7615
7632
  isLoadingThread: r = !1,
7616
7633
  interrupt: n,
@@ -7634,19 +7651,19 @@ const p6 = {
7634
7651
  onRegenerate: T,
7635
7652
  onCopy: F
7636
7653
  }) => {
7637
- const { modal: x, handleSubmit: P, handleClose: N } = Yl(
7638
- h ?? p6
7639
- ), D = z(), R = S ?? Wl, A = $ ?? s6, H = X(() => {
7654
+ const { modal: x, handleSubmit: P, handleClose: N } = Ql(
7655
+ h ?? g6
7656
+ ), D = z(), R = S ?? Xl, A = $ ?? i6, H = X(() => {
7640
7657
  const U = o ?? D.ai.defaultInitialMessage;
7641
7658
  return (Array.isArray(U) ? U : [U]).filter((le) => typeof le == "string" && le.length > 0);
7642
- }, [o, D.ai.defaultInitialMessage]), Z = !r && e.length === 0 && H.length > 0, O = E(null), q = E(null), ee = E(null), te = E(null), Y = E(null), { showScrollBtn: Q, turnMinHeight: re, scrollToBottom: me } = C6({
7659
+ }, [o, D.ai.defaultInitialMessage]), Z = !r && e.length === 0 && H.length > 0, O = E(null), q = E(null), ee = E(null), te = E(null), Y = E(null), { showScrollBtn: Q, turnMinHeight: re, scrollToBottom: me } = m6({
7643
7660
  viewportRef: O,
7644
7661
  contentRef: q,
7645
7662
  endRef: ee,
7646
7663
  lastTurnRef: Y,
7647
7664
  turnsCount: e.length,
7648
7665
  freezeTurnMinHeight: w
7649
- }), ne = e[e.length - 1], Fe = !!(ne && (ne.endIndicator === "thinking" || ne.thinking?.inProgress)), be = h6(
7666
+ }), ne = e[e.length - 1], Fe = !!(ne && (ne.endIndicator === "thinking" || ne.thinking?.inProgress)), be = p6(
7650
7667
  Fe,
7651
7668
  ne?.thinking?.startedAt
7652
7669
  ), ke = (U, J) => {
@@ -7715,7 +7732,7 @@ const p6 = {
7715
7732
  (B, V) => y(B, V)
7716
7733
  ),
7717
7734
  U.thinking && U.thinking.titles.length > 0 ? /* @__PURE__ */ t(
7718
- t6,
7735
+ n6,
7719
7736
  {
7720
7737
  titles: U.thinking.titles,
7721
7738
  title: D.ai.thoughtsGroupTitle,
@@ -7737,14 +7754,14 @@ const p6 = {
7737
7754
  ) : null,
7738
7755
  U.endIndicator === "activity" ? /* @__PURE__ */ t(n1, { status: "writing" }) : null,
7739
7756
  U.feedback ? /* @__PURE__ */ t(
7740
- Kl,
7757
+ Jl,
7741
7758
  {
7742
7759
  content: U.feedback.content,
7743
7760
  targetMessage: U.feedback.targetMessage,
7744
7761
  onCopy: F
7745
7762
  }
7746
7763
  ) : null,
7747
- le ? /* @__PURE__ */ t(Zl, {}) : null
7764
+ le ? /* @__PURE__ */ t(zl, {}) : null
7748
7765
  ]
7749
7766
  },
7750
7767
  `turn-${J}`
@@ -7778,9 +7795,9 @@ const p6 = {
7778
7795
  "w-full max-w-content"
7779
7796
  ),
7780
7797
  children: [
7781
- r ? /* @__PURE__ */ t(g6, {}) : null,
7798
+ r ? /* @__PURE__ */ t(v6, {}) : null,
7782
7799
  Z ? /* @__PURE__ */ t(
7783
- f6,
7800
+ C6,
7784
7801
  {
7785
7802
  messages: H,
7786
7803
  caption: s,
@@ -7828,7 +7845,7 @@ const p6 = {
7828
7845
  ] }) : null
7829
7846
  ] }),
7830
7847
  x.isOpen ? /* @__PURE__ */ t(
7831
- ql,
7848
+ Yl,
7832
7849
  {
7833
7850
  onSubmit: P,
7834
7851
  onClose: N,
@@ -7837,21 +7854,21 @@ const p6 = {
7837
7854
  }
7838
7855
  ) : null
7839
7856
  ] });
7840
- }, g6 = () => /* @__PURE__ */ t("div", { className: "flex h-full w-full max-w-content flex-col gap-6", children: /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
7857
+ }, v6 = () => /* @__PURE__ */ t("div", { className: "flex h-full w-full max-w-content flex-col gap-6", children: /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
7841
7858
  /* @__PURE__ */ t("div", { className: "flex justify-end", children: /* @__PURE__ */ t(ue, { className: "h-12 w-2/5 rounded-full" }) }),
7842
7859
  /* @__PURE__ */ t(ue, { className: "mt-6 h-5 w-full rounded-md" }),
7843
7860
  /* @__PURE__ */ t(ue, { className: "h-5 w-2/5 rounded-md" }),
7844
7861
  /* @__PURE__ */ t(ue, { className: "h-5 w-4/5 rounded-md" })
7845
- ] }) }), s4 = {
7862
+ ] }) }), ic = {
7846
7863
  ai: _s.ai
7847
7864
  }, wr = ze(null);
7848
- function a4({
7865
+ function lc({
7849
7866
  children: e,
7850
7867
  translations: r
7851
7868
  }) {
7852
7869
  return /* @__PURE__ */ t(wr.Provider, { value: r, children: e });
7853
7870
  }
7854
- function i4() {
7871
+ function cc() {
7855
7872
  const e = $e(wr);
7856
7873
  if (e === null)
7857
7874
  throw new Error(
@@ -7859,16 +7876,16 @@ function i4() {
7859
7876
  );
7860
7877
  return e;
7861
7878
  }
7862
- function w6() {
7879
+ function x6() {
7863
7880
  const { canvasEntities: e } = ve();
7864
7881
  return e;
7865
7882
  }
7866
- function l4(e) {
7867
- const r = w6();
7883
+ function dc(e) {
7884
+ const r = x6();
7868
7885
  if (!(!e || !r))
7869
7886
  return r[e];
7870
7887
  }
7871
- const v6 = ({
7888
+ const L6 = ({
7872
7889
  canProceed: e,
7873
7890
  submitDisabled: r,
7874
7891
  label: n,
@@ -7908,7 +7925,7 @@ const v6 = ({
7908
7925
  ),
7909
7926
  children: e ? /* @__PURE__ */ t("div", { className: "h-2 w-2 rounded-full bg-f1-background" }) : null
7910
7927
  }
7911
- ), W1 = 132, x6 = ({
7928
+ ), W1 = 132, b6 = ({
7912
7929
  mode: e,
7913
7930
  hasSelection: r,
7914
7931
  hasCustomText: n,
@@ -8022,7 +8039,7 @@ const v6 = ({
8022
8039
  )
8023
8040
  );
8024
8041
  xr.displayName = "OptionRow";
8025
- const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8042
+ const k6 = [0.23, 1, 0.32, 1], y6 = 0.2, M6 = 0.03, R6 = 4, F6 = ({
8026
8043
  mode: e,
8027
8044
  question: r,
8028
8045
  options: n,
@@ -8077,12 +8094,12 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8077
8094
  }
8078
8095
  N.preventDefault(), T(R), F.current[R]?.focus();
8079
8096
  }, P = (N) => ({
8080
- initial: L ? !1 : { opacity: 0, y: y6 },
8097
+ initial: L ? !1 : { opacity: 0, y: R6 },
8081
8098
  animate: { opacity: 1, y: 0 },
8082
8099
  transition: {
8083
- duration: L ? 0 : b6,
8084
- ease: L6,
8085
- delay: L ? 0 : N * k6
8100
+ duration: L ? 0 : y6,
8101
+ ease: k6,
8102
+ delay: L ? 0 : N * M6
8086
8103
  }
8087
8104
  });
8088
8105
  return /* @__PURE__ */ i(
@@ -8107,7 +8124,7 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8107
8124
  }
8108
8125
  ) }, N.id)),
8109
8126
  s ? /* @__PURE__ */ t(K.div, { ...P(n.length), children: /* @__PURE__ */ t(
8110
- x6,
8127
+ b6,
8111
8128
  {
8112
8129
  mode: e,
8113
8130
  hasSelection: a,
@@ -8125,7 +8142,7 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8125
8142
  ]
8126
8143
  }
8127
8144
  );
8128
- }, R6 = ({
8145
+ }, N6 = ({
8129
8146
  question: e,
8130
8147
  stepLabel: r,
8131
8148
  isFirstStep: n,
@@ -8187,16 +8204,16 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8187
8204
  }
8188
8205
  )
8189
8206
  ] });
8190
- }, q1 = "easeOut", F6 = 0.15, N6 = 0.1, c4 = ({
8207
+ }, q1 = "easeOut", S6 = 0.15, V6 = 0.1, uc = ({
8191
8208
  clarifyingQuestion: e,
8192
8209
  isSubmitDisabled: r
8193
8210
  }) => /* @__PURE__ */ t(
8194
- S6,
8211
+ T6,
8195
8212
  {
8196
8213
  clarifyingQuestion: e,
8197
8214
  isSubmitDisabled: r
8198
8215
  }
8199
- ), S6 = ({
8216
+ ), T6 = ({
8200
8217
  clarifyingQuestion: e,
8201
8218
  isSubmitDisabled: r
8202
8219
  }) => {
@@ -8237,7 +8254,7 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8237
8254
  });
8238
8255
  }, Fe = (U) => {
8239
8256
  U.key === "Escape" && (U.preventDefault(), u());
8240
- }, be = o ? 0 : F6, ke = o ? 0 : N6;
8257
+ }, be = o ? 0 : S6, ke = o ? 0 : V6;
8241
8258
  return /* @__PURE__ */ i("div", { className: "flex flex-col", onKeyDown: Fe, children: [
8242
8259
  /* @__PURE__ */ t("div", { className: "flex flex-col gap-3 pt-3", children: /* @__PURE__ */ t(we, { mode: "wait", initial: !1, children: /* @__PURE__ */ i(
8243
8260
  K.div,
@@ -8251,7 +8268,7 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8251
8268
  exit: { opacity: 0, transition: { duration: ke, ease: q1 } },
8252
8269
  children: [
8253
8270
  /* @__PURE__ */ t(
8254
- R6,
8271
+ N6,
8255
8272
  {
8256
8273
  question: v,
8257
8274
  stepLabel: H,
@@ -8264,7 +8281,7 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8264
8281
  }
8265
8282
  ),
8266
8283
  /* @__PURE__ */ t(
8267
- M6,
8284
+ F6,
8268
8285
  {
8269
8286
  mode: N,
8270
8287
  question: v,
@@ -8289,7 +8306,7 @@ const L6 = [0.23, 1, 0.32, 1], b6 = 0.2, k6 = 0.03, y6 = 4, M6 = ({
8289
8306
  a
8290
8307
  ) }) }),
8291
8308
  /* @__PURE__ */ t(
8292
- v6,
8309
+ L6,
8293
8310
  {
8294
8311
  canProceed: q,
8295
8312
  submitDisabled: ee,
@@ -8421,7 +8438,7 @@ function Y1(e, r, n) {
8421
8438
  }
8422
8439
  return o;
8423
8440
  }
8424
- function V6(e, r, n) {
8441
+ function A6(e, r, n) {
8425
8442
  const o = Y1(e, e.VERTEX_SHADER, r), s = Y1(e, e.FRAGMENT_SHADER, n), a = e.createProgram();
8426
8443
  if (!a)
8427
8444
  throw new Error("Failed to create program");
@@ -8431,7 +8448,7 @@ function V6(e, r, n) {
8431
8448
  }
8432
8449
  return e.deleteShader(o), e.deleteShader(s), a;
8433
8450
  }
8434
- const T6 = `#version 300 es
8451
+ const E6 = `#version 300 es
8435
8452
  precision lowp float;
8436
8453
 
8437
8454
  in vec2 vUV;
@@ -8638,7 +8655,7 @@ void main() {
8638
8655
 
8639
8656
  outColor = vec4(color, alpha);
8640
8657
  }
8641
- `, A6 = `#version 300 es
8658
+ `, H6 = `#version 300 es
8642
8659
 
8643
8660
  in vec2 aPosition;
8644
8661
  in vec2 aUV;
@@ -8647,7 +8664,7 @@ void main() {
8647
8664
  vUV = aUV;
8648
8665
  gl_Position = vec4(aPosition, 0.0, 1.0);
8649
8666
  }
8650
- `, E6 = [
8667
+ `, $6 = [
8651
8668
  "rgb(229, 25, 67)",
8652
8669
  // #E51943 red
8653
8670
  "rgb(229, 86, 25)",
@@ -8657,14 +8674,14 @@ void main() {
8657
8674
  "rgb(161, 173, 229)"
8658
8675
  // #A1ADE5 light blue
8659
8676
  ];
8660
- function H6(e) {
8677
+ function I6(e) {
8661
8678
  const r = e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
8662
8679
  if (!r)
8663
8680
  throw new Error(`Invalid color format: ${e}`);
8664
8681
  const [, n, o, s] = r;
8665
8682
  return [parseInt(n, 10) / 255, parseInt(o, 10) / 255, parseInt(s, 10) / 255];
8666
8683
  }
8667
- class d4 {
8684
+ class fc {
8668
8685
  element;
8669
8686
  canvas;
8670
8687
  options;
@@ -8824,7 +8841,7 @@ class d4 {
8824
8841
  });
8825
8842
  if (!r)
8826
8843
  throw new Error("WebGL2 is required but not available.");
8827
- const n = V6(r, A6, T6);
8844
+ const n = A6(r, H6, E6);
8828
8845
  this.checkGLError(r, "setupGL: after createProgram");
8829
8846
  const o = r.createVertexArray();
8830
8847
  r.bindVertexArray(o), this.checkGLError(r, "setupGL: after VAO creation");
@@ -8843,7 +8860,7 @@ class d4 {
8843
8860
  r.enableVertexAttribArray(C), r.vertexAttribPointer(C, 2, r.FLOAT, !1, 0, 0), this.checkGLError(r, "setupGL: after UV buffer setup");
8844
8861
  const g = r.getUniformLocation(n, "uResolution"), h = r.getUniformLocation(n, "uTime"), w = r.getUniformLocation(n, "uBorderWidth"), v = r.getUniformLocation(n, "uGlowWidth"), p = r.getUniformLocation(n, "uBorderRadius"), L = r.getUniformLocation(n, "uColors"), S = r.getUniformLocation(n, "uGlowExponent"), $ = r.getUniformLocation(n, "uGlowFactor");
8845
8862
  r.useProgram(n), r.uniform1f(w, this.options.borderWidth), r.uniform1f(v, this.options.glowWidth), r.uniform1f(p, this.options.borderRadius), this.options.mode === "dark" ? (r.uniform1f(S, 2), r.uniform1f($, 1.8)) : (r.uniform1f(S, 1), r.uniform1f($, 1));
8846
- const T = (this.options.colors || E6).map(H6);
8863
+ const T = (this.options.colors || $6).map(I6);
8847
8864
  for (let F = 0; F < T.length; F++)
8848
8865
  r.uniform3f(
8849
8866
  r.getUniformLocation(n, `uColors[${F}]`),
@@ -8870,7 +8887,7 @@ class d4 {
8870
8887
  n.useProgram(o), n.bindVertexArray(s), n.uniform1f(a, r), n.disable(n.DEPTH_TEST), n.disable(n.CULL_FACE), n.disable(n.BLEND), n.clearColor(0, 0, 0, 0), n.clear(n.COLOR_BUFFER_BIT), n.drawArrays(n.TRIANGLES, 0, 24), this.checkGLError(n, "render: after draw call"), n.bindVertexArray(null);
8871
8888
  }
8872
8889
  }
8873
- const $6 = 10, I6 = 2, B6 = 0.5, P6 = 0.2, D6 = 1.5, he = {
8890
+ const B6 = 10, P6 = 2, D6 = 0.5, _6 = 0.2, j6 = 1.5, he = {
8874
8891
  duration: 0.5,
8875
8892
  ease: "easeOut"
8876
8893
  }, K1 = {
@@ -8890,12 +8907,12 @@ function Ze(e) {
8890
8907
  );
8891
8908
  return { value: r, motionValue: o, controls: s, animate: a };
8892
8909
  }
8893
- function _6(e, r) {
8894
- const [n, o] = I($6), {
8910
+ function O6(e, r) {
8911
+ const [n, o] = I(B6), {
8895
8912
  value: s,
8896
8913
  animate: a,
8897
8914
  motionValue: l
8898
- } = Ze(P6), { value: d, animate: c } = Ze(I6), { value: f, animate: u } = Ze(B6), { value: C, animate: g } = Ze(D6), h = js(r, {
8915
+ } = Ze(_6), { value: d, animate: c } = Ze(P6), { value: f, animate: u } = Ze(D6), { value: C, animate: g } = Ze(j6), h = js(r, {
8899
8916
  fftSize: 512,
8900
8917
  smoothingTimeConstant: 0.55
8901
8918
  });
@@ -8943,40 +8960,40 @@ function _6(e, r) {
8943
8960
  brightness: C
8944
8961
  };
8945
8962
  }
8946
- const Q1 = ["lowp", "mediump", "highp"], j6 = `
8963
+ const Q1 = ["lowp", "mediump", "highp"], Z6 = `
8947
8964
  void main(void){
8948
8965
  vec4 color = vec4(0.0,0.0,0.0,1.0);
8949
8966
  mainImage( color, gl_FragCoord.xy );
8950
8967
  gl_FragColor = color;
8951
- }`, O6 = `void mainImage( out vec4 fragColor, in vec2 fragCoord ) {
8968
+ }`, U6 = `void mainImage( out vec4 fragColor, in vec2 fragCoord ) {
8952
8969
  vec2 uv = fragCoord/iResolution.xy;
8953
8970
  vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
8954
8971
  fragColor = vec4(col,1.0);
8955
8972
  }`, J1 = `attribute vec3 aVertexPosition;
8956
8973
  void main(void) {
8957
8974
  gl_Position = vec4(aVertexPosition, 1.0);
8958
- }`, et = "iTime", tt = "iTimeDelta", rt = "iDate", nt = "iFrame", ot = "iMouse", st = "iResolution", Z6 = "iChannel", at = "iChannelResolution", it = "iDeviceOrientation";
8959
- function U6(e, r) {
8975
+ }`, et = "iTime", tt = "iTimeDelta", rt = "iDate", nt = "iFrame", ot = "iMouse", st = "iResolution", z6 = "iChannel", at = "iChannelResolution", it = "iDeviceOrientation";
8976
+ function G6(e, r) {
8960
8977
  return e.includes("Matrix") && Array.isArray(r);
8961
8978
  }
8962
- function z6(e, r) {
8979
+ function W6(e, r) {
8963
8980
  return e.includes("v") && Array.isArray(r) && r.length > Number.parseInt(e.charAt(0), 10);
8964
8981
  }
8965
- function G6(e, r) {
8966
- if (U6(e, r)) {
8982
+ function q6(e, r) {
8983
+ if (G6(e, r)) {
8967
8984
  const n = Number.parseInt(e.charAt(e.length - 3), 10);
8968
8985
  return r.length > n * n ? `[${Math.floor(r.length / (n * n))}]` : void 0;
8969
8986
  }
8970
- if (z6(e, r)) {
8987
+ if (W6(e, r)) {
8971
8988
  const n = Number.parseInt(e.charAt(0), 10);
8972
8989
  return `[${Math.floor(r.length / n)}]`;
8973
8990
  }
8974
8991
  }
8975
- function W6(e, r) {
8992
+ function X6(e, r) {
8976
8993
  return !e.includes("v") && Array.isArray(r) && r.length > Number.parseInt(e.charAt(0), 10);
8977
8994
  }
8978
- const q6 = (e, r, n, o) => {
8979
- if (W6(n, o))
8995
+ const Y6 = (e, r, n, o) => {
8996
+ if (X6(n, o))
8980
8997
  switch (n) {
8981
8998
  case "2f":
8982
8999
  return e.uniform2f(r, o[0], o[1]);
@@ -9017,7 +9034,7 @@ const q6 = (e, r, n, o) => {
9017
9034
  case "Matrix4fv":
9018
9035
  return e.uniformMatrix4fv(r, !1, o);
9019
9036
  }
9020
- }, X6 = (e) => {
9037
+ }, K6 = (e) => {
9021
9038
  switch (e) {
9022
9039
  case "1f":
9023
9040
  return "float";
@@ -9064,8 +9081,8 @@ const q6 = (e, r, n, o) => {
9064
9081
  )
9065
9082
  );
9066
9083
  }
9067
- }, t1 = 9729, lt = 9728, Y6 = 9987, ct = 33071, dt = 10497;
9068
- class K6 {
9084
+ }, t1 = 9729, lt = 9728, Q6 = 9987, ct = 33071, dt = 10497;
9085
+ class J6 {
9069
9086
  gl;
9070
9087
  url;
9071
9088
  wrapS;
@@ -9197,7 +9214,7 @@ class K6 {
9197
9214
  ), n.texParameteri(
9198
9215
  n.TEXTURE_2D,
9199
9216
  n.TEXTURE_MIN_FILTER,
9200
- this.minFilter || Y6
9217
+ this.minFilter || Q6
9201
9218
  ), n.texParameteri(
9202
9219
  n.TEXTURE_2D,
9203
9220
  n.TEXTURE_MAG_FILTER,
@@ -9211,8 +9228,8 @@ const Le = (e) => `react-shaders: ${e}`, ut = (e) => {
9211
9228
  return [r?.clientX ?? 0, r?.clientY ?? 0];
9212
9229
  }
9213
9230
  return [e.clientX, e.clientY];
9214
- }, ft = (e, r, n) => e * (1 - n) + r * n, Q6 = (e, r, n) => n > 0 ? e.substring(0, n) + r + e.substring(n, e.length) : r + e;
9215
- function J6({
9231
+ }, ft = (e, r, n) => e * (1 - n) + r * n, e4 = (e, r, n) => n > 0 ? e.substring(0, n) + r + e.substring(n, e.length) : r + e;
9232
+ function t4({
9216
9233
  fs: e,
9217
9234
  vs: r = J1,
9218
9235
  textures: n = [],
@@ -9355,10 +9372,10 @@ ${y}`));
9355
9372
  const y = o[k];
9356
9373
  if (!y)
9357
9374
  continue;
9358
- const { value: M, type: B } = y, V = X6(B);
9375
+ const { value: M, type: B } = y, V = K6(B);
9359
9376
  if (!V)
9360
9377
  continue;
9361
- const _ = G6(B, M);
9378
+ const _ = q6(B, M);
9362
9379
  R.current[k] = {
9363
9380
  type: V,
9364
9381
  isNeeded: !1,
@@ -9377,10 +9394,10 @@ ${y}`));
9377
9394
  value: []
9378
9395
  };
9379
9396
  const y = n.map(
9380
- (M, B) => (R.current[`${Z6}${B}`] = {
9397
+ (M, B) => (R.current[`${z6}${B}`] = {
9381
9398
  type: "sampler2D",
9382
9399
  isNeeded: !1
9383
- }, H(M, B), P.current[B] = new K6(k), P.current[B]?.load(M).then((V) => H(V, B)))
9400
+ }, H(M, B), P.current[B] = new J6(k), P.current[B]?.load(M).then((V) => H(V, B)))
9384
9401
  );
9385
9402
  Promise.all(y).then(() => {
9386
9403
  u && u();
@@ -9403,14 +9420,14 @@ ${y}`));
9403
9420
  const ce = R.current[_];
9404
9421
  if (!ce)
9405
9422
  continue;
9406
- B = Q6(
9423
+ B = e4(
9407
9424
  B,
9408
9425
  `uniform ${ce.type} ${_}${ce.arraySize || ""};
9409
9426
  `,
9410
9427
  B.lastIndexOf(M) + M.length
9411
9428
  ), ce.isNeeded = !0;
9412
9429
  }
9413
- return k.includes("mainImage") && (B = B.concat(j6)), B;
9430
+ return k.includes("mainImage") && (B = B.concat(Z6)), B;
9414
9431
  }, ke = (k) => {
9415
9432
  const y = w.current;
9416
9433
  if (!y || !p.current)
@@ -9430,7 +9447,7 @@ ${y}`));
9430
9447
  );
9431
9448
  if (!ce)
9432
9449
  return;
9433
- q6(
9450
+ Y6(
9434
9451
  y,
9435
9452
  ce,
9436
9453
  _.type,
@@ -9555,7 +9572,7 @@ ${y}`));
9555
9572
  function y() {
9556
9573
  Z();
9557
9574
  const M = w.current;
9558
- M && h.current && (M.clearColor(...s), M.clearDepth(1), M.enable(M.DEPTH_TEST), M.depthFunc(M.LEQUAL), M.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, ne(), Fe(), me(be(e || O6), r || J1), O(), requestAnimationFrame(U), J(), Q());
9575
+ M && h.current && (M.clearColor(...s), M.clearDepth(1), M.enable(M.DEPTH_TEST), M.depthFunc(M.LEQUAL), M.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, ne(), Fe(), me(be(e || U6), r || J1), O(), requestAnimationFrame(U), J(), Q());
9559
9576
  }
9560
9577
  return requestAnimationFrame(y), () => {
9561
9578
  const M = w.current;
@@ -9575,7 +9592,7 @@ ${y}`));
9575
9592
  }
9576
9593
  );
9577
9594
  }
9578
- const ec = `
9595
+ const r4 = `
9579
9596
  const float TAU = 6.283185;
9580
9597
 
9581
9598
  // Noise for dithering
@@ -9742,7 +9759,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
9742
9759
  float alpha = mappedBrightness * clamp(uMix, 1.0, 2.0);
9743
9760
  fragColor = vec4(color, alpha);
9744
9761
  }
9745
- }`, tc = Be({
9762
+ }`, n4 = Be({
9746
9763
  base: "aspect-square",
9747
9764
  variants: {
9748
9765
  size: {
@@ -9757,7 +9774,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
9757
9774
  size: "lg"
9758
9775
  }
9759
9776
  });
9760
- function rc(e) {
9777
+ function o4(e) {
9761
9778
  const r = e.match(
9762
9779
  /^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
9763
9780
  );
@@ -9781,11 +9798,11 @@ function Lr({
9781
9798
  className: C,
9782
9799
  ...g
9783
9800
  }) {
9784
- const h = X(() => rc(l), [l]);
9801
+ const h = X(() => o4(l), [l]);
9785
9802
  return /* @__PURE__ */ t("div", { ref: u, className: C, ...g, children: /* @__PURE__ */ t(
9786
- J6,
9803
+ t4,
9787
9804
  {
9788
- fs: ec,
9805
+ fs: r4,
9789
9806
  devicePixelRatio: globalThis.devicePixelRatio ?? 1,
9790
9807
  uniforms: {
9791
9808
  // Aurora wave speed
@@ -9828,7 +9845,7 @@ function Lr({
9828
9845
  ) });
9829
9846
  }
9830
9847
  Lr.displayName = "AuraShader";
9831
- function u4({
9848
+ function hc({
9832
9849
  size: e = "lg",
9833
9850
  state: r,
9834
9851
  color: n,
@@ -9839,7 +9856,7 @@ function u4({
9839
9856
  ref: d,
9840
9857
  ...c
9841
9858
  }) {
9842
- const { speed: f, scale: u, amplitude: C, frequency: g, brightness: h } = _6(r, s);
9859
+ const { speed: f, scale: u, amplitude: C, frequency: g, brightness: h } = O6(r, s);
9843
9860
  return /* @__PURE__ */ t(
9844
9861
  Lr,
9845
9862
  {
@@ -9854,7 +9871,7 @@ function u4({
9854
9871
  frequency: g,
9855
9872
  brightness: h,
9856
9873
  className: b(
9857
- tc({ size: e }),
9874
+ n4({ size: e }),
9858
9875
  "overflow-hidden rounded-full",
9859
9876
  l
9860
9877
  ),
@@ -9862,7 +9879,7 @@ function u4({
9862
9879
  }
9863
9880
  );
9864
9881
  }
9865
- const f4 = ({
9882
+ const Cc = ({
9866
9883
  text: e,
9867
9884
  description: r,
9868
9885
  avatar: n,
@@ -9887,7 +9904,7 @@ const f4 = ({
9887
9904
  onClick: l
9888
9905
  }
9889
9906
  }
9890
- ), nc = Be({
9907
+ ), s4 = Be({
9891
9908
  base: [
9892
9909
  "relative flex flex-col rounded-2xl bg-f1-background",
9893
9910
  "border border-solid border-f1-border-secondary",
@@ -9905,18 +9922,18 @@ const f4 = ({
9905
9922
  }
9906
9923
  }), br = Be({
9907
9924
  base: "text-lg font-semibold text-f1-foreground line-clamp-3"
9908
- }), oc = Be({
9925
+ }), a4 = Be({
9909
9926
  base: "text-sm text-f1-foreground-secondary leading-normal"
9910
9927
  }), kr = Be({
9911
9928
  base: "text-sm font-medium text-f1-foreground leading-normal"
9912
- }), sc = ({
9929
+ }), i4 = ({
9913
9930
  description: e,
9914
9931
  isRevealed: r,
9915
9932
  onAskOne: n
9916
9933
  }) => {
9917
9934
  const o = z(), s = fe();
9918
9935
  return /* @__PURE__ */ i(Me, { children: [
9919
- e ? /* @__PURE__ */ t("span", { className: b(oc(), "truncate"), children: e }) : null,
9936
+ e ? /* @__PURE__ */ t("span", { className: b(a4(), "truncate"), children: e }) : null,
9920
9937
  /* @__PURE__ */ t(we, { children: n && r ? /* @__PURE__ */ t(
9921
9938
  K.div,
9922
9939
  {
@@ -9941,7 +9958,7 @@ const f4 = ({
9941
9958
  }
9942
9959
  ) : null })
9943
9960
  ] });
9944
- }, ac = /* @__PURE__ */ new Set([
9961
+ }, l4 = /* @__PURE__ */ new Set([
9945
9962
  "person",
9946
9963
  "people",
9947
9964
  "team",
@@ -9954,7 +9971,7 @@ const f4 = ({
9954
9971
  }) => /* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
9955
9972
  r,
9956
9973
  e ? /* @__PURE__ */ t("span", { className: b(kr()), children: e }) : null
9957
- ] }), ic = ({ balance: e }) => /* @__PURE__ */ t(
9974
+ ] }), c4 = ({ balance: e }) => /* @__PURE__ */ t(
9958
9975
  Rs,
9959
9976
  {
9960
9977
  amount: e.amount,
@@ -9962,7 +9979,7 @@ const f4 = ({
9962
9979
  invertStatus: e.invertStatus,
9963
9980
  hint: e.hint
9964
9981
  }
9965
- ), lc = (e) => {
9982
+ ), d4 = (e) => {
9966
9983
  const { label: r } = e;
9967
9984
  return e.content === "person" ? /* @__PURE__ */ t(r1, { label: r, children: /* @__PURE__ */ t(
9968
9985
  Bt,
@@ -9986,8 +10003,8 @@ const f4 = ({
9986
10003
  src: e.avatar.src,
9987
10004
  size: "xs"
9988
10005
  }
9989
- ) }) : e.content === "alert" ? /* @__PURE__ */ t(Ms, { text: e.alertLabel, level: e.level }) : e.content === "balance" ? /* @__PURE__ */ t(ic, { balance: e.balance }) : null;
9990
- }, cc = (e) => {
10006
+ ) }) : e.content === "alert" ? /* @__PURE__ */ t(Ms, { text: e.alertLabel, level: e.level }) : e.content === "balance" ? /* @__PURE__ */ t(c4, { balance: e.balance }) : null;
10007
+ }, u4 = (e) => {
9991
10008
  const {
9992
10009
  heading: r,
9993
10010
  label: n,
@@ -10003,10 +10020,10 @@ const f4 = ({
10003
10020
  className: "flex flex-1 flex-col justify-end gap-2",
10004
10021
  animate: { opacity: s ? 0 : 1 },
10005
10022
  transition: a,
10006
- children: /* @__PURE__ */ t(lc, { ...e })
10023
+ children: /* @__PURE__ */ t(d4, { ...e })
10007
10024
  }
10008
10025
  ),
10009
- n && !ac.has(o) ? /* @__PURE__ */ t(
10026
+ n && !l4.has(o) ? /* @__PURE__ */ t(
10010
10027
  K.span,
10011
10028
  {
10012
10029
  className: b(kr()),
@@ -10033,17 +10050,17 @@ const f4 = ({
10033
10050
  border: "border-f1-border"
10034
10051
  }
10035
10052
  };
10036
- function dc(e, r) {
10053
+ function f4(e, r) {
10037
10054
  const n = e[0]?.value ?? 0, o = e[e.length - 1]?.value ?? 0, s = Math.sign(o - n), a = r ? s * -1 : s;
10038
10055
  return a > 0 ? "positive" : a < 0 ? "negative" : "neutral";
10039
10056
  }
10040
- const uc = ({
10057
+ const h4 = ({
10041
10058
  cx: e,
10042
10059
  cy: r,
10043
10060
  index: n,
10044
10061
  dataLength: o,
10045
10062
  color: s
10046
- }) => n !== o - 1 || e == null || r == null ? null : /* @__PURE__ */ t("circle", { cx: e, cy: r, r: 2, fill: s, stroke: "none" }), fc = ({
10063
+ }) => n !== o - 1 || e == null || r == null ? null : /* @__PURE__ */ t("circle", { cx: e, cy: r, r: 2, fill: s, stroke: "none" }), C4 = ({
10047
10064
  label: e,
10048
10065
  direction: r
10049
10066
  }) => {
@@ -10065,12 +10082,12 @@ const uc = ({
10065
10082
  children: e
10066
10083
  }
10067
10084
  );
10068
- }, hc = ({
10085
+ }, p4 = ({
10069
10086
  data: e,
10070
10087
  label: r,
10071
10088
  invertStatus: n
10072
10089
  }) => {
10073
- const s = `sparkline-gradient-${Ue().replace(/:/g, "")}`, a = dc(e, n), l = yr[a];
10090
+ const s = `sparkline-gradient-${Ue().replace(/:/g, "")}`, a = f4(e, n), l = yr[a];
10074
10091
  return /* @__PURE__ */ t("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ i(
10075
10092
  "div",
10076
10093
  {
@@ -10100,7 +10117,7 @@ const uc = ({
10100
10117
  fillOpacity: 1,
10101
10118
  isAnimationActive: !1,
10102
10119
  dot: (d) => /* @__PURE__ */ qr(
10103
- uc,
10120
+ h4,
10104
10121
  {
10105
10122
  ...d,
10106
10123
  key: d.index,
@@ -10114,7 +10131,7 @@ const uc = ({
10114
10131
  ]
10115
10132
  }
10116
10133
  ) }),
10117
- /* @__PURE__ */ t(fc, { label: r, direction: a })
10134
+ /* @__PURE__ */ t(C4, { label: r, direction: a })
10118
10135
  ]
10119
10136
  }
10120
10137
  ) });
@@ -10171,7 +10188,7 @@ const uc = ({
10171
10188
  role: l ? "button" : void 0,
10172
10189
  tabIndex: l ? 0 : void 0,
10173
10190
  className: b(
10174
- nc({ selected: a }),
10191
+ s4({ selected: a }),
10175
10192
  a && "relative border-transparent",
10176
10193
  l && "cursor-pointer select-none",
10177
10194
  l && ie(),
@@ -10185,7 +10202,7 @@ const uc = ({
10185
10202
  onBlur: () => h(!1),
10186
10203
  children: [
10187
10204
  /* @__PURE__ */ t(
10188
- sc,
10205
+ i4,
10189
10206
  {
10190
10207
  description: n,
10191
10208
  isRevealed: w,
@@ -10201,7 +10218,7 @@ const uc = ({
10201
10218
  animate: { opacity: p ? 0 : 1 },
10202
10219
  transition: L,
10203
10220
  children: /* @__PURE__ */ t(
10204
- hc,
10221
+ p4,
10205
10222
  {
10206
10223
  data: f.data,
10207
10224
  label: s ?? "",
@@ -10211,7 +10228,7 @@ const uc = ({
10211
10228
  }
10212
10229
  )
10213
10230
  ] }) : /* @__PURE__ */ t(
10214
- cc,
10231
+ u4,
10215
10232
  {
10216
10233
  heading: o,
10217
10234
  label: s,
@@ -10227,15 +10244,15 @@ const uc = ({
10227
10244
  }
10228
10245
  );
10229
10246
  Mr.displayName = "F0AiInsightCardInternal";
10230
- const Cc = ["className"], Rr = m((e, r) => {
10231
- const n = Cc.reduce((o, s) => {
10247
+ const m4 = ["className"], Rr = m((e, r) => {
10248
+ const n = m4.reduce((o, s) => {
10232
10249
  const { [s]: a, ...l } = o;
10233
10250
  return l;
10234
10251
  }, e);
10235
10252
  return /* @__PURE__ */ t(Mr, { ref: r, ...n });
10236
10253
  });
10237
10254
  Rr.displayName = "F0AiInsightCard";
10238
- const pc = () => /* @__PURE__ */ i(
10255
+ const g4 = () => /* @__PURE__ */ i(
10239
10256
  "div",
10240
10257
  {
10241
10258
  className: "flex w-[217px] h-[200px] flex-col gap-2 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-4",
@@ -10255,9 +10272,9 @@ const pc = () => /* @__PURE__ */ i(
10255
10272
  ] })
10256
10273
  ]
10257
10274
  }
10258
- ), h4 = Ts(
10259
- As(Rr, pc)
10260
- ), C4 = [
10275
+ ), pc = Ts(
10276
+ As(Rr, g4)
10277
+ ), mc = [
10261
10278
  "text",
10262
10279
  "person",
10263
10280
  "people",
@@ -10266,10 +10283,10 @@ const pc = () => /* @__PURE__ */ i(
10266
10283
  "alert",
10267
10284
  "balance",
10268
10285
  "sparkline"
10269
- ], Fr = 180, mc = (e) => Number.isFinite(e) ? Math.max(0, Math.floor(e)) : Fr, gc = (e, r) => e.length <= r ? e : `${e.slice(0, r).trimEnd()}...`, wc = (e) => e.showActions !== !1, vc = (e) => Object.fromEntries(
10286
+ ], Fr = 180, w4 = (e) => Number.isFinite(e) ? Math.max(0, Math.floor(e)) : Fr, v4 = (e, r) => e.length <= r ? e : `${e.slice(0, r).trimEnd()}...`, x4 = (e) => e.showActions !== !1, L4 = (e) => Object.fromEntries(
10270
10287
  Object.entries(e).filter(([r]) => r.startsWith("data-"))
10271
10288
  );
10272
- function xc(e) {
10289
+ function b4(e) {
10273
10290
  const {
10274
10291
  module: r,
10275
10292
  heading: n,
@@ -10278,9 +10295,9 @@ function xc(e) {
10278
10295
  description: a,
10279
10296
  seeMoreLabel: l,
10280
10297
  maxCollapsedDescriptionLength: d = Fr
10281
- } = e, [c, f] = I(!1), u = Ue(), C = E(null), g = mc(
10298
+ } = e, [c, f] = I(!1), u = Ue(), C = E(null), g = w4(
10282
10299
  d
10283
- ), h = a.length > g, w = c ? a : gc(a, g), v = wc(e) ? e : null, p = vc(e);
10300
+ ), h = a.length > g, w = c ? a : v4(a, g), v = x4(e) ? e : null, p = L4(e);
10284
10301
  return W(() => {
10285
10302
  c && C.current?.focus();
10286
10303
  }, [c]), /* @__PURE__ */ i(
@@ -10345,8 +10362,8 @@ function xc(e) {
10345
10362
  }
10346
10363
  );
10347
10364
  }
10348
- xc.displayName = "F0AiProposalCard";
10349
- const Lc = ({
10365
+ b4.displayName = "F0AiProposalCard";
10366
+ const k4 = ({
10350
10367
  icon: e,
10351
10368
  title: r,
10352
10369
  children: n
@@ -10390,8 +10407,8 @@ const Lc = ({
10390
10407
  ]
10391
10408
  }
10392
10409
  );
10393
- }, bc = (e) => y2[e] ?? yt, kc = ({ iconName: e }) => e ? /* @__PURE__ */ t("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ t(oe, { icon: bc(e), size: "md", color: "default" }) }) : null;
10394
- function yc({
10410
+ }, y4 = (e) => R2[e] ?? yt, M4 = ({ iconName: e }) => e ? /* @__PURE__ */ t("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ t(oe, { icon: y4(e), size: "md", color: "default" }) }) : null;
10411
+ function R4({
10395
10412
  sources: e,
10396
10413
  title: r
10397
10414
  }) {
@@ -10399,8 +10416,8 @@ function yc({
10399
10416
  if (!e || e.length === 0 || !Array.isArray(e))
10400
10417
  return null;
10401
10418
  const o = r ?? n.ai.resourcesGroupTitle;
10402
- return /* @__PURE__ */ t(Lc, { icon: d1, title: o, children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, a) => {
10403
- const l = /* @__PURE__ */ t(kc, { iconName: s.icon });
10419
+ return /* @__PURE__ */ t(k4, { icon: d1, title: o, children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, a) => {
10420
+ const l = /* @__PURE__ */ t(M4, { iconName: s.icon });
10404
10421
  return s.link ? /* @__PURE__ */ t(
10405
10422
  He,
10406
10423
  {
@@ -10428,12 +10445,12 @@ function yc({
10428
10445
  );
10429
10446
  }) }) });
10430
10447
  }
10431
- yc.displayName = "F0AiMessageSources";
10432
- async function Mc(e, r, n) {
10448
+ R4.displayName = "F0AiMessageSources";
10449
+ async function F4(e, r, n) {
10433
10450
  const o = await import("./xlsx-CzlURDDb.js"), s = o.utils.table_to_book(e, { sheet: "Data" });
10434
10451
  o.writeFile(s, `${n}.${r}`);
10435
10452
  }
10436
- function Rc({
10453
+ function N4({
10437
10454
  dataset: e,
10438
10455
  title: r,
10439
10456
  filename: n
@@ -10443,7 +10460,7 @@ function Rc({
10443
10460
  if (!s.current)
10444
10461
  return;
10445
10462
  const c = n ?? (a.replace(/\s+/g, "_").toLowerCase() || "table");
10446
- Mc(s.current, d, c);
10463
+ F4(s.current, d, c);
10447
10464
  },
10448
10465
  [a, n]
10449
10466
  );
@@ -10535,8 +10552,8 @@ function Rc({
10535
10552
  }
10536
10553
  ) : null;
10537
10554
  }
10538
- Rc.displayName = "F0AiTableCard";
10539
- function Fc({ credits: e, trigger: r }) {
10555
+ N4.displayName = "F0AiTableCard";
10556
+ function S4({ credits: e, trigger: r }) {
10540
10557
  const n = z(), [o, s] = I(!1), [a, l] = I(!1), [d, c] = I(!1), [f, u] = I(null), C = j(
10541
10558
  (w) => {
10542
10559
  s(w), w && e?.fetchUsage && (l(!0), c(!1), e.fetchUsage().then((v) => {
@@ -10662,7 +10679,7 @@ function Fc({ credits: e, trigger: r }) {
10662
10679
  )
10663
10680
  ] });
10664
10681
  }
10665
- const Nc = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", Sc = ({
10682
+ const V4 = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", T4 = ({
10666
10683
  loading: e,
10667
10684
  error: r,
10668
10685
  data: n
@@ -10702,7 +10719,7 @@ const Nc = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", Sc = ({
10702
10719
  className: "h-full rounded-full",
10703
10720
  style: {
10704
10721
  width: `${a}%`,
10705
- backgroundImage: Nc,
10722
+ backgroundImage: V4,
10706
10723
  backgroundSize: "300% 100%"
10707
10724
  },
10708
10725
  animate: s ? void 0 : { backgroundPosition: ["0% 0%", "100% 0%"] },
@@ -10721,7 +10738,7 @@ const Nc = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", Sc = ({
10721
10738
  ] }) : null
10722
10739
  ] }) });
10723
10740
  };
10724
- function Vc({
10741
+ function A4({
10725
10742
  employeeCredits: e,
10726
10743
  trigger: r
10727
10744
  }) {
@@ -10782,7 +10799,7 @@ function Vc({
10782
10799
  ) : null
10783
10800
  ] })
10784
10801
  ] }) : null,
10785
- /* @__PURE__ */ t(Sc, { loading: a, error: d, data: f })
10802
+ /* @__PURE__ */ t(T4, { loading: a, error: d, data: f })
10786
10803
  ]
10787
10804
  }
10788
10805
  )
@@ -10793,12 +10810,12 @@ const s1 = ({
10793
10810
  employeeCredits: r,
10794
10811
  trigger: n
10795
10812
  }) => r ? /* @__PURE__ */ t(
10796
- Vc,
10813
+ A4,
10797
10814
  {
10798
10815
  employeeCredits: r,
10799
10816
  trigger: n
10800
10817
  }
10801
- ) : e ? /* @__PURE__ */ t(Fc, { credits: e, trigger: n }) : null, p4 = s1, m4 = ({
10818
+ ) : e ? /* @__PURE__ */ t(S4, { credits: e, trigger: n }) : null, gc = s1, wc = ({
10802
10819
  historyEnabled: e = !1,
10803
10820
  title: r,
10804
10821
  currentThreadTitle: n,
@@ -10960,11 +10977,11 @@ const s1 = ({
10960
10977
  )
10961
10978
  ] });
10962
10979
  };
10963
- function Tc(e) {
10980
+ function E4(e) {
10964
10981
  const r = new Date(e), n = /* @__PURE__ */ new Date();
10965
10982
  return Ut(r) ? "today" : zt(r) ? "yesterday" : Hs(r, n) ? "thisMonth" : "older";
10966
10983
  }
10967
- function Ac(e, r, n) {
10984
+ function H4(e, r, n) {
10968
10985
  const o = new Date(e), s = B1(o, "p", { locale: n });
10969
10986
  if (Ut(o))
10970
10987
  return `${r.today}, ${s}`;
@@ -10975,7 +10992,7 @@ function Ac(e, r, n) {
10975
10992
  locale: n
10976
10993
  })}, ${s}`;
10977
10994
  }
10978
- function Ec(e) {
10995
+ function $4(e) {
10979
10996
  const r = {
10980
10997
  today: [],
10981
10998
  yesterday: [],
@@ -10983,12 +11000,12 @@ function Ec(e) {
10983
11000
  older: []
10984
11001
  };
10985
11002
  for (const o of e) {
10986
- const s = Tc(o.updatedAt);
11003
+ const s = E4(o.updatedAt);
10987
11004
  r[s].push(o);
10988
11005
  }
10989
11006
  return ["today", "yesterday", "thisMonth", "older"].filter((o) => r[o].length > 0).map((o) => ({ key: o, threads: r[o] }));
10990
11007
  }
10991
- function Hc({
11008
+ function I4({
10992
11009
  thread: e,
10993
11010
  isPinned: r,
10994
11011
  isActive: n = !1,
@@ -11015,7 +11032,7 @@ function Hc({
11015
11032
  ],
11016
11033
  [r, e.id, a, l, d]
11017
11034
  ), g = X(
11018
- () => Ac(
11035
+ () => H4(
11019
11036
  e.updatedAt,
11020
11037
  {
11021
11038
  today: f.ai.today,
@@ -11144,7 +11161,7 @@ function ht({
11144
11161
  }
11145
11162
  ),
11146
11163
  d ? /* @__PURE__ */ t("div", { className: "flex flex-col", children: r.map((C) => /* @__PURE__ */ t(
11147
- Hc,
11164
+ I4,
11148
11165
  {
11149
11166
  thread: C,
11150
11167
  isPinned: n.has(C.id),
@@ -11157,20 +11174,20 @@ function ht({
11157
11174
  )) }) : null
11158
11175
  ] });
11159
11176
  }
11160
- const Ct = ["w-3/5", "w-4/5", "w-2/5", "w-3/4", "w-1/2", "w-2/3"], $c = ({ width: e }) => /* @__PURE__ */ t("div", { className: "flex items-center py-1.5 pl-1.5 pr-2", children: /* @__PURE__ */ t(ue, { className: b("h-4 rounded", e) }) }), pt = ({
11177
+ const Ct = ["w-3/5", "w-4/5", "w-2/5", "w-3/4", "w-1/2", "w-2/3"], B4 = ({ width: e }) => /* @__PURE__ */ t("div", { className: "flex items-center py-1.5 pl-1.5 pr-2", children: /* @__PURE__ */ t(ue, { className: b("h-4 rounded", e) }) }), pt = ({
11161
11178
  titleWidth: e,
11162
11179
  rows: r
11163
11180
  }) => /* @__PURE__ */ i("div", { className: "flex flex-col gap-0.5", children: [
11164
11181
  /* @__PURE__ */ t("div", { className: "flex items-center p-1.5", children: /* @__PURE__ */ t(ue, { className: b("h-3 rounded", e) }) }),
11165
- r.map((n, o) => /* @__PURE__ */ t($c, { width: n }, o))
11182
+ r.map((n, o) => /* @__PURE__ */ t(B4, { width: n }, o))
11166
11183
  ] });
11167
- function Ic() {
11184
+ function P4() {
11168
11185
  return /* @__PURE__ */ i("div", { "aria-hidden": "true", className: "flex flex-col gap-4", children: [
11169
11186
  /* @__PURE__ */ t(pt, { titleWidth: "w-12", rows: Ct.slice(0, 2) }),
11170
11187
  /* @__PURE__ */ t(pt, { titleWidth: "w-24", rows: Ct })
11171
11188
  ] });
11172
11189
  }
11173
- const g4 = ({
11190
+ const vc = ({
11174
11191
  onClose: e,
11175
11192
  onSelectThread: r,
11176
11193
  onNewChat: n,
@@ -11214,7 +11231,7 @@ const g4 = ({
11214
11231
  () => w.filter((x) => !l.has(x.id)),
11215
11232
  [w, l]
11216
11233
  ), L = X(
11217
- () => Ec(p),
11234
+ () => $4(p),
11218
11235
  [p]
11219
11236
  ), S = j(
11220
11237
  (x, P) => {
@@ -11291,7 +11308,7 @@ const g4 = ({
11291
11308
  ] })
11292
11309
  }
11293
11310
  ),
11294
- s ? /* @__PURE__ */ t(Ic, {}) : null,
11311
+ s ? /* @__PURE__ */ t(P4, {}) : null,
11295
11312
  !s && a ? /* @__PURE__ */ t("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: a }) : null,
11296
11313
  !s && !a && !F ? /* @__PURE__ */ t("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: u.ai.noPreviousChats }) : null,
11297
11314
  !s && !a && v.length > 0 ? /* @__PURE__ */ t(
@@ -11329,21 +11346,21 @@ const g4 = ({
11329
11346
  document.body
11330
11347
  );
11331
11348
  }, Nr = "f0-ai-pinned-threads";
11332
- function Bc() {
11349
+ function D4() {
11333
11350
  const e = Bs(Nr, []);
11334
11351
  return new Set(Array.isArray(e) ? e : []);
11335
11352
  }
11336
11353
  function mt(e) {
11337
11354
  Ps(Nr, [...e]);
11338
11355
  }
11339
- function w4({
11356
+ function xc({
11340
11357
  enabled: e = !1,
11341
11358
  fetchThreads: r,
11342
11359
  deleteThread: n,
11343
11360
  pinThread: o,
11344
11361
  unpinThread: s
11345
11362
  }) {
11346
- const [a, l] = I([]), [d, c] = I(!1), [f, u] = I(null), [C, g] = I(Bc), [h, w] = I(() => /* @__PURE__ */ new Set()), v = j(async () => {
11363
+ const [a, l] = I([]), [d, c] = I(!1), [f, u] = I(null), [C, g] = I(D4), [h, w] = I(() => /* @__PURE__ */ new Set()), v = j(async () => {
11347
11364
  c(!0), u(null);
11348
11365
  try {
11349
11366
  const x = await r();
@@ -11411,7 +11428,7 @@ function w4({
11411
11428
  deleteThread: F
11412
11429
  };
11413
11430
  }
11414
- const Pc = K.create(It), Dc = ({
11431
+ const _4 = K.create(It), j4 = ({
11415
11432
  label: e,
11416
11433
  reduceMotion: r
11417
11434
  }) => (
@@ -11424,7 +11441,7 @@ const Pc = K.create(It), Dc = ({
11424
11441
  className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",
11425
11442
  children: [
11426
11443
  /* @__PURE__ */ t(
11427
- Pc,
11444
+ _4,
11428
11445
  {
11429
11446
  size: "xs",
11430
11447
  animate: r ? void 0 : {
@@ -11460,7 +11477,7 @@ const Pc = K.create(It), Dc = ({
11460
11477
  ]
11461
11478
  }
11462
11479
  )
11463
- ), v4 = Xr(function({
11480
+ ), Lc = Xr(function({
11464
11481
  active: r,
11465
11482
  label: n,
11466
11483
  className: o,
@@ -11486,7 +11503,7 @@ const Pc = K.create(It), Dc = ({
11486
11503
  animate: { opacity: 1, scale: 1 },
11487
11504
  exit: { opacity: 0, scale: l ? 1 : 0.95 },
11488
11505
  children: /* @__PURE__ */ t("div", { className: "mt-[40vh]", children: /* @__PURE__ */ t(
11489
- Dc,
11506
+ j4,
11490
11507
  {
11491
11508
  label: d,
11492
11509
  reduceMotion: l
@@ -11508,12 +11525,12 @@ const Pc = K.create(It), Dc = ({
11508
11525
  ] });
11509
11526
  });
11510
11527
  export {
11511
- a4 as A,
11512
- Qc as B,
11528
+ lc as A,
11529
+ ec as B,
11513
11530
  ht as C,
11514
- o4 as D,
11515
- v4 as E,
11516
- t4 as F,
11531
+ ac as D,
11532
+ Lc as E,
11533
+ nc as F,
11517
11534
  r0 as G,
11518
11535
  Q5 as H,
11519
11536
  Xs as I,
@@ -11523,31 +11540,31 @@ export {
11523
11540
  $a as M,
11524
11541
  Ta as N,
11525
11542
  Ba as O,
11526
- Hc as T,
11527
- s4 as a,
11528
- i4 as b,
11529
- Pl as c,
11530
- r4 as d,
11543
+ I4 as T,
11544
+ ic as a,
11545
+ cc as b,
11546
+ _l as c,
11547
+ oc as d,
11531
11548
  lr as e,
11532
- l4 as f,
11533
- c4 as g,
11534
- Kc as h,
11535
- d4 as i,
11536
- u4 as j,
11537
- f4 as k,
11538
- h4 as l,
11539
- e4 as m,
11540
- C4 as n,
11541
- Yc as o,
11542
- xc as p,
11543
- yc as q,
11544
- Rc as r,
11545
- m4 as s,
11546
- p4 as t,
11547
- n4 as u,
11548
- g4 as v,
11549
- Ic as w,
11550
- w4 as x,
11551
- Jc as y,
11552
- F2 as z
11549
+ dc as f,
11550
+ uc as g,
11551
+ J4 as h,
11552
+ fc as i,
11553
+ hc as j,
11554
+ Cc as k,
11555
+ pc as l,
11556
+ rc as m,
11557
+ mc as n,
11558
+ Q4 as o,
11559
+ b4 as p,
11560
+ R4 as q,
11561
+ N4 as r,
11562
+ wc as s,
11563
+ gc as t,
11564
+ sc as u,
11565
+ vc as v,
11566
+ P4 as w,
11567
+ xc as x,
11568
+ tc as y,
11569
+ S2 as z
11553
11570
  };