'' ) );
/* ---- Real, option-derived facts (never invented) ---- */
$welcoma_modules = welcoma_widget_get_modules();
$welcoma_simple_mods = array_filter(
$welcoma_modules,
static function ( $m ) {
return ( $m['type'] ?? 'simple' ) !== 'profile';
}
);
$welcoma_total_mods = count( $welcoma_simple_mods );
$welcoma_active_mods = 0;
foreach ( $welcoma_simple_mods as $welcoma_m ) {
if ( ! empty( $welcoma_settings['enabled'][ $welcoma_m['id'] ] ) ) {
++$welcoma_active_mods;
}
}
$welcoma_pro_count = 15;
$welcoma_live = ! empty( $welcoma_settings['widget_enabled'] );
$welcoma_pos = ( 'left' === ( $welcoma_settings['position'] ?? 'right' ) ) ? __( 'Bottom-left', 'welcoma-accessibility-widget' ) : __( 'Bottom-right', 'welcoma-accessibility-widget' );
$welcoma_lang = strtoupper( $welcoma_settings['default_language'] ?? 'en' );
$welcoma_size = (int) ( $welcoma_settings['icon_size'] ?? 60 );
$welcoma_stmt_done = ! empty( trim( wp_strip_all_tags( (string) ( $welcoma_statement['content'] ?? '' ) ) ) );
/* Tiny inline-SVG helper for the shell. */
$welcoma_svg = static function ( $p, $sz = 18 ) {
return '';
};
// Finale Welcoma-W-Marke, reversed-Variante – sitzt direkt auf der Pine-Leiste (kein Container):
// weißes W (#FBF8F2) + Coral-Häkchen (#EC5A30). Explizite Farben, damit die CSS-Regel
// `.logo svg{color:…}` den Coral-Strich nicht plattmacht. Trägt den zugänglichen Namen „Welcoma".
$welcoma_mark = '';
$welcoma_check = '