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); 				}), 			], 		]);  		$category = Category::create([ 			'category_id' => $request->category_id, 			'name' => $request->name, 			'slug' => $request->slug, 			'active' => $request->boolean('active'), 			'use_parent_filters' => $request->boolean('use_parent_filters'), 			'description' => $request->description, 		]);  		$category->updateTranslations([ 			'name' => [ 				'en' => $request->name_en, 			], 			'slug' => [ 				'en' => $request->slug_en, 			], 			'description' => [ 				'en' => $request->description_en, 			], 		]);  		$category->storage()->handle(); 		$filters = $request->selected_filters ?? [];  		foreach ($filters as $filter_id) { 			$category->categoryFilters()->create([ 				'filter_id' => $filter_id, 			]); 		}  		return $this->redirectFromSave('categories.list'); 	}