{
  "version": 3,
  "sources": ["i18n.js"],
  "sourcesContent": ["/**\n * Translation helpers, backed by Django's JavaScript catalog (served at\n * `{% url 'javascript-catalog' %}` and loaded by layouts/base.html), which\n * installs its functions as globals.\n *\n * Importing them from here keeps the globals out of every other module. The\n * exports deliberately keep Django's names: `makemessages -d djangojs` extracts\n * `gettext(...)` and `ngettext(...)` call shapes by default, so renaming them\n * would make every string invisible to extraction.\n *\n * The fallbacks matter for the source language only - with the catalog missing,\n * English strings still read correctly instead of the page breaking.\n */\n\nexport function gettext(message) {\n    return window.gettext ? window.gettext(message) : message;\n}\n\nexport function ngettext(singular, plural, count) {\n    if (window.ngettext) {\n        return window.ngettext(singular, plural, count);\n    }\n    return count === 1 ? singular : plural;\n}\n\n/** Fill `%(name)s` placeholders in an already-translated string. */\nexport function interpolate(message, params) {\n    return window.interpolate ? window.interpolate(message, params, true) : message;\n}\n"],
  "mappings": "AAcO,gBAAS,QAAQA,EAAS,CAC7B,OAAO,OAAO,QAAU,OAAO,QAAQA,CAAO,EAAIA,CACtD,CAEO,gBAAS,SAASC,EAAUC,EAAQC,EAAO,CAC9C,OAAI,OAAO,SACA,OAAO,SAASF,EAAUC,EAAQC,CAAK,EAE3CA,IAAU,EAAIF,EAAWC,CACpC,CAGO,gBAAS,YAAYF,EAASI,EAAQ,CACzC,OAAO,OAAO,YAAc,OAAO,YAAYJ,EAASI,EAAQ,EAAI,EAAIJ,CAC5E",
  "names": ["message", "singular", "plural", "count", "params"]
}
