//#region src/backoffice/molecules/backoffice_payload_viewer/BackofficePayloadViewer.helpers.ts
var e = "[unserializable]", t = (t) => {
	try {
		return JSON.stringify(t, null, 2);
	} catch {
		return t instanceof Error && t.message.trim() !== "" ? t.message : typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? String(t) : e;
	}
}, n = (e) => e == null ? "" : typeof e == "string" ? e : typeof e == "number" || typeof e == "boolean" ? String(e) : t(e), r = {
	resolveTextContent: n,
	stringifyJson: t
};
//#endregion
export { r as __testBackofficePayloadViewer, n as resolveBackofficePayloadTextContent, t as stringifyBackofficePayloadJson };

//# sourceMappingURL=BackofficePayloadViewer.helpers.js.map