async function load$1(uri, options) {
    const opt = await this.sanitize(uri, options),
      url = opt.href;
    return opt.localFile ? this.file(url) : this.http(url, options);
  }
Load an external resource, typically either from the web or from the local
filesystem. This function uses {@link sanitize} to first sanitize the uri,
then calls either {@link http} (for web requests) or {@link file} (for
filesystem loading).
@param {string} uri - The resource indicator (e.g., URL or filename).
@param {object} [options] - Optional loading options. These options will
  override any existing default options.
@return {Promise} - A promise that resolves to the loaded content.