Your IP : 18.221.20.252


Current Path : /var/www/axolotl/data/www/axolotl.ru/www/bitrix/js/crm/
Upload File :
Current File : /var/www/axolotl/data/www/axolotl.ru/www/bitrix/js/crm/message.min.js

if(typeof BX.CrmMessageHelper==="undefined"){BX.CrmMessageHelper=function(){};BX.CrmMessageHelper.prototype={getNumberDeclension:function(e,r,n,t){if(!BX.type.isNumber(e)){e=parseInt(e);if(isNaN(e)){return""}}if(e===0){return t}if(e<0){e=-e}var i=e%10;var u=(e%100-i)/10;if(i===1&&u!==1){return r}return u!==1&&i>=2&&i<=4?n:t},prepareEntityNumberDeclension:function(e,r){return this.getNumberDeclension(e,BX.prop.getString(r,"nominative",""),BX.prop.getString(r,"genitiveSingular",""),BX.prop.getString(r,"genitivePlural",""))}};BX.CrmMessageHelper.current=null;BX.CrmMessageHelper.getCurrent=function(){if(!this.current){this.current=new BX.CrmMessageHelper}return this.current}}
//# sourceMappingURL=message.map.js