@hot-updater/console 1.2.0-rc.31 → 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 (257) 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-Dz25a2yJ.js → RelativeTime-CP7nosYx.js} +1 -1
  16. package/.output/public/assets/{RolloutPercentageBadge-D_I0Raj2.js → RolloutPercentageBadge-DnmU8XbU.js} +1 -1
  17. package/.output/public/assets/{RowReason-CAkj76WL.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-CPVg1lWP.mjs → __23tanstack-start-server-fn-resolver-ET1Ypyyk.mjs} +58 -62
  90. package/.output/server/_libs/_.mjs +1 -1
  91. package/.output/server/_ssr/{-native-builds-search-DD7wilC0.mjs → -native-builds-search-OJ8XmaBa.mjs} +1 -1
  92. package/.output/server/_ssr/{BundleIdDisplay-CHwdLSxI.mjs → BundleIdDisplay-CpaKbEYb.mjs} +2 -2
  93. package/.output/server/_ssr/{ChannelBadge-DdrhdvMM.mjs → ChannelBadge-dVXs-bYV.mjs} +3 -3
  94. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DPX24kXX.mjs → ConsoleFeatureUnavailable-DWuWwY4L.mjs} +6 -6
  95. package/.output/server/_ssr/{EventDetails-6jBbGcbN.mjs → EventDetails-CcuGyU26.mjs} +6 -6
  96. package/.output/server/_ssr/{HashValueDisplay-B4--TU87.mjs → HashValueDisplay-ClkGq5_0.mjs} +2 -2
  97. package/.output/server/_ssr/{InsightsPageHeader-CuJ8N3TQ.mjs → InsightsPageHeader-Bw6RVpdS.mjs} +6 -6
  98. package/.output/server/_ssr/{IosInstall-CHC-d6NT.mjs → IosInstall-DEceeAVT.mjs} +120 -71
  99. package/.output/server/_ssr/{NativeBuildsNav-C69l7uNo.mjs → NativeBuildsNav-ChqRZH4E.mjs} +5 -5
  100. package/.output/server/_ssr/{NotFoundPage-ZsHGzoLS.mjs → NotFoundPage-aZrAWo5n.mjs} +2 -2
  101. package/.output/server/_ssr/{PlatformIcon-BXcpYcrO.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
  102. package/.output/server/_ssr/QrCode-pEaOdaRS.mjs +50 -0
  103. package/.output/server/_ssr/{RelativeTime-7vOoIT4P.mjs → RelativeTime-CFIJbj_r.mjs} +3 -3
  104. package/.output/server/_ssr/{RolloutPercentageBadge--MojdSYZ.mjs → RolloutPercentageBadge-BEqOJXly.mjs} +3 -3
  105. package/.output/server/_ssr/{RowReason-CIaGuzr1.mjs → RowReason-DXbU_Nml.mjs} +4 -4
  106. package/.output/server/_ssr/{SandboxBadge-BqBSRE2-.mjs → SandboxBadge-CP76AVxN.mjs} +2 -2
  107. package/.output/server/_ssr/{TargetDisplay-CLn4k3f5.mjs → TargetDisplay-csC-slf3.mjs} +3 -3
  108. package/.output/server/_ssr/{alert-dialog-DihcZr0y.mjs → alert-dialog-Dn5l3Bob.mjs} +3 -3
  109. package/.output/server/_ssr/{api-nFsUxTG1.mjs → api-W0WerUfm.mjs} +4 -4
  110. package/.output/server/_ssr/{api-keys-CN5wpM3R.mjs → api-keys-Btu37Irf.mjs} +2 -2
  111. package/.output/server/_ssr/{api-keys-DExjZkdx.mjs → api-keys-D7kmFdhY.mjs} +10 -9
  112. package/.output/server/_ssr/{api-keys-rpc-CClIn3D8.mjs → api-keys-rpc-9o4CyzUZ.mjs} +3 -3
  113. package/.output/server/_ssr/{api-rpc-DLRzLoop.mjs → api-rpc-B1HnUZMu.mjs} +13 -13
  114. package/.output/server/_ssr/{auth-rpc-U46OWsbS.mjs → auth-rpc-BBy2L4Ah.mjs} +4 -4
  115. package/.output/server/_ssr/{auth.server-iIXxFs8t.mjs → auth.server-ajvR-m99.mjs} +2 -2
  116. package/.output/server/_ssr/{badge-jnl4Ajh1.mjs → badge-DlEpe8yC.mjs} +1 -1
  117. package/.output/server/_ssr/{card-BEfQk5Ei.mjs → card-AK7Ms1Oa.mjs} +1 -1
  118. package/.output/server/_ssr/{config.server-Ig1eUxaf.mjs → config.server-DswyWSgG.mjs} +4 -4
  119. package/.output/server/_ssr/{console-access-BOTh4-fO.mjs → console-access-DM56j3dM.mjs} +2 -2
  120. package/.output/server/_ssr/{console-features-CzhqrCcX.mjs → console-features-DTYyXrWO.mjs} +1 -1
  121. package/.output/server/_ssr/{console-features-api-Dk02j_6v.mjs → console-features-api-g5s9V5sz.mjs} +4 -4
  122. package/.output/server/_ssr/{console-features-rpc-B_V68MjF.mjs → console-features-rpc-Cnmhvmsk.mjs} +3 -3
  123. package/.output/server/_ssr/{deviceProfileToken-BbLKmrUb.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
  124. package/.output/server/_ssr/{dialog-DuyJ0HsU.mjs → dialog-0oBrR9Cj.mjs} +4 -4
  125. package/.output/server/_ssr/{empty-BDBZwsuM.mjs → empty-tasgkoU9.mjs} +2 -2
  126. package/.output/server/_ssr/{field-CX6srGIn.mjs → field-phtuBLMh.mjs} +2 -2
  127. package/.output/server/_ssr/{input-group-CV_H0YX7.mjs → input-group-BTEoUANX.mjs} +2 -2
  128. package/.output/server/_ssr/{insights-CBoiq6pK.mjs → insights-BBzyKO95.mjs} +2 -2
  129. package/.output/server/_ssr/{insights-Td2VtKJZ.mjs → insights-CPDtpuXg.mjs} +5 -5
  130. package/.output/server/_ssr/{insights-DQmsr9I4.mjs → insights-D4le8l6s.mjs} +25 -20
  131. package/.output/server/_ssr/{insights-api-G8ZOyKKA.mjs → insights-api-D6J2HVtY.mjs} +3 -3
  132. package/.output/server/_ssr/{insights-failures-rpc-Ba4YSjbA.mjs → insights-failures-rpc-ChwlB9sg.mjs} +7 -7
  133. package/.output/server/_ssr/{insights-recovery-rpc-LKbOLo-_.mjs → insights-recovery-rpc-B6_GT-_U.mjs} +4 -4
  134. package/.output/server/_ssr/{insights-rpc-TkflAi0Z.mjs → insights-rpc-DG0GxsIL.mjs} +3 -3
  135. package/.output/server/_ssr/{insights-search-aCzmEqnq.mjs → insights-search-LKeSNr4M.mjs} +2 -2
  136. package/.output/server/_ssr/{insights-usage-rpc-Cbk3jKjA.mjs → insights-usage-rpc-I0Eh5Z89.mjs} +4 -4
  137. package/.output/server/_ssr/{insights-usage-rpc-NoT-iWyp.mjs → insights-usage-rpc-qnQWkNn2.mjs} +3 -3
  138. package/.output/server/_ssr/{insights_.distribution-Y3uFkJMX.mjs → insights_.distribution-BF99IaZu.mjs} +5 -5
  139. package/.output/server/_ssr/{insights_.distribution-Vt7W1Xw7.mjs → insights_.distribution-D2dZwvqQ.mjs} +2 -2
  140. package/.output/server/_ssr/{insights_.distribution-Bo1WRLKV.mjs → insights_.distribution-Dgv-_T7g.mjs} +14 -14
  141. package/.output/server/_ssr/{installations-BpcY3NSj.mjs → installations-BHjU8FUI.mjs} +2 -2
  142. package/.output/server/_ssr/{installations-DClqNAQn.mjs → installations-C7TindNY.mjs} +4 -4
  143. package/.output/server/_ssr/{installations-BEUOlOQs.mjs → installations-DVTUpBGI.mjs} +11 -11
  144. package/.output/server/_ssr/{ios-devices-rpc-DmjO2Cbe.mjs → ios-devices-rpc-KtosHTCC.mjs} +9 -21
  145. package/.output/server/_ssr/iosDeviceCookie-B-8c7lMJ.mjs +155 -0
  146. package/.output/server/_ssr/{iosDeviceProfile-CseUPyC3.mjs → iosDeviceProfile-CIEuY_kV.mjs} +13 -14
  147. package/.output/server/_ssr/{iosDevices-BcM0YdL8.mjs → iosDevices-CkLgS8_U.mjs} +4 -20
  148. package/.output/server/_ssr/{native-artifact-C-jGiTjz.mjs → native-artifact-BRNP_q-y.mjs} +1 -1
  149. package/.output/server/_ssr/{native-builds-CwdDL-ag.mjs → native-builds-3WEAnb93.mjs} +16 -16
  150. package/.output/server/_ssr/{native-builds-B31AnQ0z.mjs → native-builds-B6rWkcHL.mjs} +3 -3
  151. package/.output/server/_ssr/{native-builds-DjoHvBQf.mjs → native-builds-nRuXKypG.mjs} +63 -2
  152. package/.output/server/_ssr/{native-builds_._buildId-Dew-f4Ox.mjs → native-builds_._buildId-BaykQRJl.mjs} +3 -3
  153. package/.output/server/_ssr/{native-builds_._buildId-xNxhulXv.mjs → native-builds_._buildId-RFJXyul0.mjs} +18 -25
  154. package/.output/server/_ssr/{native-builds_.devices-BBWNnbAj.mjs → native-builds_.devices-BzkeAX0K.mjs} +121 -67
  155. package/.output/server/_ssr/{native-builds_.devices-DpYGqdjz.mjs → native-builds_.devices-D9EGVV1N.mjs} +3 -3
  156. package/.output/server/_ssr/{nativeBuildDownloadLink-CMo_0eeE.mjs → nativeBuildDownloadLink-A1aWZBDw.mjs} +2 -2
  157. package/.output/server/_ssr/{nativeBuildInstall-BlT6X49f.mjs → nativeBuildInstall-XzMDX9iY.mjs} +8 -7
  158. package/.output/server/_ssr/{nativeBuilds-DnIRDijn.mjs → nativeBuilds-DaF-TcfO.mjs} +2 -2
  159. package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
  160. package/.output/server/_ssr/{publicConsoleBase-CBG0Pv8f.mjs → publicConsoleBase-wTKw3_iB.mjs} +2 -14
  161. package/.output/server/_ssr/{release-adoption-rpc-CNwUfrya.mjs → release-adoption-rpc-DoDlwfWB.mjs} +7 -7
  162. package/.output/server/_ssr/{releaseAdoption-COlUf2W5.mjs → releaseAdoption-DfEYq7I4.mjs} +1 -1
  163. package/.output/server/_ssr/{remote-config-DdcrliiZ.mjs → remote-config-6lhdA4DB.mjs} +18 -18
  164. package/.output/server/_ssr/{remote-config-D1X_UwRB.mjs → remote-config-BMg2UurZ.mjs} +2 -2
  165. package/.output/server/_ssr/{remote-config-rpc-oR3e-Ixt.mjs → remote-config-rpc-Ddg8dyxw.mjs} +3 -3
  166. package/.output/server/_ssr/{remote-config-7NN5w0OC.mjs → remote-config-u_T4AXyi.mjs} +2 -2
  167. package/.output/server/_ssr/{router-DxsgaBqH.mjs → router-CovCAswJ.mjs} +100 -60
  168. package/.output/server/_ssr/{routes-BXne94ak.mjs → routes-CTUvEVa6.mjs} +36 -32
  169. package/.output/server/_ssr/{routes-DdZw0VC5.mjs → routes-DtkONaBi.mjs} +10 -9
  170. package/.output/server/_ssr/{runtime.server-DImJAltO.mjs → runtime.server-BUbb281Z.mjs} +2 -2
  171. package/.output/server/_ssr/{schema-migration-rpc-BZueLWKW.mjs → schema-migration-rpc-DvmruDB6.mjs} +3 -3
  172. package/.output/server/_ssr/{select-DcWzmCb3.mjs → select-DJLTQgmc.mjs} +1 -1
  173. package/.output/server/_ssr/{server-DA_rB8Ch.mjs → server-BfWxoIjf.mjs} +4 -4
  174. package/.output/server/_ssr/{sidebar-BsFYs26D.mjs → sidebar-Bsfqid7Q.mjs} +6 -6
  175. package/.output/server/_ssr/ssr.mjs +1 -1
  176. package/.output/server/_ssr/{start-Ds6WPOwH.mjs → start-BaUpXI0L.mjs} +1 -1
  177. package/.output/server/_ssr/{switch-CByCMAau.mjs → switch-DckZkZBS.mjs} +3 -3
  178. package/.output/server/_ssr/{table-SLiL-w8T.mjs → table-DG8aRQBO.mjs} +1 -1
  179. package/.output/server/_ssr/{tabs-BCG8AAvJ.mjs → tabs-Dblh3lL2.mjs} +2 -2
  180. package/.output/server/_ssr/{updateFailures-Cl1Fxj4J.mjs → updateFailures-BwDwIoNu.mjs} +1 -1
  181. package/.output/server/_tanstack-start-manifest_v-CfDH9vVq.mjs +225 -0
  182. package/.output/server/index.mjs +436 -436
  183. package/package.json +7 -7
  184. package/src/components/AppSidebar.tsx +11 -2
  185. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  186. package/src/components/features/bundles/BundleMetadata.tsx +1 -1
  187. package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
  188. package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
  189. package/src/components/features/insights/FailureReports.tsx +1 -0
  190. package/src/components/features/insights/InsightsOverview.tsx +7 -1
  191. package/src/components/features/insights/ReleaseActivity.tsx +5 -1
  192. package/src/components/features/insights/UpdateFailures.tsx +1 -0
  193. package/src/components/features/native-builds/IosDevicesPage.tsx +113 -34
  194. package/src/components/features/native-builds/IosInstall.tsx +50 -27
  195. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
  196. package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
  197. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
  198. package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
  199. package/src/components/ui/alert-dialog.tsx +2 -2
  200. package/src/components/ui/dialog.tsx +3 -3
  201. package/src/components/ui/input.tsx +1 -1
  202. package/src/components/ui/sheet.tsx +1 -1
  203. package/src/components/ui/sidebar.tsx +2 -2
  204. package/src/components/ui/slider.tsx +1 -1
  205. package/src/components/ui/switch.tsx +1 -1
  206. package/src/components/ui/textarea.tsx +1 -1
  207. package/src/lib/ios-devices-api.ts +133 -5
  208. package/src/lib/ios-devices-rpc.ts +0 -12
  209. package/src/lib/native-builds.ts +88 -0
  210. package/src/lib/server/deviceProfileToken.ts +37 -3
  211. package/src/lib/server/iosDeviceCookie.ts +239 -0
  212. package/src/lib/server/iosDeviceProfile.ts +4 -2
  213. package/src/lib/server/iosDevices.ts +0 -30
  214. package/src/routeTree.gen.ts +44 -0
  215. package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
  216. package/src/routes/[_]hot-updater/devices/request.ts +28 -0
  217. package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
  218. package/.output/public/assets/IosInstall-B-Yt7DUj.js +0 -1
  219. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
  220. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
  221. package/.output/public/assets/TargetDisplay-B_dqT5iw.js +0 -1
  222. package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
  223. package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
  224. package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
  225. package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
  226. package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
  227. package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
  228. package/.output/public/assets/check-CqWNyG93.js +0 -1
  229. package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
  230. package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
  231. package/.output/public/assets/index-IK43LiLE.js +0 -10
  232. package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
  233. package/.output/public/assets/insights-C94CdeAA.js +0 -1
  234. package/.output/public/assets/insights-DILMVpk8.js +0 -2
  235. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
  236. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
  237. package/.output/public/assets/installations-BA01mqJE.js +0 -1
  238. package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
  239. package/.output/public/assets/native-builds-C-Dayo63.js +0 -2
  240. package/.output/public/assets/native-builds-_3SRMVOS.js +0 -1
  241. package/.output/public/assets/native-builds_._buildId-BPJzn5LY.js +0 -2
  242. package/.output/public/assets/native-builds_._buildId-DJWMBKQQ.js +0 -1
  243. package/.output/public/assets/native-builds_.devices-BbE0s2il.js +0 -1
  244. package/.output/public/assets/native-builds_.devices-BiXjrMS-.js +0 -2
  245. package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
  246. package/.output/public/assets/plus-Db0KxLZp.js +0 -1
  247. package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
  248. package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
  249. package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
  250. package/.output/public/assets/routes-CH42g1N9.js +0 -1
  251. package/.output/public/assets/routes-_QhVAS_l.js +0 -2
  252. package/.output/public/assets/search-dJG2BYmx.js +0 -1
  253. package/.output/public/assets/send-DuMOCzbD.js +0 -1
  254. package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
  255. package/.output/public/assets/styles-BYO5PJYg.css +0 -2
  256. package/.output/server/_tanstack-start-manifest_v-BoMD43wU.mjs +0 -225
  257. /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-BsFYs26D.mjs";
6
- import { t as consoleAccess } from "./console-access-BOTh4-fO.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-jnl4Ajh1.mjs";
11
- import { a as FieldLabel, n as FieldDescription, r as FieldError, t as Field } from "./field-CX6srGIn.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-DjoHvBQf.mjs";
13
- import { m as useNativeBuildInstallEligibilityQuery } from "./api-nFsUxTG1.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-CHC-d6NT.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",
@@ -105,11 +63,6 @@ var createIosDeviceProfileLink = createServerFn({ method: "POST" }).middleware([
105
63
  };
106
64
  throw new TypeError("Invalid mode.");
107
65
  }).handler(createSsrRpc("4b173c2b2f5ea074a1f10862282308f11f5a043c044d64b6f63e6a29d571ec64"));
108
- /** Requests the iPhone this person's receipt names, for the next ad hoc build. */
109
- var requestIosDeviceAccess = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
110
- receipt: text(input, "receipt"),
111
- name: text(input, "name", 100)
112
- })).handler(createSsrRpc("24005564c8e58dbdeadba89e3f567255a991f5695359cbcc2e8392e033dac8e1"));
113
66
  /** Approves a requested device, with its name: approvers only. */
114
67
  var approveIosDevice = createServerFn({ method: "POST" }).middleware([consoleAccess]).validator((input) => ({
115
68
  id: text(input, "id", 36),
@@ -139,6 +92,12 @@ var iosDeviceKeys = {
139
92
  "device",
140
93
  udid
141
94
  ],
95
+ kept: (udid, receipt) => [
96
+ "ios-devices",
97
+ "kept",
98
+ udid,
99
+ receipt ?? ""
100
+ ],
142
101
  ipa: (buildId) => ["native-build-ipa-devices", buildId]
143
102
  };
144
103
  /**
@@ -204,7 +163,94 @@ var useInvalidatingMutation = (mutationFn) => {
204
163
  var useApproveIosDeviceMutation = () => useInvalidatingMutation((input) => approveIosDevice({ data: input }));
205
164
  var useRenameIosDeviceMutation = () => useInvalidatingMutation((input) => renameIosDevice({ data: input }));
206
165
  var useRemoveIosDeviceMutation = () => useInvalidatingMutation((input) => removeIosDevice({ data: input }));
207
- 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();
208
254
  /**
209
255
  * What an install does to the App Store's copy of the app on this iPhone, with
210
256
  * the same bundle ID. The one line to change after trying it on a real iPhone.
@@ -263,24 +309,20 @@ var useIosDevice = () => {
263
309
  if (fragment.udid !== null && answered) {
264
310
  answers += 1;
265
311
  keep(IOS_UDID_STORAGE_KEY, fragment.udid);
266
- if (fragment.receipt !== null) keep(IOS_DEVICE_RECEIPT_STORAGE_KEY, JSON.stringify({
267
- udid: fragment.udid,
268
- receipt: fragment.receipt
269
- }));
312
+ if (fragment.receipt !== null) {
313
+ holdPendingReceipt(fragment.udid, fragment.receipt);
314
+ keepIosDeviceReceipt(consolePathOfNativeBuildsPage(window.location), fragment.receipt).catch(() => void 0);
315
+ }
270
316
  }
271
317
  if (fragment.udid !== null && window.location.hash !== "") window.history.replaceState(window.history.state, "", `${window.location.pathname}${window.location.search}`);
272
318
  };
273
319
  absorb(passed);
320
+ try {
321
+ window.localStorage.removeItem(IOS_DEVICE_RECEIPT_STORAGE_KEY);
322
+ } catch {}
274
323
  const read = () => {
275
324
  const udid = valid(readKept("hot-updater-ios-udid")) ?? latest.udid;
276
- let receipt = null;
277
- try {
278
- const kept = JSON.parse(readKept("hot-updater-ios-device-receipt") ?? "null");
279
- receipt = kept?.udid === udid && typeof kept?.receipt === "string" ? kept.receipt : null;
280
- } catch {
281
- receipt = null;
282
- }
283
- if (receipt === null && latest.udid === udid) receipt = latest.receipt;
325
+ const receipt = (latest.udid === udid ? latest.receipt : null) ?? readPendingReceipt(udid);
284
326
  const requested = latest.requested;
285
327
  const taken = answers;
286
328
  setDevice((current) => current !== null && current.udid === udid && current.receipt === receipt && current.requested === requested && current.answers === taken ? current : {
@@ -293,7 +335,7 @@ var useIosDevice = () => {
293
335
  };
294
336
  read();
295
337
  const onStorage = (event) => {
296
- 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();
297
339
  };
298
340
  const onReturn = () => {
299
341
  const fragment = fragmentOf();
@@ -459,7 +501,10 @@ function AppleRefusal({ device, canApprove, onDevicesPage = false }) {
459
501
  * Request access, which takes the UDID from this person's receipt alone.
460
502
  */
461
503
  function NotInThisBuild({ build, device, registry, newerBuild, canApprove, registryReadAt }) {
462
- 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);
463
508
  const [name, setName] = (0, import_react.useState)("");
464
509
  const [requested, setRequested] = (0, import_react.useState)(null);
465
510
  const standIn = requested !== null && registryReadAt <= requested.readBefore;
@@ -498,7 +543,11 @@ function NotInThisBuild({ build, device, registry, newerBuild, canApprove, regis
498
543
  ]
499
544
  });
500
545
  }
501
- 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", {
502
551
  className: "flex min-w-0 flex-col gap-3",
503
552
  children: [
504
553
  heading,
@@ -656,4 +705,4 @@ function IosInstall({ build, device }) {
656
705
  });
657
706
  }
658
707
  //#endregion
659
- export { useApproveIosDeviceMutation as a, useIosDeviceQuery as c, useRemoveIosDeviceMutation as d, useRenameIosDeviceMutation as f, iosDeviceKeys as i, useIosDevicesQuery as l, IosInstall as n, useIosDevice as o, QrCode as r, useIosDeviceProfileLinkQuery as s, AppleRefusal as t, useNativeBuildIpaDevicesQuery as u };
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-BsFYs26D.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-BCG8AAvJ.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/NativeBuildsNav-C69l7uNo.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-BsFYs26D.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-ZsHGzoLS.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-BXcpYcrO.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,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-BsFYs26D.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-SLiL-w8T.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-7vOoIT4P.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());
@@ -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-BsFYs26D.mjs";
5
- import { a as Badge } from "./badge-jnl4Ajh1.mjs";
4
+ import { k as cn } from "./sidebar-Bsfqid7Q.mjs";
5
+ import { a as Badge } from "./badge-DlEpe8yC.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--MojdSYZ.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-BsFYs26D.mjs";
5
- import { o as TableRow, r as TableCell } from "./table-SLiL-w8T.mjs";
6
- import { a as DataTableBody } from "./RelativeTime-7vOoIT4P.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/RowReason-CIaGuzr1.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-jnl4Ajh1.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-BqBSRE2-.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-BsFYs26D.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-B4--TU87.mjs";
6
- //#region node_modules/.nitro/vite/services/ssr/assets/TargetDisplay-CLn4k3f5.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 }) {
@@ -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-BsFYs26D.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
  }
@@ -1,11 +1,11 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { A as createSsrRpc } from "./sidebar-BsFYs26D.mjs";
3
- import { t as consoleAccess } from "./console-access-BOTh4-fO.mjs";
2
+ import { A as createSsrRpc } from "./sidebar-Bsfqid7Q.mjs";
3
+ import { t as consoleAccess } from "./console-access-DM56j3dM.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
- import { l as channelIdOf } from "./native-builds-DjoHvBQf.mjs";
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-nFsUxTG1.js
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-W0WerUfm.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,5 +1,5 @@
1
- import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DPX24kXX.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-CN5wpM3R.js
1
+ import { t as ConsoleFeatureUnavailable } from "./ConsoleFeatureUnavailable-DWuWwY4L.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-Btu37Irf.js
3
3
  var SplitNotFoundComponent = ConsoleFeatureUnavailable;
4
4
  //#endregion
5
5
  export { SplitNotFoundComponent as notFoundComponent };
@@ -2,17 +2,17 @@ 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, 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-BsFYs26D.mjs";
6
- import { t as consoleAccess } from "./console-access-BOTh4-fO.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";
7
7
  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-BEfQk5Ei.mjs";
9
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jnl4Ajh1.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-DihcZr0y.mjs";
11
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DuyJ0HsU.mjs";
12
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CX6srGIn.mjs";
13
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-SLiL-w8T.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-DExjZkdx.js
15
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-D7kmFdhY.js
16
16
  var import_react = /* @__PURE__ */ __toESM(require_react());
17
17
  var import_jsx_runtime = require_jsx_runtime();
18
18
  var parseName = (input) => {
@@ -89,6 +89,7 @@ function CreateApiKeyDialog() {
89
89
  }
90
90
  };
91
91
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
92
+ className: "max-md:h-11",
92
93
  onClick: () => setOpen(true),
93
94
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Plus, { "data-icon": "inline-start" }), "Create API key"]
94
95
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Dialog$1, {
@@ -1,7 +1,7 @@
1
1
  import { l as createServerFn } from "./createServerFn-AQvBMBjJ.mjs";
2
- import { t as consoleAccess } from "./console-access-BOTh4-fO.mjs";
2
+ import { t as consoleAccess } from "./console-access-DM56j3dM.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-CClIn3D8.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/api-keys-rpc-9o4CyzUZ.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-Ig1eUxaf.mjs"), import("./runtime.server-DImJAltO.mjs")]);
17
+ const [{ prepareConfig }, { requireFeature }] = await Promise.all([import("./config.server-DswyWSgG.mjs"), import("./runtime.server-BUbb281Z.mjs")]);
18
18
  const { runtime } = await prepareConfig();
19
19
  return requireFeature(runtime, "apiKeys");
20
20
  };