code: public static float getArtifactUploadPopupWidth(final float newBrowserWidth, final int minPopupWidth) {
          final float extraWidth = findRequiredSwModuleExtraWidth(newBrowserWidth);
          if (extraWidth + minPopupWidth > SPUIDefinitions.MAX_UPLOAD_CONFIRMATION_POPUP_WIDTH) {
              return SPUIDefinitions.MAX_UPLOAD_CONFIRMATION_POPUP_WIDTH;
          }
          return extraWidth + minPopupWidth;
      }
docs: Get artifact upload pop up width.
  
  @param newBrowserWidth
  new browser width
  @param minPopupWidth
  minimum popup width
  @return float new pop up width