//#region src/shared/agentJobRequestFormatting.ts
var e = "—";
function t(e) {
	return e == null || e.trim().length === 0 ? "—" : e;
}
function n(e) {
	return e == null ? "—" : Number.isFinite(e) ? e.toLocaleString() : String(e);
}
function r(e) {
	return e.length === 0 ? "—" : e.join(", ");
}
function i(e, t = "USD", n) {
	if (e == null) return "—";
	let r = Number(e);
	if (!Number.isFinite(r)) return "—";
	try {
		return new Intl.NumberFormat(n, {
			style: "currency",
			currency: t,
			currencyDisplay: "symbol",
			minimumFractionDigits: 2,
			maximumFractionDigits: 2
		}).format(r);
	} catch {
		return r.toString();
	}
}
//#endregion
export { e as FALLBACK_REFERENCE, i as formatNullableCurrency, n as formatNullableNumber, t as formatNullableString, r as formatStringList };

//# sourceMappingURL=agentJobRequestFormatting.js.map