public function store(StoreCategory $request): RedirectResponse 	{ 		$request->validate([ 			'slug' => ['required', 'string', 'max:50', 'unique:' . Category::class], 			'slug_en' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Category::class); 				}), 			], 			'slug_de' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Category::class); 				}), 			], 			'slug_it' => [ 				'nullable', 'string', 'max:50', Rule::unique(Translation::class, 'value') 				->where(function ($query) { 					return $query->where('item_type', Category::class); 				}), 			], 		]);  		$category = Category::create([ 			'name' => $request->name, 			'slug' => $request->slug, 			'ordering' => $request->ordering, 			'active' => $request->boolean('active'), 			'show_on_homepage' => $request->boolean('show_on_homepage'), 			'use_parent_filters' => $request->boolean('use_parent_filters'), 			'description' => $request->description, 			'category_id' => $request->parent_category, 		]);  		$category->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 			], 			'slug' => [ 				'en' => $request->slug_en, 			], 			'description' => [ 				'en' => $request->description_en, 			], 		]);  		$category->updateTranslations([ 			'name' => [ 				'de' => $request->name_de, 			], 			'slug' => [ 				'de' => $request->slug_de, 			], 			'description' => [ 				'de' => $request->description_de, 			], 		]);  		$category->updateTranslations([ 			'name' => [ 				'it' => $request->name_it, 			], 			'slug' => [ 				'it' => $request->slug_it, 			], 			'description' => [ 				'it' => $request->description_it, 			], 		]);  		$category->storage()->handle(); 		$filters = $request->selected_filters ?? [];  		foreach ($filters as $filter_id) { 			$category->categoryFilters()->create([ 				'filter_id' => $filter_id, 			]); 		}  		return $this->redirectFromSave('categories.list'); 	}