@hot-updater/console 1.2.0-rc.50 → 1.2.0-rc.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/BundleIdDisplay-CtbmyR7f.js +1 -0
  3. package/.output/public/assets/{FoldedRows-1NvB9gAS.js → FoldedRows-ClHLI-NM.js} +1 -1
  4. package/.output/public/assets/{IosInstall-BRuSakxm.js → IosInstall-1a_GRSNg.js} +1 -1
  5. package/.output/public/assets/{RelativeTime-m-FKh1Jb.js → RelativeTime-BQErgQRj.js} +1 -1
  6. package/.output/public/assets/{TargetDisplay-Ctuz3qIp.js → TargetDisplay-D0dVdFCk.js} +1 -1
  7. package/.output/public/assets/{index-oTXLdUR-.js → index-B8BpJ73Y.js} +2 -2
  8. package/.output/public/assets/{insights-BL6Z8zFv.js → insights-BrdBpqda.js} +2 -2
  9. package/.output/public/assets/{insights-BMjBMtJU.js → insights-DsmTCDix.js} +2 -2
  10. package/.output/public/assets/{insights_.distribution-C4E-JuVI.js → insights_.distribution-BHmK7ufZ.js} +1 -1
  11. package/.output/public/assets/{insights_.distribution-Br_CW9s9.js → insights_.distribution-BNNw0whH.js} +2 -2
  12. package/.output/public/assets/native-builds-B6t0ZxKP.js +1 -0
  13. package/.output/public/assets/{native-builds-BC0sjxPC.js → native-builds-CgPSpNsA.js} +2 -2
  14. package/.output/public/assets/native-builds-TF9BhYrQ.js +1 -0
  15. package/.output/public/assets/{native-builds_._buildId-GPlkI_2m.js → native-builds_._buildId-2rPrtz9-.js} +2 -2
  16. package/.output/public/assets/native-builds_._buildId-BqUOY1Az.js +1 -0
  17. package/.output/public/assets/{native-builds_.devices-Cox001IR.js → native-builds_.devices-B9kLHngv.js} +2 -2
  18. package/.output/public/assets/{native-builds_.devices-DAW19hcQ.js → native-builds_.devices-COFYZcaA.js} +1 -1
  19. package/.output/public/assets/{routes-C7Pv3Cfg.js → routes-DMooqgLf.js} +1 -1
  20. package/.output/public/assets/{routes-JJGRGqsf.js → routes-Z2IGj8MK.js} +2 -2
  21. package/.output/server/{__23tanstack-start-server-fn-resolver-DY-niJR4.mjs → __23tanstack-start-server-fn-resolver-5-sH58Zz.mjs} +58 -58
  22. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  23. package/.output/server/_libs/_.mjs +1 -1
  24. package/.output/server/_ssr/BundleIdDisplay-BckrkdA8.mjs +26 -0
  25. package/.output/server/_ssr/{ChannelPicker-J5HfKxSS.mjs → ChannelPicker-D6t_05Qj.mjs} +4 -4
  26. package/.output/server/_ssr/{ConsoleFeatureUnavailable-C52o4oew.mjs → ConsoleFeatureUnavailable-DO9N_oMb.mjs} +6 -6
  27. package/.output/server/_ssr/{EventDetails-CDLSkVNA.mjs → EventDetails-eHJBruoj.mjs} +6 -6
  28. package/.output/server/_ssr/{FoldedRows-CrRYEVkd.mjs → FoldedRows-CVbAvnm9.mjs} +4 -4
  29. package/.output/server/_ssr/{HashValueDisplay-BrT2wgxk.mjs → HashValueDisplay-B8AYphB-.mjs} +2 -2
  30. package/.output/server/_ssr/{InsightsPageHeader-DVrudLMJ.mjs → InsightsPageHeader-BFzDTBgX.mjs} +6 -6
  31. package/.output/server/_ssr/{IosInstall-DcKlZU_q.mjs → IosInstall-BlvkrktH.mjs} +8 -8
  32. package/.output/server/_ssr/{NativeBuildsNav-BC1WIQ1W.mjs → NativeBuildsNav-AfTTpjkh.mjs} +3 -3
  33. package/.output/server/_ssr/{NotFoundPage-CEhZtcst.mjs → NotFoundPage-r-7WnJzQ.mjs} +2 -2
  34. package/.output/server/_ssr/{QrCode-Dj9BKV3l.mjs → QrCode-DEZJJw2v.mjs} +2 -2
  35. package/.output/server/_ssr/{RelativeTime-Dgbh4UPb.mjs → RelativeTime-D31YzeJa.mjs} +3 -3
  36. package/.output/server/_ssr/{RolloutPercentageBadge-BYEDUW1d.mjs → RolloutPercentageBadge-DGQCzLwL.mjs} +3 -3
  37. package/.output/server/_ssr/{RowReason-BweNBWkA.mjs → RowReason-XXsqcV8M.mjs} +3 -3
  38. package/.output/server/_ssr/{SandboxBadge-O8-kbXAw.mjs → SandboxBadge-Dsbfs84l.mjs} +2 -2
  39. package/.output/server/_ssr/{TargetDisplay-D3JAXwcF.mjs → TargetDisplay-Cnnda7gi.mjs} +3 -3
  40. package/.output/server/_ssr/{alert-dialog-CxEcyUb6.mjs → alert-dialog-CeW-6rPj.mjs} +1 -1
  41. package/.output/server/_ssr/{api-IIqxWeDx.mjs → api-BCfNV622.mjs} +4 -4
  42. package/.output/server/_ssr/{api-keys-wFak2vKN.mjs → api-keys-D41INr2x.mjs} +9 -9
  43. package/.output/server/_ssr/{api-keys-CYefExfc.mjs → api-keys-Pl9fE3ov.mjs} +2 -2
  44. package/.output/server/_ssr/{api-keys-rpc-qkGQ3Sp3.mjs → api-keys-rpc-Dc63Z5sL.mjs} +3 -3
  45. package/.output/server/_ssr/{api-rpc-3NKc545A.mjs → api-rpc-CBxVNmSb.mjs} +16 -16
  46. package/.output/server/_ssr/{auth-rpc-PCSJzNJf.mjs → auth-rpc-DUiSq0md.mjs} +4 -4
  47. package/.output/server/_ssr/{auth.server-NGj7G3bq.mjs → auth.server-COR78Byc.mjs} +532 -31
  48. package/.output/server/_ssr/{badge-CxSJ-pjU.mjs → badge-jJUdKmgf.mjs} +1 -1
  49. package/.output/server/_ssr/{card-BDXDcrk_.mjs → card-lbRho9mB.mjs} +1 -1
  50. package/.output/server/_ssr/{config.server-CwUGPk-F.mjs → config.server-C72Rcb2P.mjs} +3 -3
  51. package/.output/server/_ssr/{console-access-BOt-Xxd7.mjs → console-access-B6GCF0Pq.mjs} +2 -2
  52. package/.output/server/_ssr/{console-features-api-Dw_Tktev.mjs → console-features-api-GXe67Tju.mjs} +5 -5
  53. package/.output/server/_ssr/{console-features-rpc-D8VFHwYj.mjs → console-features-rpc-BB8bGBmb.mjs} +3 -3
  54. package/.output/server/_ssr/{databaseRows-BZMFl5QV.mjs → databaseRows-D6bc51Xq.mjs} +3 -2
  55. package/.output/server/_ssr/{dialog-CJ4zMagm.mjs → dialog-DLiITzNb.mjs} +1 -1
  56. package/.output/server/_ssr/{empty-DYy36pwa.mjs → empty-CRonI6yG.mjs} +2 -2
  57. package/.output/server/_ssr/{field-MI8oNc5n.mjs → field-CPlXgkpQ.mjs} +2 -2
  58. package/.output/server/_ssr/{getBundleChildren-CnOf4Frp.mjs → getBundleChildren-DDqsd1pL.mjs} +2 -2
  59. package/.output/server/_ssr/{input-group-Bf7wHa21.mjs → input-group-B0s6OlWV.mjs} +1 -1
  60. package/.output/server/_ssr/{insights-b3XeQlzF.mjs → insights-Bukk9Qg8.mjs} +52 -33
  61. package/.output/server/_ssr/{insights-CbGG5htV.mjs → insights-CVUqkV9I.mjs} +2 -2
  62. package/.output/server/_ssr/{insights-CKTR62Ox.mjs → insights-ToswhUey.mjs} +5 -5
  63. package/.output/server/_ssr/{insights-api-CqjIxe1A.mjs → insights-api-CA17vWZa.mjs} +3 -3
  64. package/.output/server/_ssr/{insights-failures-rpc-fmWHkLhL.mjs → insights-failures-rpc-DQ15P_rm.mjs} +4 -4
  65. package/.output/server/_ssr/{insights-recovery-rpc-BpwoS9XL.mjs → insights-recovery-rpc-CW4mfXig.mjs} +3 -3
  66. package/.output/server/_ssr/{insights-rpc-qwXzuBUQ.mjs → insights-rpc-C4Xpuj96.mjs} +3 -3
  67. package/.output/server/_ssr/{insights-search-B_8PizlM.mjs → insights-search-BULxEDkP.mjs} +2 -2
  68. package/.output/server/_ssr/{insights-usage-rpc-D8lgk1Sk.mjs → insights-usage-rpc-BJXlIwCd.mjs} +3 -3
  69. package/.output/server/_ssr/{insights-usage-rpc-Cbg82l2g.mjs → insights-usage-rpc-BO2bIBYf.mjs} +3 -3
  70. package/.output/server/_ssr/{insights_.distribution-Ed2vqrwP.mjs → insights_.distribution-DRI0VBdO.mjs} +5 -5
  71. package/.output/server/_ssr/{insights_.distribution--XTBM-oT.mjs → insights_.distribution-PeRcluc-.mjs} +14 -14
  72. package/.output/server/_ssr/{insights_.distribution-DTaKryjw.mjs → insights_.distribution-SGWggxSh.mjs} +2 -2
  73. package/.output/server/_ssr/{installations-Ce_9dNq0.mjs → installations-B2QcWG6B.mjs} +2 -2
  74. package/.output/server/_ssr/{installations-W8W7AYwn.mjs → installations-C692ehbS.mjs} +4 -4
  75. package/.output/server/_ssr/{installations-DyfuFp3L.mjs → installations-CJjMPoSX.mjs} +11 -11
  76. package/.output/server/_ssr/{ios-devices-rpc-5kZM1bgU.mjs → ios-devices-rpc-C0ksMG0_.mjs} +7 -7
  77. package/.output/server/_ssr/{iosDeviceCookie-BTfPOUhS.mjs → iosDeviceCookie-D32VPfkD.mjs} +3 -3
  78. package/.output/server/_ssr/{iosDeviceProfile-BAoo32s_.mjs → iosDeviceProfile-Ci_-qRZG.mjs} +3 -3
  79. package/.output/server/_ssr/{iosDevices-DuNmS3td.mjs → iosDevices-Bk-459x2.mjs} +3 -3
  80. package/.output/server/_ssr/{native-builds-1s5DIHa2.mjs → native-builds-2zov7e9h.mjs} +2 -2
  81. package/.output/server/_ssr/{native-builds-lEyKQemV.mjs → native-builds-C2xGyB-t.mjs} +19 -8
  82. package/.output/server/_ssr/{native-builds-DEyFHKDa.mjs → native-builds-D8wSoxxF.mjs} +21 -19
  83. package/.output/server/_ssr/{native-builds_._buildId-mJ8i0pL8.mjs → native-builds_._buildId-B3rk9gG4.mjs} +2 -2
  84. package/.output/server/_ssr/{native-builds_._buildId-ElCXKaXI.mjs → native-builds_._buildId-Do6W7jm2.mjs} +50 -40
  85. package/.output/server/_ssr/{native-builds_.devices-Dz8b48Fo.mjs → native-builds_.devices-KlAzG0Zy.mjs} +2 -2
  86. package/.output/server/_ssr/{native-builds_.devices-DNWZLCra.mjs → native-builds_.devices-lv3e5WXD.mjs} +17 -17
  87. package/.output/server/_ssr/{nativeBuildDownloadLink-D8Se_CCi.mjs → nativeBuildDownloadLink-C9WaekZx.mjs} +2 -2
  88. package/.output/server/_ssr/{nativeBuildInstall-DemC_4Zc.mjs → nativeBuildInstall-SCpQShAb.mjs} +5 -5
  89. package/.output/server/_ssr/{nativeBuilds-BFSeuC75.mjs → nativeBuilds-yTOa0vdF.mjs} +5 -5
  90. package/.output/server/_ssr/{release-adoption-rpc-1mKibOdV.mjs → release-adoption-rpc-CC35TIiN.mjs} +6 -6
  91. package/.output/server/_ssr/{releaseAdoption-DfEYq7I4.mjs → releaseAdoption-BNp2LKR5.mjs} +2 -1
  92. package/.output/server/_ssr/{releaseCatalogCompiler-CuL3ptgg.mjs → releaseCatalogCompiler-B7k_Eask.mjs} +90 -9
  93. package/.output/server/_ssr/{remote-config-q9fegj-G.mjs → remote-config-B3udiYoT.mjs} +2 -2
  94. package/.output/server/_ssr/{remote-config-D2Cohnwn.mjs → remote-config-Erbkr_jI.mjs} +2 -2
  95. package/.output/server/_ssr/{remote-config-rpc-6hfHFrO6.mjs → remote-config-rpc-BNwGDXiU.mjs} +3 -3
  96. package/.output/server/_ssr/{remote-config-C_HNYPZ_.mjs → remote-config-u5wKgmdI.mjs} +18 -18
  97. package/.output/server/_ssr/{router-DODxASKG.mjs → router-BdIR78Dg.mjs} +35 -35
  98. package/.output/server/_ssr/{routes-C-nYThl0.mjs → routes-DiZ2ak9R.mjs} +10 -10
  99. package/.output/server/_ssr/{routes-BJjTUNSe.mjs → routes-DsdrQwy2.mjs} +31 -27
  100. package/.output/server/_ssr/{schema-migration-rpc-C31JquTn.mjs → schema-migration-rpc-C1KyK4Vo.mjs} +3 -3
  101. package/.output/server/_ssr/{select-CjACvu9s.mjs → select-E27bwyIg.mjs} +1 -1
  102. package/.output/server/_ssr/{server-Dyw2qgSR.mjs → server-3Oa4eaU_.mjs} +3 -3
  103. package/.output/server/_ssr/{sidebar-DQkRAO_e.mjs → sidebar-Di_cdJt9.mjs} +2 -2
  104. package/.output/server/_ssr/ssr.mjs +1 -1
  105. package/.output/server/_ssr/{switch-DZJSRVl3.mjs → switch-BYzRl3rt.mjs} +2 -2
  106. package/.output/server/_ssr/{table-BA-6GQFs.mjs → table-BbpblfLX.mjs} +1 -1
  107. package/.output/server/_ssr/{tabs-CtB3PIts.mjs → tabs-CUBGKQ4v.mjs} +2 -2
  108. package/.output/server/{_tanstack-start-manifest_v-Bfv6fYk6.mjs → _tanstack-start-manifest_v-MJAIGQWT.mjs} +30 -30
  109. package/.output/server/index.mjs +177 -177
  110. package/package.json +7 -7
  111. package/src/components/BundleIdDisplay.tsx +30 -3
  112. package/src/components/features/insights/ComparedBundlesChart.tsx +1 -0
  113. package/src/components/features/insights/InsightsControls.tsx +28 -4
  114. package/src/components/features/insights/InsightsOverview.tsx +3 -1
  115. package/src/components/features/insights/ReleaseCombobox.tsx +7 -2
  116. package/src/components/features/insights/RollbackButton.tsx +1 -1
  117. package/src/components/features/native-builds/BuiltInBundleCard.tsx +3 -2
  118. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +9 -0
  119. package/src/components/features/native-builds/NativeBuildsTable.tsx +7 -4
  120. package/src/components/features/native-builds/ServedNowCard.tsx +6 -3
  121. package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -3
  122. package/src/lib/native-builds.ts +28 -20
  123. package/src/lib/release-adoption.ts +2 -0
  124. package/src/lib/server/releaseAdoption.ts +1 -0
  125. package/src/routes/index.tsx +5 -1
  126. package/.output/public/assets/BundleIdDisplay-C0X-k49t.js +0 -1
  127. package/.output/public/assets/native-builds-B0zJ4wjg.js +0 -1
  128. package/.output/public/assets/native-builds-B_pQ4D5H.js +0 -1
  129. package/.output/public/assets/native-builds_._buildId-CSyC7YAA.js +0 -1
  130. package/.output/server/_ssr/BundleIdDisplay-CGdSiouM.mjs +0 -13
@@ -1,7 +1,7 @@
1
1
  import { b as normalizeRolloutCohortCount, d as getNumericCohortValue, g as isCustomCohort, h as getRolledOutNumericCohorts, i as RELEASE_CATALOG_FALLBACK_POLICY, n as MAX_COMPILED_CATALOG_BYTES, y as normalizeCohortValue } from "./dist-CiOq3ygH.mjs";
2
2
  import { r as canonicalizeAppVersion, s as isUUIDv7 } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
3
3
  import { a as parseRange, n as compare, r as normalize } from "./version-CQ98ZBpL-zW2fpHOZ.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/releaseCatalogCompiler-CuL3ptgg.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/releaseCatalogCompiler-B7k_Eask.js
5
5
  var ReleaseCatalogCompilationError = class extends Error {
6
6
  code;
7
7
  constructor(code, message) {
@@ -89,7 +89,8 @@ function rangeToIntervals(range) {
89
89
  throw new ReleaseCatalogCompilationError("INVALID_TARGET_RANGE", `Invalid target app-version range: ${range}`);
90
90
  }
91
91
  }
92
- function releaseDescriptor(release) {
92
+ /** A release's descriptor; its label only when it has one and `labels`. */
93
+ function releaseDescriptor(release, labels) {
93
94
  return {
94
95
  releaseId: release.id,
95
96
  kind: release.kind,
@@ -97,7 +98,8 @@ function releaseDescriptor(release) {
97
98
  rolloutCohortCount: release.rolloutCohortCount,
98
99
  targetCohorts: [...new Set(release.targetCohorts)].sort(),
99
100
  shouldForceUpdate: release.shouldForceUpdate,
100
- message: release.message
101
+ message: release.message,
102
+ ...labels && typeof release.label === "number" ? { label: release.label } : {}
101
103
  };
102
104
  }
103
105
  function validateReleases(releases, strategy) {
@@ -304,17 +306,96 @@ function canonicalStringify(value) {
304
306
  const record = value;
305
307
  return `{${Object.keys(record).sort().map((key) => `${JSON.stringify(key)}:${canonicalStringify(record[key])}`).join(",")}}`;
306
308
  }
309
+ var BOUND_SHAPE = {
310
+ inclusive: null,
311
+ version: null
312
+ };
313
+ /**
314
+ * Every key this release's compiler writes in a catalog payload, where it
315
+ * writes it: the envelope's, a segment's and its bounds', and a release
316
+ * descriptor's. A key outside it was written by a later release.
317
+ */
318
+ var COMPILED_CATALOG_SHAPE = {
319
+ fallbackPolicy: null,
320
+ schemaVersion: null,
321
+ strategy: null,
322
+ releaseIndexes: null,
323
+ rollbackReleaseIndexes: null,
324
+ segments: {
325
+ lower: BOUND_SHAPE,
326
+ upper: BOUND_SHAPE,
327
+ releaseIndexes: null,
328
+ rollbackReleaseIndexes: null
329
+ },
330
+ releaseDescriptors: {
331
+ releaseId: null,
332
+ kind: null,
333
+ bundleId: null,
334
+ rolloutCohortCount: null,
335
+ targetCohorts: null,
336
+ shouldForceUpdate: null,
337
+ message: null,
338
+ label: null
339
+ }
340
+ };
341
+ /**
342
+ * A stored catalog payload as this release reads it: canonical, with the
343
+ * keys a later release added left out, and whether it had any, a later
344
+ * schema version included. Server core compares a catalog by the fields
345
+ * its compiler writes, and refuses to rewrite one a later release wrote,
346
+ * which would drop what that release added.
347
+ */
348
+ function readCompiledCatalogPayload(payload) {
349
+ let fromLaterRelease = false;
350
+ const known = (value, shape) => {
351
+ if (Array.isArray(value)) return value.map((item) => known(item, shape));
352
+ if (value === null || typeof value !== "object") return value;
353
+ const entries = Object.entries(value).filter(([key]) => {
354
+ if (Object.hasOwn(shape, key)) return true;
355
+ fromLaterRelease = true;
356
+ return false;
357
+ });
358
+ return Object.fromEntries(entries.map(([key, entry]) => {
359
+ const inner = shape[key];
360
+ return [key, inner === null ? entry : known(entry, inner)];
361
+ }));
362
+ };
363
+ let parsed;
364
+ try {
365
+ parsed = JSON.parse(payload);
366
+ } catch {
367
+ parsed = null;
368
+ }
369
+ if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) return {
370
+ canonicalPayload: payload,
371
+ fromLaterRelease: false
372
+ };
373
+ if ("schemaVersion" in parsed && typeof parsed.schemaVersion === "number" && parsed.schemaVersion > 1) fromLaterRelease = true;
374
+ return {
375
+ canonicalPayload: canonicalStringify(known(parsed, COMPILED_CATALOG_SHAPE)),
376
+ fromLaterRelease
377
+ };
378
+ }
307
379
  async function compileReleaseCatalog(input) {
308
380
  const releases = validateReleases(input.releases, input.strategy);
309
381
  const targetCohorts = new Set(releases.flatMap((release) => release.targetCohorts));
310
382
  if (targetCohorts.size > 512) throw new ReleaseCatalogCompilationError("DISTINCT_TARGET_COHORT_LIMIT", `Scope exceeds 512 distinct target cohorts`);
311
383
  const { envelope, retainedReleases } = input.strategy === "APP_VERSION" ? compileAppVersion(releases) : compileFingerprint(releases);
312
- const payload = {
313
- ...envelope,
314
- releaseDescriptors: retainedReleases.map(releaseDescriptor)
384
+ const compile = (labels) => {
385
+ const payload = {
386
+ ...envelope,
387
+ releaseDescriptors: retainedReleases.map((release) => releaseDescriptor(release, labels))
388
+ };
389
+ const canonicalPayload = canonicalStringify(payload);
390
+ return {
391
+ payload,
392
+ canonicalPayload,
393
+ byteSize: new TextEncoder().encode(canonicalPayload).byteLength
394
+ };
315
395
  };
316
- const canonicalPayload = canonicalStringify(payload);
317
- const byteSize = new TextEncoder().encode(canonicalPayload).byteLength;
396
+ let compiled = compile(true);
397
+ if (compiled.byteSize > 262144 && retainedReleases.some((release) => typeof release.label === "number")) compiled = compile(false);
398
+ const { payload, canonicalPayload, byteSize } = compiled;
318
399
  if (byteSize > 262144) throw new ReleaseCatalogCompilationError("CATALOG_OVERSIZE", `Compiled Release catalog is ${byteSize} bytes; maximum is ${MAX_COMPILED_CATALOG_BYTES}`);
319
400
  return {
320
401
  byteSize,
@@ -362,4 +443,4 @@ function projectCompiledRollbackCatalog(catalog, appVersion) {
362
443
  return indexes.map((index) => catalog.releaseDescriptors[index]);
363
444
  }
364
445
  //#endregion
365
- export { projectCompiledRollbackCatalog as i, compileReleaseCatalog as n, projectCompiledCatalog as r, ReleaseCatalogCompilationError as t };
446
+ export { readCompiledCatalogPayload as a, projectCompiledRollbackCatalog as i, compileReleaseCatalog as n, projectCompiledCatalog as r, ReleaseCatalogCompilationError as t };
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-C52o4oew.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-q9fegj-G.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DO9N_oMb.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-B3udiYoT.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,6 +1,6 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { n as Route, t as RemoteConfigPage } from "./remote-config-C_HNYPZ_.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-D2Cohnwn.js
2
+ import { n as Route, t as RemoteConfigPage } from "./remote-config-u5wKgmdI.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-Erbkr_jI.js
4
4
  var import_jsx_runtime = require_jsx_runtime();
5
5
  function RemoteConfigRoute() {
6
6
  const { tab = "parameters" } = Route.useSearch();
@@ -1,10 +1,10 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
2
+ import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-6hfHFrO6.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-rpc-BNwGDXiU.js
5
5
  /** Remote Config, once the console's access check and the feature guard pass. */
6
6
  var remoteConfig = async () => {
7
- const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-CwUGPk-F.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
7
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-C72Rcb2P.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
8
8
  const { runtime } = await prepareConfig();
9
9
  return requireFeature(runtime, "remoteConfig");
10
10
  };
@@ -1,29 +1,29 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
+ import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
3
4
  import { Et as require_react, Tt as require_jsx_runtime, n as Toggle, t as ToggleGroup } from "../_libs/@base-ui/react+[...].mjs";
4
5
  import { D as LoaderCircle, H as Clipboard, L as Eye, N as GitBranch, _ as RefreshCw, a as Trash2, d as SlidersHorizontal, g as RotateCcw, i as TriangleAlert, it as ArrowRight, j as History, m as Search, n as Upload, nt as ArrowUp, r as Undo2, st as ArrowDown, t as X, tt as Braces, u as Smartphone, v as Plus, y as Pencil } from "../_libs/lucide-react.mjs";
5
6
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
6
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-DQkRAO_e.mjs";
7
- import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
8
- import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
7
+ import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, k as cn, n as Input, t as Button$1 } from "./sidebar-Di_cdJt9.mjs";
8
+ import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-lbRho9mB.mjs";
9
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jJUdKmgf.mjs";
10
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-CPlXgkpQ.mjs";
11
+ import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-CeW-6rPj.mjs";
12
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DLiITzNb.mjs";
9
13
  import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
10
14
  import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
11
- import { r as requireConsoleFeature } from "./console-features-api-Dw_Tktev.mjs";
12
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DYy36pwa.mjs";
13
- import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-BDXDcrk_.mjs";
14
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-CxSJ-pjU.mjs";
15
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, o as FieldLegend, r as FieldError, s as FieldSet, t as Field } from "./field-MI8oNc5n.mjs";
16
- import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-CxEcyUb6.mjs";
17
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-CJ4zMagm.mjs";
18
15
  import { n as toast } from "../_libs/sonner.mjs";
19
- import { i as useChannelsQuery } from "./api-IIqxWeDx.mjs";
20
- import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-CtB3PIts.mjs";
16
+ import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
17
+ import { r as requireConsoleFeature } from "./console-features-api-GXe67Tju.mjs";
18
+ import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CRonI6yG.mjs";
19
+ import { i as useChannelsQuery } from "./api-BCfNV622.mjs";
20
+ import { i as TabsTrigger, n as TabsContent, r as TabsList, t as Tabs$1 } from "./tabs-CUBGKQ4v.mjs";
21
21
  import { t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
22
- import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-CjACvu9s.mjs";
23
- import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-Bf7wHa21.mjs";
22
+ import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-E27bwyIg.mjs";
23
+ import { i as InputGroupInput, n as InputGroupAddon, o as Textarea, r as InputGroupButton, t as InputGroup } from "./input-group-B0s6OlWV.mjs";
24
24
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
25
- import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-DZJSRVl3.mjs";
26
- //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-C_HNYPZ_.js
25
+ import { n as useDialogTarget, r as useOpenSession, t as Switch$1 } from "./switch-BYzRl3rt.mjs";
26
+ //#region node_modules/.nitro/vite/services/ssr/assets/remote-config-u5wKgmdI.js
27
27
  var import_react = /* @__PURE__ */ __toESM(require_react());
28
28
  var import_jsx_runtime = require_jsx_runtime();
29
29
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -2639,8 +2639,8 @@ function RemoteConfigPage({ tab, onTabChange }) {
2639
2639
  ]
2640
2640
  });
2641
2641
  }
2642
- var $$splitComponentImporter = () => import("./remote-config-D2Cohnwn.mjs");
2643
- var $$splitNotFoundComponentImporter = () => import("./remote-config-q9fegj-G.mjs");
2642
+ var $$splitComponentImporter = () => import("./remote-config-Erbkr_jI.mjs");
2643
+ var $$splitNotFoundComponentImporter = () => import("./remote-config-B3udiYoT.mjs");
2644
2644
  var Route = createFileRoute("/remote-config")({
2645
2645
  beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "remoteConfig"),
2646
2646
  notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
@@ -1,29 +1,29 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
+ import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
3
4
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
5
  import { A as Info, C as OctagonX, D as LoaderCircle, E as LogOut, K as CircleCheck, M as HardDrive, V as Copy, c as Sun, h as RotateCw, i as TriangleAlert, rt as ArrowUpRight, w as Moon, x as Package } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, E as TooltipProvider, M as useSidebar, O as buttonVariants, S as SidebarTrigger, _ as SidebarInset, b as SidebarMenuItem, d as SidebarContent, f as SidebarFooter, g as SidebarHeader, h as SidebarGroupLabel, m as SidebarGroupContent, p as SidebarGroup, t as Button$1, u as Sidebar, v as SidebarMenu, x as SidebarProvider, y as SidebarMenuButton } from "./sidebar-DQkRAO_e.mjs";
6
- import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
7
- import { a as HeadContent, d as Outlet, f as lazyRouteComponent, h as Link, i as Scripts, m as createRootRouteWithContext, p as createFileRoute, s as useRouterState, u as createRouter } from "../_libs/@tanstack/react-router+[...].mjs";
6
+ import { A as createSsrRpc, E as TooltipProvider, M as useSidebar, O as buttonVariants, S as SidebarTrigger, _ as SidebarInset, b as SidebarMenuItem, d as SidebarContent, f as SidebarFooter, g as SidebarHeader, h as SidebarGroupLabel, m as SidebarGroupContent, p as SidebarGroup, t as Button$1, u as Sidebar, v as SidebarMenu, x as SidebarProvider, y as SidebarMenuButton } from "./sidebar-Di_cdJt9.mjs";
8
7
  import { i as useQuery, r as queryOptions, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
9
8
  import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
10
- import { r as requireConsoleFeature, t as consoleFeaturesQueryOptions } from "./console-features-api-Dw_Tktev.mjs";
11
- import { t as NotFoundPage } from "./NotFoundPage-CEhZtcst.mjs";
12
- import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-DYy36pwa.mjs";
13
9
  import { n as toast, t as Toaster } from "../_libs/sonner.mjs";
14
- import { d as consolePathFromRouter } from "./native-builds-lEyKQemV.mjs";
15
- import { t as Route$10 } from "./insights-CKTR62Ox.mjs";
16
- import { t as Route$11 } from "./insights_.distribution-Ed2vqrwP.mjs";
17
- import { n as Route$12 } from "./installations-W8W7AYwn.mjs";
18
- import { t as Route$13 } from "./native-builds-1s5DIHa2.mjs";
19
- import { a as isIosBrowser, r as forgetKeptIosDevice } from "./IosInstall-DcKlZU_q.mjs";
20
- import { t as Route$14 } from "./native-builds_._buildId-mJ8i0pL8.mjs";
21
- import { t as Route$15 } from "./native-builds_.devices-Dz8b48Fo.mjs";
22
- import { n as Route$16 } from "./remote-config-C_HNYPZ_.mjs";
23
- import { c as useFeatureUi, n as Route$17 } from "./routes-C-nYThl0.mjs";
10
+ import { a as HeadContent, d as Outlet, f as lazyRouteComponent, h as Link, i as Scripts, m as createRootRouteWithContext, p as createFileRoute, s as useRouterState, u as createRouter } from "../_libs/@tanstack/react-router+[...].mjs";
11
+ import { r as requireConsoleFeature, t as consoleFeaturesQueryOptions } from "./console-features-api-GXe67Tju.mjs";
12
+ import { t as NotFoundPage } from "./NotFoundPage-r-7WnJzQ.mjs";
13
+ import { i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-CRonI6yG.mjs";
14
+ import { d as consolePathFromRouter } from "./native-builds-C2xGyB-t.mjs";
15
+ import { t as Route$10 } from "./insights-ToswhUey.mjs";
16
+ import { t as Route$11 } from "./insights_.distribution-DRI0VBdO.mjs";
17
+ import { n as Route$12 } from "./installations-C692ehbS.mjs";
18
+ import { t as Route$13 } from "./native-builds-2zov7e9h.mjs";
19
+ import { a as isIosBrowser, r as forgetKeptIosDevice } from "./IosInstall-BlvkrktH.mjs";
20
+ import { t as Route$14 } from "./native-builds_._buildId-B3rk9gG4.mjs";
21
+ import { t as Route$15 } from "./native-builds_.devices-KlAzG0Zy.mjs";
22
+ import { n as Route$16 } from "./remote-config-u5wKgmdI.mjs";
23
+ import { c as useFeatureUi, n as Route$17 } from "./routes-DiZ2ak9R.mjs";
24
24
  import { t as setupRouterSsrQueryIntegration } from "../_libs/@tanstack/react-router-ssr-query+[...].mjs";
25
25
  import { t as z } from "../_libs/next-themes.mjs";
26
- //#region node_modules/.nitro/vite/services/ssr/assets/router-DODxASKG.js
26
+ //#region node_modules/.nitro/vite/services/ssr/assets/router-BdIR78Dg.js
27
27
  var import_react = /* @__PURE__ */ __toESM(require_react());
28
28
  var import_jsx_runtime = require_jsx_runtime();
29
29
  function HotUpdaterLogo({ className }) {
@@ -618,27 +618,27 @@ function AuthorizedConsole({ canSignOut }) {
618
618
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {})
619
619
  })] });
620
620
  }
621
- var $$splitComponentImporter = () => import("./api-keys-wFak2vKN.mjs");
622
- var $$splitNotFoundComponentImporter = () => import("./api-keys-CYefExfc.mjs");
621
+ var $$splitComponentImporter = () => import("./api-keys-D41INr2x.mjs");
622
+ var $$splitNotFoundComponentImporter = () => import("./api-keys-Pl9fE3ov.mjs");
623
623
  var Route$8 = createFileRoute("/api-keys")({
624
624
  beforeLoad: ({ context }) => requireConsoleFeature(context.queryClient, "apiKeys"),
625
625
  notFoundComponent: lazyRouteComponent($$splitNotFoundComponentImporter, "notFoundComponent"),
626
626
  component: lazyRouteComponent($$splitComponentImporter, "component")
627
627
  });
628
628
  var Route$7 = createFileRoute("/_hot-updater/devices/device-response")({ server: { handlers: { ANY: async ({ request }) => {
629
- const [{ receiveDeviceResponse }, { loadConsole }] = await Promise.all([import("./iosDeviceProfile-BAoo32s_.mjs"), import("./config.server-CwUGPk-F.mjs")]);
629
+ const [{ receiveDeviceResponse }, { loadConsole }] = await Promise.all([import("./iosDeviceProfile-Ci_-qRZG.mjs"), import("./config.server-C72Rcb2P.mjs")]);
630
630
  return receiveDeviceResponse(request, async () => (await loadConsole(request)).core);
631
631
  } } } });
632
632
  var Route$6 = createFileRoute("/_hot-updater/devices/device.mobileconfig")({ server: { handlers: { ANY: async ({ request }) => {
633
- const { serveDeviceProfile } = await import("./iosDeviceProfile-BAoo32s_.mjs");
633
+ const { serveDeviceProfile } = await import("./iosDeviceProfile-Ci_-qRZG.mjs");
634
634
  return serveDeviceProfile(request);
635
635
  } } } });
636
636
  var Route$5 = createFileRoute("/_hot-updater/devices/receipt")({ server: { handlers: { ANY: async ({ request }) => {
637
637
  const [cookie, { iosDeviceViewer }, { requireConsoleAccess }, config] = await Promise.all([
638
- import("./iosDeviceCookie-BTfPOUhS.mjs"),
639
- import("./iosDevices-DuNmS3td.mjs"),
640
- import("./auth.server-NGj7G3bq.mjs"),
641
- import("./config.server-CwUGPk-F.mjs")
638
+ import("./iosDeviceCookie-D32VPfkD.mjs"),
639
+ import("./iosDevices-Bk-459x2.mjs"),
640
+ import("./auth.server-COR78Byc.mjs"),
641
+ import("./config.server-C72Rcb2P.mjs")
642
642
  ]);
643
643
  const loaded = () => config.prepareConfig(request);
644
644
  return cookie.handleIosDeviceReceipt(request, {
@@ -648,10 +648,10 @@ var Route$5 = createFileRoute("/_hot-updater/devices/receipt")({ server: { handl
648
648
  } } } });
649
649
  var Route$4 = createFileRoute("/_hot-updater/devices/request")({ server: { handlers: { ANY: async ({ request }) => {
650
650
  const [cookie, { iosDeviceViewer }, { requireConsoleAccess }, config] = await Promise.all([
651
- import("./iosDeviceCookie-BTfPOUhS.mjs"),
652
- import("./iosDevices-DuNmS3td.mjs"),
653
- import("./auth.server-NGj7G3bq.mjs"),
654
- import("./config.server-CwUGPk-F.mjs")
651
+ import("./iosDeviceCookie-D32VPfkD.mjs"),
652
+ import("./iosDevices-Bk-459x2.mjs"),
653
+ import("./auth.server-COR78Byc.mjs"),
654
+ import("./config.server-C72Rcb2P.mjs")
655
655
  ]);
656
656
  const loaded = () => config.prepareConfig(request);
657
657
  return cookie.handleIosDeviceRequest(request, {
@@ -660,7 +660,7 @@ var Route$4 = createFileRoute("/_hot-updater/devices/request")({ server: { handl
660
660
  });
661
661
  } } } });
662
662
  var handleAuthRequest = async ({ request }) => {
663
- const { handleConsoleAuth } = await import("./auth.server-NGj7G3bq.mjs");
663
+ const { handleConsoleAuth } = await import("./auth.server-COR78Byc.mjs");
664
664
  return handleConsoleAuth(request);
665
665
  };
666
666
  var Route$3 = createFileRoute("/api/auth/$")({ server: { handlers: {
@@ -668,11 +668,11 @@ var Route$3 = createFileRoute("/api/auth/$")({ server: { handlers: {
668
668
  POST: handleAuthRequest
669
669
  } } });
670
670
  var Route$2 = createFileRoute("/_hot-updater/native-builds/$buildId/manifest.plist")({ server: { handlers: { GET: async ({ params, request }) => {
671
- const [{ serveNativeBuildManifest }, { loadConsole }] = await Promise.all([import("./nativeBuildInstall-DemC_4Zc.mjs"), import("./config.server-CwUGPk-F.mjs")]);
671
+ const [{ serveNativeBuildManifest }, { loadConsole }] = await Promise.all([import("./nativeBuildInstall-SCpQShAb.mjs"), import("./config.server-C72Rcb2P.mjs")]);
672
672
  return serveNativeBuildManifest(request, params.buildId, () => loadConsole(request));
673
673
  } } } });
674
674
  var Route$1 = createFileRoute("/api/bundles/$bundleId/download")({ server: { handlers: { GET: async ({ params, request }) => {
675
- const { prepareConfig } = await import("./config.server-CwUGPk-F.mjs");
675
+ const { prepareConfig } = await import("./config.server-C72Rcb2P.mjs");
676
676
  const { downloadBundle } = await import("./downloadBundle-C1KOnpiF.mjs");
677
677
  const { core, storage } = await prepareConfig(request);
678
678
  return downloadBundle(params.bundleId, {
@@ -686,11 +686,11 @@ var Route$1 = createFileRoute("/api/bundles/$bundleId/download")({ server: { han
686
686
  */
687
687
  var isNavigation = (request) => request.headers.get("sec-fetch-mode") === "navigate" || (request.headers.get("accept") ?? "").includes("text/html");
688
688
  var Route = createFileRoute("/api/native-builds/$buildId/download")({ server: { handlers: { GET: async ({ params, request }) => {
689
- const { loadConsole, prepareConfig } = await import("./config.server-CwUGPk-F.mjs");
690
- const { downloadNativeBuild } = await import("./nativeBuilds-BFSeuC75.mjs").then((n) => n.r).then((n) => n.r);
689
+ const { loadConsole, prepareConfig } = await import("./config.server-C72Rcb2P.mjs");
690
+ const { downloadNativeBuild } = await import("./nativeBuilds-yTOa0vdF.mjs").then((n) => n.r).then((n) => n.r);
691
691
  const token = new URL(request.url).searchParams.get("t");
692
692
  if (token !== null) {
693
- const { refuseNativeBuildDownloadToken } = await import("./nativeBuildDownloadLink-D8Se_CCi.mjs");
693
+ const { refuseNativeBuildDownloadToken } = await import("./nativeBuildDownloadLink-C9WaekZx.mjs");
694
694
  return await refuseNativeBuildDownloadToken(request, params.buildId, token) ?? downloadNativeBuild(params.buildId, await loadConsole(request));
695
695
  }
696
696
  let deps;
@@ -1,19 +1,19 @@
1
- import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
2
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
+ import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
3
3
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
4
  import { $ as ChartNoAxesCombined, d as SlidersHorizontal, et as ChartLine, k as KeyRound } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, C as Skeleton, O as buttonVariants, k as cn, r as Separator$1 } from "./sidebar-DQkRAO_e.mjs";
6
- import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
7
- import { f as lazyRouteComponent, h as Link, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
5
+ import { A as createSsrRpc, C as Skeleton, O as buttonVariants, k as cn, r as Separator$1 } from "./sidebar-Di_cdJt9.mjs";
6
+ import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-lbRho9mB.mjs";
8
7
  import { i as useQuery } from "../_libs/tanstack__react-query.mjs";
9
- import { a as useConsoleFeatures, i as useConsoleFeature } from "./console-features-api-Dw_Tktev.mjs";
10
- import { a as CardHeader, i as CardFooter, n as CardContent, o as CardTitle, t as Card } from "./card-BDXDcrk_.mjs";
8
+ import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
9
+ import { f as lazyRouteComponent, h as Link, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
10
+ import { a as useConsoleFeatures, i as useConsoleFeature } from "./console-features-api-GXe67Tju.mjs";
11
11
  import { n as readRecoveryInput } from "./insights-recovery-Cdg3Msrj.mjs";
12
12
  import { i as failureRate, s as formatRate } from "./insights-failures-DGO2_3Vx.mjs";
13
- import { n as adoptionWindow, t as InfoTooltip } from "./insights-search-B_8PizlM.mjs";
14
- import { u as useUpdateFailuresQuery } from "./insights-api-CqjIxe1A.mjs";
13
+ import { n as adoptionWindow, t as InfoTooltip } from "./insights-search-BULxEDkP.mjs";
14
+ import { u as useUpdateFailuresQuery } from "./insights-api-CA17vWZa.mjs";
15
15
  import { r as DEFAULT_CHANNEL } from "./constants-D-2jpCiJ.mjs";
16
- //#region node_modules/.nitro/vite/services/ssr/assets/routes-C-nYThl0.js
16
+ //#region node_modules/.nitro/vite/services/ssr/assets/routes-DiZ2ak9R.js
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  /** What API key management adds: its navigation item. */
19
19
  var apiKeysFeatureUi = { apiKeys: { navigation: {
@@ -430,7 +430,7 @@ function showsDefaultReleases(search, channels) {
430
430
  const opening = resolveReleaseSearch({}, channels);
431
431
  return view === void 0 || opening === void 0 || JSON.stringify(releaseFilterOf(view)) === JSON.stringify(releaseFilterOf(opening));
432
432
  }
433
- var $$splitComponentImporter = () => import("./routes-BJjTUNSe.mjs");
433
+ var $$splitComponentImporter = () => import("./routes-DsdrQwy2.mjs");
434
434
  /** The list while its channel is unknown: loading, whatever the cache holds. */
435
435
  /** A fold of unreachable bundles: "1 unreachable bundle", "2 …". */
436
436
  var Route = createFileRoute("/")({
@@ -1,35 +1,35 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, a as SliderIndicator, c as SliderControl, l as SliderRoot, o as SliderThumb, s as SliderTrack } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { B as Download, D as LoaderCircle, G as CircleOff, O as List, P as Funnel, Q as Check, R as ExternalLink, T as Minus, Y as ChevronRight, Z as ChevronDown, _ as RefreshCw, a as Trash2, g as RotateCcw, i as TriangleAlert, it as ArrowRight, o as Tags, rt as ArrowUpRight, s as Tag, t as X, v as Plus, x as Package } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-DQkRAO_e.mjs";
5
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-BDXDcrk_.mjs";
7
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-CxSJ-pjU.mjs";
8
- import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-MI8oNc5n.mjs";
9
- import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-CxEcyUb6.mjs";
10
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-CJ4zMagm.mjs";
11
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BA-6GQFs.mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, a as SheetContent, c as SheetTitle, i as Sheet, j as useIsMobile, k as cn, n as Input, o as SheetDescription, r as Separator$1, s as SheetHeader, t as Button$1 } from "./sidebar-Di_cdJt9.mjs";
5
+ import { a as CardHeader, n as CardContent, o as CardTitle, r as CardDescription, t as Card } from "./card-lbRho9mB.mjs";
6
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jJUdKmgf.mjs";
7
+ import { a as FieldLabel, c as Label, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CPlXgkpQ.mjs";
8
+ import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-CeW-6rPj.mjs";
9
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, s as DialogTrigger, t as Dialog$1 } from "./dialog-DLiITzNb.mjs";
10
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BbpblfLX.mjs";
12
11
  import { n as toast } from "../_libs/sonner.mjs";
12
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
13
13
  import { b as normalizeRolloutCohortCount, f as getPatchBaseBundleId, m as getPatchFileHash, p as getPatchBaseFileHash, r as NUMERIC_COHORT_SIZE, t as INVALID_COHORT_ERROR_MESSAGE, u as getNumericCohortRolloutPosition, v as isValidCohort, y as normalizeCohortValue } from "./dist-CiOq3ygH.mjs";
14
- import { N as releaseNativeBuildScope, j as platformLabel, v as nativeBuildArtifacts } from "./native-builds-lEyKQemV.mjs";
14
+ import { M as platformLabel, P as releaseNativeBuildScope, v as nativeBuildArtifacts } from "./native-builds-C2xGyB-t.mjs";
15
15
  import { n as normalizeRange } from "../_libs/verkit.mjs";
16
- import { t as InfoTooltip } from "./insights-search-B_8PizlM.mjs";
17
- import { C as useReleasesQuery, S as useReleaseQuery, _ as usePreflightReleaseMutation, a as useConfigQuery, b as useReleaseFoldQuery, c as useDeleteReleaseMutation, i as useChannelsQuery, n as useBundleChildrenQuery, o as useCreateChannelMutation, r as useBundleQuery, s as useDeleteChannelMutation, t as useBundleChildCountsQuery, v as usePromoteReleaseMutation, w as useUpdateReleaseMutation, x as useReleaseNativeBuildQuery, y as useReleaseCatalogDiagnosticsQuery } from "./api-IIqxWeDx.mjs";
16
+ import { t as InfoTooltip } from "./insights-search-BULxEDkP.mjs";
17
+ import { C as useReleasesQuery, S as useReleaseQuery, _ as usePreflightReleaseMutation, a as useConfigQuery, b as useReleaseFoldQuery, c as useDeleteReleaseMutation, i as useChannelsQuery, n as useBundleChildrenQuery, o as useCreateChannelMutation, r as useBundleQuery, s as useDeleteChannelMutation, t as useBundleChildCountsQuery, v as usePromoteReleaseMutation, w as useUpdateReleaseMutation, x as useReleaseNativeBuildQuery, y as useReleaseCatalogDiagnosticsQuery } from "./api-BCfNV622.mjs";
18
18
  import { n as CONSOLE_GIT_URL_GUIDE_URL } from "./constants-D-2jpCiJ.mjs";
19
19
  import { n as PlatformLabel, t as PlatformIcon } from "./PlatformIcon-C22qEcwo.mjs";
20
- import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-CjACvu9s.mjs";
21
- import { t as BundleIdDisplay } from "./BundleIdDisplay-CGdSiouM.mjs";
22
- import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-Bf7wHa21.mjs";
23
- import { t as ChannelPicker } from "./ChannelPicker-J5HfKxSS.mjs";
24
- import { t as HashValueDisplay } from "./HashValueDisplay-BrT2wgxk.mjs";
25
- import { n as RowReason, t as ChannelBadge } from "./RowReason-BweNBWkA.mjs";
26
- import { a as DataTableBody, c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, l as DataTablePagination, n as DataCardSkeletons, o as DataTableEmpty, p as openOutsideControls, r as DataCardsEmpty, s as DataTableFrame, t as DataCard, u as DataTableRow } from "./RelativeTime-Dgbh4UPb.mjs";
27
- import { i as TargetDisplay, n as CopyableText } from "./TargetDisplay-D3JAXwcF.mjs";
28
- import { a as foldLabel, c as useOpenFolds, i as foldKey, n as DataTableFold, o as foldedTotal, r as FoldStatus, s as groupsOf, t as DataCardFold } from "./FoldedRows-CrRYEVkd.mjs";
29
- import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BYEDUW1d.mjs";
30
- import { n as useDialogTarget, t as Switch$1 } from "./switch-DZJSRVl3.mjs";
31
- import { a as resolveReleaseSearch, i as releaseFilterOf, l as useReleaseColumns, n as Route, o as showsDefaultReleases, r as hasReleaseFilters, s as updateReleaseFilters, t as ReleaseSections } from "./routes-C-nYThl0.mjs";
32
- //#region node_modules/.nitro/vite/services/ssr/assets/routes-BJjTUNSe.js
20
+ import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-E27bwyIg.mjs";
21
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-BckrkdA8.mjs";
22
+ import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as Textarea, t as InputGroup } from "./input-group-B0s6OlWV.mjs";
23
+ import { t as ChannelPicker } from "./ChannelPicker-D6t_05Qj.mjs";
24
+ import { t as HashValueDisplay } from "./HashValueDisplay-B8AYphB-.mjs";
25
+ import { n as RowReason, t as ChannelBadge } from "./RowReason-XXsqcV8M.mjs";
26
+ import { a as DataTableBody, c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, l as DataTablePagination, n as DataCardSkeletons, o as DataTableEmpty, p as openOutsideControls, r as DataCardsEmpty, s as DataTableFrame, t as DataCard, u as DataTableRow } from "./RelativeTime-D31YzeJa.mjs";
27
+ import { i as TargetDisplay, n as CopyableText } from "./TargetDisplay-Cnnda7gi.mjs";
28
+ import { a as foldLabel, c as useOpenFolds, i as foldKey, n as DataTableFold, o as foldedTotal, r as FoldStatus, s as groupsOf, t as DataCardFold } from "./FoldedRows-CVbAvnm9.mjs";
29
+ import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-DGQCzLwL.mjs";
30
+ import { n as useDialogTarget, t as Switch$1 } from "./switch-BYzRl3rt.mjs";
31
+ import { a as resolveReleaseSearch, i as releaseFilterOf, l as useReleaseColumns, n as Route, o as showsDefaultReleases, r as hasReleaseFilters, s as updateReleaseFilters, t as ReleaseSections } from "./routes-DiZ2ak9R.mjs";
32
+ //#region node_modules/.nitro/vite/services/ssr/assets/routes-DsdrQwy2.js
33
33
  var import_react = /* @__PURE__ */ __toESM(require_react());
34
34
  var import_jsx_runtime = require_jsx_runtime();
35
35
  function EnabledStatusIcon({ enabled, className, falseIcon = "x", colorMode = "semantic" }) {
@@ -903,6 +903,7 @@ function ReleaseEditorSheet({ channels, onOpenChange, onShowScope, open, release
903
903
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleIdDisplay, {
904
904
  bundleId: release.id,
905
905
  fullOnMobile: true,
906
+ label: release.label,
906
907
  maxLength: 18
907
908
  }), !release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
908
909
  className: "text-xs text-foreground",
@@ -1350,14 +1351,16 @@ function ReleaseEditorSheet({ channels, onOpenChange, onShowScope, open, release
1350
1351
  onClick: async () => {
1351
1352
  if (!release) return;
1352
1353
  try {
1353
- await promote.mutateAsync({
1354
+ const promoted = await promote.mutateAsync({
1354
1355
  action: promoteAction,
1355
1356
  expectedRevision: release.revision,
1356
1357
  releaseId: release.id,
1357
1358
  targetChannel: normalizedTargetChannel
1358
1359
  });
1359
1360
  handlePromoteOpenChange(false);
1360
- toast.success(isCopyPromotion ? `Bundle copied to ${normalizedTargetChannel}` : `Bundle moved to ${normalizedTargetChannel}`);
1361
+ const label = promoted.target.release?.label;
1362
+ const as = typeof label === "number" ? ` as v${label}` : "";
1363
+ toast.success(isCopyPromotion ? `Bundle copied to ${normalizedTargetChannel}${as}` : `Bundle moved to ${normalizedTargetChannel}${as}`);
1361
1364
  } catch (caught) {
1362
1365
  toast.error(caught instanceof Error ? caught.message : "Bundle could not be promoted.");
1363
1366
  }
@@ -1548,7 +1551,8 @@ function BundleEntry({ expanded, onOpen, onToggleExpand, release }) {
1548
1551
  type: "button",
1549
1552
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BundleIdDisplay, {
1550
1553
  bundleId: release.id,
1551
- fullOnMobile: true
1554
+ fullOnMobile: true,
1555
+ label: release.label
1552
1556
  }), !release.bundle_id ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
1553
1557
  className: "inline-flex items-center gap-1.5 text-sm",
1554
1558
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RotateCcw, { className: "size-3.5" }), " Built-in bundle"]
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-BOt-Xxd7.mjs";
2
+ import { t as consoleAccess } from "./console-access-B6GCF0Pq.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/schema-migration-rpc-C31JquTn.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/schema-migration-rpc-C1KyK4Vo.js
5
5
  /** Compares dotted numeric versions, such as "1" and "1.2.0"; NaN when either is not one. */
6
6
  var compareVersions = (left, right) => {
7
7
  const parse = (version) => version.split(".").map(Number);
@@ -52,7 +52,7 @@ var getSchemaMigrationRpc_createServerFn_handler = createServerRpc({
52
52
  filename: "src/lib/schema-migration-rpc.ts"
53
53
  }, (opts) => getSchemaMigrationRpc.__executeServer(opts));
54
54
  var getSchemaMigrationRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getSchemaMigrationRpc_createServerFn_handler, async () => {
55
- const { prepareConfig } = await import("./config.server-CwUGPk-F.mjs");
55
+ const { prepareConfig } = await import("./config.server-C72Rcb2P.mjs");
56
56
  const { config, core } = await prepareConfig();
57
57
  try {
58
58
  await core.ready();
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { B as SelectScrollDownArrow, Et as require_react, G as SelectPopup, H as SelectItemIndicator, J as SelectIcon, K as SelectPositioner, R as SelectGroup$1, Tt as require_jsx_runtime, U as SelectItem$1, V as SelectItemText, W as SelectList, X as SelectTrigger$1, Y as SelectValue$1, Z as SelectRoot, q as SelectPortal, z as SelectScrollUpArrow } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { J as ChevronUp, Q as Check, Z as ChevronDown } from "../_libs/lucide-react.mjs";
4
- import { j as useIsMobile, k as cn } from "./sidebar-DQkRAO_e.mjs";
4
+ import { j as useIsMobile, k as cn } from "./sidebar-Di_cdJt9.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  var Select$1 = SelectRoot;
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
2
  import { _ as runWithStartContext, a as TSS_SERVER_FUNCTION, b as splitSetCookieString, c as createNullProtoObject, d as getStartContext, f as getStartOptions, g as parseSetCookie, h as parse, i as TSS_FORMDATA_CONTEXT, m as mergeHeaders, n as MAX_FRAME_PAYLOAD_SIZE, o as X_TSS_RAW_RESPONSE, p as isRedirect, r as TSS_CONTENT_TYPE_FRAMED_VERSIONED, s as X_TSS_SERIALIZED, t as MAX_FRAMED_STREAMS, u as flattenMiddlewares, v as safeObjectMerge, y as serialize } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-DY-niJR4.mjs";
3
+ import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-5-sH58Zz.mjs";
4
4
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
5
5
  import { l as RouterProvider, n as renderRouterToString, r as defineHandlerCallback, t as renderRouterToStream } from "../_libs/@tanstack/react-router+[...].mjs";
6
6
  import { t as __exportAll } from "./rolldown-runtime-rSIU-vHC.mjs";
@@ -3879,7 +3879,7 @@ var HEADERS = { TSS_SHELL: "X-TSS_SHELL" };
3879
3879
  * the dev styles URL for route-scoped CSS collection.
3880
3880
  */
3881
3881
  async function getStartManifest(matchedRoutes) {
3882
- const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-Bfv6fYk6.mjs");
3882
+ const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-MJAIGQWT.mjs");
3883
3883
  const startManifest = tsrStartManifest();
3884
3884
  let routes = startManifest.routes;
3885
3885
  routes[rootRouteId];
@@ -6834,7 +6834,7 @@ var getBaseManifest = getProdBaseManifest;
6834
6834
  var createEarlyHintsForRequest = createEarlyHintsCollector;
6835
6835
  async function loadEntries() {
6836
6836
  const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
6837
- import("./router-DODxASKG.mjs"),
6837
+ import("./router-BdIR78Dg.mjs"),
6838
6838
  import("./start-BSkL2B6C.mjs"),
6839
6839
  import("./empty-plugin-adapters-BYBYBaxo.mjs")
6840
6840
  ]);
@@ -1,11 +1,11 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { a as TSS_SERVER_FUNCTION } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-DY-niJR4.mjs";
3
+ import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-5-sH58Zz.mjs";
4
4
  import { Ct as Button, Et as require_react, Tt as require_jsx_runtime, _t as TooltipPositioner, at as DialogTitle, bt as TooltipRoot, ct as DialogPopup, dt as DialogBackdrop, ft as useRender, gt as TooltipPopup, ht as TooltipArrow, it as DialogTrigger, lt as DialogDescription, mt as TooltipProvider$1, ot as DialogRoot, pt as Separator, st as DialogPortal, ut as DialogClose, vt as TooltipPortal, wt as mergeProps, yt as TooltipTrigger$1 } from "../_libs/@base-ui/react+[...].mjs";
5
5
  import { b as PanelLeft, t as X } from "../_libs/lucide-react.mjs";
6
6
  import { n as clsx, t as cva } from "../_libs/class-variance-authority+clsx.mjs";
7
7
  import { t as twMerge } from "../_libs/tailwind-merge.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/sidebar-DQkRAO_e.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/sidebar-Di_cdJt9.js
9
9
  var import_react = /* @__PURE__ */ __toESM(require_react());
10
10
  var import_jsx_runtime = require_jsx_runtime();
11
11
  var createSsrRpc = (functionId) => {
@@ -1,4 +1,4 @@
1
- import { n as createStartHandler, r as defaultStreamHandler, t as createServerEntry$1 } from "./server-Dyw2qgSR.mjs";
1
+ import { n as createStartHandler, r as defaultStreamHandler, t as createServerEntry$1 } from "./server-3Oa4eaU_.mjs";
2
2
  //#region node_modules/.nitro/vite/services/ssr/index.js
3
3
  var fetch = createStartHandler(defaultStreamHandler);
4
4
  var createServerEntry = createServerEntry$1;
@@ -1,7 +1,7 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, i as SwitchRoot, r as SwitchThumb } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn } from "./sidebar-DQkRAO_e.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/switch-DZJSRVl3.js
3
+ import { k as cn } from "./sidebar-Di_cdJt9.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/switch-BYzRl3rt.js
5
5
  var import_react = /* @__PURE__ */ __toESM(require_react());
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  /**