@mintlify/components 0.1.44 → 0.1.45
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.
- package/build-storybook.log +66 -62
- package/dist/Code/CodeBlock.d.ts +9 -0
- package/dist/Code/CodeGroup.d.ts +17 -0
- package/dist/Code/CopyToClipboardButton.d.ts +5 -0
- package/dist/Code/index.d.ts +3 -0
- package/dist/CodeBlock/CodeGroup.d.ts +11 -0
- package/dist/CodeBlock/index.d.ts +2 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/main.css +67 -19
- package/package.json +1 -1
package/build-storybook.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
info @storybook/react v6.5.
|
|
1
|
+
info @storybook/react v6.5.13
|
|
2
2
|
info
|
|
3
|
-
info => Cleaning outputDir: /var/folders/xs/h01kpl5x3xzdn3gr17jjwp2w0000gn/T/chromatic--
|
|
3
|
+
info => Cleaning outputDir: /var/folders/xs/h01kpl5x3xzdn3gr17jjwp2w0000gn/T/chromatic--4974-RM14HT9wgVSB
|
|
4
4
|
info => Loading presets
|
|
5
5
|
info => Compiling manager..
|
|
6
6
|
info => Compiling preview..
|
|
@@ -116,31 +116,35 @@ info => Using default Webpack5 setup
|
|
|
116
116
|
<s> [webpack.Progress] 9% setup compilation
|
|
117
117
|
<s> [webpack.Progress] 10% building
|
|
118
118
|
<s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
|
|
119
|
+
(node:4991) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
|
|
120
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
119
121
|
<s> [webpack.Progress] 10% building import loader ./node_modules/babel-loader/lib/index.js
|
|
120
122
|
<s> [webpack.Progress] 10% building 0/14 entries 13/18 dependencies 0/12 modules
|
|
121
|
-
<s> [webpack.Progress] 13% building 1/14 entries 21/
|
|
123
|
+
<s> [webpack.Progress] 13% building 1/14 entries 21/74 dependencies 2/18 modules
|
|
122
124
|
<s> [webpack.Progress] 13% building import loader ./node_modules/@storybook/source-loader/dist/cjs/index.js
|
|
123
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
124
|
-
<s> [webpack.Progress] 17% building 2/14 entries
|
|
125
|
+
<s> [webpack.Progress] 13% building 1/14 entries 46/75 dependencies 2/43 modules
|
|
126
|
+
<s> [webpack.Progress] 17% building 2/14 entries 191/354 dependencies 9/114 modules
|
|
127
|
+
<s> [webpack.Progress] 17% building 2/14 entries 987/1092 dependencies 40/349 modules
|
|
125
128
|
<s> [webpack.Progress] 17% building import loader ./node_modules/@storybook/addon-postcss/node_modules/style-loader/dist/cjs.js
|
|
126
129
|
<s> [webpack.Progress] 17% building import loader ./node_modules/@storybook/addon-postcss/node_modules/css-loader/dist/cjs.js
|
|
127
130
|
<s> [webpack.Progress] 17% building import loader ./node_modules/@storybook/addon-postcss/node_modules/postcss-loader/dist/cjs.js
|
|
128
|
-
<s> [webpack.Progress] 17% building 2/14 entries
|
|
129
|
-
<s> [webpack.Progress] 17% building 2/14 entries
|
|
130
|
-
<s> [webpack.Progress] 17% building 2/14 entries
|
|
131
|
-
<s> [webpack.Progress] 17% building 2/14 entries
|
|
132
|
-
<s> [webpack.Progress]
|
|
133
|
-
<s> [webpack.Progress]
|
|
134
|
-
<s> [webpack.Progress]
|
|
135
|
-
<s> [webpack.Progress]
|
|
136
|
-
<s> [webpack.Progress]
|
|
137
|
-
<s> [webpack.Progress]
|
|
138
|
-
<s> [webpack.Progress]
|
|
139
|
-
<s> [webpack.Progress]
|
|
140
|
-
<s> [webpack.Progress]
|
|
141
|
-
<s> [webpack.Progress]
|
|
142
|
-
<s> [webpack.Progress]
|
|
143
|
-
<s> [webpack.Progress]
|
|
131
|
+
<s> [webpack.Progress] 17% building 2/14 entries 1066/1117 dependencies 52/359 modules
|
|
132
|
+
<s> [webpack.Progress] 17% building 2/14 entries 1880/2000 dependencies 162/452 modules
|
|
133
|
+
<s> [webpack.Progress] 17% building 2/14 entries 3048/3100 dependencies 374/634 modules
|
|
134
|
+
<s> [webpack.Progress] 17% building 2/14 entries 3073/3200 dependencies 381/653 modules
|
|
135
|
+
<s> [webpack.Progress] 17% building 2/14 entries 4200/4349 dependencies 579/854 modules
|
|
136
|
+
<s> [webpack.Progress] 21% building 3/14 entries 5347/5372 dependencies 1020/1120 modules
|
|
137
|
+
<s> [webpack.Progress] 25% building 4/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
138
|
+
<s> [webpack.Progress] 29% building 5/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
139
|
+
<s> [webpack.Progress] 33% building 6/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
140
|
+
<s> [webpack.Progress] 37% building 7/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
141
|
+
<s> [webpack.Progress] 41% building 8/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
142
|
+
<s> [webpack.Progress] 45% building 9/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
143
|
+
<s> [webpack.Progress] 49% building 10/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
144
|
+
<s> [webpack.Progress] 53% building 11/14 entries 5347/5372 dependencies 1021/1120 modules
|
|
145
|
+
<s> [webpack.Progress] 57% building 12/14 entries 5509/5518 dependencies 1125/1154 modules
|
|
146
|
+
<s> [webpack.Progress] 61% building 13/14 entries 5523/5523 dependencies 1147/1162 modules
|
|
147
|
+
<s> [webpack.Progress] 65% building 14/14 entries 5523/5523 dependencies 1162/1162 modules
|
|
144
148
|
<s> [webpack.Progress] 65% building
|
|
145
149
|
<s> [webpack.Progress] 69% building finish
|
|
146
150
|
<s> [webpack.Progress] 69% building finish
|
|
@@ -159,9 +163,10 @@ DeprecationWarning: 'createLiteral' has been deprecated since v4.0.0. Use `facto
|
|
|
159
163
|
DeprecationWarning: 'createBinaryExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
160
164
|
DeprecationWarning: 'createExpressionStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
161
165
|
DeprecationWarning: 'createPropertyAssignment' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
166
|
+
DeprecationWarning: 'createNull' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
167
|
+
DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
162
168
|
DeprecationWarning: 'createObjectLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
163
169
|
DeprecationWarning: 'createFalse' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
164
|
-
DeprecationWarning: 'createArrayLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
165
170
|
DeprecationWarning: 'createExpressionStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
166
171
|
DeprecationWarning: 'createTypeOfExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
167
172
|
DeprecationWarning: 'createElementAccessExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
@@ -170,8 +175,7 @@ DeprecationWarning: 'createBlock' has been deprecated since v4.0.0. Use the appr
|
|
|
170
175
|
DeprecationWarning: 'createVariableDeclaration' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
171
176
|
DeprecationWarning: 'createCatchClause' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
172
177
|
DeprecationWarning: 'createTryStatement' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
173
|
-
DeprecationWarning: '
|
|
174
|
-
DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
178
|
+
DeprecationWarning: 'createArrayLiteralExpression' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.
|
|
175
179
|
<s> [webpack.Progress] 70% sealing plugins WarnCaseSensitiveModulesPlugin
|
|
176
180
|
<s> [webpack.Progress] 70% sealing plugins
|
|
177
181
|
<s> [webpack.Progress] 71% sealing dependencies optimization
|
|
@@ -261,30 +265,30 @@ DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appro
|
|
|
261
265
|
<s> [webpack.Progress] 92% sealing asset processing TerserPlugin
|
|
262
266
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
263
267
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
264
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.
|
|
265
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.
|
|
266
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.
|
|
267
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.
|
|
268
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.
|
|
269
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.
|
|
268
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.6f70c138.iframe.bundle.js generate SourceMap
|
|
269
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.6f70c138.iframe.bundle.js generated SourceMap
|
|
270
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.0ce772d2.iframe.bundle.js generate SourceMap
|
|
271
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.0ce772d2.iframe.bundle.js generated SourceMap
|
|
272
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.543b61db.iframe.bundle.js generate SourceMap
|
|
273
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 701.543b61db.iframe.bundle.js generated SourceMap
|
|
270
274
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 745.3a9ffaff.iframe.bundle.js generate SourceMap
|
|
271
275
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 745.3a9ffaff.iframe.bundle.js generated SourceMap
|
|
272
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
273
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
274
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.
|
|
275
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.
|
|
276
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.
|
|
277
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.
|
|
278
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.
|
|
279
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.
|
|
280
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.
|
|
281
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.
|
|
282
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.
|
|
283
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.
|
|
284
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.
|
|
285
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.
|
|
286
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
287
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
276
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 273.1683659b.iframe.bundle.js generate SourceMap
|
|
277
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 273.1683659b.iframe.bundle.js generated SourceMap
|
|
278
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.7a6141b0.iframe.bundle.js generate SourceMap
|
|
279
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 51.7a6141b0.iframe.bundle.js generated SourceMap
|
|
280
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.08a18394.iframe.bundle.js generate SourceMap
|
|
281
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 807.08a18394.iframe.bundle.js generated SourceMap
|
|
282
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.ce59fca0.iframe.bundle.js generate SourceMap
|
|
283
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 551.ce59fca0.iframe.bundle.js generated SourceMap
|
|
284
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.997410c4.iframe.bundle.js generate SourceMap
|
|
285
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 897.997410c4.iframe.bundle.js generated SourceMap
|
|
286
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.503fe652.iframe.bundle.js generate SourceMap
|
|
287
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 229.503fe652.iframe.bundle.js generated SourceMap
|
|
288
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.c7e78174.iframe.bundle.js generate SourceMap
|
|
289
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 935.c7e78174.iframe.bundle.js generated SourceMap
|
|
290
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 90.56627f39.iframe.bundle.js generate SourceMap
|
|
291
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 90.56627f39.iframe.bundle.js generated SourceMap
|
|
288
292
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources
|
|
289
293
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
290
294
|
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
@@ -293,10 +297,8 @@ DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appro
|
|
|
293
297
|
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
294
298
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
295
299
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
296
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.
|
|
297
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.
|
|
298
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.48819736.iframe.bundle.js generate SourceMap
|
|
299
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.48819736.iframe.bundle.js generated SourceMap
|
|
300
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.268a33e9.iframe.bundle.js generate SourceMap
|
|
301
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.268a33e9.iframe.bundle.js generated SourceMap
|
|
300
302
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 701.ec2943ad.iframe.bundle.js generate SourceMap
|
|
301
303
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 701.ec2943ad.iframe.bundle.js generated SourceMap
|
|
302
304
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 745.f1ddfa61.iframe.bundle.js generate SourceMap
|
|
@@ -307,16 +309,18 @@ DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appro
|
|
|
307
309
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 229.9a2a6b81.iframe.bundle.js generated SourceMap
|
|
308
310
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 935.30d22a43.iframe.bundle.js generate SourceMap
|
|
309
311
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 935.30d22a43.iframe.bundle.js generated SourceMap
|
|
310
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
311
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
312
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.d0fa14a9.iframe.bundle.js generate SourceMap
|
|
313
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.d0fa14a9.iframe.bundle.js generated SourceMap
|
|
314
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 273.a4e52cb5.iframe.bundle.js generate SourceMap
|
|
315
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 273.a4e52cb5.iframe.bundle.js generated SourceMap
|
|
312
316
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 51.fa8a6e75.iframe.bundle.js generate SourceMap
|
|
313
317
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 51.fa8a6e75.iframe.bundle.js generated SourceMap
|
|
314
318
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 807.44fdcfe2.iframe.bundle.js generate SourceMap
|
|
315
319
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 807.44fdcfe2.iframe.bundle.js generated SourceMap
|
|
316
320
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 897.155874f0.iframe.bundle.js generate SourceMap
|
|
317
321
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 897.155874f0.iframe.bundle.js generated SourceMap
|
|
318
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
319
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
322
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 90.53702799.iframe.bundle.js generate SourceMap
|
|
323
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 90.53702799.iframe.bundle.js generated SourceMap
|
|
320
324
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin resolve sources
|
|
321
325
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
322
326
|
<s> [webpack.Progress] 92% sealing asset processing
|
|
@@ -328,6 +332,7 @@ DeprecationWarning: 'createTrue' has been deprecated since v4.0.0. Use the appro
|
|
|
328
332
|
<s> [webpack.Progress] 94% sealing after seal
|
|
329
333
|
<s> [webpack.Progress] 95% emitting emit
|
|
330
334
|
<s> [webpack.Progress] 95% emitting emit
|
|
335
|
+
info => Manager built (12 s)
|
|
331
336
|
<s> [webpack.Progress] 98% emitting after emit
|
|
332
337
|
<s> [webpack.Progress] 98% emitting after emit SizeLimitsPlugin
|
|
333
338
|
<s> [webpack.Progress] 98% emitting after emit
|
|
@@ -346,19 +351,18 @@ info => Preview built (12 s)
|
|
|
346
351
|
WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
347
352
|
WARN This can impact web performance.
|
|
348
353
|
WARN Assets:
|
|
349
|
-
WARN
|
|
354
|
+
WARN 273.a4e52cb5.iframe.bundle.js (593 KiB)
|
|
350
355
|
WARN 807.44fdcfe2.iframe.bundle.js (793 KiB)
|
|
351
|
-
WARN
|
|
356
|
+
WARN 90.53702799.iframe.bundle.js (1.67 MiB)
|
|
352
357
|
WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
353
358
|
WARN Entrypoints:
|
|
354
|
-
WARN main (1.
|
|
355
|
-
WARN runtime~main.
|
|
356
|
-
WARN
|
|
357
|
-
WARN main.
|
|
359
|
+
WARN main (1.88 MiB)
|
|
360
|
+
WARN runtime~main.268a33e9.iframe.bundle.js
|
|
361
|
+
WARN 90.53702799.iframe.bundle.js
|
|
362
|
+
WARN main.d0fa14a9.iframe.bundle.js
|
|
358
363
|
WARN
|
|
359
364
|
<s> [webpack.Progress] 99% cache shutdown
|
|
360
365
|
<s> [webpack.Progress] 99% cache shutdown
|
|
361
366
|
<s> [webpack.Progress] 100%
|
|
362
367
|
|
|
363
|
-
info =>
|
|
364
|
-
info => Output directory: /var/folders/xs/h01kpl5x3xzdn3gr17jjwp2w0000gn/T/chromatic--37282-W1E2VO0a3tR3
|
|
368
|
+
info => Output directory: /var/folders/xs/h01kpl5x3xzdn3gr17jjwp2w0000gn/T/chromatic--4974-RM14HT9wgVSB
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function CodeBlock({ filename, filenameColor, copiedTooltipColor, children, }: {
|
|
3
|
+
filename?: string;
|
|
4
|
+
/** Color of the filename text and the border underneath it when the content is being shown */
|
|
5
|
+
filenameColor?: string;
|
|
6
|
+
/** Background color for the tooltip saying Copied when you click the clipboard */
|
|
7
|
+
copiedTooltipColor?: string;
|
|
8
|
+
children?: any;
|
|
9
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type CodeGroupProps = {
|
|
3
|
+
children: any;
|
|
4
|
+
/** Color of the filename text and the border underneath it when the content is being shown */
|
|
5
|
+
selectedColor?: string;
|
|
6
|
+
/** Background color for the tooltip saying Copied when you click the clipboard */
|
|
7
|
+
copiedTooltipColor?: string;
|
|
8
|
+
isSmallText?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Group multiple code blocks into a tabbed UI.
|
|
12
|
+
* Uses CodeBlocks as children but does not render them directly. Instead,
|
|
13
|
+
* CodeGroup extracts the props and renders CodeBlock's children.
|
|
14
|
+
*
|
|
15
|
+
* @param {CodeBlock[]} props.children
|
|
16
|
+
*/
|
|
17
|
+
export declare function CodeGroup({ children, selectedColor, copiedTooltipColor, isSmallText, }: CodeGroupProps): JSX.Element | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type CodeGroupProps = {
|
|
3
|
+
children: any;
|
|
4
|
+
isSmallText?: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Group multiple code blocks into a tabbed UI.
|
|
8
|
+
*
|
|
9
|
+
* @param {CodeBlock[]} props.children
|
|
10
|
+
*/
|
|
11
|
+
export declare function CodeGroup({ children, isSmallText }: CodeGroupProps): JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Accordion, AccordionGroup } from "./Accordion";
|
|
|
2
2
|
import { Button } from "./Button";
|
|
3
3
|
import { Card } from "./Card";
|
|
4
4
|
import { CardGroup } from "./CardGroup";
|
|
5
|
-
import { CodeBlock } from "./
|
|
5
|
+
import { CodeBlock, CodeGroup } from "./Code";
|
|
6
6
|
import { Info, Warning, Note, Tip, Check } from "./Callouts";
|
|
7
7
|
import { Frame } from "./Frame";
|
|
8
8
|
import { Param } from "./Param";
|
|
@@ -11,4 +11,4 @@ import { Tab, Tabs } from "./Tabs";
|
|
|
11
11
|
import { Tooltip } from "./Tooltip";
|
|
12
12
|
import { Expandable } from "./Expandable";
|
|
13
13
|
import "./css/globals.css";
|
|
14
|
-
export { Accordion, AccordionGroup, Button, Card, CardGroup, CodeBlock, Check, Expandable, Frame, Info, Warning, Note, Param, PillSelect, Tabs, Tip, Tab, Tooltip, };
|
|
14
|
+
export { Accordion, AccordionGroup, Button, Card, CardGroup, CodeBlock, CodeGroup, Check, Expandable, Frame, Info, Warning, Note, Param, PillSelect, Tabs, Tip, Tab, Tooltip, };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{"use strict";var e={455:(e,t,r)=>{var n=r(258),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)l.call(t,n)&&!s.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:i.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},557:(e,t,r)=>{e.exports=r(455)},258:e=>{e.exports=require("react")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{r.r(n),r.d(n,{Accordion:()=>u,AccordionGroup:()=>f,Button:()=>m,Card:()=>y,CardGroup:()=>k,Check:()=>_,CodeBlock:()=>L,Expandable:()=>ft,Frame:()=>U,Info:()=>A,Note:()=>D,Param:()=>z,PillSelect:()=>et,Tab:()=>rt,Tabs:()=>ot,Tip:()=>H,Tooltip:()=>lt,Warning:()=>F});var e=r(557),t=r(258);function o(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=o(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}const a=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=o(e))&&(n&&(n+=" "),n+=t);return n};var l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};function i(t){var r=t.open;return(0,e.jsx)("svg",l({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"h-3 w-3",style:{fill:"currentColor",transform:r?"rotate(90deg)":void 0}},{children:(0,e.jsx)("path",{d:"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}))}const s=function(t){var r=t.title,n=t.description,o=t.open,s=t.setOpen,c=t.icon,u=t.isRounded,d=t.coverClass;return(0,e.jsxs)("button",l({onClick:function(){return s(!o)},className:a("not-prose flex flex-row items-center content-center w-full",u&&"rounded-t-xl",u&&!o&&"rounded-b-xl",d),"aria-controls":r+"Children","aria-expanded":o},{children:[(0,e.jsx)(i,{open:o}),c?(0,e.jsx)("div",l({className:"h-4 w-4 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:c})):null,(0,e.jsxs)("div",l({className:"leading-tight text-left"},{children:[(0,e.jsx)("p",l({className:"m-0 font-medium text-slate-900 dark:text-slate-200"},{children:r})),n?(0,e.jsx)("p",l({className:"m-0 text-slate-900 dark:text-slate-200"},{children:n})):null]}))]}))};var c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};const u=function(r){var n=r.title,o=r.description,l=r.defaultOpen,i=void 0!==l&&l,u=r.icon,d=r.onChange,f=r.variant,p=void 0===f?"rounded":f,v=r.children,h=(0,t.useState)(i),m=h[0],x=h[1],b=function(e){return"minimalist"===e?{parentClass:"",coverClass:"[&>div]:ml-2 py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200",contentClass:"mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-slate-100 dark:border-slate-800"}:{parentClass:"border dark:border-slate-800 rounded-xl mb-3",coverClass:"py-4 px-5 space-x-2 hover:bg-slate-100 hover:dark:bg-slate-800",contentClass:"mt-2 mb-4 mx-6"}}(p),g=b.parentClass,y=b.coverClass,w=b.contentClass;return(0,e.jsxs)("div",c({role:"listitem",className:g},{children:[(0,e.jsx)(s,{title:n,description:o,open:m,setOpen:function(e){x(e),d&&d(e)},icon:u,isRounded:"rounded"===p,coverClass:y}),(0,e.jsx)("div",c({className:a(w,!m&&"hidden")},{children:v}))]}),n)};var d=function(){return d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)};const f=function(t){var r=t.children;return(0,e.jsx)("div",d({className:"[&>div]:border-0 [&>div]:rounded-none [&>div>button]:rounded-none [&>div]:mb-0 overflow-hidden mt-0 mb-3 rounded-xl prose prose-slate dark:prose-dark divide-y divide-inherit border dark:border-slate-800",role:"list"},{children:r}))};var p=function(){return p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},v={indigo:["bg-indigo-50 text-indigo-600 hover:bg-indigo-200 hover:text-indigo-700 focus:ring-indigo-500","text-indigo-300 group-hover:text-indigo-400"],pink:["bg-pink-50 text-pink-600 hover:bg-pink-100 hover:text-pink-700 focus:ring-pink-600","text-pink-300 group-hover:text-pink-400"],sky:["bg-sky-50 text-sky-600 hover:bg-sky-100 hover:text-sky-700 focus:ring-sky-600","text-sky-300 group-hover:text-sky-400"],blue:["bg-blue-50 text-blue-600 hover:bg-blue-100 hover:text-blue-700 focus:ring-blue-600","text-blue-300 group-hover:text-blue-400"],gray:["bg-slate-100 text-slate-700 hover:bg-slate-200 hover:text-slate-900 focus:ring-slate-500","text-slate-300 group-hover:text-slate-400"]},h=p(p({},v),{gray:["dark:bg-slate-700 dark:text-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:focus:ring-slate-500","dark:text-slate-500 dark:group-hover:text-slate-400"],sky:["dark:bg-sky-500 dark:text-sky-50 dark:hover:bg-sky-400 dark:hover:text-white dark:focus:ring-sky-200","dark:text-sky-300 dark:group-hover:text-sky-100"]});function m(t){var r=t.href,n=t.color,o=void 0===n?"gray":n,l=t.darkColor,i=void 0===l?o:l,s=t.reverse,c=void 0!==s&&s,u=t.children,d="string"==typeof o?v[o]:o,f="string"==typeof i?h[i]||[]:i;return(0,e.jsxs)("a",p({className:a("group inline-flex items-center h-9 rounded-full text-sm font-semibold whitespace-nowrap px-3 focus:outline-none focus:ring-2",d[0],f[0],c&&"flex-row-reverse"),href:r},{children:[u,(0,e.jsx)("svg",p({className:a("overflow-visible",c?"mr-3":"ml-3",d[1],f[1]),width:"3",height:"6",viewBox:"0 0 3 6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:(0,e.jsx)("path",{d:c?"M3 0L0 3L3 6":"M0 0L3 3L0 6"})}))]}))}const x=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,b=/^[a-zA-Z]:\\/;var g=function(){return g=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)};function y(t){var r=t.title,n=t.icon,o=t.className,l=t.href,i=t.onClick,s=t.children,c=l?"a":"div",u=function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!b.test(e)&&x.test(e)}(null!=l?l:"")?{target:"_blank",rel:"noreferrer"}:{};return(0,e.jsxs)(c,g({className:a("block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl border border-slate-200 dark:border-slate-800 overflow-hidden px-6 py-5 w-full",l&&"cursor-pointer",o),href:l,onClick:i},u,{children:[n?(0,e.jsx)("div",g({className:"h-6 w-6 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:n})):null,(0,e.jsx)("h2",g({className:a("font-semibold text-base text-slate-800 dark:text-white",null!=n&&"mt-4")},{children:r})),(0,e.jsx)("span",g({className:a("mt-1 font-normal",r?"text-slate-600 dark:text-slate-400":"text-slate-700 dark:text-slate-300")},{children:s}))]}))}var w=function(){return w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},w.apply(this,arguments)};function k(t){var r=t.children,n=t.cols,o=void 0===n?2:n;return(0,e.jsx)("div",w({className:"not-prose grid sm:grid-cols-".concat(o," gap-x-4")},{children:r}))}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}var C=function e(t){return["string","number"].includes(j(t))?t.toString():t instanceof Array?t.map(e).join(""):"object"===j(t)&&t?e(t.props.children):""},N=function(){return N=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N.apply(this,arguments)};function O(t){var r=t.filename,n=t.filenameColor,o=t.children;return(0,e.jsxs)("div",N({className:"flex text-slate-400 text-xs leading-6"},{children:[(0,e.jsx)("div",N({className:"flex-none border-t border-b border-t-transparent px-4 py-1 flex items-center",style:{color:n,borderBottomColor:n}},{children:r})),(0,e.jsx)("div",N({className:"flex-auto flex items-center bg-slate-700/50 border border-slate-500/30 rounded-t"},{children:o&&(0,e.jsx)("div",N({className:"flex-auto flex items-center justify-end px-4 space-x-4"},{children:o}))}))]}))}function S(e){return t=this,r=void 0,o=function(){var t;return function(e,t){var r,n,o,a,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,n=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!((o=(o=l.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){l=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){l.label=a[1];break}if(6===a[0]&&l.label<o[1]){l.label=o[1],o=a;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(a);break}o[2]&&l.ops.pop(),l.trys.pop();continue}a=t.call(e,l)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}(this,(function(r){switch(r.label){case 0:if(e||console.warn("Called copyToClipboard() with empty text"),!navigator.clipboard)return console.error("The Clipboard API was unavailable. The Clipboard API is only available client-side in browsers using HTTPS."),[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(e)];case 2:return r.sent(),[2,"success"];case 3:return t=r.sent(),console.error("Failed to copy: ",t),[2,"error"];case 4:return[2]}}))},new((n=void 0)||(n=Promise))((function(e,a){function l(e){try{s(o.next(e))}catch(e){a(e)}}function i(e){try{s(o.throw(e))}catch(e){a(e)}}function s(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(l,i)}s((o=o.apply(t,r||[])).next())}));var t,r,n,o}var E=function(){return E=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},E.apply(this,arguments)};function I(r){var n=this,o=r.textToCopy,a=r.copiedTooltipColor,l=void 0===a?"#002937":a,i=(0,t.useState)(!0),s=i[0],c=i[1];return o?navigator.clipboard?(0,e.jsxs)("button",E({className:"relative",onClick:function(){return e=n,t=void 0,a=function(){return function(e,t){var r,n,o,a,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,n=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!((o=(o=l.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){l=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){l.label=a[1];break}if(6===a[0]&&l.label<o[1]){l.label=o[1],o=a;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(a);break}o[2]&&l.ops.pop(),l.trys.pop();continue}a=t.call(e,l)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}}(this,(function(e){switch(e.label){case 0:return[4,S(o)];case 1:return"success"===e.sent()&&(c(!1),setTimeout((function(){c(!0)}),2e3)),[2]}}))},new((r=void 0)||(r=Promise))((function(n,o){function l(e){try{s(a.next(e))}catch(e){o(e)}}function i(e){try{s(a.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,i)}s((a=a.apply(e,t||[])).next())}));var e,t,r,a}},{children:[(0,e.jsxs)("svg",E({className:"top-5 h-5 fill-slate-500 hover:fill-slate-300 cursor-pointer",viewBox:"0 0 20 20"},{children:[(0,e.jsx)("path",{d:"M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"}),(0,e.jsx)("path",{d:"M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z"})]})),(0,e.jsx)(P,{hidden:s,copiedTooltipColor:l})]})):(console.warn("The browser's Clipboard API is unavailable. The Clipboard API is only available on HTTPS."),null):null}function P(t){var r=t.hidden,n=t.copiedTooltipColor;return(0,e.jsx)("div",E({className:a(r&&"hidden","absolute bottom-full left-1/2 mb-3.5 pb-1 -translate-x-1/2")},{children:(0,e.jsxs)("div",E({className:"relative text-white text-xs leading-6 font-medium px-1.5 rounded-lg",style:{background:n},"data-reach-alert":"true"},{children:["Copied",(0,e.jsx)("svg",E({"aria-hidden":"true",width:"16",height:"6",viewBox:"0 0 16 6",className:"absolute top-full left-1/2 -mt-px -ml-2",style:{color:n}},{children:(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 0H1V1.00366V1.00366V1.00371H1.01672C2.72058 1.0147 4.24225 2.74704 5.42685 4.72928C6.42941 6.40691 9.57154 6.4069 10.5741 4.72926C11.7587 2.74703 13.2803 1.0147 14.9841 1.00371H15V0Z",fill:"currentColor"})}))]}))}))}var T=function(){return T=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},T.apply(this,arguments)};function L(r){var n=r.filename,o=r.filenameColor,l=r.copiedTooltipColor,i=r.children,s=(0,t.useState)(!1),c=s[0],u=s[1];return(0,t.useEffect)((function(){u(!0)}),[]),(0,e.jsxs)("div",T({className:a("mt-5 mb-8 bg-slate-800 rounded-xl shadow-lg dark:ring-1 dark:ring-white/10 dark:ring-inset",n&&"pt-2")},{children:[n?(0,e.jsx)(O,T({filename:n,filenameColor:o},{children:c?(0,e.jsx)(I,{textToCopy:C(i),copiedTooltipColor:null!=l?l:o}):void 0})):null,(0,e.jsx)("div",T({className:"children:!my-0 children:!shadow-none children:!bg-transparent relative"},{children:c?i:null}))]}))}var M=function(){return M=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},M.apply(this,arguments)};function R(t){var r=t.children,n=t.icon,o=t.className;return(0,e.jsx)("div",M({className:"px-4 py-4 mb-4 rounded-xl ".concat(o)},{children:(0,e.jsxs)("div",M({className:"flex items-start space-x-3"},{children:[(0,e.jsx)("div",M({className:"mt-0.5 w-4"},{children:n})),(0,e.jsx)("div",M({className:"flex-1 font-medium text-sm prose dark:text-slate-50"},{children:r}))]}))}))}function A(t){var r=t.children;return(0,e.jsx)(R,M({className:"bg-slate-100 dark:bg-slate-600",icon:(0,e.jsx)("svg",M({viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"flex-none w-5 h-5 text-slate-400 dark:text-slate-300","aria-label":"Info"},{children:(0,e.jsx)("path",{d:"M8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0ZM8 14.5C4.41563 14.5 1.5 11.5841 1.5 8C1.5 4.41594 4.41563 1.5 8 1.5C11.5844 1.5 14.5 4.41594 14.5 8C14.5 11.5841 11.5844 14.5 8 14.5ZM9.25 10.5H8.75V7.75C8.75 7.3375 8.41563 7 8 7H7C6.5875 7 6.25 7.3375 6.25 7.75C6.25 8.1625 6.5875 8.5 7 8.5H7.25V10.5H6.75C6.3375 10.5 6 10.8375 6 11.25C6 11.6625 6.3375 12 6.75 12H9.25C9.66406 12 10 11.6641 10 11.25C10 10.8359 9.66563 10.5 9.25 10.5ZM8 6C8.55219 6 9 5.55219 9 5C9 4.44781 8.55219 4 8 4C7.44781 4 7 4.44687 7 5C7 5.55313 7.44687 6 8 6Z"})}))},{children:r}))}function F(t){var r=t.children;return(0,e.jsx)(R,M({icon:(0,e.jsx)("svg",M({className:"flex-none w-5 h-5 text-yellow-400 dark:text-yellow-300/80",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-label":"Warning"},{children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})),className:"bg-amber-50 dark:bg-yellow-500/40"},{children:r}))}function D(t){var r=t.children;return(0,e.jsx)(R,M({icon:(0,e.jsx)("svg",M({width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4 text-sky-500","aria-label":"Note"},{children:(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.3C10.14 1.3 12.7 3.86 12.7 7C12.7 10.14 10.14 12.7 7 12.7C5.48908 12.6974 4.0408 12.096 2.97241 11.0276C1.90403 9.9592 1.30264 8.51092 1.3 7C1.3 3.86 3.86 1.3 7 1.3ZM7 0C3.14 0 0 3.14 0 7C0 10.86 3.14 14 7 14C10.86 14 14 10.86 14 7C14 3.14 10.86 0 7 0ZM8 3H6V8H8V3ZM8 9H6V11H8V9Z"})})),className:"bg-sky-100 dark:bg-sky-900"},{children:r}))}function H(t){var r=t.children;return(0,e.jsx)(R,M({icon:(0,e.jsx)("svg",M({width:"11",height:"14",viewBox:"0 0 11 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto","aria-label":"Tip"},{children:(0,e.jsx)("path",{d:"M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:r}))}function _(t){var r=t.children;return(0,e.jsx)(R,M({icon:(0,e.jsx)("svg",M({className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512","aria-label":"Check"},{children:(0,e.jsx)("path",{d:"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:r}))}var B=function(){return B=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},B.apply(this,arguments)},V={none:"",md:"p-8"};function U(t){var r=t.as,n=void 0===r?"div":r,o=t.style,l=t.className,i=t.containerClassName,s=t.html,c=t.children,u=t.hint,d=t.padding,f=void 0===d?"md":d,p=t.lightOnly,v=void 0!==p&&p,h=V[f];return(0,e.jsxs)("div",B({className:i},{children:[void 0!==u&&(0,e.jsxs)("div",B({className:"not-prose mb-4 flex items-center space-x-2"},{children:[(0,e.jsx)("svg",B({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"flex-none w-4 h-4 fill-slate-400 dark:fill-slate-300"},{children:(0,e.jsx)("path",{d:"M224 320c0 17.69 14.33 32 32 32h64c17.67 0 32-14.31 32-32s-14.33-32-32-32h-64C238.3 288 224 302.3 224 320zM267.6 256H352c17.67 0 32-14.31 32-32s-14.33-32-32-32h-80v40C272 240.5 270.3 248.5 267.6 256zM272 160H480c17.67 0 32-14.31 32-32s-14.33-32-32-32h-208.8C271.5 98.66 272 101.3 272 104V160zM320 416c0-17.69-14.33-32-32-32H224c-17.67 0-32 14.31-32 32s14.33 32 32 32h64C305.7 448 320 433.7 320 416zM202.1 355.8C196 345.6 192 333.3 192 320c0-5.766 1.08-11.24 2.51-16.55C157.4 300.6 128 269.9 128 232V159.1C128 151.2 135.2 144 143.1 144S160 151.2 159.1 159.1l0 69.72C159.1 245.2 171.3 271.1 200 271.1C222.1 271.1 240 254.1 240 232v-128C240 81.91 222.1 64 200 64H136.6C103.5 64 72.03 80 52.47 106.8L26.02 143.2C9.107 166.5 0 194.5 0 223.3V312C0 387.1 60.89 448 136 448h32.88C163.4 438.6 160 427.7 160 416C160 388.1 178 364.6 202.1 355.8z"})})),(0,e.jsx)("p",B({className:"text-slate-700 text-sm font-medium dark:text-slate-200"},{children:u}))]})),(0,e.jsxs)(n,B({style:o,className:a("not-prose relative bg-slate-50 rounded-xl overflow-hidden",!v&&"dark:bg-slate-800/25")},{children:[(0,e.jsx)("div",{style:{backgroundPosition:"10px 10px"},className:a("absolute inset-0 bg-grid-slate-100 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))]",!v&&"dark:bg-grid-slate-700/25 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]")}),(0,e.jsx)("div",B({className:a("relative rounded-xl overflow-auto flex justify-center",h,l)},s?{dangerouslySetInnerHTML:{__html:s}}:{children:c})),(0,e.jsx)("div",{className:a("absolute inset-0 pointer-events-none border border-black/5 rounded-xl",!v&&"dark:border-white/5")})]}))]}))}var Z=function(){return Z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Z.apply(this,arguments)};function z(t){return(0,e.jsx)(W,Z({},t))}function W(t){var r=t.name,n=t.type,o=t.defaultValue,l=t.required,i=void 0!==l&&l,s=t.optional,c=void 0!==s&&s,u=t.hidden,d=void 0!==u&&u,f=t.nameClasses,p=t.children;return d?null:(0,e.jsxs)("div",Z({className:a("pb-3 mb-4 border-b border-slate-100 dark:border-slate-800")},{children:[(0,e.jsxs)("div",Z({className:"flex font-mono text-sm"},{children:[r&&(0,e.jsxs)("div",Z({className:"py-px flex-1 space-x-2 truncate"},{children:[(0,e.jsx)("span",Z({className:a("px-1 py-px rounded-md font-medium bg-slate-50 dark:bg-slate-800 border border-slate-200 dark:border-slate-700",f,f&&!f.includes("text-")||!f?"dark:text-slate-200":void 0)},{children:r})),i&&(0,e.jsx)("span",Z({className:"text-slate-500 dark:text-slate-300"},{children:"Required"})),c&&(0,e.jsx)("span",Z({className:"text-slate-500 dark:text-slate-300"},{children:"Optional"})),o&&(0,e.jsxs)("span",Z({className:"text-slate-500 dark:text-slate-300"},{children:["Default: ",o]}))]})),n&&(0,e.jsx)("div",Z({className:"text-slate-600 dark:text-slate-300"},{children:n}))]})),(0,e.jsx)("div",Z({className:"mt-2 prose-sm prose-slate dark:prose-dark"},{children:p}))]}))}function $(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,$),n}var q,Q=((q=Q||{})[q.None=0]="None",q[q.RenderStrategy=1]="RenderStrategy",q[q.Static=2]="Static",q),G=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(G||{});function K({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:o,visible:a=!0,name:l}){let i=J(t,e);if(a)return Y(i,r,n,l);let s=null!=o?o:0;if(2&s){let{static:e=!1,...t}=i;if(e)return Y(t,r,n,l)}if(1&s){let{unmount:e=!0,...t}=i;return $(e?0:1,{0:()=>null,1:()=>Y({...t,hidden:!0,style:{display:"none"}},r,n,l)})}return Y(i,r,n,l)}function Y(e,r={},n,o){let{as:a=n,children:l,refName:i="ref",...s}=te(e,["unmount","static"]),c=void 0!==e.ref?{[i]:e.ref}:{},u="function"==typeof l?l(r):l;s.className&&"function"==typeof s.className&&(s.className=s.className(r));let d={};if(r){let e=!1,t=[];for(let[n,o]of Object.entries(r))"boolean"==typeof o&&(e=!0),!0===o&&t.push(n);e&&(d["data-headlessui-state"]=t.join(" "))}if(a===t.Fragment&&Object.keys(ee(s)).length>0){if(!(0,t.isValidElement)(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return(0,t.cloneElement)(u,Object.assign({},J(u.props,ee(te(s,["ref"]))),d,c,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(u.ref,c.ref)))}return(0,t.createElement)(a,Object.assign({},te(s,["ref"]),a!==t.Fragment&&c,a!==t.Fragment&&d),u)}function J(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let o=r[e];for(let e of o){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function X(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function ee(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function te(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function re(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,n,o)=>(e.addEventListener(t,n,o),r.add((()=>e.removeEventListener(t,n,o)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>r.requestAnimationFrame((()=>r.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return r.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{t.current&&e[0]()})),r.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0){let[t]=e.splice(r,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return r}function ne(){let[e]=(0,t.useState)(re);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}const oe="undefined"==typeof window||"undefined"==typeof document;let ae=oe?t.useEffect:t.useLayoutEffect;function le(e){let r=(0,t.useRef)(e);return ae((()=>{r.current=e}),[e]),r}let ie=function(e){let r=le(e);return t.useCallback(((...e)=>r.current(...e)),[r])},se=Symbol();function ce(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let n=ie((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[se])))?void 0:n}let ue={serverHandoffComplete:!1};var de;let fe=0;function pe(){return++fe}let ve=null!=(de=t.useId)?de:function(){let e=function(){let[e,r]=(0,t.useState)(ue.serverHandoffComplete);return(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>{!1===ue.serverHandoffComplete&&(ue.serverHandoffComplete=!0)}),[]),e}(),[r,n]=t.useState(e?pe:null);return ae((()=>{null===r&&n(pe())}),[r]),null!=r?""+r:void 0};var he=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(he||{}),me=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(me||{});function xe(e){return oe?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let be=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ge,ye=((ge=ye||{})[ge.First=1]="First",ge[ge.Previous=2]="Previous",ge[ge.Next=4]="Next",ge[ge.Last=8]="Last",ge[ge.WrapAround=16]="WrapAround",ge[ge.NoScroll=32]="NoScroll",ge),we=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(we||{}),ke=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ke||{});function je(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(be))}var Ce=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Ce||{});function Ne(e,t=0){var r;return e!==(null==(r=xe(e))?void 0:r.body)&&$(t,{0:()=>e.matches(be),1(){let t=e;for(;null!==t;){if(t.matches(be))return!0;t=t.parentElement}return!1}})}function Oe(e){let t=xe(e);re().nextFrame((()=>{t&&!Ne(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}let Se=["textarea","input"].join(",");function Ee(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let n=t(e),o=t(r);if(null===n||null===o)return 0;let a=n.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function Ie(e,t){return function(e,t,r=!0,n=null){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?r?Ee(e):e:je(e);n=null!=n?n:o.activeElement;let l,i=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(n))-1;if(4&t)return Math.max(0,a.indexOf(n))+1;if(8&t)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},u=0,d=a.length;do{if(u>=d||u+d<=0)return 0;let e=s+u;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}l=a[e],null==l||l.focus(c),u+=i}while(l!==o.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,Se))&&r}(l)&&l.select(),l.hasAttribute("tabindex")||l.setAttribute("tabindex","0"),2}(je(),t,!0,e)}function Pe(e,r,n){let o=le(r);(0,t.useEffect)((()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}let Te=(0,t.createContext)(null);Te.displayName="OpenClosedContext";var Le=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Le||{});function Me(){return(0,t.useContext)(Te)}function Re({value:e,children:r}){return t.createElement(Te.Provider,{value:e},r)}function Ae(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Fe(e,r){let[n,o]=(0,t.useState)((()=>Ae(e)));return ae((()=>{o(Ae(e))}),[e.type,e.as]),ae((()=>{n||!r.current||r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&o("button")}),[n,r]),n}var De=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(De||{}),He=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(He||{}),_e=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(_e||{});function Be(e,t=(e=>e)){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=Ee(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),o=r?n.indexOf(r):null;return-1===o&&(o=null),{items:n,activeItemIndex:o}}let Ve={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var r;let n=Be(e),o=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),o=null!=n?n:-1,a=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==o&&n.length-r-1>=o||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=o||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===a?n:a}(t,{resolveItems:()=>n.items,resolveActiveIndex:()=>n.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...n,searchQuery:"",activeItemIndex:o,activationTrigger:null!=(r=t.trigger)?r:1}},3:(e,t)=>{let r=""!==e.searchQuery?0:1,n=e.searchQuery+t.value.toLowerCase(),o=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+r).concat(e.items.slice(0,e.activeItemIndex+r)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled})),a=o?e.items.indexOf(o):-1;return-1===a||a===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let r=Be(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=Be(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}}},Ue=(0,t.createContext)(null);function Ze(e){let r=(0,t.useContext)(Ue);if(null===r){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ze),t}return r}function ze(e,t){return $(t.type,Ve,e,t)}Ue.displayName="MenuContext";let We=t.Fragment,$e=X((function(e,r){let n=(0,t.useReducer)(ze,{menuState:1,buttonRef:(0,t.createRef)(),itemsRef:(0,t.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:o,itemsRef:a,buttonRef:l},i]=n,s=ce(r);!function(e,r,n=!0){let o=(0,t.useRef)(!1);function a(t,n){if(!o.current||t.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=n(t);if(null!==l&&l.ownerDocument.documentElement.contains(l)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(l))return}return!Ne(l,Ce.Loose)&&-1!==l.tabIndex&&t.preventDefault(),r(t,l)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{o.current=n}))}),[n]);let l=(0,t.useRef)(null);Pe("mousedown",(e=>{var t,r;o.current&&(l.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),Pe("click",(e=>{!l.current||(a(e,(()=>l.current)),l.current=null)}),!0),Pe("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([l,a],((e,t)=>{var r;i({type:1}),Ne(t,Ce.Loose)||(e.preventDefault(),null==(r=l.current)||r.focus())}),0===o);let c=(0,t.useMemo)((()=>({open:0===o})),[o]),u=e,d={ref:s};return t.createElement(Ue.Provider,{value:n},t.createElement(Re,{value:$(o,{0:Le.Open,1:Le.Closed})},K({ourProps:d,theirProps:u,slot:c,defaultTag:We,name:"Menu"})))})),qe=X((function(e,r){var n;let[o,a]=Ze("Menu.Button"),l=ce(o.buttonRef,r),i=`headlessui-menu-button-${ve()}`,s=ne(),c=ie((e=>{switch(e.key){case he.Space:case he.Enter:case he.ArrowDown:e.preventDefault(),e.stopPropagation(),a({type:0}),s.nextFrame((()=>a({type:2,focus:me.First})));break;case he.ArrowUp:e.preventDefault(),e.stopPropagation(),a({type:0}),s.nextFrame((()=>a({type:2,focus:me.Last})))}})),u=ie((e=>{e.key===he.Space&&e.preventDefault()})),d=ie((t=>{if(function(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(a({type:1}),s.nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),a({type:0})))})),f=(0,t.useMemo)((()=>({open:0===o.menuState})),[o]),p=e;return K({ourProps:{ref:l,id:i,type:Fe(e,o.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===o.menuState,onKeyDown:c,onKeyUp:u,onClick:d},theirProps:p,slot:f,defaultTag:"button",name:"Menu.Button"})})),Qe=Q.RenderStrategy|Q.Static,Ge=X((function(e,r){var n,o;let[a,l]=Ze("Menu.Items"),i=ce(a.itemsRef,r),s=function(...e){return(0,t.useMemo)((()=>xe(...e)),[...e])}(a.itemsRef),c=`headlessui-menu-items-${ve()}`,u=ne(),d=Me(),f=null!==d?d===Le.Open:0===a.menuState;(0,t.useEffect)((()=>{let e=a.itemsRef.current;!e||0===a.menuState&&e!==(null==s?void 0:s.activeElement)&&e.focus({preventScroll:!0})}),[a.menuState,a.itemsRef,s]),function({container:e,accept:r,walk:n,enabled:o=!0}){let a=(0,t.useRef)(r),l=(0,t.useRef)(n);(0,t.useEffect)((()=>{a.current=r,l.current=n}),[r,n]),ae((()=>{if(!e||!o)return;let t=xe(e);if(!t)return;let r=a.current,n=l.current,i=Object.assign((e=>r(e)),{acceptNode:r}),s=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)n(s.currentNode)}),[e,o,a,l])}({container:a.itemsRef.current,enabled:0===a.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let p=ie((e=>{var t,r;switch(u.dispose(),e.key){case he.Space:if(""!==a.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case he.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==a.activeItemIndex){let{dataRef:e}=a.items[a.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}Oe(a.buttonRef.current);break;case he.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:me.Next});case he.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:me.Previous});case he.Home:case he.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:me.First});case he.End:case he.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:me.Last});case he.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),re().nextFrame((()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case he.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),re().nextFrame((()=>{Ie(a.buttonRef.current,e.shiftKey?ye.Previous:ye.Next)}));break;default:1===e.key.length&&(l({type:3,value:e.key}),u.setTimeout((()=>l({type:4})),350))}})),v=ie((e=>{e.key===he.Space&&e.preventDefault()})),h=(0,t.useMemo)((()=>({open:0===a.menuState})),[a]),m=e;return K({ourProps:{"aria-activedescendant":null===a.activeItemIndex||null==(n=a.items[a.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(o=a.buttonRef.current)?void 0:o.id,id:c,onKeyDown:p,onKeyUp:v,role:"menu",tabIndex:0,ref:i},theirProps:m,slot:h,defaultTag:"div",features:Qe,visible:f,name:"Menu.Items"})})),Ke=t.Fragment,Ye=X((function(e,r){let{disabled:n=!1,...o}=e,[a,l]=Ze("Menu.Item"),i=`headlessui-menu-item-${ve()}`,s=null!==a.activeItemIndex&&a.items[a.activeItemIndex].id===i,c=(0,t.useRef)(null),u=ce(r,c);ae((()=>{if(0!==a.menuState||!s||0===a.activationTrigger)return;let e=re();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=c.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[c,s,a.menuState,a.activationTrigger,a.activeItemIndex]);let d=(0,t.useRef)({disabled:n,domRef:c});ae((()=>{d.current.disabled=n}),[d,n]),ae((()=>{var e,t;d.current.textValue=null==(t=null==(e=c.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[d,c]),ae((()=>(l({type:5,id:i,dataRef:d}),()=>l({type:6,id:i}))),[d,i]);let f=ie((e=>{if(n)return e.preventDefault();l({type:1}),Oe(a.buttonRef.current)})),p=ie((()=>{if(n)return l({type:2,focus:me.Nothing});l({type:2,focus:me.Specific,id:i})})),v=ie((()=>{n||s||l({type:2,focus:me.Specific,id:i,trigger:0})})),h=ie((()=>{n||!s||l({type:2,focus:me.Nothing})})),m=(0,t.useMemo)((()=>({active:s,disabled:n})),[s,n]);return K({ourProps:{id:i,ref:u,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,disabled:void 0,onClick:f,onFocus:p,onPointerMove:v,onMouseMove:v,onPointerLeave:h,onMouseLeave:h},theirProps:o,slot:m,defaultTag:Ke,name:"Menu.Item"})})),Je=Object.assign($e,{Button:qe,Items:Ge,Item:Ye});var Xe=function(){return Xe=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Xe.apply(this,arguments)};function et(r){var n=r.options,o=r.onChange,l=r.defaultOption,i=r.selectedOptionClass,s=l,c=Array.isArray(n)&&n.length>0;null==l&&c&&(s=n[0]);var u=(0,t.useState)(s),d=u[0],f=u[1];return c?(0,e.jsx)("div",Xe({className:"relative"},{children:(0,e.jsxs)(Je,{children:[(0,e.jsxs)(Je.Button,Xe({className:"text-xs text-slate-500 dark:text-slate-400 leading-5 font-semibold !bg-slate-400/10 rounded-full py-1 px-3 flex items-center space-x-2 hover:bg-slate-400/20 dark:highlight-white/5"},{children:[d,(0,e.jsx)("svg",Xe({width:"6",height:"3",className:"ml-2 overflow-visible","aria-hidden":"true"},{children:(0,e.jsx)("path",{d:"M0 0L3 3L6 0",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}))]})),(0,e.jsx)(Je.Items,Xe({className:"absolute top-full mt-1 py-2 w-40 rounded-lg bg-white shadow text-sm leading-6 font-semibold text-slate-700 dark:bg-slate-800 dark:text-slate-300 dark:highlight-white/5"},{children:n.map((function(t){return(0,e.jsx)(Je.Item,Xe({disabled:t===d},{children:function(r){var n=r.active;return(0,e.jsxs)("a",Xe({className:a("flex items-center justify-between px-3 py-1 cursor-pointer",n&&"bg-slate-50 text-slate-900 dark:bg-slate-600/30 dark:text-white",t===d&&i),onClick:function(){return function(e){f(e),o&&o(e)}(t)}},{children:[t,t===d&&(0,e.jsx)("svg",Xe({width:"24",height:"24",fill:"none","aria-hidden":"true"},{children:(0,e.jsx)("path",{d:"m7.75 12.75 2.25 2.5 6.25-6.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))]}))}}),t)}))}))]})})):null}var tt=function(){return tt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tt.apply(this,arguments)};function rt(t){var r=t.title,n=t.isActive,o=void 0===n||n,l=t.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h2",tt({className:a("flex text-sm leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b",o?"text-primary dark:text-primary-light border-current":"text-slate-900 border-transparent hover:border-slate-300 dark:text-slate-200 dark:hover:border-slate-700")},{children:r})),l?(0,e.jsx)("div",tt({className:"prose dark:prose-dark"},{children:l})):null]})}var nt=function(){return nt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},nt.apply(this,arguments)};function ot(r){var n=r.children,o=(0,t.useState)(0),a=o[0],l=o[1],i=t.Children.toArray(n),s=i[a].props.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("ul",nt({className:"not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-slate-200 space-x-6 flex dark:border-slate-200/10"},{children:i.map((function(t,r){return(0,e.jsx)("li",nt({className:"cursor-pointer",onClick:function(){return l(r)}},{children:(0,e.jsx)(rt,{title:t.props.title,isActive:r===a})}))}))})),(0,e.jsx)("div",nt({className:"prose dark:prose-dark"},{children:s}))]})}var at=function(){return at=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},at.apply(this,arguments)};function lt(t){var r=t.tip,n=t.children;return n?(0,e.jsxs)("span",at({className:"group z-10 inline relative"},{children:[it(n),(0,e.jsx)("span",at({className:"hidden group-hover:flex w-fit lg:whitespace-nowrap absolute bottom-full left-1/2 mb-0.5 pb-1 -translate-x-1/2 bg-slate-800 text-center text-slate-50 text-xs px-1.5 py-1 rounded-lg border border-slate-50"},{children:r}))]})):null}function it(r){return(0,t.isValidElement)(r)?r:(0,e.jsx)("span",at({className:"underline decoration-dotted decoration-2 underline-offset-4 decoration-slate-400 dark:decoration-slate-500"},{children:r}))}var st=function(){return st=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},st.apply(this,arguments)};function ct(t){var r=t.open;return(0,e.jsx)("svg",st({xmlns:"http://www.w3.org/2000/svg",className:a("h-3 w-3",r&&"rotate-90 -mt-1"),viewBox:"0 0 256 512",fill:"currentColor"},{children:(0,e.jsx)("path",{d:"M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"})}))}const ut=function(t){var r=t.title,n=t.description,o=t.open,a=t.setOpen;return(0,e.jsxs)("button",st({onClick:function(){return a(!o)},className:"not-prose mt-1.5 flex flex-row items-center content-center w-full py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200 ".concat(o?"":"rounded-b-xl"),"aria-controls":r+"Children","aria-expanded":o},{children:[(0,e.jsx)(ct,{open:o}),(0,e.jsxs)("div",st({className:"ml-2 leading-tight text-left"},{children:[(0,e.jsxs)("p",st({className:"m-0"},{children:[o?"Hide":"Show"," ",r]})),n?(0,e.jsx)("p",st({className:"m-0"},{children:n})):null]}))]}))};var dt=function(){return dt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},dt.apply(this,arguments)};const ft=function(r){var n=r.title,o=r.description,l=r.defaultOpen,i=void 0!==l&&l,s=r.onChange,c=r.children,u=(0,t.useState)(i),d=u[0],f=u[1];return(0,e.jsxs)("div",dt({role:"listitem",className:""},{children:[(0,e.jsx)(ut,{title:n,description:o,open:d,setOpen:function(e){f(e),s&&s(e)}}),(0,e.jsx)("div",dt({id:n+"Children",className:a("mt-2 pt-2 mb-4 mx-[6px] px-4 border-l border-slate-100 dark:border-slate-800",!d&&"hidden")},{children:c}))]}),n)}})(),module.exports=n})();
|
|
2
|
+
(()=>{"use strict";var e={455:(e,t,r)=>{var n=r(258),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,n)&&!i.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},557:(e,t,r)=>{e.exports=r(455)},258:e=>{e.exports=require("react")}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{r.r(n),r.d(n,{Accordion:()=>c,AccordionGroup:()=>f,Button:()=>h,Card:()=>y,CardGroup:()=>C,Check:()=>Ge,CodeBlock:()=>S,CodeGroup:()=>_e,Expandable:()=>Dt,Frame:()=>Ye,Info:()=>We,Note:()=>Ze,Param:()=>Xe,PillSelect:()=>Nt,Tab:()=>Pt,Tabs:()=>Tt,Tip:()=>qe,Tooltip:()=>Et,Warning:()=>$e});var e=r(557),t=r(258);function a(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=a(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}const o=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=a(e))&&(n&&(n+=" "),n+=t);return n};var l=function(){return l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},l.apply(this,arguments)};function s(t){var r=t.open;return(0,e.jsx)("svg",l({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"h-3 w-3",style:{fill:"currentColor",transform:r?"rotate(90deg)":void 0}},{children:(0,e.jsx)("path",{d:"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}))}const i=function(t){var r=t.title,n=t.description,a=t.open,i=t.setOpen,u=t.icon,c=t.isRounded,d=t.coverClass;return(0,e.jsxs)("button",l({onClick:function(){return i(!a)},className:o("not-prose flex flex-row items-center content-center w-full",c&&"rounded-t-xl",c&&!a&&"rounded-b-xl",d),"aria-controls":r+"Children","aria-expanded":a},{children:[(0,e.jsx)(s,{open:a}),u?(0,e.jsx)("div",l({className:"h-4 w-4 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:u})):null,(0,e.jsxs)("div",l({className:"leading-tight text-left"},{children:[(0,e.jsx)("p",l({className:"m-0 font-medium text-slate-900 dark:text-slate-200"},{children:r})),n?(0,e.jsx)("p",l({className:"m-0 text-slate-900 dark:text-slate-200"},{children:n})):null]}))]}))};var u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},u.apply(this,arguments)};const c=function(r){var n=r.title,a=r.description,l=r.defaultOpen,s=void 0!==l&&l,c=r.icon,d=r.onChange,f=r.variant,p=void 0===f?"rounded":f,m=r.children,v=(0,t.useState)(s),h=v[0],x=v[1],b=function(e){return"minimalist"===e?{parentClass:"",coverClass:"[&>div]:ml-2 py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200",contentClass:"mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-slate-100 dark:border-slate-800"}:{parentClass:"border dark:border-slate-800 rounded-xl mb-3",coverClass:"py-4 px-5 space-x-2 hover:bg-slate-100 hover:dark:bg-slate-800",contentClass:"mt-2 mb-4 mx-6"}}(p),g=b.parentClass,y=b.coverClass,w=b.contentClass;return(0,e.jsxs)("div",u({role:"listitem",className:g},{children:[(0,e.jsx)(i,{title:n,description:a,open:h,setOpen:function(e){x(e),d&&d(e)},icon:c,isRounded:"rounded"===p,coverClass:y}),(0,e.jsx)("div",u({className:o(w,!h&&"hidden")},{children:m}))]}),n)};var d=function(){return d=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},d.apply(this,arguments)};const f=function(t){var r=t.children;return(0,e.jsx)("div",d({className:"[&>div]:border-0 [&>div]:rounded-none [&>div>button]:rounded-none [&>div]:mb-0 overflow-hidden mt-0 mb-3 rounded-xl prose prose-slate dark:prose-dark divide-y divide-inherit border dark:border-slate-800",role:"list"},{children:r}))};var p=function(){return p=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},p.apply(this,arguments)},m={indigo:["bg-indigo-50 text-indigo-600 hover:bg-indigo-200 hover:text-indigo-700 focus:ring-indigo-500","text-indigo-300 group-hover:text-indigo-400"],pink:["bg-pink-50 text-pink-600 hover:bg-pink-100 hover:text-pink-700 focus:ring-pink-600","text-pink-300 group-hover:text-pink-400"],sky:["bg-sky-50 text-sky-600 hover:bg-sky-100 hover:text-sky-700 focus:ring-sky-600","text-sky-300 group-hover:text-sky-400"],blue:["bg-blue-50 text-blue-600 hover:bg-blue-100 hover:text-blue-700 focus:ring-blue-600","text-blue-300 group-hover:text-blue-400"],gray:["bg-slate-100 text-slate-700 hover:bg-slate-200 hover:text-slate-900 focus:ring-slate-500","text-slate-300 group-hover:text-slate-400"]},v=p(p({},m),{gray:["dark:bg-slate-700 dark:text-slate-100 dark:hover:bg-slate-600 dark:hover:text-white dark:focus:ring-slate-500","dark:text-slate-500 dark:group-hover:text-slate-400"],sky:["dark:bg-sky-500 dark:text-sky-50 dark:hover:bg-sky-400 dark:hover:text-white dark:focus:ring-sky-200","dark:text-sky-300 dark:group-hover:text-sky-100"]});function h(t){var r=t.href,n=t.color,a=void 0===n?"gray":n,l=t.darkColor,s=void 0===l?a:l,i=t.reverse,u=void 0!==i&&i,c=t.children,d="string"==typeof a?m[a]:a,f="string"==typeof s?v[s]||[]:s;return(0,e.jsxs)("a",p({className:o("group inline-flex items-center h-9 rounded-full text-sm font-semibold whitespace-nowrap px-3 focus:outline-none focus:ring-2",d[0],f[0],u&&"flex-row-reverse"),href:r},{children:[c,(0,e.jsx)("svg",p({className:o("overflow-visible",u?"mr-3":"ml-3",d[1],f[1]),width:"3",height:"6",viewBox:"0 0 3 6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:(0,e.jsx)("path",{d:u?"M3 0L0 3L3 6":"M0 0L3 3L0 6"})}))]}))}const x=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,b=/^[a-zA-Z]:\\/;var g=function(){return g=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},g.apply(this,arguments)};function y(t){var r=t.title,n=t.icon,a=t.className,l=t.href,s=t.onClick,i=t.children,u=l?"a":"div",c=function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!b.test(e)&&x.test(e)}(null!=l?l:"")?{target:"_blank",rel:"noreferrer"}:{};return(0,e.jsxs)(u,g({className:o("block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl border border-slate-200 dark:border-slate-800 overflow-hidden px-6 py-5 w-full",l&&"cursor-pointer",a),href:l,onClick:s},c,{children:[n?(0,e.jsx)("div",g({className:"h-6 w-6 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:n})):null,(0,e.jsx)("h2",g({className:o("font-semibold text-base text-slate-800 dark:text-white",null!=n&&"mt-4")},{children:r})),(0,e.jsx)("span",g({className:o("mt-1 font-normal",r?"text-slate-600 dark:text-slate-400":"text-slate-700 dark:text-slate-300")},{children:i}))]}))}var w=function(){return w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},w.apply(this,arguments)};function C(t){var r=t.children,n=t.cols,a=void 0===n?2:n;return(0,e.jsx)("div",w({className:"not-prose grid sm:grid-cols-".concat(a," gap-x-4")},{children:r}))}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}var k=function e(t){return["string","number"].includes(j(t))?t.toString():t instanceof Array?t.map(e).join(""):"object"===j(t)&&t?e(t.props.children):""};function N(e){return t=this,r=void 0,a=function(){var t;return function(e,t){var r,n,a,o,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(a=2&o[0]?n.return:o[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;switch(n=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,n=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(6===o[0]&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(e){o=[6,e],n=0}finally{r=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(r){switch(r.label){case 0:if(e||console.warn("Called copyToClipboard() with empty text"),!navigator.clipboard)return console.error("The Clipboard API was unavailable. The Clipboard API is only available client-side in browsers using HTTPS."),[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(e)];case 2:return r.sent(),[2,"success"];case 3:return t=r.sent(),console.error("Failed to copy: ",t),[2,"error"];case 4:return[2]}}))},new((n=void 0)||(n=Promise))((function(e,o){function l(e){try{i(a.next(e))}catch(e){o(e)}}function s(e){try{i(a.throw(e))}catch(e){o(e)}}function i(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(l,s)}i((a=a.apply(t,r||[])).next())}));var t,r,n,a}var O=function(){return O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},O.apply(this,arguments)};function P(r){var n=this,a=r.textToCopy,o=r.copiedTooltipColor,l=void 0===o?"#002937":o,s=(0,t.useState)(!0),i=s[0],u=s[1];return a?navigator.clipboard?(0,e.jsxs)("button",O({className:"relative",onClick:function(){return e=n,t=void 0,o=function(){return function(e,t){var r,n,a,o,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(a=2&o[0]?n.return:o[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,o[1])).done)return a;switch(n=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,n=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(6===o[0]&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(e){o=[6,e],n=0}finally{r=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(e){switch(e.label){case 0:return[4,N(a)];case 1:return"success"===e.sent()&&(u(!1),setTimeout((function(){u(!0)}),2e3)),[2]}}))},new((r=void 0)||(r=Promise))((function(n,a){function l(e){try{i(o.next(e))}catch(e){a(e)}}function s(e){try{i(o.throw(e))}catch(e){a(e)}}function i(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,s)}i((o=o.apply(e,t||[])).next())}));var e,t,r,o}},{children:[(0,e.jsx)("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"top-5 h-5 fill-slate-500 hover:fill-slate-300 cursor-pointer"},{children:(0,e.jsx)("path",{d:"M320 64H280h-9.6C263 27.5 230.7 0 192 0s-71 27.5-78.4 64H104 64C28.7 64 0 92.7 0 128V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64zM80 112v24c0 13.3 10.7 24 24 24h88 88c13.3 0 24-10.7 24-24V112h16c8.8 0 16 7.2 16 16V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V128c0-8.8 7.2-16 16-16H80zm88-32a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM136 272a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm40-16c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H176zm-64 40a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"})})),(0,e.jsx)(I,{hidden:i,copiedTooltipColor:l})]})):(console.warn("The browser's Clipboard API is unavailable. The Clipboard API is only available on HTTPS."),null):null}function I(t){var r=t.hidden,n=t.copiedTooltipColor;return(0,e.jsx)("div",O({className:o(r&&"hidden","absolute bottom-full left-1/2 mb-3.5 pb-1 -translate-x-1/2")},{children:(0,e.jsxs)("div",O({className:"relative text-white text-xs leading-6 font-medium px-1.5 rounded-lg",style:{background:n},"data-reach-alert":"true"},{children:["Copied",(0,e.jsx)("svg",O({"aria-hidden":"true",width:"16",height:"6",viewBox:"0 0 16 6",className:"absolute top-full left-1/2 -mt-px -ml-2",style:{color:n}},{children:(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 0H1V1.00366V1.00366V1.00371H1.01672C2.72058 1.0147 4.24225 2.74704 5.42685 4.72928C6.42941 6.40691 9.57154 6.4069 10.5741 4.72926C11.7587 2.74703 13.2803 1.0147 14.9841 1.00371H15V0Z",fill:"currentColor"})}))]}))}))}var T=function(){return T=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},T.apply(this,arguments)};function S(r){var n=r.filename,a=r.filenameColor,l=r.copiedTooltipColor,s=r.children,i=(0,t.useState)(!1),u=i[0],c=i[1];return(0,t.useEffect)((function(){c(!0)}),[]),(0,e.jsxs)("div",T({className:o("mt-5 mb-8 not-prose gray-frame",n&&"pt-2")},{children:[n?(0,e.jsx)(E,T({filename:n,filenameColor:a},{children:u?(0,e.jsx)(P,{textToCopy:k(s),copiedTooltipColor:null!=l?l:a}):void 0})):null,!n&&u&&(0,e.jsx)("div",T({className:"absolute top-5 right-5"},{children:(0,e.jsx)(P,{textToCopy:k(s),copiedTooltipColor:null!=l?l:a})})),(0,e.jsx)("div",T({className:"code-in-gray-frame children:!my-0 children:!shadow-none children:!bg-transparent",style:{fontVariantLigatures:"none"}},{children:u?s:null}))]}))}function E(t){var r=t.filename,n=t.filenameColor,a=t.children;return(0,e.jsxs)("div",T({className:"flex text-slate-400 text-xs leading-6"},{children:[(0,e.jsx)("div",T({className:"flex-none border-t border-b border-t-transparent px-4 py-1 flex items-center",style:{color:n,borderBottomColor:n}},{children:r})),(0,e.jsx)("div",T({className:"flex-auto flex items-center bg-slate-700/50 border border-slate-500/30 rounded-t"},{children:a&&(0,e.jsx)("div",T({className:"flex-auto flex items-center justify-end px-4 space-x-4"},{children:a}))}))]}))}function R(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,R),n}var A,L=((A=L||{})[A.None=0]="None",A[A.RenderStrategy=1]="RenderStrategy",A[A.Static=2]="Static",A),M=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(M||{});function F({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:l}){let s=H(t,e);if(o)return D(s,r,n,l);let i=null!=a?a:0;if(2&i){let{static:e=!1,...t}=s;if(e)return D(t,r,n,l)}if(1&i){let{unmount:e=!0,...t}=s;return R(e?0:1,{0:()=>null,1:()=>D({...t,hidden:!0,style:{display:"none"}},r,n,l)})}return D(s,r,n,l)}function D(e,r={},n,a){let{as:o=n,children:l,refName:s="ref",...i}=U(e,["unmount","static"]),u=void 0!==e.ref?{[s]:e.ref}:{},c="function"==typeof l?l(r):l;i.className&&"function"==typeof i.className&&(i.className=i.className(r));let d={};if(r){let e=!1,t=[];for(let[n,a]of Object.entries(r))"boolean"==typeof a&&(e=!0),!0===a&&t.push(n);e&&(d["data-headlessui-state"]=t.join(" "))}if(o===t.Fragment&&Object.keys(V(i)).length>0){if(!(0,t.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(i).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return(0,t.cloneElement)(c,Object.assign({},H(c.props,V(U(i,["ref"]))),d,u,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}}(c.ref,u.ref)))}return(0,t.createElement)(o,Object.assign({},U(i,["ref"]),o!==t.Fragment&&u,o!==t.Fragment&&d),c)}function H(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map((e=>[e,void 0]))));for(let e in r)Object.assign(t,{[e](t,...n){let a=r[e];for(let e of a){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function _(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function V(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function U(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}const B="undefined"==typeof window||"undefined"==typeof document;let z=B?t.useEffect:t.useLayoutEffect,W={serverHandoffComplete:!1};var $;let Z=0;function q(){return++Z}let G=null!=($=t.useId)?$:function(){let e=function(){let[e,r]=(0,t.useState)(W.serverHandoffComplete);return(0,t.useEffect)((()=>{!0!==e&&r(!0)}),[e]),(0,t.useEffect)((()=>{!1===W.serverHandoffComplete&&(W.serverHandoffComplete=!0)}),[]),e}(),[r,n]=t.useState(e?q:null);return z((()=>{null===r&&n(q())}),[r]),null!=r?""+r:void 0};var Q=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Q||{});function K(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Y(){let e=[],t=[],r={enqueue(e){t.push(e)},addEventListener:(e,t,n,a)=>(e.addEventListener(t,n,a),r.add((()=>e.removeEventListener(t,n,a)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return r.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>r.requestAnimationFrame((()=>r.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return r.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return K((()=>{t.current&&e[0]()})),r.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0){let[t]=e.splice(r,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return r}function J(e){return B?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let X=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ee,te=((ee=te||{})[ee.First=1]="First",ee[ee.Previous=2]="Previous",ee[ee.Next=4]="Next",ee[ee.Last=8]="Last",ee[ee.WrapAround=16]="WrapAround",ee[ee.NoScroll=32]="NoScroll",ee),re=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(re||{}),ne=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ne||{});function ae(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(X))}var oe=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(oe||{});function le(e,t=0){var r;return e!==(null==(r=J(e))?void 0:r.body)&&R(t,{0:()=>e.matches(X),1(){let t=e;for(;null!==t;){if(t.matches(X))return!0;t=t.parentElement}return!1}})}function se(e){let t=J(e);Y().nextFrame((()=>{t&&!le(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}let ie=["textarea","input"].join(",");function ue(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let n=t(e),a=t(r);if(null===n||null===a)return 0;let o=n.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function ce(e,t){return de(ae(),t,!0,e)}function de(e,t,r=!0,n=null){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?ue(e):e:ae(e);n=null!=n?n:a.activeElement;let l,s=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),i=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(n))-1;if(4&t)return Math.max(0,o.indexOf(n))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,d=o.length;do{if(c>=d||c+d<=0)return 0;let e=i+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}l=o[e],null==l||l.focus(u),c+=s}while(l!==a.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ie))&&r}(l)&&l.select(),l.hasAttribute("tabindex")||l.setAttribute("tabindex","0"),2}function fe(e){let r=(0,t.useRef)(e);return z((()=>{r.current=e}),[e]),r}let pe=function(e){let r=fe(e);return t.useCallback(((...e)=>r.current(...e)),[r])},me=Symbol();function ve(...e){let r=(0,t.useRef)(e);(0,t.useEffect)((()=>{r.current=e}),[e]);let n=pe((e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[me])))?void 0:n}function he(e){var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function xe(e,r){let[n,a]=(0,t.useState)((()=>he(e)));return z((()=>{a(he(e))}),[e.type,e.as]),z((()=>{n||!r.current||r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&a("button")}),[n,r]),n}var be=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(be||{});let ge=_((function(e,t){let{features:r=1,...n}=e;return F({ourProps:{ref:t,"aria-hidden":2==(2&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}},theirProps:n,slot:{},defaultTag:"div",name:"Hidden"})}));function ye({onFocus:e}){let[r,n]=(0,t.useState)(!0);return r?t.createElement(ge,{as:"button",type:"button",features:be.Focusable,onFocus:t=>{t.preventDefault();let r,a=50;r=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(n(!1),void cancelAnimationFrame(r)):void(r=requestAnimationFrame(t));r&&cancelAnimationFrame(r)}))}}):null}var we=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(we||{});let Ce={0(e,t){let r=e.tabs.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}));if(t.index<0)return{...e,selectedIndex:e.tabs.indexOf(r[0])};if(t.index>e.tabs.length)return{...e,selectedIndex:e.tabs.indexOf(r[r.length-1])};let n=e.tabs.slice(0,t.index),a=[...e.tabs.slice(t.index),...n].find((e=>r.includes(e)));return a?{...e,selectedIndex:e.tabs.indexOf(a)}:e},1(e,t){var r;if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],a=ue([...e.tabs,t.tab],(e=>e.current)),o=null!=(r=a.indexOf(n))?r:e.selectedIndex;return-1===o&&(o=e.selectedIndex),{...e,tabs:a,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:ue([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},je=(0,t.createContext)(null);function ke(e){let r=(0,t.useContext)(je);if(null===r){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ke),t}return r}je.displayName="TabsSSRContext";let Ne=(0,t.createContext)(null);function Oe(e){let r=(0,t.useContext)(Ne);if(null===r){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Oe),t}return r}Ne.displayName="TabsDataContext";let Pe=(0,t.createContext)(null);function Ie(e){let r=(0,t.useContext)(Pe);if(null===r){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ie),t}return r}function Te(e,t){return R(t.type,Ce,e,t)}Pe.displayName="TabsActionsContext";let Se=t.Fragment,Ee=_((function(e,r){let{defaultIndex:n=0,vertical:a=!1,manual:o=!1,onChange:l,selectedIndex:s=null,...i}=e;const u=a?"vertical":"horizontal",c=o?"manual":"auto";let d=null!==s,f=ve(r),[p,m]=(0,t.useReducer)(Te,{selectedIndex:null!=s?s:n,tabs:[],panels:[]}),v=(0,t.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),h=fe(l||(()=>{})),x=fe(p.tabs),b=(0,t.useMemo)((()=>({orientation:u,activation:c,...p})),[u,c,p]),g=fe(d?e.selectedIndex:p.selectedIndex),y=(0,t.useMemo)((()=>({registerTab:e=>(m({type:1,tab:e}),()=>m({type:2,tab:e})),registerPanel:e=>(m({type:3,panel:e}),()=>m({type:4,panel:e})),change(e){g.current!==e&&h.current(e),d||m({type:0,index:e})}})),[m,d]);z((()=>{m({type:0,index:null!=s?s:n})}),[s]);let w=(0,t.useRef)({tabs:[],panels:[]}),C={ref:f};return t.createElement(je.Provider,{value:w},t.createElement(Pe.Provider,{value:y},t.createElement(Ne.Provider,{value:b},b.tabs.length<=0&&t.createElement(ye,{onFocus:()=>{var e,t;for(let r of x.current)if(0===(null==(e=r.current)?void 0:e.tabIndex))return null==(t=r.current)||t.focus(),!0;return!1}}),F({ourProps:C,theirProps:i,slot:v,defaultTag:Se,name:"Tabs"}))))})),Re=_((function(e,t){let{orientation:r,selectedIndex:n}=Oe("Tab.List");return F({ourProps:{ref:ve(t),role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})})),Ae=_((function(e,r){var n,a;let o=`headlessui-tabs-tab-${G()}`,{orientation:l,activation:s,selectedIndex:i,tabs:u,panels:c}=Oe("Tab"),d=Ie("Tab"),f=Oe("Tab"),p=ke("Tab"),m=(0,t.useRef)(null),v=ve(m,r);z((()=>d.registerTab(m)),[d,m]);let h=p.current.tabs.indexOf(o);-1===h&&(h=p.current.tabs.push(o)-1);let x=u.indexOf(m);-1===x&&(x=h);let b=x===i,g=pe((e=>{var t;let r=e();if(r===re.Success&&"auto"===s){let e=null==(t=J(m))?void 0:t.activeElement,r=f.tabs.findIndex((t=>t.current===e));-1!==r&&d.change(r)}return r})),y=pe((e=>{let t=u.map((e=>e.current)).filter(Boolean);if(e.key===Q.Space||e.key===Q.Enter)return e.preventDefault(),e.stopPropagation(),void d.change(x);switch(e.key){case Q.Home:case Q.PageUp:return e.preventDefault(),e.stopPropagation(),g((()=>de(t,te.First)));case Q.End:case Q.PageDown:return e.preventDefault(),e.stopPropagation(),g((()=>de(t,te.Last)))}return g((()=>R(l,{vertical:()=>e.key===Q.ArrowUp?de(t,te.Previous|te.WrapAround):e.key===Q.ArrowDown?de(t,te.Next|te.WrapAround):re.Error,horizontal:()=>e.key===Q.ArrowLeft?de(t,te.Previous|te.WrapAround):e.key===Q.ArrowRight?de(t,te.Next|te.WrapAround):re.Error})))===re.Success?e.preventDefault():void 0})),w=(0,t.useRef)(!1),C=pe((()=>{var e;w.current||(w.current=!0,null==(e=m.current)||e.focus(),d.change(x),K((()=>{w.current=!1})))})),j=pe((e=>{e.preventDefault()})),k=(0,t.useMemo)((()=>({selected:b})),[b]),N=e;return F({ourProps:{ref:v,onKeyDown:y,onMouseDown:j,onClick:C,id:o,role:"tab",type:xe(e,m),"aria-controls":null==(a=null==(n=c[x])?void 0:n.current)?void 0:a.id,"aria-selected":b,tabIndex:b?0:-1},theirProps:N,slot:k,defaultTag:"button",name:"Tabs.Tab"})})),Le=_((function(e,r){let{selectedIndex:n}=Oe("Tab.Panels");return F({ourProps:{ref:ve(r)},theirProps:e,slot:(0,t.useMemo)((()=>({selectedIndex:n})),[n]),defaultTag:"div",name:"Tabs.Panels"})})),Me=L.RenderStrategy|L.Static,Fe=_((function(e,r){var n,a,o,l;let{selectedIndex:s,tabs:i,panels:u}=Oe("Tab.Panel"),c=Ie("Tab.Panel"),d=ke("Tab.Panel"),f=`headlessui-tabs-panel-${G()}`,p=(0,t.useRef)(null),m=ve(p,r);z((()=>c.registerPanel(p)),[c,p]);let v=d.current.panels.indexOf(f);-1===v&&(v=d.current.panels.push(f)-1);let h=u.indexOf(p);-1===h&&(h=v);let x=h===s,b=(0,t.useMemo)((()=>({selected:x})),[x]),g=e,y={ref:m,id:f,role:"tabpanel","aria-labelledby":null==(a=null==(n=i[h])?void 0:n.current)?void 0:a.id,tabIndex:x?0:-1};return x||null!=(o=e.unmount)&&!o||null!=(l=e.static)&&l?F({ourProps:y,theirProps:g,slot:b,defaultTag:"div",features:Me,visible:x,name:"Tabs.Panel"}):t.createElement(ge,{as:"span",...y})})),De=Object.assign(Ae,{Group:Ee,List:Re,Panels:Le,Panel:Fe});var He=function(){return He=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},He.apply(this,arguments)};function _e(r){var n=r.children,a=r.selectedColor,l=r.copiedTooltipColor,s=r.isSmallText,i=(0,t.useState)(0),u=i[0],c=i[1],d=(0,t.useState)(!1),f=d[0],p=d[1];if((0,t.useEffect)((function(){p(!0)}),[]),null==n)return console.warn("CodeGroup has no children, expected at least one CodeBlock child."),null;if(Array.isArray(n)){if(0===n.length)return null}else n=[n];var m=n.filter((function(e,t){return t===u}))[0];return(0,e.jsxs)(De.Group,He({as:"div",onChange:c,className:"not-prose gray-frame"},{children:[(0,e.jsxs)("div",He({className:"flex text-xs leading-6 rounded-tl-xl pt-2"},{children:[(0,e.jsx)(De.List,He({className:"flex"},{children:n.map((function(t,r){return(0,e.jsx)(Ve,He({myIndex:r,selectedIndex:u,selectedColor:a},{children:t.props.filename}),t.props.filename+"TabItem"+r)}))})),(0,e.jsx)("div",He({className:o("flex-auto flex justify-end bg-slate-700/50 border-y border-slate-500/30 pr-4 rounded-tr",u===n.length-1?"rounded-tl border-l":"")},{children:f?(0,e.jsx)(P,{textToCopy:k(m.props.children),copiedTooltipColor:null!=l?l:a}):void 0}))]})),(0,e.jsx)(De.Panels,He({className:"flex overflow-auto"},{children:n.map((function(t){return(0,e.jsx)(De.Panel,He({className:o("flex-none code-in-gray-frame",s&&"text-xs leading-5"),style:{fontVariantLigatures:"none"}},{children:f&&t.props.children}),t.props.filename)}))}))]}))}function Ve(t){var r=t.children,n=t.selectedIndex,a=t.myIndex,l=t.selectedColor,s=void 0===l?"#CBD5E1":l,i=n===a,u=i?null:n===a-1?"capped":"normal",c=i?null:n===a+1?"capped":"normal";return(0,e.jsxs)(De,He({className:"flex items-center relative overflow-hidden px-4 py-1 text-slate-400 outline-none",style:{color:i?s:""}},{children:[(0,e.jsx)("span",He({className:"z-10"},{children:r})),!i&&(0,e.jsx)(Ue,{className:o("bg-slate-700/50 border-y border-slate-500/30","capped"===u&&"border-l rounded-tl","capped"===c&&"border-r rounded-tr")}),"normal"===c&&(0,e.jsx)(Ue,{className:"inset-y-px border-r border-slate-200/5 z-20"}),i&&(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 border-b",style:{borderColor:s}})]}))}function Ue(t){var r=t.className;return(0,e.jsx)("div",{className:o("pointer-events-none absolute inset-0",r)})}var Be=function(){return Be=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Be.apply(this,arguments)};function ze(t){var r=t.children,n=t.icon,a=t.className;return(0,e.jsx)("div",Be({className:"px-4 py-4 mb-4 rounded-xl ".concat(a)},{children:(0,e.jsxs)("div",Be({className:"flex items-start space-x-3"},{children:[(0,e.jsx)("div",Be({className:"mt-0.5 w-4"},{children:n})),(0,e.jsx)("div",Be({className:"flex-1 font-medium text-sm prose dark:text-slate-50"},{children:r}))]}))}))}function We(t){var r=t.children;return(0,e.jsx)(ze,Be({className:"bg-slate-100 dark:bg-slate-600",icon:(0,e.jsx)("svg",Be({viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"flex-none w-5 h-5 text-slate-400 dark:text-slate-300","aria-label":"Info"},{children:(0,e.jsx)("path",{d:"M8 0C3.58125 0 0 3.58125 0 8C0 12.4187 3.58125 16 8 16C12.4187 16 16 12.4187 16 8C16 3.58125 12.4187 0 8 0ZM8 14.5C4.41563 14.5 1.5 11.5841 1.5 8C1.5 4.41594 4.41563 1.5 8 1.5C11.5844 1.5 14.5 4.41594 14.5 8C14.5 11.5841 11.5844 14.5 8 14.5ZM9.25 10.5H8.75V7.75C8.75 7.3375 8.41563 7 8 7H7C6.5875 7 6.25 7.3375 6.25 7.75C6.25 8.1625 6.5875 8.5 7 8.5H7.25V10.5H6.75C6.3375 10.5 6 10.8375 6 11.25C6 11.6625 6.3375 12 6.75 12H9.25C9.66406 12 10 11.6641 10 11.25C10 10.8359 9.66563 10.5 9.25 10.5ZM8 6C8.55219 6 9 5.55219 9 5C9 4.44781 8.55219 4 8 4C7.44781 4 7 4.44687 7 5C7 5.55313 7.44687 6 8 6Z"})}))},{children:r}))}function $e(t){var r=t.children;return(0,e.jsx)(ze,Be({icon:(0,e.jsx)("svg",Be({className:"flex-none w-5 h-5 text-yellow-400 dark:text-yellow-300/80",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-label":"Warning"},{children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})),className:"bg-amber-50 dark:bg-yellow-500/40"},{children:r}))}function Ze(t){var r=t.children;return(0,e.jsx)(ze,Be({icon:(0,e.jsx)("svg",Be({width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"w-4 h-4 text-sky-500","aria-label":"Note"},{children:(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.3C10.14 1.3 12.7 3.86 12.7 7C12.7 10.14 10.14 12.7 7 12.7C5.48908 12.6974 4.0408 12.096 2.97241 11.0276C1.90403 9.9592 1.30264 8.51092 1.3 7C1.3 3.86 3.86 1.3 7 1.3ZM7 0C3.14 0 0 3.14 0 7C0 10.86 3.14 14 7 14C10.86 14 14 10.86 14 7C14 3.14 10.86 0 7 0ZM8 3H6V8H8V3ZM8 9H6V11H8V9Z"})})),className:"bg-sky-100 dark:bg-sky-900"},{children:r}))}function qe(t){var r=t.children;return(0,e.jsx)(ze,Be({icon:(0,e.jsx)("svg",Be({width:"11",height:"14",viewBox:"0 0 11 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto","aria-label":"Tip"},{children:(0,e.jsx)("path",{d:"M3.12794 12.4232C3.12794 12.5954 3.1776 12.7634 3.27244 12.907L3.74114 13.6095C3.88471 13.8248 4.21067 14 4.46964 14H6.15606C6.41415 14 6.74017 13.825 6.88373 13.6095L7.3508 12.9073C7.43114 12.7859 7.49705 12.569 7.49705 12.4232L7.50055 11.3513H3.12521L3.12794 12.4232ZM5.31288 0C2.52414 0.00875889 0.5 2.26889 0.5 4.78826C0.5 6.00188 0.949566 7.10829 1.69119 7.95492C2.14321 8.47011 2.84901 9.54727 3.11919 10.4557C3.12005 10.4625 3.12175 10.4698 3.12261 10.4771H7.50342C7.50427 10.4698 7.50598 10.463 7.50684 10.4557C7.77688 9.54727 8.48281 8.47011 8.93484 7.95492C9.67728 7.13181 10.1258 6.02703 10.1258 4.78826C10.1258 2.15486 7.9709 0.000106649 5.31288 0ZM7.94902 7.11267C7.52078 7.60079 6.99082 8.37878 6.6077 9.18794H4.02051C3.63739 8.37878 3.10743 7.60079 2.67947 7.11294C2.11997 6.47551 1.8126 5.63599 1.8126 4.78826C1.8126 3.09829 3.12794 1.31944 5.28827 1.3126C7.2435 1.3126 8.81315 2.88226 8.81315 4.78826C8.81315 5.63599 8.50688 6.47551 7.94902 7.11267ZM4.87534 2.18767C3.66939 2.18767 2.68767 3.16939 2.68767 4.37534C2.68767 4.61719 2.88336 4.81288 3.12521 4.81288C3.36705 4.81288 3.56274 4.61599 3.56274 4.37534C3.56274 3.6515 4.1515 3.06274 4.87534 3.06274C5.11719 3.06274 5.31288 2.86727 5.31288 2.62548C5.31288 2.38369 5.11599 2.18767 4.87534 2.18767Z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:r}))}function Ge(t){var r=t.children;return(0,e.jsx)(ze,Be({icon:(0,e.jsx)("svg",Be({className:"text-green-600 dark:text-green-400/80 w-3.5 h-auto",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512","aria-label":"Check"},{children:(0,e.jsx)("path",{d:"M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z"})})),className:"bg-green-100/80 dark:bg-green-900"},{children:r}))}var Qe=function(){return Qe=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Qe.apply(this,arguments)},Ke={none:"",md:"p-8"};function Ye(t){var r=t.as,n=void 0===r?"div":r,a=t.style,l=t.className,s=t.containerClassName,i=t.html,u=t.children,c=t.hint,d=t.padding,f=void 0===d?"md":d,p=t.lightOnly,m=void 0!==p&&p,v=Ke[f];return(0,e.jsxs)("div",Qe({className:s},{children:[void 0!==c&&(0,e.jsxs)("div",Qe({className:"not-prose mb-4 flex items-center space-x-2"},{children:[(0,e.jsx)("svg",Qe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"flex-none w-4 h-4 fill-slate-400 dark:fill-slate-300"},{children:(0,e.jsx)("path",{d:"M224 320c0 17.69 14.33 32 32 32h64c17.67 0 32-14.31 32-32s-14.33-32-32-32h-64C238.3 288 224 302.3 224 320zM267.6 256H352c17.67 0 32-14.31 32-32s-14.33-32-32-32h-80v40C272 240.5 270.3 248.5 267.6 256zM272 160H480c17.67 0 32-14.31 32-32s-14.33-32-32-32h-208.8C271.5 98.66 272 101.3 272 104V160zM320 416c0-17.69-14.33-32-32-32H224c-17.67 0-32 14.31-32 32s14.33 32 32 32h64C305.7 448 320 433.7 320 416zM202.1 355.8C196 345.6 192 333.3 192 320c0-5.766 1.08-11.24 2.51-16.55C157.4 300.6 128 269.9 128 232V159.1C128 151.2 135.2 144 143.1 144S160 151.2 159.1 159.1l0 69.72C159.1 245.2 171.3 271.1 200 271.1C222.1 271.1 240 254.1 240 232v-128C240 81.91 222.1 64 200 64H136.6C103.5 64 72.03 80 52.47 106.8L26.02 143.2C9.107 166.5 0 194.5 0 223.3V312C0 387.1 60.89 448 136 448h32.88C163.4 438.6 160 427.7 160 416C160 388.1 178 364.6 202.1 355.8z"})})),(0,e.jsx)("p",Qe({className:"text-slate-700 text-sm font-medium dark:text-slate-200"},{children:c}))]})),(0,e.jsxs)(n,Qe({style:a,className:o("not-prose relative bg-slate-50 rounded-xl overflow-hidden",!m&&"dark:bg-slate-800/25")},{children:[(0,e.jsx)("div",{style:{backgroundPosition:"10px 10px"},className:o("absolute inset-0 bg-grid-slate-100 [mask-image:linear-gradient(0deg,#fff,rgba(255,255,255,0.6))]",!m&&"dark:bg-grid-slate-700/25 dark:[mask-image:linear-gradient(0deg,rgba(255,255,255,0.1),rgba(255,255,255,0.5))]")}),(0,e.jsx)("div",Qe({className:o("relative rounded-xl overflow-auto flex justify-center",v,l)},i?{dangerouslySetInnerHTML:{__html:i}}:{children:u})),(0,e.jsx)("div",{className:o("absolute inset-0 pointer-events-none border border-black/5 rounded-xl",!m&&"dark:border-white/5")})]}))]}))}var Je=function(){return Je=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Je.apply(this,arguments)};function Xe(t){return(0,e.jsx)(et,Je({},t))}function et(t){var r=t.name,n=t.type,a=t.defaultValue,l=t.required,s=void 0!==l&&l,i=t.optional,u=void 0!==i&&i,c=t.hidden,d=void 0!==c&&c,f=t.nameClasses,p=t.children;return d?null:(0,e.jsxs)("div",Je({className:o("pb-3 mb-4 border-b border-slate-100 dark:border-slate-800")},{children:[(0,e.jsxs)("div",Je({className:"flex font-mono text-sm"},{children:[r&&(0,e.jsxs)("div",Je({className:"py-px flex-1 space-x-2 truncate"},{children:[(0,e.jsx)("span",Je({className:o("px-1 py-px rounded-md font-medium bg-slate-50 dark:bg-slate-800 border border-slate-200 dark:border-slate-700",f,f&&!f.includes("text-")||!f?"dark:text-slate-200":void 0)},{children:r})),s&&(0,e.jsx)("span",Je({className:"text-slate-500 dark:text-slate-300"},{children:"Required"})),u&&(0,e.jsx)("span",Je({className:"text-slate-500 dark:text-slate-300"},{children:"Optional"})),a&&(0,e.jsxs)("span",Je({className:"text-slate-500 dark:text-slate-300"},{children:["Default: ",a]}))]})),n&&(0,e.jsx)("div",Je({className:"text-slate-600 dark:text-slate-300"},{children:n}))]})),(0,e.jsx)("div",Je({className:"mt-2 prose-sm prose-slate dark:prose-dark"},{children:p}))]}))}function tt(){let[e]=(0,t.useState)(Y);return(0,t.useEffect)((()=>()=>e.dispose()),[e]),e}var rt=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(rt||{});function nt(e,r,n){let a=fe(r);(0,t.useEffect)((()=>{function t(e){a.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}let at=(0,t.createContext)(null);at.displayName="OpenClosedContext";var ot=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ot||{});function lt(){return(0,t.useContext)(at)}function st({value:e,children:r}){return t.createElement(at.Provider,{value:e},r)}var it=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(it||{}),ut=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ut||{}),ct=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(ct||{});function dt(e,t=(e=>e)){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=ue(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),a=r?n.indexOf(r):null;return-1===a&&(a=null),{items:n,activeItemIndex:a}}let ft={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var r;let n=dt(e),a=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1,o=(()=>{switch(e.focus){case 0:return r.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=r.slice().reverse().findIndex(((e,r,n)=>!(-1!==a&&n.length-r-1>=a||t.resolveDisabled(e))));return-1===e?e:r.length-1-e}case 2:return r.findIndex(((e,r)=>!(r<=a||t.resolveDisabled(e))));case 3:{let e=r.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:r.length-1-e}case 4:return r.findIndex((r=>t.resolveId(r)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?n:o}(t,{resolveItems:()=>n.items,resolveActiveIndex:()=>n.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...n,searchQuery:"",activeItemIndex:a,activationTrigger:null!=(r=t.trigger)?r:1}},3:(e,t)=>{let r=""!==e.searchQuery?0:1,n=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+r).concat(e.items.slice(0,e.activeItemIndex+r)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled})),o=a?e.items.indexOf(a):-1;return-1===o||o===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let r=dt(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=dt(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}}},pt=(0,t.createContext)(null);function mt(e){let r=(0,t.useContext)(pt);if(null===r){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,mt),t}return r}function vt(e,t){return R(t.type,ft,e,t)}pt.displayName="MenuContext";let ht=t.Fragment,xt=_((function(e,r){let n=(0,t.useReducer)(vt,{menuState:1,buttonRef:(0,t.createRef)(),itemsRef:(0,t.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:l},s]=n,i=ve(r);!function(e,r,n=!0){let a=(0,t.useRef)(!1);function o(t,n){if(!a.current||t.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=n(t);if(null!==l&&l.ownerDocument.documentElement.contains(l)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(l))return}return!le(l,oe.Loose)&&-1!==l.tabIndex&&t.preventDefault(),r(t,l)}}(0,t.useEffect)((()=>{requestAnimationFrame((()=>{a.current=n}))}),[n]);let l=(0,t.useRef)(null);nt("mousedown",(e=>{var t,r;a.current&&(l.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),nt("click",(e=>{!l.current||(o(e,(()=>l.current)),l.current=null)}),!0),nt("blur",(e=>o(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([l,o],((e,t)=>{var r;s({type:1}),le(t,oe.Loose)||(e.preventDefault(),null==(r=l.current)||r.focus())}),0===a);let u=(0,t.useMemo)((()=>({open:0===a})),[a]),c=e,d={ref:i};return t.createElement(pt.Provider,{value:n},t.createElement(st,{value:R(a,{0:ot.Open,1:ot.Closed})},F({ourProps:d,theirProps:c,slot:u,defaultTag:ht,name:"Menu"})))})),bt=_((function(e,r){var n;let[a,o]=mt("Menu.Button"),l=ve(a.buttonRef,r),s=`headlessui-menu-button-${G()}`,i=tt(),u=pe((e=>{switch(e.key){case Q.Space:case Q.Enter:case Q.ArrowDown:e.preventDefault(),e.stopPropagation(),o({type:0}),i.nextFrame((()=>o({type:2,focus:rt.First})));break;case Q.ArrowUp:e.preventDefault(),e.stopPropagation(),o({type:0}),i.nextFrame((()=>o({type:2,focus:rt.Last})))}})),c=pe((e=>{e.key===Q.Space&&e.preventDefault()})),d=pe((t=>{if(function(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}(t.currentTarget))return t.preventDefault();e.disabled||(0===a.menuState?(o({type:1}),i.nextFrame((()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),o({type:0})))})),f=(0,t.useMemo)((()=>({open:0===a.menuState})),[a]),p=e;return F({ourProps:{ref:l,id:s,type:xe(e,a.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=a.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===a.menuState,onKeyDown:u,onKeyUp:c,onClick:d},theirProps:p,slot:f,defaultTag:"button",name:"Menu.Button"})})),gt=L.RenderStrategy|L.Static,yt=_((function(e,r){var n,a;let[o,l]=mt("Menu.Items"),s=ve(o.itemsRef,r),i=function(...e){return(0,t.useMemo)((()=>J(...e)),[...e])}(o.itemsRef),u=`headlessui-menu-items-${G()}`,c=tt(),d=lt(),f=null!==d?d===ot.Open:0===o.menuState;(0,t.useEffect)((()=>{let e=o.itemsRef.current;!e||0===o.menuState&&e!==(null==i?void 0:i.activeElement)&&e.focus({preventScroll:!0})}),[o.menuState,o.itemsRef,i]),function({container:e,accept:r,walk:n,enabled:a=!0}){let o=(0,t.useRef)(r),l=(0,t.useRef)(n);(0,t.useEffect)((()=>{o.current=r,l.current=n}),[r,n]),z((()=>{if(!e||!a)return;let t=J(e);if(!t)return;let r=o.current,n=l.current,s=Object.assign((e=>r(e)),{acceptNode:r}),i=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;i.nextNode();)n(i.currentNode)}),[e,a,o,l])}({container:o.itemsRef.current,enabled:0===o.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let p=pe((e=>{var t,r;switch(c.dispose(),e.key){case Q.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case Q.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==o.activeItemIndex){let{dataRef:e}=o.items[o.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}se(o.buttonRef.current);break;case Q.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:rt.Next});case Q.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:rt.Previous});case Q.Home:case Q.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:rt.First});case Q.End:case Q.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:rt.Last});case Q.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),Y().nextFrame((()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case Q.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),Y().nextFrame((()=>{ce(o.buttonRef.current,e.shiftKey?te.Previous:te.Next)}));break;default:1===e.key.length&&(l({type:3,value:e.key}),c.setTimeout((()=>l({type:4})),350))}})),m=pe((e=>{e.key===Q.Space&&e.preventDefault()})),v=(0,t.useMemo)((()=>({open:0===o.menuState})),[o]),h=e;return F({ourProps:{"aria-activedescendant":null===o.activeItemIndex||null==(n=o.items[o.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(a=o.buttonRef.current)?void 0:a.id,id:u,onKeyDown:p,onKeyUp:m,role:"menu",tabIndex:0,ref:s},theirProps:h,slot:v,defaultTag:"div",features:gt,visible:f,name:"Menu.Items"})})),wt=t.Fragment,Ct=_((function(e,r){let{disabled:n=!1,...a}=e,[o,l]=mt("Menu.Item"),s=`headlessui-menu-item-${G()}`,i=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===s,u=(0,t.useRef)(null),c=ve(r,u);z((()=>{if(0!==o.menuState||!i||0===o.activationTrigger)return;let e=Y();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[u,i,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=(0,t.useRef)({disabled:n,domRef:u});z((()=>{d.current.disabled=n}),[d,n]),z((()=>{var e,t;d.current.textValue=null==(t=null==(e=u.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[d,u]),z((()=>(l({type:5,id:s,dataRef:d}),()=>l({type:6,id:s}))),[d,s]);let f=pe((e=>{if(n)return e.preventDefault();l({type:1}),se(o.buttonRef.current)})),p=pe((()=>{if(n)return l({type:2,focus:rt.Nothing});l({type:2,focus:rt.Specific,id:s})})),m=pe((()=>{n||i||l({type:2,focus:rt.Specific,id:s,trigger:0})})),v=pe((()=>{n||!i||l({type:2,focus:rt.Nothing})})),h=(0,t.useMemo)((()=>({active:i,disabled:n})),[i,n]);return F({ourProps:{id:s,ref:c,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,disabled:void 0,onClick:f,onFocus:p,onPointerMove:m,onMouseMove:m,onPointerLeave:v,onMouseLeave:v},theirProps:a,slot:h,defaultTag:wt,name:"Menu.Item"})})),jt=Object.assign(xt,{Button:bt,Items:yt,Item:Ct});var kt=function(){return kt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},kt.apply(this,arguments)};function Nt(r){var n=r.options,a=r.onChange,l=r.defaultOption,s=r.selectedOptionClass,i=l,u=Array.isArray(n)&&n.length>0;null==l&&u&&(i=n[0]);var c=(0,t.useState)(i),d=c[0],f=c[1];return u?(0,e.jsx)("div",kt({className:"relative"},{children:(0,e.jsxs)(jt,{children:[(0,e.jsxs)(jt.Button,kt({className:"text-xs text-slate-500 dark:text-slate-400 leading-5 font-semibold !bg-slate-400/10 rounded-full py-1 px-3 flex items-center space-x-2 hover:bg-slate-400/20 dark:highlight-white/5"},{children:[d,(0,e.jsx)("svg",kt({width:"6",height:"3",className:"ml-2 overflow-visible","aria-hidden":"true"},{children:(0,e.jsx)("path",{d:"M0 0L3 3L6 0",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}))]})),(0,e.jsx)(jt.Items,kt({className:"absolute top-full mt-1 py-2 w-40 rounded-lg bg-white shadow text-sm leading-6 font-semibold text-slate-700 dark:bg-slate-800 dark:text-slate-300 dark:highlight-white/5"},{children:n.map((function(t){return(0,e.jsx)(jt.Item,kt({disabled:t===d},{children:function(r){var n=r.active;return(0,e.jsxs)("a",kt({className:o("flex items-center justify-between px-3 py-1 cursor-pointer",n&&"bg-slate-50 text-slate-900 dark:bg-slate-600/30 dark:text-white",t===d&&s),onClick:function(){return function(e){f(e),a&&a(e)}(t)}},{children:[t,t===d&&(0,e.jsx)("svg",kt({width:"24",height:"24",fill:"none","aria-hidden":"true"},{children:(0,e.jsx)("path",{d:"m7.75 12.75 2.25 2.5 6.25-6.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))]}))}}),t)}))}))]})})):null}var Ot=function(){return Ot=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ot.apply(this,arguments)};function Pt(t){var r=t.title,n=t.isActive,a=void 0===n||n,l=t.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("h2",Ot({className:o("flex text-sm leading-6 font-semibold whitespace-nowrap pt-3 pb-2.5 -mb-px max-w-max border-b",a?"text-primary dark:text-primary-light border-current":"text-slate-900 border-transparent hover:border-slate-300 dark:text-slate-200 dark:hover:border-slate-700")},{children:r})),l?(0,e.jsx)("div",Ot({className:"prose dark:prose-dark"},{children:l})):null]})}var It=function(){return It=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},It.apply(this,arguments)};function Tt(r){var n=r.children,a=(0,t.useState)(0),o=a[0],l=a[1],s=t.Children.toArray(n),i=s[o].props.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("ul",It({className:"not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-slate-200 space-x-6 flex dark:border-slate-200/10"},{children:s.map((function(t,r){return(0,e.jsx)("li",It({className:"cursor-pointer",onClick:function(){return l(r)}},{children:(0,e.jsx)(Pt,{title:t.props.title,isActive:r===o})}))}))})),(0,e.jsx)("div",It({className:"prose dark:prose-dark"},{children:i}))]})}var St=function(){return St=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},St.apply(this,arguments)};function Et(t){var r=t.tip,n=t.children;return n?(0,e.jsxs)("span",St({className:"group z-10 inline relative"},{children:[Rt(n),(0,e.jsx)("span",St({className:"hidden group-hover:flex w-fit lg:whitespace-nowrap absolute bottom-full left-1/2 mb-0.5 pb-1 -translate-x-1/2 bg-slate-800 text-center text-slate-50 text-xs px-1.5 py-1 rounded-lg border border-slate-50"},{children:r}))]})):null}function Rt(r){return(0,t.isValidElement)(r)?r:(0,e.jsx)("span",St({className:"underline decoration-dotted decoration-2 underline-offset-4 decoration-slate-400 dark:decoration-slate-500"},{children:r}))}var At=function(){return At=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},At.apply(this,arguments)};function Lt(t){var r=t.open;return(0,e.jsx)("svg",At({xmlns:"http://www.w3.org/2000/svg",className:o("h-3 w-3",r&&"rotate-90 -mt-1"),viewBox:"0 0 256 512",fill:"currentColor"},{children:(0,e.jsx)("path",{d:"M118.6 105.4l128 127.1C252.9 239.6 256 247.8 256 255.1s-3.125 16.38-9.375 22.63l-128 127.1c-9.156 9.156-22.91 11.9-34.88 6.943S64 396.9 64 383.1V128c0-12.94 7.781-24.62 19.75-29.58S109.5 96.23 118.6 105.4z"})}))}const Mt=function(t){var r=t.title,n=t.description,a=t.open,o=t.setOpen;return(0,e.jsxs)("button",At({onClick:function(){return o(!a)},className:"not-prose mt-1.5 flex flex-row items-center content-center w-full py-1 text-slate-700 hover:text-slate-900 dark:text-slate-400 dark:hover:text-slate-200 ".concat(a?"":"rounded-b-xl"),"aria-controls":r+"Children","aria-expanded":a},{children:[(0,e.jsx)(Lt,{open:a}),(0,e.jsxs)("div",At({className:"ml-2 leading-tight text-left"},{children:[(0,e.jsxs)("p",At({className:"m-0"},{children:[a?"Hide":"Show"," ",r]})),n?(0,e.jsx)("p",At({className:"m-0"},{children:n})):null]}))]}))};var Ft=function(){return Ft=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Ft.apply(this,arguments)};const Dt=function(r){var n=r.title,a=r.description,l=r.defaultOpen,s=void 0!==l&&l,i=r.onChange,u=r.children,c=(0,t.useState)(s),d=c[0],f=c[1];return(0,e.jsxs)("div",Ft({role:"listitem",className:""},{children:[(0,e.jsx)(Mt,{title:n,description:a,open:d,setOpen:function(e){f(e),i&&i(e)}}),(0,e.jsx)("div",Ft({id:n+"Children",className:o("mt-2 pt-2 mb-4 mx-[6px] px-4 border-l border-slate-100 dark:border-slate-800",!d&&"hidden")},{children:u}))]}),n)}})(),module.exports=n})();
|
package/dist/main.css
CHANGED
|
@@ -1258,6 +1258,35 @@ video {
|
|
|
1258
1258
|
--tw-prose-invert-th-borders: #475569;
|
|
1259
1259
|
--tw-prose-invert-td-borders: #334155;
|
|
1260
1260
|
}
|
|
1261
|
+
.gray-frame {
|
|
1262
|
+
position: relative;
|
|
1263
|
+
border-radius: 0.75rem;
|
|
1264
|
+
--tw-bg-opacity: 1;
|
|
1265
|
+
background-color: rgba(30, 41, 59, var(--tw-bg-opacity));
|
|
1266
|
+
--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
1267
|
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1268
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
1269
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
1270
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
1271
|
+
}
|
|
1272
|
+
.dark .gray-frame {
|
|
1273
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1274
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1275
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
|
1276
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
|
1277
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0));
|
|
1278
|
+
--tw-ring-inset: inset;
|
|
1279
|
+
--tw-ring-color: rgba(255, 255, 255, 0.1);
|
|
1280
|
+
}
|
|
1281
|
+
.code-in-gray-frame {
|
|
1282
|
+
min-width: 100%;
|
|
1283
|
+
overflow-x: auto;
|
|
1284
|
+
padding: 1.25rem;
|
|
1285
|
+
font-size: 0.875rem;
|
|
1286
|
+
line-height: 1.5rem;
|
|
1287
|
+
--tw-text-opacity: 1;
|
|
1288
|
+
color: rgba(248, 250, 252, var(--tw-text-opacity));
|
|
1289
|
+
}
|
|
1261
1290
|
.pointer-events-none {
|
|
1262
1291
|
pointer-events: none;
|
|
1263
1292
|
}
|
|
@@ -1273,6 +1302,10 @@ video {
|
|
|
1273
1302
|
bottom: 0px;
|
|
1274
1303
|
left: 0px;
|
|
1275
1304
|
}
|
|
1305
|
+
.inset-y-px {
|
|
1306
|
+
top: 1px;
|
|
1307
|
+
bottom: 1px;
|
|
1308
|
+
}
|
|
1276
1309
|
.top-full {
|
|
1277
1310
|
top: 100%;
|
|
1278
1311
|
}
|
|
@@ -1285,9 +1318,15 @@ video {
|
|
|
1285
1318
|
.top-5 {
|
|
1286
1319
|
top: 1.25rem;
|
|
1287
1320
|
}
|
|
1321
|
+
.right-5 {
|
|
1322
|
+
right: 1.25rem;
|
|
1323
|
+
}
|
|
1288
1324
|
.z-10 {
|
|
1289
1325
|
z-index: 10;
|
|
1290
1326
|
}
|
|
1327
|
+
.z-20 {
|
|
1328
|
+
z-index: 20;
|
|
1329
|
+
}
|
|
1291
1330
|
.m-0 {
|
|
1292
1331
|
margin: 0px;
|
|
1293
1332
|
}
|
|
@@ -1580,12 +1619,25 @@ video {
|
|
|
1580
1619
|
border-top-left-radius: 0.25rem;
|
|
1581
1620
|
border-top-right-radius: 0.25rem;
|
|
1582
1621
|
}
|
|
1622
|
+
.rounded-tl-xl {
|
|
1623
|
+
border-top-left-radius: 0.75rem;
|
|
1624
|
+
}
|
|
1625
|
+
.rounded-tr {
|
|
1626
|
+
border-top-right-radius: 0.25rem;
|
|
1627
|
+
}
|
|
1628
|
+
.rounded-tl {
|
|
1629
|
+
border-top-left-radius: 0.25rem;
|
|
1630
|
+
}
|
|
1583
1631
|
.border {
|
|
1584
1632
|
border-width: 1px;
|
|
1585
1633
|
}
|
|
1586
1634
|
.border-0 {
|
|
1587
1635
|
border-width: 0px;
|
|
1588
1636
|
}
|
|
1637
|
+
.border-y {
|
|
1638
|
+
border-top-width: 1px;
|
|
1639
|
+
border-bottom-width: 1px;
|
|
1640
|
+
}
|
|
1589
1641
|
.border-b {
|
|
1590
1642
|
border-bottom-width: 1px;
|
|
1591
1643
|
}
|
|
@@ -1595,6 +1647,9 @@ video {
|
|
|
1595
1647
|
.border-t {
|
|
1596
1648
|
border-top-width: 1px;
|
|
1597
1649
|
}
|
|
1650
|
+
.border-r {
|
|
1651
|
+
border-right-width: 1px;
|
|
1652
|
+
}
|
|
1598
1653
|
.border-none {
|
|
1599
1654
|
border-style: none;
|
|
1600
1655
|
}
|
|
@@ -1616,6 +1671,9 @@ video {
|
|
|
1616
1671
|
.border-slate-500\/30 {
|
|
1617
1672
|
border-color: rgba(100, 116, 139, 0.3);
|
|
1618
1673
|
}
|
|
1674
|
+
.border-slate-200\/5 {
|
|
1675
|
+
border-color: rgba(226, 232, 240, 0.05);
|
|
1676
|
+
}
|
|
1619
1677
|
.border-current {
|
|
1620
1678
|
border-color: currentColor;
|
|
1621
1679
|
}
|
|
@@ -1750,6 +1808,9 @@ video {
|
|
|
1750
1808
|
.pt-2 {
|
|
1751
1809
|
padding-top: 0.5rem;
|
|
1752
1810
|
}
|
|
1811
|
+
.pr-4 {
|
|
1812
|
+
padding-right: 1rem;
|
|
1813
|
+
}
|
|
1753
1814
|
.pt-3 {
|
|
1754
1815
|
padding-top: 0.75rem;
|
|
1755
1816
|
}
|
|
@@ -1910,12 +1971,9 @@ video {
|
|
|
1910
1971
|
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
1911
1972
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
1912
1973
|
}
|
|
1913
|
-
.
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
1917
|
-
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
1918
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
1974
|
+
.outline-none {
|
|
1975
|
+
outline: 2px solid transparent;
|
|
1976
|
+
outline-offset: 2px;
|
|
1919
1977
|
}
|
|
1920
1978
|
.ring-2 {
|
|
1921
1979
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -1927,6 +1985,9 @@ video {
|
|
|
1927
1985
|
.ring-transparent {
|
|
1928
1986
|
--tw-ring-color: transparent;
|
|
1929
1987
|
}
|
|
1988
|
+
.filter {
|
|
1989
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1990
|
+
}
|
|
1930
1991
|
.bg-grid-slate-100 {
|
|
1931
1992
|
background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 32 32%27 width=%2732%27 height=%2732%27 fill=%27none%27 stroke=%27%23f1f5f9%27%3e%3cpath d=%27M0 .5H31.5V32%27/%3e%3c/svg%3e");
|
|
1932
1993
|
}
|
|
@@ -2207,19 +2268,6 @@ video {
|
|
|
2207
2268
|
-webkit-text-decoration-color: #64748b;
|
|
2208
2269
|
text-decoration-color: #64748b;
|
|
2209
2270
|
}
|
|
2210
|
-
.dark .dark\:ring-1 {
|
|
2211
|
-
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2212
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2213
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
|
2214
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
|
2215
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0));
|
|
2216
|
-
}
|
|
2217
|
-
.dark .dark\:ring-inset {
|
|
2218
|
-
--tw-ring-inset: inset;
|
|
2219
|
-
}
|
|
2220
|
-
.dark .dark\:ring-white\/10 {
|
|
2221
|
-
--tw-ring-color: rgba(255, 255, 255, 0.1);
|
|
2222
|
-
}
|
|
2223
2271
|
.dark .dark\:bg-grid-slate-700\/25 {
|
|
2224
2272
|
background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 32 32%27 width=%2732%27 height=%2732%27 fill=%27none%27 stroke=%27rgb%2851 65 85 / 0.25%29%27%3e%3cpath d=%27M0 .5H31.5V32%27/%3e%3c/svg%3e");
|
|
2225
2273
|
}
|