Weak hands cannot be planted, meager skills have no foundation. Shallow wisdom is futile, how can one hope for a good name?扰扰从役倦，屑屑身事微。少壮轻年月，迟暮惜光辉。
<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

namespace Hostinger;

use Hostinger\Admin\Options\PluginOptions;
use Hostinger\Helper;

defined( 'ABSPATH' ) || exit;

class DefaultOptions {
    /**
     * @return void
     */
    public function add_options(): void {
        $this->configure_security_settings();

        foreach ( $this->options() as $key => $option ) {
            update_option( $key, $option );
        }
    }

    public function configure_security_settings(): void {
        $hostinger_plugin_settings = get_option( HOSTINGER_PLUGIN_SETTINGS_OPTION, array() );

        if ( empty( $hostinger_plugin_settings['bypass_code'] ) ) {
            $hostinger_plugin_settings['bypass_code'] = Helper::generate_bypass_code( 16 );
            $this->update_plugin_settings( $hostinger_plugin_settings );
        }

        $this->configure_authentication_password();
    }

    public function configure_authentication_password(): void {
        global $wpdb;
        $hostinger_plugin_settings = get_option( HOSTINGER_PLUGIN_SETTINGS_OPTION, array() );

        $existing_passwords = (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->usermeta} WHERE meta_key = %s", '_application_passwords' ) );

        if ( $existing_passwords === 0 ) {
            $hostinger_plugin_settings['disable_authentication_password'] = true;
            $this->update_plugin_settings( $hostinger_plugin_settings );
        }
    }

    private function update_plugin_settings( array $settings ): void {
        $plugin_options = new PluginOptions( $settings );
        update_option( HOSTINGER_PLUGIN_SETTINGS_OPTION, $plugin_options->to_array(), false );
    }

    /**
     * @return string[]
     */
    private function options(): array {
        $options = arra