{
let d = $event.detail;
if (Array.isArray(d)) d = d[0] || {};
const msg = typeof d === 'string' ? d : (d?.message || '');
const typ = (typeof d === 'object' && d?.type) ? d.type : 'success';
if (msg) addToast(msg, typ);
})()"
>
New Client RegistrationRegister for client portal access