function a(e){var r,t;const o={};for(const s of[...(r=e.required)!==null&&r!==void 0?r:[],...(t=e.optional)!==null&&t!==void 0?t:[]])o[s.propName]=s.getDefaultValue();return o}class n{constructor(r,t){this.rawProps={},this.setState=r.setState,this.getState=r.getState,this.renderProps=a(t)}setRawProp(r,t){this.rawProps[r]=t}getRawProp(r){return this.rawProps[r]}setRenderProp(r,t){this.renderProps[r]=t}getRenderProp(r){return this.renderProps[r]}}export{n as B};
//# sourceMappingURL=base-controller-CXhqh4cR-D2BOZI1P.js.map
