diff --git a/flask-openapi3-scalar/flask_openapi3_scalar/__version__.py b/flask-openapi3-scalar/flask_openapi3_scalar/__version__.py
index 739f7dc..7e53751 100644
--- a/flask-openapi3-scalar/flask_openapi3_scalar/__version__.py
+++ b/flask-openapi3-scalar/flask_openapi3_scalar/__version__.py
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
-__version__ = "1.24.29"
+__version__ = "1.24.30"
diff --git a/flask-openapi3-scalar/flask_openapi3_scalar/templates/scalar/js/scalar.standalone.js b/flask-openapi3-scalar/flask_openapi3_scalar/templates/scalar/js/scalar.standalone.js
index 907d17f..3ba3e78 100644
--- a/flask-openapi3-scalar/flask_openapi3_scalar/templates/scalar/js/scalar.standalone.js
+++ b/flask-openapi3-scalar/flask_openapi3_scalar/templates/scalar/js/scalar.standalone.js
@@ -1,10 +1,10 @@
/**
* Minified by jsDelivr using Terser v5.19.2.
- * Original file: /npm/@scalar/api-reference@1.24.29/dist/browser/standalone.js
+ * Original file: /npm/@scalar/api-reference@1.24.30/dist/browser/standalone.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
-!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.workspace-avatar{align-items:center;background:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:8px;display:flex;justify-content:center;transition:border .2s;min-height:37px;height:37px;width:100%}.dark-mode .workspace-avatar{--gradient-color-1: color-mix( in srgb, var(--scalar-brand) 30%, var(--scalar-background-1) );--gradient-color-2: color-mix( in srgb, var(--scalar-brand) 20%, var(--scalar-background-1) )}.workspace-avatar:hover{border:1px solid #00000033}.workspace-avatar-image{top:0;right:0;bottom:0;left:0;position:absolute;aspect-ratio:1 / 1;background-size:cover;background-position:center;z-index:1}.shine-effect{overflow:hidden;position:relative}.shine-effect:before{background-color:#fff3;content:"";filter:blur(2px);height:150%;left:-100%;position:absolute;transform:rotate(30deg);width:16px}.dark-mode .shine-effect:before{background-color:#0003;content:"";filter:blur(2px);height:150%;left:-100%;position:absolute;transform:rotate(30deg);width:16px}.shine-effect:hover:before{left:100%;transition:left 1s ease}.nav-item[data-v-0c586cfe]{padding:0 1rem;cursor:pointer;flex:1;justify-content:center;align-items:center;display:flex;border-radius:var(--scalar-radius);background:var(--scalar-background-2);border:1px solid var(--scalar-background-2);color:var(--scalar-color-3);padding:4.5px;min-width:0;overflow:hidden;position:relative}.nav-item-icon-copy[data-v-0c586cfe]{max-width:100%;white-space:nowrap;overflow:hidden;-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px)}.nav-item:hover .nav-item-icon-copy[data-v-0c586cfe]{-webkit-mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2) 40px);mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2) 40px)}.nav-item-copy[data-v-0c586cfe]{max-width:calc(100% - 20px)}.nav-item[data-v-0c586cfe]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-0c586cfe]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.nav-item-close[data-v-0c586cfe]{position:absolute;right:3px;padding:5px;border-radius:var(--scalar-radius);background:transparent;max-width:20px;stroke-width:1.5px;color:var(--scalar-color-3);margin-left:-20px;opacity:0}.nav-item:hover .nav-item-close[data-v-0c586cfe]{opacity:1}.nav-item-close[data-v-0c586cfe]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-0c586cfe]:hover{background-color:var(--scalar-background-2)}.t-app__top-nav[data-v-644455b8]{padding-left:53px;padding-right:9px}@layer scalar-base,scalar-theme;@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}@layer scalar-base{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color)}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-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,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}#scalar-client{display:flex;flex-direction:column;height:100vh;width:100vw;background:var(--scalar-background-1)}@layer scalar-base,scalar-theme;@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}@layer scalar-base{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color)}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-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,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-client{line-height:1.5;color:var(--scalar-color-1)}.scalar-client .row{display:flex;flex-direction:row}.scalar-client .row-1{display:flex;flex-direction:row;flex:1 1 0%}.scalar-client .col{display:flex;flex-direction:column}.scalar-client .col-1{display:flex;flex-direction:column;flex:1 1 0%}.scalar-client .flex-center{display:flex;justify-content:center;align-items:center}.scalar-client .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered-y{top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.scalar-client .pointer-events-none{pointer-events:none}.scalar-client .visible{visibility:visible}.scalar-client .static{position:static}.scalar-client .fixed{position:fixed}.scalar-client .absolute{position:absolute}.scalar-client .relative{position:relative}.scalar-client .sticky{position:sticky}.scalar-client .inset-0{top:0;right:0;bottom:0;left:0}.scalar-client .bottom-\\[50px\\]{bottom:50px}.scalar-client .left-0{left:0}.scalar-client .left-2{left:8px}.scalar-client .right-1{right:4px}.scalar-client .right-2{right:8px}.scalar-client .right-3{right:12px}.scalar-client .right-4{right:16px}.scalar-client .top-0{top:0}.scalar-client .top-7{top:28px}.scalar-client .top-\\[0\\.5px\\]{top:.5px}.scalar-client .top-\\[33px\\]{top:33px}.scalar-client .z-0{z-index:0}.scalar-client .z-1{z-index:1}.scalar-client .z-10{z-index:10}.scalar-client .z-20{z-index:20}.scalar-client .z-50{z-index:50}.scalar-client .z-\\[1001\\]{z-index:1001}.scalar-client .z-\\[1\\]{z-index:1}.scalar-client .order-last{order:9999}.scalar-client .col-span-full{grid-column:1 / -1}.scalar-client .\\!m-0{margin:0!important}.scalar-client .m-0{margin:0}.scalar-client .m-1{margin:4px}.scalar-client .m-auto{margin:auto}.scalar-client .-my-1{margin-top:-4px;margin-bottom:-4px}.scalar-client .mx-1{margin-left:4px;margin-right:4px}.scalar-client .mx-auto{margin-left:auto;margin-right:auto}.scalar-client .-ml-1{margin-left:-4px}.scalar-client .mb-0{margin-bottom:0}.scalar-client .mb-0\\.5{margin-bottom:2px}.scalar-client .mb-1{margin-bottom:4px}.scalar-client .mb-2{margin-bottom:8px}.scalar-client .mb-2\\.5{margin-bottom:10px}.scalar-client .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-client .ml-1{margin-left:4px}.scalar-client .ml-1\\.5{margin-left:6px}.scalar-client .ml-auto{margin-left:auto}.scalar-client .mr-1{margin-right:4px}.scalar-client .mr-1\\.5{margin-right:6px}.scalar-client .mr-\\[-\\.5px\\]{margin-right:-.5px}.scalar-client .mr-\\[1px\\]{margin-right:1px}.scalar-client .mt-0{margin-top:0}.scalar-client .mt-20{margin-top:80px}.scalar-client .mt-3{margin-top:12px}.scalar-client .mt-3\\.5{margin-top:14px}.scalar-client .mt-\\[3px\\]{margin-top:3px}.scalar-client .mt-auto{margin-top:auto}.scalar-client .mt-px{margin-top:1px}.scalar-client .block{display:block}.scalar-client .inline-block{display:inline-block}.scalar-client .flex{display:flex}.scalar-client .inline-flex{display:inline-flex}.scalar-client .table{display:table}.scalar-client .grid{display:grid}.scalar-client .contents{display:contents}.scalar-client .hidden{display:none}.scalar-client .aspect-video{aspect-ratio:16 / 9}.scalar-client .size-2{width:8px;height:8px}.scalar-client .size-2\\.5{width:10px;height:10px}.scalar-client .size-4{width:16px;height:16px}.scalar-client .h-10{height:40px}.scalar-client .h-2{height:8px}.scalar-client .h-2\\.5{height:10px}.scalar-client .h-24{height:96px}.scalar-client .h-4{height:16px}.scalar-client .h-5{height:20px}.scalar-client .h-6{height:24px}.scalar-client .h-7{height:28px}.scalar-client .h-8{height:32px}.scalar-client .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-client .h-auto{height:auto}.scalar-client .h-fit{height:-moz-fit-content;height:fit-content}.scalar-client .h-full{height:100%}.scalar-client .h-screen{height:100vh}.scalar-client .max-h-40{max-height:160px}.scalar-client .max-h-\\[300px\\]{max-height:300px}.scalar-client .min-h-0{min-height:0px}.scalar-client .min-h-10{min-height:40px}.scalar-client .min-h-12{min-height:48px}.scalar-client .min-h-14{min-height:56px}.scalar-client .min-h-8{min-height:32px}.scalar-client .w-2{width:8px}.scalar-client .w-2\\.5{width:10px}.scalar-client .w-20{width:80px}.scalar-client .w-4{width:16px}.scalar-client .w-40{width:160px}.scalar-client .w-5{width:20px}.scalar-client .w-6{width:24px}.scalar-client .w-6\\/12{width:50%}.scalar-client .w-60{width:240px}.scalar-client .w-80{width:320px}.scalar-client .w-\\[15px\\]{width:15px}.scalar-client .w-\\[37px\\]{width:37px}.scalar-client .w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-client .w-auto{width:auto}.scalar-client .w-fit{width:-moz-fit-content;width:fit-content}.scalar-client .w-full{width:100%}.scalar-client .w-max{width:-moz-max-content;width:max-content}.scalar-client .w-screen{width:100vw}.scalar-client .w-sidebar{width:var(--scalar-sidebar-width)}.scalar-client .min-w-0{min-width:0px}.scalar-client .min-w-2{min-width:8px}.scalar-client .min-w-2\\.5{min-width:10px}.scalar-client .min-w-8{min-width:32px}.scalar-client .min-w-\\[100px\\]{min-width:100px}.scalar-client .min-w-\\[44px\\]{min-width:44px}.scalar-client .min-w-full{min-width:100%}.scalar-client .max-w-\\[100\\%\\]{max-width:100%}.scalar-client .max-w-\\[480px\\]{max-width:480px}.scalar-client .flex-1{flex:1 1 0%}.scalar-client .shrink-0{flex-shrink:0}.scalar-client .basis-1\\/2{flex-basis:50%}.scalar-client .-translate-x-full{--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .translate-y-\\[24px\\]{--tw-translate-y:24px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .-rotate-90{--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .scale-\\[0\\.98\\]{--tw-scale-x:.98;--tw-scale-y:.98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .cursor-auto{cursor:auto}.scalar-client .cursor-help{cursor:help}.scalar-client .cursor-pointer{cursor:pointer}.scalar-client .resize{resize:both}.scalar-client .auto-rows-auto{grid-auto-rows:auto}.scalar-client .flex-row{flex-direction:row}.scalar-client .flex-col{flex-direction:column}.scalar-client .flex-wrap{flex-wrap:wrap}.scalar-client .items-start{align-items:flex-start}.scalar-client .items-end{align-items:flex-end}.scalar-client .items-center{align-items:center}.scalar-client .items-stretch{align-items:stretch}.scalar-client .justify-start{justify-content:flex-start}.scalar-client .justify-end{justify-content:flex-end}.scalar-client .justify-center{justify-content:center}.scalar-client .justify-between{justify-content:space-between}.scalar-client .\\!gap-1{gap:4px!important}.scalar-client .\\!gap-1\\.5{gap:6px!important}.scalar-client .\\!gap-2{gap:8px!important}.scalar-client .gap-0{gap:0px}.scalar-client .gap-1{gap:4px}.scalar-client .gap-1\\.5{gap:6px}.scalar-client .gap-2{gap:8px}.scalar-client .gap-2\\.5{gap:10px}.scalar-client .gap-3{gap:12px}.scalar-client .gap-6{gap:24px}.scalar-client .gap-\\[\\.5px\\]{gap:.5px}.scalar-client .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.scalar-client .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}.scalar-client .self-center{align-self:center}.scalar-client .justify-self-end{justify-self:end}.scalar-client .overflow-hidden{overflow:hidden}.scalar-client .overflow-visible{overflow:visible}.scalar-client .overflow-x-auto{overflow-x:auto}.scalar-client .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scalar-client .text-ellipsis{text-overflow:ellipsis}.scalar-client .whitespace-nowrap{white-space:nowrap}.scalar-client .whitespace-pre{white-space:pre}.scalar-client .rounded{border-radius:var(--scalar-radius)}.scalar-client .rounded-full{border-radius:9999px}.scalar-client .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .rounded-md{border-radius:var(--scalar-radius)}.scalar-client .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-client .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-client .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-client .border{border-width:var(--scalar-border-width)}.scalar-client .border-0{border-width:0}.scalar-client .border-1\\/2{border-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-b{border-bottom-width:var(--scalar-border-width)}.scalar-client .border-b-0{border-bottom-width:0}.scalar-client .border-b-1\\/2{border-bottom-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-l-0{border-left-width:0}.scalar-client .border-r{border-right-width:var(--scalar-border-width)}.scalar-client .border-r-0{border-right-width:0}.scalar-client .border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-t{border-top-width:var(--scalar-border-width)}.scalar-client .border-t-0{border-top-width:0}.scalar-client .border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-solid{border-style:solid}.scalar-client .border-dashed{border-style:dashed}.scalar-client .border-none{border-style:none}.scalar-client .border-b-3{border-color:var(--scalar-background-3)}.scalar-client .border-transparent{border-color:transparent}.scalar-client .border-r-transparent{border-right-color:transparent}.scalar-client .bg-b-1{background-color:var(--scalar-background-1)}.scalar-client .bg-b-2{background-color:var(--scalar-background-2)}.scalar-client .bg-backdrop{background-color:#00000038}.scalar-client .bg-blue{background-color:var(--scalar-color-blue)}.scalar-client .bg-c-2{background-color:var(--scalar-color-2)}.scalar-client .bg-green{background-color:var(--scalar-color-green)}.scalar-client .bg-grey{background-color:var(--scalar-color-3)}.scalar-client .bg-orange{background-color:var(--scalar-color-orange)}.scalar-client .bg-pink{background-color:var(--scalar-color-pink)}.scalar-client .bg-purple{background-color:var(--scalar-color-purple)}.scalar-client .bg-red{background-color:var(--scalar-color-red)}.scalar-client .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{background-color:var(--scalar-color-yellow)}.scalar-client .stroke-2{stroke-width:2}.scalar-client .stroke-\\[0\\.75\\]{stroke-width:.75}.scalar-client .stroke-\\[1\\.2\\]{stroke-width:1.2}.scalar-client .stroke-\\[1\\.5\\]{stroke-width:1.5}.scalar-client .stroke-\\[1\\.75\\]{stroke-width:1.75}.scalar-client .stroke-\\[1\\]{stroke-width:1}.scalar-client .stroke-\\[2\\.5\\]{stroke-width:2.5}.scalar-client .p-0{padding:0}.scalar-client .p-0\\.5{padding:2px}.scalar-client .p-1{padding:4px}.scalar-client .p-1\\.5{padding:6px}.scalar-client .p-2{padding:8px}.scalar-client .p-2\\.5{padding:10px}.scalar-client .p-4{padding:16px}.scalar-client .p-\\[0\\.5px\\]{padding:.5px}.scalar-client .p-\\[2\\.25px\\]{padding:2.25px}.scalar-client .p-\\[20px\\]{padding:20px}.scalar-client .p-\\[3px\\]{padding:3px}.scalar-client .p-\\[7px\\]{padding:7px}.scalar-client .p-px{padding:1px}.scalar-client .px-0{padding-left:0;padding-right:0}.scalar-client .px-1{padding-left:4px;padding-right:4px}.scalar-client .px-1\\.5{padding-left:6px;padding-right:6px}.scalar-client .px-2{padding-left:8px;padding-right:8px}.scalar-client .px-2\\.5{padding-left:10px;padding-right:10px}.scalar-client .px-3{padding-left:12px;padding-right:12px}.scalar-client .px-4{padding-left:16px;padding-right:16px}.scalar-client .px-5{padding-left:20px;padding-right:20px}.scalar-client .px-\\[0px\\]{padding-left:0;padding-right:0}.scalar-client .px-\\[2\\.25px\\]{padding-left:2.25px;padding-right:2.25px}.scalar-client .px-\\[9px\\]{padding-left:9px;padding-right:9px}.scalar-client .py-0{padding-top:0;padding-bottom:0}.scalar-client .py-1{padding-top:4px;padding-bottom:4px}.scalar-client .py-1\\.5{padding-top:6px;padding-bottom:6px}.scalar-client .py-2{padding-top:8px;padding-bottom:8px}.scalar-client .py-2\\.5{padding-top:10px;padding-bottom:10px}.scalar-client .py-3{padding-top:12px;padding-bottom:12px}.scalar-client .py-\\[0px\\]{padding-top:0;padding-bottom:0}.scalar-client .py-\\[2\\.25px\\]{padding-top:2.25px;padding-bottom:2.25px}.scalar-client .py-px{padding-top:1px;padding-bottom:1px}.scalar-client .pb-0{padding-bottom:0}.scalar-client .pb-12{padding-bottom:48px}.scalar-client .pl-1{padding-left:4px}.scalar-client .pl-2{padding-left:8px}.scalar-client .pl-3{padding-left:12px}.scalar-client .pl-4{padding-left:16px}.scalar-client .pr-0{padding-right:0}.scalar-client .pr-2{padding-right:8px}.scalar-client .pr-2\\.5{padding-right:10px}.scalar-client .pr-3{padding-right:12px}.scalar-client .pr-\\[26px\\]{padding-right:26px}.scalar-client .pt-0{padding-top:0}.scalar-client .pt-2{padding-top:8px}.scalar-client .pt-2\\.5{padding-top:10px}.scalar-client .pt-3{padding-top:12px}.scalar-client .text-left{text-align:left}.scalar-client .text-center{text-align:center}.scalar-client .text-right{text-align:right}.scalar-client .font-code{font-family:var(--scalar-font-code)}.scalar-client .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-client .text-\\[6px\\]{font-size:6px}.scalar-client .text-base{font-size:var(--scalar-font-size-3)}.scalar-client .text-sm{font-size:var(--scalar-font-size-4)}.scalar-client .text-xs{font-size:var(--scalar-font-size-5)}.scalar-client .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-client .font-bold{font-weight:var(--scalar-bold)}.scalar-client .font-medium{font-weight:var(--scalar-semibold)}.scalar-client .font-normal{font-weight:var(--scalar-regular)}.scalar-client .uppercase{text-transform:uppercase}.scalar-client .capitalize{text-transform:capitalize}.scalar-client .leading-3{line-height:var(--scalar-line-height-3)}.scalar-client .leading-5{line-height:var(--scalar-line-height-5)}.scalar-client .leading-\\[1\\.44\\]{line-height:1.44}.scalar-client .leading-\\[24\\.5px\\]{line-height:24.5px}.scalar-client .leading-\\[7px\\]{line-height:7px}.scalar-client .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-client .text-b-1{color:var(--scalar-background-1)}.scalar-client .text-blue{color:var(--scalar-color-blue)}.scalar-client .text-border{color:var(--scalar-border-color)}.scalar-client .text-c-1{color:var(--scalar-color-1)}.scalar-client .text-c-2{color:var(--scalar-color-2)}.scalar-client .text-c-3{color:var(--scalar-color-3)}.scalar-client .text-green{color:var(--scalar-color-green)}.scalar-client .text-grey{color:var(--scalar-color-3)}.scalar-client .text-orange{color:var(--scalar-color-orange)}.scalar-client .text-purple{color:var(--scalar-color-purple)}.scalar-client .text-red{color:var(--scalar-color-red)}.scalar-client .text-sidebar-active-c{color:var(--scalar-sidebar-color-active, currentColor)}.scalar-client .text-sidebar-c-2{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.scalar-client .text-transparent{color:transparent}.scalar-client .text-yellow{color:var(--scalar-color-yellow)}.scalar-client .underline{text-decoration-line:underline}.scalar-client .decoration-c-3{text-decoration-color:var(--scalar-color-3)}.scalar-client .underline-offset-2{text-underline-offset:2px}.scalar-client .opacity-0{opacity:0}.scalar-client .shadow{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-lg{--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .outline-none{outline:2px solid transparent;outline-offset:2px}.scalar-client .outline{outline-style:solid}.scalar-client .ring-1{--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);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.scalar-client .ring-offset-4{--tw-ring-offset-width:4px}.scalar-client .blur{--tw-blur:blur(8px);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)}.scalar-client .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)}.scalar-client .backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.scalar-client .transition{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);transition-duration:.15s}.scalar-client .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-none{transition-property:none}.scalar-client .duration-150{transition-duration:.15s}.scalar-client .bg-mix-transparent{background-color:color-mix(var(--tw-bg-mix-method, in srgb),transparent calc(var(--tw-bg-mix-amount, 0) * 1%),var(--tw-bg-base))}.scalar-client .bg-mix-amount-30{--tw-bg-mix-amount:30}.scalar-client .bg-mix-amount-90{--tw-bg-mix-amount:90}.scalar-client .bg-mix-amount-95{--tw-bg-mix-amount:95}.scalar-client .bg-b-1{--tw-bg-base:var(--scalar-background-1)}.scalar-client .bg-b-2{--tw-bg-base:var(--scalar-background-2)}.scalar-client .bg-backdrop{--tw-bg-base:rgba(0, 0, 0, .22)}.scalar-client .bg-blue{--tw-bg-base:var(--scalar-color-blue)}.scalar-client .bg-c-2{--tw-bg-base:var(--scalar-color-2)}.scalar-client .bg-green{--tw-bg-base:var(--scalar-color-green)}.scalar-client .bg-grey{--tw-bg-base:var(--scalar-color-3)}.scalar-client .bg-orange{--tw-bg-base:var(--scalar-color-orange)}.scalar-client .bg-pink{--tw-bg-base:var(--scalar-color-pink)}.scalar-client .bg-purple{--tw-bg-base:var(--scalar-color-purple)}.scalar-client .bg-red{--tw-bg-base:var(--scalar-color-red)}.scalar-client .bg-white{--tw-bg-opacity:1;--tw-bg-base:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{--tw-bg-base:var(--scalar-color-yellow)}.scalar-client .after\\:centered-y:after{content:var(--tw-content);top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-client .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-client .before\\:inset-0:before{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.scalar-client .before\\:-bottom-\\[13px\\]:before{content:var(--tw-content);bottom:-13px}.scalar-client .before\\:left-0:before{content:var(--tw-content);left:0}.scalar-client .before\\:left-1\\/2:before{content:var(--tw-content);left:50%}.scalar-client .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-client .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-client .before\\:top-1\\/2:before{content:var(--tw-content);top:50%}.scalar-client .before\\:top-\\[-33px\\]:before{content:var(--tw-content);top:-33px}.scalar-client .before\\:z-0:before{content:var(--tw-content);z-index:0}.scalar-client .before\\:z-10:before{content:var(--tw-content);z-index:10}.scalar-client .before\\:block:before{content:var(--tw-content);display:block}.scalar-client .before\\:aspect-square:before{content:var(--tw-content);aspect-ratio:1 / 1}.scalar-client .before\\:h-\\[calc\\(100\\%\\+33px\\)\\]:before{content:var(--tw-content);height:calc(100% + 33px)}.scalar-client .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-client .before\\:h-full:before{content:var(--tw-content);height:100%}.scalar-client .before\\:h-px:before{content:var(--tw-content);height:1px}.scalar-client .before\\:w-9\\/12:before{content:var(--tw-content);width:75%}.scalar-client .before\\:w-full:before{content:var(--tw-content);width:100%}.scalar-client .before\\:w-px:before{content:var(--tw-content);width:1px}.scalar-client .before\\:-translate-x-1\\/2:before{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:-translate-y-1\\/2:before{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:transform:before{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:rounded:before{content:var(--tw-content);border-radius:var(--scalar-radius)}.scalar-client .before\\:rounded-lg:before{content:var(--tw-content);border-radius:var(--scalar-radius-lg)}.scalar-client .before\\:border:before{content:var(--tw-content);border-width:var(--scalar-border-width)}.scalar-client .before\\:border-\\[1px\\]:before{content:var(--tw-content);border-width:1px}.scalar-client .before\\:bg-b-1:before{content:var(--tw-content);background-color:var(--scalar-background-1)}.scalar-client .before\\:bg-b-3:before{content:var(--tw-content);background-color:var(--scalar-background-3)}.scalar-client .before\\:bg-c-1:before{content:var(--tw-content);background-color:var(--scalar-color-1)}.scalar-client .before\\:bg-sidebar-active-b:before{content:var(--tw-content);background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .before\\:opacity-0:before{content:var(--tw-content);opacity:0}.scalar-client .before\\:shadow-lg:before{content:var(--tw-content);--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .before\\:content-\\[\\\'\\\'\\]:before{--tw-content:"";content:var(--tw-content)}.scalar-client .before\\:bg-b-1:before{content:var(--tw-content);--tw-bg-base:var(--scalar-background-1)}.scalar-client .before\\:bg-b-3:before{content:var(--tw-content);--tw-bg-base:var(--scalar-background-3)}.scalar-client .before\\:bg-c-1:before{content:var(--tw-content);--tw-bg-base:var(--scalar-color-1)}.scalar-client .before\\:bg-sidebar-active-b:before{content:var(--tw-content);--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .after\\:absolute:after{content:var(--tw-content);position:absolute}.scalar-client .after\\:right-0:after{content:var(--tw-content);right:0}.scalar-client .after\\:bg-b-1:after{content:var(--tw-content);background-color:var(--scalar-background-1)}.scalar-client .after\\:pr-2:after{content:var(--tw-content);padding-right:8px}.scalar-client .after\\:pt-px:after{content:var(--tw-content);padding-top:1px}.scalar-client .after\\:text-xxs:after{content:var(--tw-content);font-size:var(--scalar-font-size-6)}.scalar-client .after\\:font-medium:after{content:var(--tw-content);font-weight:var(--scalar-semibold)}.scalar-client .after\\:text-c-3:after{content:var(--tw-content);color:var(--scalar-color-3)}.scalar-client .after\\:shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]:after{content:var(--tw-content);--tw-shadow:-8px 0 4px var(--scalar-background-1);--tw-shadow-colored:-8px 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .after\\:bg-b-1:after{content:var(--tw-content);--tw-bg-base:var(--scalar-background-1)}.scalar-client .last\\:mb-0:last-child{margin-bottom:0}.scalar-client .last\\:border-r-0:last-child{border-right-width:0}.scalar-client .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.scalar-client .focus-within\\:bg-b-2:focus-within{background-color:var(--scalar-background-2)}.scalar-client .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-client .focus-within\\:bg-b-2:focus-within{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:cursor-auto:hover{cursor:auto}.scalar-client .hover\\:bg-b-1:hover{background-color:var(--scalar-background-1)}.scalar-client .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-client .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-client .hover\\:bg-mix-b-2:hover{background-color:color-mix(var(--tw-bg-mix-method, in srgb),var(--scalar-background-2) calc(var(--tw-bg-mix-amount, 0) * 1%),var(--tw-bg-base))}.scalar-client .hover\\:bg-mix-amount-95:hover{--tw-bg-mix-amount:95}.scalar-client .hover\\:bg-b-1:hover{--tw-bg-base:var(--scalar-background-1)}.scalar-client .hover\\:bg-b-2:hover{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{--tw-bg-base:var(--scalar-background-3)}.scalar-client .hover\\:before\\:bg-sidebar-active-b:hover:before{content:var(--tw-content);background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .hover\\:before\\:bg-sidebar-active-b:hover:before{content:var(--tw-content);--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-client .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-client .group:last-child .group-last\\:border-b-transparent{border-bottom-color:transparent}.scalar-client .group\\/upload:hover .group-hover\\/upload\\:block,.scalar-client .group:hover .group-hover\\:block{display:block}.scalar-client .group:hover .group-hover\\:flex{display:flex}.scalar-client .group:hover .group-hover\\:hidden{display:none}.scalar-client .group\\/info:hover .group-hover\\/info\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/scopes-accordion:hover .group-hover\\/scopes-accordion\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/info:hover .group-hover\\/info\\:opacity-100,.scalar-client .group\\/params:hover .group-hover\\/params\\:opacity-100,.scalar-client .group:hover .group-hover\\:opacity-100{opacity:1}.scalar-client .group:hover .group-hover\\:opacity-80{opacity:.8}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .group\\/cell:hover .group-hover\\/cell\\:before\\:opacity-100:before{content:var(--tw-content);opacity:1}.scalar-client .peer:checked~.peer-checked\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .group:has(:focus) .group-has-\\[\\:focus\\]\\:after\\:hidden:after{content:var(--tw-content);display:none}.scalar-client .ui-open\\:mb-3[data-headlessui-state~=open]{margin-bottom:12px}.scalar-client .ui-open\\:flex[data-headlessui-state~=open]{display:flex}.scalar-client .ui-open\\:rotate-90[data-headlessui-state~=open]{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-open\\:pb-1[data-headlessui-state~=open]{padding-bottom:4px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:mb-3{margin-bottom:12px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:flex{display:flex}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:pb-1{padding-bottom:4px}.scalar-client .ui-not-open\\:invisible[data-headlessui-state]:not([data-headlessui-state~=open]){visibility:hidden}.scalar-client .ui-not-open\\:mb-0[data-headlessui-state]:not([data-headlessui-state~=open]){margin-bottom:0}.scalar-client .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){background-color:transparent}.scalar-client .ui-not-open\\:pb-0[data-headlessui-state]:not([data-headlessui-state~=open]){padding-bottom:0}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-bg-base:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:invisible:not([data-headlessui-state]){visibility:hidden}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:mb-0:not([data-headlessui-state]){margin-bottom:0}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:rotate-0:not([data-headlessui-state]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){background-color:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:pb-0:not([data-headlessui-state]){padding-bottom:0}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){--tw-bg-base:transparent}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{background-color:var(--scalar-background-2)}.scalar-client .ui-active\\:text-c-1[data-headlessui-state~=active]{color:var(--scalar-color-1)}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{background-color:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:text-c-1{color:var(--scalar-color-1)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{--tw-bg-base:var(--scalar-background-2)}@media (min-width: 1000px){.scalar-client .lg\\:order-none{order:0}}@media (min-width: 1000px){.scalar-client .lg\\:mb-0{margin-bottom:0}}@media (min-width: 1000px){.scalar-client .lg\\:flex{display:flex}}@media (min-width: 1000px){.scalar-client .lg\\:min-h-header{min-height:var(--scalar-client-header-height)}}@media (min-width: 1000px){.scalar-client .lg\\:w-auto{width:auto}}@media (min-width: 1000px){.scalar-client .lg\\:min-w-\\[720px\\]{min-width:720px}}@media (min-width: 1000px){.scalar-client .lg\\:max-w-\\[720px\\]{max-width:720px}}@media (min-width: 1000px){.scalar-client .lg\\:flex-1{flex:1 1 0%}}@media (min-width: 1000px){.scalar-client .lg\\:px-1{padding-left:4px;padding-right:4px}}@media (min-width: 1000px){.scalar-client .lg\\:text-sm{font-size:var(--scalar-font-size-4)}}@media (min-width: 1200px){.scalar-client .xl\\:flex{display:flex}}@media (min-width: 1200px){.scalar-client .xl\\:min-h-header{min-height:var(--scalar-client-header-height)}}@media (min-width: 1200px){.scalar-client .xl\\:min-w-0{min-width:0px}}@media (min-width: 1200px){.scalar-client .xl\\:flex-1{flex:1 1 0%}}@media (min-width: 1200px){.scalar-client .xl\\:flex-row{flex-direction:row}}@media (min-width: 1200px){.scalar-client .xl\\:divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-right-width:calc(var(--scalar-border-width) * var(--tw-divide-x-reverse));border-left-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-x-reverse)))}}@media (min-width: 1200px){.scalar-client .xl\\:divide-y-0>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}}@media (min-width: 1200px){.scalar-client .xl\\:overflow-hidden{overflow:hidden}}@media (min-width: 1200px){.scalar-client .xl\\:rounded-lg{border-radius:var(--scalar-radius-lg)}}@media (min-width: 1200px){.scalar-client .xl\\:border{border-width:var(--scalar-border-width)}}@media (min-width: 1200px){.scalar-client .xl\\:px-5{padding-left:20px;padding-right:20px}}@media (min-width: 1200px){.scalar-client .xl\\:px-6{padding-left:24px;padding-right:24px}}.scalar-client .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}.scalar-client .dark\\:bg-mix-amount-80:where(.dark-mode,.dark-mode *){--tw-bg-mix-amount:80}.scalar-client .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){--tw-bg-base:var(--scalar-background-3)}:root{--scalar-client-header-height: 50px;--scalar-sidebar-width: 280px;--scalar-toc-width: 280px}.scalar .scalar-api-client[data-v-16873ba4]{max-height:calc(100% - calc(var(--scalar-app-header-height)));border-radius:8px}.scalar .scalar-app[data-v-16873ba4]{background:var(--scalar-background-3);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-16873ba4 .35s forwards;z-index:1002;position:relative;overflow:hidden;border-radius:8px}@keyframes scalarapiclientfadein-16873ba4{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-16873ba4]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000038;transition:all .3s ease-in-out;z-index:1000;cursor:pointer;animation:scalardrawerexitfadein-16873ba4 .35s forwards}.scalar .scalar-app-exit[data-v-16873ba4]:before{font-family:sans-serif;position:absolute;top:0;font-size:30px;font-weight:100;line-height:50px;right:12px;text-align:center;color:#fff;opacity:.6}.scalar .scalar-app-exit[data-v-16873ba4]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-16873ba4{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-16873ba4]{overflow:hidden;visibility:visible;position:fixed;bottom:0;top:0;left:0;width:100%;height:100%;z-index:1001;display:flex;align-items:center;justify-content:center}.scalar .url-form-input[data-v-16873ba4]{min-height:auto!important}.scalar .scalar-container[data-v-16873ba4]{line-height:normal}.scalar .scalar-app-header span[data-v-16873ba4]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-16873ba4]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-16873ba4]:hover{text-decoration:underline}.scalar-activate[data-v-16873ba4]{width:-moz-fit-content;width:fit-content;margin:0px .75rem .75rem auto;line-height:24px;cursor:pointer;font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:6px}.scalar-activate-button[data-v-16873ba4]{display:flex;gap:6px;align-items:center;color:var(--scalar-color-blue);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;background:transparent;padding:0 .5rem}.scalar-activate:hover .scalar-activate-button[data-v-16873ba4]{background:var(--scalar-background-3);border-radius:3px}.required[data-v-74a9b970]:after{content:"Required"}input[data-v-74a9b970]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-74a9b970]::placeholder{color:var(--scalar-color-3)}.sidebar-height{min-height:calc(100% - 50px)}[data-v-1cb234d7] .cm-editor{background-color:var(--scalar-background-1);height:100%;outline:none;width:100%}[data-v-1cb234d7] .cm-content{padding:2px 0}.scroll-timeline-x[data-v-1cb234d7]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-address[data-v-1cb234d7]{line-height:27px;scrollbar-width:none}.scroll-timeline-x-address[data-v-1cb234d7]:after{content:"";position:absolute;height:100%;width:24px;right:0;cursor:text}.scroll-timeline-x-address[data-v-1cb234d7]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-1cb234d7],.fade-right[data-v-1cb234d7]{content:"";position:sticky;height:100%;animation-name:fadein-1cb234d7;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;z-index:1;pointer-events:none}.fade-left[data-v-1cb234d7]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);left:0;min-width:3px;animation-direction:normal}.fade-right[data-v-1cb234d7]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);right:0;min-width:24px}@keyframes fadein-1cb234d7{0%{opacity:0}1%{opacity:1}}a[data-v-c0d851ce]{text-decoration:none}.ref-search-container[data-v-c0d851ce]{display:flex;flex-direction:column;padding:12px 12px 0}.ref-search-results[data-v-c0d851ce]{padding:12px}.ref-search-meta[data-v-c0d851ce]{background:var(--scalar-background-3);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px}.ascii-art-animate .ascii-art-line[data-v-80684d49]{border-right:1ch solid transparent;animation:typewriter-80684d49 4s steps(1) 1s 1 normal both,blinkTextCursor-80684d49 .5s steps(1) infinite normal}@keyframes typewriter-80684d49{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-80684d49{0%{border-right-color:currentColor}50%{border-right-color:transparent}}.animate-modal-fade[data-v-494207cd]{animation:modal-fade-494207cd .2s forwards}.animate-modal-pop[data-v-494207cd]{animation:modal-pop-494207cd .15s .15s forwards}@keyframes modal-fade-494207cd{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-494207cd{0%{opacity:0}to{opacity:1;transform:scale(1)}}[data-v-a6b5e43f] .cm-editor{background-color:transparent;height:100%;outline:none;padding:3px 0}[data-v-a6b5e43f] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-mini)}[data-v-a6b5e43f] .cm-tooltip{background:transparent!important;filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius-xl);box-shadow:var(--scalar-shadow-2);border:none!important;outline:none!important;overflow:hidden!important}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-a6b5e43f] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul{padding:6px!important;z-index:10000;position:relative}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-a6b5e43f] .cm-activeLine,[data-v-a6b5e43f] .cm-activeLineGutter{background-color:transparent}[data-v-a6b5e43f] .cm-selectionMatch,[data-v-a6b5e43f] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-a6b5e43f] .cm-css-color-picker-wrapper{display:inline-flex;outline:1px solid var(--scalar-background-3);border-radius:3px;overflow:hidden}[data-v-a6b5e43f] .cm-gutters{background-color:transparent;border-right:none;color:var(--scalar-color-3);font-size:var(--scalar-mini);line-height:1.44}[data-v-a6b5e43f] .cm-gutterElement{font-family:var(--scalar-font-code)!important;padding:0 6px 0 8px!important;display:flex;align-items:center;justify-content:flex-end}[data-v-a6b5e43f] .cm-gutter+.cm-gutter .cm-gutterElement{padding-left:0!important}.filemask[data-v-c04c82dd]{-webkit-mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2) 20px)}.request-section-content{--scalar-border-width: .5px}.request-section-content-filter{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons{opacity:1}.force-text-sm[data-v-99c6c7a3]{--scalar-small: 13px}iframe[data-v-99c6c7a3]{background-color:transparent}.before-left-offset[data-v-3cdb431d]:before{left:var(--426379e0)}.editable-sidebar-hover:hover .editable-sidebar-hover-item[data-v-3cdb431d]{-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px)}.request-text-color-text[data-v-ac5dd98f]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width: 780px){.sidebar-active-hide-layout[data-v-ac5dd98f]{display:none}.sidebar-active-width[data-v-ac5dd98f]{width:100%;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}}.active-link[data-v-f43d5cfd]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);--tw-bg-base: var(--scalar-background-2) }.base-url-variable{color:var(--scalar-color-1)}.base-url[data-v-01cb81b8]{color:var(--scalar-color-2);cursor:pointer;font-family:var(--scalar-font-code);display:inline-block;font-size:var(--scalar-micro);min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.url-select[data-v-769a9357]{padding:10px 9px 9px 0;color:var(--scalar-color-1);align-items:center;display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.url-select svg[data-v-769a9357]{color:var(--scalar-color-2);stroke-width:1}.variable-select[data-v-4b092d90]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:1px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-select svg[data-v-4b092d90]{color:var(--scalar-color-2);stroke-width:1}.variable-textbox[data-v-fbcac0a4]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:1px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-container-item[data-v-d5675216]{display:flex;width:100%}.variable-label[data-v-d5675216]{padding:9px 0 9px 9px;color:var(--scalar-color-2);border-top:1px solid var(--scalar-border-color);font-size:var(--scalar-micro)}.variable-label[data-v-d5675216]:after{content:":";margin-right:6px}.server-form-title[data-v-1bd31bc3]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;display:block}.server-form[data-v-1bd31bc3]{margin-top:6px}.server-form-container[data-v-1bd31bc3]{box-shadow:0 0 0 1px var(--scalar-border-color);border-radius:var(--scalar-radius)}.server-item[data-v-1bd31bc3]{padding:0 9px}.description[data-v-1bd31bc3]{padding:6px 12px;font-size:var(--scalar-small)}.description[data-v-1bd31bc3] .markdown{font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:4px 0;display:block}.description[data-v-1bd31bc3] .markdown>*:first-child{margin-top:0}.card-form[data-v-21a1cfbf]{color:var(--scalar-color-1);width:100%;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.card-form-button[data-v-502d153b]{display:flex;align-items:center;position:relative;background:transparent;cursor:pointer;padding:9px;outline:none;white-space:nowrap;font-family:var(--scalar-font);font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-2)}.card-form-button[data-v-502d153b]:hover{color:var(--scalar-color-1)}.card-form-group[data-v-88abf5f7]{display:flex}:where(.card-form-rows[data-v-1611fc76]){display:flex;flex-direction:column;width:100%}:where(.card-form-rows[data-v-1611fc76])>*+*{border-top:1px solid var(--scalar-border-color)}.card-form-input[data-v-2c06084d]{background:transparent;position:relative;width:100%;text-align:left;display:flex;align-items:baseline;border-color:inherit}.card-form-input label[data-v-2c06084d],.card-form-input input[data-v-2c06084d]{padding:9px;border:0;outline:none;font-size:var(--scalar-mini);color:var(--scalar-color-2);width:100%;background:transparent;-moz-appearance:none;appearance:none;-webkit-appearance:none;left:0}.card-form-input label[data-v-2c06084d]{width:fit-content;white-space:nowrap;cursor:text;padding:9px 0 9px 9px;border-radius:var(--scalar-radius);font-weight:var(--scalar-semibold)}.card-form-input input[data-v-2c06084d]{position:relative;z-index:99;color:var(--scalar-color-1)}.card-form-input+.card-form-input[data-v-2c06084d]{border-left:1px solid var(--scalar-border-color)}.card-form-input input:not(:placeholder-shown)+label[data-v-2c06084d]{color:var(--scalar-color-2)}.password-mask[data-v-2c06084d]{padding:4px;margin-right:6px;height:24px;width:auto;align-self:center;stroke-width:.75}.wrapper[data-v-0957134f]{display:grid;border-color:inherit}.scopes-label[data-v-0957134f]{display:inline-flex;align-items:center;height:1em;line-height:1;gap:4px}.scopes-label-badge[data-v-0957134f]{display:inline-flex;align-items:center;gap:2px}.scopes-label-badge em[data-v-0957134f]{transform:rotate(10deg) translateY(-.9px)}.floating[data-v-0957134f]{position:relative;z-index:1010}.dropdown[data-v-0957134f]{background:var(--scalar-background-1);filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);padding:4px;font-style:normal;display:flex;flex-direction:column;gap:10px}.dropdown-item[data-v-0957134f]{display:grid;grid-template-areas:"check title" "check description";grid-template-columns:auto 1fr;padding:6px 10px 8px 6px;row-gap:2px;column-gap:8px;border-radius:var(--scalar-radius);font-size:var(--scalar-mini);cursor:pointer}.dropdown-item[data-headlessui-state=active][data-v-0957134f],.dropdown-item[data-headlessui-state="active selected"][data-v-0957134f]{background:var(--scalar-background-2)}.dropdown-item-title[data-v-0957134f]{grid-area:title;color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.dropdown-item-description[data-v-0957134f]{grid-area:description;color:var(--scalar-color-2);line-height:initial}.dropdown-item-check[data-v-0957134f]{all:unset;position:relative;grid-area:check;width:20px;height:20px;color:var(--scalar-color-2);background:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.dropdown-item-check[data-v-0957134f]:checked:after{content:"";position:absolute;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;width:6px;height:12px;top:calc(50% - 1.5px);left:50%;transform:translate(-50%,-50%) rotate(45deg)}.dropdown-item-check[data-v-0957134f]:checked{background:var(--scalar-color-accent);color:var(--scalar-background-1);border:1px solid currentColor}.description[data-v-3bdd11a8]{padding:12px 4px 4px;font-size:var(--scalar-mini)}.cardform-auth-button[data-v-3bdd11a8]{background:var(--scalar-button-1);color:var(--scalar-button-1-color);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius);margin:3px;padding:0 9px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.cardform-auth-button[data-v-3bdd11a8]:hover{background:var(--scalar-button-1-hover)}.security-scheme-selector[data-v-d4d9bca1]{position:relative;border-radius:var(--scalar-radius);color:var(--scalar-color-3);display:flex;align-items:center;gap:4px;cursor:pointer}.security-scheme-selector[data-v-d4d9bca1]:hover{color:var(--scalar-color-1)}.security-scheme-label[data-v-d4d9bca1]{color:var(--scalar-color-3);font-size:var(--scalar-mini)}.security-scheme-selector:hover .security-scheme-label[data-v-d4d9bca1]{color:var(--scalar-color-1)}.security-scheme-selector select[data-v-d4d9bca1]{position:absolute;cursor:pointer;opacity:0;right:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;margin-top:-5px;padding:10px 0}.security-scheme-selector svg[data-v-d4d9bca1]{width:12px;stroke:currentColor}.authentication-header[data-v-9052a928]{white-space:nowrap}.selector[data-v-9052a928]{margin-bottom:6px}.client-libraries-content[data-v-ab6bf947]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;padding:3px;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius) var(--scalar-radius) 0 0}.client-libraries[data-v-ab6bf947]{display:flex;align-items:center;justify-content:center;width:100%;position:relative;cursor:pointer;white-space:nowrap;padding:5px;gap:6px;color:var(--scalar-color-3);border-radius:var(--scalar-radius);border:.5px solid transparent;-webkit-user-select:none;user-select:none}.client-libraries[data-v-ab6bf947]:hover{color:var(--scalar-color-1)}@media screen and (max-width: 450px){.client-libraries[data-v-ab6bf947]:nth-of-type(4),.client-libraries[data-v-ab6bf947]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-ab6bf947]{max-width:14px;max-height:14px;min-width:14px;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;color:currentColor}.client-libraries-icon__more svg[data-v-ab6bf947]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-ab6bf947]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-ab6bf947]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-ab6bf947]{width:100%}.client-libraries span[data-v-ab6bf947]{display:none}}.client-libraries__active[data-v-ab6bf947]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);border-color:var(--scalar-border-color);filter:brightness(var(--scalar-lifted-brightness))}@keyframes codeloader-ab6bf947{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries span[data-v-ab6bf947]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold)}.client-libraries__active span[data-v-ab6bf947]{color:var(--scalar-color-1)}.client-libraries__select select[data-v-ab6bf947]{background:var(--scalar-background-3);color:var(--scalar-color-2);opacity:0;height:100%;width:100%;aspect-ratio:1;position:absolute;top:0;left:0;cursor:pointer;z-index:1;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.client-libraries__select span[data-v-ab6bf947]{position:relative;display:flex;align-items:center}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-ab6bf947]{flex-direction:column}}.selected-client[data-v-301043da]{color:var(--scalar-color-1);font-size:var(--scalar-mini);font-family:var(--scalar-font-code);padding:9px 12px;border:1px solid var(--scalar-border-color);border-top:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;border-radius:0 0 var(--scalar-radius) var(--scalar-radius)}.client-libraries-heading[data-v-301043da]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;margin-bottom:6px;display:block}.badge[data-v-190574ac]{color:var(--scalar-color-2);font-size:var(--scalar-micro);background:var(--scalar-background-2);padding:2px 6px;border-radius:12px;font-weight:var(--scalar-semibold);display:inline-block;text-transform:uppercase}.section[data-v-7bdc2dab]{position:relative;display:flex;flex-direction:column;max-width:var(--refs-content-max-width);margin:auto;padding:90px 0;scroll-margin-top:var(--refs-header-height)}.references-classic .section[data-v-7bdc2dab]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-7bdc2dab],.section[data-v-7bdc2dab]{padding:48px 24px}}.section[data-v-7bdc2dab]:not(:last-of-type){border-bottom:1px solid var(--scalar-border-color)}.section-wrapper[data-v-07cabcb0]{color:var(--scalar-color-1);padding-top:12px;margin-top:-12px}.section-accordion[data-v-07cabcb0]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2)}.section-accordion-transparent[data-v-07cabcb0]{background:transparent;border:1px solid var(--scalar-border-color)}.section-accordion-button[data-v-07cabcb0]{padding:6px}.section-accordion-button[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-07cabcb0]{flex:1;min-width:0}.section-accordion-button-actions[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-07cabcb0]{margin-right:4px;width:20px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-07cabcb0]{color:var(--scalar-color-1)}.section-accordion-content[data-v-07cabcb0]{border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}.section-accordion-description[data-v-07cabcb0]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-07cabcb0] .property:last-of-type{padding-bottom:9px}.section-column[data-v-d64e7382]{flex:1;min-width:0}.section-column[data-v-d64e7382]:nth-of-type(2){padding-top:48px}@container narrow-references-container (max-width: 900px){.section-column[data-v-d64e7382]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{display:flex;gap:48px}@container narrow-references-container (max-width: 900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-34b26958]{position:relative;padding:0 60px;width:100%}.section-container[data-v-34b26958]:last-of-type{border-top:1px solid var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.section-container[data-v-34b26958]{padding:0}}.section-accordion-wrapper[data-v-2049975e]{padding:0 60px}.section-accordion[data-v-2049975e]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-2049975e]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-2049975e]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-2049975e]{width:24px;position:absolute;left:-24px;height:auto;top:10px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-2049975e]{color:var(--scalar-color-1)}.section-accordion-title[data-v-2049975e]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.section-accordion-title[data-v-2049975e] .section-header{margin-bottom:0}@container narrow-references-container (max-width: 900px){.section-accordion-chevron[data-v-2049975e]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-2049975e]{padding:calc(var(--refs-header-height)) 24px 0 24px}}.loading[data-v-c90b2c46]{background:var(--scalar-background-3);animation:loading-skeleton-c90b2c46 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-c90b2c46]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-c90b2c46]:last-of-type{width:60%}.loading.single-line[data-v-c90b2c46]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-c90b2c46{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-width: 900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header[data-v-3bd1b9f0]{font-size:var(--font-size, var(--scalar-heading-2));font-weight:var(--font-weight, var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;line-height:1.45;margin-top:0;margin-bottom:12px}.section-header.tight[data-v-3bd1b9f0]{margin-bottom:6px}.section-header.loading[data-v-3bd1b9f0]{width:80%}.introduction-description-heading[data-v-764b63f7]{scroll-margin-top:64px}.introduction-description[data-v-764b63f7]{display:flex;flex-direction:column;gap:18px}.download-cta[data-v-810904a4]{margin-bottom:24px}.download-cta .download-button[data-v-810904a4]{color:var(--scalar-color-accent);text-decoration:var(--scalar-text-decoration)!important;font-size:var(--scalar-paragraph);cursor:pointer}.download-cta .download-button[data-v-810904a4]:hover{text-decoration:var(--scalar-text-decoration-hover)!important}.heading[data-v-83f73a98]{margin-top:0!important;word-wrap:break-word}.loading[data-v-83f73a98]{background:var(--scalar-background-3);animation:loading-skeleton 1.5s infinite alternate;border-radius:var(--scalar-radius-lg)}.badges[data-v-83f73a98]{display:flex;align-items:center;gap:4px;margin-bottom:3px}.heading.loading[data-v-83f73a98]{width:80%}.introduction-section[data-v-83f73a98]{gap:48px}.sticky-cards[data-v-83f73a98]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-header-height) + 24px)}.screenreader-only[data-v-681ebf2c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.label[data-v-d9801d4e]{position:relative;display:inline-block}.anchor[data-v-d9801d4e]{position:relative;display:inline-block;opacity:0}.anchor-copy[data-v-d9801d4e]{position:absolute;left:0;top:50%;transform:translateY(-50%);cursor:pointer;padding:0 6px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:.8em}.anchor-copy[data-v-d9801d4e]:hover,.anchor-copy[data-v-d9801d4e]:focus-visible{color:var(--scalar-color-2)}.label:hover .anchor[data-v-d9801d4e]{opacity:1}.scalar-card[data-v-dcabb131]{all:unset;font-family:var(--scalar-font);border-radius:var(--scalar-radius-lg);overflow:hidden;border:1px solid var(--scalar-border-color);background:var(--scalar-background-2);display:flex;flex-direction:column;max-height:calc(((var(--full-height) - var(--refs-header-height)) - 60px) / 2);position:relative}.scalar-card-sticky[data-v-dcabb131]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.scalar-card-content[data-v-5312c2e0]{overflow:auto;border-bottom:1px solid var(--scalar-border-color)}.scalar-card-content[data-v-5312c2e0] .simple-table .simple-header{display:none}.scalar-card-content[data-v-5312c2e0]:last-of-type,.scalar-card-content.scalar-card--borderless[data-v-5312c2e0]{border-bottom:none}.scalar-card--muted[data-v-5312c2e0]{background:var(--scalar-background-2)}.scalar-card--contrast[data-v-5312c2e0]{background:var(--scalar-background-3)}.scalar-card--frameless[data-v-5312c2e0]{padding:0}.scalar-card--transparent[data-v-5312c2e0]{background:var(--scalar-background-1)}.scalar-card-header[data-v-bbd0c20a]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);padding:9px 0 9px 12px;flex-shrink:0}.scalar-card-header.scalar-card--borderless[data-v-bbd0c20a]+.scalar-card-content{margin-top:-9px}.scalar-card-header-slots[data-v-bbd0c20a]{display:flex;justify-content:space-between;line-height:1.35}.scalar-card-header-title[data-v-bbd0c20a]{text-transform:uppercase;flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden}.scalar-card-header-actions[data-v-bbd0c20a]{display:flex}.scalar-card-footer[data-v-918ab8d6]{flex-shrink:0}.tab-list[data-v-03fdb072]{display:flex;gap:6px;position:relative;flex:1;padding:9px 12px;overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-03fdb072]{padding:0}.tab[data-v-f373ecc2]{background:none;border:none;font-size:var(--scalar-mini);font-family:var(--scalar-font);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);line-height:calc(var(--scalar-mini) + 2px);white-space:nowrap;cursor:pointer;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:1.35}.tab[data-v-f373ecc2]:before{content:"";position:absolute;z-index:0;left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px);border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0}.tab[data-v-f373ecc2]:hover:before{opacity:1}.tab span[data-v-f373ecc2]{z-index:1;position:relative}.tab-selected[data-v-f373ecc2]{color:var(--scalar-color-1);text-decoration:underline;text-underline-offset:var(--scalar-micro)}.text-select{position:relative;height:fit-content}.text-select--single-option{pointer-events:none}.text-select select{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.text-select span{font-size:var(--scalar-mini);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);white-space:nowrap;display:flex;align-items:center;justify-content:center}.text-select:hover span{color:var(--scalar-color-1)}.text-select:not(.text-select--single-option) span:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-2px,0);display:block;margin-left:6px;box-shadow:1px 1px 0 currentColor}.text-select span:hover{background:var(--scalar-background-2)}.request[data-v-24c8bc21]{display:flex;flex-wrap:nowrap}.request-header[data-v-24c8bc21]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-24c8bc21]{font-family:var(--scalar-font-code);text-transform:uppercase;white-space:nowrap}.request-client-picker[data-v-24c8bc21]{padding-left:12px;padding-right:9px;border-right:1px solid var(--scalar-border-color)}.copy-button[data-v-24c8bc21]{-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);margin-left:6px;margin-right:10.5px;border:none;border-radius:3px;padding:0;display:flex;align-items:center;height:fit-content}.copy-button[data-v-24c8bc21]:after{content:".";color:transparent;font-size:var(--scalar-mini);line-height:1.35;width:0px}.copy-button[data-v-24c8bc21]:hover{color:var(--scalar-color-1)}.copy-button svg[data-v-24c8bc21]{width:13px;height:13px}.scalar-card-header-actions[data-v-24c8bc21]{display:flex}.scalar-card-footer[data-v-24c8bc21]{display:flex;justify-content:flex-end;padding:6px}.request-editor-section[data-v-24c8bc21]{display:flex;flex:1}.schema-type-icon[data-v-c0a69ad0]{color:var(--scalar-color-1)}.schema-type[data-v-c0a69ad0]{font-family:var(--scalar-font-code)}.property-detail[data-v-16d94ef5]{display:inline-flex}.property-detail+.property-detail[data-v-16d94ef5]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-16d94ef5]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-16d94ef5]{overflow:hidden;text-overflow:ellipsis}.property-detail-prefix[data-v-16d94ef5]{color:var(--scalar-color-3)}code.property-detail-value[data-v-16d94ef5]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:var(--scalar-background-3);padding:1px 3px;border-radius:var(--scalar-radius)}.property-heading[data-v-2489a259]{display:flex;align-items:center;gap:9px;white-space:nowrap}.property-name[data-v-2489a259]{font-family:var(--scalar-font-code)}.property-additional[data-v-2489a259]{font-size:var(--scalar-font-size-3)}.property-required[data-v-2489a259],.property-optional[data-v-2489a259]{color:var(--scalar-color-2)}.property-required[data-v-2489a259]{text-transform:capitalize;color:var(--scalar-color-orange)}.property-read-only[data-v-2489a259],.property-write-only[data-v-2489a259]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-blue)}.property-details[data-v-2489a259]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-2489a259]{color:var(--scalar-color-1)}.property[data-v-fb06e93b]{color:var(--scalar-color-1);padding:10px;font-size:var(--scalar-mini)}.property[data-v-fb06e93b]:last-of-type{padding-bottom:0}.property--compact.property--level-0[data-v-fb06e93b]{padding:10px 0}.property--deprecated[data-v-fb06e93b]{background:repeating-linear-gradient(-45deg,var(--scalar-background-2) 0,var(--scalar-background-2) 2px,transparent 2px,transparent 5px);background-size:100%}.property--deprecated[data-v-fb06e93b]>*{opacity:.75}.property-description[data-v-fb06e93b]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}[data-v-fb06e93b] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-fb06e93b]:not(:last-of-type){border-bottom:1px solid var(--scalar-border-color)}.children[data-v-fb06e93b]{display:flex;flex-direction:column;padding-top:8px}.property-example[data-v-fb06e93b]{display:flex;flex-direction:column;gap:6px;margin-top:6px;padding:6px;max-height:calc(((var(--full-height) - var(--refs-header-height))) / 2);font-size:var(--scalar-micro);border:1px solid var(--scalar-border-color);background:var(--scalar-background-2);border-radius:var(--scalar-radius-lg)}.property-example-label[data-v-fb06e93b]{font-weight:var(--scalar-semibold);color:var(--scalar-color-3)}.property-example-value[data-v-fb06e93b]{font-family:var(--scalar-font-code);white-space:pre}.property-rule[data-v-fb06e93b]{display:flex;flex-direction:column;gap:6px;margin-top:12px;border-radius:var(--scalar-radius-lg)}.property-enum-value[data-v-fb06e93b]{padding:3px 0;color:var(--scalar-color-2)}.property-enum-value[data-v-fb06e93b]:before{content:"◼";margin-right:6px;color:var(--scalar-color-3)}.property-enum-values[data-v-fb06e93b]{margin-top:8px;list-style:none}.property--compact .property-example[data-v-fb06e93b]{display:none}.property-list[data-v-fb06e93b]{border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-fb06e93b]:last-of-type{padding-bottom:10px}.property-name[data-v-fb06e93b]{font-family:var(--scalar-font-code)}.error[data-v-25443e6c]{background-color:var(--scalar-color-red)}.schema-card[data-v-25443e6c]{z-index:0;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-25443e6c]{--schema-title-height: 38px;height:var(--schema-title-height);padding:10px 12px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);background:var(--scalar-background-1);border-radius:var(--scalar-radius-lg);border-bottom:1px solid transparent}button.schema-card-title[data-v-25443e6c]{cursor:pointer}button.schema-card-title[data-v-25443e6c]:hover{color:var(--scalar-color-1)}.schema-card-title-icon[data-v-25443e6c]{margin-left:-4px}.schema-card-title-icon--open[data-v-25443e6c]{transform:rotate(90deg)}.schema-properties-open>.schema-card-title[data-v-25443e6c]{z-index:1;position:sticky;top:var(--refs-header-height);border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:1px solid var(--scalar-border-color)}.schema-properties-open>.schema-properties[data-v-25443e6c]{width:fit-content}.schema-card-description+.schema-properties[data-v-25443e6c]{width:fit-content}.schema-properties-open.schema-properties[data-v-25443e6c],.schema-properties-open>.schema-card--open[data-v-25443e6c]{width:100%}.schema-card .property[data-v-25443e6c]:last-of-type{padding-bottom:10px}.schema-properties[data-v-25443e6c]{display:flex;flex-direction:column;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.schema-card--compact[data-v-25443e6c]{align-self:start}.schema-card--compact.schema-card--open[data-v-25443e6c]{align-self:initial}.schema-card-title--compact[data-v-25443e6c]{color:var(--scalar-color-3);padding:6px 10px;height:auto;border-bottom:none}.schema-card--compact>.schema-properties[data-v-25443e6c],.schema-card-title--compact[data-v-25443e6c]{border-radius:13.5px}.schema-card-title--compact>.schema-card-title-icon[data-v-25443e6c]{width:10px;height:10px;margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-25443e6c]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-25443e6c]{position:static}.schema-card--compact.schema-card--level-0>.schema-properties[data-v-25443e6c]{border:none}[data-v-25443e6c] .schema-card-description p{font-size:var(--scalar-mini, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.schema-card-description[data-v-25443e6c]:first-of-type{padding-top:10px}.children .schema-card-description[data-v-25443e6c]:first-of-type{padding-top:0}.parameter-item[data-v-f70ee55c]{border-top:1px solid var(--scalar-border-color)}.parameter-item:last-of-type .parameter-schema[data-v-f70ee55c]{padding-bottom:0}.parameter-item-container[data-v-f70ee55c]{padding:0}.parameter-item-name[data-v-f70ee55c]{font-weight:500;margin-right:6px;font-family:var(--scalar-font-code);font-size:var(--scalar-mini);color:var(--scalar-color-1)}.parameter-item-type[data-v-f70ee55c],.parameter-item-required-optional[data-v-f70ee55c]{color:var(--scalar-color-3);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-f70ee55c]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-f70ee55c]{margin-top:3px!important;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-item-description[data-v-f70ee55c] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-f70ee55c]{padding-bottom:9px;margin-top:3px}.parameters[data-v-45fca787]{margin-top:24px}.parameters-title[data-v-45fca787]{font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:12px;margin-bottom:12px}.parameter-list[data-v-45fca787]{list-style:none;padding:0;margin:0 0 12px;font-size:var(--scalar-small)}.request-body-title[data-v-23ed11af]{display:flex;align-items:center;font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:24px;padding-bottom:12px;border-bottom:1px solid var(--scalar-border-color);flex-flow:wrap}.request-body-title-select[data-v-23ed11af]{position:relative;padding-left:9px;height:fit-content;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);display:flex;align-items:center}.request-body-title-no-select.request-body-title-select[data-v-23ed11af]{pointer-events:none}.request-body-title-no-select.request-body-title-select[data-v-23ed11af]:after{display:none}.request-body-title-select span[data-v-23ed11af]{display:flex;align-items:center}.request-body-title-select[data-v-23ed11af]:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-4px,0);display:block;margin-left:7px;box-shadow:1px 1px 0 currentColor}.request-body-title-select select[data-v-23ed11af]{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.request-body-title-select[data-v-23ed11af]:hover{color:var(--scalar-color-1)}.request-body-description[data-v-23ed11af]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-description[data-v-23ed11af] .markdown *{color:var(--scalar-color-2)!important}@media (max-width: 460px){.request-body-title-select[data-v-23ed11af]{margin-left:auto;padding-right:3px}}.endpoint-path[data-v-a4eadd9b]{overflow:hidden;word-wrap:break-word;font-weight:var(--scalar-semibold)}.deprecated[data-v-a4eadd9b]{text-decoration:line-through}.example-selector[data-v-652a7e14]{padding:4px}.request[data-v-c40974e9]{display:flex;flex-wrap:nowrap}.request-header[data-v-c40974e9]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-c40974e9]{font-family:var(--scalar-font-code);text-transform:uppercase}.request-client-picker[data-v-c40974e9]{padding-left:12px;padding-right:9px;border-right:1px solid var(--scalar-border-color)}.copy-button[data-v-c40974e9]{-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);margin-left:6px;margin-right:10.5px;border:none;border-radius:3px;padding:0;display:flex;align-items:center;height:fit-content}.copy-button[data-v-c40974e9]:after{content:".";color:transparent;font-size:var(--scalar-mini);line-height:1.35;width:0px}.copy-button[data-v-c40974e9]:hover{color:var(--scalar-color-1)}.copy-button svg[data-v-c40974e9]{width:13px;height:13px}.request-card-footer[data-v-c40974e9]{display:flex;justify-content:flex-end;padding:6px;flex-shrink:0}.request-card-footer-addon[data-v-c40974e9]{display:flex;align-items:center;flex:1;min-width:0}.request-editor-section[data-v-c40974e9]{display:flex;flex:1}.code-snippet[data-v-c40974e9]{display:flex;flex-direction:column;width:100%}.empty-state[data-v-71404817]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-micro);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-71404817]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);display:inline-block;margin:12px 0 6px;border-radius:var(--scalar-radius)}.rule[data-v-71404817]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-71404817]{counter-reset:list-number;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--scalar-border-color);padding:12px 0}.rule-item[data-v-71404817]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden;margin-left:24px}.rule-item[data-v-71404817]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.markdown[data-v-6087e0e2] *{margin:0}.code-copy[data-v-6087e0e2]{display:flex;align-items:center;justify-content:center;-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-6087e0e2]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-6087e0e2]{width:13px;height:13px}.response-card-footer[data-v-6087e0e2]{display:flex;flex-direction:column;flex-shrink:0;padding:10px 12px;gap:8px;border-top:1px solid var(--scalar-border-color)}.response-example-selector[data-v-6087e0e2]{align-self:start;margin:-4px}.response-description[data-v-6087e0e2]{font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-6087e0e2]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);padding:2px 4px;border-radius:4px;margin-right:4px}.schema-example[data-v-6087e0e2]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-6087e0e2]{display:block;margin:6px}.scalar-card-container[data-v-6087e0e2]{flex:1;background:var(--scalar-background-2)}.scalar-card-container[data-v-6087e0e2] .cm-scroller{overflow-y:hidden}.scalar-card-checkbox[data-v-6087e0e2]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);width:fit-content;white-space:nowrap;margin-right:9px;gap:6px}.scalar-card-checkbox[data-v-6087e0e2]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-6087e0e2]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-6087e0e2]{height:17px;width:17px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 1px var(--scalar-border-color)}.scalar-card-checkbox[data-v-6087e0e2]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-6087e0e2]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-6087e0e2]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-6087e0e2]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-6087e0e2]:after{right:6px;top:36.5%;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.show-api-client-button[data-v-fa4467a0]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;padding:4px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a}.show-api-client-button span[data-v-fa4467a0],.show-api-client-button svg[data-v-fa4467a0]{color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-fa4467a0]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-fa4467a0]{height:12px;width:auto;margin-right:6px}.examples[data-v-b9dd22f0]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.deprecated[data-v-b9dd22f0] *{text-decoration:line-through}.example-path[data-v-b9dd22f0]{color:var(--scalar-color-2);font-family:var(--scalar-font-code)}.example-path[data-v-b9dd22f0] em{color:var(--scalar-color-1)}.endpoint-details-card[data-v-f94bee14]{display:flex;flex-direction:column;gap:12px}.endpoint-details-card-item[data-v-f94bee14]{border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.endpoint-details-card[data-v-f94bee14] .parameter-list:first-of-type:last-of-type{margin:0}.endpoint-details-card[data-v-f94bee14] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.endpoint-details-card[data-v-f94bee14] .parameter-list .parameter-list{margin-bottom:12px}.endpoint-details-card[data-v-f94bee14] .parameter-list li{margin:0;padding:0 9px}.endpoint-details-card[data-v-f94bee14] .property{padding:9px;margin:0}.endpoint-details-card[data-v-f94bee14] .endpoint-title,.endpoint-details-card[data-v-f94bee14] .parameters-title,.endpoint-details-card[data-v-f94bee14] .request-body-title{text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);line-height:1.33;padding:9px;margin:0}.endpoint-details-card[data-v-f94bee14] .request-body-title-select{text-transform:initial;font-weight:initial;margin-left:auto}.endpoint-header[data-v-70dfcfc0]{display:flex;justify-content:space-between}.endpoint-details[data-v-70dfcfc0]{display:flex;align-items:center;margin-top:0;gap:9px;min-width:0;flex-shrink:1}.endpoint-type[data-v-70dfcfc0]{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;z-index:0;width:60px;padding:6px;flex-shrink:0;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font)}.endpoint-type[data-v-70dfcfc0]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:currentColor;opacity:.15;border-radius:var(--scalar-radius-lg)}.endpoint-anchor[data-v-70dfcfc0]{display:flex;align-items:center;min-width:0;flex-shrink:1;font-size:20px}.endpoint-anchor.label[data-v-70dfcfc0]{display:flex}.endpoint-label[data-v-70dfcfc0]{display:flex;align-items:baseline;gap:9px;min-width:0;flex-shrink:1;color:var(--scalar-color-1)}.endpoint-label-path[data-v-70dfcfc0]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-70dfcfc0] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-70dfcfc0]{color:var(--scalar-color-2);font-size:var(--scalar-small);flex-shrink:1000000000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-try-hint[data-v-70dfcfc0]{padding:6px;height:24px;width:24px;flex-shrink:0;opacity:.44}.endpoint-copy[data-v-70dfcfc0],.endpoint-copy[data-v-70dfcfc0]:hover{color:currentColor}.endpoint-copy[data-v-70dfcfc0]{opacity:.44}.endpoint-copy[data-v-70dfcfc0]:hover{opacity:1}.endpoint-content[data-v-70dfcfc0]{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:9px}@container (max-width: 900px){.endpoint-content[data-v-70dfcfc0]{grid-template-columns:1fr}}.endpoint-content[data-v-70dfcfc0]>*{max-height:unset}.show-more[data-v-481def22]{background:var(--scalar-background-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border:1px solid var(--scalar-border-color);margin:-48px auto 48px;padding:8px 12px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative}.show-more[data-v-481def22]:hover{color:var(--scalar-color-2);cursor:pointer}.show-more-icon[data-v-481def22]{width:14px!important;height:14px!important;margin-left:3px}.show-more[data-v-481def22]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.show-more[data-v-481def22]{margin-top:-25px;margin-bottom:25px}}@media (max-width: 1165px){.show-more[data-v-481def22]{margin-top:-24px;margin-bottom:24px}}.endpoints[data-v-f0ef5b24]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px}@media (max-width: 580px){.endpoints[data-v-f0ef5b24]{max-height:calc(100vh - 150px)}}.endpoints span+span[data-v-f0ef5b24]{text-align:left;margin-left:12px;text-transform:initial}.endpoint[data-v-f0ef5b24]{display:flex;white-space:nowrap;cursor:pointer}.endpoint span[data-v-f0ef5b24]:first-of-type{text-transform:uppercase}.endpoint .post[data-v-f0ef5b24],.endpoint .get[data-v-f0ef5b24],.endpoint .delete[data-v-f0ef5b24],.endpoint .put[data-v-f0ef5b24]{white-space:nowrap}.endpoint span[data-v-f0ef5b24]{color:var(--scalar-color-1);min-width:62px;display:inline-block;text-align:right;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.section-container[data-v-f193be30]{border-top:1px solid var(--scalar-border-color)}.tag-section[data-v-2a212e36]{margin-bottom:48px}.tag-name[data-v-2a212e36]{text-transform:capitalize}.tag-description[data-v-2a212e36]{padding-bottom:4px}.references-loading{position:absolute;top:0;left:0;right:0;z-index:1;grid-area:rendered;background:var(--scalar-background-1)}.references-loading-top-spacer{top:-1px}@media (min-width: 1001px){.references-loading-top-spacer{top:calc(var(--refs-header-height) - 1px)}}.references-loading-hidden-tag .section-container .section:first-child{display:none}.show-more[data-v-f19478dd]{margin-top:24px}.reference-models[data-v-304ad700]{margin-bottom:48px}.reference-models-anchor[data-v-304ad700]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-304ad700]{font-size:var(--scalar-mini)}.reference-models-label[data-v-304ad700] em{font-weight:var(--scalar-bold)}.narrow-references-container{container-name:narrow-references-container;container-type:inline-size}.render-loading[data-v-0b17f72e]{height:calc(var(--full-height) - var(--refs-header-height));display:flex;align-items:center;justify-content:center}.introduction-card[data-v-0b17f72e]{display:flex;flex-direction:column;gap:12px;padding:12px 12px 0;background:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.introduction-card[data-v-0b17f72e] .description{padding:0}.introduction-card-title[data-v-0b17f72e]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3)}.introduction-card-row[data-v-0b17f72e]{flex-flow:row wrap;gap:24px}.introduction-card-row[data-v-0b17f72e]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-0b17f72e]>*{min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-0b17f72e]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-0b17f72e]{flex-direction:column;align-items:stretch}}.introduction-card[data-v-0b17f72e] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.references-classic .introduction-card-row[data-v-0b17f72e] .card-footer,.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card,.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card--muted{background:var(--scalar-background-1)}.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section-flare[data-v-0b17f72e]{position:absolute;top:0;right:0;pointer-events:none}.start[data-v-391b4e37]{padding:24px;display:flex;flex-flow:wrap;justify-content:space-between;position:relative;z-index:0}.swagger-editor .start[data-v-391b4e37]{padding-top:24px}.start-h1[data-v-391b4e37]{font-size:var(--scalar-heading-2);margin-top:0;line-height:1.45;margin-bottom:0;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%;position:relative}.start-h3[data-v-391b4e37]{font-size:var(--scalar-paragraph);margin-top:0;margin-bottom:6px;display:block;line-height:1.45;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%}.start-h1[data-v-391b4e37]:not(:first-of-type){margin-top:24px}.start-p[data-v-391b4e37]{font-size:var(--scalar-paragraph);color:var(--scalar-color-2);line-height:1.5;width:100%;margin-top:12px}.start-ul[data-v-391b4e37]{margin-top:12px;font-size:var(--scalar-paragraph);line-height:1.5;padding-left:0;list-style:initial;display:flex;flex-flow:wrap;gap:24px}.start-ul li[data-v-391b4e37]{margin:0;padding:0;list-style:none;width:calc(50% - 24px);color:var(--scalar-color-2)}.start-ul li[data-v-391b4e37]:first-of-type{margin-top:0}.start-section[data-v-391b4e37]{width:100%;margin-bottom:12px;display:flex;flex-flow:wrap}.start-section[data-v-391b4e37]:last-of-type{margin-bottom:48px}.start-h2[data-v-391b4e37]{background:var(--scalar-background-2);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);border:1px solid var(--scalar-border-color);color:var(--scalar-color-3);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;width:100%}.start-item[data-v-391b4e37]{align-items:center;background:var(--scalar-background-2);border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color);color:var(--scalar-color-1);cursor:pointer;display:flex;flex:1;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;text-transform:capitalize;-webkit-user-select:none;user-select:none}.start-section-integrations .start-item[data-v-391b4e37]:first-of-type{border-bottom-left-radius:var(--scalar-radius-lg);border-left:1px solid var(--scalar-border-color)}.start-section-integrations .start-item[data-v-391b4e37]:last-of-type{border-bottom-right-radius:var(--scalar-radius-lg)}.start-section-colors .start-item[data-v-391b4e37]{min-width:33.33%}.start-section-colors .start-item[data-v-391b4e37]:nth-child(3n+2){border-left:1px solid var(--scalar-border-color)}.start-section-colors .start-item[data-v-391b4e37]:last-of-type,.start-section-colors .start-item-active[data-v-391b4e37]:last-of-type:before{border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.start-item[data-v-391b4e37]:empty{pointer-events:none}.start-item svg[data-v-391b4e37]{width:14px;height:14px;margin-right:6px}.start-item[data-v-391b4e37]:hover{background:var(--scalar-background-3)}.start-item-active[data-v-391b4e37]{z-index:10;position:relative;color:var(--scalar-color-1)}.start-item-active[data-v-391b4e37]:before{border:1px solid var(--scalar-color-1);content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;position:absolute}.start-section-color .start-item[data-v-391b4e37]{text-transform:capitalize}.start-cta[data-v-391b4e37]{display:flex;gap:12px;width:100%;margin-top:24px;margin-bottom:0}.start-row[data-v-391b4e37]{width:100%;margin-top:12px;overflow:hidden}.start-hero-copy[data-v-391b4e37]{background:var(--scalar-background-2);padding:12px;border-radius:var(--scalar-radius-lg)}.start-p-small[data-v-391b4e37]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin-bottom:12px;line-height:1.4}.start-cta[data-v-391b4e37]{margin-bottom:12px;width:fit-content;white-space:nowrap}.start-copy[data-v-391b4e37]{padding:76px 48px 48px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.start-logo[data-v-391b4e37]{color:var(--scalar-color-1);margin-bottom:24px;width:72px;aspect-ratio:1;position:relative;box-shadow:var(--scalar-shadow-2);border-radius:50%}.start-logo[data-v-391b4e37]:before{content:"";width:300%;aspect-ratio:1;left:-100%;top:-100%;position:absolute;z-index:-1;border-radius:50%;background-size:24px 24px;box-shadow:inset 0 0 50px var(--scalar-background-1),inset 0 0 50px var(--scalar-background-1);background-image:linear-gradient(to right,var(--scalar-border-color) 1px,transparent 1px),linear-gradient(to bottom,var(--scalar-border-color) 1px,transparent 1px)}.start-logo svg[data-v-391b4e37]{width:100%;height:auto;background:var(--scalar-background-1);padding:3px;border-radius:50%;position:relative}@media screen and (max-width: 600px){.start-section-colors .start-item[data-v-391b4e37],.start-item[data-v-391b4e37]{width:100%;border-radius:0;border-right:none;border-top:1px solid var(--scalar-border-color)}.start-item[data-v-391b4e37]:empty{display:none}.start-h2[data-v-391b4e37]{border-bottom:none}.start li[data-v-391b4e37]{width:100%}.start-copy[data-v-391b4e37]{padding:48px 0 24px}}@media screen and (max-width: 1000px){.start[data-v-391b4e37]{padding:0;overflow:auto}}.sidebar-heading-type[data-v-f51e2805]{display:block;min-width:3.9em;overflow:hidden;line-height:14px;flex-shrink:0;color:#fff;color:color-mix(in srgb,var(--method-color, var(--scalar-color-1)),transparent 0%);text-transform:uppercase;font-size:10px;font-weight:var(--scalar-bold);text-align:right;position:relative;font-family:var(--scalar-font-code);white-space:nowrap;margin-left:3px}.sidebar-heading[data-v-5a18d101]{display:flex;gap:6px;color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);word-break:break-word;line-height:1.385;max-width:100%;position:relative;cursor:pointer;border-radius:var(--scalar-radius);flex:1;padding-right:9px;-webkit-user-select:none;user-select:none}.sidebar-heading-link-method[data-v-5a18d101]{margin:0}.sidebar-heading.deprecated .sidebar-heading-link-title[data-v-5a18d101]{text-decoration:line-through}.sidebar-heading-link-title[data-v-5a18d101]{margin:0}.sidebar-heading[data-v-5a18d101]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-heading:hover .sidebar-heading-link-title[data-v-5a18d101]{color:var(--scalar-sidebar-item-hover-color)}.active_page.sidebar-heading[data-v-5a18d101]:hover,.active_page.sidebar-heading[data-v-5a18d101]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent));background:var( --scalar-sidebar-item-active-background, var(--scalar-background-accent) )}.active_page.sidebar-heading:hover .sidebar-heading-link-title[data-v-5a18d101]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-5a18d101]:before{content:"";position:absolute;top:0;left:calc((var(--scalar-sidebar-level) * 12px));width:1px;height:100%;background:var(--scalar-sidebar-indent-border)}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-5a18d101]:hover:before{background:var(--scalar-sidebar-indent-border-hover)}.sidebar-indent-nested .sidebar-indent-nested .active_page.sidebar-heading[data-v-5a18d101]:before{background:var(--scalar-sidebar-indent-border-active)}.sidebar-heading-link[data-v-5a18d101]{text-decoration:none;color:inherit;padding:6px 0;display:flex;flex:1;justify-content:space-between;gap:2px}.sidebar-heading p[data-v-5a18d101]{height:fit-content;display:flex;align-items:center}.sidebar-heading p[data-v-5a18d101]:empty{display:none}.link-icon[data-v-5a18d101]{position:relative;left:4px}.sidebar-icon[data-v-5a18d101]{display:flex;align-items:center;justify-content:center;margin-right:6px;width:13px;height:13px}.sidebar-icon>svg[data-v-5a18d101]{width:13px;height:13px}.sidebar-group-item[data-v-5a18d101]{position:relative}.sidebar-heading-chevron[data-v-5a18d101]{margin:5px -5.5px 5px -9px}.toggle-nested-icon[data-v-5a18d101]{border:none;color:currentColor;padding:3px;color:var(--scalar-sidebar-color-2)}.active_page .toggle-nested-icon[data-v-5a18d101]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.toggle-nested-icon[data-v-5a18d101]:hover,.toggle-nested-icon[data-v-5a18d101]:focus-visible{color:currentColor}.action-menu[data-v-5a18d101]{position:absolute;top:5px;right:5px;display:flex;gap:6px}.action-menu[data-v-5a18d101] .button-wrapper button{opacity:0;width:20px;height:20px;padding:4px}.action-menu[data-v-5a18d101]:hover .button-wrapper button,.action-menu[data-v-5a18d101] .button-wrapper button:hover,.sidebar-heading:hover~.action-menu[data-v-5a18d101] .button-wrapper button,.action-menu[data-v-5a18d101] .button-wrapper button[aria-expanded=true]{opacity:1}.sidebar-heading[data-v-5a18d101]:has(~.action-menu:hover){color:var(--scalar-sidebar-color-1, var(--scalar-color-1));background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-group-item__folder[data-v-5a18d101]{color:var(--scalar-sidebar-color-1, var(--scalar-color-1));text-transform:var(--scalar-tag-text-transform, initial)}.sidebar-group[data-v-39c84840]{list-style:none;width:100%;margin:0;padding:0}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading{padding-left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 12px)!important}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading .toggle-nested-icon{left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 2px)!important}:where(.sidebar-indent-nested[data-v-39c84840]) .sidebar-heading{color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}:where(.sidebar-indent-nested[data-v-39c84840]) :where(.sidebar-indent-nested) .sidebar-heading{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.sidebar[data-v-b727cdda]{--scalar-sidebar-indent-base: 12px}.sidebar[data-v-b727cdda]{flex:1;height:100%;display:flex;flex-direction:column;border-right:1px solid var(--scalar-sidebar-border-color, var(--scalar-border-color));background:var(--scalar-sidebar-background-1, var(--scalar-background-1));--scalar-sidebar-level: 0}.sidebar-pages[data-v-b727cdda]{flex:1;padding:9px 12px}@media (max-width: 1000px){.sidebar[data-v-b727cdda]{min-height:0;border-right:none}.sidebar-pages[data-v-b727cdda]{padding-top:12px}}.sidebar-group-title[data-v-b727cdda]{color:var(--scalar-sidebar-color-1);font-size:var(--scalar-mini);padding:12px 6px 6px;font-weight:var(--scalar-semibold);text-transform:uppercase;word-break:break-word;line-height:1.385}.sidebar-group-item+.sidebar-group-title[data-v-b727cdda]{border-top:1px solid var(--scalar-sidebar-border-color);margin-top:9px}.scalar-modal-layout[data-v-b9af10e0]{animation:modal-fade-b9af10e0 .2s forwards}.scalar-modal[data-v-b9af10e0]{animation:modal-pop-b9af10e0 .15s .15s forwards;height:calc(100% - 120px);width:calc(100% - 8px);max-width:1390px;position:fixed;left:0;top:0;bottom:0;right:0;margin:auto}.scalar-modal.scalar-modal-search[data-v-b9af10e0]{max-width:540px;background-color:transparent}.modal-content-search .modal-body[data-v-b9af10e0]{padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:440px}@media (max-width: 1280px){.scalar-modal[data-v-b9af10e0]{height:calc(100% - 56px);top:28px}}@keyframes modal-fade-b9af10e0{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-b9af10e0{0%{opacity:0}to{opacity:1}}@layer scalar-base,scalar-theme;:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:where(.scalar-app) .pointer-events-none{pointer-events:none}:where(.scalar-app) .visible{visibility:visible}:where(.scalar-app) .invisible{visibility:hidden}:where(.scalar-app) .fixed{position:fixed}:where(.scalar-app) .absolute{position:absolute}:where(.scalar-app) .relative{position:relative}:where(.scalar-app) .inset-0{top:0;right:0;bottom:0;left:0}:where(.scalar-app) .left-0{left:0}:where(.scalar-app) .top-0{top:0}:where(.scalar-app) .top-\\[0\\.5px\\]{top:.5px}:where(.scalar-app) .-z-1{z-index:-1}:where(.scalar-app) .z-\\[1001\\]{z-index:1001}:where(.scalar-app) .z-overlay{z-index:10000}:where(.scalar-app) .m-0{margin:0}:where(.scalar-app) .-mx-0{margin-left:-0px;margin-right:-0px}:where(.scalar-app) .-mx-0\\.75{margin-left:-3px;margin-right:-3px}:where(.scalar-app) .mx-2{margin-left:8px;margin-right:8px}:where(.scalar-app) .mx-auto{margin-left:auto;margin-right:auto}:where(.scalar-app) .my-0{margin-top:0;margin-bottom:0}:where(.scalar-app) .my-0\\.75{margin-top:3px;margin-bottom:3px}:where(.scalar-app) .my-3{margin-top:12px;margin-bottom:12px}:where(.scalar-app) .mb-0{margin-bottom:0}:where(.scalar-app) .ml-1{margin-left:4px}:where(.scalar-app) .mr-2{margin-right:8px}:where(.scalar-app) .mr-3{margin-right:12px}:where(.scalar-app) .mt-0{margin-top:0}:where(.scalar-app) .mt-1{margin-top:4px}:where(.scalar-app) .mt-1\\.5{margin-top:6px}:where(.scalar-app) .mt-20{margin-top:80px}:where(.scalar-app) .block{display:block}:where(.scalar-app) .inline-block{display:inline-block}:where(.scalar-app) .flex{display:flex}:where(.scalar-app) .grid{display:grid}:where(.scalar-app) .contents{display:contents}:where(.scalar-app) .hidden{display:none}:where(.scalar-app) .aspect-square{aspect-ratio:1 / 1}:where(.scalar-app) .size-10{width:40px;height:40px}:where(.scalar-app) .size-2{width:8px;height:8px}:where(.scalar-app) .size-2\\.5{width:10px;height:10px}:where(.scalar-app) .size-3{width:12px;height:12px}:where(.scalar-app) .size-3\\.5{width:14px;height:14px}:where(.scalar-app) .size-4{width:16px;height:16px}:where(.scalar-app) .size-5{width:20px;height:20px}:where(.scalar-app) .size-6{width:24px;height:24px}:where(.scalar-app) .size-8{width:32px;height:32px}:where(.scalar-app) .size-full{width:100%;height:100%}:where(.scalar-app) .h-10{height:40px}:where(.scalar-app) .h-4{height:16px}:where(.scalar-app) .h-\\[100dvh\\]{height:100dvh}:where(.scalar-app) .h-full{height:100%}:where(.scalar-app) .h-px{height:1px}:where(.scalar-app) .h-screen{height:100vh}:where(.scalar-app) .max-h-\\[440px\\]{max-height:440px}:where(.scalar-app) .max-h-\\[calc\\(100dvh-240px\\)\\]{max-height:calc(100dvh - 240px)}:where(.scalar-app) .min-h-\\[77px\\]{min-height:77px}:where(.scalar-app) .w-4{width:16px}:where(.scalar-app) .w-40{width:160px}:where(.scalar-app) .w-48{width:192px}:where(.scalar-app) .w-56{width:224px}:where(.scalar-app) .w-\\[100dvw\\]{width:100dvw}:where(.scalar-app) .w-full{width:100%}:where(.scalar-app) .min-w-0{min-width:0px}:where(.scalar-app) .max-w-screen-lg{max-width:800px}:where(.scalar-app) .max-w-screen-md{max-width:640px}:where(.scalar-app) .max-w-screen-sm{max-width:540px}:where(.scalar-app) .max-w-screen-xs{max-width:480px}:where(.scalar-app) .flex-1{flex:1 1 0%}:where(.scalar-app) .origin-top-left{transform-origin:top left}:where(.scalar-app) .rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .cursor-not-allowed{cursor:not-allowed}:where(.scalar-app) .cursor-pointer{cursor:pointer}:where(.scalar-app) .resize-none{resize:none}:where(.scalar-app) .resize{resize:both}:where(.scalar-app) .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}:where(.scalar-app) .flex-col{flex-direction:column}:where(.scalar-app) .flex-wrap{flex-wrap:wrap}:where(.scalar-app) .items-start{align-items:flex-start}:where(.scalar-app) .items-center{align-items:center}:where(.scalar-app) .justify-start{justify-content:flex-start}:where(.scalar-app) .justify-center{justify-content:center}:where(.scalar-app) .justify-between{justify-content:space-between}:where(.scalar-app) .gap-0{gap:0px}:where(.scalar-app) .gap-0\\.75{gap:3px}:where(.scalar-app) .gap-1{gap:4px}:where(.scalar-app) .gap-1\\.5{gap:6px}:where(.scalar-app) .gap-2{gap:8px}:where(.scalar-app) .gap-3{gap:12px}:where(.scalar-app) .gap-4{gap:16px}:where(.scalar-app) .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}:where(.scalar-app) .self-center{align-self:center}:where(.scalar-app) .overflow-hidden{overflow:hidden}:where(.scalar-app) .overflow-y-auto{overflow-y:auto}:where(.scalar-app) .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.scalar-app) .text-wrap{text-wrap:wrap}:where(.scalar-app) .rounded{border-radius:var(--scalar-radius)}:where(.scalar-app) .rounded-full{border-radius:9999px}:where(.scalar-app) .rounded-lg{border-radius:var(--scalar-radius-lg)}:where(.scalar-app) .border{border-width:var(--scalar-border-width)}:where(.scalar-app) .border-0{border-width:0}:where(.scalar-app) .border-solid{border-style:solid}:where(.scalar-app) .border-none{border-style:none}:where(.scalar-app) .border-border{border-color:var(--scalar-border-color)}:where(.scalar-app) .border-c-3{border-color:var(--scalar-color-3)}:where(.scalar-app) .border-error{border-color:var(--scalar-error-color)}:where(.scalar-app) .bg-b-1{background-color:var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{background-color:var(--scalar-background-2)}:where(.scalar-app) .bg-b-btn{background-color:var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{background-color:#00000038}:where(.scalar-app) .bg-blue{background-color:var(--scalar-color-blue)}:where(.scalar-app) .bg-border{background-color:var(--scalar-border-color)}:where(.scalar-app) .bg-error{background-color:var(--scalar-error-color)}:where(.scalar-app) .bg-transparent{background-color:transparent}:where(.scalar-app) .stroke-\\[0\\.92\\]{stroke-width:.92}:where(.scalar-app) .stroke-\\[0\\.96\\]{stroke-width:.96}:where(.scalar-app) .stroke-\\[0\\.9\\]{stroke-width:.9}:where(.scalar-app) .stroke-\\[1\\.1\\]{stroke-width:1.1}:where(.scalar-app) .stroke-\\[1\\.2\\]{stroke-width:1.2}:where(.scalar-app) .stroke-\\[1\\.4\\]{stroke-width:1.4}:where(.scalar-app) .stroke-\\[1\\.75\\]{stroke-width:1.75}:where(.scalar-app) .p-0{padding:0}:where(.scalar-app) .p-0\\.5{padding:2px}:where(.scalar-app) .p-0\\.75{padding:3px}:where(.scalar-app) .p-1{padding:4px}:where(.scalar-app) .p-2{padding:8px}:where(.scalar-app) .p-3{padding:12px}:where(.scalar-app) .p-\\[3px\\]{padding:3px}:where(.scalar-app) .px-1{padding-left:4px;padding-right:4px}:where(.scalar-app) .px-2{padding-left:8px;padding-right:8px}:where(.scalar-app) .px-2\\.5{padding-left:10px;padding-right:10px}:where(.scalar-app) .px-3{padding-left:12px;padding-right:12px}:where(.scalar-app) .px-4{padding-left:16px;padding-right:16px}:where(.scalar-app) .px-6{padding-left:24px;padding-right:24px}:where(.scalar-app) .px-9{padding-left:36px;padding-right:36px}:where(.scalar-app) .py-1{padding-top:4px;padding-bottom:4px}:where(.scalar-app) .py-1\\.5{padding-top:6px;padding-bottom:6px}:where(.scalar-app) .py-3{padding-top:12px;padding-bottom:12px}:where(.scalar-app) .py-4{padding-top:16px;padding-bottom:16px}:where(.scalar-app) .pb-0{padding-bottom:0}:where(.scalar-app) .pb-4{padding-bottom:16px}:where(.scalar-app) .pt-3{padding-top:12px}:where(.scalar-app) .pt-6{padding-top:24px}:where(.scalar-app) .text-left{text-align:left}:where(.scalar-app) .font-code{font-family:var(--scalar-font-code)}:where(.scalar-app) .text-lg{font-size:var(--scalar-font-size-2)}:where(.scalar-app) .text-sm{font-size:var(--scalar-font-size-4)}:where(.scalar-app) .text-xs{font-size:var(--scalar-font-size-5)}:where(.scalar-app) .text-xxs{font-size:var(--scalar-font-size-6)}:where(.scalar-app) .font-bold{font-weight:var(--scalar-bold)}:where(.scalar-app) .font-medium{font-weight:var(--scalar-semibold)}:where(.scalar-app) .font-normal{font-weight:var(--scalar-regular)}:where(.scalar-app) .leading-snug{line-height:1.375}:where(.scalar-app) .text-b-1{color:var(--scalar-background-1)}:where(.scalar-app) .text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .text-c-2{color:var(--scalar-color-2)}:where(.scalar-app) .text-c-3{color:var(--scalar-color-3)}:where(.scalar-app) .text-c-btn{color:var(--scalar-button-1-color)}:where(.scalar-app) .text-c-ghost{color:var(--scalar-color-ghost)}:where(.scalar-app) .text-error{color:var(--scalar-error-color)}:where(.scalar-app) .text-transparent{color:transparent}:where(.scalar-app) .text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where(.scalar-app) .no-underline{text-decoration-line:none}:where(.scalar-app) .opacity-0{opacity:0}:where(.scalar-app) .opacity-50{opacity:.5}:where(.scalar-app) .shadow{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-lg{--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-md{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-sm{--tw-shadow:rgba(0, 0, 0, .09) 0px 1px 4px;--tw-shadow-colored:0px 1px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-current{--tw-shadow-color:currentColor;--tw-shadow:var(--tw-shadow-colored)}:where(.scalar-app) .outline-none{outline:2px solid transparent;outline-offset:2px}:where(.scalar-app) .outline{outline-style:solid}:where(.scalar-app) .blur{--tw-blur:blur(8px);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)}:where(.scalar-app) .brightness-lifted{--tw-brightness:brightness(var(--scalar-lifted-brightness));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)}:where(.scalar-app) .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)}:where(.scalar-app) .transition{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);transition-duration:.15s}:where(.scalar-app) .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:where(.scalar-app) .bg-b-1{--tw-bg-base:var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{--tw-bg-base:var(--scalar-background-2)}:where(.scalar-app) .bg-b-btn{--tw-bg-base:var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{--tw-bg-base:rgba(0, 0, 0, .22)}:where(.scalar-app) .bg-blue{--tw-bg-base:var(--scalar-color-blue)}:where(.scalar-app) .bg-border{--tw-bg-base:var(--scalar-border-color)}:where(.scalar-app) .bg-error{--tw-bg-base:var(--scalar-error-color)}:where(.scalar-app) .bg-transparent{--tw-bg-base:transparent}:where(.scalar-app) .row,:where(.scalar-app) .scalar-row{display:flex;flex-direction:row}:where(.scalar-app) .col{display:flex;flex-direction:column}:where(.scalar-app) .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .before\\:mr-1:before{content:var(--tw-content);margin-right:4px}:where(.scalar-app) .before\\:mr-1\\.5:before{content:var(--tw-content);margin-right:6px}:where(.scalar-app) .before\\:block:before{content:var(--tw-content);display:block}:where(.scalar-app) .before\\:h-4:before{content:var(--tw-content);height:16px}:where(.scalar-app) .before\\:w-4:before{content:var(--tw-content);width:16px}:where(.scalar-app) .before\\:rounded-full:before{content:var(--tw-content);border-radius:9999px}:where(.scalar-app) .before\\:bg-error:before{content:var(--tw-content);background-color:var(--scalar-error-color)}:where(.scalar-app) .before\\:text-center:before{content:var(--tw-content);text-align:center}:where(.scalar-app) .before\\:text-xxs:before{content:var(--tw-content);font-size:var(--scalar-font-size-6)}:where(.scalar-app) .before\\:leading-4:before{content:var(--tw-content);line-height:var(--scalar-line-height-4)}:where(.scalar-app) .before\\:text-white:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where(.scalar-app) .before\\:content-\\[\\\'\\!\\\'\\]:before{--tw-content:"!";content:var(--tw-content)}:where(.scalar-app) .before\\:bg-error:before{content:var(--tw-content);--tw-bg-base:var(--scalar-error-color)}:where(.scalar-app) .first-of-type\\:mt-0:first-of-type{margin-top:0}:where(.scalar-app) .first-of-type\\:mt-0\\.75:first-of-type{margin-top:3px}:where(.scalar-app) .last-of-type\\:mb-0:last-of-type{margin-bottom:0}:where(.scalar-app) .last-of-type\\:mb-0\\.75:last-of-type{margin-bottom:3px}:where(.scalar-app) .empty\\:hidden:empty{display:none}:where(.scalar-app) .focus-within\\:border-c-1:focus-within{border-color:var(--scalar-color-1)}:where(.scalar-app) .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}:where(.scalar-app) .hover\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hover\\:bg-b-2:hover{--tw-bg-base:var(--scalar-background-2)}:where(.scalar-app) .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}:where(.scalar-app) .active\\:text-c-1:active{color:var(--scalar-color-1)}:where(.scalar-app) .active\\:shadow-none:active{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .active\\:brightness-90:active{--tw-brightness:brightness(.9);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)}:where(.scalar-app) .active\\:bg-b-btn:active{--tw-bg-base:var(--scalar-button-1)}:where(.scalar-app) .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}:where(.scalar-app) .ui-open\\:rotate-180[data-headlessui-state~=open]{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) :where([data-headlessui-state~=open]) .ui-open\\:rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .has-actv-btn\\:border:has(button:active){border-width:var(--scalar-border-width)}:where(.scalar-app) .has-actv-btn\\:border-border:has(button:active){border-color:var(--scalar-border-color)}:where(.scalar-app) .\\!empty\\:flex:not(:empty){display:flex}:where(.scalar-app) .\\!empty\\:w-7:not(:empty){width:28px}:where(.scalar-app) .\\!empty\\:items-center:not(:empty){align-items:center}:where(.scalar-app) .\\!empty\\:pr-3:not(:empty){padding-right:12px}:where(.scalar-app) .hocus\\:bg-border:hover{background-color:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:hover{--tw-brightness:brightness(.9);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)}:where(.scalar-app) .hocus\\:bg-border:hover{--tw-bg-base:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:hover{--tw-bg-base:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:bg-border:focus-visible{background-color:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:focus-visible{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:text-c-1:focus-visible{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:focus-visible{--tw-brightness:brightness(.9);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)}:where(.scalar-app) .hocus\\:bg-border:focus-visible{--tw-bg-base:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:focus-visible{--tw-bg-base:var(--scalar-button-1-hover)}@media (min-width: 800px){:where(.scalar-app) .md\\:row{display:flex;flex-direction:row}}.loader-wrapper[data-v-47faceda]{position:relative;height:var(--d6cae758);width:var(--d6cae758);display:flex;align-items:center;justify-content:center;--loader-size: 50%}.svg-loader[data-v-47faceda]{width:var(--loader-size);height:var(--loader-size);top:1rem;right:.9rem;overflow:visible;fill:none;background-color:transparent;stroke:currentColor}.svg-path[data-v-47faceda]{stroke-width:14;fill:none;transition:.3s}.svg-x-mark[data-v-47faceda]{stroke-dasharray:57;stroke-dashoffset:57;transition-delay:0s}.svg-check-mark[data-v-47faceda]{stroke-dasharray:149;stroke-dashoffset:149;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-47faceda],.icon-is-valid .svg-check-mark[data-v-47faceda]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-47faceda]{animation:rotate-47faceda .7s linear infinite,fade-in-47faceda .4s;transform-origin:center center;transform:scale(5);background:transparent}.loader-path[data-v-47faceda]{stroke-dasharray:50,200;stroke-dashoffset:-100;stroke-linecap:round}.loader-path-off[data-v-47faceda]{stroke-dasharray:50,200;stroke-dashoffset:-100;transition:opacity .3s;opacity:0}@keyframes fade-in-47faceda{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-47faceda{0%{transform:scale(5) rotate(0)}to{transform:scale(5) rotate(360deg)}}.scalar-codeblock-pre{margin:0;padding:.5rem;overflow:auto;background:transparent;text-wrap:nowrap;white-space-collapse:preserve;border-radius:0}.scalar-app code.hljs *{font-size:var(--scalar-small);font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.scalar-app code.hljs{font-size:var(--scalar-small);font-family:var(--scalar-font-code);display:inline-block;counter-reset:linenumber}.scalar-app .hljs{background:transparent;color:var(--scalar-color-2)}.scalar-app .hljs .line:before{color:var(--scalar-color-3);display:inline-block;counter-increment:linenumber;content:counter(linenumber);margin-right:.7em;min-width:calc(var(--line-digits) * 1ch);text-align:right}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credentials{font-size:0!important;color:transparent}.scalar-app .credentials:after{content:"·····";font-size:var(--scalar-small);color:var(--scalar-color-3);-webkit-user-select:none;-moz-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-keyword{color:var(--scalar-color-orange)}.hljs.language-curl .hljs-string{color:var(--scalar-color-1)}.hljs.language-curl .hljs-literal,.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{font-family:var(--scalar-font);color:var(--scalar-color-1);word-break:break-word}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6,.scalar-app .markdown p,.scalar-app .markdown div,.scalar-app .markdown img,.scalar-app .markdown details,.scalar-app .markdown summary,.scalar-app .markdown ul,.scalar-app .markdown ol,.scalar-app .markdown table,.scalar-app .markdown blockquote,.scalar-app .markdown code{margin:12px 0}.scalar-app .markdown details{margin:12px 0;color:var(--scalar-color-1)}.scalar-app .markdown summary{display:block;margin:12px 0;padding-left:20px;position:relative;font-weight:var(--scalar-semibold);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown summary:hover:after{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open] summary:after{transform:rotate(90deg)}.scalar-app .markdown summary::-webkit-details-marker{display:none}.scalar-app .markdown img{overflow:hidden;border-radius:var(--scalar-radius);max-width:100%}.scalar-app .markdown>:first-child{margin-top:0}.scalar-app .markdown h1{--font-size: 1.4em}.scalar-app .markdown h2{--font-size: 1.25em}.scalar-app .markdown h3{--font-size: 1.1em}.scalar-app .markdown h4,.scalar-app .markdown h6{--font-size: 1em}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:var(--font-size);margin:18px 0 6px;font-weight:var(--scalar-bold);display:block;line-height:1.45}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:var(--scalar-color-1);font-weight:var(--font-weight, var(--scalar-regular));line-height:1.5;margin-bottom:0;display:block}.scalar-app .markdown ul,.scalar-app .markdown ol{padding-left:24px;line-height:1.5;margin:12px 0;display:block}.scalar-app .markdown ul{list-style:disc}.scalar-app .markdown ol{list-style:decimal}.scalar-app .markdown ul.contains-task-list{list-style:none;padding-left:0}.scalar-app .markdown li{margin:6px 0;display:list-item}.scalar-app .markdown a{color:var(--scalar-color-accent);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);cursor:pointer}.scalar-app .markdown a:hover{-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup{font-size:var(--scalar-micro);vertical-align:super;font-weight:450}.scalar-app .markdown sub{font-size:var(--scalar-micro);vertical-align:sub;font-weight:450}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 1px var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:2px;padding:0 3px}.scalar-app .markdown pre code{display:block;white-space:pre;padding:12px;line-height:1.5;margin:12px 0;-webkit-overflow-scrolling:touch;overflow-x:auto;max-width:100%;min-width:100px}.scalar-app .markdown hr{border:none;border-bottom:1px solid var(--scalar-border-color)}.scalar-app .markdown img{max-height:150px;border-radius:var(--scalar-radius)}.scalar-app .markdown blockquote{border-left:3px solid var(--scalar-border-color);padding-left:12px;margin:0;display:block}.scalar-app .markdown table{display:block;overflow-x:auto;position:relative;border-collapse:collapse;width:-moz-max-content;width:max-content;max-width:100%;margin:1em 0;box-shadow:0 0 0 1px var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.scalar-app .markdown tbody{display:table-row-group;vertical-align:middle}.scalar-app .markdown thead{display:table-header-group;vertical-align:middle}.scalar-app .markdown tr{display:table-row;border-color:inherit;vertical-align:inherit}.scalar-app .markdown td,.scalar-app .markdown th{display:table-cell;vertical-align:inherit;min-width:1em;padding:6px 9px;vertical-align:top;line-height:1.5;position:relative;word-break:initial;font-size:var(--scalar-small);color:var(--scalar-color-1);font-weight:var(--font-weight, var(--scalar-regular));border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color)}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-semibold)!important;text-align:left;border-left-color:transparent;background:var(--scalar-background-2)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.scalar-input-wrapper-focus .scalar-input-label[data-v-94574cc9]{color:var(--scalar-color-1)}.scalar-input-wrapper-error .scalar-input-label[data-v-94574cc9]{color:var(--scalar-color-error-color)}.scalar-input[data-v-94574cc9]::-moz-selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-94574cc9]::selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-94574cc9]:has(+.scalar-input-label){opacity:0}.scalar-input[data-v-94574cc9]:not(:-moz-placeholder-shown){opacity:1;-moz-transition:opacity .2s ease-in-out .15s;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-94574cc9]:not(:placeholder-shown),.scalar-input-wrapper-focus .scalar-input[data-v-94574cc9]{opacity:1;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-94574cc9]:-webkit-autofill,.scalar-input[data-v-94574cc9]:-webkit-autofill:hover,.scalar-input[data-v-94574cc9]:-webkit-autofill:focus,.scalar-input[data-v-94574cc9]:-webkit-autofill:active,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill:hover,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill:focus,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill:active{-webkit-box-shadow:0 0 0px 1000px var(--scalar-background-1) inset!important;-webkit-text-fill-color:var(--scalar-color-1);color:var(--scalar-color-1);border-radius:var(--scalar-radius)}.scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label[data-v-94574cc9]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus .scalar-input-label[data-v-94574cc9],.scalar-input:not(:placeholder-shown)+.scalar-input-label[data-v-94574cc9]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus:has(button:active) .scalar-input-label[data-v-94574cc9]{color:var(--scalar-color-3)!important}@layer scalar-base,scalar-theme;:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}:where(.scalar-app) *,:where(.scalar-app) *:before,:where(.scalar-app) *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color);font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:unset;font-weight:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea,:where(.scalar-app) ::file-selector-button{background:transparent}:where(.scalar-app) input:where(:not([type=button],[type=reset],[type=submit])),:where(.scalar-app) select,:where(.scalar-app) textarea{border-radius:var(--scalar-radius);border-width:1px}:where(.scalar-app) input::placeholder,:where(.scalar-app) input:-ms-input-placeholder,:where(.scalar-app) input::-webkit-input-placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{outline:1px solid var(--scalar-color-accent);outline-offset:1px}.scalar-app .cm-scroller,.scalar-app .custom-scroll{overflow-y:auto;scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover{scrollbar-color:var(--scalar-scrollbar-color, transparent)}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb,.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active,.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-corner,.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar,.scalar-app .custom-scroll::-webkit-scrollbar{height:12px;width:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track,.scalar-app .custom-scroll::-webkit-scrollbar-track{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb,.scalar-app .custom-scroll::-webkit-scrollbar-thumb{border-radius:20px;background:transparent;background-clip:content-box;border:3px solid transparent}@media (pointer: coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}}@layer scalar-base{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-4ada381d]{--refs-sidebar-width: var(--scalar-sidebar-width, 0px);--refs-header-height: calc( var(--scalar-y-offset) + var(--scalar-header-height, 0px) );--refs-content-max-width: var(--scalar-content-max-width, 1540px)}.scalar-api-reference.references-classic[data-v-4ada381d]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-4ada381d]{min-height:100dvh;min-width:100%;max-width:100%;flex:1;--full-height: 100dvh;display:grid;grid-template-rows:var(--scalar-header-height, 0px) repeat(2,auto);grid-template-columns:var(--refs-sidebar-width) 1fr;grid-template-areas:"header header" "navigation rendered" "footer footer";background:var(--scalar-background-1)}.references-header[data-v-4ada381d]{grid-area:header;position:sticky;top:var(--scalar-custom-header-height, 0px);z-index:10;height:var(--scalar-header-height, 0px)}.references-editor[data-v-4ada381d]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-4ada381d]{grid-area:navigation}.references-rendered[data-v-4ada381d]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-4ada381d],.references-classic .references-rendered[data-v-4ada381d]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-4ada381d]{position:sticky;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));background:var(--scalar-sidebar-background-1 var(--scalar-background-1));overflow-y:auto;display:flex;flex-direction:column}.references-editor-textarea[data-v-4ada381d]{position:sticky;top:var(--refs-header-height);height:calc(var(--full-height) - var(--refs-header-height));display:flex;min-width:0;flex:1}.references-editable[data-v-4ada381d]{grid-template-columns:var(--refs-sidebar-width) 1fr 1fr;grid-template-areas:"header header header" "navigation editor rendered" "footer footer footer"}@layer scalar-config{.references-sidebar[data-v-4ada381d]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-4ada381d]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-4ada381d]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-4ada381d]{grid-template-columns:auto;grid-template-rows:var(--scalar-header-height, 0px) 0px auto auto;grid-template-areas:"header" "navigation" "rendered" "footer"}.references-editable[data-v-4ada381d]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-4ada381d],.references-rendered[data-v-4ada381d]{max-height:unset}.references-rendered[data-v-4ada381d]{position:static}.references-navigation[data-v-4ada381d]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-4ada381d]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-4ada381d]{position:absolute;top:-1px;height:calc(var(--full-height) - var(--refs-header-height) + 1px);width:100%;border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}}.references-classic-header[data-v-a860f78f]{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-container[data-v-a860f78f]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-a860f78f]{padding:12px 24px}.references-classic-header-container[data-v-a860f78f]{padding:0}}.references-classic-header-icon[data-v-a860f78f]{height:24px;color:var(--scalar-color-1)}.darklight[data-v-559a0a79]{font-family:var(--scalar-font);border:none;border-top:1px solid var(--scalar-sidebar-border-color, var(--scalar-border-color));color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;outline:none;padding:18px 24px 0;display:flex;align-items:center;text-indent:9px;width:100%}.darklight-reference[data-v-559a0a79]{width:100%;margin-top:auto}.darklight[data-v-559a0a79]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}.darklight svg[data-v-559a0a79]{stroke:currentColor;height:12px;width:12px}.darklight-reference-promo[data-v-559a0a79]{padding:6px 24px 12px;display:flex;align-items:center;font-size:var(--scalar-mini);text-decoration:none;color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.darklight-reference-promo[data-v-559a0a79]:hover{text-decoration:underline}.darklight[data-v-8f61ca56]{color:var(--scalar-sidebar-color-2, var(--scalar-color-2));display:flex;align-items:center;height:24px;width:24px;padding:4px}.darklight[data-v-8f61ca56]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}a[data-v-9def0ef3]{text-decoration:none}.ref-search-container[data-v-9def0ef3]{display:flex;flex-direction:column;padding:12px 12px 0}.ref-search-results[data-v-9def0ef3]{padding:12px}.ref-search-meta[data-v-9def0ef3]{background:var(--scalar-background-3);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px}.sidebar-search[data-v-37498e26]{display:flex;align-items:center;position:relative;padding:0 3px 0 9px;min-width:254px;max-width:100%;font-family:var(--scalar-font);background:var( --scalar-sidebar-search-background, var(--scalar-background-1) );color:var(--scalar-sidebar-color-2, var(--scalar-color-2));outline:none;border-radius:var(--scalar-radius);box-shadow:0 0 0 1px var(--scalar-sidebar-search-border-color, var(--scalar-border-color));cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none}.sidebar-search-input[data-v-37498e26]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);height:31px;-webkit-user-select:none;user-select:none;z-index:10;position:relative;display:flex;width:100%;justify-content:space-between;align-items:center}.sidebar-search-shortcut[data-v-37498e26]{text-transform:uppercase}.sidebar-search-key[data-v-37498e26]{background-color:var(--scalar-background-2);padding:3px 5px;margin:2px;border-radius:var(--scalar-radius);color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.search-icon[data-v-37498e26]{padding:0;margin-right:6px;width:12px}.references-mobile-header[data-v-b5fb4b8b]{display:none;align-items:center;height:100%;width:100%;padding:0 8px;background:var(--scalar-background-1);border-bottom:1px solid var(--scalar-border-color)}.references-mobile-breadcrumbs[data-v-b5fb4b8b]{flex:1;min-width:0;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.references-mobile-header-actions[data-v-b5fb4b8b]{display:flex;flex-direction:row;gap:4px;height:24px;align-items:center;padding-left:4px}@media (max-width: 1000px){.references-mobile-header[data-v-b5fb4b8b]{display:flex}}@media (max-width: 1000px){.scalar-api-references-standalone-mobile{--scalar-header-height: 50px}}.scalar-api-references-standalone-search[data-v-273f5da8]{display:flex;flex-direction:column;padding:12px 12px 6px}body{margin:0}.dragover-asChild,.dragover-above,.dragover-below{position:relative}.dragover-above:after,.dragover-below:after{content:"";position:absolute;top:-1.5px;height:3px;width:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below:after{top:initial;bottom:-1.5px}.dragover-asChild:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t,r=Object.defineProperty,n=(e,t,n)=>((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);function a(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;"object"==typeof o&&null!==o?a(o,t,i):"function"==typeof o&&(t[i]=o)}return t}const o={run:e=>e()},i=void 0!==console.createTask?console.createTask:()=>o;function s(e,t){const r=t.shift(),n=i(r);return e.reduce(((e,r)=>e.then((()=>n.run((()=>r(...t)))))),Promise.resolve())}function l(e,t){const r=t.shift(),n=i(r);return Promise.all(e.map((e=>n.run((()=>e(...t))))))}function c(e,t){for(const r of[...e])r(t)}class u{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,r={}){if(!e||"function"!=typeof t)return()=>{};const n=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!r.allowDeprecated){let e=a.message;e||(e=`${n} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let r,n=(...e)=>("function"==typeof r&&r(),r=void 0,n=void 0,t(...e));return r=this.hook(e,n),r}removeHook(e,t){if(this._hooks[e]){const r=this._hooks[e].indexOf(t);-1!==r&&this._hooks[e].splice(r,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const r=this._hooks[e]||[];delete this._hooks[e];for(const t of r)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=a(e),r=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of r.splice(0,r.length))e()}}removeHooks(e){const t=a(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(s,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(l,e,...t)}callHookWith(e,t,...r){const n=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&c(this._before,n);const a=e(t in this._hooks?[...this._hooks[t]]:[],r);return a instanceof Promise?a.finally((()=>{this._after&&n&&c(this._after,n)})):(this._after&&n&&c(this._after,n),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const d=["title","titleTemplate","script","style","noscript"],p=["base","meta","link","style","script","noscript"],h=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],f=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],m=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],g="undefined"!=typeof window;function b(e){let t=9;for(let r=0;r>>9)).toString(16).substring(1,8).toLowerCase()}function v(e){return e._h||b(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map((([e,t])=>`${e}:${String(t)}`)).join(",")}`)}function O(e,t){const{props:r,tag:n}=e;if(f.includes(n))return n;if("link"===n&&"canonical"===r.rel)return"canonical";if(r.charset)return"charset";const a=["id"];"meta"===n&&a.push("name","property","http-equiv");for(const e of a)if(void 0!==r[e])return`${n}:${e}:${String(r[e])}`;return!1}function y(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function w(e,t){const r=[],n=t.resolveKeyData||(e=>e.key),a=t.resolveValueData||(e=>e.value);for(const[o,i]of Object.entries(e))r.push(...(Array.isArray(i)?i:[i]).map((e=>{const r={key:o,value:e},i=a(r);return"object"==typeof i?w(i,t):Array.isArray(i)?i:{["function"==typeof t.key?t.key(r):t.key]:n(r),["function"==typeof t.value?t.value(r):t.value]:i}})).flat());return r}function x(e,t){return Object.entries(e).map((([e,r])=>{if("object"==typeof r&&(r=x(r,t)),t.resolve){const n=t.resolve({key:e,value:r});if(void 0!==n)return n}return"number"==typeof r&&(r=r.toString()),"string"==typeof r&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${r}`})).join(t.entrySeparator||"")}const k=e=>({keyValue:e,metaKey:"property"}),_=e=>({keyValue:e}),S={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${A(e)}=${t}`}},articleExpirationTime:k("article:expiration_time"),articleModifiedTime:k("article:modified_time"),articlePublishedTime:k("article:published_time"),bookReleaseDate:k("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${A(e)} ${t}`},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:k("fb:app_id"),msapplicationConfig:_("msapplication-Config"),msapplicationTileColor:_("msapplication-TileColor"),msapplicationTileImage:_("msapplication-TileImage"),ogAudioSecureUrl:k("og:audio:secure_url"),ogAudioUrl:k("og:audio"),ogImageSecureUrl:k("og:image:secure_url"),ogImageUrl:k("og:image"),ogSiteName:k("og:site_name"),ogVideoSecureUrl:k("og:video:secure_url"),ogVideoUrl:k("og:video"),profileFirstName:k("profile:first_name"),profileLastName:k("profile:last_name"),profileUsername:k("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if("seconds"===e)return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?`${A(e)}`:`${A(e)}:${t}`}},xUaCompatible:{metaKey:"http-equiv"}},E=["og","book","article","profile"];function T(e){var t;const r=A(e).split(":")[0];return E.includes(r)?"property":(null==(t=S[e])?void 0:t.metaKey)||"name"}function A(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.split("-")[0];return E.includes(r)||"twitter"===r?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function C(e){if(Array.isArray(e))return e.map((e=>C(e)));if("object"!=typeof e||Array.isArray(e))return e;const t={};for(const[r,n]of Object.entries(e))t[A(r)]=C(n);return t}function P(e,t){const r=S[t];return"refresh"===t?`${e.seconds};url=${e.url}`:x(C(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,...null==r?void 0:r.unpack})}const D=["og:image","og:video","og:audio","twitter:image"];function R(e){const t={};return Object.entries(e).forEach((([e,r])=>{"false"!==String(r)&&e&&(t[e]=r)})),t}function N(e,t){const r=R(t),n=A(e),a=T(n);if(D.includes(n)){const t={};return Object.entries(r).forEach((([r,n])=>{t[`${e}${"url"===r?"":`${r.charAt(0).toUpperCase()}${r.slice(1)}`}`]=n})),$(t).sort(((e,t)=>{var r,n;return((null==(r=e[a])?void 0:r.length)||0)-((null==(n=t[a])?void 0:n.length)||0)}))}return[{[a]:n,...r}]}function $(e){const t=[],r={};Object.entries(e).forEach((([e,n])=>{if(Array.isArray(n))n.forEach((r=>{t.push(..."string"==typeof r?$({[e]:r}):N(e,r))}));else if("object"==typeof n&&n){if(D.includes(A(e)))return void t.push(...N(e,n));r[e]=R(n)}else r[e]=n}));const n=w(r,{key:({key:e})=>T(e),value:({key:e})=>"charset"===e?"charset":"content",resolveKeyData:({key:e})=>function(e){var t;return(null==(t=S[e])?void 0:t.keyValue)||A(e)}(e),resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?P(e,t):"number"==typeof e?e.toString():e});return[...t,...n].map((e=>("_null"===e.content&&(e.content=null),e)))}function I(e,t){var r;const n="class"===e?" ":";";return"object"!=typeof t||Array.isArray(t)||(t=Object.entries(t).filter((([,e])=>e)).map((([t,r])=>"style"===e?`${t}:${r}`:t))),null==(r=String(Array.isArray(t)?t.join(n):t))?void 0:r.split(n).filter((e=>e.trim())).filter(Boolean).join(n)}async function M(e,t){for(const r of Object.keys(e))if(["class","style"].includes(r))e[r]=I(r,e[r]);else if(e[r]instanceof Promise&&(e[r]=await e[r]),!t&&!m.includes(r)){const t=String(e[r]),n=r.startsWith("data-");"true"===t||""===t?e[r]=!n||"true":e[r]||(n&&"false"===t?e[r]="false":delete e[r])}return e}const L=10;async function Q(e){const t=[];return Object.entries(e.resolvedInput).filter((([e,t])=>void 0!==t&&h.includes(e))).forEach((([r,n])=>{const a=function(e){return Array.isArray(e)?e:[e]}(n);t.push(...a.map((t=>async function(e,t,r){const n={tag:e,props:await M("object"!=typeof t||"function"==typeof t||t instanceof Promise?{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t}:{...t},["templateParams","titleTemplate"].includes(e))};return m.forEach((e=>{const t=void 0!==n.props[e]?n.props[e]:r[e];void 0!==t&&(["innerHTML","textContent","children"].includes(e)&&!d.includes(n.tag)||(n["children"===e?"innerHTML":e]=t),delete n.props[e])})),n.props.body&&(n.tagPosition="bodyClose",delete n.props.body),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map((e=>({...n,props:{...n.props,content:e}}))):n}(r,t,e))).flat())})),(await Promise.all(t)).flat().filter(Boolean).map(((t,r)=>(t._e=e._i,e.mode&&(t._m=e.mode),t._p=(e._i<{const n=function(e){let r;return r=["s","pageTitle"].includes(e)?t.pageTitle:e.includes(".")?e.split(".").reduce(((e,t)=>e&&e[t]||void 0),t):t[e],void 0!==r&&(r||"").replace(/"/g,'\\"')}(r.slice(1));"string"==typeof n&&(e=e.replace(new RegExp(`\\${r}(\\W|$)`,"g"),((e,t)=>`${n}${t}`)).trim())})),e.includes(q)&&(e.endsWith(q)&&(e=e.slice(0,-10).trim()),e.startsWith(q)&&(e=e.slice(10).trim()),e=Z(e=e.replace(new RegExp(`\\${q}\\s*\\${q}`,"g"),q),{separator:r},r)),e}function H(e){return t=>{var r,n;const a=(null==(n=null==(r=t.resolvedOptions.document)?void 0:r.head.querySelector('script[id="unhead:payload"]'))?void 0:n.innerHTML)||!1;return a&&t.push(JSON.parse(a)),{mode:"client",hooks:{"entries:updated":function(t){!async function(e,t={}){const r=t.delayFn||(e=>setTimeout(e,10));e._domUpdatePromise=e._domUpdatePromise||new Promise((n=>r((async()=>{await async function(e,t={}){var r;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const a={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const o=(await e.resolveTags()).map((e=>({tag:e,id:p.includes(e.tag)?v(e):e.tag,shouldRender:!0})));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const e of["body","head"]){const t=null==(r=n[e])?void 0:r.children,a=[];for(const e of[...t].filter((e=>p.includes(e.tagName.toLowerCase())))){const t={tag:e.tagName.toLowerCase(),props:await M(e.getAttributeNames().reduce(((t,r)=>({...t,[r]:e.getAttribute(r)})),{})),innerHTML:e.innerHTML};let r=1,n=O(t);for(;n&&a.find((e=>e._d===n));)n=`${n}:${r++}`;t._d=n||void 0,a.push(t),i.elMap[e.getAttribute("data-hid")||v(t)]=e}}}function s(e,t,r){const n=`${e}:${t}`;i.sideEffects[n]=r,delete i.pendingSideEffects[n]}function l({id:e,$el:t,tag:r}){const a=r.tag.endsWith("Attrs");i.elMap[e]=t,a||(["textContent","innerHTML"].forEach((e=>{r[e]&&r[e]!==t[e]&&(t[e]=r[e])})),s(e,"el",(()=>{var t;null==(t=i.elMap[e])||t.remove(),delete i.elMap[e]})));for(const[e,a]of Object.entries(r._eventHandlers||{}))""!==t.getAttribute(`data-${e}`)&&(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(e.replace("on",""),a.bind(t)),t.setAttribute(`data-${e}`,""));Object.entries(r.props).forEach((([r,n])=>{const o=`attr:${r}`;if("class"===r)for(const r of(n||"").split(" ").filter(Boolean))a&&s(e,`${o}:${r}`,(()=>t.classList.remove(r))),!t.classList.contains(r)&&t.classList.add(r);else if("style"===r)for(const r of(n||"").split(";").filter(Boolean)){const[n,...a]=r.split(":").map((e=>e.trim()));s(e,`${o}:${r}:${n}`,(()=>{t.style.removeProperty(n)})),t.style.setProperty(n,a.join(":"))}else t.getAttribute(r)!==n&&t.setAttribute(r,!0===n?"":String(n)),a&&s(e,o,(()=>t.removeAttribute(r)))}))}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const e of o){const{tag:t,shouldRender:r,id:a}=e;r&&("title"!==t.tag?(e.$el=e.$el||i.elMap[a],e.$el?l(e):p.includes(t.tag)&&c.push(e)):n.title=t.textContent)}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),l(e),u[t]=u[t]||n.createDocumentFragment(),u[t].appendChild(e.$el)}for(const t of o)await e.hooks.callHook("dom:renderTag",t,n,s);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(i.pendingSideEffects).forEach((e=>e())),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}(e,t),delete e._domUpdatePromise,n()}))))}(t,e)}}}}}const V=["templateParams","htmlAttrs","bodyAttrs"],W={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach((t=>{e.props[t]&&(e.key=e.props[t],delete e.props[t])}));const t=O(e)||!!e.key&&`${e.tag}:${e.key}`;t&&(e._d=t)},"tags:resolve":function(e){const t={};e.tags.forEach((e=>{const r=(e.key?`${e.tag}:${e.key}`:e._d)||e._p,n=t[r];if(n){let a=null==e?void 0:e.tagDuplicateStrategy;if(!a&&V.includes(e.tag)&&(a="merge"),"merge"===a){const a=n.props;return["class","style"].forEach((t=>{a[t]&&(e.props[t]?("style"!==t||a[t].endsWith(";")||(a[t]+=";"),e.props[t]=`${a[t]} ${e.props[t]}`):e.props[t]=a[t])})),void(t[r].props={...a,...e.props})}if(e._e===n._e)return n._duped=n._duped||[],e._d=`${n._d}:${n._duped.length+1}`,void n._duped.push(e);if(U(e)>U(n))return}const a=Object.keys(e.props).length+(e.innerHTML?1:0)+(e.textContent?1:0);p.includes(e.tag)&&0===a?delete t[r]:t[r]=e}));const r=[];Object.values(t).forEach((e=>{const t=e._duped;delete e._duped,r.push(e),t&&r.push(...t)})),e.tags=r,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))}}},X={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter((e=>["titleTemplate","templateParams","title"].includes(e.tag)&&"server"===e._m)).forEach((e=>{t[e.tag]=e.tag.startsWith("title")?e.textContent:e.props})),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Y=["script","link","bodyAttrs"],G=e=>({hooks:{"tags:resolve":function(t){for(const r of t.tags.filter((e=>Y.includes(e.tag))))Object.entries(r.props).forEach((([t,n])=>{t.startsWith("on")&&"function"==typeof n&&(e.ssr&&z.includes(t)?r.props[t]=`this.dataset.${t}fired = true`:delete r.props[t],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[t]=n)})),e.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||b(r.props.src||r.props.href))},"dom:renderTag":function({$el:e,tag:t}){var r,n;for(const a of Object.keys((null==e?void 0:e.dataset)||{}).filter((e=>z.some((t=>`${t}fired`===e))))){const o=a.replace("fired","");null==(n=null==(r=t._eventHandlers)?void 0:r[o])||n.call(e,new Event(o.replace("on","")))}}}}),K=["link","style","script","noscript"],J={hooks:{"tag:normalise":({tag:e})=>{e.key&&K.includes(e.tag)&&(e.props["data-hid"]=e._h=b(e.key))}}},ee={hooks:{"tags:resolve":e=>{const t=t=>{var r;return null==(r=e.tags.find((e=>e._d===t)))?void 0:r._p};for(const{prefix:r,offset:n}of F)for(const a of e.tags.filter((e=>"string"==typeof e.tagPriority&&e.tagPriority.startsWith(r)))){const e=t(a.tagPriority.replace(r,""));void 0!==e&&(a._p=e+n)}e.tags.sort(((e,t)=>e._p-t._p)).sort(((e,t)=>U(e)-U(t)))}}},te={meta:"content",link:"href",htmlAttrs:"lang"},re=e=>({hooks:{"tags:resolve":t=>{var r;const{tags:n}=t,a=null==(r=n.find((e=>"title"===e.tag)))?void 0:r.textContent,o=n.findIndex((e=>"templateParams"===e.tag)),i=-1!==o?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Z(i.pageTitle||a||"",i,s);for(const e of n.filter((e=>!1!==e.processTemplateParams))){const t=te[e.tag];t&&"string"==typeof e.props[t]?e.props[t]=Z(e.props[t],i,s):(!0===e.processTemplateParams||["titleTemplate","title"].includes(e.tag))&&["innerHTML","textContent"].forEach((t=>{"string"==typeof e[t]&&(e[t]=Z(e[t],i,s))}))}e._templateParams=i,e._separator=s,t.tags=n.filter((e=>"templateParams"!==e.tag))}}}),ne={hooks:{"tags:resolve":e=>{const{tags:t}=e;let r=t.findIndex((e=>"titleTemplate"===e.tag));const n=t.findIndex((e=>"title"===e.tag));if(-1!==n&&-1!==r){const e=y(t[r].textContent,t[n].textContent);null!==e?t[n].textContent=e||t[n].textContent:delete t[n]}else if(-1!==r){const e=y(t[r].textContent);null!==e&&(t[r].textContent=e,t[r].tag="title",r=-1)}-1!==r&&delete t[r],e.tags=t.filter(Boolean)}}},ae={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)"string"==typeof t.innerHTML&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/\');mask-image:url(\'data:image/svg+xml,\')}@layer scalar-base{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color)}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-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,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}#scalar-client{display:flex;flex-direction:column;height:100vh;width:100vw;background:var(--scalar-background-1)}@layer scalar-base,scalar-theme;@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}@layer scalar-base{*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color)}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}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,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;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{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-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,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-client{line-height:1.5;color:var(--scalar-color-1)}.scalar-client .row{display:flex;flex-direction:row}.scalar-client .row-1{display:flex;flex-direction:row;flex:1 1 0%}.scalar-client .col{display:flex;flex-direction:column}.scalar-client .col-1{display:flex;flex-direction:column;flex:1 1 0%}.scalar-client .flex-center{display:flex;justify-content:center;align-items:center}.scalar-client .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered-y{top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.scalar-client .pointer-events-none{pointer-events:none}.scalar-client .visible{visibility:visible}.scalar-client .static{position:static}.scalar-client .fixed{position:fixed}.scalar-client .absolute{position:absolute}.scalar-client .relative{position:relative}.scalar-client .sticky{position:sticky}.scalar-client .inset-0{top:0;right:0;bottom:0;left:0}.scalar-client .bottom-\\[50px\\]{bottom:50px}.scalar-client .left-0{left:0}.scalar-client .left-2{left:8px}.scalar-client .right-1{right:4px}.scalar-client .right-2{right:8px}.scalar-client .right-3{right:12px}.scalar-client .right-4{right:16px}.scalar-client .top-0{top:0}.scalar-client .top-7{top:28px}.scalar-client .top-\\[0\\.5px\\]{top:.5px}.scalar-client .top-\\[33px\\]{top:33px}.scalar-client .z-0{z-index:0}.scalar-client .z-1{z-index:1}.scalar-client .z-10{z-index:10}.scalar-client .z-20{z-index:20}.scalar-client .z-50{z-index:50}.scalar-client .z-\\[1001\\]{z-index:1001}.scalar-client .z-\\[1\\]{z-index:1}.scalar-client .order-last{order:9999}.scalar-client .col-span-full{grid-column:1 / -1}.scalar-client .\\!m-0{margin:0!important}.scalar-client .m-0{margin:0}.scalar-client .m-1{margin:4px}.scalar-client .m-auto{margin:auto}.scalar-client .-my-1{margin-top:-4px;margin-bottom:-4px}.scalar-client .mx-1{margin-left:4px;margin-right:4px}.scalar-client .mx-auto{margin-left:auto;margin-right:auto}.scalar-client .-ml-1{margin-left:-4px}.scalar-client .mb-0{margin-bottom:0}.scalar-client .mb-0\\.5{margin-bottom:2px}.scalar-client .mb-1{margin-bottom:4px}.scalar-client .mb-2{margin-bottom:8px}.scalar-client .mb-2\\.5{margin-bottom:10px}.scalar-client .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-client .ml-1{margin-left:4px}.scalar-client .ml-1\\.5{margin-left:6px}.scalar-client .ml-auto{margin-left:auto}.scalar-client .mr-1{margin-right:4px}.scalar-client .mr-1\\.5{margin-right:6px}.scalar-client .mr-\\[-\\.5px\\]{margin-right:-.5px}.scalar-client .mr-\\[1px\\]{margin-right:1px}.scalar-client .mt-0{margin-top:0}.scalar-client .mt-20{margin-top:80px}.scalar-client .mt-3{margin-top:12px}.scalar-client .mt-3\\.5{margin-top:14px}.scalar-client .mt-\\[3px\\]{margin-top:3px}.scalar-client .mt-auto{margin-top:auto}.scalar-client .mt-px{margin-top:1px}.scalar-client .block{display:block}.scalar-client .inline-block{display:inline-block}.scalar-client .flex{display:flex}.scalar-client .inline-flex{display:inline-flex}.scalar-client .table{display:table}.scalar-client .grid{display:grid}.scalar-client .contents{display:contents}.scalar-client .hidden{display:none}.scalar-client .aspect-video{aspect-ratio:16 / 9}.scalar-client .size-2{width:8px;height:8px}.scalar-client .size-2\\.5{width:10px;height:10px}.scalar-client .size-4{width:16px;height:16px}.scalar-client .h-10{height:40px}.scalar-client .h-2{height:8px}.scalar-client .h-2\\.5{height:10px}.scalar-client .h-24{height:96px}.scalar-client .h-4{height:16px}.scalar-client .h-5{height:20px}.scalar-client .h-6{height:24px}.scalar-client .h-7{height:28px}.scalar-client .h-8{height:32px}.scalar-client .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-client .h-auto{height:auto}.scalar-client .h-fit{height:-moz-fit-content;height:fit-content}.scalar-client .h-full{height:100%}.scalar-client .h-screen{height:100vh}.scalar-client .max-h-40{max-height:160px}.scalar-client .max-h-\\[300px\\]{max-height:300px}.scalar-client .min-h-0{min-height:0px}.scalar-client .min-h-10{min-height:40px}.scalar-client .min-h-12{min-height:48px}.scalar-client .min-h-14{min-height:56px}.scalar-client .min-h-8{min-height:32px}.scalar-client .w-2{width:8px}.scalar-client .w-2\\.5{width:10px}.scalar-client .w-20{width:80px}.scalar-client .w-4{width:16px}.scalar-client .w-40{width:160px}.scalar-client .w-5{width:20px}.scalar-client .w-6{width:24px}.scalar-client .w-6\\/12{width:50%}.scalar-client .w-60{width:240px}.scalar-client .w-80{width:320px}.scalar-client .w-\\[15px\\]{width:15px}.scalar-client .w-\\[37px\\]{width:37px}.scalar-client .w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-client .w-auto{width:auto}.scalar-client .w-fit{width:-moz-fit-content;width:fit-content}.scalar-client .w-full{width:100%}.scalar-client .w-max{width:-moz-max-content;width:max-content}.scalar-client .w-screen{width:100vw}.scalar-client .w-sidebar{width:var(--scalar-sidebar-width)}.scalar-client .min-w-0{min-width:0px}.scalar-client .min-w-2{min-width:8px}.scalar-client .min-w-2\\.5{min-width:10px}.scalar-client .min-w-8{min-width:32px}.scalar-client .min-w-\\[100px\\]{min-width:100px}.scalar-client .min-w-\\[44px\\]{min-width:44px}.scalar-client .min-w-full{min-width:100%}.scalar-client .max-w-\\[100\\%\\]{max-width:100%}.scalar-client .max-w-\\[480px\\]{max-width:480px}.scalar-client .flex-1{flex:1 1 0%}.scalar-client .shrink-0{flex-shrink:0}.scalar-client .basis-1\\/2{flex-basis:50%}.scalar-client .-translate-x-full{--tw-translate-x:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .translate-y-\\[24px\\]{--tw-translate-y:24px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .-rotate-90{--tw-rotate:-90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .scale-\\[0\\.98\\]{--tw-scale-x:.98;--tw-scale-y:.98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .cursor-auto{cursor:auto}.scalar-client .cursor-help{cursor:help}.scalar-client .cursor-pointer{cursor:pointer}.scalar-client .resize{resize:both}.scalar-client .auto-rows-auto{grid-auto-rows:auto}.scalar-client .flex-row{flex-direction:row}.scalar-client .flex-col{flex-direction:column}.scalar-client .flex-wrap{flex-wrap:wrap}.scalar-client .items-start{align-items:flex-start}.scalar-client .items-end{align-items:flex-end}.scalar-client .items-center{align-items:center}.scalar-client .items-stretch{align-items:stretch}.scalar-client .justify-start{justify-content:flex-start}.scalar-client .justify-end{justify-content:flex-end}.scalar-client .justify-center{justify-content:center}.scalar-client .justify-between{justify-content:space-between}.scalar-client .\\!gap-1{gap:4px!important}.scalar-client .\\!gap-1\\.5{gap:6px!important}.scalar-client .\\!gap-2{gap:8px!important}.scalar-client .gap-0{gap:0px}.scalar-client .gap-1{gap:4px}.scalar-client .gap-1\\.5{gap:6px}.scalar-client .gap-2{gap:8px}.scalar-client .gap-2\\.5{gap:10px}.scalar-client .gap-3{gap:12px}.scalar-client .gap-6{gap:24px}.scalar-client .gap-\\[\\.5px\\]{gap:.5px}.scalar-client .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.scalar-client .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}.scalar-client .self-center{align-self:center}.scalar-client .justify-self-end{justify-self:end}.scalar-client .overflow-hidden{overflow:hidden}.scalar-client .overflow-visible{overflow:visible}.scalar-client .overflow-x-auto{overflow-x:auto}.scalar-client .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scalar-client .text-ellipsis{text-overflow:ellipsis}.scalar-client .whitespace-nowrap{white-space:nowrap}.scalar-client .whitespace-pre{white-space:pre}.scalar-client .rounded{border-radius:var(--scalar-radius)}.scalar-client .rounded-full{border-radius:9999px}.scalar-client .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .rounded-md{border-radius:var(--scalar-radius)}.scalar-client .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-client .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-client .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-client .border{border-width:var(--scalar-border-width)}.scalar-client .border-0{border-width:0}.scalar-client .border-1\\/2{border-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-b{border-bottom-width:var(--scalar-border-width)}.scalar-client .border-b-0{border-bottom-width:0}.scalar-client .border-b-1\\/2{border-bottom-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-l-0{border-left-width:0}.scalar-client .border-r{border-right-width:var(--scalar-border-width)}.scalar-client .border-r-0{border-right-width:0}.scalar-client .border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-t{border-top-width:var(--scalar-border-width)}.scalar-client .border-t-0{border-top-width:0}.scalar-client .border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-solid{border-style:solid}.scalar-client .border-dashed{border-style:dashed}.scalar-client .border-none{border-style:none}.scalar-client .border-b-3{border-color:var(--scalar-background-3)}.scalar-client .border-transparent{border-color:transparent}.scalar-client .border-r-transparent{border-right-color:transparent}.scalar-client .bg-b-1{background-color:var(--scalar-background-1)}.scalar-client .bg-b-2{background-color:var(--scalar-background-2)}.scalar-client .bg-backdrop{background-color:#00000038}.scalar-client .bg-blue{background-color:var(--scalar-color-blue)}.scalar-client .bg-c-2{background-color:var(--scalar-color-2)}.scalar-client .bg-green{background-color:var(--scalar-color-green)}.scalar-client .bg-grey{background-color:var(--scalar-color-3)}.scalar-client .bg-orange{background-color:var(--scalar-color-orange)}.scalar-client .bg-pink{background-color:var(--scalar-color-pink)}.scalar-client .bg-purple{background-color:var(--scalar-color-purple)}.scalar-client .bg-red{background-color:var(--scalar-color-red)}.scalar-client .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{background-color:var(--scalar-color-yellow)}.scalar-client .stroke-2{stroke-width:2}.scalar-client .stroke-\\[0\\.75\\]{stroke-width:.75}.scalar-client .stroke-\\[1\\.2\\]{stroke-width:1.2}.scalar-client .stroke-\\[1\\.5\\]{stroke-width:1.5}.scalar-client .stroke-\\[1\\.75\\]{stroke-width:1.75}.scalar-client .stroke-\\[1\\]{stroke-width:1}.scalar-client .stroke-\\[2\\.5\\]{stroke-width:2.5}.scalar-client .p-0{padding:0}.scalar-client .p-0\\.5{padding:2px}.scalar-client .p-1{padding:4px}.scalar-client .p-1\\.5{padding:6px}.scalar-client .p-2{padding:8px}.scalar-client .p-2\\.5{padding:10px}.scalar-client .p-4{padding:16px}.scalar-client .p-\\[0\\.5px\\]{padding:.5px}.scalar-client .p-\\[2\\.25px\\]{padding:2.25px}.scalar-client .p-\\[20px\\]{padding:20px}.scalar-client .p-\\[3px\\]{padding:3px}.scalar-client .p-\\[7px\\]{padding:7px}.scalar-client .p-px{padding:1px}.scalar-client .px-0{padding-left:0;padding-right:0}.scalar-client .px-1{padding-left:4px;padding-right:4px}.scalar-client .px-1\\.5{padding-left:6px;padding-right:6px}.scalar-client .px-2{padding-left:8px;padding-right:8px}.scalar-client .px-2\\.5{padding-left:10px;padding-right:10px}.scalar-client .px-3{padding-left:12px;padding-right:12px}.scalar-client .px-4{padding-left:16px;padding-right:16px}.scalar-client .px-5{padding-left:20px;padding-right:20px}.scalar-client .px-\\[0px\\]{padding-left:0;padding-right:0}.scalar-client .px-\\[2\\.25px\\]{padding-left:2.25px;padding-right:2.25px}.scalar-client .px-\\[9px\\]{padding-left:9px;padding-right:9px}.scalar-client .py-0{padding-top:0;padding-bottom:0}.scalar-client .py-1{padding-top:4px;padding-bottom:4px}.scalar-client .py-1\\.5{padding-top:6px;padding-bottom:6px}.scalar-client .py-2{padding-top:8px;padding-bottom:8px}.scalar-client .py-2\\.5{padding-top:10px;padding-bottom:10px}.scalar-client .py-3{padding-top:12px;padding-bottom:12px}.scalar-client .py-\\[0px\\]{padding-top:0;padding-bottom:0}.scalar-client .py-\\[2\\.25px\\]{padding-top:2.25px;padding-bottom:2.25px}.scalar-client .py-px{padding-top:1px;padding-bottom:1px}.scalar-client .pb-0{padding-bottom:0}.scalar-client .pb-12{padding-bottom:48px}.scalar-client .pl-1{padding-left:4px}.scalar-client .pl-2{padding-left:8px}.scalar-client .pl-3{padding-left:12px}.scalar-client .pl-4{padding-left:16px}.scalar-client .pr-0{padding-right:0}.scalar-client .pr-2{padding-right:8px}.scalar-client .pr-2\\.5{padding-right:10px}.scalar-client .pr-3{padding-right:12px}.scalar-client .pr-\\[26px\\]{padding-right:26px}.scalar-client .pt-0{padding-top:0}.scalar-client .pt-2{padding-top:8px}.scalar-client .pt-2\\.5{padding-top:10px}.scalar-client .pt-3{padding-top:12px}.scalar-client .text-left{text-align:left}.scalar-client .text-center{text-align:center}.scalar-client .text-right{text-align:right}.scalar-client .font-code{font-family:var(--scalar-font-code)}.scalar-client .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-client .text-\\[6px\\]{font-size:6px}.scalar-client .text-base{font-size:var(--scalar-font-size-3)}.scalar-client .text-sm{font-size:var(--scalar-font-size-4)}.scalar-client .text-xs{font-size:var(--scalar-font-size-5)}.scalar-client .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-client .font-bold{font-weight:var(--scalar-bold)}.scalar-client .font-medium{font-weight:var(--scalar-semibold)}.scalar-client .font-normal{font-weight:var(--scalar-regular)}.scalar-client .uppercase{text-transform:uppercase}.scalar-client .capitalize{text-transform:capitalize}.scalar-client .leading-3{line-height:var(--scalar-line-height-3)}.scalar-client .leading-5{line-height:var(--scalar-line-height-5)}.scalar-client .leading-\\[1\\.44\\]{line-height:1.44}.scalar-client .leading-\\[24\\.5px\\]{line-height:24.5px}.scalar-client .leading-\\[7px\\]{line-height:7px}.scalar-client .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-client .text-b-1{color:var(--scalar-background-1)}.scalar-client .text-blue{color:var(--scalar-color-blue)}.scalar-client .text-border{color:var(--scalar-border-color)}.scalar-client .text-c-1{color:var(--scalar-color-1)}.scalar-client .text-c-2{color:var(--scalar-color-2)}.scalar-client .text-c-3{color:var(--scalar-color-3)}.scalar-client .text-green{color:var(--scalar-color-green)}.scalar-client .text-grey{color:var(--scalar-color-3)}.scalar-client .text-orange{color:var(--scalar-color-orange)}.scalar-client .text-purple{color:var(--scalar-color-purple)}.scalar-client .text-red{color:var(--scalar-color-red)}.scalar-client .text-sidebar-active-c{color:var(--scalar-sidebar-color-active, currentColor)}.scalar-client .text-sidebar-c-2{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.scalar-client .text-transparent{color:transparent}.scalar-client .text-yellow{color:var(--scalar-color-yellow)}.scalar-client .underline{text-decoration-line:underline}.scalar-client .decoration-c-3{text-decoration-color:var(--scalar-color-3)}.scalar-client .underline-offset-2{text-underline-offset:2px}.scalar-client .opacity-0{opacity:0}.scalar-client .shadow{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-lg{--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .outline-none{outline:2px solid transparent;outline-offset:2px}.scalar-client .outline{outline-style:solid}.scalar-client .ring-1{--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);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.scalar-client .ring-offset-4{--tw-ring-offset-width:4px}.scalar-client .blur{--tw-blur:blur(8px);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)}.scalar-client .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)}.scalar-client .backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.scalar-client .transition{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);transition-duration:.15s}.scalar-client .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-none{transition-property:none}.scalar-client .duration-150{transition-duration:.15s}.scalar-client .bg-mix-transparent{background-color:color-mix(var(--tw-bg-mix-method, in srgb),transparent calc(var(--tw-bg-mix-amount, 0) * 1%),var(--tw-bg-base))}.scalar-client .bg-mix-amount-30{--tw-bg-mix-amount:30}.scalar-client .bg-mix-amount-90{--tw-bg-mix-amount:90}.scalar-client .bg-mix-amount-95{--tw-bg-mix-amount:95}.scalar-client .bg-b-1{--tw-bg-base:var(--scalar-background-1)}.scalar-client .bg-b-2{--tw-bg-base:var(--scalar-background-2)}.scalar-client .bg-backdrop{--tw-bg-base:rgba(0, 0, 0, .22)}.scalar-client .bg-blue{--tw-bg-base:var(--scalar-color-blue)}.scalar-client .bg-c-2{--tw-bg-base:var(--scalar-color-2)}.scalar-client .bg-green{--tw-bg-base:var(--scalar-color-green)}.scalar-client .bg-grey{--tw-bg-base:var(--scalar-color-3)}.scalar-client .bg-orange{--tw-bg-base:var(--scalar-color-orange)}.scalar-client .bg-pink{--tw-bg-base:var(--scalar-color-pink)}.scalar-client .bg-purple{--tw-bg-base:var(--scalar-color-purple)}.scalar-client .bg-red{--tw-bg-base:var(--scalar-color-red)}.scalar-client .bg-white{--tw-bg-opacity:1;--tw-bg-base:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{--tw-bg-base:var(--scalar-color-yellow)}.scalar-client .after\\:centered-y:after{content:var(--tw-content);top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-client .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-client .before\\:inset-0:before{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.scalar-client .before\\:-bottom-\\[13px\\]:before{content:var(--tw-content);bottom:-13px}.scalar-client .before\\:left-0:before{content:var(--tw-content);left:0}.scalar-client .before\\:left-1\\/2:before{content:var(--tw-content);left:50%}.scalar-client .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-client .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-client .before\\:top-1\\/2:before{content:var(--tw-content);top:50%}.scalar-client .before\\:top-\\[-33px\\]:before{content:var(--tw-content);top:-33px}.scalar-client .before\\:z-0:before{content:var(--tw-content);z-index:0}.scalar-client .before\\:z-10:before{content:var(--tw-content);z-index:10}.scalar-client .before\\:block:before{content:var(--tw-content);display:block}.scalar-client .before\\:aspect-square:before{content:var(--tw-content);aspect-ratio:1 / 1}.scalar-client .before\\:h-\\[calc\\(100\\%\\+33px\\)\\]:before{content:var(--tw-content);height:calc(100% + 33px)}.scalar-client .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-client .before\\:h-full:before{content:var(--tw-content);height:100%}.scalar-client .before\\:h-px:before{content:var(--tw-content);height:1px}.scalar-client .before\\:w-9\\/12:before{content:var(--tw-content);width:75%}.scalar-client .before\\:w-full:before{content:var(--tw-content);width:100%}.scalar-client .before\\:w-px:before{content:var(--tw-content);width:1px}.scalar-client .before\\:-translate-x-1\\/2:before{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:-translate-y-1\\/2:before{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:transform:before{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:rounded:before{content:var(--tw-content);border-radius:var(--scalar-radius)}.scalar-client .before\\:rounded-lg:before{content:var(--tw-content);border-radius:var(--scalar-radius-lg)}.scalar-client .before\\:border:before{content:var(--tw-content);border-width:var(--scalar-border-width)}.scalar-client .before\\:border-\\[1px\\]:before{content:var(--tw-content);border-width:1px}.scalar-client .before\\:bg-b-1:before{content:var(--tw-content);background-color:var(--scalar-background-1)}.scalar-client .before\\:bg-b-3:before{content:var(--tw-content);background-color:var(--scalar-background-3)}.scalar-client .before\\:bg-c-1:before{content:var(--tw-content);background-color:var(--scalar-color-1)}.scalar-client .before\\:bg-sidebar-active-b:before{content:var(--tw-content);background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .before\\:opacity-0:before{content:var(--tw-content);opacity:0}.scalar-client .before\\:shadow-lg:before{content:var(--tw-content);--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .before\\:content-\\[\\\'\\\'\\]:before{--tw-content:"";content:var(--tw-content)}.scalar-client .before\\:bg-b-1:before{content:var(--tw-content);--tw-bg-base:var(--scalar-background-1)}.scalar-client .before\\:bg-b-3:before{content:var(--tw-content);--tw-bg-base:var(--scalar-background-3)}.scalar-client .before\\:bg-c-1:before{content:var(--tw-content);--tw-bg-base:var(--scalar-color-1)}.scalar-client .before\\:bg-sidebar-active-b:before{content:var(--tw-content);--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .after\\:absolute:after{content:var(--tw-content);position:absolute}.scalar-client .after\\:right-0:after{content:var(--tw-content);right:0}.scalar-client .after\\:bg-b-1:after{content:var(--tw-content);background-color:var(--scalar-background-1)}.scalar-client .after\\:pr-2:after{content:var(--tw-content);padding-right:8px}.scalar-client .after\\:pt-px:after{content:var(--tw-content);padding-top:1px}.scalar-client .after\\:text-xxs:after{content:var(--tw-content);font-size:var(--scalar-font-size-6)}.scalar-client .after\\:font-medium:after{content:var(--tw-content);font-weight:var(--scalar-semibold)}.scalar-client .after\\:text-c-3:after{content:var(--tw-content);color:var(--scalar-color-3)}.scalar-client .after\\:shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]:after{content:var(--tw-content);--tw-shadow:-8px 0 4px var(--scalar-background-1);--tw-shadow-colored:-8px 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .after\\:bg-b-1:after{content:var(--tw-content);--tw-bg-base:var(--scalar-background-1)}.scalar-client .last\\:mb-0:last-child{margin-bottom:0}.scalar-client .last\\:border-r-0:last-child{border-right-width:0}.scalar-client .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.scalar-client .focus-within\\:bg-b-2:focus-within{background-color:var(--scalar-background-2)}.scalar-client .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-client .focus-within\\:bg-b-2:focus-within{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:cursor-auto:hover{cursor:auto}.scalar-client .hover\\:bg-b-1:hover{background-color:var(--scalar-background-1)}.scalar-client .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-client .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-client .hover\\:bg-mix-b-2:hover{background-color:color-mix(var(--tw-bg-mix-method, in srgb),var(--scalar-background-2) calc(var(--tw-bg-mix-amount, 0) * 1%),var(--tw-bg-base))}.scalar-client .hover\\:bg-mix-amount-95:hover{--tw-bg-mix-amount:95}.scalar-client .hover\\:bg-b-1:hover{--tw-bg-base:var(--scalar-background-1)}.scalar-client .hover\\:bg-b-2:hover{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{--tw-bg-base:var(--scalar-background-3)}.scalar-client .hover\\:before\\:bg-sidebar-active-b:hover:before{content:var(--tw-content);background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .hover\\:before\\:bg-sidebar-active-b:hover:before{content:var(--tw-content);--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-client .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-client .group:last-child .group-last\\:border-b-transparent{border-bottom-color:transparent}.scalar-client .group\\/upload:hover .group-hover\\/upload\\:block,.scalar-client .group:hover .group-hover\\:block{display:block}.scalar-client .group:hover .group-hover\\:flex{display:flex}.scalar-client .group:hover .group-hover\\:hidden{display:none}.scalar-client .group\\/info:hover .group-hover\\/info\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/scopes-accordion:hover .group-hover\\/scopes-accordion\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/info:hover .group-hover\\/info\\:opacity-100,.scalar-client .group\\/params:hover .group-hover\\/params\\:opacity-100,.scalar-client .group:hover .group-hover\\:opacity-100{opacity:1}.scalar-client .group:hover .group-hover\\:opacity-80{opacity:.8}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .group\\/cell:hover .group-hover\\/cell\\:before\\:opacity-100:before{content:var(--tw-content);opacity:1}.scalar-client .peer:checked~.peer-checked\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .group:has(:focus) .group-has-\\[\\:focus\\]\\:after\\:hidden:after{content:var(--tw-content);display:none}.scalar-client .ui-open\\:mb-3[data-headlessui-state~=open]{margin-bottom:12px}.scalar-client .ui-open\\:flex[data-headlessui-state~=open]{display:flex}.scalar-client .ui-open\\:rotate-90[data-headlessui-state~=open]{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-open\\:pb-1[data-headlessui-state~=open]{padding-bottom:4px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:mb-3{margin-bottom:12px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:flex{display:flex}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:pb-1{padding-bottom:4px}.scalar-client .ui-not-open\\:invisible[data-headlessui-state]:not([data-headlessui-state~=open]){visibility:hidden}.scalar-client .ui-not-open\\:mb-0[data-headlessui-state]:not([data-headlessui-state~=open]){margin-bottom:0}.scalar-client .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){background-color:transparent}.scalar-client .ui-not-open\\:pb-0[data-headlessui-state]:not([data-headlessui-state~=open]){padding-bottom:0}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-bg-base:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:invisible:not([data-headlessui-state]){visibility:hidden}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:mb-0:not([data-headlessui-state]){margin-bottom:0}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:rotate-0:not([data-headlessui-state]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){background-color:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:pb-0:not([data-headlessui-state]){padding-bottom:0}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){--tw-bg-base:transparent}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{background-color:var(--scalar-background-2)}.scalar-client .ui-active\\:text-c-1[data-headlessui-state~=active]{color:var(--scalar-color-1)}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{background-color:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:text-c-1{color:var(--scalar-color-1)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{--tw-bg-base:var(--scalar-background-2)}@media (min-width: 1000px){.scalar-client .lg\\:order-none{order:0}}@media (min-width: 1000px){.scalar-client .lg\\:mb-0{margin-bottom:0}}@media (min-width: 1000px){.scalar-client .lg\\:flex{display:flex}}@media (min-width: 1000px){.scalar-client .lg\\:min-h-header{min-height:var(--scalar-client-header-height)}}@media (min-width: 1000px){.scalar-client .lg\\:w-auto{width:auto}}@media (min-width: 1000px){.scalar-client .lg\\:min-w-\\[720px\\]{min-width:720px}}@media (min-width: 1000px){.scalar-client .lg\\:max-w-\\[720px\\]{max-width:720px}}@media (min-width: 1000px){.scalar-client .lg\\:flex-1{flex:1 1 0%}}@media (min-width: 1000px){.scalar-client .lg\\:px-1{padding-left:4px;padding-right:4px}}@media (min-width: 1000px){.scalar-client .lg\\:text-sm{font-size:var(--scalar-font-size-4)}}@media (min-width: 1200px){.scalar-client .xl\\:flex{display:flex}}@media (min-width: 1200px){.scalar-client .xl\\:min-h-header{min-height:var(--scalar-client-header-height)}}@media (min-width: 1200px){.scalar-client .xl\\:min-w-0{min-width:0px}}@media (min-width: 1200px){.scalar-client .xl\\:flex-1{flex:1 1 0%}}@media (min-width: 1200px){.scalar-client .xl\\:flex-row{flex-direction:row}}@media (min-width: 1200px){.scalar-client .xl\\:divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-right-width:calc(var(--scalar-border-width) * var(--tw-divide-x-reverse));border-left-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-x-reverse)))}}@media (min-width: 1200px){.scalar-client .xl\\:divide-y-0>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}}@media (min-width: 1200px){.scalar-client .xl\\:overflow-hidden{overflow:hidden}}@media (min-width: 1200px){.scalar-client .xl\\:rounded-lg{border-radius:var(--scalar-radius-lg)}}@media (min-width: 1200px){.scalar-client .xl\\:border{border-width:var(--scalar-border-width)}}@media (min-width: 1200px){.scalar-client .xl\\:px-5{padding-left:20px;padding-right:20px}}@media (min-width: 1200px){.scalar-client .xl\\:px-6{padding-left:24px;padding-right:24px}}.scalar-client .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}.scalar-client .dark\\:bg-mix-amount-80:where(.dark-mode,.dark-mode *){--tw-bg-mix-amount:80}.scalar-client .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){--tw-bg-base:var(--scalar-background-3)}:root{--scalar-client-header-height: 50px;--scalar-sidebar-width: 280px;--scalar-toc-width: 280px}.scalar .scalar-api-client[data-v-16873ba4]{max-height:calc(100% - calc(var(--scalar-app-header-height)));border-radius:8px}.scalar .scalar-app[data-v-16873ba4]{background:var(--scalar-background-3);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-16873ba4 .35s forwards;z-index:1002;position:relative;overflow:hidden;border-radius:8px}@keyframes scalarapiclientfadein-16873ba4{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-16873ba4]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000038;transition:all .3s ease-in-out;z-index:1000;cursor:pointer;animation:scalardrawerexitfadein-16873ba4 .35s forwards}.scalar .scalar-app-exit[data-v-16873ba4]:before{font-family:sans-serif;position:absolute;top:0;font-size:30px;font-weight:100;line-height:50px;right:12px;text-align:center;color:#fff;opacity:.6}.scalar .scalar-app-exit[data-v-16873ba4]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-16873ba4{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-16873ba4]{overflow:hidden;visibility:visible;position:fixed;bottom:0;top:0;left:0;width:100%;height:100%;z-index:1001;display:flex;align-items:center;justify-content:center}.scalar .url-form-input[data-v-16873ba4]{min-height:auto!important}.scalar .scalar-container[data-v-16873ba4]{line-height:normal}.scalar .scalar-app-header span[data-v-16873ba4]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-16873ba4]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-16873ba4]:hover{text-decoration:underline}.scalar-activate[data-v-16873ba4]{width:-moz-fit-content;width:fit-content;margin:0px .75rem .75rem auto;line-height:24px;cursor:pointer;font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:6px}.scalar-activate-button[data-v-16873ba4]{display:flex;gap:6px;align-items:center;color:var(--scalar-color-blue);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;background:transparent;padding:0 .5rem}.scalar-activate:hover .scalar-activate-button[data-v-16873ba4]{background:var(--scalar-background-3);border-radius:3px}.required[data-v-74a9b970]:after{content:"Required"}input[data-v-74a9b970]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-74a9b970]::placeholder{color:var(--scalar-color-3)}.sidebar-height{min-height:calc(100% - 50px)}[data-v-1cb234d7] .cm-editor{background-color:var(--scalar-background-1);height:100%;outline:none;width:100%}[data-v-1cb234d7] .cm-content{padding:2px 0}.scroll-timeline-x[data-v-1cb234d7]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-address[data-v-1cb234d7]{line-height:27px;scrollbar-width:none}.scroll-timeline-x-address[data-v-1cb234d7]:after{content:"";position:absolute;height:100%;width:24px;right:0;cursor:text}.scroll-timeline-x-address[data-v-1cb234d7]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-1cb234d7],.fade-right[data-v-1cb234d7]{content:"";position:sticky;height:100%;animation-name:fadein-1cb234d7;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;z-index:1;pointer-events:none}.fade-left[data-v-1cb234d7]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);left:0;min-width:3px;animation-direction:normal}.fade-right[data-v-1cb234d7]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);right:0;min-width:24px}@keyframes fadein-1cb234d7{0%{opacity:0}1%{opacity:1}}a[data-v-c0d851ce]{text-decoration:none}.ref-search-container[data-v-c0d851ce]{display:flex;flex-direction:column;padding:12px 12px 0}.ref-search-results[data-v-c0d851ce]{padding:12px}.ref-search-meta[data-v-c0d851ce]{background:var(--scalar-background-3);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px}.ascii-art-animate .ascii-art-line[data-v-80684d49]{border-right:1ch solid transparent;animation:typewriter-80684d49 4s steps(1) 1s 1 normal both,blinkTextCursor-80684d49 .5s steps(1) infinite normal}@keyframes typewriter-80684d49{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-80684d49{0%{border-right-color:currentColor}50%{border-right-color:transparent}}.animate-modal-fade[data-v-494207cd]{animation:modal-fade-494207cd .2s forwards}.animate-modal-pop[data-v-494207cd]{animation:modal-pop-494207cd .15s .15s forwards}@keyframes modal-fade-494207cd{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-494207cd{0%{opacity:0}to{opacity:1;transform:scale(1)}}[data-v-a6b5e43f] .cm-editor{background-color:transparent;height:100%;outline:none;padding:3px 0}[data-v-a6b5e43f] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-mini)}[data-v-a6b5e43f] .cm-tooltip{background:transparent!important;filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius-xl);box-shadow:var(--scalar-shadow-2);border:none!important;outline:none!important;overflow:hidden!important}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-a6b5e43f] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul{padding:6px!important;z-index:10000;position:relative}[data-v-a6b5e43f] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-a6b5e43f] .cm-activeLine,[data-v-a6b5e43f] .cm-activeLineGutter{background-color:transparent}[data-v-a6b5e43f] .cm-selectionMatch,[data-v-a6b5e43f] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-a6b5e43f] .cm-css-color-picker-wrapper{display:inline-flex;outline:1px solid var(--scalar-background-3);border-radius:3px;overflow:hidden}[data-v-a6b5e43f] .cm-gutters{background-color:transparent;border-right:none;color:var(--scalar-color-3);font-size:var(--scalar-mini);line-height:1.44}[data-v-a6b5e43f] .cm-gutterElement{font-family:var(--scalar-font-code)!important;padding:0 6px 0 8px!important;display:flex;align-items:center;justify-content:flex-end}[data-v-a6b5e43f] .cm-gutter+.cm-gutter .cm-gutterElement{padding-left:0!important}.filemask[data-v-c04c82dd]{-webkit-mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2) 20px)}.request-section-content{--scalar-border-width: .5px}.request-section-content-filter{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons{opacity:1}.force-text-sm[data-v-99c6c7a3]{--scalar-small: 13px}iframe[data-v-99c6c7a3]{background-color:transparent}.dragover-asChild,.dragover-above,.dragover-below{position:relative}.dragover-above:after,.dragover-below:after{content:"";position:absolute;top:-1.5px;height:3px;width:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below:after{top:initial;bottom:-1.5px}.dragover-asChild:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.before-left-offset[data-v-2b673e3d]:before{left:var(--26c2db78)}.editable-sidebar-hover:hover .editable-sidebar-hover-item[data-v-2b673e3d]{-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px)}.request-text-color-text[data-v-ac5dd98f]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width: 780px){.sidebar-active-hide-layout[data-v-ac5dd98f]{display:none}.sidebar-active-width[data-v-ac5dd98f]{width:100%;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}}.active-link[data-v-f43d5cfd]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);--tw-bg-base: var(--scalar-background-2) }.base-url-variable{color:var(--scalar-color-1)}.base-url[data-v-01cb81b8]{color:var(--scalar-color-2);cursor:pointer;font-family:var(--scalar-font-code);display:inline-block;font-size:var(--scalar-micro);min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.url-select[data-v-769a9357]{padding:10px 9px 9px 0;color:var(--scalar-color-1);align-items:center;display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.url-select svg[data-v-769a9357]{color:var(--scalar-color-2);stroke-width:1}.variable-select[data-v-4b092d90]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:1px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-select svg[data-v-4b092d90]{color:var(--scalar-color-2);stroke-width:1}.variable-textbox[data-v-fbcac0a4]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:1px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-container-item[data-v-d5675216]{display:flex;width:100%}.variable-label[data-v-d5675216]{padding:9px 0 9px 9px;color:var(--scalar-color-2);border-top:1px solid var(--scalar-border-color);font-size:var(--scalar-micro)}.variable-label[data-v-d5675216]:after{content:":";margin-right:6px}.server-form-title[data-v-1bd31bc3]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;display:block}.server-form[data-v-1bd31bc3]{margin-top:6px}.server-form-container[data-v-1bd31bc3]{box-shadow:0 0 0 1px var(--scalar-border-color);border-radius:var(--scalar-radius)}.server-item[data-v-1bd31bc3]{padding:0 9px}.description[data-v-1bd31bc3]{padding:6px 12px;font-size:var(--scalar-small)}.description[data-v-1bd31bc3] .markdown{font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:4px 0;display:block}.description[data-v-1bd31bc3] .markdown>*:first-child{margin-top:0}.card-form[data-v-21a1cfbf]{color:var(--scalar-color-1);width:100%;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.card-form-button[data-v-502d153b]{display:flex;align-items:center;position:relative;background:transparent;cursor:pointer;padding:9px;outline:none;white-space:nowrap;font-family:var(--scalar-font);font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-2)}.card-form-button[data-v-502d153b]:hover{color:var(--scalar-color-1)}.card-form-group[data-v-88abf5f7]{display:flex}:where(.card-form-rows[data-v-1611fc76]){display:flex;flex-direction:column;width:100%}:where(.card-form-rows[data-v-1611fc76])>*+*{border-top:1px solid var(--scalar-border-color)}.card-form-input[data-v-2c06084d]{background:transparent;position:relative;width:100%;text-align:left;display:flex;align-items:baseline;border-color:inherit}.card-form-input label[data-v-2c06084d],.card-form-input input[data-v-2c06084d]{padding:9px;border:0;outline:none;font-size:var(--scalar-mini);color:var(--scalar-color-2);width:100%;background:transparent;-moz-appearance:none;appearance:none;-webkit-appearance:none;left:0}.card-form-input label[data-v-2c06084d]{width:fit-content;white-space:nowrap;cursor:text;padding:9px 0 9px 9px;border-radius:var(--scalar-radius);font-weight:var(--scalar-semibold)}.card-form-input input[data-v-2c06084d]{position:relative;z-index:99;color:var(--scalar-color-1)}.card-form-input+.card-form-input[data-v-2c06084d]{border-left:1px solid var(--scalar-border-color)}.card-form-input input:not(:placeholder-shown)+label[data-v-2c06084d]{color:var(--scalar-color-2)}.password-mask[data-v-2c06084d]{padding:4px;margin-right:6px;height:24px;width:auto;align-self:center;stroke-width:.75}.wrapper[data-v-0957134f]{display:grid;border-color:inherit}.scopes-label[data-v-0957134f]{display:inline-flex;align-items:center;height:1em;line-height:1;gap:4px}.scopes-label-badge[data-v-0957134f]{display:inline-flex;align-items:center;gap:2px}.scopes-label-badge em[data-v-0957134f]{transform:rotate(10deg) translateY(-.9px)}.floating[data-v-0957134f]{position:relative;z-index:1010}.dropdown[data-v-0957134f]{background:var(--scalar-background-1);filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);padding:4px;font-style:normal;display:flex;flex-direction:column;gap:10px}.dropdown-item[data-v-0957134f]{display:grid;grid-template-areas:"check title" "check description";grid-template-columns:auto 1fr;padding:6px 10px 8px 6px;row-gap:2px;column-gap:8px;border-radius:var(--scalar-radius);font-size:var(--scalar-mini);cursor:pointer}.dropdown-item[data-headlessui-state=active][data-v-0957134f],.dropdown-item[data-headlessui-state="active selected"][data-v-0957134f]{background:var(--scalar-background-2)}.dropdown-item-title[data-v-0957134f]{grid-area:title;color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.dropdown-item-description[data-v-0957134f]{grid-area:description;color:var(--scalar-color-2);line-height:initial}.dropdown-item-check[data-v-0957134f]{all:unset;position:relative;grid-area:check;width:20px;height:20px;color:var(--scalar-color-2);background:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.dropdown-item-check[data-v-0957134f]:checked:after{content:"";position:absolute;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;width:6px;height:12px;top:calc(50% - 1.5px);left:50%;transform:translate(-50%,-50%) rotate(45deg)}.dropdown-item-check[data-v-0957134f]:checked{background:var(--scalar-color-accent);color:var(--scalar-background-1);border:1px solid currentColor}.description[data-v-3bdd11a8]{padding:12px 4px 4px;font-size:var(--scalar-mini)}.cardform-auth-button[data-v-3bdd11a8]{background:var(--scalar-button-1);color:var(--scalar-button-1-color);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius);margin:3px;padding:0 9px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.cardform-auth-button[data-v-3bdd11a8]:hover{background:var(--scalar-button-1-hover)}.security-scheme-selector[data-v-d4d9bca1]{position:relative;border-radius:var(--scalar-radius);color:var(--scalar-color-3);display:flex;align-items:center;gap:4px;cursor:pointer}.security-scheme-selector[data-v-d4d9bca1]:hover{color:var(--scalar-color-1)}.security-scheme-label[data-v-d4d9bca1]{color:var(--scalar-color-3);font-size:var(--scalar-mini)}.security-scheme-selector:hover .security-scheme-label[data-v-d4d9bca1]{color:var(--scalar-color-1)}.security-scheme-selector select[data-v-d4d9bca1]{position:absolute;cursor:pointer;opacity:0;right:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;margin-top:-5px;padding:10px 0}.security-scheme-selector svg[data-v-d4d9bca1]{width:12px;stroke:currentColor}.authentication-header[data-v-9052a928]{white-space:nowrap}.selector[data-v-9052a928]{margin-bottom:6px}.client-libraries-content[data-v-ab6bf947]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;padding:3px;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius) var(--scalar-radius) 0 0}.client-libraries[data-v-ab6bf947]{display:flex;align-items:center;justify-content:center;width:100%;position:relative;cursor:pointer;white-space:nowrap;padding:5px;gap:6px;color:var(--scalar-color-3);border-radius:var(--scalar-radius);border:.5px solid transparent;-webkit-user-select:none;user-select:none}.client-libraries[data-v-ab6bf947]:hover{color:var(--scalar-color-1)}@media screen and (max-width: 450px){.client-libraries[data-v-ab6bf947]:nth-of-type(4),.client-libraries[data-v-ab6bf947]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-ab6bf947]{max-width:14px;max-height:14px;min-width:14px;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;color:currentColor}.client-libraries-icon__more svg[data-v-ab6bf947]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-ab6bf947]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-ab6bf947]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-ab6bf947]{width:100%}.client-libraries span[data-v-ab6bf947]{display:none}}.client-libraries__active[data-v-ab6bf947]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);border-color:var(--scalar-border-color);filter:brightness(var(--scalar-lifted-brightness))}@keyframes codeloader-ab6bf947{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries span[data-v-ab6bf947]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold)}.client-libraries__active span[data-v-ab6bf947]{color:var(--scalar-color-1)}.client-libraries__select select[data-v-ab6bf947]{background:var(--scalar-background-3);color:var(--scalar-color-2);opacity:0;height:100%;width:100%;aspect-ratio:1;position:absolute;top:0;left:0;cursor:pointer;z-index:1;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.client-libraries__select span[data-v-ab6bf947]{position:relative;display:flex;align-items:center}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-ab6bf947]{flex-direction:column}}.selected-client[data-v-301043da]{color:var(--scalar-color-1);font-size:var(--scalar-mini);font-family:var(--scalar-font-code);padding:9px 12px;border:1px solid var(--scalar-border-color);border-top:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;border-radius:0 0 var(--scalar-radius) var(--scalar-radius)}.client-libraries-heading[data-v-301043da]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;margin-bottom:6px;display:block}.badge[data-v-190574ac]{color:var(--scalar-color-2);font-size:var(--scalar-micro);background:var(--scalar-background-2);padding:2px 6px;border-radius:12px;font-weight:var(--scalar-semibold);display:inline-block;text-transform:uppercase}.section[data-v-7bdc2dab]{position:relative;display:flex;flex-direction:column;max-width:var(--refs-content-max-width);margin:auto;padding:90px 0;scroll-margin-top:var(--refs-header-height)}.references-classic .section[data-v-7bdc2dab]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-7bdc2dab],.section[data-v-7bdc2dab]{padding:48px 24px}}.section[data-v-7bdc2dab]:not(:last-of-type){border-bottom:1px solid var(--scalar-border-color)}.section-wrapper[data-v-07cabcb0]{color:var(--scalar-color-1);padding-top:12px;margin-top:-12px}.section-accordion[data-v-07cabcb0]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2)}.section-accordion-transparent[data-v-07cabcb0]{background:transparent;border:1px solid var(--scalar-border-color)}.section-accordion-button[data-v-07cabcb0]{padding:6px}.section-accordion-button[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-07cabcb0]{flex:1;min-width:0}.section-accordion-button-actions[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-07cabcb0]{margin-right:4px;width:20px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-07cabcb0]{color:var(--scalar-color-1)}.section-accordion-content[data-v-07cabcb0]{border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}.section-accordion-description[data-v-07cabcb0]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-07cabcb0] .property:last-of-type{padding-bottom:9px}.section-column[data-v-d64e7382]{flex:1;min-width:0}.section-column[data-v-d64e7382]:nth-of-type(2){padding-top:48px}@container narrow-references-container (max-width: 900px){.section-column[data-v-d64e7382]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{display:flex;gap:48px}@container narrow-references-container (max-width: 900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-34b26958]{position:relative;padding:0 60px;width:100%}.section-container[data-v-34b26958]:last-of-type{border-top:1px solid var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.section-container[data-v-34b26958]{padding:0}}.section-accordion-wrapper[data-v-2049975e]{padding:0 60px}.section-accordion[data-v-2049975e]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-2049975e]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-2049975e]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-2049975e]{width:24px;position:absolute;left:-24px;height:auto;top:10px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-2049975e]{color:var(--scalar-color-1)}.section-accordion-title[data-v-2049975e]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.section-accordion-title[data-v-2049975e] .section-header{margin-bottom:0}@container narrow-references-container (max-width: 900px){.section-accordion-chevron[data-v-2049975e]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-2049975e]{padding:calc(var(--refs-header-height)) 24px 0 24px}}.loading[data-v-c90b2c46]{background:var(--scalar-background-3);animation:loading-skeleton-c90b2c46 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-c90b2c46]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-c90b2c46]:last-of-type{width:60%}.loading.single-line[data-v-c90b2c46]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-c90b2c46{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-width: 900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header[data-v-3bd1b9f0]{font-size:var(--font-size, var(--scalar-heading-2));font-weight:var(--font-weight, var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;line-height:1.45;margin-top:0;margin-bottom:12px}.section-header.tight[data-v-3bd1b9f0]{margin-bottom:6px}.section-header.loading[data-v-3bd1b9f0]{width:80%}.introduction-description-heading[data-v-764b63f7]{scroll-margin-top:64px}.introduction-description[data-v-764b63f7]{display:flex;flex-direction:column;gap:18px}.download-cta[data-v-810904a4]{margin-bottom:24px}.download-cta .download-button[data-v-810904a4]{color:var(--scalar-color-accent);text-decoration:var(--scalar-text-decoration)!important;font-size:var(--scalar-paragraph);cursor:pointer}.download-cta .download-button[data-v-810904a4]:hover{text-decoration:var(--scalar-text-decoration-hover)!important}.heading[data-v-83f73a98]{margin-top:0!important;word-wrap:break-word}.loading[data-v-83f73a98]{background:var(--scalar-background-3);animation:loading-skeleton 1.5s infinite alternate;border-radius:var(--scalar-radius-lg)}.badges[data-v-83f73a98]{display:flex;align-items:center;gap:4px;margin-bottom:3px}.heading.loading[data-v-83f73a98]{width:80%}.introduction-section[data-v-83f73a98]{gap:48px}.sticky-cards[data-v-83f73a98]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-header-height) + 24px)}.screenreader-only[data-v-681ebf2c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.label[data-v-d9801d4e]{position:relative;display:inline-block}.anchor[data-v-d9801d4e]{position:relative;display:inline-block;opacity:0}.anchor-copy[data-v-d9801d4e]{position:absolute;left:0;top:50%;transform:translateY(-50%);cursor:pointer;padding:0 6px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:.8em}.anchor-copy[data-v-d9801d4e]:hover,.anchor-copy[data-v-d9801d4e]:focus-visible{color:var(--scalar-color-2)}.label:hover .anchor[data-v-d9801d4e]{opacity:1}.scalar-card[data-v-dcabb131]{all:unset;font-family:var(--scalar-font);border-radius:var(--scalar-radius-lg);overflow:hidden;border:1px solid var(--scalar-border-color);background:var(--scalar-background-2);display:flex;flex-direction:column;max-height:calc(((var(--full-height) - var(--refs-header-height)) - 60px) / 2);position:relative}.scalar-card-sticky[data-v-dcabb131]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.scalar-card-content[data-v-5312c2e0]{overflow:auto;border-bottom:1px solid var(--scalar-border-color)}.scalar-card-content[data-v-5312c2e0] .simple-table .simple-header{display:none}.scalar-card-content[data-v-5312c2e0]:last-of-type,.scalar-card-content.scalar-card--borderless[data-v-5312c2e0]{border-bottom:none}.scalar-card--muted[data-v-5312c2e0]{background:var(--scalar-background-2)}.scalar-card--contrast[data-v-5312c2e0]{background:var(--scalar-background-3)}.scalar-card--frameless[data-v-5312c2e0]{padding:0}.scalar-card--transparent[data-v-5312c2e0]{background:var(--scalar-background-1)}.scalar-card-header[data-v-bbd0c20a]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);padding:9px 0 9px 12px;flex-shrink:0}.scalar-card-header.scalar-card--borderless[data-v-bbd0c20a]+.scalar-card-content{margin-top:-9px}.scalar-card-header-slots[data-v-bbd0c20a]{display:flex;justify-content:space-between;line-height:1.35}.scalar-card-header-title[data-v-bbd0c20a]{text-transform:uppercase;flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden}.scalar-card-header-actions[data-v-bbd0c20a]{display:flex}.scalar-card-footer[data-v-918ab8d6]{flex-shrink:0}.tab-list[data-v-03fdb072]{display:flex;gap:6px;position:relative;flex:1;padding:9px 12px;overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-03fdb072]{padding:0}.tab[data-v-f373ecc2]{background:none;border:none;font-size:var(--scalar-mini);font-family:var(--scalar-font);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);line-height:calc(var(--scalar-mini) + 2px);white-space:nowrap;cursor:pointer;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:1.35}.tab[data-v-f373ecc2]:before{content:"";position:absolute;z-index:0;left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px);border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0}.tab[data-v-f373ecc2]:hover:before{opacity:1}.tab span[data-v-f373ecc2]{z-index:1;position:relative}.tab-selected[data-v-f373ecc2]{color:var(--scalar-color-1);text-decoration:underline;text-underline-offset:var(--scalar-micro)}.text-select{position:relative;height:fit-content}.text-select--single-option{pointer-events:none}.text-select select{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.text-select span{font-size:var(--scalar-mini);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);white-space:nowrap;display:flex;align-items:center;justify-content:center}.text-select:hover span{color:var(--scalar-color-1)}.text-select:not(.text-select--single-option) span:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-2px,0);display:block;margin-left:6px;box-shadow:1px 1px 0 currentColor}.text-select span:hover{background:var(--scalar-background-2)}.request[data-v-24c8bc21]{display:flex;flex-wrap:nowrap}.request-header[data-v-24c8bc21]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-24c8bc21]{font-family:var(--scalar-font-code);text-transform:uppercase;white-space:nowrap}.request-client-picker[data-v-24c8bc21]{padding-left:12px;padding-right:9px;border-right:1px solid var(--scalar-border-color)}.copy-button[data-v-24c8bc21]{-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);margin-left:6px;margin-right:10.5px;border:none;border-radius:3px;padding:0;display:flex;align-items:center;height:fit-content}.copy-button[data-v-24c8bc21]:after{content:".";color:transparent;font-size:var(--scalar-mini);line-height:1.35;width:0px}.copy-button[data-v-24c8bc21]:hover{color:var(--scalar-color-1)}.copy-button svg[data-v-24c8bc21]{width:13px;height:13px}.scalar-card-header-actions[data-v-24c8bc21]{display:flex}.scalar-card-footer[data-v-24c8bc21]{display:flex;justify-content:flex-end;padding:6px}.request-editor-section[data-v-24c8bc21]{display:flex;flex:1}.schema-type-icon[data-v-c0a69ad0]{color:var(--scalar-color-1)}.schema-type[data-v-c0a69ad0]{font-family:var(--scalar-font-code)}.property-detail[data-v-16d94ef5]{display:inline-flex}.property-detail+.property-detail[data-v-16d94ef5]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-16d94ef5]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-16d94ef5]{overflow:hidden;text-overflow:ellipsis}.property-detail-prefix[data-v-16d94ef5]{color:var(--scalar-color-3)}code.property-detail-value[data-v-16d94ef5]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:var(--scalar-background-3);padding:1px 3px;border-radius:var(--scalar-radius)}.property-heading[data-v-2489a259]{display:flex;align-items:center;gap:9px;white-space:nowrap}.property-name[data-v-2489a259]{font-family:var(--scalar-font-code)}.property-additional[data-v-2489a259]{font-size:var(--scalar-font-size-3)}.property-required[data-v-2489a259],.property-optional[data-v-2489a259]{color:var(--scalar-color-2)}.property-required[data-v-2489a259]{text-transform:capitalize;color:var(--scalar-color-orange)}.property-read-only[data-v-2489a259],.property-write-only[data-v-2489a259]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-blue)}.property-details[data-v-2489a259]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-2489a259]{color:var(--scalar-color-1)}.property[data-v-fb06e93b]{color:var(--scalar-color-1);padding:10px;font-size:var(--scalar-mini)}.property[data-v-fb06e93b]:last-of-type{padding-bottom:0}.property--compact.property--level-0[data-v-fb06e93b]{padding:10px 0}.property--deprecated[data-v-fb06e93b]{background:repeating-linear-gradient(-45deg,var(--scalar-background-2) 0,var(--scalar-background-2) 2px,transparent 2px,transparent 5px);background-size:100%}.property--deprecated[data-v-fb06e93b]>*{opacity:.75}.property-description[data-v-fb06e93b]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}[data-v-fb06e93b] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-fb06e93b]:not(:last-of-type){border-bottom:1px solid var(--scalar-border-color)}.children[data-v-fb06e93b]{display:flex;flex-direction:column;padding-top:8px}.property-example[data-v-fb06e93b]{display:flex;flex-direction:column;gap:6px;margin-top:6px;padding:6px;max-height:calc(((var(--full-height) - var(--refs-header-height))) / 2);font-size:var(--scalar-micro);border:1px solid var(--scalar-border-color);background:var(--scalar-background-2);border-radius:var(--scalar-radius-lg)}.property-example-label[data-v-fb06e93b]{font-weight:var(--scalar-semibold);color:var(--scalar-color-3)}.property-example-value[data-v-fb06e93b]{font-family:var(--scalar-font-code);white-space:pre}.property-rule[data-v-fb06e93b]{display:flex;flex-direction:column;gap:6px;margin-top:12px;border-radius:var(--scalar-radius-lg)}.property-enum-value[data-v-fb06e93b]{padding:3px 0;color:var(--scalar-color-2)}.property-enum-value[data-v-fb06e93b]:before{content:"◼";margin-right:6px;color:var(--scalar-color-3)}.property-enum-values[data-v-fb06e93b]{margin-top:8px;list-style:none}.property--compact .property-example[data-v-fb06e93b]{display:none}.property-list[data-v-fb06e93b]{border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-fb06e93b]:last-of-type{padding-bottom:10px}.property-name[data-v-fb06e93b]{font-family:var(--scalar-font-code)}.error[data-v-25443e6c]{background-color:var(--scalar-color-red)}.schema-card[data-v-25443e6c]{z-index:0;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-25443e6c]{--schema-title-height: 38px;height:var(--schema-title-height);padding:10px 12px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);background:var(--scalar-background-1);border-radius:var(--scalar-radius-lg);border-bottom:1px solid transparent}button.schema-card-title[data-v-25443e6c]{cursor:pointer}button.schema-card-title[data-v-25443e6c]:hover{color:var(--scalar-color-1)}.schema-card-title-icon[data-v-25443e6c]{margin-left:-4px}.schema-card-title-icon--open[data-v-25443e6c]{transform:rotate(90deg)}.schema-properties-open>.schema-card-title[data-v-25443e6c]{z-index:1;position:sticky;top:var(--refs-header-height);border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:1px solid var(--scalar-border-color)}.schema-properties-open>.schema-properties[data-v-25443e6c]{width:fit-content}.schema-card-description+.schema-properties[data-v-25443e6c]{width:fit-content}.schema-properties-open.schema-properties[data-v-25443e6c],.schema-properties-open>.schema-card--open[data-v-25443e6c]{width:100%}.schema-card .property[data-v-25443e6c]:last-of-type{padding-bottom:10px}.schema-properties[data-v-25443e6c]{display:flex;flex-direction:column;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.schema-card--compact[data-v-25443e6c]{align-self:start}.schema-card--compact.schema-card--open[data-v-25443e6c]{align-self:initial}.schema-card-title--compact[data-v-25443e6c]{color:var(--scalar-color-3);padding:6px 10px;height:auto;border-bottom:none}.schema-card--compact>.schema-properties[data-v-25443e6c],.schema-card-title--compact[data-v-25443e6c]{border-radius:13.5px}.schema-card-title--compact>.schema-card-title-icon[data-v-25443e6c]{width:10px;height:10px;margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-25443e6c]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-25443e6c]{position:static}.schema-card--compact.schema-card--level-0>.schema-properties[data-v-25443e6c]{border:none}[data-v-25443e6c] .schema-card-description p{font-size:var(--scalar-mini, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.schema-card-description[data-v-25443e6c]:first-of-type{padding-top:10px}.children .schema-card-description[data-v-25443e6c]:first-of-type{padding-top:0}.parameter-item[data-v-f70ee55c]{border-top:1px solid var(--scalar-border-color)}.parameter-item:last-of-type .parameter-schema[data-v-f70ee55c]{padding-bottom:0}.parameter-item-container[data-v-f70ee55c]{padding:0}.parameter-item-name[data-v-f70ee55c]{font-weight:500;margin-right:6px;font-family:var(--scalar-font-code);font-size:var(--scalar-mini);color:var(--scalar-color-1)}.parameter-item-type[data-v-f70ee55c],.parameter-item-required-optional[data-v-f70ee55c]{color:var(--scalar-color-3);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-f70ee55c]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-f70ee55c]{margin-top:3px!important;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-item-description[data-v-f70ee55c] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-f70ee55c]{padding-bottom:9px;margin-top:3px}.parameters[data-v-45fca787]{margin-top:24px}.parameters-title[data-v-45fca787]{font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:12px;margin-bottom:12px}.parameter-list[data-v-45fca787]{list-style:none;padding:0;margin:0 0 12px;font-size:var(--scalar-small)}.request-body-title[data-v-23ed11af]{display:flex;align-items:center;font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:24px;padding-bottom:12px;border-bottom:1px solid var(--scalar-border-color);flex-flow:wrap}.request-body-title-select[data-v-23ed11af]{position:relative;padding-left:9px;height:fit-content;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);display:flex;align-items:center}.request-body-title-no-select.request-body-title-select[data-v-23ed11af]{pointer-events:none}.request-body-title-no-select.request-body-title-select[data-v-23ed11af]:after{display:none}.request-body-title-select span[data-v-23ed11af]{display:flex;align-items:center}.request-body-title-select[data-v-23ed11af]:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-4px,0);display:block;margin-left:7px;box-shadow:1px 1px 0 currentColor}.request-body-title-select select[data-v-23ed11af]{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.request-body-title-select[data-v-23ed11af]:hover{color:var(--scalar-color-1)}.request-body-description[data-v-23ed11af]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-description[data-v-23ed11af] .markdown *{color:var(--scalar-color-2)!important}@media (max-width: 460px){.request-body-title-select[data-v-23ed11af]{margin-left:auto;padding-right:3px}}.endpoint-path[data-v-a4eadd9b]{overflow:hidden;word-wrap:break-word;font-weight:var(--scalar-semibold)}.deprecated[data-v-a4eadd9b]{text-decoration:line-through}.example-selector[data-v-652a7e14]{padding:4px}.request[data-v-c40974e9]{display:flex;flex-wrap:nowrap}.request-header[data-v-c40974e9]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-c40974e9]{font-family:var(--scalar-font-code);text-transform:uppercase}.request-client-picker[data-v-c40974e9]{padding-left:12px;padding-right:9px;border-right:1px solid var(--scalar-border-color)}.copy-button[data-v-c40974e9]{-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);margin-left:6px;margin-right:10.5px;border:none;border-radius:3px;padding:0;display:flex;align-items:center;height:fit-content}.copy-button[data-v-c40974e9]:after{content:".";color:transparent;font-size:var(--scalar-mini);line-height:1.35;width:0px}.copy-button[data-v-c40974e9]:hover{color:var(--scalar-color-1)}.copy-button svg[data-v-c40974e9]{width:13px;height:13px}.request-card-footer[data-v-c40974e9]{display:flex;justify-content:flex-end;padding:6px;flex-shrink:0}.request-card-footer-addon[data-v-c40974e9]{display:flex;align-items:center;flex:1;min-width:0}.request-editor-section[data-v-c40974e9]{display:flex;flex:1}.code-snippet[data-v-c40974e9]{display:flex;flex-direction:column;width:100%}.empty-state[data-v-71404817]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-micro);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-71404817]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);display:inline-block;margin:12px 0 6px;border-radius:var(--scalar-radius)}.rule[data-v-71404817]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-71404817]{counter-reset:list-number;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--scalar-border-color);padding:12px 0}.rule-item[data-v-71404817]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden;margin-left:24px}.rule-item[data-v-71404817]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.markdown[data-v-6087e0e2] *{margin:0}.code-copy[data-v-6087e0e2]{display:flex;align-items:center;justify-content:center;-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-6087e0e2]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-6087e0e2]{width:13px;height:13px}.response-card-footer[data-v-6087e0e2]{display:flex;flex-direction:column;flex-shrink:0;padding:10px 12px;gap:8px;border-top:1px solid var(--scalar-border-color)}.response-example-selector[data-v-6087e0e2]{align-self:start;margin:-4px}.response-description[data-v-6087e0e2]{font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-6087e0e2]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);padding:2px 4px;border-radius:4px;margin-right:4px}.schema-example[data-v-6087e0e2]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-6087e0e2]{display:block;margin:6px}.scalar-card-container[data-v-6087e0e2]{flex:1;background:var(--scalar-background-2)}.scalar-card-container[data-v-6087e0e2] .cm-scroller{overflow-y:hidden}.scalar-card-checkbox[data-v-6087e0e2]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);width:fit-content;white-space:nowrap;margin-right:9px;gap:6px}.scalar-card-checkbox[data-v-6087e0e2]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-6087e0e2]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-6087e0e2]{height:17px;width:17px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 1px var(--scalar-border-color)}.scalar-card-checkbox[data-v-6087e0e2]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-6087e0e2]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-6087e0e2]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-6087e0e2]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-6087e0e2]:after{right:6px;top:36.5%;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.show-api-client-button[data-v-fa4467a0]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;padding:4px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a}.show-api-client-button span[data-v-fa4467a0],.show-api-client-button svg[data-v-fa4467a0]{color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-fa4467a0]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-fa4467a0]{height:12px;width:auto;margin-right:6px}.examples[data-v-b9dd22f0]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.deprecated[data-v-b9dd22f0] *{text-decoration:line-through}.example-path[data-v-b9dd22f0]{color:var(--scalar-color-2);font-family:var(--scalar-font-code)}.example-path[data-v-b9dd22f0] em{color:var(--scalar-color-1)}.endpoint-details-card[data-v-f94bee14]{display:flex;flex-direction:column;gap:12px}.endpoint-details-card-item[data-v-f94bee14]{border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.endpoint-details-card[data-v-f94bee14] .parameter-list:first-of-type:last-of-type{margin:0}.endpoint-details-card[data-v-f94bee14] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.endpoint-details-card[data-v-f94bee14] .parameter-list .parameter-list{margin-bottom:12px}.endpoint-details-card[data-v-f94bee14] .parameter-list li{margin:0;padding:0 9px}.endpoint-details-card[data-v-f94bee14] .property{padding:9px;margin:0}.endpoint-details-card[data-v-f94bee14] .endpoint-title,.endpoint-details-card[data-v-f94bee14] .parameters-title,.endpoint-details-card[data-v-f94bee14] .request-body-title{text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);line-height:1.33;padding:9px;margin:0}.endpoint-details-card[data-v-f94bee14] .request-body-title-select{text-transform:initial;font-weight:initial;margin-left:auto}.endpoint-header[data-v-70dfcfc0]{display:flex;justify-content:space-between}.endpoint-details[data-v-70dfcfc0]{display:flex;align-items:center;margin-top:0;gap:9px;min-width:0;flex-shrink:1}.endpoint-type[data-v-70dfcfc0]{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;z-index:0;width:60px;padding:6px;flex-shrink:0;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font)}.endpoint-type[data-v-70dfcfc0]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:currentColor;opacity:.15;border-radius:var(--scalar-radius-lg)}.endpoint-anchor[data-v-70dfcfc0]{display:flex;align-items:center;min-width:0;flex-shrink:1;font-size:20px}.endpoint-anchor.label[data-v-70dfcfc0]{display:flex}.endpoint-label[data-v-70dfcfc0]{display:flex;align-items:baseline;gap:9px;min-width:0;flex-shrink:1;color:var(--scalar-color-1)}.endpoint-label-path[data-v-70dfcfc0]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-70dfcfc0] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-70dfcfc0]{color:var(--scalar-color-2);font-size:var(--scalar-small);flex-shrink:1000000000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-try-hint[data-v-70dfcfc0]{padding:6px;height:24px;width:24px;flex-shrink:0;opacity:.44}.endpoint-copy[data-v-70dfcfc0],.endpoint-copy[data-v-70dfcfc0]:hover{color:currentColor}.endpoint-copy[data-v-70dfcfc0]{opacity:.44}.endpoint-copy[data-v-70dfcfc0]:hover{opacity:1}.endpoint-content[data-v-70dfcfc0]{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:9px}@container (max-width: 900px){.endpoint-content[data-v-70dfcfc0]{grid-template-columns:1fr}}.endpoint-content[data-v-70dfcfc0]>*{max-height:unset}.show-more[data-v-481def22]{background:var(--scalar-background-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border:1px solid var(--scalar-border-color);margin:-48px auto 48px;padding:8px 12px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative}.show-more[data-v-481def22]:hover{color:var(--scalar-color-2);cursor:pointer}.show-more-icon[data-v-481def22]{width:14px!important;height:14px!important;margin-left:3px}.show-more[data-v-481def22]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.show-more[data-v-481def22]{margin-top:-25px;margin-bottom:25px}}@media (max-width: 1165px){.show-more[data-v-481def22]{margin-top:-24px;margin-bottom:24px}}.endpoints[data-v-f0ef5b24]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px}@media (max-width: 580px){.endpoints[data-v-f0ef5b24]{max-height:calc(100vh - 150px)}}.endpoints span+span[data-v-f0ef5b24]{text-align:left;margin-left:12px;text-transform:initial}.endpoint[data-v-f0ef5b24]{display:flex;white-space:nowrap;cursor:pointer}.endpoint span[data-v-f0ef5b24]:first-of-type{text-transform:uppercase}.endpoint .post[data-v-f0ef5b24],.endpoint .get[data-v-f0ef5b24],.endpoint .delete[data-v-f0ef5b24],.endpoint .put[data-v-f0ef5b24]{white-space:nowrap}.endpoint span[data-v-f0ef5b24]{color:var(--scalar-color-1);min-width:62px;display:inline-block;text-align:right;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.section-container[data-v-f193be30]{border-top:1px solid var(--scalar-border-color)}.tag-section[data-v-2a212e36]{margin-bottom:48px}.tag-name[data-v-2a212e36]{text-transform:capitalize}.tag-description[data-v-2a212e36]{padding-bottom:4px}.references-loading{position:absolute;top:0;left:0;right:0;z-index:1;grid-area:rendered;background:var(--scalar-background-1)}.references-loading-top-spacer{top:-1px}@media (min-width: 1001px){.references-loading-top-spacer{top:calc(var(--refs-header-height) - 1px)}}.references-loading-hidden-tag .section-container .section:first-child{display:none}.show-more[data-v-f19478dd]{margin-top:24px}.reference-models[data-v-304ad700]{margin-bottom:48px}.reference-models-anchor[data-v-304ad700]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-304ad700]{font-size:var(--scalar-mini)}.reference-models-label[data-v-304ad700] em{font-weight:var(--scalar-bold)}.narrow-references-container{container-name:narrow-references-container;container-type:inline-size}.render-loading[data-v-0b17f72e]{height:calc(var(--full-height) - var(--refs-header-height));display:flex;align-items:center;justify-content:center}.introduction-card[data-v-0b17f72e]{display:flex;flex-direction:column;gap:12px;padding:12px 12px 0;background:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.introduction-card[data-v-0b17f72e] .description{padding:0}.introduction-card-title[data-v-0b17f72e]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3)}.introduction-card-row[data-v-0b17f72e]{flex-flow:row wrap;gap:24px}.introduction-card-row[data-v-0b17f72e]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-0b17f72e]>*{min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-0b17f72e]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-0b17f72e]{flex-direction:column;align-items:stretch}}.introduction-card[data-v-0b17f72e] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.references-classic .introduction-card-row[data-v-0b17f72e] .card-footer,.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card,.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card--muted{background:var(--scalar-background-1)}.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.references-classic .introduction-card-row[data-v-0b17f72e] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section-flare[data-v-0b17f72e]{position:absolute;top:0;right:0;pointer-events:none}.start[data-v-391b4e37]{padding:24px;display:flex;flex-flow:wrap;justify-content:space-between;position:relative;z-index:0}.swagger-editor .start[data-v-391b4e37]{padding-top:24px}.start-h1[data-v-391b4e37]{font-size:var(--scalar-heading-2);margin-top:0;line-height:1.45;margin-bottom:0;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%;position:relative}.start-h3[data-v-391b4e37]{font-size:var(--scalar-paragraph);margin-top:0;margin-bottom:6px;display:block;line-height:1.45;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%}.start-h1[data-v-391b4e37]:not(:first-of-type){margin-top:24px}.start-p[data-v-391b4e37]{font-size:var(--scalar-paragraph);color:var(--scalar-color-2);line-height:1.5;width:100%;margin-top:12px}.start-ul[data-v-391b4e37]{margin-top:12px;font-size:var(--scalar-paragraph);line-height:1.5;padding-left:0;list-style:initial;display:flex;flex-flow:wrap;gap:24px}.start-ul li[data-v-391b4e37]{margin:0;padding:0;list-style:none;width:calc(50% - 24px);color:var(--scalar-color-2)}.start-ul li[data-v-391b4e37]:first-of-type{margin-top:0}.start-section[data-v-391b4e37]{width:100%;margin-bottom:12px;display:flex;flex-flow:wrap}.start-section[data-v-391b4e37]:last-of-type{margin-bottom:48px}.start-h2[data-v-391b4e37]{background:var(--scalar-background-2);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);border:1px solid var(--scalar-border-color);color:var(--scalar-color-3);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;width:100%}.start-item[data-v-391b4e37]{align-items:center;background:var(--scalar-background-2);border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color);color:var(--scalar-color-1);cursor:pointer;display:flex;flex:1;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;text-transform:capitalize;-webkit-user-select:none;user-select:none}.start-section-integrations .start-item[data-v-391b4e37]:first-of-type{border-bottom-left-radius:var(--scalar-radius-lg);border-left:1px solid var(--scalar-border-color)}.start-section-integrations .start-item[data-v-391b4e37]:last-of-type{border-bottom-right-radius:var(--scalar-radius-lg)}.start-section-colors .start-item[data-v-391b4e37]{min-width:33.33%}.start-section-colors .start-item[data-v-391b4e37]:nth-child(3n+2){border-left:1px solid var(--scalar-border-color)}.start-section-colors .start-item[data-v-391b4e37]:last-of-type,.start-section-colors .start-item-active[data-v-391b4e37]:last-of-type:before{border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.start-item[data-v-391b4e37]:empty{pointer-events:none}.start-item svg[data-v-391b4e37]{width:14px;height:14px;margin-right:6px}.start-item[data-v-391b4e37]:hover{background:var(--scalar-background-3)}.start-item-active[data-v-391b4e37]{z-index:10;position:relative;color:var(--scalar-color-1)}.start-item-active[data-v-391b4e37]:before{border:1px solid var(--scalar-color-1);content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;position:absolute}.start-section-color .start-item[data-v-391b4e37]{text-transform:capitalize}.start-cta[data-v-391b4e37]{display:flex;gap:12px;width:100%;margin-top:24px;margin-bottom:0}.start-row[data-v-391b4e37]{width:100%;margin-top:12px;overflow:hidden}.start-hero-copy[data-v-391b4e37]{background:var(--scalar-background-2);padding:12px;border-radius:var(--scalar-radius-lg)}.start-p-small[data-v-391b4e37]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin-bottom:12px;line-height:1.4}.start-cta[data-v-391b4e37]{margin-bottom:12px;width:fit-content;white-space:nowrap}.start-copy[data-v-391b4e37]{padding:76px 48px 48px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.start-logo[data-v-391b4e37]{color:var(--scalar-color-1);margin-bottom:24px;width:72px;aspect-ratio:1;position:relative;box-shadow:var(--scalar-shadow-2);border-radius:50%}.start-logo[data-v-391b4e37]:before{content:"";width:300%;aspect-ratio:1;left:-100%;top:-100%;position:absolute;z-index:-1;border-radius:50%;background-size:24px 24px;box-shadow:inset 0 0 50px var(--scalar-background-1),inset 0 0 50px var(--scalar-background-1);background-image:linear-gradient(to right,var(--scalar-border-color) 1px,transparent 1px),linear-gradient(to bottom,var(--scalar-border-color) 1px,transparent 1px)}.start-logo svg[data-v-391b4e37]{width:100%;height:auto;background:var(--scalar-background-1);padding:3px;border-radius:50%;position:relative}@media screen and (max-width: 600px){.start-section-colors .start-item[data-v-391b4e37],.start-item[data-v-391b4e37]{width:100%;border-radius:0;border-right:none;border-top:1px solid var(--scalar-border-color)}.start-item[data-v-391b4e37]:empty{display:none}.start-h2[data-v-391b4e37]{border-bottom:none}.start li[data-v-391b4e37]{width:100%}.start-copy[data-v-391b4e37]{padding:48px 0 24px}}@media screen and (max-width: 1000px){.start[data-v-391b4e37]{padding:0;overflow:auto}}.sidebar-heading-type[data-v-f51e2805]{display:block;min-width:3.9em;overflow:hidden;line-height:14px;flex-shrink:0;color:#fff;color:color-mix(in srgb,var(--method-color, var(--scalar-color-1)),transparent 0%);text-transform:uppercase;font-size:10px;font-weight:var(--scalar-bold);text-align:right;position:relative;font-family:var(--scalar-font-code);white-space:nowrap;margin-left:3px}.sidebar-heading[data-v-8f97b414]{display:flex;gap:6px;color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);word-break:break-word;line-height:1.385;max-width:100%;position:relative;cursor:pointer;border-radius:var(--scalar-radius);flex:1;padding-right:9px;-webkit-user-select:none;user-select:none}.sidebar-heading-link-method[data-v-8f97b414]{margin:0}.sidebar-heading.deprecated .sidebar-heading-link-title[data-v-8f97b414]{text-decoration:line-through}.sidebar-heading-link-title[data-v-8f97b414]{margin:0}.sidebar-heading[data-v-8f97b414]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-heading:hover .sidebar-heading-link-title[data-v-8f97b414]{color:var(--scalar-sidebar-item-hover-color)}.active_page.sidebar-heading[data-v-8f97b414]:hover,.active_page.sidebar-heading[data-v-8f97b414]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent));background:var( --scalar-sidebar-item-active-background, var(--scalar-background-accent) )}.active_page.sidebar-heading:hover .sidebar-heading-link-title[data-v-8f97b414]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-8f97b414]:before{content:"";position:absolute;top:0;left:calc((var(--scalar-sidebar-level) * 12px));width:1px;height:100%;background:var(--scalar-sidebar-indent-border)}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-8f97b414]:hover:before{background:var(--scalar-sidebar-indent-border-hover)}.sidebar-indent-nested .sidebar-indent-nested .active_page.sidebar-heading[data-v-8f97b414]:before{background:var(--scalar-sidebar-indent-border-active)}.sidebar-heading-link[data-v-8f97b414]{text-decoration:none;color:inherit;padding:6px 0;display:flex;flex:1;justify-content:space-between;gap:2px}.sidebar-heading p[data-v-8f97b414]{height:fit-content;display:flex;align-items:center}.sidebar-heading p[data-v-8f97b414]:empty{display:none}.link-icon[data-v-8f97b414]{position:relative;left:4px}.sidebar-icon[data-v-8f97b414]{display:flex;align-items:center;justify-content:center;margin-right:6px;width:13px;height:13px}.sidebar-icon>svg[data-v-8f97b414]{width:13px;height:13px}.sidebar-group-item[data-v-8f97b414]{position:relative}.sidebar-heading-chevron[data-v-8f97b414]{margin:5px -5.5px 5px -9px}.toggle-nested-icon[data-v-8f97b414]{border:none;color:currentColor;padding:3px;color:var(--scalar-sidebar-color-2)}.active_page .toggle-nested-icon[data-v-8f97b414]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.toggle-nested-icon[data-v-8f97b414]:hover,.toggle-nested-icon[data-v-8f97b414]:focus-visible{color:currentColor}.action-menu[data-v-8f97b414]{position:absolute;top:5px;right:5px;display:flex;gap:6px}.action-menu[data-v-8f97b414] .button-wrapper button{opacity:0;width:20px;height:20px;padding:4px}.action-menu[data-v-8f97b414]:hover .button-wrapper button,.action-menu[data-v-8f97b414] .button-wrapper button:hover,.sidebar-heading:hover~.action-menu[data-v-8f97b414] .button-wrapper button,.action-menu[data-v-8f97b414] .button-wrapper button[aria-expanded=true]{opacity:1}.sidebar-heading[data-v-8f97b414]:has(~.action-menu:hover){color:var(--scalar-sidebar-color-1, var(--scalar-color-1));background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-group-item__folder[data-v-8f97b414]{color:var(--scalar-sidebar-color-1, var(--scalar-color-1));text-transform:var(--scalar-tag-text-transform, initial)}.sidebar-group[data-v-39c84840]{list-style:none;width:100%;margin:0;padding:0}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading{padding-left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 12px)!important}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading .toggle-nested-icon{left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 2px)!important}:where(.sidebar-indent-nested[data-v-39c84840]) .sidebar-heading{color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}:where(.sidebar-indent-nested[data-v-39c84840]) :where(.sidebar-indent-nested) .sidebar-heading{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.sidebar[data-v-b727cdda]{--scalar-sidebar-indent-base: 12px}.sidebar[data-v-b727cdda]{flex:1;height:100%;display:flex;flex-direction:column;border-right:1px solid var(--scalar-sidebar-border-color, var(--scalar-border-color));background:var(--scalar-sidebar-background-1, var(--scalar-background-1));--scalar-sidebar-level: 0}.sidebar-pages[data-v-b727cdda]{flex:1;padding:9px 12px}@media (max-width: 1000px){.sidebar[data-v-b727cdda]{min-height:0;border-right:none}.sidebar-pages[data-v-b727cdda]{padding-top:12px}}.sidebar-group-title[data-v-b727cdda]{color:var(--scalar-sidebar-color-1);font-size:var(--scalar-mini);padding:12px 6px 6px;font-weight:var(--scalar-semibold);text-transform:uppercase;word-break:break-word;line-height:1.385}.sidebar-group-item+.sidebar-group-title[data-v-b727cdda]{border-top:1px solid var(--scalar-sidebar-border-color);margin-top:9px}.scalar-modal-layout[data-v-b9af10e0]{animation:modal-fade-b9af10e0 .2s forwards}.scalar-modal[data-v-b9af10e0]{animation:modal-pop-b9af10e0 .15s .15s forwards;height:calc(100% - 120px);width:calc(100% - 8px);max-width:1390px;position:fixed;left:0;top:0;bottom:0;right:0;margin:auto}.scalar-modal.scalar-modal-search[data-v-b9af10e0]{max-width:540px;background-color:transparent}.modal-content-search .modal-body[data-v-b9af10e0]{padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:440px}@media (max-width: 1280px){.scalar-modal[data-v-b9af10e0]{height:calc(100% - 56px);top:28px}}@keyframes modal-fade-b9af10e0{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-b9af10e0{0%{opacity:0}to{opacity:1}}@layer scalar-base,scalar-theme;:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--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:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:where(.scalar-app) .pointer-events-none{pointer-events:none}:where(.scalar-app) .visible{visibility:visible}:where(.scalar-app) .invisible{visibility:hidden}:where(.scalar-app) .fixed{position:fixed}:where(.scalar-app) .absolute{position:absolute}:where(.scalar-app) .relative{position:relative}:where(.scalar-app) .inset-0{top:0;right:0;bottom:0;left:0}:where(.scalar-app) .left-0{left:0}:where(.scalar-app) .top-0{top:0}:where(.scalar-app) .top-\\[0\\.5px\\]{top:.5px}:where(.scalar-app) .-z-1{z-index:-1}:where(.scalar-app) .z-\\[1001\\]{z-index:1001}:where(.scalar-app) .z-overlay{z-index:10000}:where(.scalar-app) .m-0{margin:0}:where(.scalar-app) .-mx-0{margin-left:-0px;margin-right:-0px}:where(.scalar-app) .-mx-0\\.75{margin-left:-3px;margin-right:-3px}:where(.scalar-app) .mx-2{margin-left:8px;margin-right:8px}:where(.scalar-app) .mx-auto{margin-left:auto;margin-right:auto}:where(.scalar-app) .my-0{margin-top:0;margin-bottom:0}:where(.scalar-app) .my-0\\.75{margin-top:3px;margin-bottom:3px}:where(.scalar-app) .my-3{margin-top:12px;margin-bottom:12px}:where(.scalar-app) .mb-0{margin-bottom:0}:where(.scalar-app) .ml-1{margin-left:4px}:where(.scalar-app) .mr-2{margin-right:8px}:where(.scalar-app) .mr-3{margin-right:12px}:where(.scalar-app) .mt-0{margin-top:0}:where(.scalar-app) .mt-1{margin-top:4px}:where(.scalar-app) .mt-1\\.5{margin-top:6px}:where(.scalar-app) .mt-20{margin-top:80px}:where(.scalar-app) .block{display:block}:where(.scalar-app) .inline-block{display:inline-block}:where(.scalar-app) .flex{display:flex}:where(.scalar-app) .grid{display:grid}:where(.scalar-app) .contents{display:contents}:where(.scalar-app) .hidden{display:none}:where(.scalar-app) .aspect-square{aspect-ratio:1 / 1}:where(.scalar-app) .size-10{width:40px;height:40px}:where(.scalar-app) .size-2{width:8px;height:8px}:where(.scalar-app) .size-2\\.5{width:10px;height:10px}:where(.scalar-app) .size-3{width:12px;height:12px}:where(.scalar-app) .size-3\\.5{width:14px;height:14px}:where(.scalar-app) .size-4{width:16px;height:16px}:where(.scalar-app) .size-5{width:20px;height:20px}:where(.scalar-app) .size-6{width:24px;height:24px}:where(.scalar-app) .size-8{width:32px;height:32px}:where(.scalar-app) .size-full{width:100%;height:100%}:where(.scalar-app) .h-10{height:40px}:where(.scalar-app) .h-4{height:16px}:where(.scalar-app) .h-\\[100dvh\\]{height:100dvh}:where(.scalar-app) .h-full{height:100%}:where(.scalar-app) .h-px{height:1px}:where(.scalar-app) .h-screen{height:100vh}:where(.scalar-app) .max-h-\\[440px\\]{max-height:440px}:where(.scalar-app) .max-h-\\[calc\\(100dvh-240px\\)\\]{max-height:calc(100dvh - 240px)}:where(.scalar-app) .min-h-\\[77px\\]{min-height:77px}:where(.scalar-app) .w-4{width:16px}:where(.scalar-app) .w-40{width:160px}:where(.scalar-app) .w-48{width:192px}:where(.scalar-app) .w-56{width:224px}:where(.scalar-app) .w-\\[100dvw\\]{width:100dvw}:where(.scalar-app) .w-full{width:100%}:where(.scalar-app) .min-w-0{min-width:0px}:where(.scalar-app) .max-w-screen-lg{max-width:800px}:where(.scalar-app) .max-w-screen-md{max-width:640px}:where(.scalar-app) .max-w-screen-sm{max-width:540px}:where(.scalar-app) .max-w-screen-xs{max-width:480px}:where(.scalar-app) .flex-1{flex:1 1 0%}:where(.scalar-app) .origin-top-left{transform-origin:top left}:where(.scalar-app) .rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .cursor-not-allowed{cursor:not-allowed}:where(.scalar-app) .cursor-pointer{cursor:pointer}:where(.scalar-app) .resize-none{resize:none}:where(.scalar-app) .resize{resize:both}:where(.scalar-app) .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}:where(.scalar-app) .flex-col{flex-direction:column}:where(.scalar-app) .flex-wrap{flex-wrap:wrap}:where(.scalar-app) .items-start{align-items:flex-start}:where(.scalar-app) .items-center{align-items:center}:where(.scalar-app) .justify-start{justify-content:flex-start}:where(.scalar-app) .justify-center{justify-content:center}:where(.scalar-app) .justify-between{justify-content:space-between}:where(.scalar-app) .gap-0{gap:0px}:where(.scalar-app) .gap-0\\.75{gap:3px}:where(.scalar-app) .gap-1{gap:4px}:where(.scalar-app) .gap-1\\.5{gap:6px}:where(.scalar-app) .gap-2{gap:8px}:where(.scalar-app) .gap-3{gap:12px}:where(.scalar-app) .gap-4{gap:16px}:where(.scalar-app) .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}:where(.scalar-app) .self-center{align-self:center}:where(.scalar-app) .overflow-hidden{overflow:hidden}:where(.scalar-app) .overflow-y-auto{overflow-y:auto}:where(.scalar-app) .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.scalar-app) .text-wrap{text-wrap:wrap}:where(.scalar-app) .rounded{border-radius:var(--scalar-radius)}:where(.scalar-app) .rounded-full{border-radius:9999px}:where(.scalar-app) .rounded-lg{border-radius:var(--scalar-radius-lg)}:where(.scalar-app) .border{border-width:var(--scalar-border-width)}:where(.scalar-app) .border-0{border-width:0}:where(.scalar-app) .border-solid{border-style:solid}:where(.scalar-app) .border-none{border-style:none}:where(.scalar-app) .border-border{border-color:var(--scalar-border-color)}:where(.scalar-app) .border-c-3{border-color:var(--scalar-color-3)}:where(.scalar-app) .border-error{border-color:var(--scalar-error-color)}:where(.scalar-app) .bg-b-1{background-color:var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{background-color:var(--scalar-background-2)}:where(.scalar-app) .bg-b-btn{background-color:var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{background-color:#00000038}:where(.scalar-app) .bg-blue{background-color:var(--scalar-color-blue)}:where(.scalar-app) .bg-border{background-color:var(--scalar-border-color)}:where(.scalar-app) .bg-error{background-color:var(--scalar-error-color)}:where(.scalar-app) .bg-transparent{background-color:transparent}:where(.scalar-app) .stroke-\\[0\\.92\\]{stroke-width:.92}:where(.scalar-app) .stroke-\\[0\\.96\\]{stroke-width:.96}:where(.scalar-app) .stroke-\\[0\\.9\\]{stroke-width:.9}:where(.scalar-app) .stroke-\\[1\\.1\\]{stroke-width:1.1}:where(.scalar-app) .stroke-\\[1\\.2\\]{stroke-width:1.2}:where(.scalar-app) .stroke-\\[1\\.4\\]{stroke-width:1.4}:where(.scalar-app) .stroke-\\[1\\.75\\]{stroke-width:1.75}:where(.scalar-app) .p-0{padding:0}:where(.scalar-app) .p-0\\.5{padding:2px}:where(.scalar-app) .p-0\\.75{padding:3px}:where(.scalar-app) .p-1{padding:4px}:where(.scalar-app) .p-2{padding:8px}:where(.scalar-app) .p-3{padding:12px}:where(.scalar-app) .p-\\[3px\\]{padding:3px}:where(.scalar-app) .px-1{padding-left:4px;padding-right:4px}:where(.scalar-app) .px-2{padding-left:8px;padding-right:8px}:where(.scalar-app) .px-2\\.5{padding-left:10px;padding-right:10px}:where(.scalar-app) .px-3{padding-left:12px;padding-right:12px}:where(.scalar-app) .px-4{padding-left:16px;padding-right:16px}:where(.scalar-app) .px-6{padding-left:24px;padding-right:24px}:where(.scalar-app) .px-9{padding-left:36px;padding-right:36px}:where(.scalar-app) .py-1{padding-top:4px;padding-bottom:4px}:where(.scalar-app) .py-1\\.5{padding-top:6px;padding-bottom:6px}:where(.scalar-app) .py-3{padding-top:12px;padding-bottom:12px}:where(.scalar-app) .py-4{padding-top:16px;padding-bottom:16px}:where(.scalar-app) .pb-0{padding-bottom:0}:where(.scalar-app) .pb-4{padding-bottom:16px}:where(.scalar-app) .pt-3{padding-top:12px}:where(.scalar-app) .pt-6{padding-top:24px}:where(.scalar-app) .text-left{text-align:left}:where(.scalar-app) .font-code{font-family:var(--scalar-font-code)}:where(.scalar-app) .text-lg{font-size:var(--scalar-font-size-2)}:where(.scalar-app) .text-sm{font-size:var(--scalar-font-size-4)}:where(.scalar-app) .text-xs{font-size:var(--scalar-font-size-5)}:where(.scalar-app) .text-xxs{font-size:var(--scalar-font-size-6)}:where(.scalar-app) .font-bold{font-weight:var(--scalar-bold)}:where(.scalar-app) .font-medium{font-weight:var(--scalar-semibold)}:where(.scalar-app) .font-normal{font-weight:var(--scalar-regular)}:where(.scalar-app) .leading-snug{line-height:1.375}:where(.scalar-app) .text-b-1{color:var(--scalar-background-1)}:where(.scalar-app) .text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .text-c-2{color:var(--scalar-color-2)}:where(.scalar-app) .text-c-3{color:var(--scalar-color-3)}:where(.scalar-app) .text-c-btn{color:var(--scalar-button-1-color)}:where(.scalar-app) .text-c-ghost{color:var(--scalar-color-ghost)}:where(.scalar-app) .text-error{color:var(--scalar-error-color)}:where(.scalar-app) .text-transparent{color:transparent}:where(.scalar-app) .text-white{--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where(.scalar-app) .no-underline{text-decoration-line:none}:where(.scalar-app) .opacity-0{opacity:0}:where(.scalar-app) .opacity-50{opacity:.5}:where(.scalar-app) .shadow{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-lg{--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-md{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-sm{--tw-shadow:rgba(0, 0, 0, .09) 0px 1px 4px;--tw-shadow-colored:0px 1px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-current{--tw-shadow-color:currentColor;--tw-shadow:var(--tw-shadow-colored)}:where(.scalar-app) .outline-none{outline:2px solid transparent;outline-offset:2px}:where(.scalar-app) .outline{outline-style:solid}:where(.scalar-app) .blur{--tw-blur:blur(8px);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)}:where(.scalar-app) .brightness-lifted{--tw-brightness:brightness(var(--scalar-lifted-brightness));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)}:where(.scalar-app) .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)}:where(.scalar-app) .transition{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);transition-duration:.15s}:where(.scalar-app) .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:where(.scalar-app) .bg-b-1{--tw-bg-base:var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{--tw-bg-base:var(--scalar-background-2)}:where(.scalar-app) .bg-b-btn{--tw-bg-base:var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{--tw-bg-base:rgba(0, 0, 0, .22)}:where(.scalar-app) .bg-blue{--tw-bg-base:var(--scalar-color-blue)}:where(.scalar-app) .bg-border{--tw-bg-base:var(--scalar-border-color)}:where(.scalar-app) .bg-error{--tw-bg-base:var(--scalar-error-color)}:where(.scalar-app) .bg-transparent{--tw-bg-base:transparent}:where(.scalar-app) .row,:where(.scalar-app) .scalar-row{display:flex;flex-direction:row}:where(.scalar-app) .col{display:flex;flex-direction:column}:where(.scalar-app) .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .before\\:mr-1:before{content:var(--tw-content);margin-right:4px}:where(.scalar-app) .before\\:mr-1\\.5:before{content:var(--tw-content);margin-right:6px}:where(.scalar-app) .before\\:block:before{content:var(--tw-content);display:block}:where(.scalar-app) .before\\:h-4:before{content:var(--tw-content);height:16px}:where(.scalar-app) .before\\:w-4:before{content:var(--tw-content);width:16px}:where(.scalar-app) .before\\:rounded-full:before{content:var(--tw-content);border-radius:9999px}:where(.scalar-app) .before\\:bg-error:before{content:var(--tw-content);background-color:var(--scalar-error-color)}:where(.scalar-app) .before\\:text-center:before{content:var(--tw-content);text-align:center}:where(.scalar-app) .before\\:text-xxs:before{content:var(--tw-content);font-size:var(--scalar-font-size-6)}:where(.scalar-app) .before\\:leading-4:before{content:var(--tw-content);line-height:var(--scalar-line-height-4)}:where(.scalar-app) .before\\:text-white:before{content:var(--tw-content);--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where(.scalar-app) .before\\:content-\\[\\\'\\!\\\'\\]:before{--tw-content:"!";content:var(--tw-content)}:where(.scalar-app) .before\\:bg-error:before{content:var(--tw-content);--tw-bg-base:var(--scalar-error-color)}:where(.scalar-app) .first-of-type\\:mt-0:first-of-type{margin-top:0}:where(.scalar-app) .first-of-type\\:mt-0\\.75:first-of-type{margin-top:3px}:where(.scalar-app) .last-of-type\\:mb-0:last-of-type{margin-bottom:0}:where(.scalar-app) .last-of-type\\:mb-0\\.75:last-of-type{margin-bottom:3px}:where(.scalar-app) .empty\\:hidden:empty{display:none}:where(.scalar-app) .focus-within\\:border-c-1:focus-within{border-color:var(--scalar-color-1)}:where(.scalar-app) .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}:where(.scalar-app) .hover\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hover\\:bg-b-2:hover{--tw-bg-base:var(--scalar-background-2)}:where(.scalar-app) .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}:where(.scalar-app) .active\\:text-c-1:active{color:var(--scalar-color-1)}:where(.scalar-app) .active\\:shadow-none:active{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .active\\:brightness-90:active{--tw-brightness:brightness(.9);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)}:where(.scalar-app) .active\\:bg-b-btn:active{--tw-bg-base:var(--scalar-button-1)}:where(.scalar-app) .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}:where(.scalar-app) .ui-open\\:rotate-180[data-headlessui-state~=open]{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) :where([data-headlessui-state~=open]) .ui-open\\:rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .has-actv-btn\\:border:has(button:active){border-width:var(--scalar-border-width)}:where(.scalar-app) .has-actv-btn\\:border-border:has(button:active){border-color:var(--scalar-border-color)}:where(.scalar-app) .\\!empty\\:flex:not(:empty){display:flex}:where(.scalar-app) .\\!empty\\:w-7:not(:empty){width:28px}:where(.scalar-app) .\\!empty\\:items-center:not(:empty){align-items:center}:where(.scalar-app) .\\!empty\\:pr-3:not(:empty){padding-right:12px}:where(.scalar-app) .hocus\\:bg-border:hover{background-color:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:hover{--tw-brightness:brightness(.9);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)}:where(.scalar-app) .hocus\\:bg-border:hover{--tw-bg-base:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:hover{--tw-bg-base:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:bg-border:focus-visible{background-color:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:focus-visible{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:text-c-1:focus-visible{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:focus-visible{--tw-brightness:brightness(.9);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)}:where(.scalar-app) .hocus\\:bg-border:focus-visible{--tw-bg-base:var(--scalar-border-color)}:where(.scalar-app) .hocus\\:bg-h-btn:focus-visible{--tw-bg-base:var(--scalar-button-1-hover)}@media (min-width: 800px){:where(.scalar-app) .md\\:row{display:flex;flex-direction:row}}.loader-wrapper[data-v-47faceda]{position:relative;height:var(--d6cae758);width:var(--d6cae758);display:flex;align-items:center;justify-content:center;--loader-size: 50%}.svg-loader[data-v-47faceda]{width:var(--loader-size);height:var(--loader-size);top:1rem;right:.9rem;overflow:visible;fill:none;background-color:transparent;stroke:currentColor}.svg-path[data-v-47faceda]{stroke-width:14;fill:none;transition:.3s}.svg-x-mark[data-v-47faceda]{stroke-dasharray:57;stroke-dashoffset:57;transition-delay:0s}.svg-check-mark[data-v-47faceda]{stroke-dasharray:149;stroke-dashoffset:149;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-47faceda],.icon-is-valid .svg-check-mark[data-v-47faceda]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-47faceda]{animation:rotate-47faceda .7s linear infinite,fade-in-47faceda .4s;transform-origin:center center;transform:scale(5);background:transparent}.loader-path[data-v-47faceda]{stroke-dasharray:50,200;stroke-dashoffset:-100;stroke-linecap:round}.loader-path-off[data-v-47faceda]{stroke-dasharray:50,200;stroke-dashoffset:-100;transition:opacity .3s;opacity:0}@keyframes fade-in-47faceda{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-47faceda{0%{transform:scale(5) rotate(0)}to{transform:scale(5) rotate(360deg)}}.scalar-codeblock-pre{margin:0;padding:.5rem;overflow:auto;background:transparent;text-wrap:nowrap;white-space-collapse:preserve;border-radius:0}.scalar-app code.hljs *{font-size:var(--scalar-small);font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.scalar-app code.hljs{font-size:var(--scalar-small);font-family:var(--scalar-font-code);display:inline-block;counter-reset:linenumber}.scalar-app .hljs{background:transparent;color:var(--scalar-color-2)}.scalar-app .hljs .line:before{color:var(--scalar-color-3);display:inline-block;counter-increment:linenumber;content:counter(linenumber);margin-right:.7em;min-width:calc(var(--line-digits) * 1ch);text-align:right}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credentials{font-size:0!important;color:transparent}.scalar-app .credentials:after{content:"·····";font-size:var(--scalar-small);color:var(--scalar-color-3);-webkit-user-select:none;-moz-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-keyword{color:var(--scalar-color-orange)}.hljs.language-curl .hljs-string{color:var(--scalar-color-1)}.hljs.language-curl .hljs-literal,.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{font-family:var(--scalar-font);color:var(--scalar-color-1);word-break:break-word}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6,.scalar-app .markdown p,.scalar-app .markdown div,.scalar-app .markdown img,.scalar-app .markdown details,.scalar-app .markdown summary,.scalar-app .markdown ul,.scalar-app .markdown ol,.scalar-app .markdown table,.scalar-app .markdown blockquote,.scalar-app .markdown code{margin:12px 0}.scalar-app .markdown details{margin:12px 0;color:var(--scalar-color-1)}.scalar-app .markdown summary{display:block;margin:12px 0;padding-left:20px;position:relative;font-weight:var(--scalar-semibold);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown summary:hover:after{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open] summary:after{transform:rotate(90deg)}.scalar-app .markdown summary::-webkit-details-marker{display:none}.scalar-app .markdown img{overflow:hidden;border-radius:var(--scalar-radius);max-width:100%}.scalar-app .markdown>:first-child{margin-top:0}.scalar-app .markdown h1{--font-size: 1.4em}.scalar-app .markdown h2{--font-size: 1.25em}.scalar-app .markdown h3{--font-size: 1.1em}.scalar-app .markdown h4,.scalar-app .markdown h6{--font-size: 1em}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:var(--font-size);margin:18px 0 6px;font-weight:var(--scalar-bold);display:block;line-height:1.45}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:var(--scalar-color-1);font-weight:var(--font-weight, var(--scalar-regular));line-height:1.5;margin-bottom:0;display:block}.scalar-app .markdown ul,.scalar-app .markdown ol{padding-left:24px;line-height:1.5;margin:12px 0;display:block}.scalar-app .markdown ul{list-style:disc}.scalar-app .markdown ol{list-style:decimal}.scalar-app .markdown ul.contains-task-list{list-style:none;padding-left:0}.scalar-app .markdown li{margin:6px 0;display:list-item}.scalar-app .markdown a{color:var(--scalar-color-accent);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);cursor:pointer}.scalar-app .markdown a:hover{-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup{font-size:var(--scalar-micro);vertical-align:super;font-weight:450}.scalar-app .markdown sub{font-size:var(--scalar-micro);vertical-align:sub;font-weight:450}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 1px var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:2px;padding:0 3px}.scalar-app .markdown pre code{display:block;white-space:pre;padding:12px;line-height:1.5;margin:12px 0;-webkit-overflow-scrolling:touch;overflow-x:auto;max-width:100%;min-width:100px}.scalar-app .markdown hr{border:none;border-bottom:1px solid var(--scalar-border-color)}.scalar-app .markdown img{max-height:150px;border-radius:var(--scalar-radius)}.scalar-app .markdown blockquote{border-left:3px solid var(--scalar-border-color);padding-left:12px;margin:0;display:block}.scalar-app .markdown table{display:block;overflow-x:auto;position:relative;border-collapse:collapse;width:-moz-max-content;width:max-content;max-width:100%;margin:1em 0;box-shadow:0 0 0 1px var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.scalar-app .markdown tbody{display:table-row-group;vertical-align:middle}.scalar-app .markdown thead{display:table-header-group;vertical-align:middle}.scalar-app .markdown tr{display:table-row;border-color:inherit;vertical-align:inherit}.scalar-app .markdown td,.scalar-app .markdown th{display:table-cell;vertical-align:inherit;min-width:1em;padding:6px 9px;vertical-align:top;line-height:1.5;position:relative;word-break:initial;font-size:var(--scalar-small);color:var(--scalar-color-1);font-weight:var(--font-weight, var(--scalar-regular));border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color)}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-semibold)!important;text-align:left;border-left-color:transparent;background:var(--scalar-background-2)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.scalar-input-wrapper-focus .scalar-input-label[data-v-94574cc9]{color:var(--scalar-color-1)}.scalar-input-wrapper-error .scalar-input-label[data-v-94574cc9]{color:var(--scalar-color-error-color)}.scalar-input[data-v-94574cc9]::-moz-selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-94574cc9]::selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-94574cc9]:has(+.scalar-input-label){opacity:0}.scalar-input[data-v-94574cc9]:not(:-moz-placeholder-shown){opacity:1;-moz-transition:opacity .2s ease-in-out .15s;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-94574cc9]:not(:placeholder-shown),.scalar-input-wrapper-focus .scalar-input[data-v-94574cc9]{opacity:1;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-94574cc9]:-webkit-autofill,.scalar-input[data-v-94574cc9]:-webkit-autofill:hover,.scalar-input[data-v-94574cc9]:-webkit-autofill:focus,.scalar-input[data-v-94574cc9]:-webkit-autofill:active,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill:hover,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill:focus,.scalar-input[data-v-94574cc9]:focus-within:-webkit-autofill:active{-webkit-box-shadow:0 0 0px 1000px var(--scalar-background-1) inset!important;-webkit-text-fill-color:var(--scalar-color-1);color:var(--scalar-color-1);border-radius:var(--scalar-radius)}.scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label[data-v-94574cc9]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus .scalar-input-label[data-v-94574cc9],.scalar-input:not(:placeholder-shown)+.scalar-input-label[data-v-94574cc9]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus:has(button:active) .scalar-input-label[data-v-94574cc9]{color:var(--scalar-color-3)!important}@layer scalar-base,scalar-theme;:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}:where(.scalar-app) *,:where(.scalar-app) *:before,:where(.scalar-app) *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color);font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:unset;font-weight:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea,:where(.scalar-app) ::file-selector-button{background:transparent}:where(.scalar-app) input:where(:not([type=button],[type=reset],[type=submit])),:where(.scalar-app) select,:where(.scalar-app) textarea{border-radius:var(--scalar-radius);border-width:1px}:where(.scalar-app) input::placeholder,:where(.scalar-app) input:-ms-input-placeholder,:where(.scalar-app) input::-webkit-input-placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{outline:1px solid var(--scalar-color-accent);outline-offset:1px}.scalar-app .cm-scroller,.scalar-app .custom-scroll{overflow-y:auto;scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover{scrollbar-color:var(--scalar-scrollbar-color, transparent)}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb,.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active,.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-corner,.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar,.scalar-app .custom-scroll::-webkit-scrollbar{height:12px;width:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track,.scalar-app .custom-scroll::-webkit-scrollbar-track{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb,.scalar-app .custom-scroll::-webkit-scrollbar-thumb{border-radius:20px;background:transparent;background-clip:content-box;border:3px solid transparent}@media (pointer: coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@layer scalar-base{:root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}}@layer scalar-base{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-4ada381d]{--refs-sidebar-width: var(--scalar-sidebar-width, 0px);--refs-header-height: calc( var(--scalar-y-offset) + var(--scalar-header-height, 0px) );--refs-content-max-width: var(--scalar-content-max-width, 1540px)}.scalar-api-reference.references-classic[data-v-4ada381d]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-4ada381d]{min-height:100dvh;min-width:100%;max-width:100%;flex:1;--full-height: 100dvh;display:grid;grid-template-rows:var(--scalar-header-height, 0px) repeat(2,auto);grid-template-columns:var(--refs-sidebar-width) 1fr;grid-template-areas:"header header" "navigation rendered" "footer footer";background:var(--scalar-background-1)}.references-header[data-v-4ada381d]{grid-area:header;position:sticky;top:var(--scalar-custom-header-height, 0px);z-index:10;height:var(--scalar-header-height, 0px)}.references-editor[data-v-4ada381d]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-4ada381d]{grid-area:navigation}.references-rendered[data-v-4ada381d]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-4ada381d],.references-classic .references-rendered[data-v-4ada381d]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-4ada381d]{position:sticky;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));background:var(--scalar-sidebar-background-1 var(--scalar-background-1));overflow-y:auto;display:flex;flex-direction:column}.references-editor-textarea[data-v-4ada381d]{position:sticky;top:var(--refs-header-height);height:calc(var(--full-height) - var(--refs-header-height));display:flex;min-width:0;flex:1}.references-editable[data-v-4ada381d]{grid-template-columns:var(--refs-sidebar-width) 1fr 1fr;grid-template-areas:"header header header" "navigation editor rendered" "footer footer footer"}@layer scalar-config{.references-sidebar[data-v-4ada381d]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-4ada381d]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-4ada381d]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-4ada381d]{grid-template-columns:auto;grid-template-rows:var(--scalar-header-height, 0px) 0px auto auto;grid-template-areas:"header" "navigation" "rendered" "footer"}.references-editable[data-v-4ada381d]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-4ada381d],.references-rendered[data-v-4ada381d]{max-height:unset}.references-rendered[data-v-4ada381d]{position:static}.references-navigation[data-v-4ada381d]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-4ada381d]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-4ada381d]{position:absolute;top:-1px;height:calc(var(--full-height) - var(--refs-header-height) + 1px);width:100%;border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}}.references-classic-header[data-v-a860f78f]{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-container[data-v-a860f78f]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-a860f78f]{padding:12px 24px}.references-classic-header-container[data-v-a860f78f]{padding:0}}.references-classic-header-icon[data-v-a860f78f]{height:24px;color:var(--scalar-color-1)}.darklight[data-v-559a0a79]{font-family:var(--scalar-font);border:none;border-top:1px solid var(--scalar-sidebar-border-color, var(--scalar-border-color));color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;outline:none;padding:18px 24px 0;display:flex;align-items:center;text-indent:9px;width:100%}.darklight-reference[data-v-559a0a79]{width:100%;margin-top:auto}.darklight[data-v-559a0a79]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}.darklight svg[data-v-559a0a79]{stroke:currentColor;height:12px;width:12px}.darklight-reference-promo[data-v-559a0a79]{padding:6px 24px 12px;display:flex;align-items:center;font-size:var(--scalar-mini);text-decoration:none;color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.darklight-reference-promo[data-v-559a0a79]:hover{text-decoration:underline}.darklight[data-v-8f61ca56]{color:var(--scalar-sidebar-color-2, var(--scalar-color-2));display:flex;align-items:center;height:24px;width:24px;padding:4px}.darklight[data-v-8f61ca56]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}a[data-v-9def0ef3]{text-decoration:none}.ref-search-container[data-v-9def0ef3]{display:flex;flex-direction:column;padding:12px 12px 0}.ref-search-results[data-v-9def0ef3]{padding:12px}.ref-search-meta[data-v-9def0ef3]{background:var(--scalar-background-3);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px}.sidebar-search[data-v-37498e26]{display:flex;align-items:center;position:relative;padding:0 3px 0 9px;min-width:254px;max-width:100%;font-family:var(--scalar-font);background:var( --scalar-sidebar-search-background, var(--scalar-background-1) );color:var(--scalar-sidebar-color-2, var(--scalar-color-2));outline:none;border-radius:var(--scalar-radius);box-shadow:0 0 0 1px var(--scalar-sidebar-search-border-color, var(--scalar-border-color));cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none}.sidebar-search-input[data-v-37498e26]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);height:31px;-webkit-user-select:none;user-select:none;z-index:10;position:relative;display:flex;width:100%;justify-content:space-between;align-items:center}.sidebar-search-shortcut[data-v-37498e26]{text-transform:uppercase}.sidebar-search-key[data-v-37498e26]{background-color:var(--scalar-background-2);padding:3px 5px;margin:2px;border-radius:var(--scalar-radius);color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.search-icon[data-v-37498e26]{padding:0;margin-right:6px;width:12px}.references-mobile-header[data-v-b5fb4b8b]{display:none;align-items:center;height:100%;width:100%;padding:0 8px;background:var(--scalar-background-1);border-bottom:1px solid var(--scalar-border-color)}.references-mobile-breadcrumbs[data-v-b5fb4b8b]{flex:1;min-width:0;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.references-mobile-header-actions[data-v-b5fb4b8b]{display:flex;flex-direction:row;gap:4px;height:24px;align-items:center;padding-left:4px}@media (max-width: 1000px){.references-mobile-header[data-v-b5fb4b8b]{display:flex}}@media (max-width: 1000px){.scalar-api-references-standalone-mobile{--scalar-header-height: 50px}}.scalar-api-references-standalone-search[data-v-273f5da8]{display:flex;flex-direction:column;padding:12px 12px 6px}body{margin:0}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t,r=Object.defineProperty,n=(e,t,n)=>((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);function a(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;"object"==typeof o&&null!==o?a(o,t,i):"function"==typeof o&&(t[i]=o)}return t}const o={run:e=>e()},i=void 0!==console.createTask?console.createTask:()=>o;function s(e,t){const r=t.shift(),n=i(r);return e.reduce(((e,r)=>e.then((()=>n.run((()=>r(...t)))))),Promise.resolve())}function l(e,t){const r=t.shift(),n=i(r);return Promise.all(e.map((e=>n.run((()=>e(...t))))))}function c(e,t){for(const r of[...e])r(t)}class u{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,r={}){if(!e||"function"!=typeof t)return()=>{};const n=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!r.allowDeprecated){let e=a.message;e||(e=`${n} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let r,n=(...e)=>("function"==typeof r&&r(),r=void 0,n=void 0,t(...e));return r=this.hook(e,n),r}removeHook(e,t){if(this._hooks[e]){const r=this._hooks[e].indexOf(t);-1!==r&&this._hooks[e].splice(r,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const r=this._hooks[e]||[];delete this._hooks[e];for(const t of r)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=a(e),r=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of r.splice(0,r.length))e()}}removeHooks(e){const t=a(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(s,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(l,e,...t)}callHookWith(e,t,...r){const n=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&c(this._before,n);const a=e(t in this._hooks?[...this._hooks[t]]:[],r);return a instanceof Promise?a.finally((()=>{this._after&&n&&c(this._after,n)})):(this._after&&n&&c(this._after,n),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const d=["title","titleTemplate","script","style","noscript"],p=["base","meta","link","style","script","noscript"],h=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],f=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],m=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],g="undefined"!=typeof window;function b(e){let t=9;for(let r=0;r>>9)).toString(16).substring(1,8).toLowerCase()}function v(e){return e._h||b(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map((([e,t])=>`${e}:${String(t)}`)).join(",")}`)}function O(e,t){const{props:r,tag:n}=e;if(f.includes(n))return n;if("link"===n&&"canonical"===r.rel)return"canonical";if(r.charset)return"charset";const a=["id"];"meta"===n&&a.push("name","property","http-equiv");for(const e of a)if(void 0!==r[e])return`${n}:${e}:${String(r[e])}`;return!1}function y(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function w(e,t){const r=[],n=t.resolveKeyData||(e=>e.key),a=t.resolveValueData||(e=>e.value);for(const[o,i]of Object.entries(e))r.push(...(Array.isArray(i)?i:[i]).map((e=>{const r={key:o,value:e},i=a(r);return"object"==typeof i?w(i,t):Array.isArray(i)?i:{["function"==typeof t.key?t.key(r):t.key]:n(r),["function"==typeof t.value?t.value(r):t.value]:i}})).flat());return r}function x(e,t){return Object.entries(e).map((([e,r])=>{if("object"==typeof r&&(r=x(r,t)),t.resolve){const n=t.resolve({key:e,value:r});if(void 0!==n)return n}return"number"==typeof r&&(r=r.toString()),"string"==typeof r&&t.wrapValue&&(r=r.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),r=`${t.wrapValue}${r}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${r}`})).join(t.entrySeparator||"")}const k=e=>({keyValue:e,metaKey:"property"}),_=e=>({keyValue:e}),S={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${A(e)}=${t}`}},articleExpirationTime:k("article:expiration_time"),articleModifiedTime:k("article:modified_time"),articlePublishedTime:k("article:published_time"),bookReleaseDate:k("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${A(e)} ${t}`},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:k("fb:app_id"),msapplicationConfig:_("msapplication-Config"),msapplicationTileColor:_("msapplication-TileColor"),msapplicationTileImage:_("msapplication-TileImage"),ogAudioSecureUrl:k("og:audio:secure_url"),ogAudioUrl:k("og:audio"),ogImageSecureUrl:k("og:image:secure_url"),ogImageUrl:k("og:image"),ogSiteName:k("og:site_name"),ogVideoSecureUrl:k("og:video:secure_url"),ogVideoUrl:k("og:video"),profileFirstName:k("profile:first_name"),profileLastName:k("profile:last_name"),profileUsername:k("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if("seconds"===e)return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?`${A(e)}`:`${A(e)}:${t}`}},xUaCompatible:{metaKey:"http-equiv"}},E=["og","book","article","profile"];function T(e){var t;const r=A(e).split(":")[0];return E.includes(r)?"property":(null==(t=S[e])?void 0:t.metaKey)||"name"}function A(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.split("-")[0];return E.includes(r)||"twitter"===r?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function C(e){if(Array.isArray(e))return e.map((e=>C(e)));if("object"!=typeof e||Array.isArray(e))return e;const t={};for(const[r,n]of Object.entries(e))t[A(r)]=C(n);return t}function P(e,t){const r=S[t];return"refresh"===t?`${e.seconds};url=${e.url}`:x(C(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,...null==r?void 0:r.unpack})}const D=["og:image","og:video","og:audio","twitter:image"];function R(e){const t={};return Object.entries(e).forEach((([e,r])=>{"false"!==String(r)&&e&&(t[e]=r)})),t}function N(e,t){const r=R(t),n=A(e),a=T(n);if(D.includes(n)){const t={};return Object.entries(r).forEach((([r,n])=>{t[`${e}${"url"===r?"":`${r.charAt(0).toUpperCase()}${r.slice(1)}`}`]=n})),$(t).sort(((e,t)=>{var r,n;return((null==(r=e[a])?void 0:r.length)||0)-((null==(n=t[a])?void 0:n.length)||0)}))}return[{[a]:n,...r}]}function $(e){const t=[],r={};Object.entries(e).forEach((([e,n])=>{if(Array.isArray(n))n.forEach((r=>{t.push(..."string"==typeof r?$({[e]:r}):N(e,r))}));else if("object"==typeof n&&n){if(D.includes(A(e)))return void t.push(...N(e,n));r[e]=R(n)}else r[e]=n}));const n=w(r,{key:({key:e})=>T(e),value:({key:e})=>"charset"===e?"charset":"content",resolveKeyData:({key:e})=>function(e){var t;return(null==(t=S[e])?void 0:t.keyValue)||A(e)}(e),resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?P(e,t):"number"==typeof e?e.toString():e});return[...t,...n].map((e=>("_null"===e.content&&(e.content=null),e)))}function I(e,t){var r;const n="class"===e?" ":";";return"object"!=typeof t||Array.isArray(t)||(t=Object.entries(t).filter((([,e])=>e)).map((([t,r])=>"style"===e?`${t}:${r}`:t))),null==(r=String(Array.isArray(t)?t.join(n):t))?void 0:r.split(n).filter((e=>e.trim())).filter(Boolean).join(n)}async function M(e,t){for(const r of Object.keys(e))if(["class","style"].includes(r))e[r]=I(r,e[r]);else if(e[r]instanceof Promise&&(e[r]=await e[r]),!t&&!m.includes(r)){const t=String(e[r]),n=r.startsWith("data-");"true"===t||""===t?e[r]=!n||"true":e[r]||(n&&"false"===t?e[r]="false":delete e[r])}return e}const L=10;async function Q(e){const t=[];return Object.entries(e.resolvedInput).filter((([e,t])=>void 0!==t&&h.includes(e))).forEach((([r,n])=>{const a=function(e){return Array.isArray(e)?e:[e]}(n);t.push(...a.map((t=>async function(e,t,r){const n={tag:e,props:await M("object"!=typeof t||"function"==typeof t||t instanceof Promise?{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t}:{...t},["templateParams","titleTemplate"].includes(e))};return m.forEach((e=>{const t=void 0!==n.props[e]?n.props[e]:r[e];void 0!==t&&(["innerHTML","textContent","children"].includes(e)&&!d.includes(n.tag)||(n["children"===e?"innerHTML":e]=t),delete n.props[e])})),n.props.body&&(n.tagPosition="bodyClose",delete n.props.body),"script"===n.tag&&"object"==typeof n.innerHTML&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||"application/json"),Array.isArray(n.props.content)?n.props.content.map((e=>({...n,props:{...n.props,content:e}}))):n}(r,t,e))).flat())})),(await Promise.all(t)).flat().filter(Boolean).map(((t,r)=>(t._e=e._i,e.mode&&(t._m=e.mode),t._p=(e._i<{const n=function(e){let r;return r=["s","pageTitle"].includes(e)?t.pageTitle:e.includes(".")?e.split(".").reduce(((e,t)=>e&&e[t]||void 0),t):t[e],void 0!==r&&(r||"").replace(/"/g,'\\"')}(r.slice(1));"string"==typeof n&&(e=e.replace(new RegExp(`\\${r}(\\W|$)`,"g"),((e,t)=>`${n}${t}`)).trim())})),e.includes(q)&&(e.endsWith(q)&&(e=e.slice(0,-10).trim()),e.startsWith(q)&&(e=e.slice(10).trim()),e=Z(e=e.replace(new RegExp(`\\${q}\\s*\\${q}`,"g"),q),{separator:r},r)),e}function H(e){return t=>{var r,n;const a=(null==(n=null==(r=t.resolvedOptions.document)?void 0:r.head.querySelector('script[id="unhead:payload"]'))?void 0:n.innerHTML)||!1;return a&&t.push(JSON.parse(a)),{mode:"client",hooks:{"entries:updated":function(t){!async function(e,t={}){const r=t.delayFn||(e=>setTimeout(e,10));e._domUpdatePromise=e._domUpdatePromise||new Promise((n=>r((async()=>{await async function(e,t={}){var r;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const a={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const o=(await e.resolveTags()).map((e=>({tag:e,id:p.includes(e.tag)?v(e):e.tag,shouldRender:!0})));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const e of["body","head"]){const t=null==(r=n[e])?void 0:r.children,a=[];for(const e of[...t].filter((e=>p.includes(e.tagName.toLowerCase())))){const t={tag:e.tagName.toLowerCase(),props:await M(e.getAttributeNames().reduce(((t,r)=>({...t,[r]:e.getAttribute(r)})),{})),innerHTML:e.innerHTML};let r=1,n=O(t);for(;n&&a.find((e=>e._d===n));)n=`${n}:${r++}`;t._d=n||void 0,a.push(t),i.elMap[e.getAttribute("data-hid")||v(t)]=e}}}function s(e,t,r){const n=`${e}:${t}`;i.sideEffects[n]=r,delete i.pendingSideEffects[n]}function l({id:e,$el:t,tag:r}){const a=r.tag.endsWith("Attrs");i.elMap[e]=t,a||(["textContent","innerHTML"].forEach((e=>{r[e]&&r[e]!==t[e]&&(t[e]=r[e])})),s(e,"el",(()=>{var t;null==(t=i.elMap[e])||t.remove(),delete i.elMap[e]})));for(const[e,a]of Object.entries(r._eventHandlers||{}))""!==t.getAttribute(`data-${e}`)&&(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(e.replace("on",""),a.bind(t)),t.setAttribute(`data-${e}`,""));Object.entries(r.props).forEach((([r,n])=>{const o=`attr:${r}`;if("class"===r)for(const r of(n||"").split(" ").filter(Boolean))a&&s(e,`${o}:${r}`,(()=>t.classList.remove(r))),!t.classList.contains(r)&&t.classList.add(r);else if("style"===r)for(const r of(n||"").split(";").filter(Boolean)){const[n,...a]=r.split(":").map((e=>e.trim()));s(e,`${o}:${r}:${n}`,(()=>{t.style.removeProperty(n)})),t.style.setProperty(n,a.join(":"))}else t.getAttribute(r)!==n&&t.setAttribute(r,!0===n?"":String(n)),a&&s(e,o,(()=>t.removeAttribute(r)))}))}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const e of o){const{tag:t,shouldRender:r,id:a}=e;r&&("title"!==t.tag?(e.$el=e.$el||i.elMap[a],e.$el?l(e):p.includes(t.tag)&&c.push(e)):n.title=t.textContent)}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=n.createElement(e.tag.tag),l(e),u[t]=u[t]||n.createDocumentFragment(),u[t].appendChild(e.$el)}for(const t of o)await e.hooks.callHook("dom:renderTag",t,n,s);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(i.pendingSideEffects).forEach((e=>e())),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}(e,t),delete e._domUpdatePromise,n()}))))}(t,e)}}}}}const V=["templateParams","htmlAttrs","bodyAttrs"],W={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach((t=>{e.props[t]&&(e.key=e.props[t],delete e.props[t])}));const t=O(e)||!!e.key&&`${e.tag}:${e.key}`;t&&(e._d=t)},"tags:resolve":function(e){const t={};e.tags.forEach((e=>{const r=(e.key?`${e.tag}:${e.key}`:e._d)||e._p,n=t[r];if(n){let a=null==e?void 0:e.tagDuplicateStrategy;if(!a&&V.includes(e.tag)&&(a="merge"),"merge"===a){const a=n.props;return["class","style"].forEach((t=>{a[t]&&(e.props[t]?("style"!==t||a[t].endsWith(";")||(a[t]+=";"),e.props[t]=`${a[t]} ${e.props[t]}`):e.props[t]=a[t])})),void(t[r].props={...a,...e.props})}if(e._e===n._e)return n._duped=n._duped||[],e._d=`${n._d}:${n._duped.length+1}`,void n._duped.push(e);if(U(e)>U(n))return}const a=Object.keys(e.props).length+(e.innerHTML?1:0)+(e.textContent?1:0);p.includes(e.tag)&&0===a?delete t[r]:t[r]=e}));const r=[];Object.values(t).forEach((e=>{const t=e._duped;delete e._duped,r.push(e),t&&r.push(...t)})),e.tags=r,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))}}},X={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter((e=>["titleTemplate","templateParams","title"].includes(e.tag)&&"server"===e._m)).forEach((e=>{t[e.tag]=e.tag.startsWith("title")?e.textContent:e.props})),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Y=["script","link","bodyAttrs"],G=e=>({hooks:{"tags:resolve":function(t){for(const r of t.tags.filter((e=>Y.includes(e.tag))))Object.entries(r.props).forEach((([t,n])=>{t.startsWith("on")&&"function"==typeof n&&(e.ssr&&z.includes(t)?r.props[t]=`this.dataset.${t}fired = true`:delete r.props[t],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[t]=n)})),e.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||b(r.props.src||r.props.href))},"dom:renderTag":function({$el:e,tag:t}){var r,n;for(const a of Object.keys((null==e?void 0:e.dataset)||{}).filter((e=>z.some((t=>`${t}fired`===e))))){const o=a.replace("fired","");null==(n=null==(r=t._eventHandlers)?void 0:r[o])||n.call(e,new Event(o.replace("on","")))}}}}),K=["link","style","script","noscript"],J={hooks:{"tag:normalise":({tag:e})=>{e.key&&K.includes(e.tag)&&(e.props["data-hid"]=e._h=b(e.key))}}},ee={hooks:{"tags:resolve":e=>{const t=t=>{var r;return null==(r=e.tags.find((e=>e._d===t)))?void 0:r._p};for(const{prefix:r,offset:n}of F)for(const a of e.tags.filter((e=>"string"==typeof e.tagPriority&&e.tagPriority.startsWith(r)))){const e=t(a.tagPriority.replace(r,""));void 0!==e&&(a._p=e+n)}e.tags.sort(((e,t)=>e._p-t._p)).sort(((e,t)=>U(e)-U(t)))}}},te={meta:"content",link:"href",htmlAttrs:"lang"},re=e=>({hooks:{"tags:resolve":t=>{var r;const{tags:n}=t,a=null==(r=n.find((e=>"title"===e.tag)))?void 0:r.textContent,o=n.findIndex((e=>"templateParams"===e.tag)),i=-1!==o?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Z(i.pageTitle||a||"",i,s);for(const e of n.filter((e=>!1!==e.processTemplateParams))){const t=te[e.tag];t&&"string"==typeof e.props[t]?e.props[t]=Z(e.props[t],i,s):(!0===e.processTemplateParams||["titleTemplate","title"].includes(e.tag))&&["innerHTML","textContent"].forEach((t=>{"string"==typeof e[t]&&(e[t]=Z(e[t],i,s))}))}e._templateParams=i,e._separator=s,t.tags=n.filter((e=>"templateParams"!==e.tag))}}}),ne={hooks:{"tags:resolve":e=>{const{tags:t}=e;let r=t.findIndex((e=>"titleTemplate"===e.tag));const n=t.findIndex((e=>"title"===e.tag));if(-1!==n&&-1!==r){const e=y(t[r].textContent,t[n].textContent);null!==e?t[n].textContent=e||t[n].textContent:delete t[n]}else if(-1!==r){const e=y(t[r].textContent);null!==e&&(t[r].textContent=e,t[r].tag="title",r=-1)}-1!==r&&delete t[r],e.tags=t.filter(Boolean)}}},ae={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)"string"==typeof t.innerHTML&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>mi(e,r)))},n=()=>{const n=e(t.proxy);fi(t.subTree,n),r(n)};Cn((()=>{Ha(n,null,{flush:"post"});const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),Nn((()=>e.disconnect()))}))}function fi(e,t){if(128&e.shapeFlag){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push((()=>{fi(r.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)mi(e.el,t);else if(e.type===uo)e.children.forEach((e=>fi(e,t)));else if(e.type===fo){let{el:r,anchor:n}=e;for(;r&&(mi(r,t),r!==n);)r=r.nextSibling}}function mi(e,t){if(1===e.nodeType){const r=e.style;let n="";for(const e in t)r.setProperty(`--${e}`,t[e]),n+=`--${e}: ${t[e]};`;r[pi]=n}}const gi=/(^|;)\s*display\s*:/,bi=/\s*!important$/;function vi(e,t,r){if(ve(r))r.forEach((r=>vi(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=function(e,t){const r=yi[t];if(r)return r;let n=Ie(t);if("filter"!==n&&n in e)return yi[t]=n;n=Qe(n);for(let r=0;rEi||(Ti.then((()=>Ei=0)),Ei=Date.now()),Ci=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Pi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?e=>Ue(t,e):t};function Di(e){e.target.composing=!0}function Ri(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ni=Symbol("_assign"),$i={created(e,{modifiers:{lazy:t,trim:r,number:n}},a){e[Ni]=Pi(a);const o=n||a.props&&"number"===a.props.type;ki(e,t?"change":"input",(t=>{if(t.target.composing)return;let n=e.value;r&&(n=n.trim()),o&&(n=ze(n)),e[Ni](n)})),r&&ki(e,"change",(()=>{e.value=e.value.trim()})),t||(ki(e,"compositionstart",Di),ki(e,"compositionend",Ri),ki(e,"change",Ri))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:a,number:o}},i){if(e[Ni]=Pi(i),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:ze(e.value))!==s){if(document.activeElement===e&&"range"!==e.type){if(n&&t===r)return;if(a&&e.value.trim()===s)return}e.value=s}}},Ii={deep:!0,created(e,t,r){e[Ni]=Pi(r),ki(e,"change",(()=>{const t=e._modelValue,r=Bi(e),n=e.checked,a=e[Ni];if(ve(t)){const e=rt(t,r),o=-1!==e;if(n&&!o)a(t.concat(r));else if(!n&&o){const r=[...t];r.splice(e,1),a(r)}}else if(ye(t)){const e=new Set(t);n?e.add(r):e.delete(r),a(e)}else a(ji(e,n))}))},mounted:Mi,beforeUpdate(e,t,r){e[Ni]=Pi(r),Mi(e,t,r)}};function Mi(e,{value:t,oldValue:r},n){e._modelValue=t,ve(t)?e.checked=rt(t,n.props.value)>-1:ye(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=tt(t,ji(e,!0)))}const Li={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const a=ye(t);ki(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>r?ze(Bi(e)):Bi(e)));e[Ni](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,Kr((()=>{e._assigning=!1}))})),e[Ni]=Pi(n)},mounted(e,{value:t,modifiers:{number:r}}){Qi(e,t)},beforeUpdate(e,t,r){e[Ni]=Pi(r)},updated(e,{value:t,modifiers:{number:r}}){e._assigning||Qi(e,t)}};function Qi(e,t,r){const n=e.multiple,a=ve(t);if(!n||a||ye(t)){for(let r=0,o=e.options.length;rString(e)===String(i))):rt(t,i)>-1}else o.selected=t.has(i);else if(tt(Bi(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Bi(e){return"_value"in e?e._value:e.value}function ji(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Ui=["ctrl","shift","alt","meta"],Fi={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ui.some((r=>e[`${r}Key`]&&!t.includes(r)))},zi=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(r,...n)=>{for(let e=0;e{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=r=>{if(!("key"in r))return;const n=Le(r.key);return t.some((e=>e===n||qi[e]===n))?e(r):void 0})},Hi=fe({patchProp:(e,t,r,n,a,o,i,s,l)=>{const c="svg"===a;"class"===t?function(e,t,r){const n=e[si];n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}(e,n,c):"style"===t?function(e,t,r){const n=e.style,a=ke(r);let o=!1;if(r&&!a){if(t)if(ke(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&vi(n,t,"")}else for(const e in t)null==r[e]&&vi(n,e,"");for(const e in r)"display"===e&&(o=!0),vi(n,e,r[e])}else if(a){if(t!==r){const e=n[pi];e&&(r+=";"+e),n.cssText=r,o=gi.test(r)}}else t&&e.removeAttribute("style");li in e&&(e[li]=o?n.display:"",e[ci]&&(n.display="none"))}(e,r,n):pe(t)?he(t)||function(e,t,r,n,a=null){const o=e[_i]||(e[_i]={}),i=o[t];if(n&&i)i.value=n;else{const[r,s]=function(e){let t;if(Si.test(e)){let r;for(t={};r=e.match(Si);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Le(e.slice(2)),t]}(t);if(n){const i=o[t]=function(e,t){const r=e=>{if(e._vts){if(e._vts<=r.attached)return}else e._vts=Date.now();Ur(function(e,t){if(ve(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,r.value),t,5,[e])};return r.value=e,r.attached=Ai(),r}(n,a);ki(e,r,i,s)}else i&&(function(e,t,r,n){e.removeEventListener(t,r,n)}(e,r,i,s),o[t]=void 0)}}(e,t,0,n,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,r,n){if(n)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ci(t)&&xe(r));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Ci(t)||!ke(r))&&t in e}(e,t,n,c))?(function(e,t,r,n,a,o,i){if("innerHTML"===t||"textContent"===t)return n&&i(n,a,o),void(e[t]=null==r?"":r);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const n="OPTION"===s?e.getAttribute("value")||"":e.value,a=null==r?"":String(r);return n===a&&"_value"in e||(e.value=a),null==r&&e.removeAttribute(t),void(e._value=r)}let l=!1;if(""===r||null==r){const n=typeof e[t];"boolean"===n?r=et(r):null==r&&"string"===n?(r="",l=!0):"number"===n&&(r=0,l=!0)}try{e[t]=r}catch(e){}l&&e.removeAttribute(t)}(e,t,n,o,i,s,l),"value"!==t&&"checked"!==t&&"selected"!==t||xi(e,t,n,c,0,"value"!==t)):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),xi(e,t,n,c))}},ii);let Vi;const Wi=(...e)=>{const t=(Vi||(Vi=Ia(Hi))).createApp(...e),{mount:r}=t;return t.mount=e=>{const n=function(e){return ke(e)?document.querySelector(e):e}(e);if(!n)return;const a=t._component;xe(a)||a.render||a.template||(a.template=n.innerHTML),n.innerHTML="";const o=r(n,!1,function(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t},Xi=ni.startsWith("3");function Yi(e,t=""){if(e instanceof Promise)return e;const r="function"==typeof(n=e)?n():Nr(n);var n;return e&&r?Array.isArray(r)?r.map((e=>Yi(e,t))):"object"==typeof r?Object.fromEntries(Object.entries(r).map((([e,t])=>"titleTemplate"===e||e.startsWith("on")?[e,Nr(t)]:[e,Yi(t,e)]))):r:r}const Gi={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Yi(t.input)}}},Ki="usehead";function Ji(e={}){e.domDelayFn=e.domDelayFn||(e=>Kr((()=>setTimeout((()=>e()),0))));const t=function(e={}){const t=function(e={}){const t=new u;t.addHooks(e.hooks||{}),e.document=e.document||(g?document:void 0);const r=!e.document,n=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let a=0,o=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries:()=>o,use(e){const n="function"==typeof e?e(s):e;n.key&&i.some((e=>e.key===n.key))||(i.push(n),ie(n.mode,r)&&t.addHooks(n.hooks||{}))},push(e,i){null==i||delete i.head;const l={_i:a++,input:e,...i};return ie(l.mode,r)&&(o.push(l),n()),{dispose(){o=o.filter((e=>e._i!==l._i)),t.callHook("entries:updated",s),n()},patch(e){o=o.map((t=>(t._i===l._i&&(t.input=l.input=e),t))),n()}}},async resolveTags(){const e={tags:[],entries:[...o]};await t.callHook("entries:resolve",e);for(const r of e.entries){const n=r.resolvedInput||r.input;if(r.resolvedInput=await(r.transform?r.transform(n):n),r.resolvedInput)for(const n of await Q(r)){const a={tag:n,entry:r,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",a),e.tags.push(a.tag)}}return await t.callHook("tags:beforeResolve",e),await t.callHook("tags:resolve",e),await t.callHook("tags:afterResolve",e),e.tags},ssr:r};return[W,X,G,J,ee,re,ne,ae,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),s.hooks.callHook("init",s),s}(e);return t.use(H()),oe=t}(e);return t.use(Gi),t.install=function(e){return{install(t){Xi&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ki,e))}}.install}(t),t}const es="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ts="__unhead_injection_handler__";function rs(e,t={}){const r=t.head||(ts in es?es[ts]():ba(Ki)||oe);if(r)return r.ssr?r.push(e,t):function(e,t,r={}){const n=Cr(!1),a=Cr({});za((()=>{a.value=n.value?{}:Yi(t)}));const o=e.push(a.value,r);return Za(a,(e=>{o.patch(e)})),Fo()&&(Rn((()=>{o.dispose()})),Ka((()=>{n.value=!0})),Ga((()=>{n.value=!1}))),o}(r,e,t)}const ns=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"];function as(e,t){var r,n;const a=[],o=[],i=[];if(!e.customSecurity&&(!e.preferredSecurityScheme||!(s=t)||Array.isArray(s)&&!s.length||(s??[]).some((e=>!Object.keys(e).length))))return{headers:a,queryString:o,cookies:i};var s;const l=(null==t?void 0:t.some((t=>e.preferredSecurityScheme&&Object.keys(t).includes(e.preferredSecurityScheme))))||e.customSecurity?e.preferredSecurityScheme:Object.keys((null==t?void 0:t[0])??{}).pop(),c=null==(r=e.securitySchemes)?void 0:r[l??""];if(c)if("type"in c&&"apiKey"===c.type){if("in"in c&&"header"===c.in){const t=(null==(n=e.apiKey.token)?void 0:n.length)?e.apiKey.token:"YOUR_TOKEN";a.push({name:"name"in c?c.name:"",value:t})}else if("in"in c&&"cookie"===c.in){const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";i.push({name:c.name,value:t})}else if("in"in c&&"query"===c.in){const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";o.push({name:c.name,value:t})}}else if(!("type"in c)||"http"!==c.type&&"basic"!==c.type){if("type"in c&&"oauth2"===c.type.toLowerCase()){const t=e.oAuth2.accessToken||"YOUR_SECRET_TOKEN";a.push({name:"Authorization",value:`Bearer ${t}`})}}else if("type"in c&&("basic"===c.type||"http"===c.type&&"basic"===c.scheme)){const{username:t,password:r}=e.http.basic,n=os(t,r);a.push({name:"Authorization",value:`Basic ${n}`.trim()})}else if("type"in c&&"http"===c.type&&"bearer"===c.scheme){const t=e.http.bearer.token.length?e.http.bearer.token:"YOUR_SECRET_TOKEN";a.push({name:"Authorization",value:`Bearer ${t}`})}return{headers:a,queryString:o,cookies:i}}function os(e,t){return(null==e?void 0:e.length)||(null==t?void 0:t.length)?(r=`${e}:${t}`,"undefined"==typeof window?Buffer.from(r).toString("base64"):btoa(r)):"";var r}function is(e){return[e.apiKey.token,e.http.bearer.token,e.oAuth2.accessToken,os(e.http.basic.username,e.http.basic.password),e.http.basic.password].filter(Boolean)}const ss=(e,t)=>{if("string"!=typeof t||!t.length)return e;const r=e.trim(),n=t.trim();return[r.endsWith("/")?r:`${r}/`,n.startsWith("/")?n.slice(1):n].join("")},ls=e=>{let t=0,r=0,n=0;if(!(null==e?void 0:e.length))return r;for(n=0;ne&&"object"==typeof e&&!Array.isArray(e),us=(e,...t)=>{if(!t.length)return e;const r=t.shift();if(cs(e)&&cs(r))for(const t in r)cs(r[t])?(e[t]||Object.assign(e,{[t]:{}}),us(e[t],r[t])):Object.assign(e,{[t]:r[t]});return us(e,...t)};function ds(e,t){if(!ps(e,t))return t??"";const r=new URL(t);return r.href=e,r.searchParams.append("scalar_url",t),r.toString()}function ps(e,t){return!(!e||!t||!t.startsWith("http://")&&!t.startsWith("https://")||function(e){const{hostname:t}=new URL(e);return["localhost","127.0.0.1","[::1]"].includes(t)}(t))}const hs=Symbol.for("yaml.alias"),fs=Symbol.for("yaml.document"),ms=Symbol.for("yaml.map"),gs=Symbol.for("yaml.pair"),bs=Symbol.for("yaml.scalar"),vs=Symbol.for("yaml.seq"),Os=Symbol.for("yaml.node.type"),ys=e=>!!e&&"object"==typeof e&&e[Os]===hs,ws=e=>!!e&&"object"==typeof e&&e[Os]===fs,xs=e=>!!e&&"object"==typeof e&&e[Os]===ms,ks=e=>!!e&&"object"==typeof e&&e[Os]===gs,_s=e=>!!e&&"object"==typeof e&&e[Os]===bs,Ss=e=>!!e&&"object"==typeof e&&e[Os]===vs;function Es(e){if(e&&"object"==typeof e)switch(e[Os]){case ms:case vs:return!0}return!1}function Ts(e){if(e&&"object"==typeof e)switch(e[Os]){case hs:case ms:case bs:case vs:return!0}return!1}const As=e=>(_s(e)||Es(e))&&!!e.anchor,Cs=Symbol("break visit"),Ps=Symbol("skip children"),Ds=Symbol("remove node");function Rs(e,t){const r=function(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}(t);ws(e)?Ns(null,e.contents,r,Object.freeze([e]))===Ds&&(e.contents=null):Ns(null,e,r,Object.freeze([]))}function Ns(e,t,r,n){const a=function(e,t,r,n){var a,o,i,s,l;return"function"==typeof r?r(e,t,n):xs(t)?null==(a=r.Map)?void 0:a.call(r,e,t,n):Ss(t)?null==(o=r.Seq)?void 0:o.call(r,e,t,n):ks(t)?null==(i=r.Pair)?void 0:i.call(r,e,t,n):_s(t)?null==(s=r.Scalar)?void 0:s.call(r,e,t,n):ys(t)?null==(l=r.Alias)?void 0:l.call(r,e,t,n):void 0}(e,t,r,n);if(Ts(a)||ks(a))return function(e,t,r){const n=t[t.length-1];if(Es(n))n.items[e]=r;else if(ks(n))"key"===e?n.key=r:n.value=r;else{if(!ws(n)){const e=ys(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=r}}(e,n,a),Ns(e,a,r,n);if("symbol"!=typeof a)if(Es(t)){n=Object.freeze(n.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),r)}const[,r,n]=e.match(/^(.*!)([^!]*)$/s);n||t(`The ${e} tag has no suffix`);const a=this.tags[r];if(a)try{return a+decodeURIComponent(n)}catch(e){return t(String(e)),null}return"!"===r?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,r]of Object.entries(this.tags))if(e.startsWith(r))return t+e.substring(r.length).replace(/[!,[\]{}]/g,(e=>$s[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let n;if(e&&r.length>0&&Ts(e.contents)){const t={};Rs(e.contents,((e,r)=>{Ts(r)&&r.tag&&(t[r.tag]=!0)})),n=Object.keys(t)}else n=[];for(const[a,o]of r)"!!"===a&&"tag:yaml.org,2002:"===o||e&&!n.some((e=>e.startsWith(o)))||t.push(`%TAG ${a} ${o}`);return t.join("\n")}}function Ms(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function Ls(e){const t=new Set;return Rs(e,{Value(e,r){r.anchor&&t.add(r.anchor)}}),t}function Qs(e,t){for(let r=1;;++r){const n=`${e}${r}`;if(!t.has(n))return n}}function Bs(e,t,r,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,r=n.length;tjs(e,String(t),r)));if(e&&"function"==typeof e.toJSON){if(!r||!As(e))return e.toJSON(t,r);const n={aliasCount:0,count:1,res:void 0};r.anchors.set(e,n),r.onCreate=e=>{n.res=e,delete r.onCreate};const a=e.toJSON(t,r);return r.onCreate&&r.onCreate(a),a}return"bigint"!=typeof e||(null==r?void 0:r.keep)?e:Number(e)}Is.defaultYaml={explicit:!1,version:"1.2"},Is.defaultTags={"!!":"tag:yaml.org,2002:"};class Us{constructor(e){Object.defineProperty(this,Os,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:r,onAnchor:n,reviver:a}={}){if(!ws(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},i=js(this,"",o);if("function"==typeof n)for(const{count:e,res:t}of o.anchors.values())n(t,e);return"function"==typeof a?Bs(a,{"":i},"",i):i}}let Fs=class extends Us{constructor(e){super(hs),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return Rs(e,{Node:(e,r)=>{if(r===this)return Rs.BREAK;r.anchor===this.source&&(t=r)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:r,doc:n,maxAliasCount:a}=t,o=this.resolve(n);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let i=r.get(o);if(i||(js(o,null,t),i=r.get(o)),!i||void 0===i.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(a>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=zs(n,o,r)),i.count*i.aliasCount>a))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return i.res}toString(e,t,r){const n=`*${this.source}`;if(e){if(Ms(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${n} `}return n}};function zs(e,t,r){if(ys(t)){const n=t.resolve(e),a=r&&n&&r.get(n);return a?a.count*a.aliasCount:0}if(Es(t)){let n=0;for(const a of t.items){const t=zs(e,a,r);t>n&&(n=t)}return n}if(ks(t)){const n=zs(e,t.key,r),a=zs(e,t.value,r);return Math.max(n,a)}return 1}const qs=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Zs extends Us{constructor(e){super(bs),this.value=e}toJSON(e,t){return(null==t?void 0:t.keep)?this.value:js(this.value,e,t)}toString(){return String(this.value)}}Zs.BLOCK_FOLDED="BLOCK_FOLDED",Zs.BLOCK_LITERAL="BLOCK_LITERAL",Zs.PLAIN="PLAIN",Zs.QUOTE_DOUBLE="QUOTE_DOUBLE",Zs.QUOTE_SINGLE="QUOTE_SINGLE";const Hs="tag:yaml.org,2002:";function Vs(e,t,r){var n,a,o;if(ws(e)&&(e=e.contents),Ts(e))return e;if(ks(e)){const t=null==(a=(n=r.schema[ms]).createNode)?void 0:a.call(n,r.schema,null,r);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:s,onTagObj:l,schema:c,sourceObjects:u}=r;let d;if(i&&e&&"object"==typeof e){if(d=u.get(e),d)return d.anchor||(d.anchor=s(e)),new Fs(d.anchor);d={anchor:null,node:null},u.set(e,d)}(null==t?void 0:t.startsWith("!!"))&&(t=Hs+t.slice(2));let p=function(e,t,r){if(t){const e=r.filter((e=>e.tag===t)),n=e.find((e=>!e.format))??e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>{var r;return(null==(r=t.identify)?void 0:r.call(t,e))&&!t.format}))}(e,t,c.tags);if(!p){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new Zs(e);return d&&(d.node=t),t}p=e instanceof Map?c[ms]:Symbol.iterator in Object(e)?c[vs]:c[ms]}l&&(l(p),delete r.onTagObj);const h=(null==p?void 0:p.createNode)?p.createNode(r.schema,e,r):"function"==typeof(null==(o=null==p?void 0:p.nodeClass)?void 0:o.from)?p.nodeClass.from(r.schema,e,r):new Zs(e);return t?h.tag=t:p.default||(h.tag=p.tag),d&&(d.node=h),h}function Ws(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if("number"==typeof r&&Number.isInteger(r)&&r>=0){const e=[];e[r]=n,n=e}else n=new Map([[r,n]])}return Vs(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Xs=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Ys extends Us{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>Ts(t)||ks(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Xs(e))this.add(t);else{const[r,...n]=e,a=this.get(r,!0);if(Es(a))a.addIn(n,t);else{if(void 0!==a||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,Ws(this.schema,n,t))}}}deleteIn(e){const[t,...r]=e;if(0===r.length)return this.delete(t);const n=this.get(t,!0);if(Es(n))return n.deleteIn(r);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){const[r,...n]=e,a=this.get(r,!0);return 0===n.length?!t&&_s(a)?a.value:a:Es(a)?a.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!ks(t))return!1;const r=t.value;return null==r||e&&_s(r)&&null==r.value&&!r.commentBefore&&!r.comment&&!r.tag}))}hasIn(e){const[t,...r]=e;if(0===r.length)return this.has(t);const n=this.get(t,!0);return!!Es(n)&&n.hasIn(r)}setIn(e,t){const[r,...n]=e;if(0===n.length)this.set(r,t);else{const e=this.get(r,!0);if(Es(e))e.setIn(n,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,Ws(this.schema,n,t))}}}}Ys.maxFlowStringSingleLineLength=60;const Gs=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ks(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Js=(e,t,r)=>e.endsWith("\n")?Ks(r,t):r.includes("\n")?"\n"+Ks(r,t):(e.endsWith(" ")?"":" ")+r,el="flow",tl="block",rl="quoted";function nl(e,t,r="flow",{indentAtStart:n,lineWidth:a=80,minContentWidth:o=20,onFold:i,onOverflow:s}={}){if(!a||a<0)return e;const l=Math.max(1+o,1+a-t.length);if(e.length<=l)return e;const c=[],u={};let d,p,h=a-t.length;"number"==typeof n&&(n>a-Math.max(2,o)?c.push(0):h=a-n);let f=!1,m=-1,g=-1,b=-1;r===tl&&(m=al(e,m,t.length),-1!==m&&(h=m+l));for(let n;n=e[m+=1];){if(r===rl&&"\\"===n){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}b=m}if("\n"===n)r===tl&&(m=al(e,m,t.length)),h=m+t.length+l,d=void 0;else{if(" "===n&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(d=m)}if(m>=h)if(d)c.push(d),h=d+l,d=void 0;else if(r===rl){for(;" "===p||"\t"===p;)p=n,n=e[m+=1],f=!0;const t=m>b+1?m-2:g-1;if(u[t])return e;c.push(t),u[t]=!0,h=t+l,d=void 0}else f=!0}p=n}if(f&&s&&s(),0===c.length)return e;i&&i();let v=e.slice(0,c[0]);for(let n=0;n({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),il=e=>/^(%|---|\.\.\.)/m.test(e);function sl(e,t){const r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;const{implicitKey:n}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(il(e)?" ":"");let i="",s=0;for(let e=0,t=r[e];t;t=r[++e])if(" "===t&&"\\"===r[e+1]&&"n"===r[e+2]&&(i+=r.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(r[e+1]){case"u":{i+=r.slice(s,e);const t=r.substr(e+2,4);switch(t){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:"00"===t.substr(0,2)?i+="\\x"+t.substr(2):i+=r.substr(e,6)}e+=5,s=e+1}break;case"n":if(n||'"'===r[e+2]||r.lengthn)return!0;if(r=t+1,a-r<=n)return!1}return!0}(r,l,c.length));if(!r)return u?"|\n":">\n";let d,p;for(p=r.length;p>0;--p){const e=r[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=r.substring(p);const f=h.indexOf("\n");-1===f?d="-":r===h||f!==h.length-1?(d="+",o&&o()):d="",h&&(r=r.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ul,`$&${c}`));let m,g=!1,b=-1;for(m=0;m")+(g?c?"2":"1":"")+d;return e&&(O+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),u?`${O}\n${c}${v}${r=r.replace(/\n+/g,`$&${c}`)}${h}`:`${O}\n${c}${nl(`${v}${r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,tl,ol(n,!0))}`}function pl(e,t,r,n){const{implicitKey:a,inFlow:o}=t,i="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==Zs.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=Zs.QUOTE_DOUBLE);const l=e=>{switch(e){case Zs.BLOCK_FOLDED:case Zs.BLOCK_LITERAL:return a||o?cl(i.value,t):dl(i,t,r,n);case Zs.QUOTE_DOUBLE:return sl(i.value,t);case Zs.QUOTE_SINGLE:return ll(i.value,t);case Zs.PLAIN:return function(e,t,r,n){const{type:a,value:o}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&o.includes("\n")||u&&/[[\]{},]/.test(o))return cl(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?cl(o,t):dl(e,t,r,n);if(!s&&!u&&a!==Zs.PLAIN&&o.includes("\n"))return dl(e,t,r,n);if(il(o)){if(""===l)return t.forceBlockIndent=!0,dl(e,t,r,n);if(s&&l===c)return cl(o,t)}const d=o.replace(/\n+/g,`$&\n${l}`);if(i){const e=e=>{var t;return e.default&&"tag:yaml.org,2002:str"!==e.tag&&(null==(t=e.test)?void 0:t.test(d))},{compat:r,tags:n}=t.doc.schema;if(n.some(e)||(null==r?void 0:r.some(e)))return cl(o,t)}return s?d:nl(d,l,el,ol(t,!1))}(i,t,r,n);default:return null}};let c=l(s);if(null===c){const{defaultKeyType:e,defaultStringType:r}=t.options,n=a&&e||r;if(c=l(n),null===c)throw new Error(`Unsupported default string type ${n}`)}return c}function hl(e,t){const r=Object.assign({blockQuote:!0,commentString:Gs,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let n;switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function fl(e,t,r,n){var a;if(ks(e))return e.toString(t,r,n);if(ys(e)){if(t.doc.directives)return e.toString(t);if(null==(a=t.resolvedAliases)?void 0:a.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=Ts(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){var r;if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))??r[0]}let n,a;if(_s(t)){a=t.value;const r=e.filter((e=>{var t;return null==(t=e.identify)?void 0:t.call(e,a)}));n=r.find((e=>e.format===t.format))??r.find((e=>!e.format))}else a=t,n=e.find((e=>e.nodeClass&&a instanceof e.nodeClass));if(!n){const e=(null==(r=null==a?void 0:a.constructor)?void 0:r.name)??typeof a;throw new Error(`Tag not resolved for ${e} value`)}return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:r,doc:n}){if(!n.directives)return"";const a=[],o=(_s(e)||Es(e))&&e.anchor;o&&Ms(o)&&(r.add(o),a.push(`&${o}`));const i=e.tag?e.tag:t.default?null:t.tag;return i&&a.push(n.directives.tagString(i)),a.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const l="function"==typeof o.stringify?o.stringify(i,t,r,n):_s(i)?pl(i,t,r,n):i.toString(t,r,n);return s?_s(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}function ml(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function gl(e,t,{key:r,value:n}){if((null==e?void 0:e.doc.schema.merge)&&bl(r))if(n=ys(n)?n.resolve(e.doc):n,Ss(n))for(const r of n.items)vl(e,t,r);else if(Array.isArray(n))for(const r of n)vl(e,t,r);else vl(e,t,n);else{const a=js(r,"",e);if(t instanceof Map)t.set(a,js(n,a,e));else if(t instanceof Set)t.add(a);else{const o=function(e,t,r){if(null===t)return"";if("object"!=typeof t)return String(t);if(Ts(e)&&(null==r?void 0:r.doc)){const t=hl(r.doc,{});t.anchors=new Set;for(const e of r.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const n=e.toString(t);if(!r.mapKeyWarned){let e=JSON.stringify(n);e.length>40&&(e=e.substring(0,36)+'..."'),ml(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return n}return JSON.stringify(t)}(r,a,e),i=js(n,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}const bl=e=>"<<"===e||_s(e)&&"<<"===e.value&&(!e.type||e.type===Zs.PLAIN);function vl(e,t,r){const n=e&&ys(r)?r.resolve(e.doc):r;if(!xs(n))throw new Error("Merge sources must be maps or map aliases");const a=n.toJSON(null,e,Map);for(const[e,r]of a)t instanceof Map?t.has(e)||t.set(e,r):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function Ol(e,t,r){const n=Vs(e,void 0,r),a=Vs(t,void 0,r);return new yl(n,a)}class yl{constructor(e,t=null){Object.defineProperty(this,Os,{value:gs}),this.key=e,this.value=t}clone(e){let{key:t,value:r}=this;return Ts(t)&&(t=t.clone(e)),Ts(r)&&(r=r.clone(e)),new yl(t,r)}toJSON(e,t){return gl(t,(null==t?void 0:t.mapAsMap)?new Map:{},this)}toString(e,t,r){return(null==e?void 0:e.doc)?function({key:e,value:t},r,n,a){const{allNullValues:o,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=r;let p=Ts(e)&&e.comment||null;if(d){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(Es(e)||!Ts(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")}let h=!d&&(!e||p&&null==t&&!r.inFlow||Es(e)||(_s(e)?e.type===Zs.BLOCK_FOLDED||e.type===Zs.BLOCK_LITERAL:"object"==typeof e));r=Object.assign({},r,{allNullValues:!1,implicitKey:!h&&(d||!o),indent:s+l});let f,m,g,b=!1,v=!1,O=fl(e,r,(()=>b=!0),(()=>v=!0));if(!h&&!r.inFlow&&O.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(r.inFlow){if(o||null==t)return b&&n&&n(),""===O?"?":h?`? ${O}`:O}else if(o&&!d||null==t&&h)return O=`? ${O}`,p&&!b?O+=Js(O,r.indent,c(p)):v&&a&&a(),O;b&&(p=null),h?(p&&(O+=Js(O,r.indent,c(p))),O=`? ${O}\n${s}:`):(O=`${O}:`,p&&(O+=Js(O,r.indent,c(p)))),Ts(t)?(f=!!t.spaceBefore,m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),r.implicitKey=!1,h||p||!_s(t)||(r.indentAtStart=O.length+1),v=!1,u||!(l.length>=2)||r.inFlow||h||!Ss(t)||t.flow||t.tag||t.anchor||(r.indent=r.indent.substring(2));let y=!1;const w=fl(t,r,(()=>y=!0),(()=>v=!0));let x=" ";if(p||f||m)x=f?"\n":"",m&&(x+=`\n${Ks(c(m),r.indent)}`),""!==w||r.inFlow?x+=`\n${r.indent}`:"\n"===x&&(x="\n\n");else if(!h&&Es(t)){const e=w[0],n=w.indexOf("\n"),a=-1!==n,o=r.inFlow??t.flow??0===t.items.length;if(a||!o){let t=!1;if(a&&("&"===e||"!"===e)){let r=w.indexOf(" ");"&"===e&&-1!==r&&ri=null),(()=>d=!0));i&&(s+=Js(s,o,c(i))),d&&i&&(d=!1),p.push(n+s)}let h;if(0===p.length)h=a.start+a.end;else{h=p[0];for(let e=1;eo=null));ru||i.includes("\n"))&&(c=!0),d.push(i),u=d.length}const{start:p,end:h}=r;if(0===d.length)return p+h;if(!c){const e=d.reduce(((e,t)=>e+t.length+2),2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p;for(const t of d)e+=t?`\n${o}${a}${t}`:"\n";return`${e}\n${a}${h}`}return`${p}${i}${d.join(" ")}${i}${h}`}function _l({indent:e,options:{commentString:t}},r,n,a){if(n&&a&&(n=n.replace(/^\n+/,"")),n){const a=Ks(t(n),e);r.push(a.trimStart())}}function Sl(e,t){const r=_s(t)?t.value:t;for(const n of e)if(ks(n)){if(n.key===t||n.key===r)return n;if(_s(n.key)&&n.key.value===r)return n}}class El extends Ys{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(ms,e),this.items=[]}static from(e,t,r){const{keepUndefined:n,replacer:a}=r,o=new this(e),i=(e,i)=>{if("function"==typeof a)i=a.call(t,e,i);else if(Array.isArray(a)&&!a.includes(e))return;(void 0!==i||n)&&o.items.push(Ol(e,i,r))};if(t instanceof Map)for(const[e,r]of t)i(e,r);else if(t&&"object"==typeof t)for(const e of Object.keys(t))i(e,t[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,t){var r;let n;n=ks(e)?e:e&&"object"==typeof e&&"key"in e?new yl(e.key,e.value):new yl(e,null==e?void 0:e.value);const a=Sl(this.items,n.key),o=null==(r=this.schema)?void 0:r.sortMapEntries;if(a){if(!t)throw new Error(`Key ${n.key} already set`);_s(a.value)&&qs(n.value)?a.value.value=n.value:a.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Sl(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=Sl(this.items,e),n=null==r?void 0:r.value;return(!t&&_s(n)?n.value:n)??void 0}has(e){return!!Sl(this.items,e)}set(e,t){this.add(new yl(e,t),!0)}toJSON(e,t,r){const n=r?new r:(null==t?void 0:t.mapAsMap)?new Map:{};(null==t?void 0:t.onCreate)&&t.onCreate(n);for(const e of this.items)gl(t,n,e);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items)if(!ks(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),wl(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:r,onComment:t})}}const Tl={collection:"map",default:!0,nodeClass:El,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(xs(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,r)=>El.from(e,t,r)};class Al extends Ys{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(vs,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Cl(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const r=Cl(e);if("number"!=typeof r)return;const n=this.items[r];return!t&&_s(n)?n.value:n}has(e){const t=Cl(e);return"number"==typeof t&&t=0?t:null}const Pl={collection:"seq",default:!0,nodeClass:Al,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(Ss(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,r)=>Al.from(e,t,r)},Dl={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,r,n)=>pl(e,t=Object.assign({actualString:!0},t),r,n)},Rl={identify:e=>null==e,createNode:()=>new Zs(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Zs(null),stringify:({source:e},t)=>"string"==typeof e&&Rl.test.test(e)?e:t.options.nullStr},Nl={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Zs("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},r)=>e&&Nl.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?r.options.trueStr:r.options.falseStr};function $l({format:e,minFractionDigits:t,tag:r,value:n}){if("bigint"==typeof n)return String(n);const a="number"==typeof n?n:Number(n);if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let o=JSON.stringify(n);if(!e&&t&&(!r||"tag:yaml.org,2002:float"===r)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let r=t-(o.length-e-1);for(;r-- >0;)o+="0"}return o}const Il={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$l},Ml={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():$l(e)}},Ll={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Zs(parseFloat(e)),r=e.indexOf(".");return-1!==r&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-r-1),t},stringify:$l},Ql=e=>"bigint"==typeof e||Number.isInteger(e),Bl=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function jl(e,t,r){const{value:n}=e;return Ql(n)&&n>=0?r+n.toString(t):$l(e)}const Ul={identify:e=>Ql(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>Bl(e,2,8,r),stringify:e=>jl(e,8,"0o")},Fl={identify:Ql,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>Bl(e,0,10,r),stringify:$l},zl={identify:e=>Ql(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>Bl(e,2,16,r),stringify:e=>jl(e,16,"0x")},ql=[Tl,Pl,Dl,Rl,Nl,Ul,Fl,zl,Il,Ml,Ll];function Zl(e){return"bigint"==typeof e||Number.isInteger(e)}const Hl=({value:e})=>JSON.stringify(e),Vl=[Tl,Pl].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Hl},{identify:e=>null==e,createNode:()=>new Zs(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Hl},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Hl},{identify:Zl,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:r})=>r?BigInt(e):parseInt(e,10),stringify:({value:e})=>Zl(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Hl}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Wl={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=n.items[0]||new yl(new Zs(null));if(n.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${n.commentBefore}\n${e.key.commentBefore}`:n.commentBefore),n.comment){const t=e.value??e.key;t.comment=t.comment?`${n.comment}\n${t.comment}`:n.comment}n=e}e.items[r]=ks(n)?n:new yl(n)}}else t("Expected a sequence for this tag");return e}function Yl(e,t,r){const{replacer:n}=r,a=new Al(e);a.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let i,s;if("function"==typeof n&&(e=n.call(t,String(o++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);i=e[0],s=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);i=t[0],s=e[i]}else i=e;a.items.push(Ol(i,s,r))}return a}const Gl={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xl,createNode:Yl};class Kl extends Al{constructor(){super(),this.add=El.prototype.add.bind(this),this.delete=El.prototype.delete.bind(this),this.get=El.prototype.get.bind(this),this.has=El.prototype.has.bind(this),this.set=El.prototype.set.bind(this),this.tag=Kl.tag}toJSON(e,t){if(!t)return super.toJSON(e);const r=new Map;(null==t?void 0:t.onCreate)&&t.onCreate(r);for(const e of this.items){let n,a;if(ks(e)?(n=js(e.key,"",t),a=js(e.value,n,t)):n=js(e,"",t),r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,a)}return r}static from(e,t,r){const n=Yl(e,t,r),a=new this;return a.items=n.items,a}}Kl.tag="tag:yaml.org,2002:omap";const Jl={collection:"seq",identify:e=>e instanceof Map,nodeClass:Kl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const r=Xl(e,t),n=[];for(const{key:e}of r.items)_s(e)&&(n.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new Kl,r)},createNode:(e,t,r)=>Kl.from(e,t,r)};function ec({value:e,source:t},r){return t&&(e?tc:rc).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}const tc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Zs(!0),stringify:ec},rc={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Zs(!1),stringify:ec},nc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$l},ac={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():$l(e)}},oc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Zs(parseFloat(e.replace(/_/g,""))),r=e.indexOf(".");if(-1!==r){const n=e.substring(r+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:$l},ic=e=>"bigint"==typeof e||Number.isInteger(e);function sc(e,t,r,{intAsBigInt:n}){const a=e[0];if("-"!==a&&"+"!==a||(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(r){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===a?BigInt(-1)*t:t}const o=parseInt(e,r);return"-"===a?-1*o:o}function lc(e,t,r){const{value:n}=e;if(ic(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return $l(e)}const cc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>sc(e,2,2,r),stringify:e=>lc(e,2,"0b")},uc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>sc(e,1,8,r),stringify:e=>lc(e,8,"0")},dc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>sc(e,0,10,r),stringify:$l},pc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>sc(e,2,16,r),stringify:e=>lc(e,16,"0x")};class hc extends El{constructor(e){super(e),this.tag=hc.tag}add(e){let t;t=ks(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new yl(e.key,null):new yl(e,null),Sl(this.items,t.key)||this.items.push(t)}get(e,t){const r=Sl(this.items,e);return!t&&ks(r)?_s(r.key)?r.key.value:r.key:r}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const r=Sl(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new yl(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,r);throw new Error("Set items must all have null values")}static from(e,t,r){const{replacer:n}=r,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof n&&(e=n.call(t,e,e)),a.items.push(Ol(e,null,r));return a}}hc.tag="tag:yaml.org,2002:set";const fc={collection:"map",identify:e=>e instanceof Set,nodeClass:hc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>hc.from(e,t,r),resolve(e,t){if(xs(e)){if(e.hasAllNullValues(!0))return Object.assign(new hc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function mc(e,t){const r=e[0],n="-"===r||"+"===r?e.substring(1):e,a=e=>t?BigInt(e):Number(e),o=n.replace(/_/g,"").split(":").reduce(((e,t)=>e*a(60)+a(t)),a(0));return"-"===r?a(-1)*o:o}function gc(e){let{value:t}=e,r=e=>e;if("bigint"==typeof t)r=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return $l(e);let n="";t<0&&(n="-",t*=r(-1));const a=r(60),o=[t%a];return t<60?o.unshift(0):(t=(t-o[0])/a,o.unshift(t%a),t>=60&&(t=(t-o[0])/a,o.unshift(t))),n+o.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const bc={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>mc(e,r),stringify:gc},vc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>mc(e,!1),stringify:gc},Oc={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Oc.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,r,n,a,o,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(r,n-1,a,o||0,i||0,s||0,l);const u=t[8];if(u&&"Z"!==u){let e=mc(u,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yc=[Tl,Pl,Dl,Rl,tc,rc,cc,uc,dc,pc,nc,ac,oc,Wl,Jl,Gl,fc,bc,vc,Oc],wc=new Map([["core",ql],["failsafe",[Tl,Pl,Dl]],["json",Vl],["yaml11",yc],["yaml-1.1",yc]]),xc={binary:Wl,bool:Nl,float:Ll,floatExp:Ml,floatNaN:Il,floatTime:vc,int:Fl,intHex:zl,intOct:Ul,intTime:bc,map:Tl,null:Rl,omap:Jl,pairs:Gl,seq:Pl,set:fc,timestamp:Oc},kc={"tag:yaml.org,2002:binary":Wl,"tag:yaml.org,2002:omap":Jl,"tag:yaml.org,2002:pairs":Gl,"tag:yaml.org,2002:set":fc,"tag:yaml.org,2002:timestamp":Oc};function _c(e,t){let r=wc.get(t);if(!r){if(!Array.isArray(e)){const e=Array.from(wc.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}r=[]}if(Array.isArray(e))for(const t of e)r=r.concat(t);else"function"==typeof e&&(r=e(r.slice()));return r.map((e=>{if("string"!=typeof e)return e;const t=xc[e];if(t)return t;const r=Object.keys(xc).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${r}`)}))}const Sc=(e,t)=>e.keyt.key?1:0;class Ec{constructor(e,t,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Os,{value:fs});let n=null;"function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t,t=void 0);const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=a;let{version:o}=a;(null==r?void 0:r._directives)?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Is({version:o}),this.setSchema(o,r),this.contents=void 0===e?null:this.createNode(e,n,r)}clone(){const e=Object.create(Ec.prototype,{[Os]:{value:fs}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=Ts(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Tc(this.contents)&&this.contents.add(e)}addIn(e,t){Tc(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const r=Ls(this);e.anchor=!t||r.has(t)?Qs(t||"a",r):t}return new Fs(e.anchor)}createNode(e,t,r){let n;if("function"==typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,r=t.filter(e).map(String);r.length>0&&(t=t.concat(r)),n=t}else void 0===r&&t&&(r=t,t=void 0);const{aliasDuplicateObjects:a,anchorPrefix:o,flow:i,keepUndefined:s,onTagObj:l,tag:c}=r??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){const r=[],n=new Map;let a=null;return{onAnchor:n=>{r.push(n),a||(a=Ls(e));const o=Qs(t,a);return a.add(o),o},setAnchors:()=>{for(const e of r){const t=n.get(e);if("object"!=typeof t||!t.anchor||!_s(t.node)&&!Es(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:n}}(this,o||"a"),h=Vs(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:n,schema:this.schema,sourceObjects:p});return i&&Es(h)&&(h.flow=!0),d(),h}createPair(e,t,r={}){const n=this.createNode(e,null,r),a=this.createNode(t,null,r);return new yl(n,a)}delete(e){return!!Tc(this.contents)&&this.contents.delete(e)}deleteIn(e){return Xs(e)?null!=this.contents&&(this.contents=null,!0):!!Tc(this.contents)&&this.contents.deleteIn(e)}get(e,t){return Es(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return Xs(e)?!t&&_s(this.contents)?this.contents.value:this.contents:Es(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!Es(this.contents)&&this.contents.has(e)}hasIn(e){return Xs(e)?void 0!==this.contents:!!Es(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Ws(this.schema,[e],t):Tc(this.contents)&&this.contents.set(e,t)}setIn(e,t){Xs(e)?this.contents=t:null==this.contents?this.contents=Ws(this.schema,Array.from(e),t):Tc(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let r;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Is({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Is({version:e}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!r)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new class e{constructor({compat:e,customTags:t,merge:r,resolveKnownTags:n,schema:a,sortMapEntries:o,toStringDefaults:i}){this.compat=Array.isArray(e)?_c(e,"compat"):e?_c(null,e):null,this.merge=!!r,this.name="string"==typeof a&&a||"core",this.knownTags=n?kc:{},this.tags=_c(t,this.name),this.toStringOptions=i??null,Object.defineProperty(this,ms,{value:Tl}),Object.defineProperty(this,bs,{value:Dl}),Object.defineProperty(this,vs,{value:Pl}),this.sortMapEntries="function"==typeof o?o:!0===o?Sc:null}clone(){const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}(Object.assign(r,t))}}toJS({json:e,jsonArg:t,mapAsMap:r,maxAliasCount:n,onAnchor:a,reviver:o}={}){const i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=js(this.contents,t??"",i);if("function"==typeof a)for(const{count:e,res:t}of i.anchors.values())a(t,e);return"function"==typeof o?Bs(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){var r;const n=[];let a=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),a=!0):e.directives.docStart&&(a=!0)}a&&n.push("---");const o=hl(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(Ks(t,""))}let s=!1,l=null;if(e.contents){if(Ts(e.contents)){if(e.contents.spaceBefore&&a&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(Ks(t,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0;let r=fl(e.contents,o,(()=>l=null),t);l&&(r+=Js(r,"",i(l))),"|"!==r[0]&&">"!==r[0]||"---"!==n[n.length-1]?n.push(r):n[n.length-1]=`--- ${r}`}else n.push(fl(e.contents,o));if(null==(r=e.directives)?void 0:r.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(Ks(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!l||""===n[n.length-1]||n.push(""),n.push(Ks(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Tc(e){if(Es(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Ac extends Error{constructor(e,t,r,n){super(),this.name=e,this.code=r,this.message=n,this.pos=t}}class Cc extends Ac{constructor(e,t,r){super("YAMLParseError",e,t,r)}}class Pc extends Ac{constructor(e,t,r){super("YAMLWarning",e,t,r)}}const Dc=(e,t)=>r=>{if(-1===r.pos[0])return;r.linePos=r.pos.map((e=>t.linePos(e)));const{line:n,col:a}=r.linePos[0];r.message+=` at line ${n}, column ${a}`;let o=a-1,i=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(o>=60&&i.length>80){const e=Math.min(o-39,i.length-79);i="…"+i.substring(e),o-=e-1}if(i.length>80&&(i=i.substring(0,79)+"…"),n>1&&/^ *$/.test(i.substring(0,o))){let r=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);r.length>80&&(r=r.substring(0,79)+"…\n"),i=r+i}if(/[^ ]/.test(i)){let e=1;const t=r.linePos[1];t&&t.line===n&&t.col>a&&(e=Math.max(1,Math.min(t.col-a,80-o)));const s=" ".repeat(o)+"^".repeat(e);r.message+=`:\n\n${i}\n${s}\n`}};function Rc(e,{flow:t,indicator:r,next:n,offset:a,onError:o,parentIndent:i,startOnNewline:s}){let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=!1,g=null,b=null,v=null,O=null,y=null,w=null;for(const a of e)switch(m&&("space"!==a.type&&"newline"!==a.type&&"comma"!==a.type&&o(a.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m=!1),g&&(c&&"comment"!==a.type&&"newline"!==a.type&&o(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),g=null),a.type){case"space":t||"doc-start"===r&&"flow-collection"===(null==n?void 0:n.type)||!a.source.includes("\t")||(g=a),u=!0;break;case"comment":{u||o(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=a.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=a.source:l=!0:p+=a.source,c=!0,h=!0,(b||v)&&(f=!0),u=!0;break;case"anchor":b&&o(a,"MULTIPLE_ANCHORS","A node can have at most one anchor"),a.source.endsWith(":")&&o(a.offset+a.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),b=a,null===w&&(w=a.offset),c=!1,u=!1,m=!0;break;case"tag":v&&o(a,"MULTIPLE_TAGS","A node can have at most one tag"),v=a,null===w&&(w=a.offset),c=!1,u=!1,m=!0;break;case r:(b||v)&&o(a,"BAD_PROP_ORDER",`Anchors and tags must be after the ${a.source} indicator`),y&&o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.source} in ${t??"collection"}`),y=a,c="seq-item-ind"===r||"explicit-key-ind"===r,u=!1;break;case"comma":if(t){O&&o(a,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),O=a,c=!1,u=!1;break}default:o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.type} token`),c=!1,u=!1}const x=e[e.length-1],k=x?x.offset+x.source.length:a;return m&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&o(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g&&(c&&g.indent<=i||"block-map"===(null==n?void 0:n.type)||"block-seq"===(null==n?void 0:n.type))&&o(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:O,found:y,spaceBefore:l,comment:d,hasNewline:h,hasNewlineAfterProp:f,anchor:b,tag:v,end:k,start:w??k}}function Nc(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Nc(t.key)||Nc(t.value))return!0}return!1;default:return!0}}function $c(e,t,r){if("flow-collection"===(null==t?void 0:t.type)){const n=t.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!Nc(t)||r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Ic(e,t,r){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const a="function"==typeof n?n:(t,r)=>t===r||_s(t)&&_s(r)&&t.value===r.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>a(e.key,r)))}const Mc="All mapping items must start at the same column";function Lc(e,t,r,n){let a="";if(e){let o=!1,i="";for(const s of e){const{source:e,type:l}=s;switch(l){case"space":o=!0;break;case"comment":{r&&!o&&n(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";a?a+=i+t:a=t,i="";break}case"newline":a&&(i+=e),o=!0;break;default:n(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:a,offset:t}}const Qc="Block collections are not allowed within flow collections",Bc=e=>e&&("block-map"===e.type||"block-seq"===e.type);function jc(e,t,r,n,a,o){const i="block-map"===r.type?function({composeNode:e,composeEmptyNode:t},r,n,a,o){var i;const s=new((null==o?void 0:o.nodeClass)??El)(r.schema);r.atRoot&&(r.atRoot=!1);let l=n.offset,c=null;for(const o of n.items){const{start:u,key:d,sep:p,value:h}=o,f=Rc(u,{indicator:"explicit-key-ind",next:d??(null==p?void 0:p[0]),offset:l,onError:a,parentIndent:n.indent,startOnNewline:!0}),m=!f.found;if(m){if(d&&("block-seq"===d.type?a(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==n.indent&&a(l,"BAD_INDENT",Mc)),!f.anchor&&!f.tag&&!p){c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment);continue}(f.hasNewlineAfterProp||Nc(d))&&a(d??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null==(i=f.found)?void 0:i.indent)!==n.indent&&a(l,"BAD_INDENT",Mc);const g=f.end,b=d?e(r,d,f,a):t(r,g,u,null,f,a);r.schema.compat&&$c(n.indent,d,a),Ic(r,s.items,b)&&a(g,"DUPLICATE_KEY","Map keys must be unique");const v=Rc(p??[],{indicator:"map-value-ind",next:h,offset:b.range[2],onError:a,parentIndent:n.indent,startOnNewline:!d||"block-scalar"===d.type});if(l=v.end,v.found){m&&("block-map"!==(null==h?void 0:h.type)||v.hasNewline||a(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&f.start0){const e=Lc(h,f,r.options.strict,a);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[n.offset,f,e.offset]}else l.range=[n.offset,f,f];return l}(e,t,r,n,o),s=i.constructor;return"!"===a||a===s.tagName?(i.tag=s.tagName,i):(a&&(i.tag=a),i)}function Uc(e){let t,r;try{t=new RegExp("(.*?)(?"===a.mode?Zs.BLOCK_FOLDED:Zs.BLOCK_LITERAL,i=t.source?function(e){const t=e.split(/\n( *)/),r=t[0],n=r.match(/^( *)/),a=[(null==n?void 0:n[1])?[n[1],r.slice(n[1].length)]:["",r]];for(let e=1;e=0;--e){const t=i[e][1];if(""!==t&&"\r"!==t)break;s=e}if(0===s){const e="+"===a.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):"";let r=n+a.length;return t.source&&(r+=t.source.length),{value:e,type:o,comment:a.comment,range:[n,r,r]}}let l=t.indent+a.indent,c=t.offset+a.length,u=0;for(let t=0;tl&&(l=n.length),c+=n.length+o.length+1}for(let e=i.length-1;e>=s;--e)i[e][0].length>l&&(s=e+1);let d="",p="",h=!1;for(let e=0;el||"\t"===n[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),d+=p+t.slice(l)+n,p="\n",h=!0):""===n?"\n"===p?d+="\n":p="\n":(d+=p+n,p=" ",h=!1)}switch(a.chomp){case"-":break;case"+":for(let e=s;er(n+e,t,a);switch(a){case"scalar":s=Zs.PLAIN,l=function(e,t){let r="";switch(e[0]){case"\t":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":r=`block scalar indicator ${e[0]}`;break;case"@":case"`":r=`reserved character ${e[0]}`}return r&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),Uc(e)}(o,c);break;case"single-quoted-scalar":s=Zs.QUOTE_SINGLE,l=function(e,t){return"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote"),Uc(e.slice(1,-1)).replace(/''/g,"'")}(o,c);break;case"double-quoted-scalar":s=Zs.QUOTE_DOUBLE,l=function(e,t){let r="";for(let n=1;nt?e.slice(t,n+1):a)}else r+=a}return'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote'),r}(o,c);break;default:return r(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[n,n+o.length,n+o.length]}}const u=n+o.length,d=Lc(i,u,t,r);return{value:l,type:s,comment:d.comment,range:[n,u,d.offset]}}(t,e.options.strict,n),l=r?e.directives.tagName(r.source,(e=>n(r,"TAG_RESOLVE_FAILED",e))):null,c=r&&l?function(e,t,r,n,a){var o;if("!"===r)return e[bs];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===r){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(null==(o=e.test)?void 0:o.test(t))return e;const s=e.knownTags[r];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(a(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,"tag:yaml.org,2002:str"!==r),e[bs])}(e.schema,a,l,r,n):"scalar"===t.type?function({directives:e,schema:t},r,n,a){const o=t.tags.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(r))}))||t[bs];if(t.compat){const i=t.compat.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(r))}))??t[bs];o.tag!==i.tag&&a(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(i.tag)}`,!0)}return o}(e,a,t,n):e.schema[bs];let u;try{const o=c.resolve(a,(e=>n(r??t,"TAG_RESOLVE_FAILED",e)),e.options);u=_s(o)?o:new Zs(o)}catch(e){const o=e instanceof Error?e.message:String(e);n(r??t,"TAG_RESOLVE_FAILED",o),u=new Zs(a)}return u.range=s,u.source=a,o&&(u.type=o),l&&(u.tag=l),c.format&&(u.format=c.format),i&&(u.comment=i),u}function Hc(e,t,r){if(t){null===r&&(r=t.length);for(let n=r-1;n>=0;--n){let r=t[n];switch(r.type){case"space":case"comment":case"newline":e-=r.source.length;continue}for(r=t[++n];"space"===(null==r?void 0:r.type);)e+=r.source.length,r=t[++n];break}}return e}const Vc={composeNode:Wc,composeEmptyNode:Xc};function Wc(e,t,r,n){const{spaceBefore:a,comment:o,anchor:i,tag:s}=r;let l,c=!0;switch(t.type){case"alias":l=function({options:e},{offset:t,source:r,end:n},a){const o=new Fs(r.substring(1));""===o.source&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&a(t+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const i=t+r.length,s=Lc(n,i,e.strict,a);return o.range=[t,i,s.offset],s.comment&&(o.comment=s.comment),o}(e,t,n),(i||s)&&n(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=Zc(e,t,s,n),i&&(l.anchor=i.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(e,t,r,n,a){var o;const i=n?t.directives.tagName(n.source,(e=>a(n,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===r.type?"map":"block-seq"===r.type?"seq":"{"===r.start.source?"map":"seq";if(!n||!i||"!"===i||i===El.tagName&&"map"===s||i===Al.tagName&&"seq"===s||!s)return jc(e,t,r,a,i);let l=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!l){const o=t.schema.knownTags[i];if(!o||o.collection!==s)return(null==o?void 0:o.collection)?a(n,"BAD_COLLECTION_TYPE",`${o.tag} used for ${s} collection, but expects ${o.collection}`,!0):a(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),jc(e,t,r,a,i);t.schema.tags.push(Object.assign({},o,{default:!1})),l=o}const c=jc(e,t,r,a,i,l),u=(null==(o=l.resolve)?void 0:o.call(l,c,(e=>a(n,"TAG_RESOLVE_FAILED",e)),t.options))??c,d=Ts(u)?u:new Zs(u);return d.range=c.range,d.tag=i,(null==l?void 0:l.format)&&(d.format=l.format),d}(Vc,e,t,s,n),i&&(l.anchor=i.source.substring(1));break;default:n(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),l=Xc(e,t.offset,void 0,null,r,n),c=!1}return i&&""===l.anchor&&n(i,"BAD_ALIAS","Anchor cannot be an empty string"),a&&(l.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?l.comment=o:l.commentBefore=o),e.options.keepSourceTokens&&c&&(l.srcToken=t),l}function Xc(e,t,r,n,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){const u=Zc(e,{type:"scalar",offset:Hc(t,r,n),indent:-1,source:""},s,c);return i&&(u.anchor=i.source.substring(1),""===u.anchor&&c(i,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=l),u}function Yc(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:r}=e;return[t,t+("string"==typeof r?r.length:1)]}function Gc(e){var t;let r="",n=!1,a=!1;for(let o=0;o{const a=Yc(e);n?this.warnings.push(new Pc(a,t,r)):this.errors.push(new Cc(a,t,r))},this.directives=new Is({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:r,afterEmptyLine:n}=Gc(this.prelude);if(r){const a=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${r}`:r;else if(n||e.directives.docStart||!a)e.commentBefore=r;else if(Es(a)&&!a.flow&&a.items.length>0){let e=a.items[0];ks(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${r}\n${t}`:r}else{const e=a.commentBefore;a.commentBefore=e?`${r}\n${e}`:r}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gc(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,r=-1){for(const t of e)yield*this.next(t);yield*this.end(t,r)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,r,n)=>{const a=Yc(e);a[0]+=t,this.onError(a,"BAD_DIRECTIVE",r,n)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:r,start:n,value:a,end:o},i){const s=Object.assign({_directives:t},e),l=new Ec(void 0,s),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=Rc(n,{indicator:"doc-start",next:a??(null==o?void 0:o[0]),offset:r,onError:i,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,!a||"block-map"!==a.type&&"block-seq"!==a.type||u.hasNewline||i(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?Wc(c,a,u,i):Xc(c,u.end,n,null,u,i);const d=l.contents.range[2],p=Lc(o,d,!1,i);return p.comment&&(l.comment=p.comment),l.range=[r,d,p.offset],l}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,r=new Cc(Yc(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Cc(Yc(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Lc(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Cc(Yc(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),r=new Ec(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,t,t],this.decorate(r,!1),yield r}}}function Jc(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const eu=new Set("0123456789ABCDEFabcdef"),tu=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),ru=new Set(",[]{}"),nu=new Set(" ,[]{}\n\r\t"),au=e=>!e||nu.has(e);class ou{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let r=this.next??"stream";for(;r&&(t||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let r=0;for(;" "===t;)t=this.buffer[++r+e];if("\r"===t){const t=this.buffer[r+e+1];if("\n"===t||!t&&!this.atEnd)return e+r+1}return"\n"===t||r>=this.indentNext||!t&&!this.atEnd?e+r:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&Jc(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&ðis.indentValue&&!Jc(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&Jc(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(au),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,r=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=r=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const n=this.getLine();if(null===n)return this.setNext("flow");if((-1!==r&&r"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>Jc(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,r=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":r+=1;break;case"\n":t=n,r=0;break;case"\r":{const e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=r:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let n=t+1;for(e=this.buffer[n];" "===e;)e=this.buffer[++n];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++n];t=n-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);const a=e;for(;" "===n;)n=this.buffer[--e];if(!("\n"===n&&e>=this.pos&&e+1+r>a))break;t=e}return yield"",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,r=this.pos-1,n=this.pos-1;for(;t=this.buffer[++n];)if(":"===t){const t=this.buffer[n+1];if(Jc(t)||e&&ru.has(t))break;r=n}else if(Jc(t)){let a=this.buffer[n+1];if("\r"===t&&("\n"===a?(n+=1,t="\n",a=this.buffer[n+1]):r=n),"#"===a||e&&ru.has(a))break;if("\n"===t){const e=this.continueScalar(n+1);if(-1===e)break;n=Math.max(n,e-2)}}else{if(e&&ru.has(t))break;r=n}return t||this.atEnd?(yield"",yield*this.pushToIndex(r+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const r=this.buffer.slice(this.pos,e);return r?(yield r,this.pos+=r.length,r.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(au))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Jc(t)||e&&ru.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!Jc(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(tu.has(t))t=this.buffer[++e];else{if("%"!==t||!eu.has(this.buffer[e+1])||!eu.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,r=this.pos-1;do{t=this.buffer[++r]}while(" "===t||e&&"\t"===t);const n=r-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=r),n}*pushUntil(e){let t=this.pos,r=this.buffer[t];for(;!e(r);)r=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class iu{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,r=this.lineStarts.length;for(;t>1;this.lineStarts[n]=0;)switch(e[r].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===(null==(t=e[++r])?void 0:t.type););return e.splice(r,e.length)}function pu(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||su(t.start,"explicit-key-ind")||su(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,cu(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}let hu=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new ou,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const r of this.lexer.lex(e,t))yield*this.next(r);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&pu(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const r=e.items[e.items.length-1];if(r.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!r.sep)return Object.assign(r,{key:t,sep:[]}),void(this.onKeyLine=!r.explicitKey);r.value=t;break}case"block-seq":{const r=e.items[e.items.length-1];r.value?e.items.push({start:[],value:t}):r.value=t;break}case"flow-collection":{const r=e.items[e.items.length-1];return void(!r||r.value?e.items.push({start:[],key:t,sep:[]}):r.sep?r.value=t:Object.assign(r,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const r=t.items[t.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&-1===lu(r.start)&&(0===t.indent||r.start.every((e=>"comment"!==e.type||e.indent=e.indent){const t=!this.onKeyLine&&this.indent===e.indent,n=t&&(r.sep||r.explicitKey)&&"seq-item-ind"!==this.type;let a=[];if(n&&r.sep&&!r.value){const t=[];for(let n=0;ne.indent&&(t.length=0);break;default:t.length=0}}t.length>=2&&(a=r.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":return void(n||r.value?(a.push(this.sourceToken),e.items.push({start:a}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken));case"explicit-key-ind":return r.sep||r.explicitKey?n||r.value?(a.push(this.sourceToken),e.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(r.start.push(this.sourceToken),r.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(su(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(cu(r.key)&&!su(r.sep,"newline")){const e=du(r.start),t=r.key,n=r.sep;n.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,sep:n}]})}else a.length>0?r.sep=r.sep.concat(a,this.sourceToken):r.sep.push(this.sourceToken);else if(su(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{const e=du(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||n?e.items.push({start:a,key:null,sep:[this.sourceToken]}):su(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const t=this.flowScalar(this.type);return void(n||r.value?(e.items.push({start:a,key:t,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(t):(Object.assign(r,{key:t,sep:[]}),this.onKeyLine=!0))}default:{const r=this.startBlockValue(e);if(r)return t&&"block-seq"!==r.type&&e.items.push({start:a}),void this.stack.push(r)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){var t;const r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){const t="end"in r.value?r.value.end:void 0,n=Array.isArray(t)?t[t.length-1]:void 0;"comment"===(null==n?void 0:n.type)?null==t||t.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){const n=e.items[e.items.length-2],a=null==(t=null==n?void 0:n.value)?void 0:t.end;if(Array.isArray(a))return Array.prototype.push.apply(a,r.start),a.push(this.sourceToken),void e.items.pop()}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;return void r.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(r.value||su(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?this.stack.push(r):Object.assign(t,{key:r,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const r=this.startBlockValue(e);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const r=du(uu(t));pu(e);const n=e.end.splice(1,e.end.length);n.push(this.sourceToken);const a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=du(uu(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=du(uu(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}};function fu(e,t,r){let n;"function"==typeof t?n=t:void 0===r&&t&&"object"==typeof t&&(r=t);const a=function(e,t={}){const{lineCounter:r,prettyErrors:n}=function(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new iu||null,prettyErrors:t}}(t),a=new hu(null==r?void 0:r.addNewLine),o=new Kc(t);let i=null;for(const t of o.compose(a.parse(e),!0,e.length))if(i){if("silent"!==i.options.logLevel){i.errors.push(new Cc(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else i=t;return n&&r&&(i.errors.forEach(Dc(e,r)),i.warnings.forEach(Dc(e,r))),i}(e,r);if(!a)return null;if(a.warnings.forEach((e=>ml(a.options.logLevel,e))),a.errors.length>0){if("silent"!==a.options.logLevel)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:n},r))}const mu={parse:e=>{const t=fu(e);if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return mu.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:function(e,t,r){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t),"string"==typeof r&&(r=r.length),"number"==typeof r){const e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=r??t??{};if(!e)return}return new Ec(e,n,r).toString(r)}},gu={parse:e=>{const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return gu.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},bu=e=>"string"==typeof e&&!!gu.parseSafe(e,!1),vu="https://api.scalar.com/request-proxy",Ou="https://proxy.scalar.com";async function yu(e,t){t===vu&&(t=Ou);const r=await fetch(t?ds(t,e):e);return 200!==r.status&&(console.error(`[fetchSpecFromUrl] Failed to fetch the specification at ${e} (Status: ${r.status})`),t||console.warn(`[fetchSpecFromUrl] Tried to fetch the specification (url: ${e}) without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`)),function(e){if("{"!==e.trim()[0])return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}(await r.text())}const wu={CONNECT:{short:"CONN",color:"text-c-2",backgroundColor:"bg-c-2"},DELETE:{short:"DEL",color:"text-red",backgroundColor:"bg-red"},GET:{short:"GET",color:"text-blue",backgroundColor:"bg-blue"},HEAD:{short:"HEAD",color:"text-scalar-c-2",backgroundColor:"bg-c-2"},OPTIONS:{short:"OPTS",color:"text-purple",backgroundColor:"bg-purple"},PATCH:{short:"PATCH",color:"text-yellow",backgroundColor:"bg-yellow"},POST:{short:"POST",color:"text-green",backgroundColor:"bg-green"},PUT:{short:"PUT",color:"text-orange",backgroundColor:"bg-orange"},TRACE:{short:"TRACE",color:"text-c-2",backgroundColor:"bg-c-2"}},xu={100:{name:"Continue",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100"},101:{name:"Switching Protocols",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101"},102:{name:"Processing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102"},103:{name:"Early Hints",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103"},200:{name:"OK",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200"},201:{name:"Created",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201"},202:{name:"Accepted",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202"},203:{name:"Non-Authoritative Information",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203"},204:{name:"No Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204"},205:{name:"Reset Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205"},206:{name:"Partial Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206"},207:{name:"Multi-Status",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207"},208:{name:"Already Reported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208"},226:{name:"IM Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226"},300:{name:"Multiple Choices",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300"},301:{name:"Moved Permanently",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301"},302:{name:"Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302"},303:{name:"See Other",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303"},304:{name:"Not Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304"},305:{name:"Use Proxy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305"},306:{name:"(Unused)",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306"},307:{name:"Temporary Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307"},308:{name:"Permanent Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308"},400:{name:"Bad Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400"},401:{name:"Unauthorized",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401"},402:{name:"Payment Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"},403:{name:"Forbidden",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"},404:{name:"Not Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404"},405:{name:"Method Not Allowed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405"},406:{name:"Not Acceptable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406"},407:{name:"Proxy Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407"},408:{name:"Request Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408"},409:{name:"Conflict",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409"},410:{name:"Gone",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410"},411:{name:"Length Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411"},412:{name:"Precondition Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412"},413:{name:"Content Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413"},414:{name:"URI Too Long",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414"},415:{name:"Unsupported Media Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415"},416:{name:"Range Not Satisfiable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416"},417:{name:"Expectation Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417"},421:{name:"Misdirected Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421"},422:{name:"Unprocessable Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422"},423:{name:"Locked",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423"},424:{name:"Failed Dependency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424"},425:{name:"Too Early",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425"},426:{name:"Upgrade Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426"},428:{name:"Precondition Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428"},429:{name:"Too Many Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429"},431:{name:"Request Header Fields Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431"},451:{name:"Unavailable For Legal Reasons",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451"},500:{name:"Internal Server Error",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500"},501:{name:"Not Implemented",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501"},502:{name:"Bad Gateway",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502"},503:{name:"Service Unavailable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503"},504:{name:"Gateway Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504"},505:{name:"HTTP Version Not Supported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505"},506:{name:"Variant Also Negotiates",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506"},507:{name:"Insufficient Storage",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507"},508:{name:"Loop Detected",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508"},510:{name:"Not Extended",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510"},511:{name:"Network Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"}},ku=(e,t,r=" #")=>{if(!t(e))return e;const n=e.split(r),a=n.length>1?`${n.slice(0,-1).join()}${r}${Number(n.at(-1))+1}`:`${n.join()}${r}2`;return ku(a,t,r)};function _u(e){if(!e)return e;const t={...e};return Object.keys(t).forEach((e=>{const r=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/.+\+/,"/").trim()}(e);void 0!==r&&(t[r]=t[e],e!==r&&delete t[e])})),t}function Su(e,t){return Object.keys(e).forEach((r=>{Object.hasOwn(t,r)||delete e[r]})),Object.assign(e,t),e}const Eu=e=>{if("string"==typeof e)return bu(e)?JSON.stringify(JSON.parse(e),null,2):e;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{return function(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r}),2)}(e)}return e.toString()};function Tu(e,t){const r=(e,r)=>{var n;return"function"==typeof t?t(r):null==(n=t[r])?void 0:n.toString()};return e.replace(/{{\s*([\w.-]+)\s*}}/g,r).replace(/{\s*([\w.-]+)\s*}/g,r)}const Au="undefined"!=typeof window?window.__SCALAR__??{}:{};function Cu(e){var t;const r=null==(t=null==e?void 0:e.servers)?void 0:t[e.selectedServer??0];return"string"==typeof(null==r?void 0:r.url)?Tu(null==r?void 0:r.url,e.variables):null==r?void 0:r.url}const Pu="GET",Du=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${Pu} as the default.`),Pu;const t=e.trim().toUpperCase();return r=t,ns.includes(r)?t:(console.warn(`${e} is not a valid request method. Using ${Pu} as the default.`),Pu);var r},Ru=hr({showApiClient:!1,activeApiClientEndpointId:"",activeItem:{},snippetType:"javascript"});function Nu(e,t=!1){Ru.showApiClient=!!t||!Ru.showApiClient,e&&(Ru.activeItem=e)}function $u(){Ru.showApiClient=!1}function Iu(e){Ru.activeApiClientEndpointId=e}function Mu(e){Ru.snippetType=e}const Lu=()=>({state:mr(Ru),toggleApiClient:Nu,setActiveApiClientEndpointId:Iu,setSnippetType:Mu,hideApiClient:$u}),Qu=hr(Au["useGlobalStore-authentication"]??{preferredSecurityScheme:null,customSecurity:!1,http:{basic:{username:"",password:""},bearer:{token:""}},apiKey:{token:""},oAuth2:{username:"",password:"",clientId:"",scopes:[],accessToken:"",state:""}}),Bu=e=>Object.assign(Qu,e),ju=()=>({authentication:Qu,setAuthentication:Bu}),Uu=hr({operation:{},globalSecurity:[]}),Fu=e=>{Object.assign(Uu,{...Uu,operation:e})},zu=e=>{Object.assign(Uu,{...Uu,globalSecurity:e})},qu=()=>({openApi:Uu,setOperation:Fu,setGlobalSecurity:zu}),Zu=hr({}),Hu=Cr([]),Vu=Cr(""),Wu=hr({name:"",url:"",type:"GET",path:"",variables:[],headers:[],query:[],body:"",formData:[]}),Xu=ti((()=>{var e;return Vu.value?null==(e=Zu[Vu.value??""])?void 0:e.response:null})),Yu=Cr(!0),Gu=hr({selectedServer:null,servers:[],variables:{}}),Ku=e=>{Object.assign(Gu,{...Gu,...e})},Ju=()=>({server:Gu,setServer:Ku}),ed=".light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}",td=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],rd=td.map((([e])=>e)),nd={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",none:""},ad={alternate:":root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode,.light-mode .dark-mode{--scalar-background-1: #f9f9f9;--scalar-background-2: #f1f1f1;--scalar-background-3: #e7e7e7;--scalar-background-card: #fff;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #131313;--scalar-background-2: #1d1d1d;--scalar-background-3: #272727;--scalar-background-card: #1d1d1d;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color)}.light-mode .dark-mode,.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dd2f2c;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.scalar-api-client__item,.scalar-card,.dark-mode .dark-mode.scalar-card{--scalar-background-1: var(--scalar-background-card);--scalar-background-2: var(--scalar-background-1);--scalar-background-3: var(--scalar-background-1)}.dark-mode .dark-mode.scalar-card{--scalar-background-3: var(--scalar-background-3)}.t-doc__sidebar{--scalar-color-green: var(--scalar-color-1);--scalar-color-red: var(--scalar-color-1);--scalar-color-yellow: var(--scalar-color-1);--scalar-color-blue: var(--scalar-color-1);--scalar-color-orange: var(--scalar-color-1);--scalar-color-purple: var(--scalar-color-1)}",default:ed,moon:".light-mode{color-scheme:light;--scalar-color-1: #000000;--scalar-color-2: #000000;--scalar-color-3: #000000;--scalar-color-accent: #645b0f;--scalar-background-1: #ccc9b3;--scalar-background-2: #c2bfaa;--scalar-background-3: #b8b5a1;--scalar-background-accent: #000000;--scalar-border-color: rgba(0, 0, 0, .2);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fffef3;--scalar-color-2: #fffef3;--scalar-color-3: #fffef3;--scalar-color-accent: #c3b531;--scalar-background-1: #313332;--scalar-background-2: #393b3a;--scalar-background-3: #414342;--scalar-background-accent: #fffef3;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar,.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-background-1);--scalar-sidebar-search-background: var(--scalar-background-3);--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);--scalar-sidebar-search--color: var(--scalar-color-3)}",purple:".light-mode{--scalar-background-1: #fff;--scalar-background-2: #f5f6f8;--scalar-background-3: #eceef1;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(215, 215, 206, .5)}.dark-mode{--scalar-background-1: #15171c;--scalar-background-2: #1c1e24;--scalar-background-3: #22252b;--scalar-color-1: #fafafa;--scalar-color-2: #c9ced8;--scalar-color-3: #8c99ad;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(255, 255, 255, .12)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-3);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}",solarized:".light-mode{color-scheme:light;--scalar-color-1: #584c27;--scalar-color-2: #616161;--scalar-color-3: #a89f84;--scalar-color-accent: #b58900;--scalar-background-1: #fdf6e3;--scalar-background-2: #eee8d5;--scalar-background-3: #ddd6c1;--scalar-background-accent: #b589001f;--scalar-border-color: #ded8c8;--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fff;--scalar-color-2: #cccccc;--scalar-color-3: #6d8890;--scalar-color-accent: #007acc;--scalar-background-1: #00212b;--scalar-background-2: #012b36;--scalar-background-3: #004052;--scalar-background-accent: #015a6f;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);--scalar-sidebar-search--color: var(--scalar-color-3)}.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-color-1);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);--scalar-sidebar-search--color: var(--scalar-color-3)}",bluePlanet:":root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f0f2f5;--scalar-background-2: #eaecf0;--scalar-background-3: #e0e2e6;--scalar-border-color: rgb(228, 228, 231);--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .scalar-card.dark-mode,.dark-mode{--scalar-background-1: #000e23;--scalar-background-2: #01132e;--scalar-background-3: #03193b;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3);z-index:1}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.section-flare-item:nth-of-type(1){--c1: #ffffff;--c2: #babfd8;--c3: #2e8bb2;--c4: #1a8593;--c5: #0a143e;--c6: #0a0f52;--c7: #2341b8;--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);--solid-wrap: var(--solid), var(--c1);--trans: var(--c1), transparent, var(--c2), transparent, var(--c3), transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), transparent, var(--c7);--trans-wrap: var(--trans), transparent, var(--c1);background:radial-gradient(circle,var(--trans)),conic-gradient(from 180deg,var(--trans-wrap)),radial-gradient(circle,var(--trans)),conic-gradient(var(--solid-wrap));width:70vw;height:700px;border-radius:50%;filter:blur(100px);z-index:0;right:0;position:absolute;transform:rotate(-45deg);top:-300px;opacity:.3}.section-flare-item:nth-of-type(3){--star-color: #6b9acc;--star-color2: #446b8d;--star-color3: #3e5879;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;width:100%;height:100%;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%)}.section-flare{top:-150px!important;height:100vh;background:linear-gradient(#000,var(--scalar-background-1));width:100vw}.light-mode .section-flare{display:none}.light-mode .scalar-card{--scalar-background-1: #fff;--scalar-background-2: #fff;--scalar-background-3: #fff}",deepSpace:':root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #fff;--scalar-background-2: #f4f4f5;--scalar-background-3: #e3e3e6;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgb(228, 228, 231);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-item-active-background: var(--scalar-background-2)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.section-flare{width:100vw;height:550px;position:relative}.section-flare-item:nth-of-type(1){position:absolute;width:100vw;height:550px;--stripesDark: repeating-linear-gradient( 100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16% );--rainbow: repeating-linear-gradient( 100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30% );background-image:var(--stripesDark),var(--rainbow);background-size:300%,200%;background-position:50% 50%,50% 50%;filter:invert(100%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);pointer-events:none;opacity:.07}.dark-mode .section-flare-item:nth-of-type(1){background-image:var(--stripesDark),var(--rainbow);filter:opacity(50%) saturate(200%);opacity:.25;height:350px}.section-flare-item:nth-of-type(1):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--stripesDark),var(--rainbow);background-size:200%,100%;background-attachment:fixed;mix-blend-mode:difference}.dark-mode .section-flare:after{background-image:var(--stripesDark),var(--rainbow)}.section-flare-item:nth-of-type(2){--star-color: #fff;--star-color2: #fff;--star-color3: #fff;width:100%;height:100%;position:absolute;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);opacity:.2}',saturn:".light-mode{--scalar-background-1: #f3f3ee;--scalar-background-2: #e8e8e3;--scalar-background-3: #e4e4df;--scalar-border-color: rgba(215, 215, 206, .5);--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #1763a6;--scalar-background-accent: #1f648e1f}.dark-mode{--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: #4eb3ec;--scalar-background-accent: #8ab4f81f}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}",kepler:".light-mode{--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #7070ff;--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #7070ff1f;--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-language-color-supersede: var(--scalar-color-3)}.dark-mode{--scalar-color-1: #f7f8f8;--scalar-color-2: rgb(180, 188, 208);--scalar-color-3: #b4bcd099;--scalar-color-accent: #828fff;--scalar-background-1: #000212;--scalar-background-2: #0d0f1e;--scalar-background-3: #232533;--scalar-background-accent: #8ab4f81f;--scalar-border-color: #242537;--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(0, 0, 0, .05);--scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, .05);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-background-2: rgba(0, 0, 0, .03)}.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: rgba(255, 255, 255, .1);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, .05);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.sidebar-search{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode .scalar-card{background:#ffffff0d!important}.dark-mode .scalar-card *{--scalar-background-2: transparent !important;--scalar-background-1: transparent !important}.light-mode .dark-mode.scalar-card *,.light-mode .dark-mode.scalar-card{--scalar-background-1: #0d0f1e !important;--scalar-background-2: #0d0f1e !important;--scalar-background-3: #191b29 !important}.light-mode .dark-mode.scalar-card{background:#191b29!important}.badge{box-shadow:0 0 0 1px var(--scalar-border-color);margin-right:6px}.table-row.required-parameter .table-row-item:nth-of-type(2):after{background:transparent;box-shadow:none}.section-flare{width:100vw;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(120,119,198,.3),transparent);height:100vh}",mars:":root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f9f6f0;--scalar-background-2: #f2efe8;--scalar-background-3: #e9e7e2;--scalar-border-color: rgba(203, 165, 156, .6);--scalar-color-1: #c75549;--scalar-color-2: #c75549;--scalar-color-3: #c75549;--scalar-color-accent: #c75549;--scalar-background-accent: #dcbfa81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #140507;--scalar-background-2: #20090c;--scalar-background-3: #321116;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: rgba(255, 255, 255, .9);--scalar-background-accent: #441313;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);z-index:1}.light-mode{--scalar-color-green: #09533a;--scalar-color-red: #aa181d;--scalar-color-yellow: #ab8d2b;--scalar-color-blue: #19689a;--scalar-color-orange: #b26c34;--scalar-color-purple: #4c2191;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.section-flare-item:nth-of-type(1){background:#d25019;width:80vw;height:500px;margin-top:-150px;border-radius:50%;filter:blur(100px);z-index:0}.light-mode .section-flare{display:none}.section-flare{top:-150px!important;height:100vh;right:-400px!important;left:initial}"},od=e=>"none"===e?"":ad[e||"default"]??ed,id=(e,t)=>{const{variables:r=!0,fonts:n=!0,layer:a="scalar-theme"}=t??{},o=[od(e),r?':root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}':"",n?'@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}':""].join("");return a?`@layer ${a} {\n${o}}`:o};var sd=Object.defineProperty,ld=(e,t,r)=>(((e,t,r)=>{t in e?sd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let cd=0;const ud=new class{constructor(){ld(this,"subscribers"),ld(this,"toasts"),ld(this,"subscribe",(e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}))),ld(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))})),ld(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]})),ld(this,"create",(e=>{var t;const{message:r,...n}=e,a="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:cd++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:r}),{...t,...e,id:a,dismissible:i,title:r}):t)):this.addToast({title:r,...n,dismissible:i,id:a}),a})),ld(this,"dismiss",(e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e))),ld(this,"message",((e,t)=>this.create({...t,message:e,type:"default"}))),ld(this,"error",((e,t)=>this.create({...t,type:"error",message:e}))),ld(this,"success",((e,t)=>this.create({...t,type:"success",message:e}))),ld(this,"info",((e,t)=>this.create({...t,type:"info",message:e}))),ld(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e}))),ld(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e}))),ld(this,"promise",((e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));const n=e instanceof Promise?e:e();let a=void 0!==r;return n.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,n="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description;this.create({id:r,type:"error",message:e,description:n})}else if(void 0!==t.success){a=!1;const n="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"success",message:n,description:o})}})).catch((e=>{if(void 0!==t.error){a=!1;const n="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"error",message:n,description:o})}})).finally((()=>{var e;a&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r})),ld(this,"custom",((e,t)=>{const r=(null==t?void 0:t.id)||cd++;return this.publish({component:e,id:r,...t}),r})),this.subscribers=[],this.toasts=[]}},dd=Object.assign(((e,t)=>{const r=(null==t?void 0:t.id)||cd++;return ud.create({message:e,id:r,type:"default",...t}),r}),{success:ud.success,info:ud.info,warning:ud.warning,error:ud.error,custom:ud.custom,message:ud.message,promise:ud.promise,dismiss:ud.dismiss,loading:ud.loading}),pd=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},hd={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},fd=[To("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),To("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)],md=pd({},[["render",function(e,t){return bo(),wo("svg",hd,fd)}]]),gd=["aria-live","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],bd=["aria-label","data-disabled"],vd={key:0,"data-icon":""},Od={"data-content":""},yd=Fn({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},duration:{},descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const r=t,n=e,a=Cr(!1),o=Cr(!1),i=Cr(!1),s=Cr(!1),l=Cr(0),c=Cr(0),u=Cr(null),d=Cr(null),p=ti((()=>0===n.index)),h=ti((()=>n.index+1<=n.visibleToasts)),f=ti((()=>n.toast.type)),m=ti((()=>!1!==n.toast.dismissible)),g=ti((()=>{var e,t,r,a,o,i,s;return n.cn(null==(e=n.classes)?void 0:e.toast,null==(r=null==(t=n.toast)?void 0:t.classes)?void 0:r.toast,null==(a=n.classes)?void 0:a.default,null==(o=n.classes)?void 0:o[n.toast.type||"default"],null==(s=null==(i=n.toast)?void 0:i.classes)?void 0:s[n.toast.type||"default"])})),b=n.toast.style||{},v=ti((()=>n.heights.findIndex((e=>e.toastId===n.toast.id))||0)),O=ti((()=>n.toast.closeButton??n.closeButton)),y=ti((()=>n.toast.duration||n.duration||4e3)),w=Cr(0),x=Cr(0),k=Cr(y.value),_=Cr(0),S=Cr(null),E=ti((()=>n.position.split("-"))),T=ti((()=>E.value[0])),A=ti((()=>E.value[1])),C="string"!=typeof n.toast.title,P="string"!=typeof n.toast.description,D=ti((()=>n.heights.reduce(((e,t,r)=>r>=v.value?e:e+t.height),0))),R=(()=>{const e=Cr(!1);return za((()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}})(),N=ti((()=>n.toast.invert||n.invert)),$=ti((()=>"loading"===f.value));Cn((()=>{if(!a.value)return;const e=d.value,t=null==e?void 0:e.style.height;e.style.height="auto";const o=e.getBoundingClientRect().height;let i;e.style.height=t,c.value=o,i=n.heights.find((e=>e.toastId===n.toast.id))?n.heights.map((e=>e.toastId===n.toast.id?{...e,height:o}:e)):[{toastId:n.toast.id,height:o,position:n.toast.position},...n.heights],r("update:heights",i)}));const I=()=>{o.value=!0,l.value=x.value;const e=n.heights.filter((e=>e.toastId!==n.toast.id));r("update:heights",e),setTimeout((()=>{r("removeToast",n.toast)}),200)},M=()=>{var e,t;$.value||!m.value||(I(),null==(t=(e=n.toast).onDismiss)||t.call(e,n.toast))},L=e=>{$.value||!m.value||(u.value=new Date,l.value=x.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(i.value=!0,S.value={x:e.clientX,y:e.clientY}))},Q=e=>{var t,r,a,o;if(s.value)return;S.value=null;const c=Number((null==(t=d.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),p=(new Date).getTime()-u.value.getTime(),h=Math.abs(c)/p;if(Math.abs(c)>=20||h>.11)return l.value=x.value,null==(a=(r=n.toast).onDismiss)||a.call(r,n.toast),I(),void(s.value=!0);null==(o=d.value)||o.style.setProperty("--swipe-amount","0px"),i.value=!1},B=e=>{var t;if(!S.value)return;const r=e.clientY-S.value.y,n=e.clientX-S.value.x,a=("top"===E.value[0]?Math.min:Math.max)(0,r),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=d.value)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>o&&(S.value=null)};return za((()=>{x.value=14*v.value+D.value})),za((e=>{if(n.toast.promise&&"loading"===f.value||n.toast.duration===1/0||"loading"===n.toast.type)return;let t;n.expanded||n.interacting||n.pauseWhenPageIsHidden&&R?(()=>{if(_.value{var e,t;null==(t=(e=n.toast).onAutoClose)||t.call(e,n.toast),I()}),k.value)),e((()=>{clearTimeout(t)}))})),za((()=>{n.toast.delete&&I()})),Cn((()=>{if(d.value){const e=d.value.getBoundingClientRect().height;c.value=e;const t=[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights];r("update:heights",t)}a.value=!0})),Nn((()=>{if(d.value){const e=n.heights.filter((e=>e.toastId!==n.toast.id));r("update:heights",e)}})),(e,t)=>{var r,n,u,v,y,w,k,_,S,E,D,R;return bo(),wo("li",{"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",class:Ge(g.value),"data-styled":!(e.toast.component||null!=(r=e.toast)&&r.unstyled||e.unstyled),"data-mounted":a.value,"data-promise":!!e.toast.promise,"data-removed":o.value,"data-visible":h.value,"data-y-position":T.value,"data-x-position":A.value,"data-index":e.index,"data-front":p.value,"data-swiping":i.value,"data-dismissible":m.value,"data-type":f.value,"data-invert":N.value,"data-swipe-out":s.value,"data-expanded":!!(e.expanded||e.expandByDefault&&a.value),style:He({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${o.value?l.value:x.value}px`,"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...Nr(b)}),onPointerdown:L,onPointerup:Q,onPointermove:B},[O.value&&!e.toast.component?(bo(),wo("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":$.value,"data-close-button":"",class:Ge(e.cn(null==(n=e.classes)?void 0:n.closeButton,null==(v=null==(u=e.toast)?void 0:u.classes)?void 0:v.closeButton)),onClick:M},[Ao(md)],10,bd)):No("",!0),e.toast.component?(bo(),xo(kn(e.toast.component),Lo({key:1},e.toast.componentProps,{onCloseToast:I}),null,16)):(bo(),wo(uo,{key:2},["default"!==f.value||e.toast.icon||e.toast.promise?(bo(),wo("div",vd,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?No("",!0):Zn(e.$slots,"loading-icon",{key:0}),e.toast.icon?(bo(),xo(kn(e.toast.icon),{key:1})):(bo(),wo(uo,{key:2},["success"===f.value?Zn(e.$slots,"success-icon",{key:0}):"error"===f.value?Zn(e.$slots,"error-icon",{key:1}):"warning"===f.value?Zn(e.$slots,"warning-icon",{key:2}):"info"===f.value?Zn(e.$slots,"info-icon",{key:3}):No("",!0)],64))])):No("",!0),To("div",Od,[To("div",{"data-title":"",class:Ge(e.cn(null==(y=e.classes)?void 0:y.title,null==(w=e.toast.classes)?void 0:w.title))},[C?(bo(),xo(kn(e.toast.title),Ke(Lo({key:0},e.toast.componentProps)),null,16)):(bo(),wo(uo,{key:1},[Do(nt(e.toast.title),1)],64))],2),e.toast.description?(bo(),wo("div",{key:0,"data-description":"",class:Ge(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(_=e.toast.classes)?void 0:_.description))},[P?(bo(),xo(kn(e.toast.description),Ke(Lo({key:0},e.toast.componentProps)),null,16)):(bo(),wo(uo,{key:1},[Do(nt(e.toast.description),1)],64))],2)):No("",!0)]),e.toast.cancel?(bo(),wo("button",{key:1,class:Ge(e.cn(null==(S=e.classes)?void 0:S.cancelButton,null==(E=e.toast.classes)?void 0:E.cancelButton)),"data-button":"","data-cancel":"",onClick:t[0]||(t[0]=()=>{var t;I(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})},nt(e.toast.cancel.label),3)):No("",!0),e.toast.action?(bo(),wo("button",{key:2,class:Ge(e.cn(null==(D=e.classes)?void 0:D.actionButton,null==(R=e.toast.classes)?void 0:R.actionButton)),"data-button":"",onClick:t[1]||(t[1]=t=>{var r;null==(r=e.toast.action)||r.onClick(t),!t.defaultPrevented&&I()})},nt(e.toast.action.label),3)):No("",!0)],64))],46,gd)}}}),wd=["data-visible"],xd={class:"sonner-spinner"},kd=Fn({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(e,r)=>(bo(),wo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[To("div",xd,[(bo(!0),wo(uo,null,jn(Nr(t),(e=>(bo(),wo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,wd))}}),_d={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Sd=[To("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)],Ed=pd({},[["render",function(e,t){return bo(),wo("svg",_d,Sd)}]]),Td={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ad=[To("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)],Cd=pd({},[["render",function(e,t){return bo(),wo("svg",Td,Ad)}]]),Pd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Dd=[To("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)],Rd=pd({},[["render",function(e,t){return bo(),wo("svg",Pd,Dd)}]]),Nd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$d=[To("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)],Id=pd({},[["render",function(e,t){return bo(),wo("svg",Nd,$d)}]]),Md=["aria-label"],Ld=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Qd="32px",Bd=typeof window<"u"&&typeof document<"u",jd=Fn({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{default:4e3},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:Qd},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){function t(...e){return e.filter(Boolean).join(" ")}function r(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}const n=e,a=Kn(),o=Cr([]),i=ti((()=>{const e=o.value.filter((e=>e.position)).map((e=>e.position));return e.length>0?Array.from(new Set([n.position].concat(e))):[n.position]})),s=Cr([]),l=Cr(!1),c=Cr(!1),u=Cr("system"!==n.theme?n.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=ti((()=>n.cn||t)),p=Cr(null),h=Cr(null),f=Cr(!1),m=n.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function g(e){o.value=o.value.filter((({id:t})=>t!==e.id))}const b=e=>{var t,r;f.value&&(null==(r=null==(t=e.currentTarget)?void 0:t.contains)||!r.call(t,e.relatedTarget))&&(f.value=!1,h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},v=e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,h.value=e.relatedTarget)},O=e=>{e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!1)};return za((e=>{const t=ud.subscribe((e=>{e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):Kr((()=>{const t=o.value.findIndex((t=>t.id===e.id));-1!==t?o.value.splice(t,1,e):o.value=[e,...o.value]}))}));e((()=>{t()}))})),Za((()=>n.theme),(e=>{"system"===e?("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{u.value=e?"dark":"light"}))):u.value=e})),Za((()=>p.value),(()=>{if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0}),h.value=null,f.value=!1)}})),za((()=>{o.value.length<=1&&(l.value=!1)})),za((e=>{function t(e){const t=n.hotkey.every((t=>e[t]||e.code===t)),r=Array.isArray(p.value)?p.value[0]:p.value;t&&(l.value=!0,null==r||r.focus());const a=document.activeElement===p.value||(null==r?void 0:r.contains(document.activeElement));"Escape"===e.code&&a&&(l.value=!1)}Bd&&(document.addEventListener("keydown",t),e((()=>{document.removeEventListener("keydown",t)})))})),(e,t)=>(bo(),wo("section",{"aria-label":`${e.containerAriaLabel} ${Nr(m)}`,tabIndex:-1},[(bo(!0),wo(uo,null,jn(i.value,((n,i)=>{var u;return bo(),wo("ol",Lo({key:n,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"",class:e.class,dir:"auto"===e.dir?r():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":n.split("-")[0],"data-x-position":n.split("-")[1],style:{"--front-toast-height":`${null==(u=s.value[0])?void 0:u.height}px`,"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||Qd,"--width":"356px","--gap":"14px",...e.style,...Nr(a).style},onBlur:b,onFocus:v,onMouseenter:t[1]||(t[1]=e=>l.value=!0),onMousemove:t[2]||(t[2]=e=>l.value=!0),onMouseleave:t[3]||(t[3]=()=>{c.value||(l.value=!1)}),onPointerdown:O,onPointerup:t[4]||(t[4]=e=>c.value=!1)},e.$attrs),[(bo(!0),wo(uo,null,jn(o.value.filter((t=>!t.position&&0===i||t.position===e.position)),((r,n)=>{var a,i,u,p,h,f,m,b,v;return bo(),xo(yd,{key:r.id,index:n,toast:r,duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,class:Ge(null==(i=e.toastOptions)?void 0:i.class),descriptionClass:null==(u=e.toastOptions)?void 0:u.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:(null==(p=e.toastOptions)?void 0:p.closeButton)??e.closeButton,interacting:c.value,position:e.position,style:He(null==(h=e.toastOptions)?void 0:h.style),unstyled:null==(f=e.toastOptions)?void 0:f.unstyled,classes:null==(m=e.toastOptions)?void 0:m.classes,cancelButtonStyle:null==(b=e.toastOptions)?void 0:b.cancelButtonStyle,actionButtonStyle:null==(v=e.toastOptions)?void 0:v.actionButtonStyle,toasts:o.value,expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:d.value,heights:s.value,"onUpdate:heights":t[0]||(t[0]=e=>s.value=e),onRemoveToast:g},{"loading-icon":mn((()=>[Zn(e.$slots,"loading-icon",{},(()=>[Ao(kd,{visible:"loading"===r.type},null,8,["visible"])]))])),"success-icon":mn((()=>[Zn(e.$slots,"success-icon",{},(()=>[Ao(Ed)]))])),"error-icon":mn((()=>[Zn(e.$slots,"error-icon",{},(()=>[Ao(Id)]))])),"warning-icon":mn((()=>[Zn(e.$slots,"warning-icon",{},(()=>[Ao(Rd)]))])),"info-icon":mn((()=>[Zn(e.$slots,"info-icon",{},(()=>[Ao(Cd)]))])),_:2},1032,["index","toast","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn","heights"])})),128))],16,Ld)})),128))],8,Md))}}),Ud={toast:()=>null};function Fd(e){Ud.toast=e}function zd(){return{initializeToasts:Fd,toast:(e,t="info",r={timeout:3e3})=>{Ud.toast(e,t,r)}}}const qd=Fn({__name:"ScalarToasts",setup(e){const t=Cr(!1);Cn((()=>t.value=!0));const r={success:dd.success,error:dd.error,warn:dd.warning,info:dd},{initializeToasts:n}=zd();return n(((e,t="info",n={})=>{(r[t]||r.info)(e,{duration:n.timeout||3e3,description:n.description})})),(e,r)=>t.value?(bo(),xo(Nr(jd),{key:0,toastOptions:{class:"toaster"}})):No("",!0)}});!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".toaster[data-sonner-toast][data-styled=true]{background:var(--scalar-background-1);color:var(--scalar-color-1);padding:18px;border:none;border-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-font-medium);box-shadow:var(--scalar-shadow-2)}.toaster[data-sonner-toast] [data-icon]{align-self:start}.toaster[data-sonner-toast][data-styled=true][data-expanded=true]{height:auto}.toaster[data-sonner-toast][data-type=error]{background:var(--scalar-background-1)}.toaster[data-sonner-toast][data-type=error] [data-icon]{color:color-mix(in srgb,var(--scalar-color-red) 75%,var(--scalar-color-1))}.toaster[data-sonner-toast][data-type=warning]{background:var(--scalar-background-1)}.toaster[data-sonner-toast][data-type=warning] [data-icon]{color:color-mix(in srgb,var(--scalar-color-orange) 90%,var(--scalar-color-1))}")),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();const Zd=()=>{const{toast:e}=zd();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")}))}}},Hd=Cr(!1),Vd="https://api.scalar.com/request-proxy",Wd="https://proxy.scalar.com",Xd=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Yd=Object.hasOwnProperty;class Gd{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=Kd(e,!0===t);const a=n;for(;Yd.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}}function Kd(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(Xd,"").replace(/ /g,"-"))}const Jd=Cr(Au.hash??""),ep=Cr(),tp=Cr(!1),rp=e=>e.slug?`description/${e.slug}`:"",np=e=>{var t;if(!ep.value)return"";const r=new RegExp("^"+(null==(t=ep.value)?void 0:t.basePath)+"/?");return decodeURIComponent(e.replace(r,""))},ap=(e,t)=>{if(!e)return"webhooks";const r=Kd(e);return`webhook/${t}/${encodeURIComponent(r)}`},op=e=>{if(!e)return"models";const t=Kd(e);return`model/${encodeURIComponent(t)}`},ip=(e,t)=>`${sp(t)}/${e.httpVerb}${e.path}`,sp=({name:e})=>{const t=Kd(e);return`tag/${encodeURIComponent(t)}`},lp=(e=Jd.value)=>{var t;const r=null==(t=e.match(/(tag\/[^/]+)/))?void 0:t[0],n=e.startsWith("model")?"models":"",a=e.startsWith("webhook")?"webhooks":"";return r||n||a},cp=()=>{Jd.value=ep.value?np(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},up=()=>({hash:Jd,getWebhookId:ap,getModelId:op,getHeadingId:rp,getOperationId:ip,getPathRoutingId:np,getSectionId:lp,getTagId:sp,isIntersectionEnabled:tp,pathRouting:ep,updateHash:cp});function dp(e){return{parameterMap:ti((()=>{var t;const r=(null==(t=e.operation.information)?void 0:t.parameters)??[],n={path:[],query:[],header:[],body:[],formData:[]};return e.operation.pathParameters&&e.operation.pathParameters.forEach((e=>{"path"===e.in?n.path.push(e):"query"===e.in?n.query.push(e):"header"===e.in?n.header.push(e):"body"===e.in?n.body.push(e):"formData"===e.in&&n.formData.push(e)})),r&&r.forEach((e=>{"path"===e.in?n.path.push(e):"query"===e.in?n.query.push(e):"header"===e.in?n.header.push(e):"body"===e.in?n.body.push(e):"formData"===e.in&&n.formData.push(e)})),n}))}}function pp(e,t){for(const[r,n]of Object.entries(e))null!==n&&"object"==typeof n?(t[r]??(t[r]=new n.__proto__.constructor),pp(n,t[r])):void 0!==n&&(t[r]=n);return t}function hp(e){return pp(e??{},{info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}function fp(e,t=""){return{"date-time":(new Date).toISOString(),date:(new Date).toISOString().split("T")[0],email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:(new Date).toISOString().split("T")[1].split(".")[0],"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000"}[e.format]??t}const mp=(e,t,r=0,n,a)=>{var o,i,s,l,c,u;if(r>5)return null;const d=!!(null==t?void 0:t.emptyString);if("write"===(null==t?void 0:t.mode)&&e.readOnly)return;if("read"===(null==t?void 0:t.mode)&&e.writeOnly)return;if(e["x-variable"]){const r=null==(o=null==t?void 0:t.variables)?void 0:o[e["x-variable"]];if(void 0!==r)return"number"===e.type||"integer"===e.type?parseInt(r,10):r}if(Array.isArray(e.examples)&&e.examples.length>0)return e.examples[0];if(void 0!==e.example)return e.example;if(void 0!==e.default)return e.default;if(void 0!==e.enum)return e.enum[0];if("object"!==e.type&&"array"!==e.type&&!0===(null==t?void 0:t.omitEmptyAndOptionalProperties)&&!0!==e.required&&!0!==(null==n?void 0:n.required)&&!(null==(i=null==n?void 0:n.required)?void 0:i.includes(a??e.name)))return;if("object"===e.type||void 0!==e.properties){const n={};if(void 0!==e.properties&&Object.keys(e.properties).forEach((a=>{var o;const i=e.properties[a],s=(null==t?void 0:t.xml)?null==(o=i.xml)?void 0:o.name:void 0;n[s??a]=mp(i,t,r+1,e,a),void 0===n[s??a]&&delete n[s??a]})),void 0!==e.anyOf?Object.assign(n,mp(e.anyOf[0]),t,r+1):void 0!==e.oneOf?Object.assign(n,mp(e.oneOf[0]),t,r+1):void 0!==e.allOf&&Object.assign(n,...e.allOf.map((n=>mp(n,t,r+1,e))).filter((e=>void 0!==e))),void 0!==e.additionalProperties&&!1!==e.additionalProperties){const a=mp(e.additionalProperties,t,r+1);if(a&&"object"==typeof a&&!Array.isArray(a))return{...n,...mp(e.additionalProperties,t,r+1)};if(null===a)return null;const o=mp(e.additionalProperties,{...t,omitEmptyAndOptionalProperties:!1},r+1);return{...n,...void 0===o?{}:{"{{key}}":o}}}return n}if("array"===e.type||void 0!==e.items){const n=null==(l=null==(s=null==e?void 0:e.items)?void 0:s.xml)?void 0:l.name,a=!!((null==t?void 0:t.xml)&&(null==(c=e.xml)?void 0:c.wrapped)&&n);if(void 0!==e.example)return a?{[n]:e.example}:e.example;if(e.items){const o=["anyOf","oneOf","allOf"];for(const i of o){if(!e.items[i])continue;const o=(["anyOf","oneOf"].includes(i)?e.items[i].slice(0,1):e.items[i]).map((n=>mp(n,t,r+1,e))).filter((e=>void 0!==e));return a?[{[n]:o}]:o}}if(null==(u=e.items)?void 0:u.type){const o=mp(e.items,t,r+1);return a?[{[n]:o}]:[o]}return[]}const p={string:d?fp(e,null==t?void 0:t.emptyString):"",boolean:!0,integer:e.min??1,number:e.min??1,array:[]};if(void 0!==e.type&&void 0!==p[e.type])return p[e.type];if(Array.isArray(e.oneOf)&&e.oneOf.length>0){const n=e.oneOf[0];return mp(n,t,r+1)}if(Array.isArray(e.allOf)){let n=null;return e.allOf.forEach((e=>{const a=mp(e,t,r+1);n="object"==typeof a&&"object"==typeof n?{...n??{},...a}:Array.isArray(a)&&Array.isArray(n)?[...n??{},...a]:a})),n}if(Array.isArray(e.type)){if(e.type.includes("null"))return null;const t=p[e.type[0]];if(void 0!==t)return t}return console.warn(`[getExampleFromSchema] Unknown property type "${e.type}".`),null};function gp(e,t,r=!0){var n;return[...e.pathParameters||[],...(null==(n=e.information)?void 0:n.parameters)||[]].filter((e=>e.in===t)).filter((e=>r&&e.required||!r)).map((e=>({name:e.name,description:e.description??null,value:e.example?e.example:e.schema?mp(e.schema,{mode:"write"}):"",required:e.required??!1,enabled:e.required??!1}))).sort(((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:0))}function bp(e,t){const r=function(e,t,n){let a="";if(e instanceof Array)for(let o=0,i=e.length;o":"/>",o){for(const t in e)"#text"==t?a+=e[t]:"#cdata"==t?a+="":"@"!=t.charAt(0)&&(a+=r(e[t],t,n+"\t"));a+=("\n"==a.charAt(a.length-1)?n:"")+""+t+">"}}else a+=n+"<"+t+">"+e.toString()+""+t+">";return a};let n="";for(const t in e)n+=r(e[t],t,"");return t?n.replace(/\t/g,t):n.replace(/\t|\n/g,"")}function vp(e,t){var r,n,a,o;const i=_u(null==(n=null==(r=e.information)?void 0:r.requestBody)?void 0:n.content),s=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"].find((e=>!!(null==i?void 0:i[e]))),l=null==(a=null==i?void 0:i["application/json"])?void 0:a.examples,c=null==(o=l??{})?void 0:o[t??Object.keys(l??{})[0]];if(c)return{postData:{mimeType:"application/json",text:Eu(null==c?void 0:c.value)}};const u=gp(e,"body",!1);if(u.length>0)return{postData:{mimeType:"application/json",text:Eu(u[0].value)}};const d=gp(e,"formData",!1);if(d.length>0)return{postData:{mimeType:"application/x-www-form-urlencoded",params:d.map((e=>({name:e.name,value:e.value})))}};if(!s)return{postData:void 0};const p=null==i?void 0:i[s],h=[{name:"Content-Type",value:s}],f=(null==p?void 0:p.example)?null==p?void 0:p.example:void 0;if("application/json"===s){const e=(null==p?void 0:p.schema)?mp(null==p?void 0:p.schema,{mode:"write",omitEmptyAndOptionalProperties:!0}):null,t=f??e;return{headers:h,postData:{mimeType:s,text:"string"==typeof t?t:JSON.stringify(t,null,2)}}}if("application/xml"===s){const e=(null==p?void 0:p.schema)?mp(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,postData:{mimeType:s,text:f??bp(e," ")}}}if("application/octet-stream"===s)return{headers:h,postData:{mimeType:s,text:"BINARY"}};if("text/plain"===s){const e=(null==p?void 0:p.schema)?mp(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,postData:{mimeType:s,text:f??e??""}}}return"application/x-www-form-urlencoded"===s||"multipart/form-data"===s?{headers:h,postData:{mimeType:s}}:void 0}const Op=(e,t,r)=>{let n=e.path;const a=gp(e,"path",!1);if(a.length){const e=n.match(/{(.*?)}/g);e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");if(a){const r=a.find((e=>e.name===t));(null==r?void 0:r.value)&&(n=n.replace(e,r.value.toString()))}}))}if(!0===(null==t?void 0:t.replaceVariables)){const e=n.match(/{(.*?)}/g);e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");n=n.replace(e,`__${t.toUpperCase()}__`)}))}const o=vp(e,r);return{method:e.httpVerb.toUpperCase(),path:n,headers:[...gp(e,"header",null==t?void 0:t.requiredOnly),...(null==o?void 0:o.headers)??[]],postData:null==o?void 0:o.postData,queryString:gp(e,"query",null==t?void 0:t.requiredOnly),cookies:gp(e,"cookie",null==t?void 0:t.requiredOnly)}};function yp({serverState:e,authenticationState:t,operation:r,globalSecurity:n}){var a,o;const i=$f({url:Cu(e)},Op(r,{requiredOnly:!1}),t?as(t,(null==(a=r.information)?void 0:a.security)??n??[]):{}),s=Op(r,{requiredOnly:!1}),l=gp(r,"path",!1);return{id:r.operationId,name:r.name,type:i.method,path:s.path??"",variables:l,cookies:wp(i.cookies),query:i.queryString.map((e=>{const t=e;return{...e,enabled:t.required??!0}})),headers:wp(i.headers),url:Cu(e)??"",body:null==(o=i.postData)?void 0:o.text}}function wp(e){return(e??[]).map((e=>({...e,enabled:!0})))}function xp(e,t){return function(){return e.apply(t,arguments)}}const{toString:kp}=Object.prototype,{getPrototypeOf:_p}=Object,Sp=(e=>t=>{const r=kp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ep=e=>(e=e.toLowerCase(),t=>Sp(t)===e),Tp=e=>t=>typeof t===e,{isArray:Ap}=Array,Cp=Tp("undefined"),Pp=Ep("ArrayBuffer"),Dp=Tp("string"),Rp=Tp("function"),Np=Tp("number"),$p=e=>null!==e&&"object"==typeof e,Ip=e=>{if("object"!==Sp(e))return!1;const t=_p(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Mp=Ep("Date"),Lp=Ep("File"),Qp=Ep("Blob"),Bp=Ep("FileList"),jp=Ep("URLSearchParams"),[Up,Fp,zp,qp]=["ReadableStream","Request","Response","Headers"].map(Ep);function Zp(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,a;if("object"!=typeof e&&(e=[e]),Ap(e))for(n=0,a=e.length;n0;)if(n=r[a],t===n.toLowerCase())return n;return null}const Vp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Wp=e=>!Cp(e)&&e!==Vp,Xp=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&_p(Uint8Array)),Yp=Ep("HTMLFormElement"),Gp=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Kp=Ep("RegExp"),Jp=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Zp(r,((r,a)=>{let o;!1!==(o=t(r,a,e))&&(n[a]=o||r)})),Object.defineProperties(e,n)},eh="abcdefghijklmnopqrstuvwxyz",th="0123456789",rh={DIGIT:th,ALPHA:eh,ALPHA_DIGIT:eh+eh.toUpperCase()+th},nh=Ep("AsyncFunction"),ah={isArray:Ap,isArrayBuffer:Pp,isBuffer:function(e){return null!==e&&!Cp(e)&&null!==e.constructor&&!Cp(e.constructor)&&Rp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Rp(e.append)&&("formdata"===(t=Sp(e))||"object"===t&&Rp(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pp(e.buffer),t},isString:Dp,isNumber:Np,isBoolean:e=>!0===e||!1===e,isObject:$p,isPlainObject:Ip,isReadableStream:Up,isRequest:Fp,isResponse:zp,isHeaders:qp,isUndefined:Cp,isDate:Mp,isFile:Lp,isBlob:Qp,isRegExp:Kp,isFunction:Rp,isStream:e=>$p(e)&&Rp(e.pipe),isURLSearchParams:jp,isTypedArray:Xp,isFileList:Bp,forEach:Zp,merge:function e(){const{caseless:t}=Wp(this)&&this||{},r={},n=(n,a)=>{const o=t&&Hp(r,a)||a;Ip(r[o])&&Ip(n)?r[o]=e(r[o],n):Ip(n)?r[o]=e({},n):Ap(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e(Zp(t,((t,n)=>{r&&Rp(t)?e[n]=xp(t,r):e[n]=t}),{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],n&&!n(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==r&&_p(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:Sp,kindOfTest:Ep,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(Ap(e))return e;let t=e.length;if(!Np(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Yp,hasOwnProperty:Gp,hasOwnProp:Gp,reduceDescriptors:Jp,freezeMethods:e=>{Jp(e,((t,r)=>{if(Rp(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Rp(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return Ap(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Hp,global:Vp,isContextDefined:Wp,ALPHABET:rh,generateString:(e=16,t=rh.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&Rp(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if($p(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const a=Ap(e)?[]:{};return Zp(e,((e,t)=>{const o=r(e,n+1);!Cp(o)&&(a[t]=o)})),t[n]=void 0,a}}return e};return r(e,0)},isAsyncFn:nh,isThenable:e=>e&&($p(e)||Rp(e))&&Rp(e.then)&&Rp(e.catch)};function oh(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}ah.inherits(oh,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ah.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ih=oh.prototype,sh={};function lh(e){return ah.isPlainObject(e)||ah.isArray(e)}function ch(e){return ah.endsWith(e,"[]")?e.slice(0,-2):e}function uh(e,t,r){return e?e.concat(t).map((function(e,t){return e=ch(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{sh[e]={value:e}})),Object.defineProperties(oh,sh),Object.defineProperty(ih,"isAxiosError",{value:!0}),oh.from=(e,t,r,n,a,o)=>{const i=Object.create(ih);return ah.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),oh.call(i,e.message,t,r,n,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const dh=ah.toFlatObject(ah,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ph(e,t,r){if(!ah.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=ah.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ah.isUndefined(t[e])}))).metaTokens,a=r.visitor||c,o=r.dots,i=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&ah.isSpecCompliantForm(t);if(!ah.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ah.isDate(e))return e.toISOString();if(!s&&ah.isBlob(e))throw new oh("Blob is not supported. Use a Buffer instead.");return ah.isArrayBuffer(e)||ah.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,r,a){let s=e;if(e&&!a&&"object"==typeof e)if(ah.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(ah.isArray(e)&&function(e){return ah.isArray(e)&&!e.some(lh)}(e)||(ah.isFileList(e)||ah.endsWith(r,"[]"))&&(s=ah.toArray(e)))return r=ch(r),s.forEach((function(e,n){!ah.isUndefined(e)&&null!==e&&t.append(!0===i?uh([r],n,o):null===i?r:r+"[]",l(e))})),!1;return!!lh(e)||(t.append(uh(a,r,o),l(e)),!1)}const u=[],d=Object.assign(dh,{defaultVisitor:c,convertValue:l,isVisitable:lh});if(!ah.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!ah.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),ah.forEach(r,(function(r,o){!0===(!(ah.isUndefined(r)||null===r)&&a.call(t,r,ah.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])})),u.pop()}}(e),t}function hh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function fh(e,t){this._pairs=[],e&&ph(e,this,t)}const mh=fh.prototype;function gh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bh(e,t,r){if(!t)return e;const n=r&&r.encode||gh,a=r&&r.serialize;let o;if(o=a?a(t,r):ah.isURLSearchParams(t)?t.toString():new fh(t,r).toString(n),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}mh.append=function(e,t){this._pairs.push([e,t])},mh.toString=function(e){const t=e?function(t){return e.call(this,t,hh)}:hh;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class vh{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ah.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const Oh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yh={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:fh,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},wh="undefined"!=typeof window&&"undefined"!=typeof document,xh=(kh="undefined"!=typeof navigator&&navigator.product,wh&&["ReactNative","NativeScript","NS"].indexOf(kh)<0);var kh;const _h="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Sh=wh&&window.location.href||"http://localhost",Eh={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wh,hasStandardBrowserEnv:xh,hasStandardBrowserWebWorkerEnv:_h,origin:Sh},Symbol.toStringTag,{value:"Module"})),...yh};function Th(e){function t(e,r,n,a){let o=e[a++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),s=a>=e.length;return o=!o&&ah.isArray(n)?n.length:o,s?(ah.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!i):(n[o]&&ah.isObject(n[o])||(n[o]=[]),t(e,r,n[o],a)&&ah.isArray(n[o])&&(n[o]=function(e){const t={},r=Object.keys(e);let n;const a=r.length;let o;for(n=0;n{t(function(e){return ah.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const Ah={transitional:Oh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,a=ah.isObject(e);if(a&&ah.isHTMLForm(e)&&(e=new FormData(e)),ah.isFormData(e))return n?JSON.stringify(Th(e)):e;if(ah.isArrayBuffer(e)||ah.isBuffer(e)||ah.isStream(e)||ah.isFile(e)||ah.isBlob(e)||ah.isReadableStream(e))return e;if(ah.isArrayBufferView(e))return e.buffer;if(ah.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ph(e,new Eh.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return Eh.isNode&&ah.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=ah.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ph(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),function(e,t,r){if(ah.isString(e))try{return(0,JSON.parse)(e),ah.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ah.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(ah.isResponse(e)||ah.isReadableStream(e))return e;if(e&&ah.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw oh.from(e,oh.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Eh.classes.FormData,Blob:Eh.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ah.forEach(["delete","get","head","post","put","patch"],(e=>{Ah.headers[e]={}}));const Ch=ah.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ph=Symbol("internals");function Dh(e){return e&&String(e).trim().toLowerCase()}function Rh(e){return!1===e||null==e?e:ah.isArray(e)?e.map(Rh):String(e)}function Nh(e,t,r,n,a){return ah.isFunction(n)?n.call(this,t,r):(a&&(t=r),ah.isString(t)?ah.isString(n)?-1!==t.indexOf(n):ah.isRegExp(n)?n.test(t):void 0:void 0)}let $h=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function a(e,t,r){const a=Dh(t);if(!a)throw new Error("header name must be a non-empty string");const o=ah.findKey(n,a);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=Rh(e))}const o=(e,t)=>ah.forEach(e,((e,r)=>a(e,r,t)));if(ah.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ah.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let r,n,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),r=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!r||t[r]&&Ch[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(ah.isHeaders(e))for(const[t,n]of e.entries())a(n,t,r);else null!=e&&a(t,e,r);return this}get(e,t){if(e=Dh(e)){const r=ah.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(ah.isFunction(t))return t.call(this,e,r);if(ah.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Dh(e)){const r=ah.findKey(this,e);return!(!r||void 0===this[r]||t&&!Nh(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function a(e){if(e=Dh(e)){const a=ah.findKey(r,e);!a||t&&!Nh(0,r[a],a,t)||(delete r[a],n=!0)}}return ah.isArray(e)?e.forEach(a):a(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const a=t[r];e&&!Nh(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}normalize(e){const t=this,r={};return ah.forEach(this,((n,a)=>{const o=ah.findKey(r,a);if(o)return t[o]=Rh(n),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(a):String(a).trim();i!==a&&delete t[a],t[i]=Rh(n),r[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ah.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&ah.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[Ph]=this[Ph]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Dh(e);t[n]||(function(e,t){const r=ah.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,a){return this[n].call(this,t,e,r,a)},configurable:!0})}))}(r,e),t[n]=!0)}return ah.isArray(e)?e.forEach(n):n(e),this}};function Ih(e,t){const r=this||Ah,n=t||r,a=$h.from(n.headers);let o=n.data;return ah.forEach(e,(function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Mh(e){return!(!e||!e.__CANCEL__)}function Lh(e,t,r){oh.call(this,null==e?"canceled":e,oh.ERR_CANCELED,t,r),this.name="CanceledError"}function Qh(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new oh("Request failed with status code "+r.status,[oh.ERR_BAD_REQUEST,oh.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}$h.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ah.reduceDescriptors($h.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),ah.freezeMethods($h),ah.inherits(Lh,oh,{__CANCEL__:!0});const Bh=(e,t,r=3)=>{let n=0;const a=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=n[i];a||(a=l),r[o]=s,n[o]=l;let u=i,d=0;for(;u!==o;)d+=r[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-an)return a&&(clearTimeout(a),a=null),r=o,e.apply(null,arguments);a||(a=setTimeout((()=>(a=null,r=Date.now(),e.apply(null,arguments))),n-(o-r)))}}((r=>{const o=r.loaded,i=r.lengthComputable?r.total:void 0,s=o-n,l=a(s);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:r,lengthComputable:null!=i};c[t?"download":"upload"]=!0,e(c)}),r)},jh=Eh.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(r){let n=r;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(e){const t=ah.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},Uh=Eh.hasStandardBrowserEnv?{write(e,t,r,n,a,o){const i=[e+"="+encodeURIComponent(t)];ah.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),ah.isString(n)&&i.push("path="+n),ah.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Fh(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const zh=e=>e instanceof $h?{...e}:e;function qh(e,t){t=t||{};const r={};function n(e,t,r){return ah.isPlainObject(e)&&ah.isPlainObject(t)?ah.merge.call({caseless:r},e,t):ah.isPlainObject(t)?ah.merge({},t):ah.isArray(t)?t.slice():t}function a(e,t,r){return ah.isUndefined(t)?ah.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!ah.isUndefined(t))return n(void 0,t)}function i(e,t){return ah.isUndefined(t)?ah.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,a,o){return o in t?n(r,a):o in e?n(void 0,r):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(zh(e),zh(t),!0)};return ah.forEach(Object.keys(Object.assign({},e,t)),(function(n){const o=l[n]||a,i=o(e[n],t[n],n);ah.isUndefined(i)&&o!==s||(r[n]=i)})),r}const Zh=e=>{const t=qh({},e);let r,{data:n,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;if(t.headers=s=$h.from(s),t.url=bh(Fh(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ah.isFormData(n))if(Eh.hasStandardBrowserEnv||Eh.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Eh.hasStandardBrowserEnv&&(a&&ah.isFunction(a)&&(a=a(t)),a||!1!==a&&jh(t.url))){const e=o&&i&&Uh.read(i);e&&s.set(o,e)}return t},Hh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=Zh(e);let a=n.data;const o=$h.from(n.headers).normalize();let i,{responseType:s}=n;function l(){n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let c=new XMLHttpRequest;function u(){if(!c)return;const n=$h.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Qh((function(e){t(e),l()}),(function(e){r(e),l()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c}),c=null}c.open(n.method.toUpperCase(),n.url,!0),c.timeout=n.timeout,"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(u)},c.onabort=function(){c&&(r(new oh("Request aborted",oh.ECONNABORTED,n,c)),c=null)},c.onerror=function(){r(new oh("Network Error",oh.ERR_NETWORK,n,c)),c=null},c.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const t=n.transitional||Oh;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new oh(e,t.clarifyTimeoutError?oh.ETIMEDOUT:oh.ECONNABORTED,n,c)),c=null},void 0===a&&o.setContentType(null),"setRequestHeader"in c&&ah.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),ah.isUndefined(n.withCredentials)||(c.withCredentials=!!n.withCredentials),s&&"json"!==s&&(c.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&c.addEventListener("progress",Bh(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Bh(n.onUploadProgress)),(n.cancelToken||n.signal)&&(i=t=>{c&&(r(!t||t.type?new Lh(null,e,c):t),c.abort(),c=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);d&&-1===Eh.protocols.indexOf(d)?r(new oh("Unsupported protocol "+d+":",oh.ERR_BAD_REQUEST,e)):c.send(a||null)}))},Vh=(e,t)=>{let r,n=new AbortController;const a=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof oh?t:new Lh(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{a(new oh(`timeout ${t} of ms exceeded`,oh.ETIMEDOUT))}),t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",a):e.unsubscribe(a))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",a)));const{signal:s}=n;return s.unsubscribe=i,[s,()=>{o&&clearTimeout(o),o=null}]},Wh=function*(e,t){let r=e.byteLength;if(!t||r{const o=async function*(e,t,r){for await(const n of e)yield*Wh(ArrayBuffer.isView(n)?n:await r(String(n)),t)}(e,t,a);let i=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:a}=await o.next();if(t)return e.close(),void n();let s=a.byteLength;r&&r(i+=s),e.enqueue(new Uint8Array(a))},cancel:e=>(n(e),o.return())},{highWaterMark:2})},Yh=(e,t)=>{const r=null!=e;return n=>setTimeout((()=>t({lengthComputable:r,total:e,loaded:n})))},Gh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kh=Gh&&"function"==typeof ReadableStream,Jh=Gh&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ef=Kh&&(()=>{let e=!1;const t=new Request(Eh.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),tf=Kh&&!!(()=>{try{return ah.isReadableStream(new Response("").body)}catch(e){}})(),rf={stream:tf&&(e=>e.body)};var nf;Gh&&(nf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!rf[e]&&(rf[e]=ah.isFunction(nf[e])?t=>t[e]():(t,r)=>{throw new oh(`Response type '${e}' is not supported`,oh.ERR_NOT_SUPPORT,r)})})));const af={http:null,xhr:Hh,fetch:Gh&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:o,timeout:i,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=Zh(e);c=c?(c+"").toLowerCase():"text";let h,f,[m,g]=a||o||i?Vh([a,o],i):[];const b=()=>{!h&&setTimeout((()=>{m&&m.unsubscribe()})),h=!0};let v;try{if(l&&ef&&"get"!==r&&"head"!==r&&0!==(v=await(async(e,t)=>{const r=ah.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:ah.isBlob(e)?e.size:ah.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:ah.isArrayBufferView(e)?e.byteLength:(ah.isURLSearchParams(e)&&(e+=""),ah.isString(e)?(await Jh(e)).byteLength:void 0))(t):r})(u,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});ah.isFormData(n)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body&&(n=Xh(r.body,65536,Yh(v,Bh(l)),null,Jh))}ah.isString(d)||(d=d?"cors":"omit"),f=new Request(t,{...p,signal:m,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",withCredentials:d});let a=await fetch(f);const o=tf&&("stream"===c||"response"===c);if(tf&&(s||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=ah.toFiniteNumber(a.headers.get("content-length"));a=new Response(Xh(a.body,65536,s&&Yh(t,Bh(s,!0)),o&&b,Jh),e)}c=c||"text";let i=await rf[ah.findKey(rf,c)||"text"](a,e);return!o&&b(),g&&g(),await new Promise(((t,r)=>{Qh(t,r,{data:i,headers:$h.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:f})}))}catch(t){if(b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new oh("Network Error",oh.ERR_NETWORK,e,f),{cause:t.cause||t});throw oh.from(t,t&&t.code,e,f)}})};ah.forEach(af,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const of=e=>`- ${e}`,sf=e=>ah.isFunction(e)||null===e||!1===e,lf=e=>{e=ah.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new oh("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(of).join("\n"):" "+of(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function cf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Lh(null,e)}function uf(e){return cf(e),e.headers=$h.from(e.headers),e.data=Ih.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lf(e.adapter||Ah.adapter)(e).then((function(t){return cf(e),t.data=Ih.call(e,e.transformResponse,t),t.headers=$h.from(t.headers),t}),(function(t){return Mh(t)||(cf(e),t&&t.response&&(t.response.data=Ih.call(e,e.transformResponse,t.response),t.response.headers=$h.from(t.response.headers))),Promise.reject(t)}))}const df={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{df[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const pf={};df.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,a,o)=>{if(!1===e)throw new oh(n(a," has been removed"+(t?" in "+t:"")),oh.ERR_DEPRECATED);return t&&!pf[a]&&(pf[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,o)}};const hf={assertOptions:function(e,t,r){if("object"!=typeof e)throw new oh("options must be an object",oh.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const o=n[a],i=t[o];if(i){const t=e[o],r=void 0===t||i(t,o,e);if(!0!==r)throw new oh("option "+o+" must be "+r,oh.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new oh("Unknown option "+o,oh.ERR_BAD_OPTION)}},validators:df},ff=hf.validators;let mf=class{constructor(e){this.defaults=e,this.interceptors={request:new vh,response:new vh}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=qh(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:a}=t;void 0!==r&&hf.assertOptions(r,{silentJSONParsing:ff.transitional(ff.boolean),forcedJSONParsing:ff.transitional(ff.boolean),clarifyTimeoutError:ff.transitional(ff.boolean)},!1),null!=n&&(ah.isFunction(n)?t.paramsSerializer={serialize:n}:hf.assertOptions(n,{encode:ff.function,serialize:ff.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=a&&ah.merge(a.common,a[t.method]);a&&ah.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=$h.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[uf.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{gf[t]=e}));const bf=function e(t){const r=new mf(t),n=xp(mf.prototype.request,r);return ah.extend(n,mf.prototype,r,{allOwnKeys:!0}),ah.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(qh(t,r))},n}(Ah);bf.Axios=mf,bf.CanceledError=Lh,bf.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,a){r.reason||(r.reason=new Lh(e,n,a),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}},bf.isCancel=Mh,bf.VERSION="1.7.2",bf.toFormData=ph,bf.AxiosError=oh,bf.Cancel=bf.CanceledError,bf.all=function(e){return Promise.all(e)},bf.spread=function(e){return function(t){return e.apply(null,t)}},bf.isAxiosError=function(e){return ah.isObject(e)&&!0===e.isAxiosError},bf.mergeConfig=qh,bf.AxiosHeaders=$h,bf.formToJSON=e=>Th(ah.isHTMLForm(e)?new FormData(e):e),bf.getAdapter=lf,bf.HttpStatusCode=gf,bf.default=bf;const{Axios:vf,AxiosError:Of,CanceledError:yf,isCancel:wf,CancelToken:xf,VERSION:kf,all:_f,Cancel:Sf,isAxiosError:Ef,spread:Tf,toFormData:Af,AxiosHeaders:Cf,HttpStatusCode:Pf,formToJSON:Df,getAdapter:Rf,mergeConfig:Nf}=bf,$f=(...e)=>{let t={httpVersion:"1.1",method:"GET",url:"",path:"",headers:[],headersSize:-1,queryString:[],cookies:[],bodySize:-1};e.forEach((e=>{t={...t,...e,headers:[...t.headers,...e.headers??[]],queryString:[...t.queryString,...e.queryString??[]],cookies:[...t.cookies,...e.cookies??[]]}}));const r=t.headers.reduce(((e,{name:t,value:r})=>(e[t]=r,e)),{}),n=Cf.from(r).normalize(!0);t.headers=Object.entries(n).map((([e,t])=>({name:e,value:t})));const{path:a,...o}=t;return a?{...o,url:`${t.url}${a}`}:o};function If(e){const t=new Gd,r=new RegExp("^(#{1,6}) (?!#)(.*)","gm");return((e,t)=>e.map((e=>({...e,slug:t.slug(e.value)}))))([...e.matchAll(r)].map((e=>({value:e[2],depth:e[1].length}))),t)}const Mf=e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1};function Lf(e){var t,r;return e?Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.schemas)??{}).length?null==(r=null==e?void 0:e.components)?void 0:r.schemas:Object.keys((null==e?void 0:e.definitions)??{}).length?null==e?void 0:e.definitions:{}:{}}const Qf=e=>!!e&&!!Object.keys(Lf(e)??{}).length,Bf=e=>{var t;return!!Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.securitySchemes)??{}).length},jf=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),{server:Uf}=Ju(),{setOperation:Ff,setGlobalSecurity:zf}=qu(),{toggleApiClient:qf}=Lu(),{setActiveRequest:Zf,resetActiveResponse:Hf}={readOnly:Yu,activeRequest:Wu,activeResponse:Xu,requestHistory:Zu,requestHistoryOrder:Hu,activeRequestId:Vu,setActiveResponse:e=>{var t;Vu.value=e;const r=null==(t=Zu[e])?void 0:t.request,n=JSON.parse(JSON.stringify(r));n.body=JSON.stringify((null==r?void 0:r.body)??"",null,2),Object.assign(Wu,n)},resetActiveResponse:()=>{Vu.value=""},addRequestToHistory:e=>{Zu[e.responseId]=e,Vu.value=e.responseId,Hu.value.unshift(e.responseId)},setActiveRequest:e=>{Object.assign(Wu,e)}};function Vf(e,t){const r=yp({serverState:Uf,operation:e,authenticationState:null,globalSecurity:null});Hf(),Zf(r),Ff(e),zf(t),qf(r,!0)}function Wf(e){return e.find((e=>e.isEntrypoint))}function Xf(e,t){const r={};for(const[n,a]of Object.entries(e))Array.isArray(a)?r[n]=a.map((e=>"object"==typeof e&&null!==e?Xf(e,t):e)):r[n]="object"==typeof a&&null!==a?Xf(a,t):a;return t(r)}function Yf(e){const t=[];return e&&"object"==typeof e?(Xf(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),e))),[...new Set(t)]):t}function Gf(e){return void 0!==typeof e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))}function Kf(e){if(Gf(e))return e;if("string"==typeof e)try{return JSON.parse(e)}catch(t){return fu(e,{maxAliasCount:1e4})}return e}function Jf(e,t={}){if(Gf(e))return e;const r=Kf(e);return[{isEntrypoint:!0,specification:r,filename:null,dir:"./",references:Yf(r),...t}]}function em(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const tm=Object.keys({"2.0":{title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},"3.0":{id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",$schema:"http://json-schema.org/draft-04/schema#",description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},3.1:{$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",properties:{url:{type:"string",format:"uri-reference"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{type:"string",format:"uri"}},not:{required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"}},$ref:"#/$defs/examples"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{type:"string",format:"uri"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}}}),rm={EMPTY_OR_INVALID:"Cannot find JSON, YAML or filename in data",OPENAPI_VERSION_NOT_SUPPORTED:"Cannot find supported Swagger/OpenAPI version in specification, version must be a string.",INVALID_REFERENCE:"Can’t resolve reference: %s",EXTERNAL_REFERENCE_NOT_FOUND:"Can’t resolve external reference: %s",FILE_DOES_NOT_EXIST:"File does not exist: %s"};function nm(e){for(const t of new Set(tm)){const r="2.0"===t?"swagger":"openapi",n=e[r];if("string"==typeof n&&n.startsWith(t))return{version:t,specificationType:r,specificationVersion:n}}return{version:void 0,specificationType:void 0,specificationVersion:void 0}}function am(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function om(e,t,r){void 0===r&&(r=[]);const n=Jf(structuredClone(e)),a=Wf(n);return o((null==t?void 0:t.specification)??a.specification,n,t??a),o((null==t?void 0:t.specification)??a.specification,n,t??a),{valid:0===(r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.message===e.message&&t.code===e.code))))).length,errors:r,schema:(t??Wf(n)).specification};function o(e,t,n){let a;return Object.entries(e??{}).forEach((([i,s])=>{if(void 0!==e.$ref){const a=im(e.$ref,n,t,r);if(void 0===a)return;delete e.$ref,"object"==typeof a&&Object.keys(a).forEach((t=>{void 0===e[t]&&(e[t]=a[t])}))}"object"!=typeof s||function(e){try{return JSON.stringify(e),!1}catch(e){return!0}}(s)||(a=o(s,t,n))})),{errors:(null==a?void 0:a.errors)??[]}}}function im(e,t,r,n){if("string"!=typeof e)return void n.push({code:"INVALID_REFERENCE",message:rm.INVALID_REFERENCE.replace("%s",e)});const[a,o]=e.split("#",2);if(a){const e=r.find((e=>e.filename===a));if(!e)return void n.push({code:"EXTERNAL_REFERENCE_NOT_FOUND",message:rm.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",a)});const t=om(r,e,n);return void 0===o?t.schema:im(`#${o}`,e,r,n)}const i=function(e){return e.split("/").slice(1).map(am)}(o);try{return i.reduce(((e,t)=>e[t]),t.specification)}catch(t){n.push({code:"INVALID_REFERENCE",message:rm.INVALID_REFERENCE.replace("%s",e)})}}async function sm(e){const t=Jf(e),r=Wf(t),n=om(t);return{specification:r.specification,errors:n.errors,schema:n.schema,...nm(r.specification)}}async function lm(e,t){var r,n;if((null==t?void 0:t.filesystem)&&(null==t?void 0:t.filesystem.find((t=>t.filename===e))))return{filesystem:t.filesystem};const a=null==(r=null==t?void 0:t.plugins)?void 0:r.find((t=>t.check(e))),o=Kf(a?await a.get(e):e);if(void 0===o)return{filesystem:[]};let i=Jf(o,{filename:(null==t?void 0:t.filename)??null});const s=((null==t?void 0:t.filename)?i.find((e=>e.filename===(null==t?void 0:t.filename))):Wf(i)).references??Yf(o);if(0===s.length)return{filesystem:i};for(const r of s){const a=null==(n=null==t?void 0:t.plugins)?void 0:n.find((e=>e.check(r)));if(!a)continue;const o=a.check(r)&&a.resolvePath?a.resolvePath(e,r):r;if(i.find((e=>e.filename===r)))continue;const{filesystem:s}=await lm(o,{...t,filename:r});i=[...i,...s.map((e=>({...e,isEntrypoint:!1})))]}return{filesystem:i}}const cm={limit:20},um=e=>{let t=0;const r={...cm,...e};return{check:e=>"string"==typeof e&&!(!e.startsWith("http://")&&!e.startsWith("https://")),async get(e){if(!1!==(null==r?void 0:r.limit)&&t>=(null==r?void 0:r.limit))console.warn(`[fetchUrls] Maximum number of requests reeached (${null==r?void 0:r.limit}), skipping request`);else try{t++;const n=await((null==r?void 0:r.fetch)?r.fetch(e):fetch(e));return await n.text()}catch(t){console.error("[fetchUrls]",t.message,`(${e})`)}}}},dm=e=>{let t={};t=e&&"object"==typeof e?structuredClone(e):hp(),t.tags||(t.tags=[]),t.paths||(t.paths={});const r={};return Object.keys(t.webhooks??{}).forEach((e=>{var n;Object.keys((null==(n=t.webhooks)?void 0:n[e])??{}).forEach((n=>{var a,o,i;const s=null==(a=t.webhooks)?void 0:a[e][n];!0!==(null==s?void 0:s["x-internal"])&&(void 0===r[e]&&(r[e]={}),r[e][n]={httpVerb:Du(n),path:e,operationId:(null==s?void 0:s.operationId)||e,name:(null==s?void 0:s.summary)||e||"",description:(null==s?void 0:s.description)||"",pathParameters:null==(i=null==(o=t.paths)?void 0:o[e])?void 0:i.parameters,information:{...s}})}))})),Object.keys(t.paths).forEach((e=>{Object.keys(t.paths[e]).filter((e=>ns.includes(e.toUpperCase()))).forEach((r=>{var n,a,o,i,s,l;const c=t.paths[e][r];if(void 0===c)return;if(!0===c["x-internal"])return;const u={httpVerb:Du(r),path:e,operationId:c.operationId||e,name:c.summary||e||"",description:c.description||"",information:{...c},pathParameters:null==(a=null==(n=t.paths)?void 0:n[e])?void 0:a.parameters};if(c.tags&&0!==c.tags.length)c.tags.forEach((e=>{var r,n,a;const o=null==(r=t.tags)?void 0:r.findIndex((t=>t.name===e));-1===o&&(null==(n=t.tags)||n.push({name:e,description:""}));const i=-1!==o?o:t.tags.length-1;void 0===(null==(a=t.tags[i])?void 0:a.operations)&&(t.tags[i].operations=[]),t.tags[i].operations.push(u)}));else{(null==(o=t.tags)?void 0:o.find((e=>"default"===e.name)))||null==(i=t.tags)||i.push({name:"default",description:"",operations:[]});const e=null==(s=t.tags)?void 0:s.findIndex((e=>"default"===e.name));e>=0&&(null==(l=t.tags[e])||l.operations.push(u))}}))})),{...t,webhooks:r}},pm=Symbol(),hm=Symbol(),fm=async e=>{var t;null==(t=document.getElementById(e))||t.scrollIntoView()},mm=e=>new Promise((t=>setTimeout(t,e)));function gm(e){return!!ct()&&(ut(e),!0)}function bm(e){return"function"==typeof e?e():Nr(e)}const vm="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const Om=e=>null!=e,ym=Object.prototype.toString,wm=e=>"[object Object]"===ym.call(e),xm=()=>{};function km(e,t,r){return Za(e,((e,r,n)=>{e&&t(e,r,n)}),{...r,once:!1})}function _m(e,t,r){let n;n=Ar(r)?{evaluating:r}:{};const{lazy:a=!1,evaluating:o,shallow:i=!0,onError:s=xm}=n,l=Cr(!a),c=i?Pr(t):Cr(t);let u=0;return za((async t=>{if(!l.value)return;u++;const r=u;let n=!1;o&&Promise.resolve().then((()=>{o.value=!0}));try{const a=await e((e=>{t((()=>{o&&(o.value=!1),n||e()}))}));r===u&&(c.value=a)}catch(e){s(e)}finally{o&&r===u&&(o.value=!1),n=!0}})),a?ti((()=>(l.value=!0,c.value))):c}function Sm(e){var t;const r=bm(e);return null!=(t=null==r?void 0:r.$el)?t:r}const Em=vm?window:void 0;function Tm(...e){let t,r,n,a;if("string"==typeof e[0]||Array.isArray(e[0])?([r,n,a]=e,t=Em):[t,r,n,a]=e,!t)return xm;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],i=()=>{o.forEach((e=>e())),o.length=0},s=Za((()=>[Sm(t),bm(a)]),(([e,t])=>{if(i(),!e)return;const a=wm(t)?{...t}:t;o.push(...r.flatMap((t=>n.map((r=>((e,t,r,n)=>(e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)))(e,t,r,a))))))}),{immediate:!0,flush:"post"}),l=()=>{s(),i()};return gm(l),l}function Am(e){const t=function(){const e=Cr(!1),t=Fo();return t&&Cn((()=>{e.value=!0}),t),e}();return ti((()=>(t.value,Boolean(e()))))}function Cm(e,t={}){const{window:r=Em}=t,n=Am((()=>r&&"matchMedia"in r&&"function"==typeof r.matchMedia));let a;const o=Cr(!1),i=e=>{o.value=e.matches},s=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",i):a.removeListener(i))},l=za((()=>{n.value&&(s(),a=r.matchMedia(bm(e)),"addEventListener"in a?a.addEventListener("change",i):a.addListener(i),o.value=a.matches)}));return gm((()=>{l(),s(),a=void 0})),o}const Pm=new Map;function Dm(e){const t=ct();function r(r){var a;const o=Pm.get(e)||new Set;o.add(r),Pm.set(e,o);const i=()=>n(r);return null==(a=null==t?void 0:t.cleanups)||a.push(i),i}function n(t){const r=Pm.get(e);r&&(r.delete(t),r.size||a())}function a(){Pm.delete(e)}return{on:r,once:function(e){return r((function t(...r){n(t),e(...r)}))},off:n,emit:function(t,r){var n;null==(n=Pm.get(e))||n.forEach((e=>e(t,r)))},reset:a}}const Rm={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Nm(e={}){const{reactive:t=!1,target:r=Em,aliasMap:n=Rm,passive:a=!0,onEventFired:o=xm}=e,i=hr(new Set),s={toJSON:()=>({}),current:i},l=t?hr(s):s,c=new Set,u=new Set;function d(e,r){e in l&&(t?l[e]=r:l[e].value=r)}function p(){i.clear();for(const e of u)d(e,!1)}function h(e,t){var r,n;const a=null==(r=e.key)?void 0:r.toLowerCase(),o=[null==(n=e.code)?void 0:n.toLowerCase(),a].filter(Boolean);a&&(t?i.add(a):i.delete(a));for(const e of o)u.add(e),d(e,t);"meta"!==a||t?"function"==typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...i,...o].forEach((e=>c.add(e))):(c.forEach((e=>{i.delete(e),d(e,!1)})),c.clear())}Tm(r,"keydown",(e=>(h(e,!0),o(e))),{passive:a}),Tm(r,"keyup",(e=>(h(e,!1),o(e))),{passive:a}),Tm("blur",p,{passive:!0}),Tm("focus",p,{passive:!0});const f=new Proxy(l,{get(e,r,a){if("string"!=typeof r)return Reflect.get(e,r,a);if((r=r.toLowerCase())in n&&(r=n[r]),!(r in l))if(/[+_-]/.test(r)){const e=r.split(/[+_-]/g).map((e=>e.trim()));l[r]=ti((()=>e.every((e=>bm(f[e])))))}else l[r]=Cr(!1);const o=Reflect.get(e,r,a);return t?bm(o):o}});return f}const $m=Dm(Symbol("downloadSpec"));function Im({specConfig:e,proxy:t}){const r=Cr(""),n=hr(hp()),a=Cr(null);return Za((()=>$r(e)),(async e=>{var n;if(e){const a=null==(n=await(async({url:e,content:t},r)=>{if(e)return function(e){try{return Boolean(new URL(e))}catch{return!1}}(e)?await yu(e,r):await yu(e);const n="function"==typeof t?t():t;return"string"==typeof n?n:"object"==typeof n?Eu(n):void 0})(e,$r(t)))?void 0:n.trim();"string"==typeof a&&(r.value=a)}}),{immediate:!0,deep:!0}),Za(r,(()=>{!function(e){e?((e,{proxy:t}={})=>new Promise((async(r,n)=>{var a;try{if(!e)return r(dm(hp()));const o=performance.now(),{filesystem:i}=await lm(e,{plugins:[um({fetch:e=>fetch(t?ds(t,e):e)})]}),{schema:s,errors:l}=await sm(i),c=performance.now();return console.log(`dereference: ${Math.round(c-o)} ms`),(null==l?void 0:l.length)&&console.warn("Please open an issue on https://github.com/scalar/scalar\n","Scalar OpenAPI Parser Warning:\n",l),void 0===s?(n((null==(a=null==l?void 0:l[0])?void 0:a.message)??"Failed to parse the OpenAPI file."),r(dm(hp()))):r(dm(s))}catch(e){n(e)}return r(dm(hp()))})))(e,{proxy:t?$r(t):void 0}).then((e=>{a.value=null,Object.assign(n,{servers:[],...e})})).catch((e=>{a.value=e.toString()})):Object.assign(n,hp())}(r.value)})),{rawSpec:r,parsedSpec:n,specErrors:a}}function Mm(e){const t=ti((()=>{if(!e.information)return[];const{responses:t}=e.information,r=[];return t&&Object.keys(t).forEach((e=>{r.push({name:e,description:t[e].description})})),r}));return{responses:t}}const{getHeadingId:Lm,getModelId:Qm,getOperationId:Bm,getSectionId:jm,getTagId:Um,getWebhookId:Fm,hash:zm}=up(),qm=Cr(void 0);function Zm(e){return qm.value=e}const Hm=Cr(!1),Vm=hr(Au["useSidebarContent-collapsedSidebarItems"]??{});function Wm(e){Vm[e]=!Vm[e]}function Xm(e,t){Vm[e]=t}const Ym=Cr([]),Gm=ti((()=>{var e,t,r,n,a,o,i,s,l,c;const{state:u}=Lu(),d={},{openApi:{globalSecurity:p}}=qu(),h=[];let f=null;Ym.value.forEach((e=>{var t;e.depth===Mf(Ym.value)?(f={id:Lm(e),title:e.value,show:!u.showApiClient,children:[]},h.push(f)):f&&(null==(t=f.children)||t.push({id:Lm(e),title:e.value,show:!u.showApiClient}))}));const m=null==(t=null==(e=qm.value)?void 0:e.tags)?void 0:t[0],g=!m||1===(null==(b=null==(r=qm.value)?void 0:r.tags)?void 0:b.length)&&"default"===b[0].name&&""===b[0].description?null==(o=null==m?void 0:m.operations)?void 0:o.map((e=>{var t;const r=Bm(e,m),n=e.name??e.path;return d[r]=n,{id:r,title:n,httpVerb:e.httpVerb,deprecated:(null==(t=e.information)?void 0:t.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&Vf(e,p)}}})):null==(a=null==(n=qm.value)?void 0:n.tags)?void 0:a.filter((e=>{var t;return(null==(t=e.operations)?void 0:t.length)>0})).map((e=>{var t;return{id:Um(e),title:e.name,displayTitle:e["x-displayName"]??e.name,show:!0,children:null==(t=e.operations)?void 0:t.map((t=>{var r;const n=Bm(t,e),a=t.name??t.path;return d[n]=a,{id:n,title:a,httpVerb:t.httpVerb,deprecated:(null==(r=t.information)?void 0:r.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&Vf(t,p)}}}))}}));var b;let v=Qf(qm.value)&&!Hm.value?[{id:Qm(),title:"Models",show:!u.showApiClient,children:Object.keys(Lf(qm.value)??{}).map((e=>{var t;const r=Qm(e);return d[r]=e,{id:r,title:(null==(t=Lf(qm.value))?void 0:t[e]).title??e,show:!u.showApiClient}}))}]:[],O=(y=qm.value)&&Object.keys((null==y?void 0:y.webhooks)??{}).length?[{id:Fm(),title:"Webhook",show:!u.showApiClient,children:Object.keys((null==(i=qm.value)?void 0:i.webhooks)??{}).map((e=>{var t,r;const n=Fm(e);return d[n]=e,Object.keys((null==(r=null==(t=qm.value)?void 0:t.webhooks)?void 0:r[e])??{}).map((t=>{var r,n,a;return{id:Fm(e,t),title:null==(a=null==(n=null==(r=qm.value)?void 0:r.webhooks)?void 0:n[e][t])?void 0:a.name,httpVerb:t,show:!u.showApiClient}}))})).flat()}]:[];var y;const w=(null==(s=qm.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=qm.value)?void 0:l["x-tagGroups"])?void 0:c.map((e=>{var t;const r=[];return null==(t=e.tags)||t.map((e=>{if("models"===e&&v.length>0)r.push(v[0]),v=[];else if("webhooks"===e&&O.length>0)r.push(O[0]),O=[];else{const t=null==g?void 0:g.find((t=>t.title===e));t&&r.push(t)}})),{id:e.name,title:e.name,children:r,show:!0,isGroup:!0}})):void 0;return{entries:[...h,...w??g??[],...O,...v],titles:d}})),Km=Cr(!1),Jm=ti((()=>{var e,t;return(null==(t=null==(e=Gm.value)?void 0:e.titles)?void 0:t[zm.value])??""}));function eg(e){return(null==e?void 0:e.parsedSpec)&&(qm.value=e.parsedSpec,Za((()=>{var e,t;return null==(t=null==(e=qm.value)?void 0:e.tags)?void 0:t.length}),(()=>{var e,t;if(zm.value){const e=jm(zm.value);e&&Xm(e,!0)}else{const r=null==(t=null==(e=qm.value)?void 0:e.tags)?void 0:t[0];r&&Xm(Um(r),!0)}})),Za((()=>{var e,t;return null==(t=null==(e=qm.value)?void 0:e.info)?void 0:t.description}),(async()=>{var e,t;const r=null==(t=null==(e=qm.value)?void 0:e.info)?void 0:t.description;return Ym.value=r?await(async e=>{const t=await If(e),r=Mf(t);return t.filter((e=>e.depth===r||e.depth===r+1))})(r):[]}))),{breadcrumb:Jm,items:Gm,isSidebarOpen:Km,collapsedSidebarItems:Vm,toggleCollapsedSidebarItem:Wm,setCollapsedSidebarItem:Xm,hideModels:Hm,setParsedSpec:Zm}}const tg="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:rg,Blob:ng,File:ag}=tg,og="\r\n",ig="-".repeat(2),sg=Symbol.toStringTag,lg=(e,t,r)=>{let n="";return n+=`${ig}${e}${og}`,n+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof r&&"blob"!==r.name&&(n+=`; filename="${r.name}"${og}`,n+=`Content-Type: ${r.type||"application/octet-stream"}`),`${n}${og.repeat(2)}`},cg=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),ug=(e,t)=>{const r=cg(e,t);if(r)return e[r]},dg=(e,t)=>Boolean(cg(e,t)),pg=["application/json","application/x-json","text/json","text/x-json","+json"],hg=(e,t)=>{if(void 0===t.value)return e;const r=e[t.name];return void 0===r?(e[t.name]=t.value,e):Array.isArray(r)?(r.push(t.value),e):(e[t.name]=[r,t.value],e)};function fg(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class mg extends URL{get path(){return this.pathname+this.search}}class gg{constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{const r=this.indentLine(e,t);this.code.unshift(r)},this.push=(e,t)=>{const r=this.indentLine(e,t);this.code.push(r)},this.blank=()=>{this.code.push("")},this.join=()=>{const e=this.code.join(this.lineJoin);return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function bg(e,t={}){const{delimiter:r='"',escapeChar:n="\\",escapeNewlines:a=!0}=t;return[...e.toString()].map((e=>"\b"===e?`${n}b`:"\t"===e?`${n}t`:"\n"===e?a?`${n}n`:e:"\f"===e?`${n}f`:"\r"===e?a?`${n}r`:e:e===n?n+n:e===r?n+r:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")}const vg=e=>bg(e,{delimiter:"'"}),Og=e=>bg(e,{delimiter:'"'}),yg={info:{key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:r,allHeaders:n,postData:a})=>{const{push:o,blank:i,join:s}=new gg;o("CURL *hnd = curl_easy_init();"),i(),o(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),o(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(r);return l.length&&(i(),o("struct curl_slist *headers = NULL;"),l.forEach((e=>{o(`headers = curl_slist_append(headers, "${e}: ${Og(r[e])}");`)})),o("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),n.cookie&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${n.cookie}");`)),(null==a?void 0:a.text)&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(a.text)});`)),i(),o("CURLcode ret = curl_easy_perform(hnd);"),s()}}}};class wg{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let xg=class{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}};const kg=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),_g=e=>"object"===kg(e)&&0===Object.keys(e).length,Sg=e=>(Object.keys(e).filter((t=>_g(e[t]))).forEach((t=>{delete e[t]})),e),Eg=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,`\n${r}`)},Tg=e=>{switch(kg(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce(((t,r)=>`${t}:${r} ${Eg(r.length+2,Tg(e[r]))}\n `),"").trim();return`{${Eg(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${Tg(t)}`),"").trim();return`[${Eg(1,t)}]`}}},Ag={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:r,url:n,allHeaders:a},o)=>{const{push:i,join:s}=new gg({indent:null==o?void 0:o.indent});if(t=t.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(t))return i("Method not supported"),s();const l={headers:a,"query-params":e};switch(null==r?void 0:r.mimeType){case"application/json":{l["content-type"]=new wg("json"),l["form-params"]=r.jsonObj;const e=cg(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=r.paramsObj;const e=cg(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=r.text;const e=cg(l.headers,"content-type");e&&delete l.headers[e]}break;case"multipart/form-data":if(r.params){l.multipart=r.params.map((e=>e.fileName&&!e.value?{name:e.name,content:new xg(e.fileName)}:{name:e.name,content:e.value}));const e=cg(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===ug(l.headers,"accept")){l.accept=new wg("json");const e=cg(l.headers,"accept");e&&delete l.headers[e]}if(i("(require '[clj-http.client :as client])\n"),_g(Sg(l)))i(`(client/${t} "${n}")`);else{const e=11+t.length+n.length;i(`(client/${t} "${n}" ${Eg(e,Tg(Sg(l)))})`)}return s()}}}},Cg={info:{key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{httpclient:{info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},a)=>{var o,i;const s={indent:" ",...a},{push:l,join:c}=new gg({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=ug(e,"accept-encoding");if(!t)return[];const r={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},n=[];return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{const t=/\s*([^;\s]+)/.exec(e);if(t){const e=r[t[1]];e&&n.push(e)}}))})),n})(e);(d||p.length)&&(u="clientHandler",l("var clientHandler = new HttpClientHandler"),l("{"),d&&l("UseCookies = false,",1),p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),l("};")),l(`var client = new HttpClient(${u});`),l("var request = new HttpRequestMessage"),l("{"),r=(r=r.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(r)?`HttpMethod.${r[0]}${r.substring(1).toLowerCase()}`:`new HttpMethod("${r}")`,l(`Method = ${r},`,1),l(`RequestUri = new Uri("${n}"),`,1);const h=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}}));if(h.length&&(l("Headers =",1),l("{",1),h.forEach((t=>{l(`{ "${t}", "${Og(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":l("Content = new FormUrlEncodedContent(new Dictionary",1),l("{",1),null===(o=t.params)||void 0===o||o.forEach((e=>{l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break;case"multipart/form-data":l("Content = new MultipartFormDataContent",1),l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{l(`new StringContent(${JSON.stringify(e.value||"")})`,2),l("{",2),l("Headers =",3),l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),l("{",4),l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),l("{",1),l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),l("}",2),l("}",1)}}return l("};"),l("using (var response = await client.SendAsync(request))"),l("{"),l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),l("Console.WriteLine(body);",1),l("}"),c()}},restsharp:{info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:r,headersObj:n,cookies:a,postData:o})=>{const{push:i,join:s}=new gg;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(i(`var client = new RestClient("${r}");`),i(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(n).forEach((e=>{i(`request.AddHeader("${e}", "${Og(n[e])}");`)})),null==a||a.forEach((({name:e,value:t})=>{i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){const t=ug(e,"content-type"),r=JSON.stringify(o.text);i(`request.AddParameter("${t}", ${r}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),s()}}}},Pg={info:{key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:({postData:e,method:t,allHeaders:r,fullUrl:n},a={})=>{const{blank:o,push:i,join:s}=new gg({indent:"\t"}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:u=!0,timeout:d=-1,insecureSkipVerify:p=!1}=a,h=c?"err":"_",f=l?1:0,m=()=>{c&&(i("if err != nil {",f),i("panic(err)",f+1),i("}",f))};l&&(i("package main"),o(),i("import ("),i('"fmt"',f),d>0&&i('"time"',f),p&&i('"crypto/tls"',f),(null==e?void 0:e.text)&&i('"strings"',f),i('"net/http"',f),u&&i('"io"',f),i(")"),o(),i("func main() {"),o()),p&&(i("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",f),i("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",f));const g=d>0,b=g||p,v=b?"client":"http.DefaultClient";return b&&(i("client := http.Client{",f),g&&i(`Timeout: time.Duration(${d} * time.Second),`,f+1),p&&i("Transport: insecureTransport,",f+1),i("}",f),o()),i(`url := "${n}"`,f),o(),(null==e?void 0:e.text)?(i(`payload := strings.NewReader(${JSON.stringify(e.text)})`,f),o(),i(`req, ${h} := http.NewRequest("${t}", url, payload)`,f),o()):(i(`req, ${h} := http.NewRequest("${t}", url, nil)`,f),o()),m(),Object.keys(r).length&&(Object.keys(r).forEach((e=>{i(`req.Header.Add("${e}", "${Og(r[e])}")`,f)})),o()),i(`res, ${h} := ${v}.Do(req)`,f),m(),u&&(o(),i("defer res.Body.Close()",f),i(`body, ${h} := io.ReadAll(res.Body)`,f),m()),o(),i("fmt.Println(res)",f),u&&i("fmt.Println(string(body))",f),l&&(o(),i("}")),s()}}}},Dg={info:{key:"http",title:"HTTP",extname:null,default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1",link:"https://tools.ietf.org/html/rfc7230",description:"HTTP/1.1 request string in accordance with RFC 7230"},convert:({method:e,fullUrl:t,uriObj:r,httpVersion:n,allHeaders:a,postData:o},i)=>{const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...i},{blank:l,push:c,join:u}=new gg({indent:"",join:"\r\n"}),d=s.absoluteURI?t:r.path;c(`${e} ${d} ${n}`);const p=Object.keys(a);return p.forEach((e=>{const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()));c(`${t}: ${a[e]}`)})),s.autoHost&&!p.includes("host")&&c(`Host: ${r.host}`),s.autoContentLength&&(null==o?void 0:o.text)&&!p.includes("content-length")&&c(`Content-Length: ${o.text.length}`),l(),`${u()}\r\n${(null==o?void 0:o.text)||""}`}}}},Rg={info:{key:"java",title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",...a},{blank:i,push:s,join:l}=new gg({indent:o.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${Og(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.setBody(${JSON.stringify(r.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),i(),s("client.close();"),l()}},nethttp:{info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:r,postData:n},a)=>{const o={indent:" ",...a},{push:i,join:s}=new gg({indent:o.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{i(`.header("${t}", "${Og(e[t])}")`,2)})),(null==n?void 0:n.text)?i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(n.text)}))`,2):i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),i("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:r,allHeaders:n},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new gg({indent:o.indent});return i("OkHttpClient client = new OkHttpClient();"),s(),(null==e?void 0:e.text)&&(e.boundary?i(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),i("Request request = new Request.Builder()"),i(`.url("${r}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(n).forEach((e=>{i(`.addHeader("${e}", "${Og(n[e])}")`,1)})),i(".build();",1),s(),i("Response response = client.newCall(request).execute();"),l()}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",...a},{join:i,push:s}=new gg({indent:o.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse response = Unirest.${e.toLowerCase()}("${n}")`):s(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${n}")`),Object.keys(t).forEach((e=>{s(`.header("${e}", "${Og(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.body(${JSON.stringify(r.text)})`,1),s(".asString();",1),i()}}}};var Ng={};Object.defineProperty(Ng,"__esModule",{value:!0}),Ng.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const $g=Ng.default;const Ig=em(((e,t,r)=>{const n=[];return function e(t,r,a){let o;(r=r||{}).indent=r.indent||"\t",a=a||"",o=void 0===r.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:a,indent:a+r.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const i=e=>{if(void 0===r.inlineCharacterLimit)return e;const t=e.replace(new RegExp(o.newLine,"g"),"").replace(new RegExp(o.newLineOrSpace,"g")," ").replace(new RegExp(o.pad+"|"+o.indent,"g"),"");return t.length<=r.inlineCharacterLimit?t:e.replace(new RegExp(o.newLine+"|"+o.newLineOrSpace,"g"),"\n").replace(new RegExp(o.pad,"g"),a).replace(new RegExp(o.indent,"g"),a+r.indent)};if(-1!==n.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";n.push(t);const s="["+o.newLine+t.map(((n,i)=>{const s=t.length-1===i?o.newLine:","+o.newLineOrSpace;let l=e(n,r,a+r.indent);return r.transform&&(l=r.transform(t,i,l)),o.indent+l+s})).join("")+o.pad+"]";return n.pop(),i(s)}if(function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let s=Object.keys(t).concat($g(t));if(r.filter&&(s=s.filter((e=>r.filter(t,e)))),0===s.length)return"{}";n.push(t);const l="{"+o.newLine+s.map(((n,i)=>{const l=s.length-1===i?o.newLine:","+o.newLineOrSpace,c="symbol"==typeof n,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(n),d=c||u?n:e(n,r);let p=e(t[n],r,a+r.indent);return r.transform&&(p=r.transform(t,n,p)),o.indent+String(d)+": "+p+l})).join("")+o.pad+"}";return n.pop(),i(l)}return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===r.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,r)})),Mg={info:{key:"javascript",title:"JavaScript",extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:r,fullUrl:n},a)=>{var o;const i={indent:" ",cors:!0,...a},{blank:s,push:l,join:c}=new gg({indent:i.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${Ig(e.jsonObj,{indent:i.indent})});`),s();break;case"multipart/form-data":if(!e.params)break;if(l("const data = new FormData();"),e.params.forEach((e=>{l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)})),dg(t,"content-type")&&(null===(o=ug(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=cg(t,"content-type");e&&delete t[e]}s();break;default:l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),i.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${r}', '${n}');`),Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${vg(t[e])}');`)})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({allHeaders:e,method:t,url:r,queryObj:n,postData:a},o)=>{const i={indent:" ",...o},{blank:s,push:l,join:c,addPostProcessor:u}=new gg({indent:i.indent});l("import axios from 'axios';"),s();const d={method:t,url:r};switch(Object.keys(n).length&&(d.params=n),Object.keys(e).length&&(d.headers=e),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(l("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":a.jsonObj&&(d.data=a.jsonObj);break;case"multipart/form-data":if(!a.params)break;l("const form = new FormData();"),a.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),s(),d.data="[form]";break;default:(null==a?void 0:a.text)&&(d.data=a.text)}const p=Ig(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form");return l(`const options = ${p};`),s(),l("try {"),l("const { data } = await axios.request(options);",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",credentials:null,...a},{blank:i,join:s,push:l}=new gg({indent:o.indent}),c={method:e};switch(Object.keys(t).length&&(c.headers=t),null!==o.credentials&&(c.credentials=o.credentials),l(`const url = '${n}';`),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":c.body=r.paramsObj?r.paramsObj:r.text;break;case"application/json":c.body=JSON.stringify(r.jsonObj);break;case"multipart/form-data":if(!r.params)break;const e=cg(t,"content-type");e&&delete t[e],l("const form = new FormData();"),r.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),i();break;default:(null==r?void 0:r.text)&&(c.body=r.text)}return c.headers&&!Object.keys(c.headers).length&&delete c.headers,l(`const options = ${Ig(c,{indent:o.indent,inlineCharacterLimit:80,transform:(e,t,n)=>"body"===t&&r&&"application/x-www-form-urlencoded"===r.mimeType?`new URLSearchParams(${n})`:n})};`),i(),(null==r?void 0:r.params)&&"multipart/form-data"===r.mimeType&&(l("options.body = form;"),i()),l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:r,postData:n},a)=>{var o;const i={indent:" ",...a},{blank:s,push:l,join:c}=new gg({indent:i.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:r};switch(null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":u.data=n.paramsObj?n.paramsObj:n.text;break;case"application/json":u.processData=!1,u.data=n.text;break;case"multipart/form-data":if(!n.params)break;if(l("const form = new FormData();"),n.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",dg(r,"content-type")&&(null===(o=ug(r,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=cg(r,"content-type");e&&delete u.headers[e]}s();break;default:(null==n?void 0:n.text)&&(u.data=n.text)}const d=Ig(u,{indent:i.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}}}},Lg={info:{key:"kotlin",title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:r,allHeaders:n},a)=>{const o={indent:" ",...a},{blank:i,join:s,push:l}=new gg({indent:o.indent});return l("val client = OkHttpClient()"),i(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(r.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(r.toUpperCase())?(null==e?void 0:e.text)?l(`.${r.toLowerCase()}(body)`,1):l(`.${r.toLowerCase()}(null)`,1):l(`.${r.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${r.toUpperCase()}", body)`,1):l(`.method("${r.toUpperCase()}", null)`,1),Object.keys(n).forEach((e=>{l(`.addHeader("${e}", "${Og(n[e])}")`,1)})),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),s()}}}},Qg={info:{key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{info:{key:"native",title:"HTTP",link:"http://nodejs.org/api/http.html#http_http_request_options_callback",description:"Node.js native HTTP interface"},convert:({uriObj:e,method:t,allHeaders:r,postData:n},a={})=>{const{indent:o=" ",insecureSkipVerify:i=!1}=a,{blank:s,join:l,push:c,unshift:u}=new gg({indent:o}),d={method:t,hostname:e.hostname,port:""===e.port?null:e.port,path:e.path,headers:r,...i?{rejectUnauthorized:!1}:{}};switch(c(`const http = require('${e.protocol.replace(":","")}');`),s(),c(`const options = ${Ig(d,{indent:o})};`),s(),c("const req = http.request(options, function (res) {"),c("const chunks = [];",1),s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2),c("});",1),s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2),c("console.log(body.toString());",2),c("});",1),c("});"),s(),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":n.paramsObj&&(u("const qs = require('querystring');"),c(`req.write(qs.stringify(${Ig(n.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":n.jsonObj&&c(`req.write(JSON.stringify(${Ig(n.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==n?void 0:n.text)&&c(`req.write(${Ig(n.text,{indent:o})});`)}return c("req.end();"),l()}},request:{info:{key:"request",title:"Request",link:"https://github.com/request/request",description:"Simplified HTTP request client"},convert:({method:e,url:t,queryObj:r,postData:n,headersObj:a,cookies:o},i)=>{const s={indent:" ",...i};let l=!1;const{push:c,blank:u,join:d,unshift:p}=new gg({indent:s.indent});c("const request = require('request');"),u();const h={method:e,url:t};switch(Object.keys(r).length&&(h.qs=r),Object.keys(a).length&&(h.headers=a),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":h.form=n.paramsObj;break;case"application/json":n.jsonObj&&(h.body=n.jsonObj,h.json=!0);break;case"multipart/form-data":if(!n.params)break;h.formData={},n.params.forEach((e=>{if(!e.fileName&&!e.fileName&&!e.contentType)return void(h.formData[e.name]=e.value);let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`,options:{filename:e.fileName,contentType:e.contentType?e.contentType:null}}):e.value&&(t.value=e.value),h.formData[e.name]=t}));break;default:(null==n?void 0:n.text)&&(h.body=n.text)}return o.length&&(h.jar="JAR",c("const jar = request.jar();"),o.forEach((e=>{c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`)})),u()),l&&p("const fs = require('fs');"),c(`const options = ${Ig(h,{indent:" ",inlineCharacterLimit:80})};`),u(),c("request(options, function (error, response, body) {"),c("if (error) throw new Error(error);",1),u(),c("console.log(body);",1),c("});"),d().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')")}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/nodejs.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,url:t,cookies:r,queryObj:n,postData:a,headersObj:o},i)=>{const s={indent:" ",...i};let l=!1;const{addPostProcessor:c,blank:u,join:d,push:p,unshift:h}=new gg({indent:s.indent});switch(p("const unirest = require('unirest');"),u(),p(`const req = unirest('${e}', '${t}');`),u(),r.length&&(p("const CookieJar = unirest.jar();"),r.forEach((e=>{p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`)})),p("req.jar(CookieJar);"),u()),Object.keys(n).length&&(p(`req.query(${Ig(n,{indent:s.indent})});`),u()),Object.keys(o).length&&(p(`req.headers(${Ig(o,{indent:s.indent})});`),u()),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.paramsObj&&(p(`req.form(${Ig(a.paramsObj,{indent:s.indent})});`),u());break;case"application/json":a.jsonObj&&(p("req.type('json');"),p(`req.send(${Ig(a.jsonObj,{indent:s.indent})});`),u());break;case"multipart/form-data":{if(!a.params)break;const e=[];a.params.forEach((t=>{const r={};t.fileName&&!t.value?(l=!0,r.body=`fs.createReadStream('${t.fileName}')`,c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(r.body=t.value),r.body&&(t.contentType&&(r["content-type"]=t.contentType),e.push(r))})),p(`req.multipart(${Ig(e,{indent:s.indent})});`),u();break}default:(null==a?void 0:a.text)&&(p(`req.send(${Ig(a.text,{indent:s.indent})});`),u())}return l&&h("const fs = require('fs');"),p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1),u(),p("console.log(res.body);",1),p("});"),d()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:r,allHeaders:n,postData:a},o)=>{const i={indent:" ",...o},{blank:s,join:l,push:c,addPostProcessor:u}=new gg({indent:i.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(r).length&&(d.params=r),Object.keys(n).length&&(d.headers=n),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(c("const { URLSearchParams } = require('url');"),s(),c("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":s(),a.jsonObj&&(d.data=a.jsonObj);break;default:s(),(null==a?void 0:a.text)&&(d.data=a.text)}const p=Ig(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},convert:({method:e,fullUrl:t,postData:r,headersObj:n,cookies:a},o)=>{var i;const s={indent:" ",...o};let l=!1;const{blank:c,push:u,join:d,unshift:p}=new gg({indent:s.indent});u("const fetch = require('node-fetch');"),c();const h={method:e};switch(Object.keys(n).length&&(h.headers=n),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":p("const { URLSearchParams } = require('url');"),u("const encodedParams = new URLSearchParams();"),null===(i=r.params)||void 0===i||i.forEach((e=>{u(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),h.body="encodedParams";break;case"application/json":r.jsonObj&&(h.body=JSON.stringify(r.jsonObj));break;case"multipart/form-data":if(!r.params)break;const e=cg(n,"content-type");e&&delete n[e],p("const FormData = require('form-data');"),u("const formData = new FormData();"),r.params.forEach((e=>{e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,u(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):u(`formData.append('${e.name}', '${e.value}');`)})),c();break;default:(null==r?void 0:r.text)&&(h.body=r.text)}if(a.length){const e=a.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");h.headers||(h.headers={}),h.headers.cookie=e}u(`const url = '${t}';`),h.headers&&!Object.keys(h.headers).length&&delete h.headers;const f=Ig(h,{indent:" ",inlineCharacterLimit:80});return u(`const options = ${f};`),l&&p("const fs = require('fs');"),(null==r?void 0:r.params)&&"multipart/form-data"===r.mimeType&&u("options.body = formData;"),c(),u("try {"),u("const response = await fetch(url, options);",1),u("const data = await response.json();",1),u("console.log(data);",1),u("} catch (error) {"),u("console.error(error);",1),u("}"),d().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')}}}},Bg=(e,t,r,n)=>{const a=`${e} *${t} = `;return`${a}${jg(r,n?a.length:void 0)};`},jg=(e,t)=>{const r=void 0===t?", ":`,\n ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map((e=>jg(e))).join(r)} ]`;case"[object Object]":{const t=[];for(const r in e)t.push(`@"${r}": ${jg(e[r])}`);return`@{ ${t.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},Ug={info:{key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},a)=>{var o;const i={indent:" ",pretty:!0,timeout:10,...a},{push:s,join:l,blank:c}=new gg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import "),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(Bg("NSDictionary","headers",e,i.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(o=t.params)||void 0===o?void 0:o.length){c();const[e,...r]=t.params;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),r.forEach((({name:e,value:t})=>{s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(Bg("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(Bg("NSArray","parameters",t.params||[],i.pretty)),s(`NSString *boundary = @"${t.boundary}";`),c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),s("for (NSDictionary *param in parameters) {"),s('[body appendFormat:@"--%@\\r\\n", boundary];',1),s('if (param[@"fileName"]) {',1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),s("if (error) {",2),s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),s('[body appendFormat:@"%@", param[@"value"]];',2),s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${n}"]`),s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),s(` timeoutInterval:${i.timeout.toFixed(1)}];`),s(`[request setHTTPMethod:@"${r}"];`),u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&s("[request setHTTPBody:postData];"),c(),s("NSURLSession *session = [NSURLSession sharedSession];"),s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),s(" if (error) {",1),s(' NSLog(@"%@", error);',2),s(" } else {",1),s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),s(' NSLog(@"%@", httpResponse);',2),s(" }",1),s(" }];"),s("[dataTask resume];"),l()}}}},Fg={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:r,method:n},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new gg({indent:o.indent});i("open Cohttp_lwt_unix"),i("open Cohttp"),i("open Lwt"),s(),i(`let uri = Uri.of_string "${e}" in`);const c=Object.keys(t);1===c.length?i(`let headers = Header.add (Header.init ()) "${c[0]}" "${Og(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{i(`("${e}", "${Og(t[e])}");`,1)})),i("] in")),(null==r?void 0:r.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(r.text)} in`),s();const u=c.length?"~headers ":"",d=(null==r?void 0:r.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(n.toLowerCase())?`\`${n.toUpperCase()}`:`(Code.method_of_string "${n}")`;return i(`Client.call ${u}${d}${p} uri`),i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}}}},zg=(e,t,r)=>{switch(r=r||"",t=t||"",Object.prototype.toString.call(e)){case"[object Null]":case"[object Undefined]":default:return"null";case"[object String]":return`'${bg(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const n=e.map((e=>zg(e,`${t}${t}`,t))).join(`,\n${t}`);return`[\n${t}${n}\n${r}]`}case"[object Object]":{const n=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.push(`${zg(r,t)} => ${zg(e[r],`${t}${t}`,t)}`);return`[\n${t}${n.join(`,\n${t}`)}\n${r}]`}}},qg=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],Zg={info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},convert:({uriObj:e,postData:t,fullUrl:r,method:n,httpVersion:a,cookies:o,headersObj:i},s={})=>{const{closingTag:l=!1,indent:c=" ",maxRedirects:u=10,namedErrors:d=!1,noTags:p=!1,shortTags:h=!1,timeout:f=30}=s,{push:m,blank:g,join:b}=new gg({indent:c});p||(m(h?"":"{null!=e&&O.push(`${t} => ${r?JSON.stringify(e):e},`)}));const y=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`));y.length&&O.push(`CURLOPT_COOKIE => "${y.join("; ")}",`);const w=Object.keys(i).sort().map((e=>`"${e}: ${Og(i[e])}"`));return w.length&&(O.push("CURLOPT_HTTPHEADER => ["),O.push(w.join(`,\n${c}${c}`),1),O.push("],")),m(O.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),m(d?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),b()}},guzzle:{info:{key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",description:"PHP with Guzzle"},convert:({postData:e,fullUrl:t,method:r,cookies:n,headersObj:a},o)=>{var i;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...o},{push:l,blank:c,join:u}=new gg({indent:s.indent}),{code:d,push:p,join:h}=new gg({indent:s.indent});switch(s.noTags||(l(s.shortTags?"":" ${zg(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break;case"multipart/form-data":{const t=[];if(e.params&&e.params.forEach((function(e){if(e.fileName){const r={name:e.name,filename:e.fileName,contents:e.value};e.contentType&&(r.headers={"Content-Type":e.contentType}),t.push(r)}else e.value&&t.push({name:e.name,contents:e.value})})),t.length&&(p(`'multipart' => ${zg(t,s.indent+s.indent,s.indent)}`,1),dg(a,"content-type")&&(null===(i=ug(a,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){const e=cg(a,"content-type");e&&delete a[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${zg(e.text)},`,1)}const f=Object.keys(a).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${vg(a[e])}',`})),m=n.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${vg(m)}',`),f.length&&(p("'headers' => [",1),p(f.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),c(),d.length?(l(`$response = $client->request('${r}', '${t}', [`),l(h()),l("]);")):l(`$response = $client->request('${r}', '${t}');`),c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),u()}},http1:{info:{key:"http1",title:"HTTP v1",link:"http://php.net/manual/en/book.http.php",description:"PHP with pecl/http v1"},convert:({method:e,url:t,postData:r,queryObj:n,headersObj:a,cookiesObj:o},i={})=>{const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:u=!1}=i,{push:d,blank:p,join:h}=new gg({indent:l});switch(c||(d(u?"":"setUrl(${zg(t)});`),qg.includes(e.toUpperCase())?d(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):d(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`),p(),Object.keys(n).length&&(d(`$request->setQueryData(${zg(n,l)});`),p()),Object.keys(a).length&&(d(`$request->setHeaders(${zg(a,l)});`),p()),Object.keys(o).length&&(d(`$request->setCookies(${zg(o,l)});`),p()),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":d(`$request->setContentType(${zg(r.mimeType)});`),d(`$request->setPostFields(${zg(r.paramsObj,l)});`),p();break;case"application/json":d(`$request->setContentType(${zg(r.mimeType)});`),d(`$request->setBody(json_encode(${zg(r.jsonObj,l)}));`),p();break;default:(null==r?void 0:r.text)&&(d(`$request->setBody(${zg(r.text)});`),p())}return d("try {"),d("$response = $request->send();",1),p(),d("echo $response->getBody();",1),d("} catch (HttpException $ex) {"),d("echo $ex;",1),d("}"),!c&&s&&(p(),d("?>")),h()}},http2:{info:{key:"http2",title:"HTTP v2",link:"http://devel-m6w6.rhcloud.com/mdref/http",description:"PHP with pecl/http v2"},convert:({postData:e,headersObj:t,method:r,queryObj:n,cookiesObj:a,url:o},i={})=>{var s;const{closingTag:l=!1,indent:c=" ",noTags:u=!1,shortTags:d=!1}=i,{push:p,blank:h,join:f}=new gg({indent:c});let m=!1;switch(u||(p(d?"":"append(new http\\QueryString(${zg(e.paramsObj,c)}));`),h(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const r=[],n={};e.params.forEach((({name:e,fileName:t,value:a,contentType:o})=>{t?r.push({name:e,type:o,file:t,data:a}):a&&(n[e]=a)}));const a=Object.keys(n).length?zg(n,c):"null",o=r.length?zg(r,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${a}, ${o});`),dg(t,"content-type")&&(null===(s=ug(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=cg(t,"content-type");e&&delete t[e]}h(),m=!0;break}case"application/json":p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${zg(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${zg(e.text)});`),h(),m=!0)}return p(`$request->setRequestUrl(${zg(o)});`),p(`$request->setRequestMethod(${zg(r)});`),m&&(p("$request->setBody($body);"),h()),Object.keys(n).length&&(p(`$request->setQuery(new http\\QueryString(${zg(n,c)}));`),h()),Object.keys(t).length&&(p(`$request->setHeaders(${zg(t,c)});`),h()),Object.keys(a).length&&(h(),p(`$client->setCookies(${zg(a,c)});`),h()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),h(),p("echo $response->getBody();"),!u&&l&&(h(),p("?>")),f()}}}},Hg=e=>({method:t,headersObj:r,cookies:n,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{const{push:l,join:c}=new gg;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(r);return d.length&&(l("$headers=@{}"),d.forEach((e=>{"connection"!==e&&l(`$headers.Add("${e}", "${bg(r[e],{escapeChar:"`"})}")`)})),u.push("-Headers $headers")),n.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),n.forEach((e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${a.host}'`),l("$session.Cookies.Add($cookie)")})),u.push("-WebSession $session")),(null==i?void 0:i.text)&&(u.push(`-ContentType '${bg(ug(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()},Vg={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:Hg("Invoke-RestMethod")},Wg={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:Hg("Invoke-WebRequest")},Xg={info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:r},postData:n,allHeaders:a,method:o},i={})=>{const{insecureSkipVerify:s=!1}=i,{push:l,blank:c,join:u}=new gg;l("import http.client"),s&&l("import ssl"),c(),"https:"===t?(l(`conn = http.client.HTTPSConnection("${r}"${s?", context = ssl._create_unverified_context()":""})`),c()):(l(`conn = http.client.HTTPConnection("${r}")`),c());const d=JSON.stringify(null==n?void 0:n.text);d&&(l(`payload = ${d}`),c());const p=a,h=Object.keys(p).length;if(1===h)for(const e in p)l(`headers = { '${e}': "${Og(p[e])}" }`),c();else if(h>1){let e=1;l("headers = {");for(const t in p)e++!==h?l(` '${t}': "${Og(p[t])}",`):l(` '${t}': "${Og(p[t])}"`);l("}"),c()}return l(d&&h?`conn.request("${o}", "${e}", payload, headers)`:d&&!h?`conn.request("${o}", "${e}", payload)`:!d&&h?`conn.request("${o}", "${e}", headers=headers)`:`conn.request("${o}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}};function Yg(e,t,r,n,a){const o=n.repeat(a),i=n.repeat(a-1),s=r?`,\n${o}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]";return r?`${l}\n${o}${t.join(s)}\n${i}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`}const Gg=(e,t,r)=>{switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let n=!1;return Yg("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),Gg(e,t,r)))),n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${Gg(e[a],t,r)}`);return Yg("object",n,t.pretty&&n.length>1,t.indent,r)}case"[object Null]":return"None";case"[object Boolean]":return e?"True":"False";default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},Kg=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Jg={info:{key:"requests",title:"Requests",link:"http://docs.python-requests.org/en/latest/api/#requests.request",description:"Requests HTTP library"},convert:({queryObj:e,url:t,postData:r,allHeaders:n,method:a},o)=>{const i={indent:" ",pretty:!0,...o},{push:s,blank:l,join:c}=new gg({indent:i.indent});let u;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(u=`querystring = ${JSON.stringify(e)}`,s(u),l());const d=n;let p={};const h={};let f=!1,m=!1,g=!1;switch(null==r?void 0:r.mimeType){case"application/json":r.jsonObj&&(s(`payload = ${Gg(r.jsonObj,i)}`),g=!0,m=!0);break;case"multipart/form-data":if(!r.params)break;if(p={},r.params.forEach((e=>{e.fileName?(h[e.name]=`open('${e.fileName}', 'rb')`,f=!0):(p[e.name]=e.value,m=!0)})),f){s(`files = ${Gg(h,i)}`),m&&s(`payload = ${Gg(p,i)}`);const e=cg(d,"content-type");e&&delete d[e]}else{const e=JSON.stringify(r.text);e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!r)break;if("application/x-www-form-urlencoded"===r.mimeType&&r.paramsObj){s(`payload = ${Gg(r.paramsObj,i)}`),m=!0;break}const e=JSON.stringify(r.text);e&&(s(`payload = ${e}`),m=!0)}}const b=Object.keys(d).length;if(0===b&&(m||f))l();else if(1===b)for(const e in d)s(`headers = {"${e}": "${Og(d[e])}"}`),l();else if(b>1){let e=1;s("headers = {");for(const t in d)s(e!==b?`"${t}": "${Og(d[t])}",`:`"${t}": "${Og(d[t])}"`,1),e+=1;s("}"),l()}let v=Kg.includes(a)?`response = requests.${a.toLowerCase()}(url`:`response = requests.request("${a}", url`;return m&&(v+=g?", json=payload":", data=payload"),f&&(v+=", files=files"),b>0&&(v+=", headers=headers"),u&&(v+=", params=querystring"),v+=")",s(v),l(),s("print(response.json())"),c()}},eb={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:r,postData:n,allHeaders:a,method:o},i={})=>{var s,l;const{push:c,blank:u,join:d}=new gg({indent:null!==(s=i.indent)&&void 0!==s?s:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const h=Object.entries(p),f=h.length;if(1===f){const e=h[0];c(`queryString <- list(${e[0]} = "${e[1]}")`),u()}else f>1&&(c("queryString <- list("),h.forEach((([e,t],r)=>{c(`${e} = "${t}"${r!==f-1?",":""}`,1)})),c(")"),u());const m=JSON.stringify(null==n?void 0:n.text);if(m&&(c(`payload <- ${m}`),u()),n&&(n.text||n.jsonObj||n.params))switch(n.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u()}const g=ug(a,"cookie"),b=ug(a,"accept"),v=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,O=b?`accept("${Og(b)}")`:void 0,y=`content_type("${Og(null!==(l=null==n?void 0:n.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(a).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${vg(t)}'`)).join(", "),x=w?`add_headers(${w})`:void 0;let k=`response <- VERB("${o}", url`;m&&(k+=", body = payload"),r.length&&(k+=", query = queryString");const _=[x,y,O,v].filter((e=>!!e)).join(", ");return _&&(k+=`, ${_}`),n&&(n.text||n.jsonObj||n.params)&&(k+=", encode = encode"),k+=")",c(k),u(),c('content(response, "text")'),d()}},tb=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,rb={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},nb={info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},convert:({fullUrl:e,method:t,httpVersion:r,headersObj:n,allHeaders:a,postData:o},i={})=>{var s;const{binary:l=!1,globOff:c=!1,indent:u=" ",insecureSkipVerify:d=!1,prettifyJson:p=!1,short:h=!1}=i,{push:f,join:m}=new gg({..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{if(e){const e=rb[t];return e?`-${e}`:""}return`--${t}`})(h);let b=tb(e);if(f(`curl ${g("request")} ${t}`),c&&(b=unescape(b),f(g("globoff"))),f(`${g("url ")}${b}`),d&&f(g("insecure")),"HTTP/1.0"===r&&f(g("http1.0")),ug(a,"accept-encoding")&&f("--compressed"),"multipart/form-data"===(null==o?void 0:o.mimeType)){const e=cg(n,"content-type");if(e){const t=n[e];if(e&&t){const r=t.replace(/; boundary.+?(?=(;|$))/,"");n[e]=r,a[e]=r}}}switch(Object.keys(n).sort().forEach((e=>{const t=`${e}: ${n[e]}`;f(`${g("header")} ${tb(t)}`)})),a.cookie&&f(`${g("cookie")} ${tb(a.cookie)}`),null==o?void 0:o.mimeType){case"multipart/form-data":null===(s=o.params)||void 0===s||s.forEach((e=>{let t="";t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,f(`${g("form")} ${tb(t)}`)}));break;case"application/x-www-form-urlencoded":o.params?o.params.forEach((e=>{const t=e.name,r=encodeURIComponent(e.name),n=r!==t;f(`${l?"--data-binary":"--data"+(n?"-urlencode":"")} ${tb(`${n?r:t}=${e.value}`)}`)})):f(`${l?"--data-binary":g("data")} ${tb(o.text)}`);break;default:{if(!o)break;if(!o.text)break;const e=l?"--data-binary":g("data");let t=!1;if(v=o.mimeType,pg.some((e=>v.includes(e)))&&o.text.length>2&&p)try{const r=JSON.parse(o.text);t=!0;const n=JSON.stringify(r,void 0,u);o.text.indexOf("'")>0?f(`${e} @- <t.repeat(e),ob=(e,t,r,n)=>{const a=ab(n,r),o=ab(n-1,r),i=t?`,\n${a}`:", ";return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`},ib=(e,t,r)=>`let ${e} = ${sb(t,r)}`,sb=(e,t,r)=>{switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let n=!1;const a=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),sb(e,t,r))));return ob(a,n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${sb(e[a],t,r)}`);return ob(n,t.pretty&&n.length>1,t.indent,r)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},lb={c:yg,clojure:Ag,csharp:Cg,go:Pg,http:Dg,java:Rg,javascript:Mg,kotlin:Lg,node:Qg,objc:Ug,ocaml:Fg,php:Zg,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:Wg,restmethod:Vg}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:Xg,requests:Jg}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:eb}},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},clientsById:{native:{info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:r,postData:n,allHeaders:a},o={})=>{const{insecureSkipVerify:i=!1}=o,{push:s,blank:l,join:c}=new gg;s("require 'uri'"),s("require 'net/http'"),l();const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),s(` METHOD = '${u.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${(null==n?void 0:n.text)?"true":"false"}'`),s(" RESPONSE_HAS_BODY = true"),s("end"),l()),s(`url = URI("${r}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),"https:"===e.protocol&&(s("http.use_ssl = true"),i&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(a);return p.length&&p.forEach((e=>{s(`request["${e}"] = '${vg(a[e])}'`)})),(null==n?void 0:n.text)&&s(`request.body = ${JSON.stringify(n.text)}`),l(),s("response = http.request(request)"),s("puts response.read_body"),c()}}}},shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},clientsById:{curl:nb,httpie:{info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:r,fullUrl:n,method:a,url:o},i)=>{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i},{push:l,join:c,unshift:u}=new gg({indent:s.indent,join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[];return s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(r).forEach((e=>{const t=r[e];Array.isArray(t)?t.forEach((t=>{l(`${e}==${tb(t)}`)})):l(`${e}==${tb(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${tb(e[t])}`)})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"),t.params.forEach((e=>{l(`${e.name}=${tb(e.value)}`)}))):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=tb(s.queryParams?o:n)}`),d&&(null==t?void 0:t.text)&&u(`echo ${tb(t.text)} | `),c()}},wget:{info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:r,fullUrl:n},a)=>{const o={indent:" ",short:!1,verbose:!1,...a},{push:i,join:s}=new gg({indent:o.indent,join:!1!==o.indent?` \\\n${o.indent}`:" "});var l;return o.verbose?i("wget "+(o.short?"-v":"--verbose")):i("wget "+(o.short?"-q":"--quiet")),i(`--method ${tb(e)}`),Object.keys(r).forEach((e=>{const t=`${e}: ${r[e]}`;i(`--header ${tb(t)}`)})),(null==t?void 0:t.text)&&i(`--body-data ${l=tb(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),i(o.short?"-O":"--output-document"),i(`- ${tb(n)}`),s()}}}},swift:{info:{key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:r,method:n},a)=>{var o;const i={indent:" ",pretty:!0,timeout:"10",...a},{push:s,blank:l,join:c}=new gg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(ib("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),null===(o=t.params)||void 0===o?void 0:o.length){const[e,...r]=t.params;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),r.forEach((({name:e,value:t})=>{s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(`${ib("parameters",t.jsonObj,i)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(ib("parameters",t.params,i)),l(),s(`let boundary = "${t.boundary}"`),l(),s('var body = ""'),s("var error: NSError? = nil"),s("for param in parameters {"),s('let paramName = param["name"]!',1),s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),s('if let filename = param["fileName"] {',1),s('let contentType = param["content-type"]!',2),s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),s("if (error != nil) {",2),s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),s("body += fileContent",2),s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),s("}",1),s("}");break;default:l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${r}")! as URL,`),s(" cachePolicy: .useProtocolCachePolicy,"),s(` timeoutInterval: ${parseInt(i.timeout,10).toFixed(1)})`),s(`request.httpMethod = "${n}"`),u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),u.hasBody&&s("request.httpBody = postData as Data"),l(),s("let session = URLSession.shared"),s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),s("if (error != nil) {",1),s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}}}}};class cb{constructor(e){let t=[];var r;t="object"==typeof(r=e)&&"log"in r&&"object"==typeof r.log&&"entries"in r.log&&Array.isArray(r.log.entries)?e.log.entries:[{request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const r={bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",queryString:[],postData:{mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"},...e};return this.prepare(r)})))}async prepare(e){var t,r,n,a;const o={...e,fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}};if(o.queryString&&o.queryString.length&&(o.queryObj=o.queryString.reduce(hg,{})),o.headers&&o.headers.length){const e=/^HTTP\/2/;o.headersObj=o.headers.reduce(((t,{name:r,value:n})=>({...t,[e.exec(o.httpVersion)?r.toLocaleLowerCase():r]:n})),{})}o.cookies&&o.cookies.length&&(o.cookiesObj=o.cookies.reduceRight(((e,{name:t,value:r})=>({...e,[t]:r})),{}));const i=null===(t=o.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`));switch((null==i?void 0:i.length)&&(o.allHeaders.cookie=i.join("; ")),null===(r=o.postData)||void 0===r?void 0:r.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":if(o.postData.text="",o.postData.mimeType="multipart/form-data",null===(n=o.postData)||void 0===n?void 0:n.params){const e=new rg,t="---011000010111000001101001";null===(a=o.postData)||void 0===a||a.params.forEach((t=>{const r=t.name,n=t.value||"",a=t.fileName;var o;"object"==typeof(o=n)&&"function"==typeof o.arrayBuffer&&"string"==typeof o.type&&"function"==typeof o.stream&&"function"==typeof o.constructor&&/^(Blob|File)$/.test(o[sg])?e.append(r,n,a):e.append(r,new ng([n],{type:t.contentType}),a?function(e){const t=e.split("/");return t[t.length-1]}(a):a)}));const{postData:r}=o;for await(const n of async function*(e,t){for(const[r,n]of e)yield lg(t,r,n),"string"==typeof n?yield n:yield await n.text(),yield og;yield(e=>`${ig}${e}${ig}${og.repeat(1)}`)(t)}(e,t))r.text+=n;o.postData.boundary=t;const n=cg(o.headersObj,"content-type")||"content-type";o.headersObj[n]=`multipart/form-data; boundary=${t}`}break;case"application/x-www-form-urlencoded":o.postData.params?(o.postData.paramsObj=o.postData.params.reduce(hg,{}),o.postData.text=fg(o.postData.paramsObj).toString()):o.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(o.postData.mimeType="application/json",o.postData.text)try{o.postData.jsonObj=JSON.parse(o.postData.text)}catch(e){o.postData.mimeType="text/plain"}}const s={...o.allHeaders,...o.headersObj},l=new URL(o.url),c=Object.fromEntries(l.searchParams);o.queryObj={...o.queryObj,...c};const u=fg(o.queryObj),d=new URL(o.url);return d.search=u.toString(),l.search="",{...o,allHeaders:s,fullUrl:d.toString(),url:l.toString(),uriObj:new mg(d.toString())}}async convert(e,t,r){!r&&t&&(r=t);const n=lb[e];if(!n)return null;const{convert:a}=n.clientsById[t||n.info.default],o=(await this.requests).map((e=>a(e,r)));return 1===o.length?o[0]:o}}function ub(e){var t;return(null==(t=fb.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey}function db(e){var t,r;return(null==(r=null==(t=fb.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:r.title)??e.clientKey}const pb=ti((()=>ub(vb))),hb=ti((()=>db(vb))),fb=ti((()=>{var e;const t=Object.keys(lb).map((e=>({...lb[e].info,clients:Object.keys(lb[e].clientsById).map((t=>lb[e].clientsById[t].info))})));return null==(e=t.find((e=>"node"===e.key)))||e.clients.unshift({description:"An HTTP/1.1 client, written from scratch for Node.js.",key:"undici",link:"https://github.com/nodejs/undici",title:"undici"}),function(e,t){return!0===t.value?[]:e.flatMap((e=>{var r;return"object"!=typeof t.value?[]:Array.isArray(t.value)?(e.clients=e.clients.filter((e=>!t.value.includes(e.key))),[e]):!0===t.value[e.key]?[]:(Array.isArray(t.value[e.key])&&(e.clients=e.clients.filter((r=>!t.value[e.key].includes(r.key)))),(null==(r=null==e?void 0:e.clients)?void 0:r.length)?[e]:[])}))}(t,gb)})),mb={node:["unirest"]},gb=Cr({...!0===mb?{}:mb}),bb=()=>{var e,t,r,n;return fb.value.find((e=>"shell"===e.key&&e.clients.find((e=>"curl"===e.key))))?{targetKey:"shell",clientKey:"curl"}:{targetKey:null==(e=fb.value[0])?void 0:e.key,clientKey:null==(n=null==(r=null==(t=fb.value[0])?void 0:t.clients)?void 0:r[0])?void 0:n.key}},vb=hr(bb());function Ob(){Su(vb,bb())}const yb=e=>{Object.assign(vb,{...vb,...e})},wb=()=>({httpClient:mr(vb),resetState:Ob,setHttpClient:yb,excludedClients:mr(gb),setExcludedClients:e=>{gb.value=e,Su(vb,bb())},availableTargets:fb,getClientTitle:db,getTargetTitle:ub,httpTargetTitle:pb,httpClientTitle:hb});let xb=Symbol("headlessui.useid"),kb=0;function _b(){return ba(xb,(()=>""+ ++kb))()}function Sb(e){var t;if(null==e||null==e.value)return null;let r=null!=(t=e.value.$el)?t:e.value;return r instanceof Node?r:null}function Eb(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,Eb),n}var Tb=Object.defineProperty,Ab=(e,t,r)=>(((e,t,r)=>{t in e?Tb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Cb=new class{constructor(){Ab(this,"current",this.detect()),Ab(this,"currentId",0)}set(e){this.current!==e&&(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"}};function Pb(e){if(Cb.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Sb(e);if(t)return t.ownerDocument}return document}let Db=["[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 Rb,Nb,$b,Ib=(($b=Ib||{})[$b.First=1]="First",$b[$b.Previous=2]="Previous",$b[$b.Next=4]="Next",$b[$b.Last=8]="Last",$b[$b.WrapAround=16]="WrapAround",$b[$b.NoScroll=32]="NoScroll",$b),Mb=((Nb=Mb||{})[Nb.Error=0]="Error",Nb[Nb.Overflow=1]="Overflow",Nb[Nb.Success=2]="Success",Nb[Nb.Underflow=3]="Underflow",Nb),Lb=((Rb=Lb||{})[Rb.Previous=-1]="Previous",Rb[Rb.Next=1]="Next",Rb),Qb=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Qb||{});function Bb(e,t=0){var r;return e!==(null==(r=Pb(e))?void 0:r.body)&&Eb(t,{0:()=>e.matches(Db),1(){let t=e;for(;null!==t;){if(t.matches(Db))return!0;t=t.parentElement}return!1}})}var jb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(jb||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let Ub=["textarea","input"].join(",");function Fb(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 zb(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){var o;let i=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,s=Array.isArray(e)?r?Fb(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Db)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:i.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}l=s[e],null==l||l.focus(d),p+=c}while(l!==i.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,Ub))&&r}(l)&&l.select(),2}function qb(e,t,r){Cb.isServer||za((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function Zb(e,t,r=ti((()=>!0))){function n(n,a){if(!r.value||n.defaultPrevented)return;let o=a(n);if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:Sb(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!Bb(o,Qb.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Cr(null);qb("pointerdown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),qb("mousedown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),qb("click",(e=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),qb("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),function(e,t,r){Cb.isServer||za((r=>{window.addEventListener(e,t,true),r((()=>window.removeEventListener(e,t,true)))}))}("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))))}function Hb(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Vb(e,t){let r=Cr(Hb(e.value.type,e.value.as));return Cn((()=>{r.value=Hb(e.value.type,e.value.as)})),za((()=>{var e;r.value||Sb(t)&&Sb(t)instanceof HTMLButtonElement&&(null==(e=Sb(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function Wb(e){return[e.screenX,e.screenY]}var Xb,Yb=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Yb||{}),Gb=((Xb=Gb||{})[Xb.Unmount=0]="Unmount",Xb[Xb.Hidden=1]="Hidden",Xb);function Kb({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=tv(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?Jb(s):1&t?Eb(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>Jb({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):Jb(s)}function Jb({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=rv(e,["unmount","static"]),c=null==(o=r.default)?void 0:o.call(r,n),u={};if(n){let e=!1,t=[];for(let[r,a]of Object.entries(n))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){if(c=ev(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[e,...r]=null!=c?c:[];if(!function(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}(e)||r.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,r)=>r.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).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 "template".',"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 n=tv(null!=(i=e.props)?i:{},l,u),o=Po(e,n,!0);for(let e in n)e.startsWith("on")&&(o.props||(o.props={}),o.props[e]=n[e]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return ri(s,Object.assign({},l,u),{default:()=>c})}function ev(e){return e.flatMap((e=>e.type===uo?ev(e.children):[e]))}function tv(...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&&t.defaultPrevented)return;e(t,...n)}}});return t}function rv(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var nv=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(nv||{});let av=Fn({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:r})=>()=>{var n;let{features:a,...o}=e;return Kb({ourProps:{"aria-hidden":!(2&~a)||(null!=(n=o["aria-hidden"])?n:void 0),hidden:!(4&~a)||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&~a)&&!!(2&~a)&&{display:"none"}}},theirProps:o,slot:{},attrs:r,slots:t,name:"Hidden"})}}),ov=Symbol("Context");var iv=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(iv||{});function sv(){return ba(ov,null)}function lv(e){ga(ov,e)}var cv,uv,dv=((cv=dv||{}).Space=" ",cv.Enter="Enter",cv.Escape="Escape",cv.Backspace="Backspace",cv.Delete="Delete",cv.ArrowLeft="ArrowLeft",cv.ArrowUp="ArrowUp",cv.ArrowRight="ArrowRight",cv.ArrowDown="ArrowDown",cv.Home="Home",cv.End="End",cv.PageUp="PageUp",cv.PageDown="PageDown",cv.Tab="Tab",cv),pv=((uv=pv||{})[uv.First=0]="First",uv[uv.Previous=1]="Previous",uv[uv.Next=2]="Next",uv[uv.Last=3]="Last",uv[uv.Specific=4]="Specific",uv[uv.Nothing=5]="Nothing",uv);function hv(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))mv(r,fv(t,n),a);return r}function fv(e,t){return e?e+"["+t+"]":t}function mv(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())mv(e,fv(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):hv(r,t,e)}var gv=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gv||{});let bv=Symbol("DisclosureContext");function vv(e){let t=ba(bv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,vv),t}return t}let Ov=Symbol("DisclosurePanelContext"),yv=Fn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Cr(e.defaultOpen?0:1),a=Cr(null),o=Cr(null),i={buttonId:Cr(`headlessui-disclosure-button-${_b()}`),panelId:Cr(`headlessui-disclosure-panel-${_b()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=Eb(n.value,{0:1,1:0})},closeDisclosure(){1!==n.value&&(n.value=1)},close(e){i.closeDisclosure();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?Sb(e):Sb(i.button):Sb(i.button);null==t||t.focus()}};return ga(bv,i),lv(ti((()=>Eb(n.value,{0:iv.Open,1:iv.Closed})))),()=>{let{defaultOpen:a,...o}=e;return Kb({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),wv=Fn({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=vv("DisclosureButton"),o=ba(Ov,null),i=ti((()=>null!==o&&o.value===a.panelId.value));Cn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Nn((()=>{i.value||(a.buttonId.value=null)}));let s=Cr(null);n({el:s,$el:s}),i.value||za((()=>{a.button.value=s.value}));let l=Vb(ti((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=Sb(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case dv.Space:case dv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=Sb(a.button))||r.focus()}else switch(t.key){case dv.Space:case dv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===dv.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return Kb({ourProps:i.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(n=a.buttonId.value)?n:p,ref:s,type:l.value,"aria-expanded":0===a.disclosureState.value,"aria-controls":0===a.disclosureState.value||Sb(a.panel)?a.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,slot:o,attrs:t,slots:r,name:"DisclosureButton"})}}}),xv=Fn({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=vv("DisclosurePanel");Cn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Nn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),ga(Ov,a.panelId);let o=sv(),i=ti((()=>null!==o?(o.value&iv.Open)===iv.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return Kb({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:Yb.RenderStrategy|Yb.Static,visible:i.value,name:"DisclosurePanel"})}}}),kv=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function _v(e){var t,r;let n=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return n;let o=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let i=o?null!=(r=a.innerText)?r:"":n;return kv.test(i)&&(i=i.replace(kv,"")),i}function Sv(e,t){return e===t}var Ev=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ev||{}),Tv=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Tv||{}),Av=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Av||{});let Cv=Symbol("ListboxContext");function Pv(e){let t=ba(Cv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Pv),t}return t}let Dv=Fn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Sv},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){let a=Cr(1),o=Cr(null),i=Cr(null),s=Cr(null),l=Cr([]),c=Cr(""),u=Cr(null),d=Cr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=Fb(e(l.value.slice()),(e=>Sb(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=ti((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Cr(null==r?void 0:r.value),a=ti((()=>void 0!==e.value));return[ti((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(ti((()=>e.modelValue)),(e=>n("update:modelValue",e)),ti((()=>e.defaultValue))),g=ti((()=>void 0===f.value?Eb(h.value,{1:[],0:void 0}):f.value)),b={listboxState:a,value:g,mode:h,compare(t,r){if("string"==typeof e.by){let n=e.by;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e.by(t,r)},orientation:ti((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:ti((()=>e.disabled)),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||1!==a.value&&(a.value=1,u.value=null)},openListbox(){e.disabled||0!==a.value&&(a.value=0)},goToOption(t,r,n){if(e.disabled||1===a.value)return;let o=p(),i=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=a+1;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;no.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});c.value="",u.value=i,d.value=null!=n?n:1,l.value=o.options},search(t){if(e.disabled||1===a.value)return;let r=""!==c.value?0:1;c.value+=t.toLowerCase();let n=(null!==u.value?l.value.slice(u.value+r).concat(l.value.slice(0,u.value+r)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),o=n?l.value.indexOf(n):-1;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){e.disabled||1!==a.value&&""!==c.value&&(c.value="")},registerOption(e,t){let r=p((r=>[...r,{id:e,dataRef:t}]));l.value=r.options,u.value=r.activeOptionIndex},unregisterOption(e){let t=p((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||m(t)},select(t){e.disabled||m(Eb(h.value,{0:()=>t,1:()=>{let e=xr(b.value.value).slice(),r=xr(t),n=e.findIndex((e=>b.compare(r,xr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};Zb([i,s],((e,t)=>{var r;b.closeListbox(),Bb(t,Qb.Loose)||(e.preventDefault(),null==(r=Sb(i))||r.focus())}),ti((()=>0===a.value))),ga(Cv,b),lv(ti((()=>Eb(a.value,{0:iv.Open,1:iv.Closed}))));let v=ti((()=>{var e;return null==(e=Sb(i))?void 0:e.closest("form")}));return Cn((()=>{Za([v],(()=>{if(v.value&&void 0!==e.defaultValue)return v.value.addEventListener("reset",t),()=>{var e;null==(e=v.value)||e.removeEventListener("reset",t)};function t(){b.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{let{name:n,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===a.value,disabled:i,value:g.value};return ri(uo,[...null!=n&&null!=g.value?hv({[n]:g.value}).map((([e,t])=>ri(av,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:nv.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],Kb({ourProps:{},theirProps:{...r,...rv(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),Rv=Fn({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-button-${_b()}`,i=Pv("ListboxButton");function s(e){switch(e.key){case dv.Space:case dv.Enter:case dv.ArrowDown:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Sb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(pv.First)}));break;case dv.ArrowUp:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Sb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(pv.Last)}))}}function l(e){e.key===dv.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Sb(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=Vb(ti((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n,a;let d={open:0===i.listboxState.value,disabled:i.disabled.value,value:i.value.value},{...p}=e;return Kb({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=Sb(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=Sb(i.labelRef))?void 0:a.id,o].join(" "):void 0,disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},theirProps:p,slot:d,attrs:t,slots:r,name:"ListboxButton"})}}}),Nv=Fn({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-options-${_b()}`,i=Pv("ListboxOptions"),s=Cr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case dv.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case dv.Enter:if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case Eb(i.orientation.value,{vertical:dv.ArrowDown,horizontal:dv.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.Next);case Eb(i.orientation.value,{vertical:dv.ArrowUp,horizontal:dv.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.Previous);case dv.Home:case dv.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.First);case dv.End:case dv.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.Last);case dv.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case dv.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}n({el:i.optionsRef,$el:i.optionsRef});let c=sv(),u=ti((()=>null!==c?(c.value&iv.Open)===iv.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return Kb({ourProps:{"aria-activedescendant":null===i.activeOptionIndex.value||null==(n=i.options.value[i.activeOptionIndex.value])?void 0:n.id,"aria-multiselectable":1===i.mode.value||void 0,"aria-labelledby":null==(a=Sb(i.buttonRef))?void 0:a.id,"aria-orientation":i.orientation.value,id:o,onKeydown:l,role:"listbox",tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:r,features:Yb.RenderStrategy|Yb.Static,visible:u.value,name:"ListboxOptions"})}}}),$v=Fn({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-option-${_b()}`,i=Pv("ListboxOption"),s=Cr(null);n({el:s,$el:s});let l=ti((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=ti((()=>Eb(i.mode.value,{0:()=>i.compare(xr(i.value.value),xr(e.value)),1:()=>xr(i.value.value).some((t=>i.compare(xr(t),xr(e.value))))}))),u=ti((()=>Eb(i.mode.value,{1:()=>{var e;let t=xr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(xr(t),xr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=function(e){let t=Cr(""),r=Cr("");return()=>{let n=Sb(e);if(!n)return"";let a=n.innerText;if(t.value===a)return r.value;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():_v(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return _v(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}(s),p=ti((()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s})));function h(t){if(e.disabled)return t.preventDefault();i.select(e.value),0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(pv.Nothing);i.goToOption(pv.Specific,o)}Cn((()=>i.registerOption(o,p))),Nn((()=>i.unregisterOption(o))),Cn((()=>{Za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&Eb(i.mode.value,{1:()=>{u.value&&i.goToOption(pv.Specific,o)},0:()=>{i.goToOption(pv.Specific,o)}})}),{immediate:!0})})),za((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Kr((()=>{var e,t;return null==(t=null==(e=Sb(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=function(){let e=Cr([-1,-1]);return{wasMoved(t){let r=Wb(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=Wb(t)}}}();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(pv.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(pv.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return Kb({ourProps:{id:o,ref:s,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,onMouseenter:g,onPointermove:b,onMousemove:b,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:r,slots:t,name:"ListboxOption"})}}}),Iv=Fn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Cr(!0);return()=>t.value?ri(av,{as:"button",type:"button",features:nv.Focusable,onFocus(r){r.preventDefault();let n,a=50;n=requestAnimationFrame((function r(){var o;if(!(a--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(n)):void(n=requestAnimationFrame(r));n&&cancelAnimationFrame(n)}))}}):null}});var Mv,Lv,Qv=((Lv=Qv||{})[Lv.Forwards=0]="Forwards",Lv[Lv.Backwards=1]="Backwards",Lv),Bv=((Mv=Bv||{})[Mv.Less=-1]="Less",Mv[Mv.Equal=0]="Equal",Mv[Mv.Greater=1]="Greater",Mv);let jv=Symbol("TabsContext");function Uv(e){let t=ba(jv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Uv),t}return t}let Fv=Symbol("TabsSSRContext"),zv=Fn({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){var a;let o=Cr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Cr([]),s=Cr([]),l=ti((()=>null!==e.selectedIndex)),c=ti((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=Fb(d.tabs.value,Sb),n=Fb(d.panels.value,Sb),a=r.filter((e=>{var t;return!(null!=(t=Sb(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=Eb(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>Eb(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=Eb(t,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});-1!==i&&(o.value=i),d.tabs.value=r,d.panels.value=n}else{let i=r.slice(0,e),s=[...r.slice(e),...i].find((e=>a.includes(e)));if(!s)return;let l=null!=(t=r.indexOf(s))?t:d.selectedIndex.value;-1===l&&(l=d.selectedIndex.value),o.value=l,d.tabs.value=r,d.panels.value=n}}let d={selectedIndex:ti((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:ti((()=>e.vertical?"vertical":"horizontal")),activation:ti((()=>e.manual?"manual":"auto")),tabs:i,panels:s,setSelectedIndex(e){c.value!==e&&n("change",e),l.value||u(e)},registerTab(e){var t;if(i.value.includes(e))return;let r=i.value[o.value];if(i.value.push(e),i.value=Fb(i.value,Sb),!l.value){let e=null!=(t=i.value.indexOf(r))?t:o.value;-1!==e&&(o.value=e)}},unregisterTab(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)},registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=Fb(s.value,Sb))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};ga(jv,d);let p=Cr({tabs:[],panels:[]}),h=Cr(!1);Cn((()=>{h.value=!0})),ga(Fv,ti((()=>h.value?null:p.value)));let f=ti((()=>e.selectedIndex));return Cn((()=>{Za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),za((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=Fb(d.tabs.value,Sb);e.some(((e,t)=>Sb(d.tabs.value[t])!==Sb(e)))&&d.setSelectedIndex(e.findIndex((e=>Sb(e)===Sb(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ri(uo,[i.value.length<=0&&ri(Iv,{onFocus:()=>{for(let e of i.value){let t=Sb(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),Kb({theirProps:{...r,...rv(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),qv=Fn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Uv("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return Kb({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),Zv=Fn({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-tab-${_b()}`,i=Uv("Tab"),s=Cr(null);n({el:s,$el:s}),Cn((()=>i.registerTab(s))),Nn((()=>i.unregisterTab(s)));let l=ba(Fv),c=ti((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=ti((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=ti((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===Mb.Success&&"auto"===i.activation.value){let e=null==(t=Pb(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>Sb(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>Sb(e))).filter(Boolean);if(e.key===dv.Space||e.key===dv.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case dv.Home:case dv.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>zb(t,Ib.First)));case dv.End:case dv.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>zb(t,Ib.Last)))}return p((()=>Eb(i.orientation.value,{vertical:()=>e.key===dv.ArrowUp?zb(t,Ib.Previous|Ib.WrapAround):e.key===dv.ArrowDown?zb(t,Ib.Next|Ib.WrapAround):Mb.Error,horizontal:()=>e.key===dv.ArrowLeft?zb(t,Ib.Previous|Ib.WrapAround):e.key===dv.ArrowRight?zb(t,Ib.Next|Ib.WrapAround):Mb.Error})))===Mb.Success?e.preventDefault():void 0}let f=Cr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=Sb(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=Vb(ti((()=>({as:e.as,type:t.type}))),s);return()=>{var n,a;let l={selected:d.value,disabled:null!=(n=e.disabled)&&n},{...c}=e;return Kb({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=Sb(i.panels.value[u.value]))?void 0:a.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},theirProps:c,slot:l,attrs:t,slots:r,name:"Tab"})}}});function Hv(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Vv(){let e=[],t={addEventListener:(e,r,n,a)=>(e.addEventListener(r,n,a),t.add((()=>e.removeEventListener(r,n,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);t.add((()=>cancelAnimationFrame(r)))},nextFrame(...e){t.requestAnimationFrame((()=>{t.requestAnimationFrame(...e)}))},setTimeout(...e){let r=setTimeout(...e);t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return Hv((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},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})}))},group(e){let t=Vv();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}let Wv=Symbol("headlessui.useid"),Xv=0;function Yv(){return ba(Wv,(()=>""+ ++Xv))()}function Gv(e){var t;if(null==e||null==e.value)return null;let r=null!=(t=e.value.$el)?t:e.value;return r instanceof Node?r:null}function Kv(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,Kv),n}var Jv=Object.defineProperty,eO=(e,t,r)=>(((e,t,r)=>{t in e?Jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let tO=new class{constructor(){eO(this,"current",this.detect()),eO(this,"currentId",0)}set(e){this.current!==e&&(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"}};function rO(e){if(tO.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Gv(e);if(t)return t.ownerDocument}return document}let nO=["[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 aO=(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))(aO||{}),oO=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(oO||{}),iO=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(iO||{});function sO(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(nO)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var lO=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(lO||{});function cO(e,t=0){var r;return e!==(null==(r=rO(e))?void 0:r.body)&&Kv(t,{0:()=>e.matches(nO),1(){let t=e;for(;null!==t;){if(t.matches(nO))return!0;t=t.parentElement}return!1}})}function uO(e){let t=rO(e);Kr((()=>{t&&!cO(t.activeElement,0)&&pO(e)}))}var dO=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(dO||{});function pO(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let hO=["textarea","input"].join(",");function fO(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 mO(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){var o;let i=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,s=Array.isArray(e)?r?fO(e):e:sO(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:i.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}l=s[e],null==l||l.focus(d),p+=c}while(l!==i.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,hO))&&r}(l)&&l.select(),2}function gO(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function bO(e,t,r){tO.isServer||za((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function vO(e,t,r){tO.isServer||za((n=>{window.addEventListener(e,t,r),n((()=>window.removeEventListener(e,t,r)))}))}function OO(e,t,r=ti((()=>!0))){function n(n,a){if(!r.value||n.defaultPrevented)return;let o=a(n);if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:Gv(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!cO(o,lO.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Cr(null);bO("pointerdown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),bO("mousedown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),bO("click",(e=>{gO()||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),bO("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),vO("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function yO(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function wO(e,t){let r=Cr(yO(e.value.type,e.value.as));return Cn((()=>{r.value=yO(e.value.type,e.value.as)})),za((()=>{var e;r.value||Gv(t)&&Gv(t)instanceof HTMLButtonElement&&(null==(e=Gv(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function xO(e){return[e.screenX,e.screenY]}function kO(){let e=Cr([-1,-1]);return{wasMoved(t){let r=xO(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=xO(t)}}}var _O=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(_O||{}),SO=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(SO||{});function EO({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=CO(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?TO(s):1&t?Kv(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>TO({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):TO(s)}function TO({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=PO(e,["unmount","static"]),c=null==(o=r.default)?void 0:o.call(r,n),u={};if(n){let e=!1,t=[];for(let[r,a]of Object.entries(n))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){if(c=AO(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[e,...r]=null!=c?c:[];if(!function(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}(e)||r.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,r)=>r.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).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 "template".',"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 n=CO(null!=(i=e.props)?i:{},l,u),o=Po(e,n,!0);for(let e in n)e.startsWith("on")&&(o.props||(o.props={}),o.props[e]=n[e]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return ri(s,Object.assign({},l,u),{default:()=>c})}function AO(e){return e.flatMap((e=>e.type===uo?AO(e.children):[e]))}function CO(...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&&t.defaultPrevented)return;e(t,...n)}}});return t}function PO(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var DO=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(DO||{});let RO=Fn({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:r})=>()=>{var n;let{features:a,...o}=e;return EO({ourProps:{"aria-hidden":!(2&~a)||(null!=(n=o["aria-hidden"])?n:void 0),hidden:!(4&~a)||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&~a)&&!!(2&~a)&&{display:"none"}}},theirProps:o,slot:{},attrs:r,slots:t,name:"Hidden"})}}),NO=Symbol("Context");var $O=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))($O||{});function IO(){return ba(NO,null)}function MO(e){ga(NO,e)}var LO=(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))(LO||{});let QO=[];!function(e){function t(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&QO[0]!==e.target&&(QO.unshift(e.target),QO=QO.filter((e=>null!=e&&e.isConnected)),QO.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}();var BO=(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))(BO||{});function jO(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=a+1;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;n{(e=null!=e?e:window).addEventListener(t,r,n),a((()=>e.removeEventListener(t,r,n)))}))}var ZO=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(ZO||{});function HO(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.value){let e=Gv(r);e instanceof HTMLElement&&t.add(e)}return t}var VO=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(VO||{});let WO=Object.assign(Fn({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:Cr(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let a=Cr(null);n({el:a,$el:a});let o=ti((()=>rO(a))),i=Cr(!1);Cn((()=>i.value=!0)),Nn((()=>i.value=!1)),function({ownerDocument:e},t){let r=function(e){let t=Cr(QO.slice());return Za([e],(([e],[r])=>{!0===r&&!1===e?Hv((()=>{t.value.splice(0)})):!1===r&&!0===e&&(t.value=QO.slice())}),{flush:"post"}),()=>{var e;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t);Cn((()=>{za((()=>{var n,a;t.value||(null==(n=e.value)?void 0:n.activeElement)===(null==(a=e.value)?void 0:a.body)&&pO(r())}),{flush:"post"})})),Nn((()=>{t.value&&pO(r())}))}({ownerDocument:o},ti((()=>i.value&&Boolean(16&e.features))));let s=function({ownerDocument:e,container:t,initialFocus:r},n){let a=Cr(null),o=Cr(!1);return Cn((()=>o.value=!0)),Nn((()=>o.value=!1)),Cn((()=>{Za([t,r,n],((i,s)=>{if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!n.value)return;let l=Gv(t);l&&Hv((()=>{var t,n;if(!o.value)return;let i=Gv(r),s=null==(t=e.value)?void 0:t.activeElement;if(i){if(i===s)return void(a.value=s)}else if(l.contains(s))return void(a.value=s);i?pO(i):mO(l,aO.First|aO.NoScroll)===oO.Error&&console.warn("There are no focusable elements inside the "),a.value=null==(n=e.value)?void 0:n.activeElement}))}),{immediate:!0,flush:"post"})})),a}({ownerDocument:o,container:a,initialFocus:ti((()=>e.initialFocus))},ti((()=>i.value&&Boolean(2&e.features))));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){var o;qO(null==(o=e.value)?void 0:o.defaultView,"focus",(e=>{if(!a.value)return;let o=HO(r);Gv(t)instanceof HTMLElement&&o.add(Gv(t));let i=n.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?XO(o,s)?(n.value=s,pO(s)):(e.preventDefault(),e.stopPropagation(),pO(i)):pO(n.value)}),!0)}({ownerDocument:o,container:a,containers:e.containers,previousActiveElement:s},ti((()=>i.value&&Boolean(8&e.features))));let l=function(){let e=Cr(0);return vO("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}();function c(e){let t=Gv(a);t&&Kv(l.value,{[ZO.Forwards]:()=>{mO(t,aO.First,{skipElements:[e.relatedTarget]})},[ZO.Backwards]:()=>{mO(t,aO.Last,{skipElements:[e.relatedTarget]})}})}let u=Cr(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}function p(t){if(!i.value)return;let r=HO(e.containers);Gv(a)instanceof HTMLElement&&r.add(Gv(a));let n=t.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(XO(r,n)||(u.value?mO(Gv(a),Kv(l.value,{[ZO.Forwards]:()=>aO.Next,[ZO.Backwards]:()=>aO.Previous})|aO.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&pO(t.target)))}return()=>{let n={ref:a,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return ri(uo,[Boolean(4&o)&&ri(RO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:DO.Focusable}),EO({ourProps:n,theirProps:{...t,...l},slot:{},attrs:t,slots:r,name:"FocusTrap"}),Boolean(4&o)&&ri(RO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:DO.Focusable})])}}}),{features:VO});function XO(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function YO(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,a=n.clientWidth-n.offsetWidth,o=e-a;r.style(n,"paddingRight",`${o}px`)}}}function GO(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let KO=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...a){let o=t[e].call(r,...a);o&&(r=o,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:Vv(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:GO(r)},a=[gO()?{before({doc:e,d:t,meta:r}){function n(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=Vv();r.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>r.dispose()))))}let a=null!=(r=window.scrollY)?r:window.pageYOffset,o=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:a}=new URL(r.href),i=e.querySelector(a);i&&!n(i)&&(o=i)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(n(e.target)){let r=e.target;for(;r.parentElement&&n(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;a!==t&&window.scrollTo(0,a),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},YO(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(n))),a.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});KO.subscribe((()=>{let e=KO.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&KO.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&KO.dispatch("TEARDOWN",r)}}));let JO=new Map,ey=new Map;function ty(e,t=Cr(!0)){za((r=>{var n;if(!t.value)return;let a=Gv(e);if(!a)return;r((function(){var e;if(!a)return;let t=null!=(e=ey.get(a))?e:1;if(1===t?ey.delete(a):ey.set(a,t-1),1!==t)return;let r=JO.get(a);r&&(null===r["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",r["aria-hidden"]),a.inert=r.inert,JO.delete(a))}));let o=null!=(n=ey.get(a))?n:0;ey.set(a,o+1),0===o&&(JO.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)}))}let ry=Symbol("ForcePortalRootContext"),ny=Fn({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:r})=>(ga(ry,e.force),()=>{let{force:n,...a}=e;return EO({theirProps:a,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})})}),ay=Symbol("StackContext");var oy=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(oy||{});let iy=Symbol("DescriptionContext"),sy=Fn({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r}){var n;let a=null!=(n=e.id)?n:`headlessui-description-${Yv()}`,o=function(){let e=ba(iy,null);if(null===e)throw new Error("Missing parent");return e}();return Cn((()=>Nn(o.register(a)))),()=>{let{name:n="Description",slot:i=Cr({}),props:s={}}=o,{...l}=e;return EO({ourProps:{...Object.entries(s).reduce(((e,[t,r])=>Object.assign(e,{[t]:Nr(r)})),{}),id:a},theirProps:l,slot:i.value,attrs:t,slots:r,name:n})}}});const ly=new WeakMap;function cy(e,t){let r=t(function(e){var t;return null!=(t=ly.get(e))?t:0}(e));return r<=0?ly.delete(e):ly.set(e,r),r}let uy=Fn({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=Cr(null),a=ti((()=>rO(n))),o=ba(ry,!1),i=ba(py,null),s=Cr(!0===o||null==i?function(e){let t=rO(e);if(!t){if(null===e)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let r=t.getElementById("headlessui-portal-root");if(r)return r;let n=t.createElement("div");return n.setAttribute("id","headlessui-portal-root"),t.body.appendChild(n)}(n.value):i.resolveTarget());s.value&&cy(s.value,(e=>e+1));let l=Cr(!1);Cn((()=>{l.value=!0})),za((()=>{o||null!=i&&(s.value=i.resolveTarget())}));let c=ba(dy,null),u=!1,d=Fo();return Za(n,(()=>{if(u||!c)return;let e=Gv(n);e&&(Nn(c.register(e),d),u=!0)})),Nn((()=>{var e,t;let r=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root");!r||s.value!==r||cy(s.value,(e=>e-1))||s.value.children.length>0||null==(t=s.value.parentElement)||t.removeChild(s.value)})),()=>{if(!l.value||null===s.value)return null;let a={ref:n,"data-headlessui-portal":""};return ri(lo,{to:s.value},EO({ourProps:a,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),dy=Symbol("PortalParentContext"),py=Symbol("PortalGroupContext"),hy=Fn({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=hr({resolveTarget:()=>e.target});return ga(py,n),()=>{let{target:n,...a}=e;return EO({theirProps:a,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}});var fy,my=((fy=my||{})[fy.Open=0]="Open",fy[fy.Closed=1]="Closed",fy);let gy=Symbol("DialogContext");function by(e){let t=ba(gy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,by),t}return t}let vy="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Oy=Fn({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:vy},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:r,slots:n,expose:a}){var o,i;let s=null!=(o=e.id)?o:`headlessui-dialog-${Yv()}`,l=Cr(!1);Cn((()=>{l.value=!0}));let c=!1,u=ti((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog"))),d=Cr(0),p=IO(),h=ti((()=>e.open===vy&&null!==p?(p.value&$O.Open)===$O.Open:e.open)),f=Cr(null),m=ti((()=>rO(f)));if(a({el:f,$el:f}),e.open===vy&&null===p)throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof h.value)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===vy?void 0:e.open}`);let g=ti((()=>l.value&&h.value?0:1)),b=ti((()=>0===g.value)),v=ti((()=>d.value>1)),O=null!==ba(gy,null),[y,w]=function(){let e=ba(dy,null),t=Cr([]);function r(r){let n=t.value.indexOf(r);-1!==n&&t.value.splice(n,1),e&&e.unregister(r)}let n={register:function(n){return t.value.push(n),e&&e.register(n),()=>r(n)},unregister:r,portals:t};return[t,Fn({name:"PortalWrapper",setup:(e,{slots:t})=>(ga(dy,n),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})})]}(),{resolveContainers:x,mainTreeNodeRef:k,MainTreeNode:_}=function({defaultContainers:e=[],portals:t,mainTreeNodeRef:r}={}){let n=Cr(null),a=rO(n);function o(){var r,o,i;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"value"in t&&t.value instanceof HTMLElement&&s.push(t.value));if(null!=t&&t.value)for(let e of t.value)s.push(e);for(let e of null!=(r=null==a?void 0:a.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(Gv(n))||e.contains(null==(i=null==(o=Gv(n))?void 0:o.getRootNode())?void 0:i.host)||s.some((t=>e.contains(t)))||s.push(e));return s}return{resolveContainers:o,contains:e=>o().some((t=>t.contains(e))),mainTreeNodeRef:n,MainTreeNode:()=>null!=r?null:ri(RO,{features:DO.Hidden,ref:n})}}({portals:y,defaultContainers:[ti((()=>{var e;return null!=(e=N.panelRef.value)?e:f.value}))]}),S=ti((()=>v.value?"parent":"leaf")),E=ti((()=>null!==p&&(p.value&$O.Closing)===$O.Closing)),T=ti((()=>!O&&!E.value&&b.value)),A=ti((()=>{var e,t,r;return null!=(r=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(Gv(k))&&e instanceof HTMLElement)))?r:null}));ty(A,T);let C=ti((()=>!!v.value||b.value)),P=ti((()=>{var e,t,r;return null!=(r=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(Gv(k))&&e instanceof HTMLElement)))?r:null}));ty(P,C),function({type:e,enabled:t,element:r,onUpdate:n}){let a=ba(ay,(()=>{}));function o(...e){null==n||n(...e),a(...e)}Cn((()=>{Za(t,((t,n)=>{t?o(0,e,r):!0===n&&o(1,e,r)}),{immediate:!0,flush:"sync"})})),Nn((()=>{t.value&&o(1,e,r)})),ga(ay,o)}({type:"Dialog",enabled:ti((()=>0===g.value)),element:f,onUpdate:(e,t)=>{if("Dialog"===t)return Kv(e,{[oy.Add]:()=>d.value+=1,[oy.Remove]:()=>d.value-=1})}});let D=function({slot:e=Cr({}),name:t="Description",props:r={}}={}){let n=Cr([]);return ga(iy,{register:function(e){return n.value.push(e),()=>{let t=n.value.indexOf(e);-1!==t&&n.value.splice(t,1)}},slot:e,name:t,props:r}),ti((()=>n.value.length>0?n.value.join(" "):void 0))}({name:"DialogDescription",slot:ti((()=>({open:h.value})))}),R=Cr(null),N={titleId:R,panelRef:Cr(null),dialogState:g,setTitleId(e){R.value!==e&&(R.value=e)},close(){t("close",!1)}};ga(gy,N);let $=ti((()=>!(!b.value||v.value)));OO(x,((e,t)=>{e.preventDefault(),N.close(),Kr((()=>null==t?void 0:t.focus()))}),$);let I=ti((()=>!(v.value||0!==g.value)));qO(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{I.value&&(e.defaultPrevented||e.key===LO.Escape&&(e.preventDefault(),e.stopPropagation(),N.close()))}));let M=ti((()=>!(E.value||0!==g.value||O)));return function(e,t,r){let n=function(e){let t=Pr(e.getSnapshot());return Nn(e.subscribe((()=>{t.value=e.getSnapshot()}))),t}(KO),a=ti((()=>{let t=e.value?n.value.get(e.value):void 0;return!!t&&t.count>0}));Za([e,t],(([e,t],[n],a)=>{if(!e||!t)return;KO.dispatch("PUSH",e,r);let o=!1;a((()=>{o||(KO.dispatch("POP",null!=n?n:e,r),o=!0)}))}),{immediate:!0})}(m,M,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}})),za((e=>{if(0!==g.value)return;let t=Gv(f);if(!t)return;let r=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&N.close()}}));r.observe(t),e((()=>r.disconnect()))})),()=>{let{open:t,initialFocus:a,...o}=e,i={...r,ref:f,id:s,role:u.value,"aria-modal":0===g.value||void 0,"aria-labelledby":R.value,"aria-describedby":D.value},l={open:0===g.value};return ri(ny,{force:!0},(()=>[ri(uy,(()=>ri(hy,{target:f.value},(()=>ri(ny,{force:!1},(()=>ri(WO,{initialFocus:a,containers:x,features:b.value?Kv(S.value,{parent:WO.features.RestoreFocus,leaf:WO.features.All&~WO.features.FocusLock}):WO.features.None},(()=>ri(w,{},(()=>EO({ourProps:i,theirProps:{...o,...r},slot:l,attrs:r,slots:n,visible:0===g.value,features:_O.RenderStrategy|_O.Static,name:"Dialog"}))))))))))),ri(_)]))}}}),yy=Fn({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-dialog-panel-${Yv()}`,i=by("DialogPanel");function s(e){e.stopPropagation()}return n({el:i.panelRef,$el:i.panelRef}),()=>{let{...n}=e;return EO({ourProps:{id:o,ref:i.panelRef,onClick:s},theirProps:n,slot:{open:0===i.dialogState.value},attrs:t,slots:r,name:"DialogPanel"})}}}),wy=Fn({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r}){var n;let a=null!=(n=e.id)?n:`headlessui-dialog-title-${Yv()}`,o=by("DialogTitle");return Cn((()=>{o.setTitleId(a),Nn((()=>o.setTitleId(null)))})),()=>{let{...n}=e;return EO({ourProps:{id:a},theirProps:n,slot:{open:0===o.dialogState.value},attrs:t,slots:r,name:"DialogTitle"})}}}),xy=sy;var ky=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ky||{});let _y=Symbol("DisclosureContext");function Sy(e){let t=ba(_y,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sy),t}return t}let Ey=Symbol("DisclosurePanelContext"),Ty=Fn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Cr(e.defaultOpen?0:1),a=Cr(null),o=Cr(null),i={buttonId:Cr(`headlessui-disclosure-button-${Yv()}`),panelId:Cr(`headlessui-disclosure-panel-${Yv()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=Kv(n.value,{0:1,1:0})},closeDisclosure(){1!==n.value&&(n.value=1)},close(e){i.closeDisclosure();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?Gv(e):Gv(i.button):Gv(i.button);null==t||t.focus()}};return ga(_y,i),MO(ti((()=>Kv(n.value,{0:$O.Open,1:$O.Closed})))),()=>{let{defaultOpen:a,...o}=e;return EO({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),Ay=Fn({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=Sy("DisclosureButton"),o=ba(Ey,null),i=ti((()=>null!==o&&o.value===a.panelId.value));Cn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Nn((()=>{i.value||(a.buttonId.value=null)}));let s=Cr(null);n({el:s,$el:s}),i.value||za((()=>{a.button.value=s.value}));let l=wO(ti((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=Gv(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case LO.Space:case LO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=Gv(a.button))||r.focus()}else switch(t.key){case LO.Space:case LO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===LO.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return EO({ourProps:i.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(n=a.buttonId.value)?n:p,ref:s,type:l.value,"aria-expanded":0===a.disclosureState.value,"aria-controls":0===a.disclosureState.value||Gv(a.panel)?a.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,slot:o,attrs:t,slots:r,name:"DisclosureButton"})}}}),Cy=Fn({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=Sy("DisclosurePanel");Cn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Nn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),ga(Ey,a.panelId);let o=IO(),i=ti((()=>null!==o?(o.value&$O.Open)===$O.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return EO({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:_O.RenderStrategy|_O.Static,visible:i.value,name:"DisclosurePanel"})}}}),Py=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Dy(e){var t,r;let n=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return n;let o=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let i=o?null!=(r=a.innerText)?r:"":n;return Py.test(i)&&(i=i.replace(Py,"")),i}function Ry(e){let t=Cr(""),r=Cr("");return()=>{let n=Gv(e);if(!n)return"";let a=n.innerText;if(t.value===a)return r.value;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():Dy(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Dy(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}function Ny(e,t){return e===t}var $y=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($y||{}),Iy=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Iy||{}),My=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(My||{});let Ly=Symbol("ListboxContext");function Qy(e){let t=ba(Ly,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qy),t}return t}let By=Fn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Ny},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){let a=Cr(1),o=Cr(null),i=Cr(null),s=Cr(null),l=Cr([]),c=Cr(""),u=Cr(null),d=Cr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=fO(e(l.value.slice()),(e=>Gv(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=ti((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Cr(null==r?void 0:r.value),a=ti((()=>void 0!==e.value));return[ti((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(ti((()=>e.modelValue)),(e=>n("update:modelValue",e)),ti((()=>e.defaultValue))),g=ti((()=>void 0===f.value?Kv(h.value,{1:[],0:void 0}):f.value)),b={listboxState:a,value:g,mode:h,compare(t,r){if("string"==typeof e.by){let n=e.by;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e.by(t,r)},orientation:ti((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:ti((()=>e.disabled)),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||1!==a.value&&(a.value=1,u.value=null)},openListbox(){e.disabled||0!==a.value&&(a.value=0)},goToOption(t,r,n){if(e.disabled||1===a.value)return;let o=p(),i=jO(t===BO.Specific?{focus:BO.Specific,id:r}:{focus:t},{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});c.value="",u.value=i,d.value=null!=n?n:1,l.value=o.options},search(t){if(e.disabled||1===a.value)return;let r=""!==c.value?0:1;c.value+=t.toLowerCase();let n=(null!==u.value?l.value.slice(u.value+r).concat(l.value.slice(0,u.value+r)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),o=n?l.value.indexOf(n):-1;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){e.disabled||1!==a.value&&""!==c.value&&(c.value="")},registerOption(e,t){let r=p((r=>[...r,{id:e,dataRef:t}]));l.value=r.options,u.value=r.activeOptionIndex},unregisterOption(e){let t=p((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||m(t)},select(t){e.disabled||m(Kv(h.value,{0:()=>t,1:()=>{let e=xr(b.value.value).slice(),r=xr(t),n=e.findIndex((e=>b.compare(r,xr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};OO([i,s],((e,t)=>{var r;b.closeListbox(),cO(t,lO.Loose)||(e.preventDefault(),null==(r=Gv(i))||r.focus())}),ti((()=>0===a.value))),ga(Ly,b),MO(ti((()=>Kv(a.value,{0:$O.Open,1:$O.Closed}))));let v=ti((()=>{var e;return null==(e=Gv(i))?void 0:e.closest("form")}));return Cn((()=>{Za([v],(()=>{if(v.value&&void 0!==e.defaultValue)return v.value.addEventListener("reset",t),()=>{var e;null==(e=v.value)||e.removeEventListener("reset",t)};function t(){b.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{let{name:n,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===a.value,disabled:i,value:g.value};return ri(uo,[...null!=n&&null!=g.value?UO({[n]:g.value}).map((([e,t])=>ri(RO,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:DO.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],EO({ourProps:{},theirProps:{...r,...PO(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),jy=Fn({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-button-${Yv()}`,i=Qy("ListboxButton");function s(e){switch(e.key){case LO.Space:case LO.Enter:case LO.ArrowDown:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Gv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(BO.First)}));break;case LO.ArrowUp:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Gv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(BO.Last)}))}}function l(e){e.key===LO.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Gv(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=wO(ti((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n,a;let d={open:0===i.listboxState.value,disabled:i.disabled.value,value:i.value.value},{...p}=e;return EO({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=Gv(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=Gv(i.labelRef))?void 0:a.id,o].join(" "):void 0,disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},theirProps:p,slot:d,attrs:t,slots:r,name:"ListboxButton"})}}}),Uy=Fn({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-options-${Yv()}`,i=Qy("ListboxOptions"),s=Cr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case LO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case LO.Enter:if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case Kv(i.orientation.value,{vertical:LO.ArrowDown,horizontal:LO.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.Next);case Kv(i.orientation.value,{vertical:LO.ArrowUp,horizontal:LO.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.Previous);case LO.Home:case LO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.First);case LO.End:case LO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.Last);case LO.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case LO.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}n({el:i.optionsRef,$el:i.optionsRef});let c=IO(),u=ti((()=>null!==c?(c.value&$O.Open)===$O.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return EO({ourProps:{"aria-activedescendant":null===i.activeOptionIndex.value||null==(n=i.options.value[i.activeOptionIndex.value])?void 0:n.id,"aria-multiselectable":1===i.mode.value||void 0,"aria-labelledby":null==(a=Gv(i.buttonRef))?void 0:a.id,"aria-orientation":i.orientation.value,id:o,onKeydown:l,role:"listbox",tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:r,features:_O.RenderStrategy|_O.Static,visible:u.value,name:"ListboxOptions"})}}}),Fy=Fn({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-option-${Yv()}`,i=Qy("ListboxOption"),s=Cr(null);n({el:s,$el:s});let l=ti((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=ti((()=>Kv(i.mode.value,{0:()=>i.compare(xr(i.value.value),xr(e.value)),1:()=>xr(i.value.value).some((t=>i.compare(xr(t),xr(e.value))))}))),u=ti((()=>Kv(i.mode.value,{1:()=>{var e;let t=xr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(xr(t),xr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=Ry(s),p=ti((()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s})));function h(t){if(e.disabled)return t.preventDefault();i.select(e.value),0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(BO.Nothing);i.goToOption(BO.Specific,o)}Cn((()=>i.registerOption(o,p))),Nn((()=>i.unregisterOption(o))),Cn((()=>{Za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&Kv(i.mode.value,{1:()=>{u.value&&i.goToOption(BO.Specific,o)},0:()=>{i.goToOption(BO.Specific,o)}})}),{immediate:!0})})),za((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Kr((()=>{var e,t;return null==(t=null==(e=Gv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=kO();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(BO.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(BO.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return EO({ourProps:{id:o,ref:s,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,onMouseenter:g,onPointermove:b,onMousemove:b,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:r,slots:t,name:"ListboxOption"})}}});var zy=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(zy||{}),qy=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(qy||{});let Zy=Symbol("MenuContext");function Hy(e){let t=ba(Zy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Hy),t}return t}let Vy=Fn({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:r}){let n=Cr(1),a=Cr(null),o=Cr(null),i=Cr([]),s=Cr(""),l=Cr(null),c=Cr(1);function u(e=(e=>e)){let t=null!==l.value?i.value[l.value]:null,r=fO(e(i.value.slice()),(e=>Gv(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{items:r,activeItemIndex:n}}let d={menuState:n,buttonRef:a,itemsRef:o,items:i,searchQuery:s,activeItemIndex:l,activationTrigger:c,closeMenu:()=>{n.value=1,l.value=null},openMenu:()=>n.value=0,goToItem(e,t,r){let n=u(),a=jO(e===BO.Specific?{focus:BO.Specific,id:t}:{focus:e},{resolveItems:()=>n.items,resolveActiveIndex:()=>n.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value="",l.value=a,c.value=null!=r?r:1,i.value=n.items},search(e){let t=""!==s.value?0:1;s.value+=e.toLowerCase();let r=(null!==l.value?i.value.slice(l.value+t).concat(i.value.slice(0,l.value+t)):i.value).find((e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled)),n=r?i.value.indexOf(r):-1;-1===n||n===l.value||(l.value=n,c.value=1)},clearSearch(){s.value=""},registerItem(e,t){let r=u((r=>[...r,{id:e,dataRef:t}]));i.value=r.items,l.value=r.activeItemIndex,c.value=1},unregisterItem(e){let t=u((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));i.value=t.items,l.value=t.activeItemIndex,c.value=1}};return OO([a,o],((e,t)=>{var r;d.closeMenu(),cO(t,lO.Loose)||(e.preventDefault(),null==(r=Gv(a))||r.focus())}),ti((()=>0===n.value))),ga(Zy,d),MO(ti((()=>Kv(n.value,{0:$O.Open,1:$O.Closed})))),()=>{let a={open:0===n.value,close:d.closeMenu};return EO({ourProps:{},theirProps:e,slot:a,slots:t,attrs:r,name:"Menu"})}}}),Wy=Fn({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-button-${Yv()}`,i=Hy("MenuButton");function s(e){switch(e.key){case LO.Space:case LO.Enter:case LO.ArrowDown:e.preventDefault(),e.stopPropagation(),i.openMenu(),Kr((()=>{var e;null==(e=Gv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(BO.First)}));break;case LO.ArrowUp:e.preventDefault(),e.stopPropagation(),i.openMenu(),Kr((()=>{var e;null==(e=Gv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(BO.Last)}))}}function l(e){e.key===LO.Space&&e.preventDefault()}function c(t){e.disabled||(0===i.menuState.value?(i.closeMenu(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),i.openMenu(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Gv(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=wO(ti((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n;let a={open:0===i.menuState.value},{...d}=e;return EO({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"menu","aria-controls":null==(n=Gv(i.itemsRef))?void 0:n.id,"aria-expanded":0===i.menuState.value,onKeydown:s,onKeyup:l,onClick:c},theirProps:d,slot:a,attrs:t,slots:r,name:"MenuButton"})}}}),Xy=Fn({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-items-${Yv()}`,i=Hy("MenuItems"),s=Cr(null);function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case LO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case LO.Enter:e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value&&(null==(t=Gv(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()),i.closeMenu(),uO(Gv(i.buttonRef));break;case LO.ArrowDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.Next);case LO.ArrowUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.Previous);case LO.Home:case LO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.First);case LO.End:case LO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.Last);case LO.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case LO.Tab:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Kr((()=>function(e,t){return mO(sO(),t,{relativeTo:e})}(Gv(i.buttonRef),e.shiftKey?aO.Previous:aO.Next)));break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){e.key===LO.Space&&e.preventDefault()}n({el:i.itemsRef,$el:i.itemsRef}),function({container:e,accept:t,walk:r,enabled:n}){za((()=>{let a=e.value;if(!a||void 0!==n&&!n.value)return;let o=rO(e);if(!o)return;let i=Object.assign((e=>t(e)),{acceptNode:t}),s=o.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)r(s.currentNode)}))}({container:ti((()=>Gv(i.itemsRef))),enabled:ti((()=>0===i.menuState.value)),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 u=IO(),d=ti((()=>null!==u?(u.value&$O.Open)===$O.Open:0===i.menuState.value));return()=>{var n,a;let s={open:0===i.menuState.value},{...u}=e;return EO({ourProps:{"aria-activedescendant":null===i.activeItemIndex.value||null==(n=i.items.value[i.activeItemIndex.value])?void 0:n.id,"aria-labelledby":null==(a=Gv(i.buttonRef))?void 0:a.id,id:o,onKeydown:l,onKeyup:c,role:"menu",tabIndex:0,ref:i.itemsRef},theirProps:u,slot:s,attrs:t,slots:r,features:_O.RenderStrategy|_O.Static,visible:d.value,name:"MenuItems"})}}}),Yy=Fn({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-item-${Yv()}`,i=Hy("MenuItem"),s=Cr(null);n({el:s,$el:s});let l=ti((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===o)),c=Ry(s),u=ti((()=>({disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){if(e.disabled)return t.preventDefault();i.closeMenu(),uO(Gv(i.buttonRef))}function p(){if(e.disabled)return i.goToItem(BO.Nothing);i.goToItem(BO.Specific,o)}Cn((()=>i.registerItem(o,u))),Nn((()=>i.unregisterItem(o))),za((()=>{0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&Kr((()=>{var e,t;return null==(t=null==(e=Gv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let h=kO();function f(e){h.update(e)}function m(t){h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(BO.Specific,o,0))}function g(t){h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(BO.Nothing))}return()=>{let{disabled:n,...a}=e,c={active:l.value,disabled:n,close:i.closeMenu};return EO({ourProps:{id:o,ref:s,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,onClick:d,onFocus:p,onPointerenter:f,onMouseenter:f,onPointermove:m,onMousemove:m,onPointerleave:g,onMouseleave:g},theirProps:{...r,...a},slot:c,attrs:r,slots:t,name:"MenuItem"})}}}),Gy=Fn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Cr(!0);return()=>t.value?ri(RO,{as:"button",type:"button",features:DO.Focusable,onFocus(r){r.preventDefault();let n,a=50;n=requestAnimationFrame((function r(){var o;if(!(a--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(n)):void(n=requestAnimationFrame(r));n&&cancelAnimationFrame(n)}))}}):null}});var Ky=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ky||{}),Jy=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Jy||{});let ew=Symbol("TabsContext");function tw(e){let t=ba(ew,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,tw),t}return t}let rw=Symbol("TabsSSRContext"),nw=Fn({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){var a;let o=Cr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Cr([]),s=Cr([]),l=ti((()=>null!==e.selectedIndex)),c=ti((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=fO(d.tabs.value,Gv),n=fO(d.panels.value,Gv),a=r.filter((e=>{var t;return!(null!=(t=Gv(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=Kv(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>Kv(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=Kv(t,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});-1!==i&&(o.value=i),d.tabs.value=r,d.panels.value=n}else{let i=r.slice(0,e),s=[...r.slice(e),...i].find((e=>a.includes(e)));if(!s)return;let l=null!=(t=r.indexOf(s))?t:d.selectedIndex.value;-1===l&&(l=d.selectedIndex.value),o.value=l,d.tabs.value=r,d.panels.value=n}}let d={selectedIndex:ti((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:ti((()=>e.vertical?"vertical":"horizontal")),activation:ti((()=>e.manual?"manual":"auto")),tabs:i,panels:s,setSelectedIndex(e){c.value!==e&&n("change",e),l.value||u(e)},registerTab(e){var t;if(i.value.includes(e))return;let r=i.value[o.value];if(i.value.push(e),i.value=fO(i.value,Gv),!l.value){let e=null!=(t=i.value.indexOf(r))?t:o.value;-1!==e&&(o.value=e)}},unregisterTab(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)},registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=fO(s.value,Gv))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};ga(ew,d);let p=Cr({tabs:[],panels:[]}),h=Cr(!1);Cn((()=>{h.value=!0})),ga(rw,ti((()=>h.value?null:p.value)));let f=ti((()=>e.selectedIndex));return Cn((()=>{Za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),za((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=fO(d.tabs.value,Gv);e.some(((e,t)=>Gv(d.tabs.value[t])!==Gv(e)))&&d.setSelectedIndex(e.findIndex((e=>Gv(e)===Gv(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ri(uo,[i.value.length<=0&&ri(Gy,{onFocus:()=>{for(let e of i.value){let t=Gv(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),EO({theirProps:{...r,...PO(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),aw=Fn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=tw("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return EO({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),ow=Fn({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-tab-${Yv()}`,i=tw("Tab"),s=Cr(null);n({el:s,$el:s}),Cn((()=>i.registerTab(s))),Nn((()=>i.unregisterTab(s)));let l=ba(rw),c=ti((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=ti((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=ti((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===oO.Success&&"auto"===i.activation.value){let e=null==(t=rO(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>Gv(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>Gv(e))).filter(Boolean);if(e.key===LO.Space||e.key===LO.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case LO.Home:case LO.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>mO(t,aO.First)));case LO.End:case LO.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>mO(t,aO.Last)))}return p((()=>Kv(i.orientation.value,{vertical:()=>e.key===LO.ArrowUp?mO(t,aO.Previous|aO.WrapAround):e.key===LO.ArrowDown?mO(t,aO.Next|aO.WrapAround):oO.Error,horizontal:()=>e.key===LO.ArrowLeft?mO(t,aO.Previous|aO.WrapAround):e.key===LO.ArrowRight?mO(t,aO.Next|aO.WrapAround):oO.Error})))===oO.Success?e.preventDefault():void 0}let f=Cr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=Gv(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),Hv((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=wO(ti((()=>({as:e.as,type:t.type}))),s);return()=>{var n,a;let l={selected:d.value,disabled:null!=(n=e.disabled)&&n},{...c}=e;return EO({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=Gv(i.panels.value[u.value]))?void 0:a.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},theirProps:c,slot:l,attrs:t,slots:r,name:"Tab"})}}}),iw=Fn({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=tw("TabPanels");return()=>{let a={selectedIndex:n.selectedIndex.value};return EO({theirProps:e,ourProps:{},slot:a,attrs:r,slots:t,name:"TabPanels"})}}}),sw=Fn({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-panel-${Yv()}`,i=tw("TabPanel"),s=Cr(null);n({el:s,$el:s}),Cn((()=>i.registerPanel(s))),Nn((()=>i.unregisterPanel(s)));let l=ba(rw),c=ti((()=>{if(l.value){let e=l.value.panels.indexOf(o);return-1===e?l.value.panels.push(o)-1:e}return-1})),u=ti((()=>{let e=i.panels.value.indexOf(s);return-1===e?c.value:e})),d=ti((()=>u.value===i.selectedIndex.value));return()=>{var n;let a={selected:d.value},{tabIndex:l,...c}=e,p={ref:s,id:o,role:"tabpanel","aria-labelledby":null==(n=Gv(i.tabs.value[u.value]))?void 0:n.id,tabIndex:d.value?l:-1};return d.value||!e.unmount||e.static?EO({ourProps:p,theirProps:c,slot:a,attrs:t,slots:r,features:_O.Static|_O.RenderStrategy,visible:d.value,name:"TabPanel"}):ri(RO,{as:"span","aria-hidden":!0,...p})}}});function lw(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t"boolean"==typeof e?"".concat(e):0===e?"0":e,dw=e=>{const t=function(){for(var t=arguments.length,r=new Array(t),n=0;n{const n=Object.fromEntries(Object.entries(e||{}).filter((e=>{let[t]=e;return!["class","className"].includes(t)})));return t(r.map((e=>e(n))),null==e?void 0:e.class,null==e?void 0:e.className)}},cva:e=>r=>{var n;if(null==(null==e?void 0:e.variants))return t(null==e?void 0:e.base,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:a,defaultVariants:o}=e,i=Object.keys(a).map((e=>{const t=null==r?void 0:r[e],n=null==o?void 0:o[e],i=uw(t)||uw(n);return a[e][i]})),s={...o,...r&&Object.entries(r).reduce(((e,t)=>{let[r,n]=t;return void 0===n?e:{...e,[r]:n}}),{})},l=null==e||null===(n=e.compoundVariants)||void 0===n?void 0:n.reduce(((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every((e=>{let[t,r]=e;const n=s[t];return Array.isArray(r)?r.includes(n):n===r}))?[...e,r,n]:e}),[]);return t(null==e?void 0:e.base,i,l,null==r?void 0:r.class,null==r?void 0:r.className)},cx:t}},{compose:pw,cva:hw,cx:fw}=dw(),mw="-";function gw(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},a=function(e,t){return t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e}(Object.entries(e.classGroups),r);return a.forEach((([e,r])=>{Ow(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(mw);return""===r[0]&&1!==r.length&&r.shift(),bw(r,t)||function(e){if(vw.test(e)){const t=vw.exec(e)[1],r=null==t?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const a=r[e]||[];return t&&n[e]?[...a,...n[e]]:a}}}function bw(e,t){var r;if(0===e.length)return t.classGroupId;const n=e[0],a=t.nextPart.get(n),o=a?bw(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(mw);return null==(r=t.validators.find((({validator:e})=>e(i))))?void 0:r.classGroupId}const vw=/^\[(.+)\]$/;function Ow(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void Ow(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{Ow(a,yw(t,e),r,n)}))}else(""===e?t:yw(t,e)).classGroupId=r}))}function yw(e,t){let r=e;return t.split(mw).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function ww(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function a(a,o){r.set(a,o),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(a(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):a(e,t)}}}const xw="!";function kw(e){const t=e.separator,r=1===t.length,n=t[0],a=t.length;return function(e){const o=[];let i,s=0,l=0;for(let c=0;cl?i-l:void 0}}}const _w=/\s+/;function Sw(){let e,t,r=0,n="";for(;rt(e)),e());return r=function(e){return{cache:ww(e.cacheSize),splitModifiers:kw(e),...gw(e)}}(l),n=r.cache.get,a=r.cache.set,o=i,i(s)};function i(e){const t=n(e);if(t)return t;const o=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=new Set;return e.trim().split(_w).map((e=>{const{modifiers:t,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:i}=r(e);let s=n(i?o.substring(0,i):o),l=Boolean(i);if(!s){if(!i)return{isTailwindClass:!1,originalClassName:e};if(s=n(o),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:a?c+xw:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,i=t+r;return!o.has(i)&&(o.add(i),a(r,n).forEach((e=>o.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return a(e,o),o}return function(){return o(Sw.apply(null,arguments))}}function Aw(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Cw=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pw=/^\d+\/\d+$/,Dw=new Set(["px","full","screen"]),Rw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nw=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$w=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Iw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Lw(e){return Bw(e)||Dw.has(e)||Pw.test(e)}function Qw(e){return Kw(e,"length",Jw)}function Bw(e){return Boolean(e)&&!Number.isNaN(Number(e))}function jw(e){return Kw(e,"number",Bw)}function Uw(e){return Boolean(e)&&Number.isInteger(Number(e))}function Fw(e){return e.endsWith("%")&&Bw(e.slice(0,-1))}function zw(e){return Cw.test(e)}function qw(e){return Rw.test(e)}const Zw=new Set(["length","size","percentage"]);function Hw(e){return Kw(e,Zw,ex)}function Vw(e){return Kw(e,"position",ex)}const Ww=new Set(["image","url"]);function Xw(e){return Kw(e,Ww,rx)}function Yw(e){return Kw(e,"",tx)}function Gw(){return!0}function Kw(e,t,r){const n=Cw.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Jw(e){return Nw.test(e)&&!$w.test(e)}function ex(){return!1}function tx(e){return Iw.test(e)}function rx(e){return Mw.test(e)}function nx(){const e=Aw("colors"),t=Aw("spacing"),r=Aw("blur"),n=Aw("brightness"),a=Aw("borderColor"),o=Aw("borderRadius"),i=Aw("borderSpacing"),s=Aw("borderWidth"),l=Aw("contrast"),c=Aw("grayscale"),u=Aw("hueRotate"),d=Aw("invert"),p=Aw("gap"),h=Aw("gradientColorStops"),f=Aw("gradientColorStopPositions"),m=Aw("inset"),g=Aw("margin"),b=Aw("opacity"),v=Aw("padding"),O=Aw("saturate"),y=Aw("scale"),w=Aw("sepia"),x=Aw("skew"),k=Aw("space"),_=Aw("translate"),S=()=>["auto",zw,t],E=()=>[zw,t],T=()=>["",Lw,Qw],A=()=>["auto",Bw,zw],C=()=>["","0",zw],P=()=>[Bw,jw],D=()=>[Bw,zw];return{cacheSize:500,separator:":",theme:{colors:[Gw],spacing:[Lw,Qw],blur:["none","",qw,zw],brightness:P(),borderColor:[e],borderRadius:["none","","full",qw,zw],borderSpacing:E(),borderWidth:T(),contrast:P(),grayscale:C(),hueRotate:D(),invert:C(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[Fw,Qw],inset:S(),margin:S(),opacity:P(),padding:E(),saturate:P(),scale:P(),sepia:C(),skew:D(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",zw]}],container:["container"],columns:[{columns:[qw]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",zw]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Uw,zw]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",zw]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",Uw,zw]}],"grid-cols":[{"grid-cols":[Gw]}],"col-start-end":[{col:["auto",{span:["full",Uw,zw]},zw]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Gw]}],"row-start-end":[{row:["auto",{span:[Uw,zw]},zw]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",zw]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",zw]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",zw,t]}],"min-w":[{"min-w":[zw,t,"min","max","fit"]}],"max-w":[{"max-w":[zw,t,"none","full","min","max","fit","prose",{screen:[qw]},qw]}],h:[{h:[zw,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[zw,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[zw,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[zw,t,"auto","min","max","fit"]}],"font-size":[{text:["base",qw,Qw]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",jw]}],"font-family":[{font:[Gw]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",zw]}],"line-clamp":[{"line-clamp":["none",Bw,jw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lw,zw]}],"list-image":[{"list-image":["none",zw]}],"list-style-type":[{list:["none","disc","decimal",zw]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lw,Qw]}],"underline-offset":[{"underline-offset":["auto",Lw,zw]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",zw]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",zw]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Vw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xw]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Lw,zw]}],"outline-w":[{outline:[Lw,Qw]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Lw,Qw]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",qw,Yw]}],"shadow-color":[{shadow:[Gw]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",qw,zw]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",zw]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",zw]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",zw]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[Uw,zw]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",zw]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",zw]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",zw]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lw,Qw,jw]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function ax(e,t,r){void 0!==r&&(e[t]=r)}function ox(e,t){if(t)for(const r in t)ax(e,r,t[r])}function ix(e,t){if(t)for(const r in t){const n=t[r];void 0!==n&&(e[r]=(e[r]||[]).concat(n))}}const sx=function(e,...t){return"function"==typeof e?Tw(nx,e,...t):Tw((()=>function(e,{cacheSize:t,prefix:r,separator:n,extend:a={},override:o={}}){ax(e,"cacheSize",t),ax(e,"prefix",r),ax(e,"separator",n);for(const t in o)ox(e[t],o[t]);for(const t in a)ix(e[t],a[t]);return e}(nx(),e)),...t)}({extend:{classGroups:{"font-size":["text-xxs"]}}}),{cva:lx,cx:cx,compose:ux}=dw({hooks:{onComplete:e=>sx(e)}}),dx=()=>hr({open:!1,show(){this.open=!0},hide(){this.open=!1}}),px=Fn({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},setup(e){const t=lx({base:["scalar-modal","col relative mx-auto mb-0 mt-20 w-full rounded-lg bg-b-2 p-0 text-left leading-snug text-c-1 opacity-0"].join(" "),variants:{size:{xs:"max-w-screen-xs",sm:"max-w-screen-sm",md:"max-w-screen-md",lg:"max-w-screen-lg",full:"mt-0 overflow-hidden"},variant:{history:"scalar-modal-history bg-b-1",search:"scalar-modal-search"}}}),r=lx({base:["scalar-modal-body","relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-b-1 px-6 pb-4 pt-6"].join(" "),variants:{variant:{history:"pt-3",search:"col max-h-[440px] overflow-hidden p-0"}}});return(e,n)=>(bo(),xo(Nr(Oy),{open:e.state.open,onClose:n[0]||(n[0]=t=>e.state.hide())},{default:mn((()=>[To("div",{class:Ge(Nr(cx)("scalar-modal-layout fixed left-0 top-0 flex items-center justify-center","z-[1001] h-[100dvh] w-[100dvw]","bg-backdrop opacity-0","full"===e.size&&"flex"))},[Ao(Nr(yy),{class:Ge(Nr(t)({size:e.size,variant:e.variant})),style:He({maxWidth:e.maxWidth})},{default:mn((()=>[e.title?(bo(),xo(Nr(wy),{key:0,class:Ge(["scalar-modal-header font-semiBold m-0 rounded-lg px-6 py-3 text-left text-xs text-c-1",{"pb-0 pt-6":"history"===e.variant}])},{default:mn((()=>[Do(nt(e.title),1)])),_:1},8,["class"])):No("",!0),"full"===e.size?(bo(),wo("div",{key:1,class:Ge(e.bodyClass)},[Zn(e.$slots,"default",{},void 0,!0)],2)):(bo(),xo(Nr(xy),{key:2,class:Ge(Nr(cx)(e.bodyClass,Nr(r)({variant:e.variant})))},{default:mn((()=>[Zn(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))])),_:3},8,["class","style"])],2)])),_:3},8,["open"]))}}),hx=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},fx=hx(px,[["__scopeId","data-v-b9af10e0"]]),mx={solid:["scalar-button-solid","bg-b-btn text-c-btn shadow-sm active:bg-b-btn active:shadow-none hocus:bg-h-btn"],outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-transparent text-c-1 hocus:bg-border"],ghost:["scalar-button-ghost","bg-transparent text-c-3 transition-colors active:text-c-1 hocus:text-c-1"],danger:["scalar-button-danger","bg-error text-white active:brightness-90 hocus:brightness-90"]},gx=lx({base:"scalar-button scalar-row cursor-pointer items-center justify-center rounded font-medium",variants:{disabled:{true:"bg-background-2 text-color-3 cursor-not-allowed shadow-none"},fullWidth:{true:"w-full"},size:{sm:"px-2 py-1 text-xs",md:"h-10 px-6 text-sm"},variant:mx},compoundVariants:[{disabled:!0,variant:"ghost",class:"text-ghost bg-transparent"}]}),bx=Ro('',5),vx={key:0,class:"circular-loader"},Ox=hx(Fn({__name:"ScalarLoading",props:{loadingState:{},size:{default:"24px"}},setup:e=>(hi((e=>({d6cae758:e.size}))),(e,t)=>e.loadingState?(bo(),wo("div",{key:0,class:Ge(Nr(cx)("loader-wrapper"))},[(bo(),wo("svg",{class:Ge(["svg-loader",{"icon-is-valid":e.loadingState.isValid,"icon-is-invalid":e.loadingState.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[bx,e.loadingState.isLoading?(bo(),wo("g",vx,[To("circle",{class:Ge(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"2"},null,2)])):No("",!0)],2))],2)):No("",!0))}),[["__scopeId","data-v-47faceda"]]),yx=["ariaDisabled","type"],wx={key:3,class:"centered-x absolute"},xx=Fn({inheritAttrs:!1,__name:"ScalarButton",props:{disabled:{type:Boolean},fullWidth:{type:Boolean,default:!1},loading:{},size:{default:"md"},variant:{default:"solid"},type:{default:"button"}},setup(e){const t=ti((()=>{const{class:e,...t}=Kn();return{class:e||"",rest:t}}));return(e,r)=>{var n,a,o,i;return bo(),wo("button",Lo(t.value.rest,{ariaDisabled:e.disabled||void 0,class:Nr(cx)(Nr(gx)({fullWidth:e.fullWidth,disabled:e.disabled,size:e.size,variant:e.variant}),{relative:null==(n=e.loading)?void 0:n.isLoading},`${t.value.class}`),type:e.type}),[e.$slots.icon?(bo(),wo("div",{key:0,class:Ge(["mr-2 h-4 w-4",{invisible:null==(a=e.loading)?void 0:a.isLoading}])},[Zn(e.$slots,"icon")],2)):No("",!0),e.loading?(bo(),wo("span",{key:1,class:Ge({invisible:null==(o=e.loading)?void 0:o.isLoading})},[Zn(e.$slots,"default")],2)):Zn(e.$slots,"default",{key:2}),null!=(i=e.loading)&&i.isLoading?(bo(),wo("div",wx,[Ao(Nr(Ox),{loadingState:e.loading,size:"12px"},null,8,["loadingState"])])):No("",!0)],16,yx)}}}),kx={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},_x=function(e){if(null==e)return Ex;if("function"==typeof e)return Sx(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++rl&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}function Fx(e,t,r){return"element"===e.type?function(e,t,r){const n=Zx(e,r),a=e.children||[];let o,i,s=-1,l=[];if(Bx(e))return l;for(Ix(e)||Qx(e)&&Tx(t,e,Qx)?i="\n":Lx(e)?(o=2,i=2):jx(e)&&(o=1,i=1);++stk(e,t,r-1)))}const rk="[A-Za-z$_][0-9A-Za-z$_]*",nk=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],ak=["true","false","null","undefined","NaN","Infinity"],ok=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ik=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sk=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],lk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ck=[].concat(sk,ok,ik);var uk="[0-9](_*[0-9])*",dk=`\\.(${uk})`,pk="[0-9a-fA-F](_*[0-9a-fA-F])*",hk={className:"number",variants:[{begin:`(\\b(${uk})((${dk})|\\.)?|(${dk}))[eE][+-]?(${uk})[fFdD]?\\b`},{begin:`\\b(${uk})((${dk})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${dk})[fFdD]?\\b`},{begin:`\\b(${uk})[fFdD]\\b`},{begin:`\\b0[xX]((${pk})\\.?|(${pk})?\\.(${pk}))[pP][+-]?(${uk})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${pk})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const fk=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],mk=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],gk=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],bk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],vk=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),Ok=gk.concat(bk),yk=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],wk=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],xk=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],kk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],_k=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Sk(e){return e?"string"==typeof e?e:e.source:null}function Ek(e){return Tk("(?=",e,")")}function Tk(...e){return e.map((e=>Sk(e))).join("")}function Ak(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>Sk(e))).join("|")+")"}const Ck=e=>Tk(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Pk=["Protocol","Type"].map(Ck),Dk=["init","self"].map(Ck),Rk=["Any","Self"],Nk=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],$k=["false","nil","true"],Ik=["assignment","associativity","higherThan","left","lowerThan","none","right"],Mk=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Lk=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Qk=Ak(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Bk=Ak(Qk,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),jk=Tk(Qk,Bk,"*"),Uk=Ak(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Fk=Ak(Uk,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),zk=Tk(Uk,Fk,"*"),qk=Tk(/[A-Z]/,Fk,"*"),Zk=["attached","autoclosure",Tk(/convention\(/,Ak("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Tk(/objc\(/,zk,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Hk=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],Vk="[A-Za-z$_][0-9A-Za-z$_]*",Wk=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Xk=["true","false","null","undefined","NaN","Infinity"],Yk=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Gk=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Kk=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Jk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],e_=[].concat(Kk,Yk,Gk);function t_(e){const t=e.regex,r=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[a,s,i,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[a,o,s,i]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/"),e.write(``),e.close()}})),(e,t)=>(bo(),xo(F7,null,{title:mn((()=>[Do(nt(e.title),1)])),default:mn((()=>[e.active?(bo(),xo(s6,{key:0,columns:[""]},{default:mn((()=>[Ao(c6,null,{default:mn((()=>[Ao(u6,{class:"relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]"},{default:mn((()=>[To("div",phe,[To("span",hhe,nt(o.value),1),Ao(Nr(lQ),{class:"text-c-3 ml-1 mt-px",icon:"ChevronDown",size:"xs"})]),Qn(To("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"absolute inset-0 w-auto opacity-0",onClick:t[1]||(t[1]=zi((()=>{}),["prevent"]))},[(bo(),wo(uo,null,jn(i,(e=>To("option",{key:e,value:e},nt(e),9,fhe))),64))],512),[[Li,o.value]])])),_:1})])),_:1}),Ao(c6,null,{default:mn((()=>["raw"===o.value?(bo(),xo(Nr(zM),{key:0,class:"force-text-sm rounded-b border-t-0",content:e.data,lang:n.value},null,8,["content","lang"])):(bo(),wo("iframe",{key:1,ref_key:"iframe",ref:a,allowfullscreen:"",allowtransparency:"true",class:"w-full aspect-video",frameborder:"0"},null,512))])),_:1})])),_:1})):No("",!0)])),_:1}))}}),ghe=x0(mhe,[["__scopeId","data-v-99c6c7a3"]]),bhe={class:"relative col-1 flex-center gap-6 p-2 capitalize"},vhe={class:"flex h-[calc(100%_-_50px)] flex-col items-center justify-center"},Ohe={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},yhe={key:0,class:"flex items-center gap-1.5",type:"button"},whe=Fn({__name:"ResponseEmpty",setup(e){const{workspace:t}=g8();return(e,r)=>(bo(),wo("div",bhe,[To("div",vhe,[Ao(A8,{art:Nr(" .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n")},null,8,["art"])]),To("div",Ohe,[To("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[0]||(r[0]=e=>Nr(o7).emit())},[Do(" Send Request "),Ao(y8,{hotkey:"↵"})]),Nr(t).isReadOnly?No("",!0):(bo(),wo("button",yhe,[Do(" New Request "),Ao(y8,{hotkey:"N"})]))])]))}}),xhe=["href"],khe=Fn({__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(bo(),wo("a",{class:"cursor-help decoration-c-3 underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[Zn(e.$slots,"default")],8,xhe))}),_he=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],She=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Ehe=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],The=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Ahe=(e,t,r)=>{let n=e;return"string"==typeof t||Array.isArray(t)?n=e.toLocaleString(t,r):!0!==t&&void 0===r||(n=e.toLocaleString(void 0,r)),n};function Che(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const r=[],n=(e,n,a,o)=>{if(!(0!==r.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===a))return;let i,s;if(o=(o||e||"0").toString(),t.colonNotation){i=r.length>0?":":"",s="";const e=o.includes(".")?o.split(".")[0].length:o.length,t=r.length>0?2:1;o="0".repeat(Math.max(0,t-e))+o}else i="",s=t.verbose?" "+(l=n,1===e?l:`${l}s`):a;var l;r.push(i+o+s)},a=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}(e);if(n(Math.trunc(a.days/365),"year","y"),n(a.days%365,"day","d"),n(a.hours,"hour","h"),n(a.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(n(a.seconds,"second","s"),t.formatSubMilliseconds)n(a.milliseconds,"millisecond","ms"),n(a.microseconds,"microsecond","µs"),n(a.nanoseconds,"nanosecond","ns");else{const e=a.milliseconds+a.microseconds/1e3+a.nanoseconds/1e6,r="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,o=e>=1?Math.round(e):Math.ceil(e),i=r?e.toFixed(r):o;n(Number.parseFloat(i),"millisecond","ms",i)}else{const r=((e,t)=>{const r=Math.floor(e*10**t+1e-7);return(Math.round(r)/10**t).toFixed(t)})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),a=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"");n(Number.parseFloat(a),"second","s",a)}if(0===r.length)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return r[0];if("number"==typeof t.unitCount){const e=t.colonNotation?"":" ";return r.slice(0,Math.max(t.unitCount,1)).join(e)}return t.colonNotation?r.join(""):r.join(" ")}const Phe={class:"flex gap-1.5 text-c-3 pl-1"},Dhe={key:0},Rhe={key:1},Nhe=Fn({__name:"ResponseMetaInformation",props:{response:{}},setup(e){const t=e,r=e=>{var t;const r=parseInt((null==(t=e.headers)?void 0:t["content-length"])||"0",10);return r?function(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);const r=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?The:Ehe:t.binary?She:_he,n=t.space?" ":"";if(t.signed&&0===e)return` 0${n}${r[0]}`;const a=e<0,o=a?"-":t.signed?"+":"";let i;if(a&&(e=-e),void 0!==t.minimumFractionDigits&&(i={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1)return o+Ahe(e,t.locale,i)+n+r[0];const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),r.length-1);return e/=(t.binary?1024:1e3)**s,i||(e=e.toPrecision(3)),o+Ahe(Number(e),t.locale,i)+n+r[s]}(r):void 0},n=ti((()=>{const e=t.response.status;if(e)return xu[e]??void 0}));return(e,t)=>(bo(),wo("div",Phe,[To("span",null,nt(Nr(Che)(e.response.duration)),1),r(e.response)?(bo(),wo("span",Dhe,nt(r(e.response)),1)):No("",!0),n.value?(bo(),wo(uo,{key:1},[n.value.url?(bo(),xo(khe,{key:0,href:n.value.url},{default:mn((()=>[Do(nt(e.response.status)+" "+nt(n.value.name),1)])),_:1},8,["href"])):(bo(),wo("span",Rhe,nt(e.response.status)+" "+nt(n.value.name),1))],64)):No("",!0)]))}}),$he={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},Ihe=Fn({__name:"DataTableText",props:{text:{}},setup:e=>(e,t)=>(bo(),xo(X7,{class:"relative flex"},{default:mn((()=>[To("span",$he,nt(e.text),1)])),_:1}))}),Mhe={key:1,class:"text-c-3 px-4 text-sm border border-1/2 rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"},Lhe=Fn({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(e,t)=>(bo(),xo(F7,{defaultOpen:!1},{title:mn((()=>[Do("Cookies")])),default:mn((()=>[(bo(),wo(uo,{key:0},[e.cookies.length?(bo(),xo(s6,{key:0,class:"flex-1",columns:["",""]},{default:mn((()=>[(bo(!0),wo(uo,null,jn(e.cookies,((e,t)=>(bo(),xo(c6,{key:t},{default:mn((()=>[Ao(Ihe,{text:e.name},null,8,["text"]),Ao(Ihe,{text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(bo(),wo("div",Mhe," No cookies "))],64))])),_:1}))}),Qhe={key:1,class:"text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"},Bhe=Fn({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("-");return(e,r)=>(bo(),xo(F7,{defaultOpen:!1,itemCount:e.headers.length},{title:mn((()=>[Do("Headers")])),default:mn((()=>[e.headers.length?(bo(),xo(s6,{key:0,columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:mn((()=>[(bo(!0),wo(uo,null,jn(e.headers,((e,r)=>(bo(),xo(c6,{key:r,class:"text-c-1"},{default:mn((()=>[Ao(Ihe,{class:"sticky left-0 z-1 bg-b-1 max-w-48",text:t(e.name)},null,8,["text"]),Ao(Ihe,{class:"z-0",text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(bo(),wo("div",Qhe," No Headers "))])),_:1},8,["itemCount"]))}}),jhe={class:"flex items-center flex-1"},Uhe={class:"custom-scroll flex flex-1 flex-col px-2 xl:px-6 py-2.5"},Fhe=Fn({__name:"ResponseSection",props:{response:{}},setup(e){const t=e,r=ti((()=>{var e;const r=null==(e=t.response)?void 0:e.headers;return r?Object.keys(r).map((e=>({name:e,value:r[e],required:!1}))).filter((e=>!["rest-api-client-content-length","X-API-Client-Content-Length"].includes(e.name))):[]})),n=ti((()=>{var e,r;const n=null==(r=null==(e=t.response)?void 0:e.headers)?void 0:r.cookies;return n?Object.keys(n).map((e=>({name:e,value:n[e],required:!1}))):[]})),a=ti((()=>{var e;const r=null==(e=t.response)?void 0:e.data;return r&&bu(r)?JSON.stringify(JSON.parse(r),null,2):r&&"object"==typeof xr(r)?JSON.stringify(r,null,2):r})),o=["All","Body","Headers","Cookies"],i=Cr("All");return(e,t)=>(bo(),xo(L7,null,{title:mn((()=>[Ao(Nr(lQ),{class:"text-c-3 mr-1.5 rotate-180 stroke-2",icon:"ExternalLink",size:"md"}),To("div",jhe,[Do(" Response "),e.response?(bo(),xo(Nhe,{key:0,response:e.response},null,8,["response"])):No("",!0)])])),default:mn((()=>[To("div",Uhe,[e.response?(bo(),wo(uo,{key:1},[Ao($7,{activeSection:i.value,sections:o,onSetActiveSection:t[0]||(t[0]=e=>i.value=e)},null,8,["activeSection"]),"All"===i.value||"Cookies"===i.value?(bo(),xo(Lhe,{key:0,cookies:n.value},null,8,["cookies"])):No("",!0),"All"===i.value||"Headers"===i.value?(bo(),xo(Bhe,{key:1,headers:r.value},null,8,["headers"])):No("",!0),"All"===i.value||"Body"===i.value?(bo(),xo(ghe,{key:2,active:!0,data:a.value,headers:r.value,title:"Body"},null,8,["data","headers"])):No("",!0)],64)):(bo(),xo(whe,{key:0}))])])),_:1}))}}),zhe=Cr(null),qhe=Cr(null),Zhe=["draggable"],Hhe=Fn({__name:"Draggable",props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,default:!0},isDroppable:{type:Boolean,default:!0},parentIds:{},id:{}},emits:["onDragEnd","onDragStart"],setup(e,{emit:t}){const r=e,n=t,a=ti((()=>(r.parentIds.length??0)>0?r.parentIds[r.parentIds.length-1]:null)),o=e=>{!e.dataTransfer||!(e.target instanceof HTMLDivElement)||!r.isDraggable||(e.target.classList.add("dragging"),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",zhe.value={id:r.id,parentId:a.value},n("onDragStart",{id:r.id,parentId:a.value}))},i=((e,t)=>{let r=!1;return function(...t){r||(e(...t),r=!0,setTimeout((()=>r=!1),25))}})((e=>{var t,n,o;if((null==(t=zhe.value)?void 0:t.id)===r.id||r.parentIds.includes((null==(n=zhe.value)?void 0:n.id)??"")||!r.isDroppable)return;const i=null==(o=qhe.value)?void 0:o.offset,s=e.target.offsetHeight,l=r.floor*s,c=r.ceiling*s;let u=3;e.offsetY<=0&&i&&3!==i?u=i:e.offsetY<=l?u=0:e.offsetY>=c?u=1:e.offsetY>l&&e.offsetY{var e;let t="sidebar-indent-nested";return r.isDroppable&&r.id===(null==(e=qhe.value)?void 0:e.id)&&(t+=` dragover-${s[qhe.value.offset]}`),t})),c=()=>{if(!qhe.value||!zhe.value)return;const e={...zhe.value},t={...qhe.value};zhe.value=null,qhe.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),e.id!==t.id&&n("onDragEnd",e,t)};return(e,t)=>(bo(),wo("div",{class:Ge(l.value),draggable:e.isDraggable,onDragend:c,onDragover:t[0]||(t[0]=zi(((...e)=>Nr(i)&&Nr(i)(...e)),["prevent","stop"])),onDragstart:zi(o,["stop"])},[Zn(e.$slots,"default")],42,Zhe))}}),Vhe=To("span",null,"Add Example",-1),Whe=To("span",null,"Rename",-1),Xhe=To("span",null,"Duplicate",-1),Yhe=To("span",null,"Delete",-1),Ghe=Fn({__name:"RequestSidebarItemMenu",props:{item:{}},setup(e){const t=e,{createExampleFromRequest:r,requestMutators:n}=g8(),a=()=>{if(!("summary"in t.item))return;const e=r(t.item);n.edit(t.item.uid,"childUids",[...t.item.childUids,e.uid])},o=()=>{console.log("rename")},i=()=>{console.log("duplicate")},s=()=>{console.log("delete")},l=ti((()=>"summary"in t.item));return(e,t)=>(bo(),xo(Nr(rQ),{teleport:"#scalar-client"},{items:mn((()=>[l.value?(bo(),xo(Nr(oQ),{key:0,class:"flex !gap-2",onClick:a},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Add",size:"xs"}),Vhe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"1",onHotkeyPressed:a})])),_:1})):No("",!0),Ao(Nr(oQ),{class:"flex !gap-2"},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Edit",size:"xs"}),Whe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"2",onHotkeyPressed:o})])),_:1}),Ao(Nr(oQ),{class:"flex !gap-2"},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Duplicate",size:"xs"}),Xhe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"3",onHotkeyPressed:i})])),_:1}),Ao(Nr(aQ)),Ao(Nr(oQ),{class:"flex !gap-2"},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Trash",size:"xs"}),Yhe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"4",onHotkeyPressed:s})])),_:1})])),default:mn((()=>[Ao(Nr(xx),{class:"z-10 hover:bg-b-3 transition-none p-1 group-hover:flex ui-open:flex absolute left-0 hidden -translate-x-full -ml-1",size:"sm",variant:"ghost",onClick:t[0]||(t[0]=zi((()=>{}),["stop"]))},{default:mn((()=>[Ao(Nr(lQ),{icon:"Ellipses",size:"sm"})])),_:1})])),_:1}))}}),Khe={class:"z-10 font-medium w-full editable-sidebar-hover-item"},Jhe={class:"relative"},efe={class:"flex"},tfe={class:"z-10 mr-[-.5px] flex h-fit items-center justify-center"},rfe={class:"z-10 font-medium"},nfe={key:2},afe="hover:before:bg-sidebar-active-b before:absolute before:inset-0 before:rounded before-left-offset",ofe=Fn({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:Boolean,default:!1},parentUids:{},item:{}},emits:["onDragEnd"],setup(e){hi((e=>({"426379e0":d.value})));const t=e,{activeRequest:r,folders:n,requests:a,requestExamples:o,workspace:i}=g8(),{collapsedSidebarFolders:s,toggleSidebarFolder:l}=k4(),c=J1(),u=ti((()=>"childUids"in t.item)),d=ti((()=>t.parentUids.length?(u.value,`-${16*t.parentUids.length}px`):"0px")),p=e=>{var t;return"spec"in e?null==(t=e.spec.info)?void 0:t.title:"summary"in e?e.summary||e.path:"name"in e?e.name:""},h=ti((()=>("requestUid"in t.item?a[t.item.requestUid]:t.item).method)),f=ti((()=>{var e;return s[t.item.uid]||(null==(e=r.value)?void 0:e.uid)===t.item.uid&&t.item.childUids.length>1}));return(e,t)=>{const d=wn("RequestSidebarItem",!0);return bo(),wo("div",{class:Ge(["relative flex flex-row",[Nr(i).isReadOnly&&e.parentUids.length>1||!Nr(i).isReadOnly&&e.parentUids.length?"before:bg-b-3 pl-4 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-px mb-[.5px] last:mb-0":""]])},[Ao(Nr(Hhe),{id:e.item.uid,ceiling:u.value?.8:.5,class:"flex flex-1 flex-col gap-[.5px] text-sm",floor:u.value?.2:.5,isDraggable:e.parentUids.length>0&&e.isDraggable,isDroppable:e.isDroppable,parentIds:e.parentUids,onOnDragEnd:t[3]||(t[3]=(...t)=>e.$emit("onDragEnd",...t))},{default:mn((()=>["summary"in e.item||"requestUid"in e.item?(bo(),xo(Nr(V1),{key:0,custom:"",to:`/request/${e.item.uid}`},{default:mn((()=>{var n;return[To("div",{class:Ge(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover",[afe,(null==(n=Nr(r))?void 0:n.uid)===e.item.uid?"before:bg-sidebar-active-b text-sidebar-active-c transition-none":"text-sidebar-c-2",(e.isDroppable,"pl-3")]]),tabindex:"0",onClick:t[0]||(t[0]=t=>((e,t)=>{e.metaKey?window.open(`/request/${t}`,"_blank"):c.push(`/request/${t}`)})(t,e.item.uid))},[To("span",Khe,nt(p(e.item)),1),To("div",Jhe,[Nr(i).isReadOnly?No("",!0):(bo(),xo(Ghe,{key:0,item:e.item},null,8,["item"])),To("span",efe,[Do(" "),Ao(Nr(I8),{class:"font-bold",method:h.value},null,8,["method"])])])],2)]})),_:1},8,["to"])):!Nr(i).isReadOnly||e.parentUids.length?(bo(),wo("button",{key:1,class:Ge(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]",afe]),type:"button",onClick:t[1]||(t[1]=t=>Nr(l)(e.item.uid))},[To("span",tfe,[Zn(e.$slots,"leftIcon",{},(()=>[To("div",{class:Ge({"rotate-90":Nr(s)[e.item.uid]})},[Ao(Nr(lQ),{class:"text-c-3 text-sm",icon:"ChevronRight",size:"sm"})],2)]),!0),Do(" ")]),To("span",rfe,nt(p(e.item)),1)])):No("",!0),"childUids"in e.item?Qn((bo(),wo("div",nfe,[(bo(!0),wo(uo,null,jn(e.item.childUids,(r=>(bo(),xo(d,{key:r,isDraggable:e.isDraggable,isDroppable:e.isDroppable,item:Nr(n)[r]||Nr(a)[r]||Nr(o)[r],parentUids:[...e.parentUids,e.item.uid],onOnDragEnd:t[2]||(t[2]=(...t)=>e.$emit("onDragEnd",...t))},null,8,["isDraggable","isDroppable","item","parentUids"])))),128))],512)),[[ui,f.value]]):No("",!0)])),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)}}}),ife=x0(ofe,[["__scopeId","data-v-3cdb431d"]]),sfe={class:"w-sidebar relative flex flex-col border-r bg-b-1"},lfe={key:0,class:"xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm"},cfe={class:"font-medium m-0 text-sm"},ufe={class:"custom-scroll sidebar-height"},dfe=Fn({__name:"Sidebar",setup(e){const{workspace:t}=g8();return(e,r)=>(bo(),wo("aside",sfe,[Nr(t).isReadOnly?No("",!0):(bo(),wo("div",lfe,[To("h2",cfe,[Zn(e.$slots,"title")])])),To("div",ufe,[Zn(e.$slots,"content")]),Zn(e.$slots,"button")]))}});
+ **/function di(e,t){e.style.display=t?e[li]:"none",e[ci]=!t}const pi=Symbol("");function hi(e){const t=Fo();if(!t)return;const r=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>mi(e,r)))},n=()=>{const n=e(t.proxy);fi(t.subTree,n),r(n)};Cn((()=>{Ha(n,null,{flush:"post"});const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),Nn((()=>e.disconnect()))}))}function fi(e,t){if(128&e.shapeFlag){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push((()=>{fi(r.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)mi(e.el,t);else if(e.type===uo)e.children.forEach((e=>fi(e,t)));else if(e.type===fo){let{el:r,anchor:n}=e;for(;r&&(mi(r,t),r!==n);)r=r.nextSibling}}function mi(e,t){if(1===e.nodeType){const r=e.style;let n="";for(const e in t)r.setProperty(`--${e}`,t[e]),n+=`--${e}: ${t[e]};`;r[pi]=n}}const gi=/(^|;)\s*display\s*:/,bi=/\s*!important$/;function vi(e,t,r){if(ve(r))r.forEach((r=>vi(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=function(e,t){const r=yi[t];if(r)return r;let n=Ie(t);if("filter"!==n&&n in e)return yi[t]=n;n=Qe(n);for(let r=0;rEi||(Ti.then((()=>Ei=0)),Ei=Date.now()),Ci=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Pi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?e=>Ue(t,e):t};function Di(e){e.target.composing=!0}function Ri(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ni=Symbol("_assign"),$i={created(e,{modifiers:{lazy:t,trim:r,number:n}},a){e[Ni]=Pi(a);const o=n||a.props&&"number"===a.props.type;ki(e,t?"change":"input",(t=>{if(t.target.composing)return;let n=e.value;r&&(n=n.trim()),o&&(n=ze(n)),e[Ni](n)})),r&&ki(e,"change",(()=>{e.value=e.value.trim()})),t||(ki(e,"compositionstart",Di),ki(e,"compositionend",Ri),ki(e,"change",Ri))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:a,number:o}},i){if(e[Ni]=Pi(i),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:ze(e.value))!==s){if(document.activeElement===e&&"range"!==e.type){if(n&&t===r)return;if(a&&e.value.trim()===s)return}e.value=s}}},Ii={deep:!0,created(e,t,r){e[Ni]=Pi(r),ki(e,"change",(()=>{const t=e._modelValue,r=Bi(e),n=e.checked,a=e[Ni];if(ve(t)){const e=rt(t,r),o=-1!==e;if(n&&!o)a(t.concat(r));else if(!n&&o){const r=[...t];r.splice(e,1),a(r)}}else if(ye(t)){const e=new Set(t);n?e.add(r):e.delete(r),a(e)}else a(ji(e,n))}))},mounted:Mi,beforeUpdate(e,t,r){e[Ni]=Pi(r),Mi(e,t,r)}};function Mi(e,{value:t,oldValue:r},n){e._modelValue=t,ve(t)?e.checked=rt(t,n.props.value)>-1:ye(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=tt(t,ji(e,!0)))}const Li={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const a=ye(t);ki(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>r?ze(Bi(e)):Bi(e)));e[Ni](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,Kr((()=>{e._assigning=!1}))})),e[Ni]=Pi(n)},mounted(e,{value:t,modifiers:{number:r}}){Qi(e,t)},beforeUpdate(e,t,r){e[Ni]=Pi(r)},updated(e,{value:t,modifiers:{number:r}}){e._assigning||Qi(e,t)}};function Qi(e,t,r){const n=e.multiple,a=ve(t);if(!n||a||ye(t)){for(let r=0,o=e.options.length;rString(e)===String(i))):rt(t,i)>-1}else o.selected=t.has(i);else if(tt(Bi(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Bi(e){return"_value"in e?e._value:e.value}function ji(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Ui=["ctrl","shift","alt","meta"],Fi={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ui.some((r=>e[`${r}Key`]&&!t.includes(r)))},zi=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(r,...n)=>{for(let e=0;e{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=r=>{if(!("key"in r))return;const n=Le(r.key);return t.some((e=>e===n||qi[e]===n))?e(r):void 0})},Hi=fe({patchProp:(e,t,r,n,a,o,i,s,l)=>{const c="svg"===a;"class"===t?function(e,t,r){const n=e[si];n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}(e,n,c):"style"===t?function(e,t,r){const n=e.style,a=ke(r);let o=!1;if(r&&!a){if(t)if(ke(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&vi(n,t,"")}else for(const e in t)null==r[e]&&vi(n,e,"");for(const e in r)"display"===e&&(o=!0),vi(n,e,r[e])}else if(a){if(t!==r){const e=n[pi];e&&(r+=";"+e),n.cssText=r,o=gi.test(r)}}else t&&e.removeAttribute("style");li in e&&(e[li]=o?n.display:"",e[ci]&&(n.display="none"))}(e,r,n):pe(t)?he(t)||function(e,t,r,n,a=null){const o=e[_i]||(e[_i]={}),i=o[t];if(n&&i)i.value=n;else{const[r,s]=function(e){let t;if(Si.test(e)){let r;for(t={};r=e.match(Si);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Le(e.slice(2)),t]}(t);if(n){const i=o[t]=function(e,t){const r=e=>{if(e._vts){if(e._vts<=r.attached)return}else e._vts=Date.now();Ur(function(e,t){if(ve(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,r.value),t,5,[e])};return r.value=e,r.attached=Ai(),r}(n,a);ki(e,r,i,s)}else i&&(function(e,t,r,n){e.removeEventListener(t,r,n)}(e,r,i,s),o[t]=void 0)}}(e,t,0,n,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,r,n){if(n)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ci(t)&&xe(r));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Ci(t)||!ke(r))&&t in e}(e,t,n,c))?(function(e,t,r,n,a,o,i){if("innerHTML"===t||"textContent"===t)return n&&i(n,a,o),void(e[t]=null==r?"":r);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const n="OPTION"===s?e.getAttribute("value")||"":e.value,a=null==r?"":String(r);return n===a&&"_value"in e||(e.value=a),null==r&&e.removeAttribute(t),void(e._value=r)}let l=!1;if(""===r||null==r){const n=typeof e[t];"boolean"===n?r=et(r):null==r&&"string"===n?(r="",l=!0):"number"===n&&(r=0,l=!0)}try{e[t]=r}catch(e){}l&&e.removeAttribute(t)}(e,t,n,o,i,s,l),"value"!==t&&"checked"!==t&&"selected"!==t||xi(e,t,n,c,0,"value"!==t)):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),xi(e,t,n,c))}},ii);let Vi;const Wi=(...e)=>{const t=(Vi||(Vi=Ia(Hi))).createApp(...e),{mount:r}=t;return t.mount=e=>{const n=function(e){return ke(e)?document.querySelector(e):e}(e);if(!n)return;const a=t._component;xe(a)||a.render||a.template||(a.template=n.innerHTML),n.innerHTML="";const o=r(n,!1,function(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),o},t},Xi=ni.startsWith("3");function Yi(e,t=""){if(e instanceof Promise)return e;const r="function"==typeof(n=e)?n():Nr(n);var n;return e&&r?Array.isArray(r)?r.map((e=>Yi(e,t))):"object"==typeof r?Object.fromEntries(Object.entries(r).map((([e,t])=>"titleTemplate"===e||e.startsWith("on")?[e,Nr(t)]:[e,Yi(t,e)]))):r:r}const Gi={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Yi(t.input)}}},Ki="usehead";function Ji(e={}){e.domDelayFn=e.domDelayFn||(e=>Kr((()=>setTimeout((()=>e()),0))));const t=function(e={}){const t=function(e={}){const t=new u;t.addHooks(e.hooks||{}),e.document=e.document||(g?document:void 0);const r=!e.document,n=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let a=0,o=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries:()=>o,use(e){const n="function"==typeof e?e(s):e;n.key&&i.some((e=>e.key===n.key))||(i.push(n),ie(n.mode,r)&&t.addHooks(n.hooks||{}))},push(e,i){null==i||delete i.head;const l={_i:a++,input:e,...i};return ie(l.mode,r)&&(o.push(l),n()),{dispose(){o=o.filter((e=>e._i!==l._i)),t.callHook("entries:updated",s),n()},patch(e){o=o.map((t=>(t._i===l._i&&(t.input=l.input=e),t))),n()}}},async resolveTags(){const e={tags:[],entries:[...o]};await t.callHook("entries:resolve",e);for(const r of e.entries){const n=r.resolvedInput||r.input;if(r.resolvedInput=await(r.transform?r.transform(n):n),r.resolvedInput)for(const n of await Q(r)){const a={tag:n,entry:r,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",a),e.tags.push(a.tag)}}return await t.callHook("tags:beforeResolve",e),await t.callHook("tags:resolve",e),await t.callHook("tags:afterResolve",e),e.tags},ssr:r};return[W,X,G,J,ee,re,ne,ae,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),s.hooks.callHook("init",s),s}(e);return t.use(H()),oe=t}(e);return t.use(Gi),t.install=function(e){return{install(t){Xi&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ki,e))}}.install}(t),t}const es="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ts="__unhead_injection_handler__";function rs(e,t={}){const r=t.head||(ts in es?es[ts]():ba(Ki)||oe);if(r)return r.ssr?r.push(e,t):function(e,t,r={}){const n=Cr(!1),a=Cr({});za((()=>{a.value=n.value?{}:Yi(t)}));const o=e.push(a.value,r);return Za(a,(e=>{o.patch(e)})),Fo()&&(Rn((()=>{o.dispose()})),Ka((()=>{n.value=!0})),Ga((()=>{n.value=!1}))),o}(r,e,t)}const ns=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"];function as(e,t){var r,n;const a=[],o=[],i=[];if(!e.customSecurity&&(!e.preferredSecurityScheme||!(s=t)||Array.isArray(s)&&!s.length||(s??[]).some((e=>!Object.keys(e).length))))return{headers:a,queryString:o,cookies:i};var s;const l=(null==t?void 0:t.some((t=>e.preferredSecurityScheme&&Object.keys(t).includes(e.preferredSecurityScheme))))||e.customSecurity?e.preferredSecurityScheme:Object.keys((null==t?void 0:t[0])??{}).pop(),c=null==(r=e.securitySchemes)?void 0:r[l??""];if(c)if("type"in c&&"apiKey"===c.type){if("in"in c&&"header"===c.in){const t=(null==(n=e.apiKey.token)?void 0:n.length)?e.apiKey.token:"YOUR_TOKEN";a.push({name:"name"in c?c.name:"",value:t})}else if("in"in c&&"cookie"===c.in){const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";i.push({name:c.name,value:t})}else if("in"in c&&"query"===c.in){const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";o.push({name:c.name,value:t})}}else if(!("type"in c)||"http"!==c.type&&"basic"!==c.type){if("type"in c&&"oauth2"===c.type.toLowerCase()){const t=e.oAuth2.accessToken||"YOUR_SECRET_TOKEN";a.push({name:"Authorization",value:`Bearer ${t}`})}}else if("type"in c&&("basic"===c.type||"http"===c.type&&"basic"===c.scheme)){const{username:t,password:r}=e.http.basic,n=os(t,r);a.push({name:"Authorization",value:`Basic ${n}`.trim()})}else if("type"in c&&"http"===c.type&&"bearer"===c.scheme){const t=e.http.bearer.token.length?e.http.bearer.token:"YOUR_SECRET_TOKEN";a.push({name:"Authorization",value:`Bearer ${t}`})}return{headers:a,queryString:o,cookies:i}}function os(e,t){return(null==e?void 0:e.length)||(null==t?void 0:t.length)?(r=`${e}:${t}`,"undefined"==typeof window?Buffer.from(r).toString("base64"):btoa(r)):"";var r}function is(e){return[e.apiKey.token,e.http.bearer.token,e.oAuth2.accessToken,os(e.http.basic.username,e.http.basic.password),e.http.basic.password].filter(Boolean)}const ss=(e,t)=>{if("string"!=typeof t||!t.length)return e;const r=e.trim(),n=t.trim();return[r.endsWith("/")?r:`${r}/`,n.startsWith("/")?n.slice(1):n].join("")},ls=e=>{let t=0,r=0,n=0;if(!(null==e?void 0:e.length))return r;for(n=0;ne&&"object"==typeof e&&!Array.isArray(e),us=(e,...t)=>{if(!t.length)return e;const r=t.shift();if(cs(e)&&cs(r))for(const t in r)cs(r[t])?(e[t]||Object.assign(e,{[t]:{}}),us(e[t],r[t])):Object.assign(e,{[t]:r[t]});return us(e,...t)};function ds(e,t){if(!ps(e,t))return t??"";const r=new URL(t);return r.href=e,r.searchParams.append("scalar_url",t),r.toString()}function ps(e,t){return!(!e||!t||!t.startsWith("http://")&&!t.startsWith("https://")||function(e){const{hostname:t}=new URL(e);return["localhost","127.0.0.1","[::1]"].includes(t)}(t))}const hs=Symbol.for("yaml.alias"),fs=Symbol.for("yaml.document"),ms=Symbol.for("yaml.map"),gs=Symbol.for("yaml.pair"),bs=Symbol.for("yaml.scalar"),vs=Symbol.for("yaml.seq"),Os=Symbol.for("yaml.node.type"),ys=e=>!!e&&"object"==typeof e&&e[Os]===hs,ws=e=>!!e&&"object"==typeof e&&e[Os]===fs,xs=e=>!!e&&"object"==typeof e&&e[Os]===ms,ks=e=>!!e&&"object"==typeof e&&e[Os]===gs,_s=e=>!!e&&"object"==typeof e&&e[Os]===bs,Ss=e=>!!e&&"object"==typeof e&&e[Os]===vs;function Es(e){if(e&&"object"==typeof e)switch(e[Os]){case ms:case vs:return!0}return!1}function Ts(e){if(e&&"object"==typeof e)switch(e[Os]){case hs:case ms:case bs:case vs:return!0}return!1}const As=e=>(_s(e)||Es(e))&&!!e.anchor,Cs=Symbol("break visit"),Ps=Symbol("skip children"),Ds=Symbol("remove node");function Rs(e,t){const r=function(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}(t);ws(e)?Ns(null,e.contents,r,Object.freeze([e]))===Ds&&(e.contents=null):Ns(null,e,r,Object.freeze([]))}function Ns(e,t,r,n){const a=function(e,t,r,n){var a,o,i,s,l;return"function"==typeof r?r(e,t,n):xs(t)?null==(a=r.Map)?void 0:a.call(r,e,t,n):Ss(t)?null==(o=r.Seq)?void 0:o.call(r,e,t,n):ks(t)?null==(i=r.Pair)?void 0:i.call(r,e,t,n):_s(t)?null==(s=r.Scalar)?void 0:s.call(r,e,t,n):ys(t)?null==(l=r.Alias)?void 0:l.call(r,e,t,n):void 0}(e,t,r,n);if(Ts(a)||ks(a))return function(e,t,r){const n=t[t.length-1];if(Es(n))n.items[e]=r;else if(ks(n))"key"===e?n.key=r:n.value=r;else{if(!ws(n)){const e=ys(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=r}}(e,n,a),Ns(e,a,r,n);if("symbol"!=typeof a)if(Es(t)){n=Object.freeze(n.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),r)}const[,r,n]=e.match(/^(.*!)([^!]*)$/s);n||t(`The ${e} tag has no suffix`);const a=this.tags[r];if(a)try{return a+decodeURIComponent(n)}catch(e){return t(String(e)),null}return"!"===r?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,r]of Object.entries(this.tags))if(e.startsWith(r))return t+e.substring(r.length).replace(/[!,[\]{}]/g,(e=>$s[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let n;if(e&&r.length>0&&Ts(e.contents)){const t={};Rs(e.contents,((e,r)=>{Ts(r)&&r.tag&&(t[r.tag]=!0)})),n=Object.keys(t)}else n=[];for(const[a,o]of r)"!!"===a&&"tag:yaml.org,2002:"===o||e&&!n.some((e=>e.startsWith(o)))||t.push(`%TAG ${a} ${o}`);return t.join("\n")}}function Ms(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function Ls(e){const t=new Set;return Rs(e,{Value(e,r){r.anchor&&t.add(r.anchor)}}),t}function Qs(e,t){for(let r=1;;++r){const n=`${e}${r}`;if(!t.has(n))return n}}function Bs(e,t,r,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,r=n.length;tjs(e,String(t),r)));if(e&&"function"==typeof e.toJSON){if(!r||!As(e))return e.toJSON(t,r);const n={aliasCount:0,count:1,res:void 0};r.anchors.set(e,n),r.onCreate=e=>{n.res=e,delete r.onCreate};const a=e.toJSON(t,r);return r.onCreate&&r.onCreate(a),a}return"bigint"!=typeof e||(null==r?void 0:r.keep)?e:Number(e)}Is.defaultYaml={explicit:!1,version:"1.2"},Is.defaultTags={"!!":"tag:yaml.org,2002:"};class Us{constructor(e){Object.defineProperty(this,Os,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:r,onAnchor:n,reviver:a}={}){if(!ws(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},i=js(this,"",o);if("function"==typeof n)for(const{count:e,res:t}of o.anchors.values())n(t,e);return"function"==typeof a?Bs(a,{"":i},"",i):i}}let Fs=class extends Us{constructor(e){super(hs),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return Rs(e,{Node:(e,r)=>{if(r===this)return Rs.BREAK;r.anchor===this.source&&(t=r)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:r,doc:n,maxAliasCount:a}=t,o=this.resolve(n);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let i=r.get(o);if(i||(js(o,null,t),i=r.get(o)),!i||void 0===i.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(a>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=zs(n,o,r)),i.count*i.aliasCount>a))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return i.res}toString(e,t,r){const n=`*${this.source}`;if(e){if(Ms(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${n} `}return n}};function zs(e,t,r){if(ys(t)){const n=t.resolve(e),a=r&&n&&r.get(n);return a?a.count*a.aliasCount:0}if(Es(t)){let n=0;for(const a of t.items){const t=zs(e,a,r);t>n&&(n=t)}return n}if(ks(t)){const n=zs(e,t.key,r),a=zs(e,t.value,r);return Math.max(n,a)}return 1}const qs=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Zs extends Us{constructor(e){super(bs),this.value=e}toJSON(e,t){return(null==t?void 0:t.keep)?this.value:js(this.value,e,t)}toString(){return String(this.value)}}Zs.BLOCK_FOLDED="BLOCK_FOLDED",Zs.BLOCK_LITERAL="BLOCK_LITERAL",Zs.PLAIN="PLAIN",Zs.QUOTE_DOUBLE="QUOTE_DOUBLE",Zs.QUOTE_SINGLE="QUOTE_SINGLE";const Hs="tag:yaml.org,2002:";function Vs(e,t,r){var n,a,o;if(ws(e)&&(e=e.contents),Ts(e))return e;if(ks(e)){const t=null==(a=(n=r.schema[ms]).createNode)?void 0:a.call(n,r.schema,null,r);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:s,onTagObj:l,schema:c,sourceObjects:u}=r;let d;if(i&&e&&"object"==typeof e){if(d=u.get(e),d)return d.anchor||(d.anchor=s(e)),new Fs(d.anchor);d={anchor:null,node:null},u.set(e,d)}(null==t?void 0:t.startsWith("!!"))&&(t=Hs+t.slice(2));let p=function(e,t,r){if(t){const e=r.filter((e=>e.tag===t)),n=e.find((e=>!e.format))??e[0];if(!n)throw new Error(`Tag ${t} not found`);return n}return r.find((t=>{var r;return(null==(r=t.identify)?void 0:r.call(t,e))&&!t.format}))}(e,t,c.tags);if(!p){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new Zs(e);return d&&(d.node=t),t}p=e instanceof Map?c[ms]:Symbol.iterator in Object(e)?c[vs]:c[ms]}l&&(l(p),delete r.onTagObj);const h=(null==p?void 0:p.createNode)?p.createNode(r.schema,e,r):"function"==typeof(null==(o=null==p?void 0:p.nodeClass)?void 0:o.from)?p.nodeClass.from(r.schema,e,r):new Zs(e);return t?h.tag=t:p.default||(h.tag=p.tag),d&&(d.node=h),h}function Ws(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){const r=t[e];if("number"==typeof r&&Number.isInteger(r)&&r>=0){const e=[];e[r]=n,n=e}else n=new Map([[r,n]])}return Vs(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Xs=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Ys extends Us{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>Ts(t)||ks(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Xs(e))this.add(t);else{const[r,...n]=e,a=this.get(r,!0);if(Es(a))a.addIn(n,t);else{if(void 0!==a||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,Ws(this.schema,n,t))}}}deleteIn(e){const[t,...r]=e;if(0===r.length)return this.delete(t);const n=this.get(t,!0);if(Es(n))return n.deleteIn(r);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){const[r,...n]=e,a=this.get(r,!0);return 0===n.length?!t&&_s(a)?a.value:a:Es(a)?a.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!ks(t))return!1;const r=t.value;return null==r||e&&_s(r)&&null==r.value&&!r.commentBefore&&!r.comment&&!r.tag}))}hasIn(e){const[t,...r]=e;if(0===r.length)return this.has(t);const n=this.get(t,!0);return!!Es(n)&&n.hasIn(r)}setIn(e,t){const[r,...n]=e;if(0===n.length)this.set(r,t);else{const e=this.get(r,!0);if(Es(e))e.setIn(n,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`);this.set(r,Ws(this.schema,n,t))}}}}Ys.maxFlowStringSingleLineLength=60;const Gs=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ks(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Js=(e,t,r)=>e.endsWith("\n")?Ks(r,t):r.includes("\n")?"\n"+Ks(r,t):(e.endsWith(" ")?"":" ")+r,el="flow",tl="block",rl="quoted";function nl(e,t,r="flow",{indentAtStart:n,lineWidth:a=80,minContentWidth:o=20,onFold:i,onOverflow:s}={}){if(!a||a<0)return e;const l=Math.max(1+o,1+a-t.length);if(e.length<=l)return e;const c=[],u={};let d,p,h=a-t.length;"number"==typeof n&&(n>a-Math.max(2,o)?c.push(0):h=a-n);let f=!1,m=-1,g=-1,b=-1;r===tl&&(m=al(e,m,t.length),-1!==m&&(h=m+l));for(let n;n=e[m+=1];){if(r===rl&&"\\"===n){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}b=m}if("\n"===n)r===tl&&(m=al(e,m,t.length)),h=m+t.length+l,d=void 0;else{if(" "===n&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(d=m)}if(m>=h)if(d)c.push(d),h=d+l,d=void 0;else if(r===rl){for(;" "===p||"\t"===p;)p=n,n=e[m+=1],f=!0;const t=m>b+1?m-2:g-1;if(u[t])return e;c.push(t),u[t]=!0,h=t+l,d=void 0}else f=!0}p=n}if(f&&s&&s(),0===c.length)return e;i&&i();let v=e.slice(0,c[0]);for(let n=0;n({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),il=e=>/^(%|---|\.\.\.)/m.test(e);function sl(e,t){const r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;const{implicitKey:n}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(il(e)?" ":"");let i="",s=0;for(let e=0,t=r[e];t;t=r[++e])if(" "===t&&"\\"===r[e+1]&&"n"===r[e+2]&&(i+=r.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(r[e+1]){case"u":{i+=r.slice(s,e);const t=r.substr(e+2,4);switch(t){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:"00"===t.substr(0,2)?i+="\\x"+t.substr(2):i+=r.substr(e,6)}e+=5,s=e+1}break;case"n":if(n||'"'===r[e+2]||r.lengthn)return!0;if(r=t+1,a-r<=n)return!1}return!0}(r,l,c.length));if(!r)return u?"|\n":">\n";let d,p;for(p=r.length;p>0;--p){const e=r[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=r.substring(p);const f=h.indexOf("\n");-1===f?d="-":r===h||f!==h.length-1?(d="+",o&&o()):d="",h&&(r=r.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ul,`$&${c}`));let m,g=!1,b=-1;for(m=0;m")+(g?c?"2":"1":"")+d;return e&&(O+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),u?`${O}\n${c}${v}${r=r.replace(/\n+/g,`$&${c}`)}${h}`:`${O}\n${c}${nl(`${v}${r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,tl,ol(n,!0))}`}function pl(e,t,r,n){const{implicitKey:a,inFlow:o}=t,i="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==Zs.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=Zs.QUOTE_DOUBLE);const l=e=>{switch(e){case Zs.BLOCK_FOLDED:case Zs.BLOCK_LITERAL:return a||o?cl(i.value,t):dl(i,t,r,n);case Zs.QUOTE_DOUBLE:return sl(i.value,t);case Zs.QUOTE_SINGLE:return ll(i.value,t);case Zs.PLAIN:return function(e,t,r,n){const{type:a,value:o}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&o.includes("\n")||u&&/[[\]{},]/.test(o))return cl(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?cl(o,t):dl(e,t,r,n);if(!s&&!u&&a!==Zs.PLAIN&&o.includes("\n"))return dl(e,t,r,n);if(il(o)){if(""===l)return t.forceBlockIndent=!0,dl(e,t,r,n);if(s&&l===c)return cl(o,t)}const d=o.replace(/\n+/g,`$&\n${l}`);if(i){const e=e=>{var t;return e.default&&"tag:yaml.org,2002:str"!==e.tag&&(null==(t=e.test)?void 0:t.test(d))},{compat:r,tags:n}=t.doc.schema;if(n.some(e)||(null==r?void 0:r.some(e)))return cl(o,t)}return s?d:nl(d,l,el,ol(t,!1))}(i,t,r,n);default:return null}};let c=l(s);if(null===c){const{defaultKeyType:e,defaultStringType:r}=t.options,n=a&&e||r;if(c=l(n),null===c)throw new Error(`Unsupported default string type ${n}`)}return c}function hl(e,t){const r=Object.assign({blockQuote:!0,commentString:Gs,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let n;switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function fl(e,t,r,n){var a;if(ks(e))return e.toString(t,r,n);if(ys(e)){if(t.doc.directives)return e.toString(t);if(null==(a=t.resolvedAliases)?void 0:a.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=Ts(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){var r;if(t.tag){const r=e.filter((e=>e.tag===t.tag));if(r.length>0)return r.find((e=>e.format===t.format))??r[0]}let n,a;if(_s(t)){a=t.value;const r=e.filter((e=>{var t;return null==(t=e.identify)?void 0:t.call(e,a)}));n=r.find((e=>e.format===t.format))??r.find((e=>!e.format))}else a=t,n=e.find((e=>e.nodeClass&&a instanceof e.nodeClass));if(!n){const e=(null==(r=null==a?void 0:a.constructor)?void 0:r.name)??typeof a;throw new Error(`Tag not resolved for ${e} value`)}return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:r,doc:n}){if(!n.directives)return"";const a=[],o=(_s(e)||Es(e))&&e.anchor;o&&Ms(o)&&(r.add(o),a.push(`&${o}`));const i=e.tag?e.tag:t.default?null:t.tag;return i&&a.push(n.directives.tagString(i)),a.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const l="function"==typeof o.stringify?o.stringify(i,t,r,n):_s(i)?pl(i,t,r,n):i.toString(t,r,n);return s?_s(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}function ml(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function gl(e,t,{key:r,value:n}){if((null==e?void 0:e.doc.schema.merge)&&bl(r))if(n=ys(n)?n.resolve(e.doc):n,Ss(n))for(const r of n.items)vl(e,t,r);else if(Array.isArray(n))for(const r of n)vl(e,t,r);else vl(e,t,n);else{const a=js(r,"",e);if(t instanceof Map)t.set(a,js(n,a,e));else if(t instanceof Set)t.add(a);else{const o=function(e,t,r){if(null===t)return"";if("object"!=typeof t)return String(t);if(Ts(e)&&(null==r?void 0:r.doc)){const t=hl(r.doc,{});t.anchors=new Set;for(const e of r.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const n=e.toString(t);if(!r.mapKeyWarned){let e=JSON.stringify(n);e.length>40&&(e=e.substring(0,36)+'..."'),ml(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return n}return JSON.stringify(t)}(r,a,e),i=js(n,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}const bl=e=>"<<"===e||_s(e)&&"<<"===e.value&&(!e.type||e.type===Zs.PLAIN);function vl(e,t,r){const n=e&&ys(r)?r.resolve(e.doc):r;if(!xs(n))throw new Error("Merge sources must be maps or map aliases");const a=n.toJSON(null,e,Map);for(const[e,r]of a)t instanceof Map?t.has(e)||t.set(e,r):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0});return t}function Ol(e,t,r){const n=Vs(e,void 0,r),a=Vs(t,void 0,r);return new yl(n,a)}class yl{constructor(e,t=null){Object.defineProperty(this,Os,{value:gs}),this.key=e,this.value=t}clone(e){let{key:t,value:r}=this;return Ts(t)&&(t=t.clone(e)),Ts(r)&&(r=r.clone(e)),new yl(t,r)}toJSON(e,t){return gl(t,(null==t?void 0:t.mapAsMap)?new Map:{},this)}toString(e,t,r){return(null==e?void 0:e.doc)?function({key:e,value:t},r,n,a){const{allNullValues:o,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=r;let p=Ts(e)&&e.comment||null;if(d){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(Es(e)||!Ts(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")}let h=!d&&(!e||p&&null==t&&!r.inFlow||Es(e)||(_s(e)?e.type===Zs.BLOCK_FOLDED||e.type===Zs.BLOCK_LITERAL:"object"==typeof e));r=Object.assign({},r,{allNullValues:!1,implicitKey:!h&&(d||!o),indent:s+l});let f,m,g,b=!1,v=!1,O=fl(e,r,(()=>b=!0),(()=>v=!0));if(!h&&!r.inFlow&&O.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(r.inFlow){if(o||null==t)return b&&n&&n(),""===O?"?":h?`? ${O}`:O}else if(o&&!d||null==t&&h)return O=`? ${O}`,p&&!b?O+=Js(O,r.indent,c(p)):v&&a&&a(),O;b&&(p=null),h?(p&&(O+=Js(O,r.indent,c(p))),O=`? ${O}\n${s}:`):(O=`${O}:`,p&&(O+=Js(O,r.indent,c(p)))),Ts(t)?(f=!!t.spaceBefore,m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),r.implicitKey=!1,h||p||!_s(t)||(r.indentAtStart=O.length+1),v=!1,u||!(l.length>=2)||r.inFlow||h||!Ss(t)||t.flow||t.tag||t.anchor||(r.indent=r.indent.substring(2));let y=!1;const w=fl(t,r,(()=>y=!0),(()=>v=!0));let x=" ";if(p||f||m)x=f?"\n":"",m&&(x+=`\n${Ks(c(m),r.indent)}`),""!==w||r.inFlow?x+=`\n${r.indent}`:"\n"===x&&(x="\n\n");else if(!h&&Es(t)){const e=w[0],n=w.indexOf("\n"),a=-1!==n,o=r.inFlow??t.flow??0===t.items.length;if(a||!o){let t=!1;if(a&&("&"===e||"!"===e)){let r=w.indexOf(" ");"&"===e&&-1!==r&&ri=null),(()=>d=!0));i&&(s+=Js(s,o,c(i))),d&&i&&(d=!1),p.push(n+s)}let h;if(0===p.length)h=a.start+a.end;else{h=p[0];for(let e=1;eo=null));ru||i.includes("\n"))&&(c=!0),d.push(i),u=d.length}const{start:p,end:h}=r;if(0===d.length)return p+h;if(!c){const e=d.reduce(((e,t)=>e+t.length+2),2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p;for(const t of d)e+=t?`\n${o}${a}${t}`:"\n";return`${e}\n${a}${h}`}return`${p}${i}${d.join(" ")}${i}${h}`}function _l({indent:e,options:{commentString:t}},r,n,a){if(n&&a&&(n=n.replace(/^\n+/,"")),n){const a=Ks(t(n),e);r.push(a.trimStart())}}function Sl(e,t){const r=_s(t)?t.value:t;for(const n of e)if(ks(n)){if(n.key===t||n.key===r)return n;if(_s(n.key)&&n.key.value===r)return n}}class El extends Ys{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(ms,e),this.items=[]}static from(e,t,r){const{keepUndefined:n,replacer:a}=r,o=new this(e),i=(e,i)=>{if("function"==typeof a)i=a.call(t,e,i);else if(Array.isArray(a)&&!a.includes(e))return;(void 0!==i||n)&&o.items.push(Ol(e,i,r))};if(t instanceof Map)for(const[e,r]of t)i(e,r);else if(t&&"object"==typeof t)for(const e of Object.keys(t))i(e,t[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,t){var r;let n;n=ks(e)?e:e&&"object"==typeof e&&"key"in e?new yl(e.key,e.value):new yl(e,null==e?void 0:e.value);const a=Sl(this.items,n.key),o=null==(r=this.schema)?void 0:r.sortMapEntries;if(a){if(!t)throw new Error(`Key ${n.key} already set`);_s(a.value)&&qs(n.value)?a.value.value=n.value:a.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Sl(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=Sl(this.items,e),n=null==r?void 0:r.value;return(!t&&_s(n)?n.value:n)??void 0}has(e){return!!Sl(this.items,e)}set(e,t){this.add(new yl(e,t),!0)}toJSON(e,t,r){const n=r?new r:(null==t?void 0:t.mapAsMap)?new Map:{};(null==t?void 0:t.onCreate)&&t.onCreate(n);for(const e of this.items)gl(t,n,e);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items)if(!ks(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),wl(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:r,onComment:t})}}const Tl={collection:"map",default:!0,nodeClass:El,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(xs(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,r)=>El.from(e,t,r)};class Al extends Ys{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(vs,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Cl(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const r=Cl(e);if("number"!=typeof r)return;const n=this.items[r];return!t&&_s(n)?n.value:n}has(e){const t=Cl(e);return"number"==typeof t&&t=0?t:null}const Pl={collection:"seq",default:!0,nodeClass:Al,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(Ss(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,r)=>Al.from(e,t,r)},Dl={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,r,n)=>pl(e,t=Object.assign({actualString:!0},t),r,n)},Rl={identify:e=>null==e,createNode:()=>new Zs(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Zs(null),stringify:({source:e},t)=>"string"==typeof e&&Rl.test.test(e)?e:t.options.nullStr},Nl={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Zs("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},r)=>e&&Nl.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?r.options.trueStr:r.options.falseStr};function $l({format:e,minFractionDigits:t,tag:r,value:n}){if("bigint"==typeof n)return String(n);const a="number"==typeof n?n:Number(n);if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let o=JSON.stringify(n);if(!e&&t&&(!r||"tag:yaml.org,2002:float"===r)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let r=t-(o.length-e-1);for(;r-- >0;)o+="0"}return o}const Il={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$l},Ml={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():$l(e)}},Ll={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Zs(parseFloat(e)),r=e.indexOf(".");return-1!==r&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-r-1),t},stringify:$l},Ql=e=>"bigint"==typeof e||Number.isInteger(e),Bl=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function jl(e,t,r){const{value:n}=e;return Ql(n)&&n>=0?r+n.toString(t):$l(e)}const Ul={identify:e=>Ql(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>Bl(e,2,8,r),stringify:e=>jl(e,8,"0o")},Fl={identify:Ql,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>Bl(e,0,10,r),stringify:$l},zl={identify:e=>Ql(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>Bl(e,2,16,r),stringify:e=>jl(e,16,"0x")},ql=[Tl,Pl,Dl,Rl,Nl,Ul,Fl,zl,Il,Ml,Ll];function Zl(e){return"bigint"==typeof e||Number.isInteger(e)}const Hl=({value:e})=>JSON.stringify(e),Vl=[Tl,Pl].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Hl},{identify:e=>null==e,createNode:()=>new Zs(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Hl},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Hl},{identify:Zl,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:r})=>r?BigInt(e):parseInt(e,10),stringify:({value:e})=>Zl(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Hl}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Wl={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=n.items[0]||new yl(new Zs(null));if(n.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${n.commentBefore}\n${e.key.commentBefore}`:n.commentBefore),n.comment){const t=e.value??e.key;t.comment=t.comment?`${n.comment}\n${t.comment}`:n.comment}n=e}e.items[r]=ks(n)?n:new yl(n)}}else t("Expected a sequence for this tag");return e}function Yl(e,t,r){const{replacer:n}=r,a=new Al(e);a.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let i,s;if("function"==typeof n&&(e=n.call(t,String(o++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);i=e[0],s=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);i=t[0],s=e[i]}else i=e;a.items.push(Ol(i,s,r))}return a}const Gl={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xl,createNode:Yl};class Kl extends Al{constructor(){super(),this.add=El.prototype.add.bind(this),this.delete=El.prototype.delete.bind(this),this.get=El.prototype.get.bind(this),this.has=El.prototype.has.bind(this),this.set=El.prototype.set.bind(this),this.tag=Kl.tag}toJSON(e,t){if(!t)return super.toJSON(e);const r=new Map;(null==t?void 0:t.onCreate)&&t.onCreate(r);for(const e of this.items){let n,a;if(ks(e)?(n=js(e.key,"",t),a=js(e.value,n,t)):n=js(e,"",t),r.has(n))throw new Error("Ordered maps must not include duplicate keys");r.set(n,a)}return r}static from(e,t,r){const n=Yl(e,t,r),a=new this;return a.items=n.items,a}}Kl.tag="tag:yaml.org,2002:omap";const Jl={collection:"seq",identify:e=>e instanceof Map,nodeClass:Kl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const r=Xl(e,t),n=[];for(const{key:e}of r.items)_s(e)&&(n.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new Kl,r)},createNode:(e,t,r)=>Kl.from(e,t,r)};function ec({value:e,source:t},r){return t&&(e?tc:rc).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}const tc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Zs(!0),stringify:ec},rc={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Zs(!1),stringify:ec},nc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:$l},ac={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():$l(e)}},oc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Zs(parseFloat(e.replace(/_/g,""))),r=e.indexOf(".");if(-1!==r){const n=e.substring(r+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:$l},ic=e=>"bigint"==typeof e||Number.isInteger(e);function sc(e,t,r,{intAsBigInt:n}){const a=e[0];if("-"!==a&&"+"!==a||(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(r){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===a?BigInt(-1)*t:t}const o=parseInt(e,r);return"-"===a?-1*o:o}function lc(e,t,r){const{value:n}=e;if(ic(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return $l(e)}const cc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>sc(e,2,2,r),stringify:e=>lc(e,2,"0b")},uc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>sc(e,1,8,r),stringify:e=>lc(e,8,"0")},dc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>sc(e,0,10,r),stringify:$l},pc={identify:ic,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>sc(e,2,16,r),stringify:e=>lc(e,16,"0x")};class hc extends El{constructor(e){super(e),this.tag=hc.tag}add(e){let t;t=ks(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new yl(e.key,null):new yl(e,null),Sl(this.items,t.key)||this.items.push(t)}get(e,t){const r=Sl(this.items,e);return!t&&ks(r)?_s(r.key)?r.key.value:r.key:r}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const r=Sl(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new yl(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,r);throw new Error("Set items must all have null values")}static from(e,t,r){const{replacer:n}=r,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof n&&(e=n.call(t,e,e)),a.items.push(Ol(e,null,r));return a}}hc.tag="tag:yaml.org,2002:set";const fc={collection:"map",identify:e=>e instanceof Set,nodeClass:hc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>hc.from(e,t,r),resolve(e,t){if(xs(e)){if(e.hasAllNullValues(!0))return Object.assign(new hc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function mc(e,t){const r=e[0],n="-"===r||"+"===r?e.substring(1):e,a=e=>t?BigInt(e):Number(e),o=n.replace(/_/g,"").split(":").reduce(((e,t)=>e*a(60)+a(t)),a(0));return"-"===r?a(-1)*o:o}function gc(e){let{value:t}=e,r=e=>e;if("bigint"==typeof t)r=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return $l(e);let n="";t<0&&(n="-",t*=r(-1));const a=r(60),o=[t%a];return t<60?o.unshift(0):(t=(t-o[0])/a,o.unshift(t%a),t>=60&&(t=(t-o[0])/a,o.unshift(t))),n+o.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const bc={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>mc(e,r),stringify:gc},vc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>mc(e,!1),stringify:gc},Oc={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Oc.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,r,n,a,o,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(r,n-1,a,o||0,i||0,s||0,l);const u=t[8];if(u&&"Z"!==u){let e=mc(u,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yc=[Tl,Pl,Dl,Rl,tc,rc,cc,uc,dc,pc,nc,ac,oc,Wl,Jl,Gl,fc,bc,vc,Oc],wc=new Map([["core",ql],["failsafe",[Tl,Pl,Dl]],["json",Vl],["yaml11",yc],["yaml-1.1",yc]]),xc={binary:Wl,bool:Nl,float:Ll,floatExp:Ml,floatNaN:Il,floatTime:vc,int:Fl,intHex:zl,intOct:Ul,intTime:bc,map:Tl,null:Rl,omap:Jl,pairs:Gl,seq:Pl,set:fc,timestamp:Oc},kc={"tag:yaml.org,2002:binary":Wl,"tag:yaml.org,2002:omap":Jl,"tag:yaml.org,2002:pairs":Gl,"tag:yaml.org,2002:set":fc,"tag:yaml.org,2002:timestamp":Oc};function _c(e,t){let r=wc.get(t);if(!r){if(!Array.isArray(e)){const e=Array.from(wc.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}r=[]}if(Array.isArray(e))for(const t of e)r=r.concat(t);else"function"==typeof e&&(r=e(r.slice()));return r.map((e=>{if("string"!=typeof e)return e;const t=xc[e];if(t)return t;const r=Object.keys(xc).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${r}`)}))}const Sc=(e,t)=>e.keyt.key?1:0;class Ec{constructor(e,t,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Os,{value:fs});let n=null;"function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t,t=void 0);const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=a;let{version:o}=a;(null==r?void 0:r._directives)?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Is({version:o}),this.setSchema(o,r),this.contents=void 0===e?null:this.createNode(e,n,r)}clone(){const e=Object.create(Ec.prototype,{[Os]:{value:fs}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=Ts(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Tc(this.contents)&&this.contents.add(e)}addIn(e,t){Tc(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const r=Ls(this);e.anchor=!t||r.has(t)?Qs(t||"a",r):t}return new Fs(e.anchor)}createNode(e,t,r){let n;if("function"==typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,r=t.filter(e).map(String);r.length>0&&(t=t.concat(r)),n=t}else void 0===r&&t&&(r=t,t=void 0);const{aliasDuplicateObjects:a,anchorPrefix:o,flow:i,keepUndefined:s,onTagObj:l,tag:c}=r??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){const r=[],n=new Map;let a=null;return{onAnchor:n=>{r.push(n),a||(a=Ls(e));const o=Qs(t,a);return a.add(o),o},setAnchors:()=>{for(const e of r){const t=n.get(e);if("object"!=typeof t||!t.anchor||!_s(t.node)&&!Es(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:n}}(this,o||"a"),h=Vs(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:n,schema:this.schema,sourceObjects:p});return i&&Es(h)&&(h.flow=!0),d(),h}createPair(e,t,r={}){const n=this.createNode(e,null,r),a=this.createNode(t,null,r);return new yl(n,a)}delete(e){return!!Tc(this.contents)&&this.contents.delete(e)}deleteIn(e){return Xs(e)?null!=this.contents&&(this.contents=null,!0):!!Tc(this.contents)&&this.contents.deleteIn(e)}get(e,t){return Es(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return Xs(e)?!t&&_s(this.contents)?this.contents.value:this.contents:Es(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!Es(this.contents)&&this.contents.has(e)}hasIn(e){return Xs(e)?void 0!==this.contents:!!Es(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Ws(this.schema,[e],t):Tc(this.contents)&&this.contents.set(e,t)}setIn(e,t){Xs(e)?this.contents=t:null==this.contents?this.contents=Ws(this.schema,Array.from(e),t):Tc(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let r;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Is({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Is({version:e}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!r)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new class e{constructor({compat:e,customTags:t,merge:r,resolveKnownTags:n,schema:a,sortMapEntries:o,toStringDefaults:i}){this.compat=Array.isArray(e)?_c(e,"compat"):e?_c(null,e):null,this.merge=!!r,this.name="string"==typeof a&&a||"core",this.knownTags=n?kc:{},this.tags=_c(t,this.name),this.toStringOptions=i??null,Object.defineProperty(this,ms,{value:Tl}),Object.defineProperty(this,bs,{value:Dl}),Object.defineProperty(this,vs,{value:Pl}),this.sortMapEntries="function"==typeof o?o:!0===o?Sc:null}clone(){const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}(Object.assign(r,t))}}toJS({json:e,jsonArg:t,mapAsMap:r,maxAliasCount:n,onAnchor:a,reviver:o}={}){const i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=js(this.contents,t??"",i);if("function"==typeof a)for(const{count:e,res:t}of i.anchors.values())a(t,e);return"function"==typeof o?Bs(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){var r;const n=[];let a=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),a=!0):e.directives.docStart&&(a=!0)}a&&n.push("---");const o=hl(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(Ks(t,""))}let s=!1,l=null;if(e.contents){if(Ts(e.contents)){if(e.contents.spaceBefore&&a&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(Ks(t,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0;let r=fl(e.contents,o,(()=>l=null),t);l&&(r+=Js(r,"",i(l))),"|"!==r[0]&&">"!==r[0]||"---"!==n[n.length-1]?n.push(r):n[n.length-1]=`--- ${r}`}else n.push(fl(e.contents,o));if(null==(r=e.directives)?void 0:r.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(Ks(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!l||""===n[n.length-1]||n.push(""),n.push(Ks(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Tc(e){if(Es(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Ac extends Error{constructor(e,t,r,n){super(),this.name=e,this.code=r,this.message=n,this.pos=t}}class Cc extends Ac{constructor(e,t,r){super("YAMLParseError",e,t,r)}}class Pc extends Ac{constructor(e,t,r){super("YAMLWarning",e,t,r)}}const Dc=(e,t)=>r=>{if(-1===r.pos[0])return;r.linePos=r.pos.map((e=>t.linePos(e)));const{line:n,col:a}=r.linePos[0];r.message+=` at line ${n}, column ${a}`;let o=a-1,i=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(o>=60&&i.length>80){const e=Math.min(o-39,i.length-79);i="…"+i.substring(e),o-=e-1}if(i.length>80&&(i=i.substring(0,79)+"…"),n>1&&/^ *$/.test(i.substring(0,o))){let r=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);r.length>80&&(r=r.substring(0,79)+"…\n"),i=r+i}if(/[^ ]/.test(i)){let e=1;const t=r.linePos[1];t&&t.line===n&&t.col>a&&(e=Math.max(1,Math.min(t.col-a,80-o)));const s=" ".repeat(o)+"^".repeat(e);r.message+=`:\n\n${i}\n${s}\n`}};function Rc(e,{flow:t,indicator:r,next:n,offset:a,onError:o,parentIndent:i,startOnNewline:s}){let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=!1,g=null,b=null,v=null,O=null,y=null,w=null;for(const a of e)switch(m&&("space"!==a.type&&"newline"!==a.type&&"comma"!==a.type&&o(a.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m=!1),g&&(c&&"comment"!==a.type&&"newline"!==a.type&&o(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),g=null),a.type){case"space":t||"doc-start"===r&&"flow-collection"===(null==n?void 0:n.type)||!a.source.includes("\t")||(g=a),u=!0;break;case"comment":{u||o(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=a.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=a.source:l=!0:p+=a.source,c=!0,h=!0,(b||v)&&(f=!0),u=!0;break;case"anchor":b&&o(a,"MULTIPLE_ANCHORS","A node can have at most one anchor"),a.source.endsWith(":")&&o(a.offset+a.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),b=a,null===w&&(w=a.offset),c=!1,u=!1,m=!0;break;case"tag":v&&o(a,"MULTIPLE_TAGS","A node can have at most one tag"),v=a,null===w&&(w=a.offset),c=!1,u=!1,m=!0;break;case r:(b||v)&&o(a,"BAD_PROP_ORDER",`Anchors and tags must be after the ${a.source} indicator`),y&&o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.source} in ${t??"collection"}`),y=a,c="seq-item-ind"===r||"explicit-key-ind"===r,u=!1;break;case"comma":if(t){O&&o(a,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),O=a,c=!1,u=!1;break}default:o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.type} token`),c=!1,u=!1}const x=e[e.length-1],k=x?x.offset+x.source.length:a;return m&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&o(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g&&(c&&g.indent<=i||"block-map"===(null==n?void 0:n.type)||"block-seq"===(null==n?void 0:n.type))&&o(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:O,found:y,spaceBefore:l,comment:d,hasNewline:h,hasNewlineAfterProp:f,anchor:b,tag:v,end:k,start:w??k}}function Nc(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Nc(t.key)||Nc(t.value))return!0}return!1;default:return!0}}function $c(e,t,r){if("flow-collection"===(null==t?void 0:t.type)){const n=t.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!Nc(t)||r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Ic(e,t,r){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const a="function"==typeof n?n:(t,r)=>t===r||_s(t)&&_s(r)&&t.value===r.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>a(e.key,r)))}const Mc="All mapping items must start at the same column";function Lc(e,t,r,n){let a="";if(e){let o=!1,i="";for(const s of e){const{source:e,type:l}=s;switch(l){case"space":o=!0;break;case"comment":{r&&!o&&n(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";a?a+=i+t:a=t,i="";break}case"newline":a&&(i+=e),o=!0;break;default:n(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:a,offset:t}}const Qc="Block collections are not allowed within flow collections",Bc=e=>e&&("block-map"===e.type||"block-seq"===e.type);function jc(e,t,r,n,a,o){const i="block-map"===r.type?function({composeNode:e,composeEmptyNode:t},r,n,a,o){var i;const s=new((null==o?void 0:o.nodeClass)??El)(r.schema);r.atRoot&&(r.atRoot=!1);let l=n.offset,c=null;for(const o of n.items){const{start:u,key:d,sep:p,value:h}=o,f=Rc(u,{indicator:"explicit-key-ind",next:d??(null==p?void 0:p[0]),offset:l,onError:a,parentIndent:n.indent,startOnNewline:!0}),m=!f.found;if(m){if(d&&("block-seq"===d.type?a(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==n.indent&&a(l,"BAD_INDENT",Mc)),!f.anchor&&!f.tag&&!p){c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment);continue}(f.hasNewlineAfterProp||Nc(d))&&a(d??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null==(i=f.found)?void 0:i.indent)!==n.indent&&a(l,"BAD_INDENT",Mc);const g=f.end,b=d?e(r,d,f,a):t(r,g,u,null,f,a);r.schema.compat&&$c(n.indent,d,a),Ic(r,s.items,b)&&a(g,"DUPLICATE_KEY","Map keys must be unique");const v=Rc(p??[],{indicator:"map-value-ind",next:h,offset:b.range[2],onError:a,parentIndent:n.indent,startOnNewline:!d||"block-scalar"===d.type});if(l=v.end,v.found){m&&("block-map"!==(null==h?void 0:h.type)||v.hasNewline||a(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&f.start0){const e=Lc(h,f,r.options.strict,a);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[n.offset,f,e.offset]}else l.range=[n.offset,f,f];return l}(e,t,r,n,o),s=i.constructor;return"!"===a||a===s.tagName?(i.tag=s.tagName,i):(a&&(i.tag=a),i)}function Uc(e){let t,r;try{t=new RegExp("(.*?)(?"===a.mode?Zs.BLOCK_FOLDED:Zs.BLOCK_LITERAL,i=t.source?function(e){const t=e.split(/\n( *)/),r=t[0],n=r.match(/^( *)/),a=[(null==n?void 0:n[1])?[n[1],r.slice(n[1].length)]:["",r]];for(let e=1;e=0;--e){const t=i[e][1];if(""!==t&&"\r"!==t)break;s=e}if(0===s){const e="+"===a.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):"";let r=n+a.length;return t.source&&(r+=t.source.length),{value:e,type:o,comment:a.comment,range:[n,r,r]}}let l=t.indent+a.indent,c=t.offset+a.length,u=0;for(let t=0;tl&&(l=n.length),c+=n.length+o.length+1}for(let e=i.length-1;e>=s;--e)i[e][0].length>l&&(s=e+1);let d="",p="",h=!1;for(let e=0;el||"\t"===n[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),d+=p+t.slice(l)+n,p="\n",h=!0):""===n?"\n"===p?d+="\n":p="\n":(d+=p+n,p=" ",h=!1)}switch(a.chomp){case"-":break;case"+":for(let e=s;er(n+e,t,a);switch(a){case"scalar":s=Zs.PLAIN,l=function(e,t){let r="";switch(e[0]){case"\t":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":r=`block scalar indicator ${e[0]}`;break;case"@":case"`":r=`reserved character ${e[0]}`}return r&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),Uc(e)}(o,c);break;case"single-quoted-scalar":s=Zs.QUOTE_SINGLE,l=function(e,t){return"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote"),Uc(e.slice(1,-1)).replace(/''/g,"'")}(o,c);break;case"double-quoted-scalar":s=Zs.QUOTE_DOUBLE,l=function(e,t){let r="";for(let n=1;nt?e.slice(t,n+1):a)}else r+=a}return'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote'),r}(o,c);break;default:return r(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[n,n+o.length,n+o.length]}}const u=n+o.length,d=Lc(i,u,t,r);return{value:l,type:s,comment:d.comment,range:[n,u,d.offset]}}(t,e.options.strict,n),l=r?e.directives.tagName(r.source,(e=>n(r,"TAG_RESOLVE_FAILED",e))):null,c=r&&l?function(e,t,r,n,a){var o;if("!"===r)return e[bs];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===r){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(null==(o=e.test)?void 0:o.test(t))return e;const s=e.knownTags[r];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(a(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,"tag:yaml.org,2002:str"!==r),e[bs])}(e.schema,a,l,r,n):"scalar"===t.type?function({directives:e,schema:t},r,n,a){const o=t.tags.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(r))}))||t[bs];if(t.compat){const i=t.compat.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(r))}))??t[bs];o.tag!==i.tag&&a(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(i.tag)}`,!0)}return o}(e,a,t,n):e.schema[bs];let u;try{const o=c.resolve(a,(e=>n(r??t,"TAG_RESOLVE_FAILED",e)),e.options);u=_s(o)?o:new Zs(o)}catch(e){const o=e instanceof Error?e.message:String(e);n(r??t,"TAG_RESOLVE_FAILED",o),u=new Zs(a)}return u.range=s,u.source=a,o&&(u.type=o),l&&(u.tag=l),c.format&&(u.format=c.format),i&&(u.comment=i),u}function Hc(e,t,r){if(t){null===r&&(r=t.length);for(let n=r-1;n>=0;--n){let r=t[n];switch(r.type){case"space":case"comment":case"newline":e-=r.source.length;continue}for(r=t[++n];"space"===(null==r?void 0:r.type);)e+=r.source.length,r=t[++n];break}}return e}const Vc={composeNode:Wc,composeEmptyNode:Xc};function Wc(e,t,r,n){const{spaceBefore:a,comment:o,anchor:i,tag:s}=r;let l,c=!0;switch(t.type){case"alias":l=function({options:e},{offset:t,source:r,end:n},a){const o=new Fs(r.substring(1));""===o.source&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&a(t+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const i=t+r.length,s=Lc(n,i,e.strict,a);return o.range=[t,i,s.offset],s.comment&&(o.comment=s.comment),o}(e,t,n),(i||s)&&n(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=Zc(e,t,s,n),i&&(l.anchor=i.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(e,t,r,n,a){var o;const i=n?t.directives.tagName(n.source,(e=>a(n,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===r.type?"map":"block-seq"===r.type?"seq":"{"===r.start.source?"map":"seq";if(!n||!i||"!"===i||i===El.tagName&&"map"===s||i===Al.tagName&&"seq"===s||!s)return jc(e,t,r,a,i);let l=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!l){const o=t.schema.knownTags[i];if(!o||o.collection!==s)return(null==o?void 0:o.collection)?a(n,"BAD_COLLECTION_TYPE",`${o.tag} used for ${s} collection, but expects ${o.collection}`,!0):a(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),jc(e,t,r,a,i);t.schema.tags.push(Object.assign({},o,{default:!1})),l=o}const c=jc(e,t,r,a,i,l),u=(null==(o=l.resolve)?void 0:o.call(l,c,(e=>a(n,"TAG_RESOLVE_FAILED",e)),t.options))??c,d=Ts(u)?u:new Zs(u);return d.range=c.range,d.tag=i,(null==l?void 0:l.format)&&(d.format=l.format),d}(Vc,e,t,s,n),i&&(l.anchor=i.source.substring(1));break;default:n(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),l=Xc(e,t.offset,void 0,null,r,n),c=!1}return i&&""===l.anchor&&n(i,"BAD_ALIAS","Anchor cannot be an empty string"),a&&(l.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?l.comment=o:l.commentBefore=o),e.options.keepSourceTokens&&c&&(l.srcToken=t),l}function Xc(e,t,r,n,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){const u=Zc(e,{type:"scalar",offset:Hc(t,r,n),indent:-1,source:""},s,c);return i&&(u.anchor=i.source.substring(1),""===u.anchor&&c(i,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=l),u}function Yc(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:r}=e;return[t,t+("string"==typeof r?r.length:1)]}function Gc(e){var t;let r="",n=!1,a=!1;for(let o=0;o{const a=Yc(e);n?this.warnings.push(new Pc(a,t,r)):this.errors.push(new Cc(a,t,r))},this.directives=new Is({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:r,afterEmptyLine:n}=Gc(this.prelude);if(r){const a=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${r}`:r;else if(n||e.directives.docStart||!a)e.commentBefore=r;else if(Es(a)&&!a.flow&&a.items.length>0){let e=a.items[0];ks(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${r}\n${t}`:r}else{const e=a.commentBefore;a.commentBefore=e?`${r}\n${e}`:r}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gc(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,r=-1){for(const t of e)yield*this.next(t);yield*this.end(t,r)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,r,n)=>{const a=Yc(e);a[0]+=t,this.onError(a,"BAD_DIRECTIVE",r,n)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:r,start:n,value:a,end:o},i){const s=Object.assign({_directives:t},e),l=new Ec(void 0,s),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=Rc(n,{indicator:"doc-start",next:a??(null==o?void 0:o[0]),offset:r,onError:i,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,!a||"block-map"!==a.type&&"block-seq"!==a.type||u.hasNewline||i(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?Wc(c,a,u,i):Xc(c,u.end,n,null,u,i);const d=l.contents.range[2],p=Lc(o,d,!1,i);return p.comment&&(l.comment=p.comment),l.range=[r,d,p.offset],l}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,r=new Cc(Yc(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Cc(Yc(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Lc(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Cc(Yc(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),r=new Ec(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,t,t],this.decorate(r,!1),yield r}}}function Jc(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const eu=new Set("0123456789ABCDEFabcdef"),tu=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),ru=new Set(",[]{}"),nu=new Set(" ,[]{}\n\r\t"),au=e=>!e||nu.has(e);class ou{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let r=this.next??"stream";for(;r&&(t||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let r=0;for(;" "===t;)t=this.buffer[++r+e];if("\r"===t){const t=this.buffer[r+e+1];if("\n"===t||!t&&!this.atEnd)return e+r+1}return"\n"===t||r>=this.indentNext||!t&&!this.atEnd?e+r:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&Jc(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&ðis.indentValue&&!Jc(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&Jc(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(au),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,r=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=r=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const n=this.getLine();if(null===n)return this.setNext("flow");if((-1!==r&&r"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>Jc(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,r=0;e:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":r+=1;break;case"\n":t=n,r=0;break;case"\r":{const e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=r:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let n=t+1;for(e=this.buffer[n];" "===e;)e=this.buffer[++n];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++n];t=n-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);const a=e;for(;" "===n;)n=this.buffer[--e];if(!("\n"===n&&e>=this.pos&&e+1+r>a))break;t=e}return yield"",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,r=this.pos-1,n=this.pos-1;for(;t=this.buffer[++n];)if(":"===t){const t=this.buffer[n+1];if(Jc(t)||e&&ru.has(t))break;r=n}else if(Jc(t)){let a=this.buffer[n+1];if("\r"===t&&("\n"===a?(n+=1,t="\n",a=this.buffer[n+1]):r=n),"#"===a||e&&ru.has(a))break;if("\n"===t){const e=this.continueScalar(n+1);if(-1===e)break;n=Math.max(n,e-2)}}else{if(e&&ru.has(t))break;r=n}return t||this.atEnd?(yield"",yield*this.pushToIndex(r+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const r=this.buffer.slice(this.pos,e);return r?(yield r,this.pos+=r.length,r.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(au))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Jc(t)||e&&ru.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!Jc(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(tu.has(t))t=this.buffer[++e];else{if("%"!==t||!eu.has(this.buffer[e+1])||!eu.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,r=this.pos-1;do{t=this.buffer[++r]}while(" "===t||e&&"\t"===t);const n=r-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=r),n}*pushUntil(e){let t=this.pos,r=this.buffer[t];for(;!e(r);)r=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class iu{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,r=this.lineStarts.length;for(;t>1;this.lineStarts[n]=0;)switch(e[r].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===(null==(t=e[++r])?void 0:t.type););return e.splice(r,e.length)}function pu(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||su(t.start,"explicit-key-ind")||su(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,cu(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}let hu=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new ou,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const r of this.lexer.lex(e,t))yield*this.next(r);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&pu(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const r=e.items[e.items.length-1];if(r.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!r.sep)return Object.assign(r,{key:t,sep:[]}),void(this.onKeyLine=!r.explicitKey);r.value=t;break}case"block-seq":{const r=e.items[e.items.length-1];r.value?e.items.push({start:[],value:t}):r.value=t;break}case"flow-collection":{const r=e.items[e.items.length-1];return void(!r||r.value?e.items.push({start:[],key:t,sep:[]}):r.sep?r.value=t:Object.assign(r,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const r=t.items[t.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&-1===lu(r.start)&&(0===t.indent||r.start.every((e=>"comment"!==e.type||e.indent=e.indent){const t=!this.onKeyLine&&this.indent===e.indent,n=t&&(r.sep||r.explicitKey)&&"seq-item-ind"!==this.type;let a=[];if(n&&r.sep&&!r.value){const t=[];for(let n=0;ne.indent&&(t.length=0);break;default:t.length=0}}t.length>=2&&(a=r.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":return void(n||r.value?(a.push(this.sourceToken),e.items.push({start:a}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken));case"explicit-key-ind":return r.sep||r.explicitKey?n||r.value?(a.push(this.sourceToken),e.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(r.start.push(this.sourceToken),r.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(su(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(cu(r.key)&&!su(r.sep,"newline")){const e=du(r.start),t=r.key,n=r.sep;n.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,sep:n}]})}else a.length>0?r.sep=r.sep.concat(a,this.sourceToken):r.sep.push(this.sourceToken);else if(su(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{const e=du(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||n?e.items.push({start:a,key:null,sep:[this.sourceToken]}):su(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const t=this.flowScalar(this.type);return void(n||r.value?(e.items.push({start:a,key:t,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(t):(Object.assign(r,{key:t,sep:[]}),this.onKeyLine=!0))}default:{const r=this.startBlockValue(e);if(r)return t&&"block-seq"!==r.type&&e.items.push({start:a}),void this.stack.push(r)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){var t;const r=e.items[e.items.length-1];switch(this.type){case"newline":if(r.value){const t="end"in r.value?r.value.end:void 0,n=Array.isArray(t)?t[t.length-1]:void 0;"comment"===(null==n?void 0:n.type)?null==t||t.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,e.indent)){const n=e.items[e.items.length-2],a=null==(t=null==n?void 0:n.value)?void 0:t.end;if(Array.isArray(a))return Array.prototype.push.apply(a,r.start),a.push(this.sourceToken),void e.items.pop()}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=e.indent)break;return void r.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(r.value||su(r.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?this.stack.push(r):Object.assign(t,{key:r,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const r=this.startBlockValue(e);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const r=du(uu(t));pu(e);const n=e.end.splice(1,e.end.length);n.push(this.sourceToken);const a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=du(uu(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=du(uu(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}};function fu(e,t,r){let n;"function"==typeof t?n=t:void 0===r&&t&&"object"==typeof t&&(r=t);const a=function(e,t={}){const{lineCounter:r,prettyErrors:n}=function(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new iu||null,prettyErrors:t}}(t),a=new hu(null==r?void 0:r.addNewLine),o=new Kc(t);let i=null;for(const t of o.compose(a.parse(e),!0,e.length))if(i){if("silent"!==i.options.logLevel){i.errors.push(new Cc(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else i=t;return n&&r&&(i.errors.forEach(Dc(e,r)),i.warnings.forEach(Dc(e,r))),i}(e,r);if(!a)return null;if(a.warnings.forEach((e=>ml(a.options.logLevel,e))),a.errors.length>0){if("silent"!==a.options.logLevel)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:n},r))}const mu={parse:e=>{const t=fu(e);if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return mu.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:function(e,t,r){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t),"string"==typeof r&&(r=r.length),"number"==typeof r){const e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=r??t??{};if(!e)return}return new Ec(e,n,r).toString(r)}},gu={parse:e=>{const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return gu.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},bu=e=>"string"==typeof e&&!!gu.parseSafe(e,!1),vu="https://api.scalar.com/request-proxy",Ou="https://proxy.scalar.com";async function yu(e,t){t===vu&&(t=Ou);const r=await fetch(t?ds(t,e):e);return 200!==r.status&&(console.error(`[fetchSpecFromUrl] Failed to fetch the specification at ${e} (Status: ${r.status})`),t||console.warn(`[fetchSpecFromUrl] Tried to fetch the specification (url: ${e}) without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`)),function(e){if("{"!==e.trim()[0])return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}(await r.text())}const wu={CONNECT:{short:"CONN",color:"text-c-2",backgroundColor:"bg-c-2"},DELETE:{short:"DEL",color:"text-red",backgroundColor:"bg-red"},GET:{short:"GET",color:"text-blue",backgroundColor:"bg-blue"},HEAD:{short:"HEAD",color:"text-scalar-c-2",backgroundColor:"bg-c-2"},OPTIONS:{short:"OPTS",color:"text-purple",backgroundColor:"bg-purple"},PATCH:{short:"PATCH",color:"text-yellow",backgroundColor:"bg-yellow"},POST:{short:"POST",color:"text-green",backgroundColor:"bg-green"},PUT:{short:"PUT",color:"text-orange",backgroundColor:"bg-orange"},TRACE:{short:"TRACE",color:"text-c-2",backgroundColor:"bg-c-2"}},xu={100:{name:"Continue",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100"},101:{name:"Switching Protocols",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101"},102:{name:"Processing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102"},103:{name:"Early Hints",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103"},200:{name:"OK",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200"},201:{name:"Created",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201"},202:{name:"Accepted",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202"},203:{name:"Non-Authoritative Information",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203"},204:{name:"No Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204"},205:{name:"Reset Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205"},206:{name:"Partial Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206"},207:{name:"Multi-Status",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207"},208:{name:"Already Reported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208"},226:{name:"IM Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226"},300:{name:"Multiple Choices",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300"},301:{name:"Moved Permanently",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301"},302:{name:"Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302"},303:{name:"See Other",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303"},304:{name:"Not Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304"},305:{name:"Use Proxy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305"},306:{name:"(Unused)",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306"},307:{name:"Temporary Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307"},308:{name:"Permanent Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308"},400:{name:"Bad Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400"},401:{name:"Unauthorized",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401"},402:{name:"Payment Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"},403:{name:"Forbidden",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"},404:{name:"Not Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404"},405:{name:"Method Not Allowed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405"},406:{name:"Not Acceptable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406"},407:{name:"Proxy Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407"},408:{name:"Request Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408"},409:{name:"Conflict",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409"},410:{name:"Gone",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410"},411:{name:"Length Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411"},412:{name:"Precondition Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412"},413:{name:"Content Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413"},414:{name:"URI Too Long",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414"},415:{name:"Unsupported Media Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415"},416:{name:"Range Not Satisfiable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416"},417:{name:"Expectation Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417"},421:{name:"Misdirected Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421"},422:{name:"Unprocessable Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422"},423:{name:"Locked",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423"},424:{name:"Failed Dependency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424"},425:{name:"Too Early",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425"},426:{name:"Upgrade Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426"},428:{name:"Precondition Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428"},429:{name:"Too Many Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429"},431:{name:"Request Header Fields Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431"},451:{name:"Unavailable For Legal Reasons",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451"},500:{name:"Internal Server Error",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500"},501:{name:"Not Implemented",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501"},502:{name:"Bad Gateway",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502"},503:{name:"Service Unavailable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503"},504:{name:"Gateway Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504"},505:{name:"HTTP Version Not Supported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505"},506:{name:"Variant Also Negotiates",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506"},507:{name:"Insufficient Storage",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507"},508:{name:"Loop Detected",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508"},510:{name:"Not Extended",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510"},511:{name:"Network Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"}},ku=(e,t,r=" #")=>{if(!t(e))return e;const n=e.split(r),a=n.length>1?`${n.slice(0,-1).join()}${r}${Number(n.at(-1))+1}`:`${n.join()}${r}2`;return ku(a,t,r)};function _u(e){if(!e)return e;const t={...e};return Object.keys(t).forEach((e=>{const r=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/.+\+/,"/").trim()}(e);void 0!==r&&(t[r]=t[e],e!==r&&delete t[e])})),t}function Su(e,t){return Object.keys(e).forEach((r=>{Object.hasOwn(t,r)||delete e[r]})),Object.assign(e,t),e}const Eu=e=>{if("string"==typeof e)return bu(e)?JSON.stringify(JSON.parse(e),null,2):e;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{return function(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r}),2)}(e)}return e.toString()};function Tu(e,t){const r=(e,r)=>{var n;return"function"==typeof t?t(r):null==(n=t[r])?void 0:n.toString()};return e.replace(/{{\s*([\w.-]+)\s*}}/g,r).replace(/{\s*([\w.-]+)\s*}/g,r)}const Au="undefined"!=typeof window?window.__SCALAR__??{}:{};function Cu(e){var t;const r=null==(t=null==e?void 0:e.servers)?void 0:t[e.selectedServer??0];return"string"==typeof(null==r?void 0:r.url)?Tu(null==r?void 0:r.url,e.variables):null==r?void 0:r.url}const Pu="GET",Du=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${Pu} as the default.`),Pu;const t=e.trim().toUpperCase();return r=t,ns.includes(r)?t:(console.warn(`${e} is not a valid request method. Using ${Pu} as the default.`),Pu);var r},Ru=hr({showApiClient:!1,activeApiClientEndpointId:"",activeItem:{},snippetType:"javascript"});function Nu(e,t=!1){Ru.showApiClient=!!t||!Ru.showApiClient,e&&(Ru.activeItem=e)}function $u(){Ru.showApiClient=!1}function Iu(e){Ru.activeApiClientEndpointId=e}function Mu(e){Ru.snippetType=e}const Lu=()=>({state:mr(Ru),toggleApiClient:Nu,setActiveApiClientEndpointId:Iu,setSnippetType:Mu,hideApiClient:$u}),Qu=hr(Au["useGlobalStore-authentication"]??{preferredSecurityScheme:null,customSecurity:!1,http:{basic:{username:"",password:""},bearer:{token:""}},apiKey:{token:""},oAuth2:{username:"",password:"",clientId:"",scopes:[],accessToken:"",state:""}}),Bu=e=>Object.assign(Qu,e),ju=()=>({authentication:Qu,setAuthentication:Bu}),Uu=hr({operation:{},globalSecurity:[]}),Fu=e=>{Object.assign(Uu,{...Uu,operation:e})},zu=e=>{Object.assign(Uu,{...Uu,globalSecurity:e})},qu=()=>({openApi:Uu,setOperation:Fu,setGlobalSecurity:zu}),Zu=hr({}),Hu=Cr([]),Vu=Cr(""),Wu=hr({name:"",url:"",type:"GET",path:"",variables:[],headers:[],query:[],body:"",formData:[]}),Xu=ti((()=>{var e;return Vu.value?null==(e=Zu[Vu.value??""])?void 0:e.response:null})),Yu=Cr(!0),Gu=hr({selectedServer:null,servers:[],variables:{}}),Ku=e=>{Object.assign(Gu,{...Gu,...e})},Ju=()=>({server:Gu,setServer:Ku}),ed=".light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}",td=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],rd=td.map((([e])=>e)),nd={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",none:""},ad={alternate:":root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode,.light-mode .dark-mode{--scalar-background-1: #f9f9f9;--scalar-background-2: #f1f1f1;--scalar-background-3: #e7e7e7;--scalar-background-card: #fff;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(0, 0, 0, .1)}.dark-mode{--scalar-background-1: #131313;--scalar-background-2: #1d1d1d;--scalar-background-3: #272727;--scalar-background-card: #1d1d1d;--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: var(--scalar-background-3);--scalar-border-color: rgba(255, 255, 255, .1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color)}.light-mode .dark-mode,.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dd2f2c;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.scalar-api-client__item,.scalar-card,.dark-mode .dark-mode.scalar-card{--scalar-background-1: var(--scalar-background-card);--scalar-background-2: var(--scalar-background-1);--scalar-background-3: var(--scalar-background-1)}.dark-mode .dark-mode.scalar-card{--scalar-background-3: var(--scalar-background-3)}.t-doc__sidebar{--scalar-color-green: var(--scalar-color-1);--scalar-color-red: var(--scalar-color-1);--scalar-color-yellow: var(--scalar-color-1);--scalar-color-blue: var(--scalar-color-1);--scalar-color-orange: var(--scalar-color-1);--scalar-color-purple: var(--scalar-color-1)}",default:ed,moon:".light-mode{color-scheme:light;--scalar-color-1: #000000;--scalar-color-2: #000000;--scalar-color-3: #000000;--scalar-color-accent: #645b0f;--scalar-background-1: #ccc9b3;--scalar-background-2: #c2bfaa;--scalar-background-3: #b8b5a1;--scalar-background-accent: #000000;--scalar-border-color: rgba(0, 0, 0, .2);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fffef3;--scalar-color-2: #fffef3;--scalar-color-3: #fffef3;--scalar-color-accent: #c3b531;--scalar-background-1: #313332;--scalar-background-2: #393b3a;--scalar-background-3: #414342;--scalar-background-accent: #fffef3;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar,.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-background-1);--scalar-sidebar-search-background: var(--scalar-background-3);--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);--scalar-sidebar-search--color: var(--scalar-color-3)}",purple:".light-mode{--scalar-background-1: #fff;--scalar-background-2: #f5f6f8;--scalar-background-3: #eceef1;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(215, 215, 206, .5)}.dark-mode{--scalar-background-1: #15171c;--scalar-background-2: #1c1e24;--scalar-background-3: #22252b;--scalar-color-1: #fafafa;--scalar-color-2: #c9ced8;--scalar-color-3: #8c99ad;--scalar-color-accent: #5469d4;--scalar-background-accent: #5469d41f;--scalar-border-color: rgba(255, 255, 255, .12)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-3);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}",solarized:".light-mode{color-scheme:light;--scalar-color-1: #584c27;--scalar-color-2: #616161;--scalar-color-3: #a89f84;--scalar-color-accent: #b58900;--scalar-background-1: #fdf6e3;--scalar-background-2: #eee8d5;--scalar-background-3: #ddd6c1;--scalar-background-accent: #b589001f;--scalar-border-color: #ded8c8;--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-button-1: rgb(49 53 56);--scalar-button-1-color: #fff;--scalar-button-1-hover: rgb(28 31 33);--scalar-color-red: #b91c1c;--scalar-color-orange: #a16207;--scalar-color-green: #047857;--scalar-color-blue: #1d4ed8;--scalar-color-orange: #c2410c;--scalar-color-purple: #6d28d9}.dark-mode{color-scheme:dark;--scalar-color-1: #fff;--scalar-color-2: #cccccc;--scalar-color-3: #6d8890;--scalar-color-accent: #007acc;--scalar-background-1: #00212b;--scalar-background-2: #012b36;--scalar-background-3: #004052;--scalar-background-accent: #015a6f;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-scrollbar-color: rgba(255, 255, 255, .24);--scalar-scrollbar-color-active: rgba(255, 255, 255, .48);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-button-1: #f6f6f6;--scalar-button-1-color: #000;--scalar-button-1-hover: #e7e7e7;--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);--scalar-sidebar-search--color: var(--scalar-color-3)}.dark-mode .sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-sidebar-color-1);--scalar-sidebar-search-background: var(--scalar-background-2);--scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);--scalar-sidebar-search--color: var(--scalar-color-3)}",bluePlanet:":root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f0f2f5;--scalar-background-2: #eaecf0;--scalar-background-3: #e0e2e6;--scalar-border-color: rgb(228, 228, 231);--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .scalar-card.dark-mode,.dark-mode{--scalar-background-1: #000e23;--scalar-background-2: #01132e;--scalar-background-3: #03193b;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-accent: #8ab4f81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3);z-index:1}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.section-flare-item:nth-of-type(1){--c1: #ffffff;--c2: #babfd8;--c3: #2e8bb2;--c4: #1a8593;--c5: #0a143e;--c6: #0a0f52;--c7: #2341b8;--solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);--solid-wrap: var(--solid), var(--c1);--trans: var(--c1), transparent, var(--c2), transparent, var(--c3), transparent, var(--c4), transparent, var(--c5), transparent, var(--c6), transparent, var(--c7);--trans-wrap: var(--trans), transparent, var(--c1);background:radial-gradient(circle,var(--trans)),conic-gradient(from 180deg,var(--trans-wrap)),radial-gradient(circle,var(--trans)),conic-gradient(var(--solid-wrap));width:70vw;height:700px;border-radius:50%;filter:blur(100px);z-index:0;right:0;position:absolute;transform:rotate(-45deg);top:-300px;opacity:.3}.section-flare-item:nth-of-type(3){--star-color: #6b9acc;--star-color2: #446b8d;--star-color3: #3e5879;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;width:100%;height:100%;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%)}.section-flare{top:-150px!important;height:100vh;background:linear-gradient(#000,var(--scalar-background-1));width:100vw}.light-mode .section-flare{display:none}.light-mode .scalar-card{--scalar-background-1: #fff;--scalar-background-2: #fff;--scalar-background-3: #fff}",deepSpace:':root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-color-1: rgb(9, 9, 11);--scalar-color-2: rgb(113, 113, 122);--scalar-color-3: rgba(25, 25, 28, .5);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #fff;--scalar-background-2: #f4f4f5;--scalar-background-3: #e3e3e6;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgb(228, 228, 231);--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: var(--scalar-color-1);--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-background-accent: #8ab4f81f;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-item-active-background: var(--scalar-background-2)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.section-flare{width:100vw;height:550px;position:relative}.section-flare-item:nth-of-type(1){position:absolute;width:100vw;height:550px;--stripesDark: repeating-linear-gradient( 100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16% );--rainbow: repeating-linear-gradient( 100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30% );background-image:var(--stripesDark),var(--rainbow);background-size:300%,200%;background-position:50% 50%,50% 50%;filter:invert(100%);-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);pointer-events:none;opacity:.07}.dark-mode .section-flare-item:nth-of-type(1){background-image:var(--stripesDark),var(--rainbow);filter:opacity(50%) saturate(200%);opacity:.25;height:350px}.section-flare-item:nth-of-type(1):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--stripesDark),var(--rainbow);background-size:200%,100%;background-attachment:fixed;mix-blend-mode:difference}.dark-mode .section-flare:after{background-image:var(--stripesDark),var(--rainbow)}.section-flare-item:nth-of-type(2){--star-color: #fff;--star-color2: #fff;--star-color3: #fff;width:100%;height:100%;position:absolute;background-image:radial-gradient(2px 2px at 20px 30px,var(--star-color2),rgba(0,0,0,0)),radial-gradient(2px 2px at 40px 70px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 50px 160px,var(--star-color3),rgba(0,0,0,0)),radial-gradient(2px 2px at 90px 40px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 130px 80px,var(--star-color),rgba(0,0,0,0)),radial-gradient(2px 2px at 160px 120px,var(--star-color3),rgba(0,0,0,0));background-repeat:repeat;background-size:200px 200px;-webkit-mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);mask-image:radial-gradient(ellipse at 100% 0%,black 40%,transparent 70%);opacity:.2}',saturn:".light-mode{--scalar-background-1: #f3f3ee;--scalar-background-2: #e8e8e3;--scalar-background-3: #e4e4df;--scalar-border-color: rgba(215, 215, 206, .5);--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #1763a6;--scalar-background-accent: #1f648e1f}.dark-mode{--scalar-background-1: #09090b;--scalar-background-2: #18181b;--scalar-background-3: #2c2c30;--scalar-border-color: rgba(255, 255, 255, .12);--scalar-color-1: #fafafa;--scalar-color-2: rgb(161, 161, 170);--scalar-color-3: rgba(255, 255, 255, .533);--scalar-color-accent: #4eb3ec;--scalar-background-accent: #8ab4f81f}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: var(--scalar-background-1);--scalar-sidebar-search-border-color: var(--scalar-border-color);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #17803d;--scalar-color-red: #e10909;--scalar-color-yellow: #edbe20;--scalar-color-blue: #1763a6;--scalar-color-orange: #e25b09;--scalar-color-purple: #5c3993;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #30a159;--scalar-color-red: #dc1b19;--scalar-color-yellow: #eec644;--scalar-color-blue: #2b7abf;--scalar-color-orange: #f07528;--scalar-color-purple: #7a59b1;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}",kepler:".light-mode{--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #7070ff;--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #7070ff1f;--scalar-border-color: rgba(0, 0, 0, .1);--scalar-code-language-color-supersede: var(--scalar-color-3)}.dark-mode{--scalar-color-1: #f7f8f8;--scalar-color-2: rgb(180, 188, 208);--scalar-color-3: #b4bcd099;--scalar-color-accent: #828fff;--scalar-background-1: #000212;--scalar-background-2: #0d0f1e;--scalar-background-3: #232533;--scalar-background-accent: #8ab4f81f;--scalar-border-color: #242537;--scalar-code-language-color-supersede: var(--scalar-color-3)}.light-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-accent);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(0, 0, 0, .05);--scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, .05);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-background-2: rgba(0, 0, 0, .03)}.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: rgba(255, 255, 255, .1);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, .05);--scalar-sidebar-search-color: var(--scalar-color-3)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.sidebar-search{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}@keyframes headerbackground{0%{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}to{background:var(--header-background-1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}.dark-mode .scalar-card{background:#ffffff0d!important}.dark-mode .scalar-card *{--scalar-background-2: transparent !important;--scalar-background-1: transparent !important}.light-mode .dark-mode.scalar-card *,.light-mode .dark-mode.scalar-card{--scalar-background-1: #0d0f1e !important;--scalar-background-2: #0d0f1e !important;--scalar-background-3: #191b29 !important}.light-mode .dark-mode.scalar-card{background:#191b29!important}.badge{box-shadow:0 0 0 1px var(--scalar-border-color);margin-right:6px}.table-row.required-parameter .table-row-item:nth-of-type(2):after{background:transparent;box-shadow:none}.section-flare{width:100vw;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(120,119,198,.3),transparent);height:100vh}",mars:":root{--scalar-text-decoration: underline;--scalar-text-decoration-hover: underline}.light-mode{--scalar-background-1: #f9f6f0;--scalar-background-2: #f2efe8;--scalar-background-3: #e9e7e2;--scalar-border-color: rgba(203, 165, 156, .6);--scalar-color-1: #c75549;--scalar-color-2: #c75549;--scalar-color-3: #c75549;--scalar-color-accent: #c75549;--scalar-background-accent: #dcbfa81f;--scalar-code-language-color-supersede: var(--scalar-color-1)}.dark-mode{--scalar-background-1: #140507;--scalar-background-2: #20090c;--scalar-background-3: #321116;--scalar-border-color: rgba(255, 255, 255, .1);--scalar-color-1: rgba(255, 255, 255, .9);--scalar-color-2: rgba(255, 255, 255, .62);--scalar-color-3: rgba(255, 255, 255, .44);--scalar-color-accent: rgba(255, 255, 255, .9);--scalar-background-accent: #441313;--scalar-code-language-color-supersede: var(--scalar-color-1)}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-active-background: var(--scalar-background-3);--scalar-sidebar-color-active: var(--scalar-color-accent);--scalar-sidebar-search-background: rgba(255, 255, 255, .1);--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color);z-index:1}.light-mode{--scalar-color-green: #09533a;--scalar-color-red: #aa181d;--scalar-color-yellow: #ab8d2b;--scalar-color-blue: #19689a;--scalar-color-orange: #b26c34;--scalar-color-purple: #4c2191;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: rgba(69, 255, 165, .823);--scalar-color-red: #ff8589;--scalar-color-yellow: #ffcc4d;--scalar-color-blue: #6bc1fe;--scalar-color-orange: #f98943;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}.dark-mode h2.t-editor__heading,.dark-mode .t-editor__page-title h1,.dark-mode h1.section-header,.dark-mode .markdown h1,.dark-mode .markdown h2,.dark-mode .markdown h3,.dark-mode .markdown h4,.dark-mode .markdown h5,.dark-mode .markdown h6{-webkit-text-fill-color:transparent;background-image:linear-gradient(to right bottom,#fff 30%,#ffffff61);-webkit-background-clip:text;background-clip:text}.light-mode .t-doc__sidebar{--scalar-sidebar-search-background: white}.examples .scalar-card-footer{--scalar-background-3: transparent;padding-top:0}.section-flare-item:nth-of-type(1){background:#d25019;width:80vw;height:500px;margin-top:-150px;border-radius:50%;filter:blur(100px);z-index:0}.light-mode .section-flare{display:none}.section-flare{top:-150px!important;height:100vh;right:-400px!important;left:initial}"},od=e=>"none"===e?"":ad[e||"default"]??ed,id=(e,t)=>{const{variables:r=!0,fonts:n=!0,layer:a="scalar-theme"}=t??{},o=[od(e),r?':root{--scalar-border-width: 1px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, .1);--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}':"",n?'@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400;src:url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}':""].join("");return a?`@layer ${a} {\n${o}}`:o};var sd=Object.defineProperty,ld=(e,t,r)=>(((e,t,r)=>{t in e?sd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let cd=0;const ud=new class{constructor(){ld(this,"subscribers"),ld(this,"toasts"),ld(this,"subscribe",(e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}))),ld(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))})),ld(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]})),ld(this,"create",(e=>{var t;const{message:r,...n}=e,a="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:cd++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:r}),{...t,...e,id:a,dismissible:i,title:r}):t)):this.addToast({title:r,...n,dismissible:i,id:a}),a})),ld(this,"dismiss",(e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e))),ld(this,"message",((e,t)=>this.create({...t,message:e,type:"default"}))),ld(this,"error",((e,t)=>this.create({...t,type:"error",message:e}))),ld(this,"success",((e,t)=>this.create({...t,type:"success",message:e}))),ld(this,"info",((e,t)=>this.create({...t,type:"info",message:e}))),ld(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e}))),ld(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e}))),ld(this,"promise",((e,t)=>{if(!t)return;let r;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));const n=e instanceof Promise?e:e();let a=void 0!==r;return n.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,n="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description;this.create({id:r,type:"error",message:e,description:n})}else if(void 0!==t.success){a=!1;const n="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"success",message:n,description:o})}})).catch((e=>{if(void 0!==t.error){a=!1;const n="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description;this.create({id:r,type:"error",message:n,description:o})}})).finally((()=>{var e;a&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)})),r})),ld(this,"custom",((e,t)=>{const r=(null==t?void 0:t.id)||cd++;return this.publish({component:e,id:r,...t}),r})),this.subscribers=[],this.toasts=[]}},dd=Object.assign(((e,t)=>{const r=(null==t?void 0:t.id)||cd++;return ud.create({message:e,id:r,type:"default",...t}),r}),{success:ud.success,info:ud.info,warning:ud.warning,error:ud.error,custom:ud.custom,message:ud.message,promise:ud.promise,dismiss:ud.dismiss,loading:ud.loading}),pd=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},hd={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},fd=[To("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),To("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)],md=pd({},[["render",function(e,t){return bo(),wo("svg",hd,fd)}]]),gd=["aria-live","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],bd=["aria-label","data-disabled"],vd={key:0,"data-icon":""},Od={"data-content":""},yd=Fn({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},duration:{},descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const r=t,n=e,a=Cr(!1),o=Cr(!1),i=Cr(!1),s=Cr(!1),l=Cr(0),c=Cr(0),u=Cr(null),d=Cr(null),p=ti((()=>0===n.index)),h=ti((()=>n.index+1<=n.visibleToasts)),f=ti((()=>n.toast.type)),m=ti((()=>!1!==n.toast.dismissible)),g=ti((()=>{var e,t,r,a,o,i,s;return n.cn(null==(e=n.classes)?void 0:e.toast,null==(r=null==(t=n.toast)?void 0:t.classes)?void 0:r.toast,null==(a=n.classes)?void 0:a.default,null==(o=n.classes)?void 0:o[n.toast.type||"default"],null==(s=null==(i=n.toast)?void 0:i.classes)?void 0:s[n.toast.type||"default"])})),b=n.toast.style||{},v=ti((()=>n.heights.findIndex((e=>e.toastId===n.toast.id))||0)),O=ti((()=>n.toast.closeButton??n.closeButton)),y=ti((()=>n.toast.duration||n.duration||4e3)),w=Cr(0),x=Cr(0),k=Cr(y.value),_=Cr(0),S=Cr(null),E=ti((()=>n.position.split("-"))),T=ti((()=>E.value[0])),A=ti((()=>E.value[1])),C="string"!=typeof n.toast.title,P="string"!=typeof n.toast.description,D=ti((()=>n.heights.reduce(((e,t,r)=>r>=v.value?e:e+t.height),0))),R=(()=>{const e=Cr(!1);return za((()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}})(),N=ti((()=>n.toast.invert||n.invert)),$=ti((()=>"loading"===f.value));Cn((()=>{if(!a.value)return;const e=d.value,t=null==e?void 0:e.style.height;e.style.height="auto";const o=e.getBoundingClientRect().height;let i;e.style.height=t,c.value=o,i=n.heights.find((e=>e.toastId===n.toast.id))?n.heights.map((e=>e.toastId===n.toast.id?{...e,height:o}:e)):[{toastId:n.toast.id,height:o,position:n.toast.position},...n.heights],r("update:heights",i)}));const I=()=>{o.value=!0,l.value=x.value;const e=n.heights.filter((e=>e.toastId!==n.toast.id));r("update:heights",e),setTimeout((()=>{r("removeToast",n.toast)}),200)},M=()=>{var e,t;$.value||!m.value||(I(),null==(t=(e=n.toast).onDismiss)||t.call(e,n.toast))},L=e=>{$.value||!m.value||(u.value=new Date,l.value=x.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(i.value=!0,S.value={x:e.clientX,y:e.clientY}))},Q=e=>{var t,r,a,o;if(s.value)return;S.value=null;const c=Number((null==(t=d.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),p=(new Date).getTime()-u.value.getTime(),h=Math.abs(c)/p;if(Math.abs(c)>=20||h>.11)return l.value=x.value,null==(a=(r=n.toast).onDismiss)||a.call(r,n.toast),I(),void(s.value=!0);null==(o=d.value)||o.style.setProperty("--swipe-amount","0px"),i.value=!1},B=e=>{var t;if(!S.value)return;const r=e.clientY-S.value.y,n=e.clientX-S.value.x,a=("top"===E.value[0]?Math.min:Math.max)(0,r),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=d.value)||t.style.setProperty("--swipe-amount",`${r}px`):Math.abs(n)>o&&(S.value=null)};return za((()=>{x.value=14*v.value+D.value})),za((e=>{if(n.toast.promise&&"loading"===f.value||n.toast.duration===1/0||"loading"===n.toast.type)return;let t;n.expanded||n.interacting||n.pauseWhenPageIsHidden&&R?(()=>{if(_.value{var e,t;null==(t=(e=n.toast).onAutoClose)||t.call(e,n.toast),I()}),k.value)),e((()=>{clearTimeout(t)}))})),za((()=>{n.toast.delete&&I()})),Cn((()=>{if(d.value){const e=d.value.getBoundingClientRect().height;c.value=e;const t=[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights];r("update:heights",t)}a.value=!0})),Nn((()=>{if(d.value){const e=n.heights.filter((e=>e.toastId!==n.toast.id));r("update:heights",e)}})),(e,t)=>{var r,n,u,v,y,w,k,_,S,E,D,R;return bo(),wo("li",{"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",class:Ge(g.value),"data-styled":!(e.toast.component||null!=(r=e.toast)&&r.unstyled||e.unstyled),"data-mounted":a.value,"data-promise":!!e.toast.promise,"data-removed":o.value,"data-visible":h.value,"data-y-position":T.value,"data-x-position":A.value,"data-index":e.index,"data-front":p.value,"data-swiping":i.value,"data-dismissible":m.value,"data-type":f.value,"data-invert":N.value,"data-swipe-out":s.value,"data-expanded":!!(e.expanded||e.expandByDefault&&a.value),style:He({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${o.value?l.value:x.value}px`,"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...Nr(b)}),onPointerdown:L,onPointerup:Q,onPointermove:B},[O.value&&!e.toast.component?(bo(),wo("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":$.value,"data-close-button":"",class:Ge(e.cn(null==(n=e.classes)?void 0:n.closeButton,null==(v=null==(u=e.toast)?void 0:u.classes)?void 0:v.closeButton)),onClick:M},[Ao(md)],10,bd)):No("",!0),e.toast.component?(bo(),xo(kn(e.toast.component),Lo({key:1},e.toast.componentProps,{onCloseToast:I}),null,16)):(bo(),wo(uo,{key:2},["default"!==f.value||e.toast.icon||e.toast.promise?(bo(),wo("div",vd,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?No("",!0):Zn(e.$slots,"loading-icon",{key:0}),e.toast.icon?(bo(),xo(kn(e.toast.icon),{key:1})):(bo(),wo(uo,{key:2},["success"===f.value?Zn(e.$slots,"success-icon",{key:0}):"error"===f.value?Zn(e.$slots,"error-icon",{key:1}):"warning"===f.value?Zn(e.$slots,"warning-icon",{key:2}):"info"===f.value?Zn(e.$slots,"info-icon",{key:3}):No("",!0)],64))])):No("",!0),To("div",Od,[To("div",{"data-title":"",class:Ge(e.cn(null==(y=e.classes)?void 0:y.title,null==(w=e.toast.classes)?void 0:w.title))},[C?(bo(),xo(kn(e.toast.title),Ke(Lo({key:0},e.toast.componentProps)),null,16)):(bo(),wo(uo,{key:1},[Do(nt(e.toast.title),1)],64))],2),e.toast.description?(bo(),wo("div",{key:0,"data-description":"",class:Ge(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(_=e.toast.classes)?void 0:_.description))},[P?(bo(),xo(kn(e.toast.description),Ke(Lo({key:0},e.toast.componentProps)),null,16)):(bo(),wo(uo,{key:1},[Do(nt(e.toast.description),1)],64))],2)):No("",!0)]),e.toast.cancel?(bo(),wo("button",{key:1,class:Ge(e.cn(null==(S=e.classes)?void 0:S.cancelButton,null==(E=e.toast.classes)?void 0:E.cancelButton)),"data-button":"","data-cancel":"",onClick:t[0]||(t[0]=()=>{var t;I(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})},nt(e.toast.cancel.label),3)):No("",!0),e.toast.action?(bo(),wo("button",{key:2,class:Ge(e.cn(null==(D=e.classes)?void 0:D.actionButton,null==(R=e.toast.classes)?void 0:R.actionButton)),"data-button":"",onClick:t[1]||(t[1]=t=>{var r;null==(r=e.toast.action)||r.onClick(t),!t.defaultPrevented&&I()})},nt(e.toast.action.label),3)):No("",!0)],64))],46,gd)}}}),wd=["data-visible"],xd={class:"sonner-spinner"},kd=Fn({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(e,r)=>(bo(),wo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[To("div",xd,[(bo(!0),wo(uo,null,jn(Nr(t),(e=>(bo(),wo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,wd))}}),_d={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Sd=[To("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)],Ed=pd({},[["render",function(e,t){return bo(),wo("svg",_d,Sd)}]]),Td={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ad=[To("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)],Cd=pd({},[["render",function(e,t){return bo(),wo("svg",Td,Ad)}]]),Pd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Dd=[To("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)],Rd=pd({},[["render",function(e,t){return bo(),wo("svg",Pd,Dd)}]]),Nd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$d=[To("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)],Id=pd({},[["render",function(e,t){return bo(),wo("svg",Nd,$d)}]]),Md=["aria-label"],Ld=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Qd="32px",Bd=typeof window<"u"&&typeof document<"u",jd=Fn({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{default:4e3},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:Qd},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){function t(...e){return e.filter(Boolean).join(" ")}function r(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}const n=e,a=Kn(),o=Cr([]),i=ti((()=>{const e=o.value.filter((e=>e.position)).map((e=>e.position));return e.length>0?Array.from(new Set([n.position].concat(e))):[n.position]})),s=Cr([]),l=Cr(!1),c=Cr(!1),u=Cr("system"!==n.theme?n.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=ti((()=>n.cn||t)),p=Cr(null),h=Cr(null),f=Cr(!1),m=n.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function g(e){o.value=o.value.filter((({id:t})=>t!==e.id))}const b=e=>{var t,r;f.value&&(null==(r=null==(t=e.currentTarget)?void 0:t.contains)||!r.call(t,e.relatedTarget))&&(f.value=!1,h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},v=e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,h.value=e.relatedTarget)},O=e=>{e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!1)};return za((e=>{const t=ud.subscribe((e=>{e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):Kr((()=>{const t=o.value.findIndex((t=>t.id===e.id));-1!==t?o.value.splice(t,1,e):o.value=[e,...o.value]}))}));e((()=>{t()}))})),Za((()=>n.theme),(e=>{"system"===e?("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{u.value=e?"dark":"light"}))):u.value=e})),Za((()=>p.value),(()=>{if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0}),h.value=null,f.value=!1)}})),za((()=>{o.value.length<=1&&(l.value=!1)})),za((e=>{function t(e){const t=n.hotkey.every((t=>e[t]||e.code===t)),r=Array.isArray(p.value)?p.value[0]:p.value;t&&(l.value=!0,null==r||r.focus());const a=document.activeElement===p.value||(null==r?void 0:r.contains(document.activeElement));"Escape"===e.code&&a&&(l.value=!1)}Bd&&(document.addEventListener("keydown",t),e((()=>{document.removeEventListener("keydown",t)})))})),(e,t)=>(bo(),wo("section",{"aria-label":`${e.containerAriaLabel} ${Nr(m)}`,tabIndex:-1},[(bo(!0),wo(uo,null,jn(i.value,((n,i)=>{var u;return bo(),wo("ol",Lo({key:n,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"",class:e.class,dir:"auto"===e.dir?r():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":n.split("-")[0],"data-x-position":n.split("-")[1],style:{"--front-toast-height":`${null==(u=s.value[0])?void 0:u.height}px`,"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||Qd,"--width":"356px","--gap":"14px",...e.style,...Nr(a).style},onBlur:b,onFocus:v,onMouseenter:t[1]||(t[1]=e=>l.value=!0),onMousemove:t[2]||(t[2]=e=>l.value=!0),onMouseleave:t[3]||(t[3]=()=>{c.value||(l.value=!1)}),onPointerdown:O,onPointerup:t[4]||(t[4]=e=>c.value=!1)},e.$attrs),[(bo(!0),wo(uo,null,jn(o.value.filter((t=>!t.position&&0===i||t.position===e.position)),((r,n)=>{var a,i,u,p,h,f,m,b,v;return bo(),xo(yd,{key:r.id,index:n,toast:r,duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,class:Ge(null==(i=e.toastOptions)?void 0:i.class),descriptionClass:null==(u=e.toastOptions)?void 0:u.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:(null==(p=e.toastOptions)?void 0:p.closeButton)??e.closeButton,interacting:c.value,position:e.position,style:He(null==(h=e.toastOptions)?void 0:h.style),unstyled:null==(f=e.toastOptions)?void 0:f.unstyled,classes:null==(m=e.toastOptions)?void 0:m.classes,cancelButtonStyle:null==(b=e.toastOptions)?void 0:b.cancelButtonStyle,actionButtonStyle:null==(v=e.toastOptions)?void 0:v.actionButtonStyle,toasts:o.value,expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:d.value,heights:s.value,"onUpdate:heights":t[0]||(t[0]=e=>s.value=e),onRemoveToast:g},{"loading-icon":mn((()=>[Zn(e.$slots,"loading-icon",{},(()=>[Ao(kd,{visible:"loading"===r.type},null,8,["visible"])]))])),"success-icon":mn((()=>[Zn(e.$slots,"success-icon",{},(()=>[Ao(Ed)]))])),"error-icon":mn((()=>[Zn(e.$slots,"error-icon",{},(()=>[Ao(Id)]))])),"warning-icon":mn((()=>[Zn(e.$slots,"warning-icon",{},(()=>[Ao(Rd)]))])),"info-icon":mn((()=>[Zn(e.$slots,"info-icon",{},(()=>[Ao(Cd)]))])),_:2},1032,["index","toast","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn","heights"])})),128))],16,Ld)})),128))],8,Md))}}),Ud={toast:()=>null};function Fd(e){Ud.toast=e}function zd(){return{initializeToasts:Fd,toast:(e,t="info",r={timeout:3e3})=>{Ud.toast(e,t,r)}}}const qd=Fn({__name:"ScalarToasts",setup(e){const t=Cr(!1);Cn((()=>t.value=!0));const r={success:dd.success,error:dd.error,warn:dd.warning,info:dd},{initializeToasts:n}=zd();return n(((e,t="info",n={})=>{(r[t]||r.info)(e,{duration:n.timeout||3e3,description:n.description})})),(e,r)=>t.value?(bo(),xo(Nr(jd),{key:0,toastOptions:{class:"toaster"}})):No("",!0)}});!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".toaster[data-sonner-toast][data-styled=true]{background:var(--scalar-background-1);color:var(--scalar-color-1);padding:18px;border:none;border-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-font-medium);box-shadow:var(--scalar-shadow-2)}.toaster[data-sonner-toast] [data-icon]{align-self:start}.toaster[data-sonner-toast][data-styled=true][data-expanded=true]{height:auto}.toaster[data-sonner-toast][data-type=error]{background:var(--scalar-background-1)}.toaster[data-sonner-toast][data-type=error] [data-icon]{color:color-mix(in srgb,var(--scalar-color-red) 75%,var(--scalar-color-1))}.toaster[data-sonner-toast][data-type=warning]{background:var(--scalar-background-1)}.toaster[data-sonner-toast][data-type=warning] [data-icon]{color:color-mix(in srgb,var(--scalar-color-orange) 90%,var(--scalar-color-1))}")),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();const Zd=()=>{const{toast:e}=zd();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")}))}}},Hd=Cr(!1),Vd="https://api.scalar.com/request-proxy",Wd="https://proxy.scalar.com",Xd=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Yd=Object.hasOwnProperty;class Gd{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=Kd(e,!0===t);const a=n;for(;Yd.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}}function Kd(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(Xd,"").replace(/ /g,"-"))}const Jd=Cr(Au.hash??""),ep=Cr(),tp=Cr(!1),rp=e=>e.slug?`description/${e.slug}`:"",np=e=>{var t;if(!ep.value)return"";const r=new RegExp("^"+(null==(t=ep.value)?void 0:t.basePath)+"/?");return decodeURIComponent(e.replace(r,""))},ap=(e,t)=>{if(!e)return"webhooks";const r=Kd(e);return`webhook/${t}/${encodeURIComponent(r)}`},op=e=>{if(!e)return"models";const t=Kd(e);return`model/${encodeURIComponent(t)}`},ip=(e,t)=>`${sp(t)}/${e.httpVerb}${e.path}`,sp=({name:e})=>{const t=Kd(e);return`tag/${encodeURIComponent(t)}`},lp=(e=Jd.value)=>{var t;const r=null==(t=e.match(/(tag\/[^/]+)/))?void 0:t[0],n=e.startsWith("model")?"models":"",a=e.startsWith("webhook")?"webhooks":"";return r||n||a},cp=()=>{Jd.value=ep.value?np(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},up=()=>({hash:Jd,getWebhookId:ap,getModelId:op,getHeadingId:rp,getOperationId:ip,getPathRoutingId:np,getSectionId:lp,getTagId:sp,isIntersectionEnabled:tp,pathRouting:ep,updateHash:cp});function dp(e){return{parameterMap:ti((()=>{var t;const r=(null==(t=e.operation.information)?void 0:t.parameters)??[],n={path:[],query:[],header:[],body:[],formData:[]};return e.operation.pathParameters&&e.operation.pathParameters.forEach((e=>{"path"===e.in?n.path.push(e):"query"===e.in?n.query.push(e):"header"===e.in?n.header.push(e):"body"===e.in?n.body.push(e):"formData"===e.in&&n.formData.push(e)})),r&&r.forEach((e=>{"path"===e.in?n.path.push(e):"query"===e.in?n.query.push(e):"header"===e.in?n.header.push(e):"body"===e.in?n.body.push(e):"formData"===e.in&&n.formData.push(e)})),n}))}}function pp(e,t){for(const[r,n]of Object.entries(e))null!==n&&"object"==typeof n?(t[r]??(t[r]=new n.__proto__.constructor),pp(n,t[r])):void 0!==n&&(t[r]=n);return t}function hp(e){return pp(e??{},{info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}function fp(e,t=""){return{"date-time":(new Date).toISOString(),date:(new Date).toISOString().split("T")[0],email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:(new Date).toISOString().split("T")[1].split(".")[0],"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000"}[e.format]??t}const mp=(e,t,r=0,n,a)=>{var o,i,s,l,c,u;if(r>5)return null;const d=!!(null==t?void 0:t.emptyString);if("write"===(null==t?void 0:t.mode)&&e.readOnly)return;if("read"===(null==t?void 0:t.mode)&&e.writeOnly)return;if(e["x-variable"]){const r=null==(o=null==t?void 0:t.variables)?void 0:o[e["x-variable"]];if(void 0!==r)return"number"===e.type||"integer"===e.type?parseInt(r,10):r}if(Array.isArray(e.examples)&&e.examples.length>0)return e.examples[0];if(void 0!==e.example)return e.example;if(void 0!==e.default)return e.default;if(void 0!==e.enum)return e.enum[0];if("object"!==e.type&&"array"!==e.type&&!0===(null==t?void 0:t.omitEmptyAndOptionalProperties)&&!0!==e.required&&!0!==(null==n?void 0:n.required)&&!(null==(i=null==n?void 0:n.required)?void 0:i.includes(a??e.name)))return;if("object"===e.type||void 0!==e.properties){const n={};if(void 0!==e.properties&&Object.keys(e.properties).forEach((a=>{var o;const i=e.properties[a],s=(null==t?void 0:t.xml)?null==(o=i.xml)?void 0:o.name:void 0;n[s??a]=mp(i,t,r+1,e,a),void 0===n[s??a]&&delete n[s??a]})),void 0!==e.anyOf?Object.assign(n,mp(e.anyOf[0]),t,r+1):void 0!==e.oneOf?Object.assign(n,mp(e.oneOf[0]),t,r+1):void 0!==e.allOf&&Object.assign(n,...e.allOf.map((n=>mp(n,t,r+1,e))).filter((e=>void 0!==e))),void 0!==e.additionalProperties&&!1!==e.additionalProperties){const a=mp(e.additionalProperties,t,r+1);if(a&&"object"==typeof a&&!Array.isArray(a))return{...n,...mp(e.additionalProperties,t,r+1)};if(null===a)return null;const o=mp(e.additionalProperties,{...t,omitEmptyAndOptionalProperties:!1},r+1);return{...n,...void 0===o?{}:{"{{key}}":o}}}return n}if("array"===e.type||void 0!==e.items){const n=null==(l=null==(s=null==e?void 0:e.items)?void 0:s.xml)?void 0:l.name,a=!!((null==t?void 0:t.xml)&&(null==(c=e.xml)?void 0:c.wrapped)&&n);if(void 0!==e.example)return a?{[n]:e.example}:e.example;if(e.items){const o=["anyOf","oneOf","allOf"];for(const i of o){if(!e.items[i])continue;const o=(["anyOf","oneOf"].includes(i)?e.items[i].slice(0,1):e.items[i]).map((n=>mp(n,t,r+1,e))).filter((e=>void 0!==e));return a?[{[n]:o}]:o}}if(null==(u=e.items)?void 0:u.type){const o=mp(e.items,t,r+1);return a?[{[n]:o}]:[o]}return[]}const p={string:d?fp(e,null==t?void 0:t.emptyString):"",boolean:!0,integer:e.min??1,number:e.min??1,array:[]};if(void 0!==e.type&&void 0!==p[e.type])return p[e.type];if(Array.isArray(e.oneOf)&&e.oneOf.length>0){const n=e.oneOf[0];return mp(n,t,r+1)}if(Array.isArray(e.allOf)){let n=null;return e.allOf.forEach((e=>{const a=mp(e,t,r+1);n="object"==typeof a&&"object"==typeof n?{...n??{},...a}:Array.isArray(a)&&Array.isArray(n)?[...n??{},...a]:a})),n}if(Array.isArray(e.type)){if(e.type.includes("null"))return null;const t=p[e.type[0]];if(void 0!==t)return t}return console.warn(`[getExampleFromSchema] Unknown property type "${e.type}".`),null};function gp(e,t,r=!0){var n;return[...e.pathParameters||[],...(null==(n=e.information)?void 0:n.parameters)||[]].filter((e=>e.in===t)).filter((e=>r&&e.required||!r)).map((e=>({name:e.name,description:e.description??null,value:e.example?e.example:e.schema?mp(e.schema,{mode:"write"}):"",required:e.required??!1,enabled:e.required??!1}))).sort(((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:0))}function bp(e,t){const r=function(e,t,n){let a="";if(e instanceof Array)for(let o=0,i=e.length;o":"/>",o){for(const t in e)"#text"==t?a+=e[t]:"#cdata"==t?a+="":"@"!=t.charAt(0)&&(a+=r(e[t],t,n+"\t"));a+=("\n"==a.charAt(a.length-1)?n:"")+""+t+">"}}else a+=n+"<"+t+">"+e.toString()+""+t+">";return a};let n="";for(const t in e)n+=r(e[t],t,"");return t?n.replace(/\t/g,t):n.replace(/\t|\n/g,"")}function vp(e,t){var r,n,a,o;const i=_u(null==(n=null==(r=e.information)?void 0:r.requestBody)?void 0:n.content),s=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"].find((e=>!!(null==i?void 0:i[e]))),l=null==(a=null==i?void 0:i["application/json"])?void 0:a.examples,c=null==(o=l??{})?void 0:o[t??Object.keys(l??{})[0]];if(c)return{postData:{mimeType:"application/json",text:Eu(null==c?void 0:c.value)}};const u=gp(e,"body",!1);if(u.length>0)return{postData:{mimeType:"application/json",text:Eu(u[0].value)}};const d=gp(e,"formData",!1);if(d.length>0)return{postData:{mimeType:"application/x-www-form-urlencoded",params:d.map((e=>({name:e.name,value:e.value})))}};if(!s)return{postData:void 0};const p=null==i?void 0:i[s],h=[{name:"Content-Type",value:s}],f=(null==p?void 0:p.example)?null==p?void 0:p.example:void 0;if("application/json"===s){const e=(null==p?void 0:p.schema)?mp(null==p?void 0:p.schema,{mode:"write",omitEmptyAndOptionalProperties:!0}):null,t=f??e;return{headers:h,postData:{mimeType:s,text:"string"==typeof t?t:JSON.stringify(t,null,2)}}}if("application/xml"===s){const e=(null==p?void 0:p.schema)?mp(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,postData:{mimeType:s,text:f??bp(e," ")}}}if("application/octet-stream"===s)return{headers:h,postData:{mimeType:s,text:"BINARY"}};if("text/plain"===s){const e=(null==p?void 0:p.schema)?mp(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,postData:{mimeType:s,text:f??e??""}}}return"application/x-www-form-urlencoded"===s||"multipart/form-data"===s?{headers:h,postData:{mimeType:s}}:void 0}const Op=(e,t,r)=>{let n=e.path;const a=gp(e,"path",!1);if(a.length){const e=n.match(/{(.*?)}/g);e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");if(a){const r=a.find((e=>e.name===t));(null==r?void 0:r.value)&&(n=n.replace(e,r.value.toString()))}}))}if(!0===(null==t?void 0:t.replaceVariables)){const e=n.match(/{(.*?)}/g);e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");n=n.replace(e,`__${t.toUpperCase()}__`)}))}const o=vp(e,r);return{method:e.httpVerb.toUpperCase(),path:n,headers:[...gp(e,"header",null==t?void 0:t.requiredOnly),...(null==o?void 0:o.headers)??[]],postData:null==o?void 0:o.postData,queryString:gp(e,"query",null==t?void 0:t.requiredOnly),cookies:gp(e,"cookie",null==t?void 0:t.requiredOnly)}};function yp({serverState:e,authenticationState:t,operation:r,globalSecurity:n}){var a,o;const i=$f({url:Cu(e)},Op(r,{requiredOnly:!1}),t?as(t,(null==(a=r.information)?void 0:a.security)??n??[]):{}),s=Op(r,{requiredOnly:!1}),l=gp(r,"path",!1);return{id:r.operationId,name:r.name,type:i.method,path:s.path??"",variables:l,cookies:wp(i.cookies),query:i.queryString.map((e=>{const t=e;return{...e,enabled:t.required??!0}})),headers:wp(i.headers),url:Cu(e)??"",body:null==(o=i.postData)?void 0:o.text}}function wp(e){return(e??[]).map((e=>({...e,enabled:!0})))}function xp(e,t){return function(){return e.apply(t,arguments)}}const{toString:kp}=Object.prototype,{getPrototypeOf:_p}=Object,Sp=(e=>t=>{const r=kp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Ep=e=>(e=e.toLowerCase(),t=>Sp(t)===e),Tp=e=>t=>typeof t===e,{isArray:Ap}=Array,Cp=Tp("undefined"),Pp=Ep("ArrayBuffer"),Dp=Tp("string"),Rp=Tp("function"),Np=Tp("number"),$p=e=>null!==e&&"object"==typeof e,Ip=e=>{if("object"!==Sp(e))return!1;const t=_p(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Mp=Ep("Date"),Lp=Ep("File"),Qp=Ep("Blob"),Bp=Ep("FileList"),jp=Ep("URLSearchParams"),[Up,Fp,zp,qp]=["ReadableStream","Request","Response","Headers"].map(Ep);function Zp(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,a;if("object"!=typeof e&&(e=[e]),Ap(e))for(n=0,a=e.length;n0;)if(n=r[a],t===n.toLowerCase())return n;return null}const Vp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Wp=e=>!Cp(e)&&e!==Vp,Xp=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&_p(Uint8Array)),Yp=Ep("HTMLFormElement"),Gp=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Kp=Ep("RegExp"),Jp=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Zp(r,((r,a)=>{let o;!1!==(o=t(r,a,e))&&(n[a]=o||r)})),Object.defineProperties(e,n)},eh="abcdefghijklmnopqrstuvwxyz",th="0123456789",rh={DIGIT:th,ALPHA:eh,ALPHA_DIGIT:eh+eh.toUpperCase()+th},nh=Ep("AsyncFunction"),ah={isArray:Ap,isArrayBuffer:Pp,isBuffer:function(e){return null!==e&&!Cp(e)&&null!==e.constructor&&!Cp(e.constructor)&&Rp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Rp(e.append)&&("formdata"===(t=Sp(e))||"object"===t&&Rp(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pp(e.buffer),t},isString:Dp,isNumber:Np,isBoolean:e=>!0===e||!1===e,isObject:$p,isPlainObject:Ip,isReadableStream:Up,isRequest:Fp,isResponse:zp,isHeaders:qp,isUndefined:Cp,isDate:Mp,isFile:Lp,isBlob:Qp,isRegExp:Kp,isFunction:Rp,isStream:e=>$p(e)&&Rp(e.pipe),isURLSearchParams:jp,isTypedArray:Xp,isFileList:Bp,forEach:Zp,merge:function e(){const{caseless:t}=Wp(this)&&this||{},r={},n=(n,a)=>{const o=t&&Hp(r,a)||a;Ip(r[o])&&Ip(n)?r[o]=e(r[o],n):Ip(n)?r[o]=e({},n):Ap(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e(Zp(t,((t,n)=>{r&&Rp(t)?e[n]=xp(t,r):e[n]=t}),{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let a,o,i;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),o=a.length;o-- >0;)i=a[o],n&&!n(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==r&&_p(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:Sp,kindOfTest:Ep,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(Ap(e))return e;let t=e.length;if(!Np(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Yp,hasOwnProperty:Gp,hasOwnProp:Gp,reduceDescriptors:Jp,freezeMethods:e=>{Jp(e,((t,r)=>{if(Rp(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Rp(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return Ap(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Hp,global:Vp,isContextDefined:Wp,ALPHABET:rh,generateString:(e=16,t=rh.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&Rp(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if($p(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const a=Ap(e)?[]:{};return Zp(e,((e,t)=>{const o=r(e,n+1);!Cp(o)&&(a[t]=o)})),t[n]=void 0,a}}return e};return r(e,0)},isAsyncFn:nh,isThenable:e=>e&&($p(e)||Rp(e))&&Rp(e.then)&&Rp(e.catch)};function oh(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}ah.inherits(oh,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ah.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ih=oh.prototype,sh={};function lh(e){return ah.isPlainObject(e)||ah.isArray(e)}function ch(e){return ah.endsWith(e,"[]")?e.slice(0,-2):e}function uh(e,t,r){return e?e.concat(t).map((function(e,t){return e=ch(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{sh[e]={value:e}})),Object.defineProperties(oh,sh),Object.defineProperty(ih,"isAxiosError",{value:!0}),oh.from=(e,t,r,n,a,o)=>{const i=Object.create(ih);return ah.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),oh.call(i,e.message,t,r,n,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const dh=ah.toFlatObject(ah,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ph(e,t,r){if(!ah.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=ah.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ah.isUndefined(t[e])}))).metaTokens,a=r.visitor||c,o=r.dots,i=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&ah.isSpecCompliantForm(t);if(!ah.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(ah.isDate(e))return e.toISOString();if(!s&&ah.isBlob(e))throw new oh("Blob is not supported. Use a Buffer instead.");return ah.isArrayBuffer(e)||ah.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,r,a){let s=e;if(e&&!a&&"object"==typeof e)if(ah.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(ah.isArray(e)&&function(e){return ah.isArray(e)&&!e.some(lh)}(e)||(ah.isFileList(e)||ah.endsWith(r,"[]"))&&(s=ah.toArray(e)))return r=ch(r),s.forEach((function(e,n){!ah.isUndefined(e)&&null!==e&&t.append(!0===i?uh([r],n,o):null===i?r:r+"[]",l(e))})),!1;return!!lh(e)||(t.append(uh(a,r,o),l(e)),!1)}const u=[],d=Object.assign(dh,{defaultVisitor:c,convertValue:l,isVisitable:lh});if(!ah.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!ah.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),ah.forEach(r,(function(r,o){!0===(!(ah.isUndefined(r)||null===r)&&a.call(t,r,ah.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])})),u.pop()}}(e),t}function hh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function fh(e,t){this._pairs=[],e&&ph(e,this,t)}const mh=fh.prototype;function gh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bh(e,t,r){if(!t)return e;const n=r&&r.encode||gh,a=r&&r.serialize;let o;if(o=a?a(t,r):ah.isURLSearchParams(t)?t.toString():new fh(t,r).toString(n),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}mh.append=function(e,t){this._pairs.push([e,t])},mh.toString=function(e){const t=e?function(t){return e.call(this,t,hh)}:hh;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class vh{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ah.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const Oh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yh={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:fh,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},wh="undefined"!=typeof window&&"undefined"!=typeof document,xh=(kh="undefined"!=typeof navigator&&navigator.product,wh&&["ReactNative","NativeScript","NS"].indexOf(kh)<0);var kh;const _h="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Sh=wh&&window.location.href||"http://localhost",Eh={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wh,hasStandardBrowserEnv:xh,hasStandardBrowserWebWorkerEnv:_h,origin:Sh},Symbol.toStringTag,{value:"Module"})),...yh};function Th(e){function t(e,r,n,a){let o=e[a++];if("__proto__"===o)return!0;const i=Number.isFinite(+o),s=a>=e.length;return o=!o&&ah.isArray(n)?n.length:o,s?(ah.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!i):(n[o]&&ah.isObject(n[o])||(n[o]=[]),t(e,r,n[o],a)&&ah.isArray(n[o])&&(n[o]=function(e){const t={},r=Object.keys(e);let n;const a=r.length;let o;for(n=0;n{t(function(e){return ah.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const Ah={transitional:Oh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,a=ah.isObject(e);if(a&&ah.isHTMLForm(e)&&(e=new FormData(e)),ah.isFormData(e))return n?JSON.stringify(Th(e)):e;if(ah.isArrayBuffer(e)||ah.isBuffer(e)||ah.isStream(e)||ah.isFile(e)||ah.isBlob(e)||ah.isReadableStream(e))return e;if(ah.isArrayBufferView(e))return e.buffer;if(ah.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ph(e,new Eh.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return Eh.isNode&&ah.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=ah.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ph(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),function(e,t,r){if(ah.isString(e))try{return(0,JSON.parse)(e),ah.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ah.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(ah.isResponse(e)||ah.isReadableStream(e))return e;if(e&&ah.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw oh.from(e,oh.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Eh.classes.FormData,Blob:Eh.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ah.forEach(["delete","get","head","post","put","patch"],(e=>{Ah.headers[e]={}}));const Ch=ah.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ph=Symbol("internals");function Dh(e){return e&&String(e).trim().toLowerCase()}function Rh(e){return!1===e||null==e?e:ah.isArray(e)?e.map(Rh):String(e)}function Nh(e,t,r,n,a){return ah.isFunction(n)?n.call(this,t,r):(a&&(t=r),ah.isString(t)?ah.isString(n)?-1!==t.indexOf(n):ah.isRegExp(n)?n.test(t):void 0:void 0)}let $h=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function a(e,t,r){const a=Dh(t);if(!a)throw new Error("header name must be a non-empty string");const o=ah.findKey(n,a);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=Rh(e))}const o=(e,t)=>ah.forEach(e,((e,r)=>a(e,r,t)));if(ah.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ah.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let r,n,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),r=e.substring(0,a).trim().toLowerCase(),n=e.substring(a+1).trim(),!r||t[r]&&Ch[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(ah.isHeaders(e))for(const[t,n]of e.entries())a(n,t,r);else null!=e&&a(t,e,r);return this}get(e,t){if(e=Dh(e)){const r=ah.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(ah.isFunction(t))return t.call(this,e,r);if(ah.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Dh(e)){const r=ah.findKey(this,e);return!(!r||void 0===this[r]||t&&!Nh(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function a(e){if(e=Dh(e)){const a=ah.findKey(r,e);!a||t&&!Nh(0,r[a],a,t)||(delete r[a],n=!0)}}return ah.isArray(e)?e.forEach(a):a(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const a=t[r];e&&!Nh(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}normalize(e){const t=this,r={};return ah.forEach(this,((n,a)=>{const o=ah.findKey(r,a);if(o)return t[o]=Rh(n),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(a):String(a).trim();i!==a&&delete t[a],t[i]=Rh(n),r[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ah.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&ah.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[Ph]=this[Ph]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Dh(e);t[n]||(function(e,t){const r=ah.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,a){return this[n].call(this,t,e,r,a)},configurable:!0})}))}(r,e),t[n]=!0)}return ah.isArray(e)?e.forEach(n):n(e),this}};function Ih(e,t){const r=this||Ah,n=t||r,a=$h.from(n.headers);let o=n.data;return ah.forEach(e,(function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function Mh(e){return!(!e||!e.__CANCEL__)}function Lh(e,t,r){oh.call(this,null==e?"canceled":e,oh.ERR_CANCELED,t,r),this.name="CanceledError"}function Qh(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new oh("Request failed with status code "+r.status,[oh.ERR_BAD_REQUEST,oh.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}$h.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ah.reduceDescriptors($h.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),ah.freezeMethods($h),ah.inherits(Lh,oh,{__CANCEL__:!0});const Bh=(e,t,r=3)=>{let n=0;const a=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=n[i];a||(a=l),r[o]=s,n[o]=l;let u=i,d=0;for(;u!==o;)d+=r[u++],u%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-an)return a&&(clearTimeout(a),a=null),r=o,e.apply(null,arguments);a||(a=setTimeout((()=>(a=null,r=Date.now(),e.apply(null,arguments))),n-(o-r)))}}((r=>{const o=r.loaded,i=r.lengthComputable?r.total:void 0,s=o-n,l=a(s);n=o;const c={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:l||void 0,estimated:l&&i&&o<=i?(i-o)/l:void 0,event:r,lengthComputable:null!=i};c[t?"download":"upload"]=!0,e(c)}),r)},jh=Eh.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(r){let n=r;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(e){const t=ah.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},Uh=Eh.hasStandardBrowserEnv?{write(e,t,r,n,a,o){const i=[e+"="+encodeURIComponent(t)];ah.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),ah.isString(n)&&i.push("path="+n),ah.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Fh(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const zh=e=>e instanceof $h?{...e}:e;function qh(e,t){t=t||{};const r={};function n(e,t,r){return ah.isPlainObject(e)&&ah.isPlainObject(t)?ah.merge.call({caseless:r},e,t):ah.isPlainObject(t)?ah.merge({},t):ah.isArray(t)?t.slice():t}function a(e,t,r){return ah.isUndefined(t)?ah.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!ah.isUndefined(t))return n(void 0,t)}function i(e,t){return ah.isUndefined(t)?ah.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,a,o){return o in t?n(r,a):o in e?n(void 0,r):void 0}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(e,t)=>a(zh(e),zh(t),!0)};return ah.forEach(Object.keys(Object.assign({},e,t)),(function(n){const o=l[n]||a,i=o(e[n],t[n],n);ah.isUndefined(i)&&o!==s||(r[n]=i)})),r}const Zh=e=>{const t=qh({},e);let r,{data:n,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;if(t.headers=s=$h.from(s),t.url=bh(Fh(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ah.isFormData(n))if(Eh.hasStandardBrowserEnv||Eh.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Eh.hasStandardBrowserEnv&&(a&&ah.isFunction(a)&&(a=a(t)),a||!1!==a&&jh(t.url))){const e=o&&i&&Uh.read(i);e&&s.set(o,e)}return t},Hh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=Zh(e);let a=n.data;const o=$h.from(n.headers).normalize();let i,{responseType:s}=n;function l(){n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let c=new XMLHttpRequest;function u(){if(!c)return;const n=$h.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Qh((function(e){t(e),l()}),(function(e){r(e),l()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:n,config:e,request:c}),c=null}c.open(n.method.toUpperCase(),n.url,!0),c.timeout=n.timeout,"onloadend"in c?c.onloadend=u:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(u)},c.onabort=function(){c&&(r(new oh("Request aborted",oh.ECONNABORTED,n,c)),c=null)},c.onerror=function(){r(new oh("Network Error",oh.ERR_NETWORK,n,c)),c=null},c.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const t=n.transitional||Oh;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new oh(e,t.clarifyTimeoutError?oh.ETIMEDOUT:oh.ECONNABORTED,n,c)),c=null},void 0===a&&o.setContentType(null),"setRequestHeader"in c&&ah.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),ah.isUndefined(n.withCredentials)||(c.withCredentials=!!n.withCredentials),s&&"json"!==s&&(c.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&c.addEventListener("progress",Bh(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Bh(n.onUploadProgress)),(n.cancelToken||n.signal)&&(i=t=>{c&&(r(!t||t.type?new Lh(null,e,c):t),c.abort(),c=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);d&&-1===Eh.protocols.indexOf(d)?r(new oh("Unsupported protocol "+d+":",oh.ERR_BAD_REQUEST,e)):c.send(a||null)}))},Vh=(e,t)=>{let r,n=new AbortController;const a=function(e){if(!r){r=!0,i();const t=e instanceof Error?e:this.reason;n.abort(t instanceof oh?t:new Lh(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{a(new oh(`timeout ${t} of ms exceeded`,oh.ETIMEDOUT))}),t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",a):e.unsubscribe(a))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",a)));const{signal:s}=n;return s.unsubscribe=i,[s,()=>{o&&clearTimeout(o),o=null}]},Wh=function*(e,t){let r=e.byteLength;if(!t||r{const o=async function*(e,t,r){for await(const n of e)yield*Wh(ArrayBuffer.isView(n)?n:await r(String(n)),t)}(e,t,a);let i=0;return new ReadableStream({type:"bytes",async pull(e){const{done:t,value:a}=await o.next();if(t)return e.close(),void n();let s=a.byteLength;r&&r(i+=s),e.enqueue(new Uint8Array(a))},cancel:e=>(n(e),o.return())},{highWaterMark:2})},Yh=(e,t)=>{const r=null!=e;return n=>setTimeout((()=>t({lengthComputable:r,total:e,loaded:n})))},Gh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kh=Gh&&"function"==typeof ReadableStream,Jh=Gh&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ef=Kh&&(()=>{let e=!1;const t=new Request(Eh.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),tf=Kh&&!!(()=>{try{return ah.isReadableStream(new Response("").body)}catch(e){}})(),rf={stream:tf&&(e=>e.body)};var nf;Gh&&(nf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!rf[e]&&(rf[e]=ah.isFunction(nf[e])?t=>t[e]():(t,r)=>{throw new oh(`Response type '${e}' is not supported`,oh.ERR_NOT_SUPPORT,r)})})));const af={http:null,xhr:Hh,fetch:Gh&&(async e=>{let{url:t,method:r,data:n,signal:a,cancelToken:o,timeout:i,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=Zh(e);c=c?(c+"").toLowerCase():"text";let h,f,[m,g]=a||o||i?Vh([a,o],i):[];const b=()=>{!h&&setTimeout((()=>{m&&m.unsubscribe()})),h=!0};let v;try{if(l&&ef&&"get"!==r&&"head"!==r&&0!==(v=await(async(e,t)=>{const r=ah.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:ah.isBlob(e)?e.size:ah.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:ah.isArrayBufferView(e)?e.byteLength:(ah.isURLSearchParams(e)&&(e+=""),ah.isString(e)?(await Jh(e)).byteLength:void 0))(t):r})(u,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});ah.isFormData(n)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body&&(n=Xh(r.body,65536,Yh(v,Bh(l)),null,Jh))}ah.isString(d)||(d=d?"cors":"omit"),f=new Request(t,{...p,signal:m,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",withCredentials:d});let a=await fetch(f);const o=tf&&("stream"===c||"response"===c);if(tf&&(s||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=ah.toFiniteNumber(a.headers.get("content-length"));a=new Response(Xh(a.body,65536,s&&Yh(t,Bh(s,!0)),o&&b,Jh),e)}c=c||"text";let i=await rf[ah.findKey(rf,c)||"text"](a,e);return!o&&b(),g&&g(),await new Promise(((t,r)=>{Qh(t,r,{data:i,headers:$h.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:f})}))}catch(t){if(b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new oh("Network Error",oh.ERR_NETWORK,e,f),{cause:t.cause||t});throw oh.from(t,t&&t.code,e,f)}})};ah.forEach(af,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const of=e=>`- ${e}`,sf=e=>ah.isFunction(e)||null===e||!1===e,lf=e=>{e=ah.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let o=0;o`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new oh("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(of).join("\n"):" "+of(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function cf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Lh(null,e)}function uf(e){return cf(e),e.headers=$h.from(e.headers),e.data=Ih.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lf(e.adapter||Ah.adapter)(e).then((function(t){return cf(e),t.data=Ih.call(e,e.transformResponse,t),t.headers=$h.from(t.headers),t}),(function(t){return Mh(t)||(cf(e),t&&t.response&&(t.response.data=Ih.call(e,e.transformResponse,t.response),t.response.headers=$h.from(t.response.headers))),Promise.reject(t)}))}const df={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{df[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const pf={};df.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.2] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,a,o)=>{if(!1===e)throw new oh(n(a," has been removed"+(t?" in "+t:"")),oh.ERR_DEPRECATED);return t&&!pf[a]&&(pf[a]=!0,console.warn(n(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,a,o)}};const hf={assertOptions:function(e,t,r){if("object"!=typeof e)throw new oh("options must be an object",oh.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const o=n[a],i=t[o];if(i){const t=e[o],r=void 0===t||i(t,o,e);if(!0!==r)throw new oh("option "+o+" must be "+r,oh.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new oh("Unknown option "+o,oh.ERR_BAD_OPTION)}},validators:df},ff=hf.validators;let mf=class{constructor(e){this.defaults=e,this.interceptors={request:new vh,response:new vh}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=qh(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:a}=t;void 0!==r&&hf.assertOptions(r,{silentJSONParsing:ff.transitional(ff.boolean),forcedJSONParsing:ff.transitional(ff.boolean),clarifyTimeoutError:ff.transitional(ff.boolean)},!1),null!=n&&(ah.isFunction(n)?t.paramsSerializer={serialize:n}:hf.assertOptions(n,{encode:ff.function,serialize:ff.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=a&&ah.merge(a.common,a[t.method]);a&&ah.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=$h.concat(o,a);const i=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[uf.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{gf[t]=e}));const bf=function e(t){const r=new mf(t),n=xp(mf.prototype.request,r);return ah.extend(n,mf.prototype,r,{allOwnKeys:!0}),ah.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(qh(t,r))},n}(Ah);bf.Axios=mf,bf.CanceledError=Lh,bf.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,a){r.reason||(r.reason=new Lh(e,n,a),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}},bf.isCancel=Mh,bf.VERSION="1.7.2",bf.toFormData=ph,bf.AxiosError=oh,bf.Cancel=bf.CanceledError,bf.all=function(e){return Promise.all(e)},bf.spread=function(e){return function(t){return e.apply(null,t)}},bf.isAxiosError=function(e){return ah.isObject(e)&&!0===e.isAxiosError},bf.mergeConfig=qh,bf.AxiosHeaders=$h,bf.formToJSON=e=>Th(ah.isHTMLForm(e)?new FormData(e):e),bf.getAdapter=lf,bf.HttpStatusCode=gf,bf.default=bf;const{Axios:vf,AxiosError:Of,CanceledError:yf,isCancel:wf,CancelToken:xf,VERSION:kf,all:_f,Cancel:Sf,isAxiosError:Ef,spread:Tf,toFormData:Af,AxiosHeaders:Cf,HttpStatusCode:Pf,formToJSON:Df,getAdapter:Rf,mergeConfig:Nf}=bf,$f=(...e)=>{let t={httpVersion:"1.1",method:"GET",url:"",path:"",headers:[],headersSize:-1,queryString:[],cookies:[],bodySize:-1};e.forEach((e=>{t={...t,...e,headers:[...t.headers,...e.headers??[]],queryString:[...t.queryString,...e.queryString??[]],cookies:[...t.cookies,...e.cookies??[]]}}));const r=t.headers.reduce(((e,{name:t,value:r})=>(e[t]=r,e)),{}),n=Cf.from(r).normalize(!0);t.headers=Object.entries(n).map((([e,t])=>({name:e,value:t})));const{path:a,...o}=t;return a?{...o,url:`${t.url}${a}`}:o};function If(e){const t=new Gd,r=new RegExp("^(#{1,6}) (?!#)(.*)","gm");return((e,t)=>e.map((e=>({...e,slug:t.slug(e.value)}))))([...e.matchAll(r)].map((e=>({value:e[2],depth:e[1].length}))),t)}const Mf=e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1};function Lf(e){var t,r;return e?Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.schemas)??{}).length?null==(r=null==e?void 0:e.components)?void 0:r.schemas:Object.keys((null==e?void 0:e.definitions)??{}).length?null==e?void 0:e.definitions:{}:{}}const Qf=e=>!!e&&!!Object.keys(Lf(e)??{}).length,Bf=e=>{var t;return!!Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.securitySchemes)??{}).length},jf=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),{server:Uf}=Ju(),{setOperation:Ff,setGlobalSecurity:zf}=qu(),{toggleApiClient:qf}=Lu(),{setActiveRequest:Zf,resetActiveResponse:Hf}={readOnly:Yu,activeRequest:Wu,activeResponse:Xu,requestHistory:Zu,requestHistoryOrder:Hu,activeRequestId:Vu,setActiveResponse:e=>{var t;Vu.value=e;const r=null==(t=Zu[e])?void 0:t.request,n=JSON.parse(JSON.stringify(r));n.body=JSON.stringify((null==r?void 0:r.body)??"",null,2),Object.assign(Wu,n)},resetActiveResponse:()=>{Vu.value=""},addRequestToHistory:e=>{Zu[e.responseId]=e,Vu.value=e.responseId,Hu.value.unshift(e.responseId)},setActiveRequest:e=>{Object.assign(Wu,e)}};function Vf(e,t){const r=yp({serverState:Uf,operation:e,authenticationState:null,globalSecurity:null});Hf(),Zf(r),Ff(e),zf(t),qf(r,!0)}function Wf(e){return e.find((e=>e.isEntrypoint))}function Xf(e,t){const r={};for(const[n,a]of Object.entries(e))Array.isArray(a)?r[n]=a.map((e=>"object"==typeof e&&null!==e?Xf(e,t):e)):r[n]="object"==typeof a&&null!==a?Xf(a,t):a;return t(r)}function Yf(e){const t=[];return e&&"object"==typeof e?(Xf(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),e))),[...new Set(t)]):t}function Gf(e){return void 0!==typeof e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))}function Kf(e){if(Gf(e))return e;if("string"==typeof e)try{return JSON.parse(e)}catch(t){return fu(e,{maxAliasCount:1e4})}return e}function Jf(e,t={}){if(Gf(e))return e;const r=Kf(e);return[{isEntrypoint:!0,specification:r,filename:null,dir:"./",references:Yf(r),...t}]}function em(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const tm=Object.keys({"2.0":{title:"A JSON Schema for Swagger 2.0 API.",id:"http://swagger.io/v2/schema.json#",$schema:"http://json-schema.org/draft-04/schema#",type:"object",required:["swagger","info","paths"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{swagger:{type:"string",enum:["2.0"],description:"The Swagger version of this document."},info:{$ref:"#/definitions/info"},host:{type:"string",pattern:"^[^{}/ :\\\\]+(?::\\d+)?$",description:"The host (name or ip) of the API. Example: 'swagger.io'"},basePath:{type:"string",pattern:"^/",description:"The base path to the API. Example: '/api'."},schemes:{$ref:"#/definitions/schemesList"},consumes:{description:"A list of MIME types accepted by the API.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},paths:{$ref:"#/definitions/paths"},definitions:{$ref:"#/definitions/definitions"},parameters:{$ref:"#/definitions/parameterDefinitions"},responses:{$ref:"#/definitions/responseDefinitions"},security:{$ref:"#/definitions/security"},securityDefinitions:{$ref:"#/definitions/securityDefinitions"},tags:{type:"array",items:{$ref:"#/definitions/tag"},uniqueItems:!0},externalDocs:{$ref:"#/definitions/externalDocs"}},definitions:{info:{type:"object",description:"General information about the API.",required:["version","title"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{title:{type:"string",description:"A unique and precise title of the API."},version:{type:"string",description:"A semantic version number of the API."},description:{type:"string",description:"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed."},termsOfService:{type:"string",description:"The terms of service for the API."},contact:{$ref:"#/definitions/contact"},license:{$ref:"#/definitions/license"}}},contact:{type:"object",description:"Contact information for the owners of the API.",additionalProperties:!1,properties:{name:{type:"string",description:"The identifying name of the contact person/organization."},url:{type:"string",description:"The URL pointing to the contact information.",format:"uri"},email:{type:"string",description:"The email address of the contact person/organization.",format:"email"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},license:{type:"object",required:["name"],additionalProperties:!1,properties:{name:{type:"string",description:"The name of the license type. It's encouraged to use an OSI compatible license."},url:{type:"string",description:"The URL pointing to the license.",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},paths:{type:"object",description:"Relative paths to the individual endpoints. They must be relative to the 'basePath'.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"},"^/":{$ref:"#/definitions/pathItem"}},additionalProperties:!1},definitions:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},description:"One or more JSON objects describing the schemas being consumed and produced by the API."},parameterDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/parameter"},description:"One or more JSON representations for parameters"},responseDefinitions:{type:"object",additionalProperties:{$ref:"#/definitions/response"},description:"One or more JSON representations for responses"},externalDocs:{type:"object",additionalProperties:!1,description:"information about external documentation",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},examples:{type:"object",additionalProperties:!0},mimeType:{type:"string",description:"The MIME type of the HTTP message."},operation:{type:"object",required:["responses"],additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{tags:{type:"array",items:{type:"string"},uniqueItems:!0},summary:{type:"string",description:"A brief summary of the operation."},description:{type:"string",description:"A longer description of the operation, GitHub Flavored Markdown is allowed."},externalDocs:{$ref:"#/definitions/externalDocs"},operationId:{type:"string",description:"A unique identifier of the operation."},produces:{description:"A list of MIME types the API can produce.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},consumes:{description:"A list of MIME types the API can consume.",allOf:[{$ref:"#/definitions/mediaTypeList"}]},parameters:{$ref:"#/definitions/parametersList"},responses:{$ref:"#/definitions/responses"},schemes:{$ref:"#/definitions/schemesList"},deprecated:{type:"boolean",default:!1},security:{$ref:"#/definitions/security"}}},pathItem:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},get:{$ref:"#/definitions/operation"},put:{$ref:"#/definitions/operation"},post:{$ref:"#/definitions/operation"},delete:{$ref:"#/definitions/operation"},options:{$ref:"#/definitions/operation"},head:{$ref:"#/definitions/operation"},patch:{$ref:"#/definitions/operation"},parameters:{$ref:"#/definitions/parametersList"}}},responses:{type:"object",description:"Response objects names can either be any valid HTTP status code or 'default'.",minProperties:1,additionalProperties:!1,patternProperties:{"^([0-9]{3})$|^(default)$":{$ref:"#/definitions/responseValue"},"^x-":{$ref:"#/definitions/vendorExtension"}},not:{type:"object",additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}}},responseValue:{oneOf:[{$ref:"#/definitions/response"},{$ref:"#/definitions/jsonReference"}]},response:{type:"object",required:["description"],properties:{description:{type:"string"},schema:{oneOf:[{$ref:"#/definitions/schema"},{$ref:"#/definitions/fileSchema"}]},headers:{$ref:"#/definitions/headers"},examples:{$ref:"#/definitions/examples"}},additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},headers:{type:"object",additionalProperties:{$ref:"#/definitions/header"}},header:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},vendorExtension:{description:"Any property starting with x- is valid.",additionalProperties:!0,additionalItems:!0},bodyParameter:{type:"object",required:["name","in","schema"],patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},in:{type:"string",description:"Determines the location of the parameter.",enum:["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.",default:!1},in:{type:"string",description:"Determines the location of the parameter.",enum:["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean",default:!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string",enum:["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},pathParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["required"],properties:{required:{type:"boolean",enum:[!0],description:"Determines whether or not this parameter is required or optional."},in:{type:"string",description:"Determines the location of the parameter.",enum:["path"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string",enum:["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},nonBodyParameter:{type:"object",required:["name","in","type"],oneOf:[{$ref:"#/definitions/headerParameterSubSchema"},{$ref:"#/definitions/formDataParameterSubSchema"},{$ref:"#/definitions/queryParameterSubSchema"},{$ref:"#/definitions/pathParameterSubSchema"}]},parameter:{oneOf:[{$ref:"#/definitions/bodyParameter"},{$ref:"#/definitions/nonBodyParameter"}]},schema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{$ref:{type:"string"},format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},maxProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minProperties:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},additionalProperties:{anyOf:[{$ref:"#/definitions/schema"},{type:"boolean"}],default:{}},type:{$ref:"http://json-schema.org/draft-04/schema#/properties/type"},items:{anyOf:[{$ref:"#/definitions/schema"},{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}}],default:{}},allOf:{type:"array",minItems:1,items:{$ref:"#/definitions/schema"}},properties:{type:"object",additionalProperties:{$ref:"#/definitions/schema"},default:{}},discriminator:{type:"string"},readOnly:{type:"boolean",default:!1},xml:{$ref:"#/definitions/xml"},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},fileSchema:{type:"object",description:"A deterministic version of a JSON Schema object.",patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},required:["type"],properties:{format:{type:"string"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},required:{$ref:"http://json-schema.org/draft-04/schema#/definitions/stringArray"},type:{type:"string",enum:["file"]},readOnly:{type:"boolean",default:!1},externalDocs:{$ref:"#/definitions/externalDocs"},example:{}},additionalProperties:!1},primitivesItems:{type:"object",additionalProperties:!1,properties:{type:{type:"string",enum:["string","number","integer","boolean","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},default:{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},enum:{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string",enum:["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string",enum:["oauth2"]},flow:{type:"string",enum:["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string",enum:["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string",enum:["csv","ssv","tsv","pipes"],default:"csv"},collectionFormatWithMulti:{type:"string",enum:["csv","ssv","tsv","pipes","multi"],default:"csv"},title:{$ref:"http://json-schema.org/draft-04/schema#/properties/title"},description:{$ref:"http://json-schema.org/draft-04/schema#/properties/description"},default:{$ref:"http://json-schema.org/draft-04/schema#/properties/default"},multipleOf:{$ref:"http://json-schema.org/draft-04/schema#/properties/multipleOf"},maximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/maximum"},exclusiveMaximum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"},minimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/minimum"},exclusiveMinimum:{$ref:"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"},maxLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minLength:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},pattern:{$ref:"http://json-schema.org/draft-04/schema#/properties/pattern"},maxItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveInteger"},minItems:{$ref:"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"},uniqueItems:{$ref:"http://json-schema.org/draft-04/schema#/properties/uniqueItems"},enum:{$ref:"http://json-schema.org/draft-04/schema#/properties/enum"},jsonReference:{type:"object",required:["$ref"],additionalProperties:!1,properties:{$ref:{type:"string"}}}}},"3.0":{id:"https://spec.openapis.org/oas/3.0/schema/2021-09-28",$schema:"http://json-schema.org/draft-04/schema#",description:"The description of OpenAPI v3.0.x documents, as defined by https://spec.openapis.org/oas/v3.0.3",type:"object",required:["openapi","info","paths"],properties:{openapi:{type:"string",pattern:"^3\\.0\\.\\d(-.+)?$"},info:{$ref:"#/definitions/Info"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},tags:{type:"array",items:{$ref:"#/definitions/Tag"},uniqueItems:!0},paths:{$ref:"#/definitions/Paths"},components:{$ref:"#/definitions/Components"}},patternProperties:{"^x-":{}},additionalProperties:!1,definitions:{Reference:{type:"object",required:["$ref"],patternProperties:{"^\\$ref$":{type:"string",format:"uri-reference"}}},Info:{type:"object",required:["title","version"],properties:{title:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri-reference"},contact:{$ref:"#/definitions/Contact"},license:{$ref:"#/definitions/License"},version:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Contact:{type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"},email:{type:"string",format:"email"}},patternProperties:{"^x-":{}},additionalProperties:!1},License:{type:"object",required:["name"],properties:{name:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Server:{type:"object",required:["url"],properties:{url:{type:"string"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/definitions/ServerVariable"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ServerVariable:{type:"object",required:["default"],properties:{enum:{type:"array",items:{type:"string"}},default:{type:"string"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},Components:{type:"object",properties:{schemas:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}}},responses:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Response"}]}}},parameters:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Parameter"}]}}},examples:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Example"}]}}},requestBodies:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/RequestBody"}]}}},headers:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Header"}]}}},securitySchemes:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/SecurityScheme"}]}}},links:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Link"}]}}},callbacks:{type:"object",patternProperties:{"^[a-zA-Z0-9\\.\\-_]+$":{oneOf:[{$ref:"#/definitions/Reference"},{$ref:"#/definitions/Callback"}]}}}},patternProperties:{"^x-":{}},additionalProperties:!1},Schema:{type:"object",properties:{title:{type:"string"},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{type:"integer",minimum:0},minLength:{type:"integer",minimum:0,default:0},pattern:{type:"string",format:"regex"},maxItems:{type:"integer",minimum:0},minItems:{type:"integer",minimum:0,default:0},uniqueItems:{type:"boolean",default:!1},maxProperties:{type:"integer",minimum:0},minProperties:{type:"integer",minimum:0,default:0},required:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},enum:{type:"array",items:{},minItems:1,uniqueItems:!1},type:{type:"string",enum:["array","boolean","integer","number","object","string"]},not:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},allOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},oneOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},anyOf:{type:"array",items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},items:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},properties:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]}},additionalProperties:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"},{type:"boolean"}],default:!0},description:{type:"string"},format:{type:"string"},default:{},nullable:{type:"boolean",default:!1},discriminator:{$ref:"#/definitions/Discriminator"},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},example:{},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},deprecated:{type:"boolean",default:!1},xml:{$ref:"#/definitions/XML"}},patternProperties:{"^x-":{}},additionalProperties:!1},Discriminator:{type:"object",required:["propertyName"],properties:{propertyName:{type:"string"},mapping:{type:"object",additionalProperties:{type:"string"}}}},XML:{type:"object",properties:{name:{type:"string"},namespace:{type:"string",format:"uri"},prefix:{type:"string"},attribute:{type:"boolean",default:!1},wrapped:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},Response:{type:"object",required:["description"],properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},links:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Link"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1},MediaType:{type:"object",properties:{schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}},encoding:{type:"object",additionalProperties:{$ref:"#/definitions/Encoding"}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"}]},Example:{type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:{},externalValue:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},Header:{type:"object",properties:{description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string",enum:["simple"],default:"simple"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"}]},Paths:{type:"object",patternProperties:{"^\\/":{$ref:"#/definitions/PathItem"},"^x-":{}},additionalProperties:!1},PathItem:{type:"object",properties:{$ref:{type:"string"},summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/definitions/Server"}},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0}},patternProperties:{"^(get|put|post|delete|options|head|patch|trace)$":{$ref:"#/definitions/Operation"},"^x-":{}},additionalProperties:!1},Operation:{type:"object",required:["responses"],properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"},operationId:{type:"string"},parameters:{type:"array",items:{oneOf:[{$ref:"#/definitions/Parameter"},{$ref:"#/definitions/Reference"}]},uniqueItems:!0},requestBody:{oneOf:[{$ref:"#/definitions/RequestBody"},{$ref:"#/definitions/Reference"}]},responses:{$ref:"#/definitions/Responses"},callbacks:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Callback"},{$ref:"#/definitions/Reference"}]}},deprecated:{type:"boolean",default:!1},security:{type:"array",items:{$ref:"#/definitions/SecurityRequirement"}},servers:{type:"array",items:{$ref:"#/definitions/Server"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Responses:{type:"object",properties:{default:{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]}},patternProperties:{"^[1-5](?:\\d{2}|XX)$":{oneOf:[{$ref:"#/definitions/Response"},{$ref:"#/definitions/Reference"}]},"^x-":{}},minProperties:1,additionalProperties:!1},SecurityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"}}},Tag:{type:"object",required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/ExternalDocumentation"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExternalDocumentation:{type:"object",required:["url"],properties:{description:{type:"string"},url:{type:"string",format:"uri-reference"}},patternProperties:{"^x-":{}},additionalProperties:!1},ExampleXORExamples:{description:"Example and examples are mutually exclusive",not:{required:["example","examples"]}},SchemaXORContent:{description:"Schema and content are mutually exclusive, at least one is required",not:{required:["schema","content"]},oneOf:[{required:["schema"]},{required:["content"],description:"Some properties are not allowed if content is present",allOf:[{not:{required:["style"]}},{not:{required:["explode"]}},{not:{required:["allowReserved"]}},{not:{required:["example"]}},{not:{required:["examples"]}}]}]},Parameter:{type:"object",properties:{name:{type:"string"},in:{type:"string"},description:{type:"string"},required:{type:"boolean",default:!1},deprecated:{type:"boolean",default:!1},allowEmptyValue:{type:"boolean",default:!1},style:{type:"string"},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1},schema:{oneOf:[{$ref:"#/definitions/Schema"},{$ref:"#/definitions/Reference"}]},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"},minProperties:1,maxProperties:1},example:{},examples:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Example"},{$ref:"#/definitions/Reference"}]}}},patternProperties:{"^x-":{}},additionalProperties:!1,required:["name","in"],allOf:[{$ref:"#/definitions/ExampleXORExamples"},{$ref:"#/definitions/SchemaXORContent"},{$ref:"#/definitions/ParameterLocation"}]},ParameterLocation:{description:"Parameter location",oneOf:[{description:"Parameter in path",required:["required"],properties:{in:{enum:["path"]},style:{enum:["matrix","label","simple"],default:"simple"},required:{enum:[!0]}}},{description:"Parameter in query",properties:{in:{enum:["query"]},style:{enum:["form","spaceDelimited","pipeDelimited","deepObject"],default:"form"}}},{description:"Parameter in header",properties:{in:{enum:["header"]},style:{enum:["simple"],default:"simple"}}},{description:"Parameter in cookie",properties:{in:{enum:["cookie"]},style:{enum:["form"],default:"form"}}}]},RequestBody:{type:"object",required:["content"],properties:{description:{type:"string"},content:{type:"object",additionalProperties:{$ref:"#/definitions/MediaType"}},required:{type:"boolean",default:!1}},patternProperties:{"^x-":{}},additionalProperties:!1},SecurityScheme:{oneOf:[{$ref:"#/definitions/APIKeySecurityScheme"},{$ref:"#/definitions/HTTPSecurityScheme"},{$ref:"#/definitions/OAuth2SecurityScheme"},{$ref:"#/definitions/OpenIdConnectSecurityScheme"}]},APIKeySecurityScheme:{type:"object",required:["type","name","in"],properties:{type:{type:"string",enum:["apiKey"]},name:{type:"string"},in:{type:"string",enum:["header","query","cookie"]},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},HTTPSecurityScheme:{type:"object",required:["scheme","type"],properties:{scheme:{type:"string"},bearerFormat:{type:"string"},description:{type:"string"},type:{type:"string",enum:["http"]}},patternProperties:{"^x-":{}},additionalProperties:!1,oneOf:[{description:"Bearer",properties:{scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}},{description:"Non Bearer",not:{required:["bearerFormat"]},properties:{scheme:{not:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}}}}]},OAuth2SecurityScheme:{type:"object",required:["type","flows"],properties:{type:{type:"string",enum:["oauth2"]},flows:{$ref:"#/definitions/OAuthFlows"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OpenIdConnectSecurityScheme:{type:"object",required:["type","openIdConnectUrl"],properties:{type:{type:"string",enum:["openIdConnect"]},openIdConnectUrl:{type:"string",format:"uri-reference"},description:{type:"string"}},patternProperties:{"^x-":{}},additionalProperties:!1},OAuthFlows:{type:"object",properties:{implicit:{$ref:"#/definitions/ImplicitOAuthFlow"},password:{$ref:"#/definitions/PasswordOAuthFlow"},clientCredentials:{$ref:"#/definitions/ClientCredentialsFlow"},authorizationCode:{$ref:"#/definitions/AuthorizationCodeOAuthFlow"}},patternProperties:{"^x-":{}},additionalProperties:!1},ImplicitOAuthFlow:{type:"object",required:["authorizationUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},PasswordOAuthFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},ClientCredentialsFlow:{type:"object",required:["tokenUrl","scopes"],properties:{tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},AuthorizationCodeOAuthFlow:{type:"object",required:["authorizationUrl","tokenUrl","scopes"],properties:{authorizationUrl:{type:"string",format:"uri-reference"},tokenUrl:{type:"string",format:"uri-reference"},refreshUrl:{type:"string",format:"uri-reference"},scopes:{type:"object",additionalProperties:{type:"string"}}},patternProperties:{"^x-":{}},additionalProperties:!1},Link:{type:"object",properties:{operationId:{type:"string"},operationRef:{type:"string",format:"uri-reference"},parameters:{type:"object",additionalProperties:{}},requestBody:{},description:{type:"string"},server:{$ref:"#/definitions/Server"}},patternProperties:{"^x-":{}},additionalProperties:!1,not:{description:"Operation Id and Operation Ref are mutually exclusive",required:["operationId","operationRef"]}},Callback:{type:"object",additionalProperties:{$ref:"#/definitions/PathItem"},patternProperties:{"^x-":{}}},Encoding:{type:"object",properties:{contentType:{type:"string"},headers:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/Header"},{$ref:"#/definitions/Reference"}]}},style:{type:"string",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{type:"boolean",default:!1}},additionalProperties:!1}}},3.1:{$id:"https://spec.openapis.org/oas/3.1/schema/2022-10-07",$schema:"https://json-schema.org/draft/2020-12/schema",description:"The description of OpenAPI v3.1.x documents without schema validation, as defined by https://spec.openapis.org/oas/v3.1.0",type:"object",properties:{openapi:{type:"string",pattern:"^3\\.1\\.\\d+(-.+)?$"},info:{$ref:"#/$defs/info"},jsonSchemaDialect:{type:"string",format:"uri",default:"https://spec.openapis.org/oas/3.1/dialect/base"},servers:{type:"array",items:{$ref:"#/$defs/server"},default:[{url:"/"}]},paths:{$ref:"#/$defs/paths"},webhooks:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},components:{$ref:"#/$defs/components"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},tags:{type:"array",items:{$ref:"#/$defs/tag"}},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["openapi","info"],anyOf:[{required:["paths"]},{required:["components"]},{required:["webhooks"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{info:{$comment:"https://spec.openapis.org/oas/v3.1.0#info-object",type:"object",properties:{title:{type:"string"},summary:{type:"string"},description:{type:"string"},termsOfService:{type:"string",format:"uri"},contact:{$ref:"#/$defs/contact"},license:{$ref:"#/$defs/license"},version:{type:"string"}},required:["title","version"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},contact:{$comment:"https://spec.openapis.org/oas/v3.1.0#contact-object",type:"object",properties:{name:{type:"string"},url:{type:"string",format:"uri"},email:{type:"string",format:"email"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},license:{$comment:"https://spec.openapis.org/oas/v3.1.0#license-object",type:"object",properties:{name:{type:"string"},identifier:{type:"string"},url:{type:"string",format:"uri"}},required:["name"],dependentSchemas:{identifier:{not:{required:["url"]}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},server:{$comment:"https://spec.openapis.org/oas/v3.1.0#server-object",type:"object",properties:{url:{type:"string",format:"uri-reference"},description:{type:"string"},variables:{type:"object",additionalProperties:{$ref:"#/$defs/server-variable"}}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"server-variable":{$comment:"https://spec.openapis.org/oas/v3.1.0#server-variable-object",type:"object",properties:{enum:{type:"array",items:{type:"string"},minItems:1},default:{type:"string"},description:{type:"string"}},required:["default"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},components:{$comment:"https://spec.openapis.org/oas/v3.1.0#components-object",type:"object",properties:{schemas:{type:"object",additionalProperties:{$ref:"#/$defs/schema"}},responses:{type:"object",additionalProperties:{$ref:"#/$defs/response-or-reference"}},parameters:{type:"object",additionalProperties:{$ref:"#/$defs/parameter-or-reference"}},examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}},requestBodies:{type:"object",additionalProperties:{$ref:"#/$defs/request-body-or-reference"}},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},securitySchemes:{type:"object",additionalProperties:{$ref:"#/$defs/security-scheme-or-reference"}},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},pathItems:{type:"object",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}}},patternProperties:{"^(schemas|responses|parameters|examples|requestBodies|headers|securitySchemes|links|callbacks|pathItems)$":{$comment:"Enumerating all of the property names in the regex above is necessary for unevaluatedProperties to work as expected",propertyNames:{pattern:"^[a-zA-Z0-9._-]+$"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},paths:{$comment:"https://spec.openapis.org/oas/v3.1.0#paths-object",type:"object",patternProperties:{"^/":{$ref:"#/$defs/path-item"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item":{$comment:"https://spec.openapis.org/oas/v3.1.0#path-item-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},servers:{type:"array",items:{$ref:"#/$defs/server"}},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},get:{$ref:"#/$defs/operation"},put:{$ref:"#/$defs/operation"},post:{$ref:"#/$defs/operation"},delete:{$ref:"#/$defs/operation"},options:{$ref:"#/$defs/operation"},head:{$ref:"#/$defs/operation"},patch:{$ref:"#/$defs/operation"},trace:{$ref:"#/$defs/operation"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"path-item-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/path-item"}},operation:{$comment:"https://spec.openapis.org/oas/v3.1.0#operation-object",type:"object",properties:{tags:{type:"array",items:{type:"string"}},summary:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"},operationId:{type:"string"},parameters:{type:"array",items:{$ref:"#/$defs/parameter-or-reference"}},requestBody:{$ref:"#/$defs/request-body-or-reference"},responses:{$ref:"#/$defs/responses"},callbacks:{type:"object",additionalProperties:{$ref:"#/$defs/callbacks-or-reference"}},deprecated:{default:!1,type:"boolean"},security:{type:"array",items:{$ref:"#/$defs/security-requirement"}},servers:{type:"array",items:{$ref:"#/$defs/server"}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"external-documentation":{$comment:"https://spec.openapis.org/oas/v3.1.0#external-documentation-object",type:"object",properties:{description:{type:"string"},url:{type:"string",format:"uri"}},required:["url"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},parameter:{$comment:"https://spec.openapis.org/oas/v3.1.0#parameter-object",type:"object",properties:{name:{type:"string"},in:{enum:["query","header","path","cookie"]},description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},required:["name","in"],oneOf:[{required:["schema"]},{required:["content"]}],if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{allowEmptyValue:{default:!1,type:"boolean"}}},dependentSchemas:{schema:{properties:{style:{type:"string"},explode:{type:"boolean"}},allOf:[{$ref:"#/$defs/examples"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-path"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-header"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-query"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-cookie"},{$ref:"#/$defs/parameter/dependentSchemas/schema/$defs/styles-for-form"}],$defs:{"styles-for-path":{if:{properties:{in:{const:"path"}},required:["in"]},then:{properties:{name:{pattern:"[^/#?]+$"},style:{default:"simple",enum:["matrix","label","simple"]},required:{const:!0}},required:["required"]}},"styles-for-header":{if:{properties:{in:{const:"header"}},required:["in"]},then:{properties:{style:{default:"simple",const:"simple"}}}},"styles-for-query":{if:{properties:{in:{const:"query"}},required:["in"]},then:{properties:{style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},allowReserved:{default:!1,type:"boolean"}}}},"styles-for-cookie":{if:{properties:{in:{const:"cookie"}},required:["in"]},then:{properties:{style:{default:"form",const:"form"}}}},"styles-for-form":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"parameter-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/parameter"}},"request-body":{$comment:"https://spec.openapis.org/oas/v3.1.0#request-body-object",type:"object",properties:{description:{type:"string"},content:{$ref:"#/$defs/content"},required:{default:!1,type:"boolean"}},required:["content"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"request-body-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/request-body"}},content:{$comment:"https://spec.openapis.org/oas/v3.1.0#fixed-fields-10",type:"object",additionalProperties:{$ref:"#/$defs/media-type"},propertyNames:{format:"media-range"}},"media-type":{$comment:"https://spec.openapis.org/oas/v3.1.0#media-type-object",type:"object",properties:{schema:{$ref:"#/$defs/schema"},encoding:{type:"object",additionalProperties:{$ref:"#/$defs/encoding"}}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/examples"}],unevaluatedProperties:!1},encoding:{$comment:"https://spec.openapis.org/oas/v3.1.0#encoding-object",type:"object",properties:{contentType:{type:"string",format:"media-range"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},style:{default:"form",enum:["form","spaceDelimited","pipeDelimited","deepObject"]},explode:{type:"boolean"},allowReserved:{default:!1,type:"boolean"}},allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/encoding/$defs/explode-default"}],unevaluatedProperties:!1,$defs:{"explode-default":{if:{properties:{style:{const:"form"}},required:["style"]},then:{properties:{explode:{default:!0}}},else:{properties:{explode:{default:!1}}}}}},responses:{$comment:"https://spec.openapis.org/oas/v3.1.0#responses-object",type:"object",properties:{default:{$ref:"#/$defs/response-or-reference"}},patternProperties:{"^[1-5](?:[0-9]{2}|XX)$":{$ref:"#/$defs/response-or-reference"}},minProperties:1,$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},response:{$comment:"https://spec.openapis.org/oas/v3.1.0#response-object",type:"object",properties:{description:{type:"string"},headers:{type:"object",additionalProperties:{$ref:"#/$defs/header-or-reference"}},content:{$ref:"#/$defs/content"},links:{type:"object",additionalProperties:{$ref:"#/$defs/link-or-reference"}}},required:["description"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"response-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/response"}},callbacks:{$comment:"https://spec.openapis.org/oas/v3.1.0#callback-object",type:"object",$ref:"#/$defs/specification-extensions",additionalProperties:{$ref:"#/$defs/path-item-or-reference"}},"callbacks-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/callbacks"}},example:{$comment:"https://spec.openapis.org/oas/v3.1.0#example-object",type:"object",properties:{summary:{type:"string"},description:{type:"string"},value:!0,externalValue:{type:"string",format:"uri"}},not:{required:["value","externalValue"]},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"example-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/example"}},link:{$comment:"https://spec.openapis.org/oas/v3.1.0#link-object",type:"object",properties:{operationRef:{type:"string",format:"uri-reference"},operationId:{type:"string"},parameters:{$ref:"#/$defs/map-of-strings"},requestBody:!0,description:{type:"string"},body:{$ref:"#/$defs/server"}},oneOf:[{required:["operationRef"]},{required:["operationId"]}],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"link-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/link"}},header:{$comment:"https://spec.openapis.org/oas/v3.1.0#header-object",type:"object",properties:{description:{type:"string"},required:{default:!1,type:"boolean"},deprecated:{default:!1,type:"boolean"},schema:{$ref:"#/$defs/schema"},content:{$ref:"#/$defs/content",minProperties:1,maxProperties:1}},oneOf:[{required:["schema"]},{required:["content"]}],dependentSchemas:{schema:{properties:{style:{default:"simple",const:"simple"},explode:{default:!1,type:"boolean"}},$ref:"#/$defs/examples"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"header-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/header"}},tag:{$comment:"https://spec.openapis.org/oas/v3.1.0#tag-object",type:"object",properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/$defs/external-documentation"}},required:["name"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},reference:{$comment:"https://spec.openapis.org/oas/v3.1.0#reference-object",type:"object",properties:{$ref:{type:"string",format:"uri-reference"},summary:{type:"string"},description:{type:"string"}},unevaluatedProperties:!1},schema:{$comment:"https://spec.openapis.org/oas/v3.1.0#schema-object",$dynamicAnchor:"meta",type:["object","boolean"]},"security-scheme":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-scheme-object",type:"object",properties:{type:{enum:["apiKey","http","mutualTLS","oauth2","openIdConnect"]},description:{type:"string"}},required:["type"],allOf:[{$ref:"#/$defs/specification-extensions"},{$ref:"#/$defs/security-scheme/$defs/type-apikey"},{$ref:"#/$defs/security-scheme/$defs/type-http"},{$ref:"#/$defs/security-scheme/$defs/type-http-bearer"},{$ref:"#/$defs/security-scheme/$defs/type-oauth2"},{$ref:"#/$defs/security-scheme/$defs/type-oidc"}],unevaluatedProperties:!1,$defs:{"type-apikey":{if:{properties:{type:{const:"apiKey"}},required:["type"]},then:{properties:{name:{type:"string"},in:{enum:["query","header","cookie"]}},required:["name","in"]}},"type-http":{if:{properties:{type:{const:"http"}},required:["type"]},then:{properties:{scheme:{type:"string"}},required:["scheme"]}},"type-http-bearer":{if:{properties:{type:{const:"http"},scheme:{type:"string",pattern:"^[Bb][Ee][Aa][Rr][Ee][Rr]$"}},required:["type","scheme"]},then:{properties:{bearerFormat:{type:"string"}}}},"type-oauth2":{if:{properties:{type:{const:"oauth2"}},required:["type"]},then:{properties:{flows:{$ref:"#/$defs/oauth-flows"}},required:["flows"]}},"type-oidc":{if:{properties:{type:{const:"openIdConnect"}},required:["type"]},then:{properties:{openIdConnectUrl:{type:"string",format:"uri"}},required:["openIdConnectUrl"]}}}},"security-scheme-or-reference":{if:{type:"object",required:["$ref"]},then:{$ref:"#/$defs/reference"},else:{$ref:"#/$defs/security-scheme"}},"oauth-flows":{type:"object",properties:{implicit:{$ref:"#/$defs/oauth-flows/$defs/implicit"},password:{$ref:"#/$defs/oauth-flows/$defs/password"},clientCredentials:{$ref:"#/$defs/oauth-flows/$defs/client-credentials"},authorizationCode:{$ref:"#/$defs/oauth-flows/$defs/authorization-code"}},$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1,$defs:{implicit:{type:"object",properties:{authorizationUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},password:{type:"object",properties:{tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"client-credentials":{type:"object",properties:{tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1},"authorization-code":{type:"object",properties:{authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},refreshUrl:{type:"string",format:"uri"},scopes:{$ref:"#/$defs/map-of-strings"}},required:["authorizationUrl","tokenUrl","scopes"],$ref:"#/$defs/specification-extensions",unevaluatedProperties:!1}}},"security-requirement":{$comment:"https://spec.openapis.org/oas/v3.1.0#security-requirement-object",type:"object",additionalProperties:{type:"array",items:{type:"string"}}},"specification-extensions":{$comment:"https://spec.openapis.org/oas/v3.1.0#specification-extensions",patternProperties:{"^x-":!0}},examples:{properties:{example:!0,examples:{type:"object",additionalProperties:{$ref:"#/$defs/example-or-reference"}}}},"map-of-strings":{type:"object",additionalProperties:{type:"string"}}}}}),rm={EMPTY_OR_INVALID:"Cannot find JSON, YAML or filename in data",OPENAPI_VERSION_NOT_SUPPORTED:"Cannot find supported Swagger/OpenAPI version in specification, version must be a string.",INVALID_REFERENCE:"Can’t resolve reference: %s",EXTERNAL_REFERENCE_NOT_FOUND:"Can’t resolve external reference: %s",FILE_DOES_NOT_EXIST:"File does not exist: %s"};function nm(e){for(const t of new Set(tm)){const r="2.0"===t?"swagger":"openapi",n=e[r];if("string"==typeof n&&n.startsWith(t))return{version:t,specificationType:r,specificationVersion:n}}return{version:void 0,specificationType:void 0,specificationVersion:void 0}}function am(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function om(e,t,r){void 0===r&&(r=[]);const n=Jf(structuredClone(e)),a=Wf(n);return o((null==t?void 0:t.specification)??a.specification,n,t??a),o((null==t?void 0:t.specification)??a.specification,n,t??a),{valid:0===(r=r.filter(((e,t,r)=>t===r.findIndex((t=>t.message===e.message&&t.code===e.code))))).length,errors:r,schema:(t??Wf(n)).specification};function o(e,t,n){let a;return Object.entries(e??{}).forEach((([i,s])=>{if(void 0!==e.$ref){const a=im(e.$ref,n,t,r);if(void 0===a)return;delete e.$ref,"object"==typeof a&&Object.keys(a).forEach((t=>{void 0===e[t]&&(e[t]=a[t])}))}"object"!=typeof s||function(e){try{return JSON.stringify(e),!1}catch(e){return!0}}(s)||(a=o(s,t,n))})),{errors:(null==a?void 0:a.errors)??[]}}}function im(e,t,r,n){if("string"!=typeof e)return void n.push({code:"INVALID_REFERENCE",message:rm.INVALID_REFERENCE.replace("%s",e)});const[a,o]=e.split("#",2);if(a){const e=r.find((e=>e.filename===a));if(!e)return void n.push({code:"EXTERNAL_REFERENCE_NOT_FOUND",message:rm.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",a)});const t=om(r,e,n);return void 0===o?t.schema:im(`#${o}`,e,r,n)}const i=function(e){return e.split("/").slice(1).map(am)}(o);try{return i.reduce(((e,t)=>e[t]),t.specification)}catch(t){n.push({code:"INVALID_REFERENCE",message:rm.INVALID_REFERENCE.replace("%s",e)})}}async function sm(e){const t=Jf(e),r=Wf(t),n=om(t);return{specification:r.specification,errors:n.errors,schema:n.schema,...nm(r.specification)}}async function lm(e,t){var r,n;if((null==t?void 0:t.filesystem)&&(null==t?void 0:t.filesystem.find((t=>t.filename===e))))return{filesystem:t.filesystem};const a=null==(r=null==t?void 0:t.plugins)?void 0:r.find((t=>t.check(e))),o=Kf(a?await a.get(e):e);if(void 0===o)return{filesystem:[]};let i=Jf(o,{filename:(null==t?void 0:t.filename)??null});const s=((null==t?void 0:t.filename)?i.find((e=>e.filename===(null==t?void 0:t.filename))):Wf(i)).references??Yf(o);if(0===s.length)return{filesystem:i};for(const r of s){const a=null==(n=null==t?void 0:t.plugins)?void 0:n.find((e=>e.check(r)));if(!a)continue;const o=a.check(r)&&a.resolvePath?a.resolvePath(e,r):r;if(i.find((e=>e.filename===r)))continue;const{filesystem:s}=await lm(o,{...t,filename:r});i=[...i,...s.map((e=>({...e,isEntrypoint:!1})))]}return{filesystem:i}}const cm={limit:20},um=e=>{let t=0;const r={...cm,...e};return{check:e=>"string"==typeof e&&!(!e.startsWith("http://")&&!e.startsWith("https://")),async get(e){if(!1!==(null==r?void 0:r.limit)&&t>=(null==r?void 0:r.limit))console.warn(`[fetchUrls] Maximum number of requests reeached (${null==r?void 0:r.limit}), skipping request`);else try{t++;const n=await((null==r?void 0:r.fetch)?r.fetch(e):fetch(e));return await n.text()}catch(t){console.error("[fetchUrls]",t.message,`(${e})`)}}}},dm=e=>{let t={};t=e&&"object"==typeof e?structuredClone(e):hp(),t.tags||(t.tags=[]),t.paths||(t.paths={});const r={};return Object.keys(t.webhooks??{}).forEach((e=>{var n;Object.keys((null==(n=t.webhooks)?void 0:n[e])??{}).forEach((n=>{var a,o,i;const s=null==(a=t.webhooks)?void 0:a[e][n];!0!==(null==s?void 0:s["x-internal"])&&(void 0===r[e]&&(r[e]={}),r[e][n]={httpVerb:Du(n),path:e,operationId:(null==s?void 0:s.operationId)||e,name:(null==s?void 0:s.summary)||e||"",description:(null==s?void 0:s.description)||"",pathParameters:null==(i=null==(o=t.paths)?void 0:o[e])?void 0:i.parameters,information:{...s}})}))})),Object.keys(t.paths).forEach((e=>{Object.keys(t.paths[e]).filter((e=>ns.includes(e.toUpperCase()))).forEach((r=>{var n,a,o,i,s,l;const c=t.paths[e][r];if(void 0===c)return;if(!0===c["x-internal"])return;const u={httpVerb:Du(r),path:e,operationId:c.operationId||e,name:c.summary||e||"",description:c.description||"",information:{...c},pathParameters:null==(a=null==(n=t.paths)?void 0:n[e])?void 0:a.parameters};if(c.tags&&0!==c.tags.length)c.tags.forEach((e=>{var r,n,a;const o=null==(r=t.tags)?void 0:r.findIndex((t=>t.name===e));-1===o&&(null==(n=t.tags)||n.push({name:e,description:""}));const i=-1!==o?o:t.tags.length-1;void 0===(null==(a=t.tags[i])?void 0:a.operations)&&(t.tags[i].operations=[]),t.tags[i].operations.push(u)}));else{(null==(o=t.tags)?void 0:o.find((e=>"default"===e.name)))||null==(i=t.tags)||i.push({name:"default",description:"",operations:[]});const e=null==(s=t.tags)?void 0:s.findIndex((e=>"default"===e.name));e>=0&&(null==(l=t.tags[e])||l.operations.push(u))}}))})),{...t,webhooks:r}},pm=Symbol(),hm=Symbol(),fm=async e=>{var t;null==(t=document.getElementById(e))||t.scrollIntoView()},mm=e=>new Promise((t=>setTimeout(t,e)));function gm(e){return!!ct()&&(ut(e),!0)}function bm(e){return"function"==typeof e?e():Nr(e)}const vm="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const Om=e=>null!=e,ym=Object.prototype.toString,wm=e=>"[object Object]"===ym.call(e),xm=()=>{};function km(e,t,r){return Za(e,((e,r,n)=>{e&&t(e,r,n)}),{...r,once:!1})}function _m(e,t,r){let n;n=Ar(r)?{evaluating:r}:{};const{lazy:a=!1,evaluating:o,shallow:i=!0,onError:s=xm}=n,l=Cr(!a),c=i?Pr(t):Cr(t);let u=0;return za((async t=>{if(!l.value)return;u++;const r=u;let n=!1;o&&Promise.resolve().then((()=>{o.value=!0}));try{const a=await e((e=>{t((()=>{o&&(o.value=!1),n||e()}))}));r===u&&(c.value=a)}catch(e){s(e)}finally{o&&r===u&&(o.value=!1),n=!0}})),a?ti((()=>(l.value=!0,c.value))):c}function Sm(e){var t;const r=bm(e);return null!=(t=null==r?void 0:r.$el)?t:r}const Em=vm?window:void 0;function Tm(...e){let t,r,n,a;if("string"==typeof e[0]||Array.isArray(e[0])?([r,n,a]=e,t=Em):[t,r,n,a]=e,!t)return xm;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],i=()=>{o.forEach((e=>e())),o.length=0},s=Za((()=>[Sm(t),bm(a)]),(([e,t])=>{if(i(),!e)return;const a=wm(t)?{...t}:t;o.push(...r.flatMap((t=>n.map((r=>((e,t,r,n)=>(e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)))(e,t,r,a))))))}),{immediate:!0,flush:"post"}),l=()=>{s(),i()};return gm(l),l}function Am(e){const t=function(){const e=Cr(!1),t=Fo();return t&&Cn((()=>{e.value=!0}),t),e}();return ti((()=>(t.value,Boolean(e()))))}function Cm(e,t={}){const{window:r=Em}=t,n=Am((()=>r&&"matchMedia"in r&&"function"==typeof r.matchMedia));let a;const o=Cr(!1),i=e=>{o.value=e.matches},s=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",i):a.removeListener(i))},l=za((()=>{n.value&&(s(),a=r.matchMedia(bm(e)),"addEventListener"in a?a.addEventListener("change",i):a.addListener(i),o.value=a.matches)}));return gm((()=>{l(),s(),a=void 0})),o}const Pm=new Map;function Dm(e){const t=ct();function r(r){var a;const o=Pm.get(e)||new Set;o.add(r),Pm.set(e,o);const i=()=>n(r);return null==(a=null==t?void 0:t.cleanups)||a.push(i),i}function n(t){const r=Pm.get(e);r&&(r.delete(t),r.size||a())}function a(){Pm.delete(e)}return{on:r,once:function(e){return r((function t(...r){n(t),e(...r)}))},off:n,emit:function(t,r){var n;null==(n=Pm.get(e))||n.forEach((e=>e(t,r)))},reset:a}}const Rm={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Nm(e={}){const{reactive:t=!1,target:r=Em,aliasMap:n=Rm,passive:a=!0,onEventFired:o=xm}=e,i=hr(new Set),s={toJSON:()=>({}),current:i},l=t?hr(s):s,c=new Set,u=new Set;function d(e,r){e in l&&(t?l[e]=r:l[e].value=r)}function p(){i.clear();for(const e of u)d(e,!1)}function h(e,t){var r,n;const a=null==(r=e.key)?void 0:r.toLowerCase(),o=[null==(n=e.code)?void 0:n.toLowerCase(),a].filter(Boolean);a&&(t?i.add(a):i.delete(a));for(const e of o)u.add(e),d(e,t);"meta"!==a||t?"function"==typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...i,...o].forEach((e=>c.add(e))):(c.forEach((e=>{i.delete(e),d(e,!1)})),c.clear())}Tm(r,"keydown",(e=>(h(e,!0),o(e))),{passive:a}),Tm(r,"keyup",(e=>(h(e,!1),o(e))),{passive:a}),Tm("blur",p,{passive:!0}),Tm("focus",p,{passive:!0});const f=new Proxy(l,{get(e,r,a){if("string"!=typeof r)return Reflect.get(e,r,a);if((r=r.toLowerCase())in n&&(r=n[r]),!(r in l))if(/[+_-]/.test(r)){const e=r.split(/[+_-]/g).map((e=>e.trim()));l[r]=ti((()=>e.every((e=>bm(f[e])))))}else l[r]=Cr(!1);const o=Reflect.get(e,r,a);return t?bm(o):o}});return f}const $m=Dm(Symbol("downloadSpec"));function Im({specConfig:e,proxy:t}){const r=Cr(""),n=hr(hp()),a=Cr(null);return Za((()=>$r(e)),(async e=>{var n;if(e){const a=null==(n=await(async({url:e,content:t},r)=>{if(e)return function(e){try{return Boolean(new URL(e))}catch{return!1}}(e)?await yu(e,r):await yu(e);const n="function"==typeof t?t():t;return"string"==typeof n?n:"object"==typeof n?Eu(n):void 0})(e,$r(t)))?void 0:n.trim();"string"==typeof a&&(r.value=a)}}),{immediate:!0,deep:!0}),Za(r,(()=>{!function(e){e?((e,{proxy:t}={})=>new Promise((async(r,n)=>{var a;try{if(!e)return r(dm(hp()));const o=performance.now(),{filesystem:i}=await lm(e,{plugins:[um({fetch:e=>fetch(t?ds(t,e):e)})]}),{schema:s,errors:l}=await sm(i),c=performance.now();return console.log(`dereference: ${Math.round(c-o)} ms`),(null==l?void 0:l.length)&&console.warn("Please open an issue on https://github.com/scalar/scalar\n","Scalar OpenAPI Parser Warning:\n",l),void 0===s?(n((null==(a=null==l?void 0:l[0])?void 0:a.message)??"Failed to parse the OpenAPI file."),r(dm(hp()))):r(dm(s))}catch(e){n(e)}return r(dm(hp()))})))(e,{proxy:t?$r(t):void 0}).then((e=>{a.value=null,Object.assign(n,{servers:[],...e})})).catch((e=>{a.value=e.toString()})):Object.assign(n,hp())}(r.value)})),{rawSpec:r,parsedSpec:n,specErrors:a}}function Mm(e){const t=ti((()=>{if(!e.information)return[];const{responses:t}=e.information,r=[];return t&&Object.keys(t).forEach((e=>{r.push({name:e,description:t[e].description})})),r}));return{responses:t}}const{getHeadingId:Lm,getModelId:Qm,getOperationId:Bm,getSectionId:jm,getTagId:Um,getWebhookId:Fm,hash:zm}=up(),qm=Cr(void 0);function Zm(e){return qm.value=e}const Hm=Cr(!1),Vm=hr(Au["useSidebarContent-collapsedSidebarItems"]??{});function Wm(e){Vm[e]=!Vm[e]}function Xm(e,t){Vm[e]=t}const Ym=Cr([]),Gm=ti((()=>{var e,t,r,n,a,o,i,s,l,c;const{state:u}=Lu(),d={},{openApi:{globalSecurity:p}}=qu(),h=[];let f=null;Ym.value.forEach((e=>{var t;e.depth===Mf(Ym.value)?(f={id:Lm(e),title:e.value,show:!u.showApiClient,children:[]},h.push(f)):f&&(null==(t=f.children)||t.push({id:Lm(e),title:e.value,show:!u.showApiClient}))}));const m=null==(t=null==(e=qm.value)?void 0:e.tags)?void 0:t[0],g=!m||1===(null==(b=null==(r=qm.value)?void 0:r.tags)?void 0:b.length)&&"default"===b[0].name&&""===b[0].description?null==(o=null==m?void 0:m.operations)?void 0:o.map((e=>{var t;const r=Bm(e,m),n=e.name??e.path;return d[r]=n,{id:r,title:n,httpVerb:e.httpVerb,deprecated:(null==(t=e.information)?void 0:t.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&Vf(e,p)}}})):null==(a=null==(n=qm.value)?void 0:n.tags)?void 0:a.filter((e=>{var t;return(null==(t=e.operations)?void 0:t.length)>0})).map((e=>{var t;return{id:Um(e),title:e.name,displayTitle:e["x-displayName"]??e.name,show:!0,children:null==(t=e.operations)?void 0:t.map((t=>{var r;const n=Bm(t,e),a=t.name??t.path;return d[n]=a,{id:n,title:a,httpVerb:t.httpVerb,deprecated:(null==(r=t.information)?void 0:r.deprecated)??!1,show:!0,select:()=>{u.showApiClient&&Vf(t,p)}}}))}}));var b;let v=Qf(qm.value)&&!Hm.value?[{id:Qm(),title:"Models",show:!u.showApiClient,children:Object.keys(Lf(qm.value)??{}).map((e=>{var t;const r=Qm(e);return d[r]=e,{id:r,title:(null==(t=Lf(qm.value))?void 0:t[e]).title??e,show:!u.showApiClient}}))}]:[],O=(y=qm.value)&&Object.keys((null==y?void 0:y.webhooks)??{}).length?[{id:Fm(),title:"Webhook",show:!u.showApiClient,children:Object.keys((null==(i=qm.value)?void 0:i.webhooks)??{}).map((e=>{var t,r;const n=Fm(e);return d[n]=e,Object.keys((null==(r=null==(t=qm.value)?void 0:t.webhooks)?void 0:r[e])??{}).map((t=>{var r,n,a;return{id:Fm(e,t),title:null==(a=null==(n=null==(r=qm.value)?void 0:r.webhooks)?void 0:n[e][t])?void 0:a.name,httpVerb:t,show:!u.showApiClient}}))})).flat()}]:[];var y;const w=(null==(s=qm.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=qm.value)?void 0:l["x-tagGroups"])?void 0:c.map((e=>{var t;const r=[];return null==(t=e.tags)||t.map((e=>{if("models"===e&&v.length>0)r.push(v[0]),v=[];else if("webhooks"===e&&O.length>0)r.push(O[0]),O=[];else{const t=null==g?void 0:g.find((t=>t.title===e));t&&r.push(t)}})),{id:e.name,title:e.name,children:r,show:!0,isGroup:!0}})):void 0;return{entries:[...h,...w??g??[],...O,...v],titles:d}})),Km=Cr(!1),Jm=ti((()=>{var e,t;return(null==(t=null==(e=Gm.value)?void 0:e.titles)?void 0:t[zm.value])??""}));function eg(e){return(null==e?void 0:e.parsedSpec)&&(qm.value=e.parsedSpec,Za((()=>{var e,t;return null==(t=null==(e=qm.value)?void 0:e.tags)?void 0:t.length}),(()=>{var e,t;if(zm.value){const e=jm(zm.value);e&&Xm(e,!0)}else{const r=null==(t=null==(e=qm.value)?void 0:e.tags)?void 0:t[0];r&&Xm(Um(r),!0)}})),Za((()=>{var e,t;return null==(t=null==(e=qm.value)?void 0:e.info)?void 0:t.description}),(async()=>{var e,t;const r=null==(t=null==(e=qm.value)?void 0:e.info)?void 0:t.description;return Ym.value=r?await(async e=>{const t=await If(e),r=Mf(t);return t.filter((e=>e.depth===r||e.depth===r+1))})(r):[]}))),{breadcrumb:Jm,items:Gm,isSidebarOpen:Km,collapsedSidebarItems:Vm,toggleCollapsedSidebarItem:Wm,setCollapsedSidebarItem:Xm,hideModels:Hm,setParsedSpec:Zm}}const tg="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:rg,Blob:ng,File:ag}=tg,og="\r\n",ig="-".repeat(2),sg=Symbol.toStringTag,lg=(e,t,r)=>{let n="";return n+=`${ig}${e}${og}`,n+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof r&&"blob"!==r.name&&(n+=`; filename="${r.name}"${og}`,n+=`Content-Type: ${r.type||"application/octet-stream"}`),`${n}${og.repeat(2)}`},cg=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),ug=(e,t)=>{const r=cg(e,t);if(r)return e[r]},dg=(e,t)=>Boolean(cg(e,t)),pg=["application/json","application/x-json","text/json","text/x-json","+json"],hg=(e,t)=>{if(void 0===t.value)return e;const r=e[t.name];return void 0===r?(e[t.name]=t.value,e):Array.isArray(r)?(r.push(t.value),e):(e[t.name]=[r,t.value],e)};function fg(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class mg extends URL{get path(){return this.pathname+this.search}}class gg{constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{const r=this.indentLine(e,t);this.code.unshift(r)},this.push=(e,t)=>{const r=this.indentLine(e,t);this.code.push(r)},this.blank=()=>{this.code.push("")},this.join=()=>{const e=this.code.join(this.lineJoin);return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function bg(e,t={}){const{delimiter:r='"',escapeChar:n="\\",escapeNewlines:a=!0}=t;return[...e.toString()].map((e=>"\b"===e?`${n}b`:"\t"===e?`${n}t`:"\n"===e?a?`${n}n`:e:"\f"===e?`${n}f`:"\r"===e?a?`${n}r`:e:e===n?n+n:e===r?n+r:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")}const vg=e=>bg(e,{delimiter:"'"}),Og=e=>bg(e,{delimiter:'"'}),yg={info:{key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:r,allHeaders:n,postData:a})=>{const{push:o,blank:i,join:s}=new gg;o("CURL *hnd = curl_easy_init();"),i(),o(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),o(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(r);return l.length&&(i(),o("struct curl_slist *headers = NULL;"),l.forEach((e=>{o(`headers = curl_slist_append(headers, "${e}: ${Og(r[e])}");`)})),o("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),n.cookie&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${n.cookie}");`)),(null==a?void 0:a.text)&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(a.text)});`)),i(),o("CURLcode ret = curl_easy_perform(hnd);"),s()}}}};class wg{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let xg=class{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}};const kg=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),_g=e=>"object"===kg(e)&&0===Object.keys(e).length,Sg=e=>(Object.keys(e).filter((t=>_g(e[t]))).forEach((t=>{delete e[t]})),e),Eg=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,`\n${r}`)},Tg=e=>{switch(kg(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce(((t,r)=>`${t}:${r} ${Eg(r.length+2,Tg(e[r]))}\n `),"").trim();return`{${Eg(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${Tg(t)}`),"").trim();return`[${Eg(1,t)}]`}}},Ag={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:r,url:n,allHeaders:a},o)=>{const{push:i,join:s}=new gg({indent:null==o?void 0:o.indent});if(t=t.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(t))return i("Method not supported"),s();const l={headers:a,"query-params":e};switch(null==r?void 0:r.mimeType){case"application/json":{l["content-type"]=new wg("json"),l["form-params"]=r.jsonObj;const e=cg(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=r.paramsObj;const e=cg(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=r.text;const e=cg(l.headers,"content-type");e&&delete l.headers[e]}break;case"multipart/form-data":if(r.params){l.multipart=r.params.map((e=>e.fileName&&!e.value?{name:e.name,content:new xg(e.fileName)}:{name:e.name,content:e.value}));const e=cg(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===ug(l.headers,"accept")){l.accept=new wg("json");const e=cg(l.headers,"accept");e&&delete l.headers[e]}if(i("(require '[clj-http.client :as client])\n"),_g(Sg(l)))i(`(client/${t} "${n}")`);else{const e=11+t.length+n.length;i(`(client/${t} "${n}" ${Eg(e,Tg(Sg(l)))})`)}return s()}}}},Cg={info:{key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{httpclient:{info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},a)=>{var o,i;const s={indent:" ",...a},{push:l,join:c}=new gg({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=ug(e,"accept-encoding");if(!t)return[];const r={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},n=[];return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{const t=/\s*([^;\s]+)/.exec(e);if(t){const e=r[t[1]];e&&n.push(e)}}))})),n})(e);(d||p.length)&&(u="clientHandler",l("var clientHandler = new HttpClientHandler"),l("{"),d&&l("UseCookies = false,",1),p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),l("};")),l(`var client = new HttpClient(${u});`),l("var request = new HttpRequestMessage"),l("{"),r=(r=r.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(r)?`HttpMethod.${r[0]}${r.substring(1).toLowerCase()}`:`new HttpMethod("${r}")`,l(`Method = ${r},`,1),l(`RequestUri = new Uri("${n}"),`,1);const h=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}}));if(h.length&&(l("Headers =",1),l("{",1),h.forEach((t=>{l(`{ "${t}", "${Og(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":l("Content = new FormUrlEncodedContent(new Dictionary",1),l("{",1),null===(o=t.params)||void 0===o||o.forEach((e=>{l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break;case"multipart/form-data":l("Content = new MultipartFormDataContent",1),l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{l(`new StringContent(${JSON.stringify(e.value||"")})`,2),l("{",2),l("Headers =",3),l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),l("{",4),l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),l("{",1),l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),l("}",2),l("}",1)}}return l("};"),l("using (var response = await client.SendAsync(request))"),l("{"),l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),l("Console.WriteLine(body);",1),l("}"),c()}},restsharp:{info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:r,headersObj:n,cookies:a,postData:o})=>{const{push:i,join:s}=new gg;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(i(`var client = new RestClient("${r}");`),i(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(n).forEach((e=>{i(`request.AddHeader("${e}", "${Og(n[e])}");`)})),null==a||a.forEach((({name:e,value:t})=>{i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){const t=ug(e,"content-type"),r=JSON.stringify(o.text);i(`request.AddParameter("${t}", ${r}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),s()}}}},Pg={info:{key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:({postData:e,method:t,allHeaders:r,fullUrl:n},a={})=>{const{blank:o,push:i,join:s}=new gg({indent:"\t"}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:u=!0,timeout:d=-1,insecureSkipVerify:p=!1}=a,h=c?"err":"_",f=l?1:0,m=()=>{c&&(i("if err != nil {",f),i("panic(err)",f+1),i("}",f))};l&&(i("package main"),o(),i("import ("),i('"fmt"',f),d>0&&i('"time"',f),p&&i('"crypto/tls"',f),(null==e?void 0:e.text)&&i('"strings"',f),i('"net/http"',f),u&&i('"io"',f),i(")"),o(),i("func main() {"),o()),p&&(i("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",f),i("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",f));const g=d>0,b=g||p,v=b?"client":"http.DefaultClient";return b&&(i("client := http.Client{",f),g&&i(`Timeout: time.Duration(${d} * time.Second),`,f+1),p&&i("Transport: insecureTransport,",f+1),i("}",f),o()),i(`url := "${n}"`,f),o(),(null==e?void 0:e.text)?(i(`payload := strings.NewReader(${JSON.stringify(e.text)})`,f),o(),i(`req, ${h} := http.NewRequest("${t}", url, payload)`,f),o()):(i(`req, ${h} := http.NewRequest("${t}", url, nil)`,f),o()),m(),Object.keys(r).length&&(Object.keys(r).forEach((e=>{i(`req.Header.Add("${e}", "${Og(r[e])}")`,f)})),o()),i(`res, ${h} := ${v}.Do(req)`,f),m(),u&&(o(),i("defer res.Body.Close()",f),i(`body, ${h} := io.ReadAll(res.Body)`,f),m()),o(),i("fmt.Println(res)",f),u&&i("fmt.Println(string(body))",f),l&&(o(),i("}")),s()}}}},Dg={info:{key:"http",title:"HTTP",extname:null,default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1",link:"https://tools.ietf.org/html/rfc7230",description:"HTTP/1.1 request string in accordance with RFC 7230"},convert:({method:e,fullUrl:t,uriObj:r,httpVersion:n,allHeaders:a,postData:o},i)=>{const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...i},{blank:l,push:c,join:u}=new gg({indent:"",join:"\r\n"}),d=s.absoluteURI?t:r.path;c(`${e} ${d} ${n}`);const p=Object.keys(a);return p.forEach((e=>{const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()));c(`${t}: ${a[e]}`)})),s.autoHost&&!p.includes("host")&&c(`Host: ${r.host}`),s.autoContentLength&&(null==o?void 0:o.text)&&!p.includes("content-length")&&c(`Content-Length: ${o.text.length}`),l(),`${u()}\r\n${(null==o?void 0:o.text)||""}`}}}},Rg={info:{key:"java",title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",...a},{blank:i,push:s,join:l}=new gg({indent:o.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${Og(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.setBody(${JSON.stringify(r.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),i(),s("client.close();"),l()}},nethttp:{info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:r,postData:n},a)=>{const o={indent:" ",...a},{push:i,join:s}=new gg({indent:o.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{i(`.header("${t}", "${Og(e[t])}")`,2)})),(null==n?void 0:n.text)?i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(n.text)}))`,2):i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),i("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:r,allHeaders:n},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new gg({indent:o.indent});return i("OkHttpClient client = new OkHttpClient();"),s(),(null==e?void 0:e.text)&&(e.boundary?i(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),i("Request request = new Request.Builder()"),i(`.url("${r}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(n).forEach((e=>{i(`.addHeader("${e}", "${Og(n[e])}")`,1)})),i(".build();",1),s(),i("Response response = client.newCall(request).execute();"),l()}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",...a},{join:i,push:s}=new gg({indent:o.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse response = Unirest.${e.toLowerCase()}("${n}")`):s(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${n}")`),Object.keys(t).forEach((e=>{s(`.header("${e}", "${Og(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.body(${JSON.stringify(r.text)})`,1),s(".asString();",1),i()}}}};var Ng={};Object.defineProperty(Ng,"__esModule",{value:!0}),Ng.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const $g=Ng.default;const Ig=em(((e,t,r)=>{const n=[];return function e(t,r,a){let o;(r=r||{}).indent=r.indent||"\t",a=a||"",o=void 0===r.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:a,indent:a+r.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const i=e=>{if(void 0===r.inlineCharacterLimit)return e;const t=e.replace(new RegExp(o.newLine,"g"),"").replace(new RegExp(o.newLineOrSpace,"g")," ").replace(new RegExp(o.pad+"|"+o.indent,"g"),"");return t.length<=r.inlineCharacterLimit?t:e.replace(new RegExp(o.newLine+"|"+o.newLineOrSpace,"g"),"\n").replace(new RegExp(o.pad,"g"),a).replace(new RegExp(o.indent,"g"),a+r.indent)};if(-1!==n.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";n.push(t);const s="["+o.newLine+t.map(((n,i)=>{const s=t.length-1===i?o.newLine:","+o.newLineOrSpace;let l=e(n,r,a+r.indent);return r.transform&&(l=r.transform(t,i,l)),o.indent+l+s})).join("")+o.pad+"]";return n.pop(),i(s)}if(function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let s=Object.keys(t).concat($g(t));if(r.filter&&(s=s.filter((e=>r.filter(t,e)))),0===s.length)return"{}";n.push(t);const l="{"+o.newLine+s.map(((n,i)=>{const l=s.length-1===i?o.newLine:","+o.newLineOrSpace,c="symbol"==typeof n,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(n),d=c||u?n:e(n,r);let p=e(t[n],r,a+r.indent);return r.transform&&(p=r.transform(t,n,p)),o.indent+String(d)+": "+p+l})).join("")+o.pad+"}";return n.pop(),i(l)}return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===r.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,r)})),Mg={info:{key:"javascript",title:"JavaScript",extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:r,fullUrl:n},a)=>{var o;const i={indent:" ",cors:!0,...a},{blank:s,push:l,join:c}=new gg({indent:i.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${Ig(e.jsonObj,{indent:i.indent})});`),s();break;case"multipart/form-data":if(!e.params)break;if(l("const data = new FormData();"),e.params.forEach((e=>{l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)})),dg(t,"content-type")&&(null===(o=ug(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=cg(t,"content-type");e&&delete t[e]}s();break;default:l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),i.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${r}', '${n}');`),Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${vg(t[e])}');`)})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({allHeaders:e,method:t,url:r,queryObj:n,postData:a},o)=>{const i={indent:" ",...o},{blank:s,push:l,join:c,addPostProcessor:u}=new gg({indent:i.indent});l("import axios from 'axios';"),s();const d={method:t,url:r};switch(Object.keys(n).length&&(d.params=n),Object.keys(e).length&&(d.headers=e),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(l("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":a.jsonObj&&(d.data=a.jsonObj);break;case"multipart/form-data":if(!a.params)break;l("const form = new FormData();"),a.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),s(),d.data="[form]";break;default:(null==a?void 0:a.text)&&(d.data=a.text)}const p=Ig(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form");return l(`const options = ${p};`),s(),l("try {"),l("const { data } = await axios.request(options);",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},a)=>{const o={indent:" ",credentials:null,...a},{blank:i,join:s,push:l}=new gg({indent:o.indent}),c={method:e};switch(Object.keys(t).length&&(c.headers=t),null!==o.credentials&&(c.credentials=o.credentials),l(`const url = '${n}';`),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":c.body=r.paramsObj?r.paramsObj:r.text;break;case"application/json":c.body=JSON.stringify(r.jsonObj);break;case"multipart/form-data":if(!r.params)break;const e=cg(t,"content-type");e&&delete t[e],l("const form = new FormData();"),r.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),i();break;default:(null==r?void 0:r.text)&&(c.body=r.text)}return c.headers&&!Object.keys(c.headers).length&&delete c.headers,l(`const options = ${Ig(c,{indent:o.indent,inlineCharacterLimit:80,transform:(e,t,n)=>"body"===t&&r&&"application/x-www-form-urlencoded"===r.mimeType?`new URLSearchParams(${n})`:n})};`),i(),(null==r?void 0:r.params)&&"multipart/form-data"===r.mimeType&&(l("options.body = form;"),i()),l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:r,postData:n},a)=>{var o;const i={indent:" ",...a},{blank:s,push:l,join:c}=new gg({indent:i.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:r};switch(null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":u.data=n.paramsObj?n.paramsObj:n.text;break;case"application/json":u.processData=!1,u.data=n.text;break;case"multipart/form-data":if(!n.params)break;if(l("const form = new FormData();"),n.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",dg(r,"content-type")&&(null===(o=ug(r,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=cg(r,"content-type");e&&delete u.headers[e]}s();break;default:(null==n?void 0:n.text)&&(u.data=n.text)}const d=Ig(u,{indent:i.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}}}},Lg={info:{key:"kotlin",title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:r,allHeaders:n},a)=>{const o={indent:" ",...a},{blank:i,join:s,push:l}=new gg({indent:o.indent});return l("val client = OkHttpClient()"),i(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(r.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(r.toUpperCase())?(null==e?void 0:e.text)?l(`.${r.toLowerCase()}(body)`,1):l(`.${r.toLowerCase()}(null)`,1):l(`.${r.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${r.toUpperCase()}", body)`,1):l(`.method("${r.toUpperCase()}", null)`,1),Object.keys(n).forEach((e=>{l(`.addHeader("${e}", "${Og(n[e])}")`,1)})),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),s()}}}},Qg={info:{key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{info:{key:"native",title:"HTTP",link:"http://nodejs.org/api/http.html#http_http_request_options_callback",description:"Node.js native HTTP interface"},convert:({uriObj:e,method:t,allHeaders:r,postData:n},a={})=>{const{indent:o=" ",insecureSkipVerify:i=!1}=a,{blank:s,join:l,push:c,unshift:u}=new gg({indent:o}),d={method:t,hostname:e.hostname,port:""===e.port?null:e.port,path:e.path,headers:r,...i?{rejectUnauthorized:!1}:{}};switch(c(`const http = require('${e.protocol.replace(":","")}');`),s(),c(`const options = ${Ig(d,{indent:o})};`),s(),c("const req = http.request(options, function (res) {"),c("const chunks = [];",1),s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2),c("});",1),s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2),c("console.log(body.toString());",2),c("});",1),c("});"),s(),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":n.paramsObj&&(u("const qs = require('querystring');"),c(`req.write(qs.stringify(${Ig(n.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":n.jsonObj&&c(`req.write(JSON.stringify(${Ig(n.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==n?void 0:n.text)&&c(`req.write(${Ig(n.text,{indent:o})});`)}return c("req.end();"),l()}},request:{info:{key:"request",title:"Request",link:"https://github.com/request/request",description:"Simplified HTTP request client"},convert:({method:e,url:t,queryObj:r,postData:n,headersObj:a,cookies:o},i)=>{const s={indent:" ",...i};let l=!1;const{push:c,blank:u,join:d,unshift:p}=new gg({indent:s.indent});c("const request = require('request');"),u();const h={method:e,url:t};switch(Object.keys(r).length&&(h.qs=r),Object.keys(a).length&&(h.headers=a),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":h.form=n.paramsObj;break;case"application/json":n.jsonObj&&(h.body=n.jsonObj,h.json=!0);break;case"multipart/form-data":if(!n.params)break;h.formData={},n.params.forEach((e=>{if(!e.fileName&&!e.fileName&&!e.contentType)return void(h.formData[e.name]=e.value);let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`,options:{filename:e.fileName,contentType:e.contentType?e.contentType:null}}):e.value&&(t.value=e.value),h.formData[e.name]=t}));break;default:(null==n?void 0:n.text)&&(h.body=n.text)}return o.length&&(h.jar="JAR",c("const jar = request.jar();"),o.forEach((e=>{c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`)})),u()),l&&p("const fs = require('fs');"),c(`const options = ${Ig(h,{indent:" ",inlineCharacterLimit:80})};`),u(),c("request(options, function (error, response, body) {"),c("if (error) throw new Error(error);",1),u(),c("console.log(body);",1),c("});"),d().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')")}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/nodejs.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,url:t,cookies:r,queryObj:n,postData:a,headersObj:o},i)=>{const s={indent:" ",...i};let l=!1;const{addPostProcessor:c,blank:u,join:d,push:p,unshift:h}=new gg({indent:s.indent});switch(p("const unirest = require('unirest');"),u(),p(`const req = unirest('${e}', '${t}');`),u(),r.length&&(p("const CookieJar = unirest.jar();"),r.forEach((e=>{p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`)})),p("req.jar(CookieJar);"),u()),Object.keys(n).length&&(p(`req.query(${Ig(n,{indent:s.indent})});`),u()),Object.keys(o).length&&(p(`req.headers(${Ig(o,{indent:s.indent})});`),u()),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.paramsObj&&(p(`req.form(${Ig(a.paramsObj,{indent:s.indent})});`),u());break;case"application/json":a.jsonObj&&(p("req.type('json');"),p(`req.send(${Ig(a.jsonObj,{indent:s.indent})});`),u());break;case"multipart/form-data":{if(!a.params)break;const e=[];a.params.forEach((t=>{const r={};t.fileName&&!t.value?(l=!0,r.body=`fs.createReadStream('${t.fileName}')`,c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(r.body=t.value),r.body&&(t.contentType&&(r["content-type"]=t.contentType),e.push(r))})),p(`req.multipart(${Ig(e,{indent:s.indent})});`),u();break}default:(null==a?void 0:a.text)&&(p(`req.send(${Ig(a.text,{indent:s.indent})});`),u())}return l&&h("const fs = require('fs');"),p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1),u(),p("console.log(res.body);",1),p("});"),d()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:r,allHeaders:n,postData:a},o)=>{const i={indent:" ",...o},{blank:s,join:l,push:c,addPostProcessor:u}=new gg({indent:i.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(r).length&&(d.params=r),Object.keys(n).length&&(d.headers=n),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(c("const { URLSearchParams } = require('url');"),s(),c("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":s(),a.jsonObj&&(d.data=a.jsonObj);break;default:s(),(null==a?void 0:a.text)&&(d.data=a.text)}const p=Ig(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},convert:({method:e,fullUrl:t,postData:r,headersObj:n,cookies:a},o)=>{var i;const s={indent:" ",...o};let l=!1;const{blank:c,push:u,join:d,unshift:p}=new gg({indent:s.indent});u("const fetch = require('node-fetch');"),c();const h={method:e};switch(Object.keys(n).length&&(h.headers=n),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":p("const { URLSearchParams } = require('url');"),u("const encodedParams = new URLSearchParams();"),null===(i=r.params)||void 0===i||i.forEach((e=>{u(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),h.body="encodedParams";break;case"application/json":r.jsonObj&&(h.body=JSON.stringify(r.jsonObj));break;case"multipart/form-data":if(!r.params)break;const e=cg(n,"content-type");e&&delete n[e],p("const FormData = require('form-data');"),u("const formData = new FormData();"),r.params.forEach((e=>{e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,u(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):u(`formData.append('${e.name}', '${e.value}');`)})),c();break;default:(null==r?void 0:r.text)&&(h.body=r.text)}if(a.length){const e=a.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");h.headers||(h.headers={}),h.headers.cookie=e}u(`const url = '${t}';`),h.headers&&!Object.keys(h.headers).length&&delete h.headers;const f=Ig(h,{indent:" ",inlineCharacterLimit:80});return u(`const options = ${f};`),l&&p("const fs = require('fs');"),(null==r?void 0:r.params)&&"multipart/form-data"===r.mimeType&&u("options.body = formData;"),c(),u("try {"),u("const response = await fetch(url, options);",1),u("const data = await response.json();",1),u("console.log(data);",1),u("} catch (error) {"),u("console.error(error);",1),u("}"),d().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')}}}},Bg=(e,t,r,n)=>{const a=`${e} *${t} = `;return`${a}${jg(r,n?a.length:void 0)};`},jg=(e,t)=>{const r=void 0===t?", ":`,\n ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map((e=>jg(e))).join(r)} ]`;case"[object Object]":{const t=[];for(const r in e)t.push(`@"${r}": ${jg(e[r])}`);return`@{ ${t.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},Ug={info:{key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},a)=>{var o;const i={indent:" ",pretty:!0,timeout:10,...a},{push:s,join:l,blank:c}=new gg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import "),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(Bg("NSDictionary","headers",e,i.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(o=t.params)||void 0===o?void 0:o.length){c();const[e,...r]=t.params;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),r.forEach((({name:e,value:t})=>{s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(Bg("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(Bg("NSArray","parameters",t.params||[],i.pretty)),s(`NSString *boundary = @"${t.boundary}";`),c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),s("for (NSDictionary *param in parameters) {"),s('[body appendFormat:@"--%@\\r\\n", boundary];',1),s('if (param[@"fileName"]) {',1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),s("if (error) {",2),s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),s('[body appendFormat:@"%@", param[@"value"]];',2),s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${n}"]`),s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),s(` timeoutInterval:${i.timeout.toFixed(1)}];`),s(`[request setHTTPMethod:@"${r}"];`),u.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&s("[request setHTTPBody:postData];"),c(),s("NSURLSession *session = [NSURLSession sharedSession];"),s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),s(" if (error) {",1),s(' NSLog(@"%@", error);',2),s(" } else {",1),s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),s(' NSLog(@"%@", httpResponse);',2),s(" }",1),s(" }];"),s("[dataTask resume];"),l()}}}},Fg={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:r,method:n},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new gg({indent:o.indent});i("open Cohttp_lwt_unix"),i("open Cohttp"),i("open Lwt"),s(),i(`let uri = Uri.of_string "${e}" in`);const c=Object.keys(t);1===c.length?i(`let headers = Header.add (Header.init ()) "${c[0]}" "${Og(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{i(`("${e}", "${Og(t[e])}");`,1)})),i("] in")),(null==r?void 0:r.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(r.text)} in`),s();const u=c.length?"~headers ":"",d=(null==r?void 0:r.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(n.toLowerCase())?`\`${n.toUpperCase()}`:`(Code.method_of_string "${n}")`;return i(`Client.call ${u}${d}${p} uri`),i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}}}},zg=(e,t,r)=>{switch(r=r||"",t=t||"",Object.prototype.toString.call(e)){case"[object Null]":case"[object Undefined]":default:return"null";case"[object String]":return`'${bg(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const n=e.map((e=>zg(e,`${t}${t}`,t))).join(`,\n${t}`);return`[\n${t}${n}\n${r}]`}case"[object Object]":{const n=[];for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.push(`${zg(r,t)} => ${zg(e[r],`${t}${t}`,t)}`);return`[\n${t}${n.join(`,\n${t}`)}\n${r}]`}}},qg=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],Zg={info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},convert:({uriObj:e,postData:t,fullUrl:r,method:n,httpVersion:a,cookies:o,headersObj:i},s={})=>{const{closingTag:l=!1,indent:c=" ",maxRedirects:u=10,namedErrors:d=!1,noTags:p=!1,shortTags:h=!1,timeout:f=30}=s,{push:m,blank:g,join:b}=new gg({indent:c});p||(m(h?"":"{null!=e&&O.push(`${t} => ${r?JSON.stringify(e):e},`)}));const y=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`));y.length&&O.push(`CURLOPT_COOKIE => "${y.join("; ")}",`);const w=Object.keys(i).sort().map((e=>`"${e}: ${Og(i[e])}"`));return w.length&&(O.push("CURLOPT_HTTPHEADER => ["),O.push(w.join(`,\n${c}${c}`),1),O.push("],")),m(O.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),m(d?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),b()}},guzzle:{info:{key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",description:"PHP with Guzzle"},convert:({postData:e,fullUrl:t,method:r,cookies:n,headersObj:a},o)=>{var i;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...o},{push:l,blank:c,join:u}=new gg({indent:s.indent}),{code:d,push:p,join:h}=new gg({indent:s.indent});switch(s.noTags||(l(s.shortTags?"":" ${zg(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break;case"multipart/form-data":{const t=[];if(e.params&&e.params.forEach((function(e){if(e.fileName){const r={name:e.name,filename:e.fileName,contents:e.value};e.contentType&&(r.headers={"Content-Type":e.contentType}),t.push(r)}else e.value&&t.push({name:e.name,contents:e.value})})),t.length&&(p(`'multipart' => ${zg(t,s.indent+s.indent,s.indent)}`,1),dg(a,"content-type")&&(null===(i=ug(a,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){const e=cg(a,"content-type");e&&delete a[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${zg(e.text)},`,1)}const f=Object.keys(a).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${vg(a[e])}',`})),m=n.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${vg(m)}',`),f.length&&(p("'headers' => [",1),p(f.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),c(),d.length?(l(`$response = $client->request('${r}', '${t}', [`),l(h()),l("]);")):l(`$response = $client->request('${r}', '${t}');`),c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),u()}},http1:{info:{key:"http1",title:"HTTP v1",link:"http://php.net/manual/en/book.http.php",description:"PHP with pecl/http v1"},convert:({method:e,url:t,postData:r,queryObj:n,headersObj:a,cookiesObj:o},i={})=>{const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:u=!1}=i,{push:d,blank:p,join:h}=new gg({indent:l});switch(c||(d(u?"":"setUrl(${zg(t)});`),qg.includes(e.toUpperCase())?d(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):d(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`),p(),Object.keys(n).length&&(d(`$request->setQueryData(${zg(n,l)});`),p()),Object.keys(a).length&&(d(`$request->setHeaders(${zg(a,l)});`),p()),Object.keys(o).length&&(d(`$request->setCookies(${zg(o,l)});`),p()),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":d(`$request->setContentType(${zg(r.mimeType)});`),d(`$request->setPostFields(${zg(r.paramsObj,l)});`),p();break;case"application/json":d(`$request->setContentType(${zg(r.mimeType)});`),d(`$request->setBody(json_encode(${zg(r.jsonObj,l)}));`),p();break;default:(null==r?void 0:r.text)&&(d(`$request->setBody(${zg(r.text)});`),p())}return d("try {"),d("$response = $request->send();",1),p(),d("echo $response->getBody();",1),d("} catch (HttpException $ex) {"),d("echo $ex;",1),d("}"),!c&&s&&(p(),d("?>")),h()}},http2:{info:{key:"http2",title:"HTTP v2",link:"http://devel-m6w6.rhcloud.com/mdref/http",description:"PHP with pecl/http v2"},convert:({postData:e,headersObj:t,method:r,queryObj:n,cookiesObj:a,url:o},i={})=>{var s;const{closingTag:l=!1,indent:c=" ",noTags:u=!1,shortTags:d=!1}=i,{push:p,blank:h,join:f}=new gg({indent:c});let m=!1;switch(u||(p(d?"":"append(new http\\QueryString(${zg(e.paramsObj,c)}));`),h(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const r=[],n={};e.params.forEach((({name:e,fileName:t,value:a,contentType:o})=>{t?r.push({name:e,type:o,file:t,data:a}):a&&(n[e]=a)}));const a=Object.keys(n).length?zg(n,c):"null",o=r.length?zg(r,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${a}, ${o});`),dg(t,"content-type")&&(null===(s=ug(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=cg(t,"content-type");e&&delete t[e]}h(),m=!0;break}case"application/json":p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${zg(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${zg(e.text)});`),h(),m=!0)}return p(`$request->setRequestUrl(${zg(o)});`),p(`$request->setRequestMethod(${zg(r)});`),m&&(p("$request->setBody($body);"),h()),Object.keys(n).length&&(p(`$request->setQuery(new http\\QueryString(${zg(n,c)}));`),h()),Object.keys(t).length&&(p(`$request->setHeaders(${zg(t,c)});`),h()),Object.keys(a).length&&(h(),p(`$client->setCookies(${zg(a,c)});`),h()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),h(),p("echo $response->getBody();"),!u&&l&&(h(),p("?>")),f()}}}},Hg=e=>({method:t,headersObj:r,cookies:n,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{const{push:l,join:c}=new gg;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(r);return d.length&&(l("$headers=@{}"),d.forEach((e=>{"connection"!==e&&l(`$headers.Add("${e}", "${bg(r[e],{escapeChar:"`"})}")`)})),u.push("-Headers $headers")),n.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),n.forEach((e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${a.host}'`),l("$session.Cookies.Add($cookie)")})),u.push("-WebSession $session")),(null==i?void 0:i.text)&&(u.push(`-ContentType '${bg(ug(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()},Vg={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:Hg("Invoke-RestMethod")},Wg={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:Hg("Invoke-WebRequest")},Xg={info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:r},postData:n,allHeaders:a,method:o},i={})=>{const{insecureSkipVerify:s=!1}=i,{push:l,blank:c,join:u}=new gg;l("import http.client"),s&&l("import ssl"),c(),"https:"===t?(l(`conn = http.client.HTTPSConnection("${r}"${s?", context = ssl._create_unverified_context()":""})`),c()):(l(`conn = http.client.HTTPConnection("${r}")`),c());const d=JSON.stringify(null==n?void 0:n.text);d&&(l(`payload = ${d}`),c());const p=a,h=Object.keys(p).length;if(1===h)for(const e in p)l(`headers = { '${e}': "${Og(p[e])}" }`),c();else if(h>1){let e=1;l("headers = {");for(const t in p)e++!==h?l(` '${t}': "${Og(p[t])}",`):l(` '${t}': "${Og(p[t])}"`);l("}"),c()}return l(d&&h?`conn.request("${o}", "${e}", payload, headers)`:d&&!h?`conn.request("${o}", "${e}", payload)`:!d&&h?`conn.request("${o}", "${e}", headers=headers)`:`conn.request("${o}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}};function Yg(e,t,r,n,a){const o=n.repeat(a),i=n.repeat(a-1),s=r?`,\n${o}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]";return r?`${l}\n${o}${t.join(s)}\n${i}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`}const Gg=(e,t,r)=>{switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let n=!1;return Yg("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),Gg(e,t,r)))),n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${Gg(e[a],t,r)}`);return Yg("object",n,t.pretty&&n.length>1,t.indent,r)}case"[object Null]":return"None";case"[object Boolean]":return e?"True":"False";default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},Kg=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Jg={info:{key:"requests",title:"Requests",link:"http://docs.python-requests.org/en/latest/api/#requests.request",description:"Requests HTTP library"},convert:({queryObj:e,url:t,postData:r,allHeaders:n,method:a},o)=>{const i={indent:" ",pretty:!0,...o},{push:s,blank:l,join:c}=new gg({indent:i.indent});let u;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(u=`querystring = ${JSON.stringify(e)}`,s(u),l());const d=n;let p={};const h={};let f=!1,m=!1,g=!1;switch(null==r?void 0:r.mimeType){case"application/json":r.jsonObj&&(s(`payload = ${Gg(r.jsonObj,i)}`),g=!0,m=!0);break;case"multipart/form-data":if(!r.params)break;if(p={},r.params.forEach((e=>{e.fileName?(h[e.name]=`open('${e.fileName}', 'rb')`,f=!0):(p[e.name]=e.value,m=!0)})),f){s(`files = ${Gg(h,i)}`),m&&s(`payload = ${Gg(p,i)}`);const e=cg(d,"content-type");e&&delete d[e]}else{const e=JSON.stringify(r.text);e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!r)break;if("application/x-www-form-urlencoded"===r.mimeType&&r.paramsObj){s(`payload = ${Gg(r.paramsObj,i)}`),m=!0;break}const e=JSON.stringify(r.text);e&&(s(`payload = ${e}`),m=!0)}}const b=Object.keys(d).length;if(0===b&&(m||f))l();else if(1===b)for(const e in d)s(`headers = {"${e}": "${Og(d[e])}"}`),l();else if(b>1){let e=1;s("headers = {");for(const t in d)s(e!==b?`"${t}": "${Og(d[t])}",`:`"${t}": "${Og(d[t])}"`,1),e+=1;s("}"),l()}let v=Kg.includes(a)?`response = requests.${a.toLowerCase()}(url`:`response = requests.request("${a}", url`;return m&&(v+=g?", json=payload":", data=payload"),f&&(v+=", files=files"),b>0&&(v+=", headers=headers"),u&&(v+=", params=querystring"),v+=")",s(v),l(),s("print(response.json())"),c()}},eb={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:r,postData:n,allHeaders:a,method:o},i={})=>{var s,l;const{push:c,blank:u,join:d}=new gg({indent:null!==(s=i.indent)&&void 0!==s?s:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const h=Object.entries(p),f=h.length;if(1===f){const e=h[0];c(`queryString <- list(${e[0]} = "${e[1]}")`),u()}else f>1&&(c("queryString <- list("),h.forEach((([e,t],r)=>{c(`${e} = "${t}"${r!==f-1?",":""}`,1)})),c(")"),u());const m=JSON.stringify(null==n?void 0:n.text);if(m&&(c(`payload <- ${m}`),u()),n&&(n.text||n.jsonObj||n.params))switch(n.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u()}const g=ug(a,"cookie"),b=ug(a,"accept"),v=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,O=b?`accept("${Og(b)}")`:void 0,y=`content_type("${Og(null!==(l=null==n?void 0:n.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(a).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${vg(t)}'`)).join(", "),x=w?`add_headers(${w})`:void 0;let k=`response <- VERB("${o}", url`;m&&(k+=", body = payload"),r.length&&(k+=", query = queryString");const _=[x,y,O,v].filter((e=>!!e)).join(", ");return _&&(k+=`, ${_}`),n&&(n.text||n.jsonObj||n.params)&&(k+=", encode = encode"),k+=")",c(k),u(),c('content(response, "text")'),d()}},tb=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,rb={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},nb={info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},convert:({fullUrl:e,method:t,httpVersion:r,headersObj:n,allHeaders:a,postData:o},i={})=>{var s;const{binary:l=!1,globOff:c=!1,indent:u=" ",insecureSkipVerify:d=!1,prettifyJson:p=!1,short:h=!1}=i,{push:f,join:m}=new gg({..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{if(e){const e=rb[t];return e?`-${e}`:""}return`--${t}`})(h);let b=tb(e);if(f(`curl ${g("request")} ${t}`),c&&(b=unescape(b),f(g("globoff"))),f(`${g("url ")}${b}`),d&&f(g("insecure")),"HTTP/1.0"===r&&f(g("http1.0")),ug(a,"accept-encoding")&&f("--compressed"),"multipart/form-data"===(null==o?void 0:o.mimeType)){const e=cg(n,"content-type");if(e){const t=n[e];if(e&&t){const r=t.replace(/; boundary.+?(?=(;|$))/,"");n[e]=r,a[e]=r}}}switch(Object.keys(n).sort().forEach((e=>{const t=`${e}: ${n[e]}`;f(`${g("header")} ${tb(t)}`)})),a.cookie&&f(`${g("cookie")} ${tb(a.cookie)}`),null==o?void 0:o.mimeType){case"multipart/form-data":null===(s=o.params)||void 0===s||s.forEach((e=>{let t="";t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,f(`${g("form")} ${tb(t)}`)}));break;case"application/x-www-form-urlencoded":o.params?o.params.forEach((e=>{const t=e.name,r=encodeURIComponent(e.name),n=r!==t;f(`${l?"--data-binary":"--data"+(n?"-urlencode":"")} ${tb(`${n?r:t}=${e.value}`)}`)})):f(`${l?"--data-binary":g("data")} ${tb(o.text)}`);break;default:{if(!o)break;if(!o.text)break;const e=l?"--data-binary":g("data");let t=!1;if(v=o.mimeType,pg.some((e=>v.includes(e)))&&o.text.length>2&&p)try{const r=JSON.parse(o.text);t=!0;const n=JSON.stringify(r,void 0,u);o.text.indexOf("'")>0?f(`${e} @- <t.repeat(e),ob=(e,t,r,n)=>{const a=ab(n,r),o=ab(n-1,r),i=t?`,\n${a}`:", ";return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`},ib=(e,t,r)=>`let ${e} = ${sb(t,r)}`,sb=(e,t,r)=>{switch(r=void 0===r?1:r+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let n=!1;const a=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),sb(e,t,r))));return ob(a,n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${sb(e[a],t,r)}`);return ob(n,t.pretty&&n.length>1,t.indent,r)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},lb={c:yg,clojure:Ag,csharp:Cg,go:Pg,http:Dg,java:Rg,javascript:Mg,kotlin:Lg,node:Qg,objc:Ug,ocaml:Fg,php:Zg,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:Wg,restmethod:Vg}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:Xg,requests:Jg}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:eb}},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},clientsById:{native:{info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:r,postData:n,allHeaders:a},o={})=>{const{insecureSkipVerify:i=!1}=o,{push:s,blank:l,join:c}=new gg;s("require 'uri'"),s("require 'net/http'"),l();const u=t.toUpperCase(),d=u.charAt(0)+u.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(u)||(s(`class Net::HTTP::${d} < Net::HTTPRequest`),s(` METHOD = '${u.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${(null==n?void 0:n.text)?"true":"false"}'`),s(" RESPONSE_HAS_BODY = true"),s("end"),l()),s(`url = URI("${r}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),"https:"===e.protocol&&(s("http.use_ssl = true"),i&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),s(`request = Net::HTTP::${d}.new(url)`);const p=Object.keys(a);return p.length&&p.forEach((e=>{s(`request["${e}"] = '${vg(a[e])}'`)})),(null==n?void 0:n.text)&&s(`request.body = ${JSON.stringify(n.text)}`),l(),s("response = http.request(request)"),s("puts response.read_body"),c()}}}},shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},clientsById:{curl:nb,httpie:{info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:r,fullUrl:n,method:a,url:o},i)=>{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i},{push:l,join:c,unshift:u}=new gg({indent:s.indent,join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[];return s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(r).forEach((e=>{const t=r[e];Array.isArray(t)?t.forEach((t=>{l(`${e}==${tb(t)}`)})):l(`${e}==${tb(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${tb(e[t])}`)})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"),t.params.forEach((e=>{l(`${e.name}=${tb(e.value)}`)}))):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=tb(s.queryParams?o:n)}`),d&&(null==t?void 0:t.text)&&u(`echo ${tb(t.text)} | `),c()}},wget:{info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:r,fullUrl:n},a)=>{const o={indent:" ",short:!1,verbose:!1,...a},{push:i,join:s}=new gg({indent:o.indent,join:!1!==o.indent?` \\\n${o.indent}`:" "});var l;return o.verbose?i("wget "+(o.short?"-v":"--verbose")):i("wget "+(o.short?"-q":"--quiet")),i(`--method ${tb(e)}`),Object.keys(r).forEach((e=>{const t=`${e}: ${r[e]}`;i(`--header ${tb(t)}`)})),(null==t?void 0:t.text)&&i(`--body-data ${l=tb(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),i(o.short?"-O":"--output-document"),i(`- ${tb(n)}`),s()}}}},swift:{info:{key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:r,method:n},a)=>{var o;const i={indent:" ",pretty:!0,timeout:"10",...a},{push:s,blank:l,join:c}=new gg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(ib("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),null===(o=t.params)||void 0===o?void 0:o.length){const[e,...r]=t.params;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),r.forEach((({name:e,value:t})=>{s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(s(`${ib("parameters",t.jsonObj,i)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(ib("parameters",t.params,i)),l(),s(`let boundary = "${t.boundary}"`),l(),s('var body = ""'),s("var error: NSError? = nil"),s("for param in parameters {"),s('let paramName = param["name"]!',1),s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),s('if let filename = param["fileName"] {',1),s('let contentType = param["content-type"]!',2),s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),s("if (error != nil) {",2),s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),s("body += fileContent",2),s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),s("}",1),s("}");break;default:l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${r}")! as URL,`),s(" cachePolicy: .useProtocolCachePolicy,"),s(` timeoutInterval: ${parseInt(i.timeout,10).toFixed(1)})`),s(`request.httpMethod = "${n}"`),u.hasHeaders&&s("request.allHTTPHeaderFields = headers"),u.hasBody&&s("request.httpBody = postData as Data"),l(),s("let session = URLSession.shared"),s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),s("if (error != nil) {",1),s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}}}}};class cb{constructor(e){let t=[];var r;t="object"==typeof(r=e)&&"log"in r&&"object"==typeof r.log&&"entries"in r.log&&Array.isArray(r.log.entries)?e.log.entries:[{request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const r={bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",queryString:[],postData:{mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"},...e};return this.prepare(r)})))}async prepare(e){var t,r,n,a;const o={...e,fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}};if(o.queryString&&o.queryString.length&&(o.queryObj=o.queryString.reduce(hg,{})),o.headers&&o.headers.length){const e=/^HTTP\/2/;o.headersObj=o.headers.reduce(((t,{name:r,value:n})=>({...t,[e.exec(o.httpVersion)?r.toLocaleLowerCase():r]:n})),{})}o.cookies&&o.cookies.length&&(o.cookiesObj=o.cookies.reduceRight(((e,{name:t,value:r})=>({...e,[t]:r})),{}));const i=null===(t=o.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`));switch((null==i?void 0:i.length)&&(o.allHeaders.cookie=i.join("; ")),null===(r=o.postData)||void 0===r?void 0:r.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":if(o.postData.text="",o.postData.mimeType="multipart/form-data",null===(n=o.postData)||void 0===n?void 0:n.params){const e=new rg,t="---011000010111000001101001";null===(a=o.postData)||void 0===a||a.params.forEach((t=>{const r=t.name,n=t.value||"",a=t.fileName;var o;"object"==typeof(o=n)&&"function"==typeof o.arrayBuffer&&"string"==typeof o.type&&"function"==typeof o.stream&&"function"==typeof o.constructor&&/^(Blob|File)$/.test(o[sg])?e.append(r,n,a):e.append(r,new ng([n],{type:t.contentType}),a?function(e){const t=e.split("/");return t[t.length-1]}(a):a)}));const{postData:r}=o;for await(const n of async function*(e,t){for(const[r,n]of e)yield lg(t,r,n),"string"==typeof n?yield n:yield await n.text(),yield og;yield(e=>`${ig}${e}${ig}${og.repeat(1)}`)(t)}(e,t))r.text+=n;o.postData.boundary=t;const n=cg(o.headersObj,"content-type")||"content-type";o.headersObj[n]=`multipart/form-data; boundary=${t}`}break;case"application/x-www-form-urlencoded":o.postData.params?(o.postData.paramsObj=o.postData.params.reduce(hg,{}),o.postData.text=fg(o.postData.paramsObj).toString()):o.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(o.postData.mimeType="application/json",o.postData.text)try{o.postData.jsonObj=JSON.parse(o.postData.text)}catch(e){o.postData.mimeType="text/plain"}}const s={...o.allHeaders,...o.headersObj},l=new URL(o.url),c=Object.fromEntries(l.searchParams);o.queryObj={...o.queryObj,...c};const u=fg(o.queryObj),d=new URL(o.url);return d.search=u.toString(),l.search="",{...o,allHeaders:s,fullUrl:d.toString(),url:l.toString(),uriObj:new mg(d.toString())}}async convert(e,t,r){!r&&t&&(r=t);const n=lb[e];if(!n)return null;const{convert:a}=n.clientsById[t||n.info.default],o=(await this.requests).map((e=>a(e,r)));return 1===o.length?o[0]:o}}function ub(e){var t;return(null==(t=fb.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey}function db(e){var t,r;return(null==(r=null==(t=fb.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:r.title)??e.clientKey}const pb=ti((()=>ub(vb))),hb=ti((()=>db(vb))),fb=ti((()=>{var e;const t=Object.keys(lb).map((e=>({...lb[e].info,clients:Object.keys(lb[e].clientsById).map((t=>lb[e].clientsById[t].info))})));return null==(e=t.find((e=>"node"===e.key)))||e.clients.unshift({description:"An HTTP/1.1 client, written from scratch for Node.js.",key:"undici",link:"https://github.com/nodejs/undici",title:"undici"}),function(e,t){return!0===t.value?[]:e.flatMap((e=>{var r;return"object"!=typeof t.value?[]:Array.isArray(t.value)?(e.clients=e.clients.filter((e=>!t.value.includes(e.key))),[e]):!0===t.value[e.key]?[]:(Array.isArray(t.value[e.key])&&(e.clients=e.clients.filter((r=>!t.value[e.key].includes(r.key)))),(null==(r=null==e?void 0:e.clients)?void 0:r.length)?[e]:[])}))}(t,gb)})),mb={node:["unirest"]},gb=Cr({...!0===mb?{}:mb}),bb=()=>{var e,t,r,n;return fb.value.find((e=>"shell"===e.key&&e.clients.find((e=>"curl"===e.key))))?{targetKey:"shell",clientKey:"curl"}:{targetKey:null==(e=fb.value[0])?void 0:e.key,clientKey:null==(n=null==(r=null==(t=fb.value[0])?void 0:t.clients)?void 0:r[0])?void 0:n.key}},vb=hr(bb());function Ob(){Su(vb,bb())}const yb=e=>{Object.assign(vb,{...vb,...e})},wb=()=>({httpClient:mr(vb),resetState:Ob,setHttpClient:yb,excludedClients:mr(gb),setExcludedClients:e=>{gb.value=e,Su(vb,bb())},availableTargets:fb,getClientTitle:db,getTargetTitle:ub,httpTargetTitle:pb,httpClientTitle:hb});let xb=Symbol("headlessui.useid"),kb=0;function _b(){return ba(xb,(()=>""+ ++kb))()}function Sb(e){var t;if(null==e||null==e.value)return null;let r=null!=(t=e.value.$el)?t:e.value;return r instanceof Node?r:null}function Eb(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,Eb),n}var Tb=Object.defineProperty,Ab=(e,t,r)=>(((e,t,r)=>{t in e?Tb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Cb=new class{constructor(){Ab(this,"current",this.detect()),Ab(this,"currentId",0)}set(e){this.current!==e&&(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"}};function Pb(e){if(Cb.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Sb(e);if(t)return t.ownerDocument}return document}let Db=["[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 Rb,Nb,$b,Ib=(($b=Ib||{})[$b.First=1]="First",$b[$b.Previous=2]="Previous",$b[$b.Next=4]="Next",$b[$b.Last=8]="Last",$b[$b.WrapAround=16]="WrapAround",$b[$b.NoScroll=32]="NoScroll",$b),Mb=((Nb=Mb||{})[Nb.Error=0]="Error",Nb[Nb.Overflow=1]="Overflow",Nb[Nb.Success=2]="Success",Nb[Nb.Underflow=3]="Underflow",Nb),Lb=((Rb=Lb||{})[Rb.Previous=-1]="Previous",Rb[Rb.Next=1]="Next",Rb),Qb=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Qb||{});function Bb(e,t=0){var r;return e!==(null==(r=Pb(e))?void 0:r.body)&&Eb(t,{0:()=>e.matches(Db),1(){let t=e;for(;null!==t;){if(t.matches(Db))return!0;t=t.parentElement}return!1}})}var jb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(jb||{});"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let Ub=["textarea","input"].join(",");function Fb(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 zb(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){var o;let i=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,s=Array.isArray(e)?r?Fb(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Db)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:i.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}l=s[e],null==l||l.focus(d),p+=c}while(l!==i.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,Ub))&&r}(l)&&l.select(),2}function qb(e,t,r){Cb.isServer||za((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function Zb(e,t,r=ti((()=>!0))){function n(n,a){if(!r.value||n.defaultPrevented)return;let o=a(n);if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:Sb(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!Bb(o,Qb.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Cr(null);qb("pointerdown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),qb("mousedown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),qb("click",(e=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),qb("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),function(e,t,r){Cb.isServer||za((r=>{window.addEventListener(e,t,true),r((()=>window.removeEventListener(e,t,true)))}))}("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))))}function Hb(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Vb(e,t){let r=Cr(Hb(e.value.type,e.value.as));return Cn((()=>{r.value=Hb(e.value.type,e.value.as)})),za((()=>{var e;r.value||Sb(t)&&Sb(t)instanceof HTMLButtonElement&&(null==(e=Sb(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function Wb(e){return[e.screenX,e.screenY]}var Xb,Yb=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Yb||{}),Gb=((Xb=Gb||{})[Xb.Unmount=0]="Unmount",Xb[Xb.Hidden=1]="Hidden",Xb);function Kb({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=tv(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?Jb(s):1&t?Eb(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>Jb({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):Jb(s)}function Jb({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=rv(e,["unmount","static"]),c=null==(o=r.default)?void 0:o.call(r,n),u={};if(n){let e=!1,t=[];for(let[r,a]of Object.entries(n))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){if(c=ev(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[e,...r]=null!=c?c:[];if(!function(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}(e)||r.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,r)=>r.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).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 "template".',"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 n=tv(null!=(i=e.props)?i:{},l,u),o=Po(e,n,!0);for(let e in n)e.startsWith("on")&&(o.props||(o.props={}),o.props[e]=n[e]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return ri(s,Object.assign({},l,u),{default:()=>c})}function ev(e){return e.flatMap((e=>e.type===uo?ev(e.children):[e]))}function tv(...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&&t.defaultPrevented)return;e(t,...n)}}});return t}function rv(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var nv=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(nv||{});let av=Fn({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:r})=>()=>{var n;let{features:a,...o}=e;return Kb({ourProps:{"aria-hidden":!(2&~a)||(null!=(n=o["aria-hidden"])?n:void 0),hidden:!(4&~a)||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&~a)&&!!(2&~a)&&{display:"none"}}},theirProps:o,slot:{},attrs:r,slots:t,name:"Hidden"})}}),ov=Symbol("Context");var iv=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(iv||{});function sv(){return ba(ov,null)}function lv(e){ga(ov,e)}var cv,uv,dv=((cv=dv||{}).Space=" ",cv.Enter="Enter",cv.Escape="Escape",cv.Backspace="Backspace",cv.Delete="Delete",cv.ArrowLeft="ArrowLeft",cv.ArrowUp="ArrowUp",cv.ArrowRight="ArrowRight",cv.ArrowDown="ArrowDown",cv.Home="Home",cv.End="End",cv.PageUp="PageUp",cv.PageDown="PageDown",cv.Tab="Tab",cv),pv=((uv=pv||{})[uv.First=0]="First",uv[uv.Previous=1]="Previous",uv[uv.Next=2]="Next",uv[uv.Last=3]="Last",uv[uv.Specific=4]="Specific",uv[uv.Nothing=5]="Nothing",uv);function hv(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))mv(r,fv(t,n),a);return r}function fv(e,t){return e?e+"["+t+"]":t}function mv(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())mv(e,fv(t,n.toString()),a);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):hv(r,t,e)}var gv=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gv||{});let bv=Symbol("DisclosureContext");function vv(e){let t=ba(bv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,vv),t}return t}let Ov=Symbol("DisclosurePanelContext"),yv=Fn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Cr(e.defaultOpen?0:1),a=Cr(null),o=Cr(null),i={buttonId:Cr(`headlessui-disclosure-button-${_b()}`),panelId:Cr(`headlessui-disclosure-panel-${_b()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=Eb(n.value,{0:1,1:0})},closeDisclosure(){1!==n.value&&(n.value=1)},close(e){i.closeDisclosure();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?Sb(e):Sb(i.button):Sb(i.button);null==t||t.focus()}};return ga(bv,i),lv(ti((()=>Eb(n.value,{0:iv.Open,1:iv.Closed})))),()=>{let{defaultOpen:a,...o}=e;return Kb({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),wv=Fn({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=vv("DisclosureButton"),o=ba(Ov,null),i=ti((()=>null!==o&&o.value===a.panelId.value));Cn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Nn((()=>{i.value||(a.buttonId.value=null)}));let s=Cr(null);n({el:s,$el:s}),i.value||za((()=>{a.button.value=s.value}));let l=Vb(ti((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=Sb(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case dv.Space:case dv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=Sb(a.button))||r.focus()}else switch(t.key){case dv.Space:case dv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===dv.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return Kb({ourProps:i.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(n=a.buttonId.value)?n:p,ref:s,type:l.value,"aria-expanded":0===a.disclosureState.value,"aria-controls":0===a.disclosureState.value||Sb(a.panel)?a.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,slot:o,attrs:t,slots:r,name:"DisclosureButton"})}}}),xv=Fn({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=vv("DisclosurePanel");Cn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Nn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),ga(Ov,a.panelId);let o=sv(),i=ti((()=>null!==o?(o.value&iv.Open)===iv.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return Kb({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:Yb.RenderStrategy|Yb.Static,visible:i.value,name:"DisclosurePanel"})}}}),kv=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function _v(e){var t,r;let n=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return n;let o=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let i=o?null!=(r=a.innerText)?r:"":n;return kv.test(i)&&(i=i.replace(kv,"")),i}function Sv(e,t){return e===t}var Ev=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ev||{}),Tv=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Tv||{}),Av=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Av||{});let Cv=Symbol("ListboxContext");function Pv(e){let t=ba(Cv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Pv),t}return t}let Dv=Fn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Sv},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){let a=Cr(1),o=Cr(null),i=Cr(null),s=Cr(null),l=Cr([]),c=Cr(""),u=Cr(null),d=Cr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=Fb(e(l.value.slice()),(e=>Sb(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=ti((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Cr(null==r?void 0:r.value),a=ti((()=>void 0!==e.value));return[ti((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(ti((()=>e.modelValue)),(e=>n("update:modelValue",e)),ti((()=>e.defaultValue))),g=ti((()=>void 0===f.value?Eb(h.value,{1:[],0:void 0}):f.value)),b={listboxState:a,value:g,mode:h,compare(t,r){if("string"==typeof e.by){let n=e.by;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e.by(t,r)},orientation:ti((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:ti((()=>e.disabled)),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||1!==a.value&&(a.value=1,u.value=null)},openListbox(){e.disabled||0!==a.value&&(a.value=0)},goToOption(t,r,n){if(e.disabled||1===a.value)return;let o=p(),i=function(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=a+1;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;no.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});c.value="",u.value=i,d.value=null!=n?n:1,l.value=o.options},search(t){if(e.disabled||1===a.value)return;let r=""!==c.value?0:1;c.value+=t.toLowerCase();let n=(null!==u.value?l.value.slice(u.value+r).concat(l.value.slice(0,u.value+r)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),o=n?l.value.indexOf(n):-1;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){e.disabled||1!==a.value&&""!==c.value&&(c.value="")},registerOption(e,t){let r=p((r=>[...r,{id:e,dataRef:t}]));l.value=r.options,u.value=r.activeOptionIndex},unregisterOption(e){let t=p((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||m(t)},select(t){e.disabled||m(Eb(h.value,{0:()=>t,1:()=>{let e=xr(b.value.value).slice(),r=xr(t),n=e.findIndex((e=>b.compare(r,xr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};Zb([i,s],((e,t)=>{var r;b.closeListbox(),Bb(t,Qb.Loose)||(e.preventDefault(),null==(r=Sb(i))||r.focus())}),ti((()=>0===a.value))),ga(Cv,b),lv(ti((()=>Eb(a.value,{0:iv.Open,1:iv.Closed}))));let v=ti((()=>{var e;return null==(e=Sb(i))?void 0:e.closest("form")}));return Cn((()=>{Za([v],(()=>{if(v.value&&void 0!==e.defaultValue)return v.value.addEventListener("reset",t),()=>{var e;null==(e=v.value)||e.removeEventListener("reset",t)};function t(){b.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{let{name:n,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===a.value,disabled:i,value:g.value};return ri(uo,[...null!=n&&null!=g.value?hv({[n]:g.value}).map((([e,t])=>ri(av,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:nv.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],Kb({ourProps:{},theirProps:{...r,...rv(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),Rv=Fn({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-button-${_b()}`,i=Pv("ListboxButton");function s(e){switch(e.key){case dv.Space:case dv.Enter:case dv.ArrowDown:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Sb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(pv.First)}));break;case dv.ArrowUp:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Sb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(pv.Last)}))}}function l(e){e.key===dv.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Sb(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=Vb(ti((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n,a;let d={open:0===i.listboxState.value,disabled:i.disabled.value,value:i.value.value},{...p}=e;return Kb({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=Sb(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=Sb(i.labelRef))?void 0:a.id,o].join(" "):void 0,disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},theirProps:p,slot:d,attrs:t,slots:r,name:"ListboxButton"})}}}),Nv=Fn({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-options-${_b()}`,i=Pv("ListboxOptions"),s=Cr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case dv.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case dv.Enter:if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case Eb(i.orientation.value,{vertical:dv.ArrowDown,horizontal:dv.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.Next);case Eb(i.orientation.value,{vertical:dv.ArrowUp,horizontal:dv.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.Previous);case dv.Home:case dv.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.First);case dv.End:case dv.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(pv.Last);case dv.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case dv.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}n({el:i.optionsRef,$el:i.optionsRef});let c=sv(),u=ti((()=>null!==c?(c.value&iv.Open)===iv.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return Kb({ourProps:{"aria-activedescendant":null===i.activeOptionIndex.value||null==(n=i.options.value[i.activeOptionIndex.value])?void 0:n.id,"aria-multiselectable":1===i.mode.value||void 0,"aria-labelledby":null==(a=Sb(i.buttonRef))?void 0:a.id,"aria-orientation":i.orientation.value,id:o,onKeydown:l,role:"listbox",tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:r,features:Yb.RenderStrategy|Yb.Static,visible:u.value,name:"ListboxOptions"})}}}),$v=Fn({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-option-${_b()}`,i=Pv("ListboxOption"),s=Cr(null);n({el:s,$el:s});let l=ti((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=ti((()=>Eb(i.mode.value,{0:()=>i.compare(xr(i.value.value),xr(e.value)),1:()=>xr(i.value.value).some((t=>i.compare(xr(t),xr(e.value))))}))),u=ti((()=>Eb(i.mode.value,{1:()=>{var e;let t=xr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(xr(t),xr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=function(e){let t=Cr(""),r=Cr("");return()=>{let n=Sb(e);if(!n)return"";let a=n.innerText;if(t.value===a)return r.value;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():_v(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return _v(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}(s),p=ti((()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s})));function h(t){if(e.disabled)return t.preventDefault();i.select(e.value),0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Sb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(pv.Nothing);i.goToOption(pv.Specific,o)}Cn((()=>i.registerOption(o,p))),Nn((()=>i.unregisterOption(o))),Cn((()=>{Za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&Eb(i.mode.value,{1:()=>{u.value&&i.goToOption(pv.Specific,o)},0:()=>{i.goToOption(pv.Specific,o)}})}),{immediate:!0})})),za((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Kr((()=>{var e,t;return null==(t=null==(e=Sb(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=function(){let e=Cr([-1,-1]);return{wasMoved(t){let r=Wb(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=Wb(t)}}}();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(pv.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(pv.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return Kb({ourProps:{id:o,ref:s,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,onMouseenter:g,onPointermove:b,onMousemove:b,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:r,slots:t,name:"ListboxOption"})}}}),Iv=Fn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Cr(!0);return()=>t.value?ri(av,{as:"button",type:"button",features:nv.Focusable,onFocus(r){r.preventDefault();let n,a=50;n=requestAnimationFrame((function r(){var o;if(!(a--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(n)):void(n=requestAnimationFrame(r));n&&cancelAnimationFrame(n)}))}}):null}});var Mv,Lv,Qv=((Lv=Qv||{})[Lv.Forwards=0]="Forwards",Lv[Lv.Backwards=1]="Backwards",Lv),Bv=((Mv=Bv||{})[Mv.Less=-1]="Less",Mv[Mv.Equal=0]="Equal",Mv[Mv.Greater=1]="Greater",Mv);let jv=Symbol("TabsContext");function Uv(e){let t=ba(jv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Uv),t}return t}let Fv=Symbol("TabsSSRContext"),zv=Fn({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){var a;let o=Cr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Cr([]),s=Cr([]),l=ti((()=>null!==e.selectedIndex)),c=ti((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=Fb(d.tabs.value,Sb),n=Fb(d.panels.value,Sb),a=r.filter((e=>{var t;return!(null!=(t=Sb(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=Eb(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>Eb(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=Eb(t,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});-1!==i&&(o.value=i),d.tabs.value=r,d.panels.value=n}else{let i=r.slice(0,e),s=[...r.slice(e),...i].find((e=>a.includes(e)));if(!s)return;let l=null!=(t=r.indexOf(s))?t:d.selectedIndex.value;-1===l&&(l=d.selectedIndex.value),o.value=l,d.tabs.value=r,d.panels.value=n}}let d={selectedIndex:ti((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:ti((()=>e.vertical?"vertical":"horizontal")),activation:ti((()=>e.manual?"manual":"auto")),tabs:i,panels:s,setSelectedIndex(e){c.value!==e&&n("change",e),l.value||u(e)},registerTab(e){var t;if(i.value.includes(e))return;let r=i.value[o.value];if(i.value.push(e),i.value=Fb(i.value,Sb),!l.value){let e=null!=(t=i.value.indexOf(r))?t:o.value;-1!==e&&(o.value=e)}},unregisterTab(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)},registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=Fb(s.value,Sb))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};ga(jv,d);let p=Cr({tabs:[],panels:[]}),h=Cr(!1);Cn((()=>{h.value=!0})),ga(Fv,ti((()=>h.value?null:p.value)));let f=ti((()=>e.selectedIndex));return Cn((()=>{Za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),za((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=Fb(d.tabs.value,Sb);e.some(((e,t)=>Sb(d.tabs.value[t])!==Sb(e)))&&d.setSelectedIndex(e.findIndex((e=>Sb(e)===Sb(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ri(uo,[i.value.length<=0&&ri(Iv,{onFocus:()=>{for(let e of i.value){let t=Sb(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),Kb({theirProps:{...r,...rv(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),qv=Fn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Uv("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return Kb({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),Zv=Fn({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-tab-${_b()}`,i=Uv("Tab"),s=Cr(null);n({el:s,$el:s}),Cn((()=>i.registerTab(s))),Nn((()=>i.unregisterTab(s)));let l=ba(Fv),c=ti((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=ti((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=ti((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===Mb.Success&&"auto"===i.activation.value){let e=null==(t=Pb(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>Sb(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>Sb(e))).filter(Boolean);if(e.key===dv.Space||e.key===dv.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case dv.Home:case dv.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>zb(t,Ib.First)));case dv.End:case dv.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>zb(t,Ib.Last)))}return p((()=>Eb(i.orientation.value,{vertical:()=>e.key===dv.ArrowUp?zb(t,Ib.Previous|Ib.WrapAround):e.key===dv.ArrowDown?zb(t,Ib.Next|Ib.WrapAround):Mb.Error,horizontal:()=>e.key===dv.ArrowLeft?zb(t,Ib.Previous|Ib.WrapAround):e.key===dv.ArrowRight?zb(t,Ib.Next|Ib.WrapAround):Mb.Error})))===Mb.Success?e.preventDefault():void 0}let f=Cr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=Sb(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),function(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=Vb(ti((()=>({as:e.as,type:t.type}))),s);return()=>{var n,a;let l={selected:d.value,disabled:null!=(n=e.disabled)&&n},{...c}=e;return Kb({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=Sb(i.panels.value[u.value]))?void 0:a.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},theirProps:c,slot:l,attrs:t,slots:r,name:"Tab"})}}});function Hv(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Vv(){let e=[],t={addEventListener:(e,r,n,a)=>(e.addEventListener(r,n,a),t.add((()=>e.removeEventListener(r,n,a)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);t.add((()=>cancelAnimationFrame(r)))},nextFrame(...e){t.requestAnimationFrame((()=>{t.requestAnimationFrame(...e)}))},setTimeout(...e){let r=setTimeout(...e);t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return Hv((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},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})}))},group(e){let t=Vv();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}let Wv=Symbol("headlessui.useid"),Xv=0;function Yv(){return ba(Wv,(()=>""+ ++Xv))()}function Gv(e){var t;if(null==e||null==e.value)return null;let r=null!=(t=e.value.$el)?t:e.value;return r instanceof Node?r:null}function Kv(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,Kv),n}var Jv=Object.defineProperty,eO=(e,t,r)=>(((e,t,r)=>{t in e?Jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let tO=new class{constructor(){eO(this,"current",this.detect()),eO(this,"currentId",0)}set(e){this.current!==e&&(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"}};function rO(e){if(tO.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Gv(e);if(t)return t.ownerDocument}return document}let nO=["[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 aO=(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))(aO||{}),oO=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(oO||{}),iO=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(iO||{});function sO(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(nO)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var lO=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(lO||{});function cO(e,t=0){var r;return e!==(null==(r=rO(e))?void 0:r.body)&&Kv(t,{0:()=>e.matches(nO),1(){let t=e;for(;null!==t;){if(t.matches(nO))return!0;t=t.parentElement}return!1}})}function uO(e){let t=rO(e);Kr((()=>{t&&!cO(t.activeElement,0)&&pO(e)}))}var dO=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(dO||{});function pO(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let hO=["textarea","input"].join(",");function fO(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 mO(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:a=[]}={}){var o;let i=null!=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?o:document,s=Array.isArray(e)?r?fO(e):e:sO(e);a.length>0&&s.length>1&&(s=s.filter((e=>!a.includes(e)))),n=null!=n?n:i.activeElement;let l,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=32&t?{preventScroll:!0}:{},p=0,h=s.length;do{if(p>=h||p+h<=0)return 0;let e=u+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}l=s[e],null==l||l.focus(d),p+=c}while(l!==i.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,hO))&&r}(l)&&l.select(),2}function gO(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function bO(e,t,r){tO.isServer||za((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function vO(e,t,r){tO.isServer||za((n=>{window.addEventListener(e,t,r),n((()=>window.removeEventListener(e,t,r)))}))}function OO(e,t,r=ti((()=>!0))){function n(n,a){if(!r.value||n.defaultPrevented)return;let o=a(n);if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:Gv(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!cO(o,lO.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Cr(null);bO("pointerdown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),bO("mousedown",(e=>{var t,n;r.value&&(a.value=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),bO("click",(e=>{gO()||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),bO("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),vO("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function yO(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function wO(e,t){let r=Cr(yO(e.value.type,e.value.as));return Cn((()=>{r.value=yO(e.value.type,e.value.as)})),za((()=>{var e;r.value||Gv(t)&&Gv(t)instanceof HTMLButtonElement&&(null==(e=Gv(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function xO(e){return[e.screenX,e.screenY]}function kO(){let e=Cr([-1,-1]);return{wasMoved(t){let r=xO(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=xO(t)}}}var _O=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(_O||{}),SO=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(SO||{});function EO({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=CO(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?TO(s):1&t?Kv(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>TO({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):TO(s)}function TO({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=PO(e,["unmount","static"]),c=null==(o=r.default)?void 0:o.call(r,n),u={};if(n){let e=!1,t=[];for(let[r,a]of Object.entries(n))"boolean"==typeof a&&(e=!0),!0===a&&t.push(r);e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){if(c=AO(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[e,...r]=null!=c?c:[];if(!function(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}(e)||r.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${a} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).map((e=>e.trim())).filter(((e,t,r)=>r.indexOf(e)===t)).sort(((e,t)=>e.localeCompare(t))).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 "template".',"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 n=CO(null!=(i=e.props)?i:{},l,u),o=Po(e,n,!0);for(let e in n)e.startsWith("on")&&(o.props||(o.props={}),o.props[e]=n[e]);return o}return Array.isArray(c)&&1===c.length?c[0]:c}return ri(s,Object.assign({},l,u),{default:()=>c})}function AO(e){return e.flatMap((e=>e.type===uo?AO(e.children):[e]))}function CO(...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&&t.defaultPrevented)return;e(t,...n)}}});return t}function PO(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var DO=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(DO||{});let RO=Fn({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:r})=>()=>{var n;let{features:a,...o}=e;return EO({ourProps:{"aria-hidden":!(2&~a)||(null!=(n=o["aria-hidden"])?n:void 0),hidden:!(4&~a)||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&~a)&&!!(2&~a)&&{display:"none"}}},theirProps:o,slot:{},attrs:r,slots:t,name:"Hidden"})}}),NO=Symbol("Context");var $O=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))($O||{});function IO(){return ba(NO,null)}function MO(e){ga(NO,e)}var LO=(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))(LO||{});let QO=[];!function(e){function t(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&QO[0]!==e.target&&(QO.unshift(e.target),QO=QO.filter((e=>null!=e&&e.isConnected)),QO.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}();var BO=(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))(BO||{});function jO(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),a=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=a+1;e=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;n{(e=null!=e?e:window).addEventListener(t,r,n),a((()=>e.removeEventListener(t,r,n)))}))}var ZO=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(ZO||{});function HO(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.value){let e=Gv(r);e instanceof HTMLElement&&t.add(e)}return t}var VO=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(VO||{});let WO=Object.assign(Fn({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:Cr(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let a=Cr(null);n({el:a,$el:a});let o=ti((()=>rO(a))),i=Cr(!1);Cn((()=>i.value=!0)),Nn((()=>i.value=!1)),function({ownerDocument:e},t){let r=function(e){let t=Cr(QO.slice());return Za([e],(([e],[r])=>{!0===r&&!1===e?Hv((()=>{t.value.splice(0)})):!1===r&&!0===e&&(t.value=QO.slice())}),{flush:"post"}),()=>{var e;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t);Cn((()=>{za((()=>{var n,a;t.value||(null==(n=e.value)?void 0:n.activeElement)===(null==(a=e.value)?void 0:a.body)&&pO(r())}),{flush:"post"})})),Nn((()=>{t.value&&pO(r())}))}({ownerDocument:o},ti((()=>i.value&&Boolean(16&e.features))));let s=function({ownerDocument:e,container:t,initialFocus:r},n){let a=Cr(null),o=Cr(!1);return Cn((()=>o.value=!0)),Nn((()=>o.value=!1)),Cn((()=>{Za([t,r,n],((i,s)=>{if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!n.value)return;let l=Gv(t);l&&Hv((()=>{var t,n;if(!o.value)return;let i=Gv(r),s=null==(t=e.value)?void 0:t.activeElement;if(i){if(i===s)return void(a.value=s)}else if(l.contains(s))return void(a.value=s);i?pO(i):mO(l,aO.First|aO.NoScroll)===oO.Error&&console.warn("There are no focusable elements inside the "),a.value=null==(n=e.value)?void 0:n.activeElement}))}),{immediate:!0,flush:"post"})})),a}({ownerDocument:o,container:a,initialFocus:ti((()=>e.initialFocus))},ti((()=>i.value&&Boolean(2&e.features))));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){var o;qO(null==(o=e.value)?void 0:o.defaultView,"focus",(e=>{if(!a.value)return;let o=HO(r);Gv(t)instanceof HTMLElement&&o.add(Gv(t));let i=n.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?XO(o,s)?(n.value=s,pO(s)):(e.preventDefault(),e.stopPropagation(),pO(i)):pO(n.value)}),!0)}({ownerDocument:o,container:a,containers:e.containers,previousActiveElement:s},ti((()=>i.value&&Boolean(8&e.features))));let l=function(){let e=Cr(0);return vO("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}();function c(e){let t=Gv(a);t&&Kv(l.value,{[ZO.Forwards]:()=>{mO(t,aO.First,{skipElements:[e.relatedTarget]})},[ZO.Backwards]:()=>{mO(t,aO.Last,{skipElements:[e.relatedTarget]})}})}let u=Cr(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}function p(t){if(!i.value)return;let r=HO(e.containers);Gv(a)instanceof HTMLElement&&r.add(Gv(a));let n=t.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(XO(r,n)||(u.value?mO(Gv(a),Kv(l.value,{[ZO.Forwards]:()=>aO.Next,[ZO.Backwards]:()=>aO.Previous})|aO.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&pO(t.target)))}return()=>{let n={ref:a,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return ri(uo,[Boolean(4&o)&&ri(RO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:DO.Focusable}),EO({ourProps:n,theirProps:{...t,...l},slot:{},attrs:t,slots:r,name:"FocusTrap"}),Boolean(4&o)&&ri(RO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:DO.Focusable})])}}}),{features:VO});function XO(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function YO(){let e;return{before({doc:t}){var r;let n=t.documentElement;e=(null!=(r=t.defaultView)?r:window).innerWidth-n.clientWidth},after({doc:t,d:r}){let n=t.documentElement,a=n.clientWidth-n.offsetWidth,o=e-a;r.style(n,"paddingRight",`${o}px`)}}}function GO(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let KO=function(e,t){let r=new Map,n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...a){let o=t[e].call(r,...a);o&&(r=o,n.forEach((e=>e())))}}}(0,{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:Vv(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:GO(r)},a=[gO()?{before({doc:e,d:t,meta:r}){function n(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=Vv();r.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>r.dispose()))))}let a=null!=(r=window.scrollY)?r:window.pageYOffset,o=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:a}=new URL(r.href),i=e.querySelector(a);i&&!n(i)&&(o=i)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(n(e.target)){let r=e.target;for(;r.parentElement&&n(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;a!==t&&window.scrollTo(0,a),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)}))}))}}:{},YO(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];a.forEach((({before:e})=>null==e?void 0:e(n))),a.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});KO.subscribe((()=>{let e=KO.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&KO.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&KO.dispatch("TEARDOWN",r)}}));let JO=new Map,ey=new Map;function ty(e,t=Cr(!0)){za((r=>{var n;if(!t.value)return;let a=Gv(e);if(!a)return;r((function(){var e;if(!a)return;let t=null!=(e=ey.get(a))?e:1;if(1===t?ey.delete(a):ey.set(a,t-1),1!==t)return;let r=JO.get(a);r&&(null===r["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",r["aria-hidden"]),a.inert=r.inert,JO.delete(a))}));let o=null!=(n=ey.get(a))?n:0;ey.set(a,o+1),0===o&&(JO.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)}))}let ry=Symbol("ForcePortalRootContext"),ny=Fn({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:r})=>(ga(ry,e.force),()=>{let{force:n,...a}=e;return EO({theirProps:a,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})})}),ay=Symbol("StackContext");var oy=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(oy||{});let iy=Symbol("DescriptionContext"),sy=Fn({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r}){var n;let a=null!=(n=e.id)?n:`headlessui-description-${Yv()}`,o=function(){let e=ba(iy,null);if(null===e)throw new Error("Missing parent");return e}();return Cn((()=>Nn(o.register(a)))),()=>{let{name:n="Description",slot:i=Cr({}),props:s={}}=o,{...l}=e;return EO({ourProps:{...Object.entries(s).reduce(((e,[t,r])=>Object.assign(e,{[t]:Nr(r)})),{}),id:a},theirProps:l,slot:i.value,attrs:t,slots:r,name:n})}}});const ly=new WeakMap;function cy(e,t){let r=t(function(e){var t;return null!=(t=ly.get(e))?t:0}(e));return r<=0?ly.delete(e):ly.set(e,r),r}let uy=Fn({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=Cr(null),a=ti((()=>rO(n))),o=ba(ry,!1),i=ba(py,null),s=Cr(!0===o||null==i?function(e){let t=rO(e);if(!t){if(null===e)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let r=t.getElementById("headlessui-portal-root");if(r)return r;let n=t.createElement("div");return n.setAttribute("id","headlessui-portal-root"),t.body.appendChild(n)}(n.value):i.resolveTarget());s.value&&cy(s.value,(e=>e+1));let l=Cr(!1);Cn((()=>{l.value=!0})),za((()=>{o||null!=i&&(s.value=i.resolveTarget())}));let c=ba(dy,null),u=!1,d=Fo();return Za(n,(()=>{if(u||!c)return;let e=Gv(n);e&&(Nn(c.register(e),d),u=!0)})),Nn((()=>{var e,t;let r=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root");!r||s.value!==r||cy(s.value,(e=>e-1))||s.value.children.length>0||null==(t=s.value.parentElement)||t.removeChild(s.value)})),()=>{if(!l.value||null===s.value)return null;let a={ref:n,"data-headlessui-portal":""};return ri(lo,{to:s.value},EO({ourProps:a,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),dy=Symbol("PortalParentContext"),py=Symbol("PortalGroupContext"),hy=Fn({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=hr({resolveTarget:()=>e.target});return ga(py,n),()=>{let{target:n,...a}=e;return EO({theirProps:a,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}});var fy,my=((fy=my||{})[fy.Open=0]="Open",fy[fy.Closed=1]="Closed",fy);let gy=Symbol("DialogContext");function by(e){let t=ba(gy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,by),t}return t}let vy="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Oy=Fn({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:vy},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:r,slots:n,expose:a}){var o,i;let s=null!=(o=e.id)?o:`headlessui-dialog-${Yv()}`,l=Cr(!1);Cn((()=>{l.value=!0}));let c=!1,u=ti((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0,console.warn(`Invalid role [${u}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog"))),d=Cr(0),p=IO(),h=ti((()=>e.open===vy&&null!==p?(p.value&$O.Open)===$O.Open:e.open)),f=Cr(null),m=ti((()=>rO(f)));if(a({el:f,$el:f}),e.open===vy&&null===p)throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof h.value)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${h.value===vy?void 0:e.open}`);let g=ti((()=>l.value&&h.value?0:1)),b=ti((()=>0===g.value)),v=ti((()=>d.value>1)),O=null!==ba(gy,null),[y,w]=function(){let e=ba(dy,null),t=Cr([]);function r(r){let n=t.value.indexOf(r);-1!==n&&t.value.splice(n,1),e&&e.unregister(r)}let n={register:function(n){return t.value.push(n),e&&e.register(n),()=>r(n)},unregister:r,portals:t};return[t,Fn({name:"PortalWrapper",setup:(e,{slots:t})=>(ga(dy,n),()=>{var e;return null==(e=t.default)?void 0:e.call(t)})})]}(),{resolveContainers:x,mainTreeNodeRef:k,MainTreeNode:_}=function({defaultContainers:e=[],portals:t,mainTreeNodeRef:r}={}){let n=Cr(null),a=rO(n);function o(){var r,o,i;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"value"in t&&t.value instanceof HTMLElement&&s.push(t.value));if(null!=t&&t.value)for(let e of t.value)s.push(e);for(let e of null!=(r=null==a?void 0:a.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(Gv(n))||e.contains(null==(i=null==(o=Gv(n))?void 0:o.getRootNode())?void 0:i.host)||s.some((t=>e.contains(t)))||s.push(e));return s}return{resolveContainers:o,contains:e=>o().some((t=>t.contains(e))),mainTreeNodeRef:n,MainTreeNode:()=>null!=r?null:ri(RO,{features:DO.Hidden,ref:n})}}({portals:y,defaultContainers:[ti((()=>{var e;return null!=(e=N.panelRef.value)?e:f.value}))]}),S=ti((()=>v.value?"parent":"leaf")),E=ti((()=>null!==p&&(p.value&$O.Closing)===$O.Closing)),T=ti((()=>!O&&!E.value&&b.value)),A=ti((()=>{var e,t,r;return null!=(r=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&e.contains(Gv(k))&&e instanceof HTMLElement)))?r:null}));ty(A,T);let C=ti((()=>!!v.value||b.value)),P=ti((()=>{var e,t,r;return null!=(r=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(Gv(k))&&e instanceof HTMLElement)))?r:null}));ty(P,C),function({type:e,enabled:t,element:r,onUpdate:n}){let a=ba(ay,(()=>{}));function o(...e){null==n||n(...e),a(...e)}Cn((()=>{Za(t,((t,n)=>{t?o(0,e,r):!0===n&&o(1,e,r)}),{immediate:!0,flush:"sync"})})),Nn((()=>{t.value&&o(1,e,r)})),ga(ay,o)}({type:"Dialog",enabled:ti((()=>0===g.value)),element:f,onUpdate:(e,t)=>{if("Dialog"===t)return Kv(e,{[oy.Add]:()=>d.value+=1,[oy.Remove]:()=>d.value-=1})}});let D=function({slot:e=Cr({}),name:t="Description",props:r={}}={}){let n=Cr([]);return ga(iy,{register:function(e){return n.value.push(e),()=>{let t=n.value.indexOf(e);-1!==t&&n.value.splice(t,1)}},slot:e,name:t,props:r}),ti((()=>n.value.length>0?n.value.join(" "):void 0))}({name:"DialogDescription",slot:ti((()=>({open:h.value})))}),R=Cr(null),N={titleId:R,panelRef:Cr(null),dialogState:g,setTitleId(e){R.value!==e&&(R.value=e)},close(){t("close",!1)}};ga(gy,N);let $=ti((()=>!(!b.value||v.value)));OO(x,((e,t)=>{e.preventDefault(),N.close(),Kr((()=>null==t?void 0:t.focus()))}),$);let I=ti((()=>!(v.value||0!==g.value)));qO(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{I.value&&(e.defaultPrevented||e.key===LO.Escape&&(e.preventDefault(),e.stopPropagation(),N.close()))}));let M=ti((()=>!(E.value||0!==g.value||O)));return function(e,t,r){let n=function(e){let t=Pr(e.getSnapshot());return Nn(e.subscribe((()=>{t.value=e.getSnapshot()}))),t}(KO),a=ti((()=>{let t=e.value?n.value.get(e.value):void 0;return!!t&&t.count>0}));Za([e,t],(([e,t],[n],a)=>{if(!e||!t)return;KO.dispatch("PUSH",e,r);let o=!1;a((()=>{o||(KO.dispatch("POP",null!=n?n:e,r),o=!0)}))}),{immediate:!0})}(m,M,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}})),za((e=>{if(0!==g.value)return;let t=Gv(f);if(!t)return;let r=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&N.close()}}));r.observe(t),e((()=>r.disconnect()))})),()=>{let{open:t,initialFocus:a,...o}=e,i={...r,ref:f,id:s,role:u.value,"aria-modal":0===g.value||void 0,"aria-labelledby":R.value,"aria-describedby":D.value},l={open:0===g.value};return ri(ny,{force:!0},(()=>[ri(uy,(()=>ri(hy,{target:f.value},(()=>ri(ny,{force:!1},(()=>ri(WO,{initialFocus:a,containers:x,features:b.value?Kv(S.value,{parent:WO.features.RestoreFocus,leaf:WO.features.All&~WO.features.FocusLock}):WO.features.None},(()=>ri(w,{},(()=>EO({ourProps:i,theirProps:{...o,...r},slot:l,attrs:r,slots:n,visible:0===g.value,features:_O.RenderStrategy|_O.Static,name:"Dialog"}))))))))))),ri(_)]))}}}),yy=Fn({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-dialog-panel-${Yv()}`,i=by("DialogPanel");function s(e){e.stopPropagation()}return n({el:i.panelRef,$el:i.panelRef}),()=>{let{...n}=e;return EO({ourProps:{id:o,ref:i.panelRef,onClick:s},theirProps:n,slot:{open:0===i.dialogState.value},attrs:t,slots:r,name:"DialogPanel"})}}}),wy=Fn({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r}){var n;let a=null!=(n=e.id)?n:`headlessui-dialog-title-${Yv()}`,o=by("DialogTitle");return Cn((()=>{o.setTitleId(a),Nn((()=>o.setTitleId(null)))})),()=>{let{...n}=e;return EO({ourProps:{id:a},theirProps:n,slot:{open:0===o.dialogState.value},attrs:t,slots:r,name:"DialogTitle"})}}}),xy=sy;var ky=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ky||{});let _y=Symbol("DisclosureContext");function Sy(e){let t=ba(_y,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Sy),t}return t}let Ey=Symbol("DisclosurePanelContext"),Ty=Fn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Cr(e.defaultOpen?0:1),a=Cr(null),o=Cr(null),i={buttonId:Cr(`headlessui-disclosure-button-${Yv()}`),panelId:Cr(`headlessui-disclosure-panel-${Yv()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=Kv(n.value,{0:1,1:0})},closeDisclosure(){1!==n.value&&(n.value=1)},close(e){i.closeDisclosure();let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?Gv(e):Gv(i.button):Gv(i.button);null==t||t.focus()}};return ga(_y,i),MO(ti((()=>Kv(n.value,{0:$O.Open,1:$O.Closed})))),()=>{let{defaultOpen:a,...o}=e;return EO({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),Ay=Fn({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=Sy("DisclosureButton"),o=ba(Ey,null),i=ti((()=>null!==o&&o.value===a.panelId.value));Cn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Nn((()=>{i.value||(a.buttonId.value=null)}));let s=Cr(null);n({el:s,$el:s}),i.value||za((()=>{a.button.value=s.value}));let l=wO(ti((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=Gv(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case LO.Space:case LO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=Gv(a.button))||r.focus()}else switch(t.key){case LO.Space:case LO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===LO.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return EO({ourProps:i.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(n=a.buttonId.value)?n:p,ref:s,type:l.value,"aria-expanded":0===a.disclosureState.value,"aria-controls":0===a.disclosureState.value||Gv(a.panel)?a.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,slot:o,attrs:t,slots:r,name:"DisclosureButton"})}}}),Cy=Fn({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){let a=Sy("DisclosurePanel");Cn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Nn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),ga(Ey,a.panelId);let o=IO(),i=ti((()=>null!==o?(o.value&$O.Open)===$O.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return EO({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:_O.RenderStrategy|_O.Static,visible:i.value,name:"DisclosurePanel"})}}}),Py=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Dy(e){var t,r;let n=null!=(t=e.innerText)?t:"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return n;let o=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),o=!0;let i=o?null!=(r=a.innerText)?r:"":n;return Py.test(i)&&(i=i.replace(Py,"")),i}function Ry(e){let t=Cr(""),r=Cr("");return()=>{let n=Gv(e);if(!n)return"";let a=n.innerText;if(t.value===a)return r.value;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():Dy(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Dy(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}function Ny(e,t){return e===t}var $y=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))($y||{}),Iy=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Iy||{}),My=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(My||{});let Ly=Symbol("ListboxContext");function Qy(e){let t=ba(Ly,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Qy),t}return t}let By=Fn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Ny},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){let a=Cr(1),o=Cr(null),i=Cr(null),s=Cr(null),l=Cr([]),c=Cr(""),u=Cr(null),d=Cr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=fO(e(l.value.slice()),(e=>Gv(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=ti((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Cr(null==r?void 0:r.value),a=ti((()=>void 0!==e.value));return[ti((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(ti((()=>e.modelValue)),(e=>n("update:modelValue",e)),ti((()=>e.defaultValue))),g=ti((()=>void 0===f.value?Kv(h.value,{1:[],0:void 0}):f.value)),b={listboxState:a,value:g,mode:h,compare(t,r){if("string"==typeof e.by){let n=e.by;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e.by(t,r)},orientation:ti((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:ti((()=>e.disabled)),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||1!==a.value&&(a.value=1,u.value=null)},openListbox(){e.disabled||0!==a.value&&(a.value=0)},goToOption(t,r,n){if(e.disabled||1===a.value)return;let o=p(),i=jO(t===BO.Specific?{focus:BO.Specific,id:r}:{focus:t},{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});c.value="",u.value=i,d.value=null!=n?n:1,l.value=o.options},search(t){if(e.disabled||1===a.value)return;let r=""!==c.value?0:1;c.value+=t.toLowerCase();let n=(null!==u.value?l.value.slice(u.value+r).concat(l.value.slice(0,u.value+r)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),o=n?l.value.indexOf(n):-1;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){e.disabled||1!==a.value&&""!==c.value&&(c.value="")},registerOption(e,t){let r=p((r=>[...r,{id:e,dataRef:t}]));l.value=r.options,u.value=r.activeOptionIndex},unregisterOption(e){let t=p((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||m(t)},select(t){e.disabled||m(Kv(h.value,{0:()=>t,1:()=>{let e=xr(b.value.value).slice(),r=xr(t),n=e.findIndex((e=>b.compare(r,xr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};OO([i,s],((e,t)=>{var r;b.closeListbox(),cO(t,lO.Loose)||(e.preventDefault(),null==(r=Gv(i))||r.focus())}),ti((()=>0===a.value))),ga(Ly,b),MO(ti((()=>Kv(a.value,{0:$O.Open,1:$O.Closed}))));let v=ti((()=>{var e;return null==(e=Gv(i))?void 0:e.closest("form")}));return Cn((()=>{Za([v],(()=>{if(v.value&&void 0!==e.defaultValue)return v.value.addEventListener("reset",t),()=>{var e;null==(e=v.value)||e.removeEventListener("reset",t)};function t(){b.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{let{name:n,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===a.value,disabled:i,value:g.value};return ri(uo,[...null!=n&&null!=g.value?UO({[n]:g.value}).map((([e,t])=>ri(RO,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:DO.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],EO({ourProps:{},theirProps:{...r,...PO(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),jy=Fn({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-button-${Yv()}`,i=Qy("ListboxButton");function s(e){switch(e.key){case LO.Space:case LO.Enter:case LO.ArrowDown:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Gv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(BO.First)}));break;case LO.ArrowUp:e.preventDefault(),i.openListbox(),Kr((()=>{var e;null==(e=Gv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(BO.Last)}))}}function l(e){e.key===LO.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Gv(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=wO(ti((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n,a;let d={open:0===i.listboxState.value,disabled:i.disabled.value,value:i.value.value},{...p}=e;return EO({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=Gv(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=Gv(i.labelRef))?void 0:a.id,o].join(" "):void 0,disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},theirProps:p,slot:d,attrs:t,slots:r,name:"ListboxButton"})}}}),Uy=Fn({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-options-${Yv()}`,i=Qy("ListboxOptions"),s=Cr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case LO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case LO.Enter:if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case Kv(i.orientation.value,{vertical:LO.ArrowDown,horizontal:LO.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.Next);case Kv(i.orientation.value,{vertical:LO.ArrowUp,horizontal:LO.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.Previous);case LO.Home:case LO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.First);case LO.End:case LO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(BO.Last);case LO.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case LO.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}n({el:i.optionsRef,$el:i.optionsRef});let c=IO(),u=ti((()=>null!==c?(c.value&$O.Open)===$O.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return EO({ourProps:{"aria-activedescendant":null===i.activeOptionIndex.value||null==(n=i.options.value[i.activeOptionIndex.value])?void 0:n.id,"aria-multiselectable":1===i.mode.value||void 0,"aria-labelledby":null==(a=Gv(i.buttonRef))?void 0:a.id,"aria-orientation":i.orientation.value,id:o,onKeydown:l,role:"listbox",tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:r,features:_O.RenderStrategy|_O.Static,visible:u.value,name:"ListboxOptions"})}}}),Fy=Fn({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-listbox-option-${Yv()}`,i=Qy("ListboxOption"),s=Cr(null);n({el:s,$el:s});let l=ti((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=ti((()=>Kv(i.mode.value,{0:()=>i.compare(xr(i.value.value),xr(e.value)),1:()=>xr(i.value.value).some((t=>i.compare(xr(t),xr(e.value))))}))),u=ti((()=>Kv(i.mode.value,{1:()=>{var e;let t=xr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(xr(t),xr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=Ry(s),p=ti((()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:s})));function h(t){if(e.disabled)return t.preventDefault();i.select(e.value),0===i.mode.value&&(i.closeListbox(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(BO.Nothing);i.goToOption(BO.Specific,o)}Cn((()=>i.registerOption(o,p))),Nn((()=>i.unregisterOption(o))),Cn((()=>{Za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&Kv(i.mode.value,{1:()=>{u.value&&i.goToOption(BO.Specific,o)},0:()=>{i.goToOption(BO.Specific,o)}})}),{immediate:!0})})),za((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Kr((()=>{var e,t;return null==(t=null==(e=Gv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=kO();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(BO.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(BO.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return EO({ourProps:{id:o,ref:s,role:"option",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,onMouseenter:g,onPointermove:b,onMousemove:b,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:r,slots:t,name:"ListboxOption"})}}});var zy=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(zy||{}),qy=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(qy||{});let Zy=Symbol("MenuContext");function Hy(e){let t=ba(Zy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Hy),t}return t}let Vy=Fn({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:r}){let n=Cr(1),a=Cr(null),o=Cr(null),i=Cr([]),s=Cr(""),l=Cr(null),c=Cr(1);function u(e=(e=>e)){let t=null!==l.value?i.value[l.value]:null,r=fO(e(i.value.slice()),(e=>Gv(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{items:r,activeItemIndex:n}}let d={menuState:n,buttonRef:a,itemsRef:o,items:i,searchQuery:s,activeItemIndex:l,activationTrigger:c,closeMenu:()=>{n.value=1,l.value=null},openMenu:()=>n.value=0,goToItem(e,t,r){let n=u(),a=jO(e===BO.Specific?{focus:BO.Specific,id:t}:{focus:e},{resolveItems:()=>n.items,resolveActiveIndex:()=>n.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value="",l.value=a,c.value=null!=r?r:1,i.value=n.items},search(e){let t=""!==s.value?0:1;s.value+=e.toLowerCase();let r=(null!==l.value?i.value.slice(l.value+t).concat(i.value.slice(0,l.value+t)):i.value).find((e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled)),n=r?i.value.indexOf(r):-1;-1===n||n===l.value||(l.value=n,c.value=1)},clearSearch(){s.value=""},registerItem(e,t){let r=u((r=>[...r,{id:e,dataRef:t}]));i.value=r.items,l.value=r.activeItemIndex,c.value=1},unregisterItem(e){let t=u((t=>{let r=t.findIndex((t=>t.id===e));return-1!==r&&t.splice(r,1),t}));i.value=t.items,l.value=t.activeItemIndex,c.value=1}};return OO([a,o],((e,t)=>{var r;d.closeMenu(),cO(t,lO.Loose)||(e.preventDefault(),null==(r=Gv(a))||r.focus())}),ti((()=>0===n.value))),ga(Zy,d),MO(ti((()=>Kv(n.value,{0:$O.Open,1:$O.Closed})))),()=>{let a={open:0===n.value,close:d.closeMenu};return EO({ourProps:{},theirProps:e,slot:a,slots:t,attrs:r,name:"Menu"})}}}),Wy=Fn({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-button-${Yv()}`,i=Hy("MenuButton");function s(e){switch(e.key){case LO.Space:case LO.Enter:case LO.ArrowDown:e.preventDefault(),e.stopPropagation(),i.openMenu(),Kr((()=>{var e;null==(e=Gv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(BO.First)}));break;case LO.ArrowUp:e.preventDefault(),e.stopPropagation(),i.openMenu(),Kr((()=>{var e;null==(e=Gv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(BO.Last)}))}}function l(e){e.key===LO.Space&&e.preventDefault()}function c(t){e.disabled||(0===i.menuState.value?(i.closeMenu(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),i.openMenu(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Gv(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=wO(ti((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n;let a={open:0===i.menuState.value},{...d}=e;return EO({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"menu","aria-controls":null==(n=Gv(i.itemsRef))?void 0:n.id,"aria-expanded":0===i.menuState.value,onKeydown:s,onKeyup:l,onClick:c},theirProps:d,slot:a,attrs:t,slots:r,name:"MenuButton"})}}}),Xy=Fn({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-items-${Yv()}`,i=Hy("MenuItems"),s=Cr(null);function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case LO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case LO.Enter:e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value&&(null==(t=Gv(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()),i.closeMenu(),uO(Gv(i.buttonRef));break;case LO.ArrowDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.Next);case LO.ArrowUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.Previous);case LO.Home:case LO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.First);case LO.End:case LO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(BO.Last);case LO.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Kr((()=>{var e;return null==(e=Gv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case LO.Tab:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Kr((()=>function(e,t){return mO(sO(),t,{relativeTo:e})}(Gv(i.buttonRef),e.shiftKey?aO.Previous:aO.Next)));break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){e.key===LO.Space&&e.preventDefault()}n({el:i.itemsRef,$el:i.itemsRef}),function({container:e,accept:t,walk:r,enabled:n}){za((()=>{let a=e.value;if(!a||void 0!==n&&!n.value)return;let o=rO(e);if(!o)return;let i=Object.assign((e=>t(e)),{acceptNode:t}),s=o.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)r(s.currentNode)}))}({container:ti((()=>Gv(i.itemsRef))),enabled:ti((()=>0===i.menuState.value)),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 u=IO(),d=ti((()=>null!==u?(u.value&$O.Open)===$O.Open:0===i.menuState.value));return()=>{var n,a;let s={open:0===i.menuState.value},{...u}=e;return EO({ourProps:{"aria-activedescendant":null===i.activeItemIndex.value||null==(n=i.items.value[i.activeItemIndex.value])?void 0:n.id,"aria-labelledby":null==(a=Gv(i.buttonRef))?void 0:a.id,id:o,onKeydown:l,onKeyup:c,role:"menu",tabIndex:0,ref:i.itemsRef},theirProps:u,slot:s,attrs:t,slots:r,features:_O.RenderStrategy|_O.Static,visible:d.value,name:"MenuItems"})}}}),Yy=Fn({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-menu-item-${Yv()}`,i=Hy("MenuItem"),s=Cr(null);n({el:s,$el:s});let l=ti((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===o)),c=Ry(s),u=ti((()=>({disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){if(e.disabled)return t.preventDefault();i.closeMenu(),uO(Gv(i.buttonRef))}function p(){if(e.disabled)return i.goToItem(BO.Nothing);i.goToItem(BO.Specific,o)}Cn((()=>i.registerItem(o,u))),Nn((()=>i.unregisterItem(o))),za((()=>{0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&Kr((()=>{var e,t;return null==(t=null==(e=Gv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let h=kO();function f(e){h.update(e)}function m(t){h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(BO.Specific,o,0))}function g(t){h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(BO.Nothing))}return()=>{let{disabled:n,...a}=e,c={active:l.value,disabled:n,close:i.closeMenu};return EO({ourProps:{id:o,ref:s,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,onClick:d,onFocus:p,onPointerenter:f,onMouseenter:f,onPointermove:m,onMousemove:m,onPointerleave:g,onMouseleave:g},theirProps:{...r,...a},slot:c,attrs:r,slots:t,name:"MenuItem"})}}}),Gy=Fn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Cr(!0);return()=>t.value?ri(RO,{as:"button",type:"button",features:DO.Focusable,onFocus(r){r.preventDefault();let n,a=50;n=requestAnimationFrame((function r(){var o;if(!(a--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(n)):void(n=requestAnimationFrame(r));n&&cancelAnimationFrame(n)}))}}):null}});var Ky=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Ky||{}),Jy=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Jy||{});let ew=Symbol("TabsContext");function tw(e){let t=ba(ew,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,tw),t}return t}let rw=Symbol("TabsSSRContext"),nw=Fn({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:r,emit:n}){var a;let o=Cr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Cr([]),s=Cr([]),l=ti((()=>null!==e.selectedIndex)),c=ti((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=fO(d.tabs.value,Gv),n=fO(d.panels.value,Gv),a=r.filter((e=>{var t;return!(null!=(t=Gv(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=Kv(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>Kv(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=Kv(t,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});-1!==i&&(o.value=i),d.tabs.value=r,d.panels.value=n}else{let i=r.slice(0,e),s=[...r.slice(e),...i].find((e=>a.includes(e)));if(!s)return;let l=null!=(t=r.indexOf(s))?t:d.selectedIndex.value;-1===l&&(l=d.selectedIndex.value),o.value=l,d.tabs.value=r,d.panels.value=n}}let d={selectedIndex:ti((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:ti((()=>e.vertical?"vertical":"horizontal")),activation:ti((()=>e.manual?"manual":"auto")),tabs:i,panels:s,setSelectedIndex(e){c.value!==e&&n("change",e),l.value||u(e)},registerTab(e){var t;if(i.value.includes(e))return;let r=i.value[o.value];if(i.value.push(e),i.value=fO(i.value,Gv),!l.value){let e=null!=(t=i.value.indexOf(r))?t:o.value;-1!==e&&(o.value=e)}},unregisterTab(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)},registerPanel(e){s.value.includes(e)||(s.value.push(e),s.value=fO(s.value,Gv))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};ga(ew,d);let p=Cr({tabs:[],panels:[]}),h=Cr(!1);Cn((()=>{h.value=!0})),ga(rw,ti((()=>h.value?null:p.value)));let f=ti((()=>e.selectedIndex));return Cn((()=>{Za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),za((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=fO(d.tabs.value,Gv);e.some(((e,t)=>Gv(d.tabs.value[t])!==Gv(e)))&&d.setSelectedIndex(e.findIndex((e=>Gv(e)===Gv(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ri(uo,[i.value.length<=0&&ri(Gy,{onFocus:()=>{for(let e of i.value){let t=Gv(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),EO({theirProps:{...r,...PO(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),aw=Fn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=tw("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return EO({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),ow=Fn({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-tab-${Yv()}`,i=tw("Tab"),s=Cr(null);n({el:s,$el:s}),Cn((()=>i.registerTab(s))),Nn((()=>i.unregisterTab(s)));let l=ba(rw),c=ti((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=ti((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=ti((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===oO.Success&&"auto"===i.activation.value){let e=null==(t=rO(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>Gv(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>Gv(e))).filter(Boolean);if(e.key===LO.Space||e.key===LO.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case LO.Home:case LO.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>mO(t,aO.First)));case LO.End:case LO.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>mO(t,aO.Last)))}return p((()=>Kv(i.orientation.value,{vertical:()=>e.key===LO.ArrowUp?mO(t,aO.Previous|aO.WrapAround):e.key===LO.ArrowDown?mO(t,aO.Next|aO.WrapAround):oO.Error,horizontal:()=>e.key===LO.ArrowLeft?mO(t,aO.Previous|aO.WrapAround):e.key===LO.ArrowRight?mO(t,aO.Next|aO.WrapAround):oO.Error})))===oO.Success?e.preventDefault():void 0}let f=Cr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=Gv(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),Hv((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=wO(ti((()=>({as:e.as,type:t.type}))),s);return()=>{var n,a;let l={selected:d.value,disabled:null!=(n=e.disabled)&&n},{...c}=e;return EO({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=Gv(i.panels.value[u.value]))?void 0:a.id,"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},theirProps:c,slot:l,attrs:t,slots:r,name:"Tab"})}}}),iw=Fn({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=tw("TabPanels");return()=>{let a={selectedIndex:n.selectedIndex.value};return EO({theirProps:e,ourProps:{},slot:a,attrs:r,slots:t,name:"TabPanels"})}}}),sw=Fn({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:r,expose:n}){var a;let o=null!=(a=e.id)?a:`headlessui-tabs-panel-${Yv()}`,i=tw("TabPanel"),s=Cr(null);n({el:s,$el:s}),Cn((()=>i.registerPanel(s))),Nn((()=>i.unregisterPanel(s)));let l=ba(rw),c=ti((()=>{if(l.value){let e=l.value.panels.indexOf(o);return-1===e?l.value.panels.push(o)-1:e}return-1})),u=ti((()=>{let e=i.panels.value.indexOf(s);return-1===e?c.value:e})),d=ti((()=>u.value===i.selectedIndex.value));return()=>{var n;let a={selected:d.value},{tabIndex:l,...c}=e,p={ref:s,id:o,role:"tabpanel","aria-labelledby":null==(n=Gv(i.tabs.value[u.value]))?void 0:n.id,tabIndex:d.value?l:-1};return d.value||!e.unmount||e.static?EO({ourProps:p,theirProps:c,slot:a,attrs:t,slots:r,features:_O.Static|_O.RenderStrategy,visible:d.value,name:"TabPanel"}):ri(RO,{as:"span","aria-hidden":!0,...p})}}});function lw(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t"boolean"==typeof e?"".concat(e):0===e?"0":e,dw=e=>{const t=function(){for(var t=arguments.length,r=new Array(t),n=0;n{const n=Object.fromEntries(Object.entries(e||{}).filter((e=>{let[t]=e;return!["class","className"].includes(t)})));return t(r.map((e=>e(n))),null==e?void 0:e.class,null==e?void 0:e.className)}},cva:e=>r=>{var n;if(null==(null==e?void 0:e.variants))return t(null==e?void 0:e.base,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:a,defaultVariants:o}=e,i=Object.keys(a).map((e=>{const t=null==r?void 0:r[e],n=null==o?void 0:o[e],i=uw(t)||uw(n);return a[e][i]})),s={...o,...r&&Object.entries(r).reduce(((e,t)=>{let[r,n]=t;return void 0===n?e:{...e,[r]:n}}),{})},l=null==e||null===(n=e.compoundVariants)||void 0===n?void 0:n.reduce(((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every((e=>{let[t,r]=e;const n=s[t];return Array.isArray(r)?r.includes(n):n===r}))?[...e,r,n]:e}),[]);return t(null==e?void 0:e.base,i,l,null==r?void 0:r.class,null==r?void 0:r.className)},cx:t}},{compose:pw,cva:hw,cx:fw}=dw(),mw="-";function gw(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},a=function(e,t){return t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e}(Object.entries(e.classGroups),r);return a.forEach((([e,r])=>{Ow(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(mw);return""===r[0]&&1!==r.length&&r.shift(),bw(r,t)||function(e){if(vw.test(e)){const t=vw.exec(e)[1],r=null==t?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const a=r[e]||[];return t&&n[e]?[...a,...n[e]]:a}}}function bw(e,t){var r;if(0===e.length)return t.classGroupId;const n=e[0],a=t.nextPart.get(n),o=a?bw(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(mw);return null==(r=t.validators.find((({validator:e})=>e(i))))?void 0:r.classGroupId}const vw=/^\[(.+)\]$/;function Ow(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void Ow(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{Ow(a,yw(t,e),r,n)}))}else(""===e?t:yw(t,e)).classGroupId=r}))}function yw(e,t){let r=e;return t.split(mw).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function ww(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function a(a,o){r.set(a,o),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(a(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):a(e,t)}}}const xw="!";function kw(e){const t=e.separator,r=1===t.length,n=t[0],a=t.length;return function(e){const o=[];let i,s=0,l=0;for(let c=0;cl?i-l:void 0}}}const _w=/\s+/;function Sw(){let e,t,r=0,n="";for(;rt(e)),e());return r=function(e){return{cache:ww(e.cacheSize),splitModifiers:kw(e),...gw(e)}}(l),n=r.cache.get,a=r.cache.set,o=i,i(s)};function i(e){const t=n(e);if(t)return t;const o=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=new Set;return e.trim().split(_w).map((e=>{const{modifiers:t,hasImportantModifier:a,baseClassName:o,maybePostfixModifierPosition:i}=r(e);let s=n(i?o.substring(0,i):o),l=Boolean(i);if(!s){if(!i)return{isTailwindClass:!1,originalClassName:e};if(s=n(o),!s)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:a?c+xw:c,classGroupId:s,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,i=t+r;return!o.has(i)&&(o.add(i),a(r,n).forEach((e=>o.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return a(e,o),o}return function(){return o(Sw.apply(null,arguments))}}function Aw(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Cw=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pw=/^\d+\/\d+$/,Dw=new Set(["px","full","screen"]),Rw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nw=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$w=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Iw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Lw(e){return Bw(e)||Dw.has(e)||Pw.test(e)}function Qw(e){return Kw(e,"length",Jw)}function Bw(e){return Boolean(e)&&!Number.isNaN(Number(e))}function jw(e){return Kw(e,"number",Bw)}function Uw(e){return Boolean(e)&&Number.isInteger(Number(e))}function Fw(e){return e.endsWith("%")&&Bw(e.slice(0,-1))}function zw(e){return Cw.test(e)}function qw(e){return Rw.test(e)}const Zw=new Set(["length","size","percentage"]);function Hw(e){return Kw(e,Zw,ex)}function Vw(e){return Kw(e,"position",ex)}const Ww=new Set(["image","url"]);function Xw(e){return Kw(e,Ww,rx)}function Yw(e){return Kw(e,"",tx)}function Gw(){return!0}function Kw(e,t,r){const n=Cw.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Jw(e){return Nw.test(e)&&!$w.test(e)}function ex(){return!1}function tx(e){return Iw.test(e)}function rx(e){return Mw.test(e)}function nx(){const e=Aw("colors"),t=Aw("spacing"),r=Aw("blur"),n=Aw("brightness"),a=Aw("borderColor"),o=Aw("borderRadius"),i=Aw("borderSpacing"),s=Aw("borderWidth"),l=Aw("contrast"),c=Aw("grayscale"),u=Aw("hueRotate"),d=Aw("invert"),p=Aw("gap"),h=Aw("gradientColorStops"),f=Aw("gradientColorStopPositions"),m=Aw("inset"),g=Aw("margin"),b=Aw("opacity"),v=Aw("padding"),O=Aw("saturate"),y=Aw("scale"),w=Aw("sepia"),x=Aw("skew"),k=Aw("space"),_=Aw("translate"),S=()=>["auto",zw,t],E=()=>[zw,t],T=()=>["",Lw,Qw],A=()=>["auto",Bw,zw],C=()=>["","0",zw],P=()=>[Bw,jw],D=()=>[Bw,zw];return{cacheSize:500,separator:":",theme:{colors:[Gw],spacing:[Lw,Qw],blur:["none","",qw,zw],brightness:P(),borderColor:[e],borderRadius:["none","","full",qw,zw],borderSpacing:E(),borderWidth:T(),contrast:P(),grayscale:C(),hueRotate:D(),invert:C(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[Fw,Qw],inset:S(),margin:S(),opacity:P(),padding:E(),saturate:P(),scale:P(),sepia:C(),skew:D(),space:E(),translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",zw]}],container:["container"],columns:[{columns:[qw]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",zw]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Uw,zw]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",zw]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",Uw,zw]}],"grid-cols":[{"grid-cols":[Gw]}],"col-start-end":[{col:["auto",{span:["full",Uw,zw]},zw]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Gw]}],"row-start-end":[{row:["auto",{span:[Uw,zw]},zw]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",zw]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",zw]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",zw,t]}],"min-w":[{"min-w":[zw,t,"min","max","fit"]}],"max-w":[{"max-w":[zw,t,"none","full","min","max","fit","prose",{screen:[qw]},qw]}],h:[{h:[zw,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[zw,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[zw,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[zw,t,"auto","min","max","fit"]}],"font-size":[{text:["base",qw,Qw]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",jw]}],"font-family":[{font:[Gw]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",zw]}],"line-clamp":[{"line-clamp":["none",Bw,jw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Lw,zw]}],"list-image":[{"list-image":["none",zw]}],"list-style-type":[{list:["none","disc","decimal",zw]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Lw,Qw]}],"underline-offset":[{"underline-offset":["auto",Lw,zw]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",zw]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",zw]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Vw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Hw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Xw]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[Lw,zw]}],"outline-w":[{outline:[Lw,Qw]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Lw,Qw]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",qw,Yw]}],"shadow-color":[{shadow:[Gw]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",qw,zw]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",zw]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",zw]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",zw]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[Uw,zw]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",zw]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",zw]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",zw]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Lw,Qw,jw]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}function ax(e,t,r){void 0!==r&&(e[t]=r)}function ox(e,t){if(t)for(const r in t)ax(e,r,t[r])}function ix(e,t){if(t)for(const r in t){const n=t[r];void 0!==n&&(e[r]=(e[r]||[]).concat(n))}}const sx=function(e,...t){return"function"==typeof e?Tw(nx,e,...t):Tw((()=>function(e,{cacheSize:t,prefix:r,separator:n,extend:a={},override:o={}}){ax(e,"cacheSize",t),ax(e,"prefix",r),ax(e,"separator",n);for(const t in o)ox(e[t],o[t]);for(const t in a)ix(e[t],a[t]);return e}(nx(),e)),...t)}({extend:{classGroups:{"font-size":["text-xxs"]}}}),{cva:lx,cx:cx,compose:ux}=dw({hooks:{onComplete:e=>sx(e)}}),dx=()=>hr({open:!1,show(){this.open=!0},hide(){this.open=!1}}),px=Fn({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},setup(e){const t=lx({base:["scalar-modal","col relative mx-auto mb-0 mt-20 w-full rounded-lg bg-b-2 p-0 text-left leading-snug text-c-1 opacity-0"].join(" "),variants:{size:{xs:"max-w-screen-xs",sm:"max-w-screen-sm",md:"max-w-screen-md",lg:"max-w-screen-lg",full:"mt-0 overflow-hidden"},variant:{history:"scalar-modal-history bg-b-1",search:"scalar-modal-search"}}}),r=lx({base:["scalar-modal-body","relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-b-1 px-6 pb-4 pt-6"].join(" "),variants:{variant:{history:"pt-3",search:"col max-h-[440px] overflow-hidden p-0"}}});return(e,n)=>(bo(),xo(Nr(Oy),{open:e.state.open,onClose:n[0]||(n[0]=t=>e.state.hide())},{default:mn((()=>[To("div",{class:Ge(Nr(cx)("scalar-modal-layout fixed left-0 top-0 flex items-center justify-center","z-[1001] h-[100dvh] w-[100dvw]","bg-backdrop opacity-0","full"===e.size&&"flex"))},[Ao(Nr(yy),{class:Ge(Nr(t)({size:e.size,variant:e.variant})),style:He({maxWidth:e.maxWidth})},{default:mn((()=>[e.title?(bo(),xo(Nr(wy),{key:0,class:Ge(["scalar-modal-header font-semiBold m-0 rounded-lg px-6 py-3 text-left text-xs text-c-1",{"pb-0 pt-6":"history"===e.variant}])},{default:mn((()=>[Do(nt(e.title),1)])),_:1},8,["class"])):No("",!0),"full"===e.size?(bo(),wo("div",{key:1,class:Ge(e.bodyClass)},[Zn(e.$slots,"default",{},void 0,!0)],2)):(bo(),xo(Nr(xy),{key:2,class:Ge(Nr(cx)(e.bodyClass,Nr(r)({variant:e.variant})))},{default:mn((()=>[Zn(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))])),_:3},8,["class","style"])],2)])),_:3},8,["open"]))}}),hx=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},fx=hx(px,[["__scopeId","data-v-b9af10e0"]]),mx={solid:["scalar-button-solid","bg-b-btn text-c-btn shadow-sm active:bg-b-btn active:shadow-none hocus:bg-h-btn"],outlined:["scalar-button-outlined","active:bg-btn-1 border border-solid border-border bg-transparent text-c-1 hocus:bg-border"],ghost:["scalar-button-ghost","bg-transparent text-c-3 transition-colors active:text-c-1 hocus:text-c-1"],danger:["scalar-button-danger","bg-error text-white active:brightness-90 hocus:brightness-90"]},gx=lx({base:"scalar-button scalar-row cursor-pointer items-center justify-center rounded font-medium",variants:{disabled:{true:"bg-background-2 text-color-3 cursor-not-allowed shadow-none"},fullWidth:{true:"w-full"},size:{sm:"px-2 py-1 text-xs",md:"h-10 px-6 text-sm"},variant:mx},compoundVariants:[{disabled:!0,variant:"ghost",class:"text-ghost bg-transparent"}]}),bx=Ro('',5),vx={key:0,class:"circular-loader"},Ox=hx(Fn({__name:"ScalarLoading",props:{loadingState:{},size:{default:"24px"}},setup:e=>(hi((e=>({d6cae758:e.size}))),(e,t)=>e.loadingState?(bo(),wo("div",{key:0,class:Ge(Nr(cx)("loader-wrapper"))},[(bo(),wo("svg",{class:Ge(["svg-loader",{"icon-is-valid":e.loadingState.isValid,"icon-is-invalid":e.loadingState.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[bx,e.loadingState.isLoading?(bo(),wo("g",vx,[To("circle",{class:Ge(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"2"},null,2)])):No("",!0)],2))],2)):No("",!0))}),[["__scopeId","data-v-47faceda"]]),yx=["ariaDisabled","type"],wx={key:3,class:"centered-x absolute"},xx=Fn({inheritAttrs:!1,__name:"ScalarButton",props:{disabled:{type:Boolean},fullWidth:{type:Boolean,default:!1},loading:{},size:{default:"md"},variant:{default:"solid"},type:{default:"button"}},setup(e){const t=ti((()=>{const{class:e,...t}=Kn();return{class:e||"",rest:t}}));return(e,r)=>{var n,a,o,i;return bo(),wo("button",Lo(t.value.rest,{ariaDisabled:e.disabled||void 0,class:Nr(cx)(Nr(gx)({fullWidth:e.fullWidth,disabled:e.disabled,size:e.size,variant:e.variant}),{relative:null==(n=e.loading)?void 0:n.isLoading},`${t.value.class}`),type:e.type}),[e.$slots.icon?(bo(),wo("div",{key:0,class:Ge(["mr-2 h-4 w-4",{invisible:null==(a=e.loading)?void 0:a.isLoading}])},[Zn(e.$slots,"icon")],2)):No("",!0),e.loading?(bo(),wo("span",{key:1,class:Ge({invisible:null==(o=e.loading)?void 0:o.isLoading})},[Zn(e.$slots,"default")],2)):Zn(e.$slots,"default",{key:2}),null!=(i=e.loading)&&i.isLoading?(bo(),wo("div",wx,[Ao(Nr(Ox),{loadingState:e.loading,size:"12px"},null,8,["loadingState"])])):No("",!0)],16,yx)}}}),kx={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},_x=function(e){if(null==e)return Ex;if("function"==typeof e)return Sx(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++rl&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}function Fx(e,t,r){return"element"===e.type?function(e,t,r){const n=Zx(e,r),a=e.children||[];let o,i,s=-1,l=[];if(Bx(e))return l;for(Ix(e)||Qx(e)&&Tx(t,e,Qx)?i="\n":Lx(e)?(o=2,i=2):jx(e)&&(o=1,i=1);++stk(e,t,r-1)))}const rk="[A-Za-z$_][0-9A-Za-z$_]*",nk=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],ak=["true","false","null","undefined","NaN","Infinity"],ok=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ik=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sk=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],lk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ck=[].concat(sk,ok,ik);var uk="[0-9](_*[0-9])*",dk=`\\.(${uk})`,pk="[0-9a-fA-F](_*[0-9a-fA-F])*",hk={className:"number",variants:[{begin:`(\\b(${uk})((${dk})|\\.)?|(${dk}))[eE][+-]?(${uk})[fFdD]?\\b`},{begin:`\\b(${uk})((${dk})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${dk})[fFdD]?\\b`},{begin:`\\b(${uk})[fFdD]\\b`},{begin:`\\b0[xX]((${pk})\\.?|(${pk})?\\.(${pk}))[pP][+-]?(${uk})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${pk})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const fk=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],mk=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],gk=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],bk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],vk=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),Ok=gk.concat(bk),yk=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],wk=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],xk=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],kk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],_k=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function Sk(e){return e?"string"==typeof e?e:e.source:null}function Ek(e){return Tk("(?=",e,")")}function Tk(...e){return e.map((e=>Sk(e))).join("")}function Ak(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>Sk(e))).join("|")+")"}const Ck=e=>Tk(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Pk=["Protocol","Type"].map(Ck),Dk=["init","self"].map(Ck),Rk=["Any","Self"],Nk=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],$k=["false","nil","true"],Ik=["assignment","associativity","higherThan","left","lowerThan","none","right"],Mk=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Lk=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],Qk=Ak(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),Bk=Ak(Qk,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),jk=Tk(Qk,Bk,"*"),Uk=Ak(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Fk=Ak(Uk,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),zk=Tk(Uk,Fk,"*"),qk=Tk(/[A-Z]/,Fk,"*"),Zk=["attached","autoclosure",Tk(/convention\(/,Ak("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Tk(/objc\(/,zk,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Hk=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],Vk="[A-Za-z$_][0-9A-Za-z$_]*",Wk=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Xk=["true","false","null","undefined","NaN","Infinity"],Yk=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Gk=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Kk=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Jk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],e_=[].concat(Kk,Yk,Gk);function t_(e){const t=e.regex,r=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[a,s,i,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[a,o,s,i]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},n,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/"),e.write(``),e.close()}})),(e,t)=>(bo(),xo(F7,null,{title:mn((()=>[Do(nt(e.title),1)])),default:mn((()=>[e.active?(bo(),xo(s6,{key:0,columns:[""]},{default:mn((()=>[Ao(c6,null,{default:mn((()=>[Ao(u6,{class:"relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]"},{default:mn((()=>[To("div",phe,[To("span",hhe,nt(o.value),1),Ao(Nr(lQ),{class:"text-c-3 ml-1 mt-px",icon:"ChevronDown",size:"xs"})]),Qn(To("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"absolute inset-0 w-auto opacity-0",onClick:t[1]||(t[1]=zi((()=>{}),["prevent"]))},[(bo(),wo(uo,null,jn(i,(e=>To("option",{key:e,value:e},nt(e),9,fhe))),64))],512),[[Li,o.value]])])),_:1})])),_:1}),Ao(c6,null,{default:mn((()=>["raw"===o.value?(bo(),xo(Nr(zM),{key:0,class:"force-text-sm rounded-b border-t-0",content:e.data,lang:n.value},null,8,["content","lang"])):(bo(),wo("iframe",{key:1,ref_key:"iframe",ref:a,allowfullscreen:"",allowtransparency:"true",class:"w-full aspect-video",frameborder:"0"},null,512))])),_:1})])),_:1})):No("",!0)])),_:1}))}}),ghe=x0(mhe,[["__scopeId","data-v-99c6c7a3"]]),bhe={class:"relative col-1 flex-center gap-6 p-2 capitalize"},vhe={class:"flex h-[calc(100%_-_50px)] flex-col items-center justify-center"},Ohe={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},yhe={key:0,class:"flex items-center gap-1.5",type:"button"},whe=Fn({__name:"ResponseEmpty",setup(e){const{workspace:t}=g8();return(e,r)=>(bo(),wo("div",bhe,[To("div",vhe,[Ao(A8,{art:Nr(" .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n")},null,8,["art"])]),To("div",Ohe,[To("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[0]||(r[0]=e=>Nr(o7).emit())},[Do(" Send Request "),Ao(y8,{hotkey:"↵"})]),Nr(t).isReadOnly?No("",!0):(bo(),wo("button",yhe,[Do(" New Request "),Ao(y8,{hotkey:"N"})]))])]))}}),xhe=["href"],khe=Fn({__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(bo(),wo("a",{class:"cursor-help decoration-c-3 underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[Zn(e.$slots,"default")],8,xhe))}),_he=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],She=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Ehe=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],The=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Ahe=(e,t,r)=>{let n=e;return"string"==typeof t||Array.isArray(t)?n=e.toLocaleString(t,r):!0!==t&&void 0===r||(n=e.toLocaleString(void 0,r)),n};function Che(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const r=[],n=(e,n,a,o)=>{if(!(0!==r.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===a))return;let i,s;if(o=(o||e||"0").toString(),t.colonNotation){i=r.length>0?":":"",s="";const e=o.includes(".")?o.split(".")[0].length:o.length,t=r.length>0?2:1;o="0".repeat(Math.max(0,t-e))+o}else i="",s=t.verbose?" "+(l=n,1===e?l:`${l}s`):a;var l;r.push(i+o+s)},a=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}(e);if(n(Math.trunc(a.days/365),"year","y"),n(a.days%365,"day","d"),n(a.hours,"hour","h"),n(a.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(n(a.seconds,"second","s"),t.formatSubMilliseconds)n(a.milliseconds,"millisecond","ms"),n(a.microseconds,"microsecond","µs"),n(a.nanoseconds,"nanosecond","ns");else{const e=a.milliseconds+a.microseconds/1e3+a.nanoseconds/1e6,r="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,o=e>=1?Math.round(e):Math.ceil(e),i=r?e.toFixed(r):o;n(Number.parseFloat(i),"millisecond","ms",i)}else{const r=((e,t)=>{const r=Math.floor(e*10**t+1e-7);return(Math.round(r)/10**t).toFixed(t)})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),a=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"");n(Number.parseFloat(a),"second","s",a)}if(0===r.length)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return r[0];if("number"==typeof t.unitCount){const e=t.colonNotation?"":" ";return r.slice(0,Math.max(t.unitCount,1)).join(e)}return t.colonNotation?r.join(""):r.join(" ")}const Phe={class:"flex gap-1.5 text-c-3 pl-1"},Dhe={key:0},Rhe={key:1},Nhe=Fn({__name:"ResponseMetaInformation",props:{response:{}},setup(e){const t=e,r=e=>{var t;const r=parseInt((null==(t=e.headers)?void 0:t["content-length"])||"0",10);return r?function(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);const r=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?The:Ehe:t.binary?She:_he,n=t.space?" ":"";if(t.signed&&0===e)return` 0${n}${r[0]}`;const a=e<0,o=a?"-":t.signed?"+":"";let i;if(a&&(e=-e),void 0!==t.minimumFractionDigits&&(i={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(i={maximumFractionDigits:t.maximumFractionDigits,...i}),e<1)return o+Ahe(e,t.locale,i)+n+r[0];const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),r.length-1);return e/=(t.binary?1024:1e3)**s,i||(e=e.toPrecision(3)),o+Ahe(Number(e),t.locale,i)+n+r[s]}(r):void 0},n=ti((()=>{const e=t.response.status;if(e)return xu[e]??void 0}));return(e,t)=>(bo(),wo("div",Phe,[To("span",null,nt(Nr(Che)(e.response.duration)),1),r(e.response)?(bo(),wo("span",Dhe,nt(r(e.response)),1)):No("",!0),n.value?(bo(),wo(uo,{key:1},[n.value.url?(bo(),xo(khe,{key:0,href:n.value.url},{default:mn((()=>[Do(nt(e.response.status)+" "+nt(n.value.name),1)])),_:1},8,["href"])):(bo(),wo("span",Rhe,nt(e.response.status)+" "+nt(n.value.name),1))],64)):No("",!0)]))}}),$he={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},Ihe=Fn({__name:"DataTableText",props:{text:{}},setup:e=>(e,t)=>(bo(),xo(X7,{class:"relative flex"},{default:mn((()=>[To("span",$he,nt(e.text),1)])),_:1}))}),Mhe={key:1,class:"text-c-3 px-4 text-sm border border-1/2 rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"},Lhe=Fn({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(e,t)=>(bo(),xo(F7,{defaultOpen:!1},{title:mn((()=>[Do("Cookies")])),default:mn((()=>[(bo(),wo(uo,{key:0},[e.cookies.length?(bo(),xo(s6,{key:0,class:"flex-1",columns:["",""]},{default:mn((()=>[(bo(!0),wo(uo,null,jn(e.cookies,((e,t)=>(bo(),xo(c6,{key:t},{default:mn((()=>[Ao(Ihe,{text:e.name},null,8,["text"]),Ao(Ihe,{text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(bo(),wo("div",Mhe," No cookies "))],64))])),_:1}))}),Qhe={key:1,class:"text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"},Bhe=Fn({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("-");return(e,r)=>(bo(),xo(F7,{defaultOpen:!1,itemCount:e.headers.length},{title:mn((()=>[Do("Headers")])),default:mn((()=>[e.headers.length?(bo(),xo(s6,{key:0,columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:mn((()=>[(bo(!0),wo(uo,null,jn(e.headers,((e,r)=>(bo(),xo(c6,{key:r,class:"text-c-1"},{default:mn((()=>[Ao(Ihe,{class:"sticky left-0 z-1 bg-b-1 max-w-48",text:t(e.name)},null,8,["text"]),Ao(Ihe,{class:"z-0",text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(bo(),wo("div",Qhe," No Headers "))])),_:1},8,["itemCount"]))}}),jhe={class:"flex items-center flex-1"},Uhe={class:"custom-scroll flex flex-1 flex-col px-2 xl:px-6 py-2.5"},Fhe=Fn({__name:"ResponseSection",props:{response:{}},setup(e){const t=e,r=ti((()=>{var e;const r=null==(e=t.response)?void 0:e.headers;return r?Object.keys(r).map((e=>({name:e,value:r[e],required:!1}))).filter((e=>!["rest-api-client-content-length","X-API-Client-Content-Length"].includes(e.name))):[]})),n=ti((()=>{var e,r;const n=null==(r=null==(e=t.response)?void 0:e.headers)?void 0:r.cookies;return n?Object.keys(n).map((e=>({name:e,value:n[e],required:!1}))):[]})),a=ti((()=>{var e;const r=null==(e=t.response)?void 0:e.data;return r&&bu(r)?JSON.stringify(JSON.parse(r),null,2):r&&"object"==typeof xr(r)?JSON.stringify(r,null,2):r})),o=["All","Body","Headers","Cookies"],i=Cr("All");return(e,t)=>(bo(),xo(L7,null,{title:mn((()=>[Ao(Nr(lQ),{class:"text-c-3 mr-1.5 rotate-180 stroke-2",icon:"ExternalLink",size:"md"}),To("div",jhe,[Do(" Response "),e.response?(bo(),xo(Nhe,{key:0,response:e.response},null,8,["response"])):No("",!0)])])),default:mn((()=>[To("div",Uhe,[e.response?(bo(),wo(uo,{key:1},[Ao($7,{activeSection:i.value,sections:o,onSetActiveSection:t[0]||(t[0]=e=>i.value=e)},null,8,["activeSection"]),"All"===i.value||"Cookies"===i.value?(bo(),xo(Lhe,{key:0,cookies:n.value},null,8,["cookies"])):No("",!0),"All"===i.value||"Headers"===i.value?(bo(),xo(Bhe,{key:1,headers:r.value},null,8,["headers"])):No("",!0),"All"===i.value||"Body"===i.value?(bo(),xo(ghe,{key:2,active:!0,data:a.value,headers:r.value,title:"Body"},null,8,["data","headers"])):No("",!0)],64)):(bo(),xo(whe,{key:0}))])])),_:1}))}}),zhe=Cr(null),qhe=Cr(null),Zhe=["draggable"],Hhe=Fn({__name:"Draggable",props:{ceiling:{default:.8},floor:{default:.2},isDraggable:{type:Boolean,default:!0},isDroppable:{type:Boolean,default:!0},parentIds:{},id:{}},emits:["onDragEnd","onDragStart"],setup(e,{emit:t}){const r=e,n=t,a=ti((()=>(r.parentIds.length??0)>0?r.parentIds[r.parentIds.length-1]:null)),o=e=>{!e.dataTransfer||!(e.target instanceof HTMLDivElement)||!r.isDraggable||(e.target.classList.add("dragging"),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",zhe.value={id:r.id,parentId:a.value},n("onDragStart",{id:r.id,parentId:a.value}))},i=((e,t)=>{let r=!1;return function(...t){r||(e(...t),r=!0,setTimeout((()=>r=!1),25))}})((e=>{var t,n,o;if((null==(t=zhe.value)?void 0:t.id)===r.id||r.parentIds.includes((null==(n=zhe.value)?void 0:n.id)??"")||!r.isDroppable)return;const i=null==(o=qhe.value)?void 0:o.offset,s=e.target.offsetHeight,l=r.floor*s,c=r.ceiling*s;let u=3;e.offsetY<=0&&i&&3!==i?u=i:e.offsetY<=l?u=0:e.offsetY>=c?u=1:e.offsetY>l&&e.offsetY{var e;let t="sidebar-indent-nested";return r.isDroppable&&r.id===(null==(e=qhe.value)?void 0:e.id)&&(t+=` dragover-${s[qhe.value.offset]}`),t})),c=()=>{if(!qhe.value||!zhe.value)return;const e={...zhe.value},t={...qhe.value};zhe.value=null,qhe.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),e.id!==t.id&&n("onDragEnd",e,t)};return(e,t)=>(bo(),wo("div",{class:Ge(l.value),draggable:e.isDraggable,onDragend:c,onDragover:t[0]||(t[0]=zi(((...e)=>Nr(i)&&Nr(i)(...e)),["prevent","stop"])),onDragstart:zi(o,["stop"])},[Zn(e.$slots,"default")],42,Zhe))}}),Vhe=To("span",null,"Add Example",-1),Whe=To("span",null,"Rename",-1),Xhe=To("span",null,"Duplicate",-1),Yhe=To("span",null,"Delete",-1),Ghe=Fn({__name:"RequestSidebarItemMenu",props:{item:{}},setup(e){const t=e,{createExampleFromRequest:r,requestMutators:n}=g8(),a=()=>{if(!("summary"in t.item))return;const e=r(t.item);n.edit(t.item.uid,"childUids",[...t.item.childUids,e.uid])},o=()=>{console.log("rename")},i=()=>{console.log("duplicate")},s=()=>{console.log("delete")},l=ti((()=>"summary"in t.item));return(e,t)=>(bo(),xo(Nr(rQ),{teleport:"#scalar-client"},{items:mn((()=>[l.value?(bo(),xo(Nr(oQ),{key:0,class:"flex !gap-2",onClick:a},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Add",size:"xs"}),Vhe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"1",onHotkeyPressed:a})])),_:1})):No("",!0),Ao(Nr(oQ),{class:"flex !gap-2"},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Edit",size:"xs"}),Whe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"2",onHotkeyPressed:o})])),_:1}),Ao(Nr(oQ),{class:"flex !gap-2"},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Duplicate",size:"xs"}),Xhe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"3",onHotkeyPressed:i})])),_:1}),Ao(Nr(aQ)),Ao(Nr(oQ),{class:"flex !gap-2"},{default:mn((()=>[Ao(Nr(lQ),{class:"text-c-2 inline-flex p-px",icon:"Trash",size:"xs"}),Yhe,Ao(y8,{class:"absolute right-2 text-c-3",hotkey:"4",onHotkeyPressed:s})])),_:1})])),default:mn((()=>[Ao(Nr(xx),{class:"z-10 hover:bg-b-3 transition-none p-1 group-hover:flex ui-open:flex absolute left-0 hidden -translate-x-full -ml-1",size:"sm",variant:"ghost",onClick:t[0]||(t[0]=zi((()=>{}),["stop"]))},{default:mn((()=>[Ao(Nr(lQ),{icon:"Ellipses",size:"sm"})])),_:1})])),_:1}))}}),Khe={class:"z-10 font-medium w-full editable-sidebar-hover-item"},Jhe={class:"relative"},efe={class:"flex"},tfe={class:"z-10 mr-[-.5px] flex h-fit items-center justify-center"},rfe={class:"z-10 font-medium"},nfe={key:2},afe="hover:before:bg-sidebar-active-b before:absolute before:inset-0 before:rounded before-left-offset",ofe=Fn({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:Boolean,default:!1},parentUids:{},item:{}},emits:["onDragEnd"],setup(e){hi((e=>({"26c2db78":d.value})));const t=e,{activeRequest:r,folders:n,requests:a,requestExamples:o,workspace:i}=g8(),{collapsedSidebarFolders:s,toggleSidebarFolder:l}=k4(),c=J1(),u=ti((()=>"childUids"in t.item)),d=ti((()=>t.parentUids.length?(u.value,`-${16*t.parentUids.length}px`):"0px")),p=e=>{var t;return"spec"in e?null==(t=e.spec.info)?void 0:t.title:"summary"in e?e.summary||e.path:"name"in e?e.name:""},h=ti((()=>("requestUid"in t.item?a[t.item.requestUid]:t.item).method)),f=ti((()=>{var e;return s[t.item.uid]||(null==(e=r.value)?void 0:e.uid)===t.item.uid&&t.item.childUids.length>1}));return(e,t)=>{const d=wn("RequestSidebarItem",!0);return bo(),wo("div",{class:Ge(["relative flex flex-row",[Nr(i).isReadOnly&&e.parentUids.length>1||!Nr(i).isReadOnly&&e.parentUids.length?"before:bg-b-3 pl-4 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-px mb-[.5px] last:mb-0":""]])},[Ao(Nr(Hhe),{id:e.item.uid,ceiling:u.value?.8:.5,class:"flex flex-1 flex-col gap-[.5px] text-sm",floor:u.value?.2:.5,isDraggable:e.parentUids.length>0&&e.isDraggable,isDroppable:e.isDroppable,parentIds:e.parentUids,onOnDragEnd:t[3]||(t[3]=(...t)=>e.$emit("onDragEnd",...t))},{default:mn((()=>["summary"in e.item||"requestUid"in e.item?(bo(),xo(Nr(V1),{key:0,custom:"",to:`/request/${e.item.uid}`},{default:mn((()=>{var n;return[To("div",{class:Ge(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover",[afe,(null==(n=Nr(r))?void 0:n.uid)===e.item.uid?"before:bg-sidebar-active-b text-sidebar-active-c transition-none":"text-sidebar-c-2",(e.isDroppable,"pl-3")]]),tabindex:"0",onClick:t[0]||(t[0]=t=>((e,t)=>{e.metaKey?window.open(`/request/${t}`,"_blank"):c.push(`/request/${t}`)})(t,e.item.uid))},[To("span",Khe,nt(p(e.item)),1),To("div",Jhe,[Nr(i).isReadOnly?No("",!0):(bo(),xo(Ghe,{key:0,item:e.item},null,8,["item"])),To("span",efe,[Do(" "),Ao(Nr(I8),{class:"font-bold",method:h.value},null,8,["method"])])])],2)]})),_:1},8,["to"])):!Nr(i).isReadOnly||e.parentUids.length?(bo(),wo("button",{key:1,class:Ge(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]",afe]),type:"button",onClick:t[1]||(t[1]=t=>Nr(l)(e.item.uid))},[To("span",tfe,[Zn(e.$slots,"leftIcon",{},(()=>[To("div",{class:Ge({"rotate-90":Nr(s)[e.item.uid]})},[Ao(Nr(lQ),{class:"text-c-3 text-sm",icon:"ChevronRight",size:"sm"})],2)]),!0),Do(" ")]),To("span",rfe,nt(p(e.item)),1)])):No("",!0),"childUids"in e.item?Qn((bo(),wo("div",nfe,[(bo(!0),wo(uo,null,jn(e.item.childUids,(r=>(bo(),xo(d,{key:r,isDraggable:e.isDraggable,isDroppable:e.isDroppable,item:Nr(n)[r]||Nr(a)[r]||Nr(o)[r],parentUids:[...e.parentUids,e.item.uid],onOnDragEnd:t[2]||(t[2]=(...t)=>e.$emit("onDragEnd",...t))},null,8,["isDraggable","isDroppable","item","parentUids"])))),128))],512)),[[ui,f.value]]):No("",!0)])),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)}}}),ife=x0(ofe,[["__scopeId","data-v-2b673e3d"]]),sfe={class:"w-sidebar relative flex flex-col border-r bg-b-1"},lfe={key:0,class:"xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm"},cfe={class:"font-medium m-0 text-sm"},ufe={class:"custom-scroll sidebar-height"},dfe=Fn({__name:"Sidebar",setup(e){const{workspace:t}=g8();return(e,r)=>(bo(),wo("aside",sfe,[Nr(t).isReadOnly?No("",!0):(bo(),wo("div",lfe,[To("h2",cfe,[Zn(e.$slots,"title")])])),To("div",ufe,[Zn(e.$slots,"content")]),Zn(e.$slots,"button")]))}});
/*! js-cookie v3.0.5 | MIT */function pfe(e){for(var t=1;te.reduce(((e,t)=>(t.key&&(e[t.key]=t.value),e)),{}),mfe={class:"bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full"},gfe={class:"lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container"},bfe={class:"flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12"},vfe={class:"flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12"},Ofe=Fn({__name:"Request",setup(e){const{activeExample:t,activeRequest:r,activeServer:n,activeSecurityScheme:a,collections:o,modalState:i,workspace:s}=g8(),{collapsedSidebarFolders:l}=k4(),c=(()=>{const e=Cr("Request name / type"),t=Cr(!1);return hr({open:t,tab:e,show(){t.value=!0},hide(){t.value=!1},activeTab(t){e.value=t}})})(),u=dx(),d=Cr(!1),p=e=>{c.tab=e},h=async()=>{var e,o;if(!r.value||!t.value)return void console.warn("There is no request active at the moment. Please select one then try again.");let i=(null==(e=n.value)?void 0:e.url)+r.value.path;if(null!=(o=n.value)&&o.variables){const e=/{\s*([\w.-]+)\s*}/g;i=i.replace(e,((e,t)=>{var r,a,o;const i=null==(a=null==(r=n.value)?void 0:r.variables)?void 0:a[t];return(null==i?void 0:i.value)||(null==i?void 0:i.default)||(null==(o=null==i?void 0:i.enum)?void 0:o[0])||e}))}const{request:l,response:c}=await(async(e,t,r,n,a)=>{var o;let i=r;t.parameters.path.forEach((e=>{!e.key||!e.value||(i=i.replace(`{${e.key}}`,e.value))}));const s=ffe(t.parameters.headers.filter((({enabled:e})=>e)));let l=null;if("binary"===t.body.activeBody&&t.body.binary)s["Content-Type"]=t.body.binary.type,s["Content-Disposition"]=`attachment; filename="${t.body.binary.name}"`,l=t.body.binary;else if("raw"===t.body.activeBody)l=t.body.raw.value;else if("formData"===t.body.activeBody){s["Content-Type"]="multipart/form-data";const e=new FormData;"form-data"===t.body.formData.encoding&&(t.body.formData.value.forEach((t=>{t.key&&t.value?e.append(t.key,t.value):t.file&&e.append(t.file.name,t.file)})),l=e)}const c=[],[u,d]=i.split("?");new URLSearchParams(d??"").forEach(((e,t)=>{c.push({key:t,value:e,enabled:!0})}));const p={...ffe(t.parameters.query.filter((({enabled:e})=>e)).filter((({value:e})=>""!==e))),...ffe(c)},h={...ffe((t.parameters.cookies??[]).filter((({enabled:e})=>e)))};if(null!=n&&n.scheme){const{scheme:e}=n;if("apiKey"===e.type&&e.value)switch(e.in){case"cookie":h[e.name]=e.value;break;case"query":p[e.name]=e.value;break;case"header":s[e.name]=e.value}else"http"===e.type&&e.value?"basic"===e.scheme&&e.secondValue?s.Authorization=`Basic ${btoa(`${e.value}:${e.secondValue}`)}`:s.Authorization=`Bearer ${e.value}`:"oauth2"===e.type&&null!=(o=n.flow)&&o.token&&(s.Authorization=`Bearer ${n.flow.token}`)}Object.keys(h).forEach((e=>{hfe.set(e,h[e],{sameSite:"None",secure:!0})}));const f=new URLSearchParams(p).toString();i=`${u}${f?"?"+f:""}`;const m={url:ds(a,i),method:e.method,headers:s,data:l},g=Date.now();try{const e=await bf(m);return ps(a,i)&&["Access-Control-Allow-Headers","Access-Control-Allow-Origin","Access-Control-Allow-Methods","Access-Control-Expose-Headers"].map((e=>e.toLowerCase())).forEach((t=>delete e.headers[t])),{sentTime:Date.now(),request:t,response:{...e,duration:Date.now()-g}}}catch(e){const r=e.response;return console.error("ERROR",e),{sentTime:Date.now(),request:t,response:r?{...r,duration:Date.now()-g}:void 0}}})(r.value,t.value,i,a.value,s.proxyUrl);l&&c?r.value.history.push({request:l,response:c,timestamp:Date.now()}):console.warn("No response or request was returned")};Cn((()=>o7.on(h))),Rn((()=>o7.off(h)));const f=ti((()=>s.collectionUids.map((e=>o[e])))),m=()=>{c.show()},g=BQ();return MQ(document,"keydown",(e=>{(lq()?g.meta.value:g.ctrl.value)&&"b"===e.key&&(d.value=!d.value),(lq()?g.meta.value:g.ctrl.value)&&"k"===e.key&&(u.open?u.hide():u.show())})),(e,n)=>(bo(),wo(uo,null,[To("div",mfe,[To("div",gfe,[To("div",bfe,[To("button",{class:"text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",type:"button",onClick:n[0]||(n[0]=e=>d.value=!d.value)},[Ao(Nr(lQ),{icon:d.value?"SideBarOpen":"SideBarClosed",size:"sm"},null,8,["icon"])])]),Ao(b7),To("div",vfe,[Nr(s).isReadOnly?(bo(),wo("button",{key:0,class:"text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",type:"button",onClick:n[1]||(n[1]=e=>Nr(i).hide())},[Ao(Nr(lQ),{icon:"Close",size:"xs"})])):No("",!0)])]),Ao(C7,null,{default:mn((()=>[d.value?(bo(),xo(Nr(dfe),{key:0,class:Ge([d.value?"sidebar-active-width":""])},{title:mn((()=>[Do(nt(Nr(s).name),1)])),content:mn((()=>[Ao(x7,{onOpenSearchModal:n[2]||(n[2]=e=>Nr(u).show())}),To("div",{class:"custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-12 pt-2.5",onDragenter:n[3]||(n[3]=zi((()=>{}),["prevent"])),onDragover:n[4]||(n[4]=zi((()=>{}),["prevent"]))},[(bo(!0),wo(uo,null,jn(f.value,((e,t)=>(bo(),xo(ife,{key:e.uid,isDraggable:!Nr(s).isReadOnly,isDroppable:!Nr(s).isReadOnly,item:e,parentUids:[],onOnDragEnd:(...e)=>{}},{leftIcon:mn((()=>[Ao(Nr(lQ),{class:"text-sidebar-c-2 stroke-[1] text-sm group-hover:hidden",icon:"CodeFolder",size:"sm"}),To("div",{class:Ge({"rotate-90":Nr(l)[e.uid]})},[Ao(Nr(lQ),{class:"text-c-3 hidden text-sm group-hover:block",icon:"ChevronRight",size:"sm"})],2)])),_:2},1032,["isDraggable","isDroppable","item","onOnDragEnd"])))),128))],32)])),button:mn((()=>[Nr(s).isReadOnly?No("",!0):(bo(),xo(T7,{key:0,click:m},{title:mn((()=>[Do("Add Item")])),_:1}))])),_:1},8,["class"])):No("",!0),Nr(t)?(bo(),xo(D7,{key:1,class:Ge(["flex-1",[d.value?"sidebar-active-hide-layout":""]])},{default:mn((()=>{var e,t,n,a,o;return[Ao(dhe),Ao(Fhe,{response:null==(o=null==(a=null==(e=Nr(r))?void 0:e.history)?void 0:a[(null==(n=null==(t=Nr(r))?void 0:t.history)?void 0:n.length)-1])?void 0:o.response},null,8,["response"])]})),_:1},8,["class"])):No("",!0),Ao(V8,{state:Nr(c),"onUpdate:tab":p},null,8,["state"])])),_:1})]),Ao(S7,{modalState:Nr(u)},null,8,["modalState"])],64))}}),yfe=x0(Ofe,[["__scopeId","data-v-ac5dd98f"]]),wfe=Object.freeze(Object.defineProperty({__proto__:null,default:yfe},Symbol.toStringTag,{value:"Module"})),xfe={class:"flex flex-col p-2"},kfe={class:"whitespace-pre p-4"},_fe=Fn({__name:"Collection",setup(e){const t=hr([{key:"key 1",value:"value 1",enabled:!0},{key:"key 2",value:"value 2",enabled:!1},{key:"",value:"",enabled:!1}]);return(e,r)=>(bo(),xo(C7,null,{default:mn((()=>[Ao(dfe,null,{title:mn((()=>[Do("Collection")])),_:1}),Ao(D7,{class:"flex-1"},{default:mn((()=>[Ao(L7,null,{title:mn((()=>[Do("Section 1")])),default:mn((()=>[To("div",xfe,[Ao(s6,{columns:["","","auto"]},{default:mn((()=>[Ao(c6,null,{default:mn((()=>[Ao(u6,null,{default:mn((()=>[Do("First Header")])),_:1}),Ao(u6,null,{default:mn((()=>[Do(" Long header that needs to be truncated ")])),_:1}),Ao(u6,{class:"flex justify-center"},{default:mn((()=>[Do(" + ")])),_:1})])),_:1}),(bo(!0),wo(uo,null,jn(t,((e,t)=>(bo(),xo(c6,{key:t},{default:mn((()=>[Ao(h6,{modelValue:e.enabled,"onUpdate:modelValue":t=>e.enabled=t},null,8,["modelValue","onUpdate:modelValue"]),Ao(n6,{modelValue:e.key,"onUpdate:modelValue":t=>e.key=t,placeholder:"Key"},null,8,["modelValue","onUpdate:modelValue"]),Ao(n6,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,placeholder:"Value"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024)))),128)),Ao(c6,null,{default:mn((()=>[Ao(X7,null,{default:mn((()=>[Do("Static Text")])),_:1}),Ao(X7,null,{default:mn((()=>[Do(" Long static text that needs to wrap to the next line ")])),_:1}),Ao(X7)])),_:1}),Ao(c6,{class:"h-24"},{default:mn((()=>[Ao(X7,{class:"col-span-full"},{default:mn((()=>[Do(" Static row with fixed height and full column span. ")])),_:1})])),_:1})])),_:1})])])),_:1}),Ao(L7,null,{title:mn((()=>[Do("Section 2")])),default:mn((()=>[To("pre",kfe,nt(t),1)])),_:1})])),_:1})])),_:1}))}}),Sfe=Object.freeze(Object.defineProperty({__proto__:null,default:_fe},Symbol.toStringTag,{value:"Module"})),Efe=To("div",{class:"flex-1"},"SCHEMA!!",-1),Tfe=Fn({__name:"Schemas",setup:e=>(e,t)=>(bo(),wo(uo,null,[Ao(dfe,null,{title:mn((()=>[Do("Workspace Name")])),_:1}),Efe],64))}),Afe=Object.freeze(Object.defineProperty({__proto__:null,default:Tfe},Symbol.toStringTag,{value:"Module"})),Cfe={class:"flex flex-col gap-1 p-2"},Pfe=x0({},[["render",function(e,t){return bo(),wo("ul",Cfe,[Zn(e.$slots,"default")])}]]),Dfe={class:"flex gap-3"},Rfe=Fn({__name:"SidebarListElementForm",props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],setup(e,{emit:t}){const r=t;return(e,t)=>(bo(),wo("form",{class:"flex flex-col gap-3",onSubmit:t[1]||(t[1]=zi((e=>r("submit")),["prevent"]))},[Zn(e.$slots,"default"),To("div",Dfe,[Ao(Nr(xx),{class:"flex-1",variant:"outlined",onClick:t[0]||(t[0]=e=>r("cancel"))},{default:mn((()=>[Do(" Cancel ")])),_:1}),Ao(Nr(xx),{class:"flex-1",error:e.danger,type:"submit"},{default:mn((()=>[Do(nt(e.label??"Submit"),1)])),_:1},8,["error"])])],32))}}),Nfe=To("p",null,"Are you sure you want to remove it?",-1),$fe=Fn({__name:"DeleteSidebarListElement",props:{variableName:{}},emits:["close","delete"],setup(e,{emit:t}){const r=t;async function n(){r("delete")}return(e,t)=>(bo(),xo(Rfe,{danger:"",label:`Delete ${e.variableName}`,onCancel:t[0]||(t[0]=e=>r("close")),onSubmit:n},{default:mn((()=>[Nfe])),_:1},8,["label"]))}}),Ife={class:"absolute right-1 opacity-0 group-hover:opacity-100"},Mfe=Fn({__name:"SidebarListElementActions",props:{variable:{}},emits:["delete"],setup(e,{emit:t}){const{variable:r}=e,n=t,a=Cr({action:"None",name:""}),o=dx(),{copyToClipboard:i}=(()=>{const{toast:e}=zd();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard.","info")}))}}})();function s(){o.hide(),a.value={action:"None",name:""}}return(e,t)=>(bo(),wo(uo,null,[To("div",Ife,[To("button",{class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1.5",type:"button",onClick:t[0]||(t[0]=t=>Nr(i)(e.variable.name))},[Ao(Nr(lQ),{class:"h-2.5 w-2.5",icon:"Clipboard"})]),e.variable.isDefault?No("",!0):(bo(),wo("button",{key:0,class:"text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1.5",type:"button",onClick:t[1]||(t[1]=zi((e=>(a.value={action:"Delete",name:r.name},void o.show())),["prevent"]))},[Ao(Nr(lQ),{class:"h-2.5 w-2.5",icon:"Close"})]))]),Ao(Nr(fx),{state:Nr(o),title:`${a.value.action} ${a.value.name}`},{default:mn((()=>["Delete"===a.value.action?(bo(),xo($fe,{key:0,variableName:a.value.name,onClose:s,onDelete:t[2]||(t[2]=t=>function(e){n("delete",e),s()}(e.variable.uid))},null,8,["variableName"])):No("",!0)])),_:1},8,["state","title"])],64))}}),Lfe={key:0,class:"hover:bg-b-3 rounded p-1.5",type:"button"},Qfe=Fn({__name:"SidebarListElement",props:{variable:{}},emits:["delete"],setup(e,{emit:t}){const r=t,n=J1(),a=e=>{r("delete",e)};return(e,t)=>{const r=wn("router-link");return bo(),wo("li",null,[Ao(r,{class:Ge(["text-c-2 hover:bg-b-2 group relative block flex items-center gap-1 rounded py-1 pr-2 font-medium",[e.variable.color?"pl-1":"pl-2"]]),exactActiveClass:"active-link",to:`${e.variable.uid}`,onClick:t[0]||(t[0]=zi((t=>((e,t)=>{e.metaKey?window.open(t,"_blank"):n.push(t)})(t,e.variable.uid)),["prevent"]))},{default:mn((()=>[e.variable.color?(bo(),wo("button",Lfe,[To("div",{class:Ge(["h-2.5 w-2.5 rounded-xl",`bg-${e.variable.color}`])},null,2)])):No("",!0),Do(" "+nt(e.variable.name)+" ",1),Ao(Mfe,{variable:{...e.variable,isDefault:e.variable.isDefault??!1},onDelete:a},null,8,["variable"])])),_:1},8,["class","to"])])}}}),Bfe=x0(Qfe,[["__scopeId","data-v-f43d5cfd"]]),jfe={class:"flex flex-row gap-1.5 space-x-1"},Ufe=["onClick"],Ffe=Fn({__name:"EnvironmentColors",props:{activeColor:{}},emits:["select"],setup(e){const t=[{color:"grey",bgClass:"bg-grey"},{color:"red",bgClass:"bg-red"},{color:"yellow",bgClass:"bg-yellow"},{color:"green",bgClass:"bg-green"},{color:"orange",bgClass:"bg-orange"},{color:"blue",bgClass:"bg-blue"},{color:"text-c-2",bgClass:"bg-c-2"},{color:"purple",bgClass:"bg-purple"},{color:"pink",bgClass:"bg-pink"}];return(e,r)=>(bo(),wo("div",jfe,[(bo(),wo(uo,null,jn(t,(t=>To("div",{key:t.color,class:Ge(["flex h-5 w-5 cursor-pointer items-center justify-center rounded-full",t.bgClass]),onClick:r=>e.$emit("select",t.color)},[e.activeColor===t.color?(bo(),xo(Nr(lQ),{key:0,icon:"Checkmark",size:"xs"})):No("",!0)],10,Ufe))),64))]))}}),zfe={class:"flex-1"},qfe=["value"],Zfe={class:"colors ml-auto"},Hfe=Fn({__name:"Environment",setup(e){const t=J1(),{environments:r,environmentMutators:n}=g8(),a=Cr(null),o=Cr(null),i=Cr(!1);function s(){const e={name:"New Environment",uid:jQ(),color:"grey",raw:JSON.stringify({exampleKey:"exampleValue"},null,2),parsed:[],isDefault:!1};n.add(e),a.value=e.uid,t.push(a.value)}function l(e){a.value&&n.edit(a.value,"raw",e)}const c=e=>{a.value&&(r[a.value].color=e)},u=()=>{a.value&&!r[a.value].isDefault&&(i.value=!0,Kr((()=>{var e;null==(e=o.value)||e.focus()})))},d=e=>{const t=e.target.value;a.value&&!r[a.value].isDefault&&(r[a.value].name=t)};return Cn((()=>{"default"===t.currentRoute.value.params.environment&&(a.value=r.default.uid)})),(e,t)=>(bo(),xo(C7,null,{default:mn((()=>[Ao(dfe,null,{title:mn((()=>[Do("Environment")])),content:mn((()=>[To("div",zfe,[Ao(Pfe,null,{default:mn((()=>[(bo(!0),wo(uo,null,jn(Nr(r),(e=>(bo(),xo(Bfe,{key:e.uid,class:"text-xs",variable:{name:e.name,uid:e.uid,color:e.color,isDefault:e.isDefault},onClick:t=>a.value=e.uid,onDelete:t=>(e=>{n.delete(e),a.value===e&&(a.value=null)})(e.uid)},null,8,["variable","onClick","onDelete"])))),128))])),_:1})])])),button:mn((()=>[Ao(T7,{click:s},{title:mn((()=>[Do("Add Environment Variable")])),_:1})])),_:1}),Ao(D7,{class:"flex-1"},{default:mn((()=>[Ao(L7,null,Un({default:mn((()=>[a.value?(bo(),xo(Upe,{key:0,class:"px-2 py-2.5",lineNumbers:"",modelValue:Nr(r)[a.value].raw,"onUpdate:modelValue":l},null,8,["modelValue"])):No("",!0)])),_:2},[a.value?{name:"title",fn:mn((()=>[!i.value||Nr(r)[a.value].isDefault?(bo(),wo("span",{key:0,onDblclick:u},nt(Nr(r)[a.value].name),33)):(bo(),wo("input",{key:1,ref_key:"nameInputRef",ref:o,class:"ring-1 ring-offset-4 ring-b-outline rounded",spellcheck:"false",type:"text",value:Nr(r)[a.value].name,onBlur:t[0]||(t[0]=e=>i.value=!1),onInput:d,onKeyup:t[1]||(t[1]=Zi((e=>i.value=!1),["enter"]))},null,40,qfe)),To("div",Zfe,[Ao(Ffe,{activeColor:Nr(r)[a.value].color,onSelect:c},null,8,["activeColor"])])])),key:"0"}:void 0]),1024)])),_:1})])),_:1}))}}),Vfe=Object.freeze(Object.defineProperty({__proto__:null,default:Hfe},Symbol.toStringTag,{value:"Module"})),Wfe=S3.object({uid:E3,name:S3.string().default("Default Cookie"),value:S3.string().default("Default Value"),domain:S3.string().optional(),expires:S3.date().optional(),httpOnly:S3.boolean().optional(),maxAge:S3.number().optional(),partitioned:S3.boolean().optional(),path:S3.string().optional(),sameSite:S3.union([S3.literal("Lax"),S3.literal("Strict"),S3.literal("None")]).default("None"),secure:S3.boolean().optional()}),Xfe={class:"custom-scroll flex flex-1 flex-col gap-1.5 px-5 py-2"},Yfe=Fn({__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},setup:e=>(e,t)=>(bo(),xo(L7,null,{title:mn((()=>[To("span",null,nt(e.title),1)])),default:mn((()=>[To("div",Xfe,[Object.keys(e.data).length>0?(bo(),xo(s6,{key:0,columns:[""]},{default:mn((()=>[(bo(!0),wo(uo,null,jn(e.options,((t,r)=>(bo(),xo(c6,{key:r,class:Ge({"border-t":0===r})},{default:mn((()=>[Ao(n6,{modelValue:String(e.data[t.key]??""),placeholder:t.placeholder,"onUpdate:modelValue":r=>e.onUpdate(t.key,r)},{default:mn((()=>[Do(nt(t.label),1)])),_:2},1032,["modelValue","placeholder","onUpdate:modelValue"])])),_:2},1032,["class"])))),128))])),_:1})):No("",!0)])])),_:1}))}),Gfe=Fn({__name:"CookieForm",setup(e){const{cookies:t,activeCookieId:r,cookieMutators:n}=g8(),a=[{label:"Key",key:"key",placeholder:"Username"},{label:"Value",key:"value",placeholder:"123"},{label:"Domain",key:"domain",placeholder:"scalar.com"},{label:"Path",key:"path",placeholder:"/"},{label:"Expires",key:"expires",placeholder:"Tomorrow"},{label:"Secure",key:"secure",placeholder:"True/False"},{label:"HttpOnly",key:"httpOnly",placeholder:"True/False"}],o=ti((()=>t[r.value]||{})),i=(e,t)=>{r.value&&n.edit(r.value,e,t)};return(e,t)=>(bo(),xo(Yfe,{data:o.value,onUpdate:i,options:a,title:"Cookie"},null,8,["data"]))}}),Kfe=To("span",null,"Raw Cookie String",-1),Jfe=Fn({__name:"CookieRaw",setup(e){const{cookies:t,activeCookieId:r}=g8();return(e,n)=>(bo(),xo(L7,null,{title:mn((()=>[Kfe])),default:mn((()=>[Nr(r)&&Nr(t)[Nr(r)]?(bo(),xo(Upe,{key:0,class:"px-2 py-2.5",lineNumbers:"",modelValue:""})):No("",!0)])),_:1}))}}),eme={class:"flex-1"},tme=Fn({__name:"Cookies",setup(e){const{cookies:t,cookieMutators:r}=g8(),n=()=>{const e=(e=>us(Wfe.parse({}),e))({uid:jQ(),name:"new cookie",value:"new value",domain:"localhost",path:"/",secure:!1,httpOnly:!1,sameSite:"None"});r.add(e)};return(e,r)=>(bo(),xo(C7,null,{default:mn((()=>[Ao(Nr(dfe),null,{title:mn((()=>[Do("Domain")])),content:mn((()=>[To("div",eme,[Ao(Pfe,null,{default:mn((()=>[(bo(!0),wo(uo,null,jn(Nr(t),(e=>(bo(),xo(Bfe,{key:e.uid,class:"text-xs",variable:{name:e.name,uid:e.uid}},null,8,["variable"])))),128))])),_:1})])])),button:mn((()=>[Ao(T7,{click:n},{title:mn((()=>[Do("Add Item")])),_:1})])),_:1}),Ao(D7,{class:"flex-1"},{default:mn((()=>[Ao(Gfe),Ao(Jfe)])),_:1})])),_:1}))}}),rme=Object.freeze(Object.defineProperty({__proto__:null,default:tme},Symbol.toStringTag,{value:"Module"})),nme={class:"w-full"},ame=Fn({__name:"ServerForm",setup(e){const{activeCollection:t,servers:r,serverMutators:n}=g8(),a=[{label:"URL",key:"url",placeholder:"https://void.scalar.com/api"},{label:"Label",key:"description",placeholder:"Production"}],o=ba(U1),i=ti((()=>{var e,n;return r[t.value&&"default"===o.params.server?null==(e=t.value)?void 0:e.spec.serverUids[0]:(null==(n=t.value)?void 0:n.spec.serverUids.find((e=>e===o.params.server)))??""]})),s=(e,r)=>{t.value&&n.edit(i.value.uid,e,r)},l=(e,r)=>{t.value&&n.edit(i.value.uid,`variables.${e}.value`,r)},c=ti((()=>{var e;return Object.entries((null==(e=i.value)?void 0:e.variables)??{}).map((([e,t])=>{var r;return{key:e,label:e,placeholder:t.default??(null==(r=null==t?void 0:t.enum)?void 0:r[0])??""}}))})),u=ti((()=>Object.entries(i.value.variables??{}).reduce(((e,[t,r])=>{var n;return e[t]=r.value??r.default??(null==(n=null==r?void 0:r.enum)?void 0:n[0])??"",e}),{})));return(e,t)=>(bo(),wo("div",nme,[i.value?(bo(),wo(uo,{key:0},[Ao(Yfe,{data:i.value,onUpdate:s,options:a,title:"Server"},null,8,["data"]),Object.keys(u.value).length?(bo(),xo(Yfe,{key:0,data:u.value,onUpdate:l,options:c.value,title:"Variables"},null,8,["data","options"])):No("",!0)],64)):No("",!0)]))}}),ome={class:"flex-1"},ime=Fn({__name:"Servers",setup(e){const{activeCollection:t,servers:r,serverMutators:n}=g8(),{push:a}=J1(),o=()=>{if(!t.value)return;const e=a4({url:"http://localhost"});n.add(e,t.value.uid),a(`/servers/${e.uid}`)};return(e,n)=>(bo(),xo(C7,null,{default:mn((()=>[Ao(Nr(dfe),null,{title:mn((()=>[Do("Servers")])),content:mn((()=>[To("div",ome,[Ao(Pfe,null,{default:mn((()=>{var e;return[(bo(!0),wo(uo,null,jn(null==(e=Nr(t))?void 0:e.spec.serverUids,(e=>(bo(),xo(Bfe,{key:e,class:"text-xs",variable:{name:Nr(r)[e].url,uid:e}},null,8,["variable"])))),128))]})),_:1})])])),button:mn((()=>[Ao(T7,{click:o},{title:mn((()=>[Do("Add Server")])),_:1})])),_:1}),Ao(D7,{class:"flex-1"},{default:mn((()=>[Ao(ame)])),_:1})])),_:1}))}}),sme=Object.freeze(Object.defineProperty({__proto__:null,default:ime},Symbol.toStringTag,{value:"Module"}))}));
-//# sourceMappingURL=/sm/8e73c1b723a8295fcae07d1f8ed9cb7196b7ad3251245ab09fff276a5014c060.map
\ No newline at end of file
+//# sourceMappingURL=/sm/8eda50aa30e2c9b7cba87a13a77d90ffb0b665cf9d8305c38af5a43cbf03d286.map
\ No newline at end of file