Liferay.Loader.define("asset-taglib@8.0.17/asset_tags_selector/AssetTagsSelectorTag.es",["module","exports","require","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","./AssetTagsSelector.es"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.default.createElement(i,u({},e,{initialInputValue:e.inputValue,initialSelectedItems:e.selectedItems}))};o(r("liferay!frontend-js-react-web$prop-types"));var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")),a=o(r("./AssetTagsSelector.es"));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function i({addCallback:e,eventName:t,groupIds:r=[],id:l,initialInputValue:o="",initialSelectedItems:u=[],inputName:i,label:s,portletURL:c,removeCallback:f,showSelectButton:p}){const[d,b]=(0,n.useState)(u),[y,g]=(0,n.useState)(o);return n.default.createElement(a.default,{addCallback:e,eventName:t,groupIds:r,id:l,inputName:i,inputValue:y,label:s,onInputValueChange:g,onSelectedItemsChange:b,portletURL:c,removeCallback:f,selectedItems:d,showSelectButton:p})}}}));
//# sourceMappingURL=AssetTagsSelectorTag.es.js.map