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

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 (286) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/-native-builds-search-BvCftqF2.js +1 -0
  3. package/.output/public/assets/{BundleIdDisplay-CTBdtFQ8.js → BundleIdDisplay-D8oR8mcP.js} +1 -1
  4. package/.output/public/assets/{ChannelBadge-CEabmopB.js → ChannelBadge-Do-lWsLM.js} +1 -1
  5. package/.output/public/assets/{CompositeItem-KUM5yQVr.js → CompositeItem-Ci-Dvjc7.js} +1 -1
  6. package/.output/public/assets/{ConsoleFeatureUnavailable-Be-0iTww.js → ConsoleFeatureUnavailable-C0iDIboF.js} +1 -1
  7. package/.output/public/assets/{EventDetails-bDOYte1z.js → EventDetails-DglqzK6l.js} +1 -1
  8. package/.output/public/assets/{HashValueDisplay-D2f0HmyU.js → HashValueDisplay-DKziWjEg.js} +1 -1
  9. package/.output/public/assets/{InsightsPageHeader-Cj2ROSQO.js → InsightsPageHeader-DLH1MntM.js} +1 -1
  10. package/.output/public/assets/IosInstall-2R2o1IXd.js +1 -0
  11. package/.output/public/assets/NativeBuildsNav-BgeUSMqw.js +1 -0
  12. package/.output/public/assets/{NotFoundPage-CVBtl68B.js → NotFoundPage-CijSy63W.js} +1 -1
  13. package/.output/public/assets/{PlatformIcon-DVnzzGqM.js → PlatformIcon-Kq3q98tU.js} +1 -1
  14. package/.output/public/assets/QrCode-D3-Vuudy.js +1 -0
  15. package/.output/public/assets/RelativeTime-CP7nosYx.js +1 -0
  16. package/.output/public/assets/{RolloutPercentageBadge-D_I0Raj2.js → RolloutPercentageBadge-DnmU8XbU.js} +1 -1
  17. package/.output/public/assets/{RowReason-B7VM1ztc.js → RowReason-D7TZ2xwW.js} +1 -1
  18. package/.output/public/assets/SandboxBadge-BPf2uve4.js +1 -0
  19. package/.output/public/assets/TargetDisplay-DzSkf5yP.js +1 -0
  20. package/.output/public/assets/alert-dialog-Dihztkem.js +1 -0
  21. package/.output/public/assets/{api-C1OPeiG1.js → api-B1z_XXrQ.js} +1 -1
  22. package/.output/public/assets/api-keys-DL9HeC8e.js +1 -0
  23. package/.output/public/assets/api-keys-DPuPM7ag.js +1 -0
  24. package/.output/public/assets/arrow-left-CxxDwBQs.js +1 -0
  25. package/.output/public/assets/arrow-right-jHG0fJt7.js +1 -0
  26. package/.output/public/assets/arrow-up-right-BPRe5soE.js +1 -0
  27. package/.output/public/assets/{badge-FZMD5vvS.js → badge-D4Tiwei-.js} +1 -1
  28. package/.output/public/assets/{card-CyHYmHue.js → card-BfeRlTvj.js} +1 -1
  29. package/.output/public/assets/check-Dz_5aNwx.js +1 -0
  30. package/.output/public/assets/chevron-right-CuYrscDY.js +1 -0
  31. package/.output/public/assets/{circle-off-BCkZpskJ.js → circle-off-BZFOMb8J.js} +1 -1
  32. package/.output/public/assets/{clipboard-DZrZK5gR.js → clipboard-D8uvj6FN.js} +1 -1
  33. package/.output/public/assets/{console-features-api-BO5V64P3.js → console-features-api-De6tXQnd.js} +1 -1
  34. package/.output/public/assets/{copy-CH1__JAW.js → copy-BxI24-g-.js} +1 -1
  35. package/.output/public/assets/dialog-e9AF5T6h.js +1 -0
  36. package/.output/public/assets/{dist-DAM__Tdz.js → dist-BEIz5ojx.js} +1 -1
  37. package/.output/public/assets/{download-B2GjTySo.js → download-ekENI2Sw.js} +1 -1
  38. package/.output/public/assets/{empty--YaE5Z4p.js → empty-DpSPWLc2.js} +1 -1
  39. package/.output/public/assets/{field-CdhSgWhI.js → field-PkdRPD3A.js} +1 -1
  40. package/.output/public/assets/{git-branch-DG1VDaKq.js → git-branch-BWrvONjc.js} +1 -1
  41. package/.output/public/assets/{history-C0wv4htz.js → history-DwdBLzJP.js} +1 -1
  42. package/.output/public/assets/index-DZdzmvWS.js +10 -0
  43. package/.output/public/assets/input-group-DNfVeeYZ.js +1 -0
  44. package/.output/public/assets/{insights-_j_ieOyh.js → insights-6d-iISFa.js} +2 -2
  45. package/.output/public/assets/insights-DotP9eJn.js +2 -0
  46. package/.output/public/assets/insights-MQrx_wbP.js +1 -0
  47. package/.output/public/assets/{insights-api-B6Gj74n5.js → insights-api-CXXCRZhF.js} +1 -1
  48. package/.output/public/assets/{insights-search-Bgvg6wSP.js → insights-search-CtEcj6lz.js} +1 -1
  49. package/.output/public/assets/{insights-usage-rpc-BUCinjSN.js → insights-usage-rpc-DdmD1Nuy.js} +1 -1
  50. package/.output/public/assets/{insights_.distribution-CRkGNelG.js → insights_.distribution-DATeWpQS.js} +1 -1
  51. package/.output/public/assets/insights_.distribution-DYgsR7-7.js +2 -0
  52. package/.output/public/assets/insights_.distribution-REbBAqgL.js +1 -0
  53. package/.output/public/assets/installations-Di02gX_V.js +1 -0
  54. package/.output/public/assets/{installations-CYTzndfP.js → installations-Ds-MhfsQ.js} +1 -1
  55. package/.output/public/assets/{installations-BsD6LgNc.js → installations-Lm8TxrcB.js} +2 -2
  56. package/.output/public/assets/{key-round-D7UgdXyA.js → key-round-B-vaAsR7.js} +1 -1
  57. package/.output/public/assets/{link-CN3iHC4A.js → link-D95E0fwF.js} +1 -1
  58. package/.output/public/assets/{list-Bm-CfN5g.js → list-Dq40Mmoj.js} +1 -1
  59. package/.output/public/assets/loader-circle-C26cZDSM.js +1 -0
  60. package/.output/public/assets/native-builds-BOSmoLed.js +1 -0
  61. package/.output/public/assets/native-builds-Bs_JroPG.js +2 -0
  62. package/.output/public/assets/native-builds-Chv-kXaS.js +1 -0
  63. package/.output/public/assets/native-builds_._buildId-Bj24bG99.js +2 -0
  64. package/.output/public/assets/native-builds_._buildId-Somk3u9R.js +1 -0
  65. package/.output/public/assets/native-builds_.devices-afOLyzux.js +1 -0
  66. package/.output/public/assets/native-builds_.devices-o6LsPF9Y.js +2 -0
  67. package/.output/public/assets/plus-Bp6IqwOH.js +1 -0
  68. package/.output/public/assets/{preload-helper-CRQjUQaZ.js → preload-helper-52zhjEsw.js} +1 -1
  69. package/.output/public/assets/{refresh-cw-BHhBYjS8.js → refresh-cw-CpCxPYma.js} +1 -1
  70. package/.output/public/assets/{relativeTime-BYRt19mj.js → relativeTime-D_aYJRc7.js} +1 -1
  71. package/.output/public/assets/remote-config-Buy_12p7.js +1 -0
  72. package/.output/public/assets/remote-config-Dmuqm9xx.js +1 -0
  73. package/.output/public/assets/remote-config-g05054op.js +6 -0
  74. package/.output/public/assets/{rotate-cw-Ba-slJea.js → rotate-cw-Bn3fIWmY.js} +1 -1
  75. package/.output/public/assets/routes-5mt1iab-.js +2 -0
  76. package/.output/public/assets/routes-BxJfMpil.js +1 -0
  77. package/.output/public/assets/search-DeKSyo9Q.js +1 -0
  78. package/.output/public/assets/{select-CA8r-UUe.js → select-BAd2hAoW.js} +1 -1
  79. package/.output/public/assets/{sidebar-yC7KdImc.js → sidebar-UnsNYOry.js} +1 -1
  80. package/.output/public/assets/smartphone-lSZWrqxx.js +1 -0
  81. package/.output/public/assets/styles-CN7c7MGr.css +2 -0
  82. package/.output/public/assets/{switch-BsV3d4km.js → switch-C_s67MO4.js} +1 -1
  83. package/.output/public/assets/{table-D8YjT_ht.js → table-r_sYqKTQ.js} +1 -1
  84. package/.output/public/assets/{tabs-RdhEl9sE.js → tabs-B95QcXeT.js} +1 -1
  85. package/.output/public/assets/{trash-2-B5KIvrXy.js → trash-2-BPH7ydek.js} +1 -1
  86. package/.output/public/assets/{undo-2-CFcU9dIB.js → undo-2-CGeTBZjC.js} +1 -1
  87. package/.output/public/assets/{useCompositeListItem-lAmUsXcc.js → useCompositeListItem-B9ONn9qn.js} +1 -1
  88. package/.output/public/assets/{useMutation-w3qYaU2L.js → useMutation-BWX97JX2.js} +1 -1
  89. package/.output/server/{__23tanstack-start-server-fn-resolver-q4YFIDyr.mjs → __23tanstack-start-server-fn-resolver-ET1Ypyyk.mjs} +61 -61
  90. package/.output/server/_libs/_.mjs +1 -1
  91. package/.output/server/_ssr/{-native-builds-search-Mm_AZoRU.mjs → -native-builds-search-OJ8XmaBa.mjs} +2 -2
  92. package/.output/server/_ssr/{BundleIdDisplay-DvzlYWq8.mjs → BundleIdDisplay-CpaKbEYb.mjs} +2 -2
  93. package/.output/server/_ssr/{ChannelBadge-qF_Pc5Ud.mjs → ChannelBadge-dVXs-bYV.mjs} +3 -3
  94. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DKUgr0N_.mjs → ConsoleFeatureUnavailable-DWuWwY4L.mjs} +6 -6
  95. package/.output/server/_ssr/{EventDetails-T1XtYEDD.mjs → EventDetails-CcuGyU26.mjs} +7 -7
  96. package/.output/server/_ssr/{HashValueDisplay-Cas_zjIS.mjs → HashValueDisplay-ClkGq5_0.mjs} +2 -2
  97. package/.output/server/_ssr/{InsightsPageHeader-BrllhUl2.mjs → InsightsPageHeader-Bw6RVpdS.mjs} +7 -7
  98. package/.output/server/_ssr/{IosInstall-CEHI8F2M.mjs → IosInstall-DEceeAVT.mjs} +180 -87
  99. package/.output/server/_ssr/{NativeBuildsNav-2xSHyA1a.mjs → NativeBuildsNav-ChqRZH4E.mjs} +5 -5
  100. package/.output/server/_ssr/{NotFoundPage-D6H9vxj_.mjs → NotFoundPage-aZrAWo5n.mjs} +2 -2
  101. package/.output/server/_ssr/{PlatformIcon-BpGOEXjU.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
  102. package/.output/server/_ssr/QrCode-pEaOdaRS.mjs +50 -0
  103. package/.output/server/_ssr/{RelativeTime-DpEVzDP9.mjs → RelativeTime-CFIJbj_r.mjs} +10 -5
  104. package/.output/server/_ssr/{RolloutPercentageBadge-DW8-_w30.mjs → RolloutPercentageBadge-BEqOJXly.mjs} +4 -4
  105. package/.output/server/_ssr/{RowReason-C-PjIxzq.mjs → RowReason-DXbU_Nml.mjs} +4 -4
  106. package/.output/server/_ssr/{SandboxBadge-CDdNew0R.mjs → SandboxBadge-CP76AVxN.mjs} +2 -2
  107. package/.output/server/_ssr/{TargetDisplay-BBsP7IaZ.mjs → TargetDisplay-csC-slf3.mjs} +37 -15
  108. package/.output/server/_ssr/{alert-dialog-Bd4E9xdw.mjs → alert-dialog-Dn5l3Bob.mjs} +3 -3
  109. package/.output/server/_ssr/{api-BT7aA8UM.mjs → api-W0WerUfm.mjs} +6 -6
  110. package/.output/server/_ssr/{api-keys-D2NvcQZv.mjs → api-keys-Btu37Irf.mjs} +2 -2
  111. package/.output/server/_ssr/{api-keys-DjWpM20P.mjs → api-keys-D7kmFdhY.mjs} +10 -9
  112. package/.output/server/_ssr/{api-keys-rpc-nM5H7V7f.mjs → api-keys-rpc-9o4CyzUZ.mjs} +3 -3
  113. package/.output/server/_ssr/{api-rpc-DX4HynbW.mjs → api-rpc-B1HnUZMu.mjs} +19 -19
  114. package/.output/server/_ssr/{auth-rpc-LCxTtYz2.mjs → auth-rpc-BBy2L4Ah.mjs} +4 -4
  115. package/.output/server/_ssr/{auth.server-CERo_xef.mjs → auth.server-ajvR-m99.mjs} +28 -14
  116. package/.output/server/_ssr/{badge-Dpp4q7sD.mjs → badge-DlEpe8yC.mjs} +1 -1
  117. package/.output/server/_ssr/{bundleActivity-BP40zYSt.mjs → bundleActivity-a-pEDiqu.mjs} +1 -1
  118. package/.output/server/_ssr/{card-CFCftDfI.mjs → card-AK7Ms1Oa.mjs} +1 -1
  119. package/.output/server/_ssr/{config.server-5W5WD8x2.mjs → config.server-DswyWSgG.mjs} +4 -4
  120. package/.output/server/_ssr/{console-access-B0S5YFUa.mjs → console-access-DM56j3dM.mjs} +2 -2
  121. package/.output/server/_ssr/{console-features-xaGDhRC9.mjs → console-features-DTYyXrWO.mjs} +1 -1
  122. package/.output/server/_ssr/{console-features-api-CV_EReEj.mjs → console-features-api-g5s9V5sz.mjs} +4 -4
  123. package/.output/server/_ssr/{console-features-rpc-D3xlQsuy.mjs → console-features-rpc-Cnmhvmsk.mjs} +3 -3
  124. package/.output/server/_ssr/{databaseConfig-XAvDetmn.mjs → databaseConfig-B56IJxlu.mjs} +1 -1
  125. package/.output/server/_ssr/{databaseRows-BtRVBD0C.mjs → databaseRows-BZMFl5QV.mjs} +2 -2
  126. package/.output/server/_ssr/{deviceProfileToken-CwWb1lPq.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
  127. package/.output/server/_ssr/{dialog-DQR_QI_X.mjs → dialog-0oBrR9Cj.mjs} +4 -4
  128. package/.output/server/_ssr/dist-CiOq3ygH.mjs +148 -0
  129. package/.output/server/_ssr/{downloadBundle-DnoYpi36.mjs → downloadBundle-C1KOnpiF.mjs} +1 -1
  130. package/.output/server/_ssr/{empty-C7PFnkCH.mjs → empty-tasgkoU9.mjs} +2 -2
  131. package/.output/server/_ssr/{failureReports-BA2eg11O.mjs → failureReports-BVufgM3l.mjs} +3 -3
  132. package/.output/server/_ssr/{field-BqYN8sZT.mjs → field-phtuBLMh.mjs} +2 -2
  133. package/.output/server/_ssr/{foldedPage-CqpVk31Q.mjs → foldedPage-CUjJqtlF.mjs} +1 -1
  134. package/.output/server/_ssr/{getBundleChildren-CdqFonhl.mjs → getBundleChildren-CnOf4Frp.mjs} +2 -2
  135. package/.output/server/_ssr/{input-group-Brv0mmyp.mjs → input-group-BTEoUANX.mjs} +2 -2
  136. package/.output/server/_ssr/{insights-CD1e3EnW.mjs → insights-BBzyKO95.mjs} +2 -2
  137. package/.output/server/_ssr/{insights--xI3A0KI.mjs → insights-CPDtpuXg.mjs} +5 -5
  138. package/.output/server/_ssr/{insights-Dd0VdO-1.mjs → insights-D4le8l6s.mjs} +31 -26
  139. package/.output/server/_ssr/{insights-api-Bt2XVa4Y.mjs → insights-api-D6J2HVtY.mjs} +5 -5
  140. package/.output/server/_ssr/{insights-errors-CXHg1lLV.mjs → insights-errors-DwUaDs0Z.mjs} +2 -2
  141. package/.output/server/_ssr/{insights-failures-7zH97WOO.mjs → insights-failures-DGO2_3Vx.mjs} +2 -2
  142. package/.output/server/_ssr/{insights-failures-rpc-DBGzXP5A.mjs → insights-failures-rpc-ChwlB9sg.mjs} +10 -10
  143. package/.output/server/_ssr/{insights-recovery-BhOg6kz2.mjs → insights-recovery-Cdg3Msrj.mjs} +1 -1
  144. package/.output/server/_ssr/{insights-recovery-rpc-C6fAh-i_.mjs → insights-recovery-rpc-B6_GT-_U.mjs} +6 -6
  145. package/.output/server/_ssr/{insights-rpc-pThKC9oj.mjs → insights-rpc-DG0GxsIL.mjs} +3 -3
  146. package/.output/server/_ssr/{insights-search-iFN4UaUv.mjs → insights-search-LKeSNr4M.mjs} +4 -4
  147. package/.output/server/_ssr/{insights-usage-h8fipPTv.mjs → insights-usage-BVm7CDw9.mjs} +1 -1
  148. package/.output/server/_ssr/{insights-usage-rpc-CGHZQ9jq.mjs → insights-usage-rpc-I0Eh5Z89.mjs} +6 -6
  149. package/.output/server/_ssr/{insights-usage-rpc-B-RLvdLZ.mjs → insights-usage-rpc-qnQWkNn2.mjs} +4 -4
  150. package/.output/server/_ssr/{insightsUsage-BjSiV_X_.mjs → insightsUsage-lPKyRC2o.mjs} +3 -3
  151. package/.output/server/_ssr/{insights_.distribution-xHmfwwa5.mjs → insights_.distribution-BF99IaZu.mjs} +5 -5
  152. package/.output/server/_ssr/{insights_.distribution-E6Ns2aN7.mjs → insights_.distribution-D2dZwvqQ.mjs} +2 -2
  153. package/.output/server/_ssr/{insights_.distribution-C6iXJ93Y.mjs → insights_.distribution-Dgv-_T7g.mjs} +14 -14
  154. package/.output/server/_ssr/{installations-D6Upc9Rt.mjs → installations-BHjU8FUI.mjs} +2 -2
  155. package/.output/server/_ssr/{installations-CZnN6slr.mjs → installations-C7TindNY.mjs} +4 -4
  156. package/.output/server/_ssr/{installations-7V-Xyui8.mjs → installations-DVTUpBGI.mjs} +11 -11
  157. package/.output/server/_ssr/{ios-devices-rpc-CXuHk24G.mjs → ios-devices-rpc-KtosHTCC.mjs} +18 -20
  158. package/.output/server/_ssr/iosDeviceCookie-B-8c7lMJ.mjs +155 -0
  159. package/.output/server/_ssr/{iosDeviceProfile-BESi_onx.mjs → iosDeviceProfile-CIEuY_kV.mjs} +13 -13
  160. package/.output/server/_ssr/{iosDevices-BmvvvZRo.mjs → iosDevices-CkLgS8_U.mjs} +4 -20
  161. package/.output/server/_ssr/{listReleases-DYYA5alS.mjs → listReleases-QF91GLE7.mjs} +3 -3
  162. package/.output/server/_ssr/native-artifact-BRNP_q-y.mjs +1532 -0
  163. package/.output/server/_ssr/{native-builds-BhDCE89P.mjs → native-builds-3WEAnb93.mjs} +22 -20
  164. package/.output/server/_ssr/{native-builds-BUojmVWC.mjs → native-builds-B6rWkcHL.mjs} +3 -3
  165. package/.output/server/_ssr/{native-builds-BXBkklfA.mjs → native-builds-nRuXKypG.mjs} +68 -6
  166. package/.output/server/_ssr/{native-builds_._buildId-DRiCNDdO.mjs → native-builds_._buildId-BaykQRJl.mjs} +3 -3
  167. package/.output/server/_ssr/{native-builds_._buildId-DkMpG-OB.mjs → native-builds_._buildId-RFJXyul0.mjs} +21 -27
  168. package/.output/server/_ssr/{native-builds_.devices-DsOx1R36.mjs → native-builds_.devices-BzkeAX0K.mjs} +213 -93
  169. package/.output/server/_ssr/{native-builds_.devices-DSideebA.mjs → native-builds_.devices-D9EGVV1N.mjs} +3 -3
  170. package/.output/server/_ssr/{nativeBuildDownloadLink-DDAUVU8q.mjs → nativeBuildDownloadLink-A1aWZBDw.mjs} +2 -2
  171. package/.output/server/_ssr/{nativeBuildInstall-CcBrfTsc.mjs → nativeBuildInstall-XzMDX9iY.mjs} +8 -6
  172. package/.output/server/_ssr/{nativeBuilds-Cub0EUGN.mjs → nativeBuilds-DaF-TcfO.mjs} +4 -4
  173. package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
  174. package/.output/server/_ssr/{plugins-CX7wutet.mjs → plugins-D9CCkDjn.mjs} +6 -5
  175. package/.output/server/_ssr/publicConsoleBase-wTKw3_iB.mjs +15 -0
  176. package/.output/server/_ssr/{release-adoption-DeICczY7.mjs → release-adoption-gfhE5tz5.mjs} +2 -2
  177. package/.output/server/_ssr/{release-adoption-rpc-BjMXMi9A.mjs → release-adoption-rpc-DoDlwfWB.mjs} +8 -8
  178. package/.output/server/_ssr/{releaseAdoption-kHZo8P90.mjs → releaseAdoption-DfEYq7I4.mjs} +4 -4
  179. package/.output/server/_ssr/{releaseCatalogCompiler-D9dAMI17.mjs → releaseCatalogCompiler-CJ2Shida.mjs} +4 -3
  180. package/.output/server/_ssr/{releaseManagement-EPhok_Py.mjs → releaseManagement-CqIc-SDE.mjs} +1 -1
  181. package/.output/server/_ssr/{releaseReachability-DaZ7ifUF.mjs → releaseReachability-Ch1JpJkY.mjs} +2 -2
  182. package/.output/server/_ssr/{remote-config-C_DprbJz.mjs → remote-config-6lhdA4DB.mjs} +18 -18
  183. package/.output/server/_ssr/{remote-config-B1iZuZOF.mjs → remote-config-BMg2UurZ.mjs} +2 -2
  184. package/.output/server/_ssr/{remote-config-rpc-BFTPcMfZ.mjs → remote-config-rpc-Ddg8dyxw.mjs} +4 -4
  185. package/.output/server/_ssr/{remote-config-C_q6FBE4.mjs → remote-config-u_T4AXyi.mjs} +2 -2
  186. package/.output/server/_ssr/{router-BDXPwfwl.mjs → router-CovCAswJ.mjs} +101 -61
  187. package/.output/server/_ssr/{routes-BJeztqpQ.mjs → routes-CTUvEVa6.mjs} +37 -33
  188. package/.output/server/_ssr/{routes-DpapxHLc.mjs → routes-DtkONaBi.mjs} +12 -11
  189. package/.output/server/_ssr/{runtime.server-CkSbWaZm.mjs → runtime.server-BUbb281Z.mjs} +4 -4
  190. package/.output/server/_ssr/{schema-3oDJJFWa.mjs → schema-CaIuQCXb.mjs} +1 -1
  191. package/.output/server/_ssr/{schema-migration-rpc-a4bLEdaP.mjs → schema-migration-rpc-DvmruDB6.mjs} +3 -3
  192. package/.output/server/_ssr/{select-C9HpIZxd.mjs → select-DJLTQgmc.mjs} +1 -1
  193. package/.output/server/_ssr/{server-C8ZmMWnn.mjs → server-BfWxoIjf.mjs} +4 -4
  194. package/.output/server/_ssr/{sidebar-BrVL3L7R.mjs → sidebar-Bsfqid7Q.mjs} +6 -6
  195. package/.output/server/_ssr/ssr.mjs +1 -1
  196. package/.output/server/_ssr/{start-D3noqqOK.mjs → start-BaUpXI0L.mjs} +1 -1
  197. package/.output/server/_ssr/{switch-DtnsoZHO.mjs → switch-DckZkZBS.mjs} +3 -3
  198. package/.output/server/_ssr/{table-Bg7nCnct.mjs → table-DG8aRQBO.mjs} +1 -1
  199. package/.output/server/_ssr/{tabs-BEIoGLTL.mjs → tabs-Dblh3lL2.mjs} +2 -2
  200. package/.output/server/_ssr/{updateFailures-D0bP_Ume.mjs → updateFailures-BwDwIoNu.mjs} +3 -3
  201. package/.output/server/_ssr/{dist-B6-irDRA.mjs → uuid-kZvLA0Ly-DNL0qBSj.mjs} +2 -147
  202. package/.output/server/_ssr/{uuidv7-CmHbryZT.mjs → uuidv7-C0jNe2Om.mjs} +2 -2
  203. package/.output/server/_ssr/{version-CQ98ZBpL-NmbU0MD2.mjs → version-CQ98ZBpL-zW2fpHOZ.mjs} +1 -1
  204. package/.output/server/_tanstack-start-manifest_v-CfDH9vVq.mjs +225 -0
  205. package/.output/server/index.mjs +430 -430
  206. package/package.json +7 -7
  207. package/src/components/AppSidebar.tsx +11 -2
  208. package/src/components/DataTable.tsx +18 -2
  209. package/src/components/TargetDisplay.tsx +33 -7
  210. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  211. package/src/components/features/bundles/BundleMetadata.tsx +1 -1
  212. package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
  213. package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
  214. package/src/components/features/insights/FailureReports.tsx +1 -0
  215. package/src/components/features/insights/InsightsOverview.tsx +7 -1
  216. package/src/components/features/insights/ReleaseActivity.tsx +5 -1
  217. package/src/components/features/insights/UpdateFailures.tsx +1 -0
  218. package/src/components/features/native-builds/BuiltInBundleCard.tsx +1 -0
  219. package/src/components/features/native-builds/IosDevicesPage.tsx +187 -38
  220. package/src/components/features/native-builds/IosInstall.tsx +122 -58
  221. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
  222. package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
  223. package/src/components/features/native-builds/NativeBuildsTable.tsx +5 -1
  224. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
  225. package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
  226. package/src/components/ui/alert-dialog.tsx +2 -2
  227. package/src/components/ui/dialog.tsx +3 -3
  228. package/src/components/ui/input.tsx +1 -1
  229. package/src/components/ui/sheet.tsx +1 -1
  230. package/src/components/ui/sidebar.tsx +2 -2
  231. package/src/components/ui/slider.tsx +1 -1
  232. package/src/components/ui/switch.tsx +1 -1
  233. package/src/components/ui/textarea.tsx +1 -1
  234. package/src/lib/ios-devices-api.ts +148 -5
  235. package/src/lib/ios-devices-rpc.ts +17 -12
  236. package/src/lib/native-builds.ts +97 -4
  237. package/src/lib/server/deviceProfileToken.ts +37 -3
  238. package/src/lib/server/iosDeviceCookie.ts +239 -0
  239. package/src/lib/server/iosDeviceProfile.ts +4 -2
  240. package/src/lib/server/iosDevices.ts +0 -30
  241. package/src/routeTree.gen.ts +44 -0
  242. package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
  243. package/src/routes/[_]hot-updater/devices/request.ts +28 -0
  244. package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
  245. package/.output/public/assets/IosInstall-CHI2C4Yd.js +0 -1
  246. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
  247. package/.output/public/assets/RelativeTime-B4PK8qDw.js +0 -1
  248. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
  249. package/.output/public/assets/TargetDisplay-KU7JhIWG.js +0 -1
  250. package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
  251. package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
  252. package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
  253. package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
  254. package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
  255. package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
  256. package/.output/public/assets/check-CqWNyG93.js +0 -1
  257. package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
  258. package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
  259. package/.output/public/assets/index-CgwVUC2n.js +0 -10
  260. package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
  261. package/.output/public/assets/insights-C94CdeAA.js +0 -1
  262. package/.output/public/assets/insights-DILMVpk8.js +0 -2
  263. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
  264. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
  265. package/.output/public/assets/installations-BA01mqJE.js +0 -1
  266. package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
  267. package/.output/public/assets/native-builds-BMbws1g5.js +0 -2
  268. package/.output/public/assets/native-builds-xgHiHQML.js +0 -1
  269. package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +0 -1
  270. package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +0 -2
  271. package/.output/public/assets/native-builds_.devices-CTzpCVsb.js +0 -1
  272. package/.output/public/assets/native-builds_.devices-D_kl2-bc.js +0 -2
  273. package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
  274. package/.output/public/assets/plus-Db0KxLZp.js +0 -1
  275. package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
  276. package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
  277. package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
  278. package/.output/public/assets/routes-DM3TyTLW.js +0 -2
  279. package/.output/public/assets/routes-Des97uK_.js +0 -1
  280. package/.output/public/assets/search-dJG2BYmx.js +0 -1
  281. package/.output/public/assets/send-DuMOCzbD.js +0 -1
  282. package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
  283. package/.output/public/assets/styles-BHLI87EH.css +0 -2
  284. package/.output/server/_ssr/publicConsoleBase-f67NLLXZ.mjs +0 -610
  285. package/.output/server/_tanstack-start-manifest_v-C_TPyfFP.mjs +0 -225
  286. /package/.output/public/assets/{uuidv7-DAoOOpz9.js → uuidv7-DgXZ1zRR.js} +0 -0
@@ -2,62 +2,20 @@ import { i as __toESM } from "../_runtime.mjs";
2
2
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
3
3
  import { Et as require_react, Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
4
4
  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, k as cn, n as Input, t as Button$1 } from "./sidebar-BrVL3L7R.mjs";
6
- import { t as consoleAccess } from "./console-access-B0S5YFUa.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
7
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
8
8
  import { i as useQuery, n as useMutation, s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
9
9
  import { l as keepPreviousData } from "../_libs/tanstack__query-core.mjs";
10
- import { i as AlertTitle, r as AlertDescription, t as Alert } from "./badge-Dpp4q7sD.mjs";
11
- import { a as FieldLabel, n as FieldDescription, r as FieldError, t as Field } from "./field-BqYN8sZT.mjs";
12
- import { c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, f as iosDeviceProfileUrl, i as IOS_DEVICE_RECEIPT_STORAGE_KEY, o as IOS_UDID_PATTERN, s as IOS_UDID_STORAGE_KEY, u as consolePathOf, x as nativeBuildItmsUrl } from "./native-builds-BXBkklfA.mjs";
13
- import { m as useNativeBuildInstallEligibilityQuery } from "./api-BT7aA8UM.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";
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";
14
14
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
15
- import { t as encode } from "../_libs/uqr.mjs";
16
- //#region node_modules/.nitro/vite/services/ssr/assets/IosInstall-CEHI8F2M.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/IosInstall-DEceeAVT.js
17
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
18
17
  var import_jsx_runtime = require_jsx_runtime();
19
18
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
20
- /**
21
- * A QR code of `value` as one SVG path of unit squares, with the standard
22
- * four-module quiet zone: `size` is the side of its viewBox.
23
- */
24
- var qrCodePath = (value) => {
25
- const { data, size } = encode(value, {
26
- ecc: "M",
27
- border: 4
28
- });
29
- let path = "";
30
- data.forEach((row, y) => row.forEach((dark, x) => {
31
- if (dark) path += `M${x} ${y}h1v1h-1z`;
32
- }));
33
- return {
34
- size,
35
- path
36
- };
37
- };
38
- /**
39
- * A QR code of `value`, drawn as one SVG path with the standard four-module
40
- * quiet zone. Phone cameras read dark modules on a light ground, so the code
41
- * keeps its own two colors in both themes instead of the theme's tokens.
42
- */
43
- function QrCode({ value, label, className }) {
44
- const { size, path } = (0, import_react.useMemo)(() => qrCodePath(value), [value]);
45
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
46
- "aria-label": label,
47
- className: cn("aspect-square rounded-md", className),
48
- role: "img",
49
- shapeRendering: "crispEdges",
50
- viewBox: `0 0 ${size} ${size}`,
51
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
52
- fill: "#fff",
53
- height: size,
54
- width: size
55
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
56
- d: path,
57
- fill: "#000"
58
- })]
59
- });
60
- }
61
19
  var STATUSES = [
62
20
  "pending",
63
21
  "approved",
@@ -83,6 +41,12 @@ var getIosDevices = createServerFn({ method: "GET" }).middleware([consoleAccess]
83
41
  return status === void 0 ? {} : { status };
84
42
  }).handler(createSsrRpc("3a62744a539db57f5a29f39cec7fb03fd2817703b40d98e6da69e2f5e7ae6f3d"));
85
43
  /**
44
+ * The registry's row of one UDID, or null: what an iPhone back from its
45
+ * profile reads of itself. One keyed read, whatever the list's filter. A
46
+ * POST, as the install check is, so the UDID stays out of the URL.
47
+ */
48
+ var getIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({ udid: text(input, "udid", 64) })).handler(createSsrRpc("7138a71df2ede8dd2c3db732d8d0ae10c56b85a8177dcdacf4e747b8087177c6"));
49
+ /**
86
50
  * A new link to the profile that reads this iPhone's UDID: `register` saves
87
51
  * it as requested under `name`, `identify` tells build `buildId`'s page which
88
52
  * iPhone it is. A POST, since it signs the link.
@@ -99,11 +63,6 @@ var createIosDeviceProfileLink = createServerFn({ method: "POST" }).middleware([
99
63
  };
100
64
  throw new TypeError("Invalid mode.");
101
65
  }).handler(createSsrRpc("4b173c2b2f5ea074a1f10862282308f11f5a043c044d64b6f63e6a29d571ec64"));
102
- /** Requests the iPhone this person's receipt names, for the next ad hoc build. */
103
- var requestIosDeviceAccess = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
104
- receipt: text(input, "receipt"),
105
- name: text(input, "name", 100)
106
- })).handler(createSsrRpc("24005564c8e58dbdeadba89e3f567255a991f5695359cbcc2e8392e033dac8e1"));
107
66
  /** Approves a requested device, with its name: approvers only. */
108
67
  var approveIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
109
68
  id: text(input, "id", 36),
@@ -128,6 +87,17 @@ var getNativeBuildIpaDevices = createServerFn({ method: "GET" }).middleware([con
128
87
  var iosDeviceKeys = {
129
88
  all: ["ios-devices"],
130
89
  list: (status) => ["ios-devices", status ?? "all"],
90
+ device: (udid) => [
91
+ "ios-devices",
92
+ "device",
93
+ udid
94
+ ],
95
+ kept: (udid, receipt) => [
96
+ "ios-devices",
97
+ "kept",
98
+ udid,
99
+ receipt ?? ""
100
+ ],
131
101
  ipa: (buildId) => ["native-build-ipa-devices", buildId]
132
102
  };
133
103
  /**
@@ -147,6 +117,18 @@ function useIosDevicesQuery(status) {
147
117
  });
148
118
  }
149
119
  /**
120
+ * This iPhone's registry row, by the UDID its profile reported, or null once
121
+ * it's gone; nothing is read without a UDID. Under `iosDeviceKeys.all`, so
122
+ * an approval or a removal reads it again.
123
+ */
124
+ function useIosDeviceQuery(udid) {
125
+ return useQuery({
126
+ queryKey: iosDeviceKeys.device(udid ?? ""),
127
+ queryFn: () => getIosDevice({ data: { udid } }),
128
+ enabled: udid !== null
129
+ });
130
+ }
131
+ /**
150
132
  * A signed link to this iPhone's profile, signed again before it expires:
151
133
  * the link stays a plain `<a href>`, so nothing waits on a request when it is
152
134
  * tapped. The token signs its input, the name to register or the build to
@@ -181,7 +163,94 @@ var useInvalidatingMutation = (mutationFn) => {
181
163
  var useApproveIosDeviceMutation = () => useInvalidatingMutation((input) => approveIosDevice({ data: input }));
182
164
  var useRenameIosDeviceMutation = () => useInvalidatingMutation((input) => renameIosDevice({ data: input }));
183
165
  var useRemoveIosDeviceMutation = () => useInvalidatingMutation((input) => removeIosDevice({ data: input }));
184
- var useRequestIosDeviceAccessMutation = () => useInvalidatingMutation((input) => requestIosDeviceAccess({ data: input }));
166
+ /** The routes this iPhone's kept proof is sent to, under the Console's path. */
167
+ var deviceRoute = (consolePath, name) => `${consolePath}/_hot-updater/devices/${name}`;
168
+ var sendDeviceRoute = async (url, init = {}) => {
169
+ const { json, ...rest } = init;
170
+ const response = await fetch(url, {
171
+ credentials: "same-origin",
172
+ ...rest,
173
+ ...json === void 0 ? {} : {
174
+ headers: { "content-type": "application/json" },
175
+ body: JSON.stringify(json)
176
+ }
177
+ });
178
+ const body = await response.json().catch(() => null);
179
+ if (!response.ok || body === null) throw new Error(body?.error ?? `Request failed (${response.status}).`);
180
+ return body;
181
+ };
182
+ /** Trades in flight or done, one per receipt: a failed one is forgotten. */
183
+ var trades = /* @__PURE__ */ new Map();
184
+ /**
185
+ * Trades the profile answer's fresh receipt for this Safari's HttpOnly cookie,
186
+ * wherever the answer lands: whatever the build page or the registry says, the
187
+ * proof is kept. One request per receipt while it is in flight or once it has
188
+ * succeeded; a failed one rejects and is forgotten, so the next refresh,
189
+ * refocus, or reload trades it again while it is still valid. Once traded,
190
+ * the receipt leaves this tab's session storage.
191
+ */
192
+ var keepIosDeviceReceipt = (consolePath, receipt) => {
193
+ let trade = trades.get(receipt);
194
+ if (trade === void 0) {
195
+ trade = sendDeviceRoute(deviceRoute(consolePath, "receipt"), {
196
+ method: "POST",
197
+ json: { receipt }
198
+ }).then((answer) => {
199
+ releasePendingReceipt(receipt);
200
+ return answer;
201
+ }, (error) => {
202
+ trades.delete(receipt);
203
+ throw error;
204
+ });
205
+ trades.set(receipt, trade);
206
+ }
207
+ return trade;
208
+ };
209
+ /**
210
+ * The UDID this Safari has proved for the signed-in person, from its HttpOnly
211
+ * cookie, or null, read after the page's fresh receipt, if any, is traded for
212
+ * it. Read on an iPhone only.
213
+ */
214
+ function useKeptIosDeviceQuery(consolePath, device, enabled) {
215
+ const { receipt } = device;
216
+ return useQuery({
217
+ queryKey: iosDeviceKeys.kept(device.udid ?? "", receipt),
218
+ queryFn: async () => {
219
+ let failed = null;
220
+ if (receipt !== null) await keepIosDeviceReceipt(consolePath, receipt).catch((error) => {
221
+ failed = error;
222
+ });
223
+ const kept = await sendDeviceRoute(deviceRoute(consolePath, "receipt"));
224
+ if (failed !== null && kept.udid === null) throw failed;
225
+ return kept;
226
+ },
227
+ enabled,
228
+ retry: false,
229
+ staleTime: Number.POSITIVE_INFINITY
230
+ });
231
+ }
232
+ /**
233
+ * Forgets this Safari's proof of its iPhone before sign-out, so the next
234
+ * person on this Safari starts from the profile. Only an iPhone or iPad holds
235
+ * one; a failure leaves the cookie, which the next email ignores anyway.
236
+ */
237
+ var forgetKeptIosDevice = async (consolePath) => {
238
+ await sendDeviceRoute(deviceRoute(consolePath, "receipt"), { method: "DELETE" }).catch(() => void 0);
239
+ };
240
+ /**
241
+ * Requests this iPhone for the signed-in person, under `name`: the UDID comes
242
+ * from the profile's fresh receipt when the page has one, else from the
243
+ * cookie that proved it before.
244
+ */
245
+ var useRequestThisIphoneMutation = (consolePath) => useInvalidatingMutation((input) => sendDeviceRoute(deviceRoute(consolePath, "request"), {
246
+ method: "POST",
247
+ json: input.receipt === null ? { name: input.name } : {
248
+ name: input.name,
249
+ receipt: input.receipt
250
+ }
251
+ }));
252
+ /** Whether the cookie's UDID is this iPhone's, whatever its case. */
253
+ var keptIsThisIphone = (kept, udid) => kept != null && udid !== null && kept.toLowerCase() === udid.toLowerCase();
185
254
  /**
186
255
  * What an install does to the App Store's copy of the app on this iPhone, with
187
256
  * the same bundle ID. The one line to change after trying it on a real iPhone.
@@ -224,7 +293,8 @@ var keep = (key, value) => {
224
293
  /**
225
294
  * Whether this page is open on an iPhone, its UDID, and a receipt of it: the
226
295
  * ones this phone kept, else the ones the profile's answer passed in the
227
- * fragment, which are kept then. Read after the page mounts: the server
296
+ * fragment, which are kept then, whether the answer opened this page or came
297
+ * back to it already open. Read after the page mounts: the server
228
298
  * renders it without a browser. Null until then.
229
299
  */
230
300
  var useIosDevice = () => {
@@ -232,43 +302,58 @@ var useIosDevice = () => {
232
302
  const [passed] = (0, import_react.useState)(fragmentOf);
233
303
  (0, import_react.useEffect)(() => {
234
304
  const valid = (udid) => udid != null && IOS_UDID_PATTERN.test(udid) ? udid : null;
235
- const answered = passed.receipt !== null || passed.requested;
236
- if (passed.udid !== null && answered) {
237
- keep(IOS_UDID_STORAGE_KEY, passed.udid);
238
- if (passed.receipt !== null) keep(IOS_DEVICE_RECEIPT_STORAGE_KEY, JSON.stringify({
239
- udid: passed.udid,
240
- receipt: passed.receipt
241
- }));
242
- }
243
- if (passed.udid !== null && window.location.hash !== "") window.history.replaceState(window.history.state, "", `${window.location.pathname}${window.location.search}`);
244
- const read = () => {
245
- const udid = valid(readKept("hot-updater-ios-udid")) ?? passed.udid;
246
- let receipt = null;
247
- try {
248
- const kept = JSON.parse(readKept("hot-updater-ios-device-receipt") ?? "null");
249
- receipt = kept?.udid === udid && typeof kept?.receipt === "string" ? kept.receipt : null;
250
- } catch {
251
- receipt = null;
305
+ let latest = passed;
306
+ let answers = 0;
307
+ const absorb = (fragment) => {
308
+ const answered = fragment.receipt !== null || fragment.requested;
309
+ if (fragment.udid !== null && answered) {
310
+ answers += 1;
311
+ keep(IOS_UDID_STORAGE_KEY, fragment.udid);
312
+ if (fragment.receipt !== null) {
313
+ holdPendingReceipt(fragment.udid, fragment.receipt);
314
+ keepIosDeviceReceipt(consolePathOfNativeBuildsPage(window.location), fragment.receipt).catch(() => void 0);
315
+ }
252
316
  }
253
- if (receipt === null && passed.udid === udid) receipt = passed.receipt;
254
- setDevice((current) => current !== null && current.udid === udid && current.receipt === receipt ? current : {
317
+ if (fragment.udid !== null && window.location.hash !== "") window.history.replaceState(window.history.state, "", `${window.location.pathname}${window.location.search}`);
318
+ };
319
+ absorb(passed);
320
+ try {
321
+ window.localStorage.removeItem(IOS_DEVICE_RECEIPT_STORAGE_KEY);
322
+ } catch {}
323
+ const read = () => {
324
+ const udid = valid(readKept("hot-updater-ios-udid")) ?? latest.udid;
325
+ const receipt = (latest.udid === udid ? latest.receipt : null) ?? readPendingReceipt(udid);
326
+ const requested = latest.requested;
327
+ const taken = answers;
328
+ setDevice((current) => current !== null && current.udid === udid && current.receipt === receipt && current.requested === requested && current.answers === taken ? current : {
255
329
  ios: isIosBrowser(navigator),
256
330
  udid,
257
331
  receipt,
258
- requested: passed.requested
332
+ requested,
333
+ answers: taken
259
334
  });
260
335
  };
261
336
  read();
262
337
  const onStorage = (event) => {
263
- if (event.key === null || event.key === "hot-updater-ios-udid" || event.key === "hot-updater-ios-device-receipt") read();
338
+ if (event.key === null || event.key === "hot-updater-ios-udid") read();
339
+ };
340
+ const onReturn = () => {
341
+ const fragment = fragmentOf();
342
+ if (fragment.udid !== null) {
343
+ latest = fragment;
344
+ absorb(fragment);
345
+ }
346
+ read();
264
347
  };
265
348
  window.addEventListener("storage", onStorage);
266
- window.addEventListener("pageshow", read);
267
- document.addEventListener("visibilitychange", read);
349
+ window.addEventListener("hashchange", onReturn);
350
+ window.addEventListener("pageshow", onReturn);
351
+ document.addEventListener("visibilitychange", onReturn);
268
352
  return () => {
269
353
  window.removeEventListener("storage", onStorage);
270
- window.removeEventListener("pageshow", read);
271
- document.removeEventListener("visibilitychange", read);
354
+ window.removeEventListener("hashchange", onReturn);
355
+ window.removeEventListener("pageshow", onReturn);
356
+ document.removeEventListener("visibilitychange", onReturn);
272
357
  };
273
358
  }, [passed]);
274
359
  return device;
@@ -388,16 +473,17 @@ function CheckThisIphone({ build, again = false }) {
388
473
  var shortDate = (ms) => (0, import_dayjs_min.default)(ms).format("MMM D");
389
474
  /**
390
475
  * Apple's refusal of this iPhone, in its own words, and the one next step: the
391
- * iOS devices page for an approver, else whom to ask.
476
+ * iOS devices page for an approver, unless this is that page, else whom to
477
+ * ask.
392
478
  */
393
- function AppleRefusal({ device, canApprove }) {
479
+ function AppleRefusal({ device, canApprove, onDevicesPage = false }) {
394
480
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
395
481
  className: "flex min-w-0 flex-col gap-3",
396
482
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, { children: [
397
483
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TriangleAlert, {}),
398
484
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children: "Apple didn't register this iPhone" }),
399
485
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDescription, { children: device.apple_error })
400
- ] }), canApprove ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
486
+ ] }), canApprove ? onDevicesPage ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
401
487
  className: buttonVariants({
402
488
  className: ACTION_CLASS,
403
489
  variant: "outline"
@@ -415,7 +501,10 @@ function AppleRefusal({ device, canApprove }) {
415
501
  * Request access, which takes the UDID from this person's receipt alone.
416
502
  */
417
503
  function NotInThisBuild({ build, device, registry, newerBuild, canApprove, registryReadAt }) {
418
- const request = useRequestIosDeviceAccessMutation();
504
+ const consolePath = consolePathOf(window.location, build.id);
505
+ const request = useRequestThisIphoneMutation(consolePath);
506
+ const kept = useKeptIosDeviceQuery(consolePath, device, device.ios && device.udid !== null && registry === null);
507
+ const proved = device.receipt !== null || keptIsThisIphone(kept.data?.udid, device.udid);
419
508
  const [name, setName] = (0, import_react.useState)("");
420
509
  const [requested, setRequested] = (0, import_react.useState)(null);
421
510
  const standIn = requested !== null && registryReadAt <= requested.readBefore;
@@ -454,7 +543,11 @@ function NotInThisBuild({ build, device, registry, newerBuild, canApprove, regis
454
543
  ]
455
544
  });
456
545
  }
457
- if (device.receipt === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
546
+ if (!proved && kept.isPending && device.udid !== null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
547
+ "aria-label": "Reading this iPhone",
548
+ className: "h-11 w-full"
549
+ });
550
+ if (!proved) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
458
551
  className: "flex min-w-0 flex-col gap-3",
459
552
  children: [
460
553
  heading,
@@ -612,4 +705,4 @@ function IosInstall({ build, device }) {
612
705
  });
613
706
  }
614
707
  //#endregion
615
- export { useIosDeviceProfileLinkQuery as a, useRemoveIosDeviceMutation as c, useIosDevice as i, useRenameIosDeviceMutation as l, QrCode as n, useIosDevicesQuery as o, useApproveIosDeviceMutation as r, useNativeBuildIpaDevicesQuery as s, IosInstall as t };
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 };
@@ -1,10 +1,10 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- import { k as cn } from "./sidebar-BrVL3L7R.mjs";
2
+ import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
3
3
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
4
- import { a as tabsListVariants } from "./tabs-BEIoGLTL.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-2xSHyA1a.js
4
+ import { a as tabsListVariants } from "./tabs-Dblh3lL2.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-ChqRZH4E.js
6
6
  var import_jsx_runtime = require_jsx_runtime();
7
- var TAB_CLASS = "relative inline-flex h-full 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";
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
  /**
9
9
  * The two views of Native builds: the builds, and the iOS devices ad hoc
10
10
  * builds install on. Links, so each view has its own URL and Back works.
@@ -12,7 +12,7 @@ var TAB_CLASS = "relative inline-flex h-full items-center justify-center rounded
12
12
  function NativeBuildsNav({ current }) {
13
13
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
14
14
  "aria-label": "Native builds views",
15
- className: cn(tabsListVariants(), "h-11 sm:h-8 [&>a]:min-h-10 sm:[&>a]:min-h-0"),
15
+ className: cn(tabsListVariants(), "h-auto min-h-11 sm:h-8 sm:min-h-0 [&>a]:min-h-11 sm:[&>a]:min-h-0"),
16
16
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
17
17
  activeOptions: {
18
18
  exact: true,
@@ -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-BrVL3L7R.mjs";
2
+ import { O as buttonVariants } from "./sidebar-Bsfqid7Q.mjs";
3
3
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-D6H9vxj_.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/NotFoundPage-aZrAWo5n.js
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  var homeSearch = {
7
7
  afterReleaseId: void 0,
@@ -1,5 +1,5 @@
1
1
  import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/PlatformIcon-BpGOEXjU.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/PlatformIcon-X18AN8Yp.js
3
3
  var import_jsx_runtime = require_jsx_runtime();
4
4
  function AppleIcon({ className }) {
5
5
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
@@ -0,0 +1,50 @@
1
+ import { i as __toESM } from "../_runtime.mjs";
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";
4
+ import { t as encode } from "../_libs/uqr.mjs";
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/QrCode-pEaOdaRS.js
6
+ var import_react = /* @__PURE__ */ __toESM(require_react());
7
+ var import_jsx_runtime = require_jsx_runtime();
8
+ /**
9
+ * A QR code of `value` as one SVG path of unit squares, with the standard
10
+ * four-module quiet zone: `size` is the side of its viewBox.
11
+ */
12
+ var qrCodePath = (value) => {
13
+ const { data, size } = encode(value, {
14
+ ecc: "M",
15
+ border: 4
16
+ });
17
+ let path = "";
18
+ data.forEach((row, y) => row.forEach((dark, x) => {
19
+ if (dark) path += `M${x} ${y}h1v1h-1z`;
20
+ }));
21
+ return {
22
+ size,
23
+ path
24
+ };
25
+ };
26
+ /**
27
+ * A QR code of `value`, drawn as one SVG path with the standard four-module
28
+ * quiet zone. Phone cameras read dark modules on a light ground, so the code
29
+ * keeps its own two colors in both themes instead of the theme's tokens.
30
+ */
31
+ function QrCode({ value, label, className }) {
32
+ const { size, path } = (0, import_react.useMemo)(() => qrCodePath(value), [value]);
33
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
34
+ "aria-label": label,
35
+ className: cn("aspect-square rounded-md", className),
36
+ role: "img",
37
+ shapeRendering: "crispEdges",
38
+ viewBox: `0 0 ${size} ${size}`,
39
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
40
+ fill: "#fff",
41
+ height: size,
42
+ width: size
43
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
44
+ d: path,
45
+ fill: "#000"
46
+ })]
47
+ });
48
+ }
49
+ //#endregion
50
+ export { QrCode as t };
@@ -1,18 +1,23 @@
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-BrVL3L7R.mjs";
4
+ import { C as Skeleton, O as buttonVariants, k as cn, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
5
5
  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-Bg7nCnct.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-DpEVzDP9.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RelativeTime-CFIJbj_r.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());
12
12
  /** The bordered frame; the table or card list inside it scrolls. */
13
- function DataTableFrame({ children }) {
13
+ /**
14
+ * A list's frame. By default it fills what the page leaves and scrolls inside;
15
+ * on a page that scrolls as a whole, such as one with a card above the list,
16
+ * `flex-none` keeps it at its content's height, so nothing is cut off.
17
+ */
18
+ function DataTableFrame({ children, className }) {
14
19
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
15
- className: "min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border bg-card text-card-foreground shadow-sm [&_[data-slot=table-container]]:h-full [&_[data-slot=table-container]]:overflow-auto",
20
+ className: cn("min-h-0 min-w-0 flex-1 overflow-hidden rounded-lg border bg-card text-card-foreground shadow-sm [&_[data-slot=table-container]]:h-full [&_[data-slot=table-container]]:overflow-auto", className),
16
21
  children
17
22
  });
18
23
  }
@@ -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-BrVL3L7R.mjs";
5
- import { a as Badge } from "./badge-Dpp4q7sD.mjs";
6
- import { r as extractTimestampFromUUIDv7 } from "./uuidv7-CmHbryZT.mjs";
4
+ import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
5
+ import { a as Badge } from "./badge-DlEpe8yC.mjs";
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-DW8-_w30.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/RolloutPercentageBadge-BEqOJXly.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-BrVL3L7R.mjs";
5
- import { o as TableRow, r as TableCell } from "./table-Bg7nCnct.mjs";
6
- import { a as DataTableBody } from "./RelativeTime-DpEVzDP9.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/RowReason-C-PjIxzq.js
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
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-Dpp4q7sD.mjs";
4
+ import { a as Badge } from "./badge-DlEpe8yC.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-CDdNew0R.js
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/SandboxBadge-CP76AVxN.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-BrVL3L7R.mjs";
3
+ import { t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
4
4
  import { n as toast } from "../_libs/sonner.mjs";
5
- import { t as HashValueDisplay } from "./HashValueDisplay-Cas_zjIS.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-BBsP7IaZ.js
5
+ import { t as HashValueDisplay } from "./HashValueDisplay-ClkGq5_0.mjs";
6
+ //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-csC-slf3.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 }) {
@@ -48,23 +48,45 @@ function NoValue() {
48
48
  children: "-"
49
49
  });
50
50
  }
51
- /**
52
- * What OTAs target: an app version, or a fingerprint. The Bundles table's
53
- * Target column and a native build's show one release's target the same way,
54
- * so the two compare at a glance.
55
- */
56
- function TargetDisplay({ appVersion, fingerprintHash }) {
57
- if (appVersion) return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
51
+ /** An app version behind its icon, as the Target column shows one. */
52
+ function AppVersion({ value }) {
53
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
58
54
  className: "flex items-center gap-2",
59
55
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Package, { className: "size-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
60
56
  className: "font-medium",
61
- children: appVersion
57
+ children: value
62
58
  })]
63
59
  });
64
- if (fingerprintHash) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconHash, {
65
- icon: FingerprintPattern,
66
- value: fingerprintHash
67
- });
60
+ }
61
+ /**
62
+ * What OTAs target: an app version, or a fingerprint. The Bundles table's
63
+ * Target column and a native build's show one release's target the same way,
64
+ * so the two compare at a glance. A native build also passes
65
+ * `nativeAppVersion`, the app version its artifact reports: a fingerprint
66
+ * build shows it over its fingerprint, so every build names its version in
67
+ * the column's width. Without one, as on a build registered before it was
68
+ * recorded, the fingerprint shows alone.
69
+ */
70
+ function TargetDisplay({ appVersion, fingerprintHash, nativeAppVersion }) {
71
+ if (appVersion) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppVersion, { value: appVersion });
72
+ if (fingerprintHash) {
73
+ const hash = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconHash, {
74
+ icon: FingerprintPattern,
75
+ value: fingerprintHash
76
+ });
77
+ if (!nativeAppVersion) return hash;
78
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
79
+ className: "flex flex-col items-start gap-3 sm:gap-1",
80
+ "data-target-display": "",
81
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
82
+ title: "The app version this build reports",
83
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
84
+ className: "sr-only",
85
+ children: "App version "
86
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppVersion, { value: nativeAppVersion })]
87
+ }), hash]
88
+ });
89
+ }
68
90
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
69
91
  }
70
92
  /**
@@ -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-BrVL3L7R.mjs";
3
+ import { k as cn, t as Button$1 } from "./sidebar-Bsfqid7Q.mjs";
4
4
  require_react();
5
5
  var import_jsx_runtime = require_jsx_runtime();
6
6
  function AlertDialog$1({ ...props }) {
@@ -32,7 +32,7 @@ function AlertDialogContent({ className, size = "default", ...props }) {
32
32
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogPortal, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogOverlay, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogPopup, {
33
33
  "data-slot": "alert-dialog-content",
34
34
  "data-size": size,
35
- className: cn("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
35
+ className: cn("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-3 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none max-h-[calc(100dvh-2rem)] overflow-y-auto data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
36
36
  ...props
37
37
  })] });
38
38
  }
@@ -46,7 +46,7 @@ function AlertDialogHeader({ className, ...props }) {
46
46
  function AlertDialogFooter({ className, ...props }) {
47
47
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
48
48
  "data-slot": "alert-dialog-footer",
49
- className: cn("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", className),
49
+ className: cn("flex flex-col-reverse gap-2 max-sm:*:min-h-11 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", className),
50
50
  ...props
51
51
  });
52
52
  }