var __extends=this&&this.__extends||function(){var t=function(e,n){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]};return t(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();import{D as DataModel}from"./data-model-88af49fc.js";var getUserInitials=function(t){return"".concat(t.firstName[0]).concat(t.lastName[0])};var getUserFullName=function(t){return"".concat(t.firstName," ").concat(t.lastName)};var User=function(t){__extends(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.decode=function(t){var n,r;return Object.assign(Object.create(e.prototype),Object.assign(Object.assign({},t),{initials:t.initials||"".concat((n=t.firstName)===null||n===void 0?void 0:n[0]," ").concat((r=t.lastName)===null||r===void 0?void 0:r[0]),name:t.name||"".concat(t.firstName," ").concat(t.lastName)}))};e.generateRef=function(t){return{_ref:"kimlik-users",_id:t}};return e}(DataModel);export{User as U,getUserInitials as a,getUserFullName as g};