
/**
 *   VERSION: 2.240.0-alpha.1
 *   BUILD_TIMESTAMP: 1780360168537
 *   BUILD_DATE: Tue Jun 02 2026 00:29:28 GMT+0000 (Coordinated Universal Time)
 *   BUILD_COMMIT: 758cedd37e00f49a728d704d9ed36884f0f12d79
 */
import { i as c, g as y, j as e, F as d } from "../sheerid.js";
import { F as m } from "./FormFieldText-CPwStdCx.js";
const u = ({
  value: s,
  isErrored: a,
  onChange: l,
  intl: o,
  isRequired: r = !1,
  onKeyDown: i = void 0,
  placeholder: t = "",
  disabled: n = !1
}) => y("city")?.hidden ? null : /* @__PURE__ */ e.jsx(
  m,
  {
    fieldId: "city",
    value: s,
    onChange: l,
    placeholder: t || o.formatHTMLMessage({ id: "cityPlaceholder", defaultMessage: "City" }),
    label: /* @__PURE__ */ e.jsx(d, { id: "city", defaultMessage: "City" }),
    errorMessage: a && /* @__PURE__ */ e.jsx(d, { id: "errorId.invalidCity", defaultMessage: "Invalid city" }),
    showPlaceholderAndHideLabel: !!t,
    required: r,
    onKeyDown: typeof i == "function" ? (f) => i(f) : void 0,
    disabled: n,
    autoComplete: "address-level2"
  }
), M = c(u);
export {
  M as C
};
