var __extends=this&&this.__extends||function(){var e=function(t,o){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]};return e(t,o)};return function(t,o){if(typeof o!=="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}();import{T as TableConfig,d as decodeFields,S as Space}from"./table-config-720f8ea0.js";import{c as capitalize}from"./string-3065a411.js";var MembershipConfig=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.decode=function(e){var o=Object.assign(Object.create(t.prototype),e);o.fields=decodeFields(o.fields);o.space=Space.decode(o.space);return o};t.prototype.roleNameCapital=function(){return capitalize(this.roleName)};return t}(TableConfig);export{MembershipConfig as M};