Handles encoding of the active categories to a string and decoding it back to be compatible with the legacy URL state (to make it work with shared links)
Handles encoding of the active categories to a string and decoding it back to be compatible with the legacy URL state (to make it work with shared links)