PDF.js version: 3.5.141

These two properties should be marked as not mandatory as they are initialized if not present
for (const entry of entries) {
      if (entry.target === this.container) {
        this.#updateContainerHeightCss(
          
          Math.floor(
            typeof PDFJSDev !== "undefined" &&
              !PDFJSDev.test("SKIP_BABEL") &&
              !entry.borderBoxSize?.length
              ? entry.contentRect.height
              : entry.borderBoxSize[0].blockSize
          )
        );
        this.#containerTopLeft = null;
        break;
      }
    }
  }
  get containerTopLeft() {
    return (this.#containerTopLeft ||= [
      this.container.offsetTop,
      this.container.offsetLeft,
    ]);
  }
  /**
   * @type {number}
   */
  get annotationEditorMode() {