hunk.code_window:   selectedWidgets: string[],
     pageId?: string,
     invokedBy?: NavigationMethod,
   ) {
     const guidedTourEnabled: boolean = yield select(inGuidedTour);
     const isSnipingMode: boolean = yield select(snipingModeSelector);
     const appMode: APP_MODE = yield select(getAppMode);
     const viewMode = appMode === APP_MODE.PUBLISHED;
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.file_path: app/client/src/sagas/WidgetSelectionSagas.ts
hunk.type: replace
file: package com.appsmith.git.converters;
  
  import com.google.gson.JsonElement;
  import com.google.gson.JsonPrimitive;
  import com.google.gson.JsonSerializationContext;
  import com.google.gson.JsonSerializer;
  
  import java.lang.reflect.Type;
  
  public class GsonDoubleToLongConverter implements JsonSerializer<Double> {
          @Override
          public JsonElement serialize(Double src, Type typeOfSrc, JsonSerializationContext context) {
              if(src == src.longValue()) {
                  return new JsonPrimitive(src.longValue());
              }
              return new JsonPrimitive(src);
          }
  }
  