public function store(StoreFilter $request): RedirectResponse 	{ 		$request->validate([ 			'name' => ['required', 'max:50', 'string', 'unique:' . Filter::class], 			'name_en' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Filter::class); 				}), 			], 			'name_de' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Filter::class); 				}), 			], 			'name_it' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Filter::class); 				}), 			], 		]);  		$filter = Filter::create([ 			'name' => $request->name, 			'display_label' => $request->display_label, 			'type' => $request->type, 			'min' => $request->min, 			'max' => $request->max, 			'step' => $request->step, 			'value' => $request->value, 			'message' => $request->message, 			'required' => $request->boolean('required'), 			'searchable' => $request->boolean('searchable'), 			'active' => $request->boolean('active'), 		]);  		$filter->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 				'de' => $request->name_de, 				'it' => $request->name_it, 			], 			'display_label' => [ 				'en' => $request->display_label_en, 				'de' => $request->display_label_de, 				'it' => $request->display_label_it, 			], 			'value' => [ 				'en' => $filter->trimSelectValues($request->value_en), 				'de' => $filter->trimSelectValues($request->value_de), 				'it' => $filter->trimSelectValues($request->value_it), 			], 			'message' => [ 				'en' => $request->message_en, 				'de' => $request->message_de, 				'it' => $request->message_it, 			], 		]);  		return $this->redirectFromSave('filters.list'); 	}