zudoku 0.0.0-efc60ba6 → 0.0.0-efe3cd16

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 (893) hide show
  1. package/README.md +32 -12
  2. package/cli.js +1 -0
  3. package/dist/app/ZuploBuildConfig.d.ts +1 -1
  4. package/dist/app/ZuploBuildConfig.js +1 -1
  5. package/dist/app/ZuploBuildConfig.js.map +1 -1
  6. package/dist/app/demo.js +1 -1
  7. package/dist/app/entry.client.js +6 -5
  8. package/dist/app/entry.client.js.map +1 -1
  9. package/dist/app/entry.server.js +3 -3
  10. package/dist/app/entry.server.js.map +1 -1
  11. package/dist/app/env.js +6 -6
  12. package/dist/app/env.js.map +1 -1
  13. package/dist/app/main.js +12 -4
  14. package/dist/app/main.js.map +1 -1
  15. package/dist/app/standalone.js +5 -2
  16. package/dist/app/standalone.js.map +1 -1
  17. package/dist/cli/cli.js +2 -1
  18. package/dist/cli/cli.js.map +1 -1
  19. package/dist/cli/cmds/build.d.ts +1 -1
  20. package/dist/cli/cmds/dev.d.ts +1 -1
  21. package/dist/cli/cmds/preview.d.ts +1 -1
  22. package/dist/cli/common/analytics/lib.js +1 -1
  23. package/dist/cli/common/analytics/lib.js.map +1 -1
  24. package/dist/cli/common/logger.js +0 -1
  25. package/dist/cli/common/logger.js.map +1 -1
  26. package/dist/cli/common/machine-id/lib.js +3 -2
  27. package/dist/cli/common/machine-id/lib.js.map +1 -1
  28. package/dist/cli/common/outdated.js +2 -1
  29. package/dist/cli/common/outdated.js.map +1 -1
  30. package/dist/cli/common/output.js +2 -3
  31. package/dist/cli/common/output.js.map +1 -1
  32. package/dist/cli/common/utils/box.js +2 -2
  33. package/dist/cli/common/utils/box.js.map +1 -1
  34. package/dist/cli/common/validators/lib.js +1 -1
  35. package/dist/cli/common/validators/lib.js.map +1 -1
  36. package/dist/cli/dev/handler.js +0 -4
  37. package/dist/cli/dev/handler.js.map +1 -1
  38. package/dist/codegen.js +2 -2
  39. package/dist/codegen.js.map +1 -1
  40. package/dist/config/loader.js.map +1 -1
  41. package/dist/config/validators/BuildSchema.d.ts +1 -1
  42. package/dist/config/validators/BuildSchema.js +3 -3
  43. package/dist/config/validators/BuildSchema.js.map +1 -1
  44. package/dist/config/validators/InputNavigationSchema.d.ts +55 -29
  45. package/dist/config/validators/InputNavigationSchema.js +5 -2
  46. package/dist/config/validators/InputNavigationSchema.js.map +1 -1
  47. package/dist/config/validators/InputNavigationSchema.test-d.js +2 -1
  48. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -1
  49. package/dist/config/validators/NavigationSchema.d.ts +1 -1
  50. package/dist/config/validators/NavigationSchema.js +2 -2
  51. package/dist/config/validators/NavigationSchema.js.map +1 -1
  52. package/dist/config/validators/ProtectedRoutesSchema.d.ts +6 -5
  53. package/dist/config/validators/ProtectedRoutesSchema.js +5 -14
  54. package/dist/config/validators/ProtectedRoutesSchema.js.map +1 -1
  55. package/dist/config/validators/auth.d.ts +2 -2
  56. package/dist/config/validators/auth.js +1 -1
  57. package/dist/config/validators/auth.js.map +1 -1
  58. package/dist/config/validators/icon-types.d.ts +1 -1
  59. package/dist/config/validators/icon-types.js +4 -0
  60. package/dist/config/validators/icon-types.js.map +1 -1
  61. package/dist/config/validators/validate.d.ts +3 -14
  62. package/dist/config/validators/validate.js +4 -3
  63. package/dist/config/validators/validate.js.map +1 -1
  64. package/dist/config/validators/validate.test.js +1 -2
  65. package/dist/config/validators/validate.test.js.map +1 -1
  66. package/dist/flat-config.d.ts +331 -0
  67. package/dist/index.d.ts +6 -5
  68. package/dist/index.js +2 -1
  69. package/dist/index.js.map +1 -1
  70. package/dist/lib/MissingIcon.d.ts +1 -1
  71. package/dist/lib/MissingIcon.js.map +1 -1
  72. package/dist/lib/assets/language-icons/csharp.d.ts +3 -0
  73. package/dist/lib/assets/language-icons/csharp.js +4 -0
  74. package/dist/lib/assets/language-icons/csharp.js.map +1 -0
  75. package/dist/lib/assets/language-icons/css.d.ts +3 -0
  76. package/dist/lib/assets/language-icons/css.js +4 -0
  77. package/dist/lib/assets/language-icons/css.js.map +1 -0
  78. package/dist/lib/assets/language-icons/go.d.ts +3 -0
  79. package/dist/lib/assets/language-icons/go.js +4 -0
  80. package/dist/lib/assets/language-icons/go.js.map +1 -0
  81. package/dist/lib/assets/language-icons/graphql.d.ts +3 -0
  82. package/dist/lib/assets/language-icons/graphql.js +4 -0
  83. package/dist/lib/assets/language-icons/graphql.js.map +1 -0
  84. package/dist/lib/assets/language-icons/html.d.ts +3 -0
  85. package/dist/lib/assets/language-icons/html.js +4 -0
  86. package/dist/lib/assets/language-icons/html.js.map +1 -0
  87. package/dist/lib/assets/language-icons/java.d.ts +3 -0
  88. package/dist/lib/assets/language-icons/java.js +4 -0
  89. package/dist/lib/assets/language-icons/java.js.map +1 -0
  90. package/dist/lib/assets/language-icons/javascript.d.ts +3 -0
  91. package/dist/lib/assets/language-icons/javascript.js +4 -0
  92. package/dist/lib/assets/language-icons/javascript.js.map +1 -0
  93. package/dist/lib/assets/language-icons/json.d.ts +3 -0
  94. package/dist/lib/assets/language-icons/json.js +4 -0
  95. package/dist/lib/assets/language-icons/json.js.map +1 -0
  96. package/dist/lib/assets/language-icons/kotlin.d.ts +3 -0
  97. package/dist/lib/assets/language-icons/kotlin.js +4 -0
  98. package/dist/lib/assets/language-icons/kotlin.js.map +1 -0
  99. package/dist/lib/assets/language-icons/markdown.d.ts +3 -0
  100. package/dist/lib/assets/language-icons/markdown.js +4 -0
  101. package/dist/lib/assets/language-icons/markdown.js.map +1 -0
  102. package/dist/lib/assets/language-icons/mdx.d.ts +3 -0
  103. package/dist/lib/assets/language-icons/mdx.js +4 -0
  104. package/dist/lib/assets/language-icons/mdx.js.map +1 -0
  105. package/dist/lib/assets/language-icons/objectivec.d.ts +3 -0
  106. package/dist/lib/assets/language-icons/objectivec.js +4 -0
  107. package/dist/lib/assets/language-icons/objectivec.js.map +1 -0
  108. package/dist/lib/assets/language-icons/php.d.ts +3 -0
  109. package/dist/lib/assets/language-icons/php.js +4 -0
  110. package/dist/lib/assets/language-icons/php.js.map +1 -0
  111. package/dist/lib/assets/language-icons/python.d.ts +3 -0
  112. package/dist/lib/assets/language-icons/python.js +4 -0
  113. package/dist/lib/assets/language-icons/python.js.map +1 -0
  114. package/dist/lib/assets/language-icons/react.d.ts +3 -0
  115. package/dist/lib/assets/language-icons/react.js +4 -0
  116. package/dist/lib/assets/language-icons/react.js.map +1 -0
  117. package/dist/lib/assets/language-icons/ruby.d.ts +3 -0
  118. package/dist/lib/assets/language-icons/ruby.js +4 -0
  119. package/dist/lib/assets/language-icons/ruby.js.map +1 -0
  120. package/dist/lib/assets/language-icons/rust.d.ts +3 -0
  121. package/dist/lib/assets/language-icons/rust.js +4 -0
  122. package/dist/lib/assets/language-icons/rust.js.map +1 -0
  123. package/dist/lib/assets/language-icons/shell.d.ts +3 -0
  124. package/dist/lib/assets/language-icons/shell.js +4 -0
  125. package/dist/lib/assets/language-icons/shell.js.map +1 -0
  126. package/dist/lib/assets/language-icons/swift.d.ts +3 -0
  127. package/dist/lib/assets/language-icons/swift.js +4 -0
  128. package/dist/lib/assets/language-icons/swift.js.map +1 -0
  129. package/dist/lib/assets/language-icons/toml.d.ts +3 -0
  130. package/dist/lib/assets/language-icons/toml.js +4 -0
  131. package/dist/lib/assets/language-icons/toml.js.map +1 -0
  132. package/dist/lib/assets/language-icons/typescript.d.ts +3 -0
  133. package/dist/lib/assets/language-icons/typescript.js +4 -0
  134. package/dist/lib/assets/language-icons/typescript.js.map +1 -0
  135. package/dist/lib/assets/language-icons/xml.d.ts +3 -0
  136. package/dist/lib/assets/language-icons/xml.js +4 -0
  137. package/dist/lib/assets/language-icons/xml.js.map +1 -0
  138. package/dist/lib/assets/language-icons/yaml.d.ts +3 -0
  139. package/dist/lib/assets/language-icons/yaml.js +4 -0
  140. package/dist/lib/assets/language-icons/yaml.js.map +1 -0
  141. package/dist/lib/auth/issuer.test.js +1 -0
  142. package/dist/lib/auth/issuer.test.js.map +1 -1
  143. package/dist/lib/authentication/AuthenticationPlugin.d.ts +1 -1
  144. package/dist/lib/authentication/authentication.d.ts +1 -3
  145. package/dist/lib/authentication/components/OAuthErrorPage.d.ts +1 -1
  146. package/dist/lib/authentication/components/OAuthErrorPage.js.map +1 -1
  147. package/dist/lib/authentication/components/SignOut.js +1 -1
  148. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  149. package/dist/lib/authentication/providers/auth0.d.ts +2 -2
  150. package/dist/lib/authentication/providers/auth0.js +1 -1
  151. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  152. package/dist/lib/authentication/providers/azureb2c.d.ts +2 -2
  153. package/dist/lib/authentication/providers/azureb2c.js.map +1 -1
  154. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  155. package/dist/lib/authentication/providers/openid.d.ts +2 -2
  156. package/dist/lib/authentication/providers/openid.js.map +1 -1
  157. package/dist/lib/authentication/providers/supabase.d.ts +2 -2
  158. package/dist/lib/authentication/providers/supabase.js +1 -0
  159. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  160. package/dist/lib/authentication/use-broadcast/shared.d.ts +1 -1
  161. package/dist/lib/authentication/use-broadcast/shared.js +3 -3
  162. package/dist/lib/authentication/use-broadcast/shared.js.map +1 -1
  163. package/dist/lib/authentication/use-broadcast/useBroadcast.js +2 -2
  164. package/dist/lib/authentication/use-broadcast/useBroadcast.js.map +1 -1
  165. package/dist/lib/components/Autocomplete.js.map +1 -1
  166. package/dist/lib/components/Bootstrap.js.map +1 -1
  167. package/dist/lib/components/BuildCheck.js +9 -1
  168. package/dist/lib/components/BuildCheck.js.map +1 -1
  169. package/dist/lib/components/Header.js +2 -4
  170. package/dist/lib/components/Header.js.map +1 -1
  171. package/dist/lib/components/Heading.d.ts +1 -1
  172. package/dist/lib/components/Heading.js +1 -1
  173. package/dist/lib/components/Heading.js.map +1 -1
  174. package/dist/lib/components/LanguageIcon.d.ts +3 -0
  175. package/dist/lib/components/LanguageIcon.js +118 -0
  176. package/dist/lib/components/LanguageIcon.js.map +1 -0
  177. package/dist/lib/components/Layout.js +4 -7
  178. package/dist/lib/components/Layout.js.map +1 -1
  179. package/dist/lib/components/Markdown.js +2 -2
  180. package/dist/lib/components/Markdown.js.map +1 -1
  181. package/dist/lib/components/Meta.d.ts +2 -0
  182. package/dist/lib/components/Meta.js +11 -0
  183. package/dist/lib/components/Meta.js.map +1 -0
  184. package/dist/lib/components/MobileTopNavigation.js +4 -4
  185. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  186. package/dist/lib/components/PathRenderer.js +1 -1
  187. package/dist/lib/components/PathRenderer.js.map +1 -1
  188. package/dist/lib/components/Search.js +1 -1
  189. package/dist/lib/components/Search.js.map +1 -1
  190. package/dist/lib/components/Slot.js.map +1 -1
  191. package/dist/lib/components/Slot.test.js +7 -3
  192. package/dist/lib/components/Slot.test.js.map +1 -1
  193. package/dist/lib/components/TopNavigation.d.ts +1 -1
  194. package/dist/lib/components/TopNavigation.js +2 -2
  195. package/dist/lib/components/TopNavigation.js.map +1 -1
  196. package/dist/lib/components/Zudoku.js +2 -2
  197. package/dist/lib/components/Zudoku.js.map +1 -1
  198. package/dist/lib/components/context/ComponentsContext.js.map +1 -1
  199. package/dist/lib/components/context/RouterEventsEmitter.js.map +1 -1
  200. package/dist/lib/components/context/SlotProvider.js.map +1 -1
  201. package/dist/lib/components/context/ViewportAnchorContext.js +1 -1
  202. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  203. package/dist/lib/components/context/ZudokuContext.d.ts +1 -1
  204. package/dist/lib/components/context/ZudokuContext.js +1 -1
  205. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  206. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  207. package/dist/lib/components/index.d.ts +11 -28
  208. package/dist/lib/components/index.js +3 -16
  209. package/dist/lib/components/index.js.map +1 -1
  210. package/dist/lib/components/navigation/NavigationCategory.js +6 -1
  211. package/dist/lib/components/navigation/NavigationCategory.js.map +1 -1
  212. package/dist/lib/components/navigation/NavigationItem.js +5 -4
  213. package/dist/lib/components/navigation/NavigationItem.js.map +1 -1
  214. package/dist/lib/components/navigation/NavigationWrapper.js.map +1 -1
  215. package/dist/lib/components/navigation/Toc.js.map +1 -1
  216. package/dist/lib/components/navigation/ZudokuLogo.d.ts +1 -1
  217. package/dist/lib/components/navigation/utils.d.ts +3 -3
  218. package/dist/lib/components/navigation/utils.js +12 -12
  219. package/dist/lib/components/navigation/utils.js.map +1 -1
  220. package/dist/lib/core/ZudokuContext.d.ts +4 -2
  221. package/dist/lib/core/ZudokuContext.js +14 -3
  222. package/dist/lib/core/ZudokuContext.js.map +1 -1
  223. package/dist/lib/core/__internal.d.ts +37 -0
  224. package/dist/lib/core/__internal.js +26 -0
  225. package/dist/lib/core/__internal.js.map +1 -0
  226. package/dist/lib/core/router.d.ts +1 -0
  227. package/dist/lib/core/router.js +2 -0
  228. package/dist/lib/core/router.js.map +1 -0
  229. package/dist/lib/errors/ErrorAlert.js +0 -1
  230. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  231. package/dist/lib/errors/TopLevelError.d.ts +2 -2
  232. package/dist/lib/errors/TopLevelError.js +1 -2
  233. package/dist/lib/errors/TopLevelError.js.map +1 -1
  234. package/dist/lib/oas/graphql/circular.js +2 -2
  235. package/dist/lib/oas/graphql/circular.js.map +1 -1
  236. package/dist/lib/oas/graphql/index.js +2 -1
  237. package/dist/lib/oas/graphql/index.js.map +1 -1
  238. package/dist/lib/oas/parser/dereference/index.js +2 -1
  239. package/dist/lib/oas/parser/dereference/index.js.map +1 -1
  240. package/dist/lib/oas/parser/dereference/resolveRef.js +3 -3
  241. package/dist/lib/oas/parser/dereference/resolveRef.js.map +1 -1
  242. package/dist/lib/oas/parser/index.js +1 -1
  243. package/dist/lib/oas/parser/index.js.map +1 -1
  244. package/dist/lib/oas/parser/upgrade/index.js +2 -1
  245. package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
  246. package/dist/lib/plugins/api-catalog/Catalog.js +7 -1
  247. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  248. package/dist/lib/plugins/api-keys/CreateApiKey.d.ts +1 -1
  249. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.d.ts +11 -0
  250. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js +9 -0
  251. package/dist/lib/plugins/api-keys/CreateApiKeyDialog.js.map +1 -0
  252. package/dist/lib/plugins/api-keys/SettingsApiKeys.d.ts +1 -1
  253. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +9 -13
  254. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  255. package/dist/lib/plugins/api-keys/index.d.ts +3 -3
  256. package/dist/lib/plugins/api-keys/index.js +1 -1
  257. package/dist/lib/plugins/api-keys/index.js.map +1 -1
  258. package/dist/lib/plugins/custom-pages/index.d.ts +1 -1
  259. package/dist/lib/plugins/custom-pages/index.js +3 -0
  260. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  261. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  262. package/dist/lib/plugins/markdown/MdxPage.js +4 -4
  263. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  264. package/dist/lib/plugins/markdown/index.d.ts +1 -1
  265. package/dist/lib/plugins/openapi/ColorizedParam.js +4 -1
  266. package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
  267. package/dist/lib/plugins/openapi/Endpoint.js +2 -2
  268. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  269. package/dist/lib/plugins/openapi/OasProvider.d.ts +1 -1
  270. package/dist/lib/plugins/openapi/OasProvider.js +1 -0
  271. package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
  272. package/dist/lib/plugins/openapi/OperationList.d.ts +0 -2
  273. package/dist/lib/plugins/openapi/OperationList.js +11 -5
  274. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  275. package/dist/lib/plugins/openapi/OperationListItem.d.ts +1 -1
  276. package/dist/lib/plugins/openapi/OperationListItem.js +6 -4
  277. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  278. package/dist/lib/plugins/openapi/ParamInfos.d.ts +1 -1
  279. package/dist/lib/plugins/openapi/ParamInfos.js +11 -9
  280. package/dist/lib/plugins/openapi/ParamInfos.js.map +1 -1
  281. package/dist/lib/plugins/openapi/ParameterList.d.ts +2 -2
  282. package/dist/lib/plugins/openapi/ParameterList.js +1 -1
  283. package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
  284. package/dist/lib/plugins/openapi/ParameterListItem.d.ts +2 -3
  285. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  286. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  287. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +3 -4
  288. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +3 -3
  289. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
  290. package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +2 -2
  291. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  292. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  293. package/dist/lib/plugins/openapi/Sidecar.d.ts +2 -2
  294. package/dist/lib/plugins/openapi/Sidecar.js +4 -2
  295. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  296. package/dist/lib/plugins/openapi/SidecarExamples.d.ts +2 -4
  297. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  298. package/dist/lib/plugins/openapi/StaggeredRender.d.ts +1 -1
  299. package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +1 -1
  300. package/dist/lib/plugins/openapi/client/createServer.js +1 -2
  301. package/dist/lib/plugins/openapi/client/createServer.js.map +1 -1
  302. package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -1
  303. package/dist/lib/plugins/openapi/context.d.ts +1 -1
  304. package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +1 -1
  305. package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
  306. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  307. package/dist/lib/plugins/openapi/graphql/gql.js +1 -2
  308. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  309. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +1 -0
  310. package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
  311. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  312. package/dist/lib/plugins/openapi/index.d.ts +2 -2
  313. package/dist/lib/plugins/openapi/index.js +2 -1
  314. package/dist/lib/plugins/openapi/index.js.map +1 -1
  315. package/dist/lib/plugins/openapi/interfaces.d.ts +4 -4
  316. package/dist/lib/plugins/openapi/playground/BodyPanel.d.ts +2 -2
  317. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -1
  318. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.d.ts +3 -3
  319. package/dist/lib/plugins/openapi/playground/Headers.d.ts +1 -1
  320. package/dist/lib/plugins/openapi/playground/IdentityDialog.d.ts +1 -1
  321. package/dist/lib/plugins/openapi/playground/IdentitySelector.d.ts +1 -1
  322. package/dist/lib/plugins/openapi/playground/Playground.d.ts +2 -2
  323. package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
  324. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  325. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +1 -1
  326. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +3 -1
  327. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -1
  328. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +2 -2
  329. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.d.ts +1 -1
  330. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js +1 -1
  331. package/dist/lib/plugins/openapi/playground/result-panel/convertToTypes.js.map +1 -1
  332. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js +1 -0
  333. package/dist/lib/plugins/openapi/processors/removeExtensions.test.js.map +1 -1
  334. package/dist/lib/plugins/openapi/processors/removeParameters.test.js +1 -0
  335. package/dist/lib/plugins/openapi/processors/removeParameters.test.js.map +1 -1
  336. package/dist/lib/plugins/openapi/processors/traverse.d.ts +1 -1
  337. package/dist/lib/plugins/openapi/processors/traverse.js.map +1 -1
  338. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +5 -0
  339. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +7 -0
  340. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +1 -0
  341. package/dist/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupItem.d.ts → AllOfGroup/AllOfGroupItem.d.ts} +1 -3
  342. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +10 -0
  343. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +1 -0
  344. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +4 -0
  345. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +16 -0
  346. package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +1 -0
  347. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.d.ts +0 -3
  348. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +7 -15
  349. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  350. package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +2 -1
  351. package/dist/lib/plugins/openapi/schema/SchemaView.js +13 -8
  352. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  353. package/dist/lib/plugins/openapi/schema/UnionView.d.ts +4 -0
  354. package/dist/lib/plugins/openapi/schema/UnionView.js +30 -0
  355. package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -0
  356. package/dist/lib/plugins/openapi/schema/union-helpers.d.ts +28 -0
  357. package/dist/lib/plugins/openapi/schema/union-helpers.js +48 -0
  358. package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -0
  359. package/dist/lib/plugins/openapi/schema/utils.d.ts +0 -7
  360. package/dist/lib/plugins/openapi/schema/utils.js +0 -6
  361. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  362. package/dist/lib/plugins/openapi/util/createHttpSnippet.d.ts +1 -1
  363. package/dist/lib/plugins/openapi/util/createHttpSnippet.js +1 -1
  364. package/dist/lib/plugins/openapi/util/createHttpSnippet.js.map +1 -1
  365. package/dist/lib/plugins/openapi/util/createNavigationCategory.js +1 -0
  366. package/dist/lib/plugins/openapi/util/createNavigationCategory.js.map +1 -1
  367. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
  368. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +1 -2
  369. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  370. package/dist/lib/plugins/openapi/util/getRoutes.js +1 -1
  371. package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
  372. package/dist/lib/plugins/openapi/util/methodColorMap.d.ts +1 -1
  373. package/dist/lib/plugins/search-inkeep/index.js +1 -1
  374. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  375. package/dist/lib/plugins/search-pagefind/PagefindSearch.js +1 -1
  376. package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
  377. package/dist/lib/plugins/search-pagefind/ResultList.d.ts +1 -1
  378. package/dist/lib/plugins/search-pagefind/ResultList.js +4 -1
  379. package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
  380. package/dist/lib/plugins/search-pagefind/get-results.js +0 -1
  381. package/dist/lib/plugins/search-pagefind/get-results.js.map +1 -1
  382. package/dist/lib/shiki.d.ts +2 -5
  383. package/dist/lib/shiki.js +7 -6
  384. package/dist/lib/shiki.js.map +1 -1
  385. package/dist/lib/ui/Breadcrumb.js +1 -1
  386. package/dist/lib/ui/Breadcrumb.js.map +1 -1
  387. package/dist/lib/ui/Carousel.js.map +1 -1
  388. package/dist/lib/ui/CodeBlock.d.ts +1 -1
  389. package/dist/lib/ui/CodeBlock.js +3 -28
  390. package/dist/lib/ui/CodeBlock.js.map +1 -1
  391. package/dist/lib/ui/Command.d.ts +2 -2
  392. package/dist/lib/ui/Command.js +2 -6
  393. package/dist/lib/ui/Command.js.map +1 -1
  394. package/dist/lib/ui/Dialog.js +2 -2
  395. package/dist/lib/ui/Dialog.js.map +1 -1
  396. package/dist/lib/ui/EmbeddedCodeBlock.js +1 -1
  397. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  398. package/dist/lib/ui/Form.d.ts +2 -2
  399. package/dist/lib/ui/Pagination.d.ts +1 -1
  400. package/dist/lib/ui/Pagination.js +1 -1
  401. package/dist/lib/ui/Pagination.js.map +1 -1
  402. package/dist/lib/ui/ReactComponentDoc.d.ts +20 -0
  403. package/dist/lib/ui/ReactComponentDoc.js +10 -0
  404. package/dist/lib/ui/ReactComponentDoc.js.map +1 -0
  405. package/dist/lib/ui/Secret.d.ts +12 -0
  406. package/dist/lib/ui/Secret.js +23 -0
  407. package/dist/lib/ui/Secret.js.map +1 -0
  408. package/dist/lib/ui/ToggleGroup.d.ts +1 -1
  409. package/dist/lib/ui/Value.d.ts +5 -0
  410. package/dist/lib/ui/Value.js +13 -0
  411. package/dist/lib/ui/Value.js.map +1 -0
  412. package/dist/lib/util/MdxComponents.d.ts +1 -1
  413. package/dist/lib/util/MdxComponents.js +5 -3
  414. package/dist/lib/util/MdxComponents.js.map +1 -1
  415. package/dist/lib/util/cn.js.map +1 -1
  416. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  417. package/dist/lib/util/createVariantComponent.js.map +1 -1
  418. package/dist/lib/util/groupBy.js +1 -0
  419. package/dist/lib/util/groupBy.js.map +1 -1
  420. package/dist/lib/util/humanFileSize.js +1 -1
  421. package/dist/lib/util/humanFileSize.js.map +1 -1
  422. package/dist/lib/util/invariant.js +3 -1
  423. package/dist/lib/util/invariant.js.map +1 -1
  424. package/dist/lib/util/pastellize.js +2 -2
  425. package/dist/lib/util/pastellize.js.map +1 -1
  426. package/dist/lib/util/useIsomorphicLayoutEffect.js.map +1 -1
  427. package/dist/lib/util/useScrollToAnchor.js +2 -0
  428. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  429. package/dist/ts.js +3 -3
  430. package/dist/ts.js.map +1 -1
  431. package/dist/vite/api/SchemaManager.js +6 -6
  432. package/dist/vite/api/SchemaManager.js.map +1 -1
  433. package/dist/vite/api/schema-codegen.js +1 -2
  434. package/dist/vite/api/schema-codegen.js.map +1 -1
  435. package/dist/vite/api/schema-codegen.test.js +1 -1
  436. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  437. package/dist/vite/build.js +1 -1
  438. package/dist/vite/build.js.map +1 -1
  439. package/dist/vite/dev-server.js +2 -2
  440. package/dist/vite/dev-server.js.map +1 -1
  441. package/dist/vite/error-handler.d.ts +2 -2
  442. package/dist/vite/error-handler.js.map +1 -1
  443. package/dist/vite/mdx/remark-inject-filepath.d.ts +3 -0
  444. package/dist/vite/mdx/remark-inject-filepath.js +6 -0
  445. package/dist/vite/mdx/remark-inject-filepath.js.map +1 -0
  446. package/dist/vite/mdx/remark-last-modified.js +0 -1
  447. package/dist/vite/mdx/remark-last-modified.js.map +1 -1
  448. package/dist/vite/mdx/remark-link-rewrite.d.ts +2 -0
  449. package/dist/vite/mdx/remark-link-rewrite.js +20 -0
  450. package/dist/vite/mdx/remark-link-rewrite.js.map +1 -0
  451. package/dist/vite/mdx/remark-normalize-image-url.d.ts +2 -0
  452. package/dist/vite/mdx/remark-normalize-image-url.js +12 -0
  453. package/dist/vite/mdx/remark-normalize-image-url.js.map +1 -0
  454. package/dist/vite/{remarkStaticGeneration.d.ts → mdx/remark-static-generation.d.ts} +2 -2
  455. package/dist/vite/{remarkStaticGeneration.js → mdx/remark-static-generation.js} +2 -2
  456. package/dist/vite/mdx/remark-static-generation.js.map +1 -0
  457. package/dist/vite/output.d.ts +1 -1
  458. package/dist/vite/output.js +1 -1
  459. package/dist/vite/output.js.map +1 -1
  460. package/dist/vite/plugin-api-keys.d.ts +1 -1
  461. package/dist/vite/plugin-api-keys.js +1 -1
  462. package/dist/vite/plugin-api-keys.js.map +1 -1
  463. package/dist/vite/plugin-api.js +4 -4
  464. package/dist/vite/plugin-api.js.map +1 -1
  465. package/dist/vite/plugin-auth.d.ts +1 -1
  466. package/dist/vite/plugin-auth.js +1 -1
  467. package/dist/vite/plugin-auth.js.map +1 -1
  468. package/dist/vite/plugin-component.d.ts +1 -1
  469. package/dist/vite/plugin-config-reload.d.ts +1 -1
  470. package/dist/vite/plugin-custom-pages.d.ts +1 -1
  471. package/dist/vite/plugin-custom-pages.js +1 -1
  472. package/dist/vite/plugin-custom-pages.js.map +1 -1
  473. package/dist/vite/plugin-docs.js +2 -2
  474. package/dist/vite/plugin-docs.js.map +1 -1
  475. package/dist/vite/plugin-frontmatter.js +1 -1
  476. package/dist/vite/plugin-frontmatter.js.map +1 -1
  477. package/dist/vite/plugin-mdx.d.ts +1 -1
  478. package/dist/vite/plugin-mdx.js +11 -28
  479. package/dist/vite/plugin-mdx.js.map +1 -1
  480. package/dist/vite/plugin-metadata.d.ts +1 -1
  481. package/dist/vite/plugin-navigation.d.ts +2 -2
  482. package/dist/vite/plugin-navigation.js +34 -35
  483. package/dist/vite/plugin-navigation.js.map +1 -1
  484. package/dist/vite/plugin-redirect.d.ts +1 -1
  485. package/dist/vite/plugin-redirect.js +1 -1
  486. package/dist/vite/plugin-redirect.js.map +1 -1
  487. package/dist/vite/plugin-search.d.ts +1 -1
  488. package/dist/vite/plugin-search.js +1 -1
  489. package/dist/vite/plugin-search.js.map +1 -1
  490. package/dist/vite/plugin-shiki-register.js +1 -1
  491. package/dist/vite/plugin-shiki-register.js.map +1 -1
  492. package/dist/vite/plugin-theme.js +6 -6
  493. package/dist/vite/plugin-theme.js.map +1 -1
  494. package/dist/vite/plugin-theme.test.js +2 -0
  495. package/dist/vite/plugin-theme.test.js.map +1 -1
  496. package/dist/vite/plugin.d.ts +1 -1
  497. package/dist/vite/plugin.js +2 -2
  498. package/dist/vite/plugin.js.map +1 -1
  499. package/dist/vite/prerender/FileWritingResponse.js +5 -3
  500. package/dist/vite/prerender/FileWritingResponse.js.map +1 -1
  501. package/dist/vite/prerender/InMemoryResponse.js +3 -1
  502. package/dist/vite/prerender/InMemoryResponse.js.map +1 -1
  503. package/dist/vite/prerender/prerender.js +1 -1
  504. package/dist/vite/prerender/prerender.js.map +1 -1
  505. package/dist/vite/prerender/worker.d.ts +1 -1
  506. package/dist/vite/prerender/worker.js.map +1 -1
  507. package/dist/vite/reporter.js +2 -2
  508. package/dist/vite/reporter.js.map +1 -1
  509. package/dist/vite/shadcn-registry.d.ts +8 -33
  510. package/dist/vite/sitemap.js +14 -13
  511. package/dist/vite/sitemap.js.map +1 -1
  512. package/dist/zuplo/enrich-with-zuplo.js +3 -3
  513. package/dist/zuplo/enrich-with-zuplo.js.map +1 -1
  514. package/dist/zuplo/policy-types.js +0 -1
  515. package/dist/zuplo/policy-types.js.map +1 -1
  516. package/dist/zuplo/with-zuplo.js +1 -1
  517. package/dist/zuplo/with-zuplo.js.map +1 -1
  518. package/lib/CategoryHeading-DCpZu3yG.js +17 -0
  519. package/lib/CategoryHeading-DCpZu3yG.js.map +1 -0
  520. package/lib/CodeBlock-q0m9kVNg.js +178 -0
  521. package/lib/CodeBlock-q0m9kVNg.js.map +1 -0
  522. package/lib/{Command-BYukybsa.js → Command-CUSlH0gJ.js} +21 -27
  523. package/lib/Command-CUSlH0gJ.js.map +1 -0
  524. package/lib/Dialog-BmgXWOaz.js +114 -0
  525. package/lib/Dialog-BmgXWOaz.js.map +1 -0
  526. package/lib/{Slot-DwKHufbT.js → ErrorAlert-B5bWlc6g.js} +1851 -2066
  527. package/lib/ErrorAlert-B5bWlc6g.js.map +1 -0
  528. package/lib/{MdxPage-CdxPkV7p.js → MdxPage-DfV9gO5W.js} +28 -27
  529. package/lib/MdxPage-DfV9gO5W.js.map +1 -0
  530. package/lib/{OAuthErrorPage-CNbVseNs.js → OAuthErrorPage--ME5Z5lv.js} +7 -7
  531. package/lib/OAuthErrorPage--ME5Z5lv.js.map +1 -0
  532. package/lib/{OasProvider-dNGQw-A8.js → OasProvider-BzRWdNM5.js} +4 -3
  533. package/lib/OasProvider-BzRWdNM5.js.map +1 -0
  534. package/lib/{OperationList-ckGHyNMV.js → OperationList-D8ln4zHk.js} +538 -540
  535. package/lib/OperationList-D8ln4zHk.js.map +1 -0
  536. package/lib/{Pagination-Chy4IAeH.js → Pagination-BdZkD63H.js} +3 -3
  537. package/lib/{Pagination-Chy4IAeH.js.map → Pagination-BdZkD63H.js.map} +1 -1
  538. package/lib/RouteGuard-BIksrt_C.js +56 -0
  539. package/lib/RouteGuard-BIksrt_C.js.map +1 -0
  540. package/lib/RouterError-ByzmULgw.js +41 -0
  541. package/lib/RouterError-ByzmULgw.js.map +1 -0
  542. package/lib/{SchemaList-BVirSc9P.js → SchemaList-DtQZ98Lm.js} +15 -14
  543. package/lib/{SchemaList-BVirSc9P.js.map → SchemaList-DtQZ98Lm.js.map} +1 -1
  544. package/lib/SchemaView-OqVwN4ss.js +429 -0
  545. package/lib/SchemaView-OqVwN4ss.js.map +1 -0
  546. package/lib/{Select-CHg-8SQA.js → Select-DWh0wSay.js} +8 -8
  547. package/lib/{Select-CHg-8SQA.js.map → Select-DWh0wSay.js.map} +1 -1
  548. package/lib/{SignUp-xrEyHGja.js → SignUp-BT5JGYmO.js} +12 -12
  549. package/lib/SignUp-BT5JGYmO.js.map +1 -0
  550. package/lib/{SyntaxHighlight-DQ64ObSH.js → SyntaxHighlight-HG0uqk4-.js} +320 -321
  551. package/lib/SyntaxHighlight-HG0uqk4-.js.map +1 -0
  552. package/lib/{Toc-IyR_0dSg.js → Toc-DyGMFrpl.js} +2 -2
  553. package/lib/{Toc-IyR_0dSg.js.map → Toc-DyGMFrpl.js.map} +1 -1
  554. package/lib/{ZudokuContext-Coxa0DfE.js → ZudokuContext-BR-lnR7O.js} +110 -103
  555. package/lib/{ZudokuContext-Coxa0DfE.js.map → ZudokuContext-BR-lnR7O.js.map} +1 -1
  556. package/lib/chunk-QMGIS6GS-DqecZ6nq.js +9204 -0
  557. package/lib/chunk-QMGIS6GS-DqecZ6nq.js.map +1 -0
  558. package/lib/{circular-3tGytcdj.js → circular-CMUzw2Qb.js} +2 -2
  559. package/lib/{circular-3tGytcdj.js.map → circular-CMUzw2Qb.js.map} +1 -1
  560. package/lib/cn-dYga0KKN.js.map +1 -1
  561. package/lib/{createServer-C1PpesMb.js → createServer-CcYGmc40.js} +12 -27
  562. package/lib/createServer-CcYGmc40.js.map +1 -0
  563. package/lib/csharp-CabCCCDp.js +53 -0
  564. package/lib/csharp-CabCCCDp.js.map +1 -0
  565. package/lib/css-CF7cXhs2.js +54 -0
  566. package/lib/css-CF7cXhs2.js.map +1 -0
  567. package/lib/{errors-DekB3aZw.js → errors-9AR8czip.js} +2 -2
  568. package/lib/errors-9AR8czip.js.map +1 -0
  569. package/lib/go-C4nlDCdp.js +25 -0
  570. package/lib/go-C4nlDCdp.js.map +1 -0
  571. package/lib/graphql-CPc-jI7m.js +25 -0
  572. package/lib/graphql-CPc-jI7m.js.map +1 -0
  573. package/lib/{hook-DEPqwjke.js → hook-B4Q30zMI.js} +2 -2
  574. package/lib/{hook-DEPqwjke.js.map → hook-B4Q30zMI.js.map} +1 -1
  575. package/lib/html-_lthdH3f.js +33 -0
  576. package/lib/html-_lthdH3f.js.map +1 -0
  577. package/lib/{index-BWWkmg0b.js → index-BtvWYC68.js} +2 -2
  578. package/lib/{index-BWWkmg0b.js.map → index-BtvWYC68.js.map} +1 -1
  579. package/lib/index-CaqZFmdz.js +1058 -0
  580. package/lib/index-CaqZFmdz.js.map +1 -0
  581. package/lib/{index-D7-DP8pf.js → index-CmREBlkc.js} +60 -56
  582. package/lib/index-CmREBlkc.js.map +1 -0
  583. package/lib/{RouteGuard-D17dUEM_.js → index.esm-BnYHxCYC.js} +226 -281
  584. package/lib/index.esm-BnYHxCYC.js.map +1 -0
  585. package/lib/invariant-Bm-FVUQE.js.map +1 -1
  586. package/lib/java-l3-f6PoB.js +53 -0
  587. package/lib/java-l3-f6PoB.js.map +1 -0
  588. package/lib/javascript-C2R9WsTw.js +10 -0
  589. package/lib/javascript-C2R9WsTw.js.map +1 -0
  590. package/lib/json-CJ6aS-pT.js +25 -0
  591. package/lib/json-CJ6aS-pT.js.map +1 -0
  592. package/lib/kotlin-DCMKi-U7.js +37 -0
  593. package/lib/kotlin-DCMKi-U7.js.map +1 -0
  594. package/lib/markdown-C4aFmlmR.js +25 -0
  595. package/lib/markdown-C4aFmlmR.js.map +1 -0
  596. package/lib/mdx-pWVkS1_U.js +32 -0
  597. package/lib/mdx-pWVkS1_U.js.map +1 -0
  598. package/lib/mutation-CiMUdKRU.js +196 -0
  599. package/lib/mutation-CiMUdKRU.js.map +1 -0
  600. package/lib/objectivec-J4XevKta.js +32 -0
  601. package/lib/objectivec-J4XevKta.js.map +1 -0
  602. package/lib/php-CThYsN0i.js +25 -0
  603. package/lib/php-CThYsN0i.js.map +1 -0
  604. package/lib/python-DRrVWlBo.js +32 -0
  605. package/lib/python-DRrVWlBo.js.map +1 -0
  606. package/lib/react-B7gnFkUi.js +24 -0
  607. package/lib/react-B7gnFkUi.js.map +1 -0
  608. package/lib/ruby-Cl8yMwfe.js +25 -0
  609. package/lib/ruby-Cl8yMwfe.js.map +1 -0
  610. package/lib/rust-BcsOJwqO.js +25 -0
  611. package/lib/rust-BcsOJwqO.js.map +1 -0
  612. package/lib/shell-BNUr7LQH.js +25 -0
  613. package/lib/shell-BNUr7LQH.js.map +1 -0
  614. package/lib/swift-DoJpb4mH.js +25 -0
  615. package/lib/swift-DoJpb4mH.js.map +1 -0
  616. package/lib/toml-DrOGwOUK.js +32 -0
  617. package/lib/toml-DrOGwOUK.js.map +1 -0
  618. package/lib/typescript-D9w2ZJcO.js +32 -0
  619. package/lib/typescript-D9w2ZJcO.js.map +1 -0
  620. package/lib/ui/Breadcrumb.js +22 -21
  621. package/lib/ui/Breadcrumb.js.map +1 -1
  622. package/lib/ui/Carousel.js.map +1 -1
  623. package/lib/ui/CodeBlock.js +3 -2
  624. package/lib/ui/CodeBlock.js.map +1 -1
  625. package/lib/ui/Command.js +20 -26
  626. package/lib/ui/Command.js.map +1 -1
  627. package/lib/ui/Dialog.js +56 -41
  628. package/lib/ui/Dialog.js.map +1 -1
  629. package/lib/ui/EmbeddedCodeBlock.js +3 -3
  630. package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  631. package/lib/ui/Form.js.map +1 -1
  632. package/lib/ui/Pagination.js +28 -29
  633. package/lib/ui/Pagination.js.map +1 -1
  634. package/lib/ui/ReactComponentDoc.js +28 -0
  635. package/lib/ui/ReactComponentDoc.js.map +1 -0
  636. package/lib/ui/Secret.js +96 -0
  637. package/lib/ui/Secret.js.map +1 -0
  638. package/lib/ui/SyntaxHighlight.js +3 -3
  639. package/lib/ui/ToggleGroup.js.map +1 -1
  640. package/lib/ui/Value.js +39 -0
  641. package/lib/ui/Value.js.map +1 -0
  642. package/lib/useCopyToClipboard-B_085nfO.js +14 -0
  643. package/lib/useCopyToClipboard-B_085nfO.js.map +1 -0
  644. package/lib/{useExposedProps-DUoV7MCU.js → useExposedProps-BH9aq4MD.js} +32 -32
  645. package/lib/{useExposedProps-DUoV7MCU.js.map → useExposedProps-BH9aq4MD.js.map} +1 -1
  646. package/lib/useLatest-hmRS46UF.js +11 -0
  647. package/lib/useLatest-hmRS46UF.js.map +1 -0
  648. package/lib/xml-D7S4OK52.js +25 -0
  649. package/lib/xml-D7S4OK52.js.map +1 -0
  650. package/lib/yaml-BIWMCqHB.js +32 -0
  651. package/lib/yaml-BIWMCqHB.js.map +1 -0
  652. package/lib/zudoku.__internal.js +2981 -0
  653. package/lib/zudoku.__internal.js.map +1 -0
  654. package/lib/zudoku.auth-auth0.js +1 -1
  655. package/lib/zudoku.auth-auth0.js.map +1 -1
  656. package/lib/zudoku.auth-azureb2c.js +5 -5
  657. package/lib/zudoku.auth-azureb2c.js.map +1 -1
  658. package/lib/zudoku.auth-clerk.js +2 -2
  659. package/lib/zudoku.auth-clerk.js.map +1 -1
  660. package/lib/zudoku.auth-openid.js +5 -5
  661. package/lib/zudoku.auth-openid.js.map +1 -1
  662. package/lib/zudoku.auth-supabase.js +3 -2
  663. package/lib/zudoku.auth-supabase.js.map +1 -1
  664. package/lib/zudoku.components.js +23 -30
  665. package/lib/zudoku.hooks.js +4 -4
  666. package/lib/zudoku.icons.js.map +1 -1
  667. package/lib/zudoku.plugin-api-catalog.js +39 -32
  668. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  669. package/lib/zudoku.plugin-api-keys.js +353 -273
  670. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  671. package/lib/zudoku.plugin-custom-pages.js +8 -5
  672. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  673. package/lib/zudoku.plugin-markdown.js +1 -1
  674. package/lib/zudoku.plugin-markdown.js.map +1 -1
  675. package/lib/zudoku.plugin-openapi.js +4 -4
  676. package/lib/zudoku.plugin-redirect.js +3 -3
  677. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  678. package/lib/zudoku.plugin-search-pagefind.js +15 -15
  679. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  680. package/lib/zudoku.router.js +123 -0
  681. package/lib/zudoku.router.js.map +1 -0
  682. package/package.json +27 -34
  683. package/src/app/ZuploBuildConfig.ts +1 -1
  684. package/src/app/demo.tsx +1 -1
  685. package/src/app/entry.client.tsx +7 -6
  686. package/src/app/entry.server.tsx +4 -4
  687. package/src/app/env.ts +6 -6
  688. package/src/app/main.css +5 -10
  689. package/src/app/main.tsx +22 -7
  690. package/src/app/standalone.tsx +8 -3
  691. package/src/lib/MissingIcon.tsx +1 -1
  692. package/src/lib/assets/language-icons/csharp.tsx +35 -0
  693. package/src/lib/assets/language-icons/css.tsx +36 -0
  694. package/src/lib/assets/language-icons/go.tsx +19 -0
  695. package/src/lib/assets/language-icons/graphql.tsx +19 -0
  696. package/src/lib/assets/language-icons/html.tsx +24 -0
  697. package/src/lib/assets/language-icons/java.tsx +35 -0
  698. package/src/lib/assets/language-icons/javascript.tsx +11 -0
  699. package/src/lib/assets/language-icons/json.tsx +19 -0
  700. package/src/lib/assets/language-icons/kotlin.tsx +30 -0
  701. package/src/lib/assets/language-icons/markdown.tsx +19 -0
  702. package/src/lib/assets/language-icons/mdx.tsx +23 -0
  703. package/src/lib/assets/language-icons/objectivec.tsx +23 -0
  704. package/src/lib/assets/language-icons/php.tsx +19 -0
  705. package/src/lib/assets/language-icons/python.tsx +23 -0
  706. package/src/lib/assets/language-icons/react.tsx +21 -0
  707. package/src/lib/assets/language-icons/ruby.tsx +19 -0
  708. package/src/lib/assets/language-icons/rust.tsx +19 -0
  709. package/src/lib/assets/language-icons/shell.tsx +19 -0
  710. package/src/lib/assets/language-icons/swift.tsx +19 -0
  711. package/src/lib/assets/language-icons/toml.tsx +23 -0
  712. package/src/lib/assets/language-icons/typescript.tsx +23 -0
  713. package/src/lib/assets/language-icons/xml.tsx +19 -0
  714. package/src/lib/assets/language-icons/yaml.tsx +23 -0
  715. package/src/lib/auth/issuer.test.ts +1 -0
  716. package/src/lib/authentication/AuthenticationPlugin.tsx +4 -4
  717. package/src/lib/authentication/authentication.ts +3 -3
  718. package/src/lib/authentication/components/OAuthErrorPage.tsx +1 -1
  719. package/src/lib/authentication/components/SignOut.tsx +1 -1
  720. package/src/lib/authentication/providers/auth0.tsx +5 -5
  721. package/src/lib/authentication/providers/azureb2c.tsx +5 -5
  722. package/src/lib/authentication/providers/clerk.tsx +5 -5
  723. package/src/lib/authentication/providers/openid.tsx +6 -6
  724. package/src/lib/authentication/providers/supabase.tsx +7 -6
  725. package/src/lib/authentication/use-broadcast/LICENSE.md +12 -3
  726. package/src/lib/authentication/use-broadcast/shared.ts +4 -4
  727. package/src/lib/authentication/use-broadcast/useBroadcast.ts +2 -2
  728. package/src/lib/components/AnchorLink.tsx +1 -1
  729. package/src/lib/components/Autocomplete.tsx +1 -1
  730. package/src/lib/components/Bootstrap.tsx +1 -0
  731. package/src/lib/components/BuildCheck.tsx +12 -1
  732. package/src/lib/components/Header.tsx +5 -5
  733. package/src/lib/components/Heading.tsx +2 -3
  734. package/src/lib/components/LanguageIcon.tsx +136 -0
  735. package/src/lib/components/Layout.tsx +3 -22
  736. package/src/lib/components/Markdown.tsx +5 -2
  737. package/src/lib/components/Meta.tsx +45 -0
  738. package/src/lib/components/MobileTopNavigation.tsx +11 -13
  739. package/src/lib/components/PathRenderer.tsx +2 -2
  740. package/src/lib/components/Search.tsx +1 -1
  741. package/src/lib/components/Slot.test.tsx +8 -8
  742. package/src/lib/components/Slot.tsx +2 -2
  743. package/src/lib/components/TopNavigation.tsx +3 -3
  744. package/src/lib/components/Zudoku.tsx +2 -2
  745. package/src/lib/components/context/ComponentsContext.tsx +2 -2
  746. package/src/lib/components/context/RouterEventsEmitter.tsx +1 -1
  747. package/src/lib/components/context/SlotProvider.tsx +4 -4
  748. package/src/lib/components/context/ViewportAnchorContext.tsx +2 -2
  749. package/src/lib/components/context/ZudokuContext.ts +2 -2
  750. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  751. package/src/lib/components/index.ts +3 -19
  752. package/src/lib/components/navigation/NavigationCategory.tsx +8 -1
  753. package/src/lib/components/navigation/NavigationItem.tsx +6 -4
  754. package/src/lib/components/navigation/NavigationWrapper.tsx +1 -1
  755. package/src/lib/components/navigation/Toc.tsx +2 -2
  756. package/src/lib/components/navigation/ZudokuLogo.tsx +1 -1
  757. package/src/lib/components/navigation/utils.ts +16 -17
  758. package/src/lib/core/ZudokuContext.ts +25 -6
  759. package/src/lib/core/__internal.tsx +30 -0
  760. package/src/lib/core/router.ts +1 -0
  761. package/src/lib/errors/ErrorAlert.tsx +0 -1
  762. package/src/lib/errors/TopLevelError.tsx +2 -4
  763. package/src/lib/hooks/useEvent.test.tsx +2 -2
  764. package/src/lib/oas/graphql/circular.ts +3 -3
  765. package/src/lib/oas/graphql/index.ts +2 -1
  766. package/src/lib/oas/parser/dereference/index.ts +2 -1
  767. package/src/lib/oas/parser/dereference/resolveRef.ts +4 -4
  768. package/src/lib/oas/parser/index.ts +2 -2
  769. package/src/lib/oas/parser/upgrade/index.ts +2 -1
  770. package/src/lib/plugins/api-catalog/Catalog.tsx +7 -0
  771. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  772. package/src/lib/plugins/api-keys/CreateApiKeyDialog.tsx +49 -0
  773. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +21 -49
  774. package/src/lib/plugins/api-keys/index.tsx +8 -8
  775. package/src/lib/plugins/custom-pages/index.tsx +4 -1
  776. package/src/lib/plugins/markdown/MdxPage.tsx +6 -6
  777. package/src/lib/plugins/markdown/index.tsx +1 -1
  778. package/src/lib/plugins/openapi/ColorizedParam.tsx +3 -1
  779. package/src/lib/plugins/openapi/Endpoint.tsx +2 -2
  780. package/src/lib/plugins/openapi/OasProvider.tsx +2 -1
  781. package/src/lib/plugins/openapi/OperationList.tsx +8 -8
  782. package/src/lib/plugins/openapi/OperationListItem.tsx +18 -20
  783. package/src/lib/plugins/openapi/ParamInfos.tsx +10 -9
  784. package/src/lib/plugins/openapi/ParameterList.tsx +3 -5
  785. package/src/lib/plugins/openapi/ParameterListItem.tsx +6 -12
  786. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +9 -7
  787. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +3 -2
  788. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -1
  789. package/src/lib/plugins/openapi/Sidecar.tsx +4 -3
  790. package/src/lib/plugins/openapi/SidecarExamples.tsx +3 -10
  791. package/src/lib/plugins/openapi/StaggeredRender.tsx +1 -1
  792. package/src/lib/plugins/openapi/client/GraphQLContext.tsx +1 -1
  793. package/src/lib/plugins/openapi/client/createServer.ts +1 -2
  794. package/src/lib/plugins/openapi/client/useCreateQuery.ts +3 -2
  795. package/src/lib/plugins/openapi/context.tsx +1 -1
  796. package/src/lib/plugins/openapi/graphql/fragment-masking.ts +1 -2
  797. package/src/lib/plugins/openapi/graphql/gql.ts +3 -4
  798. package/src/lib/plugins/openapi/graphql/graphql.ts +2 -1
  799. package/src/lib/plugins/openapi/index.tsx +5 -4
  800. package/src/lib/plugins/openapi/interfaces.ts +6 -4
  801. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +3 -3
  802. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +3 -3
  803. package/src/lib/plugins/openapi/playground/Headers.tsx +1 -1
  804. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +1 -1
  805. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +1 -1
  806. package/src/lib/plugins/openapi/playground/Playground.tsx +3 -3
  807. package/src/lib/plugins/openapi/playground/QueryParams.tsx +1 -1
  808. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +1 -1
  809. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +1 -1
  810. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +3 -1
  811. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +3 -3
  812. package/src/lib/plugins/openapi/playground/result-panel/convertToTypes.ts +1 -1
  813. package/src/lib/plugins/openapi/processors/removeExtensions.test.ts +1 -0
  814. package/src/lib/plugins/openapi/processors/removeParameters.test.ts +1 -0
  815. package/src/lib/plugins/openapi/processors/traverse.ts +1 -1
  816. package/src/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupConnector.tsx → AllOfGroup/AllOfGroupConnector.tsx} +4 -25
  817. package/src/lib/plugins/openapi/schema/{LogicalGroup/LogicalGroupItem.tsx → AllOfGroup/AllOfGroupItem.tsx} +3 -11
  818. package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +35 -0
  819. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +9 -27
  820. package/src/lib/plugins/openapi/schema/SchemaView.tsx +19 -13
  821. package/src/lib/plugins/openapi/schema/UnionView.tsx +123 -0
  822. package/src/lib/plugins/openapi/schema/union-helpers.ts +96 -0
  823. package/src/lib/plugins/openapi/schema/utils.ts +0 -11
  824. package/src/lib/plugins/openapi/util/createHttpSnippet.ts +2 -2
  825. package/src/lib/plugins/openapi/util/createNavigationCategory.tsx +1 -0
  826. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +3 -4
  827. package/src/lib/plugins/openapi/util/getRoutes.tsx +2 -2
  828. package/src/lib/plugins/openapi/util/methodColorMap.tsx +1 -1
  829. package/src/lib/plugins/search-inkeep/index.tsx +3 -3
  830. package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +2 -4
  831. package/src/lib/plugins/search-pagefind/ResultList.tsx +3 -4
  832. package/src/lib/plugins/search-pagefind/get-results.tsx +0 -1
  833. package/src/lib/shiki.ts +10 -6
  834. package/src/lib/ui/Breadcrumb.tsx +1 -0
  835. package/src/lib/ui/Carousel.tsx +1 -0
  836. package/src/lib/ui/CodeBlock.tsx +6 -37
  837. package/src/lib/ui/Command.tsx +2 -4
  838. package/src/lib/ui/Dialog.tsx +12 -4
  839. package/src/lib/ui/EmbeddedCodeBlock.tsx +1 -1
  840. package/src/lib/ui/Form.tsx +4 -4
  841. package/src/lib/ui/Pagination.tsx +1 -2
  842. package/src/lib/ui/ReactComponentDoc.tsx +68 -0
  843. package/src/lib/ui/Secret.tsx +106 -0
  844. package/src/lib/ui/ToggleGroup.tsx +1 -1
  845. package/src/lib/ui/Value.tsx +42 -0
  846. package/src/lib/util/MdxComponents.tsx +13 -3
  847. package/src/lib/util/cn.ts +1 -1
  848. package/src/lib/util/createVariantComponent.tsx +2 -2
  849. package/src/lib/util/groupBy.ts +1 -0
  850. package/src/lib/util/humanFileSize.ts +2 -3
  851. package/src/lib/util/invariant.ts +1 -0
  852. package/src/lib/util/pastellize.ts +2 -2
  853. package/src/lib/util/types.ts +1 -1
  854. package/src/lib/util/useIsomorphicLayoutEffect.ts +1 -0
  855. package/src/lib/util/useScrollToAnchor.ts +3 -1
  856. package/src/shiki/langs/vue-vine.js +1 -0
  857. package/dist/lib/components/ReactMarkdown.d.ts +0 -29
  858. package/dist/lib/components/ReactMarkdown.js +0 -182
  859. package/dist/lib/components/ReactMarkdown.js.map +0 -1
  860. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.d.ts +0 -8
  861. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js +0 -14
  862. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.js.map +0 -1
  863. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.d.ts +0 -7
  864. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js +0 -17
  865. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupConnector.js.map +0 -1
  866. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js +0 -10
  867. package/dist/lib/plugins/openapi/schema/LogicalGroup/LogicalGroupItem.js.map +0 -1
  868. package/dist/vite/remarkStaticGeneration.js.map +0 -1
  869. package/lib/CodeBlock-NFCmSWOK.js +0 -98
  870. package/lib/CodeBlock-NFCmSWOK.js.map +0 -1
  871. package/lib/Command-BYukybsa.js.map +0 -1
  872. package/lib/Dialog-u9Uz9sTt.js +0 -99
  873. package/lib/Dialog-u9Uz9sTt.js.map +0 -1
  874. package/lib/MdxPage-CdxPkV7p.js.map +0 -1
  875. package/lib/OAuthErrorPage-CNbVseNs.js.map +0 -1
  876. package/lib/OasProvider-dNGQw-A8.js.map +0 -1
  877. package/lib/OperationList-ckGHyNMV.js.map +0 -1
  878. package/lib/RouteGuard-D17dUEM_.js.map +0 -1
  879. package/lib/SchemaView-DhJktH3K.js +0 -366
  880. package/lib/SchemaView-DhJktH3K.js.map +0 -1
  881. package/lib/SignUp-xrEyHGja.js.map +0 -1
  882. package/lib/Slot-DwKHufbT.js.map +0 -1
  883. package/lib/SyntaxHighlight-DQ64ObSH.js.map +0 -1
  884. package/lib/chunk-QMGIS6GS-CdEm9pzB.js +0 -1839
  885. package/lib/chunk-QMGIS6GS-CdEm9pzB.js.map +0 -1
  886. package/lib/createServer-C1PpesMb.js.map +0 -1
  887. package/lib/errors-DekB3aZw.js.map +0 -1
  888. package/lib/index-B2tq8ySG.js +0 -4082
  889. package/lib/index-B2tq8ySG.js.map +0 -1
  890. package/lib/index-D7-DP8pf.js.map +0 -1
  891. package/src/lib/components/ReactMarkdown.license.txt +0 -21
  892. package/src/lib/components/ReactMarkdown.tsx +0 -264
  893. package/src/lib/plugins/openapi/schema/LogicalGroup/LogicalGroup.tsx +0 -40
@@ -1,26 +1,27 @@
1
1
  import { j as b } from "./jsx-runtime-C5mzlN2N.js";
2
- import { b as gr, i as Ia, l as Ua } from "./ZudokuContext-Coxa0DfE.js";
3
- import { H as La } from "./RouteGuard-D17dUEM_.js";
2
+ import { b as gr, e as Ia, I as Ua } from "./ZudokuContext-BR-lnR7O.js";
3
+ import { H as La } from "./index.esm-BnYHxCYC.js";
4
4
  import { ChevronsUpDownIcon as Zn, CheckIcon as Fa, CopyIcon as _a, MinusIcon as Ba, PlusIcon as Ha, UnfoldVerticalIcon as Ma, FoldVerticalIcon as za, ChevronsDownUpIcon as Wa } from "lucide-react";
5
- import { a as Ja, d as Va, b as Ga } from "./chunk-QMGIS6GS-CdEm9pzB.js";
6
- import { u as et, a as Ke, g as Me, e as vr, f as ea, C as ta, c as ra, b as dr, P as Da, h as Qa, U as Ka } from "./index-D7-DP8pf.js";
7
- import { S as na, c as aa, d as oa, e as ia, g as sa } from "./Select-CHg-8SQA.js";
8
- import { I as Ya, S as la, M as _e, H as Fe, C as Xa } from "./Slot-DwKHufbT.js";
9
- import { P as Za } from "./Pagination-Chy4IAeH.js";
5
+ import { a_ as Ja, aU as Va, aP as Ga } from "./chunk-QMGIS6GS-DqecZ6nq.js";
6
+ import { u as et, a as Ke, g as Me, e as vr, f as ea, C as ta, c as ra, b as dr, P as Da, h as Qa, U as Ka } from "./index-CmREBlkc.js";
7
+ import { S as na, c as aa, d as oa, e as ia, g as sa } from "./Select-DWh0wSay.js";
8
+ import { C as Ya } from "./CategoryHeading-DCpZu3yG.js";
9
+ import { I as Xa, S as la, M as _e, H as Fe } from "./ErrorAlert-B5bWlc6g.js";
10
+ import { P as Za } from "./Pagination-BdZkD63H.js";
10
11
  import { useTransition as ca, useState as ge, useRef as ua, useEffect as br, useLayoutEffect as eo, useMemo as fa } from "react";
11
12
  import { Button as pa } from "./ui/Button.js";
12
13
  import { c as pe } from "./cn-dYga0KKN.js";
13
14
  import { VisuallyHidden as hr } from "@radix-ui/react-visually-hidden";
14
15
  import { c as to } from "./index-DI5SPFK9.js";
15
- import { i as ro, P as no, E as Ur, a as ao, S as xr, b as oo, g as io } from "./SchemaView-DhJktH3K.js";
16
- import { Card as so } from "./ui/Card.js";
16
+ import { S as xr, i as ro, P as no, E as Ur, a as ao, b as oo, g as io } from "./SchemaView-OqVwN4ss.js";
17
+ import * as je from "@radix-ui/react-tabs";
18
+ import { M as so } from "./index-CaqZFmdz.js";
19
+ import { Card as lo } from "./ui/Card.js";
17
20
  import * as dt from "@radix-ui/react-collapsible";
18
- import { useZudoku as lo } from "./zudoku.hooks.js";
19
- import { u as co } from "./hook-DEPqwjke.js";
20
- import { S as da } from "./SyntaxHighlight-DQ64ObSH.js";
21
+ import { useAuth as co, useZudoku as uo } from "./zudoku.hooks.js";
22
+ import { u as fo } from "./hook-B4Q30zMI.js";
23
+ import { S as da } from "./SyntaxHighlight-HG0uqk4-.js";
21
24
  import { B as Lr } from "./Button-B3o-2Xdf.js";
22
- import { b as uo, M as fo } from "./index-B2tq8ySG.js";
23
- import * as je from "@radix-ui/react-tabs";
24
25
  import { g as po, c as Ye, a as ho } from "./invariant-Bm-FVUQE.js";
25
26
  function yo(e, n) {
26
27
  return n;
@@ -85,12 +86,10 @@ const Xe = ({
85
86
  }, go = () => {
86
87
  const { input: e, type: n } = et(), t = Ke(mo, { input: e, type: n }), a = gr(t), [, c] = ca(), { selectedServer: s, setSelectedServer: r } = vr(
87
88
  a.data.schema.servers
88
- ), { servers: o } = a.data.schema;
89
- if (o.length === 0) return null;
90
- const i = o.at(0);
91
- return o.length === 1 ? /* @__PURE__ */ b.jsxs("div", { className: "flex items-center gap-2", children: [
89
+ ), { servers: o } = a.data.schema, i = o.at(0);
90
+ return i ? o.length === 1 ? /* @__PURE__ */ b.jsxs("div", { className: "flex items-center gap-2", children: [
92
91
  /* @__PURE__ */ b.jsx("span", { className: "font-medium text-sm", children: "Endpoint:" }),
93
- /* @__PURE__ */ b.jsx(Ya, { className: "text-xs px-2 py-1.5", selectOnClick: !0, children: i.url }),
92
+ /* @__PURE__ */ b.jsx(Xa, { className: "text-xs px-2 py-1.5", selectOnClick: !0, children: i.url }),
94
93
  /* @__PURE__ */ b.jsx(Fr, { url: i.url })
95
94
  ] }) : /* @__PURE__ */ b.jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
96
95
  /* @__PURE__ */ b.jsx("span", { className: "font-medium text-sm", children: "Endpoint" }),
@@ -108,7 +107,7 @@ const Xe = ({
108
107
  }
109
108
  ),
110
109
  /* @__PURE__ */ b.jsx(Fr, { url: s })
111
- ] });
110
+ ] }) : null;
112
111
  }, vo = to(
113
112
  "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2",
114
113
  {
@@ -129,14 +128,73 @@ const Xe = ({
129
128
  function _r({ className: e, variant: n, ...t }) {
130
129
  return /* @__PURE__ */ b.jsx("div", { className: pe(vo({ variant: n }), e), ...t });
131
130
  }
132
- const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e.schema == "object" ? e.schema : {
131
+ const Br = (e, n) => e ? n(e) : void 0, bo = pe, xo = ({
132
+ responses: e,
133
+ selectedResponse: n,
134
+ onSelectResponse: t
135
+ }) => {
136
+ const [a, c] = ge(
137
+ e[0]?.content?.[0]?.mediaType ?? ""
138
+ ), s = e.find((o) => o.statusCode === n) ?? e[0], r = /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col bg-muted text-muted-foreground", children: [
139
+ /* @__PURE__ */ b.jsxs("div", { className: "flex flex-row items-center gap-2 justify-between px-4 py-2", children: [
140
+ /* @__PURE__ */ b.jsx(je.List, { className: "flex flex-row font-medium text-sm gap-4", children: e.map((o) => /* @__PURE__ */ b.jsx(
141
+ je.Trigger,
142
+ {
143
+ value: o.statusCode,
144
+ className: bo(
145
+ "py-1 -mx-2 px-2 rounded-md",
146
+ "data-[state=active]:dark:ring-1 data-[state=active]:dark:ring-border data-[state=active]:bg-background data-[state=active]:drop-shadow",
147
+ "data-[state=active]:font-semibold data-[state=active]:text-foreground"
148
+ ),
149
+ children: o.statusCode
150
+ },
151
+ o.statusCode
152
+ )) }),
153
+ s?.content && s.content.length > 1 && /* @__PURE__ */ b.jsxs(
154
+ na,
155
+ {
156
+ value: a,
157
+ onValueChange: c,
158
+ children: [
159
+ /* @__PURE__ */ b.jsx(aa, { className: "h-8 mt-0 max-w-48 text-xs truncate", children: /* @__PURE__ */ b.jsx(oa, { placeholder: "Select a type" }) }),
160
+ /* @__PURE__ */ b.jsx(ia, { children: s.content.map((o) => /* @__PURE__ */ b.jsx(sa, { value: o.mediaType, children: o.mediaType }, o.mediaType)) })
161
+ ]
162
+ }
163
+ )
164
+ ] }),
165
+ s?.description && /* @__PURE__ */ b.jsx(
166
+ so,
167
+ {
168
+ className: "text-sm border-t px-4 py-2 text-muted-foreground",
169
+ content: s.description
170
+ }
171
+ )
172
+ ] });
173
+ return /* @__PURE__ */ b.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ b.jsx(
174
+ je.Root,
175
+ {
176
+ value: n,
177
+ onValueChange: (o) => {
178
+ t?.(o);
179
+ const i = e.find((l) => l.statusCode === o);
180
+ c(i?.content?.[0]?.mediaType ?? "");
181
+ },
182
+ children: e.map((o) => {
183
+ const i = o.content?.find(
184
+ (l) => l.mediaType === a
185
+ );
186
+ return /* @__PURE__ */ b.jsx(je.Content, { value: o.statusCode, children: /* @__PURE__ */ b.jsx(xr, { schema: i?.schema, cardHeader: r }) }, o.statusCode);
187
+ })
188
+ }
189
+ ) });
190
+ }, $o = (e) => e.schema != null && typeof e.schema == "object" ? e.schema : {
133
191
  type: "string"
134
- }, xo = ({
192
+ }, wo = ({
135
193
  parameter: e,
136
194
  group: n,
137
195
  id: t
138
196
  }) => {
139
- const a = bo(e), [c, s] = ge(!1);
197
+ const a = $o(e), [c, s] = ge(!1);
140
198
  return /* @__PURE__ */ b.jsxs("li", { className: "p-4 bg-border/20 text-sm flex flex-col gap-1.5", children: [
141
199
  /* @__PURE__ */ b.jsxs("div", { className: "flex items-center gap-2", children: [
142
200
  /* @__PURE__ */ b.jsx(la, { asChild: !0, children: /* @__PURE__ */ b.jsx("code", { children: n === "path" ? /* @__PURE__ */ b.jsx(
@@ -197,7 +255,7 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
197
255
  }
198
256
  )
199
257
  ] });
200
- }, $o = ({
258
+ }, jo = ({
201
259
  summary: e,
202
260
  group: n,
203
261
  parameters: t,
@@ -210,8 +268,8 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
210
268
  ] }),
211
269
  n === "header" ? "Headers" : `${n} Parameters`
212
270
  ] }),
213
- /* @__PURE__ */ b.jsx(so, { children: /* @__PURE__ */ b.jsx("ul", { className: "list-none m-0 px-0 divide-y ", children: t.sort((c, s) => c.required === s.required ? 0 : c.required ? -1 : 1).map((c) => /* @__PURE__ */ b.jsx(
214
- xo,
271
+ /* @__PURE__ */ b.jsx(lo, { children: /* @__PURE__ */ b.jsx("ul", { className: "list-none m-0 px-0 divide-y ", children: t.sort((c, s) => c.required === s.required ? 0 : c.required ? -1 : 1).map((c) => /* @__PURE__ */ b.jsx(
272
+ wo,
215
273
  {
216
274
  parameter: c,
217
275
  id: a,
@@ -219,7 +277,7 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
219
277
  },
220
278
  `${c.name}-${c.in}`
221
279
  )) }) })
222
- ] }), wo = ({
280
+ ] }), So = ({
223
281
  rootMargin: e = "0px",
224
282
  threshold: n,
225
283
  root: t
@@ -235,12 +293,12 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
235
293
  if (o)
236
294
  return r.observe(o), () => r.unobserve(o);
237
295
  }, [t, e, n]), [s, a];
238
- }, jo = typeof window < "u" ? eo : br, ha = ({
296
+ }, Oo = typeof window < "u" ? eo : br, ha = ({
239
297
  children: e,
240
298
  maxHeight: n = 250
241
299
  }) => {
242
300
  const t = ua(null), [a, c] = ge(!1), [s, r] = ge(!1);
243
- return jo(() => {
301
+ return Oo(() => {
244
302
  const o = t.current;
245
303
  if (!o) return;
246
304
  c(o.scrollHeight > n);
@@ -297,24 +355,24 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
297
355
  ]
298
356
  }
299
357
  );
300
- }, So = ({
358
+ }, To = ({
301
359
  server: e,
302
360
  servers: n,
303
361
  operation: t,
304
362
  examples: a
305
363
  }) => {
306
- const { isAuthEnabled: c, login: s, signup: r, isPending: o, isAuthenticated: i } = uo(), l = t.parameters?.filter((f) => f.in === "header").sort((f, h) => f.required && !h.required ? -1 : 1).map((f) => ({
364
+ const { isAuthEnabled: c, login: s, signup: r, isPending: o, isAuthenticated: i } = co(), l = t.parameters?.filter((f) => f.in === "header").sort((f, h) => f.required && !h.required ? -1 : 1).map((f) => ({
307
365
  name: f.name,
308
366
  defaultValue: f.schema?.default ?? f.examples?.find((h) => h.value)?.value ?? "",
309
367
  defaultActive: f.required ?? !1,
310
368
  isRequired: f.required ?? !1,
311
- enum: f.schema?.type == "array" ? f.schema?.items?.enum : f.schema?.enum,
369
+ enum: f.schema?.type === "array" ? f.schema?.items?.enum : f.schema?.enum,
312
370
  type: f.schema?.type ?? "string"
313
371
  })), d = t.parameters?.filter((f) => f.in === "query").sort((f, h) => f.required && !h.required ? -1 : 1).map((f) => ({
314
372
  name: f.name,
315
373
  defaultActive: f.required ?? !1,
316
374
  isRequired: f.required ?? !1,
317
- enum: f.schema?.type == "array" ? f.schema?.items?.enum : f.schema?.enum,
375
+ enum: f.schema?.type === "array" ? f.schema?.items?.enum : f.schema?.enum,
318
376
  type: f.schema?.type ?? "string",
319
377
  defaultValue: f.schema?.default
320
378
  })), y = t.parameters?.filter((f) => f.in === "path").map((f) => ({
@@ -415,11 +473,10 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
415
473
  return null;
416
474
  case "object":
417
475
  return {};
418
- case void 0:
419
476
  default:
420
477
  return {};
421
478
  }
422
- }, Oo = (e) => e == null ? "No example" : typeof e == "string" ? e.trim() : JSON.stringify(e, null, 2), To = (e) => e ? e.endsWith("+json") ? "json" : e.endsWith("+xml") ? "xml" : e.endsWith("+yaml") ? "yaml" : {
479
+ }, Po = (e) => e == null ? "No example" : typeof e == "string" ? e.trim() : JSON.stringify(e, null, 2), Co = (e) => e ? e.endsWith("+json") ? "json" : e.endsWith("+xml") ? "xml" : e.endsWith("+yaml") ? "yaml" : {
423
480
  "text/html": "html",
424
481
  "application/x-ndjson": "json",
425
482
  "application/json": "json",
@@ -442,7 +499,7 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
442
499
  br(() => {
443
500
  d && t?.(d);
444
501
  }, [d, t]);
445
- const y = Oo(d), f = To(o?.mediaType);
502
+ const y = Po(d), f = Co(o?.mediaType);
446
503
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
447
504
  /* @__PURE__ */ b.jsxs(ya, { className: "p-0", children: [
448
505
  l?.externalValue ? /* @__PURE__ */ b.jsx("div", { className: "p-2", children: /* @__PURE__ */ b.jsx(
@@ -496,13 +553,13 @@ const Br = (e, n) => e ? n(e) : void 0, bo = (e) => e.schema != null && typeof e
496
553
  ] })
497
554
  ] })
498
555
  ] });
499
- }, Po = ({
556
+ }, qo = ({
500
557
  content: e,
501
558
  onExampleChange: n
502
559
  }) => e.length === 0 ? null : /* @__PURE__ */ b.jsxs($r, { children: [
503
560
  /* @__PURE__ */ b.jsx(wr, { className: "text-xs flex justify-between items-center", children: /* @__PURE__ */ b.jsx("span", { className: "font-mono", children: "Request Body Example" }) }),
504
561
  /* @__PURE__ */ b.jsx(ga, { content: e, onExampleChange: n })
505
- ] }), Co = ({
562
+ ] }), Eo = ({
506
563
  responses: e,
507
564
  selectedResponse: n,
508
565
  onSelectResponse: t
@@ -559,27 +616,27 @@ var Hr = (e, n) => {
559
616
  }, this.indentationCharacter = e || Mr, this.lineJoin = n ?? zr;
560
617
  }
561
618
  }, ht, Wr;
562
- function qo() {
619
+ function Ro() {
563
620
  return Wr || (Wr = 1, ht = function(e) {
564
621
  return Object.prototype.toString.call(e) === "[object RegExp]";
565
622
  }), ht;
566
623
  }
567
624
  var yt, Jr;
568
- function Eo() {
625
+ function ko() {
569
626
  return Jr || (Jr = 1, yt = function(e) {
570
627
  var n = typeof e;
571
628
  return e !== null && (n === "object" || n === "function");
572
629
  }), yt;
573
630
  }
574
631
  var De = {}, Vr;
575
- function Ro() {
632
+ function No() {
576
633
  return Vr || (Vr = 1, Object.defineProperty(De, "__esModule", { value: !0 }), De.default = (e) => Object.getOwnPropertySymbols(e).filter((n) => Object.prototype.propertyIsEnumerable.call(e, n))), De;
577
634
  }
578
635
  var mt, Gr;
579
- function ko() {
636
+ function Ao() {
580
637
  if (Gr) return mt;
581
638
  Gr = 1;
582
- const e = qo(), n = Eo(), t = Ro().default;
639
+ const e = Ro(), n = ko(), t = No().default;
583
640
  return mt = (a, c, s) => {
584
641
  const r = [];
585
642
  return function o(i, l, d) {
@@ -639,14 +696,14 @@ function ko() {
639
696
  }(a, c, s);
640
697
  }, mt;
641
698
  }
642
- var No = ko();
643
- const ue = /* @__PURE__ */ po(No);
699
+ var Io = Ao();
700
+ const ue = /* @__PURE__ */ po(Io);
644
701
  function Be(e, n = {}) {
645
702
  const { delimiter: t = '"', escapeChar: a = "\\", escapeNewlines: c = !0 } = n;
646
703
  return [...e.toString()].map((r) => r === "\b" ? `${a}b` : r === " " ? `${a}t` : r === `
647
704
  ` ? c ? `${a}n` : r : r === "\f" ? `${a}f` : r === "\r" ? c ? `${a}r` : r : r === a ? a + a : r === t ? a + t : r < " " || r > "~" ? JSON.stringify(r).slice(1, -1) : r).join("");
648
705
  }
649
- var He = (e) => Be(e, { delimiter: "'" }), le = (e) => Be(e, { delimiter: '"' }), Ao = {
706
+ var He = (e) => Be(e, { delimiter: "'" }), le = (e) => Be(e, { delimiter: '"' }), Uo = {
650
707
  info: {
651
708
  key: "libcurl",
652
709
  title: "Libcurl",
@@ -662,7 +719,7 @@ var He = (e) => Be(e, { delimiter: "'" }), le = (e) => Be(e, { delimiter: '"' })
662
719
  s(`headers = curl_slist_append(headers, "${l}: ${le(t[l])}");`);
663
720
  }), s("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")), a.cookie && (r(), s(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${a.cookie}");`)), c.text && (r(), s(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(c.text)});`)), r(), s("CURLcode ret = curl_easy_perform(hnd);"), o();
664
721
  }
665
- }, Io = {
722
+ }, Lo = {
666
723
  info: {
667
724
  key: "c",
668
725
  title: "C",
@@ -670,19 +727,19 @@ var He = (e) => Be(e, { delimiter: "'" }), le = (e) => Be(e, { delimiter: '"' })
670
727
  cli: "c"
671
728
  },
672
729
  clientsById: {
673
- libcurl: Ao
730
+ libcurl: Uo
674
731
  }
675
732
  }, fe = (e, n) => Object.keys(e).find((t) => t.toLowerCase() === n.toLowerCase()), ve = (e, n) => {
676
733
  const t = fe(e, n);
677
734
  if (t)
678
735
  return e[t];
679
- }, tt = (e, n) => !!fe(e, n), Uo = (e) => ["application/json", "application/x-json", "text/json", "text/x-json", "+json"].some(
736
+ }, tt = (e, n) => !!fe(e, n), Fo = (e) => ["application/json", "application/x-json", "text/json", "text/x-json", "+json"].some(
680
737
  (n) => e.indexOf(n) > -1
681
738
  ), Dr = class {
682
739
  constructor(e) {
683
740
  this.name = "", this.toString = () => `:${this.name}`, this.name = e;
684
741
  }
685
- }, Lo = class {
742
+ }, _o = class {
686
743
  constructor(e) {
687
744
  this.path = "", this.toString = () => `(clojure.java.io/file "${this.path}")`, this.path = e;
688
745
  }
@@ -719,7 +776,7 @@ ${t}`);
719
776
  default:
720
777
  return e.toString();
721
778
  }
722
- }, Fo = {
779
+ }, Bo = {
723
780
  info: {
724
781
  key: "clj_http",
725
782
  title: "clj-http",
@@ -761,7 +818,7 @@ ${t}`);
761
818
  if (t.params) {
762
819
  l.multipart = t.params.map((y) => y.fileName && !y.value ? {
763
820
  name: y.name,
764
- content: new Lo(y.fileName)
821
+ content: new _o(y.fileName)
765
822
  } : {
766
823
  name: y.name,
767
824
  content: y.value
@@ -790,16 +847,16 @@ ${t}`);
790
847
  }
791
848
  return o();
792
849
  }
793
- }, _o = {
850
+ }, Ho = {
794
851
  info: {
795
852
  key: "clojure",
796
853
  title: "Clojure",
797
854
  default: "clj_http"
798
855
  },
799
856
  clientsById: {
800
- clj_http: Fo
857
+ clj_http: Bo
801
858
  }
802
- }, Bo = (e) => {
859
+ }, Mo = (e) => {
803
860
  let n = ve(e, "accept-encoding");
804
861
  if (!n)
805
862
  return [];
@@ -816,7 +873,7 @@ ${t}`);
816
873
  }
817
874
  });
818
875
  }), a;
819
- }, Ho = {
876
+ }, zo = {
820
877
  info: {
821
878
  key: "httpclient",
822
879
  title: "HttpClient",
@@ -831,7 +888,7 @@ ${t}`);
831
888
  }, { push: r, join: o } = new G({ indent: s.indent });
832
889
  r("using System.Net.Http.Headers;");
833
890
  let i = "";
834
- const l = !!e.cookie, d = Bo(e);
891
+ const l = !!e.cookie, d = Mo(e);
835
892
  (l || d.length) && (i = "clientHandler", r("var clientHandler = new HttpClientHandler"), r("{"), l && r("UseCookies = false,", 1), d.length && r(`AutomaticDecompression = ${d.join(" | ")},`, 1), r("};")), r(`var client = new HttpClient(${i});`), r("var request = new HttpRequestMessage"), r("{");
836
893
  const y = ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS", "TRACE"];
837
894
  t = t.toUpperCase(), t && y.includes(t) ? t = `HttpMethod.${t[0]}${t.substring(1).toLowerCase()}` : t = `new HttpMethod("${t}")`, r(`Method = ${t},`, 1), r(`RequestUri = new Uri("${a}"),`, 1);
@@ -868,10 +925,10 @@ ${t}`);
868
925
  return r("};"), r("using (var response = await client.SendAsync(request))"), r("{"), r("response.EnsureSuccessStatusCode();", 1), r("var body = await response.Content.ReadAsStringAsync();", 1), r("Console.WriteLine(body);", 1), r("}"), o();
869
926
  }
870
927
  };
871
- function Mo(e) {
928
+ function Wo(e) {
872
929
  return e[0].toUpperCase() + e.slice(1).toLowerCase();
873
930
  }
874
- var zo = {
931
+ var Jo = {
875
932
  info: {
876
933
  key: "restsharp",
877
934
  title: "RestSharp",
@@ -921,11 +978,11 @@ var zo = {
921
978
  if (!c.text) break;
922
979
  r(`request.AddStringBody("${c.text}", "${c.mimeType}");`);
923
980
  }
924
- return r(`var response = await client.${Mo(e)}Async(request);
981
+ return r(`var response = await client.${Wo(e)}Async(request);
925
982
  `), r(`Console.WriteLine("{0}", response.Content);
926
983
  `), o();
927
984
  }
928
- }, Wo = {
985
+ }, Vo = {
929
986
  info: {
930
987
  key: "csharp",
931
988
  title: "C#",
@@ -933,10 +990,10 @@ var zo = {
933
990
  cli: "dotnet"
934
991
  },
935
992
  clientsById: {
936
- httpclient: Ho,
937
- restsharp: zo
993
+ httpclient: zo,
994
+ restsharp: Jo
938
995
  }
939
- }, Jo = {
996
+ }, Go = {
940
997
  info: {
941
998
  key: "native",
942
999
  title: "NewRequest",
@@ -954,7 +1011,7 @@ var zo = {
954
1011
  r(`req.Header.Add("${v}", "${le(t[v])}")`, h);
955
1012
  }), s()), r(`res, ${f} := ${m}.Do(req)`, h), x(), d && (s(), r("defer res.Body.Close()", h), r(`body, ${f} := io.ReadAll(res.Body)`, h), x()), s(), d && r("fmt.Println(string(body))", h), i && (s(), r("}")), o();
956
1013
  }
957
- }, Vo = {
1014
+ }, Do = {
958
1015
  info: {
959
1016
  key: "go",
960
1017
  title: "Go",
@@ -962,10 +1019,10 @@ var zo = {
962
1019
  cli: "go"
963
1020
  },
964
1021
  clientsById: {
965
- native: Jo
1022
+ native: Go
966
1023
  }
967
1024
  }, Kr = `\r
968
- `, Go = {
1025
+ `, Qo = {
969
1026
  info: {
970
1027
  key: "http1.1",
971
1028
  title: "HTTP/1.1",
@@ -993,16 +1050,16 @@ var zo = {
993
1050
  const h = d(), x = s.text || "";
994
1051
  return `${h}${Kr}${x}`;
995
1052
  }
996
- }, Do = {
1053
+ }, Ko = {
997
1054
  info: {
998
1055
  key: "http",
999
1056
  title: "HTTP",
1000
1057
  default: "http1.1"
1001
1058
  },
1002
1059
  clientsById: {
1003
- "http1.1": Go
1060
+ "http1.1": Qo
1004
1061
  }
1005
- }, Qo = {
1062
+ }, Yo = {
1006
1063
  info: {
1007
1064
  key: "asynchttp",
1008
1065
  title: "AsyncHttp",
@@ -1019,7 +1076,7 @@ var zo = {
1019
1076
  o(`.setHeader("${l}", "${le(n[l])}")`, 1);
1020
1077
  }), t.text && o(`.setBody(${JSON.stringify(t.text)})`, 1), o(".execute()", 1), o(".toCompletableFuture()", 1), o(".thenAccept(System.out::println)", 1), o(".join();", 1), r(), o("client.close();"), i();
1021
1078
  }
1022
- }, Ko = {
1079
+ }, Xo = {
1023
1080
  info: {
1024
1081
  key: "nethttp",
1025
1082
  title: "java.net.http",
@@ -1041,7 +1098,7 @@ var zo = {
1041
1098
  "HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"
1042
1099
  ), r("System.out.println(response.body());"), o();
1043
1100
  }
1044
- }, Yo = {
1101
+ }, Zo = {
1045
1102
  info: {
1046
1103
  key: "okhttp",
1047
1104
  title: "OkHttp",
@@ -1058,7 +1115,7 @@ var zo = {
1058
1115
  r(`.addHeader("${y}", "${le(a[y])}")`, 1);
1059
1116
  }), r(".build();", 1), o(), r("Response response = client.newCall(request).execute();"), i();
1060
1117
  }
1061
- }, Xo = {
1118
+ }, ei = {
1062
1119
  info: {
1063
1120
  key: "unirest",
1064
1121
  title: "Unirest",
@@ -1075,19 +1132,19 @@ var zo = {
1075
1132
  o(`.header("${l}", "${le(n[l])}")`, 1);
1076
1133
  }), t.text && o(`.body(${JSON.stringify(t.text)})`, 1), o(".asString();", 1), r();
1077
1134
  }
1078
- }, Zo = {
1135
+ }, ti = {
1079
1136
  info: {
1080
1137
  key: "java",
1081
1138
  title: "Java",
1082
1139
  default: "unirest"
1083
1140
  },
1084
1141
  clientsById: {
1085
- asynchttp: Qo,
1086
- nethttp: Ko,
1087
- okhttp: Yo,
1088
- unirest: Xo
1142
+ asynchttp: Yo,
1143
+ nethttp: Xo,
1144
+ okhttp: Zo,
1145
+ unirest: ei
1089
1146
  }
1090
- }, ei = {
1147
+ }, ri = {
1091
1148
  info: {
1092
1149
  key: "axios",
1093
1150
  title: "Axios",
@@ -1131,7 +1188,7 @@ var zo = {
1131
1188
  }).replace('"[form]"', "form");
1132
1189
  return i(`const options = ${f};`), o(), i("axios"), i(".request(options)", 1), i(".then(function (response) {", 1), i("console.log(response.data);", 2), i("})", 1), i(".catch(function (error) {", 1), i("console.error(error);", 2), i("});", 1), l();
1133
1190
  }
1134
- }, ti = {
1191
+ }, ni = {
1135
1192
  info: {
1136
1193
  key: "fetch",
1137
1194
  title: "fetch",
@@ -1184,7 +1241,7 @@ var zo = {
1184
1241
  })};`
1185
1242
  ), r(), t.params && t.mimeType === "multipart/form-data" && (i("options.body = form;"), r()), i(`fetch('${a}', options)`), i(".then(response => response.json())", 1), i(".then(response => console.log(response))", 1), i(".catch(err => console.error(err));", 1), o();
1186
1243
  }
1187
- }, ri = {
1244
+ }, ai = {
1188
1245
  info: {
1189
1246
  key: "jquery",
1190
1247
  title: "jQuery",
@@ -1227,7 +1284,7 @@ var zo = {
1227
1284
  const d = ue(l, { indent: s.indent }).replace("'[form]'", "form");
1228
1285
  return o(`const settings = ${d};`), r(), o("$.ajax(settings).done(function (response) {"), o("console.log(response);", 1), o("});"), i();
1229
1286
  }
1230
- }, ni = {
1287
+ }, oi = {
1231
1288
  info: {
1232
1289
  key: "xhr",
1233
1290
  title: "XMLHttpRequest",
@@ -1267,19 +1324,19 @@ var zo = {
1267
1324
  o(`xhr.setRequestHeader('${l}', '${He(n[l])}');`);
1268
1325
  }), r(), o("xhr.send(data);"), i();
1269
1326
  }
1270
- }, ai = {
1327
+ }, ii = {
1271
1328
  info: {
1272
1329
  key: "javascript",
1273
1330
  title: "JavaScript",
1274
1331
  default: "xhr"
1275
1332
  },
1276
1333
  clientsById: {
1277
- xhr: ni,
1278
- axios: ei,
1279
- fetch: ti,
1280
- jquery: ri
1334
+ xhr: oi,
1335
+ axios: ri,
1336
+ fetch: ni,
1337
+ jquery: ai
1281
1338
  }
1282
- }, oi = {
1339
+ }, si = {
1283
1340
  info: {
1284
1341
  key: "native",
1285
1342
  title: "Native JSON",
@@ -1313,16 +1370,16 @@ var zo = {
1313
1370
  }
1314
1371
  return typeof a > "u" || a === "" ? "No JSON body" : JSON.stringify(a, null, t.indent);
1315
1372
  }
1316
- }, ii = {
1373
+ }, li = {
1317
1374
  info: {
1318
1375
  key: "json",
1319
1376
  title: "JSON",
1320
1377
  default: "native"
1321
1378
  },
1322
1379
  clientsById: {
1323
- native: oi
1380
+ native: si
1324
1381
  }
1325
- }, si = {
1382
+ }, ci = {
1326
1383
  info: {
1327
1384
  key: "okhttp",
1328
1385
  title: "OkHttp",
@@ -1339,16 +1396,16 @@ var zo = {
1339
1396
  i(`.addHeader("${y}", "${le(a[y])}")`, 1);
1340
1397
  }), i(".build()", 1), r(), i("val response = client.newCall(request).execute()"), o();
1341
1398
  }
1342
- }, li = {
1399
+ }, ui = {
1343
1400
  info: {
1344
1401
  key: "kotlin",
1345
1402
  title: "Kotlin",
1346
1403
  default: "okhttp"
1347
1404
  },
1348
1405
  clientsById: {
1349
- okhttp: si
1406
+ okhttp: ci
1350
1407
  }
1351
- }, ci = {
1408
+ }, fi = {
1352
1409
  info: {
1353
1410
  key: "axios",
1354
1411
  title: "Axios",
@@ -1382,7 +1439,7 @@ var zo = {
1382
1439
  const y = ue(d, { indent: " ", inlineCharacterLimit: 80 });
1383
1440
  return i(`const options = ${y};`), r(), i("axios"), i(".request(options)", 1), i(".then(function (response) {", 1), i("console.log(response.data);", 2), i("})", 1), i(".catch(function (error) {", 1), i("console.error(error);", 2), i("});", 1), o();
1384
1441
  }
1385
- }, ui = {
1442
+ }, pi = {
1386
1443
  info: {
1387
1444
  key: "fetch",
1388
1445
  title: "Fetch",
@@ -1441,7 +1498,7 @@ var zo = {
1441
1498
  });
1442
1499
  return l(`const options = ${x};`), i(), o && y("const fs = require('fs');"), t.params && t.mimeType === "multipart/form-data" && (l("options.body = formData;"), i()), l("fetch(url, options)"), l(".then(res => res.json())", 1), l(".then(json => console.log(json))", 1), l(".catch(err => console.error('error:' + err));", 1), d().replace(/'encodedParams'/, "encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/, 'fs.createReadStream("$1")');
1443
1500
  }
1444
- }, fi = {
1501
+ }, di = {
1445
1502
  info: {
1446
1503
  key: "native",
1447
1504
  title: "HTTP",
@@ -1479,7 +1536,7 @@ var zo = {
1479
1536
  }
1480
1537
  return i("req.end();"), o();
1481
1538
  }
1482
- }, pi = {
1539
+ }, hi = {
1483
1540
  info: {
1484
1541
  key: "request",
1485
1542
  title: "Request",
@@ -1532,7 +1589,7 @@ var zo = {
1532
1589
  l(`jar.setCookie(request.cookie('${encodeURIComponent($)}=${encodeURIComponent(u)}'), '${n}');`);
1533
1590
  }), d(), h(($) => $.replace(/'JAR'/, "jar"))), i && f("const fs = require('fs');"), l(`const options = ${ue(x, { indent: " ", inlineCharacterLimit: 80 })};`), d(), l("request(options, function (error, response, body) {"), l("if (error) throw new Error(error);", 1), d(), l("console.log(body);", 1), l("});"), y();
1534
1591
  }
1535
- }, di = {
1592
+ }, yi = {
1536
1593
  info: {
1537
1594
  key: "unirest",
1538
1595
  title: "Unirest",
@@ -1573,7 +1630,7 @@ var zo = {
1573
1630
  }
1574
1631
  return i && h("const fs = require('fs');"), f("req.end(function (res) {"), f("if (res.error) throw new Error(res.error);", 1), d(), f("console.log(res.body);", 1), f("});"), y();
1575
1632
  }
1576
- }, hi = {
1633
+ }, mi = {
1577
1634
  info: {
1578
1635
  key: "node",
1579
1636
  title: "Node.js",
@@ -1581,11 +1638,11 @@ var zo = {
1581
1638
  cli: "node %s"
1582
1639
  },
1583
1640
  clientsById: {
1584
- native: fi,
1585
- request: pi,
1586
- unirest: di,
1587
- axios: ci,
1588
- fetch: ui
1641
+ native: di,
1642
+ request: hi,
1643
+ unirest: yi,
1644
+ axios: fi,
1645
+ fetch: pi
1589
1646
  }
1590
1647
  }, gt = (e, n, t, a) => {
1591
1648
  const c = `${e} *${n} = `, s = mr(t, a ? c.length : void 0);
@@ -1609,7 +1666,7 @@ var zo = {
1609
1666
  default:
1610
1667
  return e == null ? "" : `@"${e.toString().replace(/"/g, '\\"')}"`;
1611
1668
  }
1612
- }, yi = {
1669
+ }, gi = {
1613
1670
  info: {
1614
1671
  key: "nsurlsession",
1615
1672
  title: "NSURLSession",
@@ -1665,16 +1722,16 @@ var zo = {
1665
1722
  2
1666
1723
  ), r(' NSLog(@"%@", httpResponse);', 2), r(" }", 1), r(" }];"), r("[dataTask resume];"), o();
1667
1724
  }
1668
- }, mi = {
1725
+ }, vi = {
1669
1726
  info: {
1670
1727
  key: "objc",
1671
1728
  title: "Objective-C",
1672
1729
  default: "nsurlsession"
1673
1730
  },
1674
1731
  clientsById: {
1675
- nsurlsession: yi
1732
+ nsurlsession: gi
1676
1733
  }
1677
- }, gi = {
1734
+ }, bi = {
1678
1735
  info: {
1679
1736
  key: "cohttp",
1680
1737
  title: "CoHTTP",
@@ -1700,14 +1757,14 @@ var zo = {
1700
1757
  const y = d.length ? "~headers " : "", f = t.text ? "~body " : "", h = r.includes(a.toLowerCase()) ? `\`${a.toUpperCase()}` : `(Code.method_of_string "${a}")`;
1701
1758
  return o(`Client.call ${y}${f}${h} uri`), o(">>= fun (res, body_stream) ->"), o("(* Do stuff with the result *)", 1), l();
1702
1759
  }
1703
- }, vi = {
1760
+ }, xi = {
1704
1761
  info: {
1705
1762
  key: "ocaml",
1706
1763
  title: "OCaml",
1707
1764
  default: "cohttp"
1708
1765
  },
1709
1766
  clientsById: {
1710
- cohttp: gi
1767
+ cohttp: bi
1711
1768
  }
1712
1769
  }, te = (e, n, t) => {
1713
1770
  switch (t = t || "", n = n || "", Object.prototype.toString.call(e)) {
@@ -1768,7 +1825,7 @@ ${t}]`;
1768
1825
  "UNLOCK",
1769
1826
  "UPDATE",
1770
1827
  "VERSION_CONTROL"
1771
- ], bi = {
1828
+ ], $i = {
1772
1829
  info: {
1773
1830
  key: "curl",
1774
1831
  title: "cURL",
@@ -1837,8 +1894,8 @@ ${t}]`;
1837
1894
  $("curl_setopt_array($curl, [");
1838
1895
  const S = new G({ indent: l, join: `
1839
1896
  ${l}` });
1840
- v.forEach(({ value: O, name: g, escape: k }) => {
1841
- O != null && S.push(`${g} => ${k ? JSON.stringify(O) : O},`);
1897
+ v.forEach(({ value: O, name: g, escape: R }) => {
1898
+ O != null && S.push(`${g} => ${R ? JSON.stringify(O) : O},`);
1842
1899
  });
1843
1900
  const T = s.map((O) => `${encodeURIComponent(O.name)}=${encodeURIComponent(O.value)}`);
1844
1901
  T.length && S.push(`CURLOPT_COOKIE => "${T.join("; ")}",`);
@@ -1846,7 +1903,7 @@ ${l}` });
1846
1903
  return p.length && (S.push("CURLOPT_HTTPHEADER => ["), S.push(p.join(`,
1847
1904
  ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = curl_exec($curl);"), $("$err = curl_error($curl);"), u(), $("curl_close($curl);"), u(), $("if ($err) {"), $(y ? 'echo array_flip(get_defined_constants(true)["curl"])[$err];' : 'echo "cURL Error #:" . $err;', 1), $("} else {"), $("echo $response;", 1), $("}"), !f && i && (u(), $("?>")), m();
1848
1905
  }
1849
- }, xi = {
1906
+ }, wi = {
1850
1907
  info: {
1851
1908
  key: "guzzle",
1852
1909
  title: "Guzzle",
@@ -1896,7 +1953,7 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
1896
1953
  return x.length && h.push(`${r.indent}${r.indent}'cookie' => '${He(x)}',`), h.length && (y("'headers' => [", 1), y(h.join(`
1897
1954
  `)), y("],", 1)), o("$client = new \\GuzzleHttp\\Client();"), i(), d.length ? (o(`$response = $client->request('${t}', '${n}', [`), o(f()), o("]);")) : o(`$response = $client->request('${t}', '${n}');`), i(), o("echo $response->getBody();"), !r.noTags && r.closingTag && (i(), o("?>")), l();
1898
1955
  }
1899
- }, $i = {
1956
+ }, ji = {
1900
1957
  info: {
1901
1958
  key: "http1",
1902
1959
  title: "HTTP v1",
@@ -1918,7 +1975,7 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
1918
1975
  }
1919
1976
  return y("try {"), y("$response = $request->send();", 1), f(), y("echo $response->getBody();", 1), y("} catch (HttpException $ex) {"), y("echo $ex;", 1), y("}"), !l && o && (f(), y("?>")), h();
1920
1977
  }
1921
- }, wi = {
1978
+ }, Si = {
1922
1979
  info: {
1923
1980
  key: "http2",
1924
1981
  title: "HTTP v2",
@@ -1965,7 +2022,7 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
1965
2022
  }
1966
2023
  return y(`$request->setRequestUrl(${te(s)});`), y(`$request->setRequestMethod(${te(t)});`), x && (y("$request->setBody($body);"), f()), Object.keys(a).length && (y(`$request->setQuery(new http\\QueryString(${te(a, i)}));`), f()), Object.keys(n).length && (y(`$request->setHeaders(${te(n, i)});`), f()), Object.keys(c).length && (f(), y(`$client->setCookies(${te(c, i)});`), f()), y("$client->enqueue($request)->send();"), y("$response = $client->getResponse();"), f(), y("echo $response->getBody();"), !l && o && (f(), y("?>")), h();
1967
2024
  }
1968
- }, ji = {
2025
+ }, Oi = {
1969
2026
  info: {
1970
2027
  key: "php",
1971
2028
  title: "PHP",
@@ -1973,10 +2030,10 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
1973
2030
  cli: "php %s"
1974
2031
  },
1975
2032
  clientsById: {
1976
- curl: bi,
1977
- guzzle: xi,
1978
- http1: $i,
1979
- http2: wi
2033
+ curl: $i,
2034
+ guzzle: wi,
2035
+ http1: ji,
2036
+ http2: Si
1980
2037
  }
1981
2038
  }, xa = (e) => ({ method: t, headersObj: a, cookies: c, uriObj: s, fullUrl: r, postData: o, allHeaders: i }) => {
1982
2039
  const { push: l, join: d } = new G();
@@ -1990,7 +2047,7 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
1990
2047
  }), f.push("-WebSession $session")), o.text && (f.push(
1991
2048
  `-ContentType '${Be(ve(i, "content-type"), { delimiter: "'", escapeChar: "`" })}'`
1992
2049
  ), f.push(`-Body '${o.text}'`)), l(`$response = ${e} -Uri '${r}' -Method ${t} ${f.join(" ")}`.trim()), d();
1993
- }, Si = {
2050
+ }, Ti = {
1994
2051
  info: {
1995
2052
  key: "restmethod",
1996
2053
  title: "Invoke-RestMethod",
@@ -1999,7 +2056,7 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
1999
2056
  extname: ".ps1"
2000
2057
  },
2001
2058
  convert: xa("Invoke-RestMethod")
2002
- }, Oi = {
2059
+ }, Pi = {
2003
2060
  info: {
2004
2061
  key: "webrequest",
2005
2062
  title: "Invoke-WebRequest",
@@ -2008,15 +2065,15 @@ ${l}${l}`), 1), S.push("],")), $(S.join(), 1), $("]);"), u(), $("$response = cur
2008
2065
  extname: ".ps1"
2009
2066
  },
2010
2067
  convert: xa("Invoke-WebRequest")
2011
- }, Ti = {
2068
+ }, Ci = {
2012
2069
  info: {
2013
2070
  key: "powershell",
2014
2071
  title: "Powershell",
2015
2072
  default: "webrequest"
2016
2073
  },
2017
2074
  clientsById: {
2018
- webrequest: Oi,
2019
- restmethod: Si
2075
+ webrequest: Pi,
2076
+ restmethod: Ti
2020
2077
  }
2021
2078
  };
2022
2079
  function Xr(e, n, t, a, c) {
@@ -2048,7 +2105,7 @@ var Ae = (e, n, t) => {
2048
2105
  default:
2049
2106
  return e == null ? "" : `"${e.toString().replace(/"/g, '\\"')}"`;
2050
2107
  }
2051
- }, Pi = ["HEAD", "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], Ci = {
2108
+ }, qi = ["HEAD", "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"], Ei = {
2052
2109
  info: {
2053
2110
  key: "requests",
2054
2111
  title: "Requests",
@@ -2111,10 +2168,10 @@ var Ae = (e, n, t) => {
2111
2168
  r(v !== u ? `"${S}": "${le(d[S])}",` : `"${S}": "${le(d[S])}"`, 1), v += 1;
2112
2169
  }), r("}"), o();
2113
2170
  }
2114
- let m = Pi.includes(a) ? `response = requests.${a.toLowerCase()}(url` : `response = requests.request("${a}", url`;
2171
+ let m = qi.includes(a) ? `response = requests.${a.toLowerCase()}(url` : `response = requests.request("${a}", url`;
2115
2172
  return x && ($ ? m += ", json=payload" : m += ", data=payload"), h && (m += ", files=files"), u > 0 && (m += ", headers=headers"), m += ")", r(m), o(), r("print(response.text)"), i();
2116
2173
  }
2117
- }, qi = {
2174
+ }, Ri = {
2118
2175
  info: {
2119
2176
  key: "python",
2120
2177
  title: "Python",
@@ -2122,9 +2179,9 @@ var Ae = (e, n, t) => {
2122
2179
  cli: "python3 %s"
2123
2180
  },
2124
2181
  clientsById: {
2125
- requests: Ci
2182
+ requests: Ei
2126
2183
  }
2127
- }, Ei = {
2184
+ }, ki = {
2128
2185
  info: {
2129
2186
  key: "httr",
2130
2187
  title: "httr",
@@ -2163,16 +2220,16 @@ var Ae = (e, n, t) => {
2163
2220
  const T = [v, u, $, x].filter((p) => !!p).join(", ");
2164
2221
  return T && (S += `, ${T}`), (a.text || a.jsonObj || a.params) && (S += ", encode = encode"), S += ")", r(S), o(), r('content(response, "text")'), i();
2165
2222
  }
2166
- }, Ri = {
2223
+ }, Ni = {
2167
2224
  info: {
2168
2225
  key: "r",
2169
2226
  title: "R",
2170
2227
  default: "httr"
2171
2228
  },
2172
2229
  clientsById: {
2173
- httr: Ei
2230
+ httr: ki
2174
2231
  }
2175
- }, ki = {
2232
+ }, Ai = {
2176
2233
  info: {
2177
2234
  key: "native",
2178
2235
  title: "net::http",
@@ -2203,16 +2260,16 @@ var Ae = (e, n, t) => {
2203
2260
  s(`request["${f}"] = '${He(c[f])}'`);
2204
2261
  }), a.text && s(`request.body = ${JSON.stringify(a.text)}`), r(), s("response = http.request(request)"), s("puts response.read_body"), o();
2205
2262
  }
2206
- }, Ni = {
2263
+ }, Ii = {
2207
2264
  info: {
2208
2265
  key: "ruby",
2209
2266
  title: "Ruby",
2210
2267
  default: "native"
2211
2268
  },
2212
2269
  clientsById: {
2213
- native: ki
2270
+ native: Ai
2214
2271
  }
2215
- }, ce = (e = "") => /^[a-z0-9-_/.@%^=:]+$/i.test(e) ? e : `'${e.replace(/'/g, "'\\''")}'`, Ai = (e) => e.replace(/\r/g, "\\r").replace(/\n/g, "\\n"), Ii = {
2272
+ }, ce = (e = "") => /^[a-z0-9-_/.@%^=:]+$/i.test(e) ? e : `'${e.replace(/'/g, "'\\''")}'`, Ui = (e) => e.replace(/\r/g, "\\r").replace(/\n/g, "\\n"), Li = {
2216
2273
  "http1.0": "0",
2217
2274
  "url ": "",
2218
2275
  cookie: "b",
@@ -2222,13 +2279,13 @@ var Ae = (e, n, t) => {
2222
2279
  header: "H",
2223
2280
  insecure: "k",
2224
2281
  request: "X"
2225
- }, Ui = (e) => (n) => {
2282
+ }, Fi = (e) => (n) => {
2226
2283
  if (e) {
2227
- const t = Ii[n];
2284
+ const t = Li[n];
2228
2285
  return t ? `-${t}` : "";
2229
2286
  }
2230
2287
  return `--${n}`;
2231
- }, Li = {
2288
+ }, _i = {
2232
2289
  info: {
2233
2290
  key: "curl",
2234
2291
  title: "cURL",
@@ -2241,7 +2298,7 @@ var Ae = (e, n, t) => {
2241
2298
  ...typeof o == "string" ? { indent: o } : {},
2242
2299
  join: o !== !1 ? ` \\
2243
2300
  ${o}` : " "
2244
- }), x = Ui(i);
2301
+ }), x = Fi(i);
2245
2302
  let $ = ce(e);
2246
2303
  if (f(`curl ${x("request")} ${n}`), d && ($ = unescape($), f(x("globoff"))), f(`${x("url ")}${$}`), t === "HTTP/1.0" && f(x("http1.0")), ve(c, "accept-encoding") && f("--compressed"), s.mimeType === "multipart/form-data") {
2247
2304
  const u = fe(a, "content-type");
@@ -2273,7 +2330,7 @@ ${o}` : " "
2273
2330
  if (!s.text)
2274
2331
  break;
2275
2332
  let u = !1;
2276
- if (Uo(s.mimeType) && s.text.length > 20)
2333
+ if (Fo(s.mimeType) && s.text.length > 20)
2277
2334
  try {
2278
2335
  const m = JSON.parse(s.text);
2279
2336
  u = !0, s.text.indexOf("'") > 0 ? f(
@@ -2295,7 +2352,7 @@ ${JSON.stringify(m, null, y)}
2295
2352
  }
2296
2353
  return h();
2297
2354
  }
2298
- }, Fi = {
2355
+ }, Bi = {
2299
2356
  info: {
2300
2357
  key: "httpie",
2301
2358
  title: "HTTPie",
@@ -2344,7 +2401,7 @@ ${o.indent}` : " "
2344
2401
  }
2345
2402
  return l();
2346
2403
  }
2347
- }, _i = {
2404
+ }, Hi = {
2348
2405
  info: {
2349
2406
  key: "wget",
2350
2407
  title: "Wget",
@@ -2366,9 +2423,9 @@ ${s.indent}` : " "
2366
2423
  return s.verbose ? r(`wget ${s.short ? "-v" : "--verbose"}`) : r(`wget ${s.short ? "-q" : "--quiet"}`), r(`--method ${ce(e)}`), Object.keys(t).forEach((i) => {
2367
2424
  const l = `${i}: ${t[i]}`;
2368
2425
  r(`--header ${ce(l)}`);
2369
- }), n.text && r(`--body-data ${Ai(ce(n.text))}`), r(s.short ? "-O" : "--output-document"), r(`- ${ce(a)}`), o();
2426
+ }), n.text && r(`--body-data ${Ui(ce(n.text))}`), r(s.short ? "-O" : "--output-document"), r(`- ${ce(a)}`), o();
2370
2427
  }
2371
- }, Bi = {
2428
+ }, Mi = {
2372
2429
  info: {
2373
2430
  key: "shell",
2374
2431
  title: "Shell",
@@ -2376,9 +2433,9 @@ ${s.indent}` : " "
2376
2433
  cli: "%s"
2377
2434
  },
2378
2435
  clientsById: {
2379
- curl: Li,
2380
- httpie: Fi,
2381
- wget: _i
2436
+ curl: _i,
2437
+ httpie: Bi,
2438
+ wget: Hi
2382
2439
  }
2383
2440
  }, Zr = (e, n) => n.repeat(e), en = (e, n, t, a) => {
2384
2441
  const c = Zr(a, t), s = Zr(a - 1, t), r = n ? `,
@@ -2413,7 +2470,7 @@ ${s}]` : `[${e.join(r)}]`;
2413
2470
  default:
2414
2471
  return e == null ? "nil" : `"${e.toString().replace(/"/g, '\\"')}"`;
2415
2472
  }
2416
- }, Hi = {
2473
+ }, zi = {
2417
2474
  info: {
2418
2475
  key: "urlsession",
2419
2476
  title: "URLSession",
@@ -2463,39 +2520,39 @@ ${s}]` : `[${e.join(r)}]`;
2463
2520
  }
2464
2521
  }), o("]"), o("components.queryItems = components.queryItems.map { $0 + queryItems } ?? queryItems"), i(), o("var request = URLRequest(url: components.url!)")), o(`request.httpMethod = "${c}"`), o(`request.timeoutInterval = ${r.timeout}`), Object.keys(e).length && o(`request.allHTTPHeaderFields = ${Ze(e, r)}`), d && o("request.httpBody = postData"), i(), o("let (data, _) = try await URLSession.shared.data(for: request)"), o("print(String(decoding: data, as: UTF8.self))"), l();
2465
2522
  }
2466
- }, Mi = {
2523
+ }, Wi = {
2467
2524
  info: {
2468
2525
  key: "swift",
2469
2526
  title: "Swift",
2470
2527
  default: "urlsession"
2471
2528
  },
2472
2529
  clientsById: {
2473
- urlsession: Hi
2530
+ urlsession: zi
2474
2531
  }
2475
- }, zi = {
2476
- c: Io,
2477
- clojure: _o,
2478
- csharp: Wo,
2479
- go: Vo,
2480
- http: Do,
2481
- java: Zo,
2482
- javascript: ai,
2483
- json: ii,
2484
- kotlin: li,
2485
- node: hi,
2486
- objc: mi,
2487
- ocaml: vi,
2488
- php: ji,
2489
- powershell: Ti,
2490
- python: qi,
2491
- r: Ri,
2492
- ruby: Ni,
2493
- shell: Bi,
2494
- swift: Mi
2532
+ }, Ji = {
2533
+ c: Lo,
2534
+ clojure: Ho,
2535
+ csharp: Vo,
2536
+ go: Do,
2537
+ http: Ko,
2538
+ java: ti,
2539
+ javascript: ii,
2540
+ json: li,
2541
+ kotlin: ui,
2542
+ node: mi,
2543
+ objc: vi,
2544
+ ocaml: xi,
2545
+ php: Oi,
2546
+ powershell: Ci,
2547
+ python: Ri,
2548
+ r: Ni,
2549
+ ruby: Ii,
2550
+ shell: Mi,
2551
+ swift: Wi
2495
2552
  }, Ce = {}, Le = { exports: {} };
2496
2553
  /*! https://mths.be/punycode v1.4.1 by @mathias */
2497
- var Wi = Le.exports, rn;
2498
- function Ji() {
2554
+ var Vi = Le.exports, rn;
2555
+ function Gi() {
2499
2556
  return rn || (rn = 1, function(e, n) {
2500
2557
  (function(t) {
2501
2558
  var a = n && !n.nodeType && n, c = e && !e.nodeType && e, s = typeof Ye == "object" && Ye;
@@ -2505,80 +2562,80 @@ function Ji() {
2505
2562
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2506
2563
  "invalid-input": "Invalid input"
2507
2564
  }, T = i - l, p = Math.floor, O = String.fromCharCode, g;
2508
- function k(E) {
2509
- throw new RangeError(S[E]);
2565
+ function R(q) {
2566
+ throw new RangeError(S[q]);
2510
2567
  }
2511
- function R(E, N) {
2512
- for (var L = E.length, C = []; L--; )
2513
- C[L] = N(E[L]);
2568
+ function E(q, N) {
2569
+ for (var F = q.length, C = []; F--; )
2570
+ C[F] = N(q[F]);
2514
2571
  return C;
2515
2572
  }
2516
- function q(E, N) {
2517
- var L = E.split("@"), C = "";
2518
- L.length > 1 && (C = L[0] + "@", E = L[1]), E = E.replace(v, ".");
2519
- var U = E.split("."), J = R(U, N).join(".");
2573
+ function k(q, N) {
2574
+ var F = q.split("@"), C = "";
2575
+ F.length > 1 && (C = F[0] + "@", q = F[1]), q = q.replace(v, ".");
2576
+ var L = q.split("."), J = E(L, N).join(".");
2520
2577
  return C + J;
2521
2578
  }
2522
- function B(E) {
2523
- for (var N = [], L = 0, C = E.length, U, J; L < C; )
2524
- U = E.charCodeAt(L++), U >= 55296 && U <= 56319 && L < C ? (J = E.charCodeAt(L++), (J & 64512) == 56320 ? N.push(((U & 1023) << 10) + (J & 1023) + 65536) : (N.push(U), L--)) : N.push(U);
2579
+ function U(q) {
2580
+ for (var N = [], F = 0, C = q.length, L, J; F < C; )
2581
+ L = q.charCodeAt(F++), L >= 55296 && L <= 56319 && F < C ? (J = q.charCodeAt(F++), (J & 64512) == 56320 ? N.push(((L & 1023) << 10) + (J & 1023) + 65536) : (N.push(L), F--)) : N.push(L);
2525
2582
  return N;
2526
2583
  }
2527
- function P(E) {
2528
- return R(E, function(N) {
2529
- var L = "";
2530
- return N > 65535 && (N -= 65536, L += O(N >>> 10 & 1023 | 55296), N = 56320 | N & 1023), L += O(N), L;
2584
+ function P(q) {
2585
+ return E(q, function(N) {
2586
+ var F = "";
2587
+ return N > 65535 && (N -= 65536, F += O(N >>> 10 & 1023 | 55296), N = 56320 | N & 1023), F += O(N), F;
2531
2588
  }).join("");
2532
2589
  }
2533
- function oe(E) {
2534
- return E - 48 < 10 ? E - 22 : E - 65 < 26 ? E - 65 : E - 97 < 26 ? E - 97 : i;
2590
+ function oe(q) {
2591
+ return q - 48 < 10 ? q - 22 : q - 65 < 26 ? q - 65 : q - 97 < 26 ? q - 97 : i;
2535
2592
  }
2536
- function H(E, N) {
2537
- return E + 22 + 75 * (E < 26) - ((N != 0) << 5);
2593
+ function H(q, N) {
2594
+ return q + 22 + 75 * (q < 26) - ((N != 0) << 5);
2538
2595
  }
2539
- function D(E, N, L) {
2596
+ function D(q, N, F) {
2540
2597
  var C = 0;
2541
- for (E = L ? p(E / f) : E >> 1, E += p(E / N); E > T * d >> 1; C += i)
2542
- E = p(E / T);
2543
- return p(C + (T + 1) * E / (E + y));
2598
+ for (q = F ? p(q / f) : q >> 1, q += p(q / N); q > T * d >> 1; C += i)
2599
+ q = p(q / T);
2600
+ return p(C + (T + 1) * q / (q + y));
2544
2601
  }
2545
- function se(E) {
2546
- var N = [], L = E.length, C, U = 0, J = x, z = h, K, ne, V, I, F, _, Q, W, Y;
2547
- for (K = E.lastIndexOf($), K < 0 && (K = 0), ne = 0; ne < K; ++ne)
2548
- E.charCodeAt(ne) >= 128 && k("not-basic"), N.push(E.charCodeAt(ne));
2549
- for (V = K > 0 ? K + 1 : 0; V < L; ) {
2550
- for (I = U, F = 1, _ = i; V >= L && k("invalid-input"), Q = oe(E.charCodeAt(V++)), (Q >= i || Q > p((o - U) / F)) && k("overflow"), U += Q * F, W = _ <= z ? l : _ >= z + d ? d : _ - z, !(Q < W); _ += i)
2551
- Y = i - W, F > p(o / Y) && k("overflow"), F *= Y;
2552
- C = N.length + 1, z = D(U - I, C, I == 0), p(U / C) > o - J && k("overflow"), J += p(U / C), U %= C, N.splice(U++, 0, J);
2602
+ function se(q) {
2603
+ var N = [], F = q.length, C, L = 0, J = x, z = h, K, ne, V, I, _, B, Q, W, Y;
2604
+ for (K = q.lastIndexOf($), K < 0 && (K = 0), ne = 0; ne < K; ++ne)
2605
+ q.charCodeAt(ne) >= 128 && R("not-basic"), N.push(q.charCodeAt(ne));
2606
+ for (V = K > 0 ? K + 1 : 0; V < F; ) {
2607
+ for (I = L, _ = 1, B = i; V >= F && R("invalid-input"), Q = oe(q.charCodeAt(V++)), (Q >= i || Q > p((o - L) / _)) && R("overflow"), L += Q * _, W = B <= z ? l : B >= z + d ? d : B - z, !(Q < W); B += i)
2608
+ Y = i - W, _ > p(o / Y) && R("overflow"), _ *= Y;
2609
+ C = N.length + 1, z = D(L - I, C, I == 0), p(L / C) > o - J && R("overflow"), J += p(L / C), L %= C, N.splice(L++, 0, J);
2553
2610
  }
2554
2611
  return P(N);
2555
2612
  }
2556
- function Z(E) {
2557
- var N, L, C, U, J, z, K, ne, V, I, F, _ = [], Q, W, Y, ae;
2558
- for (E = B(E), Q = E.length, N = x, L = 0, J = h, z = 0; z < Q; ++z)
2559
- F = E[z], F < 128 && _.push(O(F));
2560
- for (C = U = _.length, U && _.push($); C < Q; ) {
2613
+ function Z(q) {
2614
+ var N, F, C, L, J, z, K, ne, V, I, _, B = [], Q, W, Y, ae;
2615
+ for (q = U(q), Q = q.length, N = x, F = 0, J = h, z = 0; z < Q; ++z)
2616
+ _ = q[z], _ < 128 && B.push(O(_));
2617
+ for (C = L = B.length, L && B.push($); C < Q; ) {
2561
2618
  for (K = o, z = 0; z < Q; ++z)
2562
- F = E[z], F >= N && F < K && (K = F);
2563
- for (W = C + 1, K - N > p((o - L) / W) && k("overflow"), L += (K - N) * W, N = K, z = 0; z < Q; ++z)
2564
- if (F = E[z], F < N && ++L > o && k("overflow"), F == N) {
2565
- for (ne = L, V = i; I = V <= J ? l : V >= J + d ? d : V - J, !(ne < I); V += i)
2566
- ae = ne - I, Y = i - I, _.push(
2619
+ _ = q[z], _ >= N && _ < K && (K = _);
2620
+ for (W = C + 1, K - N > p((o - F) / W) && R("overflow"), F += (K - N) * W, N = K, z = 0; z < Q; ++z)
2621
+ if (_ = q[z], _ < N && ++F > o && R("overflow"), _ == N) {
2622
+ for (ne = F, V = i; I = V <= J ? l : V >= J + d ? d : V - J, !(ne < I); V += i)
2623
+ ae = ne - I, Y = i - I, B.push(
2567
2624
  O(H(I + ae % Y, 0))
2568
2625
  ), ne = p(ae / Y);
2569
- _.push(O(H(ne, 0))), J = D(L, W, C == U), L = 0, ++C;
2626
+ B.push(O(H(ne, 0))), J = D(F, W, C == L), F = 0, ++C;
2570
2627
  }
2571
- ++L, ++N;
2628
+ ++F, ++N;
2572
2629
  }
2573
- return _.join("");
2630
+ return B.join("");
2574
2631
  }
2575
- function A(E) {
2576
- return q(E, function(N) {
2632
+ function A(q) {
2633
+ return k(q, function(N) {
2577
2634
  return u.test(N) ? se(N.slice(4).toLowerCase()) : N;
2578
2635
  });
2579
2636
  }
2580
- function re(E) {
2581
- return q(E, function(N) {
2637
+ function re(q) {
2638
+ return k(q, function(N) {
2582
2639
  return m.test(N) ? "xn--" + Z(N) : N;
2583
2640
  });
2584
2641
  }
@@ -2597,7 +2654,7 @@ function Ji() {
2597
2654
  * @type Object
2598
2655
  */
2599
2656
  ucs2: {
2600
- decode: B,
2657
+ decode: U,
2601
2658
  encode: P
2602
2659
  },
2603
2660
  decode: se,
@@ -2612,7 +2669,7 @@ function Ji() {
2612
2669
  r.hasOwnProperty(g) && (a[g] = r[g]);
2613
2670
  else
2614
2671
  t.punycode = r;
2615
- })(Wi);
2672
+ })(Vi);
2616
2673
  }(Le, Le.exports)), Le.exports;
2617
2674
  }
2618
2675
  var vt, nn;
@@ -2620,19 +2677,19 @@ function $a() {
2620
2677
  return nn || (nn = 1, vt = Object), vt;
2621
2678
  }
2622
2679
  var bt, an;
2623
- function Vi() {
2680
+ function Di() {
2624
2681
  return an || (an = 1, bt = Error), bt;
2625
2682
  }
2626
2683
  var xt, on;
2627
- function Gi() {
2684
+ function Qi() {
2628
2685
  return on || (on = 1, xt = EvalError), xt;
2629
2686
  }
2630
2687
  var $t, sn;
2631
- function Di() {
2688
+ function Ki() {
2632
2689
  return sn || (sn = 1, $t = RangeError), $t;
2633
2690
  }
2634
2691
  var wt, ln;
2635
- function Qi() {
2692
+ function Yi() {
2636
2693
  return ln || (ln = 1, wt = ReferenceError), wt;
2637
2694
  }
2638
2695
  var jt, cn;
@@ -2644,57 +2701,57 @@ function ze() {
2644
2701
  return un || (un = 1, St = TypeError), St;
2645
2702
  }
2646
2703
  var Ot, fn;
2647
- function Ki() {
2704
+ function Xi() {
2648
2705
  return fn || (fn = 1, Ot = URIError), Ot;
2649
2706
  }
2650
2707
  var Tt, pn;
2651
- function Yi() {
2708
+ function Zi() {
2652
2709
  return pn || (pn = 1, Tt = Math.abs), Tt;
2653
2710
  }
2654
2711
  var Pt, dn;
2655
- function Xi() {
2712
+ function es() {
2656
2713
  return dn || (dn = 1, Pt = Math.floor), Pt;
2657
2714
  }
2658
2715
  var Ct, hn;
2659
- function Zi() {
2716
+ function ts() {
2660
2717
  return hn || (hn = 1, Ct = Math.max), Ct;
2661
2718
  }
2662
2719
  var qt, yn;
2663
- function es() {
2720
+ function rs() {
2664
2721
  return yn || (yn = 1, qt = Math.min), qt;
2665
2722
  }
2666
2723
  var Et, mn;
2667
- function ts() {
2724
+ function ns() {
2668
2725
  return mn || (mn = 1, Et = Math.pow), Et;
2669
2726
  }
2670
2727
  var Rt, gn;
2671
- function rs() {
2728
+ function as() {
2672
2729
  return gn || (gn = 1, Rt = Math.round), Rt;
2673
2730
  }
2674
2731
  var kt, vn;
2675
- function ns() {
2732
+ function os() {
2676
2733
  return vn || (vn = 1, kt = Number.isNaN || function(n) {
2677
2734
  return n !== n;
2678
2735
  }), kt;
2679
2736
  }
2680
2737
  var Nt, bn;
2681
- function as() {
2738
+ function is() {
2682
2739
  if (bn) return Nt;
2683
2740
  bn = 1;
2684
- var e = /* @__PURE__ */ ns();
2741
+ var e = /* @__PURE__ */ os();
2685
2742
  return Nt = function(t) {
2686
2743
  return e(t) || t === 0 ? t : t < 0 ? -1 : 1;
2687
2744
  }, Nt;
2688
2745
  }
2689
2746
  var At, xn;
2690
- function os() {
2747
+ function ss() {
2691
2748
  return xn || (xn = 1, At = Object.getOwnPropertyDescriptor), At;
2692
2749
  }
2693
2750
  var It, $n;
2694
2751
  function rt() {
2695
2752
  if ($n) return It;
2696
2753
  $n = 1;
2697
- var e = /* @__PURE__ */ os();
2754
+ var e = /* @__PURE__ */ ss();
2698
2755
  if (e)
2699
2756
  try {
2700
2757
  e([], "length");
@@ -2717,7 +2774,7 @@ function nt() {
2717
2774
  return Ut = e, Ut;
2718
2775
  }
2719
2776
  var Lt, jn;
2720
- function is() {
2777
+ function ls() {
2721
2778
  return jn || (jn = 1, Lt = function() {
2722
2779
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2723
2780
  return !1;
@@ -2747,10 +2804,10 @@ function is() {
2747
2804
  }), Lt;
2748
2805
  }
2749
2806
  var Ft, Sn;
2750
- function ss() {
2807
+ function cs() {
2751
2808
  if (Sn) return Ft;
2752
2809
  Sn = 1;
2753
- var e = typeof Symbol < "u" && Symbol, n = is();
2810
+ var e = typeof Symbol < "u" && Symbol, n = ls();
2754
2811
  return Ft = function() {
2755
2812
  return typeof e != "function" || typeof Symbol != "function" || typeof e("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : n();
2756
2813
  }, Ft;
@@ -2767,7 +2824,7 @@ function Sa() {
2767
2824
  return Bt = e.getPrototypeOf || null, Bt;
2768
2825
  }
2769
2826
  var Ht, Pn;
2770
- function ls() {
2827
+ function us() {
2771
2828
  if (Pn) return Ht;
2772
2829
  Pn = 1;
2773
2830
  var e = "Function.prototype.bind called on incompatible ", n = Object.prototype.toString, t = Math.max, a = "[object Function]", c = function(i, l) {
@@ -2815,7 +2872,7 @@ var Mt, Cn;
2815
2872
  function We() {
2816
2873
  if (Cn) return Mt;
2817
2874
  Cn = 1;
2818
- var e = ls();
2875
+ var e = us();
2819
2876
  return Mt = Function.prototype.bind || e, Mt;
2820
2877
  }
2821
2878
  var zt, qn;
@@ -2827,14 +2884,14 @@ function Sr() {
2827
2884
  return En || (En = 1, Wt = Function.prototype.apply), Wt;
2828
2885
  }
2829
2886
  var Jt, Rn;
2830
- function cs() {
2887
+ function fs() {
2831
2888
  return Rn || (Rn = 1, Jt = typeof Reflect < "u" && Reflect && Reflect.apply), Jt;
2832
2889
  }
2833
2890
  var Vt, kn;
2834
2891
  function Oa() {
2835
2892
  if (kn) return Vt;
2836
2893
  kn = 1;
2837
- var e = We(), n = Sr(), t = jr(), a = cs();
2894
+ var e = We(), n = Sr(), t = jr(), a = fs();
2838
2895
  return Vt = a || e.call(t, n), Vt;
2839
2896
  }
2840
2897
  var Gt, Nn;
@@ -2849,7 +2906,7 @@ function Ta() {
2849
2906
  }, Gt;
2850
2907
  }
2851
2908
  var Dt, An;
2852
- function us() {
2909
+ function ps() {
2853
2910
  if (An) return Dt;
2854
2911
  An = 1;
2855
2912
  var e = Ta(), n = /* @__PURE__ */ rt(), t;
@@ -2873,10 +2930,10 @@ function us() {
2873
2930
  ) : !1, Dt;
2874
2931
  }
2875
2932
  var Qt, In;
2876
- function fs() {
2933
+ function ds() {
2877
2934
  if (In) return Qt;
2878
2935
  In = 1;
2879
- var e = ja(), n = Sa(), t = /* @__PURE__ */ us();
2936
+ var e = ja(), n = Sa(), t = /* @__PURE__ */ ps();
2880
2937
  return Qt = e ? function(c) {
2881
2938
  return e(c);
2882
2939
  } : n ? function(c) {
@@ -2888,7 +2945,7 @@ function fs() {
2888
2945
  } : null, Qt;
2889
2946
  }
2890
2947
  var Kt, Un;
2891
- function ps() {
2948
+ function hs() {
2892
2949
  if (Un) return Kt;
2893
2950
  Un = 1;
2894
2951
  var e = Function.prototype.call, n = Object.prototype.hasOwnProperty, t = We();
@@ -2898,7 +2955,7 @@ var Yt, Ln;
2898
2955
  function Or() {
2899
2956
  if (Ln) return Yt;
2900
2957
  Ln = 1;
2901
- var e, n = /* @__PURE__ */ $a(), t = /* @__PURE__ */ Vi(), a = /* @__PURE__ */ Gi(), c = /* @__PURE__ */ Di(), s = /* @__PURE__ */ Qi(), r = /* @__PURE__ */ wa(), o = /* @__PURE__ */ ze(), i = /* @__PURE__ */ Ki(), l = /* @__PURE__ */ Yi(), d = /* @__PURE__ */ Xi(), y = /* @__PURE__ */ Zi(), f = /* @__PURE__ */ es(), h = /* @__PURE__ */ ts(), x = /* @__PURE__ */ rs(), $ = /* @__PURE__ */ as(), u = Function, m = function(V) {
2958
+ var e, n = /* @__PURE__ */ $a(), t = /* @__PURE__ */ Di(), a = /* @__PURE__ */ Qi(), c = /* @__PURE__ */ Ki(), s = /* @__PURE__ */ Yi(), r = /* @__PURE__ */ wa(), o = /* @__PURE__ */ ze(), i = /* @__PURE__ */ Xi(), l = /* @__PURE__ */ Zi(), d = /* @__PURE__ */ es(), y = /* @__PURE__ */ ts(), f = /* @__PURE__ */ rs(), h = /* @__PURE__ */ ns(), x = /* @__PURE__ */ as(), $ = /* @__PURE__ */ is(), u = Function, m = function(V) {
2902
2959
  try {
2903
2960
  return u('"use strict"; return (' + V + ").constructor;")();
2904
2961
  } catch {
@@ -2915,7 +2972,7 @@ function Or() {
2915
2972
  return T;
2916
2973
  }
2917
2974
  }
2918
- }() : T, O = ss()(), g = fs(), k = Sa(), R = ja(), q = Sr(), B = jr(), P = {}, oe = typeof Uint8Array > "u" || !g ? e : g(Uint8Array), H = {
2975
+ }() : T, O = cs()(), g = ds(), R = Sa(), E = ja(), k = Sr(), U = jr(), P = {}, oe = typeof Uint8Array > "u" || !g ? e : g(Uint8Array), H = {
2919
2976
  __proto__: null,
2920
2977
  "%AggregateError%": typeof AggregateError > "u" ? e : AggregateError,
2921
2978
  "%Array%": Array,
@@ -2986,10 +3043,10 @@ function Or() {
2986
3043
  "%WeakMap%": typeof WeakMap > "u" ? e : WeakMap,
2987
3044
  "%WeakRef%": typeof WeakRef > "u" ? e : WeakRef,
2988
3045
  "%WeakSet%": typeof WeakSet > "u" ? e : WeakSet,
2989
- "%Function.prototype.call%": B,
2990
- "%Function.prototype.apply%": q,
3046
+ "%Function.prototype.call%": U,
3047
+ "%Function.prototype.apply%": k,
2991
3048
  "%Object.defineProperty%": S,
2992
- "%Object.getPrototypeOf%": k,
3049
+ "%Object.getPrototypeOf%": R,
2993
3050
  "%Math.abs%": l,
2994
3051
  "%Math.floor%": d,
2995
3052
  "%Math.max%": y,
@@ -2997,7 +3054,7 @@ function Or() {
2997
3054
  "%Math.pow%": h,
2998
3055
  "%Math.round%": x,
2999
3056
  "%Math.sign%": $,
3000
- "%Reflect.getPrototypeOf%": R
3057
+ "%Reflect.getPrototypeOf%": E
3001
3058
  };
3002
3059
  if (g)
3003
3060
  try {
@@ -3007,21 +3064,21 @@ function Or() {
3007
3064
  H["%Error.prototype%"] = D;
3008
3065
  }
3009
3066
  var se = function V(I) {
3010
- var F;
3067
+ var _;
3011
3068
  if (I === "%AsyncFunction%")
3012
- F = m("async function () {}");
3069
+ _ = m("async function () {}");
3013
3070
  else if (I === "%GeneratorFunction%")
3014
- F = m("function* () {}");
3071
+ _ = m("function* () {}");
3015
3072
  else if (I === "%AsyncGeneratorFunction%")
3016
- F = m("async function* () {}");
3073
+ _ = m("async function* () {}");
3017
3074
  else if (I === "%AsyncGenerator%") {
3018
- var _ = V("%AsyncGeneratorFunction%");
3019
- _ && (F = _.prototype);
3075
+ var B = V("%AsyncGeneratorFunction%");
3076
+ B && (_ = B.prototype);
3020
3077
  } else if (I === "%AsyncIteratorPrototype%") {
3021
3078
  var Q = V("%AsyncGenerator%");
3022
- Q && g && (F = g(Q.prototype));
3079
+ Q && g && (_ = g(Q.prototype));
3023
3080
  }
3024
- return H[I] = F, F;
3081
+ return H[I] = _, _;
3025
3082
  }, Z = {
3026
3083
  __proto__: null,
3027
3084
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
@@ -3075,52 +3132,52 @@ function Or() {
3075
3132
  "%URIErrorPrototype%": ["URIError", "prototype"],
3076
3133
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
3077
3134
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
3078
- }, A = We(), re = /* @__PURE__ */ ps(), E = A.call(B, Array.prototype.concat), N = A.call(q, Array.prototype.splice), L = A.call(B, String.prototype.replace), C = A.call(B, String.prototype.slice), U = A.call(B, RegExp.prototype.exec), J = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, z = /\\(\\)?/g, K = function(I) {
3079
- var F = C(I, 0, 1), _ = C(I, -1);
3080
- if (F === "%" && _ !== "%")
3135
+ }, A = We(), re = /* @__PURE__ */ hs(), q = A.call(U, Array.prototype.concat), N = A.call(k, Array.prototype.splice), F = A.call(U, String.prototype.replace), C = A.call(U, String.prototype.slice), L = A.call(U, RegExp.prototype.exec), J = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, z = /\\(\\)?/g, K = function(I) {
3136
+ var _ = C(I, 0, 1), B = C(I, -1);
3137
+ if (_ === "%" && B !== "%")
3081
3138
  throw new r("invalid intrinsic syntax, expected closing `%`");
3082
- if (_ === "%" && F !== "%")
3139
+ if (B === "%" && _ !== "%")
3083
3140
  throw new r("invalid intrinsic syntax, expected opening `%`");
3084
3141
  var Q = [];
3085
- return L(I, J, function(W, Y, ae, he) {
3086
- Q[Q.length] = ae ? L(he, z, "$1") : Y || W;
3142
+ return F(I, J, function(W, Y, ae, he) {
3143
+ Q[Q.length] = ae ? F(he, z, "$1") : Y || W;
3087
3144
  }), Q;
3088
- }, ne = function(I, F) {
3089
- var _ = I, Q;
3090
- if (re(Z, _) && (Q = Z[_], _ = "%" + Q[0] + "%"), re(H, _)) {
3091
- var W = H[_];
3092
- if (W === P && (W = se(_)), typeof W > "u" && !F)
3145
+ }, ne = function(I, _) {
3146
+ var B = I, Q;
3147
+ if (re(Z, B) && (Q = Z[B], B = "%" + Q[0] + "%"), re(H, B)) {
3148
+ var W = H[B];
3149
+ if (W === P && (W = se(B)), typeof W > "u" && !_)
3093
3150
  throw new o("intrinsic " + I + " exists, but is not available. Please file an issue!");
3094
3151
  return {
3095
3152
  alias: Q,
3096
- name: _,
3153
+ name: B,
3097
3154
  value: W
3098
3155
  };
3099
3156
  }
3100
3157
  throw new r("intrinsic " + I + " does not exist!");
3101
3158
  };
3102
- return Yt = function(I, F) {
3159
+ return Yt = function(I, _) {
3103
3160
  if (typeof I != "string" || I.length === 0)
3104
3161
  throw new o("intrinsic name must be a non-empty string");
3105
- if (arguments.length > 1 && typeof F != "boolean")
3162
+ if (arguments.length > 1 && typeof _ != "boolean")
3106
3163
  throw new o('"allowMissing" argument must be a boolean');
3107
- if (U(/^%?[^%]*%?$/, I) === null)
3164
+ if (L(/^%?[^%]*%?$/, I) === null)
3108
3165
  throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
3109
- var _ = K(I), Q = _.length > 0 ? _[0] : "", W = ne("%" + Q + "%", F), Y = W.name, ae = W.value, he = !1, Se = W.alias;
3110
- Se && (Q = Se[0], N(_, E([0, 1], Se)));
3111
- for (var qe = 1, Oe = !0; qe < _.length; qe += 1) {
3112
- var ye = _[qe], Ee = C(ye, 0, 1), Re = C(ye, -1);
3166
+ var B = K(I), Q = B.length > 0 ? B[0] : "", W = ne("%" + Q + "%", _), Y = W.name, ae = W.value, he = !1, Se = W.alias;
3167
+ Se && (Q = Se[0], N(B, q([0, 1], Se)));
3168
+ for (var qe = 1, Oe = !0; qe < B.length; qe += 1) {
3169
+ var ye = B[qe], Ee = C(ye, 0, 1), Re = C(ye, -1);
3113
3170
  if ((Ee === '"' || Ee === "'" || Ee === "`" || Re === '"' || Re === "'" || Re === "`") && Ee !== Re)
3114
3171
  throw new r("property names with quotes must have matching quotes");
3115
3172
  if ((ye === "constructor" || !Oe) && (he = !0), Q += "." + ye, Y = "%" + Q + "%", re(H, Y))
3116
3173
  ae = H[Y];
3117
3174
  else if (ae != null) {
3118
3175
  if (!(ye in ae)) {
3119
- if (!F)
3176
+ if (!_)
3120
3177
  throw new o("base intrinsic for " + I + " exists, but the property is not available.");
3121
3178
  return;
3122
3179
  }
3123
- if (v && qe + 1 >= _.length) {
3180
+ if (v && qe + 1 >= B.length) {
3124
3181
  var Te = v(ae, ye);
3125
3182
  Oe = !!Te, Oe && "get" in Te && !("originalValue" in Te.get) ? ae = Te.get : ae = ae[ye];
3126
3183
  } else
@@ -3132,7 +3189,7 @@ function Or() {
3132
3189
  }, Yt;
3133
3190
  }
3134
3191
  var Xt = { exports: {} }, Zt, Fn;
3135
- function ds() {
3192
+ function ys() {
3136
3193
  if (Fn) return Zt;
3137
3194
  Fn = 1;
3138
3195
  var e = /* @__PURE__ */ nt(), n = /* @__PURE__ */ wa(), t = /* @__PURE__ */ ze(), a = /* @__PURE__ */ rt();
@@ -3164,7 +3221,7 @@ function ds() {
3164
3221
  }, Zt;
3165
3222
  }
3166
3223
  var er, _n;
3167
- function hs() {
3224
+ function ms() {
3168
3225
  if (_n) return er;
3169
3226
  _n = 1;
3170
3227
  var e = /* @__PURE__ */ nt(), n = function() {
@@ -3181,10 +3238,10 @@ function hs() {
3181
3238
  }, er = n, er;
3182
3239
  }
3183
3240
  var tr, Bn;
3184
- function ys() {
3241
+ function gs() {
3185
3242
  if (Bn) return tr;
3186
3243
  Bn = 1;
3187
- var e = /* @__PURE__ */ Or(), n = /* @__PURE__ */ ds(), t = /* @__PURE__ */ hs()(), a = /* @__PURE__ */ rt(), c = /* @__PURE__ */ ze(), s = e("%Math.floor%");
3244
+ var e = /* @__PURE__ */ Or(), n = /* @__PURE__ */ ys(), t = /* @__PURE__ */ ms()(), a = /* @__PURE__ */ rt(), c = /* @__PURE__ */ ze(), s = e("%Math.floor%");
3188
3245
  return tr = function(o, i) {
3189
3246
  if (typeof o != "function")
3190
3247
  throw new c("`fn` is not a function");
@@ -3211,7 +3268,7 @@ function ys() {
3211
3268
  }, tr;
3212
3269
  }
3213
3270
  var rr, Hn;
3214
- function ms() {
3271
+ function vs() {
3215
3272
  if (Hn) return rr;
3216
3273
  Hn = 1;
3217
3274
  var e = We(), n = Sr(), t = Oa();
@@ -3220,9 +3277,9 @@ function ms() {
3220
3277
  }, rr;
3221
3278
  }
3222
3279
  var Mn;
3223
- function gs() {
3280
+ function bs() {
3224
3281
  return Mn || (Mn = 1, function(e) {
3225
- var n = /* @__PURE__ */ ys(), t = /* @__PURE__ */ nt(), a = Ta(), c = ms();
3282
+ var n = /* @__PURE__ */ gs(), t = /* @__PURE__ */ nt(), a = Ta(), c = vs();
3226
3283
  e.exports = function(r) {
3227
3284
  var o = a(arguments), i = r.length - (arguments.length - 1);
3228
3285
  return n(
@@ -3234,24 +3291,24 @@ function gs() {
3234
3291
  }(Xt)), Xt.exports;
3235
3292
  }
3236
3293
  var nr, zn;
3237
- function vs() {
3294
+ function xs() {
3238
3295
  if (zn) return nr;
3239
3296
  zn = 1;
3240
- var e = /* @__PURE__ */ Or(), n = gs(), t = n(e("String.prototype.indexOf"));
3297
+ var e = /* @__PURE__ */ Or(), n = bs(), t = n(e("String.prototype.indexOf"));
3241
3298
  return nr = function(c, s) {
3242
3299
  var r = e(c, !!s);
3243
3300
  return typeof r == "function" && t(c, ".prototype.") > -1 ? n(r) : r;
3244
3301
  }, nr;
3245
3302
  }
3246
- const bs = {}, xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3303
+ const $s = {}, ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3247
3304
  __proto__: null,
3248
- default: bs
3249
- }, Symbol.toStringTag, { value: "Module" })), $s = /* @__PURE__ */ ho(xs);
3305
+ default: $s
3306
+ }, Symbol.toStringTag, { value: "Module" })), js = /* @__PURE__ */ ho(ws);
3250
3307
  var ar, Wn;
3251
- function ws() {
3308
+ function Ss() {
3252
3309
  if (Wn) return ar;
3253
3310
  Wn = 1;
3254
- var e = typeof Map == "function" && Map.prototype, n = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = e && n && typeof n.get == "function" ? n.get : null, a = e && Map.prototype.forEach, c = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && c ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, r = c && s && typeof s.get == "function" ? s.get : null, o = c && Set.prototype.forEach, i = typeof WeakMap == "function" && WeakMap.prototype, l = i ? WeakMap.prototype.has : null, d = typeof WeakSet == "function" && WeakSet.prototype, y = d ? WeakSet.prototype.has : null, f = typeof WeakRef == "function" && WeakRef.prototype, h = f ? WeakRef.prototype.deref : null, x = Boolean.prototype.valueOf, $ = Object.prototype.toString, u = Function.prototype.toString, m = String.prototype.match, v = String.prototype.slice, S = String.prototype.replace, T = String.prototype.toUpperCase, p = String.prototype.toLowerCase, O = RegExp.prototype.test, g = Array.prototype.concat, k = Array.prototype.join, R = Array.prototype.slice, q = Math.floor, B = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, P = Object.getOwnPropertySymbols, oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, H = typeof Symbol == "function" && typeof Symbol.iterator == "object", D = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === H || !0) ? Symbol.toStringTag : null, se = Object.prototype.propertyIsEnumerable, Z = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(w) {
3311
+ var e = typeof Map == "function" && Map.prototype, n = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, t = e && n && typeof n.get == "function" ? n.get : null, a = e && Map.prototype.forEach, c = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && c ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, r = c && s && typeof s.get == "function" ? s.get : null, o = c && Set.prototype.forEach, i = typeof WeakMap == "function" && WeakMap.prototype, l = i ? WeakMap.prototype.has : null, d = typeof WeakSet == "function" && WeakSet.prototype, y = d ? WeakSet.prototype.has : null, f = typeof WeakRef == "function" && WeakRef.prototype, h = f ? WeakRef.prototype.deref : null, x = Boolean.prototype.valueOf, $ = Object.prototype.toString, u = Function.prototype.toString, m = String.prototype.match, v = String.prototype.slice, S = String.prototype.replace, T = String.prototype.toUpperCase, p = String.prototype.toLowerCase, O = RegExp.prototype.test, g = Array.prototype.concat, R = Array.prototype.join, E = Array.prototype.slice, k = Math.floor, U = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, P = Object.getOwnPropertySymbols, oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, H = typeof Symbol == "function" && typeof Symbol.iterator == "object", D = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === H || !0) ? Symbol.toStringTag : null, se = Object.prototype.propertyIsEnumerable, Z = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(w) {
3255
3312
  return w.__proto__;
3256
3313
  } : null);
3257
3314
  function A(w, j) {
@@ -3259,7 +3316,7 @@ function ws() {
3259
3316
  return j;
3260
3317
  var X = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
3261
3318
  if (typeof w == "number") {
3262
- var ee = w < 0 ? -q(-w) : q(w);
3319
+ var ee = w < 0 ? -k(-w) : k(w);
3263
3320
  if (ee !== w) {
3264
3321
  var ie = String(ee), M = v.call(j, ie.length + 1);
3265
3322
  return S.call(ie, X, "$&_") + "." + S.call(S.call(M, /([0-9]{3})/g, "$&_"), /_$/, "");
@@ -3267,7 +3324,7 @@ function ws() {
3267
3324
  }
3268
3325
  return S.call(j, X, "$&_");
3269
3326
  }
3270
- var re = $s, E = re.custom, N = F(E) ? E : null;
3327
+ var re = js, q = re.custom, N = _(q) ? q : null;
3271
3328
  ar = function w(j, X, ee, ie) {
3272
3329
  var M = X || {};
3273
3330
  if (W(M, "quoteStyle") && M.quoteStyle !== "single" && M.quoteStyle !== "double")
@@ -3302,14 +3359,14 @@ function ws() {
3302
3359
  }
3303
3360
  var it = typeof M.depth > "u" ? 5 : M.depth;
3304
3361
  if (typeof ee > "u" && (ee = 0), ee >= it && it > 0 && typeof j == "object")
3305
- return U(j) ? "[Array]" : "[Object]";
3362
+ return L(j) ? "[Array]" : "[Object]";
3306
3363
  var ke = ka(M, ee);
3307
3364
  if (typeof ie > "u")
3308
3365
  ie = [];
3309
3366
  else if (he(ie, j) >= 0)
3310
3367
  return "[Circular]";
3311
3368
  function me(Ne, Ge, Aa) {
3312
- if (Ge && (ie = R.call(ie), ie.push(Ge)), Aa) {
3369
+ if (Ge && (ie = E.call(ie), ie.push(Ge)), Aa) {
3313
3370
  var Ir = {
3314
3371
  depth: M.depth
3315
3372
  };
@@ -3319,26 +3376,26 @@ function ws() {
3319
3376
  }
3320
3377
  if (typeof j == "function" && !z(j)) {
3321
3378
  var Cr = ae(j), qr = Je(j, me);
3322
- return "[Function" + (Cr ? ": " + Cr : " (anonymous)") + "]" + (qr.length > 0 ? " { " + k.call(qr, ", ") + " }" : "");
3379
+ return "[Function" + (Cr ? ": " + Cr : " (anonymous)") + "]" + (qr.length > 0 ? " { " + R.call(qr, ", ") + " }" : "");
3323
3380
  }
3324
- if (F(j)) {
3381
+ if (_(j)) {
3325
3382
  var Er = H ? S.call(String(j), /^(Symbol\(.*\))_[^)]*$/, "$1") : oe.call(j);
3326
3383
  return typeof j == "object" && !H ? Ie(Er) : Er;
3327
3384
  }
3328
3385
  if (Re(j)) {
3329
3386
  for (var Ue = "<" + p.call(String(j.nodeName)), st = j.attributes || [], Ve = 0; Ve < st.length; Ve++)
3330
- Ue += " " + st[Ve].name + "=" + L(C(st[Ve].value), "double", M);
3387
+ Ue += " " + st[Ve].name + "=" + F(C(st[Ve].value), "double", M);
3331
3388
  return Ue += ">", j.childNodes && j.childNodes.length && (Ue += "..."), Ue += "</" + p.call(String(j.nodeName)) + ">", Ue;
3332
3389
  }
3333
- if (U(j)) {
3390
+ if (L(j)) {
3334
3391
  if (j.length === 0)
3335
3392
  return "[]";
3336
3393
  var lt = Je(j, me);
3337
- return ke && !Ra(lt) ? "[" + ot(lt, ke) + "]" : "[ " + k.call(lt, ", ") + " ]";
3394
+ return ke && !Ra(lt) ? "[" + ot(lt, ke) + "]" : "[ " + R.call(lt, ", ") + " ]";
3338
3395
  }
3339
3396
  if (K(j)) {
3340
3397
  var ct = Je(j, me);
3341
- return !("cause" in Error.prototype) && "cause" in j && !se.call(j, "cause") ? "{ [" + String(j) + "] " + k.call(g.call("[cause]: " + me(j.cause), ct), ", ") + " }" : ct.length === 0 ? "[" + String(j) + "]" : "{ [" + String(j) + "] " + k.call(ct, ", ") + " }";
3398
+ return !("cause" in Error.prototype) && "cause" in j && !se.call(j, "cause") ? "{ [" + String(j) + "] " + R.call(g.call("[cause]: " + me(j.cause), ct), ", ") + " }" : ct.length === 0 ? "[" + String(j) + "]" : "{ [" + String(j) + "] " + R.call(ct, ", ") + " }";
3342
3399
  }
3343
3400
  if (typeof j == "object" && xe) {
3344
3401
  if (N && typeof j[N] == "function" && re)
@@ -3366,8 +3423,8 @@ function ws() {
3366
3423
  return at("WeakRef");
3367
3424
  if (V(j))
3368
3425
  return Ie(me(Number(j)));
3369
- if (_(j))
3370
- return Ie(me(B.call(j)));
3426
+ if (B(j))
3427
+ return Ie(me(U.call(j)));
3371
3428
  if (I(j))
3372
3429
  return Ie(x.call(j));
3373
3430
  if (ne(j))
@@ -3377,19 +3434,19 @@ function ws() {
3377
3434
  if (typeof globalThis < "u" && j === globalThis || typeof Ye < "u" && j === Ye)
3378
3435
  return "{ [object globalThis] }";
3379
3436
  if (!J(j) && !z(j)) {
3380
- var ut = Je(j, me), Nr = Z ? Z(j) === Object.prototype : j instanceof Object || j.constructor === Object, ft = j instanceof Object ? "" : "null prototype", Ar = !Nr && D && Object(j) === j && D in j ? v.call(Y(j), 8, -1) : ft ? "Object" : "", Na = Nr || typeof j.constructor != "function" ? "" : j.constructor.name ? j.constructor.name + " " : "", pt = Na + (Ar || ft ? "[" + k.call(g.call([], Ar || [], ft || []), ": ") + "] " : "");
3381
- return ut.length === 0 ? pt + "{}" : ke ? pt + "{" + ot(ut, ke) + "}" : pt + "{ " + k.call(ut, ", ") + " }";
3437
+ var ut = Je(j, me), Nr = Z ? Z(j) === Object.prototype : j instanceof Object || j.constructor === Object, ft = j instanceof Object ? "" : "null prototype", Ar = !Nr && D && Object(j) === j && D in j ? v.call(Y(j), 8, -1) : ft ? "Object" : "", Na = Nr || typeof j.constructor != "function" ? "" : j.constructor.name ? j.constructor.name + " " : "", pt = Na + (Ar || ft ? "[" + R.call(g.call([], Ar || [], ft || []), ": ") + "] " : "");
3438
+ return ut.length === 0 ? pt + "{}" : ke ? pt + "{" + ot(ut, ke) + "}" : pt + "{ " + R.call(ut, ", ") + " }";
3382
3439
  }
3383
3440
  return String(j);
3384
3441
  };
3385
- function L(w, j, X) {
3442
+ function F(w, j, X) {
3386
3443
  var ee = (X.quoteStyle || j) === "double" ? '"' : "'";
3387
3444
  return ee + w + ee;
3388
3445
  }
3389
3446
  function C(w) {
3390
3447
  return S.call(String(w), /"/g, "&quot;");
3391
3448
  }
3392
- function U(w) {
3449
+ function L(w) {
3393
3450
  return Y(w) === "[object Array]" && (!D || !(typeof w == "object" && D in w));
3394
3451
  }
3395
3452
  function J(w) {
@@ -3410,7 +3467,7 @@ function ws() {
3410
3467
  function I(w) {
3411
3468
  return Y(w) === "[object Boolean]" && (!D || !(typeof w == "object" && D in w));
3412
3469
  }
3413
- function F(w) {
3470
+ function _(w) {
3414
3471
  if (H)
3415
3472
  return w && typeof w == "object" && w instanceof Symbol;
3416
3473
  if (typeof w == "symbol")
@@ -3423,11 +3480,11 @@ function ws() {
3423
3480
  }
3424
3481
  return !1;
3425
3482
  }
3426
- function _(w) {
3427
- if (!w || typeof w != "object" || !B)
3483
+ function B(w) {
3484
+ if (!w || typeof w != "object" || !U)
3428
3485
  return !1;
3429
3486
  try {
3430
- return B.call(w), !0;
3487
+ return U.call(w), !0;
3431
3488
  } catch {
3432
3489
  }
3433
3490
  return !1;
@@ -3533,7 +3590,7 @@ function ws() {
3533
3590
  return Te(v.call(w, 0, j.maxStringLength), j) + ee;
3534
3591
  }
3535
3592
  var ie = S.call(S.call(w, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ea);
3536
- return L(ie, "single", j);
3593
+ return F(ie, "single", j);
3537
3594
  }
3538
3595
  function Ea(w) {
3539
3596
  var j = w.charCodeAt(0), X = {
@@ -3552,7 +3609,7 @@ function ws() {
3552
3609
  return w + " { ? }";
3553
3610
  }
3554
3611
  function Pr(w, j, X, ee) {
3555
- var ie = ee ? ot(X, ee) : k.call(X, ", ");
3612
+ var ie = ee ? ot(X, ee) : R.call(X, ", ");
3556
3613
  return w + " (" + j + ") {" + ie + "}";
3557
3614
  }
3558
3615
  function Ra(w) {
@@ -3567,12 +3624,12 @@ function ws() {
3567
3624
  if (w.indent === " ")
3568
3625
  X = " ";
3569
3626
  else if (typeof w.indent == "number" && w.indent > 0)
3570
- X = k.call(Array(w.indent + 1), " ");
3627
+ X = R.call(Array(w.indent + 1), " ");
3571
3628
  else
3572
3629
  return null;
3573
3630
  return {
3574
3631
  base: X,
3575
- prev: k.call(Array(j + 1), X)
3632
+ prev: R.call(Array(j + 1), X)
3576
3633
  };
3577
3634
  }
3578
3635
  function ot(w, j) {
@@ -3580,11 +3637,11 @@ function ws() {
3580
3637
  return "";
3581
3638
  var X = `
3582
3639
  ` + j.prev + j.base;
3583
- return X + k.call(w, "," + X) + `
3640
+ return X + R.call(w, "," + X) + `
3584
3641
  ` + j.prev;
3585
3642
  }
3586
3643
  function Je(w, j) {
3587
- var X = U(w), ee = [];
3644
+ var X = L(w), ee = [];
3588
3645
  if (X) {
3589
3646
  ee.length = w.length;
3590
3647
  for (var ie = 0; ie < w.length; ie++)
@@ -3606,10 +3663,10 @@ function ws() {
3606
3663
  return ar;
3607
3664
  }
3608
3665
  var or, Jn;
3609
- function js() {
3666
+ function Os() {
3610
3667
  if (Jn) return or;
3611
3668
  Jn = 1;
3612
- var e = /* @__PURE__ */ Or(), n = vs(), t = /* @__PURE__ */ ws(), a = /* @__PURE__ */ ze(), c = e("%WeakMap%", !0), s = e("%Map%", !0), r = n("WeakMap.prototype.get", !0), o = n("WeakMap.prototype.set", !0), i = n("WeakMap.prototype.has", !0), l = n("Map.prototype.get", !0), d = n("Map.prototype.set", !0), y = n("Map.prototype.has", !0), f = function(u, m) {
3669
+ var e = /* @__PURE__ */ Or(), n = xs(), t = /* @__PURE__ */ Ss(), a = /* @__PURE__ */ ze(), c = e("%WeakMap%", !0), s = e("%Map%", !0), r = n("WeakMap.prototype.get", !0), o = n("WeakMap.prototype.set", !0), i = n("WeakMap.prototype.has", !0), l = n("Map.prototype.get", !0), d = n("Map.prototype.set", !0), y = n("Map.prototype.has", !0), f = function(u, m) {
3613
3670
  for (var v = u, S; (S = v.next) !== null; v = S)
3614
3671
  if (S.key === m)
3615
3672
  return v.next = S.next, S.next = /** @type {NonNullable<typeof list.next>} */
@@ -3752,35 +3809,35 @@ function Pa() {
3752
3809
  return escape(O).replace(/%u[0-9a-f]{4}/gi, function(oe) {
3753
3810
  return "%26%23" + parseInt(oe.slice(2), 16) + "%3B";
3754
3811
  });
3755
- for (var g = "", k = 0; k < O.length; k += l) {
3756
- for (var R = O.length >= l ? O.slice(k, k + l) : O, q = [], B = 0; B < R.length; ++B) {
3757
- var P = R.charCodeAt(B);
3812
+ for (var g = "", R = 0; R < O.length; R += l) {
3813
+ for (var E = O.length >= l ? O.slice(R, R + l) : O, k = [], U = 0; U < E.length; ++U) {
3814
+ var P = E.charCodeAt(U);
3758
3815
  if (P === 45 || P === 46 || P === 95 || P === 126 || P >= 48 && P <= 57 || P >= 65 && P <= 90 || P >= 97 && P <= 122 || p === e.RFC1738 && (P === 40 || P === 41)) {
3759
- q[q.length] = R.charAt(B);
3816
+ k[k.length] = E.charAt(U);
3760
3817
  continue;
3761
3818
  }
3762
3819
  if (P < 128) {
3763
- q[q.length] = a[P];
3820
+ k[k.length] = a[P];
3764
3821
  continue;
3765
3822
  }
3766
3823
  if (P < 2048) {
3767
- q[q.length] = a[192 | P >> 6] + a[128 | P & 63];
3824
+ k[k.length] = a[192 | P >> 6] + a[128 | P & 63];
3768
3825
  continue;
3769
3826
  }
3770
3827
  if (P < 55296 || P >= 57344) {
3771
- q[q.length] = a[224 | P >> 12] + a[128 | P >> 6 & 63] + a[128 | P & 63];
3828
+ k[k.length] = a[224 | P >> 12] + a[128 | P >> 6 & 63] + a[128 | P & 63];
3772
3829
  continue;
3773
3830
  }
3774
- B += 1, P = 65536 + ((P & 1023) << 10 | R.charCodeAt(B) & 1023), q[q.length] = a[240 | P >> 18] + a[128 | P >> 12 & 63] + a[128 | P >> 6 & 63] + a[128 | P & 63];
3831
+ U += 1, P = 65536 + ((P & 1023) << 10 | E.charCodeAt(U) & 1023), k[k.length] = a[240 | P >> 18] + a[128 | P >> 12 & 63] + a[128 | P >> 6 & 63] + a[128 | P & 63];
3775
3832
  }
3776
- g += q.join("");
3833
+ g += k.join("");
3777
3834
  }
3778
3835
  return g;
3779
3836
  }, y = function(m) {
3780
3837
  for (var v = [{ obj: { o: m }, prop: "o" }], S = [], T = 0; T < v.length; ++T)
3781
- for (var p = v[T], O = p.obj[p.prop], g = Object.keys(O), k = 0; k < g.length; ++k) {
3782
- var R = g[k], q = O[R];
3783
- typeof q == "object" && q !== null && S.indexOf(q) === -1 && (v.push({ obj: O, prop: R }), S.push(q));
3838
+ for (var p = v[T], O = p.obj[p.prop], g = Object.keys(O), R = 0; R < g.length; ++R) {
3839
+ var E = g[R], k = O[E];
3840
+ typeof k == "object" && k !== null && S.indexOf(k) === -1 && (v.push({ obj: O, prop: E }), S.push(k));
3784
3841
  }
3785
3842
  return c(v), m;
3786
3843
  }, f = function(m) {
@@ -3811,10 +3868,10 @@ function Pa() {
3811
3868
  }, sr;
3812
3869
  }
3813
3870
  var lr, Dn;
3814
- function Ss() {
3871
+ function Ts() {
3815
3872
  if (Dn) return lr;
3816
3873
  Dn = 1;
3817
- var e = js(), n = /* @__PURE__ */ Pa(), t = /* @__PURE__ */ Tr(), a = Object.prototype.hasOwnProperty, c = {
3874
+ var e = Os(), n = /* @__PURE__ */ Pa(), t = /* @__PURE__ */ Tr(), a = Object.prototype.hasOwnProperty, c = {
3818
3875
  brackets: function(u) {
3819
3876
  return u + "[]";
3820
3877
  },
@@ -3850,53 +3907,53 @@ function Ss() {
3850
3907
  strictNullHandling: !1
3851
3908
  }, y = function(u) {
3852
3909
  return typeof u == "string" || typeof u == "number" || typeof u == "boolean" || typeof u == "symbol" || typeof u == "bigint";
3853
- }, f = {}, h = function $(u, m, v, S, T, p, O, g, k, R, q, B, P, oe, H, D, se, Z) {
3854
- for (var A = u, re = Z, E = 0, N = !1; (re = re.get(f)) !== void 0 && !N; ) {
3855
- var L = re.get(u);
3856
- if (E += 1, typeof L < "u") {
3857
- if (L === E)
3910
+ }, f = {}, h = function $(u, m, v, S, T, p, O, g, R, E, k, U, P, oe, H, D, se, Z) {
3911
+ for (var A = u, re = Z, q = 0, N = !1; (re = re.get(f)) !== void 0 && !N; ) {
3912
+ var F = re.get(u);
3913
+ if (q += 1, typeof F < "u") {
3914
+ if (F === q)
3858
3915
  throw new RangeError("Cyclic object value");
3859
3916
  N = !0;
3860
3917
  }
3861
- typeof re.get(f) > "u" && (E = 0);
3918
+ typeof re.get(f) > "u" && (q = 0);
3862
3919
  }
3863
- if (typeof R == "function" ? A = R(m, A) : A instanceof Date ? A = P(A) : v === "comma" && s(A) && (A = n.maybeMap(A, function(Y) {
3920
+ if (typeof E == "function" ? A = E(m, A) : A instanceof Date ? A = P(A) : v === "comma" && s(A) && (A = n.maybeMap(A, function(Y) {
3864
3921
  return Y instanceof Date ? P(Y) : Y;
3865
3922
  })), A === null) {
3866
3923
  if (p)
3867
- return k && !D ? k(m, d.encoder, se, "key", oe) : m;
3924
+ return R && !D ? R(m, d.encoder, se, "key", oe) : m;
3868
3925
  A = "";
3869
3926
  }
3870
3927
  if (y(A) || n.isBuffer(A)) {
3871
- if (k) {
3872
- var C = D ? m : k(m, d.encoder, se, "key", oe);
3873
- return [H(C) + "=" + H(k(A, d.encoder, se, "value", oe))];
3928
+ if (R) {
3929
+ var C = D ? m : R(m, d.encoder, se, "key", oe);
3930
+ return [H(C) + "=" + H(R(A, d.encoder, se, "value", oe))];
3874
3931
  }
3875
3932
  return [H(m) + "=" + H(String(A))];
3876
3933
  }
3877
- var U = [];
3934
+ var L = [];
3878
3935
  if (typeof A > "u")
3879
- return U;
3936
+ return L;
3880
3937
  var J;
3881
3938
  if (v === "comma" && s(A))
3882
- D && k && (A = n.maybeMap(A, k)), J = [{ value: A.length > 0 ? A.join(",") || null : void 0 }];
3883
- else if (s(R))
3884
- J = R;
3939
+ D && R && (A = n.maybeMap(A, R)), J = [{ value: A.length > 0 ? A.join(",") || null : void 0 }];
3940
+ else if (s(E))
3941
+ J = E;
3885
3942
  else {
3886
3943
  var z = Object.keys(A);
3887
- J = q ? z.sort(q) : z;
3944
+ J = k ? z.sort(k) : z;
3888
3945
  }
3889
3946
  var K = g ? m.replace(/\./g, "%2E") : m, ne = S && s(A) && A.length === 1 ? K + "[]" : K;
3890
3947
  if (T && s(A) && A.length === 0)
3891
3948
  return ne + "[]";
3892
3949
  for (var V = 0; V < J.length; ++V) {
3893
- var I = J[V], F = typeof I == "object" && typeof I.value < "u" ? I.value : A[I];
3894
- if (!(O && F === null)) {
3895
- var _ = B && g ? I.replace(/\./g, "%2E") : I, Q = s(A) ? typeof v == "function" ? v(ne, _) : ne : ne + (B ? "." + _ : "[" + _ + "]");
3896
- Z.set(u, E);
3950
+ var I = J[V], _ = typeof I == "object" && typeof I.value < "u" ? I.value : A[I];
3951
+ if (!(O && _ === null)) {
3952
+ var B = U && g ? I.replace(/\./g, "%2E") : I, Q = s(A) ? typeof v == "function" ? v(ne, B) : ne : ne + (U ? "." + B : "[" + B + "]");
3953
+ Z.set(u, q);
3897
3954
  var W = e();
3898
- W.set(f, Z), o(U, $(
3899
- F,
3955
+ W.set(f, Z), o(L, $(
3956
+ _,
3900
3957
  Q,
3901
3958
  v,
3902
3959
  S,
@@ -3904,10 +3961,10 @@ function Ss() {
3904
3961
  p,
3905
3962
  O,
3906
3963
  g,
3907
- v === "comma" && D && s(A) ? null : k,
3908
- R,
3909
- q,
3910
- B,
3964
+ v === "comma" && D && s(A) ? null : R,
3965
+ E,
3966
+ k,
3967
+ U,
3911
3968
  P,
3912
3969
  oe,
3913
3970
  H,
@@ -3917,7 +3974,7 @@ function Ss() {
3917
3974
  ));
3918
3975
  }
3919
3976
  }
3920
- return U;
3977
+ return L;
3921
3978
  }, x = function(u) {
3922
3979
  if (!u)
3923
3980
  return d;
@@ -3972,11 +4029,11 @@ function Ss() {
3972
4029
  return "";
3973
4030
  var O = c[v.arrayFormat], g = O === "comma" && v.commaRoundTrip;
3974
4031
  S || (S = Object.keys(m)), v.sort && S.sort(v.sort);
3975
- for (var k = e(), R = 0; R < S.length; ++R) {
3976
- var q = S[R];
3977
- v.skipNulls && m[q] === null || o(p, h(
3978
- m[q],
3979
- q,
4032
+ for (var R = e(), E = 0; E < S.length; ++E) {
4033
+ var k = S[E];
4034
+ v.skipNulls && m[k] === null || o(p, h(
4035
+ m[k],
4036
+ k,
3980
4037
  O,
3981
4038
  g,
3982
4039
  v.allowEmptyArrays,
@@ -3992,15 +4049,15 @@ function Ss() {
3992
4049
  v.formatter,
3993
4050
  v.encodeValuesOnly,
3994
4051
  v.charset,
3995
- k
4052
+ R
3996
4053
  ));
3997
4054
  }
3998
- var B = p.join(v.delimiter), P = v.addQueryPrefix === !0 ? "?" : "";
3999
- return v.charsetSentinel && (v.charset === "iso-8859-1" ? P += "utf8=%26%2310003%3B&" : P += "utf8=%E2%9C%93&"), B.length > 0 ? P + B : "";
4055
+ var U = p.join(v.delimiter), P = v.addQueryPrefix === !0 ? "?" : "";
4056
+ return v.charsetSentinel && (v.charset === "iso-8859-1" ? P += "utf8=%26%2310003%3B&" : P += "utf8=%E2%9C%93&"), U.length > 0 ? P + U : "";
4000
4057
  }, lr;
4001
4058
  }
4002
4059
  var cr, Qn;
4003
- function Os() {
4060
+ function Ps() {
4004
4061
  if (Qn) return cr;
4005
4062
  Qn = 1;
4006
4063
  var e = /* @__PURE__ */ Pa(), n = Object.prototype.hasOwnProperty, t = Array.isArray, a = {
@@ -4039,15 +4096,15 @@ function Os() {
4039
4096
  v[T].indexOf("utf8=") === 0 && (v[T] === o ? p = "utf-8" : v[T] === r && (p = "iso-8859-1"), S = T, T = v.length);
4040
4097
  for (T = 0; T < v.length; ++T)
4041
4098
  if (T !== S) {
4042
- var O = v[T], g = O.indexOf("]="), k = g === -1 ? O.indexOf("=") : g + 1, R, q;
4043
- k === -1 ? (R = x.decoder(O, a.decoder, p, "key"), q = x.strictNullHandling ? null : "") : (R = x.decoder(O.slice(0, k), a.decoder, p, "key"), q = e.maybeMap(
4044
- s(O.slice(k + 1), x),
4099
+ var O = v[T], g = O.indexOf("]="), R = g === -1 ? O.indexOf("=") : g + 1, E, k;
4100
+ R === -1 ? (E = x.decoder(O, a.decoder, p, "key"), k = x.strictNullHandling ? null : "") : (E = x.decoder(O.slice(0, R), a.decoder, p, "key"), k = e.maybeMap(
4101
+ s(O.slice(R + 1), x),
4045
4102
  function(P) {
4046
4103
  return x.decoder(P, a.decoder, p, "value");
4047
4104
  }
4048
- )), q && x.interpretNumericEntities && p === "iso-8859-1" && (q = c(q)), O.indexOf("[]=") > -1 && (q = t(q) ? [q] : q);
4049
- var B = n.call($, R);
4050
- B && x.duplicates === "combine" ? $[R] = e.combine($[R], q) : (!B || x.duplicates === "last") && ($[R] = q);
4105
+ )), k && x.interpretNumericEntities && p === "iso-8859-1" && (k = c(k)), O.indexOf("[]=") > -1 && (k = t(k) ? [k] : k);
4106
+ var U = n.call($, E);
4107
+ U && x.duplicates === "combine" ? $[E] = e.combine($[E], k) : (!U || x.duplicates === "last") && ($[E] = k);
4051
4108
  }
4052
4109
  return $;
4053
4110
  }, l = function(f, h, x, $) {
@@ -4137,7 +4194,7 @@ var ur, Kn;
4137
4194
  function Ca() {
4138
4195
  if (Kn) return ur;
4139
4196
  Kn = 1;
4140
- var e = /* @__PURE__ */ Ss(), n = /* @__PURE__ */ Os(), t = /* @__PURE__ */ Tr();
4197
+ var e = /* @__PURE__ */ Ts(), n = /* @__PURE__ */ Ps(), t = /* @__PURE__ */ Tr();
4141
4198
  return ur = {
4142
4199
  formats: t,
4143
4200
  parse: n,
@@ -4145,10 +4202,10 @@ function Ca() {
4145
4202
  }, ur;
4146
4203
  }
4147
4204
  var Yn;
4148
- function Ts() {
4205
+ function Cs() {
4149
4206
  if (Yn) return Ce;
4150
4207
  Yn = 1;
4151
- var e = Ji();
4208
+ var e = Gi();
4152
4209
  function n() {
4153
4210
  this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null;
4154
4211
  }
@@ -4200,14 +4257,14 @@ function Ts() {
4200
4257
  function m(p, O, g) {
4201
4258
  if (p && typeof p == "object" && p instanceof n)
4202
4259
  return p;
4203
- var k = new n();
4204
- return k.parse(p, O, g), k;
4260
+ var R = new n();
4261
+ return R.parse(p, O, g), R;
4205
4262
  }
4206
4263
  n.prototype.parse = function(p, O, g) {
4207
4264
  if (typeof p != "string")
4208
4265
  throw new TypeError("Parameter 'url' must be a string, not " + typeof p);
4209
- var k = p.indexOf("?"), R = k !== -1 && k < p.indexOf("#") ? "?" : "#", q = p.split(R), B = /\\/g;
4210
- q[0] = q[0].replace(B, "/"), p = q.join(R);
4266
+ var R = p.indexOf("?"), E = R !== -1 && R < p.indexOf("#") ? "?" : "#", k = p.split(E), U = /\\/g;
4267
+ k[0] = k[0].replace(U, "/"), p = k.join(E);
4211
4268
  var P = p;
4212
4269
  if (P = P.trim(), !g && p.split("#").length === 1) {
4213
4270
  var oe = c.exec(P);
@@ -4229,33 +4286,33 @@ function Ts() {
4229
4286
  var re = P.indexOf(l[A]);
4230
4287
  re !== -1 && (Z === -1 || re < Z) && (Z = re);
4231
4288
  }
4232
- var E, N;
4233
- Z === -1 ? N = P.lastIndexOf("@") : N = P.lastIndexOf("@", Z), N !== -1 && (E = P.slice(0, N), P = P.slice(N + 1), this.auth = decodeURIComponent(E)), Z = -1;
4289
+ var q, N;
4290
+ Z === -1 ? N = P.lastIndexOf("@") : N = P.lastIndexOf("@", Z), N !== -1 && (q = P.slice(0, N), P = P.slice(N + 1), this.auth = decodeURIComponent(q)), Z = -1;
4234
4291
  for (var A = 0; A < i.length; A++) {
4235
4292
  var re = P.indexOf(i[A]);
4236
4293
  re !== -1 && (Z === -1 || re < Z) && (Z = re);
4237
4294
  }
4238
4295
  Z === -1 && (Z = P.length), this.host = P.slice(0, Z), P = P.slice(Z), this.parseHost(), this.hostname = this.hostname || "";
4239
- var L = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
4240
- if (!L)
4241
- for (var C = this.hostname.split(/\./), A = 0, U = C.length; A < U; A++) {
4296
+ var F = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
4297
+ if (!F)
4298
+ for (var C = this.hostname.split(/\./), A = 0, L = C.length; A < L; A++) {
4242
4299
  var J = C[A];
4243
4300
  if (J && !J.match(y)) {
4244
4301
  for (var z = "", K = 0, ne = J.length; K < ne; K++)
4245
4302
  J.charCodeAt(K) > 127 ? z += "x" : z += J[K];
4246
4303
  if (!z.match(y)) {
4247
- var V = C.slice(0, A), I = C.slice(A + 1), F = J.match(f);
4248
- F && (V.push(F[1]), I.unshift(F[2])), I.length && (P = "/" + I.join(".") + P), this.hostname = V.join(".");
4304
+ var V = C.slice(0, A), I = C.slice(A + 1), _ = J.match(f);
4305
+ _ && (V.push(_[1]), I.unshift(_[2])), I.length && (P = "/" + I.join(".") + P), this.hostname = V.join(".");
4249
4306
  break;
4250
4307
  }
4251
4308
  }
4252
4309
  }
4253
- this.hostname.length > d ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), L || (this.hostname = e.toASCII(this.hostname));
4254
- var _ = this.port ? ":" + this.port : "", Q = this.hostname || "";
4255
- this.host = Q + _, this.href += this.host, L && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), P[0] !== "/" && (P = "/" + P));
4310
+ this.hostname.length > d ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), F || (this.hostname = e.toASCII(this.hostname));
4311
+ var B = this.port ? ":" + this.port : "", Q = this.hostname || "";
4312
+ this.host = Q + B, this.href += this.host, F && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), P[0] !== "/" && (P = "/" + P));
4256
4313
  }
4257
4314
  if (!h[D])
4258
- for (var A = 0, U = o.length; A < U; A++) {
4315
+ for (var A = 0, L = o.length; A < L; A++) {
4259
4316
  var W = o[A];
4260
4317
  if (P.indexOf(W) !== -1) {
4261
4318
  var Y = encodeURIComponent(W);
@@ -4266,8 +4323,8 @@ function Ts() {
4266
4323
  ae !== -1 && (this.hash = P.substr(ae), P = P.slice(0, ae));
4267
4324
  var he = P.indexOf("?");
4268
4325
  if (he !== -1 ? (this.search = P.substr(he), this.query = P.substr(he + 1), O && (this.query = u.parse(this.query)), P = P.slice(0, he)) : O && (this.search = "", this.query = {}), P && (this.pathname = P), $[D] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
4269
- var _ = this.pathname || "", Se = this.search || "";
4270
- this.path = _ + Se;
4326
+ var B = this.pathname || "", Se = this.search || "";
4327
+ this.path = B + Se;
4271
4328
  }
4272
4329
  return this.href = this.format(), this;
4273
4330
  };
@@ -4277,15 +4334,15 @@ function Ts() {
4277
4334
  n.prototype.format = function() {
4278
4335
  var p = this.auth || "";
4279
4336
  p && (p = encodeURIComponent(p), p = p.replace(/%3A/i, ":"), p += "@");
4280
- var O = this.protocol || "", g = this.pathname || "", k = this.hash || "", R = !1, q = "";
4281
- this.host ? R = p + this.host : this.hostname && (R = p + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (R += ":" + this.port)), this.query && typeof this.query == "object" && Object.keys(this.query).length && (q = u.stringify(this.query, {
4337
+ var O = this.protocol || "", g = this.pathname || "", R = this.hash || "", E = !1, k = "";
4338
+ this.host ? E = p + this.host : this.hostname && (E = p + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (E += ":" + this.port)), this.query && typeof this.query == "object" && Object.keys(this.query).length && (k = u.stringify(this.query, {
4282
4339
  arrayFormat: "repeat",
4283
4340
  addQueryPrefix: !1
4284
4341
  }));
4285
- var B = this.search || q && "?" + q || "";
4286
- return O && O.substr(-1) !== ":" && (O += ":"), this.slashes || (!O || $[O]) && R !== !1 ? (R = "//" + (R || ""), g && g.charAt(0) !== "/" && (g = "/" + g)) : R || (R = ""), k && k.charAt(0) !== "#" && (k = "#" + k), B && B.charAt(0) !== "?" && (B = "?" + B), g = g.replace(/[?#]/g, function(P) {
4342
+ var U = this.search || k && "?" + k || "";
4343
+ return O && O.substr(-1) !== ":" && (O += ":"), this.slashes || (!O || $[O]) && E !== !1 ? (E = "//" + (E || ""), g && g.charAt(0) !== "/" && (g = "/" + g)) : E || (E = ""), R && R.charAt(0) !== "#" && (R = "#" + R), U && U.charAt(0) !== "?" && (U = "?" + U), g = g.replace(/[?#]/g, function(P) {
4287
4344
  return encodeURIComponent(P);
4288
- }), B = B.replace("#", "%23"), O + R + g + B + k;
4345
+ }), U = U.replace("#", "%23"), O + E + g + U + R;
4289
4346
  };
4290
4347
  function S(p, O) {
4291
4348
  return m(p, !1, !0).resolve(O);
@@ -4301,15 +4358,15 @@ function Ts() {
4301
4358
  var O = new n();
4302
4359
  O.parse(p, !1, !0), p = O;
4303
4360
  }
4304
- for (var g = new n(), k = Object.keys(this), R = 0; R < k.length; R++) {
4305
- var q = k[R];
4306
- g[q] = this[q];
4361
+ for (var g = new n(), R = Object.keys(this), E = 0; E < R.length; E++) {
4362
+ var k = R[E];
4363
+ g[k] = this[k];
4307
4364
  }
4308
4365
  if (g.hash = p.hash, p.href === "")
4309
4366
  return g.href = g.format(), g;
4310
4367
  if (p.slashes && !p.protocol) {
4311
- for (var B = Object.keys(p), P = 0; P < B.length; P++) {
4312
- var oe = B[P];
4368
+ for (var U = Object.keys(p), P = 0; P < U.length; P++) {
4369
+ var oe = U[P];
4313
4370
  oe !== "protocol" && (g[oe] = p[oe]);
4314
4371
  }
4315
4372
  return $[g.protocol] && g.hostname && !g.pathname && (g.pathname = "/", g.path = g.pathname), g.href = g.format(), g;
@@ -4323,9 +4380,9 @@ function Ts() {
4323
4380
  return g.href = g.format(), g;
4324
4381
  }
4325
4382
  if (g.protocol = p.protocol, !p.host && !x[p.protocol]) {
4326
- for (var U = (p.pathname || "").split("/"); U.length && !(p.host = U.shift()); )
4383
+ for (var L = (p.pathname || "").split("/"); L.length && !(p.host = L.shift()); )
4327
4384
  ;
4328
- p.host || (p.host = ""), p.hostname || (p.hostname = ""), U[0] !== "" && U.unshift(""), U.length < 2 && U.unshift(""), g.pathname = U.join("/");
4385
+ p.host || (p.host = ""), p.hostname || (p.hostname = ""), L[0] !== "" && L.unshift(""), L.length < 2 && L.unshift(""), g.pathname = L.join("/");
4329
4386
  } else
4330
4387
  g.pathname = p.pathname;
4331
4388
  if (g.search = p.search, g.query = p.query, g.host = p.host || "", g.auth = p.auth, g.hostname = p.hostname || p.host, g.port = p.port, g.pathname || g.search) {
@@ -4334,11 +4391,11 @@ function Ts() {
4334
4391
  }
4335
4392
  return g.slashes = g.slashes || p.slashes, g.href = g.format(), g;
4336
4393
  }
4337
- var re = g.pathname && g.pathname.charAt(0) === "/", E = p.host || p.pathname && p.pathname.charAt(0) === "/", N = E || re || g.host && p.pathname, L = N, C = g.pathname && g.pathname.split("/") || [], U = p.pathname && p.pathname.split("/") || [], J = g.protocol && !$[g.protocol];
4338
- if (J && (g.hostname = "", g.port = null, g.host && (C[0] === "" ? C[0] = g.host : C.unshift(g.host)), g.host = "", p.protocol && (p.hostname = null, p.port = null, p.host && (U[0] === "" ? U[0] = p.host : U.unshift(p.host)), p.host = null), N = N && (U[0] === "" || C[0] === "")), E)
4339
- g.host = p.host || p.host === "" ? p.host : g.host, g.hostname = p.hostname || p.hostname === "" ? p.hostname : g.hostname, g.search = p.search, g.query = p.query, C = U;
4340
- else if (U.length)
4341
- C || (C = []), C.pop(), C = C.concat(U), g.search = p.search, g.query = p.query;
4394
+ var re = g.pathname && g.pathname.charAt(0) === "/", q = p.host || p.pathname && p.pathname.charAt(0) === "/", N = q || re || g.host && p.pathname, F = N, C = g.pathname && g.pathname.split("/") || [], L = p.pathname && p.pathname.split("/") || [], J = g.protocol && !$[g.protocol];
4395
+ if (J && (g.hostname = "", g.port = null, g.host && (C[0] === "" ? C[0] = g.host : C.unshift(g.host)), g.host = "", p.protocol && (p.hostname = null, p.port = null, p.host && (L[0] === "" ? L[0] = p.host : L.unshift(p.host)), p.host = null), N = N && (L[0] === "" || C[0] === "")), q)
4396
+ g.host = p.host || p.host === "" ? p.host : g.host, g.hostname = p.hostname || p.hostname === "" ? p.hostname : g.hostname, g.search = p.search, g.query = p.query, C = L;
4397
+ else if (L.length)
4398
+ C || (C = []), C.pop(), C = C.concat(L), g.search = p.search, g.query = p.query;
4342
4399
  else if (p.search != null) {
4343
4400
  if (J) {
4344
4401
  g.host = C.shift(), g.hostname = g.host;
@@ -4351,28 +4408,28 @@ function Ts() {
4351
4408
  return g.pathname = null, g.search ? g.path = "/" + g.search : g.path = null, g.href = g.format(), g;
4352
4409
  for (var K = C.slice(-1)[0], ne = (g.host || p.host || C.length > 1) && (K === "." || K === "..") || K === "", V = 0, I = C.length; I >= 0; I--)
4353
4410
  K = C[I], K === "." ? C.splice(I, 1) : K === ".." ? (C.splice(I, 1), V++) : V && (C.splice(I, 1), V--);
4354
- if (!N && !L)
4411
+ if (!N && !F)
4355
4412
  for (; V--; V)
4356
4413
  C.unshift("..");
4357
4414
  N && C[0] !== "" && (!C[0] || C[0].charAt(0) !== "/") && C.unshift(""), ne && C.join("/").substr(-1) !== "/" && C.push("");
4358
- var F = C[0] === "" || C[0] && C[0].charAt(0) === "/";
4415
+ var _ = C[0] === "" || C[0] && C[0].charAt(0) === "/";
4359
4416
  if (J) {
4360
- g.hostname = F ? "" : C.length ? C.shift() : "", g.host = g.hostname;
4417
+ g.hostname = _ ? "" : C.length ? C.shift() : "", g.host = g.hostname;
4361
4418
  var z = g.host && g.host.indexOf("@") > 0 ? g.host.split("@") : !1;
4362
4419
  z && (g.auth = z.shift(), g.hostname = z.shift(), g.host = g.hostname);
4363
4420
  }
4364
- return N = N || g.host && C.length, N && !F && C.unshift(""), C.length > 0 ? g.pathname = C.join("/") : (g.pathname = null, g.path = null), (g.pathname !== null || g.search !== null) && (g.path = (g.pathname ? g.pathname : "") + (g.search ? g.search : "")), g.auth = p.auth || g.auth, g.slashes = g.slashes || p.slashes, g.href = g.format(), g;
4421
+ return N = N || g.host && C.length, N && !_ && C.unshift(""), C.length > 0 ? g.pathname = C.join("/") : (g.pathname = null, g.path = null), (g.pathname !== null || g.search !== null) && (g.path = (g.pathname ? g.pathname : "") + (g.search ? g.search : "")), g.auth = p.auth || g.auth, g.slashes = g.slashes || p.slashes, g.href = g.format(), g;
4365
4422
  }, n.prototype.parseHost = function() {
4366
4423
  var p = this.host, O = a.exec(p);
4367
4424
  O && (O = O[0], O !== ":" && (this.port = O.substr(1)), p = p.substr(0, p.length - O.length)), p && (this.hostname = p);
4368
4425
  }, Ce.parse = m, Ce.resolve = S, Ce.resolveObject = T, Ce.format = v, Ce.Url = n, Ce;
4369
4426
  }
4370
- var fr = Ts(), pr = /* @__PURE__ */ Ca(), Ps = (e) => typeof e == "object" && "log" in e && typeof e.log == "object" && "entries" in e.log && Array.isArray(e.log.entries), Cs = class {
4427
+ var fr = Cs(), pr = /* @__PURE__ */ Ca(), qs = (e) => typeof e == "object" && "log" in e && typeof e.log == "object" && "entries" in e.log && Array.isArray(e.log.entries), Es = class {
4371
4428
  constructor(e, n = {}) {
4372
4429
  this.initCalled = !1, this.entries = [], this.requests = [], this.options = {}, this.options = {
4373
4430
  harIsAlreadyEncoded: !1,
4374
4431
  ...n
4375
- }, this.requests = [], Ps(e) ? this.entries = e.log.entries : this.entries = [
4432
+ }, this.requests = [], qs(e) ? this.entries = e.log.entries : this.entries = [
4376
4433
  {
4377
4434
  request: e
4378
4435
  }
@@ -4495,21 +4552,20 @@ var fr = Ts(), pr = /* @__PURE__ */ Ca(), Ps = (e) => typeof e == "object" && "l
4495
4552
  }
4496
4553
  convert(e, n, t) {
4497
4554
  this.initCalled || this.init(), !t && n && (t = n);
4498
- const a = zi[e];
4555
+ const a = Ji[e];
4499
4556
  if (!a)
4500
4557
  return !1;
4501
4558
  const { convert: c } = a.clientsById[n || a.info.default];
4502
4559
  return this.requests.map((r) => c(r, t));
4503
4560
  }
4504
4561
  };
4505
- const qs = ({
4562
+ const Rs = ({
4506
4563
  operation: e,
4507
4564
  selectedServer: n,
4508
4565
  exampleBody: t
4509
- }) => new Cs({
4566
+ }) => new Es({
4510
4567
  method: e.method.toUpperCase(),
4511
4568
  url: n + e.path.replaceAll("{", ":").replaceAll("}", ""),
4512
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
4513
4569
  postData: t,
4514
4570
  headers: [
4515
4571
  ...t.text ? [{ name: "Content-Type", value: t.mimeType }] : [],
@@ -4526,7 +4582,7 @@ const qs = ({
4526
4582
  cookies: [],
4527
4583
  headersSize: 0,
4528
4584
  bodySize: 0
4529
- }), Es = (e, n) => {
4585
+ }), ks = (e, n) => {
4530
4586
  let t;
4531
4587
  switch (n) {
4532
4588
  case "shell":
@@ -4575,7 +4631,7 @@ const qs = ({
4575
4631
  purple: "text-purple-600",
4576
4632
  indigo: "text-indigo-600",
4577
4633
  gray: "text-gray-600"
4578
- }, Rs = {
4634
+ }, Ns = {
4579
4635
  get: be.green,
4580
4636
  post: be.blue,
4581
4637
  put: be.yellow,
@@ -4584,7 +4640,7 @@ const qs = ({
4584
4640
  options: be.indigo,
4585
4641
  head: be.gray,
4586
4642
  trace: be.gray
4587
- }, qa = (e) => Rs[e.toLocaleLowerCase()] ?? be.gray, ks = Me(
4643
+ }, qa = (e) => Ns[e.toLocaleLowerCase()] ?? be.gray, As = Me(
4588
4644
  /* GraphQL */
4589
4645
  `
4590
4646
  query getServerQuery($input: JSON!, $type: SchemaType!) {
@@ -4596,7 +4652,7 @@ const qs = ({
4596
4652
  }
4597
4653
  }
4598
4654
  `
4599
- ), Ns = [
4655
+ ), Is = [
4600
4656
  { value: "shell", label: "cURL" },
4601
4657
  { value: "js", label: "JavaScript" },
4602
4658
  { value: "python", label: "Python" },
@@ -4608,12 +4664,12 @@ const qs = ({
4608
4664
  { value: "php", label: "PHP" },
4609
4665
  { value: "ruby", label: "Ruby" },
4610
4666
  { value: "swift", label: "Swift" }
4611
- ], As = ({
4667
+ ], Us = ({
4612
4668
  operation: e,
4613
4669
  selectedResponse: n,
4614
4670
  onSelectResponse: t
4615
4671
  }) => {
4616
- const { input: a, type: c, options: s } = et(), r = co(), o = Ke(ks, { input: a, type: c }), i = gr(o), l = lo(), d = qa(e.method), [y, f] = Ja(), [, h] = ca(), [x, $] = ge(), u = y.get("lang") ?? s?.examplesLanguage ?? "shell", m = e.requestBody?.content, v = m && s?.transformExamples ? s.transformExamples({
4672
+ const { input: a, type: c, options: s } = et(), r = fo(), o = Ke(As, { input: a, type: c }), i = gr(o), l = uo(), d = qa(e.method), [y, f] = Ja(), [, h] = ca(), [x, $] = ge(), u = y.get("lang") ?? s?.examplesLanguage ?? "shell", m = e.requestBody?.content, v = m && s?.transformExamples ? s.transformExamples({
4617
4673
  auth: r,
4618
4674
  type: "request",
4619
4675
  operation: e,
@@ -4623,35 +4679,35 @@ const qs = ({
4623
4679
  Qa,
4624
4680
  {
4625
4681
  path: e.path,
4626
- renderParam: ({ name: R }) => /* @__PURE__ */ b.jsx(
4682
+ renderParam: ({ name: E }) => /* @__PURE__ */ b.jsx(
4627
4683
  ea,
4628
4684
  {
4629
- name: R,
4685
+ name: E,
4630
4686
  backgroundOpacity: "0",
4631
- slug: `${e.slug}-${R}`,
4632
- children: `{${R}}`
4687
+ slug: `${e.slug}-${E}`,
4688
+ children: `{${E}}`
4633
4689
  }
4634
4690
  )
4635
4691
  }
4636
4692
  ), { selectedServer: T } = vr(i.data.schema.servers), p = fa(() => {
4637
- const R = x ?? (v?.[0]?.schema ? we(
4693
+ const E = x ?? (v?.[0]?.schema ? we(
4638
4694
  v[0].schema
4639
- ) : void 0), q = qs({
4695
+ ) : void 0), k = Rs({
4640
4696
  operation: e,
4641
4697
  selectedServer: T,
4642
- exampleBody: R ? {
4698
+ exampleBody: E ? {
4643
4699
  mimeType: "application/json",
4644
- text: JSON.stringify(R, null, 2)
4700
+ text: JSON.stringify(E, null, 2)
4645
4701
  } : { mimeType: "application/json" }
4646
4702
  });
4647
- return Es(q, u);
4703
+ return ks(k, u);
4648
4704
  }, [
4649
4705
  x,
4650
4706
  v,
4651
4707
  e,
4652
4708
  T,
4653
4709
  u
4654
- ]), [O, g] = wo({ rootMargin: "200px 0px 200px 0px" }), k = g && (e.extensions["x-explorer-enabled"] === !0 || e.extensions["x-zudoku-playground-enabled"] === !0 || e.extensions["x-explorer-enabled"] === void 0 && e.extensions["x-zudoku-playground-enabled"] === void 0 && !s?.disablePlayground);
4710
+ ]), [O, g] = So({ rootMargin: "200px 0px 200px 0px" }), R = g && (e.extensions["x-explorer-enabled"] === !0 || e.extensions["x-zudoku-playground-enabled"] === !0 || e.extensions["x-explorer-enabled"] === void 0 && e.extensions["x-zudoku-playground-enabled"] === void 0 && !s?.disablePlayground);
4655
4711
  return /* @__PURE__ */ b.jsxs(
4656
4712
  "aside",
4657
4713
  {
@@ -4666,10 +4722,10 @@ const qs = ({
4666
4722
  " ",
4667
4723
  S
4668
4724
  ] }),
4669
- k && /* @__PURE__ */ b.jsx(
4670
- So,
4725
+ R && /* @__PURE__ */ b.jsx(
4726
+ To,
4671
4727
  {
4672
- servers: i.data.schema.servers.map((R) => R.url),
4728
+ servers: i.data.schema.servers.map((E) => E.url),
4673
4729
  operation: e,
4674
4730
  examples: m ?? void 0
4675
4731
  }
@@ -4693,103 +4749,44 @@ const qs = ({
4693
4749
  {
4694
4750
  className: "self-start max-w-[150px]",
4695
4751
  value: u,
4696
- onChange: (R) => {
4752
+ onChange: (E) => {
4697
4753
  h(() => {
4698
- f((q) => (q.set("lang", R.target.value), q));
4754
+ f((k) => (k.set("lang", E.target.value), k));
4699
4755
  });
4700
4756
  },
4701
- options: Ns
4757
+ options: Is
4702
4758
  }
4703
4759
  )
4704
4760
  ] })
4705
4761
  ] })
4706
4762
  ] }),
4707
4763
  g && v && /* @__PURE__ */ b.jsx(
4708
- Po,
4764
+ qo,
4709
4765
  {
4710
4766
  content: v,
4711
4767
  onExampleChange: $
4712
4768
  }
4713
4769
  ),
4714
4770
  g && e.responses.length > 0 && /* @__PURE__ */ b.jsx(
4715
- Co,
4771
+ Eo,
4716
4772
  {
4717
4773
  selectedResponse: n,
4718
4774
  onSelectResponse: t,
4719
- responses: e.responses.map((R) => ({
4720
- ...R,
4721
- content: R.content && s?.transformExamples ? s.transformExamples({
4775
+ responses: e.responses.map((E) => ({
4776
+ ...E,
4777
+ content: E.content && s?.transformExamples ? s.transformExamples({
4722
4778
  auth: r,
4723
4779
  type: "response",
4724
4780
  context: l,
4725
4781
  operation: e,
4726
- content: R.content
4727
- }) : R.content
4782
+ content: E.content
4783
+ }) : E.content
4728
4784
  }))
4729
4785
  }
4730
4786
  )
4731
4787
  ]
4732
4788
  }
4733
4789
  );
4734
- }, Is = pe, Us = ({
4735
- responses: e,
4736
- selectedResponse: n,
4737
- onSelectResponse: t
4738
- }) => {
4739
- const [a, c] = ge(
4740
- e[0]?.content?.[0]?.mediaType ?? ""
4741
- ), s = e.find((o) => o.statusCode === n) ?? e[0], r = /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col bg-muted text-muted-foreground", children: [
4742
- /* @__PURE__ */ b.jsxs("div", { className: "flex flex-row items-center gap-2 justify-between px-4 py-2", children: [
4743
- /* @__PURE__ */ b.jsx(je.List, { className: "flex flex-row font-medium text-sm gap-4", children: e.map((o) => /* @__PURE__ */ b.jsx(
4744
- je.Trigger,
4745
- {
4746
- value: o.statusCode,
4747
- className: Is(
4748
- "py-1 -mx-2 px-2 rounded-md",
4749
- "data-[state=active]:dark:ring-1 data-[state=active]:dark:ring-border data-[state=active]:bg-background data-[state=active]:drop-shadow",
4750
- "data-[state=active]:font-semibold data-[state=active]:text-foreground"
4751
- ),
4752
- children: o.statusCode
4753
- },
4754
- o.statusCode
4755
- )) }),
4756
- s?.content && s.content.length > 1 && /* @__PURE__ */ b.jsxs(
4757
- na,
4758
- {
4759
- value: a,
4760
- onValueChange: c,
4761
- children: [
4762
- /* @__PURE__ */ b.jsx(aa, { className: "h-8 mt-0 max-w-48 text-xs truncate", children: /* @__PURE__ */ b.jsx(oa, { placeholder: "Select a type" }) }),
4763
- /* @__PURE__ */ b.jsx(ia, { children: s.content.map((o) => /* @__PURE__ */ b.jsx(sa, { value: o.mediaType, children: o.mediaType }, o.mediaType)) })
4764
- ]
4765
- }
4766
- )
4767
- ] }),
4768
- s?.description && /* @__PURE__ */ b.jsx(
4769
- fo,
4770
- {
4771
- className: "text-sm border-t px-4 py-2 text-muted-foreground",
4772
- content: s.description
4773
- }
4774
- )
4775
- ] });
4776
- return /* @__PURE__ */ b.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ b.jsx(
4777
- je.Root,
4778
- {
4779
- value: n,
4780
- onValueChange: (o) => {
4781
- t?.(o);
4782
- const i = e.find((l) => l.statusCode === o);
4783
- c(i?.content?.[0]?.mediaType ?? "");
4784
- },
4785
- children: e.map((o) => {
4786
- const i = o.content?.find(
4787
- (l) => l.mediaType === a
4788
- );
4789
- return /* @__PURE__ */ b.jsx(je.Content, { value: o.statusCode, children: /* @__PURE__ */ b.jsx(xr, { schema: i?.schema, cardHeader: r }) }, o.statusCode);
4790
- })
4791
- }
4792
- ) });
4793
4790
  }, Ls = ["path", "query", "header", "cookie"], Fs = ({
4794
4791
  operationFragment: e,
4795
4792
  serverUrl: n
@@ -4840,9 +4837,9 @@ const qs = ({
4840
4837
  content: t.description
4841
4838
  }
4842
4839
  ),
4843
- t.parameters && t.parameters.length > 0 && /* @__PURE__ */ b.jsx(b.Fragment, { children: Ls.flatMap(
4840
+ t.parameters && t.parameters.length > 0 && Ls.flatMap(
4844
4841
  (i) => a[i]?.length ? /* @__PURE__ */ b.jsx(
4845
- $o,
4842
+ jo,
4846
4843
  {
4847
4844
  summary: t.summary ?? void 0,
4848
4845
  id: t.slug,
@@ -4851,7 +4848,7 @@ const qs = ({
4851
4848
  },
4852
4849
  i
4853
4850
  ) : []
4854
- ) }),
4851
+ ),
4855
4852
  Br(t.requestBody?.content?.at(0)?.schema, (i) => /* @__PURE__ */ b.jsxs("div", { className: "mt-4 flex flex-col gap-4", children: [
4856
4853
  /* @__PURE__ */ b.jsxs(
4857
4854
  Fe,
@@ -4889,7 +4886,7 @@ const qs = ({
4889
4886
  }
4890
4887
  ),
4891
4888
  /* @__PURE__ */ b.jsx(
4892
- Us,
4889
+ xo,
4893
4890
  {
4894
4891
  responses: t.responses,
4895
4892
  selectedResponse: r,
@@ -4901,7 +4898,7 @@ const qs = ({
4901
4898
  }
4902
4899
  ),
4903
4900
  Br(!c?.disableSidecar, () => /* @__PURE__ */ b.jsx(
4904
- As,
4901
+ Us,
4905
4902
  {
4906
4903
  selectedResponse: r,
4907
4904
  onSelectResponse: o,
@@ -5019,6 +5016,7 @@ const _s = Me(
5019
5016
  slug
5020
5017
  ...OperationsFragment
5021
5018
  }
5019
+ extensions
5022
5020
  next {
5023
5021
  name
5024
5022
  slug
@@ -5031,7 +5029,7 @@ const _s = Me(
5031
5029
  }
5032
5030
  }
5033
5031
  `
5034
- ), ul = ({
5032
+ ), fl = ({
5035
5033
  tag: e,
5036
5034
  untagged: n
5037
5035
  }) => {
@@ -5052,13 +5050,13 @@ const _s = Me(
5052
5050
  /* @__PURE__ */ b.jsx("div", { className: "text-muted-foreground font-medium", children: "No operations found" }),
5053
5051
  /* @__PURE__ */ b.jsx("div", { className: "mt-2 text-sm text-muted-foreground", children: "This API doesn't have any operations defined yet." })
5054
5052
  ] });
5055
- const { operations: m, next: v, prev: S, description: T } = d.tag, p = T ? Xn(T) : h || (x ? Xn(x) : void 0), O = Object.entries(c).length > 1, g = r?.showVersionSelect === "always" || O && r?.showVersionSelect !== "hide", k = {
5053
+ const { operations: m, next: v, prev: S, description: T } = d.tag, p = T ? Xn(T) : h || (x ? Xn(x) : void 0), O = Object.entries(c).length > 1, g = r?.showVersionSelect === "always" || O && r?.showVersionSelect !== "hide", R = {
5056
5054
  prev: S?.name ? { to: `../${S.slug}`, label: S.name } : void 0,
5057
5055
  next: v ? {
5058
5056
  to: `../${v.slug ?? Ka}`,
5059
5057
  label: v.name ?? "Other endpoints"
5060
5058
  } : void 0
5061
- }, R = [d.tag.name, f].filter(Boolean).join(" - ");
5059
+ }, E = d.tag.extensions?.["x-displayName"] ?? d.tag.name, k = [E, f].filter(Boolean).join(" - ");
5062
5060
  return /* @__PURE__ */ b.jsxs(
5063
5061
  "div",
5064
5062
  {
@@ -5067,14 +5065,14 @@ const _s = Me(
5067
5065
  "data-pagefind-meta": "section:openapi",
5068
5066
  children: [
5069
5067
  /* @__PURE__ */ b.jsxs(La, { children: [
5070
- R && /* @__PURE__ */ b.jsx("title", { children: R }),
5068
+ k && /* @__PURE__ */ b.jsx("title", { children: k }),
5071
5069
  p && /* @__PURE__ */ b.jsx("meta", { name: "description", content: p })
5072
5070
  ] }),
5073
5071
  /* @__PURE__ */ b.jsxs("div", { className: "mb-8", children: [
5074
5072
  /* @__PURE__ */ b.jsxs(ta, { className: "w-full", children: [
5075
5073
  /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col gap-y-4 sm:flex-row justify-around items-start sm:items-end", children: [
5076
5074
  /* @__PURE__ */ b.jsxs("div", { className: "flex flex-col flex-1 gap-2", children: [
5077
- /* @__PURE__ */ b.jsx(Xa, { children: f }),
5075
+ /* @__PURE__ */ b.jsx(Ya, { children: f }),
5078
5076
  /* @__PURE__ */ b.jsxs(
5079
5077
  Fe,
5080
5078
  {
@@ -5083,7 +5081,7 @@ const _s = Me(
5083
5081
  registerNavigationAnchor: !0,
5084
5082
  className: "mb-0",
5085
5083
  children: [
5086
- d.tag.name ?? "Documentation",
5084
+ E,
5087
5085
  g && /* @__PURE__ */ b.jsxs("span", { className: "text-xl text-muted-foreground ms-1.5", children: [
5088
5086
  " ",
5089
5087
  "(",
@@ -5099,12 +5097,12 @@ const _s = Me(
5099
5097
  g && /* @__PURE__ */ b.jsxs(
5100
5098
  na,
5101
5099
  {
5102
- onValueChange: (q) => $(c[q]),
5100
+ onValueChange: (U) => $(c[U]),
5103
5101
  defaultValue: s,
5104
5102
  disabled: !O,
5105
5103
  children: [
5106
5104
  /* @__PURE__ */ b.jsx(aa, { className: "w-[180px]", children: /* @__PURE__ */ b.jsx(oa, { placeholder: "Select version" }) }),
5107
- /* @__PURE__ */ b.jsx(ia, { children: Object.entries(c).map(([q]) => /* @__PURE__ */ b.jsx(sa, { value: q, children: q }, q)) })
5105
+ /* @__PURE__ */ b.jsx(ia, { children: Object.entries(c).map(([U]) => /* @__PURE__ */ b.jsx(sa, { value: U, children: U }, U)) })
5108
5106
  ]
5109
5107
  }
5110
5108
  ),
@@ -5145,24 +5143,24 @@ const _s = Me(
5145
5143
  ] }),
5146
5144
  /* @__PURE__ */ b.jsx("hr", {}),
5147
5145
  /* @__PURE__ */ b.jsxs("div", { className: "px-6 mt-6 -mx-6 [content-visibility:auto]", children: [
5148
- m.map((q) => /* @__PURE__ */ b.jsxs("div", { children: [
5146
+ m.map((U) => /* @__PURE__ */ b.jsxs("div", { children: [
5149
5147
  /* @__PURE__ */ b.jsx(
5150
5148
  Fs,
5151
5149
  {
5152
5150
  serverUrl: y,
5153
- operationFragment: q
5151
+ operationFragment: U
5154
5152
  }
5155
5153
  ),
5156
5154
  /* @__PURE__ */ b.jsx("hr", { className: "my-10" })
5157
- ] }, q.slug)),
5158
- /* @__PURE__ */ b.jsx(Za, { className: "mb-4", ...k })
5155
+ ] }, U.slug)),
5156
+ /* @__PURE__ */ b.jsx(Za, { className: "mb-4", ...R })
5159
5157
  ] })
5160
5158
  ]
5161
5159
  }
5162
5160
  );
5163
5161
  };
5164
5162
  export {
5165
- ul as OperationList,
5163
+ fl as OperationList,
5166
5164
  _s as OperationsFragment
5167
5165
  };
5168
- //# sourceMappingURL=OperationList-ckGHyNMV.js.map
5166
+ //# sourceMappingURL=OperationList-D8ln4zHk.js.map