Liferay.Loader.define("commerce-frontend-taglib@19.1.14/user_utils/UserInputItem.es",["module","exports","require","frontend-js-metal-web$metal-component","frontend-js-metal-web$metal-soy","./UserInputItem.soy"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UserInputItem=void 0;var n=_interopRequireDefault(r("frontend-js-metal-web$metal-component")),i=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=n?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r("frontend-js-metal-web$metal-soy")),u=_interopRequireDefault(r("./UserInputItem.soy"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class UserInputItem extends n.default{_handleRemoveItem(e){return e.preventDefault(),this.emit("removeItem",{email:this.email})}}t.UserInputItem=UserInputItem,i.default.register(UserInputItem,u.default),UserInputItem.STATE={email:i.Config.string().required(),name:i.Config.string(),spritemap:i.Config.string(),thumbnail:i.Config.string()};var a=UserInputItem;t.default=a}}));
//# sourceMappingURL=UserInputItem.es.js.map