<commit_before>/**
 * 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, 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
 */
(function () {
  'use strict';

  const exportBaseUrl = 'https://kancolleimgbuilder.web.app/builder?deck=';
  const defaultLang = 'en';
  const supportedLangs = {
    'jp': 'jp',
    'kr': 'kr',
    'scn': 'scn',
    // gkcoi does not support tcn, map them to jp
    'tcn': 'jp',
    'tcn-yue': 'jp',
  };
  const defaultTheme = 'dark';
  const supportedThemes = {
    'dark': 'dark',
    // gkcoi does not show LBAS for other theme, so map all to dark
    'legacy': 'dark',
  };
<commit_msg>Change to hash to avoid HTTP 414<commit_after>/**
 * 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, 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
 */
(function () {
  'use strict';

  const exportBaseUrl = 'https://kancolleimgbuilder.web.app/builder#';
  const defaultLang = 'en';
  const supportedLangs = {
    'jp': 'jp',
    'kr': 'kr',
    'scn': 'scn',
    // gkcoi does not support tcn, map them to jp
    'tcn': 'jp',
    'tcn-yue': 'jp',
  };
  const defaultTheme = 'dark';
  const supportedThemes = {
    'dark': 'dark',
    // gkcoi does not show LBAS for other theme, so map all to dark
    'legacy': 'dark',
  };

{'fraction_non_alphanumeric': 0.12094531974050046, 'fraction_numerical': 0.0013901760889712697, 'mean_word_length': 3.4885654885654884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '506306', 'n_tokens_mistral': 706, 'n_tokens_neox': 682, 'n_words': 236}