'use strict';
import { yes, no } from '../../../replies.js';
import { booleanStringValues } from '../../../../../base-repo/constants/type-string-values.js';

var __defProp=Object['defineProperty'],__name=(_0x5f48f2,_0x98adc1)=>__defProp(_0x5f48f2,'name',{'value':_0x98adc1,'configurable':!![]});function prepareDisplayableProperties(_0x18910d,_0x4c7e10,_0xf5788c,_0x5d2b0e){const _0x2ee895=[],_0x236775=booleanStringValues['true'];for(const [_0x12e896,_0x27dd85]of Object['entries'](_0x18910d)){if(_0x27dd85['isListDisplayable']){const _0x30ae29=_0x4c7e10[_0x12e896];if(_0x30ae29){const _0xf612d8=_0x236775===_0x30ae29,_0x44031b=_0x236775===_0x30ae29,_0x1d8152=getDisplayValue(_0x30ae29,_0xf612d8,_0x44031b),_0x244e5b=_0x5d2b0e[_0x27dd85['name']]['displayName'];_0x2ee895['push']({'key':_0xf5788c+'-'+_0x12e896,'name':_0x12e896,'displayName':_0x244e5b,'value':_0x1d8152,'propertyMeta':_0x5d2b0e[_0x27dd85['name']],'uiPropertyMeta':_0x27dd85});}}}return _0x2ee895;}__name(prepareDisplayableProperties,'prepareDisplayableProperties');function getDisplayValue(_0x3369b0,_0x291758,_0x5c06aa){if(_0x291758)return _0x5c06aa?yes:no;return String(_0x3369b0);}__name(getDisplayValue,'getDisplayValue');

export { prepareDisplayableProperties };
