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 o(){this.constructor=e}e.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}}();System.register(["./p-343b3b10.system.js","./p-ebdd1444.system.js","./p-a56cdd14.system.js"],(function(t){"use strict";var e,n,o;return{setters:[function(t){e=t.h},function(t){n=t.r},function(t){o=t.B}],execute:function(){var i=function(){function t(t,e){this.label=t;this.value=e}return t}();t("a",i);var r=function(t){__extends(e,t);function e(e,n,o,i,r,u){if(r===void 0){r="checkbox"}var s=t.call(this,e,"multiple-choice")||this;s.title=n;s.description=i;s.options=o;s.inputType=r;s.placeholder=u;return s}e.prototype.showPreview=function(){this.preview=true;return this};e.prototype.getOptionOfValue=function(t){if(!this.optionsByValue){this.optionsByValue={};for(var e=0;e<this.options.length;e+=1){this.optionsByValue[this.options[e].value]=this.options[e]}}return this.optionsByValue[t]||{label:t,value:t}};return e}(o);t("M",r);r.type="multiple-choice";var u=function(t,n,o,i,r,u){return e("dvn-field-input-multiple-choice",{disabled:i,errors:o,field:t,onChange:function(e){return r(t,e.detail)},onBlur:function(){return u(t)},value:n})};n("multiple-choice",u)}}}));