Liferay.Loader.define("commerce-frontend-taglib@19.1.14/user_roles_modal/RoleInputItem.soy",["module","exports","require","frontend-js-metal-web$metal-component","frontend-js-metal-web$metal-soy"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.templates=t.RoleInputItem=void 0;var o,a=_interopRequireDefault(n("frontend-js-metal-web$metal-component")),r=_interopRequireDefault(n("frontend-js-metal-web$metal-soy"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.templates=o,goog.loadModule((function(e){var t=goog.require("soy");goog.require("soydata"),goog.module("RoleInputItem.incrementaldom"),goog.require("goog.soy.data.SanitizedContent");var n=goog.require("incrementaldom");goog.require("soy.asserts");var a=goog.require("soy.idom"),s=r.default.getTemplate("ClayIcon.incrementaldom","render");function $render(e,o,r){o=r||o;var l=t.asserts.assertType(null==e.name||goog.isString(e.name)||e.name instanceof goog.soy.data.SanitizedContent,"name",e.name,"!goog.soy.data.SanitizedContent|null|string|undefined"),m=t.asserts.assertType(goog.isString(e.spritemap)||e.spritemap instanceof goog.soy.data.SanitizedContent,"spritemap",e.spritemap,"!goog.soy.data.SanitizedContent|string"),d=e._handleRemoveItem;n.elementOpenStart("span"),n.attr("class","added-input-item"),n.elementOpenEnd(),n.elementOpenStart("span"),n.attr("class","added-input-item__text"),n.elementOpenEnd(),a.print(l),n.elementClose("span"),n.elementOpenStart("button"),n.attr("class","added-input-item__delete"),n.attr("data-onclick",d),n.elementOpenEnd(),s({spritemap:m,symbol:"times"},null,o),n.elementClose("button"),n.elementClose("span")}return e.render=$render,$render.Params,goog.DEBUG&&($render.soyTemplateName="RoleInputItem.render"),e.render.params=["name","spritemap","_handleRemoveItem"],e.render.types={name:"string ",spritemap:"string ",_handleRemoveItem:"?"},e.templates=o=e,e}));class RoleInputItem extends a.default{}t.RoleInputItem=RoleInputItem,r.default.register(RoleInputItem,o);var s=o;t.default=s}}));
//# sourceMappingURL=RoleInputItem.soy.js.map