public function toArray(Request $request): array 	{ 		return [ 			'id' => $this->id, 			'name' => $this->getDefaultTranslation('name'), 			'slug' => $this->getTranslations($this->getSlugFieldName()), 			'description' => $this->getDefaultTranslation('description'), 			'media' => new MediaResource($this->storage()->getFirstFile('image')), 			'children' => CategoryResource::collection($this->children), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}