"use client";
import * as React from 'react';
import React__default, { useState, useEffect, Fragment } from 'react';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { cva } from 'class-variance-authority';
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
import { Img } from '@page-speed/img';
import * as AccordionPrimitive from '@radix-ui/react-accordion';
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
import * as SheetPrimitive from '@radix-ui/react-dialog';

// components/blocks/navbars/navbar-enterprise-mega.tsx
function cn(...inputs) {
  return twMerge(clsx(inputs));
}
function normalizePhoneNumber(input) {
  const trimmed = input.trim();
  if (trimmed.toLowerCase().startsWith("tel:")) {
    return trimmed;
  }
  const match = trimmed.match(/^[\s\+\-\(\)]*(\d[\d\s\-\(\)\.]*\d)[\s\-]*(x|ext\.?|extension)?[\s\-]*(\d+)?$/i);
  if (match) {
    const mainNumber = match[1].replace(/[\s\-\(\)\.]/g, "");
    const extension = match[3];
    const normalized = mainNumber.length >= 10 && !trimmed.startsWith("+") ? `+${mainNumber}` : mainNumber;
    const withExtension = extension ? `${normalized};ext=${extension}` : normalized;
    return `tel:${withExtension}`;
  }
  const cleaned = trimmed.replace(/[\s\-\(\)\.]/g, "");
  return `tel:${cleaned}`;
}
function normalizeEmail(input) {
  const trimmed = input.trim();
  if (trimmed.toLowerCase().startsWith("mailto:")) {
    return trimmed;
  }
  return `mailto:${trimmed}`;
}
function isEmail(input) {
  const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
  return emailRegex.test(input.trim());
}
function isPhoneNumber(input) {
  const trimmed = input.trim();
  if (trimmed.toLowerCase().startsWith("tel:")) {
    return true;
  }
  const phoneRegex = /^[\s\+\-\(\)]*\d[\d\s\-\(\)\.]*\d[\s\-]*(x|ext\.?|extension)?[\s\-]*\d*$/i;
  return phoneRegex.test(trimmed);
}
function isInternalUrl(href) {
  if (typeof window === "undefined") {
    return href.startsWith("/") && !href.startsWith("//");
  }
  const trimmed = href.trim();
  if (trimmed.startsWith("/") && !trimmed.startsWith("//")) {
    return true;
  }
  try {
    const url = new URL(trimmed, window.location.href);
    const currentOrigin = window.location.origin;
    const normalizeOrigin = (origin) => origin.replace(/^(https?:\/\/)(www\.)?/, "$1");
    return normalizeOrigin(url.origin) === normalizeOrigin(currentOrigin);
  } catch {
    return false;
  }
}
function toRelativePath(href) {
  if (typeof window === "undefined") {
    return href;
  }
  const trimmed = href.trim();
  if (trimmed.startsWith("/") && !trimmed.startsWith("//")) {
    return trimmed;
  }
  try {
    const url = new URL(trimmed, window.location.href);
    const currentOrigin = window.location.origin;
    const normalizeOrigin = (origin) => origin.replace(/^(https?:\/\/)(www\.)?/, "$1");
    if (normalizeOrigin(url.origin) === normalizeOrigin(currentOrigin)) {
      return url.pathname + url.search + url.hash;
    }
  } catch {
  }
  return trimmed;
}
function useNavigation({
  href,
  onClick
} = {}) {
  const linkType = React.useMemo(() => {
    if (!href || href.trim() === "") {
      return onClick ? "none" : "none";
    }
    const trimmed = href.trim();
    if (trimmed.toLowerCase().startsWith("mailto:") || isEmail(trimmed)) {
      return "mailto";
    }
    if (trimmed.toLowerCase().startsWith("tel:") || isPhoneNumber(trimmed)) {
      return "tel";
    }
    if (isInternalUrl(trimmed)) {
      return "internal";
    }
    try {
      new URL(trimmed, typeof window !== "undefined" ? window.location.href : "http://localhost");
      return "external";
    } catch {
      return "internal";
    }
  }, [href, onClick]);
  const normalizedHref = React.useMemo(() => {
    if (!href || href.trim() === "") {
      return void 0;
    }
    const trimmed = href.trim();
    switch (linkType) {
      case "tel":
        return normalizePhoneNumber(trimmed);
      case "mailto":
        return normalizeEmail(trimmed);
      case "internal":
        return toRelativePath(trimmed);
      case "external":
        return trimmed;
      default:
        return trimmed;
    }
  }, [href, linkType]);
  const target = React.useMemo(() => {
    switch (linkType) {
      case "external":
        return "_blank";
      case "internal":
        return "_self";
      case "mailto":
      case "tel":
        return void 0;
      default:
        return void 0;
    }
  }, [linkType]);
  const rel = React.useMemo(() => {
    if (linkType === "external") {
      return "noopener noreferrer";
    }
    return void 0;
  }, [linkType]);
  const isExternal = linkType === "external";
  const isInternal = linkType === "internal";
  const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
  const handleClick = React.useCallback(
    (event) => {
      if (onClick) {
        try {
          onClick(event);
        } catch (error) {
          console.error("Error in user onClick handler:", error);
        }
      }
      if (event.defaultPrevented) {
        return;
      }
      if (shouldUseRouter && normalizedHref && event.button === 0 && // left-click only
      !event.metaKey && !event.altKey && !event.ctrlKey && !event.shiftKey) {
        if (typeof window !== "undefined") {
          const handler = window.__opensiteNavigationHandler;
          if (typeof handler === "function") {
            try {
              const handled = handler(normalizedHref, event.nativeEvent || event);
              if (handled !== false) {
                event.preventDefault();
              }
            } catch (error) {
              console.error("Error in navigation handler:", error);
            }
          }
        }
      }
    },
    [onClick, shouldUseRouter, normalizedHref]
  );
  return {
    linkType,
    normalizedHref,
    target,
    rel,
    isExternal,
    isInternal,
    shouldUseRouter,
    handleClick
  };
}
var baseStyles = [
  // Layout
  "inline-flex items-center justify-center gap-2 whitespace-nowrap shrink-0",
  // Typography - using CSS variables with sensible defaults
  "font-[var(--button-font-family,inherit)]",
  "font-[var(--button-font-weight,500)]",
  "tracking-[var(--button-letter-spacing,0)]",
  "leading-[var(--button-line-height,1.25)]",
  "[text-transform:var(--button-text-transform,none)]",
  "text-sm",
  // Border radius
  "rounded-[var(--button-radius,var(--radius,0.375rem))]",
  // Smooth transition - using [transition:...] to set full shorthand property (not just transition-property)
  "[transition:var(--button-transition,all_250ms_cubic-bezier(0.4,0,0.2,1))]",
  // Box shadow (master level) - using [box-shadow:...] for complex multi-value shadows
  "[box-shadow:var(--button-shadow,none)]",
  "hover:[box-shadow:var(--button-shadow-hover,var(--button-shadow,none))]",
  // Disabled state
  "disabled:pointer-events-none disabled:opacity-50",
  // SVG handling
  "[&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",
  // Focus styles
  "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
  // Invalid state
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
].join(" ");
var buttonVariants = cva(baseStyles, {
  variants: {
    variant: {
      // Default (Primary) variant - full customization
      default: [
        "bg-[var(--button-default-bg,hsl(var(--primary)))]",
        "text-[var(--button-default-fg,hsl(var(--primary-foreground)))]",
        "border-[length:var(--button-default-border-width,0px)]",
        "border-[color:var(--button-default-border,transparent)]",
        "[box-shadow:var(--button-default-shadow,var(--button-shadow,none))]",
        "hover:bg-[var(--button-default-hover-bg,hsl(var(--primary)/0.9))]",
        "hover:text-[var(--button-default-hover-fg,var(--button-default-fg,hsl(var(--primary-foreground))))]",
        "hover:border-[color:var(--button-default-hover-border,var(--button-default-border,transparent))]",
        "hover:[box-shadow:var(--button-default-shadow-hover,var(--button-shadow-hover,var(--button-default-shadow,var(--button-shadow,none))))]"
      ].join(" "),
      // Destructive variant - full customization
      destructive: [
        "bg-[var(--button-destructive-bg,hsl(var(--destructive)))]",
        "text-[var(--button-destructive-fg,white)]",
        "border-[length:var(--button-destructive-border-width,0px)]",
        "border-[color:var(--button-destructive-border,transparent)]",
        "[box-shadow:var(--button-destructive-shadow,var(--button-shadow,none))]",
        "hover:bg-[var(--button-destructive-hover-bg,hsl(var(--destructive)/0.9))]",
        "hover:text-[var(--button-destructive-hover-fg,var(--button-destructive-fg,white))]",
        "hover:border-[color:var(--button-destructive-hover-border,var(--button-destructive-border,transparent))]",
        "hover:[box-shadow:var(--button-destructive-shadow-hover,var(--button-shadow-hover,var(--button-destructive-shadow,var(--button-shadow,none))))]",
        "focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
        "dark:bg-destructive/60"
      ].join(" "),
      // Outline variant - full customization with proper border handling
      outline: [
        "bg-[var(--button-outline-bg,hsl(var(--background)))]",
        "text-[var(--button-outline-fg,inherit)]",
        "border-[length:var(--button-outline-border-width,1px)]",
        "border-[color:var(--button-outline-border,hsl(var(--border)))]",
        "[box-shadow:var(--button-outline-shadow,var(--button-shadow,0_1px_2px_0_rgb(0_0_0/0.05)))]",
        "hover:bg-[var(--button-outline-hover-bg,hsl(var(--accent)))]",
        "hover:text-[var(--button-outline-hover-fg,hsl(var(--accent-foreground)))]",
        "hover:border-[color:var(--button-outline-hover-border,var(--button-outline-border,hsl(var(--border))))]",
        "hover:[box-shadow:var(--button-outline-shadow-hover,var(--button-shadow-hover,var(--button-outline-shadow,var(--button-shadow,none))))]",
        "dark:bg-input/30 dark:border-input dark:hover:bg-input/50"
      ].join(" "),
      // Secondary variant - full customization
      secondary: [
        "bg-[var(--button-secondary-bg,hsl(var(--secondary)))]",
        "text-[var(--button-secondary-fg,hsl(var(--secondary-foreground)))]",
        "border-[length:var(--button-secondary-border-width,0px)]",
        "border-[color:var(--button-secondary-border,transparent)]",
        "[box-shadow:var(--button-secondary-shadow,var(--button-shadow,none))]",
        "hover:bg-[var(--button-secondary-hover-bg,hsl(var(--secondary)/0.8))]",
        "hover:text-[var(--button-secondary-hover-fg,var(--button-secondary-fg,hsl(var(--secondary-foreground))))]",
        "hover:border-[color:var(--button-secondary-hover-border,var(--button-secondary-border,transparent))]",
        "hover:[box-shadow:var(--button-secondary-shadow-hover,var(--button-shadow-hover,var(--button-secondary-shadow,var(--button-shadow,none))))]"
      ].join(" "),
      // Ghost variant - full customization
      ghost: [
        "bg-[var(--button-ghost-bg,transparent)]",
        "text-[var(--button-ghost-fg,inherit)]",
        "border-[length:var(--button-ghost-border-width,0px)]",
        "border-[color:var(--button-ghost-border,transparent)]",
        "[box-shadow:var(--button-ghost-shadow,var(--button-shadow,none))]",
        "hover:bg-[var(--button-ghost-hover-bg,hsl(var(--accent)))]",
        "hover:text-[var(--button-ghost-hover-fg,hsl(var(--accent-foreground)))]",
        "hover:border-[color:var(--button-ghost-hover-border,var(--button-ghost-border,transparent))]",
        "hover:[box-shadow:var(--button-ghost-shadow-hover,var(--button-shadow-hover,var(--button-ghost-shadow,var(--button-shadow,none))))]",
        "dark:hover:bg-accent/50"
      ].join(" "),
      // Link variant - full customization
      link: [
        "bg-[var(--button-link-bg,transparent)]",
        "text-[var(--button-link-fg,hsl(var(--primary)))]",
        "border-[length:var(--button-link-border-width,0px)]",
        "border-[color:var(--button-link-border,transparent)]",
        "[box-shadow:var(--button-link-shadow,none)]",
        "hover:bg-[var(--button-link-hover-bg,transparent)]",
        "hover:text-[var(--button-link-hover-fg,var(--button-link-fg,hsl(var(--primary))))]",
        "hover:[box-shadow:var(--button-link-shadow-hover,none)]",
        "underline-offset-4 hover:underline"
      ].join(" ")
    },
    size: {
      default: [
        "h-[var(--button-height-md,2.25rem)]",
        "px-[var(--button-padding-x-md,1rem)]",
        "py-[var(--button-padding-y-md,0.5rem)]",
        "has-[>svg]:px-[calc(var(--button-padding-x-md,1rem)*0.75)]"
      ].join(" "),
      sm: [
        "h-[var(--button-height-sm,2rem)]",
        "px-[var(--button-padding-x-sm,0.75rem)]",
        "py-[var(--button-padding-y-sm,0.25rem)]",
        "gap-1.5",
        "has-[>svg]:px-[calc(var(--button-padding-x-sm,0.75rem)*0.83)]"
      ].join(" "),
      md: [
        "h-[var(--button-height-md,2.25rem)]",
        "px-[var(--button-padding-x-md,1rem)]",
        "py-[var(--button-padding-y-md,0.5rem)]",
        "has-[>svg]:px-[calc(var(--button-padding-x-md,1rem)*0.75)]"
      ].join(" "),
      lg: [
        "h-[var(--button-height-lg,2.5rem)]",
        "px-[var(--button-padding-x-lg,1.5rem)]",
        "py-[var(--button-padding-y-lg,0.5rem)]",
        "has-[>svg]:px-[calc(var(--button-padding-x-lg,1.5rem)*0.67)]"
      ].join(" "),
      icon: "size-[var(--button-height-md,2.25rem)]",
      "icon-sm": "size-[var(--button-height-sm,2rem)]",
      "icon-lg": "size-[var(--button-height-lg,2.5rem)]"
    }
  },
  defaultVariants: {
    variant: "default",
    size: "default"
  }
});
var Pressable = React.forwardRef(
  ({
    children,
    className,
    href,
    onClick,
    variant,
    size,
    asButton = false,
    fallbackComponentType = "span",
    componentType,
    "aria-label": ariaLabel,
    "aria-describedby": ariaDescribedby,
    id,
    ...props
  }, ref) => {
    const navigation = useNavigation({ href, onClick });
    const {
      normalizedHref,
      target,
      rel,
      linkType,
      isInternal,
      handleClick
    } = navigation;
    const shouldRenderLink = normalizedHref && linkType !== "none";
    const shouldRenderButton = !shouldRenderLink && onClick;
    const effectiveComponentType = componentType || (shouldRenderLink ? "a" : shouldRenderButton ? "button" : fallbackComponentType);
    const finalComponentType = isInternal && shouldRenderLink ? "a" : effectiveComponentType;
    const shouldApplyButtonStyles = asButton || variant || size;
    const combinedClassName = cn(
      shouldApplyButtonStyles && buttonVariants({ variant, size }),
      className
    );
    const dataProps = Object.fromEntries(
      Object.entries(props).filter(([key]) => key.startsWith("data-"))
    );
    const buttonDataAttributes = shouldApplyButtonStyles ? {
      "data-slot": "button",
      "data-variant": variant ?? "default",
      "data-size": size ?? "default"
    } : {};
    const commonProps = {
      className: combinedClassName,
      onClick: handleClick,
      "aria-label": ariaLabel,
      "aria-describedby": ariaDescribedby,
      id,
      ...dataProps,
      ...buttonDataAttributes
    };
    if (finalComponentType === "a" && shouldRenderLink) {
      return /* @__PURE__ */ jsx(
        "a",
        {
          ref,
          href: normalizedHref,
          target,
          rel,
          ...commonProps,
          ...props,
          children
        }
      );
    }
    if (finalComponentType === "button") {
      return /* @__PURE__ */ jsx(
        "button",
        {
          ref,
          type: props.type || "button",
          ...commonProps,
          ...props,
          children
        }
      );
    }
    if (finalComponentType === "div") {
      return /* @__PURE__ */ jsx(
        "div",
        {
          ref,
          ...commonProps,
          children
        }
      );
    }
    return /* @__PURE__ */ jsx(
      "span",
      {
        ref,
        ...commonProps,
        children
      }
    );
  }
);
Pressable.displayName = "Pressable";
var svgCache = /* @__PURE__ */ new Map();
function DynamicIcon({
  name,
  size = 28,
  color,
  className,
  alt
}) {
  const [svgContent, setSvgContent] = React.useState(null);
  const [isLoading, setIsLoading] = React.useState(true);
  const [error, setError] = React.useState(null);
  const { url, iconName } = React.useMemo(() => {
    const separator = name.includes("/") ? "/" : ":";
    const [prefix, iconName2] = name.split(separator);
    const baseUrl = `https://icons.opensite.ai/api/icon/${prefix}/${iconName2}?format=svg&width=${size}&height=${size}`;
    return {
      url: baseUrl,
      iconName: iconName2
    };
  }, [name, size]);
  React.useEffect(() => {
    let isMounted = true;
    const fetchSvg = async () => {
      const cached = svgCache.get(url);
      if (cached) {
        if (isMounted) {
          setSvgContent(cached);
          setIsLoading(false);
        }
        return;
      }
      try {
        setIsLoading(true);
        setError(null);
        const response = await fetch(url);
        if (!response.ok) {
          throw new Error(`Failed to fetch icon: ${response.status}`);
        }
        let svg = await response.text();
        svg = processSvgForCurrentColor(svg);
        svgCache.set(url, svg);
        if (isMounted) {
          setSvgContent(svg);
          setIsLoading(false);
        }
      } catch (err) {
        if (isMounted) {
          setError(err instanceof Error ? err.message : "Failed to load icon");
          setIsLoading(false);
        }
      }
    };
    fetchSvg();
    return () => {
      isMounted = false;
    };
  }, [url]);
  if (isLoading) {
    return /* @__PURE__ */ jsx(
      "span",
      {
        className: cn("inline-block", className),
        style: { width: size, height: size },
        "aria-hidden": "true"
      }
    );
  }
  if (error || !svgContent) {
    return /* @__PURE__ */ jsx(
      "span",
      {
        className: cn("inline-block", className),
        style: { width: size, height: size },
        role: "img",
        "aria-label": alt || iconName
      }
    );
  }
  return /* @__PURE__ */ jsx(
    "span",
    {
      className: cn("inline-flex items-center justify-center", className),
      style: {
        width: size,
        height: size,
        color: color || "inherit"
      },
      role: "img",
      "aria-label": alt || iconName,
      dangerouslySetInnerHTML: { __html: svgContent }
    }
  );
}
function processSvgForCurrentColor(svg) {
  let processed = svg;
  processed = processed.replace(
    /stroke=["'](#000000|#000|black)["']/gi,
    'stroke="currentColor"'
  );
  processed = processed.replace(
    /fill=["'](#000000|#000|black)["']/gi,
    'fill="currentColor"'
  );
  return processed;
}
var maxWidthStyles = {
  sm: "max-w-screen-sm",
  md: "max-w-screen-md",
  lg: "max-w-screen-lg",
  xl: "max-w-7xl",
  "2xl": "max-w-screen-2xl",
  "4xl": "max-w-[1536px]",
  full: "max-w-full"
};
var Container = React__default.forwardRef(
  ({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
    const Component = as;
    return /* @__PURE__ */ jsx(
      Component,
      {
        ref,
        className: cn(
          "mx-auto w-full px-2 sm:px-4 lg:px-8",
          maxWidthStyles[maxWidth],
          className
        ),
        ...props,
        children
      }
    );
  }
);
Container.displayName = "Container";

// lib/patternSvgs.ts
var patternSvgs = {
  squareAltGrid: "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
  grid1: "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
  noise: "https://cdn.ing/assets/i/r/286188/zrqcp9hynh3j7p2laihwzfbujgrl/noise.png",
  dots: "https://cdn.ing/assets/files/record/286198/yfsjx9thvtxzhl2qtshxyhkrm524",
  dotPattern: "https://cdn.ing/assets/files/record/286192/7ig0cku8aqbboiza8nuk6hw0nnsr",
  dotPattern2: "https://cdn.ing/assets/files/record/286189/arez6gd2s7isn9i1o6c7sexdq7bl",
  circles: "https://cdn.ing/assets/files/record/286190/gtmia3sncjtzetdshc20zf1d3c17",
  waves: "https://cdn.ing/assets/files/record/286191/mqlb33fzxz9cdth1bx7if0wmpkp1",
  crossPattern: "https://cdn.ing/assets/files/record/286193/9yfqwdbnqaipbp7fsb3wbzzmq472",
  architect: "https://cdn.ing/assets/files/record/286194/vgs88ugpvyhxu13wqgy0acvae6re",
  tinyCheckers: "https://cdn.ing/assets/files/record/286195/65efaknsw8kcpf9o3c2gybytsl5b",
  p6: "https://cdn.ing/assets/i/r/286196/6kl0rqnd6mjk8j7e525fo8fo0vkc/p6.webp"
};
var maskTop = "radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)";
var maskBottom = "radial-gradient(ellipse 100% 80% at 50% 100%, #000 50%, transparent 90%)";
var maskCenter = "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)";
var maskTopLeft = "radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)";
var maskTopRight = "radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)";
var maskBottomLeft = "radial-gradient(ellipse 80% 80% at 0% 100%, #000 50%, transparent 90%)";
var maskBottomRight = "radial-gradient(ellipse 80% 80% at 100% 100%, #000 50%, transparent 90%)";
var circuitBoardPattern = (id, mask) => /* @__PURE__ */ jsxs(
  "svg",
  {
    className: "h-full w-full",
    xmlns: "http://www.w3.org/2000/svg",
    style: mask ? {
      maskImage: mask,
      WebkitMaskImage: mask
    } : void 0,
    children: [
      /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
        "pattern",
        {
          id,
          x: "0",
          y: "0",
          width: "100",
          height: "100",
          patternUnits: "userSpaceOnUse",
          children: [
            /* @__PURE__ */ jsx(
              "path",
              {
                d: "M0 50h40M60 50h40M50 0v40M50 60v40",
                stroke: "hsl(var(--muted))",
                strokeWidth: "1",
                fill: "none"
              }
            ),
            /* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "3", fill: "hsl(var(--muted))" }),
            /* @__PURE__ */ jsx("circle", { cx: "0", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
            /* @__PURE__ */ jsx("circle", { cx: "100", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
            /* @__PURE__ */ jsx("circle", { cx: "50", cy: "0", r: "2", fill: "hsl(var(--muted))" }),
            /* @__PURE__ */ jsx("circle", { cx: "50", cy: "100", r: "2", fill: "hsl(var(--muted))" })
          ]
        }
      ) }),
      /* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
    ]
  }
);
var gridDotsPattern = (id, mask) => /* @__PURE__ */ jsxs(
  "svg",
  {
    className: "h-full w-full",
    xmlns: "http://www.w3.org/2000/svg",
    style: mask ? {
      maskImage: mask,
      WebkitMaskImage: mask
    } : void 0,
    children: [
      /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
        "pattern",
        {
          id,
          x: "0",
          y: "0",
          width: "40",
          height: "40",
          patternUnits: "userSpaceOnUse",
          children: [
            /* @__PURE__ */ jsx(
              "path",
              {
                d: "M0 20h40M20 0v40",
                stroke: "hsl(var(--muted))",
                strokeWidth: "0.5",
                fill: "none"
              }
            ),
            /* @__PURE__ */ jsx("circle", { cx: "20", cy: "20", r: "2", fill: "hsl(var(--muted))" })
          ]
        }
      ) }),
      /* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
    ]
  }
);
var gridPattern = (size, mask) => /* @__PURE__ */ jsx(
  "div",
  {
    className: "h-full w-full bg-[linear-gradient(to_right,_hsl(var(--muted))_1px,_transparent_1px),linear-gradient(to_bottom,_hsl(var(--muted))_1px,_transparent_1px)]",
    style: {
      backgroundSize: `${size}px ${size}px`,
      ...mask ? {
        maskImage: mask,
        WebkitMaskImage: mask
      } : {}
    }
  }
);
var diagonalCrossPattern = (mask) => /* @__PURE__ */ jsx(
  "div",
  {
    className: "h-full w-full",
    style: {
      backgroundImage: "repeating-linear-gradient(45deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px), repeating-linear-gradient(135deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px)",
      ...mask ? {
        maskImage: mask,
        WebkitMaskImage: mask
      } : {}
    }
  }
);
var dashedGridMaskBase = "repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px), repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px)";
var dashedGridPattern = (fadeMask) => {
  const mask = fadeMask ? `${dashedGridMaskBase}, ${fadeMask}` : dashedGridMaskBase;
  return /* @__PURE__ */ jsx(
    "div",
    {
      className: "h-full w-full",
      style: {
        backgroundImage: "linear-gradient(to right, hsl(var(--muted)) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--muted)) 1px, transparent 1px)",
        backgroundSize: "20px 20px",
        backgroundPosition: "0 0, 0 0",
        maskImage: mask,
        WebkitMaskImage: mask,
        maskComposite: "intersect",
        WebkitMaskComposite: "source-in"
      }
    }
  );
};
var gradientGlow = (position) => /* @__PURE__ */ jsx(
  "div",
  {
    className: cn(
      "pointer-events-none absolute left-1/2 z-0 aspect-square w-3/4 -translate-x-1/2 rounded-full opacity-50 blur-3xl",
      position === "top" ? "-top-1/4" : "-bottom-1/4"
    ),
    style: {
      background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
    }
  }
);
var spotlight = (position) => /* @__PURE__ */ jsx(
  "div",
  {
    className: cn(
      "pointer-events-none absolute top-1/2 z-0 aspect-square w-3/4 -translate-y-1/2 rounded-full opacity-40 blur-3xl",
      position === "left" ? "-left-1/4" : "-right-1/4"
    ),
    style: {
      background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
    }
  }
);
var patternOverlays = {
  circuitBoardBasic: () => circuitBoardPattern("circuit-board-basic"),
  circuitBoardFadeTop: () => circuitBoardPattern("circuit-board-fade-top", maskTop),
  circuitBoardFadeBottom: () => circuitBoardPattern("circuit-board-fade-bottom", maskBottom),
  circuitBoardFadeCenter: () => circuitBoardPattern("circuit-board-fade-center", maskCenter),
  circuitBoardFadeTopLeft: () => circuitBoardPattern("circuit-board-fade-top-left", maskTopLeft),
  circuitBoardFadeTopRight: () => circuitBoardPattern("circuit-board-fade-top-right", maskTopRight),
  circuitBoardFadeBottomLeft: () => circuitBoardPattern("circuit-board-fade-bottom-left", maskBottomLeft),
  circuitBoardFadeBottomRight: () => circuitBoardPattern("circuit-board-fade-bottom-right", maskBottomRight),
  dashedGridBasic: () => dashedGridPattern(),
  dashedGridFadeTop: () => dashedGridPattern(maskTop),
  dashedGridFadeBottom: () => dashedGridPattern(maskBottom),
  dashedGridFadeCenter: () => dashedGridPattern(maskCenter),
  dashedGridFadeTopLeft: () => dashedGridPattern(maskTopLeft),
  dashedGridFadeTopRight: () => dashedGridPattern(maskTopRight),
  dashedGridFadeBottomLeft: () => dashedGridPattern(maskBottomLeft),
  dashedGridFadeBottomRight: () => dashedGridPattern(maskBottomRight),
  diagonalCrossBasic: () => diagonalCrossPattern(),
  diagonalCrossFadeTop: () => diagonalCrossPattern(maskTop),
  diagonalCrossFadeBottom: () => diagonalCrossPattern(maskBottom),
  diagonalCrossFadeCenter: () => diagonalCrossPattern(maskCenter),
  diagonalCrossFadeTopLeft: () => diagonalCrossPattern(maskTopLeft),
  diagonalCrossFadeTopRight: () => diagonalCrossPattern(maskTopRight),
  diagonalCrossFadeBottomLeft: () => diagonalCrossPattern(maskBottomLeft),
  diagonalCrossFadeBottomRight: () => diagonalCrossPattern(maskBottomRight),
  gridBasic: () => gridPattern(40),
  gridFadeTop: () => gridPattern(32, maskTop),
  gridFadeBottom: () => gridPattern(32, maskBottom),
  gridFadeCenter: () => gridPattern(40, maskCenter),
  gridFadeTopLeft: () => gridPattern(32, maskTopLeft),
  gridFadeTopRight: () => gridPattern(32, maskTopRight),
  gridFadeBottomLeft: () => gridPattern(32, maskBottomLeft),
  gridFadeBottomRight: () => gridPattern(32, maskBottomRight),
  gridDotsBasic: () => gridDotsPattern("grid-dots-basic"),
  gridDotsFadeCenter: () => gridDotsPattern("grid-dots-fade-center", maskCenter),
  gradientGlowTop: () => gradientGlow("top"),
  gradientGlowBottom: () => gradientGlow("bottom"),
  spotlightLeft: () => spotlight("left"),
  spotlightRight: () => spotlight("right")
};
var inlinePatternStyles = {
  radialGradientTop: {
    background: "radial-gradient(125% 125% at 50% 10%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
  },
  radialGradientBottom: {
    background: "radial-gradient(125% 125% at 50% 90%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
  }
};
function PatternBackground({
  pattern,
  opacity = 0.08,
  className,
  style
}) {
  if (!pattern) {
    return null;
  }
  if (pattern in inlinePatternStyles) {
    const inlineStyle = inlinePatternStyles[pattern];
    return /* @__PURE__ */ jsx(
      "div",
      {
        className: cn("pointer-events-none absolute inset-0 z-0", className),
        style: { ...inlineStyle, opacity, ...style },
        "aria-hidden": "true"
      }
    );
  }
  if (pattern in patternOverlays) {
    const Overlay2 = patternOverlays[pattern];
    return /* @__PURE__ */ jsx(
      "div",
      {
        className: cn("pointer-events-none absolute inset-0 z-0", className),
        style: { opacity, ...style },
        "aria-hidden": "true",
        children: Overlay2()
      }
    );
  }
  const patternUrl = pattern in patternSvgs ? patternSvgs[pattern] : pattern;
  return /* @__PURE__ */ jsx(
    "div",
    {
      className: cn("pointer-events-none absolute inset-0 z-0", className),
      style: {
        backgroundImage: `url(${patternUrl})`,
        backgroundRepeat: "repeat",
        backgroundSize: "auto",
        opacity,
        ...style
      },
      "aria-hidden": "true"
    }
  );
}
var backgroundStyles = {
  white: "bg-background text-foreground",
  gray: "bg-muted/30 text-foreground",
  dark: "bg-foreground text-background",
  gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
  primary: "bg-primary text-primary-foreground",
  secondary: "bg-secondary text-secondary-foreground",
  muted: "bg-muted text-muted-foreground"
};
var spacingStyles = {
  none: "py-0 md:py-0",
  sm: "py-12 md:py-16",
  md: "py-16 md:py-24",
  lg: "py-20 md:py-32",
  xl: "py-24 md:py-40"
};
var Section = React__default.forwardRef(
  ({
    id,
    title,
    subtitle,
    children,
    className,
    style,
    background = "white",
    spacing = "lg",
    pattern,
    patternOpacity,
    patternClassName,
    ...props
  }, ref) => {
    return /* @__PURE__ */ jsxs(
      "section",
      {
        ref,
        id,
        className: cn(
          "relative",
          pattern ? "overflow-hidden" : null,
          backgroundStyles[background],
          spacingStyles[spacing],
          className
        ),
        style,
        ...props,
        children: [
          /* @__PURE__ */ jsx(
            PatternBackground,
            {
              pattern,
              opacity: patternOpacity,
              className: patternClassName
            }
          ),
          /* @__PURE__ */ jsxs(Container, { className: "relative z-10", children: [
            (title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
              subtitle && /* @__PURE__ */ jsx("p", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
              title && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
            ] }),
            children
          ] })
        ]
      }
    );
  }
);
Section.displayName = "Section";
function Accordion({
  ...props
}) {
  return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
}
function AccordionItem({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    AccordionPrimitive.Item,
    {
      "data-slot": "accordion-item",
      className: cn("border-b last:border-b-0", className),
      ...props
    }
  );
}
function AccordionTrigger({
  className,
  children,
  ...props
}) {
  return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
    AccordionPrimitive.Trigger,
    {
      "data-slot": "accordion-trigger",
      className: cn(
        "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
        className
      ),
      ...props,
      children: [
        children,
        /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
      ]
    }
  ) });
}
function AccordionContent({
  className,
  children,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    AccordionPrimitive.Content,
    {
      "data-slot": "accordion-content",
      className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
      ...props,
      children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
    }
  );
}
function NavigationMenu({
  className,
  children,
  viewport = true,
  ...props
}) {
  return /* @__PURE__ */ jsxs(
    NavigationMenuPrimitive.Root,
    {
      "data-slot": "navigation-menu",
      "data-viewport": viewport,
      className: cn(
        "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
        className
      ),
      ...props,
      children: [
        children,
        viewport && /* @__PURE__ */ jsx(NavigationMenuViewport, {})
      ]
    }
  );
}
function NavigationMenuList({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    NavigationMenuPrimitive.List,
    {
      "data-slot": "navigation-menu-list",
      className: cn(
        "group flex flex-1 list-none items-center justify-center gap-1",
        className
      ),
      ...props
    }
  );
}
function NavigationMenuItem({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    NavigationMenuPrimitive.Item,
    {
      "data-slot": "navigation-menu-item",
      className: cn("relative", className),
      ...props
    }
  );
}
var navigationMenuTriggerStyle = cva(
  "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
);
function NavigationMenuTrigger({
  className,
  children,
  ...props
}) {
  return /* @__PURE__ */ jsxs(
    NavigationMenuPrimitive.Trigger,
    {
      "data-slot": "navigation-menu-trigger",
      className: cn(navigationMenuTriggerStyle(), "group", className),
      ...props,
      children: [
        children,
        " ",
        /* @__PURE__ */ jsx(
          DynamicIcon,
          {
            name: "lucide/chevron-down",
            className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
            "aria-hidden": "true"
          }
        )
      ]
    }
  );
}
function NavigationMenuContent({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    NavigationMenuPrimitive.Content,
    {
      "data-slot": "navigation-menu-content",
      className: cn(
        "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
        "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
        className
      ),
      ...props
    }
  );
}
function NavigationMenuViewport({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    "div",
    {
      className: cn(
        "absolute top-full left-0 isolate z-50 flex justify-center"
      ),
      children: /* @__PURE__ */ jsx(
        NavigationMenuPrimitive.Viewport,
        {
          "data-slot": "navigation-menu-viewport",
          className: cn(
            "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
            className
          ),
          ...props
        }
      )
    }
  );
}
function NavigationMenuLink({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    NavigationMenuPrimitive.Link,
    {
      "data-slot": "navigation-menu-link",
      className: cn(
        "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
        className
      ),
      ...props
    }
  );
}
function Sheet({ ...props }) {
  return /* @__PURE__ */ jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
}
function SheetPortal({
  ...props
}) {
  return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
}
function SheetOverlay({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    SheetPrimitive.Overlay,
    {
      "data-slot": "sheet-overlay",
      className: cn(
        "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
        className
      ),
      ...props
    }
  );
}
function SheetContent({
  className,
  children,
  side = "right",
  ...props
}) {
  return /* @__PURE__ */ jsxs(SheetPortal, { children: [
    /* @__PURE__ */ jsx(SheetOverlay, {}),
    /* @__PURE__ */ jsxs(
      SheetPrimitive.Content,
      {
        "data-slot": "sheet-content",
        className: cn(
          "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
          side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
          side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
          side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
          side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
          className
        ),
        ...props,
        children: [
          children,
          /* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
            /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", className: "size-4" }),
            /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
          ] })
        ]
      }
    )
  ] });
}
function SheetTitle({
  className,
  ...props
}) {
  return /* @__PURE__ */ jsx(
    SheetPrimitive.Title,
    {
      "data-slot": "sheet-title",
      className: cn("text-foreground font-semibold", className),
      ...props
    }
  );
}

// lib/mediaPlaceholders.ts
var logoPlaceholders = {
  logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
var imagePlaceholders = [
  "https://toastability-production.s3.amazonaws.com/xlp46pzk3a4d73jgjx4s7xdafwpn",
  "https://toastability-production.s3.amazonaws.com/g1iuifb3yzoofo9c7a00koyn6q1t",
  "https://toastability-production.s3.amazonaws.com/z9u4sdrj2oq3eds0qyui0nxsus3j",
  "https://toastability-production.s3.amazonaws.com/63aotyt2pb4gqpccej2kkw8reson",
  "https://toastability-production.s3.amazonaws.com/pjgb223h1bjywdk15i3zi7pjhutg",
  "https://toastability-production.s3.amazonaws.com/we9r4e711an6d0bd3dwbl9tb9z7q",
  "https://toastability-production.s3.amazonaws.com/f8rfrurzo743ym1s7m5xtbombunz",
  "https://toastability-production.s3.amazonaws.com/oe0y4bgiylx81fbfvsw31mhdgjzs",
  "https://toastability-production.s3.amazonaws.com/sr370c2cnf7uk5k4f6znyshualv0",
  "https://toastability-production.s3.amazonaws.com/cen5x90p3kbdafb80liq1a5j222x",
  "https://toastability-production.s3.amazonaws.com/ygob90kp07hxmi5jj4sned76dnmc",
  "https://toastability-production.s3.amazonaws.com/qhz2kawawq3bbh7nusz3bvahln3v",
  "https://toastability-production.s3.amazonaws.com/zykfhuapdqzu94ee1535gsgnvyac",
  "https://toastability-production.s3.amazonaws.com/kh1p8y15v55ctp5ulobm4pd77etm",
  "https://toastability-production.s3.amazonaws.com/8x62o6350p1ejm3pjrp1jwvcbh4v",
  "https://toastability-production.s3.amazonaws.com/vvixyoo7ybq3h04q2q0kact0s5wc",
  "https://toastability-production.s3.amazonaws.com/t502cfynqso7ntkdvmcmfc87yjkt",
  "https://toastability-production.s3.amazonaws.com/ihgx63s5nfzp2e93e3ccljjnnrov",
  "https://toastability-production.s3.amazonaws.com/b555hwjt7ltr81et05v5254q1ak6",
  "https://toastability-production.s3.amazonaws.com/c4sgsy0g7o2rrjmvm9x7evxems82",
  "https://toastability-production.s3.amazonaws.com/a3m42usevv0iet0fpfwa1fsytxmv",
  "https://toastability-production.s3.amazonaws.com/qghzqu1i99vaubyew9s5dxcbel9l",
  "https://toastability-production.s3.amazonaws.com/9covpitzpuuobkg1m4mfokpi0enw",
  "https://toastability-production.s3.amazonaws.com/2d4k8d5shwg82276hzj2ztbj7mxq",
  "https://toastability-production.s3.amazonaws.com/op92dycs7w856e2jsvx20st0nyz9",
  "https://toastability-production.s3.amazonaws.com/f921uoblxbv8f9bmr4s2ik7xxugl",
  "https://toastability-production.s3.amazonaws.com/gl7n7p6atndufbsm6q2ac5jeqttp",
  "https://toastability-production.s3.amazonaws.com/sj8cs2gpbanaowqwxar1uhhwd23z",
  "https://toastability-production.s3.amazonaws.com/hu4gmd93sp95wdyr9qijze0rgim9",
  "https://toastability-production.s3.amazonaws.com/uh2vd59np82h8sevbmfnsha89sf1",
  "https://toastability-production.s3.amazonaws.com/gxs6zevccphti0hdq5l9fwytprpr",
  "https://toastability-production.s3.amazonaws.com/s4vho0wfbjhf758oife8qfuekou8",
  "https://toastability-production.s3.amazonaws.com/1b0gd8ul22q799d62dvm3sgyll85",
  "https://toastability-production.s3.amazonaws.com/102grjqg8aigxkj585s9x3xbxfv7",
  "https://toastability-production.s3.amazonaws.com/dvz0441h9fxjhh88lzqbwdoyxv52",
  "https://toastability-production.s3.amazonaws.com/50y066ms7rb5sw62u9u08jzkk8rj",
  "https://toastability-production.s3.amazonaws.com/9uxe0jw1zl1tujy0m5yalo7m2ht8",
  "https://toastability-production.s3.amazonaws.com/cyhcpla6me8vs936i3fw6wbhypi2",
  "https://toastability-production.s3.amazonaws.com/6ntdz6xwid3fswjz8y0otdxmzs40",
  "https://toastability-production.s3.amazonaws.com/y1aezpa78m2fhfvj8whcx337y9cb",
  "https://toastability-production.s3.amazonaws.com/eoa76d31ynbg34urr6e4619la1f7",
  "https://toastability-production.s3.amazonaws.com/0mh8a1dg7ftcqnyzgv303u501c8y",
  "https://toastability-production.s3.amazonaws.com/vvucxqs128w2d0z3n4s2z131rq7p",
  "https://toastability-production.s3.amazonaws.com/2rbqbw9778770i8izdeabx8v2w2k",
  "https://toastability-production.s3.amazonaws.com/90rcw2mljzpeuxlac8q77mor15xz",
  "https://toastability-production.s3.amazonaws.com/vh1aowwr93yz4qrzct2s4je0cxdo",
  "https://toastability-production.s3.amazonaws.com/ssgb7unxdwdqokfvhkp7cok2v79s",
  "https://toastability-production.s3.amazonaws.com/vvkma6b8whdkiq5nq8z4eyfe00vo",
  "https://toastability-production.s3.amazonaws.com/9797jh6slgbf9oq6lzlimcdiuziv",
  "https://toastability-production.s3.amazonaws.com/betxbx61fkijt0aygineplf489ze",
  "https://toastability-production.s3.amazonaws.com/0o6d7z4mm9nzeufhv9kefrhihbip",
  "https://toastability-production.s3.amazonaws.com/1xdx70c7gp9l883soyh5d3exesvt",
  "https://toastability-production.s3.amazonaws.com/jhjfvkmdzktacyijd9fh6acc7o2c",
  "https://toastability-production.s3.amazonaws.com/n001o4pfpszmyw03ubctig7kvf0e",
  "https://toastability-production.s3.amazonaws.com/l080sx0lcx51x44dqrb8006nqf08",
  "https://toastability-production.s3.amazonaws.com/2t36c7l0ywchaz4nys8yj2l5amae",
  "https://toastability-production.s3.amazonaws.com/gg5qnvb4nsl2k3g4dw4ls8bsllwh",
  "https://toastability-production.s3.amazonaws.com/3nqc7xvjy3e8d7jo1gdvbzty0oqg",
  "https://toastability-production.s3.amazonaws.com/0kx9umbfmv881wt9dfqnohv8efgi",
  "https://toastability-production.s3.amazonaws.com/9z0sbfnskx70vse99e3dfhper7i1",
  "https://toastability-production.s3.amazonaws.com/9keidwrag6g7jtqr7rdwb1ryt6ht",
  "https://toastability-production.s3.amazonaws.com/zm88vf14geh1gh0frd3yrdlb6pl8",
  "https://toastability-production.s3.amazonaws.com/0x7ktdk01jfaoysst0emzvqevu19",
  "https://toastability-production.s3.amazonaws.com/e83zsyvl0an0owzdmpwjnnty641x",
  "https://toastability-production.s3.amazonaws.com/t3k42fbzq7r7j93feldqm5cj1o1n",
  "https://toastability-production.s3.amazonaws.com/5sm6wc4no8fyzxfki5njmnv6gql5",
  "https://toastability-production.s3.amazonaws.com/w41h7890eivogu3sr78vlwkpzz8g",
  "https://toastability-production.s3.amazonaws.com/vrezhtksoqbw1nyo4hwnoqizrus5",
  "https://toastability-production.s3.amazonaws.com/8qkikcd43paeqgvw9gc1032j3yup",
  "https://toastability-production.s3.amazonaws.com/ihhq8unynafk4aikmys3rhbfibaz",
  "https://toastability-production.s3.amazonaws.com/rews5enr9ynu6izioj66s8ec90nc",
  "https://toastability-production.s3.amazonaws.com/6ku135fhv528eei3agnoc3zd7y75",
  "https://toastability-production.s3.amazonaws.com/x4scuzhsozrwrg703df5wbhygkgo",
  "https://toastability-production.s3.amazonaws.com/73e0s79u4crdu7cmjfp99j1l2v55",
  "https://toastability-production.s3.amazonaws.com/rddfyzvfpdlbzwhgep2myppwxn05",
  "https://toastability-production.s3.amazonaws.com/mat88x8zzdek7wpgtocjrehfivsh",
  "https://toastability-production.s3.amazonaws.com/3vwfdbekbkskxj2mvlvu85fz787u",
  "https://toastability-production.s3.amazonaws.com/ms4s4zyqpmboh0slez1cwat9qhw4",
  "https://toastability-production.s3.amazonaws.com/5jsc0b4e3gxnjs81iotw2c3e6da3",
  "https://toastability-production.s3.amazonaws.com/0g6t701zqr2r7najmdgftpeqnxmz",
  "https://toastability-production.s3.amazonaws.com/u3p1hlbm2c1vvkwlm8h668pe132z",
  "https://toastability-production.s3.amazonaws.com/ehgbcugs782765ke1l2dtbtzd918",
  "https://toastability-production.s3.amazonaws.com/kka8f550on7acx1lf82xleu6zhzo",
  "https://toastability-production.s3.amazonaws.com/67fnapqepn7f8vwt0x4nqho70hbz",
  "https://toastability-production.s3.amazonaws.com/t4cidbsfz3z468bn45yqdrkbx7ou",
  "https://toastability-production.s3.amazonaws.com/gq3c9qalkiomu0rzdzxymkdaazdu",
  "https://toastability-production.s3.amazonaws.com/9ujya2tfhxja7y5s9wb7d2u8crhd",
  "https://toastability-production.s3.amazonaws.com/hotlo54tsvl2k3eht9gg0460l9zw",
  "https://toastability-production.s3.amazonaws.com/ytbyjrcvrghc7wl6w1g7g8fwka22",
  "https://toastability-production.s3.amazonaws.com/uv0g605yf5mz106nrm1uspt9l0rr",
  "https://toastability-production.s3.amazonaws.com/yrp5k5xszwpe26fquupey6a6g0uu",
  "https://toastability-production.s3.amazonaws.com/97gctpna2hdozl1f8u5xq4ew8h0o",
  "https://toastability-production.s3.amazonaws.com/xjtepune0scj9yjkkqgaiwlq9hls",
  "https://toastability-production.s3.amazonaws.com/g607vblaarqctl1cvgxffhx4pw6g",
  "https://toastability-production.s3.amazonaws.com/4xpu1ljr9c8g6qzmfum5ygjzbzpb",
  "https://toastability-production.s3.amazonaws.com/yw5f7iwyypf4kctpr5ye5e495swt",
  "https://toastability-production.s3.amazonaws.com/z37cidvud212bzqhhalrhvk7ipaa",
  "https://toastability-production.s3.amazonaws.com/pfllskt7q7144l288lrnpc6gx606",
  "https://toastability-production.s3.amazonaws.com/fokd3hxzvdtsomagbfhqooyvndyv",
  "https://toastability-production.s3.amazonaws.com/6fffnb4phovtqkjhtzifs4rhb84u",
  "https://toastability-production.s3.amazonaws.com/mt87xjr79wxdhjy7496v3r6m2m9t",
  "https://toastability-production.s3.amazonaws.com/3dy9ge962uarlaf2xl7imdcviqgx",
  "https://toastability-production.s3.amazonaws.com/okf6fg4n9yv59up8ivgcdjy3w030",
  "https://toastability-production.s3.amazonaws.com/t7iteqw4xhtppkiws88bsoia25hv",
  "https://toastability-production.s3.amazonaws.com/klr5tuvulkyqfb721txtu4hgzxdm",
  "https://toastability-production.s3.amazonaws.com/9eddibiq5ovc9cvs3ekijkrjpahg",
  "https://toastability-production.s3.amazonaws.com/3ghn8dz3g9qtt4pf4nwbriaydvzb",
  "https://toastability-production.s3.amazonaws.com/82ykd8s8boiqaxypkulb0v0s2qiw",
  "https://toastability-production.s3.amazonaws.com/4eqmdeanxfk6jzvigo42y5ryv2c8",
  "https://toastability-production.s3.amazonaws.com/9ughnl9wnko2vdboib8n3wl3cxsy",
  "https://toastability-production.s3.amazonaws.com/4xjcgtlwseruezhoh3o1ga4umhj4",
  "https://toastability-production.s3.amazonaws.com/xwh1zzxgyd887thfm1j9lu9qnd6c",
  "https://toastability-production.s3.amazonaws.com/ri0dqx79spe6771np76mkmno5xfd",
  "https://toastability-production.s3.amazonaws.com/e13qu3083lkhdg7th64vb628172a",
  "https://toastability-production.s3.amazonaws.com/w87w0fyjdol9yzwo7yywkgxidvzo"
];
var defaultNavigation = [
  { title: "Solutions", menuType: "solutions" },
  { title: "Products", menuType: "products" },
  { title: "Global", menuType: "global" },
  { title: "Partners", menuType: "partners" },
  { title: "Resources", menuType: "resources" },
  { title: "Pricing", url: "#" }
];
var defaultSolutions = [
  {
    id: "solution-1",
    title: "Team Management",
    description: "Streamline team collaboration and project workflows.",
    href: "#",
    subpages: [
      {
        id: "subpage-1",
        title: "Task Management",
        href: "#",
        icon: "lucide/file"
      },
      {
        id: "subpage-2",
        title: "Team Planning",
        href: "#",
        icon: "lucide/building"
      },
      {
        id: "subpage-3",
        title: "Resource Allocation",
        href: "#",
        icon: "lucide/search"
      },
      {
        id: "subpage-4",
        title: "Time Tracking",
        href: "#",
        icon: "lucide/clock"
      },
      {
        id: "subpage-5",
        title: "Team Analytics",
        href: "#",
        icon: "lucide/user-plus"
      }
    ]
  },
  {
    id: "solution-2",
    title: "Project Management",
    description: "Plan, track, and deliver projects with confidence.",
    href: "#",
    subpages: [
      {
        id: "subpage-6",
        title: "Project Templates",
        href: "#",
        icon: "lucide/check-circle-2"
      },
      {
        id: "subpage-7",
        title: "Timeline Views",
        href: "#",
        icon: "lucide/user"
      },
      {
        id: "subpage-8",
        title: "Risk Management",
        href: "#",
        icon: "lucide/shield-check"
      },
      {
        id: "subpage-9",
        title: "Budget Tracking",
        href: "#",
        icon: "lucide/scale"
      }
    ]
  },
  {
    id: "solution-3",
    title: "Workflow Automation",
    description: "Automate repetitive tasks and focus on what matters.",
    href: "#",
    subpages: [
      {
        id: "subpage-11",
        title: "Custom Workflows",
        href: "#",
        icon: "lucide/globe"
      },
      {
        id: "subpage-12",
        title: "Process Templates",
        href: "#",
        icon: "lucide/clock"
      },
      {
        id: "subpage-13",
        title: "Business Rules",
        href: "#",
        icon: "lucide/dollar-sign"
      }
    ]
  },
  {
    id: "solution-4",
    title: "Enterprise Solutions",
    description: "Scale your organization with enterprise-grade features.",
    href: "#",
    subpages: [
      {
        id: "subpage-16",
        title: "Advanced Analytics",
        href: "#",
        icon: "lucide/pie-chart"
      },
      {
        id: "subpage-17",
        title: "Security Controls",
        href: "#",
        icon: "lucide/calculator"
      },
      {
        id: "subpage-18",
        title: "Custom Reporting",
        href: "#",
        icon: "lucide/table"
      }
    ]
  }
];
var defaultSolutionTechnologies = [
  {
    id: "technology-1",
    title: "Integration Platform",
    href: "#",
    icon: "lucide/puzzle"
  },
  {
    id: "technology-2",
    title: "Enterprise Security",
    href: "#",
    icon: "lucide/lock"
  },
  {
    id: "technology-3",
    title: "Developer API",
    href: "#",
    icon: "lucide/code"
  }
];
var defaultProductCategories = [
  {
    title: "Core Products",
    products: [
      {
        id: "product-1",
        title: "Task Management",
        description: "Organize and track work efficiently.",
        href: "#",
        image: imagePlaceholders[0]
      },
      {
        id: "product-2",
        title: "Team Calendar",
        description: "Coordinate schedules and deadlines.",
        href: "#",
        image: imagePlaceholders[1]
      },
      {
        id: "product-3",
        title: "Workflows",
        description: "Automate your business processes.",
        href: "#",
        image: imagePlaceholders[2]
      }
    ]
  },
  {
    title: "Advanced Features",
    products: [
      {
        id: "product-4",
        title: "Portfolio Management",
        description: "Track and optimize project portfolios at scale.",
        href: "#",
        image: imagePlaceholders[3]
      },
      {
        id: "product-5",
        title: "Resource Planning",
        description: "Optimize team workload and capacity.",
        href: "#",
        image: imagePlaceholders[4]
      }
    ]
  }
];
var defaultGlobalCategories = [
  {
    title: "Enterprise Solutions",
    features: [
      {
        id: "feature-1",
        title: "Digital Transformation",
        description: "Transform how your organization works.",
        href: "#",
        icon: "lucide/rocket"
      },
      {
        id: "feature-2",
        title: "Change Management",
        description: "Expert guidance for organizational change.",
        href: "#",
        icon: "lucide/building-2"
      },
      {
        id: "feature-3",
        title: "Global Deployment",
        description: "Roll out across global teams seamlessly.",
        href: "#",
        icon: "lucide/globe"
      }
    ]
  },
  {
    title: "Business Solutions",
    features: [
      {
        id: "feature-4",
        title: "Customer Success",
        description: "Dedicated support for your business needs.",
        href: "#",
        icon: "lucide/phone"
      },
      {
        id: "feature-5",
        title: "Compliance",
        description: "Meet industry standards and regulations.",
        href: "#",
        icon: "lucide/gavel"
      },
      {
        id: "feature-6",
        title: "ROI Calculator",
        description: "Measure the impact on your business.",
        href: "#",
        icon: "lucide/dollar-sign"
      }
    ]
  }
];
var defaultRegions = [
  {
    title: "Americas",
    locations: [
      { title: "United States", href: "#", icon: "\u{1F1FA}\u{1F1F8}" },
      { title: "Canada", href: "#", icon: "\u{1F1E8}\u{1F1E6}" },
      { title: "Brazil", href: "#", icon: "\u{1F1E7}\u{1F1F7}" }
    ]
  },
  {
    title: "Europe",
    locations: [
      { title: "United Kingdom", href: "#", icon: "\u{1F1EC}\u{1F1E7}" },
      { title: "Germany", href: "#", icon: "\u{1F1E9}\u{1F1EA}" },
      { title: "France", href: "#", icon: "\u{1F1EB}\u{1F1F7}" }
    ]
  },
  {
    title: "Asia-Pacific",
    locations: [
      { title: "Japan", href: "#", icon: "\u{1F1EF}\u{1F1F5}" },
      { title: "Australia", href: "#", icon: "\u{1F1E6}\u{1F1FA}" },
      { title: "Singapore", href: "#", icon: "\u{1F1F8}\u{1F1EC}" }
    ]
  }
];
var defaultResources = [
  {
    id: "resource-1",
    title: "Events & Webinars",
    description: "Learn from industry experts.",
    href: "#",
    icon: "lucide/calendar"
  },
  {
    id: "resource-2",
    title: "Podcasts",
    description: "Insights on productivity and leadership.",
    href: "#",
    icon: "lucide/mic"
  },
  {
    id: "resource-3",
    title: "Blog",
    description: "Latest updates and best practices.",
    href: "#",
    icon: "lucide/newspaper"
  },
  {
    id: "resource-4",
    title: "Video Tutorials",
    description: "Get started with guided videos.",
    href: "#",
    icon: "lucide/play-circle"
  },
  {
    id: "resource-5",
    title: "Knowledge Base",
    description: "Detailed guides and documentation.",
    href: "#",
    icon: "lucide/book"
  },
  {
    id: "resource-6",
    title: "Success Stories",
    description: "See how others achieve more.",
    href: "#",
    icon: "lucide/lightbulb"
  }
];
var defaultTopicGroups = [
  {
    title: "Learning Resources",
    topics: [
      {
        id: "topic-1",
        title: "Getting Started Guide",
        href: "#",
        icon: "lucide/globe"
      },
      {
        id: "topic-2",
        title: "Product Updates",
        href: "#",
        icon: "lucide/rocket"
      },
      {
        id: "topic-3",
        title: "Best Practices",
        href: "#",
        icon: "lucide/pyramid"
      },
      {
        id: "topic-4",
        title: "Integrations",
        href: "#",
        icon: "lucide/arrow-right-left"
      },
      {
        id: "topic-5",
        title: "API Documentation",
        href: "#",
        icon: "lucide/app-window"
      }
    ]
  },
  {
    title: "Community",
    topics: [
      {
        id: "topic-6",
        title: "Community Forum",
        href: "#",
        icon: "lucide/play"
      }
    ]
  }
];
var MOBILE_BREAKPOINT = 1024;
var defaultAuthActions = [
  { label: "Contact Sales", href: "#", variant: "outline", size: "sm", asButton: true },
  { label: "Get Started", href: "#", size: "sm", asButton: true }
];
var NavbarEnterpriseMega = ({
  className,
  containerClassName,
  navClassName,
  navigationMenuClassName,
  actionsClassName,
  logoClassName,
  logo = {
    url: "/",
    src: logoPlaceholders.logoMark,
    alt: "Opensite AI",
    title: "Opensite AI"
  },
  logoSlot,
  navigation = defaultNavigation,
  solutions = defaultSolutions,
  solutionTechnologies = defaultSolutionTechnologies,
  productCategories = defaultProductCategories,
  globalCategories = defaultGlobalCategories,
  regions = defaultRegions,
  resources = defaultResources,
  topicGroups = defaultTopicGroups,
  authActions = defaultAuthActions,
  authActionsSlot,
  background = "white",
  spacing = "none",
  pattern,
  patternOpacity,
  optixFlowConfig
}) => {
  const [open, setOpen] = useState(false);
  useEffect(() => {
    const handleResize = () => {
      if (window.innerWidth > MOBILE_BREAKPOINT) {
        setOpen(false);
      }
    };
    handleResize();
    window.addEventListener("resize", handleResize);
    return () => window.removeEventListener("resize", handleResize);
  }, []);
  useEffect(() => {
    document.body.style.overflow = open ? "hidden" : "auto";
  }, [open]);
  const handleMobileMenu = () => {
    setOpen(!open);
  };
  const renderLogo = () => {
    if (logoSlot) return logoSlot;
    if (!logo) return null;
    return /* @__PURE__ */ jsxs(
      Pressable,
      {
        href: logo.url || "/",
        className: cn("flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter", logoClassName),
        children: [
          logo.src && /* @__PURE__ */ jsx(
            Img,
            {
              src: logo.src,
              alt: logo.alt || "Logo",
              className: cn("inline-block size-6", logo.className),
              optixFlowConfig
            }
          ),
          logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
        ]
      }
    );
  };
  const renderAuthActions = () => {
    if (authActionsSlot) return authActionsSlot;
    if (!authActions || authActions.length === 0) return null;
    return authActions.map((action, index) => {
      const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
      return /* @__PURE__ */ jsx(
        Pressable,
        {
          className: actionClassName,
          ...pressableProps,
          children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
            icon,
            label,
            iconAfter
          ] })
        },
        index
      );
    });
  };
  return /* @__PURE__ */ jsxs(Fragment, { children: [
    /* @__PURE__ */ jsx(
      Section,
      {
        background,
        spacing,
        className: cn(
          "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center border-b",
          className
        ),
        pattern,
        patternOpacity,
        children: /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs("div", { className: cn("flex h-16 items-center justify-between gap-8", navClassName), children: [
          renderLogo(),
          /* @__PURE__ */ jsx(NavigationMenu, { className: cn("hidden lg:flex", navigationMenuClassName), viewport: false, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsx(
            DesktopMenuItem,
            {
              item,
              index,
              solutions,
              solutionTechnologies,
              productCategories,
              globalCategories,
              regions,
              resources,
              topicGroups,
              optixFlowConfig
            },
            `desktop-link-${index}`
          )) }) }),
          /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-3", actionsClassName), children: [
            /* @__PURE__ */ jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3", children: renderAuthActions() }),
            /* @__PURE__ */ jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsx(
              Pressable,
              {
                className: "size-11",
                variant: "ghost",
                size: "icon",
                asButton: true,
                onClick: handleMobileMenu,
                children: open ? /* @__PURE__ */ jsx(
                  DynamicIcon,
                  {
                    name: "lucide/x",
                    size: 22,
                    className: "stroke-foreground"
                  }
                ) : /* @__PURE__ */ jsx(
                  DynamicIcon,
                  {
                    name: "lucide/menu",
                    size: 22,
                    className: "stroke-foreground"
                  }
                )
              }
            ) })
          ] })
        ] }) })
      }
    ),
    /* @__PURE__ */ jsx(
      MobileNavigationMenu,
      {
        open,
        navigation,
        solutions,
        productCategories,
        resources,
        actionsClassName,
        authActions,
        authActionsSlot,
        optixFlowConfig
      }
    )
  ] });
};
var DesktopMenuItem = ({
  item,
  index,
  solutions,
  solutionTechnologies,
  productCategories,
  globalCategories,
  regions,
  resources,
  topicGroups,
  optixFlowConfig
}) => {
  if (item.menuType) {
    return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
      /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground/60", children: item.title }),
      /* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
        item.menuType === "solutions" && /* @__PURE__ */ jsx(
          SolutionsMenu,
          {
            solutions,
            solutionTechnologies,
            optixFlowConfig
          }
        ),
        item.menuType === "products" && /* @__PURE__ */ jsx(
          ProductsMenu,
          {
            productCategories,
            optixFlowConfig
          }
        ),
        item.menuType === "global" && /* @__PURE__ */ jsx(
          GlobalMenu,
          {
            globalCategories,
            regions,
            optixFlowConfig
          }
        ),
        item.menuType === "partners" && /* @__PURE__ */ jsx(PartnersMenu, { optixFlowConfig }),
        item.menuType === "resources" && /* @__PURE__ */ jsx(
          ResourcesMenu,
          {
            resources,
            topicGroups
          }
        )
      ] }) }) })
    ] }, `desktop-menu-item-${index}`);
  }
  return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
    NavigationMenuLink,
    {
      href: item.url,
      className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground/60`,
      children: item.title
    }
  ) }, `desktop-menu-item-${index}`);
};
var SolutionsMenu = ({
  solutions,
  solutionTechnologies,
  optixFlowConfig
}) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 sm:grid-cols-2", children: [
  /* @__PURE__ */ jsx(
    Pressable,
    {
      href: "#",
      className: "group relative flex h-full flex-row overflow-hidden rounded-lg bg-primary px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
      children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col space-y-12 text-left md:space-y-8 lg:w-full lg:flex-row lg:justify-between lg:space-y-0 lg:space-x-6 xl:space-x-8", children: [
        /* @__PURE__ */ jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0", children: [
          /* @__PURE__ */ jsx("span", { className: "mb-6 text-xs font-medium tracking-wider uppercase md:mb-8", children: "Transform Your Workflow" }),
          /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
            "Discover Our Platform",
            /* @__PURE__ */ jsx(
              DynamicIcon,
              {
                name: "lucide/arrow-right",
                size: 16,
                className: "ml-1 transition-transform group-hover:translate-x-1"
              }
            )
          ] }),
          /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: "Streamline collaboration, automate workflows, and boost productivity across your organization." })
        ] }),
        /* @__PURE__ */ jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-64 lg:pl-0 xl:max-w-96", children: /* @__PURE__ */ jsx(
          Img,
          {
            src: imagePlaceholders[0],
            alt: "placeholder",
            className: "aspect-2/1 h-full w-full translate-y-px object-cover object-center",
            optixFlowConfig
          }
        ) })
      ] })
    }
  ),
  /* @__PURE__ */ jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
    /* @__PURE__ */ jsx("div", { className: "mb-4 text-left leading-none md:col-span-2 lg:col-span-4 lg:mb-6", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
    /* @__PURE__ */ jsx("div", { className: "grid gap-4 lg:grid-cols-2", children: solutionTechnologies.map((technology) => /* @__PURE__ */ jsxs(
      NavigationMenuLink,
      {
        href: technology.href,
        className: "group flex flex-row items-center gap-4",
        children: [
          /* @__PURE__ */ jsx(DynamicIcon, { name: technology.icon, size: 16 }),
          /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: technology.title }),
          /* @__PURE__ */ jsx(
            DynamicIcon,
            {
              name: "lucide/arrow-right",
              size: 16,
              className: "transition-transform group-hover:translate-x-1 lg:hidden"
            }
          )
        ]
      },
      technology.id
    )) })
  ] }),
  /* @__PURE__ */ jsx("div", { className: "col-span-full grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children: solutions.map((solution) => /* @__PURE__ */ jsxs("div", { className: "rounded-md border border-border p-5", children: [
    /* @__PURE__ */ jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxs(
      Pressable,
      {
        href: solution.href,
        className: "group flex flex-col text-left",
        children: [
          /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
            /* @__PURE__ */ jsx("strong", { className: "text-sm font-medium", children: solution.title }),
            /* @__PURE__ */ jsx(
              DynamicIcon,
              {
                name: "lucide/arrow-right",
                size: 16,
                className: "ml-1 transition-transform group-hover:translate-x-1"
              }
            )
          ] }),
          /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: solution.description })
        ]
      }
    ) }),
    /* @__PURE__ */ jsx("menu", { className: "mt-6 grid gap-y-4", children: solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
      NavigationMenuLink,
      {
        href: subpage.href,
        className: "group flex flex-row items-center space-x-4 text-left text-foreground/85 hover:text-foreground lg:space-x-4 lg:border-0",
        children: [
          /* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size: 16 }),
          /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: subpage.title }),
          /* @__PURE__ */ jsx(
            DynamicIcon,
            {
              name: "lucide/arrow-right",
              size: 16,
              className: "transition-transform group-hover:translate-x-1 lg:hidden"
            }
          )
        ]
      },
      subpage.id
    )) })
  ] }, solution.id)) })
] });
var ProductsMenu = ({
  productCategories,
  optixFlowConfig
}) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
  /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
    Pressable,
    {
      href: "#",
      className: "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
      children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
        /* @__PURE__ */ jsx("div", { className: "relative flex aspect-2/1 max-h-44 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
          Img,
          {
            src: imagePlaceholders[5],
            alt: "placeholder",
            className: "h-full w-full object-cover object-center",
            optixFlowConfig
          }
        ) }),
        /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
          /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
            "Enterprise Solutions",
            /* @__PURE__ */ jsx(
              DynamicIcon,
              {
                name: "lucide/arrow-right",
                size: 16,
                className: "ml-1 transition-transform group-hover:translate-x-1"
              }
            )
          ] }),
          /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/70", children: "Scale your business with enterprise-grade features and support." })
        ] })
      ] })
    }
  ) }),
  /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
    /* @__PURE__ */ jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
    /* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-5 lg:gap-y-7", children: category.products.map((product) => /* @__PURE__ */ jsxs(
      NavigationMenuLink,
      {
        href: product.href,
        className: "group flex flex-row items-center space-x-6 border-b border-border py-5 text-left sm:py-7 lg:space-x-4 lg:border-0 lg:py-2",
        children: [
          /* @__PURE__ */ jsx("div", { className: "relative flex aspect-square w-6 shrink-0 items-center justify-center overflow-clip rounded md:size-9 md:p-2", children: /* @__PURE__ */ jsx(
            Img,
            {
              src: product.image,
              alt: product.title,
              className: "dark:invert",
              optixFlowConfig
            }
          ) }),
          /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
            /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground/85 group-hover:text-foreground", children: product.title }),
            /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground group-hover:text-foreground", children: product.description })
          ] }),
          /* @__PURE__ */ jsx(
            DynamicIcon,
            {
              name: "lucide/arrow-right",
              size: 16,
              className: "transition-transform group-hover:translate-x-1 lg:hidden"
            }
          )
        ]
      },
      product.id
    )) })
  ] }, category.title)) })
] });
var GlobalMenu = ({
  globalCategories,
  regions,
  optixFlowConfig
}) => /* @__PURE__ */ jsxs("div", { children: [
  /* @__PURE__ */ jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
    /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
      Pressable,
      {
        href: "#",
        className: "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
        children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left lg:flex-col", children: [
          /* @__PURE__ */ jsx("div", { className: "relative flex aspect-4/3 max-h-72 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
            Img,
            {
              src: imagePlaceholders[6],
              alt: "placeholder",
              className: "h-full w-full object-cover object-center",
              optixFlowConfig
            }
          ) }),
          /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
            /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
              "Enterprise Solutions",
              /* @__PURE__ */ jsx(
                DynamicIcon,
                {
                  name: "lucide/arrow-right",
                  size: 16,
                  className: "ml-1 transition-transform group-hover:translate-x-1"
                }
              )
            ] }),
            /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: "Scale your business with enterprise-grade features and support." })
          ] })
        ] })
      }
    ) }),
    /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: globalCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
      /* @__PURE__ */ jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
      /* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-6 lg:gap-y-6", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
        NavigationMenuLink,
        {
          href: feature.href,
          className: "group flex flex-row items-center space-x-4 border-b border-border py-5 text-left sm:py-7 lg:border-0 lg:py-0",
          children: [
            /* @__PURE__ */ jsx("div", { className: "flex aspect-square size-9 shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx(DynamicIcon, { name: feature.icon, size: 20 }) }),
            /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
              /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground/85 group-hover:text-foreground", children: feature.title }),
              /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground group-hover:text-foreground", children: feature.description })
            ] }),
            /* @__PURE__ */ jsx(
              DynamicIcon,
              {
                name: "lucide/arrow-right",
                size: 16,
                className: "transition-transform group-hover:translate-x-1 lg:hidden"
              }
            )
          ]
        },
        feature.id
      )) })
    ] }, category.title)) })
  ] }),
  /* @__PURE__ */ jsxs("div", { className: "mt-8", children: [
    /* @__PURE__ */ jsx("div", { className: "mb-6 border-border pb-1 text-left lg:border-b", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
    /* @__PURE__ */ jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxs(
      "div",
      {
        className: "space-y-6 rounded-md border border-border p-6 lg:border-0 lg:p-0",
        children: [
          /* @__PURE__ */ jsx("div", { className: "text-left text-xs text-muted-foreground", children: region.title }),
          /* @__PURE__ */ jsx("menu", { className: "grid gap-y-3 border-t border-border pt-6 lg:border-0 lg:pt-0", children: region.locations.map((location) => /* @__PURE__ */ jsxs(
            NavigationMenuLink,
            {
              href: location.href,
              className: "group flex flex-row items-center space-x-4 text-left text-foreground/85 hover:text-foreground lg:space-x-4 lg:border-0 lg:py-0",
              children: [
                /* @__PURE__ */ jsx("div", { className: "flex size-4 items-center justify-center", children: location.icon }),
                /* @__PURE__ */ jsx("div", { className: "flex-1 text-sm font-medium", children: location.title }),
                /* @__PURE__ */ jsx(
                  DynamicIcon,
                  {
                    name: "lucide/arrow-right",
                    size: 16,
                    className: "transition-transform group-hover:translate-x-1 lg:hidden"
                  }
                )
              ]
            },
            location.title
          )) })
        ]
      },
      region.title
    )) })
  ] })
] });
var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
  /* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsx(
    Pressable,
    {
      href: "#",
      className: "group relative flex h-full flex-row overflow-hidden rounded-lg bg-primary p-0 text-primary-foreground lg:rounded-xl",
      children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
        /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
          /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs font-medium", children: [
            "Partner Program",
            /* @__PURE__ */ jsx(
              DynamicIcon,
              {
                name: "lucide/arrow-right",
                size: 16,
                className: "ml-1 transition-transform group-hover:translate-x-1"
              }
            )
          ] }),
          /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs", children: "Join our partner network and grow your business with our leading productivity platform." })
        ] }),
        /* @__PURE__ */ jsx("div", { className: "absolute inset-0 top-[32%] bg-accent invert md:top-0", children: /* @__PURE__ */ jsx(
          Img,
          {
            src: imagePlaceholders[7],
            alt: "placeholder",
            className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
            optixFlowConfig
          }
        ) })
      ] })
    }
  ) }),
  /* @__PURE__ */ jsx("div", { className: "md:col-span-1", children: /* @__PURE__ */ jsx(
    Pressable,
    {
      href: "#",
      className: "group relative flex h-full flex-row overflow-hidden rounded-lg bg-accent p-0 text-accent-foreground lg:rounded-xl",
      children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
        /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
          /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs font-medium", children: [
            "Solution Partners",
            /* @__PURE__ */ jsx(
              DynamicIcon,
              {
                name: "lucide/arrow-right",
                size: 16,
                className: "ml-1 transition-transform group-hover:translate-x-1"
              }
            )
          ] }),
          /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-muted-foreground", children: "Build and deliver solutions that help customers achieve more." })
        ] }),
        /* @__PURE__ */ jsx("div", { className: "absolute inset-0 top-[32%] md:top-0", children: /* @__PURE__ */ jsx(
          Img,
          {
            src: imagePlaceholders[8],
            alt: "placeholder",
            className: "object-fit h-full w-full object-top-right md:h-2/3 md:object-top",
            optixFlowConfig
          }
        ) })
      ] })
    }
  ) }),
  /* @__PURE__ */ jsxs("div", { className: "grid gap-4 md:col-span-1", children: [
    /* @__PURE__ */ jsx(
      NavigationMenuLink,
      {
        href: "#",
        className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
        children: /* @__PURE__ */ jsxs("div", { className: "flex items-start p-6 text-left", children: [
          /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/users", size: 32 }),
          /* @__PURE__ */ jsxs("div", { className: "ml-4", children: [
            /* @__PURE__ */ jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: "Implementation Partners" }),
            /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: "Help customers implement and optimize their workflows." })
          ] })
        ] })
      }
    ),
    /* @__PURE__ */ jsx(
      NavigationMenuLink,
      {
        href: "#",
        className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
        children: /* @__PURE__ */ jsxs("div", { className: "flex items-start p-6 text-left", children: [
          /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/monitor", size: 32 }),
          /* @__PURE__ */ jsxs("div", { className: "ml-4", children: [
            /* @__PURE__ */ jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: "Technology Partners" }),
            /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: "Integrate your products with our platform." })
          ] })
        ] })
      }
    )
  ] })
] });
var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
  /* @__PURE__ */ jsxs("div", { className: "lg:col-span-2", children: [
    /* @__PURE__ */ jsx("div", { className: "mb-6 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
    /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: resources.map((resource) => /* @__PURE__ */ jsxs(
      NavigationMenuLink,
      {
        href: resource.href,
        className: "group flex flex-row items-start gap-4 rounded-lg border border-border p-4 hover:bg-accent",
        children: [
          /* @__PURE__ */ jsx(
            DynamicIcon,
            {
              name: resource.icon,
              size: 20,
              className: "mt-1 shrink-0"
            }
          ),
          /* @__PURE__ */ jsxs("div", { children: [
            /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: resource.title }),
            /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-muted-foreground", children: resource.description })
          ] })
        ]
      },
      resource.id
    )) })
  ] }),
  /* @__PURE__ */ jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-8 last:mb-0", children: [
    /* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
    /* @__PURE__ */ jsx("div", { className: "space-y-3", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
      NavigationMenuLink,
      {
        href: topic.href,
        className: "group flex flex-row items-center gap-3 text-foreground/85 hover:text-foreground",
        children: [
          /* @__PURE__ */ jsx(DynamicIcon, { name: topic.icon, size: 16 }),
          /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: topic.title })
        ]
      },
      topic.id
    )) })
  ] }, group.title)) })
] });
var MobileNavigationMenu = ({
  open,
  navigation,
  solutions,
  productCategories,
  resources,
  actionsClassName,
  authActions,
  authActionsSlot,
  optixFlowConfig
}) => {
  const renderAuthActions = () => {
    if (authActionsSlot) return authActionsSlot;
    if (!authActions || authActions.length === 0) return null;
    return authActions.map((action, index) => {
      const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
      return /* @__PURE__ */ jsx(
        Pressable,
        {
          asButton: true,
          className: actionClassName,
          ...pressableProps,
          children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
            icon,
            label,
            iconAfter
          ] })
        },
        index
      );
    });
  };
  return /* @__PURE__ */ jsx(Sheet, { open, children: /* @__PURE__ */ jsx(
    SheetContent,
    {
      "aria-describedby": void 0,
      side: "top",
      className: "inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
      children: /* @__PURE__ */ jsx("div", { className: "h-full overflow-y-auto pt-4 pb-20", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
        /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
        /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderAuthActions() }),
        /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children: navigation.map((item, index) => {
          if (item.menuType) {
            return /* @__PURE__ */ jsxs(
              AccordionItem,
              {
                value: `nav-${index}`,
                className: "border-b-0",
                children: [
                  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
                  /* @__PURE__ */ jsxs(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: [
                    item.menuType === "solutions" && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: solutions.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
                      /* @__PURE__ */ jsx(
                        Pressable,
                        {
                          href: solution.href,
                          className: "text-sm font-medium",
                          children: solution.title
                        }
                      ),
                      solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
                        Pressable,
                        {
                          href: subpage.href,
                          className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground",
                          children: [
                            /* @__PURE__ */ jsx(
                              DynamicIcon,
                              {
                                name: subpage.icon,
                                size: 14
                              }
                            ),
                            subpage.title
                          ]
                        },
                        subpage.id
                      ))
                    ] }, solution.id)) }),
                    item.menuType === "products" && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: productCategories.flatMap(
                      (category) => category.products.map((product) => /* @__PURE__ */ jsx(
                        Pressable,
                        {
                          href: product.href,
                          className: "flex items-center gap-2 text-sm text-muted-foreground",
                          children: product.title
                        },
                        product.id
                      ))
                    ) }),
                    item.menuType === "resources" && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: resources.map((resource) => /* @__PURE__ */ jsxs(
                      Pressable,
                      {
                        href: resource.href,
                        className: "flex items-center gap-2 text-sm text-muted-foreground",
                        children: [
                          /* @__PURE__ */ jsx(DynamicIcon, { name: resource.icon, size: 14 }),
                          resource.title
                        ]
                      },
                      resource.id
                    )) }),
                    (item.menuType === "global" || item.menuType === "partners") && /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxs(Pressable, { href: "#", children: [
                      "View all ",
                      item.title.toLowerCase()
                    ] }) })
                  ] })
                ]
              },
              item.title
            );
          }
          return /* @__PURE__ */ jsx(
            Pressable,
            {
              href: item.url,
              className: "flex h-15 items-center text-base font-normal text-foreground",
              children: item.title
            },
            item.title
          );
        }) })
      ] }) })
    }
  ) });
};

export { NavbarEnterpriseMega };
