Liferay.Loader.define("@liferay/object-js-components-web@1.0.58/utils/array",["module","exports","require","./string"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.filterArrayByQuery=function filterArrayByQuery({array:e,creationLanguageId:r,query:t,str:a}){return e.filter((e=>{if("label"===a){const u=e[a];let i=(0,n.getLocalizableLabel)(r,u);return i||(i=u[e.defaultLanguageId]),(0,n.stringIncludesQuery)(i,t)}const u=e[a];return(0,n.stringIncludesQuery)(u,t)}))};var n=t("./string")}));
//# sourceMappingURL=array.js.map