function RegisterCustomFormElementBase(){const t=this.execute;this.execute=function(e,r){return this.register=(e,t)=>{const i=r.ambient.trivia;i.getFormElementRegistration(e)&&console.warn(`A custom form element with custom type name '${e}' is already registered. The existing registration will be replaced.`),i.registerFormElement({component:t,id:e})},this.execute=t,t.apply(this,arguments)}}export{RegisterCustomFormElementBase};