define(["require","exports"],function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RegisterCustomFormElementBase=function(){var t=this.execute;this.execute=function(e,r){return this.register=function(e,t){var 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).apply(this,arguments)}}});