public function all(): JsonResource 	{ 		$products = Product::includes()->available()->latest()->get()->groupBy('category.name');  		$categories = [];  		foreach ($products as $category_name => $category) { 			$categories[$category_name] = ReducedProductResource::collection($category); 		}  		return new JsonResource($categories); 	}