@omer-x/buttler 2.0.0-alpha.7 → 2.0.0-alpha.9

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 (354) hide show
  1. package/drizzle/20261126045852_service_internet_access/migration.sql +1 -0
  2. package/drizzle/20261126045852_service_internet_access/snapshot.json +581 -0
  3. package/drizzle/20261126062036_service_links/migration.sql +11 -0
  4. package/drizzle/20261126062036_service_links/snapshot.json +688 -0
  5. package/package.json +1 -1
  6. package/ui/.next/BUILD_ID +1 -1
  7. package/ui/.next/app-path-routes-manifest.json +1 -0
  8. package/ui/.next/build-manifest.json +14 -3
  9. package/ui/.next/prerender-manifest.json +107 -3
  10. package/ui/.next/routes-manifest.json +38 -0
  11. package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +19 -19
  12. package/ui/.next/server/app/[locale]/(auth)/install/page.js +12 -11
  13. package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -1
  14. package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +1 -1
  15. package/ui/.next/server/app/[locale]/(auth)/login/page.js.nft.json +1 -1
  16. package/ui/.next/server/app/[locale]/(auth)/login/page_client-reference-manifest.js +1 -1
  17. package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +1 -1
  18. package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -1
  19. package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +1 -1
  20. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +47 -27
  21. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js +16 -15
  22. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -1
  23. package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +1 -1
  24. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/app-paths-manifest.json +3 -0
  25. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/build-manifest.json +22 -0
  26. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/next-font-manifest.json +6 -0
  27. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/react-loadable-manifest.json +1 -0
  28. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/server-reference-manifest.json +225 -0
  29. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js +54 -0
  30. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js.map +5 -0
  31. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js.nft.json +1 -0
  32. package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page_client-reference-manifest.js +3 -0
  33. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +47 -27
  34. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js +16 -15
  35. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -1
  36. package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +1 -1
  37. package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +47 -27
  38. package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js +16 -15
  39. package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -1
  40. package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +1 -1
  41. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +54 -34
  42. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js +17 -16
  43. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -1
  44. package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +1 -1
  45. package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +35 -25
  46. package/ui/.next/server/app/[locale]/(base)/services/new/page.js +12 -11
  47. package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -1
  48. package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +1 -1
  49. package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +13 -3
  50. package/ui/.next/server/app/[locale]/(base)/services/page.js +6 -6
  51. package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -1
  52. package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +1 -1
  53. package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +22 -22
  54. package/ui/.next/server/app/[locale]/(base)/settings/page.js +11 -10
  55. package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -1
  56. package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +1 -1
  57. package/ui/.next/server/app/[locale]/install.meta +2 -2
  58. package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +4 -4
  59. package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +5 -5
  60. package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +2 -2
  61. package/ui/.next/server/app/[locale]/login.meta +2 -2
  62. package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +3 -3
  63. package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +4 -4
  64. package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +2 -2
  65. package/ui/.next/server/app/[locale]/services/[id]/builds.meta +2 -2
  66. package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +5 -5
  67. package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +5 -5
  68. package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +2 -2
  69. package/ui/.next/server/app/[locale]/services/[id]/links.html +0 -0
  70. package/ui/.next/server/app/[locale]/services/[id]/links.meta +57 -0
  71. package/ui/.next/server/app/[locale]/services/[id]/links.segments/$d$locale/!KGJhc2Up/services/$d$id/links/__PAGE__.segment.rsc +47 -0
  72. package/ui/.next/server/app/[locale]/services/[id]/links.segments/_full.segment.rsc +45 -0
  73. package/ui/.next/server/app/[locale]/services/[id]/links.segments/_tree.segment.rsc +9 -0
  74. package/ui/.next/server/app/[locale]/services/[id]/logs.meta +2 -2
  75. package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +5 -5
  76. package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +6 -6
  77. package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +2 -2
  78. package/ui/.next/server/app/[locale]/services/[id]/settings.meta +2 -2
  79. package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +6 -6
  80. package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +7 -7
  81. package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +2 -2
  82. package/ui/.next/server/app/[locale]/services/[id].meta +2 -2
  83. package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +5 -5
  84. package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +5 -5
  85. package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +2 -2
  86. package/ui/.next/server/app/[locale]/services/new.meta +2 -2
  87. package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +5 -5
  88. package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +6 -6
  89. package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +2 -2
  90. package/ui/.next/server/app/[locale]/services.meta +2 -2
  91. package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +5 -5
  92. package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +5 -5
  93. package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +2 -2
  94. package/ui/.next/server/app/[locale]/settings.meta +2 -2
  95. package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +5 -5
  96. package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +5 -5
  97. package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +2 -2
  98. package/ui/.next/server/app/[locale].meta +2 -2
  99. package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +4 -4
  100. package/ui/.next/server/app/[locale].segments/_full.segment.rsc +4 -4
  101. package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +2 -2
  102. package/ui/.next/server/app/_global-error/page.js +1 -1
  103. package/ui/.next/server/app/_global-error/page.js.nft.json +1 -1
  104. package/ui/.next/server/app/_global-error.html +1 -1
  105. package/ui/.next/server/app/_global-error.rsc +1 -1
  106. package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  107. package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  108. package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  109. package/ui/.next/server/app/_not-found.html +1 -1
  110. package/ui/.next/server/app/_not-found.rsc +1 -1
  111. package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  112. package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  113. package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  114. package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +12 -2
  115. package/ui/.next/server/app/api/services/[id]/logs/stream/route.js +5 -5
  116. package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -1
  117. package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -1
  118. package/ui/.next/server/app/api/sources/github/branches/route.js +1 -1
  119. package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -1
  120. package/ui/.next/server/app/api/sources/github/repos/route.js +1 -1
  121. package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -1
  122. package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -1
  123. package/ui/.next/server/app/auth/github/route.js.nft.json +1 -1
  124. package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -1
  125. package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -1
  126. package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -1
  127. package/ui/.next/server/app/en/install.html +1 -1
  128. package/ui/.next/server/app/en/install.meta +1 -1
  129. package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +2 -2
  130. package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +3 -3
  131. package/ui/.next/server/app/en/install.segments/_full.segment.rsc +5 -5
  132. package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +2 -2
  133. package/ui/.next/server/app/en/login.html +1 -1
  134. package/ui/.next/server/app/en/login.meta +1 -1
  135. package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +1 -1
  136. package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +3 -3
  137. package/ui/.next/server/app/en/login.segments/_full.segment.rsc +4 -4
  138. package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +2 -2
  139. package/ui/.next/server/app/en/services/[id]/builds.html +1 -1
  140. package/ui/.next/server/app/en/services/[id]/builds.meta +1 -1
  141. package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +6 -6
  142. package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +6 -6
  143. package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +4 -4
  144. package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +11 -11
  145. package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +2 -2
  146. package/ui/.next/server/app/en/services/[id]/links.html +1 -0
  147. package/ui/.next/server/app/en/services/[id]/links.meta +58 -0
  148. package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale/!KGJhc2Up/services/$d$id/links/__PAGE__.segment.rsc +50 -0
  149. package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale/!KGJhc2Up.segment.rsc +36 -0
  150. package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale.segment.rsc +24 -0
  151. package/ui/.next/server/app/en/services/[id]/links.segments/_full.segment.rsc +77 -0
  152. package/ui/.next/server/app/en/services/[id]/links.segments/_tree.segment.rsc +9 -0
  153. package/ui/.next/server/app/en/services/[id]/logs.html +1 -1
  154. package/ui/.next/server/app/en/services/[id]/logs.meta +1 -1
  155. package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +6 -6
  156. package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +6 -6
  157. package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +4 -4
  158. package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +11 -11
  159. package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +2 -2
  160. package/ui/.next/server/app/en/services/[id]/settings.html +1 -1
  161. package/ui/.next/server/app/en/services/[id]/settings.meta +1 -1
  162. package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +8 -8
  163. package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +7 -7
  164. package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +4 -4
  165. package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +13 -13
  166. package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +2 -2
  167. package/ui/.next/server/app/en/services/[id].html +1 -1
  168. package/ui/.next/server/app/en/services/[id].meta +1 -1
  169. package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +6 -6
  170. package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +6 -6
  171. package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +4 -4
  172. package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +11 -11
  173. package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +2 -2
  174. package/ui/.next/server/app/en/services/new.html +1 -1
  175. package/ui/.next/server/app/en/services/new.meta +1 -1
  176. package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +5 -5
  177. package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +5 -5
  178. package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +3 -3
  179. package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +10 -10
  180. package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +2 -2
  181. package/ui/.next/server/app/en/services.html +1 -1
  182. package/ui/.next/server/app/en/services.meta +1 -1
  183. package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +2 -2
  184. package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
  185. package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +3 -3
  186. package/ui/.next/server/app/en/services.segments/_full.segment.rsc +6 -6
  187. package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +2 -2
  188. package/ui/.next/server/app/en/settings.html +1 -1
  189. package/ui/.next/server/app/en/settings.meta +1 -1
  190. package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +2 -2
  191. package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +5 -5
  192. package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +3 -3
  193. package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +9 -9
  194. package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +2 -2
  195. package/ui/.next/server/app/en.html +1 -1
  196. package/ui/.next/server/app/en.meta +1 -1
  197. package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +1 -1
  198. package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up.segment.rsc +3 -3
  199. package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +3 -3
  200. package/ui/.next/server/app/en.segments/_full.segment.rsc +6 -6
  201. package/ui/.next/server/app/en.segments/_tree.segment.rsc +2 -2
  202. package/ui/.next/server/app/webhooks/github/route.js +8 -8
  203. package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -1
  204. package/ui/.next/server/app-paths-manifest.json +1 -0
  205. package/ui/.next/server/chunks/[root-of-the-server]__013tvh0fuqyka._.js +3 -0
  206. package/ui/.next/server/chunks/{[root-of-the-server]__1g9njz47vqbb2._.js → [root-of-the-server]__0axr0p9f9qjo3._.js} +1 -1
  207. package/ui/.next/server/chunks/{[root-of-the-server]__13axmhhz6grni._.js → [root-of-the-server]__0emx9mcq5bpjq._.js} +2 -2
  208. package/ui/.next/server/chunks/[root-of-the-server]__0qe_mikj7agcq._.js +1 -1
  209. package/ui/.next/server/chunks/{[root-of-the-server]__191v8a8_de7ne._.js → [root-of-the-server]__1007u-potejqr._.js} +1 -1
  210. package/ui/.next/server/chunks/[root-of-the-server]__1099j5oihunj4._.js +3 -0
  211. package/ui/.next/server/chunks/[root-of-the-server]__16b_5up45wd06._.js +3 -0
  212. package/ui/.next/server/chunks/[root-of-the-server]__1m9jomjwom7eb._.js +3 -0
  213. package/ui/.next/server/chunks/[root-of-the-server]__1w3vh-httwncf._.js +2 -2
  214. package/ui/.next/server/chunks/_0-08w0j6upuro._.js +4 -4
  215. package/ui/.next/server/chunks/_0fakz5bf_8pur._.js +1 -1
  216. package/ui/.next/server/chunks/{_205giqmll3u97._.js → _0iv1xrv5s4qth._.js} +2 -2
  217. package/ui/.next/server/chunks/_0nlsx2mvtyhai._.js +1 -1
  218. package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +4 -4
  219. package/ui/.next/server/chunks/_1hom9geso8mh2._.js +1 -1
  220. package/ui/.next/server/chunks/_1ux2nt1zdyn0-._.js +4 -4
  221. package/ui/.next/server/chunks/_1xyz4i2jb2-s2._.js +1 -1
  222. package/ui/.next/server/chunks/src_0ehe0gc5xa4op._.js +3 -0
  223. package/ui/.next/server/chunks/src_1wc3qafci1k3-._.js +3 -0
  224. package/ui/.next/server/chunks/src_core_docker_links_ts_1xdvepbsz4gi1._.js +3 -0
  225. package/ui/.next/server/chunks/src_core_docker_tunnel_ts_0joxbsi21ggvm._.js +3 -0
  226. package/ui/.next/server/chunks/{src_core_settings_ts_1hcogi90bhvb7._.js → src_core_settings_ts_03r6mrmvaf3z9._.js} +1 -1
  227. package/ui/.next/server/chunks/{src_core_settings_ts_1mdt19mqp5pzi._.js → src_core_settings_ts_06epzja3innn1._.js} +1 -1
  228. package/ui/.next/server/chunks/src_database_index_ts_1vzqbmlp-k92u._.js +6 -6
  229. package/ui/.next/server/chunks/ssr/[root-of-the-server]__034qjpl9j-0ci._.js +3 -0
  230. package/ui/.next/server/chunks/ssr/{[root-of-the-server]__0drv11-4w87e2._.js → [root-of-the-server]__0cws_i6hecx8i._.js} +2 -2
  231. package/ui/.next/server/chunks/ssr/{[root-of-the-server]__1fhe1py6wekjw._.js → [root-of-the-server]__0lrw_bd_v-wq9._.js} +1 -1
  232. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0rkkxjp0vxzob._.js +3 -0
  233. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0tceu8thqwy0d._.js +3 -0
  234. package/ui/.next/server/chunks/ssr/{[root-of-the-server]__0rn0qge5iuk1u._.js → [root-of-the-server]__0tnvefuofuctm._.js} +1 -1
  235. package/ui/.next/server/chunks/ssr/[root-of-the-server]__11f8nw5rjx5xy._.js +3 -0
  236. package/ui/.next/server/chunks/ssr/{[root-of-the-server]__1fz83aiqt1p_g._.js → [root-of-the-server]__15um_js0-44w5._.js} +1 -1
  237. package/ui/.next/server/chunks/ssr/[root-of-the-server]__19k3qfyr4zw2t._.js +4 -0
  238. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1_2uw8tv9c80k._.js +4 -0
  239. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1f2-_zy1hslsn._.js +4 -0
  240. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1nipqwqlhzrez._.js +4 -0
  241. package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +1 -1
  242. package/ui/.next/server/chunks/ssr/_043r3p4uyglt8._.js +3 -0
  243. package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +1 -1
  244. package/ui/.next/server/chunks/ssr/{_20h3ngw2-pijn._.js → _04lfy3e4jplbm._.js} +2 -2
  245. package/ui/.next/server/chunks/ssr/{_1j5g-1pklmyv3._.js → _0elrzkszc9mou._.js} +2 -2
  246. package/ui/.next/server/chunks/ssr/_0gm20eaq31snn._.js +3 -0
  247. package/ui/.next/server/chunks/ssr/_0l5h_g6g26cch._.js +1 -1
  248. package/ui/.next/server/chunks/ssr/_0nm-73v3d_j3o._.js +3 -0
  249. package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +1 -1
  250. package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +1 -1
  251. package/ui/.next/server/chunks/ssr/_11hffrysj8ccd._.js +1 -1
  252. package/ui/.next/server/chunks/ssr/_14pr8k-21_dud._.js +1 -1
  253. package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +1 -1
  254. package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +2 -2
  255. package/ui/.next/server/chunks/ssr/_1g8x3co_2gk2e._.js +3 -0
  256. package/ui/.next/server/chunks/ssr/_1gxrg8g_1z61n._.js +1 -1
  257. package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +1 -1
  258. package/ui/.next/server/chunks/ssr/_1l9hlfxdk4800._.js +3 -0
  259. package/ui/.next/server/chunks/ssr/{_1swm39zqwfbgz._.js → _1s61535w_i_lb._.js} +2 -2
  260. package/ui/.next/server/chunks/ssr/{_19w_0onn2cdmy._.js → _1t7wd5lbghpsq._.js} +2 -2
  261. package/ui/.next/server/chunks/ssr/_1v-gh-ppdzk54._.js +3 -0
  262. package/ui/.next/server/chunks/ssr/_1vznrs2oqv125._.js +3 -0
  263. package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +1 -1
  264. package/ui/.next/server/chunks/ssr/dictionaries_en_json_[json]_cjs_1pkm_n6uii6ve._.js +1 -1
  265. package/ui/.next/server/chunks/ssr/node_modules_09h9wf5os0vez._.js +2 -2
  266. package/ui/.next/server/chunks/ssr/node_modules_0bh4y86fdvx3u._.js +2 -2
  267. package/ui/.next/server/chunks/ssr/node_modules_0difw-6bio6t9._.js +1 -1
  268. package/ui/.next/server/chunks/ssr/node_modules_0m4futnh2n1n0._.js +2 -2
  269. package/ui/.next/server/chunks/ssr/{_0nnq48ip-8ji-._.js → node_modules_@omer-x_tailwind-ui-kit_dist_components_form_index_1scnp-x6u_00i.js} +2 -2
  270. package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1659ld6risgus.js +3 -0
  271. package/ui/.next/server/chunks/ssr/{_08r9mb2mbnczy._.js → node_modules_zod_v4_classic_external_0_adu4p2yg38n.js} +4 -4
  272. package/ui/.next/server/chunks/ssr/{_0ymxsb_ki8zel._.js → node_modules_zod_v4_classic_external_0b6jkffik0qe3.js} +4 -4
  273. package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +1 -1
  274. package/ui/.next/server/chunks/ssr/src_10pz-333ne5s9._.js +3 -0
  275. package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +1 -1
  276. package/ui/.next/server/chunks/ssr/src_1m2fl_nqj5nqs._.js +3 -0
  277. package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +1 -1
  278. package/ui/.next/server/chunks/ssr/src_actions_link_ts_13hqd7ogc36j3._.js +3 -0
  279. package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +1 -1
  280. package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +1 -1
  281. package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +1 -1
  282. package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +1 -1
  283. package/ui/.next/server/chunks/ssr/{src_components_services_1ckwhi_x497s9._.js → src_components_services_0uvp3xb7qbmur._.js} +2 -2
  284. package/ui/.next/server/chunks/ssr/src_components_services_1xqd2ez36okp0._.js +3 -0
  285. package/ui/.next/server/chunks/ssr/src_components_services_InternetAccessChoice_tsx_1kgbpu0tzvndy._.js +3 -0
  286. package/ui/.next/server/chunks/ssr/src_core_04_5qe36g6q0g._.js +3 -0
  287. package/ui/.next/server/chunks/ssr/src_core_0nipraeusd7bv._.js +3 -0
  288. package/ui/.next/server/chunks/ssr/src_core_0w75t1-r5b57i._.js +3 -0
  289. package/ui/.next/server/chunks/ssr/src_core_cloudflare_domains_ts_1tx1rckprh9ks._.js +3 -0
  290. package/ui/.next/server/chunks/ssr/src_core_docker_1o4aldsy3-3_s._.js +3 -0
  291. package/ui/.next/server/instrumentation.js +1 -1
  292. package/ui/.next/server/middleware-build-manifest.js +14 -3
  293. package/ui/.next/server/pages/404.html +1 -1
  294. package/ui/.next/server/pages/500.html +1 -1
  295. package/ui/.next/server/prefetch-hints.json +34 -0
  296. package/ui/.next/server/preview-props.json +3 -3
  297. package/ui/.next/server/server-reference-manifest.js +1 -1
  298. package/ui/.next/server/server-reference-manifest.json +207 -51
  299. package/ui/.next/static/K1lgQgx5F1bXno5BXXk25/_ssgManifest.js +1 -0
  300. package/ui/.next/static/chunks/{1n7hyxug-qmmf.js → 0r6re9w59ezlu.js} +1 -1
  301. package/ui/.next/static/chunks/1_zs-121mlws0.js +1 -0
  302. package/ui/.next/static/chunks/{0zt2bp-gid_ha.js → 1bb88ubtg9zhx.js} +1 -1
  303. package/ui/.next/static/chunks/{08m3mlwdpjhqa.js → 1hltxf3jfbf02.js} +1 -1
  304. package/ui/.next/static/chunks/{1u0u336632rb0.js → 1yp2nbumffkk3.js} +1 -1
  305. package/ui/.next/static/chunks/{0om4m_06mlnre.js → 2cmsokab3261j.js} +1 -1
  306. package/ui/.next/static/chunks/2ev4g9-mfre-4.js +1 -0
  307. package/ui/.next/static/chunks/2y6dkbb_cpkcg.css +1 -0
  308. package/ui/.next/static/chunks/{1ptcfx203durp.js → 343grpm3nwbl0.js} +1 -1
  309. package/ui/.next/static/chunks/3dj_pr0f1ky5c.js +1 -0
  310. package/ui/.next/static/chunks/3pmo4svmlsjie.js +1 -0
  311. package/ui/drizzle/20261126045852_service_internet_access/migration.sql +1 -0
  312. package/ui/drizzle/20261126045852_service_internet_access/snapshot.json +581 -0
  313. package/ui/drizzle/20261126062036_service_links/migration.sql +11 -0
  314. package/ui/drizzle/20261126062036_service_links/snapshot.json +688 -0
  315. package/ui/src/core/build.test.ts +6 -0
  316. package/ui/src/core/cloudflare/domains.test.ts +1 -1
  317. package/ui/src/core/docker/ingress.ts +1 -1
  318. package/ui/src/core/docker/internet.test.ts +88 -0
  319. package/ui/src/core/docker/internet.ts +59 -0
  320. package/ui/src/core/docker/labels.ts +2 -0
  321. package/ui/src/core/docker/links.test.ts +164 -0
  322. package/ui/src/core/docker/links.ts +170 -0
  323. package/ui/src/core/docker/status.test.ts +74 -0
  324. package/ui/src/core/docker/status.ts +17 -2
  325. package/ui/.next/server/chunks/[root-of-the-server]__0q_y890--33_5._.js +0 -3
  326. package/ui/.next/server/chunks/[root-of-the-server]__156dfvjma1155._.js +0 -3
  327. package/ui/.next/server/chunks/[root-of-the-server]__1ft_94atr8caf._.js +0 -3
  328. package/ui/.next/server/chunks/src_1gxoul9hz0c2d._.js +0 -3
  329. package/ui/.next/server/chunks/src_core_docker_status_ts_0_sv17u6yx63t._.js +0 -3
  330. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ktv4mwammozc._.js +0 -3
  331. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ut6xzq29vzgm._.js +0 -3
  332. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0w741sbi5bld1._.js +0 -4
  333. package/ui/.next/server/chunks/ssr/[root-of-the-server]__0z8q72dki14gw._.js +0 -3
  334. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ahhnj3wnei6e._.js +0 -4
  335. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1uwc7qo6i8tgd._.js +0 -3
  336. package/ui/.next/server/chunks/ssr/[root-of-the-server]__1w20lhl50jx-7._.js +0 -4
  337. package/ui/.next/server/chunks/ssr/[root-of-the-server]__20a05rk0-nb4g._.js +0 -3
  338. package/ui/.next/server/chunks/ssr/_01e3rinj2_l0i._.js +0 -3
  339. package/ui/.next/server/chunks/ssr/_02igs4en3q5ay._.js +0 -3
  340. package/ui/.next/server/chunks/ssr/_10di_vw2zn99-._.js +0 -4
  341. package/ui/.next/server/chunks/ssr/_1czfqaem07udj._.js +0 -57
  342. package/ui/.next/server/chunks/ssr/node_modules_@omer-x_next-form-actions_dist_index_mjs_1c5mg0xduv-_v._.js +0 -3
  343. package/ui/.next/server/chunks/ssr/src_09ctnfzfi7gev._.js +0 -3
  344. package/ui/.next/server/chunks/ssr/src_1oiyj5tki7jmf._.js +0 -3
  345. package/ui/.next/server/chunks/ssr/src_1rhxx_vix93j3._.js +0 -3
  346. package/ui/.next/server/chunks/ssr/src_core_02a21dtc1uaku._.js +0 -3
  347. package/ui/.next/server/chunks/ssr/src_core_docker_builds_ts_189l3irnv_2va._.js +0 -3
  348. package/ui/.next/static/chunks/10m4ed4sinix2.js +0 -1
  349. package/ui/.next/static/chunks/3htgsexlb92yb.js +0 -1
  350. package/ui/.next/static/chunks/3pvslh6kify3g.css +0 -1
  351. package/ui/.next/static/chunks/42c4ez0qh-4aq.js +0 -1
  352. package/ui/.next/static/jS0aVYApf7Gc7dPYRxehn/_ssgManifest.js +0 -1
  353. /package/ui/.next/static/{jS0aVYApf7Gc7dPYRxehn → K1lgQgx5F1bXno5BXXk25}/_buildManifest.js +0 -0
  354. /package/ui/.next/static/{jS0aVYApf7Gc7dPYRxehn → K1lgQgx5F1bXno5BXXk25}/_clientMiddlewareManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- module.exports=[67228,3109,85221,a=>{"use strict";var b=a.i(717),c=a.i(22918),d=a.i(20276),e=a.i(13852),f=a.i(61457),g=a.i(5246);let h=(0,b.cache)(function(){return{locale:void 0}}),i=(0,b.cache)(async function(){let a=(0,g.headers)();return(0,f.o)(a)?await a:a}),j=(0,b.cache)(async function(){let a;try{a=(await i()).get("X-NEXT-INTL-LOCALE")||void 0}catch(a){if(a instanceof Error&&"DYNAMIC_SERVER_USAGE"===a.digest){let b=Error("Usage of next-intl APIs in Server Components currently opts into dynamic rendering. This limitation will eventually be lifted, but as a stopgap solution, you can use the `setRequestLocale` API to enable static rendering, see https://next-intl.dev/docs/routing/setup#static-rendering",{cause:a});throw b.digest=a.digest,b}throw a}return a});async function k(){return h().locale||await j()}var l=a.i(60711);a.i(70396);var m=a.i(73727),n=a.i(67781),o=a.i(18845),p=a.i(36772);function q(a,b){return a.includes(b)}a.s(["j",0,function({_cache:a=(0,o.b)(),_formatters:b=(0,o.c)(a),getMessageFallback:c=p.d,messages:d,namespace:e,onError:f=p.b,...g}){return function({messages:a,namespace:b,...c}){return a=a["!"],b=(0,p.r)(b,"!"),(0,p.a)({...c,messages:a,namespace:b})}({...g,onError:f,cache:a,formatters:b,getMessageFallback:c,messages:{"!":d},namespace:e?`!.${e}`:"!"})},"O",0,q],3109);let r={locales:["en"],defaultLocale:"en",localePrefix:{mode:"as-needed"},localeDetection:!1,pathnames:{"/":"/","/services":"/services","/services/new":"/services/new","/services/[id]":"/services/[id]","/services/[id]/builds":"/services/[id]/builds","/services/[id]/logs":"/services/[id]/logs","/services/[id]/settings":"/services/[id]/settings","/settings":"/settings","/login":"/login","/install":"/install"}};a.s(["f",0,r],85221);let s=async({locale:b})=>{if(!b){let a=await (0,n.getRootParam)("locale");q(r.locales,a)?b=a:(0,m.notFound)()}return{locale:b,messages:(await (0,l.trackDynamicImport)(a.f({"../../dictionaries/en.json":{id:()=>1912,module:()=>a.A(1912)}}).import(`../../dictionaries/${b}.json`))).default}},t=(0,b.cache)(function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}),u=(0,b.cache)(async function(a,b){let c=a({locale:b,get requestLocale(){return b?Promise.resolve(b):k()}});if((0,f.o)(c)&&(c=await c),!c.locale)throw Error("No locale was returned from `getRequestConfig`.\n\nSee https://next-intl.dev/docs/usage/configuration#i18n-request");return c}),v=(0,b.cache)(d.f),w=(0,b.cache)(e.f),x=(0,b.cache)(async function(a){let b=await u(s,a);return{...(0,c.f)(b),_formatters:v(w()),timeZone:b.timeZone||t()}});a.s(["f",0,x],67228)},61457,a=>{"use strict";function b(a){let b=function(){try{return"true"===process.env._next_intl_trailing_slash}catch{return!1}}(),[c,...d]=a.split("#"),e=d.join("#"),f=c;if("/"!==f){let a=f.endsWith("/");b&&!a?f+="/":!b&&a&&(f=f.slice(0,-1))}return e&&(f+="#"+e),f}function c(a){return a.includes("[[...")}function d(a){return a.includes("[...")}function e(a){return a.includes("[")}function f(a,b){let f=a.split("/"),g=b.split("/"),h=Math.max(f.length,g.length);for(let a=0;a<h;a++){let b=f[a],h=g[a];if(!b&&h)return -1;if(b&&!h)return 1;if(b||h){if(!e(b)&&e(h))return -1;if(e(b)&&!e(h))return 1;if(!d(b)&&d(h))return -1;if(d(b)&&!d(h))return 1;if(!c(b)&&c(h))return -1;if(c(b)&&!c(h))return 1}}return 0}a.s(["u",0,function(a,b){return"never"!==b.mode&&b.prefixes?.[a]||"/"+a},"n",0,function(a,b,c){return"string"==typeof a?a:a[b]||c},"I",0,function(a){return a.sort(f)},"i",0,function(a){let b;return("object"==typeof a?null==a.host&&null==a.hostname:!/^[a-z]+:/i.test(a))&&(null==(b="object"==typeof a?a.pathname:a)||!!b.startsWith("/"))},"o",0,function(a){return"function"==typeof a.then},"H",0,function(a,c){let d,e=b(a),f=b(c);return(d=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${d}$`)).test(f)},"p",0,b,"c",0,function(a,b){let c=a;return/^\/(\?.*)?$/.test(b)&&(b=b.slice(1)),c+=b}])},44199,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={assertRootParamInSamples:function(){return A},createCookiesFromSample:function(){return r},createDraftModeForValidation:function(){return u},createExhaustiveParamsProxy:function(){return v},createExhaustiveSearchParamsProxy:function(){return w},createExhaustiveURLSearchParamsProxy:function(){return x},createHeadersFromSample:function(){return t},createRelativeURLFromSamples:function(){return z},createValidationSampleTracking:function(){return o},trackMissingSampleError:function(){return p},trackMissingSampleErrorAndThrow:function(){return q}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(63681),g=a.r(14896),h=a.r(29927),i=a.r(38165),j=a.r(58973),k=a.r(50640),l=a.r(84240),m=a.r(32319),n=a.r(36329);function o(){return{missingSampleErrors:[]}}function p(a){(function(){let a=null,b=m.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"request":case"validation-client":a=b.validationSampleTracking??null}if(!a)throw new k.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking");return a})().missingSampleErrors.push(a)}function q(a){throw p(a),a}function r(a,b){let c=new Set,d=new f.RequestCookies(new Headers);if(a)for(let b of a)c.add(b.name),null!==b.value&&d.set(b.name,b.value);return new Proxy(g.RequestCookiesAdapter.seal(d),{get(a,d,e){if("has"===d){let f=Reflect.get(a,d,e);return function(d){return c.has(d)||q(s(b,d)),f.call(a,d)}}if("get"===d){let f=Reflect.get(a,d,e);return function(d){let e;if("string"==typeof d)e=d;else{if(!d||"object"!=typeof d||"string"!=typeof d.name)return f.call(a,d);e=d.name}return c.has(e)||q(s(b,e)),f.call(a,e)}}return Reflect.get(a,d,e)}})}function s(a,b){return new l.InstantValidationError(`Route "${a}" accessed cookie "${b}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${b}", value: null }\` if it should be absent.`)}function t(a,b,c){let d=a?[...a]:[];if(d.find(([a])=>"cookie"===a.toLowerCase()))throw new l.InstantValidationError('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.');if(b){let a=b.toString();d.push(["cookie",""!==a?a:null])}let e=new Set,f={};for(let[a,b]of d)e.add(a.toLowerCase()),null!==b&&(f[a.toLowerCase()]=b);return new Proxy(h.HeadersAdapter.seal(h.HeadersAdapter.from(f)),{get(a,b,d){if("get"===b||"has"===b){let f=Reflect.get(a,b,d);return function(b){let d=b.toLowerCase();return e.has(d)||q(new l.InstantValidationError(`Route "${c}" accessed header "${d}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`headers\` array, or \`["${d}", null]\` if it should be absent.`)),f.call(a,d)}}return Reflect.get(a,b,d)}})}function u(){return{get isEnabled(){return!1},enable(){throw Error("Draft mode cannot be enabled during build-time instant validation.")},disable(){throw Error("Draft mode cannot be disabled during build-time instant validation.")}}}function v(a,b,c){return new Proxy(a,{get:(d,e,f)=>("string"==typeof e&&!n.wellKnownProperties.has(e)&&e in a&&!b.has(e)&&q(new l.InstantValidationError(`Route "${c}" accessed param "${e}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`params\` object.`)),Reflect.get(d,e,f))})}function w(a,b,c){return new Proxy(a,{get:(a,d,e)=>("string"!=typeof d||n.wellKnownProperties.has(d)||b.has(d)||q(y(c,d)),Reflect.get(a,d,e)),has:(a,d)=>("string"!=typeof d||n.wellKnownProperties.has(d)||b.has(d)||q(y(c,d)),Reflect.has(a,d))})}function x(a,b,c){return new Proxy(a,{get(a,d,e){if("get"===d||"getAll"===d||"has"===d){let f=Reflect.get(a,d,e);return d=>("string"!=typeof d||b.has(d)||q(y(c,d)),f.call(a,d))}let f=Reflect.get(a,d,e);return"function"!=typeof f||Object.hasOwn(a,d)?f:f.bind(a)}})}function y(a,b){return new l.InstantValidationError(`Route "${a}" accessed searchParam "${b}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${b}": null }\` if it should be absent.`)}function z(a,b,c){let d=function(a,b){let c=[];for(let d of a.split("/")){let a=(0,i.getSegmentParam)(d);if(a)switch(a.paramType){case"catchall":case"optional-catchall":{let e=b[a.paramName];if(void 0===e)e=[d];else if(!Array.isArray(e))throw new l.InstantValidationError(`Expected sample param value for segment '${d}' to be an array of strings, got ${typeof e}`);c.push(...e.map(a=>encodeURIComponent(a)));break}case"dynamic":{let e=b[a.paramName];if(void 0===e)e=d;else if("string"!=typeof e)throw new l.InstantValidationError(`Expected sample param value for segment '${d}' to be a string, got ${typeof e}`);c.push(encodeURIComponent(e));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw new k.InvariantError("Not implemented: Validation of interception routes");default:a.paramType}else c.push(d)}return c.join("/")}(a,b??{}),e="";if(c){let a=(function(a){let b=new URLSearchParams;if(a){for(let[c,d]of Object.entries(a))if(null!=d)if(Array.isArray(d))for(let a of d)b.append(c,a);else b.set(c,d)}return b})(c).toString();a&&(e="?"+a)}return(0,j.parseRelativeUrl)(d+e,void 0,!0)}function A(a,b,c){if(b&&c in b);else{let b=a.route;q(new l.InstantValidationError(`Route "${b}" accessed root param "${c}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`params\` object.`))}}},84240,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={InstantValidationError:function(){return h},isInstantValidationError:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="INSTANT_VALIDATION_ERROR";function g(a){return!!(a&&"object"==typeof a&&a instanceof Error&&a.digest===f)}class h extends Error{constructor(...a){super(...a),this.digest=f}}},37583,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={VaryParamsAccumulator:function(){return h},accumulateRootVaryParam:function(){return p},accumulateVaryParam:function(){return o},createResponseVaryParamsAccumulator:function(){return j},createVaryParamsAccumulator:function(){return k},createVaryingParams:function(){return q},createVaryingSearchParams:function(){return r},emptyVaryParamsAccumulator:function(){return i},finishAccumulatingVaryParams:function(){return s},getMetadataVaryParamsAccumulator:function(){return l},getRootParamsVaryParamsAccumulator:function(){return n},getViewportVaryParamsAccumulator:function(){return m}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(32319),g=a.r(71780);class h{add(a){this._done||this._seen.has(a)||(this._seen.add(a),null!==this._resolve?(this._resolve({value:a,done:!1}),this._resolve=null):this._buffer.push(a))}close(){this._done||(this._done=!0,null!==this._resolve&&(this._resolve({value:void 0,done:!0}),this._resolve=null))}[Symbol.asyncIterator](){return{next:()=>this._buffer.length>0?Promise.resolve({value:this._buffer.shift(),done:!1}):this._done?Promise.resolve({value:void 0,done:!0}):new Promise(a=>{this._resolve=a})}}constructor(){this._resolve=null,this._done=!1,this._buffer=[],this._seen=new Set}}let i=new h;function j(){let a=new h;return{head:a,rootParams:new h,segments:new Set}}function k(){let a=f.workUnitAsyncStorage.getStore();if(!a)return null;let b=(0,f.getVaryParamsAccumulator)(a);if(!b)return null;let c=new h;return b.segments.add(c),c}function l(){var a;let b=f.workUnitAsyncStorage.getStore();return b?(null==(a=(0,f.getVaryParamsAccumulator)(b))?void 0:a.head)??null:null}i.close();let m=l;function n(){var a;let b=f.workUnitAsyncStorage.getStore();return b?(null==(a=(0,f.getVaryParamsAccumulator)(b))?void 0:a.rootParams)??null:null}function o(a,b){a.add(b)}function p(a){let b=n();null!==b&&o(b,a)}function q(a,b,c){if(null!==c)return new Proxy(b,{get:(b,d,e)=>("string"==typeof d&&(d===c||Object.prototype.hasOwnProperty.call(b,d))&&o(a,d),Reflect.get(b,d,e)),has:(b,d)=>(d===c&&o(a,c),Reflect.has(b,d)),ownKeys:b=>(o(a,c),Reflect.ownKeys(b))});let d={};for(let c in b)Object.defineProperty(d,c,{get:()=>(o(a,c),b[c]),enumerable:!0});return d}function r(a,b){return new Proxy(b,{get:(b,c,d)=>("string"==typeof c&&o(a,g.SEARCH_PARAMS_VARY_ID),Reflect.get(b,c,d)),has:(b,c)=>("string"==typeof c&&o(a,g.SEARCH_PARAMS_VARY_ID),Reflect.has(b,c)),ownKeys:b=>(o(a,g.SEARCH_PARAMS_VARY_ID),Reflect.ownKeys(b))})}function s(a){for(let b of(a.head.close(),a.rootParams.close(),a.segments))b.close()}},67781,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getRootParam",{enumerable:!0,get:function(){return k}});let d=a.r(50640),e=a.r(56704),f=a.r(32319),g=a.r(13091),h=a.r(43285),i=a.r(20635),j=a.r(37583);function k(b){let c=`\`import('next/root-params').${b}()\``,k=e.workAsyncStorage.getStore();if(!k)throw new d.InvariantError(`Missing workStore in ${c}`);let l=f.workUnitAsyncStorage.getStore();if(!l)throw Error(`Route ${k.route} used ${c} outside of a Server Component. This is not allowed.`);let m=i.actionAsyncStorage.getStore();if(m){if(m.isAppRoute)throw Error(`Route ${k.route} used ${c} inside a Route Handler. Support for this API in Route Handlers is planned for a future version of Next.js.`);if(m.isAction&&"action"===l.phase)throw Error(`${c} was used inside a Server Action. This is not supported. Functions from 'next/root-params' can only be called in the context of a route.`)}switch(l.type){case"unstable-cache":throw Error(`Route ${k.route} used ${c} inside \`unstable_cache\`. This is not supported. Use \`"use cache"\` instead.`);case"cache":{if(!l.rootParams)throw Error(`Route ${k.route} used ${c} inside \`"use cache"\` nested within \`unstable_cache\`. Root params are not available in this context.`);l.readRootParamNames.add(b);let a=l.fallbackRootParamsPrerender;if(null!==a&&null!==a.fallbackRouteParams&&a.fallbackRouteParams.has(b))return(0,g.trackPromiseUsed)((0,g.makeFallbackParamsHangingPromise)(a.renderSignal,k.route,c,null),()=>{(0,g.trackFallbackParamsAccessed)(a,c),(0,h.abortOnDynamicAccess)("fallback-params",Error(`Accessed fallback root parameter "${b}" during prerendering.`))});return Promise.resolve(l.rootParams[b])}case"prerender":case"prerender-legacy":var n,o,p,q;let r;return n=b,o=k,p=l,q=c,p.type,r=p.rootParams,"prerender"===p.type&&p.fallbackRouteParams&&p.fallbackRouteParams.has(n)?(0,g.makeFallbackParamsHangingPromise)(p.renderSignal,o.route,q,p):((0,j.accumulateRootVaryParam)(n),Promise.resolve(r[n]));case"validation-client":case"prerender-client":throw new d.InvariantError(`${c} must not be used within a client component. Next.js should be preventing ${c} from being included in client components statically, but did not in this case.`);case"request":if(l.validationSamples){let{assertRootParamInSamples:c}=a.r(44199);try{c(k,l.validationSamples.params,b)}catch(a){return Promise.reject(a)}}break;case"private-cache":return l.readRootParamNames.add(b),Promise.resolve(l.rootParams[b]);case"prerender-runtime":break;case"build-time-generator":if(!(b in l.rootParams)){if("generateStaticParams"!==l.functionName)throw Error(`Route ${k.route} used ${c} inside \`${l.functionName}\`, but the \`${b}\` parameter is not available in this build-time generator.`);throw Error(`Route ${k.route} used ${c} inside \`generateStaticParams\`, but the \`${b}\` parameter was not provided by a parent \`generateStaticParams\`. In \`generateStaticParams\`, root params are only available for segments nested below the segment that provides them.`)}}return(0,j.accumulateRootVaryParam)(b),Promise.resolve(l.rootParams[b])}},38165,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getParamProperties:function(){return i},getSegmentParam:function(){return g},isCatchAll:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(97908);function g(a){let b=f.INTERCEPTION_ROUTE_MARKERS.find(b=>a.startsWith(b));return(b&&(a=a.slice(b.length)),a.startsWith("[[...")&&a.endsWith("]]"))?{paramType:"optional-catchall",paramName:a.slice(5,-2)}:a.startsWith("[...")&&a.endsWith("]")?{paramType:b?`catchall-intercepted-${b}`:"catchall",paramName:a.slice(4,-1)}:a.startsWith("[")&&a.endsWith("]")?{paramType:b?`dynamic-intercepted-${b}`:"dynamic",paramName:a.slice(1,-1)}:null}function h(a){return"catchall"===a||"catchall-intercepted-(..)(..)"===a||"catchall-intercepted-(.)"===a||"catchall-intercepted-(..)"===a||"catchall-intercepted-(...)"===a||"optional-catchall"===a}function i(a){let b=!1,c=!1;switch(a){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":b=!0;break;case"optional-catchall":b=!0,c=!0}return{repeat:b,optional:c}}},58973,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseRelativeUrl",{enumerable:!0,get:function(){return e}}),a.r(69284);let d=a.r(39754);function e(a,b,c=!0){let f=new URL("http://n"),g=b?new URL(b,f):a.startsWith(".")?new URL("http://n"):f,{pathname:h,searchParams:i,search:j,hash:k,href:l,origin:m}=a.startsWith("/")?new URL(`${g.protocol}//${g.host}${a}`):new URL(a,g);if(m!==f.origin)throw Error(`invariant: invalid relative URL, router received ${a}`);return{auth:null,host:null,hostname:null,pathname:h,port:null,protocol:null,query:c?(0,d.searchParamsToUrlQuery)(i):void 0,search:j,hash:k,href:l.slice(m.length),slashes:null}}},39754,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={assign:function(){return j},getRenderedSearch:function(){return f},searchParamsToUrlQuery:function(){return g},urlQueryToSearchParams:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){let b=[];for(let c in a){let d=a[c];if(null!=d)if(Array.isArray(d))for(let a of d)b.push(`${encodeURIComponent(c)}=${encodeURIComponent(String(a))}`);else b.push(`${encodeURIComponent(c)}=${encodeURIComponent(String(d))}`)}return 0===b.length?"":"?"+b.join("&")}function g(a){let b={};for(let[c,d]of a.entries()){let a=b[c];void 0===a?b[c]=d:Array.isArray(a)?a.push(d):b[c]=[a,d]}return b}function h(a){return"string"==typeof a?a:("number"!=typeof a||isNaN(a))&&"boolean"!=typeof a?"":String(a)}function i(a){let b=new URLSearchParams;for(let[c,d]of Object.entries(a))if(Array.isArray(d))for(let a of d)b.append(c,h(a));else b.set(c,h(d));return b}function j(a,...b){for(let c of b){for(let b of c.keys())a.delete(b);for(let[b,d]of c.entries())a.append(b,d)}return a}},60004,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={createSkippedSegmentData:function(){return g},readFulfilledValue:function(){return h},segmentToTransportSegment:function(){return j},transportNodeToFlightRouterState:function(){return function a(b,c){let d={},e=b.c;if(void 0!==e)for(let[b,f]of e)d[b]=a(f,c);let g=[k(b.s),d];return void 0!==b.h&&(g[4]=b.h),g[0]===f.PAGE_SEGMENT_KEY&&(g[5]=c),g}},transportSegmentToSegment:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(98698);function g(){return{r:null,p:!0,v:null}}function h(a,b,c=b){switch(a.then(i,i),a.status){case"fulfilled":return a.value;case"rejected":return c;default:return b}}let i=()=>{};function j(a){return"string"==typeof a?a:{n:a[0],t:a[2],k:a[1],s:a[3]}}function k(a){return"string"==typeof a?a:[a.n,a.k??"",a.t,a.s]}},71780,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={SEARCH_PARAMS_VARY_ID:function(){return g},createVaryParams:function(){return j},decodeVaryParams:function(){return i},readVaryParams:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(60004),g=0;function h(a,b){let c=a[Symbol.asyncIterator]();for(;;){let a=(0,f.readFulfilledValue)(c.next(),void 0);if(void 0===a||a.done)return;b.add(a.value)}}function i(a,b){if(null==a||null==b)return null;let c=new Set;return h(a,c),h(b,c),j(c)}function j(a){let b=Promise.resolve(a);return b.status="fulfilled",b.value=a,b}function k(a){return(0,f.readFulfilledValue)(a,null)}},69284,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DecodeError:function(){return r},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return u},NormalizeError:function(){return s},PageNotFoundError:function(){return t},SP:function(){return p},ST:function(){return q},WEB_VITALS:function(){return f},execOnce:function(){return g},getDisplayName:function(){return l},getLocationOrigin:function(){return j},getURL:function(){return k},isAbsoluteUrl:function(){return i},isResSent:function(){return m},loadGetInitialProps:function(){return o},normalizeRepeatedSlashes:function(){return n},stringifyError:function(){return w}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["CLS","FCP","INP","LCP","TTFB"];function g(a){let b,c=!1;return(...d)=>(c||(c=!0,b=a(...d)),b)}let h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=a=>{let b=a.charCodeAt(0);return!!(b>=65&&b<=90||b>=97&&b<=122)&&h.test(a)};function j(){let{protocol:a,hostname:b,port:c}=window.location;return`${a}//${b}${c?":"+c:""}`}function k(){let{href:a}=window.location,b=j();return a.substring(b.length)}function l(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function m(a){return a.finished||a.headersSent}function n(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?`?${b.slice(1).join("?")}`:"")}async function o(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await o(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&m(c))return d;if(!d)throw Error(`"${l(a)}.getInitialProps()" should resolve to an object. But found "${d}" instead.`);return d}let p="u">typeof performance,q=p&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class r extends Error{}class s extends Error{}class t extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${a}`}}class u extends Error{constructor(a,b){super(),this.message=`Failed to load static file for page: ${a} ${b}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(a){return JSON.stringify({message:a.message,stack:a.stack})}},36329,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={describeHasCheckingStringProperty:function(){return h},describeStringPropertyAccess:function(){return g},wellKnownProperties:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function g(a,b){return f.test(b)?`\`${a}.${b}\``:`\`${a}[${JSON.stringify(b)}]\``}function h(a,b){let c=JSON.stringify(b);return`\`Reflect.has(${a}, ${c})\`, \`${c} in ${a}\`, or similar`}let i=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"])},22918,18845,36772,20276,13852,a=>{"use strict";var b,c,d=a.i(717);function e(a,b){let c=b&&b.cache?b.cache:j,d=b&&b.serializer?b.serializer:h;return(b&&b.strategy?b.strategy:function(a,b){var c,d;let e=1===a.length?f:g;return c=b.cache.create(),d=b.serializer,e.bind(this,a,c,d)})(a,{cache:c,serializer:d})}function f(a,b,c,d){let e=null==d||"number"==typeof d||"boolean"==typeof d?d:c(d),f=b.get(e);return void 0===f&&(f=a.call(this,d),b.set(e,f)),f}function g(a,b,c){let d=Array.prototype.slice.call(arguments,3),e=c(d),f=b.get(e);return void 0===f&&(f=a.apply(this,d),b.set(e,f)),f}let h=function(){return JSON.stringify(arguments)};var i=class{constructor(){this.cache=Object.create(null)}get(a){return this.cache[a]}set(a,b){this.cache[a]=b}};let j={create:function(){return new i}},k={variadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,g.bind(this,a,c,d)},monadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,f.bind(this,a,c,d)}},l=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,m=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,n=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,o=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,q=/^(0+)$/;function r(a){let b={};return"r"===a[a.length-1]?b.roundingPriority="morePrecision":"s"===a[a.length-1]&&(b.roundingPriority="lessPrecision"),a.replace(o,function(a,c,d){return"string"!=typeof d?(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length):"+"===d?b.minimumSignificantDigits=c.length:"#"===c[0]?b.maximumSignificantDigits=c.length:(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length+("string"==typeof d?d.length:0)),""}),b}function s(a){switch(a){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function t(a){let b=s(a);return b||{}}let u=((b={})[b.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",b[b.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",b[b.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",b[b.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",b[b.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",b[b.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",b[b.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",b[b.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",b[b.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",b[b.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",b[b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",b[b.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",b[b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",b[b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",b[b.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",b[b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",b[b.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",b[b.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",b[b.INVALID_TAG=23]="INVALID_TAG",b[b.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",b[b.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",b[b.UNCLOSED_TAG=27]="UNCLOSED_TAG",b);function v(a){return!!(a&&"object"==typeof a&&0===a.type)}function w(a){return!!(a&&"object"==typeof a&&1===a.type)}let x=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},z=RegExp(`^${x.source}*`),A=RegExp(`${x.source}*$`);function B(a,b){return{start:a,end:b}}let C=!!Object.fromEntries,D=!!String.prototype.trimStart,E=!!String.prototype.trimEnd,F=C?Object.fromEntries:function(a){let b={};for(let[c,d]of a)b[c]=d;return b},G=D?function(a){return a.trimStart()}:function(a){return a.replace(z,"")},H=E?function(a){return a.trimEnd()}:function(a){return a.replace(A,"")},I=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var J=class{constructor(a,b={}){this.message=a,this.position={offset:0,line:1,column:1},this.ignoreTag=!!b.ignoreTag,this.locale=b.locale,this.requiresOtherClause=!!b.requiresOtherClause,this.shouldParseSkeletons=!!b.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let a=this.message.charCodeAt(0);if(35!==a&&39!==a&&60!==a&&123!==a&&125!==a){let a=function(a){if(0===a.length)return null;let b=1,c=1;for(let d=0;d<a.length;){let e=a.charCodeAt(d);switch(e){case 35:case 39:case 60:case 123:case 125:return null}if(10===e)b++,c=1,d++;else if(c++,e>=55296&&e<=56319&&d+1<a.length){let b=a.charCodeAt(d+1);d+=b>=56320&&b<=57343?2:1}else d++}return{offset:a.length,line:b,column:c}}(this.message);if(a){let b=this.clonePosition();return this.position=a,{val:[{type:0,value:this.message,location:B(b,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(a,b,c){let d=[];for(;!this.isEOF();){let e=this.char();if(123===e){let b=this.parseArgument(a,c);if(b.err)return b;d.push(b.val)}else if(125===e&&a>0)break;else if(35===e&&("plural"===b||"selectordinal"===b)){let a=this.clonePosition();this.bump(),d.push({type:7,location:B(a,this.clonePosition())})}else if(60!==e||this.ignoreTag||47!==this.peek())if(60===e&&!this.ignoreTag&&K(this.peek()||0)){let c=this.parseTag(a,b);if(c.err)return c;d.push(c.val)}else{let c=this.parseLiteral(a,b);if(c.err)return c;d.push(c.val)}else if(!c)return this.error(26,B(this.clonePosition(),this.clonePosition()));else break}return{val:d,err:null}}parseTag(a,b){let c=this.clonePosition();this.bump();let d=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${d}/>`,location:B(c,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,B(c,this.clonePosition()));{let e=this.parseMessage(a+1,b,!0);if(e.err)return e;let f=e.val,g=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,B(c,this.clonePosition()));{if(this.isEOF()||!K(this.char()))return this.error(23,B(g,this.clonePosition()));let a=this.clonePosition();return d!==this.parseTagName()?this.error(26,B(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:d,children:f,location:B(c,this.clonePosition())},err:null}:this.error(23,B(g,this.clonePosition()))}}}parseTagName(){var a;let b=this.offset();for(this.bump();!this.isEOF()&&(45===(a=this.char())||46===a||a>=48&&a<=57||95===a||a>=97&&a<=122||a>=65&&a<=90||183==a||a>=192&&a<=214||a>=216&&a<=246||a>=248&&a<=893||a>=895&&a<=8191||a>=8204&&a<=8205||a>=8255&&a<=8256||a>=8304&&a<=8591||a>=11264&&a<=12271||a>=12289&&a<=55295||a>=63744&&a<=64975||a>=65008&&a<=65533||a>=65536&&a<=983039);)this.bump();return this.message.slice(b,this.offset())}parseLiteral(a,b){let c=this.clonePosition(),d="";for(;;){let c=this.tryParseQuote(b);if(c){d+=c;continue}let e=this.tryParseUnquoted(a,b);if(e){d+=e;continue}let f=this.tryParseLeftAngleBracket();if(f){d+=f;continue}break}return{val:{type:0,value:d,location:B(c,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var a;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(K(a=this.peek()||0)||47===a)?null:(this.bump(),"<")}tryParseQuote(a){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===a||"selectordinal"===a)break;return null;default:return null}this.bump();let b=[this.char()];for(this.bump();!this.isEOF();){let a=this.char();if(39===a)if(39===this.peek())b.push(39),this.bump();else{this.bump();break}else b.push(a);this.bump()}return String.fromCodePoint(...b)}tryParseUnquoted(a,b){if(this.isEOF())return null;let c=this.char();return 60===c||123===c||35===c&&("plural"===b||"selectordinal"===b)||125===c&&a>0?null:(this.bump(),String.fromCodePoint(c))}parseArgument(a,b){let c=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,B(c,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,B(c,this.clonePosition()));let d=this.parseIdentifierIfPossible().value;if(!d)return this.error(3,B(c,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,B(c,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:d,location:B(c,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,B(c,this.clonePosition()));return this.parseArgumentOptions(a,b,d,c);default:return this.error(3,B(c,this.clonePosition()))}}parseIdentifierIfPossible(){var a;let b=this.clonePosition(),c=this.offset(),d=(a=this.message,I.lastIndex=c,I.exec(a)[1]??""),e=c+d.length;return this.bumpTo(e),{value:d,location:B(b,this.clonePosition())}}parseArgumentOptions(a,b,c,d){let e=this.clonePosition(),f=this.parseIdentifierIfPossible().value,g=this.clonePosition();switch(f){case"":return this.error(4,B(e,g));case"number":case"date":case"time":{this.bumpSpace();let a=null;if(this.bumpIf(",")){this.bumpSpace();let b=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;let d=H(c.val);if(0===d.length)return this.error(6,B(this.clonePosition(),this.clonePosition()));a={style:d,styleLocation:B(b,this.clonePosition())}}let b=this.tryParseArgumentClose(d);if(b.err)return b;let e=B(d,this.clonePosition());if(a&&a.style.startsWith("::")){let b=G(a.style.slice(2));if("number"===f){let d=this.parseNumberSkeletonFromString(b,a.styleLocation);if(d.err)return d;return{val:{type:2,value:c,location:e,style:d.val},err:null}}{let d;if(0===b.length)return this.error(10,e);let g=b;return this.locale&&(g=function(a,b){let c="";for(let d=0;d<a.length;d++){let e=a.charAt(d);if("j"===e){let f=0;for(;d+1<a.length&&a.charAt(d+1)===e;)f++,d++;let g=1+(1&f),h=f<2?1:3+(f>>1),i=function(a){let b,c=a.hourCycle;if(void 0===c&&(c=a.getHourCycles?.()[0]??a.hourCycles?.[0]),c)switch(c){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let d=a.language;return"root"!==d&&(b=a.maximize().region),(y[`${d}-${b}`]||y[b||""]||y[d||""]||y[`${d}-001`]||y["001"])[0].charAt(0)}(b);for(("H"==i||"k"==i)&&(h=0);h-- >0;)c+="a";for(;g-- >0;)c=i+c}else"J"===e?c+="H":c+=e}return c}(b,this.locale)),{val:{type:"date"===f?3:4,value:c,location:e,style:{type:1,pattern:g,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?(d={},g.replace(l,a=>{let b=a.length;switch(a[0]){case"G":d.era=4===b?"long":5===b?"narrow":"short";break;case"y":d.year=2===b?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":d.month=["numeric","2-digit","short","long","narrow"][b-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":d.day=["numeric","2-digit"][b-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":d.weekday=4===b?"long":5===b?"narrow":"short";break;case"e":if(b<4)throw RangeError("`e..eee` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][b-3];break;case"c":if(b<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][b-3];break;case"a":d.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":d.hourCycle="h12",d.hour=["numeric","2-digit"][b-1];break;case"H":d.hourCycle="h23",d.hour=["numeric","2-digit"][b-1];break;case"K":d.hourCycle="h11",d.hour=["numeric","2-digit"][b-1];break;case"k":d.hourCycle="h24",d.hour=["numeric","2-digit"][b-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":d.minute=["numeric","2-digit"][b-1];break;case"s":d.second=["numeric","2-digit"][b-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":d.timeZoneName=b<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),d):{}}},err:null}}}return{val:{type:"number"===f?2:"date"===f?3:4,value:c,location:e,style:a?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let e=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,B(e,{...e}));this.bumpSpace();let g=this.parseIdentifierIfPossible(),h=0;if("select"!==f&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(13,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();let a=this.tryParseDecimalInteger(13,14);if(a.err)return a;this.bumpSpace(),g=this.parseIdentifierIfPossible(),h=a.val}let i=this.tryParsePluralOrSelectOptions(a,f,b,g);if(i.err)return i;let j=this.tryParseArgumentClose(d);if(j.err)return j;let k=B(d,this.clonePosition());if("select"===f)return{val:{type:5,value:c,options:F(i.val),location:k},err:null};return{val:{type:6,value:c,options:F(i.val),offset:h,pluralType:"plural"===f?"cardinal":"ordinal",location:k},err:null}}default:return this.error(5,B(e,g))}}tryParseArgumentClose(a){return this.isEOF()||125!==this.char()?this.error(1,B(a,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let a=0,b=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,B(a,this.clonePosition()));this.bump();break}case 123:a+=1,this.bump();break;case 125:if(!(a>0))return{val:this.message.slice(b.offset,this.offset()),err:null};a-=1;break;default:this.bump()}return{val:this.message.slice(b.offset,this.offset()),err:null}}parseNumberSkeletonFromString(a,b){let c=[];try{c=function(a){if(0===a.length)throw Error("Number skeleton cannot be empty");let b=a.split(m).filter(a=>a.length>0),c=[];for(let a of b){let b=a.split("/");if(0===b.length)throw Error("Invalid number skeleton");let[d,...e]=b;for(let a of e)if(0===a.length)throw Error("Invalid number skeleton");c.push({stem:d,options:e})}return c}(a)}catch{return this.error(7,b)}return{val:{type:0,tokens:c,location:b,parsedOptions:this.shouldParseSkeletons?function(a){let b={};for(let c of a){switch(c.stem){case"percent":case"%":b.style="percent";continue;case"%x100":b.style="percent",b.scale=100;continue;case"currency":b.style="currency",b.currency=c.options[0];continue;case"group-off":case",_":b.useGrouping=!1;continue;case"precision-integer":case".":b.maximumFractionDigits=0;continue;case"measure-unit":case"unit":b.style="unit",b.unit=c.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":b.notation="compact",b.compactDisplay="short";continue;case"compact-long":case"KK":b.notation="compact",b.compactDisplay="long";continue;case"scientific":b={...b,notation:"scientific",...c.options.reduce((a,b)=>({...a,...t(b)}),{})};continue;case"engineering":b={...b,notation:"engineering",...c.options.reduce((a,b)=>({...a,...t(b)}),{})};continue;case"notation-simple":b.notation="standard";continue;case"unit-width-narrow":b.currencyDisplay="narrowSymbol",b.unitDisplay="narrow";continue;case"unit-width-short":b.currencyDisplay="code",b.unitDisplay="short";continue;case"unit-width-full-name":b.currencyDisplay="name",b.unitDisplay="long";continue;case"unit-width-iso-code":b.currencyDisplay="symbol";continue;case"scale":b.scale=parseFloat(c.options[0]);continue;case"rounding-mode-floor":b.roundingMode="floor";continue;case"rounding-mode-ceiling":b.roundingMode="ceil";continue;case"rounding-mode-down":b.roundingMode="trunc";continue;case"rounding-mode-up":b.roundingMode="expand";continue;case"rounding-mode-half-even":b.roundingMode="halfEven";continue;case"rounding-mode-half-down":b.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":b.roundingMode="halfExpand";continue;case"integer-width":if(c.options.length>1)throw RangeError("integer-width stems only accept a single optional option");c.options[0].replace(p,function(a,c,d,e,f,g){if(c)b.minimumIntegerDigits=d.length;else if(e&&f)throw Error("We currently do not support maximum integer digits");else if(g)throw Error("We currently do not support exact integer digits");return""});continue}if(q.test(c.stem)){b.minimumIntegerDigits=c.stem.length;continue}if(n.test(c.stem)){if(c.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");c.stem.replace(n,function(a,c,d,e,f,g){return"*"===d?b.minimumFractionDigits=c.length:e&&"#"===e[0]?b.maximumFractionDigits=e.length:f&&g?(b.minimumFractionDigits=f.length,b.maximumFractionDigits=f.length+g.length):(b.minimumFractionDigits=c.length,b.maximumFractionDigits=c.length),""});let a=c.options[0];"w"===a?b={...b,trailingZeroDisplay:"stripIfInteger"}:a&&(b={...b,...r(a)});continue}if(o.test(c.stem)){b={...b,...r(c.stem)};continue}let a=s(c.stem);a&&(b={...b,...a});let d=function(a){let b;if("E"===a[0]&&"E"===a[1]?(b={notation:"engineering"},a=a.slice(2)):"E"===a[0]&&(b={notation:"scientific"},a=a.slice(1)),b){let c=a.slice(0,2);if("+!"===c?(b.signDisplay="always",a=a.slice(2)):"+?"===c&&(b.signDisplay="exceptZero",a=a.slice(2)),!q.test(a))throw Error("Malformed concise eng/scientific notation");b.minimumIntegerDigits=a.length}return b}(c.stem);d&&(b={...b,...d})}return b}(c):{}},err:null}}tryParsePluralOrSelectOptions(a,b,c,d){let e=!1,f=[],g=new Set,{value:h,location:i}=d;for(;;){if(0===h.length){let a=this.clonePosition();if("select"!==b&&this.bumpIf("=")){let b=this.tryParseDecimalInteger(16,19);if(b.err)return b;i=B(a,this.clonePosition()),h=this.message.slice(a.offset,this.offset())}else break}if(g.has(h))return this.error("select"===b?21:20,i);"other"===h&&(e=!0),this.bumpSpace();let d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===b?17:18,B(this.clonePosition(),this.clonePosition()));let j=this.parseMessage(a+1,b,c);if(j.err)return j;let k=this.tryParseArgumentClose(d);if(k.err)return k;f.push([h,{value:j.val,location:B(d,this.clonePosition())}]),g.add(h),this.bumpSpace(),{value:h,location:i}=this.parseIdentifierIfPossible()}return 0===f.length?this.error("select"===b?15:16,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!e?this.error(22,B(this.clonePosition(),this.clonePosition())):{val:f,err:null}}tryParseDecimalInteger(a,b){let c=1,d=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(c=-1);let e=!1,f=0;for(;!this.isEOF();){let a=this.char();if(a>=48&&a<=57)e=!0,f=10*f+(a-48),this.bump();else break}let g=B(d,this.clonePosition());return e?Number.isSafeInteger(f*=c)?{val:f,err:null}:this.error(b,g):this.error(a,g)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let a=this.position.offset;if(a>=this.message.length)throw Error("out of bound");let b=this.message.codePointAt(a);if(void 0===b)throw Error(`Offset ${a} is at invalid UTF-16 code unit boundary`);return b}error(a,b){return{val:null,err:{kind:a,message:this.message,location:b}}}bump(){if(this.isEOF())return;let a=this.char();10===a?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=a<65536?1:2)}bumpIf(a){if(this.message.startsWith(a,this.offset())){for(let b=0;b<a.length;b++)this.bump();return!0}return!1}bumpUntil(a){let b=this.offset(),c=this.message.indexOf(a,b);return c>=0?(this.bumpTo(c),!0):(this.bumpTo(this.message.length),!1)}bumpTo(a){if(this.offset()>a)throw Error(`targetOffset ${a} must be greater than or equal to the current offset ${this.offset()}`);for(a=Math.min(a,this.message.length);;){let b=this.offset();if(b===a)break;if(b>a)throw Error(`targetOffset ${a} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var a;!this.isEOF()&&((a=this.char())>=9&&a<=13||32===a||133===a||a>=8206&&a<=8207||8232===a||8233===a);)this.bump()}peek(){if(this.isEOF())return null;let a=this.char(),b=this.offset();return this.message.charCodeAt(b+(a>=65536?2:1))??null}};function K(a){return a>=97&&a<=122||a>=65&&a<=90}function L(a,b={}){let c=new J(a,b={shouldParseSkeletons:!0,requiresOtherClause:!0,...b}).parse();if(c.err){let a=SyntaxError(u[c.err.kind]);throw a.location=c.err.location,a.originalMessage=c.err.message,a}return b?.captureLocation||function a(b){b.forEach(b=>{if(delete b.location,5===b.type||6===b.type)for(let c in b.options)delete b.options[c].location,a(b.options[c].value);else 2===b.type&&v(b.style)||(3===b.type||4===b.type)&&w(b.style)?delete b.style.location:8===b.type&&a(b.children)})}(c.val),c.val}var M=class extends Error{constructor(a,b,c){super(a),this.code=b,this.originalMessage=c}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},N=class extends M{constructor(a,b,c,d){super(`Invalid values for "${a}": "${b}". Options are "${Object.keys(c).join('", "')}"`,"INVALID_VALUE",d)}},O=class extends M{constructor(a,b,c){super(`Value for "${a}" must be of type ${b}`,"INVALID_VALUE",c)}},P=class extends M{constructor(a,b){super(`The intl string context variable "${a}" was not provided to the string "${b}"`,"MISSING_VALUE",b)}};function Q(a){return{create:()=>({get:b=>a[b],set(b,c){a[b]=c}})}}var R=class a{constructor(b,c=a.defaultLocale,d,f){var g;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=a=>{let b=this.formatToParts(a);if(1===b.length)return b[0].value;let c=b.reduce((a,b)=>(a.length&&0===b.type&&"string"==typeof a[a.length-1]?a[a.length-1]+=b.value:a.push(b.value),a),[]);return c.length<=1?c[0]||"":c},this.formatToParts=a=>(function a(b,c,d,e,f,g,h){if(1===b.length&&0===b[0].type)return[{type:0,value:b[0].value}];let i=[];for(let j of b){if(0===j.type){i.push({type:0,value:j.value});continue}if(7===j.type){"number"==typeof g&&i.push({type:0,value:d.getNumberFormat(c).format(g)});continue}let{value:b}=j;if(!(f&&b in f))throw new P(b,h);let k=f[b];if(1===j.type){k&&"string"!=typeof k&&"number"!=typeof k&&"bigint"!=typeof k||(k="string"==typeof k||"number"==typeof k||"bigint"==typeof k?String(k):""),i.push({type:+("string"!=typeof k),value:k});continue}if(3===j.type){let a="string"==typeof j.style?e.date[j.style]:w(j.style)?j.style.parsedOptions:void 0;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(4===j.type){let a="string"==typeof j.style?e.time[j.style]:w(j.style)?j.style.parsedOptions:e.time.medium;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(2===j.type){let a="string"==typeof j.style?e.number[j.style]:v(j.style)?j.style.parsedOptions:void 0;if(a&&a.scale){let b=a.scale||1;if("bigint"==typeof k){if(!Number.isInteger(b))throw TypeError(`Cannot apply fractional scale ${b} to bigint value. Scale must be an integer when formatting bigint.`);k*=BigInt(b)}else k*=b}i.push({type:0,value:d.getNumberFormat(c,a).format(k)});continue}if(8===j.type){let{children:b,value:k}=j,l=f[k];if("function"!=typeof l)throw new O(k,"function",h);let m=l(a(b,c,d,e,f,g).map(a=>a.value));Array.isArray(m)||(m=[m]),i.push(...m.map(a=>({type:+("string"!=typeof a),value:a})))}if(5===j.type){let b=k,g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other;if(!g)throw new N(j.value,k,Object.keys(j.options),h);i.push(...a(g.value,c,d,e,f));continue}if(6===j.type){let b=`=${k}`,g=Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0;if(!g){if(!Intl.PluralRules)throw new M(`Intl.PluralRules is not available in this environment.
1
+ module.exports=[67228,3109,85221,a=>{"use strict";var b=a.i(717),c=a.i(22918),d=a.i(20276),e=a.i(13852),f=a.i(61457),g=a.i(5246);let h=(0,b.cache)(function(){return{locale:void 0}}),i=(0,b.cache)(async function(){let a=(0,g.headers)();return(0,f.o)(a)?await a:a}),j=(0,b.cache)(async function(){let a;try{a=(await i()).get("X-NEXT-INTL-LOCALE")||void 0}catch(a){if(a instanceof Error&&"DYNAMIC_SERVER_USAGE"===a.digest){let b=Error("Usage of next-intl APIs in Server Components currently opts into dynamic rendering. This limitation will eventually be lifted, but as a stopgap solution, you can use the `setRequestLocale` API to enable static rendering, see https://next-intl.dev/docs/routing/setup#static-rendering",{cause:a});throw b.digest=a.digest,b}throw a}return a});async function k(){return h().locale||await j()}var l=a.i(60711);a.i(70396);var m=a.i(73727),n=a.i(67781),o=a.i(18845),p=a.i(36772);function q(a,b){return a.includes(b)}a.s(["j",0,function({_cache:a=(0,o.b)(),_formatters:b=(0,o.c)(a),getMessageFallback:c=p.d,messages:d,namespace:e,onError:f=p.b,...g}){return function({messages:a,namespace:b,...c}){return a=a["!"],b=(0,p.r)(b,"!"),(0,p.a)({...c,messages:a,namespace:b})}({...g,onError:f,cache:a,formatters:b,getMessageFallback:c,messages:{"!":d},namespace:e?`!.${e}`:"!"})},"O",0,q],3109);let r={locales:["en"],defaultLocale:"en",localePrefix:{mode:"as-needed"},localeDetection:!1,pathnames:{"/":"/","/services":"/services","/services/new":"/services/new","/services/[id]":"/services/[id]","/services/[id]/builds":"/services/[id]/builds","/services/[id]/logs":"/services/[id]/logs","/services/[id]/links":"/services/[id]/links","/services/[id]/settings":"/services/[id]/settings","/settings":"/settings","/login":"/login","/install":"/install"}};a.s(["f",0,r],85221);let s=async({locale:b})=>{if(!b){let a=await (0,n.getRootParam)("locale");q(r.locales,a)?b=a:(0,m.notFound)()}return{locale:b,messages:(await (0,l.trackDynamicImport)(a.f({"../../dictionaries/en.json":{id:()=>1912,module:()=>a.A(1912)}}).import(`../../dictionaries/${b}.json`))).default}},t=(0,b.cache)(function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}),u=(0,b.cache)(async function(a,b){let c=a({locale:b,get requestLocale(){return b?Promise.resolve(b):k()}});if((0,f.o)(c)&&(c=await c),!c.locale)throw Error("No locale was returned from `getRequestConfig`.\n\nSee https://next-intl.dev/docs/usage/configuration#i18n-request");return c}),v=(0,b.cache)(d.f),w=(0,b.cache)(e.f),x=(0,b.cache)(async function(a){let b=await u(s,a);return{...(0,c.f)(b),_formatters:v(w()),timeZone:b.timeZone||t()}});a.s(["f",0,x],67228)},61457,a=>{"use strict";function b(a){let b=function(){try{return"true"===process.env._next_intl_trailing_slash}catch{return!1}}(),[c,...d]=a.split("#"),e=d.join("#"),f=c;if("/"!==f){let a=f.endsWith("/");b&&!a?f+="/":!b&&a&&(f=f.slice(0,-1))}return e&&(f+="#"+e),f}function c(a){return a.includes("[[...")}function d(a){return a.includes("[...")}function e(a){return a.includes("[")}function f(a,b){let f=a.split("/"),g=b.split("/"),h=Math.max(f.length,g.length);for(let a=0;a<h;a++){let b=f[a],h=g[a];if(!b&&h)return -1;if(b&&!h)return 1;if(b||h){if(!e(b)&&e(h))return -1;if(e(b)&&!e(h))return 1;if(!d(b)&&d(h))return -1;if(d(b)&&!d(h))return 1;if(!c(b)&&c(h))return -1;if(c(b)&&!c(h))return 1}}return 0}a.s(["u",0,function(a,b){return"never"!==b.mode&&b.prefixes?.[a]||"/"+a},"n",0,function(a,b,c){return"string"==typeof a?a:a[b]||c},"I",0,function(a){return a.sort(f)},"i",0,function(a){let b;return("object"==typeof a?null==a.host&&null==a.hostname:!/^[a-z]+:/i.test(a))&&(null==(b="object"==typeof a?a.pathname:a)||!!b.startsWith("/"))},"o",0,function(a){return"function"==typeof a.then},"H",0,function(a,c){let d,e=b(a),f=b(c);return(d=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${d}$`)).test(f)},"p",0,b,"c",0,function(a,b){let c=a;return/^\/(\?.*)?$/.test(b)&&(b=b.slice(1)),c+=b}])},44199,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={assertRootParamInSamples:function(){return A},createCookiesFromSample:function(){return r},createDraftModeForValidation:function(){return u},createExhaustiveParamsProxy:function(){return v},createExhaustiveSearchParamsProxy:function(){return w},createExhaustiveURLSearchParamsProxy:function(){return x},createHeadersFromSample:function(){return t},createRelativeURLFromSamples:function(){return z},createValidationSampleTracking:function(){return o},trackMissingSampleError:function(){return p},trackMissingSampleErrorAndThrow:function(){return q}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(63681),g=a.r(14896),h=a.r(29927),i=a.r(38165),j=a.r(58973),k=a.r(50640),l=a.r(84240),m=a.r(32319),n=a.r(36329);function o(){return{missingSampleErrors:[]}}function p(a){(function(){let a=null,b=m.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"request":case"validation-client":a=b.validationSampleTracking??null}if(!a)throw new k.InvariantError("Expected to have a workUnitStore that provides validationSampleTracking");return a})().missingSampleErrors.push(a)}function q(a){throw p(a),a}function r(a,b){let c=new Set,d=new f.RequestCookies(new Headers);if(a)for(let b of a)c.add(b.name),null!==b.value&&d.set(b.name,b.value);return new Proxy(g.RequestCookiesAdapter.seal(d),{get(a,d,e){if("has"===d){let f=Reflect.get(a,d,e);return function(d){return c.has(d)||q(s(b,d)),f.call(a,d)}}if("get"===d){let f=Reflect.get(a,d,e);return function(d){let e;if("string"==typeof d)e=d;else{if(!d||"object"!=typeof d||"string"!=typeof d.name)return f.call(a,d);e=d.name}return c.has(e)||q(s(b,e)),f.call(a,e)}}return Reflect.get(a,d,e)}})}function s(a,b){return new l.InstantValidationError(`Route "${a}" accessed cookie "${b}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`cookies\` array, or \`{ name: "${b}", value: null }\` if it should be absent.`)}function t(a,b,c){let d=a?[...a]:[];if(d.find(([a])=>"cookie"===a.toLowerCase()))throw new l.InstantValidationError('Invalid sample: Defining cookies via a "cookie" header is not supported. Use `cookies: [{ name: ..., value: ... }]` instead.');if(b){let a=b.toString();d.push(["cookie",""!==a?a:null])}let e=new Set,f={};for(let[a,b]of d)e.add(a.toLowerCase()),null!==b&&(f[a.toLowerCase()]=b);return new Proxy(h.HeadersAdapter.seal(h.HeadersAdapter.from(f)),{get(a,b,d){if("get"===b||"has"===b){let f=Reflect.get(a,b,d);return function(b){let d=b.toLowerCase();return e.has(d)||q(new l.InstantValidationError(`Route "${c}" accessed header "${d}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`headers\` array, or \`["${d}", null]\` if it should be absent.`)),f.call(a,d)}}return Reflect.get(a,b,d)}})}function u(){return{get isEnabled(){return!1},enable(){throw Error("Draft mode cannot be enabled during build-time instant validation.")},disable(){throw Error("Draft mode cannot be disabled during build-time instant validation.")}}}function v(a,b,c){return new Proxy(a,{get:(d,e,f)=>("string"==typeof e&&!n.wellKnownProperties.has(e)&&e in a&&!b.has(e)&&q(new l.InstantValidationError(`Route "${c}" accessed param "${e}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`params\` object.`)),Reflect.get(d,e,f))})}function w(a,b,c){return new Proxy(a,{get:(a,d,e)=>("string"!=typeof d||n.wellKnownProperties.has(d)||b.has(d)||q(y(c,d)),Reflect.get(a,d,e)),has:(a,d)=>("string"!=typeof d||n.wellKnownProperties.has(d)||b.has(d)||q(y(c,d)),Reflect.has(a,d))})}function x(a,b,c){return new Proxy(a,{get(a,d,e){if("get"===d||"getAll"===d||"has"===d){let f=Reflect.get(a,d,e);return d=>("string"!=typeof d||b.has(d)||q(y(c,d)),f.call(a,d))}let f=Reflect.get(a,d,e);return"function"!=typeof f||Object.hasOwn(a,d)?f:f.bind(a)}})}function y(a,b){return new l.InstantValidationError(`Route "${a}" accessed searchParam "${b}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`searchParams\` object, or \`{ "${b}": null }\` if it should be absent.`)}function z(a,b,c){let d=function(a,b){let c=[];for(let d of a.split("/")){let a=(0,i.getSegmentParam)(d);if(a)switch(a.paramType){case"catchall":case"optional-catchall":{let e=b[a.paramName];if(void 0===e)e=[d];else if(!Array.isArray(e))throw new l.InstantValidationError(`Expected sample param value for segment '${d}' to be an array of strings, got ${typeof e}`);c.push(...e.map(a=>encodeURIComponent(a)));break}case"dynamic":{let e=b[a.paramName];if(void 0===e)e=d;else if("string"!=typeof e)throw new l.InstantValidationError(`Expected sample param value for segment '${d}' to be a string, got ${typeof e}`);c.push(encodeURIComponent(e));break}case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":throw new k.InvariantError("Not implemented: Validation of interception routes");default:a.paramType}else c.push(d)}return c.join("/")}(a,b??{}),e="";if(c){let a=(function(a){let b=new URLSearchParams;if(a){for(let[c,d]of Object.entries(a))if(null!=d)if(Array.isArray(d))for(let a of d)b.append(c,a);else b.set(c,d)}return b})(c).toString();a&&(e="?"+a)}return(0,j.parseRelativeUrl)(d+e,void 0,!0)}function A(a,b,c){if(b&&c in b);else{let b=a.route;q(new l.InstantValidationError(`Route "${b}" accessed root param "${c}" which is not defined in the \`unstable_samples\` of \`instant\`. Add it to the sample's \`params\` object.`))}}},84240,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={InstantValidationError:function(){return h},isInstantValidationError:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="INSTANT_VALIDATION_ERROR";function g(a){return!!(a&&"object"==typeof a&&a instanceof Error&&a.digest===f)}class h extends Error{constructor(...a){super(...a),this.digest=f}}},37583,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={VaryParamsAccumulator:function(){return h},accumulateRootVaryParam:function(){return p},accumulateVaryParam:function(){return o},createResponseVaryParamsAccumulator:function(){return j},createVaryParamsAccumulator:function(){return k},createVaryingParams:function(){return q},createVaryingSearchParams:function(){return r},emptyVaryParamsAccumulator:function(){return i},finishAccumulatingVaryParams:function(){return s},getMetadataVaryParamsAccumulator:function(){return l},getRootParamsVaryParamsAccumulator:function(){return n},getViewportVaryParamsAccumulator:function(){return m}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(32319),g=a.r(71780);class h{add(a){this._done||this._seen.has(a)||(this._seen.add(a),null!==this._resolve?(this._resolve({value:a,done:!1}),this._resolve=null):this._buffer.push(a))}close(){this._done||(this._done=!0,null!==this._resolve&&(this._resolve({value:void 0,done:!0}),this._resolve=null))}[Symbol.asyncIterator](){return{next:()=>this._buffer.length>0?Promise.resolve({value:this._buffer.shift(),done:!1}):this._done?Promise.resolve({value:void 0,done:!0}):new Promise(a=>{this._resolve=a})}}constructor(){this._resolve=null,this._done=!1,this._buffer=[],this._seen=new Set}}let i=new h;function j(){let a=new h;return{head:a,rootParams:new h,segments:new Set}}function k(){let a=f.workUnitAsyncStorage.getStore();if(!a)return null;let b=(0,f.getVaryParamsAccumulator)(a);if(!b)return null;let c=new h;return b.segments.add(c),c}function l(){var a;let b=f.workUnitAsyncStorage.getStore();return b?(null==(a=(0,f.getVaryParamsAccumulator)(b))?void 0:a.head)??null:null}i.close();let m=l;function n(){var a;let b=f.workUnitAsyncStorage.getStore();return b?(null==(a=(0,f.getVaryParamsAccumulator)(b))?void 0:a.rootParams)??null:null}function o(a,b){a.add(b)}function p(a){let b=n();null!==b&&o(b,a)}function q(a,b,c){if(null!==c)return new Proxy(b,{get:(b,d,e)=>("string"==typeof d&&(d===c||Object.prototype.hasOwnProperty.call(b,d))&&o(a,d),Reflect.get(b,d,e)),has:(b,d)=>(d===c&&o(a,c),Reflect.has(b,d)),ownKeys:b=>(o(a,c),Reflect.ownKeys(b))});let d={};for(let c in b)Object.defineProperty(d,c,{get:()=>(o(a,c),b[c]),enumerable:!0});return d}function r(a,b){return new Proxy(b,{get:(b,c,d)=>("string"==typeof c&&o(a,g.SEARCH_PARAMS_VARY_ID),Reflect.get(b,c,d)),has:(b,c)=>("string"==typeof c&&o(a,g.SEARCH_PARAMS_VARY_ID),Reflect.has(b,c)),ownKeys:b=>(o(a,g.SEARCH_PARAMS_VARY_ID),Reflect.ownKeys(b))})}function s(a){for(let b of(a.head.close(),a.rootParams.close(),a.segments))b.close()}},67781,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getRootParam",{enumerable:!0,get:function(){return k}});let d=a.r(50640),e=a.r(56704),f=a.r(32319),g=a.r(13091),h=a.r(43285),i=a.r(20635),j=a.r(37583);function k(b){let c=`\`import('next/root-params').${b}()\``,k=e.workAsyncStorage.getStore();if(!k)throw new d.InvariantError(`Missing workStore in ${c}`);let l=f.workUnitAsyncStorage.getStore();if(!l)throw Error(`Route ${k.route} used ${c} outside of a Server Component. This is not allowed.`);let m=i.actionAsyncStorage.getStore();if(m){if(m.isAppRoute)throw Error(`Route ${k.route} used ${c} inside a Route Handler. Support for this API in Route Handlers is planned for a future version of Next.js.`);if(m.isAction&&"action"===l.phase)throw Error(`${c} was used inside a Server Action. This is not supported. Functions from 'next/root-params' can only be called in the context of a route.`)}switch(l.type){case"unstable-cache":throw Error(`Route ${k.route} used ${c} inside \`unstable_cache\`. This is not supported. Use \`"use cache"\` instead.`);case"cache":{if(!l.rootParams)throw Error(`Route ${k.route} used ${c} inside \`"use cache"\` nested within \`unstable_cache\`. Root params are not available in this context.`);l.readRootParamNames.add(b);let a=l.fallbackRootParamsPrerender;if(null!==a&&null!==a.fallbackRouteParams&&a.fallbackRouteParams.has(b))return(0,g.trackPromiseUsed)((0,g.makeFallbackParamsHangingPromise)(a.renderSignal,k.route,c,null),()=>{(0,g.trackFallbackParamsAccessed)(a,c),(0,h.abortOnDynamicAccess)("fallback-params",Error(`Accessed fallback root parameter "${b}" during prerendering.`))});return Promise.resolve(l.rootParams[b])}case"prerender":case"prerender-legacy":var n,o,p,q;let r;return n=b,o=k,p=l,q=c,p.type,r=p.rootParams,"prerender"===p.type&&p.fallbackRouteParams&&p.fallbackRouteParams.has(n)?(0,g.makeFallbackParamsHangingPromise)(p.renderSignal,o.route,q,p):((0,j.accumulateRootVaryParam)(n),Promise.resolve(r[n]));case"validation-client":case"prerender-client":throw new d.InvariantError(`${c} must not be used within a client component. Next.js should be preventing ${c} from being included in client components statically, but did not in this case.`);case"request":if(l.validationSamples){let{assertRootParamInSamples:c}=a.r(44199);try{c(k,l.validationSamples.params,b)}catch(a){return Promise.reject(a)}}break;case"private-cache":return l.readRootParamNames.add(b),Promise.resolve(l.rootParams[b]);case"prerender-runtime":break;case"build-time-generator":if(!(b in l.rootParams)){if("generateStaticParams"!==l.functionName)throw Error(`Route ${k.route} used ${c} inside \`${l.functionName}\`, but the \`${b}\` parameter is not available in this build-time generator.`);throw Error(`Route ${k.route} used ${c} inside \`generateStaticParams\`, but the \`${b}\` parameter was not provided by a parent \`generateStaticParams\`. In \`generateStaticParams\`, root params are only available for segments nested below the segment that provides them.`)}}return(0,j.accumulateRootVaryParam)(b),Promise.resolve(l.rootParams[b])}},38165,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getParamProperties:function(){return i},getSegmentParam:function(){return g},isCatchAll:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(97908);function g(a){let b=f.INTERCEPTION_ROUTE_MARKERS.find(b=>a.startsWith(b));return(b&&(a=a.slice(b.length)),a.startsWith("[[...")&&a.endsWith("]]"))?{paramType:"optional-catchall",paramName:a.slice(5,-2)}:a.startsWith("[...")&&a.endsWith("]")?{paramType:b?`catchall-intercepted-${b}`:"catchall",paramName:a.slice(4,-1)}:a.startsWith("[")&&a.endsWith("]")?{paramType:b?`dynamic-intercepted-${b}`:"dynamic",paramName:a.slice(1,-1)}:null}function h(a){return"catchall"===a||"catchall-intercepted-(..)(..)"===a||"catchall-intercepted-(.)"===a||"catchall-intercepted-(..)"===a||"catchall-intercepted-(...)"===a||"optional-catchall"===a}function i(a){let b=!1,c=!1;switch(a){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":b=!0;break;case"optional-catchall":b=!0,c=!0}return{repeat:b,optional:c}}},58973,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseRelativeUrl",{enumerable:!0,get:function(){return e}}),a.r(69284);let d=a.r(39754);function e(a,b,c=!0){let f=new URL("http://n"),g=b?new URL(b,f):a.startsWith(".")?new URL("http://n"):f,{pathname:h,searchParams:i,search:j,hash:k,href:l,origin:m}=a.startsWith("/")?new URL(`${g.protocol}//${g.host}${a}`):new URL(a,g);if(m!==f.origin)throw Error(`invariant: invalid relative URL, router received ${a}`);return{auth:null,host:null,hostname:null,pathname:h,port:null,protocol:null,query:c?(0,d.searchParamsToUrlQuery)(i):void 0,search:j,hash:k,href:l.slice(m.length),slashes:null}}},39754,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={assign:function(){return j},getRenderedSearch:function(){return f},searchParamsToUrlQuery:function(){return g},urlQueryToSearchParams:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){let b=[];for(let c in a){let d=a[c];if(null!=d)if(Array.isArray(d))for(let a of d)b.push(`${encodeURIComponent(c)}=${encodeURIComponent(String(a))}`);else b.push(`${encodeURIComponent(c)}=${encodeURIComponent(String(d))}`)}return 0===b.length?"":"?"+b.join("&")}function g(a){let b={};for(let[c,d]of a.entries()){let a=b[c];void 0===a?b[c]=d:Array.isArray(a)?a.push(d):b[c]=[a,d]}return b}function h(a){return"string"==typeof a?a:("number"!=typeof a||isNaN(a))&&"boolean"!=typeof a?"":String(a)}function i(a){let b=new URLSearchParams;for(let[c,d]of Object.entries(a))if(Array.isArray(d))for(let a of d)b.append(c,h(a));else b.set(c,h(d));return b}function j(a,...b){for(let c of b){for(let b of c.keys())a.delete(b);for(let[b,d]of c.entries())a.append(b,d)}return a}},60004,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={createSkippedSegmentData:function(){return g},readFulfilledValue:function(){return h},segmentToTransportSegment:function(){return j},transportNodeToFlightRouterState:function(){return function a(b,c){let d={},e=b.c;if(void 0!==e)for(let[b,f]of e)d[b]=a(f,c);let g=[k(b.s),d];return void 0!==b.h&&(g[4]=b.h),g[0]===f.PAGE_SEGMENT_KEY&&(g[5]=c),g}},transportSegmentToSegment:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(98698);function g(){return{r:null,p:!0,v:null}}function h(a,b,c=b){switch(a.then(i,i),a.status){case"fulfilled":return a.value;case"rejected":return c;default:return b}}let i=()=>{};function j(a){return"string"==typeof a?a:{n:a[0],t:a[2],k:a[1],s:a[3]}}function k(a){return"string"==typeof a?a:[a.n,a.k??"",a.t,a.s]}},71780,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={SEARCH_PARAMS_VARY_ID:function(){return g},createVaryParams:function(){return j},decodeVaryParams:function(){return i},readVaryParams:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(60004),g=0;function h(a,b){let c=a[Symbol.asyncIterator]();for(;;){let a=(0,f.readFulfilledValue)(c.next(),void 0);if(void 0===a||a.done)return;b.add(a.value)}}function i(a,b){if(null==a||null==b)return null;let c=new Set;return h(a,c),h(b,c),j(c)}function j(a){let b=Promise.resolve(a);return b.status="fulfilled",b.value=a,b}function k(a){return(0,f.readFulfilledValue)(a,null)}},69284,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DecodeError:function(){return r},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return u},NormalizeError:function(){return s},PageNotFoundError:function(){return t},SP:function(){return p},ST:function(){return q},WEB_VITALS:function(){return f},execOnce:function(){return g},getDisplayName:function(){return l},getLocationOrigin:function(){return j},getURL:function(){return k},isAbsoluteUrl:function(){return i},isResSent:function(){return m},loadGetInitialProps:function(){return o},normalizeRepeatedSlashes:function(){return n},stringifyError:function(){return w}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["CLS","FCP","INP","LCP","TTFB"];function g(a){let b,c=!1;return(...d)=>(c||(c=!0,b=a(...d)),b)}let h=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=a=>{let b=a.charCodeAt(0);return!!(b>=65&&b<=90||b>=97&&b<=122)&&h.test(a)};function j(){let{protocol:a,hostname:b,port:c}=window.location;return`${a}//${b}${c?":"+c:""}`}function k(){let{href:a}=window.location,b=j();return a.substring(b.length)}function l(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function m(a){return a.finished||a.headersSent}function n(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?`?${b.slice(1).join("?")}`:"")}async function o(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await o(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&m(c))return d;if(!d)throw Error(`"${l(a)}.getInitialProps()" should resolve to an object. But found "${d}" instead.`);return d}let p="u">typeof performance,q=p&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class r extends Error{}class s extends Error{}class t extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${a}`}}class u extends Error{constructor(a,b){super(),this.message=`Failed to load static file for page: ${a} ${b}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(a){return JSON.stringify({message:a.message,stack:a.stack})}},36329,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={describeHasCheckingStringProperty:function(){return h},describeStringPropertyAccess:function(){return g},wellKnownProperties:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function g(a,b){return f.test(b)?`\`${a}.${b}\``:`\`${a}[${JSON.stringify(b)}]\``}function h(a,b){let c=JSON.stringify(b);return`\`Reflect.has(${a}, ${c})\`, \`${c} in ${a}\`, or similar`}let i=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule","@@iterator"])},22918,18845,36772,20276,13852,a=>{"use strict";var b,c,d=a.i(717);function e(a,b){let c=b&&b.cache?b.cache:j,d=b&&b.serializer?b.serializer:h;return(b&&b.strategy?b.strategy:function(a,b){var c,d;let e=1===a.length?f:g;return c=b.cache.create(),d=b.serializer,e.bind(this,a,c,d)})(a,{cache:c,serializer:d})}function f(a,b,c,d){let e=null==d||"number"==typeof d||"boolean"==typeof d?d:c(d),f=b.get(e);return void 0===f&&(f=a.call(this,d),b.set(e,f)),f}function g(a,b,c){let d=Array.prototype.slice.call(arguments,3),e=c(d),f=b.get(e);return void 0===f&&(f=a.apply(this,d),b.set(e,f)),f}let h=function(){return JSON.stringify(arguments)};var i=class{constructor(){this.cache=Object.create(null)}get(a){return this.cache[a]}set(a,b){this.cache[a]=b}};let j={create:function(){return new i}},k={variadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,g.bind(this,a,c,d)},monadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,f.bind(this,a,c,d)}},l=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,m=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,n=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,o=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,q=/^(0+)$/;function r(a){let b={};return"r"===a[a.length-1]?b.roundingPriority="morePrecision":"s"===a[a.length-1]&&(b.roundingPriority="lessPrecision"),a.replace(o,function(a,c,d){return"string"!=typeof d?(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length):"+"===d?b.minimumSignificantDigits=c.length:"#"===c[0]?b.maximumSignificantDigits=c.length:(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length+("string"==typeof d?d.length:0)),""}),b}function s(a){switch(a){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function t(a){let b=s(a);return b||{}}let u=((b={})[b.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",b[b.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",b[b.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",b[b.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",b[b.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",b[b.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",b[b.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",b[b.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",b[b.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",b[b.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",b[b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",b[b.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",b[b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",b[b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",b[b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",b[b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",b[b.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",b[b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",b[b.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",b[b.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",b[b.INVALID_TAG=23]="INVALID_TAG",b[b.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",b[b.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",b[b.UNCLOSED_TAG=27]="UNCLOSED_TAG",b);function v(a){return!!(a&&"object"==typeof a&&0===a.type)}function w(a){return!!(a&&"object"==typeof a&&1===a.type)}let x=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},z=RegExp(`^${x.source}*`),A=RegExp(`${x.source}*$`);function B(a,b){return{start:a,end:b}}let C=!!Object.fromEntries,D=!!String.prototype.trimStart,E=!!String.prototype.trimEnd,F=C?Object.fromEntries:function(a){let b={};for(let[c,d]of a)b[c]=d;return b},G=D?function(a){return a.trimStart()}:function(a){return a.replace(z,"")},H=E?function(a){return a.trimEnd()}:function(a){return a.replace(A,"")},I=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var J=class{constructor(a,b={}){this.message=a,this.position={offset:0,line:1,column:1},this.ignoreTag=!!b.ignoreTag,this.locale=b.locale,this.requiresOtherClause=!!b.requiresOtherClause,this.shouldParseSkeletons=!!b.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let a=this.message.charCodeAt(0);if(35!==a&&39!==a&&60!==a&&123!==a&&125!==a){let a=function(a){if(0===a.length)return null;let b=1,c=1;for(let d=0;d<a.length;){let e=a.charCodeAt(d);switch(e){case 35:case 39:case 60:case 123:case 125:return null}if(10===e)b++,c=1,d++;else if(c++,e>=55296&&e<=56319&&d+1<a.length){let b=a.charCodeAt(d+1);d+=b>=56320&&b<=57343?2:1}else d++}return{offset:a.length,line:b,column:c}}(this.message);if(a){let b=this.clonePosition();return this.position=a,{val:[{type:0,value:this.message,location:B(b,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(a,b,c){let d=[];for(;!this.isEOF();){let e=this.char();if(123===e){let b=this.parseArgument(a,c);if(b.err)return b;d.push(b.val)}else if(125===e&&a>0)break;else if(35===e&&("plural"===b||"selectordinal"===b)){let a=this.clonePosition();this.bump(),d.push({type:7,location:B(a,this.clonePosition())})}else if(60!==e||this.ignoreTag||47!==this.peek())if(60===e&&!this.ignoreTag&&K(this.peek()||0)){let c=this.parseTag(a,b);if(c.err)return c;d.push(c.val)}else{let c=this.parseLiteral(a,b);if(c.err)return c;d.push(c.val)}else if(!c)return this.error(26,B(this.clonePosition(),this.clonePosition()));else break}return{val:d,err:null}}parseTag(a,b){let c=this.clonePosition();this.bump();let d=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${d}/>`,location:B(c,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,B(c,this.clonePosition()));{let e=this.parseMessage(a+1,b,!0);if(e.err)return e;let f=e.val,g=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,B(c,this.clonePosition()));{if(this.isEOF()||!K(this.char()))return this.error(23,B(g,this.clonePosition()));let a=this.clonePosition();return d!==this.parseTagName()?this.error(26,B(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:d,children:f,location:B(c,this.clonePosition())},err:null}:this.error(23,B(g,this.clonePosition()))}}}parseTagName(){var a;let b=this.offset();for(this.bump();!this.isEOF()&&(45===(a=this.char())||46===a||a>=48&&a<=57||95===a||a>=97&&a<=122||a>=65&&a<=90||183==a||a>=192&&a<=214||a>=216&&a<=246||a>=248&&a<=893||a>=895&&a<=8191||a>=8204&&a<=8205||a>=8255&&a<=8256||a>=8304&&a<=8591||a>=11264&&a<=12271||a>=12289&&a<=55295||a>=63744&&a<=64975||a>=65008&&a<=65533||a>=65536&&a<=983039);)this.bump();return this.message.slice(b,this.offset())}parseLiteral(a,b){let c=this.clonePosition(),d="";for(;;){let c=this.tryParseQuote(b);if(c){d+=c;continue}let e=this.tryParseUnquoted(a,b);if(e){d+=e;continue}let f=this.tryParseLeftAngleBracket();if(f){d+=f;continue}break}return{val:{type:0,value:d,location:B(c,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var a;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(K(a=this.peek()||0)||47===a)?null:(this.bump(),"<")}tryParseQuote(a){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===a||"selectordinal"===a)break;return null;default:return null}this.bump();let b=[this.char()];for(this.bump();!this.isEOF();){let a=this.char();if(39===a)if(39===this.peek())b.push(39),this.bump();else{this.bump();break}else b.push(a);this.bump()}return String.fromCodePoint(...b)}tryParseUnquoted(a,b){if(this.isEOF())return null;let c=this.char();return 60===c||123===c||35===c&&("plural"===b||"selectordinal"===b)||125===c&&a>0?null:(this.bump(),String.fromCodePoint(c))}parseArgument(a,b){let c=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,B(c,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,B(c,this.clonePosition()));let d=this.parseIdentifierIfPossible().value;if(!d)return this.error(3,B(c,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,B(c,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:d,location:B(c,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,B(c,this.clonePosition()));return this.parseArgumentOptions(a,b,d,c);default:return this.error(3,B(c,this.clonePosition()))}}parseIdentifierIfPossible(){var a;let b=this.clonePosition(),c=this.offset(),d=(a=this.message,I.lastIndex=c,I.exec(a)[1]??""),e=c+d.length;return this.bumpTo(e),{value:d,location:B(b,this.clonePosition())}}parseArgumentOptions(a,b,c,d){let e=this.clonePosition(),f=this.parseIdentifierIfPossible().value,g=this.clonePosition();switch(f){case"":return this.error(4,B(e,g));case"number":case"date":case"time":{this.bumpSpace();let a=null;if(this.bumpIf(",")){this.bumpSpace();let b=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;let d=H(c.val);if(0===d.length)return this.error(6,B(this.clonePosition(),this.clonePosition()));a={style:d,styleLocation:B(b,this.clonePosition())}}let b=this.tryParseArgumentClose(d);if(b.err)return b;let e=B(d,this.clonePosition());if(a&&a.style.startsWith("::")){let b=G(a.style.slice(2));if("number"===f){let d=this.parseNumberSkeletonFromString(b,a.styleLocation);if(d.err)return d;return{val:{type:2,value:c,location:e,style:d.val},err:null}}{let d;if(0===b.length)return this.error(10,e);let g=b;return this.locale&&(g=function(a,b){let c="";for(let d=0;d<a.length;d++){let e=a.charAt(d);if("j"===e){let f=0;for(;d+1<a.length&&a.charAt(d+1)===e;)f++,d++;let g=1+(1&f),h=f<2?1:3+(f>>1),i=function(a){let b,c=a.hourCycle;if(void 0===c&&(c=a.getHourCycles?.()[0]??a.hourCycles?.[0]),c)switch(c){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let d=a.language;return"root"!==d&&(b=a.maximize().region),(y[`${d}-${b}`]||y[b||""]||y[d||""]||y[`${d}-001`]||y["001"])[0].charAt(0)}(b);for(("H"==i||"k"==i)&&(h=0);h-- >0;)c+="a";for(;g-- >0;)c=i+c}else"J"===e?c+="H":c+=e}return c}(b,this.locale)),{val:{type:"date"===f?3:4,value:c,location:e,style:{type:1,pattern:g,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?(d={},g.replace(l,a=>{let b=a.length;switch(a[0]){case"G":d.era=4===b?"long":5===b?"narrow":"short";break;case"y":d.year=2===b?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":d.month=["numeric","2-digit","short","long","narrow"][b-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":d.day=["numeric","2-digit"][b-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":d.weekday=4===b?"long":5===b?"narrow":"short";break;case"e":if(b<4)throw RangeError("`e..eee` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][b-3];break;case"c":if(b<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][b-3];break;case"a":d.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":d.hourCycle="h12",d.hour=["numeric","2-digit"][b-1];break;case"H":d.hourCycle="h23",d.hour=["numeric","2-digit"][b-1];break;case"K":d.hourCycle="h11",d.hour=["numeric","2-digit"][b-1];break;case"k":d.hourCycle="h24",d.hour=["numeric","2-digit"][b-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":d.minute=["numeric","2-digit"][b-1];break;case"s":d.second=["numeric","2-digit"][b-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":d.timeZoneName=b<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),d):{}}},err:null}}}return{val:{type:"number"===f?2:"date"===f?3:4,value:c,location:e,style:a?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let e=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,B(e,{...e}));this.bumpSpace();let g=this.parseIdentifierIfPossible(),h=0;if("select"!==f&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(13,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();let a=this.tryParseDecimalInteger(13,14);if(a.err)return a;this.bumpSpace(),g=this.parseIdentifierIfPossible(),h=a.val}let i=this.tryParsePluralOrSelectOptions(a,f,b,g);if(i.err)return i;let j=this.tryParseArgumentClose(d);if(j.err)return j;let k=B(d,this.clonePosition());if("select"===f)return{val:{type:5,value:c,options:F(i.val),location:k},err:null};return{val:{type:6,value:c,options:F(i.val),offset:h,pluralType:"plural"===f?"cardinal":"ordinal",location:k},err:null}}default:return this.error(5,B(e,g))}}tryParseArgumentClose(a){return this.isEOF()||125!==this.char()?this.error(1,B(a,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let a=0,b=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,B(a,this.clonePosition()));this.bump();break}case 123:a+=1,this.bump();break;case 125:if(!(a>0))return{val:this.message.slice(b.offset,this.offset()),err:null};a-=1;break;default:this.bump()}return{val:this.message.slice(b.offset,this.offset()),err:null}}parseNumberSkeletonFromString(a,b){let c=[];try{c=function(a){if(0===a.length)throw Error("Number skeleton cannot be empty");let b=a.split(m).filter(a=>a.length>0),c=[];for(let a of b){let b=a.split("/");if(0===b.length)throw Error("Invalid number skeleton");let[d,...e]=b;for(let a of e)if(0===a.length)throw Error("Invalid number skeleton");c.push({stem:d,options:e})}return c}(a)}catch{return this.error(7,b)}return{val:{type:0,tokens:c,location:b,parsedOptions:this.shouldParseSkeletons?function(a){let b={};for(let c of a){switch(c.stem){case"percent":case"%":b.style="percent";continue;case"%x100":b.style="percent",b.scale=100;continue;case"currency":b.style="currency",b.currency=c.options[0];continue;case"group-off":case",_":b.useGrouping=!1;continue;case"precision-integer":case".":b.maximumFractionDigits=0;continue;case"measure-unit":case"unit":b.style="unit",b.unit=c.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":b.notation="compact",b.compactDisplay="short";continue;case"compact-long":case"KK":b.notation="compact",b.compactDisplay="long";continue;case"scientific":b={...b,notation:"scientific",...c.options.reduce((a,b)=>({...a,...t(b)}),{})};continue;case"engineering":b={...b,notation:"engineering",...c.options.reduce((a,b)=>({...a,...t(b)}),{})};continue;case"notation-simple":b.notation="standard";continue;case"unit-width-narrow":b.currencyDisplay="narrowSymbol",b.unitDisplay="narrow";continue;case"unit-width-short":b.currencyDisplay="code",b.unitDisplay="short";continue;case"unit-width-full-name":b.currencyDisplay="name",b.unitDisplay="long";continue;case"unit-width-iso-code":b.currencyDisplay="symbol";continue;case"scale":b.scale=parseFloat(c.options[0]);continue;case"rounding-mode-floor":b.roundingMode="floor";continue;case"rounding-mode-ceiling":b.roundingMode="ceil";continue;case"rounding-mode-down":b.roundingMode="trunc";continue;case"rounding-mode-up":b.roundingMode="expand";continue;case"rounding-mode-half-even":b.roundingMode="halfEven";continue;case"rounding-mode-half-down":b.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":b.roundingMode="halfExpand";continue;case"integer-width":if(c.options.length>1)throw RangeError("integer-width stems only accept a single optional option");c.options[0].replace(p,function(a,c,d,e,f,g){if(c)b.minimumIntegerDigits=d.length;else if(e&&f)throw Error("We currently do not support maximum integer digits");else if(g)throw Error("We currently do not support exact integer digits");return""});continue}if(q.test(c.stem)){b.minimumIntegerDigits=c.stem.length;continue}if(n.test(c.stem)){if(c.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");c.stem.replace(n,function(a,c,d,e,f,g){return"*"===d?b.minimumFractionDigits=c.length:e&&"#"===e[0]?b.maximumFractionDigits=e.length:f&&g?(b.minimumFractionDigits=f.length,b.maximumFractionDigits=f.length+g.length):(b.minimumFractionDigits=c.length,b.maximumFractionDigits=c.length),""});let a=c.options[0];"w"===a?b={...b,trailingZeroDisplay:"stripIfInteger"}:a&&(b={...b,...r(a)});continue}if(o.test(c.stem)){b={...b,...r(c.stem)};continue}let a=s(c.stem);a&&(b={...b,...a});let d=function(a){let b;if("E"===a[0]&&"E"===a[1]?(b={notation:"engineering"},a=a.slice(2)):"E"===a[0]&&(b={notation:"scientific"},a=a.slice(1)),b){let c=a.slice(0,2);if("+!"===c?(b.signDisplay="always",a=a.slice(2)):"+?"===c&&(b.signDisplay="exceptZero",a=a.slice(2)),!q.test(a))throw Error("Malformed concise eng/scientific notation");b.minimumIntegerDigits=a.length}return b}(c.stem);d&&(b={...b,...d})}return b}(c):{}},err:null}}tryParsePluralOrSelectOptions(a,b,c,d){let e=!1,f=[],g=new Set,{value:h,location:i}=d;for(;;){if(0===h.length){let a=this.clonePosition();if("select"!==b&&this.bumpIf("=")){let b=this.tryParseDecimalInteger(16,19);if(b.err)return b;i=B(a,this.clonePosition()),h=this.message.slice(a.offset,this.offset())}else break}if(g.has(h))return this.error("select"===b?21:20,i);"other"===h&&(e=!0),this.bumpSpace();let d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===b?17:18,B(this.clonePosition(),this.clonePosition()));let j=this.parseMessage(a+1,b,c);if(j.err)return j;let k=this.tryParseArgumentClose(d);if(k.err)return k;f.push([h,{value:j.val,location:B(d,this.clonePosition())}]),g.add(h),this.bumpSpace(),{value:h,location:i}=this.parseIdentifierIfPossible()}return 0===f.length?this.error("select"===b?15:16,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!e?this.error(22,B(this.clonePosition(),this.clonePosition())):{val:f,err:null}}tryParseDecimalInteger(a,b){let c=1,d=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(c=-1);let e=!1,f=0;for(;!this.isEOF();){let a=this.char();if(a>=48&&a<=57)e=!0,f=10*f+(a-48),this.bump();else break}let g=B(d,this.clonePosition());return e?Number.isSafeInteger(f*=c)?{val:f,err:null}:this.error(b,g):this.error(a,g)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let a=this.position.offset;if(a>=this.message.length)throw Error("out of bound");let b=this.message.codePointAt(a);if(void 0===b)throw Error(`Offset ${a} is at invalid UTF-16 code unit boundary`);return b}error(a,b){return{val:null,err:{kind:a,message:this.message,location:b}}}bump(){if(this.isEOF())return;let a=this.char();10===a?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=a<65536?1:2)}bumpIf(a){if(this.message.startsWith(a,this.offset())){for(let b=0;b<a.length;b++)this.bump();return!0}return!1}bumpUntil(a){let b=this.offset(),c=this.message.indexOf(a,b);return c>=0?(this.bumpTo(c),!0):(this.bumpTo(this.message.length),!1)}bumpTo(a){if(this.offset()>a)throw Error(`targetOffset ${a} must be greater than or equal to the current offset ${this.offset()}`);for(a=Math.min(a,this.message.length);;){let b=this.offset();if(b===a)break;if(b>a)throw Error(`targetOffset ${a} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var a;!this.isEOF()&&((a=this.char())>=9&&a<=13||32===a||133===a||a>=8206&&a<=8207||8232===a||8233===a);)this.bump()}peek(){if(this.isEOF())return null;let a=this.char(),b=this.offset();return this.message.charCodeAt(b+(a>=65536?2:1))??null}};function K(a){return a>=97&&a<=122||a>=65&&a<=90}function L(a,b={}){let c=new J(a,b={shouldParseSkeletons:!0,requiresOtherClause:!0,...b}).parse();if(c.err){let a=SyntaxError(u[c.err.kind]);throw a.location=c.err.location,a.originalMessage=c.err.message,a}return b?.captureLocation||function a(b){b.forEach(b=>{if(delete b.location,5===b.type||6===b.type)for(let c in b.options)delete b.options[c].location,a(b.options[c].value);else 2===b.type&&v(b.style)||(3===b.type||4===b.type)&&w(b.style)?delete b.style.location:8===b.type&&a(b.children)})}(c.val),c.val}var M=class extends Error{constructor(a,b,c){super(a),this.code=b,this.originalMessage=c}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},N=class extends M{constructor(a,b,c,d){super(`Invalid values for "${a}": "${b}". Options are "${Object.keys(c).join('", "')}"`,"INVALID_VALUE",d)}},O=class extends M{constructor(a,b,c){super(`Value for "${a}" must be of type ${b}`,"INVALID_VALUE",c)}},P=class extends M{constructor(a,b){super(`The intl string context variable "${a}" was not provided to the string "${b}"`,"MISSING_VALUE",b)}};function Q(a){return{create:()=>({get:b=>a[b],set(b,c){a[b]=c}})}}var R=class a{constructor(b,c=a.defaultLocale,d,f){var g;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=a=>{let b=this.formatToParts(a);if(1===b.length)return b[0].value;let c=b.reduce((a,b)=>(a.length&&0===b.type&&"string"==typeof a[a.length-1]?a[a.length-1]+=b.value:a.push(b.value),a),[]);return c.length<=1?c[0]||"":c},this.formatToParts=a=>(function a(b,c,d,e,f,g,h){if(1===b.length&&0===b[0].type)return[{type:0,value:b[0].value}];let i=[];for(let j of b){if(0===j.type){i.push({type:0,value:j.value});continue}if(7===j.type){"number"==typeof g&&i.push({type:0,value:d.getNumberFormat(c).format(g)});continue}let{value:b}=j;if(!(f&&b in f))throw new P(b,h);let k=f[b];if(1===j.type){k&&"string"!=typeof k&&"number"!=typeof k&&"bigint"!=typeof k||(k="string"==typeof k||"number"==typeof k||"bigint"==typeof k?String(k):""),i.push({type:+("string"!=typeof k),value:k});continue}if(3===j.type){let a="string"==typeof j.style?e.date[j.style]:w(j.style)?j.style.parsedOptions:void 0;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(4===j.type){let a="string"==typeof j.style?e.time[j.style]:w(j.style)?j.style.parsedOptions:e.time.medium;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(2===j.type){let a="string"==typeof j.style?e.number[j.style]:v(j.style)?j.style.parsedOptions:void 0;if(a&&a.scale){let b=a.scale||1;if("bigint"==typeof k){if(!Number.isInteger(b))throw TypeError(`Cannot apply fractional scale ${b} to bigint value. Scale must be an integer when formatting bigint.`);k*=BigInt(b)}else k*=b}i.push({type:0,value:d.getNumberFormat(c,a).format(k)});continue}if(8===j.type){let{children:b,value:k}=j,l=f[k];if("function"!=typeof l)throw new O(k,"function",h);let m=l(a(b,c,d,e,f,g).map(a=>a.value));Array.isArray(m)||(m=[m]),i.push(...m.map(a=>({type:+("string"!=typeof a),value:a})))}if(5===j.type){let b=k,g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other;if(!g)throw new N(j.value,k,Object.keys(j.options),h);i.push(...a(g.value,c,d,e,f));continue}if(6===j.type){let b=`=${k}`,g=Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0;if(!g){if(!Intl.PluralRules)throw new M(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,"MISSING_INTL_API",h);let a="bigint"==typeof k?Number(k):k,b=d.getPluralRules(c,{type:j.pluralType}).select(a-(j.offset||0));g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other}if(!g)throw new N(j.value,k,Object.keys(j.options),h);let l="bigint"==typeof k?Number(k):k;i.push(...a(g.value,c,d,e,f,l-(j.offset||0)));continue}}return i.length<2?i:i.reduce((a,b)=>{let c=a[a.length-1];return c&&0===c.type&&0===b.type?c.value+=b.value:a.push(b),a},[])})(this.ast,this.locales,this.formatters,this.formats,a,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=c,this.resolvedLocale=a.resolveLocale(c),"string"==typeof b){if(this.message=b,!a.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...c}=f||{};this.ast=a.__parse(b,{...c,locale:this.resolvedLocale})}else this.ast=b;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(g=a.formats,d?Object.keys(g).reduce((a,b)=>{var c,e;return a[b]=(c=g[b],(e=d[b])?{...c,...e,...Object.keys(c).reduce((a,b)=>(a[b]={...c[b],...e[b]},a),{})}:c),a},{...g}):g),this.formatters=f&&f.formatters||function(a={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:e((...a)=>new Intl.NumberFormat(...a),{cache:Q(a.number),strategy:k.variadic}),getDateTimeFormat:e((...a)=>new Intl.DateTimeFormat(...a),{cache:Q(a.dateTime),strategy:k.variadic}),getPluralRules:e((...a)=>new Intl.PluralRules(...a),{cache:Q(a.pluralRules),strategy:k.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),a.memoizedDefaultLocale}static{this.resolveLocale=a=>{if(void 0===Intl.Locale)return;let b=Intl.NumberFormat.supportedLocalesOf(a);return new Intl.Locale(b.length>0?b[0]:"string"==typeof a?a:a[0])}}static{this.__parse=L}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};class S extends Error{constructor(a,b){let c=a;b&&(c+=": "+b),super(c),this.code=a,b&&(this.originalMessage=b)}}var T=((c=T||{}).MISSING_MESSAGE="MISSING_MESSAGE",c.MISSING_FORMAT="MISSING_FORMAT",c.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",c.INSUFFICIENT_PATH="INSUFFICIENT_PATH",c.INVALID_MESSAGE="INVALID_MESSAGE",c.INVALID_KEY="INVALID_KEY",c.FORMATTING_ERROR="FORMATTING_ERROR",c);function U(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function V(a,b){return e(a,{cache:{create:()=>({get:a=>b[a],set(a,c){b[a]=c}})},strategy:k.variadic})}function W(a,b){return V((...b)=>new a(...b),b)}function X(a){return{getDateTimeFormat:W(Intl.DateTimeFormat,a.dateTime),getNumberFormat:W(Intl.NumberFormat,a.number),getPluralRules:W(Intl.PluralRules,a.pluralRules),getRelativeTimeFormat:W(Intl.RelativeTimeFormat,a.relativeTime),getListFormat:W(Intl.ListFormat,a.list),getDisplayNames:W(Intl.DisplayNames,a.displayNames)}}function Y(...[a,b,c,e]){let f;if(Array.isArray(b))throw new S(T.INVALID_MESSAGE,void 0);if("object"==typeof b)throw new S(T.INSUFFICIENT_PATH,void 0);if("string"==typeof b){let a=c||/'[{}<#|']/.test(b)?void 0:b;if(a)return a}let{cache:g,formats:h,formatters:i,globalFormats:j,locale:k,timeZone:l}=e;i.getMessageFormat||(i.getMessageFormat=V((...a)=>new R(a[0],a[1],a[2],{formatters:i,...a[3]}),g.message));try{let a,c,d,e;f=i.getMessageFormat(b,k,(a=R.formats.date,c=R.formats.time,d={...j?.dateTime,...h?.dateTime},e={date:{...a,...d},time:{...c,...d},number:{...j?.number,...h?.number}},l&&["date","time"].forEach(a=>{let b=e[a];for(let[a,c]of Object.entries(b))b[a]={timeZone:l,...c}}),e),{formatters:{...i,getDateTimeFormat:(a,b)=>i.getDateTimeFormat(a,{...b,timeZone:b?.timeZone??l})}})}catch(a){throw new S(T.INVALID_MESSAGE,void 0)}let m=f.format(c);return(0,d.isValidElement)(m)||Array.isArray(m)||"string"==typeof m?m:String(m)}function Z(...a){return a.filter(Boolean).join(".")}function $(a){return Z(a.namespace,a.key)}function _(a){console.error(a)}function aa(a,b,c,d){let e=Z(d,c);if(!b)throw Error(e);let f=b;return c.split(".").forEach(b=>{let c=f[b];if(null==b||null==c)throw Error(e+` (${a})`);f=c}),f}a.s(["I",0,S,"a",0,T,"b",0,U,"c",0,X,"m",0,V],18845),Y.raw=!0;let ab={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};function ac({formats:a,getMessageFallback:b,messages:c,onError:d,...e}){return{...e,formats:a||void 0,messages:c||void 0,onError:d||_,getMessageFallback:b||$}}a.s(["a",0,function(a){let b=function(a,b,c){try{if(!b)throw Error(void 0);let d=c?aa(a,b,c):b;if(!d)throw Error(c);return d}catch(a){return new S(T.MISSING_MESSAGE,a.message)}}(a.locale,a.messages,a.namespace);return function({cache:a,formats:b,formatters:c,getMessageFallback:e=$,locale:f,messagesOrError:g,namespace:h,onError:i,timeZone:j}){let k=g instanceof S;function l(a,b,c,d){let f=new S(b,c);return i(f),d??e({error:f,key:a,namespace:h})}function m(m,n,o,p){let q;if(k){if(!p)return i(g),e({error:g,key:m,namespace:h});q=p}else try{q=aa(f,g,m,h)}catch(a){if(!p)return l(m,T.MISSING_MESSAGE,a.message,p);q=p}try{let e,g=Z(h,m);return Y(g,q,n?(e={},Object.keys(n).forEach(a=>{let b,c=0,f=n[a];b="function"==typeof f?b=>{let e=f(b);return(0,d.isValidElement)(e)?(0,d.cloneElement)(e,{key:a+c++}):e}:f,e[a]=b}),e):n,{cache:a,formatters:c,globalFormats:b,formats:o,locale:f,timeZone:j})}catch(c){let a,b;return c instanceof S?(a=c.code,b=c.originalMessage):(a=T.FORMATTING_ERROR,b=c.message),l(m,a,b,p)}}function n(a,b,c,d){let e=m(a,b,c,d);return"string"!=typeof e?l(a,T.INVALID_MESSAGE,void 0):e}return n.rich=m,n.markup=(a,b,c,d)=>m(a,b,c,d),n.raw=a=>{if(k)return i(g),e({error:g,key:a,namespace:h});try{return aa(f,g,a,h)}catch(b){return l(a,T.MISSING_MESSAGE,b.message)}},n.has=a=>{if(k)return!1;try{return aa(f,g,a,h),!0}catch{return!1}},n}({...a,messagesOrError:b})},"b",0,_,"c",0,function(a){let{_cache:b=U(),_formatters:c=X(b),formats:d,locale:e,onError:f=_,timeZone:g}=a;function h(a){return a?.timeZone||(g?a={...a,timeZone:g}:f(new S(T.ENVIRONMENT_FALLBACK,void 0))),a}function i(a,b,c,d,e){let g;try{g=function(a,b,c){let d;if("string"==typeof b){if(!(d=a?.[b])){let a=new S(T.MISSING_FORMAT,void 0);throw f(a),a}}else d=b;return c&&(d={...d,...c}),d}(c,a,b)}catch{return e()}try{return d(g)}catch(a){return f(new S(T.FORMATTING_ERROR,a.message)),e()}}function j(a,b,f){return i(b,f,d?.dateTime,b=>(b=h(b),c.getDateTimeFormat(e,b).format(a)),()=>String(a))}function k(){return a.now?a.now:(f(new S(T.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:j,number:function(a,b,f){return i(b,f,d?.number,b=>c.getNumberFormat(e,b).format(a),()=>String(a))},relativeTime:function(a,b){try{var d;let f,g,h,i={};b instanceof Date||"number"==typeof b?f=new Date(b):b&&(f=null!=b.now?new Date(b.now):k(),g=b.unit,i.style=b.style,i.numberingSystem=b.numberingSystem),f||(f=k());let j=(new Date(a).getTime()-f.getTime())/1e3;g||(g=(h=Math.abs(j))<60?"second":h<3600?"minute":h<86400?"hour":h<604800?"day":h<2628e3?"week":h<31536e3?"month":"year"),i.numeric="second"===g?"auto":"always";let l=(d=g,Math.round(j/ab[d]));return c.getRelativeTimeFormat(e,i).format(l,g)}catch(b){return f(new S(T.FORMATTING_ERROR,b.message)),String(a)}},list:function(a,b,f){let g=[],h=new Map,j=0;for(let b of a){let a;"object"==typeof b?(a=String(j),h.set(a,b)):a=String(b),g.push(a),j++}return i(b,f,d?.list,a=>{let b=c.getListFormat(e,a).formatToParts(g).map(a=>"literal"===a.type?a.value:h.get(a.value)||a.value);return h.size>0?b:b.join("")},()=>String(a))},dateTimeRange:function(a,b,f,g){return i(f,g,d?.dateTime,d=>(d=h(d),c.getDateTimeFormat(e,d).formatRange(a,b)),()=>[j(a),j(b)].join(" – "))},displayName:function(a,b,f){return i(b,f,d?.displayName,b=>c.getDisplayNames(e,b).of(a),()=>a)}}},"d",0,$,"i",0,ac,"r",0,function(a,b){return a===b?void 0:a.slice((b+".").length)}],36772),a.s(["f",0,ac],22918),a.s(["f",0,X],20276),a.s(["f",0,U],13852)}];
4
4