protected function prepareForFormResponse(bool $withRecaptcha = true, ...$scripts)
    {
        $app = app();

        if ($withRecaptcha) {
            $recaptcha = $app->make(Recaptcha::class);

            $app->make('session')
                ->put('__recaptcha_active', true);
        }

        $this->share([
            'sequence'  => $app->make(Sequence::class),
            'recaptcha' => $recaptcha ?? null,
        ]);

        $this->loadThemerDefaultFormFiles($this->config, $recaptcha ?? null, ...$scripts);
    }