public function index(GetBanner $request): JsonResource 	{ 		return BannerResource::collection( 			Banner::includes() 			->available() 			->bannerType($request->banner_type) 			->orderBy('order_column') 			->get() 			->filter(function ($item) { 				if ($item->valid_until && $item->valid_from) { 					return now()->subDay() < $item->valid_until && now() > $item->valid_from; 				}  				if ($item->valid_until) { 					return now()->subDay() < $item->valid_until; 				}  				if ($item->valid_from) { 					return now() > $item->valid_from; 				}  				return true; 			}) 		); 	}