How can I dynamically rearrange a 2D range in Google Sheets into a 1D range, where the rows are "stacked" on top of each other, like shown below? When I say dynamically, I mean that the range is of a dynamic size using a FILTER, with a unknown number of columns (with a known number of rows though (52)). I have tried using the SPLIT(JOIN(range)) method seen on other questions, but that does not work here as JOIN requires the range(s) to be 1D.
*Looking for Google Sheets solution if possible, but a Google Script would also be fine