public function index(Request $request): View 	{ 		$domain = auth()->user()->user->activeDomain; 		$survey_type = $request->enum('survey_type', SurveyType::class);  		$terms = TermsOfService::with('domain')->byDomain($domain)->byType($survey_type)->first();  		// Array unique because sometimes the main language is included in $domain->languages 		$translations = array_unique(array_merge([$domain->mainLanguage()], $domain->languages)); 		$domains = Domain::orderBy('domain')->get();  		return view('terms-of-service.add', compact('terms', 'domains', 'translations', 'survey_type')); 	}