public function handleLocationsAndDepartmentCreation(Request $request, ClientSurvey $survey): void 	{ 		$locations_values = Arr::where($request->locations ?? [], function ($value, $key) { 			return !Str::isUuid($key); 		});  		foreach ($locations_values as $location) { 			$survey->locations()->create([ 				'title' => [ 					'en' => $location['title_en'] ?? null, 					'hr' => $location['title_hr'] ?? null, 					'bs' => $location['title_bs'] ?? null, 					'mk' => $location['title_mk'] ?? null, 					'sl' => $location['title_sl'] ?? null, 					'sr' => $location['title_sr'] ?? null, 					'fr' => $location['title_fr'] ?? null, 					'de' => $location['title_de'] ?? null, 				], 			]); 		}  		$departments_values = Arr::where($request->departments ?? [], function ($value, $key) { 			return !Str::isUuid($key); 		});  		foreach ($departments_values as $department) { 			$survey->departments()->create([ 				'title' => [ 					'en' => $department['title_en'] ?? null, 					'hr' => $department['title_hr'] ?? null, 					'bs' => $department['title_bs'] ?? null, 					'mk' => $department['title_mk'] ?? null, 					'sl' => $department['title_sl'] ?? null, 					'sr' => $department['title_sr'] ?? null, 					'fr' => $department['title_fr'] ?? null, 					'de' => $department['title_de'] ?? null, 				], 			]); 		} 	}