@wix/cli 1.1.167 → 1.1.169

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 (221) hide show
  1. package/build/{ConnectWixVibeCommand-54ITZPGS.js → ConnectWixVibeCommand-HPHN2ABB.js} +20 -20
  2. package/build/ConnectWixVibeCommand-HPHN2ABB.js.map +1 -0
  3. package/build/{DevCommand-P74RBGFM.js → DevCommand-KGNTYNMF.js} +18 -18
  4. package/build/{DevCommand-RPGXDRZT.js → DevCommand-OMP45WN2.js} +29 -46
  5. package/build/DevCommand-OMP45WN2.js.map +1 -0
  6. package/build/{DevCommand-NHUVC4UO.js → DevCommand-TOP6EWUO.js} +22 -22
  7. package/build/EnvPullCommand-B45GH674.js +29 -0
  8. package/build/{EnvRemoveCommand-LNABKOVC.js → EnvRemoveCommand-WAAFZXEM.js} +14 -14
  9. package/build/{EnvSetCommand-UTW64LI3.js → EnvSetCommand-DGULE6YD.js} +14 -14
  10. package/build/{GenerateCommand-VLS4TYDK.js → GenerateCommand-JS7SZSLT.js} +17 -17
  11. package/build/{InstallCommand-SPMUL727.js → InstallCommand-6DGT7YHP.js} +20 -20
  12. package/build/{LoginCommand-FW473XJZ.js → LoginCommand-PP5WHQSE.js} +12 -12
  13. package/build/{LogoutCommand-M6CEQLK7.js → LogoutCommand-5WY7Q7SP.js} +9 -9
  14. package/build/PreviewCommand-BBUW3L7G.js +43 -0
  15. package/build/{PreviewCommand-BE324EMB.js → PreviewCommand-H5ZKPPSG.js} +22 -22
  16. package/build/{PreviewCommand-MP4KACUL.js → PreviewCommand-JNQVCZ3K.js} +22 -22
  17. package/build/{PromoteCommand-VMP7P5JU.js → PromoteCommand-4NZE6NOD.js} +23 -23
  18. package/build/{PublishCommand-HD2JFEE3.js → PublishCommand-BETMAE65.js} +22 -22
  19. package/build/{ReleaseCommand-4YOEZDZN.js → ReleaseCommand-45W4CMHG.js} +28 -43
  20. package/build/ReleaseCommand-45W4CMHG.js.map +1 -0
  21. package/build/TranslationPullCommand-GVBRFVDY.js +29 -0
  22. package/build/TranslationPushCommand-C2ZH4EYL.js +30 -0
  23. package/build/{UninstallCommand-YEMKRWW7.js → UninstallCommand-XOHE5WYZ.js} +20 -20
  24. package/build/{WhoamiCommand-X7KYMKZB.js → WhoamiCommand-I6NEMI5H.js} +4 -4
  25. package/build/{chunk-5MBGKXQI.js → chunk-2ADUYQPH.js} +8 -8
  26. package/build/{chunk-MH6EDSP6.js → chunk-2XVCXR7D.js} +5 -5
  27. package/build/{chunk-MH6EDSP6.js.map → chunk-2XVCXR7D.js.map} +1 -1
  28. package/build/{chunk-BDXIWQ54.js → chunk-2ZIXT2TW.js} +3 -3
  29. package/build/{chunk-MM3Y5AII.js → chunk-3GBGKPOW.js} +7 -7
  30. package/build/{chunk-N64IWNED.js → chunk-3MSD7RGO.js} +6 -6
  31. package/build/{chunk-BPZ65FUU.js → chunk-44DCPIQ7.js} +3 -3
  32. package/build/{chunk-JIFHIWWE.js → chunk-4B4USTTE.js} +7 -6
  33. package/build/{chunk-JIFHIWWE.js.map → chunk-4B4USTTE.js.map} +1 -1
  34. package/build/{chunk-OZSIAYEL.js → chunk-4KQAGG4P.js} +16 -10
  35. package/build/chunk-4KQAGG4P.js.map +1 -0
  36. package/build/{chunk-5RNUWZI2.js → chunk-4VPH7IPB.js} +19 -7
  37. package/build/chunk-4VPH7IPB.js.map +1 -0
  38. package/build/{chunk-3A3GZ6AE.js → chunk-573GMKPX.js} +4 -4
  39. package/build/{chunk-CXVZILCF.js → chunk-5CKH3OMW.js} +3 -3
  40. package/build/{chunk-ZMG2NVKC.js → chunk-7DVE34NP.js} +4 -4
  41. package/build/{chunk-5TWTWK7J.js → chunk-7VNDLUNH.js} +3 -3
  42. package/build/{chunk-JKYEZMHT.js → chunk-A4TMXK2F.js} +18 -19
  43. package/build/{chunk-JKYEZMHT.js.map → chunk-A4TMXK2F.js.map} +1 -1
  44. package/build/{chunk-ILBLFQZT.js → chunk-BDI4FLJH.js} +10 -10
  45. package/build/chunk-BDI4FLJH.js.map +1 -0
  46. package/build/{chunk-N2BLW2L2.js → chunk-BGDQAKCH.js} +5 -5
  47. package/build/{chunk-VAVF5WP4.js → chunk-CACHFOBS.js} +4 -4
  48. package/build/{chunk-MWYM7E4X.js → chunk-CK4W2NGR.js} +4 -4
  49. package/build/{chunk-7DVXBLSE.js → chunk-DCYBYMTU.js} +2 -2
  50. package/build/{chunk-A3JYYBMD.js → chunk-DKBAJT66.js} +4 -4
  51. package/build/{chunk-TS26C7L2.js → chunk-EC2JRUEW.js} +207 -126
  52. package/build/chunk-EC2JRUEW.js.map +1 -0
  53. package/build/chunk-ESAVWXDC.js +990 -0
  54. package/build/chunk-ESAVWXDC.js.map +1 -0
  55. package/build/{chunk-LMXQJCSZ.js → chunk-FIOP5PUA.js} +3 -3
  56. package/build/{chunk-ZAIKTLK2.js → chunk-G442ZP7D.js} +7 -7
  57. package/build/{chunk-GYI4CNJH.js → chunk-HSLEP2DR.js} +7 -7
  58. package/build/{chunk-Y7EHKXKV.js → chunk-J6S3EQQP.js} +2 -2
  59. package/build/{chunk-YRHNHP3H.js → chunk-JDIZDTXS.js} +3 -3
  60. package/build/{chunk-6Y4MEX3Q.js → chunk-K7CPZ76V.js} +39 -31
  61. package/build/chunk-K7CPZ76V.js.map +1 -0
  62. package/build/{chunk-OGXFTPSZ.js → chunk-KA7B5CAK.js} +2 -2
  63. package/build/{chunk-LS67P5IA.js → chunk-KLGRQOMU.js} +35 -22
  64. package/build/chunk-KLGRQOMU.js.map +1 -0
  65. package/build/{chunk-BLXXP4IQ.js → chunk-MBDDT26N.js} +10 -10
  66. package/build/{chunk-QRVCCBH6.js → chunk-MPJ57O4V.js} +9 -9
  67. package/build/{chunk-4L2S3TKG.js → chunk-NDLMWKGS.js} +2 -2
  68. package/build/{chunk-FMKZTAQP.js → chunk-NDPNW3G7.js} +4046 -4011
  69. package/build/chunk-NDPNW3G7.js.map +1 -0
  70. package/build/{chunk-ZT64C2HH.js → chunk-NOAYWPSU.js} +3 -1
  71. package/build/{chunk-ZT64C2HH.js.map → chunk-NOAYWPSU.js.map} +1 -1
  72. package/build/{chunk-7QXNWVBC.js → chunk-NUR34CWO.js} +7 -7
  73. package/build/{chunk-W52CG25S.js → chunk-OTHELDGX.js} +4 -4
  74. package/build/{chunk-3HQ4INPD.js → chunk-P4U4LOOZ.js} +7 -7
  75. package/build/{chunk-CD2D33WD.js → chunk-PWGZLHQK.js} +5 -5
  76. package/build/{chunk-YAAQDCIO.js → chunk-Q5T35E2T.js} +2 -2
  77. package/build/{chunk-DXIWWVMI.js → chunk-QF3VJ2H7.js} +3 -3
  78. package/build/{chunk-C4MT76XA.js → chunk-QSWUV64A.js} +8 -8
  79. package/build/{chunk-JDVKSWCI.js → chunk-R3BR7GCO.js} +8 -8
  80. package/build/{chunk-GEYA2KXC.js → chunk-RHOCGIP7.js} +6 -8
  81. package/build/{chunk-GEYA2KXC.js.map → chunk-RHOCGIP7.js.map} +1 -1
  82. package/build/{chunk-66HL2PNX.js → chunk-SYNCBTVP.js} +2 -2
  83. package/build/chunk-SYNCBTVP.js.map +1 -0
  84. package/build/{chunk-NCGDVYX4.js → chunk-TIX2YHCH.js} +2 -2
  85. package/build/{chunk-ZLJO7LG2.js → chunk-VB2TITLQ.js} +2 -2
  86. package/build/{chunk-RDZDU7HG.js → chunk-VTGHBBDO.js} +6 -6
  87. package/build/{chunk-DAYX5SOT.js → chunk-WDR4N2AO.js} +2 -2
  88. package/build/{chunk-KGBN44PW.js → chunk-WK2TZLIJ.js} +9 -9
  89. package/build/{chunk-BUH4B7MN.js → chunk-WKYOTFRN.js} +3 -3
  90. package/build/{chunk-P3QWHUZZ.js → chunk-X7A3443W.js} +2 -2
  91. package/build/{chunk-7H6ECU3K.js → chunk-XHZ7L7ZR.js} +4 -4
  92. package/build/{chunk-LDXTI7WD.js → chunk-ZSN2UURP.js} +2 -2
  93. package/build/{dev-SISGA4XC.js → dev-NUESCEVU.js} +25 -25
  94. package/build/{env-pull-RGYSNKUF.js → env-pull-PDCCV73E.js} +17 -17
  95. package/build/index.js +29 -28
  96. package/build/index.js.map +1 -1
  97. package/build/{install-5OWDFLPS.js → install-5QY6FB3C.js} +18 -18
  98. package/build/{preview-KY6ZNFS5.js → preview-BUIC246I.js} +25 -25
  99. package/build/{publish-UPUM2DBZ.js → publish-PZE3HY7O.js} +19 -19
  100. package/build/{render-command-GZ2L7S7Z.js → render-command-6YBX3NU3.js} +29 -17
  101. package/build/render-command-6YBX3NU3.js.map +1 -0
  102. package/build/render-command-MIPK6YG6.js +31 -0
  103. package/build/{render-command-7MMQZAJ5.js → render-command-MU7YBPHN.js} +33 -17
  104. package/build/render-command-MU7YBPHN.js.map +1 -0
  105. package/build/{render-command-PEW5CLAY.js → render-command-TBSJTMV6.js} +15 -15
  106. package/build/{render-command-BSLSFQQM.js → render-command-X4K74KRL.js} +14 -14
  107. package/build/run-command-APAJAUCI.js +23 -0
  108. package/build/{src-C6OCW6ZJ.js → src-454K4NAI.js} +57 -54
  109. package/build/src-454K4NAI.js.map +1 -0
  110. package/build/{src-5UTJXVFV.js → src-DJZLSCWD.js} +2 -2
  111. package/build/{src-LTGXOFE3.js → src-GY5U6BDS.js} +11 -11
  112. package/build/{src-K6KP4Y2U.js → src-LLXBSZX5.js} +6 -6
  113. package/build/{src-PIOQZSJS.js → src-OI432PPT.js} +7 -7
  114. package/build/{src-4P5ED653.js → src-PTASZH6I.js} +15 -15
  115. package/build/{src-OT2KKFH4.js → src-QWBGBSUZ.js} +4 -4
  116. package/build/{src-A5WR5NZ3.js → src-UJLFJRCE.js} +18 -18
  117. package/build/{sync-types-JNZG4HGA.js → sync-types-GJTS6APS.js} +14 -14
  118. package/build/{translation-pull-3OTH3NSY.js → translation-pull-4XGXVQRG.js} +17 -17
  119. package/build/{translation-push-6BCWH7TR.js → translation-push-TXHUNGP2.js} +18 -18
  120. package/build/{uninstall-N7ZAJKJR.js → uninstall-FKDQ3SEX.js} +18 -18
  121. package/package.json +2 -2
  122. package/build/ConnectWixVibeCommand-54ITZPGS.js.map +0 -1
  123. package/build/DevCommand-RPGXDRZT.js.map +0 -1
  124. package/build/EnvPullCommand-7G33QNND.js +0 -29
  125. package/build/PreviewCommand-BJOVXM3F.js +0 -43
  126. package/build/ReleaseCommand-4YOEZDZN.js.map +0 -1
  127. package/build/TranslationPullCommand-B55EGYSG.js +0 -29
  128. package/build/TranslationPushCommand-Y5F55P5J.js +0 -30
  129. package/build/chunk-5RNUWZI2.js.map +0 -1
  130. package/build/chunk-66HL2PNX.js.map +0 -1
  131. package/build/chunk-6Y4MEX3Q.js.map +0 -1
  132. package/build/chunk-FMKZTAQP.js.map +0 -1
  133. package/build/chunk-ILBLFQZT.js.map +0 -1
  134. package/build/chunk-LS67P5IA.js.map +0 -1
  135. package/build/chunk-OZSIAYEL.js.map +0 -1
  136. package/build/chunk-TS26C7L2.js.map +0 -1
  137. package/build/chunk-ZEBCD36F.js +0 -546
  138. package/build/chunk-ZEBCD36F.js.map +0 -1
  139. package/build/render-command-3T5UVLAO.js +0 -31
  140. package/build/render-command-7MMQZAJ5.js.map +0 -1
  141. package/build/render-command-GZ2L7S7Z.js.map +0 -1
  142. package/build/run-command-GST5BZQ4.js +0 -23
  143. package/build/src-C6OCW6ZJ.js.map +0 -1
  144. /package/build/{DevCommand-P74RBGFM.js.map → DevCommand-KGNTYNMF.js.map} +0 -0
  145. /package/build/{DevCommand-NHUVC4UO.js.map → DevCommand-TOP6EWUO.js.map} +0 -0
  146. /package/build/{EnvPullCommand-7G33QNND.js.map → EnvPullCommand-B45GH674.js.map} +0 -0
  147. /package/build/{EnvRemoveCommand-LNABKOVC.js.map → EnvRemoveCommand-WAAFZXEM.js.map} +0 -0
  148. /package/build/{EnvSetCommand-UTW64LI3.js.map → EnvSetCommand-DGULE6YD.js.map} +0 -0
  149. /package/build/{GenerateCommand-VLS4TYDK.js.map → GenerateCommand-JS7SZSLT.js.map} +0 -0
  150. /package/build/{InstallCommand-SPMUL727.js.map → InstallCommand-6DGT7YHP.js.map} +0 -0
  151. /package/build/{LoginCommand-FW473XJZ.js.map → LoginCommand-PP5WHQSE.js.map} +0 -0
  152. /package/build/{LogoutCommand-M6CEQLK7.js.map → LogoutCommand-5WY7Q7SP.js.map} +0 -0
  153. /package/build/{PreviewCommand-BJOVXM3F.js.map → PreviewCommand-BBUW3L7G.js.map} +0 -0
  154. /package/build/{PreviewCommand-BE324EMB.js.map → PreviewCommand-H5ZKPPSG.js.map} +0 -0
  155. /package/build/{PreviewCommand-MP4KACUL.js.map → PreviewCommand-JNQVCZ3K.js.map} +0 -0
  156. /package/build/{PromoteCommand-VMP7P5JU.js.map → PromoteCommand-4NZE6NOD.js.map} +0 -0
  157. /package/build/{PublishCommand-HD2JFEE3.js.map → PublishCommand-BETMAE65.js.map} +0 -0
  158. /package/build/{TranslationPullCommand-B55EGYSG.js.map → TranslationPullCommand-GVBRFVDY.js.map} +0 -0
  159. /package/build/{TranslationPushCommand-Y5F55P5J.js.map → TranslationPushCommand-C2ZH4EYL.js.map} +0 -0
  160. /package/build/{UninstallCommand-YEMKRWW7.js.map → UninstallCommand-XOHE5WYZ.js.map} +0 -0
  161. /package/build/{WhoamiCommand-X7KYMKZB.js.map → WhoamiCommand-I6NEMI5H.js.map} +0 -0
  162. /package/build/{chunk-5MBGKXQI.js.map → chunk-2ADUYQPH.js.map} +0 -0
  163. /package/build/{chunk-BDXIWQ54.js.map → chunk-2ZIXT2TW.js.map} +0 -0
  164. /package/build/{chunk-MM3Y5AII.js.map → chunk-3GBGKPOW.js.map} +0 -0
  165. /package/build/{chunk-N64IWNED.js.map → chunk-3MSD7RGO.js.map} +0 -0
  166. /package/build/{chunk-BPZ65FUU.js.map → chunk-44DCPIQ7.js.map} +0 -0
  167. /package/build/{chunk-3A3GZ6AE.js.map → chunk-573GMKPX.js.map} +0 -0
  168. /package/build/{chunk-CXVZILCF.js.map → chunk-5CKH3OMW.js.map} +0 -0
  169. /package/build/{chunk-ZMG2NVKC.js.map → chunk-7DVE34NP.js.map} +0 -0
  170. /package/build/{chunk-5TWTWK7J.js.map → chunk-7VNDLUNH.js.map} +0 -0
  171. /package/build/{chunk-N2BLW2L2.js.map → chunk-BGDQAKCH.js.map} +0 -0
  172. /package/build/{chunk-VAVF5WP4.js.map → chunk-CACHFOBS.js.map} +0 -0
  173. /package/build/{chunk-MWYM7E4X.js.map → chunk-CK4W2NGR.js.map} +0 -0
  174. /package/build/{chunk-7DVXBLSE.js.map → chunk-DCYBYMTU.js.map} +0 -0
  175. /package/build/{chunk-A3JYYBMD.js.map → chunk-DKBAJT66.js.map} +0 -0
  176. /package/build/{chunk-LMXQJCSZ.js.map → chunk-FIOP5PUA.js.map} +0 -0
  177. /package/build/{chunk-ZAIKTLK2.js.map → chunk-G442ZP7D.js.map} +0 -0
  178. /package/build/{chunk-GYI4CNJH.js.map → chunk-HSLEP2DR.js.map} +0 -0
  179. /package/build/{chunk-Y7EHKXKV.js.map → chunk-J6S3EQQP.js.map} +0 -0
  180. /package/build/{chunk-YRHNHP3H.js.map → chunk-JDIZDTXS.js.map} +0 -0
  181. /package/build/{chunk-OGXFTPSZ.js.map → chunk-KA7B5CAK.js.map} +0 -0
  182. /package/build/{chunk-BLXXP4IQ.js.map → chunk-MBDDT26N.js.map} +0 -0
  183. /package/build/{chunk-QRVCCBH6.js.map → chunk-MPJ57O4V.js.map} +0 -0
  184. /package/build/{chunk-4L2S3TKG.js.map → chunk-NDLMWKGS.js.map} +0 -0
  185. /package/build/{chunk-7QXNWVBC.js.map → chunk-NUR34CWO.js.map} +0 -0
  186. /package/build/{chunk-W52CG25S.js.map → chunk-OTHELDGX.js.map} +0 -0
  187. /package/build/{chunk-3HQ4INPD.js.map → chunk-P4U4LOOZ.js.map} +0 -0
  188. /package/build/{chunk-CD2D33WD.js.map → chunk-PWGZLHQK.js.map} +0 -0
  189. /package/build/{chunk-YAAQDCIO.js.map → chunk-Q5T35E2T.js.map} +0 -0
  190. /package/build/{chunk-DXIWWVMI.js.map → chunk-QF3VJ2H7.js.map} +0 -0
  191. /package/build/{chunk-C4MT76XA.js.map → chunk-QSWUV64A.js.map} +0 -0
  192. /package/build/{chunk-JDVKSWCI.js.map → chunk-R3BR7GCO.js.map} +0 -0
  193. /package/build/{chunk-NCGDVYX4.js.map → chunk-TIX2YHCH.js.map} +0 -0
  194. /package/build/{chunk-ZLJO7LG2.js.map → chunk-VB2TITLQ.js.map} +0 -0
  195. /package/build/{chunk-RDZDU7HG.js.map → chunk-VTGHBBDO.js.map} +0 -0
  196. /package/build/{chunk-DAYX5SOT.js.map → chunk-WDR4N2AO.js.map} +0 -0
  197. /package/build/{chunk-KGBN44PW.js.map → chunk-WK2TZLIJ.js.map} +0 -0
  198. /package/build/{chunk-BUH4B7MN.js.map → chunk-WKYOTFRN.js.map} +0 -0
  199. /package/build/{chunk-P3QWHUZZ.js.map → chunk-X7A3443W.js.map} +0 -0
  200. /package/build/{chunk-7H6ECU3K.js.map → chunk-XHZ7L7ZR.js.map} +0 -0
  201. /package/build/{chunk-LDXTI7WD.js.map → chunk-ZSN2UURP.js.map} +0 -0
  202. /package/build/{dev-SISGA4XC.js.map → dev-NUESCEVU.js.map} +0 -0
  203. /package/build/{env-pull-RGYSNKUF.js.map → env-pull-PDCCV73E.js.map} +0 -0
  204. /package/build/{install-5OWDFLPS.js.map → install-5QY6FB3C.js.map} +0 -0
  205. /package/build/{preview-KY6ZNFS5.js.map → preview-BUIC246I.js.map} +0 -0
  206. /package/build/{publish-UPUM2DBZ.js.map → publish-PZE3HY7O.js.map} +0 -0
  207. /package/build/{render-command-3T5UVLAO.js.map → render-command-MIPK6YG6.js.map} +0 -0
  208. /package/build/{render-command-PEW5CLAY.js.map → render-command-TBSJTMV6.js.map} +0 -0
  209. /package/build/{render-command-BSLSFQQM.js.map → render-command-X4K74KRL.js.map} +0 -0
  210. /package/build/{run-command-GST5BZQ4.js.map → run-command-APAJAUCI.js.map} +0 -0
  211. /package/build/{src-5UTJXVFV.js.map → src-DJZLSCWD.js.map} +0 -0
  212. /package/build/{src-K6KP4Y2U.js.map → src-GY5U6BDS.js.map} +0 -0
  213. /package/build/{src-LTGXOFE3.js.map → src-LLXBSZX5.js.map} +0 -0
  214. /package/build/{src-PIOQZSJS.js.map → src-OI432PPT.js.map} +0 -0
  215. /package/build/{src-4P5ED653.js.map → src-PTASZH6I.js.map} +0 -0
  216. /package/build/{src-OT2KKFH4.js.map → src-QWBGBSUZ.js.map} +0 -0
  217. /package/build/{src-A5WR5NZ3.js.map → src-UJLFJRCE.js.map} +0 -0
  218. /package/build/{sync-types-JNZG4HGA.js.map → sync-types-GJTS6APS.js.map} +0 -0
  219. /package/build/{translation-pull-3OTH3NSY.js.map → translation-pull-4XGXVQRG.js.map} +0 -0
  220. /package/build/{translation-push-6BCWH7TR.js.map → translation-push-TXHUNGP2.js.map} +0 -0
  221. /package/build/{uninstall-N7ZAJKJR.js.map → uninstall-FKDQ3SEX.js.map} +0 -0
@@ -1,17 +1,17 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
- require_ci_info,
4
+ createEnv,
5
5
  require_index_node,
6
6
  require_src,
7
7
  wixCliLoginEnd,
8
8
  wixCliLoginStart
9
- } from "./chunk-FMKZTAQP.js";
9
+ } from "./chunk-NDPNW3G7.js";
10
10
  import {
11
11
  I18nProvider,
12
12
  Trans,
13
13
  useTranslation
14
- } from "./chunk-4L2S3TKG.js";
14
+ } from "./chunk-NDLMWKGS.js";
15
15
  import {
16
16
  Alert,
17
17
  Box_default,
@@ -31,7 +31,7 @@ import {
31
31
  useAsyncCallback,
32
32
  useExit,
33
33
  use_input_default
34
- } from "./chunk-LMXQJCSZ.js";
34
+ } from "./chunk-FIOP5PUA.js";
35
35
  import {
36
36
  require_react
37
37
  } from "./chunk-YAIN7HW3.js";
@@ -111,15 +111,15 @@ import {
111
111
  } from "./chunk-C4SUTB4O.js";
112
112
  import {
113
113
  getDataDirPath
114
- } from "./chunk-YAAQDCIO.js";
114
+ } from "./chunk-Q5T35E2T.js";
115
115
  import {
116
116
  getTestOverrides
117
- } from "./chunk-66HL2PNX.js";
117
+ } from "./chunk-SYNCBTVP.js";
118
118
  import {
119
119
  pathExists,
120
120
  readJson,
121
121
  writeJson
122
- } from "./chunk-LDXTI7WD.js";
122
+ } from "./chunk-ZSN2UURP.js";
123
123
  import {
124
124
  external_exports
125
125
  } from "./chunk-F43XHKVL.js";
@@ -132,7 +132,7 @@ import {
132
132
  normalizeError,
133
133
  require_lib,
134
134
  require_verror
135
- } from "./chunk-ZT64C2HH.js";
135
+ } from "./chunk-NOAYWPSU.js";
136
136
  import {
137
137
  __commonJS,
138
138
  __esm,
@@ -1432,15 +1432,15 @@ var init_TraceState = __esm({
1432
1432
 
1433
1433
  // ../../node_modules/@opentelemetry/core/build/esm/trace/W3CTraceContextPropagator.js
1434
1434
  function parseTraceParent(traceParent) {
1435
- var match11 = TRACE_PARENT_REGEX.exec(traceParent);
1436
- if (!match11)
1435
+ var match12 = TRACE_PARENT_REGEX.exec(traceParent);
1436
+ if (!match12)
1437
1437
  return null;
1438
- if (match11[1] === "00" && match11[5])
1438
+ if (match12[1] === "00" && match12[5])
1439
1439
  return null;
1440
1440
  return {
1441
- traceId: match11[2],
1442
- spanId: match11[3],
1443
- traceFlags: parseInt(match11[4], 16)
1441
+ traceId: match12[2],
1442
+ spanId: match12[3],
1443
+ traceFlags: parseInt(match12[4], 16)
1444
1444
  };
1445
1445
  }
1446
1446
  var TRACE_PARENT_HEADER, TRACE_STATE_HEADER, VERSION2, VERSION_PART, TRACE_ID_PART, PARENT_ID_PART, FLAGS_PART, TRACE_PARENT_REGEX, W3CTraceContextPropagator;
@@ -2542,8 +2542,8 @@ var require_semver = __commonJS({
2542
2542
  }
2543
2543
  if (identifier) {
2544
2544
  const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
2545
- const match11 = `-${identifier}`.match(r);
2546
- if (!match11 || match11[1] !== identifier) {
2545
+ const match12 = `-${identifier}`.match(r);
2546
+ if (!match12 || match12[1] !== identifier) {
2547
2547
  throw new Error(`invalid identifier: ${identifier}`);
2548
2548
  }
2549
2549
  }
@@ -3026,28 +3026,28 @@ var require_coerce = __commonJS({
3026
3026
  return null;
3027
3027
  }
3028
3028
  options = options || {};
3029
- let match11 = null;
3029
+ let match12 = null;
3030
3030
  if (!options.rtl) {
3031
- match11 = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
3031
+ match12 = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
3032
3032
  } else {
3033
3033
  const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
3034
3034
  let next;
3035
- while ((next = coerceRtlRegex.exec(version)) && (!match11 || match11.index + match11[0].length !== version.length)) {
3036
- if (!match11 || next.index + next[0].length !== match11.index + match11[0].length) {
3037
- match11 = next;
3035
+ while ((next = coerceRtlRegex.exec(version)) && (!match12 || match12.index + match12[0].length !== version.length)) {
3036
+ if (!match12 || next.index + next[0].length !== match12.index + match12[0].length) {
3037
+ match12 = next;
3038
3038
  }
3039
3039
  coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
3040
3040
  }
3041
3041
  coerceRtlRegex.lastIndex = -1;
3042
3042
  }
3043
- if (match11 === null) {
3043
+ if (match12 === null) {
3044
3044
  return null;
3045
3045
  }
3046
- const major = match11[2];
3047
- const minor = match11[3] || "0";
3048
- const patch = match11[4] || "0";
3049
- const prerelease = options.includePrerelease && match11[5] ? `-${match11[5]}` : "";
3050
- const build = options.includePrerelease && match11[6] ? `+${match11[6]}` : "";
3046
+ const major = match12[2];
3047
+ const minor = match12[3] || "0";
3048
+ const patch = match12[4] || "0";
3049
+ const prerelease = options.includePrerelease && match12[5] ? `-${match12[5]}` : "";
3050
+ const build = options.includePrerelease && match12[6] ? `+${match12[6]}` : "";
3051
3051
  return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
3052
3052
  };
3053
3053
  module2.exports = coerce;
@@ -14846,13 +14846,14 @@ function createApiKeyAuthState({
14846
14846
  siteId
14847
14847
  }) {
14848
14848
  return {
14849
- getAccessToken: async () => token2,
14849
+ getAccessToken: async (_options) => token2,
14850
14850
  getRefreshToken: () => {
14851
14851
  throw new Error("API key auth does not support refresh tokens");
14852
14852
  },
14853
- getRequestHeaders: () => {
14854
- if (siteId) {
14855
- return { "wix-site-id": siteId };
14853
+ getRequestHeaders: (options) => {
14854
+ const siteIdToUse = siteId ?? options?.siteId;
14855
+ if (siteIdToUse) {
14856
+ return { "wix-site-id": siteIdToUse };
14856
14857
  }
14857
14858
  return { "wix-account-id": accountId };
14858
14859
  },
@@ -14889,7 +14890,7 @@ var apiKeyAuthStrategy = {
14889
14890
  }
14890
14891
  };
14891
14892
 
14892
- // ../cli-auth/src/auth-strategies/account-auth-strategy.ts
14893
+ // ../cli-auth/src/auth-strategies/unified-auth-strategy.ts
14893
14894
  init_esm_shims();
14894
14895
 
14895
14896
  // ../../node_modules/p-limit/index.js
@@ -15027,7 +15028,11 @@ function validateConcurrency(concurrency) {
15027
15028
  }
15028
15029
  }
15029
15030
 
15031
+ // ../cli-auth/src/auth-strategies/unified-auth-strategy.ts
15032
+ var import_variant6 = __toESM(require_lib(), 1);
15033
+
15030
15034
  // ../cli-auth/src/auth-strategies/account-auth-strategy.ts
15035
+ init_esm_shims();
15031
15036
  var import_variant4 = __toESM(require_lib(), 1);
15032
15037
 
15033
15038
  // ../../node_modules/p-wait-for/index.js
@@ -15170,7 +15175,16 @@ pWaitFor.resolveWith = (value) => ({ [resolveValue]: value });
15170
15175
 
15171
15176
  // ../cli-auth/src/auth-strategies/account-auth-strategy.ts
15172
15177
  var seconds = (n) => 1e3 * n;
15173
- async function waitForLogin({ deviceCode: deviceCode2, expiresIn }, { signal }) {
15178
+ async function finalizeLogin(tokenData) {
15179
+ const userInfo = await client.userInfo({
15180
+ accessToken: tokenData.accessToken
15181
+ });
15182
+ const result = { ...tokenData, userInfo };
15183
+ await deleteAuthData();
15184
+ await saveAuthData(result);
15185
+ return result;
15186
+ }
15187
+ async function loginWithDeviceCode({ deviceCode: deviceCode2, expiresIn }, { signal }) {
15174
15188
  try {
15175
15189
  const authData = await pWaitFor(
15176
15190
  async () => {
@@ -15187,17 +15201,11 @@ async function waitForLogin({ deviceCode: deviceCode2, expiresIn }, { signal })
15187
15201
  }
15188
15202
  },
15189
15203
  {
15190
- interval: getTestOverrides().waitForLoginInterval ?? seconds(3),
15204
+ interval: getTestOverrides().loginWithDeviceCodeInterval ?? seconds(3),
15191
15205
  timeout: { milliseconds: seconds(expiresIn), signal }
15192
15206
  }
15193
15207
  );
15194
- const userInfo = await client.userInfo({
15195
- accessToken: authData.accessToken
15196
- });
15197
- const result = { ...authData, userInfo };
15198
- await deleteAuthData();
15199
- await saveAuthData(result);
15200
- return result;
15208
+ return await finalizeLogin(authData);
15201
15209
  } catch (error) {
15202
15210
  if (error instanceof TimeoutError) {
15203
15211
  throw new CliError({
@@ -15208,7 +15216,22 @@ async function waitForLogin({ deviceCode: deviceCode2, expiresIn }, { signal })
15208
15216
  throw error;
15209
15217
  }
15210
15218
  }
15211
- async function renewAccountAuth({ refreshToken, userInfo }) {
15219
+ async function loginWithRefreshToken({
15220
+ refreshToken
15221
+ }) {
15222
+ const renewTokenResult = await client.renewToken({ refreshToken });
15223
+ if ((0, import_variant4.isType)(renewTokenResult, RenewTokenData.TokenRenewed)) {
15224
+ return await finalizeLogin(renewTokenResult.payload);
15225
+ }
15226
+ throw new CliError({
15227
+ code: CliErrorCode.FailedToLoginWithRefreshToken(),
15228
+ cause: null
15229
+ });
15230
+ }
15231
+ async function renewAccountAuth({
15232
+ refreshToken,
15233
+ userInfo
15234
+ }) {
15212
15235
  const renewTokenResult = await client.renewToken({ refreshToken });
15213
15236
  if ((0, import_variant4.isType)(renewTokenResult, RenewTokenData.TokenRenewed)) {
15214
15237
  await saveAuthData({ ...renewTokenResult.payload, userInfo });
@@ -15279,25 +15302,8 @@ var accountAuthStrategy = {
15279
15302
  return null;
15280
15303
  },
15281
15304
  async login({ deviceCode: deviceCode2, signal }) {
15282
- const accountAuth = await waitForLogin(deviceCode2, { signal });
15305
+ const accountAuth = await loginWithDeviceCode(deviceCode2, { signal });
15283
15306
  return createAccountAuthState(accountAuth);
15284
- },
15285
- async loginWithRefreshToken({ refreshToken }) {
15286
- const renewTokenResult = await client.renewToken({ refreshToken });
15287
- if ((0, import_variant4.isType)(renewTokenResult, RenewTokenData.TokenRenewed)) {
15288
- const newTokenData = renewTokenResult.payload;
15289
- const userInfo = await client.userInfo({
15290
- accessToken: newTokenData.accessToken
15291
- });
15292
- const result = { ...newTokenData, userInfo };
15293
- await deleteAuthData();
15294
- await saveAuthData(result);
15295
- return createAccountAuthState(result);
15296
- }
15297
- throw new CliError({
15298
- code: CliErrorCode.FailedToLoginWithRefreshToken(),
15299
- cause: null
15300
- });
15301
15307
  }
15302
15308
  };
15303
15309
 
@@ -15425,12 +15431,94 @@ var createSiteAuthStrategy = (siteId) => ({
15425
15431
  }
15426
15432
  });
15427
15433
 
15434
+ // ../cli-auth/src/auth-strategies/unified-auth-strategy.ts
15435
+ async function createAuthState({
15436
+ userInfo,
15437
+ ...initialTokenData
15438
+ }) {
15439
+ const limiter = pLimit(1);
15440
+ let accountTokenData = { ...initialTokenData };
15441
+ const siteTokensDataCache = /* @__PURE__ */ new Map();
15442
+ async function getOrEnsureSiteAuth(siteId) {
15443
+ const cached = siteTokensDataCache.get(siteId);
15444
+ if (cached && isValidToken(cached)) {
15445
+ return cached;
15446
+ }
15447
+ const siteAuthResult = await ensureAuthenticatedToSite({
15448
+ siteId,
15449
+ accountRefreshToken: accountTokenData.refreshToken
15450
+ });
15451
+ if (!(0, import_variant6.isType)(siteAuthResult, AuthenticationResult.Ok)) {
15452
+ throw new CliError({
15453
+ code: CliErrorCode.FailedToRenewAuthTokenRefreshTokenRevoked(),
15454
+ cause: siteAuthResult.cause
15455
+ });
15456
+ }
15457
+ const siteTokenData = siteAuthResult.payload;
15458
+ siteTokensDataCache.set(siteId, siteTokenData);
15459
+ return siteTokenData;
15460
+ }
15461
+ return {
15462
+ getAccessToken: ({ siteId } = {}) => {
15463
+ return limiter(async () => {
15464
+ if (siteId) {
15465
+ return (await getOrEnsureSiteAuth(siteId)).accessToken;
15466
+ }
15467
+ if (isValidToken(accountTokenData)) {
15468
+ return accountTokenData.accessToken;
15469
+ }
15470
+ const renewTokenResult = await renewAccountAuth({
15471
+ ...accountTokenData,
15472
+ userInfo
15473
+ });
15474
+ return (0, import_variant6.match)(renewTokenResult, {
15475
+ TokenRenewed: ({ payload: newTokenData }) => {
15476
+ accountTokenData = newTokenData;
15477
+ return accountTokenData.accessToken;
15478
+ },
15479
+ RefreshTokenRevoked: ({ cause }) => {
15480
+ throw new CliError({
15481
+ code: CliErrorCode.FailedToRenewAuthTokenRefreshTokenRevoked(),
15482
+ cause
15483
+ });
15484
+ }
15485
+ });
15486
+ });
15487
+ },
15488
+ getRefreshToken: () => accountTokenData.refreshToken,
15489
+ userInfo
15490
+ };
15491
+ }
15492
+ var unifiedAuthStrategy = {
15493
+ async isLoggedIn() {
15494
+ const apiKeyAuth = await apiKeyAuthStrategy.isLoggedIn();
15495
+ if (apiKeyAuth) {
15496
+ return apiKeyAuth;
15497
+ }
15498
+ const accountAuth = await getNonExpiredAccountAuth();
15499
+ if (!accountAuth) {
15500
+ return null;
15501
+ }
15502
+ return await createAuthState(accountAuth);
15503
+ },
15504
+ async login({ deviceCode: deviceCode2, signal }) {
15505
+ const accountAuth = await loginWithDeviceCode(deviceCode2, {
15506
+ signal
15507
+ });
15508
+ return await createAuthState(accountAuth);
15509
+ },
15510
+ async loginWithRefreshToken({ refreshToken }) {
15511
+ const authData = await loginWithRefreshToken({ refreshToken });
15512
+ return await createAuthState(authData);
15513
+ }
15514
+ };
15515
+
15428
15516
  // ../cli-auth/src/logout.ts
15429
15517
  init_esm_shims();
15430
- var import_variant6 = __toESM(require_lib(), 1);
15518
+ var import_variant7 = __toESM(require_lib(), 1);
15431
15519
  async function logout() {
15432
15520
  const authData = await readAccountAuthData();
15433
- if (!(0, import_variant6.isType)(authData, AccountAuthData.Unauthenticated)) {
15521
+ if (!(0, import_variant7.isType)(authData, AccountAuthData.Unauthenticated)) {
15434
15522
  await client.revokeRefreshToken(
15435
15523
  { token: authData.refreshToken },
15436
15524
  authData.userInfo
@@ -15484,7 +15572,7 @@ var useBiLogger = () => {
15484
15572
  };
15485
15573
 
15486
15574
  // ../cli-auth/src/components/ApiKeyLogin.tsx
15487
- var import_variant7 = __toESM(require_lib(), 1);
15575
+ var import_variant8 = __toESM(require_lib(), 1);
15488
15576
  var ApiKeyLogin = ({ token: token2, onLogin, onError }) => {
15489
15577
  const biLogger = useBiLogger();
15490
15578
  const { status } = useAsync(
@@ -15518,7 +15606,7 @@ var ApiKeyLogin = ({ token: token2, onLogin, onError }) => {
15518
15606
  }
15519
15607
  }
15520
15608
  );
15521
- return (0, import_variant7.match)(status, {
15609
+ return (0, import_variant8.match)(status, {
15522
15610
  Error: () => null,
15523
15611
  Loading: () => /* @__PURE__ */ import_react4.default.createElement(Spinner, null),
15524
15612
  Success: () => null
@@ -15528,7 +15616,7 @@ var ApiKeyLogin = ({ token: token2, onLogin, onError }) => {
15528
15616
  // ../cli-auth/src/components/RefreshTokenLogin.tsx
15529
15617
  init_esm_shims();
15530
15618
  var import_react5 = __toESM(require_react(), 1);
15531
- var import_variant8 = __toESM(require_lib(), 1);
15619
+ var import_variant9 = __toESM(require_lib(), 1);
15532
15620
  var RefreshTokenLogin = ({
15533
15621
  refreshToken,
15534
15622
  onLogin,
@@ -15538,7 +15626,7 @@ var RefreshTokenLogin = ({
15538
15626
  const { status } = useAsync(
15539
15627
  async () => {
15540
15628
  void biLogger.report(wixCliLoginStart({}));
15541
- return accountAuthStrategy.loginWithRefreshToken({ refreshToken });
15629
+ return unifiedAuthStrategy.loginWithRefreshToken({ refreshToken });
15542
15630
  },
15543
15631
  [],
15544
15632
  {
@@ -15566,7 +15654,7 @@ var RefreshTokenLogin = ({
15566
15654
  }
15567
15655
  }
15568
15656
  );
15569
- return (0, import_variant8.match)(status, {
15657
+ return (0, import_variant9.match)(status, {
15570
15658
  Error: () => null,
15571
15659
  Loading: () => /* @__PURE__ */ import_react5.default.createElement(Spinner, null),
15572
15660
  Success: () => null
@@ -15576,7 +15664,7 @@ var RefreshTokenLogin = ({
15576
15664
  // ../cli-auth/src/components/Login.tsx
15577
15665
  init_esm_shims();
15578
15666
  var import_react21 = __toESM(require_react(), 1);
15579
- var import_variant13 = __toESM(require_lib(), 1);
15667
+ var import_variant14 = __toESM(require_lib(), 1);
15580
15668
 
15581
15669
  // ../cli-auth/src/messages.json
15582
15670
  var messages_default = {
@@ -15712,8 +15800,8 @@ async function defaultBrowserId() {
15712
15800
  throw new Error("macOS only");
15713
15801
  }
15714
15802
  const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
15715
- const match11 = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
15716
- return match11?.groups.id ?? "com.apple.Safari";
15803
+ const match12 = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
15804
+ return match12?.groups.id ?? "com.apple.Safari";
15717
15805
  }
15718
15806
 
15719
15807
  // ../../node_modules/bundle-name/index.js
@@ -15767,11 +15855,11 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
15767
15855
  "/v",
15768
15856
  "ProgId"
15769
15857
  ]);
15770
- const match11 = /ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(stdout);
15771
- if (!match11) {
15858
+ const match12 = /ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(stdout);
15859
+ if (!match12) {
15772
15860
  throw new UnknownBrowserError(`Cannot find Windows browser in stdout: ${JSON.stringify(stdout)}`);
15773
15861
  }
15774
- const { id } = match11.groups;
15862
+ const { id } = match12.groups;
15775
15863
  const browser = windowsBrowserProgIds[id];
15776
15864
  if (!browser) {
15777
15865
  throw new UnknownBrowserError(`Unknown browser ID: ${id}`);
@@ -16140,20 +16228,6 @@ var useDebugLog = () => {
16140
16228
  return context2;
16141
16229
  };
16142
16230
 
16143
- // ../cli-env/src/index.ts
16144
- init_esm_shims();
16145
- var import_ci_info = __toESM(require_ci_info(), 1);
16146
- var createEnv = () => {
16147
- const overrides = getTestOverrides();
16148
- return {
16149
- isCI: overrides.isCI ?? import_ci_info.default.isCI,
16150
- isPR: overrides.isPR ?? import_ci_info.default.isPR,
16151
- ciName: overrides.ciName ?? import_ci_info.default.name ?? process.env.CI_NAME ?? null,
16152
- cliEnvName: overrides.cliEnvName ?? process.env.WIX_RUNTIME_ENVIRONMENT ?? null,
16153
- cliTrackingId: overrides.cliTrackingId ?? process.env.TRACKING_ID ?? null
16154
- };
16155
- };
16156
-
16157
16231
  // ../cli-error-reporting/src/components/ErrorViewer.ts
16158
16232
  init_esm_shims();
16159
16233
  var import_react11 = __toESM(require_react(), 1);
@@ -16161,7 +16235,7 @@ var import_react11 = __toESM(require_react(), 1);
16161
16235
  // ../cli-error-reporting/src/get-error-component.tsx
16162
16236
  init_esm_shims();
16163
16237
  var import_react10 = __toESM(require_react(), 1);
16164
- var import_variant9 = __toESM(require_lib(), 1);
16238
+ var import_variant10 = __toESM(require_lib(), 1);
16165
16239
 
16166
16240
  // ../../node_modules/outdent/lib-module/index.js
16167
16241
  init_esm_shims();
@@ -16208,9 +16282,9 @@ var reDetectIndentation = /(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/;
16208
16282
  var reOnlyWhitespaceWithAtLeastOneNewline = /^[ \t]*[\r\n][ \t\r\n]*$/;
16209
16283
  function _outdentArray(strings, firstInterpolatedValueSetsIndentationLevel, options) {
16210
16284
  var indentationLevel = 0;
16211
- var match11 = strings[0].match(reDetectIndentation);
16212
- if (match11) {
16213
- indentationLevel = match11[1].length;
16285
+ var match12 = strings[0].match(reDetectIndentation);
16286
+ if (match12) {
16287
+ indentationLevel = match12[1].length;
16214
16288
  }
16215
16289
  var reSource = "(\\r\\n|\\r|\\n).{0," + indentationLevel + "}";
16216
16290
  var reMatchIndent = new RegExp(reSource, "g");
@@ -16393,7 +16467,7 @@ var ServeDeprecationMessage = ({
16393
16467
 
16394
16468
  // ../cli-error-reporting/src/get-error-component.tsx
16395
16469
  function getErrorComponent(code, cause) {
16396
- return (0, import_variant9.match)(code, {
16470
+ return (0, import_variant10.match)(code, {
16397
16471
  UnknownFailure: ({ error }) => {
16398
16472
  return () => /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement(Text, { skin: "error" }, "Oh no, seems like the CLI encountered an unexpected error:"), error instanceof Error ? /* @__PURE__ */ import_react10.default.createElement(Text, { skin: "error" }, error.message) : /* @__PURE__ */ import_react10.default.createElement(Text, null, JSON.stringify(error)));
16399
16473
  },
@@ -16935,7 +17009,7 @@ function getErrorComponent(code, cause) {
16935
17009
  },
16936
17010
  DuplicateComponentIdsError: ({ issues }) => {
16937
17011
  const Issue = ({ issue }) => {
16938
- const typeToName = (type) => (0, import_variant9.match)(type, {
17012
+ const typeToName = (type) => (0, import_variant10.match)(type, {
16939
17013
  page: () => "page",
16940
17014
  plugin: () => "plugin",
16941
17015
  "menu-plugin": () => "menu plugin",
@@ -17065,6 +17139,15 @@ function getErrorComponent(code, cause) {
17065
17139
  }
17066
17140
  );
17067
17141
  },
17142
+ FailedToBuildAstroApp: () => {
17143
+ return () => /* @__PURE__ */ import_react10.default.createElement(
17144
+ ErrorMessage,
17145
+ {
17146
+ message: "Failed to build the application.",
17147
+ hint: "Please check the build output for more information"
17148
+ }
17149
+ );
17150
+ },
17068
17151
  FailedToGetAppInstallationDetails: ({ appId }) => {
17069
17152
  return () => /* @__PURE__ */ import_react10.default.createElement(
17070
17153
  SystemErrorMessage,
@@ -17905,6 +17988,9 @@ ${errorMessage}`
17905
17988
  FailedToCreateRoutesWithMetaSiteUrl: () => {
17906
17989
  return () => /* @__PURE__ */ import_react10.default.createElement(SystemErrorMessage, { message: "Failed to create routes with meta site URL." });
17907
17990
  },
17991
+ FailedToGetUrl: () => {
17992
+ return () => /* @__PURE__ */ import_react10.default.createElement(SystemErrorMessage, { message: "Failed to get meta site URL." });
17993
+ },
17908
17994
  FailedToUpdateExternalSiteUrl: () => {
17909
17995
  return () => /* @__PURE__ */ import_react10.default.createElement(SystemErrorMessage, { message: "Failed to update external site URL." });
17910
17996
  },
@@ -17986,7 +18072,7 @@ var ErrorViewer = ({
17986
18072
 
17987
18073
  // ../cli-error-reporting/src/error-reporter.ts
17988
18074
  init_esm_shims();
17989
- var import_variant10 = __toESM(require_lib(), 1);
18075
+ var import_variant11 = __toESM(require_lib(), 1);
17990
18076
 
17991
18077
  // ../../node_modules/@sentry/node/build/esm/index.js
17992
18078
  init_esm_shims();
@@ -18608,8 +18694,8 @@ var LINUX_VERSIONS = {
18608
18694
  ubuntu: (content) => matchFirst(/distrib_release=(.*)/, content)
18609
18695
  };
18610
18696
  function matchFirst(regex, text) {
18611
- const match11 = regex.exec(text);
18612
- return match11 ? match11[1] : void 0;
18697
+ const match12 = regex.exec(text);
18698
+ return match12 ? match12[1] : void 0;
18613
18699
  }
18614
18700
  async function getDarwinInfo() {
18615
18701
  const darwinInfo = {
@@ -20665,15 +20751,15 @@ function normalizeRequestId(requestId) {
20665
20751
  }
20666
20752
 
20667
20753
  // ../cli-error-reporting/src/error-reporter.ts
20668
- var ReportErrorResult = (0, import_variant10.variant)({
20669
- Reported: (0, import_variant10.fields)(),
20754
+ var ReportErrorResult = (0, import_variant11.variant)({
20755
+ Reported: (0, import_variant11.fields)(),
20670
20756
  Ignored: {}
20671
20757
  });
20672
20758
  var reportError = (scope, originalError, { data } = {}) => {
20673
20759
  if (!isCliSystemError(originalError)) {
20674
20760
  return ReportErrorResult.Ignored();
20675
20761
  }
20676
- const error = (0, import_variant10.isType)(originalError.cliCode, CliSystemErrorCode.UnknownFailure) ? originalError.cliCode.error : originalError;
20762
+ const error = (0, import_variant11.isType)(originalError.cliCode, CliSystemErrorCode.UnknownFailure) ? originalError.cliCode.error : originalError;
20677
20763
  const eventId = scope.captureException(error, {
20678
20764
  data,
20679
20765
  captureContext: (localScope) => {
@@ -20786,15 +20872,15 @@ function yesOrNo(value) {
20786
20872
  // ../cli-error-reporting/src/user-feedback.tsx
20787
20873
  init_esm_shims();
20788
20874
  var import_react15 = __toESM(require_react(), 1);
20789
- var import_variant12 = __toESM(require_lib(), 1);
20875
+ var import_variant13 = __toESM(require_lib(), 1);
20790
20876
  import { stdin } from "node:process";
20791
20877
 
20792
20878
  // ../cli-fs-cache/src/index.ts
20793
20879
  init_esm_shims();
20794
- var import_variant11 = __toESM(require_lib(), 1);
20880
+ var import_variant12 = __toESM(require_lib(), 1);
20795
20881
  import { join as join4 } from "node:path";
20796
- var CacheState = (0, import_variant11.variant)({
20797
- Exists: (0, import_variant11.fields)(),
20882
+ var CacheState = (0, import_variant12.variant)({
20883
+ Exists: (0, import_variant12.fields)(),
20798
20884
  NotExists: {}
20799
20885
  });
20800
20886
  var CacheData = external_exports.object({
@@ -20914,7 +21000,7 @@ async function collectUserFeedback({
20914
21000
  reportResult,
20915
21001
  errorReporter
20916
21002
  }) {
20917
- if (!stdin.isTTY || !cachePath || !(0, import_variant12.isType)(reportResult, ReportErrorResult.Reported)) {
21003
+ if (!stdin.isTTY || !cachePath || !(0, import_variant13.isType)(reportResult, ReportErrorResult.Reported)) {
20918
21004
  return;
20919
21005
  }
20920
21006
  const fsCache = createFsCache({
@@ -20922,7 +21008,7 @@ async function collectUserFeedback({
20922
21008
  ttlInHours: 1
20923
21009
  });
20924
21010
  const cacheState = await fsCache.get();
20925
- if ((0, import_variant12.isType)(cacheState, CacheState.Exists)) {
21011
+ if ((0, import_variant13.isType)(cacheState, CacheState.Exists)) {
20926
21012
  return;
20927
21013
  }
20928
21014
  const user = errorReporter.getUser();
@@ -21176,7 +21262,7 @@ var Login = ({ loginFn, onLogin, onError }) => {
21176
21262
  onError: handleError
21177
21263
  }
21178
21264
  );
21179
- return (0, import_variant13.match)(status, {
21265
+ return (0, import_variant14.match)(status, {
21180
21266
  Error: () => null,
21181
21267
  Loading: () => /* @__PURE__ */ import_react21.default.createElement(Spinner, null),
21182
21268
  Success: ({ result: { userCode, verificationUri } }) => /* @__PURE__ */ import_react21.default.createElement(
@@ -21189,26 +21275,26 @@ var Login = ({ loginFn, onLogin, onError }) => {
21189
21275
  });
21190
21276
  };
21191
21277
  function LoginWithI18n(props) {
21192
- return /* @__PURE__ */ import_react21.default.createElement(I18nProvider, { messages: messages_default }, /* @__PURE__ */ import_react21.default.createElement(Login, { loginFn: accountAuthStrategy.login, ...props }));
21278
+ return /* @__PURE__ */ import_react21.default.createElement(I18nProvider, { messages: messages_default }, /* @__PURE__ */ import_react21.default.createElement(Login, { loginFn: unifiedAuthStrategy.login, ...props }));
21193
21279
  }
21194
21280
 
21195
- // ../cli-auth/src/providers/AccountAuthProvider.tsx
21281
+ // ../cli-auth/src/providers/UnifiedAuthProvider.tsx
21196
21282
  init_esm_shims();
21197
21283
  var import_react24 = __toESM(require_react(), 1);
21198
21284
 
21199
21285
  // ../cli-auth/src/components/EnsureLoggedIn.tsx
21200
21286
  init_esm_shims();
21201
21287
  var import_react23 = __toESM(require_react(), 1);
21202
- var import_variant15 = __toESM(require_lib(), 1);
21288
+ var import_variant16 = __toESM(require_lib(), 1);
21203
21289
 
21204
21290
  // ../cli-auth/src/components/WarnLegacyAuthData.tsx
21205
21291
  init_esm_shims();
21206
21292
  var import_react22 = __toESM(require_react(), 1);
21207
- var import_variant14 = __toESM(require_lib(), 1);
21293
+ var import_variant15 = __toESM(require_lib(), 1);
21208
21294
  var WarnLegacyAuthData = ({ children }) => {
21209
21295
  const { status } = useAsync(hasLegacyAuthData, [], { onError: () => {
21210
21296
  } });
21211
- return (0, import_variant14.match)(status, {
21297
+ return (0, import_variant15.match)(status, {
21212
21298
  Error: () => null,
21213
21299
  Loading: () => null,
21214
21300
  Success: ({ result }) => /* @__PURE__ */ import_react22.default.createElement(import_react22.default.Fragment, null, result && /* @__PURE__ */ import_react22.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react22.default.createElement(Trans, { i18nKey: "login.legacy_auth_notice" })), children)
@@ -21230,7 +21316,7 @@ var EnsureLoggedIn = ({
21230
21316
  },
21231
21317
  onError
21232
21318
  });
21233
- return (0, import_variant15.match)(status, {
21319
+ return (0, import_variant16.match)(status, {
21234
21320
  Loading: () => /* @__PURE__ */ import_react23.default.createElement(Spinner, null),
21235
21321
  Error: () => null,
21236
21322
  Success: ({ result: accountAuth }) => {
@@ -21252,17 +21338,13 @@ var EnsureLoggedIn = ({
21252
21338
  });
21253
21339
  };
21254
21340
 
21255
- // ../cli-auth/src/providers/AccountAuthProvider.tsx
21256
- var AccountAuthProvider = ({
21257
- children,
21258
- onError,
21259
- onLogin
21260
- }) => {
21341
+ // ../cli-auth/src/providers/UnifiedAuthProvider.tsx
21342
+ var AuthProvider = ({ children, onError, onLogin }) => {
21261
21343
  const exit = useExit();
21262
21344
  return /* @__PURE__ */ import_react24.default.createElement(
21263
21345
  EnsureLoggedIn,
21264
21346
  {
21265
- authStrategy: accountAuthStrategy,
21347
+ authStrategy: unifiedAuthStrategy,
21266
21348
  onLogin: ({ userInfo }) => onLogin?.(userInfo),
21267
21349
  onError: onError ?? exit
21268
21350
  },
@@ -21311,7 +21393,7 @@ var SiteAuthProvider = ({
21311
21393
  // ../cli-auth/src/hooks/useSiteAuth.ts
21312
21394
  init_esm_shims();
21313
21395
  var import_react26 = __toESM(require_react(), 1);
21314
- var import_variant16 = __toESM(require_lib(), 1);
21396
+ var import_variant17 = __toESM(require_lib(), 1);
21315
21397
  var useSiteAuth = ({
21316
21398
  siteId,
21317
21399
  onError,
@@ -21327,7 +21409,7 @@ var useSiteAuth = ({
21327
21409
  },
21328
21410
  onError: onError ?? exit
21329
21411
  });
21330
- if ((0, import_variant16.isType)(status, "Loading")) {
21412
+ if ((0, import_variant17.isType)(status, "Loading")) {
21331
21413
  return {
21332
21414
  isLoading: true,
21333
21415
  isError: false,
@@ -21335,7 +21417,7 @@ var useSiteAuth = ({
21335
21417
  authState: null
21336
21418
  };
21337
21419
  }
21338
- if ((0, import_variant16.isType)(status, "Error")) {
21420
+ if ((0, import_variant17.isType)(status, "Error")) {
21339
21421
  return {
21340
21422
  isLoading: false,
21341
21423
  isError: true,
@@ -21385,7 +21467,7 @@ function authenticateWithSiteId(siteId, biLogger, errorReporter) {
21385
21467
  }
21386
21468
 
21387
21469
  // ../cli-auth/src/index.ts
21388
- var { isLoggedIn: isLoggedInToAccount } = accountAuthStrategy;
21470
+ var { isLoggedIn: isLoggedInToAccount } = unifiedAuthStrategy;
21389
21471
 
21390
21472
  export {
21391
21473
  pRetry,
@@ -21412,7 +21494,6 @@ export {
21412
21494
  writeCrashReport,
21413
21495
  DebugLogProvider,
21414
21496
  useDebugLog,
21415
- createEnv,
21416
21497
  defaultOutdent,
21417
21498
  OutdatedVersionMessage,
21418
21499
  ErrorViewer,
@@ -21427,10 +21508,10 @@ export {
21427
21508
  ErrorReporterProvider,
21428
21509
  useErrorReporter,
21429
21510
  LoginWithI18n,
21430
- AccountAuthProvider,
21511
+ AuthProvider,
21431
21512
  SiteAuthProvider,
21432
21513
  useSiteAuth,
21433
21514
  authenticateWithSiteId,
21434
21515
  isLoggedInToAccount
21435
21516
  };
21436
- //# sourceMappingURL=chunk-TS26C7L2.js.map
21517
+ //# sourceMappingURL=chunk-EC2JRUEW.js.map