@hot-updater/console 1.2.0-rc.32 → 1.2.0-rc.33

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 (124) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{CompositeItem-Ci-Dvjc7.js → CompositeItem-CyQoQkYs.js} +1 -1
  3. package/.output/public/assets/{EventDetails-DglqzK6l.js → EventDetails-DFWS-HcW.js} +1 -1
  4. package/.output/public/assets/{InsightsPageHeader-DLH1MntM.js → InsightsPageHeader-BATHTZWn.js} +1 -1
  5. package/.output/public/assets/IosInstall-DsKczesK.js +1 -0
  6. package/.output/public/assets/{NativeBuildsNav-BgeUSMqw.js → NativeBuildsNav-D3FIlSu0.js} +1 -1
  7. package/.output/public/assets/{api-keys-DL9HeC8e.js → api-keys-C_u_ZmPS.js} +1 -1
  8. package/.output/public/assets/{index-DZdzmvWS.js → index-BZVWufH3.js} +3 -3
  9. package/.output/public/assets/{insights-6d-iISFa.js → insights-Bm4Kua5R.js} +2 -2
  10. package/.output/public/assets/{insights-DotP9eJn.js → insights-CpnFoyo5.js} +2 -2
  11. package/.output/public/assets/{insights_.distribution-DATeWpQS.js → insights_.distribution-Bjo0aQE4.js} +1 -1
  12. package/.output/public/assets/{insights_.distribution-DYgsR7-7.js → insights_.distribution-Dd2mYz8D.js} +2 -2
  13. package/.output/public/assets/{installations-Lm8TxrcB.js → installations-DYT2mSjX.js} +2 -2
  14. package/.output/public/assets/{installations-Ds-MhfsQ.js → installations-iqDa8KPW.js} +1 -1
  15. package/.output/public/assets/native-builds-7sC78eTq.js +1 -0
  16. package/.output/public/assets/{native-builds-Bs_JroPG.js → native-builds-CXDwW54k.js} +2 -2
  17. package/.output/public/assets/{native-builds_._buildId-Bj24bG99.js → native-builds_._buildId-C7-yUwvH.js} +2 -2
  18. package/.output/public/assets/native-builds_._buildId-u5dG7ej5.js +1 -0
  19. package/.output/public/assets/native-builds_.devices-CQ_tB3SO.js +1 -0
  20. package/.output/public/assets/{native-builds_.devices-o6LsPF9Y.js → native-builds_.devices-C_YZoRxB.js} +2 -2
  21. package/.output/public/assets/{remote-config-g05054op.js → remote-config-BbiN7bGR.js} +3 -3
  22. package/.output/public/assets/{remote-config-Buy_12p7.js → remote-config-BhdrBpLM.js} +1 -1
  23. package/.output/public/assets/{routes-5mt1iab-.js → routes-C4MTDNA3.js} +2 -2
  24. package/.output/public/assets/routes-Cjjfwbs_.js +1 -0
  25. package/.output/public/assets/{styles-CN7c7MGr.css → styles-CQNxu86i.css} +1 -1
  26. package/.output/public/assets/{tabs-B95QcXeT.js → tabs-BBfg-c0h.js} +1 -1
  27. package/.output/server/{__23tanstack-start-server-fn-resolver-ET1Ypyyk.mjs → __23tanstack-start-server-fn-resolver-DBw1tYEH.mjs} +58 -58
  28. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  29. package/.output/server/_libs/_.mjs +1 -1
  30. package/.output/server/_ssr/{BundleIdDisplay-CpaKbEYb.mjs → BundleIdDisplay-DsNg19E8.mjs} +2 -2
  31. package/.output/server/_ssr/{ChannelBadge-dVXs-bYV.mjs → ChannelBadge-DWQcxohs.mjs} +3 -3
  32. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DWuWwY4L.mjs → ConsoleFeatureUnavailable-CfcFJ4k4.mjs} +6 -6
  33. package/.output/server/_ssr/{EventDetails-CcuGyU26.mjs → EventDetails-DJYShaIG.mjs} +6 -6
  34. package/.output/server/_ssr/{HashValueDisplay-ClkGq5_0.mjs → HashValueDisplay-B7FFJcIK.mjs} +2 -2
  35. package/.output/server/_ssr/{InsightsPageHeader-Bw6RVpdS.mjs → InsightsPageHeader-CaceslcD.mjs} +6 -6
  36. package/.output/server/_ssr/{IosInstall-DEceeAVT.mjs → IosInstall-gEVi9PFl.mjs} +57 -14
  37. package/.output/server/_ssr/{NativeBuildsNav-ChqRZH4E.mjs → NativeBuildsNav-DoB6DGO2.mjs} +3 -3
  38. package/.output/server/_ssr/{NotFoundPage-aZrAWo5n.mjs → NotFoundPage-Bu3yot-M.mjs} +2 -2
  39. package/.output/server/_ssr/{QrCode-pEaOdaRS.mjs → QrCode-DkmvYkKS.mjs} +2 -2
  40. package/.output/server/_ssr/{RelativeTime-CFIJbj_r.mjs → RelativeTime-Dg47Cmmt.mjs} +3 -3
  41. package/.output/server/_ssr/{RolloutPercentageBadge-BEqOJXly.mjs → RolloutPercentageBadge-CcEZuUxL.mjs} +3 -3
  42. package/.output/server/_ssr/{RowReason-DXbU_Nml.mjs → RowReason-CbKEYA9N.mjs} +4 -4
  43. package/.output/server/_ssr/{SandboxBadge-CP76AVxN.mjs → SandboxBadge-CuTOlGaF.mjs} +2 -2
  44. package/.output/server/_ssr/{TargetDisplay-csC-slf3.mjs → TargetDisplay-DkRZwhNW.mjs} +3 -3
  45. package/.output/server/_ssr/{alert-dialog-Dn5l3Bob.mjs → alert-dialog-Ckdomw6e.mjs} +1 -1
  46. package/.output/server/_ssr/{api-W0WerUfm.mjs → api-BIDpAoY0.mjs} +3 -3
  47. package/.output/server/_ssr/{api-keys-D7kmFdhY.mjs → api-keys-BStTPcTe.mjs} +10 -9
  48. package/.output/server/_ssr/{api-keys-Btu37Irf.mjs → api-keys-MdcfK9Zw.mjs} +2 -2
  49. package/.output/server/_ssr/{api-keys-rpc-9o4CyzUZ.mjs → api-keys-rpc-FwkHHfJL.mjs} +3 -3
  50. package/.output/server/_ssr/{api-rpc-B1HnUZMu.mjs → api-rpc-DI164kWO.mjs} +7 -7
  51. package/.output/server/_ssr/{auth-rpc-BBy2L4Ah.mjs → auth-rpc-DOONC4Xw.mjs} +4 -4
  52. package/.output/server/_ssr/{auth.server-ajvR-m99.mjs → auth.server-MkFb8t-c.mjs} +2 -2
  53. package/.output/server/_ssr/{badge-DlEpe8yC.mjs → badge-MGJQ5WNb.mjs} +1 -1
  54. package/.output/server/_ssr/{card-AK7Ms1Oa.mjs → card-st1F0w5g.mjs} +1 -1
  55. package/.output/server/_ssr/{config.server-DswyWSgG.mjs → config.server-A4yZxfTn.mjs} +3 -3
  56. package/.output/server/_ssr/{console-access-DM56j3dM.mjs → console-access-Cj95NxRZ.mjs} +2 -2
  57. package/.output/server/_ssr/{console-features-api-g5s9V5sz.mjs → console-features-api-WvvE114Q.mjs} +5 -5
  58. package/.output/server/_ssr/{console-features-rpc-Cnmhvmsk.mjs → console-features-rpc-DxhmScBd.mjs} +3 -3
  59. package/.output/server/_ssr/{dialog-0oBrR9Cj.mjs → dialog-jxN7lCij.mjs} +1 -1
  60. package/.output/server/_ssr/{empty-tasgkoU9.mjs → empty-Dfmlc-7_.mjs} +2 -2
  61. package/.output/server/_ssr/{field-phtuBLMh.mjs → field-BrPlhj0S.mjs} +2 -2
  62. package/.output/server/_ssr/{input-group-BTEoUANX.mjs → input-group-Ckaa4ML0.mjs} +1 -1
  63. package/.output/server/_ssr/{insights-BBzyKO95.mjs → insights-BX9okQmy.mjs} +2 -2
  64. package/.output/server/_ssr/{insights-D4le8l6s.mjs → insights-CmbOo4Er.mjs} +23 -23
  65. package/.output/server/_ssr/{insights-CPDtpuXg.mjs → insights-DHvN6knB.mjs} +5 -5
  66. package/.output/server/_ssr/{insights-api-D6J2HVtY.mjs → insights-api-t8rcSzVu.mjs} +3 -3
  67. package/.output/server/_ssr/{insights-failures-rpc-ChwlB9sg.mjs → insights-failures-rpc-DadwsaxJ.mjs} +4 -4
  68. package/.output/server/_ssr/{insights-recovery-rpc-B6_GT-_U.mjs → insights-recovery-rpc-BK-RELe9.mjs} +3 -3
  69. package/.output/server/_ssr/{insights-rpc-DG0GxsIL.mjs → insights-rpc-BmDuFOYA.mjs} +3 -3
  70. package/.output/server/_ssr/{insights-search-LKeSNr4M.mjs → insights-search-CQ0aMRHX.mjs} +2 -2
  71. package/.output/server/_ssr/{insights-usage-rpc-I0Eh5Z89.mjs → insights-usage-rpc-CkeNir2v.mjs} +3 -3
  72. package/.output/server/_ssr/{insights-usage-rpc-qnQWkNn2.mjs → insights-usage-rpc-JhBWMZfn.mjs} +3 -3
  73. package/.output/server/_ssr/{insights_.distribution-Dgv-_T7g.mjs → insights_.distribution-BtGiM-F8.mjs} +14 -14
  74. package/.output/server/_ssr/{insights_.distribution-D2dZwvqQ.mjs → insights_.distribution-CEldmJz1.mjs} +2 -2
  75. package/.output/server/_ssr/{insights_.distribution-BF99IaZu.mjs → insights_.distribution-DlBTOrjk.mjs} +5 -5
  76. package/.output/server/_ssr/{installations-DVTUpBGI.mjs → installations-3fgKUnRv.mjs} +11 -11
  77. package/.output/server/_ssr/{installations-BHjU8FUI.mjs → installations-DHbd6gfU.mjs} +2 -2
  78. package/.output/server/_ssr/{installations-C7TindNY.mjs → installations-oBJc0TH1.mjs} +4 -4
  79. package/.output/server/_ssr/{ios-devices-rpc-KtosHTCC.mjs → ios-devices-rpc-DjlS64L9.mjs} +7 -7
  80. package/.output/server/_ssr/{iosDeviceCookie-B-8c7lMJ.mjs → iosDeviceCookie-Ccxr1MR8.mjs} +3 -3
  81. package/.output/server/_ssr/{iosDeviceProfile-CIEuY_kV.mjs → iosDeviceProfile-nEW-zQnl.mjs} +2 -2
  82. package/.output/server/_ssr/{iosDevices-CkLgS8_U.mjs → iosDevices-gG7HCnCL.mjs} +2 -2
  83. package/.output/server/_ssr/{native-builds-3WEAnb93.mjs → native-builds-Be2Ga-eY.mjs} +15 -15
  84. package/.output/server/_ssr/{native-builds-B6rWkcHL.mjs → native-builds-mq_fr3k0.mjs} +2 -2
  85. package/.output/server/_ssr/{native-builds_._buildId-BaykQRJl.mjs → native-builds_._buildId-Cq-3MWHV.mjs} +2 -2
  86. package/.output/server/_ssr/{native-builds_._buildId-RFJXyul0.mjs → native-builds_._buildId-Du028raJ.mjs} +17 -17
  87. package/.output/server/_ssr/{native-builds_.devices-BzkeAX0K.mjs → native-builds_.devices-CWOFxrsg.mjs} +18 -20
  88. package/.output/server/_ssr/{native-builds_.devices-D9EGVV1N.mjs → native-builds_.devices-DVBT3gKp.mjs} +2 -2
  89. package/.output/server/_ssr/{nativeBuildDownloadLink-A1aWZBDw.mjs → nativeBuildDownloadLink-BXFMIxJ8.mjs} +2 -2
  90. package/.output/server/_ssr/{nativeBuildInstall-XzMDX9iY.mjs → nativeBuildInstall-CjG3sJmP.mjs} +3 -3
  91. package/.output/server/_ssr/{release-adoption-rpc-DoDlwfWB.mjs → release-adoption-rpc-BiUppdo3.mjs} +5 -5
  92. package/.output/server/_ssr/{remote-config-BMg2UurZ.mjs → remote-config-8SDPC3Ex.mjs} +2 -2
  93. package/.output/server/_ssr/{remote-config-u_T4AXyi.mjs → remote-config-CKjwym6Y.mjs} +2 -2
  94. package/.output/server/_ssr/{remote-config-6lhdA4DB.mjs → remote-config-MgYpLVNI.mjs} +18 -18
  95. package/.output/server/_ssr/{remote-config-rpc-Ddg8dyxw.mjs → remote-config-rpc-RoH5hIma.mjs} +3 -3
  96. package/.output/server/_ssr/{router-CovCAswJ.mjs → router-DaSGo-53.mjs} +34 -34
  97. package/.output/server/_ssr/{routes-CTUvEVa6.mjs → routes-2wXfjE3q.mjs} +23 -23
  98. package/.output/server/_ssr/{routes-DtkONaBi.mjs → routes-Y7SrNegl.mjs} +10 -10
  99. package/.output/server/_ssr/{schema-migration-rpc-DvmruDB6.mjs → schema-migration-rpc-C302GUdI.mjs} +3 -3
  100. package/.output/server/_ssr/{select-DJLTQgmc.mjs → select-DsWMUB9T.mjs} +1 -1
  101. package/.output/server/_ssr/{server-BfWxoIjf.mjs → server-Bx_Shfka.mjs} +3 -3
  102. package/.output/server/_ssr/{sidebar-Bsfqid7Q.mjs → sidebar-S1E-7aSS.mjs} +2 -2
  103. package/.output/server/_ssr/ssr.mjs +1 -1
  104. package/.output/server/_ssr/{switch-DckZkZBS.mjs → switch-DMCgvrFu.mjs} +2 -2
  105. package/.output/server/_ssr/{table-DG8aRQBO.mjs → table-BN3AmMyY.mjs} +1 -1
  106. package/.output/server/_ssr/{tabs-Dblh3lL2.mjs → tabs-D3tzMdsj.mjs} +3 -3
  107. package/.output/server/{_tanstack-start-manifest_v-CfDH9vVq.mjs → _tanstack-start-manifest_v-DcKFR9bk.mjs} +30 -30
  108. package/.output/server/index.mjs +251 -251
  109. package/package.json +7 -7
  110. package/src/components/features/api-keys/ApiKeysPage.tsx +3 -1
  111. package/src/components/features/insights/FailureReports.tsx +2 -2
  112. package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
  113. package/src/components/features/native-builds/BuiltInBundleCard.tsx +1 -1
  114. package/src/components/features/native-builds/IosDevicesPage.tsx +11 -4
  115. package/src/components/features/native-builds/IosInstall.tsx +36 -1
  116. package/src/components/features/native-builds/NativeBuildsTable.tsx +1 -1
  117. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
  118. package/src/components/ui/tabs.tsx +1 -1
  119. package/src/lib/ios-devices-api.ts +42 -5
  120. package/.output/public/assets/IosInstall-2R2o1IXd.js +0 -1
  121. package/.output/public/assets/native-builds-Chv-kXaS.js +0 -1
  122. package/.output/public/assets/native-builds_._buildId-Somk3u9R.js +0 -1
  123. package/.output/public/assets/native-builds_.devices-afOLyzux.js +0 -1
  124. package/.output/public/assets/routes-BxJfMpil.js +0 -1
@@ -1,18 +1,18 @@
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-Cj95NxRZ.mjs";
3
4
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
5
  import { D as LoaderCircle, _ as RefreshCw, i as TriangleAlert, p as Send, u as Smartphone } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, C as Skeleton, O as buttonVariants, n as Input, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
6
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
7
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
+ import { A as createSsrRpc, C as Skeleton, O as buttonVariants, n as Input, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
7
+ import { i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-MGJQ5WNb.mjs";
8
+ import { a as FieldLabel, n as FieldDescription, r as FieldError, t as Field } from "./field-BrPlhj0S.mjs";
8
9
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
9
10
  import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
10
- import { i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-DlEpe8yC.mjs";
11
- import { a as FieldLabel, n as FieldDescription, r as FieldError, t as Field } from "./field-phtuBLMh.mjs";
11
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
12
12
  import { N as releasePendingReceipt, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, d as consolePathOf, f as consolePathOfNativeBuildsPage, h as iosDeviceProfileUrl, i as IOS_DEVICE_RECEIPT_STORAGE_KEY, j as readPendingReceipt, m as holdPendingReceipt, o as IOS_UDID_PATTERN, s as IOS_UDID_STORAGE_KEY, w as nativeBuildItmsUrl } from "./native-builds-nRuXKypG.mjs";
13
- import { m as useNativeBuildInstallEligibilityQuery } from "./api-W0WerUfm.mjs";
13
+ import { m as useNativeBuildInstallEligibilityQuery } from "./api-BIDpAoY0.mjs";
14
14
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
15
- //#region node_modules/.nitro/vite/services/ssr/assets/IosInstall-DEceeAVT.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/IosInstall-gEVi9PFl.js
16
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -92,10 +92,9 @@ var iosDeviceKeys = {
92
92
  "device",
93
93
  udid
94
94
  ],
95
- kept: (udid, receipt) => [
95
+ kept: (receipt) => [
96
96
  "ios-devices",
97
97
  "kept",
98
- udid,
99
98
  receipt ?? ""
100
99
  ],
101
100
  ipa: (buildId) => ["native-build-ipa-devices", buildId]
@@ -179,6 +178,13 @@ var sendDeviceRoute = async (url, init = {}) => {
179
178
  if (!response.ok || body === null) throw new Error(body?.error ?? `Request failed (${response.status}).`);
180
179
  return body;
181
180
  };
181
+ /** Told when a trade sets the cookie, so a cached "no proof" is read again. */
182
+ var KEPT_EVENT = "hot-updater-ios-device-kept";
183
+ /**
184
+ * The same news for this Safari's other tabs, which share the cookie: a
185
+ * timestamp only, written where their `storage` event hears it.
186
+ */
187
+ var KEPT_PING_KEY = "hot-updater-ios-device-kept";
182
188
  /** Trades in flight or done, one per receipt: a failed one is forgotten. */
183
189
  var trades = /* @__PURE__ */ new Map();
184
190
  /**
@@ -197,6 +203,10 @@ var keepIosDeviceReceipt = (consolePath, receipt) => {
197
203
  json: { receipt }
198
204
  }).then((answer) => {
199
205
  releasePendingReceipt(receipt);
206
+ window.dispatchEvent(new Event(KEPT_EVENT));
207
+ try {
208
+ window.localStorage.setItem(KEPT_PING_KEY, String(Date.now()));
209
+ } catch {}
200
210
  return answer;
201
211
  }, (error) => {
202
212
  trades.delete(receipt);
@@ -211,10 +221,25 @@ var keepIosDeviceReceipt = (consolePath, receipt) => {
211
221
  * cookie, or null, read after the page's fresh receipt, if any, is traded for
212
222
  * it. Read on an iPhone only.
213
223
  */
214
- function useKeptIosDeviceQuery(consolePath, device, enabled) {
215
- const { receipt } = device;
224
+ function useKeptIosDeviceQuery(consolePath, receipt, enabled) {
225
+ const queryClient = useQueryClient();
226
+ (0, import_react.useEffect)(() => {
227
+ const onKept = () => void queryClient.invalidateQueries({
228
+ queryKey: iosDeviceKeys.kept(null),
229
+ exact: true
230
+ });
231
+ const onStorage = (event) => {
232
+ if (event.key === KEPT_PING_KEY) onKept();
233
+ };
234
+ window.addEventListener(KEPT_EVENT, onKept);
235
+ window.addEventListener("storage", onStorage);
236
+ return () => {
237
+ window.removeEventListener(KEPT_EVENT, onKept);
238
+ window.removeEventListener("storage", onStorage);
239
+ };
240
+ }, [queryClient]);
216
241
  return useQuery({
217
- queryKey: iosDeviceKeys.kept(device.udid ?? "", receipt),
242
+ queryKey: iosDeviceKeys.kept(receipt),
218
243
  queryFn: async () => {
219
244
  let failed = null;
220
245
  if (receipt !== null) await keepIosDeviceReceipt(consolePath, receipt).catch((error) => {
@@ -297,6 +322,21 @@ var keep = (key, value) => {
297
322
  * back to it already open. Read after the page mounts: the server
298
323
  * renders it without a browser. Null until then.
299
324
  */
325
+ /** Tells this page's `useIosDevice` that the ID it keeps was just written. */
326
+ var ADOPTED_EVENT = "hot-updater-ios-device-adopted";
327
+ /**
328
+ * Adopts the UDID this Safari's cookie names, when the page kept none: Safari
329
+ * wipes script storage after a week away while the 30-day HttpOnly cookie
330
+ * stays, and the cookie is the proof. Kept again, so every page knows it.
331
+ */
332
+ var useAdoptKeptIosDevice = (device, kept) => {
333
+ const adopt = device?.ios === true && device.udid === null && kept != null && IOS_UDID_PATTERN.test(kept) ? kept : null;
334
+ (0, import_react.useEffect)(() => {
335
+ if (adopt === null) return;
336
+ keep(IOS_UDID_STORAGE_KEY, adopt);
337
+ window.dispatchEvent(new Event(ADOPTED_EVENT));
338
+ }, [adopt]);
339
+ };
300
340
  var useIosDevice = () => {
301
341
  const [device, setDevice] = (0, import_react.useState)(null);
302
342
  const [passed] = (0, import_react.useState)(fragmentOf);
@@ -346,11 +386,13 @@ var useIosDevice = () => {
346
386
  read();
347
387
  };
348
388
  window.addEventListener("storage", onStorage);
389
+ window.addEventListener(ADOPTED_EVENT, read);
349
390
  window.addEventListener("hashchange", onReturn);
350
391
  window.addEventListener("pageshow", onReturn);
351
392
  document.addEventListener("visibilitychange", onReturn);
352
393
  return () => {
353
394
  window.removeEventListener("storage", onStorage);
395
+ window.removeEventListener(ADOPTED_EVENT, read);
354
396
  window.removeEventListener("hashchange", onReturn);
355
397
  window.removeEventListener("pageshow", onReturn);
356
398
  document.removeEventListener("visibilitychange", onReturn);
@@ -503,7 +545,7 @@ function AppleRefusal({ device, canApprove, onDevicesPage = false }) {
503
545
  function NotInThisBuild({ build, device, registry, newerBuild, canApprove, registryReadAt }) {
504
546
  const consolePath = consolePathOf(window.location, build.id);
505
547
  const request = useRequestThisIphoneMutation(consolePath);
506
- const kept = useKeptIosDeviceQuery(consolePath, device, device.ios && device.udid !== null && registry === null);
548
+ const kept = useKeptIosDeviceQuery(consolePath, device.receipt, device.ios && device.udid !== null && registry === null);
507
549
  const proved = device.receipt !== null || keptIsThisIphone(kept.data?.udid, device.udid);
508
550
  const [name, setName] = (0, import_react.useState)("");
509
551
  const [requested, setRequested] = (0, import_react.useState)(null);
@@ -621,6 +663,7 @@ function NotInThisBuild({ build, device, registry, newerBuild, canApprove, regis
621
663
  * asked: a device registered after this IPA was signed still isn't in it.
622
664
  */
623
665
  function IosInstall({ build, device }) {
666
+ useAdoptKeptIosDevice(device, useKeptIosDeviceQuery(consolePathOf(window.location, build.id), device.receipt, device.ios && device.udid === null).data?.udid);
624
667
  const { udid } = device;
625
668
  const eligibility = useNativeBuildInstallEligibilityQuery(build.id, udid);
626
669
  const { refetch } = eligibility;
@@ -705,4 +748,4 @@ function IosInstall({ build, device }) {
705
748
  });
706
749
  }
707
750
  //#endregion
708
- export { isIosBrowser as a, useIosDevice as c, useIosDevicesQuery as d, useKeptIosDeviceQuery as f, useRequestThisIphoneMutation as g, useRenameIosDeviceMutation as h, iosDeviceKeys as i, useIosDeviceProfileLinkQuery as l, useRemoveIosDeviceMutation as m, IosInstall as n, keptIsThisIphone as o, useNativeBuildIpaDevicesQuery as p, forgetKeptIosDevice as r, useApproveIosDeviceMutation as s, AppleRefusal as t, useIosDeviceQuery as u };
751
+ export { useRequestThisIphoneMutation as _, isIosBrowser as a, useApproveIosDeviceMutation as c, useIosDeviceQuery as d, useIosDevicesQuery as f, useRenameIosDeviceMutation as g, useRemoveIosDeviceMutation as h, iosDeviceKeys as i, useIosDevice as l, useNativeBuildIpaDevicesQuery as m, IosInstall as n, keptIsThisIphone as o, useKeptIosDeviceQuery as p, forgetKeptIosDevice as r, useAdoptKeptIosDevice as s, AppleRefusal as t, useIosDeviceProfileLinkQuery as u };
@@ -1,8 +1,8 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
2
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
3
3
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
4
- import { a as tabsListVariants } from "./tabs-Dblh3lL2.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-ChqRZH4E.js
4
+ import { a as tabsListVariants } from "./tabs-D3tzMdsj.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-DoB6DGO2.js
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  var TAB_CLASS = "relative inline-flex h-full min-h-11 items-center justify-center rounded-md border border-transparent px-3 text-xs font-medium whitespace-nowrap text-foreground/60 transition-colors hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-none aria-[current=page]:bg-background aria-[current=page]:text-foreground aria-[current=page]:shadow-sm dark:text-muted-foreground dark:hover:text-foreground dark:aria-[current=page]:border-input dark:aria-[current=page]:bg-input/30 dark:aria-[current=page]:text-foreground";
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { O as buttonVariants } from "./sidebar-Bsfqid7Q.mjs";
2
+ import { O as buttonVariants } from "./sidebar-S1E-7aSS.mjs";
3
3
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-aZrAWo5n.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-Bu3yot-M.js
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  var homeSearch = {
7
7
  afterReleaseId: void 0,
@@ -1,8 +1,8 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
3
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
4
4
  import { t as encode } from "../_libs/uqr.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/QrCode-pEaOdaRS.js
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/QrCode-DkmvYkKS.js
6
6
  var import_react = /* @__PURE__ */ __toESM(require_react());
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  /**
@@ -1,11 +1,11 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { J as ChevronLeft, q as ChevronRight } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
4
+ import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
5
+ import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BN3AmMyY.mjs";
5
6
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { a as TableHeader, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DG8aRQBO.mjs";
7
7
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-CFIJbj_r.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-Dg47Cmmt.js
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
11
11
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -1,11 +1,11 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { i as TriangleAlert } from "../_libs/lucide-react.mjs";
4
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
5
- import { a as Badge } from "./badge-DlEpe8yC.mjs";
4
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
5
+ import { a as Badge } from "./badge-MGJQ5WNb.mjs";
6
6
  import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
7
7
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-BEqOJXly.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-CcEZuUxL.js
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
11
11
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -1,10 +1,10 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { q as ChevronRight } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-Bsfqid7Q.mjs";
5
- import { o as TableRow, r as TableCell } from "./table-DG8aRQBO.mjs";
6
- import { a as DataTableBody } from "./RelativeTime-CFIJbj_r.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/RowReason-DXbU_Nml.js
4
+ import { C as Skeleton, D as TooltipTrigger, T as TooltipContent, t as Button$1, w as Tooltip$1 } from "./sidebar-S1E-7aSS.mjs";
5
+ import { o as TableRow, r as TableCell } from "./table-BN3AmMyY.mjs";
6
+ import { a as DataTableBody } from "./RelativeTime-Dg47Cmmt.mjs";
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/RowReason-CbKEYA9N.js
8
8
  var import_react = /* @__PURE__ */ __toESM(require_react());
9
9
  var import_jsx_runtime = require_jsx_runtime();
10
10
  /** A fold's key on its page: the row above it, which no other fold shares. */
@@ -1,9 +1,9 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { p as Send } from "../_libs/lucide-react.mjs";
4
- import { a as Badge } from "./badge-DlEpe8yC.mjs";
4
+ import { a as Badge } from "./badge-MGJQ5WNb.mjs";
5
5
  import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/SandboxBadge-CP76AVxN.js
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/SandboxBadge-CuTOlGaF.js
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
9
9
  var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
@@ -1,9 +1,9 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
2
  import { F as FingerprintPattern, V as Copy, k as KeyRound, x as Package } from "../_libs/lucide-react.mjs";
3
- import { t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
3
+ import { t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
4
4
  import { n as toast } from "../_libs/sonner.mjs";
5
- import { t as HashValueDisplay } from "./HashValueDisplay-ClkGq5_0.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-csC-slf3.js
5
+ import { t as HashValueDisplay } from "./HashValueDisplay-B7FFJcIK.mjs";
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-DkRZwhNW.js
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  /** A command or link on one line, with a button that copies it. */
9
9
  function CopyableText({ label, value, wrap = false }) {
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle, ct as DialogPopup, dt as DialogBackdrop, lt as DialogDescription, nt as AlertDialogTrigger$1, rt as AlertDialogRoot, st as DialogPortal, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
3
+ import { k as cn, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function AlertDialog$1({ ...props }) {
@@ -1,11 +1,11 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { A as createSsrRpc } from "./sidebar-Bsfqid7Q.mjs";
3
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
2
+ import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-S1E-7aSS.mjs";
4
4
  import { i as useQuery, n as useMutation, s as useQueryClient, t as useInfiniteQuery } from "../_libs/tanstack__react-query.mjs";
5
5
  import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
6
6
  import { l as channelIdOf } from "./native-builds-nRuXKypG.mjs";
7
7
  import { n as readReleaseFilter } from "./listReleases-QF91GLE7.mjs";
8
- //#region node_modules/.nitro/vite/services/ssr/assets/api-W0WerUfm.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-BIDpAoY0.js
9
9
  /** The bounds of a fold, checked: IDs as text. */
10
10
  var readFoldInput = (input) => {
11
11
  const text = (value) => typeof value === "string" && value !== "";
@@ -1,18 +1,18 @@
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-Cj95NxRZ.mjs";
3
4
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
5
  import { D as LoaderCircle, H as Clipboard, X as Check, _ as RefreshCw, f as ShieldOff, i as TriangleAlert, k as KeyRound, v as Plus } from "../_libs/lucide-react.mjs";
5
- import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
6
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
6
+ import { A as createSsrRpc, C as Skeleton, S as SidebarTrigger, n as Input, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
7
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-st1F0w5g.mjs";
8
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-MGJQ5WNb.mjs";
9
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BrPlhj0S.mjs";
10
+ import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-Ckdomw6e.mjs";
11
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-jxN7lCij.mjs";
12
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BN3AmMyY.mjs";
7
13
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
8
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-AK7Ms1Oa.mjs";
9
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-DlEpe8yC.mjs";
10
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-phtuBLMh.mjs";
11
- import { a as AlertDialogDescription, c as AlertDialogMedia, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1, u as AlertDialogTrigger } from "./alert-dialog-Dn5l3Bob.mjs";
12
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-0oBrR9Cj.mjs";
13
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DG8aRQBO.mjs";
14
14
  import { n as toast } from "../_libs/sonner.mjs";
15
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D7kmFdhY.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-BStTPcTe.js
16
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var parseName = (input) => {
@@ -171,6 +171,7 @@ function RevokeApiKeyDialog({ record }) {
171
171
  },
172
172
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogTrigger, {
173
173
  render: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
174
+ className: "max-md:h-11",
174
175
  size: "sm",
175
176
  variant: "ghost"
176
177
  }),
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DWuWwY4L.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Btu37Irf.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-CfcFJ4k4.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-MdcfK9Zw.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
2
+ import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-9o4CyzUZ.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-FwkHHfJL.js
5
5
  var parseName = (input) => {
6
6
  const name = typeof input === "object" && input !== null ? Reflect.get(input, "name") : void 0;
7
7
  if (typeof name !== "string") throw new TypeError("API key name must be a string.");
@@ -14,7 +14,7 @@ var parseId = (input) => {
14
14
  };
15
15
  /** API key management, once the console's access check and the feature guard pass. */
16
16
  var apiKeyManagement = async () => {
17
- const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-DswyWSgG.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-A4yZxfTn.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };
@@ -1,12 +1,12 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
2
+ import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
4
  import { i as rowToBundle } from "./databaseRows-BZMFl5QV.mjs";
5
5
  import { n as assertCanonicalChannelName } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
6
6
  import { t as ReleaseManagementError } from "./releaseManagement-CqIc-SDE.mjs";
7
7
  import { M as releaseNativeBuildScope, l as channelIdOf } from "./native-builds-nRuXKypG.mjs";
8
8
  import { n as readReleaseFilter, r as readReleaseFold, t as listReleaseFolds } from "./listReleases-QF91GLE7.mjs";
9
- //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-B1HnUZMu.js
9
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-rpc-DI164kWO.js
10
10
  var withPublicBundleMutationErrors = async (action) => {
11
11
  try {
12
12
  return await action();
@@ -26,7 +26,7 @@ var readFoldInput = (input) => {
26
26
  };
27
27
  };
28
28
  var prepare = async () => {
29
- const { prepareConfig } = await import("./config.server-DswyWSgG.mjs");
29
+ const { prepareConfig } = await import("./config.server-A4yZxfTn.mjs");
30
30
  return prepareConfig();
31
31
  };
32
32
  var getReleases_createServerFn_handler = createServerRpc({
@@ -297,7 +297,7 @@ var createNativeBuildDownloadLink_createServerFn_handler = createServerRpc({
297
297
  filename: "src/lib/api-rpc.ts"
298
298
  }, (opts) => createNativeBuildDownloadLink.__executeServer(opts));
299
299
  var createNativeBuildDownloadLink = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(createNativeBuildDownloadLink_createServerFn_handler, async ({ data }) => {
300
- const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-A1aWZBDw.mjs");
300
+ const { issueNativeBuildDownloadLink } = await import("./nativeBuildDownloadLink-BXFMIxJ8.mjs");
301
301
  return issueNativeBuildDownloadLink(data.id);
302
302
  });
303
303
  var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
@@ -306,12 +306,12 @@ var getNativeBuildInstallEligibility_createServerFn_handler = createServerRpc({
306
306
  filename: "src/lib/api-rpc.ts"
307
307
  }, (opts) => getNativeBuildInstallEligibility.__executeServer(opts));
308
308
  var getNativeBuildInstallEligibility = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => input).handler(getNativeBuildInstallEligibility_createServerFn_handler, async ({ data }) => {
309
- const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-XzMDX9iY.mjs")]);
309
+ const [deps, { checkNativeBuildInstall }] = await Promise.all([prepare(), import("./nativeBuildInstall-CjG3sJmP.mjs")]);
310
310
  return checkNativeBuildInstall(data.id, data.udid, deps, { canApprove: async () => {
311
311
  const [{ getRequest }, { requireConsoleAccess }, { iosDeviceViewer }] = await Promise.all([
312
312
  import("../_libs/_.mjs").then((n) => n.t),
313
- import("./auth.server-ajvR-m99.mjs"),
314
- import("./iosDevices-CkLgS8_U.mjs")
313
+ import("./auth.server-MkFb8t-c.mjs"),
314
+ import("./iosDevices-gG7HCnCL.mjs")
315
315
  ]);
316
316
  return (await iosDeviceViewer(await requireConsoleAccess(getRequest()), deps.config.deviceApprovers)).canApprove;
317
317
  } });
@@ -1,14 +1,14 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
2
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
3
- import { i as getRequest } from "./server-BfWxoIjf.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-BBy2L4Ah.js
3
+ import { i as getRequest } from "./server-Bx_Shfka.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth-rpc-DOONC4Xw.js
5
5
  var getConsoleAccessRpc_createServerFn_handler = createServerRpc({
6
6
  id: "c504696e68ba764b48c48aa8a40275938640941e473cf9cfdd7b2322d99f9d13",
7
7
  name: "getConsoleAccessRpc",
8
8
  filename: "src/lib/auth-rpc.ts"
9
9
  }, (opts) => getConsoleAccessRpc.__executeServer(opts));
10
10
  var getConsoleAccessRpc = createServerFn({ method: "GET" }).handler(getConsoleAccessRpc_createServerFn_handler, async () => {
11
- const { getConsoleAccess } = await import("./auth.server-ajvR-m99.mjs");
11
+ const { getConsoleAccess } = await import("./auth.server-MkFb8t-c.mjs");
12
12
  return getConsoleAccess(getRequest());
13
13
  });
14
14
  var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
@@ -17,7 +17,7 @@ var getConsoleAuthProvidersRpc_createServerFn_handler = createServerRpc({
17
17
  filename: "src/lib/auth-rpc.ts"
18
18
  }, (opts) => getConsoleAuthProvidersRpc.__executeServer(opts));
19
19
  var getConsoleAuthProvidersRpc = createServerFn({ method: "GET" }).handler(getConsoleAuthProvidersRpc_createServerFn_handler, async () => {
20
- const { getConsoleAuthProviders } = await import("./auth.server-ajvR-m99.mjs");
20
+ const { getConsoleAuthProviders } = await import("./auth.server-MkFb8t-c.mjs");
21
21
  return getConsoleAuthProviders(getRequest());
22
22
  });
23
23
  //#endregion
@@ -9,7 +9,7 @@ import { n as projectCompiledCatalog, r as projectCompiledRollbackCatalog, t as
9
9
  import { t as isRemoteDatabase } from "./databaseConfig-B56IJxlu.mjs";
10
10
  import { n as defineTable, t as defineAggregate } from "./schema-CaIuQCXb.mjs";
11
11
  import { r as rangesIntersect } from "../_libs/verkit.mjs";
12
- //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-ajvR-m99.js
12
+ //#region node_modules/.nitro/vite/services/ssr/assets/auth.server-MkFb8t-c.js
13
13
  var SHA256_FILE_HASH_RE = /^[0-9a-f]{64}$/;
14
14
  var isContentAddressedAssetFileHash = (value) => {
15
15
  return typeof value === "string" && SHA256_FILE_HASH_RE.test(value);
@@ -2954,7 +2954,7 @@ var createEngine = (database, { plugins = [], now = Date.now } = {}) => {
2954
2954
  flush: () => engine.flush()
2955
2955
  };
2956
2956
  };
2957
- var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.32";
2957
+ var HOT_UPDATER_SERVER_VERSION = "1.2.0-rc.33";
2958
2958
  /**
2959
2959
  * `/version` on both mounts. The admin mount also lists the ids of the
2960
2960
  * plugins the server runs, sorted; apps never learn which plugins a server
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, ft as useRender, wt as mergeProps } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
4
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
4
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  var alertVariants = cva("group/alert relative grid w-full gap-0.5 rounded-lg border px-2 py-1.5 text-left text-xs/relaxed has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-1.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-3.5", {
@@ -1,6 +1,6 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
3
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function Card({ className, ...props }) {
@@ -1,6 +1,6 @@
1
- import { i as getRequest } from "./server-BfWxoIjf.mjs";
2
- import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-ajvR-m99.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/config.server-DswyWSgG.js
1
+ import { i as getRequest } from "./server-Bx_Shfka.mjs";
2
+ import { requireConsoleAccess, t as resolveConsoleConfig } from "./auth.server-MkFb8t-c.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/config.server-A4yZxfTn.js
4
4
  var configPromise = null;
5
5
  var core = null;
6
6
  var runtime = null;
@@ -1,5 +1,5 @@
1
1
  import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/console-access-DM56j3dM.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-access-Cj95NxRZ.js
3
3
  /**
4
4
  * Refuses a caller the console does not authorize before a server function
5
5
  * reads its input. TanStack Start runs a function's middleware before the
@@ -9,7 +9,7 @@ import { t as createMiddleware } from "./createMiddleware-C3ACsfuG.mjs";
9
9
  * `console-access.spec.ts` checks that.
10
10
  */
11
11
  var consoleAccess = createMiddleware({ type: "function" }).server(async ({ next }) => {
12
- const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-ajvR-m99.mjs")]);
12
+ const [{ getRequest }, { requireConsoleAccess }] = await Promise.all([import("../_libs/_.mjs").then((n) => n.t), import("./auth.server-MkFb8t-c.mjs")]);
13
13
  await requireConsoleAccess(getRequest());
14
14
  return next();
15
15
  });
@@ -1,10 +1,10 @@
1
- import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
2
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
- import { A as createSsrRpc } from "./sidebar-Bsfqid7Q.mjs";
4
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
5
- import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
2
+ import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
3
+ import { A as createSsrRpc } from "./sidebar-S1E-7aSS.mjs";
6
4
  import { i as useQuery, r as queryOptions } from "../_libs/tanstack__react-query.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-g5s9V5sz.js
5
+ import { n as consoleFeatures } from "./console-features-DTYyXrWO.mjs";
6
+ import { v as notFound } from "../_libs/@tanstack/react-router+[...].mjs";
7
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-api-WvvE114Q.js
8
8
  /** The features this console serves, for navigation and route guards. */
9
9
  var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(createSsrRpc("82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe"));
10
10
  var consoleFeaturesQueryKey = ["console", "features"];
@@ -1,14 +1,14 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
2
+ import { t as consoleAccess } from "./console-access-Cj95NxRZ.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-Cnmhvmsk.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/console-features-rpc-DxhmScBd.js
5
5
  var getConsoleFeaturesRpc_createServerFn_handler = createServerRpc({
6
6
  id: "82ec3500e57f9e81dac6d3f3a7bd9e34915da3121429beec87b7ad153dc6eafe",
7
7
  name: "getConsoleFeaturesRpc",
8
8
  filename: "src/lib/console-features-rpc.ts"
9
9
  }, (opts) => getConsoleFeaturesRpc.__executeServer(opts));
10
10
  var getConsoleFeaturesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).handler(getConsoleFeaturesRpc_createServerFn_handler, async () => {
11
- const { prepareConfig } = await import("./config.server-DswyWSgG.mjs");
11
+ const { prepareConfig } = await import("./config.server-A4yZxfTn.mjs");
12
12
  const { runtime } = await prepareConfig();
13
13
  return {
14
14
  features: await runtime.features(),
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, at as DialogTitle$1, ct as DialogPopup, dt as DialogBackdrop, it as DialogTrigger$1, lt as DialogDescription$1, ot as DialogRoot, st as DialogPortal$1, ut as DialogClose } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as X } from "../_libs/lucide-react.mjs";
4
- import { k as cn, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
4
+ import { k as cn, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Dialog$1({ ...props }) {
@@ -1,7 +1,7 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
2
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
3
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/empty-tasgkoU9.js
3
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/empty-Dfmlc-7_.js
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function Empty({ className, ...props }) {
7
7
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
@@ -1,8 +1,8 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
4
- import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/field-phtuBLMh.js
4
+ import { k as cn } from "./sidebar-S1E-7aSS.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/field-BrPlhj0S.js
6
6
  var import_react = /* @__PURE__ */ __toESM(require_react());
7
7
  var import_jsx_runtime = require_jsx_runtime();
8
8
  function Label({ className, htmlFor, ...props }) {
@@ -1,7 +1,7 @@
1
1
  import "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
4
- import { k as cn, n as Input, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
4
+ import { k as cn, n as Input, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
5
5
  require_react();
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
7
  function Textarea({ className, ...props }) {
@@ -1,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DWuWwY4L.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/insights-BBzyKO95.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-CfcFJ4k4.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/insights-BX9okQmy.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };