"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";















var _chunkZDF6F7EDcjs = require('./chunk-ZDF6F7ED.cjs');





var _chunkG7UE6RKVcjs = require('./chunk-G7UE6RKV.cjs');



var _chunkUXZ3ZJ3Mcjs = require('./chunk-UXZ3ZJ3M.cjs');



var _chunk664KA5FIcjs = require('./chunk-664KA5FI.cjs');



var _chunkWBR7H6E3cjs = require('./chunk-WBR7H6E3.cjs');



var _chunkVRHGVLSLcjs = require('./chunk-VRHGVLSL.cjs');

// src/components/unified-pagination.tsx
var unified_pagination_exports = {};
_chunkVRHGVLSLcjs.__export.call(void 0, unified_pagination_exports, {
  UnifiedPagination: () => UnifiedPagination
});
var _jsxruntime = require('react/jsx-runtime');
function UnifiedPagination({
  currentPage,
  totalPages,
  onPageChange,
  className = "mt-8 flex justify-center w-full"
}) {
  const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
  const searchParams = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
  const pathname = _chunkG7UE6RKVcjs.usePathname.call(void 0, );
  const handlePageChange = (page) => {
    const currentScrollY = window.scrollY;
    if (onPageChange) {
      onPageChange(page);
    }
    const params = new URLSearchParams(searchParams.toString());
    params.set("page", page.toString());
    const newUrl = `${pathname}?${params.toString()}`;
    window.history.replaceState(null, "", newUrl);
    setTimeout(() => {
      window.scrollTo({
        top: currentScrollY,
        behavior: "instant"
        // Instant to prevent any scroll animation
      });
    }, 0);
  };
  if (totalPages <= 1) return null;
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
    _chunkZDF6F7EDcjs.Pagination,
    {
      currentPage,
      totalPages,
      onPageChange: handlePageChange
    }
  ) });
}
var init_unified_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
  "src/components/unified-pagination.tsx"() {
    "use strict";
    "use client";
    _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
    _chunkZDF6F7EDcjs.init_pagination.call(void 0, );
  }
});

// src/components/empty-state.tsx
_chunkUXZ3ZJ3Mcjs.init_button2.call(void 0, );
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
var _lucidereact = require('lucide-react');

function EmptyState({
  type,
  title,
  description,
  showBackButton = false,
  onGoBack,
  backButtonText = "Go Back",
  showCTA = true,
  ctaText,
  onCtaClick,
  ctaVariant = "primary"
}) {
  const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
  const getDefaultContent = () => {
    switch (type) {
      case "vendors":
        return {
          icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Package, { className: "w-full h-full" }),
          title: "No vendors found",
          description: "We couldn't find any vendors matching your criteria. Try adjusting your filters or search terms."
        };
      case "posts":
        return {
          icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.FileText, { className: "w-full h-full" }),
          title: "No articles found",
          description: "We couldn't find any articles matching your criteria. Try different categories, tags, or search terms."
        };
      case "search":
        return {
          icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Search, { className: "w-full h-full" }),
          title: "No results found",
          description: "Your search didn't return any results. Try different keywords or browse our categories."
        };
      default:
        return {
          icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Search, { className: "w-full h-full" }),
          title: "Nothing found",
          description: "We couldn't find what you're looking for. Try adjusting your search or filters."
        };
    }
  };
  const getSmartCTA = () => {
    if (ctaText && onCtaClick) {
      return {
        text: ctaText,
        action: onCtaClick
      };
    }
    const isClient = typeof window !== "undefined";
    const currentPath = isClient ? window.location.pathname : "";
    switch (type) {
      case "search":
        return {
          text: "Reset Filters",
          action: () => {
            if (isClient) {
              const url = new URL(window.location.href);
              url.search = "";
              router.push(url.pathname);
            }
          }
        };
      case "posts":
        if (currentPath.includes("/blog")) {
          return {
            text: "Reset Filters",
            action: () => {
              if (isClient) {
                const url = new URL(window.location.href);
                url.search = "";
                router.push(url.pathname);
              }
            }
          };
        } else if (currentPath.includes("/profile")) {
          return {
            text: "Browse Vendors",
            action: () => router.push("/vendors")
          };
        }
        return {
          text: "View All Posts",
          action: () => router.push("/blog")
        };
      case "vendors":
        if (currentPath.includes("/profile")) {
          return {
            text: "Browse Vendors",
            action: () => router.push("/vendors")
          };
        } else if (currentPath.includes("/vendors") || currentPath.includes("/margin-increase/compare")) {
          return {
            text: "Reset Filters",
            action: () => {
              if (isClient) {
                const url = new URL(window.location.href);
                url.search = "";
                router.push(url.pathname);
              }
            }
          };
        }
        return {
          text: "Browse Vendors",
          action: () => router.push("/vendors")
        };
      default:
        return {
          text: "Browse Vendors",
          action: () => router.push("/vendors")
        };
    }
  };
  const defaultContent = getDefaultContent();
  const displayTitle = title || defaultContent.title;
  const displayDescription = description || defaultContent.description;
  const smartCTA = getSmartCTA();
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center py-6 md:py-16 px-6 text-center", children: [
    /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 md:mb-6 flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-full bg-ods-card p-3 md:p-6 border border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-16 md:h-16 text-ods-text-secondary flex items-center justify-center", children: defaultContent.icon }) }) }),
    /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 md:mb-3 text-lg md:text-xl font-semibold font-['DM_Sans'] text-ods-text-primary tracking-[-0.02em]", children: displayTitle }),
    /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-4 md:mb-8 max-w-md text-sm font-medium font-['DM_Sans'] text-ods-text-secondary leading-[1.43em]", children: displayDescription }),
    showCTA && smartCTA && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full max-w-xs mb-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
      _chunkUXZ3ZJ3Mcjs.Button,
      {
        onClick: smartCTA.action,
        className: ctaVariant === "primary" ? "w-full bg-[#FFC008] text-black hover:bg-[#FFC008]/90 transition-all duration-150 font-['DM_Sans'] font-medium" : "w-full bg-transparent border border-ods-border text-ods-text-primary hover:border-[#FFC008] hover:text-ods-accent transition-all duration-150 font-['DM_Sans'] font-medium",
        children: smartCTA.text
      }
    ) }),
    showBackButton && onGoBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
      _chunkUXZ3ZJ3Mcjs.Button,
      {
        onClick: onGoBack,
        variant: "outline",
        className: "w-full transition-all duration-150 font-['DM_Sans'] font-medium",
        children: backButtonText
      }
    ) })
  ] });
}

// src/components/shared/dev-section/dev-section-view.tsx
var _react = require('react');

function DevSectionView({ sectionKey, hero, preControls, children }) {
  const section = _chunkZDF6F7EDcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
  const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
  const pathname = _chunkG7UE6RKVcjs.usePathname.call(void 0, );
  const searchParams = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
  const search = section.search;
  const filter = section.filter;
  const currentSearch = search ? searchParams.get(search.paramKey) || "" : "";
  const currentFilterValue = filter ? searchParams.get(filter.paramKey) || filter.defaultValue : "";
  const [searchValue, setSearchValue] = _react.useState.call(void 0, () => currentSearch);
  _react.useEffect.call(void 0, () => {
    setSearchValue(currentSearch);
  }, [currentSearch]);
  const handleSearchSubmit = (value) => {
    if (!search) return;
    const params = new URLSearchParams(searchParams.toString());
    if (value.trim()) params.set(search.paramKey, value.trim());
    else params.delete(search.paramKey);
    router.replace(`${pathname}?${params.toString()}`, { scroll: false });
  };
  const handleFilterChange = (value) => {
    if (!filter) return;
    const params = new URLSearchParams(searchParams.toString());
    if (value === filter.defaultValue) params.delete(filter.paramKey);
    else params.set(filter.paramKey, value);
    router.replace(`${pathname}?${params.toString()}`, { scroll: false });
  };
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full flex flex-col gap-10", children: [
    hero ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
      /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h1", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary flex items-center gap-3", children: [
        hero.icon,
        section.hero.title
      ] }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[18px] leading-[28px] text-ods-text-secondary max-w-3xl", children: hero.description })
    ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-between w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h2", { className: "font-['Azeret_Mono'] font-semibold text-[32px] md:text-[40px] lg:text-[48px] leading-[40px] md:leading-[48px] lg:leading-[56px] text-ods-text-primary tracking-[-0.64px] md:tracking-[-0.8px] lg:tracking-[-0.96px]", children: [
      section.hero.title,
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ":" })
    ] }) }),
    preControls,
    (search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
      search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
        _chunkZDF6F7EDcjs.SearchInput,
        {
          showDropdown: false,
          placeholder: search.placeholder,
          value: searchValue,
          onChange: setSearchValue,
          onSubmit: handleSearchSubmit
        }
      ),
      filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
        _chunkZDF6F7EDcjs.StatusFilterComponent,
        {
          selectedStatus: currentFilterValue,
          onStatusChange: handleFilterChange,
          statusOptions: [...filter.options]
        }
      )
    ] }),
    children
  ] });
}

// src/components/shared/dev-section/dev-section-page.tsx
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );

var SECTION_HERO_ICON_CLASS = "h-10 w-10 text-ods-accent";
function DevSectionPage({ sectionKey, children, preControls, backButton }) {
  const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
  const section = _chunkZDF6F7EDcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
  const Icon = section.icon;
  const backCfg = backButton === false ? void 0 : {
    label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
    onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
  };
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZDF6F7EDcjs.PageShell, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZDF6F7EDcjs.PageLayout, { backButton: backCfg, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
    DevSectionView,
    {
      sectionKey,
      hero: {
        icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: SECTION_HERO_ICON_CLASS }),
        description: section.hero.description
      },
      preControls,
      children
    }
  ) }) });
}

// src/components/shared/dev-section/dev-card-row.tsx

function DevCardRowContent({
  title,
  subtitle,
  description,
  emptyDescription = "No description provided",
  rightBadges
}) {
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row items-start justify-between gap-[12px] md:gap-[16px] w-full", children: [
    /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 w-full md:w-auto flex flex-col gap-[12px] md:gap-[16px]", children: [
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[24px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2 md:truncate break-words", children: title }) }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: subtitle }) }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[72px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary line-clamp-3 break-words", children: description || emptyDescription }) })
    ] }),
    /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 self-start flex flex-col gap-2", children: rightBadges })
  ] });
}
function ConversationCardRow({
  author,
  role,
  avatarSrc,
  timestamp,
  body,
  attachments,
  variant = "support"
}) {
  const hasBody = body.trim().length > 0;
  const hasAttachments = !!attachments && attachments.length > 0;
  if (!hasBody && !hasAttachments) return null;
  const relativeTime = timestamp ? _chunkZDF6F7EDcjs.formatRelativeTime.call(void 0, timestamp) : null;
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, 
    "article",
    {
      className: "border-b border-ods-border last:border-b-0 p-[12px] md:p-[16px] flex gap-[12px] md:gap-[16px] w-full",
      "aria-label": `${author}${relativeTime ? ` \xB7 ${relativeTime}` : ""}`,
      children: [
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
          _chunkZDF6F7EDcjs.SquareAvatar,
          {
            src: avatarSrc,
            alt: author,
            fallback: author,
            size: "sm",
            variant: "round"
          }
        ),
        /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col gap-[8px] md:gap-[12px]", children: [
          /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-baseline justify-between gap-[8px] flex-wrap", children: [
            /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-baseline gap-[8px] min-w-0", children: [
              /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h4 text-ods-text-primary truncate", children: author }),
              role && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 text-ods-text-secondary uppercase tracking-[-0.28px] shrink-0", children: role })
            ] }),
            relativeTime && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
              "time",
              {
                className: "text-h6 text-ods-text-secondary uppercase tracking-[-0.28px] shrink-0",
                dateTime: _nullishCoalesce(timestamp, () => ( void 0)),
                title: _nullishCoalesce(timestamp, () => ( void 0)),
                children: relativeTime
              }
            )
          ] }),
          hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary whitespace-pre-wrap break-words", children: body }),
          hasAttachments && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZDF6F7EDcjs.TicketAttachmentsList, { attachments })
        ] })
      ]
    }
  );
}
function ConversationCardRowSkeleton() {
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0 p-[12px] md:p-[16px] flex gap-[12px] md:gap-[16px] w-full", children: [
    /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 shrink-0 rounded-full bg-ods-border animate-pulse" }),
    /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col gap-[8px] md:gap-[12px]", children: [
      /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-baseline justify-between gap-[8px]", children: [
        /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-baseline gap-[8px] flex-1", children: [
          /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[24px] w-32 bg-ods-border rounded animate-pulse" }),
          /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] w-16 bg-ods-border rounded animate-pulse" })
        ] }),
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] w-20 bg-ods-border rounded animate-pulse shrink-0" })
      ] }),
      /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] w-full bg-ods-border rounded animate-pulse" }),
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] w-3/4 bg-ods-border rounded animate-pulse" })
      ] })
    ] })
  ] });
}
function ConversationCardRowSkeletonList({ rows = 2 }) {
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden w-full", children: Array.from({ length: rows }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConversationCardRowSkeleton, {}, i)) });
}
function DevCardRowSkeleton() {
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0 p-[12px] md:p-[16px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row items-start justify-between gap-[12px] md:gap-[16px] w-full", children: [
    /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 w-full md:w-auto flex flex-col gap-[12px] md:gap-[16px]", children: [
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[24px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-full" }) }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-1/2" }) }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[72px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-1", children: [
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-full" }),
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-full" }),
        /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[20px] bg-ods-border rounded animate-pulse w-2/3" })
      ] }) })
    ] }),
    /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-shrink-0 self-start flex flex-col gap-2", children: [
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[100px] bg-ods-border rounded animate-pulse" }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] bg-ods-border rounded animate-pulse" })
    ] })
  ] }) });
}
function DevCardRowSkeletonList({ rows = 5 }) {
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden w-full", children: Array.from({ length: rows }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevCardRowSkeleton, {}, i)) });
}

// src/components/shared/delivery/delivery-row.tsx
_chunkWBR7H6E3cjs.init_next_link.call(void 0, );
_chunk664KA5FIcjs.init_cn.call(void 0, );

function getRelativeTime(timestamp) {
  const now = Date.now();
  const diff = now - timestamp;
  const days = Math.floor(diff / (1e3 * 60 * 60 * 24));
  const weeks = Math.floor(days / 7);
  const months = Math.floor(days / 30);
  if (months > 0) return months === 1 ? "last month" : `${months} months ago`;
  if (weeks > 0) return weeks === 1 ? "last week" : `${weeks} weeks ago`;
  if (days > 0) return days === 1 ? "yesterday" : `${days} days ago`;
  return "today";
}
function DeliveryRow({
  item,
  href,
  caption,
  className
}) {
  const taskType = item.taskType;
  const typeBadgeLabel = _chunkZDF6F7EDcjs.TASK_TYPE_LABELS[taskType] || "TASK";
  const typeBadgeTextColor = _chunkZDF6F7EDcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
  const statusBadgeScheme = _chunkZDF6F7EDcjs.getStatusColorScheme.call(void 0, item.status);
  const relativeTime = getRelativeTime(item.dateUpdated);
  const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
  const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row items-start justify-between gap-[12px] md:gap-[16px] w-full", children: [
    /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 w-full md:w-auto flex flex-col gap-[12px] md:gap-[16px]", children: [
      caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs font-medium uppercase tracking-wider text-ods-text-secondary", children: caption }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[24px] md:min-h-[24px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2 md:truncate break-words", children: item.title }) }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: subtitle }) }),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[72px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary line-clamp-3 break-words", children: item.description || "No description provided" }) })
    ] }),
    /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-shrink-0 self-start flex flex-col gap-2", children: [
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
        _chunkZDF6F7EDcjs.StatusBadge,
        {
          text: item.status.toUpperCase(),
          colorScheme: statusBadgeScheme,
          variant: "card",
          className: "border border-ods-border"
        }
      ),
      /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
        _chunkZDF6F7EDcjs.StatusBadge,
        {
          text: typeBadgeLabel,
          variant: "card",
          className: `border border-ods-border ${typeBadgeTextColor}`
        }
      )
    ] })
  ] });
  const baseClass = _chunk664KA5FIcjs.cn.call(void 0, 
    "block p-[12px] md:p-[16px] no-underline text-inherit transition-colors duration-150",
    href && "hover:bg-ods-bg-hover cursor-pointer",
    className
  );
  if (href) {
    return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href, className: baseClass, prefetch: false, children: inner });
  }
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: baseClass, children: inner });
}














exports.EmptyState = EmptyState; exports.UnifiedPagination = UnifiedPagination; exports.unified_pagination_exports = unified_pagination_exports; exports.init_unified_pagination = init_unified_pagination; exports.DevSectionView = DevSectionView; exports.DevSectionPage = DevSectionPage; exports.DevCardRowContent = DevCardRowContent; exports.ConversationCardRow = ConversationCardRow; exports.ConversationCardRowSkeletonList = ConversationCardRowSkeletonList; exports.DevCardRowSkeleton = DevCardRowSkeleton; exports.DevCardRowSkeletonList = DevCardRowSkeletonList; exports.DeliveryRow = DeliveryRow;
//# sourceMappingURL=chunk-35XIT2CF.cjs.map