@mintlify/components 0.3.11 → 0.3.13

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/.eslintrc.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": [
3
+ "eslint:recommended",
4
+ "plugin:react/recommended",
5
+ "plugin:react-hooks/recommended",
6
+ "@mintlify/eslint-config-typescript"
7
+ ],
8
+ "rules": {
9
+ "react/prop-types": "off"
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ yarn lint-staged
package/README.md CHANGED
@@ -48,7 +48,46 @@ This repo contains the components Mintlify uses in our open-source documentation
48
48
 
49
49
  ## Installation
50
50
 
51
- `npm install @mintlify/components`
51
+ ## Add Dependencies
52
+
53
+ Install this package and peerDependencies of this package,
54
+ using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).
55
+
56
+ ```sh
57
+ npx install-peerdeps @mintlify/components
58
+ ```
59
+
60
+ ### React is already installed
61
+
62
+ You already have `react` installed or are using `preact` and just need `@headlessui/react` and `@mintlify/components`.
63
+
64
+ ```sh
65
+ # yarn
66
+ yarn add @headlessui/react @mintlify/components
67
+
68
+ # npm
69
+ npm i @headlessui/react @mintlify/components
70
+
71
+ # pnpm
72
+ pnpm add @headlessui/react @mintlify/components
73
+ ```
74
+
75
+ ### React and headlessui are already installed
76
+
77
+ You already have `react` and `@headlessui/react` installed and just need `@mintlify/components`.
78
+
79
+ ```sh
80
+ # yarn
81
+ yarn add @mintlify/components
82
+
83
+ # npm
84
+ npm i @mintlify/components
85
+
86
+ # pnpm
87
+ pnpm add @mintlify/components
88
+ ```
89
+
90
+ ## CSS import
52
91
 
53
92
  Add the following at the start of your `main.css` file:
54
93
 
@@ -66,11 +105,27 @@ The project is designed for use with static side rendering where we don't have a
66
105
 
67
106
  # Documentation
68
107
 
69
- The [repo wiki](https://github.com/mintlify/components/wiki) explains how to contribute to the repo.
108
+ Go to [mintlify.com/docs/components](https://mintlify.com/docs/components) to see how to use the components in Mintlify's documentation platform.
70
109
 
71
110
  [Storybook](https://main--63134bd5ae01f2a7717a0e47.chromatic.com/) has interactive demos.
72
111
 
73
- Go to [mintlify.com/docs/components](https://mintlify.com/docs/components) for how to use the components in Mintlify's documentation platform.
112
+ ## Contributing
113
+
114
+ Read the [Contributing guide](https://mintlify.com/docs/contributing) to learn about our development process, the standards and tools used, and how to propose fixes, bugs or open issues.
115
+
116
+ The [repo wiki](https://github.com/mintlify/components/wiki) explains how to contribute to this repo.
117
+
118
+ ### Code Quality
119
+
120
+ Check out the [Contribution Tools](https://mintlify.com/docs/contributing#contribution-tools) section in our [Contributing guide](https://mintlify.com/docs/contributing).
121
+
122
+ #### Formatting
123
+
124
+ This project uses [prettier](https://prettier.io/) for code formatting. You can auto-format across the codebase by running `yarn format`.
125
+
126
+ #### Linting
127
+
128
+ This project uses [eslint](https://eslint.org/) for code linting. You can check linter warnings and errors by running `yarn lint`.
74
129
 
75
130
  # Long Term Vision
76
131
 
package/dist/Button.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ElementType, ComponentPropsWithoutRef, Ref } from 'react';
2
2
  type ColorInterface = keyof typeof colors;
3
- declare let colors: {
3
+ declare const colors: {
4
4
  indigo: string[];
5
5
  pink: string[];
6
6
  sky: string[];
package/dist/Card.d.ts CHANGED
@@ -5,7 +5,7 @@ export interface CardPropsBase<T> {
5
5
  */
6
6
  title?: string;
7
7
  /**
8
- * Icon to the top-left of the title.
8
+ * Icon to the top-left of the title. Can be a ReactNode or a string equal to an image source.
9
9
  */
10
10
  icon?: ReactNode;
11
11
  /**
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  import { CopyToClipboardResult } from '../utils/copyToClipboard';
3
3
  export interface CodeBlockPropsBase {
4
4
  filename?: string;
@@ -16,4 +16,4 @@ export interface CodeBlockPropsBase {
16
16
  onCopied?: (result: CopyToClipboardResult, textToCopy?: string) => void;
17
17
  }
18
18
  export type CodeBlockProps = CodeBlockPropsBase & Omit<ComponentPropsWithoutRef<'div'>, keyof CodeBlockPropsBase>;
19
- export declare function CodeBlock({ filename, filenameColor, tooltipColor, onCopied, children, className, ...props }: CodeBlockProps): JSX.Element;
19
+ export declare const CodeBlock: React.ForwardRefExoticComponent<CodeBlockPropsBase & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof CodeBlockPropsBase> & React.RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import React, { ComponentPropsWithoutRef } from 'react';
1
+ import React, { ComponentPropsWithoutRef, FormEventHandler, ReactElement } from 'react';
2
2
  import { CopyToClipboardResult } from '../utils/copyToClipboard';
3
3
  import { CodeBlockProps } from './CodeBlock';
4
4
  export type CodeGroupPropsBase = {
@@ -15,7 +15,8 @@ export type CodeGroupPropsBase = {
15
15
  */
16
16
  onCopied?: (result: CopyToClipboardResult, textToCopy?: string) => void;
17
17
  isSmallText?: boolean;
18
- children?: React.ReactElement<CodeBlockProps>[] | React.ReactElement<CodeBlockProps>;
18
+ children?: ReactElement<CodeBlockProps>[] | ReactElement<CodeBlockProps>;
19
+ onChange?: FormEventHandler<HTMLDivElement> & ((index: number) => void);
19
20
  };
20
21
  export type CodeGroupProps = CodeGroupPropsBase & Omit<ComponentPropsWithoutRef<'div'>, keyof CodeGroupPropsBase>;
21
22
  /**
@@ -25,4 +26,4 @@ export type CodeGroupProps = CodeGroupPropsBase & Omit<ComponentPropsWithoutRef<
25
26
  *
26
27
  * @param {CodeBlock[]} - children
27
28
  */
28
- export declare function CodeGroup({ children, selectedColor, tooltipColor, onCopied, isSmallText, }: CodeGroupProps): JSX.Element | null;
29
+ export declare const CodeGroup: React.ForwardRefExoticComponent<CodeGroupPropsBase & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof CodeGroupPropsBase> & React.RefAttributes<HTMLDivElement>>;
package/dist/Param.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export type ParamProps = {
3
3
  name: string;
4
4
  type?: string;
@@ -8,7 +8,7 @@ export type ParamProps = {
8
8
  hidden?: boolean;
9
9
  /** Custom classes for the param variable name, can be used to customize its color */
10
10
  nameClasses?: string;
11
- children: any;
11
+ children: React.ReactNode;
12
12
  };
13
- export declare function Param(props: ParamProps): JSX.Element;
13
+ export declare function Param({ children, ...props }: ParamProps): JSX.Element;
14
14
  export declare function ParamField({ name, type, defaultValue, required, optional, hidden, nameClasses, children, }: ParamProps): JSX.Element | null;
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var e={8:(e,t,r)=>{var n,a="__lodash_hash_undefined__",o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,s=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,u=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,f="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,p="object"==typeof self&&self&&self.Object===Object&&self,h=f||p||Function("return this")(),v=Array.prototype,m=Function.prototype,b=Object.prototype,x=h["__core-js_shared__"],g=(n=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=m.toString,w=b.hasOwnProperty,j=b.toString,k=RegExp("^"+y.call(w).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=h.Symbol,N=v.splice,O=M(h,"Map"),P=M(Object,"create"),E=C?C.prototype:void 0,S=E?E.toString:void 0;function T(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function I(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function L(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function A(e,t,r){var n=e[t];w.call(e,t)&&U(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function _(e,t){for(var r=e.length;r--;)if(U(e[r][0],t))return r;return-1}function R(e,t){var r,n,a=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?a["string"==typeof t?"string":"hash"]:a.map}function M(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!V(e)||g&&g in e)return!1;var t=function(e){var t=V(e)?j.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?k:u;return t.test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function F(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||d.test(e))&&e>-1&&e%1==0&&e<t}T.prototype.clear=function(){this.__data__=P?P(null):{}},T.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},T.prototype.get=function(e){var t=this.__data__;if(P){var r=t[e];return r===a?void 0:r}return w.call(t,e)?t[e]:void 0},T.prototype.has=function(e){var t=this.__data__;return P?void 0!==t[e]:w.call(t,e)},T.prototype.set=function(e,t){return this.__data__[e]=P&&void 0===t?a:t,this},I.prototype.clear=function(){this.__data__=[]},I.prototype.delete=function(e){var t=this.__data__,r=_(t,e);return!(r<0||(r==t.length-1?t.pop():N.call(t,r,1),0))},I.prototype.get=function(e){var t=this.__data__,r=_(t,e);return r<0?void 0:t[r][1]},I.prototype.has=function(e){return _(this.__data__,e)>-1},I.prototype.set=function(e,t){var r=this.__data__,n=_(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},L.prototype.clear=function(){this.__data__={hash:new T,map:new(O||I),string:new T}},L.prototype.delete=function(e){return R(this,e).delete(e)},L.prototype.get=function(e){return R(this,e).get(e)},L.prototype.has=function(e){return R(this,e).has(e)},L.prototype.set=function(e,t){return R(this,e).set(e,t),this};var H=D((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if($(e))return S?S.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var r=[];return s.test(e)&&r.push(""),e.replace(i,(function(e,t,n,a){r.push(n?a.replace(c,"$1"):t||e)})),r}));function z(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function D(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var l=e.apply(this,n);return r.cache=o.set(a,l),l};return r.cache=new(D.Cache||L),r}function U(e,t){return e===t||e!=e&&t!=t}D.Cache=L;var B=Array.isArray;function V(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==j.call(e)}e.exports=function(e,t,r){return null==e?e:function(e,t,r,n){if(!V(e))return e;t=function(e,t){if(B(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!$(e))||l.test(e)||!o.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:function(e){return B(e)?e:H(e)}(t);for(var a=-1,s=t.length,i=s-1,c=e;null!=c&&++a<s;){var u=z(t[a]),d=r;if(a!=i){var f=c[u];void 0===(d=n?n(f,u,c):void 0)&&(d=V(f)?f:F(t[a+1])?[]:{})}A(c,u,d),c=c[u]}return e}(e,t,r)}},455:(e,t,r)=>{"use strict";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 c(e,t,r){var n,o={},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)&&!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:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},557:(e,t,r)=>{"use strict";e.exports=r(455)},258:e=>{"use strict";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.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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={};(()=>{"use strict";r.r(n),r.d(n,{Accordion:()=>p,AccordionGroup:()=>v,ApiPlayground:()=>A,AppearFromTop:()=>Ae,Button:()=>Fe,Card:()=>Ze,CardGroup:()=>Ke,Check:()=>$e,CodeBlock:()=>ot,CodeGroup:()=>Qt,Expandable:()=>Jt,Frame:()=>rr,Info:()=>De,Note:()=>Be,Param:()=>ar,PillSelect:()=>Or,RequestMethodBubble:()=>R,RequestPathHeader:()=>z,Tab:()=>Er,Tabs:()=>Tr,Tip:()=>Ve,Tooltip:()=>Lr,Warning:()=>Ue});var e=r(557);function t(e){var r,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(n=t(e[r]))&&(a&&(a+=" "),a+=n);else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}const a=function(){for(var e,r,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(r=t(e))&&(a&&(a+=" "),a+=r);return a};var o=r(258),l=r.n(o),s=function(){return s=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},s.apply(this,arguments)};function i(t){var r=t.open;return(0,e.jsx)("svg",s({xmlns:"http://www.w3.org/2000/svg",className:a("h-3 w-3 transition",r&&"duration-200 rotate-90 -mt-1",!r&&"duration-75"),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 c=function(t){var r=t.title,n=t.description,a=t.open,o=t.setOpen;return(0,e.jsxs)("button",s({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)(i,{open:a}),(0,e.jsxs)("div",s({className:"ml-2 leading-tight text-left"},{children:[(0,e.jsxs)("p",s({className:"m-0"},{children:[a?"Hide":"Show"," ",r]})),n?(0,e.jsx)("p",s({className:"m-0"},{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 d=function(t){var r=t.title,n=t.description,o=t.open,l=t.setOpen,s=t.icon,c=t.coverClass;return(0,e.jsxs)("button",u({onClick:function(){return l(!o)},className:a("not-prose flex flex-row items-center content-center w-full",c),"aria-controls":r+"Children","aria-expanded":o},{children:[(0,e.jsx)("div",u({className:"mr-0.5"},{children:(0,e.jsx)(i,{open:o})})),s?(0,e.jsx)("div",u({className:"h-4 w-4 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:s})):null,(0,e.jsxs)("div",u({className:"leading-tight text-left"},{children:[(0,e.jsx)("p",u({className:"m-0 font-medium text-slate-900 dark:text-slate-200"},{children:r})),n?(0,e.jsx)("p",u({className:"m-0 text-slate-900 dark:text-slate-200"},{children:n})):null]}))]}))};var f=function(){return f=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},f.apply(this,arguments)};const p=function(t){var r=t.title,n=t.description,l=t.defaultOpen,s=void 0!==l&&l,i=t.icon,c=t.onChange,u=t.variant,p=void 0===u?"rounded":u,h=t.children,v=(0,o.useState)(Boolean(s)),m=v[0],b=v[1],x=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-zinc-100 dark:border-zinc-800"}:{parentClass:"border dark:border-zinc-800 rounded-xl mb-3 overflow-hidden",coverClass:"py-4 px-5 space-x-2 hover:bg-slate-100 hover:dark:bg-slate-800 rounded-t-xl",contentClass:"mt-2 mb-4 mx-6"}}(p),g=x.parentClass,y=x.coverClass,w=x.contentClass;return(0,e.jsxs)("div",f({role:"listitem",className:g},{children:[(0,e.jsx)(d,{title:r,description:n,open:m,setOpen:function(e){b(e),c&&c(e)},icon:i,coverClass:y}),(0,e.jsx)("div",f({className:a(w,!m&&"hidden")},{children:h}))]}),r)};var h=function(){return h=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},h.apply(this,arguments)};const v=function(t){var r=t.children;return(0,e.jsx)("div",h({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-zinc-800",role:"list"},{children:r}))};var m=r(8),b=r.n(m),x=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"bg-green-600";case"POST":return"bg-blue-600";case"PUT":return"bg-yellow-600";case"DELETE":return"bg-red-600";case"PATCH":return"bg-orange-600";default:return"bg-slate-600"}},g=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"hover:bg-green-800 disabled:bg-green-700";case"POST":return"hover:bg-blue-800 disabled:bg-blue-700";case"PUT":return"hover:bg-yellow-800 disabled:bg-yellow-700";case"DELETE":return"hover:bg-red-800 disabled:bg-red-700";case"PATCH":return"hover:bg-orange-800 disabled:bg-orange-700";default:return"hover:bg-slate-800 disabled:bg-slate-700"}},y=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"text-green-600 dark:text-green-500";case"POST":return"text-blue-600 dark:text-blue-500";case"PUT":return"text-yellow-600 dark:text-yellow-500";case"DELETE":return"text-red-600 dark:text-red-500";case"PATCH":return"text-orange-600 dark:text-orange-500";default:return"text-slate-600 dark:text-slate-500"}},w=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"border-green-600 dark:border-green-500";case"POST":return"border-blue-600 dark:border-blue-500";case"PUT":return"border-yellow-600 dark:border-yellow-500";case"DELETE":return"border-red-600 dark:border-red-500";case"PATCH":return"border-orange-600 dark:border-orange-500";default:return"border-slate-600 dark:border-slate-500"}},j=function(){return j=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},j.apply(this,arguments)};function k(t){var r=t.onClick;return(0,e.jsxs)("div",j({className:"relative"},{children:[(0,e.jsx)("button",j({className:"w-full py-0.5 px-2 rounded text-left border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-600 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-800 hover:border-slate-400 dark:hover:border-slate-500",onClick:r},{children:"Add Item"})),(0,e.jsx)("svg",j({className:"hidden sm:block absolute right-2 top-[7px] h-3 fill-slate-500 dark:fill-slate-400 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},{children:(0,e.jsx)("path",{d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"})}))]}))}var C=function(){return C=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},C.apply(this,arguments)},N=function(t){var r=t.options,n=t.value,a=t.onInputChange;return(0,e.jsxs)("div",C({className:"relative"},{children:[(0,e.jsxs)("select",C({className:"w-full py-0.5 px-2 rounded border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-600 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-zinc-800 hover:border-slate-400 dark:hover:border-slate-500 cursor-pointer",onChange:function(e){return a(e.target.value)},value:n||"Select"},{children:[(0,e.jsx)("option",C({disabled:!0},{children:"Select"})),r.map((function(t){return(0,e.jsx)("option",{children:t},t)}))]})),(0,e.jsx)(O,{})]}))},O=function(){return(0,e.jsx)("svg",C({className:"absolute right-2 top-[7px] h-3 fill-slate-500 dark:fill-slate-400 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},{children:(0,e.jsx)("path",{d:"M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"})}))},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)},E=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};function S(t){var r,n,l,s=t.param,i=t.value,c=t.onChangeParam,u=t.onDeleteArrayItem,d=t.parentInputs,f=void 0===d?[]:d,p="object"===s.type&&null!=s.properties,h="array"===s.type,v=(0,o.useState)(Boolean(s.required)&&p||h&&Array.isArray(i)&&i.length>0),m=v[0],b=v[1],x=(0,o.useState)(p?i:{}),g=x[0],y=x[1],w=(0,o.useState)(h&&Array.isArray(i)?i:[]),j=w[0],C=w[1];"string"==typeof s.type&&(l=null===(r=s.type)||void 0===r?void 0:r.toLowerCase());var O=function(e){c(f,s.name,e)},I=function(){var e=E(E([],j,!0),[{param:P(P({},s),{type:s.properties?"object":T(s.type)}),value:s.properties?{}:null}],!1);C(e),O(e.map((function(e){return e.value})))};return n="boolean"===l?(0,e.jsx)(N,{options:["true","false"],value:null!=i?i.toString():"",onInputChange:function(e){return O("true"===e)}}):"integer"===l||"number"===l?(0,e.jsx)("input",{className:"w-full py-0.5 px-2 rounded border border-slate-200 dark:border-slate-700 bg-white dark:bg-dark-input text-slate-700 dark:text-slate-200",type:"number",placeholder:s.placeholder,value:i,onChange:function(e){return O(parseInt(e.target.value,10))}}):"file"===l||"files"===l?(0,e.jsxs)("button",P({className:"relative flex items-center px-2 w-full h-7 rounded border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-700 dark:text-slate-200 border-dashed hover:bg-slate-50 dark:hover:bg-slate-800"},{children:[(0,e.jsx)("input",{className:"z-5 absolute inset-0 opacity-0 cursor-pointer",type:"file",onChange:function(e){null!=e.target.files&&O(e.target.files[0])}}),(0,e.jsx)("svg",P({className:"absolute right-2 top-[7px] h-3 fill-slate-500 dark:fill-slate-400 bg-border-slate-700 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},{children:(0,e.jsx)("path",{d:"M105.4 182.6c12.5 12.49 32.76 12.5 45.25 .001L224 109.3V352c0 17.67 14.33 32 32 32c17.67 0 32-14.33 32-32V109.3l73.38 73.38c12.49 12.49 32.75 12.49 45.25-.001c12.49-12.49 12.49-32.75 0-45.25l-128-128C272.4 3.125 264.2 0 256 0S239.6 3.125 233.4 9.375L105.4 137.4C92.88 149.9 92.88 170.1 105.4 182.6zM480 352h-160c0 35.35-28.65 64-64 64s-64-28.65-64-64H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96C512 366.3 497.7 352 480 352zM432 456c-13.2 0-24-10.8-24-24c0-13.2 10.8-24 24-24s24 10.8 24 24C456 445.2 445.2 456 432 456z"})})),(0,e.jsx)("span",P({className:"w-full truncate text-left inline-block pointer-events-none"},{children:null!=i&&null!=i[s.name]?i[s.name].name:"Choose file"}))]})):p&&!h?(0,e.jsx)("button",P({className:"relative flex items-center w-full h-6 justify-end ",onClick:function(){return b(!m)}},{children:(0,e.jsx)("span",P({className:"fill-slate-500 dark:fill-slate-400 group-hover:fill-slate-700 dark:group-hover:fill-slate-200"},{children:m?(0,e.jsx)("svg",P({className:"h-3 w-3 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},{children:(0,e.jsx)("path",{d:"M473 7c-9.4-9.4-24.6-9.4-33.9 0l-87 87L313 55c-6.9-6.9-17.2-8.9-26.2-5.2S272 62.3 272 72V216c0 13.3 10.7 24 24 24H440c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-39-39 87-87c9.4-9.4 9.4-24.6 0-33.9L473 7zM216 272H72c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l39 39L7 439c-9.4 9.4-9.4 24.6 0 33.9l32 32c9.4 9.4 24.6 9.4 33.9 0l87-87 39 39c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V296c0-13.3-10.7-24-24-24z"})})):(0,e.jsx)("svg",P({className:"h-3 w-3 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},{children:(0,e.jsx)("path",{d:"M344 0H488c13.3 0 24 10.7 24 24V168c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM184 496H40c-13.3 0-24-10.7-24-24V328c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"})}))}))})):h?0===j.length&&(0,e.jsx)(k,{onClick:I}):s.enum?(0,e.jsx)(N,{options:s.enum,value:i,onInputChange:O}):(0,e.jsx)("input",{className:"w-full py-0.5 px-2 rounded border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-700 dark:text-slate-200",type:"text",placeholder:s.placeholder,value:i,onChange:function(e){return O(e.target.value)}}),(0,e.jsxs)("div",P({className:a("text-[0.84rem]",(p&&m||j.length>0)&&"px-3 py-2 -mx-1.5 border border-slate-200 dark:border-slate-700 bg-white dark:bg-codeblock rounded-md")},{children:[(0,e.jsxs)("div",P({className:"flex items-center space-x-2 group"},{children:[(0,e.jsxs)("div",P({className:a("flex items-center flex-1 font-mono text-slate-600 dark:text-slate-300",p&&"cursor-pointer",u&&"invisible"),onClick:function(){return p&&b(!m)}},{children:[s.name,s.required&&(0,e.jsx)("span",P({className:"text-red-600 dark:text-red-400"},{children:"*"}))]})),(0,e.jsx)("div",P({className:a("flex-initial",u?"w-[calc(40%-1.05rem)] sm:w-[calc(33%-1.05rem)]":"w-2/5 sm:w-1/3")},{children:n})),u&&(0,e.jsx)("button",P({className:"py-1 fill-red-600 dark:fill-red-400 hover:fill-red-800 dark:hover:fill-red-200",onClick:u},{children:(0,e.jsx)("svg",P({className:"h-3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},{children:(0,e.jsx)("path",{d:"M424 80C437.3 80 448 90.75 448 104C448 117.3 437.3 128 424 128H412.4L388.4 452.7C385.9 486.1 358.1 512 324.6 512H123.4C89.92 512 62.09 486.1 59.61 452.7L35.56 128H24C10.75 128 0 117.3 0 104C0 90.75 10.75 80 24 80H93.82L130.5 24.94C140.9 9.357 158.4 0 177.1 0H270.9C289.6 0 307.1 9.358 317.5 24.94L354.2 80H424zM177.1 48C174.5 48 171.1 49.34 170.5 51.56L151.5 80H296.5L277.5 51.56C276 49.34 273.5 48 270.9 48H177.1zM364.3 128H83.69L107.5 449.2C108.1 457.5 115.1 464 123.4 464H324.6C332.9 464 339.9 457.5 340.5 449.2L364.3 128z"})}))}))]})),m&&s.properties&&(0,e.jsx)("div",P({className:"mt-1 pt-2 pb-1 border-t border-slate-100 dark:border-slate-700 space-y-2"},{children:s.properties.map((function(t){return(0,e.jsx)(S,{param:t,value:(i||{})[t.name],onChangeParam:function(e,r,n){return function(e,t){var r,n=P(P({},g),((r={})[e]=t,r));y(n),O(n)}(t.name,n)},parentInputs:E(E([],f,!0),[s.name],!1)},t.name)}))})),j.length>0&&(0,e.jsxs)("div",P({className:a("mt-1 pt-2 pb-1 space-y-2",!p&&"border-t border-slate-100 dark:border-slate-700")},{children:[j.map((function(t,r){return(0,e.jsx)(S,{param:t.param,value:t.value,onChangeParam:function(e,t,n){return function(e,t){var r=j.map((function(r,n){return e===n?P(P({},r),{value:t}):r}));C(r),O(r.map((function(e){return e.value})))}(r,n)},onDeleteArrayItem:function(){return function(e){C(e);var t=e.length>0?e:void 0;O(null==t?void 0:t.map((function(e){return e.value})))}(j.filter((function(e,t){return r!==t})))}},"".concat(t.param.name).concat(r))})),(0,e.jsx)("div",P({className:"flex items-center justify-end space-x-2 group"},{children:(0,e.jsx)("div",P({className:"flex-initial w-2/5 sm:w-1/3"},{children:(0,e.jsx)(k,{onClick:I})}))}))]}))]}))}var T=function(e){return e&&"array"!==e?e.replace(/\[\]/g,""):""},I=function(){return I=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},I.apply(this,arguments)},L=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};function A(t){var r=t.method,n=t.paramGroups,l=t.paramValues,s=t.isSendingRequest,i=t.onChangeParamValues,c=t.onSendRequest,u=t.header,d=t.response,f=(0,o.useState)(n[0]),p=f[0],h=f[1];return(0,e.jsxs)("div",I({className:"mt-4 border border-slate-200 dark:border-slate-600 bg-slate-50 dark:bg-codeblock rounded-md truncate"},{children:[(0,e.jsxs)("div",I({className:"px-3.5 pt-3.5 pb-4"},{children:[u,(0,e.jsxs)("div",I({className:"text-sm"},{children:[(0,e.jsx)("div",I({className:"block"},{children:(0,e.jsx)("div",I({className:"border-b border-slate-200 dark:border-slate-600"},{children:(0,e.jsx)("nav",I({className:"-mb-px flex space-x-4","aria-label":"Tabs"},{children:n.map((function(t){return(0,e.jsx)("button",I({className:a((null==p?void 0:p.name)===t.name?"".concat(y(r)," ").concat(w(r)):"border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200","whitespace-nowrap py-2 border-b-2 font-medium text-[0.84rem]"),onClick:function(){return h(t)}},{children:t.name}),t.name)}))}))}))})),(0,e.jsx)("div",I({className:"mt-4 space-y-2"},{children:null==p?void 0:p.params.map((function(t,r){var n,a;return(0,e.jsx)(S,{param:t,value:null!==(a=null===(n=l[p.name])||void 0===n?void 0:n[t.name])&&void 0!==a?a:"",onChangeParam:function(e,t,r){return function(e,t,r,n){var a,o,s=I(I({},l[e]),b()(null!==(o=l[e])&&void 0!==o?o:{},L(L([],t,!0),[r],!1),n));i(I(I({},l),((a={})[e]=s,a)))}(p.name,e,t,r)}},"".concat(t.name).concat(r))}))})),(0,e.jsxs)("button",I({className:a("flex items-center py-1.5 px-3 rounded text-white font-medium space-x-2",x(r),g(r),p&&"mt-4"),disabled:s,onClick:c},{children:[(0,e.jsx)("svg",I({className:"fill-white h-3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},{children:(0,e.jsx)("path",{d:"M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"})})),(0,e.jsx)("div",{children:s?"Sending...":"Send Request"})]}))]}))]})),s?null:d]}))}var _=function(){return _=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},_.apply(this,arguments)},R=function(t){var r=t.method;return(0,e.jsx)("span",_({className:a("inline-block text-white font-bold px-1.5 rounded-md text-[0.95rem]",x(r))},{children:r}))},M=function(){return M=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},M.apply(this,arguments)};function F(t){var r=t.baseUrls,n=t.defaultValue,a=t.onChange;return null==r||!Array.isArray(r)||r.length<=1?null:(0,e.jsxs)("div",M({className:"border-slate-400 dark:border-slate-400 relative select-none align-middle inline-flex rounded-md -top-px mx-1 w-5 h-[1.125rem] bg-white hover:bg-slate-100 dark:bg-slate-700 dark:hover:bg-slate-600 border hover:border-slate-400 dark:hover:border-slate-400 focus:outline-none cursor-pointer"},{children:[(0,e.jsxs)("select",M({"aria-label":"Select API base","aria-expanded":"false",className:"z-10 absolute inset-0 opacity-0 cursor-pointer",onChange:function(e){return a(e.target.value)},defaultValue:n},{children:[(0,e.jsx)("option",M({disabled:!0},{children:"Select API base"})),r.map((function(t){return(0,e.jsx)("option",{children:t},t)}))]})),(0,e.jsx)("svg",M({width:"20",height:"20",fill:"none",className:"transform absolute -top-0.5 -left-px rotate-90"},{children:(0,e.jsx)("path",{className:"stroke-slate-700 dark:stroke-slate-100",d:"M9 7l3 3-3 3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))]}))}var H=function(){return H=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},H.apply(this,arguments)},z=function(t){var r=t.method,n=t.path,a=t.baseUrls,o=t.defaultBaseUrl,l=t.onBaseUrlChange;return(0,e.jsxs)("div",H({className:"text-sm md:text-base flex items-center space-x-2 mb-2"},{children:[(0,e.jsx)(R,{method:r}),a&&(0,e.jsx)(F,{baseUrls:a,defaultValue:o,onChange:l}),(0,e.jsx)("div",H({className:"font-mono text-[0.95rem] overflow-auto"},{children:(0,e.jsx)("p",H({className:"inline-block text-slate-700 dark:text-slate-100 font-semibold"},{children:n}))}))]}))};function D(...e){return e.filter(Boolean).join(" ")}function U(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,U),n}var B,V,$=((V=$||{})[V.None=0]="None",V[V.RenderStrategy=1]="RenderStrategy",V[V.Static=2]="Static",V),q=((B=q||{})[B.Unmount=0]="Unmount",B[B.Hidden=1]="Hidden",B);function G({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:l}){let s=Z(t,e);if(o)return W(s,r,n,l);let i=null!=a?a:0;if(2&i){let{static:e=!1,...t}=s;if(e)return W(t,r,n,l)}if(1&i){let{unmount:e=!0,...t}=s;return U(e?0:1,{0:()=>null,1:()=>W({...t,hidden:!0,style:{display:"none"}},r,n,l)})}return W(s,r,n,l)}function W(e,t={},r,n){var a;let{as:l=r,children:s,refName:i="ref",...c}=Y(e,["unmount","static"]),u=void 0!==e.ref?{[i]:e.ref}:{},d="function"==typeof s?s(t):s;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let f={};if(t){let e=!1,r=[];for(let[n,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&r.push(n);e&&(f["data-headlessui-state"]=r.join(" "))}if(l===o.Fragment&&Object.keys(K(c)).length>0){if(!(0,o.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).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"));let e=D(null==(a=d.props)?void 0:a.className,c.className),t=e?{className:e}:{};return(0,o.cloneElement)(d,Object.assign({},Z(d.props,K(Y(c,["ref"]))),f,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)}}}(d.ref,u.ref),t))}return(0,o.createElement)(l,Object.assign({},Y(c,["ref"]),l!==o.Fragment&&u,l!==o.Fragment&&f),d)}function Z(...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 Q(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function K(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Y(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let X=(0,o.createContext)(null);X.displayName="OpenClosedContext";var J=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(J||{});function ee(){return(0,o.useContext)(X)}function te({value:e,children:t}){return o.createElement(X.Provider,{value:e},t)}var re=Object.defineProperty,ne=(e,t,r)=>(((e,t,r)=>{t in e?re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let ae=new class{constructor(){ne(this,"current",this.detect()),ne(this,"handoffState","pending"),ne(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},oe=(e,t)=>{ae.isServer?(0,o.useEffect)(e,t):(0,o.useLayoutEffect)(e,t)};function le(){let e=(0,o.useRef)(!1);return oe((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function se(e){let t=(0,o.useRef)(e);return oe((()=>{t.current=e}),[e]),t}function ie(){let[e,t]=(0,o.useState)(ae.isHandoffComplete);return e&&!1===ae.isHandoffComplete&&t(!1),(0,o.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,o.useEffect)((()=>ae.handoff()),[]),e}let ce=function(e){let t=se(e);return o.useCallback(((...e)=>t.current(...e)),[t])},ue=Symbol();function de(...e){let t=(0,o.useRef)(e);(0,o.useEffect)((()=>{t.current=e}),[e]);let r=ce((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[ue])))?void 0:r}function fe(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function pe(){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 fe((()=>{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()},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))}};return r}function he(e,...t){e&&t.length>0&&e.classList.add(...t)}function ve(e,...t){e&&t.length>0&&e.classList.remove(...t)}function me(){let[e]=(0,o.useState)(pe);return(0,o.useEffect)((()=>()=>e.dispose()),[e]),e}function be({container:e,direction:t,classes:r,onStart:n,onStop:a}){let o=le(),l=me(),s=se(t);oe((()=>{let t=pe();l.add(t.dispose);let i=e.current;if(i&&"idle"!==s.current&&o.current)return t.dispose(),n.current(s.current),t.add(function(e,t,r,n){let a=r?"enter":"leave",o=pe(),l=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let s=U(a,{enter:()=>t.enter,leave:()=>t.leave}),i=U(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=U(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return ve(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),he(e,...s,...c),o.nextFrame((()=>{ve(e,...c),he(e,...i),function(e,t){let r=pe();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:a}=getComputedStyle(e),[o,l]=[n,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(o+l!==0){let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(ve(e,...s),he(e,...t.entered),l())))})),o.dispose}(i,r.current,"enter"===s.current,(()=>{t.dispose(),a.current(s.current)}))),t.dispose}),[t])}function xe(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let ge=(0,o.createContext)(null);ge.displayName="TransitionContext";var ye=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ye||{});let we=(0,o.createContext)(null);function je(e){return"children"in e?je(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function ke(e,t){let r=se(e),n=(0,o.useRef)([]),a=le(),l=me(),s=ce(((e,t=q.Hidden)=>{let o=n.current.findIndex((({el:t})=>t===e));-1!==o&&(U(t,{[q.Unmount](){n.current.splice(o,1)},[q.Hidden](){n.current[o].state="hidden"}}),l.microTask((()=>{var e;!je(n)&&a.current&&(null==(e=r.current)||e.call(r))})))})),i=ce((e=>{let t=n.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>s(e,q.Unmount)})),c=(0,o.useRef)([]),u=(0,o.useRef)(Promise.resolve()),d=(0,o.useRef)({enter:[],leave:[],idle:[]}),f=ce(((e,r,n)=>{c.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter((([t])=>t!==e))),null==t||t.chains.current[r].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[r].push([e,new Promise((e=>{Promise.all(d.current[r].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===r?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>n(r))):n(r)})),p=ce(((e,t,r)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>r(t)))}));return(0,o.useMemo)((()=>({children:n,register:i,unregister:s,onStart:f,onStop:p,wait:u,chains:d})),[i,s,n,f,p,d,u])}function Ce(){}we.displayName="NestingContext";let Ne=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Oe(e){var t;let r={};for(let n of Ne)r[n]=null!=(t=e[n])?t:Ce;return r}let Pe=$.RenderStrategy,Ee=Q((function(e,t){let{beforeEnter:r,afterEnter:n,beforeLeave:a,afterLeave:l,enter:s,enterFrom:i,enterTo:c,entered:u,leave:d,leaveFrom:f,leaveTo:p,...h}=e,v=(0,o.useRef)(null),m=de(v,t),b=h.unmount?q.Unmount:q.Hidden,{show:x,appear:g,initial:y}=function(){let e=(0,o.useContext)(ge);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[w,j]=(0,o.useState)(x?"visible":"hidden"),k=function(){let e=(0,o.useContext)(we);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:C,unregister:N}=k,O=(0,o.useRef)(null);(0,o.useEffect)((()=>C(v)),[C,v]),(0,o.useEffect)((()=>{if(b===q.Hidden&&v.current)return x&&"visible"!==w?void j("visible"):U(w,{hidden:()=>N(v),visible:()=>C(v)})}),[w,v,C,N,x,b]);let P=se({enter:xe(s),enterFrom:xe(i),enterTo:xe(c),entered:xe(u),leave:xe(d),leaveFrom:xe(f),leaveTo:xe(p)}),E=function(e){let t=(0,o.useRef)(Oe(e));return(0,o.useEffect)((()=>{t.current=Oe(e)}),[e]),t}({beforeEnter:r,afterEnter:n,beforeLeave:a,afterLeave:l}),S=ie();(0,o.useEffect)((()=>{if(S&&"visible"===w&&null===v.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[v,w,S]);let T=y&&!g,I=!S||T||O.current===x?"idle":x?"enter":"leave",L=ce((e=>U(e,{enter:()=>E.current.beforeEnter(),leave:()=>E.current.beforeLeave(),idle:()=>{}}))),A=ce((e=>U(e,{enter:()=>E.current.afterEnter(),leave:()=>E.current.afterLeave(),idle:()=>{}}))),_=ke((()=>{j("hidden"),N(v)}),k);be({container:v,classes:P,direction:I,onStart:se((e=>{_.onStart(v,e,L)})),onStop:se((e=>{_.onStop(v,e,A),"leave"===e&&!je(_)&&(j("hidden"),N(v))}))}),(0,o.useEffect)((()=>{!T||(b===q.Hidden?O.current=null:O.current=x)}),[x,T,w]);let R=h,M={ref:m};return g&&x&&ae.isServer&&(R={...R,className:D(h.className,...P.current.enter,...P.current.enterFrom)}),o.createElement(we.Provider,{value:_},o.createElement(te,{value:U(w,{visible:J.Open,hidden:J.Closed})},G({ourProps:M,theirProps:R,defaultTag:"div",features:Pe,visible:"visible"===w,name:"Transition.Child"})))})),Se=Q((function(e,t){let{show:r,appear:n=!1,unmount:a,...l}=e,s=(0,o.useRef)(null),i=de(s,t);ie();let c=ee();if(void 0===r&&null!==c&&(r=U(c,{[J.Open]:!0,[J.Closed]:!1})),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,o.useState)(r?"visible":"hidden"),f=ke((()=>{d("hidden")})),[p,h]=(0,o.useState)(!0),v=(0,o.useRef)([r]);oe((()=>{!1!==p&&v.current[v.current.length-1]!==r&&(v.current.push(r),h(!1))}),[v,r]);let m=(0,o.useMemo)((()=>({show:r,appear:n,initial:p})),[r,n,p]);(0,o.useEffect)((()=>{if(r)d("visible");else if(je(f)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[r,f]);let b={unmount:a};return o.createElement(we.Provider,{value:f},o.createElement(ge.Provider,{value:m},G({ourProps:{...b,as:o.Fragment,children:o.createElement(Ee,{ref:i,...b,...l})},theirProps:{},defaultTag:o.Fragment,features:Pe,visible:"visible"===u,name:"Transition"})))})),Te=Q((function(e,t){let r=null!==(0,o.useContext)(ge),n=null!==ee();return o.createElement(o.Fragment,null,!r&&n?o.createElement(Se,{ref:t,...e}):o.createElement(Ee,{ref:t,...e}))})),Ie=Object.assign(Se,{Child:Te,Root:Se});var Le=function(){return Le=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},Le.apply(this,arguments)};function Ae(t){var r=t.show,n=t.className,a=t.children;return(0,e.jsx)("div",Le({className:"overflow-hidden relative"},{children:(0,e.jsx)(Ie,Le({show:r,className:n,enter:"transition duration-200 ease-out transform",enterFrom:"transform opacity-0 -translate-y-12",enterTo:"transform opacity-100 translate-y-0",leave:"transition duration-75 ease-out transform",leaveFrom:"transform opacity-100 translate-y-0",leaveTo:"transform opacity-0 -translate-y-6"},{children:a}))}))}var _e=function(){return _e=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},_e.apply(this,arguments)},Re={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"]},Me=_e(_e({},Re),{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 Fe(t){var r=t.as,n=t.color,o=void 0===n?"gray":n,l=t.darkColor,s=void 0===l?o:l,i=t.reverse,c=void 0!==i&&i,u=t.children,d=t.className,f=t.mRef,p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(t,["as","color","darkColor","reverse","children","className","mRef"]),h="string"==typeof o?Re[o]:o,v="string"==typeof s?Me[s]||[]:s,m=r||null!=p.href?"a":"button";return(0,e.jsxs)(m,_e({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",h[0],v[0],c&&"flex-row-reverse",d)},p,{ref:f},{children:[u,(0,e.jsx)("svg",_e({className:a("overflow-visible",c?"mr-3":"ml-3",h[1],v[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"})}))]}))}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 ze(t){var r=t.children,n=t.icon,o=t.className,l=t.childrenClassName;return(0,e.jsx)("div",He({className:a("px-5 py-4 mb-4 overflow-hidden rounded-xl",o)},{children:(0,e.jsxs)("div",He({className:"flex items-start space-x-3"},{children:[(0,e.jsx)("div",He({className:"mt-0.5 w-4"},{children:n})),(0,e.jsx)("div",He({className:a("flex-1 text-sm prose overflow-x-auto",l)},{children:r}))]}))}))}function De(t){var r=t.children;return(0,e.jsx)(ze,He({icon:(0,e.jsx)("svg",He({viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"flex-none w-5 h-5 text-zinc-400 dark:text-zinc-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"})})),className:"border border-zinc-500/20 bg-zinc-50/50 dark:bg-zinc-900 dark:border-zinc-500/30 dark:bg-zinc-500/10",childrenClassName:"text-zinc-900 dark:text-zinc-200"},{children:r}))}function Ue(t){var r=t.children;return(0,e.jsx)(ze,He({icon:(0,e.jsx)("svg",He({className:"flex-none w-5 h-5 text-amber-400 dark:text-amber-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:"border border-amber-500/20 bg-amber-50/50 dark:border-amber-500/30 dark:bg-amber-500/10",childrenClassName:"text-amber-900 dark:text-amber-200"},{children:r}))}function Be(t){var r=t.children;return(0,e.jsx)(ze,He({icon:(0,e.jsx)("svg",He({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:"border border-sky-500/20 bg-sky-50/50 dark:border-sky-500/30 dark:bg-sky-500/10",childrenClassName:"text-sky-900 dark:text-sky-200"},{children:r}))}function Ve(t){var r=t.children;return(0,e.jsx)(ze,He({icon:(0,e.jsx)("svg",He({width:"11",height:"14",viewBox:"0 0 11 14",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-emerald-600 dark:text-emerald-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:"border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10",childrenClassName:"text-emerald-900 dark:text-emerald-200"},{children:r}))}function $e(t){var r=t.children;return(0,e.jsx)(ze,He({icon:(0,e.jsx)("svg",He({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:"border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10",childrenClassName:"text-emerald-900 dark:text-emerald-200"},{children:r}))}const qe=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Ge=/^[a-zA-Z]:\\/;var We=function(){return We=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},We.apply(this,arguments)};function Ze(t){var r,n=t.title,o=t.icon,l=t.image,s=t.className,i=t.children,c=t.as,u=t.mRef,d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(t,["title","icon","image","className","children","as","mRef"]),f=c||null!=d.href?"a":"div",p=function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!Ge.test(e)&&qe.test(e)}(null!==(r=d.href)&&void 0!==r?r:"")?{target:"_blank",rel:"noreferrer"}:{},h="string"==typeof o,v=(0,e.jsx)(e.Fragment,{children:o?h?(0,e.jsx)("img",{src:o,alt:n,className:"h-6 w-6 object-cover object-center"}):(0,e.jsx)("div",We({className:"h-6 w-6 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:o})):null});return(0,e.jsxs)(f,We({className:a("block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl border border-zinc-200 dark:border-zinc-800 overflow-hidden w-full",d.href&&"cursor-pointer",s)},p,d,{ref:u},{children:[l&&(0,e.jsx)("img",{src:l,alt:l,className:"w-full h-64 object-cover object-center"}),(0,e.jsxs)("div",We({className:"px-6 py-5"},{children:[v,(0,e.jsx)("h2",We({className:a("font-semibold text-base text-slate-800 dark:text-white",null!=o&&"mt-4")},{children:n})),(0,e.jsx)("span",We({className:a("mt-1 font-normal",n?"text-slate-600 dark:text-slate-400":"text-slate-700 dark:text-slate-300")},{children:i}))]}))]}))}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)};function Ke(t){var r=t.children,n=t.cols,a=void 0===n?2:n;return(0,e.jsx)("div",Qe({className:"not-prose grid sm:grid-cols-".concat(a," gap-x-4")},{children:r}))}function Ye(e){return Ye="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},Ye(e)}var Xe=function e(t){var r;return["string","number"].includes(Ye(t))?t.toString():t instanceof Array?t.map(e).join(""):"object"===Ye(t)&&(null===(r=null==t?void 0:t.props)||void 0===r?void 0:r.children)?e(t.props.children):""};function Je(e){return function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{i(n.next(e))}catch(e){o(e)}}function s(e){try{i(n.throw(e))}catch(e){o(e)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,s)}i((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(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(s){return function(i){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(l=0)),l;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,n=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){l=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){l.label=s[1];break}if(6===s[0]&&l.label<a[1]){l.label=a[1],a=s;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(s);break}a[2]&&l.ops.pop(),l.trys.pop();continue}s=t.call(e,l)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}(this,(function(r){switch(r.label){case 0:e||console.warn("Called copyToClipboard() with empty text"),navigator.clipboard||console.error("The Clipboard API was unavailable. The Clipboard API is only available client-side in browsers using HTTPS."),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]}}))}))}var et=function(){return et=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},et.apply(this,arguments)};function tt(t){var r=this,n=t.textToCopy,l=t.tooltipColor,s=void 0===l?"#002937":l,i=t.onCopied,c=t.className,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(t,["textToCopy","tooltipColor","onCopied","className"]),d=(0,o.useState)(!0),f=d[0],p=d[1],h=(0,o.useState)(!0),v=h[0],m=h[1];return(0,o.useEffect)((function(){"undefined"==typeof window||(null===navigator||void 0===navigator?void 0:navigator.clipboard)?m(!1):(console.warn("The browser's Clipboard API is unavailable. The Clipboard API is only available on HTTPS."),m(!0))}),[]),!n||v?null:(0,e.jsxs)("button",et({"aria-label":"Copy code to clipboard",onClick:function(){return function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{i(n.next(e))}catch(e){o(e)}}function s(e){try{i(n.throw(e))}catch(e){o(e)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,s)}i((n=n.apply(e,t||[])).next())}))}(r,void 0,void 0,(function(){var e;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(s){return function(i){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(l=0)),l;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,n=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){l=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){l.label=s[1];break}if(6===s[0]&&l.label<a[1]){l.label=a[1],a=s;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(s);break}a[2]&&l.ops.pop(),l.trys.pop();continue}s=t.call(e,l)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}(this,(function(t){switch(t.label){case 0:return[4,Je(n)];case 1:return e=t.sent(),i&&i(e,n),"success"===e&&(p(!1),setTimeout((function(){p(!0)}),2e3)),[2]}}))}))},className:a("group",c)},u,{children:[(0,e.jsx)("svg",et({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"top-5 h-[1.15rem] 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)(rt,et({color:s,className:"".concat(f?"invisible":void 0," group-hover:visible")},{children:f?"Copy":"Copied"}))]}))}function rt(t){var r=t.color,n=t.className,o=t.children;return(0,e.jsx)("div",et({className:a("z-40 absolute bottom-full left-1/2 mb-3.5 pb-1 -translate-x-1/2",n)},{children:(0,e.jsxs)("div",et({className:"relative whitespace-nowrap text-white text-xs leading-6 font-medium px-1.5 rounded-lg",style:{background:r},"data-reach-alert":"true"},{children:[o,(0,e.jsx)("div",{className:"absolute border-solid",style:{top:"100%",left:"50%",marginLeft:"-6px",borderWidth:"6px",borderColor:"".concat(r," transparent transparent transparent")}})]}))}))}var nt,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 ot(t){var r=t.filename,n=t.filenameColor,o=t.tooltipColor,l=t.onCopied,s=t.children,i=t.className,c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(t,["filename","filenameColor","tooltipColor","onCopied","children","className"]),u=function(t){return(0,e.jsx)(tt,at({textToCopy:Xe(s),tooltipColor:null!=o?o:n,onCopied:l},t))};return(0,e.jsxs)("div",at({className:a("mt-5 mb-8 not-prose gray-frame",r&&"pt-2",i)},c,{children:[r?(0,e.jsx)(lt,at({filename:r,filenameColor:n},{children:(0,e.jsx)(u,{className:"relative"})})):(0,e.jsx)(u,{className:"absolute top-5 right-5"}),(0,e.jsx)("div",at({className:"code-in-gray-frame children:!my-0 children:!shadow-none children:!bg-transparent",style:{fontVariantLigatures:"none"}},{children:s}))]}))}function lt(t){var r=t.filename,n=t.filenameColor,a=t.children;return(0,e.jsxs)("div",at({className:"flex text-slate-400 text-xs leading-6"},{children:[(0,e.jsx)("div",at({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",at({className:"flex-auto flex items-center bg-codeblock-tabs border border-slate-500/30 rounded-t"},{children:a&&(0,e.jsx)("div",at({className:"flex-auto flex items-center justify-end px-4 space-x-4"},{children:a}))}))]}))}let st=null!=(nt=o.useId)?nt:function(){let e=ie(),[t,r]=o.useState(e?()=>ae.nextId():null);return oe((()=>{null===t&&r(ae.nextId())}),[t]),null!=t?""+t:void 0};var it=(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))(it||{});function ct(e){return ae.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let ut=["[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 dt,ft=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(ft||{}),pt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(pt||{}),ht=((dt=ht||{})[dt.Previous=-1]="Previous",dt[dt.Next=1]="Next",dt);function vt(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(ut)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var mt=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(mt||{});function bt(e,t=0){var r;return e!==(null==(r=ct(e))?void 0:r.body)&&U(t,{0:()=>e.matches(ut),1(){let t=e;for(;null!==t;){if(t.matches(ut))return!0;t=t.parentElement}return!1}})}function xt(e){let t=ct(e);pe().nextFrame((()=>{t&&!bt(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}let gt=["textarea","input"].join(",");function yt(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 wt(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?r?yt(e):e:vt(e);a.length>0&&l.length>1&&(l=l.filter((e=>!a.includes(e)))),n=null!=n?n:o.activeElement;let s,i=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,l.indexOf(n))-1;if(4&t)return Math.max(0,l.indexOf(n))+1;if(8&t)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,f=l.length;do{if(d>=f||d+f<=0)return 0;let e=c+d;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}s=l[e],null==s||s.focus(u),d+=i}while(s!==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,gt))&&r}(s)&&s.select(),s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),2}function jt(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 kt(e,t){let[r,n]=(0,o.useState)((()=>jt(e)));return oe((()=>{n(jt(e))}),[e.type,e.as]),oe((()=>{r||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&n("button")}),[r,t]),r}var Ct=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ct||{});let Nt=Q((function(e,t){let{features:r=1,...n}=e;return G({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 Ot({onFocus:e}){let[t,r]=(0,o.useState)(!0);return t?o.createElement(Nt,{as:"button",type:"button",features:Ct.Focusable,onFocus:t=>{t.preventDefault();let n,a=50;n=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(r(!1),void cancelAnimationFrame(n)):void(n=requestAnimationFrame(t));n&&cancelAnimationFrame(n)}))}}):null}const Pt=o.createContext(null);function Et({children:e}){let t=o.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let a=null!=(r=n.get(t))?r:0;return n.set(t,a+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return o.createElement(Pt.Provider,{value:t},e)}function St(e){let t=o.useContext(Pt);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let r=function(){var e,t,r;let n=null!=(r=null==(t=null==(e=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?r:null;if(!n)return Symbol();let a=[],l=n;for(;l;)a.push(l.index),l=l.return;return"$."+a.join(".")}(),[n,a]=t.current.get(e,r);return o.useEffect((()=>a),[]),n}var Tt,It=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(It||{}),Lt=((Tt=Lt||{})[Tt.Less=-1]="Less",Tt[Tt.Equal=0]="Equal",Tt[Tt.Greater=1]="Greater",Tt),At=(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))(At||{});let _t={0(e,t){var r;let n=yt(e.tabs,(e=>e.current)),a=yt(e.panels,(e=>e.current)),o=n.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),l={...e,tabs:n,panels:a};if(t.index<0||t.index>n.length-1){let r=U(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>U(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===o.length?l:{...l,selectedIndex:U(r,{0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])})}}let s=n.slice(0,t.index),i=[...n.slice(t.index),...s].find((e=>o.includes(e)));if(!i)return l;let c=null!=(r=n.indexOf(i))?r:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...l,selectedIndex:c}},1(e,t){var r;if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],a=yt([...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:yt([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},Rt=(0,o.createContext)(null);function Mt(e){let t=(0,o.useContext)(Rt);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Mt),t}return t}Rt.displayName="TabsDataContext";let Ft=(0,o.createContext)(null);function Ht(e){let t=(0,o.useContext)(Ft);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ht),t}return t}function zt(e,t){return U(t.type,_t,e,t)}Ft.displayName="TabsActionsContext";let Dt=o.Fragment,Ut=Q((function(e,t){let{defaultIndex:r=0,vertical:n=!1,manual:a=!1,onChange:l,selectedIndex:s=null,...i}=e;const c=n?"vertical":"horizontal",u=a?"manual":"auto";let d=null!==s,f=de(t),[p,h]=(0,o.useReducer)(zt,{selectedIndex:null!=s?s:r,tabs:[],panels:[]}),v=(0,o.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),m=se(l||(()=>{})),b=se(p.tabs),x=(0,o.useMemo)((()=>({orientation:c,activation:u,...p})),[c,u,p]),g=ce((e=>(h({type:1,tab:e}),()=>h({type:2,tab:e})))),y=ce((e=>(h({type:3,panel:e}),()=>h({type:4,panel:e})))),w=ce((e=>{j.current!==e&&m.current(e),d||h({type:0,index:e})})),j=se(d?e.selectedIndex:p.selectedIndex),k=(0,o.useMemo)((()=>({registerTab:g,registerPanel:y,change:w})),[]);oe((()=>{h({type:0,index:null!=s?s:r})}),[s]),oe((()=>{if(void 0===j.current||p.tabs.length<=0)return;let e=yt(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&w(e.indexOf(p.tabs[j.current]))}));let C={ref:f};return o.createElement(Et,null,o.createElement(Ft.Provider,{value:k},o.createElement(Rt.Provider,{value:x},x.tabs.length<=0&&o.createElement(Ot,{onFocus:()=>{var e,t;for(let r of b.current)if(0===(null==(e=r.current)?void 0:e.tabIndex))return null==(t=r.current)||t.focus(),!0;return!1}}),G({ourProps:C,theirProps:i,slot:v,defaultTag:Dt,name:"Tabs"}))))})),Bt=Q((function(e,t){let{orientation:r,selectedIndex:n}=Mt("Tab.List");return G({ourProps:{ref:de(t),role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})})),Vt=Q((function(e,t){var r,n;let a=st(),{id:l=`headlessui-tabs-tab-${a}`,...s}=e,{orientation:i,activation:c,selectedIndex:u,tabs:d,panels:f}=Mt("Tab"),p=Ht("Tab"),h=Mt("Tab"),v=(0,o.useRef)(null),m=de(v,t);oe((()=>p.registerTab(v)),[p,v]);let b=St("tabs"),x=d.indexOf(v);-1===x&&(x=b);let g=x===u,y=ce((e=>{var t;let r=e();if(r===pt.Success&&"auto"===c){let e=null==(t=ct(v))?void 0:t.activeElement,r=h.tabs.findIndex((t=>t.current===e));-1!==r&&p.change(r)}return r})),w=ce((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===it.Space||e.key===it.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(x);switch(e.key){case it.Home:case it.PageUp:return e.preventDefault(),e.stopPropagation(),y((()=>wt(t,ft.First)));case it.End:case it.PageDown:return e.preventDefault(),e.stopPropagation(),y((()=>wt(t,ft.Last)))}return y((()=>U(i,{vertical:()=>e.key===it.ArrowUp?wt(t,ft.Previous|ft.WrapAround):e.key===it.ArrowDown?wt(t,ft.Next|ft.WrapAround):pt.Error,horizontal:()=>e.key===it.ArrowLeft?wt(t,ft.Previous|ft.WrapAround):e.key===it.ArrowRight?wt(t,ft.Next|ft.WrapAround):pt.Error})))===pt.Success?e.preventDefault():void 0})),j=(0,o.useRef)(!1),k=ce((()=>{var e;j.current||(j.current=!0,null==(e=v.current)||e.focus(),p.change(x),fe((()=>{j.current=!1})))})),C=ce((e=>{e.preventDefault()})),N=(0,o.useMemo)((()=>({selected:g})),[g]);return G({ourProps:{ref:m,onKeyDown:w,onMouseDown:C,onClick:k,id:l,role:"tab",type:kt(e,v),"aria-controls":null==(n=null==(r=f[x])?void 0:r.current)?void 0:n.id,"aria-selected":g,tabIndex:g?0:-1},theirProps:s,slot:N,defaultTag:"button",name:"Tabs.Tab"})})),$t=Q((function(e,t){let{selectedIndex:r}=Mt("Tab.Panels");return G({ourProps:{ref:de(t)},theirProps:e,slot:(0,o.useMemo)((()=>({selectedIndex:r})),[r]),defaultTag:"div",name:"Tabs.Panels"})})),qt=$.RenderStrategy|$.Static,Gt=Q((function(e,t){var r,n,a,l;let s=st(),{id:i=`headlessui-tabs-panel-${s}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:p}=Mt("Tab.Panel"),h=Ht("Tab.Panel"),v=(0,o.useRef)(null),m=de(v,t);oe((()=>h.registerPanel(v)),[h,v]);let b=St("panels"),x=p.indexOf(v);-1===x&&(x=b);let g=x===d,y=(0,o.useMemo)((()=>({selected:g})),[g]),w={ref:m,id:i,role:"tabpanel","aria-labelledby":null==(n=null==(r=f[x])?void 0:r.current)?void 0:n.id,tabIndex:g?c:-1};return g||null!=(a=u.unmount)&&!a||null!=(l=u.static)&&l?G({ourProps:w,theirProps:u,slot:y,defaultTag:"div",features:qt,visible:g,name:"Tabs.Panel"}):o.createElement(Nt,{as:"span",...w})})),Wt=Object.assign(Vt,{Group:Ut,List:Bt,Panels:$t,Panel:Gt});var Zt=function(){return Zt=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},Zt.apply(this,arguments)};function Qt(t){var r=t.children,n=t.selectedColor,o=t.tooltipColor,s=t.onCopied,i=t.isSmallText;if(null==r)return console.warn("CodeGroup has no children, expected at least one CodeBlock child."),null;if(Array.isArray(r)){if(0===r.length)return null}else r=[r];var c=l().Children.toArray(r);return(0,e.jsxs)(Wt.Group,Zt({as:"div",className:"not-prose gray-frame"},{children:[(0,e.jsx)(Wt.List,Zt({className:"flex text-xs leading-6 rounded-tl-xl pt-2"},{children:function(t){var r,l,i=t.selectedIndex;return(0,e.jsxs)(e.Fragment,{children:[c.map((function(t,r){var a,o;return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(Kt,Zt({myIndex:r,selectedIndex:i,selectedColor:n},{children:(null===(a=null==t?void 0:t.props)||void 0===a?void 0:a.filename)||"Filename"}),(null===(o=null==t?void 0:t.props)||void 0===o?void 0:o.filename)+"TabItem"+r)})})),(0,e.jsx)("div",Zt({className:a("flex-auto flex justify-end bg-codeblock-tabs border-y border-slate-500/30 pr-4 rounded-tr",i===(null==c?void 0:c.length)-1?"rounded-tl border-l":"")},{children:(0,e.jsx)(tt,{textToCopy:Xe(null===(l=null===(r=c[i])||void 0===r?void 0:r.props)||void 0===l?void 0:l.children),tooltipColor:null!=o?o:n,onCopied:s,className:"relative"})}))]})}})),(0,e.jsx)(Wt.Panels,Zt({className:"flex overflow-auto"},{children:c.map((function(t){var r,n;return(0,e.jsx)(Wt.Panel,Zt({className:a("flex-none code-in-gray-frame",i&&"text-xs leading-5"),style:{fontVariantLigatures:"none"}},{children:null===(r=null==t?void 0:t.props)||void 0===r?void 0:r.children}),null===(n=null==t?void 0:t.props)||void 0===n?void 0:n.filename)}))}))]}))}function Kt(t){var r=t.children,n=t.selectedIndex,o=t.myIndex,l=t.selectedColor,s=void 0===l?"#CBD5E1":l,i=n===o,c=i?null:n===o-1?"rounded":"normal",u=i?null:n===o+1?"rounded":"normal";return(0,e.jsxs)(Wt,Zt({className:"flex items-center relative overflow-hidden px-4 py-1 text-slate-400 outline-none",style:i?{color:s}:{}},{children:[(0,e.jsx)("span",Zt({className:"z-10"},{children:r})),!i&&(0,e.jsx)(Yt,{className:a("bg-codeblock-tabs border-y border-slate-500/30","rounded"===c&&"border-l rounded-tl","rounded"===u&&"border-r rounded-tr")}),"normal"===u&&(0,e.jsx)(Yt,{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 Yt(t){var r=t.className;return(0,e.jsx)("div",{className:a("pointer-events-none absolute inset-0",r)})}var Xt=function(){return Xt=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},Xt.apply(this,arguments)};const Jt=function(t){var r=t.title,n=t.description,l=t.defaultOpen,s=void 0!==l&&l,i=t.onChange,u=t.children,d=(0,o.useState)(s),f=d[0],p=d[1];return(0,e.jsxs)("div",Xt({role:"listitem",className:""},{children:[(0,e.jsx)(c,{title:r,description:n,open:f,setOpen:function(e){p(e),i&&i(e)}}),(0,e.jsx)("div",Xt({id:r+"Children",className:a("mt-2 pt-2 mb-4 mx-[6px] px-4 border-l border-zinc-100 dark:border-zinc-800",!f&&"hidden")},{children:u}))]}),r)};var er=function(){return er=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},er.apply(this,arguments)},tr={none:"",md:"p-8"};function rr(t){var r=t.as,n=void 0===r?"div":r,o=t.caption,l=t.style,s=t.className,i=t.containerClassName,c=t.html,u=t.children,d=t.hint,f=t.padding,p=void 0===f?"md":f,h=t.lightOnly,v=void 0!==h&&h,m=tr[p];return(0,e.jsxs)("div",er({className:i},{children:[void 0!==d&&(0,e.jsxs)("div",er({className:"not-prose mb-4 flex items-center space-x-2"},{children:[(0,e.jsx)("svg",er({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",er({className:"text-slate-700 text-sm font-medium dark:text-slate-200"},{children:d}))]})),(0,e.jsxs)(n,er({style:l,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",er({className:a("relative rounded-xl overflow-auto flex justify-center",m,s)},c?{dangerouslySetInnerHTML:{__html:c}}:{children:u})),o&&(0,e.jsx)("div",er({className:a("relative rounded-xl overflow-auto flex justify-center -mt-2 pt-0 px-8 pb-7 text-sm text-slate-700 dark:text-slate-400",s)},{children:(0,e.jsx)("p",{children:o})})),(0,e.jsx)("div",{className:a("absolute inset-0 pointer-events-none border border-black/5 rounded-xl",!v&&"dark:border-white/5")})]}))]}))}var nr=function(){return nr=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},nr.apply(this,arguments)};function ar(t){return(0,e.jsx)(or,nr({},t))}function or(t){var r=t.name,n=t.type,o=t.defaultValue,l=t.required,s=void 0!==l&&l,i=t.optional,c=void 0!==i&&i,u=t.hidden,d=void 0!==u&&u,f=t.nameClasses,p=t.children;return d?null:(0,e.jsxs)("div",nr({className:a("pb-3 mb-4 border-b border-zinc-100 dark:border-zinc-800")},{children:[(0,e.jsxs)("div",nr({className:"flex font-mono text-sm"},{children:[r&&(0,e.jsxs)("div",nr({className:"py-0.5 flex-1 space-x-2 truncate"},{children:[(0,e.jsx)("span",nr({className:a("rounded-md px-1.5 py-px border border-zinc-300 dark:brightness-[1.35] dark:border-zinc-800 bg-zinc-50 dark:bg-background-dark font-medium",f,f&&!f.includes("text-")||!f?"dark:text-slate-200":void 0)},{children:r})),s&&(0,e.jsx)("span",nr({className:"text-slate-500 dark:text-slate-300"},{children:"Required"})),c&&(0,e.jsx)("span",nr({className:"text-slate-500 dark:text-slate-300"},{children:"Optional"})),o&&(0,e.jsxs)("span",nr({className:"text-slate-500 dark:text-slate-300"},{children:["Default: ",o]}))]})),n&&(0,e.jsx)("div",nr({className:"text-slate-600 dark:text-slate-300"},{children:n}))]})),(0,e.jsx)("div",nr({className:"mt-2 prose-sm prose-slate dark:prose-dark"},{children:p}))]}))}var lr=(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))(lr||{});function sr(e,t,r){let n=se(t);(0,o.useEffect)((()=>{function t(e){n.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)}),[e,r])}function ir(e){return[e.screenX,e.screenY]}var cr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(cr||{}),ur=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ur||{}),dr=(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))(dr||{});function fr(e,t=(e=>e)){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=yt(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 pr={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=fr(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=fr(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=fr(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}}},hr=(0,o.createContext)(null);function vr(e){let t=(0,o.useContext)(hr);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,vr),t}return t}function mr(e,t){return U(t.type,pr,e,t)}hr.displayName="MenuContext";let br=o.Fragment,xr=Q((function(e,t){let r=(0,o.useReducer)(mr,{menuState:1,buttonRef:(0,o.createRef)(),itemsRef:(0,o.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:n,itemsRef:a,buttonRef:l},s]=r,i=de(t);!function(e,t,r=!0){let n=(0,o.useRef)(!1);function a(r,a){if(!n.current||r.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=a(r);if(null!==l&&l.getRootNode().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)||r.composed&&r.composedPath().includes(t))return}return!bt(l,mt.Loose)&&-1!==l.tabIndex&&r.preventDefault(),t(r,l)}}(0,o.useEffect)((()=>{requestAnimationFrame((()=>{n.current=r}))}),[r]);let l=(0,o.useRef)(null);sr("mousedown",(e=>{var t,r;n.current&&(l.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),sr("click",(e=>{!l.current||(a(e,(()=>l.current)),l.current=null)}),!0),sr("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([l,a],((e,t)=>{var r;s({type:1}),bt(t,mt.Loose)||(e.preventDefault(),null==(r=l.current)||r.focus())}),0===n);let c=ce((()=>{s({type:1})})),u=(0,o.useMemo)((()=>({open:0===n,close:c})),[n,c]),d=e,f={ref:i};return o.createElement(hr.Provider,{value:r},o.createElement(te,{value:U(n,{0:J.Open,1:J.Closed})},G({ourProps:f,theirProps:d,slot:u,defaultTag:br,name:"Menu"})))})),gr=Q((function(e,t){var r;let n=st(),{id:a=`headlessui-menu-button-${n}`,...l}=e,[s,i]=vr("Menu.Button"),c=de(s.buttonRef,t),u=me(),d=ce((e=>{switch(e.key){case it.Space:case it.Enter:case it.ArrowDown:e.preventDefault(),e.stopPropagation(),i({type:0}),u.nextFrame((()=>i({type:2,focus:lr.First})));break;case it.ArrowUp:e.preventDefault(),e.stopPropagation(),i({type:0}),u.nextFrame((()=>i({type:2,focus:lr.Last})))}})),f=ce((e=>{e.key===it.Space&&e.preventDefault()})),p=ce((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===s.menuState?(i({type:1}),u.nextFrame((()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),i({type:0})))})),h=(0,o.useMemo)((()=>({open:0===s.menuState})),[s]);return G({ourProps:{ref:c,id:a,type:kt(e,s.buttonRef),"aria-haspopup":"menu","aria-controls":null==(r=s.itemsRef.current)?void 0:r.id,"aria-expanded":e.disabled?void 0:0===s.menuState,onKeyDown:d,onKeyUp:f,onClick:p},theirProps:l,slot:h,defaultTag:"button",name:"Menu.Button"})})),yr=$.RenderStrategy|$.Static,wr=Q((function(e,t){var r,n;let a=st(),{id:l=`headlessui-menu-items-${a}`,...s}=e,[i,c]=vr("Menu.Items"),u=de(i.itemsRef,t),d=function(...e){return(0,o.useMemo)((()=>ct(...e)),[...e])}(i.itemsRef),f=me(),p=ee(),h=null!==p?p===J.Open:0===i.menuState;(0,o.useEffect)((()=>{let e=i.itemsRef.current;!e||0===i.menuState&&e!==(null==d?void 0:d.activeElement)&&e.focus({preventScroll:!0})}),[i.menuState,i.itemsRef,d]),function({container:e,accept:t,walk:r,enabled:n=!0}){let a=(0,o.useRef)(t),l=(0,o.useRef)(r);(0,o.useEffect)((()=>{a.current=t,l.current=r}),[t,r]),oe((()=>{if(!e||!n)return;let t=ct(e);if(!t)return;let r=a.current,o=l.current,s=Object.assign((e=>r(e)),{acceptNode:r}),i=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;i.nextNode();)o(i.currentNode)}),[e,n,a,l])}({container:i.itemsRef.current,enabled:0===i.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 v=ce((e=>{var t,r;switch(f.dispose(),e.key){case it.Space:if(""!==i.searchQuery)return e.preventDefault(),e.stopPropagation(),c({type:3,value:e.key});case it.Enter:if(e.preventDefault(),e.stopPropagation(),c({type:1}),null!==i.activeItemIndex){let{dataRef:e}=i.items[i.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}xt(i.buttonRef.current);break;case it.ArrowDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:lr.Next});case it.ArrowUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:lr.Previous});case it.Home:case it.PageUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:lr.First});case it.End:case it.PageDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:lr.Last});case it.Escape:e.preventDefault(),e.stopPropagation(),c({type:1}),pe().nextFrame((()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case it.Tab:e.preventDefault(),e.stopPropagation(),c({type:1}),pe().nextFrame((()=>{!function(e,t){wt(vt(),t,{relativeTo:e})}(i.buttonRef.current,e.shiftKey?ft.Previous:ft.Next)}));break;default:1===e.key.length&&(c({type:3,value:e.key}),f.setTimeout((()=>c({type:4})),350))}})),m=ce((e=>{e.key===it.Space&&e.preventDefault()})),b=(0,o.useMemo)((()=>({open:0===i.menuState})),[i]);return G({ourProps:{"aria-activedescendant":null===i.activeItemIndex||null==(r=i.items[i.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(n=i.buttonRef.current)?void 0:n.id,id:l,onKeyDown:v,onKeyUp:m,role:"menu",tabIndex:0,ref:u},theirProps:s,slot:b,defaultTag:"div",features:yr,visible:h,name:"Menu.Items"})})),jr=o.Fragment,kr=Q((function(e,t){let r=st(),{id:n=`headlessui-menu-item-${r}`,disabled:a=!1,...l}=e,[s,i]=vr("Menu.Item"),c=null!==s.activeItemIndex&&s.items[s.activeItemIndex].id===n,u=(0,o.useRef)(null),d=de(t,u);oe((()=>{if(0!==s.menuState||!c||0===s.activationTrigger)return;let e=pe();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[u,c,s.menuState,s.activationTrigger,s.activeItemIndex]);let f=(0,o.useRef)({disabled:a,domRef:u});oe((()=>{f.current.disabled=a}),[f,a]),oe((()=>{var e,t;f.current.textValue=null==(t=null==(e=u.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[f,u]),oe((()=>(i({type:5,id:n,dataRef:f}),()=>i({type:6,id:n}))),[f,n]);let p=ce((()=>{i({type:1})})),h=ce((e=>{if(a)return e.preventDefault();i({type:1}),xt(s.buttonRef.current)})),v=ce((()=>{if(a)return i({type:2,focus:lr.Nothing});i({type:2,focus:lr.Specific,id:n})})),m=function(){let e=(0,o.useRef)([-1,-1]);return{wasMoved(t){let r=ir(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=ir(t)}}}(),b=ce((e=>m.update(e))),x=ce((e=>{!m.wasMoved(e)||a||c||i({type:2,focus:lr.Specific,id:n,trigger:0})})),g=ce((e=>{!m.wasMoved(e)||a||!c||i({type:2,focus:lr.Nothing})})),y=(0,o.useMemo)((()=>({active:c,disabled:a,close:p})),[c,a,p]);return G({ourProps:{id:n,ref:d,role:"menuitem",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,disabled:void 0,onClick:h,onFocus:v,onPointerEnter:b,onMouseEnter:b,onPointerMove:x,onMouseMove:x,onPointerLeave:g,onMouseLeave:g},theirProps:l,slot:y,defaultTag:jr,name:"Menu.Item"})})),Cr=Object.assign(xr,{Button:gr,Items:wr,Item:kr});var Nr=function(){return Nr=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},Nr.apply(this,arguments)};function Or(t){var r=t.options,n=t.onChange,l=t.defaultOption,s=t.selectedOptionClass,i=l,c=Array.isArray(r)&&r.length>0;null==l&&c&&(i=r[0]);var u=(0,o.useState)(i),d=u[0],f=u[1];return c?(0,e.jsx)("div",Nr({className:"relative"},{children:(0,e.jsxs)(Cr,{children:[(0,e.jsxs)(Cr.Button,Nr({className:"text-xs text-slate-500 dark:text-slate-400 leading-5 font-semibold !bg-zinc-400/10 rounded-full py-1 px-3 flex items-center space-x-2 hover:bg-zinc-400/20"},{children:[d,(0,e.jsx)("svg",Nr({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)(Cr.Items,Nr({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-zinc-800 dark:text-slate-300"},{children:r.map((function(t){return(0,e.jsx)(Cr.Item,Nr({disabled:t===d},{children:function(r){var o=r.active;return(0,e.jsxs)("a",Nr({className:a("flex items-center justify-between px-3 py-1 cursor-pointer",o&&"bg-zinc-50 text-slate-900 dark:bg-zinc-600/30 dark:text-white",t===d&&s),onClick:function(){return function(e){f(e),n&&n(e)}(t)}},{children:[t,t===d&&(0,e.jsx)("svg",Nr({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 Pr=function(){return Pr=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},Pr.apply(this,arguments)};function Er(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",Pr({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",Pr({className:"prose dark:prose-dark"},{children:l})):null]})}var Sr=function(){return Sr=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},Sr.apply(this,arguments)};function Tr(t){var r,n,a=t.children,l=(0,o.useState)(0),s=l[0],i=l[1],c=o.Children.toArray(a),u=null===(n=null===(r=c[s])||void 0===r?void 0:r.props)||void 0===n?void 0:n.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("ul",Sr({className:"not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-zinc-200 space-x-6 flex dark:border-zinc-200/10"},{children:c.map((function(t,r){var n,a;return(0,e.jsx)("li",Sr({className:"cursor-pointer",onClick:function(){return i(r)}},{children:(0,e.jsx)(Er,{title:null!==(a=null===(n=null==t?void 0:t.props)||void 0===n?void 0:n.title)&&void 0!==a?a:"Tab Title",isActive:r===s})}))}))})),(0,e.jsx)("div",Sr({className:"prose dark:prose-dark"},{children:u}))]})}var Ir=function(){return Ir=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},Ir.apply(this,arguments)};function Lr(t){var r=t.tip,n=t.children;return n?(0,e.jsxs)("span",Ir({className:"group z-10 inline relative"},{children:[Ar(n),(0,e.jsx)("span",Ir({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-codeblock text-center text-slate-50 text-xs px-1.5 py-1 rounded-lg border border-zinc-50"},{children:r}))]})):null}function Ar(t){return(0,o.isValidElement)(t)?t:(0,e.jsx)("span",Ir({className:"underline decoration-dotted decoration-2 underline-offset-4 decoration-zinc-400 dark:decoration-zinc-500"},{children:t}))}})(),module.exports=n})();
2
+ (()=>{var e={8:(e,t,r)=>{var n,a="Expected a function",o="__lodash_hash_undefined__",l=1/0,i=9007199254740991,s="[object Function]",c="[object GeneratorFunction]",u="[object Symbol]",d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,p=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,v=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,x="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,g="object"==typeof self&&self&&self.Object===Object&&self,y=x||g||Function("return this")(),w=Array.prototype,j=Function.prototype,k=Object.prototype,C=y["__core-js_shared__"],O=(n=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",N=j.toString,P=k.hasOwnProperty,S=k.toString,E=RegExp("^"+N.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=y.Symbol,I=w.splice,L=B(y,"Map"),A=B(Object,"create"),R=T?T.prototype:void 0,_=R?R.toString:void 0;function F(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function M(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function H(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function z(e,t,r){var n=e[t];P.call(e,t)&&W(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function D(e,t){for(var r=e.length;r--;)if(W(e[r][0],t))return r;return-1}function U(e,t){var r,n,a=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?a["string"==typeof t?"string":"hash"]:a.map}function B(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){if(!Q(e)||O&&O in e)return!1;var t=function(e){var t=Q(e)?S.call(e):"";return t==s||t==c}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?E:m;return t.test(function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function V(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||b.test(e))&&e>-1&&e%1==0&&e<t}F.prototype.clear=function(){this.__data__=A?A(null):{}},F.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},F.prototype.get=function(e){var t=this.__data__;if(A){var r=t[e];return r===o?void 0:r}return P.call(t,e)?t[e]:void 0},F.prototype.has=function(e){var t=this.__data__;return A?void 0!==t[e]:P.call(t,e)},F.prototype.set=function(e,t){return this.__data__[e]=A&&void 0===t?o:t,this},M.prototype.clear=function(){this.__data__=[]},M.prototype.delete=function(e){var t=this.__data__,r=D(t,e);return!(r<0||(r==t.length-1?t.pop():I.call(t,r,1),0))},M.prototype.get=function(e){var t=this.__data__,r=D(t,e);return r<0?void 0:t[r][1]},M.prototype.has=function(e){return D(this.__data__,e)>-1},M.prototype.set=function(e,t){var r=this.__data__,n=D(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},H.prototype.clear=function(){this.__data__={hash:new F,map:new(L||M),string:new F}},H.prototype.delete=function(e){return U(this,e).delete(e)},H.prototype.get=function(e){return U(this,e).get(e)},H.prototype.has=function(e){return U(this,e).has(e)},H.prototype.set=function(e,t){return U(this,e).set(e,t),this};var $=q((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(K(e))return _?_.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}(t);var r=[];return p.test(e)&&r.push(""),e.replace(h,(function(e,t,n,a){r.push(n?a.replace(v,"$1"):t||e)})),r}));function G(e){if("string"==typeof e||K(e))return e;var t=e+"";return"0"==t&&1/e==-l?"-0":t}function q(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(a);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var l=e.apply(this,n);return r.cache=o.set(a,l),l};return r.cache=new(q.Cache||H),r}function W(e,t){return e===t||e!=e&&t!=t}q.Cache=H;var Z=Array.isArray;function Q(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function K(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&S.call(e)==u}e.exports=function(e,t,r){return null==e?e:function(e,t,r,n){if(!Q(e))return e;t=function(e,t){if(Z(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!K(e))||f.test(e)||!d.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:function(e){return Z(e)?e:$(e)}(t);for(var a=-1,o=t.length,l=o-1,i=e;null!=i&&++a<o;){var s=G(t[a]),c=r;if(a!=l){var u=i[s];void 0===(c=n?n(u,s,i):void 0)&&(c=Q(u)?u:V(t[a+1])?[]:{})}z(i,s,c),i=i[s]}return e}(e,t,r)}},455:(e,t,r)=>{"use strict";var n=r(258),a=Symbol.for("react.element"),o=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,o={},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)&&(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:c,ref:u,props:o,_owner:i.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},557:(e,t,r)=>{"use strict";e.exports=r(455)},258:e=>{"use strict";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.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),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={};(()=>{"use strict";r.r(n),r.d(n,{Accordion:()=>p,AccordionGroup:()=>v,ApiPlayground:()=>F,AppearFromTop:()=>Fe,Button:()=>Ue,Card:()=>Je,CardGroup:()=>tt,Check:()=>Ze,CodeBlock:()=>vt,CodeGroup:()=>or,Expandable:()=>cr,Frame:()=>fr,Info:()=>$e,Note:()=>qe,Param:()=>vr,PillSelect:()=>Mr,RequestMethodBubble:()=>H,RequestPathHeader:()=>B,Tab:()=>zr,Tabs:()=>Ur,Tip:()=>We,Tooltip:()=>Vr,Warning:()=>Ge});var e=r(557);function t(e){var r,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(n=t(e[r]))&&(a&&(a+=" "),a+=n);else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function a(){for(var e,r,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(r=t(e))&&(a&&(a+=" "),a+=r);return a}var o=r(258),l=r.n(o),i=function(){return i=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},i.apply(this,arguments)};function s(t){var r=t.open;return(0,e.jsx)("svg",i({xmlns:"http://www.w3.org/2000/svg",className:a("h-3 w-3 transition",r&&"duration-200 rotate-90 -mt-1",!r&&"duration-75"),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 c=function(t){var r=t.title,n=t.description,a=t.open,o=t.setOpen;return(0,e.jsxs)("button",i({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)(s,{open:a}),(0,e.jsxs)("div",i({className:"ml-2 leading-tight text-left"},{children:[(0,e.jsxs)("p",i({className:"m-0"},{children:[a?"Hide":"Show"," ",r]})),n?(0,e.jsx)("p",i({className:"m-0"},{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 d=function(t){var r=t.title,n=t.description,o=t.open,l=t.setOpen,i=t.icon,c=t.coverClass;return(0,e.jsxs)("button",u({onClick:function(){return l(!o)},className:a("not-prose flex flex-row items-center content-center w-full",c),"aria-controls":r+"Children","aria-expanded":o},{children:[(0,e.jsx)("div",u({className:"mr-0.5"},{children:(0,e.jsx)(s,{open:o})})),i?(0,e.jsx)("div",u({className:"h-4 w-4 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:i})):null,(0,e.jsxs)("div",u({className:"leading-tight text-left"},{children:[(0,e.jsx)("p",u({className:"m-0 font-medium text-slate-900 dark:text-slate-200"},{children:r})),n?(0,e.jsx)("p",u({className:"m-0 text-slate-900 dark:text-slate-200"},{children:n})):null]}))]}))};var f=function(){return f=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},f.apply(this,arguments)};const p=function(t){var r=t.title,n=t.description,l=t.defaultOpen,i=void 0!==l&&l,s=t.icon,c=t.onChange,u=t.variant,p=void 0===u?"rounded":u,h=t.children,v=(0,o.useState)(Boolean(i)),m=v[0],b=v[1],x=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-zinc-100 dark:border-zinc-800"}:{parentClass:"border dark:border-zinc-800 rounded-xl mb-3 overflow-hidden",coverClass:"py-4 px-5 space-x-2 hover:bg-slate-100 hover:dark:bg-slate-800 rounded-t-xl",contentClass:"mt-2 mb-4 mx-6"}}(p),g=x.parentClass,y=x.coverClass,w=x.contentClass;return(0,e.jsxs)("div",f({role:"listitem",className:g},{children:[(0,e.jsx)(d,{title:r,description:n,open:m,setOpen:function(e){b(e),c&&c(e)},icon:s,coverClass:y}),(0,e.jsx)("div",f({className:a(w,!m&&"hidden")},{children:h}))]}),r)};var h=function(){return h=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},h.apply(this,arguments)};const v=function(t){var r=t.children;return(0,e.jsx)("div",h({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-zinc-800",role:"list"},{children:r}))};var m=r(8),b=r.n(m),x=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"bg-green-600";case"POST":return"bg-blue-600";case"PUT":return"bg-yellow-600";case"DELETE":return"bg-red-600";case"PATCH":return"bg-orange-600";default:return"bg-slate-600"}},g=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"hover:bg-green-800 disabled:bg-green-700";case"POST":return"hover:bg-blue-800 disabled:bg-blue-700";case"PUT":return"hover:bg-yellow-800 disabled:bg-yellow-700";case"DELETE":return"hover:bg-red-800 disabled:bg-red-700";case"PATCH":return"hover:bg-orange-800 disabled:bg-orange-700";default:return"hover:bg-slate-800 disabled:bg-slate-700"}},y=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"text-green-600 dark:text-green-500";case"POST":return"text-blue-600 dark:text-blue-500";case"PUT":return"text-yellow-600 dark:text-yellow-500";case"DELETE":return"text-red-600 dark:text-red-500";case"PATCH":return"text-orange-600 dark:text-orange-500";default:return"text-slate-600 dark:text-slate-500"}},w=function(e){switch(null==e?void 0:e.toUpperCase()){case"GET":return"border-green-600 dark:border-green-500";case"POST":return"border-blue-600 dark:border-blue-500";case"PUT":return"border-yellow-600 dark:border-yellow-500";case"DELETE":return"border-red-600 dark:border-red-500";case"PATCH":return"border-orange-600 dark:border-orange-500";default:return"border-slate-600 dark:border-slate-500"}},j=function(){return j=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},j.apply(this,arguments)};function k(t){var r=t.onClick;return(0,e.jsxs)("div",j({className:"relative"},{children:[(0,e.jsx)("button",j({className:"w-full py-0.5 px-2 rounded text-left border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-600 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-800 hover:border-slate-400 dark:hover:border-slate-500",onClick:r},{children:"Add Item"})),(0,e.jsx)("svg",j({className:"hidden sm:block absolute right-2 top-[7px] h-3 fill-slate-500 dark:fill-slate-400 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},{children:(0,e.jsx)("path",{d:"M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"})}))]}))}var C=function(){return C=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},C.apply(this,arguments)},O=function(t){var r=t.options,n=t.value,a=t.onInputChange;return(0,e.jsxs)("div",C({className:"relative"},{children:[(0,e.jsxs)("select",C({className:"w-full py-0.5 px-2 rounded border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-600 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-zinc-800 hover:border-slate-400 dark:hover:border-slate-500 cursor-pointer",onChange:function(e){return a(e.target.value)},value:n||"Select"},{children:[(0,e.jsx)("option",C({disabled:!0},{children:"Select"})),r.map((function(t){return(0,e.jsx)("option",{children:t},t)}))]})),(0,e.jsx)(N,{})]}))},N=function(){return(0,e.jsx)("svg",C({className:"absolute right-2 top-[7px] h-3 fill-slate-500 dark:fill-slate-400 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},{children:(0,e.jsx)("path",{d:"M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"})}))},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)},S=function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{s(n.next(e))}catch(e){o(e)}}function i(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,i)}s((n=n.apply(e,t||[])).next())}))},E=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:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(l=0)),l;)try{if(r=1,n&&(a=2&i[0]?n.return:i[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;switch(n=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,n=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){l=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){l.label=i[1];break}if(6===i[0]&&l.label<a[1]){l.label=a[1],a=i;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(i);break}a[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],n=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},T=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};function I(t){var r,n,l,i,s=this,c=t.param,u=t.value,d=t.onChangeParam,f=t.onDeleteArrayItem,p=t.parentInputs,h=void 0===p?[]:p,v="object"===c.type&&null!=c.properties,m="array"===c.type,b=(0,o.useState)(Boolean(c.required)&&v||m&&Array.isArray(u)&&u.length>0),x=b[0],g=b[1],y=(0,o.useState)(v?u:{}),w=y[0],j=y[1],C=(0,o.useState)(m&&Array.isArray(u)?u:[]),N=C[0],R=C[1];"string"==typeof c.type&&(i=null===(r=c.type)||void 0===r?void 0:r.toLowerCase());var _=function(e){d(h,c.name,e)},F=function(){var e=T(T([],N,!0),[{param:P(P({},c),{type:c.properties?"object":L(c.type)}),value:c.properties?{}:null}],!1);R(e),_(e.map((function(e){return e.value})))};return l="boolean"===i?(0,e.jsx)(O,{options:["true","false"],value:null!=u?u.toString():"",onInputChange:function(e){return _("true"===e)}}):"integer"===i||"number"===i?(0,e.jsx)("input",{className:"w-full py-0.5 px-2 rounded border border-slate-200 dark:border-slate-700 bg-white dark:bg-dark-input text-slate-700 dark:text-slate-200",type:"number",placeholder:c.placeholder,value:u,onChange:function(e){return _(parseInt(e.target.value,10))}}):"file"===i||"files"===i?(0,e.jsxs)("button",P({className:"relative flex items-center px-2 w-full h-7 rounded border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-700 dark:text-slate-200 border-dashed hover:bg-slate-50 dark:hover:bg-slate-800"},{children:[(0,e.jsx)("input",{className:"z-5 absolute inset-0 opacity-0 cursor-pointer",type:"file",onChange:function(e){return S(s,void 0,void 0,(function(){var t;return E(this,(function(r){switch(r.label){case 0:return null==e.target.files?[2]:(t=_,[4,A(e.target.files[0])]);case 1:return t.apply(void 0,[r.sent()]),[2]}}))}))}}),(0,e.jsx)("svg",P({className:"absolute right-2 top-[7px] h-3 fill-slate-500 dark:fill-slate-400 bg-border-slate-700 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},{children:(0,e.jsx)("path",{d:"M105.4 182.6c12.5 12.49 32.76 12.5 45.25 .001L224 109.3V352c0 17.67 14.33 32 32 32c17.67 0 32-14.33 32-32V109.3l73.38 73.38c12.49 12.49 32.75 12.49 45.25-.001c12.49-12.49 12.49-32.75 0-45.25l-128-128C272.4 3.125 264.2 0 256 0S239.6 3.125 233.4 9.375L105.4 137.4C92.88 149.9 92.88 170.1 105.4 182.6zM480 352h-160c0 35.35-28.65 64-64 64s-64-28.65-64-64H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96C512 366.3 497.7 352 480 352zM432 456c-13.2 0-24-10.8-24-24c0-13.2 10.8-24 24-24s24 10.8 24 24C456 445.2 445.2 456 432 456z"})})),(0,e.jsx)("span",P({className:"w-full truncate text-left inline-block pointer-events-none"},{children:null!=u&&"string"==typeof u&&u.length>0?u:null!==(n=null==u?void 0:u.name)&&void 0!==n?n:"Choose file"}))]})):v&&!m?(0,e.jsx)("button",P({className:"relative flex items-center w-full h-6 justify-end ",onClick:function(){return g(!x)}},{children:(0,e.jsx)("span",P({className:"fill-slate-500 dark:fill-slate-400 group-hover:fill-slate-700 dark:group-hover:fill-slate-200"},{children:x?(0,e.jsx)("svg",P({className:"h-3 w-3 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},{children:(0,e.jsx)("path",{d:"M473 7c-9.4-9.4-24.6-9.4-33.9 0l-87 87L313 55c-6.9-6.9-17.2-8.9-26.2-5.2S272 62.3 272 72V216c0 13.3 10.7 24 24 24H440c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-39-39 87-87c9.4-9.4 9.4-24.6 0-33.9L473 7zM216 272H72c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l39 39L7 439c-9.4 9.4-9.4 24.6 0 33.9l32 32c9.4 9.4 24.6 9.4 33.9 0l87-87 39 39c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V296c0-13.3-10.7-24-24-24z"})})):(0,e.jsx)("svg",P({className:"h-3 w-3 pointer-events-none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},{children:(0,e.jsx)("path",{d:"M344 0H488c13.3 0 24 10.7 24 24V168c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM184 496H40c-13.3 0-24-10.7-24-24V328c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"})}))}))})):m?0===N.length&&(0,e.jsx)(k,{onClick:F}):c.enum?(0,e.jsx)(O,{options:c.enum,value:u,onInputChange:_}):(0,e.jsx)("input",{className:"w-full py-0.5 px-2 rounded border border-slate-200 dark:border-slate-600 bg-white dark:bg-dark-input text-slate-700 dark:text-slate-200",type:"text",placeholder:c.placeholder,value:u,onChange:function(e){return _(e.target.value)}}),(0,e.jsxs)("div",P({className:a("text-[0.84rem]",(v&&x||N.length>0)&&"px-3 py-2 -mx-1.5 border border-slate-200 dark:border-slate-700 bg-white dark:bg-codeblock rounded-md")},{children:[(0,e.jsxs)("div",P({className:"flex items-center space-x-2 group"},{children:[(0,e.jsxs)("div",P({className:a("flex items-center flex-1 font-mono text-slate-600 dark:text-slate-300",v&&"cursor-pointer",f&&"invisible"),onClick:function(){return v&&g(!x)}},{children:[c.name,c.required&&(0,e.jsx)("span",P({className:"text-red-600 dark:text-red-400"},{children:"*"}))]})),(0,e.jsx)("div",P({className:a("flex-initial",f?"w-[calc(40%-1.05rem)] sm:w-[calc(33%-1.05rem)]":"w-2/5 sm:w-1/3")},{children:l})),f&&(0,e.jsx)("button",P({className:"py-1 fill-red-600 dark:fill-red-400 hover:fill-red-800 dark:hover:fill-red-200",onClick:f},{children:(0,e.jsx)("svg",P({className:"h-3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},{children:(0,e.jsx)("path",{d:"M424 80C437.3 80 448 90.75 448 104C448 117.3 437.3 128 424 128H412.4L388.4 452.7C385.9 486.1 358.1 512 324.6 512H123.4C89.92 512 62.09 486.1 59.61 452.7L35.56 128H24C10.75 128 0 117.3 0 104C0 90.75 10.75 80 24 80H93.82L130.5 24.94C140.9 9.357 158.4 0 177.1 0H270.9C289.6 0 307.1 9.358 317.5 24.94L354.2 80H424zM177.1 48C174.5 48 171.1 49.34 170.5 51.56L151.5 80H296.5L277.5 51.56C276 49.34 273.5 48 270.9 48H177.1zM364.3 128H83.69L107.5 449.2C108.1 457.5 115.1 464 123.4 464H324.6C332.9 464 339.9 457.5 340.5 449.2L364.3 128z"})}))}))]})),x&&c.properties&&(0,e.jsx)("div",P({className:"mt-1 pt-2 pb-1 border-t border-slate-100 dark:border-slate-700 space-y-2"},{children:c.properties.map((function(t){return(0,e.jsx)(I,{param:t,value:(u||{})[t.name],onChangeParam:function(e,r,n){return function(e,t){var r,n=P(P({},w),((r={})[e]=t,r));j(n),_(n)}(t.name,n)},parentInputs:T(T([],h,!0),[c.name],!1)},t.name)}))})),N.length>0&&(0,e.jsxs)("div",P({className:a("mt-1 pt-2 pb-1 space-y-2",!v&&"border-t border-slate-100 dark:border-slate-700")},{children:[N.map((function(t,r){return(0,e.jsx)(I,{param:t.param,value:t.value,onChangeParam:function(e,t,n){return function(e,t){var r=N.map((function(r,n){return e===n?P(P({},r),{value:t}):r}));R(r),_(r.map((function(e){return e.value})))}(r,n)},onDeleteArrayItem:function(){return function(e){R(e);var t=e.length>0?e:void 0;_(null==t?void 0:t.map((function(e){return e.value})))}(N.filter((function(e,t){return r!==t})))}},"".concat(t.param.name).concat(r))})),(0,e.jsx)("div",P({className:"flex items-center justify-end space-x-2 group"},{children:(0,e.jsx)("div",P({className:"flex-initial w-2/5 sm:w-1/3"},{children:(0,e.jsx)(k,{onClick:F})}))}))]}))]}))}var L=function(e){return e&&"array"!==e?e.replace(/\[\]/g,""):""},A=function(e){return new Promise((function(t,r){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){t(n.result)},n.onerror=function(e){r(e)}}))},R=function(){return R=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},R.apply(this,arguments)},_=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))};function F(t){var r=t.method,n=t.paramGroups,l=t.paramValues,i=t.isSendingRequest,s=t.onChangeParamValues,c=t.onSendRequest,u=t.header,d=t.response,f=(0,o.useState)(n[0]),p=f[0],h=f[1];return(0,e.jsxs)("div",R({className:"mt-4 border border-slate-200 dark:border-slate-600 bg-slate-50 dark:bg-codeblock rounded-md truncate"},{children:[(0,e.jsxs)("div",R({className:"px-3.5 pt-3.5 pb-4"},{children:[u,(0,e.jsxs)("div",R({className:"text-sm"},{children:[(0,e.jsx)("div",R({className:"block"},{children:(0,e.jsx)("div",R({className:"border-b border-slate-200 dark:border-slate-600"},{children:(0,e.jsx)("nav",R({className:"-mb-px flex space-x-4","aria-label":"Tabs"},{children:n.map((function(t){return(0,e.jsx)("button",R({className:a((null==p?void 0:p.name)===t.name?"".concat(y(r)," ").concat(w(r)):"border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300 dark:text-slate-400 dark:hover:text-slate-200","whitespace-nowrap py-2 border-b-2 font-medium text-[0.84rem]"),onClick:function(){return h(t)}},{children:t.name}),t.name)}))}))}))})),(0,e.jsx)("div",R({className:"mt-4 space-y-2"},{children:null==p?void 0:p.params.map((function(t,r){var n,a;return(0,e.jsx)(I,{param:t,value:null!==(a=null===(n=l[p.name])||void 0===n?void 0:n[t.name])&&void 0!==a?a:"",onChangeParam:function(e,t,r){return function(e,t,r,n){var a,o,i=R(R({},l[e]),b()(null!==(o=l[e])&&void 0!==o?o:{},_(_([],t,!0),[r],!1),n));s(R(R({},l),((a={})[e]=i,a)))}(p.name,e,t,r)}},"".concat(t.name).concat(r))}))})),(0,e.jsxs)("button",R({className:a("flex items-center py-1.5 px-3 rounded text-white font-medium space-x-2",x(r),g(r),p&&"mt-4"),disabled:i,onClick:c},{children:[(0,e.jsx)("svg",R({className:"fill-white h-3",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},{children:(0,e.jsx)("path",{d:"M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"})})),(0,e.jsx)("div",{children:i?"Sending...":"Send Request"})]}))]}))]})),i?null:d]}))}var M=function(){return M=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},M.apply(this,arguments)},H=function(t){var r=t.method;return(0,e.jsx)("span",M({className:a("inline-block text-white font-bold px-1.5 rounded-md text-[0.95rem]",x(r))},{children:r}))},z=function(){return z=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},z.apply(this,arguments)};function D(t){var r=t.baseUrls,n=t.defaultValue,a=t.onChange;return null==r||!Array.isArray(r)||r.length<=1?null:(0,e.jsxs)("div",z({className:"border-slate-400 dark:border-slate-400 relative select-none align-middle inline-flex rounded-md -top-px mx-1 w-5 h-[1.125rem] bg-white hover:bg-slate-100 dark:bg-slate-700 dark:hover:bg-slate-600 border hover:border-slate-400 dark:hover:border-slate-400 focus:outline-none cursor-pointer"},{children:[(0,e.jsxs)("select",z({"aria-label":"Select API base","aria-expanded":"false",className:"z-10 absolute inset-0 opacity-0 cursor-pointer",onChange:function(e){return a(e.target.value)},defaultValue:n},{children:[(0,e.jsx)("option",z({disabled:!0},{children:"Select API base"})),r.map((function(t){return(0,e.jsx)("option",{children:t},t)}))]})),(0,e.jsx)("svg",z({width:"20",height:"20",fill:"none",className:"transform absolute -top-0.5 -left-px rotate-90"},{children:(0,e.jsx)("path",{className:"stroke-slate-700 dark:stroke-slate-100",d:"M9 7l3 3-3 3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))]}))}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)},B=function(t){var r=t.method,n=t.path,a=t.baseUrls,o=t.defaultBaseUrl,l=t.onBaseUrlChange;return(0,e.jsxs)("div",U({className:"text-sm md:text-base flex items-center space-x-2 mb-2"},{children:[(0,e.jsx)(H,{method:r}),a&&(0,e.jsx)(D,{baseUrls:a,defaultValue:o,onChange:l}),(0,e.jsx)("div",U({className:"font-mono text-[0.95rem] overflow-auto"},{children:(0,e.jsx)("p",U({className:"inline-block text-slate-700 dark:text-slate-100 font-semibold"},{children:n}))}))]}))};function V(...e){return e.filter(Boolean).join(" ")}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 G,q,W=((q=W||{})[q.None=0]="None",q[q.RenderStrategy=1]="RenderStrategy",q[q.Static=2]="Static",q),Z=((G=Z||{})[G.Unmount=0]="Unmount",G[G.Hidden=1]="Hidden",G);function Q({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:a,visible:o=!0,name:l}){let i=Y(t,e);if(o)return K(i,r,n,l);let s=null!=a?a:0;if(2&s){let{static:e=!1,...t}=i;if(e)return K(t,r,n,l)}if(1&s){let{unmount:e=!0,...t}=i;return $(e?0:1,{0:()=>null,1:()=>K({...t,hidden:!0,style:{display:"none"}},r,n,l)})}return K(i,r,n,l)}function K(e,t={},r,n){var a;let{as:l=r,children:i,refName:s="ref",...c}=ee(e,["unmount","static"]),u=void 0!==e.ref?{[s]:e.ref}:{},d="function"==typeof i?i(t):i;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let f={};if(t){let e=!1,r=[];for(let[n,a]of Object.entries(t))"boolean"==typeof a&&(e=!0),!0===a&&r.push(n);e&&(f["data-headlessui-state"]=r.join(" "))}if(l===o.Fragment&&Object.keys(J(c)).length>0){if(!(0,o.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).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"));let e=V(null==(a=d.props)?void 0:a.className,c.className),t=e?{className:e}:{};return(0,o.cloneElement)(d,Object.assign({},Y(d.props,J(ee(c,["ref"]))),f,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)}}}(d.ref,u.ref),t))}return(0,o.createElement)(l,Object.assign({},ee(c,["ref"]),l!==o.Fragment&&u,l!==o.Fragment&&f),d)}function Y(...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 X(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function J(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function ee(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}let te=(0,o.createContext)(null);te.displayName="OpenClosedContext";var re=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(re||{});function ne(){return(0,o.useContext)(te)}function ae({value:e,children:t}){return o.createElement(te.Provider,{value:e},t)}var oe=Object.defineProperty,le=(e,t,r)=>(((e,t,r)=>{t in e?oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let ie=new class{constructor(){le(this,"current",this.detect()),le(this,"handoffState","pending"),le(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},se=(e,t)=>{ie.isServer?(0,o.useEffect)(e,t):(0,o.useLayoutEffect)(e,t)};function ce(){let e=(0,o.useRef)(!1);return se((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function ue(e){let t=(0,o.useRef)(e);return se((()=>{t.current=e}),[e]),t}function de(){let[e,t]=(0,o.useState)(ie.isHandoffComplete);return e&&!1===ie.isHandoffComplete&&t(!1),(0,o.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,o.useEffect)((()=>ie.handoff()),[]),e}let fe=function(e){let t=ue(e);return o.useCallback(((...e)=>t.current(...e)),[t])},pe=Symbol();function he(...e){let t=(0,o.useRef)(e);(0,o.useEffect)((()=>{t.current=e}),[e]);let r=fe((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[pe])))?void 0:r}function ve(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function me(){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 ve((()=>{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()},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))}};return r}function be(e,...t){e&&t.length>0&&e.classList.add(...t)}function xe(e,...t){e&&t.length>0&&e.classList.remove(...t)}function ge(){let[e]=(0,o.useState)(me);return(0,o.useEffect)((()=>()=>e.dispose()),[e]),e}function ye({container:e,direction:t,classes:r,onStart:n,onStop:a}){let o=ce(),l=ge(),i=ue(t);se((()=>{let t=me();l.add(t.dispose);let s=e.current;if(s&&"idle"!==i.current&&o.current)return t.dispose(),n.current(i.current),t.add(function(e,t,r,n){let a=r?"enter":"leave",o=me(),l=void 0!==n?function(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}(n):()=>{};"enter"===a&&(e.removeAttribute("hidden"),e.style.display="");let i=$(a,{enter:()=>t.enter,leave:()=>t.leave}),s=$(a,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=$(a,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return xe(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),be(e,...i,...c),o.nextFrame((()=>{xe(e,...c),be(e,...s),function(e,t){let r=me();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:a}=getComputedStyle(e),[o,l]=[n,a].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(o+l!==0){let n=r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),n())}))}else t();r.add((()=>t())),r.dispose}(e,(()=>(xe(e,...i),be(e,...t.entered),l())))})),o.dispose}(s,r.current,"enter"===i.current,(()=>{t.dispose(),a.current(i.current)}))),t.dispose}),[t])}function we(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let je=(0,o.createContext)(null);je.displayName="TransitionContext";var ke=(e=>(e.Visible="visible",e.Hidden="hidden",e))(ke||{});let Ce=(0,o.createContext)(null);function Oe(e){return"children"in e?Oe(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function Ne(e,t){let r=ue(e),n=(0,o.useRef)([]),a=ce(),l=ge(),i=fe(((e,t=Z.Hidden)=>{let o=n.current.findIndex((({el:t})=>t===e));-1!==o&&($(t,{[Z.Unmount](){n.current.splice(o,1)},[Z.Hidden](){n.current[o].state="hidden"}}),l.microTask((()=>{var e;!Oe(n)&&a.current&&(null==(e=r.current)||e.call(r))})))})),s=fe((e=>{let t=n.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>i(e,Z.Unmount)})),c=(0,o.useRef)([]),u=(0,o.useRef)(Promise.resolve()),d=(0,o.useRef)({enter:[],leave:[],idle:[]}),f=fe(((e,r,n)=>{c.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter((([t])=>t!==e))),null==t||t.chains.current[r].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[r].push([e,new Promise((e=>{Promise.all(d.current[r].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===r?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>n(r))):n(r)})),p=fe(((e,t,r)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>r(t)))}));return(0,o.useMemo)((()=>({children:n,register:s,unregister:i,onStart:f,onStop:p,wait:u,chains:d})),[s,i,n,f,p,d,u])}function Pe(){}Ce.displayName="NestingContext";let Se=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Ee(e){var t;let r={};for(let n of Se)r[n]=null!=(t=e[n])?t:Pe;return r}let Te=W.RenderStrategy,Ie=X((function(e,t){let{beforeEnter:r,afterEnter:n,beforeLeave:a,afterLeave:l,enter:i,enterFrom:s,enterTo:c,entered:u,leave:d,leaveFrom:f,leaveTo:p,...h}=e,v=(0,o.useRef)(null),m=he(v,t),b=h.unmount?Z.Unmount:Z.Hidden,{show:x,appear:g,initial:y}=function(){let e=(0,o.useContext)(je);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[w,j]=(0,o.useState)(x?"visible":"hidden"),k=function(){let e=(0,o.useContext)(Ce);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:C,unregister:O}=k,N=(0,o.useRef)(null);(0,o.useEffect)((()=>C(v)),[C,v]),(0,o.useEffect)((()=>{if(b===Z.Hidden&&v.current)return x&&"visible"!==w?void j("visible"):$(w,{hidden:()=>O(v),visible:()=>C(v)})}),[w,v,C,O,x,b]);let P=ue({enter:we(i),enterFrom:we(s),enterTo:we(c),entered:we(u),leave:we(d),leaveFrom:we(f),leaveTo:we(p)}),S=function(e){let t=(0,o.useRef)(Ee(e));return(0,o.useEffect)((()=>{t.current=Ee(e)}),[e]),t}({beforeEnter:r,afterEnter:n,beforeLeave:a,afterLeave:l}),E=de();(0,o.useEffect)((()=>{if(E&&"visible"===w&&null===v.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[v,w,E]);let T=y&&!g,I=!E||T||N.current===x?"idle":x?"enter":"leave",L=function(e=0){let[t,r]=(0,o.useState)(e),n=(0,o.useCallback)((e=>r((t=>t|e))),[t]),a=(0,o.useCallback)((e=>Boolean(t&e)),[t]),l=(0,o.useCallback)((e=>r((t=>t&~e))),[r]),i=(0,o.useCallback)((e=>r((t=>t^e))),[r]);return{flags:t,addFlag:n,hasFlag:a,removeFlag:l,toggleFlag:i}}(0),A=fe((e=>$(e,{enter:()=>{L.addFlag(re.Opening),S.current.beforeEnter()},leave:()=>{L.addFlag(re.Closing),S.current.beforeLeave()},idle:()=>{}}))),R=fe((e=>$(e,{enter:()=>{L.removeFlag(re.Opening),S.current.afterEnter()},leave:()=>{L.removeFlag(re.Closing),S.current.afterLeave()},idle:()=>{}}))),_=Ne((()=>{j("hidden"),O(v)}),k);ye({container:v,classes:P,direction:I,onStart:ue((e=>{_.onStart(v,e,A)})),onStop:ue((e=>{_.onStop(v,e,R),"leave"===e&&!Oe(_)&&(j("hidden"),O(v))}))}),(0,o.useEffect)((()=>{!T||(b===Z.Hidden?N.current=null:N.current=x)}),[x,T,w]);let F=h,M={ref:m};return g&&x&&ie.isServer&&(F={...F,className:V(h.className,...P.current.enter,...P.current.enterFrom)}),o.createElement(Ce.Provider,{value:_},o.createElement(ae,{value:$(w,{visible:re.Open,hidden:re.Closed})|L.flags},Q({ourProps:M,theirProps:F,defaultTag:"div",features:Te,visible:"visible"===w,name:"Transition.Child"})))})),Le=X((function(e,t){let{show:r,appear:n=!1,unmount:a,...l}=e,i=(0,o.useRef)(null),s=he(i,t);de();let c=ne();if(void 0===r&&null!==c&&(r=(c&re.Open)===re.Open),![!0,!1].includes(r))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,o.useState)(r?"visible":"hidden"),f=Ne((()=>{d("hidden")})),[p,h]=(0,o.useState)(!0),v=(0,o.useRef)([r]);se((()=>{!1!==p&&v.current[v.current.length-1]!==r&&(v.current.push(r),h(!1))}),[v,r]);let m=(0,o.useMemo)((()=>({show:r,appear:n,initial:p})),[r,n,p]);(0,o.useEffect)((()=>{if(r)d("visible");else if(Oe(f)){let e=i.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[r,f]);let b={unmount:a};return o.createElement(Ce.Provider,{value:f},o.createElement(je.Provider,{value:m},Q({ourProps:{...b,as:o.Fragment,children:o.createElement(Ie,{ref:s,...b,...l})},theirProps:{},defaultTag:o.Fragment,features:Te,visible:"visible"===u,name:"Transition"})))})),Ae=X((function(e,t){let r=null!==(0,o.useContext)(je),n=null!==ne();return o.createElement(o.Fragment,null,!r&&n?o.createElement(Le,{ref:t,...e}):o.createElement(Ie,{ref:t,...e}))})),Re=Object.assign(Le,{Child:Ae,Root:Le});var _e=function(){return _e=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},_e.apply(this,arguments)};function Fe(t){var r=t.show,n=t.className,a=t.children;return(0,e.jsx)("div",_e({className:"overflow-hidden relative"},{children:(0,e.jsx)(Re,_e({show:r,className:n,enter:"transition duration-200 ease-out transform",enterFrom:"transform opacity-0 -translate-y-12",enterTo:"transform opacity-100 translate-y-0",leave:"transition duration-75 ease-out transform",leaveFrom:"transform opacity-100 translate-y-0",leaveTo:"transform opacity-0 -translate-y-6"},{children:a}))}))}var Me=function(){return Me=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},Me.apply(this,arguments)},He=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},ze={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"]},De=Me(Me({},ze),{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 Ue(t){var r=t.as,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=t.className,f=t.mRef,p=He(t,["as","color","darkColor","reverse","children","className","mRef"]),h="string"==typeof o?ze[o]:o,v="string"==typeof i?De[i]||[]:i,m=r||null!=p.href?"a":"button";return(0,e.jsxs)(m,Me({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",h[0],v[0],c&&"flex-row-reverse",d)},p,{ref:f},{children:[u,(0,e.jsx)("svg",Me({className:a("overflow-visible",c?"mr-3":"ml-3",h[1],v[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"})}))]}))}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 Ve(t){var r=t.children,n=t.icon,o=t.className,l=t.childrenClassName;return(0,e.jsx)("div",Be({className:a("px-5 py-4 mb-4 overflow-hidden rounded-xl",o)},{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:a("flex-1 text-sm prose overflow-x-auto",l)},{children:r}))]}))}))}function $e(t){var r=t.children;return(0,e.jsx)(Ve,Be({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-zinc-400 dark:text-zinc-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"})})),className:"border border-zinc-500/20 bg-zinc-50/50 dark:bg-zinc-900 dark:border-zinc-500/30 dark:bg-zinc-500/10",childrenClassName:"text-zinc-900 dark:text-zinc-200"},{children:r}))}function Ge(t){var r=t.children;return(0,e.jsx)(Ve,Be({icon:(0,e.jsx)("svg",Be({className:"flex-none w-5 h-5 text-amber-400 dark:text-amber-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:"border border-amber-500/20 bg-amber-50/50 dark:border-amber-500/30 dark:bg-amber-500/10",childrenClassName:"text-amber-900 dark:text-amber-200"},{children:r}))}function qe(t){var r=t.children;return(0,e.jsx)(Ve,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:"border border-sky-500/20 bg-sky-50/50 dark:border-sky-500/30 dark:bg-sky-500/10",childrenClassName:"text-sky-900 dark:text-sky-200"},{children:r}))}function We(t){var r=t.children;return(0,e.jsx)(Ve,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-emerald-600 dark:text-emerald-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:"border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10",childrenClassName:"text-emerald-900 dark:text-emerald-200"},{children:r}))}function Ze(t){var r=t.children;return(0,e.jsx)(Ve,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:"border border-emerald-500/20 bg-emerald-50/50 dark:border-emerald-500/30 dark:bg-emerald-500/10",childrenClassName:"text-emerald-900 dark:text-emerald-200"},{children:r}))}const Qe=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Ke=/^[a-zA-Z]:\\/;var Ye=function(){return Ye=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},Ye.apply(this,arguments)},Xe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function Je(t){var r,n=t.title,o=t.icon,l=t.image,i=t.className,s=t.children,c=t.as,u=t.mRef,d=Xe(t,["title","icon","image","className","children","as","mRef"]),f=c||null!=d.href?"a":"div",p=function(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!Ke.test(e)&&Qe.test(e)}(null!==(r=d.href)&&void 0!==r?r:"")?{target:"_blank",rel:"noreferrer"}:{},h="string"==typeof o,v=(0,e.jsx)(e.Fragment,{children:o?h?(0,e.jsx)("img",{src:o,alt:n,className:"h-6 w-6 object-cover object-center"}):(0,e.jsx)("div",Ye({className:"h-6 w-6 fill-slate-800 dark:fill-slate-100 text-slate-800 dark:text-slate-100"},{children:o})):null});return(0,e.jsxs)(f,Ye({className:a("block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl border border-zinc-200 dark:border-zinc-800 overflow-hidden w-full",d.href&&"cursor-pointer",i)},p,d,{ref:u},{children:[l&&(0,e.jsx)("img",{src:l,alt:l,className:"w-full h-64 object-cover object-center"}),(0,e.jsxs)("div",Ye({className:"px-6 py-5"},{children:[v,(0,e.jsx)("h2",Ye({className:a("font-semibold text-base text-slate-800 dark:text-white",null!=o&&"mt-4")},{children:n})),(0,e.jsx)("span",Ye({className:a("mt-1 font-normal",n?"text-slate-600 dark:text-slate-400":"text-slate-700 dark:text-slate-300")},{children:s}))]}))]}))}var et=function(){return et=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},et.apply(this,arguments)};function tt(t){var r=t.children,n=t.cols,a=void 0===n?2:n;return(0,e.jsx)("div",et({className:"not-prose grid sm:grid-cols-".concat(a," gap-x-4")},{children:r}))}function rt(e){return rt="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},rt(e)}var nt=function e(t){var r;return["string","number"].includes(rt(t))?t.toString():t instanceof Array?t.map(e).join(""):"object"===rt(t)&&(null===(r=null==t?void 0:t.props)||void 0===r?void 0:r.children)?e(t.props.children):""},at=function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{s(n.next(e))}catch(e){o(e)}}function i(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,i)}s((n=n.apply(e,t||[])).next())}))},ot=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:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(l=0)),l;)try{if(r=1,n&&(a=2&i[0]?n.return:i[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;switch(n=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,n=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){l=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){l.label=i[1];break}if(6===i[0]&&l.label<a[1]){l.label=a[1],a=i;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(i);break}a[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],n=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};function lt(e){return at(this,void 0,void 0,(function(){var t;return ot(this,(function(r){switch(r.label){case 0:e||console.warn("Called copyToClipboard() with empty text"),navigator.clipboard||console.error("The Clipboard API was unavailable. The Clipboard API is only available client-side in browsers using HTTPS."),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]}}))}))}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)},st=function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{s(n.next(e))}catch(e){o(e)}}function i(e){try{s(n.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,i)}s((n=n.apply(e,t||[])).next())}))},ct=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:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,i[0]&&(l=0)),l;)try{if(r=1,n&&(a=2&i[0]?n.return:i[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;switch(n=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,n=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){l=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){l.label=i[1];break}if(6===i[0]&&l.label<a[1]){l.label=a[1],a=i;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(i);break}a[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],n=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ut=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function dt(t){var r=this,n=t.textToCopy,l=t.tooltipColor,i=void 0===l?"#002937":l,s=t.onCopied,c=t.className,u=ut(t,["textToCopy","tooltipColor","onCopied","className"]),d=(0,o.useState)(!0),f=d[0],p=d[1],h=(0,o.useState)(!0),v=h[0],m=h[1];return(0,o.useEffect)((function(){"undefined"==typeof window||(null===navigator||void 0===navigator?void 0:navigator.clipboard)?m(!1):(console.warn("The browser's Clipboard API is unavailable. The Clipboard API is only available on HTTPS."),m(!0))}),[]),!n||v?null:(0,e.jsxs)("button",it({"aria-label":"Copy code to clipboard",onClick:function(){return st(r,void 0,void 0,(function(){var e;return ct(this,(function(t){switch(t.label){case 0:return[4,lt(n)];case 1:return e=t.sent(),s&&s(e,n),"success"===e&&(p(!1),setTimeout((function(){p(!0)}),2e3)),[2]}}))}))},className:a("group",c)},u,{children:[(0,e.jsx)("svg",it({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",className:"top-5 h-[1.15rem] 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)(ft,it({color:i,className:"".concat(f?"invisible":void 0," group-hover:visible")},{children:f?"Copy":"Copied"}))]}))}function ft(t){var r=t.color,n=t.className,o=t.children;return(0,e.jsx)("div",it({className:a("z-40 absolute bottom-full left-1/2 mb-3.5 pb-1 -translate-x-1/2",n)},{children:(0,e.jsxs)("div",it({className:"relative whitespace-nowrap text-white text-xs leading-6 font-medium px-1.5 rounded-lg",style:{background:r},"data-reach-alert":"true"},{children:[o,(0,e.jsx)("div",{className:"absolute border-solid",style:{top:"100%",left:"50%",marginLeft:"-6px",borderWidth:"6px",borderColor:"".concat(r," transparent transparent transparent")}})]}))}))}var pt,ht=function(){return ht=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},ht.apply(this,arguments)},vt=(0,o.forwardRef)((function(t,r){var n=t.filename,o=t.filenameColor,l=t.tooltipColor,i=t.onCopied,s=t.children,c=t.className,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(t,["filename","filenameColor","tooltipColor","onCopied","children","className"]),d=function(t){return(0,e.jsx)(dt,ht({textToCopy:nt(s),tooltipColor:null!=l?l:o,onCopied:i},t))};return(0,e.jsxs)("div",ht({className:a("mt-5 mb-8 not-prose gray-frame",n&&"pt-2",c),ref:r},u,{children:[n?(0,e.jsx)(mt,ht({filename:n,filenameColor:o},{children:(0,e.jsx)(d,{className:"relative"})})):(0,e.jsx)(d,{className:"absolute top-5 right-5"}),(0,e.jsx)("div",ht({className:"code-in-gray-frame children:!my-0 children:!shadow-none children:!bg-transparent",style:{fontVariantLigatures:"none"}},{children:s}))]}))}));function mt(t){var r=t.filename,n=t.filenameColor,a=t.children;return(0,e.jsxs)("div",ht({className:"flex text-slate-400 text-xs leading-6"},{children:[(0,e.jsx)("div",ht({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",ht({className:"flex-auto flex items-center bg-codeblock-tabs border border-slate-500/30 rounded-t"},{children:a&&(0,e.jsx)("div",ht({className:"flex-auto flex items-center justify-end px-4 space-x-4"},{children:a}))}))]}))}let bt=null!=(pt=o.useId)?pt:function(){let e=de(),[t,r]=o.useState(e?()=>ie.nextId():null);return se((()=>{null===t&&r(ie.nextId())}),[t]),null!=t?""+t:void 0};var xt=(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))(xt||{});function gt(e){return ie.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let yt=["[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 wt,jt=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(jt||{}),kt=((wt=kt||{})[wt.Error=0]="Error",wt[wt.Overflow=1]="Overflow",wt[wt.Success=2]="Success",wt[wt.Underflow=3]="Underflow",wt),Ct=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ct||{});function Ot(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(yt)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var Nt=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Nt||{});function Pt(e,t=0){var r;return e!==(null==(r=gt(e))?void 0:r.body)&&$(t,{0:()=>e.matches(yt),1(){let t=e;for(;null!==t;){if(t.matches(yt))return!0;t=t.parentElement}return!1}})}function St(e){let t=gt(e);me().nextFrame((()=>{t&&!Pt(t.activeElement,0)&&function(e){null==e||e.focus({preventScroll:!0})}(e)}))}let Et=["textarea","input"].join(",");function Tt(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 It(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?r?Tt(e):e:Ot(e);a.length>0&&l.length>1&&(l=l.filter((e=>!a.includes(e)))),n=null!=n?n:o.activeElement;let i,s=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,l.indexOf(n))-1;if(4&t)return Math.max(0,l.indexOf(n))+1;if(8&t)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,f=l.length;do{if(d>=f||d+f<=0)return 0;let e=c+d;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}i=l[e],null==i||i.focus(u),d+=s}while(i!==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,Et))&&r}(i)&&i.select(),i.hasAttribute("tabindex")||i.setAttribute("tabindex","0"),2}function Lt(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 At(e,t){let[r,n]=(0,o.useState)((()=>Lt(e)));return se((()=>{n(Lt(e))}),[e.type,e.as]),se((()=>{r||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&n("button")}),[r,t]),r}var Rt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Rt||{});let _t=X((function(e,t){let{features:r=1,...n}=e;return Q({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 Ft({onFocus:e}){let[t,r]=(0,o.useState)(!0);return t?o.createElement(_t,{as:"button",type:"button",features:Rt.Focusable,onFocus:t=>{t.preventDefault();let n,a=50;n=requestAnimationFrame((function t(){if(!(a--<=0))return e()?(r(!1),void cancelAnimationFrame(n)):void(n=requestAnimationFrame(t));n&&cancelAnimationFrame(n)}))}}):null}const Mt=o.createContext(null);function Ht({children:e}){let t=o.useRef({groups:new Map,get(e,t){var r;let n=this.groups.get(e);n||(n=new Map,this.groups.set(e,n));let a=null!=(r=n.get(t))?r:0;return n.set(t,a+1),[Array.from(n.keys()).indexOf(t),function(){let e=n.get(t);e>1?n.set(t,e-1):n.delete(t)}]}});return o.createElement(Mt.Provider,{value:t},e)}function zt(e){let t=o.useContext(Mt);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let r=function(){var e,t,r;let n=null!=(r=null==(t=null==(e=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?r:null;if(!n)return Symbol();let a=[],l=n;for(;l;)a.push(l.index),l=l.return;return"$."+a.join(".")}(),[n,a]=t.current.get(e,r);return o.useEffect((()=>a),[]),n}var Dt,Ut=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ut||{}),Bt=((Dt=Bt||{})[Dt.Less=-1]="Less",Dt[Dt.Equal=0]="Equal",Dt[Dt.Greater=1]="Greater",Dt),Vt=(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))(Vt||{});let $t={0(e,t){var r;let n=Tt(e.tabs,(e=>e.current)),a=Tt(e.panels,(e=>e.current)),o=n.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),l={...e,tabs:n,panels:a};if(t.index<0||t.index>n.length-1){let r=$(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>$(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===o.length?l:{...l,selectedIndex:$(r,{0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])})}}let i=n.slice(0,t.index),s=[...n.slice(t.index),...i].find((e=>o.includes(e)));if(!s)return l;let c=null!=(r=n.indexOf(s))?r:e.selectedIndex;return-1===c&&(c=e.selectedIndex),{...l,selectedIndex:c}},1(e,t){var r;if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],a=Tt([...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:Tt([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},Gt=(0,o.createContext)(null);function qt(e){let t=(0,o.useContext)(Gt);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,qt),t}return t}Gt.displayName="TabsDataContext";let Wt=(0,o.createContext)(null);function Zt(e){let t=(0,o.useContext)(Wt);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Zt),t}return t}function Qt(e,t){return $(t.type,$t,e,t)}Wt.displayName="TabsActionsContext";let Kt=o.Fragment,Yt=X((function(e,t){let{defaultIndex:r=0,vertical:n=!1,manual:a=!1,onChange:l,selectedIndex:i=null,...s}=e;const c=n?"vertical":"horizontal",u=a?"manual":"auto";let d=null!==i,f=he(t),[p,h]=(0,o.useReducer)(Qt,{selectedIndex:null!=i?i:r,tabs:[],panels:[]}),v=(0,o.useMemo)((()=>({selectedIndex:p.selectedIndex})),[p.selectedIndex]),m=ue(l||(()=>{})),b=ue(p.tabs),x=(0,o.useMemo)((()=>({orientation:c,activation:u,...p})),[c,u,p]),g=fe((e=>(h({type:1,tab:e}),()=>h({type:2,tab:e})))),y=fe((e=>(h({type:3,panel:e}),()=>h({type:4,panel:e})))),w=fe((e=>{j.current!==e&&m.current(e),d||h({type:0,index:e})})),j=ue(d?e.selectedIndex:p.selectedIndex),k=(0,o.useMemo)((()=>({registerTab:g,registerPanel:y,change:w})),[]);se((()=>{h({type:0,index:null!=i?i:r})}),[i]),se((()=>{if(void 0===j.current||p.tabs.length<=0)return;let e=Tt(p.tabs,(e=>e.current));e.some(((e,t)=>p.tabs[t]!==e))&&w(e.indexOf(p.tabs[j.current]))}));let C={ref:f};return o.createElement(Ht,null,o.createElement(Wt.Provider,{value:k},o.createElement(Gt.Provider,{value:x},x.tabs.length<=0&&o.createElement(Ft,{onFocus:()=>{var e,t;for(let r of b.current)if(0===(null==(e=r.current)?void 0:e.tabIndex))return null==(t=r.current)||t.focus(),!0;return!1}}),Q({ourProps:C,theirProps:s,slot:v,defaultTag:Kt,name:"Tabs"}))))})),Xt=X((function(e,t){let{orientation:r,selectedIndex:n}=qt("Tab.List");return Q({ourProps:{ref:he(t),role:"tablist","aria-orientation":r},theirProps:e,slot:{selectedIndex:n},defaultTag:"div",name:"Tabs.List"})})),Jt=X((function(e,t){var r,n;let a=bt(),{id:l=`headlessui-tabs-tab-${a}`,...i}=e,{orientation:s,activation:c,selectedIndex:u,tabs:d,panels:f}=qt("Tab"),p=Zt("Tab"),h=qt("Tab"),v=(0,o.useRef)(null),m=he(v,t);se((()=>p.registerTab(v)),[p,v]);let b=zt("tabs"),x=d.indexOf(v);-1===x&&(x=b);let g=x===u,y=fe((e=>{var t;let r=e();if(r===kt.Success&&"auto"===c){let e=null==(t=gt(v))?void 0:t.activeElement,r=h.tabs.findIndex((t=>t.current===e));-1!==r&&p.change(r)}return r})),w=fe((e=>{let t=d.map((e=>e.current)).filter(Boolean);if(e.key===xt.Space||e.key===xt.Enter)return e.preventDefault(),e.stopPropagation(),void p.change(x);switch(e.key){case xt.Home:case xt.PageUp:return e.preventDefault(),e.stopPropagation(),y((()=>It(t,jt.First)));case xt.End:case xt.PageDown:return e.preventDefault(),e.stopPropagation(),y((()=>It(t,jt.Last)))}return y((()=>$(s,{vertical:()=>e.key===xt.ArrowUp?It(t,jt.Previous|jt.WrapAround):e.key===xt.ArrowDown?It(t,jt.Next|jt.WrapAround):kt.Error,horizontal:()=>e.key===xt.ArrowLeft?It(t,jt.Previous|jt.WrapAround):e.key===xt.ArrowRight?It(t,jt.Next|jt.WrapAround):kt.Error})))===kt.Success?e.preventDefault():void 0})),j=(0,o.useRef)(!1),k=fe((()=>{var e;j.current||(j.current=!0,null==(e=v.current)||e.focus(),p.change(x),ve((()=>{j.current=!1})))})),C=fe((e=>{e.preventDefault()})),O=(0,o.useMemo)((()=>({selected:g})),[g]);return Q({ourProps:{ref:m,onKeyDown:w,onMouseDown:C,onClick:k,id:l,role:"tab",type:At(e,v),"aria-controls":null==(n=null==(r=f[x])?void 0:r.current)?void 0:n.id,"aria-selected":g,tabIndex:g?0:-1},theirProps:i,slot:O,defaultTag:"button",name:"Tabs.Tab"})})),er=X((function(e,t){let{selectedIndex:r}=qt("Tab.Panels");return Q({ourProps:{ref:he(t)},theirProps:e,slot:(0,o.useMemo)((()=>({selectedIndex:r})),[r]),defaultTag:"div",name:"Tabs.Panels"})})),tr=W.RenderStrategy|W.Static,rr=X((function(e,t){var r,n,a,l;let i=bt(),{id:s=`headlessui-tabs-panel-${i}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:p}=qt("Tab.Panel"),h=Zt("Tab.Panel"),v=(0,o.useRef)(null),m=he(v,t);se((()=>h.registerPanel(v)),[h,v]);let b=zt("panels"),x=p.indexOf(v);-1===x&&(x=b);let g=x===d,y=(0,o.useMemo)((()=>({selected:g})),[g]),w={ref:m,id:s,role:"tabpanel","aria-labelledby":null==(n=null==(r=f[x])?void 0:r.current)?void 0:n.id,tabIndex:g?c:-1};return g||null!=(a=u.unmount)&&!a||null!=(l=u.static)&&l?Q({ourProps:w,theirProps:u,slot:y,defaultTag:"div",features:tr,visible:g,name:"Tabs.Panel"}):o.createElement(_t,{as:"span",...w})})),nr=Object.assign(Jt,{Group:Yt,List:Xt,Panels:er,Panel:rr});var ar=function(){return ar=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},ar.apply(this,arguments)},or=(0,o.forwardRef)((function(t,r){var n=t.children,o=t.selectedColor,i=t.tooltipColor,s=t.onCopied,c=t.isSmallText,u=t.className,d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(t,["children","selectedColor","tooltipColor","onCopied","isSmallText","className"]);if(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 f=l().Children.toArray(n);return(0,e.jsxs)(nr.Group,ar({ref:r,as:"div",className:a("not-prose gray-frame",u)},d,{children:[(0,e.jsx)(nr.List,ar({className:"flex text-xs leading-6 rounded-tl-xl pt-2"},{children:function(t){var r,n,l=t.selectedIndex;return(0,e.jsxs)(e.Fragment,{children:[f.map((function(t,r){var n,a;return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(lr,ar({myIndex:r,selectedIndex:l,selectedColor:o},{children:(null===(n=null==t?void 0:t.props)||void 0===n?void 0:n.filename)||"Filename"}),(null===(a=null==t?void 0:t.props)||void 0===a?void 0:a.filename)+"TabItem"+r)})})),(0,e.jsx)("div",ar({className:a("flex-auto flex justify-end bg-codeblock-tabs border-y border-slate-500/30 pr-4 rounded-tr",l===(null==f?void 0:f.length)-1?"rounded-tl border-l":"")},{children:(0,e.jsx)(dt,{textToCopy:nt(null===(n=null===(r=f[l])||void 0===r?void 0:r.props)||void 0===n?void 0:n.children),tooltipColor:null!=i?i:o,onCopied:s,className:"relative"})}))]})}})),(0,e.jsx)(nr.Panels,ar({className:"flex overflow-auto"},{children:f.map((function(t){var r,n;return(0,e.jsx)(nr.Panel,ar({className:a("flex-none code-in-gray-frame",c&&"text-xs leading-5"),style:{fontVariantLigatures:"none"}},{children:null===(r=null==t?void 0:t.props)||void 0===r?void 0:r.children}),null===(n=null==t?void 0:t.props)||void 0===n?void 0:n.filename)}))}))]}))}));function lr(t){var r=t.children,n=t.selectedIndex,o=t.myIndex,l=t.selectedColor,i=void 0===l?"#CBD5E1":l,s=n===o,c=s?null:n===o-1?"rounded":"normal",u=s?null:n===o+1?"rounded":"normal";return(0,e.jsxs)(nr,ar({className:"flex items-center relative overflow-hidden px-4 py-1 text-slate-400 outline-none",style:s?{color:i}:{}},{children:[(0,e.jsx)("span",ar({className:"z-10"},{children:r})),!s&&(0,e.jsx)(ir,{className:a("bg-codeblock-tabs border-y border-slate-500/30","rounded"===c&&"border-l rounded-tl","rounded"===u&&"border-r rounded-tr")}),"normal"===u&&(0,e.jsx)(ir,{className:"inset-y-px border-r border-slate-200/5 z-20"}),s&&(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 border-b",style:{borderColor:i}})]}))}function ir(t){var r=t.className;return(0,e.jsx)("div",{className:a("pointer-events-none absolute inset-0",r)})}var sr=function(){return sr=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},sr.apply(this,arguments)};const cr=function(t){var r=t.title,n=t.description,l=t.defaultOpen,i=void 0!==l&&l,s=t.onChange,u=t.children,d=(0,o.useState)(i),f=d[0],p=d[1];return(0,e.jsxs)("div",sr({role:"listitem",className:""},{children:[(0,e.jsx)(c,{title:r,description:n,open:f,setOpen:function(e){p(e),s&&s(e)}}),(0,e.jsx)("div",sr({id:r+"Children",className:a("mt-2 pt-2 mb-4 mx-[6px] px-4 border-l border-zinc-100 dark:border-zinc-800",!f&&"hidden")},{children:u}))]}),r)};var ur=function(){return ur=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},ur.apply(this,arguments)},dr={none:"",md:"p-8"};function fr(t){var r=t.as,n=void 0===r?"div":r,o=t.caption,l=t.style,i=t.className,s=t.containerClassName,c=t.html,u=t.children,d=t.hint,f=t.padding,p=void 0===f?"md":f,h=t.lightOnly,v=void 0!==h&&h,m=dr[p];return(0,e.jsxs)("div",ur({className:s},{children:[void 0!==d&&(0,e.jsxs)("div",ur({className:"not-prose mb-4 flex items-center space-x-2"},{children:[(0,e.jsx)("svg",ur({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",ur({className:"text-slate-700 text-sm font-medium dark:text-slate-200"},{children:d}))]})),(0,e.jsxs)(n,ur({style:l,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",ur({className:a("relative rounded-xl overflow-auto flex justify-center",m,i)},c?{dangerouslySetInnerHTML:{__html:c}}:{children:u})),o&&(0,e.jsx)("div",ur({className:a("relative rounded-xl overflow-auto flex justify-center -mt-2 pt-0 px-8 pb-7 text-sm text-slate-700 dark:text-slate-400",i)},{children:(0,e.jsx)("p",{children:o})})),(0,e.jsx)("div",{className:a("absolute inset-0 pointer-events-none border border-black/5 rounded-xl",!v&&"dark:border-white/5")})]}))]}))}var pr=function(){return pr=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},pr.apply(this,arguments)},hr=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function vr(t){var r=t.children,n=hr(t,["children"]);return(0,e.jsx)(mr,pr({},n,{children:r}))}function mr(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",pr({className:a("pb-3 mb-4 border-b border-zinc-100 dark:border-zinc-800")},{children:[(0,e.jsxs)("div",pr({className:"flex font-mono text-sm"},{children:[r&&(0,e.jsxs)("div",pr({className:"py-0.5 flex-1 space-x-2 truncate"},{children:[(0,e.jsx)("span",pr({className:a("rounded-md px-1.5 py-px border border-zinc-300 dark:brightness-[1.35] dark:border-zinc-800 bg-zinc-50 dark:bg-background-dark font-medium",f,f&&!f.includes("text-")||!f?"dark:text-slate-200":void 0)},{children:r})),i&&(0,e.jsx)("span",pr({className:"text-slate-500 dark:text-slate-300"},{children:"Required"})),c&&(0,e.jsx)("span",pr({className:"text-slate-500 dark:text-slate-300"},{children:"Optional"})),o&&(0,e.jsxs)("span",pr({className:"text-slate-500 dark:text-slate-300"},{children:["Default: ",o]}))]})),n&&(0,e.jsx)("div",pr({className:"text-slate-600 dark:text-slate-300"},{children:n}))]})),(0,e.jsx)("div",pr({className:"mt-2 prose-sm prose-slate dark:prose-dark"},{children:p}))]}))}var br=(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))(br||{});function xr(e,t,r){let n=ue(t);(0,o.useEffect)((()=>{function t(e){n.current(e)}return document.addEventListener(e,t,r),()=>document.removeEventListener(e,t,r)}),[e,r])}function gr(e){return[e.screenX,e.screenY]}var yr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yr||{}),wr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(wr||{}),jr=(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))(jr||{});function kr(e,t=(e=>e)){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=Tt(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 Cr={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=kr(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=kr(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=kr(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}}},Or=(0,o.createContext)(null);function Nr(e){let t=(0,o.useContext)(Or);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Nr),t}return t}function Pr(e,t){return $(t.type,Cr,e,t)}Or.displayName="MenuContext";let Sr=o.Fragment,Er=X((function(e,t){let r=(0,o.useReducer)(Pr,{menuState:1,buttonRef:(0,o.createRef)(),itemsRef:(0,o.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:n,itemsRef:a,buttonRef:l},i]=r,s=he(t);!function(e,t,r=!0){let n=(0,o.useRef)(!1);function a(r,a){if(!n.current||r.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=a(r);if(null!==l&&l.getRootNode().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)||r.composed&&r.composedPath().includes(t))return}return!Pt(l,Nt.Loose)&&-1!==l.tabIndex&&r.preventDefault(),t(r,l)}}(0,o.useEffect)((()=>{requestAnimationFrame((()=>{n.current=r}))}),[r]);let l=(0,o.useRef)(null);xr("mousedown",(e=>{var t,r;n.current&&(l.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)}),!0),xr("click",(e=>{!l.current||(a(e,(()=>l.current)),l.current=null)}),!0),xr("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}([l,a],((e,t)=>{var r;i({type:1}),Pt(t,Nt.Loose)||(e.preventDefault(),null==(r=l.current)||r.focus())}),0===n);let c=fe((()=>{i({type:1})})),u=(0,o.useMemo)((()=>({open:0===n,close:c})),[n,c]),d=e,f={ref:s};return o.createElement(Or.Provider,{value:r},o.createElement(ae,{value:$(n,{0:re.Open,1:re.Closed})},Q({ourProps:f,theirProps:d,slot:u,defaultTag:Sr,name:"Menu"})))})),Tr=X((function(e,t){var r;let n=bt(),{id:a=`headlessui-menu-button-${n}`,...l}=e,[i,s]=Nr("Menu.Button"),c=he(i.buttonRef,t),u=ge(),d=fe((e=>{switch(e.key){case xt.Space:case xt.Enter:case xt.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame((()=>s({type:2,focus:br.First})));break;case xt.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame((()=>s({type:2,focus:br.Last})))}})),f=fe((e=>{e.key===xt.Space&&e.preventDefault()})),p=fe((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===i.menuState?(s({type:1}),u.nextFrame((()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),s({type:0})))})),h=(0,o.useMemo)((()=>({open:0===i.menuState})),[i]);return Q({ourProps:{ref:c,id:a,type:At(e,i.buttonRef),"aria-haspopup":"menu","aria-controls":null==(r=i.itemsRef.current)?void 0:r.id,"aria-expanded":e.disabled?void 0:0===i.menuState,onKeyDown:d,onKeyUp:f,onClick:p},theirProps:l,slot:h,defaultTag:"button",name:"Menu.Button"})})),Ir=W.RenderStrategy|W.Static,Lr=X((function(e,t){var r,n;let a=bt(),{id:l=`headlessui-menu-items-${a}`,...i}=e,[s,c]=Nr("Menu.Items"),u=he(s.itemsRef,t),d=function(...e){return(0,o.useMemo)((()=>gt(...e)),[...e])}(s.itemsRef),f=ge(),p=ne(),h=null!==p?(p&re.Open)===re.Open:0===s.menuState;(0,o.useEffect)((()=>{let e=s.itemsRef.current;!e||0===s.menuState&&e!==(null==d?void 0:d.activeElement)&&e.focus({preventScroll:!0})}),[s.menuState,s.itemsRef,d]),function({container:e,accept:t,walk:r,enabled:n=!0}){let a=(0,o.useRef)(t),l=(0,o.useRef)(r);(0,o.useEffect)((()=>{a.current=t,l.current=r}),[t,r]),se((()=>{if(!e||!n)return;let t=gt(e);if(!t)return;let r=a.current,o=l.current,i=Object.assign((e=>r(e)),{acceptNode:r}),s=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)o(s.currentNode)}),[e,n,a,l])}({container:s.itemsRef.current,enabled:0===s.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 v=fe((e=>{var t,r;switch(f.dispose(),e.key){case xt.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),c({type:3,value:e.key});case xt.Enter:if(e.preventDefault(),e.stopPropagation(),c({type:1}),null!==s.activeItemIndex){let{dataRef:e}=s.items[s.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}St(s.buttonRef.current);break;case xt.ArrowDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:br.Next});case xt.ArrowUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:br.Previous});case xt.Home:case xt.PageUp:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:br.First});case xt.End:case xt.PageDown:return e.preventDefault(),e.stopPropagation(),c({type:2,focus:br.Last});case xt.Escape:e.preventDefault(),e.stopPropagation(),c({type:1}),me().nextFrame((()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case xt.Tab:e.preventDefault(),e.stopPropagation(),c({type:1}),me().nextFrame((()=>{!function(e,t){It(Ot(),t,{relativeTo:e})}(s.buttonRef.current,e.shiftKey?jt.Previous:jt.Next)}));break;default:1===e.key.length&&(c({type:3,value:e.key}),f.setTimeout((()=>c({type:4})),350))}})),m=fe((e=>{e.key===xt.Space&&e.preventDefault()})),b=(0,o.useMemo)((()=>({open:0===s.menuState})),[s]);return Q({ourProps:{"aria-activedescendant":null===s.activeItemIndex||null==(r=s.items[s.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(n=s.buttonRef.current)?void 0:n.id,id:l,onKeyDown:v,onKeyUp:m,role:"menu",tabIndex:0,ref:u},theirProps:i,slot:b,defaultTag:"div",features:Ir,visible:h,name:"Menu.Items"})})),Ar=o.Fragment,Rr=X((function(e,t){let r=bt(),{id:n=`headlessui-menu-item-${r}`,disabled:a=!1,...l}=e,[i,s]=Nr("Menu.Item"),c=null!==i.activeItemIndex&&i.items[i.activeItemIndex].id===n,u=(0,o.useRef)(null),d=he(t,u);se((()=>{if(0!==i.menuState||!c||0===i.activationTrigger)return;let e=me();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[u,c,i.menuState,i.activationTrigger,i.activeItemIndex]);let f=(0,o.useRef)({disabled:a,domRef:u});se((()=>{f.current.disabled=a}),[f,a]),se((()=>{var e,t;f.current.textValue=null==(t=null==(e=u.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[f,u]),se((()=>(s({type:5,id:n,dataRef:f}),()=>s({type:6,id:n}))),[f,n]);let p=fe((()=>{s({type:1})})),h=fe((e=>{if(a)return e.preventDefault();s({type:1}),St(i.buttonRef.current)})),v=fe((()=>{if(a)return s({type:2,focus:br.Nothing});s({type:2,focus:br.Specific,id:n})})),m=function(){let e=(0,o.useRef)([-1,-1]);return{wasMoved(t){let r=gr(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=gr(t)}}}(),b=fe((e=>m.update(e))),x=fe((e=>{!m.wasMoved(e)||a||c||s({type:2,focus:br.Specific,id:n,trigger:0})})),g=fe((e=>{!m.wasMoved(e)||a||!c||s({type:2,focus:br.Nothing})})),y=(0,o.useMemo)((()=>({active:c,disabled:a,close:p})),[c,a,p]);return Q({ourProps:{id:n,ref:d,role:"menuitem",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,disabled:void 0,onClick:h,onFocus:v,onPointerEnter:b,onMouseEnter:b,onPointerMove:x,onMouseMove:x,onPointerLeave:g,onMouseLeave:g},theirProps:l,slot:y,defaultTag:Ar,name:"Menu.Item"})})),_r=Object.assign(Er,{Button:Tr,Items:Lr,Item:Rr});var Fr=function(){return Fr=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},Fr.apply(this,arguments)};function Mr(t){var r=t.options,n=t.onChange,l=t.defaultOption,i=t.selectedOptionClass,s=l,c=Array.isArray(r)&&r.length>0;null==l&&c&&(s=r[0]);var u=(0,o.useState)(s),d=u[0],f=u[1];return c?(0,e.jsx)("div",Fr({className:"relative"},{children:(0,e.jsxs)(_r,{children:[(0,e.jsxs)(_r.Button,Fr({className:"text-xs text-slate-500 dark:text-slate-400 leading-5 font-semibold !bg-zinc-400/10 rounded-full py-1 px-3 flex items-center space-x-2 hover:bg-zinc-400/20"},{children:[d,(0,e.jsx)("svg",Fr({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)(_r.Items,Fr({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-zinc-800 dark:text-slate-300"},{children:r.map((function(t){return(0,e.jsx)(_r.Item,Fr({disabled:t===d},{children:function(r){var o=r.active;return(0,e.jsxs)("a",Fr({className:a("flex items-center justify-between px-3 py-1 cursor-pointer",o&&"bg-zinc-50 text-slate-900 dark:bg-zinc-600/30 dark:text-white",t===d&&i),onClick:function(){return function(e){f(e),n&&n(e)}(t)}},{children:[t,t===d&&(0,e.jsx)("svg",Fr({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 Hr=function(){return Hr=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},Hr.apply(this,arguments)};function zr(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",Hr({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",Hr({className:"prose dark:prose-dark"},{children:l})):null]})}var Dr=function(){return Dr=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},Dr.apply(this,arguments)};function Ur(t){var r,n,a=t.children,l=(0,o.useState)(0),i=l[0],s=l[1],c=o.Children.toArray(a),u=null===(n=null===(r=c[i])||void 0===r?void 0:r.props)||void 0===n?void 0:n.children;return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("ul",Dr({className:"not-prose mb-6 pb-[1px] flex-none min-w-full overflow-auto border-b border-zinc-200 space-x-6 flex dark:border-zinc-200/10"},{children:c.map((function(t,r){var n,a;return(0,e.jsx)("li",Dr({className:"cursor-pointer",onClick:function(){return s(r)}},{children:(0,e.jsx)(zr,{title:null!==(a=null===(n=null==t?void 0:t.props)||void 0===n?void 0:n.title)&&void 0!==a?a:"Tab Title",isActive:r===i})}))}))})),(0,e.jsx)("div",Dr({className:"prose dark:prose-dark"},{children:u}))]})}var Br=function(){return Br=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},Br.apply(this,arguments)};function Vr(t){var r=t.tip,n=t.children;return n?(0,e.jsxs)("span",Br({className:"group z-10 inline relative"},{children:[$r(n),(0,e.jsx)("span",Br({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-codeblock text-center text-slate-50 text-xs px-1.5 py-1 rounded-lg border border-zinc-50"},{children:r}))]})):null}function $r(t){return(0,o.isValidElement)(t)?t:(0,e.jsx)("span",Br({className:"underline decoration-dotted decoration-2 underline-offset-4 decoration-zinc-400 dark:decoration-zinc-500"},{children:t}))}})(),module.exports=n})();
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline;-webkit-text-decoration:underline dotted currentColor;text-decoration:underline dotted currentColor}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.prose{color:#334155;max-width:none}.prose :where([class~=lead]):not(:where([class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-bottom:1.2em;margin-top:1.2em}.prose :where(a):not(:where([class~=not-prose] *)){color:var(--tw-prose-links);font-weight:600;text-decoration:none}.prose :where(strong):not(:where([class~=not-prose] *)){color:#0f172a;font-weight:600}.prose :where(a strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;margin-bottom:1.25em;margin-top:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose] *)){list-style-type:none;margin-bottom:1.25em;margin-top:1.25em;padding-left:0}.prose :where(ol>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~=not-prose] *)){border-color:#f1f5f9;border-top-width:1px;margin-bottom:3em;margin-top:3em}.prose :where(blockquote):not(:where([class~=not-prose] *)){border-left-color:var(--tw-prose-quote-borders);border-left-width:.25rem;color:var(--tw-prose-quotes);font-style:italic;font-weight:500;margin-bottom:1.6em;margin-top:1.6em;padding-left:1em;quotes:"\201C""\201D""\2018""\2019"}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:2.25em;font-weight:800;line-height:1.1111111;margin-bottom:.8888889em;margin-top:0}.prose :where(h1 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.5em;font-weight:700;line-height:1.3333333;margin-bottom:.6666666666666666em;margin-top:2em}.prose :where(h2 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.25em;font-weight:600;line-height:1.4;margin-bottom:.6em;margin-top:2.4em}.prose :where(h3 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.125em;font-weight:600;line-height:1.5;margin-bottom:.5em;margin-top:2em}.prose :where(h4 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-bottom:0;margin-top:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){font-feature-settings:none;color:var(--tw-prose-code);font-size:.875em;font-variant-ligatures:none;font-weight:500}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:inherit;font-weight:inherit}.prose :where(h1 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose] *)){background-color:var(--tw-prose-pre-bg);border-radius:.75rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);color:#f8fafc;display:flex;font-size:.875em;font-weight:400;line-height:1.7142857;margin-bottom:2.2857142857142856em;margin-top:1.4285714285714286em;overflow-x:auto;padding:1.25rem}.prose :where(pre code):not(:where([class~=not-prose] *)){background-color:transparent;border-radius:0;border-width:0;color:inherit;flex:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;min-width:100%;padding:0}.prose :where(pre code):not(:where([class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose] *)){font-size:.875rem;line-height:1.25rem;margin-bottom:2em;margin-top:2em;table-layout:auto;text-align:left;width:100%}.prose :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:#e2e8f0;border-bottom-width:1px;color:#334155}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;padding:0 .5714286em .5714286em;vertical-align:bottom}.prose :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:#f1f5f9;border-bottom-width:1px}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:1px}.prose :where(tbody td):not(:where([class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose] *)){border-top-color:var(--tw-prose-th-borders);border-top-width:1px}.prose :where(tfoot td):not(:where([class~=not-prose] *)){vertical-align:top}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(p):not(:where([class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}.prose :where(video):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(li):not(:where([class~=not-prose] *)){margin-bottom:.5em;margin-top:.5em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:1.75em;position:relative}.prose :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose :where(h1,h2,h3):not(:where([class~=not-prose] *)){letter-spacing:-.025em}.prose :where(h1 small,h2 small,h3 small,h4 small):not(:where([class~=not-prose] *)){color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:500}.prose :where(h2 small):not(:where([class~=not-prose] *)){font-size:1.125rem;line-height:1.75rem}.prose :where(h3 small):not(:where([class~=not-prose] *)){font-size:1rem;line-height:1.5rem}.prose :where(h4 small):not(:where([class~=not-prose] *)){font-size:.875rem;line-height:1.25rem}.prose :where(h1,h2,h3,h4):not(:where([class~=not-prose] *)){scroll-margin-top:var(--scroll-mt)}.prose :where(ul>li):not(:where([class~=not-prose] *)):before{background-color:#cbd5e1;border-radius:999px;content:"";height:.125em;left:0;position:absolute;top:.8125em;width:.75em}.prose :where(a:hover):not(:where([class~=not-prose] *)){border-bottom-width:2px}.prose :where(kbd):not(:where([class~=not-prose] *)){font-feature-settings:none;background:#f1f5f9;border-color:#e2e8f0;border-radius:4px;border-width:1px;color:#334155;font-size:.875em;font-variant-ligatures:none;font-weight:500;margin:0 1px;padding:.125em .25em}.prose :where(p+pre):not(:where([class~=not-prose] *)){margin-top:-.2857142857142857em}.prose :where(pre+pre):not(:where([class~=not-prose] *)){margin-top:-1.1428571428571428em}.prose :where(tbody code):not(:where([class~=not-prose] *)){font-size:.75rem}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em;margin-top:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-bottom:.8888889em;margin-top:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em;margin-top:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose] *)){font-size:2.1428571em;line-height:1.2;margin-bottom:.8em;margin-top:0}.prose-sm :where(h2):not(:where([class~=not-prose] *)){font-size:1.4285714em;line-height:1.4;margin-bottom:.8em;margin-top:1.6em}.prose-sm :where(h3):not(:where([class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-bottom:.4444444em;margin-top:1.5555556em}.prose-sm :where(h4):not(:where([class~=not-prose] *)){line-height:1.4285714;margin-bottom:.5714286em;margin-top:1.4285714em}.prose-sm :where(img):not(:where([class~=not-prose] *)){margin-bottom:1.7142857em;margin-top:1.7142857em}.prose-sm :where(video):not(:where([class~=not-prose] *)){margin-bottom:1.7142857em;margin-top:1.7142857em}.prose-sm :where(figure):not(:where([class~=not-prose] *)){margin-bottom:1.7142857em;margin-top:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose] *)){margin-bottom:0;margin-top:0}.prose-sm :where(figcaption):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(code):not(:where([class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose] *)){border-radius:.25rem;font-size:.8571429em;line-height:1.6666667;margin-bottom:1.6666667em;margin-top:1.6666667em;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em;margin-top:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em;margin-top:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose] *)){margin-bottom:.2857143em;margin-top:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.5714286em;margin-top:.5714286em}.prose-sm :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-bottom:.5714286em;margin-top:.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose] *)){margin-bottom:2.8571429em;margin-top:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose] *)){padding-bottom:.6666667em;padding-left:1em;padding-right:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-sm :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-base :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose-base :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose-base :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose-base :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose-base :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose-base :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-base :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-lg :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.8888889em;margin-top:.8888889em}.prose-lg :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-lg :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-xl :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.8em;margin-top:.8em}.prose-xl :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.2em}.prose-xl :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.2em}.prose-xl :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.2em}.prose-xl :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.2em}.prose-xl :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-xl :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-2xl :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.8333333em;margin-top:.8333333em}.prose-2xl :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.3333333em}.prose-2xl :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.3333333em}.prose-2xl :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-2xl :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-slate{--tw-prose-body:#334155;--tw-prose-headings:#0f172a;--tw-prose-lead:#475569;--tw-prose-links:#0f172a;--tw-prose-bold:#0f172a;--tw-prose-counters:#64748b;--tw-prose-bullets:#cbd5e1;--tw-prose-hr:#e2e8f0;--tw-prose-quotes:#0f172a;--tw-prose-quote-borders:#e2e8f0;--tw-prose-captions:#64748b;--tw-prose-code:#0f172a;--tw-prose-pre-code:#e2e8f0;--tw-prose-pre-bg:#1e293b;--tw-prose-th-borders:#cbd5e1;--tw-prose-td-borders:#e2e8f0;--tw-prose-invert-body:#cbd5e1;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#94a3b8;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#94a3b8;--tw-prose-invert-bullets:#475569;--tw-prose-invert-hr:#334155;--tw-prose-invert-quotes:#f1f5f9;--tw-prose-invert-quote-borders:#334155;--tw-prose-invert-captions:#94a3b8;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#cbd5e1;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#475569;--tw-prose-invert-td-borders:#334155}.gray-frame{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);background-color:rgba(22,27,34,var(--tw-bg-opacity));border-radius:.75rem;box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);position:relative}.dark .gray-frame{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:hsla(0,0%,100%,.1);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.code-in-gray-frame{--tw-text-opacity:1;color:rgba(248,250,252,var(--tw-text-opacity));font-size:.875rem;line-height:1.5rem;min-width:100%;overflow-x:auto;padding:1.25rem}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.inset-y-px{bottom:1px;top:1px}.top-full{top:100%}.bottom-full{bottom:100%}.left-1\/2{left:50%}.-top-px{top:-1px}.-top-0\.5{top:-.125rem}.-left-px{left:-1px}.-top-0{top:0}.top-5{top:1.25rem}.right-5{right:1.25rem}.right-2{right:.5rem}.top-\[7px\]{top:7px}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.m-0{margin:0}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mx-\[7px\]{margin-left:7px;margin-right:7px}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-\[6px\]{margin-left:6px;margin-right:6px}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mr-3{margin-right:.75rem}.ml-3{margin-left:.75rem}.mb-4{margin-bottom:1rem}.mt-0\.5{margin-top:.125rem}.mt-0{margin-top:0}.mt-4{margin-top:1rem}.mt-1{margin-top:.25rem}.-mt-2{margin-top:-.5rem}.mt-2{margin-top:.5rem}.ml-2{margin-left:.5rem}.mb-0\.5{margin-bottom:.125rem}.mb-0{margin-bottom:0}.mr-0\.5{margin-right:.125rem}.mr-0{margin-right:0}.mb-3{margin-bottom:.75rem}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mt-5{margin-top:1.25rem}.mb-8{margin-bottom:2rem}.mb-3\.5{margin-bottom:.875rem}.mt-1\.5{margin-top:.375rem}.-mt-1{margin-top:-.25rem}.mb-6{margin-bottom:1.5rem}.ml-16{margin-left:4rem}.mt-8{margin-top:2rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-9{height:2.25rem}.h-5{height:1.25rem}.h-4{height:1rem}.h-auto{height:auto}.h-6{height:1.5rem}.h-64{height:16rem}.h-3{height:.75rem}.h-\[1\.125rem\]{height:1.125rem}.h-\[1\.15rem\]{height:1.15rem}.h-7{height:1.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-3\.5{width:.875rem}.w-3{width:.75rem}.w-6{width:1.5rem}.w-full{width:100%}.w-40{width:10rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-\[calc\(40\%-1\.05rem\)\]{width:calc(40% - 1.05rem)}.w-2\/5{width:40%}.min-w-full{min-width:100%}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.-translate-y-12{--tw-translate-y:-3rem}.-translate-y-12,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.-translate-y-6{--tw-translate-y:-1.5rem}.-translate-x-1\/2,.-translate-y-6{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\/2{--tw-translate-x:-50%}.rotate-90{--tw-rotate:90deg}.rotate-90,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1.5rem*var(--tw-space-x-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-inherit>:not([hidden])~:not([hidden]){border-color:inherit}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.rounded-md{border-radius:.375rem}.rounded-lg{border-radius:.5rem}.rounded{border-radius:.25rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-b-xl{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-tl-xl{border-top-left-radius:.75rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.border{border-width:1px}.border-0{border-width:0}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-l{border-left-width:1px}.border-b-2{border-bottom-width:2px}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-zinc-500\/20{border-color:hsla(240,4%,46%,.2)}.border-amber-500\/20{border-color:rgba(245,158,11,.2)}.border-sky-500\/20{border-color:rgba(14,165,233,.2)}.border-emerald-500\/20{border-color:rgba(16,185,129,.2)}.border-zinc-200{--tw-border-opacity:1;border-color:rgba(228,228,231,var(--tw-border-opacity))}.border-black\/5{border-color:rgba(0,0,0,.05)}.border-zinc-100{--tw-border-opacity:1;border-color:rgba(244,244,245,var(--tw-border-opacity))}.border-zinc-300{--tw-border-opacity:1;border-color:rgba(212,212,216,var(--tw-border-opacity))}.border-zinc-50{--tw-border-opacity:1;border-color:rgba(250,250,250,var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity:1;border-color:rgba(226,232,240,var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-slate-400{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.border-slate-500\/30{border-color:rgba(100,116,139,.3)}.border-slate-200\/5{border-color:rgba(226,232,240,.05)}.border-current{border-color:currentColor}.border-green-600{--tw-border-opacity:1;border-color:rgba(22,163,74,var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity:1;border-color:rgba(37,99,235,var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity:1;border-color:rgba(202,138,4,var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgba(220,38,38,var(--tw-border-opacity))}.border-orange-600{--tw-border-opacity:1;border-color:rgba(234,88,12,var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity:1;border-color:rgba(71,85,105,var(--tw-border-opacity))}.border-slate-100{--tw-border-opacity:1;border-color:rgba(241,245,249,var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgba(254,202,202,var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgba(238,242,255,var(--tw-bg-opacity))}.bg-pink-50{--tw-bg-opacity:1;background-color:rgba(253,242,248,var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity:1;background-color:rgba(240,249,255,var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgba(239,246,255,var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.bg-zinc-50\/50{background-color:hsla(0,0%,98%,.5)}.bg-amber-50\/50{background-color:rgba(255,251,235,.5)}.bg-sky-50\/50{background-color:rgba(240,249,255,.5)}.bg-emerald-50\/50{background-color:rgba(236,253,245,.5)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgba(248,250,252,var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity:1;background-color:rgba(250,250,250,var(--tw-bg-opacity))}.\!bg-zinc-400\/10{background-color:hsla(240,5%,65%,.1)!important}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-codeblock{--tw-bg-opacity:1;background-color:rgba(22,27,34,var(--tw-bg-opacity))}.bg-codeblock-tabs{--tw-bg-opacity:1;background-color:rgba(33,38,45,var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgba(22,163,74,var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgba(37,99,235,var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity:1;background-color:rgba(202,138,4,var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgba(220,38,38,var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgba(234,88,12,var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgba(71,85,105,var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity:1;background-color:rgba(243,232,255,var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgba(254,226,226,var(--tw-bg-opacity))}.fill-slate-800{fill:#1e293b}.fill-slate-400{fill:#94a3b8}.fill-white{fill:#fff}.fill-slate-500{fill:#64748b}.fill-red-600{fill:#dc2626}.stroke-slate-700{stroke:#334155}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.p-8{padding:2rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-4{padding-bottom:1rem;padding-top:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-0{padding-bottom:0;padding-top:0}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.py-px{padding-bottom:1px;padding-top:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.pt-0{padding-top:0}.pb-7{padding-bottom:1.75rem}.pb-3{padding-bottom:.75rem}.pb-1{padding-bottom:.25rem}.pt-1{padding-top:.25rem}.pt-3\.5{padding-top:.875rem}.pb-4{padding-bottom:1rem}.pt-3{padding-top:.75rem}.pt-2{padding-top:.5rem}.pr-4{padding-right:1rem}.pb-2\.5{padding-bottom:.625rem}.pb-2{padding-bottom:.5rem}.pb-\[1px\]{padding-bottom:1px}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[0\.84rem\]{font-size:.84rem}.text-\[0\.95rem\]{font-size:.95rem}.font-semibold{font-weight:600}.font-normal{font-weight:400}.font-medium{font-weight:500}.font-bold{font-weight:700}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-tight{line-height:1.25}.text-indigo-600{--tw-text-opacity:1;color:rgba(79,70,229,var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity:1;color:rgba(165,180,252,var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity:1;color:rgba(219,39,119,var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity:1;color:rgba(249,168,212,var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity:1;color:rgba(2,132,199,var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity:1;color:rgba(125,211,252,var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity:1;color:rgba(147,197,253,var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity:1;color:rgba(203,213,225,var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity:1;color:rgba(161,161,170,var(--tw-text-opacity))}.text-zinc-900{--tw-text-opacity:1;color:rgba(24,24,27,var(--tw-text-opacity))}.text-amber-400{--tw-text-opacity:1;color:rgba(251,191,36,var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity:1;color:rgba(120,53,15,var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity:1;color:rgba(14,165,233,var(--tw-text-opacity))}.text-sky-900{--tw-text-opacity:1;color:rgba(12,74,110,var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity:1;color:rgba(5,150,105,var(--tw-text-opacity))}.text-emerald-900{--tw-text-opacity:1;color:rgba(6,78,59,var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgba(22,163,74,var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity:1;color:rgba(30,41,59,var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity:1;color:rgba(71,85,105,var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgba(15,23,42,var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity:1;color:rgba(248,250,252,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgba(202,138,4,var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgba(220,38,38,var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgba(234,88,12,var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity:1;color:rgba(190,24,93,var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity:1;color:rgba(147,51,234,var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity:1;color:rgba(168,85,247,var(--tw-text-opacity))}.underline{text-decoration-line:underline}.decoration-zinc-400{text-decoration-color:#a1a1aa}.decoration-dotted{text-decoration-style:dotted}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.ring-transparent{--tw-ring-color:transparent}.filter{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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-75{transition-duration:75ms}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.bg-grid-slate-100{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%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")}.\[mask-image\:linear-gradient\(0deg\2c \#fff\2c rgba\(255\2c 255\2c 255\2c 0\.6\)\)\]{-webkit-mask-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.6));mask-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.6))}select{-moz-appearance:none;-webkit-appearance:none;appearance:none}.hover\:border-slate-300:hover{--tw-border-opacity:1;border-color:rgba(203,213,225,var(--tw-border-opacity))}.hover\:border-slate-400:hover{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.hover\:border-red-800:hover{--tw-border-opacity:1;border-color:rgba(153,27,27,var(--tw-border-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity:1;background-color:rgba(199,210,254,var(--tw-bg-opacity))}.hover\:bg-pink-100:hover{--tw-bg-opacity:1;background-color:rgba(252,231,243,var(--tw-bg-opacity))}.hover\:bg-sky-100:hover{--tw-bg-opacity:1;background-color:rgba(224,242,254,var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgba(219,234,254,var(--tw-bg-opacity))}.hover\:bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgba(226,232,240,var(--tw-bg-opacity))}.hover\:bg-zinc-400\/20:hover{background-color:hsla(240,5%,65%,.2)}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity:1;background-color:rgba(22,101,52,var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgba(30,64,175,var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity:1;background-color:rgba(133,77,14,var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity:1;background-color:rgba(153,27,27,var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgba(154,52,18,var(--tw-bg-opacity))}.hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgba(30,41,59,var(--tw-bg-opacity))}.hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgba(248,250,252,var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity:1;background-color:rgba(233,213,255,var(--tw-bg-opacity))}.hover\:fill-slate-300:hover{fill:#cbd5e1}.hover\:fill-red-800:hover{fill:#991b1b}.hover\:text-indigo-700:hover{--tw-text-opacity:1;color:rgba(67,56,202,var(--tw-text-opacity))}.hover\:text-pink-700:hover{--tw-text-opacity:1;color:rgba(190,24,93,var(--tw-text-opacity))}.hover\:text-sky-700:hover{--tw-text-opacity:1;color:rgba(3,105,161,var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgba(29,78,216,var(--tw-text-opacity))}.hover\:text-slate-900:hover{--tw-text-opacity:1;color:rgba(15,23,42,var(--tw-text-opacity))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity))}.hover\:text-purple-700:hover{--tw-text-opacity:1;color:rgba(126,34,206,var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(99,102,241,var(--tw-ring-opacity))}.focus\:ring-pink-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(219,39,119,var(--tw-ring-opacity))}.focus\:ring-sky-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(2,132,199,var(--tw-ring-opacity))}.focus\:ring-blue-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(37,99,235,var(--tw-ring-opacity))}.focus\:ring-slate-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(100,116,139,var(--tw-ring-opacity))}.focus\:ring-purple-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(168,85,247,var(--tw-ring-opacity))}.disabled\:bg-green-700:disabled{--tw-bg-opacity:1;background-color:rgba(21,128,61,var(--tw-bg-opacity))}.disabled\:bg-blue-700:disabled{--tw-bg-opacity:1;background-color:rgba(29,78,216,var(--tw-bg-opacity))}.disabled\:bg-yellow-700:disabled{--tw-bg-opacity:1;background-color:rgba(161,98,7,var(--tw-bg-opacity))}.disabled\:bg-red-700:disabled{--tw-bg-opacity:1;background-color:rgba(185,28,28,var(--tw-bg-opacity))}.disabled\:bg-orange-700:disabled{--tw-bg-opacity:1;background-color:rgba(194,65,12,var(--tw-bg-opacity))}.disabled\:bg-slate-700:disabled{--tw-bg-opacity:1;background-color:rgba(51,65,85,var(--tw-bg-opacity))}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:flex{display:flex}.group:hover .group-hover\:fill-slate-700{fill:#334155}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity:1;color:rgba(129,140,248,var(--tw-text-opacity))}.group:hover .group-hover\:text-pink-400{--tw-text-opacity:1;color:rgba(244,114,182,var(--tw-text-opacity))}.group:hover .group-hover\:text-sky-400{--tw-text-opacity:1;color:rgba(56,189,248,var(--tw-text-opacity))}.group:hover .group-hover\:text-blue-400{--tw-text-opacity:1;color:rgba(96,165,250,var(--tw-text-opacity))}.group:hover .group-hover\:text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.group:hover .group-hover\:text-purple-600{--tw-text-opacity:1;color:rgba(147,51,234,var(--tw-text-opacity))}:where(.children\:\!my-0)>:where(:not(.not-children)){margin-bottom:0!important;margin-top:0!important}:where(.children\:\!bg-transparent)>:where(:not(.not-children)){background-color:transparent!important}:where(.children\:\!shadow-none)>:where(:not(.not-children)){--tw-shadow:0 0 transparent!important;--tw-shadow-colored:0 0 transparent!important;box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.dark .dark\:border-zinc-500\/30{border-color:hsla(240,4%,46%,.3)}.dark .dark\:border-amber-500\/30{border-color:rgba(245,158,11,.3)}.dark .dark\:border-sky-500\/30{border-color:rgba(14,165,233,.3)}.dark .dark\:border-emerald-500\/30{border-color:rgba(16,185,129,.3)}.dark .dark\:border-zinc-800{--tw-border-opacity:1;border-color:rgba(39,39,42,var(--tw-border-opacity))}.dark .dark\:border-white\/5{border-color:hsla(0,0%,100%,.05)}.dark .dark\:border-slate-600{--tw-border-opacity:1;border-color:rgba(71,85,105,var(--tw-border-opacity))}.dark .dark\:border-slate-400{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.dark .dark\:border-zinc-200\/10{border-color:hsla(240,6%,90%,.1)}.dark .dark\:border-green-500{--tw-border-opacity:1;border-color:rgba(34,197,94,var(--tw-border-opacity))}.dark .dark\:border-blue-500{--tw-border-opacity:1;border-color:rgba(59,130,246,var(--tw-border-opacity))}.dark .dark\:border-yellow-500{--tw-border-opacity:1;border-color:rgba(234,179,8,var(--tw-border-opacity))}.dark .dark\:border-red-500{--tw-border-opacity:1;border-color:rgba(239,68,68,var(--tw-border-opacity))}.dark .dark\:border-orange-500{--tw-border-opacity:1;border-color:rgba(249,115,22,var(--tw-border-opacity))}.dark .dark\:border-slate-500{--tw-border-opacity:1;border-color:rgba(100,116,139,var(--tw-border-opacity))}.dark .dark\:border-slate-700{--tw-border-opacity:1;border-color:rgba(51,65,85,var(--tw-border-opacity))}.dark .dark\:border-red-600{--tw-border-opacity:1;border-color:rgba(220,38,38,var(--tw-border-opacity))}.dark .dark\:bg-slate-700{--tw-bg-opacity:1;background-color:rgba(51,65,85,var(--tw-bg-opacity))}.dark .dark\:bg-sky-500{--tw-bg-opacity:1;background-color:rgba(14,165,233,var(--tw-bg-opacity))}.dark .dark\:bg-zinc-900{--tw-bg-opacity:1;background-color:rgba(24,24,27,var(--tw-bg-opacity))}.dark .dark\:bg-zinc-500\/10{background-color:hsla(240,4%,46%,.1)}.dark .dark\:bg-amber-500\/10{background-color:rgba(245,158,11,.1)}.dark .dark\:bg-sky-500\/10{background-color:rgba(14,165,233,.1)}.dark .dark\:bg-emerald-500\/10{background-color:rgba(16,185,129,.1)}.dark .dark\:bg-slate-800\/25{background-color:rgba(30,41,59,.25)}.dark .dark\:bg-zinc-800{--tw-bg-opacity:1;background-color:rgba(39,39,42,var(--tw-bg-opacity))}.dark .dark\:bg-zinc-600\/30{background-color:rgba(82,82,91,.3)}.dark .dark\:bg-codeblock{--tw-bg-opacity:1;background-color:rgba(22,27,34,var(--tw-bg-opacity))}.dark .dark\:bg-dark-input{--tw-bg-opacity:1;background-color:rgba(48,54,61,var(--tw-bg-opacity))}.dark .dark\:fill-slate-100{fill:#f1f5f9}.dark .dark\:fill-slate-300{fill:#cbd5e1}.dark .dark\:fill-slate-400{fill:#94a3b8}.dark .dark\:fill-red-400{fill:#f87171}.dark .dark\:stroke-slate-100{stroke:#f1f5f9}.dark .dark\:text-slate-100{--tw-text-opacity:1;color:rgba(241,245,249,var(--tw-text-opacity))}.dark .dark\:text-slate-500{--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.dark .dark\:text-sky-50{--tw-text-opacity:1;color:rgba(240,249,255,var(--tw-text-opacity))}.dark .dark\:text-sky-300{--tw-text-opacity:1;color:rgba(125,211,252,var(--tw-text-opacity))}.dark .dark\:text-zinc-300{--tw-text-opacity:1;color:rgba(212,212,216,var(--tw-text-opacity))}.dark .dark\:text-zinc-200{--tw-text-opacity:1;color:rgba(228,228,231,var(--tw-text-opacity))}.dark .dark\:text-amber-300\/80{color:rgba(252,211,77,.8)}.dark .dark\:text-amber-200{--tw-text-opacity:1;color:rgba(253,230,138,var(--tw-text-opacity))}.dark .dark\:text-sky-200{--tw-text-opacity:1;color:rgba(186,230,253,var(--tw-text-opacity))}.dark .dark\:text-emerald-400\/80{color:rgba(52,211,153,.8)}.dark .dark\:text-emerald-200{--tw-text-opacity:1;color:rgba(167,243,208,var(--tw-text-opacity))}.dark .dark\:text-green-400\/80{color:rgba(74,222,128,.8)}.dark .dark\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.dark .dark\:text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.dark .dark\:text-slate-300{--tw-text-opacity:1;color:rgba(203,213,225,var(--tw-text-opacity))}.dark .dark\:text-slate-200{--tw-text-opacity:1;color:rgba(226,232,240,var(--tw-text-opacity))}.dark .dark\:text-green-500{--tw-text-opacity:1;color:rgba(34,197,94,var(--tw-text-opacity))}.dark .dark\:text-blue-500{--tw-text-opacity:1;color:rgba(59,130,246,var(--tw-text-opacity))}.dark .dark\:text-yellow-500{--tw-text-opacity:1;color:rgba(234,179,8,var(--tw-text-opacity))}.dark .dark\:text-red-500{--tw-text-opacity:1;color:rgba(239,68,68,var(--tw-text-opacity))}.dark .dark\:text-orange-500{--tw-text-opacity:1;color:rgba(249,115,22,var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgba(248,113,113,var(--tw-text-opacity))}.dark .dark\:text-pink-300{--tw-text-opacity:1;color:rgba(249,168,212,var(--tw-text-opacity))}.dark .dark\:decoration-zinc-500{text-decoration-color:#71717a}.dark .dark\:prose-dark{color:#94a3b8}.dark .dark\:prose-dark :where(h1,h2,h3,h4,thead th):not(:where([class~=not-prose] *)){color:#e2e8f0}.dark .dark\:prose-dark :where(h1 small,h2 small,h3 small,h4 small):not(:where([class~=not-prose] *)){color:#94a3b8}.dark .dark\:prose-dark :where(kbd):not(:where([class~=not-prose] *)){background:#334155;border-color:#475569;color:#e2e8f0}.dark .dark\:prose-dark :where(code):not(:where([class~=not-prose] *)){color:#e2e8f0}.dark .dark\:prose-dark :where(hr):not(:where([class~=not-prose] *)){border-color:#e2e8f0;opacity:.05}.dark .dark\:prose-dark :where(pre):not(:where([class~=not-prose] *)){box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.1)}.dark .dark\:prose-dark :where(a):not(:where([class~=not-prose] *)){color:#fff}.dark .dark\:prose-dark :where(strong):not(:where([class~=not-prose] *)){color:#e2e8f0}.dark .dark\:prose-dark :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:rgba(148,163,184,.2);color:#cbd5e1}.dark .dark\:prose-dark :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:rgba(148,163,184,.1)}.dark .dark\:brightness-\[1\.35\]{--tw-brightness:brightness(1.35);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)}.dark .dark\:bg-grid-slate-700\/25{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%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")}.dark .dark\:\[mask-image\:linear-gradient\(0deg\2c rgba\(255\2c 255\2c 255\2c 0\.1\)\2c rgba\(255\2c 255\2c 255\2c 0\.5\)\)\]{-webkit-mask-image:linear-gradient(0deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,.5));mask-image:linear-gradient(0deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,.5))}.dark .dark\:hover\:border-slate-400:hover{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.dark .dark\:hover\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgba(51,65,85,var(--tw-border-opacity))}.dark .dark\:hover\:border-slate-500:hover{--tw-border-opacity:1;border-color:rgba(100,116,139,var(--tw-border-opacity))}.dark .dark\:hover\:border-red-400:hover{--tw-border-opacity:1;border-color:rgba(248,113,113,var(--tw-border-opacity))}.dark .dark\:hover\:bg-slate-600:hover{--tw-bg-opacity:1;background-color:rgba(71,85,105,var(--tw-bg-opacity))}.dark .dark\:hover\:bg-sky-400:hover{--tw-bg-opacity:1;background-color:rgba(56,189,248,var(--tw-bg-opacity))}.dark .dark\:hover\:bg-slate-800:hover,.dark .hover\:dark\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgba(30,41,59,var(--tw-bg-opacity))}.dark .dark\:hover\:bg-zinc-800:hover{--tw-bg-opacity:1;background-color:rgba(39,39,42,var(--tw-bg-opacity))}.dark .dark\:hover\:fill-red-200:hover{fill:#fecaca}.dark .dark\:hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.dark .dark\:hover\:text-slate-200:hover{--tw-text-opacity:1;color:rgba(226,232,240,var(--tw-text-opacity))}.dark .dark\:focus\:ring-slate-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(100,116,139,var(--tw-ring-opacity))}.dark .dark\:focus\:ring-sky-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(186,230,253,var(--tw-ring-opacity))}.dark .group:hover .dark\:group-hover\:fill-slate-200{fill:#e2e8f0}.dark .group:hover .dark\:group-hover\:text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.dark .group:hover .dark\:group-hover\:text-sky-100{--tw-text-opacity:1;color:rgba(224,242,254,var(--tw-text-opacity))}@media (min-width:640px){.sm\:block{display:block}.sm\:w-\[calc\(33\%-1\.05rem\)\]{width:calc(33% - 1.05rem)}.sm\:w-1\/3{width:33.333333%}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:768px){.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1024px){.lg\:whitespace-nowrap{white-space:nowrap}}.\[\&\>div\]\:mb-0>div{margin-bottom:0}.\[\&\>div\]\:ml-2>div{margin-left:.5rem}.\[\&\>div\]\:rounded-none>div{border-radius:0}.\[\&\>div\]\:border-0>div{border-width:0}.\[\&\>div\>button\]\:rounded-none>div>button{border-radius:0}
1
+ /*! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline;-webkit-text-decoration:underline dotted currentColor;text-decoration:underline dotted currentColor}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.prose{color:#334155;max-width:none}.prose :where(p):not(:where([class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-bottom:1.2em;margin-top:1.2em}.prose :where(a):not(:where([class~=not-prose] *)){color:var(--tw-prose-links);font-weight:600;text-decoration:none}.prose :where(strong):not(:where([class~=not-prose] *)){color:#0f172a;font-weight:600}.prose :where(a strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose] *)){list-style-type:decimal;margin-bottom:1.25em;margin-top:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose] *)){list-style-type:none;margin-bottom:1.25em;margin-top:1.25em;padding-left:0}.prose :where(ol>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~=not-prose] *)){border-color:#f1f5f9;border-top-width:1px;margin-bottom:3em;margin-top:3em}.prose :where(blockquote):not(:where([class~=not-prose] *)){border-left-color:var(--tw-prose-quote-borders);border-left-width:.25rem;color:var(--tw-prose-quotes);font-style:italic;font-weight:500;margin-bottom:1.6em;margin-top:1.6em;padding-left:1em;quotes:"\201C""\201D""\2018""\2019"}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:2.25em;font-weight:800;line-height:1.1111111;margin-bottom:.8888889em;margin-top:0}.prose :where(h1 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.5em;font-weight:700;line-height:1.3333333;margin-bottom:.6666666666666666em;margin-top:2em}.prose :where(h2 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.25em;font-weight:600;line-height:1.4;margin-bottom:.6em;margin-top:2.4em}.prose :where(h3 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.125em;font-weight:600;line-height:1.5;margin-bottom:.5em;margin-top:2em}.prose :where(h4 strong):not(:where([class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(figure>*):not(:where([class~=not-prose] *)){margin-bottom:0;margin-top:0}.prose :where(figcaption):not(:where([class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~=not-prose] *)){font-feature-settings:none;color:var(--tw-prose-code);font-size:.875em;font-variant-ligatures:none;font-weight:500}.prose :where(code):not(:where([class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose] *)){color:inherit;font-weight:inherit}.prose :where(h1 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose] *)){background-color:var(--tw-prose-pre-bg);border-radius:.75rem;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);color:#f8fafc;display:flex;font-size:.875em;font-weight:400;line-height:1.7142857;margin-bottom:2.2857142857142856em;margin-top:1.4285714285714286em;overflow-x:auto;padding:1.25rem}.prose :where(pre code):not(:where([class~=not-prose] *)){background-color:transparent;border-radius:0;border-width:0;color:inherit;flex:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;min-width:100%;padding:0}.prose :where(pre code):not(:where([class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose] *)){font-size:.875rem;line-height:1.25rem;margin-bottom:2em;margin-top:2em;table-layout:auto;text-align:left;width:100%}.prose :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:#e2e8f0;border-bottom-width:1px;color:#334155}.prose :where(thead th):not(:where([class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;padding:0 .5714286em .5714286em;vertical-align:bottom}.prose :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:#f1f5f9;border-bottom-width:1px}.prose :where(tbody tr:last-child):not(:where([class~=not-prose] *)){border-bottom-width:1px}.prose :where(tbody td):not(:where([class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose] *)){border-top-color:var(--tw-prose-th-borders);border-top-width:1px}.prose :where(tfoot td):not(:where([class~=not-prose] *)){vertical-align:top}.prose{--tw-prose-body:#374151;--tw-prose-headings:#111827;--tw-prose-lead:#4b5563;--tw-prose-links:#111827;--tw-prose-bold:#111827;--tw-prose-counters:#6b7280;--tw-prose-bullets:#d1d5db;--tw-prose-hr:#e5e7eb;--tw-prose-quotes:#111827;--tw-prose-quote-borders:#e5e7eb;--tw-prose-captions:#6b7280;--tw-prose-code:#111827;--tw-prose-pre-code:#e5e7eb;--tw-prose-pre-bg:#1f2937;--tw-prose-th-borders:#d1d5db;--tw-prose-td-borders:#e5e7eb;--tw-prose-invert-body:#d1d5db;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#9ca3af;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#9ca3af;--tw-prose-invert-bullets:#4b5563;--tw-prose-invert-hr:#374151;--tw-prose-invert-quotes:#f3f4f6;--tw-prose-invert-quote-borders:#374151;--tw-prose-invert-captions:#9ca3af;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#d1d5db;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#4b5563;--tw-prose-invert-td-borders:#374151;font-size:1rem;line-height:1.75}.prose :where(video):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(figure):not(:where([class~=not-prose] *)){margin-bottom:2em;margin-top:2em}.prose :where(li):not(:where([class~=not-prose] *)){margin-bottom:.5em;margin-top:.5em}.prose :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose] *)){padding-left:1.75em;position:relative}.prose :where(.prose>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose :where(.prose>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}.prose :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose :where(.prose>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose :where(h1,h2,h3):not(:where([class~=not-prose] *)){letter-spacing:-.025em}.prose :where(h1 small,h2 small,h3 small,h4 small):not(:where([class~=not-prose] *)){color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:500}.prose :where(h2 small):not(:where([class~=not-prose] *)){font-size:1.125rem;line-height:1.75rem}.prose :where(h3 small):not(:where([class~=not-prose] *)){font-size:1rem;line-height:1.5rem}.prose :where(h4 small):not(:where([class~=not-prose] *)){font-size:.875rem;line-height:1.25rem}.prose :where(h1,h2,h3,h4):not(:where([class~=not-prose] *)){scroll-margin-top:var(--scroll-mt)}.prose :where(ul>li):not(:where([class~=not-prose] *)):before{background-color:#cbd5e1;border-radius:999px;content:"";height:.125em;left:0;position:absolute;top:.8125em;width:.75em}.prose :where(a:hover):not(:where([class~=not-prose] *)){border-bottom-width:2px}.prose :where(kbd):not(:where([class~=not-prose] *)){font-feature-settings:none;background:#f1f5f9;border-color:#e2e8f0;border-radius:4px;border-width:1px;color:#334155;font-size:.875em;font-variant-ligatures:none;font-weight:500;margin:0 1px;padding:.125em .25em}.prose :where(p+pre):not(:where([class~=not-prose] *)){margin-top:-.2857142857142857em}.prose :where(pre+pre):not(:where([class~=not-prose] *)){margin-top:-1.1428571428571428em}.prose :where(tbody code):not(:where([class~=not-prose] *)){font-size:.75rem}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em;margin-top:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-bottom:.8888889em;margin-top:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose] *)){margin-bottom:1.3333333em;margin-top:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose] *)){font-size:2.1428571em;line-height:1.2;margin-bottom:.8em;margin-top:0}.prose-sm :where(h2):not(:where([class~=not-prose] *)){font-size:1.4285714em;line-height:1.4;margin-bottom:.8em;margin-top:1.6em}.prose-sm :where(h3):not(:where([class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-bottom:.4444444em;margin-top:1.5555556em}.prose-sm :where(h4):not(:where([class~=not-prose] *)){line-height:1.4285714;margin-bottom:.5714286em;margin-top:1.4285714em}.prose-sm :where(img):not(:where([class~=not-prose] *)){margin-bottom:1.7142857em;margin-top:1.7142857em}.prose-sm :where(video):not(:where([class~=not-prose] *)){margin-bottom:1.7142857em;margin-top:1.7142857em}.prose-sm :where(figure):not(:where([class~=not-prose] *)){margin-bottom:1.7142857em;margin-top:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose] *)){margin-bottom:0;margin-top:0}.prose-sm :where(figcaption):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(code):not(:where([class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose] *)){border-radius:.25rem;font-size:.8571429em;line-height:1.6666667;margin-bottom:1.6666667em;margin-top:1.6666667em;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em;margin-top:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em;margin-top:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose] *)){margin-bottom:.2857143em;margin-top:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose] *)){margin-bottom:.5714286em;margin-top:.5714286em}.prose-sm :where(.prose-sm>ul>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>:first-child):not(:where([class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>:last-child):not(:where([class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose] *)){margin-bottom:.5714286em;margin-top:.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose] *)){margin-bottom:2.8571429em;margin-top:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose] *)){padding-bottom:.6666667em;padding-left:1em;padding-right:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose] *)){padding-right:0}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose] *)){margin-bottom:0}.prose-slate{--tw-prose-body:#334155;--tw-prose-headings:#0f172a;--tw-prose-lead:#475569;--tw-prose-links:#0f172a;--tw-prose-bold:#0f172a;--tw-prose-counters:#64748b;--tw-prose-bullets:#cbd5e1;--tw-prose-hr:#e2e8f0;--tw-prose-quotes:#0f172a;--tw-prose-quote-borders:#e2e8f0;--tw-prose-captions:#64748b;--tw-prose-code:#0f172a;--tw-prose-pre-code:#e2e8f0;--tw-prose-pre-bg:#1e293b;--tw-prose-th-borders:#cbd5e1;--tw-prose-td-borders:#e2e8f0;--tw-prose-invert-body:#cbd5e1;--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:#94a3b8;--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:#94a3b8;--tw-prose-invert-bullets:#475569;--tw-prose-invert-hr:#334155;--tw-prose-invert-quotes:#f1f5f9;--tw-prose-invert-quote-borders:#334155;--tw-prose-invert-captions:#94a3b8;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:#cbd5e1;--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:#475569;--tw-prose-invert-td-borders:#334155}.gray-frame{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);background-color:rgba(22,27,34,var(--tw-bg-opacity));border-radius:.75rem;box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);position:relative}.dark .gray-frame{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-inset:inset;--tw-ring-color:hsla(0,0%,100%,.1);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.code-in-gray-frame{--tw-text-opacity:1;color:rgba(248,250,252,var(--tw-text-opacity));font-size:.875rem;line-height:1.5rem;min-width:100%;overflow-x:auto;padding:1.25rem}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.inset-y-px{bottom:1px;top:1px}.-left-px{left:-1px}.-top-0{top:0}.-top-0\.5{top:-.125rem}.-top-px{top:-1px}.bottom-full{bottom:100%}.left-1\/2{left:50%}.right-2{right:.5rem}.right-5{right:1.25rem}.top-5{top:1.25rem}.top-\[7px\]{top:7px}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.m-0{margin:0}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-\[6px\]{margin-left:6px;margin-right:6px}.mx-\[7px\]{margin-left:7px;margin-right:7px}.my-2{margin-bottom:.5rem;margin-top:.5rem}.-mb-px{margin-bottom:-1px}.-mt-1{margin-top:-.25rem}.-mt-2{margin-top:-.5rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-3\.5{margin-bottom:.875rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-3{margin-right:.75rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.h-\[1\.125rem\]{height:1.125rem}.h-\[1\.15rem\]{height:1.15rem}.h-auto{height:auto}.w-2\/5{width:40%}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-\[calc\(40\%-1\.05rem\)\]{width:calc(40% - 1.05rem)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.flex-none{flex:none}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-12{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-12{--tw-translate-y:-3rem}.-translate-y-6{--tw-translate-y:-1.5rem}.-translate-y-6,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.rotate-90{--tw-rotate:90deg}.rotate-90,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.75rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-inherit>:not([hidden])~:not([hidden]){border-color:inherit}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-xl{border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tl-xl{border-top-left-radius:.75rem}.rounded-tr{border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0}.border-y{border-top-width:1px}.border-b,.border-y{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-amber-500\/20{border-color:rgba(245,158,11,.2)}.border-black\/5{border-color:rgba(0,0,0,.05)}.border-blue-600{--tw-border-opacity:1;border-color:rgba(37,99,235,var(--tw-border-opacity))}.border-current{border-color:currentColor}.border-emerald-500\/20{border-color:rgba(16,185,129,.2)}.border-green-600{--tw-border-opacity:1;border-color:rgba(22,163,74,var(--tw-border-opacity))}.border-orange-600{--tw-border-opacity:1;border-color:rgba(234,88,12,var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgba(254,202,202,var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgba(220,38,38,var(--tw-border-opacity))}.border-sky-500\/20{border-color:rgba(14,165,233,.2)}.border-slate-100{--tw-border-opacity:1;border-color:rgba(241,245,249,var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity:1;border-color:rgba(226,232,240,var(--tw-border-opacity))}.border-slate-200\/5{border-color:rgba(226,232,240,.05)}.border-slate-400{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.border-slate-500\/30{border-color:rgba(100,116,139,.3)}.border-slate-600{--tw-border-opacity:1;border-color:rgba(71,85,105,var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-600{--tw-border-opacity:1;border-color:rgba(202,138,4,var(--tw-border-opacity))}.border-zinc-100{--tw-border-opacity:1;border-color:rgba(244,244,245,var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity:1;border-color:rgba(228,228,231,var(--tw-border-opacity))}.border-zinc-300{--tw-border-opacity:1;border-color:rgba(212,212,216,var(--tw-border-opacity))}.border-zinc-50{--tw-border-opacity:1;border-color:rgba(250,250,250,var(--tw-border-opacity))}.border-zinc-500\/20{border-color:hsla(240,4%,46%,.2)}.border-t-transparent{border-top-color:transparent}.\!bg-zinc-400\/10{background-color:hsla(240,5%,65%,.1)!important}.bg-amber-50\/50{background-color:rgba(255,251,235,.5)}.bg-blue-50{--tw-bg-opacity:1;background-color:rgba(239,246,255,var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity:1;background-color:rgba(37,99,235,var(--tw-bg-opacity))}.bg-codeblock{--tw-bg-opacity:1;background-color:rgba(22,27,34,var(--tw-bg-opacity))}.bg-codeblock-tabs{--tw-bg-opacity:1;background-color:rgba(33,38,45,var(--tw-bg-opacity))}.bg-emerald-50\/50{background-color:rgba(236,253,245,.5)}.bg-green-600{--tw-bg-opacity:1;background-color:rgba(22,163,74,var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgba(238,242,255,var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity:1;background-color:rgba(234,88,12,var(--tw-bg-opacity))}.bg-pink-50{--tw-bg-opacity:1;background-color:rgba(253,242,248,var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity:1;background-color:rgba(243,232,255,var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgba(254,226,226,var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity:1;background-color:rgba(220,38,38,var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity:1;background-color:rgba(240,249,255,var(--tw-bg-opacity))}.bg-sky-50\/50{background-color:rgba(240,249,255,.5)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgba(248,250,252,var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity:1;background-color:rgba(71,85,105,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity:1;background-color:rgba(202,138,4,var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity:1;background-color:rgba(250,250,250,var(--tw-bg-opacity))}.bg-zinc-50\/50{background-color:hsla(0,0%,98%,.5)}.fill-red-600{fill:#dc2626}.fill-slate-400{fill:#94a3b8}.fill-slate-500{fill:#64748b}.fill-slate-800{fill:#1e293b}.fill-white{fill:#fff}.stroke-slate-700{stroke:#334155}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-bottom:0;padding-top:0}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-px{padding-bottom:1px;padding-top:1px}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-7{padding-bottom:1.75rem}.pb-\[1px\]{padding-bottom:1px}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-3\.5{padding-top:.875rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-\[0\.84rem\]{font-size:.84rem}.text-\[0\.95rem\]{font-size:.95rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-tight{line-height:1.25}.text-amber-400{--tw-text-opacity:1;color:rgba(251,191,36,var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity:1;color:rgba(120,53,15,var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity:1;color:rgba(147,197,253,var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity:1;color:rgba(5,150,105,var(--tw-text-opacity))}.text-emerald-900{--tw-text-opacity:1;color:rgba(6,78,59,var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgba(22,163,74,var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity:1;color:rgba(165,180,252,var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity:1;color:rgba(79,70,229,var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity:1;color:rgba(234,88,12,var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity:1;color:rgba(249,168,212,var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity:1;color:rgba(219,39,119,var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity:1;color:rgba(190,24,93,var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity:1;color:rgba(168,85,247,var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity:1;color:rgba(147,51,234,var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgba(220,38,38,var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity:1;color:rgba(125,211,252,var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity:1;color:rgba(14,165,233,var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity:1;color:rgba(2,132,199,var(--tw-text-opacity))}.text-sky-900{--tw-text-opacity:1;color:rgba(12,74,110,var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity:1;color:rgba(203,213,225,var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity:1;color:rgba(248,250,252,var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity:1;color:rgba(71,85,105,var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity:1;color:rgba(30,41,59,var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgba(15,23,42,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgba(202,138,4,var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity:1;color:rgba(161,161,170,var(--tw-text-opacity))}.text-zinc-900{--tw-text-opacity:1;color:rgba(24,24,27,var(--tw-text-opacity))}.underline{text-decoration-line:underline}.decoration-zinc-400{text-decoration-color:#a1a1aa}.decoration-dotted{text-decoration-style:dotted}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.ring-transparent{--tw-ring-color:transparent}.filter{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)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-75{transition-duration:75ms}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.bg-grid-slate-100{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%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")}.\[mask-image\:linear-gradient\(0deg\2c \#fff\2c rgba\(255\2c 255\2c 255\2c 0\.6\)\)\]{-webkit-mask-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.6));mask-image:linear-gradient(0deg,#fff,hsla(0,0%,100%,.6))}select{-moz-appearance:none;-webkit-appearance:none;appearance:none}.dark .dark\:prose-dark{color:#94a3b8}.dark .dark\:prose-dark :where(h1,h2,h3,h4,thead th):not(:where([class~=not-prose] *)){color:#e2e8f0}.dark .dark\:prose-dark :where(h1 small,h2 small,h3 small,h4 small):not(:where([class~=not-prose] *)){color:#94a3b8}.dark .dark\:prose-dark :where(kbd):not(:where([class~=not-prose] *)){background:#334155;border-color:#475569;color:#e2e8f0}.dark .dark\:prose-dark :where(code):not(:where([class~=not-prose] *)){color:#e2e8f0}.dark .dark\:prose-dark :where(hr):not(:where([class~=not-prose] *)){border-color:#e2e8f0;opacity:.05}.dark .dark\:prose-dark :where(pre):not(:where([class~=not-prose] *)){box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.1)}.dark .dark\:prose-dark :where(a):not(:where([class~=not-prose] *)){color:#fff}.dark .dark\:prose-dark :where(strong):not(:where([class~=not-prose] *)){color:#e2e8f0}.dark .dark\:prose-dark :where(thead):not(:where([class~=not-prose] *)){border-bottom-color:rgba(148,163,184,.2);color:#cbd5e1}.dark .dark\:prose-dark :where(tbody tr):not(:where([class~=not-prose] *)){border-bottom-color:rgba(148,163,184,.1)}.hover\:border-red-800:hover{--tw-border-opacity:1;border-color:rgba(153,27,27,var(--tw-border-opacity))}.hover\:border-slate-300:hover{--tw-border-opacity:1;border-color:rgba(203,213,225,var(--tw-border-opacity))}.hover\:border-slate-400:hover{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgba(219,234,254,var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity:1;background-color:rgba(30,64,175,var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity:1;background-color:rgba(22,101,52,var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity:1;background-color:rgba(199,210,254,var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity:1;background-color:rgba(154,52,18,var(--tw-bg-opacity))}.hover\:bg-pink-100:hover{--tw-bg-opacity:1;background-color:rgba(252,231,243,var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity:1;background-color:rgba(233,213,255,var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity:1;background-color:rgba(153,27,27,var(--tw-bg-opacity))}.hover\:bg-sky-100:hover{--tw-bg-opacity:1;background-color:rgba(224,242,254,var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgba(241,245,249,var(--tw-bg-opacity))}.hover\:bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgba(226,232,240,var(--tw-bg-opacity))}.hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgba(248,250,252,var(--tw-bg-opacity))}.hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgba(30,41,59,var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity:1;background-color:rgba(133,77,14,var(--tw-bg-opacity))}.hover\:bg-zinc-400\/20:hover{background-color:hsla(240,5%,65%,.2)}.hover\:fill-red-800:hover{fill:#991b1b}.hover\:fill-slate-300:hover{fill:#cbd5e1}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgba(29,78,216,var(--tw-text-opacity))}.hover\:text-indigo-700:hover{--tw-text-opacity:1;color:rgba(67,56,202,var(--tw-text-opacity))}.hover\:text-pink-700:hover{--tw-text-opacity:1;color:rgba(190,24,93,var(--tw-text-opacity))}.hover\:text-purple-700:hover{--tw-text-opacity:1;color:rgba(126,34,206,var(--tw-text-opacity))}.hover\:text-sky-700:hover{--tw-text-opacity:1;color:rgba(3,105,161,var(--tw-text-opacity))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgba(51,65,85,var(--tw-text-opacity))}.hover\:text-slate-900:hover{--tw-text-opacity:1;color:rgba(15,23,42,var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.focus\:ring-blue-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(37,99,235,var(--tw-ring-opacity))}.focus\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(99,102,241,var(--tw-ring-opacity))}.focus\:ring-pink-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(219,39,119,var(--tw-ring-opacity))}.focus\:ring-purple-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(168,85,247,var(--tw-ring-opacity))}.focus\:ring-sky-600:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(2,132,199,var(--tw-ring-opacity))}.focus\:ring-slate-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(100,116,139,var(--tw-ring-opacity))}.disabled\:bg-blue-700:disabled{--tw-bg-opacity:1;background-color:rgba(29,78,216,var(--tw-bg-opacity))}.disabled\:bg-green-700:disabled{--tw-bg-opacity:1;background-color:rgba(21,128,61,var(--tw-bg-opacity))}.disabled\:bg-orange-700:disabled{--tw-bg-opacity:1;background-color:rgba(194,65,12,var(--tw-bg-opacity))}.disabled\:bg-red-700:disabled{--tw-bg-opacity:1;background-color:rgba(185,28,28,var(--tw-bg-opacity))}.disabled\:bg-slate-700:disabled{--tw-bg-opacity:1;background-color:rgba(51,65,85,var(--tw-bg-opacity))}.disabled\:bg-yellow-700:disabled{--tw-bg-opacity:1;background-color:rgba(161,98,7,var(--tw-bg-opacity))}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:flex{display:flex}.group:hover .group-hover\:fill-slate-700{fill:#334155}.group:hover .group-hover\:text-blue-400{--tw-text-opacity:1;color:rgba(96,165,250,var(--tw-text-opacity))}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity:1;color:rgba(129,140,248,var(--tw-text-opacity))}.group:hover .group-hover\:text-pink-400{--tw-text-opacity:1;color:rgba(244,114,182,var(--tw-text-opacity))}.group:hover .group-hover\:text-purple-600{--tw-text-opacity:1;color:rgba(147,51,234,var(--tw-text-opacity))}.group:hover .group-hover\:text-sky-400{--tw-text-opacity:1;color:rgba(56,189,248,var(--tw-text-opacity))}.group:hover .group-hover\:text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}:where(.children\:\!my-0)>:where(:not(.not-children)){margin-bottom:0!important;margin-top:0!important}:where(.children\:\!bg-transparent)>:where(:not(.not-children)){background-color:transparent!important}:where(.children\:\!shadow-none)>:where(:not(.not-children)){--tw-shadow:0 0 transparent!important;--tw-shadow-colored:0 0 transparent!important;box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)!important}.dark .dark\:border-amber-500\/30{border-color:rgba(245,158,11,.3)}.dark .dark\:border-blue-500{--tw-border-opacity:1;border-color:rgba(59,130,246,var(--tw-border-opacity))}.dark .dark\:border-emerald-500\/30{border-color:rgba(16,185,129,.3)}.dark .dark\:border-green-500{--tw-border-opacity:1;border-color:rgba(34,197,94,var(--tw-border-opacity))}.dark .dark\:border-orange-500{--tw-border-opacity:1;border-color:rgba(249,115,22,var(--tw-border-opacity))}.dark .dark\:border-red-500{--tw-border-opacity:1;border-color:rgba(239,68,68,var(--tw-border-opacity))}.dark .dark\:border-red-600{--tw-border-opacity:1;border-color:rgba(220,38,38,var(--tw-border-opacity))}.dark .dark\:border-sky-500\/30{border-color:rgba(14,165,233,.3)}.dark .dark\:border-slate-400{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.dark .dark\:border-slate-500{--tw-border-opacity:1;border-color:rgba(100,116,139,var(--tw-border-opacity))}.dark .dark\:border-slate-600{--tw-border-opacity:1;border-color:rgba(71,85,105,var(--tw-border-opacity))}.dark .dark\:border-slate-700{--tw-border-opacity:1;border-color:rgba(51,65,85,var(--tw-border-opacity))}.dark .dark\:border-white\/5{border-color:hsla(0,0%,100%,.05)}.dark .dark\:border-yellow-500{--tw-border-opacity:1;border-color:rgba(234,179,8,var(--tw-border-opacity))}.dark .dark\:border-zinc-200\/10{border-color:hsla(240,6%,90%,.1)}.dark .dark\:border-zinc-500\/30{border-color:hsla(240,4%,46%,.3)}.dark .dark\:border-zinc-800{--tw-border-opacity:1;border-color:rgba(39,39,42,var(--tw-border-opacity))}.dark .dark\:bg-amber-500\/10{background-color:rgba(245,158,11,.1)}.dark .dark\:bg-codeblock{--tw-bg-opacity:1;background-color:rgba(22,27,34,var(--tw-bg-opacity))}.dark .dark\:bg-dark-input{--tw-bg-opacity:1;background-color:rgba(48,54,61,var(--tw-bg-opacity))}.dark .dark\:bg-emerald-500\/10{background-color:rgba(16,185,129,.1)}.dark .dark\:bg-sky-500{--tw-bg-opacity:1;background-color:rgba(14,165,233,var(--tw-bg-opacity))}.dark .dark\:bg-sky-500\/10{background-color:rgba(14,165,233,.1)}.dark .dark\:bg-slate-700{--tw-bg-opacity:1;background-color:rgba(51,65,85,var(--tw-bg-opacity))}.dark .dark\:bg-slate-800\/25{background-color:rgba(30,41,59,.25)}.dark .dark\:bg-zinc-500\/10{background-color:hsla(240,4%,46%,.1)}.dark .dark\:bg-zinc-600\/30{background-color:rgba(82,82,91,.3)}.dark .dark\:bg-zinc-800{--tw-bg-opacity:1;background-color:rgba(39,39,42,var(--tw-bg-opacity))}.dark .dark\:bg-zinc-900{--tw-bg-opacity:1;background-color:rgba(24,24,27,var(--tw-bg-opacity))}.dark .dark\:fill-red-400{fill:#f87171}.dark .dark\:fill-slate-100{fill:#f1f5f9}.dark .dark\:fill-slate-300{fill:#cbd5e1}.dark .dark\:fill-slate-400{fill:#94a3b8}.dark .dark\:stroke-slate-100{stroke:#f1f5f9}.dark .dark\:text-amber-200{--tw-text-opacity:1;color:rgba(253,230,138,var(--tw-text-opacity))}.dark .dark\:text-amber-300\/80{color:rgba(252,211,77,.8)}.dark .dark\:text-blue-500{--tw-text-opacity:1;color:rgba(59,130,246,var(--tw-text-opacity))}.dark .dark\:text-emerald-200{--tw-text-opacity:1;color:rgba(167,243,208,var(--tw-text-opacity))}.dark .dark\:text-emerald-400\/80{color:rgba(52,211,153,.8)}.dark .dark\:text-green-400\/80{color:rgba(74,222,128,.8)}.dark .dark\:text-green-500{--tw-text-opacity:1;color:rgba(34,197,94,var(--tw-text-opacity))}.dark .dark\:text-orange-500{--tw-text-opacity:1;color:rgba(249,115,22,var(--tw-text-opacity))}.dark .dark\:text-pink-300{--tw-text-opacity:1;color:rgba(249,168,212,var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgba(248,113,113,var(--tw-text-opacity))}.dark .dark\:text-red-500{--tw-text-opacity:1;color:rgba(239,68,68,var(--tw-text-opacity))}.dark .dark\:text-sky-200{--tw-text-opacity:1;color:rgba(186,230,253,var(--tw-text-opacity))}.dark .dark\:text-sky-300{--tw-text-opacity:1;color:rgba(125,211,252,var(--tw-text-opacity))}.dark .dark\:text-sky-50{--tw-text-opacity:1;color:rgba(240,249,255,var(--tw-text-opacity))}.dark .dark\:text-slate-100{--tw-text-opacity:1;color:rgba(241,245,249,var(--tw-text-opacity))}.dark .dark\:text-slate-200{--tw-text-opacity:1;color:rgba(226,232,240,var(--tw-text-opacity))}.dark .dark\:text-slate-300{--tw-text-opacity:1;color:rgba(203,213,225,var(--tw-text-opacity))}.dark .dark\:text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}.dark .dark\:text-slate-500{--tw-text-opacity:1;color:rgba(100,116,139,var(--tw-text-opacity))}.dark .dark\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.dark .dark\:text-yellow-500{--tw-text-opacity:1;color:rgba(234,179,8,var(--tw-text-opacity))}.dark .dark\:text-zinc-200{--tw-text-opacity:1;color:rgba(228,228,231,var(--tw-text-opacity))}.dark .dark\:text-zinc-300{--tw-text-opacity:1;color:rgba(212,212,216,var(--tw-text-opacity))}.dark .dark\:decoration-zinc-500{text-decoration-color:#71717a}.dark .dark\:brightness-\[1\.35\]{--tw-brightness:brightness(1.35);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)}.dark .dark\:bg-grid-slate-700\/25{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%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")}.dark .dark\:\[mask-image\:linear-gradient\(0deg\2c rgba\(255\2c 255\2c 255\2c 0\.1\)\2c rgba\(255\2c 255\2c 255\2c 0\.5\)\)\]{-webkit-mask-image:linear-gradient(0deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,.5));mask-image:linear-gradient(0deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,.5))}.dark .dark\:hover\:border-red-400:hover{--tw-border-opacity:1;border-color:rgba(248,113,113,var(--tw-border-opacity))}.dark .dark\:hover\:border-slate-400:hover{--tw-border-opacity:1;border-color:rgba(148,163,184,var(--tw-border-opacity))}.dark .dark\:hover\:border-slate-500:hover{--tw-border-opacity:1;border-color:rgba(100,116,139,var(--tw-border-opacity))}.dark .dark\:hover\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgba(51,65,85,var(--tw-border-opacity))}.dark .dark\:hover\:bg-sky-400:hover{--tw-bg-opacity:1;background-color:rgba(56,189,248,var(--tw-bg-opacity))}.dark .dark\:hover\:bg-slate-600:hover{--tw-bg-opacity:1;background-color:rgba(71,85,105,var(--tw-bg-opacity))}.dark .dark\:hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgba(30,41,59,var(--tw-bg-opacity))}.dark .dark\:hover\:bg-zinc-800:hover{--tw-bg-opacity:1;background-color:rgba(39,39,42,var(--tw-bg-opacity))}.dark .hover\:dark\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgba(30,41,59,var(--tw-bg-opacity))}.dark .dark\:hover\:fill-red-200:hover{fill:#fecaca}.dark .dark\:hover\:text-slate-200:hover{--tw-text-opacity:1;color:rgba(226,232,240,var(--tw-text-opacity))}.dark .dark\:hover\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.dark .dark\:focus\:ring-sky-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(186,230,253,var(--tw-ring-opacity))}.dark .dark\:focus\:ring-slate-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgba(100,116,139,var(--tw-ring-opacity))}.dark .group:hover .dark\:group-hover\:fill-slate-200{fill:#e2e8f0}.dark .group:hover .dark\:group-hover\:text-sky-100{--tw-text-opacity:1;color:rgba(224,242,254,var(--tw-text-opacity))}.dark .group:hover .dark\:group-hover\:text-slate-400{--tw-text-opacity:1;color:rgba(148,163,184,var(--tw-text-opacity))}@media (min-width:640px){.sm\:block{display:block}.sm\:w-1\/3{width:33.333333%}.sm\:w-\[calc\(33\%-1\.05rem\)\]{width:calc(33% - 1.05rem)}.sm\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:768px){.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1024px){.lg\:whitespace-nowrap{white-space:nowrap}}.\[\&\>div\>button\]\:rounded-none>div>button{border-radius:0}.\[\&\>div\]\:mb-0>div{margin-bottom:0}.\[\&\>div\]\:ml-2>div{margin-left:.5rem}.\[\&\>div\]\:rounded-none>div{border-radius:0}.\[\&\>div\]\:border-0>div{border-width:0}
@@ -0,0 +1 @@
1
+ export declare const delay: (ms: number) => Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/components",
3
- "version": "0.3.11",
3
+ "version": "0.3.13",
4
4
  "description": "Open-source library of UI components made with React and TailwindCSS.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,15 +18,18 @@
18
18
  "build": "webpack",
19
19
  "format": "prettier \"**/*.{css,js,ts,tsx,md}\" --write",
20
20
  "format:check": "prettier \"**/*.{css,js,ts,tsx,md}\" --check",
21
- "prepare": "npm run build",
21
+ "prepare": "husky install && yarn build",
22
22
  "storybook": "start-storybook -p 6006",
23
- "build-storybook": "build-storybook"
23
+ "build-storybook": "build-storybook",
24
+ "test-storybook": "test-storybook",
25
+ "lint": "eslint src --cache"
24
26
  },
25
27
  "author": "Mintlify",
26
28
  "bugs": {
27
29
  "url": "https://github.com/mintlify/components/issues"
28
30
  },
29
31
  "peerDependencies": {
32
+ "@headlessui/react": "^1.7",
30
33
  "react": "^17.0.0 || ^18.0.0",
31
34
  "react-dom": "^17.0.0 || ^18.0.0"
32
35
  },
@@ -35,6 +38,9 @@
35
38
  "@babel/preset-env": "^7.20.2",
36
39
  "@babel/preset-react": "^7.18.6",
37
40
  "@babel/preset-typescript": "^7.18.6",
41
+ "@headlessui/react": "^1.7.11",
42
+ "@mintlify/eslint-config": "^1.0.3",
43
+ "@mintlify/eslint-config-typescript": "^1.0.7",
38
44
  "@mintlify/prettier-config": "1.0.2",
39
45
  "@storybook/addon-actions": "^6.5.13",
40
46
  "@storybook/addon-essentials": "^6.5.13",
@@ -42,19 +48,31 @@
42
48
  "@storybook/addon-links": "^6.5.13",
43
49
  "@storybook/addon-postcss": "^2.0.0",
44
50
  "@storybook/builder-webpack5": "^6.5.13",
51
+ "@storybook/jest": "^0.0.10",
45
52
  "@storybook/manager-webpack5": "^6.5.13",
46
53
  "@storybook/react": "^6.5.13",
54
+ "@storybook/test-runner": "^0.9.4",
47
55
  "@storybook/testing-library": "^0.0.13",
48
56
  "@tailwindcss/typography": "^0.5.7",
49
57
  "@trivago/prettier-plugin-sort-imports": "3.x",
50
58
  "@types/lodash.set": "^4.3.7",
51
59
  "@types/react": "^18.0.21",
60
+ "@types/uuid": "^9.0.0",
61
+ "@typescript-eslint/eslint-plugin": "^5.52.0",
62
+ "@typescript-eslint/parser": "^5.52.0",
52
63
  "autoprefixer": "^10.4.8",
53
64
  "babel-loader": "^8.3.0",
54
65
  "chromatic": "^6.9.0",
55
66
  "css-loader": "^6.7.2",
56
67
  "cssnano": "^5.1.14",
68
+ "eslint": "^8.34.0",
69
+ "eslint-config-prettier": "^8.6.0",
70
+ "eslint-plugin-react": "^7.32.2",
71
+ "eslint-plugin-react-hooks": "^4.6.0",
72
+ "eslint-plugin-unused-imports": "^2.0.0",
57
73
  "glob-parent": "^6.0.2",
74
+ "husky": "^8.0.3",
75
+ "lint-staged": "^13.1.1",
58
76
  "mini-css-extract-plugin": "^2.6.1",
59
77
  "mini-svg-data-uri": "^1.4.4",
60
78
  "postcss": "^8.4.19",
@@ -72,14 +90,18 @@
72
90
  "trim-newlines": "^4.0.2",
73
91
  "ts-loader": "^9.3.1",
74
92
  "typescript": "^4.9.4",
93
+ "uuid": "^9.0.0",
75
94
  "webpack": "^5.75.0",
76
95
  "webpack-cli": "^4.10.0"
77
96
  },
78
97
  "dependencies": {
79
- "@headlessui/react": "^1.7.10",
80
98
  "assert": "^2.0.0",
81
- "clsx": "^1.1.1",
99
+ "clsx": "^1.2.1",
82
100
  "is-absolute-url": "^4.0.1",
83
101
  "lodash.set": "^4.3.2"
102
+ },
103
+ "lint-staged": {
104
+ "*.+(ts|tsx)": "eslint --cache --fix --max-warnings 0",
105
+ "*.{css,js,ts,tsx,md}": "prettier --write"
84
106
  }
85
107
  }