Liferay.Loader.define("asset-categories-admin-web@5.0.63/js/AssetCategoriesSelectorTag.es",["module","exports","require","asset-taglib","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){var a;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r("asset-taglib"),n=((a=r("liferay!frontend-js-react-web$prop-types"))&&a.__esModule,function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=a?Object.getOwnPropertyDescriptor(e,o):null;n&&(n.get||n.set)?Object.defineProperty(r,o,n):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var c=function({categoryIds:e,groupIds:t,namespace:r,portletURL:a,selectedCategories:s,vocabularyIds:c}){const[l,i]=(0,n.useState)(s||[]);return n.default.createElement(o.AssetVocabularyCategoriesSelector,{categoryIds:e,eventName:"".concat(r,"selectCategory"),groupIds:t,id:"".concat(r,"parentCategorySelector"),inputName:"".concat(r,"parentCategoryId"),onSelectedItemsChange:i,portletURL:a,selectedItems:l,singleSelect:!0,sourceItemsVocabularyIds:c})};t.default=c}}));
//# sourceMappingURL=AssetCategoriesSelectorTag.es.js.map