@stainless-api/docs-ui 0.1.0-beta.21 → 0.1.0-beta.22

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 (123) hide show
  1. package/dist/index.js +1762 -1015
  2. package/package.json +4 -4
  3. package/dist/breadcrumbs-Z-hEqjcp.d.ts +0 -19
  4. package/dist/chunk-Bp6m_JJh.js +0 -13
  5. package/dist/component-generics-DzI21jRn.js +0 -35
  6. package/dist/component-generics-q5Dqiu2D.d.ts +0 -30
  7. package/dist/components/breadcrumbs.d.ts +0 -2
  8. package/dist/components/breadcrumbs.js +0 -16
  9. package/dist/components/chat.d.ts +0 -14
  10. package/dist/components/chat.js +0 -144
  11. package/dist/components/dropdown.d.ts +0 -2
  12. package/dist/components/dropdown.js +0 -4
  13. package/dist/components/icons.d.ts +0 -50
  14. package/dist/components/icons.js +0 -3
  15. package/dist/components/index.d.ts +0 -12
  16. package/dist/components/index.js +0 -16
  17. package/dist/components/method.d.ts +0 -2
  18. package/dist/components/method.js +0 -16
  19. package/dist/components/overview.d.ts +0 -2
  20. package/dist/components/overview.js +0 -16
  21. package/dist/components/primitives.d.ts +0 -2
  22. package/dist/components/primitives.js +0 -16
  23. package/dist/components/properties.d.ts +0 -2
  24. package/dist/components/properties.js +0 -16
  25. package/dist/components/scripts/dropdown.d.ts +0 -12
  26. package/dist/components/scripts/dropdown.js +0 -50
  27. package/dist/components/sdk.d.ts +0 -3
  28. package/dist/components/sdk.js +0 -16
  29. package/dist/components/sidebar.d.ts +0 -2
  30. package/dist/components/sidebar.js +0 -16
  31. package/dist/components/snippets.d.ts +0 -4
  32. package/dist/components/snippets.js +0 -16
  33. package/dist/contexts/component-generics.d.ts +0 -2
  34. package/dist/contexts/component-generics.js +0 -3
  35. package/dist/contexts/component-types.d.ts +0 -18
  36. package/dist/contexts/component-types.js +0 -1
  37. package/dist/contexts/component.d.ts +0 -31
  38. package/dist/contexts/component.js +0 -16
  39. package/dist/contexts/docs.d.ts +0 -2
  40. package/dist/contexts/docs.js +0 -3
  41. package/dist/contexts/index.d.ts +0 -20
  42. package/dist/contexts/index.js +0 -16
  43. package/dist/contexts/markdown.d.ts +0 -2
  44. package/dist/contexts/markdown.js +0 -4
  45. package/dist/contexts/navigation.d.ts +0 -3
  46. package/dist/contexts/navigation.js +0 -3
  47. package/dist/contexts/search.d.ts +0 -4
  48. package/dist/contexts/search.js +0 -16
  49. package/dist/contexts/use-components.d.ts +0 -16
  50. package/dist/contexts/use-components.js +0 -4
  51. package/dist/contexts-DRxRO-xO.js +0 -3747
  52. package/dist/docs-Dh8kE1va.js +0 -50
  53. package/dist/docs-EUy-wfbA.d.ts +0 -43
  54. package/dist/dropdown-B7VyGMOw.d.ts +0 -43
  55. package/dist/dropdown-DtgAi6lb.js +0 -62
  56. package/dist/icons-DdKM-01E.js +0 -753
  57. package/dist/index-AicgPYKB.d.ts +0 -239
  58. package/dist/index-BhwLhiWk.d.ts +0 -14
  59. package/dist/index-YnpUtXLB.d.ts +0 -16
  60. package/dist/index.d.ts +0 -22
  61. package/dist/languages/go.d.ts +0 -13
  62. package/dist/languages/go.js +0 -16
  63. package/dist/languages/http.d.ts +0 -13
  64. package/dist/languages/http.js +0 -16
  65. package/dist/languages/index.d.ts +0 -13
  66. package/dist/languages/index.js +0 -16
  67. package/dist/languages/java.d.ts +0 -13
  68. package/dist/languages/java.js +0 -16
  69. package/dist/languages/python.d.ts +0 -13
  70. package/dist/languages/python.js +0 -16
  71. package/dist/languages/ruby.d.ts +0 -13
  72. package/dist/languages/ruby.js +0 -16
  73. package/dist/languages/typescript.d.ts +0 -13
  74. package/dist/languages/typescript.js +0 -16
  75. package/dist/markdown/index.d.ts +0 -11
  76. package/dist/markdown/index.js +0 -16
  77. package/dist/markdown/md.d.ts +0 -15
  78. package/dist/markdown/md.js +0 -3
  79. package/dist/markdown/utils.d.ts +0 -4
  80. package/dist/markdown/utils.js +0 -3
  81. package/dist/markdown-BXfX1D7C.js +0 -42
  82. package/dist/markdown-nFyAEX_K.d.ts +0 -22
  83. package/dist/mcp.js +0 -983441
  84. package/dist/md-Dg8aOyMA.js +0 -41
  85. package/dist/method-DpsVuzZW.d.ts +0 -71
  86. package/dist/navigation-aoYZ_tl4.js +0 -24
  87. package/dist/navigation-nyXBY-75.d.ts +0 -29
  88. package/dist/overview-C8e-6jGr.d.ts +0 -38
  89. package/dist/pagefind-ChrPfuVv.js +0 -15
  90. package/dist/primitives-DWz23_Ub.d.ts +0 -99
  91. package/dist/properties-CF71V58d.d.ts +0 -46
  92. package/dist/routing-DQjbRxdJ.js +0 -189
  93. package/dist/routing-qc0V00-j.d.ts +0 -51
  94. package/dist/routing.d.ts +0 -2
  95. package/dist/sdk-Zg3Rggk3.d.ts +0 -118
  96. package/dist/search/index.d.ts +0 -26
  97. package/dist/search/index.js +0 -332
  98. package/dist/search/providers/algolia.d.ts +0 -23
  99. package/dist/search/providers/algolia.js +0 -16
  100. package/dist/search/providers/fuse.d.ts +0 -17
  101. package/dist/search/providers/fuse.js +0 -31
  102. package/dist/search/providers/pagefind.d.ts +0 -7
  103. package/dist/search/providers/pagefind.js +0 -3
  104. package/dist/search/providers/walker.d.ts +0 -8
  105. package/dist/search/providers/walker.js +0 -32
  106. package/dist/search/types.d.ts +0 -3
  107. package/dist/search/types.js +0 -3
  108. package/dist/search-B6loAGmB.d.ts +0 -21
  109. package/dist/sidebar-C8KirYjg.d.ts +0 -35
  110. package/dist/snippets-EUzM4fRO.d.ts +0 -45
  111. package/dist/style-pN9hCoec.d.ts +0 -181
  112. package/dist/style-rYbbxIR_.js +0 -182
  113. package/dist/style.d.ts +0 -2
  114. package/dist/style.js +0 -3
  115. package/dist/types-CTBDtD34.d.ts +0 -82
  116. package/dist/types-DFN4M1Sp.js +0 -34
  117. package/dist/use-components-D9E85p5x.js +0 -7
  118. package/dist/utils-BHwvUDKn.js +0 -30
  119. package/dist/utils-CJfFBNgT.js +0 -32
  120. package/dist/utils-DQhEbvUC.d.ts +0 -20
  121. package/dist/utils-nDazhti8.d.ts +0 -11
  122. package/dist/utils.d.ts +0 -2
  123. package/dist/utils.js +0 -4
package/dist/index.js CHANGED
@@ -34,15 +34,16 @@ __export(contexts_exports, {
34
34
  });
35
35
 
36
36
  // src/contexts/docs.tsx
37
- import * as React2 from "react";
37
+ import * as React from "react";
38
+ import { jsx } from "react/jsx-runtime";
38
39
  var DocsContextDefaults = {
39
40
  settings: {},
40
41
  language: "node",
41
42
  spec: null
42
43
  };
43
- var DocsContext = React2.createContext(DocsContextDefaults);
44
+ var DocsContext = React.createContext(DocsContextDefaults);
44
45
  function useDocs() {
45
- return React2.useContext(DocsContext);
46
+ return React.useContext(DocsContext);
46
47
  }
47
48
  function useSpec() {
48
49
  return useDocs().spec;
@@ -79,19 +80,16 @@ function DocsProvider({ spec, language, settings, children }) {
79
80
  settings: settings ?? DocsContextDefaults.settings,
80
81
  language: language ?? DocsContextDefaults.language
81
82
  };
82
- return /* @__PURE__ */ React2.createElement(DocsContext.Provider, { value }, children);
83
+ return /* @__PURE__ */ jsx(DocsContext.Provider, { value, children });
83
84
  }
84
85
 
85
- // src/contexts/component-generics.tsx
86
- import * as React4 from "react";
87
-
88
86
  // src/hooks/use-strict-context.tsx
89
- import React3 from "react";
87
+ import React2 from "react";
90
88
  function createStrictContext(displayName) {
91
- const Context = React3.createContext(null);
89
+ const Context = React2.createContext(null);
92
90
  Context.displayName = displayName;
93
91
  function useStrictContext() {
94
- const context = React3.useContext(Context);
92
+ const context = React2.useContext(Context);
95
93
  if (context === null) {
96
94
  throw new Error(`use${displayName} must be used within a ${displayName}Provider`);
97
95
  }
@@ -101,6 +99,7 @@ function createStrictContext(displayName) {
101
99
  }
102
100
 
103
101
  // src/contexts/component-generics.tsx
102
+ import { jsx as jsx2 } from "react/jsx-runtime";
104
103
  var [Provider, useComponentContext] = createStrictContext("Component");
105
104
  function useComponents() {
106
105
  return useComponentContext().components;
@@ -117,17 +116,18 @@ function ComponentProvider({
117
116
  value,
118
117
  children
119
118
  }) {
120
- return /* @__PURE__ */ React4.createElement(Provider, { value }, children);
119
+ return /* @__PURE__ */ jsx2(Provider, { value, children });
121
120
  }
122
121
 
123
122
  // src/contexts/navigation.tsx
124
- import * as React5 from "react";
123
+ import * as React3 from "react";
124
+ import { jsx as jsx3 } from "react/jsx-runtime";
125
125
  var Defaults = {
126
126
  basePath: "/"
127
127
  };
128
- var NavigationContext = React5.createContext(Defaults);
128
+ var NavigationContext = React3.createContext(Defaults);
129
129
  function useNavigation() {
130
- return React5.useContext(NavigationContext);
130
+ return React3.useContext(NavigationContext);
131
131
  }
132
132
  function NavigationProvider({
133
133
  basePath,
@@ -136,41 +136,39 @@ function NavigationProvider({
136
136
  children
137
137
  }) {
138
138
  const value = { ...Defaults, onNavigate, basePath, selectedPath };
139
- return /* @__PURE__ */ React5.createElement(NavigationContext.Provider, { value }, children);
139
+ return /* @__PURE__ */ jsx3(NavigationContext.Provider, { value, children });
140
140
  }
141
141
 
142
142
  // src/contexts/markdown.tsx
143
- import * as React6 from "react";
143
+ import * as React4 from "react";
144
+ import { jsx as jsx4 } from "react/jsx-runtime";
144
145
  var HighlightLanguageMappings = {
145
146
  node: "typescript",
146
147
  http: "bash"
147
148
  };
148
- var MarkdownContext = React6.createContext({
149
+ var MarkdownContext = React4.createContext({
149
150
  highlight: (content) => content,
150
151
  render: (content) => content
151
152
  });
152
- var useMarkdownContext = () => React6.useContext(MarkdownContext);
153
+ var useMarkdownContext = () => React4.useContext(MarkdownContext);
153
154
  function useRenderMarkdown(content) {
154
- const { render } = React6.useContext(MarkdownContext);
155
- return React6.useMemo(() => content ? render(content) : void 0, [content, render]);
155
+ const { render } = React4.useContext(MarkdownContext);
156
+ return React4.useMemo(() => content ? render(content) : void 0, [content, render]);
156
157
  }
157
158
  function useHighlight(content, language) {
158
- const { highlight } = React6.useContext(MarkdownContext);
159
+ const { highlight } = React4.useContext(MarkdownContext);
159
160
  const defaultLanguage = useLanguage();
160
161
  const lang = language ?? defaultLanguage;
161
- return React6.useMemo(() => {
162
+ return React4.useMemo(() => {
162
163
  const highlightLanguage = HighlightLanguageMappings[lang] ?? lang;
163
164
  const rendered = highlight(content, highlightLanguage);
164
- return typeof rendered === "string" ? rendered : React6.use(rendered);
165
+ return typeof rendered === "string" ? rendered : React4.use(rendered);
165
166
  }, [content, highlight, lang]);
166
167
  }
167
168
  function MarkdownProvider({ render, highlight, children }) {
168
- return /* @__PURE__ */ React6.createElement(MarkdownContext.Provider, { value: { render, highlight } }, children);
169
+ return /* @__PURE__ */ jsx4(MarkdownContext.Provider, { value: { render, highlight }, children });
169
170
  }
170
171
 
171
- // src/contexts/search.tsx
172
- import * as React23 from "react";
173
-
174
172
  // ../../node_modules/.pnpm/@algolia+requester-browser-xhr@5.37.0/node_modules/@algolia/requester-browser-xhr/dist/requester.xhr.js
175
173
  function m() {
176
174
  function r2(t) {
@@ -3271,7 +3269,6 @@ function updateHistory(basePath, language, stainlessPath) {
3271
3269
  }
3272
3270
 
3273
3271
  // src/search/printer.tsx
3274
- import * as React22 from "react";
3275
3272
  import { renderToStaticMarkup } from "react-dom/server";
3276
3273
 
3277
3274
  // src/style.ts
@@ -3456,7 +3453,7 @@ var style_default = {
3456
3453
  };
3457
3454
 
3458
3455
  // src/contexts/component.tsx
3459
- import React21 from "react";
3456
+ import React17 from "react";
3460
3457
 
3461
3458
  // src/components/index.ts
3462
3459
  var components_exports = {};
@@ -3521,13 +3518,13 @@ __export(components_exports, {
3521
3518
  });
3522
3519
 
3523
3520
  // src/components/method.tsx
3524
- import * as React7 from "react";
3521
+ import * as React5 from "react";
3525
3522
 
3526
3523
  // src/contexts/use-components.tsx
3527
3524
  var useComponents2 = () => useComponents();
3528
3525
 
3529
3526
  // ../../node_modules/.pnpm/lucide-react@0.544.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
3530
- import { forwardRef as forwardRef2, createElement as createElement6 } from "react";
3527
+ import { forwardRef as forwardRef2, createElement as createElement2 } from "react";
3531
3528
 
3532
3529
  // ../../node_modules/.pnpm/lucide-react@0.544.0_react@19.2.0/node_modules/lucide-react/dist/esm/shared/src/utils.js
3533
3530
  var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
@@ -3551,7 +3548,7 @@ var hasA11yProp = (props) => {
3551
3548
  };
3552
3549
 
3553
3550
  // ../../node_modules/.pnpm/lucide-react@0.544.0_react@19.2.0/node_modules/lucide-react/dist/esm/Icon.js
3554
- import { forwardRef, createElement as createElement5 } from "react";
3551
+ import { forwardRef, createElement } from "react";
3555
3552
 
3556
3553
  // ../../node_modules/.pnpm/lucide-react@0.544.0_react@19.2.0/node_modules/lucide-react/dist/esm/defaultAttributes.js
3557
3554
  var defaultAttributes = {
@@ -3577,7 +3574,7 @@ var Icon = forwardRef(
3577
3574
  children,
3578
3575
  iconNode,
3579
3576
  ...rest
3580
- }, ref) => createElement5(
3577
+ }, ref) => createElement(
3581
3578
  "svg",
3582
3579
  {
3583
3580
  ref,
@@ -3591,7 +3588,7 @@ var Icon = forwardRef(
3591
3588
  ...rest
3592
3589
  },
3593
3590
  [
3594
- ...iconNode.map(([tag, attrs]) => createElement5(tag, attrs)),
3591
+ ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),
3595
3592
  ...Array.isArray(children) ? children : [children]
3596
3593
  ]
3597
3594
  )
@@ -3600,7 +3597,7 @@ var Icon = forwardRef(
3600
3597
  // ../../node_modules/.pnpm/lucide-react@0.544.0_react@19.2.0/node_modules/lucide-react/dist/esm/createLucideIcon.js
3601
3598
  var createLucideIcon = (iconName, iconNode) => {
3602
3599
  const Component = forwardRef2(
3603
- ({ className, ...props }, ref) => createElement6(Icon, {
3600
+ ({ className, ...props }, ref) => createElement2(Icon, {
3604
3601
  ref,
3605
3602
  iconNode,
3606
3603
  className: mergeClasses(
@@ -3752,22 +3749,31 @@ function clsx() {
3752
3749
  var clsx_default = clsx;
3753
3750
 
3754
3751
  // src/components/properties.tsx
3752
+ import { Fragment, jsx as jsx5, jsxs } from "react/jsx-runtime";
3755
3753
  function PropertyToggle({ target }) {
3756
- return /* @__PURE__ */ React.createElement(
3754
+ return /* @__PURE__ */ jsxs(
3757
3755
  "span",
3758
3756
  {
3759
3757
  className: style_default.ExpandToggle,
3760
3758
  "data-stldocs-property-toggle-expanded": "false",
3761
- "data-stldocs-property-toggle-target": target
3762
- },
3763
- /* @__PURE__ */ React.createElement("span", { className: style_default.ExpandToggleContent }, "Expand ", /* @__PURE__ */ React.createElement(ArrowDownWideNarrow, { className: style_default.Icon, size: 16 })),
3764
- /* @__PURE__ */ React.createElement("span", { className: style_default.ExpandToggleContent }, "Collapse ", /* @__PURE__ */ React.createElement(ArrowUpNarrowWide, { className: style_default.Icon, size: 16 }))
3759
+ "data-stldocs-property-toggle-target": target,
3760
+ children: [
3761
+ /* @__PURE__ */ jsxs("span", { className: style_default.ExpandToggleContent, children: [
3762
+ "Expand ",
3763
+ /* @__PURE__ */ jsx5(ArrowDownWideNarrow, { className: style_default.Icon, size: 16 })
3764
+ ] }),
3765
+ /* @__PURE__ */ jsxs("span", { className: style_default.ExpandToggleContent, children: [
3766
+ "Collapse ",
3767
+ /* @__PURE__ */ jsx5(ArrowUpNarrowWide, { className: style_default.Icon, size: 16 })
3768
+ ] })
3769
+ ]
3770
+ }
3765
3771
  );
3766
3772
  }
3767
3773
  function PropertyDescription({ description }) {
3768
3774
  const { Markdown: Markdown2 } = useComponents2();
3769
3775
  if (description)
3770
- return /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyDescription }, /* @__PURE__ */ React.createElement(Markdown2, { content: description }));
3776
+ return /* @__PURE__ */ jsx5("div", { className: style_default.PropertyDescription, children: /* @__PURE__ */ jsx5(Markdown2, { content: description }) });
3771
3777
  }
3772
3778
  function Property({
3773
3779
  id,
@@ -3788,14 +3794,39 @@ function Property({
3788
3794
  const properties = useSettings()?.properties;
3789
3795
  const collapseDescription = properties?.collapseDescription;
3790
3796
  const types = properties?.types;
3791
- const textContent2 = /* @__PURE__ */ React.createElement(React.Fragment, null, typeof deprecated === "string" && /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyDeprecatedMessage }, deprecated), description && /* @__PURE__ */ React.createElement(Docs.PropertyDescription, { description }), constraints && /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyContent }, constraints));
3792
- const rich = /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyDeclaration }, deprecated && /* @__PURE__ */ React.createElement("span", { className: style_default.PropertyDeprecated }, "Deprecated"), declaration2, badges && /* @__PURE__ */ React.createElement("span", { className: style_default.PropertyBadges }, badges)), collapseDescription === false ? textContent2 : null);
3793
- const simple = /* @__PURE__ */ React.createElement(React.Fragment, null, name && /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyHeader }, deprecated && /* @__PURE__ */ React.createElement("span", { className: style_default.PropertyDeprecated }, "Deprecated"), name && /* @__PURE__ */ React.createElement("span", { className: style_default.PropertyName }, name), typeName2 && /* @__PURE__ */ React.createElement("span", { className: style_default.PropertyTypeName }, typeName2), badges && /* @__PURE__ */ React.createElement("span", { className: style_default.PropertyBadges }, badges)), type && /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyType }, type), collapseDescription === false ? textContent2 : null);
3794
- const content = /* @__PURE__ */ React.createElement("div", { id, className: style_default.PropertyInfo }, types === "simple" ? simple : rich);
3795
- return /* @__PURE__ */ React.createElement("div", { className: style_default.Property, "data-stldocs-language": language }, children || collapseDescription !== false && description ? /* @__PURE__ */ React.createElement(Docs.Expander, { summary: content, muted: !children, open: expand }, collapseDescription !== false ? textContent2 : null, additional, children && /* @__PURE__ */ React.createElement("div", { className: style_default.PropertyChildren }, children)) : content);
3797
+ const textContent2 = /* @__PURE__ */ jsxs(Fragment, { children: [
3798
+ typeof deprecated === "string" && /* @__PURE__ */ jsx5("div", { className: style_default.PropertyDeprecatedMessage, children: deprecated }),
3799
+ description && /* @__PURE__ */ jsx5(Docs.PropertyDescription, { description }),
3800
+ constraints && /* @__PURE__ */ jsx5("div", { className: style_default.PropertyContent, children: constraints })
3801
+ ] });
3802
+ const rich = /* @__PURE__ */ jsxs(Fragment, { children: [
3803
+ /* @__PURE__ */ jsxs("div", { className: style_default.PropertyDeclaration, children: [
3804
+ deprecated && /* @__PURE__ */ jsx5("span", { className: style_default.PropertyDeprecated, children: "Deprecated" }),
3805
+ declaration2,
3806
+ badges && /* @__PURE__ */ jsx5("span", { className: style_default.PropertyBadges, children: badges })
3807
+ ] }),
3808
+ collapseDescription === false ? textContent2 : null
3809
+ ] });
3810
+ const simple = /* @__PURE__ */ jsxs(Fragment, { children: [
3811
+ name && /* @__PURE__ */ jsxs("div", { className: style_default.PropertyHeader, children: [
3812
+ deprecated && /* @__PURE__ */ jsx5("span", { className: style_default.PropertyDeprecated, children: "Deprecated" }),
3813
+ name && /* @__PURE__ */ jsx5("span", { className: style_default.PropertyName, children: name }),
3814
+ typeName2 && /* @__PURE__ */ jsx5("span", { className: style_default.PropertyTypeName, children: typeName2 }),
3815
+ badges && /* @__PURE__ */ jsx5("span", { className: style_default.PropertyBadges, children: badges })
3816
+ ] }),
3817
+ type && /* @__PURE__ */ jsx5("div", { className: style_default.PropertyType, children: type }),
3818
+ collapseDescription === false ? textContent2 : null
3819
+ ] });
3820
+ const content = /* @__PURE__ */ jsx5("div", { id, className: style_default.PropertyInfo, children: types === "simple" ? simple : rich });
3821
+ return /* @__PURE__ */ jsx5("div", { className: style_default.Property, "data-stldocs-language": language, children: children || collapseDescription !== false && description ? /* @__PURE__ */ jsxs(Docs.Expander, { summary: content, muted: !children, open: expand, children: [
3822
+ collapseDescription !== false ? textContent2 : null,
3823
+ additional,
3824
+ children && /* @__PURE__ */ jsx5("div", { className: style_default.PropertyChildren, children })
3825
+ ] }) : content });
3796
3826
  }
3797
3827
 
3798
3828
  // src/components/method.tsx
3829
+ import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
3799
3830
  var HttpMethods = ["get", "head", "put", "delete", "post", "patch"];
3800
3831
  var HttpMethodIcons = {
3801
3832
  get: ArrowDownLeft,
@@ -3806,64 +3837,108 @@ var HttpMethodIcons = {
3806
3837
  };
3807
3838
  function MethodIconBadge({ httpMethod, showName }) {
3808
3839
  if (!httpMethod || !HttpMethods.includes(httpMethod)) return null;
3809
- return /* @__PURE__ */ React7.createElement(
3840
+ return /* @__PURE__ */ jsxs2(
3810
3841
  "span",
3811
3842
  {
3812
3843
  className: clsx_default(style_default.MethodRouteHttpMethod, style_default.MethodRouteHttpMethodIconOnly),
3813
- "data-method": httpMethod
3814
- },
3815
- HttpMethodIcons[httpMethod] && React7.createElement(HttpMethodIcons[httpMethod], {
3816
- size: 14,
3817
- strokeWidth: 3,
3818
- className: style_default.Icon
3819
- }),
3820
- showName && httpMethod
3844
+ "data-method": httpMethod,
3845
+ children: [
3846
+ HttpMethodIcons[httpMethod] && React5.createElement(HttpMethodIcons[httpMethod], {
3847
+ size: 14,
3848
+ strokeWidth: 3,
3849
+ className: style_default.Icon
3850
+ }),
3851
+ showName && httpMethod
3852
+ ]
3853
+ }
3821
3854
  );
3822
3855
  }
3823
3856
  function MethodHeader({ title, badges, signature, children, level }) {
3824
3857
  const Heading = level ?? "h5";
3825
- return /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodHeader }, /* @__PURE__ */ React7.createElement(Heading, { className: style_default.MethodTitle }, title), badges && /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodBadges }, badges), signature, children);
3858
+ return /* @__PURE__ */ jsxs2("div", { className: style_default.MethodHeader, children: [
3859
+ /* @__PURE__ */ jsx6(Heading, { className: style_default.MethodTitle, children: title }),
3860
+ badges && /* @__PURE__ */ jsx6("div", { className: style_default.MethodBadges, children: badges }),
3861
+ signature,
3862
+ children
3863
+ ] });
3826
3864
  }
3827
3865
  function MethodRoute({ httpMethod, endpoint, iconOnly }) {
3828
- return /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodRoute }, /* @__PURE__ */ React7.createElement(MethodIconBadge, { httpMethod, showName: !iconOnly }), endpoint && /* @__PURE__ */ React7.createElement("span", { className: style_default.MethodRouteEndpoint }, endpoint));
3866
+ return /* @__PURE__ */ jsxs2("div", { className: style_default.MethodRoute, children: [
3867
+ /* @__PURE__ */ jsx6(MethodIconBadge, { httpMethod, showName: !iconOnly }),
3868
+ endpoint && /* @__PURE__ */ jsx6("span", { className: style_default.MethodRouteEndpoint, children: endpoint })
3869
+ ] });
3829
3870
  }
3830
3871
  function MethodDescription({ description }) {
3831
3872
  const { Markdown: Markdown2 } = useComponents2();
3832
3873
  if (description)
3833
- return /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodDescription }, /* @__PURE__ */ React7.createElement(Markdown2, { content: description }));
3874
+ return /* @__PURE__ */ jsx6("div", { className: style_default.MethodDescription, children: /* @__PURE__ */ jsx6(Markdown2, { content: description }) });
3834
3875
  }
3835
3876
  function MethodInfo({ children, parameters, returns }) {
3836
- return /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodInfo }, children && /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodContent }, children), parameters && /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodInfoSection }, /* @__PURE__ */ React7.createElement("h5", null, "Parameters", /* @__PURE__ */ React7.createElement(PropertyToggle, { target: "parameters" })), /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodParameters, "data-stldocs-property-group": "parameters" }, parameters)), returns && /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodInfoSection }, /* @__PURE__ */ React7.createElement("h5", null, "Returns", /* @__PURE__ */ React7.createElement(PropertyToggle, { target: "returns" })), /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodReturns, "data-stldocs-property-group": "returns" }, returns)));
3877
+ return /* @__PURE__ */ jsxs2("div", { className: style_default.MethodInfo, children: [
3878
+ children && /* @__PURE__ */ jsx6("div", { className: style_default.MethodContent, children }),
3879
+ parameters && /* @__PURE__ */ jsxs2("div", { className: style_default.MethodInfoSection, children: [
3880
+ /* @__PURE__ */ jsxs2("h5", { children: [
3881
+ "Parameters",
3882
+ /* @__PURE__ */ jsx6(PropertyToggle, { target: "parameters" })
3883
+ ] }),
3884
+ /* @__PURE__ */ jsx6("div", { className: style_default.MethodParameters, "data-stldocs-property-group": "parameters", children: parameters })
3885
+ ] }),
3886
+ returns && /* @__PURE__ */ jsxs2("div", { className: style_default.MethodInfoSection, children: [
3887
+ /* @__PURE__ */ jsxs2("h5", { children: [
3888
+ "Returns",
3889
+ /* @__PURE__ */ jsx6(PropertyToggle, { target: "returns" })
3890
+ ] }),
3891
+ /* @__PURE__ */ jsx6("div", { className: style_default.MethodReturns, "data-stldocs-property-group": "returns", children: returns })
3892
+ ] })
3893
+ ] });
3837
3894
  }
3838
3895
  function Method({ id, header, children, className, ...props }) {
3839
- return /* @__PURE__ */ React7.createElement("div", { id, className: clsx_default(style_default.Method, className), tabIndex: 0, ...props }, header, /* @__PURE__ */ React7.createElement("div", { className: style_default.MethodBody }, children));
3896
+ return /* @__PURE__ */ jsxs2("div", { id, className: clsx_default(style_default.Method, className), tabIndex: 0, ...props, children: [
3897
+ header,
3898
+ /* @__PURE__ */ jsx6("div", { className: style_default.MethodBody, children })
3899
+ ] });
3840
3900
  }
3841
3901
 
3842
3902
  // src/components/primitives.tsx
3843
- import * as React8 from "react";
3844
- import { Fragment, useState as useState2 } from "react";
3903
+ import * as React6 from "react";
3904
+ import { Fragment as Fragment2, useState as useState2 } from "react";
3905
+ import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
3845
3906
  function Join({ items, limit, children }) {
3846
3907
  const arr = limit && items.length > limit + 1 ? [
3847
3908
  ...items.slice(0, limit),
3848
- /* @__PURE__ */ React8.createElement("span", { className: style_default.Truncation, key: "truncation" }, items.length - limit, " more")
3909
+ /* @__PURE__ */ jsxs3("span", { className: style_default.Truncation, children: [
3910
+ items.length - limit,
3911
+ " more"
3912
+ ] }, "truncation")
3849
3913
  ] : items;
3850
- return arr.map((item2, index) => /* @__PURE__ */ React8.createElement(Fragment, { key: `iterator:${index}` }, !!index && children, item2));
3914
+ return arr.map((item2, index) => /* @__PURE__ */ jsxs3(Fragment2, { children: [
3915
+ !!index && children,
3916
+ item2
3917
+ ] }, `iterator:${index}`));
3851
3918
  }
3852
3919
  function Expander({ id, open, summary, virtual, muted, children }) {
3853
3920
  const settings = useSettings();
3854
3921
  const virtualExpanders = settings?.virtualExpanders;
3855
3922
  if (virtual || virtualExpanders)
3856
- return /* @__PURE__ */ React8.createElement(VirtualExpander, { summary, open, muted, id }, children);
3857
- return /* @__PURE__ */ React8.createElement(
3923
+ return /* @__PURE__ */ jsx7(VirtualExpander, { summary, open, muted, id, children });
3924
+ return /* @__PURE__ */ jsxs3(
3858
3925
  "details",
3859
3926
  {
3860
3927
  className: style_default.Expander,
3861
3928
  open,
3862
3929
  "data-stldocs-expander-muted": muted,
3863
- "data-stldocs-expander-initial-state": open
3864
- },
3865
- /* @__PURE__ */ React8.createElement("summary", { className: style_default.ExpanderSummary }, /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderSummaryIcon }, /* @__PURE__ */ React8.createElement(Plus, { size: 16, strokeWidth: 1, className: style_default.Icon }), /* @__PURE__ */ React8.createElement(Minus, { size: 16, strokeWidth: 1, className: style_default.Icon })), /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderSummaryContent }, summary)),
3866
- /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderContent, id }, children)
3930
+ "data-stldocs-expander-initial-state": open,
3931
+ children: [
3932
+ /* @__PURE__ */ jsxs3("summary", { className: style_default.ExpanderSummary, children: [
3933
+ /* @__PURE__ */ jsxs3("div", { className: style_default.ExpanderSummaryIcon, children: [
3934
+ /* @__PURE__ */ jsx7(Plus, { size: 16, strokeWidth: 1, className: style_default.Icon }),
3935
+ /* @__PURE__ */ jsx7(Minus, { size: 16, strokeWidth: 1, className: style_default.Icon })
3936
+ ] }),
3937
+ /* @__PURE__ */ jsx7("div", { className: style_default.ExpanderSummaryContent, children: summary })
3938
+ ] }),
3939
+ /* @__PURE__ */ jsx7("div", { className: style_default.ExpanderContent, id, children })
3940
+ ]
3941
+ }
3867
3942
  );
3868
3943
  }
3869
3944
  function VirtualExpander({
@@ -3874,42 +3949,53 @@ function VirtualExpander({
3874
3949
  children
3875
3950
  }) {
3876
3951
  const [open, setOpen] = useState2(isOpen);
3877
- React8.useEffect(() => {
3952
+ React6.useEffect(() => {
3878
3953
  if (isOpen) setOpen(true);
3879
3954
  }, [isOpen]);
3880
- return /* @__PURE__ */ React8.createElement(
3955
+ return /* @__PURE__ */ jsxs3(
3881
3956
  "div",
3882
3957
  {
3883
3958
  className: style_default.Expander,
3884
3959
  "data-open": open,
3885
3960
  "data-stldocs-expander-muted": muted,
3886
- "data-stldocs-expander-initial-state": open
3887
- },
3888
- /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderSummary, onClick: () => setOpen(!open) }, /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderSummaryIcon }, /* @__PURE__ */ React8.createElement(Plus, { size: 16, className: style_default.Icon }), /* @__PURE__ */ React8.createElement(Minus, { size: 16, className: style_default.Icon })), /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderSummaryContent }, summary)),
3889
- open && /* @__PURE__ */ React8.createElement("div", { className: style_default.ExpanderContent, id }, children)
3961
+ "data-stldocs-expander-initial-state": open,
3962
+ children: [
3963
+ /* @__PURE__ */ jsxs3("div", { className: style_default.ExpanderSummary, onClick: () => setOpen(!open), children: [
3964
+ /* @__PURE__ */ jsxs3("div", { className: style_default.ExpanderSummaryIcon, children: [
3965
+ /* @__PURE__ */ jsx7(Plus, { size: 16, className: style_default.Icon }),
3966
+ /* @__PURE__ */ jsx7(Minus, { size: 16, className: style_default.Icon })
3967
+ ] }),
3968
+ /* @__PURE__ */ jsx7("div", { className: style_default.ExpanderSummaryContent, children: summary })
3969
+ ] }),
3970
+ open && /* @__PURE__ */ jsx7("div", { className: style_default.ExpanderContent, id, children })
3971
+ ]
3972
+ }
3890
3973
  );
3891
3974
  }
3892
3975
  function Markdown({ content }) {
3893
3976
  const rendered = useRenderMarkdown(content);
3894
- return rendered && /* @__PURE__ */ React8.createElement("div", { className: `${style_default.Markdown} ${style_default.Content}`, dangerouslySetInnerHTML: { __html: rendered } });
3977
+ return rendered && /* @__PURE__ */ jsx7("div", { className: `${style_default.Markdown} ${style_default.Content}`, dangerouslySetInnerHTML: { __html: rendered } });
3895
3978
  }
3896
3979
  function Badge({ id, children }) {
3897
- return /* @__PURE__ */ React8.createElement("span", { className: style_default.Badge, "data-badge-id": id }, children ?? id);
3980
+ return /* @__PURE__ */ jsx7("span", { className: style_default.Badge, "data-badge-id": id, children: children ?? id });
3898
3981
  }
3899
- var TooltipNestingContext = React8.createContext(false);
3982
+ var TooltipNestingContext = React6.createContext(false);
3900
3983
  function Tooltip({ content, children }) {
3901
- const nested = React8.useContext(TooltipNestingContext);
3984
+ const nested = React6.useContext(TooltipNestingContext);
3902
3985
  if (nested) return children;
3903
- return /* @__PURE__ */ React8.createElement("span", { className: style_default.Tooltip }, /* @__PURE__ */ React8.createElement("span", { className: style_default.TooltipContent }, /* @__PURE__ */ React8.createElement(TooltipNestingContext.Provider, { value: true }, content)), /* @__PURE__ */ React8.createElement("span", { className: style_default.TooltipHost }, children));
3986
+ return /* @__PURE__ */ jsxs3("span", { className: style_default.Tooltip, children: [
3987
+ /* @__PURE__ */ jsx7("span", { className: style_default.TooltipContent, children: /* @__PURE__ */ jsx7(TooltipNestingContext.Provider, { value: true, children: content }) }),
3988
+ /* @__PURE__ */ jsx7("span", { className: style_default.TooltipHost, children })
3989
+ ] });
3904
3990
  }
3905
3991
  function Link({ stainlessPath, scroll = true, children, ...props }) {
3906
3992
  const { basePath, onNavigate } = useNavigation();
3907
3993
  const language = useLanguage();
3908
- const href = React8.useMemo(() => {
3994
+ const href = React6.useMemo(() => {
3909
3995
  if (props.href) return props.href;
3910
3996
  if (stainlessPath && basePath) return generateRoute(basePath, language, stainlessPath);
3911
3997
  }, [basePath, language, stainlessPath, props.href]);
3912
- const handleClick = React8.useCallback(
3998
+ const handleClick = React6.useCallback(
3913
3999
  (e) => {
3914
4000
  if (props.onClick) props.onClick(e);
3915
4001
  if (e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
@@ -3918,30 +4004,34 @@ function Link({ stainlessPath, scroll = true, children, ...props }) {
3918
4004
  [href, scroll, onNavigate, language, props, stainlessPath]
3919
4005
  );
3920
4006
  if (!href) return children;
3921
- return /* @__PURE__ */ React8.createElement("a", { href, onClick: handleClick, ...props }, children);
3922
- }
3923
- var Input = React8.forwardRef(function Input2({ left, right, ...props }, ref) {
3924
- return /* @__PURE__ */ React8.createElement("div", { className: style_default.Input }, left, /* @__PURE__ */ React8.createElement("input", { ...props, ref, className: style_default.InputTextField }), right);
4007
+ return /* @__PURE__ */ jsx7("a", { href, onClick: handleClick, ...props, children });
4008
+ }
4009
+ var Input = React6.forwardRef(function Input2({ left, right, ...props }, ref) {
4010
+ return /* @__PURE__ */ jsxs3("div", { className: style_default.Input, children: [
4011
+ left,
4012
+ /* @__PURE__ */ jsx7("input", { ...props, ref, className: style_default.InputTextField }),
4013
+ right
4014
+ ] });
3925
4015
  });
3926
- var ToggleButton = React8.forwardRef(function ToggleButton2({ children, selected, ...props }, ref) {
3927
- return /* @__PURE__ */ React8.createElement("button", { ...props, ref, className: style_default.ToggleButton, "data-stldocs-toggle-selected": selected }, children);
4016
+ var ToggleButton = React6.forwardRef(function ToggleButton2({ children, selected, ...props }, ref) {
4017
+ return /* @__PURE__ */ jsx7("button", { ...props, ref, className: style_default.ToggleButton, "data-stldocs-toggle-selected": selected, children });
3928
4018
  });
3929
4019
  function ListView({ items, itemDelegate, onSelectListItem, ...rest }) {
3930
- const [selectedIndex, setSelectedIndex] = React8.useState(0);
3931
- const [keyboardIndex, setKeyboardIndex] = React8.useState(0);
3932
- const listRef = React8.useRef(null);
3933
- const itemRef = React8.useRef(null);
3934
- React8.useEffect(() => {
4020
+ const [selectedIndex, setSelectedIndex] = React6.useState(0);
4021
+ const [keyboardIndex, setKeyboardIndex] = React6.useState(0);
4022
+ const listRef = React6.useRef(null);
4023
+ const itemRef = React6.useRef(null);
4024
+ React6.useEffect(() => {
3935
4025
  setSelectedIndex(0);
3936
4026
  setKeyboardIndex(0);
3937
4027
  }, [items]);
3938
- const handleSelect = React8.useCallback(() => {
4028
+ const handleSelect = React6.useCallback(() => {
3939
4029
  const item2 = items[selectedIndex];
3940
4030
  if (item2) {
3941
4031
  onSelectListItem?.(item2);
3942
4032
  }
3943
4033
  }, [items, selectedIndex, onSelectListItem]);
3944
- React8.useEffect(() => {
4034
+ React6.useEffect(() => {
3945
4035
  function handleKeyPress(ev) {
3946
4036
  switch (ev.key) {
3947
4037
  case "ArrowUp": {
@@ -3967,7 +4057,7 @@ function ListView({ items, itemDelegate, onSelectListItem, ...rest }) {
3967
4057
  addEventListener("keydown", handleKeyPress);
3968
4058
  return () => removeEventListener("keydown", handleKeyPress);
3969
4059
  }, [items, selectedIndex, handleSelect]);
3970
- React8.useEffect(() => {
4060
+ React6.useEffect(() => {
3971
4061
  if (!keyboardIndex || !itemRef.current || !listRef.current) {
3972
4062
  listRef?.current?.scroll(0, 0);
3973
4063
  return;
@@ -3977,27 +4067,28 @@ function ListView({ items, itemDelegate, onSelectListItem, ...rest }) {
3977
4067
  const needsScroll = selectedBounds.top < listBounds.top || selectedBounds.bottom > listBounds.bottom;
3978
4068
  if (needsScroll) itemRef.current.scrollIntoView({ block: "nearest" });
3979
4069
  }, [keyboardIndex, items, listRef]);
3980
- return /* @__PURE__ */ React8.createElement("div", { ref: listRef, className: style_default.ListView, tabIndex: 0, ...rest }, items.map((item2, index) => /* @__PURE__ */ React8.createElement(
4070
+ return /* @__PURE__ */ jsx7("div", { ref: listRef, className: style_default.ListView, tabIndex: 0, ...rest, children: items.map((item2, index) => /* @__PURE__ */ jsx7(
3981
4071
  "div",
3982
4072
  {
3983
- key: index,
3984
4073
  ref: index === selectedIndex ? itemRef : null,
3985
4074
  className: style_default.ListViewItem,
3986
4075
  "data-stldocs-listview-selected": index === selectedIndex,
3987
4076
  onClick: handleSelect,
3988
- onMouseMove: () => setSelectedIndex(index)
4077
+ onMouseMove: () => setSelectedIndex(index),
4078
+ children: itemDelegate(item2, index === selectedIndex)
3989
4079
  },
3990
- itemDelegate(item2, index === selectedIndex)
3991
- )));
4080
+ index
4081
+ )) });
3992
4082
  }
3993
4083
 
3994
4084
  // src/components/sdk.tsx
3995
- import * as React10 from "react";
4085
+ import * as React8 from "react";
3996
4086
 
3997
4087
  // src/components/icons.tsx
3998
- import * as React9 from "react";
4088
+ import * as React7 from "react";
4089
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
3999
4090
  function GoIcon({ className }) {
4000
- return /* @__PURE__ */ React9.createElement(
4091
+ return /* @__PURE__ */ jsxs4(
4001
4092
  "svg",
4002
4093
  {
4003
4094
  xmlns: "http://www.w3.org/2000/svg",
@@ -4005,28 +4096,30 @@ function GoIcon({ className }) {
4005
4096
  height: "10",
4006
4097
  className,
4007
4098
  viewBox: "0 0 24 10",
4008
- fill: "none"
4009
- },
4010
- /* @__PURE__ */ React9.createElement(
4011
- "path",
4012
- {
4013
- fillRule: "evenodd",
4014
- clipRule: "evenodd",
4015
- d: "M2.09152 3.28047C2.04596 3.28047 2.03471 3.2576 2.0574 3.22366L2.29609 2.91672C2.31859 2.8826 2.37559 2.85991 2.42096 2.85991H6.4779C6.52346 2.85991 6.53471 2.89404 6.51202 2.92816L6.3189 3.22366C6.29621 3.2576 6.2394 3.29172 6.20527 3.29172L2.09152 3.28047ZM0.375523 4.32579C0.330148 4.32579 0.31871 4.30329 0.341398 4.26897L0.580085 3.96222C0.602773 3.9281 0.659585 3.90541 0.705148 3.90541H5.8869C5.93227 3.90541 5.95515 3.93954 5.94371 3.97366L5.85277 4.24629C5.84152 4.29185 5.79596 4.31454 5.75059 4.31454L0.375523 4.32579ZM3.1254 5.37129C3.08002 5.37129 3.06877 5.33716 3.09146 5.30304L3.25046 5.01897C3.27334 4.98485 3.31871 4.95091 3.36427 4.95091H5.63677C5.68233 4.95091 5.70502 4.98485 5.70502 5.03041L5.68252 5.30304C5.68252 5.3486 5.63696 5.38272 5.60284 5.38272L3.1254 5.37129ZM14.921 3.07591C14.205 3.25779 13.7163 3.3941 13.0119 3.57579C12.8413 3.62135 12.83 3.6326 12.6823 3.46216C12.5118 3.26904 12.3868 3.14397 12.1483 3.03035C11.4322 2.67822 10.739 2.78041 10.0914 3.20097C9.31871 3.70085 8.92102 4.43941 8.93227 5.35985C8.94352 6.26904 9.56865 7.01904 10.4664 7.1441C11.2391 7.24629 11.8869 6.97347 12.3982 6.3941C12.5004 6.26904 12.5913 6.13272 12.705 5.97354H10.5118C10.2733 5.97354 10.2165 5.82579 10.296 5.63266C10.4437 5.28035 10.7163 4.68954 10.8753 4.39404C10.9096 4.32579 10.9891 4.21216 11.1596 4.21216H15.2958C15.2733 4.5191 15.2733 4.82585 15.2278 5.13279C15.1027 5.95085 14.796 6.70085 14.2959 7.35991C13.4776 8.43954 12.4096 9.10985 11.0572 9.29173C9.94365 9.43948 8.90958 9.22347 8.00059 8.54172C7.15965 7.90535 6.68246 7.06441 6.5574 6.0191C6.40965 4.78047 6.77321 3.66672 7.52321 2.68947C8.33002 1.63272 9.39821 0.962224 10.7051 0.723537C11.7733 0.530412 12.7959 0.655474 13.7163 1.28041C14.3186 1.6781 14.7504 2.22354 15.0345 2.8826C15.1027 2.98497 15.0573 3.04179 14.9208 3.07572L14.921 3.07591Z",
4016
- fill: "#00ACD7"
4017
- }
4018
- ),
4019
- /* @__PURE__ */ React9.createElement(
4020
- "path",
4021
- {
4022
- d: "M18.6822 9.36017C17.6481 9.3373 16.7048 9.04198 15.9094 8.36005C15.2389 7.78067 14.8186 7.04192 14.6822 6.16686C14.4777 4.88286 14.8298 3.74642 15.6027 2.73523C16.4322 1.64417 17.4321 1.07605 18.7846 0.837359C19.9435 0.632984 21.0346 0.746609 22.0231 1.41692C22.9208 2.03061 23.4775 2.86011 23.6252 3.95098C23.8184 5.48511 23.3753 6.73517 22.3184 7.80336C21.5684 8.56461 20.6479 9.04198 19.5912 9.2578C19.2844 9.31461 18.9775 9.32605 18.6822 9.36017ZM21.3867 4.76923C21.3754 4.62148 21.3754 4.50786 21.3526 4.39423C21.1482 3.26923 20.1139 2.63286 19.0345 2.88298C17.9776 3.12148 17.2958 3.79198 17.0459 4.86017C16.8413 5.74648 17.2731 6.64423 18.0912 7.0078C18.7163 7.28061 19.3412 7.24648 19.9435 6.93973C20.8412 6.4738 21.3299 5.74648 21.3867 4.76923Z",
4023
- fill: "#00ACD7"
4024
- }
4025
- )
4099
+ fill: "none",
4100
+ children: [
4101
+ /* @__PURE__ */ jsx8(
4102
+ "path",
4103
+ {
4104
+ fillRule: "evenodd",
4105
+ clipRule: "evenodd",
4106
+ d: "M2.09152 3.28047C2.04596 3.28047 2.03471 3.2576 2.0574 3.22366L2.29609 2.91672C2.31859 2.8826 2.37559 2.85991 2.42096 2.85991H6.4779C6.52346 2.85991 6.53471 2.89404 6.51202 2.92816L6.3189 3.22366C6.29621 3.2576 6.2394 3.29172 6.20527 3.29172L2.09152 3.28047ZM0.375523 4.32579C0.330148 4.32579 0.31871 4.30329 0.341398 4.26897L0.580085 3.96222C0.602773 3.9281 0.659585 3.90541 0.705148 3.90541H5.8869C5.93227 3.90541 5.95515 3.93954 5.94371 3.97366L5.85277 4.24629C5.84152 4.29185 5.79596 4.31454 5.75059 4.31454L0.375523 4.32579ZM3.1254 5.37129C3.08002 5.37129 3.06877 5.33716 3.09146 5.30304L3.25046 5.01897C3.27334 4.98485 3.31871 4.95091 3.36427 4.95091H5.63677C5.68233 4.95091 5.70502 4.98485 5.70502 5.03041L5.68252 5.30304C5.68252 5.3486 5.63696 5.38272 5.60284 5.38272L3.1254 5.37129ZM14.921 3.07591C14.205 3.25779 13.7163 3.3941 13.0119 3.57579C12.8413 3.62135 12.83 3.6326 12.6823 3.46216C12.5118 3.26904 12.3868 3.14397 12.1483 3.03035C11.4322 2.67822 10.739 2.78041 10.0914 3.20097C9.31871 3.70085 8.92102 4.43941 8.93227 5.35985C8.94352 6.26904 9.56865 7.01904 10.4664 7.1441C11.2391 7.24629 11.8869 6.97347 12.3982 6.3941C12.5004 6.26904 12.5913 6.13272 12.705 5.97354H10.5118C10.2733 5.97354 10.2165 5.82579 10.296 5.63266C10.4437 5.28035 10.7163 4.68954 10.8753 4.39404C10.9096 4.32579 10.9891 4.21216 11.1596 4.21216H15.2958C15.2733 4.5191 15.2733 4.82585 15.2278 5.13279C15.1027 5.95085 14.796 6.70085 14.2959 7.35991C13.4776 8.43954 12.4096 9.10985 11.0572 9.29173C9.94365 9.43948 8.90958 9.22347 8.00059 8.54172C7.15965 7.90535 6.68246 7.06441 6.5574 6.0191C6.40965 4.78047 6.77321 3.66672 7.52321 2.68947C8.33002 1.63272 9.39821 0.962224 10.7051 0.723537C11.7733 0.530412 12.7959 0.655474 13.7163 1.28041C14.3186 1.6781 14.7504 2.22354 15.0345 2.8826C15.1027 2.98497 15.0573 3.04179 14.9208 3.07572L14.921 3.07591Z",
4107
+ fill: "#00ACD7"
4108
+ }
4109
+ ),
4110
+ /* @__PURE__ */ jsx8(
4111
+ "path",
4112
+ {
4113
+ d: "M18.6822 9.36017C17.6481 9.3373 16.7048 9.04198 15.9094 8.36005C15.2389 7.78067 14.8186 7.04192 14.6822 6.16686C14.4777 4.88286 14.8298 3.74642 15.6027 2.73523C16.4322 1.64417 17.4321 1.07605 18.7846 0.837359C19.9435 0.632984 21.0346 0.746609 22.0231 1.41692C22.9208 2.03061 23.4775 2.86011 23.6252 3.95098C23.8184 5.48511 23.3753 6.73517 22.3184 7.80336C21.5684 8.56461 20.6479 9.04198 19.5912 9.2578C19.2844 9.31461 18.9775 9.32605 18.6822 9.36017ZM21.3867 4.76923C21.3754 4.62148 21.3754 4.50786 21.3526 4.39423C21.1482 3.26923 20.1139 2.63286 19.0345 2.88298C17.9776 3.12148 17.2958 3.79198 17.0459 4.86017C16.8413 5.74648 17.2731 6.64423 18.0912 7.0078C18.7163 7.28061 19.3412 7.24648 19.9435 6.93973C20.8412 6.4738 21.3299 5.74648 21.3867 4.76923Z",
4114
+ fill: "#00ACD7"
4115
+ }
4116
+ )
4117
+ ]
4118
+ }
4026
4119
  );
4027
4120
  }
4028
4121
  function JavaIcon({ className }) {
4029
- return /* @__PURE__ */ React9.createElement(
4122
+ return /* @__PURE__ */ jsxs4(
4030
4123
  "svg",
4031
4124
  {
4032
4125
  xmlns: "http://www.w3.org/2000/svg",
@@ -4034,48 +4127,50 @@ function JavaIcon({ className }) {
4034
4127
  height: "24",
4035
4128
  viewBox: "0 0 24 24",
4036
4129
  fill: "none",
4037
- className
4038
- },
4039
- /* @__PURE__ */ React9.createElement(
4040
- "path",
4041
- {
4042
- d: "M8.92873 18.3976C8.92873 18.3976 8.03492 18.9178 9.56567 19.0933C11.4204 19.3051 12.3682 19.2748 14.4116 18.8885C14.4116 18.8885 14.9499 19.2251 15.7003 19.5168C11.118 21.4799 5.33004 19.403 8.92873 18.3976ZM8.36848 15.8354C8.36848 15.8354 7.36573 16.5778 8.89779 16.7364C10.8791 16.9409 12.4434 16.9576 15.1517 16.4364C15.1517 16.4364 15.5254 16.8161 16.1139 17.0234C10.5748 18.6434 4.40529 17.1509 8.36848 15.8354Z",
4043
- fill: "#0074BD"
4044
- }
4045
- ),
4046
- /* @__PURE__ */ React9.createElement(
4047
- "path",
4048
- {
4049
- d: "M13.088 11.4882C14.2177 12.7885 12.7917 13.9576 12.7917 13.9576C12.7917 13.9576 15.6584 12.478 14.3422 10.6244C13.1123 8.89656 12.1696 8.03838 17.2737 5.07812C17.2737 5.07831 9.26166 7.07875 13.088 11.4882Z",
4050
- fill: "#EA2D2E"
4051
- }
4052
- ),
4053
- /* @__PURE__ */ React9.createElement(
4054
- "path",
4055
- {
4056
- d: "M19.148 20.2928C19.148 20.2928 19.8096 20.8384 18.419 21.2601C15.7748 22.0611 7.41158 22.3026 5.08883 21.2922C4.25427 20.9288 5.81989 20.425 6.31246 20.3187C6.82602 20.2075 7.11927 20.2278 7.11927 20.2278C6.19058 19.5739 1.11683 21.5121 4.54246 22.0681C13.8839 23.5823 21.5706 21.3861 19.148 20.2928ZM9.35839 13.18C9.35839 13.18 5.10477 14.1904 7.85221 14.5577C9.01246 14.713 11.3243 14.6774 13.4793 14.4966C15.2399 14.3487 17.0067 14.0328 17.0067 14.0328C17.0067 14.0328 16.3865 14.2988 15.9372 14.6052C11.6168 15.7416 3.27271 15.2123 5.67514 14.0506C7.70614 13.0682 9.35839 13.18 9.35839 13.18ZM16.9891 17.4451C21.3805 15.1638 19.3499 12.9713 17.9326 13.2666C17.5861 13.3388 17.4306 13.4016 17.4306 13.4016C17.4306 13.4016 17.5596 13.1993 17.8056 13.1123C20.6093 12.127 22.7652 16.0191 16.9013 17.5608C16.9013 17.5604 16.9686 17.4994 16.9891 17.4451Z",
4057
- fill: "#0074BD"
4058
- }
4059
- ),
4060
- /* @__PURE__ */ React9.createElement(
4061
- "path",
4062
- {
4063
- d: "M14.342 0.297363C14.342 0.297363 16.7735 2.73036 12.0352 6.47043C8.23535 9.47155 11.1688 11.1823 12.0339 13.1377C9.81559 11.1366 8.18847 9.37461 9.27991 7.73493C10.8827 5.32855 15.3228 4.16136 14.342 0.297363Z",
4064
- fill: "#EA2D2E"
4065
- }
4066
- ),
4067
- /* @__PURE__ */ React9.createElement(
4068
- "path",
4069
- {
4070
- d: "M9.78928 23.6291C14.0035 23.8986 20.4768 23.4791 20.63 21.4849C20.63 21.4849 20.3354 22.2409 17.1468 22.8407C13.5494 23.5179 9.11166 23.439 6.48047 23.0046C6.48047 23.0047 7.01953 23.451 9.78928 23.6291Z",
4071
- fill: "#0074BD"
4072
- }
4073
- )
4130
+ className,
4131
+ children: [
4132
+ /* @__PURE__ */ jsx8(
4133
+ "path",
4134
+ {
4135
+ d: "M8.92873 18.3976C8.92873 18.3976 8.03492 18.9178 9.56567 19.0933C11.4204 19.3051 12.3682 19.2748 14.4116 18.8885C14.4116 18.8885 14.9499 19.2251 15.7003 19.5168C11.118 21.4799 5.33004 19.403 8.92873 18.3976ZM8.36848 15.8354C8.36848 15.8354 7.36573 16.5778 8.89779 16.7364C10.8791 16.9409 12.4434 16.9576 15.1517 16.4364C15.1517 16.4364 15.5254 16.8161 16.1139 17.0234C10.5748 18.6434 4.40529 17.1509 8.36848 15.8354Z",
4136
+ fill: "#0074BD"
4137
+ }
4138
+ ),
4139
+ /* @__PURE__ */ jsx8(
4140
+ "path",
4141
+ {
4142
+ d: "M13.088 11.4882C14.2177 12.7885 12.7917 13.9576 12.7917 13.9576C12.7917 13.9576 15.6584 12.478 14.3422 10.6244C13.1123 8.89656 12.1696 8.03838 17.2737 5.07812C17.2737 5.07831 9.26166 7.07875 13.088 11.4882Z",
4143
+ fill: "#EA2D2E"
4144
+ }
4145
+ ),
4146
+ /* @__PURE__ */ jsx8(
4147
+ "path",
4148
+ {
4149
+ d: "M19.148 20.2928C19.148 20.2928 19.8096 20.8384 18.419 21.2601C15.7748 22.0611 7.41158 22.3026 5.08883 21.2922C4.25427 20.9288 5.81989 20.425 6.31246 20.3187C6.82602 20.2075 7.11927 20.2278 7.11927 20.2278C6.19058 19.5739 1.11683 21.5121 4.54246 22.0681C13.8839 23.5823 21.5706 21.3861 19.148 20.2928ZM9.35839 13.18C9.35839 13.18 5.10477 14.1904 7.85221 14.5577C9.01246 14.713 11.3243 14.6774 13.4793 14.4966C15.2399 14.3487 17.0067 14.0328 17.0067 14.0328C17.0067 14.0328 16.3865 14.2988 15.9372 14.6052C11.6168 15.7416 3.27271 15.2123 5.67514 14.0506C7.70614 13.0682 9.35839 13.18 9.35839 13.18ZM16.9891 17.4451C21.3805 15.1638 19.3499 12.9713 17.9326 13.2666C17.5861 13.3388 17.4306 13.4016 17.4306 13.4016C17.4306 13.4016 17.5596 13.1993 17.8056 13.1123C20.6093 12.127 22.7652 16.0191 16.9013 17.5608C16.9013 17.5604 16.9686 17.4994 16.9891 17.4451Z",
4150
+ fill: "#0074BD"
4151
+ }
4152
+ ),
4153
+ /* @__PURE__ */ jsx8(
4154
+ "path",
4155
+ {
4156
+ d: "M14.342 0.297363C14.342 0.297363 16.7735 2.73036 12.0352 6.47043C8.23535 9.47155 11.1688 11.1823 12.0339 13.1377C9.81559 11.1366 8.18847 9.37461 9.27991 7.73493C10.8827 5.32855 15.3228 4.16136 14.342 0.297363Z",
4157
+ fill: "#EA2D2E"
4158
+ }
4159
+ ),
4160
+ /* @__PURE__ */ jsx8(
4161
+ "path",
4162
+ {
4163
+ d: "M9.78928 23.6291C14.0035 23.8986 20.4768 23.4791 20.63 21.4849C20.63 21.4849 20.3354 22.2409 17.1468 22.8407C13.5494 23.5179 9.11166 23.439 6.48047 23.0046C6.48047 23.0047 7.01953 23.451 9.78928 23.6291Z",
4164
+ fill: "#0074BD"
4165
+ }
4166
+ )
4167
+ ]
4168
+ }
4074
4169
  );
4075
4170
  }
4076
4171
  function KotlinIcon({ className }) {
4077
- const id = React9.useId();
4078
- return /* @__PURE__ */ React9.createElement(
4172
+ const id = React7.useId();
4173
+ return /* @__PURE__ */ jsxs4(
4079
4174
  "svg",
4080
4175
  {
4081
4176
  xmlns: "http://www.w3.org/2000/svg",
@@ -4083,34 +4178,38 @@ function KotlinIcon({ className }) {
4083
4178
  height: "24",
4084
4179
  viewBox: "0 0 24 24",
4085
4180
  fill: "none",
4086
- className
4087
- },
4088
- /* @__PURE__ */ React9.createElement(
4089
- "path",
4090
- {
4091
- d: "M21.0917 21.0907H2.91016V2.90918H21.0917L12.0009 11.9999L21.0917 21.0907Z",
4092
- fill: `url(#paint0_linear_1950_201292-${id})`
4093
- }
4094
- ),
4095
- /* @__PURE__ */ React9.createElement("defs", null, /* @__PURE__ */ React9.createElement(
4096
- "linearGradient",
4097
- {
4098
- id: `paint0_linear_1950_201292-${id}`,
4099
- x1: "21.0918",
4100
- y1: "2.90893",
4101
- x2: "2.91001",
4102
- y2: "21.0907",
4103
- gradientUnits: "userSpaceOnUse"
4104
- },
4105
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.003", stopColor: "#E44857" }),
4106
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.469", stopColor: "#C711E1" }),
4107
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#7F52FF" })
4108
- ))
4181
+ className,
4182
+ children: [
4183
+ /* @__PURE__ */ jsx8(
4184
+ "path",
4185
+ {
4186
+ d: "M21.0917 21.0907H2.91016V2.90918H21.0917L12.0009 11.9999L21.0917 21.0907Z",
4187
+ fill: `url(#paint0_linear_1950_201292-${id})`
4188
+ }
4189
+ ),
4190
+ /* @__PURE__ */ jsx8("defs", { children: /* @__PURE__ */ jsxs4(
4191
+ "linearGradient",
4192
+ {
4193
+ id: `paint0_linear_1950_201292-${id}`,
4194
+ x1: "21.0918",
4195
+ y1: "2.90893",
4196
+ x2: "2.91001",
4197
+ y2: "21.0907",
4198
+ gradientUnits: "userSpaceOnUse",
4199
+ children: [
4200
+ /* @__PURE__ */ jsx8("stop", { offset: "0.003", stopColor: "#E44857" }),
4201
+ /* @__PURE__ */ jsx8("stop", { offset: "0.469", stopColor: "#C711E1" }),
4202
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#7F52FF" })
4203
+ ]
4204
+ }
4205
+ ) })
4206
+ ]
4207
+ }
4109
4208
  );
4110
4209
  }
4111
4210
  function PythonIcon({ className }) {
4112
- const id = React9.useId();
4113
- return /* @__PURE__ */ React9.createElement(
4211
+ const id = React7.useId();
4212
+ return /* @__PURE__ */ jsxs4(
4114
4213
  "svg",
4115
4214
  {
4116
4215
  xmlns: "http://www.w3.org/2000/svg",
@@ -4118,72 +4217,84 @@ function PythonIcon({ className }) {
4118
4217
  height: "24",
4119
4218
  viewBox: "0 0 24 24",
4120
4219
  fill: "none",
4121
- className
4122
- },
4123
- /* @__PURE__ */ React9.createElement(
4124
- "path",
4125
- {
4126
- d: "M11.8858 2.29654C11.0942 2.30029 10.3386 2.3676 9.67335 2.48535C7.71398 2.83147 7.35848 3.55597 7.35848 4.89229V6.65685H11.9884V7.24504H5.62073C4.27523 7.24504 3.09698 8.05372 2.72835 9.59272C2.3031 11.3562 2.28435 12.4568 2.72835 14.2982C3.05741 15.669 3.84341 16.6455 5.1891 16.6455H6.78116V14.5302C6.78116 13.0018 8.10323 11.6539 9.67354 11.6539H14.2982C15.5856 11.6539 16.6131 10.5938 16.6131 9.30116V4.89247C16.6131 3.63754 15.5545 2.69497 14.2982 2.48554C13.5025 2.35316 12.6773 2.29297 11.8858 2.29654ZM9.38198 3.71572C9.8601 3.71572 10.2509 4.11266 10.2509 4.60091C10.2509 5.0871 9.86029 5.48029 9.38198 5.48029C8.90198 5.48029 8.51329 5.0871 8.51329 4.60091C8.5131 4.11266 8.90198 3.71572 9.38198 3.71572Z",
4127
- fill: `url(#paint0_linear_658_37694-${id})`
4128
- }
4129
- ),
4130
- /* @__PURE__ */ React9.createElement(
4131
- "path",
4132
- {
4133
- d: "M17.1913 7.24482V9.30094C17.1913 10.8947 15.8398 12.2363 14.2989 12.2363H9.67425C8.4075 12.2363 7.35938 13.3206 7.35938 14.5892V18.9983C7.35938 20.2528 8.45025 20.991 9.67425 21.3508C11.1398 21.7815 12.5452 21.8595 14.2989 21.3508C15.4644 21.0131 16.6138 20.334 16.6138 18.9983V17.2335H11.9893V16.6451H18.9291C20.2746 16.6451 20.7763 15.7067 21.2443 14.2978C21.7277 12.8475 21.7069 11.4527 21.2443 9.59232C20.9117 8.25263 20.2766 7.24463 18.9291 7.24463L17.1913 7.24482ZM14.5901 18.4099C15.0703 18.4099 15.459 18.8031 15.459 19.2896C15.459 19.7775 15.0701 20.1744 14.5901 20.1744C14.112 20.1744 13.7214 19.7775 13.7214 19.2896C13.7214 18.8031 14.112 18.4099 14.5901 18.4099Z",
4134
- fill: `url(#paint1_linear_658_37694-${id})`
4135
- }
4136
- ),
4137
- /* @__PURE__ */ React9.createElement(
4138
- "path",
4139
- {
4140
- opacity: "0.444",
4141
- d: "M18.2452 22.4244C18.2452 23.0887 15.4673 23.6274 12.0407 23.6274C8.61394 23.6274 5.83594 23.0887 5.83594 22.4244C5.83594 21.7599 8.61375 21.2212 12.0407 21.2212C15.4673 21.2212 18.2452 21.7597 18.2452 22.4244Z",
4142
- fill: `url(#paint2_radial_658_37694-${id})`
4143
- }
4144
- ),
4145
- /* @__PURE__ */ React9.createElement("defs", null, /* @__PURE__ */ React9.createElement(
4146
- "linearGradient",
4147
- {
4148
- id: `paint0_linear_658_37694-${id}`,
4149
- x1: "1.9382",
4150
- y1: "2.84828",
4151
- x2: "12.617",
4152
- y2: "11.9551",
4153
- gradientUnits: "userSpaceOnUse"
4154
- },
4155
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#5A9FD4" }),
4156
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#306998" })
4157
- ), /* @__PURE__ */ React9.createElement(
4158
- "linearGradient",
4159
- {
4160
- id: `paint1_linear_658_37694-${id}`,
4161
- x1: "16.6357",
4162
- y1: "17.6159",
4163
- x2: "12.8061",
4164
- y2: "12.2455",
4165
- gradientUnits: "userSpaceOnUse"
4166
- },
4167
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#FFD43B" }),
4168
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#FFE873" })
4169
- ), /* @__PURE__ */ React9.createElement(
4170
- "radialGradient",
4171
- {
4172
- id: `paint2_radial_658_37694-${id}`,
4173
- cx: "0",
4174
- cy: "0",
4175
- r: "1",
4176
- gradientUnits: "userSpaceOnUse",
4177
- gradientTransform: "translate(12.0156 22.3899) rotate(-90) scale(1.20343 5.2901)"
4178
- },
4179
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#B8B8B8", stopOpacity: "0.498" }),
4180
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#7F7F7F", stopOpacity: "0" })
4181
- ))
4220
+ className,
4221
+ children: [
4222
+ /* @__PURE__ */ jsx8(
4223
+ "path",
4224
+ {
4225
+ d: "M11.8858 2.29654C11.0942 2.30029 10.3386 2.3676 9.67335 2.48535C7.71398 2.83147 7.35848 3.55597 7.35848 4.89229V6.65685H11.9884V7.24504H5.62073C4.27523 7.24504 3.09698 8.05372 2.72835 9.59272C2.3031 11.3562 2.28435 12.4568 2.72835 14.2982C3.05741 15.669 3.84341 16.6455 5.1891 16.6455H6.78116V14.5302C6.78116 13.0018 8.10323 11.6539 9.67354 11.6539H14.2982C15.5856 11.6539 16.6131 10.5938 16.6131 9.30116V4.89247C16.6131 3.63754 15.5545 2.69497 14.2982 2.48554C13.5025 2.35316 12.6773 2.29297 11.8858 2.29654ZM9.38198 3.71572C9.8601 3.71572 10.2509 4.11266 10.2509 4.60091C10.2509 5.0871 9.86029 5.48029 9.38198 5.48029C8.90198 5.48029 8.51329 5.0871 8.51329 4.60091C8.5131 4.11266 8.90198 3.71572 9.38198 3.71572Z",
4226
+ fill: `url(#paint0_linear_658_37694-${id})`
4227
+ }
4228
+ ),
4229
+ /* @__PURE__ */ jsx8(
4230
+ "path",
4231
+ {
4232
+ d: "M17.1913 7.24482V9.30094C17.1913 10.8947 15.8398 12.2363 14.2989 12.2363H9.67425C8.4075 12.2363 7.35938 13.3206 7.35938 14.5892V18.9983C7.35938 20.2528 8.45025 20.991 9.67425 21.3508C11.1398 21.7815 12.5452 21.8595 14.2989 21.3508C15.4644 21.0131 16.6138 20.334 16.6138 18.9983V17.2335H11.9893V16.6451H18.9291C20.2746 16.6451 20.7763 15.7067 21.2443 14.2978C21.7277 12.8475 21.7069 11.4527 21.2443 9.59232C20.9117 8.25263 20.2766 7.24463 18.9291 7.24463L17.1913 7.24482ZM14.5901 18.4099C15.0703 18.4099 15.459 18.8031 15.459 19.2896C15.459 19.7775 15.0701 20.1744 14.5901 20.1744C14.112 20.1744 13.7214 19.7775 13.7214 19.2896C13.7214 18.8031 14.112 18.4099 14.5901 18.4099Z",
4233
+ fill: `url(#paint1_linear_658_37694-${id})`
4234
+ }
4235
+ ),
4236
+ /* @__PURE__ */ jsx8(
4237
+ "path",
4238
+ {
4239
+ opacity: "0.444",
4240
+ d: "M18.2452 22.4244C18.2452 23.0887 15.4673 23.6274 12.0407 23.6274C8.61394 23.6274 5.83594 23.0887 5.83594 22.4244C5.83594 21.7599 8.61375 21.2212 12.0407 21.2212C15.4673 21.2212 18.2452 21.7597 18.2452 22.4244Z",
4241
+ fill: `url(#paint2_radial_658_37694-${id})`
4242
+ }
4243
+ ),
4244
+ /* @__PURE__ */ jsxs4("defs", { children: [
4245
+ /* @__PURE__ */ jsxs4(
4246
+ "linearGradient",
4247
+ {
4248
+ id: `paint0_linear_658_37694-${id}`,
4249
+ x1: "1.9382",
4250
+ y1: "2.84828",
4251
+ x2: "12.617",
4252
+ y2: "11.9551",
4253
+ gradientUnits: "userSpaceOnUse",
4254
+ children: [
4255
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#5A9FD4" }),
4256
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#306998" })
4257
+ ]
4258
+ }
4259
+ ),
4260
+ /* @__PURE__ */ jsxs4(
4261
+ "linearGradient",
4262
+ {
4263
+ id: `paint1_linear_658_37694-${id}`,
4264
+ x1: "16.6357",
4265
+ y1: "17.6159",
4266
+ x2: "12.8061",
4267
+ y2: "12.2455",
4268
+ gradientUnits: "userSpaceOnUse",
4269
+ children: [
4270
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#FFD43B" }),
4271
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#FFE873" })
4272
+ ]
4273
+ }
4274
+ ),
4275
+ /* @__PURE__ */ jsxs4(
4276
+ "radialGradient",
4277
+ {
4278
+ id: `paint2_radial_658_37694-${id}`,
4279
+ cx: "0",
4280
+ cy: "0",
4281
+ r: "1",
4282
+ gradientUnits: "userSpaceOnUse",
4283
+ gradientTransform: "translate(12.0156 22.3899) rotate(-90) scale(1.20343 5.2901)",
4284
+ children: [
4285
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#B8B8B8", stopOpacity: "0.498" }),
4286
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#7F7F7F", stopOpacity: "0" })
4287
+ ]
4288
+ }
4289
+ )
4290
+ ] })
4291
+ ]
4292
+ }
4182
4293
  );
4183
4294
  }
4184
4295
  function RubyIcon({ className }) {
4185
- const id = React9.useId();
4186
- return /* @__PURE__ */ React9.createElement(
4296
+ const id = React7.useId();
4297
+ return /* @__PURE__ */ jsxs4(
4187
4298
  "svg",
4188
4299
  {
4189
4300
  xmlns: "http://www.w3.org/2000/svg",
@@ -4191,348 +4302,419 @@ function RubyIcon({ className }) {
4191
4302
  height: "24",
4192
4303
  viewBox: "0 0 24 24",
4193
4304
  className,
4194
- fill: "none"
4195
- },
4196
- /* @__PURE__ */ React9.createElement("g", { clipPath: `url(#clip0_1950_201284-${id})` }, /* @__PURE__ */ React9.createElement(
4197
- "path",
4198
- {
4199
- d: "M18.2028 15.6024L5.31445 23.2556L22.0025 22.1231L23.2878 5.2959L18.2028 15.6024Z",
4200
- fill: `url(#paint0_linear_1950_201284-${id})`
4201
- }
4202
- ), /* @__PURE__ */ React9.createElement(
4203
- "path",
4204
- {
4205
- d: "M22.0286 22.1117L20.5944 12.2119L16.6875 17.3708L22.0286 22.1117Z",
4206
- fill: `url(#paint1_linear_1950_201284-${id})`
4207
- }
4208
- ), /* @__PURE__ */ React9.createElement(
4209
- "path",
4210
- {
4211
- d: "M22.048 22.1119L11.5398 21.2871L5.36914 23.2343L22.048 22.1119Z",
4212
- fill: `url(#paint2_linear_1950_201284-${id})`
4213
- }
4214
- ), /* @__PURE__ */ React9.createElement(
4215
- "path",
4216
- {
4217
- d: "M5.38411 23.2363L8.0093 14.6362L2.23242 15.8715L5.38411 23.2363Z",
4218
- fill: `url(#paint3_linear_1950_201284-${id})`
4219
- }
4220
- ), /* @__PURE__ */ React9.createElement(
4221
- "path",
4222
- {
4223
- d: "M16.6871 17.3992L14.2717 7.93799L7.35938 14.4176L16.6871 17.3992Z",
4224
- fill: `url(#paint4_linear_1950_201284-${id})`
4225
- }
4226
- ), /* @__PURE__ */ React9.createElement(
4227
- "path",
4228
- {
4229
- d: "M22.7385 8.07149L16.2043 2.73486L14.3848 8.6173L22.7385 8.07149Z",
4230
- fill: `url(#paint5_linear_1950_201284-${id})`
4231
- }
4232
- ), /* @__PURE__ */ React9.createElement(
4233
- "path",
4234
- {
4235
- d: "M19.6836 0.832211L15.8404 2.95602L13.416 0.803711L19.6836 0.832211Z",
4236
- fill: `url(#paint6_linear_1950_201284-${id})`
4237
- }
4238
- ), /* @__PURE__ */ React9.createElement(
4239
- "path",
4240
- {
4241
- d: "M0.712891 18.7566L2.32277 15.8206L1.02039 12.3228L0.712891 18.7566Z",
4242
- fill: `url(#paint7_linear_1950_201284-${id})`
4243
- }
4244
- ), /* @__PURE__ */ React9.createElement(
4245
- "path",
4246
- {
4247
- d: "M0.933594 12.212L2.24366 15.9285L7.93709 14.6512L14.4372 8.61033L16.2715 2.78377L13.3834 0.744141L8.47278 2.58202C6.92553 4.02108 3.92347 6.86827 3.81528 6.92189C3.70784 6.97645 1.83247 10.521 0.933594 12.212Z",
4248
- fill: "white"
4249
- }
4250
- ), /* @__PURE__ */ React9.createElement(
4251
- "path",
4252
- {
4253
- d: "M5.53508 5.53531C8.88796 2.21094 13.2108 0.246499 14.8698 1.92031C16.5278 3.59394 14.7696 7.66156 11.4164 10.985C8.06314 14.3084 3.79396 16.3811 2.13646 14.7072C0.477268 13.0347 2.18183 8.85894 5.53508 5.53531Z",
4254
- fill: `url(#paint8_linear_1950_201284-${id})`
4255
- }
4256
- ), /* @__PURE__ */ React9.createElement(
4257
- "path",
4258
- {
4259
- d: "M5.38477 23.2327L7.98914 14.6055L16.6395 17.3842C13.512 20.3171 10.0333 22.7964 5.38477 23.2327Z",
4260
- fill: `url(#paint9_linear_1950_201284-${id})`
4261
- }
4262
- ), /* @__PURE__ */ React9.createElement(
4263
- "path",
4264
- {
4265
- d: "M14.4492 8.59338L16.67 17.3892C19.2826 14.6423 21.6273 11.689 22.7755 8.03613L14.4492 8.59338Z",
4266
- fill: `url(#paint10_linear_1950_201284-${id})`
4267
- }
4268
- ), /* @__PURE__ */ React9.createElement(
4269
- "path",
4270
- {
4271
- d: "M22.7523 8.08049C23.641 5.3983 23.846 1.5508 19.6554 0.836426L16.2168 2.7358L22.7523 8.08049Z",
4272
- fill: `url(#paint11_linear_1950_201284-${id})`
4273
- }
4274
- ), /* @__PURE__ */ React9.createElement(
4275
- "path",
4276
- {
4277
- d: "M0.712891 18.7176C0.835891 23.1441 4.02958 23.2099 5.39008 23.2489L2.24777 15.9102L0.712891 18.7176Z",
4278
- fill: "#9E1209"
4279
- }
4280
- ), /* @__PURE__ */ React9.createElement(
4281
- "path",
4282
- {
4283
- d: "M14.4609 8.60695C16.4687 9.84089 20.5146 12.3191 20.5965 12.3646C20.724 12.4365 22.341 9.63802 22.7079 8.05664L14.4609 8.60695Z",
4284
- fill: `url(#paint12_radial_1950_201284-${id})`
4285
- }
4286
- ), /* @__PURE__ */ React9.createElement(
4287
- "path",
4288
- {
4289
- d: "M7.98633 14.6055L11.4682 21.3232C13.527 20.2067 15.1393 18.8462 16.6158 17.3889L7.98633 14.6055Z",
4290
- fill: `url(#paint13_radial_1950_201284-${id})`
4291
- }
4292
- ), /* @__PURE__ */ React9.createElement(
4293
- "path",
4294
- {
4295
- d: "M2.23355 15.9194L1.74023 21.794C2.67098 23.0654 3.95161 23.1761 5.29523 23.0769C4.32323 20.6581 2.38186 15.8214 2.23355 15.9194Z",
4296
- fill: `url(#paint14_linear_1950_201284-${id})`
4297
- }
4298
- ), /* @__PURE__ */ React9.createElement(
4299
- "path",
4300
- {
4301
- d: "M16.1973 2.75072L23.1143 3.72141C22.7451 2.15709 21.6115 1.14759 19.6793 0.832031L16.1973 2.75072Z",
4302
- fill: `url(#paint15_linear_1950_201284-${id})`
4303
- }
4304
- )),
4305
- /* @__PURE__ */ React9.createElement("defs", null, /* @__PURE__ */ React9.createElement(
4306
- "linearGradient",
4307
- {
4308
- id: `paint0_linear_1950_201284-${id}`,
4309
- x1: "20.547",
4310
- y1: "25.3029",
4311
- x2: "15.7848",
4312
- y2: "16.895",
4313
- gradientUnits: "userSpaceOnUse"
4314
- },
4315
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#FB7655" }),
4316
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.41", stopColor: "#E42B1E" }),
4317
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#990000" }),
4318
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#990000" })
4319
- ), /* @__PURE__ */ React9.createElement(
4320
- "linearGradient",
4321
- {
4322
- id: `paint1_linear_1950_201284-${id}`,
4323
- x1: "22.9179",
4324
- y1: "18.2399",
4325
- x2: "16.7805",
4326
- y2: "14.1214",
4327
- gradientUnits: "userSpaceOnUse"
4328
- },
4329
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#871101" }),
4330
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#911209" }),
4331
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#911209" })
4332
- ), /* @__PURE__ */ React9.createElement(
4333
- "linearGradient",
4334
- {
4335
- id: `paint2_linear_1950_201284-${id}`,
4336
- x1: "18.0074",
4337
- y1: "25.5582",
4338
- x2: "11.8701",
4339
- y2: "21.4397",
4340
- gradientUnits: "userSpaceOnUse"
4341
- },
4342
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#871101" }),
4343
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#911209" }),
4344
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#911209" })
4345
- ), /* @__PURE__ */ React9.createElement(
4346
- "linearGradient",
4347
- {
4348
- id: `paint3_linear_1950_201284-${id}`,
4349
- x1: "5.12161",
4350
- y1: "15.2582",
4351
- x2: "6.07298",
4352
- y2: "21.4415",
4353
- gradientUnits: "userSpaceOnUse"
4354
- },
4355
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "white" }),
4356
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.23", stopColor: "#E57252" }),
4357
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.46", stopColor: "#DE3B20" }),
4358
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#A60003" }),
4359
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#A60003" })
4360
- ), /* @__PURE__ */ React9.createElement(
4361
- "linearGradient",
4362
- {
4363
- id: `paint4_linear_1950_201284-${id}`,
4364
- x1: "11.6664",
4365
- y1: "9.48486",
4366
- x2: "12.0171",
4367
- y2: "15.7954",
4368
- gradientUnits: "userSpaceOnUse"
4369
- },
4370
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "white" }),
4371
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.23", stopColor: "#E4714E" }),
4372
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.56", stopColor: "#BE1A0D" }),
4373
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#A80D00" }),
4374
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#A80D00" })
4375
- ), /* @__PURE__ */ React9.createElement(
4376
- "linearGradient",
4377
- {
4378
- id: `paint5_linear_1950_201284-${id}`,
4379
- x1: "17.4727",
4380
- y1: "3.65211",
4381
- x2: "18.5223",
4382
- y2: "8.17499",
4383
- gradientUnits: "userSpaceOnUse"
4384
- },
4385
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "white" }),
4386
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.18", stopColor: "#E46342" }),
4387
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.4", stopColor: "#C82410" }),
4388
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#A80D00" }),
4389
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#A80D00" })
4390
- ), /* @__PURE__ */ React9.createElement(
4391
- "linearGradient",
4392
- {
4393
- id: `paint6_linear_1950_201284-${id}`,
4394
- x1: "14.269",
4395
- y1: "2.0594",
4396
- x2: "18.7913",
4397
- y2: "-0.201663",
4398
- gradientUnits: "userSpaceOnUse"
4399
- },
4400
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "white" }),
4401
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.54", stopColor: "#C81F11" }),
4402
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#BF0905" }),
4403
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#BF0905" })
4404
- ), /* @__PURE__ */ React9.createElement(
4405
- "linearGradient",
4406
- {
4407
- id: `paint7_linear_1950_201284-${id}`,
4408
- x1: "1.15764",
4409
- y1: "13.6825",
4410
- x2: "1.53002",
4411
- y2: "17.4091",
4412
- gradientUnits: "userSpaceOnUse"
4413
- },
4414
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "white" }),
4415
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.31", stopColor: "#DE4024" }),
4416
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#BF190B" }),
4417
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#BF190B" })
4418
- ), /* @__PURE__ */ React9.createElement(
4419
- "linearGradient",
4420
- {
4421
- id: `paint8_linear_1950_201284-${id}`,
4422
- x1: "-1.40111",
4423
- y1: "18.4162",
4424
- x2: "16.0962",
4425
- y2: "0.424062",
4426
- gradientUnits: "userSpaceOnUse"
4427
- },
4428
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#BD0012" }),
4429
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.07", stopColor: "white" }),
4430
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.17", stopColor: "white" }),
4431
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.27", stopColor: "#C82F1C" }),
4432
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.33", stopColor: "#820C01" }),
4433
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.46", stopColor: "#A31601" }),
4434
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.72", stopColor: "#B31301" }),
4435
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#E82609" }),
4436
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#E82609" })
4437
- ), /* @__PURE__ */ React9.createElement(
4438
- "linearGradient",
4439
- {
4440
- id: `paint9_linear_1950_201284-${id}`,
4441
- x1: "12.0016",
4442
- y1: "20.2307",
4443
- x2: "6.7312",
4444
- y2: "18.93",
4445
- gradientUnits: "userSpaceOnUse"
4446
- },
4447
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#8C0C01" }),
4448
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.54", stopColor: "#990C00" }),
4449
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#A80D0E" }),
4450
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#A80D0E" })
4451
- ), /* @__PURE__ */ React9.createElement(
4452
- "linearGradient",
4453
- {
4454
- id: `paint10_linear_1950_201284-${id}`,
4455
- x1: "21.0535",
4456
- y1: "13.9056",
4457
- x2: "16.3715",
4458
- y2: "9.70938",
4459
- gradientUnits: "userSpaceOnUse"
4460
- },
4461
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#7E110B" }),
4462
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#9E0C00" }),
4463
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#9E0C00" })
4464
- ), /* @__PURE__ */ React9.createElement(
4465
- "linearGradient",
4466
- {
4467
- id: `paint11_linear_1950_201284-${id}`,
4468
- x1: "22.7731",
4469
- y1: "6.20586",
4470
- x2: "20.441",
4471
- y2: "3.71249",
4472
- gradientUnits: "userSpaceOnUse"
4473
- },
4474
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#79130D" }),
4475
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#9E120B" }),
4476
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#9E120B" })
4477
- ), /* @__PURE__ */ React9.createElement(
4478
- "radialGradient",
4479
- {
4480
- id: `paint12_radial_1950_201284-${id}`,
4481
- cx: "0",
4482
- cy: "0",
4483
- r: "1",
4484
- gradientUnits: "userSpaceOnUse",
4485
- gradientTransform: "translate(17.1 9.78952) scale(5.73769)"
4486
- },
4487
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#A80D00" }),
4488
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#7E0E08" }),
4489
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#7E0E08" })
4490
- ), /* @__PURE__ */ React9.createElement(
4491
- "radialGradient",
4492
- {
4493
- id: `paint13_radial_1950_201284-${id}`,
4494
- cx: "0",
4495
- cy: "0",
4496
- r: "1",
4497
- gradientUnits: "userSpaceOnUse",
4498
- gradientTransform: "translate(9.15558 17.3501) scale(7.62731)"
4499
- },
4500
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#A30C00" }),
4501
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#800E08" }),
4502
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#800E08" })
4503
- ), /* @__PURE__ */ React9.createElement(
4504
- "linearGradient",
4505
- {
4506
- id: `paint14_linear_1950_201284-${id}`,
4507
- x1: "3.75136",
4508
- y1: "23.2284",
4509
- x2: "1.85086",
4510
- y2: "16.7801",
4511
- gradientUnits: "userSpaceOnUse"
4512
- },
4513
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#8B2114" }),
4514
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.43", stopColor: "#9E100A" }),
4515
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#B3100C" }),
4516
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#B3100C" })
4517
- ), /* @__PURE__ */ React9.createElement(
4518
- "linearGradient",
4519
- {
4520
- id: `paint15_linear_1950_201284-${id}`,
4521
- x1: "18.3325",
4522
- y1: "1.86084",
4523
- x2: "22.5933",
4524
- y2: "3.74166",
4525
- gradientUnits: "userSpaceOnUse"
4526
- },
4527
- /* @__PURE__ */ React9.createElement("stop", { stopColor: "#B31000" }),
4528
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.44", stopColor: "#910F08" }),
4529
- /* @__PURE__ */ React9.createElement("stop", { offset: "0.99", stopColor: "#791C12" }),
4530
- /* @__PURE__ */ React9.createElement("stop", { offset: "1", stopColor: "#791C12" })
4531
- ), /* @__PURE__ */ React9.createElement("clipPath", { id: `clip0_1950_201284-${id}` }, /* @__PURE__ */ React9.createElement("rect", { width: "24", height: "24", fill: "white" })))
4305
+ fill: "none",
4306
+ children: [
4307
+ /* @__PURE__ */ jsxs4("g", { clipPath: `url(#clip0_1950_201284-${id})`, children: [
4308
+ /* @__PURE__ */ jsx8(
4309
+ "path",
4310
+ {
4311
+ d: "M18.2028 15.6024L5.31445 23.2556L22.0025 22.1231L23.2878 5.2959L18.2028 15.6024Z",
4312
+ fill: `url(#paint0_linear_1950_201284-${id})`
4313
+ }
4314
+ ),
4315
+ /* @__PURE__ */ jsx8(
4316
+ "path",
4317
+ {
4318
+ d: "M22.0286 22.1117L20.5944 12.2119L16.6875 17.3708L22.0286 22.1117Z",
4319
+ fill: `url(#paint1_linear_1950_201284-${id})`
4320
+ }
4321
+ ),
4322
+ /* @__PURE__ */ jsx8(
4323
+ "path",
4324
+ {
4325
+ d: "M22.048 22.1119L11.5398 21.2871L5.36914 23.2343L22.048 22.1119Z",
4326
+ fill: `url(#paint2_linear_1950_201284-${id})`
4327
+ }
4328
+ ),
4329
+ /* @__PURE__ */ jsx8(
4330
+ "path",
4331
+ {
4332
+ d: "M5.38411 23.2363L8.0093 14.6362L2.23242 15.8715L5.38411 23.2363Z",
4333
+ fill: `url(#paint3_linear_1950_201284-${id})`
4334
+ }
4335
+ ),
4336
+ /* @__PURE__ */ jsx8(
4337
+ "path",
4338
+ {
4339
+ d: "M16.6871 17.3992L14.2717 7.93799L7.35938 14.4176L16.6871 17.3992Z",
4340
+ fill: `url(#paint4_linear_1950_201284-${id})`
4341
+ }
4342
+ ),
4343
+ /* @__PURE__ */ jsx8(
4344
+ "path",
4345
+ {
4346
+ d: "M22.7385 8.07149L16.2043 2.73486L14.3848 8.6173L22.7385 8.07149Z",
4347
+ fill: `url(#paint5_linear_1950_201284-${id})`
4348
+ }
4349
+ ),
4350
+ /* @__PURE__ */ jsx8(
4351
+ "path",
4352
+ {
4353
+ d: "M19.6836 0.832211L15.8404 2.95602L13.416 0.803711L19.6836 0.832211Z",
4354
+ fill: `url(#paint6_linear_1950_201284-${id})`
4355
+ }
4356
+ ),
4357
+ /* @__PURE__ */ jsx8(
4358
+ "path",
4359
+ {
4360
+ d: "M0.712891 18.7566L2.32277 15.8206L1.02039 12.3228L0.712891 18.7566Z",
4361
+ fill: `url(#paint7_linear_1950_201284-${id})`
4362
+ }
4363
+ ),
4364
+ /* @__PURE__ */ jsx8(
4365
+ "path",
4366
+ {
4367
+ d: "M0.933594 12.212L2.24366 15.9285L7.93709 14.6512L14.4372 8.61033L16.2715 2.78377L13.3834 0.744141L8.47278 2.58202C6.92553 4.02108 3.92347 6.86827 3.81528 6.92189C3.70784 6.97645 1.83247 10.521 0.933594 12.212Z",
4368
+ fill: "white"
4369
+ }
4370
+ ),
4371
+ /* @__PURE__ */ jsx8(
4372
+ "path",
4373
+ {
4374
+ d: "M5.53508 5.53531C8.88796 2.21094 13.2108 0.246499 14.8698 1.92031C16.5278 3.59394 14.7696 7.66156 11.4164 10.985C8.06314 14.3084 3.79396 16.3811 2.13646 14.7072C0.477268 13.0347 2.18183 8.85894 5.53508 5.53531Z",
4375
+ fill: `url(#paint8_linear_1950_201284-${id})`
4376
+ }
4377
+ ),
4378
+ /* @__PURE__ */ jsx8(
4379
+ "path",
4380
+ {
4381
+ d: "M5.38477 23.2327L7.98914 14.6055L16.6395 17.3842C13.512 20.3171 10.0333 22.7964 5.38477 23.2327Z",
4382
+ fill: `url(#paint9_linear_1950_201284-${id})`
4383
+ }
4384
+ ),
4385
+ /* @__PURE__ */ jsx8(
4386
+ "path",
4387
+ {
4388
+ d: "M14.4492 8.59338L16.67 17.3892C19.2826 14.6423 21.6273 11.689 22.7755 8.03613L14.4492 8.59338Z",
4389
+ fill: `url(#paint10_linear_1950_201284-${id})`
4390
+ }
4391
+ ),
4392
+ /* @__PURE__ */ jsx8(
4393
+ "path",
4394
+ {
4395
+ d: "M22.7523 8.08049C23.641 5.3983 23.846 1.5508 19.6554 0.836426L16.2168 2.7358L22.7523 8.08049Z",
4396
+ fill: `url(#paint11_linear_1950_201284-${id})`
4397
+ }
4398
+ ),
4399
+ /* @__PURE__ */ jsx8(
4400
+ "path",
4401
+ {
4402
+ d: "M0.712891 18.7176C0.835891 23.1441 4.02958 23.2099 5.39008 23.2489L2.24777 15.9102L0.712891 18.7176Z",
4403
+ fill: "#9E1209"
4404
+ }
4405
+ ),
4406
+ /* @__PURE__ */ jsx8(
4407
+ "path",
4408
+ {
4409
+ d: "M14.4609 8.60695C16.4687 9.84089 20.5146 12.3191 20.5965 12.3646C20.724 12.4365 22.341 9.63802 22.7079 8.05664L14.4609 8.60695Z",
4410
+ fill: `url(#paint12_radial_1950_201284-${id})`
4411
+ }
4412
+ ),
4413
+ /* @__PURE__ */ jsx8(
4414
+ "path",
4415
+ {
4416
+ d: "M7.98633 14.6055L11.4682 21.3232C13.527 20.2067 15.1393 18.8462 16.6158 17.3889L7.98633 14.6055Z",
4417
+ fill: `url(#paint13_radial_1950_201284-${id})`
4418
+ }
4419
+ ),
4420
+ /* @__PURE__ */ jsx8(
4421
+ "path",
4422
+ {
4423
+ d: "M2.23355 15.9194L1.74023 21.794C2.67098 23.0654 3.95161 23.1761 5.29523 23.0769C4.32323 20.6581 2.38186 15.8214 2.23355 15.9194Z",
4424
+ fill: `url(#paint14_linear_1950_201284-${id})`
4425
+ }
4426
+ ),
4427
+ /* @__PURE__ */ jsx8(
4428
+ "path",
4429
+ {
4430
+ d: "M16.1973 2.75072L23.1143 3.72141C22.7451 2.15709 21.6115 1.14759 19.6793 0.832031L16.1973 2.75072Z",
4431
+ fill: `url(#paint15_linear_1950_201284-${id})`
4432
+ }
4433
+ )
4434
+ ] }),
4435
+ /* @__PURE__ */ jsxs4("defs", { children: [
4436
+ /* @__PURE__ */ jsxs4(
4437
+ "linearGradient",
4438
+ {
4439
+ id: `paint0_linear_1950_201284-${id}`,
4440
+ x1: "20.547",
4441
+ y1: "25.3029",
4442
+ x2: "15.7848",
4443
+ y2: "16.895",
4444
+ gradientUnits: "userSpaceOnUse",
4445
+ children: [
4446
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#FB7655" }),
4447
+ /* @__PURE__ */ jsx8("stop", { offset: "0.41", stopColor: "#E42B1E" }),
4448
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#990000" }),
4449
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#990000" })
4450
+ ]
4451
+ }
4452
+ ),
4453
+ /* @__PURE__ */ jsxs4(
4454
+ "linearGradient",
4455
+ {
4456
+ id: `paint1_linear_1950_201284-${id}`,
4457
+ x1: "22.9179",
4458
+ y1: "18.2399",
4459
+ x2: "16.7805",
4460
+ y2: "14.1214",
4461
+ gradientUnits: "userSpaceOnUse",
4462
+ children: [
4463
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#871101" }),
4464
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#911209" }),
4465
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#911209" })
4466
+ ]
4467
+ }
4468
+ ),
4469
+ /* @__PURE__ */ jsxs4(
4470
+ "linearGradient",
4471
+ {
4472
+ id: `paint2_linear_1950_201284-${id}`,
4473
+ x1: "18.0074",
4474
+ y1: "25.5582",
4475
+ x2: "11.8701",
4476
+ y2: "21.4397",
4477
+ gradientUnits: "userSpaceOnUse",
4478
+ children: [
4479
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#871101" }),
4480
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#911209" }),
4481
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#911209" })
4482
+ ]
4483
+ }
4484
+ ),
4485
+ /* @__PURE__ */ jsxs4(
4486
+ "linearGradient",
4487
+ {
4488
+ id: `paint3_linear_1950_201284-${id}`,
4489
+ x1: "5.12161",
4490
+ y1: "15.2582",
4491
+ x2: "6.07298",
4492
+ y2: "21.4415",
4493
+ gradientUnits: "userSpaceOnUse",
4494
+ children: [
4495
+ /* @__PURE__ */ jsx8("stop", { stopColor: "white" }),
4496
+ /* @__PURE__ */ jsx8("stop", { offset: "0.23", stopColor: "#E57252" }),
4497
+ /* @__PURE__ */ jsx8("stop", { offset: "0.46", stopColor: "#DE3B20" }),
4498
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#A60003" }),
4499
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#A60003" })
4500
+ ]
4501
+ }
4502
+ ),
4503
+ /* @__PURE__ */ jsxs4(
4504
+ "linearGradient",
4505
+ {
4506
+ id: `paint4_linear_1950_201284-${id}`,
4507
+ x1: "11.6664",
4508
+ y1: "9.48486",
4509
+ x2: "12.0171",
4510
+ y2: "15.7954",
4511
+ gradientUnits: "userSpaceOnUse",
4512
+ children: [
4513
+ /* @__PURE__ */ jsx8("stop", { stopColor: "white" }),
4514
+ /* @__PURE__ */ jsx8("stop", { offset: "0.23", stopColor: "#E4714E" }),
4515
+ /* @__PURE__ */ jsx8("stop", { offset: "0.56", stopColor: "#BE1A0D" }),
4516
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#A80D00" }),
4517
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#A80D00" })
4518
+ ]
4519
+ }
4520
+ ),
4521
+ /* @__PURE__ */ jsxs4(
4522
+ "linearGradient",
4523
+ {
4524
+ id: `paint5_linear_1950_201284-${id}`,
4525
+ x1: "17.4727",
4526
+ y1: "3.65211",
4527
+ x2: "18.5223",
4528
+ y2: "8.17499",
4529
+ gradientUnits: "userSpaceOnUse",
4530
+ children: [
4531
+ /* @__PURE__ */ jsx8("stop", { stopColor: "white" }),
4532
+ /* @__PURE__ */ jsx8("stop", { offset: "0.18", stopColor: "#E46342" }),
4533
+ /* @__PURE__ */ jsx8("stop", { offset: "0.4", stopColor: "#C82410" }),
4534
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#A80D00" }),
4535
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#A80D00" })
4536
+ ]
4537
+ }
4538
+ ),
4539
+ /* @__PURE__ */ jsxs4(
4540
+ "linearGradient",
4541
+ {
4542
+ id: `paint6_linear_1950_201284-${id}`,
4543
+ x1: "14.269",
4544
+ y1: "2.0594",
4545
+ x2: "18.7913",
4546
+ y2: "-0.201663",
4547
+ gradientUnits: "userSpaceOnUse",
4548
+ children: [
4549
+ /* @__PURE__ */ jsx8("stop", { stopColor: "white" }),
4550
+ /* @__PURE__ */ jsx8("stop", { offset: "0.54", stopColor: "#C81F11" }),
4551
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#BF0905" }),
4552
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#BF0905" })
4553
+ ]
4554
+ }
4555
+ ),
4556
+ /* @__PURE__ */ jsxs4(
4557
+ "linearGradient",
4558
+ {
4559
+ id: `paint7_linear_1950_201284-${id}`,
4560
+ x1: "1.15764",
4561
+ y1: "13.6825",
4562
+ x2: "1.53002",
4563
+ y2: "17.4091",
4564
+ gradientUnits: "userSpaceOnUse",
4565
+ children: [
4566
+ /* @__PURE__ */ jsx8("stop", { stopColor: "white" }),
4567
+ /* @__PURE__ */ jsx8("stop", { offset: "0.31", stopColor: "#DE4024" }),
4568
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#BF190B" }),
4569
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#BF190B" })
4570
+ ]
4571
+ }
4572
+ ),
4573
+ /* @__PURE__ */ jsxs4(
4574
+ "linearGradient",
4575
+ {
4576
+ id: `paint8_linear_1950_201284-${id}`,
4577
+ x1: "-1.40111",
4578
+ y1: "18.4162",
4579
+ x2: "16.0962",
4580
+ y2: "0.424062",
4581
+ gradientUnits: "userSpaceOnUse",
4582
+ children: [
4583
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#BD0012" }),
4584
+ /* @__PURE__ */ jsx8("stop", { offset: "0.07", stopColor: "white" }),
4585
+ /* @__PURE__ */ jsx8("stop", { offset: "0.17", stopColor: "white" }),
4586
+ /* @__PURE__ */ jsx8("stop", { offset: "0.27", stopColor: "#C82F1C" }),
4587
+ /* @__PURE__ */ jsx8("stop", { offset: "0.33", stopColor: "#820C01" }),
4588
+ /* @__PURE__ */ jsx8("stop", { offset: "0.46", stopColor: "#A31601" }),
4589
+ /* @__PURE__ */ jsx8("stop", { offset: "0.72", stopColor: "#B31301" }),
4590
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#E82609" }),
4591
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#E82609" })
4592
+ ]
4593
+ }
4594
+ ),
4595
+ /* @__PURE__ */ jsxs4(
4596
+ "linearGradient",
4597
+ {
4598
+ id: `paint9_linear_1950_201284-${id}`,
4599
+ x1: "12.0016",
4600
+ y1: "20.2307",
4601
+ x2: "6.7312",
4602
+ y2: "18.93",
4603
+ gradientUnits: "userSpaceOnUse",
4604
+ children: [
4605
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#8C0C01" }),
4606
+ /* @__PURE__ */ jsx8("stop", { offset: "0.54", stopColor: "#990C00" }),
4607
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#A80D0E" }),
4608
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#A80D0E" })
4609
+ ]
4610
+ }
4611
+ ),
4612
+ /* @__PURE__ */ jsxs4(
4613
+ "linearGradient",
4614
+ {
4615
+ id: `paint10_linear_1950_201284-${id}`,
4616
+ x1: "21.0535",
4617
+ y1: "13.9056",
4618
+ x2: "16.3715",
4619
+ y2: "9.70938",
4620
+ gradientUnits: "userSpaceOnUse",
4621
+ children: [
4622
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#7E110B" }),
4623
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#9E0C00" }),
4624
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#9E0C00" })
4625
+ ]
4626
+ }
4627
+ ),
4628
+ /* @__PURE__ */ jsxs4(
4629
+ "linearGradient",
4630
+ {
4631
+ id: `paint11_linear_1950_201284-${id}`,
4632
+ x1: "22.7731",
4633
+ y1: "6.20586",
4634
+ x2: "20.441",
4635
+ y2: "3.71249",
4636
+ gradientUnits: "userSpaceOnUse",
4637
+ children: [
4638
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#79130D" }),
4639
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#9E120B" }),
4640
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#9E120B" })
4641
+ ]
4642
+ }
4643
+ ),
4644
+ /* @__PURE__ */ jsxs4(
4645
+ "radialGradient",
4646
+ {
4647
+ id: `paint12_radial_1950_201284-${id}`,
4648
+ cx: "0",
4649
+ cy: "0",
4650
+ r: "1",
4651
+ gradientUnits: "userSpaceOnUse",
4652
+ gradientTransform: "translate(17.1 9.78952) scale(5.73769)",
4653
+ children: [
4654
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#A80D00" }),
4655
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#7E0E08" }),
4656
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#7E0E08" })
4657
+ ]
4658
+ }
4659
+ ),
4660
+ /* @__PURE__ */ jsxs4(
4661
+ "radialGradient",
4662
+ {
4663
+ id: `paint13_radial_1950_201284-${id}`,
4664
+ cx: "0",
4665
+ cy: "0",
4666
+ r: "1",
4667
+ gradientUnits: "userSpaceOnUse",
4668
+ gradientTransform: "translate(9.15558 17.3501) scale(7.62731)",
4669
+ children: [
4670
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#A30C00" }),
4671
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#800E08" }),
4672
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#800E08" })
4673
+ ]
4674
+ }
4675
+ ),
4676
+ /* @__PURE__ */ jsxs4(
4677
+ "linearGradient",
4678
+ {
4679
+ id: `paint14_linear_1950_201284-${id}`,
4680
+ x1: "3.75136",
4681
+ y1: "23.2284",
4682
+ x2: "1.85086",
4683
+ y2: "16.7801",
4684
+ gradientUnits: "userSpaceOnUse",
4685
+ children: [
4686
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#8B2114" }),
4687
+ /* @__PURE__ */ jsx8("stop", { offset: "0.43", stopColor: "#9E100A" }),
4688
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#B3100C" }),
4689
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#B3100C" })
4690
+ ]
4691
+ }
4692
+ ),
4693
+ /* @__PURE__ */ jsxs4(
4694
+ "linearGradient",
4695
+ {
4696
+ id: `paint15_linear_1950_201284-${id}`,
4697
+ x1: "18.3325",
4698
+ y1: "1.86084",
4699
+ x2: "22.5933",
4700
+ y2: "3.74166",
4701
+ gradientUnits: "userSpaceOnUse",
4702
+ children: [
4703
+ /* @__PURE__ */ jsx8("stop", { stopColor: "#B31000" }),
4704
+ /* @__PURE__ */ jsx8("stop", { offset: "0.44", stopColor: "#910F08" }),
4705
+ /* @__PURE__ */ jsx8("stop", { offset: "0.99", stopColor: "#791C12" }),
4706
+ /* @__PURE__ */ jsx8("stop", { offset: "1", stopColor: "#791C12" })
4707
+ ]
4708
+ }
4709
+ ),
4710
+ /* @__PURE__ */ jsx8("clipPath", { id: `clip0_1950_201284-${id}`, children: /* @__PURE__ */ jsx8("rect", { width: "24", height: "24", fill: "white" }) })
4711
+ ] })
4712
+ ]
4713
+ }
4532
4714
  );
4533
4715
  }
4534
4716
  function TerraformIcon({ className }) {
4535
- return /* @__PURE__ */ React9.createElement(
4717
+ return /* @__PURE__ */ jsxs4(
4536
4718
  "svg",
4537
4719
  {
4538
4720
  xmlns: "http://www.w3.org/2000/svg",
@@ -4540,40 +4722,42 @@ function TerraformIcon({ className }) {
4540
4722
  height: "22",
4541
4723
  viewBox: "0 0 20 22",
4542
4724
  fill: "none",
4543
- className
4544
- },
4545
- /* @__PURE__ */ React9.createElement(
4546
- "path",
4547
- {
4548
- fillRule: "evenodd",
4549
- clipRule: "evenodd",
4550
- d: "M12.6137 7.344V14.2507L6.68555 10.7974V3.89062L12.6137 7.344Z",
4551
- fill: "#5C4EE5"
4552
- }
4553
- ),
4554
- /* @__PURE__ */ React9.createElement(
4555
- "path",
4556
- {
4557
- fillRule: "evenodd",
4558
- clipRule: "evenodd",
4559
- d: "M13.2637 14.2507L19.1949 10.7974V3.89062L13.2637 7.344V14.2507Z",
4560
- fill: "#4040B2"
4561
- }
4562
- ),
4563
- /* @__PURE__ */ React9.createElement(
4564
- "path",
4565
- {
4566
- fillRule: "evenodd",
4567
- clipRule: "evenodd",
4568
- d: "M0.107422 6.94258L6.0358 10.3956V3.48902L0.107422 0.0356445V6.94258ZM12.6135 15.0079L6.6853 11.5545V18.4583L12.6135 21.9116V15.0079Z",
4569
- fill: "#5C4EE5"
4570
- }
4571
- )
4725
+ className,
4726
+ children: [
4727
+ /* @__PURE__ */ jsx8(
4728
+ "path",
4729
+ {
4730
+ fillRule: "evenodd",
4731
+ clipRule: "evenodd",
4732
+ d: "M12.6137 7.344V14.2507L6.68555 10.7974V3.89062L12.6137 7.344Z",
4733
+ fill: "#5C4EE5"
4734
+ }
4735
+ ),
4736
+ /* @__PURE__ */ jsx8(
4737
+ "path",
4738
+ {
4739
+ fillRule: "evenodd",
4740
+ clipRule: "evenodd",
4741
+ d: "M13.2637 14.2507L19.1949 10.7974V3.89062L13.2637 7.344V14.2507Z",
4742
+ fill: "#4040B2"
4743
+ }
4744
+ ),
4745
+ /* @__PURE__ */ jsx8(
4746
+ "path",
4747
+ {
4748
+ fillRule: "evenodd",
4749
+ clipRule: "evenodd",
4750
+ d: "M0.107422 6.94258L6.0358 10.3956V3.48902L0.107422 0.0356445V6.94258ZM12.6135 15.0079L6.6853 11.5545V18.4583L12.6135 21.9116V15.0079Z",
4751
+ fill: "#5C4EE5"
4752
+ }
4753
+ )
4754
+ ]
4755
+ }
4572
4756
  );
4573
4757
  }
4574
4758
  function TypescriptIcon({ className }) {
4575
- const id = React9.useId();
4576
- return /* @__PURE__ */ React9.createElement(
4759
+ const id = React7.useId();
4760
+ return /* @__PURE__ */ jsxs4(
4577
4761
  "svg",
4578
4762
  {
4579
4763
  xmlns: "http://www.w3.org/2000/svg",
@@ -4581,20 +4765,25 @@ function TypescriptIcon({ className }) {
4581
4765
  height: "24",
4582
4766
  className,
4583
4767
  viewBox: "0 0 24 24",
4584
- fill: "none"
4585
- },
4586
- /* @__PURE__ */ React9.createElement("g", { clipPath: `url(#clip0_658_37688-${id})` }, /* @__PURE__ */ React9.createElement("path", { d: "M4.25 8.8125H22.9381V22.6256H4.25V8.8125Z", fill: "white" }), /* @__PURE__ */ React9.createElement(
4587
- "path",
4588
- {
4589
- d: "M0.28125 11.9829V23.7017H23.7188V0.26416H0.28125V11.9829ZM19.1681 11.0454C19.7295 11.1757 20.2397 11.4693 20.6344 11.8892C20.8517 12.1154 21.0406 12.3672 21.1969 12.6392C21.1969 12.6692 20.1844 13.3535 19.5675 13.736C19.545 13.751 19.455 13.6535 19.3556 13.5054C19.243 13.3111 19.083 13.1485 18.8905 13.0327C18.6981 12.917 18.4794 12.8519 18.255 12.8435C17.5444 12.7948 17.0869 13.1679 17.0906 13.781C17.0847 13.9337 17.1197 14.0851 17.1919 14.2198C17.3475 14.5442 17.6381 14.7373 18.5494 15.131C20.2275 15.8529 20.9456 16.3292 21.3919 17.006C21.8906 17.756 22.0012 18.9673 21.6637 19.8635C21.2887 20.8385 20.37 21.5004 19.0706 21.7198C18.4772 21.7878 17.8775 21.7815 17.2856 21.701C16.3784 21.5515 15.5428 21.1159 14.9006 20.4579C14.685 20.2198 14.265 19.5992 14.2913 19.5542C14.3597 19.5033 14.4318 19.4576 14.5069 19.4173L15.375 18.9373L16.0481 18.5473L16.1887 18.7554C16.4261 19.0949 16.7281 19.3842 17.0775 19.6067C17.8275 20.0004 18.8512 19.946 19.3575 19.4904C19.5275 19.3235 19.6335 19.1022 19.6572 18.8651C19.6808 18.628 19.6205 18.3901 19.4869 18.1929C19.2994 17.9323 18.9244 17.7129 17.8762 17.2554C16.6669 16.7342 16.1456 16.4117 15.6694 15.8979C15.3721 15.5589 15.1526 15.1589 15.0262 14.726C14.932 14.2315 14.9181 13.725 14.985 13.226C15.2344 12.0579 16.11 11.2423 17.3888 11.0004C17.981 10.9271 18.5808 10.9436 19.1681 11.0492V11.0454ZM13.6669 12.0279V12.9879H10.6237V21.656H8.46563V12.986H5.415V12.0485C5.4055 11.7252 5.41301 11.4017 5.4375 11.0792C5.4525 11.0623 7.3125 11.0623 9.5625 11.0623H13.6556L13.6669 12.0279Z",
4590
- fill: "#007ACC"
4591
- }
4592
- )),
4593
- /* @__PURE__ */ React9.createElement("defs", null, /* @__PURE__ */ React9.createElement("clipPath", { id: `clip0_658_37688-${id}` }, /* @__PURE__ */ React9.createElement("rect", { width: "24", height: "24", fill: "white" })))
4768
+ fill: "none",
4769
+ children: [
4770
+ /* @__PURE__ */ jsxs4("g", { clipPath: `url(#clip0_658_37688-${id})`, children: [
4771
+ /* @__PURE__ */ jsx8("path", { d: "M4.25 8.8125H22.9381V22.6256H4.25V8.8125Z", fill: "white" }),
4772
+ /* @__PURE__ */ jsx8(
4773
+ "path",
4774
+ {
4775
+ d: "M0.28125 11.9829V23.7017H23.7188V0.26416H0.28125V11.9829ZM19.1681 11.0454C19.7295 11.1757 20.2397 11.4693 20.6344 11.8892C20.8517 12.1154 21.0406 12.3672 21.1969 12.6392C21.1969 12.6692 20.1844 13.3535 19.5675 13.736C19.545 13.751 19.455 13.6535 19.3556 13.5054C19.243 13.3111 19.083 13.1485 18.8905 13.0327C18.6981 12.917 18.4794 12.8519 18.255 12.8435C17.5444 12.7948 17.0869 13.1679 17.0906 13.781C17.0847 13.9337 17.1197 14.0851 17.1919 14.2198C17.3475 14.5442 17.6381 14.7373 18.5494 15.131C20.2275 15.8529 20.9456 16.3292 21.3919 17.006C21.8906 17.756 22.0012 18.9673 21.6637 19.8635C21.2887 20.8385 20.37 21.5004 19.0706 21.7198C18.4772 21.7878 17.8775 21.7815 17.2856 21.701C16.3784 21.5515 15.5428 21.1159 14.9006 20.4579C14.685 20.2198 14.265 19.5992 14.2913 19.5542C14.3597 19.5033 14.4318 19.4576 14.5069 19.4173L15.375 18.9373L16.0481 18.5473L16.1887 18.7554C16.4261 19.0949 16.7281 19.3842 17.0775 19.6067C17.8275 20.0004 18.8512 19.946 19.3575 19.4904C19.5275 19.3235 19.6335 19.1022 19.6572 18.8651C19.6808 18.628 19.6205 18.3901 19.4869 18.1929C19.2994 17.9323 18.9244 17.7129 17.8762 17.2554C16.6669 16.7342 16.1456 16.4117 15.6694 15.8979C15.3721 15.5589 15.1526 15.1589 15.0262 14.726C14.932 14.2315 14.9181 13.725 14.985 13.226C15.2344 12.0579 16.11 11.2423 17.3888 11.0004C17.981 10.9271 18.5808 10.9436 19.1681 11.0492V11.0454ZM13.6669 12.0279V12.9879H10.6237V21.656H8.46563V12.986H5.415V12.0485C5.4055 11.7252 5.41301 11.4017 5.4375 11.0792C5.4525 11.0623 7.3125 11.0623 9.5625 11.0623H13.6556L13.6669 12.0279Z",
4776
+ fill: "#007ACC"
4777
+ }
4778
+ )
4779
+ ] }),
4780
+ /* @__PURE__ */ jsx8("defs", { children: /* @__PURE__ */ jsx8("clipPath", { id: `clip0_658_37688-${id}`, children: /* @__PURE__ */ jsx8("rect", { width: "24", height: "24", fill: "white" }) }) })
4781
+ ]
4782
+ }
4594
4783
  );
4595
4784
  }
4596
4785
  function CurlIcon({ className }) {
4597
- return /* @__PURE__ */ React9.createElement(
4786
+ return /* @__PURE__ */ jsxs4(
4598
4787
  "svg",
4599
4788
  {
4600
4789
  xmlns: "http://www.w3.org/2000/svg",
@@ -4602,68 +4791,70 @@ function CurlIcon({ className }) {
4602
4791
  height: "24",
4603
4792
  className,
4604
4793
  viewBox: "0 0 24 24",
4605
- fill: "none"
4606
- },
4607
- /* @__PURE__ */ React9.createElement(
4608
- "path",
4609
- {
4610
- d: "M3.63531 15.7438C4.4306 15.7438 5.07531 15.0991 5.07531 14.3038C5.07531 13.5085 4.4306 12.8638 3.63531 12.8638C2.84002 12.8638 2.19531 13.5085 2.19531 14.3038C2.19531 15.0991 2.84002 15.7438 3.63531 15.7438Z",
4611
- fill: "#262626"
4612
- }
4613
- ),
4614
- /* @__PURE__ */ React9.createElement(
4615
- "path",
4616
- {
4617
- d: "M3.63531 10.6798C4.4306 10.6798 5.07531 10.0351 5.07531 9.2398C5.07531 8.44451 4.4306 7.7998 3.63531 7.7998C2.84002 7.7998 2.19531 8.44451 2.19531 9.2398C2.19531 10.0351 2.84002 10.6798 3.63531 10.6798Z",
4618
- fill: "#262626"
4619
- }
4620
- ),
4621
- /* @__PURE__ */ React9.createElement(
4622
- "path",
4623
- {
4624
- d: "M5.19617 18.7559C5.19617 19.5512 5.84088 20.1959 6.63617 20.1959C7.43146 20.1959 8.07617 19.5512 8.07617 18.7559C8.07617 17.9606 7.43146 17.3159 6.63617 17.3159C5.84088 17.3159 5.19617 17.9606 5.19617 18.7559Z",
4625
- fill: "#262626"
4626
- }
4627
- ),
4628
- /* @__PURE__ */ React9.createElement(
4629
- "path",
4630
- {
4631
- d: "M13.0321 5.25592C13.0321 6.05121 13.6768 6.69592 14.4721 6.69592C15.2674 6.69592 15.9121 6.05121 15.9121 5.25592C15.9121 4.46063 15.2674 3.81592 14.4721 3.81592C13.6768 3.81592 13.0321 4.46063 13.0321 5.25592Z",
4632
- fill: "#262626"
4633
- }
4634
- ),
4635
- /* @__PURE__ */ React9.createElement(
4636
- "path",
4637
- {
4638
- d: "M13.6449 4.77588L5.79688 18.2639L7.46487 19.2239L15.3009 5.75988L13.6449 4.77588Z",
4639
- fill: "#262626"
4640
- }
4641
- ),
4642
- /* @__PURE__ */ React9.createElement(
4643
- "path",
4644
- {
4645
- d: "M11.0887 18.7559C11.0887 19.5512 11.7335 20.1959 12.5287 20.1959C13.324 20.1959 13.9688 19.5512 13.9688 18.7559C13.9688 17.9606 13.324 17.3159 12.5287 17.3159C11.7335 17.3159 11.0887 17.9606 11.0887 18.7559Z",
4646
- fill: "#262626"
4647
- }
4648
- ),
4649
- /* @__PURE__ */ React9.createElement(
4650
- "path",
4651
- {
4652
- d: "M18.9247 5.25592C18.9247 6.05121 19.5694 6.69592 20.3647 6.69592C21.16 6.69592 21.8047 6.05121 21.8047 5.25592C21.8047 4.46063 21.16 3.81592 20.3647 3.81592C19.5694 3.81592 18.9247 4.46063 18.9247 5.25592Z",
4653
- fill: "#262626"
4654
- }
4655
- ),
4656
- /* @__PURE__ */ React9.createElement(
4657
- "path",
4658
- {
4659
- d: "M19.5355 4.77588L11.6875 18.2639L13.3555 19.2239L21.1915 5.75988L19.5355 4.77588Z",
4660
- fill: "#262626"
4661
- }
4662
- )
4794
+ fill: "none",
4795
+ children: [
4796
+ /* @__PURE__ */ jsx8(
4797
+ "path",
4798
+ {
4799
+ d: "M3.63531 15.7438C4.4306 15.7438 5.07531 15.0991 5.07531 14.3038C5.07531 13.5085 4.4306 12.8638 3.63531 12.8638C2.84002 12.8638 2.19531 13.5085 2.19531 14.3038C2.19531 15.0991 2.84002 15.7438 3.63531 15.7438Z",
4800
+ fill: "#262626"
4801
+ }
4802
+ ),
4803
+ /* @__PURE__ */ jsx8(
4804
+ "path",
4805
+ {
4806
+ d: "M3.63531 10.6798C4.4306 10.6798 5.07531 10.0351 5.07531 9.2398C5.07531 8.44451 4.4306 7.7998 3.63531 7.7998C2.84002 7.7998 2.19531 8.44451 2.19531 9.2398C2.19531 10.0351 2.84002 10.6798 3.63531 10.6798Z",
4807
+ fill: "#262626"
4808
+ }
4809
+ ),
4810
+ /* @__PURE__ */ jsx8(
4811
+ "path",
4812
+ {
4813
+ d: "M5.19617 18.7559C5.19617 19.5512 5.84088 20.1959 6.63617 20.1959C7.43146 20.1959 8.07617 19.5512 8.07617 18.7559C8.07617 17.9606 7.43146 17.3159 6.63617 17.3159C5.84088 17.3159 5.19617 17.9606 5.19617 18.7559Z",
4814
+ fill: "#262626"
4815
+ }
4816
+ ),
4817
+ /* @__PURE__ */ jsx8(
4818
+ "path",
4819
+ {
4820
+ d: "M13.0321 5.25592C13.0321 6.05121 13.6768 6.69592 14.4721 6.69592C15.2674 6.69592 15.9121 6.05121 15.9121 5.25592C15.9121 4.46063 15.2674 3.81592 14.4721 3.81592C13.6768 3.81592 13.0321 4.46063 13.0321 5.25592Z",
4821
+ fill: "#262626"
4822
+ }
4823
+ ),
4824
+ /* @__PURE__ */ jsx8(
4825
+ "path",
4826
+ {
4827
+ d: "M13.6449 4.77588L5.79688 18.2639L7.46487 19.2239L15.3009 5.75988L13.6449 4.77588Z",
4828
+ fill: "#262626"
4829
+ }
4830
+ ),
4831
+ /* @__PURE__ */ jsx8(
4832
+ "path",
4833
+ {
4834
+ d: "M11.0887 18.7559C11.0887 19.5512 11.7335 20.1959 12.5287 20.1959C13.324 20.1959 13.9688 19.5512 13.9688 18.7559C13.9688 17.9606 13.324 17.3159 12.5287 17.3159C11.7335 17.3159 11.0887 17.9606 11.0887 18.7559Z",
4835
+ fill: "#262626"
4836
+ }
4837
+ ),
4838
+ /* @__PURE__ */ jsx8(
4839
+ "path",
4840
+ {
4841
+ d: "M18.9247 5.25592C18.9247 6.05121 19.5694 6.69592 20.3647 6.69592C21.16 6.69592 21.8047 6.05121 21.8047 5.25592C21.8047 4.46063 21.16 3.81592 20.3647 3.81592C19.5694 3.81592 18.9247 4.46063 18.9247 5.25592Z",
4842
+ fill: "#262626"
4843
+ }
4844
+ ),
4845
+ /* @__PURE__ */ jsx8(
4846
+ "path",
4847
+ {
4848
+ d: "M19.5355 4.77588L11.6875 18.2639L13.3555 19.2239L21.1915 5.75988L19.5355 4.77588Z",
4849
+ fill: "#262626"
4850
+ }
4851
+ )
4852
+ ]
4853
+ }
4663
4854
  );
4664
4855
  }
4665
4856
  function PowershellIcon({ className }) {
4666
- return /* @__PURE__ */ React9.createElement(
4857
+ return /* @__PURE__ */ jsx8(
4667
4858
  "svg",
4668
4859
  {
4669
4860
  xmlns: "http://www.w3.org/2000/svg",
@@ -4671,22 +4862,22 @@ function PowershellIcon({ className }) {
4671
4862
  height: "24",
4672
4863
  className,
4673
4864
  viewBox: "0 0 24 24",
4674
- fill: "none"
4675
- },
4676
- /* @__PURE__ */ React9.createElement(
4677
- "path",
4678
- {
4679
- fillRule: "evenodd",
4680
- clipRule: "evenodd",
4681
- d: "M23.421 3.62962C23.2406 3.40481 22.9669 3.28125 22.6502 3.28125H5.28581C4.64888 3.28125 4.03613 3.77662 3.89006 4.40906L0.405376 19.5041C0.331126 19.8249 0.394501 20.1405 0.579001 20.3702C0.759563 20.595 1.03331 20.7186 1.34981 20.7186L18.7144 20.7188C19.3511 20.7188 19.9641 20.2232 20.1099 19.5907L23.5948 4.4955C23.6689 4.17469 23.6055 3.85894 23.421 3.62962ZM4.93556 18.099C4.60875 17.6496 4.6875 17.0353 5.11181 16.7269L12.1204 11.6518V11.5476L7.71694 6.86306C7.35769 6.48094 7.39519 5.86313 7.80038 5.48288C8.20575 5.10281 8.82525 5.10431 9.1845 5.48644L14.4683 11.1075C14.7683 11.4266 14.7904 11.9098 14.5539 12.282C14.4819 12.4271 14.3323 12.5873 14.0678 12.7729L6.29588 18.3546C5.87156 18.6628 5.26238 18.5484 4.93556 18.099ZM16.0999 18.1999H11.9123C11.4253 18.1999 11.0306 17.8095 11.0306 17.328C11.0306 16.8465 11.4253 16.4561 11.9123 16.4561H16.0997C16.5866 16.4561 16.9813 16.8465 16.9813 17.328C16.9813 17.8095 16.5868 18.1999 16.0999 18.1999Z",
4682
- fill: "#262626"
4683
- }
4684
- )
4865
+ fill: "none",
4866
+ children: /* @__PURE__ */ jsx8(
4867
+ "path",
4868
+ {
4869
+ fillRule: "evenodd",
4870
+ clipRule: "evenodd",
4871
+ d: "M23.421 3.62962C23.2406 3.40481 22.9669 3.28125 22.6502 3.28125H5.28581C4.64888 3.28125 4.03613 3.77662 3.89006 4.40906L0.405376 19.5041C0.331126 19.8249 0.394501 20.1405 0.579001 20.3702C0.759563 20.595 1.03331 20.7186 1.34981 20.7186L18.7144 20.7188C19.3511 20.7188 19.9641 20.2232 20.1099 19.5907L23.5948 4.4955C23.6689 4.17469 23.6055 3.85894 23.421 3.62962ZM4.93556 18.099C4.60875 17.6496 4.6875 17.0353 5.11181 16.7269L12.1204 11.6518V11.5476L7.71694 6.86306C7.35769 6.48094 7.39519 5.86313 7.80038 5.48288C8.20575 5.10281 8.82525 5.10431 9.1845 5.48644L14.4683 11.1075C14.7683 11.4266 14.7904 11.9098 14.5539 12.282C14.4819 12.4271 14.3323 12.5873 14.0678 12.7729L6.29588 18.3546C5.87156 18.6628 5.26238 18.5484 4.93556 18.099ZM16.0999 18.1999H11.9123C11.4253 18.1999 11.0306 17.8095 11.0306 17.328C11.0306 16.8465 11.4253 16.4561 11.9123 16.4561H16.0997C16.5866 16.4561 16.9813 16.8465 16.9813 17.328C16.9813 17.8095 16.5868 18.1999 16.0999 18.1999Z",
4872
+ fill: "#262626"
4873
+ }
4874
+ )
4875
+ }
4685
4876
  );
4686
4877
  }
4687
4878
 
4688
4879
  // ../ui-primitives/src/components/Button.tsx
4689
- import { jsx } from "react/jsx-runtime";
4880
+ import { jsx as jsx9 } from "react/jsx-runtime";
4690
4881
  function Button(props) {
4691
4882
  const { variant, children } = props;
4692
4883
  const classes = clsx_default(
@@ -4710,25 +4901,25 @@ function Button(props) {
4710
4901
  );
4711
4902
  if ("href" in props) {
4712
4903
  const { href, ...rest2 } = props;
4713
- return /* @__PURE__ */ jsx("a", { href, ...rest2, className: classes, children });
4904
+ return /* @__PURE__ */ jsx9("a", { href, ...rest2, className: classes, children });
4714
4905
  }
4715
4906
  const { type, ...rest } = props;
4716
- return /* @__PURE__ */ jsx("button", { type: type ?? "button", ...rest, className: classes, children });
4907
+ return /* @__PURE__ */ jsx9("button", { type: type ?? "button", ...rest, className: classes, children });
4717
4908
  }
4718
4909
  Button.Label = function ButtonLabel({ className, ...rest }) {
4719
- return /* @__PURE__ */ jsx("span", { className: clsx_default("stl-ui-button-label leading-none", className), ...rest });
4910
+ return /* @__PURE__ */ jsx9("span", { className: clsx_default("stl-ui-button-label leading-none", className), ...rest });
4720
4911
  };
4721
4912
  Button.Icon = function ButtonIcon({ className, icon: Icon2, size = 18 }) {
4722
- return /* @__PURE__ */ jsx("span", { className: clsx_default("stl-ui-button__icon", className), children: /* @__PURE__ */ jsx(Icon2, { size }) });
4913
+ return /* @__PURE__ */ jsx9("span", { className: clsx_default("stl-ui-button__icon", className), children: /* @__PURE__ */ jsx9(Icon2, { size }) });
4723
4914
  };
4724
4915
 
4725
4916
  // ../ui-primitives/src/components/DropdownButton.tsx
4726
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
4917
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
4727
4918
  function PrimaryActionText({ children }) {
4728
- return /* @__PURE__ */ jsx2("span", { "data-part": "primary-action-text", children });
4919
+ return /* @__PURE__ */ jsx10("span", { "data-part": "primary-action-text", children });
4729
4920
  }
4730
4921
  function PrimaryAction({ className, ...props }) {
4731
- return /* @__PURE__ */ jsx2(
4922
+ return /* @__PURE__ */ jsx10(
4732
4923
  "button",
4733
4924
  {
4734
4925
  "data-part": "primary-action",
@@ -4738,7 +4929,7 @@ function PrimaryAction({ className, ...props }) {
4738
4929
  );
4739
4930
  }
4740
4931
  function Trigger({ className, ...props }) {
4741
- return /* @__PURE__ */ jsx2(
4932
+ return /* @__PURE__ */ jsx10(
4742
4933
  "button",
4743
4934
  {
4744
4935
  "aria-haspopup": "listbox",
@@ -4746,12 +4937,12 @@ function Trigger({ className, ...props }) {
4746
4937
  "data-part": "trigger",
4747
4938
  ...props,
4748
4939
  className: clsx_default("stl-ui-dropdown-button__button stl-ui-dropdown-button__trigger", className),
4749
- children: /* @__PURE__ */ jsx2(ChevronsUpDown, { size: 16 })
4940
+ children: /* @__PURE__ */ jsx10(ChevronsUpDown, { size: 16 })
4750
4941
  }
4751
4942
  );
4752
4943
  }
4753
4944
  function Menu({ className, ...props }) {
4754
- return /* @__PURE__ */ jsx2(
4945
+ return /* @__PURE__ */ jsx10(
4755
4946
  "div",
4756
4947
  {
4757
4948
  "data-state": "closed",
@@ -4762,7 +4953,7 @@ function Menu({ className, ...props }) {
4762
4953
  );
4763
4954
  }
4764
4955
  function MenuItemIcon({ className, ...props }) {
4765
- return /* @__PURE__ */ jsx2(
4956
+ return /* @__PURE__ */ jsx10(
4766
4957
  "div",
4767
4958
  {
4768
4959
  "data-part": "item-icon",
@@ -4776,7 +4967,7 @@ function MenuItemText({
4776
4967
  subtle,
4777
4968
  ...props
4778
4969
  }) {
4779
- return /* @__PURE__ */ jsx2(
4970
+ return /* @__PURE__ */ jsx10(
4780
4971
  "span",
4781
4972
  {
4782
4973
  "data-part": "item-text",
@@ -4797,7 +4988,7 @@ function MenuItem({
4797
4988
  isExternalLink,
4798
4989
  ...props
4799
4990
  }) {
4800
- return /* @__PURE__ */ jsxs(
4991
+ return /* @__PURE__ */ jsxs5(
4801
4992
  "div",
4802
4993
  {
4803
4994
  "data-part": "item",
@@ -4805,13 +4996,13 @@ function MenuItem({
4805
4996
  ...props,
4806
4997
  className: clsx_default("stl-ui-dropdown-button__menu-item", props.className),
4807
4998
  children: [
4808
- /* @__PURE__ */ jsx2("div", { className: "stl-ui-dropdown-button__menu-item-content", children }),
4809
- isExternalLink && /* @__PURE__ */ jsx2(
4999
+ /* @__PURE__ */ jsx10("div", { className: "stl-ui-dropdown-button__menu-item-content", children }),
5000
+ isExternalLink && /* @__PURE__ */ jsx10(
4810
5001
  "div",
4811
5002
  {
4812
5003
  className: "stl-ui-dropdown-button__menu-item-external-link-icon",
4813
5004
  "data-part": "item-external-link-icon",
4814
- children: /* @__PURE__ */ jsx2(ExternalLink, { size: 16 })
5005
+ children: /* @__PURE__ */ jsx10(ExternalLink, { size: 16 })
4815
5006
  }
4816
5007
  )
4817
5008
  ]
@@ -4819,7 +5010,7 @@ function MenuItem({
4819
5010
  );
4820
5011
  }
4821
5012
  function DropdownButton({ className, ...props }) {
4822
- return /* @__PURE__ */ jsx2("div", { ...props, className: clsx_default("stl-ui-dropdown-button stl-ui-not-prose not-content", className) });
5013
+ return /* @__PURE__ */ jsx10("div", { ...props, className: clsx_default("stl-ui-dropdown-button stl-ui-not-prose not-content", className) });
4823
5014
  }
4824
5015
  DropdownButton.Menu = Menu;
4825
5016
  DropdownButton.MenuItem = MenuItem;
@@ -4830,33 +5021,34 @@ DropdownButton.PrimaryActionText = PrimaryActionText;
4830
5021
  DropdownButton.Trigger = Trigger;
4831
5022
 
4832
5023
  // ../ui-primitives/src/components/Callout.tsx
4833
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
5024
+ import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
4834
5025
 
4835
5026
  // ../ui-primitives/src/components/Accordion.tsx
4836
- import { jsx as jsx4 } from "react/jsx-runtime";
5027
+ import { jsx as jsx12 } from "react/jsx-runtime";
4837
5028
  function Accordion({ className, children, ...props }) {
4838
5029
  const classes = clsx_default("stl-ui-accordion", className);
4839
- return /* @__PURE__ */ jsx4("details", { className: classes, ...props, children });
5030
+ return /* @__PURE__ */ jsx12("details", { className: classes, ...props, children });
4840
5031
  }
4841
5032
  function AccordionSummary({ children, className, ...props }) {
4842
5033
  const classes = clsx_default("stl-ui-accordion__summary", className);
4843
- return /* @__PURE__ */ jsx4("summary", { className: classes, ...props, children });
5034
+ return /* @__PURE__ */ jsx12("summary", { className: classes, ...props, children });
4844
5035
  }
4845
5036
  Accordion.Summary = AccordionSummary;
4846
5037
  function AccordionGroup({ className, children, ...props }) {
4847
5038
  const classes = clsx_default("stl-ui-accordion-group", className);
4848
- return /* @__PURE__ */ jsx4("div", { className: classes, ...props, children });
5039
+ return /* @__PURE__ */ jsx12("div", { className: classes, ...props, children });
4849
5040
  }
4850
5041
  Accordion.Group = AccordionGroup;
4851
5042
 
4852
5043
  // src/components/sdk.tsx
4853
- var PropertyModelContext = React10.createContext({});
5044
+ import { Fragment as Fragment3, jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
5045
+ var PropertyModelContext = React8.createContext({});
4854
5046
  function usePropertyModel() {
4855
- return React10.useContext(PropertyModelContext);
5047
+ return React8.useContext(PropertyModelContext);
4856
5048
  }
4857
- var ReferenceNestingContext = React10.createContext([]);
5049
+ var ReferenceNestingContext = React8.createContext([]);
4858
5050
  function useReferenceNesting() {
4859
- return React10.useContext(ReferenceNestingContext);
5051
+ return React8.useContext(ReferenceNestingContext);
4860
5052
  }
4861
5053
  var SDKSnippetLanguages = {
4862
5054
  "node.default": { name: "TypeScript", icon: "typescript" },
@@ -4872,7 +5064,7 @@ var SDKSnippetLanguages = {
4872
5064
  };
4873
5065
  function SDKChildren({ paths, expand, depth }) {
4874
5066
  const Docs = useComponents2();
4875
- return /* @__PURE__ */ React10.createElement("div", { className: style_default.Properties }, paths.map((path, i) => /* @__PURE__ */ React10.createElement(Docs.SDKDeclaration, { path, key: i, expand, depth })));
5067
+ return /* @__PURE__ */ jsx13("div", { className: style_default.Properties, children: paths.map((path, i) => /* @__PURE__ */ jsx13(Docs.SDKDeclaration, { path, expand, depth }, i)) });
4876
5068
  }
4877
5069
  function SDKDeclaration({ path, expand, depth = 0 }) {
4878
5070
  const Lang = useLanguageComponents();
@@ -4885,34 +5077,40 @@ function SDKDeclaration({ path, expand, depth = 0 }) {
4885
5077
  if (decl.kind.endsWith("Reference")) {
4886
5078
  const refId = "type" in decl && typeof decl.type !== "string" && "$ref" in decl.type ? decl.type["$ref"] : void 0;
4887
5079
  if (refId && refId !== path && !nesting.includes(refId)) {
4888
- return /* @__PURE__ */ React10.createElement(ReferenceNestingContext.Provider, { value: [...nesting, refId] }, /* @__PURE__ */ React10.createElement(SDKDeclaration, { path: refId, expand, depth }));
5080
+ return /* @__PURE__ */ jsx13(ReferenceNestingContext.Provider, { value: [...nesting, refId], children: /* @__PURE__ */ jsx13(SDKDeclaration, { path: refId, expand, depth }) });
4889
5081
  }
4890
5082
  }
4891
5083
  const isUnion = "childrenParentSchema" in decl && decl.childrenParentSchema && ["enum", "union"].includes(decl.childrenParentSchema);
4892
5084
  const id = model?.propertyPath ? `${model.propertyPath} + ${path}` : path;
4893
5085
  const shouldExpand = selectedPath?.startsWith(path) && nesting.length < 1 || settings?.properties?.expandDepth && depth <= settings?.properties?.expandDepth && !isUnion || expand;
4894
- const content = /* @__PURE__ */ React10.createElement(Lang.Property, { decl }, ({ ...props }) => /* @__PURE__ */ React10.createElement(
5086
+ const content = /* @__PURE__ */ jsx13(Lang.Property, { decl, children: ({ ...props }) => /* @__PURE__ */ jsx13(
4895
5087
  Docs.Property,
4896
5088
  {
4897
5089
  id,
4898
5090
  expand: shouldExpand,
4899
- constraints: "constraints" in decl && /* @__PURE__ */ React10.createElement(Docs.SDKConstraints, { constraints: decl["constraints"] }),
4900
- declaration: /* @__PURE__ */ React10.createElement(Lang.Declaration, { decl }),
5091
+ constraints: "constraints" in decl && /* @__PURE__ */ jsx13(Docs.SDKConstraints, { constraints: decl["constraints"] }),
5092
+ declaration: /* @__PURE__ */ jsx13(Lang.Declaration, { decl }),
4901
5093
  description: "docstring" in decl ? decl["docstring"] : void 0,
4902
5094
  deprecated: decl.deprecated,
4903
- ...props
4904
- },
4905
- "children" in decl && (decl.children?.length ?? 0) > 0 && (settings?.properties?.includeModelProperties !== false || !("modelPath" in decl)) && /* @__PURE__ */ React10.createElement(React10.Fragment, null, isUnion && /* @__PURE__ */ React10.createElement("div", { className: style_default.PropertyAnnotation }, "Accepts one of the following:"), /* @__PURE__ */ React10.createElement(Docs.SDKChildren, { paths: decl.children ?? [], depth: depth + 1 }))
4906
- ));
5095
+ ...props,
5096
+ children: "children" in decl && (decl.children?.length ?? 0) > 0 && (settings?.properties?.includeModelProperties !== false || !("modelPath" in decl)) && /* @__PURE__ */ jsxs7(Fragment3, { children: [
5097
+ isUnion && /* @__PURE__ */ jsx13("div", { className: style_default.PropertyAnnotation, children: "Accepts one of the following:" }),
5098
+ /* @__PURE__ */ jsx13(Docs.SDKChildren, { paths: decl.children ?? [], depth: depth + 1 })
5099
+ ] })
5100
+ }
5101
+ ) });
4907
5102
  if ("modelPath" in decl) {
4908
5103
  const value = { modelPath: decl.modelPath, propertyPath: decl.stainlessPath };
4909
- return /* @__PURE__ */ React10.createElement(PropertyModelContext.Provider, { value }, content);
5104
+ return /* @__PURE__ */ jsx13(PropertyModelContext.Provider, { value, children: content });
4910
5105
  }
4911
5106
  return content;
4912
5107
  }
4913
5108
  function SDKConstraints({ constraints }) {
4914
5109
  if (constraints)
4915
- return /* @__PURE__ */ React10.createElement("div", { className: style_default.PropertyConstraints }, Object.entries(constraints).map(([name, value]) => /* @__PURE__ */ React10.createElement("div", { className: style_default.PropertyConstraint, key: name }, /* @__PURE__ */ React10.createElement("span", { className: style_default.PropertyConstraintName }, name), /* @__PURE__ */ React10.createElement("span", { className: style_default.PropertyConstraintValue }, value))));
5110
+ return /* @__PURE__ */ jsx13("div", { className: style_default.PropertyConstraints, children: Object.entries(constraints).map(([name, value]) => /* @__PURE__ */ jsxs7("div", { className: style_default.PropertyConstraint, children: [
5111
+ /* @__PURE__ */ jsx13("span", { className: style_default.PropertyConstraintName, children: name }),
5112
+ /* @__PURE__ */ jsx13("span", { className: style_default.PropertyConstraintValue, children: value })
5113
+ ] }, name)) });
4916
5114
  }
4917
5115
  var snippetIcons = {
4918
5116
  "node.default": TypescriptIcon,
@@ -4929,20 +5127,24 @@ var snippetIcons = {
4929
5127
  function SDKIcon({ language }) {
4930
5128
  const LangIcon = snippetIcons[language];
4931
5129
  if (!LangIcon) return null;
4932
- return /* @__PURE__ */ React10.createElement(LangIcon, { className: clsx_default(style_default.Icon, language.split(".").shift()) });
5130
+ return /* @__PURE__ */ jsx13(LangIcon, { className: clsx_default(style_default.Icon, language.split(".").shift()) });
4933
5131
  }
4934
5132
  function SDKRequestTitle({ snippetLanguage }) {
4935
5133
  const languageName = SDKSnippetLanguages[snippetLanguage]?.name;
4936
- return /* @__PURE__ */ React10.createElement("span", { className: style_default.SnippetRequestTitleLanguage }, /* @__PURE__ */ React10.createElement(SDKIcon, { language: snippetLanguage }), " ", languageName);
5134
+ return /* @__PURE__ */ jsxs7("span", { className: style_default.SnippetRequestTitleLanguage, children: [
5135
+ /* @__PURE__ */ jsx13(SDKIcon, { language: snippetLanguage }),
5136
+ " ",
5137
+ languageName
5138
+ ] });
4937
5139
  }
4938
5140
  function SDKExample({ method, transformRequestSnippet }) {
4939
5141
  const Docs = useComponents2();
4940
5142
  const language = useLanguage();
4941
5143
  const snippetLanguage = getLanguageSnippet(language);
4942
- return /* @__PURE__ */ React10.createElement(
5144
+ return /* @__PURE__ */ jsx13(
4943
5145
  Docs.Snippet,
4944
5146
  {
4945
- requestTitle: /* @__PURE__ */ React10.createElement(Docs.SDKRequestTitle, { snippetLanguage }),
5147
+ requestTitle: /* @__PURE__ */ jsx13(Docs.SDKRequestTitle, { snippetLanguage }),
4946
5148
  method,
4947
5149
  transformRequestSnippet
4948
5150
  }
@@ -4952,15 +5154,15 @@ function SDKMethodHeader({ method }) {
4952
5154
  const Docs = useComponents2();
4953
5155
  const Lang = useLanguageComponents();
4954
5156
  const decl = useDeclaration(method.stainlessPath, true);
4955
- return /* @__PURE__ */ React10.createElement(
5157
+ return /* @__PURE__ */ jsx13(
4956
5158
  Docs.MethodHeader,
4957
5159
  {
4958
5160
  level: "h1",
4959
5161
  title: method.summary ?? method.title,
4960
- signature: /* @__PURE__ */ React10.createElement(Lang.MethodSignature, { decl }),
4961
- badges: method.deprecated && /* @__PURE__ */ React10.createElement(Docs.Badge, { id: "deprecated" }, "Deprecated")
4962
- },
4963
- /* @__PURE__ */ React10.createElement(Docs.MethodRoute, { httpMethod: method.httpMethod, endpoint: method.endpoint.split(" ", 2).at(-1) })
5162
+ signature: /* @__PURE__ */ jsx13(Lang.MethodSignature, { decl }),
5163
+ badges: method.deprecated && /* @__PURE__ */ jsx13(Docs.Badge, { id: "deprecated", children: "Deprecated" }),
5164
+ children: /* @__PURE__ */ jsx13(Docs.MethodRoute, { httpMethod: method.httpMethod, endpoint: method.endpoint.split(" ", 2).at(-1) })
5165
+ }
4964
5166
  );
4965
5167
  }
4966
5168
  function SDKMethodInfo({ method }) {
@@ -4969,7 +5171,7 @@ function SDKMethodInfo({ method }) {
4969
5171
  const decl = useDeclaration(method.stainlessPath, true);
4970
5172
  const spec = useSpec();
4971
5173
  const language = useLanguage();
4972
- if (Lang.MethodInfo) return /* @__PURE__ */ React10.createElement(Lang.MethodInfo, { decl });
5174
+ if (Lang.MethodInfo) return /* @__PURE__ */ jsx13(Lang.MethodInfo, { decl });
4973
5175
  function shouldExpand(items) {
4974
5176
  if (items.length > 1) return false;
4975
5177
  const item2 = items[0];
@@ -4977,11 +5179,11 @@ function SDKMethodInfo({ method }) {
4977
5179
  const decl2 = spec?.decls?.[language]?.[item2];
4978
5180
  return decl2 && "children" in decl2 && decl2.children && decl2.children.length > 0;
4979
5181
  }
4980
- return /* @__PURE__ */ React10.createElement(
5182
+ return /* @__PURE__ */ jsx13(
4981
5183
  Docs.MethodInfo,
4982
5184
  {
4983
- parameters: "paramsChildren" in decl && Array.isArray(decl.paramsChildren) && decl.paramsChildren.length > 0 && /* @__PURE__ */ React10.createElement(Docs.SDKChildren, { expand: shouldExpand(decl.paramsChildren), paths: decl.paramsChildren }),
4984
- returns: "responseChildren" in decl && decl.responseChildren && decl.responseChildren.length > 0 && /* @__PURE__ */ React10.createElement(Docs.SDKChildren, { expand: shouldExpand(decl.responseChildren), paths: decl.responseChildren })
5185
+ parameters: "paramsChildren" in decl && Array.isArray(decl.paramsChildren) && decl.paramsChildren.length > 0 && /* @__PURE__ */ jsx13(Docs.SDKChildren, { expand: shouldExpand(decl.paramsChildren), paths: decl.paramsChildren }),
5186
+ returns: "responseChildren" in decl && decl.responseChildren && decl.responseChildren.length > 0 && /* @__PURE__ */ jsx13(Docs.SDKChildren, { expand: shouldExpand(decl.responseChildren), paths: decl.responseChildren })
4985
5187
  }
4986
5188
  );
4987
5189
  }
@@ -4990,62 +5192,91 @@ function SDKMethod({ method, transformRequestSnippet }) {
4990
5192
  const decl = useDeclaration(method?.stainlessPath, true);
4991
5193
  const layout = useContentPanelLayout();
4992
5194
  if (!decl) return;
4993
- return /* @__PURE__ */ React10.createElement(
5195
+ return /* @__PURE__ */ jsxs7(
4994
5196
  Docs.Method,
4995
5197
  {
4996
5198
  id: method.stainlessPath,
4997
- header: /* @__PURE__ */ React10.createElement(Docs.SDKMethodHeader, { method }),
5199
+ header: /* @__PURE__ */ jsx13(Docs.SDKMethodHeader, { method }),
4998
5200
  className: clsx_default({
4999
5201
  [style_default.MethodSinglePane]: layout === "single-pane",
5000
5202
  [style_default.MethodDoublePane]: layout === "double-pane"
5001
- })
5002
- },
5003
- /* @__PURE__ */ React10.createElement("div", { className: style_default.MethodContentColumn }, /* @__PURE__ */ React10.createElement(Docs.MethodDescription, { description: method.description }), /* @__PURE__ */ React10.createElement(Docs.SDKMethodInfo, { method })),
5004
- /* @__PURE__ */ React10.createElement("div", { className: style_default.MethodExample + " not-content" }, /* @__PURE__ */ React10.createElement(Docs.SDKExample, { method, transformRequestSnippet })),
5005
- /* @__PURE__ */ React10.createElement("div", { className: style_default.MethodResponseColumn }, /* @__PURE__ */ React10.createElement("h5", null, "Returns Examples"), /* @__PURE__ */ React10.createElement(Docs.SnippetResponse, { responses: method.exampleResponses }))
5203
+ }),
5204
+ children: [
5205
+ /* @__PURE__ */ jsxs7("div", { className: style_default.MethodContentColumn, children: [
5206
+ /* @__PURE__ */ jsx13(Docs.MethodDescription, { description: method.description }),
5207
+ /* @__PURE__ */ jsx13(Docs.SDKMethodInfo, { method })
5208
+ ] }),
5209
+ /* @__PURE__ */ jsx13("div", { className: style_default.MethodExample + " not-content", children: /* @__PURE__ */ jsx13(Docs.SDKExample, { method, transformRequestSnippet }) }),
5210
+ /* @__PURE__ */ jsxs7("div", { className: style_default.MethodResponseColumn, children: [
5211
+ /* @__PURE__ */ jsx13("h5", { children: "Returns Examples" }),
5212
+ /* @__PURE__ */ jsx13(Docs.SnippetResponse, { responses: method.exampleResponses })
5213
+ ] })
5214
+ ]
5215
+ }
5006
5216
  );
5007
5217
  }
5008
5218
  function SDKModel({ model }) {
5009
5219
  const Docs = useComponents2();
5010
5220
  const decl = useDeclaration(`${model.stainlessPath} > (schema)`, true);
5011
5221
  if (!decl) return null;
5012
- return /* @__PURE__ */ React10.createElement("div", { className: style_default.Model, tabIndex: 0 }, /* @__PURE__ */ React10.createElement("div", { className: style_default.ResourceContentProperties }, /* @__PURE__ */ React10.createElement(Docs.SDKDeclaration, { path: `${model.stainlessPath} > (schema)` })));
5222
+ return /* @__PURE__ */ jsx13("div", { className: style_default.Model, tabIndex: 0, children: /* @__PURE__ */ jsx13("div", { className: style_default.ResourceContentProperties, children: /* @__PURE__ */ jsx13(Docs.SDKDeclaration, { path: `${model.stainlessPath} > (schema)` }) }) });
5013
5223
  }
5014
5224
  function SDKReference({ stainlessPath, children }) {
5015
5225
  const Docs = useComponents2();
5016
5226
  if (!stainlessPath || !stainlessPath.endsWith("(schema)")) return children;
5017
- const link = /* @__PURE__ */ React10.createElement("span", { className: style_default.TypeReference }, /* @__PURE__ */ React10.createElement(Docs.Link, { stainlessPath }, children));
5227
+ const link = /* @__PURE__ */ jsx13("span", { className: style_default.TypeReference, children: /* @__PURE__ */ jsx13(Docs.Link, { stainlessPath, children }) });
5018
5228
  return link;
5019
5229
  }
5020
5230
  function SDKLanguageBlock({ language, version, install, links }) {
5021
5231
  const Docs = useComponents2();
5022
5232
  const lang = `${language}.default`;
5023
- return /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlock }, /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockContent }, /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockContentIcon }, /* @__PURE__ */ React10.createElement(Docs.SDKIcon, { language: lang, size: 24 })), /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockContentInfo }, /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockContentInfoLanguage }, Docs.SDKSnippetLanguages[lang].name), /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockContentInfoVersion }, version))), /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockInstall, "data-stldocs-copy-parent": true }, /* @__PURE__ */ React10.createElement("pre", { "data-stldocs-copy-content": true }, install), " ", /* @__PURE__ */ React10.createElement(Button, { variant: "ghost", size: "sm", "data-stldocs-snippet-copy": true }, /* @__PURE__ */ React10.createElement(Copy, { size: 16, className: style_default.Icon }))), /* @__PURE__ */ React10.createElement("div", { className: style_default.LanguageBlockLinks }, /* @__PURE__ */ React10.createElement(Button, { href: links.repo, variant: "outline" }, /* @__PURE__ */ React10.createElement(Button.Icon, { icon: Github })), /* @__PURE__ */ React10.createElement(Button, { href: links.docs, variant: "outline" }, /* @__PURE__ */ React10.createElement(Button.Icon, { icon: BookOpen }), /* @__PURE__ */ React10.createElement(Button.Label, null, "Read Docs"))));
5233
+ return /* @__PURE__ */ jsxs7("div", { className: style_default.LanguageBlock, children: [
5234
+ /* @__PURE__ */ jsxs7("div", { className: style_default.LanguageBlockContent, children: [
5235
+ /* @__PURE__ */ jsx13("div", { className: style_default.LanguageBlockContentIcon, children: /* @__PURE__ */ jsx13(Docs.SDKIcon, { language: lang, size: 24 }) }),
5236
+ /* @__PURE__ */ jsxs7("div", { className: style_default.LanguageBlockContentInfo, children: [
5237
+ /* @__PURE__ */ jsx13("div", { className: style_default.LanguageBlockContentInfoLanguage, children: Docs.SDKSnippetLanguages[lang].name }),
5238
+ /* @__PURE__ */ jsx13("div", { className: style_default.LanguageBlockContentInfoVersion, children: version })
5239
+ ] })
5240
+ ] }),
5241
+ /* @__PURE__ */ jsxs7("div", { className: style_default.LanguageBlockInstall, "data-stldocs-copy-parent": true, children: [
5242
+ /* @__PURE__ */ jsx13("pre", { "data-stldocs-copy-content": true, children: install }),
5243
+ " ",
5244
+ /* @__PURE__ */ jsx13(Button, { variant: "ghost", size: "sm", "data-stldocs-snippet-copy": true, children: /* @__PURE__ */ jsx13(Copy, { size: 16, className: style_default.Icon }) })
5245
+ ] }),
5246
+ /* @__PURE__ */ jsxs7("div", { className: style_default.LanguageBlockLinks, children: [
5247
+ /* @__PURE__ */ jsx13(Button, { href: links.repo, variant: "outline", children: /* @__PURE__ */ jsx13(Button.Icon, { icon: Github }) }),
5248
+ /* @__PURE__ */ jsxs7(Button, { href: links.docs, variant: "outline", children: [
5249
+ /* @__PURE__ */ jsx13(Button.Icon, { icon: BookOpen }),
5250
+ /* @__PURE__ */ jsx13(Button.Label, { children: "Read Docs" })
5251
+ ] })
5252
+ ] })
5253
+ ] });
5024
5254
  }
5025
5255
 
5026
5256
  // src/components/snippets.tsx
5027
- import * as React11 from "react";
5257
+ import * as React9 from "react";
5258
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
5028
5259
  function SnippetCode({ content, language }) {
5029
5260
  const lang = useLanguage();
5030
5261
  const highlighted = useHighlight(content, language || lang);
5031
- return /* @__PURE__ */ React11.createElement("div", { className: style_default.SnippetCode }, /* @__PURE__ */ React11.createElement("pre", { className: style_default.SnippetCodeContent, "data-stldocs-copy-content": true }, /* @__PURE__ */ React11.createElement(
5262
+ return /* @__PURE__ */ jsx14("div", { className: style_default.SnippetCode, children: /* @__PURE__ */ jsx14("pre", { className: style_default.SnippetCodeContent, "data-stldocs-copy-content": true, children: /* @__PURE__ */ jsx14(
5032
5263
  "code",
5033
5264
  {
5034
5265
  className: language === "json" ? "snippet-json" : "snippet",
5035
5266
  dangerouslySetInnerHTML: { __html: highlighted }
5036
5267
  }
5037
- )));
5268
+ ) }) });
5038
5269
  }
5039
5270
  function SnippetContainer({ children }) {
5040
- return /* @__PURE__ */ React11.createElement("div", { className: clsx_default(style_default.Snippet) }, children);
5271
+ return /* @__PURE__ */ jsx14("div", { className: clsx_default(style_default.Snippet), children });
5041
5272
  }
5042
5273
  function SnippetRequestContainer({ children }) {
5043
- return /* @__PURE__ */ React11.createElement("div", null, children);
5274
+ return /* @__PURE__ */ jsx14("div", { children });
5044
5275
  }
5045
5276
  function Snippet({ requestTitle, method, transformRequestSnippet }) {
5046
5277
  const Docs = useComponents2();
5047
5278
  const language = useLanguage();
5048
- const [CopyButtonIcon, setCopyIcon] = React11.useState(Copy);
5279
+ const [CopyButtonIcon, setCopyIcon] = React9.useState(Copy);
5049
5280
  const originalSnippet = useSnippet(
5050
5281
  method.stainlessPath,
5051
5282
  void 0,
@@ -5068,7 +5299,20 @@ function Snippet({ requestTitle, method, transformRequestSnippet }) {
5068
5299
  }
5069
5300
  setTimeout(() => setCopyIcon(Copy), 1e3);
5070
5301
  }
5071
- return /* @__PURE__ */ React11.createElement(Docs.SnippetContainer, { signature }, snippet && /* @__PURE__ */ React11.createElement(Docs.SnippetRequestContainer, { signature }, /* @__PURE__ */ React11.createElement("div", { className: style_default.SnippetRequest, "data-stldocs-copy-parent": true }, /* @__PURE__ */ React11.createElement("div", { className: style_default.SnippetRequestTitle }, /* @__PURE__ */ React11.createElement("div", { className: style_default.SnippetRequestTitleMethod }, /* @__PURE__ */ React11.createElement(Docs.MethodRoute, { httpMethod: method.httpMethod, iconOnly: true }), /* @__PURE__ */ React11.createElement("h5", null, method.summary)), /* @__PURE__ */ React11.createElement("div", { className: style_default.SnippetRequestTitleContent }, requestTitle), /* @__PURE__ */ React11.createElement(Button, { variant: "ghost", "data-stldocs-snippet-copy": true }, /* @__PURE__ */ React11.createElement(CopyButtonIcon, { size: 16, className: style_default.Icon, onClick: handleCopy }))), /* @__PURE__ */ React11.createElement(Docs.SnippetCode, { content: snippet, signature }))), responses && /* @__PURE__ */ React11.createElement(Docs.SnippetResponse, { responses }));
5302
+ return /* @__PURE__ */ jsxs8(Docs.SnippetContainer, { signature, children: [
5303
+ snippet && /* @__PURE__ */ jsx14(Docs.SnippetRequestContainer, { signature, children: /* @__PURE__ */ jsxs8("div", { className: style_default.SnippetRequest, "data-stldocs-copy-parent": true, children: [
5304
+ /* @__PURE__ */ jsxs8("div", { className: style_default.SnippetRequestTitle, children: [
5305
+ /* @__PURE__ */ jsxs8("div", { className: style_default.SnippetRequestTitleMethod, children: [
5306
+ /* @__PURE__ */ jsx14(Docs.MethodRoute, { httpMethod: method.httpMethod, iconOnly: true }),
5307
+ /* @__PURE__ */ jsx14("h5", { children: method.summary })
5308
+ ] }),
5309
+ /* @__PURE__ */ jsx14("div", { className: style_default.SnippetRequestTitleContent, children: requestTitle }),
5310
+ /* @__PURE__ */ jsx14(Button, { variant: "ghost", "data-stldocs-snippet-copy": true, children: /* @__PURE__ */ jsx14(CopyButtonIcon, { size: 16, className: style_default.Icon, onClick: handleCopy }) })
5311
+ ] }),
5312
+ /* @__PURE__ */ jsx14(Docs.SnippetCode, { content: snippet, signature })
5313
+ ] }) }),
5314
+ responses && /* @__PURE__ */ jsx14(Docs.SnippetResponse, { responses })
5315
+ ] });
5072
5316
  }
5073
5317
  function SnippetResponse({ responses }) {
5074
5318
  const { SnippetCode: SnippetCode2 } = useComponents2();
@@ -5097,43 +5341,48 @@ function SnippetResponse({ responses }) {
5097
5341
  };
5098
5342
  }).filter(Boolean);
5099
5343
  if (mappedResponses.length === 0) return null;
5100
- return /* @__PURE__ */ React11.createElement("div", { className: style_default.SnippetMultiResponse }, /* @__PURE__ */ React11.createElement("div", { className: clsx_default(style_default.Snippet) }, /* @__PURE__ */ React11.createElement(
5101
- "div",
5102
- {
5103
- className: clsx_default(
5104
- style_default.SnippetResponseTab,
5105
- mappedResponses.length === 1 && style_default.SnippetResponseTabSingleReturn
5106
- )
5107
- },
5108
- mappedResponses.map(({ responseCode }, index) => /* @__PURE__ */ React11.createElement(
5109
- "button",
5344
+ return /* @__PURE__ */ jsx14("div", { className: style_default.SnippetMultiResponse, children: /* @__PURE__ */ jsxs8("div", { className: clsx_default(style_default.Snippet), children: [
5345
+ /* @__PURE__ */ jsx14(
5346
+ "div",
5110
5347
  {
5111
5348
  className: clsx_default(
5112
- style_default.SnippetResponseTabItem,
5113
- index === 0 && style_default.SnippetResponseTabItemActive
5349
+ style_default.SnippetResponseTab,
5350
+ mappedResponses.length === 1 && style_default.SnippetResponseTabSingleReturn
5114
5351
  ),
5115
- key: `snippet-response-tab-item-${responseCode}-${index}`,
5116
- "data-snippet-response-tab-id": `snippet-response-tab-${responseCode}-${index}`,
5117
- disabled: mappedResponses.length === 1
5118
- },
5119
- responseCode,
5120
- " example"
5121
- ))
5122
- ), mappedResponses.map(({ responseCode, content }, index) => {
5123
- return /* @__PURE__ */ React11.createElement(
5124
- "div",
5125
- {
5126
- className: clsx_default(style_default.SnippetResponsePane, index === 0 && style_default.SnippetResponsePaneActive),
5127
- key: `snippet-response-${responseCode}-${index}`,
5128
- "data-snippet-response-pane-id": `snippet-response-tab-${responseCode}-${index}`
5129
- },
5130
- /* @__PURE__ */ React11.createElement(SnippetCode2, { content, language: "json" })
5131
- );
5132
- })));
5352
+ children: mappedResponses.map(({ responseCode }, index) => /* @__PURE__ */ jsxs8(
5353
+ "button",
5354
+ {
5355
+ className: clsx_default(
5356
+ style_default.SnippetResponseTabItem,
5357
+ index === 0 && style_default.SnippetResponseTabItemActive
5358
+ ),
5359
+ "data-snippet-response-tab-id": `snippet-response-tab-${responseCode}-${index}`,
5360
+ disabled: mappedResponses.length === 1,
5361
+ children: [
5362
+ responseCode,
5363
+ " example"
5364
+ ]
5365
+ },
5366
+ `snippet-response-tab-item-${responseCode}-${index}`
5367
+ ))
5368
+ }
5369
+ ),
5370
+ mappedResponses.map(({ responseCode, content }, index) => {
5371
+ return /* @__PURE__ */ jsx14(
5372
+ "div",
5373
+ {
5374
+ className: clsx_default(style_default.SnippetResponsePane, index === 0 && style_default.SnippetResponsePaneActive),
5375
+ "data-snippet-response-pane-id": `snippet-response-tab-${responseCode}-${index}`,
5376
+ children: /* @__PURE__ */ jsx14(SnippetCode2, { content, language: "json" })
5377
+ },
5378
+ `snippet-response-${responseCode}-${index}`
5379
+ );
5380
+ })
5381
+ ] }) });
5133
5382
  }
5134
5383
 
5135
5384
  // src/components/overview.tsx
5136
- import * as React12 from "react";
5385
+ import * as React10 from "react";
5137
5386
 
5138
5387
  // src/utils.ts
5139
5388
  var utils_exports = {};
@@ -5164,26 +5413,37 @@ function isResourceEmpty(resource) {
5164
5413
  }
5165
5414
 
5166
5415
  // src/components/overview.tsx
5416
+ import { jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
5417
+ import { createElement as createElement4 } from "react";
5167
5418
  function SDKResourceHeader({ resource, parents }) {
5168
- const segments = parents?.map((parent, index) => /* @__PURE__ */ React12.createElement("span", { className: style_default.ResourceTitleSegment, key: parent.stainlessPath }, parent.title, index < parents.length && /* @__PURE__ */ React12.createElement(ChevronRight, { size: 16, className: style_default.Icon })));
5419
+ const segments = parents?.map((parent, index) => /* @__PURE__ */ jsxs9("span", { className: style_default.ResourceTitleSegment, children: [
5420
+ parent.title,
5421
+ index < parents.length && /* @__PURE__ */ jsx15(ChevronRight, { size: 16, className: style_default.Icon })
5422
+ ] }, parent.stainlessPath));
5169
5423
  if (!segments && !resource.description) {
5170
5424
  return null;
5171
5425
  }
5172
- return /* @__PURE__ */ React12.createElement("div", { className: style_default.ResourceHeader }, segments && /* @__PURE__ */ React12.createElement("h4", { id: resource.stainlessPath, className: style_default.ResourceTitle }, segments, /* @__PURE__ */ React12.createElement("span", { className: style_default.ResourceTitleSegment }, resource.title)), resource.description && /* @__PURE__ */ React12.createElement("div", { className: style_default.ResourceDescription }, /* @__PURE__ */ React12.createElement(Markdown, { content: resource.description })));
5426
+ return /* @__PURE__ */ jsxs9("div", { className: style_default.ResourceHeader, children: [
5427
+ segments && /* @__PURE__ */ jsxs9("h4", { id: resource.stainlessPath, className: style_default.ResourceTitle, children: [
5428
+ segments,
5429
+ /* @__PURE__ */ jsx15("span", { className: style_default.ResourceTitleSegment, children: resource.title })
5430
+ ] }),
5431
+ resource.description && /* @__PURE__ */ jsx15("div", { className: style_default.ResourceDescription, children: /* @__PURE__ */ jsx15(Markdown, { content: resource.description }) })
5432
+ ] });
5173
5433
  }
5174
5434
  function SDKMethodSummary({ method }) {
5175
5435
  const Docs = useComponents2();
5176
5436
  const Lang = useLanguageComponents();
5177
5437
  const decl = useDeclaration(method.stainlessPath, true);
5178
- return /* @__PURE__ */ React12.createElement(
5438
+ return /* @__PURE__ */ jsx15(
5179
5439
  Docs.MethodHeader,
5180
5440
  {
5181
5441
  level: "h5",
5182
- title: /* @__PURE__ */ React12.createElement(Docs.Link, { stainlessPath: method.stainlessPath }, method.summary ?? method.title),
5183
- signature: /* @__PURE__ */ React12.createElement(Lang.MethodSignature, { decl }),
5184
- badges: method.deprecated && /* @__PURE__ */ React12.createElement(Docs.Badge, { id: "deprecated" }, "Deprecated")
5185
- },
5186
- /* @__PURE__ */ React12.createElement(Docs.MethodRoute, { httpMethod: method.httpMethod, endpoint: method.endpoint.split(" ", 2).at(-1) })
5442
+ title: /* @__PURE__ */ jsx15(Docs.Link, { stainlessPath: method.stainlessPath, children: method.summary ?? method.title }),
5443
+ signature: /* @__PURE__ */ jsx15(Lang.MethodSignature, { decl }),
5444
+ badges: method.deprecated && /* @__PURE__ */ jsx15(Docs.Badge, { id: "deprecated", children: "Deprecated" }),
5445
+ children: /* @__PURE__ */ jsx15(Docs.MethodRoute, { httpMethod: method.httpMethod, endpoint: method.endpoint.split(" ", 2).at(-1) })
5446
+ }
5187
5447
  );
5188
5448
  }
5189
5449
  function SDKResource({ resource, parents, showModels }) {
@@ -5196,12 +5456,26 @@ function SDKResource({ resource, parents, showModels }) {
5196
5456
  const models = Object.values(resource.models).filter(
5197
5457
  (model) => spec?.decls?.[language]?.[`${model.stainlessPath} > (schema)`]
5198
5458
  );
5199
- return /* @__PURE__ */ React12.createElement("div", { className: style_default.Resource }, /* @__PURE__ */ React12.createElement("div", { className: style_default.ResourceContent }, /* @__PURE__ */ React12.createElement(Docs.SDKResourceHeader, { resource, parents }), methods.length > 0 && /* @__PURE__ */ React12.createElement("div", { className: style_default.ResourceContentGroup }, methods.map((method) => /* @__PURE__ */ React12.createElement("div", { className: style_default.MethodSummary, key: method.stainlessPath }, /* @__PURE__ */ React12.createElement(Docs.SDKMethodSummary, { method })))), showModels !== false && models.length > 0 && /* @__PURE__ */ React12.createElement("div", { className: style_default.ResourceContentGroup, "data-stldocs-property-group": "models" }, /* @__PURE__ */ React12.createElement("h5", { className: style_default.ResourceContentGroupModelTitle }, "Models", /* @__PURE__ */ React12.createElement(PropertyToggle, { target: "models" })), models.map((model) => /* @__PURE__ */ React12.createElement(Docs.SDKModel, { model, key: model.stainlessPath })))));
5459
+ return /* @__PURE__ */ jsx15("div", { className: style_default.Resource, children: /* @__PURE__ */ jsxs9("div", { className: style_default.ResourceContent, children: [
5460
+ /* @__PURE__ */ jsx15(Docs.SDKResourceHeader, { resource, parents }),
5461
+ methods.length > 0 && /* @__PURE__ */ jsx15("div", { className: style_default.ResourceContentGroup, children: methods.map((method) => /* @__PURE__ */ jsx15("div", { className: style_default.MethodSummary, children: /* @__PURE__ */ jsx15(Docs.SDKMethodSummary, { method }) }, method.stainlessPath)) }),
5462
+ showModels !== false && models.length > 0 && /* @__PURE__ */ jsxs9("div", { className: style_default.ResourceContentGroup, "data-stldocs-property-group": "models", children: [
5463
+ /* @__PURE__ */ jsxs9("h5", { className: style_default.ResourceContentGroupModelTitle, children: [
5464
+ "Models",
5465
+ /* @__PURE__ */ jsx15(PropertyToggle, { target: "models" })
5466
+ ] }),
5467
+ models.map((model) => /* @__PURE__ */ jsx15(Docs.SDKModel, { model }, model.stainlessPath))
5468
+ ] })
5469
+ ] }) });
5200
5470
  }
5201
5471
  function SDKOverview({ resource }) {
5202
5472
  const { SDKResource: SDKResource2 } = useComponents2();
5203
- const nested = React12.useMemo(() => flatResources(resource.subresources, [resource]), [resource]);
5204
- return /* @__PURE__ */ React12.createElement("div", { className: style_default.Overview }, /* @__PURE__ */ React12.createElement("div", { className: style_default.OverviewHeader }, /* @__PURE__ */ React12.createElement("h1", null, resource.title)), /* @__PURE__ */ React12.createElement(SDKResource2, { resource }), nested.map((props, index) => /* @__PURE__ */ React12.createElement(SDKResource2, { ...props, key: index })));
5473
+ const nested = React10.useMemo(() => flatResources(resource.subresources, [resource]), [resource]);
5474
+ return /* @__PURE__ */ jsxs9("div", { className: style_default.Overview, children: [
5475
+ /* @__PURE__ */ jsx15("div", { className: style_default.OverviewHeader, children: /* @__PURE__ */ jsx15("h1", { children: resource.title }) }),
5476
+ /* @__PURE__ */ jsx15(SDKResource2, { resource }),
5477
+ nested.map((props, index) => /* @__PURE__ */ createElement4(SDKResource2, { ...props, key: index }))
5478
+ ] });
5205
5479
  }
5206
5480
  function SDKRoot({ stainlessPath }) {
5207
5481
  const spec = useSpec();
@@ -5218,12 +5492,13 @@ function SDKRoot({ stainlessPath }) {
5218
5492
  console.warn(`Method '${parsed.method}' not found in resource '${resource.stainlessPath}'`);
5219
5493
  return null;
5220
5494
  }
5221
- return /* @__PURE__ */ React12.createElement("div", { className: style_default.Root }, /* @__PURE__ */ React12.createElement(Docs.SDKMethod, { method }));
5495
+ return /* @__PURE__ */ jsx15("div", { className: style_default.Root, children: /* @__PURE__ */ jsx15(Docs.SDKMethod, { method }) });
5222
5496
  }
5223
- return /* @__PURE__ */ React12.createElement("div", { className: style_default.Root }, /* @__PURE__ */ React12.createElement(Docs.SDKOverview, { resource }));
5497
+ return /* @__PURE__ */ jsx15("div", { className: style_default.Root, children: /* @__PURE__ */ jsx15(Docs.SDKOverview, { resource }) });
5224
5498
  }
5225
5499
 
5226
5500
  // src/components/breadcrumbs.tsx
5501
+ import { jsx as jsx16 } from "react/jsx-runtime";
5227
5502
  function generateApiBreadcrumbs(fullPath, spec, basePath) {
5228
5503
  const cleanBasePath = basePath.replace(/\/+$/, "");
5229
5504
  const cleanPath = fullPath.replace(/\/+$/, "");
@@ -5264,14 +5539,14 @@ function SDKBreadcrumbs({
5264
5539
  if (!config?.includeCurrentPage && breadcrumbs.length > 1) {
5265
5540
  breadcrumbs.pop();
5266
5541
  }
5267
- const items = breadcrumbs.map((crumb, index) => /* @__PURE__ */ React.createElement("div", { key: index, className: style_default.BreadcrumbsItem }, /* @__PURE__ */ React.createElement("a", { href: crumb.href, className: style_default.BreadcrumbsLink }, crumb.title)));
5268
- return /* @__PURE__ */ React.createElement("div", { className: style_default.Breadcrumbs }, /* @__PURE__ */ React.createElement(Join, { limit: breadcrumbs.length, items }, /* @__PURE__ */ React.createElement(ChevronRight, null)));
5542
+ const items = breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsx16("div", { className: style_default.BreadcrumbsItem, children: /* @__PURE__ */ jsx16("a", { href: crumb.href, className: style_default.BreadcrumbsLink, children: crumb.title }) }, index));
5543
+ return /* @__PURE__ */ jsx16("div", { className: style_default.Breadcrumbs, children: /* @__PURE__ */ jsx16(Join, { limit: breadcrumbs.length, items, children: /* @__PURE__ */ jsx16(ChevronRight, {}) }) });
5269
5544
  }
5270
5545
 
5271
5546
  // src/components/dropdown.tsx
5272
- import * as React13 from "react";
5547
+ import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
5273
5548
  var Dropdown = ({ className, children, ...rest }) => {
5274
- return /* @__PURE__ */ React13.createElement("div", { ...rest, className: `${style_default.Dropdown} ${className ?? ""}` }, children);
5549
+ return /* @__PURE__ */ jsx17("div", { ...rest, className: `${style_default.Dropdown} ${className ?? ""}`, children });
5275
5550
  };
5276
5551
  var DropdownTrigger = ({
5277
5552
  children,
@@ -5280,15 +5555,17 @@ var DropdownTrigger = ({
5280
5555
  isIcon,
5281
5556
  ...rest
5282
5557
  }) => {
5283
- return /* @__PURE__ */ React13.createElement(
5558
+ return /* @__PURE__ */ jsxs10(
5284
5559
  "button",
5285
5560
  {
5286
5561
  className: `${style_default.Button} ${style_default.ButtonSecondary} ${style_default.DropdownTrigger} ${isIcon ? style_default.ButtonIcon : ""} ${className ?? ""}`,
5287
5562
  "aria-haspopup": "listbox",
5288
- ...rest
5289
- },
5290
- /* @__PURE__ */ React13.createElement("div", { className: style_default.DropdownTriggerContent }, children),
5291
- withChevron && /* @__PURE__ */ React13.createElement("span", { className: style_default.DropdownChevron }, /* @__PURE__ */ React13.createElement(ChevronsUpDown, { size: 16 }))
5563
+ ...rest,
5564
+ children: [
5565
+ /* @__PURE__ */ jsx17("div", { className: style_default.DropdownTriggerContent, children }),
5566
+ withChevron && /* @__PURE__ */ jsx17("span", { className: style_default.DropdownChevron, children: /* @__PURE__ */ jsx17(ChevronsUpDown, { size: 16 }) })
5567
+ ]
5568
+ }
5292
5569
  );
5293
5570
  };
5294
5571
  var DropdownMenu = ({
@@ -5297,7 +5574,7 @@ var DropdownMenu = ({
5297
5574
  children,
5298
5575
  ...rest
5299
5576
  }) => {
5300
- return /* @__PURE__ */ React13.createElement("ul", { className: `${style_default.DropdownMenu} ${position ?? ""} ${className ?? ""}`, ...rest }, children);
5577
+ return /* @__PURE__ */ jsx17("ul", { className: `${style_default.DropdownMenu} ${position ?? ""} ${className ?? ""}`, ...rest, children });
5301
5578
  };
5302
5579
  var DropdownItem = ({
5303
5580
  children,
@@ -5306,54 +5583,72 @@ var DropdownItem = ({
5306
5583
  selected,
5307
5584
  href
5308
5585
  }) => {
5309
- const inner = /* @__PURE__ */ React13.createElement(React13.Fragment, null, children, /* @__PURE__ */ React13.createElement(
5310
- "svg",
5311
- {
5312
- xmlns: "http://www.w3.org/2000/svg",
5313
- width: "24",
5314
- height: "24",
5315
- viewBox: "0 0 24 24",
5316
- fill: "none",
5317
- stroke: "currentColor",
5318
- strokeWidth: "2",
5319
- strokeLinecap: "round",
5320
- strokeLinejoin: "round",
5321
- className: "lucide lucide-check-icon lucide-check"
5322
- },
5323
- /* @__PURE__ */ React13.createElement("path", { d: "M20 6 9 17l-5-5" })
5324
- ));
5325
- return /* @__PURE__ */ React13.createElement(
5586
+ const inner = /* @__PURE__ */ jsxs10(Fragment4, { children: [
5587
+ children,
5588
+ /* @__PURE__ */ jsx17(
5589
+ "svg",
5590
+ {
5591
+ xmlns: "http://www.w3.org/2000/svg",
5592
+ width: "24",
5593
+ height: "24",
5594
+ viewBox: "0 0 24 24",
5595
+ fill: "none",
5596
+ stroke: "currentColor",
5597
+ strokeWidth: "2",
5598
+ strokeLinecap: "round",
5599
+ strokeLinejoin: "round",
5600
+ className: "lucide lucide-check-icon lucide-check",
5601
+ children: /* @__PURE__ */ jsx17("path", { d: "M20 6 9 17l-5-5" })
5602
+ }
5603
+ )
5604
+ ] });
5605
+ return /* @__PURE__ */ jsx17(
5326
5606
  "li",
5327
5607
  {
5328
5608
  className: clsx_default(style_default.DropdownItem, className, selected && "selected", href && style_default.DropdownItemLink),
5329
5609
  role: "option",
5330
- "data-dropdown-value": value
5331
- },
5332
- href ? /* @__PURE__ */ React13.createElement("a", { href }, inner) : inner
5610
+ "data-dropdown-value": value,
5611
+ children: href ? /* @__PURE__ */ jsx17("a", { href, children: inner }) : inner
5612
+ }
5333
5613
  );
5334
5614
  };
5335
5615
 
5336
5616
  // src/components/sidebar.tsx
5337
- import * as React14 from "react";
5617
+ import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
5338
5618
  function SidebarExpander({ open, summary, children }) {
5339
- return /* @__PURE__ */ React14.createElement("details", { className: style_default.SidebarExpander, open }, /* @__PURE__ */ React14.createElement("summary", { className: style_default.ExpanderSummary }, /* @__PURE__ */ React14.createElement("div", { className: style_default.ExpanderSummaryContent }, summary), /* @__PURE__ */ React14.createElement("div", { className: style_default.ExpanderSummaryIcon }, /* @__PURE__ */ React14.createElement(ChevronRight, { size: 16, strokeWidth: 1, className: style_default.Icon }), /* @__PURE__ */ React14.createElement(ChevronDown, { size: 16, strokeWidth: 1, className: style_default.Icon }))), /* @__PURE__ */ React14.createElement("div", { className: style_default.ExpanderContent }, children));
5619
+ return /* @__PURE__ */ jsxs11("details", { className: style_default.SidebarExpander, open, children: [
5620
+ /* @__PURE__ */ jsxs11("summary", { className: style_default.ExpanderSummary, children: [
5621
+ /* @__PURE__ */ jsx18("div", { className: style_default.ExpanderSummaryContent, children: summary }),
5622
+ /* @__PURE__ */ jsxs11("div", { className: style_default.ExpanderSummaryIcon, children: [
5623
+ /* @__PURE__ */ jsx18(ChevronRight, { size: 16, strokeWidth: 1, className: style_default.Icon }),
5624
+ /* @__PURE__ */ jsx18(ChevronDown, { size: 16, strokeWidth: 1, className: style_default.Icon })
5625
+ ] })
5626
+ ] }),
5627
+ /* @__PURE__ */ jsx18("div", { className: style_default.ExpanderContent, children })
5628
+ ] });
5340
5629
  }
5341
5630
  function SidebarMethod({ method }) {
5342
5631
  const Docs = useComponents2();
5343
5632
  const { selectedPath } = useNavigation();
5344
- return /* @__PURE__ */ React14.createElement("div", { className: style_default.SidebarMethod, "data-selected": method.stainlessPath === selectedPath }, /* @__PURE__ */ React14.createElement(MethodIconBadge, { httpMethod: method.httpMethod }), /* @__PURE__ */ React14.createElement(Docs.Link, { stainlessPath: method.stainlessPath }, method.summary));
5633
+ return /* @__PURE__ */ jsxs11("div", { className: style_default.SidebarMethod, "data-selected": method.stainlessPath === selectedPath, children: [
5634
+ /* @__PURE__ */ jsx18(MethodIconBadge, { httpMethod: method.httpMethod }),
5635
+ /* @__PURE__ */ jsx18(Docs.Link, { stainlessPath: method.stainlessPath, children: method.summary })
5636
+ ] });
5345
5637
  }
5346
5638
  function SidebarResource({ resource }) {
5347
5639
  const Docs = useComponents2();
5348
5640
  const { selectedPath } = useNavigation();
5349
- const subresources = Object.values(resource.subresources ?? {}).map((sub) => /* @__PURE__ */ React14.createElement(SidebarResource, { resource: sub, key: sub.stainlessPath }));
5350
- const methods = Object.values(resource.methods).map((method) => /* @__PURE__ */ React14.createElement(SidebarMethod, { method, key: method.stainlessPath }));
5641
+ const subresources = Object.values(resource.subresources ?? {}).map((sub) => /* @__PURE__ */ jsx18(SidebarResource, { resource: sub }, sub.stainlessPath));
5642
+ const methods = Object.values(resource.methods).map((method) => /* @__PURE__ */ jsx18(SidebarMethod, { method }, method.stainlessPath));
5351
5643
  const hasChildren2 = subresources.length > 0 || methods.length > 0;
5352
- const title = /* @__PURE__ */ React14.createElement("div", { className: style_default.SidebarResourceTitle }, /* @__PURE__ */ React14.createElement(Docs.Link, { stainlessPath: resource.stainlessPath }, resource.title));
5353
- return /* @__PURE__ */ React14.createElement("div", { className: style_default.SidebarResource, "data-selected": resource.stainlessPath === selectedPath }, hasChildren2 ? /* @__PURE__ */ React14.createElement(SidebarExpander, { summary: title, open: true }, methods, subresources) : title);
5644
+ const title = /* @__PURE__ */ jsx18("div", { className: style_default.SidebarResourceTitle, children: /* @__PURE__ */ jsx18(Docs.Link, { stainlessPath: resource.stainlessPath, children: resource.title }) });
5645
+ return /* @__PURE__ */ jsx18("div", { className: style_default.SidebarResource, "data-selected": resource.stainlessPath === selectedPath, children: hasChildren2 ? /* @__PURE__ */ jsxs11(SidebarExpander, { summary: title, open: true, children: [
5646
+ methods,
5647
+ subresources
5648
+ ] }) : title });
5354
5649
  }
5355
5650
  function Sidebar({ resources }) {
5356
- return /* @__PURE__ */ React14.createElement("div", { className: `${style_default.Root} ${style_default.Sidebar}` }, resources.filter((resource) => !isResourceEmpty(resource)).map((resource) => /* @__PURE__ */ React14.createElement(SidebarResource, { resource, key: resource.stainlessPath })));
5651
+ return /* @__PURE__ */ jsx18("div", { className: `${style_default.Root} ${style_default.Sidebar}`, children: resources.filter((resource) => !isResourceEmpty(resource)).map((resource) => /* @__PURE__ */ jsx18(SidebarResource, { resource }, resource.stainlessPath)) });
5357
5652
  }
5358
5653
 
5359
5654
  // src/languages/index.ts
@@ -5378,7 +5673,8 @@ __export(typescript_exports, {
5378
5673
  Type: () => Type,
5379
5674
  TypeName: () => TypeName
5380
5675
  });
5381
- import * as React15 from "react";
5676
+ import * as React11 from "react";
5677
+ import { Fragment as Fragment6, jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
5382
5678
  var ComplexTypes = {
5383
5679
  TSTypeObject: "object",
5384
5680
  TSTypeUnion: "union",
@@ -5392,16 +5688,27 @@ var constStyle = {
5392
5688
  boolean: style_default.LiteralBoolean
5393
5689
  };
5394
5690
  function Identifier({ name, optional }) {
5395
- return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, /^[_a-zA-Z][_a-zA-Z0-9]*$/.test(name) ? name : JSON.stringify(name)), optional && /* @__PURE__ */ React15.createElement("span", { className: style_default.TextPunctuation }, "?"));
5691
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
5692
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: /^[_a-zA-Z][_a-zA-Z0-9]*$/.test(name) ? name : JSON.stringify(name) }),
5693
+ optional && /* @__PURE__ */ jsx19("span", { className: style_default.TextPunctuation, children: "?" })
5694
+ ] });
5396
5695
  }
5397
5696
  function TypeParams({ params }) {
5398
5697
  const Lang = useLanguageComponents();
5399
5698
  const { Join: Join2 } = useComponents2();
5400
5699
  if (!params?.length) return null;
5401
5700
  const typeParams = params?.map(
5402
- (param, key) => param.constraint ? /* @__PURE__ */ React15.createElement(React15.Fragment, { key }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeReference }, param.name), /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, "extends "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: param.constraint })) : /* @__PURE__ */ React15.createElement(React15.Fragment, { key }, "param.name")
5701
+ (param, key) => param.constraint ? /* @__PURE__ */ jsxs12(React11.Fragment, { children: [
5702
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeReference, children: param.name }),
5703
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: "extends " }),
5704
+ /* @__PURE__ */ jsx19(Lang.Type, { type: param.constraint })
5705
+ ] }, key) : /* @__PURE__ */ jsx19(React11.Fragment, { children: "param.name" }, key)
5403
5706
  );
5404
- return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBracket }, "<"), /* @__PURE__ */ React15.createElement(Join2, { items: typeParams, limit: 3 }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBracket }, ">"));
5707
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
5708
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBracket, children: "<" }),
5709
+ /* @__PURE__ */ jsx19(Join2, { items: typeParams, limit: 3, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: ", " }) }),
5710
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBracket, children: ">" })
5711
+ ] });
5405
5712
  }
5406
5713
  function TypePreview({ path }) {
5407
5714
  const spec = useSpec();
@@ -5412,13 +5719,21 @@ function TypePreview({ path }) {
5412
5719
  return;
5413
5720
  const items = decl.children.map((prop, key) => {
5414
5721
  const p = spec?.decls?.[language]?.[prop];
5415
- return /* @__PURE__ */ React15.createElement("span", { key, className: style_default.TypePropertyName }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, p && "key" in p ? p["key"] : null));
5722
+ return /* @__PURE__ */ jsx19("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: p && "key" in p ? p["key"] : null }) }, key);
5416
5723
  });
5417
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties" }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBrace }, " {"), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePreviewContent }, " ", /* @__PURE__ */ React15.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, ", ")), " "), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBrace }, "} "));
5724
+ return /* @__PURE__ */ jsxs12("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties", children: [
5725
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBrace, children: " {" }),
5726
+ /* @__PURE__ */ jsxs12("span", { className: style_default.TypePreviewContent, children: [
5727
+ " ",
5728
+ /* @__PURE__ */ jsx19(Join2, { items, limit: 3, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: ", " }) }),
5729
+ " "
5730
+ ] }),
5731
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBrace, children: "} " })
5732
+ ] });
5418
5733
  }
5419
5734
  function TypeName({ type }) {
5420
5735
  const Lang = useLanguageComponents();
5421
- return ComplexTypes[type.kind] ?? /* @__PURE__ */ React15.createElement(Lang.Type, { type });
5736
+ return ComplexTypes[type.kind] ?? /* @__PURE__ */ jsx19(Lang.Type, { type });
5422
5737
  }
5423
5738
  function Type({ type }) {
5424
5739
  const Lang = useLanguageComponents();
@@ -5432,38 +5747,85 @@ function Type({ type }) {
5432
5747
  case "TSTypeAny":
5433
5748
  case "TSTypeBoolean":
5434
5749
  case "TSTypeNumber":
5435
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeKeyword }, type.kind.slice(6).toLowerCase()));
5750
+ return /* @__PURE__ */ jsx19("span", { className: style_default.Type, children: /* @__PURE__ */ jsx19("span", { className: style_default.TypeKeyword, children: type.kind.slice(6).toLowerCase() }) });
5436
5751
  case "TSTypeString":
5437
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeString }, "string"));
5752
+ return /* @__PURE__ */ jsx19("span", { className: style_default.Type, children: /* @__PURE__ */ jsx19("span", { className: style_default.TypeString, children: "string" }) });
5438
5753
  case "TSTypeLiteral":
5439
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React15.createElement("span", { className: constStyle[typeof type.literal] }, JSON.stringify(type.literal)));
5754
+ return /* @__PURE__ */ jsx19("span", { className: style_default.Type, children: /* @__PURE__ */ jsx19("span", { className: constStyle[typeof type.literal], children: JSON.stringify(type.literal) }) });
5440
5755
  case "TSTypeArray": {
5441
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeArray }, "Array<"), /* @__PURE__ */ React15.createElement(Lang.Type, { type: type.elementType }), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeArray }, ">"));
5756
+ return /* @__PURE__ */ jsxs12("span", { className: style_default.Type, children: [
5757
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeArray, children: "Array<" }),
5758
+ /* @__PURE__ */ jsx19(Lang.Type, { type: type.elementType }),
5759
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeArray, children: ">" })
5760
+ ] });
5442
5761
  }
5443
5762
  case "TSTypeReference": {
5444
5763
  const name = type.ident.split(".").at(-1);
5445
- const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ React15.createElement(Lang.Type, { key, type: param }));
5446
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React15.createElement(SDKReference2, { stainlessPath: type.$ref }, name), params && params.length > 0 && /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBracket }, "<"), /* @__PURE__ */ React15.createElement(Join2, { items: params, limit: 3 }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBracket }, ">")), /* @__PURE__ */ React15.createElement(TypePreview, { path: type.$ref }));
5764
+ const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx19(Lang.Type, { type: param }, key));
5765
+ return /* @__PURE__ */ jsxs12("span", { className: style_default.Type, children: [
5766
+ /* @__PURE__ */ jsx19(SDKReference2, { stainlessPath: type.$ref, children: name }),
5767
+ params && params.length > 0 && /* @__PURE__ */ jsxs12(Fragment6, { children: [
5768
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBracket, children: "<" }),
5769
+ /* @__PURE__ */ jsx19(Join2, { items: params, limit: 3, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: ", " }) }),
5770
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBracket, children: ">" })
5771
+ ] }),
5772
+ /* @__PURE__ */ jsx19(TypePreview, { path: type.$ref })
5773
+ ] });
5447
5774
  }
5448
5775
  case "TSTypeIntersection":
5449
5776
  case "TSTypeUnion": {
5450
- const items = type.types.map((t, key) => /* @__PURE__ */ React15.createElement(Lang.Type, { key, type: t }));
5777
+ const items = type.types.map((t, key) => /* @__PURE__ */ jsx19(Lang.Type, { type: t }, key));
5451
5778
  const delimiter = type.kind === "TSTypeUnion" ? "|" : "&";
5452
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "union" }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePreviewContent }, /* @__PURE__ */ React15.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, " ", delimiter, " ")))));
5779
+ return /* @__PURE__ */ jsx19("span", { className: style_default.Type, children: /* @__PURE__ */ jsx19("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "union", children: /* @__PURE__ */ jsx19("span", { className: style_default.TypePreviewContent, children: /* @__PURE__ */ jsx19(Join2, { items, limit: 3, children: /* @__PURE__ */ jsxs12("span", { className: style_default.TextOperator, children: [
5780
+ " ",
5781
+ delimiter,
5782
+ " "
5783
+ ] }) }) }) }) });
5453
5784
  }
5454
5785
  case "TSTypeObject":
5455
5786
  case "TSTypeInterface": {
5456
- const extend = type.kind === "TSTypeObject" ? null : type.extends?.map((ref, key) => /* @__PURE__ */ React15.createElement(Lang.Type, { key, type: ref }));
5457
- const items = type.members.map((prop, key) => /* @__PURE__ */ React15.createElement(React15.Fragment, { key }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React15.createElement(Identifier, { name: prop.ident, optional: prop.optional })), /* @__PURE__ */ React15.createElement("span", { className: style_default.TextPunctuation }, ": "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: prop.type })));
5458
- return /* @__PURE__ */ React15.createElement("span", { className: style_default.Type }, extend?.length && /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeKeyword }, " extends "), /* @__PURE__ */ React15.createElement(Join2, { items: extend, limit: 3 }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties" }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBrace }, "{ "), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePreviewContent }, /* @__PURE__ */ React15.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypeBrace }, "} ")));
5787
+ const extend = type.kind === "TSTypeObject" ? null : type.extends?.map((ref, key) => /* @__PURE__ */ jsx19(Lang.Type, { type: ref }, key));
5788
+ const items = type.members.map((prop, key) => /* @__PURE__ */ jsxs12(React11.Fragment, { children: [
5789
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx19(Identifier, { name: prop.ident, optional: prop.optional }) }),
5790
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextPunctuation, children: ": " }),
5791
+ /* @__PURE__ */ jsx19(Lang.Type, { type: prop.type })
5792
+ ] }, key));
5793
+ return /* @__PURE__ */ jsxs12("span", { className: style_default.Type, children: [
5794
+ extend?.length && /* @__PURE__ */ jsxs12(Fragment6, { children: [
5795
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeKeyword, children: " extends " }),
5796
+ /* @__PURE__ */ jsx19(Join2, { items: extend, limit: 3, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: ", " }) })
5797
+ ] }),
5798
+ /* @__PURE__ */ jsxs12("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties", children: [
5799
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBrace, children: "{ " }),
5800
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypePreviewContent, children: /* @__PURE__ */ jsx19(Join2, { items, limit: 3, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: ", " }) }) }),
5801
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypeBrace, children: "} " })
5802
+ ] })
5803
+ ] });
5459
5804
  }
5460
5805
  }
5461
5806
  }
5462
5807
  function MethodSignature({ decl }) {
5463
5808
  const Lang = useLanguageComponents();
5464
5809
  const { Join: Join2, Tooltip: Tooltip2 } = useComponents2();
5465
- const params = decl.signature.parameters.map((param, i) => /* @__PURE__ */ React15.createElement(React15.Fragment, { key: i }, /* @__PURE__ */ React15.createElement(Tooltip2, { content: /* @__PURE__ */ React15.createElement(Lang.Type, { type: param.type }) }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, param.ident)), param.optional && /* @__PURE__ */ React15.createElement("span", { className: style_default.TextPunctuation }, "?")));
5466
- return /* @__PURE__ */ React15.createElement("div", { className: style_default.MethodSignature }, /* @__PURE__ */ React15.createElement("span", { className: style_default.SignatureTitle }, decl.signature.async && /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, "async "), /* @__PURE__ */ React15.createElement("span", { className: style_default.SignatureQualified }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, decl.qualified?.slice(0, -decl.ident.length))), /* @__PURE__ */ React15.createElement("span", { className: style_default.SignatureName }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React15.createElement("span", { className: style_default.MethodSignature }, decl.signature.typeParameters && /* @__PURE__ */ React15.createElement(TypeParams, { params: decl.signature.typeParameters }), /* @__PURE__ */ React15.createElement("span", { className: style_default.SignatureParen }, "("), /* @__PURE__ */ React15.createElement("span", { className: style_default.SignatureParams }, /* @__PURE__ */ React15.createElement(Join2, { items: params }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React15.createElement("span", { className: style_default.SignatureParen }, ")"), decl.signature.returns && /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextPunctuation }, ": "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.signature.returns })))));
5810
+ const params = decl.signature.parameters.map((param, i) => /* @__PURE__ */ jsxs12(React11.Fragment, { children: [
5811
+ /* @__PURE__ */ jsx19(Tooltip2, { content: /* @__PURE__ */ jsx19(Lang.Type, { type: param.type }), children: /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: param.ident }) }),
5812
+ param.optional && /* @__PURE__ */ jsx19("span", { className: style_default.TextPunctuation, children: "?" })
5813
+ ] }, i));
5814
+ return /* @__PURE__ */ jsx19("div", { className: style_default.MethodSignature, children: /* @__PURE__ */ jsxs12("span", { className: style_default.SignatureTitle, children: [
5815
+ decl.signature.async && /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: "async " }),
5816
+ /* @__PURE__ */ jsx19("span", { className: style_default.SignatureQualified, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: decl.qualified?.slice(0, -decl.ident.length) }) }),
5817
+ /* @__PURE__ */ jsx19("span", { className: style_default.SignatureName, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
5818
+ /* @__PURE__ */ jsxs12("span", { className: style_default.MethodSignature, children: [
5819
+ decl.signature.typeParameters && /* @__PURE__ */ jsx19(TypeParams, { params: decl.signature.typeParameters }),
5820
+ /* @__PURE__ */ jsx19("span", { className: style_default.SignatureParen, children: "(" }),
5821
+ /* @__PURE__ */ jsx19("span", { className: style_default.SignatureParams, children: /* @__PURE__ */ jsx19(Join2, { items: params, children: /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: ", " }) }) }),
5822
+ /* @__PURE__ */ jsx19("span", { className: style_default.SignatureParen, children: ")" }),
5823
+ decl.signature.returns && /* @__PURE__ */ jsxs12(Fragment6, { children: [
5824
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextPunctuation, children: ": " }),
5825
+ /* @__PURE__ */ jsx19(Lang.Type, { type: decl.signature.returns })
5826
+ ] })
5827
+ ] })
5828
+ ] }) });
5467
5829
  }
5468
5830
  function Property2({ decl, children }) {
5469
5831
  const Lang = useLanguageComponents();
@@ -5472,20 +5834,27 @@ function Property2({ decl, children }) {
5472
5834
  case "TSDeclProperty":
5473
5835
  return children({
5474
5836
  name: decl.key,
5475
- typeName: /* @__PURE__ */ React15.createElement(Lang.TypeName, { type: decl.type }),
5476
- type: decl.type.kind in ComplexTypes && /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.type })
5837
+ typeName: /* @__PURE__ */ jsx19(Lang.TypeName, { type: decl.type }),
5838
+ type: decl.type.kind in ComplexTypes && /* @__PURE__ */ jsx19(Lang.Type, { type: decl.type })
5477
5839
  });
5478
5840
  case "TSDeclTypeAlias":
5479
5841
  return children({
5480
5842
  name: decl.ident,
5481
5843
  typeName: "alias",
5482
- type: /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.type })
5844
+ type: /* @__PURE__ */ jsx19(Lang.Type, { type: decl.type })
5483
5845
  });
5484
5846
  case "TSDeclReference":
5485
- return children({ type: /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.type }) });
5847
+ return children({ type: /* @__PURE__ */ jsx19(Lang.Type, { type: decl.type }) });
5486
5848
  case "TSDeclInterface":
5487
5849
  return children({
5488
- type: /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, decl.ident), decl.typeParameters && /* @__PURE__ */ React15.createElement(TypeParams, { params: decl.typeParameters }), decl.extends?.flatMap((t, key) => /* @__PURE__ */ React15.createElement(React15.Fragment, { key: `extends:${key}` }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, " extends "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: t }))))
5850
+ type: /* @__PURE__ */ jsxs12(Fragment6, { children: [
5851
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: decl.ident }),
5852
+ decl.typeParameters && /* @__PURE__ */ jsx19(TypeParams, { params: decl.typeParameters }),
5853
+ decl.extends?.flatMap((t, key) => /* @__PURE__ */ jsxs12(React11.Fragment, { children: [
5854
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: " extends " }),
5855
+ /* @__PURE__ */ jsx19(Lang.Type, { type: t })
5856
+ ] }, `extends:${key}`))
5857
+ ] })
5489
5858
  });
5490
5859
  }
5491
5860
  }
@@ -5494,17 +5863,47 @@ function Declaration({ decl }) {
5494
5863
  if (!decl) return;
5495
5864
  switch (decl.kind) {
5496
5865
  case "TSDeclProperty":
5497
- return /* @__PURE__ */ React15.createElement(React15.Fragment, null, decl.declare && /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, "declare "), /* @__PURE__ */ React15.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React15.createElement(Identifier, { name: decl.key, optional: decl.optional })), /* @__PURE__ */ React15.createElement("span", { className: style_default.TextPunctuation }, ": "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.type }));
5866
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
5867
+ decl.declare && /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: "declare " }),
5868
+ /* @__PURE__ */ jsx19("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx19(Identifier, { name: decl.key, optional: decl.optional }) }),
5869
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextPunctuation, children: ": " }),
5870
+ /* @__PURE__ */ jsx19(Lang.Type, { type: decl.type })
5871
+ ] });
5498
5872
  case "TSDeclFunction":
5499
- return /* @__PURE__ */ React15.createElement(Lang.MethodSignature, { decl });
5873
+ return /* @__PURE__ */ jsx19(Lang.MethodSignature, { decl });
5500
5874
  case "TSDeclTypeAlias":
5501
- return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement(Identifier, { name: decl.ident }), /* @__PURE__ */ React15.createElement(TypeParams, { params: decl.typeParameters }), /* @__PURE__ */ React15.createElement("span", { className: style_default.TextOperator }, " = "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.type }));
5875
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
5876
+ /* @__PURE__ */ jsx19(Identifier, { name: decl.ident }),
5877
+ /* @__PURE__ */ jsx19(TypeParams, { params: decl.typeParameters }),
5878
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextOperator, children: " = " }),
5879
+ /* @__PURE__ */ jsx19(Lang.Type, { type: decl.type })
5880
+ ] });
5502
5881
  case "TSDeclReference":
5503
- return /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.type });
5882
+ return /* @__PURE__ */ jsx19(Lang.Type, { type: decl.type });
5504
5883
  case "TSDeclInterface":
5505
- return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React15.createElement(TypeParams, { params: decl.typeParameters }), decl.extends?.map((t, index) => /* @__PURE__ */ React15.createElement(React15.Fragment, { key: index }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, " extends "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: t }))), /* @__PURE__ */ React15.createElement(TypePreview, { path: decl.stainlessPath }));
5884
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
5885
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: decl.ident }),
5886
+ /* @__PURE__ */ jsx19(TypeParams, { params: decl.typeParameters }),
5887
+ decl.extends?.map((t, index) => /* @__PURE__ */ jsxs12(React11.Fragment, { children: [
5888
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: " extends " }),
5889
+ /* @__PURE__ */ jsx19(Lang.Type, { type: t })
5890
+ ] }, index)),
5891
+ /* @__PURE__ */ jsx19(TypePreview, { path: decl.stainlessPath })
5892
+ ] });
5506
5893
  case "TSDeclClass":
5507
- return /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, "class "), /* @__PURE__ */ React15.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React15.createElement(TypeParams, { params: decl.typeParameters }), decl.superClass ? /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, " extends "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: decl.superClass })) : null, decl.implements?.map((t, index) => /* @__PURE__ */ React15.createElement(React15.Fragment, { key: index }, /* @__PURE__ */ React15.createElement("span", { className: style_default.TextKeyword }, " implements "), /* @__PURE__ */ React15.createElement(Lang.Type, { type: t }))));
5894
+ return /* @__PURE__ */ jsxs12(Fragment6, { children: [
5895
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: "class " }),
5896
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextIdentifier, children: decl.ident }),
5897
+ /* @__PURE__ */ jsx19(TypeParams, { params: decl.typeParameters }),
5898
+ decl.superClass ? /* @__PURE__ */ jsxs12(Fragment6, { children: [
5899
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: " extends " }),
5900
+ /* @__PURE__ */ jsx19(Lang.Type, { type: decl.superClass })
5901
+ ] }) : null,
5902
+ decl.implements?.map((t, index) => /* @__PURE__ */ jsxs12(React11.Fragment, { children: [
5903
+ /* @__PURE__ */ jsx19("span", { className: style_default.TextKeyword, children: " implements " }),
5904
+ /* @__PURE__ */ jsx19(Lang.Type, { type: t })
5905
+ ] }, index))
5906
+ ] });
5508
5907
  }
5509
5908
  }
5510
5909
 
@@ -5517,7 +5916,8 @@ __export(java_exports, {
5517
5916
  Type: () => Type2,
5518
5917
  TypeName: () => TypeName2
5519
5918
  });
5520
- import * as React16 from "react";
5919
+ import * as React12 from "react";
5920
+ import { Fragment as Fragment8, jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
5521
5921
  function showFullType(type) {
5522
5922
  return type.kind === "JavaTypeReference" && (type.typeName === "List" || type.typeParameters && type.typeParameters.length > 0);
5523
5923
  }
@@ -5529,7 +5929,7 @@ var constStyle2 = {
5529
5929
  function TypeName2({ type, optional }) {
5530
5930
  const Lang = useLanguageComponents();
5531
5931
  if (type.kind === "JavaTypeReference" && type.typeName === "List") return "List";
5532
- return /* @__PURE__ */ React16.createElement(Lang.Type, { type, optional });
5932
+ return /* @__PURE__ */ jsx20(Lang.Type, { type, optional });
5533
5933
  }
5534
5934
  function Type2({ type, optional }) {
5535
5935
  const language = useLanguage();
@@ -5538,34 +5938,75 @@ function Type2({ type, optional }) {
5538
5938
  switch (type.kind) {
5539
5939
  case "JavaTypeReference": {
5540
5940
  const name = type.typeName.split(".").at(-1);
5541
- const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ React16.createElement(Lang.Type, { key, type: param, optional }));
5542
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement(SDKReference2, { stainlessPath: type.$ref }, name), params && params.length > 0 ? /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, "<"), /* @__PURE__ */ React16.createElement(Join2, { items: params, limit: 3 }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, ">")) : null);
5941
+ const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx20(Lang.Type, { type: param, optional }, key));
5942
+ return /* @__PURE__ */ jsxs13("span", { className: style_default.Type, children: [
5943
+ /* @__PURE__ */ jsx20(SDKReference2, { stainlessPath: type.$ref, children: name }),
5944
+ params && params.length > 0 ? /* @__PURE__ */ jsxs13(Fragment8, { children: [
5945
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: "<" }),
5946
+ /* @__PURE__ */ jsx20(Join2, { items: params, limit: 3, children: /* @__PURE__ */ jsx20("span", { className: style_default.TextOperator, children: ", " }) }),
5947
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: ">" })
5948
+ ] }) : null
5949
+ ] });
5543
5950
  }
5544
5951
  case "JavaTypeClass":
5545
5952
  case "JavaTypeUnion":
5546
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, "class"));
5953
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: "class" }) });
5547
5954
  case "JavaTypeEnum":
5548
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, language === "kotlin" ? "enum class" : "enum"));
5955
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: language === "kotlin" ? "enum class" : "enum" }) });
5549
5956
  case "JavaTypeVoid":
5550
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, language === "kotlin" ? "Nothing?" : "Void"));
5957
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: language === "kotlin" ? "Nothing?" : "Void" }) });
5551
5958
  case "JavaTypeBoolean":
5552
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, language === "kotlin" || optional ? "Boolean" : "boolean"));
5959
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: language === "kotlin" || optional ? "Boolean" : "boolean" }) });
5553
5960
  case "JavaTypeDouble":
5554
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, language === "kotlin" || optional ? "Double" : "double"));
5961
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: language === "kotlin" || optional ? "Double" : "double" }) });
5555
5962
  case "JavaTypeLong":
5556
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, language === "kotlin" || optional ? "Long" : "long"));
5963
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: language === "kotlin" || optional ? "Long" : "long" }) });
5557
5964
  case "JavaTypeString":
5558
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeString }, "String"));
5965
+ return /* @__PURE__ */ jsx20("span", { className: style_default.Type, children: /* @__PURE__ */ jsx20("span", { className: style_default.TypeString, children: "String" }) });
5559
5966
  case "JavaTypeConstant":
5560
- return /* @__PURE__ */ React16.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, "JsonValue"), ";");
5967
+ return /* @__PURE__ */ jsxs13("span", { className: style_default.Type, children: [
5968
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: "JsonValue" }),
5969
+ ";"
5970
+ ] });
5561
5971
  }
5562
5972
  }
5563
5973
  function MethodSignature2({ decl }) {
5564
5974
  const Lang = useLanguageComponents();
5565
5975
  const language = useLanguage();
5566
5976
  const { Join: Join2, Tooltip: Tooltip2 } = useComponents2();
5567
- const params = decl.parameters.map((param, i) => /* @__PURE__ */ React16.createElement(React16.Fragment, { key: i }, /* @__PURE__ */ React16.createElement(Tooltip2, { content: /* @__PURE__ */ React16.createElement(Lang.Type, { type: param.typeAnnotation }) }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, param.ident), param.hasDefault && /* @__PURE__ */ React16.createElement(React16.Fragment, null, " ", /* @__PURE__ */ React16.createElement("span", { className: style_default.TextOperator }, "="), " ", /* @__PURE__ */ React16.createElement(Lang.Type, { type: param.typeAnnotation }), /* @__PURE__ */ React16.createElement("span", { className: style_default.TextOperator }, "."), /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, "none"), /* @__PURE__ */ React16.createElement("span", { className: style_default.TextOperator }, "()")))));
5568
- return /* @__PURE__ */ React16.createElement("div", { className: style_default.MethodSignature }, /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureTitle }, decl.returnType && language !== "kotlin" && /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureReturns }, /* @__PURE__ */ React16.createElement(Lang.Type, { type: decl.returnType }), " "), decl.qualified && /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureQualified }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.qualified?.slice(0, -decl.ident.length))), /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureName }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React16.createElement("span", { className: style_default.MethodSignature }, /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureParen }, "("), /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureParams }, /* @__PURE__ */ React16.createElement(Join2, { items: params }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React16.createElement("span", { className: style_default.SignatureParen }, ")", " "), decl.returnType && language === "kotlin" && /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextOperator }, ":"), " ", /* @__PURE__ */ React16.createElement(Lang.Type, { type: decl.returnType })))));
5977
+ const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsx20(React12.Fragment, { children: /* @__PURE__ */ jsxs13(Tooltip2, { content: /* @__PURE__ */ jsx20(Lang.Type, { type: param.typeAnnotation }), children: [
5978
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: param.ident }),
5979
+ param.hasDefault && /* @__PURE__ */ jsxs13(Fragment8, { children: [
5980
+ " ",
5981
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextOperator, children: "=" }),
5982
+ " ",
5983
+ /* @__PURE__ */ jsx20(Lang.Type, { type: param.typeAnnotation }),
5984
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextOperator, children: "." }),
5985
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: "none" }),
5986
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextOperator, children: "()" })
5987
+ ] })
5988
+ ] }) }, i));
5989
+ return /* @__PURE__ */ jsx20("div", { className: style_default.MethodSignature, children: /* @__PURE__ */ jsxs13("span", { className: style_default.SignatureTitle, children: [
5990
+ decl.returnType && language !== "kotlin" && /* @__PURE__ */ jsxs13("span", { className: style_default.SignatureReturns, children: [
5991
+ /* @__PURE__ */ jsx20(Lang.Type, { type: decl.returnType }),
5992
+ " "
5993
+ ] }),
5994
+ decl.qualified && /* @__PURE__ */ jsx20("span", { className: style_default.SignatureQualified, children: /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.qualified?.slice(0, -decl.ident.length) }) }),
5995
+ /* @__PURE__ */ jsx20("span", { className: style_default.SignatureName, children: /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
5996
+ /* @__PURE__ */ jsxs13("span", { className: style_default.MethodSignature, children: [
5997
+ /* @__PURE__ */ jsx20("span", { className: style_default.SignatureParen, children: "(" }),
5998
+ /* @__PURE__ */ jsx20("span", { className: style_default.SignatureParams, children: /* @__PURE__ */ jsx20(Join2, { items: params, children: /* @__PURE__ */ jsx20("span", { className: style_default.TextOperator, children: ", " }) }) }),
5999
+ /* @__PURE__ */ jsxs13("span", { className: style_default.SignatureParen, children: [
6000
+ ")",
6001
+ " "
6002
+ ] }),
6003
+ decl.returnType && language === "kotlin" && /* @__PURE__ */ jsxs13(Fragment8, { children: [
6004
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextOperator, children: ":" }),
6005
+ " ",
6006
+ /* @__PURE__ */ jsx20(Lang.Type, { type: decl.returnType })
6007
+ ] })
6008
+ ] })
6009
+ ] }) });
5569
6010
  }
5570
6011
  function Property3({ decl, children }) {
5571
6012
  const Docs = useComponents2();
@@ -5574,12 +6015,17 @@ function Property3({ decl, children }) {
5574
6015
  if (!decl) return null;
5575
6016
  switch (decl.kind) {
5576
6017
  case "JavaDeclProperty": {
5577
- const typeRaw = /* @__PURE__ */ React16.createElement(Lang.Type, { type: decl.type, optional: decl.optional });
5578
- const typeWrapped = decl.optional ? /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeKeyword }, "Optional"), /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, "<"), typeRaw, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, ">")) : typeRaw;
5579
- const badges = /* @__PURE__ */ React16.createElement(React16.Fragment, null, decl.type.kind === "JavaTypeConstant" && /* @__PURE__ */ React16.createElement(Docs.Tooltip, { content: /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.type.value) }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, "constant")));
6018
+ const typeRaw = /* @__PURE__ */ jsx20(Lang.Type, { type: decl.type, optional: decl.optional });
6019
+ const typeWrapped = decl.optional ? /* @__PURE__ */ jsxs13(Fragment8, { children: [
6020
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeKeyword, children: "Optional" }),
6021
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: "<" }),
6022
+ typeRaw,
6023
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: ">" })
6024
+ ] }) : typeRaw;
6025
+ const badges = /* @__PURE__ */ jsx20(Fragment8, { children: decl.type.kind === "JavaTypeConstant" && /* @__PURE__ */ jsx20(Docs.Tooltip, { content: /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.type.value }), children: /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: "constant" }) }) });
5580
6026
  return children({
5581
6027
  name: decl.ident,
5582
- typeName: /* @__PURE__ */ React16.createElement(Lang.TypeName, { type: decl.type, optional: decl.optional }),
6028
+ typeName: /* @__PURE__ */ jsx20(Lang.TypeName, { type: decl.type, optional: decl.optional }),
5583
6029
  type: showFullType(decl.type) && typeWrapped,
5584
6030
  badges
5585
6031
  });
@@ -5588,14 +6034,14 @@ function Property3({ decl, children }) {
5588
6034
  return children({
5589
6035
  name: decl.ident,
5590
6036
  typeName: "const",
5591
- type: /* @__PURE__ */ React16.createElement("span", { className: constStyle2[typeof decl.value] }, JSON.stringify(decl.value))
6037
+ type: /* @__PURE__ */ jsx20("span", { className: constStyle2[typeof decl.value], children: JSON.stringify(decl.value) })
5592
6038
  });
5593
6039
  case "JavaDeclType": {
5594
6040
  const typeName2 = decl.type.kind === "JavaTypeUnion" ? "union" : decl.type.kind === "JavaTypeEnum" ? language === "kotlin" ? "enum class" : "enum" : "class";
5595
6041
  return children({ name: decl.ident, typeName: typeName2 });
5596
6042
  }
5597
6043
  case "JavaDeclReference":
5598
- return children({ type: /* @__PURE__ */ React16.createElement(Lang.Type, { type: decl.type }) });
6044
+ return children({ type: /* @__PURE__ */ jsx20(Lang.Type, { type: decl.type }) });
5599
6045
  }
5600
6046
  }
5601
6047
  function Declaration2({ decl }) {
@@ -5605,21 +6051,60 @@ function Declaration2({ decl }) {
5605
6051
  if (!decl) return null;
5606
6052
  switch (decl.kind) {
5607
6053
  case "JavaDeclConst":
5608
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React16.createElement("span", { className: style_default.TextPunctuation }, "("), JSON.stringify(decl.value), /* @__PURE__ */ React16.createElement("span", { className: style_default.TextPunctuation }, ")"));
6054
+ return /* @__PURE__ */ jsxs13(Fragment8, { children: [
6055
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.ident }),
6056
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextPunctuation, children: "(" }),
6057
+ JSON.stringify(decl.value),
6058
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextPunctuation, children: ")" })
6059
+ ] });
5609
6060
  case "JavaDeclType": {
5610
6061
  const keyword = decl.type.kind === "JavaTypeEnum" ? language === "kotlin" ? "enum class" : "enum" : "class";
5611
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextKeyword }, keyword), " ", /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React16.createElement("span", { className: style_default.TextPunctuation }, ":"), decl.type.kind === "JavaTypeUnion" && /* @__PURE__ */ React16.createElement(React16.Fragment, null, " ", /* @__PURE__ */ React16.createElement(Docs.Tooltip, { content: "A class that can be one of several variants." }, /* @__PURE__ */ React16.createElement(Docs.Badge, { id: "java-union" }, "union")), " "));
6062
+ return /* @__PURE__ */ jsxs13(Fragment8, { children: [
6063
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextKeyword, children: keyword }),
6064
+ " ",
6065
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.ident }),
6066
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextPunctuation, children: ":" }),
6067
+ decl.type.kind === "JavaTypeUnion" && /* @__PURE__ */ jsxs13(Fragment8, { children: [
6068
+ " ",
6069
+ /* @__PURE__ */ jsx20(Docs.Tooltip, { content: "A class that can be one of several variants.", children: /* @__PURE__ */ jsx20(Docs.Badge, { id: "java-union", children: "union" }) }),
6070
+ " "
6071
+ ] })
6072
+ ] });
5612
6073
  }
5613
6074
  case "JavaDeclProperty": {
5614
- const inlineType = /* @__PURE__ */ React16.createElement(Lang.Type, { type: decl.type, optional: decl.optional });
5615
- const ident = /* @__PURE__ */ React16.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.ident));
5616
- const suffix = decl.type.kind === "JavaTypeConstant" ? /* @__PURE__ */ React16.createElement(React16.Fragment, null, " ", /* @__PURE__ */ React16.createElement(Docs.Tooltip, { content: /* @__PURE__ */ React16.createElement("span", { className: style_default.TextIdentifier }, decl.type.value) }, /* @__PURE__ */ React16.createElement(Docs.Badge, { id: "java-constant" }, "constant"))) : null;
6075
+ const inlineType = /* @__PURE__ */ jsx20(Lang.Type, { type: decl.type, optional: decl.optional });
6076
+ const ident = /* @__PURE__ */ jsx20("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.ident }) });
6077
+ const suffix = decl.type.kind === "JavaTypeConstant" ? /* @__PURE__ */ jsxs13(Fragment8, { children: [
6078
+ " ",
6079
+ /* @__PURE__ */ jsx20(Docs.Tooltip, { content: /* @__PURE__ */ jsx20("span", { className: style_default.TextIdentifier, children: decl.type.value }), children: /* @__PURE__ */ jsx20(Docs.Badge, { id: "java-constant", children: "constant" }) })
6080
+ ] }) : null;
5617
6081
  if (language === "kotlin")
5618
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, ident, /* @__PURE__ */ React16.createElement("span", { className: style_default.TextPunctuation }, ":"), " ", decl.optional ? /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeReference }, "Optional"), /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, "<"), inlineType, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, ">")) : inlineType, suffix);
5619
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, decl.optional ? /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeReference }, "Optional"), /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, "<"), inlineType, /* @__PURE__ */ React16.createElement("span", { className: style_default.TypeBracket }, ">")) : inlineType, " ", ident, suffix);
6082
+ return /* @__PURE__ */ jsxs13(Fragment8, { children: [
6083
+ ident,
6084
+ /* @__PURE__ */ jsx20("span", { className: style_default.TextPunctuation, children: ":" }),
6085
+ " ",
6086
+ decl.optional ? /* @__PURE__ */ jsxs13(Fragment8, { children: [
6087
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeReference, children: "Optional" }),
6088
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: "<" }),
6089
+ inlineType,
6090
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: ">" })
6091
+ ] }) : inlineType,
6092
+ suffix
6093
+ ] });
6094
+ return /* @__PURE__ */ jsxs13(Fragment8, { children: [
6095
+ decl.optional ? /* @__PURE__ */ jsxs13(Fragment8, { children: [
6096
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeReference, children: "Optional" }),
6097
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: "<" }),
6098
+ inlineType,
6099
+ /* @__PURE__ */ jsx20("span", { className: style_default.TypeBracket, children: ">" })
6100
+ ] }) : inlineType,
6101
+ " ",
6102
+ ident,
6103
+ suffix
6104
+ ] });
5620
6105
  }
5621
6106
  case "JavaDeclReference":
5622
- return /* @__PURE__ */ React16.createElement(Lang.Type, { type: decl.type });
6107
+ return /* @__PURE__ */ jsx20(Lang.Type, { type: decl.type });
5623
6108
  }
5624
6109
  }
5625
6110
 
@@ -5632,7 +6117,8 @@ __export(go_exports, {
5632
6117
  Type: () => Type3,
5633
6118
  TypeName: () => TypeName3
5634
6119
  });
5635
- import * as React17 from "react";
6120
+ import * as React13 from "react";
6121
+ import { Fragment as Fragment10, jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
5636
6122
  var ComplexTypes2 = {
5637
6123
  GoTypeMap: "map",
5638
6124
  GoTypeArray: "array"
@@ -5650,15 +6136,22 @@ function isField(type) {
5650
6136
  }
5651
6137
  function TypeName3({ type }) {
5652
6138
  const Lang = useLanguageComponents();
5653
- return isField(type) ? "field" : ComplexTypes2[type.kind] ?? /* @__PURE__ */ React17.createElement(Lang.Type, { type });
6139
+ return isField(type) ? "field" : ComplexTypes2[type.kind] ?? /* @__PURE__ */ jsx21(Lang.Type, { type });
5654
6140
  }
5655
6141
  function Type3({ type }) {
5656
6142
  const Lang = useLanguageComponents();
5657
6143
  const { Join: Join2, SDKReference: SDKReference2 } = useComponents2();
5658
6144
  switch (type.kind) {
5659
6145
  case "GoTypeReference": {
5660
- const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ React17.createElement(Lang.Type, { key, type: param }));
5661
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, type.$ref ? /* @__PURE__ */ React17.createElement(SDKReference2, { stainlessPath: type.$ref }, type.typeName) : type.typeName, params && params.length > 0 ? /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeBracket }, "["), /* @__PURE__ */ React17.createElement(Join2, { items: params, limit: 3 }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeBracket }, "]")) : null);
6146
+ const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx21(Lang.Type, { type: param }, key));
6147
+ return /* @__PURE__ */ jsxs14("span", { className: style_default.Type, children: [
6148
+ type.$ref ? /* @__PURE__ */ jsx21(SDKReference2, { stainlessPath: type.$ref, children: type.typeName }) : type.typeName,
6149
+ params && params.length > 0 ? /* @__PURE__ */ jsxs14(Fragment10, { children: [
6150
+ /* @__PURE__ */ jsx21("span", { className: style_default.TypeBracket, children: "[" }),
6151
+ /* @__PURE__ */ jsx21(Join2, { items: params, limit: 3, children: /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: ", " }) }),
6152
+ /* @__PURE__ */ jsx21("span", { className: style_default.TypeBracket, children: "]" })
6153
+ ] }) : null
6154
+ ] });
5662
6155
  }
5663
6156
  case "GoTypeAny":
5664
6157
  case "GoTypeUnknown":
@@ -5666,27 +6159,61 @@ function Type3({ type }) {
5666
6159
  case "GoTypeFloat":
5667
6160
  case "GoTypeBool":
5668
6161
  case "GoTypeError":
5669
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeKeyword }, Keywords[type.kind]));
6162
+ return /* @__PURE__ */ jsx21("span", { className: style_default.Type, children: /* @__PURE__ */ jsx21("span", { className: style_default.TypeKeyword, children: Keywords[type.kind] }) });
5670
6163
  case "GoTypeString":
5671
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeString }, "string"));
6164
+ return /* @__PURE__ */ jsx21("span", { className: style_default.Type, children: /* @__PURE__ */ jsx21("span", { className: style_default.TypeString, children: "string" }) });
5672
6165
  case "GoTypeArray":
5673
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, "[]"), /* @__PURE__ */ React17.createElement(Lang.Type, { type: type.elementType }));
6166
+ return /* @__PURE__ */ jsxs14("span", { className: style_default.Type, children: [
6167
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: "[]" }),
6168
+ /* @__PURE__ */ jsx21(Lang.Type, { type: type.elementType })
6169
+ ] });
5674
6170
  case "GoTypeStruct":
5675
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeKeyword }, "struct{\u2026}"));
6171
+ return /* @__PURE__ */ jsx21("span", { className: style_default.Type, children: /* @__PURE__ */ jsx21("span", { className: style_default.TypeKeyword, children: "struct{\u2026}" }) });
5676
6172
  case "GoTypeInterface":
5677
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeKeyword }, "interface{\u2026}"));
6173
+ return /* @__PURE__ */ jsx21("span", { className: style_default.Type, children: /* @__PURE__ */ jsx21("span", { className: style_default.TypeKeyword, children: "interface{\u2026}" }) });
5678
6174
  case "GoTypeMap":
5679
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeKeyword }, "map"), /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeBracket }, "["), /* @__PURE__ */ React17.createElement(Lang.Type, { type: type.indexType }), /* @__PURE__ */ React17.createElement("span", { className: style_default.TextPunctuation }, ","), " ", /* @__PURE__ */ React17.createElement(Lang.Type, { type: type.itemType }), /* @__PURE__ */ React17.createElement("span", { className: style_default.TypeBracket }, "]"));
6175
+ return /* @__PURE__ */ jsxs14("span", { className: style_default.Type, children: [
6176
+ /* @__PURE__ */ jsx21("span", { className: style_default.TypeKeyword, children: "map" }),
6177
+ /* @__PURE__ */ jsx21("span", { className: style_default.TypeBracket, children: "[" }),
6178
+ /* @__PURE__ */ jsx21(Lang.Type, { type: type.indexType }),
6179
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextPunctuation, children: "," }),
6180
+ " ",
6181
+ /* @__PURE__ */ jsx21(Lang.Type, { type: type.itemType }),
6182
+ /* @__PURE__ */ jsx21("span", { className: style_default.TypeBracket, children: "]" })
6183
+ ] });
5680
6184
  case "GoTypePointer":
5681
- return /* @__PURE__ */ React17.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, "*"), /* @__PURE__ */ React17.createElement(Lang.Type, { type: type.inner }));
6185
+ return /* @__PURE__ */ jsxs14("span", { className: style_default.Type, children: [
6186
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: "*" }),
6187
+ /* @__PURE__ */ jsx21(Lang.Type, { type: type.inner })
6188
+ ] });
5682
6189
  }
5683
6190
  }
5684
6191
  function MethodSignature3({ decl }) {
5685
6192
  const Lang = useLanguageComponents();
5686
6193
  const { Join: Join2 } = useComponents2();
5687
- const params = decl.parameters.map((param, i) => /* @__PURE__ */ React17.createElement(React17.Fragment, { key: i }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, param.ident), param.optional && /* @__PURE__ */ React17.createElement("span", { className: style_default.TextPunctuation }, "?")));
5688
- const returns = decl.returnType.map((t, key) => /* @__PURE__ */ React17.createElement(Lang.Type, { key, type: t }));
5689
- return /* @__PURE__ */ React17.createElement("div", { className: style_default.MethodSignature }, /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureTitle }, decl.async && /* @__PURE__ */ React17.createElement("span", { className: style_default.TextKeyword }, "async "), decl.qualified && /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureQualified }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, decl.qualified?.slice(0, -decl.ident.length))), decl.kind === "GoDeclFunction" && /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureName }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React17.createElement("span", { className: style_default.MethodSignature }, /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureParen }, "("), /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureParams }, /* @__PURE__ */ React17.createElement(Join2, { items: params }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureParen }, ")", " "), decl.returnType.length === 1 ? returns : /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureParen }, "("), /* @__PURE__ */ React17.createElement(Join2, { items: returns }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React17.createElement("span", { className: style_default.SignatureParen }, ")")))));
6194
+ const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsxs14(React13.Fragment, { children: [
6195
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextIdentifier, children: param.ident }),
6196
+ param.optional && /* @__PURE__ */ jsx21("span", { className: style_default.TextPunctuation, children: "?" })
6197
+ ] }, i));
6198
+ const returns = decl.returnType.map((t, key) => /* @__PURE__ */ jsx21(Lang.Type, { type: t }, key));
6199
+ return /* @__PURE__ */ jsx21("div", { className: style_default.MethodSignature, children: /* @__PURE__ */ jsxs14("span", { className: style_default.SignatureTitle, children: [
6200
+ decl.async && /* @__PURE__ */ jsx21("span", { className: style_default.TextKeyword, children: "async " }),
6201
+ decl.qualified && /* @__PURE__ */ jsx21("span", { className: style_default.SignatureQualified, children: /* @__PURE__ */ jsx21("span", { className: style_default.TextIdentifier, children: decl.qualified?.slice(0, -decl.ident.length) }) }),
6202
+ decl.kind === "GoDeclFunction" && /* @__PURE__ */ jsx21("span", { className: style_default.SignatureName, children: /* @__PURE__ */ jsx21("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
6203
+ /* @__PURE__ */ jsxs14("span", { className: style_default.MethodSignature, children: [
6204
+ /* @__PURE__ */ jsx21("span", { className: style_default.SignatureParen, children: "(" }),
6205
+ /* @__PURE__ */ jsx21("span", { className: style_default.SignatureParams, children: /* @__PURE__ */ jsx21(Join2, { items: params, children: /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: ", " }) }) }),
6206
+ /* @__PURE__ */ jsxs14("span", { className: style_default.SignatureParen, children: [
6207
+ ")",
6208
+ " "
6209
+ ] }),
6210
+ decl.returnType.length === 1 ? returns : /* @__PURE__ */ jsxs14(Fragment10, { children: [
6211
+ /* @__PURE__ */ jsx21("span", { className: style_default.SignatureParen, children: "(" }),
6212
+ /* @__PURE__ */ jsx21(Join2, { items: returns, children: /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: ", " }) }),
6213
+ /* @__PURE__ */ jsx21("span", { className: style_default.SignatureParen, children: ")" })
6214
+ ] })
6215
+ ] })
6216
+ ] }) });
5690
6217
  }
5691
6218
  function Property4({ decl, children }) {
5692
6219
  const Docs = useComponents2();
@@ -5696,25 +6223,25 @@ function Property4({ decl, children }) {
5696
6223
  case "GoDeclProperty":
5697
6224
  return children({
5698
6225
  name: decl.ident,
5699
- typeName: /* @__PURE__ */ React17.createElement(Lang.TypeName, { type: decl.type }),
5700
- badges: decl.optional && /* @__PURE__ */ React17.createElement(Docs.Badge, { id: "optional" }),
5701
- type: (isField(decl.type) || decl.type.kind in ComplexTypes2) && /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type })
6226
+ typeName: /* @__PURE__ */ jsx21(Lang.TypeName, { type: decl.type }),
6227
+ badges: decl.optional && /* @__PURE__ */ jsx21(Docs.Badge, { id: "optional" }),
6228
+ type: (isField(decl.type) || decl.type.kind in ComplexTypes2) && /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type })
5702
6229
  });
5703
6230
  case "GoDeclConst":
5704
6231
  return children({
5705
6232
  name: decl.ident,
5706
6233
  typeName: "const",
5707
- type: /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type })
6234
+ type: /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type })
5708
6235
  });
5709
6236
  case "GoDeclReference":
5710
- return children({ type: /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type }) });
6237
+ return children({ type: /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type }) });
5711
6238
  case "GoDeclType":
5712
6239
  case "GoDeclTypeAlias": {
5713
6240
  const typeName2 = decl.type.kind === "GoTypeStruct" ? "struct" : decl.type.kind === "GoTypeInterface" ? "interface" : decl.kind === "GoDeclTypeAlias" ? "alias" : "type";
5714
6241
  return children({
5715
6242
  name: decl.ident,
5716
6243
  typeName: typeName2,
5717
- type: ["GoTypeStruct", "GoTypeInterface"].includes(decl.type.kind) || /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type })
6244
+ type: ["GoTypeStruct", "GoTypeInterface"].includes(decl.type.kind) || /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type })
5718
6245
  });
5719
6246
  }
5720
6247
  }
@@ -5724,15 +6251,45 @@ function Declaration3({ decl }) {
5724
6251
  if (!decl) return;
5725
6252
  switch (decl.kind) {
5726
6253
  case "GoDeclType":
5727
- return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextKeyword }, "type "), /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, decl.ident, " "), /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type }));
6254
+ return /* @__PURE__ */ jsxs14(Fragment10, { children: [
6255
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextKeyword, children: "type " }),
6256
+ /* @__PURE__ */ jsxs14("span", { className: style_default.TextIdentifier, children: [
6257
+ decl.ident,
6258
+ " "
6259
+ ] }),
6260
+ /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type })
6261
+ ] });
5728
6262
  case "GoDeclTypeAlias":
5729
- return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextKeyword }, "type "), /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, decl.ident, " "), /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, "= "), /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type }));
6263
+ return /* @__PURE__ */ jsxs14(Fragment10, { children: [
6264
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextKeyword, children: "type " }),
6265
+ /* @__PURE__ */ jsxs14("span", { className: style_default.TextIdentifier, children: [
6266
+ decl.ident,
6267
+ " "
6268
+ ] }),
6269
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: "= " }),
6270
+ /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type })
6271
+ ] });
5730
6272
  case "GoDeclProperty":
5731
- return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, decl.ident, " ")), /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type }));
6273
+ return /* @__PURE__ */ jsxs14(Fragment10, { children: [
6274
+ /* @__PURE__ */ jsx21("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsxs14("span", { className: style_default.TextIdentifier, children: [
6275
+ decl.ident,
6276
+ " "
6277
+ ] }) }),
6278
+ /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type })
6279
+ ] });
5732
6280
  case "GoDeclReference":
5733
- return /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type });
6281
+ return /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type });
5734
6282
  case "GoDeclConst":
5735
- return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement("span", { className: style_default.TextKeyword }, "const "), /* @__PURE__ */ React17.createElement("span", { className: style_default.TextIdentifier }, decl.ident, " "), /* @__PURE__ */ React17.createElement(Lang.Type, { type: decl.type }), /* @__PURE__ */ React17.createElement("span", { className: style_default.TextOperator }, " = "), JSON.stringify(decl.value));
6283
+ return /* @__PURE__ */ jsxs14(Fragment10, { children: [
6284
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextKeyword, children: "const " }),
6285
+ /* @__PURE__ */ jsxs14("span", { className: style_default.TextIdentifier, children: [
6286
+ decl.ident,
6287
+ " "
6288
+ ] }),
6289
+ /* @__PURE__ */ jsx21(Lang.Type, { type: decl.type }),
6290
+ /* @__PURE__ */ jsx21("span", { className: style_default.TextOperator, children: " = " }),
6291
+ JSON.stringify(decl.value)
6292
+ ] });
5736
6293
  }
5737
6294
  }
5738
6295
 
@@ -5745,7 +6302,8 @@ __export(python_exports, {
5745
6302
  Type: () => Type4,
5746
6303
  TypeName: () => TypeName4
5747
6304
  });
5748
- import * as React18 from "react";
6305
+ import * as React14 from "react";
6306
+ import { Fragment as Fragment12, jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
5749
6307
  var constStyle3 = {
5750
6308
  string: style_default.LiteralString,
5751
6309
  number: style_default.LiteralNumeric,
@@ -5760,7 +6318,7 @@ function TypeName4({ type }) {
5760
6318
  if (type.kind === "PythonTypeReference") {
5761
6319
  switch (type.typeName) {
5762
6320
  case "Optional":
5763
- return /* @__PURE__ */ React18.createElement(Lang.TypeName, { type: type.typeParameters[0] });
6321
+ return /* @__PURE__ */ jsx22(Lang.TypeName, { type: type.typeParameters[0] });
5764
6322
  case "List":
5765
6323
  case "Iterable":
5766
6324
  case "Literal":
@@ -5768,7 +6326,7 @@ function TypeName4({ type }) {
5768
6326
  return type.typeName.toLowerCase();
5769
6327
  }
5770
6328
  }
5771
- return /* @__PURE__ */ React18.createElement(Lang.Type, { type });
6329
+ return /* @__PURE__ */ jsx22(Lang.Type, { type });
5772
6330
  }
5773
6331
  function Type4({ type }) {
5774
6332
  const Lang = useLanguageComponents();
@@ -5779,28 +6337,55 @@ function Type4({ type }) {
5779
6337
  case "PythonTypeInt":
5780
6338
  case "PythonTypeFloat":
5781
6339
  case "PythonTypeBool":
5782
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeKeyword }, type.kind.slice(10).toLowerCase()));
6340
+ return /* @__PURE__ */ jsx22("span", { className: style_default.Type, children: /* @__PURE__ */ jsx22("span", { className: style_default.TypeKeyword, children: type.kind.slice(10).toLowerCase() }) });
5783
6341
  case "PythonTypeString":
5784
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeString }, "str"));
6342
+ return /* @__PURE__ */ jsx22("span", { className: style_default.Type, children: /* @__PURE__ */ jsx22("span", { className: style_default.TypeString, children: "str" }) });
5785
6343
  case "PythonTypeLiteral":
5786
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: constStyle3[typeof type.literal.value] }, JSON.stringify(type.literal.value)));
6344
+ return /* @__PURE__ */ jsx22("span", { className: style_default.Type, children: /* @__PURE__ */ jsx22("span", { className: constStyle3[typeof type.literal.value], children: JSON.stringify(type.literal.value) }) });
5787
6345
  case "PythonTypeArray":
5788
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeArray }, "Array<"), /* @__PURE__ */ React18.createElement(Lang.Type, { type: type.elementType }), /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeArray }, ">"));
6346
+ return /* @__PURE__ */ jsxs15("span", { className: style_default.Type, children: [
6347
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypeArray, children: "Array<" }),
6348
+ /* @__PURE__ */ jsx22(Lang.Type, { type: type.elementType }),
6349
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypeArray, children: ">" })
6350
+ ] });
5789
6351
  case "PythonTypeClass":
5790
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeKeyword }, "class"));
6352
+ return /* @__PURE__ */ jsx22("span", { className: style_default.Type, children: /* @__PURE__ */ jsx22("span", { className: style_default.TypeKeyword, children: "class" }) });
5791
6353
  case "PythonTypeMap":
5792
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeKeyword }, "Dict"));
6354
+ return /* @__PURE__ */ jsx22("span", { className: style_default.Type, children: /* @__PURE__ */ jsx22("span", { className: style_default.TypeKeyword, children: "Dict" }) });
5793
6355
  case "PythonTypeReference": {
5794
- const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ React18.createElement(Lang.Type, { key, type: param }));
5795
- return /* @__PURE__ */ React18.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React18.createElement("span", { className: type.typeName === "Optional" ? style_default.TypeArray : "" }, /* @__PURE__ */ React18.createElement(SDKReference2, { stainlessPath: type.$ref }, type.typeName)), params && params.length > 0 && /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeBracket }, "["), /* @__PURE__ */ React18.createElement(Join2, { items: params, limit: 3 }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeBracket }, "]")));
6356
+ const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx22(Lang.Type, { type: param }, key));
6357
+ return /* @__PURE__ */ jsxs15("span", { className: style_default.Type, children: [
6358
+ /* @__PURE__ */ jsx22("span", { className: type.typeName === "Optional" ? style_default.TypeArray : "", children: /* @__PURE__ */ jsx22(SDKReference2, { stainlessPath: type.$ref, children: type.typeName }) }),
6359
+ params && params.length > 0 && /* @__PURE__ */ jsxs15(Fragment12, { children: [
6360
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypeBracket, children: "[" }),
6361
+ /* @__PURE__ */ jsx22(Join2, { items: params, limit: 3, children: /* @__PURE__ */ jsx22("span", { className: style_default.TextOperator, children: ", " }) }),
6362
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypeBracket, children: "]" })
6363
+ ] })
6364
+ ] });
5796
6365
  }
5797
6366
  }
5798
6367
  }
5799
6368
  function MethodSignature4({ decl }) {
5800
6369
  const Lang = useLanguageComponents();
5801
6370
  const { Join: Join2, Tooltip: Tooltip2 } = useComponents2();
5802
- const params = decl.parameters.map((param, i) => /* @__PURE__ */ React18.createElement(React18.Fragment, { key: i }, /* @__PURE__ */ React18.createElement(Tooltip2, { content: /* @__PURE__ */ React18.createElement(Lang.Type, { type: param.type }) }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextIdentifier }, param.ident))));
5803
- return /* @__PURE__ */ React18.createElement("div", { className: style_default.MethodSignature }, /* @__PURE__ */ React18.createElement("span", { className: style_default.SignatureTitle }, decl.async && /* @__PURE__ */ React18.createElement("span", { className: style_default.TextKeyword }, "async "), decl.qualified && /* @__PURE__ */ React18.createElement("span", { className: style_default.SignatureQualified }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextIdentifier }, decl.qualified?.slice(0, -decl.ident.length))), /* @__PURE__ */ React18.createElement("span", { className: style_default.SignatureName }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React18.createElement("span", { className: style_default.MethodSignature }, /* @__PURE__ */ React18.createElement("span", { className: style_default.SignatureParen }, "("), /* @__PURE__ */ React18.createElement("span", { className: style_default.SignatureParams }, /* @__PURE__ */ React18.createElement(Join2, { items: params }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React18.createElement("span", { className: style_default.SignatureParen }, ")", " "), decl.returns && /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextOperator }, " -> "), /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.returns })))));
6371
+ const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsx22(React14.Fragment, { children: /* @__PURE__ */ jsx22(Tooltip2, { content: /* @__PURE__ */ jsx22(Lang.Type, { type: param.type }), children: /* @__PURE__ */ jsx22("span", { className: style_default.TextIdentifier, children: param.ident }) }) }, i));
6372
+ return /* @__PURE__ */ jsx22("div", { className: style_default.MethodSignature, children: /* @__PURE__ */ jsxs15("span", { className: style_default.SignatureTitle, children: [
6373
+ decl.async && /* @__PURE__ */ jsx22("span", { className: style_default.TextKeyword, children: "async " }),
6374
+ decl.qualified && /* @__PURE__ */ jsx22("span", { className: style_default.SignatureQualified, children: /* @__PURE__ */ jsx22("span", { className: style_default.TextIdentifier, children: decl.qualified?.slice(0, -decl.ident.length) }) }),
6375
+ /* @__PURE__ */ jsx22("span", { className: style_default.SignatureName, children: /* @__PURE__ */ jsx22("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
6376
+ /* @__PURE__ */ jsxs15("span", { className: style_default.MethodSignature, children: [
6377
+ /* @__PURE__ */ jsx22("span", { className: style_default.SignatureParen, children: "(" }),
6378
+ /* @__PURE__ */ jsx22("span", { className: style_default.SignatureParams, children: /* @__PURE__ */ jsx22(Join2, { items: params, children: /* @__PURE__ */ jsx22("span", { className: style_default.TextOperator, children: ", " }) }) }),
6379
+ /* @__PURE__ */ jsxs15("span", { className: style_default.SignatureParen, children: [
6380
+ ")",
6381
+ " "
6382
+ ] }),
6383
+ decl.returns && /* @__PURE__ */ jsxs15(Fragment12, { children: [
6384
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextOperator, children: " -> " }),
6385
+ /* @__PURE__ */ jsx22(Lang.Type, { type: decl.returns })
6386
+ ] })
6387
+ ] })
6388
+ ] }) });
5804
6389
  }
5805
6390
  function Property5({ decl, children }) {
5806
6391
  const Lang = useLanguageComponents();
@@ -5809,8 +6394,8 @@ function Property5({ decl, children }) {
5809
6394
  case "PythonDeclProperty":
5810
6395
  return children({
5811
6396
  name: decl.ident,
5812
- typeName: /* @__PURE__ */ React18.createElement(Lang.TypeName, { type: decl.type }),
5813
- type: showFullType2(decl.type) && /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type })
6397
+ typeName: /* @__PURE__ */ jsx22(Lang.TypeName, { type: decl.type }),
6398
+ type: showFullType2(decl.type) && /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type })
5814
6399
  });
5815
6400
  case "PythonDeclClass":
5816
6401
  return children({ name: decl.ident, typeName: "class" });
@@ -5818,10 +6403,10 @@ function Property5({ decl, children }) {
5818
6403
  return children({
5819
6404
  name: decl.ident,
5820
6405
  typeName: "type",
5821
- type: /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type })
6406
+ type: /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type })
5822
6407
  });
5823
6408
  case "PythonDeclReference":
5824
- return children({ type: /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type }) });
6409
+ return children({ type: /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type }) });
5825
6410
  }
5826
6411
  }
5827
6412
  function Declaration4({ decl }) {
@@ -5830,14 +6415,32 @@ function Declaration4({ decl }) {
5830
6415
  switch (decl.kind) {
5831
6416
  case "PythonDeclProperty": {
5832
6417
  const nullable = decl.type.kind === "PythonTypeReference" && decl.type.typeName === "Optional" && (decl.type.typeParameters ?? []).length > 0;
5833
- return /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React18.createElement("span", { className: style_default.TextPunctuation }, ": "), decl.optional && !nullable ? /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement("span", { className: style_default.TypePlain }, "Optional"), /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeBracket }, "["), /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type }), /* @__PURE__ */ React18.createElement("span", { className: style_default.TypeBrace }, "]")) : /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type }));
6418
+ return /* @__PURE__ */ jsxs15(Fragment12, { children: [
6419
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx22("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
6420
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextPunctuation, children: ": " }),
6421
+ decl.optional && !nullable ? /* @__PURE__ */ jsxs15(Fragment12, { children: [
6422
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypePlain, children: "Optional" }),
6423
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypeBracket, children: "[" }),
6424
+ /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type }),
6425
+ /* @__PURE__ */ jsx22("span", { className: style_default.TypeBrace, children: "]" })
6426
+ ] }) : /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type })
6427
+ ] });
5834
6428
  }
5835
6429
  case "PythonDeclClass":
5836
- return /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextKeyword }, "class "), /* @__PURE__ */ React18.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React18.createElement("span", { className: style_default.TextPunctuation }, ": "), /* @__PURE__ */ React18.createElement("span", { className: `${style_default.TypePreviewContent} ${style_default.TextPunctuation}` }, "\u2026"));
6430
+ return /* @__PURE__ */ jsxs15(Fragment12, { children: [
6431
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextKeyword, children: "class " }),
6432
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextIdentifier, children: decl.ident }),
6433
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextPunctuation, children: ": " }),
6434
+ /* @__PURE__ */ jsx22("span", { className: `${style_default.TypePreviewContent} ${style_default.TextPunctuation}`, children: "\u2026" })
6435
+ ] });
5837
6436
  case "PythonDeclType":
5838
- return /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React18.createElement("span", { className: style_default.TextOperator }, " = "), /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type }));
6437
+ return /* @__PURE__ */ jsxs15(Fragment12, { children: [
6438
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextIdentifier, children: decl.ident }),
6439
+ /* @__PURE__ */ jsx22("span", { className: style_default.TextOperator, children: " = " }),
6440
+ /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type })
6441
+ ] });
5839
6442
  case "PythonDeclReference":
5840
- return /* @__PURE__ */ React18.createElement(Lang.Type, { type: decl.type });
6443
+ return /* @__PURE__ */ jsx22(Lang.Type, { type: decl.type });
5841
6444
  }
5842
6445
  }
5843
6446
 
@@ -5850,7 +6453,8 @@ __export(ruby_exports, {
5850
6453
  Type: () => Type5,
5851
6454
  TypeName: () => TypeName5
5852
6455
  });
5853
- import * as React19 from "react";
6456
+ import * as React15 from "react";
6457
+ import { Fragment as Fragment14, jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
5854
6458
  var ComplexTypes3 = {
5855
6459
  RubyTypeObject: "object",
5856
6460
  RubyTypeUnion: "union",
@@ -5868,7 +6472,7 @@ var Keywords2 = {
5868
6472
  };
5869
6473
  function TypeName5({ type }) {
5870
6474
  const Lang = useLanguageComponents();
5871
- return ComplexTypes3[type.kind] ?? /* @__PURE__ */ React19.createElement(Lang.Type, { type });
6475
+ return ComplexTypes3[type.kind] ?? /* @__PURE__ */ jsx23(Lang.Type, { type });
5872
6476
  }
5873
6477
  var VALID_IDENTIFIER = /^[_A-Za-z][_A-Za-z0-9]*$/;
5874
6478
  function TypePreview2({ path }) {
@@ -5880,9 +6484,17 @@ function TypePreview2({ path }) {
5880
6484
  return;
5881
6485
  const items = decl.children.map((prop, key) => {
5882
6486
  const p = spec?.decls?.[language]?.[prop];
5883
- return /* @__PURE__ */ React19.createElement("span", { key, className: style_default.TypePropertyName }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, p && "ident" in p ? p["ident"] : null));
6487
+ return /* @__PURE__ */ jsx23("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: p && "ident" in p ? p["ident"] : null }) }, key);
5884
6488
  });
5885
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties" }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeBrace }, " {"), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePreviewContent }, " ", /* @__PURE__ */ React19.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextOperator }, ", ")), " "), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeBrace }, "} "));
6489
+ return /* @__PURE__ */ jsxs16("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties", children: [
6490
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeBrace, children: " {" }),
6491
+ /* @__PURE__ */ jsxs16("span", { className: style_default.TypePreviewContent, children: [
6492
+ " ",
6493
+ /* @__PURE__ */ jsx23(Join2, { items, limit: 3, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextOperator, children: ", " }) }),
6494
+ " "
6495
+ ] }),
6496
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeBrace, children: "} " })
6497
+ ] });
5886
6498
  }
5887
6499
  function Type5({ type }) {
5888
6500
  const Lang = useLanguageComponents();
@@ -5894,49 +6506,89 @@ function Type5({ type }) {
5894
6506
  case "RubyTypeInteger":
5895
6507
  case "RubyTypeFloat":
5896
6508
  case "RubyTypeBoolean":
5897
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeKeyword }, Keywords2[type.kind]));
6509
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsx23("span", { className: style_default.TypeKeyword, children: Keywords2[type.kind] }) });
5898
6510
  case "RubyTypeString":
5899
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeString }, "String"));
6511
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsx23("span", { className: style_default.TypeString, children: "String" }) });
5900
6512
  case "RubyTypeLiteral":
5901
6513
  switch (typeof type.literal) {
5902
6514
  case "string":
5903
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.LiteralString }, ":", type.literal.match(VALID_IDENTIFIER) ? type.literal : JSON.stringify(type.literal)));
6515
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsxs16("span", { className: style_default.LiteralString, children: [
6516
+ ":",
6517
+ type.literal.match(VALID_IDENTIFIER) ? type.literal : JSON.stringify(type.literal)
6518
+ ] }) });
5904
6519
  case "number":
5905
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.LiteralNumeric }, JSON.stringify(type.literal)));
6520
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsx23("span", { className: style_default.LiteralNumeric, children: JSON.stringify(type.literal) }) });
5906
6521
  case "boolean":
5907
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.LiteralBoolean }, JSON.stringify(type.literal)));
6522
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsx23("span", { className: style_default.LiteralBoolean, children: JSON.stringify(type.literal) }) });
5908
6523
  }
5909
6524
  break;
5910
6525
  case "RubyTypeArray":
5911
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeArray }, "Array["), /* @__PURE__ */ React19.createElement(Lang.Type, { type: type.elementType }), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeArray }, "]"));
6526
+ return /* @__PURE__ */ jsxs16("span", { className: style_default.Type, children: [
6527
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeArray, children: "Array[" }),
6528
+ /* @__PURE__ */ jsx23(Lang.Type, { type: type.elementType }),
6529
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeArray, children: "]" })
6530
+ ] });
5912
6531
  case "RubyTypeMap":
5913
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeArray }, "Hash["), type.indexType.kind === "RubyTypeString" ? /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeString }, "Symbol") : /* @__PURE__ */ React19.createElement(Lang.Type, { type: type.indexType }), ", ", /* @__PURE__ */ React19.createElement(Lang.Type, { type: type.itemType }), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeArray }, "]"));
6532
+ return /* @__PURE__ */ jsxs16("span", { className: style_default.Type, children: [
6533
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeArray, children: "Hash[" }),
6534
+ type.indexType.kind === "RubyTypeString" ? /* @__PURE__ */ jsx23("span", { className: style_default.TypeString, children: "Symbol" }) : /* @__PURE__ */ jsx23(Lang.Type, { type: type.indexType }),
6535
+ ", ",
6536
+ /* @__PURE__ */ jsx23(Lang.Type, { type: type.itemType }),
6537
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeArray, children: "]" })
6538
+ ] });
5914
6539
  case "RubyTypeReference": {
5915
6540
  const name = type.ident.split(".").at(-1);
5916
6541
  if (!type.typeParameters || type.typeParameters.length === 0)
5917
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement(SDKReference2, { stainlessPath: type.$ref }, name), /* @__PURE__ */ React19.createElement(TypePreview2, { path: type.$ref }));
5918
- const typeParameters = type.typeParameters.map((t, i) => /* @__PURE__ */ React19.createElement(Lang.Type, { key: i, type: t }));
5919
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement(SDKReference2, { stainlessPath: type.$ref }, name), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeBracket }, "<"), /* @__PURE__ */ React19.createElement(Join2, { items: typeParameters }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeBracket }, ">"), /* @__PURE__ */ React19.createElement(TypePreview2, { path: type.$ref }));
6542
+ return /* @__PURE__ */ jsxs16("span", { className: style_default.Type, children: [
6543
+ /* @__PURE__ */ jsx23(SDKReference2, { stainlessPath: type.$ref, children: name }),
6544
+ /* @__PURE__ */ jsx23(TypePreview2, { path: type.$ref })
6545
+ ] });
6546
+ const typeParameters = type.typeParameters.map((t, i) => /* @__PURE__ */ jsx23(Lang.Type, { type: t }, i));
6547
+ return /* @__PURE__ */ jsxs16("span", { className: style_default.Type, children: [
6548
+ /* @__PURE__ */ jsx23(SDKReference2, { stainlessPath: type.$ref, children: name }),
6549
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeBracket, children: "<" }),
6550
+ /* @__PURE__ */ jsx23(Join2, { items: typeParameters, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextOperator, children: ", " }) }),
6551
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeBracket, children: ">" }),
6552
+ /* @__PURE__ */ jsx23(TypePreview2, { path: type.$ref })
6553
+ ] });
5920
6554
  }
5921
6555
  case "RubyTypeIntersection":
5922
6556
  case "RubyTypeUnion": {
5923
- const items = type.types.map((t, key) => /* @__PURE__ */ React19.createElement(Lang.Type, { key, type: t }));
6557
+ const items = type.types.map((t, key) => /* @__PURE__ */ jsx23(Lang.Type, { type: t }, key));
5924
6558
  const delimiter = type.kind === "RubyTypeUnion" ? "|" : "&";
5925
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "union" }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePreviewContent }, /* @__PURE__ */ React19.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextOperator }, " ", delimiter, " ")))));
6559
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsx23("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "union", children: /* @__PURE__ */ jsx23("span", { className: style_default.TypePreviewContent, children: /* @__PURE__ */ jsx23(Join2, { items, limit: 3, children: /* @__PURE__ */ jsxs16("span", { className: style_default.TextOperator, children: [
6560
+ " ",
6561
+ delimiter,
6562
+ " "
6563
+ ] }) }) }) }) });
5926
6564
  }
5927
6565
  case "RubyTypeBuiltinClass":
5928
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeReference }, type.className);
6566
+ return /* @__PURE__ */ jsx23("span", { className: style_default.TypeReference, children: type.className });
5929
6567
  case "RubyTypeObject": {
5930
- const items = type.members.map((prop, key) => /* @__PURE__ */ React19.createElement("span", { key, className: style_default.TextIdentifier }, prop.ident));
5931
- return /* @__PURE__ */ React19.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties" }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePreviewContent }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeBrace }, "{ "), /* @__PURE__ */ React19.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React19.createElement("span", { className: style_default.TypeBrace }, "}"))));
6568
+ const items = type.members.map((prop, key) => /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: prop.ident }, key));
6569
+ return /* @__PURE__ */ jsx23("span", { className: style_default.Type, children: /* @__PURE__ */ jsx23("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties", children: /* @__PURE__ */ jsxs16("span", { className: style_default.TypePreviewContent, children: [
6570
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeBrace, children: "{ " }),
6571
+ /* @__PURE__ */ jsx23(Join2, { items, limit: 3, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextOperator, children: ", " }) }),
6572
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypeBrace, children: "}" })
6573
+ ] }) }) });
5932
6574
  }
5933
6575
  }
5934
6576
  }
5935
6577
  function MethodSignature5({ decl }) {
5936
6578
  const Lang = useLanguageComponents();
5937
6579
  const { Join: Join2 } = useComponents2();
5938
- const params = decl.args.map((param, i) => /* @__PURE__ */ React19.createElement(React19.Fragment, { key: i }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, param.ident)));
5939
- return /* @__PURE__ */ React19.createElement("div", { className: style_default.MethodSignature }, /* @__PURE__ */ React19.createElement("span", { className: style_default.SignatureTitle }, /* @__PURE__ */ React19.createElement("span", { className: style_default.SignatureQualified }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, decl.qualified?.slice(0, -decl.ident.length))), /* @__PURE__ */ React19.createElement("span", { className: style_default.SignatureName }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React19.createElement("span", { className: style_default.MethodSignature }, /* @__PURE__ */ React19.createElement("span", { className: style_default.SignatureParen }, "("), /* @__PURE__ */ React19.createElement("span", { className: style_default.SignatureParams }, /* @__PURE__ */ React19.createElement(Join2, { items: params }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React19.createElement("span", { className: style_default.SignatureParen }, ")"), " -> ", decl.returns ? /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.returns }) : "void")));
6580
+ const params = decl.args.map((param, i) => /* @__PURE__ */ jsx23(React15.Fragment, { children: /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: param.ident }) }, i));
6581
+ return /* @__PURE__ */ jsx23("div", { className: style_default.MethodSignature, children: /* @__PURE__ */ jsxs16("span", { className: style_default.SignatureTitle, children: [
6582
+ /* @__PURE__ */ jsx23("span", { className: style_default.SignatureQualified, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: decl.qualified?.slice(0, -decl.ident.length) }) }),
6583
+ /* @__PURE__ */ jsx23("span", { className: style_default.SignatureName, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
6584
+ /* @__PURE__ */ jsxs16("span", { className: style_default.MethodSignature, children: [
6585
+ /* @__PURE__ */ jsx23("span", { className: style_default.SignatureParen, children: "(" }),
6586
+ /* @__PURE__ */ jsx23("span", { className: style_default.SignatureParams, children: /* @__PURE__ */ jsx23(Join2, { items: params, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextOperator, children: ", " }) }) }),
6587
+ /* @__PURE__ */ jsx23("span", { className: style_default.SignatureParen, children: ")" }),
6588
+ " -> ",
6589
+ decl.returns ? /* @__PURE__ */ jsx23(Lang.Type, { type: decl.returns }) : "void"
6590
+ ] })
6591
+ ] }) });
5940
6592
  }
5941
6593
  function Property6({ decl, children }) {
5942
6594
  const Lang = useLanguageComponents();
@@ -5944,17 +6596,17 @@ function Property6({ decl, children }) {
5944
6596
  case "RubyDeclProperty":
5945
6597
  return children({
5946
6598
  name: decl.ident,
5947
- typeName: /* @__PURE__ */ React19.createElement(Lang.TypeName, { type: decl.type }),
5948
- type: decl.type.kind in ComplexTypes3 && /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.type })
6599
+ typeName: /* @__PURE__ */ jsx23(Lang.TypeName, { type: decl.type }),
6600
+ type: decl.type.kind in ComplexTypes3 && /* @__PURE__ */ jsx23(Lang.Type, { type: decl.type })
5949
6601
  });
5950
6602
  case "RubyDeclTypeAlias":
5951
6603
  return children({
5952
6604
  name: decl.ident,
5953
6605
  typeName: "alias",
5954
- type: /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.type })
6606
+ type: /* @__PURE__ */ jsx23(Lang.Type, { type: decl.type })
5955
6607
  });
5956
6608
  case "RubyDeclReference":
5957
- return children({ type: /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.type }) });
6609
+ return children({ type: /* @__PURE__ */ jsx23(Lang.Type, { type: decl.type }) });
5958
6610
  case "RubyDeclClass":
5959
6611
  return children({ name: decl.ident, typeName: "class" });
5960
6612
  }
@@ -5964,13 +6616,25 @@ function Declaration5({ decl }) {
5964
6616
  if (!decl) return;
5965
6617
  switch (decl.kind) {
5966
6618
  case "RubyDeclProperty":
5967
- return /* @__PURE__ */ React19.createElement(React19.Fragment, null, /* @__PURE__ */ React19.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, decl.ident)), /* @__PURE__ */ React19.createElement("span", { className: style_default.TextPunctuation }, ": "), /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.type }));
6619
+ return /* @__PURE__ */ jsxs16(Fragment14, { children: [
6620
+ /* @__PURE__ */ jsx23("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: decl.ident }) }),
6621
+ /* @__PURE__ */ jsx23("span", { className: style_default.TextPunctuation, children: ": " }),
6622
+ /* @__PURE__ */ jsx23(Lang.Type, { type: decl.type })
6623
+ ] });
5968
6624
  case "RubyDeclTypeAlias":
5969
- return /* @__PURE__ */ React19.createElement(React19.Fragment, null, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React19.createElement("span", { className: style_default.TextOperator }, " = "), /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.type }));
6625
+ return /* @__PURE__ */ jsxs16(Fragment14, { children: [
6626
+ /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: decl.ident }),
6627
+ /* @__PURE__ */ jsx23("span", { className: style_default.TextOperator, children: " = " }),
6628
+ /* @__PURE__ */ jsx23(Lang.Type, { type: decl.type })
6629
+ ] });
5970
6630
  case "RubyDeclClass":
5971
- return /* @__PURE__ */ React19.createElement(React19.Fragment, null, /* @__PURE__ */ React19.createElement("span", { className: style_default.TextKeyword }, "class "), /* @__PURE__ */ React19.createElement("span", { className: style_default.TextIdentifier }, decl.ident), /* @__PURE__ */ React19.createElement(TypePreview2, { path: decl.stainlessPath }));
6631
+ return /* @__PURE__ */ jsxs16(Fragment14, { children: [
6632
+ /* @__PURE__ */ jsx23("span", { className: style_default.TextKeyword, children: "class " }),
6633
+ /* @__PURE__ */ jsx23("span", { className: style_default.TextIdentifier, children: decl.ident }),
6634
+ /* @__PURE__ */ jsx23(TypePreview2, { path: decl.stainlessPath })
6635
+ ] });
5972
6636
  case "RubyDeclReference":
5973
- return /* @__PURE__ */ React19.createElement(Lang.Type, { type: decl.type });
6637
+ return /* @__PURE__ */ jsx23(Lang.Type, { type: decl.type });
5974
6638
  }
5975
6639
  }
5976
6640
 
@@ -5984,7 +6648,8 @@ __export(http_exports, {
5984
6648
  Type: () => Type6,
5985
6649
  TypeName: () => TypeName6
5986
6650
  });
5987
- import React20 from "react";
6651
+ import React16 from "react";
6652
+ import { Fragment as Fragment15, jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
5988
6653
  var ComplexTypes4 = {
5989
6654
  HttpTypeUnion: "union",
5990
6655
  HttpTypeIntersection: "intersection"
@@ -5995,7 +6660,7 @@ var constStyle4 = {
5995
6660
  boolean: style_default.LiteralBoolean
5996
6661
  };
5997
6662
  function Identifier2({ name }) {
5998
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement("span", { className: style_default.TextIdentifier }, /^[_a-zA-Z][_a-zA-Z0-9]*$/.test(name) ? name : JSON.stringify(name)));
6663
+ return /* @__PURE__ */ jsx24(Fragment15, { children: /* @__PURE__ */ jsx24("span", { className: style_default.TextIdentifier, children: /^[_a-zA-Z][_a-zA-Z0-9]*$/.test(name) ? name : JSON.stringify(name) }) });
5999
6664
  }
6000
6665
  function TypePreview3({ path }) {
6001
6666
  const spec = useSpec();
@@ -6006,16 +6671,23 @@ function TypePreview3({ path }) {
6006
6671
  return;
6007
6672
  const items = decl.children.map((prop, key) => {
6008
6673
  const decl2 = spec?.decls?.[language]?.[prop];
6009
- return /* @__PURE__ */ React20.createElement("span", { key, className: style_default.TypePropertyName }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TextIdentifier }, decl2 && "key" in decl2 ? decl2?.["key"] : null));
6674
+ return /* @__PURE__ */ jsx24("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx24("span", { className: style_default.TextIdentifier, children: decl2 && "key" in decl2 ? decl2?.["key"] : null }) }, key);
6010
6675
  });
6011
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties" }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeBrace }, " { "), /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePreviewContent }, /* @__PURE__ */ React20.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TextOperator }, ", "))), /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeBrace }, " } "));
6676
+ return /* @__PURE__ */ jsxs17("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties", children: [
6677
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeBrace, children: " { " }),
6678
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypePreviewContent, children: /* @__PURE__ */ jsx24(Join2, { items, limit: 3, children: /* @__PURE__ */ jsx24("span", { className: style_default.TextOperator, children: ", " }) }) }),
6679
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeBrace, children: " } " })
6680
+ ] });
6012
6681
  }
6013
6682
  function TypeName6({ type }) {
6014
6683
  const Lang = useLanguageComponents();
6015
- if (type.kind === "HttpTypeArray") return /* @__PURE__ */ React20.createElement(React20.Fragment, null, "array of ", /* @__PURE__ */ React20.createElement(Lang.TypeName, { type: type.elementType }));
6684
+ if (type.kind === "HttpTypeArray") return /* @__PURE__ */ jsxs17(Fragment15, { children: [
6685
+ "array of ",
6686
+ /* @__PURE__ */ jsx24(Lang.TypeName, { type: type.elementType })
6687
+ ] });
6016
6688
  if (type.kind === "HttpTypeUnion" && type.types.every((t) => t.kind === "HttpTypeLiteral")) return "enum";
6017
6689
  if (type.kind === "HttpTypeReference" && type.ident.split(".").at(-1) === "Record") return "map";
6018
- return ComplexTypes4[type.kind] ?? /* @__PURE__ */ React20.createElement(Lang.Type, { type });
6690
+ return ComplexTypes4[type.kind] ?? /* @__PURE__ */ jsx24(Lang.Type, { type });
6019
6691
  }
6020
6692
  function Type6({ type }) {
6021
6693
  const Lang = useLanguageComponents();
@@ -6026,30 +6698,61 @@ function Type6({ type }) {
6026
6698
  case "HttpTypeNull":
6027
6699
  case "HttpTypeBoolean":
6028
6700
  case "HttpTypeNumber":
6029
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePlain }, type.kind.slice(8).toLowerCase()));
6701
+ return /* @__PURE__ */ jsx24("span", { className: style_default.Type, children: /* @__PURE__ */ jsx24("span", { className: style_default.TypePlain, children: type.kind.slice(8).toLowerCase() }) });
6030
6702
  case "HttpTypeString":
6031
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePlain }, "string"));
6703
+ return /* @__PURE__ */ jsx24("span", { className: style_default.Type, children: /* @__PURE__ */ jsx24("span", { className: style_default.TypePlain, children: "string" }) });
6032
6704
  case "HttpTypeLiteral":
6033
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement("span", { className: constStyle4[typeof type.literal] }, JSON.stringify(type.literal)));
6705
+ return /* @__PURE__ */ jsx24("span", { className: style_default.Type, children: /* @__PURE__ */ jsx24("span", { className: constStyle4[typeof type.literal], children: JSON.stringify(type.literal) }) });
6034
6706
  case "HttpTypeArray": {
6035
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeArray }, "array of "), /* @__PURE__ */ React20.createElement(Lang.Type, { type: type.elementType }));
6707
+ return /* @__PURE__ */ jsxs17("span", { className: style_default.Type, children: [
6708
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeArray, children: "array of " }),
6709
+ /* @__PURE__ */ jsx24(Lang.Type, { type: type.elementType })
6710
+ ] });
6036
6711
  }
6037
6712
  case "HttpTypeIntersection":
6038
6713
  case "HttpTypeUnion": {
6039
- const items = type.types.map((t, key) => /* @__PURE__ */ React20.createElement(Lang.Type, { key, type: t }));
6714
+ const items = type.types.map((t, key) => /* @__PURE__ */ jsx24(Lang.Type, { type: t }, key));
6040
6715
  const delimiter = type.kind === "HttpTypeUnion" ? "or" : "and";
6041
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "union" }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePreviewContent }, /* @__PURE__ */ React20.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TextOperator }, " ", delimiter, " ")))));
6716
+ return /* @__PURE__ */ jsx24("span", { className: style_default.Type, children: /* @__PURE__ */ jsx24("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "union", children: /* @__PURE__ */ jsx24("span", { className: style_default.TypePreviewContent, children: /* @__PURE__ */ jsx24(Join2, { items, limit: 3, children: /* @__PURE__ */ jsxs17("span", { className: style_default.TextOperator, children: [
6717
+ " ",
6718
+ delimiter,
6719
+ " "
6720
+ ] }) }) }) }) });
6042
6721
  }
6043
6722
  case "HttpTypeReference": {
6044
6723
  const name = type.ident.split(".").at(-1);
6045
- const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ React20.createElement(Lang.Type, { key, type: param }));
6724
+ const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx24(Lang.Type, { type: param }, key));
6046
6725
  if (name === "Record" && type.typeParameters?.length === 2 && type.typeParameters?.at(0).kind === "HttpTypeString")
6047
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeArray }, "map"), "[", params?.[1], "]");
6048
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement(SDKReference2, { stainlessPath: type.$ref }, name), params && params.length > 0 && /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeBracket }, "<"), /* @__PURE__ */ React20.createElement(Join2, { items: params, limit: 3 }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TextOperator }, ", ")), /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeBracket }, ">")), /* @__PURE__ */ React20.createElement(TypePreview3, { path: type.$ref }));
6726
+ return /* @__PURE__ */ jsxs17(Fragment15, { children: [
6727
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeArray, children: "map" }),
6728
+ "[",
6729
+ params?.[1],
6730
+ "]"
6731
+ ] });
6732
+ return /* @__PURE__ */ jsxs17("span", { className: style_default.Type, children: [
6733
+ /* @__PURE__ */ jsx24(SDKReference2, { stainlessPath: type.$ref, children: name }),
6734
+ params && params.length > 0 && /* @__PURE__ */ jsxs17(Fragment15, { children: [
6735
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeBracket, children: "<" }),
6736
+ /* @__PURE__ */ jsx24(Join2, { items: params, limit: 3, children: /* @__PURE__ */ jsx24("span", { className: style_default.TextOperator, children: ", " }) }),
6737
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeBracket, children: ">" })
6738
+ ] }),
6739
+ /* @__PURE__ */ jsx24(TypePreview3, { path: type.$ref })
6740
+ ] });
6049
6741
  }
6050
6742
  case "HttpTypeObject": {
6051
- const items = type.members.map(({ ident }) => /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePropertyName, key: ident }, /* @__PURE__ */ React20.createElement(Identifier2, { name: ident })));
6052
- return /* @__PURE__ */ React20.createElement("span", { className: style_default.Type }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePlain }, "object"), /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties" }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeBrace }, " {"), /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePreviewContent }, " ", /* @__PURE__ */ React20.createElement(Join2, { items, limit: 3 }, /* @__PURE__ */ React20.createElement("span", { className: style_default.TextOperator }, ", ")), " "), /* @__PURE__ */ React20.createElement("span", { className: style_default.TypeBrace }, "} ")));
6743
+ const items = type.members.map(({ ident }) => /* @__PURE__ */ jsx24("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx24(Identifier2, { name: ident }) }, ident));
6744
+ return /* @__PURE__ */ jsxs17("span", { className: style_default.Type, children: [
6745
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypePlain, children: "object" }),
6746
+ /* @__PURE__ */ jsxs17("span", { className: style_default.TypePreview, "data-stldocs-type-preview": "properties", children: [
6747
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeBrace, children: " {" }),
6748
+ /* @__PURE__ */ jsxs17("span", { className: style_default.TypePreviewContent, children: [
6749
+ " ",
6750
+ /* @__PURE__ */ jsx24(Join2, { items, limit: 3, children: /* @__PURE__ */ jsx24("span", { className: style_default.TextOperator, children: ", " }) }),
6751
+ " "
6752
+ ] }),
6753
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypeBrace, children: "} " })
6754
+ ] })
6755
+ ] });
6053
6756
  }
6054
6757
  }
6055
6758
  }
@@ -6059,16 +6762,44 @@ function MethodSignature6({ decl }) {
6059
6762
  }
6060
6763
  function MethodInfo2({ decl, children }) {
6061
6764
  const Docs = useComponents2();
6062
- const params = Object.entries(decl.paramsChildren).filter(([, value]) => value.length).map(([location, value]) => /* @__PURE__ */ React20.createElement(React20.Fragment, { key: location }, /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodParameters, "data-stldocs-property-group": location.at(0) }, /* @__PURE__ */ React20.createElement("h5", null, location.at(0).toUpperCase(), location.slice(1), " Parameters", /* @__PURE__ */ React20.createElement(PropertyToggle, { target: location.at(0) })), /* @__PURE__ */ React20.createElement(Docs.SDKChildren, { paths: value }))));
6765
+ const params = Object.entries(decl.paramsChildren).filter(([, value]) => value.length).map(([location, value]) => /* @__PURE__ */ jsx24(React16.Fragment, { children: /* @__PURE__ */ jsxs17("div", { className: style_default.MethodParameters, "data-stldocs-property-group": location.at(0), children: [
6766
+ /* @__PURE__ */ jsxs17("h5", { children: [
6767
+ location.at(0).toUpperCase(),
6768
+ location.slice(1),
6769
+ " Parameters",
6770
+ /* @__PURE__ */ jsx24(PropertyToggle, { target: location.at(0) })
6771
+ ] }),
6772
+ /* @__PURE__ */ jsx24(Docs.SDKChildren, { paths: value })
6773
+ ] }) }, location));
6063
6774
  if ((decl.bodyParamsChildren?.["application/json"]?.length ?? 0) > 0)
6064
6775
  params.push(
6065
- /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodInfoSection }, /* @__PURE__ */ React20.createElement("h5", null, "Body Parameters", /* @__PURE__ */ React20.createElement(PropertyToggle, { target: "body" })), /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodParameters, "data-stldocs-property-group": "body" }, /* @__PURE__ */ React20.createElement(Docs.SDKChildren, { paths: decl.bodyParamsChildren?.["application/json"] ?? [] })))
6776
+ /* @__PURE__ */ jsxs17("div", { className: style_default.MethodInfoSection, children: [
6777
+ /* @__PURE__ */ jsxs17("h5", { children: [
6778
+ "Body Parameters",
6779
+ /* @__PURE__ */ jsx24(PropertyToggle, { target: "body" })
6780
+ ] }),
6781
+ /* @__PURE__ */ jsx24("div", { className: style_default.MethodParameters, "data-stldocs-property-group": "body", children: /* @__PURE__ */ jsx24(Docs.SDKChildren, { paths: decl.bodyParamsChildren?.["application/json"] ?? [] }) })
6782
+ ] })
6066
6783
  );
6067
- return /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodInfo }, children && /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodContent }, children), params.length > 0 && params, (decl.responseChildren?.length ?? 0) > 0 && /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodInfoSection }, /* @__PURE__ */ React20.createElement("h5", null, "Returns", /* @__PURE__ */ React20.createElement(PropertyToggle, { target: "returns" })), /* @__PURE__ */ React20.createElement("div", { className: style_default.MethodReturns, "data-stldocs-property-group": "returns" }, /* @__PURE__ */ React20.createElement(Docs.SDKChildren, { paths: decl.responseChildren ?? [] }))));
6784
+ return /* @__PURE__ */ jsxs17("div", { className: style_default.MethodInfo, children: [
6785
+ children && /* @__PURE__ */ jsx24("div", { className: style_default.MethodContent, children }),
6786
+ params.length > 0 && params,
6787
+ (decl.responseChildren?.length ?? 0) > 0 && /* @__PURE__ */ jsxs17("div", { className: style_default.MethodInfoSection, children: [
6788
+ /* @__PURE__ */ jsxs17("h5", { children: [
6789
+ "Returns",
6790
+ /* @__PURE__ */ jsx24(PropertyToggle, { target: "returns" })
6791
+ ] }),
6792
+ /* @__PURE__ */ jsx24("div", { className: style_default.MethodReturns, "data-stldocs-property-group": "returns", children: /* @__PURE__ */ jsx24(Docs.SDKChildren, { paths: decl.responseChildren ?? [] }) })
6793
+ ] })
6794
+ ] });
6068
6795
  }
6069
6796
  function renderVariantInfo(type) {
6070
6797
  if (type.kind === "HttpTypeUnion" && type.types.every((t) => t.kind === "HttpTypeObject" || t.kind === "HttpTypeReference"))
6071
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, "One of the following ", type.types.length, " object variants:");
6798
+ return /* @__PURE__ */ jsxs17(Fragment15, { children: [
6799
+ "One of the following ",
6800
+ type.types.length,
6801
+ " object variants:"
6802
+ ] });
6072
6803
  }
6073
6804
  function Property7({ decl, children }) {
6074
6805
  const Lang = useLanguageComponents();
@@ -6078,17 +6809,17 @@ function Property7({ decl, children }) {
6078
6809
  const variants = renderVariantInfo(decl.type);
6079
6810
  return children({
6080
6811
  name: decl.key,
6081
- typeName: /* @__PURE__ */ React20.createElement(Lang.TypeName, { type: decl.type }),
6082
- type: decl.type.kind in ComplexTypes4 && !variants && /* @__PURE__ */ React20.createElement(Lang.Type, { type: decl.type })
6812
+ typeName: /* @__PURE__ */ jsx24(Lang.TypeName, { type: decl.type }),
6813
+ type: decl.type.kind in ComplexTypes4 && !variants && /* @__PURE__ */ jsx24(Lang.Type, { type: decl.type })
6083
6814
  });
6084
6815
  }
6085
6816
  case "HttpDeclTypeAlias":
6086
6817
  return children({
6087
6818
  name: decl.ident,
6088
- typeName: /* @__PURE__ */ React20.createElement(Lang.TypeName, { type: decl.type })
6819
+ typeName: /* @__PURE__ */ jsx24(Lang.TypeName, { type: decl.type })
6089
6820
  });
6090
6821
  case "HttpDeclReference":
6091
- return children({ type: /* @__PURE__ */ React20.createElement(Lang.Type, { type: decl.type }) });
6822
+ return children({ type: /* @__PURE__ */ jsx24(Lang.Type, { type: decl.type }) });
6092
6823
  }
6093
6824
  }
6094
6825
  function Declaration6({ decl }) {
@@ -6096,11 +6827,20 @@ function Declaration6({ decl }) {
6096
6827
  if (!decl) return;
6097
6828
  switch (decl.kind) {
6098
6829
  case "HttpDeclProperty":
6099
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement("span", { className: style_default.TypePropertyName }, /* @__PURE__ */ React20.createElement(Identifier2, { name: decl.key })), /* @__PURE__ */ React20.createElement("span", { className: style_default.TextPunctuation }, ": "), decl.optional && /* @__PURE__ */ React20.createElement("span", { className: style_default.TextPunctuation }, "optional "), /* @__PURE__ */ React20.createElement(Lang.Type, { type: decl.type }));
6830
+ return /* @__PURE__ */ jsxs17(Fragment15, { children: [
6831
+ /* @__PURE__ */ jsx24("span", { className: style_default.TypePropertyName, children: /* @__PURE__ */ jsx24(Identifier2, { name: decl.key }) }),
6832
+ /* @__PURE__ */ jsx24("span", { className: style_default.TextPunctuation, children: ": " }),
6833
+ decl.optional && /* @__PURE__ */ jsx24("span", { className: style_default.TextPunctuation, children: "optional " }),
6834
+ /* @__PURE__ */ jsx24(Lang.Type, { type: decl.type })
6835
+ ] });
6100
6836
  case "HttpDeclTypeAlias":
6101
- return /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(Identifier2, { name: decl.ident }), /* @__PURE__ */ React20.createElement("span", { className: style_default.TextOperator }, " = "), /* @__PURE__ */ React20.createElement(Lang.Type, { type: decl.type }));
6837
+ return /* @__PURE__ */ jsxs17(Fragment15, { children: [
6838
+ /* @__PURE__ */ jsx24(Identifier2, { name: decl.ident }),
6839
+ /* @__PURE__ */ jsx24("span", { className: style_default.TextOperator, children: " = " }),
6840
+ /* @__PURE__ */ jsx24(Lang.Type, { type: decl.type })
6841
+ ] });
6102
6842
  case "HttpDeclReference":
6103
- return /* @__PURE__ */ React20.createElement(Lang.Type, { type: decl.type });
6843
+ return /* @__PURE__ */ jsx24(Lang.Type, { type: decl.type });
6104
6844
  }
6105
6845
  }
6106
6846
 
@@ -6108,6 +6848,12 @@ function Declaration6({ decl }) {
6108
6848
  var node = typescript_exports;
6109
6849
  var kotlin = java_exports;
6110
6850
 
6851
+ // src/contexts/component.tsx
6852
+ import { jsx as jsx25 } from "react/jsx-runtime";
6853
+
6854
+ // src/search/printer.tsx
6855
+ import { jsx as jsx26 } from "react/jsx-runtime";
6856
+
6111
6857
  // ../../node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.js
6112
6858
  var _a;
6113
6859
  var fromCodePoint = (
@@ -6924,13 +7670,14 @@ async function search({
6924
7670
  }
6925
7671
 
6926
7672
  // src/contexts/search.tsx
7673
+ import { jsx as jsx27 } from "react/jsx-runtime";
6927
7674
  var [Provider2, useSearchContext] = createStrictContext("SearchContext");
6928
7675
  function useSearch() {
6929
7676
  const { settings } = useSearchContext();
6930
7677
  return (params) => search({ settings, params });
6931
7678
  }
6932
7679
  function SearchProvider({ children, ...props }) {
6933
- return /* @__PURE__ */ React23.createElement(Provider2, { value: props }, children);
7680
+ return /* @__PURE__ */ jsx27(Provider2, { value: props, children });
6934
7681
  }
6935
7682
 
6936
7683
  // src/contexts/index.tsx