{
  "version": 3,
  "sources": ["reset_data_summary.js"],
  "sourcesContent": ["/*\n * static/js/reset_data_summary.js \u2014 paint the \"Reset local data\"\n * breakdown on /offline/ (SNOW-860; moved off /account/settings/ by SNOW-930).\n *\n * The DOM half of `reset_data_summary_core.js`, in the same shape as\n * `sync_log.js`: read what the device is holding, replace the \"Loading\u2026\"\n * placeholder with rows, and resolve every failure to a specific sentence\n * rather than leaving the panel sitting on \"Loading\u2026\" \u2014 which reads as\n * \"still working\" when it means \"IndexedDB is gone\".\n *\n * Three reads, all best-effort:\n *\n *   - the downloaded areas, through `window.pwaBasemapAreas`\n *     (`basemap_downloaded_areas.js`) and `manageRows`, which is the SAME\n *     path the map's Manage downloads sheet takes. One reader, so the two\n *     surfaces cannot disagree about what is on the device;\n *   - the depth of `queue:mutations` \u2014 SNOW-376's pending mutations. NOT\n *     `queue:events`, which is the SNOW-385 telemetry buffer: counting\n *     that would put a number of analytics payloads under a heading\n *     reading \"unsent changes\". `db.js`'s own header documents the\n *     distinction, and `docs/mutation-queue.md` is the contract;\n *   - `navigator.storage.estimate()`, for everything else the origin\n *     holds.\n *\n * `manageRows` excludes the shared overview maps (SNOW-867 \u2014 they are not\n * the user's downloads and not in the downloads panel's budget), so this\n * module picks them back out of the area list itself and hands them to\n * the core separately. This panel is where they ARE stated, which is what\n * that decision points at \u2014 on their own line since SNOW-1138, so the\n * \"Downloaded maps\" figure is the sheet's own total and not a second,\n * larger one.\n *\n * It also publishes `window.pwaResetDataSummary.confirmLines()` for\n * `pwa_reset.js`, so the confirmation dialog quotes the total from the\n * same summary the user just read rather than computing a second one.\n */\n\n(function () {\n  'use strict';\n\n  const LIST_ID = 'reset-data-summary-list';\n\n  // Every read here is time-bounded, for the reason\n  // docs/decisions/bounded-offline-read-paths.md gives for bounding every\n  // read path in sw.js: storage in trouble HANGS rather than rejecting.\n  // The `catch` branches below are written against a rejection this\n  // device does not produce, so an IndexedDB request whose event never\n  // fires left this panel reading \"Loading\u2026\" for ever \u2014 reported\n  // alongside the offline check stuck on \"Checking\u2026\" in the same\n  // screenshot, on the same iPad, in the same session.\n  //\n  // Four seconds because this panel paints on page load rather than on a\n  // press: nobody asked for it, so nobody should wait long for it.\n  const READ_BUDGET_MS = 4000;\n\n  /** The value a read that never came back resolves to. */\n  const NO_ANSWER = Symbol('no-answer');\n\n  // SNOW-1138 review: the orphan walk is one `cache.match()` per entry, so\n  // a large interrupted download could eat the whole READ_BUDGET_MS and\n  // cost the panel its list. Orphans get half the budget between them;\n  // one still unmeasured when it runs out reads 0 bytes rather than\n  // failing the read the downloads list rides on.\n  const ORPHAN_BUDGET_MS = READ_BUDGET_MS / 2;\n\n  /**\n   * Take one reading, or give up on it.\n   *\n   * Resolves with `NO_ANSWER` on overrun \u2014 never with an empty result,\n   * because \"nothing is downloaded\" and \"we could not find out\" are\n   * different things to tell someone standing over a Reset button.\n   *\n   * @param {function(): Promise<*>} work\n   * @returns {Promise<*>}\n   */\n  function bounded(work) {\n    return new Promise(function (resolve) {\n      let settled = false;\n      const finish = (value) => {\n        if (settled) return;\n        settled = true;\n        resolve(value);\n      };\n      const timer = setTimeout(() => finish(NO_ANSWER), READ_BUDGET_MS);\n      let promise;\n      try {\n        promise = work();\n      } catch (_err) {\n        clearTimeout(timer);\n        finish(NO_ANSWER);\n        return;\n      }\n      Promise.resolve(promise).then(\n        (value) => {\n          clearTimeout(timer);\n          finish(value);\n        },\n        () => {\n          clearTimeout(timer);\n          finish(NO_ANSWER);\n        },\n      );\n    });\n  }\n\n  // SNOW-620: server-translated copy, read back from the template\n  // accounts/partials/_reset_data_summary_body.html renders. The literals\n  // are the English fallback \u2014 see static/js/i18n_strings.js.\n  const STRINGS = self.pwaStrings.read('reset-data-summary-strings-template', {\n    unavailable: 'Storage details unavailable on this device.',\n    failed: 'Could not read what is stored on this device.',\n    maps: 'Downloaded maps',\n    'maps-none': 'Nothing downloaded on this device.',\n    'shared-basemap-tiles': 'Shared basemap tiles',\n    'shared-basemap-tiles-note':\n      'The zoomed-out map the app keeps for each basemap you use. Not part of Downloaded maps, or of the Manage downloads total.',\n    unsent: 'Unsent changes',\n    'unsent-none': 'Nothing is waiting to be sent.',\n    'unsent-one': '1 change has not reached the server yet. Resetting deletes it.',\n    'unsent-many': '%(n)s changes have not reached the server yet. Resetting deletes them.',\n    cached: 'Cached pages and tiles',\n    'cached-note': 'Pages and map tiles saved by the device as you browse.',\n    'cached-unknown': 'Size unknown',\n    preferences: 'Map Viewport',\n    'preferences-note':\n      'The selected basemap and viewport will be restored to the defaults.',\n    // confirm-* belong to the reset dialog, not the panel. The panel has no\n    // total footer; the confirmation still states a size before the user\n    // commits, and still reads it from the same summary.\n    'confirm-total': 'This deletes about %(size)s from this device.',\n    'confirm-unsent-one': '1 change has not reached the server yet, and will be lost.',\n    'confirm-unsent-many': '%(n)s changes have not reached the server yet, and will be lost.',\n    'default-custom-name': 'Custom area %(n)s',\n    'base-layer-name': 'Overview map',\n  });\n\n  // The last summary painted, or null before the first paint and after a\n  // failed one. `pwa_reset.js` reads it through `confirmLines()` below;\n  // null there means the dialog keeps its standing copy alone, which is\n  // right \u2014 a figure that could not be read must not be guessed at in the\n  // one dialog the user acts on.\n  let LAST_SUMMARY = null;\n\n  /**\n   * Format a byte count the way every download surface already does, so\n   * the panel and the Manage downloads sheet report the same size for the\n   * same area. Falls back to a bare MB figure if the manage core is not\n   * on the page.\n   *\n   * @param {number} bytes\n   * @returns {string}\n   */\n  function formatBytes(bytes) {\n    const manage = self.pwaBasemapManageCore;\n    if (manage && typeof manage.formatMegabytes === 'function') {\n      return manage.formatMegabytes(bytes);\n    }\n    return Math.round((Number(bytes) || 0) / (1024 * 1024)) + ' MB';\n  }\n\n  /**\n   * Replace the list's contents with a single muted placeholder row.\n   *\n   * @param {HTMLElement} list\n   * @param {string} text\n   * @returns {void}\n   */\n  function renderPlaceholder(list, text) {\n    list.textContent = '';\n    const li = document.createElement('li');\n    li.className = 'px-4 py-3 text-text-3';\n    li.setAttribute('data-role', 'reset-data-summary-placeholder');\n    li.textContent = text;\n    list.appendChild(li);\n  }\n\n  /**\n   * Build one category row: a heading, its figure on the trailing edge,\n   * and the sentence saying what losing it costs.\n   *\n   * @param {{category: string, label: string, value: string,\n   *   note: string, warn?: boolean}} spec\n   * @returns {HTMLLIElement}\n   */\n  function buildCategory(spec) {\n    const li = document.createElement('li');\n    li.className = 'px-4 py-3';\n    li.setAttribute('data-testid', 'reset-data-summary-row');\n    li.setAttribute('data-category', spec.category);\n\n    const head = document.createElement('div');\n    head.className = 'flex items-baseline justify-between gap-3';\n\n    const label = document.createElement('span');\n    label.className = 'text-text-1 font-medium';\n    label.textContent = spec.label;\n\n    const value = document.createElement('span');\n    // The warning is on the FIGURE, not the row: an unsent change is the\n    // one thing here the reset destroys rather than makes you re-fetch,\n    // and the number is what says how much of it there is.\n    value.className = spec.warn\n      ? 'shrink-0 font-mono text-caption text-status-warning-text'\n      : 'shrink-0 font-mono text-caption text-text-2';\n    value.setAttribute('data-role', 'reset-data-summary-value');\n    value.textContent = spec.value;\n\n    head.appendChild(label);\n    head.appendChild(value);\n    li.appendChild(head);\n\n    // Omitted, not emptied: an empty <p> still carries mt-1, which reads\n    // as a gap the row did not ask for.\n    if (spec.note) {\n      const note = document.createElement('p');\n      note.className = 'mt-1 text-xs text-text-3';\n      note.textContent = spec.note;\n      li.appendChild(note);\n    }\n\n    return li;\n  }\n\n  /**\n   * The per-area list under the Downloaded maps row.\n   *\n   * Named one by one rather than counted, because \"3 areas\" does not\n   * answer the question the user is actually asking, which is whether the\n   * one they need for the weekend is among them. The shared basemap\n   * tiles are not in it: since SNOW-1138 they are a category of their\n   * own, so the figure above this list is the downloads alone \u2014 the same\n   * total the Manage downloads sheet states.\n   *\n   * @param {Array<{id: string, label: string, bytes: number}>} items\n   * @returns {HTMLUListElement}\n   */\n  function buildMapList(items) {\n    const ul = document.createElement('ul');\n    ul.className = 'mt-2 space-y-1';\n    ul.setAttribute('data-role', 'reset-data-summary-maps');\n    items.forEach(function (item) {\n      const li = document.createElement('li');\n      li.className = 'flex items-baseline justify-between gap-3 text-xs text-text-3';\n      li.setAttribute('data-testid', 'reset-data-summary-map');\n\n      const name = document.createElement('span');\n      name.className = 'min-w-0 truncate';\n      name.textContent = item.label;\n\n      const size = document.createElement('span');\n      size.className = 'shrink-0 font-mono';\n      size.textContent = formatBytes(item.bytes);\n\n      li.appendChild(name);\n      li.appendChild(size);\n      ul.appendChild(li);\n    });\n    return ul;\n  }\n\n  /**\n   * Paint the categories from a computed summary \u2014 four, and a fifth for\n   * the shared basemap tiles when the device holds any.\n   *\n   * @param {HTMLElement} list\n   * @param {Object} summary `pwaResetDataSummaryCore.summarise` output.\n   * @returns {void}\n   */\n  function renderSummary(list, summary) {\n    list.textContent = '';\n\n    const maps = buildCategory({\n      category: 'maps',\n      label: STRINGS.maps,\n      value: formatBytes(summary.maps.bytes),\n      note: summary.maps.items.length ? '' : STRINGS['maps-none'],\n    });\n    if (summary.maps.items.length) maps.appendChild(buildMapList(summary.maps.items));\n    list.appendChild(maps);\n\n    // SNOW-1138: the shared overview maps, on a line of their own. Summed\n    // into \"Downloaded maps\" they made that figure larger than the Manage\n    // downloads sheet's total for the same device; apart, \"Downloaded\n    // maps\" IS that total, and this line says what it leaves out. Omitted\n    // when there are none, like the list above.\n    if (summary.shared && summary.shared.present) {\n      list.appendChild(\n        buildCategory({\n          category: 'shared',\n          label: STRINGS['shared-basemap-tiles'],\n          value: formatBytes(summary.shared.bytes),\n          note: STRINGS['shared-basemap-tiles-note'],\n        }),\n      );\n    }\n\n    let unsentNote = STRINGS['unsent-none'];\n    if (summary.unsent.count === 1) {\n      unsentNote = STRINGS['unsent-one'];\n    } else if (summary.unsent.count > 1) {\n      unsentNote = self.pwaStrings.interpolate(STRINGS['unsent-many'], {\n        n: summary.unsent.count,\n      });\n    }\n    list.appendChild(\n      buildCategory({\n        category: 'unsent',\n        label: STRINGS.unsent,\n        // A count, not a size \u2014 the only figure on this panel that is not\n        // bytes, and the only one where zero is the good news.\n        value: String(summary.unsent.count),\n        note: unsentNote,\n        warn: summary.unsent.warn,\n      }),\n    );\n\n    list.appendChild(\n      buildCategory({\n        category: 'cached',\n        label: STRINGS.cached,\n        value: summary.cached.known\n          ? formatBytes(summary.cached.bytes)\n          : STRINGS['cached-unknown'],\n        note: STRINGS['cached-note'],\n      }),\n    );\n\n    list.appendChild(\n      buildCategory({\n        category: 'preferences',\n        label: STRINGS.preferences,\n        // No figure at all: a handful of keys in web storage is not a size\n        // worth stating, and naming what reverts to the default says more\n        // than a right-hand column could.\n        value: '',\n        note: STRINGS['preferences-note'],\n      }),\n    );\n  }\n\n  /**\n   * Wrap `measure` so every orphan it sizes shares one ORPHAN_BUDGET_MS\n   * deadline, counted from this call.\n   *\n   * @param {function(string): Promise<number>} measure\n   * @returns {function(string): Promise<number>}\n   */\n  function orphanMeasurer(measure) {\n    const deadline = Date.now() + ORPHAN_BUDGET_MS;\n    return function (areaId) {\n      const left = deadline - Date.now();\n      if (typeof measure !== 'function' || left <= 0) return Promise.resolve(0);\n      return new Promise(function (resolve) {\n        const timer = setTimeout(() => resolve(0), left);\n        Promise.resolve()\n          .then(() => measure(areaId))\n          .then(\n            (bytes) => {\n              clearTimeout(timer);\n              resolve(bytes || 0);\n            },\n            () => {\n              clearTimeout(timer);\n              resolve(0);\n            },\n          );\n      });\n    };\n  }\n\n  /**\n   * Read the three sources the summary is built from.\n   *\n   * Each is independently best-effort. A device with no basemap cores\n   * loaded still reports its queue depth; one with no\n   * `navigator.storage.estimate()` still lists its downloads. Only a\n   * total failure \u2014 no `pwaDb` at all \u2014 leaves the panel with nothing to\n   * say, and it says that.\n   *\n   * @returns {Promise<Object>} The core's summary.\n   */\n  async function collect() {\n    const download = self.pwaBasemapDownloadCore;\n    const manage = self.pwaBasemapManageCore;\n    const areasApi = window.pwaBasemapAreas;\n\n    let areas = [];\n    if (download && manage && areasApi) {\n      // SNOW-1138: `measureBytes` sizes an ORPHANED bucket \u2014 one with no\n      // record to read a figure off \u2014 by the walk the Manage downloads\n      // sheet uses, so an orphan reads the same size on both rather than\n      // 0 MB here.\n      areas = await bounded(() =>\n        areasApi.downloadedAreas({\n          strings: STRINGS,\n          measureBytes: orphanMeasurer(areasApi.measureBucketBytes),\n        }),\n      );\n      // The downloads ARE this panel: a list that came back empty because\n      // nothing answered would tell someone their 200 MB of maps had\n      // vanished, on the one surface that offers to delete them. Throwing\n      // puts the panel into its stated `failed` state instead.\n      if (areas === NO_ANSWER) {\n        throw new Error('downloaded areas did not answer');\n      }\n    }\n    const rows =\n      manage && download\n        ? manage.manageRows(areas, {\n            isCustomAreaId: download.isCustomAreaId,\n            isBaseLayerAreaId: download.isBaseLayerAreaId,\n          })\n        : [];\n    // The shared overview maps, which `manageRows` deliberately drops.\n    const baseLayers = download\n      ? areas.filter(function (area) {\n          return area && download.isBaseLayerAreaId(area.id);\n        })\n      : [];\n\n    // A queue that cannot be read \u2014 or that does not answer \u2014 reads as\n    // empty, which is the pre-existing decision: see the core's own note\n    // on why an unknown count must not become a warning.\n    const counted = await bounded(() => window.pwaDb.count('queue:mutations'));\n    const mutationCount = counted === NO_ANSWER ? 0 : counted || 0;\n\n    // `estimate()` adds up every origin-scoped store, so on a device\n    // holding a few hundred megabytes of tiles it is the slowest read on\n    // this page by a distance. Bounded, and a null simply drops the byte\n    // figures the core already prints as unknown.\n    const estimated = await bounded(() => {\n      if (!navigator.storage || typeof navigator.storage.estimate !== 'function') {\n        return Promise.resolve(null);\n      }\n      return navigator.storage.estimate();\n    });\n    const storageEstimate = estimated === NO_ANSWER ? null : estimated;\n\n    return window.pwaResetDataSummaryCore.summarise({\n      rows: rows,\n      baseLayers: baseLayers,\n      mutationCount: mutationCount,\n      storageEstimate: storageEstimate,\n    });\n  }\n\n  /**\n   * Read what this device is holding and paint it, replacing the\n   * \"Loading\u2026\" placeholder from the template shell. Never throws \u2014 a\n   * failed read degrades to a muted placeholder row, because the control\n   * this panel sits beside has to stay usable whatever storage is doing.\n   *\n   * @returns {Promise<void>}\n   */\n  async function render() {\n    const list = document.getElementById(LIST_ID);\n    if (!list) return;\n\n    if (!window.pwaDb || !window.pwaResetDataSummaryCore) {\n      LAST_SUMMARY = null;\n      renderPlaceholder(list, STRINGS.unavailable);\n      return;\n    }\n\n    try {\n      const summary = await collect();\n      LAST_SUMMARY = summary;\n      renderSummary(list, summary);\n    } catch (_err) {\n      LAST_SUMMARY = null;\n      renderPlaceholder(list, STRINGS.failed);\n    }\n  }\n\n  /**\n   * The lines `pwa_reset.js` adds to its confirmation dialog (SNOW-860).\n   *\n   * The same total the user has just read on the panel, from the same\n   * summary \u2014 not a second computation, which would be free to disagree\n   * with the page at the exact moment disagreement is most expensive.\n   * Empty before the first paint, or after one that failed: no figure is\n   * better than an invented one in the dialog that authorises the wipe.\n   *\n   * @returns {string[]}\n   */\n  function confirmLines() {\n    if (!LAST_SUMMARY) return [];\n    const lines = [\n      self.pwaStrings.interpolate(STRINGS['confirm-total'], {\n        size: formatBytes(LAST_SUMMARY.totalBytes),\n      }),\n    ];\n    if (LAST_SUMMARY.unsent.count === 1) {\n      lines.push(STRINGS['confirm-unsent-one']);\n    } else if (LAST_SUMMARY.unsent.count > 1) {\n      lines.push(\n        self.pwaStrings.interpolate(STRINGS['confirm-unsent-many'], {\n          n: LAST_SUMMARY.unsent.count,\n        }),\n      );\n    }\n    return lines;\n  }\n\n  window.pwaResetDataSummary = Object.freeze({\n    render: render,\n    confirmLines: confirmLines,\n  });\n\n  // Deferred scripts execute in DOCUMENT ORDER, and this one's <script>\n  // tag (inside the settings content block) appears BEFORE db.js's\n  // (declared in base.html, after the content block) \u2014 so calling\n  // render() eagerly here would race window.pwaDb into existence.\n  // DOMContentLoaded fires only once every deferred script, db.js\n  // included, has already run. Same reasoning as sync_log.js.\n  document.addEventListener('DOMContentLoaded', render);\n})();\n"],
  "mappings": "CAqCC,UAAY,CACX,aAEA,MAAMA,EAAU,0BAgBVC,EAAY,OAAO,WAAW,EAO9BC,EAAmB,IAAiB,EAY1C,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CACnC,EACK+C,EAAkBD,IAAchD,EAAY,KAAOgD,EAEzD,OAAO,OAAO,wBAAwB,UAAU,CAC9C,KAAML,EACN,WAAYC,EACZ,cAAeG,EACf,gBAAiBE,CACnB,CAAC,CACH,CAUA,eAAeC,GAAS,CACtB,MAAMlC,EAAO,SAAS,eAAejB,CAAO,EAC5C,GAAKiB,EAEL,IAAI,CAAC,OAAO,OAAS,CAAC,OAAO,wBAAyB,CACpDL,EAAe,KACfI,EAAkBC,EAAMN,EAAQ,WAAW,EAC3C,MACF,CAEA,GAAI,CACF,MAAMqB,EAAU,MAAMQ,EAAQ,EAC9B5B,EAAeoB,EACfD,EAAcd,EAAMe,CAAO,CAC7B,MAAe,CACbpB,EAAe,KACfI,EAAkBC,EAAMN,EAAQ,MAAM,CACxC,EACF,CAaA,SAASyC,GAAe,CACtB,GAAI,CAACxC,EAAc,MAAO,CAAC,EAC3B,MAAMyC,EAAQ,CACZ,KAAK,WAAW,YAAY1C,EAAQ,eAAe,EAAG,CACpD,KAAME,EAAYD,EAAa,UAAU,CAC3C,CAAC,CACH,EACA,OAAIA,EAAa,OAAO,QAAU,EAChCyC,EAAM,KAAK1C,EAAQ,oBAAoB,CAAC,EAC/BC,EAAa,OAAO,MAAQ,GACrCyC,EAAM,KACJ,KAAK,WAAW,YAAY1C,EAAQ,qBAAqB,EAAG,CAC1D,EAAGC,EAAa,OAAO,KACzB,CAAC,CACH,EAEKyC,CACT,CAEA,OAAO,oBAAsB,OAAO,OAAO,CACzC,OAAQF,EACR,aAAcC,CAChB,CAAC,EAQD,SAAS,iBAAiB,mBAAoBD,CAAM,CACtD,GAAG",
  "names": ["LIST_ID", "NO_ANSWER", "ORPHAN_BUDGET_MS", "bounded", "work", "resolve", "settled", "finish", "value", "timer", "promise", "STRINGS", "LAST_SUMMARY", "formatBytes", "bytes", "manage", "renderPlaceholder", "list", "text", "li", "buildCategory", "spec", "head", "label", "note", "buildMapList", "items", "ul", "item", "name", "size", "renderSummary", "summary", "maps", "unsentNote", "orphanMeasurer", "measure", "deadline", "areaId", "left", "collect", "download", "areasApi", "areas", "rows", "baseLayers", "area", "counted", "mutationCount", "estimated", "storageEstimate", "render", "confirmLines", "lines"]
}
