diff --git a/flask-openapi3-scalar/flask_openapi3_scalar/__version__.py b/flask-openapi3-scalar/flask_openapi3_scalar/__version__.py
index 45a7f3d..96050f6 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.27"
+__version__ = "1.24.28"
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 53c5ad4..d7fd6e7 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.27/dist/browser/standalone.js
+ * Original file: /npm/@scalar/api-reference@1.24.28/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('@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)}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--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,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}@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}}.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)}.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}: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}.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}}.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);--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{*,: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 .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-\\[0\\.75\\]{stroke-width:.75}.scalar-client .stroke-\\[1\\.2\\]{stroke-width:1.2}.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-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\\:content-\\[\\\\\\\'Required\\\\\\\'\\]:after{--tw-content:\\\'Required\\\';content:var(--tw-content)}.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: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: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-d109beff]{max-height:calc(100% - calc(var(--scalar-app-header-height)));border-radius:8px}.scalar .scalar-app[data-v-d109beff]{background:var(--scalar-background-3);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-d109beff .35s forwards;z-index:1002;position:relative;overflow:hidden;border-radius:8px}@keyframes scalarapiclientfadein-d109beff{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-d109beff]{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-d109beff .35s forwards}.scalar .scalar-app-exit[data-v-d109beff]: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-d109beff]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-d109beff{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-d109beff]{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-d109beff]{min-height:auto!important}.scalar .scalar-container[data-v-d109beff]{line-height:normal}.scalar .scalar-app-header span[data-v-d109beff]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-d109beff]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-d109beff]:hover{text-decoration:underline}.scalar-activate[data-v-d109beff]{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-d109beff]{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-d109beff]{background:var(--scalar-background-3);border-radius:3px}input[data-v-8ebaeb0e]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-8ebaeb0e]::placeholder{color:var(--scalar-color-3)}.sidebar-height{min-height:calc(100% - 50px)}[data-v-4ce0263d] .cm-editor{background-color:var(--scalar-background-1);height:100%;outline:none;width:100%}[data-v-4ce0263d] .cm-content{padding:2px 0}.scroll-timeline-x[data-v-4ce0263d]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-address[data-v-4ce0263d]{line-height:27px;scrollbar-width:none}.scroll-timeline-x-address[data-v-4ce0263d]:after{content:"";position:absolute;height:100%;width:24px;right:0;cursor:text}.scroll-timeline-x-address[data-v-4ce0263d]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-4ce0263d],.fade-right[data-v-4ce0263d]{content:"";position:sticky;height:100%;animation-name:fadein-4ce0263d;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;z-index:1;pointer-events:none}.fade-left[data-v-4ce0263d]{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-4ce0263d]{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-4ce0263d{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-5d101842]{-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-dfda331d]:before{left:var(--34fef122)}.editable-sidebar-hover:hover .editable-sidebar-hover-item[data-v-dfda331d]{-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}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-300a9075]{--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-300a9075]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-300a9075]{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-300a9075]{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-300a9075]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-300a9075]{grid-area:navigation}.references-rendered[data-v-300a9075]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-300a9075],.references-classic .references-rendered[data-v-300a9075]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-300a9075]{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-300a9075]{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-300a9075]{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-300a9075]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-300a9075]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-300a9075]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-300a9075]{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-300a9075]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-300a9075],.references-rendered[data-v-300a9075]{max-height:unset}.references-rendered[data-v-300a9075]{position:static}.references-navigation[data-v-300a9075]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-300a9075]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-300a9075]{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;function r(e,t={},n){for(const a in e){const o=e[a],i=n?`${n}:${a}`:a;"object"==typeof o&&null!==o?r(o,t,i):"function"==typeof o&&(t[i]=o)}return t}const n={run:e=>e()},a=void 0!==console.createTask?console.createTask:()=>n;function o(e,t){const r=t.shift(),n=a(r);return e.reduce(((e,r)=>e.then((()=>n.run((()=>r(...t)))))),Promise.resolve())}function i(e,t){const r=t.shift(),n=a(r);return Promise.all(e.map((e=>n.run((()=>e(...t))))))}function s(e,t){for(const r of[...e])r(t)}class l{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=r(e),n=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=r(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(o,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(i,e,...t)}callHookWith(e,t,...r){const n=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&s(this._before,n);const a=e(t in this._hooks?[...this._hooks[t]]:[],r);return a instanceof Promise?a.finally((()=>{this._after&&n&&s(this._after,n)})):(this._after&&n&&s(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 c=["title","titleTemplate","script","style","noscript"],u=["base","meta","link","style","script","noscript"],d=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],p=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],h=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],f="undefined"!=typeof window;function m(e){let t=9;for(let r=0;r>>9)).toString(16).substring(1,8).toLowerCase()}function g(e){return e._h||m(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map((([e,t])=>`${e}:${String(t)}`)).join(",")}`)}function b(e,t){const{props:r,tag:n}=e;if(p.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 v(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function O(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?O(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 y(e,t){return Object.entries(e).map((([e,r])=>{if("object"==typeof r&&(r=y(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 w=e=>({keyValue:e,metaKey:"property"}),x=e=>({keyValue:e}),k={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${E(e)}=${t}`}},articleExpirationTime:w("article:expiration_time"),articleModifiedTime:w("article:modified_time"),articlePublishedTime:w("article:published_time"),bookReleaseDate:w("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${E(e)} ${t}`},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:w("fb:app_id"),msapplicationConfig:x("msapplication-Config"),msapplicationTileColor:x("msapplication-TileColor"),msapplicationTileImage:x("msapplication-TileImage"),ogAudioSecureUrl:w("og:audio:secure_url"),ogAudioUrl:w("og:audio"),ogImageSecureUrl:w("og:image:secure_url"),ogImageUrl:w("og:image"),ogSiteName:w("og:site_name"),ogVideoSecureUrl:w("og:video:secure_url"),ogVideoUrl:w("og:video"),profileFirstName:w("profile:first_name"),profileLastName:w("profile:last_name"),profileUsername:w("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?`${E(e)}`:`${E(e)}:${t}`}},xUaCompatible:{metaKey:"http-equiv"}},_=["og","book","article","profile"];function S(e){var t;const r=E(e).split(":")[0];return _.includes(r)?"property":(null==(t=k[e])?void 0:t.metaKey)||"name"}function E(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.split("-")[0];return _.includes(r)||"twitter"===r?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function T(e){if(Array.isArray(e))return e.map((e=>T(e)));if("object"!=typeof e||Array.isArray(e))return e;const t={};for(const[r,n]of Object.entries(e))t[E(r)]=T(n);return t}function A(e,t){const r=k[t];return"refresh"===t?`${e.seconds};url=${e.url}`:y(T(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,...null==r?void 0:r.unpack})}const C=["og:image","og:video","og:audio","twitter:image"];function P(e){const t={};return Object.entries(e).forEach((([e,r])=>{"false"!==String(r)&&e&&(t[e]=r)})),t}function D(e,t){const r=P(t),n=E(e),a=S(n);if(C.includes(n)){const t={};return Object.entries(r).forEach((([r,n])=>{t[`${e}${"url"===r?"":`${r.charAt(0).toUpperCase()}${r.slice(1)}`}`]=n})),R(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 R(e){const t=[],r={};Object.entries(e).forEach((([e,n])=>{if(Array.isArray(n))n.forEach((r=>{t.push(..."string"==typeof r?R({[e]:r}):D(e,r))}));else if("object"==typeof n&&n){if(C.includes(E(e)))return void t.push(...D(e,n));r[e]=P(n)}else r[e]=n}));const n=O(r,{key:({key:e})=>S(e),value:({key:e})=>"charset"===e?"charset":"content",resolveKeyData:({key:e})=>function(e){var t;return(null==(t=k[e])?void 0:t.keyValue)||E(e)}(e),resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?A(e,t):"number"==typeof e?e.toString():e});return[...t,...n].map((e=>("_null"===e.content&&(e.content=null),e)))}function N(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 $(e,t){for(const r of Object.keys(e))if(["class","style"].includes(r))e[r]=N(r,e[r]);else if(e[r]instanceof Promise&&(e[r]=await e[r]),!t&&!h.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 I=10;async function M(e){const t=[];return Object.entries(e.resolvedInput).filter((([e,t])=>void 0!==t&&d.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 $("object"!=typeof t||"function"==typeof t||t instanceof Promise?{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t}:{...t},["templateParams","titleTemplate"].includes(e))};return h.forEach((e=>{const t=void 0!==n.props[e]?n.props[e]:r[e];void 0!==t&&(["innerHTML","textContent","children"].includes(e)&&!c.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(F)&&(e.endsWith(F)&&(e=e.slice(0,-10).trim()),e.startsWith(F)&&(e=e.slice(10).trim()),e=z(e=e.replace(new RegExp(`\\${F}\\s*\\${F}`,"g"),F),{separator:r},r)),e}function q(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:u.includes(e.tag)?g(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=>u.includes(e.tagName.toLowerCase())))){const t={tag:e.tagName.toLowerCase(),props:await $(e.getAttributeNames().reduce(((t,r)=>({...t,[r]:e.getAttribute(r)})),{})),innerHTML:e.innerHTML};let r=1,n=b(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")||g(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=[],d={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):u.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),d[t]=d[t]||n.createDocumentFragment(),d[t].appendChild(e.$el)}for(const t of o)await e.hooks.callHook("dom:renderTag",t,n,s);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.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 Z=["templateParams","htmlAttrs","bodyAttrs"],H={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=b(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&&Z.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(B(e)>B(n))return}const a=Object.keys(e.props).length+(e.innerHTML?1:0)+(e.textContent?1:0);u.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)))}}},V={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"}})}}},W=["script","link","bodyAttrs"],X=e=>({hooks:{"tags:resolve":function(t){for(const r of t.tags.filter((e=>W.includes(e.tag))))Object.entries(r.props).forEach((([t,n])=>{t.startsWith("on")&&"function"==typeof n&&(e.ssr&&U.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||m(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=>U.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","")))}}}}),Y=["link","style","script","noscript"],G={hooks:{"tag:normalise":({tag:e})=>{e.key&&Y.includes(e.tag)&&(e.props["data-hid"]=e._h=m(e.key))}}},K={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 j)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)=>B(e)-B(t)))}}},J={meta:"content",link:"href",htmlAttrs:"lang"},ee=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=J[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))}}}),te={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=v(t[r].textContent,t[n].textContent);null!==e?t[n].textContent=e||t[n].textContent:delete t[n]}else if(-1!==r){const e=v(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)}}},re={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,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}@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}}.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)}.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}: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}}.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);--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{*,: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-\\[0\\.75\\]{stroke-width:.75}.scalar-client .stroke-\\[1\\.2\\]{stroke-width:1.2}.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-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: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: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-d109beff]{max-height:calc(100% - calc(var(--scalar-app-header-height)));border-radius:8px}.scalar .scalar-app[data-v-d109beff]{background:var(--scalar-background-3);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-d109beff .35s forwards;z-index:1002;position:relative;overflow:hidden;border-radius:8px}@keyframes scalarapiclientfadein-d109beff{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-d109beff]{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-d109beff .35s forwards}.scalar .scalar-app-exit[data-v-d109beff]: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-d109beff]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-d109beff{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-d109beff]{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-d109beff]{min-height:auto!important}.scalar .scalar-container[data-v-d109beff]{line-height:normal}.scalar .scalar-app-header span[data-v-d109beff]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-d109beff]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-d109beff]:hover{text-decoration:underline}.scalar-activate[data-v-d109beff]{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-d109beff]{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-d109beff]{background:var(--scalar-background-3);border-radius:3px}.required[data-v-691e52ba]:after{content:"Required"}input[data-v-691e52ba]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-691e52ba]::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-5d101842]{-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}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-300a9075]{--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-300a9075]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-300a9075]{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-300a9075]{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-300a9075]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-300a9075]{grid-area:navigation}.references-rendered[data-v-300a9075]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-300a9075],.references-classic .references-rendered[data-v-300a9075]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-300a9075]{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-300a9075]{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-300a9075]{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-300a9075]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-300a9075]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-300a9075]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-300a9075]{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-300a9075]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-300a9075],.references-rendered[data-v-300a9075]{max-height:unset}.references-rendered[data-v-300a9075]{position:static}.references-navigation[data-v-300a9075]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-300a9075]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-300a9075]{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;function r(e,t={},n){for(const a in e){const o=e[a],i=n?`${n}:${a}`:a;"object"==typeof o&&null!==o?r(o,t,i):"function"==typeof o&&(t[i]=o)}return t}const n={run:e=>e()},a=void 0!==console.createTask?console.createTask:()=>n;function o(e,t){const r=t.shift(),n=a(r);return e.reduce(((e,r)=>e.then((()=>n.run((()=>r(...t)))))),Promise.resolve())}function i(e,t){const r=t.shift(),n=a(r);return Promise.all(e.map((e=>n.run((()=>e(...t))))))}function s(e,t){for(const r of[...e])r(t)}class l{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=r(e),n=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=r(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(o,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(i,e,...t)}callHookWith(e,t,...r){const n=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&s(this._before,n);const a=e(t in this._hooks?[...this._hooks[t]]:[],r);return a instanceof Promise?a.finally((()=>{this._after&&n&&s(this._after,n)})):(this._after&&n&&s(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 c=["title","titleTemplate","script","style","noscript"],u=["base","meta","link","style","script","noscript"],d=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],p=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],h=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],f="undefined"!=typeof window;function m(e){let t=9;for(let r=0;r>>9)).toString(16).substring(1,8).toLowerCase()}function g(e){return e._h||m(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map((([e,t])=>`${e}:${String(t)}`)).join(",")}`)}function b(e,t){const{props:r,tag:n}=e;if(p.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 v(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function O(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?O(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 y(e,t){return Object.entries(e).map((([e,r])=>{if("object"==typeof r&&(r=y(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 w=e=>({keyValue:e,metaKey:"property"}),x=e=>({keyValue:e}),k={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${E(e)}=${t}`}},articleExpirationTime:w("article:expiration_time"),articleModifiedTime:w("article:modified_time"),articlePublishedTime:w("article:published_time"),bookReleaseDate:w("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${E(e)} ${t}`},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:w("fb:app_id"),msapplicationConfig:x("msapplication-Config"),msapplicationTileColor:x("msapplication-TileColor"),msapplicationTileImage:x("msapplication-TileImage"),ogAudioSecureUrl:w("og:audio:secure_url"),ogAudioUrl:w("og:audio"),ogImageSecureUrl:w("og:image:secure_url"),ogImageUrl:w("og:image"),ogSiteName:w("og:site_name"),ogVideoSecureUrl:w("og:video:secure_url"),ogVideoUrl:w("og:video"),profileFirstName:w("profile:first_name"),profileLastName:w("profile:last_name"),profileUsername:w("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?`${E(e)}`:`${E(e)}:${t}`}},xUaCompatible:{metaKey:"http-equiv"}},_=["og","book","article","profile"];function S(e){var t;const r=E(e).split(":")[0];return _.includes(r)?"property":(null==(t=k[e])?void 0:t.metaKey)||"name"}function E(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.split("-")[0];return _.includes(r)||"twitter"===r?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function T(e){if(Array.isArray(e))return e.map((e=>T(e)));if("object"!=typeof e||Array.isArray(e))return e;const t={};for(const[r,n]of Object.entries(e))t[E(r)]=T(n);return t}function A(e,t){const r=k[t];return"refresh"===t?`${e.seconds};url=${e.url}`:y(T(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,...null==r?void 0:r.unpack})}const C=["og:image","og:video","og:audio","twitter:image"];function P(e){const t={};return Object.entries(e).forEach((([e,r])=>{"false"!==String(r)&&e&&(t[e]=r)})),t}function D(e,t){const r=P(t),n=E(e),a=S(n);if(C.includes(n)){const t={};return Object.entries(r).forEach((([r,n])=>{t[`${e}${"url"===r?"":`${r.charAt(0).toUpperCase()}${r.slice(1)}`}`]=n})),R(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 R(e){const t=[],r={};Object.entries(e).forEach((([e,n])=>{if(Array.isArray(n))n.forEach((r=>{t.push(..."string"==typeof r?R({[e]:r}):D(e,r))}));else if("object"==typeof n&&n){if(C.includes(E(e)))return void t.push(...D(e,n));r[e]=P(n)}else r[e]=n}));const n=O(r,{key:({key:e})=>S(e),value:({key:e})=>"charset"===e?"charset":"content",resolveKeyData:({key:e})=>function(e){var t;return(null==(t=k[e])?void 0:t.keyValue)||E(e)}(e),resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?A(e,t):"number"==typeof e?e.toString():e});return[...t,...n].map((e=>("_null"===e.content&&(e.content=null),e)))}function N(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 $(e,t){for(const r of Object.keys(e))if(["class","style"].includes(r))e[r]=N(r,e[r]);else if(e[r]instanceof Promise&&(e[r]=await e[r]),!t&&!h.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 I=10;async function M(e){const t=[];return Object.entries(e.resolvedInput).filter((([e,t])=>void 0!==t&&d.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 $("object"!=typeof t||"function"==typeof t||t instanceof Promise?{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t}:{...t},["templateParams","titleTemplate"].includes(e))};return h.forEach((e=>{const t=void 0!==n.props[e]?n.props[e]:r[e];void 0!==t&&(["innerHTML","textContent","children"].includes(e)&&!c.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(F)&&(e.endsWith(F)&&(e=e.slice(0,-10).trim()),e.startsWith(F)&&(e=e.slice(10).trim()),e=z(e=e.replace(new RegExp(`\\${F}\\s*\\${F}`,"g"),F),{separator:r},r)),e}function q(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:u.includes(e.tag)?g(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=>u.includes(e.tagName.toLowerCase())))){const t={tag:e.tagName.toLowerCase(),props:await $(e.getAttributeNames().reduce(((t,r)=>({...t,[r]:e.getAttribute(r)})),{})),innerHTML:e.innerHTML};let r=1,n=b(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")||g(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=[],d={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):u.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),d[t]=d[t]||n.createDocumentFragment(),d[t].appendChild(e.$el)}for(const t of o)await e.hooks.callHook("dom:renderTag",t,n,s);d.head&&n.head.appendChild(d.head),d.bodyOpen&&n.body.insertBefore(d.bodyOpen,n.body.firstChild),d.bodyClose&&n.body.appendChild(d.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 Z=["templateParams","htmlAttrs","bodyAttrs"],H={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=b(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&&Z.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(B(e)>B(n))return}const a=Object.keys(e.props).length+(e.innerHTML?1:0)+(e.textContent?1:0);u.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)))}}},V={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"}})}}},W=["script","link","bodyAttrs"],X=e=>({hooks:{"tags:resolve":function(t){for(const r of t.tags.filter((e=>W.includes(e.tag))))Object.entries(r.props).forEach((([t,n])=>{t.startsWith("on")&&"function"==typeof n&&(e.ssr&&U.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||m(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=>U.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","")))}}}}),Y=["link","style","script","noscript"],G={hooks:{"tag:normalise":({tag:e})=>{e.key&&Y.includes(e.tag)&&(e.props["data-hid"]=e._h=m(e.key))}}},K={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 j)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)=>B(e)-B(t)))}}},J={meta:"content",link:"href",htmlAttrs:"lang"},ee=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=J[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))}}}),te={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=v(t[r].textContent,t[n].textContent);null!==e?t[n].textContent=e||t[n].textContent:delete t[n]}else if(-1!==r){const e=v(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)}}},re={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=>hi(e,r)))},n=()=>{const n=e(t.proxy);pi(t.subTree,n),r(n)};Tn((()=>{qa(n,null,{flush:"post"});const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),Dn((()=>e.disconnect()))}))}function pi(e,t){if(128&e.shapeFlag){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push((()=>{pi(r.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)hi(e.el,t);else if(e.type===lo)e.children.forEach((e=>pi(e,t)));else if(e.type===po){let{el:r,anchor:n}=e;for(;r&&(hi(r,t),r!==n);)r=r.nextSibling}}function hi(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[ui]=n}}const fi=/(^|;)\s*display\s*:/,mi=/\s*!important$/;function gi(e,t,r){if(ge(r))r.forEach((r=>gi(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=function(e,t){const r=vi[t];if(r)return r;let n=Ne(t);if("filter"!==n&&n in e)return vi[t]=n;n=Me(n);for(let r=0;r_i||(Si.then((()=>_i=0)),_i=Date.now()),Ti=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ai=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ge(t)?e=>Be(t,e):t};function Ci(e){e.target.composing=!0}function Pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Di=Symbol("_assign"),Ri={created(e,{modifiers:{lazy:t,trim:r,number:n}},a){e[Di]=Ai(a);const o=n||a.props&&"number"===a.props.type;wi(e,t?"change":"input",(t=>{if(t.target.composing)return;let n=e.value;r&&(n=n.trim()),o&&(n=Ue(n)),e[Di](n)})),r&&wi(e,"change",(()=>{e.value=e.value.trim()})),t||(wi(e,"compositionstart",Ci),wi(e,"compositionend",Pi),wi(e,"change",Pi))},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[Di]=Ai(i),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Ue(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}}},Ni={deep:!0,created(e,t,r){e[Di]=Ai(r),wi(e,"change",(()=>{const t=e._modelValue,r=Li(e),n=e.checked,a=e[Di];if(ge(t)){const e=et(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(ve(t)){const e=new Set(t);n?e.add(r):e.delete(r),a(e)}else a(Qi(e,n))}))},mounted:$i,beforeUpdate(e,t,r){e[Di]=Ai(r),$i(e,t,r)}};function $i(e,{value:t,oldValue:r},n){e._modelValue=t,ge(t)?e.checked=et(t,n.props.value)>-1:ve(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=Je(t,Qi(e,!0)))}const Ii={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const a=ve(t);wi(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>r?Ue(Li(e)):Li(e)));e[Di](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,Yr((()=>{e._assigning=!1}))})),e[Di]=Ai(n)},mounted(e,{value:t,modifiers:{number:r}}){Mi(e,t)},beforeUpdate(e,t,r){e[Di]=Ai(r)},updated(e,{value:t,modifiers:{number:r}}){e._assigning||Mi(e,t)}};function Mi(e,t,r){const n=e.multiple,a=ge(t);if(!n||a||ve(t)){for(let r=0,o=e.options.length;rString(e)===String(i))):et(t,i)>-1}else o.selected=t.has(i);else if(Je(Li(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Li(e){return"_value"in e?e._value:e.value}function Qi(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Bi=["ctrl","shift","alt","meta"],ji={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)=>Bi.some((r=>e[`${r}Key`]&&!t.includes(r)))},Ui=(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=Ie(r.key);return t.some((e=>e===n||Fi[e]===n))?e(r):void 0})},qi=pe({patchProp:(e,t,r,n,a,o,i,s,l)=>{const c="svg"===a;"class"===t?function(e,t,r){const n=e[oi];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=we(r);let o=!1;if(r&&!a){if(t)if(we(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&gi(n,t,"")}else for(const e in t)null==r[e]&&gi(n,e,"");for(const e in r)"display"===e&&(o=!0),gi(n,e,r[e])}else if(a){if(t!==r){const e=n[ui];e&&(r+=";"+e),n.cssText=r,o=fi.test(r)}}else t&&e.removeAttribute("style");ii in e&&(e[ii]=o?n.display:"",e[si]&&(n.display="none"))}(e,r,n):ue(t)?de(t)||function(e,t,r,n,a=null){const o=e[xi]||(e[xi]={}),i=o[t];if(n&&i)i.value=n;else{const[r,s]=function(e){let t;if(ki.test(e)){let r;for(t={};r=e.match(ki);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Ie(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();Br(function(e,t){if(ge(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=Ei(),r}(n,a);wi(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&&Ti(t)&&ye(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(!Ti(t)||!we(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=Ke(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||yi(e,t,n,c,0,"value"!==t)):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),yi(e,t,n,c))}},ai);let Zi;const Hi=(...e)=>{const t=(Zi||(Zi=Na(qi))).createApp(...e),{mount:r}=t;return t.mount=e=>{const n=function(e){return we(e)?document.querySelector(e):e}(e);if(!n)return;const a=t._component;ye(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},Vi=ti.startsWith("3");function Wi(e,t=""){if(e instanceof Promise)return e;const r="function"==typeof(n=e)?n():Dr(n);var n;return e&&r?Array.isArray(r)?r.map((e=>Wi(e,t))):"object"==typeof r?Object.fromEntries(Object.entries(r).map((([e,t])=>"titleTemplate"===e||e.startsWith("on")?[e,Dr(t)]:[e,Wi(t,e)]))):r:r}const Xi={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Wi(t.input)}}},Yi="usehead";function Gi(e={}){e.domDelayFn=e.domDelayFn||(e=>Yr((()=>setTimeout((()=>e()),0))));const t=function(e={}){const t=function(e={}){const t=new l;t.addHooks(e.hooks||{}),e.document=e.document||(f?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),ae(n.mode,r)&&t.addHooks(n.hooks||{}))},push(e,i){null==i||delete i.head;const l={_i:a++,input:e,...i};return ae(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 M(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[H,V,X,G,K,ee,te,re,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),s.hooks.callHook("init",s),s}(e);return t.use(q()),ne=t}(e);return t.use(Xi),t.install=function(e){return{install(t){Vi&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Yi,e))}}.install}(t),t}const Ki="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ji="__unhead_injection_handler__";function es(e,t={}){const r=t.head||(Ji in Ki?Ki[Ji]():ma(Yi)||ne);if(r)return r.ssr?r.push(e,t):function(e,t,r={}){const n=Tr(!1),a=Tr({});Ua((()=>{a.value=n.value?{}:Wi(t)}));const o=e.push(a.value,r);return za(a,(e=>{o.patch(e)})),jo()&&(Pn((()=>{o.dispose()})),Ya((()=>{n.value=!0})),Xa((()=>{n.value=!1}))),o}(r,e,t)}const ts=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"];function rs(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=ns(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 ns(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 as(e){return[e.apiKey.token,e.http.bearer.token,e.oAuth2.accessToken,ns(e.http.basic.username,e.http.basic.password),e.http.basic.password].filter(Boolean)}const os=(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("")},is=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),ls=(e,...t)=>{if(!t.length)return e;const r=t.shift();if(ss(e)&&ss(r))for(const t in r)ss(r[t])?(e[t]||Object.assign(e,{[t]:{}}),ls(e[t],r[t])):Object.assign(e,{[t]:r[t]});return ls(e,...t)};function cs(e,t){if(!us(e,t))return t??"";const r=new URL(t);return r.href=e,r.searchParams.append("scalar_url",t),r.toString()}function us(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 ds=Symbol.for("yaml.alias"),ps=Symbol.for("yaml.document"),hs=Symbol.for("yaml.map"),fs=Symbol.for("yaml.pair"),ms=Symbol.for("yaml.scalar"),gs=Symbol.for("yaml.seq"),bs=Symbol.for("yaml.node.type"),vs=e=>!!e&&"object"==typeof e&&e[bs]===ds,Os=e=>!!e&&"object"==typeof e&&e[bs]===ps,ys=e=>!!e&&"object"==typeof e&&e[bs]===hs,ws=e=>!!e&&"object"==typeof e&&e[bs]===fs,xs=e=>!!e&&"object"==typeof e&&e[bs]===ms,ks=e=>!!e&&"object"==typeof e&&e[bs]===gs;function _s(e){if(e&&"object"==typeof e)switch(e[bs]){case hs:case gs:return!0}return!1}function Ss(e){if(e&&"object"==typeof e)switch(e[bs]){case ds:case hs:case ms:case gs:return!0}return!1}const Es=e=>(xs(e)||_s(e))&&!!e.anchor,Ts=Symbol("break visit"),As=Symbol("skip children"),Cs=Symbol("remove node");function Ps(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);Os(e)?Ds(null,e.contents,r,Object.freeze([e]))===Cs&&(e.contents=null):Ds(null,e,r,Object.freeze([]))}function Ds(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):ys(t)?null==(a=r.Map)?void 0:a.call(r,e,t,n):ks(t)?null==(o=r.Seq)?void 0:o.call(r,e,t,n):ws(t)?null==(i=r.Pair)?void 0:i.call(r,e,t,n):xs(t)?null==(s=r.Scalar)?void 0:s.call(r,e,t,n):vs(t)?null==(l=r.Alias)?void 0:l.call(r,e,t,n):void 0}(e,t,r,n);if(Ss(a)||ws(a))return function(e,t,r){const n=t[t.length-1];if(_s(n))n.items[e]=r;else if(ws(n))"key"===e?n.key=r:n.value=r;else{if(!Os(n)){const e=vs(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=r}}(e,n,a),Ds(e,a,r,n);if("symbol"!=typeof a)if(_s(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=>Rs[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&&Ss(e.contents)){const t={};Ps(e.contents,((e,r)=>{Ss(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 $s(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 Is(e){const t=new Set;return Ps(e,{Value(e,r){r.anchor&&t.add(r.anchor)}}),t}function Ms(e,t){for(let r=1;;++r){const n=`${e}${r}`;if(!t.has(n))return n}}function Ls(e,t,r,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,r=n.length;tQs(e,String(t),r)));if(e&&"function"==typeof e.toJSON){if(!r||!Es(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)}Ns.defaultYaml={explicit:!1,version:"1.2"},Ns.defaultTags={"!!":"tag:yaml.org,2002:"};class Bs{constructor(e){Object.defineProperty(this,bs,{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(!Os(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=Qs(this,"",o);if("function"==typeof n)for(const{count:e,res:t}of o.anchors.values())n(t,e);return"function"==typeof a?Ls(a,{"":i},"",i):i}}let js=class extends Bs{constructor(e){super(ds),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return Ps(e,{Node:(e,r)=>{if(r===this)return Ps.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||(Qs(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=Us(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($s(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 Us(e,t,r){if(vs(t)){const n=t.resolve(e),a=r&&n&&r.get(n);return a?a.count*a.aliasCount:0}if(_s(t)){let n=0;for(const a of t.items){const t=Us(e,a,r);t>n&&(n=t)}return n}if(ws(t)){const n=Us(e,t.key,r),a=Us(e,t.value,r);return Math.max(n,a)}return 1}const Fs=e=>!e||"function"!=typeof e&&"object"!=typeof e;class zs extends Bs{constructor(e){super(ms),this.value=e}toJSON(e,t){return(null==t?void 0:t.keep)?this.value:Qs(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 qs="tag:yaml.org,2002:";function Zs(e,t,r){var n,a,o;if(Os(e)&&(e=e.contents),Ss(e))return e;if(ws(e)){const t=null==(a=(n=r.schema[hs]).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 js(d.anchor);d={anchor:null,node:null},u.set(e,d)}(null==t?void 0:t.startsWith("!!"))&&(t=qs+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[hs]:Symbol.iterator in Object(e)?c[gs]:c[hs]}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 Hs(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 Zs(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 Vs=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Ws extends Bs{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=>Ss(t)||ws(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Vs(e))this.add(t);else{const[r,...n]=e,a=this.get(r,!0);if(_s(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,Hs(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(_s(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&&xs(a)?a.value:a:_s(a)?a.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!ws(t))return!1;const r=t.value;return null==r||e&&xs(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!!_s(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(_s(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,Hs(this.schema,n,t))}}}}Ws.maxFlowStringSingleLineLength=60;const Xs=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ys(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Gs=(e,t,r)=>e.endsWith("\n")?Ys(r,t):r.includes("\n")?"\n"+Ys(r,t):(e.endsWith(" ")?"":" ")+r,Ks="flow",Js="block",el="quoted";function tl(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===Js&&(m=rl(e,m,t.length),-1!==m&&(h=m+l));for(let n;n=e[m+=1];){if(r===el&&"\\"===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===Js&&(m=rl(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===el){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}),al=e=>/^(%|---|\.\.\.)/m.test(e);function ol(e,t){const r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;const{implicitKey:n}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(al(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(ll,`$&${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}${tl(`${v}${r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Js,nl(n,!0))}`}function ul(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?sl(i.value,t):cl(i,t,r,n);case zs.QUOTE_DOUBLE:return ol(i.value,t);case zs.QUOTE_SINGLE:return il(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 sl(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?sl(o,t):cl(e,t,r,n);if(!s&&!u&&a!==zs.PLAIN&&o.includes("\n"))return cl(e,t,r,n);if(al(o)){if(""===l)return t.forceBlockIndent=!0,cl(e,t,r,n);if(s&&l===c)return sl(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 sl(o,t)}return s?d:tl(d,l,Ks,nl(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 dl(e,t){const r=Object.assign({blockQuote:!0,commentString:Xs,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 pl(e,t,r,n){var a;if(ws(e))return e.toString(t,r,n);if(vs(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=Ss(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(xs(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=(xs(e)||_s(e))&&e.anchor;o&&$s(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):xs(i)?ul(i,t,r,n):i.toString(t,r,n);return s?xs(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}function hl(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function fl(e,t,{key:r,value:n}){if((null==e?void 0:e.doc.schema.merge)&&ml(r))if(n=vs(n)?n.resolve(e.doc):n,ks(n))for(const r of n.items)gl(e,t,r);else if(Array.isArray(n))for(const r of n)gl(e,t,r);else gl(e,t,n);else{const a=Qs(r,"",e);if(t instanceof Map)t.set(a,Qs(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(Ss(e)&&(null==r?void 0:r.doc)){const t=dl(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)+'..."'),hl(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=Qs(n,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}const ml=e=>"<<"===e||xs(e)&&"<<"===e.value&&(!e.type||e.type===zs.PLAIN);function gl(e,t,r){const n=e&&vs(r)?r.resolve(e.doc):r;if(!ys(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 bl(e,t,r){const n=Zs(e,void 0,r),a=Zs(t,void 0,r);return new vl(n,a)}class vl{constructor(e,t=null){Object.defineProperty(this,bs,{value:fs}),this.key=e,this.value=t}clone(e){let{key:t,value:r}=this;return Ss(t)&&(t=t.clone(e)),Ss(r)&&(r=r.clone(e)),new vl(t,r)}toJSON(e,t){return fl(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=Ss(e)&&e.comment||null;if(d){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(_s(e)||!Ss(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||_s(e)||(xs(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=pl(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+=Gs(O,r.indent,c(p)):v&&a&&a(),O;b&&(p=null),h?(p&&(O+=Gs(O,r.indent,c(p))),O=`? ${O}\n${s}:`):(O=`${O}:`,p&&(O+=Gs(O,r.indent,c(p)))),Ss(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||!xs(t)||(r.indentAtStart=O.length+1),v=!1,u||!(l.length>=2)||r.inFlow||h||!ks(t)||t.flow||t.tag||t.anchor||(r.indent=r.indent.substring(2));let y=!1;const w=pl(t,r,(()=>y=!0),(()=>v=!0));let x=" ";if(p||f||m)x=f?"\n":"",m&&(x+=`\n${Ys(c(m),r.indent)}`),""!==w||r.inFlow?x+=`\n${r.indent}`:"\n"===x&&(x="\n\n");else if(!h&&_s(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+=Gs(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 xl({indent:e,options:{commentString:t}},r,n,a){if(n&&a&&(n=n.replace(/^\n+/,"")),n){const a=Ys(t(n),e);r.push(a.trimStart())}}function kl(e,t){const r=xs(t)?t.value:t;for(const n of e)if(ws(n)){if(n.key===t||n.key===r)return n;if(xs(n.key)&&n.key.value===r)return n}}class _l extends Ws{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(hs,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(bl(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=ws(e)?e:e&&"object"==typeof e&&"key"in e?new vl(e.key,e.value):new vl(e,null==e?void 0:e.value);const a=kl(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`);xs(a.value)&&Fs(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=kl(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=kl(this.items,e),n=null==r?void 0:r.value;return(!t&&xs(n)?n.value:n)??void 0}has(e){return!!kl(this.items,e)}set(e,t){this.add(new vl(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)fl(t,n,e);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items)if(!ws(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})),Ol(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:r,onComment:t})}}const Sl={collection:"map",default:!0,nodeClass:_l,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(ys(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,r)=>_l.from(e,t,r)};class El extends Ws{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(gs,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Tl(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const r=Tl(e);if("number"!=typeof r)return;const n=this.items[r];return!t&&xs(n)?n.value:n}has(e){const t=Tl(e);return"number"==typeof t&&t=0?t:null}const Al={collection:"seq",default:!0,nodeClass:El,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(ks(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,r)=>El.from(e,t,r)},Cl={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,r,n)=>ul(e,t=Object.assign({actualString:!0},t),r,n)},Pl={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&&Pl.test.test(e)?e:t.options.nullStr},Dl={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&&Dl.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?r.options.trueStr:r.options.falseStr};function Rl({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 Nl={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:Rl},$l={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():Rl(e)}},Il={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:Rl},Ml=e=>"bigint"==typeof e||Number.isInteger(e),Ll=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function Ql(e,t,r){const{value:n}=e;return Ml(n)&&n>=0?r+n.toString(t):Rl(e)}const Bl={identify:e=>Ml(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>Ll(e,2,8,r),stringify:e=>Ql(e,8,"0o")},jl={identify:Ml,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>Ll(e,0,10,r),stringify:Rl},Ul={identify:e=>Ml(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>Ll(e,2,16,r),stringify:e=>Ql(e,16,"0x")},Fl=[Sl,Al,Cl,Pl,Dl,Bl,jl,Ul,Nl,$l,Il];function zl(e){return"bigint"==typeof e||Number.isInteger(e)}const ql=({value:e})=>JSON.stringify(e),Zl=[Sl,Al].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:ql},{identify:e=>null==e,createNode:()=>new zs(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ql},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:ql},{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:ql}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Hl={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 vl(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]=ws(n)?n:new vl(n)}}else t("Expected a sequence for this tag");return e}function Wl(e,t,r){const{replacer:n}=r,a=new El(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(bl(i,s,r))}return a}const Xl={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Vl,createNode:Wl};class Yl extends El{constructor(){super(),this.add=_l.prototype.add.bind(this),this.delete=_l.prototype.delete.bind(this),this.get=_l.prototype.get.bind(this),this.has=_l.prototype.has.bind(this),this.set=_l.prototype.set.bind(this),this.tag=Yl.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(ws(e)?(n=Qs(e.key,"",t),a=Qs(e.value,n,t)):n=Qs(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=Wl(e,t,r),a=new this;return a.items=n.items,a}}Yl.tag="tag:yaml.org,2002:omap";const Gl={collection:"seq",identify:e=>e instanceof Map,nodeClass:Yl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const r=Vl(e,t),n=[];for(const{key:e}of r.items)xs(e)&&(n.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new Yl,r)},createNode:(e,t,r)=>Yl.from(e,t,r)};function Kl({value:e,source:t},r){return t&&(e?Jl:ec).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}const Jl={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:Kl},ec={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:Kl},tc={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:Rl},rc={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():Rl(e)}},nc={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:Rl},ac=e=>"bigint"==typeof e||Number.isInteger(e);function oc(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 ic(e,t,r){const{value:n}=e;if(ac(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return Rl(e)}const sc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>oc(e,2,2,r),stringify:e=>ic(e,2,"0b")},lc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>oc(e,1,8,r),stringify:e=>ic(e,8,"0")},cc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>oc(e,0,10,r),stringify:Rl},uc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>oc(e,2,16,r),stringify:e=>ic(e,16,"0x")};class dc extends _l{constructor(e){super(e),this.tag=dc.tag}add(e){let t;t=ws(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new vl(e.key,null):new vl(e,null),kl(this.items,t.key)||this.items.push(t)}get(e,t){const r=kl(this.items,e);return!t&&ws(r)?xs(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=kl(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new vl(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(bl(e,null,r));return a}}dc.tag="tag:yaml.org,2002:set";const pc={collection:"map",identify:e=>e instanceof Set,nodeClass:dc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>dc.from(e,t,r),resolve(e,t){if(ys(e)){if(e.hasAllNullValues(!0))return Object.assign(new dc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function hc(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 fc(e){let{value:t}=e,r=e=>e;if("bigint"==typeof t)r=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Rl(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 mc={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})=>hc(e,r),stringify:fc},gc={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=>hc(e,!1),stringify:fc},bc={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(bc.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=hc(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$/,"")},vc=[Sl,Al,Cl,Pl,Jl,ec,sc,lc,cc,uc,tc,rc,nc,Hl,Gl,Xl,pc,mc,gc,bc],Oc=new Map([["core",Fl],["failsafe",[Sl,Al,Cl]],["json",Zl],["yaml11",vc],["yaml-1.1",vc]]),yc={binary:Hl,bool:Dl,float:Il,floatExp:$l,floatNaN:Nl,floatTime:gc,int:jl,intHex:Ul,intOct:Bl,intTime:mc,map:Sl,null:Pl,omap:Gl,pairs:Xl,seq:Al,set:pc,timestamp:bc},wc={"tag:yaml.org,2002:binary":Hl,"tag:yaml.org,2002:omap":Gl,"tag:yaml.org,2002:pairs":Xl,"tag:yaml.org,2002:set":pc,"tag:yaml.org,2002:timestamp":bc};function xc(e,t){let r=Oc.get(t);if(!r){if(!Array.isArray(e)){const e=Array.from(Oc.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=yc[e];if(t)return t;const r=Object.keys(yc).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${r}`)}))}const kc=(e,t)=>e.keyt.key?1:0;class _c{constructor(e,t,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,bs,{value:ps});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 Ns({version:o}),this.setSchema(o,r),this.contents=void 0===e?null:this.createNode(e,n,r)}clone(){const e=Object.create(_c.prototype,{[bs]:{value:ps}});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=Ss(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Sc(this.contents)&&this.contents.add(e)}addIn(e,t){Sc(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const r=Is(this);e.anchor=!t||r.has(t)?Ms(t||"a",r):t}return new js(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=Is(e));const o=Ms(t,a);return a.add(o),o},setAnchors:()=>{for(const e of r){const t=n.get(e);if("object"!=typeof t||!t.anchor||!xs(t.node)&&!_s(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=Zs(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:n,schema:this.schema,sourceObjects:p});return i&&_s(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 vl(n,a)}delete(e){return!!Sc(this.contents)&&this.contents.delete(e)}deleteIn(e){return Vs(e)?null!=this.contents&&(this.contents=null,!0):!!Sc(this.contents)&&this.contents.deleteIn(e)}get(e,t){return _s(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return Vs(e)?!t&&xs(this.contents)?this.contents.value:this.contents:_s(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!_s(this.contents)&&this.contents.has(e)}hasIn(e){return Vs(e)?void 0!==this.contents:!!_s(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Hs(this.schema,[e],t):Sc(this.contents)&&this.contents.set(e,t)}setIn(e,t){Vs(e)?this.contents=t:null==this.contents?this.contents=Hs(this.schema,Array.from(e),t):Sc(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 Ns({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 Ns({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)?xc(e,"compat"):e?xc(null,e):null,this.merge=!!r,this.name="string"==typeof a&&a||"core",this.knownTags=n?wc:{},this.tags=xc(t,this.name),this.toStringOptions=i??null,Object.defineProperty(this,hs,{value:Sl}),Object.defineProperty(this,ms,{value:Cl}),Object.defineProperty(this,gs,{value:Al}),this.sortMapEntries="function"==typeof o?o:!0===o?kc: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=Qs(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?Ls(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=dl(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(Ys(t,""))}let s=!1,l=null;if(e.contents){if(Ss(e.contents)){if(e.contents.spaceBefore&&a&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(Ys(t,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0;let r=pl(e.contents,o,(()=>l=null),t);l&&(r+=Gs(r,"",i(l))),"|"!==r[0]&&">"!==r[0]||"---"!==n[n.length-1]?n.push(r):n[n.length-1]=`--- ${r}`}else n.push(pl(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(Ys(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(Ys(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Sc(e){if(_s(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Ec extends Error{constructor(e,t,r,n){super(),this.name=e,this.code=r,this.message=n,this.pos=t}}class Tc extends Ec{constructor(e,t,r){super("YAMLParseError",e,t,r)}}class Ac extends Ec{constructor(e,t,r){super("YAMLWarning",e,t,r)}}const Cc=(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 Pc(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 Dc(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(Dc(t.key)||Dc(t.value))return!0}return!1;default:return!0}}function Rc(e,t,r){if("flow-collection"===(null==t?void 0:t.type)){const n=t.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!Dc(t)||r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Nc(e,t,r){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const a="function"==typeof n?n:(t,r)=>t===r||xs(t)&&xs(r)&&t.value===r.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>a(e.key,r)))}const $c="All mapping items must start at the same column";function Ic(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 Mc="Block collections are not allowed within flow collections",Lc=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Qc(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)??_l)(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=Pc(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",$c)),!f.anchor&&!f.tag&&!p){c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment);continue}(f.hasNewlineAfterProp||Dc(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",$c);const g=f.end,b=d?e(r,d,f,a):t(r,g,u,null,f,a);r.schema.compat&&Rc(n.indent,d,a),Nc(r,s.items,b)&&a(g,"DUPLICATE_KEY","Map keys must be unique");const v=Pc(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=Ic(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 Bc(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}`),Bc(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"),Bc(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=Ic(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[ms];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[ms])}(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[ms];if(t.compat){const i=t.compat.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(r))}))??t[ms];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[ms];let u;try{const o=c.resolve(a,(e=>n(r??t,"TAG_RESOLVE_FAILED",e)),e.options);u=xs(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 qc(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 Zc={composeNode:Hc,composeEmptyNode:Vc};function Hc(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 js(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=Ic(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===_l.tagName&&"map"===s||i===El.tagName&&"seq"===s||!s)return Qc(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),Qc(e,t,r,a,i);t.schema.tags.push(Object.assign({},o,{default:!1})),l=o}const c=Qc(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=Ss(u)?u:new zs(u);return d.range=c.range,d.tag=i,(null==l?void 0:l.format)&&(d.format=l.format),d}(Zc,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=Vc(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 Vc(e,t,r,n,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){const u=zc(e,{type:"scalar",offset:qc(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 Wc(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 Xc(e){var t;let r="",n=!1,a=!1;for(let o=0;o{const a=Wc(e);n?this.warnings.push(new Ac(a,t,r)):this.errors.push(new Tc(a,t,r))},this.directives=new Ns({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:r,afterEmptyLine:n}=Xc(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(_s(a)&&!a.flow&&a.items.length>0){let e=a.items[0];ws(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:Xc(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=Wc(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 _c(void 0,s),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=Pc(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?Hc(c,a,u,i):Vc(c,u.end,n,null,u,i);const d=l.contents.range[2],p=Ic(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 Tc(Wc(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 Tc(Wc(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Ic(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 Tc(Wc(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 _c(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 Gc(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const Kc=new Set("0123456789ABCDEFabcdef"),Jc=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),eu=new Set(",[]{}"),tu=new Set(" ,[]{}\n\r\t"),ru=e=>!e||tu.has(e);class nu{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)&&Gc(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&ðis.indentValue&&!Gc(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)&&Gc(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(ru),"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=>Gc(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(Gc(t)||e&&eu.has(t))break;r=n}else if(Gc(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&&eu.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&&eu.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(ru))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Gc(t)||e&&eu.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(;!Gc(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(Jc.has(t))t=this.buffer[++e];else{if("%"!==t||!Kc.has(this.buffer[e+1])||!Kc.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 au{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 uu(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||ou(t.start,"explicit-key-ind")||ou(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,su(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 du=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 nu,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&&uu(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===iu(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(ou(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(su(r.key)&&!ou(r.sep,"newline")){const e=cu(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(ou(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{const e=cu(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]}):ou(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||ou(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=cu(lu(t));uu(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=cu(lu(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=cu(lu(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 pu(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 au||null,prettyErrors:t}}(t),a=new du(null==r?void 0:r.addNewLine),o=new Yc(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 Tc(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(Cc(e,r)),i.warnings.forEach(Cc(e,r))),i}(e,r);if(!a)return null;if(a.warnings.forEach((e=>hl(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 hu={parse:e=>{const t=pu(e);if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return hu.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 _c(e,n,r).toString(r)}},fu={parse:e=>{const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return fu.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},mu=e=>"string"==typeof e&&!!fu.parseSafe(e,!1),gu="https://api.scalar.com/request-proxy",bu="https://proxy.scalar.com";async function vu(e,t){t===gu&&(t=bu);const r=await fetch(t?cs(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 Ou={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"}},yu={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"}},wu=(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 wu(a,t,r)};function xu(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 ku(e,t){return Object.keys(e).forEach((r=>{Object.hasOwn(t,r)||delete e[r]})),Object.assign(e,t),e}const _u=e=>{if("string"==typeof e)return mu(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 Su(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 Eu="undefined"!=typeof window?window.__SCALAR__??{}:{};function Tu(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)?Su(null==r?void 0:r.url,e.variables):null==r?void 0:r.url}const Au="GET",Cu=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${Au} as the default.`),Au;const t=e.trim().toUpperCase();return r=t,ts.includes(r)?t:(console.warn(`${e} is not a valid request method. Using ${Au} as the default.`),Au);var r},Pu=dr({showApiClient:!1,activeApiClientEndpointId:"",activeItem:{},snippetType:"javascript"});function Du(e,t=!1){Pu.showApiClient=!!t||!Pu.showApiClient,e&&(Pu.activeItem=e)}function Ru(){Pu.showApiClient=!1}function Nu(e){Pu.activeApiClientEndpointId=e}function $u(e){Pu.snippetType=e}const Iu=()=>({state:hr(Pu),toggleApiClient:Du,setActiveApiClientEndpointId:Nu,setSnippetType:$u,hideApiClient:Ru}),Mu=dr(Eu["useGlobalStore-authentication"]??{preferredSecurityScheme:null,customSecurity:!1,http:{basic:{username:"",password:""},bearer:{token:""}},apiKey:{token:""},oAuth2:{username:"",password:"",clientId:"",scopes:[],accessToken:"",state:""}}),Lu=e=>Object.assign(Mu,e),Qu=()=>({authentication:Mu,setAuthentication:Lu}),Bu=dr({operation:{},globalSecurity:[]}),ju=e=>{Object.assign(Bu,{...Bu,operation:e})},Uu=e=>{Object.assign(Bu,{...Bu,globalSecurity:e})},Fu=()=>({openApi:Bu,setOperation:ju,setGlobalSecurity:Uu}),zu=dr({}),qu=Tr([]),Zu=Tr(""),Hu=dr({name:"",url:"",type:"GET",path:"",variables:[],headers:[],query:[],body:"",formData:[]}),Vu=Jo((()=>{var e;return Zu.value?null==(e=zu[Zu.value??""])?void 0:e.response:null})),Wu=Tr(!0),Xu=dr({selectedServer:null,servers:[],variables:{}}),Yu=e=>{Object.assign(Xu,{...Xu,...e})},Gu=()=>({server:Xu,setServer:Yu}),Ku=".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}",Ju=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],ed=Ju.map((([e])=>e)),td={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",none:""},rd={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:Ku,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}"},nd=e=>"none"===e?"":rd[e||"default"]??Ku,ad=(e,t)=>{const{variables:r=!0,fonts:n=!0,layer:a="scalar-theme"}=t??{},o=[nd(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 od=Object.defineProperty,id=(e,t,r)=>(((e,t,r)=>{t in e?od(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 sd=0;const ld=new class{constructor(){id(this,"subscribers"),id(this,"toasts"),id(this,"subscribe",(e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}))),id(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))})),id(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]})),id(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:sd++,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})),id(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))),id(this,"message",((e,t)=>this.create({...t,message:e,type:"default"}))),id(this,"error",((e,t)=>this.create({...t,type:"error",message:e}))),id(this,"success",((e,t)=>this.create({...t,type:"success",message:e}))),id(this,"info",((e,t)=>this.create({...t,type:"info",message:e}))),id(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e}))),id(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e}))),id(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})),id(this,"custom",((e,t)=>{const r=(null==t?void 0:t.id)||sd++;return this.publish({component:e,id:r,...t}),r})),this.subscribers=[],this.toasts=[]}},cd=Object.assign(((e,t)=>{const r=(null==t?void 0:t.id)||sd++;return ld.create({message:e,id:r,type:"default",...t}),r}),{success:ld.success,info:ld.info,warning:ld.warning,error:ld.error,custom:ld.custom,message:ld.message,promise:ld.promise,dismiss:ld.dismiss,loading:ld.loading}),ud=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},dd={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"},pd=[So("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),So("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)],hd=ud({},[["render",function(e,t){return mo(),Oo("svg",dd,pd)}]]),fd=["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"],md=["aria-label","data-disabled"],gd={key:0,"data-icon":""},bd={"data-content":""},vd=jn({__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=Tr(!1),o=Tr(!1),i=Tr(!1),s=Tr(!1),l=Tr(0),c=Tr(0),u=Tr(null),d=Tr(null),p=Jo((()=>0===n.index)),h=Jo((()=>n.index+1<=n.visibleToasts)),f=Jo((()=>n.toast.type)),m=Jo((()=>!1!==n.toast.dismissible)),g=Jo((()=>{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=Jo((()=>n.heights.findIndex((e=>e.toastId===n.toast.id))||0)),O=Jo((()=>n.toast.closeButton??n.closeButton)),y=Jo((()=>n.toast.duration||n.duration||4e3)),w=Tr(0),x=Tr(0),k=Tr(y.value),_=Tr(0),S=Tr(null),E=Jo((()=>n.position.split("-"))),T=Jo((()=>E.value[0])),A=Jo((()=>E.value[1])),C="string"!=typeof n.toast.title,P="string"!=typeof n.toast.description,D=Jo((()=>n.heights.reduce(((e,t,r)=>r>=v.value?e:e+t.height),0))),R=(()=>{const e=Tr(!1);return Ua((()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}})(),N=Jo((()=>n.toast.invert||n.invert)),$=Jo((()=>"loading"===f.value));Tn((()=>{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 Ua((()=>{x.value=14*v.value+D.value})),Ua((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)}))})),Ua((()=>{n.toast.delete&&I()})),Tn((()=>{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})),Dn((()=>{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 mo(),Oo("li",{"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",class:Xe(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:qe({"--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,...Dr(b)}),onPointerdown:L,onPointerup:Q,onPointermove:B},[O.value&&!e.toast.component?(mo(),Oo("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":$.value,"data-close-button":"",class:Xe(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},[Eo(hd)],10,md)):Do("",!0),e.toast.component?(mo(),yo(wn(e.toast.component),Io({key:1},e.toast.componentProps,{onCloseToast:I}),null,16)):(mo(),Oo(lo,{key:2},["default"!==f.value||e.toast.icon||e.toast.promise?(mo(),Oo("div",gd,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?Do("",!0):zn(e.$slots,"loading-icon",{key:0}),e.toast.icon?(mo(),yo(wn(e.toast.icon),{key:1})):(mo(),Oo(lo,{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}):Do("",!0)],64))])):Do("",!0),So("div",bd,[So("div",{"data-title":"",class:Xe(e.cn(null==(y=e.classes)?void 0:y.title,null==(w=e.toast.classes)?void 0:w.title))},[C?(mo(),yo(wn(e.toast.title),Ye(Io({key:0},e.toast.componentProps)),null,16)):(mo(),Oo(lo,{key:1},[Co(tt(e.toast.title),1)],64))],2),e.toast.description?(mo(),Oo("div",{key:0,"data-description":"",class:Xe(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(_=e.toast.classes)?void 0:_.description))},[P?(mo(),yo(wn(e.toast.description),Ye(Io({key:0},e.toast.componentProps)),null,16)):(mo(),Oo(lo,{key:1},[Co(tt(e.toast.description),1)],64))],2)):Do("",!0)]),e.toast.cancel?(mo(),Oo("button",{key:1,class:Xe(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()})},tt(e.toast.cancel.label),3)):Do("",!0),e.toast.action?(mo(),Oo("button",{key:2,class:Xe(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()})},tt(e.toast.action.label),3)):Do("",!0)],64))],46,fd)}}}),Od=["data-visible"],yd={class:"sonner-spinner"},wd=jn({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(e,r)=>(mo(),Oo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[So("div",yd,[(mo(!0),Oo(lo,null,Qn(Dr(t),(e=>(mo(),Oo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,Od))}}),xd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},kd=[So("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)],_d=ud({},[["render",function(e,t){return mo(),Oo("svg",xd,kd)}]]),Sd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ed=[So("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)],Td=ud({},[["render",function(e,t){return mo(),Oo("svg",Sd,Ed)}]]),Ad={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Cd=[So("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)],Pd=ud({},[["render",function(e,t){return mo(),Oo("svg",Ad,Cd)}]]),Dd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Rd=[So("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)],Nd=ud({},[["render",function(e,t){return mo(),Oo("svg",Dd,Rd)}]]),$d=["aria-label"],Id=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Md="32px",Ld=typeof window<"u"&&typeof document<"u",Qd=jn({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:Md},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=Yn(),o=Tr([]),i=Jo((()=>{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=Tr([]),l=Tr(!1),c=Tr(!1),u=Tr("system"!==n.theme?n.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=Jo((()=>n.cn||t)),p=Tr(null),h=Tr(null),f=Tr(!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 Ua((e=>{const t=ld.subscribe((e=>{e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):Yr((()=>{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)}})),Ua((()=>{o.value.length<=1&&(l.value=!1)})),Ua((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)}Ld&&(document.addEventListener("keydown",t),e((()=>{document.removeEventListener("keydown",t)})))})),(e,t)=>(mo(),Oo("section",{"aria-label":`${e.containerAriaLabel} ${Dr(m)}`,tabIndex:-1},[(mo(!0),Oo(lo,null,Qn(i.value,((n,i)=>{var u;return mo(),Oo("ol",Io({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||Md,"--width":"356px","--gap":"14px",...e.style,...Dr(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),[(mo(!0),Oo(lo,null,Qn(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 mo(),yo(vd,{key:r.id,index:n,toast:r,duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,class:Xe(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:qe(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":hn((()=>[zn(e.$slots,"loading-icon",{},(()=>[Eo(wd,{visible:"loading"===r.type},null,8,["visible"])]))])),"success-icon":hn((()=>[zn(e.$slots,"success-icon",{},(()=>[Eo(_d)]))])),"error-icon":hn((()=>[zn(e.$slots,"error-icon",{},(()=>[Eo(Nd)]))])),"warning-icon":hn((()=>[zn(e.$slots,"warning-icon",{},(()=>[Eo(Pd)]))])),"info-icon":hn((()=>[zn(e.$slots,"info-icon",{},(()=>[Eo(Td)]))])),_: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,Id)})),128))],8,$d))}}),Bd={toast:()=>null};function jd(e){Bd.toast=e}function Ud(){return{initializeToasts:jd,toast:(e,t="info",r={timeout:3e3})=>{Bd.toast(e,t,r)}}}const Fd=jn({__name:"ScalarToasts",setup(e){const t=Tr(!1);Tn((()=>t.value=!0));const r={success:cd.success,error:cd.error,warn:cd.warning,info:cd},{initializeToasts:n}=Ud();return n(((e,t="info",n={})=>{(r[t]||r.info)(e,{duration:n.timeout||3e3,description:n.description})})),(e,r)=>t.value?(mo(),yo(Dr(Qd),{key:0,toastOptions:{class:"toaster"}})):Do("",!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}=Ud();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")}))}}},qd=Tr(!1),Zd="https://api.scalar.com/request-proxy",Hd="https://proxy.scalar.com",Vd=/[\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,Wd=Object.hasOwnProperty;class Xd{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=Yd(e,!0===t);const a=n;for(;Wd.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 Yd(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(Vd,"").replace(/ /g,"-"))}const Gd=Tr(Eu.hash??""),Kd=Tr(),Jd=Tr(!1),ep=e=>e.slug?`description/${e.slug}`:"",tp=e=>{var t;if(!Kd.value)return"";const r=new RegExp("^"+(null==(t=Kd.value)?void 0:t.basePath)+"/?");return decodeURIComponent(e.replace(r,""))},rp=(e,t)=>{if(!e)return"webhooks";const r=Yd(e);return`webhook/${t}/${encodeURIComponent(r)}`},np=e=>{if(!e)return"models";const t=Yd(e);return`model/${encodeURIComponent(t)}`},ap=(e,t)=>`${op(t)}/${e.httpVerb}${e.path}`,op=({name:e})=>{const t=Yd(e);return`tag/${encodeURIComponent(t)}`},ip=(e=Gd.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},sp=()=>{Gd.value=Kd.value?tp(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},lp=()=>({hash:Gd,getWebhookId:rp,getModelId:np,getHeadingId:ep,getOperationId:ap,getPathRoutingId:tp,getSectionId:ip,getTagId:op,isIntersectionEnabled:Jd,pathRouting:Kd,updateHash:sp});function cp(e){return{parameterMap:Jo((()=>{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 up(e,t){for(const[r,n]of Object.entries(e))null!==n&&"object"==typeof n?(t[r]??(t[r]=new n.__proto__.constructor),up(n,t[r])):void 0!==n&&(t[r]=n);return t}function dp(e){return up(e??{},{info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}function pp(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 hp=(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]=hp(i,t,r+1,e,a),void 0===n[s??a]&&delete n[s??a]})),void 0!==e.anyOf?Object.assign(n,hp(e.anyOf[0]),t,r+1):void 0!==e.oneOf?Object.assign(n,hp(e.oneOf[0]),t,r+1):void 0!==e.allOf&&Object.assign(n,...e.allOf.map((n=>hp(n,t,r+1,e))).filter((e=>void 0!==e))),void 0!==e.additionalProperties&&!1!==e.additionalProperties){const a=hp(e.additionalProperties,t,r+1);if(a&&"object"==typeof a&&!Array.isArray(a))return{...n,...hp(e.additionalProperties,t,r+1)};if(null===a)return null;const o=hp(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=>hp(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=hp(e.items,t,r+1);return a?[{[n]:o}]:[o]}return[]}const p={string:d?pp(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 hp(n,t,r+1)}if(Array.isArray(e.allOf)){let n=null;return e.allOf.forEach((e=>{const a=hp(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 fp(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?hp(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 mp(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 gp(e,t){var r,n,a,o;const i=xu(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:_u(null==c?void 0:c.value)}};const u=fp(e,"body",!1);if(u.length>0)return{postData:{mimeType:"application/json",text:_u(u[0].value)}};const d=fp(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)?hp(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)?hp(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,postData:{mimeType:s,text:f??mp(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)?hp(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 bp=(e,t,r)=>{let n=e.path;const a=fp(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=gp(e,r);return{method:e.httpVerb.toUpperCase(),path:n,headers:[...fp(e,"header",null==t?void 0:t.requiredOnly),...(null==o?void 0:o.headers)??[]],postData:null==o?void 0:o.postData,queryString:fp(e,"query",null==t?void 0:t.requiredOnly),cookies:fp(e,"cookie",null==t?void 0:t.requiredOnly)}};function vp({serverState:e,authenticationState:t,operation:r,globalSecurity:n}){var a,o;const i=Rf({url:Tu(e)},bp(r,{requiredOnly:!1}),t?rs(t,(null==(a=r.information)?void 0:a.security)??n??[]):{}),s=bp(r,{requiredOnly:!1}),l=fp(r,"path",!1);return{id:r.operationId,name:r.name,type:i.method,path:s.path??"",variables:l,cookies:Op(i.cookies),query:i.queryString.map((e=>{const t=e;return{...e,enabled:t.required??!0}})),headers:Op(i.headers),url:Tu(e)??"",body:null==(o=i.postData)?void 0:o.text}}function Op(e){return(e??[]).map((e=>({...e,enabled:!0})))}function yp(e,t){return function(){return e.apply(t,arguments)}}const{toString:wp}=Object.prototype,{getPrototypeOf:xp}=Object,kp=(e=>t=>{const r=wp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),_p=e=>(e=e.toLowerCase(),t=>kp(t)===e),Sp=e=>t=>typeof t===e,{isArray:Ep}=Array,Tp=Sp("undefined"),Ap=_p("ArrayBuffer"),Cp=Sp("string"),Pp=Sp("function"),Dp=Sp("number"),Rp=e=>null!==e&&"object"==typeof e,Np=e=>{if("object"!==kp(e))return!1;const t=xp(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},$p=_p("Date"),Ip=_p("File"),Mp=_p("Blob"),Lp=_p("FileList"),Qp=_p("URLSearchParams"),[Bp,jp,Up,Fp]=["ReadableStream","Request","Response","Headers"].map(_p);function zp(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,a;if("object"!=typeof e&&(e=[e]),Ep(e))for(n=0,a=e.length;n0;)if(n=r[a],t===n.toLowerCase())return n;return null}const Zp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Hp=e=>!Tp(e)&&e!==Zp,Vp=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&xp(Uint8Array)),Wp=_p("HTMLFormElement"),Xp=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Yp=_p("RegExp"),Gp=(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)},Kp="abcdefghijklmnopqrstuvwxyz",Jp="0123456789",eh={DIGIT:Jp,ALPHA:Kp,ALPHA_DIGIT:Kp+Kp.toUpperCase()+Jp},th=_p("AsyncFunction"),rh={isArray:Ep,isArrayBuffer:Ap,isBuffer:function(e){return null!==e&&!Tp(e)&&null!==e.constructor&&!Tp(e.constructor)&&Pp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Pp(e.append)&&("formdata"===(t=kp(e))||"object"===t&&Pp(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ap(e.buffer),t},isString:Cp,isNumber:Dp,isBoolean:e=>!0===e||!1===e,isObject:Rp,isPlainObject:Np,isReadableStream:Bp,isRequest:jp,isResponse:Up,isHeaders:Fp,isUndefined:Tp,isDate:$p,isFile:Ip,isBlob:Mp,isRegExp:Yp,isFunction:Pp,isStream:e=>Rp(e)&&Pp(e.pipe),isURLSearchParams:Qp,isTypedArray:Vp,isFileList:Lp,forEach:zp,merge:function e(){const{caseless:t}=Hp(this)&&this||{},r={},n=(n,a)=>{const o=t&&qp(r,a)||a;Np(r[o])&&Np(n)?r[o]=e(r[o],n):Np(n)?r[o]=e({},n):Ep(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e(zp(t,((t,n)=>{r&&Pp(t)?e[n]=yp(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&&xp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:kp,kindOfTest:_p,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(Ep(e))return e;let t=e.length;if(!Dp(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:Wp,hasOwnProperty:Xp,hasOwnProp:Xp,reduceDescriptors:Gp,freezeMethods:e=>{Gp(e,((t,r)=>{if(Pp(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Pp(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 Ep(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:qp,global:Zp,isContextDefined:Hp,ALPHABET:eh,generateString:(e=16,t=eh.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&Pp(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Rp(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const a=Ep(e)?[]:{};return zp(e,((e,t)=>{const o=r(e,n+1);!Tp(o)&&(a[t]=o)})),t[n]=void 0,a}}return e};return r(e,0)},isAsyncFn:th,isThenable:e=>e&&(Rp(e)||Pp(e))&&Pp(e.then)&&Pp(e.catch)};function nh(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)}rh.inherits(nh,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:rh.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ah=nh.prototype,oh={};function ih(e){return rh.isPlainObject(e)||rh.isArray(e)}function sh(e){return rh.endsWith(e,"[]")?e.slice(0,-2):e}function lh(e,t,r){return e?e.concat(t).map((function(e,t){return e=sh(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=>{oh[e]={value:e}})),Object.defineProperties(nh,oh),Object.defineProperty(ah,"isAxiosError",{value:!0}),nh.from=(e,t,r,n,a,o)=>{const i=Object.create(ah);return rh.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),nh.call(i,e.message,t,r,n,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const ch=rh.toFlatObject(rh,{},null,(function(e){return/^is[A-Z]/.test(e)}));function uh(e,t,r){if(!rh.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=rh.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!rh.isUndefined(t[e])}))).metaTokens,a=r.visitor||c,o=r.dots,i=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&rh.isSpecCompliantForm(t);if(!rh.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(rh.isDate(e))return e.toISOString();if(!s&&rh.isBlob(e))throw new nh("Blob is not supported. Use a Buffer instead.");return rh.isArrayBuffer(e)||rh.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(rh.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(rh.isArray(e)&&function(e){return rh.isArray(e)&&!e.some(ih)}(e)||(rh.isFileList(e)||rh.endsWith(r,"[]"))&&(s=rh.toArray(e)))return r=sh(r),s.forEach((function(e,n){!rh.isUndefined(e)&&null!==e&&t.append(!0===i?lh([r],n,o):null===i?r:r+"[]",l(e))})),!1;return!!ih(e)||(t.append(lh(a,r,o),l(e)),!1)}const u=[],d=Object.assign(ch,{defaultVisitor:c,convertValue:l,isVisitable:ih});if(!rh.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!rh.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),rh.forEach(r,(function(r,o){!0===(!(rh.isUndefined(r)||null===r)&&a.call(t,r,rh.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])})),u.pop()}}(e),t}function dh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ph(e,t){this._pairs=[],e&&uh(e,this,t)}const hh=ph.prototype;function fh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mh(e,t,r){if(!t)return e;const n=r&&r.encode||fh,a=r&&r.serialize;let o;if(o=a?a(t,r):rh.isURLSearchParams(t)?t.toString():new ph(t,r).toString(n),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}hh.append=function(e,t){this._pairs.push([e,t])},hh.toString=function(e){const t=e?function(t){return e.call(this,t,dh)}:dh;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class gh{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){rh.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const bh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vh={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ph,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Oh="undefined"!=typeof window&&"undefined"!=typeof document,yh=(wh="undefined"!=typeof navigator&&navigator.product,Oh&&["ReactNative","NativeScript","NS"].indexOf(wh)<0);var wh;const xh="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,kh=Oh&&window.location.href||"http://localhost",_h={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Oh,hasStandardBrowserEnv:yh,hasStandardBrowserWebWorkerEnv:xh,origin:kh},Symbol.toStringTag,{value:"Module"})),...vh};function Sh(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&&rh.isArray(n)?n.length:o,s?(rh.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!i):(n[o]&&rh.isObject(n[o])||(n[o]=[]),t(e,r,n[o],a)&&rh.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 rh.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const Eh={transitional:bh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,a=rh.isObject(e);if(a&&rh.isHTMLForm(e)&&(e=new FormData(e)),rh.isFormData(e))return n?JSON.stringify(Sh(e)):e;if(rh.isArrayBuffer(e)||rh.isBuffer(e)||rh.isStream(e)||rh.isFile(e)||rh.isBlob(e)||rh.isReadableStream(e))return e;if(rh.isArrayBufferView(e))return e.buffer;if(rh.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 uh(e,new _h.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return _h.isNode&&rh.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=rh.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return uh(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),function(e,t,r){if(rh.isString(e))try{return(0,JSON.parse)(e),rh.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Eh.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(rh.isResponse(e)||rh.isReadableStream(e))return e;if(e&&rh.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 nh.from(e,nh.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:_h.classes.FormData,Blob:_h.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};rh.forEach(["delete","get","head","post","put","patch"],(e=>{Eh.headers[e]={}}));const Th=rh.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"]),Ah=Symbol("internals");function Ch(e){return e&&String(e).trim().toLowerCase()}function Ph(e){return!1===e||null==e?e:rh.isArray(e)?e.map(Ph):String(e)}function Dh(e,t,r,n,a){return rh.isFunction(n)?n.call(this,t,r):(a&&(t=r),rh.isString(t)?rh.isString(n)?-1!==t.indexOf(n):rh.isRegExp(n)?n.test(t):void 0:void 0)}let Rh=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function a(e,t,r){const a=Ch(t);if(!a)throw new Error("header name must be a non-empty string");const o=rh.findKey(n,a);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=Ph(e))}const o=(e,t)=>rh.forEach(e,((e,r)=>a(e,r,t)));if(rh.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(rh.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]&&Th[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(rh.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=Ch(e)){const r=rh.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(rh.isFunction(t))return t.call(this,e,r);if(rh.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ch(e)){const r=rh.findKey(this,e);return!(!r||void 0===this[r]||t&&!Dh(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function a(e){if(e=Ch(e)){const a=rh.findKey(r,e);!a||t&&!Dh(0,r[a],a,t)||(delete r[a],n=!0)}}return rh.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&&!Dh(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}normalize(e){const t=this,r={};return rh.forEach(this,((n,a)=>{const o=rh.findKey(r,a);if(o)return t[o]=Ph(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]=Ph(n),r[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return rh.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&rh.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[Ah]=this[Ah]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Ch(e);t[n]||(function(e,t){const r=rh.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 rh.isArray(e)?e.forEach(n):n(e),this}};function Nh(e,t){const r=this||Eh,n=t||r,a=Rh.from(n.headers);let o=n.data;return rh.forEach(e,(function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function $h(e){return!(!e||!e.__CANCEL__)}function Ih(e,t,r){nh.call(this,null==e?"canceled":e,nh.ERR_CANCELED,t,r),this.name="CanceledError"}function Mh(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new nh("Request failed with status code "+r.status,[nh.ERR_BAD_REQUEST,nh.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Rh.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),rh.reduceDescriptors(Rh.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),rh.freezeMethods(Rh),rh.inherits(Ih,nh,{__CANCEL__:!0});const Lh=(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)},Qh=_h.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=rh.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},Bh=_h.hasStandardBrowserEnv?{write(e,t,r,n,a,o){const i=[e+"="+encodeURIComponent(t)];rh.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),rh.isString(n)&&i.push("path="+n),rh.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 jh(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 Uh=e=>e instanceof Rh?{...e}:e;function Fh(e,t){t=t||{};const r={};function n(e,t,r){return rh.isPlainObject(e)&&rh.isPlainObject(t)?rh.merge.call({caseless:r},e,t):rh.isPlainObject(t)?rh.merge({},t):rh.isArray(t)?t.slice():t}function a(e,t,r){return rh.isUndefined(t)?rh.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!rh.isUndefined(t))return n(void 0,t)}function i(e,t){return rh.isUndefined(t)?rh.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(Uh(e),Uh(t),!0)};return rh.forEach(Object.keys(Object.assign({},e,t)),(function(n){const o=l[n]||a,i=o(e[n],t[n],n);rh.isUndefined(i)&&o!==s||(r[n]=i)})),r}const zh=e=>{const t=Fh({},e);let r,{data:n,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;if(t.headers=s=Rh.from(s),t.url=mh(jh(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),rh.isFormData(n))if(_h.hasStandardBrowserEnv||_h.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(_h.hasStandardBrowserEnv&&(a&&rh.isFunction(a)&&(a=a(t)),a||!1!==a&&Qh(t.url))){const e=o&&i&&Bh.read(i);e&&s.set(o,e)}return t},qh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=zh(e);let a=n.data;const o=Rh.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=Rh.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Mh((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 nh("Request aborted",nh.ECONNABORTED,n,c)),c=null)},c.onerror=function(){r(new nh("Network Error",nh.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||bh;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new nh(e,t.clarifyTimeoutError?nh.ETIMEDOUT:nh.ECONNABORTED,n,c)),c=null},void 0===a&&o.setContentType(null),"setRequestHeader"in c&&rh.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),rh.isUndefined(n.withCredentials)||(c.withCredentials=!!n.withCredentials),s&&"json"!==s&&(c.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&c.addEventListener("progress",Lh(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Lh(n.onUploadProgress)),(n.cancelToken||n.signal)&&(i=t=>{c&&(r(!t||t.type?new Ih(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===_h.protocols.indexOf(d)?r(new nh("Unsupported protocol "+d+":",nh.ERR_BAD_REQUEST,e)):c.send(a||null)}))},Zh=(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 nh?t:new Ih(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{a(new nh(`timeout ${t} of ms exceeded`,nh.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}]},Hh=function*(e,t){let r=e.byteLength;if(!t||r{const o=async function*(e,t,r){for await(const n of e)yield*Hh(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})},Wh=(e,t)=>{const r=null!=e;return n=>setTimeout((()=>t({lengthComputable:r,total:e,loaded:n})))},Xh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Yh=Xh&&"function"==typeof ReadableStream,Gh=Xh&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Kh=Yh&&(()=>{let e=!1;const t=new Request(_h.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Jh=Yh&&!!(()=>{try{return rh.isReadableStream(new Response("").body)}catch(e){}})(),ef={stream:Jh&&(e=>e.body)};var tf;Xh&&(tf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!ef[e]&&(ef[e]=rh.isFunction(tf[e])?t=>t[e]():(t,r)=>{throw new nh(`Response type '${e}' is not supported`,nh.ERR_NOT_SUPPORT,r)})})));const rf={http:null,xhr:qh,fetch:Xh&&(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?Zh([a,o],i):[];const b=()=>{!h&&setTimeout((()=>{m&&m.unsubscribe()})),h=!0};let v;try{if(l&&Kh&&"get"!==r&&"head"!==r&&0!==(v=await(async(e,t)=>{const r=rh.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:rh.isBlob(e)?e.size:rh.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:rh.isArrayBufferView(e)?e.byteLength:(rh.isURLSearchParams(e)&&(e+=""),rh.isString(e)?(await Gh(e)).byteLength:void 0))(t):r})(u,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});rh.isFormData(n)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body&&(n=Vh(r.body,65536,Wh(v,Lh(l)),null,Gh))}rh.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=Jh&&("stream"===c||"response"===c);if(Jh&&(s||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=rh.toFiniteNumber(a.headers.get("content-length"));a=new Response(Vh(a.body,65536,s&&Wh(t,Lh(s,!0)),o&&b,Gh),e)}c=c||"text";let i=await ef[rh.findKey(ef,c)||"text"](a,e);return!o&&b(),g&&g(),await new Promise(((t,r)=>{Mh(t,r,{data:i,headers:Rh.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 nh("Network Error",nh.ERR_NETWORK,e,f),{cause:t.cause||t});throw nh.from(t,t&&t.code,e,f)}})};rh.forEach(rf,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const nf=e=>`- ${e}`,af=e=>rh.isFunction(e)||null===e||!1===e,of=e=>{e=rh.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 nh("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(nf).join("\n"):" "+nf(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function sf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ih(null,e)}function lf(e){return sf(e),e.headers=Rh.from(e.headers),e.data=Nh.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),of(e.adapter||Eh.adapter)(e).then((function(t){return sf(e),t.data=Nh.call(e,e.transformResponse,t),t.headers=Rh.from(t.headers),t}),(function(t){return $h(t)||(sf(e),t&&t.response&&(t.response.data=Nh.call(e,e.transformResponse,t.response),t.response.headers=Rh.from(t.response.headers))),Promise.reject(t)}))}const cf={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{cf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const uf={};cf.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 nh(n(a," has been removed"+(t?" in "+t:"")),nh.ERR_DEPRECATED);return t&&!uf[a]&&(uf[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 df={assertOptions:function(e,t,r){if("object"!=typeof e)throw new nh("options must be an object",nh.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 nh("option "+o+" must be "+r,nh.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new nh("Unknown option "+o,nh.ERR_BAD_OPTION)}},validators:cf},pf=df.validators;let hf=class{constructor(e){this.defaults=e,this.interceptors={request:new gh,response:new gh}}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=Fh(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:a}=t;void 0!==r&&df.assertOptions(r,{silentJSONParsing:pf.transitional(pf.boolean),forcedJSONParsing:pf.transitional(pf.boolean),clarifyTimeoutError:pf.transitional(pf.boolean)},!1),null!=n&&(rh.isFunction(n)?t.paramsSerializer={serialize:n}:df.assertOptions(n,{encode:pf.function,serialize:pf.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=a&&rh.merge(a.common,a[t.method]);a&&rh.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Rh.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=[lf.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{ff[t]=e}));const mf=function e(t){const r=new hf(t),n=yp(hf.prototype.request,r);return rh.extend(n,hf.prototype,r,{allOwnKeys:!0}),rh.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Fh(t,r))},n}(Eh);mf.Axios=hf,mf.CanceledError=Ih,mf.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 Ih(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}}},mf.isCancel=$h,mf.VERSION="1.7.2",mf.toFormData=uh,mf.AxiosError=nh,mf.Cancel=mf.CanceledError,mf.all=function(e){return Promise.all(e)},mf.spread=function(e){return function(t){return e.apply(null,t)}},mf.isAxiosError=function(e){return rh.isObject(e)&&!0===e.isAxiosError},mf.mergeConfig=Fh,mf.AxiosHeaders=Rh,mf.formToJSON=e=>Sh(rh.isHTMLForm(e)?new FormData(e):e),mf.getAdapter=of,mf.HttpStatusCode=ff,mf.default=mf;const{Axios:gf,AxiosError:bf,CanceledError:vf,isCancel:Of,CancelToken:yf,VERSION:wf,all:xf,Cancel:kf,isAxiosError:_f,spread:Sf,toFormData:Ef,AxiosHeaders:Tf,HttpStatusCode:Af,formToJSON:Cf,getAdapter:Pf,mergeConfig:Df}=mf,Rf=(...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=Tf.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 Nf(e){const t=new Xd,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 $f=e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1};function If(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 Mf=e=>!!e&&!!Object.keys(If(e)??{}).length,Lf=e=>{var t;return!!Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.securitySchemes)??{}).length},Qf=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),{server:Bf}=Gu(),{setOperation:jf,setGlobalSecurity:Uf}=Fu(),{toggleApiClient:Ff}=Iu(),{setActiveRequest:zf,resetActiveResponse:qf}={readOnly:Wu,activeRequest:Hu,activeResponse:Vu,requestHistory:zu,requestHistoryOrder:qu,activeRequestId:Zu,setActiveResponse:e=>{var t;Zu.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(Hu,n)},resetActiveResponse:()=>{Zu.value=""},addRequestToHistory:e=>{zu[e.responseId]=e,Zu.value=e.responseId,qu.value.unshift(e.responseId)},setActiveRequest:e=>{Object.assign(Hu,e)}};function Zf(e,t){const r=vp({serverState:Bf,operation:e,authenticationState:null,globalSecurity:null});qf(),zf(r),jf(e),Uf(t),Ff(r,!0)}function Hf(e){return e.find((e=>e.isEntrypoint))}function Vf(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?Vf(e,t):e)):r[n]="object"==typeof a&&null!==a?Vf(a,t):a;return t(r)}function Wf(e){const t=[];return e&&"object"==typeof e?(Vf(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),e))),[...new Set(t)]):t}function Xf(e){return void 0!==typeof e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))}function Yf(e){if(Xf(e))return e;if("string"==typeof e)try{return JSON.parse(e)}catch(t){return pu(e,{maxAliasCount:1e4})}return e}function Gf(e,t={}){if(Xf(e))return e;const r=Yf(e);return[{isEntrypoint:!0,specification:r,filename:null,dir:"./",references:Wf(r),...t}]}function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Jf=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"}}}}}),em={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 tm(e){for(const t of new Set(Jf)){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 rm(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function nm(e,t,r){void 0===r&&(r=[]);const n=Gf(structuredClone(e)),a=Hf(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??Hf(n)).specification};function o(e,t,n){let a;return Object.entries(e??{}).forEach((([i,s])=>{if(void 0!==e.$ref){const a=am(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 am(e,t,r,n){if("string"!=typeof e)return void n.push({code:"INVALID_REFERENCE",message:em.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:em.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",a)});const t=nm(r,e,n);return void 0===o?t.schema:am(`#${o}`,e,r,n)}const i=function(e){return e.split("/").slice(1).map(rm)}(o);try{return i.reduce(((e,t)=>e[t]),t.specification)}catch(t){n.push({code:"INVALID_REFERENCE",message:em.INVALID_REFERENCE.replace("%s",e)})}}async function om(e){const t=Gf(e),r=Hf(t),n=nm(t);return{specification:r.specification,errors:n.errors,schema:n.schema,...tm(r.specification)}}async function im(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=Yf(a?await a.get(e):e);if(void 0===o)return{filesystem:[]};let i=Gf(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))):Hf(i)).references??Wf(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 im(o,{...t,filename:r});i=[...i,...s.map((e=>({...e,isEntrypoint:!1})))]}return{filesystem:i}}const sm={limit:20},lm=e=>{let t=0;const r={...sm,...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})`)}}}},cm=e=>{let t={};t=e&&"object"==typeof e?structuredClone(e):dp(),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:Cu(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=>ts.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:Cu(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}},um=Symbol(),dm=Symbol(),pm=async e=>{var t;null==(t=document.getElementById(e))||t.scrollIntoView()},hm=e=>new Promise((t=>setTimeout(t,e)));function fm(e){return!!st()&&(lt(e),!0)}function mm(e){return"function"==typeof e?e():Dr(e)}const gm="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const bm=e=>null!=e,vm=Object.prototype.toString,Om=e=>"[object Object]"===vm.call(e),ym=()=>{};function wm(e,t,r){return za(e,((e,r,n)=>{e&&t(e,r,n)}),{...r,once:!1})}function xm(e,t,r){let n;n=Er(r)?{evaluating:r}:{};const{lazy:a=!1,evaluating:o,shallow:i=!0,onError:s=ym}=n,l=Tr(!a),c=i?Ar(t):Tr(t);let u=0;return Ua((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?Jo((()=>(l.value=!0,c.value))):c}function km(e){var t;const r=mm(e);return null!=(t=null==r?void 0:r.$el)?t:r}const _m=gm?window:void 0;function Sm(...e){let t,r,n,a;if("string"==typeof e[0]||Array.isArray(e[0])?([r,n,a]=e,t=_m):[t,r,n,a]=e,!t)return ym;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],i=()=>{o.forEach((e=>e())),o.length=0},s=za((()=>[km(t),mm(a)]),(([e,t])=>{if(i(),!e)return;const a=Om(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 fm(l),l}function Em(e){const t=function(){const e=Tr(!1),t=jo();return t&&Tn((()=>{e.value=!0}),t),e}();return Jo((()=>(t.value,Boolean(e()))))}function Tm(e,t={}){const{window:r=_m}=t,n=Em((()=>r&&"matchMedia"in r&&"function"==typeof r.matchMedia));let a;const o=Tr(!1),i=e=>{o.value=e.matches},s=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",i):a.removeListener(i))},l=Ua((()=>{n.value&&(s(),a=r.matchMedia(mm(e)),"addEventListener"in a?a.addEventListener("change",i):a.addListener(i),o.value=a.matches)}));return fm((()=>{l(),s(),a=void 0})),o}const Am=new Map;function Cm(e){const t=st();function r(r){var a;const o=Am.get(e)||new Set;o.add(r),Am.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=Am.get(e);r&&(r.delete(t),r.size||a())}function a(){Am.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=Am.get(e))||n.forEach((e=>e(t,r)))},reset:a}}const Pm={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Dm(e={}){const{reactive:t=!1,target:r=_m,aliasMap:n=Pm,passive:a=!0,onEventFired:o=ym}=e,i=dr(new Set),s={toJSON:()=>({}),current:i},l=t?dr(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())}Sm(r,"keydown",(e=>(h(e,!0),o(e))),{passive:a}),Sm(r,"keyup",(e=>(h(e,!1),o(e))),{passive:a}),Sm("blur",p,{passive:!0}),Sm("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]=Jo((()=>e.every((e=>mm(f[e])))))}else l[r]=Tr(!1);const o=Reflect.get(e,r,a);return t?mm(o):o}});return f}const Rm=Cm(Symbol("downloadSpec"));function Nm({specConfig:e,proxy:t}){const r=Tr(""),n=dr(dp()),a=Tr(null);return za((()=>Rr(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 vu(e,r):await vu(e);const n="function"==typeof t?t():t;return"string"==typeof n?n:"object"==typeof n?_u(n):void 0})(e,Rr(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(cm(dp()));const o=performance.now(),{filesystem:i}=await im(e,{plugins:[lm({fetch:e=>fetch(t?cs(t,e):e)})]}),{schema:s,errors:l}=await om(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(cm(dp()))):r(cm(s))}catch(e){n(e)}return r(cm(dp()))})))(e,{proxy:t?Rr(t):void 0}).then((e=>{a.value=null,Object.assign(n,{servers:[],...e})})).catch((e=>{a.value=e.toString()})):Object.assign(n,dp())}(r.value)})),{rawSpec:r,parsedSpec:n,specErrors:a}}function $m(e){const t=Jo((()=>{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:Im,getModelId:Mm,getOperationId:Lm,getSectionId:Qm,getTagId:Bm,getWebhookId:jm,hash:Um}=lp(),Fm=Tr(void 0);function zm(e){return Fm.value=e}const qm=Tr(!1),Zm=dr(Eu["useSidebarContent-collapsedSidebarItems"]??{});function Hm(e){Zm[e]=!Zm[e]}function Vm(e,t){Zm[e]=t}const Wm=Tr([]),Xm=Jo((()=>{var e,t,r,n,a,o,i,s,l,c;const{state:u}=Iu(),d={},{openApi:{globalSecurity:p}}=Fu(),h=[];let f=null;Wm.value.forEach((e=>{var t;e.depth===$f(Wm.value)?(f={id:Im(e),title:e.value,show:!u.showApiClient,children:[]},h.push(f)):f&&(null==(t=f.children)||t.push({id:Im(e),title:e.value,show:!u.showApiClient}))}));const m=null==(t=null==(e=Fm.value)?void 0:e.tags)?void 0:t[0],g=!m||1===(null==(b=null==(r=Fm.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=Lm(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&&Zf(e,p)}}})):null==(a=null==(n=Fm.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:Bm(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=Lm(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&&Zf(t,p)}}}))}}));var b;let v=Mf(Fm.value)&&!qm.value?[{id:Mm(),title:"Models",show:!u.showApiClient,children:Object.keys(If(Fm.value)??{}).map((e=>{var t;const r=Mm(e);return d[r]=e,{id:r,title:(null==(t=If(Fm.value))?void 0:t[e]).title??e,show:!u.showApiClient}}))}]:[],O=(y=Fm.value)&&Object.keys((null==y?void 0:y.webhooks)??{}).length?[{id:jm(),title:"Webhook",show:!u.showApiClient,children:Object.keys((null==(i=Fm.value)?void 0:i.webhooks)??{}).map((e=>{var t,r;const n=jm(e);return d[n]=e,Object.keys((null==(r=null==(t=Fm.value)?void 0:t.webhooks)?void 0:r[e])??{}).map((t=>{var r,n,a;return{id:jm(e,t),title:null==(a=null==(n=null==(r=Fm.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=Fm.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=Fm.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}})),Ym=Tr(!1),Gm=Jo((()=>{var e,t;return(null==(t=null==(e=Xm.value)?void 0:e.titles)?void 0:t[Um.value])??""}));function Km(e){return(null==e?void 0:e.parsedSpec)&&(Fm.value=e.parsedSpec,za((()=>{var e,t;return null==(t=null==(e=Fm.value)?void 0:e.tags)?void 0:t.length}),(()=>{var e,t;if(Um.value){const e=Qm(Um.value);e&&Vm(e,!0)}else{const r=null==(t=null==(e=Fm.value)?void 0:e.tags)?void 0:t[0];r&&Vm(Bm(r),!0)}})),za((()=>{var e,t;return null==(t=null==(e=Fm.value)?void 0:e.info)?void 0:t.description}),(async()=>{var e,t;const r=null==(t=null==(e=Fm.value)?void 0:e.info)?void 0:t.description;return Wm.value=r?await(async e=>{const t=await Nf(e),r=$f(t);return t.filter((e=>e.depth===r||e.depth===r+1))})(r):[]}))),{breadcrumb:Gm,items:Xm,isSidebarOpen:Ym,collapsedSidebarItems:Zm,toggleCollapsedSidebarItem:Hm,setCollapsedSidebarItem:Vm,hideModels:qm,setParsedSpec:zm}}const Jm="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:eg,Blob:tg,File:rg}=Jm,ng="\r\n",ag="-".repeat(2),og=Symbol.toStringTag,ig=(e,t,r)=>{let n="";return n+=`${ag}${e}${ng}`,n+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof r&&"blob"!==r.name&&(n+=`; filename="${r.name}"${ng}`,n+=`Content-Type: ${r.type||"application/octet-stream"}`),`${n}${ng.repeat(2)}`},sg=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),lg=(e,t)=>{const r=sg(e,t);if(r)return e[r]},cg=(e,t)=>Boolean(sg(e,t)),ug=["application/json","application/x-json","text/json","text/x-json","+json"],dg=(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 pg(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class hg extends URL{get path(){return this.pathname+this.search}}class fg{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 mg(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 gg=e=>mg(e,{delimiter:"'"}),bg=e=>mg(e,{delimiter:'"'}),vg={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 fg;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}: ${bg(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 Og{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let yg=class{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}};const wg=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),xg=e=>"object"===wg(e)&&0===Object.keys(e).length,kg=e=>(Object.keys(e).filter((t=>xg(e[t]))).forEach((t=>{delete e[t]})),e),_g=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,`\n${r}`)},Sg=e=>{switch(wg(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} ${_g(r.length+2,Sg(e[r]))}\n `),"").trim();return`{${_g(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${Sg(t)}`),"").trim();return`[${_g(1,t)}]`}}},Eg={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 fg({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 Og("json"),l["form-params"]=r.jsonObj;const e=sg(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=r.paramsObj;const e=sg(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=r.text;const e=sg(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 yg(e.fileName)}:{name:e.name,content:e.value}));const e=sg(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===lg(l.headers,"accept")){l.accept=new Og("json");const e=sg(l.headers,"accept");e&&delete l.headers[e]}if(i("(require '[clj-http.client :as client])\n"),xg(kg(l)))i(`(client/${t} "${n}")`);else{const e=11+t.length+n.length;i(`(client/${t} "${n}" ${_g(e,Sg(kg(l)))})`)}return s()}}}},Tg={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 fg({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=lg(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}", "${bg(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 fg;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}", "${bg(n[e])}");`)})),null==a||a.forEach((({name:e,value:t})=>{i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){const t=lg(e,"content-type"),r=JSON.stringify(o.text);i(`request.AddParameter("${t}", ${r}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),s()}}}},Ag={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 fg({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}", "${bg(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()}}}},Cg={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 fg({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)||""}`}}}},Pg={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 fg({indent:o.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${bg(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 fg({indent:o.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{i(`.header("${t}", "${bg(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 fg({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}", "${bg(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 fg({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}", "${bg(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.body(${JSON.stringify(r.text)})`,1),s(".asString();",1),i()}}}};var Dg={};Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const Rg=Dg.default;const Ng=Kf(((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(Rg(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)})),$g={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 fg({indent:i.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${Ng(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||""}');`)})),cg(t,"content-type")&&(null===(o=lg(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=sg(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}', '${gg(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 fg({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=Ng(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 fg({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=sg(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 = ${Ng(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 fg({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]",cg(r,"content-type")&&(null===(o=lg(r,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=sg(r,"content-type");e&&delete u.headers[e]}s();break;default:(null==n?void 0:n.text)&&(u.data=n.text)}const d=Ng(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()}}}},Ig={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 fg({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}", "${bg(n[e])}")`,1)})),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),s()}}}},Mg={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 fg({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 = ${Ng(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(${Ng(n.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":n.jsonObj&&c(`req.write(JSON.stringify(${Ng(n.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==n?void 0:n.text)&&c(`req.write(${Ng(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 fg({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 = ${Ng(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 fg({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(${Ng(n,{indent:s.indent})});`),u()),Object.keys(o).length&&(p(`req.headers(${Ng(o,{indent:s.indent})});`),u()),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.paramsObj&&(p(`req.form(${Ng(a.paramsObj,{indent:s.indent})});`),u());break;case"application/json":a.jsonObj&&(p("req.type('json');"),p(`req.send(${Ng(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(${Ng(e,{indent:s.indent})});`),u();break}default:(null==a?void 0:a.text)&&(p(`req.send(${Ng(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 fg({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=Ng(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 fg({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=sg(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=Ng(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")')}}}},Lg=(e,t,r,n)=>{const a=`${e} *${t} = `;return`${a}${Qg(r,n?a.length:void 0)};`},Qg=(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=>Qg(e))).join(r)} ]`;case"[object Object]":{const t=[];for(const r in e)t.push(`@"${r}": ${Qg(e[r])}`);return`@{ ${t.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},Bg={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 fg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import "),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(Lg("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(Lg("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(Lg("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()}}}},jg={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 fg({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]}" "${bg(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{i(`("${e}", "${bg(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()}}}},Ug=(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`'${mg(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const n=e.map((e=>Ug(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(`${Ug(r,t)} => ${Ug(e[r],`${t}${t}`,t)}`);return`[\n${t}${n.join(`,\n${t}`)}\n${r}]`}}},Fg=["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 fg({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}: ${bg(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 fg({indent:s.indent}),{code:d,push:p,join:h}=new fg({indent:s.indent});switch(s.noTags||(l(s.shortTags?"":" ${Ug(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' => ${Ug(t,s.indent+s.indent,s.indent)}`,1),cg(a,"content-type")&&(null===(i=lg(a,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){const e=sg(a,"content-type");e&&delete a[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${Ug(e.text)},`,1)}const f=Object.keys(a).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${gg(a[e])}',`})),m=n.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${gg(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 fg({indent:l});switch(c||(d(u?"":"setUrl(${Ug(t)});`),Fg.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(${Ug(n,l)});`),p()),Object.keys(a).length&&(d(`$request->setHeaders(${Ug(a,l)});`),p()),Object.keys(o).length&&(d(`$request->setCookies(${Ug(o,l)});`),p()),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":d(`$request->setContentType(${Ug(r.mimeType)});`),d(`$request->setPostFields(${Ug(r.paramsObj,l)});`),p();break;case"application/json":d(`$request->setContentType(${Ug(r.mimeType)});`),d(`$request->setBody(json_encode(${Ug(r.jsonObj,l)}));`),p();break;default:(null==r?void 0:r.text)&&(d(`$request->setBody(${Ug(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 fg({indent:c});let m=!1;switch(u||(p(d?"":"append(new http\\QueryString(${Ug(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?Ug(n,c):"null",o=r.length?Ug(r,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${a}, ${o});`),cg(t,"content-type")&&(null===(s=lg(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=sg(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(${Ug(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${Ug(e.text)});`),h(),m=!0)}return p(`$request->setRequestUrl(${Ug(o)});`),p(`$request->setRequestMethod(${Ug(r)});`),m&&(p("$request->setBody($body);"),h()),Object.keys(n).length&&(p(`$request->setQuery(new http\\QueryString(${Ug(n,c)}));`),h()),Object.keys(t).length&&(p(`$request->setHeaders(${Ug(t,c)});`),h()),Object.keys(a).length&&(h(),p(`$client->setCookies(${Ug(a,c)});`),h()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),h(),p("echo $response->getBody();"),!u&&l&&(h(),p("?>")),f()}}}},qg=e=>({method:t,headersObj:r,cookies:n,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{const{push:l,join:c}=new fg;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}", "${mg(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 '${mg(lg(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()},Zg={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:qg("Invoke-RestMethod")},Hg={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:qg("Invoke-WebRequest")},Vg={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 fg;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}': "${bg(p[e])}" }`),c();else if(h>1){let e=1;l("headers = {");for(const t in p)e++!==h?l(` '${t}': "${bg(p[t])}",`):l(` '${t}': "${bg(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 Wg(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 Xg=(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 Wg("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),Xg(e,t,r)))),n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${Xg(e[a],t,r)}`);return Wg("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,'\\"')}"`}},Yg=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Gg={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 fg({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 = ${Xg(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 = ${Xg(h,i)}`),m&&s(`payload = ${Xg(p,i)}`);const e=sg(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 = ${Xg(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}": "${bg(d[e])}"}`),l();else if(b>1){let e=1;s("headers = {");for(const t in d)s(e!==b?`"${t}": "${bg(d[t])}",`:`"${t}": "${bg(d[t])}"`,1),e+=1;s("}"),l()}let v=Yg.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()}},Kg={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 fg({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=lg(a,"cookie"),b=lg(a,"accept"),v=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,O=b?`accept("${bg(b)}")`:void 0,y=`content_type("${bg(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}' = '${gg(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()}},Jg=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,eb={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},tb={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 fg({..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{if(e){const e=eb[t];return e?`-${e}`:""}return`--${t}`})(h);let b=Jg(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")),lg(a,"accept-encoding")&&f("--compressed"),"multipart/form-data"===(null==o?void 0:o.mimeType)){const e=sg(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")} ${Jg(t)}`)})),a.cookie&&f(`${g("cookie")} ${Jg(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")} ${Jg(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":"")} ${Jg(`${n?r:t}=${e.value}`)}`)})):f(`${l?"--data-binary":g("data")} ${Jg(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,ug.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),nb=(e,t,r,n)=>{const a=rb(n,r),o=rb(n-1,r),i=t?`,\n${a}`:", ";return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`},ab=(e,t,r)=>`let ${e} = ${ob(t,r)}`,ob=(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),ob(e,t,r))));return nb(a,n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${ob(e[a],t,r)}`);return nb(n,t.pretty&&n.length>1,t.indent,r)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},ib={c:vg,clojure:Eg,csharp:Tg,go:Ag,http:Cg,java:Pg,javascript:$g,kotlin:Ig,node:Mg,objc:Bg,ocaml:jg,php:zg,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:Hg,restmethod:Zg}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:Vg,requests:Gg}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:Kg}},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 fg;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}"] = '${gg(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:tb,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 fg({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}==${Jg(t)}`)})):l(`${e}==${Jg(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Jg(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}=${Jg(e.value)}`)}))):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=Jg(s.queryParams?o:n)}`),d&&(null==t?void 0:t.text)&&u(`echo ${Jg(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 fg({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 ${Jg(e)}`),Object.keys(r).forEach((e=>{const t=`${e}: ${r[e]}`;i(`--header ${Jg(t)}`)})),(null==t?void 0:t.text)&&i(`--body-data ${l=Jg(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),i(o.short?"-O":"--output-document"),i(`- ${Jg(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 fg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(ab("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(`${ab("parameters",t.jsonObj,i)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(ab("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 sb{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(dg,{})),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 eg,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[og])?e.append(r,n,a):e.append(r,new tg([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 ig(t,r,n),"string"==typeof n?yield n:yield await n.text(),yield ng;yield(e=>`${ag}${e}${ag}${ng.repeat(1)}`)(t)}(e,t))r.text+=n;o.postData.boundary=t;const n=sg(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(dg,{}),o.postData.text=pg(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=pg(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 hg(d.toString())}}async convert(e,t,r){!r&&t&&(r=t);const n=ib[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 lb(e){var t;return(null==(t=pb.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey}function cb(e){var t,r;return(null==(r=null==(t=pb.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:r.title)??e.clientKey}const ub=Jo((()=>lb(gb))),db=Jo((()=>cb(gb))),pb=Jo((()=>{var e;const t=Object.keys(ib).map((e=>({...ib[e].info,clients:Object.keys(ib[e].clientsById).map((t=>ib[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,fb)})),hb={node:["unirest"]},fb=Tr({...!0===hb?{}:hb}),mb=()=>{var e,t,r,n;return pb.value.find((e=>"shell"===e.key&&e.clients.find((e=>"curl"===e.key))))?{targetKey:"shell",clientKey:"curl"}:{targetKey:null==(e=pb.value[0])?void 0:e.key,clientKey:null==(n=null==(r=null==(t=pb.value[0])?void 0:t.clients)?void 0:r[0])?void 0:n.key}},gb=dr(mb());function bb(){ku(gb,mb())}const vb=e=>{Object.assign(gb,{...gb,...e})},Ob=()=>({httpClient:hr(gb),resetState:bb,setHttpClient:vb,excludedClients:hr(fb),setExcludedClients:e=>{fb.value=e,ku(gb,mb())},availableTargets:pb,getClientTitle:cb,getTargetTitle:lb,httpTargetTitle:ub,httpClientTitle:db});let yb=Symbol("headlessui.useid"),wb=0;function xb(){return ma(yb,(()=>""+ ++wb))()}function kb(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 _b(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,_b),n}var Sb=Object.defineProperty,Eb=(e,t,r)=>(((e,t,r)=>{t in e?Sb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Tb=new class{constructor(){Eb(this,"current",this.detect()),Eb(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 Ab(e){if(Tb.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=kb(e);if(t)return t.ownerDocument}return document}let Cb=["[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 Pb,Db,Rb,Nb=((Rb=Nb||{})[Rb.First=1]="First",Rb[Rb.Previous=2]="Previous",Rb[Rb.Next=4]="Next",Rb[Rb.Last=8]="Last",Rb[Rb.WrapAround=16]="WrapAround",Rb[Rb.NoScroll=32]="NoScroll",Rb),$b=((Db=$b||{})[Db.Error=0]="Error",Db[Db.Overflow=1]="Overflow",Db[Db.Success=2]="Success",Db[Db.Underflow=3]="Underflow",Db),Ib=((Pb=Ib||{})[Pb.Previous=-1]="Previous",Pb[Pb.Next=1]="Next",Pb),Mb=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Mb||{});function Lb(e,t=0){var r;return e!==(null==(r=Ab(e))?void 0:r.body)&&_b(t,{0:()=>e.matches(Cb),1(){let t=e;for(;null!==t;){if(t.matches(Cb))return!0;t=t.parentElement}return!1}})}var Qb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Qb||{});"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 Bb=["textarea","input"].join(",");function jb(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 Ub(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?jb(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Cb)).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,Bb))&&r}(l)&&l.select(),2}function Fb(e,t,r){Tb.isServer||Ua((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function zb(e,t,r=Jo((()=>!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:kb(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!Lb(o,Mb.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Tr(null);Fb("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),Fb("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),Fb("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),Fb("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),function(e,t,r){Tb.isServer||Ua((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 qb(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Zb(e,t){let r=Tr(qb(e.value.type,e.value.as));return Tn((()=>{r.value=qb(e.value.type,e.value.as)})),Ua((()=>{var e;r.value||kb(t)&&kb(t)instanceof HTMLButtonElement&&(null==(e=kb(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function Hb(e){return[e.screenX,e.screenY]}var Vb,Wb=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Wb||{}),Xb=((Vb=Xb||{})[Vb.Unmount=0]="Unmount",Vb[Vb.Hidden=1]="Hidden",Vb);function Yb({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=Jb(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?Gb(s):1&t?_b(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>Gb({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):Gb(s)}function Gb({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=ev(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=Kb(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=Jb(null!=(i=e.props)?i:{},l,u),o=Ao(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 ei(s,Object.assign({},l,u),{default:()=>c})}function Kb(e){return e.flatMap((e=>e.type===lo?Kb(e.children):[e]))}function Jb(...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 ev(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var tv=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(tv||{});let rv=jn({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 Yb({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"})}}),nv=Symbol("Context");var av=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(av||{});function ov(){return ma(nv,null)}function iv(e){fa(nv,e)}var sv,lv,cv=((sv=cv||{}).Space=" ",sv.Enter="Enter",sv.Escape="Escape",sv.Backspace="Backspace",sv.Delete="Delete",sv.ArrowLeft="ArrowLeft",sv.ArrowUp="ArrowUp",sv.ArrowRight="ArrowRight",sv.ArrowDown="ArrowDown",sv.Home="Home",sv.End="End",sv.PageUp="PageUp",sv.PageDown="PageDown",sv.Tab="Tab",sv),uv=((lv=uv||{})[lv.First=0]="First",lv[lv.Previous=1]="Previous",lv[lv.Next=2]="Next",lv[lv.Last=3]="Last",lv[lv.Specific=4]="Specific",lv[lv.Nothing=5]="Nothing",lv);function dv(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))hv(r,pv(t,n),a);return r}function pv(e,t){return e?e+"["+t+"]":t}function hv(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())hv(e,pv(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,""]):dv(r,t,e)}var fv=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(fv||{});let mv=Symbol("DisclosureContext");function gv(e){let t=ma(mv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gv),t}return t}let bv=Symbol("DisclosurePanelContext"),vv=jn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Tr(e.defaultOpen?0:1),a=Tr(null),o=Tr(null),i={buttonId:Tr(`headlessui-disclosure-button-${xb()}`),panelId:Tr(`headlessui-disclosure-panel-${xb()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=_b(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?kb(e):kb(i.button):kb(i.button);null==t||t.focus()}};return fa(mv,i),iv(Jo((()=>_b(n.value,{0:av.Open,1:av.Closed})))),()=>{let{defaultOpen:a,...o}=e;return Yb({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),Ov=jn({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=gv("DisclosureButton"),o=ma(bv,null),i=Jo((()=>null!==o&&o.value===a.panelId.value));Tn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Dn((()=>{i.value||(a.buttonId.value=null)}));let s=Tr(null);n({el:s,$el:s}),i.value||Ua((()=>{a.button.value=s.value}));let l=Zb(Jo((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=kb(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case cv.Space:case cv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=kb(a.button))||r.focus()}else switch(t.key){case cv.Space:case cv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===cv.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return Yb({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||kb(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"})}}}),yv=jn({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=gv("DisclosurePanel");Tn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Dn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),fa(bv,a.panelId);let o=ov(),i=Jo((()=>null!==o?(o.value&av.Open)===av.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return Yb({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:Wb.RenderStrategy|Wb.Static,visible:i.value,name:"DisclosurePanel"})}}}),wv=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function xv(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 wv.test(i)&&(i=i.replace(wv,"")),i}function kv(e,t){return e===t}var _v=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(_v||{}),Sv=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Sv||{}),Ev=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ev||{});let Tv=Symbol("ListboxContext");function Av(e){let t=ma(Tv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Av),t}return t}let Cv=jn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>kv},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=Tr(1),o=Tr(null),i=Tr(null),s=Tr(null),l=Tr([]),c=Tr(""),u=Tr(null),d=Tr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=jb(e(l.value.slice()),(e=>kb(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=Jo((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Tr(null==r?void 0:r.value),a=Jo((()=>void 0!==e.value));return[Jo((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(Jo((()=>e.modelValue)),(e=>n("update:modelValue",e)),Jo((()=>e.defaultValue))),g=Jo((()=>void 0===f.value?_b(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:Jo((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:Jo((()=>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(_b(h.value,{0:()=>t,1:()=>{let e=yr(b.value.value).slice(),r=yr(t),n=e.findIndex((e=>b.compare(r,yr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};zb([i,s],((e,t)=>{var r;b.closeListbox(),Lb(t,Mb.Loose)||(e.preventDefault(),null==(r=kb(i))||r.focus())}),Jo((()=>0===a.value))),fa(Tv,b),iv(Jo((()=>_b(a.value,{0:av.Open,1:av.Closed}))));let v=Jo((()=>{var e;return null==(e=kb(i))?void 0:e.closest("form")}));return Tn((()=>{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 ei(lo,[...null!=n&&null!=g.value?dv({[n]:g.value}).map((([e,t])=>ei(rv,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:tv.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],Yb({ourProps:{},theirProps:{...r,...ev(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),Pv=jn({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-${xb()}`,i=Av("ListboxButton");function s(e){switch(e.key){case cv.Space:case cv.Enter:case cv.ArrowDown:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=kb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(uv.First)}));break;case cv.ArrowUp:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=kb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(uv.Last)}))}}function l(e){e.key===cv.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=kb(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=Zb(Jo((()=>({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 Yb({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=kb(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=kb(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"})}}}),Dv=jn({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-${xb()}`,i=Av("ListboxOptions"),s=Tr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case cv.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case cv.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(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case _b(i.orientation.value,{vertical:cv.ArrowDown,horizontal:cv.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.Next);case _b(i.orientation.value,{vertical:cv.ArrowUp,horizontal:cv.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.Previous);case cv.Home:case cv.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.First);case cv.End:case cv.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.Last);case cv.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case cv.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=ov(),u=Jo((()=>null!==c?(c.value&av.Open)===av.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return Yb({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=kb(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:Wb.RenderStrategy|Wb.Static,visible:u.value,name:"ListboxOptions"})}}}),Rv=jn({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-${xb()}`,i=Av("ListboxOption"),s=Tr(null);n({el:s,$el:s});let l=Jo((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=Jo((()=>_b(i.mode.value,{0:()=>i.compare(yr(i.value.value),yr(e.value)),1:()=>yr(i.value.value).some((t=>i.compare(yr(t),yr(e.value))))}))),u=Jo((()=>_b(i.mode.value,{1:()=>{var e;let t=yr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(yr(t),yr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=function(e){let t=Tr(""),r=Tr("");return()=>{let n=kb(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():xv(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return xv(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}(s),p=Jo((()=>({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(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(uv.Nothing);i.goToOption(uv.Specific,o)}Tn((()=>i.registerOption(o,p))),Dn((()=>i.unregisterOption(o))),Tn((()=>{za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&_b(i.mode.value,{1:()=>{u.value&&i.goToOption(uv.Specific,o)},0:()=>{i.goToOption(uv.Specific,o)}})}),{immediate:!0})})),Ua((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Yr((()=>{var e,t;return null==(t=null==(e=kb(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=function(){let e=Tr([-1,-1]);return{wasMoved(t){let r=Hb(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=Hb(t)}}}();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(uv.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(uv.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return Yb({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"})}}}),Nv=jn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Tr(!0);return()=>t.value?ei(rv,{as:"button",type:"button",features:tv.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 $v,Iv,Mv=((Iv=Mv||{})[Iv.Forwards=0]="Forwards",Iv[Iv.Backwards=1]="Backwards",Iv),Lv=(($v=Lv||{})[$v.Less=-1]="Less",$v[$v.Equal=0]="Equal",$v[$v.Greater=1]="Greater",$v);let Qv=Symbol("TabsContext");function Bv(e){let t=ma(Qv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Bv),t}return t}let jv=Symbol("TabsSSRContext"),Uv=jn({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=Tr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Tr([]),s=Tr([]),l=Jo((()=>null!==e.selectedIndex)),c=Jo((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=jb(d.tabs.value,kb),n=jb(d.panels.value,kb),a=r.filter((e=>{var t;return!(null!=(t=kb(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=_b(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>_b(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=_b(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:Jo((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:Jo((()=>e.vertical?"vertical":"horizontal")),activation:Jo((()=>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=jb(i.value,kb),!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=jb(s.value,kb))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};fa(Qv,d);let p=Tr({tabs:[],panels:[]}),h=Tr(!1);Tn((()=>{h.value=!0})),fa(jv,Jo((()=>h.value?null:p.value)));let f=Jo((()=>e.selectedIndex));return Tn((()=>{za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),Ua((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=jb(d.tabs.value,kb);e.some(((e,t)=>kb(d.tabs.value[t])!==kb(e)))&&d.setSelectedIndex(e.findIndex((e=>kb(e)===kb(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ei(lo,[i.value.length<=0&&ei(Nv,{onFocus:()=>{for(let e of i.value){let t=kb(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),Yb({theirProps:{...r,...ev(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),Fv=jn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Bv("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return Yb({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),zv=jn({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-${xb()}`,i=Bv("Tab"),s=Tr(null);n({el:s,$el:s}),Tn((()=>i.registerTab(s))),Dn((()=>i.unregisterTab(s)));let l=ma(jv),c=Jo((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=Jo((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=Jo((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===$b.Success&&"auto"===i.activation.value){let e=null==(t=Ab(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>kb(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>kb(e))).filter(Boolean);if(e.key===cv.Space||e.key===cv.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case cv.Home:case cv.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>Ub(t,Nb.First)));case cv.End:case cv.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>Ub(t,Nb.Last)))}return p((()=>_b(i.orientation.value,{vertical:()=>e.key===cv.ArrowUp?Ub(t,Nb.Previous|Nb.WrapAround):e.key===cv.ArrowDown?Ub(t,Nb.Next|Nb.WrapAround):$b.Error,horizontal:()=>e.key===cv.ArrowLeft?Ub(t,Nb.Previous|Nb.WrapAround):e.key===cv.ArrowRight?Ub(t,Nb.Next|Nb.WrapAround):$b.Error})))===$b.Success?e.preventDefault():void 0}let f=Tr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=kb(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=Zb(Jo((()=>({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 Yb({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=kb(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 qv(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Zv(){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 qv((()=>{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=Zv();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 Hv=Symbol("headlessui.useid"),Vv=0;function Wv(){return ma(Hv,(()=>""+ ++Vv))()}function Xv(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 Yv(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,Yv),n}var Gv=Object.defineProperty,Kv=(e,t,r)=>(((e,t,r)=>{t in e?Gv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Jv=new class{constructor(){Kv(this,"current",this.detect()),Kv(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 eO(e){if(Jv.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Xv(e);if(t)return t.ownerDocument}return document}let tO=["[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 rO=(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))(rO||{}),nO=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(nO||{}),aO=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(aO||{});function oO(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(tO)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var iO=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(iO||{});function sO(e,t=0){var r;return e!==(null==(r=eO(e))?void 0:r.body)&&Yv(t,{0:()=>e.matches(tO),1(){let t=e;for(;null!==t;){if(t.matches(tO))return!0;t=t.parentElement}return!1}})}function lO(e){let t=eO(e);Yr((()=>{t&&!sO(t.activeElement,0)&&uO(e)}))}var cO=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(cO||{});function uO(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 dO=["textarea","input"].join(",");function pO(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 hO(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?pO(e):e:oO(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,dO))&&r}(l)&&l.select(),2}function fO(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function mO(e,t,r){Jv.isServer||Ua((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function gO(e,t,r){Jv.isServer||Ua((n=>{window.addEventListener(e,t,r),n((()=>window.removeEventListener(e,t,r)))}))}function bO(e,t,r=Jo((()=>!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:Xv(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!sO(o,iO.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Tr(null);mO("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),mO("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),mO("click",(e=>{fO()||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),mO("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),gO("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function vO(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function OO(e,t){let r=Tr(vO(e.value.type,e.value.as));return Tn((()=>{r.value=vO(e.value.type,e.value.as)})),Ua((()=>{var e;r.value||Xv(t)&&Xv(t)instanceof HTMLButtonElement&&(null==(e=Xv(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function yO(e){return[e.screenX,e.screenY]}function wO(){let e=Tr([-1,-1]);return{wasMoved(t){let r=yO(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=yO(t)}}}var xO=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(xO||{}),kO=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(kO||{});function _O({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=TO(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?SO(s):1&t?Yv(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>SO({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):SO(s)}function SO({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=AO(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=EO(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=TO(null!=(i=e.props)?i:{},l,u),o=Ao(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 ei(s,Object.assign({},l,u),{default:()=>c})}function EO(e){return e.flatMap((e=>e.type===lo?EO(e.children):[e]))}function TO(...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 AO(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var CO=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(CO||{});let PO=jn({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 _O({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"})}}),DO=Symbol("Context");var RO=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(RO||{});function NO(){return ma(DO,null)}function $O(e){fa(DO,e)}var IO=(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))(IO||{});let MO=[];!function(e){function t(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&MO[0]!==e.target&&(MO.unshift(e.target),MO=MO.filter((e=>null!=e&&e.isConnected)),MO.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 LO=(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))(LO||{});function QO(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 qO(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=Xv(r);e instanceof HTMLElement&&t.add(e)}return t}var ZO=(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))(ZO||{});let HO=Object.assign(jn({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:Tr(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let a=Tr(null);n({el:a,$el:a});let o=Jo((()=>eO(a))),i=Tr(!1);Tn((()=>i.value=!0)),Dn((()=>i.value=!1)),function({ownerDocument:e},t){let r=function(e){let t=Tr(MO.slice());return za([e],(([e],[r])=>{!0===r&&!1===e?qv((()=>{t.value.splice(0)})):!1===r&&!0===e&&(t.value=MO.slice())}),{flush:"post"}),()=>{var e;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t);Tn((()=>{Ua((()=>{var n,a;t.value||(null==(n=e.value)?void 0:n.activeElement)===(null==(a=e.value)?void 0:a.body)&&uO(r())}),{flush:"post"})})),Dn((()=>{t.value&&uO(r())}))}({ownerDocument:o},Jo((()=>i.value&&Boolean(16&e.features))));let s=function({ownerDocument:e,container:t,initialFocus:r},n){let a=Tr(null),o=Tr(!1);return Tn((()=>o.value=!0)),Dn((()=>o.value=!1)),Tn((()=>{za([t,r,n],((i,s)=>{if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!n.value)return;let l=Xv(t);l&&qv((()=>{var t,n;if(!o.value)return;let i=Xv(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?uO(i):hO(l,rO.First|rO.NoScroll)===nO.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:Jo((()=>e.initialFocus))},Jo((()=>i.value&&Boolean(2&e.features))));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){var o;FO(null==(o=e.value)?void 0:o.defaultView,"focus",(e=>{if(!a.value)return;let o=qO(r);Xv(t)instanceof HTMLElement&&o.add(Xv(t));let i=n.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?VO(o,s)?(n.value=s,uO(s)):(e.preventDefault(),e.stopPropagation(),uO(i)):uO(n.value)}),!0)}({ownerDocument:o,container:a,containers:e.containers,previousActiveElement:s},Jo((()=>i.value&&Boolean(8&e.features))));let l=function(){let e=Tr(0);return gO("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}();function c(e){let t=Xv(a);t&&Yv(l.value,{[zO.Forwards]:()=>{hO(t,rO.First,{skipElements:[e.relatedTarget]})},[zO.Backwards]:()=>{hO(t,rO.Last,{skipElements:[e.relatedTarget]})}})}let u=Tr(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}function p(t){if(!i.value)return;let r=qO(e.containers);Xv(a)instanceof HTMLElement&&r.add(Xv(a));let n=t.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(VO(r,n)||(u.value?hO(Xv(a),Yv(l.value,{[zO.Forwards]:()=>rO.Next,[zO.Backwards]:()=>rO.Previous})|rO.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&uO(t.target)))}return()=>{let n={ref:a,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return ei(lo,[Boolean(4&o)&&ei(PO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:CO.Focusable}),_O({ourProps:n,theirProps:{...t,...l},slot:{},attrs:t,slots:r,name:"FocusTrap"}),Boolean(4&o)&&ei(PO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:CO.Focusable})])}}}),{features:ZO});function VO(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function WO(){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 XO(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let YO=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:Zv(),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:XO(r)},a=[fO()?{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=Zv();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)}))}))}}:{},WO(),{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)}});YO.subscribe((()=>{let e=YO.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)&&YO.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&YO.dispatch("TEARDOWN",r)}}));let GO=new Map,KO=new Map;function JO(e,t=Tr(!0)){Ua((r=>{var n;if(!t.value)return;let a=Xv(e);if(!a)return;r((function(){var e;if(!a)return;let t=null!=(e=KO.get(a))?e:1;if(1===t?KO.delete(a):KO.set(a,t-1),1!==t)return;let r=GO.get(a);r&&(null===r["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",r["aria-hidden"]),a.inert=r.inert,GO.delete(a))}));let o=null!=(n=KO.get(a))?n:0;KO.set(a,o+1),0===o&&(GO.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)}))}let ey=Symbol("ForcePortalRootContext"),ty=jn({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:r})=>(fa(ey,e.force),()=>{let{force:n,...a}=e;return _O({theirProps:a,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})})}),ry=Symbol("StackContext");var ny=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(ny||{});let ay=Symbol("DescriptionContext"),oy=jn({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-${Wv()}`,o=function(){let e=ma(ay,null);if(null===e)throw new Error("Missing parent");return e}();return Tn((()=>Dn(o.register(a)))),()=>{let{name:n="Description",slot:i=Tr({}),props:s={}}=o,{...l}=e;return _O({ourProps:{...Object.entries(s).reduce(((e,[t,r])=>Object.assign(e,{[t]:Dr(r)})),{}),id:a},theirProps:l,slot:i.value,attrs:t,slots:r,name:n})}}});const iy=new WeakMap;function sy(e,t){let r=t(function(e){var t;return null!=(t=iy.get(e))?t:0}(e));return r<=0?iy.delete(e):iy.set(e,r),r}let ly=jn({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=Tr(null),a=Jo((()=>eO(n))),o=ma(ey,!1),i=ma(uy,null),s=Tr(!0===o||null==i?function(e){let t=eO(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&&sy(s.value,(e=>e+1));let l=Tr(!1);Tn((()=>{l.value=!0})),Ua((()=>{o||null!=i&&(s.value=i.resolveTarget())}));let c=ma(cy,null),u=!1,d=jo();return za(n,(()=>{if(u||!c)return;let e=Xv(n);e&&(Dn(c.register(e),d),u=!0)})),Dn((()=>{var e,t;let r=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root");!r||s.value!==r||sy(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 ei(io,{to:s.value},_O({ourProps:a,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),cy=Symbol("PortalParentContext"),uy=Symbol("PortalGroupContext"),dy=jn({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=dr({resolveTarget:()=>e.target});return fa(uy,n),()=>{let{target:n,...a}=e;return _O({theirProps:a,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}});var py,hy=((py=hy||{})[py.Open=0]="Open",py[py.Closed=1]="Closed",py);let fy=Symbol("DialogContext");function my(e){let t=ma(fy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,my),t}return t}let gy="DC8F892D-2EBD-447C-A4C8-A03058436FF4",by=jn({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:gy},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-${Wv()}`,l=Tr(!1);Tn((()=>{l.value=!0}));let c=!1,u=Jo((()=>"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=Tr(0),p=NO(),h=Jo((()=>e.open===gy&&null!==p?(p.value&RO.Open)===RO.Open:e.open)),f=Tr(null),m=Jo((()=>eO(f)));if(a({el:f,$el:f}),e.open===gy&&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===gy?void 0:e.open}`);let g=Jo((()=>l.value&&h.value?0:1)),b=Jo((()=>0===g.value)),v=Jo((()=>d.value>1)),O=null!==ma(fy,null),[y,w]=function(){let e=ma(cy,null),t=Tr([]);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,jn({name:"PortalWrapper",setup:(e,{slots:t})=>(fa(cy,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=Tr(null),a=eO(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(Xv(n))||e.contains(null==(i=null==(o=Xv(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:ei(PO,{features:CO.Hidden,ref:n})}}({portals:y,defaultContainers:[Jo((()=>{var e;return null!=(e=N.panelRef.value)?e:f.value}))]}),S=Jo((()=>v.value?"parent":"leaf")),E=Jo((()=>null!==p&&(p.value&RO.Closing)===RO.Closing)),T=Jo((()=>!O&&!E.value&&b.value)),A=Jo((()=>{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(Xv(k))&&e instanceof HTMLElement)))?r:null}));JO(A,T);let C=Jo((()=>!!v.value||b.value)),P=Jo((()=>{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(Xv(k))&&e instanceof HTMLElement)))?r:null}));JO(P,C),function({type:e,enabled:t,element:r,onUpdate:n}){let a=ma(ry,(()=>{}));function o(...e){null==n||n(...e),a(...e)}Tn((()=>{za(t,((t,n)=>{t?o(0,e,r):!0===n&&o(1,e,r)}),{immediate:!0,flush:"sync"})})),Dn((()=>{t.value&&o(1,e,r)})),fa(ry,o)}({type:"Dialog",enabled:Jo((()=>0===g.value)),element:f,onUpdate:(e,t)=>{if("Dialog"===t)return Yv(e,{[ny.Add]:()=>d.value+=1,[ny.Remove]:()=>d.value-=1})}});let D=function({slot:e=Tr({}),name:t="Description",props:r={}}={}){let n=Tr([]);return fa(ay,{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}),Jo((()=>n.value.length>0?n.value.join(" "):void 0))}({name:"DialogDescription",slot:Jo((()=>({open:h.value})))}),R=Tr(null),N={titleId:R,panelRef:Tr(null),dialogState:g,setTitleId(e){R.value!==e&&(R.value=e)},close(){t("close",!1)}};fa(fy,N);let $=Jo((()=>!(!b.value||v.value)));bO(x,((e,t)=>{e.preventDefault(),N.close(),Yr((()=>null==t?void 0:t.focus()))}),$);let I=Jo((()=>!(v.value||0!==g.value)));FO(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{I.value&&(e.defaultPrevented||e.key===IO.Escape&&(e.preventDefault(),e.stopPropagation(),N.close()))}));let M=Jo((()=>!(E.value||0!==g.value||O)));return function(e,t,r){let n=function(e){let t=Ar(e.getSnapshot());return Dn(e.subscribe((()=>{t.value=e.getSnapshot()}))),t}(YO),a=Jo((()=>{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;YO.dispatch("PUSH",e,r);let o=!1;a((()=>{o||(YO.dispatch("POP",null!=n?n:e,r),o=!0)}))}),{immediate:!0})}(m,M,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}})),Ua((e=>{if(0!==g.value)return;let t=Xv(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 ei(ty,{force:!0},(()=>[ei(ly,(()=>ei(dy,{target:f.value},(()=>ei(ty,{force:!1},(()=>ei(HO,{initialFocus:a,containers:x,features:b.value?Yv(S.value,{parent:HO.features.RestoreFocus,leaf:HO.features.All&~HO.features.FocusLock}):HO.features.None},(()=>ei(w,{},(()=>_O({ourProps:i,theirProps:{...o,...r},slot:l,attrs:r,slots:n,visible:0===g.value,features:xO.RenderStrategy|xO.Static,name:"Dialog"}))))))))))),ei(_)]))}}}),vy=jn({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-${Wv()}`,i=my("DialogPanel");function s(e){e.stopPropagation()}return n({el:i.panelRef,$el:i.panelRef}),()=>{let{...n}=e;return _O({ourProps:{id:o,ref:i.panelRef,onClick:s},theirProps:n,slot:{open:0===i.dialogState.value},attrs:t,slots:r,name:"DialogPanel"})}}}),Oy=jn({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-${Wv()}`,o=my("DialogTitle");return Tn((()=>{o.setTitleId(a),Dn((()=>o.setTitleId(null)))})),()=>{let{...n}=e;return _O({ourProps:{id:a},theirProps:n,slot:{open:0===o.dialogState.value},attrs:t,slots:r,name:"DialogTitle"})}}}),yy=oy;var wy=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wy||{});let xy=Symbol("DisclosureContext");function ky(e){let t=ma(xy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ky),t}return t}let _y=Symbol("DisclosurePanelContext"),Sy=jn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Tr(e.defaultOpen?0:1),a=Tr(null),o=Tr(null),i={buttonId:Tr(`headlessui-disclosure-button-${Wv()}`),panelId:Tr(`headlessui-disclosure-panel-${Wv()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=Yv(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?Xv(e):Xv(i.button):Xv(i.button);null==t||t.focus()}};return fa(xy,i),$O(Jo((()=>Yv(n.value,{0:RO.Open,1:RO.Closed})))),()=>{let{defaultOpen:a,...o}=e;return _O({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),Ey=jn({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=ky("DisclosureButton"),o=ma(_y,null),i=Jo((()=>null!==o&&o.value===a.panelId.value));Tn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Dn((()=>{i.value||(a.buttonId.value=null)}));let s=Tr(null);n({el:s,$el:s}),i.value||Ua((()=>{a.button.value=s.value}));let l=OO(Jo((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=Xv(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case IO.Space:case IO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=Xv(a.button))||r.focus()}else switch(t.key){case IO.Space:case IO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===IO.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return _O({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||Xv(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"})}}}),Ty=jn({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=ky("DisclosurePanel");Tn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Dn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),fa(_y,a.panelId);let o=NO(),i=Jo((()=>null!==o?(o.value&RO.Open)===RO.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return _O({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:xO.RenderStrategy|xO.Static,visible:i.value,name:"DisclosurePanel"})}}}),Ay=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Cy(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 Ay.test(i)&&(i=i.replace(Ay,"")),i}function Py(e){let t=Tr(""),r=Tr("");return()=>{let n=Xv(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():Cy(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Cy(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}function Dy(e,t){return e===t}var Ry=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ry||{}),Ny=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Ny||{}),$y=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))($y||{});let Iy=Symbol("ListboxContext");function My(e){let t=ma(Iy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,My),t}return t}let Ly=jn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Dy},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=Tr(1),o=Tr(null),i=Tr(null),s=Tr(null),l=Tr([]),c=Tr(""),u=Tr(null),d=Tr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=pO(e(l.value.slice()),(e=>Xv(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=Jo((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Tr(null==r?void 0:r.value),a=Jo((()=>void 0!==e.value));return[Jo((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(Jo((()=>e.modelValue)),(e=>n("update:modelValue",e)),Jo((()=>e.defaultValue))),g=Jo((()=>void 0===f.value?Yv(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:Jo((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:Jo((()=>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=QO(t===LO.Specific?{focus:LO.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(Yv(h.value,{0:()=>t,1:()=>{let e=yr(b.value.value).slice(),r=yr(t),n=e.findIndex((e=>b.compare(r,yr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};bO([i,s],((e,t)=>{var r;b.closeListbox(),sO(t,iO.Loose)||(e.preventDefault(),null==(r=Xv(i))||r.focus())}),Jo((()=>0===a.value))),fa(Iy,b),$O(Jo((()=>Yv(a.value,{0:RO.Open,1:RO.Closed}))));let v=Jo((()=>{var e;return null==(e=Xv(i))?void 0:e.closest("form")}));return Tn((()=>{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 ei(lo,[...null!=n&&null!=g.value?BO({[n]:g.value}).map((([e,t])=>ei(PO,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:CO.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],_O({ourProps:{},theirProps:{...r,...AO(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),Qy=jn({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-${Wv()}`,i=My("ListboxButton");function s(e){switch(e.key){case IO.Space:case IO.Enter:case IO.ArrowDown:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=Xv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(LO.First)}));break;case IO.ArrowUp:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=Xv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(LO.Last)}))}}function l(e){e.key===IO.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Xv(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=OO(Jo((()=>({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 _O({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=Xv(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=Xv(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"})}}}),By=jn({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-${Wv()}`,i=My("ListboxOptions"),s=Tr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case IO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case IO.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(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case Yv(i.orientation.value,{vertical:IO.ArrowDown,horizontal:IO.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.Next);case Yv(i.orientation.value,{vertical:IO.ArrowUp,horizontal:IO.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.Previous);case IO.Home:case IO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.First);case IO.End:case IO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.Last);case IO.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case IO.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=NO(),u=Jo((()=>null!==c?(c.value&RO.Open)===RO.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return _O({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=Xv(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:xO.RenderStrategy|xO.Static,visible:u.value,name:"ListboxOptions"})}}}),jy=jn({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-${Wv()}`,i=My("ListboxOption"),s=Tr(null);n({el:s,$el:s});let l=Jo((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=Jo((()=>Yv(i.mode.value,{0:()=>i.compare(yr(i.value.value),yr(e.value)),1:()=>yr(i.value.value).some((t=>i.compare(yr(t),yr(e.value))))}))),u=Jo((()=>Yv(i.mode.value,{1:()=>{var e;let t=yr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(yr(t),yr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=Py(s),p=Jo((()=>({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(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(LO.Nothing);i.goToOption(LO.Specific,o)}Tn((()=>i.registerOption(o,p))),Dn((()=>i.unregisterOption(o))),Tn((()=>{za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&Yv(i.mode.value,{1:()=>{u.value&&i.goToOption(LO.Specific,o)},0:()=>{i.goToOption(LO.Specific,o)}})}),{immediate:!0})})),Ua((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Yr((()=>{var e,t;return null==(t=null==(e=Xv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=wO();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(LO.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(LO.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return _O({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 Uy=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Uy||{}),Fy=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Fy||{});let zy=Symbol("MenuContext");function qy(e){let t=ma(zy,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 Zy=jn({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:r}){let n=Tr(1),a=Tr(null),o=Tr(null),i=Tr([]),s=Tr(""),l=Tr(null),c=Tr(1);function u(e=(e=>e)){let t=null!==l.value?i.value[l.value]:null,r=pO(e(i.value.slice()),(e=>Xv(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=QO(e===LO.Specific?{focus:LO.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 bO([a,o],((e,t)=>{var r;d.closeMenu(),sO(t,iO.Loose)||(e.preventDefault(),null==(r=Xv(a))||r.focus())}),Jo((()=>0===n.value))),fa(zy,d),$O(Jo((()=>Yv(n.value,{0:RO.Open,1:RO.Closed})))),()=>{let a={open:0===n.value,close:d.closeMenu};return _O({ourProps:{},theirProps:e,slot:a,slots:t,attrs:r,name:"Menu"})}}}),Hy=jn({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-${Wv()}`,i=qy("MenuButton");function s(e){switch(e.key){case IO.Space:case IO.Enter:case IO.ArrowDown:e.preventDefault(),e.stopPropagation(),i.openMenu(),Yr((()=>{var e;null==(e=Xv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(LO.First)}));break;case IO.ArrowUp:e.preventDefault(),e.stopPropagation(),i.openMenu(),Yr((()=>{var e;null==(e=Xv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(LO.Last)}))}}function l(e){e.key===IO.Space&&e.preventDefault()}function c(t){e.disabled||(0===i.menuState.value?(i.closeMenu(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),i.openMenu(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Xv(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=OO(Jo((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n;let a={open:0===i.menuState.value},{...d}=e;return _O({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"menu","aria-controls":null==(n=Xv(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"})}}}),Vy=jn({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-${Wv()}`,i=qy("MenuItems"),s=Tr(null);function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case IO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case IO.Enter:e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value&&(null==(t=Xv(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()),i.closeMenu(),lO(Xv(i.buttonRef));break;case IO.ArrowDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.Next);case IO.ArrowUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.Previous);case IO.Home:case IO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.First);case IO.End:case IO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.Last);case IO.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case IO.Tab:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Yr((()=>function(e,t){return hO(oO(),t,{relativeTo:e})}(Xv(i.buttonRef),e.shiftKey?rO.Previous:rO.Next)));break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){e.key===IO.Space&&e.preventDefault()}n({el:i.itemsRef,$el:i.itemsRef}),function({container:e,accept:t,walk:r,enabled:n}){Ua((()=>{let a=e.value;if(!a||void 0!==n&&!n.value)return;let o=eO(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:Jo((()=>Xv(i.itemsRef))),enabled:Jo((()=>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=NO(),d=Jo((()=>null!==u?(u.value&RO.Open)===RO.Open:0===i.menuState.value));return()=>{var n,a;let s={open:0===i.menuState.value},{...u}=e;return _O({ourProps:{"aria-activedescendant":null===i.activeItemIndex.value||null==(n=i.items.value[i.activeItemIndex.value])?void 0:n.id,"aria-labelledby":null==(a=Xv(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:xO.RenderStrategy|xO.Static,visible:d.value,name:"MenuItems"})}}}),Wy=jn({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-${Wv()}`,i=qy("MenuItem"),s=Tr(null);n({el:s,$el:s});let l=Jo((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===o)),c=Py(s),u=Jo((()=>({disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){if(e.disabled)return t.preventDefault();i.closeMenu(),lO(Xv(i.buttonRef))}function p(){if(e.disabled)return i.goToItem(LO.Nothing);i.goToItem(LO.Specific,o)}Tn((()=>i.registerItem(o,u))),Dn((()=>i.unregisterItem(o))),Ua((()=>{0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&Yr((()=>{var e,t;return null==(t=null==(e=Xv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let h=wO();function f(e){h.update(e)}function m(t){h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(LO.Specific,o,0))}function g(t){h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(LO.Nothing))}return()=>{let{disabled:n,...a}=e,c={active:l.value,disabled:n,close:i.closeMenu};return _O({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"})}}}),Xy=jn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Tr(!0);return()=>t.value?ei(PO,{as:"button",type:"button",features:CO.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 Yy=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Yy||{}),Gy=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Gy||{});let Ky=Symbol("TabsContext");function Jy(e){let t=ma(Ky,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Jy),t}return t}let ew=Symbol("TabsSSRContext"),tw=jn({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=Tr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Tr([]),s=Tr([]),l=Jo((()=>null!==e.selectedIndex)),c=Jo((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=pO(d.tabs.value,Xv),n=pO(d.panels.value,Xv),a=r.filter((e=>{var t;return!(null!=(t=Xv(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=Yv(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>Yv(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=Yv(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:Jo((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:Jo((()=>e.vertical?"vertical":"horizontal")),activation:Jo((()=>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=pO(i.value,Xv),!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=pO(s.value,Xv))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};fa(Ky,d);let p=Tr({tabs:[],panels:[]}),h=Tr(!1);Tn((()=>{h.value=!0})),fa(ew,Jo((()=>h.value?null:p.value)));let f=Jo((()=>e.selectedIndex));return Tn((()=>{za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),Ua((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=pO(d.tabs.value,Xv);e.some(((e,t)=>Xv(d.tabs.value[t])!==Xv(e)))&&d.setSelectedIndex(e.findIndex((e=>Xv(e)===Xv(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ei(lo,[i.value.length<=0&&ei(Xy,{onFocus:()=>{for(let e of i.value){let t=Xv(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),_O({theirProps:{...r,...AO(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),rw=jn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Jy("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return _O({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),nw=jn({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-${Wv()}`,i=Jy("Tab"),s=Tr(null);n({el:s,$el:s}),Tn((()=>i.registerTab(s))),Dn((()=>i.unregisterTab(s)));let l=ma(ew),c=Jo((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=Jo((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=Jo((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===nO.Success&&"auto"===i.activation.value){let e=null==(t=eO(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>Xv(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>Xv(e))).filter(Boolean);if(e.key===IO.Space||e.key===IO.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case IO.Home:case IO.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>hO(t,rO.First)));case IO.End:case IO.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>hO(t,rO.Last)))}return p((()=>Yv(i.orientation.value,{vertical:()=>e.key===IO.ArrowUp?hO(t,rO.Previous|rO.WrapAround):e.key===IO.ArrowDown?hO(t,rO.Next|rO.WrapAround):nO.Error,horizontal:()=>e.key===IO.ArrowLeft?hO(t,rO.Previous|rO.WrapAround):e.key===IO.ArrowRight?hO(t,rO.Next|rO.WrapAround):nO.Error})))===nO.Success?e.preventDefault():void 0}let f=Tr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=Xv(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),qv((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=OO(Jo((()=>({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 _O({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=Xv(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"})}}}),aw=jn({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=Jy("TabPanels");return()=>{let a={selectedIndex:n.selectedIndex.value};return _O({theirProps:e,ourProps:{},slot:a,attrs:r,slots:t,name:"TabPanels"})}}}),ow=jn({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-${Wv()}`,i=Jy("TabPanel"),s=Tr(null);n({el:s,$el:s}),Tn((()=>i.registerPanel(s))),Dn((()=>i.unregisterPanel(s)));let l=ma(ew),c=Jo((()=>{if(l.value){let e=l.value.panels.indexOf(o);return-1===e?l.value.panels.push(o)-1:e}return-1})),u=Jo((()=>{let e=i.panels.value.indexOf(s);return-1===e?c.value:e})),d=Jo((()=>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=Xv(i.tabs.value[u.value]))?void 0:n.id,tabIndex:d.value?l:-1};return d.value||!e.unmount||e.static?_O({ourProps:p,theirProps:c,slot:a,attrs:t,slots:r,features:xO.Static|xO.RenderStrategy,visible:d.value,name:"TabPanel"}):ei(PO,{as:"span","aria-hidden":!0,...p})}}});function iw(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,cw=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=lw(t)||lw(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:uw,cva:dw,cx:pw}=cw(),hw="-";function fw(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])=>{bw(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(hw);return""===r[0]&&1!==r.length&&r.shift(),mw(r,t)||function(e){if(gw.test(e)){const t=gw.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 mw(e,t){var r;if(0===e.length)return t.classGroupId;const n=e[0],a=t.nextPart.get(n),o=a?mw(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(hw);return null==(r=t.validators.find((({validator:e})=>e(i))))?void 0:r.classGroupId}const gw=/^\[(.+)\]$/;function bw(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void bw(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{bw(a,vw(t,e),r,n)}))}else(""===e?t:vw(t,e)).classGroupId=r}))}function vw(e,t){let r=e;return t.split(hw).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function Ow(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 yw="!";function ww(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 xw=/\s+/;function kw(){let e,t,r=0,n="";for(;rt(e)),e());return r=function(e){return{cache:Ow(e.cacheSize),splitModifiers:ww(e),...fw(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(xw).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+yw: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(kw.apply(null,arguments))}}function Ew(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Tw=/^\[(?:([a-z-]+):)?(.+)\]$/i,Aw=/^\d+\/\d+$/,Cw=new Set(["px","full","screen"]),Pw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dw=/\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$/,Rw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Nw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$w=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Iw(e){return Lw(e)||Cw.has(e)||Aw.test(e)}function Mw(e){return Yw(e,"length",Gw)}function Lw(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Qw(e){return Yw(e,"number",Lw)}function Bw(e){return Boolean(e)&&Number.isInteger(Number(e))}function jw(e){return e.endsWith("%")&&Lw(e.slice(0,-1))}function Uw(e){return Tw.test(e)}function Fw(e){return Pw.test(e)}const zw=new Set(["length","size","percentage"]);function qw(e){return Yw(e,zw,Kw)}function Zw(e){return Yw(e,"position",Kw)}const Hw=new Set(["image","url"]);function Vw(e){return Yw(e,Hw,ex)}function Ww(e){return Yw(e,"",Jw)}function Xw(){return!0}function Yw(e,t,r){const n=Tw.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Gw(e){return Dw.test(e)&&!Rw.test(e)}function Kw(){return!1}function Jw(e){return Nw.test(e)}function ex(e){return $w.test(e)}function tx(){const e=Ew("colors"),t=Ew("spacing"),r=Ew("blur"),n=Ew("brightness"),a=Ew("borderColor"),o=Ew("borderRadius"),i=Ew("borderSpacing"),s=Ew("borderWidth"),l=Ew("contrast"),c=Ew("grayscale"),u=Ew("hueRotate"),d=Ew("invert"),p=Ew("gap"),h=Ew("gradientColorStops"),f=Ew("gradientColorStopPositions"),m=Ew("inset"),g=Ew("margin"),b=Ew("opacity"),v=Ew("padding"),O=Ew("saturate"),y=Ew("scale"),w=Ew("sepia"),x=Ew("skew"),k=Ew("space"),_=Ew("translate"),S=()=>["auto",Uw,t],E=()=>[Uw,t],T=()=>["",Iw,Mw],A=()=>["auto",Lw,Uw],C=()=>["","0",Uw],P=()=>[Lw,Qw],D=()=>[Lw,Uw];return{cacheSize:500,separator:":",theme:{colors:[Xw],spacing:[Iw,Mw],blur:["none","",Fw,Uw],brightness:P(),borderColor:[e],borderRadius:["none","","full",Fw,Uw],borderSpacing:E(),borderWidth:T(),contrast:P(),grayscale:C(),hueRotate:D(),invert:C(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[jw,Mw],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",Uw]}],container:["container"],columns:[{columns:[Fw]}],"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",Uw]}],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",Bw,Uw]}],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",Uw]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",Bw,Uw]}],"grid-cols":[{"grid-cols":[Xw]}],"col-start-end":[{col:["auto",{span:["full",Bw,Uw]},Uw]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Xw]}],"row-start-end":[{row:["auto",{span:[Bw,Uw]},Uw]}],"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",Uw]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Uw]}],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",Uw,t]}],"min-w":[{"min-w":[Uw,t,"min","max","fit"]}],"max-w":[{"max-w":[Uw,t,"none","full","min","max","fit","prose",{screen:[Fw]},Fw]}],h:[{h:[Uw,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Uw,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Uw,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Uw,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Fw,Mw]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Qw]}],"font-family":[{font:[Xw]}],"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",Uw]}],"line-clamp":[{"line-clamp":["none",Lw,Qw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Iw,Uw]}],"list-image":[{"list-image":["none",Uw]}],"list-style-type":[{list:["none","disc","decimal",Uw]}],"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",Iw,Mw]}],"underline-offset":[{"underline-offset":["auto",Iw,Uw]}],"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",Uw]}],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",Uw]}],"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",Zw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vw]}],"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":[Iw,Uw]}],"outline-w":[{outline:[Iw,Mw]}],"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":[Iw,Mw]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Fw,Ww]}],"shadow-color":[{shadow:[Xw]}],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",Fw,Uw]}],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",Uw]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",Uw]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",Uw]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[Bw,Uw]}],"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",Uw]}],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",Uw]}],"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",Uw]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Iw,Mw,Qw]}],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 rx(e,t,r){void 0!==r&&(e[t]=r)}function nx(e,t){if(t)for(const r in t)rx(e,r,t[r])}function ax(e,t){if(t)for(const r in t){const n=t[r];void 0!==n&&(e[r]=(e[r]||[]).concat(n))}}const ox=function(e,...t){return"function"==typeof e?Sw(tx,e,...t):Sw((()=>function(e,{cacheSize:t,prefix:r,separator:n,extend:a={},override:o={}}){rx(e,"cacheSize",t),rx(e,"prefix",r),rx(e,"separator",n);for(const t in o)nx(e[t],o[t]);for(const t in a)ax(e[t],a[t]);return e}(tx(),e)),...t)}({extend:{classGroups:{"font-size":["text-xxs"]}}}),{cva:ix,cx:sx,compose:lx}=cw({hooks:{onComplete:e=>ox(e)}}),cx=()=>dr({open:!1,show(){this.open=!0},hide(){this.open=!1}}),ux=jn({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},setup(e){const t=ix({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=ix({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)=>(mo(),yo(Dr(by),{open:e.state.open,onClose:n[0]||(n[0]=t=>e.state.hide())},{default:hn((()=>[So("div",{class:Xe(Dr(sx)("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"))},[Eo(Dr(vy),{class:Xe(Dr(t)({size:e.size,variant:e.variant})),style:qe({maxWidth:e.maxWidth})},{default:hn((()=>[e.title?(mo(),yo(Dr(Oy),{key:0,class:Xe(["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:hn((()=>[Co(tt(e.title),1)])),_:1},8,["class"])):Do("",!0),"full"===e.size?(mo(),Oo("div",{key:1,class:Xe(e.bodyClass)},[zn(e.$slots,"default",{},void 0,!0)],2)):(mo(),yo(Dr(yy),{key:2,class:Xe(Dr(sx)(e.bodyClass,Dr(r)({variant:e.variant})))},{default:hn((()=>[zn(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))])),_:3},8,["class","style"])],2)])),_:3},8,["open"]))}}),dx=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},px=dx(ux,[["__scopeId","data-v-b9af10e0"]]),hx={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"]},fx=ix({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:hx},compoundVariants:[{disabled:!0,variant:"ghost",class:"text-ghost bg-transparent"}]}),mx=Po('',5),gx={key:0,class:"circular-loader"},bx=dx(jn({__name:"ScalarLoading",props:{loadingState:{},size:{default:"24px"}},setup:e=>(di((e=>({d6cae758:e.size}))),(e,t)=>e.loadingState?(mo(),Oo("div",{key:0,class:Xe(Dr(sx)("loader-wrapper"))},[(mo(),Oo("svg",{class:Xe(["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"},[mx,e.loadingState.isLoading?(mo(),Oo("g",gx,[So("circle",{class:Xe(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"2"},null,2)])):Do("",!0)],2))],2)):Do("",!0))}),[["__scopeId","data-v-47faceda"]]),vx=["ariaDisabled","type"],Ox={key:3,class:"centered-x absolute"},yx=jn({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=Jo((()=>{const{class:e,...t}=Yn();return{class:e||"",rest:t}}));return(e,r)=>{var n,a,o,i;return mo(),Oo("button",Io(t.value.rest,{ariaDisabled:e.disabled||void 0,class:Dr(sx)(Dr(fx)({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?(mo(),Oo("div",{key:0,class:Xe(["mr-2 h-4 w-4",{invisible:null==(a=e.loading)?void 0:a.isLoading}])},[zn(e.$slots,"icon")],2)):Do("",!0),e.loading?(mo(),Oo("span",{key:1,class:Xe({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?(mo(),Oo("div",Ox,[Eo(Dr(bx),{loadingState:e.loading,size:"12px"},null,8,["loadingState"])])):Do("",!0)],16,vx)}}}),wx={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},xx=function(e){if(null==e)return _x;if("function"==typeof e)return kx(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 jx(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(Lx(e))return l;for(Nx(e)||Mx(e)&&Sx(t,e,Mx)?i="\n":Ix(e)?(o=2,i=2):Qx(e)&&(o=1,i=1);++sJx(e,t,r-1)))}const ek="[A-Za-z$_][0-9A-Za-z$_]*",tk=["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"],rk=["true","false","null","undefined","NaN","Infinity"],nk=["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"],ak=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ok=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ik=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],sk=[].concat(ok,nk,ak);var lk="[0-9](_*[0-9])*",ck=`\\.(${lk})`,uk="[0-9a-fA-F](_*[0-9a-fA-F])*",dk={className:"number",variants:[{begin:`(\\b(${lk})((${ck})|\\.)?|(${ck}))[eE][+-]?(${lk})[fFdD]?\\b`},{begin:`\\b(${lk})((${ck})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ck})[fFdD]?\\b`},{begin:`\\b(${lk})[fFdD]\\b`},{begin:`\\b0[xX]((${uk})\\.?|(${uk})?\\.(${uk}))[pP][+-]?(${lk})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${uk})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const pk=["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"],hk=["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"],fk=["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"],mk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],gk=["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(),bk=fk.concat(mk),vk=["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"],Ok=["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"],yk=["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"],wk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],xk=["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 kk(e){return e?"string"==typeof e?e:e.source:null}function _k(e){return Sk("(?=",e,")")}function Sk(...e){return e.map((e=>kk(e))).join("")}function Ek(...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=>kk(e))).join("|")+")"}const Tk=e=>Sk(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Ak=["Protocol","Type"].map(Tk),Ck=["init","self"].map(Tk),Pk=["Any","Self"],Dk=["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"],Rk=["false","nil","true"],Nk=["assignment","associativity","higherThan","left","lowerThan","none","right"],$k=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Ik=["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"],Mk=Ek(/[/=\-+!*%<>&|^~?]/,/[\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]/),Lk=Ek(Mk,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Qk=Sk(Mk,Lk,"*"),Bk=Ek(/[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]/),jk=Ek(Bk,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Uk=Sk(Bk,jk,"*"),Fk=Sk(/[A-Z]/,jk,"*"),zk=["attached","autoclosure",Sk(/convention\(/,Ek("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Sk(/objc\(/,Uk,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],qk=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],Zk="[A-Za-z$_][0-9A-Za-z$_]*",Hk=["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"],Vk=["true","false","null","undefined","NaN","Infinity"],Wk=["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"],Xk=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Yk=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Gk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Kk=[].concat(Yk,Wk,Xk);function Jk(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)=>(mo(),yo(M7,null,{title:hn((()=>[Co(tt(e.title),1)])),default:hn((()=>[e.active?(mo(),yo(G7,{key:0,columns:[""]},{default:hn((()=>[Eo(J7,null,{default:hn((()=>[Eo(e6,{class:"relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]"},{default:hn((()=>[So("div",rhe,[So("span",nhe,tt(o.value),1),Eo(Dr(iQ),{class:"text-c-3 ml-1 mt-px",icon:"ChevronDown",size:"xs"})]),Mn(So("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"absolute inset-0 w-auto opacity-0",onClick:t[1]||(t[1]=Ui((()=>{}),["prevent"]))},[(mo(),Oo(lo,null,Qn(i,(e=>So("option",{key:e,value:e},tt(e),9,ahe))),64))],512),[[Ii,o.value]])])),_:1})])),_:1}),Eo(J7,null,{default:hn((()=>["raw"===o.value?(mo(),yo(Dr(UM),{key:0,class:"force-text-sm rounded-b border-t-0",content:e.data,lang:n.value},null,8,["content","lang"])):(mo(),Oo("iframe",{key:1,ref_key:"iframe",ref:a,allowfullscreen:"",allowtransparency:"true",class:"w-full aspect-video",frameborder:"0"},null,512))])),_:1})])),_:1})):Do("",!0)])),_:1}))}}),ihe=f0(ohe,[["__scopeId","data-v-99c6c7a3"]]),she={class:"relative col-1 flex-center gap-6 p-2 capitalize"},lhe={class:"flex h-[calc(100%_-_50px)] flex-col items-center justify-center"},che={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},uhe={key:0,class:"flex items-center gap-1.5",type:"button"},dhe=jn({__name:"ResponseEmpty",setup(e){const{workspace:t}=u8();return(e,r)=>(mo(),Oo("div",she,[So("div",lhe,[Eo(x8,{art:Dr(" .,,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"])]),So("div",che,[So("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[0]||(r[0]=e=>Dr(J8).emit())},[Co(" Send Request "),Eo(f8,{hotkey:"↵"})]),Dr(t).isReadOnly?Do("",!0):(mo(),Oo("button",uhe,[Co(" New Request "),Eo(f8,{hotkey:"N"})]))])]))}}),phe=["href"],hhe=jn({__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(mo(),Oo("a",{class:"cursor-help decoration-c-3 underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[zn(e.$slots,"default")],8,phe))}),fhe=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],mhe=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ghe=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bhe=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],vhe=(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 Ohe(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 yhe={class:"flex gap-1.5 text-c-3 pl-1"},whe={key:0},xhe={key:1},khe=jn({__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?bhe:ghe:t.binary?mhe:fhe,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+vhe(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+vhe(Number(e),t.locale,i)+n+r[s]}(r):void 0},n=Jo((()=>{const e=t.response.status;if(e)return yu[e]??void 0}));return(e,t)=>(mo(),Oo("div",yhe,[So("span",null,tt(Dr(Ohe)(e.response.duration)),1),r(e.response)?(mo(),Oo("span",whe,tt(r(e.response)),1)):Do("",!0),n.value?(mo(),Oo(lo,{key:1},[n.value.url?(mo(),yo(hhe,{key:0,href:n.value.url},{default:hn((()=>[Co(tt(e.response.status)+" "+tt(n.value.name),1)])),_:1},8,["href"])):(mo(),Oo("span",xhe,tt(e.response.status)+" "+tt(n.value.name),1))],64)):Do("",!0)]))}}),_he={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},She=jn({__name:"DataTableText",props:{text:{}},setup:e=>(e,t)=>(mo(),yo(z7,{class:"relative flex"},{default:hn((()=>[So("span",_he,tt(e.text),1)])),_:1}))}),Ehe={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"},The=jn({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(e,t)=>(mo(),yo(M7,{defaultOpen:!1},{title:hn((()=>[Co("Cookies")])),default:hn((()=>[(mo(),Oo(lo,{key:0},[e.cookies.length?(mo(),yo(G7,{key:0,class:"flex-1",columns:["",""]},{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(e.cookies,((e,t)=>(mo(),yo(J7,{key:t},{default:hn((()=>[Eo(She,{text:e.name},null,8,["text"]),Eo(She,{text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(mo(),Oo("div",Ehe," No cookies "))],64))])),_:1}))}),Ahe={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"},Che=jn({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("-");return(e,r)=>(mo(),yo(M7,{defaultOpen:!1,itemCount:e.headers.length},{title:hn((()=>[Co("Headers")])),default:hn((()=>[e.headers.length?(mo(),yo(G7,{key:0,columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(e.headers,((e,r)=>(mo(),yo(J7,{key:r,class:"text-c-1"},{default:hn((()=>[Eo(She,{class:"sticky left-0 z-1 bg-b-1 max-w-48",text:t(e.name)},null,8,["text"]),Eo(She,{class:"z-0",text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(mo(),Oo("div",Ahe," No Headers "))])),_:1},8,["itemCount"]))}}),Phe={class:"flex items-center flex-1"},Dhe={class:"custom-scroll flex flex-1 flex-col px-2 xl:px-6 py-2.5"},Rhe=jn({__name:"ResponseSection",props:{response:{}},setup(e){const t=e,r=Jo((()=>{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=Jo((()=>{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=Jo((()=>{var e;const r=null==(e=t.response)?void 0:e.data;return r&&mu(r)?JSON.stringify(JSON.parse(r),null,2):r&&"object"==typeof yr(r)?JSON.stringify(r,null,2):r})),o=["All","Body","Headers","Cookies"],i=Tr("All");return(e,t)=>(mo(),yo(D7,null,{title:hn((()=>[Eo(Dr(iQ),{class:"text-c-3 mr-1.5 rotate-180",icon:"ExternalLink",size:"sm"}),So("div",Phe,[Co(" Response "),e.response?(mo(),yo(khe,{key:0,response:e.response},null,8,["response"])):Do("",!0)])])),default:hn((()=>[So("div",Dhe,[e.response?(mo(),Oo(lo,{key:1},[Eo(A7,{activeSection:i.value,sections:o,onSetActiveSection:t[0]||(t[0]=e=>i.value=e)},null,8,["activeSection"]),"All"===i.value||"Cookies"===i.value?(mo(),yo(The,{key:0,cookies:n.value},null,8,["cookies"])):Do("",!0),"All"===i.value||"Headers"===i.value?(mo(),yo(Che,{key:1,headers:r.value},null,8,["headers"])):Do("",!0),"All"===i.value||"Body"===i.value?(mo(),yo(ihe,{key:2,active:!0,data:a.value,headers:r.value,title:"Body"},null,8,["data","headers"])):Do("",!0)],64)):(mo(),yo(dhe,{key:0}))])])),_:1}))}}),Nhe=Tr(null),$he=Tr(null),Ihe=["draggable"],Mhe=jn({__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=Jo((()=>(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",Nhe.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=Nhe.value)?void 0:t.id)===r.id||r.parentIds.includes((null==(n=Nhe.value)?void 0:n.id)??"")||!r.isDroppable)return;const i=null==(o=$he.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=$he.value)?void 0:e.id)&&(t+=` dragover-${s[$he.value.offset]}`),t})),c=()=>{if(!$he.value||!Nhe.value)return;const e={...Nhe.value},t={...$he.value};Nhe.value=null,$he.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),e.id!==t.id&&n("onDragEnd",e,t)};return(e,t)=>(mo(),Oo("div",{class:Xe(l.value),draggable:e.isDraggable,onDragend:c,onDragover:t[0]||(t[0]=Ui(((...e)=>Dr(i)&&Dr(i)(...e)),["prevent","stop"])),onDragstart:Ui(o,["stop"])},[zn(e.$slots,"default")],42,Ihe))}}),Lhe=So("span",null,"Add Example",-1),Qhe=So("span",null,"Rename",-1),Bhe=So("span",null,"Duplicate",-1),jhe=So("span",null,"Delete",-1),Uhe=jn({__name:"RequestSidebarItemMenu",props:{item:{}},setup(e){const t=e,{createExampleFromRequest:r,requestMutators:n}=u8(),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=Jo((()=>"summary"in t.item));return(e,t)=>(mo(),yo(Dr(eQ),{teleport:"#scalar-client"},{items:hn((()=>[l.value?(mo(),yo(Dr(nQ),{key:0,class:"flex !gap-2",onClick:a},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Add",size:"xs"}),Lhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"1",onHotkeyPressed:a})])),_:1})):Do("",!0),Eo(Dr(nQ),{class:"flex !gap-2"},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Edit",size:"xs"}),Qhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"2",onHotkeyPressed:o})])),_:1}),Eo(Dr(nQ),{class:"flex !gap-2"},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Duplicate",size:"xs"}),Bhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"3",onHotkeyPressed:i})])),_:1}),Eo(Dr(rQ)),Eo(Dr(nQ),{class:"flex !gap-2"},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Trash",size:"xs"}),jhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"4",onHotkeyPressed:s})])),_:1})])),default:hn((()=>[Eo(Dr(yx),{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]=Ui((()=>{}),["stop"]))},{default:hn((()=>[Eo(Dr(iQ),{icon:"Ellipses",size:"sm"})])),_:1})])),_:1}))}}),Fhe={class:"z-10 font-medium w-full editable-sidebar-hover-item"},zhe={class:"relative"},qhe={class:"flex"},Zhe={class:"z-10 mr-[-.5px] flex h-fit items-center justify-center"},Hhe={class:"z-10 font-medium"},Vhe={key:2},Whe="hover:before:bg-sidebar-active-b before:absolute before:inset-0 before:rounded before-left-offset",Xhe=jn({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:Boolean,default:!1},parentUids:{},item:{}},emits:["onDragEnd"],setup(e){di((e=>({"34fef122":d.value})));const t=e,{activeRequest:r,folders:n,requests:a,requestExamples:o,workspace:i}=u8(),{collapsedSidebarFolders:s,toggleSidebarFolder:l}=b4(),c=Z1(),u=Jo((()=>"childUids"in t.item)),d=Jo((()=>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=Jo((()=>("requestUid"in t.item?a[t.item.requestUid]:t.item).method)),f=Jo((()=>{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=On("RequestSidebarItem",!0);return mo(),Oo("div",{class:Xe(["relative flex flex-row",[Dr(i).isReadOnly&&e.parentUids.length>1||!Dr(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":""]])},[Eo(Dr(Mhe),{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:hn((()=>["summary"in e.item||"requestUid"in e.item?(mo(),yo(Dr(B1),{key:0,custom:"",to:`/request/${e.item.uid}`},{default:hn((()=>{var n;return[So("div",{class:Xe(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 editable-sidebar-hover",[Whe,(null==(n=Dr(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")]]),onClick:t[0]||(t[0]=t=>((e,t)=>{e.metaKey?window.open(`/request/${t}`,"_blank"):c.push(`/request/${t}`)})(t,e.item.uid))},[So("span",Fhe,tt(p(e.item)),1),So("div",zhe,[Dr(i).isReadOnly?Do("",!0):(mo(),yo(Uhe,{key:0,item:e.item},null,8,["item"])),So("span",qhe,[Co(" "),Eo(Dr(C8),{class:"font-bold",method:h.value},null,8,["method"])])])],2)]})),_:1},8,["to"])):!Dr(i).isReadOnly||e.parentUids.length?(mo(),Oo("button",{key:1,class:Xe(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5",Whe]),type:"button",onClick:t[1]||(t[1]=t=>Dr(l)(e.item.uid))},[So("span",Zhe,[zn(e.$slots,"leftIcon",{},(()=>[So("div",{class:Xe({"rotate-90":Dr(s)[e.item.uid]})},[Eo(Dr(iQ),{class:"text-c-3 text-sm",icon:"ChevronRight",size:"sm"})],2)]),!0),Co(" ")]),So("span",Hhe,tt(p(e.item)),1)])):Do("",!0),"childUids"in e.item?Mn((mo(),Oo("div",Vhe,[(mo(!0),Oo(lo,null,Qn(e.item.childUids,(r=>(mo(),yo(d,{key:r,isDraggable:e.isDraggable,isDroppable:e.isDroppable,item:Dr(n)[r]||Dr(a)[r]||Dr(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)),[[li,f.value]]):Do("",!0)])),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)}}}),Yhe=f0(Xhe,[["__scopeId","data-v-dfda331d"]]),Ghe={class:"w-sidebar relative flex flex-col border-r bg-b-1"},Khe={key:0,class:"xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm"},Jhe={class:"font-medium m-0 text-sm"},efe={class:"custom-scroll sidebar-height"},tfe=jn({__name:"Sidebar",setup(e){const{workspace:t}=u8();return(e,r)=>(mo(),Oo("aside",Ghe,[Dr(t).isReadOnly?Do("",!0):(mo(),Oo("div",Khe,[So("h2",Jhe,[zn(e.$slots,"title")])])),So("div",efe,[zn(e.$slots,"content")]),zn(e.$slots,"button")]))}});
+ **/function ci(e,t){e.style.display=t?e[ii]:"none",e[si]=!t}const ui=Symbol("");function di(e){const t=jo();if(!t)return;const r=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>hi(e,r)))},n=()=>{const n=e(t.proxy);pi(t.subTree,n),r(n)};Tn((()=>{qa(n,null,{flush:"post"});const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),Dn((()=>e.disconnect()))}))}function pi(e,t){if(128&e.shapeFlag){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push((()=>{pi(r.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)hi(e.el,t);else if(e.type===lo)e.children.forEach((e=>pi(e,t)));else if(e.type===po){let{el:r,anchor:n}=e;for(;r&&(hi(r,t),r!==n);)r=r.nextSibling}}function hi(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[ui]=n}}const fi=/(^|;)\s*display\s*:/,mi=/\s*!important$/;function gi(e,t,r){if(ge(r))r.forEach((r=>gi(e,t,r)));else if(null==r&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=function(e,t){const r=vi[t];if(r)return r;let n=Ne(t);if("filter"!==n&&n in e)return vi[t]=n;n=Me(n);for(let r=0;r_i||(Si.then((()=>_i=0)),_i=Date.now()),Ti=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ai=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ge(t)?e=>Be(t,e):t};function Ci(e){e.target.composing=!0}function Pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Di=Symbol("_assign"),Ri={created(e,{modifiers:{lazy:t,trim:r,number:n}},a){e[Di]=Ai(a);const o=n||a.props&&"number"===a.props.type;wi(e,t?"change":"input",(t=>{if(t.target.composing)return;let n=e.value;r&&(n=n.trim()),o&&(n=Ue(n)),e[Di](n)})),r&&wi(e,"change",(()=>{e.value=e.value.trim()})),t||(wi(e,"compositionstart",Ci),wi(e,"compositionend",Pi),wi(e,"change",Pi))},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[Di]=Ai(i),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Ue(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}}},Ni={deep:!0,created(e,t,r){e[Di]=Ai(r),wi(e,"change",(()=>{const t=e._modelValue,r=Li(e),n=e.checked,a=e[Di];if(ge(t)){const e=et(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(ve(t)){const e=new Set(t);n?e.add(r):e.delete(r),a(e)}else a(Qi(e,n))}))},mounted:$i,beforeUpdate(e,t,r){e[Di]=Ai(r),$i(e,t,r)}};function $i(e,{value:t,oldValue:r},n){e._modelValue=t,ge(t)?e.checked=et(t,n.props.value)>-1:ve(t)?e.checked=t.has(n.props.value):t!==r&&(e.checked=Je(t,Qi(e,!0)))}const Ii={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const a=ve(t);wi(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>r?Ue(Li(e)):Li(e)));e[Di](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,Yr((()=>{e._assigning=!1}))})),e[Di]=Ai(n)},mounted(e,{value:t,modifiers:{number:r}}){Mi(e,t)},beforeUpdate(e,t,r){e[Di]=Ai(r)},updated(e,{value:t,modifiers:{number:r}}){e._assigning||Mi(e,t)}};function Mi(e,t,r){const n=e.multiple,a=ge(t);if(!n||a||ve(t)){for(let r=0,o=e.options.length;rString(e)===String(i))):et(t,i)>-1}else o.selected=t.has(i);else if(Je(Li(o),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Li(e){return"_value"in e?e._value:e.value}function Qi(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Bi=["ctrl","shift","alt","meta"],ji={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)=>Bi.some((r=>e[`${r}Key`]&&!t.includes(r)))},Ui=(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=Ie(r.key);return t.some((e=>e===n||Fi[e]===n))?e(r):void 0})},qi=pe({patchProp:(e,t,r,n,a,o,i,s,l)=>{const c="svg"===a;"class"===t?function(e,t,r){const n=e[oi];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=we(r);let o=!1;if(r&&!a){if(t)if(we(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==r[t]&&gi(n,t,"")}else for(const e in t)null==r[e]&&gi(n,e,"");for(const e in r)"display"===e&&(o=!0),gi(n,e,r[e])}else if(a){if(t!==r){const e=n[ui];e&&(r+=";"+e),n.cssText=r,o=fi.test(r)}}else t&&e.removeAttribute("style");ii in e&&(e[ii]=o?n.display:"",e[si]&&(n.display="none"))}(e,r,n):ue(t)?de(t)||function(e,t,r,n,a=null){const o=e[xi]||(e[xi]={}),i=o[t];if(n&&i)i.value=n;else{const[r,s]=function(e){let t;if(ki.test(e)){let r;for(t={};r=e.match(ki);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Ie(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();Br(function(e,t){if(ge(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=Ei(),r}(n,a);wi(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&&Ti(t)&&ye(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(!Ti(t)||!we(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=Ke(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||yi(e,t,n,c,0,"value"!==t)):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),yi(e,t,n,c))}},ai);let Zi;const Hi=(...e)=>{const t=(Zi||(Zi=Na(qi))).createApp(...e),{mount:r}=t;return t.mount=e=>{const n=function(e){return we(e)?document.querySelector(e):e}(e);if(!n)return;const a=t._component;ye(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},Vi=ti.startsWith("3");function Wi(e,t=""){if(e instanceof Promise)return e;const r="function"==typeof(n=e)?n():Dr(n);var n;return e&&r?Array.isArray(r)?r.map((e=>Wi(e,t))):"object"==typeof r?Object.fromEntries(Object.entries(r).map((([e,t])=>"titleTemplate"===e||e.startsWith("on")?[e,Dr(t)]:[e,Wi(t,e)]))):r:r}const Xi={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Wi(t.input)}}},Yi="usehead";function Gi(e={}){e.domDelayFn=e.domDelayFn||(e=>Yr((()=>setTimeout((()=>e()),0))));const t=function(e={}){const t=function(e={}){const t=new l;t.addHooks(e.hooks||{}),e.document=e.document||(f?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),ae(n.mode,r)&&t.addHooks(n.hooks||{}))},push(e,i){null==i||delete i.head;const l={_i:a++,input:e,...i};return ae(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 M(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[H,V,X,G,K,ee,te,re,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),s.hooks.callHook("init",s),s}(e);return t.use(q()),ne=t}(e);return t.use(Xi),t.install=function(e){return{install(t){Vi&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Yi,e))}}.install}(t),t}const Ki="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ji="__unhead_injection_handler__";function es(e,t={}){const r=t.head||(Ji in Ki?Ki[Ji]():ma(Yi)||ne);if(r)return r.ssr?r.push(e,t):function(e,t,r={}){const n=Tr(!1),a=Tr({});Ua((()=>{a.value=n.value?{}:Wi(t)}));const o=e.push(a.value,r);return za(a,(e=>{o.patch(e)})),jo()&&(Pn((()=>{o.dispose()})),Ya((()=>{n.value=!0})),Xa((()=>{n.value=!1}))),o}(r,e,t)}const ts=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"];function rs(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=ns(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 ns(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 as(e){return[e.apiKey.token,e.http.bearer.token,e.oAuth2.accessToken,ns(e.http.basic.username,e.http.basic.password),e.http.basic.password].filter(Boolean)}const os=(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("")},is=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),ls=(e,...t)=>{if(!t.length)return e;const r=t.shift();if(ss(e)&&ss(r))for(const t in r)ss(r[t])?(e[t]||Object.assign(e,{[t]:{}}),ls(e[t],r[t])):Object.assign(e,{[t]:r[t]});return ls(e,...t)};function cs(e,t){if(!us(e,t))return t??"";const r=new URL(t);return r.href=e,r.searchParams.append("scalar_url",t),r.toString()}function us(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 ds=Symbol.for("yaml.alias"),ps=Symbol.for("yaml.document"),hs=Symbol.for("yaml.map"),fs=Symbol.for("yaml.pair"),ms=Symbol.for("yaml.scalar"),gs=Symbol.for("yaml.seq"),bs=Symbol.for("yaml.node.type"),vs=e=>!!e&&"object"==typeof e&&e[bs]===ds,Os=e=>!!e&&"object"==typeof e&&e[bs]===ps,ys=e=>!!e&&"object"==typeof e&&e[bs]===hs,ws=e=>!!e&&"object"==typeof e&&e[bs]===fs,xs=e=>!!e&&"object"==typeof e&&e[bs]===ms,ks=e=>!!e&&"object"==typeof e&&e[bs]===gs;function _s(e){if(e&&"object"==typeof e)switch(e[bs]){case hs:case gs:return!0}return!1}function Ss(e){if(e&&"object"==typeof e)switch(e[bs]){case ds:case hs:case ms:case gs:return!0}return!1}const Es=e=>(xs(e)||_s(e))&&!!e.anchor,Ts=Symbol("break visit"),As=Symbol("skip children"),Cs=Symbol("remove node");function Ps(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);Os(e)?Ds(null,e.contents,r,Object.freeze([e]))===Cs&&(e.contents=null):Ds(null,e,r,Object.freeze([]))}function Ds(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):ys(t)?null==(a=r.Map)?void 0:a.call(r,e,t,n):ks(t)?null==(o=r.Seq)?void 0:o.call(r,e,t,n):ws(t)?null==(i=r.Pair)?void 0:i.call(r,e,t,n):xs(t)?null==(s=r.Scalar)?void 0:s.call(r,e,t,n):vs(t)?null==(l=r.Alias)?void 0:l.call(r,e,t,n):void 0}(e,t,r,n);if(Ss(a)||ws(a))return function(e,t,r){const n=t[t.length-1];if(_s(n))n.items[e]=r;else if(ws(n))"key"===e?n.key=r:n.value=r;else{if(!Os(n)){const e=vs(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}n.contents=r}}(e,n,a),Ds(e,a,r,n);if("symbol"!=typeof a)if(_s(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=>Rs[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&&Ss(e.contents)){const t={};Ps(e.contents,((e,r)=>{Ss(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 $s(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 Is(e){const t=new Set;return Ps(e,{Value(e,r){r.anchor&&t.add(r.anchor)}}),t}function Ms(e,t){for(let r=1;;++r){const n=`${e}${r}`;if(!t.has(n))return n}}function Ls(e,t,r,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,r=n.length;tQs(e,String(t),r)));if(e&&"function"==typeof e.toJSON){if(!r||!Es(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)}Ns.defaultYaml={explicit:!1,version:"1.2"},Ns.defaultTags={"!!":"tag:yaml.org,2002:"};class Bs{constructor(e){Object.defineProperty(this,bs,{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(!Os(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=Qs(this,"",o);if("function"==typeof n)for(const{count:e,res:t}of o.anchors.values())n(t,e);return"function"==typeof a?Ls(a,{"":i},"",i):i}}let js=class extends Bs{constructor(e){super(ds),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return Ps(e,{Node:(e,r)=>{if(r===this)return Ps.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||(Qs(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=Us(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($s(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 Us(e,t,r){if(vs(t)){const n=t.resolve(e),a=r&&n&&r.get(n);return a?a.count*a.aliasCount:0}if(_s(t)){let n=0;for(const a of t.items){const t=Us(e,a,r);t>n&&(n=t)}return n}if(ws(t)){const n=Us(e,t.key,r),a=Us(e,t.value,r);return Math.max(n,a)}return 1}const Fs=e=>!e||"function"!=typeof e&&"object"!=typeof e;class zs extends Bs{constructor(e){super(ms),this.value=e}toJSON(e,t){return(null==t?void 0:t.keep)?this.value:Qs(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 qs="tag:yaml.org,2002:";function Zs(e,t,r){var n,a,o;if(Os(e)&&(e=e.contents),Ss(e))return e;if(ws(e)){const t=null==(a=(n=r.schema[hs]).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 js(d.anchor);d={anchor:null,node:null},u.set(e,d)}(null==t?void 0:t.startsWith("!!"))&&(t=qs+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[hs]:Symbol.iterator in Object(e)?c[gs]:c[hs]}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 Hs(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 Zs(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 Vs=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Ws extends Bs{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=>Ss(t)||ws(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(Vs(e))this.add(t);else{const[r,...n]=e,a=this.get(r,!0);if(_s(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,Hs(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(_s(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&&xs(a)?a.value:a:_s(a)?a.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!ws(t))return!1;const r=t.value;return null==r||e&&xs(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!!_s(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(_s(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,Hs(this.schema,n,t))}}}}Ws.maxFlowStringSingleLineLength=60;const Xs=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Ys(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Gs=(e,t,r)=>e.endsWith("\n")?Ys(r,t):r.includes("\n")?"\n"+Ys(r,t):(e.endsWith(" ")?"":" ")+r,Ks="flow",Js="block",el="quoted";function tl(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===Js&&(m=rl(e,m,t.length),-1!==m&&(h=m+l));for(let n;n=e[m+=1];){if(r===el&&"\\"===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===Js&&(m=rl(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===el){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}),al=e=>/^(%|---|\.\.\.)/m.test(e);function ol(e,t){const r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;const{implicitKey:n}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(al(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(ll,`$&${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}${tl(`${v}${r=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Js,nl(n,!0))}`}function ul(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?sl(i.value,t):cl(i,t,r,n);case zs.QUOTE_DOUBLE:return ol(i.value,t);case zs.QUOTE_SINGLE:return il(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 sl(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?sl(o,t):cl(e,t,r,n);if(!s&&!u&&a!==zs.PLAIN&&o.includes("\n"))return cl(e,t,r,n);if(al(o)){if(""===l)return t.forceBlockIndent=!0,cl(e,t,r,n);if(s&&l===c)return sl(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 sl(o,t)}return s?d:tl(d,l,Ks,nl(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 dl(e,t){const r=Object.assign({blockQuote:!0,commentString:Xs,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 pl(e,t,r,n){var a;if(ws(e))return e.toString(t,r,n);if(vs(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=Ss(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(xs(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=(xs(e)||_s(e))&&e.anchor;o&&$s(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):xs(i)?ul(i,t,r,n):i.toString(t,r,n);return s?xs(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}function hl(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function fl(e,t,{key:r,value:n}){if((null==e?void 0:e.doc.schema.merge)&&ml(r))if(n=vs(n)?n.resolve(e.doc):n,ks(n))for(const r of n.items)gl(e,t,r);else if(Array.isArray(n))for(const r of n)gl(e,t,r);else gl(e,t,n);else{const a=Qs(r,"",e);if(t instanceof Map)t.set(a,Qs(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(Ss(e)&&(null==r?void 0:r.doc)){const t=dl(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)+'..."'),hl(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=Qs(n,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}const ml=e=>"<<"===e||xs(e)&&"<<"===e.value&&(!e.type||e.type===zs.PLAIN);function gl(e,t,r){const n=e&&vs(r)?r.resolve(e.doc):r;if(!ys(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 bl(e,t,r){const n=Zs(e,void 0,r),a=Zs(t,void 0,r);return new vl(n,a)}class vl{constructor(e,t=null){Object.defineProperty(this,bs,{value:fs}),this.key=e,this.value=t}clone(e){let{key:t,value:r}=this;return Ss(t)&&(t=t.clone(e)),Ss(r)&&(r=r.clone(e)),new vl(t,r)}toJSON(e,t){return fl(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=Ss(e)&&e.comment||null;if(d){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(_s(e)||!Ss(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||_s(e)||(xs(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=pl(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+=Gs(O,r.indent,c(p)):v&&a&&a(),O;b&&(p=null),h?(p&&(O+=Gs(O,r.indent,c(p))),O=`? ${O}\n${s}:`):(O=`${O}:`,p&&(O+=Gs(O,r.indent,c(p)))),Ss(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||!xs(t)||(r.indentAtStart=O.length+1),v=!1,u||!(l.length>=2)||r.inFlow||h||!ks(t)||t.flow||t.tag||t.anchor||(r.indent=r.indent.substring(2));let y=!1;const w=pl(t,r,(()=>y=!0),(()=>v=!0));let x=" ";if(p||f||m)x=f?"\n":"",m&&(x+=`\n${Ys(c(m),r.indent)}`),""!==w||r.inFlow?x+=`\n${r.indent}`:"\n"===x&&(x="\n\n");else if(!h&&_s(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+=Gs(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 xl({indent:e,options:{commentString:t}},r,n,a){if(n&&a&&(n=n.replace(/^\n+/,"")),n){const a=Ys(t(n),e);r.push(a.trimStart())}}function kl(e,t){const r=xs(t)?t.value:t;for(const n of e)if(ws(n)){if(n.key===t||n.key===r)return n;if(xs(n.key)&&n.key.value===r)return n}}class _l extends Ws{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(hs,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(bl(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=ws(e)?e:e&&"object"==typeof e&&"key"in e?new vl(e.key,e.value):new vl(e,null==e?void 0:e.value);const a=kl(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`);xs(a.value)&&Fs(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=kl(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const r=kl(this.items,e),n=null==r?void 0:r.value;return(!t&&xs(n)?n.value:n)??void 0}has(e){return!!kl(this.items,e)}set(e,t){this.add(new vl(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)fl(t,n,e);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(const e of this.items)if(!ws(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})),Ol(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:r,onComment:t})}}const Sl={collection:"map",default:!0,nodeClass:_l,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(ys(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,r)=>_l.from(e,t,r)};class El extends Ws{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(gs,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Tl(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const r=Tl(e);if("number"!=typeof r)return;const n=this.items[r];return!t&&xs(n)?n.value:n}has(e){const t=Tl(e);return"number"==typeof t&&t=0?t:null}const Al={collection:"seq",default:!0,nodeClass:El,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(ks(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,r)=>El.from(e,t,r)},Cl={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,r,n)=>ul(e,t=Object.assign({actualString:!0},t),r,n)},Pl={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&&Pl.test.test(e)?e:t.options.nullStr},Dl={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&&Dl.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?r.options.trueStr:r.options.falseStr};function Rl({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 Nl={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:Rl},$l={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():Rl(e)}},Il={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:Rl},Ml=e=>"bigint"==typeof e||Number.isInteger(e),Ll=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function Ql(e,t,r){const{value:n}=e;return Ml(n)&&n>=0?r+n.toString(t):Rl(e)}const Bl={identify:e=>Ml(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>Ll(e,2,8,r),stringify:e=>Ql(e,8,"0o")},jl={identify:Ml,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>Ll(e,0,10,r),stringify:Rl},Ul={identify:e=>Ml(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>Ll(e,2,16,r),stringify:e=>Ql(e,16,"0x")},Fl=[Sl,Al,Cl,Pl,Dl,Bl,jl,Ul,Nl,$l,Il];function zl(e){return"bigint"==typeof e||Number.isInteger(e)}const ql=({value:e})=>JSON.stringify(e),Zl=[Sl,Al].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:ql},{identify:e=>null==e,createNode:()=>new zs(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:ql},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:ql},{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:ql}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Hl={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 vl(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]=ws(n)?n:new vl(n)}}else t("Expected a sequence for this tag");return e}function Wl(e,t,r){const{replacer:n}=r,a=new El(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(bl(i,s,r))}return a}const Xl={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Vl,createNode:Wl};class Yl extends El{constructor(){super(),this.add=_l.prototype.add.bind(this),this.delete=_l.prototype.delete.bind(this),this.get=_l.prototype.get.bind(this),this.has=_l.prototype.has.bind(this),this.set=_l.prototype.set.bind(this),this.tag=Yl.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(ws(e)?(n=Qs(e.key,"",t),a=Qs(e.value,n,t)):n=Qs(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=Wl(e,t,r),a=new this;return a.items=n.items,a}}Yl.tag="tag:yaml.org,2002:omap";const Gl={collection:"seq",identify:e=>e instanceof Map,nodeClass:Yl,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const r=Vl(e,t),n=[];for(const{key:e}of r.items)xs(e)&&(n.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new Yl,r)},createNode:(e,t,r)=>Yl.from(e,t,r)};function Kl({value:e,source:t},r){return t&&(e?Jl:ec).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}const Jl={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:Kl},ec={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:Kl},tc={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:Rl},rc={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():Rl(e)}},nc={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:Rl},ac=e=>"bigint"==typeof e||Number.isInteger(e);function oc(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 ic(e,t,r){const{value:n}=e;if(ac(n)){const e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return Rl(e)}const sc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>oc(e,2,2,r),stringify:e=>ic(e,2,"0b")},lc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>oc(e,1,8,r),stringify:e=>ic(e,8,"0")},cc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>oc(e,0,10,r),stringify:Rl},uc={identify:ac,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>oc(e,2,16,r),stringify:e=>ic(e,16,"0x")};class dc extends _l{constructor(e){super(e),this.tag=dc.tag}add(e){let t;t=ws(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new vl(e.key,null):new vl(e,null),kl(this.items,t.key)||this.items.push(t)}get(e,t){const r=kl(this.items,e);return!t&&ws(r)?xs(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=kl(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new vl(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(bl(e,null,r));return a}}dc.tag="tag:yaml.org,2002:set";const pc={collection:"map",identify:e=>e instanceof Set,nodeClass:dc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>dc.from(e,t,r),resolve(e,t){if(ys(e)){if(e.hasAllNullValues(!0))return Object.assign(new dc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function hc(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 fc(e){let{value:t}=e,r=e=>e;if("bigint"==typeof t)r=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Rl(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 mc={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})=>hc(e,r),stringify:fc},gc={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=>hc(e,!1),stringify:fc},bc={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(bc.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=hc(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$/,"")},vc=[Sl,Al,Cl,Pl,Jl,ec,sc,lc,cc,uc,tc,rc,nc,Hl,Gl,Xl,pc,mc,gc,bc],Oc=new Map([["core",Fl],["failsafe",[Sl,Al,Cl]],["json",Zl],["yaml11",vc],["yaml-1.1",vc]]),yc={binary:Hl,bool:Dl,float:Il,floatExp:$l,floatNaN:Nl,floatTime:gc,int:jl,intHex:Ul,intOct:Bl,intTime:mc,map:Sl,null:Pl,omap:Gl,pairs:Xl,seq:Al,set:pc,timestamp:bc},wc={"tag:yaml.org,2002:binary":Hl,"tag:yaml.org,2002:omap":Gl,"tag:yaml.org,2002:pairs":Xl,"tag:yaml.org,2002:set":pc,"tag:yaml.org,2002:timestamp":bc};function xc(e,t){let r=Oc.get(t);if(!r){if(!Array.isArray(e)){const e=Array.from(Oc.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=yc[e];if(t)return t;const r=Object.keys(yc).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${r}`)}))}const kc=(e,t)=>e.keyt.key?1:0;class _c{constructor(e,t,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,bs,{value:ps});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 Ns({version:o}),this.setSchema(o,r),this.contents=void 0===e?null:this.createNode(e,n,r)}clone(){const e=Object.create(_c.prototype,{[bs]:{value:ps}});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=Ss(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Sc(this.contents)&&this.contents.add(e)}addIn(e,t){Sc(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const r=Is(this);e.anchor=!t||r.has(t)?Ms(t||"a",r):t}return new js(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=Is(e));const o=Ms(t,a);return a.add(o),o},setAnchors:()=>{for(const e of r){const t=n.get(e);if("object"!=typeof t||!t.anchor||!xs(t.node)&&!_s(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=Zs(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:n,schema:this.schema,sourceObjects:p});return i&&_s(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 vl(n,a)}delete(e){return!!Sc(this.contents)&&this.contents.delete(e)}deleteIn(e){return Vs(e)?null!=this.contents&&(this.contents=null,!0):!!Sc(this.contents)&&this.contents.deleteIn(e)}get(e,t){return _s(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return Vs(e)?!t&&xs(this.contents)?this.contents.value:this.contents:_s(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!_s(this.contents)&&this.contents.has(e)}hasIn(e){return Vs(e)?void 0!==this.contents:!!_s(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Hs(this.schema,[e],t):Sc(this.contents)&&this.contents.set(e,t)}setIn(e,t){Vs(e)?this.contents=t:null==this.contents?this.contents=Hs(this.schema,Array.from(e),t):Sc(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 Ns({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 Ns({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)?xc(e,"compat"):e?xc(null,e):null,this.merge=!!r,this.name="string"==typeof a&&a||"core",this.knownTags=n?wc:{},this.tags=xc(t,this.name),this.toStringOptions=i??null,Object.defineProperty(this,hs,{value:Sl}),Object.defineProperty(this,ms,{value:Cl}),Object.defineProperty(this,gs,{value:Al}),this.sortMapEntries="function"==typeof o?o:!0===o?kc: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=Qs(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?Ls(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=dl(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(Ys(t,""))}let s=!1,l=null;if(e.contents){if(Ss(e.contents)){if(e.contents.spaceBefore&&a&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(Ys(t,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0;let r=pl(e.contents,o,(()=>l=null),t);l&&(r+=Gs(r,"",i(l))),"|"!==r[0]&&">"!==r[0]||"---"!==n[n.length-1]?n.push(r):n[n.length-1]=`--- ${r}`}else n.push(pl(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(Ys(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(Ys(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Sc(e){if(_s(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Ec extends Error{constructor(e,t,r,n){super(),this.name=e,this.code=r,this.message=n,this.pos=t}}class Tc extends Ec{constructor(e,t,r){super("YAMLParseError",e,t,r)}}class Ac extends Ec{constructor(e,t,r){super("YAMLWarning",e,t,r)}}const Cc=(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 Pc(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 Dc(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(Dc(t.key)||Dc(t.value))return!0}return!1;default:return!0}}function Rc(e,t,r){if("flow-collection"===(null==t?void 0:t.type)){const n=t.end[0];n.indent!==e||"]"!==n.source&&"}"!==n.source||!Dc(t)||r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Nc(e,t,r){const{uniqueKeys:n}=e.options;if(!1===n)return!1;const a="function"==typeof n?n:(t,r)=>t===r||xs(t)&&xs(r)&&t.value===r.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>a(e.key,r)))}const $c="All mapping items must start at the same column";function Ic(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 Mc="Block collections are not allowed within flow collections",Lc=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Qc(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)??_l)(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=Pc(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",$c)),!f.anchor&&!f.tag&&!p){c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment);continue}(f.hasNewlineAfterProp||Dc(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",$c);const g=f.end,b=d?e(r,d,f,a):t(r,g,u,null,f,a);r.schema.compat&&Rc(n.indent,d,a),Nc(r,s.items,b)&&a(g,"DUPLICATE_KEY","Map keys must be unique");const v=Pc(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=Ic(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 Bc(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}`),Bc(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"),Bc(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=Ic(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[ms];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[ms])}(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[ms];if(t.compat){const i=t.compat.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(r))}))??t[ms];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[ms];let u;try{const o=c.resolve(a,(e=>n(r??t,"TAG_RESOLVE_FAILED",e)),e.options);u=xs(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 qc(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 Zc={composeNode:Hc,composeEmptyNode:Vc};function Hc(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 js(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=Ic(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===_l.tagName&&"map"===s||i===El.tagName&&"seq"===s||!s)return Qc(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),Qc(e,t,r,a,i);t.schema.tags.push(Object.assign({},o,{default:!1})),l=o}const c=Qc(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=Ss(u)?u:new zs(u);return d.range=c.range,d.tag=i,(null==l?void 0:l.format)&&(d.format=l.format),d}(Zc,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=Vc(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 Vc(e,t,r,n,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){const u=zc(e,{type:"scalar",offset:qc(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 Wc(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 Xc(e){var t;let r="",n=!1,a=!1;for(let o=0;o{const a=Wc(e);n?this.warnings.push(new Ac(a,t,r)):this.errors.push(new Tc(a,t,r))},this.directives=new Ns({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:r,afterEmptyLine:n}=Xc(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(_s(a)&&!a.flow&&a.items.length>0){let e=a.items[0];ws(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:Xc(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=Wc(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 _c(void 0,s),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=Pc(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?Hc(c,a,u,i):Vc(c,u.end,n,null,u,i);const d=l.contents.range[2],p=Ic(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 Tc(Wc(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 Tc(Wc(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Ic(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 Tc(Wc(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 _c(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 Gc(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const Kc=new Set("0123456789ABCDEFabcdef"),Jc=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),eu=new Set(",[]{}"),tu=new Set(" ,[]{}\n\r\t"),ru=e=>!e||tu.has(e);class nu{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)&&Gc(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&ðis.indentValue&&!Gc(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)&&Gc(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(ru),"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=>Gc(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(Gc(t)||e&&eu.has(t))break;r=n}else if(Gc(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&&eu.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&&eu.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(ru))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Gc(t)||e&&eu.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(;!Gc(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(Jc.has(t))t=this.buffer[++e];else{if("%"!==t||!Kc.has(this.buffer[e+1])||!Kc.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 au{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 uu(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||ou(t.start,"explicit-key-ind")||ou(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,su(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 du=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 nu,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&&uu(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===iu(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(ou(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(su(r.key)&&!ou(r.sep,"newline")){const e=cu(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(ou(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{const e=cu(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]}):ou(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||ou(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=cu(lu(t));uu(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=cu(lu(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=cu(lu(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 pu(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 au||null,prettyErrors:t}}(t),a=new du(null==r?void 0:r.addNewLine),o=new Yc(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 Tc(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(Cc(e,r)),i.warnings.forEach(Cc(e,r))),i}(e,r);if(!a)return null;if(a.warnings.forEach((e=>hl(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 hu={parse:e=>{const t=pu(e);if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return hu.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 _c(e,n,r).toString(r)}},fu={parse:e=>{const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return fu.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},mu=e=>"string"==typeof e&&!!fu.parseSafe(e,!1),gu="https://api.scalar.com/request-proxy",bu="https://proxy.scalar.com";async function vu(e,t){t===gu&&(t=bu);const r=await fetch(t?cs(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 Ou={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"}},yu={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"}},wu=(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 wu(a,t,r)};function xu(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 ku(e,t){return Object.keys(e).forEach((r=>{Object.hasOwn(t,r)||delete e[r]})),Object.assign(e,t),e}const _u=e=>{if("string"==typeof e)return mu(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 Su(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 Eu="undefined"!=typeof window?window.__SCALAR__??{}:{};function Tu(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)?Su(null==r?void 0:r.url,e.variables):null==r?void 0:r.url}const Au="GET",Cu=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${Au} as the default.`),Au;const t=e.trim().toUpperCase();return r=t,ts.includes(r)?t:(console.warn(`${e} is not a valid request method. Using ${Au} as the default.`),Au);var r},Pu=dr({showApiClient:!1,activeApiClientEndpointId:"",activeItem:{},snippetType:"javascript"});function Du(e,t=!1){Pu.showApiClient=!!t||!Pu.showApiClient,e&&(Pu.activeItem=e)}function Ru(){Pu.showApiClient=!1}function Nu(e){Pu.activeApiClientEndpointId=e}function $u(e){Pu.snippetType=e}const Iu=()=>({state:hr(Pu),toggleApiClient:Du,setActiveApiClientEndpointId:Nu,setSnippetType:$u,hideApiClient:Ru}),Mu=dr(Eu["useGlobalStore-authentication"]??{preferredSecurityScheme:null,customSecurity:!1,http:{basic:{username:"",password:""},bearer:{token:""}},apiKey:{token:""},oAuth2:{username:"",password:"",clientId:"",scopes:[],accessToken:"",state:""}}),Lu=e=>Object.assign(Mu,e),Qu=()=>({authentication:Mu,setAuthentication:Lu}),Bu=dr({operation:{},globalSecurity:[]}),ju=e=>{Object.assign(Bu,{...Bu,operation:e})},Uu=e=>{Object.assign(Bu,{...Bu,globalSecurity:e})},Fu=()=>({openApi:Bu,setOperation:ju,setGlobalSecurity:Uu}),zu=dr({}),qu=Tr([]),Zu=Tr(""),Hu=dr({name:"",url:"",type:"GET",path:"",variables:[],headers:[],query:[],body:"",formData:[]}),Vu=Jo((()=>{var e;return Zu.value?null==(e=zu[Zu.value??""])?void 0:e.response:null})),Wu=Tr(!0),Xu=dr({selectedServer:null,servers:[],variables:{}}),Yu=e=>{Object.assign(Xu,{...Xu,...e})},Gu=()=>({server:Xu,setServer:Yu}),Ku=".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}",Ju=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],ed=Ju.map((([e])=>e)),td={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",none:""},rd={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:Ku,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}"},nd=e=>"none"===e?"":rd[e||"default"]??Ku,ad=(e,t)=>{const{variables:r=!0,fonts:n=!0,layer:a="scalar-theme"}=t??{},o=[nd(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 od=Object.defineProperty,id=(e,t,r)=>(((e,t,r)=>{t in e?od(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 sd=0;const ld=new class{constructor(){id(this,"subscribers"),id(this,"toasts"),id(this,"subscribe",(e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}))),id(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))})),id(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]})),id(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:sd++,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})),id(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))),id(this,"message",((e,t)=>this.create({...t,message:e,type:"default"}))),id(this,"error",((e,t)=>this.create({...t,type:"error",message:e}))),id(this,"success",((e,t)=>this.create({...t,type:"success",message:e}))),id(this,"info",((e,t)=>this.create({...t,type:"info",message:e}))),id(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e}))),id(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e}))),id(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})),id(this,"custom",((e,t)=>{const r=(null==t?void 0:t.id)||sd++;return this.publish({component:e,id:r,...t}),r})),this.subscribers=[],this.toasts=[]}},cd=Object.assign(((e,t)=>{const r=(null==t?void 0:t.id)||sd++;return ld.create({message:e,id:r,type:"default",...t}),r}),{success:ld.success,info:ld.info,warning:ld.warning,error:ld.error,custom:ld.custom,message:ld.message,promise:ld.promise,dismiss:ld.dismiss,loading:ld.loading}),ud=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},dd={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"},pd=[So("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),So("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)],hd=ud({},[["render",function(e,t){return mo(),Oo("svg",dd,pd)}]]),fd=["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"],md=["aria-label","data-disabled"],gd={key:0,"data-icon":""},bd={"data-content":""},vd=jn({__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=Tr(!1),o=Tr(!1),i=Tr(!1),s=Tr(!1),l=Tr(0),c=Tr(0),u=Tr(null),d=Tr(null),p=Jo((()=>0===n.index)),h=Jo((()=>n.index+1<=n.visibleToasts)),f=Jo((()=>n.toast.type)),m=Jo((()=>!1!==n.toast.dismissible)),g=Jo((()=>{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=Jo((()=>n.heights.findIndex((e=>e.toastId===n.toast.id))||0)),O=Jo((()=>n.toast.closeButton??n.closeButton)),y=Jo((()=>n.toast.duration||n.duration||4e3)),w=Tr(0),x=Tr(0),k=Tr(y.value),_=Tr(0),S=Tr(null),E=Jo((()=>n.position.split("-"))),T=Jo((()=>E.value[0])),A=Jo((()=>E.value[1])),C="string"!=typeof n.toast.title,P="string"!=typeof n.toast.description,D=Jo((()=>n.heights.reduce(((e,t,r)=>r>=v.value?e:e+t.height),0))),R=(()=>{const e=Tr(!1);return Ua((()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}})(),N=Jo((()=>n.toast.invert||n.invert)),$=Jo((()=>"loading"===f.value));Tn((()=>{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 Ua((()=>{x.value=14*v.value+D.value})),Ua((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)}))})),Ua((()=>{n.toast.delete&&I()})),Tn((()=>{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})),Dn((()=>{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 mo(),Oo("li",{"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",class:Xe(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:qe({"--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,...Dr(b)}),onPointerdown:L,onPointerup:Q,onPointermove:B},[O.value&&!e.toast.component?(mo(),Oo("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":$.value,"data-close-button":"",class:Xe(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},[Eo(hd)],10,md)):Do("",!0),e.toast.component?(mo(),yo(wn(e.toast.component),Io({key:1},e.toast.componentProps,{onCloseToast:I}),null,16)):(mo(),Oo(lo,{key:2},["default"!==f.value||e.toast.icon||e.toast.promise?(mo(),Oo("div",gd,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?Do("",!0):zn(e.$slots,"loading-icon",{key:0}),e.toast.icon?(mo(),yo(wn(e.toast.icon),{key:1})):(mo(),Oo(lo,{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}):Do("",!0)],64))])):Do("",!0),So("div",bd,[So("div",{"data-title":"",class:Xe(e.cn(null==(y=e.classes)?void 0:y.title,null==(w=e.toast.classes)?void 0:w.title))},[C?(mo(),yo(wn(e.toast.title),Ye(Io({key:0},e.toast.componentProps)),null,16)):(mo(),Oo(lo,{key:1},[Co(tt(e.toast.title),1)],64))],2),e.toast.description?(mo(),Oo("div",{key:0,"data-description":"",class:Xe(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(_=e.toast.classes)?void 0:_.description))},[P?(mo(),yo(wn(e.toast.description),Ye(Io({key:0},e.toast.componentProps)),null,16)):(mo(),Oo(lo,{key:1},[Co(tt(e.toast.description),1)],64))],2)):Do("",!0)]),e.toast.cancel?(mo(),Oo("button",{key:1,class:Xe(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()})},tt(e.toast.cancel.label),3)):Do("",!0),e.toast.action?(mo(),Oo("button",{key:2,class:Xe(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()})},tt(e.toast.action.label),3)):Do("",!0)],64))],46,fd)}}}),Od=["data-visible"],yd={class:"sonner-spinner"},wd=jn({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(e,r)=>(mo(),Oo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[So("div",yd,[(mo(!0),Oo(lo,null,Qn(Dr(t),(e=>(mo(),Oo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,Od))}}),xd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},kd=[So("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)],_d=ud({},[["render",function(e,t){return mo(),Oo("svg",xd,kd)}]]),Sd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ed=[So("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)],Td=ud({},[["render",function(e,t){return mo(),Oo("svg",Sd,Ed)}]]),Ad={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Cd=[So("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)],Pd=ud({},[["render",function(e,t){return mo(),Oo("svg",Ad,Cd)}]]),Dd={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Rd=[So("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)],Nd=ud({},[["render",function(e,t){return mo(),Oo("svg",Dd,Rd)}]]),$d=["aria-label"],Id=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],Md="32px",Ld=typeof window<"u"&&typeof document<"u",Qd=jn({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:Md},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=Yn(),o=Tr([]),i=Jo((()=>{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=Tr([]),l=Tr(!1),c=Tr(!1),u=Tr("system"!==n.theme?n.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=Jo((()=>n.cn||t)),p=Tr(null),h=Tr(null),f=Tr(!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 Ua((e=>{const t=ld.subscribe((e=>{e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):Yr((()=>{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)}})),Ua((()=>{o.value.length<=1&&(l.value=!1)})),Ua((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)}Ld&&(document.addEventListener("keydown",t),e((()=>{document.removeEventListener("keydown",t)})))})),(e,t)=>(mo(),Oo("section",{"aria-label":`${e.containerAriaLabel} ${Dr(m)}`,tabIndex:-1},[(mo(!0),Oo(lo,null,Qn(i.value,((n,i)=>{var u;return mo(),Oo("ol",Io({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||Md,"--width":"356px","--gap":"14px",...e.style,...Dr(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),[(mo(!0),Oo(lo,null,Qn(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 mo(),yo(vd,{key:r.id,index:n,toast:r,duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,class:Xe(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:qe(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":hn((()=>[zn(e.$slots,"loading-icon",{},(()=>[Eo(wd,{visible:"loading"===r.type},null,8,["visible"])]))])),"success-icon":hn((()=>[zn(e.$slots,"success-icon",{},(()=>[Eo(_d)]))])),"error-icon":hn((()=>[zn(e.$slots,"error-icon",{},(()=>[Eo(Nd)]))])),"warning-icon":hn((()=>[zn(e.$slots,"warning-icon",{},(()=>[Eo(Pd)]))])),"info-icon":hn((()=>[zn(e.$slots,"info-icon",{},(()=>[Eo(Td)]))])),_: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,Id)})),128))],8,$d))}}),Bd={toast:()=>null};function jd(e){Bd.toast=e}function Ud(){return{initializeToasts:jd,toast:(e,t="info",r={timeout:3e3})=>{Bd.toast(e,t,r)}}}const Fd=jn({__name:"ScalarToasts",setup(e){const t=Tr(!1);Tn((()=>t.value=!0));const r={success:cd.success,error:cd.error,warn:cd.warning,info:cd},{initializeToasts:n}=Ud();return n(((e,t="info",n={})=>{(r[t]||r.info)(e,{duration:n.timeout||3e3,description:n.description})})),(e,r)=>t.value?(mo(),yo(Dr(Qd),{key:0,toastOptions:{class:"toaster"}})):Do("",!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}=Ud();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")}))}}},qd=Tr(!1),Zd="https://api.scalar.com/request-proxy",Hd="https://proxy.scalar.com",Vd=/[\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,Wd=Object.hasOwnProperty;class Xd{constructor(){this.occurrences,this.reset()}slug(e,t){const r=this;let n=Yd(e,!0===t);const a=n;for(;Wd.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 Yd(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(Vd,"").replace(/ /g,"-"))}const Gd=Tr(Eu.hash??""),Kd=Tr(),Jd=Tr(!1),ep=e=>e.slug?`description/${e.slug}`:"",tp=e=>{var t;if(!Kd.value)return"";const r=new RegExp("^"+(null==(t=Kd.value)?void 0:t.basePath)+"/?");return decodeURIComponent(e.replace(r,""))},rp=(e,t)=>{if(!e)return"webhooks";const r=Yd(e);return`webhook/${t}/${encodeURIComponent(r)}`},np=e=>{if(!e)return"models";const t=Yd(e);return`model/${encodeURIComponent(t)}`},ap=(e,t)=>`${op(t)}/${e.httpVerb}${e.path}`,op=({name:e})=>{const t=Yd(e);return`tag/${encodeURIComponent(t)}`},ip=(e=Gd.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},sp=()=>{Gd.value=Kd.value?tp(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},lp=()=>({hash:Gd,getWebhookId:rp,getModelId:np,getHeadingId:ep,getOperationId:ap,getPathRoutingId:tp,getSectionId:ip,getTagId:op,isIntersectionEnabled:Jd,pathRouting:Kd,updateHash:sp});function cp(e){return{parameterMap:Jo((()=>{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 up(e,t){for(const[r,n]of Object.entries(e))null!==n&&"object"==typeof n?(t[r]??(t[r]=new n.__proto__.constructor),up(n,t[r])):void 0!==n&&(t[r]=n);return t}function dp(e){return up(e??{},{info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}function pp(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 hp=(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]=hp(i,t,r+1,e,a),void 0===n[s??a]&&delete n[s??a]})),void 0!==e.anyOf?Object.assign(n,hp(e.anyOf[0]),t,r+1):void 0!==e.oneOf?Object.assign(n,hp(e.oneOf[0]),t,r+1):void 0!==e.allOf&&Object.assign(n,...e.allOf.map((n=>hp(n,t,r+1,e))).filter((e=>void 0!==e))),void 0!==e.additionalProperties&&!1!==e.additionalProperties){const a=hp(e.additionalProperties,t,r+1);if(a&&"object"==typeof a&&!Array.isArray(a))return{...n,...hp(e.additionalProperties,t,r+1)};if(null===a)return null;const o=hp(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=>hp(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=hp(e.items,t,r+1);return a?[{[n]:o}]:[o]}return[]}const p={string:d?pp(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 hp(n,t,r+1)}if(Array.isArray(e.allOf)){let n=null;return e.allOf.forEach((e=>{const a=hp(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 fp(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?hp(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 mp(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 gp(e,t){var r,n,a,o;const i=xu(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:_u(null==c?void 0:c.value)}};const u=fp(e,"body",!1);if(u.length>0)return{postData:{mimeType:"application/json",text:_u(u[0].value)}};const d=fp(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)?hp(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)?hp(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,postData:{mimeType:s,text:f??mp(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)?hp(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 bp=(e,t,r)=>{let n=e.path;const a=fp(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=gp(e,r);return{method:e.httpVerb.toUpperCase(),path:n,headers:[...fp(e,"header",null==t?void 0:t.requiredOnly),...(null==o?void 0:o.headers)??[]],postData:null==o?void 0:o.postData,queryString:fp(e,"query",null==t?void 0:t.requiredOnly),cookies:fp(e,"cookie",null==t?void 0:t.requiredOnly)}};function vp({serverState:e,authenticationState:t,operation:r,globalSecurity:n}){var a,o;const i=Rf({url:Tu(e)},bp(r,{requiredOnly:!1}),t?rs(t,(null==(a=r.information)?void 0:a.security)??n??[]):{}),s=bp(r,{requiredOnly:!1}),l=fp(r,"path",!1);return{id:r.operationId,name:r.name,type:i.method,path:s.path??"",variables:l,cookies:Op(i.cookies),query:i.queryString.map((e=>{const t=e;return{...e,enabled:t.required??!0}})),headers:Op(i.headers),url:Tu(e)??"",body:null==(o=i.postData)?void 0:o.text}}function Op(e){return(e??[]).map((e=>({...e,enabled:!0})))}function yp(e,t){return function(){return e.apply(t,arguments)}}const{toString:wp}=Object.prototype,{getPrototypeOf:xp}=Object,kp=(e=>t=>{const r=wp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),_p=e=>(e=e.toLowerCase(),t=>kp(t)===e),Sp=e=>t=>typeof t===e,{isArray:Ep}=Array,Tp=Sp("undefined"),Ap=_p("ArrayBuffer"),Cp=Sp("string"),Pp=Sp("function"),Dp=Sp("number"),Rp=e=>null!==e&&"object"==typeof e,Np=e=>{if("object"!==kp(e))return!1;const t=xp(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},$p=_p("Date"),Ip=_p("File"),Mp=_p("Blob"),Lp=_p("FileList"),Qp=_p("URLSearchParams"),[Bp,jp,Up,Fp]=["ReadableStream","Request","Response","Headers"].map(_p);function zp(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,a;if("object"!=typeof e&&(e=[e]),Ep(e))for(n=0,a=e.length;n0;)if(n=r[a],t===n.toLowerCase())return n;return null}const Zp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Hp=e=>!Tp(e)&&e!==Zp,Vp=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&xp(Uint8Array)),Wp=_p("HTMLFormElement"),Xp=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Yp=_p("RegExp"),Gp=(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)},Kp="abcdefghijklmnopqrstuvwxyz",Jp="0123456789",eh={DIGIT:Jp,ALPHA:Kp,ALPHA_DIGIT:Kp+Kp.toUpperCase()+Jp},th=_p("AsyncFunction"),rh={isArray:Ep,isArrayBuffer:Ap,isBuffer:function(e){return null!==e&&!Tp(e)&&null!==e.constructor&&!Tp(e.constructor)&&Pp(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Pp(e.append)&&("formdata"===(t=kp(e))||"object"===t&&Pp(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ap(e.buffer),t},isString:Cp,isNumber:Dp,isBoolean:e=>!0===e||!1===e,isObject:Rp,isPlainObject:Np,isReadableStream:Bp,isRequest:jp,isResponse:Up,isHeaders:Fp,isUndefined:Tp,isDate:$p,isFile:Ip,isBlob:Mp,isRegExp:Yp,isFunction:Pp,isStream:e=>Rp(e)&&Pp(e.pipe),isURLSearchParams:Qp,isTypedArray:Vp,isFileList:Lp,forEach:zp,merge:function e(){const{caseless:t}=Hp(this)&&this||{},r={},n=(n,a)=>{const o=t&&qp(r,a)||a;Np(r[o])&&Np(n)?r[o]=e(r[o],n):Np(n)?r[o]=e({},n):Ep(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e(zp(t,((t,n)=>{r&&Pp(t)?e[n]=yp(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&&xp(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:kp,kindOfTest:_p,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(Ep(e))return e;let t=e.length;if(!Dp(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:Wp,hasOwnProperty:Xp,hasOwnProp:Xp,reduceDescriptors:Gp,freezeMethods:e=>{Gp(e,((t,r)=>{if(Pp(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Pp(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 Ep(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:qp,global:Zp,isContextDefined:Hp,ALPHABET:eh,generateString:(e=16,t=eh.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&Pp(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Rp(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const a=Ep(e)?[]:{};return zp(e,((e,t)=>{const o=r(e,n+1);!Tp(o)&&(a[t]=o)})),t[n]=void 0,a}}return e};return r(e,0)},isAsyncFn:th,isThenable:e=>e&&(Rp(e)||Pp(e))&&Pp(e.then)&&Pp(e.catch)};function nh(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)}rh.inherits(nh,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:rh.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ah=nh.prototype,oh={};function ih(e){return rh.isPlainObject(e)||rh.isArray(e)}function sh(e){return rh.endsWith(e,"[]")?e.slice(0,-2):e}function lh(e,t,r){return e?e.concat(t).map((function(e,t){return e=sh(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=>{oh[e]={value:e}})),Object.defineProperties(nh,oh),Object.defineProperty(ah,"isAxiosError",{value:!0}),nh.from=(e,t,r,n,a,o)=>{const i=Object.create(ah);return rh.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),nh.call(i,e.message,t,r,n,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const ch=rh.toFlatObject(rh,{},null,(function(e){return/^is[A-Z]/.test(e)}));function uh(e,t,r){if(!rh.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=rh.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!rh.isUndefined(t[e])}))).metaTokens,a=r.visitor||c,o=r.dots,i=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&rh.isSpecCompliantForm(t);if(!rh.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(rh.isDate(e))return e.toISOString();if(!s&&rh.isBlob(e))throw new nh("Blob is not supported. Use a Buffer instead.");return rh.isArrayBuffer(e)||rh.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(rh.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(rh.isArray(e)&&function(e){return rh.isArray(e)&&!e.some(ih)}(e)||(rh.isFileList(e)||rh.endsWith(r,"[]"))&&(s=rh.toArray(e)))return r=sh(r),s.forEach((function(e,n){!rh.isUndefined(e)&&null!==e&&t.append(!0===i?lh([r],n,o):null===i?r:r+"[]",l(e))})),!1;return!!ih(e)||(t.append(lh(a,r,o),l(e)),!1)}const u=[],d=Object.assign(ch,{defaultVisitor:c,convertValue:l,isVisitable:ih});if(!rh.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!rh.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),rh.forEach(r,(function(r,o){!0===(!(rh.isUndefined(r)||null===r)&&a.call(t,r,rh.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])})),u.pop()}}(e),t}function dh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ph(e,t){this._pairs=[],e&&uh(e,this,t)}const hh=ph.prototype;function fh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mh(e,t,r){if(!t)return e;const n=r&&r.encode||fh,a=r&&r.serialize;let o;if(o=a?a(t,r):rh.isURLSearchParams(t)?t.toString():new ph(t,r).toString(n),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}hh.append=function(e,t){this._pairs.push([e,t])},hh.toString=function(e){const t=e?function(t){return e.call(this,t,dh)}:dh;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};class gh{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){rh.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}const bh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vh={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ph,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Oh="undefined"!=typeof window&&"undefined"!=typeof document,yh=(wh="undefined"!=typeof navigator&&navigator.product,Oh&&["ReactNative","NativeScript","NS"].indexOf(wh)<0);var wh;const xh="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,kh=Oh&&window.location.href||"http://localhost",_h={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Oh,hasStandardBrowserEnv:yh,hasStandardBrowserWebWorkerEnv:xh,origin:kh},Symbol.toStringTag,{value:"Module"})),...vh};function Sh(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&&rh.isArray(n)?n.length:o,s?(rh.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!i):(n[o]&&rh.isObject(n[o])||(n[o]=[]),t(e,r,n[o],a)&&rh.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 rh.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const Eh={transitional:bh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,a=rh.isObject(e);if(a&&rh.isHTMLForm(e)&&(e=new FormData(e)),rh.isFormData(e))return n?JSON.stringify(Sh(e)):e;if(rh.isArrayBuffer(e)||rh.isBuffer(e)||rh.isStream(e)||rh.isFile(e)||rh.isBlob(e)||rh.isReadableStream(e))return e;if(rh.isArrayBufferView(e))return e.buffer;if(rh.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 uh(e,new _h.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return _h.isNode&&rh.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=rh.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return uh(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||n?(t.setContentType("application/json",!1),function(e,t,r){if(rh.isString(e))try{return(0,JSON.parse)(e),rh.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Eh.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(rh.isResponse(e)||rh.isReadableStream(e))return e;if(e&&rh.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 nh.from(e,nh.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:_h.classes.FormData,Blob:_h.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};rh.forEach(["delete","get","head","post","put","patch"],(e=>{Eh.headers[e]={}}));const Th=rh.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"]),Ah=Symbol("internals");function Ch(e){return e&&String(e).trim().toLowerCase()}function Ph(e){return!1===e||null==e?e:rh.isArray(e)?e.map(Ph):String(e)}function Dh(e,t,r,n,a){return rh.isFunction(n)?n.call(this,t,r):(a&&(t=r),rh.isString(t)?rh.isString(n)?-1!==t.indexOf(n):rh.isRegExp(n)?n.test(t):void 0:void 0)}let Rh=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function a(e,t,r){const a=Ch(t);if(!a)throw new Error("header name must be a non-empty string");const o=rh.findKey(n,a);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=Ph(e))}const o=(e,t)=>rh.forEach(e,((e,r)=>a(e,r,t)));if(rh.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(rh.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]&&Th[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(rh.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=Ch(e)){const r=rh.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(rh.isFunction(t))return t.call(this,e,r);if(rh.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Ch(e)){const r=rh.findKey(this,e);return!(!r||void 0===this[r]||t&&!Dh(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function a(e){if(e=Ch(e)){const a=rh.findKey(r,e);!a||t&&!Dh(0,r[a],a,t)||(delete r[a],n=!0)}}return rh.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&&!Dh(0,this[a],a,e,!0)||(delete this[a],n=!0)}return n}normalize(e){const t=this,r={};return rh.forEach(this,((n,a)=>{const o=rh.findKey(r,a);if(o)return t[o]=Ph(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]=Ph(n),r[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return rh.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&rh.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[Ah]=this[Ah]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Ch(e);t[n]||(function(e,t){const r=rh.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 rh.isArray(e)?e.forEach(n):n(e),this}};function Nh(e,t){const r=this||Eh,n=t||r,a=Rh.from(n.headers);let o=n.data;return rh.forEach(e,(function(e){o=e.call(r,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function $h(e){return!(!e||!e.__CANCEL__)}function Ih(e,t,r){nh.call(this,null==e?"canceled":e,nh.ERR_CANCELED,t,r),this.name="CanceledError"}function Mh(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new nh("Request failed with status code "+r.status,[nh.ERR_BAD_REQUEST,nh.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}Rh.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),rh.reduceDescriptors(Rh.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),rh.freezeMethods(Rh),rh.inherits(Ih,nh,{__CANCEL__:!0});const Lh=(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)},Qh=_h.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=rh.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},Bh=_h.hasStandardBrowserEnv?{write(e,t,r,n,a,o){const i=[e+"="+encodeURIComponent(t)];rh.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),rh.isString(n)&&i.push("path="+n),rh.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 jh(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 Uh=e=>e instanceof Rh?{...e}:e;function Fh(e,t){t=t||{};const r={};function n(e,t,r){return rh.isPlainObject(e)&&rh.isPlainObject(t)?rh.merge.call({caseless:r},e,t):rh.isPlainObject(t)?rh.merge({},t):rh.isArray(t)?t.slice():t}function a(e,t,r){return rh.isUndefined(t)?rh.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!rh.isUndefined(t))return n(void 0,t)}function i(e,t){return rh.isUndefined(t)?rh.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(Uh(e),Uh(t),!0)};return rh.forEach(Object.keys(Object.assign({},e,t)),(function(n){const o=l[n]||a,i=o(e[n],t[n],n);rh.isUndefined(i)&&o!==s||(r[n]=i)})),r}const zh=e=>{const t=Fh({},e);let r,{data:n,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;if(t.headers=s=Rh.from(s),t.url=mh(jh(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),rh.isFormData(n))if(_h.hasStandardBrowserEnv||_h.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(_h.hasStandardBrowserEnv&&(a&&rh.isFunction(a)&&(a=a(t)),a||!1!==a&&Qh(t.url))){const e=o&&i&&Bh.read(i);e&&s.set(o,e)}return t},qh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=zh(e);let a=n.data;const o=Rh.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=Rh.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());Mh((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 nh("Request aborted",nh.ECONNABORTED,n,c)),c=null)},c.onerror=function(){r(new nh("Network Error",nh.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||bh;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new nh(e,t.clarifyTimeoutError?nh.ETIMEDOUT:nh.ECONNABORTED,n,c)),c=null},void 0===a&&o.setContentType(null),"setRequestHeader"in c&&rh.forEach(o.toJSON(),(function(e,t){c.setRequestHeader(t,e)})),rh.isUndefined(n.withCredentials)||(c.withCredentials=!!n.withCredentials),s&&"json"!==s&&(c.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&c.addEventListener("progress",Lh(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Lh(n.onUploadProgress)),(n.cancelToken||n.signal)&&(i=t=>{c&&(r(!t||t.type?new Ih(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===_h.protocols.indexOf(d)?r(new nh("Unsupported protocol "+d+":",nh.ERR_BAD_REQUEST,e)):c.send(a||null)}))},Zh=(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 nh?t:new Ih(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{a(new nh(`timeout ${t} of ms exceeded`,nh.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}]},Hh=function*(e,t){let r=e.byteLength;if(!t||r{const o=async function*(e,t,r){for await(const n of e)yield*Hh(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})},Wh=(e,t)=>{const r=null!=e;return n=>setTimeout((()=>t({lengthComputable:r,total:e,loaded:n})))},Xh="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Yh=Xh&&"function"==typeof ReadableStream,Gh=Xh&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Kh=Yh&&(()=>{let e=!1;const t=new Request(_h.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Jh=Yh&&!!(()=>{try{return rh.isReadableStream(new Response("").body)}catch(e){}})(),ef={stream:Jh&&(e=>e.body)};var tf;Xh&&(tf=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!ef[e]&&(ef[e]=rh.isFunction(tf[e])?t=>t[e]():(t,r)=>{throw new nh(`Response type '${e}' is not supported`,nh.ERR_NOT_SUPPORT,r)})})));const rf={http:null,xhr:qh,fetch:Xh&&(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?Zh([a,o],i):[];const b=()=>{!h&&setTimeout((()=>{m&&m.unsubscribe()})),h=!0};let v;try{if(l&&Kh&&"get"!==r&&"head"!==r&&0!==(v=await(async(e,t)=>{const r=rh.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:rh.isBlob(e)?e.size:rh.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:rh.isArrayBufferView(e)?e.byteLength:(rh.isURLSearchParams(e)&&(e+=""),rh.isString(e)?(await Gh(e)).byteLength:void 0))(t):r})(u,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});rh.isFormData(n)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body&&(n=Vh(r.body,65536,Wh(v,Lh(l)),null,Gh))}rh.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=Jh&&("stream"===c||"response"===c);if(Jh&&(s||o)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=rh.toFiniteNumber(a.headers.get("content-length"));a=new Response(Vh(a.body,65536,s&&Wh(t,Lh(s,!0)),o&&b,Gh),e)}c=c||"text";let i=await ef[rh.findKey(ef,c)||"text"](a,e);return!o&&b(),g&&g(),await new Promise(((t,r)=>{Mh(t,r,{data:i,headers:Rh.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 nh("Network Error",nh.ERR_NETWORK,e,f),{cause:t.cause||t});throw nh.from(t,t&&t.code,e,f)}})};rh.forEach(rf,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const nf=e=>`- ${e}`,af=e=>rh.isFunction(e)||null===e||!1===e,of=e=>{e=rh.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 nh("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(nf).join("\n"):" "+nf(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function sf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ih(null,e)}function lf(e){return sf(e),e.headers=Rh.from(e.headers),e.data=Nh.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),of(e.adapter||Eh.adapter)(e).then((function(t){return sf(e),t.data=Nh.call(e,e.transformResponse,t),t.headers=Rh.from(t.headers),t}),(function(t){return $h(t)||(sf(e),t&&t.response&&(t.response.data=Nh.call(e,e.transformResponse,t.response),t.response.headers=Rh.from(t.response.headers))),Promise.reject(t)}))}const cf={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{cf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const uf={};cf.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 nh(n(a," has been removed"+(t?" in "+t:"")),nh.ERR_DEPRECATED);return t&&!uf[a]&&(uf[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 df={assertOptions:function(e,t,r){if("object"!=typeof e)throw new nh("options must be an object",nh.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 nh("option "+o+" must be "+r,nh.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new nh("Unknown option "+o,nh.ERR_BAD_OPTION)}},validators:cf},pf=df.validators;let hf=class{constructor(e){this.defaults=e,this.interceptors={request:new gh,response:new gh}}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=Fh(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:a}=t;void 0!==r&&df.assertOptions(r,{silentJSONParsing:pf.transitional(pf.boolean),forcedJSONParsing:pf.transitional(pf.boolean),clarifyTimeoutError:pf.transitional(pf.boolean)},!1),null!=n&&(rh.isFunction(n)?t.paramsSerializer={serialize:n}:df.assertOptions(n,{encode:pf.function,serialize:pf.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=a&&rh.merge(a.common,a[t.method]);a&&rh.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Rh.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=[lf.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d{ff[t]=e}));const mf=function e(t){const r=new hf(t),n=yp(hf.prototype.request,r);return rh.extend(n,hf.prototype,r,{allOwnKeys:!0}),rh.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Fh(t,r))},n}(Eh);mf.Axios=hf,mf.CanceledError=Ih,mf.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 Ih(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}}},mf.isCancel=$h,mf.VERSION="1.7.2",mf.toFormData=uh,mf.AxiosError=nh,mf.Cancel=mf.CanceledError,mf.all=function(e){return Promise.all(e)},mf.spread=function(e){return function(t){return e.apply(null,t)}},mf.isAxiosError=function(e){return rh.isObject(e)&&!0===e.isAxiosError},mf.mergeConfig=Fh,mf.AxiosHeaders=Rh,mf.formToJSON=e=>Sh(rh.isHTMLForm(e)?new FormData(e):e),mf.getAdapter=of,mf.HttpStatusCode=ff,mf.default=mf;const{Axios:gf,AxiosError:bf,CanceledError:vf,isCancel:Of,CancelToken:yf,VERSION:wf,all:xf,Cancel:kf,isAxiosError:_f,spread:Sf,toFormData:Ef,AxiosHeaders:Tf,HttpStatusCode:Af,formToJSON:Cf,getAdapter:Pf,mergeConfig:Df}=mf,Rf=(...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=Tf.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 Nf(e){const t=new Xd,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 $f=e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1};function If(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 Mf=e=>!!e&&!!Object.keys(If(e)??{}).length,Lf=e=>{var t;return!!Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.securitySchemes)??{}).length},Qf=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),{server:Bf}=Gu(),{setOperation:jf,setGlobalSecurity:Uf}=Fu(),{toggleApiClient:Ff}=Iu(),{setActiveRequest:zf,resetActiveResponse:qf}={readOnly:Wu,activeRequest:Hu,activeResponse:Vu,requestHistory:zu,requestHistoryOrder:qu,activeRequestId:Zu,setActiveResponse:e=>{var t;Zu.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(Hu,n)},resetActiveResponse:()=>{Zu.value=""},addRequestToHistory:e=>{zu[e.responseId]=e,Zu.value=e.responseId,qu.value.unshift(e.responseId)},setActiveRequest:e=>{Object.assign(Hu,e)}};function Zf(e,t){const r=vp({serverState:Bf,operation:e,authenticationState:null,globalSecurity:null});qf(),zf(r),jf(e),Uf(t),Ff(r,!0)}function Hf(e){return e.find((e=>e.isEntrypoint))}function Vf(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?Vf(e,t):e)):r[n]="object"==typeof a&&null!==a?Vf(a,t):a;return t(r)}function Wf(e){const t=[];return e&&"object"==typeof e?(Vf(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),e))),[...new Set(t)]):t}function Xf(e){return void 0!==typeof e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))}function Yf(e){if(Xf(e))return e;if("string"==typeof e)try{return JSON.parse(e)}catch(t){return pu(e,{maxAliasCount:1e4})}return e}function Gf(e,t={}){if(Xf(e))return e;const r=Yf(e);return[{isEntrypoint:!0,specification:r,filename:null,dir:"./",references:Wf(r),...t}]}function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}const Jf=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"}}}}}),em={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 tm(e){for(const t of new Set(Jf)){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 rm(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function nm(e,t,r){void 0===r&&(r=[]);const n=Gf(structuredClone(e)),a=Hf(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??Hf(n)).specification};function o(e,t,n){let a;return Object.entries(e??{}).forEach((([i,s])=>{if(void 0!==e.$ref){const a=am(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 am(e,t,r,n){if("string"!=typeof e)return void n.push({code:"INVALID_REFERENCE",message:em.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:em.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",a)});const t=nm(r,e,n);return void 0===o?t.schema:am(`#${o}`,e,r,n)}const i=function(e){return e.split("/").slice(1).map(rm)}(o);try{return i.reduce(((e,t)=>e[t]),t.specification)}catch(t){n.push({code:"INVALID_REFERENCE",message:em.INVALID_REFERENCE.replace("%s",e)})}}async function om(e){const t=Gf(e),r=Hf(t),n=nm(t);return{specification:r.specification,errors:n.errors,schema:n.schema,...tm(r.specification)}}async function im(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=Yf(a?await a.get(e):e);if(void 0===o)return{filesystem:[]};let i=Gf(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))):Hf(i)).references??Wf(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 im(o,{...t,filename:r});i=[...i,...s.map((e=>({...e,isEntrypoint:!1})))]}return{filesystem:i}}const sm={limit:20},lm=e=>{let t=0;const r={...sm,...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})`)}}}},cm=e=>{let t={};t=e&&"object"==typeof e?structuredClone(e):dp(),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:Cu(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=>ts.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:Cu(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}},um=Symbol(),dm=Symbol(),pm=async e=>{var t;null==(t=document.getElementById(e))||t.scrollIntoView()},hm=e=>new Promise((t=>setTimeout(t,e)));function fm(e){return!!st()&&(lt(e),!0)}function mm(e){return"function"==typeof e?e():Dr(e)}const gm="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const bm=e=>null!=e,vm=Object.prototype.toString,Om=e=>"[object Object]"===vm.call(e),ym=()=>{};function wm(e,t,r){return za(e,((e,r,n)=>{e&&t(e,r,n)}),{...r,once:!1})}function xm(e,t,r){let n;n=Er(r)?{evaluating:r}:{};const{lazy:a=!1,evaluating:o,shallow:i=!0,onError:s=ym}=n,l=Tr(!a),c=i?Ar(t):Tr(t);let u=0;return Ua((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?Jo((()=>(l.value=!0,c.value))):c}function km(e){var t;const r=mm(e);return null!=(t=null==r?void 0:r.$el)?t:r}const _m=gm?window:void 0;function Sm(...e){let t,r,n,a;if("string"==typeof e[0]||Array.isArray(e[0])?([r,n,a]=e,t=_m):[t,r,n,a]=e,!t)return ym;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const o=[],i=()=>{o.forEach((e=>e())),o.length=0},s=za((()=>[km(t),mm(a)]),(([e,t])=>{if(i(),!e)return;const a=Om(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 fm(l),l}function Em(e){const t=function(){const e=Tr(!1),t=jo();return t&&Tn((()=>{e.value=!0}),t),e}();return Jo((()=>(t.value,Boolean(e()))))}function Tm(e,t={}){const{window:r=_m}=t,n=Em((()=>r&&"matchMedia"in r&&"function"==typeof r.matchMedia));let a;const o=Tr(!1),i=e=>{o.value=e.matches},s=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",i):a.removeListener(i))},l=Ua((()=>{n.value&&(s(),a=r.matchMedia(mm(e)),"addEventListener"in a?a.addEventListener("change",i):a.addListener(i),o.value=a.matches)}));return fm((()=>{l(),s(),a=void 0})),o}const Am=new Map;function Cm(e){const t=st();function r(r){var a;const o=Am.get(e)||new Set;o.add(r),Am.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=Am.get(e);r&&(r.delete(t),r.size||a())}function a(){Am.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=Am.get(e))||n.forEach((e=>e(t,r)))},reset:a}}const Pm={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Dm(e={}){const{reactive:t=!1,target:r=_m,aliasMap:n=Pm,passive:a=!0,onEventFired:o=ym}=e,i=dr(new Set),s={toJSON:()=>({}),current:i},l=t?dr(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())}Sm(r,"keydown",(e=>(h(e,!0),o(e))),{passive:a}),Sm(r,"keyup",(e=>(h(e,!1),o(e))),{passive:a}),Sm("blur",p,{passive:!0}),Sm("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]=Jo((()=>e.every((e=>mm(f[e])))))}else l[r]=Tr(!1);const o=Reflect.get(e,r,a);return t?mm(o):o}});return f}const Rm=Cm(Symbol("downloadSpec"));function Nm({specConfig:e,proxy:t}){const r=Tr(""),n=dr(dp()),a=Tr(null);return za((()=>Rr(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 vu(e,r):await vu(e);const n="function"==typeof t?t():t;return"string"==typeof n?n:"object"==typeof n?_u(n):void 0})(e,Rr(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(cm(dp()));const o=performance.now(),{filesystem:i}=await im(e,{plugins:[lm({fetch:e=>fetch(t?cs(t,e):e)})]}),{schema:s,errors:l}=await om(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(cm(dp()))):r(cm(s))}catch(e){n(e)}return r(cm(dp()))})))(e,{proxy:t?Rr(t):void 0}).then((e=>{a.value=null,Object.assign(n,{servers:[],...e})})).catch((e=>{a.value=e.toString()})):Object.assign(n,dp())}(r.value)})),{rawSpec:r,parsedSpec:n,specErrors:a}}function $m(e){const t=Jo((()=>{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:Im,getModelId:Mm,getOperationId:Lm,getSectionId:Qm,getTagId:Bm,getWebhookId:jm,hash:Um}=lp(),Fm=Tr(void 0);function zm(e){return Fm.value=e}const qm=Tr(!1),Zm=dr(Eu["useSidebarContent-collapsedSidebarItems"]??{});function Hm(e){Zm[e]=!Zm[e]}function Vm(e,t){Zm[e]=t}const Wm=Tr([]),Xm=Jo((()=>{var e,t,r,n,a,o,i,s,l,c;const{state:u}=Iu(),d={},{openApi:{globalSecurity:p}}=Fu(),h=[];let f=null;Wm.value.forEach((e=>{var t;e.depth===$f(Wm.value)?(f={id:Im(e),title:e.value,show:!u.showApiClient,children:[]},h.push(f)):f&&(null==(t=f.children)||t.push({id:Im(e),title:e.value,show:!u.showApiClient}))}));const m=null==(t=null==(e=Fm.value)?void 0:e.tags)?void 0:t[0],g=!m||1===(null==(b=null==(r=Fm.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=Lm(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&&Zf(e,p)}}})):null==(a=null==(n=Fm.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:Bm(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=Lm(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&&Zf(t,p)}}}))}}));var b;let v=Mf(Fm.value)&&!qm.value?[{id:Mm(),title:"Models",show:!u.showApiClient,children:Object.keys(If(Fm.value)??{}).map((e=>{var t;const r=Mm(e);return d[r]=e,{id:r,title:(null==(t=If(Fm.value))?void 0:t[e]).title??e,show:!u.showApiClient}}))}]:[],O=(y=Fm.value)&&Object.keys((null==y?void 0:y.webhooks)??{}).length?[{id:jm(),title:"Webhook",show:!u.showApiClient,children:Object.keys((null==(i=Fm.value)?void 0:i.webhooks)??{}).map((e=>{var t,r;const n=jm(e);return d[n]=e,Object.keys((null==(r=null==(t=Fm.value)?void 0:t.webhooks)?void 0:r[e])??{}).map((t=>{var r,n,a;return{id:jm(e,t),title:null==(a=null==(n=null==(r=Fm.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=Fm.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=Fm.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}})),Ym=Tr(!1),Gm=Jo((()=>{var e,t;return(null==(t=null==(e=Xm.value)?void 0:e.titles)?void 0:t[Um.value])??""}));function Km(e){return(null==e?void 0:e.parsedSpec)&&(Fm.value=e.parsedSpec,za((()=>{var e,t;return null==(t=null==(e=Fm.value)?void 0:e.tags)?void 0:t.length}),(()=>{var e,t;if(Um.value){const e=Qm(Um.value);e&&Vm(e,!0)}else{const r=null==(t=null==(e=Fm.value)?void 0:e.tags)?void 0:t[0];r&&Vm(Bm(r),!0)}})),za((()=>{var e,t;return null==(t=null==(e=Fm.value)?void 0:e.info)?void 0:t.description}),(async()=>{var e,t;const r=null==(t=null==(e=Fm.value)?void 0:e.info)?void 0:t.description;return Wm.value=r?await(async e=>{const t=await Nf(e),r=$f(t);return t.filter((e=>e.depth===r||e.depth===r+1))})(r):[]}))),{breadcrumb:Gm,items:Xm,isSidebarOpen:Ym,collapsedSidebarItems:Zm,toggleCollapsedSidebarItem:Hm,setCollapsedSidebarItem:Vm,hideModels:qm,setParsedSpec:zm}}const Jm="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:eg,Blob:tg,File:rg}=Jm,ng="\r\n",ag="-".repeat(2),og=Symbol.toStringTag,ig=(e,t,r)=>{let n="";return n+=`${ag}${e}${ng}`,n+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof r&&"blob"!==r.name&&(n+=`; filename="${r.name}"${ng}`,n+=`Content-Type: ${r.type||"application/octet-stream"}`),`${n}${ng.repeat(2)}`},sg=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),lg=(e,t)=>{const r=sg(e,t);if(r)return e[r]},cg=(e,t)=>Boolean(sg(e,t)),ug=["application/json","application/x-json","text/json","text/x-json","+json"],dg=(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 pg(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class hg extends URL{get path(){return this.pathname+this.search}}class fg{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 mg(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 gg=e=>mg(e,{delimiter:"'"}),bg=e=>mg(e,{delimiter:'"'}),vg={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 fg;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}: ${bg(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 Og{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let yg=class{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}};const wg=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),xg=e=>"object"===wg(e)&&0===Object.keys(e).length,kg=e=>(Object.keys(e).filter((t=>xg(e[t]))).forEach((t=>{delete e[t]})),e),_g=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,`\n${r}`)},Sg=e=>{switch(wg(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} ${_g(r.length+2,Sg(e[r]))}\n `),"").trim();return`{${_g(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${Sg(t)}`),"").trim();return`[${_g(1,t)}]`}}},Eg={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 fg({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 Og("json"),l["form-params"]=r.jsonObj;const e=sg(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=r.paramsObj;const e=sg(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=r.text;const e=sg(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 yg(e.fileName)}:{name:e.name,content:e.value}));const e=sg(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===lg(l.headers,"accept")){l.accept=new Og("json");const e=sg(l.headers,"accept");e&&delete l.headers[e]}if(i("(require '[clj-http.client :as client])\n"),xg(kg(l)))i(`(client/${t} "${n}")`);else{const e=11+t.length+n.length;i(`(client/${t} "${n}" ${_g(e,Sg(kg(l)))})`)}return s()}}}},Tg={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 fg({indent:s.indent});l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{let t=lg(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}", "${bg(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 fg;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}", "${bg(n[e])}");`)})),null==a||a.forEach((({name:e,value:t})=>{i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){const t=lg(e,"content-type"),r=JSON.stringify(o.text);i(`request.AddParameter("${t}", ${r}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),s()}}}},Ag={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 fg({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}", "${bg(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()}}}},Cg={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 fg({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)||""}`}}}},Pg={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 fg({indent:o.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${bg(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 fg({indent:o.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{i(`.header("${t}", "${bg(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 fg({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}", "${bg(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 fg({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}", "${bg(t[e])}")`,1)})),(null==r?void 0:r.text)&&s(`.body(${JSON.stringify(r.text)})`,1),s(".asString();",1),i()}}}};var Dg={};Object.defineProperty(Dg,"__esModule",{value:!0}),Dg.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const Rg=Dg.default;const Ng=Kf(((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(Rg(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)})),$g={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 fg({indent:i.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${Ng(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||""}');`)})),cg(t,"content-type")&&(null===(o=lg(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=sg(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}', '${gg(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 fg({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=Ng(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 fg({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=sg(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 = ${Ng(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 fg({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]",cg(r,"content-type")&&(null===(o=lg(r,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=sg(r,"content-type");e&&delete u.headers[e]}s();break;default:(null==n?void 0:n.text)&&(u.data=n.text)}const d=Ng(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()}}}},Ig={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 fg({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}", "${bg(n[e])}")`,1)})),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),s()}}}},Mg={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 fg({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 = ${Ng(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(${Ng(n.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":n.jsonObj&&c(`req.write(JSON.stringify(${Ng(n.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==n?void 0:n.text)&&c(`req.write(${Ng(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 fg({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 = ${Ng(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 fg({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(${Ng(n,{indent:s.indent})});`),u()),Object.keys(o).length&&(p(`req.headers(${Ng(o,{indent:s.indent})});`),u()),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.paramsObj&&(p(`req.form(${Ng(a.paramsObj,{indent:s.indent})});`),u());break;case"application/json":a.jsonObj&&(p("req.type('json');"),p(`req.send(${Ng(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(${Ng(e,{indent:s.indent})});`),u();break}default:(null==a?void 0:a.text)&&(p(`req.send(${Ng(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 fg({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=Ng(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 fg({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=sg(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=Ng(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")')}}}},Lg=(e,t,r,n)=>{const a=`${e} *${t} = `;return`${a}${Qg(r,n?a.length:void 0)};`},Qg=(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=>Qg(e))).join(r)} ]`;case"[object Object]":{const t=[];for(const r in e)t.push(`@"${r}": ${Qg(e[r])}`);return`@{ ${t.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},Bg={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 fg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("#import "),Object.keys(e).length&&(u.hasHeaders=!0,c(),s(Lg("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(Lg("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(Lg("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()}}}},jg={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 fg({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]}" "${bg(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{i(`("${e}", "${bg(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()}}}},Ug=(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`'${mg(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const n=e.map((e=>Ug(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(`${Ug(r,t)} => ${Ug(e[r],`${t}${t}`,t)}`);return`[\n${t}${n.join(`,\n${t}`)}\n${r}]`}}},Fg=["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 fg({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}: ${bg(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 fg({indent:s.indent}),{code:d,push:p,join:h}=new fg({indent:s.indent});switch(s.noTags||(l(s.shortTags?"":" ${Ug(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' => ${Ug(t,s.indent+s.indent,s.indent)}`,1),cg(a,"content-type")&&(null===(i=lg(a,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){const e=sg(a,"content-type");e&&delete a[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${Ug(e.text)},`,1)}const f=Object.keys(a).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${gg(a[e])}',`})),m=n.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${gg(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 fg({indent:l});switch(c||(d(u?"":"setUrl(${Ug(t)});`),Fg.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(${Ug(n,l)});`),p()),Object.keys(a).length&&(d(`$request->setHeaders(${Ug(a,l)});`),p()),Object.keys(o).length&&(d(`$request->setCookies(${Ug(o,l)});`),p()),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":d(`$request->setContentType(${Ug(r.mimeType)});`),d(`$request->setPostFields(${Ug(r.paramsObj,l)});`),p();break;case"application/json":d(`$request->setContentType(${Ug(r.mimeType)});`),d(`$request->setBody(json_encode(${Ug(r.jsonObj,l)}));`),p();break;default:(null==r?void 0:r.text)&&(d(`$request->setBody(${Ug(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 fg({indent:c});let m=!1;switch(u||(p(d?"":"append(new http\\QueryString(${Ug(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?Ug(n,c):"null",o=r.length?Ug(r,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${a}, ${o});`),cg(t,"content-type")&&(null===(s=lg(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=sg(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(${Ug(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${Ug(e.text)});`),h(),m=!0)}return p(`$request->setRequestUrl(${Ug(o)});`),p(`$request->setRequestMethod(${Ug(r)});`),m&&(p("$request->setBody($body);"),h()),Object.keys(n).length&&(p(`$request->setQuery(new http\\QueryString(${Ug(n,c)}));`),h()),Object.keys(t).length&&(p(`$request->setHeaders(${Ug(t,c)});`),h()),Object.keys(a).length&&(h(),p(`$client->setCookies(${Ug(a,c)});`),h()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),h(),p("echo $response->getBody();"),!u&&l&&(h(),p("?>")),f()}}}},qg=e=>({method:t,headersObj:r,cookies:n,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{const{push:l,join:c}=new fg;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}", "${mg(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 '${mg(lg(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()},Zg={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:qg("Invoke-RestMethod")},Hg={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:qg("Invoke-WebRequest")},Vg={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 fg;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}': "${bg(p[e])}" }`),c();else if(h>1){let e=1;l("headers = {");for(const t in p)e++!==h?l(` '${t}': "${bg(p[t])}",`):l(` '${t}': "${bg(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 Wg(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 Xg=(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 Wg("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(n=Object.keys(e).length>1),Xg(e,t,r)))),n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${Xg(e[a],t,r)}`);return Wg("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,'\\"')}"`}},Yg=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Gg={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 fg({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 = ${Xg(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 = ${Xg(h,i)}`),m&&s(`payload = ${Xg(p,i)}`);const e=sg(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 = ${Xg(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}": "${bg(d[e])}"}`),l();else if(b>1){let e=1;s("headers = {");for(const t in d)s(e!==b?`"${t}": "${bg(d[t])}",`:`"${t}": "${bg(d[t])}"`,1),e+=1;s("}"),l()}let v=Yg.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()}},Kg={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 fg({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=lg(a,"cookie"),b=lg(a,"accept"),v=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,O=b?`accept("${bg(b)}")`:void 0,y=`content_type("${bg(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}' = '${gg(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()}},Jg=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,eb={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},tb={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 fg({..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{if(e){const e=eb[t];return e?`-${e}`:""}return`--${t}`})(h);let b=Jg(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")),lg(a,"accept-encoding")&&f("--compressed"),"multipart/form-data"===(null==o?void 0:o.mimeType)){const e=sg(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")} ${Jg(t)}`)})),a.cookie&&f(`${g("cookie")} ${Jg(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")} ${Jg(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":"")} ${Jg(`${n?r:t}=${e.value}`)}`)})):f(`${l?"--data-binary":g("data")} ${Jg(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,ug.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),nb=(e,t,r,n)=>{const a=rb(n,r),o=rb(n-1,r),i=t?`,\n${a}`:", ";return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`},ab=(e,t,r)=>`let ${e} = ${ob(t,r)}`,ob=(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),ob(e,t,r))));return nb(a,n,t.indent,r)}case"[object Object]":{const n=[];for(const a in e)n.push(`"${a}": ${ob(e[a],t,r)}`);return nb(n,t.pretty&&n.length>1,t.indent,r)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},ib={c:vg,clojure:Eg,csharp:Tg,go:Ag,http:Cg,java:Pg,javascript:$g,kotlin:Ig,node:Mg,objc:Bg,ocaml:jg,php:zg,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:Hg,restmethod:Zg}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:Vg,requests:Gg}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:Kg}},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 fg;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}"] = '${gg(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:tb,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 fg({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}==${Jg(t)}`)})):l(`${e}==${Jg(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Jg(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}=${Jg(e.value)}`)}))):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=Jg(s.queryParams?o:n)}`),d&&(null==t?void 0:t.text)&&u(`echo ${Jg(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 fg({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 ${Jg(e)}`),Object.keys(r).forEach((e=>{const t=`${e}: ${r[e]}`;i(`--header ${Jg(t)}`)})),(null==t?void 0:t.text)&&i(`--body-data ${l=Jg(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),i(o.short?"-O":"--output-document"),i(`- ${Jg(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 fg({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),s(ab("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(`${ab("parameters",t.jsonObj,i)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(ab("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 sb{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(dg,{})),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 eg,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[og])?e.append(r,n,a):e.append(r,new tg([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 ig(t,r,n),"string"==typeof n?yield n:yield await n.text(),yield ng;yield(e=>`${ag}${e}${ag}${ng.repeat(1)}`)(t)}(e,t))r.text+=n;o.postData.boundary=t;const n=sg(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(dg,{}),o.postData.text=pg(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=pg(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 hg(d.toString())}}async convert(e,t,r){!r&&t&&(r=t);const n=ib[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 lb(e){var t;return(null==(t=pb.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey}function cb(e){var t,r;return(null==(r=null==(t=pb.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:r.title)??e.clientKey}const ub=Jo((()=>lb(gb))),db=Jo((()=>cb(gb))),pb=Jo((()=>{var e;const t=Object.keys(ib).map((e=>({...ib[e].info,clients:Object.keys(ib[e].clientsById).map((t=>ib[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,fb)})),hb={node:["unirest"]},fb=Tr({...!0===hb?{}:hb}),mb=()=>{var e,t,r,n;return pb.value.find((e=>"shell"===e.key&&e.clients.find((e=>"curl"===e.key))))?{targetKey:"shell",clientKey:"curl"}:{targetKey:null==(e=pb.value[0])?void 0:e.key,clientKey:null==(n=null==(r=null==(t=pb.value[0])?void 0:t.clients)?void 0:r[0])?void 0:n.key}},gb=dr(mb());function bb(){ku(gb,mb())}const vb=e=>{Object.assign(gb,{...gb,...e})},Ob=()=>({httpClient:hr(gb),resetState:bb,setHttpClient:vb,excludedClients:hr(fb),setExcludedClients:e=>{fb.value=e,ku(gb,mb())},availableTargets:pb,getClientTitle:cb,getTargetTitle:lb,httpTargetTitle:ub,httpClientTitle:db});let yb=Symbol("headlessui.useid"),wb=0;function xb(){return ma(yb,(()=>""+ ++wb))()}function kb(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 _b(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,_b),n}var Sb=Object.defineProperty,Eb=(e,t,r)=>(((e,t,r)=>{t in e?Sb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Tb=new class{constructor(){Eb(this,"current",this.detect()),Eb(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 Ab(e){if(Tb.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=kb(e);if(t)return t.ownerDocument}return document}let Cb=["[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 Pb,Db,Rb,Nb=((Rb=Nb||{})[Rb.First=1]="First",Rb[Rb.Previous=2]="Previous",Rb[Rb.Next=4]="Next",Rb[Rb.Last=8]="Last",Rb[Rb.WrapAround=16]="WrapAround",Rb[Rb.NoScroll=32]="NoScroll",Rb),$b=((Db=$b||{})[Db.Error=0]="Error",Db[Db.Overflow=1]="Overflow",Db[Db.Success=2]="Success",Db[Db.Underflow=3]="Underflow",Db),Ib=((Pb=Ib||{})[Pb.Previous=-1]="Previous",Pb[Pb.Next=1]="Next",Pb),Mb=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Mb||{});function Lb(e,t=0){var r;return e!==(null==(r=Ab(e))?void 0:r.body)&&_b(t,{0:()=>e.matches(Cb),1(){let t=e;for(;null!==t;){if(t.matches(Cb))return!0;t=t.parentElement}return!1}})}var Qb=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Qb||{});"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 Bb=["textarea","input"].join(",");function jb(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 Ub(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?jb(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Cb)).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,Bb))&&r}(l)&&l.select(),2}function Fb(e,t,r){Tb.isServer||Ua((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function zb(e,t,r=Jo((()=>!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:kb(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!Lb(o,Mb.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Tr(null);Fb("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),Fb("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),Fb("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),Fb("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),function(e,t,r){Tb.isServer||Ua((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 qb(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Zb(e,t){let r=Tr(qb(e.value.type,e.value.as));return Tn((()=>{r.value=qb(e.value.type,e.value.as)})),Ua((()=>{var e;r.value||kb(t)&&kb(t)instanceof HTMLButtonElement&&(null==(e=kb(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function Hb(e){return[e.screenX,e.screenY]}var Vb,Wb=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Wb||{}),Xb=((Vb=Xb||{})[Vb.Unmount=0]="Unmount",Vb[Vb.Hidden=1]="Hidden",Vb);function Yb({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=Jb(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?Gb(s):1&t?_b(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>Gb({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):Gb(s)}function Gb({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=ev(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=Kb(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=Jb(null!=(i=e.props)?i:{},l,u),o=Ao(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 ei(s,Object.assign({},l,u),{default:()=>c})}function Kb(e){return e.flatMap((e=>e.type===lo?Kb(e.children):[e]))}function Jb(...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 ev(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var tv=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(tv||{});let rv=jn({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 Yb({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"})}}),nv=Symbol("Context");var av=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(av||{});function ov(){return ma(nv,null)}function iv(e){fa(nv,e)}var sv,lv,cv=((sv=cv||{}).Space=" ",sv.Enter="Enter",sv.Escape="Escape",sv.Backspace="Backspace",sv.Delete="Delete",sv.ArrowLeft="ArrowLeft",sv.ArrowUp="ArrowUp",sv.ArrowRight="ArrowRight",sv.ArrowDown="ArrowDown",sv.Home="Home",sv.End="End",sv.PageUp="PageUp",sv.PageDown="PageDown",sv.Tab="Tab",sv),uv=((lv=uv||{})[lv.First=0]="First",lv[lv.Previous=1]="Previous",lv[lv.Next=2]="Next",lv[lv.Last=3]="Last",lv[lv.Specific=4]="Specific",lv[lv.Nothing=5]="Nothing",lv);function dv(e={},t=null,r=[]){for(let[n,a]of Object.entries(e))hv(r,pv(t,n),a);return r}function pv(e,t){return e?e+"["+t+"]":t}function hv(e,t,r){if(Array.isArray(r))for(let[n,a]of r.entries())hv(e,pv(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,""]):dv(r,t,e)}var fv=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(fv||{});let mv=Symbol("DisclosureContext");function gv(e){let t=ma(mv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,gv),t}return t}let bv=Symbol("DisclosurePanelContext"),vv=jn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Tr(e.defaultOpen?0:1),a=Tr(null),o=Tr(null),i={buttonId:Tr(`headlessui-disclosure-button-${xb()}`),panelId:Tr(`headlessui-disclosure-panel-${xb()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=_b(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?kb(e):kb(i.button):kb(i.button);null==t||t.focus()}};return fa(mv,i),iv(Jo((()=>_b(n.value,{0:av.Open,1:av.Closed})))),()=>{let{defaultOpen:a,...o}=e;return Yb({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),Ov=jn({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=gv("DisclosureButton"),o=ma(bv,null),i=Jo((()=>null!==o&&o.value===a.panelId.value));Tn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Dn((()=>{i.value||(a.buttonId.value=null)}));let s=Tr(null);n({el:s,$el:s}),i.value||Ua((()=>{a.button.value=s.value}));let l=Zb(Jo((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=kb(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case cv.Space:case cv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=kb(a.button))||r.focus()}else switch(t.key){case cv.Space:case cv.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===cv.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return Yb({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||kb(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"})}}}),yv=jn({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=gv("DisclosurePanel");Tn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Dn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),fa(bv,a.panelId);let o=ov(),i=Jo((()=>null!==o?(o.value&av.Open)===av.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return Yb({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:Wb.RenderStrategy|Wb.Static,visible:i.value,name:"DisclosurePanel"})}}}),wv=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function xv(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 wv.test(i)&&(i=i.replace(wv,"")),i}function kv(e,t){return e===t}var _v=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(_v||{}),Sv=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Sv||{}),Ev=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ev||{});let Tv=Symbol("ListboxContext");function Av(e){let t=ma(Tv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Av),t}return t}let Cv=jn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>kv},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=Tr(1),o=Tr(null),i=Tr(null),s=Tr(null),l=Tr([]),c=Tr(""),u=Tr(null),d=Tr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=jb(e(l.value.slice()),(e=>kb(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=Jo((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Tr(null==r?void 0:r.value),a=Jo((()=>void 0!==e.value));return[Jo((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(Jo((()=>e.modelValue)),(e=>n("update:modelValue",e)),Jo((()=>e.defaultValue))),g=Jo((()=>void 0===f.value?_b(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:Jo((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:Jo((()=>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(_b(h.value,{0:()=>t,1:()=>{let e=yr(b.value.value).slice(),r=yr(t),n=e.findIndex((e=>b.compare(r,yr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};zb([i,s],((e,t)=>{var r;b.closeListbox(),Lb(t,Mb.Loose)||(e.preventDefault(),null==(r=kb(i))||r.focus())}),Jo((()=>0===a.value))),fa(Tv,b),iv(Jo((()=>_b(a.value,{0:av.Open,1:av.Closed}))));let v=Jo((()=>{var e;return null==(e=kb(i))?void 0:e.closest("form")}));return Tn((()=>{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 ei(lo,[...null!=n&&null!=g.value?dv({[n]:g.value}).map((([e,t])=>ei(rv,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:tv.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],Yb({ourProps:{},theirProps:{...r,...ev(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),Pv=jn({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-${xb()}`,i=Av("ListboxButton");function s(e){switch(e.key){case cv.Space:case cv.Enter:case cv.ArrowDown:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=kb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(uv.First)}));break;case cv.ArrowUp:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=kb(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(uv.Last)}))}}function l(e){e.key===cv.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=kb(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=Zb(Jo((()=>({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 Yb({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=kb(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=kb(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"})}}}),Dv=jn({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-${xb()}`,i=Av("ListboxOptions"),s=Tr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case cv.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case cv.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(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case _b(i.orientation.value,{vertical:cv.ArrowDown,horizontal:cv.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.Next);case _b(i.orientation.value,{vertical:cv.ArrowUp,horizontal:cv.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.Previous);case cv.Home:case cv.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.First);case cv.End:case cv.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(uv.Last);case cv.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case cv.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=ov(),u=Jo((()=>null!==c?(c.value&av.Open)===av.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return Yb({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=kb(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:Wb.RenderStrategy|Wb.Static,visible:u.value,name:"ListboxOptions"})}}}),Rv=jn({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-${xb()}`,i=Av("ListboxOption"),s=Tr(null);n({el:s,$el:s});let l=Jo((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=Jo((()=>_b(i.mode.value,{0:()=>i.compare(yr(i.value.value),yr(e.value)),1:()=>yr(i.value.value).some((t=>i.compare(yr(t),yr(e.value))))}))),u=Jo((()=>_b(i.mode.value,{1:()=>{var e;let t=yr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(yr(t),yr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=function(e){let t=Tr(""),r=Tr("");return()=>{let n=kb(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():xv(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return xv(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}(s),p=Jo((()=>({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(),Yr((()=>{var e;return null==(e=kb(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(uv.Nothing);i.goToOption(uv.Specific,o)}Tn((()=>i.registerOption(o,p))),Dn((()=>i.unregisterOption(o))),Tn((()=>{za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&_b(i.mode.value,{1:()=>{u.value&&i.goToOption(uv.Specific,o)},0:()=>{i.goToOption(uv.Specific,o)}})}),{immediate:!0})})),Ua((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Yr((()=>{var e,t;return null==(t=null==(e=kb(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=function(){let e=Tr([-1,-1]);return{wasMoved(t){let r=Hb(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=Hb(t)}}}();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(uv.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(uv.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return Yb({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"})}}}),Nv=jn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Tr(!0);return()=>t.value?ei(rv,{as:"button",type:"button",features:tv.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 $v,Iv,Mv=((Iv=Mv||{})[Iv.Forwards=0]="Forwards",Iv[Iv.Backwards=1]="Backwards",Iv),Lv=(($v=Lv||{})[$v.Less=-1]="Less",$v[$v.Equal=0]="Equal",$v[$v.Greater=1]="Greater",$v);let Qv=Symbol("TabsContext");function Bv(e){let t=ma(Qv,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Bv),t}return t}let jv=Symbol("TabsSSRContext"),Uv=jn({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=Tr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Tr([]),s=Tr([]),l=Jo((()=>null!==e.selectedIndex)),c=Jo((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=jb(d.tabs.value,kb),n=jb(d.panels.value,kb),a=r.filter((e=>{var t;return!(null!=(t=kb(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=_b(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>_b(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=_b(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:Jo((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:Jo((()=>e.vertical?"vertical":"horizontal")),activation:Jo((()=>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=jb(i.value,kb),!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=jb(s.value,kb))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};fa(Qv,d);let p=Tr({tabs:[],panels:[]}),h=Tr(!1);Tn((()=>{h.value=!0})),fa(jv,Jo((()=>h.value?null:p.value)));let f=Jo((()=>e.selectedIndex));return Tn((()=>{za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),Ua((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=jb(d.tabs.value,kb);e.some(((e,t)=>kb(d.tabs.value[t])!==kb(e)))&&d.setSelectedIndex(e.findIndex((e=>kb(e)===kb(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ei(lo,[i.value.length<=0&&ei(Nv,{onFocus:()=>{for(let e of i.value){let t=kb(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),Yb({theirProps:{...r,...ev(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),Fv=jn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Bv("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return Yb({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),zv=jn({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-${xb()}`,i=Bv("Tab"),s=Tr(null);n({el:s,$el:s}),Tn((()=>i.registerTab(s))),Dn((()=>i.unregisterTab(s)));let l=ma(jv),c=Jo((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=Jo((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=Jo((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===$b.Success&&"auto"===i.activation.value){let e=null==(t=Ab(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>kb(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>kb(e))).filter(Boolean);if(e.key===cv.Space||e.key===cv.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case cv.Home:case cv.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>Ub(t,Nb.First)));case cv.End:case cv.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>Ub(t,Nb.Last)))}return p((()=>_b(i.orientation.value,{vertical:()=>e.key===cv.ArrowUp?Ub(t,Nb.Previous|Nb.WrapAround):e.key===cv.ArrowDown?Ub(t,Nb.Next|Nb.WrapAround):$b.Error,horizontal:()=>e.key===cv.ArrowLeft?Ub(t,Nb.Previous|Nb.WrapAround):e.key===cv.ArrowRight?Ub(t,Nb.Next|Nb.WrapAround):$b.Error})))===$b.Success?e.preventDefault():void 0}let f=Tr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=kb(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=Zb(Jo((()=>({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 Yb({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=kb(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 qv(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Zv(){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 qv((()=>{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=Zv();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 Hv=Symbol("headlessui.useid"),Vv=0;function Wv(){return ma(Hv,(()=>""+ ++Vv))()}function Xv(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 Yv(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,Yv),n}var Gv=Object.defineProperty,Kv=(e,t,r)=>(((e,t,r)=>{t in e?Gv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let Jv=new class{constructor(){Kv(this,"current",this.detect()),Kv(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 eO(e){if(Jv.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Xv(e);if(t)return t.ownerDocument}return document}let tO=["[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 rO=(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))(rO||{}),nO=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(nO||{}),aO=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(aO||{});function oO(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(tO)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var iO=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(iO||{});function sO(e,t=0){var r;return e!==(null==(r=eO(e))?void 0:r.body)&&Yv(t,{0:()=>e.matches(tO),1(){let t=e;for(;null!==t;){if(t.matches(tO))return!0;t=t.parentElement}return!1}})}function lO(e){let t=eO(e);Yr((()=>{t&&!sO(t.activeElement,0)&&uO(e)}))}var cO=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(cO||{});function uO(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 dO=["textarea","input"].join(",");function pO(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 hO(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?pO(e):e:oO(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,dO))&&r}(l)&&l.select(),2}function fO(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function mO(e,t,r){Jv.isServer||Ua((n=>{document.addEventListener(e,t,r),n((()=>document.removeEventListener(e,t,r)))}))}function gO(e,t,r){Jv.isServer||Ua((n=>{window.addEventListener(e,t,r),n((()=>window.removeEventListener(e,t,r)))}))}function bO(e,t,r=Jo((()=>!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:Xv(e);if(null!=t&&t.contains(o)||n.composed&&n.composedPath().includes(t))return}return!sO(o,iO.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}let a=Tr(null);mO("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),mO("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),mO("click",(e=>{fO()||/Android/gi.test(window.navigator.userAgent)||a.value&&(n(e,(()=>a.value)),a.value=null)}),!0),mO("touchend",(e=>n(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),gO("blur",(e=>n(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function vO(e,t){if(e)return e;let r=null!=t?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function OO(e,t){let r=Tr(vO(e.value.type,e.value.as));return Tn((()=>{r.value=vO(e.value.type,e.value.as)})),Ua((()=>{var e;r.value||Xv(t)&&Xv(t)instanceof HTMLButtonElement&&(null==(e=Xv(t))||!e.hasAttribute("type"))&&(r.value="button")})),r}function yO(e){return[e.screenX,e.screenY]}function wO(){let e=Tr([-1,-1]);return{wasMoved(t){let r=yO(t);return(e.value[0]!==r[0]||e.value[1]!==r[1])&&(e.value=r,!0)},update(t){e.value=yO(t)}}}var xO=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(xO||{}),kO=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(kO||{});function _O({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...a}){var o;let i=TO(n,r),s=Object.assign(a,{props:i});return e||2&t&&i.static?SO(s):1&t?Yv(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>SO({...a,props:{...i,hidden:!0,style:{display:"none"}}})}):SO(s)}function SO({props:e,attrs:t,slots:r,slot:n,name:a}){var o,i;let{as:s,...l}=AO(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=EO(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=TO(null!=(i=e.props)?i:{},l,u),o=Ao(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 ei(s,Object.assign({},l,u),{default:()=>c})}function EO(e){return e.flatMap((e=>e.type===lo?EO(e.children):[e]))}function TO(...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 AO(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}var CO=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(CO||{});let PO=jn({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 _O({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"})}}),DO=Symbol("Context");var RO=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(RO||{});function NO(){return ma(DO,null)}function $O(e){fa(DO,e)}var IO=(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))(IO||{});let MO=[];!function(e){function t(){"loading"!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&MO[0]!==e.target&&(MO.unshift(e.target),MO=MO.filter((e=>null!=e&&e.isConnected)),MO.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 LO=(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))(LO||{});function QO(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 qO(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=Xv(r);e instanceof HTMLElement&&t.add(e)}return t}var ZO=(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))(ZO||{});let HO=Object.assign(jn({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:Tr(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let a=Tr(null);n({el:a,$el:a});let o=Jo((()=>eO(a))),i=Tr(!1);Tn((()=>i.value=!0)),Dn((()=>i.value=!1)),function({ownerDocument:e},t){let r=function(e){let t=Tr(MO.slice());return za([e],(([e],[r])=>{!0===r&&!1===e?qv((()=>{t.value.splice(0)})):!1===r&&!0===e&&(t.value=MO.slice())}),{flush:"post"}),()=>{var e;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t);Tn((()=>{Ua((()=>{var n,a;t.value||(null==(n=e.value)?void 0:n.activeElement)===(null==(a=e.value)?void 0:a.body)&&uO(r())}),{flush:"post"})})),Dn((()=>{t.value&&uO(r())}))}({ownerDocument:o},Jo((()=>i.value&&Boolean(16&e.features))));let s=function({ownerDocument:e,container:t,initialFocus:r},n){let a=Tr(null),o=Tr(!1);return Tn((()=>o.value=!0)),Dn((()=>o.value=!1)),Tn((()=>{za([t,r,n],((i,s)=>{if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!n.value)return;let l=Xv(t);l&&qv((()=>{var t,n;if(!o.value)return;let i=Xv(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?uO(i):hO(l,rO.First|rO.NoScroll)===nO.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:Jo((()=>e.initialFocus))},Jo((()=>i.value&&Boolean(2&e.features))));!function({ownerDocument:e,container:t,containers:r,previousActiveElement:n},a){var o;FO(null==(o=e.value)?void 0:o.defaultView,"focus",(e=>{if(!a.value)return;let o=qO(r);Xv(t)instanceof HTMLElement&&o.add(Xv(t));let i=n.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?VO(o,s)?(n.value=s,uO(s)):(e.preventDefault(),e.stopPropagation(),uO(i)):uO(n.value)}),!0)}({ownerDocument:o,container:a,containers:e.containers,previousActiveElement:s},Jo((()=>i.value&&Boolean(8&e.features))));let l=function(){let e=Tr(0);return gO("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}();function c(e){let t=Xv(a);t&&Yv(l.value,{[zO.Forwards]:()=>{hO(t,rO.First,{skipElements:[e.relatedTarget]})},[zO.Backwards]:()=>{hO(t,rO.Last,{skipElements:[e.relatedTarget]})}})}let u=Tr(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}function p(t){if(!i.value)return;let r=qO(e.containers);Xv(a)instanceof HTMLElement&&r.add(Xv(a));let n=t.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(VO(r,n)||(u.value?hO(Xv(a),Yv(l.value,{[zO.Forwards]:()=>rO.Next,[zO.Backwards]:()=>rO.Previous})|rO.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&uO(t.target)))}return()=>{let n={ref:a,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return ei(lo,[Boolean(4&o)&&ei(PO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:CO.Focusable}),_O({ourProps:n,theirProps:{...t,...l},slot:{},attrs:t,slots:r,name:"FocusTrap"}),Boolean(4&o)&&ei(PO,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:CO.Focusable})])}}}),{features:ZO});function VO(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function WO(){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 XO(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let YO=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:Zv(),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:XO(r)},a=[fO()?{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=Zv();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)}))}))}}:{},WO(),{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)}});YO.subscribe((()=>{let e=YO.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)&&YO.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&YO.dispatch("TEARDOWN",r)}}));let GO=new Map,KO=new Map;function JO(e,t=Tr(!0)){Ua((r=>{var n;if(!t.value)return;let a=Xv(e);if(!a)return;r((function(){var e;if(!a)return;let t=null!=(e=KO.get(a))?e:1;if(1===t?KO.delete(a):KO.set(a,t-1),1!==t)return;let r=GO.get(a);r&&(null===r["aria-hidden"]?a.removeAttribute("aria-hidden"):a.setAttribute("aria-hidden",r["aria-hidden"]),a.inert=r.inert,GO.delete(a))}));let o=null!=(n=KO.get(a))?n:0;KO.set(a,o+1),0===o&&(GO.set(a,{"aria-hidden":a.getAttribute("aria-hidden"),inert:a.inert}),a.setAttribute("aria-hidden","true"),a.inert=!0)}))}let ey=Symbol("ForcePortalRootContext"),ty=jn({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:r})=>(fa(ey,e.force),()=>{let{force:n,...a}=e;return _O({theirProps:a,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})})}),ry=Symbol("StackContext");var ny=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(ny||{});let ay=Symbol("DescriptionContext"),oy=jn({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-${Wv()}`,o=function(){let e=ma(ay,null);if(null===e)throw new Error("Missing parent");return e}();return Tn((()=>Dn(o.register(a)))),()=>{let{name:n="Description",slot:i=Tr({}),props:s={}}=o,{...l}=e;return _O({ourProps:{...Object.entries(s).reduce(((e,[t,r])=>Object.assign(e,{[t]:Dr(r)})),{}),id:a},theirProps:l,slot:i.value,attrs:t,slots:r,name:n})}}});const iy=new WeakMap;function sy(e,t){let r=t(function(e){var t;return null!=(t=iy.get(e))?t:0}(e));return r<=0?iy.delete(e):iy.set(e,r),r}let ly=jn({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=Tr(null),a=Jo((()=>eO(n))),o=ma(ey,!1),i=ma(uy,null),s=Tr(!0===o||null==i?function(e){let t=eO(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&&sy(s.value,(e=>e+1));let l=Tr(!1);Tn((()=>{l.value=!0})),Ua((()=>{o||null!=i&&(s.value=i.resolveTarget())}));let c=ma(cy,null),u=!1,d=jo();return za(n,(()=>{if(u||!c)return;let e=Xv(n);e&&(Dn(c.register(e),d),u=!0)})),Dn((()=>{var e,t;let r=null==(e=a.value)?void 0:e.getElementById("headlessui-portal-root");!r||s.value!==r||sy(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 ei(io,{to:s.value},_O({ourProps:a,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),cy=Symbol("PortalParentContext"),uy=Symbol("PortalGroupContext"),dy=jn({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=dr({resolveTarget:()=>e.target});return fa(uy,n),()=>{let{target:n,...a}=e;return _O({theirProps:a,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}});var py,hy=((py=hy||{})[py.Open=0]="Open",py[py.Closed=1]="Closed",py);let fy=Symbol("DialogContext");function my(e){let t=ma(fy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,my),t}return t}let gy="DC8F892D-2EBD-447C-A4C8-A03058436FF4",by=jn({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:gy},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-${Wv()}`,l=Tr(!1);Tn((()=>{l.value=!0}));let c=!1,u=Jo((()=>"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=Tr(0),p=NO(),h=Jo((()=>e.open===gy&&null!==p?(p.value&RO.Open)===RO.Open:e.open)),f=Tr(null),m=Jo((()=>eO(f)));if(a({el:f,$el:f}),e.open===gy&&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===gy?void 0:e.open}`);let g=Jo((()=>l.value&&h.value?0:1)),b=Jo((()=>0===g.value)),v=Jo((()=>d.value>1)),O=null!==ma(fy,null),[y,w]=function(){let e=ma(cy,null),t=Tr([]);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,jn({name:"PortalWrapper",setup:(e,{slots:t})=>(fa(cy,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=Tr(null),a=eO(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(Xv(n))||e.contains(null==(i=null==(o=Xv(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:ei(PO,{features:CO.Hidden,ref:n})}}({portals:y,defaultContainers:[Jo((()=>{var e;return null!=(e=N.panelRef.value)?e:f.value}))]}),S=Jo((()=>v.value?"parent":"leaf")),E=Jo((()=>null!==p&&(p.value&RO.Closing)===RO.Closing)),T=Jo((()=>!O&&!E.value&&b.value)),A=Jo((()=>{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(Xv(k))&&e instanceof HTMLElement)))?r:null}));JO(A,T);let C=Jo((()=>!!v.value||b.value)),P=Jo((()=>{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(Xv(k))&&e instanceof HTMLElement)))?r:null}));JO(P,C),function({type:e,enabled:t,element:r,onUpdate:n}){let a=ma(ry,(()=>{}));function o(...e){null==n||n(...e),a(...e)}Tn((()=>{za(t,((t,n)=>{t?o(0,e,r):!0===n&&o(1,e,r)}),{immediate:!0,flush:"sync"})})),Dn((()=>{t.value&&o(1,e,r)})),fa(ry,o)}({type:"Dialog",enabled:Jo((()=>0===g.value)),element:f,onUpdate:(e,t)=>{if("Dialog"===t)return Yv(e,{[ny.Add]:()=>d.value+=1,[ny.Remove]:()=>d.value-=1})}});let D=function({slot:e=Tr({}),name:t="Description",props:r={}}={}){let n=Tr([]);return fa(ay,{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}),Jo((()=>n.value.length>0?n.value.join(" "):void 0))}({name:"DialogDescription",slot:Jo((()=>({open:h.value})))}),R=Tr(null),N={titleId:R,panelRef:Tr(null),dialogState:g,setTitleId(e){R.value!==e&&(R.value=e)},close(){t("close",!1)}};fa(fy,N);let $=Jo((()=>!(!b.value||v.value)));bO(x,((e,t)=>{e.preventDefault(),N.close(),Yr((()=>null==t?void 0:t.focus()))}),$);let I=Jo((()=>!(v.value||0!==g.value)));FO(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{I.value&&(e.defaultPrevented||e.key===IO.Escape&&(e.preventDefault(),e.stopPropagation(),N.close()))}));let M=Jo((()=>!(E.value||0!==g.value||O)));return function(e,t,r){let n=function(e){let t=Ar(e.getSnapshot());return Dn(e.subscribe((()=>{t.value=e.getSnapshot()}))),t}(YO),a=Jo((()=>{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;YO.dispatch("PUSH",e,r);let o=!1;a((()=>{o||(YO.dispatch("POP",null!=n?n:e,r),o=!0)}))}),{immediate:!0})}(m,M,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}})),Ua((e=>{if(0!==g.value)return;let t=Xv(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 ei(ty,{force:!0},(()=>[ei(ly,(()=>ei(dy,{target:f.value},(()=>ei(ty,{force:!1},(()=>ei(HO,{initialFocus:a,containers:x,features:b.value?Yv(S.value,{parent:HO.features.RestoreFocus,leaf:HO.features.All&~HO.features.FocusLock}):HO.features.None},(()=>ei(w,{},(()=>_O({ourProps:i,theirProps:{...o,...r},slot:l,attrs:r,slots:n,visible:0===g.value,features:xO.RenderStrategy|xO.Static,name:"Dialog"}))))))))))),ei(_)]))}}}),vy=jn({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-${Wv()}`,i=my("DialogPanel");function s(e){e.stopPropagation()}return n({el:i.panelRef,$el:i.panelRef}),()=>{let{...n}=e;return _O({ourProps:{id:o,ref:i.panelRef,onClick:s},theirProps:n,slot:{open:0===i.dialogState.value},attrs:t,slots:r,name:"DialogPanel"})}}}),Oy=jn({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-${Wv()}`,o=my("DialogTitle");return Tn((()=>{o.setTitleId(a),Dn((()=>o.setTitleId(null)))})),()=>{let{...n}=e;return _O({ourProps:{id:a},theirProps:n,slot:{open:0===o.dialogState.value},attrs:t,slots:r,name:"DialogTitle"})}}}),yy=oy;var wy=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wy||{});let xy=Symbol("DisclosureContext");function ky(e){let t=ma(xy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ky),t}return t}let _y=Symbol("DisclosurePanelContext"),Sy=jn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:r}){let n=Tr(e.defaultOpen?0:1),a=Tr(null),o=Tr(null),i={buttonId:Tr(`headlessui-disclosure-button-${Wv()}`),panelId:Tr(`headlessui-disclosure-panel-${Wv()}`),disclosureState:n,panel:a,button:o,toggleDisclosure(){n.value=Yv(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?Xv(e):Xv(i.button):Xv(i.button);null==t||t.focus()}};return fa(xy,i),$O(Jo((()=>Yv(n.value,{0:RO.Open,1:RO.Closed})))),()=>{let{defaultOpen:a,...o}=e;return _O({theirProps:o,ourProps:{},slot:{open:0===n.value,close:i.close},slots:t,attrs:r,name:"Disclosure"})}}}),Ey=jn({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=ky("DisclosureButton"),o=ma(_y,null),i=Jo((()=>null!==o&&o.value===a.panelId.value));Tn((()=>{i.value||null!==e.id&&(a.buttonId.value=e.id)})),Dn((()=>{i.value||(a.buttonId.value=null)}));let s=Tr(null);n({el:s,$el:s}),i.value||Ua((()=>{a.button.value=s.value}));let l=OO(Jo((()=>({as:e.as,type:t.type}))),s);function c(){var t;e.disabled||(i.value?(a.toggleDisclosure(),null==(t=Xv(a.button))||t.focus()):a.toggleDisclosure())}function u(t){var r;if(!e.disabled)if(i.value)switch(t.key){case IO.Space:case IO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure(),null==(r=Xv(a.button))||r.focus()}else switch(t.key){case IO.Space:case IO.Enter:t.preventDefault(),t.stopPropagation(),a.toggleDisclosure()}}function d(e){e.key===IO.Space&&e.preventDefault()}return()=>{var n;let o={open:0===a.disclosureState.value},{id:p,...h}=e;return _O({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||Xv(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"})}}}),Ty=jn({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=ky("DisclosurePanel");Tn((()=>{null!==e.id&&(a.panelId.value=e.id)})),Dn((()=>{a.panelId.value=null})),n({el:a.panel,$el:a.panel}),fa(_y,a.panelId);let o=NO(),i=Jo((()=>null!==o?(o.value&RO.Open)===RO.Open:0===a.disclosureState.value));return()=>{var n;let o={open:0===a.disclosureState.value,close:a.close},{id:s,...l}=e;return _O({ourProps:{id:null!=(n=a.panelId.value)?n:s,ref:a.panel},theirProps:l,slot:o,attrs:t,slots:r,features:xO.RenderStrategy|xO.Static,visible:i.value,name:"DisclosurePanel"})}}}),Ay=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function Cy(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 Ay.test(i)&&(i=i.replace(Ay,"")),i}function Py(e){let t=Tr(""),r=Tr("");return()=>{let n=Xv(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():Cy(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return Cy(e).trim()}(n).trim().toLowerCase();return t.value=a,r.value=o,o}}function Dy(e,t){return e===t}var Ry=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ry||{}),Ny=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Ny||{}),$y=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))($y||{});let Iy=Symbol("ListboxContext");function My(e){let t=ma(Iy,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,My),t}return t}let Ly=jn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Dy},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=Tr(1),o=Tr(null),i=Tr(null),s=Tr(null),l=Tr([]),c=Tr(""),u=Tr(null),d=Tr(1);function p(e=(e=>e)){let t=null!==u.value?l.value[u.value]:null,r=pO(e(l.value.slice()),(e=>Xv(e.dataRef.domRef))),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let h=Jo((()=>e.multiple?1:0)),[f,m]=function(e,t,r){let n=Tr(null==r?void 0:r.value),a=Jo((()=>void 0!==e.value));return[Jo((()=>a.value?e.value:n.value)),function(e){return a.value||(n.value=e),null==t?void 0:t(e)}]}(Jo((()=>e.modelValue)),(e=>n("update:modelValue",e)),Jo((()=>e.defaultValue))),g=Jo((()=>void 0===f.value?Yv(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:Jo((()=>e.horizontal?"horizontal":"vertical")),labelRef:o,buttonRef:i,optionsRef:s,disabled:Jo((()=>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=QO(t===LO.Specific?{focus:LO.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(Yv(h.value,{0:()=>t,1:()=>{let e=yr(b.value.value).slice(),r=yr(t),n=e.findIndex((e=>b.compare(r,yr(e))));return-1===n?e.push(r):e.splice(n,1),e}}))}};bO([i,s],((e,t)=>{var r;b.closeListbox(),sO(t,iO.Loose)||(e.preventDefault(),null==(r=Xv(i))||r.focus())}),Jo((()=>0===a.value))),fa(Iy,b),$O(Jo((()=>Yv(a.value,{0:RO.Open,1:RO.Closed}))));let v=Jo((()=>{var e;return null==(e=Xv(i))?void 0:e.closest("form")}));return Tn((()=>{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 ei(lo,[...null!=n&&null!=g.value?BO({[n]:g.value}).map((([e,t])=>ei(PO,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:CO.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t})))):[],_O({ourProps:{},theirProps:{...r,...AO(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:r,name:"Listbox"})])}}}),Qy=jn({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-${Wv()}`,i=My("ListboxButton");function s(e){switch(e.key){case IO.Space:case IO.Enter:case IO.ArrowDown:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=Xv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(LO.First)}));break;case IO.ArrowUp:e.preventDefault(),i.openListbox(),Yr((()=>{var e;null==(e=Xv(i.optionsRef))||e.focus({preventScroll:!0}),i.value.value||i.goToOption(LO.Last)}))}}function l(e){e.key===IO.Space&&e.preventDefault()}function c(e){i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),i.openListbox(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Xv(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=OO(Jo((()=>({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 _O({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"listbox","aria-controls":null==(n=Xv(i.optionsRef))?void 0:n.id,"aria-expanded":0===i.listboxState.value,"aria-labelledby":i.labelRef.value?[null==(a=Xv(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"})}}}),By=jn({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-${Wv()}`,i=My("ListboxOptions"),s=Tr(null);function l(e){switch(s.value&&clearTimeout(s.value),e.key){case IO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case IO.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(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break;case Yv(i.orientation.value,{vertical:IO.ArrowDown,horizontal:IO.ArrowRight}):return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.Next);case Yv(i.orientation.value,{vertical:IO.ArrowUp,horizontal:IO.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.Previous);case IO.Home:case IO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.First);case IO.End:case IO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToOption(LO.Last);case IO.Escape:e.preventDefault(),e.stopPropagation(),i.closeListbox(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case IO.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=NO(),u=Jo((()=>null!==c?(c.value&RO.Open)===RO.Open:0===i.listboxState.value));return()=>{var n,a;let s={open:0===i.listboxState.value},{...c}=e;return _O({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=Xv(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:xO.RenderStrategy|xO.Static,visible:u.value,name:"ListboxOptions"})}}}),jy=jn({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-${Wv()}`,i=My("ListboxOption"),s=Tr(null);n({el:s,$el:s});let l=Jo((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===o)),c=Jo((()=>Yv(i.mode.value,{0:()=>i.compare(yr(i.value.value),yr(e.value)),1:()=>yr(i.value.value).some((t=>i.compare(yr(t),yr(e.value))))}))),u=Jo((()=>Yv(i.mode.value,{1:()=>{var e;let t=yr(i.value.value);return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(yr(t),yr(e.dataRef.value)))))))?void 0:e.id)===o},0:()=>c.value}))),d=Py(s),p=Jo((()=>({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(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}function f(){if(e.disabled)return i.goToOption(LO.Nothing);i.goToOption(LO.Specific,o)}Tn((()=>i.registerOption(o,p))),Dn((()=>i.unregisterOption(o))),Tn((()=>{za([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&Yv(i.mode.value,{1:()=>{u.value&&i.goToOption(LO.Specific,o)},0:()=>{i.goToOption(LO.Specific,o)}})}),{immediate:!0})})),Ua((()=>{0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&Yr((()=>{var e,t;return null==(t=null==(e=Xv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let m=wO();function g(e){m.update(e)}function b(t){m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(LO.Specific,o,0))}function v(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(LO.Nothing))}return()=>{let{disabled:n}=e,a={active:l.value,selected:c.value,disabled:n},{value:i,disabled:u,...d}=e;return _O({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 Uy=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Uy||{}),Fy=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Fy||{});let zy=Symbol("MenuContext");function qy(e){let t=ma(zy,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 Zy=jn({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:r}){let n=Tr(1),a=Tr(null),o=Tr(null),i=Tr([]),s=Tr(""),l=Tr(null),c=Tr(1);function u(e=(e=>e)){let t=null!==l.value?i.value[l.value]:null,r=pO(e(i.value.slice()),(e=>Xv(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=QO(e===LO.Specific?{focus:LO.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 bO([a,o],((e,t)=>{var r;d.closeMenu(),sO(t,iO.Loose)||(e.preventDefault(),null==(r=Xv(a))||r.focus())}),Jo((()=>0===n.value))),fa(zy,d),$O(Jo((()=>Yv(n.value,{0:RO.Open,1:RO.Closed})))),()=>{let a={open:0===n.value,close:d.closeMenu};return _O({ourProps:{},theirProps:e,slot:a,slots:t,attrs:r,name:"Menu"})}}}),Hy=jn({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-${Wv()}`,i=qy("MenuButton");function s(e){switch(e.key){case IO.Space:case IO.Enter:case IO.ArrowDown:e.preventDefault(),e.stopPropagation(),i.openMenu(),Yr((()=>{var e;null==(e=Xv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(LO.First)}));break;case IO.ArrowUp:e.preventDefault(),e.stopPropagation(),i.openMenu(),Yr((()=>{var e;null==(e=Xv(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(LO.Last)}))}}function l(e){e.key===IO.Space&&e.preventDefault()}function c(t){e.disabled||(0===i.menuState.value?(i.closeMenu(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),i.openMenu(),function(e){requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e;return null==(e=Xv(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}n({el:i.buttonRef,$el:i.buttonRef});let u=OO(Jo((()=>({as:e.as,type:t.type}))),i.buttonRef);return()=>{var n;let a={open:0===i.menuState.value},{...d}=e;return _O({ourProps:{ref:i.buttonRef,id:o,type:u.value,"aria-haspopup":"menu","aria-controls":null==(n=Xv(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"})}}}),Vy=jn({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-${Wv()}`,i=qy("MenuItems"),s=Tr(null);function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case IO.Space:if(""!==i.searchQuery.value)return e.preventDefault(),e.stopPropagation(),i.search(e.key);case IO.Enter:e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value&&(null==(t=Xv(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()),i.closeMenu(),lO(Xv(i.buttonRef));break;case IO.ArrowDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.Next);case IO.ArrowUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.Previous);case IO.Home:case IO.PageUp:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.First);case IO.End:case IO.PageDown:return e.preventDefault(),e.stopPropagation(),i.goToItem(LO.Last);case IO.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Yr((()=>{var e;return null==(e=Xv(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break;case IO.Tab:e.preventDefault(),e.stopPropagation(),i.closeMenu(),Yr((()=>function(e,t){return hO(oO(),t,{relativeTo:e})}(Xv(i.buttonRef),e.shiftKey?rO.Previous:rO.Next)));break;default:1===e.key.length&&(i.search(e.key),s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){e.key===IO.Space&&e.preventDefault()}n({el:i.itemsRef,$el:i.itemsRef}),function({container:e,accept:t,walk:r,enabled:n}){Ua((()=>{let a=e.value;if(!a||void 0!==n&&!n.value)return;let o=eO(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:Jo((()=>Xv(i.itemsRef))),enabled:Jo((()=>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=NO(),d=Jo((()=>null!==u?(u.value&RO.Open)===RO.Open:0===i.menuState.value));return()=>{var n,a;let s={open:0===i.menuState.value},{...u}=e;return _O({ourProps:{"aria-activedescendant":null===i.activeItemIndex.value||null==(n=i.items.value[i.activeItemIndex.value])?void 0:n.id,"aria-labelledby":null==(a=Xv(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:xO.RenderStrategy|xO.Static,visible:d.value,name:"MenuItems"})}}}),Wy=jn({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-${Wv()}`,i=qy("MenuItem"),s=Tr(null);n({el:s,$el:s});let l=Jo((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===o)),c=Py(s),u=Jo((()=>({disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){if(e.disabled)return t.preventDefault();i.closeMenu(),lO(Xv(i.buttonRef))}function p(){if(e.disabled)return i.goToItem(LO.Nothing);i.goToItem(LO.Specific,o)}Tn((()=>i.registerItem(o,u))),Dn((()=>i.unregisterItem(o))),Ua((()=>{0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&Yr((()=>{var e,t;return null==(t=null==(e=Xv(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{block:"nearest"})}))}));let h=wO();function f(e){h.update(e)}function m(t){h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(LO.Specific,o,0))}function g(t){h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(LO.Nothing))}return()=>{let{disabled:n,...a}=e,c={active:l.value,disabled:n,close:i.closeMenu};return _O({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"})}}}),Xy=jn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Tr(!0);return()=>t.value?ei(PO,{as:"button",type:"button",features:CO.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 Yy=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Yy||{}),Gy=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Gy||{});let Ky=Symbol("TabsContext");function Jy(e){let t=ma(Ky,null);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Jy),t}return t}let ew=Symbol("TabsSSRContext"),tw=jn({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=Tr(null!=(a=e.selectedIndex)?a:e.defaultIndex),i=Tr([]),s=Tr([]),l=Jo((()=>null!==e.selectedIndex)),c=Jo((()=>l.value?e.selectedIndex:o.value));function u(e){var t;let r=pO(d.tabs.value,Xv),n=pO(d.panels.value,Xv),a=r.filter((e=>{var t;return!(null!=(t=Xv(e))&&t.hasAttribute("disabled"))}));if(e<0||e>r.length-1){let t=Yv(null===o.value?0:Math.sign(e-o.value),{[-1]:()=>1,0:()=>Yv(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=Yv(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:Jo((()=>{var t,r;return null!=(r=null!=(t=o.value)?t:e.defaultIndex)?r:null})),orientation:Jo((()=>e.vertical?"vertical":"horizontal")),activation:Jo((()=>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=pO(i.value,Xv),!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=pO(s.value,Xv))},unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}};fa(Ky,d);let p=Tr({tabs:[],panels:[]}),h=Tr(!1);Tn((()=>{h.value=!0})),fa(ew,Jo((()=>h.value?null:p.value)));let f=Jo((()=>e.selectedIndex));return Tn((()=>{za([f],(()=>{var t;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})})),Ua((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return;let e=pO(d.tabs.value,Xv);e.some(((e,t)=>Xv(d.tabs.value[t])!==Xv(e)))&&d.setSelectedIndex(e.findIndex((e=>Xv(e)===Xv(d.tabs.value[c.value]))))})),()=>{let n={selectedIndex:o.value};return ei(lo,[i.value.length<=0&&ei(Xy,{onFocus:()=>{for(let e of i.value){let t=Xv(e);if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),_O({theirProps:{...r,...AO(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:n,slots:t,attrs:r,name:"TabGroup"})])}}}),rw=jn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Jy("TabList");return()=>{let a={selectedIndex:n.selectedIndex.value};return _O({ourProps:{role:"tablist","aria-orientation":n.orientation.value},theirProps:e,slot:a,attrs:t,slots:r,name:"TabList"})}}}),nw=jn({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-${Wv()}`,i=Jy("Tab"),s=Tr(null);n({el:s,$el:s}),Tn((()=>i.registerTab(s))),Dn((()=>i.unregisterTab(s)));let l=ma(ew),c=Jo((()=>{if(l.value){let e=l.value.tabs.indexOf(o);return-1===e?l.value.tabs.push(o)-1:e}return-1})),u=Jo((()=>{let e=i.tabs.value.indexOf(s);return-1===e?c.value:e})),d=Jo((()=>u.value===i.selectedIndex.value));function p(e){var t;let r=e();if(r===nO.Success&&"auto"===i.activation.value){let e=null==(t=eO(s))?void 0:t.activeElement,r=i.tabs.value.findIndex((t=>Xv(t)===e));-1!==r&&i.setSelectedIndex(r)}return r}function h(e){let t=i.tabs.value.map((e=>Xv(e))).filter(Boolean);if(e.key===IO.Space||e.key===IO.Enter)return e.preventDefault(),e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case IO.Home:case IO.PageUp:return e.preventDefault(),e.stopPropagation(),p((()=>hO(t,rO.First)));case IO.End:case IO.PageDown:return e.preventDefault(),e.stopPropagation(),p((()=>hO(t,rO.Last)))}return p((()=>Yv(i.orientation.value,{vertical:()=>e.key===IO.ArrowUp?hO(t,rO.Previous|rO.WrapAround):e.key===IO.ArrowDown?hO(t,rO.Next|rO.WrapAround):nO.Error,horizontal:()=>e.key===IO.ArrowLeft?hO(t,rO.Previous|rO.WrapAround):e.key===IO.ArrowRight?hO(t,rO.Next|rO.WrapAround):nO.Error})))===nO.Success?e.preventDefault():void 0}let f=Tr(!1);function m(){var t;f.value||(f.value=!0,!e.disabled&&(null==(t=Xv(s))||t.focus({preventScroll:!0}),i.setSelectedIndex(u.value),qv((()=>{f.value=!1}))))}function g(e){e.preventDefault()}let b=OO(Jo((()=>({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 _O({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:o,role:"tab",type:b.value,"aria-controls":null==(a=Xv(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"})}}}),aw=jn({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=Jy("TabPanels");return()=>{let a={selectedIndex:n.selectedIndex.value};return _O({theirProps:e,ourProps:{},slot:a,attrs:r,slots:t,name:"TabPanels"})}}}),ow=jn({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-${Wv()}`,i=Jy("TabPanel"),s=Tr(null);n({el:s,$el:s}),Tn((()=>i.registerPanel(s))),Dn((()=>i.unregisterPanel(s)));let l=ma(ew),c=Jo((()=>{if(l.value){let e=l.value.panels.indexOf(o);return-1===e?l.value.panels.push(o)-1:e}return-1})),u=Jo((()=>{let e=i.panels.value.indexOf(s);return-1===e?c.value:e})),d=Jo((()=>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=Xv(i.tabs.value[u.value]))?void 0:n.id,tabIndex:d.value?l:-1};return d.value||!e.unmount||e.static?_O({ourProps:p,theirProps:c,slot:a,attrs:t,slots:r,features:xO.Static|xO.RenderStrategy,visible:d.value,name:"TabPanel"}):ei(PO,{as:"span","aria-hidden":!0,...p})}}});function iw(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,cw=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=lw(t)||lw(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:uw,cva:dw,cx:pw}=cw(),hw="-";function fw(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])=>{bw(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(hw);return""===r[0]&&1!==r.length&&r.shift(),mw(r,t)||function(e){if(gw.test(e)){const t=gw.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 mw(e,t){var r;if(0===e.length)return t.classGroupId;const n=e[0],a=t.nextPart.get(n),o=a?mw(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join(hw);return null==(r=t.validators.find((({validator:e})=>e(i))))?void 0:r.classGroupId}const gw=/^\[(.+)\]$/;function bw(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void bw(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,a])=>{bw(a,vw(t,e),r,n)}))}else(""===e?t:vw(t,e)).classGroupId=r}))}function vw(e,t){let r=e;return t.split(hw).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function Ow(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 yw="!";function ww(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 xw=/\s+/;function kw(){let e,t,r=0,n="";for(;rt(e)),e());return r=function(e){return{cache:Ow(e.cacheSize),splitModifiers:ww(e),...fw(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(xw).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+yw: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(kw.apply(null,arguments))}}function Ew(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Tw=/^\[(?:([a-z-]+):)?(.+)\]$/i,Aw=/^\d+\/\d+$/,Cw=new Set(["px","full","screen"]),Pw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dw=/\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$/,Rw=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Nw=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$w=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Iw(e){return Lw(e)||Cw.has(e)||Aw.test(e)}function Mw(e){return Yw(e,"length",Gw)}function Lw(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Qw(e){return Yw(e,"number",Lw)}function Bw(e){return Boolean(e)&&Number.isInteger(Number(e))}function jw(e){return e.endsWith("%")&&Lw(e.slice(0,-1))}function Uw(e){return Tw.test(e)}function Fw(e){return Pw.test(e)}const zw=new Set(["length","size","percentage"]);function qw(e){return Yw(e,zw,Kw)}function Zw(e){return Yw(e,"position",Kw)}const Hw=new Set(["image","url"]);function Vw(e){return Yw(e,Hw,ex)}function Ww(e){return Yw(e,"",Jw)}function Xw(){return!0}function Yw(e,t,r){const n=Tw.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function Gw(e){return Dw.test(e)&&!Rw.test(e)}function Kw(){return!1}function Jw(e){return Nw.test(e)}function ex(e){return $w.test(e)}function tx(){const e=Ew("colors"),t=Ew("spacing"),r=Ew("blur"),n=Ew("brightness"),a=Ew("borderColor"),o=Ew("borderRadius"),i=Ew("borderSpacing"),s=Ew("borderWidth"),l=Ew("contrast"),c=Ew("grayscale"),u=Ew("hueRotate"),d=Ew("invert"),p=Ew("gap"),h=Ew("gradientColorStops"),f=Ew("gradientColorStopPositions"),m=Ew("inset"),g=Ew("margin"),b=Ew("opacity"),v=Ew("padding"),O=Ew("saturate"),y=Ew("scale"),w=Ew("sepia"),x=Ew("skew"),k=Ew("space"),_=Ew("translate"),S=()=>["auto",Uw,t],E=()=>[Uw,t],T=()=>["",Iw,Mw],A=()=>["auto",Lw,Uw],C=()=>["","0",Uw],P=()=>[Lw,Qw],D=()=>[Lw,Uw];return{cacheSize:500,separator:":",theme:{colors:[Xw],spacing:[Iw,Mw],blur:["none","",Fw,Uw],brightness:P(),borderColor:[e],borderRadius:["none","","full",Fw,Uw],borderSpacing:E(),borderWidth:T(),contrast:P(),grayscale:C(),hueRotate:D(),invert:C(),gap:E(),gradientColorStops:[e],gradientColorStopPositions:[jw,Mw],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",Uw]}],container:["container"],columns:[{columns:[Fw]}],"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",Uw]}],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",Bw,Uw]}],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",Uw]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",Bw,Uw]}],"grid-cols":[{"grid-cols":[Xw]}],"col-start-end":[{col:["auto",{span:["full",Bw,Uw]},Uw]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Xw]}],"row-start-end":[{row:["auto",{span:[Bw,Uw]},Uw]}],"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",Uw]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Uw]}],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",Uw,t]}],"min-w":[{"min-w":[Uw,t,"min","max","fit"]}],"max-w":[{"max-w":[Uw,t,"none","full","min","max","fit","prose",{screen:[Fw]},Fw]}],h:[{h:[Uw,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Uw,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Uw,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Uw,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Fw,Mw]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Qw]}],"font-family":[{font:[Xw]}],"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",Uw]}],"line-clamp":[{"line-clamp":["none",Lw,Qw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Iw,Uw]}],"list-image":[{"list-image":["none",Uw]}],"list-style-type":[{list:["none","disc","decimal",Uw]}],"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",Iw,Mw]}],"underline-offset":[{"underline-offset":["auto",Iw,Uw]}],"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",Uw]}],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",Uw]}],"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",Zw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qw]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vw]}],"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":[Iw,Uw]}],"outline-w":[{outline:[Iw,Mw]}],"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":[Iw,Mw]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Fw,Ww]}],"shadow-color":[{shadow:[Xw]}],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",Fw,Uw]}],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",Uw]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",Uw]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",Uw]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[Bw,Uw]}],"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",Uw]}],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",Uw]}],"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",Uw]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Iw,Mw,Qw]}],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 rx(e,t,r){void 0!==r&&(e[t]=r)}function nx(e,t){if(t)for(const r in t)rx(e,r,t[r])}function ax(e,t){if(t)for(const r in t){const n=t[r];void 0!==n&&(e[r]=(e[r]||[]).concat(n))}}const ox=function(e,...t){return"function"==typeof e?Sw(tx,e,...t):Sw((()=>function(e,{cacheSize:t,prefix:r,separator:n,extend:a={},override:o={}}){rx(e,"cacheSize",t),rx(e,"prefix",r),rx(e,"separator",n);for(const t in o)nx(e[t],o[t]);for(const t in a)ax(e[t],a[t]);return e}(tx(),e)),...t)}({extend:{classGroups:{"font-size":["text-xxs"]}}}),{cva:ix,cx:sx,compose:lx}=cw({hooks:{onComplete:e=>ox(e)}}),cx=()=>dr({open:!1,show(){this.open=!0},hide(){this.open=!1}}),ux=jn({__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},setup(e){const t=ix({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=ix({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)=>(mo(),yo(Dr(by),{open:e.state.open,onClose:n[0]||(n[0]=t=>e.state.hide())},{default:hn((()=>[So("div",{class:Xe(Dr(sx)("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"))},[Eo(Dr(vy),{class:Xe(Dr(t)({size:e.size,variant:e.variant})),style:qe({maxWidth:e.maxWidth})},{default:hn((()=>[e.title?(mo(),yo(Dr(Oy),{key:0,class:Xe(["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:hn((()=>[Co(tt(e.title),1)])),_:1},8,["class"])):Do("",!0),"full"===e.size?(mo(),Oo("div",{key:1,class:Xe(e.bodyClass)},[zn(e.$slots,"default",{},void 0,!0)],2)):(mo(),yo(Dr(yy),{key:2,class:Xe(Dr(sx)(e.bodyClass,Dr(r)({variant:e.variant})))},{default:hn((()=>[zn(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))])),_:3},8,["class","style"])],2)])),_:3},8,["open"]))}}),dx=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r},px=dx(ux,[["__scopeId","data-v-b9af10e0"]]),hx={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"]},fx=ix({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:hx},compoundVariants:[{disabled:!0,variant:"ghost",class:"text-ghost bg-transparent"}]}),mx=Po('',5),gx={key:0,class:"circular-loader"},bx=dx(jn({__name:"ScalarLoading",props:{loadingState:{},size:{default:"24px"}},setup:e=>(di((e=>({d6cae758:e.size}))),(e,t)=>e.loadingState?(mo(),Oo("div",{key:0,class:Xe(Dr(sx)("loader-wrapper"))},[(mo(),Oo("svg",{class:Xe(["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"},[mx,e.loadingState.isLoading?(mo(),Oo("g",gx,[So("circle",{class:Xe(["loader-path",{"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"2"},null,2)])):Do("",!0)],2))],2)):Do("",!0))}),[["__scopeId","data-v-47faceda"]]),vx=["ariaDisabled","type"],Ox={key:3,class:"centered-x absolute"},yx=jn({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=Jo((()=>{const{class:e,...t}=Yn();return{class:e||"",rest:t}}));return(e,r)=>{var n,a,o,i;return mo(),Oo("button",Io(t.value.rest,{ariaDisabled:e.disabled||void 0,class:Dr(sx)(Dr(fx)({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?(mo(),Oo("div",{key:0,class:Xe(["mr-2 h-4 w-4",{invisible:null==(a=e.loading)?void 0:a.isLoading}])},[zn(e.$slots,"icon")],2)):Do("",!0),e.loading?(mo(),Oo("span",{key:1,class:Xe({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?(mo(),Oo("div",Ox,[Eo(Dr(bx),{loadingState:e.loading,size:"12px"},null,8,["loadingState"])])):Do("",!0)],16,vx)}}}),wx={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},xx=function(e){if(null==e)return _x;if("function"==typeof e)return kx(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 jx(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(Lx(e))return l;for(Nx(e)||Mx(e)&&Sx(t,e,Mx)?i="\n":Ix(e)?(o=2,i=2):Qx(e)&&(o=1,i=1);++sJx(e,t,r-1)))}const ek="[A-Za-z$_][0-9A-Za-z$_]*",tk=["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"],rk=["true","false","null","undefined","NaN","Infinity"],nk=["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"],ak=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ok=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ik=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],sk=[].concat(ok,nk,ak);var lk="[0-9](_*[0-9])*",ck=`\\.(${lk})`,uk="[0-9a-fA-F](_*[0-9a-fA-F])*",dk={className:"number",variants:[{begin:`(\\b(${lk})((${ck})|\\.)?|(${ck}))[eE][+-]?(${lk})[fFdD]?\\b`},{begin:`\\b(${lk})((${ck})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ck})[fFdD]?\\b`},{begin:`\\b(${lk})[fFdD]\\b`},{begin:`\\b0[xX]((${uk})\\.?|(${uk})?\\.(${uk}))[pP][+-]?(${lk})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${uk})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const pk=["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"],hk=["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"],fk=["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"],mk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],gk=["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(),bk=fk.concat(mk),vk=["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"],Ok=["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"],yk=["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"],wk=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],xk=["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 kk(e){return e?"string"==typeof e?e:e.source:null}function _k(e){return Sk("(?=",e,")")}function Sk(...e){return e.map((e=>kk(e))).join("")}function Ek(...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=>kk(e))).join("|")+")"}const Tk=e=>Sk(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Ak=["Protocol","Type"].map(Tk),Ck=["init","self"].map(Tk),Pk=["Any","Self"],Dk=["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"],Rk=["false","nil","true"],Nk=["assignment","associativity","higherThan","left","lowerThan","none","right"],$k=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Ik=["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"],Mk=Ek(/[/=\-+!*%<>&|^~?]/,/[\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]/),Lk=Ek(Mk,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Qk=Sk(Mk,Lk,"*"),Bk=Ek(/[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]/),jk=Ek(Bk,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Uk=Sk(Bk,jk,"*"),Fk=Sk(/[A-Z]/,jk,"*"),zk=["attached","autoclosure",Sk(/convention\(/,Ek("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Sk(/objc\(/,Uk,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],qk=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],Zk="[A-Za-z$_][0-9A-Za-z$_]*",Hk=["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"],Vk=["true","false","null","undefined","NaN","Infinity"],Wk=["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"],Xk=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Yk=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Gk=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Kk=[].concat(Yk,Wk,Xk);function Jk(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)=>(mo(),yo(M7,null,{title:hn((()=>[Co(tt(e.title),1)])),default:hn((()=>[e.active?(mo(),yo(G7,{key:0,columns:[""]},{default:hn((()=>[Eo(J7,null,{default:hn((()=>[Eo(e6,{class:"relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]"},{default:hn((()=>[So("div",rhe,[So("span",nhe,tt(o.value),1),Eo(Dr(iQ),{class:"text-c-3 ml-1 mt-px",icon:"ChevronDown",size:"xs"})]),Mn(So("select",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:"absolute inset-0 w-auto opacity-0",onClick:t[1]||(t[1]=Ui((()=>{}),["prevent"]))},[(mo(),Oo(lo,null,Qn(i,(e=>So("option",{key:e,value:e},tt(e),9,ahe))),64))],512),[[Ii,o.value]])])),_:1})])),_:1}),Eo(J7,null,{default:hn((()=>["raw"===o.value?(mo(),yo(Dr(UM),{key:0,class:"force-text-sm rounded-b border-t-0",content:e.data,lang:n.value},null,8,["content","lang"])):(mo(),Oo("iframe",{key:1,ref_key:"iframe",ref:a,allowfullscreen:"",allowtransparency:"true",class:"w-full aspect-video",frameborder:"0"},null,512))])),_:1})])),_:1})):Do("",!0)])),_:1}))}}),ihe=f0(ohe,[["__scopeId","data-v-99c6c7a3"]]),she={class:"relative col-1 flex-center gap-6 p-2 capitalize"},lhe={class:"flex h-[calc(100%_-_50px)] flex-col items-center justify-center"},che={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},uhe={key:0,class:"flex items-center gap-1.5",type:"button"},dhe=jn({__name:"ResponseEmpty",setup(e){const{workspace:t}=u8();return(e,r)=>(mo(),Oo("div",she,[So("div",lhe,[Eo(x8,{art:Dr(" .,,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"])]),So("div",che,[So("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[0]||(r[0]=e=>Dr(J8).emit())},[Co(" Send Request "),Eo(f8,{hotkey:"↵"})]),Dr(t).isReadOnly?Do("",!0):(mo(),Oo("button",uhe,[Co(" New Request "),Eo(f8,{hotkey:"N"})]))])]))}}),phe=["href"],hhe=jn({__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(mo(),Oo("a",{class:"cursor-help decoration-c-3 underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[zn(e.$slots,"default")],8,phe))}),fhe=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],mhe=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ghe=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bhe=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],vhe=(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 Ohe(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 yhe={class:"flex gap-1.5 text-c-3 pl-1"},whe={key:0},xhe={key:1},khe=jn({__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?bhe:ghe:t.binary?mhe:fhe,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+vhe(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+vhe(Number(e),t.locale,i)+n+r[s]}(r):void 0},n=Jo((()=>{const e=t.response.status;if(e)return yu[e]??void 0}));return(e,t)=>(mo(),Oo("div",yhe,[So("span",null,tt(Dr(Ohe)(e.response.duration)),1),r(e.response)?(mo(),Oo("span",whe,tt(r(e.response)),1)):Do("",!0),n.value?(mo(),Oo(lo,{key:1},[n.value.url?(mo(),yo(hhe,{key:0,href:n.value.url},{default:hn((()=>[Co(tt(e.response.status)+" "+tt(n.value.name),1)])),_:1},8,["href"])):(mo(),Oo("span",xhe,tt(e.response.status)+" "+tt(n.value.name),1))],64)):Do("",!0)]))}}),_he={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},She=jn({__name:"DataTableText",props:{text:{}},setup:e=>(e,t)=>(mo(),yo(z7,{class:"relative flex"},{default:hn((()=>[So("span",_he,tt(e.text),1)])),_:1}))}),Ehe={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"},The=jn({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(e,t)=>(mo(),yo(M7,{defaultOpen:!1},{title:hn((()=>[Co("Cookies")])),default:hn((()=>[(mo(),Oo(lo,{key:0},[e.cookies.length?(mo(),yo(G7,{key:0,class:"flex-1",columns:["",""]},{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(e.cookies,((e,t)=>(mo(),yo(J7,{key:t},{default:hn((()=>[Eo(She,{text:e.name},null,8,["text"]),Eo(She,{text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(mo(),Oo("div",Ehe," No cookies "))],64))])),_:1}))}),Ahe={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"},Che=jn({__name:"ResponseHeaders",props:{headers:{}},setup(e){const t=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("-");return(e,r)=>(mo(),yo(M7,{defaultOpen:!1,itemCount:e.headers.length},{title:hn((()=>[Co("Headers")])),default:hn((()=>[e.headers.length?(mo(),yo(G7,{key:0,columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(e.headers,((e,r)=>(mo(),yo(J7,{key:r,class:"text-c-1"},{default:hn((()=>[Eo(She,{class:"sticky left-0 z-1 bg-b-1 max-w-48",text:t(e.name)},null,8,["text"]),Eo(She,{class:"z-0",text:e.value},null,8,["text"])])),_:2},1024)))),128))])),_:1})):(mo(),Oo("div",Ahe," No Headers "))])),_:1},8,["itemCount"]))}}),Phe={class:"flex items-center flex-1"},Dhe={class:"custom-scroll flex flex-1 flex-col px-2 xl:px-6 py-2.5"},Rhe=jn({__name:"ResponseSection",props:{response:{}},setup(e){const t=e,r=Jo((()=>{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=Jo((()=>{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=Jo((()=>{var e;const r=null==(e=t.response)?void 0:e.data;return r&&mu(r)?JSON.stringify(JSON.parse(r),null,2):r&&"object"==typeof yr(r)?JSON.stringify(r,null,2):r})),o=["All","Body","Headers","Cookies"],i=Tr("All");return(e,t)=>(mo(),yo(D7,null,{title:hn((()=>[Eo(Dr(iQ),{class:"text-c-3 mr-1.5 rotate-180",icon:"ExternalLink",size:"sm"}),So("div",Phe,[Co(" Response "),e.response?(mo(),yo(khe,{key:0,response:e.response},null,8,["response"])):Do("",!0)])])),default:hn((()=>[So("div",Dhe,[e.response?(mo(),Oo(lo,{key:1},[Eo(A7,{activeSection:i.value,sections:o,onSetActiveSection:t[0]||(t[0]=e=>i.value=e)},null,8,["activeSection"]),"All"===i.value||"Cookies"===i.value?(mo(),yo(The,{key:0,cookies:n.value},null,8,["cookies"])):Do("",!0),"All"===i.value||"Headers"===i.value?(mo(),yo(Che,{key:1,headers:r.value},null,8,["headers"])):Do("",!0),"All"===i.value||"Body"===i.value?(mo(),yo(ihe,{key:2,active:!0,data:a.value,headers:r.value,title:"Body"},null,8,["data","headers"])):Do("",!0)],64)):(mo(),yo(dhe,{key:0}))])])),_:1}))}}),Nhe=Tr(null),$he=Tr(null),Ihe=["draggable"],Mhe=jn({__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=Jo((()=>(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",Nhe.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=Nhe.value)?void 0:t.id)===r.id||r.parentIds.includes((null==(n=Nhe.value)?void 0:n.id)??"")||!r.isDroppable)return;const i=null==(o=$he.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=$he.value)?void 0:e.id)&&(t+=` dragover-${s[$he.value.offset]}`),t})),c=()=>{if(!$he.value||!Nhe.value)return;const e={...Nhe.value},t={...$he.value};Nhe.value=null,$he.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),e.id!==t.id&&n("onDragEnd",e,t)};return(e,t)=>(mo(),Oo("div",{class:Xe(l.value),draggable:e.isDraggable,onDragend:c,onDragover:t[0]||(t[0]=Ui(((...e)=>Dr(i)&&Dr(i)(...e)),["prevent","stop"])),onDragstart:Ui(o,["stop"])},[zn(e.$slots,"default")],42,Ihe))}}),Lhe=So("span",null,"Add Example",-1),Qhe=So("span",null,"Rename",-1),Bhe=So("span",null,"Duplicate",-1),jhe=So("span",null,"Delete",-1),Uhe=jn({__name:"RequestSidebarItemMenu",props:{item:{}},setup(e){const t=e,{createExampleFromRequest:r,requestMutators:n}=u8(),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=Jo((()=>"summary"in t.item));return(e,t)=>(mo(),yo(Dr(eQ),{teleport:"#scalar-client"},{items:hn((()=>[l.value?(mo(),yo(Dr(nQ),{key:0,class:"flex !gap-2",onClick:a},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Add",size:"xs"}),Lhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"1",onHotkeyPressed:a})])),_:1})):Do("",!0),Eo(Dr(nQ),{class:"flex !gap-2"},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Edit",size:"xs"}),Qhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"2",onHotkeyPressed:o})])),_:1}),Eo(Dr(nQ),{class:"flex !gap-2"},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Duplicate",size:"xs"}),Bhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"3",onHotkeyPressed:i})])),_:1}),Eo(Dr(rQ)),Eo(Dr(nQ),{class:"flex !gap-2"},{default:hn((()=>[Eo(Dr(iQ),{class:"text-c-2 inline-flex p-px",icon:"Trash",size:"xs"}),jhe,Eo(f8,{class:"absolute right-2 text-c-3",hotkey:"4",onHotkeyPressed:s})])),_:1})])),default:hn((()=>[Eo(Dr(yx),{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]=Ui((()=>{}),["stop"]))},{default:hn((()=>[Eo(Dr(iQ),{icon:"Ellipses",size:"sm"})])),_:1})])),_:1}))}}),Fhe={class:"z-10 font-medium w-full editable-sidebar-hover-item"},zhe={class:"relative"},qhe={class:"flex"},Zhe={class:"z-10 mr-[-.5px] flex h-fit items-center justify-center"},Hhe={class:"z-10 font-medium"},Vhe={key:2},Whe="hover:before:bg-sidebar-active-b before:absolute before:inset-0 before:rounded before-left-offset",Xhe=jn({__name:"RequestSidebarItem",props:{isDraggable:{type:Boolean,default:!1},isDroppable:{type:Boolean,default:!1},parentUids:{},item:{}},emits:["onDragEnd"],setup(e){di((e=>({"426379e0":d.value})));const t=e,{activeRequest:r,folders:n,requests:a,requestExamples:o,workspace:i}=u8(),{collapsedSidebarFolders:s,toggleSidebarFolder:l}=b4(),c=Z1(),u=Jo((()=>"childUids"in t.item)),d=Jo((()=>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=Jo((()=>("requestUid"in t.item?a[t.item.requestUid]:t.item).method)),f=Jo((()=>{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=On("RequestSidebarItem",!0);return mo(),Oo("div",{class:Xe(["relative flex flex-row",[Dr(i).isReadOnly&&e.parentUids.length>1||!Dr(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":""]])},[Eo(Dr(Mhe),{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:hn((()=>["summary"in e.item||"requestUid"in e.item?(mo(),yo(Dr(B1),{key:0,custom:"",to:`/request/${e.item.uid}`},{default:hn((()=>{var n;return[So("div",{class:Xe(["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",[Whe,(null==(n=Dr(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))},[So("span",Fhe,tt(p(e.item)),1),So("div",zhe,[Dr(i).isReadOnly?Do("",!0):(mo(),yo(Uhe,{key:0,item:e.item},null,8,["item"])),So("span",qhe,[Co(" "),Eo(Dr(C8),{class:"font-bold",method:h.value},null,8,["method"])])])],2)]})),_:1},8,["to"])):!Dr(i).isReadOnly||e.parentUids.length?(mo(),Oo("button",{key:1,class:Xe(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]",Whe]),type:"button",onClick:t[1]||(t[1]=t=>Dr(l)(e.item.uid))},[So("span",Zhe,[zn(e.$slots,"leftIcon",{},(()=>[So("div",{class:Xe({"rotate-90":Dr(s)[e.item.uid]})},[Eo(Dr(iQ),{class:"text-c-3 text-sm",icon:"ChevronRight",size:"sm"})],2)]),!0),Co(" ")]),So("span",Hhe,tt(p(e.item)),1)])):Do("",!0),"childUids"in e.item?Mn((mo(),Oo("div",Vhe,[(mo(!0),Oo(lo,null,Qn(e.item.childUids,(r=>(mo(),yo(d,{key:r,isDraggable:e.isDraggable,isDroppable:e.isDroppable,item:Dr(n)[r]||Dr(a)[r]||Dr(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)),[[li,f.value]]):Do("",!0)])),_:3},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)}}}),Yhe=f0(Xhe,[["__scopeId","data-v-3cdb431d"]]),Ghe={class:"w-sidebar relative flex flex-col border-r bg-b-1"},Khe={key:0,class:"xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm"},Jhe={class:"font-medium m-0 text-sm"},efe={class:"custom-scroll sidebar-height"},tfe=jn({__name:"Sidebar",setup(e){const{workspace:t}=u8();return(e,r)=>(mo(),Oo("aside",Ghe,[Dr(t).isReadOnly?Do("",!0):(mo(),Oo("div",Khe,[So("h2",Jhe,[zn(e.$slots,"title")])])),So("div",efe,[zn(e.$slots,"content")]),zn(e.$slots,"button")]))}});
/*! js-cookie v3.0.5 | MIT */function rfe(e){for(var t=1;te.reduce(((e,t)=>(t.key&&(e[t.key]=t.value),e)),{}),ofe={class:"bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full"},ife={class:"lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container"},sfe={class:"flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12"},lfe={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"},cfe=jn({__name:"Request",setup(e){const{activeExample:t,activeRequest:r,activeServer:n,activeSecurityScheme:a,collections:o,modalState:i,workspace:s}=u8(),{collapsedSidebarFolders:l}=b4(),c=(()=>{const e=Tr("Request name / type"),t=Tr(!1);return dr({open:t,tab:e,show(){t.value=!0},hide(){t.value=!1},activeTab(t){e.value=t}})})(),u=cx(),d=Tr(!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=afe(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={...afe(t.parameters.query.filter((({enabled:e})=>e)).filter((({value:e})=>""!==e))),...afe(c)},h={...afe((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=>{nfe.set(e,h[e],{sameSite:"None",secure:!0})}));const f=new URLSearchParams(p).toString();i=`${u}${f?"?"+f:""}`;const m={url:cs(a,i),method:e.method,headers:s,data:l},g=Date.now();try{const e=await mf(m);return us(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")};Tn((()=>J8.on(h))),Pn((()=>J8.off(h)));const f=Jo((()=>s.collectionUids.map((e=>o[e])))),m=()=>{c.show()},g=LQ();return $Q(document,"keydown",(e=>{(oq()?g.meta.value:g.ctrl.value)&&"b"===e.key&&(d.value=!d.value),(oq()?g.meta.value:g.ctrl.value)&&"k"===e.key&&(u.open?u.hide():u.show())})),(e,n)=>(mo(),Oo(lo,null,[So("div",ofe,[So("div",ife,[So("div",sfe,[So("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)},[Eo(Dr(iQ),{icon:d.value?"SideBarOpen":"SideBarClosed",size:"sm"},null,8,["icon"])])]),Eo(d7),So("div",lfe,[Dr(s).isReadOnly?(mo(),Oo("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=>Dr(i).hide())},[Eo(Dr(iQ),{icon:"Close",size:"xs"})])):Do("",!0)])]),Eo(k7,null,{default:hn((()=>[d.value?(mo(),yo(Dr(tfe),{key:0,class:Xe([d.value?"sidebar-active-width":""])},{title:hn((()=>[Co(tt(Dr(s).name),1)])),content:hn((()=>[Eo(g7,{onOpenSearchModal:n[2]||(n[2]=e=>Dr(u).show())}),So("div",{class:"custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-12 pt-2.5",onDragenter:n[3]||(n[3]=Ui((()=>{}),["prevent"])),onDragover:n[4]||(n[4]=Ui((()=>{}),["prevent"]))},[(mo(!0),Oo(lo,null,Qn(f.value,((e,t)=>(mo(),yo(Yhe,{key:e.uid,isDraggable:!Dr(s).isReadOnly,isDroppable:!Dr(s).isReadOnly,item:e,parentUids:[],onOnDragEnd:(...e)=>{}},{leftIcon:hn((()=>[Eo(Dr(iQ),{class:"text-sidebar-c-2 stroke-[1] text-sm group-hover:hidden",icon:"CodeFolder",size:"sm"}),So("div",{class:Xe({"rotate-90":Dr(l)[e.uid]})},[Eo(Dr(iQ),{class:"text-c-3 hidden text-sm group-hover:block",icon:"ChevronRight",size:"sm"})],2)])),_:2},1032,["isDraggable","isDroppable","item","onOnDragEnd"])))),128))],32)])),button:hn((()=>[Dr(s).isReadOnly?Do("",!0):(mo(),yo(w7,{key:0,click:m},{title:hn((()=>[Co("Add Item")])),_:1}))])),_:1},8,["class"])):Do("",!0),Dr(t)?(mo(),yo(S7,{key:1,class:Xe(["flex-1",[d.value?"sidebar-active-hide-layout":""]])},{default:hn((()=>{var e,t,n,a,o;return[Eo(the),Eo(Rhe,{response:null==(o=null==(a=null==(e=Dr(r))?void 0:e.history)?void 0:a[(null==(n=null==(t=Dr(r))?void 0:t.history)?void 0:n.length)-1])?void 0:o.response},null,8,["response"])]})),_:1},8,["class"])):Do("",!0),Eo(U8,{state:Dr(c),"onUpdate:tab":p},null,8,["state"])])),_:1})]),Eo(O7,{modalState:Dr(u)},null,8,["modalState"])],64))}}),ufe=f0(cfe,[["__scopeId","data-v-ac5dd98f"]]),dfe=Object.freeze(Object.defineProperty({__proto__:null,default:ufe},Symbol.toStringTag,{value:"Module"})),pfe={class:"flex flex-col p-2"},hfe={class:"whitespace-pre p-4"},ffe=jn({__name:"Collection",setup(e){const t=dr([{key:"key 1",value:"value 1",enabled:!0},{key:"key 2",value:"value 2",enabled:!1},{key:"",value:"",enabled:!1}]);return(e,r)=>(mo(),yo(k7,null,{default:hn((()=>[Eo(tfe,null,{title:hn((()=>[Co("Collection")])),_:1}),Eo(S7,{class:"flex-1"},{default:hn((()=>[Eo(D7,null,{title:hn((()=>[Co("Section 1")])),default:hn((()=>[So("div",pfe,[Eo(G7,{columns:["","","auto"]},{default:hn((()=>[Eo(J7,null,{default:hn((()=>[Eo(e6,null,{default:hn((()=>[Co("First Header")])),_:1}),Eo(e6,null,{default:hn((()=>[Co(" Long header that needs to be truncated ")])),_:1}),Eo(e6,{class:"flex justify-center"},{default:hn((()=>[Co(" + ")])),_:1})])),_:1}),(mo(!0),Oo(lo,null,Qn(t,((e,t)=>(mo(),yo(J7,{key:t},{default:hn((()=>[Eo(n6,{modelValue:e.enabled,"onUpdate:modelValue":t=>e.enabled=t},null,8,["modelValue","onUpdate:modelValue"]),Eo(V7,{modelValue:e.key,"onUpdate:modelValue":t=>e.key=t,placeholder:"Key"},null,8,["modelValue","onUpdate:modelValue"]),Eo(V7,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,placeholder:"Value"},null,8,["modelValue","onUpdate:modelValue"])])),_:2},1024)))),128)),Eo(J7,null,{default:hn((()=>[Eo(z7,null,{default:hn((()=>[Co("Static Text")])),_:1}),Eo(z7,null,{default:hn((()=>[Co(" Long static text that needs to wrap to the next line ")])),_:1}),Eo(z7)])),_:1}),Eo(J7,{class:"h-24"},{default:hn((()=>[Eo(z7,{class:"col-span-full"},{default:hn((()=>[Co(" Static row with fixed height and full column span. ")])),_:1})])),_:1})])),_:1})])])),_:1}),Eo(D7,null,{title:hn((()=>[Co("Section 2")])),default:hn((()=>[So("pre",hfe,tt(t),1)])),_:1})])),_:1})])),_:1}))}}),mfe=Object.freeze(Object.defineProperty({__proto__:null,default:ffe},Symbol.toStringTag,{value:"Module"})),gfe=So("div",{class:"flex-1"},"SCHEMA!!",-1),bfe=jn({__name:"Schemas",setup:e=>(e,t)=>(mo(),Oo(lo,null,[Eo(tfe,null,{title:hn((()=>[Co("Workspace Name")])),_:1}),gfe],64))}),vfe=Object.freeze(Object.defineProperty({__proto__:null,default:bfe},Symbol.toStringTag,{value:"Module"})),Ofe={class:"flex flex-col gap-1 p-2"},yfe=f0({},[["render",function(e,t){return mo(),Oo("ul",Ofe,[zn(e.$slots,"default")])}]]),wfe={class:"flex gap-3"},xfe=jn({__name:"SidebarListElementForm",props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],setup(e,{emit:t}){const r=t;return(e,t)=>(mo(),Oo("form",{class:"flex flex-col gap-3",onSubmit:t[1]||(t[1]=Ui((e=>r("submit")),["prevent"]))},[zn(e.$slots,"default"),So("div",wfe,[Eo(Dr(yx),{class:"flex-1",variant:"outlined",onClick:t[0]||(t[0]=e=>r("cancel"))},{default:hn((()=>[Co(" Cancel ")])),_:1}),Eo(Dr(yx),{class:"flex-1",error:e.danger,type:"submit"},{default:hn((()=>[Co(tt(e.label??"Submit"),1)])),_:1},8,["error"])])],32))}}),kfe=So("p",null,"Are you sure you want to remove it?",-1),_fe=jn({__name:"DeleteSidebarListElement",props:{variableName:{}},emits:["close","delete"],setup(e,{emit:t}){const r=t;async function n(){r("delete")}return(e,t)=>(mo(),yo(xfe,{danger:"",label:`Delete ${e.variableName}`,onCancel:t[0]||(t[0]=e=>r("close")),onSubmit:n},{default:hn((()=>[kfe])),_:1},8,["label"]))}}),Sfe={class:"absolute right-1 opacity-0 group-hover:opacity-100"},Efe=jn({__name:"SidebarListElementActions",props:{variable:{}},emits:["delete"],setup(e,{emit:t}){const{variable:r}=e,n=t,a=Tr({action:"None",name:""}),o=cx(),{copyToClipboard:i}=(()=>{const{toast:e}=Ud();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)=>(mo(),Oo(lo,null,[So("div",Sfe,[So("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=>Dr(i)(e.variable.name))},[Eo(Dr(iQ),{class:"h-2.5 w-2.5",icon:"Clipboard"})]),e.variable.isDefault?Do("",!0):(mo(),Oo("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]=Ui((e=>(a.value={action:"Delete",name:r.name},void o.show())),["prevent"]))},[Eo(Dr(iQ),{class:"h-2.5 w-2.5",icon:"Close"})]))]),Eo(Dr(px),{state:Dr(o),title:`${a.value.action} ${a.value.name}`},{default:hn((()=>["Delete"===a.value.action?(mo(),yo(_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"])):Do("",!0)])),_:1},8,["state","title"])],64))}}),Tfe={key:0,class:"hover:bg-b-3 rounded p-1.5",type:"button"},Afe=jn({__name:"SidebarListElement",props:{variable:{}},emits:["delete"],setup(e,{emit:t}){const r=t,n=Z1(),a=e=>{r("delete",e)};return(e,t)=>{const r=On("router-link");return mo(),Oo("li",null,[Eo(r,{class:Xe(["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]=Ui((t=>((e,t)=>{e.metaKey?window.open(t,"_blank"):n.push(t)})(t,e.variable.uid)),["prevent"]))},{default:hn((()=>[e.variable.color?(mo(),Oo("button",Tfe,[So("div",{class:Xe(["h-2.5 w-2.5 rounded-xl",`bg-${e.variable.color}`])},null,2)])):Do("",!0),Co(" "+tt(e.variable.name)+" ",1),Eo(Efe,{variable:{...e.variable,isDefault:e.variable.isDefault??!1},onDelete:a},null,8,["variable"])])),_:1},8,["class","to"])])}}}),Cfe=f0(Afe,[["__scopeId","data-v-f43d5cfd"]]),Pfe={class:"flex flex-row gap-1.5 space-x-1"},Dfe=["onClick"],Rfe=jn({__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)=>(mo(),Oo("div",Pfe,[(mo(),Oo(lo,null,Qn(t,(t=>So("div",{key:t.color,class:Xe(["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?(mo(),yo(Dr(iQ),{key:0,icon:"Checkmark",size:"xs"})):Do("",!0)],10,Dfe))),64))]))}}),Nfe={class:"flex-1"},$fe=["value"],Ife={class:"colors ml-auto"},Mfe=jn({__name:"Environment",setup(e){const t=Z1(),{environments:r,environmentMutators:n}=u8(),a=Tr(null),o=Tr(null),i=Tr(!1);function s(){const e={name:"New Environment",uid:QQ(),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,Yr((()=>{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 Tn((()=>{"default"===t.currentRoute.value.params.environment&&(a.value=r.default.uid)})),(e,t)=>(mo(),yo(k7,null,{default:hn((()=>[Eo(tfe,null,{title:hn((()=>[Co("Environment")])),content:hn((()=>[So("div",Nfe,[Eo(yfe,null,{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(Dr(r),(e=>(mo(),yo(Cfe,{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:hn((()=>[Eo(w7,{click:s},{title:hn((()=>[Co("Add Environment Variable")])),_:1})])),_:1}),Eo(S7,{class:"flex-1"},{default:hn((()=>[Eo(D7,null,Bn({default:hn((()=>[a.value?(mo(),yo(Dpe,{key:0,class:"px-2 py-2.5",lineNumbers:"",modelValue:Dr(r)[a.value].raw,"onUpdate:modelValue":l},null,8,["modelValue"])):Do("",!0)])),_:2},[a.value?{name:"title",fn:hn((()=>[!i.value||Dr(r)[a.value].isDefault?(mo(),Oo("span",{key:0,onDblclick:u},tt(Dr(r)[a.value].name),33)):(mo(),Oo("input",{key:1,ref_key:"nameInputRef",ref:o,class:"ring-1 ring-offset-4 ring-b-outline rounded",spellcheck:"false",type:"text",value:Dr(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,$fe)),So("div",Ife,[Eo(Rfe,{activeColor:Dr(r)[a.value].color,onSelect:c},null,8,["activeColor"])])])),key:"0"}:void 0]),1024)])),_:1})])),_:1}))}}),Lfe=Object.freeze(Object.defineProperty({__proto__:null,default:Mfe},Symbol.toStringTag,{value:"Module"})),Qfe=b3.object({uid:v3,name:b3.string(),value:b3.string(),domain:b3.string().optional(),expires:b3.date().optional(),httpOnly:b3.boolean().optional(),maxAge:b3.number().optional(),partitioned:b3.boolean().optional(),path:b3.string().optional(),sameSite:b3.union([b3.literal("Lax"),b3.literal("Strict"),b3.literal("None")]),secure:b3.boolean().optional()}),Bfe={class:"custom-scroll flex flex-1 flex-col gap-1.5 px-5 py-2"},jfe=jn({__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},setup:e=>(e,t)=>(mo(),yo(D7,null,{title:hn((()=>[So("span",null,tt(e.title),1)])),default:hn((()=>[So("div",Bfe,[Object.keys(e.data).length>0?(mo(),yo(G7,{key:0,columns:[""]},{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(e.options,((t,r)=>(mo(),yo(J7,{key:r,class:Xe({"border-t":0===r})},{default:hn((()=>[Eo(V7,{modelValue:String(e.data[t.key]??""),placeholder:t.placeholder,"onUpdate:modelValue":r=>e.onUpdate(t.key,r)},{default:hn((()=>[Co(tt(t.label),1)])),_:2},1032,["modelValue","placeholder","onUpdate:modelValue"])])),_:2},1032,["class"])))),128))])),_:1})):Do("",!0)])])),_:1}))}),Ufe=jn({__name:"CookieForm",setup(e){const{cookies:t,activeCookieId:r,cookieMutators:n}=u8(),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=Jo((()=>t[r.value]||{})),i=(e,t)=>{r.value&&n.edit(r.value,e,t)};return(e,t)=>(mo(),yo(jfe,{data:o.value,onUpdate:i,options:a,title:"Cookie"},null,8,["data"]))}}),Ffe=So("span",null,"Raw Cookie String",-1),zfe=jn({__name:"CookieRaw",setup(e){const{cookies:t,activeCookieId:r}=u8();return(e,n)=>(mo(),yo(D7,null,{title:hn((()=>[Ffe])),default:hn((()=>[Dr(r)&&Dr(t)[Dr(r)]?(mo(),yo(Dpe,{key:0,class:"px-2 py-2.5",lineNumbers:"",modelValue:""})):Do("",!0)])),_:1}))}}),qfe={class:"flex-1"},Zfe=jn({__name:"Cookies",setup(e){const{cookies:t,cookieMutators:r}=u8(),n=()=>{const e=ls(Qfe.parse({}),{name:"new cookie",value:"new value",domain:"localhost",path:"/",secure:!1,httpOnly:!1,sameSite:"None"});r.add(e)};return(e,r)=>(mo(),yo(k7,null,{default:hn((()=>[Eo(Dr(tfe),null,{title:hn((()=>[Co("Domain")])),content:hn((()=>[So("div",qfe,[Eo(yfe,null,{default:hn((()=>[(mo(!0),Oo(lo,null,Qn(Dr(t),(e=>(mo(),yo(Cfe,{key:e.uid,class:"text-xs",variable:{name:e.name,uid:e.uid}},null,8,["variable"])))),128))])),_:1})])])),button:hn((()=>[Eo(w7,{click:n},{title:hn((()=>[Co("Add Item")])),_:1})])),_:1}),Eo(S7,{class:"flex-1"},{default:hn((()=>[Eo(Ufe),Eo(zfe)])),_:1})])),_:1}))}}),Hfe=Object.freeze(Object.defineProperty({__proto__:null,default:Zfe},Symbol.toStringTag,{value:"Module"})),Vfe={class:"w-full"},Wfe=jn({__name:"ServerForm",setup(e){const{activeCollection:t,servers:r,serverMutators:n}=u8(),a=[{label:"URL",key:"url",placeholder:"https://void.scalar.com/api"},{label:"Label",key:"description",placeholder:"Production"}],o=ma(N1),i=Jo((()=>{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=Jo((()=>{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=Jo((()=>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)=>(mo(),Oo("div",Vfe,[i.value?(mo(),Oo(lo,{key:0},[Eo(jfe,{data:i.value,onUpdate:s,options:a,title:"Server"},null,8,["data"]),Object.keys(u.value).length?(mo(),yo(jfe,{key:0,data:u.value,onUpdate:l,options:c.value,title:"Variables"},null,8,["data","options"])):Do("",!0)],64)):Do("",!0)]))}}),Xfe={class:"flex-1"},Yfe=jn({__name:"Servers",setup(e){const{activeCollection:t,servers:r,serverMutators:n}=u8(),{push:a}=Z1(),o=()=>{if(!t.value)return;const e=Y3({url:"http://localhost"});n.add(e,t.value.uid),a(`/servers/${e.uid}`)};return(e,n)=>(mo(),yo(k7,null,{default:hn((()=>[Eo(Dr(tfe),null,{title:hn((()=>[Co("Servers")])),content:hn((()=>[So("div",Xfe,[Eo(yfe,null,{default:hn((()=>{var e;return[(mo(!0),Oo(lo,null,Qn(null==(e=Dr(t))?void 0:e.spec.serverUids,(e=>(mo(),yo(Cfe,{key:e,class:"text-xs",variable:{name:Dr(r)[e].url,uid:e}},null,8,["variable"])))),128))]})),_:1})])])),button:hn((()=>[Eo(w7,{click:o},{title:hn((()=>[Co("Add Server")])),_:1})])),_:1}),Eo(S7,{class:"flex-1"},{default:hn((()=>[Eo(Wfe)])),_:1})])),_:1}))}}),Gfe=Object.freeze(Object.defineProperty({__proto__:null,default:Yfe},Symbol.toStringTag,{value:"Module"}))}));
-//# sourceMappingURL=/sm/f6f872ac517f064a4d059ab9fbb4413085ffc4daef96849253afa6e489fa5d51.map
\ No newline at end of file
+//# sourceMappingURL=/sm/bedbd718c1ccc97e17bdbac28d210516a7b56d274f604623a5081d28aeb4553b.map
\ No newline at end of file