@bergetai/ui 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -28,8 +28,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
31
+ var src_exports = {};
32
+ __export(src_exports, {
33
33
  Alert: () => Alert2,
34
34
  AlertDescription: () => AlertDescription,
35
35
  AlertDialog: () => AlertDialog,
@@ -118,6 +118,8 @@ __export(index_exports, {
118
118
  List: () => List,
119
119
  ListHeader: () => ListHeader,
120
120
  ListItem: () => ListItem,
121
+ ModelCard: () => ModelCard,
122
+ ModelLogo: () => ModelLogo,
121
123
  NavigationMenu: () => NavigationMenu,
122
124
  NavigationMenuContent: () => NavigationMenuContent,
123
125
  NavigationMenuIndicator: () => NavigationMenuIndicator,
@@ -146,6 +148,7 @@ __export(index_exports, {
146
148
  boxVariants: () => boxVariants,
147
149
  buttonVariants: () => buttonVariants,
148
150
  cardVariants: () => cardVariants,
151
+ categoryLabels: () => categoryLabels,
149
152
  checkboxVariants: () => checkboxVariants,
150
153
  containerVariants: () => containerVariants,
151
154
  getCountryByCode: () => getCountryByCode,
@@ -161,7 +164,7 @@ __export(index_exports, {
161
164
  typographyVariants: () => typographyVariants,
162
165
  useTheme: () => useTheme
163
166
  });
164
- module.exports = __toCommonJS(index_exports);
167
+ module.exports = __toCommonJS(src_exports);
165
168
 
166
169
  // src/components/theme-provider/ThemeProvider.tsx
167
170
  var React = __toESM(require("react"), 1);
@@ -368,7 +371,7 @@ var import_class_variance_authority = require("class-variance-authority");
368
371
  var import_cn = require("cn");
369
372
  var import_jsx_runtime3 = require("react/jsx-runtime");
370
373
  var buttonVariants = (0, import_class_variance_authority.cva)(
371
- "group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
374
+ "group/button inline-flex cursor-pointer shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
372
375
  {
373
376
  variants: {
374
377
  variant: {
@@ -706,14 +709,345 @@ var Badge = React6.forwardRef(
706
709
  );
707
710
  Badge.displayName = "Badge";
708
711
 
709
- // src/components/alert/Alert.tsx
712
+ // src/components/model-card/ModelCard.tsx
713
+ var React9 = __toESM(require("react"), 1);
714
+
715
+ // src/components/model-logo/ModelLogo.tsx
716
+ var React8 = __toESM(require("react"), 1);
717
+ var import_lucide_react = require("lucide-react");
718
+
719
+ // src/components/berget-logo/BergetLogo.tsx
710
720
  var React7 = __toESM(require("react"), 1);
721
+ var import_jsx_runtime9 = require("react/jsx-runtime");
722
+ var BergetLogo = React7.forwardRef(
723
+ ({ variant = "logotype", color = "auto", size = 48, className, ...props }, ref) => {
724
+ const fillColor = color === "auto" ? "var(--berget-logo-light)" : color === "white" ? "var(--berget-logo-light)" : "var(--berget-logo-dark)";
725
+ if (variant === "symbol") {
726
+ const aspectRatio2 = 463 / 419;
727
+ const width2 = size * aspectRatio2;
728
+ const height2 = size;
729
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
730
+ "svg",
731
+ {
732
+ ref,
733
+ width: width2,
734
+ height: height2,
735
+ viewBox: "0 0 463 419",
736
+ fill: "none",
737
+ xmlns: "http://www.w3.org/2000/svg",
738
+ role: "img",
739
+ "aria-label": "Berget symbol",
740
+ className: cn("inline-block", className),
741
+ ...props,
742
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
743
+ "path",
744
+ {
745
+ d: "M208.739 17L255.261 17L446 403L398 403L313.5 255L261.5 176L233.163 96.1677L237.815 98.6522H226.185L230.837 96.1677L113 331L64.5 403L18 403L208.739 17Z",
746
+ style: { fill: fillColor }
747
+ }
748
+ )
749
+ }
750
+ );
751
+ }
752
+ const aspectRatio = 793.63 / 204.37;
753
+ const width = size * aspectRatio;
754
+ const height = size;
755
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
756
+ "svg",
757
+ {
758
+ ref,
759
+ width,
760
+ height,
761
+ viewBox: "0 0 793.63 204.37",
762
+ fill: "none",
763
+ xmlns: "http://www.w3.org/2000/svg",
764
+ role: "img",
765
+ "aria-label": "Berget",
766
+ className: cn("inline-block", className),
767
+ ...props,
768
+ children: [
769
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("g", { style: { fill: fillColor }, children: [
770
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
771
+ "path",
772
+ {
773
+ className: "berget-logotype-fill",
774
+ d: "M268.78,172.54v-96.04h37.74c10.39,0,18.26,2.33,23.6,7,5.33,4.67,8.01,10.52,8.01,17.56,0,6.13-1.72,11-5.15,14.61-3.43,3.61-7.58,6.06-12.44,7.34,3.81.73,7.22,2.2,10.22,4.39,3.01,2.2,5.36,4.94,7.08,8.23,1.72,3.29,2.58,6.86,2.58,10.7,0,4.94-1.27,9.4-3.79,13.38-2.53,3.98-6.22,7.11-11.08,9.4-4.86,2.29-10.82,3.43-17.87,3.43h-38.89ZM283.93,117.66h20.74c5.81,0,10.24-1.3,13.29-3.91,3.05-2.61,4.58-6.19,4.58-10.77s-1.51-8.05-4.51-10.7c-3-2.65-7.55-3.98-13.65-3.98h-20.45v29.36ZM283.93,160.61h21.74c6.1,0,10.84-1.37,14.22-4.11,3.38-2.75,5.08-6.59,5.08-11.53s-1.76-8.85-5.29-11.73-8.29-4.32-14.3-4.32h-21.45v31.69Z"
775
+ }
776
+ ),
777
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
778
+ "path",
779
+ {
780
+ className: "berget-logotype-fill",
781
+ d: "M382.45,174.19c-6.96,0-13.13-1.49-18.52-4.46-5.39-2.97-9.6-7.11-12.65-12.42-3.05-5.3-4.57-11.48-4.57-18.52s1.5-13.4,4.5-18.79,7.19-9.61,12.58-12.62c5.39-3.02,11.65-4.53,18.81-4.53s13,1.48,18.15,4.46c5.15,2.97,9.16,6.93,12.01,11.87,2.86,4.94,4.29,10.38,4.29,16.33,0,.92-.02,1.9-.07,2.95-.05,1.05-.12,2.22-.22,3.5h-55.19c.48,6.59,2.75,11.59,6.79,15.02,4.05,3.43,8.75,5.14,14.09,5.14,4.29,0,7.89-.93,10.79-2.81,2.91-1.88,5.08-4.41,6.51-7.61h15.16c-1.91,6.4-5.7,11.75-11.37,16.05-5.68,4.3-12.71,6.45-21.09,6.45ZM382.45,114.78c-5.05,0-9.54,1.44-13.44,4.32-3.91,2.88-6.29,7.2-7.15,12.97h40.04c-.29-5.3-2.24-9.51-5.87-12.62-3.62-3.11-8.15-4.67-13.58-4.67Z"
782
+ }
783
+ ),
784
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
785
+ "path",
786
+ {
787
+ className: "berget-logotype-fill",
788
+ d: "M425.62,172.54v-68.05h13.59l1.29,12.9c2.47-4.48,5.93-8.03,10.37-10.63,4.43-2.61,9.79-3.91,16.08-3.91v15.23h-4.15c-4.19,0-7.93.67-11.22,1.99-3.29,1.33-5.91,3.57-7.86,6.72-1.96,3.16-2.93,7.53-2.93,13.1v32.65h-15.16Z"
789
+ }
790
+ ),
791
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
792
+ "path",
793
+ {
794
+ className: "berget-logotype-fill",
795
+ d: "M500.25,151.69c-3.72,0-7.14-.41-10.29-1.24l-6.15,5.76c1.05.64,2.34,1.19,3.86,1.65,1.52.46,3.66.87,6.43,1.23,2.76.37,6.53.73,11.29,1.1,9.43.82,16.25,3,20.44,6.52,4.2,3.52,6.29,8.21,6.29,14.06,0,4.02-1.12,7.84-3.35,11.45-2.24,3.61-5.72,6.54-10.44,8.78s-10.74,3.36-18.09,3.36c-9.91,0-17.94-1.8-24.09-5.42-6.15-3.62-9.22-9.08-9.22-16.4,0-2.84.78-5.65,2.35-8.44,1.57-2.79,4.08-5.42,7.51-7.89-2-.83-3.74-1.72-5.22-2.68-1.48-.96-2.79-1.94-3.94-2.95v-3.29l12.3-12.07c-5.53-4.57-8.29-10.56-8.29-17.97,0-4.48,1.12-8.58,3.36-12.28,2.24-3.7,5.5-6.65,9.79-8.85,4.29-2.2,9.43-3.29,15.44-3.29,4.01,0,7.72.55,11.15,1.64h26.45v9.6l-12.58.69c2.28,3.75,3.43,7.91,3.43,12.49s-1.13,8.69-3.36,12.35c-2.24,3.66-5.48,6.59-9.72,8.78-4.25,2.2-9.37,3.29-15.37,3.29ZM481.24,181.19c0,3.93,1.81,6.88,5.44,8.85,3.62,1.97,8.15,2.95,13.58,2.95s9.48-1.07,12.72-3.22c3.24-2.15,4.86-5,4.86-8.57,0-2.65-1.09-4.92-3.29-6.79-2.19-1.87-6.34-3.04-12.44-3.5-4.57-.27-8.63-.68-12.15-1.23-3.34,1.74-5.63,3.61-6.86,5.63-1.25,2.01-1.86,3.98-1.86,5.9ZM500.25,140.3c4.38,0,7.93-1.12,10.66-3.36,2.71-2.24,4.07-5.42,4.07-9.53s-1.36-7.41-4.07-9.6c-2.72-2.2-6.27-3.29-10.66-3.29s-8.08,1.1-10.79,3.29c-2.71,2.2-4.08,5.4-4.08,9.6s1.36,7.3,4.08,9.53c2.71,2.24,6.31,3.36,10.79,3.36Z"
796
+ }
797
+ ),
798
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
799
+ "path",
800
+ {
801
+ className: "berget-logotype-fill",
802
+ d: "M574.61,174.19c-6.96,0-13.13-1.49-18.52-4.46-5.39-2.97-9.6-7.11-12.65-12.42-3.05-5.3-4.57-11.48-4.57-18.52s1.5-13.4,4.5-18.79c3-5.4,7.19-9.61,12.58-12.62c5.39-3.02,11.65-4.53,18.81-4.53s13,1.48,18.15,4.46c5.15,2.97,9.16,6.93,12.01,11.87,2.86,4.94,4.29,10.38,4.29,16.33,0,.92-.02,1.9-.07,2.95-.05,1.05-.12,2.22-.22,3.5h-55.19c.48,6.59,2.75,11.59,6.79,15.02,4.05,3.43,8.75,5.14,14.09,5.14,4.29,0,7.89-.93,10.79-2.81s5.08-4.41,6.51-7.61h15.16c-1.91,6.4-5.7,11.75-11.37,16.05-5.68,4.3-12.71,6.45-21.09,6.45ZM574.61,114.78c-5.05,0-9.54,1.44-13.44,4.32-3.91,2.88-6.29,7.2-7.15,12.97h40.04c-.29-5.3-2.24-9.51-5.87-12.62-3.62-3.11-8.15-4.67-13.58-4.67Z"
803
+ }
804
+ ),
805
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
806
+ "path",
807
+ {
808
+ className: "berget-logotype-fill",
809
+ d: "M646.23,172.54c-6.96,0-12.49-1.62-16.59-4.87-4.1-3.25-6.15-9.03-6.15-17.36v-33.61h-12.16v-12.21h12.16l1.86-17.29h13.29v17.29h20.02v12.21h-20.02v33.61c0,3.75.84,6.33,2.51,7.75,1.67,1.42,4.55,2.13,8.65,2.13h8.14v12.35h-11.72Z"
810
+ }
811
+ ),
812
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
813
+ "path",
814
+ {
815
+ className: "berget-logotype-fill",
816
+ d: "M684.4,172.54l36.89-96.04h16.59l36.6,96.04h-16.01l-8.58-23.46h-40.88l-8.58,23.46h-16.01ZM713.28,137.56h32.31l-16.16-43.77-16.16,43.77Z"
817
+ }
818
+ ),
819
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("path", { className: "berget-logotype-fill", d: "M778.48,172.54v-96.04h15.15v96.04h-15.15Z" })
820
+ ] }),
821
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
822
+ "path",
823
+ {
824
+ style: { fill: fillColor },
825
+ d: "M99.9,0h24.37l99.9,202.18h-25.14l-44.26-77.52-27.24-41.38-14.84-41.81,2.44,1.3h-6.09l2.44-1.3-61.72,123-25.4,37.71H0L99.9,0Z"
826
+ }
827
+ )
828
+ ]
829
+ }
830
+ );
831
+ }
832
+ );
833
+ BergetLogo.displayName = "BergetLogo";
834
+
835
+ // src/components/model-logo/ModelLogo.tsx
836
+ var import_jsx_runtime10 = require("react/jsx-runtime");
837
+ var providerAliases = {
838
+ qwen: "qwen",
839
+ mistralai: "mistral",
840
+ mistral: "mistral",
841
+ moonshotai: "kimi",
842
+ kimi: "kimi",
843
+ google: "google",
844
+ "zai-org": "zai",
845
+ zai: "zai",
846
+ berget: "berget",
847
+ bergetai: "berget"
848
+ };
849
+ var providerPaths = {
850
+ qwen: [
851
+ "M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z"
852
+ ],
853
+ mistral: [
854
+ "M3.428 3.4h3.429v3.428h3.429v3.429h-.002 3.431V6.828h3.427V3.4h3.43v13.714H24v3.429H13.714v-3.428h-3.428v-3.429h-3.43v3.428h3.43v3.429H0v-3.429h3.428V3.4zm10.286 13.715h3.428v-3.429h-3.427v3.429z"
855
+ ],
856
+ kimi: [
857
+ "M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z",
858
+ "M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z"
859
+ ],
860
+ google: [
861
+ "M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z",
862
+ "M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z",
863
+ "M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z",
864
+ "M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z"
865
+ ],
866
+ zai: [
867
+ "M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"
868
+ ]
869
+ };
870
+ var providerLabels = {
871
+ qwen: "Qwen",
872
+ mistral: "Mistral",
873
+ kimi: "Kimi",
874
+ google: "Google",
875
+ zai: "Z.ai",
876
+ berget: "Berget AI"
877
+ };
878
+ var categoryIcons = {
879
+ text: import_lucide_react.Bot,
880
+ "speech-to-text": import_lucide_react.AudioLines,
881
+ embedding: import_lucide_react.Braces,
882
+ rerank: import_lucide_react.ArrowDownWideNarrow,
883
+ "system-one": import_lucide_react.ScanEye,
884
+ vision: import_lucide_react.Eye
885
+ };
886
+ var categoryLabels = {
887
+ text: "Model",
888
+ "speech-to-text": "Speech-to-text",
889
+ embedding: "Embedding",
890
+ rerank: "Reranker",
891
+ "system-one": "System One",
892
+ vision: "Vision"
893
+ };
894
+ var ModelLogo = React8.forwardRef(
895
+ ({ provider, category, size = 24, className, ...props }, ref) => {
896
+ const resolved = provider ? providerAliases[provider.trim().toLowerCase()] : void 0;
897
+ if (resolved === "berget") {
898
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(BergetLogo, { variant: "symbol", size, className: cn("shrink-0", className) });
899
+ }
900
+ if (resolved) {
901
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
902
+ "svg",
903
+ {
904
+ ref,
905
+ viewBox: "0 0 24 24",
906
+ fill: "currentColor",
907
+ width: size,
908
+ height: size,
909
+ role: "img",
910
+ "aria-label": providerLabels[resolved],
911
+ className: cn("shrink-0", className),
912
+ ...props,
913
+ children: [
914
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: providerLabels[resolved] }),
915
+ providerPaths[resolved].map((d, i) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("path", { d }, i))
916
+ ]
917
+ }
918
+ );
919
+ }
920
+ if (category) {
921
+ const Icon2 = categoryIcons[category];
922
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Icon2, { className: cn("shrink-0", className), ...props });
923
+ }
924
+ return null;
925
+ }
926
+ );
927
+ ModelLogo.displayName = "ModelLogo";
928
+
929
+ // src/components/model-card/ModelCard.tsx
930
+ var import_jsx_runtime11 = require("react/jsx-runtime");
931
+ var lifecycleLabels = {
932
+ preview: "Preview",
933
+ active: "Active",
934
+ deprecated: "Deprecated"
935
+ };
936
+ var lifecycleStyles = {
937
+ preview: "berget-tint berget-tint-warning",
938
+ active: "berget-tint berget-tint-success",
939
+ deprecated: "bg-berget-brand-granite-700 text-berget-muted-foreground"
940
+ };
941
+ var ModelCard = React9.forwardRef(
942
+ ({
943
+ icon,
944
+ provider,
945
+ category,
946
+ eyebrow,
947
+ title,
948
+ lifecycle,
949
+ description,
950
+ columns,
951
+ meta,
952
+ href,
953
+ external,
954
+ className,
955
+ children,
956
+ ...props
957
+ }, ref) => {
958
+ const titleId = React9.useId();
959
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
960
+ "a",
961
+ {
962
+ ref,
963
+ href,
964
+ "aria-labelledby": titleId,
965
+ ...external ? { target: "_blank", rel: "noopener noreferrer" } : {},
966
+ className: cn("group block", className),
967
+ ...props,
968
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
969
+ Card2,
970
+ {
971
+ variant: "filled",
972
+ padding: "none",
973
+ className: "relative flex h-full flex-col bg-berget-card-filled-bg p-5 transition-all hover:bg-[color-mix(in_oklab,var(--berget-brand-granite-100)_5%,var(--berget-card-filled-bg))] hover:ring-2 hover:ring-berget-brand-granite-700 sm:p-6",
974
+ children: [
975
+ lifecycle && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute top-0 right-0 z-10 overflow-hidden rounded-bl-berget-sm", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
976
+ "div",
977
+ {
978
+ className: cn(
979
+ "inline-flex h-6 items-center whitespace-nowrap border-0! px-8 text-sm",
980
+ lifecycleStyles[lifecycle]
981
+ ),
982
+ children: lifecycleLabels[lifecycle]
983
+ }
984
+ ) }),
985
+ (icon || provider || category) && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg border border-berget-border bg-white/5 text-berget-foreground", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ModelLogo, { provider, category }) }),
986
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("header", { children: [
987
+ eyebrow && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
988
+ Typography,
989
+ {
990
+ variant: "xs",
991
+ color: "muted",
992
+ className: "font-medium uppercase leading-none tracking-[0.25em]",
993
+ children: eyebrow
994
+ }
995
+ ),
996
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: cn("flex items-baseline gap-3", lifecycle && "pr-24"), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
997
+ Typography,
998
+ {
999
+ as: "h3",
1000
+ id: titleId,
1001
+ variant: "h5",
1002
+ className: "min-w-0 truncate whitespace-nowrap leading-tight",
1003
+ style: { fontFeatureSettings: "normal" },
1004
+ children: title
1005
+ }
1006
+ ) }),
1007
+ description && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typography, { variant: "xs", color: "muted", className: "leading-none", children: description })
1008
+ ] }),
1009
+ columns && columns.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "grid grid-cols-2", children: columns.map((col, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { children: [
1010
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typography, { variant: "xs", color: "muted", className: "leading-none", children: col.label }),
1011
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1012
+ Typography,
1013
+ {
1014
+ variant: "body",
1015
+ className: "tabular-nums leading-none",
1016
+ style: { fontFeatureSettings: "normal" },
1017
+ children: col.value
1018
+ }
1019
+ )
1020
+ ] }, i)) }),
1021
+ meta && meta.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1022
+ Typography,
1023
+ {
1024
+ variant: "xs",
1025
+ color: "muted",
1026
+ className: "text-[0.65rem] uppercase tracking-[0.15em]",
1027
+ children: meta.map((item, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(React9.Fragment, { children: [
1028
+ i > 0 && " \u25AA ",
1029
+ item
1030
+ ] }, i))
1031
+ }
1032
+ ),
1033
+ children
1034
+ ]
1035
+ }
1036
+ )
1037
+ }
1038
+ );
1039
+ }
1040
+ );
1041
+ ModelCard.displayName = "ModelCard";
1042
+
1043
+ // src/components/alert/Alert.tsx
1044
+ var React10 = __toESM(require("react"), 1);
711
1045
  var import_class_variance_authority6 = require("class-variance-authority");
712
1046
 
713
1047
  // src/primitives/alert.tsx
714
1048
  var import_class_variance_authority5 = require("class-variance-authority");
715
1049
  var import_cn3 = require("cn");
716
- var import_jsx_runtime9 = require("react/jsx-runtime");
1050
+ var import_jsx_runtime12 = require("react/jsx-runtime");
717
1051
  var alertVariants = (0, import_class_variance_authority5.cva)(
718
1052
  "group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",
719
1053
  {
@@ -733,7 +1067,7 @@ function Alert({
733
1067
  variant,
734
1068
  ...props
735
1069
  }) {
736
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1070
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
737
1071
  "div",
738
1072
  {
739
1073
  "data-slot": "alert",
@@ -744,7 +1078,7 @@ function Alert({
744
1078
  );
745
1079
  }
746
1080
  function AlertTitle({ className, ...props }) {
747
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1081
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
748
1082
  "div",
749
1083
  {
750
1084
  "data-slot": "alert-title",
@@ -760,7 +1094,7 @@ function AlertDescription({
760
1094
  className,
761
1095
  ...props
762
1096
  }) {
763
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1097
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
764
1098
  "div",
765
1099
  {
766
1100
  "data-slot": "alert-description",
@@ -774,7 +1108,7 @@ function AlertDescription({
774
1108
  }
775
1109
 
776
1110
  // src/components/alert/Alert.tsx
777
- var import_jsx_runtime10 = require("react/jsx-runtime");
1111
+ var import_jsx_runtime13 = require("react/jsx-runtime");
778
1112
  var alertVariants2 = (0, import_class_variance_authority6.cva)("", {
779
1113
  variants: {
780
1114
  variant: {
@@ -789,24 +1123,24 @@ var alertVariants2 = (0, import_class_variance_authority6.cva)("", {
789
1123
  variant: "default"
790
1124
  }
791
1125
  });
792
- var Alert2 = React7.forwardRef(
793
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Alert, { ref, className: cn(alertVariants2({ variant }), className), ...props })
1126
+ var Alert2 = React10.forwardRef(
1127
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Alert, { ref, className: cn(alertVariants2({ variant }), className), ...props })
794
1128
  );
795
1129
  Alert2.displayName = "Alert";
796
1130
 
797
1131
  // src/components/dialog/Dialog.tsx
798
- var React8 = __toESM(require("react"), 1);
1132
+ var React11 = __toESM(require("react"), 1);
799
1133
  var import_dialog = require("@base-ui/react/dialog");
800
- var import_lucide_react = require("lucide-react");
801
- var import_jsx_runtime11 = require("react/jsx-runtime");
1134
+ var import_lucide_react2 = require("lucide-react");
1135
+ var import_jsx_runtime14 = require("react/jsx-runtime");
802
1136
  var Dialog = import_dialog.Dialog.Root;
803
- var DialogTrigger = React8.forwardRef(
804
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_dialog.Dialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1137
+ var DialogTrigger = React11.forwardRef(
1138
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_dialog.Dialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
805
1139
  );
806
1140
  DialogTrigger.displayName = "DialogTrigger";
807
1141
  var DialogPortal = import_dialog.Dialog.Portal;
808
1142
  var DialogClose = import_dialog.Dialog.Close;
809
- var DialogOverlay = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1143
+ var DialogOverlay = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
810
1144
  import_dialog.Dialog.Backdrop,
811
1145
  {
812
1146
  ref,
@@ -818,9 +1152,9 @@ var DialogOverlay = React8.forwardRef(({ className, ...props }, ref) => /* @__PU
818
1152
  }
819
1153
  ));
820
1154
  DialogOverlay.displayName = "DialogOverlay";
821
- var DialogContent = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(DialogPortal, { children: [
822
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DialogOverlay, {}),
823
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
1155
+ var DialogContent = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(DialogPortal, { children: [
1156
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DialogOverlay, {}),
1157
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
824
1158
  import_dialog.Dialog.Popup,
825
1159
  {
826
1160
  ref,
@@ -831,18 +1165,18 @@ var DialogContent = React8.forwardRef(({ className, children, ...props }, ref) =
831
1165
  ...props,
832
1166
  children: [
833
1167
  children,
834
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_dialog.Dialog.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
835
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react.X, { className: "size-4" }),
836
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Close" })
1168
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_dialog.Dialog.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1169
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react2.X, { className: "size-4" }),
1170
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "sr-only", children: "Close" })
837
1171
  ] })
838
1172
  ]
839
1173
  }
840
1174
  )
841
1175
  ] }));
842
1176
  DialogContent.displayName = "DialogContent";
843
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1177
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
844
1178
  DialogHeader.displayName = "DialogHeader";
845
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1179
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
846
1180
  "div",
847
1181
  {
848
1182
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -850,21 +1184,21 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_r
850
1184
  }
851
1185
  );
852
1186
  DialogFooter.displayName = "DialogFooter";
853
- var DialogTitle = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1187
+ var DialogTitle = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
854
1188
  import_dialog.Dialog.Title,
855
1189
  {
856
1190
  ref,
857
- render: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1191
+ render: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
858
1192
  ...props,
859
1193
  children
860
1194
  }
861
1195
  ));
862
1196
  DialogTitle.displayName = "DialogTitle";
863
- var DialogDescription = React8.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1197
+ var DialogDescription = React11.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
864
1198
  import_dialog.Dialog.Description,
865
1199
  {
866
1200
  ref,
867
- render: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typography, { variant: "small", color: "muted", className }),
1201
+ render: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Typography, { variant: "small", color: "muted", className }),
868
1202
  ...props,
869
1203
  children
870
1204
  }
@@ -872,16 +1206,16 @@ var DialogDescription = React8.forwardRef(({ className, children, ...props }, re
872
1206
  DialogDescription.displayName = "DialogDescription";
873
1207
 
874
1208
  // src/components/alert-dialog/AlertDialog.tsx
875
- var React9 = __toESM(require("react"), 1);
1209
+ var React12 = __toESM(require("react"), 1);
876
1210
  var import_alert_dialog = require("@base-ui/react/alert-dialog");
877
- var import_jsx_runtime12 = require("react/jsx-runtime");
1211
+ var import_jsx_runtime15 = require("react/jsx-runtime");
878
1212
  var AlertDialog = import_alert_dialog.AlertDialog.Root;
879
- var AlertDialogTrigger = React9.forwardRef(
880
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_alert_dialog.AlertDialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1213
+ var AlertDialogTrigger = React12.forwardRef(
1214
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_alert_dialog.AlertDialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
881
1215
  );
882
1216
  AlertDialogTrigger.displayName = "AlertDialogTrigger";
883
1217
  var AlertDialogPortal = import_alert_dialog.AlertDialog.Portal;
884
- var AlertDialogOverlay = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1218
+ var AlertDialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
885
1219
  import_alert_dialog.AlertDialog.Backdrop,
886
1220
  {
887
1221
  ref,
@@ -893,9 +1227,9 @@ var AlertDialogOverlay = React9.forwardRef(({ className, ...props }, ref) => /*
893
1227
  }
894
1228
  ));
895
1229
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
896
- var AlertDialogContent = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(AlertDialogPortal, { children: [
897
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(AlertDialogOverlay, {}),
898
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1230
+ var AlertDialogContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(AlertDialogPortal, { children: [
1231
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(AlertDialogOverlay, {}),
1232
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
899
1233
  import_alert_dialog.AlertDialog.Popup,
900
1234
  {
901
1235
  ref,
@@ -908,9 +1242,9 @@ var AlertDialogContent = React9.forwardRef(({ className, ...props }, ref) => /*
908
1242
  )
909
1243
  ] }));
910
1244
  AlertDialogContent.displayName = "AlertDialogContent";
911
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1245
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
912
1246
  AlertDialogHeader.displayName = "AlertDialogHeader";
913
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1247
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
914
1248
  "div",
915
1249
  {
916
1250
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -918,27 +1252,27 @@ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_
918
1252
  }
919
1253
  );
920
1254
  AlertDialogFooter.displayName = "AlertDialogFooter";
921
- var AlertDialogTitle = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1255
+ var AlertDialogTitle = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
922
1256
  import_alert_dialog.AlertDialog.Title,
923
1257
  {
924
1258
  ref,
925
- render: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1259
+ render: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
926
1260
  ...props,
927
1261
  children
928
1262
  }
929
1263
  ));
930
1264
  AlertDialogTitle.displayName = "AlertDialogTitle";
931
- var AlertDialogDescription = React9.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1265
+ var AlertDialogDescription = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
932
1266
  import_alert_dialog.AlertDialog.Description,
933
1267
  {
934
1268
  ref,
935
- render: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typography, { variant: "small", color: "muted", className }),
1269
+ render: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography, { variant: "small", color: "muted", className }),
936
1270
  ...props,
937
1271
  children
938
1272
  }
939
1273
  ));
940
1274
  AlertDialogDescription.displayName = "AlertDialogDescription";
941
- var AlertDialogAction = React9.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1275
+ var AlertDialogAction = React12.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
942
1276
  import_alert_dialog.AlertDialog.Close,
943
1277
  {
944
1278
  ref,
@@ -949,7 +1283,7 @@ var AlertDialogAction = React9.forwardRef(({ className, asChild, children, ...pr
949
1283
  }
950
1284
  ));
951
1285
  AlertDialogAction.displayName = "AlertDialogAction";
952
- var AlertDialogCancel = React9.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1286
+ var AlertDialogCancel = React12.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
953
1287
  import_alert_dialog.AlertDialog.Close,
954
1288
  {
955
1289
  ref,
@@ -962,20 +1296,20 @@ var AlertDialogCancel = React9.forwardRef(({ className, asChild, children, ...pr
962
1296
  AlertDialogCancel.displayName = "AlertDialogCancel";
963
1297
 
964
1298
  // src/components/dropdown-menu/DropdownMenu.tsx
965
- var React10 = __toESM(require("react"), 1);
1299
+ var React13 = __toESM(require("react"), 1);
966
1300
  var import_menu = require("@base-ui/react/menu");
967
- var import_lucide_react2 = require("lucide-react");
968
- var import_jsx_runtime13 = require("react/jsx-runtime");
1301
+ var import_lucide_react3 = require("lucide-react");
1302
+ var import_jsx_runtime16 = require("react/jsx-runtime");
969
1303
  var DropdownMenu = import_menu.Menu.Root;
970
- var DropdownMenuTrigger = React10.forwardRef(
971
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_menu.Menu.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1304
+ var DropdownMenuTrigger = React13.forwardRef(
1305
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
972
1306
  );
973
1307
  DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
974
1308
  var DropdownMenuGroup = import_menu.Menu.Group;
975
1309
  var DropdownMenuPortal = import_menu.Menu.Portal;
976
1310
  var DropdownMenuSub = import_menu.Menu.SubmenuRoot;
977
1311
  var DropdownMenuRadioGroup = import_menu.Menu.RadioGroup;
978
- var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1312
+ var DropdownMenuSubTrigger = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
979
1313
  import_menu.Menu.SubmenuTrigger,
980
1314
  {
981
1315
  ref,
@@ -986,15 +1320,15 @@ var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, asChild, ch
986
1320
  ),
987
1321
  render: asChildRender(asChild, children),
988
1322
  ...props,
989
- children: asChild ? void 0 : /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
1323
+ children: asChild ? void 0 : /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
990
1324
  children,
991
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react2.ChevronRight, { className: "ml-auto" })
1325
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.ChevronRight, { className: "ml-auto" })
992
1326
  ] })
993
1327
  }
994
1328
  ));
995
1329
  DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
996
- var DropdownMenuSubContent = React10.forwardRef(
997
- ({ className, side = "right", align = "start", alignOffset = -3, sideOffset = 0, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1330
+ var DropdownMenuSubContent = React13.forwardRef(
1331
+ ({ className, side = "right", align = "start", alignOffset = -3, sideOffset = 0, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
998
1332
  import_menu.Menu.Positioner,
999
1333
  {
1000
1334
  side,
@@ -1002,7 +1336,7 @@ var DropdownMenuSubContent = React10.forwardRef(
1002
1336
  alignOffset,
1003
1337
  sideOffset,
1004
1338
  className: "isolate z-50 outline-none",
1005
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1339
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1006
1340
  import_menu.Menu.Popup,
1007
1341
  {
1008
1342
  ref,
@@ -1017,7 +1351,7 @@ var DropdownMenuSubContent = React10.forwardRef(
1017
1351
  ) })
1018
1352
  );
1019
1353
  DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
1020
- var DropdownMenuContent = React10.forwardRef(({ className, sideOffset = 4, align = "center", side, alignOffset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1354
+ var DropdownMenuContent = React13.forwardRef(({ className, sideOffset = 4, align = "center", side, alignOffset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1021
1355
  import_menu.Menu.Positioner,
1022
1356
  {
1023
1357
  side,
@@ -1025,7 +1359,7 @@ var DropdownMenuContent = React10.forwardRef(({ className, sideOffset = 4, align
1025
1359
  alignOffset,
1026
1360
  sideOffset,
1027
1361
  className: "isolate z-50 outline-none",
1028
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1362
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1029
1363
  import_menu.Menu.Popup,
1030
1364
  {
1031
1365
  ref,
@@ -1039,7 +1373,7 @@ var DropdownMenuContent = React10.forwardRef(({ className, sideOffset = 4, align
1039
1373
  }
1040
1374
  ) }));
1041
1375
  DropdownMenuContent.displayName = "DropdownMenuContent";
1042
- var DropdownMenuItem = React10.forwardRef(({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1376
+ var DropdownMenuItem = React13.forwardRef(({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1043
1377
  import_menu.Menu.Item,
1044
1378
  {
1045
1379
  ref,
@@ -1055,7 +1389,7 @@ var DropdownMenuItem = React10.forwardRef(({ className, inset, asChild, children
1055
1389
  }
1056
1390
  ));
1057
1391
  DropdownMenuItem.displayName = "DropdownMenuItem";
1058
- var DropdownMenuCheckboxItem = React10.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1392
+ var DropdownMenuCheckboxItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1059
1393
  import_menu.Menu.CheckboxItem,
1060
1394
  {
1061
1395
  ref,
@@ -1067,13 +1401,13 @@ var DropdownMenuCheckboxItem = React10.forwardRef(({ className, children, asChil
1067
1401
  render: asChildRender(asChild, children),
1068
1402
  ...props,
1069
1403
  children: [
1070
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react2.Check, { className: "size-4" }) }) }),
1404
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.Check, { className: "size-4" }) }) }),
1071
1405
  asChild ? void 0 : children
1072
1406
  ]
1073
1407
  }
1074
1408
  ));
1075
1409
  DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
1076
- var DropdownMenuRadioItem = React10.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1410
+ var DropdownMenuRadioItem = React13.forwardRef(({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1077
1411
  import_menu.Menu.RadioItem,
1078
1412
  {
1079
1413
  ref,
@@ -1085,13 +1419,13 @@ var DropdownMenuRadioItem = React10.forwardRef(({ className, children, asChild,
1085
1419
  render: asChildRender(asChild, children),
1086
1420
  ...props,
1087
1421
  children: [
1088
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react2.Circle, { className: "size-2 fill-current" }) }) }),
1422
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react3.Circle, { className: "size-2 fill-current" }) }) }),
1089
1423
  asChild ? void 0 : children
1090
1424
  ]
1091
1425
  }
1092
1426
  ));
1093
1427
  DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
1094
- var DropdownMenuLabel = React10.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1428
+ var DropdownMenuLabel = React13.forwardRef(({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1095
1429
  import_menu.Menu.GroupLabel,
1096
1430
  {
1097
1431
  ref,
@@ -1106,7 +1440,7 @@ var DropdownMenuLabel = React10.forwardRef(({ className, inset, asChild, childre
1106
1440
  }
1107
1441
  ));
1108
1442
  DropdownMenuLabel.displayName = "DropdownMenuLabel";
1109
- var DropdownMenuSeparator = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1443
+ var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1110
1444
  import_menu.Menu.Separator,
1111
1445
  {
1112
1446
  ref,
@@ -1116,7 +1450,7 @@ var DropdownMenuSeparator = React10.forwardRef(({ className, ...props }, ref) =>
1116
1450
  ));
1117
1451
  DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
1118
1452
  var DropdownMenuShortcut = ({ className, ...props }) => {
1119
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1453
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1120
1454
  "span",
1121
1455
  {
1122
1456
  className: cn("ml-auto text-xs tracking-widest text-berget-muted-foreground", className),
@@ -1129,19 +1463,19 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1129
1463
  // src/components/navigation-menu/NavigationMenu.tsx
1130
1464
  var import_navigation_menu2 = require("@base-ui/react/navigation-menu");
1131
1465
  var import_class_variance_authority8 = require("class-variance-authority");
1132
- var import_lucide_react4 = require("lucide-react");
1466
+ var import_lucide_react5 = require("lucide-react");
1133
1467
 
1134
1468
  // src/primitives/navigation-menu.tsx
1135
1469
  var import_navigation_menu = require("@base-ui/react/navigation-menu");
1136
1470
  var import_class_variance_authority7 = require("class-variance-authority");
1137
1471
  var import_cn4 = require("cn");
1138
- var import_lucide_react3 = require("lucide-react");
1139
- var import_jsx_runtime14 = require("react/jsx-runtime");
1472
+ var import_lucide_react4 = require("lucide-react");
1473
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1140
1474
  function NavigationMenuList({
1141
1475
  className,
1142
1476
  ...props
1143
1477
  }) {
1144
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1478
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1145
1479
  import_navigation_menu.NavigationMenu.List,
1146
1480
  {
1147
1481
  "data-slot": "navigation-menu-list",
@@ -1157,7 +1491,7 @@ function NavigationMenuItem({
1157
1491
  className,
1158
1492
  ...props
1159
1493
  }) {
1160
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1494
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1161
1495
  import_navigation_menu.NavigationMenu.Item,
1162
1496
  {
1163
1497
  "data-slot": "navigation-menu-item",
@@ -1173,7 +1507,7 @@ function NavigationMenuContent({
1173
1507
  className,
1174
1508
  ...props
1175
1509
  }) {
1176
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1510
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1177
1511
  import_navigation_menu.NavigationMenu.Content,
1178
1512
  {
1179
1513
  "data-slot": "navigation-menu-content",
@@ -1189,7 +1523,7 @@ function NavigationMenuIndicator({
1189
1523
  className,
1190
1524
  ...props
1191
1525
  }) {
1192
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1526
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1193
1527
  import_navigation_menu.NavigationMenu.Icon,
1194
1528
  {
1195
1529
  "data-slot": "navigation-menu-indicator",
@@ -1198,20 +1532,20 @@ function NavigationMenuIndicator({
1198
1532
  className
1199
1533
  ),
1200
1534
  ...props,
1201
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1535
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
1202
1536
  }
1203
1537
  );
1204
1538
  }
1205
1539
 
1206
1540
  // src/components/navigation-menu/NavigationMenu.tsx
1207
- var import_jsx_runtime15 = require("react/jsx-runtime");
1541
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1208
1542
  function NavigationMenu({
1209
1543
  align = "start",
1210
1544
  className,
1211
1545
  children,
1212
1546
  ...props
1213
1547
  }) {
1214
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1548
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1215
1549
  import_navigation_menu2.NavigationMenu.Root,
1216
1550
  {
1217
1551
  "data-slot": "navigation-menu",
@@ -1222,7 +1556,7 @@ function NavigationMenu({
1222
1556
  ...props,
1223
1557
  children: [
1224
1558
  children,
1225
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(NavigationMenuPositioner, { align })
1559
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(NavigationMenuPositioner, { align })
1226
1560
  ]
1227
1561
  }
1228
1562
  );
@@ -1235,7 +1569,7 @@ function NavigationMenuTrigger({
1235
1569
  children,
1236
1570
  ...props
1237
1571
  }) {
1238
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1572
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1239
1573
  import_navigation_menu2.NavigationMenu.Trigger,
1240
1574
  {
1241
1575
  "data-slot": "navigation-menu-trigger",
@@ -1244,8 +1578,8 @@ function NavigationMenuTrigger({
1244
1578
  children: [
1245
1579
  children,
1246
1580
  " ",
1247
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1248
- import_lucide_react4.ChevronDown,
1581
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1582
+ import_lucide_react5.ChevronDown,
1249
1583
  {
1250
1584
  className: "relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180",
1251
1585
  "aria-hidden": "true"
@@ -1256,7 +1590,7 @@ function NavigationMenuTrigger({
1256
1590
  );
1257
1591
  }
1258
1592
  function NavigationMenuLink({ className, ...props }) {
1259
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1593
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1260
1594
  import_navigation_menu2.NavigationMenu.Link,
1261
1595
  {
1262
1596
  "data-slot": "navigation-menu-link",
@@ -1276,7 +1610,7 @@ function NavigationMenuPositioner({
1276
1610
  alignOffset = 0,
1277
1611
  ...props
1278
1612
  }) {
1279
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1613
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1280
1614
  import_navigation_menu2.NavigationMenu.Positioner,
1281
1615
  {
1282
1616
  side,
@@ -1288,24 +1622,24 @@ function NavigationMenuPositioner({
1288
1622
  className
1289
1623
  ),
1290
1624
  ...props,
1291
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_navigation_menu2.NavigationMenu.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
1625
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
1292
1626
  }
1293
1627
  ) });
1294
1628
  }
1295
1629
 
1296
1630
  // src/components/table/Table.tsx
1297
- var React11 = __toESM(require("react"), 1);
1631
+ var React14 = __toESM(require("react"), 1);
1298
1632
 
1299
1633
  // src/primitives/table.tsx
1300
1634
  var import_cn5 = require("cn");
1301
- var import_jsx_runtime16 = require("react/jsx-runtime");
1635
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1302
1636
  function Table({ className, ...props }) {
1303
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1637
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1304
1638
  "div",
1305
1639
  {
1306
1640
  "data-slot": "table-container",
1307
1641
  className: "relative w-full overflow-x-auto",
1308
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1642
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1309
1643
  "table",
1310
1644
  {
1311
1645
  "data-slot": "table",
@@ -1317,7 +1651,7 @@ function Table({ className, ...props }) {
1317
1651
  );
1318
1652
  }
1319
1653
  function TableHeader({ className, ...props }) {
1320
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1654
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1321
1655
  "thead",
1322
1656
  {
1323
1657
  "data-slot": "table-header",
@@ -1327,7 +1661,7 @@ function TableHeader({ className, ...props }) {
1327
1661
  );
1328
1662
  }
1329
1663
  function TableBody({ className, ...props }) {
1330
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1664
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1331
1665
  "tbody",
1332
1666
  {
1333
1667
  "data-slot": "table-body",
@@ -1337,7 +1671,7 @@ function TableBody({ className, ...props }) {
1337
1671
  );
1338
1672
  }
1339
1673
  function TableFooter({ className, ...props }) {
1340
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1674
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1341
1675
  "tfoot",
1342
1676
  {
1343
1677
  "data-slot": "table-footer",
@@ -1350,7 +1684,7 @@ function TableFooter({ className, ...props }) {
1350
1684
  );
1351
1685
  }
1352
1686
  function TableRow({ className, ...props }) {
1353
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1687
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1354
1688
  "tr",
1355
1689
  {
1356
1690
  "data-slot": "table-row",
@@ -1363,7 +1697,7 @@ function TableRow({ className, ...props }) {
1363
1697
  );
1364
1698
  }
1365
1699
  function TableHead({ className, ...props }) {
1366
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1700
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1367
1701
  "th",
1368
1702
  {
1369
1703
  "data-slot": "table-head",
@@ -1376,7 +1710,7 @@ function TableHead({ className, ...props }) {
1376
1710
  );
1377
1711
  }
1378
1712
  function TableCell({ className, ...props }) {
1379
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1713
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1380
1714
  "td",
1381
1715
  {
1382
1716
  "data-slot": "table-cell",
@@ -1392,7 +1726,7 @@ function TableCaption({
1392
1726
  className,
1393
1727
  ...props
1394
1728
  }) {
1395
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1729
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1396
1730
  "caption",
1397
1731
  {
1398
1732
  "data-slot": "table-caption",
@@ -1403,12 +1737,12 @@ function TableCaption({
1403
1737
  }
1404
1738
 
1405
1739
  // src/components/table/Table.tsx
1406
- var import_jsx_runtime17 = require("react/jsx-runtime");
1407
- var Table2 = React11.forwardRef(
1408
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Table, { ref, className, ...props })
1740
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1741
+ var Table2 = React14.forwardRef(
1742
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Table, { ref, className, ...props })
1409
1743
  );
1410
1744
  Table2.displayName = "Table";
1411
- var TableHeader2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1745
+ var TableHeader2 = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1412
1746
  TableHeader,
1413
1747
  {
1414
1748
  ref,
@@ -1417,7 +1751,7 @@ var TableHeader2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PU
1417
1751
  }
1418
1752
  ));
1419
1753
  TableHeader2.displayName = "TableHeader";
1420
- var TableBody2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1754
+ var TableBody2 = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1421
1755
  TableBody,
1422
1756
  {
1423
1757
  ref,
@@ -1426,7 +1760,7 @@ var TableBody2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE
1426
1760
  }
1427
1761
  ));
1428
1762
  TableBody2.displayName = "TableBody";
1429
- var TableFooter2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1763
+ var TableFooter2 = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1430
1764
  TableFooter,
1431
1765
  {
1432
1766
  ref,
@@ -1438,8 +1772,8 @@ var TableFooter2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PU
1438
1772
  }
1439
1773
  ));
1440
1774
  TableFooter2.displayName = "TableFooter";
1441
- var TableRow2 = React11.forwardRef(
1442
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1775
+ var TableRow2 = React14.forwardRef(
1776
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1443
1777
  TableRow,
1444
1778
  {
1445
1779
  ref,
@@ -1452,7 +1786,7 @@ var TableRow2 = React11.forwardRef(
1452
1786
  )
1453
1787
  );
1454
1788
  TableRow2.displayName = "TableRow";
1455
- var TableHead2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1789
+ var TableHead2 = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1456
1790
  TableHead,
1457
1791
  {
1458
1792
  ref,
@@ -1464,7 +1798,7 @@ var TableHead2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE
1464
1798
  }
1465
1799
  ));
1466
1800
  TableHead2.displayName = "TableHead";
1467
- var TableCell2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1801
+ var TableCell2 = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1468
1802
  TableCell,
1469
1803
  {
1470
1804
  ref,
@@ -1473,7 +1807,7 @@ var TableCell2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE
1473
1807
  }
1474
1808
  ));
1475
1809
  TableCell2.displayName = "TableCell";
1476
- var TableCaption2 = React11.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1810
+ var TableCaption2 = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1477
1811
  TableCaption,
1478
1812
  {
1479
1813
  ref,
@@ -1484,7 +1818,7 @@ var TableCaption2 = React11.forwardRef(({ className, ...props }, ref) => /* @__P
1484
1818
  TableCaption2.displayName = "TableCaption";
1485
1819
 
1486
1820
  // src/components/item/Item.tsx
1487
- var React12 = __toESM(require("react"), 1);
1821
+ var React15 = __toESM(require("react"), 1);
1488
1822
 
1489
1823
  // src/primitives/item.tsx
1490
1824
  var import_merge_props = require("@base-ui/react/merge-props");
@@ -1495,13 +1829,13 @@ var import_cn7 = require("cn");
1495
1829
  // src/primitives/separator.tsx
1496
1830
  var import_separator = require("@base-ui/react/separator");
1497
1831
  var import_cn6 = require("cn");
1498
- var import_jsx_runtime18 = require("react/jsx-runtime");
1832
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1499
1833
  function Separator({
1500
1834
  className,
1501
1835
  orientation = "horizontal",
1502
1836
  ...props
1503
1837
  }) {
1504
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1838
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1505
1839
  import_separator.Separator,
1506
1840
  {
1507
1841
  "data-slot": "separator",
@@ -1516,9 +1850,9 @@ function Separator({
1516
1850
  }
1517
1851
 
1518
1852
  // src/primitives/item.tsx
1519
- var import_jsx_runtime19 = require("react/jsx-runtime");
1853
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1520
1854
  function ItemGroup({ className, ...props }) {
1521
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1855
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1522
1856
  "div",
1523
1857
  {
1524
1858
  role: "list",
@@ -1535,7 +1869,7 @@ function ItemSeparator({
1535
1869
  className,
1536
1870
  ...props
1537
1871
  }) {
1538
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1872
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1539
1873
  Separator,
1540
1874
  {
1541
1875
  "data-slot": "item-separator",
@@ -1609,7 +1943,7 @@ function ItemMedia({
1609
1943
  variant = "default",
1610
1944
  ...props
1611
1945
  }) {
1612
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1946
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1613
1947
  "div",
1614
1948
  {
1615
1949
  "data-slot": "item-media",
@@ -1620,7 +1954,7 @@ function ItemMedia({
1620
1954
  );
1621
1955
  }
1622
1956
  function ItemContent({ className, ...props }) {
1623
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1957
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1624
1958
  "div",
1625
1959
  {
1626
1960
  "data-slot": "item-content",
@@ -1633,7 +1967,7 @@ function ItemContent({ className, ...props }) {
1633
1967
  );
1634
1968
  }
1635
1969
  function ItemTitle({ className, ...props }) {
1636
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1970
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1637
1971
  "div",
1638
1972
  {
1639
1973
  "data-slot": "item-title",
@@ -1646,7 +1980,7 @@ function ItemTitle({ className, ...props }) {
1646
1980
  );
1647
1981
  }
1648
1982
  function ItemDescription({ className, ...props }) {
1649
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1983
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1650
1984
  "p",
1651
1985
  {
1652
1986
  "data-slot": "item-description",
@@ -1659,7 +1993,7 @@ function ItemDescription({ className, ...props }) {
1659
1993
  );
1660
1994
  }
1661
1995
  function ItemActions({ className, ...props }) {
1662
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1996
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1663
1997
  "div",
1664
1998
  {
1665
1999
  "data-slot": "item-actions",
@@ -1669,7 +2003,7 @@ function ItemActions({ className, ...props }) {
1669
2003
  );
1670
2004
  }
1671
2005
  function ItemHeader({ className, ...props }) {
1672
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2006
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1673
2007
  "div",
1674
2008
  {
1675
2009
  "data-slot": "item-header",
@@ -1682,7 +2016,7 @@ function ItemHeader({ className, ...props }) {
1682
2016
  );
1683
2017
  }
1684
2018
  function ItemFooter({ className, ...props }) {
1685
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
2019
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1686
2020
  "div",
1687
2021
  {
1688
2022
  "data-slot": "item-footer",
@@ -1696,9 +2030,9 @@ function ItemFooter({ className, ...props }) {
1696
2030
  }
1697
2031
 
1698
2032
  // src/components/item/Item.tsx
1699
- var import_jsx_runtime20 = require("react/jsx-runtime");
2033
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1700
2034
  function Item2({ className, asChild, children, ...props }) {
1701
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2035
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1702
2036
  Item,
1703
2037
  {
1704
2038
  render: asChild ? children : void 0,
@@ -1717,8 +2051,8 @@ function Item2({ className, asChild, children, ...props }) {
1717
2051
  }
1718
2052
  );
1719
2053
  }
1720
- var ItemMedia2 = React12.forwardRef(({ className, ...props }, ref) => {
1721
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2054
+ var ItemMedia2 = React15.forwardRef(({ className, ...props }, ref) => {
2055
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1722
2056
  ItemMedia,
1723
2057
  {
1724
2058
  ref,
@@ -1728,8 +2062,8 @@ var ItemMedia2 = React12.forwardRef(({ className, ...props }, ref) => {
1728
2062
  );
1729
2063
  });
1730
2064
  ItemMedia2.displayName = "ItemMedia";
1731
- var ItemTitle2 = React12.forwardRef(({ className, ...props }, ref) => {
1732
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2065
+ var ItemTitle2 = React15.forwardRef(({ className, ...props }, ref) => {
2066
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1733
2067
  ItemTitle,
1734
2068
  {
1735
2069
  ref,
@@ -1739,8 +2073,8 @@ var ItemTitle2 = React12.forwardRef(({ className, ...props }, ref) => {
1739
2073
  );
1740
2074
  });
1741
2075
  ItemTitle2.displayName = "ItemTitle";
1742
- var ItemDescription2 = React12.forwardRef(({ className, ...props }, ref) => {
1743
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2076
+ var ItemDescription2 = React15.forwardRef(({ className, ...props }, ref) => {
2077
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1744
2078
  ItemDescription,
1745
2079
  {
1746
2080
  ref,
@@ -1750,8 +2084,8 @@ var ItemDescription2 = React12.forwardRef(({ className, ...props }, ref) => {
1750
2084
  );
1751
2085
  });
1752
2086
  ItemDescription2.displayName = "ItemDescription";
1753
- var ItemSeparator2 = React12.forwardRef(({ className, ...props }, ref) => {
1754
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2087
+ var ItemSeparator2 = React15.forwardRef(({ className, ...props }, ref) => {
2088
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1755
2089
  ItemSeparator,
1756
2090
  {
1757
2091
  ref,
@@ -1763,14 +2097,14 @@ var ItemSeparator2 = React12.forwardRef(({ className, ...props }, ref) => {
1763
2097
  ItemSeparator2.displayName = "ItemSeparator";
1764
2098
 
1765
2099
  // src/components/input/Input.tsx
1766
- var React13 = __toESM(require("react"), 1);
2100
+ var React16 = __toESM(require("react"), 1);
1767
2101
 
1768
2102
  // src/primitives/input.tsx
1769
2103
  var import_input = require("@base-ui/react/input");
1770
2104
  var import_cn8 = require("cn");
1771
- var import_jsx_runtime21 = require("react/jsx-runtime");
2105
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1772
2106
  function Input({ className, type, ...props }) {
1773
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2107
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1774
2108
  import_input.Input,
1775
2109
  {
1776
2110
  type,
@@ -1785,14 +2119,14 @@ function Input({ className, type, ...props }) {
1785
2119
  }
1786
2120
 
1787
2121
  // src/components/input/Input.tsx
1788
- var import_jsx_runtime22 = require("react/jsx-runtime");
1789
- var Input2 = React13.forwardRef(
2122
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2123
+ var Input2 = React16.forwardRef(
1790
2124
  ({ className, icon, actionButton, label, description, error, id, disabled, ...props }, ref) => {
1791
- const generatedId = React13.useId();
2125
+ const generatedId = React16.useId();
1792
2126
  const inputId = id || generatedId;
1793
2127
  const errorId = `${inputId}-error`;
1794
2128
  const descriptionId = `${inputId}-description`;
1795
- const inputElement = /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2129
+ const inputElement = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1796
2130
  Input,
1797
2131
  {
1798
2132
  ref,
@@ -1812,8 +2146,8 @@ var Input2 = React13.forwardRef(
1812
2146
  }
1813
2147
  );
1814
2148
  if (!icon && !actionButton) {
1815
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-col gap-2", children: [
1816
- label && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2149
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col gap-2", children: [
2150
+ label && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1817
2151
  "label",
1818
2152
  {
1819
2153
  htmlFor: inputId,
@@ -1826,9 +2160,9 @@ var Input2 = React13.forwardRef(
1826
2160
  }
1827
2161
  ),
1828
2162
  inputElement,
1829
- (description || error) && /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-col gap-1", children: [
1830
- description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1831
- error && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2163
+ (description || error) && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col gap-1", children: [
2164
+ description && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
2165
+ error && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1832
2166
  Typography,
1833
2167
  {
1834
2168
  variant: "xs",
@@ -1840,8 +2174,8 @@ var Input2 = React13.forwardRef(
1840
2174
  ] })
1841
2175
  ] });
1842
2176
  }
1843
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-col gap-2", children: [
1844
- label && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2177
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col gap-2", children: [
2178
+ label && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1845
2179
  "label",
1846
2180
  {
1847
2181
  htmlFor: inputId,
@@ -1853,14 +2187,14 @@ var Input2 = React13.forwardRef(
1853
2187
  children: label
1854
2188
  }
1855
2189
  ),
1856
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "relative w-full", children: [
1857
- icon && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "absolute left-3 top-1/2 -translate-y-1/2", children: icon }),
2190
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "relative w-full", children: [
2191
+ icon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute left-3 top-1/2 -translate-y-1/2", children: icon }),
1858
2192
  inputElement,
1859
- actionButton && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
2193
+ actionButton && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
1860
2194
  ] }),
1861
- (description || error) && /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-col gap-1", children: [
1862
- description && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
1863
- error && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
2195
+ (description || error) && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col gap-1", children: [
2196
+ description && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
2197
+ error && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
1864
2198
  ] })
1865
2199
  ] });
1866
2200
  }
@@ -1868,33 +2202,33 @@ var Input2 = React13.forwardRef(
1868
2202
  Input2.displayName = "Input";
1869
2203
 
1870
2204
  // src/components/checkbox/Checkbox.tsx
1871
- var React14 = __toESM(require("react"), 1);
2205
+ var React17 = __toESM(require("react"), 1);
1872
2206
  var import_checkbox2 = require("@base-ui/react/checkbox");
1873
- var import_lucide_react6 = require("lucide-react");
2207
+ var import_lucide_react7 = require("lucide-react");
1874
2208
  var import_class_variance_authority10 = require("class-variance-authority");
1875
2209
 
1876
2210
  // src/primitives/checkbox.tsx
1877
2211
  var import_checkbox = require("@base-ui/react/checkbox");
1878
2212
  var import_cn9 = require("cn");
1879
- var import_lucide_react5 = require("lucide-react");
1880
- var import_jsx_runtime23 = require("react/jsx-runtime");
2213
+ var import_lucide_react6 = require("lucide-react");
2214
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1881
2215
  function Checkbox({ className, ...props }) {
1882
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2216
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1883
2217
  import_checkbox.Checkbox.Root,
1884
2218
  {
1885
2219
  "data-slot": "checkbox",
1886
2220
  className: (0, import_cn9.cn)(
1887
- "peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",
2221
+ "peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",
1888
2222
  className
1889
2223
  ),
1890
2224
  ...props,
1891
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2225
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1892
2226
  import_checkbox.Checkbox.Indicator,
1893
2227
  {
1894
2228
  "data-slot": "checkbox-indicator",
1895
2229
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
1896
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1897
- import_lucide_react5.CheckIcon,
2230
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2231
+ import_lucide_react6.CheckIcon,
1898
2232
  {}
1899
2233
  )
1900
2234
  }
@@ -1904,7 +2238,7 @@ function Checkbox({ className, ...props }) {
1904
2238
  }
1905
2239
 
1906
2240
  // src/components/checkbox/Checkbox.tsx
1907
- var import_jsx_runtime24 = require("react/jsx-runtime");
2241
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1908
2242
  var checkboxVariants = (0, import_class_variance_authority10.cva)(
1909
2243
  "inline-flex items-center justify-center rounded-md transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
1910
2244
  {
@@ -1926,7 +2260,7 @@ var checkboxVariants = (0, import_class_variance_authority10.cva)(
1926
2260
  }
1927
2261
  }
1928
2262
  );
1929
- var Checkbox2 = React14.forwardRef(
2263
+ var Checkbox2 = React17.forwardRef(
1930
2264
  ({
1931
2265
  "aria-label": ariaLabel,
1932
2266
  className,
@@ -1939,11 +2273,11 @@ var Checkbox2 = React14.forwardRef(
1939
2273
  disabled,
1940
2274
  ...props
1941
2275
  }, ref) => {
1942
- const generatedId = React14.useId();
2276
+ const generatedId = React17.useId();
1943
2277
  const checkboxId = id || generatedId;
1944
2278
  const errorId = `${checkboxId}-error`;
1945
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex items-start gap-3", children: [
1946
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2279
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex items-start gap-3", children: [
2280
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1947
2281
  Checkbox,
1948
2282
  {
1949
2283
  ref,
@@ -1960,8 +2294,8 @@ var Checkbox2 = React14.forwardRef(
1960
2294
  className
1961
2295
  ),
1962
2296
  ...props,
1963
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1964
- import_lucide_react6.Check,
2297
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2298
+ import_lucide_react7.Check,
1965
2299
  {
1966
2300
  className: "h-4 w-4 text-current stroke-current",
1967
2301
  style: { color: "currentColor", stroke: "currentColor" }
@@ -1969,8 +2303,8 @@ var Checkbox2 = React14.forwardRef(
1969
2303
  ) })
1970
2304
  }
1971
2305
  ) }),
1972
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex flex-col gap-1", children: [
1973
- label && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2306
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col gap-1", children: [
2307
+ label && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1974
2308
  "label",
1975
2309
  {
1976
2310
  htmlFor: checkboxId,
@@ -1982,8 +2316,8 @@ var Checkbox2 = React14.forwardRef(
1982
2316
  children: label
1983
2317
  }
1984
2318
  ),
1985
- description && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
1986
- error && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
2319
+ description && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
2320
+ error && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
1987
2321
  ] })
1988
2322
  ] });
1989
2323
  }
@@ -1991,10 +2325,10 @@ var Checkbox2 = React14.forwardRef(
1991
2325
  Checkbox2.displayName = "Checkbox";
1992
2326
 
1993
2327
  // src/components/switch/Switch.tsx
1994
- var React15 = __toESM(require("react"), 1);
2328
+ var React18 = __toESM(require("react"), 1);
1995
2329
  var import_switch = require("@base-ui/react/switch");
1996
2330
  var import_class_variance_authority11 = require("class-variance-authority");
1997
- var import_jsx_runtime25 = require("react/jsx-runtime");
2331
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1998
2332
  var switchRootVariants = (0, import_class_variance_authority11.cva)(
1999
2333
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-berget-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
2000
2334
  {
@@ -2031,7 +2365,7 @@ var switchThumbVariants = (0, import_class_variance_authority11.cva)(
2031
2365
  }
2032
2366
  }
2033
2367
  );
2034
- var Switch = React15.forwardRef(
2368
+ var Switch = React18.forwardRef(
2035
2369
  ({
2036
2370
  "aria-label": ariaLabel,
2037
2371
  className,
@@ -2044,11 +2378,11 @@ var Switch = React15.forwardRef(
2044
2378
  disabled,
2045
2379
  ...props
2046
2380
  }, ref) => {
2047
- const generatedId = React15.useId();
2381
+ const generatedId = React18.useId();
2048
2382
  const switchId = id || generatedId;
2049
2383
  const errorId = `${switchId}-error`;
2050
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex items-center gap-3", children: [
2051
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2384
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-3", children: [
2385
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2052
2386
  import_switch.Switch.Root,
2053
2387
  {
2054
2388
  ref,
@@ -2064,11 +2398,11 @@ var Switch = React15.forwardRef(
2064
2398
  className
2065
2399
  ),
2066
2400
  ...props,
2067
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
2401
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
2068
2402
  }
2069
2403
  ),
2070
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col gap-1", children: [
2071
- label && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2404
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex flex-col gap-1", children: [
2405
+ label && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2072
2406
  "label",
2073
2407
  {
2074
2408
  htmlFor: switchId,
@@ -2079,8 +2413,8 @@ var Switch = React15.forwardRef(
2079
2413
  children: label
2080
2414
  }
2081
2415
  ),
2082
- description && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
2083
- error && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
2416
+ description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
2417
+ error && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
2084
2418
  ] })
2085
2419
  ] });
2086
2420
  }
@@ -2088,17 +2422,17 @@ var Switch = React15.forwardRef(
2088
2422
  Switch.displayName = "Switch";
2089
2423
 
2090
2424
  // src/components/select/Select.tsx
2091
- var React16 = __toESM(require("react"), 1);
2425
+ var React19 = __toESM(require("react"), 1);
2092
2426
  var import_class_variance_authority12 = require("class-variance-authority");
2093
2427
 
2094
2428
  // src/primitives/select.tsx
2095
2429
  var import_select = require("@base-ui/react/select");
2096
2430
  var import_cn10 = require("cn");
2097
- var import_lucide_react7 = require("lucide-react");
2098
- var import_jsx_runtime26 = require("react/jsx-runtime");
2431
+ var import_lucide_react8 = require("lucide-react");
2432
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2099
2433
  var Select = import_select.Select.Root;
2100
2434
  function SelectValue({ className, ...props }) {
2101
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2435
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2102
2436
  import_select.Select.Value,
2103
2437
  {
2104
2438
  "data-slot": "select-value",
@@ -2113,22 +2447,22 @@ function SelectTrigger({
2113
2447
  children,
2114
2448
  ...props
2115
2449
  }) {
2116
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2450
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2117
2451
  import_select.Select.Trigger,
2118
2452
  {
2119
2453
  "data-slot": "select-trigger",
2120
2454
  "data-size": size,
2121
2455
  className: (0, import_cn10.cn)(
2122
- "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
2456
+ "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
2123
2457
  className
2124
2458
  ),
2125
2459
  ...props,
2126
2460
  children: [
2127
2461
  children,
2128
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2462
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2129
2463
  import_select.Select.Icon,
2130
2464
  {
2131
- render: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react7.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
2465
+ render: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react8.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
2132
2466
  }
2133
2467
  )
2134
2468
  ]
@@ -2145,7 +2479,7 @@ function SelectContent({
2145
2479
  alignItemWithTrigger = true,
2146
2480
  ...props
2147
2481
  }) {
2148
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2482
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2149
2483
  import_select.Select.Positioner,
2150
2484
  {
2151
2485
  side,
@@ -2154,7 +2488,7 @@ function SelectContent({
2154
2488
  alignOffset,
2155
2489
  alignItemWithTrigger,
2156
2490
  className: "isolate z-50",
2157
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2491
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2158
2492
  import_select.Select.Popup,
2159
2493
  {
2160
2494
  "data-slot": "select-content",
@@ -2162,9 +2496,9 @@ function SelectContent({
2162
2496
  className: (0, import_cn10.cn)("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
2163
2497
  ...props,
2164
2498
  children: [
2165
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SelectScrollUpButton, {}),
2166
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_select.Select.List, { children }),
2167
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SelectScrollDownButton, {})
2499
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectScrollUpButton, {}),
2500
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_select.Select.List, { children }),
2501
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SelectScrollDownButton, {})
2168
2502
  ]
2169
2503
  }
2170
2504
  )
@@ -2176,7 +2510,7 @@ function SelectItem({
2176
2510
  children,
2177
2511
  ...props
2178
2512
  }) {
2179
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2513
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2180
2514
  import_select.Select.Item,
2181
2515
  {
2182
2516
  "data-slot": "select-item",
@@ -2186,12 +2520,12 @@ function SelectItem({
2186
2520
  ),
2187
2521
  ...props,
2188
2522
  children: [
2189
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
2190
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2523
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
2524
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2191
2525
  import_select.Select.ItemIndicator,
2192
2526
  {
2193
- render: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
2194
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react7.CheckIcon, { className: "pointer-events-none" })
2527
+ render: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
2528
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react8.CheckIcon, { className: "pointer-events-none" })
2195
2529
  }
2196
2530
  )
2197
2531
  ]
@@ -2202,7 +2536,7 @@ function SelectScrollUpButton({
2202
2536
  className,
2203
2537
  ...props
2204
2538
  }) {
2205
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2539
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2206
2540
  import_select.Select.ScrollUpArrow,
2207
2541
  {
2208
2542
  "data-slot": "select-scroll-up-button",
@@ -2211,8 +2545,8 @@ function SelectScrollUpButton({
2211
2545
  className
2212
2546
  ),
2213
2547
  ...props,
2214
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2215
- import_lucide_react7.ChevronUpIcon,
2548
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2549
+ import_lucide_react8.ChevronUpIcon,
2216
2550
  {}
2217
2551
  )
2218
2552
  }
@@ -2222,7 +2556,7 @@ function SelectScrollDownButton({
2222
2556
  className,
2223
2557
  ...props
2224
2558
  }) {
2225
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2559
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2226
2560
  import_select.Select.ScrollDownArrow,
2227
2561
  {
2228
2562
  "data-slot": "select-scroll-down-button",
@@ -2231,8 +2565,8 @@ function SelectScrollDownButton({
2231
2565
  className
2232
2566
  ),
2233
2567
  ...props,
2234
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2235
- import_lucide_react7.ChevronDownIcon,
2568
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2569
+ import_lucide_react8.ChevronDownIcon,
2236
2570
  {}
2237
2571
  )
2238
2572
  }
@@ -2240,7 +2574,7 @@ function SelectScrollDownButton({
2240
2574
  }
2241
2575
 
2242
2576
  // src/components/select/Select.tsx
2243
- var import_jsx_runtime27 = require("react/jsx-runtime");
2577
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2244
2578
  var selectVariants = (0, import_class_variance_authority12.cva)(
2245
2579
  "flex w-full items-center justify-between rounded-berget-xs border bg-card px-4 py-3 text-sm transition-colors duration-200 focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-berget-form-focus-border disabled:cursor-not-allowed disabled:opacity-50",
2246
2580
  {
@@ -2263,7 +2597,7 @@ var selectVariants = (0, import_class_variance_authority12.cva)(
2263
2597
  }
2264
2598
  }
2265
2599
  );
2266
- var Select2 = React16.forwardRef(
2600
+ var Select2 = React19.forwardRef(
2267
2601
  ({
2268
2602
  className,
2269
2603
  variant,
@@ -2281,12 +2615,12 @@ var Select2 = React16.forwardRef(
2281
2615
  name,
2282
2616
  required
2283
2617
  }, ref) => {
2284
- const generatedId = React16.useId();
2618
+ const generatedId = React19.useId();
2285
2619
  const selectId = id || generatedId;
2286
2620
  const errorId = `${selectId}-error`;
2287
2621
  const descriptionId = `${selectId}-description`;
2288
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col gap-2", children: [
2289
- label && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2622
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-2", children: [
2623
+ label && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2290
2624
  "label",
2291
2625
  {
2292
2626
  htmlFor: selectId,
@@ -2298,7 +2632,7 @@ var Select2 = React16.forwardRef(
2298
2632
  children: label
2299
2633
  }
2300
2634
  ),
2301
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2635
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2302
2636
  Select,
2303
2637
  {
2304
2638
  value,
@@ -2309,7 +2643,7 @@ var Select2 = React16.forwardRef(
2309
2643
  required,
2310
2644
  items: options,
2311
2645
  children: [
2312
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2646
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2313
2647
  SelectTrigger,
2314
2648
  {
2315
2649
  ref,
@@ -2321,33 +2655,33 @@ var Select2 = React16.forwardRef(
2321
2655
  error && "border-berget-destructive-foreground/50 bg-berget-destructive",
2322
2656
  className
2323
2657
  ),
2324
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectValue, { placeholder })
2658
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectValue, { placeholder })
2325
2659
  }
2326
2660
  ),
2327
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectContent, { children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SelectItem, { value: option.value, disabled: option.disabled, children: option.label }, option.value)) })
2661
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectContent, { children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectItem, { value: option.value, disabled: option.disabled, children: option.label }, option.value)) })
2328
2662
  ]
2329
2663
  }
2330
2664
  ),
2331
- description && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
2332
- error && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
2665
+ description && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
2666
+ error && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
2333
2667
  ] });
2334
2668
  }
2335
2669
  );
2336
2670
  Select2.displayName = "Select";
2337
2671
 
2338
2672
  // src/components/country-select/CountrySelect.tsx
2339
- var React18 = __toESM(require("react"), 1);
2340
- var import_lucide_react10 = require("lucide-react");
2673
+ var React21 = __toESM(require("react"), 1);
2674
+ var import_lucide_react11 = require("lucide-react");
2341
2675
 
2342
2676
  // src/components/icon/Icon.tsx
2343
- var React17 = __toESM(require("react"), 1);
2344
- var import_jsx_runtime28 = require("react/jsx-runtime");
2677
+ var React20 = __toESM(require("react"), 1);
2678
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2345
2679
  var iconStrokeMap = {
2346
2680
  16: 1.4,
2347
2681
  24: 1.6,
2348
2682
  32: 1.8
2349
2683
  };
2350
- var Icon = React17.forwardRef(
2684
+ var Icon = React20.forwardRef(
2351
2685
  ({
2352
2686
  icon: IconComponent,
2353
2687
  size,
@@ -2359,7 +2693,7 @@ var Icon = React17.forwardRef(
2359
2693
  const strokeWidth = iconStrokeMap[size];
2360
2694
  const sizeClass = size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
2361
2695
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
2362
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2696
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2363
2697
  IconComponent,
2364
2698
  {
2365
2699
  ref,
@@ -2376,12 +2710,12 @@ Icon.displayName = "Icon";
2376
2710
  // src/primitives/popover.tsx
2377
2711
  var import_popover = require("@base-ui/react/popover");
2378
2712
  var import_cn11 = require("cn");
2379
- var import_jsx_runtime29 = require("react/jsx-runtime");
2713
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2380
2714
  function Popover({ ...props }) {
2381
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
2715
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
2382
2716
  }
2383
2717
  function PopoverTrigger({ ...props }) {
2384
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
2718
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
2385
2719
  }
2386
2720
  function PopoverContent({
2387
2721
  className,
@@ -2391,7 +2725,7 @@ function PopoverContent({
2391
2725
  sideOffset = 4,
2392
2726
  ...props
2393
2727
  }) {
2394
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2728
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2395
2729
  import_popover.Popover.Positioner,
2396
2730
  {
2397
2731
  align,
@@ -2399,7 +2733,7 @@ function PopoverContent({
2399
2733
  side,
2400
2734
  sideOffset,
2401
2735
  className: "isolate z-50",
2402
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2736
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2403
2737
  import_popover.Popover.Popup,
2404
2738
  {
2405
2739
  "data-slot": "popover-content",
@@ -2421,8 +2755,8 @@ var import_cn15 = require("cn");
2421
2755
  // src/primitives/dialog.tsx
2422
2756
  var import_dialog2 = require("@base-ui/react/dialog");
2423
2757
  var import_cn12 = require("cn");
2424
- var import_lucide_react8 = require("lucide-react");
2425
- var import_jsx_runtime30 = require("react/jsx-runtime");
2758
+ var import_lucide_react9 = require("lucide-react");
2759
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2426
2760
 
2427
2761
  // src/primitives/input-group.tsx
2428
2762
  var import_class_variance_authority13 = require("class-variance-authority");
@@ -2430,9 +2764,9 @@ var import_cn14 = require("cn");
2430
2764
 
2431
2765
  // src/primitives/textarea.tsx
2432
2766
  var import_cn13 = require("cn");
2433
- var import_jsx_runtime31 = require("react/jsx-runtime");
2767
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2434
2768
  function Textarea({ className, ...props }) {
2435
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2769
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2436
2770
  "textarea",
2437
2771
  {
2438
2772
  "data-slot": "textarea",
@@ -2446,9 +2780,9 @@ function Textarea({ className, ...props }) {
2446
2780
  }
2447
2781
 
2448
2782
  // src/primitives/input-group.tsx
2449
- var import_jsx_runtime32 = require("react/jsx-runtime");
2783
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2450
2784
  function InputGroup({ className, ...props }) {
2451
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2785
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2452
2786
  "div",
2453
2787
  {
2454
2788
  "data-slot": "input-group",
@@ -2482,7 +2816,7 @@ function InputGroupAddon({
2482
2816
  align = "inline-start",
2483
2817
  ...props
2484
2818
  }) {
2485
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2819
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2486
2820
  "div",
2487
2821
  {
2488
2822
  role: "group",
@@ -2517,13 +2851,13 @@ var inputGroupButtonVariants = (0, import_class_variance_authority13.cva)(
2517
2851
  );
2518
2852
 
2519
2853
  // src/primitives/command.tsx
2520
- var import_lucide_react9 = require("lucide-react");
2521
- var import_jsx_runtime33 = require("react/jsx-runtime");
2854
+ var import_lucide_react10 = require("lucide-react");
2855
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2522
2856
  function Command({
2523
2857
  className,
2524
2858
  ...props
2525
2859
  }) {
2526
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2860
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2527
2861
  import_cmdk.Command,
2528
2862
  {
2529
2863
  "data-slot": "command",
@@ -2539,8 +2873,8 @@ function CommandInput({
2539
2873
  className,
2540
2874
  ...props
2541
2875
  }) {
2542
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
2543
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2876
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
2877
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2544
2878
  import_cmdk.Command.Input,
2545
2879
  {
2546
2880
  "data-slot": "command-input",
@@ -2551,14 +2885,14 @@ function CommandInput({
2551
2885
  ...props
2552
2886
  }
2553
2887
  ),
2554
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react9.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
2888
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react10.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
2555
2889
  ] }) });
2556
2890
  }
2557
2891
  function CommandList({
2558
2892
  className,
2559
2893
  ...props
2560
2894
  }) {
2561
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2895
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2562
2896
  import_cmdk.Command.List,
2563
2897
  {
2564
2898
  "data-slot": "command-list",
@@ -2574,7 +2908,7 @@ function CommandEmpty({
2574
2908
  className,
2575
2909
  ...props
2576
2910
  }) {
2577
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2911
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2578
2912
  import_cmdk.Command.Empty,
2579
2913
  {
2580
2914
  "data-slot": "command-empty",
@@ -2587,7 +2921,7 @@ function CommandGroup({
2587
2921
  className,
2588
2922
  ...props
2589
2923
  }) {
2590
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2924
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2591
2925
  import_cmdk.Command.Group,
2592
2926
  {
2593
2927
  "data-slot": "command-group",
@@ -2604,7 +2938,7 @@ function CommandItem({
2604
2938
  children,
2605
2939
  ...props
2606
2940
  }) {
2607
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2941
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2608
2942
  import_cmdk.Command.Item,
2609
2943
  {
2610
2944
  "data-slot": "command-item",
@@ -2615,7 +2949,7 @@ function CommandItem({
2615
2949
  ...props,
2616
2950
  children: [
2617
2951
  children,
2618
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react9.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
2952
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react10.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
2619
2953
  ]
2620
2954
  }
2621
2955
  );
@@ -2763,8 +3097,8 @@ var isEUCountry = (countryCode) => {
2763
3097
  };
2764
3098
 
2765
3099
  // src/components/country-select/CountrySelect.tsx
2766
- var import_jsx_runtime34 = require("react/jsx-runtime");
2767
- var CountrySelect = React18.forwardRef(
3100
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3101
+ var CountrySelect = React21.forwardRef(
2768
3102
  ({
2769
3103
  value,
2770
3104
  onValueChange,
@@ -2774,14 +3108,14 @@ var CountrySelect = React18.forwardRef(
2774
3108
  align = "center",
2775
3109
  sideOffset = 4
2776
3110
  }, ref) => {
2777
- const [open, setOpen] = React18.useState(false);
2778
- const selectedCountry = React18.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
2779
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
2780
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3111
+ const [open, setOpen] = React21.useState(false);
3112
+ const selectedCountry = React21.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
3113
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
3114
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2781
3115
  PopoverTrigger,
2782
3116
  {
2783
3117
  ref,
2784
- render: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3118
+ render: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2785
3119
  "button",
2786
3120
  {
2787
3121
  type: "button",
@@ -2803,29 +3137,29 @@ var CountrySelect = React18.forwardRef(
2803
3137
  }
2804
3138
  ),
2805
3139
  children: [
2806
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
2807
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
2808
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "truncate", children: selectedCountry.name }),
2809
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
3140
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
3141
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
3142
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "truncate", children: selectedCountry.name }),
3143
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
2810
3144
  "(",
2811
3145
  selectedCountry.code,
2812
3146
  ")"
2813
3147
  ] })
2814
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
2815
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3148
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
3149
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2816
3150
  Icon,
2817
3151
  {
2818
- icon: import_lucide_react10.Globe,
3152
+ icon: import_lucide_react11.Globe,
2819
3153
  size: 16,
2820
3154
  className: "flex-shrink-0 text-berget-muted-foreground"
2821
3155
  }
2822
3156
  ),
2823
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
3157
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
2824
3158
  ] }) }),
2825
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3159
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2826
3160
  Icon,
2827
3161
  {
2828
- icon: import_lucide_react10.ChevronDown,
3162
+ icon: import_lucide_react11.ChevronDown,
2829
3163
  size: 16,
2830
3164
  className: cn(
2831
3165
  "flex-shrink-0 text-berget-muted-foreground",
@@ -2837,17 +3171,17 @@ var CountrySelect = React18.forwardRef(
2837
3171
  ]
2838
3172
  }
2839
3173
  ),
2840
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3174
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2841
3175
  PopoverContent,
2842
3176
  {
2843
3177
  align,
2844
3178
  sideOffset,
2845
3179
  className: "w-[var(--radix-popover-trigger-width)] p-0",
2846
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Command, { children: [
2847
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CommandInput, { placeholder: "Search country..." }),
2848
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(CommandList, { children: [
2849
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CommandEmpty, { children: "No countries found." }),
2850
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3180
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Command, { children: [
3181
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CommandInput, { placeholder: "Search country..." }),
3182
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(CommandList, { children: [
3183
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CommandEmpty, { children: "No countries found." }),
3184
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2851
3185
  CommandItem,
2852
3186
  {
2853
3187
  value: `${country.name} ${country.code}`,
@@ -2861,12 +3195,12 @@ var CountrySelect = React18.forwardRef(
2861
3195
  value === country.code && "bg-berget-brand-granite-800/40"
2862
3196
  ),
2863
3197
  children: [
2864
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
2865
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex-1 min-w-0", children: [
2866
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "text-sm truncate", children: country.name }),
2867
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
3198
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
3199
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex-1 min-w-0", children: [
3200
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-sm truncate", children: country.name }),
3201
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
2868
3202
  ] }),
2869
- value === country.code && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
3203
+ value === country.code && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
2870
3204
  ]
2871
3205
  },
2872
3206
  country.code
@@ -2881,9 +3215,9 @@ var CountrySelect = React18.forwardRef(
2881
3215
  CountrySelect.displayName = "CountrySelect";
2882
3216
 
2883
3217
  // src/components/text-area/TextArea.tsx
2884
- var React19 = __toESM(require("react"), 1);
3218
+ var React22 = __toESM(require("react"), 1);
2885
3219
  var import_class_variance_authority14 = require("class-variance-authority");
2886
- var import_jsx_runtime35 = require("react/jsx-runtime");
3220
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2887
3221
  var textAreaVariants = (0, import_class_variance_authority14.cva)(
2888
3222
  "rounded-berget-xs bg-card px-4 py-3 transition-colors duration-200 focus-visible:border-berget-form-focus-border focus-visible:ring-0 focus-visible:ring-offset-0 resize-y",
2889
3223
  {
@@ -2906,7 +3240,7 @@ var textAreaVariants = (0, import_class_variance_authority14.cva)(
2906
3240
  }
2907
3241
  }
2908
3242
  );
2909
- var TextArea = React19.forwardRef(
3243
+ var TextArea = React22.forwardRef(
2910
3244
  ({
2911
3245
  className,
2912
3246
  variant,
@@ -2926,13 +3260,13 @@ var TextArea = React19.forwardRef(
2926
3260
  actionButton,
2927
3261
  ...props
2928
3262
  }, ref) => {
2929
- const generatedId = React19.useId();
3263
+ const generatedId = React22.useId();
2930
3264
  const textareaId = id || generatedId;
2931
3265
  const errorId = `${textareaId}-error`;
2932
3266
  const descriptionId = `${textareaId}-description`;
2933
3267
  const characterCount = typeof value === "string" ? value.length : 0;
2934
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col gap-2", children: [
2935
- label && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3268
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col gap-2", children: [
3269
+ label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2936
3270
  "label",
2937
3271
  {
2938
3272
  htmlFor: textareaId,
@@ -2944,9 +3278,9 @@ var TextArea = React19.forwardRef(
2944
3278
  children: label
2945
3279
  }
2946
3280
  ),
2947
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "relative", children: [
2948
- icon && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: icon }),
2949
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3281
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "relative", children: [
3282
+ icon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: icon }),
3283
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2950
3284
  Textarea,
2951
3285
  {
2952
3286
  ref,
@@ -2971,13 +3305,13 @@ var TextArea = React19.forwardRef(
2971
3305
  ...props
2972
3306
  }
2973
3307
  ),
2974
- secondaryIcon && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "absolute right-12 top-1/2 -translate-y-1/2", children: secondaryIcon }),
2975
- actionButton && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
3308
+ secondaryIcon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "absolute right-12 top-1/2 -translate-y-1/2", children: secondaryIcon }),
3309
+ actionButton && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: actionButton })
2976
3310
  ] }),
2977
- (description || error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
2978
- description && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
2979
- (error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2 ml-auto", children: [
2980
- showCount && maxLength && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
3311
+ (description || error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
3312
+ description && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typography, { variant: "xs", color: "muted", id: descriptionId, children: description }),
3313
+ (error || showCount && maxLength) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-2 ml-auto", children: [
3314
+ showCount && maxLength && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
2981
3315
  Typography,
2982
3316
  {
2983
3317
  variant: "xs",
@@ -2991,7 +3325,7 @@ var TextArea = React19.forwardRef(
2991
3325
  ]
2992
3326
  }
2993
3327
  ),
2994
- error && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3328
+ error && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2995
3329
  Typography,
2996
3330
  {
2997
3331
  variant: "xs",
@@ -3009,9 +3343,9 @@ TextArea.displayName = "TextArea";
3009
3343
 
3010
3344
  // src/primitives/label.tsx
3011
3345
  var import_cn16 = require("cn");
3012
- var import_jsx_runtime36 = require("react/jsx-runtime");
3346
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3013
3347
  function Label({ className, ...props }) {
3014
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3348
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3015
3349
  "label",
3016
3350
  {
3017
3351
  "data-slot": "label",
@@ -3028,9 +3362,9 @@ function Label({ className, ...props }) {
3028
3362
  var import_react = require("react");
3029
3363
  var import_class_variance_authority15 = require("class-variance-authority");
3030
3364
  var import_cn17 = require("cn");
3031
- var import_jsx_runtime37 = require("react/jsx-runtime");
3365
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3032
3366
  function FieldSet({ className, ...props }) {
3033
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3367
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3034
3368
  "fieldset",
3035
3369
  {
3036
3370
  "data-slot": "field-set",
@@ -3047,7 +3381,7 @@ function FieldLegend({
3047
3381
  variant = "legend",
3048
3382
  ...props
3049
3383
  }) {
3050
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3384
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3051
3385
  "legend",
3052
3386
  {
3053
3387
  "data-slot": "field-legend",
@@ -3061,7 +3395,7 @@ function FieldLegend({
3061
3395
  );
3062
3396
  }
3063
3397
  function FieldGroup({ className, ...props }) {
3064
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3398
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3065
3399
  "div",
3066
3400
  {
3067
3401
  "data-slot": "field-group",
@@ -3093,7 +3427,7 @@ function Field({
3093
3427
  orientation = "vertical",
3094
3428
  ...props
3095
3429
  }) {
3096
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3430
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3097
3431
  "div",
3098
3432
  {
3099
3433
  role: "group",
@@ -3105,7 +3439,7 @@ function Field({
3105
3439
  );
3106
3440
  }
3107
3441
  function FieldContent({ className, ...props }) {
3108
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3442
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3109
3443
  "div",
3110
3444
  {
3111
3445
  "data-slot": "field-content",
@@ -3121,7 +3455,7 @@ function FieldLabel({
3121
3455
  className,
3122
3456
  ...props
3123
3457
  }) {
3124
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3458
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3125
3459
  Label,
3126
3460
  {
3127
3461
  "data-slot": "field-label",
@@ -3135,7 +3469,7 @@ function FieldLabel({
3135
3469
  );
3136
3470
  }
3137
3471
  function FieldTitle({ className, ...props }) {
3138
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3472
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3139
3473
  "div",
3140
3474
  {
3141
3475
  "data-slot": "field-label",
@@ -3148,7 +3482,7 @@ function FieldTitle({ className, ...props }) {
3148
3482
  );
3149
3483
  }
3150
3484
  function FieldDescription({ className, ...props }) {
3151
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3485
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3152
3486
  "p",
3153
3487
  {
3154
3488
  "data-slot": "field-description",
@@ -3167,7 +3501,7 @@ function FieldSeparator({
3167
3501
  className,
3168
3502
  ...props
3169
3503
  }) {
3170
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3504
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3171
3505
  "div",
3172
3506
  {
3173
3507
  "data-slot": "field-separator",
@@ -3178,8 +3512,8 @@ function FieldSeparator({
3178
3512
  ),
3179
3513
  ...props,
3180
3514
  children: [
3181
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
3182
- children && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3515
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
3516
+ children && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3183
3517
  "span",
3184
3518
  {
3185
3519
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -3210,14 +3544,14 @@ function FieldError({
3210
3544
  if (uniqueErrors?.length == 1) {
3211
3545
  return uniqueErrors[0]?.message;
3212
3546
  }
3213
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
3214
- (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("li", { children: error.message }, index)
3547
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
3548
+ (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", { children: error.message }, index)
3215
3549
  ) });
3216
3550
  }, [children, errors]);
3217
3551
  if (!content) {
3218
3552
  return null;
3219
3553
  }
3220
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3554
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3221
3555
  "div",
3222
3556
  {
3223
3557
  role: "alert",
@@ -3230,10 +3564,10 @@ function FieldError({
3230
3564
  }
3231
3565
 
3232
3566
  // src/components/link/Link.tsx
3233
- var React20 = __toESM(require("react"), 1);
3567
+ var React23 = __toESM(require("react"), 1);
3234
3568
  var import_class_variance_authority16 = require("class-variance-authority");
3235
- var import_lucide_react11 = require("lucide-react");
3236
- var import_jsx_runtime38 = require("react/jsx-runtime");
3569
+ var import_lucide_react12 = require("lucide-react");
3570
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3237
3571
  var linkVariants = (0, import_class_variance_authority16.cva)(
3238
3572
  "inline-flex cursor-pointer items-center gap-2 transition-all duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
3239
3573
  {
@@ -3258,7 +3592,7 @@ var linkVariants = (0, import_class_variance_authority16.cva)(
3258
3592
  }
3259
3593
  }
3260
3594
  );
3261
- var Link = React20.forwardRef(
3595
+ var Link = React23.forwardRef(
3262
3596
  ({
3263
3597
  className,
3264
3598
  variant,
@@ -3271,7 +3605,7 @@ var Link = React20.forwardRef(
3271
3605
  ...props
3272
3606
  }, ref) => {
3273
3607
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
3274
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3608
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3275
3609
  "a",
3276
3610
  {
3277
3611
  ref,
@@ -3287,8 +3621,8 @@ var Link = React20.forwardRef(
3287
3621
  },
3288
3622
  children: [
3289
3623
  children,
3290
- icon && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "inline-flex items-center", children: icon }),
3291
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { icon: import_lucide_react11.ExternalLink, size: 16 }) })
3624
+ icon && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "inline-flex items-center", children: icon }),
3625
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: import_lucide_react12.ExternalLink, size: 16 }) })
3292
3626
  ]
3293
3627
  }
3294
3628
  );
@@ -3297,7 +3631,7 @@ var Link = React20.forwardRef(
3297
3631
  Link.displayName = "Link";
3298
3632
 
3299
3633
  // src/components/container/Container.tsx
3300
- var React21 = __toESM(require("react"), 1);
3634
+ var React24 = __toESM(require("react"), 1);
3301
3635
  var import_merge_props2 = require("@base-ui/react/merge-props");
3302
3636
  var import_use_render2 = require("@base-ui/react/use-render");
3303
3637
  var import_class_variance_authority17 = require("class-variance-authority");
@@ -3322,7 +3656,7 @@ var containerVariants = (0, import_class_variance_authority17.cva)("w-full mx-au
3322
3656
  padding: "md"
3323
3657
  }
3324
3658
  });
3325
- var Container = React21.forwardRef(
3659
+ var Container = React24.forwardRef(
3326
3660
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
3327
3661
  return (0, import_use_render2.useRender)({
3328
3662
  ref,
@@ -3341,7 +3675,7 @@ var Container = React21.forwardRef(
3341
3675
  Container.displayName = "Container";
3342
3676
 
3343
3677
  // src/components/grid/Grid.tsx
3344
- var React22 = __toESM(require("react"), 1);
3678
+ var React25 = __toESM(require("react"), 1);
3345
3679
  var import_class_variance_authority18 = require("class-variance-authority");
3346
3680
  var import_merge_props3 = require("@base-ui/react/merge-props");
3347
3681
  var import_use_render3 = require("@base-ui/react/use-render");
@@ -3367,7 +3701,7 @@ var gridVariants = (0, import_class_variance_authority18.cva)("grid", {
3367
3701
  justify: "start"
3368
3702
  }
3369
3703
  });
3370
- var Grid = React22.forwardRef(
3704
+ var Grid = React25.forwardRef(
3371
3705
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
3372
3706
  return (0, import_use_render3.useRender)({
3373
3707
  ref,
@@ -3394,7 +3728,7 @@ var Grid = React22.forwardRef(
3394
3728
  Grid.displayName = "Grid";
3395
3729
 
3396
3730
  // src/components/box/Box.tsx
3397
- var React23 = __toESM(require("react"), 1);
3731
+ var React26 = __toESM(require("react"), 1);
3398
3732
  var import_class_variance_authority19 = require("class-variance-authority");
3399
3733
  var import_merge_props4 = require("@base-ui/react/merge-props");
3400
3734
  var import_use_render4 = require("@base-ui/react/use-render");
@@ -3434,7 +3768,7 @@ var boxVariants = (0, import_class_variance_authority19.cva)("flex", {
3434
3768
  wrap: "nowrap"
3435
3769
  }
3436
3770
  });
3437
- var Box = React23.forwardRef(
3771
+ var Box = React26.forwardRef(
3438
3772
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
3439
3773
  return (0, import_use_render4.useRender)({
3440
3774
  ref,
@@ -3456,136 +3790,20 @@ var Box = React23.forwardRef(
3456
3790
  );
3457
3791
  Box.displayName = "Box";
3458
3792
 
3459
- // src/components/berget-logo/BergetLogo.tsx
3460
- var React24 = __toESM(require("react"), 1);
3461
- var import_jsx_runtime39 = require("react/jsx-runtime");
3462
- var BergetLogo = React24.forwardRef(
3463
- ({ variant = "logotype", color = "auto", size = 48, className, ...props }, ref) => {
3464
- const fillColor = color === "auto" ? "var(--berget-logo-light)" : color === "white" ? "var(--berget-logo-light)" : "var(--berget-logo-dark)";
3465
- if (variant === "symbol") {
3466
- const aspectRatio2 = 463 / 419;
3467
- const width2 = size * aspectRatio2;
3468
- const height2 = size;
3469
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3470
- "svg",
3471
- {
3472
- ref,
3473
- width: width2,
3474
- height: height2,
3475
- viewBox: "0 0 463 419",
3476
- fill: "none",
3477
- xmlns: "http://www.w3.org/2000/svg",
3478
- role: "img",
3479
- "aria-label": "Berget symbol",
3480
- className: cn("inline-block", className),
3481
- ...props,
3482
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3483
- "path",
3484
- {
3485
- d: "M208.739 17L255.261 17L446 403L398 403L313.5 255L261.5 176L233.163 96.1677L237.815 98.6522H226.185L230.837 96.1677L113 331L64.5 403L18 403L208.739 17Z",
3486
- style: { fill: fillColor }
3487
- }
3488
- )
3489
- }
3490
- );
3491
- }
3492
- const aspectRatio = 793.63 / 204.37;
3493
- const width = size * aspectRatio;
3494
- const height = size;
3495
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3496
- "svg",
3497
- {
3498
- ref,
3499
- width,
3500
- height,
3501
- viewBox: "0 0 793.63 204.37",
3502
- fill: "none",
3503
- xmlns: "http://www.w3.org/2000/svg",
3504
- role: "img",
3505
- "aria-label": "Berget",
3506
- className: cn("inline-block", className),
3507
- ...props,
3508
- children: [
3509
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("g", { style: { fill: fillColor }, children: [
3510
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3511
- "path",
3512
- {
3513
- className: "berget-logotype-fill",
3514
- d: "M268.78,172.54v-96.04h37.74c10.39,0,18.26,2.33,23.6,7,5.33,4.67,8.01,10.52,8.01,17.56,0,6.13-1.72,11-5.15,14.61-3.43,3.61-7.58,6.06-12.44,7.34,3.81.73,7.22,2.2,10.22,4.39,3.01,2.2,5.36,4.94,7.08,8.23,1.72,3.29,2.58,6.86,2.58,10.7,0,4.94-1.27,9.4-3.79,13.38-2.53,3.98-6.22,7.11-11.08,9.4-4.86,2.29-10.82,3.43-17.87,3.43h-38.89ZM283.93,117.66h20.74c5.81,0,10.24-1.3,13.29-3.91,3.05-2.61,4.58-6.19,4.58-10.77s-1.51-8.05-4.51-10.7c-3-2.65-7.55-3.98-13.65-3.98h-20.45v29.36ZM283.93,160.61h21.74c6.1,0,10.84-1.37,14.22-4.11,3.38-2.75,5.08-6.59,5.08-11.53s-1.76-8.85-5.29-11.73-8.29-4.32-14.3-4.32h-21.45v31.69Z"
3515
- }
3516
- ),
3517
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3518
- "path",
3519
- {
3520
- className: "berget-logotype-fill",
3521
- d: "M382.45,174.19c-6.96,0-13.13-1.49-18.52-4.46-5.39-2.97-9.6-7.11-12.65-12.42-3.05-5.3-4.57-11.48-4.57-18.52s1.5-13.4,4.5-18.79,7.19-9.61,12.58-12.62c5.39-3.02,11.65-4.53,18.81-4.53s13,1.48,18.15,4.46c5.15,2.97,9.16,6.93,12.01,11.87,2.86,4.94,4.29,10.38,4.29,16.33,0,.92-.02,1.9-.07,2.95-.05,1.05-.12,2.22-.22,3.5h-55.19c.48,6.59,2.75,11.59,6.79,15.02,4.05,3.43,8.75,5.14,14.09,5.14,4.29,0,7.89-.93,10.79-2.81,2.91-1.88,5.08-4.41,6.51-7.61h15.16c-1.91,6.4-5.7,11.75-11.37,16.05-5.68,4.3-12.71,6.45-21.09,6.45ZM382.45,114.78c-5.05,0-9.54,1.44-13.44,4.32-3.91,2.88-6.29,7.2-7.15,12.97h40.04c-.29-5.3-2.24-9.51-5.87-12.62-3.62-3.11-8.15-4.67-13.58-4.67Z"
3522
- }
3523
- ),
3524
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3525
- "path",
3526
- {
3527
- className: "berget-logotype-fill",
3528
- d: "M425.62,172.54v-68.05h13.59l1.29,12.9c2.47-4.48,5.93-8.03,10.37-10.63,4.43-2.61,9.79-3.91,16.08-3.91v15.23h-4.15c-4.19,0-7.93.67-11.22,1.99-3.29,1.33-5.91,3.57-7.86,6.72-1.96,3.16-2.93,7.53-2.93,13.1v32.65h-15.16Z"
3529
- }
3530
- ),
3531
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3532
- "path",
3533
- {
3534
- className: "berget-logotype-fill",
3535
- d: "M500.25,151.69c-3.72,0-7.14-.41-10.29-1.24l-6.15,5.76c1.05.64,2.34,1.19,3.86,1.65,1.52.46,3.66.87,6.43,1.23,2.76.37,6.53.73,11.29,1.1,9.43.82,16.25,3,20.44,6.52,4.2,3.52,6.29,8.21,6.29,14.06,0,4.02-1.12,7.84-3.35,11.45-2.24,3.61-5.72,6.54-10.44,8.78s-10.74,3.36-18.09,3.36c-9.91,0-17.94-1.8-24.09-5.42-6.15-3.62-9.22-9.08-9.22-16.4,0-2.84.78-5.65,2.35-8.44,1.57-2.79,4.08-5.42,7.51-7.89-2-.83-3.74-1.72-5.22-2.68-1.48-.96-2.79-1.94-3.94-2.95v-3.29l12.3-12.07c-5.53-4.57-8.29-10.56-8.29-17.97,0-4.48,1.12-8.58,3.36-12.28,2.24-3.7,5.5-6.65,9.79-8.85,4.29-2.2,9.43-3.29,15.44-3.29,4.01,0,7.72.55,11.15,1.64h26.45v9.6l-12.58.69c2.28,3.75,3.43,7.91,3.43,12.49s-1.13,8.69-3.36,12.35c-2.24,3.66-5.48,6.59-9.72,8.78-4.25,2.2-9.37,3.29-15.37,3.29ZM481.24,181.19c0,3.93,1.81,6.88,5.44,8.85,3.62,1.97,8.15,2.95,13.58,2.95s9.48-1.07,12.72-3.22c3.24-2.15,4.86-5,4.86-8.57,0-2.65-1.09-4.92-3.29-6.79-2.19-1.87-6.34-3.04-12.44-3.5-4.57-.27-8.63-.68-12.15-1.23-3.34,1.74-5.63,3.61-6.86,5.63-1.25,2.01-1.86,3.98-1.86,5.9ZM500.25,140.3c4.38,0,7.93-1.12,10.66-3.36,2.71-2.24,4.07-5.42,4.07-9.53s-1.36-7.41-4.07-9.6c-2.72-2.2-6.27-3.29-10.66-3.29s-8.08,1.1-10.79,3.29c-2.71,2.2-4.08,5.4-4.08,9.6s1.36,7.3,4.08,9.53c2.71,2.24,6.31,3.36,10.79,3.36Z"
3536
- }
3537
- ),
3538
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3539
- "path",
3540
- {
3541
- className: "berget-logotype-fill",
3542
- d: "M574.61,174.19c-6.96,0-13.13-1.49-18.52-4.46-5.39-2.97-9.6-7.11-12.65-12.42-3.05-5.3-4.57-11.48-4.57-18.52s1.5-13.4,4.5-18.79c3-5.4,7.19-9.61,12.58-12.62c5.39-3.02,11.65-4.53,18.81-4.53s13,1.48,18.15,4.46c5.15,2.97,9.16,6.93,12.01,11.87,2.86,4.94,4.29,10.38,4.29,16.33,0,.92-.02,1.9-.07,2.95-.05,1.05-.12,2.22-.22,3.5h-55.19c.48,6.59,2.75,11.59,6.79,15.02,4.05,3.43,8.75,5.14,14.09,5.14,4.29,0,7.89-.93,10.79-2.81s5.08-4.41,6.51-7.61h15.16c-1.91,6.4-5.7,11.75-11.37,16.05-5.68,4.3-12.71,6.45-21.09,6.45ZM574.61,114.78c-5.05,0-9.54,1.44-13.44,4.32-3.91,2.88-6.29,7.2-7.15,12.97h40.04c-.29-5.3-2.24-9.51-5.87-12.62-3.62-3.11-8.15-4.67-13.58-4.67Z"
3543
- }
3544
- ),
3545
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3546
- "path",
3547
- {
3548
- className: "berget-logotype-fill",
3549
- d: "M646.23,172.54c-6.96,0-12.49-1.62-16.59-4.87-4.1-3.25-6.15-9.03-6.15-17.36v-33.61h-12.16v-12.21h12.16l1.86-17.29h13.29v17.29h20.02v12.21h-20.02v33.61c0,3.75.84,6.33,2.51,7.75,1.67,1.42,4.55,2.13,8.65,2.13h8.14v12.35h-11.72Z"
3550
- }
3551
- ),
3552
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3553
- "path",
3554
- {
3555
- className: "berget-logotype-fill",
3556
- d: "M684.4,172.54l36.89-96.04h16.59l36.6,96.04h-16.01l-8.58-23.46h-40.88l-8.58,23.46h-16.01ZM713.28,137.56h32.31l-16.16-43.77-16.16,43.77Z"
3557
- }
3558
- ),
3559
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("path", { className: "berget-logotype-fill", d: "M778.48,172.54v-96.04h15.15v96.04h-15.15Z" })
3560
- ] }),
3561
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3562
- "path",
3563
- {
3564
- style: { fill: fillColor },
3565
- d: "M99.9,0h24.37l99.9,202.18h-25.14l-44.26-77.52-27.24-41.38-14.84-41.81,2.44,1.3h-6.09l2.44-1.3-61.72,123-25.4,37.71H0L99.9,0Z"
3566
- }
3567
- )
3568
- ]
3569
- }
3570
- );
3571
- }
3572
- );
3573
- BergetLogo.displayName = "BergetLogo";
3574
-
3575
3793
  // src/components/language-select/LanguageSelect.tsx
3576
- var React25 = __toESM(require("react"), 1);
3794
+ var React27 = __toESM(require("react"), 1);
3577
3795
  var import_select3 = require("@base-ui/react/select");
3578
- var import_lucide_react12 = require("lucide-react");
3579
- var import_jsx_runtime40 = require("react/jsx-runtime");
3580
- var LanguageSelect = React25.forwardRef(
3796
+ var import_lucide_react13 = require("lucide-react");
3797
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3798
+ var LanguageSelect = React27.forwardRef(
3581
3799
  ({ className, options, value, onValueChange }, ref) => {
3582
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3800
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3583
3801
  import_select3.Select.Root,
3584
3802
  {
3585
3803
  value,
3586
3804
  onValueChange: onValueChange ? (v) => onValueChange(v ?? "") : void 0,
3587
3805
  children: [
3588
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3806
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3589
3807
  import_select3.Select.Trigger,
3590
3808
  {
3591
3809
  ref,
@@ -3608,12 +3826,12 @@ var LanguageSelect = React25.forwardRef(
3608
3826
  className
3609
3827
  ),
3610
3828
  children: [
3611
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "sr-only", children: "Select language" }),
3612
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon: import_lucide_react12.Globe, size: 16, "aria-hidden": true })
3829
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "sr-only", children: "Select language" }),
3830
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: import_lucide_react13.Globe, size: 16, "aria-hidden": true })
3613
3831
  ]
3614
3832
  }
3615
3833
  ),
3616
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_select3.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_select3.Select.Positioner, { alignItemWithTrigger: false, className: "isolate z-50", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3834
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select3.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select3.Select.Positioner, { alignItemWithTrigger: false, className: "isolate z-50", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3617
3835
  import_select3.Select.Popup,
3618
3836
  {
3619
3837
  className: cn(
@@ -3639,7 +3857,7 @@ var LanguageSelect = React25.forwardRef(
3639
3857
  // Origin for transforms
3640
3858
  "origin-[--transform-origin]"
3641
3859
  ),
3642
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_select3.Select.List, { className: "p-1", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3860
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select3.Select.List, { className: "p-1", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3643
3861
  import_select3.Select.Item,
3644
3862
  {
3645
3863
  value: option.value,
@@ -3656,7 +3874,7 @@ var LanguageSelect = React25.forwardRef(
3656
3874
  // Disabled state
3657
3875
  "data-disabled:pointer-events-none data-disabled:opacity-50"
3658
3876
  ),
3659
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_select3.Select.ItemText, { children: option.label })
3877
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_select3.Select.ItemText, { children: option.label })
3660
3878
  },
3661
3879
  option.value
3662
3880
  )) })
@@ -3670,12 +3888,12 @@ var LanguageSelect = React25.forwardRef(
3670
3888
  LanguageSelect.displayName = "LanguageSelect";
3671
3889
 
3672
3890
  // src/components/list/List.tsx
3673
- var React27 = __toESM(require("react"), 1);
3891
+ var React29 = __toESM(require("react"), 1);
3674
3892
 
3675
3893
  // src/components/divider/Divider.tsx
3676
- var React26 = __toESM(require("react"), 1);
3894
+ var React28 = __toESM(require("react"), 1);
3677
3895
  var import_class_variance_authority20 = require("class-variance-authority");
3678
- var import_jsx_runtime41 = require("react/jsx-runtime");
3896
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3679
3897
  var dividerVariants = (0, import_class_variance_authority20.cva)("", {
3680
3898
  variants: {
3681
3899
  variant: {
@@ -3696,7 +3914,7 @@ var dividerVariants = (0, import_class_variance_authority20.cva)("", {
3696
3914
  size: "thin"
3697
3915
  }
3698
3916
  });
3699
- var Divider = React26.forwardRef(
3917
+ var Divider = React28.forwardRef(
3700
3918
  ({
3701
3919
  className,
3702
3920
  orientation = "horizontal",
@@ -3707,16 +3925,16 @@ var Divider = React26.forwardRef(
3707
3925
  ...props
3708
3926
  }, ref) => {
3709
3927
  if (label) {
3710
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
3711
- labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3928
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
3929
+ labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3712
3930
  Separator,
3713
3931
  {
3714
3932
  orientation: "horizontal",
3715
3933
  className: cn(dividerVariants({ variant, size }), "flex-1")
3716
3934
  }
3717
3935
  ),
3718
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
3719
- labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3936
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
3937
+ labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3720
3938
  Separator,
3721
3939
  {
3722
3940
  orientation: "horizontal",
@@ -3725,7 +3943,7 @@ var Divider = React26.forwardRef(
3725
3943
  )
3726
3944
  ] });
3727
3945
  }
3728
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3946
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3729
3947
  Separator,
3730
3948
  {
3731
3949
  ref,
@@ -3742,20 +3960,20 @@ var Divider = React26.forwardRef(
3742
3960
  Divider.displayName = "Divider";
3743
3961
 
3744
3962
  // src/components/list/List.tsx
3745
- var import_lucide_react13 = require("lucide-react");
3746
- var import_jsx_runtime42 = require("react/jsx-runtime");
3747
- var List = React27.forwardRef(
3963
+ var import_lucide_react14 = require("lucide-react");
3964
+ var import_jsx_runtime44 = require("react/jsx-runtime");
3965
+ var List = React29.forwardRef(
3748
3966
  ({ className, children, ...props }, ref) => {
3749
- const childrenArray = React27.Children.toArray(children);
3750
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(React27.Fragment, { children: [
3967
+ const childrenArray = React29.Children.toArray(children);
3968
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(React29.Fragment, { children: [
3751
3969
  child,
3752
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Divider, { variant: "subtle" })
3970
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Divider, { variant: "subtle" })
3753
3971
  ] }, index)) });
3754
3972
  }
3755
3973
  );
3756
3974
  List.displayName = "List";
3757
- var ListItem = React27.forwardRef(
3758
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3975
+ var ListItem = React29.forwardRef(
3976
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
3759
3977
  "div",
3760
3978
  {
3761
3979
  ref,
@@ -3766,15 +3984,15 @@ var ListItem = React27.forwardRef(
3766
3984
  ),
3767
3985
  ...props,
3768
3986
  children: [
3769
- icon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
3770
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex-1 min-w-0", children })
3987
+ icon && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
3988
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex-1 min-w-0", children })
3771
3989
  ]
3772
3990
  }
3773
3991
  )
3774
3992
  );
3775
3993
  ListItem.displayName = "ListItem";
3776
- var ListHeader = React27.forwardRef(
3777
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3994
+ var ListHeader = React29.forwardRef(
3995
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3778
3996
  "div",
3779
3997
  {
3780
3998
  ref,
@@ -3785,20 +4003,20 @@ var ListHeader = React27.forwardRef(
3785
4003
  )
3786
4004
  );
3787
4005
  ListHeader.displayName = "ListHeader";
3788
- var FeatureList = React27.forwardRef(
4006
+ var FeatureList = React29.forwardRef(
3789
4007
  ({ items, variant = "bullet", className, ...props }, ref) => {
3790
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
3791
- variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: import_lucide_react13.Check, size: 24, className: "text-berget-logo-light" }) }),
3792
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Typography, { variant: "body", color: "muted", children: item })
4008
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
4009
+ variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon, { icon: import_lucide_react14.Check, size: 24, className: "text-berget-logo-light" }) }),
4010
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Typography, { variant: "body", color: "muted", children: item })
3793
4011
  ] }, index)) });
3794
4012
  }
3795
4013
  );
3796
4014
  FeatureList.displayName = "FeatureList";
3797
4015
 
3798
4016
  // src/components/hero-block/HeroBlock.tsx
3799
- var React28 = __toESM(require("react"), 1);
4017
+ var React30 = __toESM(require("react"), 1);
3800
4018
  var import_class_variance_authority21 = require("class-variance-authority");
3801
- var import_jsx_runtime43 = require("react/jsx-runtime");
4019
+ var import_jsx_runtime45 = require("react/jsx-runtime");
3802
4020
  var heroBlockVariants = (0, import_class_variance_authority21.cva)(
3803
4021
  "relative overflow-hidden min-h-[40dvh] flex items-center py-fluid-2xl",
3804
4022
  {
@@ -3819,7 +4037,7 @@ var heroBlockVariants = (0, import_class_variance_authority21.cva)(
3819
4037
  }
3820
4038
  }
3821
4039
  );
3822
- var HeroBlock = React28.forwardRef(
4040
+ var HeroBlock = React30.forwardRef(
3823
4041
  ({
3824
4042
  className,
3825
4043
  variant,
@@ -3831,26 +4049,26 @@ var HeroBlock = React28.forwardRef(
3831
4049
  actions,
3832
4050
  ...props
3833
4051
  }, ref) => {
3834
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4052
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3835
4053
  "div",
3836
4054
  {
3837
4055
  ref,
3838
4056
  className: cn(heroBlockVariants({ variant, withPattern }), className),
3839
4057
  ...props,
3840
- children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "mx-auto text-center max-w-4xl", children: [
3841
- tagline && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4058
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "mx-auto px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "mx-auto text-center max-w-4xl", children: [
4059
+ tagline && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3842
4060
  Badge,
3843
4061
  {
3844
4062
  variant: "default",
3845
- icon: TaglineIcon ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: TaglineIcon, size: 16 }) : void 0,
4063
+ icon: TaglineIcon ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { icon: TaglineIcon, size: 16 }) : void 0,
3846
4064
  iconGap: 2,
3847
4065
  className: "mb-fluid-md",
3848
4066
  children: tagline
3849
4067
  }
3850
4068
  ),
3851
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, { variant: "h1", className: "mb-fluid-md", children: title }),
3852
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Typography, { variant: "h3", color: "muted", className: "mb-fluid-lg", children: description }),
3853
- actions && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex flex-wrap gap-fluid-md justify-center", children: actions })
4069
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typography, { variant: "h1", className: "mb-fluid-md", children: title }),
4070
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Typography, { variant: "h3", color: "muted", className: "mb-fluid-lg", children: description }),
4071
+ actions && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex flex-wrap gap-fluid-md justify-center", children: actions })
3854
4072
  ] }) })
3855
4073
  }
3856
4074
  );
@@ -3860,7 +4078,7 @@ HeroBlock.displayName = "HeroBlock";
3860
4078
 
3861
4079
  // src/components/code-block/CodeBlock.tsx
3862
4080
  var import_react2 = require("react");
3863
- var import_lucide_react14 = require("lucide-react");
4081
+ var import_lucide_react15 = require("lucide-react");
3864
4082
 
3865
4083
  // src/lib/shiki.ts
3866
4084
  var import_core2 = require("shiki/core");
@@ -3901,7 +4119,7 @@ function getHighlighter() {
3901
4119
  }
3902
4120
 
3903
4121
  // src/components/code-block/CodeBlock.tsx
3904
- var import_jsx_runtime44 = require("react/jsx-runtime");
4122
+ var import_jsx_runtime46 = require("react/jsx-runtime");
3905
4123
  function CodeBlock({ code, language = "text", title, className }) {
3906
4124
  const [html, setHtml] = (0, import_react2.useState)(null);
3907
4125
  const [copied, setCopied] = (0, import_react2.useState)(false);
@@ -3917,16 +4135,16 @@ function CodeBlock({ code, language = "text", title, className }) {
3917
4135
  setCopied(true);
3918
4136
  setTimeout(() => setCopied(false), 2e3);
3919
4137
  }, [code]);
3920
- const copyButton = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4138
+ const copyButton = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3921
4139
  "button",
3922
4140
  {
3923
4141
  onClick: handleCopy,
3924
4142
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
3925
4143
  "aria-label": "Copy code",
3926
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react14.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react14.Copy, { className: "w-3.5 h-3.5" })
4144
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react15.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react15.Copy, { className: "w-3.5 h-3.5" })
3927
4145
  }
3928
4146
  );
3929
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4147
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3930
4148
  "div",
3931
4149
  {
3932
4150
  className: cn(
@@ -3934,25 +4152,25 @@ function CodeBlock({ code, language = "text", title, className }) {
3934
4152
  className
3935
4153
  ),
3936
4154
  children: [
3937
- title && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
3938
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
3939
- html ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4155
+ title && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
4156
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
4157
+ html ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3940
4158
  "div",
3941
4159
  {
3942
4160
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
3943
4161
  dangerouslySetInnerHTML: { __html: html }
3944
4162
  }
3945
- ) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("code", { children: code }) })
4163
+ ) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("code", { children: code }) })
3946
4164
  ]
3947
4165
  }
3948
4166
  );
3949
4167
  }
3950
4168
 
3951
4169
  // src/components/window-frame/WindowFrame.tsx
3952
- var React29 = __toESM(require("react"), 1);
4170
+ var React31 = __toESM(require("react"), 1);
3953
4171
  var import_react3 = require("react");
3954
- var import_jsx_runtime45 = require("react/jsx-runtime");
3955
- var WindowFrame = React29.forwardRef(
4172
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4173
+ var WindowFrame = React31.forwardRef(
3956
4174
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
3957
4175
  const [internalActive, setInternalActive] = (0, import_react3.useState)(tabs?.[0]?.id ?? "");
3958
4176
  const currentTab = activeTab ?? internalActive;
@@ -3963,7 +4181,7 @@ var WindowFrame = React29.forwardRef(
3963
4181
  setInternalActive(id);
3964
4182
  }
3965
4183
  };
3966
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4184
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
3967
4185
  "div",
3968
4186
  {
3969
4187
  ref,
@@ -3973,13 +4191,13 @@ var WindowFrame = React29.forwardRef(
3973
4191
  ),
3974
4192
  ...props,
3975
4193
  children: [
3976
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
3977
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
3978
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FF5F56]" }),
3979
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FFBD2E]" }),
3980
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#27C93F]" })
4194
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
4195
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
4196
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FF5F56]" }),
4197
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#FFBD2E]" }),
4198
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-3 h-3 rounded-full bg-[#27C93F]" })
3981
4199
  ] }),
3982
- tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4200
+ tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3983
4201
  "button",
3984
4202
  {
3985
4203
  type: "button",
@@ -3991,9 +4209,9 @@ var WindowFrame = React29.forwardRef(
3991
4209
  children: tab.label
3992
4210
  },
3993
4211
  tab.id
3994
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
4212
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
3995
4213
  ] }),
3996
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { children })
4214
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children })
3997
4215
  ]
3998
4216
  }
3999
4217
  );
@@ -4003,7 +4221,7 @@ WindowFrame.displayName = "WindowFrame";
4003
4221
 
4004
4222
  // src/components/fog-illustration/FogIllustration.tsx
4005
4223
  var import_react4 = require("react");
4006
- var import_jsx_runtime46 = require("react/jsx-runtime");
4224
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4007
4225
  var FOG_BRAND_PALETTE = {
4008
4226
  ink: "#171a1a",
4009
4227
  milk: "#f7f5ed",
@@ -4316,7 +4534,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
4316
4534
  gl.deleteFramebuffer(fbo);
4317
4535
  };
4318
4536
  }, []);
4319
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
4537
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
4320
4538
  };
4321
4539
  // Annotate the CommonJS export names for ESM import in node:
4322
4540
  0 && (module.exports = {
@@ -4408,6 +4626,8 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
4408
4626
  List,
4409
4627
  ListHeader,
4410
4628
  ListItem,
4629
+ ModelCard,
4630
+ ModelLogo,
4411
4631
  NavigationMenu,
4412
4632
  NavigationMenuContent,
4413
4633
  NavigationMenuIndicator,
@@ -4436,6 +4656,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
4436
4656
  boxVariants,
4437
4657
  buttonVariants,
4438
4658
  cardVariants,
4659
+ categoryLabels,
4439
4660
  checkboxVariants,
4440
4661
  containerVariants,
4441
4662
  getCountryByCode,