"use client";
'use strict';

var clsx = require('clsx');
var tailwindMerge = require('tailwind-merge');
var img = require('@page-speed/img');
var SeparatorPrimitive = require('@radix-ui/react-separator');
var jsxRuntime = require('react/jsx-runtime');

function _interopNamespace(e) {
  if (e && e.__esModule) return e;
  var n = Object.create(null);
  if (e) {
    Object.keys(e).forEach(function (k) {
      if (k !== 'default') {
        var d = Object.getOwnPropertyDescriptor(e, k);
        Object.defineProperty(n, k, d.get ? d : {
          enumerable: true,
          get: function () { return e[k]; }
        });
      }
    });
  }
  n.default = e;
  return Object.freeze(n);
}

var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);

// lib/utils.ts
function cn(...inputs) {
  return tailwindMerge.twMerge(clsx.clsx(inputs));
}
function Separator({
  className,
  orientation = "horizontal",
  decorative = true,
  ...props
}) {
  return /* @__PURE__ */ jsxRuntime.jsx(
    SeparatorPrimitive__namespace.Root,
    {
      "data-slot": "separator",
      decorative,
      orientation,
      className: cn(
        "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
        className
      ),
      ...props
    }
  );
}

// lib/blockBrandedIconsAndPlaceholders.ts
var blockBrandedIconsAndPlaceholders = {
  placeholder1: "https://cdn.ing/assets/files/record/286200/io0rg4wv8jd2o792q4uouxg4d5k8",
  placeholder2: "https://cdn.ing/assets/files/record/286201/l8f27khqrs9eumdi9r0ihvbe886u",
  fictionalCompanyLogo2: "https://cdn.ing/assets/files/record/286216/bw4zypgflisdtapxy0n4nbmsmtum",
  fictionalCompanyLogo3: "https://cdn.ing/assets/files/record/286215/6wwi6yh2ax2nuo2vqa5gn9vozrgq"};
var defaultTestimonials = [
  {
    image: blockBrandedIconsAndPlaceholders.placeholder1,
    quote: "This productivity tool transformed how we collaborate. Our team's workflow improved dramatically, and we've cut meeting time by half while increasing output.",
    authorName: "Michael Rivera",
    authorRole: "Product Director",
    companyLogo: blockBrandedIconsAndPlaceholders.fictionalCompanyLogo2,
    stats: [
      {
        value: "98%",
        label: "Customer Satisfaction",
        description: "From verified reviews"
      },
      {
        value: "3.8x",
        label: "ROI Improvement",
        description: "Within first quarter"
      }
    ]
  },
  {
    image: blockBrandedIconsAndPlaceholders.placeholder2,
    quote: "The interface is intuitive and customizable to our needs. We implemented it across departments with minimal training and saw immediate results.",
    authorName: "Sarah Chen",
    authorRole: "Operations Lead",
    companyLogo: blockBrandedIconsAndPlaceholders.fictionalCompanyLogo3,
    stats: [
      {
        value: "4.2x",
        label: "Team Efficiency",
        description: "Proven productivity gains"
      },
      {
        value: "72%",
        label: "Reduced Task Time",
        description: "Across all projects"
      }
    ]
  }
];
function CaseStudiesTestimonialStats({
  heading = "4500+ Satisfied Customers",
  subheading = "Real results from real users",
  testimonials = defaultTestimonials,
  className,
  optixFlowConfig
}) {
  return /* @__PURE__ */ jsxRuntime.jsx("section", { className: cn("py-32", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container", children: [
    /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-6 text-center", children: [
      /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: heading }),
      /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-4xl font-medium md:text-5xl", children: subheading })
    ] }),
    /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-20", children: testimonials.map((testimonial, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
      index > 0 && /* @__PURE__ */ jsxRuntime.jsx(Separator, { className: "my-20" }),
      /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-16 lg:grid-cols-3 xl:gap-24", children: [
        /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-10 border-border sm:flex-row lg:col-span-2 lg:border-r lg:pr-16 xl:pr-24", children: [
          /* @__PURE__ */ jsxRuntime.jsx(
            img.Img,
            {
              src: testimonial.image,
              alt: testimonial.authorName,
              className: "aspect-29/35 h-full w-full max-w-60 rounded-2xl object-cover",
              loading: "lazy",
              optixFlowConfig
            }
          ),
          /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full flex-col justify-between gap-10", children: [
            /* @__PURE__ */ jsxRuntime.jsx("q", { className: "sm:text-xl", children: testimonial.quote }),
            /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-6", children: [
              /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-1", children: [
                /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-lg font-semibold text-primary", children: testimonial.authorName }),
                /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: testimonial.authorRole })
              ] }),
              /* @__PURE__ */ jsxRuntime.jsx(
                img.Img,
                {
                  src: testimonial.companyLogo,
                  alt: "Company logo",
                  loading: "lazy",
                  optixFlowConfig
                }
              )
            ] })
          ] })
        ] }),
        /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex gap-10 self-center lg:flex-col", children: testimonial.stats.map((stat, statIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2", children: [
          /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-4xl font-medium text-primary sm:text-5xl", children: stat.value }),
          /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-primary", children: stat.label }),
          /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground", children: stat.description })
        ] }, statIndex)) })
      ] })
    ] }, index)) })
  ] }) });
}

exports.CaseStudiesTestimonialStats = CaseStudiesTestimonialStats;
//# sourceMappingURL=case-studies-testimonial-stats.cjs.map
//# sourceMappingURL=case-studies-testimonial-stats.cjs.map