public function verifyEmail(VerifyEmail $request, User $id): JsonResource|RedirectResponse 	{ 		if (!$id->hasVerifiedEmail()) { 			$id->markEmailAsVerified(); 		}  		event(new Verified($id));  		return $request->wantsJson() 			? $id->getModelResource() 			: redirect()->intended(Fortify::redirects('email-verification')); 	}