Iga Swiatek came through wildly fluctuating three-setter to defeat Anna Kalinskaya in the Australian Open third round.