function openWebsite(deckBuilderData, baseUrl, target) {
    let url;
    if (baseUrl === "kcweb") {
      // set en language for non-CJK users
      url = kcwebBaseUrl.format(({
        "jp": "ja", "kr": "ja",
        "scn": "ja", "tcn": "ja", "tcn-yue": "ja",
      })[ConfigManager.language] || "en") + JSON.stringify({
        "predeck": deckBuilderData
      });
    } else if (baseUrl === "jervis") {
      // fleethub url needs language included
      url = jervisBaseUrl.format(({
        "jp": "ja", "kr": "ko",
        "scn": "zh-CN", "tcn": "zh-TW",
      })[ConfigManager.language] || "en")
        + encodeURI(JSON.stringify(deckBuilderData));
    } else {
      const json = JSON.stringify(deckBuilderData);
      //console.log("JSON to be exported", json);
      url = (baseUrl || exportBaseUrl) + encodeURI(json);
    }
    //console.debug("Site to be exported", url);
    if (!!target && target !== "_blank") {
      const ref = window.open(url, target);
      if (ref && !ref.closed) {
        ref.location.replace(url);
        if (ref.focus) ref.focus();
      }
    } else {
      window.open(url);
    }
  }
Exactly, this module is a data builder of online website Image Builder,
which generates the fleets composition image on a canvas, instead of building an image by itself.

Currently, exported json data can be either used by fleethub (Rust remake of jervisOR) by:
  https://github.com/madonoharu/fleethub
Currently, exported json data can be either used by kc-web (v2 of aircalc) by:
  https://github.com/noro6/kc-web
Currently, supports to export data to the web Image Builder hosted by:
  https://github.com/HitomaruKonpaku/KanColleImgBuilder
which depends on GKCOI (Generate KanColle Organization Image) originally created by:
  https://github.com/Nishisonic/gkcoi
which supports data format originally created by DeckBuilder:
  http://www.kancolle-calc.net/deckbuilder.html