export function isBooleanParameter(_0x1c1582){const _0x1212cf=String(_0x1c1582?.['type']||'')['toLowerCase']();return _0x1212cf==='boolean';}const TRUE_BOOLEAN_STRINGS=['true','1','yes','on','checked'],FALSE_BOOLEAN_STRINGS=['false','0','no','off','unchecked'];function parseBooleanLike(_0x23ed07,_0x3d244d){if(typeof _0x23ed07==='boolean')return _0x23ed07;const _0x1afd86=String(_0x23ed07)['trim']()['toLowerCase']();if(TRUE_BOOLEAN_STRINGS['includes'](_0x1afd86))return!![];if(FALSE_BOOLEAN_STRINGS['includes'](_0x1afd86))return![];return _0x3d244d;}export function normalizeBooleanParameterValue(_0x56954a,_0x2bfc67=![]){if(_0x56954a===undefined||_0x56954a===null||_0x56954a==='')return parseBooleanLike(_0x2bfc67,Boolean(_0x2bfc67));return parseBooleanLike(_0x56954a,Boolean(_0x56954a));}export function getBooleanParameterValue(_0x38e1d3,_0x4d75b9){return normalizeBooleanParameterValue(_0x4d75b9,_0x38e1d3?.['default']??![]);}export function hasTemplateParameterValue(_0x10aa58,_0x130da4){if(isBooleanParameter(_0x10aa58))return!![];return String(_0x130da4??'')['trim']()!=='';}