generated from yandex-praktikum/java-shareit
-
Notifications
You must be signed in to change notification settings - Fork 0
Add item requests #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
LetaTreiden
wants to merge
45
commits into
main
Choose a base branch
from
add-item-requests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
e3e8134
IT SHOULD WORKKKKKKK
LetaTreiden 0777e65
Delete BookingDto.java
LetaTreiden 89c108a
Delete Booking.java
LetaTreiden be13311
Delete ItemDto.java
LetaTreiden 1fc35db
Delete User.java
LetaTreiden c164368
Add files via upload
LetaTreiden 9464851
Add files via upload
LetaTreiden 81656d1
Add files via upload
LetaTreiden d53fcea
Add files via upload
LetaTreiden 15ec72a
Delete src/main/java/ru/practicum/shareit/item/storage directory
LetaTreiden 5fa3d76
Delete src/main/java/ru/practicum/shareit/user/storage directory
LetaTreiden 64b8593
Add files via upload
LetaTreiden caf27e3
Add files via upload
LetaTreiden c85e079
final i hope
LetaTreiden f3622f3
Delete State.java
LetaTreiden 0452939
Delete ItemRequest.java
LetaTreiden 5c2a247
Add files via upload
LetaTreiden 67b89e0
Add files via upload
LetaTreiden 08267ed
Add files via upload
LetaTreiden 13263a5
Add files via upload
LetaTreiden 5333bae
Add files via upload
LetaTreiden 4f3cd7b
Add files via upload
LetaTreiden 942b18c
последние правки
LetaTreiden 4695c53
Delete ItemWithBookings.java
LetaTreiden ba1fc7c
Delete UserDTOToUpd.java
LetaTreiden a59150f
checkstyle
LetaTreiden 98f2e12
Add files via upload
LetaTreiden 834da69
Add files via upload
LetaTreiden 0cdc95b
Add files via upload
LetaTreiden 5dcce4f
Add files via upload
LetaTreiden 315ac89
тесты с поправками
LetaTreiden 0376a52
Add files via upload
LetaTreiden 86178d2
Add files via upload
LetaTreiden cecd350
Add files via upload
LetaTreiden f467c33
Add files via upload
LetaTreiden 9082f0c
Add files via upload
LetaTreiden 97f54a6
Add files via upload
LetaTreiden 9c115c1
Add files via upload
LetaTreiden bf80c41
Delete ItemRequestDto.java
LetaTreiden 91d7f7d
Add files via upload
LetaTreiden c0188a3
Add files via upload
LetaTreiden d3c68a8
Delete ConflictException.java
LetaTreiden 604a1ee
Add files via upload
LetaTreiden d46a560
Add files via upload
LetaTreiden 4aed23c
Add files via upload
LetaTreiden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| package ru.practicum.shareit; | ||
|
|
||
| public interface Create { | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| package ru.practicum.shareit; | ||
|
|
||
| public interface Update { | ||
| } |
This file was deleted.
Oops, something went wrong.
66 changes: 61 additions & 5 deletions
66
src/main/java/ru/practicum/shareit/booking/BookingController.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,68 @@ | ||
| package ru.practicum.shareit.booking; | ||
|
|
||
| import org.springframework.web.bind.annotation.RequestMapping; | ||
| import org.springframework.web.bind.annotation.RestController; | ||
| import lombok.RequiredArgsConstructor; | ||
| import lombok.extern.slf4j.Slf4j; | ||
| import org.springframework.beans.factory.annotation.Autowired; | ||
| import org.springframework.validation.annotation.Validated; | ||
| import org.springframework.web.bind.annotation.*; | ||
| import ru.practicum.shareit.booking.dto.BookingDTO; | ||
| import ru.practicum.shareit.booking.dto.BookingDTOToReturn; | ||
| import ru.practicum.shareit.booking.service.BookingService; | ||
|
|
||
| import javax.validation.Valid; | ||
| import javax.validation.constraints.PositiveOrZero; | ||
| import java.util.List; | ||
|
|
||
| /** | ||
| * TODO Sprint add-bookings. | ||
| */ | ||
| @RestController | ||
| @RequestMapping(path = "/bookings") | ||
| @RequiredArgsConstructor(onConstructor_ = @Autowired) | ||
| @Slf4j | ||
| @Validated | ||
| public class BookingController { | ||
| private final BookingService bookingService; | ||
|
|
||
| @PostMapping | ||
| public BookingDTOToReturn add(@RequestHeader("X-Sharer-User-Id") Long userId, | ||
| @Valid @RequestBody BookingDTO bookingDto) { | ||
| log.info("Добавление запроса на аренду пользователем с id {}", userId); | ||
| return bookingService.add(userId, bookingDto); | ||
| } | ||
|
|
||
| @PatchMapping("/{bookingId}") | ||
| public BookingDTOToReturn update(@RequestHeader("X-Sharer-User-Id") Long userId, | ||
| @PathVariable Long bookingId, | ||
| @RequestParam Boolean approved) { | ||
| log.info("Обновление статуса запроса на аренду с id {}", bookingId); | ||
| return bookingService.update(userId, bookingId, approved); | ||
|
|
||
| } | ||
|
|
||
| @GetMapping("/{bookingId}") | ||
| public BookingDTOToReturn get(@RequestHeader("X-Sharer-User-Id") Long userId, @PathVariable Long bookingId) { | ||
| log.info("Просмотр запроса на пренду с id {}", bookingId); | ||
| return bookingService.get(userId, bookingId); | ||
| } | ||
|
|
||
| @GetMapping | ||
| public List<BookingDTOToReturn> findByBooker(@RequestHeader("X-Sharer-User-Id") Long userId, | ||
| @RequestParam(required = false, defaultValue = "ALL") String state, | ||
| @PositiveOrZero @RequestParam(name = "from", defaultValue = "0") | ||
| Integer from, | ||
| @PositiveOrZero @RequestParam(name = "size", defaultValue = "10") | ||
| Integer size) { | ||
| log.info("Получение списка бронирований пользовалеля с id {}", userId); | ||
| return bookingService.getByBooker(userId, state, from, size); | ||
| } | ||
|
|
||
| @GetMapping("/owner") | ||
| public List<BookingDTOToReturn> findByOwner(@RequestHeader("X-Sharer-User-Id") Long userId, | ||
| @RequestParam(defaultValue = "ALL") String state, | ||
| @PositiveOrZero @RequestParam(name = "from", defaultValue = "0") | ||
| Integer from, | ||
| @PositiveOrZero @RequestParam(name = "size", defaultValue = "10") | ||
| Integer size) { | ||
| log.info("Получение списка бронирований для всех вещей пользователя с id {}", userId); | ||
| return bookingService.getByOwner(userId, state, from, size); | ||
| } | ||
|
|
||
| } |
69 changes: 69 additions & 0 deletions
69
src/main/java/ru/practicum/shareit/booking/BookingMapper.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| package ru.practicum.shareit.booking; | ||
|
|
||
| import lombok.experimental.UtilityClass; | ||
| import ru.practicum.shareit.booking.dto.BookingDTO; | ||
| import ru.practicum.shareit.booking.dto.BookingDTOForItem; | ||
| import ru.practicum.shareit.booking.dto.BookingDTOToReturn; | ||
| import ru.practicum.shareit.booking.model.Booking; | ||
| import ru.practicum.shareit.booking.model.Status; | ||
| import ru.practicum.shareit.item.mapper.ItemMapper; | ||
| import ru.practicum.shareit.item.model.Item; | ||
| import ru.practicum.shareit.user.UserMapper; | ||
| import ru.practicum.shareit.user.model.User; | ||
|
|
||
| import java.util.ArrayList; | ||
| import java.util.List; | ||
|
|
||
| @UtilityClass | ||
| public class BookingMapper { | ||
|
|
||
| public static BookingDTOToReturn toBookingDtoFrom(Booking booking) { | ||
| BookingDTOToReturn bookingDto = new BookingDTOToReturn(); | ||
| bookingDto.setId(booking.getId()); | ||
| bookingDto.setStart(booking.getStart()); | ||
| bookingDto.setEnd(booking.getEnd()); | ||
| bookingDto.setStatus(booking.getStatus()); | ||
| bookingDto.setItem(ItemMapper.toItemToBookingDTO(booking.getItem())); | ||
| bookingDto.setBooker(UserMapper.toUserToBookingDTO(booking.getBooker())); | ||
| return bookingDto; | ||
| } | ||
|
|
||
| public static Booking toBooking(BookingDTO bookingDto, Item item, User user) { | ||
| Booking booking = new Booking(); | ||
| booking.setStart(bookingDto.getStart()); | ||
| booking.setEnd(bookingDto.getEnd()); | ||
| booking.setId(bookingDto.getId()); | ||
| booking.setStatus(Status.WAITING); | ||
| booking.setItem(item); | ||
| booking.setBooker(user); | ||
| return booking; | ||
| } | ||
|
|
||
| public static BookingDTOForItem toBookingDtoForItem(long id, long bookerId) { | ||
| BookingDTOForItem bookingDtoForItem = new BookingDTOForItem(); | ||
| bookingDtoForItem.setId(id); | ||
| bookingDtoForItem.setBookerId(bookerId); | ||
| return bookingDtoForItem; | ||
| } | ||
|
|
||
|
|
||
| public static List<BookingDTOToReturn> mapToBookingDtoFrom(Iterable<Booking> bookings) { | ||
| List<BookingDTOToReturn> dtos = new ArrayList<>(); | ||
| for (Booking booking : bookings) { | ||
| dtos.add(toBookingDtoFrom(booking)); | ||
| } | ||
| return dtos; | ||
| } | ||
|
|
||
| public static BookingDTO toBookingDto(Booking booking) { | ||
| BookingDTO bookingDto = new BookingDTO(); | ||
| bookingDto.setId(booking.getId()); | ||
| bookingDto.setStart(booking.getStart()); | ||
| bookingDto.setEnd(booking.getEnd()); | ||
| bookingDto.setStatus(booking.getStatus()); | ||
| bookingDto.setItemId(booking.getItem() != null ? booking.getItem().getId() : null); | ||
| bookingDto.setItemName(booking.getItem() != null ? booking.getItem().getName() : null); | ||
| bookingDto.setBookerId(booking.getBooker() != null ? booking.getBooker().getId() : null); | ||
| return bookingDto; | ||
| } | ||
| } |
107 changes: 107 additions & 0 deletions
107
src/main/java/ru/practicum/shareit/booking/BookingRepository.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| package ru.practicum.shareit.booking; | ||
|
|
||
| import org.springframework.data.domain.Page; | ||
| import org.springframework.data.domain.Pageable; | ||
| import org.springframework.data.domain.Sort; | ||
| import org.springframework.data.jpa.repository.JpaRepository; | ||
| import org.springframework.data.jpa.repository.Query; | ||
| import ru.practicum.shareit.booking.model.Booking; | ||
| import ru.practicum.shareit.booking.model.Status; | ||
| import ru.practicum.shareit.item.model.Item; | ||
| import ru.practicum.shareit.user.model.User; | ||
|
|
||
| import java.time.LocalDateTime; | ||
| import java.util.Collection; | ||
| import java.util.List; | ||
|
|
||
| public interface BookingRepository extends JpaRepository<Booking, Long> { | ||
|
|
||
| List<Booking> findByBookerAndStatusOrderByStartDesc(User booker, Status status); | ||
|
|
||
| List<Booking> findByBookerOrderByStartDesc(User booker); | ||
|
|
||
| Page<Booking> findByBookerAndStatusOrderByStartDesc(User booker, Status status, Pageable pageable); | ||
|
|
||
| Page<Booking> findByBookerOrderByStartDesc(User booker, Pageable pageable); | ||
|
|
||
| List<Booking> findByBookerAndStartAfterOrderByStartDesc(User booker, LocalDateTime now); | ||
|
|
||
| Page<Booking> findByBookerAndStartAfterOrderByStartDesc(User booker, LocalDateTime now, Pageable pageable); | ||
|
|
||
| List<Booking> findByBookerAndStartBeforeAndEndAfterOrderByStartDesc(User booker, LocalDateTime s, LocalDateTime e); | ||
|
|
||
| Page<Booking> findByBookerAndStartBeforeAndEndAfterOrderByStartDesc(User booker, LocalDateTime s, LocalDateTime e, | ||
| Pageable pageable); | ||
|
|
||
| List<Booking> findByBookerAndStartBeforeAndEndBeforeOrderByStartDesc(User booker, LocalDateTime s, LocalDateTime e); | ||
|
|
||
| Page<Booking> findByBookerAndStartBeforeAndEndBeforeOrderByStartDesc(User booker, LocalDateTime s, | ||
| LocalDateTime e, Pageable pageable); | ||
|
|
||
| List<Booking> findByItemAndBookerAndStartBeforeAndEndBefore(Item item, User booker, LocalDateTime s, | ||
| LocalDateTime e); | ||
|
|
||
| @Query("SELECT b FROM Booking b WHERE b.item.id IN" + " (SELECT i.id FROM Item i WHERE i.owner.id = ?1)" | ||
| + " ORDER BY b.id DESC") | ||
| List<Booking> findByOwnerAll(long userId); | ||
|
|
||
| @Query(nativeQuery = true, value = "SELECT * FROM BOOKINGS as b " + | ||
| "LEFT JOIN ITEMS as i ON b.ITEM_ID = i.ID " + | ||
| "WHERE i.OWNER_ID = ?1 " + | ||
| "ORDER BY b.START_DATE DESC") | ||
| List<Booking> findByOwnerAll(Long i, Pageable pageable); | ||
|
|
||
| @Query("SELECT b FROM Booking b WHERE b.item.id IN " | ||
| + "(SELECT i.id FROM Item i WHERE i.owner.id = ?1) AND b.start < ?2 AND b.end > ?2" | ||
| + " ORDER BY b.id DESC") | ||
| List<Booking> findByOwnerAndCurrent(long userId, LocalDateTime currentDate); | ||
|
|
||
| @Query(nativeQuery = true, value = "SELECT * FROM BOOKINGS as b " + | ||
| "LEFT JOIN ITEMS as i ON b.ITEM_ID = i.ID " + | ||
| "WHERE i.OWNER_ID = ?1 AND b.START_DATE < ?2 AND b.END_DATE > ?2 " + | ||
| "ORDER BY b.START_DATE DESC") | ||
| List<Booking> findByOwnerAndCurrent(Long i, LocalDateTime now, Pageable pageable); | ||
|
|
||
| @Query("SELECT b FROM Booking b WHERE b.item.id IN " | ||
| + "(SELECT i.id FROM Item i WHERE i.owner.id = ?1) AND b.end < ?2" | ||
| + " ORDER BY b.id DESC") | ||
| List<Booking> findByOwnerAndPast(long userId, LocalDateTime currentDate); | ||
|
|
||
| @Query(nativeQuery = true, value = "SELECT * FROM BOOKINGS as b " + | ||
| "LEFT JOIN ITEMS as i ON b.ITEM_ID = i.ID " + | ||
| "WHERE i.OWNER_ID = ?1 AND b.END_DATE < ?2 AND b.START_DATE < ?2 " + | ||
| "ORDER BY b.START_DATE DESC") | ||
| List<Booking> findByOwnerAndPast(Long i, LocalDateTime now, Pageable pageable); | ||
|
|
||
| @Query("SELECT b FROM Booking b WHERE b.item.id IN " | ||
| + "(SELECT i.id FROM Item i WHERE i.owner.id = ?1) AND b.start > ?2" + " ORDER BY b.id DESC") | ||
| List<Booking> findByUserAndFuture(long userId, LocalDateTime currentDate); | ||
|
|
||
| @Query(nativeQuery = true, value = "SELECT * FROM BOOKINGS as b " + | ||
| "LEFT JOIN ITEMS as i ON b.ITEM_ID = i.ID " + | ||
| "WHERE i.OWNER_ID = ?1 AND b.START_DATE > ?2 " + | ||
| "ORDER BY b.START_DATE DESC") | ||
| List<Booking> findByUserAndFuture(Long i, LocalDateTime s, Pageable pageable); | ||
|
|
||
| @Query("SELECT b FROM Booking b WHERE b.item.id IN " | ||
| + "(SELECT i.id FROM Item i WHERE i.owner.id = ?1) AND b.status = ?2" + " ORDER BY b.id DESC") | ||
| List<Booking> findByOwnerAndByStatus(long userId, Status status); | ||
|
|
||
| @Query(nativeQuery = true, value = "SELECT * FROM BOOKINGS as b " + | ||
| "LEFT JOIN ITEMS as i ON b.ITEM_ID = i.ID " + | ||
| "WHERE i.OWNER_ID = ?1 AND b.STATUS LIKE ?2 " + | ||
| "ORDER BY b.START_DATE DESC") | ||
| List<Booking> findByOwnerAndByStatus(Long i, String status, Pageable pageable); | ||
|
|
||
| Booking findFirstByStatusAndItemAndStartIsAfter(Status state, Item item, LocalDateTime time, Sort sort); | ||
|
|
||
| Booking findFirstByStatusAndItemAndStartLessThanEqual(Status state, Item item, LocalDateTime time, Sort sort); | ||
|
|
||
| @Query("select b " + | ||
| "from Booking b " + | ||
| "where b.item in ?1 " + | ||
| " and b.status = 'APPROVED'") | ||
| List<Booking> findApprovedForItems(Collection<Item> items, Sort sort); | ||
|
|
||
| List<Booking> findByItemOrderByStartDesc(Item item); | ||
| } |
29 changes: 29 additions & 0 deletions
29
src/main/java/ru/practicum/shareit/booking/dto/BookingDTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| package ru.practicum.shareit.booking.dto; | ||
|
|
||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
| import ru.practicum.shareit.booking.model.Status; | ||
|
|
||
| import java.time.LocalDateTime; | ||
|
|
||
| @Data | ||
| @NoArgsConstructor | ||
| public class BookingDTO { | ||
|
|
||
| private long id; | ||
|
|
||
| @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") | ||
| private LocalDateTime start; | ||
|
|
||
| @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") | ||
| private LocalDateTime end; | ||
|
|
||
| private Long itemId; | ||
|
|
||
| private String itemName; | ||
|
|
||
| private Long bookerId; | ||
|
|
||
| private Status status; | ||
| } |
20 changes: 20 additions & 0 deletions
20
src/main/java/ru/practicum/shareit/booking/dto/BookingDTOForItem.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| package ru.practicum.shareit.booking.dto; | ||
|
|
||
| import com.fasterxml.jackson.annotation.JsonFormat; | ||
| import com.fasterxml.jackson.annotation.JsonInclude; | ||
| import lombok.Getter; | ||
| import lombok.NoArgsConstructor; | ||
| import lombok.Setter; | ||
|
|
||
| import java.time.LocalDateTime; | ||
|
|
||
| @Getter | ||
| @Setter | ||
| @JsonInclude(JsonInclude.Include.NON_NULL) | ||
| @NoArgsConstructor | ||
| public class BookingDTOForItem { | ||
| private long id; | ||
| private Long bookerId; | ||
| @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") | ||
| private LocalDateTime dateTime; | ||
| } |
36 changes: 36 additions & 0 deletions
36
src/main/java/ru/practicum/shareit/booking/dto/BookingDTOToReturn.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| package ru.practicum.shareit.booking.dto; | ||
|
|
||
| import lombok.Data; | ||
| import org.springframework.validation.annotation.Validated; | ||
| import ru.practicum.shareit.booking.model.Status; | ||
|
|
||
| import java.time.LocalDateTime; | ||
|
|
||
| @Data | ||
| @Validated | ||
| public class BookingDTOToReturn { | ||
|
|
||
| private long id; | ||
|
|
||
| private LocalDateTime start; | ||
|
|
||
| private LocalDateTime end; | ||
|
|
||
| private Item item; | ||
|
|
||
| private User booker; | ||
LetaTreiden marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| private Status status; | ||
|
|
||
| @Data | ||
| public static class User { | ||
| private final long id; | ||
| private final String name; | ||
| } | ||
|
|
||
| @Data | ||
| public static class Item { | ||
| private final long id; | ||
| private final String name; | ||
| } | ||
| } | ||
7 changes: 0 additions & 7 deletions
7
src/main/java/ru/practicum/shareit/booking/dto/BookingDto.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.