$captcha_public_key = \Aspro\Functions\CAsproNextReCaptcha::getPublicKey();
$captcha_version = \Aspro\Functions\CAsproNextReCaptcha::getVersion(); - УДАЛИЛ
$assets = Asset::getInstance();
if($captcha_version == 3){
$arCaptchaProp = array(
'recaptchaColor' => '',
'recaptchaLogoShow' => '',
'recaptchaSize' => '',
'recaptchaBadge' => '',
'recaptchaLang' => LANGUAGE_ID,
);
}
else{
$arCaptchaProp = array(
'recaptchaColor' => strtolower(Option::get(self::moduleID, 'GOOGLE_RECAPTCHA_COLOR', 'LIGHT')),
'recaptchaLogoShow' => strtolower(Option::get(self::moduleID, 'GOOGLE_RECAPTCHA_SHOW_LOGO', 'Y')),
'recaptchaSize' => strtolower(Option::get(self::moduleID, 'GOOGLE_RECAPTCHA_SIZE', 'NORMAL')),
'recaptchaBadge' => strtolower(Option::get(self::moduleID, 'GOOGLE_RECAPTCHA_BADGE', 'BOTTOMRIGHT')),
'recaptchaLang' => LANGUAGE_ID,
);
}