- pdf export now handles multiple offers as input and sets 4 offers on each page
- search algorithm externalized as function