public function products(string $category, FilterProduct $request): JsonResource 	{ 		$category = Category::getCategoryByIdOrSlug($category);  		return ProductListResource::collection(Product::includes() 												->available() 												->search($request->search) 												->filterCategory($category) 												->latest() 												->simplePaginate($request->per_page) 												->withQueryString()); 	}