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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) 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-CyQoQkYs.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-DFWS-HcW.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-BATHTZWn.js} +1 -1
  10. package/.output/public/assets/IosInstall-DsKczesK.js +1 -0
  11. package/.output/public/assets/NativeBuildsNav-D3FIlSu0.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-C_u_ZmPS.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-BZVWufH3.js +10 -0
  43. package/.output/public/assets/input-group-DNfVeeYZ.js +1 -0
  44. package/.output/public/assets/{insights-_j_ieOyh.js → insights-Bm4Kua5R.js} +2 -2
  45. package/.output/public/assets/insights-CpnFoyo5.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-Bjo0aQE4.js} +1 -1
  51. package/.output/public/assets/insights_.distribution-Dd2mYz8D.js +2 -0
  52. package/.output/public/assets/insights_.distribution-REbBAqgL.js +1 -0
  53. package/.output/public/assets/{installations-BsD6LgNc.js → installations-DYT2mSjX.js} +2 -2
  54. package/.output/public/assets/installations-Di02gX_V.js +1 -0
  55. package/.output/public/assets/{installations-CYTzndfP.js → installations-iqDa8KPW.js} +1 -1
  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-7sC78eTq.js +1 -0
  61. package/.output/public/assets/native-builds-BOSmoLed.js +1 -0
  62. package/.output/public/assets/native-builds-CXDwW54k.js +2 -0
  63. package/.output/public/assets/native-builds_._buildId-C7-yUwvH.js +2 -0
  64. package/.output/public/assets/native-builds_._buildId-u5dG7ej5.js +1 -0
  65. package/.output/public/assets/native-builds_.devices-CQ_tB3SO.js +1 -0
  66. package/.output/public/assets/native-builds_.devices-C_YZoRxB.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-BbiN7bGR.js +6 -0
  72. package/.output/public/assets/remote-config-BhdrBpLM.js +1 -0
  73. package/.output/public/assets/remote-config-Dmuqm9xx.js +1 -0
  74. package/.output/public/assets/{rotate-cw-Ba-slJea.js → rotate-cw-Bn3fIWmY.js} +1 -1
  75. package/.output/public/assets/routes-C4MTDNA3.js +2 -0
  76. package/.output/public/assets/routes-Cjjfwbs_.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-CQNxu86i.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-BBfg-c0h.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-DBw1tYEH.mjs} +58 -62
  90. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  91. package/.output/server/_libs/_.mjs +1 -1
  92. package/.output/server/_ssr/{-native-builds-search-DD7wilC0.mjs → -native-builds-search-OJ8XmaBa.mjs} +1 -1
  93. package/.output/server/_ssr/{BundleIdDisplay-CHwdLSxI.mjs → BundleIdDisplay-DsNg19E8.mjs} +2 -2
  94. package/.output/server/_ssr/{ChannelBadge-DdrhdvMM.mjs → ChannelBadge-DWQcxohs.mjs} +3 -3
  95. package/.output/server/_ssr/{ConsoleFeatureUnavailable-DPX24kXX.mjs → ConsoleFeatureUnavailable-CfcFJ4k4.mjs} +6 -6
  96. package/.output/server/_ssr/{EventDetails-6jBbGcbN.mjs → EventDetails-DJYShaIG.mjs} +6 -6
  97. package/.output/server/_ssr/{HashValueDisplay-B4--TU87.mjs → HashValueDisplay-B7FFJcIK.mjs} +2 -2
  98. package/.output/server/_ssr/{InsightsPageHeader-CuJ8N3TQ.mjs → InsightsPageHeader-CaceslcD.mjs} +6 -6
  99. package/.output/server/_ssr/{IosInstall-CHC-d6NT.mjs → IosInstall-gEVi9PFl.mjs} +164 -72
  100. package/.output/server/_ssr/{NativeBuildsNav-C69l7uNo.mjs → NativeBuildsNav-DoB6DGO2.mjs} +5 -5
  101. package/.output/server/_ssr/{NotFoundPage-ZsHGzoLS.mjs → NotFoundPage-Bu3yot-M.mjs} +2 -2
  102. package/.output/server/_ssr/{PlatformIcon-BXcpYcrO.mjs → PlatformIcon-X18AN8Yp.mjs} +1 -1
  103. package/.output/server/_ssr/QrCode-DkmvYkKS.mjs +50 -0
  104. package/.output/server/_ssr/{RelativeTime-7vOoIT4P.mjs → RelativeTime-Dg47Cmmt.mjs} +3 -3
  105. package/.output/server/_ssr/{RolloutPercentageBadge--MojdSYZ.mjs → RolloutPercentageBadge-CcEZuUxL.mjs} +3 -3
  106. package/.output/server/_ssr/{RowReason-CIaGuzr1.mjs → RowReason-CbKEYA9N.mjs} +4 -4
  107. package/.output/server/_ssr/{SandboxBadge-BqBSRE2-.mjs → SandboxBadge-CuTOlGaF.mjs} +2 -2
  108. package/.output/server/_ssr/{TargetDisplay-CLn4k3f5.mjs → TargetDisplay-DkRZwhNW.mjs} +3 -3
  109. package/.output/server/_ssr/{alert-dialog-DihcZr0y.mjs → alert-dialog-Ckdomw6e.mjs} +3 -3
  110. package/.output/server/_ssr/{api-nFsUxTG1.mjs → api-BIDpAoY0.mjs} +4 -4
  111. package/.output/server/_ssr/{api-keys-DExjZkdx.mjs → api-keys-BStTPcTe.mjs} +11 -9
  112. package/.output/server/_ssr/{api-keys-CN5wpM3R.mjs → api-keys-MdcfK9Zw.mjs} +2 -2
  113. package/.output/server/_ssr/{api-keys-rpc-CClIn3D8.mjs → api-keys-rpc-FwkHHfJL.mjs} +3 -3
  114. package/.output/server/_ssr/{api-rpc-DLRzLoop.mjs → api-rpc-DI164kWO.mjs} +13 -13
  115. package/.output/server/_ssr/{auth-rpc-U46OWsbS.mjs → auth-rpc-DOONC4Xw.mjs} +4 -4
  116. package/.output/server/_ssr/{auth.server-iIXxFs8t.mjs → auth.server-MkFb8t-c.mjs} +2 -2
  117. package/.output/server/_ssr/{badge-jnl4Ajh1.mjs → badge-MGJQ5WNb.mjs} +1 -1
  118. package/.output/server/_ssr/{card-BEfQk5Ei.mjs → card-st1F0w5g.mjs} +1 -1
  119. package/.output/server/_ssr/{config.server-Ig1eUxaf.mjs → config.server-A4yZxfTn.mjs} +4 -4
  120. package/.output/server/_ssr/{console-access-BOTh4-fO.mjs → console-access-Cj95NxRZ.mjs} +2 -2
  121. package/.output/server/_ssr/{console-features-CzhqrCcX.mjs → console-features-DTYyXrWO.mjs} +1 -1
  122. package/.output/server/_ssr/{console-features-api-Dk02j_6v.mjs → console-features-api-WvvE114Q.mjs} +5 -5
  123. package/.output/server/_ssr/{console-features-rpc-B_V68MjF.mjs → console-features-rpc-DxhmScBd.mjs} +3 -3
  124. package/.output/server/_ssr/{deviceProfileToken-BbLKmrUb.mjs → deviceProfileToken-xzDLfE0T.mjs} +21 -5
  125. package/.output/server/_ssr/{dialog-DuyJ0HsU.mjs → dialog-jxN7lCij.mjs} +4 -4
  126. package/.output/server/_ssr/{empty-BDBZwsuM.mjs → empty-Dfmlc-7_.mjs} +2 -2
  127. package/.output/server/_ssr/{field-CX6srGIn.mjs → field-BrPlhj0S.mjs} +2 -2
  128. package/.output/server/_ssr/{input-group-CV_H0YX7.mjs → input-group-Ckaa4ML0.mjs} +2 -2
  129. package/.output/server/_ssr/{insights-CBoiq6pK.mjs → insights-BX9okQmy.mjs} +2 -2
  130. package/.output/server/_ssr/{insights-DQmsr9I4.mjs → insights-CmbOo4Er.mjs} +29 -24
  131. package/.output/server/_ssr/{insights-Td2VtKJZ.mjs → insights-DHvN6knB.mjs} +5 -5
  132. package/.output/server/_ssr/{insights-api-G8ZOyKKA.mjs → insights-api-t8rcSzVu.mjs} +3 -3
  133. package/.output/server/_ssr/{insights-failures-rpc-Ba4YSjbA.mjs → insights-failures-rpc-DadwsaxJ.mjs} +7 -7
  134. package/.output/server/_ssr/{insights-recovery-rpc-LKbOLo-_.mjs → insights-recovery-rpc-BK-RELe9.mjs} +4 -4
  135. package/.output/server/_ssr/{insights-rpc-TkflAi0Z.mjs → insights-rpc-BmDuFOYA.mjs} +3 -3
  136. package/.output/server/_ssr/{insights-search-aCzmEqnq.mjs → insights-search-CQ0aMRHX.mjs} +2 -2
  137. package/.output/server/_ssr/{insights-usage-rpc-Cbk3jKjA.mjs → insights-usage-rpc-CkeNir2v.mjs} +4 -4
  138. package/.output/server/_ssr/{insights-usage-rpc-NoT-iWyp.mjs → insights-usage-rpc-JhBWMZfn.mjs} +3 -3
  139. package/.output/server/_ssr/{insights_.distribution-Bo1WRLKV.mjs → insights_.distribution-BtGiM-F8.mjs} +15 -15
  140. package/.output/server/_ssr/{insights_.distribution-Vt7W1Xw7.mjs → insights_.distribution-CEldmJz1.mjs} +2 -2
  141. package/.output/server/_ssr/{insights_.distribution-Y3uFkJMX.mjs → insights_.distribution-DlBTOrjk.mjs} +5 -5
  142. package/.output/server/_ssr/{installations-BEUOlOQs.mjs → installations-3fgKUnRv.mjs} +11 -11
  143. package/.output/server/_ssr/{installations-BpcY3NSj.mjs → installations-DHbd6gfU.mjs} +2 -2
  144. package/.output/server/_ssr/{installations-DClqNAQn.mjs → installations-oBJc0TH1.mjs} +4 -4
  145. package/.output/server/_ssr/{ios-devices-rpc-DmjO2Cbe.mjs → ios-devices-rpc-DjlS64L9.mjs} +9 -21
  146. package/.output/server/_ssr/iosDeviceCookie-Ccxr1MR8.mjs +155 -0
  147. package/.output/server/_ssr/{iosDeviceProfile-CseUPyC3.mjs → iosDeviceProfile-nEW-zQnl.mjs} +13 -14
  148. package/.output/server/_ssr/{iosDevices-BcM0YdL8.mjs → iosDevices-gG7HCnCL.mjs} +4 -20
  149. package/.output/server/_ssr/{native-artifact-C-jGiTjz.mjs → native-artifact-BRNP_q-y.mjs} +1 -1
  150. package/.output/server/_ssr/{native-builds-CwdDL-ag.mjs → native-builds-Be2Ga-eY.mjs} +17 -17
  151. package/.output/server/_ssr/{native-builds-B31AnQ0z.mjs → native-builds-mq_fr3k0.mjs} +3 -3
  152. package/.output/server/_ssr/{native-builds-DjoHvBQf.mjs → native-builds-nRuXKypG.mjs} +63 -2
  153. package/.output/server/_ssr/{native-builds_._buildId-Dew-f4Ox.mjs → native-builds_._buildId-Cq-3MWHV.mjs} +3 -3
  154. package/.output/server/_ssr/{native-builds_._buildId-xNxhulXv.mjs → native-builds_._buildId-Du028raJ.mjs} +20 -27
  155. package/.output/server/_ssr/{native-builds_.devices-BBWNnbAj.mjs → native-builds_.devices-CWOFxrsg.mjs} +120 -68
  156. package/.output/server/_ssr/{native-builds_.devices-DpYGqdjz.mjs → native-builds_.devices-DVBT3gKp.mjs} +3 -3
  157. package/.output/server/_ssr/{nativeBuildDownloadLink-CMo_0eeE.mjs → nativeBuildDownloadLink-BXFMIxJ8.mjs} +2 -2
  158. package/.output/server/_ssr/{nativeBuildInstall-BlT6X49f.mjs → nativeBuildInstall-CjG3sJmP.mjs} +8 -7
  159. package/.output/server/_ssr/{nativeBuilds-DnIRDijn.mjs → nativeBuilds-DaF-TcfO.mjs} +2 -2
  160. package/.output/server/_ssr/plistText-DkzlCfPI.mjs +15 -0
  161. package/.output/server/_ssr/{publicConsoleBase-CBG0Pv8f.mjs → publicConsoleBase-wTKw3_iB.mjs} +2 -14
  162. package/.output/server/_ssr/{release-adoption-rpc-CNwUfrya.mjs → release-adoption-rpc-BiUppdo3.mjs} +7 -7
  163. package/.output/server/_ssr/{releaseAdoption-COlUf2W5.mjs → releaseAdoption-DfEYq7I4.mjs} +1 -1
  164. package/.output/server/_ssr/{remote-config-D1X_UwRB.mjs → remote-config-8SDPC3Ex.mjs} +2 -2
  165. package/.output/server/_ssr/{remote-config-7NN5w0OC.mjs → remote-config-CKjwym6Y.mjs} +2 -2
  166. package/.output/server/_ssr/{remote-config-DdcrliiZ.mjs → remote-config-MgYpLVNI.mjs} +19 -19
  167. package/.output/server/_ssr/{remote-config-rpc-oR3e-Ixt.mjs → remote-config-rpc-RoH5hIma.mjs} +3 -3
  168. package/.output/server/_ssr/{router-DxsgaBqH.mjs → router-DaSGo-53.mjs} +101 -61
  169. package/.output/server/_ssr/{routes-BXne94ak.mjs → routes-2wXfjE3q.mjs} +37 -33
  170. package/.output/server/_ssr/{routes-DdZw0VC5.mjs → routes-Y7SrNegl.mjs} +11 -10
  171. package/.output/server/_ssr/{runtime.server-DImJAltO.mjs → runtime.server-BUbb281Z.mjs} +2 -2
  172. package/.output/server/_ssr/{schema-migration-rpc-BZueLWKW.mjs → schema-migration-rpc-C302GUdI.mjs} +3 -3
  173. package/.output/server/_ssr/{select-DcWzmCb3.mjs → select-DsWMUB9T.mjs} +1 -1
  174. package/.output/server/_ssr/{server-DA_rB8Ch.mjs → server-Bx_Shfka.mjs} +4 -4
  175. package/.output/server/_ssr/{sidebar-BsFYs26D.mjs → sidebar-S1E-7aSS.mjs} +6 -6
  176. package/.output/server/_ssr/ssr.mjs +1 -1
  177. package/.output/server/_ssr/{start-Ds6WPOwH.mjs → start-BaUpXI0L.mjs} +1 -1
  178. package/.output/server/_ssr/{switch-CByCMAau.mjs → switch-DMCgvrFu.mjs} +3 -3
  179. package/.output/server/_ssr/{table-SLiL-w8T.mjs → table-BN3AmMyY.mjs} +1 -1
  180. package/.output/server/_ssr/{tabs-BCG8AAvJ.mjs → tabs-D3tzMdsj.mjs} +3 -3
  181. package/.output/server/_ssr/{updateFailures-Cl1Fxj4J.mjs → updateFailures-BwDwIoNu.mjs} +1 -1
  182. package/.output/server/_tanstack-start-manifest_v-DcKFR9bk.mjs +225 -0
  183. package/.output/server/index.mjs +431 -431
  184. package/package.json +7 -7
  185. package/src/components/AppSidebar.tsx +11 -2
  186. package/src/components/features/api-keys/ApiKeysPage.tsx +4 -2
  187. package/src/components/features/bundles/BundleMetadata.tsx +1 -1
  188. package/src/components/features/bundles/RolloutCohortsDialog.tsx +8 -1
  189. package/src/components/features/channels/ChannelManagementDialog.tsx +6 -2
  190. package/src/components/features/insights/FailureReports.tsx +3 -2
  191. package/src/components/features/insights/InsightsOverview.tsx +7 -1
  192. package/src/components/features/insights/ReleaseActivity.tsx +5 -1
  193. package/src/components/features/insights/ReleaseCombobox.tsx +1 -1
  194. package/src/components/features/insights/UpdateFailures.tsx +1 -0
  195. package/src/components/features/native-builds/BuiltInBundleCard.tsx +1 -1
  196. package/src/components/features/native-builds/IosDevicesPage.tsx +120 -34
  197. package/src/components/features/native-builds/IosInstall.tsx +85 -27
  198. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +1 -2
  199. package/src/components/features/native-builds/NativeBuildsNav.tsx +2 -2
  200. package/src/components/features/native-builds/NativeBuildsTable.tsx +1 -1
  201. package/src/components/features/native-builds/ReleaseNativeBuildLink.tsx +1 -1
  202. package/src/components/features/releases/ReleaseEditorSheet.tsx +6 -5
  203. package/src/components/ui/alert-dialog.tsx +2 -2
  204. package/src/components/ui/dialog.tsx +3 -3
  205. package/src/components/ui/input.tsx +1 -1
  206. package/src/components/ui/sheet.tsx +1 -1
  207. package/src/components/ui/sidebar.tsx +2 -2
  208. package/src/components/ui/slider.tsx +1 -1
  209. package/src/components/ui/switch.tsx +1 -1
  210. package/src/components/ui/tabs.tsx +1 -1
  211. package/src/components/ui/textarea.tsx +1 -1
  212. package/src/lib/ios-devices-api.ts +170 -5
  213. package/src/lib/ios-devices-rpc.ts +0 -12
  214. package/src/lib/native-builds.ts +88 -0
  215. package/src/lib/server/deviceProfileToken.ts +37 -3
  216. package/src/lib/server/iosDeviceCookie.ts +239 -0
  217. package/src/lib/server/iosDeviceProfile.ts +4 -2
  218. package/src/lib/server/iosDevices.ts +0 -30
  219. package/src/routeTree.gen.ts +44 -0
  220. package/src/routes/[_]hot-updater/devices/receipt.ts +28 -0
  221. package/src/routes/[_]hot-updater/devices/request.ts +28 -0
  222. package/.output/public/assets/-native-builds-search-DdHwfe4q.js +0 -1
  223. package/.output/public/assets/IosInstall-B-Yt7DUj.js +0 -1
  224. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +0 -1
  225. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +0 -1
  226. package/.output/public/assets/TargetDisplay-B_dqT5iw.js +0 -1
  227. package/.output/public/assets/alert-dialog-Ch0QxRsa.js +0 -1
  228. package/.output/public/assets/api-keys-DLC8jjaM.js +0 -1
  229. package/.output/public/assets/api-keys-eDnzgFAf.js +0 -1
  230. package/.output/public/assets/arrow-left-DQjHJAnT.js +0 -1
  231. package/.output/public/assets/arrow-right-CXp_K3xK.js +0 -1
  232. package/.output/public/assets/arrow-up-right-BFafIOrq.js +0 -1
  233. package/.output/public/assets/check-CqWNyG93.js +0 -1
  234. package/.output/public/assets/chevron-right-DNbYTBX1.js +0 -1
  235. package/.output/public/assets/dialog-BLj71-Nf.js +0 -1
  236. package/.output/public/assets/index-IK43LiLE.js +0 -10
  237. package/.output/public/assets/input-group-XKLcUGoa.js +0 -1
  238. package/.output/public/assets/insights-C94CdeAA.js +0 -1
  239. package/.output/public/assets/insights-DILMVpk8.js +0 -2
  240. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +0 -2
  241. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +0 -1
  242. package/.output/public/assets/installations-BA01mqJE.js +0 -1
  243. package/.output/public/assets/loader-circle-iMqC-8ZE.js +0 -1
  244. package/.output/public/assets/native-builds-C-Dayo63.js +0 -2
  245. package/.output/public/assets/native-builds-_3SRMVOS.js +0 -1
  246. package/.output/public/assets/native-builds_._buildId-BPJzn5LY.js +0 -2
  247. package/.output/public/assets/native-builds_._buildId-DJWMBKQQ.js +0 -1
  248. package/.output/public/assets/native-builds_.devices-BbE0s2il.js +0 -1
  249. package/.output/public/assets/native-builds_.devices-BiXjrMS-.js +0 -2
  250. package/.output/public/assets/package-BmfoZ5Zj.js +0 -1
  251. package/.output/public/assets/plus-Db0KxLZp.js +0 -1
  252. package/.output/public/assets/remote-config-Cxkr7_BP.js +0 -1
  253. package/.output/public/assets/remote-config-DAOyn5xL.js +0 -1
  254. package/.output/public/assets/remote-config-DXv25LX1.js +0 -6
  255. package/.output/public/assets/routes-CH42g1N9.js +0 -1
  256. package/.output/public/assets/routes-_QhVAS_l.js +0 -2
  257. package/.output/public/assets/search-dJG2BYmx.js +0 -1
  258. package/.output/public/assets/send-DuMOCzbD.js +0 -1
  259. package/.output/public/assets/smartphone-D1C6BRd_.js +0 -1
  260. package/.output/public/assets/styles-BYO5PJYg.css +0 -2
  261. package/.output/server/_tanstack-start-manifest_v-BoMD43wU.mjs +0 -225
  262. /package/.output/public/assets/{uuidv7-DAoOOpz9.js → uuidv7-DgXZ1zRR.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { a as decodeChannelKey, i as createReleaseCatalogScopeKey, o as encodeChannelKey, r as canonicalizeAppVersion } from "./uuid-kZvLA0Ly-DNL0qBSj.mjs";
2
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds-DjoHvBQf.js
2
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds-nRuXKypG.js
3
3
  /**
4
4
  * `value` as one POSIX shell word: as it is when it holds only characters
5
5
  * no shell treats specially, else in single quotes, so a file name or link
@@ -64,6 +64,23 @@ var consolePathOf = (location, id) => {
64
64
  const page = nativeBuildDetailPath(id);
65
65
  return location.pathname.endsWith(page) ? location.pathname.slice(0, -page.length) : "";
66
66
  };
67
+ /**
68
+ * The Console's own path, from where the browser is and where the router says
69
+ * it is: the prefix a host serves the Console under, or empty at its root.
70
+ */
71
+ var consolePathFromRouter = (location, routerPathname) => {
72
+ const path = location.pathname.replace(/\/$/u, "");
73
+ const route = routerPathname.replace(/\/$/u, "");
74
+ return path.endsWith(route) ? path.slice(0, path.length - route.length) : "";
75
+ };
76
+ /**
77
+ * The Console's own path, from one of its Native builds pages, where the
78
+ * profile's answer lands: empty at the root of its host.
79
+ */
80
+ var consolePathOfNativeBuildsPage = (location) => {
81
+ const at = location.pathname.lastIndexOf("/native-builds");
82
+ return at < 0 ? "" : location.pathname.slice(0, at);
83
+ };
67
84
  /** The console page of one native build. */
68
85
  var nativeBuildDetailPath = (id) => `/native-builds/${encodeURIComponent(id)}`;
69
86
  /**
@@ -79,6 +96,50 @@ var IOS_UDID_STORAGE_KEY = "hot-updater-ios-udid";
79
96
  * signed-in person, which Request access takes.
80
97
  */
81
98
  var IOS_DEVICE_RECEIPT_STORAGE_KEY = "hot-updater-ios-device-receipt";
99
+ /**
100
+ * The profile answer's fresh receipt, in this tab's session storage only until
101
+ * the page has traded it for the HttpOnly cookie: a reload during an outage
102
+ * can still trade it. Gone once traded, or once it has expired.
103
+ */
104
+ var IOS_DEVICE_PENDING_RECEIPT_KEY = "hot-updater-ios-device-pending-receipt";
105
+ /** When a signed receipt expires, from its own body, or 0 when unreadable. */
106
+ var receiptExpiresAtMs = (receipt) => {
107
+ try {
108
+ const body = receipt.split(".")[0].replaceAll("-", "+").replaceAll("_", "/");
109
+ const x = JSON.parse(atob(body)).x;
110
+ return typeof x === "number" ? x : 0;
111
+ } catch {
112
+ return 0;
113
+ }
114
+ };
115
+ /** The pending receipt this tab holds for `udid`, unexpired, or null. */
116
+ var readPendingReceipt = (udid) => {
117
+ try {
118
+ const kept = JSON.parse(window.sessionStorage.getItem("hot-updater-ios-device-pending-receipt") ?? "null");
119
+ if (typeof kept?.receipt !== "string") return null;
120
+ if (receiptExpiresAtMs(kept.receipt) <= Date.now()) {
121
+ window.sessionStorage.removeItem(IOS_DEVICE_PENDING_RECEIPT_KEY);
122
+ return null;
123
+ }
124
+ return udid !== null && kept.udid === udid ? kept.receipt : null;
125
+ } catch {
126
+ return null;
127
+ }
128
+ };
129
+ var holdPendingReceipt = (udid, receipt) => {
130
+ try {
131
+ window.sessionStorage.setItem(IOS_DEVICE_PENDING_RECEIPT_KEY, JSON.stringify({
132
+ udid,
133
+ receipt
134
+ }));
135
+ } catch {}
136
+ };
137
+ /** Drops the pending receipt once it is traded, if it is this one. */
138
+ var releasePendingReceipt = (receipt) => {
139
+ try {
140
+ if (JSON.parse(window.sessionStorage.getItem("hot-updater-ios-device-pending-receipt") ?? "null")?.receipt === receipt) window.sessionStorage.removeItem(IOS_DEVICE_PENDING_RECEIPT_KEY);
141
+ } catch {}
142
+ };
82
143
  /** A device's UDID: 40 hex digits, or 8 and 16 joined by a hyphen. */
83
144
  var IOS_UDID_PATTERN = /^(?:[0-9a-f]{40}|[0-9a-f]{8}-[0-9a-f]{16})$/iu;
84
145
  /** The Console page of the iOS device registry, inside Native builds. */
@@ -195,4 +256,4 @@ var formatByteSize = (bytes) => {
195
256
  */
196
257
  var nativeBuildInstallCommand = (build) => `npx hot-updater native-build install ${shellQuote(build.id)}`;
197
258
  //#endregion
198
- export { nativeBuildManifestPath as C, platformLabel as D, nativeBuildSignedDownloadUrl as E, releaseNativeBuildScope as O, nativeBuildLabel as S, nativeBuildScope as T, nativeBuildDetailPath as _, IOS_DEVICE_RESPONSE_PATH as a, nativeBuildInstallCommand as b, NATIVE_BUILD_INSTALL_LINK_TTL_MS as c, formatByteSize as d, iosDeviceProfileUrl as f, nativeBuildChannel as g, nativeBuildCatalogScopeKey as h, IOS_DEVICE_RECEIPT_STORAGE_KEY as i, shellQuote as k, channelIdOf as l, nativeBuildArtifacts as m, IOS_DEVICES_PATH as n, IOS_UDID_PATTERN as o, maskIosUdid as p, IOS_DEVICE_PROFILE_PATH as r, IOS_UDID_STORAGE_KEY as s, IOS_DEVICES_ADD_COMMAND as t, consolePathOf as u, nativeBuildDownloadPath as v, nativeBuildPathKey as w, nativeBuildItmsUrl as x, nativeBuildFileName as y };
259
+ export { platformLabel as A, nativeBuildInstallCommand as C, nativeBuildPathKey as D, nativeBuildManifestPath as E, releaseNativeBuildScope as M, releasePendingReceipt as N, nativeBuildScope as O, shellQuote as P, nativeBuildFileName as S, nativeBuildLabel as T, nativeBuildArtifacts as _, IOS_DEVICE_RESPONSE_PATH as a, nativeBuildDetailPath as b, NATIVE_BUILD_INSTALL_LINK_TTL_MS as c, consolePathOf as d, consolePathOfNativeBuildsPage as f, maskIosUdid as g, iosDeviceProfileUrl as h, IOS_DEVICE_RECEIPT_STORAGE_KEY as i, readPendingReceipt as j, nativeBuildSignedDownloadUrl as k, channelIdOf as l, holdPendingReceipt as m, IOS_DEVICES_PATH as n, IOS_UDID_PATTERN as o, formatByteSize as p, IOS_DEVICE_PROFILE_PATH as r, IOS_UDID_STORAGE_KEY as s, IOS_DEVICES_ADD_COMMAND as t, consolePathFromRouter as u, nativeBuildCatalogScopeKey as v, nativeBuildItmsUrl as w, nativeBuildDownloadPath as x, nativeBuildChannel as y };
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-DD7wilC0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-Dew-f4Ox.js
4
- var $$splitComponentImporter = () => import("./native-builds_._buildId-xNxhulXv.mjs");
2
+ import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-OJ8XmaBa.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-Cq-3MWHV.js
4
+ var $$splitComponentImporter = () => import("./native-builds_._buildId-Du028raJ.mjs");
5
5
  var Route = createFileRoute("/native-builds_/$buildId")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateNativeBuildDetailSearch
@@ -1,26 +1,27 @@
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 { B as Download, J as ChevronLeft, M as HardDrive, N as GitBranch, R as ExternalLink, S as PackageOpen, W as CircleCheck, _ as RefreshCw, i as TriangleAlert, j as History, q as ChevronRight, tt as ArrowUpRight, u as Smartphone } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-BsFYs26D.mjs";
5
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-BDBZwsuM.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BEfQk5Ei.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jnl4Ajh1.mjs";
9
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-SLiL-w8T.mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
5
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-st1F0w5g.mjs";
6
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-MGJQ5WNb.mjs";
7
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-BN3AmMyY.mjs";
10
8
  import { n as toast } from "../_libs/sonner.mjs";
9
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
10
+ import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Dfmlc-7_.mjs";
11
11
  import { r as NUMERIC_COHORT_SIZE } from "./dist-CiOq3ygH.mjs";
12
- import { D as platformLabel, E as nativeBuildSignedDownloadUrl, S as nativeBuildLabel, b as nativeBuildInstallCommand, d as formatByteSize, k as shellQuote, m as nativeBuildArtifacts, p as maskIosUdid, v as nativeBuildDownloadPath, y as nativeBuildFileName } from "./native-builds-DjoHvBQf.mjs";
13
- import { t as PlatformIcon } from "./PlatformIcon-BXcpYcrO.mjs";
14
- import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-nFsUxTG1.mjs";
15
- import { t as BundleIdDisplay } from "./BundleIdDisplay-CHwdLSxI.mjs";
16
- import { t as ChannelBadge } from "./ChannelBadge-DdrhdvMM.mjs";
12
+ import { A as platformLabel, C as nativeBuildInstallCommand, P as shellQuote, S as nativeBuildFileName, T as nativeBuildLabel, _ as nativeBuildArtifacts, g as maskIosUdid, k as nativeBuildSignedDownloadUrl, p as formatByteSize, x as nativeBuildDownloadPath } from "./native-builds-nRuXKypG.mjs";
13
+ import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-BIDpAoY0.mjs";
14
+ import { t as PlatformIcon } from "./PlatformIcon-X18AN8Yp.mjs";
15
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-DsNg19E8.mjs";
16
+ import { t as ChannelBadge } from "./ChannelBadge-DWQcxohs.mjs";
17
17
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
18
- import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-CLn4k3f5.mjs";
19
- import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-BqBSRE2-.mjs";
20
- import { t as Route } from "./native-builds_._buildId-Dew-f4Ox.mjs";
21
- import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge--MojdSYZ.mjs";
22
- import { n as IosInstall, o as useIosDevice, r as QrCode, u as useNativeBuildIpaDevicesQuery } from "./IosInstall-CHC-d6NT.mjs";
23
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-xNxhulXv.js
18
+ import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-DkRZwhNW.mjs";
19
+ import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-CuTOlGaF.mjs";
20
+ import { l as useIosDevice, m as useNativeBuildIpaDevicesQuery, n as IosInstall } from "./IosInstall-gEVi9PFl.mjs";
21
+ import { t as Route } from "./native-builds_._buildId-Cq-3MWHV.mjs";
22
+ import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-CcEZuUxL.mjs";
23
+ import { t as QrCode } from "./QrCode-DkmvYkKS.mjs";
24
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-Du028raJ.js
24
25
  var import_react = /* @__PURE__ */ __toESM(require_react());
25
26
  var import_jsx_runtime = require_jsx_runtime();
26
27
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -200,7 +201,7 @@ function BuiltInBundleCard({ detail }) {
200
201
  className: "flex flex-wrap items-center gap-1.5",
201
202
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
202
203
  "aria-label": `Show the builds that embed ${channel}`,
203
- className: "relative rounded-md after:absolute after:inset-x-0 after:-inset-y-[11px] sm:after:hidden",
204
+ className: "relative rounded-md after:absolute after:-inset-x-1 after:-inset-y-[11px] sm:after:hidden",
204
205
  search: { channel },
205
206
  to: "/native-builds",
206
207
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChannelBadge, { channel })
@@ -1125,15 +1126,7 @@ function NativeBuildDetailPage({ buildId, search, onSearchChange }) {
1125
1126
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HardDrive, {})
1126
1127
  }),
1127
1128
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyTitle, { children: "Native build not found" }),
1128
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyDescription, { children: [
1129
- "No native build has this ID. It may have been deleted with",
1130
- " ",
1131
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("code", {
1132
- className: "font-mono",
1133
- children: "native-build delete"
1134
- }),
1135
- ", or be from another console."
1136
- ] })
1129
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyDescription, { children: "No native build has this ID. It may have been deleted, or be from another console." })
1137
1130
  ] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
1138
1131
  className: buttonVariants({
1139
1132
  className: "min-h-11 sm:min-h-8",
@@ -1,25 +1,26 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
2
  import { Et as require_react, Tt as require_jsx_runtime, d as MenuRoot, f as MenuPositioner, h as MenuItem, m as MenuPopup, p as MenuPortal, pt as Separator, u as MenuTrigger } from "../_libs/@base-ui/react+[...].mjs";
3
3
  import { D as LoaderCircle, M as HardDrive, X as Check, _ as RefreshCw, a as Trash2, i as TriangleAlert, u as Smartphone, y as Pencil, z as Ellipsis } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, j as useIsMobile, k as cn, n as Input, t as Button$1 } from "./sidebar-BsFYs26D.mjs";
5
- import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, j as useIsMobile, k as cn, n as Input, t as Button$1 } from "./sidebar-S1E-7aSS.mjs";
5
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-st1F0w5g.mjs";
6
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-MGJQ5WNb.mjs";
7
+ import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-BrPlhj0S.mjs";
8
+ import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-Ckdomw6e.mjs";
9
+ import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-jxN7lCij.mjs";
10
+ import { i as TableHead, o as TableRow, r as TableCell } from "./table-BN3AmMyY.mjs";
6
11
  import { s as useQueryClient } from "../_libs/tanstack__react-query.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BEfQk5Ei.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-jnl4Ajh1.mjs";
9
- import { a as AlertDialogDescription, i as AlertDialogContent, l as AlertDialogTitle, n as AlertDialogAction, o as AlertDialogFooter, r as AlertDialogCancel, s as AlertDialogHeader, t as AlertDialog$1 } from "./alert-dialog-DihcZr0y.mjs";
10
- import { a as DialogHeader, i as DialogFooter, n as DialogContent, o as DialogTitle, r as DialogDescription, t as Dialog$1 } from "./dialog-DuyJ0HsU.mjs";
11
- import { a as FieldLabel, i as FieldGroup, n as FieldDescription, r as FieldError, t as Field } from "./field-CX6srGIn.mjs";
12
- import { i as TableHead, o as TableRow, r as TableCell } from "./table-SLiL-w8T.mjs";
13
- import { f as iosDeviceProfileUrl, n as IOS_DEVICES_PATH, p as maskIosUdid, t as IOS_DEVICES_ADD_COMMAND, u as consolePathOf } from "./native-builds-DjoHvBQf.mjs";
12
+ import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
13
+ import { d as consolePathOf, g as maskIosUdid, h as iosDeviceProfileUrl, n as IOS_DEVICES_PATH, t as IOS_DEVICES_ADD_COMMAND } from "./native-builds-nRuXKypG.mjs";
14
14
  import { r as extractTimestampFromUUIDv7 } from "./uuidv7-C0jNe2Om.mjs";
15
- import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-DcWzmCb3.mjs";
15
+ import { a as SelectTrigger, i as SelectItem, n as SelectContent, o as SelectValue, r as SelectGroup, t as Select$1 } from "./select-DsWMUB9T.mjs";
16
16
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
17
- import { c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, n as DataCardSkeletons, o as DataTableEmpty, r as DataCardsEmpty, s as DataTableFrame, t as DataCard } from "./RelativeTime-7vOoIT4P.mjs";
18
- import { n as CopyableText, r as NoValue } from "./TargetDisplay-CLn4k3f5.mjs";
19
- import { t as NativeBuildsNav } from "./NativeBuildsNav-C69l7uNo.mjs";
20
- import { a as useApproveIosDeviceMutation, c as useIosDeviceQuery, d as useRemoveIosDeviceMutation, f as useRenameIosDeviceMutation, i as iosDeviceKeys, l as useIosDevicesQuery, o as useIosDevice, r as QrCode, s as useIosDeviceProfileLinkQuery, t as AppleRefusal } from "./IosInstall-CHC-d6NT.mjs";
21
- import { t as Route } from "./native-builds_.devices-DpYGqdjz.mjs";
22
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-BBWNnbAj.js
17
+ import { c as DataTableFullRow, d as DataTableSkeletonRows, f as RelativeTime, i as DataTable, n as DataCardSkeletons, o as DataTableEmpty, r as DataCardsEmpty, s as DataTableFrame, t as DataCard } from "./RelativeTime-Dg47Cmmt.mjs";
18
+ import { n as CopyableText, r as NoValue } from "./TargetDisplay-DkRZwhNW.mjs";
19
+ import { t as NativeBuildsNav } from "./NativeBuildsNav-DoB6DGO2.mjs";
20
+ import { _ as useRequestThisIphoneMutation, c as useApproveIosDeviceMutation, d as useIosDeviceQuery, f as useIosDevicesQuery, g as useRenameIosDeviceMutation, h as useRemoveIosDeviceMutation, i as iosDeviceKeys, l as useIosDevice, o as keptIsThisIphone, p as useKeptIosDeviceQuery, s as useAdoptKeptIosDevice, t as AppleRefusal, u as useIosDeviceProfileLinkQuery } from "./IosInstall-gEVi9PFl.mjs";
21
+ import { t as QrCode } from "./QrCode-DkmvYkKS.mjs";
22
+ import { t as Route } from "./native-builds_.devices-DVBT3gKp.mjs";
23
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-CWOFxrsg.js
23
24
  var import_react = /* @__PURE__ */ __toESM(require_react());
24
25
  var import_jsx_runtime = require_jsx_runtime();
25
26
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -198,11 +199,25 @@ function DeviceActions({ device, viewer, onOpen }) {
198
199
  ]
199
200
  });
200
201
  }
201
- function DeviceRow({ device, viewer, onOpen }) {
202
+ /**
203
+ * "This iPhone" on the row of the iPhone this page is open on: a quiet tag,
204
+ * as "Sandbox" is on a build, so its actions are found where every row's are.
205
+ */
206
+ function ThisIphoneTag() {
207
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
208
+ className: "shrink-0 px-1.5",
209
+ variant: "muted",
210
+ children: "This iPhone"
211
+ });
212
+ }
213
+ function DeviceRow({ device, viewer, onOpen, isThisIphone }) {
202
214
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(TableRow, { children: [
203
215
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, {
204
216
  className: "font-medium",
205
- children: device.name
217
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
218
+ className: "flex items-center gap-1.5",
219
+ children: [device.name, isThisIphone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThisIphoneTag, {}) : null]
220
+ })
206
221
  }),
207
222
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TableCell, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
208
223
  className: "font-mono text-xs",
@@ -233,7 +248,7 @@ function DeviceRow({ device, viewer, onOpen }) {
233
248
  })
234
249
  ] });
235
250
  }
236
- function DeviceCard({ device, viewer, onOpen }) {
251
+ function DeviceCard({ device, viewer, onOpen, isThisIphone }) {
237
252
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(DataCard, {
238
253
  className: "cursor-default gap-3",
239
254
  children: [
@@ -241,9 +256,12 @@ function DeviceCard({ device, viewer, onOpen }) {
241
256
  className: "flex min-w-0 items-start justify-between gap-3",
242
257
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
243
258
  className: "flex min-w-0 flex-col gap-0.5",
244
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
245
- className: "truncate text-sm font-medium",
246
- children: device.name
259
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
260
+ className: "flex min-w-0 items-center gap-1.5 text-sm font-medium",
261
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
262
+ className: "truncate",
263
+ children: device.name
264
+ }), isThisIphone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThisIphoneTag, {}) : null]
247
265
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
248
266
  className: "font-mono text-xs text-muted-foreground",
249
267
  translate: "no",
@@ -360,14 +378,6 @@ function RemoveDialog({ device, viewer, onClose }) {
360
378
  open: true,
361
379
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogContent, { children: [
362
380
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogHeader, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogTitle, { children: withdraw ? `Withdraw ${device.name}?` : decline ? `Decline ${device.name}?` : `Remove ${device.name}?` }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogDescription, { children: decline ? "It leaves the list. Its owner can request it again." : "It leaves the list. New ad hoc builds keep it until it's disabled at Apple." })] }),
363
- decline || !viewer.canApprove ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
364
- className: "flex min-w-0 flex-col text-xs text-muted-foreground [&_code]:break-words [&_code]:whitespace-normal",
365
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CopyableText, {
366
- label: "the command that disables it",
367
- value: `npx hot-updater native-build devices remove --udid ${device.udid}`,
368
- wrap: true
369
- })
370
- }),
371
381
  remove.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
372
382
  className: "text-xs text-destructive",
373
383
  role: "alert",
@@ -399,10 +409,11 @@ function RemoveDialog({ device, viewer, onClose }) {
399
409
  }
400
410
  /**
401
411
  * Where this iPhone stands, once its profile has answered: its row's name,
402
- * status, and next step, in place of the form that registered it. An approver
403
- * approves it here; Apple's refusal reads as on a build's page.
412
+ * status, and what happens next, in place of the form that registered it.
413
+ * It has no actions: they are on its row in the list, tagged "This iPhone",
414
+ * as every row's are. Apple's refusal reads as on a build's page.
404
415
  */
405
- function ThisIphone({ device, viewer, onOpen }) {
416
+ function ThisIphone({ device, viewer }) {
406
417
  const canApprove = viewer?.canApprove === true;
407
418
  if (device.apple_error !== null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppleRefusal, {
408
419
  canApprove,
@@ -411,38 +422,27 @@ function ThisIphone({ device, viewer, onOpen }) {
411
422
  });
412
423
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
413
424
  className: "flex min-w-0 flex-col gap-3",
414
- children: [
415
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
416
- className: "flex min-w-0 items-start justify-between gap-3",
417
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
418
- className: "flex min-w-0 flex-col gap-0.5",
419
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
420
- className: "truncate text-sm font-medium",
421
- children: device.name
422
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
423
- className: "font-mono text-xs text-muted-foreground",
424
- translate: "no",
425
- children: maskIosUdid(device.udid)
426
- })]
427
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceStatus, {
428
- device,
429
- withError: false
425
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
426
+ className: "flex min-w-0 items-start justify-between gap-3",
427
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
428
+ className: "flex min-w-0 flex-col gap-0.5",
429
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
430
+ className: "truncate text-sm font-medium",
431
+ children: device.name
432
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
433
+ className: "font-mono text-xs text-muted-foreground",
434
+ translate: "no",
435
+ children: maskIosUdid(device.udid)
430
436
  })]
431
- }),
432
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
433
- className: "text-xs text-muted-foreground",
434
- role: "status",
435
- children: device.status === "pending" ? canApprove ? "Approve it, and it joins the next ad hoc build." : "A maintainer approves it next." : device.status === "approved" ? "It joins the next ad hoc build." : "New ad hoc builds install on it."
436
- }),
437
- canApprove && device.status === "pending" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
438
- className: "h-11 w-full sm:h-8 sm:w-fit",
439
- onClick: () => onOpen({
440
- kind: "approve",
441
- device
442
- }),
443
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { "data-icon": "inline-start" }), "Approve"]
444
- }) : null
445
- ]
437
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceStatus, {
438
+ device,
439
+ withError: false
440
+ })]
441
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
442
+ className: "text-xs text-muted-foreground",
443
+ role: "status",
444
+ children: device.status === "pending" ? canApprove ? "Approve it below, and it joins the next ad hoc build." : "A maintainer approves it next." : device.status === "approved" ? "It joins the next ad hoc build." : "New ad hoc builds install on it."
445
+ })]
446
446
  });
447
447
  }
448
448
  /** Why iPhones can't register through this Console. */
@@ -458,8 +458,7 @@ function RegistrationNotice({ status, secretName }) {
458
458
  * the iPhone, its name and the profile that reads its UDID, signed for the
459
459
  * person who is signed in.
460
460
  */
461
- function RegisterCard({ view, onOpen }) {
462
- const phone = useIosDevice();
461
+ function RegisterCard({ view, phone }) {
463
462
  const [name, setName] = (0, import_react.useState)(null);
464
463
  const typed = name ?? view?.defaultName ?? "";
465
464
  const [signed, setSigned] = (0, import_react.useState)(typed);
@@ -493,6 +492,11 @@ function RegisterCard({ view, onOpen }) {
493
492
  answers,
494
493
  refetch
495
494
  ]);
495
+ const path = phone === null ? "" : consolePath();
496
+ const kept = useKeptIosDeviceQuery(path, phone?.receipt ?? null, onPhone && view?.registration === "ready" && (udid === null || phone.receipt !== null || mine.data === null));
497
+ useAdoptKeptIosDevice(phone, kept.data?.udid);
498
+ const again = useRequestThisIphoneMutation(path);
499
+ const proved = onPhone && keptIsThisIphone(kept.data?.udid, phone.udid);
496
500
  const body = (() => {
497
501
  if (phone === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
498
502
  "aria-label": "Loading",
@@ -504,7 +508,6 @@ function RegisterCard({ view, onOpen }) {
504
508
  });
505
509
  if (onPhone && mine.data) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThisIphone, {
506
510
  device: mine.data,
507
- onOpen,
508
511
  viewer: view?.viewer
509
512
  });
510
513
  if (view !== void 0 && (view.registration === "local-console" || view.registration === "no-secret")) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, {
@@ -533,6 +536,51 @@ function RegisterCard({ view, onOpen }) {
533
536
  role: "status",
534
537
  children: "iPhones need this Console on HTTPS."
535
538
  });
539
+ if (mine.data === null && kept.isFetching && !proved) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
540
+ "aria-label": "Loading",
541
+ className: "h-36 w-full"
542
+ });
543
+ if (proved) {
544
+ const trimmed = typed.trim();
545
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
546
+ className: "flex min-w-0 flex-col gap-3",
547
+ onSubmit: (event) => {
548
+ event.preventDefault();
549
+ if (trimmed === "") return;
550
+ again.mutate({
551
+ name: trimmed,
552
+ receipt: phone.receipt
553
+ });
554
+ },
555
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Field, {
556
+ "data-invalid": again.isError || void 0,
557
+ children: [
558
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FieldLabel, {
559
+ htmlFor: "ios-device-register-name",
560
+ children: "This iPhone's name"
561
+ }),
562
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Input, {
563
+ autoComplete: "off",
564
+ className: "h-11",
565
+ id: "ios-device-register-name",
566
+ maxLength: 100,
567
+ onChange: (event) => setName(event.target.value),
568
+ value: typed
569
+ }),
570
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FieldDescription, { children: "This Safari checked it before, so no profile is needed." }),
571
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FieldError, { children: again.isError ? "The request didn't go through. Try again." : null })
572
+ ]
573
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
574
+ className: "h-11 w-full",
575
+ disabled: trimmed === "" || again.isPending,
576
+ type: "submit",
577
+ children: [again.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LoaderCircle, {
578
+ className: "animate-spin motion-reduce:animate-none",
579
+ "data-icon": "inline-start"
580
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, { "data-icon": "inline-start" }), "Request this iPhone"]
581
+ })]
582
+ });
583
+ }
536
584
  if (link.data?.status === "local-console") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, { status: "local-console" });
537
585
  if (link.data?.status === "no-secret") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegistrationNotice, {
538
586
  secretName: link.data.secretName,
@@ -595,6 +643,8 @@ function IosDevicesPage({ search, onSearchChange }) {
595
643
  const queryClient = useQueryClient();
596
644
  const refresh = () => void queryClient.invalidateQueries({ queryKey: iosDeviceKeys.all });
597
645
  const [dialog, setDialog] = (0, import_react.useState)(null);
646
+ const phone = useIosDevice();
647
+ const thisUdid = phone?.ios === true ? phone.udid?.toLowerCase() ?? null : null;
598
648
  const close = () => setDialog(null);
599
649
  const empty = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DataTableEmpty, {
600
650
  icon: Smartphone,
@@ -635,7 +685,7 @@ function IosDevicesPage({ search, onSearchChange }) {
635
685
  children: [
636
686
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NativeBuildsNav, { current: "devices" }),
637
687
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RegisterCard, {
638
- onOpen: setDialog,
688
+ phone,
639
689
  view
640
690
  }),
641
691
  view !== void 0 && !view.viewer.approversConfigured ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
@@ -703,6 +753,7 @@ function IosDevicesPage({ search, onSearchChange }) {
703
753
  role: "listitem",
704
754
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceCard, {
705
755
  device,
756
+ isThisIphone: device.udid === thisUdid,
706
757
  onOpen: setDialog,
707
758
  viewer: view.viewer
708
759
  })
@@ -734,6 +785,7 @@ function IosDevicesPage({ search, onSearchChange }) {
734
785
  children: empty
735
786
  }) : rows?.map((device) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DeviceRow, {
736
787
  device,
788
+ isThisIphone: device.udid === thisUdid,
737
789
  onOpen: setDialog,
738
790
  viewer: view.viewer
739
791
  }, device.id))
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { t as validateIosDevicesSearch } from "./-native-builds-search-DD7wilC0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-DpYGqdjz.js
4
- var $$splitComponentImporter = () => import("./native-builds_.devices-BBWNnbAj.mjs");
2
+ import { t as validateIosDevicesSearch } from "./-native-builds-search-OJ8XmaBa.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-DVBT3gKp.js
4
+ var $$splitComponentImporter = () => import("./native-builds_.devices-CWOFxrsg.mjs");
5
5
  var Route = createFileRoute("/native-builds_/devices")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateIosDevicesSearch
@@ -1,6 +1,6 @@
1
- import { i as getRequest } from "./server-DA_rB8Ch.mjs";
1
+ import { i as getRequest } from "./server-Bx_Shfka.mjs";
2
2
  import { n as sameSecret } from "./local-console-Dtxlsav0.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-CMo_0eeE.js
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildDownloadLink-BXFMIxJ8.js
4
4
  /**
5
5
  * How long a signed download link works. A link holds its own expiry and the
6
6
  * Console stores nothing, so a new one never ends an older one.
@@ -1,10 +1,11 @@
1
- import { C as nativeBuildManifestPath, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, v as nativeBuildDownloadPath } from "./native-builds-DjoHvBQf.mjs";
2
- import { normalizeIosUdid, readIpaInstallInfo } from "./native-artifact-C-jGiTjz.mjs";
3
- import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-CMo_0eeE.mjs";
4
- import { n as publicConsoleBase, t as escapePlistText } from "./publicConsoleBase-CBG0Pv8f.mjs";
5
- import { listIosDevices } from "./iosDevices-BcM0YdL8.mjs";
6
- import { nativeBuildArtifactUrl } from "./nativeBuilds-DnIRDijn.mjs";
7
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-BlT6X49f.js
1
+ import { E as nativeBuildManifestPath, c as NATIVE_BUILD_INSTALL_LINK_TTL_MS, x as nativeBuildDownloadPath } from "./native-builds-nRuXKypG.mjs";
2
+ import { issueNativeBuildDownloadLink, refuseNativeBuildDownloadToken } from "./nativeBuildDownloadLink-BXFMIxJ8.mjs";
3
+ import { listIosDevices } from "./iosDevices-gG7HCnCL.mjs";
4
+ import { t as publicConsoleBase } from "./publicConsoleBase-wTKw3_iB.mjs";
5
+ import { normalizeIosUdid, readIpaInstallInfo } from "./native-artifact-BRNP_q-y.mjs";
6
+ import { t as escapePlistText } from "./plistText-DkzlCfPI.mjs";
7
+ import { nativeBuildArtifactUrl } from "./nativeBuilds-DaF-TcfO.mjs";
8
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuildInstall-CjG3sJmP.js
8
9
  var KiB = 1024;
9
10
  var MiB = 1024 * KiB;
10
11
  /**
@@ -1,7 +1,7 @@
1
- import { T as nativeBuildScope, g as nativeBuildChannel, h as nativeBuildCatalogScopeKey, w as nativeBuildPathKey } from "./native-builds-DjoHvBQf.mjs";
1
+ import { D as nativeBuildPathKey, O as nativeBuildScope, v as nativeBuildCatalogScopeKey, y as nativeBuildChannel } from "./native-builds-nRuXKypG.mjs";
2
2
  import { n as readFold, t as foldedPage } from "./foldedPage-CUjJqtlF.mjs";
3
3
  import { n as projectCompiledCatalog } from "./releaseCatalogCompiler-CJ2Shida.mjs";
4
- //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuilds-DnIRDijn.js
4
+ //#region node_modules/.nitro/vite/services/ssr/assets/nativeBuilds-DaF-TcfO.js
5
5
  /**
6
6
  * One page newest first, from one keyset read: newest first for the next
7
7
  * page, oldest first (then reversed) for the previous one. `next` is set
@@ -0,0 +1,15 @@
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/plistText-DkzlCfPI.js
2
+ var ESCAPES = {
3
+ "&": "&amp;",
4
+ "<": "&lt;",
5
+ ">": "&gt;",
6
+ "\"": "&quot;",
7
+ "'": "&apos;"
8
+ };
9
+ /**
10
+ * Text as an XML plist's `<string>` holds it. Control characters have no XML
11
+ * form at all, even escaped, so they go.
12
+ */
13
+ var escapePlistText = (text) => [...text].filter((character) => character >= " " || " \n\r".includes(character)).map((character) => ESCAPES[character] ?? character).join("");
14
+ //#endregion
15
+ export { escapePlistText as t };
@@ -1,16 +1,4 @@
1
- //#region node_modules/.nitro/vite/services/ssr/assets/publicConsoleBase-CBG0Pv8f.js
2
- var ESCAPES = {
3
- "&": "&amp;",
4
- "<": "&lt;",
5
- ">": "&gt;",
6
- "\"": "&quot;",
7
- "'": "&apos;"
8
- };
9
- /**
10
- * Text as an XML plist's `<string>` holds it. Control characters have no XML
11
- * form at all, even escaped, so they go.
12
- */
13
- var escapePlistText = (text) => [...text].filter((character) => character >= " " || " \n\r".includes(character)).map((character) => ESCAPES[character] ?? character).join("");
1
+ //#region node_modules/.nitro/vite/services/ssr/assets/publicConsoleBase-wTKw3_iB.js
14
2
  /**
15
3
  * The console's address and path as a phone reached it, without a trailing
16
4
  * slash, from a request to `routePath` under it. A proxy that ends TLS says so
@@ -24,4 +12,4 @@ var publicConsoleBase = (request, routePath) => {
24
12
  return `${forwarded === "https" ? "https:" : url.protocol}//${url.host}${base}`;
25
13
  };
26
14
  //#endregion
27
- export { publicConsoleBase as n, escapePlistText as t };
15
+ export { publicConsoleBase as t };
@@ -1,15 +1,15 @@
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-Cj95NxRZ.mjs";
3
3
  import { t as createServerRpc } from "./createServerRpc-DJZel12M.mjs";
4
4
  import { a as readAdoptionReleasesInput, i as readAdoptionReleaseInput, o as readBundleEventsInput } from "./release-adoption-gfhE5tz5.mjs";
5
- //#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-CNwUfrya.js
5
+ //#region node_modules/.nitro/vite/services/ssr/assets/release-adoption-rpc-BiUppdo3.js
6
6
  var listAdoptionReleasesRpc_createServerFn_handler = createServerRpc({
7
7
  id: "d11a48f7251928b7819e2376aed4902fa66277bf6d30312d87ca53468332f256",
8
8
  name: "listAdoptionReleasesRpc",
9
9
  filename: "src/lib/release-adoption-rpc.ts"
10
10
  }, (opts) => listAdoptionReleasesRpc.__executeServer(opts));
11
11
  var listAdoptionReleasesRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleasesInput).handler(listAdoptionReleasesRpc_createServerFn_handler, async ({ data }) => {
12
- const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-Ig1eUxaf.mjs"), import("./releaseAdoption-COlUf2W5.mjs")]);
12
+ const [{ prepareConfig }, { listAdoptionReleases }] = await Promise.all([import("./config.server-A4yZxfTn.mjs"), import("./releaseAdoption-DfEYq7I4.mjs")]);
13
13
  const { core } = await prepareConfig();
14
14
  return listAdoptionReleases(core, data);
15
15
  });
@@ -19,7 +19,7 @@ var getAdoptionReleaseRpc_createServerFn_handler = createServerRpc({
19
19
  filename: "src/lib/release-adoption-rpc.ts"
20
20
  }, (opts) => getAdoptionReleaseRpc.__executeServer(opts));
21
21
  var getAdoptionReleaseRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readAdoptionReleaseInput).handler(getAdoptionReleaseRpc_createServerFn_handler, async ({ data }) => {
22
- const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-Ig1eUxaf.mjs"), import("./releaseAdoption-COlUf2W5.mjs")]);
22
+ const [{ prepareConfig }, { getAdoptionRelease }] = await Promise.all([import("./config.server-A4yZxfTn.mjs"), import("./releaseAdoption-DfEYq7I4.mjs")]);
23
23
  const { core } = await prepareConfig();
24
24
  return getAdoptionRelease(core, data);
25
25
  });
@@ -30,9 +30,9 @@ var getBundleEventsRpc_createServerFn_handler = createServerRpc({
30
30
  }, (opts) => getBundleEventsRpc.__executeServer(opts));
31
31
  var getBundleEventsRpc = createServerFn({ method: "GET" }).middleware([consoleAccess]).validator(readBundleEventsInput).handler(getBundleEventsRpc_createServerFn_handler, async ({ data }) => {
32
32
  const [{ prepareConfig }, { getBundleEvents }, { requireFeature }] = await Promise.all([
33
- import("./config.server-Ig1eUxaf.mjs"),
34
- import("./releaseAdoption-COlUf2W5.mjs"),
35
- import("./runtime.server-DImJAltO.mjs")
33
+ import("./config.server-A4yZxfTn.mjs"),
34
+ import("./releaseAdoption-DfEYq7I4.mjs"),
35
+ import("./runtime.server-BUbb281Z.mjs")
36
36
  ]);
37
37
  const { runtime } = await prepareConfig();
38
38
  return getBundleEvents(await requireFeature(runtime, "insightsAnalytics"), data);