static HSReplayNetHelper()
 {
     CollectionSyncLimiter = new RateLimiter(6, TimeSpan.FromMinutes(2));
     ConfigWrapper.CollectionSyncingChanged += () => SyncCollection().Forget();
     CollectionHelper.OnCollectionChanged   += () => SyncCollection().Forget();
     CollectionUploaded += () =>
     {
         ToastManager.ShowCollectionUpdatedToast();
         Influx.OnCollectionSynced(true);
     };
     CollectionUploadError  += () => Influx.OnCollectionSynced(false);
     BlizzardAccountClaimed += Influx.OnBlizzardAccountClaimed;
     AuthenticationError    += Influx.OnOAuthLoginComplete;
     Authenticating         += authenticating =>
     {
         if (authenticating)
         {
             Influx.OnOAuthLoginInitiated();
         }
     };
     HSReplayNetOAuth.LoggedOut     += Influx.OnOAuthLogout;
     HSReplayNetOAuth.Authenticated += () => Influx.OnOAuthLoginComplete(AuthenticationErrorType.None);
 }