const t=(t,e)=>{let r=t;return e.split(".").forEach((t=>{r&&(r=r[t])})),r},e=(e,r,n)=>{var l;return"fullName"!==r.id||e.fullName?(null==n?void 0:n.includes("."))?t(e,n):(null===(l=null==r?void 0:r.id)||void 0===l?void 0:l.includes("."))?t(e,r.id):r?e[r.id]:e[n]:`${e.user.firstName} ${e.user.lastName}`};function r(t,e){return t[e]}class n{static decode(t){return Object.assign(Object.create(n.prototype),t)}toObject(){return JSON.parse(JSON.stringify(this))}}n.decodeList=(t=[])=>t.map((t=>n.decode(t)));export{n as D,e as a,r as g}