import { jsx as t } from "react/jsx-runtime";
import { justifyContentCenter as m, alignItemsCenter as s, dFlex as d } from "./index-general.module.js";
import { classNames as l } from "./index-classNames.js";
import { SlideTransition as p } from "./index-SlideTransition.js";
import { Text as c, FontWeights as x, TextTypes as f } from "./index-Text.js";
import "react";
const A = (n) => {
  const {
    textsSlideAnimationDuration: i,
    textsFadeAnimationDuration: o = 150,
    waitBetweenTexts: r,
    texts: a
  } = n;
  return t("div", {
    className: l(d, s, m),
    children: t(p, {
      waitBetweenComponents: r,
      duration: i,
      children: a.map((e) => t(c, {
        type: f.heading1,
        fontWeight: x.bold,
        // textWrap={"no-wrap"}
        textAlign: "center",
        animateWords: {
          animation: "fade-up",
          duration: o,
          delay: 0
        },
        children: e
      }, e))
    })
  });
};
export {
  A as OnboardingWelcomeAnimation
};
