Liferay.Loader.define("portal-search-ranking-web@3.0.53/js/utils/language.es",["module","exports","require"],(function(e,n,t){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.getPluralMessage=function getPluralMessage(e,n,t=0,r){return sub(1===t?e:n,[t],r)},n.sub=sub;const e=/({\d+})/g;function sub(n,t,r=!0){const s=n.split(e).filter((e=>0!==e.length));for(let e=0;e<t.length;e++){const n=t[e],r="{".concat(e,"}");let l=s.indexOf(r);for(;l>=0;)s.splice(l,1,n),l=s.indexOf(r)}return r?s.join(""):s}}}));
//# sourceMappingURL=language.es.js.map