Then the person leaves it in a public place, hoping that the book will have an adventure, traveling far and wide with each new reader who finds it.
请问老师:
现在分词短语 hoping that the book will have an adventure 和 traveling far and wide with each new reader who finds it 做什么成分?