import { jsx as r } from "react/jsx-runtime";
import { useDynamicImport as n } from "./index-use-dynamic-import.js";
import { pl2 as i } from "./index-general.module.js";
import { classNames as s } from "./index-classNames.js";
import "react";
import p from "./index-InputAdornment.js";
const u = (t) => {
  const {
    countryCode: o
  } = t, {
    SvgIcon: m,
    loading: a,
    error: e
  } = n(`flags/${o}.png`);
  return r(p, {
    position: "start",
    className: s(i),
    children: r("img", {
      src: m,
      width: 32,
      height: 24,
      alt: `${o} flag`
    })
  });
};
export {
  u as FlagAdornment
};
