import { Component1 } from './Component1.jsx';

// figma node: 9472:3117 Component 11 (4 variants)
const __venc = (v) => String(v).replace(/[%|=]/g, encodeURIComponent);
const __vkey = (p) => "variant=" + __venc(p.variant) + '|' + "hover=" + __venc(p.hover);

export function Component11(_p = {}) {
  const props = { ..._p, text: _p.text ?? "FAQ", variant: _p.variant ?? "1", hover: _p.hover ?? true };
  const __body0 = () => (
    <div className={props.className} style={{
      width: 84,
      height: 48,
      minWidth: 48,
      borderRadius: 66,
      display: "flex",
      flexDirection: "row",
      gap: 2,
      justifyContent: "center",
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 600,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        textDecoration: "underline",
        flexShrink: 0,
      }}>{props.text}</span>
      <div style={{
          position: "relative",
          width: 20,
          height: 20,
          flexShrink: 0,
        }}>{props.icon1 ?? <Component1 variant={"67"} />}</div>
    </div>
  );
  const __body1 = () => (
    <div className={props.className} style={{
      width: 84,
      height: 48,
      minWidth: 48,
      borderRadius: 66,
      backgroundColor: "rgb(255,255,255)",
      display: "flex",
      flexDirection: "row",
      gap: 2,
      justifyContent: "center",
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 600,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        textDecoration: "underline",
        flexShrink: 0,
      }}>{props.text}</span>
      <div style={{
          position: "relative",
          width: 20,
          height: 20,
          flexShrink: 0,
        }}>{props.icon1 ?? <Component1 variant={"67"} />}</div>
    </div>
  );
  const __body2 = () => (
    <div className={props.className} style={{
      width: 84,
      height: 48,
      minWidth: 48,
      borderRadius: 66,
      display: "flex",
      flexDirection: "row",
      gap: 2,
      justifyContent: "center",
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 600,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        textDecoration: "underline",
        flexShrink: 0,
      }}>{props.text}</span>
      <div style={{
          position: "relative",
          width: 20,
          height: 20,
          flexShrink: 0,
        }}>{props.icon1 ?? <Component1 variant={"187"} />}</div>
    </div>
  );
  const __body3 = () => (
    <div className={props.className} style={{
      width: 84,
      height: 48,
      minWidth: 48,
      borderRadius: 66,
      backgroundColor: "rgb(255,255,255)",
      display: "flex",
      flexDirection: "row",
      gap: 2,
      justifyContent: "center",
      alignItems: "center",
      flexWrap: "nowrap",
      position: "relative",
      ...props.style,
    }}>
      <span style={{
        position: "relative",
        fontFamily: "Poppins, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif",
        fontWeight: 600,
        fontSize: 16,
        textAlign: "center",
        whiteSpace: "nowrap",
        lineHeight: "24px",
        color: "rgb(44,52,119)",
        textDecoration: "underline",
        flexShrink: 0,
      }}>{props.text}</span>
      <div style={{
          position: "relative",
          width: 20,
          height: 20,
          flexShrink: 0,
        }}>{props.icon1 ?? <Component1 variant={"187"} />}</div>
    </div>
  );
  const __impls = {
    // figma: variant=1,:hover=true
    "variant=1|hover=true": __body0,
    // figma: variant=1,:hover=false
    "variant=1|hover=false": __body1,
    // figma: variant=2,:hover=true
    "variant=2|hover=true": __body2,
    // figma: variant=2,:hover=false
    "variant=2|hover=false": __body3,
  };
  return (__impls[__vkey(props)] ?? __body0)();
}
export default Component11;
