export function isBooleanParameter(_0x4fefd6){const _0x11ce7f=String(_0x4fefd6?.['type']||'')['toLowerCase']();return _0x11ce7f==='boolean';}const TRUE_BOOLEAN_STRINGS=['true','1','yes','on','checked'],FALSE_BOOLEAN_STRINGS=['false','0','no','off','unchecked'];function parseBooleanLike(_0x3530e9,_0x5988fe){if(typeof _0x3530e9==='boolean')return _0x3530e9;const _0x5547c5=String(_0x3530e9)['trim']()['toLowerCase']();if(TRUE_BOOLEAN_STRINGS['includes'](_0x5547c5))return!![];if(FALSE_BOOLEAN_STRINGS['includes'](_0x5547c5))return![];return _0x5988fe;}export function normalizeBooleanParameterValue(_0x259449,_0x16544b=![]){if(_0x259449===undefined||_0x259449===null||_0x259449==='')return parseBooleanLike(_0x16544b,Boolean(_0x16544b));return parseBooleanLike(_0x259449,Boolean(_0x259449));}export function getBooleanParameterValue(_0x55ad76,_0x2ade3d){return normalizeBooleanParameterValue(_0x2ade3d,_0x55ad76?.['default']??![]);}export function hasTemplateParameterValue(_0x4e97e6,_0x466e02){if(isBooleanParameter(_0x4e97e6))return!![];return String(_0x466e02??'')['trim']()!=='';}