@kingsimba/nc-ui 0.1.45 → 0.1.46

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.
@@ -29,20 +29,20 @@ function l({ size: n = 24, className: r, style: e }) {
29
29
  viewBox: "0 0 24 24",
30
30
  fill: "none",
31
31
  stroke: "currentColor",
32
- strokeWidth: 2,
32
+ strokeWidth: 1.7,
33
33
  strokeLinecap: "round",
34
34
  strokeLinejoin: "round",
35
35
  className: r,
36
36
  style: e,
37
37
  children: [
38
- /* @__PURE__ */ o("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h8" }),
38
+ /* @__PURE__ */ o("path", { d: "M18 13v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h7" }),
39
39
  /* @__PURE__ */ o("polyline", { points: "17 4 20 4 20 7" }),
40
40
  /* @__PURE__ */ o("line", { x1: "13", y1: "11", x2: "20", y2: "4" })
41
41
  ]
42
42
  }
43
43
  );
44
44
  }
45
- function a({ size: n = 24, className: r, style: e }) {
45
+ function s({ size: n = 24, className: r, style: e }) {
46
46
  return /* @__PURE__ */ t(
47
47
  "svg",
48
48
  {
@@ -65,7 +65,7 @@ function a({ size: n = 24, className: r, style: e }) {
65
65
  }
66
66
  );
67
67
  }
68
- function s({ size: n = 24, className: r, style: e }) {
68
+ function u({ size: n = 24, className: r, style: e }) {
69
69
  return /* @__PURE__ */ t(
70
70
  "svg",
71
71
  {
@@ -86,7 +86,7 @@ function s({ size: n = 24, className: r, style: e }) {
86
86
  }
87
87
  );
88
88
  }
89
- function u({ size: n = 24, className: r, style: e }) {
89
+ function a({ size: n = 24, className: r, style: e }) {
90
90
  return /* @__PURE__ */ t(
91
91
  "svg",
92
92
  {
@@ -151,7 +151,7 @@ function p({ size: n = 24, className: r, style: e }) {
151
151
  }
152
152
  );
153
153
  }
154
- function x({ size: n = 24, className: r, style: e }) {
154
+ function L({ size: n = 24, className: r, style: e }) {
155
155
  return /* @__PURE__ */ o(
156
156
  "svg",
157
157
  {
@@ -187,7 +187,7 @@ function v({ size: n = 24, className: r, style: e }) {
187
187
  }
188
188
  );
189
189
  }
190
- function L({ size: n = 24, className: r, style: e }) {
190
+ function x({ size: n = 24, className: r, style: e }) {
191
191
  return /* @__PURE__ */ o(
192
192
  "svg",
193
193
  {
@@ -205,7 +205,7 @@ function L({ size: n = 24, className: r, style: e }) {
205
205
  }
206
206
  );
207
207
  }
208
- function g({ size: n = 24, className: r, style: e }) {
208
+ function w({ size: n = 24, className: r, style: e }) {
209
209
  return /* @__PURE__ */ t(
210
210
  "svg",
211
211
  {
@@ -214,21 +214,21 @@ function g({ size: n = 24, className: r, style: e }) {
214
214
  viewBox: "0 0 24 24",
215
215
  fill: "none",
216
216
  stroke: "currentColor",
217
- strokeWidth: 2,
217
+ strokeWidth: 1.7,
218
218
  strokeLinecap: "round",
219
219
  strokeLinejoin: "round",
220
220
  className: r,
221
221
  style: e,
222
222
  children: [
223
- /* @__PURE__ */ o("path", { d: "M21 3v5h-5" }),
224
- /* @__PURE__ */ o("path", { d: "M3 12a9 9 0 0 1 15-6.7L21 8" }),
225
- /* @__PURE__ */ o("path", { d: "M3 21v-5h5" }),
226
- /* @__PURE__ */ o("path", { d: "M21 12a9 9 0 0 1-15 6.7L3 16" })
223
+ /* @__PURE__ */ o("path", { d: "M20 4v4.44h-4.44" }),
224
+ /* @__PURE__ */ o("path", { d: "M4 12A8 8 0 0 1 17.33 6.04L20 8.44" }),
225
+ /* @__PURE__ */ o("path", { d: "M4 20v-4.44h4.44" }),
226
+ /* @__PURE__ */ o("path", { d: "M20 12A8 8 0 0 1 6.67 17.96L4 15.56" })
227
227
  ]
228
228
  }
229
229
  );
230
230
  }
231
- function w({ size: n = 24, className: r, style: e }) {
231
+ function f({ size: n = 24, className: r, style: e }) {
232
232
  return /* @__PURE__ */ t(
233
233
  "svg",
234
234
  {
@@ -237,19 +237,19 @@ function w({ size: n = 24, className: r, style: e }) {
237
237
  viewBox: "0 0 24 24",
238
238
  fill: "none",
239
239
  stroke: "currentColor",
240
- strokeWidth: 2,
240
+ strokeWidth: 1.7,
241
241
  strokeLinecap: "round",
242
242
  strokeLinejoin: "round",
243
243
  className: r,
244
244
  style: e,
245
245
  children: [
246
- /* @__PURE__ */ o("path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }),
247
- /* @__PURE__ */ o("path", { d: "M3 3v5h5" })
246
+ /* @__PURE__ */ o("path", { d: "M4 12A8 8 0 1 0 12 4A8.67 8.67 0 0 0 6.01 6.44L4 8.44" }),
247
+ /* @__PURE__ */ o("path", { d: "M4 4v4.44h4.44" })
248
248
  ]
249
249
  }
250
250
  );
251
251
  }
252
- function f({ size: n = 24, className: r, style: e }) {
252
+ function g({ size: n = 24, className: r, style: e }) {
253
253
  return /* @__PURE__ */ t(
254
254
  "svg",
255
255
  {
@@ -264,13 +264,13 @@ function f({ size: n = 24, className: r, style: e }) {
264
264
  className: r,
265
265
  style: e,
266
266
  children: [
267
- /* @__PURE__ */ o("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
267
+ /* @__PURE__ */ o("path", { d: "M11 4H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-6" }),
268
268
  /* @__PURE__ */ o("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
269
269
  ]
270
270
  }
271
271
  );
272
272
  }
273
- function y({ size: n = 24, className: r, style: e }) {
273
+ function M({ size: n = 24, className: r, style: e }) {
274
274
  return /* @__PURE__ */ t(
275
275
  "svg",
276
276
  {
@@ -279,7 +279,7 @@ function y({ size: n = 24, className: r, style: e }) {
279
279
  viewBox: "0 0 24 24",
280
280
  fill: "none",
281
281
  stroke: "currentColor",
282
- strokeWidth: 1.5,
282
+ strokeWidth: 1.7,
283
283
  strokeLinecap: "round",
284
284
  strokeLinejoin: "round",
285
285
  className: r,
@@ -293,7 +293,7 @@ function y({ size: n = 24, className: r, style: e }) {
293
293
  }
294
294
  );
295
295
  }
296
- function M({ size: n = 24, className: r, style: e }) {
296
+ function y({ size: n = 24, className: r, style: e }) {
297
297
  return /* @__PURE__ */ t(
298
298
  "svg",
299
299
  {
@@ -302,7 +302,7 @@ function M({ size: n = 24, className: r, style: e }) {
302
302
  viewBox: "0 0 24 24",
303
303
  fill: "none",
304
304
  stroke: "currentColor",
305
- strokeWidth: 1.5,
305
+ strokeWidth: 1.7,
306
306
  strokeLinecap: "round",
307
307
  strokeLinejoin: "round",
308
308
  className: r,
@@ -332,12 +332,12 @@ function C({ size: n = 24, className: r, style: e }) {
332
332
  children: [
333
333
  /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
334
334
  /* @__PURE__ */ o("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
335
- /* @__PURE__ */ o("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
335
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "8", r: "1.2", fill: "currentColor", stroke: "none" })
336
336
  ]
337
337
  }
338
338
  );
339
339
  }
340
- function I({ size: n = 24, className: r, style: e }) {
340
+ function A({ size: n = 24, className: r, style: e }) {
341
341
  return /* @__PURE__ */ t(
342
342
  "svg",
343
343
  {
@@ -354,12 +354,12 @@ function I({ size: n = 24, className: r, style: e }) {
354
354
  children: [
355
355
  /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
356
356
  /* @__PURE__ */ o("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
357
- /* @__PURE__ */ o("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
357
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "17", r: "1.2", fill: "currentColor", stroke: "none" })
358
358
  ]
359
359
  }
360
360
  );
361
361
  }
362
- function j({ size: n = 24, className: r, style: e }) {
362
+ function I({ size: n = 24, className: r, style: e }) {
363
363
  return /* @__PURE__ */ t(
364
364
  "svg",
365
365
  {
@@ -368,7 +368,7 @@ function j({ size: n = 24, className: r, style: e }) {
368
368
  viewBox: "0 0 24 24",
369
369
  fill: "none",
370
370
  stroke: "currentColor",
371
- strokeWidth: 2,
371
+ strokeWidth: 1.7,
372
372
  strokeLinecap: "round",
373
373
  strokeLinejoin: "round",
374
374
  className: r,
@@ -401,7 +401,7 @@ function B({ size: n = 24, className: r, style: e }) {
401
401
  }
402
402
  );
403
403
  }
404
- function W({ size: n = 24, className: r, style: e }) {
404
+ function j({ size: n = 24, className: r, style: e }) {
405
405
  return /* @__PURE__ */ t(
406
406
  "svg",
407
407
  {
@@ -422,7 +422,7 @@ function W({ size: n = 24, className: r, style: e }) {
422
422
  }
423
423
  );
424
424
  }
425
- function V({ size: n = 24, className: r, style: e }) {
425
+ function W({ size: n = 24, className: r, style: e }) {
426
426
  return /* @__PURE__ */ t(
427
427
  "svg",
428
428
  {
@@ -443,7 +443,7 @@ function V({ size: n = 24, className: r, style: e }) {
443
443
  }
444
444
  );
445
445
  }
446
- function H({ size: n = 24, className: r, style: e }) {
446
+ function V({ size: n = 24, className: r, style: e }) {
447
447
  return /* @__PURE__ */ o(
448
448
  "svg",
449
449
  {
@@ -461,7 +461,7 @@ function H({ size: n = 24, className: r, style: e }) {
461
461
  }
462
462
  );
463
463
  }
464
- function A({ size: n = 24, className: r, style: e }) {
464
+ function H({ size: n = 24, className: r, style: e }) {
465
465
  return /* @__PURE__ */ t(
466
466
  "svg",
467
467
  {
@@ -486,7 +486,7 @@ function A({ size: n = 24, className: r, style: e }) {
486
486
  }
487
487
  );
488
488
  }
489
- function m({ size: n = 24, className: r, style: e }) {
489
+ function Z({ size: n = 24, className: r, style: e }) {
490
490
  return /* @__PURE__ */ t(
491
491
  "svg",
492
492
  {
@@ -504,7 +504,7 @@ function m({ size: n = 24, className: r, style: e }) {
504
504
  }
505
505
  );
506
506
  }
507
- function S({ size: n = 24, className: r, style: e }) {
507
+ function m({ size: n = 24, className: r, style: e }) {
508
508
  return /* @__PURE__ */ t(
509
509
  "svg",
510
510
  {
@@ -522,7 +522,7 @@ function S({ size: n = 24, className: r, style: e }) {
522
522
  }
523
523
  );
524
524
  }
525
- function E({ size: n = 24, className: r, style: e }) {
525
+ function P({ size: n = 24, className: r, style: e }) {
526
526
  return /* @__PURE__ */ t(
527
527
  "svg",
528
528
  {
@@ -544,7 +544,7 @@ function E({ size: n = 24, className: r, style: e }) {
544
544
  }
545
545
  );
546
546
  }
547
- function D({ size: n = 24, className: r, style: e }) {
547
+ function S({ size: n = 24, className: r, style: e }) {
548
548
  return /* @__PURE__ */ t(
549
549
  "svg",
550
550
  {
@@ -565,7 +565,7 @@ function D({ size: n = 24, className: r, style: e }) {
565
565
  }
566
566
  );
567
567
  }
568
- function P({ size: n = 24, className: r, style: e }) {
568
+ function F({ size: n = 24, className: r, style: e }) {
569
569
  return /* @__PURE__ */ t(
570
570
  "svg",
571
571
  {
@@ -586,7 +586,7 @@ function P({ size: n = 24, className: r, style: e }) {
586
586
  }
587
587
  );
588
588
  }
589
- function R({ size: n = 24, className: r, style: e }) {
589
+ function D({ size: n = 24, className: r, style: e }) {
590
590
  return /* @__PURE__ */ t(
591
591
  "svg",
592
592
  {
@@ -601,13 +601,35 @@ function R({ size: n = 24, className: r, style: e }) {
601
601
  className: r,
602
602
  style: e,
603
603
  children: [
604
- /* @__PURE__ */ o("rect", { x: "8", y: "8", width: "14", height: "14", rx: "2" }),
605
- /* @__PURE__ */ o("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
604
+ /* @__PURE__ */ o("rect", { x: "8.8", y: "8.8", width: "11.2", height: "11.2", rx: "1.6" }),
605
+ /* @__PURE__ */ o("path", { d: "M5.6 15.2c-.88 0-1.6-.72-1.6-1.6V5.6c0-.88.72-1.6 1.6-1.6h8c.88 0 1.6.72 1.6 1.6" })
606
606
  ]
607
607
  }
608
608
  );
609
609
  }
610
- function Z({ size: n = 24, className: r, style: e }) {
610
+ function E({ size: n = 24, className: r, style: e }) {
611
+ return /* @__PURE__ */ t(
612
+ "svg",
613
+ {
614
+ width: n,
615
+ height: n,
616
+ viewBox: "0 0 24 24",
617
+ fill: "none",
618
+ stroke: "currentColor",
619
+ strokeWidth: 2,
620
+ strokeLinecap: "round",
621
+ strokeLinejoin: "round",
622
+ className: r,
623
+ style: e,
624
+ children: [
625
+ /* @__PURE__ */ o("path", { d: "M3 21h18" }),
626
+ /* @__PURE__ */ o("path", { d: "M12 3v14" }),
627
+ /* @__PURE__ */ o("path", { d: "M7 12l5 5 5-5" })
628
+ ]
629
+ }
630
+ );
631
+ }
632
+ function R({ size: n = 24, className: r, style: e }) {
611
633
  return /* @__PURE__ */ o(
612
634
  "svg",
613
635
  {
@@ -625,7 +647,7 @@ function Z({ size: n = 24, className: r, style: e }) {
625
647
  }
626
648
  );
627
649
  }
628
- function F({ size: n = 24, className: r, style: e }) {
650
+ function b({ size: n = 24, className: r, style: e }) {
629
651
  return /* @__PURE__ */ t(
630
652
  "svg",
631
653
  {
@@ -653,7 +675,7 @@ function F({ size: n = 24, className: r, style: e }) {
653
675
  }
654
676
  );
655
677
  }
656
- function b({ size: n = 24, className: r, style: e }) {
678
+ function Q({ size: n = 24, className: r, style: e }) {
657
679
  return /* @__PURE__ */ o(
658
680
  "svg",
659
681
  {
@@ -671,7 +693,7 @@ function b({ size: n = 24, className: r, style: e }) {
671
693
  }
672
694
  );
673
695
  }
674
- function Q({ size: n = 24, className: r, style: e }) {
696
+ function T({ size: n = 24, className: r, style: e }) {
675
697
  return /* @__PURE__ */ t(
676
698
  "svg",
677
699
  {
@@ -680,7 +702,7 @@ function Q({ size: n = 24, className: r, style: e }) {
680
702
  viewBox: "0 0 24 24",
681
703
  fill: "none",
682
704
  stroke: "currentColor",
683
- strokeWidth: 1.5,
705
+ strokeWidth: 1.7,
684
706
  strokeLinecap: "round",
685
707
  strokeLinejoin: "round",
686
708
  className: r,
@@ -693,7 +715,7 @@ function Q({ size: n = 24, className: r, style: e }) {
693
715
  }
694
716
  );
695
717
  }
696
- function T({ size: n = 24, className: r, style: e }) {
718
+ function U({ size: n = 24, className: r, style: e }) {
697
719
  return /* @__PURE__ */ t(
698
720
  "svg",
699
721
  {
@@ -702,7 +724,7 @@ function T({ size: n = 24, className: r, style: e }) {
702
724
  viewBox: "0 0 24 24",
703
725
  fill: "none",
704
726
  stroke: "currentColor",
705
- strokeWidth: 1.5,
727
+ strokeWidth: 1.7,
706
728
  strokeLinecap: "round",
707
729
  strokeLinejoin: "round",
708
730
  className: r,
@@ -714,7 +736,7 @@ function T({ size: n = 24, className: r, style: e }) {
714
736
  }
715
737
  );
716
738
  }
717
- function U({ size: n = 24, className: r, style: e }) {
739
+ function q({ size: n = 24, className: r, style: e }) {
718
740
  return /* @__PURE__ */ t(
719
741
  "svg",
720
742
  {
@@ -736,7 +758,7 @@ function U({ size: n = 24, className: r, style: e }) {
736
758
  }
737
759
  );
738
760
  }
739
- function q({ size: n = 24, className: r, style: e }) {
761
+ function G({ size: n = 24, className: r, style: e }) {
740
762
  return /* @__PURE__ */ o(
741
763
  "svg",
742
764
  {
@@ -754,41 +776,150 @@ function q({ size: n = 24, className: r, style: e }) {
754
776
  }
755
777
  );
756
778
  }
779
+ function J({ size: n = 24, className: r, style: e }) {
780
+ return /* @__PURE__ */ o(
781
+ "svg",
782
+ {
783
+ width: n,
784
+ height: n,
785
+ viewBox: "0 0 24 24",
786
+ fill: "none",
787
+ stroke: "currentColor",
788
+ strokeWidth: 1.7,
789
+ strokeLinecap: "round",
790
+ strokeLinejoin: "round",
791
+ className: r,
792
+ style: e,
793
+ children: /* @__PURE__ */ o("path", { d: "M4.79 4.8A1.92 1.95 0 0 1 7.71 3.14L19.18 10.34A1.92 1.95 0 0 1 19.18 13.66L7.71 20.86A1.92 1.95 0 0 1 4.79 19.2Z" })
794
+ }
795
+ );
796
+ }
797
+ function K({ size: n = 24, className: r, style: e }) {
798
+ return /* @__PURE__ */ t(
799
+ "svg",
800
+ {
801
+ width: n,
802
+ height: n,
803
+ viewBox: "0 0 24 24",
804
+ fill: "none",
805
+ stroke: "currentColor",
806
+ strokeWidth: 1.7,
807
+ strokeLinecap: "round",
808
+ strokeLinejoin: "round",
809
+ className: r,
810
+ style: e,
811
+ children: [
812
+ /* @__PURE__ */ o("path", { d: "M4.85 4.8A1.9 1.95 0 0 1 6.75 2.85L7.63 2.85A1.9 1.95 0 0 1 9.53 4.8L9.53 19.2A1.9 1.95 0 0 1 7.63 21.15L6.75 21.15A1.9 1.95 0 0 1 4.85 19.2Z" }),
813
+ /* @__PURE__ */ o("path", { d: "M14.47 4.8A1.9 1.95 0 0 1 16.37 2.85L17.25 2.85A1.9 1.95 0 0 1 19.15 4.8L19.15 19.2A1.9 1.95 0 0 1 17.25 21.15L16.37 21.15A1.9 1.95 0 0 1 14.47 19.2Z" })
814
+ ]
815
+ }
816
+ );
817
+ }
818
+ function N({ size: n = 24, className: r, style: e }) {
819
+ return /* @__PURE__ */ o(
820
+ "svg",
821
+ {
822
+ width: n,
823
+ height: n,
824
+ viewBox: "0 0 24 24",
825
+ fill: "none",
826
+ stroke: "currentColor",
827
+ strokeWidth: 1.7,
828
+ strokeLinecap: "round",
829
+ strokeLinejoin: "round",
830
+ className: r,
831
+ style: e,
832
+ children: /* @__PURE__ */ o("path", { d: "M4.85 6.75A1.9 1.9 0 0 1 6.75 4.85L17.25 4.85A1.9 1.9 0 0 1 19.15 6.75L19.15 17.25A1.9 1.9 0 0 1 17.25 19.15L6.75 19.15A1.9 1.9 0 0 1 4.85 17.25Z" })
833
+ }
834
+ );
835
+ }
836
+ function O({ size: n = 24, className: r, style: e }) {
837
+ return /* @__PURE__ */ o(
838
+ "svg",
839
+ {
840
+ width: n,
841
+ height: n,
842
+ viewBox: "0 0 24 24",
843
+ fill: "currentColor",
844
+ className: r,
845
+ style: e,
846
+ children: /* @__PURE__ */ o("path", { d: "M4 4A2 2 0 0 1 7.05 2.3L20.05 10.3A2 2 0 0 1 20.05 13.7L7.05 21.7A2 2 0 0 1 4 20Z" })
847
+ }
848
+ );
849
+ }
850
+ function X({ size: n = 24, className: r, style: e }) {
851
+ return /* @__PURE__ */ t(
852
+ "svg",
853
+ {
854
+ width: n,
855
+ height: n,
856
+ viewBox: "0 0 24 24",
857
+ fill: "currentColor",
858
+ className: r,
859
+ style: e,
860
+ children: [
861
+ /* @__PURE__ */ o("path", { d: "M4 4A2 2 0 0 1 6 2L7 2A2 2 0 0 1 9 4L9 20A2 2 0 0 1 7 22L6 22A2 2 0 0 1 4 20Z" }),
862
+ /* @__PURE__ */ o("path", { d: "M15 4A2 2 0 0 1 17 2L18 2A2 2 0 0 1 20 4L20 20A2 2 0 0 1 18 22L17 22A2 2 0 0 1 15 20Z" })
863
+ ]
864
+ }
865
+ );
866
+ }
867
+ function Y({ size: n = 24, className: r, style: e }) {
868
+ return /* @__PURE__ */ o(
869
+ "svg",
870
+ {
871
+ width: n,
872
+ height: n,
873
+ viewBox: "0 0 24 24",
874
+ fill: "currentColor",
875
+ className: r,
876
+ style: e,
877
+ children: /* @__PURE__ */ o("path", { d: "M4 6A2 2 0 0 1 6 4L18 4A2 2 0 0 1 20 6L20 18A2 2 0 0 1 18 20L6 20A2 2 0 0 1 4 18Z" })
878
+ }
879
+ );
880
+ }
757
881
  export {
758
- W as C,
759
- A as D,
760
- f as E,
761
- Z as F,
762
- a as H,
882
+ b as A,
883
+ j as C,
884
+ H as D,
885
+ g as E,
886
+ R as F,
887
+ s as H,
763
888
  C as I,
764
889
  k as L,
765
- E as M,
766
- j as P,
767
- I as Q,
768
- g as R,
769
- Q as S,
770
- y as T,
890
+ P as M,
891
+ X as P,
892
+ A as Q,
893
+ w as R,
894
+ T as S,
895
+ M as T,
771
896
  p as U,
772
- s as V,
773
- u as W,
774
- L as a,
897
+ u as V,
898
+ a as W,
899
+ x as a,
775
900
  v as b,
776
- x as c,
901
+ L as c,
777
902
  d,
778
- U as e,
779
- R as f,
780
- M as g,
781
- l as h,
782
- D as i,
783
- H as j,
784
- b as k,
785
- S as l,
903
+ q as e,
904
+ D as f,
905
+ E as g,
906
+ y as h,
907
+ l as i,
908
+ S as j,
909
+ V as k,
910
+ Q as l,
786
911
  m,
787
- V as n,
788
- B as o,
789
- w as p,
790
- P as q,
791
- T as r,
792
- q as s,
793
- F as t
912
+ Z as n,
913
+ K as o,
914
+ I as p,
915
+ O as q,
916
+ J as r,
917
+ W as s,
918
+ B as t,
919
+ f as u,
920
+ F as v,
921
+ U as w,
922
+ G as x,
923
+ Y as y,
924
+ N as z
794
925
  };
@@ -0,0 +1 @@
1
+ "use strict";const n=require("react/jsx-runtime");function s({size:o=24,color:r="currentColor",strokeWidth:e=2,className:t,style:i}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:i,children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function c({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M18 13v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h7"}),n.jsx("polyline",{points:"17 4 20 4 20 7"}),n.jsx("line",{x1:"13",y1:"11",x2:"20",y2:"4"})]})}function h({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"14",rx:"2"}),n.jsx("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),n.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"21"}),n.jsx("line",{x1:"7",y1:"11",x2:"17",y2:"11"})]})}function d({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),n.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function l({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1.5 9a15.5 15.5 0 0 1 21 0"}),n.jsx("path",{d:"M5 12.5a10 10 0 0 1 14 0"}),n.jsx("path",{d:"M8.5 16a5 5 0 0 1 7 0"}),n.jsx("circle",{cx:"12",cy:"20",r:"1.5",fill:"currentColor"})]})}function x({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function u({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 7.83-1"})]})}function a({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"9 18 15 12 9 6"})})}function j({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"15 18 9 12 15 6"})})}function k({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"6 9 12 15 18 9"})})}function p({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M20 4v4.44h-4.44"}),n.jsx("path",{d:"M4 12A8 8 0 0 1 17.33 6.04L20 8.44"}),n.jsx("path",{d:"M4 20v-4.44h4.44"}),n.jsx("path",{d:"M20 12A8 8 0 0 1 6.67 17.96L4 15.56"})]})}function L({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 12A8 8 0 1 0 12 4A8.67 8.67 0 0 0 6.01 6.44L4 8.44"}),n.jsx("path",{d:"M4 4v4.44h4.44"})]})}function v({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-2.1 -2.1 28.2 28.2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M11 4H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-6"}),n.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})}function w({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("polyline",{points:"3 6 5 6 21 6"}),n.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),n.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),n.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}function f({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 4h5l2 2h9a1 1 0 0 1 1 1v2H3V5a1 1 0 0 1 1-1z"}),n.jsx("path",{d:"M2 9h20l-2 11H4L2 9z"}),n.jsx("path",{d:"M8 14h8",strokeDasharray:"2 2",opacity:"0.5"})]})}function g({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),n.jsx("circle",{cx:"12",cy:"8",r:"1.2",fill:"currentColor",stroke:"none"})]})}function I({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),n.jsx("circle",{cx:"12",cy:"17",r:"1.2",fill:"currentColor",stroke:"none"})]})}function M({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83"}),n.jsx("path",{d:"M22 12A10 10 0 0 0 12 2v10z"})]})}function y({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M12 2v10"}),n.jsx("path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04"})]})}function C({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-1.5 -1.5 27 27",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),n.jsx("circle",{cx:"12",cy:"13",r:"4"})]})}function A({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function B({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})}function W({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"9.5",cy:"4",r:"2",opacity:"0.5"}),n.jsx("circle",{cx:"9.5",cy:"4",r:"3.5",opacity:"0.3"}),n.jsx("path",{d:"M8 13V5.5a1.5 1.5 0 0 1 3 0V12"}),n.jsx("path",{d:"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5"}),n.jsx("path",{d:"M14 10.5a1.5 1.5 0 0 1 3 0v1.5"}),n.jsx("path",{d:"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1-6 6h-2h.2a6 6 0 0 1-5-2.7l-.2-.3c-.3-.5-1.4-2.4-3.2-6.3l-.5-.8a.6.6 0 0 1 .5-.8h2.5"})]})}function V({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"5",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"19",r:"2"})]})}function H({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"5",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"19",cy:"12",r:"2"})]})}function P({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 6h16"}),n.jsx("path",{d:"M4 12h16"}),n.jsx("path",{d:"M4 18h16"})]})}function S({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),n.jsx("line",{x1:"4",y1:"4",x2:"20",y2:"20"})]})}function Z({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"11",cy:"11",r:"8"}),n.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}function F({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"8.8",y:"8.8",width:"11.2",height:"11.2",rx:"1.6"}),n.jsx("path",{d:"M5.6 15.2c-.88 0-1.6-.72-1.6-1.6V5.6c0-.88.72-1.6 1.6-1.6h8c.88 0 1.6.72 1.6 1.6"})]})}function m({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M3 21h18"}),n.jsx("path",{d:"M12 3v14"}),n.jsx("path",{d:"M7 12l5 5 5-5"})]})}function E({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M5.33 3H18.67A1.5 1.5 0 0 1 19.79 5.5L14.4 11.6V21L9.6 18.6V11.6L4.21 5.5A1.5 1.5 0 0 1 5.33 3Z"})})}function D({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"4.5"}),n.jsx("path",{d:"M12 4.5V2"}),n.jsx("path",{d:"M19.5 12H22"}),n.jsx("path",{d:"M12 19.5V22"}),n.jsx("path",{d:"M4.5 12H2"}),n.jsx("path",{d:"M17.3 6.7 19.07 4.93"}),n.jsx("path",{d:"M6.7 6.7 4.93 4.93"}),n.jsx("path",{d:"M6.7 17.3 4.93 19.07"}),n.jsx("path",{d:"M17.3 17.3 19.07 19.07"})]})}function R({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M12 3.5a6.01 6.01 0 0 0 8.5 8.5 8.5 8.5 0 1 1-8.5-8.5Z"})})}function b({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"}),n.jsx("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),n.jsx("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"})]})}function Q({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M10.092 3.25c.485-2 3.33-2 3.815 0a1.963 1.963 0 002.93 1.214c1.757-1.071 3.77.941 2.699 2.699a1.963 1.963 0 001.213 2.929c2 .485 2 3.33 0 3.815a1.963 1.963 0 00-1.214 2.93c1.071 1.757-.941 3.77-2.699 2.699a1.963 1.963 0 00-2.929 1.213c-.485 2-3.33 2-3.815 0a1.963 1.963 0 00-2.93-1.214c-1.757 1.071-3.77-.941-2.699-2.699a1.963 1.963 0 00-1.213-2.929c-2-.485-2-3.33 0-3.815a1.963 1.963 0 001.214-2.93c-1.071-1.757.941-3.77 2.699-2.699 1.134.692 2.615.08 2.929-1.213z"}),n.jsx("path",{d:"M15.417 12a3.417 3.417 0 11-6.833 0 3.417 3.417 0 016.833 0z"})]})}function T({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),n.jsx("path",{d:"m8.5 9.5 2.5 2.5-2.5 2.5"}),n.jsx("path",{d:"M13.5 14.5h2.5"})]})}function U({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M13.43 3.37A1.55 1.55 0 0 0 10.57 3.37L8.58 8.15L3.44 8.56A1.55 1.55 0 0 0 2.54 11.29L6.47 14.65L5.27 19.67A1.55 1.55 0 0 0 7.58 21.36L12 18.66L16.42 21.36A1.55 1.55 0 0 0 18.73 19.67L17.53 14.65L21.46 11.29A1.55 1.55 0 0 0 20.56 8.56L15.42 8.15Z"})})}function q({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M4.79 4.8A1.92 1.95 0 0 1 7.71 3.14L19.18 10.34A1.92 1.95 0 0 1 19.18 13.66L7.71 20.86A1.92 1.95 0 0 1 4.79 19.2Z"})})}function G({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4.85 4.8A1.9 1.95 0 0 1 6.75 2.85L7.63 2.85A1.9 1.95 0 0 1 9.53 4.8L9.53 19.2A1.9 1.95 0 0 1 7.63 21.15L6.75 21.15A1.9 1.95 0 0 1 4.85 19.2Z"}),n.jsx("path",{d:"M14.47 4.8A1.9 1.95 0 0 1 16.37 2.85L17.25 2.85A1.9 1.95 0 0 1 19.15 4.8L19.15 19.2A1.9 1.95 0 0 1 17.25 21.15L16.37 21.15A1.9 1.95 0 0 1 14.47 19.2Z"})]})}function J({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M4.85 6.75A1.9 1.9 0 0 1 6.75 4.85L17.25 4.85A1.9 1.9 0 0 1 19.15 6.75L19.15 17.25A1.9 1.9 0 0 1 17.25 19.15L6.75 19.15A1.9 1.9 0 0 1 4.85 17.25Z"})})}function K({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:n.jsx("path",{d:"M4 4A2 2 0 0 1 7.05 2.3L20.05 10.3A2 2 0 0 1 20.05 13.7L7.05 21.7A2 2 0 0 1 4 20Z"})})}function N({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("path",{d:"M4 4A2 2 0 0 1 6 2L7 2A2 2 0 0 1 9 4L9 20A2 2 0 0 1 7 22L6 22A2 2 0 0 1 4 20Z"}),n.jsx("path",{d:"M15 4A2 2 0 0 1 17 2L18 2A2 2 0 0 1 20 4L20 20A2 2 0 0 1 18 22L17 22A2 2 0 0 1 15 20Z"})]})}function O({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:n.jsx("path",{d:"M4 6A2 2 0 0 1 6 4L18 4A2 2 0 0 1 20 6L20 18A2 2 0 0 1 18 20L6 20A2 2 0 0 1 4 18Z"})})}exports.CameraIcon=C;exports.ChevronDownIcon=k;exports.ChevronLeftIcon=j;exports.ChevronRightIcon=a;exports.CloseIcon=s;exports.ConsoleIcon=T;exports.CopyIcon=F;exports.DoubleClickIcon=W;exports.DownloadIcon=m;exports.EditIcon=v;exports.EmptyFolderIcon=f;exports.ExternalLinkIcon=c;exports.EyeHiddenIcon=S;exports.FilterIcon=E;exports.HideAppsIcon=h;exports.InfoIcon=g;exports.LockIcon=x;exports.MenuIcon=P;exports.MinusIcon=B;exports.MoonIcon=R;exports.MoreHorizontalIcon=H;exports.MoreIcon=V;exports.PauseFilledIcon=N;exports.PauseIcon=G;exports.PieChartIcon=M;exports.PlayFilledIcon=K;exports.PlayIcon=q;exports.PlusIcon=A;exports.PowerIcon=y;exports.QuestionIcon=I;exports.RefreshIcon=p;exports.RevertIcon=L;exports.SaveIcon=b;exports.SearchIcon=Z;exports.SettingsIcon=Q;exports.StarIcon=U;exports.StopFilledIcon=O;exports.StopIcon=J;exports.SunIcon=D;exports.TrashIcon=w;exports.UnlockIcon=u;exports.ViewIcon=d;exports.WifiIcon=l;
package/dist/icons.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./GeneratedIcons-DGITx4_M.cjs");exports.CameraIcon=o.CameraIcon;exports.ChevronDownIcon=o.ChevronDownIcon;exports.ChevronLeftIcon=o.ChevronLeftIcon;exports.ChevronRightIcon=o.ChevronRightIcon;exports.CloseIcon=o.CloseIcon;exports.ConsoleIcon=o.ConsoleIcon;exports.CopyIcon=o.CopyIcon;exports.DoubleClickIcon=o.DoubleClickIcon;exports.EditIcon=o.EditIcon;exports.EmptyFolderIcon=o.EmptyFolderIcon;exports.ExternalLinkIcon=o.ExternalLinkIcon;exports.EyeHiddenIcon=o.EyeHiddenIcon;exports.FilterIcon=o.FilterIcon;exports.HideAppsIcon=o.HideAppsIcon;exports.InfoIcon=o.InfoIcon;exports.LockIcon=o.LockIcon;exports.MenuIcon=o.MenuIcon;exports.MinusIcon=o.MinusIcon;exports.MoonIcon=o.MoonIcon;exports.MoreHorizontalIcon=o.MoreHorizontalIcon;exports.MoreIcon=o.MoreIcon;exports.PieChartIcon=o.PieChartIcon;exports.PlusIcon=o.PlusIcon;exports.PowerIcon=o.PowerIcon;exports.QuestionIcon=o.QuestionIcon;exports.RefreshIcon=o.RefreshIcon;exports.RevertIcon=o.RevertIcon;exports.SaveIcon=o.SaveIcon;exports.SearchIcon=o.SearchIcon;exports.SettingsIcon=o.SettingsIcon;exports.StarIcon=o.StarIcon;exports.SunIcon=o.SunIcon;exports.TrashIcon=o.TrashIcon;exports.UnlockIcon=o.UnlockIcon;exports.ViewIcon=o.ViewIcon;exports.WifiIcon=o.WifiIcon;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./GeneratedIcons-NY1f8Xgt.cjs");exports.CameraIcon=o.CameraIcon;exports.ChevronDownIcon=o.ChevronDownIcon;exports.ChevronLeftIcon=o.ChevronLeftIcon;exports.ChevronRightIcon=o.ChevronRightIcon;exports.CloseIcon=o.CloseIcon;exports.ConsoleIcon=o.ConsoleIcon;exports.CopyIcon=o.CopyIcon;exports.DoubleClickIcon=o.DoubleClickIcon;exports.DownloadIcon=o.DownloadIcon;exports.EditIcon=o.EditIcon;exports.EmptyFolderIcon=o.EmptyFolderIcon;exports.ExternalLinkIcon=o.ExternalLinkIcon;exports.EyeHiddenIcon=o.EyeHiddenIcon;exports.FilterIcon=o.FilterIcon;exports.HideAppsIcon=o.HideAppsIcon;exports.InfoIcon=o.InfoIcon;exports.LockIcon=o.LockIcon;exports.MenuIcon=o.MenuIcon;exports.MinusIcon=o.MinusIcon;exports.MoonIcon=o.MoonIcon;exports.MoreHorizontalIcon=o.MoreHorizontalIcon;exports.MoreIcon=o.MoreIcon;exports.PauseFilledIcon=o.PauseFilledIcon;exports.PauseIcon=o.PauseIcon;exports.PieChartIcon=o.PieChartIcon;exports.PlayFilledIcon=o.PlayFilledIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.PowerIcon=o.PowerIcon;exports.QuestionIcon=o.QuestionIcon;exports.RefreshIcon=o.RefreshIcon;exports.RevertIcon=o.RevertIcon;exports.SaveIcon=o.SaveIcon;exports.SearchIcon=o.SearchIcon;exports.SettingsIcon=o.SettingsIcon;exports.StarIcon=o.StarIcon;exports.StopFilledIcon=o.StopFilledIcon;exports.StopIcon=o.StopIcon;exports.SunIcon=o.SunIcon;exports.TrashIcon=o.TrashIcon;exports.UnlockIcon=o.UnlockIcon;exports.ViewIcon=o.ViewIcon;exports.WifiIcon=o.WifiIcon;
package/dist/icons.d.ts CHANGED
@@ -42,6 +42,11 @@ export declare function ConsoleIcon({ size, className, style }: IconProps): JSX_
42
42
  /**
43
43
  * Copy icon - Two overlapping sheets for copy-to-clipboard actions.
44
44
  */
45
+ /**
46
+ * Copy icon - Two overlapping sheets for copy-to-clipboard actions. Scaled to a
47
+ * 16-unit canvas (18x18 ink): the two-square silhouette is the widest shape in
48
+ * the set, so at full size it reads heavier than the single-mass icons beside it.
49
+ */
45
50
  export declare function CopyIcon({ size, className, style }: IconProps): JSX_2.Element;
46
51
 
47
52
  /**
@@ -51,9 +56,21 @@ export declare function CopyIcon({ size, className, style }: IconProps): JSX_2.E
51
56
  export declare function DoubleClickIcon({ size, className, style }: IconProps): JSX_2.Element;
52
57
 
53
58
  /**
54
- * Edit icon - Pencil for editing mode.
55
- * Optically sized to 85%: the pencil fills its box corner-to-corner, so at full
56
- * size it reads heavier than round icons like InfoIcon.
59
+ * Download icon - Arrow over a baseline, for saving to disk. The tray is reduced
60
+ * to a single line: an open dish needs two verticals and two corner arcs to say
61
+ * the same thing, and at 16px those melt into the baseline anyway. The line spans
62
+ * the same 3 to 21 as the old tray, so the 20x20 ink box is unchanged; the arrow
63
+ * runs 3 to 17, leaving 4 units of clearance above the line.
64
+ */
65
+ export declare function DownloadIcon({ size, className, style }: IconProps): JSX_2.Element;
66
+
67
+ /**
68
+ * Edit icon - Document with a pencil for editing mode.
69
+ * Optically sized to 85%: the sheet fills its box corner-to-corner, so at full
70
+ * size it reads heavier than round icons like InfoIcon. The sheet's corners are
71
+ * cut at r=3 rather than the set's usual 2 - three of them are visible at once on
72
+ * a large flat shape, so the softer radius keeps it from reading as a hard box.
73
+ * The sheet stays open along the top-right because the pencil crosses there.
57
74
  */
58
75
  export declare function EditIcon({ size, className, style }: IconProps): JSX_2.Element;
59
76
 
@@ -64,6 +81,11 @@ export declare function EmptyFolderIcon({ size, className, style }: IconProps):
64
81
 
65
82
  /**
66
83
  * External Link icon - "box with arrow" icon for opening external links.
84
+ * The box corners are cut at r=3 to match EditIcon's sheet; both are large flat
85
+ * shapes seen three corners at a time, so they share the softer radius. The box
86
+ * stays open along the top-right where the arrow leaves it. The stroke is 1.7
87
+ * rather than 2 so it renders as thick as EditIcon's, whose 28.2-wide viewBox
88
+ * already thins its 2-unit stroke to the same weight.
67
89
  */
68
90
  export declare function ExternalLinkIcon({ size, className, style }: IconProps): JSX_2.Element;
69
91
 
@@ -92,7 +114,10 @@ declare interface IconProps {
92
114
  }
93
115
 
94
116
  /**
95
- * Info icon - circle with "i" for information.
117
+ * Info icon - circle with "i" for information. The dot is a filled 1.2-radius
118
+ * circle rather than a zero-length round-capped line, which can never exceed the
119
+ * 2-unit stroke width. stroke="none" is required: the circle would otherwise
120
+ * inherit the parent's 2-unit stroke and render at more than double this size.
96
121
  */
97
122
  export declare function InfoIcon({ size, className, style }: IconProps): JSX_2.Element;
98
123
 
@@ -133,10 +158,39 @@ export declare function MoreHorizontalIcon({ size, className, style }: IconProps
133
158
  export declare function MoreIcon({ size, className, style }: IconProps): JSX_2.Element;
134
159
 
135
160
  /**
136
- * PieChart icon for statistics/analytics.
161
+ * Pause icon, filled - the two bars of PauseIcon, solid (16x20 ink).
162
+ */
163
+ export declare function PauseFilledIcon({ size, className, style }: IconProps): JSX_2.Element;
164
+
165
+ /**
166
+ * Pause icon - Two vertical bars, sized to the 16x20 footprint of
167
+ * PauseFilledIcon so the outline matches the solid version. The 1.7 stroke costs
168
+ * 0.15 of ink per side, so the bars sit that much wider and the fillets grow with
169
+ * them, holding the outer silhouette where the 2-stroke version had it.
170
+ */
171
+ export declare function PauseIcon({ size, className, style }: IconProps): JSX_2.Element;
172
+
173
+ /**
174
+ * PieChart icon for statistics/analytics. A 10-unit radius circle, so the 1.7
175
+ * stroke lands it on the set's 21.7x21.7 ink box.
137
176
  */
138
177
  export declare function PieChartIcon({ size, className, style }: IconProps): JSX_2.Element;
139
178
 
179
+ /**
180
+ * Play icon, filled - same filleted triangle as PlayIcon with the interior
181
+ * painted instead of stroked, so it carries the same 17x20 footprint with no
182
+ * stroke to inset.
183
+ */
184
+ export declare function PlayFilledIcon({ size, className, style }: IconProps): JSX_2.Element;
185
+
186
+ /**
187
+ * Play icon - Right-pointing triangle for starting playback. The outline sits on
188
+ * the same 17x20 footprint as PlayFilledIcon: the 1.7 stroke adds 0.85 of ink per
189
+ * side, so the geometry is offset 0.15 further out than the 2-stroke version and
190
+ * the fillet radii grow by the same 0.15, keeping the outer silhouette identical.
191
+ */
192
+ export declare function PlayIcon({ size, className, style }: IconProps): JSX_2.Element;
193
+
140
194
  /**
141
195
  * Plus icon for zoom in functionality.
142
196
  */
@@ -150,19 +204,21 @@ export declare function PowerIcon({ size, className, style }: IconProps): JSX_2.
150
204
  /**
151
205
  * Question icon - circle with "?" for help and unknown values. Same 10-unit
152
206
  * ring as InfoIcon so the two pair cleanly; the hook and dot mirror the "i"
153
- * stem and dot, leaving a 4-unit gap above the dot in both.
207
+ * stem and dot, with the same 1.2-radius filled dot and 4 units between dot
208
+ * centre and the glyph above it.
154
209
  */
155
210
  export declare function QuestionIcon({ size, className, style }: IconProps): JSX_2.Element;
156
211
 
157
212
  /**
158
- * Refresh icon for scanning networks.
159
- * Paths are drawn to the full 24-unit box; do not add viewBox padding here,
160
- * it scales the glyph (and its stroke) down relative to the rest of the set.
213
+ * Refresh icon for scanning networks. Two 8-unit arcs with 4.44-unit arrow heads,
214
+ * held to an 18x18 ink box rather than filling the frame. Keep the arcs and heads
215
+ * scaled together.
161
216
  */
162
217
  export declare function RefreshIcon({ size, className, style }: IconProps): JSX_2.Element;
163
218
 
164
219
  /**
165
- * Revert icon - undo/revert action icon with counter-clockwise arrow.
220
+ * Revert icon - undo/revert action icon with counter-clockwise arrow. An 8-unit
221
+ * circle with the same 4.44-unit head as RefreshIcon, on the shared 18x18 ink box.
166
222
  */
167
223
  export declare function RevertIcon({ size, className, style }: IconProps): JSX_2.Element;
168
224
 
@@ -170,7 +226,7 @@ export declare function RevertIcon({ size, className, style }: IconProps): JSX_2
170
226
  * Save icon - Floppy disk. The body is a rounded square spanning 3 to 21 with a
171
227
  * 45° cut across the top-right corner: a solid square silhouette reads heavier
172
228
  * than the set's circles and sparse glyphs, so it is held to a 20-unit ink box
173
- * (2 units of margin per side) and a 1.5 stroke rather than the full 22 and 2.
229
+ * (2 units of margin per side) rather than the full 22.
174
230
  */
175
231
  export declare function SaveIcon({ size, className, style }: IconProps): JSX_2.Element;
176
232
 
@@ -183,8 +239,8 @@ export declare function SearchIcon({ size, className, style }: IconProps): JSX_2
183
239
  * Settings icon - Gear. Six lobes joined to the hub by rounded webs rather than
184
240
  * straight flanks: the profile is built from 1.963-unit arcs throughout, so the
185
241
  * tooth/valley transition carries no straight run and reads soft at every size.
186
- * 1.5px stroke and a 3.417-unit bore, so the glyph fills the same 22x22 outer
187
- * box (1 unit of margin per side) as the rest of the set.
242
+ * 1.7px stroke and a 3.417-unit bore, so the 20.5-unit gear fills a 22.2x22.2
243
+ * outer box - just over the set's usual 22, and level with it at any real size.
188
244
  */
189
245
  export declare function SettingsIcon({ size, className, style }: IconProps): JSX_2.Element;
190
246
 
@@ -201,6 +257,18 @@ export declare function SettingsIcon({ size, className, style }: IconProps): JSX
201
257
  */
202
258
  export declare function StarIcon({ size, className, style }: IconProps): JSX_2.Element;
203
259
 
260
+ /**
261
+ * Stop icon, filled - the StopIcon square, solid (16x16 ink).
262
+ */
263
+ export declare function StopFilledIcon({ size, className, style }: IconProps): JSX_2.Element;
264
+
265
+ /**
266
+ * Stop icon - Square. Sized to the 16x16 footprint of StopFilledIcon; the 1.7
267
+ * stroke costs 0.15 of ink per side, so the square and its fillets are drawn that
268
+ * much wider to hold the silhouette.
269
+ */
270
+ export declare function StopIcon({ size, className, style }: IconProps): JSX_2.Element;
271
+
204
272
  /**
205
273
  * Sun icon - Light theme. Pairs with MoonIcon as a matched toggle set:
206
274
  * both fill the same 22x22 ink box with 1 unit of margin on every side.
package/dist/icons.js CHANGED
@@ -1,39 +1,46 @@
1
- import { C as a, a as s, b as c, c as I, d as e, e as r, f as i, D as t, E as l, g as C, h, i as d, F as f, H as p, I as u, L as M, M as S, j as k, k as v, l as E, m, P as H, n as L, o as P, Q as R, R as g, p as w, S as y, q as D, r as F, s as b, t as x, T as Q, U as T, V as U, W as V } from "./GeneratedIcons-ChNhuTDj.js";
1
+ import { C as a, a as s, b as c, c as I, d as e, e as l, f as r, D as i, g as t, E as d, h as C, i as h, j as u, F as p, H as P, I as S, L as f, M as v, k as y, l as F, m as M, n as k, P as w, o as E, p as m, q as D, r as H, s as L, t as R, Q as g, R as x, u as b, S as z, v as A, w as Q, x as T, y as U, z as V, A as W, T as j, U as q, V as B, W as G } from "./GeneratedIcons-CWnbr7Cm.js";
2
2
  export {
3
3
  a as CameraIcon,
4
4
  s as ChevronDownIcon,
5
5
  c as ChevronLeftIcon,
6
6
  I as ChevronRightIcon,
7
7
  e as CloseIcon,
8
- r as ConsoleIcon,
9
- i as CopyIcon,
10
- t as DoubleClickIcon,
11
- l as EditIcon,
8
+ l as ConsoleIcon,
9
+ r as CopyIcon,
10
+ i as DoubleClickIcon,
11
+ t as DownloadIcon,
12
+ d as EditIcon,
12
13
  C as EmptyFolderIcon,
13
14
  h as ExternalLinkIcon,
14
- d as EyeHiddenIcon,
15
- f as FilterIcon,
16
- p as HideAppsIcon,
17
- u as InfoIcon,
18
- M as LockIcon,
19
- S as MenuIcon,
20
- k as MinusIcon,
21
- v as MoonIcon,
22
- E as MoreHorizontalIcon,
23
- m as MoreIcon,
24
- H as PieChartIcon,
15
+ u as EyeHiddenIcon,
16
+ p as FilterIcon,
17
+ P as HideAppsIcon,
18
+ S as InfoIcon,
19
+ f as LockIcon,
20
+ v as MenuIcon,
21
+ y as MinusIcon,
22
+ F as MoonIcon,
23
+ M as MoreHorizontalIcon,
24
+ k as MoreIcon,
25
+ w as PauseFilledIcon,
26
+ E as PauseIcon,
27
+ m as PieChartIcon,
28
+ D as PlayFilledIcon,
29
+ H as PlayIcon,
25
30
  L as PlusIcon,
26
- P as PowerIcon,
27
- R as QuestionIcon,
28
- g as RefreshIcon,
29
- w as RevertIcon,
30
- y as SaveIcon,
31
- D as SearchIcon,
32
- F as SettingsIcon,
33
- b as StarIcon,
34
- x as SunIcon,
35
- Q as TrashIcon,
36
- T as UnlockIcon,
37
- U as ViewIcon,
38
- V as WifiIcon
31
+ R as PowerIcon,
32
+ g as QuestionIcon,
33
+ x as RefreshIcon,
34
+ b as RevertIcon,
35
+ z as SaveIcon,
36
+ A as SearchIcon,
37
+ Q as SettingsIcon,
38
+ T as StarIcon,
39
+ U as StopFilledIcon,
40
+ V as StopIcon,
41
+ W as SunIcon,
42
+ j as TrashIcon,
43
+ q as UnlockIcon,
44
+ B as ViewIcon,
45
+ G as WifiIcon
39
46
  };
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var pt=Object.defineProperty;var ft=(e,t,r)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ne=(e,t,r)=>ft(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),X=require("./GeneratedIcons-DGITx4_M.cjs"),l=require("react"),ve=require("react-dom"),te=require("react-i18next"),ht=require("i18next"),mt=require("./clsx-C11secjj.cjs");function Ce({size:e="default",color:t,overlay:r=!1,className:s=""}){const o=n.jsx("svg",{className:`nc-activity-indicator nc-${e} ${s}`,viewBox:"0 0 50 50",style:t?{color:t}:void 0,children:n.jsx("circle",{className:"nc-activity-indicator-circle",cx:"25",cy:"25",r:"20",fill:"none",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round"})});return r?n.jsx("div",{className:"nc-activity-indicator-overlay",children:o}):o}function J({variant:e="default",block:t,size:r="default",appearance:s="default",className:o,disabled:i,textSelectable:a,loading:c,onClick:d,children:p,...f}){const w=["nc-button",e!=="default"?`nc-${e}`:"",t?"nc-block":"",r==="small"?"nc-small":"",r==="large"?"nc-large":"",s==="transparent"?"nc-transparent":"",i||c?"nc-disabled":"",a?"nc-text-selectable":"",c?"nc-loading":"",o??""].filter(Boolean).join(" "),u=b=>{if(!c){if(a){const k=window.getSelection();if(k&&k.toString().length>0)return}d==null||d(b)}};return n.jsxs("button",{className:w,disabled:i||c,onClick:u,...f,children:[c&&n.jsx(Ce,{size:"small",className:"nc-button-spinner",color:s==="transparent"||e!=="default"&&e!=="ghost"?"white":void 0}),p]})}const gt={info:"primary",success:"success",warning:"warning",error:"danger",danger:"danger"};function bt({code:e,text:t,type:r,button:s,onAction:o,children:i,onClose:a,className:c="",style:d}){const p=i??n.jsxs(n.Fragment,{children:[e!==void 0&&n.jsx("span",{className:"nc-alert-code",children:e}),t]});return n.jsxs("div",{className:`nc-alert nc-${r} ${c}`.trim(),style:d,children:[n.jsxs("div",{className:"nc-alert-main",children:[n.jsx("div",{className:`nc-alert-message nc-${r}`,children:p}),a&&n.jsx("button",{type:"button",className:"nc-alert-close","aria-label":"Close alert",onClick:a,children:n.jsx(X.CloseIcon,{size:16})})]}),s&&n.jsx("span",{className:"nc-alert-action",children:n.jsx(J,{size:"small",variant:s.variant??gt[r],onClick:o,children:s.text})})]})}function xt({percentage:e=.5,status:t="discharging",darkMode:r=!1,colored:s=!1}){const o=Math.max(0,Math.min(1,Number(e)||0)),i=o===0?"-":String(Math.round(o*100));let a;s?o<.1?a="var(--nc-danger)":o<.2?a="var(--nc-warning)":a="var(--nc-success)":a=r?"rgba(255,255,255,0.35)":"#000000";const c="var(--nc-battery-shell-bg)",d=24,p=14,f=2,w=0,u=12,b=0,k=0,x=0,v=d,y=p,m=y-b*2,h=v-b*2,g=Math.max(1,Math.min(4,y/4)),N=o===0?0:.05+o*.95,A=d+f+u,$=20,L=.65,S=Math.max(p,$*L),T=d+f+1,j=(p-$*L)/2;return n.jsxs("svg",{className:"nc-battery",width:A,height:S,viewBox:`0 0 ${A} ${S}`,role:"img","aria-label":`Battery ${i==="-"?"-":`${i}%`} ${t}`,children:[n.jsx("defs",{children:n.jsx("mask",{id:`nc-battery-fill-mask-${o}`,children:n.jsx("rect",{x:"0",y:"0",width:h*N,height:m,fill:"white"})})}),n.jsx("rect",{x:k,y:x,rx:g,ry:g,width:v,height:y,fill:c}),n.jsx("rect",{x:k+b,y:x+b,width:h,height:m,fill:a,rx:g,ry:g,mask:`url(#nc-battery-fill-mask-${o})`}),n.jsx("text",{x:k+v/2,y:p-3,fontSize:11,fontWeight:"bold",fill:"var(--nc-battery-text-contrast)",textAnchor:"middle",children:i}),n.jsx("rect",{x:d+w,y:p*.26,width:f,height:p*.48,rx:.8,ry:.8,fill:o===1?a:c}),t==="charging"?n.jsx("g",{transform:`translate(${T}, ${j}) scale(${L})`,fill:a,children:n.jsx("path",{d:"M10 0 L2 11 H8 L5 20 L14 8 H8 L10 0 Z"})}):null]})}function vt({value:e,onChange:t,options:r,disabled:s,size:o="default"}){return n.jsx("div",{className:`nc-button-group ${o==="small"?"nc-small":o==="tiny"?"nc-tiny":""}`,children:r.map(i=>{const a=s||!!i.disabled;return n.jsx("button",{type:"button",className:`nc-button-group-item ${e===i.key?"nc-active":""}`,onClick:()=>!a&&t(i.key),disabled:a,children:i.label},i.key)})})}function wt({size:e}){return n.jsx("svg",{className:`nc-checkbox-icon ${e==="small"?"nc-small":e==="tiny"?"nc-tiny":""}`,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M2 6L5 9L10 3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function yt({checked:e,onChange:t,disabled:r,label:s,size:o="default",labelColor:i,style:a,className:c=""}){const d=o==="small",p=o==="tiny";return n.jsxs("label",{className:`nc-checkbox-label ${d?"nc-small":""} ${p?"nc-tiny":""} ${r?"nc-disabled":""} ${c}`.trim(),style:a,onClick:f=>{r||(f.preventDefault(),t(!e))},children:[n.jsx("span",{role:"checkbox","aria-checked":e,tabIndex:0,className:`nc-checkbox-box ${d?"nc-small":""} ${p?"nc-tiny":""} ${e?"nc-checked":""}`,onKeyDown:f=>{r||(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),t(!e))},children:e&&n.jsx(wt,{size:o})}),s&&n.jsx("span",{className:"nc-checkbox-text",style:i?{color:i}:void 0,children:s})]})}function jt({option:e,onChange:t,selected:r,highlighted:s,small:o,renderOption:i,index:a}){const c=l.useRef(null),{t:d}=te.useTranslation(),p=e.disabled===!0;return l.useEffect(()=>{s&&c.current&&c.current.scrollIntoView({block:"nearest"})},[s]),n.jsx("div",{ref:c,className:`nc-combo-dropdown-option ${o?"nc-small":""} ${s?"nc-highlighted":""} ${p?"nc-disabled":""}`,role:"option",onClick:()=>{p||t(e.value,e.label)},"aria-selected":r,"aria-disabled":p,style:{cursor:p?"default":"pointer",opacity:p?.4:void 0,background:s&&!p?"rgba(59,130,246,0.18)":r&&!p?"rgba(59,130,246,0.12)":void 0},children:i?i(e,a,!!s):n.jsxs(n.Fragment,{children:[e.label,e.default&&n.jsxs("span",{style:{fontSize:"0.85em",color:"var(--nc-text-weak)",marginLeft:6},children:["(",d("common.default"),")"]})]})})}function kt({isOpen:e,options:t,onSelect:r,selectedValue:s,placement:o="bottom",anchorRef:i,small:a,highlightedIndex:c=-1,renderOption:d}){const[p,f]=l.useState({top:0,left:0,width:0}),[w,u]=l.useState(o),{t:b}=te.useTranslation();if(l.useEffect(()=>{if(e&&i.current){const x=i.current.getBoundingClientRect();let v=o;if(o==="bottom"){const y=window.innerHeight-x.bottom,m=x.top;y<320&&m>y&&(v="top")}u(v),f({top:v==="top"?x.top-4:x.bottom+4,left:x.left,width:x.width})}},[e,i,o]),!e)return null;const k=n.jsx("div",{className:"nc-combo-dropdown",onMouseDown:x=>x.stopPropagation(),style:{position:"fixed",top:w==="top"?void 0:p.top,bottom:w==="top"?window.innerHeight-p.top:void 0,left:p.left,width:p.width,zIndex:1e3,maxHeight:300,overflowY:"auto"},children:t.length===0?n.jsx("div",{className:`nc-combo-dropdown-option nc-no-results ${a?"nc-small":""}`,children:b("common.noResults")}):t.map((x,v)=>n.jsx(jt,{option:x,onChange:r,selected:x.value===s,highlighted:v===c,small:a,renderOption:d,index:v},x.value))});return ve.createPortal(k,document.body)}function Nt({onClick:e,small:t}){return n.jsx("span",{role:"button",tabIndex:0,className:`nc-combo-button nc-combo-clear ${t?"nc-small":""}`,onClick:r=>{r.stopPropagation(),e()},onMouseDown:r=>r.stopPropagation(),onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),r.stopPropagation(),e())},"aria-label":"Clear selection",children:"✕"})}function St({open:e,small:t}){return n.jsx("span",{"aria-hidden":!0,className:`nc-combo-button nc-combo-toggle ${t?"nc-small":""} ${e?"nc-open":""}`,children:"▾"})}function At({value:e,onChange:t,placeholder:r="Select…",options:s,candidates:o,renderOption:i,renderSelected:a,selectedOption:c,disabled:d,label:p,clearable:f=!0,allowTyping:w=!1,placement:u="bottom",size:b="default",appearance:k="default",textAlign:x="left",style:v,className:y}){const[m,h]=l.useState(!1),[g,N]=l.useState(""),[A,$]=l.useState(-1),L=l.useRef(null),S=l.useRef(null),T=l.useRef(null),j=b==="small",{t:C}=te.useTranslation(),P=!!o,V=w||P,[M,E]=l.useState([]),[D,K]=l.useState(()=>{if(s&&e){const I=s.find(H=>H.value===e);return I?I.label:""}return o&&e?e:""});l.useEffect(()=>{if(!e){K("");return}if(s){const I=s.find(H=>H.value===e);I&&K(I.label)}else o&&K(e)},[e,s,o]);const W=(I,H=!1)=>{if(!o)return;T.current&&clearTimeout(T.current);const z=async()=>{try{const Y=await o(I);E(Y),$(-1)}catch{E([])}};H?z():T.current=setTimeout(z,200)},G=l.useMemo(()=>{if(P)return M;const I=g.toLowerCase();return V?(s||[]).filter(H=>H.label.toLowerCase().includes(I)):s||[]},[s,g,V,P,M]);l.useEffect(()=>{m&&$(-1)},[m,G]),l.useEffect(()=>{if(!f&&!e&&s&&s.length>0&&t){const I=s.find(H=>H.default)||s[0];t(I.value)}},[f,e,s,t]),l.useEffect(()=>{function I(H){var z;H.target instanceof Node&&L.current&&((z=L.current.parentElement)!=null&&z.contains(H.target)||h(!1))}return document.addEventListener("mousedown",I),()=>document.removeEventListener("mousedown",I)},[]);const B=c??(s?s.find(I=>I.value===e):e?{label:D,value:e}:void 0),_=B&&f,oe=!d&&!_,de=`nc-align-${x}`,fe=!(m&&V)&&!!B,ie=(I,H,z=!1)=>{var Y;K(H),t==null||t(I),h(!1),N(""),z&&((Y=L.current)==null||Y.blur())},he=()=>{t==null||t(void 0),N(""),h(!1)},me=I=>{if(!m){(I.key==="ArrowDown"||I.key==="ArrowUp")&&(h(!0),I.preventDefault());return}const H=(z,Y)=>{if(Y===1){for(let F=z;F<G.length;F++)if(!G[F].disabled)return F;for(let F=0;F<z;F++)if(!G[F].disabled)return F}else{for(let F=z;F>=0;F--)if(!G[F].disabled)return F;for(let F=G.length-1;F>z;F--)if(!G[F].disabled)return F}return z};switch(I.key){case"ArrowDown":I.preventDefault(),$(z=>{const Y=z+1,F=Y>=G.length?0:Y;return H(F,1)});break;case"ArrowUp":I.preventDefault(),$(z=>{const Y=z-1,F=Y<0?G.length-1:Y;return H(F,-1)});break;case"Enter":I.preventDefault(),A>=0&&A<G.length&&!G[A].disabled&&ie(G[A].value,G[A].label,!0);break;case"Escape":I.preventDefault(),h(!1),N("");break}};return n.jsxs("div",{className:`nc-combo-container ${k==="transparent"?"nc-transparent":""} ${k==="plain"?"nc-plain":""} ${m?"nc-open":""} ${de} ${y||""}`.trim(),style:{position:"relative",...v},children:[p&&n.jsx("span",{className:`nc-label ${j?"nc-small":""}`,children:p}),n.jsxs("div",{ref:S,style:{position:"relative",display:"flex",alignItems:"center"},onMouseDown:I=>{if(d||V&&I.target===L.current)return;const H=!m;if(h(z=>(!z&&V&&B&&N(B.label),!z)),P&&H){const z=V&&B?B.label:"";E([]),setTimeout(()=>W(z,!0),0)}V&&!m&&setTimeout(()=>{var z,Y;(z=L.current)==null||z.focus(),(Y=L.current)==null||Y.select()},0)},children:[n.jsx("input",{ref:L,className:`nc-input ${j?"nc-small":""}`,placeholder:r,onFocus:()=>{if(!d&&V){h(!0);const I=B?B.label:"";B&&(N(I),setTimeout(()=>{var H;return(H=L.current)==null?void 0:H.select()},0)),P&&(E([]),W(I,!0))}},onChange:I=>{const H=I.target.value;V&&(N(H),P&&W(H))},onKeyDown:me,value:m&&V?g:(B==null?void 0:B.label)||"",readOnly:d||!V,style:{width:"100%",paddingRight:oe||_?j?32:44:12,caretColor:w?void 0:"transparent",cursor:w?void 0:"pointer",userSelect:w?void 0:"none",color:fe?"transparent":"var(--nc-text)"}}),fe&&n.jsx("div",{"aria-hidden":!0,className:`nc-combo-overlay ${de}`,style:{position:"absolute",left:j?8:12,right:oe||_?j?12:24:j?8:12,top:"50%",transform:"translateY(-50%)",pointerEvents:"none",display:"flex",alignItems:"center",gap:6},children:a&&B?a(B):n.jsxs(n.Fragment,{children:[n.jsx("span",{className:`nc-combo-overlay-text ${j?"nc-small":""}`,children:B==null?void 0:B.label}),(B==null?void 0:B.default)&&n.jsxs("span",{className:`nc-combo-overlay-default ${j?"nc-small":""}`,children:["(",C("common.default"),")"]})]})}),_&&n.jsx(Nt,{onClick:he,small:j}),oe&&n.jsx(St,{open:m,small:j})]}),n.jsx(kt,{isOpen:m,options:G,onSelect:ie,selectedValue:e,placement:u,anchorRef:S,small:j,highlightedIndex:A,renderOption:i})]})}function Ct({onClick:e,loading:t=!1,disabled:r=!1,size:s="default",title:o,"aria-label":i}){const a=s==="small"?14:s==="large"?20:18,c=t?"Refreshing...":"Refresh",d=t?"Refreshing":"Refresh";return n.jsx("button",{className:"nc-icon-button",onClick:e,disabled:r||t,title:o??c,"aria-label":i??d,"data-size":s,children:n.jsx(X.RefreshIcon,{size:a,className:t?"nc-spinning":""})})}function Re({onClick:e,disabled:t=!1,size:r="default",title:s="Close","aria-label":o="Close"}){const i=r==="small"?14:r==="large"?20:18;return n.jsx("button",{className:"nc-icon-button nc-icon-button-close",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":r,children:n.jsx(X.CloseIcon,{size:i})})}function Rt({onClick:e,disabled:t=!1,size:r="default",title:s="Edit","aria-label":o="Edit"}){const i=r==="small"?14:r==="large"?20:18;return n.jsx("button",{className:"nc-icon-button nc-icon-button-edit",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":r,children:n.jsx(X.EditIcon,{size:i})})}function Mt({onClick:e,disabled:t=!1,size:r="default",title:s="Delete","aria-label":o="Delete"}){const i=r==="small"?14:r==="large"?20:18;return n.jsx("button",{className:"nc-icon-button nc-icon-button-trash",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":r,children:n.jsx(X.TrashIcon,{size:i})})}function It({onClick:e,disabled:t=!1,children:r,title:s,"aria-label":o,size:i="default"}){return n.jsx("button",{className:"nc-hyperlink",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":i,children:r})}function Et({open:e,onClose:t,options:r,anchorRef:s,anchor:o,preferredDirection:i="down"}){const a=l.useRef(null),[c,d]=l.useState({top:0,left:0}),p=o||(s==null?void 0:s.current);if(l.useEffect(()=>{if(!e||!p||!a.current)return;const u=p.getBoundingClientRect(),b=a.current.getBoundingClientRect(),k=window.innerHeight,x=window.innerWidth,v=u.bottom+8,y=v+b.height<=k-8;let m=i;(!y&&i==="down"||i==="up"&&y)&&(m="up");let h;m==="down"?h=v:h=u.top-b.height-8;let g=u.left;g+b.width>x-8&&(g=u.right-b.width),d({top:Math.max(8,h),left:Math.max(8,g)})},[e,p,i]),l.useEffect(()=>{if(!e)return;const u=k=>{a.current&&!a.current.contains(k.target)&&p&&!p.contains(k.target)&&t()},b=k=>{k.key==="Escape"&&t()};return document.addEventListener("mousedown",u),document.addEventListener("keydown",b),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",b)}},[e,t,p]),!e)return null;const f=u=>{u.type!=="separator"&&!u.disabled&&u.onClick&&(u.onClick(),t())},w=r.some(u=>u.icon);return ve.createPortal(n.jsx("div",{ref:a,className:"nc-context-menu",style:{position:"fixed",top:`${c.top}px`,left:`${c.left}px`,zIndex:1e4},role:"menu",children:r.map(u=>{if(u.type==="separator")return n.jsx("div",{className:"nc-context-menu-separator",role:"separator"},u.id);const b=["nc-context-menu-item",u.variant&&u.variant!=="default"?`nc-${u.variant}`:"",u.disabled?"nc-disabled":"",w&&!u.icon?"nc-indented":""].filter(Boolean).join(" ");return n.jsxs("button",{className:b,onClick:()=>f(u),disabled:u.disabled,role:"menuitem",children:[u.icon&&n.jsx("span",{className:"nc-context-menu-icon",children:u.icon}),n.jsx("span",{className:"nc-context-menu-label",children:u.label})]},u.id)})}),document.body)}const Ue=l.createContext(null);function qe(){const e=l.useContext(Ue);if(!e)throw new Error("useDialog must be used inside a Dialog component");return e}function ce({children:e,onClick:t,...r}){const{close:s}=qe(),{t:o}=te.useTranslation(),i=a=>{t==null||t(a),s()};return n.jsx(J,{onClick:i,...r,children:e??o("common.close")})}function $t({open:e,onClose:t,title:r,children:s,style:o,footerType:i="ok-cancel",footer:a,onOk:c,onSave:d,onDelete:p,onCancel:f,onConnect:w,closeOnOverlay:u=!0,primaryDisabled:b=!1,fullScreen:k=!1,hideTitleBar:x=!1,className:v="",onContentHeightChange:y}){const m=l.useRef(null),h=l.useRef(null),{t:g}=te.useTranslation(),N={close:t},A=S=>{u&&S.target===S.currentTarget&&t()};if(l.useEffect(()=>{e&&m.current&&m.current.focus()},[e]),l.useEffect(()=>{if(!y||!h.current)return;const S=new ResizeObserver(T=>{for(const j of T){const C=j.contentRect.height;y(C)}});return S.observe(h.current),()=>{S.disconnect()}},[y]),!e)return null;const $=()=>{switch(i){case"ok":return n.jsx("div",{className:"nc-dialog-footer",children:n.jsx(J,{variant:"primary",onClick:c??t,disabled:b,children:g("common.ok")})});case"ok-cancel":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"primary",onClick:c??t,disabled:b,children:g("common.ok")})]});case"save-cancel":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"primary",onClick:d,disabled:b,children:g("common.save")})]});case"delete-cancel":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"danger",onClick:p,disabled:b,children:g("common.delete")})]});case"connect":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"primary",onClick:w,disabled:b,children:g("common.connect")})]});case"close":return n.jsx("div",{className:"nc-dialog-footer",children:n.jsx(ce,{variant:"primary"})});case"gotit":return n.jsx("div",{className:"nc-dialog-footer",children:n.jsx(ce,{variant:"primary",children:g("common.gotit")})});case"custom":return n.jsx("div",{className:"nc-dialog-footer",children:a});case"none":return null;default:return null}},L=n.jsx(Ue.Provider,{value:N,children:n.jsx("div",{className:`nc-dialog-overlay${k?" nc-fullscreen":""}`,onClick:A,children:n.jsxs("div",{ref:m,className:`nc-dialog-container ${v}`,style:o,tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":x?void 0:"nc-dialog-title",children:[!x&&n.jsxs("div",{className:"nc-dialog-header",children:[n.jsx("h3",{id:"nc-dialog-title",className:"nc-dialog-title",children:r}),n.jsx(Re,{onClick:t,"aria-label":"Close dialog"})]}),n.jsx("div",{ref:h,className:"nc-dialog-content",children:s}),$()]})})});return k?ve.createPortal(L,document.body):L}function Tt({onClick:e,size:t="default",rightOffset:r=4}){const s=t==="small"?28:34;return n.jsx("button",{className:"nc-button nc-ghost",onClick:e,onMouseDown:o=>{o.preventDefault(),o.stopPropagation()},tabIndex:-1,"aria-label":"Clear input",style:{position:"absolute",right:r,padding:0,minHeight:0,height:s,width:s,border:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:t==="small"?"12px":"14px"},children:"✕"})}function Pt({visible:e,onClick:t,size:r="default"}){const s=r==="small"?28:34,o=r==="small"?16:18;return n.jsx("button",{className:"nc-button nc-ghost",onClick:t,onMouseDown:i=>{i.preventDefault(),i.stopPropagation()},tabIndex:-1,"aria-label":e?"Hide password":"Show password",style:{position:"absolute",right:4,padding:0,minHeight:0,height:s,width:s,border:"none",display:"flex",alignItems:"center",justifyContent:"center"},children:e?n.jsx(X.EyeHiddenIcon,{size:o}):n.jsx(X.ViewIcon,{size:o})})}function Lt({value:e,defaultValue:t="",onChange:r,onChangeConfirmed:s,onEnter:o,onClear:i,placeholder:a,disabled:c,label:d,clearable:p=!0,type:f="text",className:w="",size:u="default",appearance:b="default",style:k,leadingIcon:x,showPasswordToggle:v=!1,multiline:y=!1,rows:m=3,validator:h,showErrorMessage:g=!0}){const N=l.useRef(null),A=l.useRef(null),$=l.useRef(!1),[L,S]=l.useState(!1),[T,j]=l.useState(!1),[C,P]=l.useState(!1),V=e!==void 0,[M,E]=l.useState(t),D=V?e:M,[K,W]=l.useState(D),G=h?h(D):null,B=!!G,_=!y&&b==="plain",oe=_&&T,de=oe?K:D;l.useEffect(()=>{oe||W(D)},[D,oe]);const fe=f==="password",ie=fe&&v&&!c&&!y,he=p&&de&&!c&&(T||C),me=u==="small"?32:44;let I=12;he&&ie?I=me*2:(he||ie)&&(I=me);const z=x?u==="small"?28:34:void 0,Y=()=>{if(!_)return D;const U=K!==D;return V||E(K),U&&(r==null||r(K),s==null||s(K)),K},F=()=>{W(D)},ut=()=>{var U,Z,We;if(_){W(""),i==null||i(),(U=N.current)==null||U.focus();return}V||E(""),r==null||r(""),i==null||i(),y?(Z=A.current)==null||Z.focus():(We=N.current)==null||We.focus()},Le=U=>{if(_&&U.key==="Escape"){U.preventDefault(),$.current=!0,F(),U.currentTarget.blur();return}if(U.key==="Enter"&&!y){const Z=_?Y():D;_&&(U.preventDefault(),$.current=!0,U.currentTarget.blur()),o==null||o(Z)}},Be=U=>{const Z=U.target.value;if(_){W(Z),r==null||r(Z);return}V||E(Z),r==null||r(Z)},ze=()=>{j(!0),_&&W(D)},De=()=>{if(_&&$.current){$.current=!1,j(!1);return}_&&Y(),j(!1)},Ve=`nc-input ${u==="small"?"nc-small ":""}${!y&&b==="plain"?"nc-plain ":""}${B?"nc-error ":""}${w}`;return n.jsxs("div",{className:"nc-col",style:{position:"relative",flex:1,...k},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[d&&n.jsx("span",{className:"nc-label",children:d}),n.jsxs("div",{style:{position:"relative",display:"flex",alignItems:y?"flex-start":"center"},children:[x&&n.jsx("span",{className:"nc-input-leading-icon",style:{height:y?void 0:"100%",top:y?10:void 0},children:x}),y?n.jsx("textarea",{ref:A,className:Ve,placeholder:a,value:de,onChange:Be,onKeyDown:Le,onFocus:ze,onBlur:De,readOnly:c,"aria-disabled":c,tabIndex:c?-1:void 0,rows:m,style:{width:"100%",paddingRight:I,...z!==void 0?{paddingLeft:z}:{}}}):n.jsx("input",{ref:N,type:fe&&L?"text":f,className:Ve,placeholder:a,value:de,onChange:Be,onKeyDown:Le,onFocus:ze,onBlur:De,readOnly:c,"aria-disabled":c,tabIndex:c?-1:void 0,style:{width:"100%",paddingRight:I,...z!==void 0?{paddingLeft:z}:{}}}),he&&n.jsx(Tt,{onClick:ut,size:u,rightOffset:ie?me+4:4}),ie&&n.jsx(Pt,{visible:L,onClick:()=>S(!L),size:u})]}),B&&g&&n.jsx("span",{className:"nc-error-message",children:G})]})}function Bt({children:e,onClick:t,showBorder:r=!0,selectable:s=!1,style:o}){const[i,a]=l.useState(!1),c=d=>{if(t){if(s){const p=window.getSelection();if(p&&p.toString().length>0)return}t(d)}};return n.jsx("div",{onClick:c,onMouseDown:()=>t&&a(!0),onMouseUp:()=>a(!1),onMouseLeave:()=>a(!1),style:{cursor:t?"pointer":"default",userSelect:s?"text":void 0,borderBottom:r?void 0:"none",...o},className:`nc-list-group-item ${t?"nc-list-group-item-clickable":""} ${i?"nc-list-group-item-active":""}`,children:n.jsx("div",{style:{flex:1},children:e})})}function zt({title:e,titleTools:t,children:r,style:s}){return n.jsxs("div",{className:"nc-list-group",style:s,children:[(e||t)&&n.jsxs("div",{className:"nc-list-group-title",children:[n.jsx("div",{children:e}),t&&n.jsx("div",{className:"nc-list-group-title-tools",children:t})]}),n.jsx("div",{className:"nc-list-group-content",children:r})]})}function Dt({values:e,onChange:t,options:r,placeholder:s="Select…",label:o}){const[i,a]=l.useState(!1),[c,d]=l.useState(""),p=l.useRef(null),f=l.useMemo(()=>r.filter(u=>u.label.toLowerCase().includes(c.toLowerCase())),[r,c]);l.useEffect(()=>{function u(b){!(b.target instanceof Node)||!p.current||p.current.contains(b.target)||a(!1)}return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[]);const w=u=>{e.includes(u)?t(e.filter(b=>b!==u)):t([...e,u])};return n.jsxs("div",{ref:p,className:"nc-col",style:{position:"relative"},children:[o&&n.jsx("span",{className:"nc-label",children:o}),n.jsxs("div",{className:"nc-row",style:{flexWrap:"wrap",gap:6,minHeight:42,alignItems:"center",border:"1px solid var(--nc-button-border)",borderRadius:8,background:"var(--nc-button-bg)",padding:"4px 8px"},children:[e.length===0&&n.jsx("span",{className:"nc-label",children:s}),e.map(u=>{const b=r.find(k=>k.value===u);return b?n.jsxs("span",{style:{padding:"4px 8px",borderRadius:6,display:"inline-flex",alignItems:"center",gap:4,background:"var(--nc-button-bg)",border:"1px solid var(--nc-button-border)"},children:[b.label,n.jsx("button",{className:"nc-button nc-ghost",style:{padding:0,minHeight:0,height:20,width:20,display:"inline-flex",alignItems:"center",justifyContent:"center",border:"none"},onClick:()=>w(u),"aria-label":`Remove ${b.label}`,children:"✕"})]},u):null}),n.jsx("input",{className:"nc-input",value:c,onChange:u=>d(u.target.value),onFocus:()=>a(!0),style:{minWidth:50,border:"none",background:"transparent",padding:4,minHeight:32,flex:1}})]}),i&&n.jsxs("div",{className:"nc-combo-dropdown",style:{position:"absolute",top:"100%",left:0,right:0,zIndex:10,marginTop:4,boxShadow:"0 4px 12px var(--nc-shadow)"},children:[f.map(u=>{const b=e.includes(u.value);return n.jsxs("div",{className:"nc-section nc-row",style:{justifyContent:"space-between",cursor:"pointer",padding:12},onMouseDown:()=>w(u.value),children:[n.jsx("span",{children:u.label}),n.jsx("span",{children:b?"✔️":""})]},u.value)}),f.length===0&&n.jsx("div",{className:"nc-section nc-label",children:"No results"})]})]})}function we(e){if(!e)return null;const t=/^\d{2}-\d{1,2}$/,r=/^\d{4}-\d{1,2}$/;if(!t.test(e)&&!r.test(e))return"Format must be YY-M(M) or YYYY-M(M)";const s=e.split("-"),o=parseInt(s[1],10);return o<1||o>12?"Month must be between 1 and 12":null}function xe(e){if(!e)return"";const t=e.split("-");if(t.length!==2)return e;let r=t[0];const s=t[1].padStart(2,"0");if(r.length===2){const o=parseInt(r,10);r=String(o<50?2e3+o:1900+o)}return`${r}-${s}`}function He(e){if(!e)return"";const t=xe(e);if(!/^\d{4}-\d{2}$/.test(t))return e;const[r,s]=t.split("-");return`${r}/${s}`}function Fe(){const e=new Date,t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0");return`${t}-${r}`}function Vt({startMonth:e,endMonth:t,onChange:r,label:s,className:o="",disabled:i=!1,size:a="default"}){const[c,d]=l.useState(!1),[p,f]=l.useState(""),[w,u]=l.useState(""),[b,k]=l.useState({top:0,left:0,width:0,right:void 0}),x=l.useRef(null),v=l.useRef(null);l.useEffect(()=>{if(c&&x.current){const j=x.current.getBoundingClientRect(),P=Math.max(j.width,400);window.innerWidth-j.left<P&&j.right>=P?k({top:j.bottom+4,left:0,right:window.innerWidth-j.right,width:P}):k({top:j.bottom+4,left:j.left,right:void 0,width:P})}},[c]),l.useEffect(()=>{if(!c)return;const j=C=>{x.current&&!x.current.contains(C.target)&&v.current&&!v.current.contains(C.target)&&d(!1)};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[c]);const y=()=>{f(e||Fe()),u(t||Fe()),d(!0)},m=()=>{d(!1)},h=()=>{const j=we(p),C=we(w);if(j||C)return;const P=xe(p),V=xe(w);P&&V&&(r==null||r(P,V)),d(!1)},g=e&&t?`${He(e)} - ${He(t)}`:"Select month range",N=we(p),A=we(w),$=xe(p),L=xe(w),S=$&&L&&$>L,T=c?ve.createPortal(n.jsx("div",{ref:v,className:"nc-month-range-picker-popup",style:{position:"fixed",top:b.top,...b.right!==void 0?{right:b.right}:{left:b.left},width:b.width,zIndex:1e3},children:n.jsxs("div",{className:"nc-month-range-picker-content",children:[n.jsxs("div",{className:"nc-month-range-picker-row",children:[n.jsxs("div",{className:"nc-month-range-picker-column",children:[n.jsx("label",{className:"nc-label",children:"Start Month"}),n.jsx("input",{type:"text",className:`nc-month-input ${N?"nc-error":""}`,value:p,onChange:j=>f(j.target.value),placeholder:"YY-M(M) or YYYY-M(M)"}),N&&n.jsx("div",{className:"nc-month-error-text",children:N})]}),n.jsxs("div",{className:"nc-month-range-picker-column",children:[n.jsx("label",{className:"nc-label",children:"End Month"}),n.jsx("input",{type:"text",className:`nc-month-input ${A?"nc-error":""}`,value:w,onChange:j=>u(j.target.value),placeholder:"YY-M(M) or YYYY-M(M)"}),A&&n.jsx("div",{className:"nc-month-error-text",children:A})]})]}),S&&!N&&!A&&n.jsx("div",{className:"nc-month-range-error",children:"End month must be after or equal to start month"}),n.jsxs("div",{className:"nc-month-range-picker-footer",children:[n.jsx(J,{variant:"primary",onClick:h,disabled:!p||!w||!!N||!!A||!!S,children:"Apply"}),n.jsx(J,{variant:"ghost",onClick:m,children:"Cancel"})]})]})}),document.body):null;return n.jsxs("div",{className:`nc-month-range-picker ${a==="small"?"nc-small ":""}${o}`,children:[s&&n.jsx("label",{className:`nc-label${a==="small"?" nc-small":""}`,children:s}),n.jsx("button",{ref:x,className:`nc-month-range-picker-input${a==="small"?" nc-small":""}`,onClick:y,disabled:i,children:g}),T]})}const Wt=5,Ht=3;function Ft({value:e,onChange:t,min:r,max:s,step:o=1,label:i,disabled:a,className:c="",style:d,size:p="default"}){const f=p==="small",w=(String(o).split(".")[1]||"").length,u=l.useRef(null),b=l.useRef(!1),k=l.useRef(null),[x,v]=l.useState(!1),[y,m]=l.useState(()=>String(e)),h=M=>parseFloat(M.toFixed(w)),g=M=>{const E=h(M);m(String(E)),t(E)},N=()=>{const M=e-o;r!==void 0&&M<r||g(parseFloat(M.toFixed(10)))},A=()=>{const M=e+o;s!==void 0&&M>s||g(parseFloat(M.toFixed(10)))},$=M=>{const E=M.target.value;if(m(E),E==="")return;const D=parseFloat(E);isNaN(D)||t(D)},L=()=>{const M=y;if(M===""){g(r!==void 0?r:0);return}const E=parseFloat(M);if(isNaN(E)){g(r!==void 0?r:0);return}let D=h(E);r!==void 0&&(D=Math.max(r,D)),s!==void 0&&(D=Math.min(s,D)),D!==E?g(D):m(String(D))},S=M=>{a||M.button!==0||(b.current=!1,u.current={startY:M.clientY,startValue:e,pointerId:M.pointerId,hasMoved:!1,lastValue:e},k.current=setTimeout(()=>{b.current=!0,v(!0)},200),M.currentTarget.setPointerCapture(M.pointerId))},T=M=>{const E=u.current;if(!E||E.pointerId!==M.pointerId)return;const D=E.startY-M.clientY;if(Math.abs(D)>=Ht&&(E.hasMoved=!0,b.current=!0,k.current&&(clearTimeout(k.current),k.current=null),v(!0)),!E.hasMoved)return;const K=Math.trunc(D/Wt);let W=E.startValue+K*o;r!==void 0&&(W=Math.max(r,W)),s!==void 0&&(W=Math.min(s,W)),W=h(W),W!==E.lastValue&&(E.lastValue=W,m(String(W)),t(W))},j=M=>{const E=u.current;!E||E.pointerId!==M.pointerId||(k.current&&(clearTimeout(k.current),k.current=null),M.currentTarget.hasPointerCapture(M.pointerId)&&M.currentTarget.releasePointerCapture(M.pointerId),u.current=null,v(!1))},C=M=>E=>{if(b.current){b.current=!1,E.preventDefault();return}M()},P=y===""?NaN:parseFloat(y),V=y===""||isNaN(P)||r!==void 0&&P<r||s!==void 0&&P>s;return n.jsxs("div",{className:`nc-col nc-number-input-col ${f?"nc-small":""}`,children:[i&&n.jsx("span",{className:`nc-label ${f?"nc-small":""}`,children:i}),n.jsxs("div",{className:`nc-number-input-container ${f?"nc-small":""} ${c}`,style:d,children:[n.jsx("input",{className:`nc-input nc-number-input ${f?"nc-small":""} ${V?"nc-error":""}`,type:"number",value:y,onChange:$,onBlur:L,min:r,max:s,step:o,disabled:a}),n.jsxs("div",{className:`nc-number-input-spinners ${f?"nc-small":""} ${a?"nc-disabled":""} ${x?"nc-dragging":""}`,children:[n.jsx("button",{className:`nc-number-input-spin nc-number-input-spin-up ${f?"nc-small":""}`,onClick:C(A),onPointerDown:S,onPointerMove:T,onPointerUp:j,onPointerCancel:j,disabled:a||s!==void 0&&e>=s,tabIndex:-1,children:"▲"}),n.jsx("button",{className:`nc-number-input-spin nc-number-input-spin-down ${f?"nc-small":""}`,onClick:C(N),onPointerDown:S,onPointerMove:T,onPointerUp:j,onPointerCancel:j,disabled:a||r!==void 0&&e<=r,tabIndex:-1,children:"▼"})]})]})]})}function Ot({value:e,onChange:t,min:r=0,max:s=100,step:o=1,label:i,disabled:a,showValue:c=!0,formatValue:d=f=>f.toString(),width:p=200}){const f=u=>{const b=parseFloat(u.target.value);t(b)},w=(e-r)/(s-r)*100;return n.jsxs("div",{className:"nc-col",style:{gap:6},children:[i&&n.jsx("span",{className:"nc-label",children:i}),n.jsxs("div",{style:{display:"flex",gap:12,alignItems:"center"},children:[n.jsx("input",{type:"range",className:"nc-slider",value:e,onChange:f,min:r,max:s,step:o,disabled:a,style:{width:p,"--nc-slider-percentage":`${w}%`}}),c&&n.jsx("span",{style:{color:"var(--nc-text)",fontFamily:"monospace",fontSize:14,minWidth:60,textAlign:"right"},children:d(e)})]})]})}const Gt=({size:e=24,className:t,style:r})=>n.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:r,children:n.jsx("polyline",{points:"18 15 12 9 6 15"})});function Xe({children:e,className:t="",style:r}){return n.jsx("div",{className:`nc-tab-panel ${t}`,style:r,children:e})}function Yt({active:e,children:t,keepMounted:r=!1,className:s="",style:o}){const i=l.Children.toArray(t).filter(c=>l.isValidElement(c)&&(c.type===Xe||c.type.displayName==="TabPanel"));if(r)return n.jsx("div",{className:`nc-tab-panels ${s}`,style:o,children:i.map(c=>{const d=c.props.tab===e;return n.jsx("div",{className:`nc-tab-panel-wrapper ${d?"nc-active":""}`,style:{display:d?void 0:"none"},"aria-hidden":!d,children:c},c.props.tab)})});const a=i.find(c=>c.props.tab===e);return n.jsx("div",{className:`nc-tab-panels ${s}`,style:o,children:a})}function Kt({tabs:e,active:t,onChange:r,onClose:s,permanentTabs:o,className:i,toolbar:a,multiline:c,orientation:d="horizontal",style:p}){const f=l.useRef(null),[w,u]=l.useState(!1),[b,k]=l.useState(!1),x=d==="verticalLeft"||d==="verticalRight",v=l.useRef(!1),y=l.useRef(0),m=l.useRef(0),h=l.useRef(!1);l.useEffect(()=>{const S=()=>{if(f.current)if(x){const{scrollTop:j,scrollHeight:C,clientHeight:P}=f.current;u(j>1),k(j<C-P-1)}else{const{scrollLeft:j,scrollWidth:C,clientWidth:P}=f.current;u(j>1),k(j<C-P-1)}},T=f.current;if(T)return S(),T.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{T.removeEventListener("scroll",S),window.removeEventListener("resize",S)}},[e,x]);const g=S=>{f.current&&(v.current=!0,h.current=!1,y.current=x?S.clientY:S.clientX,m.current=x?f.current.scrollTop:f.current.scrollLeft,f.current.style.cursor="grabbing",f.current.style.userSelect="none")},N=S=>{if(!v.current||!f.current)return;const T=x?S.clientY:S.clientX,j=y.current-T;Math.abs(j)>3&&(h.current=!0),x?f.current.scrollTop=m.current+j:f.current.scrollLeft=m.current+j},A=()=>{f.current&&(v.current=!1,f.current.style.cursor="",f.current.style.userSelect="")},$=()=>{A()};l.useEffect(()=>{const S=f.current;if(!S||x)return;const T=j=>{j.deltaY!==0&&(j.preventDefault(),S.scrollLeft+=j.deltaY*.3)};return S.addEventListener("wheel",T,{passive:!1}),()=>{S.removeEventListener("wheel",T)}},[x]);const L=S=>{h.current||r(S)};return n.jsxs("div",{className:`nc-tab-container ${x?`nc-vertical nc-${d}`:""} ${i||""}`,style:p,children:[n.jsxs("div",{className:"nc-tab-scroll-wrapper",children:[w&&n.jsx("div",{className:`nc-tab-scroll-indicator ${x?"nc-top":"nc-left"}`,children:x?n.jsx(Gt,{size:16}):n.jsx(X.ChevronLeftIcon,{size:16})}),n.jsx("div",{ref:f,className:`nc-tab-scroll ${c?"nc-multiline":""}`,onMouseDown:g,onMouseMove:N,onMouseUp:A,onMouseLeave:$,style:{cursor:"grab"},children:e.map(S=>{const T=typeof S=="string"?S:S.id,j=typeof S=="string"?S:S.label,C=s&&!(o!=null&&o.includes(T));return n.jsxs("div",{className:`nc-tab-item ${t===T?"nc-active":""} ${C?"nc-closable":""}`,onClick:()=>L(T),role:"button",tabIndex:0,onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&r(T)},children:[n.jsx("span",{className:"nc-tab-label",children:x?j:typeof j=="string"?j.toUpperCase():j}),C&&n.jsx("span",{className:"nc-tab-close",role:"button",tabIndex:0,"aria-label":`Close ${typeof j=="string"?j:T}`,onClick:P=>{P.stopPropagation(),s(T)},onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&(P.stopPropagation(),s(T))},children:n.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]},T)})}),b&&n.jsx("div",{className:`nc-tab-scroll-indicator ${x?"nc-bottom":"nc-right"}`,children:x?n.jsx(X.ChevronDownIcon,{size:16}):n.jsx(X.ChevronRightIcon,{size:16})})]}),a&&n.jsx("div",{className:"nc-tab-toolbar",children:a})]})}function _t({checked:e,onChange:t,disabled:r,label:s}){return n.jsxs("label",{className:"nc-row",style:{gap:10,alignItems:"center",cursor:r?"not-allowed":"pointer"},children:[s&&n.jsx("span",{className:"nc-label",children:s}),n.jsx("span",{role:"switch","aria-checked":e,tabIndex:0,onKeyDown:o=>{r||(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),t(!e))},onClick:()=>!r&&t(!e),style:{position:"relative",width:56,height:30,borderRadius:18,padding:4,display:"inline-flex",alignItems:"center",justifyContent:"flex-start",border:`2px solid ${e?"var(--nc-primary)":"var(--nc-button-border)"}`,background:e?"rgba(99,102,241,0.08)":"transparent",transition:"border-color 160ms, background 160ms"},children:n.jsx("span",{style:{width:22,height:22,borderRadius:12,background:e?"var(--nc-text)":"var(--nc-muted)",transform:`translateX(${e?24:0}px)`,transition:"transform 160ms, background 160ms",boxShadow:e?"0 2px 6px rgba(99,102,241,0.28)":"0 1px 2px rgba(0,0,0,0.08)",border:"none"}})})]})}const Oe=["var(--nc-csv-col-0)","var(--nc-csv-col-1)","var(--nc-csv-col-2)","var(--nc-csv-col-3)","var(--nc-csv-col-4)","var(--nc-csv-col-5)","var(--nc-csv-col-6)","var(--nc-csv-col-7)","var(--nc-csv-col-8)","var(--nc-csv-col-9)"];function Ut(e,t){const s=e.slice(0,t).split(`
1
+ "use strict";var pt=Object.defineProperty;var ft=(e,t,r)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ne=(e,t,r)=>ft(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),X=require("./GeneratedIcons-NY1f8Xgt.cjs"),l=require("react"),ve=require("react-dom"),te=require("react-i18next"),ht=require("i18next"),mt=require("./clsx-C11secjj.cjs");function Ce({size:e="default",color:t,overlay:r=!1,className:s=""}){const o=n.jsx("svg",{className:`nc-activity-indicator nc-${e} ${s}`,viewBox:"0 0 50 50",style:t?{color:t}:void 0,children:n.jsx("circle",{className:"nc-activity-indicator-circle",cx:"25",cy:"25",r:"20",fill:"none",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round"})});return r?n.jsx("div",{className:"nc-activity-indicator-overlay",children:o}):o}function J({variant:e="default",block:t,size:r="default",appearance:s="default",className:o,disabled:i,textSelectable:a,loading:c,onClick:d,children:p,...f}){const w=["nc-button",e!=="default"?`nc-${e}`:"",t?"nc-block":"",r==="small"?"nc-small":"",r==="large"?"nc-large":"",s==="transparent"?"nc-transparent":"",i||c?"nc-disabled":"",a?"nc-text-selectable":"",c?"nc-loading":"",o??""].filter(Boolean).join(" "),u=b=>{if(!c){if(a){const k=window.getSelection();if(k&&k.toString().length>0)return}d==null||d(b)}};return n.jsxs("button",{className:w,disabled:i||c,onClick:u,...f,children:[c&&n.jsx(Ce,{size:"small",className:"nc-button-spinner",color:s==="transparent"||e!=="default"&&e!=="ghost"?"white":void 0}),p]})}const gt={info:"primary",success:"success",warning:"warning",error:"danger",danger:"danger"};function bt({code:e,text:t,type:r,button:s,onAction:o,children:i,onClose:a,className:c="",style:d}){const p=i??n.jsxs(n.Fragment,{children:[e!==void 0&&n.jsx("span",{className:"nc-alert-code",children:e}),t]});return n.jsxs("div",{className:`nc-alert nc-${r} ${c}`.trim(),style:d,children:[n.jsxs("div",{className:"nc-alert-main",children:[n.jsx("div",{className:`nc-alert-message nc-${r}`,children:p}),a&&n.jsx("button",{type:"button",className:"nc-alert-close","aria-label":"Close alert",onClick:a,children:n.jsx(X.CloseIcon,{size:16})})]}),s&&n.jsx("span",{className:"nc-alert-action",children:n.jsx(J,{size:"small",variant:s.variant??gt[r],onClick:o,children:s.text})})]})}function xt({percentage:e=.5,status:t="discharging",darkMode:r=!1,colored:s=!1}){const o=Math.max(0,Math.min(1,Number(e)||0)),i=o===0?"-":String(Math.round(o*100));let a;s?o<.1?a="var(--nc-danger)":o<.2?a="var(--nc-warning)":a="var(--nc-success)":a=r?"rgba(255,255,255,0.35)":"#000000";const c="var(--nc-battery-shell-bg)",d=24,p=14,f=2,w=0,u=12,b=0,k=0,x=0,v=d,y=p,m=y-b*2,h=v-b*2,g=Math.max(1,Math.min(4,y/4)),N=o===0?0:.05+o*.95,A=d+f+u,$=20,L=.65,S=Math.max(p,$*L),T=d+f+1,j=(p-$*L)/2;return n.jsxs("svg",{className:"nc-battery",width:A,height:S,viewBox:`0 0 ${A} ${S}`,role:"img","aria-label":`Battery ${i==="-"?"-":`${i}%`} ${t}`,children:[n.jsx("defs",{children:n.jsx("mask",{id:`nc-battery-fill-mask-${o}`,children:n.jsx("rect",{x:"0",y:"0",width:h*N,height:m,fill:"white"})})}),n.jsx("rect",{x:k,y:x,rx:g,ry:g,width:v,height:y,fill:c}),n.jsx("rect",{x:k+b,y:x+b,width:h,height:m,fill:a,rx:g,ry:g,mask:`url(#nc-battery-fill-mask-${o})`}),n.jsx("text",{x:k+v/2,y:p-3,fontSize:11,fontWeight:"bold",fill:"var(--nc-battery-text-contrast)",textAnchor:"middle",children:i}),n.jsx("rect",{x:d+w,y:p*.26,width:f,height:p*.48,rx:.8,ry:.8,fill:o===1?a:c}),t==="charging"?n.jsx("g",{transform:`translate(${T}, ${j}) scale(${L})`,fill:a,children:n.jsx("path",{d:"M10 0 L2 11 H8 L5 20 L14 8 H8 L10 0 Z"})}):null]})}function vt({value:e,onChange:t,options:r,disabled:s,size:o="default"}){return n.jsx("div",{className:`nc-button-group ${o==="small"?"nc-small":o==="tiny"?"nc-tiny":""}`,children:r.map(i=>{const a=s||!!i.disabled;return n.jsx("button",{type:"button",className:`nc-button-group-item ${e===i.key?"nc-active":""}`,onClick:()=>!a&&t(i.key),disabled:a,children:i.label},i.key)})})}function wt({size:e}){return n.jsx("svg",{className:`nc-checkbox-icon ${e==="small"?"nc-small":e==="tiny"?"nc-tiny":""}`,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M2 6L5 9L10 3",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function yt({checked:e,onChange:t,disabled:r,label:s,size:o="default",labelColor:i,style:a,className:c=""}){const d=o==="small",p=o==="tiny";return n.jsxs("label",{className:`nc-checkbox-label ${d?"nc-small":""} ${p?"nc-tiny":""} ${r?"nc-disabled":""} ${c}`.trim(),style:a,onClick:f=>{r||(f.preventDefault(),t(!e))},children:[n.jsx("span",{role:"checkbox","aria-checked":e,tabIndex:0,className:`nc-checkbox-box ${d?"nc-small":""} ${p?"nc-tiny":""} ${e?"nc-checked":""}`,onKeyDown:f=>{r||(f.key==="Enter"||f.key===" ")&&(f.preventDefault(),t(!e))},children:e&&n.jsx(wt,{size:o})}),s&&n.jsx("span",{className:"nc-checkbox-text",style:i?{color:i}:void 0,children:s})]})}function jt({option:e,onChange:t,selected:r,highlighted:s,small:o,renderOption:i,index:a}){const c=l.useRef(null),{t:d}=te.useTranslation(),p=e.disabled===!0;return l.useEffect(()=>{s&&c.current&&c.current.scrollIntoView({block:"nearest"})},[s]),n.jsx("div",{ref:c,className:`nc-combo-dropdown-option ${o?"nc-small":""} ${s?"nc-highlighted":""} ${p?"nc-disabled":""}`,role:"option",onClick:()=>{p||t(e.value,e.label)},"aria-selected":r,"aria-disabled":p,style:{cursor:p?"default":"pointer",opacity:p?.4:void 0,background:s&&!p?"rgba(59,130,246,0.18)":r&&!p?"rgba(59,130,246,0.12)":void 0},children:i?i(e,a,!!s):n.jsxs(n.Fragment,{children:[e.label,e.default&&n.jsxs("span",{style:{fontSize:"0.85em",color:"var(--nc-text-weak)",marginLeft:6},children:["(",d("common.default"),")"]})]})})}function kt({isOpen:e,options:t,onSelect:r,selectedValue:s,placement:o="bottom",anchorRef:i,small:a,highlightedIndex:c=-1,renderOption:d}){const[p,f]=l.useState({top:0,left:0,width:0}),[w,u]=l.useState(o),{t:b}=te.useTranslation();if(l.useEffect(()=>{if(e&&i.current){const x=i.current.getBoundingClientRect();let v=o;if(o==="bottom"){const y=window.innerHeight-x.bottom,m=x.top;y<320&&m>y&&(v="top")}u(v),f({top:v==="top"?x.top-4:x.bottom+4,left:x.left,width:x.width})}},[e,i,o]),!e)return null;const k=n.jsx("div",{className:"nc-combo-dropdown",onMouseDown:x=>x.stopPropagation(),style:{position:"fixed",top:w==="top"?void 0:p.top,bottom:w==="top"?window.innerHeight-p.top:void 0,left:p.left,width:p.width,zIndex:1e3,maxHeight:300,overflowY:"auto"},children:t.length===0?n.jsx("div",{className:`nc-combo-dropdown-option nc-no-results ${a?"nc-small":""}`,children:b("common.noResults")}):t.map((x,v)=>n.jsx(jt,{option:x,onChange:r,selected:x.value===s,highlighted:v===c,small:a,renderOption:d,index:v},x.value))});return ve.createPortal(k,document.body)}function Nt({onClick:e,small:t}){return n.jsx("span",{role:"button",tabIndex:0,className:`nc-combo-button nc-combo-clear ${t?"nc-small":""}`,onClick:r=>{r.stopPropagation(),e()},onMouseDown:r=>r.stopPropagation(),onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),r.stopPropagation(),e())},"aria-label":"Clear selection",children:"✕"})}function St({open:e,small:t}){return n.jsx("span",{"aria-hidden":!0,className:`nc-combo-button nc-combo-toggle ${t?"nc-small":""} ${e?"nc-open":""}`,children:"▾"})}function At({value:e,onChange:t,placeholder:r="Select…",options:s,candidates:o,renderOption:i,renderSelected:a,selectedOption:c,disabled:d,label:p,clearable:f=!0,allowTyping:w=!1,placement:u="bottom",size:b="default",appearance:k="default",textAlign:x="left",style:v,className:y}){const[m,h]=l.useState(!1),[g,N]=l.useState(""),[A,$]=l.useState(-1),L=l.useRef(null),S=l.useRef(null),T=l.useRef(null),j=b==="small",{t:C}=te.useTranslation(),P=!!o,V=w||P,[M,E]=l.useState([]),[D,K]=l.useState(()=>{if(s&&e){const I=s.find(H=>H.value===e);return I?I.label:""}return o&&e?e:""});l.useEffect(()=>{if(!e){K("");return}if(s){const I=s.find(H=>H.value===e);I&&K(I.label)}else o&&K(e)},[e,s,o]);const W=(I,H=!1)=>{if(!o)return;T.current&&clearTimeout(T.current);const z=async()=>{try{const Y=await o(I);E(Y),$(-1)}catch{E([])}};H?z():T.current=setTimeout(z,200)},G=l.useMemo(()=>{if(P)return M;const I=g.toLowerCase();return V?(s||[]).filter(H=>H.label.toLowerCase().includes(I)):s||[]},[s,g,V,P,M]);l.useEffect(()=>{m&&$(-1)},[m,G]),l.useEffect(()=>{if(!f&&!e&&s&&s.length>0&&t){const I=s.find(H=>H.default)||s[0];t(I.value)}},[f,e,s,t]),l.useEffect(()=>{function I(H){var z;H.target instanceof Node&&L.current&&((z=L.current.parentElement)!=null&&z.contains(H.target)||h(!1))}return document.addEventListener("mousedown",I),()=>document.removeEventListener("mousedown",I)},[]);const B=c??(s?s.find(I=>I.value===e):e?{label:D,value:e}:void 0),_=B&&f,oe=!d&&!_,de=`nc-align-${x}`,fe=!(m&&V)&&!!B,ie=(I,H,z=!1)=>{var Y;K(H),t==null||t(I),h(!1),N(""),z&&((Y=L.current)==null||Y.blur())},he=()=>{t==null||t(void 0),N(""),h(!1)},me=I=>{if(!m){(I.key==="ArrowDown"||I.key==="ArrowUp")&&(h(!0),I.preventDefault());return}const H=(z,Y)=>{if(Y===1){for(let F=z;F<G.length;F++)if(!G[F].disabled)return F;for(let F=0;F<z;F++)if(!G[F].disabled)return F}else{for(let F=z;F>=0;F--)if(!G[F].disabled)return F;for(let F=G.length-1;F>z;F--)if(!G[F].disabled)return F}return z};switch(I.key){case"ArrowDown":I.preventDefault(),$(z=>{const Y=z+1,F=Y>=G.length?0:Y;return H(F,1)});break;case"ArrowUp":I.preventDefault(),$(z=>{const Y=z-1,F=Y<0?G.length-1:Y;return H(F,-1)});break;case"Enter":I.preventDefault(),A>=0&&A<G.length&&!G[A].disabled&&ie(G[A].value,G[A].label,!0);break;case"Escape":I.preventDefault(),h(!1),N("");break}};return n.jsxs("div",{className:`nc-combo-container ${k==="transparent"?"nc-transparent":""} ${k==="plain"?"nc-plain":""} ${m?"nc-open":""} ${de} ${y||""}`.trim(),style:{position:"relative",...v},children:[p&&n.jsx("span",{className:`nc-label ${j?"nc-small":""}`,children:p}),n.jsxs("div",{ref:S,style:{position:"relative",display:"flex",alignItems:"center"},onMouseDown:I=>{if(d||V&&I.target===L.current)return;const H=!m;if(h(z=>(!z&&V&&B&&N(B.label),!z)),P&&H){const z=V&&B?B.label:"";E([]),setTimeout(()=>W(z,!0),0)}V&&!m&&setTimeout(()=>{var z,Y;(z=L.current)==null||z.focus(),(Y=L.current)==null||Y.select()},0)},children:[n.jsx("input",{ref:L,className:`nc-input ${j?"nc-small":""}`,placeholder:r,onFocus:()=>{if(!d&&V){h(!0);const I=B?B.label:"";B&&(N(I),setTimeout(()=>{var H;return(H=L.current)==null?void 0:H.select()},0)),P&&(E([]),W(I,!0))}},onChange:I=>{const H=I.target.value;V&&(N(H),P&&W(H))},onKeyDown:me,value:m&&V?g:(B==null?void 0:B.label)||"",readOnly:d||!V,style:{width:"100%",paddingRight:oe||_?j?32:44:12,caretColor:w?void 0:"transparent",cursor:w?void 0:"pointer",userSelect:w?void 0:"none",color:fe?"transparent":"var(--nc-text)"}}),fe&&n.jsx("div",{"aria-hidden":!0,className:`nc-combo-overlay ${de}`,style:{position:"absolute",left:j?8:12,right:oe||_?j?12:24:j?8:12,top:"50%",transform:"translateY(-50%)",pointerEvents:"none",display:"flex",alignItems:"center",gap:6},children:a&&B?a(B):n.jsxs(n.Fragment,{children:[n.jsx("span",{className:`nc-combo-overlay-text ${j?"nc-small":""}`,children:B==null?void 0:B.label}),(B==null?void 0:B.default)&&n.jsxs("span",{className:`nc-combo-overlay-default ${j?"nc-small":""}`,children:["(",C("common.default"),")"]})]})}),_&&n.jsx(Nt,{onClick:he,small:j}),oe&&n.jsx(St,{open:m,small:j})]}),n.jsx(kt,{isOpen:m,options:G,onSelect:ie,selectedValue:e,placement:u,anchorRef:S,small:j,highlightedIndex:A,renderOption:i})]})}function Ct({onClick:e,loading:t=!1,disabled:r=!1,size:s="default",title:o,"aria-label":i}){const a=s==="small"?14:s==="large"?20:18,c=t?"Refreshing...":"Refresh",d=t?"Refreshing":"Refresh";return n.jsx("button",{className:"nc-icon-button",onClick:e,disabled:r||t,title:o??c,"aria-label":i??d,"data-size":s,children:n.jsx(X.RefreshIcon,{size:a,className:t?"nc-spinning":""})})}function Re({onClick:e,disabled:t=!1,size:r="default",title:s="Close","aria-label":o="Close"}){const i=r==="small"?14:r==="large"?20:18;return n.jsx("button",{className:"nc-icon-button nc-icon-button-close",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":r,children:n.jsx(X.CloseIcon,{size:i})})}function Rt({onClick:e,disabled:t=!1,size:r="default",title:s="Edit","aria-label":o="Edit"}){const i=r==="small"?14:r==="large"?20:18;return n.jsx("button",{className:"nc-icon-button nc-icon-button-edit",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":r,children:n.jsx(X.EditIcon,{size:i})})}function Mt({onClick:e,disabled:t=!1,size:r="default",title:s="Delete","aria-label":o="Delete"}){const i=r==="small"?14:r==="large"?20:18;return n.jsx("button",{className:"nc-icon-button nc-icon-button-trash",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":r,children:n.jsx(X.TrashIcon,{size:i})})}function It({onClick:e,disabled:t=!1,children:r,title:s,"aria-label":o,size:i="default"}){return n.jsx("button",{className:"nc-hyperlink",onClick:e,disabled:t,title:s,"aria-label":o,"data-size":i,children:r})}function Et({open:e,onClose:t,options:r,anchorRef:s,anchor:o,preferredDirection:i="down"}){const a=l.useRef(null),[c,d]=l.useState({top:0,left:0}),p=o||(s==null?void 0:s.current);if(l.useEffect(()=>{if(!e||!p||!a.current)return;const u=p.getBoundingClientRect(),b=a.current.getBoundingClientRect(),k=window.innerHeight,x=window.innerWidth,v=u.bottom+8,y=v+b.height<=k-8;let m=i;(!y&&i==="down"||i==="up"&&y)&&(m="up");let h;m==="down"?h=v:h=u.top-b.height-8;let g=u.left;g+b.width>x-8&&(g=u.right-b.width),d({top:Math.max(8,h),left:Math.max(8,g)})},[e,p,i]),l.useEffect(()=>{if(!e)return;const u=k=>{a.current&&!a.current.contains(k.target)&&p&&!p.contains(k.target)&&t()},b=k=>{k.key==="Escape"&&t()};return document.addEventListener("mousedown",u),document.addEventListener("keydown",b),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",b)}},[e,t,p]),!e)return null;const f=u=>{u.type!=="separator"&&!u.disabled&&u.onClick&&(u.onClick(),t())},w=r.some(u=>u.icon);return ve.createPortal(n.jsx("div",{ref:a,className:"nc-context-menu",style:{position:"fixed",top:`${c.top}px`,left:`${c.left}px`,zIndex:1e4},role:"menu",children:r.map(u=>{if(u.type==="separator")return n.jsx("div",{className:"nc-context-menu-separator",role:"separator"},u.id);const b=["nc-context-menu-item",u.variant&&u.variant!=="default"?`nc-${u.variant}`:"",u.disabled?"nc-disabled":"",w&&!u.icon?"nc-indented":""].filter(Boolean).join(" ");return n.jsxs("button",{className:b,onClick:()=>f(u),disabled:u.disabled,role:"menuitem",children:[u.icon&&n.jsx("span",{className:"nc-context-menu-icon",children:u.icon}),n.jsx("span",{className:"nc-context-menu-label",children:u.label})]},u.id)})}),document.body)}const Ue=l.createContext(null);function qe(){const e=l.useContext(Ue);if(!e)throw new Error("useDialog must be used inside a Dialog component");return e}function ce({children:e,onClick:t,...r}){const{close:s}=qe(),{t:o}=te.useTranslation(),i=a=>{t==null||t(a),s()};return n.jsx(J,{onClick:i,...r,children:e??o("common.close")})}function $t({open:e,onClose:t,title:r,children:s,style:o,footerType:i="ok-cancel",footer:a,onOk:c,onSave:d,onDelete:p,onCancel:f,onConnect:w,closeOnOverlay:u=!0,primaryDisabled:b=!1,fullScreen:k=!1,hideTitleBar:x=!1,className:v="",onContentHeightChange:y}){const m=l.useRef(null),h=l.useRef(null),{t:g}=te.useTranslation(),N={close:t},A=S=>{u&&S.target===S.currentTarget&&t()};if(l.useEffect(()=>{e&&m.current&&m.current.focus()},[e]),l.useEffect(()=>{if(!y||!h.current)return;const S=new ResizeObserver(T=>{for(const j of T){const C=j.contentRect.height;y(C)}});return S.observe(h.current),()=>{S.disconnect()}},[y]),!e)return null;const $=()=>{switch(i){case"ok":return n.jsx("div",{className:"nc-dialog-footer",children:n.jsx(J,{variant:"primary",onClick:c??t,disabled:b,children:g("common.ok")})});case"ok-cancel":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"primary",onClick:c??t,disabled:b,children:g("common.ok")})]});case"save-cancel":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"primary",onClick:d,disabled:b,children:g("common.save")})]});case"delete-cancel":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"danger",onClick:p,disabled:b,children:g("common.delete")})]});case"connect":return n.jsxs("div",{className:"nc-dialog-footer",children:[n.jsx(ce,{onClick:f,children:g("common.cancel")}),n.jsx(J,{variant:"primary",onClick:w,disabled:b,children:g("common.connect")})]});case"close":return n.jsx("div",{className:"nc-dialog-footer",children:n.jsx(ce,{variant:"primary"})});case"gotit":return n.jsx("div",{className:"nc-dialog-footer",children:n.jsx(ce,{variant:"primary",children:g("common.gotit")})});case"custom":return n.jsx("div",{className:"nc-dialog-footer",children:a});case"none":return null;default:return null}},L=n.jsx(Ue.Provider,{value:N,children:n.jsx("div",{className:`nc-dialog-overlay${k?" nc-fullscreen":""}`,onClick:A,children:n.jsxs("div",{ref:m,className:`nc-dialog-container ${v}`,style:o,tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":x?void 0:"nc-dialog-title",children:[!x&&n.jsxs("div",{className:"nc-dialog-header",children:[n.jsx("h3",{id:"nc-dialog-title",className:"nc-dialog-title",children:r}),n.jsx(Re,{onClick:t,"aria-label":"Close dialog"})]}),n.jsx("div",{ref:h,className:"nc-dialog-content",children:s}),$()]})})});return k?ve.createPortal(L,document.body):L}function Tt({onClick:e,size:t="default",rightOffset:r=4}){const s=t==="small"?28:34;return n.jsx("button",{className:"nc-button nc-ghost",onClick:e,onMouseDown:o=>{o.preventDefault(),o.stopPropagation()},tabIndex:-1,"aria-label":"Clear input",style:{position:"absolute",right:r,padding:0,minHeight:0,height:s,width:s,border:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:t==="small"?"12px":"14px"},children:"✕"})}function Pt({visible:e,onClick:t,size:r="default"}){const s=r==="small"?28:34,o=r==="small"?16:18;return n.jsx("button",{className:"nc-button nc-ghost",onClick:t,onMouseDown:i=>{i.preventDefault(),i.stopPropagation()},tabIndex:-1,"aria-label":e?"Hide password":"Show password",style:{position:"absolute",right:4,padding:0,minHeight:0,height:s,width:s,border:"none",display:"flex",alignItems:"center",justifyContent:"center"},children:e?n.jsx(X.EyeHiddenIcon,{size:o}):n.jsx(X.ViewIcon,{size:o})})}function Lt({value:e,defaultValue:t="",onChange:r,onChangeConfirmed:s,onEnter:o,onClear:i,placeholder:a,disabled:c,label:d,clearable:p=!0,type:f="text",className:w="",size:u="default",appearance:b="default",style:k,leadingIcon:x,showPasswordToggle:v=!1,multiline:y=!1,rows:m=3,validator:h,showErrorMessage:g=!0}){const N=l.useRef(null),A=l.useRef(null),$=l.useRef(!1),[L,S]=l.useState(!1),[T,j]=l.useState(!1),[C,P]=l.useState(!1),V=e!==void 0,[M,E]=l.useState(t),D=V?e:M,[K,W]=l.useState(D),G=h?h(D):null,B=!!G,_=!y&&b==="plain",oe=_&&T,de=oe?K:D;l.useEffect(()=>{oe||W(D)},[D,oe]);const fe=f==="password",ie=fe&&v&&!c&&!y,he=p&&de&&!c&&(T||C),me=u==="small"?32:44;let I=12;he&&ie?I=me*2:(he||ie)&&(I=me);const z=x?u==="small"?28:34:void 0,Y=()=>{if(!_)return D;const U=K!==D;return V||E(K),U&&(r==null||r(K),s==null||s(K)),K},F=()=>{W(D)},ut=()=>{var U,Z,We;if(_){W(""),i==null||i(),(U=N.current)==null||U.focus();return}V||E(""),r==null||r(""),i==null||i(),y?(Z=A.current)==null||Z.focus():(We=N.current)==null||We.focus()},Le=U=>{if(_&&U.key==="Escape"){U.preventDefault(),$.current=!0,F(),U.currentTarget.blur();return}if(U.key==="Enter"&&!y){const Z=_?Y():D;_&&(U.preventDefault(),$.current=!0,U.currentTarget.blur()),o==null||o(Z)}},Be=U=>{const Z=U.target.value;if(_){W(Z),r==null||r(Z);return}V||E(Z),r==null||r(Z)},ze=()=>{j(!0),_&&W(D)},De=()=>{if(_&&$.current){$.current=!1,j(!1);return}_&&Y(),j(!1)},Ve=`nc-input ${u==="small"?"nc-small ":""}${!y&&b==="plain"?"nc-plain ":""}${B?"nc-error ":""}${w}`;return n.jsxs("div",{className:"nc-col",style:{position:"relative",flex:1,...k},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[d&&n.jsx("span",{className:"nc-label",children:d}),n.jsxs("div",{style:{position:"relative",display:"flex",alignItems:y?"flex-start":"center"},children:[x&&n.jsx("span",{className:"nc-input-leading-icon",style:{height:y?void 0:"100%",top:y?10:void 0},children:x}),y?n.jsx("textarea",{ref:A,className:Ve,placeholder:a,value:de,onChange:Be,onKeyDown:Le,onFocus:ze,onBlur:De,readOnly:c,"aria-disabled":c,tabIndex:c?-1:void 0,rows:m,style:{width:"100%",paddingRight:I,...z!==void 0?{paddingLeft:z}:{}}}):n.jsx("input",{ref:N,type:fe&&L?"text":f,className:Ve,placeholder:a,value:de,onChange:Be,onKeyDown:Le,onFocus:ze,onBlur:De,readOnly:c,"aria-disabled":c,tabIndex:c?-1:void 0,style:{width:"100%",paddingRight:I,...z!==void 0?{paddingLeft:z}:{}}}),he&&n.jsx(Tt,{onClick:ut,size:u,rightOffset:ie?me+4:4}),ie&&n.jsx(Pt,{visible:L,onClick:()=>S(!L),size:u})]}),B&&g&&n.jsx("span",{className:"nc-error-message",children:G})]})}function Bt({children:e,onClick:t,showBorder:r=!0,selectable:s=!1,style:o}){const[i,a]=l.useState(!1),c=d=>{if(t){if(s){const p=window.getSelection();if(p&&p.toString().length>0)return}t(d)}};return n.jsx("div",{onClick:c,onMouseDown:()=>t&&a(!0),onMouseUp:()=>a(!1),onMouseLeave:()=>a(!1),style:{cursor:t?"pointer":"default",userSelect:s?"text":void 0,borderBottom:r?void 0:"none",...o},className:`nc-list-group-item ${t?"nc-list-group-item-clickable":""} ${i?"nc-list-group-item-active":""}`,children:n.jsx("div",{style:{flex:1},children:e})})}function zt({title:e,titleTools:t,children:r,style:s}){return n.jsxs("div",{className:"nc-list-group",style:s,children:[(e||t)&&n.jsxs("div",{className:"nc-list-group-title",children:[n.jsx("div",{children:e}),t&&n.jsx("div",{className:"nc-list-group-title-tools",children:t})]}),n.jsx("div",{className:"nc-list-group-content",children:r})]})}function Dt({values:e,onChange:t,options:r,placeholder:s="Select…",label:o}){const[i,a]=l.useState(!1),[c,d]=l.useState(""),p=l.useRef(null),f=l.useMemo(()=>r.filter(u=>u.label.toLowerCase().includes(c.toLowerCase())),[r,c]);l.useEffect(()=>{function u(b){!(b.target instanceof Node)||!p.current||p.current.contains(b.target)||a(!1)}return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[]);const w=u=>{e.includes(u)?t(e.filter(b=>b!==u)):t([...e,u])};return n.jsxs("div",{ref:p,className:"nc-col",style:{position:"relative"},children:[o&&n.jsx("span",{className:"nc-label",children:o}),n.jsxs("div",{className:"nc-row",style:{flexWrap:"wrap",gap:6,minHeight:42,alignItems:"center",border:"1px solid var(--nc-button-border)",borderRadius:8,background:"var(--nc-button-bg)",padding:"4px 8px"},children:[e.length===0&&n.jsx("span",{className:"nc-label",children:s}),e.map(u=>{const b=r.find(k=>k.value===u);return b?n.jsxs("span",{style:{padding:"4px 8px",borderRadius:6,display:"inline-flex",alignItems:"center",gap:4,background:"var(--nc-button-bg)",border:"1px solid var(--nc-button-border)"},children:[b.label,n.jsx("button",{className:"nc-button nc-ghost",style:{padding:0,minHeight:0,height:20,width:20,display:"inline-flex",alignItems:"center",justifyContent:"center",border:"none"},onClick:()=>w(u),"aria-label":`Remove ${b.label}`,children:"✕"})]},u):null}),n.jsx("input",{className:"nc-input",value:c,onChange:u=>d(u.target.value),onFocus:()=>a(!0),style:{minWidth:50,border:"none",background:"transparent",padding:4,minHeight:32,flex:1}})]}),i&&n.jsxs("div",{className:"nc-combo-dropdown",style:{position:"absolute",top:"100%",left:0,right:0,zIndex:10,marginTop:4,boxShadow:"0 4px 12px var(--nc-shadow)"},children:[f.map(u=>{const b=e.includes(u.value);return n.jsxs("div",{className:"nc-section nc-row",style:{justifyContent:"space-between",cursor:"pointer",padding:12},onMouseDown:()=>w(u.value),children:[n.jsx("span",{children:u.label}),n.jsx("span",{children:b?"✔️":""})]},u.value)}),f.length===0&&n.jsx("div",{className:"nc-section nc-label",children:"No results"})]})]})}function we(e){if(!e)return null;const t=/^\d{2}-\d{1,2}$/,r=/^\d{4}-\d{1,2}$/;if(!t.test(e)&&!r.test(e))return"Format must be YY-M(M) or YYYY-M(M)";const s=e.split("-"),o=parseInt(s[1],10);return o<1||o>12?"Month must be between 1 and 12":null}function xe(e){if(!e)return"";const t=e.split("-");if(t.length!==2)return e;let r=t[0];const s=t[1].padStart(2,"0");if(r.length===2){const o=parseInt(r,10);r=String(o<50?2e3+o:1900+o)}return`${r}-${s}`}function He(e){if(!e)return"";const t=xe(e);if(!/^\d{4}-\d{2}$/.test(t))return e;const[r,s]=t.split("-");return`${r}/${s}`}function Fe(){const e=new Date,t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0");return`${t}-${r}`}function Vt({startMonth:e,endMonth:t,onChange:r,label:s,className:o="",disabled:i=!1,size:a="default"}){const[c,d]=l.useState(!1),[p,f]=l.useState(""),[w,u]=l.useState(""),[b,k]=l.useState({top:0,left:0,width:0,right:void 0}),x=l.useRef(null),v=l.useRef(null);l.useEffect(()=>{if(c&&x.current){const j=x.current.getBoundingClientRect(),P=Math.max(j.width,400);window.innerWidth-j.left<P&&j.right>=P?k({top:j.bottom+4,left:0,right:window.innerWidth-j.right,width:P}):k({top:j.bottom+4,left:j.left,right:void 0,width:P})}},[c]),l.useEffect(()=>{if(!c)return;const j=C=>{x.current&&!x.current.contains(C.target)&&v.current&&!v.current.contains(C.target)&&d(!1)};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[c]);const y=()=>{f(e||Fe()),u(t||Fe()),d(!0)},m=()=>{d(!1)},h=()=>{const j=we(p),C=we(w);if(j||C)return;const P=xe(p),V=xe(w);P&&V&&(r==null||r(P,V)),d(!1)},g=e&&t?`${He(e)} - ${He(t)}`:"Select month range",N=we(p),A=we(w),$=xe(p),L=xe(w),S=$&&L&&$>L,T=c?ve.createPortal(n.jsx("div",{ref:v,className:"nc-month-range-picker-popup",style:{position:"fixed",top:b.top,...b.right!==void 0?{right:b.right}:{left:b.left},width:b.width,zIndex:1e3},children:n.jsxs("div",{className:"nc-month-range-picker-content",children:[n.jsxs("div",{className:"nc-month-range-picker-row",children:[n.jsxs("div",{className:"nc-month-range-picker-column",children:[n.jsx("label",{className:"nc-label",children:"Start Month"}),n.jsx("input",{type:"text",className:`nc-month-input ${N?"nc-error":""}`,value:p,onChange:j=>f(j.target.value),placeholder:"YY-M(M) or YYYY-M(M)"}),N&&n.jsx("div",{className:"nc-month-error-text",children:N})]}),n.jsxs("div",{className:"nc-month-range-picker-column",children:[n.jsx("label",{className:"nc-label",children:"End Month"}),n.jsx("input",{type:"text",className:`nc-month-input ${A?"nc-error":""}`,value:w,onChange:j=>u(j.target.value),placeholder:"YY-M(M) or YYYY-M(M)"}),A&&n.jsx("div",{className:"nc-month-error-text",children:A})]})]}),S&&!N&&!A&&n.jsx("div",{className:"nc-month-range-error",children:"End month must be after or equal to start month"}),n.jsxs("div",{className:"nc-month-range-picker-footer",children:[n.jsx(J,{variant:"primary",onClick:h,disabled:!p||!w||!!N||!!A||!!S,children:"Apply"}),n.jsx(J,{variant:"ghost",onClick:m,children:"Cancel"})]})]})}),document.body):null;return n.jsxs("div",{className:`nc-month-range-picker ${a==="small"?"nc-small ":""}${o}`,children:[s&&n.jsx("label",{className:`nc-label${a==="small"?" nc-small":""}`,children:s}),n.jsx("button",{ref:x,className:`nc-month-range-picker-input${a==="small"?" nc-small":""}`,onClick:y,disabled:i,children:g}),T]})}const Wt=5,Ht=3;function Ft({value:e,onChange:t,min:r,max:s,step:o=1,label:i,disabled:a,className:c="",style:d,size:p="default"}){const f=p==="small",w=(String(o).split(".")[1]||"").length,u=l.useRef(null),b=l.useRef(!1),k=l.useRef(null),[x,v]=l.useState(!1),[y,m]=l.useState(()=>String(e)),h=M=>parseFloat(M.toFixed(w)),g=M=>{const E=h(M);m(String(E)),t(E)},N=()=>{const M=e-o;r!==void 0&&M<r||g(parseFloat(M.toFixed(10)))},A=()=>{const M=e+o;s!==void 0&&M>s||g(parseFloat(M.toFixed(10)))},$=M=>{const E=M.target.value;if(m(E),E==="")return;const D=parseFloat(E);isNaN(D)||t(D)},L=()=>{const M=y;if(M===""){g(r!==void 0?r:0);return}const E=parseFloat(M);if(isNaN(E)){g(r!==void 0?r:0);return}let D=h(E);r!==void 0&&(D=Math.max(r,D)),s!==void 0&&(D=Math.min(s,D)),D!==E?g(D):m(String(D))},S=M=>{a||M.button!==0||(b.current=!1,u.current={startY:M.clientY,startValue:e,pointerId:M.pointerId,hasMoved:!1,lastValue:e},k.current=setTimeout(()=>{b.current=!0,v(!0)},200),M.currentTarget.setPointerCapture(M.pointerId))},T=M=>{const E=u.current;if(!E||E.pointerId!==M.pointerId)return;const D=E.startY-M.clientY;if(Math.abs(D)>=Ht&&(E.hasMoved=!0,b.current=!0,k.current&&(clearTimeout(k.current),k.current=null),v(!0)),!E.hasMoved)return;const K=Math.trunc(D/Wt);let W=E.startValue+K*o;r!==void 0&&(W=Math.max(r,W)),s!==void 0&&(W=Math.min(s,W)),W=h(W),W!==E.lastValue&&(E.lastValue=W,m(String(W)),t(W))},j=M=>{const E=u.current;!E||E.pointerId!==M.pointerId||(k.current&&(clearTimeout(k.current),k.current=null),M.currentTarget.hasPointerCapture(M.pointerId)&&M.currentTarget.releasePointerCapture(M.pointerId),u.current=null,v(!1))},C=M=>E=>{if(b.current){b.current=!1,E.preventDefault();return}M()},P=y===""?NaN:parseFloat(y),V=y===""||isNaN(P)||r!==void 0&&P<r||s!==void 0&&P>s;return n.jsxs("div",{className:`nc-col nc-number-input-col ${f?"nc-small":""}`,children:[i&&n.jsx("span",{className:`nc-label ${f?"nc-small":""}`,children:i}),n.jsxs("div",{className:`nc-number-input-container ${f?"nc-small":""} ${c}`,style:d,children:[n.jsx("input",{className:`nc-input nc-number-input ${f?"nc-small":""} ${V?"nc-error":""}`,type:"number",value:y,onChange:$,onBlur:L,min:r,max:s,step:o,disabled:a}),n.jsxs("div",{className:`nc-number-input-spinners ${f?"nc-small":""} ${a?"nc-disabled":""} ${x?"nc-dragging":""}`,children:[n.jsx("button",{className:`nc-number-input-spin nc-number-input-spin-up ${f?"nc-small":""}`,onClick:C(A),onPointerDown:S,onPointerMove:T,onPointerUp:j,onPointerCancel:j,disabled:a||s!==void 0&&e>=s,tabIndex:-1,children:"▲"}),n.jsx("button",{className:`nc-number-input-spin nc-number-input-spin-down ${f?"nc-small":""}`,onClick:C(N),onPointerDown:S,onPointerMove:T,onPointerUp:j,onPointerCancel:j,disabled:a||r!==void 0&&e<=r,tabIndex:-1,children:"▼"})]})]})]})}function Ot({value:e,onChange:t,min:r=0,max:s=100,step:o=1,label:i,disabled:a,showValue:c=!0,formatValue:d=f=>f.toString(),width:p=200}){const f=u=>{const b=parseFloat(u.target.value);t(b)},w=(e-r)/(s-r)*100;return n.jsxs("div",{className:"nc-col",style:{gap:6},children:[i&&n.jsx("span",{className:"nc-label",children:i}),n.jsxs("div",{style:{display:"flex",gap:12,alignItems:"center"},children:[n.jsx("input",{type:"range",className:"nc-slider",value:e,onChange:f,min:r,max:s,step:o,disabled:a,style:{width:p,"--nc-slider-percentage":`${w}%`}}),c&&n.jsx("span",{style:{color:"var(--nc-text)",fontFamily:"monospace",fontSize:14,minWidth:60,textAlign:"right"},children:d(e)})]})]})}const Gt=({size:e=24,className:t,style:r})=>n.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:r,children:n.jsx("polyline",{points:"18 15 12 9 6 15"})});function Xe({children:e,className:t="",style:r}){return n.jsx("div",{className:`nc-tab-panel ${t}`,style:r,children:e})}function Yt({active:e,children:t,keepMounted:r=!1,className:s="",style:o}){const i=l.Children.toArray(t).filter(c=>l.isValidElement(c)&&(c.type===Xe||c.type.displayName==="TabPanel"));if(r)return n.jsx("div",{className:`nc-tab-panels ${s}`,style:o,children:i.map(c=>{const d=c.props.tab===e;return n.jsx("div",{className:`nc-tab-panel-wrapper ${d?"nc-active":""}`,style:{display:d?void 0:"none"},"aria-hidden":!d,children:c},c.props.tab)})});const a=i.find(c=>c.props.tab===e);return n.jsx("div",{className:`nc-tab-panels ${s}`,style:o,children:a})}function Kt({tabs:e,active:t,onChange:r,onClose:s,permanentTabs:o,className:i,toolbar:a,multiline:c,orientation:d="horizontal",style:p}){const f=l.useRef(null),[w,u]=l.useState(!1),[b,k]=l.useState(!1),x=d==="verticalLeft"||d==="verticalRight",v=l.useRef(!1),y=l.useRef(0),m=l.useRef(0),h=l.useRef(!1);l.useEffect(()=>{const S=()=>{if(f.current)if(x){const{scrollTop:j,scrollHeight:C,clientHeight:P}=f.current;u(j>1),k(j<C-P-1)}else{const{scrollLeft:j,scrollWidth:C,clientWidth:P}=f.current;u(j>1),k(j<C-P-1)}},T=f.current;if(T)return S(),T.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{T.removeEventListener("scroll",S),window.removeEventListener("resize",S)}},[e,x]);const g=S=>{f.current&&(v.current=!0,h.current=!1,y.current=x?S.clientY:S.clientX,m.current=x?f.current.scrollTop:f.current.scrollLeft,f.current.style.cursor="grabbing",f.current.style.userSelect="none")},N=S=>{if(!v.current||!f.current)return;const T=x?S.clientY:S.clientX,j=y.current-T;Math.abs(j)>3&&(h.current=!0),x?f.current.scrollTop=m.current+j:f.current.scrollLeft=m.current+j},A=()=>{f.current&&(v.current=!1,f.current.style.cursor="",f.current.style.userSelect="")},$=()=>{A()};l.useEffect(()=>{const S=f.current;if(!S||x)return;const T=j=>{j.deltaY!==0&&(j.preventDefault(),S.scrollLeft+=j.deltaY*.3)};return S.addEventListener("wheel",T,{passive:!1}),()=>{S.removeEventListener("wheel",T)}},[x]);const L=S=>{h.current||r(S)};return n.jsxs("div",{className:`nc-tab-container ${x?`nc-vertical nc-${d}`:""} ${i||""}`,style:p,children:[n.jsxs("div",{className:"nc-tab-scroll-wrapper",children:[w&&n.jsx("div",{className:`nc-tab-scroll-indicator ${x?"nc-top":"nc-left"}`,children:x?n.jsx(Gt,{size:16}):n.jsx(X.ChevronLeftIcon,{size:16})}),n.jsx("div",{ref:f,className:`nc-tab-scroll ${c?"nc-multiline":""}`,onMouseDown:g,onMouseMove:N,onMouseUp:A,onMouseLeave:$,style:{cursor:"grab"},children:e.map(S=>{const T=typeof S=="string"?S:S.id,j=typeof S=="string"?S:S.label,C=s&&!(o!=null&&o.includes(T));return n.jsxs("div",{className:`nc-tab-item ${t===T?"nc-active":""} ${C?"nc-closable":""}`,onClick:()=>L(T),role:"button",tabIndex:0,onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&r(T)},children:[n.jsx("span",{className:"nc-tab-label",children:x?j:typeof j=="string"?j.toUpperCase():j}),C&&n.jsx("span",{className:"nc-tab-close",role:"button",tabIndex:0,"aria-label":`Close ${typeof j=="string"?j:T}`,onClick:P=>{P.stopPropagation(),s(T)},onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&(P.stopPropagation(),s(T))},children:n.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]},T)})}),b&&n.jsx("div",{className:`nc-tab-scroll-indicator ${x?"nc-bottom":"nc-right"}`,children:x?n.jsx(X.ChevronDownIcon,{size:16}):n.jsx(X.ChevronRightIcon,{size:16})})]}),a&&n.jsx("div",{className:"nc-tab-toolbar",children:a})]})}function _t({checked:e,onChange:t,disabled:r,label:s}){return n.jsxs("label",{className:"nc-row",style:{gap:10,alignItems:"center",cursor:r?"not-allowed":"pointer"},children:[s&&n.jsx("span",{className:"nc-label",children:s}),n.jsx("span",{role:"switch","aria-checked":e,tabIndex:0,onKeyDown:o=>{r||(o.key==="Enter"||o.key===" ")&&(o.preventDefault(),t(!e))},onClick:()=>!r&&t(!e),style:{position:"relative",width:56,height:30,borderRadius:18,padding:4,display:"inline-flex",alignItems:"center",justifyContent:"flex-start",border:`2px solid ${e?"var(--nc-primary)":"var(--nc-button-border)"}`,background:e?"rgba(99,102,241,0.08)":"transparent",transition:"border-color 160ms, background 160ms"},children:n.jsx("span",{style:{width:22,height:22,borderRadius:12,background:e?"var(--nc-text)":"var(--nc-muted)",transform:`translateX(${e?24:0}px)`,transition:"transform 160ms, background 160ms",boxShadow:e?"0 2px 6px rgba(99,102,241,0.28)":"0 1px 2px rgba(0,0,0,0.08)",border:"none"}})})]})}const Oe=["var(--nc-csv-col-0)","var(--nc-csv-col-1)","var(--nc-csv-col-2)","var(--nc-csv-col-3)","var(--nc-csv-col-4)","var(--nc-csv-col-5)","var(--nc-csv-col-6)","var(--nc-csv-col-7)","var(--nc-csv-col-8)","var(--nc-csv-col-9)"];function Ut(e,t){const s=e.slice(0,t).split(`
2
2
  `),o=s.length,a=s[o-1].split(" "),c=a.length,d=a[c-1].length+1;return{line:o,column:c,character:d,offset:t}}function qt(e,t,r,s){const o=e.split(`
3
3
  `),i=Math.max(1,Math.min(t,o.length));let a=0;for(let w=0;w<i-1;w++)a+=o[w].length+1;const d=o[i-1].split(" "),p=Math.max(1,Math.min(r,d.length));for(let w=0;w<p-1;w++)a+=d[w].length+1;const f=Math.max(1,Math.min(s,d[p-1].length+1));return a+=f-1,a}function Xt(e,t){const r=e.split(`
4
4
  `),s=Math.max(1,Math.min(t,r.length));let o=0;for(let i=0;i<s-1;i++)o+=r[i].length+1;return o}const Jt=l.forwardRef(function({value:t,onChange:r,placeholder:s,className:o,style:i,showLineNumbers:a=!1,onCursorChange:c,highlightLine:d},p){const f=l.useRef(null),w=l.useRef(null),u=l.useRef(null);l.useImperativeHandle(p,()=>({goToLine(m){const h=f.current;if(!h)return;const g=Xt(t,m);h.focus(),h.setSelectionRange(g,g);const N=parseFloat(getComputedStyle(h).lineHeight)||18;h.scrollTop=(Math.max(1,m)-1)*N,k(),b()},goToPosition(m,h,g){const N=f.current;if(!N)return;const A=qt(t,m,h,g);N.focus(),N.setSelectionRange(A,A);const $=parseFloat(getComputedStyle(N).lineHeight)||18;N.scrollTop=(Math.max(1,m)-1)*$,k(),b()}}),[t]);const b=l.useCallback(()=>{if(!c||!f.current)return;const m=Ut(t,f.current.selectionStart);c(m)},[c,t]),k=l.useCallback(()=>{const m=f.current;m&&(w.current&&(w.current.scrollTop=m.scrollTop,w.current.scrollLeft=m.scrollLeft),u.current&&(u.current.scrollTop=m.scrollTop))},[]);l.useEffect(()=>{if(d==null||d<1)return;const m=f.current;if(!m)return;const h=parseFloat(getComputedStyle(m).lineHeight)||18,g=(d-1)*h,N=g+h;(g<m.scrollTop||N>m.scrollTop+m.clientHeight)&&(m.scrollTop=g-m.clientHeight/2+h/2),k()},[d]);const x=l.useMemo(()=>t.split(`
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var ht = Object.defineProperty;
2
2
  var mt = (e, t, n) => t in e ? ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var se = (e, t, n) => mt(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as s, jsxs as A, Fragment as Pe } from "react/jsx-runtime";
5
- import { d as Le, E as gt, R as bt, T as vt, i as wt, V as yt, b as xt, a as kt, c as Nt } from "./GeneratedIcons-ChNhuTDj.js";
5
+ import { d as Le, E as gt, R as bt, T as vt, j as wt, V as yt, b as xt, a as kt, c as Nt } from "./GeneratedIcons-CWnbr7Cm.js";
6
6
  import ze, { useState as E, useRef as Y, useEffect as V, useMemo as $e, createContext as ge, useContext as ae, Children as At, isValidElement as St, forwardRef as Ct, useImperativeHandle as Mt, useCallback as X, Suspense as $t } from "react";
7
7
  import { createPortal as Ae } from "react-dom";
8
8
  import { useTranslation as oe } from "react-i18next";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kingsimba/nc-ui",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -1 +0,0 @@
1
- "use strict";const n=require("react/jsx-runtime");function s({size:o=24,color:r="currentColor",strokeWidth:e=2,className:t,style:i}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:i,children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function c({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h8"}),n.jsx("polyline",{points:"17 4 20 4 20 7"}),n.jsx("line",{x1:"13",y1:"11",x2:"20",y2:"4"})]})}function h({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"14",rx:"2"}),n.jsx("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),n.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"21"}),n.jsx("line",{x1:"7",y1:"11",x2:"17",y2:"11"})]})}function d({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),n.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function x({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1.5 9a15.5 15.5 0 0 1 21 0"}),n.jsx("path",{d:"M5 12.5a10 10 0 0 1 14 0"}),n.jsx("path",{d:"M8.5 16a5 5 0 0 1 7 0"}),n.jsx("circle",{cx:"12",cy:"20",r:"1.5",fill:"currentColor"})]})}function l({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function u({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 7.83-1"})]})}function a({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"9 18 15 12 9 6"})})}function j({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"15 18 9 12 15 6"})})}function k({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"6 9 12 15 18 9"})})}function p({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M21 3v5h-5"}),n.jsx("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"}),n.jsx("path",{d:"M3 21v-5h5"}),n.jsx("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"})]})}function v({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),n.jsx("path",{d:"M3 3v5h5"})]})}function L({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-2.1 -2.1 28.2 28.2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),n.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})}function w({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("polyline",{points:"3 6 5 6 21 6"}),n.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),n.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),n.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}function f({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 4h5l2 2h9a1 1 0 0 1 1 1v2H3V5a1 1 0 0 1 1-1z"}),n.jsx("path",{d:"M2 9h20l-2 11H4L2 9z"}),n.jsx("path",{d:"M8 14h8",strokeDasharray:"2 2",opacity:"0.5"})]})}function g({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),n.jsx("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"})]})}function I({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),n.jsx("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})}function y({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83"}),n.jsx("path",{d:"M22 12A10 10 0 0 0 12 2v10z"})]})}function M({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M12 2v10"}),n.jsx("path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04"})]})}function C({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-1.5 -1.5 27 27",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),n.jsx("circle",{cx:"12",cy:"13",r:"4"})]})}function B({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function W({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})}function V({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"9.5",cy:"4",r:"2",opacity:"0.5"}),n.jsx("circle",{cx:"9.5",cy:"4",r:"3.5",opacity:"0.3"}),n.jsx("path",{d:"M8 13V5.5a1.5 1.5 0 0 1 3 0V12"}),n.jsx("path",{d:"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5"}),n.jsx("path",{d:"M14 10.5a1.5 1.5 0 0 1 3 0v1.5"}),n.jsx("path",{d:"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1-6 6h-2h.2a6 6 0 0 1-5-2.7l-.2-.3c-.3-.5-1.4-2.4-3.2-6.3l-.5-.8a.6.6 0 0 1 .5-.8h2.5"})]})}function H({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"5",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"19",r:"2"})]})}function A({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"5",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"19",cy:"12",r:"2"})]})}function S({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 6h16"}),n.jsx("path",{d:"M4 12h16"}),n.jsx("path",{d:"M4 18h16"})]})}function m({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),n.jsx("line",{x1:"4",y1:"4",x2:"20",y2:"20"})]})}function E({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"11",cy:"11",r:"8"}),n.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}function R({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"8",y:"8",width:"14",height:"14",rx:"2"}),n.jsx("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]})}function P({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M5.33 3H18.67A1.5 1.5 0 0 1 19.79 5.5L14.4 11.6V21L9.6 18.6V11.6L4.21 5.5A1.5 1.5 0 0 1 5.33 3Z"})})}function D({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"4.5"}),n.jsx("path",{d:"M12 4.5V2"}),n.jsx("path",{d:"M19.5 12H22"}),n.jsx("path",{d:"M12 19.5V22"}),n.jsx("path",{d:"M4.5 12H2"}),n.jsx("path",{d:"M17.3 6.7 19.07 4.93"}),n.jsx("path",{d:"M6.7 6.7 4.93 4.93"}),n.jsx("path",{d:"M6.7 17.3 4.93 19.07"}),n.jsx("path",{d:"M17.3 17.3 19.07 19.07"})]})}function F({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M12 3.5a6.01 6.01 0 0 0 8.5 8.5 8.5 8.5 0 1 1-8.5-8.5Z"})})}function Z({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"}),n.jsx("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),n.jsx("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"})]})}function b({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M10.092 3.25c.485-2 3.33-2 3.815 0a1.963 1.963 0 002.93 1.214c1.757-1.071 3.77.941 2.699 2.699a1.963 1.963 0 001.213 2.929c2 .485 2 3.33 0 3.815a1.963 1.963 0 00-1.214 2.93c1.071 1.757-.941 3.77-2.699 2.699a1.963 1.963 0 00-2.929 1.213c-.485 2-3.33 2-3.815 0a1.963 1.963 0 00-2.93-1.214c-1.757 1.071-3.77-.941-2.699-2.699a1.963 1.963 0 00-1.213-2.929c-2-.485-2-3.33 0-3.815a1.963 1.963 0 001.214-2.93c-1.071-1.757.941-3.77 2.699-2.699 1.134.692 2.615.08 2.929-1.213z"}),n.jsx("path",{d:"M15.417 12a3.417 3.417 0 11-6.833 0 3.417 3.417 0 016.833 0z"})]})}function Q({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),n.jsx("path",{d:"m8.5 9.5 2.5 2.5-2.5 2.5"}),n.jsx("path",{d:"M13.5 14.5h2.5"})]})}function T({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M13.43 3.37A1.55 1.55 0 0 0 10.57 3.37L8.58 8.15L3.44 8.56A1.55 1.55 0 0 0 2.54 11.29L6.47 14.65L5.27 19.67A1.55 1.55 0 0 0 7.58 21.36L12 18.66L16.42 21.36A1.55 1.55 0 0 0 18.73 19.67L17.53 14.65L21.46 11.29A1.55 1.55 0 0 0 20.56 8.56L15.42 8.15Z"})})}exports.CameraIcon=C;exports.ChevronDownIcon=k;exports.ChevronLeftIcon=j;exports.ChevronRightIcon=a;exports.CloseIcon=s;exports.ConsoleIcon=Q;exports.CopyIcon=R;exports.DoubleClickIcon=V;exports.EditIcon=L;exports.EmptyFolderIcon=f;exports.ExternalLinkIcon=c;exports.EyeHiddenIcon=m;exports.FilterIcon=P;exports.HideAppsIcon=h;exports.InfoIcon=g;exports.LockIcon=l;exports.MenuIcon=S;exports.MinusIcon=W;exports.MoonIcon=F;exports.MoreHorizontalIcon=A;exports.MoreIcon=H;exports.PieChartIcon=y;exports.PlusIcon=B;exports.PowerIcon=M;exports.QuestionIcon=I;exports.RefreshIcon=p;exports.RevertIcon=v;exports.SaveIcon=Z;exports.SearchIcon=E;exports.SettingsIcon=b;exports.StarIcon=T;exports.SunIcon=D;exports.TrashIcon=w;exports.UnlockIcon=u;exports.ViewIcon=d;exports.WifiIcon=x;